@ckeditor/ckeditor5-track-changes 43.3.0-alpha.10 → 43.3.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x37bd5a=_0x34f8;(function(_0x3d9199,_0x1f1bcc){const _0x5a5445=_0x34f8,_0x56707b=_0x3d9199();while(!![]){try{const _0x23c37a=-parseInt(_0x5a5445(0x26d))/0x1+-parseInt(_0x5a5445(0x201))/0x2+parseInt(_0x5a5445(0x22a))/0x3+parseInt(_0x5a5445(0x230))/0x4*(-parseInt(_0x5a5445(0x23b))/0x5)+-parseInt(_0x5a5445(0x254))/0x6+-parseInt(_0x5a5445(0x25d))/0x7*(-parseInt(_0x5a5445(0x274))/0x8)+parseInt(_0x5a5445(0x1f0))/0x9;if(_0x23c37a===_0x1f1bcc)break;else _0x56707b['push'](_0x56707b['shift']());}catch(_0x319f89){_0x56707b['push'](_0x56707b['shift']());}}}(_0x45f0,0x45a79));import{Plugin as _0x4c1a4e}from'ckeditor5/src/core.js';import{Collection as _0x4378f7}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2141fb,createDropdown as _0x4b4d56,ListSeparatorView as _0x219990,MenuBarMenuView as _0x52bde3,MenuBarMenuListView as _0x26a965,MenuBarMenuListItemView as _0x29c366,MenuBarMenuListItemButtonView as _0x3a7e04,SplitButtonView as _0x5381a5,ViewModel as _0x1309b1}from'ckeditor5/src/ui.js';import{Users as _0xd09872,getDateTimeFormatter as _0x51d27b,getAllMarkersDomElementsSorted as _0x3054b5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x90ebff from'./trackchangesediting.js';import _0x2083b0 from'./ui/suggestioncontroller.js';function _0x34f8(_0x52afec,_0x5c2102){const _0x45f0cf=_0x45f0();return _0x34f8=function(_0x34f8da,_0x48a7d0){_0x34f8da=_0x34f8da-0x1e6;let _0x65946a=_0x45f0cf[_0x34f8da];return _0x65946a;},_0x34f8(_0x52afec,_0x5c2102);}function _0x45f0(){const _0x5c3d4d=['listenTo','8271936ZSPvMJ','discardButton','menuitemcheckbox','size','innerView','CommentsUI','destroy','delegate','filter','execute','createAnnotationView','pluginName','change:activeAnnotations','getMarkerNames','createCommentThreadController','trackChanges','comments.editorConfig','600886CxEuYI','getDescriptions','comments.maxCommentCharsWhenCollapsed','toMany','Discard\x20all\x20selected\x20suggestions','descriptionParts','set','focus','suggestionView','reduce','_createToolbarButton','suggestion-','trackChanges.SuggestionView','getByInnerView','hasSuggestion','comments.maxThreadTotalWeight','clear','isInContent','acceptButton','getMarkers','trackChanges.disableComments','delete','Accept\x20all\x20selected\x20suggestions','mainView','head','_createMenuBarMenu','value','menu','isOn','comments.maxCommentsWhenCollapsed','editor','commandName','separator','getJoined','_unbindEditors','init','fire','config','some','remove','Accept\x20all\x20suggestions','1671771iENQwu','_refreshActiveMarkers','componentFactory','plugins','getRanges','button','2080ZFWjte','escape','buttonView','define','isPremiumPlugin','Track\x20changes','locale','get','items','activeAnnotations','TrackChangesUI','4735sIlbax','CommentView','suggestionLoaded','_initializeController','model','isEnabled','TrackChangesEditing','values','bind','addSourceCollector','panelView','suggestionChanged','SuggestionThreadView','change:previous','acceptAllSuggestions','_bindAnnotationToEditors','type','suggestionUnloaded','length','Discard\x20all\x20suggestions','menuBar:trackChanges','comments','SuggestionView','view','source','1536684RwewQl','editing','trackChanges.SuggestionThreadView','EditorAnnotations','_viewToController','unbind','getSuggestion','_annotationViews','getFirstRange','69755HqIXRO','acceptSelectedSuggestions','_disableComments','has','commentsListView','add','registerAnnotation','discardSelectedSuggestions','_updateController','requires','commands','keys','_addUIComponentsToFactory','refreshSelectedViews','menuitem','switchbutton','221779OZmgJz','activeMarkers','getAllAdjacentSuggestions','from','commentThread','_suggestionToController','actionView','64zbUsiO','isOfficialPlugin','previous','discardAllSuggestions','stopListening','children','isDirty','createAnnotation','CommentsRepository','push','arrowView','_handleSuggestionControllerDelayed','isMultiRange','addComment','_handleControllerBuffer','lowest','descriptionFactory','_destroyController','Annotations'];_0x45f0=function(){return _0x5c3d4d;};return _0x45f0();}import _0x325d66 from'./ui/view/suggestionthreadview.js';import _0x43260b from'./ui/view/suggestionview.js';import{getTranslation as _0x23808e}from'./utils/common-translations.js';import _0x40393e from'../theme/icons/track-changes.svg';export default class d extends _0x4c1a4e{static get[_0x37bd5a(0x266)](){const _0x46e450=_0x37bd5a;return[_0x90ebff,_0xd09872,_0x46e450(0x27c),_0x46e450(0x1ee),_0x46e450(0x257)];}static get[_0x37bd5a(0x1fb)](){const _0x356a8b=_0x37bd5a;return _0x356a8b(0x23a);}static get[_0x37bd5a(0x275)](){return!0x0;}static get[_0x37bd5a(0x234)](){return!0x0;}constructor(_0x56e49b){const _0x2f4cdc=_0x37bd5a;super(_0x56e49b),this[_0x2f4cdc(0x272)]=new Map(),this[_0x2f4cdc(0x258)]=new Map(),this[_0x2f4cdc(0x25b)]=new Map(),this[_0x2f4cdc(0x1ea)]=new Map();const _0x4223cf=this[_0x2f4cdc(0x21f)][_0x2f4cdc(0x226)];_0x4223cf[_0x2f4cdc(0x233)](_0x2f4cdc(0x256),_0x325d66),_0x4223cf[_0x2f4cdc(0x233)](_0x2f4cdc(0x20d),_0x43260b),_0x4223cf[_0x2f4cdc(0x233)](_0x2f4cdc(0x215),!0x1),this[_0x2f4cdc(0x25f)]=_0x4223cf[_0x2f4cdc(0x237)](_0x2f4cdc(0x215));}[_0x37bd5a(0x1e7)](_0x110be7,_0x19e90a){const _0x6b522d=_0x37bd5a;0x0===this[_0x6b522d(0x1ea)][_0x6b522d(0x1f3)]&&setTimeout(()=>{const _0x4de623=_0x6b522d;for(const [_0x4d6818,_0x3dcdae]of this[_0x4de623(0x1ea)]){const _0x3a4766=this[_0x4de623(0x272)][_0x4de623(0x260)](_0x4d6818);_0x3a4766||_0x3dcdae?_0x3a4766&&_0x3dcdae&&this[_0x4de623(0x1ed)](_0x4d6818):this[_0x4de623(0x23e)](_0x4d6818);}this[_0x4de623(0x1ea)][_0x4de623(0x211)](),this[_0x4de623(0x21f)][_0x4de623(0x22d)][_0x4de623(0x237)](_0x4de623(0x257))[_0x4de623(0x26a)](),this[_0x4de623(0x22b)]();},0xa),this[_0x6b522d(0x1ea)][_0x6b522d(0x207)](_0x110be7,_0x19e90a);}[_0x37bd5a(0x224)](){const _0x3525a0=_0x37bd5a,_0x5bef7c=this[_0x3525a0(0x21f)],_0x2aacfa=_0x5bef7c[_0x3525a0(0x22d)][_0x3525a0(0x237)](_0x3525a0(0x241)),_0x1fd680=_0x5bef7c[_0x3525a0(0x22d)][_0x3525a0(0x237)](_0x3525a0(0x1ee)),_0x3a4ec0=_0x5bef7c[_0x3525a0(0x22d)][_0x3525a0(0x237)](_0x3525a0(0x257)),_0x115239=_0x5bef7c[_0x3525a0(0x22d)][_0x3525a0(0x237)](_0x3525a0(0x27c));this[_0x3525a0(0x269)](),_0x3a4ec0[_0x3525a0(0x244)](()=>{const _0x8c97a4=_0x3525a0,_0xe0b492=[];for(const [_0x2d8e6a,_0x2bcb6a]of Array[_0x8c97a4(0x270)](this[_0x8c97a4(0x272)])){const _0x151f6c=_0x2d8e6a[_0x8c97a4(0x26f)](),_0x4c27d1=[];for(const _0x18a7fd of _0x151f6c){if(!_0x18a7fd[_0x8c97a4(0x212)])continue;if(_0x18a7fd[_0x8c97a4(0x1e8)]){_0x4c27d1[_0x8c97a4(0x27d)](..._0x18a7fd[_0x8c97a4(0x22e)]());continue;}const _0x55e9cc=_0x18a7fd[_0x8c97a4(0x25c)]();if(_0x4c27d1[_0x8c97a4(0x24d)]>0x0){const _0x583152=_0x4c27d1[0x0][_0x8c97a4(0x222)](_0x55e9cc);if(_0x583152){_0x4c27d1[0x0]=_0x583152;continue;}}_0x4c27d1[_0x8c97a4(0x27d)](_0x55e9cc);}_0xe0b492[_0x8c97a4(0x27d)]([_0x2bcb6a[_0x8c97a4(0x252)],_0x4c27d1]);}return _0xe0b492;}),this[_0x3525a0(0x1ef)](_0x2aacfa,_0x3525a0(0x23d),(_0x29b195,_0x2be0f7)=>{const _0x54bf01=_0x3525a0;this[_0x54bf01(0x1ef)](_0x2be0f7,_0x54bf01(0x248),(_0x129241,_0x40176c,_0x5be32c,_0x43be75)=>{const _0x513205=_0x54bf01;_0x2be0f7[_0x513205(0x212)]&&(null==_0x5be32c?(this[_0x513205(0x265)](_0x43be75[_0x513205(0x219)]),this[_0x513205(0x1e7)](_0x2be0f7,!0x1)):(this[_0x513205(0x265)](_0x5be32c[_0x513205(0x219)]),null==_0x43be75&&this[_0x513205(0x1e7)](_0x2be0f7,!0x0)));}),null!==_0x2be0f7[_0x54bf01(0x276)]?this[_0x54bf01(0x265)](_0x2be0f7[_0x54bf01(0x219)]):this[_0x54bf01(0x1e7)](_0x2be0f7,!0x1);}),this[_0x3525a0(0x1ef)](_0x2aacfa,_0x3525a0(0x24c),(_0x527f2e,_0x3653b5,_0x9761f4)=>{const _0xdfccd2=_0x3525a0;this[_0xdfccd2(0x278)](_0x3653b5,_0xdfccd2(0x248)),this[_0xdfccd2(0x1ea)][_0xdfccd2(0x216)](_0x3653b5),this[_0xdfccd2(0x272)][_0xdfccd2(0x260)](_0x3653b5)&&this[_0xdfccd2(0x1ed)](_0x3653b5),_0x9761f4&&this[_0xdfccd2(0x265)](_0x9761f4[_0xdfccd2(0x219)]);}),this[_0x3525a0(0x1ef)](_0x2aacfa,_0x3525a0(0x246),(_0x583c70,_0x3b8200)=>{const _0x3df314=_0x3525a0;this[_0x3df314(0x265)](_0x3b8200);}),this[_0x3525a0(0x1ef)](_0x1fd680,_0x3525a0(0x1fc),()=>{const _0x3bea6f=_0x3525a0;this[_0x3bea6f(0x22b)]();}),this[_0x3525a0(0x1ef)](_0x115239,_0x3525a0(0x1e9),(_0x3bd37e,{threadId:_0x538ecb,isFromAdapter:_0x29a5e2})=>{const _0x5d27f6=_0x3525a0;if(_0x29a5e2||!_0x2aacfa[_0x5d27f6(0x20f)](_0x538ecb))return;const _0x4f7324=_0x2aacfa[_0x5d27f6(0x25a)](_0x538ecb);this[_0x5d27f6(0x272)][_0x5d27f6(0x237)](_0x4f7324)[_0x5d27f6(0x252)][_0x5d27f6(0x261)][_0x5d27f6(0x208)](-0x1);},{'priority':_0x3525a0(0x1eb)});}[_0x37bd5a(0x22b)](){const _0x2ff0d3=_0x37bd5a,_0x4e66ad=this[_0x2ff0d3(0x21f)][_0x2ff0d3(0x22d)][_0x2ff0d3(0x237)](_0x2ff0d3(0x1ee)),_0x2554b5=this[_0x2ff0d3(0x21f)][_0x2ff0d3(0x22d)][_0x2ff0d3(0x237)](_0x2ff0d3(0x241)),_0x29203b=Array[_0x2ff0d3(0x270)](_0x4e66ad[_0x2ff0d3(0x239)],_0x144676=>_0x144676[_0x2ff0d3(0x1f4)])[_0x2ff0d3(0x1f8)](_0x4c4fcd=>this[_0x2ff0d3(0x258)][_0x2ff0d3(0x260)](_0x4c4fcd)),_0x294e48=[];for(const _0x4958f1 of _0x29203b){const _0x1d2d27=this[_0x2ff0d3(0x258)][_0x2ff0d3(0x237)](_0x4958f1)[_0x2ff0d3(0x23f)][_0x2ff0d3(0x26f)]();_0x294e48[_0x2ff0d3(0x27d)](..._0x1d2d27[_0x2ff0d3(0x20a)]((_0x5e1b2e,_0x38436e)=>[..._0x5e1b2e,..._0x38436e[_0x2ff0d3(0x1fd)]()],[]));}_0x2554b5[_0x2ff0d3(0x26e)]=_0x294e48;}[_0x37bd5a(0x269)](){const _0x375d7b=_0x37bd5a,_0x48dbed=this[_0x375d7b(0x21f)],_0x2764ee=_0x48dbed[_0x375d7b(0x236)],_0x480deb=_0x23808e(_0x2764ee,_0x375d7b(0x235)),_0x41e4c7=new _0x4378f7([{'type':_0x375d7b(0x26c),'model':new _0x1309b1({'withText':!0x0,'isToggleable':!0x0,'label':_0x480deb,'commandName':_0x375d7b(0x1ff),'role':_0x375d7b(0x1f2)})},{'type':_0x375d7b(0x221)},{'type':_0x375d7b(0x22f),'model':new _0x1309b1({'withText':!0x0,'label':_0x23808e(_0x2764ee,_0x375d7b(0x229)),'commandName':_0x375d7b(0x249),'role':_0x375d7b(0x26b)})},{'type':_0x375d7b(0x22f),'model':new _0x1309b1({'withText':!0x0,'label':_0x23808e(_0x2764ee,_0x375d7b(0x217)),'commandName':_0x375d7b(0x25e),'role':_0x375d7b(0x26b)})},{'type':_0x375d7b(0x22f),'model':new _0x1309b1({'withText':!0x0,'label':_0x23808e(_0x2764ee,_0x375d7b(0x24e)),'commandName':_0x375d7b(0x277),'role':_0x375d7b(0x26b)})},{'type':_0x375d7b(0x22f),'model':new _0x1309b1({'withText':!0x0,'label':_0x23808e(_0x2764ee,_0x375d7b(0x205)),'commandName':_0x375d7b(0x264),'role':_0x375d7b(0x26b)})}]);for(const _0x486db9 of _0x41e4c7)if(me(_0x486db9)){const _0x58e83b=_0x48dbed[_0x375d7b(0x267)][_0x375d7b(0x237)](_0x486db9[_0x375d7b(0x23f)][_0x375d7b(0x220)]);_0x486db9[_0x375d7b(0x23f)][_0x375d7b(0x243)](_0x375d7b(0x21d),_0x375d7b(0x240))['to'](_0x58e83b,_0x375d7b(0x21b),_0x375d7b(0x240));}_0x48dbed['ui'][_0x375d7b(0x22c)][_0x375d7b(0x262)](_0x375d7b(0x1ff),_0x41fafe=>this[_0x375d7b(0x20b)](_0x41fafe,_0x41e4c7,_0x480deb)),_0x48dbed['ui'][_0x375d7b(0x22c)][_0x375d7b(0x262)](_0x375d7b(0x24f),_0x4b6652=>this[_0x375d7b(0x21a)](_0x4b6652,_0x41e4c7,_0x480deb));}[_0x37bd5a(0x20b)](_0x13267d,_0x40fbc0,_0x2ecee6){const _0x56dda7=_0x37bd5a,_0x26f76a=_0x4b4d56(_0x13267d,_0x5381a5),_0x59fc68=this[_0x56dda7(0x21f)][_0x56dda7(0x267)][_0x56dda7(0x237)](_0x56dda7(0x1ff));_0x26f76a[_0x56dda7(0x232)][_0x56dda7(0x207)]({'tooltip':_0x2ecee6,'label':_0x2ecee6,'icon':_0x40393e}),_0x26f76a[_0x56dda7(0x232)][_0x56dda7(0x243)](_0x56dda7(0x21d))['to'](_0x59fc68,_0x56dda7(0x21b)),_0x26f76a[_0x56dda7(0x232)]['on'](_0x56dda7(0x1f9),()=>{const _0x35d03c=_0x56dda7;_0x59fc68[_0x35d03c(0x1f9)](),this[_0x35d03c(0x21f)][_0x35d03c(0x255)][_0x35d03c(0x252)][_0x35d03c(0x208)]();}),_0x2141fb(_0x26f76a,_0x40fbc0,{'role':_0x56dda7(0x21c)});const _0x8fc5f5=[];for(const _0xbf5b79 of _0x40fbc0)me(_0xbf5b79)&&_0x8fc5f5[_0x56dda7(0x27d)](this[_0x56dda7(0x21f)][_0x56dda7(0x267)][_0x56dda7(0x237)](_0xbf5b79[_0x56dda7(0x23f)][_0x56dda7(0x220)]));const _0x18f6c3=_0x26f76a[_0x56dda7(0x232)];return _0x18f6c3[_0x56dda7(0x273)][_0x56dda7(0x259)](_0x56dda7(0x240)),_0x18f6c3[_0x56dda7(0x1e6)][_0x56dda7(0x259)](_0x56dda7(0x240)),_0x18f6c3[_0x56dda7(0x273)][_0x56dda7(0x243)](_0x56dda7(0x240))['to'](_0x59fc68,_0x56dda7(0x240)),_0x18f6c3[_0x56dda7(0x1e6)][_0x56dda7(0x243)](_0x56dda7(0x240))[_0x56dda7(0x204)](_0x8fc5f5,_0x56dda7(0x240),(..._0x3f194f)=>_0x3f194f[_0x56dda7(0x227)](_0x157c54=>_0x157c54)),_0x26f76a['on'](_0x56dda7(0x1f9),_0x350158=>{const _0xcfa49f=_0x56dda7;this[_0xcfa49f(0x21f)][_0xcfa49f(0x1f9)](_0x350158[_0xcfa49f(0x253)][_0xcfa49f(0x220)]),this[_0xcfa49f(0x21f)][_0xcfa49f(0x255)][_0xcfa49f(0x252)][_0xcfa49f(0x208)]();}),_0x26f76a;}[_0x37bd5a(0x21a)](_0x594f3d,_0x55512b,_0x15897e){const _0xfcf06f=_0x37bd5a,_0x2203fb=new _0x52bde3(_0x594f3d),_0x188977=this[_0xfcf06f(0x21f)][_0xfcf06f(0x267)][_0xfcf06f(0x237)](_0xfcf06f(0x1ff));_0x2203fb[_0xfcf06f(0x232)][_0xfcf06f(0x207)]({'label':_0x15897e,'icon':_0x40393e});const _0x50b876=new _0x26a965(_0x594f3d);for(const _0x2b0fc5 of _0x55512b){if(_0xfcf06f(0x221)==_0x2b0fc5[_0xfcf06f(0x24b)]){_0x50b876[_0xfcf06f(0x238)][_0xfcf06f(0x262)](new _0x219990(_0x594f3d));continue;}const _0x111858=new _0x29c366(_0x594f3d,_0x2203fb),_0x47fbc2=new _0x3a7e04(_0x594f3d),_0x46c13d=_0x2b0fc5[_0xfcf06f(0x23f)];_0x47fbc2[_0xfcf06f(0x243)](...Object[_0xfcf06f(0x268)](_0x46c13d))['to'](_0x46c13d),_0x47fbc2[_0xfcf06f(0x1f7)](_0xfcf06f(0x1f9))['to'](_0x2203fb),_0x47fbc2['on'](_0xfcf06f(0x1f9),()=>{const _0xaf7e4f=_0xfcf06f;this[_0xaf7e4f(0x21f)][_0xaf7e4f(0x1f9)](_0x46c13d[_0xaf7e4f(0x220)]),this[_0xaf7e4f(0x21f)][_0xaf7e4f(0x255)][_0xaf7e4f(0x252)][_0xaf7e4f(0x208)]();}),_0x111858[_0xfcf06f(0x279)][_0xfcf06f(0x262)](_0x47fbc2),_0x50b876[_0xfcf06f(0x238)][_0xfcf06f(0x262)](_0x111858);}return _0x2203fb[_0xfcf06f(0x243)](_0xfcf06f(0x240))['to'](_0x188977,_0xfcf06f(0x240)),_0x2203fb[_0xfcf06f(0x245)][_0xfcf06f(0x279)][_0xfcf06f(0x262)](_0x50b876),_0x2203fb;}[_0x37bd5a(0x23e)](_0x5ce728){const _0x262189=_0x37bd5a,_0x58a5d8=this[_0x262189(0x21f)],_0x1734ab=_0x58a5d8[_0x262189(0x226)],_0x30a4bf=_0x58a5d8[_0x262189(0x22d)][_0x262189(0x237)](_0x262189(0x1ee)),_0x1277db=_0x58a5d8[_0x262189(0x22d)][_0x262189(0x237)](_0x262189(0x27c)),_0x240798=_0x58a5d8[_0x262189(0x22d)][_0x262189(0x237)](_0x262189(0x257)),_0x537c2b=_0x58a5d8[_0x262189(0x22d)][_0x262189(0x237)](_0xd09872)['me'],_0xe951b=_0x1734ab[_0x262189(0x237)](_0x262189(0x1ff))[_0x262189(0x247)],_0x5224cc=_0x1734ab[_0x262189(0x237)](_0x262189(0x1ff))[_0x262189(0x251)],{CommentsListView:_0x1f79d3,CommentThreadInputView:_0xee82d4}=_0x58a5d8[_0x262189(0x22d)][_0x262189(0x237)](_0x262189(0x1f5));let _0x250311,_0x4c425a,_0x12caa5;this[_0x262189(0x25b)][_0x262189(0x260)](_0x5ce728['id'])?(_0x4c425a=this[_0x262189(0x25b)][_0x262189(0x237)](_0x5ce728['id']),_0x250311=_0x4c425a[_0x262189(0x218)]):(_0x250311=new _0xe951b(_0x58a5d8[_0x262189(0x236)],_0x5ce728,_0x537c2b,{'disableComments':this[_0x262189(0x25f)],'editorConfig':_0x1734ab[_0x262189(0x237)](_0x262189(0x200)),'maxCommentsWhenCollapsed':_0x1734ab[_0x262189(0x237)](_0x262189(0x21e)),'maxThreadTotalWeight':_0x1734ab[_0x262189(0x237)](_0x262189(0x210)),'maxCommentCharsWhenCollapsed':_0x1734ab[_0x262189(0x237)](_0x262189(0x203)),'formatDateTime':_0x51d27b(_0x1734ab[_0x262189(0x237)](_0x262189(0x236))),'CommentView':_0x1734ab[_0x262189(0x237)](_0x262189(0x250))[_0x262189(0x23c)],'CommentsListView':_0x1f79d3,'CommentThreadInputView':_0xee82d4,'SuggestionView':_0x5224cc}),_0x250311[_0x262189(0x209)][_0x262189(0x213)]['on'](_0x262189(0x1f9),()=>{const _0x731fc6=_0x262189;_0x58a5d8[_0x731fc6(0x255)][_0x731fc6(0x252)][_0x731fc6(0x208)]();}),_0x250311[_0x262189(0x209)][_0x262189(0x1f1)]['on'](_0x262189(0x1f9),()=>{const _0x45ccad=_0x262189;_0x58a5d8[_0x45ccad(0x255)][_0x45ccad(0x252)][_0x45ccad(0x208)]();}),_0x4c425a=_0x30a4bf[_0x262189(0x1fa)](this[_0x262189(0x21f)][_0x262189(0x236)],_0x250311),_0x4c425a[_0x262189(0x243)](_0x262189(0x27a))['to'](_0x250311,_0x262189(0x27a)),_0x4c425a[_0x262189(0x243)](_0x262189(0x24d))['to'](_0x250311),_0x4c425a[_0x262189(0x243)](_0x262189(0x24b))['to'](_0x250311,_0x262189(0x24b),_0x2f4567=>_0x262189(0x20c)+_0x2f4567),_0x250311['on'](_0x262189(0x231),()=>{const _0x1e272d=_0x262189;_0x12caa5[_0x1e272d(0x225)](_0x1e272d(0x231));}),this[_0x262189(0x25b)][_0x262189(0x207)](_0x5ce728['id'],_0x4c425a));const _0x39675f=_0x1277db[_0x262189(0x1fe)](_0x5ce728[_0x262189(0x271)],_0x250311),_0x38c916=new _0x2083b0(_0x58a5d8,_0x5ce728,_0x250311,_0x39675f),_0x4d243a=_0x5ce728[_0x262189(0x26f)]()[_0x262189(0x1f8)](_0x320c20=>_0x320c20[_0x262189(0x212)]);_0x250311[_0x262189(0x206)]=_0x58a5d8[_0x262189(0x22d)][_0x262189(0x237)](_0x262189(0x241))[_0x262189(0x1ec)][_0x262189(0x202)](_0x4d243a),this[_0x262189(0x272)][_0x262189(0x207)](_0x5ce728,_0x38c916),this[_0x262189(0x258)][_0x262189(0x207)](_0x250311,_0x38c916),_0x12caa5=_0x30a4bf[_0x262189(0x27b)]({'view':_0x4c425a,'target':()=>{const _0x26deb6=_0x262189,_0x462823=[],_0x90f6de=_0x5ce728[_0x26deb6(0x26f)]()[_0x26deb6(0x1f8)](_0x11c834=>_0x11c834[_0x26deb6(0x212)]);for(const _0x3ef19a of _0x90f6de)_0x462823[_0x26deb6(0x27d)](..._0x3ef19a[_0x26deb6(0x214)]());return _0x3054b5(_0x58a5d8[_0x26deb6(0x255)],_0x462823);},'type':()=>_0x262189(0x20c)+_0x38c916[_0x262189(0x252)][_0x262189(0x24b)]}),_0x1277db[_0x262189(0x24a)](_0x250311,_0x12caa5),_0x30a4bf[_0x262189(0x262)](_0x12caa5),_0x240798[_0x262189(0x263)](_0x12caa5);}[_0x37bd5a(0x1ed)](_0x28eed5){const _0x468526=_0x37bd5a,_0x5e3600=this[_0x468526(0x21f)][_0x468526(0x22d)][_0x468526(0x237)](_0x468526(0x27c)),_0x4e9a14=this[_0x468526(0x21f)][_0x468526(0x22d)][_0x468526(0x237)](_0x468526(0x1ee)),_0x4f5c3c=this[_0x468526(0x272)][_0x468526(0x237)](_0x28eed5),_0x5d7e9b=_0x4f5c3c[_0x468526(0x252)],_0x44d4f3=_0x4e9a14[_0x468526(0x20e)](_0x5d7e9b);_0x5e3600[_0x468526(0x223)](_0x5d7e9b),_0x44d4f3&&_0x4e9a14[_0x468526(0x228)](_0x44d4f3),this[_0x468526(0x272)][_0x468526(0x216)](_0x28eed5),this[_0x468526(0x258)][_0x468526(0x216)](_0x5d7e9b),_0x4f5c3c[_0x468526(0x1f6)]();}[_0x37bd5a(0x265)](_0x3bf780){const _0x401497=_0x37bd5a;if(!_0x3bf780[_0x401497(0x212)]||!this[_0x401497(0x272)][_0x401497(0x260)](_0x3bf780))return;const _0x5cfedb=this[_0x401497(0x21f)][_0x401497(0x22d)][_0x401497(0x237)](_0x401497(0x241)),_0x658b70=this[_0x401497(0x272)][_0x401497(0x237)](_0x3bf780),_0x18affb=_0x3bf780[_0x401497(0x26f)]();_0x658b70[_0x401497(0x252)][_0x401497(0x206)]=_0x5cfedb[_0x401497(0x1ec)][_0x401497(0x202)](_0x18affb);}[_0x37bd5a(0x1f6)](){const _0xe90876=_0x37bd5a;for(const _0x434082 of this[_0xe90876(0x272)][_0xe90876(0x268)]())this[_0xe90876(0x1ed)](_0x434082);for(const _0x14fdc3 of this[_0xe90876(0x25b)][_0xe90876(0x242)]())_0x14fdc3[_0xe90876(0x218)][_0xe90876(0x1f6)]();super[_0xe90876(0x1f6)]();}}function me(_0x216deb){const _0x7ee335=_0x37bd5a;return _0x7ee335(0x23f)in _0x216deb;}
|
|
23
|
+
const _0x59fcff=_0x1582;(function(_0x2b6ffa,_0x124aa7){const _0x2e9267=_0x1582,_0x11617a=_0x2b6ffa();while(!![]){try{const _0x228225=parseInt(_0x2e9267(0xd6))/0x1*(-parseInt(_0x2e9267(0x117))/0x2)+-parseInt(_0x2e9267(0xdb))/0x3*(parseInt(_0x2e9267(0xb5))/0x4)+-parseInt(_0x2e9267(0xcd))/0x5*(parseInt(_0x2e9267(0xda))/0x6)+-parseInt(_0x2e9267(0x125))/0x7*(parseInt(_0x2e9267(0x12e))/0x8)+parseInt(_0x2e9267(0x116))/0x9+parseInt(_0x2e9267(0x9f))/0xa*(-parseInt(_0x2e9267(0xdf))/0xb)+parseInt(_0x2e9267(0xa7))/0xc*(parseInt(_0x2e9267(0xce))/0xd);if(_0x228225===_0x124aa7)break;else _0x11617a['push'](_0x11617a['shift']());}catch(_0x10e27f){_0x11617a['push'](_0x11617a['shift']());}}}(_0x599f,0xdb9cf));import{Plugin as _0x3894d0}from'ckeditor5/src/core.js';function _0x599f(){const _0x4d10d2=['menu','_disableComments','destroy','CommentView','2810432BMLxSX','button','model','_viewToController','escape','discardAllSuggestions','_refreshActiveMarkers','Discard\x20all\x20suggestions','getSuggestion','config','set','CommentsRepository','has','commentsListView','Annotations','remove','SuggestionView','mainView','suggestionChanged','stopListening','_addUIComponentsToFactory','filter','commandName','getMarkers','5UGEAOX','22425RwAZzL','pluginName','init','bind','reduce','menuBar:trackChanges','from','get','49TuYLrI','getRanges','discardButton','addComment','10759176QaxBNh','3DFtbXO','previous','comments.maxCommentCharsWhenCollapsed','keys','220oKusKf','push','commands','acceptSelectedSuggestions','change:activeAnnotations','_bindAnnotationToEditors','type','discardSelectedSuggestions','_annotationViews','TrackChangesUI','_createToolbarButton','define','isDirty','toMany','trackChanges.disableComments','activeMarkers','editor','_updateController','_handleControllerBuffer','children','execute','clear','_unbindEditors','createCommentThreadController','values','createAnnotation','refreshSelectedViews','delete','getFirstRange','arrowView','suggestionLoaded','buttonView','acceptAllSuggestions','editing','isInContent','_destroyController','Track\x20changes','componentFactory','listenTo','trackChanges.SuggestionThreadView','getAllAdjacentSuggestions','fire','switchbutton','_handleSuggestionControllerDelayed','source','trackChanges.SuggestionView','getMarkerNames','TrackChangesEditing','plugins','items','descriptionParts','length','head','delegate','_initializeController','1256409EANeWE','65418NaVCgx','_suggestionToController','change:previous','EditorAnnotations','Accept\x20all\x20suggestions','descriptionFactory','_createMenuBarMenu','SuggestionThreadView','commentThread','value','getByInnerView','focus','CommentsUI','unbind','4459476sFwlfO','hasSuggestion','isEnabled','menuitemcheckbox','isOfficialPlugin','getDescriptions','some','requires','getJoined','16svTmgz','suggestion-','comments.editorConfig','suggestionView','Discard\x20all\x20selected\x20suggestions','activeAnnotations','comments.maxThreadTotalWeight','lowest','add','isOn','comments','innerView','trackChanges','72330nHSgOq','view','isMultiRange','acceptButton','comments.maxCommentsWhenCollapsed','isPremiumPlugin','locale','separator','43668rriSoX','panelView','suggestionUnloaded','actionView','createAnnotationView','Accept\x20all\x20selected\x20suggestions','menuitem','registerAnnotation','size','addSourceCollector'];_0x599f=function(){return _0x4d10d2;};return _0x599f();}function _0x1582(_0xe393ba,_0x4d2081){const _0x599f24=_0x599f();return _0x1582=function(_0x158277,_0x1aa090){_0x158277=_0x158277-0x99;let _0x77185c=_0x599f24[_0x158277];return _0x77185c;},_0x1582(_0xe393ba,_0x4d2081);}import{Collection as _0x117cfe}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3fd39d,createDropdown as _0x23ceb4,ListSeparatorView as _0x12a207,MenuBarMenuView as _0x5b6324,MenuBarMenuListView as _0x26d449,MenuBarMenuListItemView as _0x2627f6,MenuBarMenuListItemButtonView as _0x315980,SplitButtonView as _0x2ef39d,ViewModel as _0xfd994a}from'ckeditor5/src/ui.js';import{Users as _0xef6c11,getDateTimeFormatter as _0x2512e9,getAllMarkersDomElementsSorted as _0x46c72d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4226c0 from'./trackchangesediting.js';import _0xa4ffd2 from'./ui/suggestioncontroller.js';import _0x34a34d from'./ui/view/suggestionthreadview.js';import _0x9dedb7 from'./ui/view/suggestionview.js';import{getTranslation as _0x4c71a0}from'./utils/common-translations.js';import _0x23e8fe from'../theme/icons/track-changes.svg';export default class d extends _0x3894d0{static get[_0x59fcff(0x12c)](){const _0x4d3a1d=_0x59fcff;return[_0x4226c0,_0xef6c11,_0x4d3a1d(0xc0),_0x4d3a1d(0xc3),_0x4d3a1d(0x11a)];}static get[_0x59fcff(0xcf)](){const _0x34682a=_0x59fcff;return _0x34682a(0xe8);}static get[_0x59fcff(0x129)](){return!0x0;}static get[_0x59fcff(0xa4)](){return!0x0;}constructor(_0x259a56){const _0x53e6e6=_0x59fcff;super(_0x259a56),this[_0x53e6e6(0x118)]=new Map(),this[_0x53e6e6(0xb8)]=new Map(),this[_0x53e6e6(0xe7)]=new Map(),this[_0x53e6e6(0xf1)]=new Map();const _0x518cb9=this[_0x53e6e6(0xef)][_0x53e6e6(0xbe)];_0x518cb9[_0x53e6e6(0xea)](_0x53e6e6(0x106),_0x34a34d),_0x518cb9[_0x53e6e6(0xea)](_0x53e6e6(0x10c),_0x9dedb7),_0x518cb9[_0x53e6e6(0xea)](_0x53e6e6(0xed),!0x1),this[_0x53e6e6(0xb2)]=_0x518cb9[_0x53e6e6(0xd5)](_0x53e6e6(0xed));}[_0x59fcff(0x10a)](_0x54f78c,_0x53462e){const _0x209f0b=_0x59fcff;0x0===this[_0x209f0b(0xf1)][_0x209f0b(0xaf)]&&setTimeout(()=>{const _0x2a1f29=_0x209f0b;for(const [_0x4cd33e,_0x3f2942]of this[_0x2a1f29(0xf1)]){const _0xa461b2=this[_0x2a1f29(0x118)][_0x2a1f29(0xc1)](_0x4cd33e);_0xa461b2||_0x3f2942?_0xa461b2&&_0x3f2942&&this[_0x2a1f29(0x102)](_0x4cd33e):this[_0x2a1f29(0x115)](_0x4cd33e);}this[_0x2a1f29(0xf1)][_0x2a1f29(0xf4)](),this[_0x2a1f29(0xef)][_0x2a1f29(0x10f)][_0x2a1f29(0xd5)](_0x2a1f29(0x11a))[_0x2a1f29(0xf9)](),this[_0x2a1f29(0xbb)]();},0xa),this[_0x209f0b(0xf1)][_0x209f0b(0xbf)](_0x54f78c,_0x53462e);}[_0x59fcff(0xd0)](){const _0x5e69a6=_0x59fcff,_0x194ea4=this[_0x5e69a6(0xef)],_0x489901=_0x194ea4[_0x5e69a6(0x10f)][_0x5e69a6(0xd5)](_0x5e69a6(0x10e)),_0x53a98c=_0x194ea4[_0x5e69a6(0x10f)][_0x5e69a6(0xd5)](_0x5e69a6(0xc3)),_0x12ff21=_0x194ea4[_0x5e69a6(0x10f)][_0x5e69a6(0xd5)](_0x5e69a6(0x11a)),_0x1c220c=_0x194ea4[_0x5e69a6(0x10f)][_0x5e69a6(0xd5)](_0x5e69a6(0xc0));this[_0x5e69a6(0xc9)](),_0x12ff21[_0x5e69a6(0xb0)](()=>{const _0x35b3cb=_0x5e69a6,_0xadb15a=[];for(const [_0x35f438,_0xa84dfa]of Array[_0x35b3cb(0xd4)](this[_0x35b3cb(0x118)])){const _0x428a1c=_0x35f438[_0x35b3cb(0x107)](),_0x217d9b=[];for(const _0x4ece32 of _0x428a1c){if(!_0x4ece32[_0x35b3cb(0x101)])continue;if(_0x4ece32[_0x35b3cb(0xa1)]){_0x217d9b[_0x35b3cb(0xe0)](..._0x4ece32[_0x35b3cb(0xd7)]());continue;}const _0x1bbc45=_0x4ece32[_0x35b3cb(0xfb)]();if(_0x217d9b[_0x35b3cb(0x112)]>0x0){const _0x45df8e=_0x217d9b[0x0][_0x35b3cb(0x12d)](_0x1bbc45);if(_0x45df8e){_0x217d9b[0x0]=_0x45df8e;continue;}}_0x217d9b[_0x35b3cb(0xe0)](_0x1bbc45);}_0xadb15a[_0x35b3cb(0xe0)]([_0xa84dfa[_0x35b3cb(0xa0)],_0x217d9b]);}return _0xadb15a;}),this[_0x5e69a6(0x105)](_0x489901,_0x5e69a6(0xfd),(_0x5e3e26,_0x2d4bc9)=>{const _0x1c742a=_0x5e69a6;this[_0x1c742a(0x105)](_0x2d4bc9,_0x1c742a(0x119),(_0x44bb46,_0x3cffa0,_0x167d61,_0x31a593)=>{const _0xe1dd64=_0x1c742a;_0x2d4bc9[_0xe1dd64(0x101)]&&(null==_0x167d61?(this[_0xe1dd64(0xf0)](_0x31a593[_0xe1dd64(0x113)]),this[_0xe1dd64(0x10a)](_0x2d4bc9,!0x1)):(this[_0xe1dd64(0xf0)](_0x167d61[_0xe1dd64(0x113)]),null==_0x31a593&&this[_0xe1dd64(0x10a)](_0x2d4bc9,!0x0)));}),null!==_0x2d4bc9[_0x1c742a(0xdc)]?this[_0x1c742a(0xf0)](_0x2d4bc9[_0x1c742a(0x113)]):this[_0x1c742a(0x10a)](_0x2d4bc9,!0x1);}),this[_0x5e69a6(0x105)](_0x489901,_0x5e69a6(0xa9),(_0x179cbd,_0x10ff8d,_0x72d740)=>{const _0x318b9f=_0x5e69a6;this[_0x318b9f(0xc8)](_0x10ff8d,_0x318b9f(0x119)),this[_0x318b9f(0xf1)][_0x318b9f(0xfa)](_0x10ff8d),this[_0x318b9f(0x118)][_0x318b9f(0xc1)](_0x10ff8d)&&this[_0x318b9f(0x102)](_0x10ff8d),_0x72d740&&this[_0x318b9f(0xf0)](_0x72d740[_0x318b9f(0x113)]);}),this[_0x5e69a6(0x105)](_0x489901,_0x5e69a6(0xc7),(_0x478922,_0x2fa9bd)=>{const _0x5963c9=_0x5e69a6;this[_0x5963c9(0xf0)](_0x2fa9bd);}),this[_0x5e69a6(0x105)](_0x53a98c,_0x5e69a6(0xe3),()=>{const _0x2bae29=_0x5e69a6;this[_0x2bae29(0xbb)]();}),this[_0x5e69a6(0x105)](_0x1c220c,_0x5e69a6(0xd9),(_0x27623e,{threadId:_0x424909,isFromAdapter:_0x1ca663})=>{const _0x170e0f=_0x5e69a6;if(_0x1ca663||!_0x489901[_0x170e0f(0x126)](_0x424909))return;const _0x684adc=_0x489901[_0x170e0f(0xbd)](_0x424909);this[_0x170e0f(0x118)][_0x170e0f(0xd5)](_0x684adc)[_0x170e0f(0xa0)][_0x170e0f(0xc2)][_0x170e0f(0x122)](-0x1);},{'priority':_0x5e69a6(0x99)});}[_0x59fcff(0xbb)](){const _0x4c6cf3=_0x59fcff,_0xb731fa=this[_0x4c6cf3(0xef)][_0x4c6cf3(0x10f)][_0x4c6cf3(0xd5)](_0x4c6cf3(0xc3)),_0x5664b0=this[_0x4c6cf3(0xef)][_0x4c6cf3(0x10f)][_0x4c6cf3(0xd5)](_0x4c6cf3(0x10e)),_0x37ee9c=Array[_0x4c6cf3(0xd4)](_0xb731fa[_0x4c6cf3(0x133)],_0x4e19bc=>_0x4e19bc[_0x4c6cf3(0x9d)])[_0x4c6cf3(0xca)](_0x904eca=>this[_0x4c6cf3(0xb8)][_0x4c6cf3(0xc1)](_0x904eca)),_0x616ac7=[];for(const _0x26e37b of _0x37ee9c){const _0x3e3f22=this[_0x4c6cf3(0xb8)][_0x4c6cf3(0xd5)](_0x26e37b)[_0x4c6cf3(0xb7)][_0x4c6cf3(0x107)]();_0x616ac7[_0x4c6cf3(0xe0)](..._0x3e3f22[_0x4c6cf3(0xd2)]((_0x2e5957,_0x422da3)=>[..._0x2e5957,..._0x422da3[_0x4c6cf3(0x10d)]()],[]));}_0x5664b0[_0x4c6cf3(0xee)]=_0x616ac7;}[_0x59fcff(0xc9)](){const _0x5a3f8c=_0x59fcff,_0x50321a=this[_0x5a3f8c(0xef)],_0x1e1da3=_0x50321a[_0x5a3f8c(0xa5)],_0x17e180=_0x4c71a0(_0x1e1da3,_0x5a3f8c(0x103)),_0x37fc2e=new _0x117cfe([{'type':_0x5a3f8c(0x109),'model':new _0xfd994a({'withText':!0x0,'isToggleable':!0x0,'label':_0x17e180,'commandName':_0x5a3f8c(0x9e),'role':_0x5a3f8c(0x128)})},{'type':_0x5a3f8c(0xa6)},{'type':_0x5a3f8c(0xb6),'model':new _0xfd994a({'withText':!0x0,'label':_0x4c71a0(_0x1e1da3,_0x5a3f8c(0x11b)),'commandName':_0x5a3f8c(0xff),'role':_0x5a3f8c(0xad)})},{'type':_0x5a3f8c(0xb6),'model':new _0xfd994a({'withText':!0x0,'label':_0x4c71a0(_0x1e1da3,_0x5a3f8c(0xac)),'commandName':_0x5a3f8c(0xe2),'role':_0x5a3f8c(0xad)})},{'type':_0x5a3f8c(0xb6),'model':new _0xfd994a({'withText':!0x0,'label':_0x4c71a0(_0x1e1da3,_0x5a3f8c(0xbc)),'commandName':_0x5a3f8c(0xba),'role':_0x5a3f8c(0xad)})},{'type':_0x5a3f8c(0xb6),'model':new _0xfd994a({'withText':!0x0,'label':_0x4c71a0(_0x1e1da3,_0x5a3f8c(0x132)),'commandName':_0x5a3f8c(0xe6),'role':_0x5a3f8c(0xad)})}]);for(const _0xf0dc65 of _0x37fc2e)if(me(_0xf0dc65)){const _0x18cbef=_0x50321a[_0x5a3f8c(0xe1)][_0x5a3f8c(0xd5)](_0xf0dc65[_0x5a3f8c(0xb7)][_0x5a3f8c(0xcb)]);_0xf0dc65[_0x5a3f8c(0xb7)][_0x5a3f8c(0xd1)](_0x5a3f8c(0x9b),_0x5a3f8c(0x127))['to'](_0x18cbef,_0x5a3f8c(0x120),_0x5a3f8c(0x127));}_0x50321a['ui'][_0x5a3f8c(0x104)][_0x5a3f8c(0x9a)](_0x5a3f8c(0x9e),_0x14f759=>this[_0x5a3f8c(0xe9)](_0x14f759,_0x37fc2e,_0x17e180)),_0x50321a['ui'][_0x5a3f8c(0x104)][_0x5a3f8c(0x9a)](_0x5a3f8c(0xd3),_0x28fed4=>this[_0x5a3f8c(0x11d)](_0x28fed4,_0x37fc2e,_0x17e180));}[_0x59fcff(0xe9)](_0x5e4217,_0xb497b4,_0x336f7a){const _0x55ee07=_0x59fcff,_0x561c7b=_0x23ceb4(_0x5e4217,_0x2ef39d),_0x4279a7=this[_0x55ee07(0xef)][_0x55ee07(0xe1)][_0x55ee07(0xd5)](_0x55ee07(0x9e));_0x561c7b[_0x55ee07(0xfe)][_0x55ee07(0xbf)]({'tooltip':_0x336f7a,'label':_0x336f7a,'icon':_0x23e8fe}),_0x561c7b[_0x55ee07(0xfe)][_0x55ee07(0xd1)](_0x55ee07(0x9b))['to'](_0x4279a7,_0x55ee07(0x120)),_0x561c7b[_0x55ee07(0xfe)]['on'](_0x55ee07(0xf3),()=>{const _0x497e4a=_0x55ee07;_0x4279a7[_0x497e4a(0xf3)](),this[_0x497e4a(0xef)][_0x497e4a(0x100)][_0x497e4a(0xa0)][_0x497e4a(0x122)]();}),_0x3fd39d(_0x561c7b,_0xb497b4,{'role':_0x55ee07(0xb1)});const _0x4a9348=[];for(const _0x3afc42 of _0xb497b4)me(_0x3afc42)&&_0x4a9348[_0x55ee07(0xe0)](this[_0x55ee07(0xef)][_0x55ee07(0xe1)][_0x55ee07(0xd5)](_0x3afc42[_0x55ee07(0xb7)][_0x55ee07(0xcb)]));const _0x3bb91a=_0x561c7b[_0x55ee07(0xfe)];return _0x3bb91a[_0x55ee07(0xaa)][_0x55ee07(0x124)](_0x55ee07(0x127)),_0x3bb91a[_0x55ee07(0xfc)][_0x55ee07(0x124)](_0x55ee07(0x127)),_0x3bb91a[_0x55ee07(0xaa)][_0x55ee07(0xd1)](_0x55ee07(0x127))['to'](_0x4279a7,_0x55ee07(0x127)),_0x3bb91a[_0x55ee07(0xfc)][_0x55ee07(0xd1)](_0x55ee07(0x127))[_0x55ee07(0xec)](_0x4a9348,_0x55ee07(0x127),(..._0x59b9fb)=>_0x59b9fb[_0x55ee07(0x12b)](_0x50fad2=>_0x50fad2)),_0x561c7b['on'](_0x55ee07(0xf3),_0x5c8c13=>{const _0x2c8897=_0x55ee07;this[_0x2c8897(0xef)][_0x2c8897(0xf3)](_0x5c8c13[_0x2c8897(0x10b)][_0x2c8897(0xcb)]),this[_0x2c8897(0xef)][_0x2c8897(0x100)][_0x2c8897(0xa0)][_0x2c8897(0x122)]();}),_0x561c7b;}[_0x59fcff(0x11d)](_0x9e9eb5,_0x2b0097,_0x16b832){const _0x5da9f1=_0x59fcff,_0x310fb4=new _0x5b6324(_0x9e9eb5),_0x3e3ec4=this[_0x5da9f1(0xef)][_0x5da9f1(0xe1)][_0x5da9f1(0xd5)](_0x5da9f1(0x9e));_0x310fb4[_0x5da9f1(0xfe)][_0x5da9f1(0xbf)]({'label':_0x16b832,'icon':_0x23e8fe});const _0x30b98f=new _0x26d449(_0x9e9eb5);for(const _0x10996e of _0x2b0097){if(_0x5da9f1(0xa6)==_0x10996e[_0x5da9f1(0xe5)]){_0x30b98f[_0x5da9f1(0x110)][_0x5da9f1(0x9a)](new _0x12a207(_0x9e9eb5));continue;}const _0x2fe894=new _0x2627f6(_0x9e9eb5,_0x310fb4),_0x2636fd=new _0x315980(_0x9e9eb5),_0x1decfb=_0x10996e[_0x5da9f1(0xb7)];_0x2636fd[_0x5da9f1(0xd1)](...Object[_0x5da9f1(0xde)](_0x1decfb))['to'](_0x1decfb),_0x2636fd[_0x5da9f1(0x114)](_0x5da9f1(0xf3))['to'](_0x310fb4),_0x2636fd['on'](_0x5da9f1(0xf3),()=>{const _0x5f29d7=_0x5da9f1;this[_0x5f29d7(0xef)][_0x5f29d7(0xf3)](_0x1decfb[_0x5f29d7(0xcb)]),this[_0x5f29d7(0xef)][_0x5f29d7(0x100)][_0x5f29d7(0xa0)][_0x5f29d7(0x122)]();}),_0x2fe894[_0x5da9f1(0xf2)][_0x5da9f1(0x9a)](_0x2636fd),_0x30b98f[_0x5da9f1(0x110)][_0x5da9f1(0x9a)](_0x2fe894);}return _0x310fb4[_0x5da9f1(0xd1)](_0x5da9f1(0x127))['to'](_0x3e3ec4,_0x5da9f1(0x127)),_0x310fb4[_0x5da9f1(0xa8)][_0x5da9f1(0xf2)][_0x5da9f1(0x9a)](_0x30b98f),_0x310fb4;}[_0x59fcff(0x115)](_0x1b616e){const _0x21d54b=_0x59fcff,_0x50e935=this[_0x21d54b(0xef)],_0x427dba=_0x50e935[_0x21d54b(0xbe)],_0x764e6a=_0x50e935[_0x21d54b(0x10f)][_0x21d54b(0xd5)](_0x21d54b(0xc3)),_0x5e9301=_0x50e935[_0x21d54b(0x10f)][_0x21d54b(0xd5)](_0x21d54b(0xc0)),_0x714fb3=_0x50e935[_0x21d54b(0x10f)][_0x21d54b(0xd5)](_0x21d54b(0x11a)),_0x10feba=_0x50e935[_0x21d54b(0x10f)][_0x21d54b(0xd5)](_0xef6c11)['me'],_0x2a30ba=_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0x9e))[_0x21d54b(0x11e)],_0x281e7=_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0x9e))[_0x21d54b(0xc5)],{CommentsListView:_0x4dd407,CommentThreadInputView:_0x1ee788}=_0x50e935[_0x21d54b(0x10f)][_0x21d54b(0xd5)](_0x21d54b(0x123));let _0xcc720c,_0x38b8b3,_0x524afc;this[_0x21d54b(0xe7)][_0x21d54b(0xc1)](_0x1b616e['id'])?(_0x38b8b3=this[_0x21d54b(0xe7)][_0x21d54b(0xd5)](_0x1b616e['id']),_0xcc720c=_0x38b8b3[_0x21d54b(0xc6)]):(_0xcc720c=new _0x2a30ba(_0x50e935[_0x21d54b(0xa5)],_0x1b616e,_0x10feba,{'disableComments':this[_0x21d54b(0xb2)],'editorConfig':_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0x130)),'maxCommentsWhenCollapsed':_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0xa3)),'maxThreadTotalWeight':_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0x134)),'maxCommentCharsWhenCollapsed':_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0xdd)),'formatDateTime':_0x2512e9(_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0xa5))),'CommentView':_0x427dba[_0x21d54b(0xd5)](_0x21d54b(0x9c))[_0x21d54b(0xb4)],'CommentsListView':_0x4dd407,'CommentThreadInputView':_0x1ee788,'SuggestionView':_0x281e7}),_0xcc720c[_0x21d54b(0x131)][_0x21d54b(0xa2)]['on'](_0x21d54b(0xf3),()=>{const _0x384d9a=_0x21d54b;_0x50e935[_0x384d9a(0x100)][_0x384d9a(0xa0)][_0x384d9a(0x122)]();}),_0xcc720c[_0x21d54b(0x131)][_0x21d54b(0xd8)]['on'](_0x21d54b(0xf3),()=>{const _0x11bc21=_0x21d54b;_0x50e935[_0x11bc21(0x100)][_0x11bc21(0xa0)][_0x11bc21(0x122)]();}),_0x38b8b3=_0x764e6a[_0x21d54b(0xab)](this[_0x21d54b(0xef)][_0x21d54b(0xa5)],_0xcc720c),_0x38b8b3[_0x21d54b(0xd1)](_0x21d54b(0xeb))['to'](_0xcc720c,_0x21d54b(0xeb)),_0x38b8b3[_0x21d54b(0xd1)](_0x21d54b(0x112))['to'](_0xcc720c),_0x38b8b3[_0x21d54b(0xd1)](_0x21d54b(0xe5))['to'](_0xcc720c,_0x21d54b(0xe5),_0x1f4e3d=>_0x21d54b(0x12f)+_0x1f4e3d),_0xcc720c['on'](_0x21d54b(0xb9),()=>{const _0x1a6015=_0x21d54b;_0x524afc[_0x1a6015(0x108)](_0x1a6015(0xb9));}),this[_0x21d54b(0xe7)][_0x21d54b(0xbf)](_0x1b616e['id'],_0x38b8b3));const _0xf83b47=_0x5e9301[_0x21d54b(0xf6)](_0x1b616e[_0x21d54b(0x11f)],_0xcc720c),_0x3712cd=new _0xa4ffd2(_0x50e935,_0x1b616e,_0xcc720c,_0xf83b47),_0x23fc97=_0x1b616e[_0x21d54b(0x107)]()[_0x21d54b(0xca)](_0xa831b3=>_0xa831b3[_0x21d54b(0x101)]);_0xcc720c[_0x21d54b(0x111)]=_0x50e935[_0x21d54b(0x10f)][_0x21d54b(0xd5)](_0x21d54b(0x10e))[_0x21d54b(0x11c)][_0x21d54b(0x12a)](_0x23fc97),this[_0x21d54b(0x118)][_0x21d54b(0xbf)](_0x1b616e,_0x3712cd),this[_0x21d54b(0xb8)][_0x21d54b(0xbf)](_0xcc720c,_0x3712cd),_0x524afc=_0x764e6a[_0x21d54b(0xf8)]({'view':_0x38b8b3,'target':()=>{const _0x1e916f=_0x21d54b,_0x35208e=[],_0x1e58a2=_0x1b616e[_0x1e916f(0x107)]()[_0x1e916f(0xca)](_0x5bbf8c=>_0x5bbf8c[_0x1e916f(0x101)]);for(const _0x1618cc of _0x1e58a2)_0x35208e[_0x1e916f(0xe0)](..._0x1618cc[_0x1e916f(0xcc)]());return _0x46c72d(_0x50e935[_0x1e916f(0x100)],_0x35208e);},'type':()=>_0x21d54b(0x12f)+_0x3712cd[_0x21d54b(0xa0)][_0x21d54b(0xe5)]}),_0x5e9301[_0x21d54b(0xe4)](_0xcc720c,_0x524afc),_0x764e6a[_0x21d54b(0x9a)](_0x524afc),_0x714fb3[_0x21d54b(0xae)](_0x524afc);}[_0x59fcff(0x102)](_0x55f765){const _0x88147=_0x59fcff,_0x2d4dd3=this[_0x88147(0xef)][_0x88147(0x10f)][_0x88147(0xd5)](_0x88147(0xc0)),_0x40bb5e=this[_0x88147(0xef)][_0x88147(0x10f)][_0x88147(0xd5)](_0x88147(0xc3)),_0x4c64e5=this[_0x88147(0x118)][_0x88147(0xd5)](_0x55f765),_0x6bf768=_0x4c64e5[_0x88147(0xa0)],_0x1b45e7=_0x40bb5e[_0x88147(0x121)](_0x6bf768);_0x2d4dd3[_0x88147(0xf5)](_0x6bf768),_0x1b45e7&&_0x40bb5e[_0x88147(0xc4)](_0x1b45e7),this[_0x88147(0x118)][_0x88147(0xfa)](_0x55f765),this[_0x88147(0xb8)][_0x88147(0xfa)](_0x6bf768),_0x4c64e5[_0x88147(0xb3)]();}[_0x59fcff(0xf0)](_0x3a84f2){const _0x360730=_0x59fcff;if(!_0x3a84f2[_0x360730(0x101)]||!this[_0x360730(0x118)][_0x360730(0xc1)](_0x3a84f2))return;const _0x5ea3a7=this[_0x360730(0xef)][_0x360730(0x10f)][_0x360730(0xd5)](_0x360730(0x10e)),_0x34c9d0=this[_0x360730(0x118)][_0x360730(0xd5)](_0x3a84f2),_0x443c25=_0x3a84f2[_0x360730(0x107)]();_0x34c9d0[_0x360730(0xa0)][_0x360730(0x111)]=_0x5ea3a7[_0x360730(0x11c)][_0x360730(0x12a)](_0x443c25);}[_0x59fcff(0xb3)](){const _0x34e80d=_0x59fcff;for(const _0x29f58b of this[_0x34e80d(0x118)][_0x34e80d(0xde)]())this[_0x34e80d(0x102)](_0x29f58b);for(const _0x269e87 of this[_0x34e80d(0xe7)][_0x34e80d(0xf7)]())_0x269e87[_0x34e80d(0xc6)][_0x34e80d(0xb3)]();super[_0x34e80d(0xb3)]();}}function me(_0x17193a){const _0x599a1f=_0x59fcff;return _0x599a1f(0xb7)in _0x17193a;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x872a6a=_0x32fb;(function(_0x1221d9,_0x1d8905){const _0x355a1c=_0x32fb,_0x3a6755=_0x1221d9();while(!![]){try{const _0x476ba9=parseInt(_0x355a1c(0x11c))/0x1*(parseInt(_0x355a1c(0x120))/0x2)+parseInt(_0x355a1c(0x100))/0x3*(parseInt(_0x355a1c(0x107))/0x4)+parseInt(_0x355a1c(0xfe))/0x5*(-parseInt(_0x355a1c(0xfd))/0x6)+-parseInt(_0x355a1c(0x111))/0x7+-parseInt(_0x355a1c(0x119))/0x8*(-parseInt(_0x355a1c(0x10c))/0x9)+parseInt(_0x355a1c(0x125))/0xa*(parseInt(_0x355a1c(0x114))/0xb)+parseInt(_0x355a1c(0x102))/0xc*(-parseInt(_0x355a1c(0x105))/0xd);if(_0x476ba9===_0x1d8905)break;else _0x3a6755['push'](_0x3a6755['shift']());}catch(_0x493d2b){_0x3a6755['push'](_0x3a6755['shift']());}}}(_0x993f,0xde5ed));import{ObservableMixin as _0x20611e}from'ckeditor5/src/utils.js';function _0x32fb(_0x26de47,_0x232a5d){const _0x993fd9=_0x993f();return _0x32fb=function(_0x32fbc2,_0xc8d59c){_0x32fbc2=_0x32fbc2-0xfc;let _0x37ccc0=_0x993fd9[_0x32fbc2];return _0x37ccc0;},_0x32fb(_0x26de47,_0x232a5d);}import{getTranslation as _0x5e407c}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20611e(){constructor(_0xb5282b,_0x38b5e8,_0xecf0fc,_0x44bc87){const _0x384fa6=_0x32fb;super(),this[_0x384fa6(0x10e)]=_0x38b5e8,this[_0x384fa6(0x118)]=_0xecf0fc,this[_0x384fa6(0x112)]=_0x44bc87,this[_0x384fa6(0x117)]=_0xb5282b,this[_0x384fa6(0x115)]=_0xb5282b[_0x384fa6(0x127)][_0x384fa6(0xfc)](_0x384fa6(0x11b)),this[_0x384fa6(0x103)]=_0xb5282b[_0x384fa6(0x127)][_0x384fa6(0xfc)](_0x384fa6(0x128)),this[_0x384fa6(0x118)][_0x384fa6(0x104)](_0x384fa6(0x11e))['to'](this[_0x384fa6(0x115)],this[_0x384fa6(0x103)],(_0x3cbb02,_0x229313)=>_0x3cbb02||_0x229313),this[_0x384fa6(0x118)][_0x384fa6(0x104)](_0x384fa6(0x10d))['to'](this[_0x384fa6(0x115)],_0x384fa6(0x11e),_0x4c6d9f=>_0x4c6d9f&&this[_0x384fa6(0x117)][_0x384fa6(0x10e)][_0x384fa6(0x10a)](_0x38b5e8[_0x384fa6(0x123)]())),this[_0x384fa6(0x118)][_0x384fa6(0x104)](_0x384fa6(0x10b))['to'](this[_0x384fa6(0x103)],_0x384fa6(0x11e),_0x14a89c=>_0x14a89c&&this[_0x384fa6(0x117)][_0x384fa6(0x10e)][_0x384fa6(0x10a)](_0x38b5e8[_0x384fa6(0x123)]())),this[_0x384fa6(0x106)]=null,_0xecf0fc[_0x384fa6(0xff)]&&this[_0x384fa6(0x110)](),this[_0x384fa6(0x124)](_0xecf0fc,_0x384fa6(0x11b),()=>this[_0x384fa6(0x11b)]()),this[_0x384fa6(0x124)](_0xecf0fc,_0x384fa6(0x128),()=>this[_0x384fa6(0x128)]()),this[_0x384fa6(0x124)](_0xecf0fc,_0x384fa6(0x11f),()=>{const _0x1b9ad2=_0x384fa6;_0xecf0fc[_0x1b9ad2(0xff)]?this[_0x1b9ad2(0x110)]():this[_0x1b9ad2(0x11d)]();});}[_0x872a6a(0x11b)](){const _0x556748=_0x872a6a;this[_0x556748(0x115)][_0x556748(0x108)](this[_0x556748(0x10e)]['id']);}[_0x872a6a(0x128)](){const _0x3fa27d=_0x872a6a;this[_0x3fa27d(0x103)][_0x3fa27d(0x108)](this[_0x3fa27d(0x10e)]['id']);}[_0x872a6a(0x10f)](){const _0xf42d90=_0x872a6a;this[_0xf42d90(0x118)][_0xf42d90(0x11a)](_0xf42d90(0x11e)),this[_0xf42d90(0x118)][_0xf42d90(0x11a)](_0xf42d90(0x10d)),this[_0xf42d90(0x118)][_0xf42d90(0x11a)](_0xf42d90(0x10b)),this[_0xf42d90(0x113)](),this[_0xf42d90(0x112)][_0xf42d90(0x10f)](),this[_0xf42d90(0x106)]&&this[_0xf42d90(0x11d)]();}[_0x872a6a(0x110)](){const _0x395aa7=_0x872a6a,_0x1acf52=_0x5e407c(this[_0x395aa7(0x117)][_0x395aa7(0x121)],_0x395aa7(0x101));this[_0x395aa7(0x106)]=this[_0x395aa7(0x117)][_0x395aa7(0x122)][_0x395aa7(0xfc)](_0x395aa7(0x109))[_0x395aa7(0x126)](_0x1acf52);}[_0x872a6a(0x11d)](){const _0x17180a=_0x872a6a;null!==this[_0x17180a(0x106)]&&this[_0x17180a(0x117)][_0x17180a(0x122)][_0x17180a(0xfc)](_0x17180a(0x109))[_0x17180a(0x116)](this[_0x17180a(0x106)]),this[_0x17180a(0x106)]=null;}}function _0x993f(){const _0x23c9f5=['destroy','_setPendingAction','8185926PpmiUG','commentThreadController','stopListening','11pLfpoA','_acceptCommand','remove','_editor','view','40gcBWyn','unbind','acceptSuggestion','339JKTkSA','_removePendingAction','isEnabled','change:isDirty','3874UEBxEQ','locale','plugins','getRanges','listenTo','9682370loGEGI','add','commands','discardSuggestion','get','1132314ErTQSJ','10AufWfH','isDirty','113871rHNQos','PENDING_ACTION_SUGGESTION','4052244GEKSWE','_discardCommand','bind','26RyDgDd','_pendingAction','8lEeBKD','execute','PendingActions','canEditAt','canDiscard','2578077refXqd','canAccept','model'];_0x993f=function(){return _0x23c9f5;};return _0x993f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bf6d1=_0x27c4;(function(_0x2b5988,_0x3e2277){const _0x4e76a0=_0x27c4,_0x5b9072=_0x2b5988();while(!![]){try{const _0x551412=parseInt(_0x4e76a0(0x93))/0x1*(parseInt(_0x4e76a0(0xa6))/0x2)+parseInt(_0x4e76a0(0x7b))/0x3+-parseInt(_0x4e76a0(0x9e))/0x4*(-parseInt(_0x4e76a0(0xb5))/0x5)+-parseInt(_0x4e76a0(0x76))/0x6+-parseInt(_0x4e76a0(0x7f))/0x7+parseInt(_0x4e76a0(0x82))/0x8+-parseInt(_0x4e76a0(0x9f))/0x9*(-parseInt(_0x4e76a0(0xa9))/0xa);if(_0x551412===_0x3e2277)break;else _0x5b9072['push'](_0x5b9072['shift']());}catch(_0x5a0090){_0x5b9072['push'](_0x5b9072['shift']());}}}(_0x20c1,0x80ae1));import{FocusCycler as _0x5c82c3,View as _0x504384,ViewCollection as _0x32489a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x56d741,KeystrokeHandler as _0x361b90}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x343192,setupThreadKeyboardNavigation as _0xf69928}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x16af42}from'../../utils/common-translations.js';import{renderDescription as _0x204638}from'../../utils/utils.js';function _0x20c1(){const _0x289af4=['focusCycler','358kTbquC','_config','keystrokes','18370fBIycq','disableComments','isActive','isDirty','SUGGESTION_THREAD_DESCRIPTION','set','commentThread','editor','value','text/html','destroy','author','605uyDHem','ariaDescriptionView','showInput','isReadOnly','parseFromString','target','updateComment','submit','delegate','removeComment','384732gUnpyp','length','commentsListView','fire','isEnabled','417768wfcKIh','map','setData','_createCommentThreadInputView','4436019tLxaoZ','locale','formatDateTime','2766736iDHILN','focus','SUGGESTION_THREAD_ARIA_LABEL','tab','_model','focusables','textContent','content','join','body','element','assign','CommentView','disabledSubmit','focusTracker','name','ariaLabel','1411epxghn','bind','authoredAt','addComment','_localUser','render','_createCommentViews','canDiscard','cancel','editorConfig','commentInputView','9488ebArtp','981INHiKi','commentThreadInputView','shift+tab','descriptionParts','hasDirtyComment','canAccept'];_0x20c1=function(){return _0x289af4;};return _0x20c1();}function _0x27c4(_0x25a75d,_0x24cb54){const _0x20c157=_0x20c1();return _0x27c4=function(_0x27c4a9,_0x414551){_0x27c4a9=_0x27c4a9-0x6f;let _0x13382e=_0x20c157[_0x27c4a9];return _0x13382e;},_0x27c4(_0x25a75d,_0x24cb54);}export default class us extends _0x504384{constructor(_0x1189d8,_0x42cf2c,_0x53c262,_0x51f82f){const _0xe6f87a=_0x27c4;super(_0x1189d8),this[_0xe6f87a(0x78)]=null,this[_0xe6f87a(0xa0)]=null,this[_0xe6f87a(0xb6)]=new _0x343192(_0x1189d8,_0x16af42(_0x1189d8,_0xe6f87a(0xad))),this[_0xe6f87a(0xae)](_0xe6f87a(0xab),!0x1),this[_0xe6f87a(0xae)](_0xe6f87a(0x95),_0x42cf2c[_0xe6f87a(0x95)]),this[_0xe6f87a(0x94)](_0xe6f87a(0x95))['to'](_0x42cf2c),this[_0xe6f87a(0xae)](_0xe6f87a(0xa2),[]),this[_0xe6f87a(0xae)](_0xe6f87a(0xac),!0x1),this[_0xe6f87a(0xae)](_0xe6f87a(0x7a),!0x1),this[_0xe6f87a(0xae)](_0xe6f87a(0xa4),!0x1),this[_0xe6f87a(0xae)](_0xe6f87a(0x9a),!0x1),this[_0xe6f87a(0x94)](_0xe6f87a(0x92))['to'](this,_0xe6f87a(0x77),_0x42cf2c,_0xe6f87a(0x95),this,_0xe6f87a(0xa2),(_0x2b512e,_0x30bc48,_0x2aeff5)=>{const _0x407fab=_0xe6f87a,_0x4414db=_0x2aeff5[_0x407fab(0x7c)](_0x3be6ad=>_0x204638(_0x3be6ad[_0x407fab(0x89)]))[_0x407fab(0x8a)]('.\x20')+'.';return _0x16af42(this[_0x407fab(0x80)],_0x407fab(0x84),[_0x2b512e-0x1,_0x42cf2c[_0x407fab(0xb4)][_0x407fab(0x91)],_0x30bc48?_0x51f82f[_0x407fab(0x81)](_0x30bc48):'',new DOMParser()[_0x407fab(0x70)](_0x4414db,_0x407fab(0xb2))[_0x407fab(0x8b)][_0x407fab(0x88)]]);}),this[_0xe6f87a(0x87)]=new _0x32489a(),this[_0xe6f87a(0x90)]=new _0x56d741(),this[_0xe6f87a(0xa8)]=new _0x361b90(),this[_0xe6f87a(0xa5)]=new _0x5c82c3({'focusables':this[_0xe6f87a(0x87)],'focusTracker':this[_0xe6f87a(0x90)],'keystrokeHandler':this[_0xe6f87a(0xa8)],'keystrokeHandlerOptions':{'filter':_0xb4df38=>_0xb4df38[_0xe6f87a(0x71)]!==this[_0xe6f87a(0x8c)]},'actions':{'focusPrevious':_0xe6f87a(0xa1),'focusNext':_0xe6f87a(0x85)}}),this[_0xe6f87a(0x86)]=_0x42cf2c,this[_0xe6f87a(0x97)]=_0x53c262,this[_0xe6f87a(0xa7)]=_0x51f82f,_0x51f82f[_0xe6f87a(0xaa)]?this[_0xe6f87a(0xae)](_0xe6f87a(0x77),0x1):this[_0xe6f87a(0x99)]();}[_0x3bf6d1(0x98)](){const _0x641677=_0x3bf6d1;super[_0x641677(0x98)](),_0xf69928(this,this[_0x641677(0x87)]);}[_0x3bf6d1(0x83)](){const _0x50f5a6=_0x3bf6d1;this[_0x50f5a6(0x8c)][_0x50f5a6(0x83)]();}[_0x3bf6d1(0xb3)](){const _0x3a6826=_0x3bf6d1;this[_0x3a6826(0x78)]&&this[_0x3a6826(0x78)][_0x3a6826(0xb3)](),this[_0x3a6826(0xa0)]&&this[_0x3a6826(0xa0)][_0x3a6826(0xb3)](),super[_0x3a6826(0xb3)]();}[_0x3bf6d1(0x99)](){const _0x59dc84=_0x3bf6d1,{CommentsListView:_0x5284d5}=this[_0x59dc84(0xa7)];this[_0x59dc84(0x78)]=new _0x5284d5(this[_0x59dc84(0x80)],this[_0x59dc84(0x86)][_0x59dc84(0xaf)],Object[_0x59dc84(0x8d)]({'CommentView':this[_0x59dc84(0xa7)][_0x59dc84(0x8e)]},this[_0x59dc84(0xa7)])),this[_0x59dc84(0x78)][_0x59dc84(0x74)](_0x59dc84(0x75))['to'](this),this[_0x59dc84(0x78)][_0x59dc84(0x74)](_0x59dc84(0x72))['to'](this),this[_0x59dc84(0x78)][_0x59dc84(0x94)](_0x59dc84(0xab))['to'](this),this[_0x59dc84(0xae)](_0x59dc84(0x77),this[_0x59dc84(0x78)][_0x59dc84(0x77)]+0x1),this[_0x59dc84(0x94)](_0x59dc84(0x77))['to'](this[_0x59dc84(0x78)],_0x59dc84(0x77),_0x12e6b8=>_0x12e6b8+0x1),this[_0x59dc84(0xa0)]=this[_0x59dc84(0x7e)](),this['on'](_0x59dc84(0x75),()=>this[_0x59dc84(0x83)]()),this[_0x59dc84(0x94)](_0x59dc84(0xac))['to'](this[_0x59dc84(0x78)],_0x59dc84(0xa3),this[_0x59dc84(0xa0)][_0x59dc84(0x9d)],_0x59dc84(0xb1),(_0x20f5cb,_0x416c0f)=>_0x20f5cb||!!_0x416c0f);}[_0x3bf6d1(0x7e)](){const _0x43331b=_0x3bf6d1,{CommentThreadInputView:_0x3bfb36}=this[_0x43331b(0xa7)],_0x2549eb=new _0x3bfb36(this[_0x43331b(0x80)],this[_0x43331b(0x97)],this[_0x43331b(0xa7)][_0x43331b(0x9c)]),_0xe56657=_0x2549eb[_0x43331b(0x9d)];return _0x2549eb[_0x43331b(0x94)](_0x43331b(0xb7))['to'](this,_0x43331b(0xab),this[_0x43331b(0x86)][_0x43331b(0xaf)],_0x43331b(0x6f),_0xe56657,_0x43331b(0xb1),(_0x47bfd2,_0xf041fa,_0x17f315)=>!!_0x17f315||_0x47bfd2&&!_0xf041fa),_0xe56657['on'](_0x43331b(0x73),(_0x3e4ec0,_0x2c0ede)=>{const _0x412c76=_0x43331b;this[_0x412c76(0x79)](_0x412c76(0x96),_0x2c0ede),_0xe56657[_0x412c76(0xb0)][_0x412c76(0x7d)]('');}),_0xe56657['on'](_0x43331b(0x9b),()=>this[_0x43331b(0x83)]()),_0xe56657[_0x43331b(0x94)](_0x43331b(0x8f))['to'](this[_0x43331b(0x86)][_0x43331b(0xaf)],_0x43331b(0x6f)),_0x2549eb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x45aa(){const _0xb4baed=['commentThreadInputView','render','6bQQbIE','7eMCuCN','commentThread','SuggestionView','4475084wkChlU','ck-suggestion--disabled-comments','acceptButton','_model','editorReady','discardButton','discardSuggestion','ck-suggestion-wrapper','ariaDescriptionView','isActive','253155Hlyowa','15460LnQCha','ck-suggestion-','ariaLabel','disableComments','delegate','editorDestroyed','canDiscard','isEnabled','add','description','descriptionParts','type','getTemplate','push','div','_descriptionElement','color','ck-suggestion-wrapper--active','1200915fmAoui','focusables','author','<p>','bindTemplate','1051371XxIvnw','canAccept','8cOdSWK','suggestionView','listitem','setTemplate','formatDateTime','ck-rounded-corners','content','set','6509394WDJcZo','1079094PcDmFg','bind','_config','acceptSuggestion','</p>','commentsListView','4983UcWsuZ'];_0x45aa=function(){return _0xb4baed;};return _0x45aa();}function _0x2282(_0x207d6f,_0x550d21){const _0x45aade=_0x45aa();return _0x2282=function(_0x228240,_0x2835dc){_0x228240=_0x228240-0x156;let _0x982228=_0x45aade[_0x228240];return _0x982228;},_0x2282(_0x207d6f,_0x550d21);}const _0xce02df=_0x2282;(function(_0x4a05a6,_0xc0430f){const _0x3bead2=_0x2282,_0x47c2d8=_0x4a05a6();while(!![]){try{const _0x363266=parseInt(_0x3bead2(0x17d))/0x1+parseInt(_0x3bead2(0x157))/0x2*(parseInt(_0x3bead2(0x165))/0x3)+parseInt(_0x3bead2(0x15b))/0x4+-parseInt(_0x3bead2(0x178))/0x5+parseInt(_0x3bead2(0x188))/0x6*(-parseInt(_0x3bead2(0x158))/0x7)+parseInt(_0x3bead2(0x17f))/0x8*(-parseInt(_0x3bead2(0x187))/0x9)+parseInt(_0x3bead2(0x166))/0xa*(-parseInt(_0x3bead2(0x18e))/0xb);if(_0x363266===_0xc0430f)break;else _0x47c2d8['push'](_0x47c2d8['shift']());}catch(_0x6989){_0x47c2d8['push'](_0x47c2d8['shift']());}}}(_0x45aa,0x8d84d));import{default as _0x4352fc}from'./basesuggestionthreadview.js';import{trimHtml as _0x14ec72}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5279c7}from'../../utils/utils.js';export default class re extends _0x4352fc{constructor(_0x4a7a58,_0x18fdbe,_0x3f0a1a,_0x286abd){const _0x47b4f4=_0x2282;super(_0x4a7a58,_0x18fdbe,_0x3f0a1a,_0x286abd),this[_0x47b4f4(0x186)](_0x47b4f4(0x171),''),this[_0x47b4f4(0x189)](_0x47b4f4(0x171))['to'](this,_0x47b4f4(0x170),_0x46a6ad=>_0x46a6ad&&_0x46a6ad[0x0]?_0x46a6ad[0x0][_0x47b4f4(0x171)]:''),this[_0x47b4f4(0x189)](_0x47b4f4(0x16f))['to'](this,_0x47b4f4(0x170),this,_0x47b4f4(0x164),(_0x1726b1,_0x46cbdd)=>{const _0x523fd5=_0x47b4f4;let _0x146067='';for(const _0x39e837 of _0x1726b1)_0x146067+=_0x523fd5(0x17b)+_0x5279c7(_0x39e837[_0x523fd5(0x185)],_0x39e837[_0x523fd5(0x176)])+_0x523fd5(0x18c);return _0x46cbdd?_0x146067:_0x14ec72(_0x146067,{'limit':0x8c});}),this[_0x47b4f4(0x175)]=null,this[_0x47b4f4(0x180)]=new _0x286abd[(_0x47b4f4(0x15a))](_0x4a7a58,_0x18fdbe,{'formatDateTime':_0x286abd[_0x47b4f4(0x183)]}),this[_0x47b4f4(0x180)][_0x47b4f4(0x189)](_0x47b4f4(0x16f))['to'](this),this[_0x47b4f4(0x180)][_0x47b4f4(0x16a)](_0x47b4f4(0x18b),_0x47b4f4(0x161))['to'](this),this[_0x47b4f4(0x180)][_0x47b4f4(0x15d)][_0x47b4f4(0x189)](_0x47b4f4(0x16d))['to'](this,_0x47b4f4(0x17e)),this[_0x47b4f4(0x180)][_0x47b4f4(0x160)][_0x47b4f4(0x189)](_0x47b4f4(0x16d))['to'](this,_0x47b4f4(0x16c)),this[_0x47b4f4(0x179)][_0x47b4f4(0x16e)](this[_0x47b4f4(0x180)]),this[_0x47b4f4(0x18d)]&&this[_0x47b4f4(0x179)][_0x47b4f4(0x16e)](this[_0x47b4f4(0x18d)]),this[_0x47b4f4(0x18f)]&&this[_0x47b4f4(0x179)][_0x47b4f4(0x16e)](this[_0x47b4f4(0x18f)]),this[_0x47b4f4(0x182)](this[_0x47b4f4(0x172)]());}[_0xce02df(0x172)](){const _0x28686b=_0xce02df,_0x2d6178=this[_0x28686b(0x17c)],_0x516f7a=[this[_0x28686b(0x180)]];return this[_0x28686b(0x18d)]&&_0x516f7a[_0x28686b(0x173)](this[_0x28686b(0x18d)]),this[_0x28686b(0x18f)]&&_0x516f7a[_0x28686b(0x173)](this[_0x28686b(0x18f)]),_0x516f7a[_0x28686b(0x173)](this[_0x28686b(0x163)]),{'tag':_0x28686b(0x174),'attributes':{'class':['ck',_0x28686b(0x184),_0x28686b(0x162),_0x2d6178['if'](_0x28686b(0x164),_0x28686b(0x177)),_0x2d6178['to'](_0x28686b(0x171),_0x4ed729=>_0x28686b(0x167)+_0x4ed729),this[_0x28686b(0x18a)][_0x28686b(0x169)]&&_0x28686b(0x15c)],'data-suggestion-id':this[_0x28686b(0x15e)]['id'],'data-thread-id':this[_0x28686b(0x15e)][_0x28686b(0x159)]['id'],'data-author-id':this[_0x28686b(0x15e)][_0x28686b(0x17a)]['id'],'tabindex':0x0,'role':_0x28686b(0x181),'aria-label':_0x2d6178['to'](_0x28686b(0x168)),'aria-describedby':this[_0x28686b(0x163)]['id']},'children':_0x516f7a};}[_0xce02df(0x156)](){const _0x1e8405=_0xce02df;super[_0x1e8405(0x156)](),this[_0x1e8405(0x18d)]&&(this[_0x1e8405(0x18d)][_0x1e8405(0x16a)](_0x1e8405(0x15f))['to'](this),this[_0x1e8405(0x18d)][_0x1e8405(0x16a)](_0x1e8405(0x16b))['to'](this)),this[_0x1e8405(0x18f)]&&(this[_0x1e8405(0x18f)][_0x1e8405(0x16a)](_0x1e8405(0x15f))['to'](this),this[_0x1e8405(0x18f)][_0x1e8405(0x16a)](_0x1e8405(0x16b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c5149=_0xd7a7;function _0x1020(){const _0x12466b=['tab','span','acceptSuggestion','formatDateTime','478739oWnyfm','source','3hkbSeZ','focusables','userView','set','EXTERNAL_SUGGESTION','change:description','getExternalSuggestionNote','ck-annotation__info-time','bind','description','@external','querySelector','shift+tab','discardButton','_setupKeyboardNavigation','authoredAt','isExternal','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__info-name','ck-annotation__actions','bindTemplate','enter','focusFirst','9ZljkMF','innerHTML','attributes','231802WDtxwG','Discard\x20suggestion','time','check','140jbzmgj','_createButton','focusTracker','discardSuggestion','ck-annotation__info','getTemplate','listenTo','focusCycler','ck-annotation__content-wrapper','ck-suggestion--discard','.ck-annotation__content-wrapper','ck-suggestion__actions','name','creator','cancel','ck-annotation__info-name','keystrokes','locale','target','fire','push','698764uzPMlu','ck-suggestion','EXTERNAL_AVATAR','ck-suggestion__main','setTemplate','acceptButton','extendTemplate','4949160LEbsZx','ck-suggestion__info','ck-annotation','render','importWord','ck-suggestion--accept','esc','presentation','ck-annotation__user','add','EXTERNAL_IMPORT_WORD_SUGGESTION','Accept\x20suggestion','getUserViewNotificationText','ck-annotation__main','_config','113605qbymkD','2640212jQYEyk','ck-comment__info-time','author','_model','execute','5481350isfsya','ck-comment__external','ck-suggestion__user','focus','66umyeEM','div','element'];_0x1020=function(){return _0x12466b;};return _0x1020();}(function(_0x5ac519,_0x471107){const _0x3dff63=_0xd7a7,_0x4909dd=_0x5ac519();while(!![]){try{const _0x2edfa9=parseInt(_0x3dff63(0x15f))/0x1+-parseInt(_0x3dff63(0x17b))/0x2*(parseInt(_0x3dff63(0x161))/0x3)+-parseInt(_0x3dff63(0x14f))/0x4+-parseInt(_0x3dff63(0x1aa))/0x5*(-parseInt(_0x3dff63(0x158))/0x6)+parseInt(_0x3dff63(0x154))/0x7+parseInt(_0x3dff63(0x19b))/0x8*(parseInt(_0x3dff63(0x178))/0x9)+parseInt(_0x3dff63(0x17f))/0xa*(-parseInt(_0x3dff63(0x194))/0xb);if(_0x2edfa9===_0x471107)break;else _0x4909dd['push'](_0x4909dd['shift']());}catch(_0x1ce68c){_0x4909dd['push'](_0x4909dd['shift']());}}}(_0x1020,0x718b3));import{FocusTracker as _0x4fe97e,KeystrokeHandler as _0xc41fb6}from'ckeditor5/src/utils.js';import{View as _0x4a0b6c,ViewCollection as _0x358c07,FocusCycler as _0x27c314}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3bae0a,UserView as _0x137897}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xd7a7(_0x3045da,_0x4a17ff){const _0x1020fb=_0x1020();return _0xd7a7=function(_0xd7a737,_0x75b148){_0xd7a737=_0xd7a737-0x14f;let _0x241a1a=_0x1020fb[_0xd7a737];return _0x241a1a;},_0xd7a7(_0x3045da,_0x4a17ff);}import{icons as _0x46fe03}from'ckeditor5/src/core.js';import{getTranslation as _0xfbf8d0}from'../../utils/common-translations.js';export default class ce extends _0x4a0b6c{constructor(_0x20b3aa,_0x554094,_0xa7164e){const _0xc33127=_0xd7a7;super(_0x20b3aa),this[_0xc33127(0x152)]=_0x554094,this[_0xc33127(0x1a9)]=_0xa7164e,this[_0xc33127(0x164)](_0xc33127(0x16a),''),this[_0xc33127(0x169)](_0xc33127(0x170))['to'](_0x554094),this[_0xc33127(0x199)]=this[_0xc33127(0x180)](_0xfbf8d0(_0x20b3aa,_0xc33127(0x1a6)),_0x46fe03[_0xc33127(0x17e)],_0xc33127(0x1a0),_0xc33127(0x15d),'sw'),this[_0xc33127(0x16e)]=this[_0xc33127(0x180)](_0xfbf8d0(_0x20b3aa,_0xc33127(0x17c)),_0x46fe03[_0xc33127(0x18d)],_0xc33127(0x188),_0xc33127(0x182),'sw'),this[_0xc33127(0x163)]=new _0x137897(_0x20b3aa,_0x554094[_0xc33127(0x151)],this[_0xc33127(0x1a7)]()),this[_0xc33127(0x163)][_0xc33127(0x19a)]({'attributes':{'class':[_0xc33127(0x156),_0xc33127(0x1a3)],'aria-hidden':!0x0}}),this[_0xc33127(0x162)]=new _0x358c07([this[_0xc33127(0x199)],this[_0xc33127(0x16e)]]),this[_0xc33127(0x181)]=new _0x4fe97e(),this[_0xc33127(0x18f)]=new _0xc41fb6(),this[_0xc33127(0x186)]=new _0x27c314({'focusables':this[_0xc33127(0x162)],'focusTracker':this[_0xc33127(0x181)],'keystrokeHandler':this[_0xc33127(0x18f)],'actions':{'focusPrevious':_0xc33127(0x16d),'focusNext':_0xc33127(0x15b)},'keystrokeHandlerOptions':{'filter':_0x935661=>_0x935661[_0xc33127(0x191)]!==this[_0xc33127(0x15a)]}}),this[_0xc33127(0x198)](this[_0xc33127(0x184)]());}[_0x4c5149(0x19e)](){const _0x186cd1=_0x4c5149;super[_0x186cd1(0x19e)]();const _0x7c819a=this[_0x186cd1(0x15a)][_0x186cd1(0x16c)](_0x186cd1(0x189));_0x7c819a[_0x186cd1(0x179)]=this[_0x186cd1(0x16a)],this['on'](_0x186cd1(0x166),(_0xc41457,_0x408686,_0x238b83)=>{const _0x1124a7=_0x186cd1;_0x7c819a[_0x1124a7(0x179)]=_0x238b83;}),this[_0x186cd1(0x16f)]();}[_0x4c5149(0x184)](){const _0x4f0296=_0x4c5149,_0x36e693=this[_0x4f0296(0x175)],_0x4671eb=[{'tag':_0x4f0296(0x159),'attributes':{'class':[_0x4f0296(0x19c),_0x4f0296(0x183)]},'children':[{'tag':_0x4f0296(0x15c),'children':[{'text':this[_0x4f0296(0x163)][_0x4f0296(0x18b)]}],'attributes':{'class':[_0x4f0296(0x173),_0x4f0296(0x18e)]}},{'tag':_0x4f0296(0x17d),'attributes':{'datetime':_0x36e693['to'](_0x4f0296(0x170)),'class':[_0x4f0296(0x150),_0x4f0296(0x168)]},'children':[{'text':_0x36e693['to'](_0x4f0296(0x170),_0x4fe6df=>this[_0x4f0296(0x1a9)][_0x4f0296(0x15e)](_0x4fe6df))}]}]},{'tag':_0x4f0296(0x159),'attributes':{'class':[_0x4f0296(0x18a),_0x4f0296(0x174)]},'children':[this[_0x4f0296(0x199)],this[_0x4f0296(0x16e)]]},{'tag':_0x4f0296(0x159),'attributes':{'class':[_0x4f0296(0x187)]}}];return this[_0x4f0296(0x152)][_0x4f0296(0x171)]&&_0x4671eb[_0x4f0296(0x193)]({'tag':_0x4f0296(0x159),'attributes':{'class':[_0x4f0296(0x155)]},'children':[{'text':this[_0x4f0296(0x167)]()}]}),{'tag':_0x4f0296(0x159),'attributes':{'class':[_0x4f0296(0x195),_0x4f0296(0x19d)],'tabindex':-0x1},'children':[this[_0x4f0296(0x163)],{'tag':_0x4f0296(0x159),'attributes':{'class':[_0x4f0296(0x197),_0x4f0296(0x1a8)],'role':_0x4f0296(0x1a2)},'children':_0x4671eb}]};}[_0x4c5149(0x157)](){const _0x16ba1c=_0x4c5149;this[_0x16ba1c(0x15a)][_0x16ba1c(0x157)]();}[_0x4c5149(0x1a7)](){const _0x39e394=_0x4c5149;return this[_0x39e394(0x152)][_0x39e394(0x171)]?_0x39e394(0x19f)===this[_0x39e394(0x152)][_0x39e394(0x17a)][_0x39e394(0x16b)][_0x39e394(0x160)]?_0xfbf8d0(this[_0x39e394(0x190)],_0x39e394(0x172),this[_0x39e394(0x152)][_0x39e394(0x18c)][_0x39e394(0x18b)]):_0xfbf8d0(this[_0x39e394(0x190)],_0x39e394(0x196),this[_0x39e394(0x152)][_0x39e394(0x18c)][_0x39e394(0x18b)]):null;}[_0x4c5149(0x167)](){const _0x1653d8=_0x4c5149;return _0x1653d8(0x19f)===this[_0x1653d8(0x152)][_0x1653d8(0x17a)][_0x1653d8(0x16b)][_0x1653d8(0x160)]?_0xfbf8d0(this[_0x1653d8(0x190)],_0x1653d8(0x1a5)):_0xfbf8d0(this[_0x1653d8(0x190)],_0x1653d8(0x165));}[_0x4c5149(0x180)](_0x3118fb,_0x4582be,_0x5dbe82,_0x30aba6,_0x421edd){const _0x987ca0=_0x4c5149,_0xb3a838=new _0x3bae0a(this[_0x987ca0(0x190)]);return _0xb3a838[_0x987ca0(0x164)]({'label':_0x3118fb,'icon':_0x4582be,'tooltip':!0x0,'tooltipPosition':_0x421edd}),_0xb3a838[_0x987ca0(0x19a)]({'attributes':{'class':_0x5dbe82}}),_0xb3a838['on'](_0x987ca0(0x153),()=>{const _0x557669=_0x987ca0;this[_0x557669(0x192)](_0x30aba6,this[_0x557669(0x152)]['id']);}),_0xb3a838;}[_0x4c5149(0x16f)](){const _0x48764b=_0x4c5149,_0x341b73=this[_0x48764b(0x15a)];this[_0x48764b(0x18f)][_0x48764b(0x185)](_0x341b73);for(const _0x5693f8 of this[_0x48764b(0x162)])this[_0x48764b(0x181)][_0x48764b(0x1a4)](_0x5693f8[_0x48764b(0x15a)]),this[_0x48764b(0x18f)][_0x48764b(0x185)](_0x5693f8[_0x48764b(0x15a)]);this[_0x48764b(0x18f)][_0x48764b(0x164)](_0x48764b(0x176),(_0x21bf0d,_0x1176c9)=>{const _0x12ec1d=_0x48764b;_0x341b73===_0x21bf0d[_0x12ec1d(0x191)]&&(this[_0x12ec1d(0x186)][_0x12ec1d(0x177)](),_0x1176c9());}),this[_0x48764b(0x18f)][_0x48764b(0x164)](_0x48764b(0x1a1),(_0xfcb78c,_0x5cfd52)=>{const _0x48f5e9=_0x48764b;_0x341b73!==_0xfcb78c[_0x48f5e9(0x191)]&&(this[_0x48f5e9(0x157)](),_0x5cfd52());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x36e915,_0x5b935f,_0x10c202){const _0x44d2fc=_0x36e915['t'],t=_0x36e915['t'];switch(_0x5b935f){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x10c202);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x10c202);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x10c202);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x10c202);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x10c202);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',_0x10c202);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x10c202);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x10c202);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x10c202);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x10c202);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x10c202);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x10c202);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x10c202);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x10c202);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x10c202);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x10c202);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x10c202);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x10c202);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x10c202);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x10c202);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x10c202);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x10c202);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x10c202);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'},_0x10c202);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x10c202);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x10c202);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x10c202);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x10c202);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x10c202);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'},_0x10c202);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x10c202);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x10c202);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x10c202);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x10c202);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'},_0x10c202);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x10c202);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'},_0x10c202);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x10c202);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x10c202);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'},_0x10c202);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x10c202);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'},_0x10c202);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x10c202);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x10c202);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'},_0x10c202);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 _0x44d2fc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x10c202);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x44d2fc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x10c202);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x10c202);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'},_0x10c202);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'},_0x10c202);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'},_0x10c202);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5b935f;}}
|
|
23
|
+
export function getTranslation(_0x5a3d60,_0x1054b3,_0xcb6fe5){const _0x25d741=_0x5a3d60['t'],t=_0x5a3d60['t'];switch(_0x1054b3){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xcb6fe5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xcb6fe5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xcb6fe5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xcb6fe5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xcb6fe5);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',_0xcb6fe5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xcb6fe5);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xcb6fe5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xcb6fe5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xcb6fe5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xcb6fe5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xcb6fe5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xcb6fe5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xcb6fe5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xcb6fe5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xcb6fe5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xcb6fe5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xcb6fe5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xcb6fe5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xcb6fe5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xcb6fe5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xcb6fe5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xcb6fe5);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'},_0xcb6fe5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xcb6fe5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xcb6fe5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xcb6fe5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xcb6fe5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xcb6fe5);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'},_0xcb6fe5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xcb6fe5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xcb6fe5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xcb6fe5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xcb6fe5);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'},_0xcb6fe5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xcb6fe5);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'},_0xcb6fe5);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xcb6fe5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xcb6fe5);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'},_0xcb6fe5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xcb6fe5);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'},_0xcb6fe5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xcb6fe5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xcb6fe5);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'},_0xcb6fe5);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 _0x25d741({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xcb6fe5);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x25d741({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xcb6fe5);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xcb6fe5);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'},_0xcb6fe5);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'},_0xcb6fe5);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'},_0xcb6fe5);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1054b3;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x459330,_0xba9cc0){const _0x3bff49=_0x25b7,_0x4937d7=_0x459330();while(!![]){try{const _0x5aec71=-parseInt(_0x3bff49(0x184))/0x1+parseInt(_0x3bff49(0x16c))/0x2*(parseInt(_0x3bff49(0x191))/0x3)+parseInt(_0x3bff49(0x16d))/0x4*(parseInt(_0x3bff49(0x176))/0x5)+-parseInt(_0x3bff49(0x177))/0x6+-parseInt(_0x3bff49(0x16f))/0x7+-parseInt(_0x3bff49(0x168))/0x8*(parseInt(_0x3bff49(0x18c))/0x9)+parseInt(_0x3bff49(0x178))/0xa;if(_0x5aec71===_0xba9cc0)break;else _0x4937d7['push'](_0x4937d7['shift']());}catch(_0x2d9a01){_0x4937d7['push'](_0x4937d7['shift']());}}}(_0x356f,0x1a7df));function _0x356f(){const _0x28ed0a=['sort','<span\x20class=\x22ck-suggestion-type\x22>','replace','value','createElement','next','isIntersecting','isCollapsed','content','deletion','join','824rurKPl','isTouching','split','isInContent','46zuNEIA','40sAKEQj','isArray','595924vjushe','createRange','</span>','title','innerText','change','type','33265KDLcWX','524526qTnOjo','2555210KdEgHh','splice','createPositionAfter','from','execute','isObject','push','\x22></span>','end','schema','innerHTML','start','172585VmEOsC','map','\x22\x20title=\x22','\x20[color\x20','color','span','add','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','5445zHGdlx','createPositionAt','getRanges','isMultiRange','createPositionBefore','25293fZmyhf','length'];_0x356f=function(){return _0x28ed0a;};return _0x356f();}export function normalizeDescription(_0x57971d){const _0x42190d=_0x25b7;return Array[_0x42190d(0x16e)](_0x57971d)||(_0x57971d=[_0x57971d]),_0x57971d[_0x42190d(0x185)](_0x202d2e=>{const _0x366d93=_0x42190d,_0x223406=_0x202d2e[_0x366d93(0x19b)][_0x366d93(0x195)](/\*/g,''),_0x3f82e8=_0x202d2e[_0x366d93(0x188)]?_0x366d93(0x187)+_0x202d2e[_0x366d93(0x188)][_0x366d93(0x196)]+']':'';return'['+_0x202d2e[_0x366d93(0x175)]+']\x20'+_0x223406+_0x3f82e8;})[_0x42190d(0x167)](';\x20');}export function renderDescription(_0x52cb7e,_0x288bae){const _0x530ad6=_0x25b7;let _0xae8d9c='';return _0xae8d9c+=_0x52cb7e[_0x530ad6(0x16a)]('*')[_0x530ad6(0x185)]((_0x46b83f,_0x1c3679)=>_0x1c3679%0x2!=0x0?_0x530ad6(0x194)+nn(_0x46b83f)+_0x530ad6(0x171):nn(_0x46b83f))[_0x530ad6(0x167)](''),_0x288bae&&(_0xae8d9c+=_0x530ad6(0x18b)+_0x288bae[_0x530ad6(0x196)]+_0x530ad6(0x186)+_0x288bae[_0x530ad6(0x172)]+_0x530ad6(0x17f)),_0xae8d9c;}function nn(_0x15594b){const _0x758670=_0x25b7,_0x548681=document[_0x758670(0x197)](_0x758670(0x189));return _0x548681[_0x758670(0x173)]=_0x15594b,_0x548681[_0x758670(0x182)];}export function sortSuggestions(_0x47fffe){const _0x2c9eb8=_0x25b7;return _0x47fffe[_0x2c9eb8(0x193)]((_0x449023,_0x4c2df1)=>_0x2c9eb8(0x19c)==_0x449023[_0x2c9eb8(0x175)]&&_0x2c9eb8(0x19c)!=_0x4c2df1[_0x2c9eb8(0x175)]?-0x1:_0x2c9eb8(0x19c)!=_0x449023[_0x2c9eb8(0x175)]&&_0x2c9eb8(0x19c)==_0x4c2df1[_0x2c9eb8(0x175)]?0x1:0x0);}export function getSelectedSuggestions(_0x1189b8,_0x5411b1){const _0x3c4798=_0x25b7,_0x584fe2=Array[_0x3c4798(0x17b)](_0x1189b8[_0x3c4798(0x18e)]()),_0x250f76=new Set();for(const _0x30333d of _0x5411b1)if(_0x30333d[_0x3c4798(0x16b)]){for(const _0x2ab376 of _0x584fe2)for(const _0x30b8f9 of _0x30333d[_0x3c4798(0x18e)]())(_0x2ab376[_0x3c4798(0x199)](_0x30b8f9)||_0x1189b8[_0x3c4798(0x19a)]&&!_0x30333d[_0x3c4798(0x18f)]&&_0x30333d[_0x3c4798(0x198)]&&_0x30b8f9[_0x3c4798(0x180)][_0x3c4798(0x169)](_0x2ab376[_0x3c4798(0x183)]))&&_0x250f76[_0x3c4798(0x18a)](_0x30333d);}return _0x250f76;}export function getRangesOfBlockGroups(_0x4a96ad,_0x3c6d43){const _0x47b298=_0x25b7;let _0x38eda5,_0x1ab25a=0x0;const _0x4190cf=[],_0x1d8723=_0x3c6d43[_0x47b298(0x181)];for(;_0x1ab25a<_0x4a96ad[_0x47b298(0x192)];){const _0x397779=_0x4a96ad[_0x1ab25a],_0x102375=_0x4a96ad[_0x1ab25a+0x1];_0x38eda5||(_0x38eda5=_0x3c6d43[_0x47b298(0x190)](_0x397779)),on(_0x3c6d43,_0x397779,_0x102375)||(_0x4190cf[_0x47b298(0x17e)](_0x3c6d43[_0x47b298(0x170)](_0x38eda5,_0x1d8723[_0x47b298(0x17d)](_0x397779)?_0x3c6d43[_0x47b298(0x17a)](_0x397779):_0x3c6d43[_0x47b298(0x18d)](_0x397779,_0x47b298(0x180)))),_0x38eda5=null),_0x1ab25a++;}return _0x4190cf;}function _0x25b7(_0x174379,_0x54fc18){const _0x356f89=_0x356f();return _0x25b7=function(_0x25b701,_0x19e022){_0x25b701=_0x25b701-0x167;let _0x32d889=_0x356f89[_0x25b701];return _0x32d889;},_0x25b7(_0x174379,_0x54fc18);}function on(_0x403120,_0x266bfa,_0x487506){const _0x26835d=_0x25b7;if(!_0x487506)return!0x1;const _0x7df385=_0x403120[_0x26835d(0x17a)](_0x266bfa),_0xbdb57e=_0x403120[_0x26835d(0x190)](_0x487506);return _0x7df385[_0x26835d(0x169)](_0xbdb57e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x90991c,_0x411281,_0x4398d7){const _0x5a322e=_0x25b7;for(;_0x4398d7[_0x5a322e(0x192)];){const _0x319952=_0x4398d7[_0x5a322e(0x179)](0x0,0x64);_0x90991c[_0x5a322e(0x174)](()=>{const _0x360a01=_0x5a322e;for(const _0x52a797 of _0x319952)_0x52a797[_0x360a01(0x16b)]&&_0x411281[_0x360a01(0x17c)](_0x52a797['id']);});}}
|