@ckeditor/ckeditor5-collaboration-core 48.0.0-alpha.6 → 48.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +11 -11
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x38ea19,Editor as _0x5283bb,Plugin as _0x449179}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2fb044,Collection as _0x31cc04,uid as _0x4c0b55,toArray as _0x2acb76,first as _0x2befe8,FocusTracker as _0x517302,KeystrokeHandler as _0x3b19b7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x335e4e,IconView as _0xd7e366,ButtonView as _0x30d83d,DropdownButtonView as _0x2431e2,FocusCycler as _0x2088d8,isViewWithFocusCycler as _0x52dbe9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x2ab32b,IconCheck as _0x2064c9,IconCancel as _0x1bc69e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x4f30e1,toWidget as _0x319fe4}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x441f4a}from'luxon';import{InsertOperation as _0x4f9bc3,MoveOperation as _0x92d95a,ModelPosition as _0x2445a4,ModelRange as _0x5a0cd4,MarkerOperation as _0x2afab3,MergeOperation as _0x4d8541,SplitOperation as _0x465824,RenameOperation as _0x49aace,AttributeOperation as _0x19810e,ModelTreeWalker as _0x5714c3,ModelText as _0x37ae6b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x3c6f89}from'diff';class D extends _0x38ea19{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0xeaed48,_0x92684d){let _0x5bbc56;if(_0x92684d||(_0x92684d=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x92684d?_0x5bbc56=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x5bbc56=this['context']['editors']['find'](_0x54450b=>_0x54450b['config']['get']('collaboration.channelId')==_0x92684d)),!_0x5bbc56)throw new _0x2fb044('permissions-set-permissions-invalid-channel-id',null);const _0x7791a5=_0x5bbc56['plugins'],_0x5a148a=_0x7791a5['has']('CommentsRepository')?_0x7791a5['get']('CommentsRepository'):void 0x0,_0x13c512=_0x7791a5['has']('CommentsOnly')&&_0x7791a5['get']('CommentsOnly'),_0x1f55c9=_0xeaed48['includes']('document:write'),_0x1810e0=_0xeaed48['includes']('comment:modify_all'),_0x4ea8ba=_0xeaed48['includes']('comment:admin'),_0x510a0f=_0xeaed48['includes']('comment:write'),_0x10bc7b=_0x510a0f||_0x4ea8ba,_0x475e6a=_0x10bc7b||_0x1810e0,_0x2ba1c4=_0x1f55c9||_0x10bc7b;(_0x13c512&&(_0x13c512['isEnabled']=!_0x1f55c9&&_0x475e6a),_0x5bbc56 instanceof _0x5283bb)&&(!(_0x1f55c9||_0x475e6a&&_0x5a148a)?_0x5bbc56['enableReadOnlyMode']('no-permissions'):_0x5bbc56['disableReadOnlyMode']('no-permissions'));if(_0x5a148a){_0x5a148a['setPermissions']({'admin':_0x4ea8ba,'modifyAll':_0x1810e0,'write':_0x510a0f,'resolve':_0x2ba1c4},_0x92684d);const _0x32626f=_0x5bbc56 instanceof _0x5283bb&&_0x5bbc56['commands']['get']('addCommentThread');_0x32626f&&(_0x10bc7b?_0x32626f['clearForceDisabled']('noPermissions'):_0x32626f['forceDisabled']('noPermissions'));}}}function $(_0x2eec1b,_0x2cc9bf){const t=_0x2eec1b['t'];switch(_0x2cc9bf){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 L extends _0x38ea19{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[D];}constructor(_0x1097d8){super(_0x1097d8),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x31cc04(),this['_locale']=_0x1097d8['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:_0x2ca799,name:_0x443f08,..._0x40a2ea}){if(!_0x2ca799||'string'!=typeof _0x2ca799)throw new _0x2fb044('users-add-invalid-id');if(this['users']['has'](_0x2ca799))throw new _0x2fb044('users-add-duplicated-id',null,{'id':_0x2ca799});const _0x3361ff=this['context']['config']['get']('users.getInitialsCallback'),_0x5301c4={..._0x40a2ea,'id':_0x2ca799,'name':U(this['_locale'],_0x443f08),'color':this['_getNextColor']()};_0x5301c4['name']=U(this['_locale'],_0x5301c4['name']);const _0x2469ed=new V(_0x5301c4,_0x3361ff);return this['users']['add'](_0x2469ed),_0x2469ed;}['getUser'](_0x29ced7){return this['users']['get'](_0x29ced7);}['useAnonymousUser'](){const _0x2c29e4=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x2c29e4);}['defineMe'](_0x2c795c){if(this['_myId'])throw new _0x2fb044('users-me-already-defined',null);const _0x5ab181=this['getUser'](_0x2c795c);if(!_0x5ab181)throw new _0x2fb044('users-me-missing-user',null);this['_myId']=_0x2c795c,_0x5ab181['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2c57f1=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2c57f1&&(this['_lastColor']=0x0),new R(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1b4701=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1b4701,'name':$(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class V{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x493bac,_0x1b1df4){this['id']=_0x493bac['id'],this['color']=_0x493bac['color'],this['name']=_0x493bac['name'],this['initials']=_0x1b1df4?_0x1b1df4(this['name']):this['_computeInitials'](),this['avatar']=_0x493bac['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x2391b6=this['name']['split']('\x20')['filter'](_0x2d1637=>/^[\p{Letter}]/u['test'](_0x2d1637));return 0x1===_0x2391b6['length']?this['_getInitial'](_0x2391b6[0x0]):0x0===_0x2391b6['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x2391b6[0x0])+this['_getInitial'](_0x2391b6[_0x2391b6['length']-0x1]);}['_getInitial'](_0x3d027a){return String['fromCodePoint'](_0x3d027a['codePointAt'](0x0))['toUpperCase']();}}function U(_0x117ad3,_0x56d01f=''){return''==(_0x56d01f=_0x56d01f['trim']())?$(_0x117ad3,'Anonymous'):_0x56d01f;}class R{['_id'];constructor(_0x29aa55){this['_id']=_0x29aa55;}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'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class F extends _0x335e4e{['name'];['notificationView'];constructor(_0x52d597,_0x33ab54,_0x2c4f89){super(_0x52d597),this['name']=_0x33ab54['name'],this['notificationView']=null;const _0x1b5860=['ck','ck-user'],_0x6de9e2=['ck','ck-user__img'];if(_0x33ab54['isAnonymous']&&_0x6de9e2['push']('ck-user__anonymous'),!_0x33ab54['isAnonymous']&&_0x33ab54['isMe']&&_0x1b5860['push']('ck-user_me'),_0x33ab54['avatar']&&_0x6de9e2['push']('ck-user__avatar'),_0x2c4f89){const _0x226aa0=new _0xd7e366();_0x226aa0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x226aa0['content']=_0x2ab32b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2c4f89},'children':[_0x226aa0]};}const _0x2bce57=[{'tag':'div','attributes':{'class':_0x6de9e2,'style':{'background-image':_0x33ab54['avatar']?'url(\x27'+_0x33ab54['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x33ab54['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x33ab54['name']},'children':[{'text':_0x33ab54['initials']}]}];this['notificationView']&&_0x2bce57['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1b5860,'data-user-id':_0x33ab54['id']},'children':_0x2bce57});}}class H extends _0x335e4e{['id'];constructor(_0x1ca98,_0x38b451){super(_0x1ca98),this['id']='ck-aria-description-'+_0x4c0b55(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x38b451}]});}}class z extends _0x30d83d{['render'](){super['render'](),j(this);}}class W extends _0x2431e2{['render'](){super['render'](),j(this);}}function j(_0xcc6fb0){_0xcc6fb0['listenTo'](_0xcc6fb0['element'],'mousedown',(_0x49149e,_0x5b4b8c)=>{_0x5b4b8c['stopPropagation'](),_0x5b4b8c['preventDefault']();}),_0xcc6fb0['listenTo'](_0xcc6fb0['element'],'mouseup',()=>{_0xcc6fb0['element']['focus']();});}function Y(_0x3b7814){const _0xa896fa=_0x3b7814['split'](':');return{'group':_0xa896fa[0x0],'type':_0xa896fa[0x1],'subType':_0xa896fa['length']>=0x5?_0xa896fa[0x2]:null,'id':_0xa896fa['length']<0x5?_0xa896fa[0x2]:_0xa896fa[0x3],'authorId':_0xa896fa['length']<0x5?_0xa896fa[0x3]:_0xa896fa[0x4],'markerCount':0x6==_0xa896fa['length']?_0xa896fa[0x5]:null};}function J(_0x25a13e,_0x85c2f6){const _0x47e76f=_0x25a13e['end']['nodeBefore'];if(_0x47e76f&&_0x47e76f['is']('element')&&_0x85c2f6['schema']['isBlock'](_0x47e76f)&&!_0x85c2f6['schema']['isObject'](_0x47e76f)){const _0x5be6d9=_0x85c2f6['createPositionAt'](_0x47e76f,'end');return _0x85c2f6['createRange'](_0x25a13e['start'],_0x5be6d9);}return _0x25a13e;}class K extends _0x449179{['afterInit'](){const _0x175a19=this['editor'];if(!_0x175a19['plugins']['has']('AlignmentEditing'))return;_0x175a19['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class G extends _0x449179{['afterInit'](){const _0x5954ba=this['editor'],_0x57227c=_0x5954ba['plugins']['get']('SuggestionsConversion');for(const _0x3eca2f of q){if(!_0x5954ba['plugins']['has'](_0x3eca2f))continue;const _0x2ca7e6=_0x3eca2f['slice'](0x0,-0x7)['toLowerCase']();_0x57227c['registerInlineAttribute'](_0x2ca7e6);}}}class Z extends _0x449179{['afterInit'](){const _0x55647c=this['editor'],_0x43cda9=_0x55647c['plugins']['get']('SuggestionsConversion');_0x55647c['plugins']['has']('BookmarkEditing')&&_0x43cda9['registerBlockAttribute']('bookmarkId');}}const Q=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class X extends _0x449179{['afterInit'](){const _0x3356e1=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x40f9f9,commandName:_0x1428fb}of Q)this['editor']['plugins']['has'](_0x40f9f9)&&_0x3356e1['registerInlineAttribute'](_0x1428fb);}}class tt extends _0x449179{['afterInit'](){const {editor:_0x2ce7c3}=this;if(!_0x2ce7c3['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x4e0813=_0x2ce7c3['plugins']['get']('SuggestionsConversion');_0x4e0813['registerBlockAttribute']('footnotesListStyle'),_0x4e0813['registerBlockAttribute']('footnotesListStart');}}class et extends _0x449179{['afterInit'](){const _0x3a444b=this['editor'];if(!_0x3a444b['plugins']['has']('HighlightEditing'))return;_0x3a444b['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class st extends _0x449179{['afterInit'](){const _0xbb23dc=this['editor'];if(!_0xbb23dc['plugins']['has']('HtmlEmbed'))return;_0xbb23dc['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class it extends _0x449179{['afterInit'](){const _0x4a9f8a=this['editor'];if(!_0x4a9f8a['plugins']['has']('ImageEditing'))return;const _0x1cf033=_0x4a9f8a['plugins']['get']('SuggestionsConversion');_0x1cf033['registerBlockAttribute']('src'),_0x4a9f8a['plugins']['has']('ImageResize')&&_0x1cf033['registerBlockAttribute']('resizedWidth'),_0x4a9f8a['plugins']['has']('ImageTextAlternativeEditing')&&_0x1cf033['registerBlockAttribute']('alt'),_0x4a9f8a['plugins']['has']('PictureEditing')&&_0x1cf033['registerBlockAttribute']('sources'),_0x4a9f8a['plugins']['has']('ImageSizeAttributes')&&(_0x1cf033['registerBlockAttribute']('width'),_0x1cf033['registerBlockAttribute']('height'));}}class nt extends _0x449179{['afterInit'](){const _0x28cc90=this['editor'],_0x5a81bc=_0x28cc90['plugins']['get']('SuggestionsConversion');_0x28cc90['plugins']['has']('IndentBlock')&&(_0x5a81bc['registerBlockAttribute']('blockIndent'),_0x28cc90['plugins']['has']('ListEditing')&&(_0x5a81bc['registerBlockAttribute']('blockIndentList'),_0x5a81bc['registerBlockAttribute']('blockIndentListItem')));}}class ot extends _0x449179{['afterInit'](){const _0xe8f8b0=this['editor'];if(!_0xe8f8b0['plugins']['has']('LineHeight'))return;_0xe8f8b0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class rt extends _0x449179{['afterInit'](){const _0x261038=this['editor'];if(!_0x261038['plugins']['has']('LinkEditing'))return;const _0x3472d1=_0x261038['plugins']['get']('SuggestionsConversion'),_0x53841f=_0x261038['commands']['get']('link');_0x3472d1['registerInlineAttribute']('linkHref');for(const _0x22ec6b of _0x53841f['manualDecorators'])_0x3472d1['registerInlineAttribute'](_0x22ec6b['id']);}}class at extends _0x449179{['afterInit'](){const _0x561a37=this['editor'];if(!_0x561a37['plugins']['has']('ListEditing'))return;const _0x43ad9d=_0x561a37['plugins']['get']('SuggestionsConversion'),_0x1ba328=_0x561a37['plugins']['has']('TodoListEditing');_0x43ad9d['registerBlockAttribute']('listItemId'),_0x43ad9d['registerBlockAttribute']('listType'),_0x43ad9d['registerBlockAttribute']('listIndent'),_0x1ba328&&_0x43ad9d['registerBlockAttribute']('todoListChecked');}}class ct extends _0x449179{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3641a5=this['editor']['config']['get']('list.properties'),_0x121e47=this['editor']['plugins']['get']('SuggestionsConversion');_0x3641a5['styles']&&_0x121e47['registerBlockAttribute']('listStyle'),_0x3641a5['reversed']&&_0x121e47['registerBlockAttribute']('listReversed'),_0x3641a5['startIndex']&&_0x121e47['registerBlockAttribute']('listStart');}}class lt extends _0x449179{['afterInit'](){const _0x58b8f0=this['editor'],_0x50a877=_0x58b8f0['plugins']['get']('SuggestionsConversion');_0x58b8f0['plugins']['has']('MultiLevelList')&&_0x50a877['registerBlockAttribute']('listMarkerStyle');}}class ut extends _0x449179{['afterInit'](){const _0x17ecc0=this['editor'];if(!_0x17ecc0['plugins']['has']('Style')||!_0x17ecc0['plugins']['has']('DataSchema')||!_0x17ecc0['config']['get']('style.definitions'))return;const _0x562e7c=_0x17ecc0['plugins']['get']('SuggestionsConversion'),_0x395289=_0x17ecc0['config']['get']('style.definitions'),_0x4713d6=_0x17ecc0['plugins']['get']('GeneralHtmlSupport'),_0x4d4316=_0x17ecc0['plugins']['get']('StyleUtils')['normalizeConfig'](_0x17ecc0['plugins']['get']('DataSchema'),_0x395289),_0x4b6535=new Set();for(const _0x306fa0 of _0x4d4316['block']){const _0x5500e0=_0x4713d6['getGhsAttributeNameForElement'](_0x306fa0['element']);_0x4b6535['add'](_0x5500e0);}const _0x383da3=new Set();for(const _0x3cdae7 of _0x4d4316['inline']){const _0x40da76=_0x4713d6['getGhsAttributeNameForElement'](_0x3cdae7['element']);_0x383da3['add'](_0x40da76);for(const _0x10cdfe of _0x3cdae7['ghsAttributes'])_0x383da3['add'](_0x10cdfe);}for(const _0x688bed of _0x4b6535)_0x562e7c['registerBlockAttribute'](_0x688bed);for(const _0x5154e3 of _0x383da3)_0x562e7c['registerInlineAttribute'](_0x5154e3);}}class ht extends _0x449179{['afterInit'](){const _0x15f649=this['editor'];if(!_0x15f649['plugins']['has']('TableEditing'))return;const _0x3be6c7=_0x15f649['plugins']['get']('SuggestionsConversion');_0x3be6c7['registerBlockAttribute']('headingRows'),_0x3be6c7['registerBlockAttribute']('headingColumns');}}class dt extends _0x449179{['afterInit'](){const {plugins:_0x4c9838}=this['editor'];if(!_0x4c9838['has']('TablePropertiesEditing'))return;const _0x4d49d2=_0x4c9838['get']('SuggestionsConversion'),_0x398f25=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x45034a of _0x398f25)_0x4d49d2['registerBlockAttribute'](_0x45034a);}}class ft extends _0x449179{['afterInit'](){const _0x91e4ee=this['editor'],_0x5c56ca=_0x91e4ee['plugins']['get']('SuggestionsConversion');_0x91e4ee['plugins']['has']('TableLayout')&&_0x5c56ca['registerBlockAttribute']('tableType');}}class gt extends _0x449179{['afterInit'](){const _0x5110d1=this['editor'],_0x19dd07=this['editor']['plugins']['get']('SuggestionsConversion');_0x5110d1['plugins']['has']('Uploadcare')&&_0x5110d1['plugins']['has']('UploadcareImageEdit')&&_0x19dd07['registerBlockAttribute']('uploadcareImageId');}}class mt extends _0x449179{['afterInit'](){const _0x136ba5=this['editor'];if(!_0x136ba5['plugins']['has']('ShiftEnter'))return;const _0x3eb05a=_0x136ba5['plugins']['get']('SuggestionsConversion'),_0x5d3ad1=(_0x57ad26,_0x318e3d,_0x1afbeb,_0x59c012)=>{if(_0x59c012&&!_0x1afbeb['options']['showSuggestionHighlights'])return;if(!_0x1afbeb['consumable']['test'](_0x318e3d['markerRange'],_0x57ad26['name']))return;const _0x52a7c6=_0x136ba5['model'];for(const _0xdeea9b of _0x318e3d['markerRange']['getItems']()){if(!_0xdeea9b['is']('element','softBreak'))continue;const _0x4fdabc='deletion'==_0x318e3d['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x16cae7,authorId:_0xbe13f6}=Y(_0x318e3d['markerName']),_0x4cba50=_0x1afbeb['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4fdabc,'data-suggestion':_0x16cae7,'data-author-id':_0xbe13f6}),_0x2f62d9=_0x1afbeb['mapper']['toViewPosition'](_0x52a7c6['createPositionBefore'](_0xdeea9b));!_0x59c012&&_0x3eb05a['_activeMarkers']['includes'](_0x318e3d['markerName'])&&_0x1afbeb['writer']['addClass']('ck-suggestion-marker--active',_0x4cba50),_0x1afbeb['writer']['insert'](_0x2f62d9,_0x4cba50),_0x1afbeb['mapper']['bindElementToMarker'](_0x4cba50,_0x318e3d['markerName']);}};_0x136ba5['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5875a9,_0xff812a,_0x8b7a12)=>{_0x5d3ad1(_0x5875a9,_0xff812a,_0x8b7a12,!0x1);},{'priority':'high'}),_0x136ba5['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x17e2c9,_0x1189ee,_0x4addda)=>{_0x5d3ad1(_0x17e2c9,_0x1189ee,_0x4addda,!0x0);},{'priority':'high'});}}class kt extends _0x449179{['afterInit'](){const _0x515f20=this['editor'];_0x515f20['plugins']['has']('MediaEmbedEditing')&&(_0x515f20['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x58b046,{writer:_0x34cf68,options:_0x48ec2b})=>{if(_0x48ec2b['showSuggestionHighlights'])return _0x34cf68['createEmptyElement']('div');},'converterPriority':'high'}),_0x515f20['data']['downcastDispatcher']['on']('attribute:url:media',(_0xe16063,_0xe517b5,_0x4866f9)=>{_0x4866f9['options']['showSuggestionHighlights']&&_0xe16063['stop']();},{'priority':'high'}));}}class pt extends _0x449179{['afterInit'](){const _0x54d15c=this['editor'];if(!_0x54d15c['plugins']['has']('Table'))return;_0x54d15c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5cefc8,_0x482ee4,_0xdb5927)=>{((_0x4de40a,_0x4238c9,_0x215c87)=>{if(!_0x215c87['options']['showSuggestionHighlights'])return;const _0x3f21ba=_0x4238c9['item'];if(!_0x3f21ba||!_0x3f21ba['is']('element','tableCell'))return;const _0x49878e=_0x215c87['mapper']['toViewElement'](_0x3f21ba);if(_0x49878e){const {id:_0x257874,authorId:_0x2bc89a}=Y(_0x4238c9['markerName']);_0x4f30e1(_0x49878e,_0x215c87['writer'],(_0xac2591,_0x49f990,_0x64181f)=>{_0x64181f['addClass'](_0x2acb76(_0x49f990['classes']),_0xac2591),_0x64181f['setAttribute']('data-suggestion',_0x257874,_0xac2591),_0x64181f['setAttribute']('data-author-id',_0x2bc89a,_0xac2591);});}})(0x0,_0x482ee4,_0xdb5927);},{'priority':'highest'});}}class yt extends _0x449179{['afterInit'](){const _0x535652=this['editor'];_0x535652['plugins']['has']('HorizontalLineEditing')&&_0x535652['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x333baa,{writer:_0x510319,options:_0x453d17})=>{if(!_0x453d17['showSuggestionHighlights'])return null;const _0x53d58f=_0x510319['createContainerElement']('div'),_0x4508e1=_0x510319['createEmptyElement']('hr');return _0x510319['addClass']('ck-horizontal-line',_0x53d58f),_0x510319['insert'](_0x510319['createPositionAt'](_0x53d58f,0x0),_0x4508e1),_0x53d58f;},'converterPriority':'high'});}}class wt extends _0x449179{['afterInit'](){const {plugins:_0xdd80f0,model:_0x4c58e2}=this['editor'];if(!_0xdd80f0['has']('TableCellPropertiesEditing'))return;const _0x5740ed=_0xdd80f0['get']('SuggestionsConversion'),_0x2eb1fd=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x2298f0 of _0x2eb1fd)_0x5740ed['registerBlockAttribute'](_0x2298f0);_0x4c58e2['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5740ed['registerBlockAttribute']('tableCellType');}}class bt extends _0x449179{['afterInit'](){const _0x5b9a67=this['editor'];if(!_0x5b9a67['plugins']['has']('TableEditing')||!_0x5b9a67['config']['get']('table.enableFooters'))return;_0x5b9a67['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class vt extends _0x449179{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[K,G,Z,X,tt,et,yt,st,it,nt,ot,rt,at,ct,kt,lt,mt,ut,pt,ht,bt,ft,wt,dt,gt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc057c0=this['editor'],_0x3b801b=(_0x54eebc,_0x5a9c79,_0x1d9eb5)=>{const {id:_0x5ff4a7,authorId:_0x397ce5,type:_0x7e49,subType:_0x23b1fa}=Y(_0x54eebc['markerName']),_0x318c34=['ck-suggestion-marker',this['_getClassName'](_0x7e49,_0x23b1fa)];let _0x5d3a2e=0xbb8;return!_0x1d9eb5&&(this['_activeMarkers']['includes'](_0x54eebc['markerName'])&&(_0x318c34['push']('ck-suggestion-marker--active'),_0x5d3a2e=0xbc2)),('deletion'==_0x7e49&&(_0x5d3a2e+=0x5),{'classes':_0x318c34,'attributes':{'data-suggestion':_0x5ff4a7,'data-author-id':_0x397ce5},'priority':_0x5d3a2e});};_0xc057c0['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2c4b15,_0x2f565b)=>_0x3b801b(_0x2c4b15,0x0,!0x1)}),_0xc057c0['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xf0722c,_0x1026e0)=>_0x3b801b(_0xf0722c,0x0,!0x0)}),_0xc057c0['conversion']['for']('dataDowncast')['add'](_0xb02e39=>{_0xb02e39['on']('addMarker:suggestion',(_0x482af5,_0x9d77ef,_0x5be82b)=>{if(!_0x5be82b['options']['showSuggestionHighlights'])return;const _0x3f1cda=_0x9d77ef['item'];if(!_0x3f1cda)return;const _0x2ac6f3=_0x5be82b['mapper']['toViewElement'](_0x3f1cda);_0xc057c0['model']['schema']['isObject'](_0x3f1cda)&&_0x2ac6f3&&!_0x2ac6f3['getCustomProperty']('widget')&&_0x2ac6f3['is']('containerElement')&&_0x319fe4(_0x2ac6f3,_0x5be82b['writer']);},{'priority':'high'});});const _0x1b392b=(_0x349b23,_0xddb2ae,_0x2992a6,_0x4f76fa,_0x4e054c)=>{if(_0x4f76fa&&!_0x2992a6['options']['showSuggestionHighlights'])return;if(!_0xddb2ae['item'])return;const {id:_0x23ec56,authorId:_0x2234c7,subType:_0x51aaee}=Y(_0xddb2ae['markerName']);if(_0x4e054c){const _0x2bbf3e=_0x51aaee['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2bbf3e))return;}if(_0xddb2ae['item']['is']('selection'))return void _0x2992a6['consumable']['consume'](_0xddb2ae['item'],_0x349b23['name']);const _0x3a4b61=_0x2992a6['mapper']['toViewElement'](_0xddb2ae['item']);if(_0xddb2ae['item']['is']('element')&&_0xc057c0['model']['schema']['isBlock'](_0xddb2ae['item'])&&!_0x3a4b61['getCustomProperty']('addHighlight')){_0x2992a6['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3a4b61),_0x2992a6['writer']['setAttribute']('data-suggestion',_0x23ec56,_0x3a4b61),_0x2992a6['writer']['setAttribute']('data-author-id',_0x2234c7,_0x3a4b61),_0x2992a6['mapper']['bindElementToMarker'](_0x3a4b61,_0xddb2ae['markerName']),_0x4f76fa||(this['_activeMarkers']['includes'](_0xddb2ae['markerName'])?_0x2992a6['writer']['addClass']('ck-suggestion-marker--active',_0x3a4b61):_0x2992a6['writer']['removeClass']('ck-suggestion-marker--active',_0x3a4b61));for(const _0x3e2276 of _0xc057c0['model']['createRangeIn'](_0xddb2ae['item'])['getItems']())_0x2992a6['consumable']['consume'](_0x3e2276,_0x349b23['name']);_0x2992a6['consumable']['consume'](_0xddb2ae['item'],_0x349b23['name']);}},_0x28a1c2=(_0x32f342,_0x588bc3,_0x59c8ae,_0x4d13f7)=>{const _0x333d45=_0x59c8ae['mapper']['markerNameToElements'](_0x588bc3['markerName']);if(_0x333d45){if(_0x4d13f7){const {subType:_0x4d6f2d}=Y(_0x588bc3['markerName']),_0x364147=_0x4d6f2d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x364147))return;}for(const _0x1d27bf of _0x333d45)_0x1d27bf['getCustomProperty']('addHighlight')||(_0x59c8ae['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x1d27bf),_0x59c8ae['writer']['removeAttribute']('data-suggestion',_0x1d27bf),_0x59c8ae['writer']['removeAttribute']('data-author-id',_0x1d27bf),_0x59c8ae['mapper']['unbindElementFromMarkerName'](_0x1d27bf,_0x588bc3['markerName']));}};_0xc057c0['conversion']['for']('editingDowncast')['add'](_0x3d2ffe=>{_0x3d2ffe['on']('addMarker:suggestion:formatBlock',(_0x3cf555,_0x46bdc1,_0x45c732)=>{_0x1b392b(_0x3cf555,_0x46bdc1,_0x45c732,!0x1,!0x1);},{'priority':'high'});}),_0xc057c0['conversion']['for']('editingDowncast')['add'](_0x489541=>{_0x489541['on']('addMarker:suggestion:attribute',(_0x8941ae,_0x2da8ed,_0xc03c0c)=>{_0x1b392b(_0x8941ae,_0x2da8ed,_0xc03c0c,!0x1,!0x0);},{'priority':'high'});}),_0xc057c0['conversion']['for']('editingDowncast')['add'](_0x1fc9f8=>{_0x1fc9f8['on']('removeMarker:suggestion:formatBlock',(_0x4732ae,_0x5bdf4b,_0x388112)=>{_0x28a1c2(0x0,_0x5bdf4b,_0x388112,!0x1);},{'priority':'high'});}),_0xc057c0['conversion']['for']('editingDowncast')['add'](_0x2013e8=>{_0x2013e8['on']('removeMarker:suggestion:attribute',(_0x142c9d,_0x29b027,_0x590ee6)=>{_0x28a1c2(0x0,_0x29b027,_0x590ee6,!0x0);},{'priority':'high'});}),_0xc057c0['conversion']['for']('dataDowncast')['add'](_0x1e4d83=>{_0x1e4d83['on']('addMarker:suggestion:formatBlock',(_0x1c1438,_0x31c12d,_0x40aed6)=>{_0x1b392b(_0x1c1438,_0x31c12d,_0x40aed6,!0x0,!0x1);},{'priority':'highest'});}),_0xc057c0['conversion']['for']('dataDowncast')['add'](_0x4c5ab2=>{_0x4c5ab2['on']('addMarker:suggestion:attribute',(_0x2d1d6e,_0x5496a4,_0x3a9226)=>{_0x1b392b(_0x2d1d6e,_0x5496a4,_0x3a9226,!0x0,!0x0);},{'priority':'highest'});}),_0xc057c0['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x1e7b74,_0x1016ad)=>_0x1016ad['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x1e7b74['substr'](0xb)}});const _0x2a49aa=(_0x2eda33,_0x58e0ca,_0x50cadd,_0x431cfc,_0x5a82f9)=>{if(_0x431cfc&&!_0x50cadd['options']['showSuggestionHighlights'])return;if(!_0x50cadd['consumable']['test'](_0x58e0ca['markerRange'],_0x2eda33['name']))return;const _0x3e54dc=this['_activeMarkers'],_0x5d3506=_0x58e0ca['markerRange']['getWalker'](),_0x18c38f=_0x58e0ca['markerRange']['start'],_0x323c65=_0xc057c0['model']['schema'];let _0xd7c198=null,_0x47ea91=null,_0x9aae02=!0x1,_0x4484b4=!0x1;for(const _0x405b97 of _0x5d3506){const _0x5981d5=_0x405b97['item'];_0x9aae02=_0x9aae02||_0x323c65['isContent'](_0x5981d5);const _0x16bfbd=_0x50cadd['mapper']['toViewElement'](_0x5981d5);if(_0x16bfbd&&_0x16bfbd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x405b97['type']&&(_0x323c65['isBlock'](_0x5981d5)&&!_0x323c65['isLimit'](_0x5981d5)&&(_0x5981d5['nextSibling']||_0x18c38f['isAtEnd']?_0xd7c198&&_0xd7c198['parent']==_0x5981d5||(_0xd7c198=_0x5981d5,_0x4ade28(_0x405b97['previousPosition']),_0x4484b4=!0x0):_0x47ea91=_0x47ea91||_0x405b97['previousPosition']));}function _0x4ade28(_0x3578fd){const {id:_0x2c5fdf,authorId:_0x1e62d1}=Y(_0x58e0ca['markerName']),_0x129ec4=_0x50cadd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5a82f9,'data-suggestion':_0x2c5fdf,'data-author-id':_0x1e62d1}),_0x257c47=_0x50cadd['mapper']['toViewPosition'](_0x3578fd);!_0x431cfc&&_0x3e54dc['includes'](_0x58e0ca['markerName'])&&_0x50cadd['writer']['addClass']('ck-suggestion-marker--active',_0x129ec4),_0x50cadd['writer']['insert'](_0x257c47,_0x129ec4),_0x50cadd['mapper']['bindElementToMarker'](_0x129ec4,_0x58e0ca['markerName']);}_0x9aae02||_0x4484b4||!_0x47ea91||_0x4ade28(_0x47ea91);};_0xc057c0['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x346738,_0x156de6,_0x4e91f9)=>{_0x2a49aa(_0x346738,_0x156de6,_0x4e91f9,!0x1,'merge');},{'priority':'high'}),_0xc057c0['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x499ba1,_0x46fd26,_0x12f57c)=>{_0x2a49aa(_0x499ba1,_0x46fd26,_0x12f57c,!0x0,'merge');},{'priority':'high'}),_0xc057c0['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x42488f,_0x309ecf,_0x2326ad)=>{_0x2a49aa(_0x42488f,_0x309ecf,_0x2326ad,!0x1,'split');},{'priority':'high'}),_0xc057c0['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x42d4d9,_0x5b3856,_0x315035)=>{_0x2a49aa(_0x42d4d9,_0x5b3856,_0x315035,!0x0,'split');},{'priority':'high'}),_0xc057c0['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x14bfb3,_0x49e795,_0x423d40)=>{((_0x3a71ff,_0x13dfb3,_0x45aa21)=>{const _0x258b13=_0x45aa21['mapper']['markerNameToElements'](_0x13dfb3['markerName']);if(_0x258b13){for(const _0x11c2ab of _0x258b13)(_0x11c2ab['hasClass']('ck-suggestion-marker-split')||_0x11c2ab['hasClass']('ck-suggestion-marker-merge'))&&(_0x45aa21['mapper']['unbindElementFromMarkerName'](_0x11c2ab,_0x13dfb3['markerName']),_0x45aa21['writer']['remove'](_0x11c2ab));}})(0x0,_0x49e795,_0x423d40);},{'priority':'high'});const _0x4de202=(_0x4e9c43,_0x307d52,_0x1bbec2,_0xbd8358)=>{if(_0xbd8358&&!_0x1bbec2['options']['showSuggestionHighlights'])return;const _0x22a937=_0x307d52['markerRange']['start'],_0x32c509=_0x307d52['markerRange']['end'],_0x10f71b=_0xc057c0['model']['schema'];if(!_0x22a937['isTouching'](_0x32c509)||!_0x22a937['nodeAfter'])return;const _0x2a6052=_0x22a937['nodeAfter'];if(_0x10f71b['isBlock'](_0x2a6052)&&!_0x10f71b['isLimit'](_0x2a6052)&&_0x10f71b['checkChild'](_0x2a6052,'$text')){if(!_0x1bbec2['consumable']['consume'](_0x307d52['markerRange'],_0x4e9c43['name']))return;const {id:_0x5cb8d4,authorId:_0x1b5cc0}=Y(_0x307d52['markerName']),_0xaa4e9c=_0x1bbec2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x5cb8d4,'data-author-id':_0x1b5cc0}),_0x50fbc9=_0x1bbec2['mapper']['toViewPosition'](_0x32c509);!_0xbd8358&&this['_activeMarkers']['includes'](_0x307d52['markerName'])&&_0x1bbec2['writer']['addClass']('ck-suggestion-marker--active',_0xaa4e9c),_0x1bbec2['writer']['insert'](_0x50fbc9,_0xaa4e9c),_0x1bbec2['mapper']['bindElementToMarker'](_0xaa4e9c,_0x307d52['markerName']);}};_0xc057c0['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3bdf05,_0x177d6d,_0x40f0c1)=>{_0x4de202(_0x3bdf05,_0x177d6d,_0x40f0c1,!0x1);},{'priority':'high'}),_0xc057c0['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3fb3c4,_0x100fb6,_0x5ee958)=>{_0x4de202(_0x3fb3c4,_0x100fb6,_0x5ee958,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x887fd,_0x21071a,_0x2d5cbc)=>{this['_activeMarkers']=_0x2d5cbc['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x251b99){this['_blockAttributeKeys']['add'](_0x251b99);}['registerInlineAttribute'](_0x4a30a4){this['_inlineAttributeKeys']['add'](_0x4a30a4);}['isBlockAttribute'](_0x53bdce){return this['_blockAttributeKeys']['has'](_0x53bdce);}['isInlineAttribute'](_0x2d9e5a){return this['_inlineAttributeKeys']['has'](_0x2d9e5a);}['isRegisteredAttribute'](_0x3516e4){return this['isInlineAttribute'](_0x3516e4)||this['isBlockAttribute'](_0x3516e4);}['_getClassName'](_0x22f1f9,_0x296c03){if('attribute'!=_0x22f1f9)return'ck-suggestion-marker-'+_0x22f1f9;const _0x5ccbb6=_0x296c03['split']('|')[0x0];return this['isBlockAttribute'](_0x5ccbb6)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function Ct(_0x3660fb={},_0x4c3ad6){if(void 0x0!==_0x3660fb['dateTimeFormat']&&'function'!=typeof _0x3660fb['dateTimeFormat'])throw new _0x2fb044('invalid-date-time-format');return _0x51c138=>{const _0x3fb191='string'==typeof _0x51c138?_0x441f4a['fromISO'](_0x51c138):_0x441f4a['fromJSDate'](_0x51c138),_0x2c6357=_0x441f4a['now'](),_0x3927a1=Math['floor'](_0x2c6357['diff'](_0x3fb191,'days')['days']);return _0x3660fb['dateTimeFormat']?_0x3660fb['dateTimeFormat'](_0x3fb191['toJSDate'](),_0x4c3ad6&&_0x4c3ad6['t']?_0x4c3ad6['t']:void 0x0):0x0===_0x3927a1?_0x4c3ad6?$(_0x4c3ad6,'Today')+'\x20'+_0x3fb191['toFormat']('hh:mma'):_0x3fb191['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x3927a1?_0x4c3ad6?$(_0x4c3ad6,'Yesterday')+'\x20'+_0x3fb191['toFormat']('hh:mma'):_0x3fb191['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x3927a1<0x7?_0x4c3ad6?$(_0x4c3ad6,'Last')+'\x20'+$(_0x4c3ad6,_0x3fb191['toFormat']('EEEE'))+'\x20'+_0x3fb191['toFormat']('hh:mma'):_0x3fb191['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x3fb191['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x3d617c,_0x1f12ac){const _0x2a53c5=_0x3d617c['mapper']['markerNameToElements'](_0x1f12ac['name']);if(!_0x2a53c5)return null;const _0x20747b=_0x2befe8(_0x2a53c5['values']());return _0x3d617c['view']['domConverter']['mapViewToDom'](_0x20747b)||null;}function It(_0x3d657c,_0x1c8a25){if(0x0===_0x1c8a25['length'])return null;const _0x58fc6d=[],_0x4e40db=_0x3d657c['view']['domConverter'];for(const _0x10d787 of _0x1c8a25){const _0x3fa7dd=_0x3d657c['mapper']['markerNameToElements'](_0x10d787['name']);if(!_0x3fa7dd)continue;const _0x3cf172=Array['from'](_0x3fa7dd)['map'](_0x125994=>_0x4e40db['mapViewToDom'](_0x125994))['filter'](_0x487be2=>!!_0x487be2);_0x58fc6d['push'](..._0x3cf172);}if(0x0===_0x58fc6d['length'])return null;const _0x166f47=[];for(const _0x2a7c6c of _0x58fc6d){const _0x120c4c=_0x2a7c6c['getClientRects']()['item'](0x0);_0x120c4c&&_0x166f47['push']({'x':_0x120c4c['x'],'y':_0x120c4c['y'],'domElement':_0x2a7c6c});}return 0x0===_0x166f47['length']?null:(_0x166f47['sort']((_0x4db0e4,_0x222370)=>_0x4db0e4['y']-_0x222370['y']||_0x4db0e4['x']-_0x222370['x']),_0x166f47['map'](_0x3e3b32=>_0x3e3b32['domElement']));}function _t(_0x1e7329,{limit:_0x26c0ee,suffix:_0x48f9d6='...'}){const _0x416ad3=[];let _0x2ec351=0x0;const _0xe9e766=_0x1e7329['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x107b21=0x0;_0x107b21<_0xe9e766['length'];_0x107b21++){let _0x5cd061=_0xe9e766[_0x107b21];const _0x2dc538=St(_0x5cd061);if(_0x5cd061['startsWith']('<')){if(_0x2ec351>=_0x26c0ee){const _0x27728f=_0x5cd061['match'](/[a-zA-Z]+/);if(!_0x27728f){_0xe9e766[_0x107b21]='';continue;}const _0x152b3e=_0x27728f[0x0];_0x5cd061['startsWith']('</')?(_0x416ad3['length']&&(_0x5cd061=''),_0x416ad3['pop']()):(_0x416ad3['push'](_0x152b3e),_0x5cd061='');}}else{if(_0x2ec351>=_0x26c0ee)_0x5cd061='';else{if(_0x2ec351+_0x2dc538['length']>=_0x26c0ee){let _0x1ab63e=_0x26c0ee-_0x2ec351;if('\x20'===_0x2dc538[_0x1ab63e-0x1])_0x1ab63e--;else{const _0x41ba61=_0x2dc538['slice'](_0x1ab63e)['indexOf']('\x20');-0x1!==_0x41ba61?_0x1ab63e+=_0x41ba61:_0x1ab63e=_0x5cd061['length'];}_0x5cd061=_0x2dc538['slice'](0x0,_0x1ab63e)['join']('')+_0x48f9d6,_0x2ec351=_0x26c0ee;}else _0x2ec351+=_0x2dc538['length'];}}_0xe9e766[_0x107b21]=_0x5cd061;}return _0xe9e766['join']('\x0a')['replace'](/\n/g,'');}function St(_0x59218e){const _0x4be9f3=[];for(let _0x486b18=0x0;_0x486b18<_0x59218e['length'];_0x486b18++){const _0x4c139c=_0x59218e['substring'](_0x486b18)['match'](/^&[a-z0-9#]+;/);if(_0x4c139c){const _0x4dbf9f=_0x4c139c[0x0];_0x4be9f3['push'](_0x4dbf9f),_0x486b18+=_0x4dbf9f['length']-0x1;}else _0x4be9f3['push'](_0x59218e[_0x486b18]);}return _0x4be9f3;}class Et extends _0x335e4e{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0xee2b75){super(_0xee2b75);const _0x3822d7=this['bindTemplate'];this['set']('message',$(_0xee2b75,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0xee2b75,$(_0xee2b75,'Yes'),_0x2064c9,'submit'),this['cancelView']=this['_createButtonView'](_0xee2b75,$(_0xee2b75,'No'),_0x1bc69e,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x517302(),this['keystrokes']=new _0x3b19b7(),this['focusCycler']=new _0x2088d8({'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':_0x3822d7['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'](_0x4e13f2,_0x65bd1f,_0x3e46d8,_0x32c785){const _0x35a990=new _0x30d83d(_0x4e13f2);return _0x35a990['label']=_0x65bd1f,_0x35a990['icon']=_0x3e46d8,_0x35a990['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x32c785}}),_0x35a990['on']('execute',()=>this['fire'](_0x32c785)),_0x35a990;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x50a6b8=>{this['keystrokes']['listenTo'](_0x50a6b8['element']),this['focusTracker']['add'](_0x50a6b8['element']);}),this['keystrokes']['set']('esc',(_0x13caaa,_0x4433f0)=>{this['fire']('cancel'),_0x4433f0();});}}function At(_0x458eed){return class extends _0x458eed{['showConfirm'](_0x339736,_0xb4721b){return this['confirmView']=new Et(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x339736,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0xb4721b['appendChild'](this['confirmView']['element']),_0xb4721b['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x39d4fa,_0x1acd94,_0x57990a)=>{_0x57990a||_0xb4721b['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x116d86=>this['confirmView']['on']('submit',_0x116d86));}['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 Mt(_0x232429){let _0x530edd=0x0,_0x219f12=0x0;for(const _0x2d1913 of Nt(_0x232429))_0x530edd=(_0x530edd<<0x5)-_0x530edd+_0x2d1913,_0x530edd&=_0x530edd,[_0x530edd,_0x219f12]=[_0x219f12,_0x530edd];return Ot(_0x530edd)+Ot(_0x219f12);}function*Tt(_0x5b0708){null==_0x5b0708||null==_0x5b0708?yield 0x12b9b0a1:0x0===_0x5b0708||!0x1===_0x5b0708?yield 0x0:0x1===_0x5b0708||0x1==_0x5b0708?yield 0x1:Array['isArray'](_0x5b0708)?yield*function*(_0x47d277){for(const _0x42a2d4 of _0x47d277)yield*Tt(_0x42a2d4);}(_0x5b0708):'object'==typeof _0x5b0708?yield*Nt(_0x5b0708):'string'==typeof _0x5b0708?yield*Pt(_0x5b0708):'number'==typeof _0x5b0708&&(yield _0x5b0708);}function*Nt(_0x325bc1){if(yield Bt('{'),_0x325bc1){const _0xc9d447=Object['keys'](_0x325bc1)['sort']();for(const _0xc2ae0b of _0xc9d447){yield*Pt(_0xc2ae0b),yield Bt(':');const _0x37c6ab=_0x325bc1[_0xc2ae0b];yield*Tt(_0x37c6ab);}}yield Bt('}');}function*Pt(_0xb2a761){yield Bt('\x22');for(const _0x47d470 of _0xb2a761)yield Bt(_0x47d470);yield Bt('\x22');}function Bt(_0x41f288){return _0x41f288['charCodeAt'](0x0);}function Ot(_0x1ca943){return(_0x1ca943*=Math['sign'](_0x1ca943))['toString'](0x24);}const Dt=['root','roots','initialData','context','toolbar','rootsAttributes'],$t=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x21e292,_0x3d95c3,_0x140dbf,_0x2242cc=[]){const _0x260a80='string'==typeof _0x21e292?_0x140dbf['get'](_0x21e292)['constructor']:_0x21e292['prototype']['constructor'];if(_0x3d95c3['has'](_0x260a80))return _0x3d95c3['get'](_0x260a80);_0x3d95c3['set'](_0x260a80,!0x0);const _0x566d9c=[...$t,..._0x2242cc]['map'](_0x452eb5=>{if(_0x140dbf['has'](_0x452eb5))return _0x140dbf['get'](_0x452eb5)['constructor'];})['filter'](_0x3cd787=>_0x3cd787);if(_0x260a80&&_0x566d9c['includes'](_0x260a80))return _0x3d95c3['set'](_0x260a80,!0x1),!0x1;if(!_0x260a80['requires'])return _0x3d95c3['set'](_0x260a80,!0x0),!0x0;const _0x2ab9f7=_0x260a80['requires']['every'](_0x5c3648=>Lt(_0x5c3648,_0x3d95c3,_0x140dbf,_0x2242cc));return _0x3d95c3['set'](_0x260a80,_0x2ab9f7),_0x2ab9f7;}function Vt(_0x3a6f9c,_0x1e71ee){const _0x5094b0={};for(const _0x520b02 of _0x3a6f9c['config']['names']())Dt['includes'](_0x520b02)||(_0x5094b0[_0x520b02]=_0x3a6f9c['config']['get'](_0x520b02));const _0x271e2d=_0x5094b0['plugins']||[],_0x45b4a2=_0x3a6f9c['constructor']['builtinPlugins']||[],_0x1c5be3=_0x271e2d['length']?_0x271e2d:_0x45b4a2,_0x4b06d7=_0x5094b0['extraPlugins']||[];delete _0x5094b0['extraPlugins'];const _0x592e5c=_0x5094b0['removePlugins']||[];delete _0x5094b0['removePlugins'];const _0x32b3bd=_0x3a6f9c['_context']['config']['get']('plugins')||[],_0x484dd3=_0x1c5be3['concat'](_0x4b06d7)['concat'](_0x32b3bd)['map'](_0x41348a=>'string'==typeof _0x41348a?_0x45b4a2['find'](_0x3160fd=>_0x3160fd['pluginName']==_0x41348a):_0x41348a)['filter'](_0x28b90f=>!_0x592e5c['includes'](_0x28b90f)&&!_0x592e5c['includes'](_0x28b90f['pluginName'])),_0x1324a9=Array['from'](new Set(_0x484dd3)),_0x3e33c5=new Map();return _0x5094b0['plugins']=_0x1324a9['filter'](_0x1bdd12=>Lt(_0x1bdd12,_0x3e33c5,_0x3a6f9c['plugins'],_0x1e71ee)),_0x5094b0;}function Ut(_0x1f88eb,_0x30e30c){const _0x28859d=[];_0x1f88eb['document']['selection']['on']('change:range',()=>{const _0x8f673c=function(_0x751162,_0x34004c){const _0x21b5b9=[];for(const _0x282f71 of _0x751162['markers']){const _0x259534=_0x282f71['getRange']();(_0x259534['containsPosition'](_0x34004c)||_0x259534['start']['isEqual'](_0x34004c)||_0x259534['end']['isEqual'](_0x34004c))&&_0x21b5b9['push'](_0x282f71);}return _0x21b5b9;}(_0x1f88eb,_0x1f88eb['document']['selection']['focus']),_0x4b9c76=[],_0x1862f8=[],_0x1cac1b=[];for(const _0x2a3835 of _0x28859d)_0x8f673c['includes'](_0x2a3835)||_0x4b9c76['push'](_0x2a3835);for(const _0x4a0acd of _0x8f673c)_0x28859d['includes'](_0x4a0acd)||_0x1862f8['push'](_0x4a0acd),_0x1cac1b['push'](_0x4a0acd);(_0x4b9c76['length']||_0x1862f8['length'])&&_0x30e30c({'left':_0x4b9c76,'entered':_0x1862f8}),_0x28859d['length']=0x0,_0x28859d['push'](..._0x1cac1b);});}const Rt='Ctrl+Shift+E';function Ft(_0x522db6,_0x3060a2){const _0xc614e2=_0x522db6['element'];_0x522db6['keystrokes']['listenTo'](_0xc614e2);for(const _0x10ee26 of _0x3060a2)Ht(_0x522db6,_0x10ee26);_0x3060a2['on']('change',(_0x75421b,_0x497e9c)=>{for(const _0x2f50ff of _0x497e9c['removed'])zt(_0x522db6,_0x2f50ff);for(const _0x5a85f7 of Array['from'](_0x497e9c['added'])['reverse']())Ht(_0x522db6,_0x5a85f7);}),_0x522db6['keystrokes']['set']('enter',(_0x49bc8c,_0x9ce5b)=>{_0xc614e2===_0x49bc8c['target']&&(_0x522db6['focusCycler']['focusFirst'](),_0x9ce5b());},{'filter':_0x3ba3b4=>_0x3ba3b4['target']===_0xc614e2}),_0x522db6['keystrokes']['set']('esc',(_0x4550ce,_0x3aa248)=>{_0xc614e2!==_0x4550ce['target']?_0x522db6['focus']():_0x522db6['fire']('escape'),_0x3aa248();}),_0x522db6['keystrokes']['set']('arrowdown',(_0x3dc5b9,_0x3fa8dc)=>{_0xc614e2===_0x3dc5b9['target']&&(_0x522db6['fire']('arrowdown'),_0x3fa8dc());}),_0x522db6['keystrokes']['set']('arrowup',(_0x5a9156,_0x5f01b4)=>{_0xc614e2===_0x5a9156['target']&&(_0x522db6['fire']('arrowup'),_0x5f01b4());});}function Ht(_0x204a68,_0x1f7d96){_0x1f7d96['isRendered']&&(_0x204a68['focusTracker']['add'](_0x1f7d96['element']),_0x204a68['keystrokes']['listenTo'](_0x1f7d96['element']),_0x52dbe9(_0x1f7d96)&&function(_0x4d062d,_0x558c19){const _0x34a1df=_0x4d062d['actions'],_0x8c7c1=_0x558c19['actions'];for(const _0x1383f1 of Object['keys'](_0x34a1df))if(_0x1383f1 in _0x8c7c1&&_0x34a1df[_0x1383f1]!==_0x8c7c1[_0x1383f1])return!0x1;return!0x0;}(_0x204a68['focusCycler'],_0x1f7d96['focusCycler'])&&_0x204a68['focusCycler']['chain'](_0x1f7d96['focusCycler']));}function zt(_0x2a053b,_0x476f9b){_0x2a053b['focusTracker']['remove'](_0x476f9b['element']),_0x2a053b['keystrokes']['stopListening'](_0x476f9b['element']),_0x52dbe9(_0x476f9b)&&_0x2a053b['focusCycler']['unchain'](_0x476f9b['focusCycler']);}const Wt='$elementId',jt='data-id';class Yt extends _0x38ea19{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x5283bb?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3aee74,_0x24b199)=>{_0x24b199['on']('ready',()=>{this['_integrateEditor'](_0x24b199);});});}get['editor'](){if(this['context']instanceof _0x5283bb)return this['context'];{const _0x34c99c=this['context']['editors']['first'];if(!_0x34c99c)throw new _0x2fb044('documentcompare-no-editor',this);return _0x34c99c;}}['getDiff'](_0x28f800,_0x18ec1c,_0xe19cf7={'anchor':'main','markDeletions':!0x1}){let _0x16c8f1,_0x4e02d8;const _0x418561=this['editor'];if('string'==typeof _0xe19cf7['anchor']){const _0x49777b=_0x418561['model']['document']['getRoot'](_0xe19cf7['anchor']);if(!_0x49777b)throw new _0x2fb044('documentcompare-compare-no-root',this,{'anchor':_0xe19cf7['anchor']});_0x16c8f1=_0x49777b,_0x4e02d8=_0x418561['model']['createPositionAt'](_0x49777b,0x0);}else _0x16c8f1=_0xe19cf7['anchor']['clone'](),_0x4e02d8=_0xe19cf7['anchor']['clone']();const _0x508baa=_0x418561['data']['parse'](_0x28f800,_0x16c8f1),_0x1fdb9c=_0x418561['data']['parse'](_0x18ec1c,_0x16c8f1);return new Jt(_0x508baa,_0x1fdb9c,_0x418561,{'anchor':_0x4e02d8,'markDeletions':_0xe19cf7['markDeletions']});}['isMarkedRemoveOperation'](_0x332fc3){return'marker'==_0x332fc3['type']&&_0x332fc3['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x689857){_0x689857['conversion']['for']('upcast')['add'](_0x18668c=>{_0x18668c['on']('element',(_0x460973,_0x4079f9,_0x91548f)=>{if(_0x4079f9['modelRange'])for(const _0x28d3ff of _0x4079f9['modelRange']['getItems']({'shallow':!0x0})){if(_0x28d3ff['is']('$textProxy'))continue;const _0xc6e091=_0x4079f9['viewItem']['getAttribute'](jt);_0xc6e091&&_0x91548f['writer']['setAttribute'](Wt,_0xc6e091,_0x28d3ff);}},{'priority':'lowest'});}),_0x689857['model']['schema']['addAttributeCheck'](()=>!0x0,Wt);}}class Jt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x341a0c,_0x24fd46,_0x178fb1,_0x22ea27){this['_editor']=_0x178fb1,this['_markDeletions']=!!_0x22ea27['markDeletions'],this['_anchor']=_0x22ea27['anchor'];const _0x29a497=this['_tokenizeModel'](_0x341a0c),_0x5c6b94=this['_tokenizeModel'](_0x24fd46);this['_diffItems']=this['_diffModelTokens'](_0x29a497,_0x5c6b94),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x341a0c['markers'],_0x24fd46['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x2d45f7=this['_editor']['model']['document'],_0x33621f=[];let _0x3f3446=_0x2d45f7['version'];for(const _0x37db31 of this['_operationsData'])switch(_0x37db31['type']){case'attribute':{const _0x5a2e00=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['path']),_0x131169=_0x5a2e00['getShiftedBy'](_0x37db31['howMany']),_0xb66c35=new _0x5a0cd4(_0x5a2e00,_0x131169),_0x4e515f=JSON['parse'](_0x37db31['oldValue']),_0xc45b87=JSON['parse'](_0x37db31['newValue']);_0x33621f['push'](new _0x19810e(_0xb66c35,_0x37db31['key'],_0x4e515f,_0xc45b87,_0x3f3446++));break;}case'insert':{const _0x5103a2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['path']),_0x5028e4=this['_makeModelFromTokens'](_0x37db31['tokens']);_0x33621f['push'](new _0x4f9bc3(_0x5103a2,_0x5028e4,_0x3f3446++));break;}case'remove':{const _0x37e5af=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['path']),_0xa111ed=new _0x2445a4(_0x2d45f7['graveyard'],[0x0]);_0x33621f['push'](new _0x92d95a(_0x37e5af,_0x37db31['howMany'],_0xa111ed,_0x3f3446++));break;}case'rename':{const _0x1434e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['path']);_0x33621f['push'](new _0x49aace(_0x1434e2,_0x37db31['oldName'],_0x37db31['newName'],_0x3f3446++));break;}case'split':{const _0x4f050e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['path']),_0x2a8769=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['path']['slice'](0x0,-0x1));_0x2a8769['offset']++,_0x33621f['push'](new _0x465824(_0x4f050e,Number['NEGATIVE_INFINITY'],_0x2a8769,null,_0x3f3446++));break;}case'merge':{const _0x390217=_0x37db31['path']['slice'](),_0x4803a1=_0x390217['slice'](0x0,-0x1);_0x4803a1[_0x4803a1['length']-0x1]++,_0x4803a1['push'](0x0);const _0x210724=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4803a1),_0x1f148e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x390217),_0x50b325=new _0x2445a4(_0x2d45f7['graveyard'],[0x0]);_0x33621f['push'](new _0x4d8541(_0x210724,Number['NEGATIVE_INFINITY'],_0x1f148e,_0x50b325,_0x3f3446++));break;}case'marker':case'markedRemove':{let _0x16ba95=null;if(_0x37db31['range']){const _0x1b53e7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['range']['start']),_0x5b85c6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['range']['end']);_0x16ba95=new _0x5a0cd4(_0x1b53e7,_0x5b85c6);}const _0x4a8208='marker'==_0x37db31['type']?_0x37db31['name']:'$markedRemove:'+_0x4c0b55();_0x33621f['push'](new _0x2afab3(_0x4a8208,null,_0x16ba95,_0x2d45f7['model']['markers'],!0x0,_0x3f3446++));break;}case'unwrap':{const _0x2c7173=_0x37db31['path']['slice']();_0x2c7173['push'](0x0);const _0x5ab596=_0x37db31['path']['slice'](),_0x1bea74=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c7173),_0x2a83dd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ab596),_0x9d4f54=new _0x2445a4(_0x2d45f7['graveyard'],[0x0]);_0x33621f['push'](new _0x92d95a(_0x1bea74,_0x37db31['howMany'],_0x2a83dd,_0x3f3446++)),_0x33621f['push'](new _0x92d95a(_0x2a83dd['getShiftedBy'](_0x37db31['howMany']),0x1,_0x9d4f54,_0x3f3446++));break;}case'wrap':{const _0x19874d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['range']['start']),_0x45f4e0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37db31['range']['end']),_0x221fe4=_0x37db31['token']['element']['_clone'](!0x1),_0x10fe62=_0x37db31['range']['end']['slice']();_0x10fe62['push'](0x0);const _0x505dae=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x10fe62);_0x33621f['push'](new _0x4f9bc3(_0x45f4e0,_0x221fe4,_0x3f3446++)),_0x33621f['push'](new _0x92d95a(_0x19874d,_0x45f4e0['offset']-_0x19874d['offset'],_0x505dae,_0x3f3446++));break;}}return _0x33621f;}['_tokenizeModel'](_0x36ba45){const _0x1289f5=[],_0x5521bc=_0x5a0cd4['_createIn'](_0x36ba45),_0x4b2f60=new _0x5714c3({'boundaries':_0x5521bc});let _0x1af13b='',_0x49641e=null;const _0x43ed6f=[''],_0x5141e1=new Map();for(const _0x3a5ea6 of _0x4b2f60)if('elementStart'==_0x3a5ea6['type']||'elementEnd'==_0x3a5ea6['type']){let _0x245266=_0x43ed6f[0x0];''!==_0x1af13b&&(_0x1289f5['push'](...this['_makeTokensFromTextByWords'](_0x1af13b,_0x49641e,_0x245266)),_0x1af13b='');const _0x258057=_0x3a5ea6['item'];let _0x40d4f8;_0x258057['getAttribute'](Wt)?_0x40d4f8=_0x258057['getAttribute'](Wt):'elementStart'==_0x3a5ea6['type']?(_0x40d4f8=qt(_0x258057),_0x5141e1['set'](_0x258057,_0x40d4f8)):_0x40d4f8=_0x5141e1['get'](_0x258057);const _0x5860da=this['_getElementCategory'](_0x258057);'solid'==_0x5860da&&('elementStart'==_0x3a5ea6['type']?(_0x245266=_0x40d4f8,_0x43ed6f['unshift'](_0x245266)):_0x43ed6f['shift']());const _0x4e557a={'type':'element','element':_0x258057,'elementId':_0x40d4f8,'category':_0x5860da,'isStart':'elementStart'==_0x3a5ea6['type'],'limitId':_0x245266};_0x1289f5['push'](_0x4e557a);}else''==_0x1af13b&&(_0x49641e=_0x3a5ea6['previousPosition']['clone']()),_0x1af13b+=_0x3a5ea6['item']['data'];return''!==_0x1af13b&&_0x1289f5['push'](...this['_makeTokensFromTextByWords'](_0x1af13b,_0x49641e,_0x43ed6f[0x0])),_0x1289f5;}['_makeTokensFromTextByWords'](_0xc0e08,_0x137aa0,_0x358e90){const _0x23c0aa=_0xc0e08['matchAll'](/(\s)/g),_0x7ee534=Array['from'](_0x23c0aa)['map'](_0x56526b=>_0x56526b['index']);_0x7ee534['push'](_0xc0e08['length']),0x0==_0x7ee534[0x0]&&_0x7ee534['shift']();const _0x560513=[],_0x17d210=_0x137aa0['parent'];let _0x2fd3e9=0x0,_0xd1e560=_0x137aa0['offset'];for(let _0x431fa8=0x0;_0x431fa8<_0x7ee534['length'];_0x431fa8++)_0x560513['push']({'type':'text','data':_0xc0e08['slice'](_0x2fd3e9,_0x7ee534[_0x431fa8]),'parent':_0x17d210,'offset':_0xd1e560,'limitId':_0x358e90}),_0x2fd3e9=_0x7ee534[_0x431fa8],_0xd1e560=_0x137aa0['offset']+_0x7ee534[_0x431fa8];return _0x560513;}['_getElementCategory'](_0x2f3b6f){const _0x1c9267=this['_editor']['model']['schema'];return _0x1c9267['isLimit'](_0x2f3b6f)||_0x1c9267['isContent'](_0x2f3b6f)||_0x1c9267['isInline'](_0x2f3b6f)?'solid':_0x1c9267['isBlock'](_0x2f3b6f)?'block':'container';}['_diffModelTokens'](_0x13ccf5,_0x58ab64){const _0x4ae99a=_0x3c6f89(_0x13ccf5,_0x58ab64,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x4ae99a);const _0x44a24e=_0x4ae99a['flatMap'](_0x4909e0=>{const _0x7dca5c=_0x4909e0['added']?'added':_0x4909e0['removed']?'removed':'unchanged';return _0x4909e0['value']['map'](_0x2d352d=>({'token':_0x2d352d,'change':_0x7dca5c}));});let _0x26f235=0x0;for(const _0x15652e of _0x44a24e)'added'!=_0x15652e['change']&&('unchanged'==_0x15652e['change']&&(_0x15652e['before']=_0x13ccf5[_0x26f235]),_0x26f235++);return _0x44a24e;}['_handleUnclosedBlockOpeningTags'](_0x3ac608){for(let _0x130547=0x0;_0x130547<_0x3ac608['length']-0x1;_0x130547++)if(_0x3ac608[_0x130547]['removed']&&_0x3ac608[_0x130547+0x1]['added']){const _0x4702b1=this['_findUnclosedBlockOpeningToken'](_0x3ac608[_0x130547]['value']);if(null!==_0x4702b1){const _0x558bd4=this['_findUnclosedBlockOpeningToken'](_0x3ac608[_0x130547+0x1]['value']),_0x4baf6a=_0x3ac608[_0x130547]['value']['splice'](_0x4702b1),_0x20b840=_0x3ac608[_0x130547+0x1]['value']['splice'](_0x558bd4),_0x1350d7=[_0x20b840['shift']()];_0x4baf6a['shift']();const _0x4a6211={'value':_0x4baf6a,'removed':!0x0},_0x5dae15={'value':_0x20b840,'added':!0x0},_0x49ba0e={'value':_0x1350d7};_0x3ac608['splice'](_0x130547+0x2,0x0,_0x49ba0e,_0x4a6211,_0x5dae15);}}}['_findUnclosedBlockOpeningToken'](_0x1ae741){let _0x2abfc2=0x0,_0x54aeb8=-0x1;for(let _0x393c8e=0x0;_0x393c8e<_0x1ae741['length'];_0x393c8e++){const _0x39574f=_0x1ae741[_0x393c8e];'element'==_0x39574f['type']&&'block'==_0x39574f['category']&&(_0x2abfc2+=_0x39574f['isStart']?0x1:-0x1,_0x39574f['isStart']&&(_0x54aeb8=_0x393c8e));}return 0x0===_0x2abfc2?null:_0x54aeb8;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3f1c3f=0x0;_0x3f1c3f<this['_diffItems']['length'];_0x3f1c3f++){const _0x1fc824=this['_diffItems'][_0x3f1c3f]['change'],_0x52b9a5=[];_0x52b9a5['push'](this['_diffItems'][_0x3f1c3f]);let _0x33a525=_0x3f1c3f+0x1;for(;this['_diffItems'][_0x33a525]&&this['_diffItems'][_0x33a525]['change']==_0x1fc824;)_0x52b9a5['push'](this['_diffItems'][_0x33a525]),_0x33a525++,_0x3f1c3f++;const _0x23f5ee=_0x52b9a5['map'](_0x44a6dd=>_0x44a6dd['token']);if('unchanged'==_0x1fc824)_0x52b9a5['map'](_0x52ccfc=>_0x52ccfc['before'])['forEach'](_0x2aefd2=>this['_traverseOverItem'](_0x2aefd2));else{if('removed'==_0x1fc824){if(this['_markDeletions']){const _0x398008=this['_path']['slice']();_0x23f5ee['forEach'](_0xa9e371=>this['_traverseOverItem'](_0xa9e371));const _0x44367d=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x398008,'end':_0x44367d}});}else this['_handleChanged'](_0x23f5ee,!0x0,this['_path']['slice']());}else{const _0x3f69ea=_0x23f5ee['filter'](_0xe47faa=>'element'!=_0xe47faa['type']||'container'!=_0xe47faa['category']);this['_handleChanged'](_0x3f69ea,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x17959c=0x0;_0x17959c<this['_diffItems']['length'];_0x17959c++){const _0x26784c=this['_diffItems'][_0x17959c]['change'],_0x2a966a=[];_0x2a966a['push'](this['_diffItems'][_0x17959c]);let _0x1485fe=_0x17959c+0x1;for(;this['_diffItems'][_0x1485fe]&&this['_diffItems'][_0x1485fe]['change']==_0x26784c;)_0x2a966a['push'](this['_diffItems'][_0x1485fe]),_0x1485fe++,_0x17959c++;const _0x204e2b=_0x2a966a['map'](_0x4db482=>_0x4db482['token']);if('unchanged'==_0x26784c){const _0x3cf4c6=_0x2a966a['map'](_0x29ec01=>_0x29ec01['before']);this['_handleUnchanged'](_0x3cf4c6,_0x204e2b);}else('removed'!=_0x26784c||this['_markDeletions'])&&_0x204e2b['forEach'](_0x16bfac=>{this['_traverseOverItem'](_0x16bfac);});}}['_calculateMarkersOperationsData'](_0x40e6aa,_0x18b633){const _0x36a611={};for(const [_0x1285d5]of _0x40e6aa)_0x36a611[_0x1285d5]=null;for(const [_0x536064,_0x25e6ed]of _0x18b633)_0x36a611[_0x536064]=_0x25e6ed;const _0x23d9c3=Object['entries'](_0x36a611)['map'](([_0x11286d,_0x219a47])=>({'type':'marker','name':_0x11286d,'range':_0x219a47?{'start':_0x219a47['start']['path']['slice'](),'end':_0x219a47['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x23d9c3);}['_handleUnwraps'](){const _0x1be550=new Map(),_0xa58d0b=[],_0x882d63=[0x0];let _0x20cc03=this['_diffItems']['length']+0x1;for(let _0x3e6796=this['_diffItems']['length']-0x1;_0x3e6796>=0x0;_0x3e6796--){const {token:_0x1d2f36,before:_0x1b5ced,change:_0x1797c9}=this['_diffItems'][_0x3e6796];if('removed'!=_0x1797c9&&(_0x20cc03=_0x3e6796),'element'!=_0x1d2f36['type']||'container'!=_0x1d2f36['category']||'added'==_0x1797c9)continue;const _0x49bdcb=_0x1b5ced?_0x1b5ced['element']:_0x1d2f36['element'];if(_0x1d2f36['isStart']){const _0x744c27=_0x1be550['get'](_0x49bdcb),_0x233ee5=this['_diffItems'][_0x744c27];('removed'==_0x1797c9||'removed'==_0x233ee5['change'])&&_0x20cc03<_0x744c27&&(this['_operationsData']['push']({'type':'unwrap','path':_0x49bdcb['getPath'](),'howMany':_0x49bdcb['maxOffset']+_0x882d63[0x0]}),_0x882d63['shift'](),_0x882d63[0x0]+=_0x49bdcb['maxOffset']-0x1,_0xa58d0b['push'](_0x3e6796),_0xa58d0b['push'](_0x744c27));}else _0x1be550['set'](_0x49bdcb,_0x3e6796),_0x882d63['unshift'](0x0);}_0xa58d0b['sort']((_0x3ca32c,_0xfc3c3c)=>_0xfc3c3c-_0x3ca32c),_0xa58d0b['forEach'](_0x456d51=>{const _0x5c0848=this['_diffItems'][_0x456d51];'removed'==_0x5c0848['change']?this['_diffItems']['splice'](_0x456d51,0x1):(_0x5c0848['change']='added',delete _0x5c0848['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0xbfd1e0=[];for(let _0x46b05c=0x0;_0x46b05c<this['_diffItems']['length'];_0x46b05c++){const {change:_0x3001a8,token:_0x4650bc}=this['_diffItems'][_0x46b05c];if('added'==_0x3001a8&&'element'==_0x4650bc['type']&&'container'==_0x4650bc['category']){if(_0x4650bc['isStart'])_0xbfd1e0['push'](this['_path']['slice']());else{if(!_0x4650bc['isStart']){const _0x55efb5=_0xbfd1e0['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x55efb5,'end':this['_path']['slice']()},'token':_0x4650bc}),this['_path'][this['_path']['length']-0x1]=_0x55efb5[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x3001a8||this['_markDeletions'])&&this['_traverseOverItem'](_0x4650bc);}}['_handleUnchanged'](_0x11dfb7,_0x414557){for(let _0x541a5e=0x0;_0x541a5e<_0x11dfb7['length'];_0x541a5e++){const _0x31bff0=_0x11dfb7[_0x541a5e];if('element'==_0x31bff0['type']&&_0x31bff0['isStart']){const _0x32bcf6=_0x414557[_0x541a5e];'block'==_0x31bff0['category']&&this['_handleElementRename'](_0x31bff0['element'],_0x32bcf6['element'],this['_path']),this['_handleElementAttributeChanges'](_0x31bff0['element'],_0x32bcf6['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x32bcf6);}else{if('element'!=_0x31bff0['type']||_0x31bff0['isStart']){if('text'==_0x31bff0['type']){const _0x2bdea2=this['_path']['slice'](),_0x1577f0=[],_0x439da8=[];for(;_0x11dfb7[_0x541a5e]&&'text'==_0x11dfb7[_0x541a5e]['type'];)_0x1577f0['push'](_0x11dfb7[_0x541a5e]),_0x439da8['push'](_0x414557[_0x541a5e]),this['_path'][this['_path']['length']-0x1]+=_0x11dfb7[_0x541a5e]['data']['length'],_0x541a5e++;_0x541a5e--,this['_handleTextAttributeChanges'](_0x1577f0,_0x439da8,_0x2bdea2);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1c96dc,_0x17fdce,_0x4c74b8){const _0x1a9aba=[],_0x8b26fe=[],_0x3d85ca=_0x4c74b8['slice']();for(let _0x4aefc5=0x0;_0x4aefc5<_0x1c96dc['length'];_0x4aefc5++){const _0x30abb3=_0x1c96dc[_0x4aefc5],_0x21f211=_0x4c74b8['slice']();if('element'!=_0x30abb3['type']||_0x30abb3['isStart'])'element'==_0x30abb3['type']&&_0x30abb3['isStart']?(_0x4c74b8['push'](0x0),_0x17fdce||this['_parents']['push'](_0x30abb3),_0x8b26fe['push']({'before':_0x21f211,'after':_0x4c74b8['slice'](),'index':_0x4aefc5})):_0x4c74b8[_0x4c74b8['length']-0x1]+=_0x30abb3['data']['length'];else{let _0x457884;_0x4c74b8['pop'](),_0x4c74b8[_0x4c74b8['length']-0x1]++,_0x457884=_0x17fdce?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x8b26fe['length']?_0x8b26fe['pop']():_0x1a9aba['push']({'before':_0x21f211,'after':_0x4c74b8['slice'](),'index':_0x4aefc5,'related':_0x457884});}}if(_0x8b26fe['length']!==_0x1a9aba['length'])throw new _0x2fb044('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1c96dc,'isRemove':_0x17fdce});const _0x1edf6a=[{'after':_0x3d85ca['slice'](),'index':-0x1},..._0x1a9aba,..._0x8b26fe,{'before':_0x4c74b8['slice'](),'index':_0x1c96dc['length']}];if(_0x17fdce){for(let _0x3a5fd3=_0x1edf6a['length']-0x1;_0x3a5fd3>=0x1;_0x3a5fd3--){const _0x43c03=_0x1edf6a[_0x3a5fd3-0x1]['after'],_0x55b58e=_0x1edf6a[_0x3a5fd3]['before'],_0x30271a=_0x55b58e[_0x55b58e['length']-0x1]-_0x43c03[_0x43c03['length']-0x1];_0x30271a&&(this['_operationsData']['push']({'type':'remove','path':_0x43c03,'howMany':_0x30271a}),_0x55b58e[_0x55b58e['length']-0x1]-=_0x30271a);}for(const {before:_0x289cf1}of _0x1a9aba)this['_operationsData']['push']({'type':'merge','path':_0x289cf1});}else for(let _0x13322d=0x0;_0x13322d<_0x1edf6a['length']-0x1;_0x13322d++){const _0x1d4b03=_0x1edf6a[_0x13322d]['after'],_0x4d532e=_0x1edf6a[_0x13322d+0x1]['before'],_0x3a2f74=_0x1edf6a[_0x13322d]['index']+0x1,_0x2c2ce=_0x1edf6a[_0x13322d+0x1]['index'];if(_0x3a2f74!==_0x2c2ce&&this['_operationsData']['push']({'type':'insert','path':_0x1d4b03,'tokens':_0x1c96dc['slice'](_0x3a2f74,_0x2c2ce)}),_0x13322d<_0x1a9aba['length']){this['_operationsData']['push']({'type':'split','path':_0x4d532e});const _0x46518b=_0x1c96dc[_0x8b26fe[_0x8b26fe['length']-0x1-_0x13322d]['index']],_0x1e4872=_0x1a9aba[_0x13322d]['after'],_0x32b042=_0x1a9aba[_0x13322d]['related']['element'];this['_handleElementRename'](_0x32b042,_0x46518b['element'],_0x1e4872),this['_handleElementAttributeChanges'](_0x32b042,_0x46518b['element'],_0x1e4872);}}}['_traverseOverItem'](_0x2dfda1){'element'==_0x2dfda1['type']&&_0x2dfda1['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x2dfda1)):'element'!=_0x2dfda1['type']||_0x2dfda1['isStart']?'text'==_0x2dfda1['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x2dfda1['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x3eaaac,_0x54d41d,_0x4f1ae1){_0x3eaaac['name']!=_0x54d41d['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4f1ae1['slice'](),'oldName':_0x3eaaac['name'],'newName':_0x54d41d['name']});}['_handleElementAttributeChanges'](_0x150046,_0x4db7c5,_0x236aa7){const _0x4253d1=this['_getAttributeChanges'](_0x150046['getAttributes'](),_0x4db7c5['getAttributes']());for(const _0x39d648 in _0x4253d1){const {oldValue:_0x3ecdba,newValue:_0x2927fb}=_0x4253d1[_0x39d648];this['_operationsData']['push']({'type':'attribute','path':_0x236aa7['slice'](),'howMany':0x1,'key':_0x39d648,'oldValue':_0x3ecdba,'newValue':_0x2927fb});}}['_handleTextAttributeChanges'](_0x514e65,_0x338bcc,_0x5a05b5){const _0x296d5e=this['_operationsData'],_0x4a1cb5=_0x514e65[0x0]['parent'],_0x515300=_0x514e65[0x0]['offset'],_0x44fb6e=_0x338bcc[0x0]['parent'],_0x54acce=_0x338bcc[0x0]['offset'],_0x37944d=_0x514e65['reduce']((_0x1edc79,_0x5ebc77)=>_0x1edc79+_0x5ebc77['data']['length'],0x0),_0x3c3af4=this['_getAttrsForOffsets'](_0x4a1cb5,_0x515300,_0x37944d),_0x160e86=this['_getAttrsForOffsets'](_0x44fb6e,_0x54acce,_0x37944d),_0x5104e7={};for(let _0x29b029=0x0;_0x29b029<_0x37944d;_0x29b029++){const _0x58c607=_0x3c3af4[_0x515300+_0x29b029],_0x1372dc=_0x160e86[_0x54acce+_0x29b029],_0x47c11e=this['_getAttributeChanges'](_0x58c607,_0x1372dc);for(const _0x4d7e06 in _0x5104e7)_0x47c11e[_0x4d7e06]||_0x12ff73(_0x4d7e06);for(const _0x38c4bd in _0x47c11e){const {oldValue:_0x25c095,newValue:_0x133a63}=_0x47c11e[_0x38c4bd],_0x14cc67=_0x5104e7[_0x38c4bd];_0x14cc67?_0x14cc67['oldValue']==_0x25c095&&_0x14cc67['newValue']==_0x133a63?_0x14cc67['length']++:(_0x12ff73(_0x38c4bd),_0x5104e7[_0x38c4bd]={'oldValue':_0x25c095,'newValue':_0x133a63,'start':_0x29b029,'length':0x1}):_0x5104e7[_0x38c4bd]={'oldValue':_0x25c095,'newValue':_0x133a63,'start':_0x29b029,'length':0x1};}}for(const _0x22e471 in _0x5104e7)_0x12ff73(_0x22e471);function _0x12ff73(_0xa73edd){const _0x52cf38=_0x5104e7[_0xa73edd],_0xaf0b6c=_0x5a05b5['slice']();_0xaf0b6c[_0xaf0b6c['length']-0x1]+=_0x52cf38['start'],_0x296d5e['push']({'type':'attribute','path':_0xaf0b6c,'howMany':_0x52cf38['length'],'key':_0xa73edd,'oldValue':_0x52cf38['oldValue'],'newValue':_0x52cf38['newValue']}),delete _0x5104e7[_0xa73edd];}}['_getAttributeChanges'](_0xa58f70,_0x2970dc){const _0x2bbbb4={};for(const [_0x464a59,_0x1eb481]of _0xa58f70)_0x2bbbb4[_0x464a59]={'oldValue':JSON['stringify'](_0x1eb481),'newValue':'null'};for(const [_0x27fa94,_0x3feb80]of _0x2970dc){const _0x487f4e=JSON['stringify'](_0x3feb80);_0x2bbbb4[_0x27fa94]?_0x2bbbb4[_0x27fa94]['oldValue']==_0x487f4e?delete _0x2bbbb4[_0x27fa94]:_0x2bbbb4[_0x27fa94]['newValue']=_0x487f4e:_0x2bbbb4[_0x27fa94]={'oldValue':'null','newValue':_0x487f4e};}return delete _0x2bbbb4[Wt],_0x2bbbb4;}['_getAttrsForOffsets'](_0x37dd00,_0xf45f47,_0x5e3139){const _0x5db786=new Array(_0xf45f47+_0x5e3139);let _0x140bca=_0x37dd00['getChildAtOffset'](_0xf45f47),_0xc7aef0=_0x140bca['startOffset'];for(;_0x140bca&&_0xc7aef0<_0xf45f47+_0x5e3139;){const _0x111c73=Array['from'](_0x140bca['getAttributes']());_0x5db786['fill'](_0x111c73,_0xc7aef0,_0xc7aef0+_0x140bca['offsetSize']),_0xc7aef0+=_0x140bca['offsetSize'],_0x140bca=_0x140bca['nextSibling'];}return _0x5db786;}['_getPositionFromAnchorAndPath'](_0x40dd86,_0x375c96){const _0x2839f6=[..._0x40dd86['path']['slice'](0x0,-0x1),_0x40dd86['offset']+_0x375c96[0x0],..._0x375c96['slice'](0x1)];return new _0x2445a4(_0x40dd86['root'],_0x2839f6);}['_makeModelFromTokens'](_0x55d016){const _0x5bec17=[];let _0x388907=null;for(const _0x22d899 of _0x55d016)if('element'!=_0x22d899['type']||_0x22d899['isStart']||_0x388907!=_0x22d899['element']){if(!_0x388907){if('text'==_0x22d899['type']){const _0x4af999=_0x2445a4['_createAt'](_0x22d899['parent'],_0x22d899['offset']),_0x173a1b=_0x5a0cd4['_createFromPositionAndShift'](_0x4af999,_0x22d899['data']['length']),_0x5100fe=Array['from'](_0x173a1b['getItems']())['map'](_0x3340f6=>new _0x37ae6b(_0x3340f6['data'],_0x3340f6['getAttributes']()));_0x5bec17['push'](..._0x5100fe);}else{_0x388907=_0x22d899['element'];const _0x463287=_0x22d899['element']['_clone'](!0x0);_0x463287['_removeAttribute'](Wt);for(const _0x523a9d of this['_editor']['model']['createRangeIn'](_0x463287)['getItems']())_0x523a9d['is']('element')&&_0x523a9d['_removeAttribute'](Wt);_0x5bec17['push'](_0x463287);}}}else _0x388907=null;return _0x5bec17;}}function Kt(_0x16a12a,_0x2aa58f){return _0x16a12a['type']===_0x2aa58f['type']&&(_0x16a12a['limitId']===_0x2aa58f['limitId']&&('text'==_0x16a12a['type']?_0x16a12a['data']==_0x2aa58f['data']:function(_0x1df8ad,_0x4c567c){if(_0x1df8ad['isStart']!=_0x4c567c['isStart'])return!0x1;if(_0x1df8ad['isStart']&&_0x1df8ad['elementId']!=_0x4c567c['elementId'])return!0x1;if(_0x1df8ad['category']!=_0x4c567c['category'])return!0x1;if('block'==_0x1df8ad['category'])return!0x0;if('container'==_0x1df8ad['category']&&_0x1df8ad['elementId']!=_0x4c567c['elementId'])return!0x1;return _0x1df8ad['element']['name']==_0x4c567c['element']['name'];}(_0x16a12a,_0x2aa58f)));}function qt(_0x5ca84e){return Mt({'name':_0x5ca84e['name'],...Object['fromEntries'](_0x5ca84e['getAttributes']())});}export{H as AriaDescriptionView,At as ConfirmMixin,Wt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Yt as DocumentCompare,Rt as FOCUS_ANNOTATION_KEYSTROKE,z as LateFocusButtonView,W as LateFocusDropdownButtonView,D as Permissions,vt as SuggestionsConversion,F as UserView,L as Users,J as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,Ct as getDateTimeFormatter,xt as getMarkerDomElement,Mt as hashObject,Vt as sanitizeEditorConfig,Ft as setupThreadKeyboardNavigation,Y as splitSuggestionMarkerName,Ut as surroundingMarkersDetector,_t as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x181460,Editor as _0x4618e7,Plugin as _0x4f96e1}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x105727,Collection as _0x52029b,uid as _0x458b85,toArray as _0x2deb76,first as _0x43c38f,FocusTracker as _0x264b6d,KeystrokeHandler as _0x51ac82}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x5681cf,IconView as _0x1a3b23,ButtonView as _0x29663c,DropdownButtonView as _0x56cd6f,FocusCycler as _0x1c6b43,isViewWithFocusCycler as _0x66c7b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x1604a4,IconCheck as _0x23bb36,IconCancel as _0x5b91e7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x4f0187,toWidget as _0x360d76}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x135f9f}from'luxon';import{InsertOperation as _0x3ed5d1,MoveOperation as _0x496d95,ModelPosition as _0x23989e,ModelRange as _0x442be6,MarkerOperation as _0x3b69bf,MergeOperation as _0x5a5c5c,SplitOperation as _0xe65c7f,RenameOperation as _0x812343,AttributeOperation as _0x3a5cdf,ModelTreeWalker as _0x254e06,ModelText as _0x4d91fe}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0xbc841c}from'diff';class D extends _0x181460{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x2aa989,_0x43fa48){let _0x328ea8;if(_0x43fa48||(_0x43fa48=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x43fa48?_0x328ea8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x328ea8=this['context']['editors']['find'](_0x59c123=>_0x59c123['config']['get']('collaboration.channelId')==_0x43fa48)),!_0x328ea8)throw new _0x105727('permissions-set-permissions-invalid-channel-id',null);const _0x3ab98f=_0x328ea8['plugins'],_0x388533=_0x3ab98f['has']('CommentsRepository')?_0x3ab98f['get']('CommentsRepository'):void 0x0,_0x19cddf=_0x3ab98f['has']('CommentsOnly')&&_0x3ab98f['get']('CommentsOnly'),_0x27fa2a=_0x2aa989['includes']('document:write'),_0x137d56=_0x2aa989['includes']('comment:modify_all'),_0x233bcc=_0x2aa989['includes']('comment:admin'),_0x25d2ba=_0x2aa989['includes']('comment:write'),_0x239d88=_0x25d2ba||_0x233bcc,_0xe52086=_0x239d88||_0x137d56,_0x117153=_0x27fa2a||_0x239d88;(_0x19cddf&&(_0x19cddf['isEnabled']=!_0x27fa2a&&_0xe52086),_0x328ea8 instanceof _0x4618e7)&&(!(_0x27fa2a||_0xe52086&&_0x388533)?_0x328ea8['enableReadOnlyMode']('no-permissions'):_0x328ea8['disableReadOnlyMode']('no-permissions'));if(_0x388533){_0x388533['setPermissions']({'admin':_0x233bcc,'modifyAll':_0x137d56,'write':_0x25d2ba,'resolve':_0x117153},_0x43fa48);const _0x4593d7=_0x328ea8 instanceof _0x4618e7&&_0x328ea8['commands']['get']('addCommentThread');_0x4593d7&&(_0x239d88?_0x4593d7['clearForceDisabled']('noPermissions'):_0x4593d7['forceDisabled']('noPermissions'));}}}function $(_0x1fc3a8,_0x42cf66){const t=_0x1fc3a8['t'];switch(_0x42cf66){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 L extends _0x181460{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[D];}constructor(_0x30342a){super(_0x30342a),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x52029b(),this['_locale']=_0x30342a['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:_0xb716a5,name:_0x4a8418,..._0x2d4bca}){if(!_0xb716a5||'string'!=typeof _0xb716a5)throw new _0x105727('users-add-invalid-id');if(this['users']['has'](_0xb716a5))throw new _0x105727('users-add-duplicated-id',null,{'id':_0xb716a5});const _0x1ac50c=this['context']['config']['get']('users.getInitialsCallback'),_0x3da5cd={..._0x2d4bca,'id':_0xb716a5,'name':U(this['_locale'],_0x4a8418),'color':this['_getNextColor']()};_0x3da5cd['name']=U(this['_locale'],_0x3da5cd['name']);const _0xf44097=new V(_0x3da5cd,_0x1ac50c);return this['users']['add'](_0xf44097),_0xf44097;}['getUser'](_0x3d67e0){return this['users']['get'](_0x3d67e0);}['useAnonymousUser'](){const _0x176ad4=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x176ad4);}['defineMe'](_0x1da4be){if(this['_myId'])throw new _0x105727('users-me-already-defined',null);const _0x5eb27c=this['getUser'](_0x1da4be);if(!_0x5eb27c)throw new _0x105727('users-me-missing-user',null);this['_myId']=_0x1da4be,_0x5eb27c['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0xf9193=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xf9193&&(this['_lastColor']=0x0),new R(this['_lastColor']++);}['_addAnonymousUser'](){const _0x19f0bc=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x19f0bc,'name':$(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class V{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x1c144e,_0xf5b1c7){this['id']=_0x1c144e['id'],this['color']=_0x1c144e['color'],this['name']=_0x1c144e['name'],this['initials']=_0xf5b1c7?_0xf5b1c7(this['name']):this['_computeInitials'](),this['avatar']=_0x1c144e['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5146f6=this['name']['split']('\x20')['filter'](_0x2b84f8=>/^[\p{Letter}]/u['test'](_0x2b84f8));return 0x1===_0x5146f6['length']?this['_getInitial'](_0x5146f6[0x0]):0x0===_0x5146f6['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5146f6[0x0])+this['_getInitial'](_0x5146f6[_0x5146f6['length']-0x1]);}['_getInitial'](_0x5a5bdf){return String['fromCodePoint'](_0x5a5bdf['codePointAt'](0x0))['toUpperCase']();}}function U(_0xfa3204,_0x33fe7b=''){return''==(_0x33fe7b=_0x33fe7b['trim']())?$(_0xfa3204,'Anonymous'):_0x33fe7b;}class R{['_id'];constructor(_0x4418a5){this['_id']=_0x4418a5;}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'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class F extends _0x5681cf{['name'];['notificationView'];constructor(_0x42e582,_0x5dcb3c,_0x4483ce){super(_0x42e582),this['name']=_0x5dcb3c['name'],this['notificationView']=null;const _0x35c781=['ck','ck-user'],_0x2c93c6=['ck','ck-user__img'];if(_0x5dcb3c['isAnonymous']&&_0x2c93c6['push']('ck-user__anonymous'),!_0x5dcb3c['isAnonymous']&&_0x5dcb3c['isMe']&&_0x35c781['push']('ck-user_me'),_0x5dcb3c['avatar']&&_0x2c93c6['push']('ck-user__avatar'),_0x4483ce){const _0x30fa97=new _0x1a3b23();_0x30fa97['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x30fa97['content']=_0x1604a4,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4483ce},'children':[_0x30fa97]};}const _0x3ae66c=[{'tag':'div','attributes':{'class':_0x2c93c6,'style':{'background-image':_0x5dcb3c['avatar']?'url(\x27'+_0x5dcb3c['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5dcb3c['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5dcb3c['name']},'children':[{'text':_0x5dcb3c['initials']}]}];this['notificationView']&&_0x3ae66c['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x35c781,'data-user-id':_0x5dcb3c['id']},'children':_0x3ae66c});}}class H extends _0x5681cf{['id'];constructor(_0x42eb64,_0x3d0158){super(_0x42eb64),this['id']='ck-aria-description-'+_0x458b85(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x3d0158}]});}}class z extends _0x29663c{['render'](){super['render'](),j(this);}}class W extends _0x56cd6f{['render'](){super['render'](),j(this);}}function j(_0x2abe21){_0x2abe21['listenTo'](_0x2abe21['element'],'mousedown',(_0x2e9f40,_0x12446e)=>{_0x12446e['stopPropagation'](),_0x12446e['preventDefault']();}),_0x2abe21['listenTo'](_0x2abe21['element'],'mouseup',()=>{_0x2abe21['element']['focus']();});}function Y(_0x12f778){const _0x5034de=_0x12f778['split'](':');return{'group':_0x5034de[0x0],'type':_0x5034de[0x1],'subType':_0x5034de['length']>=0x5?_0x5034de[0x2]:null,'id':_0x5034de['length']<0x5?_0x5034de[0x2]:_0x5034de[0x3],'authorId':_0x5034de['length']<0x5?_0x5034de[0x3]:_0x5034de[0x4],'markerCount':0x6==_0x5034de['length']?_0x5034de[0x5]:null};}function J(_0xf665ff,_0x4cc415){const _0x57e09f=_0xf665ff['end']['nodeBefore'];if(_0x57e09f&&_0x57e09f['is']('element')&&_0x4cc415['schema']['isBlock'](_0x57e09f)&&!_0x4cc415['schema']['isObject'](_0x57e09f)){const _0x13a1f9=_0x4cc415['createPositionAt'](_0x57e09f,'end');return _0x4cc415['createRange'](_0xf665ff['start'],_0x13a1f9);}return _0xf665ff;}class K extends _0x4f96e1{['afterInit'](){const _0x5f1e4a=this['editor'];if(!_0x5f1e4a['plugins']['has']('AlignmentEditing'))return;_0x5f1e4a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class G extends _0x4f96e1{['afterInit'](){const _0x43ed0b=this['editor'],_0x36b3c7=_0x43ed0b['plugins']['get']('SuggestionsConversion');for(const _0x195946 of q){if(!_0x43ed0b['plugins']['has'](_0x195946))continue;const _0x4f4b5a=_0x195946['slice'](0x0,-0x7)['toLowerCase']();_0x36b3c7['registerInlineAttribute'](_0x4f4b5a);}}}class Z extends _0x4f96e1{['afterInit'](){const _0xd35d63=this['editor'],_0x25231a=_0xd35d63['plugins']['get']('SuggestionsConversion');_0xd35d63['plugins']['has']('BookmarkEditing')&&_0x25231a['registerBlockAttribute']('bookmarkId');}}const Q=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class X extends _0x4f96e1{['afterInit'](){const _0x25e354=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x3de455,commandName:_0x1ef1d3}of Q)this['editor']['plugins']['has'](_0x3de455)&&_0x25e354['registerInlineAttribute'](_0x1ef1d3);}}class tt extends _0x4f96e1{['afterInit'](){const {editor:_0x40fd6a}=this;if(!_0x40fd6a['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x1afa8f=_0x40fd6a['plugins']['get']('SuggestionsConversion');_0x1afa8f['registerBlockAttribute']('footnotesListStyle'),_0x1afa8f['registerBlockAttribute']('footnotesListStart');}}class et extends _0x4f96e1{['afterInit'](){const _0x3029cc=this['editor'];if(!_0x3029cc['plugins']['has']('HighlightEditing'))return;_0x3029cc['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class st extends _0x4f96e1{['afterInit'](){const _0x56ab79=this['editor'];if(!_0x56ab79['plugins']['has']('HtmlEmbed'))return;_0x56ab79['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class it extends _0x4f96e1{['afterInit'](){const _0x2e849a=this['editor'];if(!_0x2e849a['plugins']['has']('ImageEditing'))return;const _0x474beb=_0x2e849a['plugins']['get']('SuggestionsConversion');_0x474beb['registerBlockAttribute']('src'),_0x2e849a['plugins']['has']('ImageResize')&&_0x474beb['registerBlockAttribute']('resizedWidth'),_0x2e849a['plugins']['has']('ImageTextAlternativeEditing')&&_0x474beb['registerBlockAttribute']('alt'),_0x2e849a['plugins']['has']('PictureEditing')&&_0x474beb['registerBlockAttribute']('sources'),_0x2e849a['plugins']['has']('ImageSizeAttributes')&&(_0x474beb['registerBlockAttribute']('width'),_0x474beb['registerBlockAttribute']('height'));}}class nt extends _0x4f96e1{['afterInit'](){const _0x52d429=this['editor'],_0x31a399=_0x52d429['plugins']['get']('SuggestionsConversion');_0x52d429['plugins']['has']('IndentBlock')&&(_0x31a399['registerBlockAttribute']('blockIndent'),_0x52d429['plugins']['has']('ListEditing')&&(_0x31a399['registerBlockAttribute']('blockIndentList'),_0x31a399['registerBlockAttribute']('blockIndentListItem')));}}class ot extends _0x4f96e1{['afterInit'](){const _0x557adf=this['editor'];if(!_0x557adf['plugins']['has']('LineHeight'))return;_0x557adf['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class rt extends _0x4f96e1{['afterInit'](){const _0x495ba4=this['editor'];if(!_0x495ba4['plugins']['has']('LinkEditing'))return;const _0x1a2e54=_0x495ba4['plugins']['get']('SuggestionsConversion'),_0xc46115=_0x495ba4['commands']['get']('link');_0x1a2e54['registerInlineAttribute']('linkHref');for(const _0x36c305 of _0xc46115['manualDecorators'])_0x1a2e54['registerInlineAttribute'](_0x36c305['id']);}}class at extends _0x4f96e1{['afterInit'](){const _0x418c31=this['editor'];if(!_0x418c31['plugins']['has']('ListEditing'))return;const _0x5014f4=_0x418c31['plugins']['get']('SuggestionsConversion'),_0x442477=_0x418c31['plugins']['has']('TodoListEditing');_0x5014f4['registerBlockAttribute']('listItemId'),_0x5014f4['registerBlockAttribute']('listType'),_0x5014f4['registerBlockAttribute']('listIndent'),_0x442477&&_0x5014f4['registerBlockAttribute']('todoListChecked');}}class ct extends _0x4f96e1{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x5afb26=this['editor']['config']['get']('list.properties'),_0x2b3b67=this['editor']['plugins']['get']('SuggestionsConversion');_0x5afb26['styles']&&_0x2b3b67['registerBlockAttribute']('listStyle'),_0x5afb26['reversed']&&_0x2b3b67['registerBlockAttribute']('listReversed'),_0x5afb26['startIndex']&&_0x2b3b67['registerBlockAttribute']('listStart');}}class lt extends _0x4f96e1{['afterInit'](){const _0x56f0f5=this['editor'],_0x2897f0=_0x56f0f5['plugins']['get']('SuggestionsConversion');_0x56f0f5['plugins']['has']('MultiLevelList')&&_0x2897f0['registerBlockAttribute']('listMarkerStyle');}}class ut extends _0x4f96e1{['afterInit'](){const _0x2cca02=this['editor'];if(!_0x2cca02['plugins']['has']('Style')||!_0x2cca02['plugins']['has']('DataSchema')||!_0x2cca02['config']['get']('style.definitions'))return;const _0x553d56=_0x2cca02['plugins']['get']('SuggestionsConversion'),_0x50046f=_0x2cca02['config']['get']('style.definitions'),_0x562dfc=_0x2cca02['plugins']['get']('GeneralHtmlSupport'),_0x93c1cc=_0x2cca02['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2cca02['plugins']['get']('DataSchema'),_0x50046f),_0xb16990=new Set();for(const _0x2e5851 of _0x93c1cc['block']){const _0x30c182=_0x562dfc['getGhsAttributeNameForElement'](_0x2e5851['element']);_0xb16990['add'](_0x30c182);}const _0xba76a1=new Set();for(const _0x808326 of _0x93c1cc['inline']){const _0x597df2=_0x562dfc['getGhsAttributeNameForElement'](_0x808326['element']);_0xba76a1['add'](_0x597df2);for(const _0x14ea89 of _0x808326['ghsAttributes'])_0xba76a1['add'](_0x14ea89);}for(const _0xa336a0 of _0xb16990)_0x553d56['registerBlockAttribute'](_0xa336a0);for(const _0x2fdf0e of _0xba76a1)_0x553d56['registerInlineAttribute'](_0x2fdf0e);}}class ht extends _0x4f96e1{['afterInit'](){const _0x390df4=this['editor'];if(!_0x390df4['plugins']['has']('TableEditing'))return;const _0x28bcd2=_0x390df4['plugins']['get']('SuggestionsConversion');_0x28bcd2['registerBlockAttribute']('headingRows'),_0x28bcd2['registerBlockAttribute']('headingColumns');}}class dt extends _0x4f96e1{['afterInit'](){const {plugins:_0x1ec356}=this['editor'];if(!_0x1ec356['has']('TablePropertiesEditing'))return;const _0x359ff4=_0x1ec356['get']('SuggestionsConversion'),_0x4f0cc2=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x511cc2 of _0x4f0cc2)_0x359ff4['registerBlockAttribute'](_0x511cc2);}}class ft extends _0x4f96e1{['afterInit'](){const _0x11b1f6=this['editor'],_0x1cd00c=_0x11b1f6['plugins']['get']('SuggestionsConversion');_0x11b1f6['plugins']['has']('TableLayout')&&_0x1cd00c['registerBlockAttribute']('tableType');}}class gt extends _0x4f96e1{['afterInit'](){const _0xbd029c=this['editor'],_0x4797d8=this['editor']['plugins']['get']('SuggestionsConversion');_0xbd029c['plugins']['has']('Uploadcare')&&_0xbd029c['plugins']['has']('UploadcareImageEdit')&&_0x4797d8['registerBlockAttribute']('uploadcareImageId');}}class mt extends _0x4f96e1{['afterInit'](){const _0x29f9d4=this['editor'];if(!_0x29f9d4['plugins']['has']('ShiftEnter'))return;const _0x48d09c=_0x29f9d4['plugins']['get']('SuggestionsConversion'),_0x1b5a3b=(_0x22439b,_0xd92690,_0x36b250,_0x195b71)=>{if(_0x195b71&&!_0x36b250['options']['showSuggestionHighlights'])return;if(!_0x36b250['consumable']['test'](_0xd92690['markerRange'],_0x22439b['name']))return;const _0x69fc75=_0x29f9d4['model'];for(const _0x3093bd of _0xd92690['markerRange']['getItems']()){if(!_0x3093bd['is']('element','softBreak'))continue;const _0x4e760c='deletion'==_0xd92690['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x15ca34,authorId:_0x3026bc}=Y(_0xd92690['markerName']),_0x5af65c=_0x36b250['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e760c,'data-suggestion':_0x15ca34,'data-author-id':_0x3026bc}),_0x50101c=_0x36b250['mapper']['toViewPosition'](_0x69fc75['createPositionBefore'](_0x3093bd));!_0x195b71&&_0x48d09c['_activeMarkers']['includes'](_0xd92690['markerName'])&&_0x36b250['writer']['addClass']('ck-suggestion-marker--active',_0x5af65c),_0x36b250['writer']['insert'](_0x50101c,_0x5af65c),_0x36b250['mapper']['bindElementToMarker'](_0x5af65c,_0xd92690['markerName']);}};_0x29f9d4['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x36bc3c,_0x2a3dfd,_0x5421da)=>{_0x1b5a3b(_0x36bc3c,_0x2a3dfd,_0x5421da,!0x1);},{'priority':'high'}),_0x29f9d4['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2b212e,_0x63be67,_0x382f69)=>{_0x1b5a3b(_0x2b212e,_0x63be67,_0x382f69,!0x0);},{'priority':'high'});}}class kt extends _0x4f96e1{['afterInit'](){const _0x15f507=this['editor'];_0x15f507['plugins']['has']('MediaEmbedEditing')&&(_0x15f507['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x13265f,{writer:_0x11cacc,options:_0x35a5c0})=>{if(_0x35a5c0['showSuggestionHighlights'])return _0x11cacc['createEmptyElement']('div');},'converterPriority':'high'}),_0x15f507['data']['downcastDispatcher']['on']('attribute:url:media',(_0x155afc,_0x5c8f37,_0x566987)=>{_0x566987['options']['showSuggestionHighlights']&&_0x155afc['stop']();},{'priority':'high'}));}}class pt extends _0x4f96e1{['afterInit'](){const _0x3895bd=this['editor'];if(!_0x3895bd['plugins']['has']('Table'))return;_0x3895bd['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x201c84,_0x580724,_0x55b246)=>{((_0x483cdd,_0x22a0ec,_0x35d148)=>{if(!_0x35d148['options']['showSuggestionHighlights'])return;const _0x2713de=_0x22a0ec['item'];if(!_0x2713de||!_0x2713de['is']('element','tableCell'))return;const _0xa4f5bc=_0x35d148['mapper']['toViewElement'](_0x2713de);if(_0xa4f5bc){const {id:_0xeb2bdd,authorId:_0x95b87d}=Y(_0x22a0ec['markerName']);_0x4f0187(_0xa4f5bc,_0x35d148['writer'],(_0x48f84c,_0x128104,_0x39528c)=>{_0x39528c['addClass'](_0x2deb76(_0x128104['classes']),_0x48f84c),_0x39528c['setAttribute']('data-suggestion',_0xeb2bdd,_0x48f84c),_0x39528c['setAttribute']('data-author-id',_0x95b87d,_0x48f84c);});}})(0x0,_0x580724,_0x55b246);},{'priority':'highest'});}}class yt extends _0x4f96e1{['afterInit'](){const _0x3a4dfc=this['editor'];_0x3a4dfc['plugins']['has']('HorizontalLineEditing')&&_0x3a4dfc['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x9a4029,{writer:_0x5e2726,options:_0x559bed})=>{if(!_0x559bed['showSuggestionHighlights'])return null;const _0x19b0af=_0x5e2726['createContainerElement']('div'),_0x2e7c24=_0x5e2726['createEmptyElement']('hr');return _0x5e2726['addClass']('ck-horizontal-line',_0x19b0af),_0x5e2726['insert'](_0x5e2726['createPositionAt'](_0x19b0af,0x0),_0x2e7c24),_0x19b0af;},'converterPriority':'high'});}}class wt extends _0x4f96e1{['afterInit'](){const {plugins:_0xe2f21,model:_0x215891}=this['editor'];if(!_0xe2f21['has']('TableCellPropertiesEditing'))return;const _0x39c44a=_0xe2f21['get']('SuggestionsConversion'),_0x3f9f22=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x1ed3fa of _0x3f9f22)_0x39c44a['registerBlockAttribute'](_0x1ed3fa);_0x215891['schema']['checkAttribute']('tableCell','tableCellType')&&_0x39c44a['registerBlockAttribute']('tableCellType');}}class bt extends _0x4f96e1{['afterInit'](){const _0x160651=this['editor'];if(!_0x160651['plugins']['has']('TableEditing')||!_0x160651['config']['get']('table.enableFooters'))return;_0x160651['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class vt extends _0x4f96e1{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[K,G,Z,X,tt,et,yt,st,it,nt,ot,rt,at,ct,kt,lt,mt,ut,pt,ht,bt,ft,wt,dt,gt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x351812=this['editor'],_0x5f5bd1=(_0x5b97fe,_0x1f7b1d,_0x23815d)=>{const {id:_0xac1b84,authorId:_0xb6813a,type:_0x21a22f,subType:_0x3a3009}=Y(_0x5b97fe['markerName']),_0x161a39=['ck-suggestion-marker',this['_getClassName'](_0x21a22f,_0x3a3009)];let _0x69be4a=0xbb8;return!_0x23815d&&(this['_activeMarkers']['includes'](_0x5b97fe['markerName'])&&(_0x161a39['push']('ck-suggestion-marker--active'),_0x69be4a=0xbc2)),('deletion'==_0x21a22f&&(_0x69be4a+=0x5),{'classes':_0x161a39,'attributes':{'data-suggestion':_0xac1b84,'data-author-id':_0xb6813a},'priority':_0x69be4a});};_0x351812['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1acb25,_0x4bb79b)=>_0x5f5bd1(_0x1acb25,0x0,!0x1)}),_0x351812['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4d64f2,_0x3ca08f)=>_0x5f5bd1(_0x4d64f2,0x0,!0x0)}),_0x351812['conversion']['for']('dataDowncast')['add'](_0x264515=>{_0x264515['on']('addMarker:suggestion',(_0x11d367,_0x2cd3f3,_0x57f113)=>{if(!_0x57f113['options']['showSuggestionHighlights'])return;const _0x22c5b0=_0x2cd3f3['item'];if(!_0x22c5b0)return;const _0x537795=_0x57f113['mapper']['toViewElement'](_0x22c5b0);_0x351812['model']['schema']['isObject'](_0x22c5b0)&&_0x537795&&!_0x537795['getCustomProperty']('widget')&&_0x537795['is']('containerElement')&&_0x360d76(_0x537795,_0x57f113['writer']);},{'priority':'high'});});const _0x1569f2=(_0x1c6a2f,_0x34bc5b,_0x4763ed,_0x2059f3,_0x482729)=>{if(_0x2059f3&&!_0x4763ed['options']['showSuggestionHighlights'])return;if(!_0x34bc5b['item'])return;const {id:_0x4d7b29,authorId:_0x29a43f,subType:_0x19ca62}=Y(_0x34bc5b['markerName']);if(_0x482729){const _0xd39219=_0x19ca62['split']('|')[0x0];if(!this['isBlockAttribute'](_0xd39219))return;}if(_0x34bc5b['item']['is']('selection'))return void _0x4763ed['consumable']['consume'](_0x34bc5b['item'],_0x1c6a2f['name']);const _0x2eb70e=_0x4763ed['mapper']['toViewElement'](_0x34bc5b['item']);if(_0x34bc5b['item']['is']('element')&&_0x351812['model']['schema']['isBlock'](_0x34bc5b['item'])&&!_0x2eb70e['getCustomProperty']('addHighlight')){_0x4763ed['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x2eb70e),_0x4763ed['writer']['setAttribute']('data-suggestion',_0x4d7b29,_0x2eb70e),_0x4763ed['writer']['setAttribute']('data-author-id',_0x29a43f,_0x2eb70e),_0x4763ed['mapper']['bindElementToMarker'](_0x2eb70e,_0x34bc5b['markerName']),_0x2059f3||(this['_activeMarkers']['includes'](_0x34bc5b['markerName'])?_0x4763ed['writer']['addClass']('ck-suggestion-marker--active',_0x2eb70e):_0x4763ed['writer']['removeClass']('ck-suggestion-marker--active',_0x2eb70e));for(const _0x891fc7 of _0x351812['model']['createRangeIn'](_0x34bc5b['item'])['getItems']())_0x4763ed['consumable']['consume'](_0x891fc7,_0x1c6a2f['name']);_0x4763ed['consumable']['consume'](_0x34bc5b['item'],_0x1c6a2f['name']);}},_0x5c3b58=(_0x5a2dd2,_0x3f1bc4,_0x17fa47,_0x49722a)=>{const _0x13b52c=_0x17fa47['mapper']['markerNameToElements'](_0x3f1bc4['markerName']);if(_0x13b52c){if(_0x49722a){const {subType:_0x5ae220}=Y(_0x3f1bc4['markerName']),_0xd1b488=_0x5ae220['split']('|')[0x0];if(!this['isBlockAttribute'](_0xd1b488))return;}for(const _0x49a0cc of _0x13b52c)_0x49a0cc['getCustomProperty']('addHighlight')||(_0x17fa47['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x49a0cc),_0x17fa47['writer']['removeAttribute']('data-suggestion',_0x49a0cc),_0x17fa47['writer']['removeAttribute']('data-author-id',_0x49a0cc),_0x17fa47['mapper']['unbindElementFromMarkerName'](_0x49a0cc,_0x3f1bc4['markerName']));}};_0x351812['conversion']['for']('editingDowncast')['add'](_0x4ffcfc=>{_0x4ffcfc['on']('addMarker:suggestion:formatBlock',(_0xed05f6,_0x581b0e,_0x53bffe)=>{_0x1569f2(_0xed05f6,_0x581b0e,_0x53bffe,!0x1,!0x1);},{'priority':'high'});}),_0x351812['conversion']['for']('editingDowncast')['add'](_0x51404d=>{_0x51404d['on']('addMarker:suggestion:attribute',(_0x16b10b,_0x537309,_0x20371f)=>{_0x1569f2(_0x16b10b,_0x537309,_0x20371f,!0x1,!0x0);},{'priority':'high'});}),_0x351812['conversion']['for']('editingDowncast')['add'](_0x2cbda5=>{_0x2cbda5['on']('removeMarker:suggestion:formatBlock',(_0x5dc9e9,_0x4cc135,_0x1f12ab)=>{_0x5c3b58(0x0,_0x4cc135,_0x1f12ab,!0x1);},{'priority':'high'});}),_0x351812['conversion']['for']('editingDowncast')['add'](_0x55d54f=>{_0x55d54f['on']('removeMarker:suggestion:attribute',(_0x27b383,_0x5026a9,_0x3aebf1)=>{_0x5c3b58(0x0,_0x5026a9,_0x3aebf1,!0x0);},{'priority':'high'});}),_0x351812['conversion']['for']('dataDowncast')['add'](_0x4fe636=>{_0x4fe636['on']('addMarker:suggestion:formatBlock',(_0x1d2e2f,_0x5a8ca7,_0x2759c2)=>{_0x1569f2(_0x1d2e2f,_0x5a8ca7,_0x2759c2,!0x0,!0x1);},{'priority':'highest'});}),_0x351812['conversion']['for']('dataDowncast')['add'](_0x3b3311=>{_0x3b3311['on']('addMarker:suggestion:attribute',(_0x2ee92d,_0x321e1f,_0x16d1d2)=>{_0x1569f2(_0x2ee92d,_0x321e1f,_0x16d1d2,!0x0,!0x0);},{'priority':'highest'});}),_0x351812['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x17a392,_0x6ba930)=>_0x6ba930['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x17a392['substr'](0xb)}});const _0x59e33e=(_0xeee643,_0x1f0a03,_0x41b0c5,_0x1cf322,_0x4c5c65)=>{if(_0x1cf322&&!_0x41b0c5['options']['showSuggestionHighlights'])return;if(!_0x41b0c5['consumable']['test'](_0x1f0a03['markerRange'],_0xeee643['name']))return;const _0x163d9e=this['_activeMarkers'],_0x386f50=_0x1f0a03['markerRange']['getWalker'](),_0x58a337=_0x1f0a03['markerRange']['start'],_0x204f56=_0x351812['model']['schema'];let _0x376d77=null,_0x57a8ad=null,_0x3e6545=!0x1,_0x1d955a=!0x1;for(const _0x214ef7 of _0x386f50){const _0x3054e3=_0x214ef7['item'];_0x3e6545=_0x3e6545||_0x204f56['isContent'](_0x3054e3);const _0x337231=_0x41b0c5['mapper']['toViewElement'](_0x3054e3);if(_0x337231&&_0x337231['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x214ef7['type']&&(_0x204f56['isBlock'](_0x3054e3)&&!_0x204f56['isLimit'](_0x3054e3)&&(_0x3054e3['nextSibling']||_0x58a337['isAtEnd']?_0x376d77&&_0x376d77['parent']==_0x3054e3||(_0x376d77=_0x3054e3,_0x3f4426(_0x214ef7['previousPosition']),_0x1d955a=!0x0):_0x57a8ad=_0x57a8ad||_0x214ef7['previousPosition']));}function _0x3f4426(_0x153c8a){const {id:_0x2024b4,authorId:_0x16b9f2}=Y(_0x1f0a03['markerName']),_0x4bbec7=_0x41b0c5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4c5c65,'data-suggestion':_0x2024b4,'data-author-id':_0x16b9f2}),_0x13d403=_0x41b0c5['mapper']['toViewPosition'](_0x153c8a);!_0x1cf322&&_0x163d9e['includes'](_0x1f0a03['markerName'])&&_0x41b0c5['writer']['addClass']('ck-suggestion-marker--active',_0x4bbec7),_0x41b0c5['writer']['insert'](_0x13d403,_0x4bbec7),_0x41b0c5['mapper']['bindElementToMarker'](_0x4bbec7,_0x1f0a03['markerName']);}_0x3e6545||_0x1d955a||!_0x57a8ad||_0x3f4426(_0x57a8ad);};_0x351812['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x900f98,_0x256c41,_0x145348)=>{_0x59e33e(_0x900f98,_0x256c41,_0x145348,!0x1,'merge');},{'priority':'high'}),_0x351812['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x41ff20,_0x40acd2,_0xea5416)=>{_0x59e33e(_0x41ff20,_0x40acd2,_0xea5416,!0x0,'merge');},{'priority':'high'}),_0x351812['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3ed544,_0x4cdda8,_0x49fd31)=>{_0x59e33e(_0x3ed544,_0x4cdda8,_0x49fd31,!0x1,'split');},{'priority':'high'}),_0x351812['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2cf110,_0x5a2e31,_0x3c1b01)=>{_0x59e33e(_0x2cf110,_0x5a2e31,_0x3c1b01,!0x0,'split');},{'priority':'high'}),_0x351812['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4ffca2,_0x326b9b,_0x17e027)=>{((_0x37c12b,_0x891787,_0x1f1ed8)=>{const _0x214995=_0x1f1ed8['mapper']['markerNameToElements'](_0x891787['markerName']);if(_0x214995){for(const _0x5940ca of _0x214995)(_0x5940ca['hasClass']('ck-suggestion-marker-split')||_0x5940ca['hasClass']('ck-suggestion-marker-merge'))&&(_0x1f1ed8['mapper']['unbindElementFromMarkerName'](_0x5940ca,_0x891787['markerName']),_0x1f1ed8['writer']['remove'](_0x5940ca));}})(0x0,_0x326b9b,_0x17e027);},{'priority':'high'});const _0x3e2074=(_0x381343,_0x3c2272,_0x139fb9,_0x2f1f87)=>{if(_0x2f1f87&&!_0x139fb9['options']['showSuggestionHighlights'])return;const _0x34a015=_0x3c2272['markerRange']['start'],_0x361fee=_0x3c2272['markerRange']['end'],_0x2c4d47=_0x351812['model']['schema'];if(!_0x34a015['isTouching'](_0x361fee)||!_0x34a015['nodeAfter'])return;const _0x51b6b3=_0x34a015['nodeAfter'];if(_0x2c4d47['isBlock'](_0x51b6b3)&&!_0x2c4d47['isLimit'](_0x51b6b3)&&_0x2c4d47['checkChild'](_0x51b6b3,'$text')){if(!_0x139fb9['consumable']['consume'](_0x3c2272['markerRange'],_0x381343['name']))return;const {id:_0x2c690d,authorId:_0x5b357d}=Y(_0x3c2272['markerName']),_0x417337=_0x139fb9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2c690d,'data-author-id':_0x5b357d}),_0x4a0ffc=_0x139fb9['mapper']['toViewPosition'](_0x361fee);!_0x2f1f87&&this['_activeMarkers']['includes'](_0x3c2272['markerName'])&&_0x139fb9['writer']['addClass']('ck-suggestion-marker--active',_0x417337),_0x139fb9['writer']['insert'](_0x4a0ffc,_0x417337),_0x139fb9['mapper']['bindElementToMarker'](_0x417337,_0x3c2272['markerName']);}};_0x351812['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1a0eae,_0x407dfe,_0x58597d)=>{_0x3e2074(_0x1a0eae,_0x407dfe,_0x58597d,!0x1);},{'priority':'high'}),_0x351812['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3eddc9,_0x204a3a,_0x21f708)=>{_0x3e2074(_0x3eddc9,_0x204a3a,_0x21f708,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0xcf55f9,_0x56440d,_0x161dff)=>{this['_activeMarkers']=_0x161dff['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x1764fc){this['_blockAttributeKeys']['add'](_0x1764fc);}['registerInlineAttribute'](_0x972c08){this['_inlineAttributeKeys']['add'](_0x972c08);}['isBlockAttribute'](_0x12b22a){return this['_blockAttributeKeys']['has'](_0x12b22a);}['isInlineAttribute'](_0x3fb580){return this['_inlineAttributeKeys']['has'](_0x3fb580);}['isRegisteredAttribute'](_0x164aa3){return this['isInlineAttribute'](_0x164aa3)||this['isBlockAttribute'](_0x164aa3);}['_getClassName'](_0x3481e8,_0x25bad1){if('attribute'!=_0x3481e8)return'ck-suggestion-marker-'+_0x3481e8;const _0x9fc11d=_0x25bad1['split']('|')[0x0];return this['isBlockAttribute'](_0x9fc11d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function Ct(_0x1ef483={},_0x586ed4){if(void 0x0!==_0x1ef483['dateTimeFormat']&&'function'!=typeof _0x1ef483['dateTimeFormat'])throw new _0x105727('invalid-date-time-format');return _0x8a270d=>{const _0x289e33='string'==typeof _0x8a270d?_0x135f9f['fromISO'](_0x8a270d):_0x135f9f['fromJSDate'](_0x8a270d),_0x3f9f70=_0x135f9f['now'](),_0x47c585=Math['floor'](_0x3f9f70['diff'](_0x289e33,'days')['days']);return _0x1ef483['dateTimeFormat']?_0x1ef483['dateTimeFormat'](_0x289e33['toJSDate'](),_0x586ed4&&_0x586ed4['t']?_0x586ed4['t']:void 0x0):0x0===_0x47c585?_0x586ed4?$(_0x586ed4,'Today')+'\x20'+_0x289e33['toFormat']('hh:mma'):_0x289e33['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x47c585?_0x586ed4?$(_0x586ed4,'Yesterday')+'\x20'+_0x289e33['toFormat']('hh:mma'):_0x289e33['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x47c585<0x7?_0x586ed4?$(_0x586ed4,'Last')+'\x20'+$(_0x586ed4,_0x289e33['toFormat']('EEEE'))+'\x20'+_0x289e33['toFormat']('hh:mma'):_0x289e33['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x289e33['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x4ab68a,_0x82c42e){const _0x45d707=_0x4ab68a['mapper']['markerNameToElements'](_0x82c42e['name']);if(!_0x45d707)return null;const _0x3aaea4=_0x43c38f(_0x45d707['values']());return _0x4ab68a['view']['domConverter']['mapViewToDom'](_0x3aaea4)||null;}function It(_0x430461,_0x2ebcd5){if(0x0===_0x2ebcd5['length'])return null;const _0x39ad25=[],_0x533669=_0x430461['view']['domConverter'];for(const _0x572ed0 of _0x2ebcd5){const _0x1dd5d0=_0x430461['mapper']['markerNameToElements'](_0x572ed0['name']);if(!_0x1dd5d0)continue;const _0x4ad98b=Array['from'](_0x1dd5d0)['map'](_0x3e8bbb=>_0x533669['mapViewToDom'](_0x3e8bbb))['filter'](_0x1cfb48=>!!_0x1cfb48);_0x39ad25['push'](..._0x4ad98b);}if(0x0===_0x39ad25['length'])return null;const _0x4eeffc=[];for(const _0x5c6e3e of _0x39ad25){const _0x21912a=_0x5c6e3e['getClientRects']()['item'](0x0);_0x21912a&&_0x4eeffc['push']({'x':_0x21912a['x'],'y':_0x21912a['y'],'domElement':_0x5c6e3e});}return 0x0===_0x4eeffc['length']?null:(_0x4eeffc['sort']((_0x5ef0dc,_0x34bb38)=>_0x5ef0dc['y']-_0x34bb38['y']||_0x5ef0dc['x']-_0x34bb38['x']),_0x4eeffc['map'](_0x4c2309=>_0x4c2309['domElement']));}function _t(_0x1655e9,{limit:_0x3c71cc,suffix:_0x365bf2='...'}){const _0x2ebb05=[];let _0x451f5f=0x0;const _0x43f066=_0x1655e9['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x16b072=0x0;_0x16b072<_0x43f066['length'];_0x16b072++){let _0x14fe9b=_0x43f066[_0x16b072];const _0x78b69f=St(_0x14fe9b);if(_0x14fe9b['startsWith']('<')){if(_0x451f5f>=_0x3c71cc){const _0xb69b09=_0x14fe9b['match'](/[a-zA-Z]+/);if(!_0xb69b09){_0x43f066[_0x16b072]='';continue;}const _0x306e3d=_0xb69b09[0x0];_0x14fe9b['startsWith']('</')?(_0x2ebb05['length']&&(_0x14fe9b=''),_0x2ebb05['pop']()):(_0x2ebb05['push'](_0x306e3d),_0x14fe9b='');}}else{if(_0x451f5f>=_0x3c71cc)_0x14fe9b='';else{if(_0x451f5f+_0x78b69f['length']>=_0x3c71cc){let _0x123629=_0x3c71cc-_0x451f5f;if('\x20'===_0x78b69f[_0x123629-0x1])_0x123629--;else{const _0x521b28=_0x78b69f['slice'](_0x123629)['indexOf']('\x20');-0x1!==_0x521b28?_0x123629+=_0x521b28:_0x123629=_0x14fe9b['length'];}_0x14fe9b=_0x78b69f['slice'](0x0,_0x123629)['join']('')+_0x365bf2,_0x451f5f=_0x3c71cc;}else _0x451f5f+=_0x78b69f['length'];}}_0x43f066[_0x16b072]=_0x14fe9b;}return _0x43f066['join']('\x0a')['replace'](/\n/g,'');}function St(_0xf66c76){const _0x219d5a=[];for(let _0x4d73b9=0x0;_0x4d73b9<_0xf66c76['length'];_0x4d73b9++){const _0x10d79a=_0xf66c76['substring'](_0x4d73b9)['match'](/^&[a-z0-9#]+;/);if(_0x10d79a){const _0x539953=_0x10d79a[0x0];_0x219d5a['push'](_0x539953),_0x4d73b9+=_0x539953['length']-0x1;}else _0x219d5a['push'](_0xf66c76[_0x4d73b9]);}return _0x219d5a;}class Et extends _0x5681cf{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x416336){super(_0x416336);const _0x3d7b41=this['bindTemplate'];this['set']('message',$(_0x416336,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x416336,$(_0x416336,'Yes'),_0x23bb36,'submit'),this['cancelView']=this['_createButtonView'](_0x416336,$(_0x416336,'No'),_0x5b91e7,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x264b6d(),this['keystrokes']=new _0x51ac82(),this['focusCycler']=new _0x1c6b43({'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':_0x3d7b41['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'](_0x33a089,_0x5284ea,_0xede3aa,_0x1aaa1c){const _0xc0611d=new _0x29663c(_0x33a089);return _0xc0611d['label']=_0x5284ea,_0xc0611d['icon']=_0xede3aa,_0xc0611d['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x1aaa1c}}),_0xc0611d['on']('execute',()=>this['fire'](_0x1aaa1c)),_0xc0611d;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x399f2c=>{this['keystrokes']['listenTo'](_0x399f2c['element']),this['focusTracker']['add'](_0x399f2c['element']);}),this['keystrokes']['set']('esc',(_0x3e5bfe,_0x1049f1)=>{this['fire']('cancel'),_0x1049f1();});}}function At(_0x447649){return class extends _0x447649{['showConfirm'](_0x27716e,_0x365bd7){return this['confirmView']=new Et(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x27716e,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x365bd7['appendChild'](this['confirmView']['element']),_0x365bd7['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x38df8d,_0x44ee39,_0x52ceab)=>{_0x52ceab||_0x365bd7['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x3c3d9d=>this['confirmView']['on']('submit',_0x3c3d9d));}['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 Mt(_0x256a32){let _0x3bdf0d=0x0,_0x5551eb=0x0;for(const _0x3f07e9 of Nt(_0x256a32))_0x3bdf0d=(_0x3bdf0d<<0x5)-_0x3bdf0d+_0x3f07e9,_0x3bdf0d&=_0x3bdf0d,[_0x3bdf0d,_0x5551eb]=[_0x5551eb,_0x3bdf0d];return Ot(_0x3bdf0d)+Ot(_0x5551eb);}function*Tt(_0x521a35){null==_0x521a35||null==_0x521a35?yield 0x12b9b0a1:0x0===_0x521a35||!0x1===_0x521a35?yield 0x0:0x1===_0x521a35||0x1==_0x521a35?yield 0x1:Array['isArray'](_0x521a35)?yield*function*(_0x28ccaa){for(const _0x2be438 of _0x28ccaa)yield*Tt(_0x2be438);}(_0x521a35):'object'==typeof _0x521a35?yield*Nt(_0x521a35):'string'==typeof _0x521a35?yield*Pt(_0x521a35):'number'==typeof _0x521a35&&(yield _0x521a35);}function*Nt(_0x34b62b){if(yield Bt('{'),_0x34b62b){const _0x195a83=Object['keys'](_0x34b62b)['sort']();for(const _0x239c07 of _0x195a83){yield*Pt(_0x239c07),yield Bt(':');const _0x4eca92=_0x34b62b[_0x239c07];yield*Tt(_0x4eca92);}}yield Bt('}');}function*Pt(_0x26cd09){yield Bt('\x22');for(const _0x3be81f of _0x26cd09)yield Bt(_0x3be81f);yield Bt('\x22');}function Bt(_0x425e67){return _0x425e67['charCodeAt'](0x0);}function Ot(_0x340870){return(_0x340870*=Math['sign'](_0x340870))['toString'](0x24);}const Dt=['root','roots','initialData','context','toolbar','rootsAttributes'],$t=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x3ba0a9,_0x16af11,_0x29a221,_0x2cd29a=[]){const _0x398c32='string'==typeof _0x3ba0a9?_0x29a221['get'](_0x3ba0a9)['constructor']:_0x3ba0a9['prototype']['constructor'];if(_0x16af11['has'](_0x398c32))return _0x16af11['get'](_0x398c32);_0x16af11['set'](_0x398c32,!0x0);const _0x293d11=[...$t,..._0x2cd29a]['map'](_0x3bd541=>{if(_0x29a221['has'](_0x3bd541))return _0x29a221['get'](_0x3bd541)['constructor'];})['filter'](_0x94ba47=>_0x94ba47);if(_0x398c32&&_0x293d11['includes'](_0x398c32))return _0x16af11['set'](_0x398c32,!0x1),!0x1;if(!_0x398c32['requires'])return _0x16af11['set'](_0x398c32,!0x0),!0x0;const _0x46414b=_0x398c32['requires']['every'](_0x36e532=>Lt(_0x36e532,_0x16af11,_0x29a221,_0x2cd29a));return _0x16af11['set'](_0x398c32,_0x46414b),_0x46414b;}function Vt(_0x201432,_0x2c8f30){const _0xb9da55={};for(const _0x522967 of _0x201432['config']['names']())Dt['includes'](_0x522967)||(_0xb9da55[_0x522967]=_0x201432['config']['get'](_0x522967));const _0xe41db0=_0xb9da55['plugins']||[],_0x2de1c6=_0x201432['constructor']['builtinPlugins']||[],_0x118728=_0xe41db0['length']?_0xe41db0:_0x2de1c6,_0x1f3e5e=_0xb9da55['extraPlugins']||[];delete _0xb9da55['extraPlugins'];const _0x18d28e=_0xb9da55['removePlugins']||[];delete _0xb9da55['removePlugins'];const _0x2fcf25=_0x201432['_context']['config']['get']('plugins')||[],_0x3bff13=_0x118728['concat'](_0x1f3e5e)['concat'](_0x2fcf25)['map'](_0x2538b4=>'string'==typeof _0x2538b4?_0x2de1c6['find'](_0x4082b0=>_0x4082b0['pluginName']==_0x2538b4):_0x2538b4)['filter'](_0x5af976=>!_0x18d28e['includes'](_0x5af976)&&!_0x18d28e['includes'](_0x5af976['pluginName'])),_0x378f9b=Array['from'](new Set(_0x3bff13)),_0x51ffb7=new Map();return _0xb9da55['plugins']=_0x378f9b['filter'](_0x2b2ff5=>Lt(_0x2b2ff5,_0x51ffb7,_0x201432['plugins'],_0x2c8f30)),_0xb9da55;}function Ut(_0x2d6381,_0x3766d4){const _0x52baf5=[];_0x2d6381['document']['selection']['on']('change:range',()=>{const _0x4b1603=function(_0x3123cd,_0x466fab){const _0xc4eba3=[];for(const _0x1a7699 of _0x3123cd['markers']){const _0x3ff4c6=_0x1a7699['getRange']();(_0x3ff4c6['containsPosition'](_0x466fab)||_0x3ff4c6['start']['isEqual'](_0x466fab)||_0x3ff4c6['end']['isEqual'](_0x466fab))&&_0xc4eba3['push'](_0x1a7699);}return _0xc4eba3;}(_0x2d6381,_0x2d6381['document']['selection']['focus']),_0x4af094=[],_0x3f3c87=[],_0x21ce50=[];for(const _0x51512d of _0x52baf5)_0x4b1603['includes'](_0x51512d)||_0x4af094['push'](_0x51512d);for(const _0x3433e9 of _0x4b1603)_0x52baf5['includes'](_0x3433e9)||_0x3f3c87['push'](_0x3433e9),_0x21ce50['push'](_0x3433e9);(_0x4af094['length']||_0x3f3c87['length'])&&_0x3766d4({'left':_0x4af094,'entered':_0x3f3c87}),_0x52baf5['length']=0x0,_0x52baf5['push'](..._0x21ce50);});}const Rt='Ctrl+Shift+E';function Ft(_0x1f2c1d,_0x2d2b38){const _0x146cbc=_0x1f2c1d['element'];_0x1f2c1d['keystrokes']['listenTo'](_0x146cbc);for(const _0x718332 of _0x2d2b38)Ht(_0x1f2c1d,_0x718332);_0x2d2b38['on']('change',(_0x20361d,_0x232587)=>{for(const _0x2f9186 of _0x232587['removed'])zt(_0x1f2c1d,_0x2f9186);for(const _0x20771e of Array['from'](_0x232587['added'])['reverse']())Ht(_0x1f2c1d,_0x20771e);}),_0x1f2c1d['keystrokes']['set']('enter',(_0x1e3af3,_0x55ef29)=>{_0x146cbc===_0x1e3af3['target']&&(_0x1f2c1d['focusCycler']['focusFirst'](),_0x55ef29());},{'filter':_0x16ff5f=>_0x16ff5f['target']===_0x146cbc}),_0x1f2c1d['keystrokes']['set']('esc',(_0x597548,_0x368dad)=>{_0x146cbc!==_0x597548['target']?_0x1f2c1d['focus']():_0x1f2c1d['fire']('escape'),_0x368dad();}),_0x1f2c1d['keystrokes']['set']('arrowdown',(_0x31cac7,_0x4d0f04)=>{_0x146cbc===_0x31cac7['target']&&(_0x1f2c1d['fire']('arrowdown'),_0x4d0f04());}),_0x1f2c1d['keystrokes']['set']('arrowup',(_0x3732b9,_0x59eb01)=>{_0x146cbc===_0x3732b9['target']&&(_0x1f2c1d['fire']('arrowup'),_0x59eb01());});}function Ht(_0xdef772,_0x2640d6){_0x2640d6['isRendered']&&(_0xdef772['focusTracker']['add'](_0x2640d6['element']),_0xdef772['keystrokes']['listenTo'](_0x2640d6['element']),_0x66c7b(_0x2640d6)&&function(_0x3fa6c1,_0x2bf4d0){const _0x32e15f=_0x3fa6c1['actions'],_0x475a7c=_0x2bf4d0['actions'];for(const _0x24b60e of Object['keys'](_0x32e15f))if(_0x24b60e in _0x475a7c&&_0x32e15f[_0x24b60e]!==_0x475a7c[_0x24b60e])return!0x1;return!0x0;}(_0xdef772['focusCycler'],_0x2640d6['focusCycler'])&&_0xdef772['focusCycler']['chain'](_0x2640d6['focusCycler']));}function zt(_0x547207,_0x5599cf){_0x547207['focusTracker']['remove'](_0x5599cf['element']),_0x547207['keystrokes']['stopListening'](_0x5599cf['element']),_0x66c7b(_0x5599cf)&&_0x547207['focusCycler']['unchain'](_0x5599cf['focusCycler']);}const Wt='$elementId',jt='data-id';class Yt extends _0x181460{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x4618e7?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x43bba1,_0x37c0c9)=>{_0x37c0c9['on']('ready',()=>{this['_integrateEditor'](_0x37c0c9);});});}get['editor'](){if(this['context']instanceof _0x4618e7)return this['context'];{const _0x39ee10=this['context']['editors']['first'];if(!_0x39ee10)throw new _0x105727('documentcompare-no-editor',this);return _0x39ee10;}}['getDiff'](_0x498334,_0x48c6bf,_0x233801={'anchor':'main','markDeletions':!0x1}){let _0x3a1bd6,_0x476a83;const _0xb3a4ac=this['editor'];if('string'==typeof _0x233801['anchor']){const _0xc8a517=_0xb3a4ac['model']['document']['getRoot'](_0x233801['anchor']);if(!_0xc8a517)throw new _0x105727('documentcompare-compare-no-root',this,{'anchor':_0x233801['anchor']});_0x3a1bd6=_0xc8a517,_0x476a83=_0xb3a4ac['model']['createPositionAt'](_0xc8a517,0x0);}else _0x3a1bd6=_0x233801['anchor']['clone'](),_0x476a83=_0x233801['anchor']['clone']();const _0x11ce6a=_0xb3a4ac['data']['parse'](_0x498334,_0x3a1bd6),_0x4e9ec5=_0xb3a4ac['data']['parse'](_0x48c6bf,_0x3a1bd6);return new Jt(_0x11ce6a,_0x4e9ec5,_0xb3a4ac,{'anchor':_0x476a83,'markDeletions':_0x233801['markDeletions']});}['isMarkedRemoveOperation'](_0x533b87){return'marker'==_0x533b87['type']&&_0x533b87['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x28aaa4){_0x28aaa4['conversion']['for']('upcast')['add'](_0x441a8a=>{_0x441a8a['on']('element',(_0x3ae90e,_0x527d4d,_0x106632)=>{if(_0x527d4d['modelRange'])for(const _0x5df71d of _0x527d4d['modelRange']['getItems']({'shallow':!0x0})){if(_0x5df71d['is']('$textProxy'))continue;const _0x946ed9=_0x527d4d['viewItem']['getAttribute'](jt);_0x946ed9&&_0x106632['writer']['setAttribute'](Wt,_0x946ed9,_0x5df71d);}},{'priority':'lowest'});}),_0x28aaa4['model']['schema']['addAttributeCheck'](()=>!0x0,Wt);}}class Jt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x3ab532,_0x1e8e7b,_0x47b551,_0xc229f8){this['_editor']=_0x47b551,this['_markDeletions']=!!_0xc229f8['markDeletions'],this['_anchor']=_0xc229f8['anchor'];const _0xc69f39=this['_tokenizeModel'](_0x3ab532),_0x1dc5c1=this['_tokenizeModel'](_0x1e8e7b);this['_diffItems']=this['_diffModelTokens'](_0xc69f39,_0x1dc5c1),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x3ab532['markers'],_0x1e8e7b['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x342431=this['_editor']['model']['document'],_0x3a1a1d=[];let _0xc3fe0b=_0x342431['version'];for(const _0x3753ac of this['_operationsData'])switch(_0x3753ac['type']){case'attribute':{const _0x90434c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['path']),_0x551ee9=_0x90434c['getShiftedBy'](_0x3753ac['howMany']),_0x728eac=new _0x442be6(_0x90434c,_0x551ee9),_0x47e461=JSON['parse'](_0x3753ac['oldValue']),_0x25e603=JSON['parse'](_0x3753ac['newValue']);_0x3a1a1d['push'](new _0x3a5cdf(_0x728eac,_0x3753ac['key'],_0x47e461,_0x25e603,_0xc3fe0b++));break;}case'insert':{const _0x28e650=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['path']),_0x57169e=this['_makeModelFromTokens'](_0x3753ac['tokens']);_0x3a1a1d['push'](new _0x3ed5d1(_0x28e650,_0x57169e,_0xc3fe0b++));break;}case'remove':{const _0x1fb7da=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['path']),_0x326cf9=new _0x23989e(_0x342431['graveyard'],[0x0]);_0x3a1a1d['push'](new _0x496d95(_0x1fb7da,_0x3753ac['howMany'],_0x326cf9,_0xc3fe0b++));break;}case'rename':{const _0x5c4ecb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['path']);_0x3a1a1d['push'](new _0x812343(_0x5c4ecb,_0x3753ac['oldName'],_0x3753ac['newName'],_0xc3fe0b++));break;}case'split':{const _0x5320e0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['path']),_0x112a25=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['path']['slice'](0x0,-0x1));_0x112a25['offset']++,_0x3a1a1d['push'](new _0xe65c7f(_0x5320e0,Number['NEGATIVE_INFINITY'],_0x112a25,null,_0xc3fe0b++));break;}case'merge':{const _0x28ad01=_0x3753ac['path']['slice'](),_0x2bc40d=_0x28ad01['slice'](0x0,-0x1);_0x2bc40d[_0x2bc40d['length']-0x1]++,_0x2bc40d['push'](0x0);const _0x219308=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2bc40d),_0x6e8fef=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x28ad01),_0x4d5725=new _0x23989e(_0x342431['graveyard'],[0x0]);_0x3a1a1d['push'](new _0x5a5c5c(_0x219308,Number['NEGATIVE_INFINITY'],_0x6e8fef,_0x4d5725,_0xc3fe0b++));break;}case'marker':case'markedRemove':{let _0x47483c=null;if(_0x3753ac['range']){const _0x2fe257=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['range']['start']),_0x25fa5a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['range']['end']);_0x47483c=new _0x442be6(_0x2fe257,_0x25fa5a);}const _0x10b91b='marker'==_0x3753ac['type']?_0x3753ac['name']:'$markedRemove:'+_0x458b85();_0x3a1a1d['push'](new _0x3b69bf(_0x10b91b,null,_0x47483c,_0x342431['model']['markers'],!0x0,_0xc3fe0b++));break;}case'unwrap':{const _0x1c329b=_0x3753ac['path']['slice']();_0x1c329b['push'](0x0);const _0x2b4d9b=_0x3753ac['path']['slice'](),_0x42b452=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c329b),_0x537bb5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b4d9b),_0x3a53d2=new _0x23989e(_0x342431['graveyard'],[0x0]);_0x3a1a1d['push'](new _0x496d95(_0x42b452,_0x3753ac['howMany'],_0x537bb5,_0xc3fe0b++)),_0x3a1a1d['push'](new _0x496d95(_0x537bb5['getShiftedBy'](_0x3753ac['howMany']),0x1,_0x3a53d2,_0xc3fe0b++));break;}case'wrap':{const _0x3e7bff=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['range']['start']),_0x44ee9c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3753ac['range']['end']),_0x362e59=_0x3753ac['token']['element']['_clone'](!0x1),_0x1685e3=_0x3753ac['range']['end']['slice']();_0x1685e3['push'](0x0);const _0x216bd4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1685e3);_0x3a1a1d['push'](new _0x3ed5d1(_0x44ee9c,_0x362e59,_0xc3fe0b++)),_0x3a1a1d['push'](new _0x496d95(_0x3e7bff,_0x44ee9c['offset']-_0x3e7bff['offset'],_0x216bd4,_0xc3fe0b++));break;}}return _0x3a1a1d;}['_tokenizeModel'](_0x17e91a){const _0x124b8f=[],_0x119963=_0x442be6['_createIn'](_0x17e91a),_0x4e9b3f=new _0x254e06({'boundaries':_0x119963});let _0x139000='',_0x19d556=null;const _0x4d5fde=[''],_0x17a69a=new Map();for(const _0x1aa076 of _0x4e9b3f)if('elementStart'==_0x1aa076['type']||'elementEnd'==_0x1aa076['type']){let _0x3bd14c=_0x4d5fde[0x0];''!==_0x139000&&(_0x124b8f['push'](...this['_makeTokensFromTextByWords'](_0x139000,_0x19d556,_0x3bd14c)),_0x139000='');const _0x5a8b9f=_0x1aa076['item'];let _0x23ae37;_0x5a8b9f['getAttribute'](Wt)?_0x23ae37=_0x5a8b9f['getAttribute'](Wt):'elementStart'==_0x1aa076['type']?(_0x23ae37=qt(_0x5a8b9f),_0x17a69a['set'](_0x5a8b9f,_0x23ae37)):_0x23ae37=_0x17a69a['get'](_0x5a8b9f);const _0x6fa906=this['_getElementCategory'](_0x5a8b9f);'solid'==_0x6fa906&&('elementStart'==_0x1aa076['type']?(_0x3bd14c=_0x23ae37,_0x4d5fde['unshift'](_0x3bd14c)):_0x4d5fde['shift']());const _0x1695d7={'type':'element','element':_0x5a8b9f,'elementId':_0x23ae37,'category':_0x6fa906,'isStart':'elementStart'==_0x1aa076['type'],'limitId':_0x3bd14c};_0x124b8f['push'](_0x1695d7);}else''==_0x139000&&(_0x19d556=_0x1aa076['previousPosition']['clone']()),_0x139000+=_0x1aa076['item']['data'];return''!==_0x139000&&_0x124b8f['push'](...this['_makeTokensFromTextByWords'](_0x139000,_0x19d556,_0x4d5fde[0x0])),_0x124b8f;}['_makeTokensFromTextByWords'](_0x3b45c8,_0x2521f9,_0x5468cd){const _0x24a8c4=_0x3b45c8['matchAll'](/(\s)/g),_0x4a93ab=Array['from'](_0x24a8c4)['map'](_0x4057fd=>_0x4057fd['index']);_0x4a93ab['push'](_0x3b45c8['length']),0x0==_0x4a93ab[0x0]&&_0x4a93ab['shift']();const _0x3faac8=[],_0x476eee=_0x2521f9['parent'];let _0x794041=0x0,_0x5a24dd=_0x2521f9['offset'];for(let _0x3ab197=0x0;_0x3ab197<_0x4a93ab['length'];_0x3ab197++)_0x3faac8['push']({'type':'text','data':_0x3b45c8['slice'](_0x794041,_0x4a93ab[_0x3ab197]),'parent':_0x476eee,'offset':_0x5a24dd,'limitId':_0x5468cd}),_0x794041=_0x4a93ab[_0x3ab197],_0x5a24dd=_0x2521f9['offset']+_0x4a93ab[_0x3ab197];return _0x3faac8;}['_getElementCategory'](_0x1aeb31){const _0x23a5fc=this['_editor']['model']['schema'];return _0x23a5fc['isLimit'](_0x1aeb31)||_0x23a5fc['isContent'](_0x1aeb31)||_0x23a5fc['isInline'](_0x1aeb31)?'solid':_0x23a5fc['isBlock'](_0x1aeb31)?'block':'container';}['_diffModelTokens'](_0x50e1be,_0x1fedac){const _0x526a2f=_0xbc841c(_0x50e1be,_0x1fedac,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x526a2f);const _0x4567f6=_0x526a2f['flatMap'](_0x1faf62=>{const _0x1e3706=_0x1faf62['added']?'added':_0x1faf62['removed']?'removed':'unchanged';return _0x1faf62['value']['map'](_0x36a535=>({'token':_0x36a535,'change':_0x1e3706}));});let _0x2172b4=0x0;for(const _0x1520b9 of _0x4567f6)'added'!=_0x1520b9['change']&&('unchanged'==_0x1520b9['change']&&(_0x1520b9['before']=_0x50e1be[_0x2172b4]),_0x2172b4++);return _0x4567f6;}['_handleUnclosedBlockOpeningTags'](_0x4387e2){for(let _0x283051=0x0;_0x283051<_0x4387e2['length']-0x1;_0x283051++)if(_0x4387e2[_0x283051]['removed']&&_0x4387e2[_0x283051+0x1]['added']){const _0x4a5dab=this['_findUnclosedBlockOpeningToken'](_0x4387e2[_0x283051]['value']);if(null!==_0x4a5dab){const _0x4480fb=this['_findUnclosedBlockOpeningToken'](_0x4387e2[_0x283051+0x1]['value']),_0x59c109=_0x4387e2[_0x283051]['value']['splice'](_0x4a5dab),_0x2da816=_0x4387e2[_0x283051+0x1]['value']['splice'](_0x4480fb),_0x3cb411=[_0x2da816['shift']()];_0x59c109['shift']();const _0x4ca02a={'value':_0x59c109,'removed':!0x0},_0xdf87a6={'value':_0x2da816,'added':!0x0},_0xe2294d={'value':_0x3cb411};_0x4387e2['splice'](_0x283051+0x2,0x0,_0xe2294d,_0x4ca02a,_0xdf87a6);}}}['_findUnclosedBlockOpeningToken'](_0x15bce5){let _0x2ae65a=0x0,_0x4800ae=-0x1;for(let _0x2c4996=0x0;_0x2c4996<_0x15bce5['length'];_0x2c4996++){const _0x207340=_0x15bce5[_0x2c4996];'element'==_0x207340['type']&&'block'==_0x207340['category']&&(_0x2ae65a+=_0x207340['isStart']?0x1:-0x1,_0x207340['isStart']&&(_0x4800ae=_0x2c4996));}return 0x0===_0x2ae65a?null:_0x4800ae;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x323f56=0x0;_0x323f56<this['_diffItems']['length'];_0x323f56++){const _0x17ae30=this['_diffItems'][_0x323f56]['change'],_0x398137=[];_0x398137['push'](this['_diffItems'][_0x323f56]);let _0x34da78=_0x323f56+0x1;for(;this['_diffItems'][_0x34da78]&&this['_diffItems'][_0x34da78]['change']==_0x17ae30;)_0x398137['push'](this['_diffItems'][_0x34da78]),_0x34da78++,_0x323f56++;const _0x17716f=_0x398137['map'](_0x23af35=>_0x23af35['token']);if('unchanged'==_0x17ae30)_0x398137['map'](_0x4fcc98=>_0x4fcc98['before'])['forEach'](_0x5d8765=>this['_traverseOverItem'](_0x5d8765));else{if('removed'==_0x17ae30){if(this['_markDeletions']){const _0x35d3f3=this['_path']['slice']();_0x17716f['forEach'](_0x55b73f=>this['_traverseOverItem'](_0x55b73f));const _0x4275a0=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x35d3f3,'end':_0x4275a0}});}else this['_handleChanged'](_0x17716f,!0x0,this['_path']['slice']());}else{const _0x487455=_0x17716f['filter'](_0x562a29=>'element'!=_0x562a29['type']||'container'!=_0x562a29['category']);this['_handleChanged'](_0x487455,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5706a7=0x0;_0x5706a7<this['_diffItems']['length'];_0x5706a7++){const _0x296b88=this['_diffItems'][_0x5706a7]['change'],_0x5d15ee=[];_0x5d15ee['push'](this['_diffItems'][_0x5706a7]);let _0x55875e=_0x5706a7+0x1;for(;this['_diffItems'][_0x55875e]&&this['_diffItems'][_0x55875e]['change']==_0x296b88;)_0x5d15ee['push'](this['_diffItems'][_0x55875e]),_0x55875e++,_0x5706a7++;const _0xe74742=_0x5d15ee['map'](_0x3169b1=>_0x3169b1['token']);if('unchanged'==_0x296b88){const _0x256585=_0x5d15ee['map'](_0x181eee=>_0x181eee['before']);this['_handleUnchanged'](_0x256585,_0xe74742);}else('removed'!=_0x296b88||this['_markDeletions'])&&_0xe74742['forEach'](_0x5e3b75=>{this['_traverseOverItem'](_0x5e3b75);});}}['_calculateMarkersOperationsData'](_0x51f163,_0x58c2a4){const _0x3faaeb={};for(const [_0x1a4034]of _0x51f163)_0x3faaeb[_0x1a4034]=null;for(const [_0x12a527,_0x3f0220]of _0x58c2a4)_0x3faaeb[_0x12a527]=_0x3f0220;const _0x5f2a97=Object['entries'](_0x3faaeb)['map'](([_0x1d0ac6,_0x2a6e64])=>({'type':'marker','name':_0x1d0ac6,'range':_0x2a6e64?{'start':_0x2a6e64['start']['path']['slice'](),'end':_0x2a6e64['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x5f2a97);}['_handleUnwraps'](){const _0x350b6e=new Map(),_0x1bae31=[],_0x47978b=[0x0];let _0x15d50d=this['_diffItems']['length']+0x1;for(let _0x4bdbcb=this['_diffItems']['length']-0x1;_0x4bdbcb>=0x0;_0x4bdbcb--){const {token:_0x4ce0ae,before:_0x2ff89b,change:_0x5edcee}=this['_diffItems'][_0x4bdbcb];if('removed'!=_0x5edcee&&(_0x15d50d=_0x4bdbcb),'element'!=_0x4ce0ae['type']||'container'!=_0x4ce0ae['category']||'added'==_0x5edcee)continue;const _0x6a9856=_0x2ff89b?_0x2ff89b['element']:_0x4ce0ae['element'];if(_0x4ce0ae['isStart']){const _0xc29fde=_0x350b6e['get'](_0x6a9856),_0xd587f=this['_diffItems'][_0xc29fde];('removed'==_0x5edcee||'removed'==_0xd587f['change'])&&_0x15d50d<_0xc29fde&&(this['_operationsData']['push']({'type':'unwrap','path':_0x6a9856['getPath'](),'howMany':_0x6a9856['maxOffset']+_0x47978b[0x0]}),_0x47978b['shift'](),_0x47978b[0x0]+=_0x6a9856['maxOffset']-0x1,_0x1bae31['push'](_0x4bdbcb),_0x1bae31['push'](_0xc29fde));}else _0x350b6e['set'](_0x6a9856,_0x4bdbcb),_0x47978b['unshift'](0x0);}_0x1bae31['sort']((_0xc17d2,_0x89401d)=>_0x89401d-_0xc17d2),_0x1bae31['forEach'](_0x2e6695=>{const _0x57426a=this['_diffItems'][_0x2e6695];'removed'==_0x57426a['change']?this['_diffItems']['splice'](_0x2e6695,0x1):(_0x57426a['change']='added',delete _0x57426a['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x443dd9=[];for(let _0xcbdad4=0x0;_0xcbdad4<this['_diffItems']['length'];_0xcbdad4++){const {change:_0x4955be,token:_0x249263}=this['_diffItems'][_0xcbdad4];if('added'==_0x4955be&&'element'==_0x249263['type']&&'container'==_0x249263['category']){if(_0x249263['isStart'])_0x443dd9['push'](this['_path']['slice']());else{if(!_0x249263['isStart']){const _0xa4bd52=_0x443dd9['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0xa4bd52,'end':this['_path']['slice']()},'token':_0x249263}),this['_path'][this['_path']['length']-0x1]=_0xa4bd52[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4955be||this['_markDeletions'])&&this['_traverseOverItem'](_0x249263);}}['_handleUnchanged'](_0x46950e,_0xb073d8){for(let _0x2307a8=0x0;_0x2307a8<_0x46950e['length'];_0x2307a8++){const _0x244b25=_0x46950e[_0x2307a8];if('element'==_0x244b25['type']&&_0x244b25['isStart']){const _0x151cc3=_0xb073d8[_0x2307a8];'block'==_0x244b25['category']&&this['_handleElementRename'](_0x244b25['element'],_0x151cc3['element'],this['_path']),this['_handleElementAttributeChanges'](_0x244b25['element'],_0x151cc3['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x151cc3);}else{if('element'!=_0x244b25['type']||_0x244b25['isStart']){if('text'==_0x244b25['type']){const _0x14370f=this['_path']['slice'](),_0x457610=[],_0x320163=[];for(;_0x46950e[_0x2307a8]&&'text'==_0x46950e[_0x2307a8]['type'];)_0x457610['push'](_0x46950e[_0x2307a8]),_0x320163['push'](_0xb073d8[_0x2307a8]),this['_path'][this['_path']['length']-0x1]+=_0x46950e[_0x2307a8]['data']['length'],_0x2307a8++;_0x2307a8--,this['_handleTextAttributeChanges'](_0x457610,_0x320163,_0x14370f);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0xf486b4,_0x440572,_0x29a9f0){const _0x56dcfd=[],_0x51adda=[],_0x5063c0=_0x29a9f0['slice']();for(let _0x545a30=0x0;_0x545a30<_0xf486b4['length'];_0x545a30++){const _0x4eb35a=_0xf486b4[_0x545a30],_0x9b3d42=_0x29a9f0['slice']();if('element'!=_0x4eb35a['type']||_0x4eb35a['isStart'])'element'==_0x4eb35a['type']&&_0x4eb35a['isStart']?(_0x29a9f0['push'](0x0),_0x440572||this['_parents']['push'](_0x4eb35a),_0x51adda['push']({'before':_0x9b3d42,'after':_0x29a9f0['slice'](),'index':_0x545a30})):_0x29a9f0[_0x29a9f0['length']-0x1]+=_0x4eb35a['data']['length'];else{let _0x56027e;_0x29a9f0['pop'](),_0x29a9f0[_0x29a9f0['length']-0x1]++,_0x56027e=_0x440572?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x51adda['length']?_0x51adda['pop']():_0x56dcfd['push']({'before':_0x9b3d42,'after':_0x29a9f0['slice'](),'index':_0x545a30,'related':_0x56027e});}}if(_0x51adda['length']!==_0x56dcfd['length'])throw new _0x105727('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0xf486b4,'isRemove':_0x440572});const _0x4bb5b4=[{'after':_0x5063c0['slice'](),'index':-0x1},..._0x56dcfd,..._0x51adda,{'before':_0x29a9f0['slice'](),'index':_0xf486b4['length']}];if(_0x440572){for(let _0x22a5d8=_0x4bb5b4['length']-0x1;_0x22a5d8>=0x1;_0x22a5d8--){const _0x285021=_0x4bb5b4[_0x22a5d8-0x1]['after'],_0x2e71ad=_0x4bb5b4[_0x22a5d8]['before'],_0x26a5ab=_0x2e71ad[_0x2e71ad['length']-0x1]-_0x285021[_0x285021['length']-0x1];_0x26a5ab&&(this['_operationsData']['push']({'type':'remove','path':_0x285021,'howMany':_0x26a5ab}),_0x2e71ad[_0x2e71ad['length']-0x1]-=_0x26a5ab);}for(const {before:_0x4175e0}of _0x56dcfd)this['_operationsData']['push']({'type':'merge','path':_0x4175e0});}else for(let _0x24abdf=0x0;_0x24abdf<_0x4bb5b4['length']-0x1;_0x24abdf++){const _0x92727c=_0x4bb5b4[_0x24abdf]['after'],_0x49de98=_0x4bb5b4[_0x24abdf+0x1]['before'],_0x125203=_0x4bb5b4[_0x24abdf]['index']+0x1,_0x5780e0=_0x4bb5b4[_0x24abdf+0x1]['index'];if(_0x125203!==_0x5780e0&&this['_operationsData']['push']({'type':'insert','path':_0x92727c,'tokens':_0xf486b4['slice'](_0x125203,_0x5780e0)}),_0x24abdf<_0x56dcfd['length']){this['_operationsData']['push']({'type':'split','path':_0x49de98});const _0x3d157a=_0xf486b4[_0x51adda[_0x51adda['length']-0x1-_0x24abdf]['index']],_0x536554=_0x56dcfd[_0x24abdf]['after'],_0x5ab7f5=_0x56dcfd[_0x24abdf]['related']['element'];this['_handleElementRename'](_0x5ab7f5,_0x3d157a['element'],_0x536554),this['_handleElementAttributeChanges'](_0x5ab7f5,_0x3d157a['element'],_0x536554);}}}['_traverseOverItem'](_0x24bd32){'element'==_0x24bd32['type']&&_0x24bd32['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x24bd32)):'element'!=_0x24bd32['type']||_0x24bd32['isStart']?'text'==_0x24bd32['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x24bd32['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0xe95e06,_0x391da4,_0x43326e){_0xe95e06['name']!=_0x391da4['name']&&this['_operationsData']['push']({'type':'rename','path':_0x43326e['slice'](),'oldName':_0xe95e06['name'],'newName':_0x391da4['name']});}['_handleElementAttributeChanges'](_0x240ad6,_0x3f21a9,_0x2babc4){const _0xe544ab=this['_getAttributeChanges'](_0x240ad6['getAttributes'](),_0x3f21a9['getAttributes']());for(const _0x356c51 in _0xe544ab){const {oldValue:_0x166e4f,newValue:_0x5df8c6}=_0xe544ab[_0x356c51];this['_operationsData']['push']({'type':'attribute','path':_0x2babc4['slice'](),'howMany':0x1,'key':_0x356c51,'oldValue':_0x166e4f,'newValue':_0x5df8c6});}}['_handleTextAttributeChanges'](_0x252ab2,_0x391011,_0x5ea477){const _0x5dac29=this['_operationsData'],_0x525e39=_0x252ab2[0x0]['parent'],_0x17c682=_0x252ab2[0x0]['offset'],_0x3e0bfe=_0x391011[0x0]['parent'],_0x54282f=_0x391011[0x0]['offset'],_0x4e4c4e=_0x252ab2['reduce']((_0x4c1e27,_0x431ce9)=>_0x4c1e27+_0x431ce9['data']['length'],0x0),_0x42aff2=this['_getAttrsForOffsets'](_0x525e39,_0x17c682,_0x4e4c4e),_0x478793=this['_getAttrsForOffsets'](_0x3e0bfe,_0x54282f,_0x4e4c4e),_0x54647b={};for(let _0x3f851f=0x0;_0x3f851f<_0x4e4c4e;_0x3f851f++){const _0x47ced0=_0x42aff2[_0x17c682+_0x3f851f],_0x701ae6=_0x478793[_0x54282f+_0x3f851f],_0x45217a=this['_getAttributeChanges'](_0x47ced0,_0x701ae6);for(const _0x750e6 in _0x54647b)_0x45217a[_0x750e6]||_0x49a69a(_0x750e6);for(const _0x5322e5 in _0x45217a){const {oldValue:_0x1d70fb,newValue:_0x17e718}=_0x45217a[_0x5322e5],_0x273735=_0x54647b[_0x5322e5];_0x273735?_0x273735['oldValue']==_0x1d70fb&&_0x273735['newValue']==_0x17e718?_0x273735['length']++:(_0x49a69a(_0x5322e5),_0x54647b[_0x5322e5]={'oldValue':_0x1d70fb,'newValue':_0x17e718,'start':_0x3f851f,'length':0x1}):_0x54647b[_0x5322e5]={'oldValue':_0x1d70fb,'newValue':_0x17e718,'start':_0x3f851f,'length':0x1};}}for(const _0x274599 in _0x54647b)_0x49a69a(_0x274599);function _0x49a69a(_0x89d5ea){const _0x37cded=_0x54647b[_0x89d5ea],_0x1d01ce=_0x5ea477['slice']();_0x1d01ce[_0x1d01ce['length']-0x1]+=_0x37cded['start'],_0x5dac29['push']({'type':'attribute','path':_0x1d01ce,'howMany':_0x37cded['length'],'key':_0x89d5ea,'oldValue':_0x37cded['oldValue'],'newValue':_0x37cded['newValue']}),delete _0x54647b[_0x89d5ea];}}['_getAttributeChanges'](_0x274e2a,_0x1067eb){const _0x3dac1a={};for(const [_0x608e6d,_0x5f5480]of _0x274e2a)_0x3dac1a[_0x608e6d]={'oldValue':JSON['stringify'](_0x5f5480),'newValue':'null'};for(const [_0x3bc2b2,_0xb63046]of _0x1067eb){const _0x493916=JSON['stringify'](_0xb63046);_0x3dac1a[_0x3bc2b2]?_0x3dac1a[_0x3bc2b2]['oldValue']==_0x493916?delete _0x3dac1a[_0x3bc2b2]:_0x3dac1a[_0x3bc2b2]['newValue']=_0x493916:_0x3dac1a[_0x3bc2b2]={'oldValue':'null','newValue':_0x493916};}return delete _0x3dac1a[Wt],_0x3dac1a;}['_getAttrsForOffsets'](_0x5b5141,_0x1b2750,_0x51f49e){const _0x2004c2=new Array(_0x1b2750+_0x51f49e);let _0x403231=_0x5b5141['getChildAtOffset'](_0x1b2750),_0x6f33a5=_0x403231['startOffset'];for(;_0x403231&&_0x6f33a5<_0x1b2750+_0x51f49e;){const _0x2defe3=Array['from'](_0x403231['getAttributes']());_0x2004c2['fill'](_0x2defe3,_0x6f33a5,_0x6f33a5+_0x403231['offsetSize']),_0x6f33a5+=_0x403231['offsetSize'],_0x403231=_0x403231['nextSibling'];}return _0x2004c2;}['_getPositionFromAnchorAndPath'](_0x466d43,_0x357780){const _0x1b01fc=[..._0x466d43['path']['slice'](0x0,-0x1),_0x466d43['offset']+_0x357780[0x0],..._0x357780['slice'](0x1)];return new _0x23989e(_0x466d43['root'],_0x1b01fc);}['_makeModelFromTokens'](_0x22e68b){const _0xbbb0ad=[];let _0x19e90f=null;for(const _0x12ab43 of _0x22e68b)if('element'!=_0x12ab43['type']||_0x12ab43['isStart']||_0x19e90f!=_0x12ab43['element']){if(!_0x19e90f){if('text'==_0x12ab43['type']){const _0x2bea37=_0x23989e['_createAt'](_0x12ab43['parent'],_0x12ab43['offset']),_0xd18345=_0x442be6['_createFromPositionAndShift'](_0x2bea37,_0x12ab43['data']['length']),_0x48dcee=Array['from'](_0xd18345['getItems']())['map'](_0x3e1af1=>new _0x4d91fe(_0x3e1af1['data'],_0x3e1af1['getAttributes']()));_0xbbb0ad['push'](..._0x48dcee);}else{_0x19e90f=_0x12ab43['element'];const _0x283bef=_0x12ab43['element']['_clone'](!0x0);_0x283bef['_removeAttribute'](Wt);for(const _0x503a50 of this['_editor']['model']['createRangeIn'](_0x283bef)['getItems']())_0x503a50['is']('element')&&_0x503a50['_removeAttribute'](Wt);_0xbbb0ad['push'](_0x283bef);}}}else _0x19e90f=null;return _0xbbb0ad;}}function Kt(_0x36bac9,_0x4e8bcb){return _0x36bac9['type']===_0x4e8bcb['type']&&(_0x36bac9['limitId']===_0x4e8bcb['limitId']&&('text'==_0x36bac9['type']?_0x36bac9['data']==_0x4e8bcb['data']:function(_0x3daa59,_0x495d57){if(_0x3daa59['isStart']!=_0x495d57['isStart'])return!0x1;if(_0x3daa59['isStart']&&_0x3daa59['elementId']!=_0x495d57['elementId'])return!0x1;if(_0x3daa59['category']!=_0x495d57['category'])return!0x1;if('block'==_0x3daa59['category'])return!0x0;if('container'==_0x3daa59['category']&&_0x3daa59['elementId']!=_0x495d57['elementId'])return!0x1;return _0x3daa59['element']['name']==_0x495d57['element']['name'];}(_0x36bac9,_0x4e8bcb)));}function qt(_0xf7dcc0){return Mt({'name':_0xf7dcc0['name'],...Object['fromEntries'](_0xf7dcc0['getAttributes']())});}export{H as AriaDescriptionView,At as ConfirmMixin,Wt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Yt as DocumentCompare,Rt as FOCUS_ANNOTATION_KEYSTROKE,z as LateFocusButtonView,W as LateFocusDropdownButtonView,D as Permissions,vt as SuggestionsConversion,F as UserView,L as Users,J as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,Ct as getDateTimeFormatter,xt as getMarkerDomElement,Mt as hashObject,Vt as sanitizeEditorConfig,Ft as setupThreadKeyboardNavigation,Y as splitSuggestionMarkerName,Ut as surroundingMarkersDetector,_t 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':_0x57b652=>0x1!=_0x57b652}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f238b=>{const {af:{dictionary:_0x1f11c3,getPluralForm:_0x593acb}}={'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':_0x41810f=>0x1!=_0x41810f}};_0x1f238b['af']||={'dictionary':{},'getPluralForm':null},_0x1f238b['af']['dictionary']=Object['assign'](_0x1f238b['af']['dictionary'],_0x1f11c3),_0x1f238b['af']['getPluralForm']=_0x593acb;})(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':_0x46606e=>0x0==_0x46606e?0x0:0x1==_0x46606e?0x1:0x2==_0x46606e?0x2:_0x46606e%0x64>=0x3&&_0x46606e%0x64<=0xa?0x3:_0x46606e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a2fbc=>{const {ar:{dictionary:_0x248935,getPluralForm:_0x5f2360}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x1da533=>0x0==_0x1da533?0x0:0x1==_0x1da533?0x1:0x2==_0x1da533?0x2:_0x1da533%0x64>=0x3&&_0x1da533%0x64<=0xa?0x3:_0x1da533%0x64>=0xb?0x4:0x5}};_0x2a2fbc['ar']||={'dictionary':{},'getPluralForm':null},_0x2a2fbc['ar']['dictionary']=Object['assign'](_0x2a2fbc['ar']['dictionary'],_0x248935),_0x2a2fbc['ar']['getPluralForm']=_0x5f2360;})(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':_0x3c9348=>0x1!=_0x3c9348}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ff73e=>{const {ast:{dictionary:_0x2f1461,getPluralForm:_0x46faac}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x149ab0=>0x1!=_0x149ab0}};_0x2ff73e['ast']||={'dictionary':{},'getPluralForm':null},_0x2ff73e['ast']['dictionary']=Object['assign'](_0x2ff73e['ast']['dictionary'],_0x2f1461),_0x2ff73e['ast']['getPluralForm']=_0x46faac;})(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':_0x54d775=>0x1!=_0x54d775}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc108bd=>{const {az:{dictionary:_0x7bbc7d,getPluralForm:_0x130e73}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x48b1dd=>0x1!=_0x48b1dd}};_0xc108bd['az']||={'dictionary':{},'getPluralForm':null},_0xc108bd['az']['dictionary']=Object['assign'](_0xc108bd['az']['dictionary'],_0x7bbc7d),_0xc108bd['az']['getPluralForm']=_0x130e73;})(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':_0x51c871=>_0x51c871%0xa==0x1&&_0x51c871%0x64!=0xb?0x0:_0x51c871%0xa>=0x2&&_0x51c871%0xa<=0x4&&(_0x51c871%0x64<0xa||_0x51c871%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35593a=>{const {be:{dictionary:_0x4959e1,getPluralForm:_0x283065}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x25c7fb=>_0x25c7fb%0xa==0x1&&_0x25c7fb%0x64!=0xb?0x0:_0x25c7fb%0xa>=0x2&&_0x25c7fb%0xa<=0x4&&(_0x25c7fb%0x64<0xa||_0x25c7fb%0x64>=0x14)?0x1:0x2}};_0x35593a['be']||={'dictionary':{},'getPluralForm':null},_0x35593a['be']['dictionary']=Object['assign'](_0x35593a['be']['dictionary'],_0x4959e1),_0x35593a['be']['getPluralForm']=_0x283065;})(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':_0x33adc2=>0x1!=_0x33adc2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2eacff=>{const {bg:{dictionary:_0x4701b7,getPluralForm:_0x446b56}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x58ad14=>0x1!=_0x58ad14}};_0x2eacff['bg']||={'dictionary':{},'getPluralForm':null},_0x2eacff['bg']['dictionary']=Object['assign'](_0x2eacff['bg']['dictionary'],_0x4701b7),_0x2eacff['bg']['getPluralForm']=_0x446b56;})(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':_0x247ba7=>0x1!=_0x247ba7}};
|