@ckeditor/ckeditor5-collaboration-core 47.6.0-alpha.7 → 47.6.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +13 -13
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/footnotes.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tablecellproperties.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/suggestionmarkerutils.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x13b3d9,Editor as _0x16768f,Plugin as _0x15db1c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x91db1e,Collection as _0x11bd0a,uid as _0x560527,toArray as rt,first as _0x1d658b,FocusTracker as _0x409a55,KeystrokeHandler as _0x5c28ed}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3f1a43,IconView as st,ButtonView as ts,DropdownButtonView as _0x9c6d84,FocusCycler as _0xc8ad2c,isViewWithFocusCycler as _0x15781a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x16284a,IconCancel as _0x59d711}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x4a1873}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x4aad14,MoveOperation as _0x1968f8,ModelPosition as _0x267eaf,ModelRange as _0x2cb680,MarkerOperation as _0x2e745c,MergeOperation as _0x374b72,SplitOperation as _0x203be7,RenameOperation as _0x4b2eff,AttributeOperation as _0x5853a3,ModelTreeWalker as _0x35ddcb,ModelText as _0x40ae46}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x166914}from'diff';class C extends _0x13b3d9{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x56ae38,_0x3c4bbc){let _0xeeb088;if(_0x3c4bbc||(_0x3c4bbc=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x3c4bbc?_0xeeb088=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xeeb088=this['context']['editors']['find'](_0x4a924c=>_0x4a924c['config']['get']('collaboration.channelId')==_0x3c4bbc)),!_0xeeb088)throw new _0x91db1e('permissions-set-permissions-invalid-channel-id',null);const _0x66813b=_0xeeb088['plugins'],_0x52a448=_0x66813b['has']('CommentsRepository')?_0x66813b['get']('CommentsRepository'):void 0x0,_0x537a13=_0x66813b['has']('CommentsOnly')&&_0x66813b['get']('CommentsOnly'),_0x4b1412=_0x56ae38['includes']('document:write'),_0x3c6d84=_0x56ae38['includes']('comment:modify_all'),_0x1b916d=_0x56ae38['includes']('comment:admin'),_0x2307c7=_0x56ae38['includes']('comment:write'),_0x189208=_0x2307c7||_0x1b916d,_0x124967=_0x189208||_0x3c6d84,_0x35e9dc=_0x4b1412||_0x189208;(_0x537a13&&(_0x537a13['isEnabled']=!_0x4b1412&&_0x124967),_0xeeb088 instanceof _0x16768f)&&(!(_0x4b1412||_0x124967&&_0x52a448)?_0xeeb088['enableReadOnlyMode']('no-permissions'):_0xeeb088['disableReadOnlyMode']('no-permissions'));if(_0x52a448){_0x52a448['setPermissions']({'admin':_0x1b916d,'modifyAll':_0x3c6d84,'write':_0x2307c7,'resolve':_0x35e9dc},_0x3c4bbc);const _0x1976fa=_0xeeb088 instanceof _0x16768f&&_0xeeb088['commands']['get']('addCommentThread');_0x1976fa&&(_0x189208?_0x1976fa['clearForceDisabled']('noPermissions'):_0x1976fa['forceDisabled']('noPermissions'));}}}function U(_0x1ddb0f,_0x59c8a9){const t=_0x1ddb0f['t'];switch(_0x59c8a9){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class ct extends _0x13b3d9{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x9ced2b){super(_0x9ced2b),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x11bd0a(),this['_locale']=_0x9ced2b['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x64086a,name:_0x1fa738,..._0x46d0c5}){if(!_0x64086a||'string'!=typeof _0x64086a)throw new _0x91db1e('users-add-invalid-id');if(this['users']['has'](_0x64086a))throw new _0x91db1e('users-add-duplicated-id',null,{'id':_0x64086a});const _0x4cd32e=this['context']['config']['get']('users.getInitialsCallback'),_0x3b2fa5={..._0x46d0c5,'id':_0x64086a,'name':A(this['_locale'],_0x1fa738),'color':this['_getNextColor']()};_0x3b2fa5['name']=A(this['_locale'],_0x3b2fa5['name']);const _0x4f1422=new lt(_0x3b2fa5,_0x4cd32e);return this['users']['add'](_0x4f1422),_0x4f1422;}['getUser'](_0x17e800){return this['users']['get'](_0x17e800);}['useAnonymousUser'](){const _0x3edb13=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3edb13);}['defineMe'](_0x432364){if(this['_myId'])throw new _0x91db1e('users-me-already-defined',null);const _0x27fa77=this['getUser'](_0x432364);if(!_0x27fa77)throw new _0x91db1e('users-me-missing-user',null);this['_myId']=_0x432364,_0x27fa77['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0xffac78=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xffac78&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4aa475=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4aa475,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0xedaf2b,_0x43bea3){this['id']=_0xedaf2b['id'],this['color']=_0xedaf2b['color'],this['name']=_0xedaf2b['name'],this['initials']=_0x43bea3?_0x43bea3(this['name']):this['_computeInitials'](),this['avatar']=_0xedaf2b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5046cd=this['name']['split']('\x20')['filter'](_0x1410f5=>/^[\p{Letter}]/u['test'](_0x1410f5));return 0x1===_0x5046cd['length']?this['_getInitial'](_0x5046cd[0x0]):0x0===_0x5046cd['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5046cd[0x0])+this['_getInitial'](_0x5046cd[_0x5046cd['length']-0x1]);}['_getInitial'](_0x4de91e){return String['fromCodePoint'](_0x4de91e['codePointAt'](0x0))['toUpperCase']();}}function A(_0x677d2e,_0xead9d9=''){return''==(_0xead9d9=_0xead9d9['trim']())?U(_0x677d2e,'Anonymous'):_0xead9d9;}class ut{['_id'];constructor(_0xa30400){this['_id']=_0xa30400;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0x3f1a43{['name'];['notificationView'];constructor(_0x5720f9,_0x16c0e3,_0x14684b){super(_0x5720f9),this['name']=_0x16c0e3['name'],this['notificationView']=null;const _0x3f4cdb=['ck','ck-user'],_0x55c244=['ck','ck-user__img'];if(_0x16c0e3['isAnonymous']&&_0x55c244['push']('ck-user__anonymous'),!_0x16c0e3['isAnonymous']&&_0x16c0e3['isMe']&&_0x3f4cdb['push']('ck-user_me'),_0x16c0e3['avatar']&&_0x55c244['push']('ck-user__avatar'),_0x14684b){const _0x3566ab=new st();_0x3566ab['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3566ab['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x14684b},'children':[_0x3566ab]};}const _0x1a2158=[{'tag':'div','attributes':{'class':_0x55c244,'style':{'background-image':_0x16c0e3['avatar']?'url(\x27'+_0x16c0e3['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x16c0e3['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x16c0e3['name']},'children':[{'text':_0x16c0e3['initials']}]}];this['notificationView']&&_0x1a2158['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x3f4cdb,'data-user-id':_0x16c0e3['id']},'children':_0x1a2158});}}class dt extends _0x3f1a43{['id'];constructor(_0x5bd8e4,_0x4cfe2c){super(_0x5bd8e4),this['id']='ck-aria-description-'+_0x560527(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x4cfe2c}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x9c6d84{['render'](){super['render'](),re(this);}}function re(_0x228117){_0x228117['listenTo'](_0x228117['element'],'mousedown',(_0x60a7fd,_0x21d4ee)=>{_0x21d4ee['stopPropagation'](),_0x21d4ee['preventDefault']();}),_0x228117['listenTo'](_0x228117['element'],'mouseup',()=>{_0x228117['element']['focus']();});}function v(_0x2e56bf){const _0x2f6387=_0x2e56bf['split'](':');return{'group':_0x2f6387[0x0],'type':_0x2f6387[0x1],'subType':_0x2f6387['length']>=0x5?_0x2f6387[0x2]:null,'id':_0x2f6387['length']<0x5?_0x2f6387[0x2]:_0x2f6387[0x3],'authorId':_0x2f6387['length']<0x5?_0x2f6387[0x3]:_0x2f6387[0x4],'markerCount':0x6==_0x2f6387['length']?_0x2f6387[0x5]:null};}function mt(_0xb38811,_0x4c4af4){const _0x363b22=_0xb38811['end']['nodeBefore'];if(_0x363b22&&_0x363b22['is']('element')&&_0x4c4af4['schema']['isBlock'](_0x363b22)&&!_0x4c4af4['schema']['isObject'](_0x363b22)){const _0x5c7e96=_0x4c4af4['createPositionAt'](_0x363b22,'end');return _0x4c4af4['createRange'](_0xb38811['start'],_0x5c7e96);}return _0xb38811;}class M extends _0x15db1c{['afterInit'](){const _0x224e6a=this['editor'];if(!_0x224e6a['plugins']['has']('AlignmentEditing'))return;_0x224e6a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x15db1c{['afterInit'](){const _0x350574=this['editor'],_0x1f7182=_0x350574['plugins']['get']('SuggestionsConversion');for(const _0xf73505 of ii){if(!_0x350574['plugins']['has'](_0xf73505))continue;const _0x41e6fc=_0xf73505['slice'](0x0,-0x7)['toLowerCase']();_0x1f7182['registerInlineAttribute'](_0x41e6fc);}}}class I extends _0x15db1c{['afterInit'](){const _0x3e47a8=this['editor'],_0x34638b=_0x3e47a8['plugins']['get']('SuggestionsConversion');_0x3e47a8['plugins']['has']('BookmarkEditing')&&_0x34638b['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x15db1c{['afterInit'](){const _0x3a3a06=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x367a85,commandName:_0x2b4036}of no)this['editor']['plugins']['has'](_0x367a85)&&_0x3a3a06['registerInlineAttribute'](_0x2b4036);}}class T extends _0x15db1c{['afterInit'](){const {editor:_0x40705d}=this;if(!_0x40705d['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x6d6ec4=_0x40705d['plugins']['get']('SuggestionsConversion');_0x6d6ec4['registerBlockAttribute']('footnotesListStyle'),_0x6d6ec4['registerBlockAttribute']('footnotesListStart');}}class E extends _0x15db1c{['afterInit'](){const _0x433c1d=this['editor'];if(!_0x433c1d['plugins']['has']('HighlightEditing'))return;_0x433c1d['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x15db1c{['afterInit'](){const _0x4f9104=this['editor'];if(!_0x4f9104['plugins']['has']('HtmlEmbed'))return;_0x4f9104['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x15db1c{['afterInit'](){const _0x138cd9=this['editor'];if(!_0x138cd9['plugins']['has']('ImageEditing'))return;const _0x1183ca=_0x138cd9['plugins']['get']('SuggestionsConversion');_0x1183ca['registerBlockAttribute']('src'),_0x138cd9['plugins']['has']('ImageResize')&&_0x1183ca['registerBlockAttribute']('resizedWidth'),_0x138cd9['plugins']['has']('ImageTextAlternativeEditing')&&_0x1183ca['registerBlockAttribute']('alt'),_0x138cd9['plugins']['has']('PictureEditing')&&_0x1183ca['registerBlockAttribute']('sources'),_0x138cd9['plugins']['has']('ImageSizeAttributes')&&(_0x1183ca['registerBlockAttribute']('width'),_0x1183ca['registerBlockAttribute']('height'));}}class x extends _0x15db1c{['afterInit'](){const _0xa8536a=this['editor'],_0x4cf178=_0xa8536a['plugins']['get']('SuggestionsConversion');_0xa8536a['plugins']['has']('IndentBlock')&&(_0x4cf178['registerBlockAttribute']('blockIndent'),_0xa8536a['plugins']['has']('ListEditing')&&(_0x4cf178['registerBlockAttribute']('blockIndentList'),_0x4cf178['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x15db1c{['afterInit'](){const _0x40ac9e=this['editor'];if(!_0x40ac9e['plugins']['has']('LineHeight'))return;_0x40ac9e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x15db1c{['afterInit'](){const _0x1660ae=this['editor'];if(!_0x1660ae['plugins']['has']('LinkEditing'))return;const _0x5c7ac1=_0x1660ae['plugins']['get']('SuggestionsConversion'),_0x3d22a7=_0x1660ae['commands']['get']('link');_0x5c7ac1['registerInlineAttribute']('linkHref');for(const _0x3719b6 of _0x3d22a7['manualDecorators'])_0x5c7ac1['registerInlineAttribute'](_0x3719b6['id']);}}class P extends _0x15db1c{['afterInit'](){const _0x1ac9c5=this['editor'];if(!_0x1ac9c5['plugins']['has']('ListEditing'))return;const _0x169628=_0x1ac9c5['plugins']['get']('SuggestionsConversion'),_0x10bd9b=_0x1ac9c5['plugins']['has']('TodoListEditing');_0x169628['registerBlockAttribute']('listItemId'),_0x169628['registerBlockAttribute']('listType'),_0x169628['registerBlockAttribute']('listIndent'),_0x10bd9b&&_0x169628['registerBlockAttribute']('todoListChecked');}}class K extends _0x15db1c{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1c53b2=this['editor']['config']['get']('list.properties'),_0x4382e1=this['editor']['plugins']['get']('SuggestionsConversion');_0x1c53b2['styles']&&_0x4382e1['registerBlockAttribute']('listStyle'),_0x1c53b2['reversed']&&_0x4382e1['registerBlockAttribute']('listReversed'),_0x1c53b2['startIndex']&&_0x4382e1['registerBlockAttribute']('listStart');}}class q extends _0x15db1c{['afterInit'](){const _0x4da266=this['editor'],_0x34c279=_0x4da266['plugins']['get']('SuggestionsConversion');_0x4da266['plugins']['has']('MultiLevelList')&&_0x34c279['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x15db1c{['afterInit'](){const _0x19518f=this['editor'];if(!_0x19518f['plugins']['has']('Style')||!_0x19518f['plugins']['has']('DataSchema')||!_0x19518f['config']['get']('style.definitions'))return;const _0x1c4a11=_0x19518f['plugins']['get']('SuggestionsConversion'),_0x456a8a=_0x19518f['config']['get']('style.definitions'),_0x220d11=_0x19518f['plugins']['get']('GeneralHtmlSupport'),_0x1d1667=_0x19518f['plugins']['get']('StyleUtils')['normalizeConfig'](_0x19518f['plugins']['get']('DataSchema'),_0x456a8a),_0x3a72fd=new Set();for(const _0x3af9b9 of _0x1d1667['block']){const _0x509d95=_0x220d11['getGhsAttributeNameForElement'](_0x3af9b9['element']);_0x3a72fd['add'](_0x509d95);}const _0x3d4fbc=new Set();for(const _0x44f85c of _0x1d1667['inline']){const _0x37e538=_0x220d11['getGhsAttributeNameForElement'](_0x44f85c['element']);_0x3d4fbc['add'](_0x37e538);for(const _0x160245 of _0x44f85c['ghsAttributes'])_0x3d4fbc['add'](_0x160245);}for(const _0x357ac2 of _0x3a72fd)_0x1c4a11['registerBlockAttribute'](_0x357ac2);for(const _0x5cad65 of _0x3d4fbc)_0x1c4a11['registerInlineAttribute'](_0x5cad65);}}class O extends _0x15db1c{['afterInit'](){const _0x21ecd5=this['editor'];if(!_0x21ecd5['plugins']['has']('TableEditing'))return;const _0x30fd27=_0x21ecd5['plugins']['get']('SuggestionsConversion');_0x30fd27['registerBlockAttribute']('headingRows'),_0x30fd27['registerBlockAttribute']('headingColumns');}}class R extends _0x15db1c{['afterInit'](){const {plugins:_0x2081aa}=this['editor'];if(!_0x2081aa['has']('TablePropertiesEditing'))return;const _0x6a56ef=_0x2081aa['get']('SuggestionsConversion'),_0x36ccbb=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x32e425 of _0x36ccbb)_0x6a56ef['registerBlockAttribute'](_0x32e425);}}class F extends _0x15db1c{['afterInit'](){const _0x20a709=this['editor'],_0x3b4ccc=_0x20a709['plugins']['get']('SuggestionsConversion');_0x20a709['plugins']['has']('TableLayout')&&_0x3b4ccc['registerBlockAttribute']('tableType');}}class G extends _0x15db1c{['afterInit'](){const _0x2d0ea3=this['editor'],_0x68a7b6=this['editor']['plugins']['get']('SuggestionsConversion');_0x2d0ea3['plugins']['has']('Uploadcare')&&_0x2d0ea3['plugins']['has']('UploadcareImageEdit')&&_0x68a7b6['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x15db1c{['afterInit'](){const _0x45c8d0=this['editor'];if(!_0x45c8d0['plugins']['has']('ShiftEnter'))return;const _0x16e793=_0x45c8d0['plugins']['get']('SuggestionsConversion'),_0x2d3efe=(_0x371206,_0x38263c,_0x459d23,_0x56f0f6)=>{if(_0x56f0f6&&!_0x459d23['options']['showSuggestionHighlights'])return;if(!_0x459d23['consumable']['test'](_0x38263c['markerRange'],_0x371206['name']))return;const _0xa3c892=_0x45c8d0['model'];for(const _0xb42236 of _0x38263c['markerRange']['getItems']()){if(!_0xb42236['is']('element','softBreak'))continue;const _0x49701c='deletion'==_0x38263c['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x27b486,authorId:_0x4c8bce}=v(_0x38263c['markerName']),_0x4f91d4=_0x459d23['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x49701c,'data-suggestion':_0x27b486,'data-author-id':_0x4c8bce}),_0x2197f1=_0x459d23['mapper']['toViewPosition'](_0xa3c892['createPositionBefore'](_0xb42236));!_0x56f0f6&&_0x16e793['_activeMarkers']['includes'](_0x38263c['markerName'])&&_0x459d23['writer']['addClass']('ck-suggestion-marker--active',_0x4f91d4),_0x459d23['writer']['insert'](_0x2197f1,_0x4f91d4),_0x459d23['mapper']['bindElementToMarker'](_0x4f91d4,_0x38263c['markerName']);}};_0x45c8d0['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x26fb1b,_0x152f45,_0x26b801)=>{_0x2d3efe(_0x26fb1b,_0x152f45,_0x26b801,!0x1);},{'priority':'high'}),_0x45c8d0['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1d2c4b,_0x1f61bf,_0x317d51)=>{_0x2d3efe(_0x1d2c4b,_0x1f61bf,_0x317d51,!0x0);},{'priority':'high'});}}class L extends _0x15db1c{['afterInit'](){const _0x466296=this['editor'];_0x466296['plugins']['has']('MediaEmbedEditing')&&(_0x466296['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x38a25a,{writer:_0x55b372,options:_0x3d8999})=>{if(_0x3d8999['showSuggestionHighlights'])return _0x55b372['createEmptyElement']('div');},'converterPriority':'high'}),_0x466296['data']['downcastDispatcher']['on']('attribute:url:media',(_0x1bdac0,_0x306011,_0x580f48)=>{_0x580f48['options']['showSuggestionHighlights']&&_0x1bdac0['stop']();},{'priority':'high'}));}}class Q extends _0x15db1c{['afterInit'](){const _0x4e4849=this['editor'];if(!_0x4e4849['plugins']['has']('Table'))return;_0x4e4849['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4ccfd4,_0x2a0464,_0x1dc50e)=>{((_0xb34a64,_0x3163b3,_0x13f8b4)=>{if(!_0x13f8b4['options']['showSuggestionHighlights'])return;const _0x513e9b=_0x3163b3['item'];if(!_0x513e9b||!_0x513e9b['is']('element','tableCell'))return;const _0x1684a5=_0x13f8b4['mapper']['toViewElement'](_0x513e9b);if(_0x1684a5){const {id:_0x1ccb13,authorId:_0x151496}=v(_0x3163b3['markerName']);at(_0x1684a5,_0x13f8b4['writer'],(_0x15d9e1,_0x35e8eb,_0x2f344c)=>{_0x2f344c['addClass'](rt(_0x35e8eb['classes']),_0x15d9e1),_0x2f344c['setAttribute']('data-suggestion-id',_0x1ccb13,_0x15d9e1),_0x2f344c['setAttribute']('data-author-id',_0x151496,_0x15d9e1);});}})(0x0,_0x2a0464,_0x1dc50e);},{'priority':'highest'});}}class V extends _0x15db1c{['afterInit'](){const _0x190490=this['editor'];_0x190490['plugins']['has']('HorizontalLineEditing')&&_0x190490['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x26f071,{writer:_0x30fb25,options:_0x4cb033})=>{if(!_0x4cb033['showSuggestionHighlights'])return null;const _0x39dff9=_0x30fb25['createContainerElement']('div'),_0x18316f=_0x30fb25['createEmptyElement']('hr');return _0x30fb25['addClass']('ck-horizontal-line',_0x39dff9),_0x30fb25['insert'](_0x30fb25['createPositionAt'](_0x39dff9,0x0),_0x18316f),_0x39dff9;},'converterPriority':'high'});}}class W extends _0x15db1c{['afterInit'](){const {plugins:_0x13a307,model:_0x5209d6}=this['editor'];if(!_0x13a307['has']('TableCellPropertiesEditing'))return;const _0x21ab12=_0x13a307['get']('SuggestionsConversion'),_0x4465d1=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x37e471 of _0x4465d1)_0x21ab12['registerBlockAttribute'](_0x37e471);_0x5209d6['schema']['checkAttribute']('tableCell','tableCellType')&&_0x21ab12['registerBlockAttribute']('tableCellType');}}class kt extends _0x15db1c{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xa958e3=this['editor'],_0x3808cb=(_0x33f222,_0x418184,_0x4971eb)=>{const {id:_0x3a8ed6,authorId:_0x101c92,type:_0x1026a2,subType:_0x564eea}=v(_0x33f222['markerName']),_0x4d283f=['ck-suggestion-marker',this['_getClassName'](_0x1026a2,_0x564eea)];let _0x487aa5=0xbb8;return!_0x4971eb&&(this['_activeMarkers']['includes'](_0x33f222['markerName'])&&(_0x4d283f['push']('ck-suggestion-marker--active'),_0x487aa5=0xbc2)),('deletion'==_0x1026a2&&(_0x487aa5+=0x5),{'classes':_0x4d283f,'attributes':{'data-suggestion':_0x3a8ed6,'data-author-id':_0x101c92},'priority':_0x487aa5});};_0xa958e3['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2a10af,_0x4f14fb)=>_0x3808cb(_0x2a10af,0x0,!0x1)}),_0xa958e3['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x350d9b,_0x1eb565)=>_0x3808cb(_0x350d9b,0x0,!0x0)}),_0xa958e3['conversion']['for']('dataDowncast')['add'](_0x25d991=>{_0x25d991['on']('addMarker:suggestion',(_0x3ff112,_0x5f4c88,_0x4865a4)=>{if(!_0x4865a4['options']['showSuggestionHighlights'])return;const _0x4ced2b=_0x5f4c88['item'];if(!_0x4ced2b)return;const _0x167395=_0x4865a4['mapper']['toViewElement'](_0x4ced2b);_0xa958e3['model']['schema']['isObject'](_0x4ced2b)&&_0x167395&&!_0x167395['getCustomProperty']('widget')&&_0x167395['is']('containerElement')&&_0x4a1873(_0x167395,_0x4865a4['writer']);},{'priority':'high'});});const _0x23c223=(_0x24c782,_0x2cc99c,_0xb2130c,_0x268dcd,_0x2737a3)=>{if(_0x268dcd&&!_0xb2130c['options']['showSuggestionHighlights'])return;if(!_0x2cc99c['item'])return;const {id:_0x3b766f,authorId:_0x508572,subType:_0xa7f9cc}=v(_0x2cc99c['markerName']);if(_0x2737a3){const _0x4e2bd4=_0xa7f9cc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4e2bd4))return;}if(_0x2cc99c['item']['is']('selection'))return void _0xb2130c['consumable']['consume'](_0x2cc99c['item'],_0x24c782['name']);const _0x408f33=_0xb2130c['mapper']['toViewElement'](_0x2cc99c['item']);if(_0x2cc99c['item']['is']('element')&&_0xa958e3['model']['schema']['isBlock'](_0x2cc99c['item'])&&!_0x408f33['getCustomProperty']('addHighlight')){_0xb2130c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x408f33),_0xb2130c['writer']['setAttribute']('data-suggestion',_0x3b766f,_0x408f33),_0xb2130c['writer']['setAttribute']('data-author-id',_0x508572,_0x408f33),_0xb2130c['mapper']['bindElementToMarker'](_0x408f33,_0x2cc99c['markerName']),_0x268dcd||(this['_activeMarkers']['includes'](_0x2cc99c['markerName'])?_0xb2130c['writer']['addClass']('ck-suggestion-marker--active',_0x408f33):_0xb2130c['writer']['removeClass']('ck-suggestion-marker--active',_0x408f33));for(const _0x8e22cc of _0xa958e3['model']['createRangeIn'](_0x2cc99c['item'])['getItems']())_0xb2130c['consumable']['consume'](_0x8e22cc,_0x24c782['name']);_0xb2130c['consumable']['consume'](_0x2cc99c['item'],_0x24c782['name']);}},_0x23bf4a=(_0x319754,_0x4f637e,_0x5266f8,_0x30054e)=>{const _0x21b7ff=_0x5266f8['mapper']['markerNameToElements'](_0x4f637e['markerName']);if(_0x21b7ff){if(_0x30054e){const {subType:_0x559979}=v(_0x4f637e['markerName']),_0x6a87fa=_0x559979['split']('|')[0x0];if(!this['isBlockAttribute'](_0x6a87fa))return;}for(const _0x5c9af0 of _0x21b7ff)_0x5c9af0['getCustomProperty']('addHighlight')||(_0x5266f8['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5c9af0),_0x5266f8['writer']['removeAttribute']('data-suggestion',_0x5c9af0),_0x5266f8['writer']['removeAttribute']('data-author-id',_0x5c9af0),_0x5266f8['mapper']['unbindElementFromMarkerName'](_0x5c9af0,_0x4f637e['markerName']));}};_0xa958e3['conversion']['for']('editingDowncast')['add'](_0x113313=>{_0x113313['on']('addMarker:suggestion:formatBlock',(_0x31d05d,_0x6d36d4,_0xbfce7f)=>{_0x23c223(_0x31d05d,_0x6d36d4,_0xbfce7f,!0x1,!0x1);},{'priority':'high'});}),_0xa958e3['conversion']['for']('editingDowncast')['add'](_0x351e71=>{_0x351e71['on']('addMarker:suggestion:attribute',(_0x5cc456,_0x59b223,_0xa5c7a2)=>{_0x23c223(_0x5cc456,_0x59b223,_0xa5c7a2,!0x1,!0x0);},{'priority':'high'});}),_0xa958e3['conversion']['for']('editingDowncast')['add'](_0x43a041=>{_0x43a041['on']('removeMarker:suggestion:formatBlock',(_0x17e9c2,_0x3776d7,_0x2b9718)=>{_0x23bf4a(0x0,_0x3776d7,_0x2b9718,!0x1);},{'priority':'high'});}),_0xa958e3['conversion']['for']('editingDowncast')['add'](_0x19c454=>{_0x19c454['on']('removeMarker:suggestion:attribute',(_0x2cb7f6,_0x473743,_0xe1eb61)=>{_0x23bf4a(0x0,_0x473743,_0xe1eb61,!0x0);},{'priority':'high'});}),_0xa958e3['conversion']['for']('dataDowncast')['add'](_0x4bf35b=>{_0x4bf35b['on']('addMarker:suggestion:formatBlock',(_0x3081a3,_0xdc0e6e,_0x225466)=>{_0x23c223(_0x3081a3,_0xdc0e6e,_0x225466,!0x0,!0x1);},{'priority':'highest'});}),_0xa958e3['conversion']['for']('dataDowncast')['add'](_0xef06b0=>{_0xef06b0['on']('addMarker:suggestion:attribute',(_0x31d644,_0x417b67,_0x9ba681)=>{_0x23c223(_0x31d644,_0x417b67,_0x9ba681,!0x0,!0x0);},{'priority':'highest'});}),_0xa958e3['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x162a48,_0x40f57b)=>{if(_0x40f57b['options']['showSuggestionHighlights']){const {id:_0x5c449d,authorId:_0x2391dd}=v(_0x162a48);return _0x162a48['includes'](':split')||_0x162a48['includes'](':merge')?{'group':'suggestion','name':_0x162a48['substr'](0xb),'attributes':{'data-suggestion':_0x5c449d,'data-author-id':_0x2391dd}}:null;}return{'group':'suggestion','name':_0x162a48['substr'](0xb)};}});const _0x59aa01=(_0x235645,_0x45625e,_0x364379,_0x5a4ed0,_0x32f89f)=>{if(_0x5a4ed0&&!_0x364379['options']['showSuggestionHighlights'])return;if(!_0x364379['consumable']['test'](_0x45625e['markerRange'],_0x235645['name']))return;const _0x3540b0=this['_activeMarkers'],_0x338f56=_0x45625e['markerRange']['getWalker'](),_0x31c90f=_0x45625e['markerRange']['start'],_0x25d0c6=_0xa958e3['model']['schema'];let _0x295763=null,_0x49f87d=null,_0x473cb7=!0x1,_0x4df5e1=!0x1;for(const _0x548877 of _0x338f56){const _0x182170=_0x548877['item'];_0x473cb7=_0x473cb7||_0x25d0c6['isContent'](_0x182170);const _0x3b3411=_0x364379['mapper']['toViewElement'](_0x182170);if(_0x3b3411&&_0x3b3411['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x548877['type']&&(_0x25d0c6['isBlock'](_0x182170)&&!_0x25d0c6['isLimit'](_0x182170)&&(_0x182170['nextSibling']||_0x31c90f['isAtEnd']?_0x295763&&_0x295763['parent']==_0x182170||(_0x295763=_0x182170,_0x1e44af(_0x548877['previousPosition']),_0x4df5e1=!0x0):_0x49f87d=_0x49f87d||_0x548877['previousPosition']));}function _0x1e44af(_0x660661){const {id:_0x89cd45,authorId:_0x5c49d8}=v(_0x45625e['markerName']),_0x189b89=_0x364379['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x32f89f,'data-suggestion':_0x89cd45,'data-author-id':_0x5c49d8}),_0x30ecee=_0x364379['mapper']['toViewPosition'](_0x660661);!_0x5a4ed0&&_0x3540b0['includes'](_0x45625e['markerName'])&&_0x364379['writer']['addClass']('ck-suggestion-marker--active',_0x189b89),_0x364379['writer']['insert'](_0x30ecee,_0x189b89),_0x364379['mapper']['bindElementToMarker'](_0x189b89,_0x45625e['markerName']);}_0x473cb7||_0x4df5e1||!_0x49f87d||_0x1e44af(_0x49f87d);};_0xa958e3['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x22a66b,_0x5193ca,_0x38c74a)=>{_0x59aa01(_0x22a66b,_0x5193ca,_0x38c74a,!0x1,'merge');},{'priority':'high'}),_0xa958e3['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x155f13,_0x595566,_0x4bc760)=>{_0x59aa01(_0x155f13,_0x595566,_0x4bc760,!0x0,'merge');},{'priority':'high'}),_0xa958e3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5e36fb,_0x5118e8,_0xdf3869)=>{_0x59aa01(_0x5e36fb,_0x5118e8,_0xdf3869,!0x1,'split');},{'priority':'high'}),_0xa958e3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4ebc45,_0x820737,_0x31baf6)=>{_0x59aa01(_0x4ebc45,_0x820737,_0x31baf6,!0x0,'split');},{'priority':'high'}),_0xa958e3['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4e22e4,_0x15f140,_0x6fd5e8)=>{((_0x51b755,_0x4dba78,_0x5bccf4)=>{const _0x3cdaf9=_0x5bccf4['mapper']['markerNameToElements'](_0x4dba78['markerName']);if(_0x3cdaf9){for(const _0x2b792c of _0x3cdaf9)(_0x2b792c['hasClass']('ck-suggestion-marker-split')||_0x2b792c['hasClass']('ck-suggestion-marker-merge'))&&(_0x5bccf4['mapper']['unbindElementFromMarkerName'](_0x2b792c,_0x4dba78['markerName']),_0x5bccf4['writer']['remove'](_0x2b792c));}})(0x0,_0x15f140,_0x6fd5e8);},{'priority':'high'});const _0x44c7da=(_0x215223,_0x54ee12,_0x36da79,_0x148e22)=>{if(_0x148e22&&!_0x36da79['options']['showSuggestionHighlights'])return;const _0x18a688=_0x54ee12['markerRange']['start'],_0x4fff87=_0x54ee12['markerRange']['end'],_0x18fc25=_0xa958e3['model']['schema'];if(!_0x18a688['isTouching'](_0x4fff87)||!_0x18a688['nodeAfter'])return;const _0x222253=_0x18a688['nodeAfter'];if(_0x18fc25['isBlock'](_0x222253)&&!_0x18fc25['isLimit'](_0x222253)&&_0x18fc25['checkChild'](_0x222253,'$text')){if(!_0x36da79['consumable']['consume'](_0x54ee12['markerRange'],_0x215223['name']))return;const {id:_0x4574c8,authorId:_0x2118e7}=v(_0x54ee12['markerName']),_0x4bde2a=_0x36da79['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4574c8,'data-author-id':_0x2118e7}),_0x2b07a9=_0x36da79['mapper']['toViewPosition'](_0x4fff87);!_0x148e22&&this['_activeMarkers']['includes'](_0x54ee12['markerName'])&&_0x36da79['writer']['addClass']('ck-suggestion-marker--active',_0x4bde2a),_0x36da79['writer']['insert'](_0x2b07a9,_0x4bde2a),_0x36da79['mapper']['bindElementToMarker'](_0x4bde2a,_0x54ee12['markerName']);}};_0xa958e3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x524ff3,_0x4875c4,_0xa2b058)=>{_0x44c7da(_0x524ff3,_0x4875c4,_0xa2b058,!0x1);},{'priority':'high'}),_0xa958e3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12deb5,_0x3c5ee5,_0x2e3252)=>{_0x44c7da(_0x12deb5,_0x3c5ee5,_0x2e3252,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x5422e2,_0x384141,_0x41ed9a)=>{this['_activeMarkers']=_0x41ed9a['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x3e4807){this['_blockAttributeKeys']['add'](_0x3e4807);}['registerInlineAttribute'](_0x4ee34f){this['_inlineAttributeKeys']['add'](_0x4ee34f);}['isBlockAttribute'](_0x358985){return this['_blockAttributeKeys']['has'](_0x358985);}['isInlineAttribute'](_0x3fba32){return this['_inlineAttributeKeys']['has'](_0x3fba32);}['isRegisteredAttribute'](_0x41d748){return this['isInlineAttribute'](_0x41d748)||this['isBlockAttribute'](_0x41d748);}['_getClassName'](_0x3b2d45,_0x5c6d98){if('attribute'!=_0x3b2d45)return'ck-suggestion-marker-'+_0x3b2d45;const _0x5a2830=_0x5c6d98['split']('|')[0x0];return this['isBlockAttribute'](_0x5a2830)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x4d775e={},_0x122d7e){if(void 0x0!==_0x4d775e['dateTimeFormat']&&'function'!=typeof _0x4d775e['dateTimeFormat'])throw new _0x91db1e('invalid-date-time-format');return _0x58c43b=>{const _0x5301d3='string'==typeof _0x58c43b?tt['fromISO'](_0x58c43b):tt['fromJSDate'](_0x58c43b),_0x1e10f1=tt['now'](),_0x2eb375=Math['floor'](_0x1e10f1['diff'](_0x5301d3,'days')['days']);return _0x4d775e['dateTimeFormat']?_0x4d775e['dateTimeFormat'](_0x5301d3['toJSDate'](),_0x122d7e&&_0x122d7e['t']?_0x122d7e['t']:void 0x0):0x0===_0x2eb375?_0x122d7e?U(_0x122d7e,'Today')+'\x20'+_0x5301d3['toFormat']('hh:mma'):_0x5301d3['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x2eb375?_0x122d7e?U(_0x122d7e,'Yesterday')+'\x20'+_0x5301d3['toFormat']('hh:mma'):_0x5301d3['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x2eb375<0x7?_0x122d7e?U(_0x122d7e,'Last')+'\x20'+U(_0x122d7e,_0x5301d3['toFormat']('EEEE'))+'\x20'+_0x5301d3['toFormat']('hh:mma'):_0x5301d3['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x5301d3['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x5e7b83,_0xde30f4){const _0x1c48b0=_0x5e7b83['mapper']['markerNameToElements'](_0xde30f4['name']);if(!_0x1c48b0)return null;const _0x1532b1=_0x1d658b(_0x1c48b0['values']());return _0x5e7b83['view']['domConverter']['mapViewToDom'](_0x1532b1)||null;}function wt(_0x40b770,_0x173024){if(0x0===_0x173024['length'])return null;const _0x310c3d=[],_0x3dab64=_0x40b770['view']['domConverter'];for(const _0xfa6221 of _0x173024){const _0xa8d1df=_0x40b770['mapper']['markerNameToElements'](_0xfa6221['name']);if(!_0xa8d1df)continue;const _0x2cc45f=Array['from'](_0xa8d1df)['map'](_0x4ef1f3=>_0x3dab64['mapViewToDom'](_0x4ef1f3))['filter'](_0x1976e0=>!!_0x1976e0);_0x310c3d['push'](..._0x2cc45f);}if(0x0===_0x310c3d['length'])return null;const _0xaf48b=[];for(const _0x29acf4 of _0x310c3d){const _0x35391f=_0x29acf4['getClientRects']()['item'](0x0);_0x35391f&&_0xaf48b['push']({'x':_0x35391f['x'],'y':_0x35391f['y'],'domElement':_0x29acf4});}return 0x0===_0xaf48b['length']?null:(_0xaf48b['sort']((_0x3a0570,_0x3a40ba)=>_0x3a0570['y']-_0x3a40ba['y']||_0x3a0570['x']-_0x3a40ba['x']),_0xaf48b['map'](_0x2aee5e=>_0x2aee5e['domElement']));}function bt(_0x37fcdf,{limit:_0xe2eef8,suffix:_0x55d479='...'}){const _0x35212c=[];let _0x45e189=0x0;const _0x1445d9=_0x37fcdf['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x4dd23a=0x0;_0x4dd23a<_0x1445d9['length'];_0x4dd23a++){let _0x3ba407=_0x1445d9[_0x4dd23a];const _0x1e3c29=tn(_0x3ba407);if(_0x3ba407['startsWith']('<')){if(_0x45e189>=_0xe2eef8){const _0x23014f=_0x3ba407['match'](/[a-zA-Z]+/);if(!_0x23014f){_0x1445d9[_0x4dd23a]='';continue;}const _0x243ce9=_0x23014f[0x0];_0x3ba407['startsWith']('</')?(_0x35212c['length']&&(_0x3ba407=''),_0x35212c['pop']()):(_0x35212c['push'](_0x243ce9),_0x3ba407='');}}else{if(_0x45e189>=_0xe2eef8)_0x3ba407='';else{if(_0x45e189+_0x1e3c29['length']>=_0xe2eef8){let _0x271fc3=_0xe2eef8-_0x45e189;if('\x20'===_0x1e3c29[_0x271fc3-0x1])_0x271fc3--;else{const _0x1497c8=_0x1e3c29['slice'](_0x271fc3)['indexOf']('\x20');-0x1!==_0x1497c8?_0x271fc3+=_0x1497c8:_0x271fc3=_0x3ba407['length'];}_0x3ba407=_0x1e3c29['slice'](0x0,_0x271fc3)['join']('')+_0x55d479,_0x45e189=_0xe2eef8;}else _0x45e189+=_0x1e3c29['length'];}}_0x1445d9[_0x4dd23a]=_0x3ba407;}return _0x1445d9['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x3ac044){const _0x4241cd=[];for(let _0xf604d5=0x0;_0xf604d5<_0x3ac044['length'];_0xf604d5++){const _0x2e7517=_0x3ac044['substring'](_0xf604d5)['match'](/^&[a-z0-9#]+;/);if(_0x2e7517){const _0x5ee084=_0x2e7517[0x0];_0x4241cd['push'](_0x5ee084),_0xf604d5+=_0x5ee084['length']-0x1;}else _0x4241cd['push'](_0x3ac044[_0xf604d5]);}return _0x4241cd;}class X extends _0x3f1a43{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x38298a){super(_0x38298a);const _0x69abb7=this['bindTemplate'];this['set']('message',U(_0x38298a,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x38298a,U(_0x38298a,'Yes'),_0x16284a,'submit'),this['cancelView']=this['_createButtonView'](_0x38298a,U(_0x38298a,'No'),_0x59d711,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x409a55(),this['keystrokes']=new _0x5c28ed(),this['focusCycler']=new _0xc8ad2c({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x69abb7['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x490592,_0x32914b,_0x881aec,_0x489e89){const _0x58b8ee=new ts(_0x490592);return _0x58b8ee['label']=_0x32914b,_0x58b8ee['icon']=_0x881aec,_0x58b8ee['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x489e89}}),_0x58b8ee['on']('execute',()=>this['fire'](_0x489e89)),_0x58b8ee;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2e66fa=>{this['keystrokes']['listenTo'](_0x2e66fa['element']),this['focusTracker']['add'](_0x2e66fa['element']);}),this['keystrokes']['set']('esc',(_0x29ed67,_0x3fba5e)=>{this['fire']('cancel'),_0x3fba5e();});}}function vt(_0x1aad65){return class extends _0x1aad65{['showConfirm'](_0x36919a,_0x1004d3){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x36919a,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x1004d3['appendChild'](this['confirmView']['element']),_0x1004d3['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x59f010,_0x4a17fe,_0x3b1db1)=>{_0x3b1db1||_0x1004d3['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x20ec5c=>this['confirmView']['on']('submit',_0x20ec5c));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x3204f3){let _0x3cf40f=0x0,_0x33d800=0x0;for(const _0x51640b of ne(_0x3204f3))_0x3cf40f=(_0x3cf40f<<0x5)-_0x3cf40f+_0x51640b,_0x3cf40f&=_0x3cf40f,[_0x3cf40f,_0x33d800]=[_0x33d800,_0x3cf40f];return ie(_0x3cf40f)+ie(_0x33d800);}function*ee(_0x2ae738){null==_0x2ae738||null==_0x2ae738?yield 0x12b9b0a1:0x0===_0x2ae738||!0x1===_0x2ae738?yield 0x0:0x1===_0x2ae738||0x1==_0x2ae738?yield 0x1:Array['isArray'](_0x2ae738)?yield*function*(_0x723219){for(const _0x486155 of _0x723219)yield*ee(_0x486155);}(_0x2ae738):'object'==typeof _0x2ae738?yield*ne(_0x2ae738):'string'==typeof _0x2ae738?yield*oe(_0x2ae738):'number'==typeof _0x2ae738&&(yield _0x2ae738);}function*ne(_0x29d652){if(yield te('{'),_0x29d652){const _0x5c33bc=Object['keys'](_0x29d652)['sort']();for(const _0x12a323 of _0x5c33bc){yield*oe(_0x12a323),yield te(':');const _0x253cc2=_0x29d652[_0x12a323];yield*ee(_0x253cc2);}}yield te('}');}function*oe(_0x54ebd1){yield te('\x22');for(const _0x56146c of _0x54ebd1)yield te(_0x56146c);yield te('\x22');}function te(_0x34e462){return _0x34e462['charCodeAt'](0x0);}function ie(_0x4ff55c){return(_0x4ff55c*=Math['sign'](_0x4ff55c))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x508318,_0x2de36e,_0x22205c,_0x55a2f1=[]){const _0x2bef5e='string'==typeof _0x508318?_0x22205c['get'](_0x508318)['constructor']:_0x508318['prototype']['constructor'];if(_0x2de36e['has'](_0x2bef5e))return _0x2de36e['get'](_0x2bef5e);_0x2de36e['set'](_0x2bef5e,!0x0);const _0x382d59=[...et,..._0x55a2f1]['map'](_0x242319=>{if(_0x22205c['has'](_0x242319))return _0x22205c['get'](_0x242319)['constructor'];})['filter'](_0x263cb8=>_0x263cb8);if(_0x2bef5e&&_0x382d59['includes'](_0x2bef5e))return _0x2de36e['set'](_0x2bef5e,!0x1),!0x1;if(!_0x2bef5e['requires'])return _0x2de36e['set'](_0x2bef5e,!0x0),!0x0;const _0x4d4d35=_0x2bef5e['requires']['every'](_0x14e479=>ot(_0x14e479,_0x2de36e,_0x22205c,_0x55a2f1));return _0x2de36e['set'](_0x2bef5e,_0x4d4d35),_0x4d4d35;}function Ct(_0x8dcff8,_0xfe5f48){const _0x4af22b={};for(const _0x2e506b of _0x8dcff8['config']['names']())nt['includes'](_0x2e506b)||(_0x4af22b[_0x2e506b]=_0x8dcff8['config']['get'](_0x2e506b));const _0x2b7bff=_0x4af22b['plugins']||[],_0x3c88ef=_0x8dcff8['constructor']['builtinPlugins']||[],_0x210c34=_0x2b7bff['length']?_0x2b7bff:_0x3c88ef,_0x19ab08=_0x4af22b['extraPlugins']||[];delete _0x4af22b['extraPlugins'];const _0x3577fe=_0x4af22b['removePlugins']||[];delete _0x4af22b['removePlugins'];const _0x2eeddf=_0x8dcff8['_context']['config']['get']('plugins')||[],_0x45d78a=_0x210c34['concat'](_0x19ab08)['concat'](_0x2eeddf)['map'](_0x402d84=>'string'==typeof _0x402d84?_0x3c88ef['find'](_0x2dc913=>_0x2dc913['pluginName']==_0x402d84):_0x402d84)['filter'](_0xaa6104=>!_0x3577fe['includes'](_0xaa6104)&&!_0x3577fe['includes'](_0xaa6104['pluginName'])),_0x280aaa=Array['from'](new Set(_0x45d78a)),_0x56ab82=new Map();return _0x4af22b['plugins']=_0x280aaa['filter'](_0x18a5d9=>ot(_0x18a5d9,_0x56ab82,_0x8dcff8['plugins'],_0xfe5f48)),_0x4af22b;}function xt(_0x28d41b,_0x3ff6ab){const _0x385f1a=[];_0x28d41b['document']['selection']['on']('change:range',()=>{const _0x2c813f=function(_0x47fa83,_0x4e7d24){const _0xd0696a=[];for(const _0x17ef98 of _0x47fa83['markers']){const _0x51d012=_0x17ef98['getRange']();(_0x51d012['containsPosition'](_0x4e7d24)||_0x51d012['start']['isEqual'](_0x4e7d24)||_0x51d012['end']['isEqual'](_0x4e7d24))&&_0xd0696a['push'](_0x17ef98);}return _0xd0696a;}(_0x28d41b,_0x28d41b['document']['selection']['focus']),_0x5cd0ed=[],_0x307d03=[],_0x5d4432=[];for(const _0x93a710 of _0x385f1a)_0x2c813f['includes'](_0x93a710)||_0x5cd0ed['push'](_0x93a710);for(const _0x488f68 of _0x2c813f)_0x385f1a['includes'](_0x488f68)||_0x307d03['push'](_0x488f68),_0x5d4432['push'](_0x488f68);(_0x5cd0ed['length']||_0x307d03['length'])&&_0x3ff6ab({'left':_0x5cd0ed,'entered':_0x307d03}),_0x385f1a['length']=0x0,_0x385f1a['push'](..._0x5d4432);});}const It='Ctrl+Shift+E';function _t(_0x57a486,_0xbf4e67){const _0x47bb83=_0x57a486['element'];_0x57a486['keystrokes']['listenTo'](_0x47bb83);for(const _0x39f27a of _0xbf4e67)ro(_0x57a486,_0x39f27a);_0xbf4e67['on']('change',(_0xc62563,_0x4e5365)=>{for(const _0x2e38fd of _0x4e5365['removed'])to(_0x57a486,_0x2e38fd);for(const _0x42e89b of Array['from'](_0x4e5365['added'])['reverse']())ro(_0x57a486,_0x42e89b);}),_0x57a486['keystrokes']['set']('enter',(_0x40b863,_0x22c579)=>{_0x47bb83===_0x40b863['target']&&(_0x57a486['focusCycler']['focusFirst'](),_0x22c579());},{'filter':_0x1d8b32=>_0x1d8b32['target']===_0x47bb83}),_0x57a486['keystrokes']['set']('esc',(_0x33f1c7,_0x379d13)=>{_0x47bb83!==_0x33f1c7['target']?_0x57a486['focus']():_0x57a486['fire']('escape'),_0x379d13();}),_0x57a486['keystrokes']['set']('arrowdown',(_0x539915,_0x4205b0)=>{_0x47bb83===_0x539915['target']&&(_0x57a486['fire']('arrowdown'),_0x4205b0());}),_0x57a486['keystrokes']['set']('arrowup',(_0x19e851,_0x40105a)=>{_0x47bb83===_0x19e851['target']&&(_0x57a486['fire']('arrowup'),_0x40105a());});}function ro(_0x503546,_0x83294e){_0x83294e['isRendered']&&(_0x503546['focusTracker']['add'](_0x83294e['element']),_0x503546['keystrokes']['listenTo'](_0x83294e['element']),_0x15781a(_0x83294e)&&function(_0x24789b,_0x2ecc1f){const _0x74176b=_0x24789b['actions'],_0xe4a06=_0x2ecc1f['actions'];for(const _0x1a46aa of Object['keys'](_0x74176b))if(_0x1a46aa in _0xe4a06&&_0x74176b[_0x1a46aa]!==_0xe4a06[_0x1a46aa])return!0x1;return!0x0;}(_0x503546['focusCycler'],_0x83294e['focusCycler'])&&_0x503546['focusCycler']['chain'](_0x83294e['focusCycler']));}function to(_0x410201,_0x39ee1b){_0x410201['focusTracker']['remove'](_0x39ee1b['element']),_0x410201['keystrokes']['stopListening'](_0x39ee1b['element']),_0x15781a(_0x39ee1b)&&_0x410201['focusCycler']['unchain'](_0x39ee1b['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x13b3d9{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x16768f?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2b0881,_0x51ea05)=>{_0x51ea05['on']('ready',()=>{this['_integrateEditor'](_0x51ea05);});});}get['editor'](){if(this['context']instanceof _0x16768f)return this['context'];{const _0x28fec2=this['context']['editors']['first'];if(!_0x28fec2)throw new _0x91db1e('documentcompare-no-editor',this);return _0x28fec2;}}['getDiff'](_0x2a7fb2,_0x1b75f5,_0x34d9be={'anchor':'main','markDeletions':!0x1}){let _0xb8e4d5,_0x3274ca;const _0x2f9614=this['editor'];if('string'==typeof _0x34d9be['anchor']){const _0x1b45b8=_0x2f9614['model']['document']['getRoot'](_0x34d9be['anchor']);if(!_0x1b45b8)throw new _0x91db1e('documentcompare-compare-no-root',this,{'anchor':_0x34d9be['anchor']});_0xb8e4d5=_0x1b45b8,_0x3274ca=_0x2f9614['model']['createPositionAt'](_0x1b45b8,0x0);}else _0xb8e4d5=_0x34d9be['anchor']['clone'](),_0x3274ca=_0x34d9be['anchor']['clone']();const _0x4a1050=_0x2f9614['data']['parse'](_0x2a7fb2,_0xb8e4d5),_0x34d284=_0x2f9614['data']['parse'](_0x1b75f5,_0xb8e4d5);return new Mt(_0x4a1050,_0x34d284,_0x2f9614,{'anchor':_0x3274ca,'markDeletions':_0x34d9be['markDeletions']});}['isMarkedRemoveOperation'](_0x203f4f){return'marker'==_0x203f4f['type']&&_0x203f4f['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x351210){_0x351210['conversion']['for']('upcast')['add'](_0x4585f3=>{_0x4585f3['on']('element',(_0xb51483,_0x2d2edf,_0x4338d1)=>{if(_0x2d2edf['modelRange'])for(const _0x197c06 of _0x2d2edf['modelRange']['getItems']({'shallow':!0x0})){if(_0x197c06['is']('$textProxy'))continue;const _0x21306c=_0x2d2edf['viewItem']['getAttribute'](Et);_0x21306c&&_0x4338d1['writer']['setAttribute'](St,_0x21306c,_0x197c06);}},{'priority':'lowest'});}),_0x351210['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x284b3c,_0x3e5d51,_0x46f588,_0x58857c){this['_editor']=_0x46f588,this['_markDeletions']=!!_0x58857c['markDeletions'],this['_anchor']=_0x58857c['anchor'];const _0xef133d=this['_tokenizeModel'](_0x284b3c),_0x4297a7=this['_tokenizeModel'](_0x3e5d51);this['_diffItems']=this['_diffModelTokens'](_0xef133d,_0x4297a7),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x284b3c['markers'],_0x3e5d51['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x4f3b35=this['_editor']['model']['document'],_0x18945e=[];let _0x4e6905=_0x4f3b35['version'];for(const _0x2d9b9f of this['_operationsData'])switch(_0x2d9b9f['type']){case'attribute':{const _0xbc676c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['path']),_0xfe03c6=_0xbc676c['getShiftedBy'](_0x2d9b9f['howMany']),_0x405f38=new _0x2cb680(_0xbc676c,_0xfe03c6),_0x388ec4=JSON['parse'](_0x2d9b9f['oldValue']),_0x4df160=JSON['parse'](_0x2d9b9f['newValue']);_0x18945e['push'](new _0x5853a3(_0x405f38,_0x2d9b9f['key'],_0x388ec4,_0x4df160,_0x4e6905++));break;}case'insert':{const _0x18a773=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['path']),_0x2663dc=this['_makeModelFromTokens'](_0x2d9b9f['tokens']);_0x18945e['push'](new _0x4aad14(_0x18a773,_0x2663dc,_0x4e6905++));break;}case'remove':{const _0x54a33c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['path']),_0x9e7ace=new _0x267eaf(_0x4f3b35['graveyard'],[0x0]);_0x18945e['push'](new _0x1968f8(_0x54a33c,_0x2d9b9f['howMany'],_0x9e7ace,_0x4e6905++));break;}case'rename':{const _0x533c91=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['path']);_0x18945e['push'](new _0x4b2eff(_0x533c91,_0x2d9b9f['oldName'],_0x2d9b9f['newName'],_0x4e6905++));break;}case'split':{const _0x49ba2a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['path']),_0x42feaf=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['path']['slice'](0x0,-0x1));_0x42feaf['offset']++,_0x18945e['push'](new _0x203be7(_0x49ba2a,Number['NEGATIVE_INFINITY'],_0x42feaf,null,_0x4e6905++));break;}case'merge':{const _0xc4d847=_0x2d9b9f['path']['slice'](),_0x3472e6=_0xc4d847['slice'](0x0,-0x1);_0x3472e6[_0x3472e6['length']-0x1]++,_0x3472e6['push'](0x0);const _0x5cb8a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3472e6),_0x3e1526=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc4d847),_0x2fabd4=new _0x267eaf(_0x4f3b35['graveyard'],[0x0]);_0x18945e['push'](new _0x374b72(_0x5cb8a8,Number['NEGATIVE_INFINITY'],_0x3e1526,_0x2fabd4,_0x4e6905++));break;}case'marker':case'markedRemove':{let _0x4e8008=null;if(_0x2d9b9f['range']){const _0xff300b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['range']['start']),_0x3ada86=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['range']['end']);_0x4e8008=new _0x2cb680(_0xff300b,_0x3ada86);}const _0x335cb7='marker'==_0x2d9b9f['type']?_0x2d9b9f['name']:'$markedRemove:'+_0x560527();_0x18945e['push'](new _0x2e745c(_0x335cb7,null,_0x4e8008,_0x4f3b35['model']['markers'],!0x0,_0x4e6905++));break;}case'unwrap':{const _0xc21ffb=_0x2d9b9f['path']['slice']();_0xc21ffb['push'](0x0);const _0x4552a8=_0x2d9b9f['path']['slice'](),_0x3cc6dd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc21ffb),_0x33017b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4552a8),_0x1a9831=new _0x267eaf(_0x4f3b35['graveyard'],[0x0]);_0x18945e['push'](new _0x1968f8(_0x3cc6dd,_0x2d9b9f['howMany'],_0x33017b,_0x4e6905++)),_0x18945e['push'](new _0x1968f8(_0x33017b['getShiftedBy'](_0x2d9b9f['howMany']),0x1,_0x1a9831,_0x4e6905++));break;}case'wrap':{const _0x921fec=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['range']['start']),_0x387211=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d9b9f['range']['end']),_0x139a2a=_0x2d9b9f['token']['element']['_clone'](!0x1),_0x3656ee=_0x2d9b9f['range']['end']['slice']();_0x3656ee['push'](0x0);const _0x4ce704=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3656ee);_0x18945e['push'](new _0x4aad14(_0x387211,_0x139a2a,_0x4e6905++)),_0x18945e['push'](new _0x1968f8(_0x921fec,_0x387211['offset']-_0x921fec['offset'],_0x4ce704,_0x4e6905++));break;}}return _0x18945e;}['_tokenizeModel'](_0x2c4509){const _0x34dfae=[],_0x45bfb1=_0x2cb680['_createIn'](_0x2c4509),_0x3dfcfa=new _0x35ddcb({'boundaries':_0x45bfb1});let _0xd6d460='',_0x49129e=null;const _0x2b2ca0=[''],_0x35c82d=new Map();for(const _0x31e6dc of _0x3dfcfa)if('elementStart'==_0x31e6dc['type']||'elementEnd'==_0x31e6dc['type']){let _0x16bcad=_0x2b2ca0[0x0];''!==_0xd6d460&&(_0x34dfae['push'](...this['_makeTokensFromTextByWords'](_0xd6d460,_0x49129e,_0x16bcad)),_0xd6d460='');const _0x4fea7f=_0x31e6dc['item'];let _0x8faa49;_0x4fea7f['getAttribute'](St)?_0x8faa49=_0x4fea7f['getAttribute'](St):'elementStart'==_0x31e6dc['type']?(_0x8faa49=_(_0x4fea7f),_0x35c82d['set'](_0x4fea7f,_0x8faa49)):_0x8faa49=_0x35c82d['get'](_0x4fea7f);const _0x1e62dd=this['_getElementCategory'](_0x4fea7f);'solid'==_0x1e62dd&&('elementStart'==_0x31e6dc['type']?(_0x16bcad=_0x8faa49,_0x2b2ca0['unshift'](_0x16bcad)):_0x2b2ca0['shift']());const _0x3aa234={'type':'element','element':_0x4fea7f,'elementId':_0x8faa49,'category':_0x1e62dd,'isStart':'elementStart'==_0x31e6dc['type'],'limitId':_0x16bcad};_0x34dfae['push'](_0x3aa234);}else''==_0xd6d460&&(_0x49129e=_0x31e6dc['previousPosition']['clone']()),_0xd6d460+=_0x31e6dc['item']['data'];return''!==_0xd6d460&&_0x34dfae['push'](...this['_makeTokensFromTextByWords'](_0xd6d460,_0x49129e,_0x2b2ca0[0x0])),_0x34dfae;}['_makeTokensFromTextByWords'](_0x1a7ef6,_0x5304f1,_0x3ceba0){const _0x4a238c=_0x1a7ef6['matchAll'](/(\s)/g),_0x2f90c7=Array['from'](_0x4a238c)['map'](_0x571109=>_0x571109['index']);_0x2f90c7['push'](_0x1a7ef6['length']),0x0==_0x2f90c7[0x0]&&_0x2f90c7['shift']();const _0x2a549b=[],_0x49ac49=_0x5304f1['parent'];let _0x36a6fb=0x0,_0x53fc08=_0x5304f1['offset'];for(let _0x45f989=0x0;_0x45f989<_0x2f90c7['length'];_0x45f989++)_0x2a549b['push']({'type':'text','data':_0x1a7ef6['slice'](_0x36a6fb,_0x2f90c7[_0x45f989]),'parent':_0x49ac49,'offset':_0x53fc08,'limitId':_0x3ceba0}),_0x36a6fb=_0x2f90c7[_0x45f989],_0x53fc08=_0x5304f1['offset']+_0x2f90c7[_0x45f989];return _0x2a549b;}['_getElementCategory'](_0x257258){const _0x513f96=this['_editor']['model']['schema'];return _0x513f96['isLimit'](_0x257258)||_0x513f96['isContent'](_0x257258)||_0x513f96['isInline'](_0x257258)?'solid':_0x513f96['isBlock'](_0x257258)?'block':'container';}['_diffModelTokens'](_0x38b225,_0x388d8c){const _0xee3b00=_0x166914(_0x38b225,_0x388d8c,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0xee3b00);const _0xf18d01=_0xee3b00['flatMap'](_0x51e4e8=>{const _0xf6a444=_0x51e4e8['added']?'added':_0x51e4e8['removed']?'removed':'unchanged';return _0x51e4e8['value']['map'](_0x1a73b3=>({'token':_0x1a73b3,'change':_0xf6a444}));});let _0x2b1efe=0x0;for(const _0x12fe9e of _0xf18d01)'added'!=_0x12fe9e['change']&&('unchanged'==_0x12fe9e['change']&&(_0x12fe9e['before']=_0x38b225[_0x2b1efe]),_0x2b1efe++);return _0xf18d01;}['_handleUnclosedBlockOpeningTags'](_0x5286e4){for(let _0x237105=0x0;_0x237105<_0x5286e4['length']-0x1;_0x237105++)if(_0x5286e4[_0x237105]['removed']&&_0x5286e4[_0x237105+0x1]['added']){const _0x426bdd=this['_findUnclosedBlockOpeningToken'](_0x5286e4[_0x237105]['value']);if(null!==_0x426bdd){const _0x4c957d=this['_findUnclosedBlockOpeningToken'](_0x5286e4[_0x237105+0x1]['value']),_0x14678e=_0x5286e4[_0x237105]['value']['splice'](_0x426bdd),_0x144292=_0x5286e4[_0x237105+0x1]['value']['splice'](_0x4c957d),_0x52bf60=[_0x144292['shift']()];_0x14678e['shift']();const _0x435b3b={'value':_0x14678e,'removed':!0x0},_0x49b295={'value':_0x144292,'added':!0x0},_0x5bf7cc={'value':_0x52bf60};_0x5286e4['splice'](_0x237105+0x2,0x0,_0x5bf7cc,_0x435b3b,_0x49b295);}}}['_findUnclosedBlockOpeningToken'](_0x4191d1){let _0x33de35=0x0,_0x28ed85=-0x1;for(let _0x11fd09=0x0;_0x11fd09<_0x4191d1['length'];_0x11fd09++){const _0x46d6aa=_0x4191d1[_0x11fd09];'element'==_0x46d6aa['type']&&'block'==_0x46d6aa['category']&&(_0x33de35+=_0x46d6aa['isStart']?0x1:-0x1,_0x46d6aa['isStart']&&(_0x28ed85=_0x11fd09));}return 0x0===_0x33de35?null:_0x28ed85;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4ede57=0x0;_0x4ede57<this['_diffItems']['length'];_0x4ede57++){const _0x2af2ad=this['_diffItems'][_0x4ede57]['change'],_0x241bd5=[];_0x241bd5['push'](this['_diffItems'][_0x4ede57]);let _0x4b51c7=_0x4ede57+0x1;for(;this['_diffItems'][_0x4b51c7]&&this['_diffItems'][_0x4b51c7]['change']==_0x2af2ad;)_0x241bd5['push'](this['_diffItems'][_0x4b51c7]),_0x4b51c7++,_0x4ede57++;const _0x494f80=_0x241bd5['map'](_0x3e6d36=>_0x3e6d36['token']);if('unchanged'==_0x2af2ad)_0x241bd5['map'](_0x4a3b28=>_0x4a3b28['before'])['forEach'](_0x8005b6=>this['_traverseOverItem'](_0x8005b6));else{if('removed'==_0x2af2ad){if(this['_markDeletions']){const _0x42d664=this['_path']['slice']();_0x494f80['forEach'](_0x39c51c=>this['_traverseOverItem'](_0x39c51c));const _0x5acf79=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x42d664,'end':_0x5acf79}});}else this['_handleChanged'](_0x494f80,!0x0,this['_path']['slice']());}else{const _0x4e4b5f=_0x494f80['filter'](_0xe3b07=>'element'!=_0xe3b07['type']||'container'!=_0xe3b07['category']);this['_handleChanged'](_0x4e4b5f,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1bdd0c=0x0;_0x1bdd0c<this['_diffItems']['length'];_0x1bdd0c++){const _0x22307c=this['_diffItems'][_0x1bdd0c]['change'],_0x1f30c9=[];_0x1f30c9['push'](this['_diffItems'][_0x1bdd0c]);let _0x205bde=_0x1bdd0c+0x1;for(;this['_diffItems'][_0x205bde]&&this['_diffItems'][_0x205bde]['change']==_0x22307c;)_0x1f30c9['push'](this['_diffItems'][_0x205bde]),_0x205bde++,_0x1bdd0c++;const _0x1771d7=_0x1f30c9['map'](_0x1290bf=>_0x1290bf['token']);if('unchanged'==_0x22307c){const _0x2f36db=_0x1f30c9['map'](_0x3dfafc=>_0x3dfafc['before']);this['_handleUnchanged'](_0x2f36db,_0x1771d7);}else('removed'!=_0x22307c||this['_markDeletions'])&&_0x1771d7['forEach'](_0x2fd3de=>{this['_traverseOverItem'](_0x2fd3de);});}}['_calculateMarkersOperationsData'](_0x447c03,_0x30bf8f){const _0x4aabae={};for(const [_0x2d930f]of _0x447c03)_0x4aabae[_0x2d930f]=null;for(const [_0x5e4ec2,_0x1d805f]of _0x30bf8f)_0x4aabae[_0x5e4ec2]=_0x1d805f;const _0x25f262=Object['entries'](_0x4aabae)['map'](([_0x44de70,_0x2a92b1])=>({'type':'marker','name':_0x44de70,'range':_0x2a92b1?{'start':_0x2a92b1['start']['path']['slice'](),'end':_0x2a92b1['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x25f262);}['_handleUnwraps'](){const _0x247949=new Map(),_0x184728=[],_0x1518ff=[0x0];let _0x1bf107=this['_diffItems']['length']+0x1;for(let _0x5b0701=this['_diffItems']['length']-0x1;_0x5b0701>=0x0;_0x5b0701--){const {token:_0x57b7d0,before:_0x1e28ab,change:_0x289378}=this['_diffItems'][_0x5b0701];if('removed'!=_0x289378&&(_0x1bf107=_0x5b0701),'element'!=_0x57b7d0['type']||'container'!=_0x57b7d0['category']||'added'==_0x289378)continue;const _0x338c31=_0x1e28ab?_0x1e28ab['element']:_0x57b7d0['element'];if(_0x57b7d0['isStart']){const _0xe6e10a=_0x247949['get'](_0x338c31),_0x73a1af=this['_diffItems'][_0xe6e10a];('removed'==_0x289378||'removed'==_0x73a1af['change'])&&_0x1bf107<_0xe6e10a&&(this['_operationsData']['push']({'type':'unwrap','path':_0x338c31['getPath'](),'howMany':_0x338c31['maxOffset']+_0x1518ff[0x0]}),_0x1518ff['shift'](),_0x1518ff[0x0]+=_0x338c31['maxOffset']-0x1,_0x184728['push'](_0x5b0701),_0x184728['push'](_0xe6e10a));}else _0x247949['set'](_0x338c31,_0x5b0701),_0x1518ff['unshift'](0x0);}_0x184728['sort']((_0x1fa881,_0x59e1d9)=>_0x59e1d9-_0x1fa881),_0x184728['forEach'](_0x6904c0=>{const _0x5683b7=this['_diffItems'][_0x6904c0];'removed'==_0x5683b7['change']?this['_diffItems']['splice'](_0x6904c0,0x1):(_0x5683b7['change']='added',delete _0x5683b7['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x5397da=[];for(let _0x273c24=0x0;_0x273c24<this['_diffItems']['length'];_0x273c24++){const {change:_0x2df979,token:_0x276f93}=this['_diffItems'][_0x273c24];if('added'==_0x2df979&&'element'==_0x276f93['type']&&'container'==_0x276f93['category']){if(_0x276f93['isStart'])_0x5397da['push'](this['_path']['slice']());else{if(!_0x276f93['isStart']){const _0x103c40=_0x5397da['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x103c40,'end':this['_path']['slice']()},'token':_0x276f93}),this['_path'][this['_path']['length']-0x1]=_0x103c40[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2df979||this['_markDeletions'])&&this['_traverseOverItem'](_0x276f93);}}['_handleUnchanged'](_0x2def05,_0x4a5229){for(let _0x2054ef=0x0;_0x2054ef<_0x2def05['length'];_0x2054ef++){const _0x580d82=_0x2def05[_0x2054ef];if('element'==_0x580d82['type']&&_0x580d82['isStart']){const _0x4738a3=_0x4a5229[_0x2054ef];'block'==_0x580d82['category']&&this['_handleElementRename'](_0x580d82['element'],_0x4738a3['element'],this['_path']),this['_handleElementAttributeChanges'](_0x580d82['element'],_0x4738a3['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x4738a3);}else{if('element'!=_0x580d82['type']||_0x580d82['isStart']){if('text'==_0x580d82['type']){const _0x9e08a8=this['_path']['slice'](),_0x47bcee=[],_0x201a71=[];for(;_0x2def05[_0x2054ef]&&'text'==_0x2def05[_0x2054ef]['type'];)_0x47bcee['push'](_0x2def05[_0x2054ef]),_0x201a71['push'](_0x4a5229[_0x2054ef]),this['_path'][this['_path']['length']-0x1]+=_0x2def05[_0x2054ef]['data']['length'],_0x2054ef++;_0x2054ef--,this['_handleTextAttributeChanges'](_0x47bcee,_0x201a71,_0x9e08a8);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4cc217,_0x41ad14,_0x1a8752){const _0x449f4a=[],_0x1eddd5=[],_0x111899=_0x1a8752['slice']();for(let _0xd809ba=0x0;_0xd809ba<_0x4cc217['length'];_0xd809ba++){const _0x3169a8=_0x4cc217[_0xd809ba],_0x1220cf=_0x1a8752['slice']();if('element'!=_0x3169a8['type']||_0x3169a8['isStart'])'element'==_0x3169a8['type']&&_0x3169a8['isStart']?(_0x1a8752['push'](0x0),_0x41ad14||this['_parents']['push'](_0x3169a8),_0x1eddd5['push']({'before':_0x1220cf,'after':_0x1a8752['slice'](),'index':_0xd809ba})):_0x1a8752[_0x1a8752['length']-0x1]+=_0x3169a8['data']['length'];else{let _0x4ce43a;_0x1a8752['pop'](),_0x1a8752[_0x1a8752['length']-0x1]++,_0x4ce43a=_0x41ad14?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x1eddd5['length']?_0x1eddd5['pop']():_0x449f4a['push']({'before':_0x1220cf,'after':_0x1a8752['slice'](),'index':_0xd809ba,'related':_0x4ce43a});}}if(_0x1eddd5['length']!==_0x449f4a['length'])throw new _0x91db1e('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4cc217,'isRemove':_0x41ad14});const _0x299a27=[{'after':_0x111899['slice'](),'index':-0x1},..._0x449f4a,..._0x1eddd5,{'before':_0x1a8752['slice'](),'index':_0x4cc217['length']}];if(_0x41ad14){for(let _0x1a3217=_0x299a27['length']-0x1;_0x1a3217>=0x1;_0x1a3217--){const _0x36e6ac=_0x299a27[_0x1a3217-0x1]['after'],_0x5adb27=_0x299a27[_0x1a3217]['before'],_0x186f64=_0x5adb27[_0x5adb27['length']-0x1]-_0x36e6ac[_0x36e6ac['length']-0x1];_0x186f64&&(this['_operationsData']['push']({'type':'remove','path':_0x36e6ac,'howMany':_0x186f64}),_0x5adb27[_0x5adb27['length']-0x1]-=_0x186f64);}for(const {before:_0x1be552}of _0x449f4a)this['_operationsData']['push']({'type':'merge','path':_0x1be552});}else for(let _0x6e5541=0x0;_0x6e5541<_0x299a27['length']-0x1;_0x6e5541++){const _0x6b1e78=_0x299a27[_0x6e5541]['after'],_0x366c61=_0x299a27[_0x6e5541+0x1]['before'],_0x2275d5=_0x299a27[_0x6e5541]['index']+0x1,_0x3871ee=_0x299a27[_0x6e5541+0x1]['index'];if(_0x2275d5!==_0x3871ee&&this['_operationsData']['push']({'type':'insert','path':_0x6b1e78,'tokens':_0x4cc217['slice'](_0x2275d5,_0x3871ee)}),_0x6e5541<_0x449f4a['length']){this['_operationsData']['push']({'type':'split','path':_0x366c61});const _0x1b3b77=_0x4cc217[_0x1eddd5[_0x1eddd5['length']-0x1-_0x6e5541]['index']],_0x36b5aa=_0x449f4a[_0x6e5541]['after'],_0x3dc655=_0x449f4a[_0x6e5541]['related']['element'];this['_handleElementRename'](_0x3dc655,_0x1b3b77['element'],_0x36b5aa),this['_handleElementAttributeChanges'](_0x3dc655,_0x1b3b77['element'],_0x36b5aa);}}}['_traverseOverItem'](_0x501e7e){'element'==_0x501e7e['type']&&_0x501e7e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x501e7e)):'element'!=_0x501e7e['type']||_0x501e7e['isStart']?'text'==_0x501e7e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x501e7e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x3a71da,_0x560362,_0x479195){_0x3a71da['name']!=_0x560362['name']&&this['_operationsData']['push']({'type':'rename','path':_0x479195['slice'](),'oldName':_0x3a71da['name'],'newName':_0x560362['name']});}['_handleElementAttributeChanges'](_0x424324,_0x4fad2c,_0x1e57db){const _0x425d80=this['_getAttributeChanges'](_0x424324['getAttributes'](),_0x4fad2c['getAttributes']());for(const _0x3ba985 in _0x425d80){const {oldValue:_0x587398,newValue:_0x66db68}=_0x425d80[_0x3ba985];this['_operationsData']['push']({'type':'attribute','path':_0x1e57db['slice'](),'howMany':0x1,'key':_0x3ba985,'oldValue':_0x587398,'newValue':_0x66db68});}}['_handleTextAttributeChanges'](_0x257c80,_0x31cd03,_0x3a50cd){const _0x3bac2f=this['_operationsData'],_0x85de23=_0x257c80[0x0]['parent'],_0x16664d=_0x257c80[0x0]['offset'],_0x18a981=_0x31cd03[0x0]['parent'],_0x2a2750=_0x31cd03[0x0]['offset'],_0x37e7bf=_0x257c80['reduce']((_0x544cb4,_0x2c0c08)=>_0x544cb4+_0x2c0c08['data']['length'],0x0),_0x49cf95=this['_getAttrsForOffsets'](_0x85de23,_0x16664d,_0x37e7bf),_0x438631=this['_getAttrsForOffsets'](_0x18a981,_0x2a2750,_0x37e7bf),_0x2a39d={};for(let _0x58c18b=0x0;_0x58c18b<_0x37e7bf;_0x58c18b++){const _0x2ad2fe=_0x49cf95[_0x16664d+_0x58c18b],_0x9cd378=_0x438631[_0x2a2750+_0x58c18b],_0x115108=this['_getAttributeChanges'](_0x2ad2fe,_0x9cd378);for(const _0x5c0956 in _0x2a39d)_0x115108[_0x5c0956]||_0x3d078f(_0x5c0956);for(const _0x59b8bd in _0x115108){const {oldValue:_0x2577d3,newValue:_0x2c00e3}=_0x115108[_0x59b8bd],_0x12b638=_0x2a39d[_0x59b8bd];_0x12b638?_0x12b638['oldValue']==_0x2577d3&&_0x12b638['newValue']==_0x2c00e3?_0x12b638['length']++:(_0x3d078f(_0x59b8bd),_0x2a39d[_0x59b8bd]={'oldValue':_0x2577d3,'newValue':_0x2c00e3,'start':_0x58c18b,'length':0x1}):_0x2a39d[_0x59b8bd]={'oldValue':_0x2577d3,'newValue':_0x2c00e3,'start':_0x58c18b,'length':0x1};}}for(const _0x58e4a7 in _0x2a39d)_0x3d078f(_0x58e4a7);function _0x3d078f(_0x207d3b){const _0x597de7=_0x2a39d[_0x207d3b],_0x1c09e5=_0x3a50cd['slice']();_0x1c09e5[_0x1c09e5['length']-0x1]+=_0x597de7['start'],_0x3bac2f['push']({'type':'attribute','path':_0x1c09e5,'howMany':_0x597de7['length'],'key':_0x207d3b,'oldValue':_0x597de7['oldValue'],'newValue':_0x597de7['newValue']}),delete _0x2a39d[_0x207d3b];}}['_getAttributeChanges'](_0x165bc0,_0x2b6ca2){const _0x540622={};for(const [_0x39711b,_0x486d01]of _0x165bc0)_0x540622[_0x39711b]={'oldValue':JSON['stringify'](_0x486d01),'newValue':'null'};for(const [_0x524797,_0x2677e4]of _0x2b6ca2){const _0x34078c=JSON['stringify'](_0x2677e4);_0x540622[_0x524797]?_0x540622[_0x524797]['oldValue']==_0x34078c?delete _0x540622[_0x524797]:_0x540622[_0x524797]['newValue']=_0x34078c:_0x540622[_0x524797]={'oldValue':'null','newValue':_0x34078c};}return delete _0x540622[St],_0x540622;}['_getAttrsForOffsets'](_0x33bd00,_0xbf7da4,_0x93e9c0){const _0x575f70=new Array(_0xbf7da4+_0x93e9c0);let _0x1c6321=_0x33bd00['getChildAtOffset'](_0xbf7da4),_0x146a1d=_0x1c6321['startOffset'];for(;_0x1c6321&&_0x146a1d<_0xbf7da4+_0x93e9c0;){const _0x1b49ac=Array['from'](_0x1c6321['getAttributes']());_0x575f70['fill'](_0x1b49ac,_0x146a1d,_0x146a1d+_0x1c6321['offsetSize']),_0x146a1d+=_0x1c6321['offsetSize'],_0x1c6321=_0x1c6321['nextSibling'];}return _0x575f70;}['_getPositionFromAnchorAndPath'](_0x256bc5,_0x3976cc){const _0x1fac13=[..._0x256bc5['path']['slice'](0x0,-0x1),_0x256bc5['offset']+_0x3976cc[0x0],..._0x3976cc['slice'](0x1)];return new _0x267eaf(_0x256bc5['root'],_0x1fac13);}['_makeModelFromTokens'](_0x10edd1){const _0x3b1a13=[];let _0x56dd7e=null;for(const _0x54526a of _0x10edd1)if('element'!=_0x54526a['type']||_0x54526a['isStart']||_0x56dd7e!=_0x54526a['element']){if(!_0x56dd7e){if('text'==_0x54526a['type']){const _0x50c7ca=_0x267eaf['_createAt'](_0x54526a['parent'],_0x54526a['offset']),_0x99a82=_0x2cb680['_createFromPositionAndShift'](_0x50c7ca,_0x54526a['data']['length']),_0x39ea2e=Array['from'](_0x99a82['getItems']())['map'](_0x1d3b18=>new _0x40ae46(_0x1d3b18['data'],_0x1d3b18['getAttributes']()));_0x3b1a13['push'](..._0x39ea2e);}else{_0x56dd7e=_0x54526a['element'];const _0x1a61ab=_0x54526a['element']['_clone'](!0x0);_0x1a61ab['_removeAttribute'](St);for(const _0x3d4155 of this['_editor']['model']['createRangeIn'](_0x1a61ab)['getItems']())_0x3d4155['is']('element')&&_0x3d4155['_removeAttribute'](St);_0x3b1a13['push'](_0x1a61ab);}}}else _0x56dd7e=null;return _0x3b1a13;}}function g(_0x37559d,_0x13a75a){return _0x37559d['type']===_0x13a75a['type']&&(_0x37559d['limitId']===_0x13a75a['limitId']&&('text'==_0x37559d['type']?_0x37559d['data']==_0x13a75a['data']:function(_0x5860d1,_0xf5aadc){if(_0x5860d1['isStart']!=_0xf5aadc['isStart'])return!0x1;if(_0x5860d1['isStart']&&_0x5860d1['elementId']!=_0xf5aadc['elementId'])return!0x1;if(_0x5860d1['category']!=_0xf5aadc['category'])return!0x1;if('block'==_0x5860d1['category'])return!0x0;if('container'==_0x5860d1['category']&&_0x5860d1['elementId']!=_0xf5aadc['elementId'])return!0x1;return _0x5860d1['element']['name']==_0xf5aadc['element']['name'];}(_0x37559d,_0x13a75a)));}function _(_0x216308){return k({'name':_0x216308['name'],...Object['fromEntries'](_0x216308['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x30cb59,Editor as _0x5ba126,Plugin as _0x125212}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4b3cdf,Collection as _0x5edf31,uid as _0x2eb5d1,toArray as rt,first as _0x4bc8c2,FocusTracker as _0x5ed173,KeystrokeHandler as _0x2ed7d2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3fc88d,IconView as st,ButtonView as ts,DropdownButtonView as _0x4effb6,FocusCycler as _0x1ea549,isViewWithFocusCycler as _0x5dea2b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x2b8e36,IconCancel as _0x423d6e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x17e815}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x19b8dd,MoveOperation as _0x16c329,ModelPosition as _0x3e6074,ModelRange as _0xf97322,MarkerOperation as _0x2d2325,MergeOperation as _0x449d09,SplitOperation as _0x538f65,RenameOperation as _0xd699c5,AttributeOperation as _0x4e6230,ModelTreeWalker as _0x50227b,ModelText as _0x40132f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x22e7fa}from'diff';class C extends _0x30cb59{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x75ebbe,_0x44e88e){let _0x37bbb2;if(_0x44e88e||(_0x44e88e=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x44e88e?_0x37bbb2=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x37bbb2=this['context']['editors']['find'](_0x252de9=>_0x252de9['config']['get']('collaboration.channelId')==_0x44e88e)),!_0x37bbb2)throw new _0x4b3cdf('permissions-set-permissions-invalid-channel-id',null);const _0x5360cf=_0x37bbb2['plugins'],_0xefdffb=_0x5360cf['has']('CommentsRepository')?_0x5360cf['get']('CommentsRepository'):void 0x0,_0x42bc58=_0x5360cf['has']('CommentsOnly')&&_0x5360cf['get']('CommentsOnly'),_0x327378=_0x75ebbe['includes']('document:write'),_0x27de82=_0x75ebbe['includes']('comment:modify_all'),_0x3e08a8=_0x75ebbe['includes']('comment:admin'),_0x35fb29=_0x75ebbe['includes']('comment:write'),_0x56067b=_0x35fb29||_0x3e08a8,_0x3840a1=_0x56067b||_0x27de82,_0x234901=_0x327378||_0x56067b;(_0x42bc58&&(_0x42bc58['isEnabled']=!_0x327378&&_0x3840a1),_0x37bbb2 instanceof _0x5ba126)&&(!(_0x327378||_0x3840a1&&_0xefdffb)?_0x37bbb2['enableReadOnlyMode']('no-permissions'):_0x37bbb2['disableReadOnlyMode']('no-permissions'));if(_0xefdffb){_0xefdffb['setPermissions']({'admin':_0x3e08a8,'modifyAll':_0x27de82,'write':_0x35fb29,'resolve':_0x234901},_0x44e88e);const _0x322c3b=_0x37bbb2 instanceof _0x5ba126&&_0x37bbb2['commands']['get']('addCommentThread');_0x322c3b&&(_0x56067b?_0x322c3b['clearForceDisabled']('noPermissions'):_0x322c3b['forceDisabled']('noPermissions'));}}}function U(_0x26b88b,_0xa911ef){const t=_0x26b88b['t'];switch(_0xa911ef){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class ct extends _0x30cb59{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x38555b){super(_0x38555b),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5edf31(),this['_locale']=_0x38555b['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2c67e8,name:_0x345035,..._0x2e8c0d}){if(!_0x2c67e8||'string'!=typeof _0x2c67e8)throw new _0x4b3cdf('users-add-invalid-id');if(this['users']['has'](_0x2c67e8))throw new _0x4b3cdf('users-add-duplicated-id',null,{'id':_0x2c67e8});const _0xf0d34f=this['context']['config']['get']('users.getInitialsCallback'),_0x13f9bc={..._0x2e8c0d,'id':_0x2c67e8,'name':A(this['_locale'],_0x345035),'color':this['_getNextColor']()};_0x13f9bc['name']=A(this['_locale'],_0x13f9bc['name']);const _0x421123=new lt(_0x13f9bc,_0xf0d34f);return this['users']['add'](_0x421123),_0x421123;}['getUser'](_0x493222){return this['users']['get'](_0x493222);}['useAnonymousUser'](){const _0x530dc3=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x530dc3);}['defineMe'](_0x567e40){if(this['_myId'])throw new _0x4b3cdf('users-me-already-defined',null);const _0x3c3bc8=this['getUser'](_0x567e40);if(!_0x3c3bc8)throw new _0x4b3cdf('users-me-missing-user',null);this['_myId']=_0x567e40,_0x3c3bc8['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x4d06e2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4d06e2&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x384714=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x384714,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x476999,_0x512f87){this['id']=_0x476999['id'],this['color']=_0x476999['color'],this['name']=_0x476999['name'],this['initials']=_0x512f87?_0x512f87(this['name']):this['_computeInitials'](),this['avatar']=_0x476999['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4b6ee3=this['name']['split']('\x20')['filter'](_0x501fd9=>/^[\p{Letter}]/u['test'](_0x501fd9));return 0x1===_0x4b6ee3['length']?this['_getInitial'](_0x4b6ee3[0x0]):0x0===_0x4b6ee3['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4b6ee3[0x0])+this['_getInitial'](_0x4b6ee3[_0x4b6ee3['length']-0x1]);}['_getInitial'](_0x3a58b3){return String['fromCodePoint'](_0x3a58b3['codePointAt'](0x0))['toUpperCase']();}}function A(_0x13b549,_0x4f656c=''){return''==(_0x4f656c=_0x4f656c['trim']())?U(_0x13b549,'Anonymous'):_0x4f656c;}class ut{['_id'];constructor(_0x35dc06){this['_id']=_0x35dc06;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0x3fc88d{['name'];['notificationView'];constructor(_0x262fad,_0x138006,_0x26e6aa){super(_0x262fad),this['name']=_0x138006['name'],this['notificationView']=null;const _0x340874=['ck','ck-user'],_0x382835=['ck','ck-user__img'];if(_0x138006['isAnonymous']&&_0x382835['push']('ck-user__anonymous'),!_0x138006['isAnonymous']&&_0x138006['isMe']&&_0x340874['push']('ck-user_me'),_0x138006['avatar']&&_0x382835['push']('ck-user__avatar'),_0x26e6aa){const _0x5c3be2=new st();_0x5c3be2['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5c3be2['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x26e6aa},'children':[_0x5c3be2]};}const _0x18c505=[{'tag':'div','attributes':{'class':_0x382835,'style':{'background-image':_0x138006['avatar']?'url(\x27'+_0x138006['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x138006['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x138006['name']},'children':[{'text':_0x138006['initials']}]}];this['notificationView']&&_0x18c505['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x340874,'data-user-id':_0x138006['id']},'children':_0x18c505});}}class dt extends _0x3fc88d{['id'];constructor(_0x20f62e,_0x27c017){super(_0x20f62e),this['id']='ck-aria-description-'+_0x2eb5d1(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x27c017}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x4effb6{['render'](){super['render'](),re(this);}}function re(_0x45d2d9){_0x45d2d9['listenTo'](_0x45d2d9['element'],'mousedown',(_0x1cfffe,_0x535f13)=>{_0x535f13['stopPropagation'](),_0x535f13['preventDefault']();}),_0x45d2d9['listenTo'](_0x45d2d9['element'],'mouseup',()=>{_0x45d2d9['element']['focus']();});}function v(_0x29cb6a){const _0x43f5e0=_0x29cb6a['split'](':');return{'group':_0x43f5e0[0x0],'type':_0x43f5e0[0x1],'subType':_0x43f5e0['length']>=0x5?_0x43f5e0[0x2]:null,'id':_0x43f5e0['length']<0x5?_0x43f5e0[0x2]:_0x43f5e0[0x3],'authorId':_0x43f5e0['length']<0x5?_0x43f5e0[0x3]:_0x43f5e0[0x4],'markerCount':0x6==_0x43f5e0['length']?_0x43f5e0[0x5]:null};}function mt(_0x4253ec,_0x133307){const _0x3964f7=_0x4253ec['end']['nodeBefore'];if(_0x3964f7&&_0x3964f7['is']('element')&&_0x133307['schema']['isBlock'](_0x3964f7)&&!_0x133307['schema']['isObject'](_0x3964f7)){const _0x248757=_0x133307['createPositionAt'](_0x3964f7,'end');return _0x133307['createRange'](_0x4253ec['start'],_0x248757);}return _0x4253ec;}class M extends _0x125212{['afterInit'](){const _0x28e00a=this['editor'];if(!_0x28e00a['plugins']['has']('AlignmentEditing'))return;_0x28e00a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x125212{['afterInit'](){const _0x3bde30=this['editor'],_0x13f1d8=_0x3bde30['plugins']['get']('SuggestionsConversion');for(const _0x2421ac of ii){if(!_0x3bde30['plugins']['has'](_0x2421ac))continue;const _0x5cf95f=_0x2421ac['slice'](0x0,-0x7)['toLowerCase']();_0x13f1d8['registerInlineAttribute'](_0x5cf95f);}}}class I extends _0x125212{['afterInit'](){const _0x30a05f=this['editor'],_0xf44c7e=_0x30a05f['plugins']['get']('SuggestionsConversion');_0x30a05f['plugins']['has']('BookmarkEditing')&&_0xf44c7e['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x125212{['afterInit'](){const _0x3242a2=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5557fb,commandName:_0xbc4406}of no)this['editor']['plugins']['has'](_0x5557fb)&&_0x3242a2['registerInlineAttribute'](_0xbc4406);}}class T extends _0x125212{['afterInit'](){const {editor:_0x1b0054}=this;if(!_0x1b0054['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x25bb00=_0x1b0054['plugins']['get']('SuggestionsConversion');_0x25bb00['registerBlockAttribute']('footnotesListStyle'),_0x25bb00['registerBlockAttribute']('footnotesListStart');}}class E extends _0x125212{['afterInit'](){const _0x5f0a3e=this['editor'];if(!_0x5f0a3e['plugins']['has']('HighlightEditing'))return;_0x5f0a3e['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x125212{['afterInit'](){const _0x22989a=this['editor'];if(!_0x22989a['plugins']['has']('HtmlEmbed'))return;_0x22989a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x125212{['afterInit'](){const _0x169e76=this['editor'];if(!_0x169e76['plugins']['has']('ImageEditing'))return;const _0x573ed1=_0x169e76['plugins']['get']('SuggestionsConversion');_0x573ed1['registerBlockAttribute']('src'),_0x169e76['plugins']['has']('ImageResize')&&_0x573ed1['registerBlockAttribute']('resizedWidth'),_0x169e76['plugins']['has']('ImageTextAlternativeEditing')&&_0x573ed1['registerBlockAttribute']('alt'),_0x169e76['plugins']['has']('PictureEditing')&&_0x573ed1['registerBlockAttribute']('sources'),_0x169e76['plugins']['has']('ImageSizeAttributes')&&(_0x573ed1['registerBlockAttribute']('width'),_0x573ed1['registerBlockAttribute']('height'));}}class x extends _0x125212{['afterInit'](){const _0x266937=this['editor'],_0x236c1e=_0x266937['plugins']['get']('SuggestionsConversion');_0x266937['plugins']['has']('IndentBlock')&&(_0x236c1e['registerBlockAttribute']('blockIndent'),_0x266937['plugins']['has']('ListEditing')&&(_0x236c1e['registerBlockAttribute']('blockIndentList'),_0x236c1e['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x125212{['afterInit'](){const _0x1bd6e6=this['editor'];if(!_0x1bd6e6['plugins']['has']('LineHeight'))return;_0x1bd6e6['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x125212{['afterInit'](){const _0x36d7b9=this['editor'];if(!_0x36d7b9['plugins']['has']('LinkEditing'))return;const _0x5270d7=_0x36d7b9['plugins']['get']('SuggestionsConversion'),_0x3a6cf3=_0x36d7b9['commands']['get']('link');_0x5270d7['registerInlineAttribute']('linkHref');for(const _0x512279 of _0x3a6cf3['manualDecorators'])_0x5270d7['registerInlineAttribute'](_0x512279['id']);}}class P extends _0x125212{['afterInit'](){const _0x5e60b4=this['editor'];if(!_0x5e60b4['plugins']['has']('ListEditing'))return;const _0x4dae8d=_0x5e60b4['plugins']['get']('SuggestionsConversion'),_0x211e53=_0x5e60b4['plugins']['has']('TodoListEditing');_0x4dae8d['registerBlockAttribute']('listItemId'),_0x4dae8d['registerBlockAttribute']('listType'),_0x4dae8d['registerBlockAttribute']('listIndent'),_0x211e53&&_0x4dae8d['registerBlockAttribute']('todoListChecked');}}class K extends _0x125212{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x752af1=this['editor']['config']['get']('list.properties'),_0x330ed4=this['editor']['plugins']['get']('SuggestionsConversion');_0x752af1['styles']&&_0x330ed4['registerBlockAttribute']('listStyle'),_0x752af1['reversed']&&_0x330ed4['registerBlockAttribute']('listReversed'),_0x752af1['startIndex']&&_0x330ed4['registerBlockAttribute']('listStart');}}class q extends _0x125212{['afterInit'](){const _0x4bba91=this['editor'],_0x1fdb9c=_0x4bba91['plugins']['get']('SuggestionsConversion');_0x4bba91['plugins']['has']('MultiLevelList')&&_0x1fdb9c['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x125212{['afterInit'](){const _0x179f0a=this['editor'];if(!_0x179f0a['plugins']['has']('Style')||!_0x179f0a['plugins']['has']('DataSchema')||!_0x179f0a['config']['get']('style.definitions'))return;const _0xb582ef=_0x179f0a['plugins']['get']('SuggestionsConversion'),_0x4b0c76=_0x179f0a['config']['get']('style.definitions'),_0xd03db2=_0x179f0a['plugins']['get']('GeneralHtmlSupport'),_0x1b309f=_0x179f0a['plugins']['get']('StyleUtils')['normalizeConfig'](_0x179f0a['plugins']['get']('DataSchema'),_0x4b0c76),_0x3ae2c8=new Set();for(const _0x1a173c of _0x1b309f['block']){const _0x175153=_0xd03db2['getGhsAttributeNameForElement'](_0x1a173c['element']);_0x3ae2c8['add'](_0x175153);}const _0x512f3e=new Set();for(const _0x3a5370 of _0x1b309f['inline']){const _0x249de4=_0xd03db2['getGhsAttributeNameForElement'](_0x3a5370['element']);_0x512f3e['add'](_0x249de4);for(const _0x1e154b of _0x3a5370['ghsAttributes'])_0x512f3e['add'](_0x1e154b);}for(const _0x531413 of _0x3ae2c8)_0xb582ef['registerBlockAttribute'](_0x531413);for(const _0x3e8ef2 of _0x512f3e)_0xb582ef['registerInlineAttribute'](_0x3e8ef2);}}class O extends _0x125212{['afterInit'](){const _0x1187ac=this['editor'];if(!_0x1187ac['plugins']['has']('TableEditing'))return;const _0x2fbda0=_0x1187ac['plugins']['get']('SuggestionsConversion');_0x2fbda0['registerBlockAttribute']('headingRows'),_0x2fbda0['registerBlockAttribute']('headingColumns');}}class R extends _0x125212{['afterInit'](){const {plugins:_0x26facd}=this['editor'];if(!_0x26facd['has']('TablePropertiesEditing'))return;const _0x1e5622=_0x26facd['get']('SuggestionsConversion'),_0x320116=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x157c55 of _0x320116)_0x1e5622['registerBlockAttribute'](_0x157c55);}}class F extends _0x125212{['afterInit'](){const _0x4b956f=this['editor'],_0x2dd69b=_0x4b956f['plugins']['get']('SuggestionsConversion');_0x4b956f['plugins']['has']('TableLayout')&&_0x2dd69b['registerBlockAttribute']('tableType');}}class G extends _0x125212{['afterInit'](){const _0x5e60f7=this['editor'],_0x4a5843=this['editor']['plugins']['get']('SuggestionsConversion');_0x5e60f7['plugins']['has']('Uploadcare')&&_0x5e60f7['plugins']['has']('UploadcareImageEdit')&&_0x4a5843['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x125212{['afterInit'](){const _0x28acda=this['editor'];if(!_0x28acda['plugins']['has']('ShiftEnter'))return;const _0x3f1cb4=_0x28acda['plugins']['get']('SuggestionsConversion'),_0xba8e38=(_0x323995,_0x3ae5f6,_0x171f5d,_0x269185)=>{if(_0x269185&&!_0x171f5d['options']['showSuggestionHighlights'])return;if(!_0x171f5d['consumable']['test'](_0x3ae5f6['markerRange'],_0x323995['name']))return;const _0x3243d0=_0x28acda['model'];for(const _0x13404d of _0x3ae5f6['markerRange']['getItems']()){if(!_0x13404d['is']('element','softBreak'))continue;const _0x45b1dc='deletion'==_0x3ae5f6['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x274164,authorId:_0xeddc89}=v(_0x3ae5f6['markerName']),_0xf45a17=_0x171f5d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x45b1dc,'data-suggestion':_0x274164,'data-author-id':_0xeddc89}),_0x347792=_0x171f5d['mapper']['toViewPosition'](_0x3243d0['createPositionBefore'](_0x13404d));!_0x269185&&_0x3f1cb4['_activeMarkers']['includes'](_0x3ae5f6['markerName'])&&_0x171f5d['writer']['addClass']('ck-suggestion-marker--active',_0xf45a17),_0x171f5d['writer']['insert'](_0x347792,_0xf45a17),_0x171f5d['mapper']['bindElementToMarker'](_0xf45a17,_0x3ae5f6['markerName']);}};_0x28acda['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x17032b,_0x5e0f22,_0x364553)=>{_0xba8e38(_0x17032b,_0x5e0f22,_0x364553,!0x1);},{'priority':'high'}),_0x28acda['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1aedbd,_0x1b0cec,_0x1a8c07)=>{_0xba8e38(_0x1aedbd,_0x1b0cec,_0x1a8c07,!0x0);},{'priority':'high'});}}class L extends _0x125212{['afterInit'](){const _0x58808b=this['editor'];_0x58808b['plugins']['has']('MediaEmbedEditing')&&(_0x58808b['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1170cb,{writer:_0x53e7a5,options:_0x323e53})=>{if(_0x323e53['showSuggestionHighlights'])return _0x53e7a5['createEmptyElement']('div');},'converterPriority':'high'}),_0x58808b['data']['downcastDispatcher']['on']('attribute:url:media',(_0x52f4bb,_0x695ee5,_0x38bae5)=>{_0x38bae5['options']['showSuggestionHighlights']&&_0x52f4bb['stop']();},{'priority':'high'}));}}class Q extends _0x125212{['afterInit'](){const _0x4971f6=this['editor'];if(!_0x4971f6['plugins']['has']('Table'))return;_0x4971f6['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1fb4d9,_0x3b2350,_0x769b10)=>{((_0x11bd1d,_0x449572,_0x5a79c7)=>{if(!_0x5a79c7['options']['showSuggestionHighlights'])return;const _0x100739=_0x449572['item'];if(!_0x100739||!_0x100739['is']('element','tableCell'))return;const _0x474608=_0x5a79c7['mapper']['toViewElement'](_0x100739);if(_0x474608){const {id:_0x331b8e,authorId:_0x47dd11}=v(_0x449572['markerName']);at(_0x474608,_0x5a79c7['writer'],(_0x55a31f,_0x7997a9,_0x4acf3d)=>{_0x4acf3d['addClass'](rt(_0x7997a9['classes']),_0x55a31f),_0x4acf3d['setAttribute']('data-suggestion-id',_0x331b8e,_0x55a31f),_0x4acf3d['setAttribute']('data-author-id',_0x47dd11,_0x55a31f);});}})(0x0,_0x3b2350,_0x769b10);},{'priority':'highest'});}}class V extends _0x125212{['afterInit'](){const _0x25e57e=this['editor'];_0x25e57e['plugins']['has']('HorizontalLineEditing')&&_0x25e57e['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x34b9ac,{writer:_0x28f257,options:_0x549adc})=>{if(!_0x549adc['showSuggestionHighlights'])return null;const _0x4d4d10=_0x28f257['createContainerElement']('div'),_0x4f332e=_0x28f257['createEmptyElement']('hr');return _0x28f257['addClass']('ck-horizontal-line',_0x4d4d10),_0x28f257['insert'](_0x28f257['createPositionAt'](_0x4d4d10,0x0),_0x4f332e),_0x4d4d10;},'converterPriority':'high'});}}class W extends _0x125212{['afterInit'](){const {plugins:_0x335d8c,model:_0x2d72a8}=this['editor'];if(!_0x335d8c['has']('TableCellPropertiesEditing'))return;const _0x5448b7=_0x335d8c['get']('SuggestionsConversion'),_0x5a2970=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x4a04d7 of _0x5a2970)_0x5448b7['registerBlockAttribute'](_0x4a04d7);_0x2d72a8['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5448b7['registerBlockAttribute']('tableCellType');}}class kt extends _0x125212{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x130eaf=this['editor'],_0x444358=(_0x1586ed,_0x1834cd,_0x54728d)=>{const {id:_0x2736ed,authorId:_0x4b40eb,type:_0x5f569c,subType:_0x9c7c94}=v(_0x1586ed['markerName']),_0x282848=['ck-suggestion-marker',this['_getClassName'](_0x5f569c,_0x9c7c94)];let _0x378ad7=0xbb8;return!_0x54728d&&(this['_activeMarkers']['includes'](_0x1586ed['markerName'])&&(_0x282848['push']('ck-suggestion-marker--active'),_0x378ad7=0xbc2)),('deletion'==_0x5f569c&&(_0x378ad7+=0x5),{'classes':_0x282848,'attributes':{'data-suggestion':_0x2736ed,'data-author-id':_0x4b40eb},'priority':_0x378ad7});};_0x130eaf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x8eda51,_0x4774f4)=>_0x444358(_0x8eda51,0x0,!0x1)}),_0x130eaf['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xbc5810,_0x601f8c)=>_0x444358(_0xbc5810,0x0,!0x0)}),_0x130eaf['conversion']['for']('dataDowncast')['add'](_0xbd0878=>{_0xbd0878['on']('addMarker:suggestion',(_0x33374d,_0x51d775,_0xcb2a61)=>{if(!_0xcb2a61['options']['showSuggestionHighlights'])return;const _0x4fc020=_0x51d775['item'];if(!_0x4fc020)return;const _0x2196d4=_0xcb2a61['mapper']['toViewElement'](_0x4fc020);_0x130eaf['model']['schema']['isObject'](_0x4fc020)&&_0x2196d4&&!_0x2196d4['getCustomProperty']('widget')&&_0x2196d4['is']('containerElement')&&_0x17e815(_0x2196d4,_0xcb2a61['writer']);},{'priority':'high'});});const _0x23c4cb=(_0x17c474,_0x5c4870,_0x1849e7,_0xda4925,_0x443b63)=>{if(_0xda4925&&!_0x1849e7['options']['showSuggestionHighlights'])return;if(!_0x5c4870['item'])return;const {id:_0x3d84ba,authorId:_0x388a52,subType:_0x1c5dad}=v(_0x5c4870['markerName']);if(_0x443b63){const _0xfd9ce5=_0x1c5dad['split']('|')[0x0];if(!this['isBlockAttribute'](_0xfd9ce5))return;}if(_0x5c4870['item']['is']('selection'))return void _0x1849e7['consumable']['consume'](_0x5c4870['item'],_0x17c474['name']);const _0x494cca=_0x1849e7['mapper']['toViewElement'](_0x5c4870['item']);if(_0x5c4870['item']['is']('element')&&_0x130eaf['model']['schema']['isBlock'](_0x5c4870['item'])&&!_0x494cca['getCustomProperty']('addHighlight')){_0x1849e7['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x494cca),_0x1849e7['writer']['setAttribute']('data-suggestion',_0x3d84ba,_0x494cca),_0x1849e7['writer']['setAttribute']('data-author-id',_0x388a52,_0x494cca),_0x1849e7['mapper']['bindElementToMarker'](_0x494cca,_0x5c4870['markerName']),_0xda4925||(this['_activeMarkers']['includes'](_0x5c4870['markerName'])?_0x1849e7['writer']['addClass']('ck-suggestion-marker--active',_0x494cca):_0x1849e7['writer']['removeClass']('ck-suggestion-marker--active',_0x494cca));for(const _0x50dc22 of _0x130eaf['model']['createRangeIn'](_0x5c4870['item'])['getItems']())_0x1849e7['consumable']['consume'](_0x50dc22,_0x17c474['name']);_0x1849e7['consumable']['consume'](_0x5c4870['item'],_0x17c474['name']);}},_0x1667e8=(_0x2b75ca,_0x470653,_0x5ac776,_0x44a07a)=>{const _0x3bc4a0=_0x5ac776['mapper']['markerNameToElements'](_0x470653['markerName']);if(_0x3bc4a0){if(_0x44a07a){const {subType:_0xcb95ed}=v(_0x470653['markerName']),_0x34f733=_0xcb95ed['split']('|')[0x0];if(!this['isBlockAttribute'](_0x34f733))return;}for(const _0x47390d of _0x3bc4a0)_0x47390d['getCustomProperty']('addHighlight')||(_0x5ac776['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x47390d),_0x5ac776['writer']['removeAttribute']('data-suggestion',_0x47390d),_0x5ac776['writer']['removeAttribute']('data-author-id',_0x47390d),_0x5ac776['mapper']['unbindElementFromMarkerName'](_0x47390d,_0x470653['markerName']));}};_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x5ebe6b=>{_0x5ebe6b['on']('addMarker:suggestion:formatBlock',(_0x170270,_0x3446d0,_0x4c5e1a)=>{_0x23c4cb(_0x170270,_0x3446d0,_0x4c5e1a,!0x1,!0x1);},{'priority':'high'});}),_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x527b3b=>{_0x527b3b['on']('addMarker:suggestion:attribute',(_0xcba1a8,_0x573d99,_0x1da38a)=>{_0x23c4cb(_0xcba1a8,_0x573d99,_0x1da38a,!0x1,!0x0);},{'priority':'high'});}),_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x573ca4=>{_0x573ca4['on']('removeMarker:suggestion:formatBlock',(_0x208863,_0x4d1cb0,_0x2f7752)=>{_0x1667e8(0x0,_0x4d1cb0,_0x2f7752,!0x1);},{'priority':'high'});}),_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x36ca40=>{_0x36ca40['on']('removeMarker:suggestion:attribute',(_0x1a8f7e,_0x52b1cd,_0x3c9562)=>{_0x1667e8(0x0,_0x52b1cd,_0x3c9562,!0x0);},{'priority':'high'});}),_0x130eaf['conversion']['for']('dataDowncast')['add'](_0x4cf71a=>{_0x4cf71a['on']('addMarker:suggestion:formatBlock',(_0x115cd8,_0x21345c,_0x20035a)=>{_0x23c4cb(_0x115cd8,_0x21345c,_0x20035a,!0x0,!0x1);},{'priority':'highest'});}),_0x130eaf['conversion']['for']('dataDowncast')['add'](_0xd139fd=>{_0xd139fd['on']('addMarker:suggestion:attribute',(_0x2bda71,_0x3d1b67,_0x5866e7)=>{_0x23c4cb(_0x2bda71,_0x3d1b67,_0x5866e7,!0x0,!0x0);},{'priority':'highest'});}),_0x130eaf['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x5bfa0d,_0x194b1f)=>{if(_0x194b1f['options']['showSuggestionHighlights']){const {id:_0x592a0a,authorId:_0x4c164a}=v(_0x5bfa0d);return _0x5bfa0d['includes'](':split')||_0x5bfa0d['includes'](':merge')?{'group':'suggestion','name':_0x5bfa0d['substr'](0xb),'attributes':{'data-suggestion':_0x592a0a,'data-author-id':_0x4c164a}}:null;}return{'group':'suggestion','name':_0x5bfa0d['substr'](0xb)};}});const _0x44b318=(_0x196c5e,_0x4468c3,_0x13952d,_0x1d22f3,_0x4e7f1e)=>{if(_0x1d22f3&&!_0x13952d['options']['showSuggestionHighlights'])return;if(!_0x13952d['consumable']['test'](_0x4468c3['markerRange'],_0x196c5e['name']))return;const _0x549678=this['_activeMarkers'],_0x423eba=_0x4468c3['markerRange']['getWalker'](),_0x970e1d=_0x4468c3['markerRange']['start'],_0x4574ad=_0x130eaf['model']['schema'];let _0x22c060=null,_0x1329f3=null,_0x3bed19=!0x1,_0x3c78f7=!0x1;for(const _0x4ac982 of _0x423eba){const _0xe23921=_0x4ac982['item'];_0x3bed19=_0x3bed19||_0x4574ad['isContent'](_0xe23921);const _0x231e44=_0x13952d['mapper']['toViewElement'](_0xe23921);if(_0x231e44&&_0x231e44['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4ac982['type']&&(_0x4574ad['isBlock'](_0xe23921)&&!_0x4574ad['isLimit'](_0xe23921)&&(_0xe23921['nextSibling']||_0x970e1d['isAtEnd']?_0x22c060&&_0x22c060['parent']==_0xe23921||(_0x22c060=_0xe23921,_0x2a1b07(_0x4ac982['previousPosition']),_0x3c78f7=!0x0):_0x1329f3=_0x1329f3||_0x4ac982['previousPosition']));}function _0x2a1b07(_0x5baef2){const {id:_0x330d6e,authorId:_0x2e3f42}=v(_0x4468c3['markerName']),_0x2c489a=_0x13952d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e7f1e,'data-suggestion':_0x330d6e,'data-author-id':_0x2e3f42}),_0x43bca5=_0x13952d['mapper']['toViewPosition'](_0x5baef2);!_0x1d22f3&&_0x549678['includes'](_0x4468c3['markerName'])&&_0x13952d['writer']['addClass']('ck-suggestion-marker--active',_0x2c489a),_0x13952d['writer']['insert'](_0x43bca5,_0x2c489a),_0x13952d['mapper']['bindElementToMarker'](_0x2c489a,_0x4468c3['markerName']);}_0x3bed19||_0x3c78f7||!_0x1329f3||_0x2a1b07(_0x1329f3);};_0x130eaf['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4e3c5f,_0x3c61f5,_0x45d43a)=>{_0x44b318(_0x4e3c5f,_0x3c61f5,_0x45d43a,!0x1,'merge');},{'priority':'high'}),_0x130eaf['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2d421c,_0x3a7fc6,_0x5bef20)=>{_0x44b318(_0x2d421c,_0x3a7fc6,_0x5bef20,!0x0,'merge');},{'priority':'high'}),_0x130eaf['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1c351a,_0x4f639a,_0x8a2388)=>{_0x44b318(_0x1c351a,_0x4f639a,_0x8a2388,!0x1,'split');},{'priority':'high'}),_0x130eaf['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x484a34,_0x286aaa,_0x292a23)=>{_0x44b318(_0x484a34,_0x286aaa,_0x292a23,!0x0,'split');},{'priority':'high'}),_0x130eaf['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x41bd2,_0x40bac1,_0x1a3d61)=>{((_0x50b2de,_0x4e71ea,_0x2c3d98)=>{const _0x1d68be=_0x2c3d98['mapper']['markerNameToElements'](_0x4e71ea['markerName']);if(_0x1d68be){for(const _0x31d37a of _0x1d68be)(_0x31d37a['hasClass']('ck-suggestion-marker-split')||_0x31d37a['hasClass']('ck-suggestion-marker-merge'))&&(_0x2c3d98['mapper']['unbindElementFromMarkerName'](_0x31d37a,_0x4e71ea['markerName']),_0x2c3d98['writer']['remove'](_0x31d37a));}})(0x0,_0x40bac1,_0x1a3d61);},{'priority':'high'});const _0x9ae832=(_0x43e1f3,_0x1419ad,_0x10daa3,_0x443b23)=>{if(_0x443b23&&!_0x10daa3['options']['showSuggestionHighlights'])return;const _0x40c21c=_0x1419ad['markerRange']['start'],_0x4f6ece=_0x1419ad['markerRange']['end'],_0x5e5b05=_0x130eaf['model']['schema'];if(!_0x40c21c['isTouching'](_0x4f6ece)||!_0x40c21c['nodeAfter'])return;const _0x1a93ec=_0x40c21c['nodeAfter'];if(_0x5e5b05['isBlock'](_0x1a93ec)&&!_0x5e5b05['isLimit'](_0x1a93ec)&&_0x5e5b05['checkChild'](_0x1a93ec,'$text')){if(!_0x10daa3['consumable']['consume'](_0x1419ad['markerRange'],_0x43e1f3['name']))return;const {id:_0x25ecc4,authorId:_0x216f10}=v(_0x1419ad['markerName']),_0x3af0a1=_0x10daa3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x25ecc4,'data-author-id':_0x216f10}),_0x145ae8=_0x10daa3['mapper']['toViewPosition'](_0x4f6ece);!_0x443b23&&this['_activeMarkers']['includes'](_0x1419ad['markerName'])&&_0x10daa3['writer']['addClass']('ck-suggestion-marker--active',_0x3af0a1),_0x10daa3['writer']['insert'](_0x145ae8,_0x3af0a1),_0x10daa3['mapper']['bindElementToMarker'](_0x3af0a1,_0x1419ad['markerName']);}};_0x130eaf['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1103f3,_0x3f4fde,_0x5bb4e2)=>{_0x9ae832(_0x1103f3,_0x3f4fde,_0x5bb4e2,!0x1);},{'priority':'high'}),_0x130eaf['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x30f485,_0x128c80,_0x233669)=>{_0x9ae832(_0x30f485,_0x128c80,_0x233669,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x559914,_0x32492,_0x2a23ca)=>{this['_activeMarkers']=_0x2a23ca['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0xf22c3e){this['_blockAttributeKeys']['add'](_0xf22c3e);}['registerInlineAttribute'](_0x330877){this['_inlineAttributeKeys']['add'](_0x330877);}['isBlockAttribute'](_0x5a149a){return this['_blockAttributeKeys']['has'](_0x5a149a);}['isInlineAttribute'](_0x6b6772){return this['_inlineAttributeKeys']['has'](_0x6b6772);}['isRegisteredAttribute'](_0x108d84){return this['isInlineAttribute'](_0x108d84)||this['isBlockAttribute'](_0x108d84);}['_getClassName'](_0x453632,_0x438031){if('attribute'!=_0x453632)return'ck-suggestion-marker-'+_0x453632;const _0x439717=_0x438031['split']('|')[0x0];return this['isBlockAttribute'](_0x439717)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x15b849={},_0x2343f0){if(void 0x0!==_0x15b849['dateTimeFormat']&&'function'!=typeof _0x15b849['dateTimeFormat'])throw new _0x4b3cdf('invalid-date-time-format');return _0x44f197=>{const _0x27e3bf='string'==typeof _0x44f197?tt['fromISO'](_0x44f197):tt['fromJSDate'](_0x44f197),_0x2c87bd=tt['now'](),_0xf10fe7=Math['floor'](_0x2c87bd['diff'](_0x27e3bf,'days')['days']);return _0x15b849['dateTimeFormat']?_0x15b849['dateTimeFormat'](_0x27e3bf['toJSDate'](),_0x2343f0&&_0x2343f0['t']?_0x2343f0['t']:void 0x0):0x0===_0xf10fe7?_0x2343f0?U(_0x2343f0,'Today')+'\x20'+_0x27e3bf['toFormat']('hh:mma'):_0x27e3bf['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0xf10fe7?_0x2343f0?U(_0x2343f0,'Yesterday')+'\x20'+_0x27e3bf['toFormat']('hh:mma'):_0x27e3bf['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0xf10fe7<0x7?_0x2343f0?U(_0x2343f0,'Last')+'\x20'+U(_0x2343f0,_0x27e3bf['toFormat']('EEEE'))+'\x20'+_0x27e3bf['toFormat']('hh:mma'):_0x27e3bf['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x27e3bf['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x5abee4,_0x184ba8){const _0x20412a=_0x5abee4['mapper']['markerNameToElements'](_0x184ba8['name']);if(!_0x20412a)return null;const _0x25d092=_0x4bc8c2(_0x20412a['values']());return _0x5abee4['view']['domConverter']['mapViewToDom'](_0x25d092)||null;}function wt(_0x3ceb9a,_0x5394de){if(0x0===_0x5394de['length'])return null;const _0x4564f2=[],_0xef3032=_0x3ceb9a['view']['domConverter'];for(const _0x42a1d1 of _0x5394de){const _0x3e3fd5=_0x3ceb9a['mapper']['markerNameToElements'](_0x42a1d1['name']);if(!_0x3e3fd5)continue;const _0x22992f=Array['from'](_0x3e3fd5)['map'](_0x2beb04=>_0xef3032['mapViewToDom'](_0x2beb04))['filter'](_0x27e8ad=>!!_0x27e8ad);_0x4564f2['push'](..._0x22992f);}if(0x0===_0x4564f2['length'])return null;const _0x237a66=[];for(const _0x973adc of _0x4564f2){const _0x3c9191=_0x973adc['getClientRects']()['item'](0x0);_0x3c9191&&_0x237a66['push']({'x':_0x3c9191['x'],'y':_0x3c9191['y'],'domElement':_0x973adc});}return 0x0===_0x237a66['length']?null:(_0x237a66['sort']((_0x380348,_0x16fc57)=>_0x380348['y']-_0x16fc57['y']||_0x380348['x']-_0x16fc57['x']),_0x237a66['map'](_0x1fb6c2=>_0x1fb6c2['domElement']));}function bt(_0x276cf7,{limit:_0xf2cfa4,suffix:_0xcd05a1='...'}){const _0x1d71fb=[];let _0x42e950=0x0;const _0x4cf182=_0x276cf7['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x24957d=0x0;_0x24957d<_0x4cf182['length'];_0x24957d++){let _0x2d944e=_0x4cf182[_0x24957d];const _0x1f47cf=tn(_0x2d944e);if(_0x2d944e['startsWith']('<')){if(_0x42e950>=_0xf2cfa4){const _0x2d7e9d=_0x2d944e['match'](/[a-zA-Z]+/);if(!_0x2d7e9d){_0x4cf182[_0x24957d]='';continue;}const _0x4630a7=_0x2d7e9d[0x0];_0x2d944e['startsWith']('</')?(_0x1d71fb['length']&&(_0x2d944e=''),_0x1d71fb['pop']()):(_0x1d71fb['push'](_0x4630a7),_0x2d944e='');}}else{if(_0x42e950>=_0xf2cfa4)_0x2d944e='';else{if(_0x42e950+_0x1f47cf['length']>=_0xf2cfa4){let _0x1d8541=_0xf2cfa4-_0x42e950;if('\x20'===_0x1f47cf[_0x1d8541-0x1])_0x1d8541--;else{const _0x234935=_0x1f47cf['slice'](_0x1d8541)['indexOf']('\x20');-0x1!==_0x234935?_0x1d8541+=_0x234935:_0x1d8541=_0x2d944e['length'];}_0x2d944e=_0x1f47cf['slice'](0x0,_0x1d8541)['join']('')+_0xcd05a1,_0x42e950=_0xf2cfa4;}else _0x42e950+=_0x1f47cf['length'];}}_0x4cf182[_0x24957d]=_0x2d944e;}return _0x4cf182['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x3e3e4e){const _0xbb4153=[];for(let _0x5df728=0x0;_0x5df728<_0x3e3e4e['length'];_0x5df728++){const _0x585603=_0x3e3e4e['substring'](_0x5df728)['match'](/^&[a-z0-9#]+;/);if(_0x585603){const _0x46b0a9=_0x585603[0x0];_0xbb4153['push'](_0x46b0a9),_0x5df728+=_0x46b0a9['length']-0x1;}else _0xbb4153['push'](_0x3e3e4e[_0x5df728]);}return _0xbb4153;}class X extends _0x3fc88d{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x1acaa3){super(_0x1acaa3);const _0x53145e=this['bindTemplate'];this['set']('message',U(_0x1acaa3,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1acaa3,U(_0x1acaa3,'Yes'),_0x2b8e36,'submit'),this['cancelView']=this['_createButtonView'](_0x1acaa3,U(_0x1acaa3,'No'),_0x423d6e,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x5ed173(),this['keystrokes']=new _0x2ed7d2(),this['focusCycler']=new _0x1ea549({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x53145e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x1a6770,_0x304975,_0x2ca778,_0x1e17b1){const _0x5d1d7a=new ts(_0x1a6770);return _0x5d1d7a['label']=_0x304975,_0x5d1d7a['icon']=_0x2ca778,_0x5d1d7a['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x1e17b1}}),_0x5d1d7a['on']('execute',()=>this['fire'](_0x1e17b1)),_0x5d1d7a;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2e70dd=>{this['keystrokes']['listenTo'](_0x2e70dd['element']),this['focusTracker']['add'](_0x2e70dd['element']);}),this['keystrokes']['set']('esc',(_0x25908c,_0x59905b)=>{this['fire']('cancel'),_0x59905b();});}}function vt(_0x3a86b4){return class extends _0x3a86b4{['showConfirm'](_0x68d738,_0x3a7e54){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x68d738,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3a7e54['appendChild'](this['confirmView']['element']),_0x3a7e54['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3e464f,_0x312d43,_0x754818)=>{_0x754818||_0x3a7e54['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1180a9=>this['confirmView']['on']('submit',_0x1180a9));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x4890e1){let _0x3dced5=0x0,_0x15c0dd=0x0;for(const _0x2a158e of ne(_0x4890e1))_0x3dced5=(_0x3dced5<<0x5)-_0x3dced5+_0x2a158e,_0x3dced5&=_0x3dced5,[_0x3dced5,_0x15c0dd]=[_0x15c0dd,_0x3dced5];return ie(_0x3dced5)+ie(_0x15c0dd);}function*ee(_0x21ef99){null==_0x21ef99||null==_0x21ef99?yield 0x12b9b0a1:0x0===_0x21ef99||!0x1===_0x21ef99?yield 0x0:0x1===_0x21ef99||0x1==_0x21ef99?yield 0x1:Array['isArray'](_0x21ef99)?yield*function*(_0x14839f){for(const _0x279933 of _0x14839f)yield*ee(_0x279933);}(_0x21ef99):'object'==typeof _0x21ef99?yield*ne(_0x21ef99):'string'==typeof _0x21ef99?yield*oe(_0x21ef99):'number'==typeof _0x21ef99&&(yield _0x21ef99);}function*ne(_0x37b0c3){if(yield te('{'),_0x37b0c3){const _0x58b2c1=Object['keys'](_0x37b0c3)['sort']();for(const _0x58f62c of _0x58b2c1){yield*oe(_0x58f62c),yield te(':');const _0x3be153=_0x37b0c3[_0x58f62c];yield*ee(_0x3be153);}}yield te('}');}function*oe(_0x4fde11){yield te('\x22');for(const _0xf6625b of _0x4fde11)yield te(_0xf6625b);yield te('\x22');}function te(_0x4f50b7){return _0x4f50b7['charCodeAt'](0x0);}function ie(_0x90979){return(_0x90979*=Math['sign'](_0x90979))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x1e79a5,_0x56cb46,_0x42fbe0,_0x3bfae4=[]){const _0x3a4826='string'==typeof _0x1e79a5?_0x42fbe0['get'](_0x1e79a5)['constructor']:_0x1e79a5['prototype']['constructor'];if(_0x56cb46['has'](_0x3a4826))return _0x56cb46['get'](_0x3a4826);_0x56cb46['set'](_0x3a4826,!0x0);const _0x4ad5de=[...et,..._0x3bfae4]['map'](_0xe81737=>{if(_0x42fbe0['has'](_0xe81737))return _0x42fbe0['get'](_0xe81737)['constructor'];})['filter'](_0x454f96=>_0x454f96);if(_0x3a4826&&_0x4ad5de['includes'](_0x3a4826))return _0x56cb46['set'](_0x3a4826,!0x1),!0x1;if(!_0x3a4826['requires'])return _0x56cb46['set'](_0x3a4826,!0x0),!0x0;const _0x5293e4=_0x3a4826['requires']['every'](_0x3dbef2=>ot(_0x3dbef2,_0x56cb46,_0x42fbe0,_0x3bfae4));return _0x56cb46['set'](_0x3a4826,_0x5293e4),_0x5293e4;}function Ct(_0x28c37a,_0x5b91c5){const _0x20e2de={};for(const _0x585738 of _0x28c37a['config']['names']())nt['includes'](_0x585738)||(_0x20e2de[_0x585738]=_0x28c37a['config']['get'](_0x585738));const _0x193a0e=_0x20e2de['plugins']||[],_0x3eca25=_0x28c37a['constructor']['builtinPlugins']||[],_0x3de621=_0x193a0e['length']?_0x193a0e:_0x3eca25,_0x271f87=_0x20e2de['extraPlugins']||[];delete _0x20e2de['extraPlugins'];const _0x552e57=_0x20e2de['removePlugins']||[];delete _0x20e2de['removePlugins'];const _0x5f05b3=_0x28c37a['_context']['config']['get']('plugins')||[],_0x1a81ea=_0x3de621['concat'](_0x271f87)['concat'](_0x5f05b3)['map'](_0x6d3b4e=>'string'==typeof _0x6d3b4e?_0x3eca25['find'](_0x381e0b=>_0x381e0b['pluginName']==_0x6d3b4e):_0x6d3b4e)['filter'](_0x127a19=>!_0x552e57['includes'](_0x127a19)&&!_0x552e57['includes'](_0x127a19['pluginName'])),_0x1074d9=Array['from'](new Set(_0x1a81ea)),_0xacdc66=new Map();return _0x20e2de['plugins']=_0x1074d9['filter'](_0x327600=>ot(_0x327600,_0xacdc66,_0x28c37a['plugins'],_0x5b91c5)),_0x20e2de;}function xt(_0x595970,_0x4b32c8){const _0x42af1e=[];_0x595970['document']['selection']['on']('change:range',()=>{const _0x40fad4=function(_0x50a5f1,_0xb27600){const _0x57d0d1=[];for(const _0x57e20a of _0x50a5f1['markers']){const _0x20e344=_0x57e20a['getRange']();(_0x20e344['containsPosition'](_0xb27600)||_0x20e344['start']['isEqual'](_0xb27600)||_0x20e344['end']['isEqual'](_0xb27600))&&_0x57d0d1['push'](_0x57e20a);}return _0x57d0d1;}(_0x595970,_0x595970['document']['selection']['focus']),_0x208780=[],_0x2f9ff1=[],_0x41e5d0=[];for(const _0x4598b7 of _0x42af1e)_0x40fad4['includes'](_0x4598b7)||_0x208780['push'](_0x4598b7);for(const _0x282b33 of _0x40fad4)_0x42af1e['includes'](_0x282b33)||_0x2f9ff1['push'](_0x282b33),_0x41e5d0['push'](_0x282b33);(_0x208780['length']||_0x2f9ff1['length'])&&_0x4b32c8({'left':_0x208780,'entered':_0x2f9ff1}),_0x42af1e['length']=0x0,_0x42af1e['push'](..._0x41e5d0);});}const It='Ctrl+Shift+E';function _t(_0x1dcb66,_0x4203b5){const _0x5cdab1=_0x1dcb66['element'];_0x1dcb66['keystrokes']['listenTo'](_0x5cdab1);for(const _0x30cc5e of _0x4203b5)ro(_0x1dcb66,_0x30cc5e);_0x4203b5['on']('change',(_0x1e92b5,_0x4d4d7b)=>{for(const _0x531fc0 of _0x4d4d7b['removed'])to(_0x1dcb66,_0x531fc0);for(const _0xdf595f of Array['from'](_0x4d4d7b['added'])['reverse']())ro(_0x1dcb66,_0xdf595f);}),_0x1dcb66['keystrokes']['set']('enter',(_0x7e3dfb,_0x26fe01)=>{_0x5cdab1===_0x7e3dfb['target']&&(_0x1dcb66['focusCycler']['focusFirst'](),_0x26fe01());},{'filter':_0x515798=>_0x515798['target']===_0x5cdab1}),_0x1dcb66['keystrokes']['set']('esc',(_0x2c2cf3,_0xcbed73)=>{_0x5cdab1!==_0x2c2cf3['target']?_0x1dcb66['focus']():_0x1dcb66['fire']('escape'),_0xcbed73();}),_0x1dcb66['keystrokes']['set']('arrowdown',(_0x5c1105,_0x45b1a1)=>{_0x5cdab1===_0x5c1105['target']&&(_0x1dcb66['fire']('arrowdown'),_0x45b1a1());}),_0x1dcb66['keystrokes']['set']('arrowup',(_0x59ede3,_0x293455)=>{_0x5cdab1===_0x59ede3['target']&&(_0x1dcb66['fire']('arrowup'),_0x293455());});}function ro(_0x5bbbad,_0x68adc2){_0x68adc2['isRendered']&&(_0x5bbbad['focusTracker']['add'](_0x68adc2['element']),_0x5bbbad['keystrokes']['listenTo'](_0x68adc2['element']),_0x5dea2b(_0x68adc2)&&function(_0x1ca0f5,_0x274569){const _0x16a7a7=_0x1ca0f5['actions'],_0x31d481=_0x274569['actions'];for(const _0x23d532 of Object['keys'](_0x16a7a7))if(_0x23d532 in _0x31d481&&_0x16a7a7[_0x23d532]!==_0x31d481[_0x23d532])return!0x1;return!0x0;}(_0x5bbbad['focusCycler'],_0x68adc2['focusCycler'])&&_0x5bbbad['focusCycler']['chain'](_0x68adc2['focusCycler']));}function to(_0x3b0eae,_0x513efb){_0x3b0eae['focusTracker']['remove'](_0x513efb['element']),_0x3b0eae['keystrokes']['stopListening'](_0x513efb['element']),_0x5dea2b(_0x513efb)&&_0x3b0eae['focusCycler']['unchain'](_0x513efb['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x30cb59{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x5ba126?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x16c75e,_0x391e3a)=>{_0x391e3a['on']('ready',()=>{this['_integrateEditor'](_0x391e3a);});});}get['editor'](){if(this['context']instanceof _0x5ba126)return this['context'];{const _0xde048=this['context']['editors']['first'];if(!_0xde048)throw new _0x4b3cdf('documentcompare-no-editor',this);return _0xde048;}}['getDiff'](_0x4438f6,_0x394d08,_0x32a3df={'anchor':'main','markDeletions':!0x1}){let _0x4d94f9,_0x5b1acb;const _0x5ef679=this['editor'];if('string'==typeof _0x32a3df['anchor']){const _0x5b0b90=_0x5ef679['model']['document']['getRoot'](_0x32a3df['anchor']);if(!_0x5b0b90)throw new _0x4b3cdf('documentcompare-compare-no-root',this,{'anchor':_0x32a3df['anchor']});_0x4d94f9=_0x5b0b90,_0x5b1acb=_0x5ef679['model']['createPositionAt'](_0x5b0b90,0x0);}else _0x4d94f9=_0x32a3df['anchor']['clone'](),_0x5b1acb=_0x32a3df['anchor']['clone']();const _0x17c123=_0x5ef679['data']['parse'](_0x4438f6,_0x4d94f9),_0x430d84=_0x5ef679['data']['parse'](_0x394d08,_0x4d94f9);return new Mt(_0x17c123,_0x430d84,_0x5ef679,{'anchor':_0x5b1acb,'markDeletions':_0x32a3df['markDeletions']});}['isMarkedRemoveOperation'](_0x537b21){return'marker'==_0x537b21['type']&&_0x537b21['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x59f915){_0x59f915['conversion']['for']('upcast')['add'](_0x2527da=>{_0x2527da['on']('element',(_0x7bcd27,_0x14aa22,_0xa5e24d)=>{if(_0x14aa22['modelRange'])for(const _0x5c7cbb of _0x14aa22['modelRange']['getItems']({'shallow':!0x0})){if(_0x5c7cbb['is']('$textProxy'))continue;const _0x1e59d9=_0x14aa22['viewItem']['getAttribute'](Et);_0x1e59d9&&_0xa5e24d['writer']['setAttribute'](St,_0x1e59d9,_0x5c7cbb);}},{'priority':'lowest'});}),_0x59f915['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x2b506f,_0x5e769a,_0x1fbddc,_0x14d1ed){this['_editor']=_0x1fbddc,this['_markDeletions']=!!_0x14d1ed['markDeletions'],this['_anchor']=_0x14d1ed['anchor'];const _0x122271=this['_tokenizeModel'](_0x2b506f),_0x2020e0=this['_tokenizeModel'](_0x5e769a);this['_diffItems']=this['_diffModelTokens'](_0x122271,_0x2020e0),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2b506f['markers'],_0x5e769a['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0xc46ea0=this['_editor']['model']['document'],_0x471ac2=[];let _0x2bfbaf=_0xc46ea0['version'];for(const _0x43d906 of this['_operationsData'])switch(_0x43d906['type']){case'attribute':{const _0x2eb469=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x3561ab=_0x2eb469['getShiftedBy'](_0x43d906['howMany']),_0x560787=new _0xf97322(_0x2eb469,_0x3561ab),_0x5a5d74=JSON['parse'](_0x43d906['oldValue']),_0x15969c=JSON['parse'](_0x43d906['newValue']);_0x471ac2['push'](new _0x4e6230(_0x560787,_0x43d906['key'],_0x5a5d74,_0x15969c,_0x2bfbaf++));break;}case'insert':{const _0x106835=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x557858=this['_makeModelFromTokens'](_0x43d906['tokens']);_0x471ac2['push'](new _0x19b8dd(_0x106835,_0x557858,_0x2bfbaf++));break;}case'remove':{const _0x126bcd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x3e66ce=new _0x3e6074(_0xc46ea0['graveyard'],[0x0]);_0x471ac2['push'](new _0x16c329(_0x126bcd,_0x43d906['howMany'],_0x3e66ce,_0x2bfbaf++));break;}case'rename':{const _0x408075=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']);_0x471ac2['push'](new _0xd699c5(_0x408075,_0x43d906['oldName'],_0x43d906['newName'],_0x2bfbaf++));break;}case'split':{const _0x3a236d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x53fb64=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']['slice'](0x0,-0x1));_0x53fb64['offset']++,_0x471ac2['push'](new _0x538f65(_0x3a236d,Number['NEGATIVE_INFINITY'],_0x53fb64,null,_0x2bfbaf++));break;}case'merge':{const _0x149097=_0x43d906['path']['slice'](),_0x417a03=_0x149097['slice'](0x0,-0x1);_0x417a03[_0x417a03['length']-0x1]++,_0x417a03['push'](0x0);const _0x18a493=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x417a03),_0x42b76e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x149097),_0x92f95e=new _0x3e6074(_0xc46ea0['graveyard'],[0x0]);_0x471ac2['push'](new _0x449d09(_0x18a493,Number['NEGATIVE_INFINITY'],_0x42b76e,_0x92f95e,_0x2bfbaf++));break;}case'marker':case'markedRemove':{let _0x450dca=null;if(_0x43d906['range']){const _0x3d00ba=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['start']),_0xdbf338=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['end']);_0x450dca=new _0xf97322(_0x3d00ba,_0xdbf338);}const _0x51578c='marker'==_0x43d906['type']?_0x43d906['name']:'$markedRemove:'+_0x2eb5d1();_0x471ac2['push'](new _0x2d2325(_0x51578c,null,_0x450dca,_0xc46ea0['model']['markers'],!0x0,_0x2bfbaf++));break;}case'unwrap':{const _0x162595=_0x43d906['path']['slice']();_0x162595['push'](0x0);const _0x56a2b3=_0x43d906['path']['slice'](),_0x4af3ac=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x162595),_0x58ad9e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56a2b3),_0xd0a463=new _0x3e6074(_0xc46ea0['graveyard'],[0x0]);_0x471ac2['push'](new _0x16c329(_0x4af3ac,_0x43d906['howMany'],_0x58ad9e,_0x2bfbaf++)),_0x471ac2['push'](new _0x16c329(_0x58ad9e['getShiftedBy'](_0x43d906['howMany']),0x1,_0xd0a463,_0x2bfbaf++));break;}case'wrap':{const _0x403e77=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['start']),_0x3bfc15=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['end']),_0x5f2118=_0x43d906['token']['element']['_clone'](!0x1),_0x42de8b=_0x43d906['range']['end']['slice']();_0x42de8b['push'](0x0);const _0x54d211=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x42de8b);_0x471ac2['push'](new _0x19b8dd(_0x3bfc15,_0x5f2118,_0x2bfbaf++)),_0x471ac2['push'](new _0x16c329(_0x403e77,_0x3bfc15['offset']-_0x403e77['offset'],_0x54d211,_0x2bfbaf++));break;}}return _0x471ac2;}['_tokenizeModel'](_0x5d779c){const _0x2761fc=[],_0x52c3cf=_0xf97322['_createIn'](_0x5d779c),_0x3516aa=new _0x50227b({'boundaries':_0x52c3cf});let _0x19f95e='',_0x3d3a3e=null;const _0x15b792=[''],_0x231230=new Map();for(const _0x491308 of _0x3516aa)if('elementStart'==_0x491308['type']||'elementEnd'==_0x491308['type']){let _0x226858=_0x15b792[0x0];''!==_0x19f95e&&(_0x2761fc['push'](...this['_makeTokensFromTextByWords'](_0x19f95e,_0x3d3a3e,_0x226858)),_0x19f95e='');const _0x3d11aa=_0x491308['item'];let _0x37d251;_0x3d11aa['getAttribute'](St)?_0x37d251=_0x3d11aa['getAttribute'](St):'elementStart'==_0x491308['type']?(_0x37d251=_(_0x3d11aa),_0x231230['set'](_0x3d11aa,_0x37d251)):_0x37d251=_0x231230['get'](_0x3d11aa);const _0x310b8e=this['_getElementCategory'](_0x3d11aa);'solid'==_0x310b8e&&('elementStart'==_0x491308['type']?(_0x226858=_0x37d251,_0x15b792['unshift'](_0x226858)):_0x15b792['shift']());const _0x5a52f2={'type':'element','element':_0x3d11aa,'elementId':_0x37d251,'category':_0x310b8e,'isStart':'elementStart'==_0x491308['type'],'limitId':_0x226858};_0x2761fc['push'](_0x5a52f2);}else''==_0x19f95e&&(_0x3d3a3e=_0x491308['previousPosition']['clone']()),_0x19f95e+=_0x491308['item']['data'];return''!==_0x19f95e&&_0x2761fc['push'](...this['_makeTokensFromTextByWords'](_0x19f95e,_0x3d3a3e,_0x15b792[0x0])),_0x2761fc;}['_makeTokensFromTextByWords'](_0x20d095,_0x945abd,_0x45b013){const _0x3a9bf6=_0x20d095['matchAll'](/(\s)/g),_0x167ab2=Array['from'](_0x3a9bf6)['map'](_0x5b468c=>_0x5b468c['index']);_0x167ab2['push'](_0x20d095['length']),0x0==_0x167ab2[0x0]&&_0x167ab2['shift']();const _0x129f0d=[],_0x410bc4=_0x945abd['parent'];let _0x32fc7b=0x0,_0xa686e5=_0x945abd['offset'];for(let _0x432dbe=0x0;_0x432dbe<_0x167ab2['length'];_0x432dbe++)_0x129f0d['push']({'type':'text','data':_0x20d095['slice'](_0x32fc7b,_0x167ab2[_0x432dbe]),'parent':_0x410bc4,'offset':_0xa686e5,'limitId':_0x45b013}),_0x32fc7b=_0x167ab2[_0x432dbe],_0xa686e5=_0x945abd['offset']+_0x167ab2[_0x432dbe];return _0x129f0d;}['_getElementCategory'](_0x51d8d4){const _0x3801db=this['_editor']['model']['schema'];return _0x3801db['isLimit'](_0x51d8d4)||_0x3801db['isContent'](_0x51d8d4)||_0x3801db['isInline'](_0x51d8d4)?'solid':_0x3801db['isBlock'](_0x51d8d4)?'block':'container';}['_diffModelTokens'](_0x47d8bb,_0x960eab){const _0x5ac429=_0x22e7fa(_0x47d8bb,_0x960eab,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x5ac429);const _0x329823=_0x5ac429['flatMap'](_0xa64873=>{const _0x11bd39=_0xa64873['added']?'added':_0xa64873['removed']?'removed':'unchanged';return _0xa64873['value']['map'](_0x18b975=>({'token':_0x18b975,'change':_0x11bd39}));});let _0x1207b1=0x0;for(const _0x111c99 of _0x329823)'added'!=_0x111c99['change']&&('unchanged'==_0x111c99['change']&&(_0x111c99['before']=_0x47d8bb[_0x1207b1]),_0x1207b1++);return _0x329823;}['_handleUnclosedBlockOpeningTags'](_0x47a6ab){for(let _0x5ca126=0x0;_0x5ca126<_0x47a6ab['length']-0x1;_0x5ca126++)if(_0x47a6ab[_0x5ca126]['removed']&&_0x47a6ab[_0x5ca126+0x1]['added']){const _0x1ba1ee=this['_findUnclosedBlockOpeningToken'](_0x47a6ab[_0x5ca126]['value']);if(null!==_0x1ba1ee){const _0x868094=this['_findUnclosedBlockOpeningToken'](_0x47a6ab[_0x5ca126+0x1]['value']),_0x941b1=_0x47a6ab[_0x5ca126]['value']['splice'](_0x1ba1ee),_0x41e57c=_0x47a6ab[_0x5ca126+0x1]['value']['splice'](_0x868094),_0x49c98c=[_0x41e57c['shift']()];_0x941b1['shift']();const _0x5d65ba={'value':_0x941b1,'removed':!0x0},_0x481997={'value':_0x41e57c,'added':!0x0},_0x58582f={'value':_0x49c98c};_0x47a6ab['splice'](_0x5ca126+0x2,0x0,_0x58582f,_0x5d65ba,_0x481997);}}}['_findUnclosedBlockOpeningToken'](_0x12b6d9){let _0x5142a1=0x0,_0x14dc69=-0x1;for(let _0x6cb461=0x0;_0x6cb461<_0x12b6d9['length'];_0x6cb461++){const _0x13a164=_0x12b6d9[_0x6cb461];'element'==_0x13a164['type']&&'block'==_0x13a164['category']&&(_0x5142a1+=_0x13a164['isStart']?0x1:-0x1,_0x13a164['isStart']&&(_0x14dc69=_0x6cb461));}return 0x0===_0x5142a1?null:_0x14dc69;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x42f4b0=0x0;_0x42f4b0<this['_diffItems']['length'];_0x42f4b0++){const _0x2c8c23=this['_diffItems'][_0x42f4b0]['change'],_0x387ee6=[];_0x387ee6['push'](this['_diffItems'][_0x42f4b0]);let _0x286348=_0x42f4b0+0x1;for(;this['_diffItems'][_0x286348]&&this['_diffItems'][_0x286348]['change']==_0x2c8c23;)_0x387ee6['push'](this['_diffItems'][_0x286348]),_0x286348++,_0x42f4b0++;const _0x2cb559=_0x387ee6['map'](_0x3843f2=>_0x3843f2['token']);if('unchanged'==_0x2c8c23)_0x387ee6['map'](_0x250c69=>_0x250c69['before'])['forEach'](_0x61424f=>this['_traverseOverItem'](_0x61424f));else{if('removed'==_0x2c8c23){if(this['_markDeletions']){const _0x5214bb=this['_path']['slice']();_0x2cb559['forEach'](_0x7903fc=>this['_traverseOverItem'](_0x7903fc));const _0x4d78ba=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5214bb,'end':_0x4d78ba}});}else this['_handleChanged'](_0x2cb559,!0x0,this['_path']['slice']());}else{const _0x78b264=_0x2cb559['filter'](_0x3bf29d=>'element'!=_0x3bf29d['type']||'container'!=_0x3bf29d['category']);this['_handleChanged'](_0x78b264,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3fc623=0x0;_0x3fc623<this['_diffItems']['length'];_0x3fc623++){const _0xd14ccd=this['_diffItems'][_0x3fc623]['change'],_0xb5520b=[];_0xb5520b['push'](this['_diffItems'][_0x3fc623]);let _0x468b01=_0x3fc623+0x1;for(;this['_diffItems'][_0x468b01]&&this['_diffItems'][_0x468b01]['change']==_0xd14ccd;)_0xb5520b['push'](this['_diffItems'][_0x468b01]),_0x468b01++,_0x3fc623++;const _0x274785=_0xb5520b['map'](_0x31b452=>_0x31b452['token']);if('unchanged'==_0xd14ccd){const _0x417a7b=_0xb5520b['map'](_0x41828a=>_0x41828a['before']);this['_handleUnchanged'](_0x417a7b,_0x274785);}else('removed'!=_0xd14ccd||this['_markDeletions'])&&_0x274785['forEach'](_0x23d2dd=>{this['_traverseOverItem'](_0x23d2dd);});}}['_calculateMarkersOperationsData'](_0x440422,_0x55703d){const _0x24dd2f={};for(const [_0x865d60]of _0x440422)_0x24dd2f[_0x865d60]=null;for(const [_0x270f7a,_0x219fed]of _0x55703d)_0x24dd2f[_0x270f7a]=_0x219fed;const _0x32eb7b=Object['entries'](_0x24dd2f)['map'](([_0x49cc79,_0x4679d2])=>({'type':'marker','name':_0x49cc79,'range':_0x4679d2?{'start':_0x4679d2['start']['path']['slice'](),'end':_0x4679d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x32eb7b);}['_handleUnwraps'](){const _0x169439=new Map(),_0x44ad61=[],_0xd320cb=[0x0];let _0x2eaa00=this['_diffItems']['length']+0x1;for(let _0x2b5e1d=this['_diffItems']['length']-0x1;_0x2b5e1d>=0x0;_0x2b5e1d--){const {token:_0x141a4f,before:_0x58b576,change:_0x578c41}=this['_diffItems'][_0x2b5e1d];if('removed'!=_0x578c41&&(_0x2eaa00=_0x2b5e1d),'element'!=_0x141a4f['type']||'container'!=_0x141a4f['category']||'added'==_0x578c41)continue;const _0x840590=_0x58b576?_0x58b576['element']:_0x141a4f['element'];if(_0x141a4f['isStart']){const _0x1b4522=_0x169439['get'](_0x840590),_0x59ce8d=this['_diffItems'][_0x1b4522];('removed'==_0x578c41||'removed'==_0x59ce8d['change'])&&_0x2eaa00<_0x1b4522&&(this['_operationsData']['push']({'type':'unwrap','path':_0x840590['getPath'](),'howMany':_0x840590['maxOffset']+_0xd320cb[0x0]}),_0xd320cb['shift'](),_0xd320cb[0x0]+=_0x840590['maxOffset']-0x1,_0x44ad61['push'](_0x2b5e1d),_0x44ad61['push'](_0x1b4522));}else _0x169439['set'](_0x840590,_0x2b5e1d),_0xd320cb['unshift'](0x0);}_0x44ad61['sort']((_0x57ce90,_0x53e0c9)=>_0x53e0c9-_0x57ce90),_0x44ad61['forEach'](_0x2d70a0=>{const _0x317a34=this['_diffItems'][_0x2d70a0];'removed'==_0x317a34['change']?this['_diffItems']['splice'](_0x2d70a0,0x1):(_0x317a34['change']='added',delete _0x317a34['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x4ab694=[];for(let _0x4945f4=0x0;_0x4945f4<this['_diffItems']['length'];_0x4945f4++){const {change:_0x5284ae,token:_0xbfb15b}=this['_diffItems'][_0x4945f4];if('added'==_0x5284ae&&'element'==_0xbfb15b['type']&&'container'==_0xbfb15b['category']){if(_0xbfb15b['isStart'])_0x4ab694['push'](this['_path']['slice']());else{if(!_0xbfb15b['isStart']){const _0x16e722=_0x4ab694['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x16e722,'end':this['_path']['slice']()},'token':_0xbfb15b}),this['_path'][this['_path']['length']-0x1]=_0x16e722[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x5284ae||this['_markDeletions'])&&this['_traverseOverItem'](_0xbfb15b);}}['_handleUnchanged'](_0x156a35,_0x226215){for(let _0x203dec=0x0;_0x203dec<_0x156a35['length'];_0x203dec++){const _0x1595c5=_0x156a35[_0x203dec];if('element'==_0x1595c5['type']&&_0x1595c5['isStart']){const _0x1e30a5=_0x226215[_0x203dec];'block'==_0x1595c5['category']&&this['_handleElementRename'](_0x1595c5['element'],_0x1e30a5['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1595c5['element'],_0x1e30a5['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x1e30a5);}else{if('element'!=_0x1595c5['type']||_0x1595c5['isStart']){if('text'==_0x1595c5['type']){const _0x1a2cab=this['_path']['slice'](),_0x311a62=[],_0x3e6566=[];for(;_0x156a35[_0x203dec]&&'text'==_0x156a35[_0x203dec]['type'];)_0x311a62['push'](_0x156a35[_0x203dec]),_0x3e6566['push'](_0x226215[_0x203dec]),this['_path'][this['_path']['length']-0x1]+=_0x156a35[_0x203dec]['data']['length'],_0x203dec++;_0x203dec--,this['_handleTextAttributeChanges'](_0x311a62,_0x3e6566,_0x1a2cab);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3bb8b2,_0x40481d,_0x17ae45){const _0x444911=[],_0x47b6f4=[],_0x3c4327=_0x17ae45['slice']();for(let _0x67d534=0x0;_0x67d534<_0x3bb8b2['length'];_0x67d534++){const _0x5ed91d=_0x3bb8b2[_0x67d534],_0x388d27=_0x17ae45['slice']();if('element'!=_0x5ed91d['type']||_0x5ed91d['isStart'])'element'==_0x5ed91d['type']&&_0x5ed91d['isStart']?(_0x17ae45['push'](0x0),_0x40481d||this['_parents']['push'](_0x5ed91d),_0x47b6f4['push']({'before':_0x388d27,'after':_0x17ae45['slice'](),'index':_0x67d534})):_0x17ae45[_0x17ae45['length']-0x1]+=_0x5ed91d['data']['length'];else{let _0x30c239;_0x17ae45['pop'](),_0x17ae45[_0x17ae45['length']-0x1]++,_0x30c239=_0x40481d?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x47b6f4['length']?_0x47b6f4['pop']():_0x444911['push']({'before':_0x388d27,'after':_0x17ae45['slice'](),'index':_0x67d534,'related':_0x30c239});}}if(_0x47b6f4['length']!==_0x444911['length'])throw new _0x4b3cdf('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3bb8b2,'isRemove':_0x40481d});const _0x309e30=[{'after':_0x3c4327['slice'](),'index':-0x1},..._0x444911,..._0x47b6f4,{'before':_0x17ae45['slice'](),'index':_0x3bb8b2['length']}];if(_0x40481d){for(let _0x3b0d2d=_0x309e30['length']-0x1;_0x3b0d2d>=0x1;_0x3b0d2d--){const _0x592c85=_0x309e30[_0x3b0d2d-0x1]['after'],_0x2f3538=_0x309e30[_0x3b0d2d]['before'],_0x4d42eb=_0x2f3538[_0x2f3538['length']-0x1]-_0x592c85[_0x592c85['length']-0x1];_0x4d42eb&&(this['_operationsData']['push']({'type':'remove','path':_0x592c85,'howMany':_0x4d42eb}),_0x2f3538[_0x2f3538['length']-0x1]-=_0x4d42eb);}for(const {before:_0x5c4dda}of _0x444911)this['_operationsData']['push']({'type':'merge','path':_0x5c4dda});}else for(let _0x162ae5=0x0;_0x162ae5<_0x309e30['length']-0x1;_0x162ae5++){const _0x505b11=_0x309e30[_0x162ae5]['after'],_0x336d49=_0x309e30[_0x162ae5+0x1]['before'],_0x3d19cd=_0x309e30[_0x162ae5]['index']+0x1,_0x59c888=_0x309e30[_0x162ae5+0x1]['index'];if(_0x3d19cd!==_0x59c888&&this['_operationsData']['push']({'type':'insert','path':_0x505b11,'tokens':_0x3bb8b2['slice'](_0x3d19cd,_0x59c888)}),_0x162ae5<_0x444911['length']){this['_operationsData']['push']({'type':'split','path':_0x336d49});const _0x7c5524=_0x3bb8b2[_0x47b6f4[_0x47b6f4['length']-0x1-_0x162ae5]['index']],_0x505d43=_0x444911[_0x162ae5]['after'],_0x468b53=_0x444911[_0x162ae5]['related']['element'];this['_handleElementRename'](_0x468b53,_0x7c5524['element'],_0x505d43),this['_handleElementAttributeChanges'](_0x468b53,_0x7c5524['element'],_0x505d43);}}}['_traverseOverItem'](_0x159725){'element'==_0x159725['type']&&_0x159725['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x159725)):'element'!=_0x159725['type']||_0x159725['isStart']?'text'==_0x159725['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x159725['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x1cdffd,_0x282d66,_0x41ce6c){_0x1cdffd['name']!=_0x282d66['name']&&this['_operationsData']['push']({'type':'rename','path':_0x41ce6c['slice'](),'oldName':_0x1cdffd['name'],'newName':_0x282d66['name']});}['_handleElementAttributeChanges'](_0x22c905,_0x25f210,_0x581d6a){const _0x1ee757=this['_getAttributeChanges'](_0x22c905['getAttributes'](),_0x25f210['getAttributes']());for(const _0x21cabd in _0x1ee757){const {oldValue:_0x42aae4,newValue:_0x2b9865}=_0x1ee757[_0x21cabd];this['_operationsData']['push']({'type':'attribute','path':_0x581d6a['slice'](),'howMany':0x1,'key':_0x21cabd,'oldValue':_0x42aae4,'newValue':_0x2b9865});}}['_handleTextAttributeChanges'](_0x3d36c4,_0x2dc3e9,_0x150f8e){const _0x2d8c92=this['_operationsData'],_0x319ebc=_0x3d36c4[0x0]['parent'],_0x15573d=_0x3d36c4[0x0]['offset'],_0x52b7ed=_0x2dc3e9[0x0]['parent'],_0x4e8a8a=_0x2dc3e9[0x0]['offset'],_0x4b59a1=_0x3d36c4['reduce']((_0x596df9,_0x42b65c)=>_0x596df9+_0x42b65c['data']['length'],0x0),_0x58be3d=this['_getAttrsForOffsets'](_0x319ebc,_0x15573d,_0x4b59a1),_0x21184b=this['_getAttrsForOffsets'](_0x52b7ed,_0x4e8a8a,_0x4b59a1),_0x301498={};for(let _0x3b2a37=0x0;_0x3b2a37<_0x4b59a1;_0x3b2a37++){const _0x59a9f0=_0x58be3d[_0x15573d+_0x3b2a37],_0x505e77=_0x21184b[_0x4e8a8a+_0x3b2a37],_0x3d18e3=this['_getAttributeChanges'](_0x59a9f0,_0x505e77);for(const _0x3add1f in _0x301498)_0x3d18e3[_0x3add1f]||_0x578d84(_0x3add1f);for(const _0x48558c in _0x3d18e3){const {oldValue:_0x287548,newValue:_0x4ce4ee}=_0x3d18e3[_0x48558c],_0x443262=_0x301498[_0x48558c];_0x443262?_0x443262['oldValue']==_0x287548&&_0x443262['newValue']==_0x4ce4ee?_0x443262['length']++:(_0x578d84(_0x48558c),_0x301498[_0x48558c]={'oldValue':_0x287548,'newValue':_0x4ce4ee,'start':_0x3b2a37,'length':0x1}):_0x301498[_0x48558c]={'oldValue':_0x287548,'newValue':_0x4ce4ee,'start':_0x3b2a37,'length':0x1};}}for(const _0x4e0230 in _0x301498)_0x578d84(_0x4e0230);function _0x578d84(_0x3e7550){const _0x3596af=_0x301498[_0x3e7550],_0x335e7b=_0x150f8e['slice']();_0x335e7b[_0x335e7b['length']-0x1]+=_0x3596af['start'],_0x2d8c92['push']({'type':'attribute','path':_0x335e7b,'howMany':_0x3596af['length'],'key':_0x3e7550,'oldValue':_0x3596af['oldValue'],'newValue':_0x3596af['newValue']}),delete _0x301498[_0x3e7550];}}['_getAttributeChanges'](_0x9695f3,_0x53999e){const _0xfea185={};for(const [_0x4a7eda,_0xdab5dd]of _0x9695f3)_0xfea185[_0x4a7eda]={'oldValue':JSON['stringify'](_0xdab5dd),'newValue':'null'};for(const [_0x3bdf2e,_0x12a5fb]of _0x53999e){const _0x4487b9=JSON['stringify'](_0x12a5fb);_0xfea185[_0x3bdf2e]?_0xfea185[_0x3bdf2e]['oldValue']==_0x4487b9?delete _0xfea185[_0x3bdf2e]:_0xfea185[_0x3bdf2e]['newValue']=_0x4487b9:_0xfea185[_0x3bdf2e]={'oldValue':'null','newValue':_0x4487b9};}return delete _0xfea185[St],_0xfea185;}['_getAttrsForOffsets'](_0x3e9039,_0x449416,_0xefce2b){const _0x3bdda1=new Array(_0x449416+_0xefce2b);let _0x1ba203=_0x3e9039['getChildAtOffset'](_0x449416),_0x4d9999=_0x1ba203['startOffset'];for(;_0x1ba203&&_0x4d9999<_0x449416+_0xefce2b;){const _0x399b4e=Array['from'](_0x1ba203['getAttributes']());_0x3bdda1['fill'](_0x399b4e,_0x4d9999,_0x4d9999+_0x1ba203['offsetSize']),_0x4d9999+=_0x1ba203['offsetSize'],_0x1ba203=_0x1ba203['nextSibling'];}return _0x3bdda1;}['_getPositionFromAnchorAndPath'](_0x2386c4,_0x49653c){const _0x625830=[..._0x2386c4['path']['slice'](0x0,-0x1),_0x2386c4['offset']+_0x49653c[0x0],..._0x49653c['slice'](0x1)];return new _0x3e6074(_0x2386c4['root'],_0x625830);}['_makeModelFromTokens'](_0x2a02f7){const _0x4b3266=[];let _0x585b18=null;for(const _0x7c8c1c of _0x2a02f7)if('element'!=_0x7c8c1c['type']||_0x7c8c1c['isStart']||_0x585b18!=_0x7c8c1c['element']){if(!_0x585b18){if('text'==_0x7c8c1c['type']){const _0x3e38ce=_0x3e6074['_createAt'](_0x7c8c1c['parent'],_0x7c8c1c['offset']),_0x92f3ff=_0xf97322['_createFromPositionAndShift'](_0x3e38ce,_0x7c8c1c['data']['length']),_0x2c37a6=Array['from'](_0x92f3ff['getItems']())['map'](_0x13b8d4=>new _0x40132f(_0x13b8d4['data'],_0x13b8d4['getAttributes']()));_0x4b3266['push'](..._0x2c37a6);}else{_0x585b18=_0x7c8c1c['element'];const _0x4ec2d3=_0x7c8c1c['element']['_clone'](!0x0);_0x4ec2d3['_removeAttribute'](St);for(const _0x2a0d6d of this['_editor']['model']['createRangeIn'](_0x4ec2d3)['getItems']())_0x2a0d6d['is']('element')&&_0x2a0d6d['_removeAttribute'](St);_0x4b3266['push'](_0x4ec2d3);}}}else _0x585b18=null;return _0x4b3266;}}function g(_0x2d0592,_0x263e05){return _0x2d0592['type']===_0x263e05['type']&&(_0x2d0592['limitId']===_0x263e05['limitId']&&('text'==_0x2d0592['type']?_0x2d0592['data']==_0x263e05['data']:function(_0x10d88d,_0x3e4c29){if(_0x10d88d['isStart']!=_0x3e4c29['isStart'])return!0x1;if(_0x10d88d['isStart']&&_0x10d88d['elementId']!=_0x3e4c29['elementId'])return!0x1;if(_0x10d88d['category']!=_0x3e4c29['category'])return!0x1;if('block'==_0x10d88d['category'])return!0x0;if('container'==_0x10d88d['category']&&_0x10d88d['elementId']!=_0x3e4c29['elementId'])return!0x1;return _0x10d88d['element']['name']==_0x3e4c29['element']['name'];}(_0x2d0592,_0x263e05)));}function _(_0x2fc414){return k({'name':_0x2fc414['name'],...Object['fromEntries'](_0x2fc414['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x323058=>0x1!=_0x323058}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bd7bc=>{const {af:{dictionary:_0x2827f0,getPluralForm:_0x5c88ef}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x25b1d0=>0x1!=_0x25b1d0}};_0x4bd7bc['af']||={'dictionary':{},'getPluralForm':null},_0x4bd7bc['af']['dictionary']=Object['assign'](_0x4bd7bc['af']['dictionary'],_0x2827f0),_0x4bd7bc['af']['getPluralForm']=_0x5c88ef;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x58f145=>0x0==_0x58f145?0x0:0x1==_0x58f145?0x1:0x2==_0x58f145?0x2:_0x58f145%0x64>=0x3&&_0x58f145%0x64<=0xa?0x3:_0x58f145%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44e43c=>{const {ar:{dictionary:_0x4d58d1,getPluralForm:_0x36d87d}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x622141=>0x0==_0x622141?0x0:0x1==_0x622141?0x1:0x2==_0x622141?0x2:_0x622141%0x64>=0x3&&_0x622141%0x64<=0xa?0x3:_0x622141%0x64>=0xb?0x4:0x5}};_0x44e43c['ar']||={'dictionary':{},'getPluralForm':null},_0x44e43c['ar']['dictionary']=Object['assign'](_0x44e43c['ar']['dictionary'],_0x4d58d1),_0x44e43c['ar']['getPluralForm']=_0x36d87d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5d0b0d=>0x1!=_0x5d0b0d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x546320=>{const {ast:{dictionary:_0x4cf793,getPluralForm:_0x57552b}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1d1d21=>0x1!=_0x1d1d21}};_0x546320['ast']||={'dictionary':{},'getPluralForm':null},_0x546320['ast']['dictionary']=Object['assign'](_0x546320['ast']['dictionary'],_0x4cf793),_0x546320['ast']['getPluralForm']=_0x57552b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1f4794=>0x1!=_0x1f4794}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4044a5=>{const {az:{dictionary:_0x4ab95b,getPluralForm:_0x17b0a9}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x22114f=>0x1!=_0x22114f}};_0x4044a5['az']||={'dictionary':{},'getPluralForm':null},_0x4044a5['az']['dictionary']=Object['assign'](_0x4044a5['az']['dictionary'],_0x4ab95b),_0x4044a5['az']['getPluralForm']=_0x17b0a9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x49629d=>_0x49629d%0xa==0x1&&_0x49629d%0x64!=0xb?0x0:_0x49629d%0xa>=0x2&&_0x49629d%0xa<=0x4&&(_0x49629d%0x64<0xa||_0x49629d%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d46ae=>{const {be:{dictionary:_0x2634f2,getPluralForm:_0x2f7896}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1640ba=>_0x1640ba%0xa==0x1&&_0x1640ba%0x64!=0xb?0x0:_0x1640ba%0xa>=0x2&&_0x1640ba%0xa<=0x4&&(_0x1640ba%0x64<0xa||_0x1640ba%0x64>=0x14)?0x1:0x2}};_0x1d46ae['be']||={'dictionary':{},'getPluralForm':null},_0x1d46ae['be']['dictionary']=Object['assign'](_0x1d46ae['be']['dictionary'],_0x2634f2),_0x1d46ae['be']['getPluralForm']=_0x2f7896;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x4e5453=>0x1!=_0x4e5453}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fb999=>{const {bg:{dictionary:_0x2b6017,getPluralForm:_0x1595bd}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x39bfff=>0x1!=_0x39bfff}};_0x3fb999['bg']||={'dictionary':{},'getPluralForm':null},_0x3fb999['bg']['dictionary']=Object['assign'](_0x3fb999['bg']['dictionary'],_0x2b6017),_0x3fb999['bg']['getPluralForm']=_0x1595bd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x18af0f=>0x1!=_0x18af0f}};
|