@ckeditor/ckeditor5-collaboration-core 47.3.0-alpha.5 → 47.3.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 +13 -13
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/suggestionmarkerutils.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x503c27,Editor as _0x220e61,Plugin as _0x24b01f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5e43ee,Collection as _0x2caf8f,uid as _0x59988c,toArray as rt,first as _0x5e5e0d,FocusTracker as ts,KeystrokeHandler as _0x4d8956}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xf8b808,IconView as st,ButtonView as _0x51bd3a,DropdownButtonView as _0x33ee53,FocusCycler as _0x28faee,isViewWithFocusCycler as _0x2e35be}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as ct,IconCheck as _0x448b9e,IconCancel as _0xc81095}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as it,toWidget as _0x32a348}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x1e67d8,MoveOperation as _0x1d1d8d,ModelPosition as _0x38ac5c,ModelRange as _0x2ece87,MarkerOperation as _0x1fa860,MergeOperation as _0x1fa071,SplitOperation as _0x3e5e7d,RenameOperation as _0x4ebc8a,AttributeOperation as _0x1d0e28,ModelTreeWalker as _0x5d0b0b,ModelText as _0x559acd}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x3399c5}from'diff';class C extends _0x503c27{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5c0e89,_0x304322){let _0x459fe1;if(_0x304322||(_0x304322=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x304322?_0x459fe1=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x459fe1=this['context']['editors']['find'](_0x4a884a=>_0x4a884a['config']['get']('collaboration.channelId')==_0x304322)),!_0x459fe1)throw new _0x5e43ee('permissions-set-permissions-invalid-channel-id',null);const _0x133ba7=_0x459fe1['plugins'],_0x1900d4=_0x133ba7['has']('CommentsRepository')?_0x133ba7['get']('CommentsRepository'):void 0x0,_0x3a2bb5=_0x133ba7['has']('CommentsOnly')&&_0x133ba7['get']('CommentsOnly'),_0x2dcb3a=_0x5c0e89['includes']('document:write'),_0x3f847e=_0x5c0e89['includes']('comment:modify_all'),_0x124302=_0x5c0e89['includes']('comment:admin'),_0x3619ee=_0x5c0e89['includes']('comment:write'),_0x116492=_0x3619ee||_0x124302,_0x5a6f95=_0x116492||_0x3f847e,_0x1123c3=_0x2dcb3a||_0x116492;(_0x3a2bb5&&(_0x3a2bb5['isEnabled']=!_0x2dcb3a&&_0x5a6f95),_0x459fe1 instanceof _0x220e61)&&(!(_0x2dcb3a||_0x5a6f95&&_0x1900d4)?_0x459fe1['enableReadOnlyMode']('no-permissions'):_0x459fe1['disableReadOnlyMode']('no-permissions'));if(_0x1900d4){_0x1900d4['setPermissions']({'admin':_0x124302,'modifyAll':_0x3f847e,'write':_0x3619ee,'resolve':_0x1123c3},_0x304322);const _0x26cdb1=_0x459fe1 instanceof _0x220e61&&_0x459fe1['commands']['get']('addCommentThread');_0x26cdb1&&(_0x116492?_0x26cdb1['clearForceDisabled']('noPermissions'):_0x26cdb1['forceDisabled']('noPermissions'));}}}function U(_0x560467,_0x3640e7){const t=_0x560467['t'];switch(_0x3640e7){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 at extends _0x503c27{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x3f2d32){super(_0x3f2d32),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x2caf8f(),this['_locale']=_0x3f2d32['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:_0x1205dc,name:_0x50fef9,..._0x32d07c}){if(!_0x1205dc||'string'!=typeof _0x1205dc)throw new _0x5e43ee('users-add-invalid-id');if(this['users']['has'](_0x1205dc))throw new _0x5e43ee('users-add-duplicated-id',null,{'id':_0x1205dc});const _0xac3d46=this['context']['config']['get']('users.getInitialsCallback'),_0x1bda13={..._0x32d07c,'id':_0x1205dc,'name':A(this['_locale'],_0x50fef9),'color':this['_getNextColor']()};_0x1bda13['name']=A(this['_locale'],_0x1bda13['name']);const _0x301f78=new lt(_0x1bda13,_0xac3d46);return this['users']['add'](_0x301f78),_0x301f78;}['getUser'](_0x5dc75b){return this['users']['get'](_0x5dc75b);}['useAnonymousUser'](){const _0x538cd5=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x538cd5);}['defineMe'](_0x5065dc){if(this['_myId'])throw new _0x5e43ee('users-me-already-defined',null);const _0x4c9782=this['getUser'](_0x5065dc);if(!_0x4c9782)throw new _0x5e43ee('users-me-missing-user',null);this['_myId']=_0x5065dc,_0x4c9782['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x5b1aa9=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x5b1aa9&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3ac1e6=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3ac1e6,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x2abe2a,_0x3e227a){this['id']=_0x2abe2a['id'],this['color']=_0x2abe2a['color'],this['name']=_0x2abe2a['name'],this['initials']=_0x3e227a?_0x3e227a(this['name']):this['_computeInitials'](),this['avatar']=_0x2abe2a['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5a7be8=this['name']['split']('\x20')['filter'](_0x4b4a66=>/^[\p{Letter}]/u['test'](_0x4b4a66));return 0x1===_0x5a7be8['length']?this['_getInitial'](_0x5a7be8[0x0]):0x0===_0x5a7be8['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5a7be8[0x0])+this['_getInitial'](_0x5a7be8[_0x5a7be8['length']-0x1]);}['_getInitial'](_0x282720){return String['fromCodePoint'](_0x282720['codePointAt'](0x0))['toUpperCase']();}}function A(_0x4f29ac,_0x1a5ca9=''){return''==(_0x1a5ca9=_0x1a5ca9['trim']())?U(_0x4f29ac,'Anonymous'):_0x1a5ca9;}class ut{['_id'];constructor(_0x4e64d2){this['_id']=_0x4e64d2;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0xf8b808{['name'];['notificationView'];constructor(_0x573036,_0x56f97f,_0x6ab287){super(_0x573036),this['name']=_0x56f97f['name'],this['notificationView']=null;const _0x449eae=['ck','ck-user'],_0x57e933=['ck','ck-user__img'];if(_0x56f97f['isAnonymous']&&_0x57e933['push']('ck-user__anonymous'),!_0x56f97f['isAnonymous']&&_0x56f97f['isMe']&&_0x449eae['push']('ck-user_me'),_0x56f97f['avatar']&&_0x57e933['push']('ck-user__avatar'),_0x6ab287){const _0x4783ce=new st();_0x4783ce['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4783ce['content']=ct,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x6ab287},'children':[_0x4783ce]};}const _0x3ceeb2=[{'tag':'div','attributes':{'class':_0x57e933,'style':{'background-image':_0x56f97f['avatar']?'url(\x27'+_0x56f97f['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x56f97f['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x56f97f['name']},'children':[{'text':_0x56f97f['initials']}]}];this['notificationView']&&_0x3ceeb2['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x449eae,'data-user-id':_0x56f97f['id']},'children':_0x3ceeb2});}}class dt extends _0xf8b808{['id'];constructor(_0x370ba9,_0x211f6d){super(_0x370ba9),this['id']='ck-aria-description-'+_0x59988c(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x211f6d}]});}}class ft extends _0x51bd3a{['render'](){super['render'](),re(this);}}class gt extends _0x33ee53{['render'](){super['render'](),re(this);}}function re(_0x111ef6){_0x111ef6['listenTo'](_0x111ef6['element'],'mousedown',(_0x5d6be4,_0x3452d6)=>{_0x3452d6['stopPropagation'](),_0x3452d6['preventDefault']();}),_0x111ef6['listenTo'](_0x111ef6['element'],'mouseup',()=>{_0x111ef6['element']['focus']();});}function v(_0x4c7168){const _0x266c76=_0x4c7168['split'](':');return{'group':_0x266c76[0x0],'type':_0x266c76[0x1],'subType':_0x266c76['length']>=0x5?_0x266c76[0x2]:null,'id':_0x266c76['length']<0x5?_0x266c76[0x2]:_0x266c76[0x3],'authorId':_0x266c76['length']<0x5?_0x266c76[0x3]:_0x266c76[0x4],'markerCount':0x6==_0x266c76['length']?_0x266c76[0x5]:null};}function mt(_0x19c51d,_0x2e8316){const _0x45c7bb=_0x19c51d['end']['nodeBefore'];if(_0x45c7bb&&_0x45c7bb['is']('element')&&_0x2e8316['schema']['isBlock'](_0x45c7bb)&&!_0x2e8316['schema']['isObject'](_0x45c7bb)){const _0x4a732e=_0x2e8316['createPositionAt'](_0x45c7bb,'end');return _0x2e8316['createRange'](_0x19c51d['start'],_0x4a732e);}return _0x19c51d;}class M extends _0x24b01f{['afterInit'](){const _0x52bf51=this['editor'];if(!_0x52bf51['plugins']['has']('AlignmentEditing'))return;_0x52bf51['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x24b01f{['afterInit'](){const _0x5b098c=this['editor'],_0x3ae328=_0x5b098c['plugins']['get']('SuggestionsConversion');for(const _0x15be40 of ii){if(!_0x5b098c['plugins']['has'](_0x15be40))continue;const _0xe0b2d6=_0x15be40['slice'](0x0,-0x7)['toLowerCase']();_0x3ae328['registerInlineAttribute'](_0xe0b2d6);}}}class I extends _0x24b01f{['afterInit'](){const _0x3e933e=this['editor'],_0x207d66=_0x3e933e['plugins']['get']('SuggestionsConversion');_0x3e933e['plugins']['has']('BookmarkEditing')&&_0x207d66['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x24b01f{['afterInit'](){const _0x10ca58=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x4d227a,commandName:_0xdb21c8}of no)this['editor']['plugins']['has'](_0x4d227a)&&_0x10ca58['registerInlineAttribute'](_0xdb21c8);}}class T extends _0x24b01f{['afterInit'](){const _0x7bd1fe=this['editor'];if(!_0x7bd1fe['plugins']['has']('HighlightEditing'))return;_0x7bd1fe['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class E extends _0x24b01f{['afterInit'](){const _0x2afc25=this['editor'];if(!_0x2afc25['plugins']['has']('HtmlEmbed'))return;_0x2afc25['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class S extends _0x24b01f{['afterInit'](){const _0x306b7b=this['editor'];if(!_0x306b7b['plugins']['has']('ImageEditing'))return;const _0x191de9=_0x306b7b['plugins']['get']('SuggestionsConversion');_0x191de9['registerBlockAttribute']('src'),_0x306b7b['plugins']['has']('ImageResize')&&_0x191de9['registerBlockAttribute']('resizedWidth'),_0x306b7b['plugins']['has']('ImageTextAlternativeEditing')&&_0x191de9['registerBlockAttribute']('alt'),_0x306b7b['plugins']['has']('PictureEditing')&&_0x191de9['registerBlockAttribute']('sources'),_0x306b7b['plugins']['has']('ImageSizeAttributes')&&(_0x191de9['registerBlockAttribute']('width'),_0x191de9['registerBlockAttribute']('height'));}}class $ extends _0x24b01f{['afterInit'](){const _0xdecff5=this['editor'],_0x1f05da=_0xdecff5['plugins']['get']('SuggestionsConversion');_0xdecff5['plugins']['has']('IndentBlock')&&_0x1f05da['registerBlockAttribute']('blockIndent');}}class x extends _0x24b01f{['afterInit'](){const _0xcafdea=this['editor'];if(!_0xcafdea['plugins']['has']('LineHeight'))return;_0xcafdea['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class H extends _0x24b01f{['afterInit'](){const _0x11f3b4=this['editor'];if(!_0x11f3b4['plugins']['has']('LinkEditing'))return;const _0x532fb3=_0x11f3b4['plugins']['get']('SuggestionsConversion'),_0x1cf9ed=_0x11f3b4['commands']['get']('link');_0x532fb3['registerInlineAttribute']('linkHref');for(const _0x287d40 of _0x1cf9ed['manualDecorators'])_0x532fb3['registerInlineAttribute'](_0x287d40['id']);}}class N extends _0x24b01f{['afterInit'](){const _0x35108d=this['editor'];if(!_0x35108d['plugins']['has']('ListEditing'))return;const _0x48f884=_0x35108d['plugins']['get']('SuggestionsConversion'),_0x4a5692=_0x35108d['plugins']['has']('TodoListEditing');_0x48f884['registerBlockAttribute']('listItemId'),_0x48f884['registerBlockAttribute']('listType'),_0x48f884['registerBlockAttribute']('listIndent'),_0x4a5692&&_0x48f884['registerBlockAttribute']('todoListChecked');}}class P extends _0x24b01f{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0xbfbf07=this['editor']['config']['get']('list.properties'),_0x7e5c27=this['editor']['plugins']['get']('SuggestionsConversion');_0xbfbf07['styles']&&_0x7e5c27['registerBlockAttribute']('listStyle'),_0xbfbf07['reversed']&&_0x7e5c27['registerBlockAttribute']('listReversed'),_0xbfbf07['startIndex']&&_0x7e5c27['registerBlockAttribute']('listStart');}}class K extends _0x24b01f{['afterInit'](){const _0x8c08f4=this['editor'],_0x2e1f83=_0x8c08f4['plugins']['get']('SuggestionsConversion');_0x8c08f4['plugins']['has']('MultiLevelList')&&_0x2e1f83['registerBlockAttribute']('listMarkerStyle');}}class q extends _0x24b01f{['afterInit'](){const _0x2c0711=this['editor'];if(!_0x2c0711['plugins']['has']('Style')||!_0x2c0711['plugins']['has']('DataSchema')||!_0x2c0711['config']['get']('style.definitions'))return;const _0x1f2a84=_0x2c0711['plugins']['get']('SuggestionsConversion'),_0x1d633f=_0x2c0711['config']['get']('style.definitions'),_0x1d10a1=_0x2c0711['plugins']['get']('GeneralHtmlSupport'),_0x18a9fe=_0x2c0711['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2c0711['plugins']['get']('DataSchema'),_0x1d633f),_0x20b7cd=new Set();for(const _0x3057c9 of _0x18a9fe['block']){const _0x1fddaf=_0x1d10a1['getGhsAttributeNameForElement'](_0x3057c9['element']);_0x20b7cd['add'](_0x1fddaf);}const _0x272e18=new Set();for(const _0x556f50 of _0x18a9fe['inline']){const _0x1a378f=_0x1d10a1['getGhsAttributeNameForElement'](_0x556f50['element']);_0x272e18['add'](_0x1a378f);for(const _0x43bdb1 of _0x556f50['ghsAttributes'])_0x272e18['add'](_0x43bdb1);}for(const _0x467b7d of _0x20b7cd)_0x1f2a84['registerBlockAttribute'](_0x467b7d);for(const _0x319256 of _0x272e18)_0x1f2a84['registerInlineAttribute'](_0x319256);}}class z extends _0x24b01f{['afterInit'](){const _0x8173b5=this['editor'];if(!_0x8173b5['plugins']['has']('TableEditing'))return;const _0x41fa85=_0x8173b5['plugins']['get']('SuggestionsConversion');_0x41fa85['registerBlockAttribute']('headingRows'),_0x41fa85['registerBlockAttribute']('headingColumns');}}class O extends _0x24b01f{['afterInit'](){const _0x339cc5=this['editor']['plugins']['get']('SuggestionsConversion');if(!this['editor']['plugins']['has']('Table'))return;const _0x1e3c3b=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor','tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5d4ca2 of _0x1e3c3b)_0x339cc5['registerBlockAttribute'](_0x5d4ca2);}}class R extends _0x24b01f{['afterInit'](){const _0x1d3502=this['editor'],_0x73f088=_0x1d3502['plugins']['get']('SuggestionsConversion');_0x1d3502['plugins']['has']('TableLayout')&&_0x73f088['registerBlockAttribute']('tableType');}}class F extends _0x24b01f{['afterInit'](){const _0x211ad8=this['editor'],_0x4640b6=this['editor']['plugins']['get']('SuggestionsConversion');_0x211ad8['plugins']['has']('Uploadcare')&&_0x211ad8['plugins']['has']('UploadcareImageEdit')&&_0x4640b6['registerBlockAttribute']('uploadcareImageId');}}class G extends _0x24b01f{['afterInit'](){const _0x4ce7c6=this['editor'];if(!_0x4ce7c6['plugins']['has']('ShiftEnter'))return;const _0x8b9a63=_0x4ce7c6['plugins']['get']('SuggestionsConversion'),_0x51250e=(_0x2f6102,_0x36f0b8,_0x15c5b8,_0x3515a5)=>{if(_0x3515a5&&!_0x15c5b8['options']['showSuggestionHighlights'])return;if(!_0x15c5b8['consumable']['test'](_0x36f0b8['markerRange'],_0x2f6102['name']))return;const _0x4f82d4=_0x4ce7c6['model'];for(const _0x1beee9 of _0x36f0b8['markerRange']['getItems']()){if(!_0x1beee9['is']('element','softBreak'))continue;const _0x3e1b8e='deletion'==_0x36f0b8['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x5e250c,authorId:_0x6adcbc}=v(_0x36f0b8['markerName']),_0x3dbc4f=_0x15c5b8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3e1b8e,'data-suggestion':_0x5e250c,'data-author-id':_0x6adcbc}),_0x4aabe5=_0x15c5b8['mapper']['toViewPosition'](_0x4f82d4['createPositionBefore'](_0x1beee9));!_0x3515a5&&_0x8b9a63['_activeMarkers']['includes'](_0x36f0b8['markerName'])&&_0x15c5b8['writer']['addClass']('ck-suggestion-marker--active',_0x3dbc4f),_0x15c5b8['writer']['insert'](_0x4aabe5,_0x3dbc4f),_0x15c5b8['mapper']['bindElementToMarker'](_0x3dbc4f,_0x36f0b8['markerName']);}};_0x4ce7c6['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1eba0b,_0x59ae3c,_0x147e23)=>{_0x51250e(_0x1eba0b,_0x59ae3c,_0x147e23,!0x1);},{'priority':'high'}),_0x4ce7c6['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x58d7d6,_0x48cf37,_0x1cc38c)=>{_0x51250e(_0x58d7d6,_0x48cf37,_0x1cc38c,!0x0);},{'priority':'high'});}}class J extends _0x24b01f{['afterInit'](){const _0x25d5b4=this['editor'];_0x25d5b4['plugins']['has']('MediaEmbedEditing')&&(_0x25d5b4['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x103056,{writer:_0xf69cfc,options:_0x3ab517})=>{if(_0x3ab517['showSuggestionHighlights'])return _0xf69cfc['createEmptyElement']('div');},'converterPriority':'high'}),_0x25d5b4['data']['downcastDispatcher']['on']('attribute:url:media',(_0x508734,_0x3fc72e,_0x37c9b5)=>{_0x37c9b5['options']['showSuggestionHighlights']&&_0x508734['stop']();},{'priority':'high'}));}}class L extends _0x24b01f{['afterInit'](){const _0x4a0fdc=this['editor'];if(!_0x4a0fdc['plugins']['has']('Table'))return;_0x4a0fdc['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x496caf,_0x4ab50a,_0xaa7497)=>{((_0x3498d3,_0x52146b,_0x1c0ed4)=>{if(!_0x1c0ed4['options']['showSuggestionHighlights'])return;const _0x5ac55f=_0x52146b['item'];if(!_0x5ac55f||!_0x5ac55f['is']('element','tableCell'))return;const _0x10913b=_0x1c0ed4['mapper']['toViewElement'](_0x5ac55f);if(_0x10913b){const {id:_0x1137b4,authorId:_0x29e949}=v(_0x52146b['markerName']);it(_0x10913b,_0x1c0ed4['writer'],(_0x1f1ddc,_0x206834,_0x270062)=>{_0x270062['addClass'](rt(_0x206834['classes']),_0x1f1ddc),_0x270062['setAttribute']('data-suggestion-id',_0x1137b4,_0x1f1ddc),_0x270062['setAttribute']('data-author-id',_0x29e949,_0x1f1ddc);});}})(0x0,_0x4ab50a,_0xaa7497);},{'priority':'highest'});}}class Q extends _0x24b01f{['afterInit'](){const _0x29181d=this['editor'];_0x29181d['plugins']['has']('HorizontalLineEditing')&&_0x29181d['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xdd1115,{writer:_0x4469b8,options:_0x2de54b})=>{if(!_0x2de54b['showSuggestionHighlights'])return null;const _0x187372=_0x4469b8['createContainerElement']('div'),_0x3adbd3=_0x4469b8['createEmptyElement']('hr');return _0x4469b8['addClass']('ck-horizontal-line',_0x187372),_0x4469b8['insert'](_0x4469b8['createPositionAt'](_0x187372,0x0),_0x3adbd3),_0x187372;},'converterPriority':'high'});}}class kt extends _0x24b01f{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,Q,E,S,$,x,H,N,P,J,K,G,q,L,z,R,O,F];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x20bf5c=this['editor'],_0x2f6263=(_0x5305c9,_0x56b469,_0x250cea)=>{const {id:_0x521dc4,authorId:_0x41c9c6,type:_0x3ed5fd,subType:_0x3a30bf}=v(_0x5305c9['markerName']),_0x3b7ec9=['ck-suggestion-marker',this['_getClassName'](_0x3ed5fd,_0x3a30bf)];let _0xc7ccd2=0xbb8;return!_0x250cea&&(this['_activeMarkers']['includes'](_0x5305c9['markerName'])&&(_0x3b7ec9['push']('ck-suggestion-marker--active'),_0xc7ccd2=0xbc2)),('deletion'==_0x3ed5fd&&(_0xc7ccd2+=0x5),{'classes':_0x3b7ec9,'attributes':{'data-suggestion':_0x521dc4,'data-author-id':_0x41c9c6},'priority':_0xc7ccd2});};_0x20bf5c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2d5196,_0x1f5865)=>_0x2f6263(_0x2d5196,0x0,!0x1)}),_0x20bf5c['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x329225,_0x14289a)=>_0x2f6263(_0x329225,0x0,!0x0)}),_0x20bf5c['conversion']['for']('dataDowncast')['add'](_0xb4fe57=>{_0xb4fe57['on']('addMarker:suggestion',(_0x2c2878,_0x5579b8,_0x4dbb24)=>{if(!_0x4dbb24['options']['showSuggestionHighlights'])return;const _0x2be29b=_0x5579b8['item'];if(!_0x2be29b)return;const _0x48a991=_0x4dbb24['mapper']['toViewElement'](_0x2be29b);_0x20bf5c['model']['schema']['isObject'](_0x2be29b)&&_0x48a991&&!_0x48a991['getCustomProperty']('widget')&&_0x48a991['is']('containerElement')&&_0x32a348(_0x48a991,_0x4dbb24['writer']);},{'priority':'high'});});const _0x454272=(_0x1df619,_0x505eeb,_0x337784,_0x4a46e1,_0x3bced3)=>{if(_0x4a46e1&&!_0x337784['options']['showSuggestionHighlights'])return;if(!_0x505eeb['item'])return;const {id:_0x9d2bd8,authorId:_0x161d66,subType:_0x2aa672}=v(_0x505eeb['markerName']);if(_0x3bced3){const _0x2153de=_0x2aa672['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2153de))return;}if(_0x505eeb['item']['is']('selection'))return void _0x337784['consumable']['consume'](_0x505eeb['item'],_0x1df619['name']);const _0x3e99f9=_0x337784['mapper']['toViewElement'](_0x505eeb['item']);if(_0x505eeb['item']['is']('element')&&_0x20bf5c['model']['schema']['isBlock'](_0x505eeb['item'])&&!_0x3e99f9['getCustomProperty']('addHighlight')){_0x337784['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3e99f9),_0x337784['writer']['setAttribute']('data-suggestion',_0x9d2bd8,_0x3e99f9),_0x337784['writer']['setAttribute']('data-author-id',_0x161d66,_0x3e99f9),_0x337784['mapper']['bindElementToMarker'](_0x3e99f9,_0x505eeb['markerName']),_0x4a46e1||(this['_activeMarkers']['includes'](_0x505eeb['markerName'])?_0x337784['writer']['addClass']('ck-suggestion-marker--active',_0x3e99f9):_0x337784['writer']['removeClass']('ck-suggestion-marker--active',_0x3e99f9));for(const _0x4a132c of _0x20bf5c['model']['createRangeIn'](_0x505eeb['item'])['getItems']())_0x337784['consumable']['consume'](_0x4a132c,_0x1df619['name']);_0x337784['consumable']['consume'](_0x505eeb['item'],_0x1df619['name']);}},_0x315775=(_0x4b9e04,_0x3d9725,_0x2223d3,_0x34b9b0)=>{const _0x453c7c=_0x2223d3['mapper']['markerNameToElements'](_0x3d9725['markerName']);if(_0x453c7c){if(_0x34b9b0){const {subType:_0x396d0f}=v(_0x3d9725['markerName']),_0x109293=_0x396d0f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x109293))return;}for(const _0x400db5 of _0x453c7c)_0x400db5['getCustomProperty']('addHighlight')||(_0x2223d3['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x400db5),_0x2223d3['writer']['removeAttribute']('data-suggestion',_0x400db5),_0x2223d3['writer']['removeAttribute']('data-author-id',_0x400db5),_0x2223d3['mapper']['unbindElementFromMarkerName'](_0x400db5,_0x3d9725['markerName']));}};_0x20bf5c['conversion']['for']('editingDowncast')['add'](_0x67da5a=>{_0x67da5a['on']('addMarker:suggestion:formatBlock',(_0x4b52cc,_0x5ea46e,_0x4bde16)=>{_0x454272(_0x4b52cc,_0x5ea46e,_0x4bde16,!0x1,!0x1);},{'priority':'high'});}),_0x20bf5c['conversion']['for']('editingDowncast')['add'](_0x38cd31=>{_0x38cd31['on']('addMarker:suggestion:attribute',(_0xfbe82b,_0x4bd1be,_0x263c2d)=>{_0x454272(_0xfbe82b,_0x4bd1be,_0x263c2d,!0x1,!0x0);},{'priority':'high'});}),_0x20bf5c['conversion']['for']('editingDowncast')['add'](_0x508a00=>{_0x508a00['on']('removeMarker:suggestion:formatBlock',(_0x15630f,_0x3cebd4,_0x3d4112)=>{_0x315775(0x0,_0x3cebd4,_0x3d4112,!0x1);},{'priority':'high'});}),_0x20bf5c['conversion']['for']('editingDowncast')['add'](_0x1d0f5c=>{_0x1d0f5c['on']('removeMarker:suggestion:attribute',(_0x8ef6fd,_0x287d7a,_0x3a248b)=>{_0x315775(0x0,_0x287d7a,_0x3a248b,!0x0);},{'priority':'high'});}),_0x20bf5c['conversion']['for']('dataDowncast')['add'](_0x3c9a06=>{_0x3c9a06['on']('addMarker:suggestion:formatBlock',(_0x2a5f0b,_0x1c2425,_0x2cc0eb)=>{_0x454272(_0x2a5f0b,_0x1c2425,_0x2cc0eb,!0x0,!0x1);},{'priority':'highest'});}),_0x20bf5c['conversion']['for']('dataDowncast')['add'](_0x7a2b44=>{_0x7a2b44['on']('addMarker:suggestion:attribute',(_0x32fa90,_0x58e692,_0x3256f3)=>{_0x454272(_0x32fa90,_0x58e692,_0x3256f3,!0x0,!0x0);},{'priority':'highest'});}),_0x20bf5c['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x1cf5b9,_0x3637f2)=>{if(_0x3637f2['options']['showSuggestionHighlights']){const {id:_0x261ab2,authorId:_0x18ffdc}=v(_0x1cf5b9);return _0x1cf5b9['includes'](':split')||_0x1cf5b9['includes'](':merge')?{'group':'suggestion','name':_0x1cf5b9['substr'](0xb),'attributes':{'data-suggestion':_0x261ab2,'data-author-id':_0x18ffdc}}:null;}return{'group':'suggestion','name':_0x1cf5b9['substr'](0xb)};}});const _0x1d0655=(_0x5bffea,_0xae70a6,_0x983e69,_0x59e211,_0x470276)=>{if(_0x59e211&&!_0x983e69['options']['showSuggestionHighlights'])return;if(!_0x983e69['consumable']['test'](_0xae70a6['markerRange'],_0x5bffea['name']))return;const _0x48c19e=this['_activeMarkers'],_0x2e136e=_0xae70a6['markerRange']['getWalker'](),_0x38ef23=_0xae70a6['markerRange']['start'],_0x1dc7c4=_0x20bf5c['model']['schema'];let _0x36c5a2=null,_0x182f53=null,_0x27e603=!0x1,_0x25434d=!0x1;for(const _0x21102d of _0x2e136e){const _0x327770=_0x21102d['item'];_0x27e603=_0x27e603||_0x1dc7c4['isContent'](_0x327770);const _0x51b93a=_0x983e69['mapper']['toViewElement'](_0x327770);if(_0x51b93a&&_0x51b93a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x21102d['type']&&(_0x1dc7c4['isBlock'](_0x327770)&&!_0x1dc7c4['isLimit'](_0x327770)&&(_0x327770['nextSibling']||_0x38ef23['isAtEnd']?_0x36c5a2&&_0x36c5a2['parent']==_0x327770||(_0x36c5a2=_0x327770,_0x2029f3(_0x21102d['previousPosition']),_0x25434d=!0x0):_0x182f53=_0x182f53||_0x21102d['previousPosition']));}function _0x2029f3(_0x3a4770){const {id:_0x3b7c04,authorId:_0x443202}=v(_0xae70a6['markerName']),_0x5795ce=_0x983e69['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x470276,'data-suggestion':_0x3b7c04,'data-author-id':_0x443202}),_0x53c558=_0x983e69['mapper']['toViewPosition'](_0x3a4770);!_0x59e211&&_0x48c19e['includes'](_0xae70a6['markerName'])&&_0x983e69['writer']['addClass']('ck-suggestion-marker--active',_0x5795ce),_0x983e69['writer']['insert'](_0x53c558,_0x5795ce),_0x983e69['mapper']['bindElementToMarker'](_0x5795ce,_0xae70a6['markerName']);}_0x27e603||_0x25434d||!_0x182f53||_0x2029f3(_0x182f53);};_0x20bf5c['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x279775,_0x514b50,_0x233564)=>{_0x1d0655(_0x279775,_0x514b50,_0x233564,!0x1,'merge');},{'priority':'high'}),_0x20bf5c['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1dbb76,_0x1a1555,_0x28aca7)=>{_0x1d0655(_0x1dbb76,_0x1a1555,_0x28aca7,!0x0,'merge');},{'priority':'high'}),_0x20bf5c['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x220a5a,_0xfbb20,_0x5f3d7c)=>{_0x1d0655(_0x220a5a,_0xfbb20,_0x5f3d7c,!0x1,'split');},{'priority':'high'}),_0x20bf5c['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x113799,_0x2bd476,_0x361f15)=>{_0x1d0655(_0x113799,_0x2bd476,_0x361f15,!0x0,'split');},{'priority':'high'}),_0x20bf5c['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xb8689,_0x3e93c1,_0x220777)=>{((_0x58cca7,_0x175a89,_0xaed193)=>{const _0xf5c1ee=_0xaed193['mapper']['markerNameToElements'](_0x175a89['markerName']);if(_0xf5c1ee){for(const _0xf6300 of _0xf5c1ee)(_0xf6300['hasClass']('ck-suggestion-marker-split')||_0xf6300['hasClass']('ck-suggestion-marker-merge'))&&(_0xaed193['mapper']['unbindElementFromMarkerName'](_0xf6300,_0x175a89['markerName']),_0xaed193['writer']['remove'](_0xf6300));}})(0x0,_0x3e93c1,_0x220777);},{'priority':'high'});const _0x37b827=(_0x5b8b6e,_0x373101,_0x36b14c,_0x45c775)=>{if(_0x45c775&&!_0x36b14c['options']['showSuggestionHighlights'])return;const _0x91092f=_0x373101['markerRange']['start'],_0x42e86b=_0x373101['markerRange']['end'],_0x57e4d8=_0x20bf5c['model']['schema'];if(!_0x91092f['isTouching'](_0x42e86b)||!_0x91092f['nodeAfter'])return;const _0x40d5f7=_0x91092f['nodeAfter'];if(_0x57e4d8['isBlock'](_0x40d5f7)&&!_0x57e4d8['isLimit'](_0x40d5f7)&&_0x57e4d8['checkChild'](_0x40d5f7,'$text')){if(!_0x36b14c['consumable']['consume'](_0x373101['markerRange'],_0x5b8b6e['name']))return;const {id:_0x4fe6e2,authorId:_0x283139}=v(_0x373101['markerName']),_0x210dd5=_0x36b14c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4fe6e2,'data-author-id':_0x283139}),_0x2a6d54=_0x36b14c['mapper']['toViewPosition'](_0x42e86b);!_0x45c775&&this['_activeMarkers']['includes'](_0x373101['markerName'])&&_0x36b14c['writer']['addClass']('ck-suggestion-marker--active',_0x210dd5),_0x36b14c['writer']['insert'](_0x2a6d54,_0x210dd5),_0x36b14c['mapper']['bindElementToMarker'](_0x210dd5,_0x373101['markerName']);}};_0x20bf5c['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x227957,_0x250410,_0x15ce7c)=>{_0x37b827(_0x227957,_0x250410,_0x15ce7c,!0x1);},{'priority':'high'}),_0x20bf5c['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x47d5a5,_0x597324,_0x380ebf)=>{_0x37b827(_0x47d5a5,_0x597324,_0x380ebf,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x19ac6b,_0x3e299f,_0x2f2b51)=>{this['_activeMarkers']=_0x2f2b51['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x379417){this['_blockAttributeKeys']['add'](_0x379417);}['registerInlineAttribute'](_0x3ff7f6){this['_inlineAttributeKeys']['add'](_0x3ff7f6);}['isBlockAttribute'](_0x599d77){return this['_blockAttributeKeys']['has'](_0x599d77);}['isInlineAttribute'](_0x4007bc){return this['_inlineAttributeKeys']['has'](_0x4007bc);}['isRegisteredAttribute'](_0xc4a875){return this['isInlineAttribute'](_0xc4a875)||this['isBlockAttribute'](_0xc4a875);}['_getClassName'](_0x598d97,_0x4cfbc9){if('attribute'!=_0x598d97)return'ck-suggestion-marker-'+_0x598d97;const _0x190674=_0x4cfbc9['split']('|')[0x0];return this['isBlockAttribute'](_0x190674)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x542dcb={},_0x13adfc){if(void 0x0!==_0x542dcb['dateTimeFormat']&&'function'!=typeof _0x542dcb['dateTimeFormat'])throw new _0x5e43ee('invalid-date-time-format');return _0x45a45d=>{const _0x1127de='string'==typeof _0x45a45d?tt['fromISO'](_0x45a45d):tt['fromJSDate'](_0x45a45d),_0x142488=tt['now'](),_0x362c1c=Math['floor'](_0x142488['diff'](_0x1127de,'days')['days']);return _0x542dcb['dateTimeFormat']?_0x542dcb['dateTimeFormat'](_0x1127de['toJSDate'](),_0x13adfc&&_0x13adfc['t']?_0x13adfc['t']:void 0x0):0x0===_0x362c1c?_0x13adfc?U(_0x13adfc,'Today')+'\x20'+_0x1127de['toFormat']('hh:mma'):_0x1127de['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x362c1c?_0x13adfc?U(_0x13adfc,'Yesterday')+'\x20'+_0x1127de['toFormat']('hh:mma'):_0x1127de['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x362c1c<0x7?_0x13adfc?U(_0x13adfc,'Last')+'\x20'+U(_0x13adfc,_0x1127de['toFormat']('EEEE'))+'\x20'+_0x1127de['toFormat']('hh:mma'):_0x1127de['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x1127de['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x5bb98a,_0x34a0d6){const _0xb664fc=_0x5bb98a['mapper']['markerNameToElements'](_0x34a0d6['name']);if(!_0xb664fc)return null;const _0x592c54=_0x5e5e0d(_0xb664fc['values']());return _0x5bb98a['view']['domConverter']['mapViewToDom'](_0x592c54)||null;}function wt(_0x56aa67,_0x4c956a){if(0x0===_0x4c956a['length'])return null;const _0x5735e1=[],_0x266ce9=_0x56aa67['view']['domConverter'];for(const _0x5bb18f of _0x4c956a){const _0x2638d4=_0x56aa67['mapper']['markerNameToElements'](_0x5bb18f['name']);if(!_0x2638d4)continue;const _0x497647=Array['from'](_0x2638d4)['map'](_0x5641af=>_0x266ce9['mapViewToDom'](_0x5641af))['filter'](_0x526c20=>!!_0x526c20);_0x5735e1['push'](..._0x497647);}if(0x0===_0x5735e1['length'])return null;const _0xd4f00=[];for(const _0x1b03f of _0x5735e1){const _0x493ad4=_0x1b03f['getClientRects']()['item'](0x0);_0x493ad4&&_0xd4f00['push']({'x':_0x493ad4['x'],'y':_0x493ad4['y'],'domElement':_0x1b03f});}return 0x0===_0xd4f00['length']?null:(_0xd4f00['sort']((_0x4feb1e,_0x5b1f48)=>_0x4feb1e['y']-_0x5b1f48['y']||_0x4feb1e['x']-_0x5b1f48['x']),_0xd4f00['map'](_0x3319f9=>_0x3319f9['domElement']));}function bt(_0x439298,{limit:_0x2fb65b,suffix:_0x2e1369='...'}){const _0x26aa67=[];let _0x3eb686=0x0;const _0x4c9589=_0x439298['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xe2aeae=0x0;_0xe2aeae<_0x4c9589['length'];_0xe2aeae++){let _0x26d70f=_0x4c9589[_0xe2aeae];const _0x486c39=tn(_0x26d70f);if(_0x26d70f['startsWith']('<')){if(_0x3eb686>=_0x2fb65b){const _0x1247b3=_0x26d70f['match'](/[a-zA-Z]+/);if(!_0x1247b3){_0x4c9589[_0xe2aeae]='';continue;}const _0x4ab550=_0x1247b3[0x0];_0x26d70f['startsWith']('</')?(_0x26aa67['length']&&(_0x26d70f=''),_0x26aa67['pop']()):(_0x26aa67['push'](_0x4ab550),_0x26d70f='');}}else{if(_0x3eb686>=_0x2fb65b)_0x26d70f='';else{if(_0x3eb686+_0x486c39['length']>=_0x2fb65b){let _0x33d69f=_0x2fb65b-_0x3eb686;if('\x20'===_0x486c39[_0x33d69f-0x1])_0x33d69f--;else{const _0x4920d8=_0x486c39['slice'](_0x33d69f)['indexOf']('\x20');-0x1!==_0x4920d8?_0x33d69f+=_0x4920d8:_0x33d69f=_0x26d70f['length'];}_0x26d70f=_0x486c39['slice'](0x0,_0x33d69f)['join']('')+_0x2e1369,_0x3eb686=_0x2fb65b;}else _0x3eb686+=_0x486c39['length'];}}_0x4c9589[_0xe2aeae]=_0x26d70f;}return _0x4c9589['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x3d8805){const _0x4e7d5a=[];for(let _0x323219=0x0;_0x323219<_0x3d8805['length'];_0x323219++){const _0x4c656a=_0x3d8805['substring'](_0x323219)['match'](/^&[a-z0-9#]+;/);if(_0x4c656a){const _0x3166d1=_0x4c656a[0x0];_0x4e7d5a['push'](_0x3166d1),_0x323219+=_0x3166d1['length']-0x1;}else _0x4e7d5a['push'](_0x3d8805[_0x323219]);}return _0x4e7d5a;}class V extends _0xf8b808{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x10e1c1){super(_0x10e1c1);const _0x4e2e50=this['bindTemplate'];this['set']('message',U(_0x10e1c1,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x10e1c1,U(_0x10e1c1,'Yes'),_0x448b9e,'submit'),this['cancelView']=this['_createButtonView'](_0x10e1c1,U(_0x10e1c1,'No'),_0xc81095,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new ts(),this['keystrokes']=new _0x4d8956(),this['focusCycler']=new _0x28faee({'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':_0x4e2e50['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'](_0x5edba1,_0x1f7527,_0x35568c,_0x51b1ac){const _0x56eeb8=new _0x51bd3a(_0x5edba1);return _0x56eeb8['label']=_0x1f7527,_0x56eeb8['icon']=_0x35568c,_0x56eeb8['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x51b1ac}}),_0x56eeb8['on']('execute',()=>this['fire'](_0x51b1ac)),_0x56eeb8;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x3c4127=>{this['keystrokes']['listenTo'](_0x3c4127['element']),this['focusTracker']['add'](_0x3c4127['element']);}),this['keystrokes']['set']('esc',(_0x51b8d3,_0x9bce87)=>{this['fire']('cancel'),_0x9bce87();});}}function vt(_0x5ac4eb){return class extends _0x5ac4eb{['showConfirm'](_0x33d2b0,_0x238bb0){return this['confirmView']=new V(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x33d2b0,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x238bb0['appendChild'](this['confirmView']['element']),_0x238bb0['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x23b2d8,_0x36b4a1,_0x3b2424)=>{_0x3b2424||_0x238bb0['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x39f40a=>this['confirmView']['on']('submit',_0x39f40a));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x48851d){let _0x39fff6=0x0,_0xe6f180=0x0;for(const _0xb9ee33 of ne(_0x48851d))_0x39fff6=(_0x39fff6<<0x5)-_0x39fff6+_0xb9ee33,_0x39fff6&=_0x39fff6,[_0x39fff6,_0xe6f180]=[_0xe6f180,_0x39fff6];return ie(_0x39fff6)+ie(_0xe6f180);}function*ee(_0x4f37d4){null==_0x4f37d4||null==_0x4f37d4?yield 0x12b9b0a1:0x0===_0x4f37d4||!0x1===_0x4f37d4?yield 0x0:0x1===_0x4f37d4||0x1==_0x4f37d4?yield 0x1:Array['isArray'](_0x4f37d4)?yield*function*(_0x39e680){for(const _0x3f4b3c of _0x39e680)yield*ee(_0x3f4b3c);}(_0x4f37d4):'object'==typeof _0x4f37d4?yield*ne(_0x4f37d4):'string'==typeof _0x4f37d4?yield*oe(_0x4f37d4):'number'==typeof _0x4f37d4&&(yield _0x4f37d4);}function*ne(_0x15a274){if(yield te('{'),_0x15a274){const _0xb47734=Object['keys'](_0x15a274)['sort']();for(const _0x436f78 of _0xb47734){yield*oe(_0x436f78),yield te(':');const _0x222af9=_0x15a274[_0x436f78];yield*ee(_0x222af9);}}yield te('}');}function*oe(_0x507ebf){yield te('\x22');for(const _0x552dfe of _0x507ebf)yield te(_0x552dfe);yield te('\x22');}function te(_0x35ee2e){return _0x35ee2e['charCodeAt'](0x0);}function ie(_0x34e55a){return(_0x34e55a*=Math['sign'](_0x34e55a))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x1bbe31,_0x53265d,_0x3eface,_0x19adaf=[]){const _0x57ee70='string'==typeof _0x1bbe31?_0x3eface['get'](_0x1bbe31)['constructor']:_0x1bbe31['prototype']['constructor'];if(_0x53265d['has'](_0x57ee70))return _0x53265d['get'](_0x57ee70);_0x53265d['set'](_0x57ee70,!0x0);const _0x241744=[...et,..._0x19adaf]['map'](_0x2db52c=>{if(_0x3eface['has'](_0x2db52c))return _0x3eface['get'](_0x2db52c)['constructor'];})['filter'](_0x51bb97=>_0x51bb97);if(_0x57ee70&&_0x241744['includes'](_0x57ee70))return _0x53265d['set'](_0x57ee70,!0x1),!0x1;if(!_0x57ee70['requires'])return _0x53265d['set'](_0x57ee70,!0x0),!0x0;const _0x11907c=_0x57ee70['requires']['every'](_0x27ff33=>ot(_0x27ff33,_0x53265d,_0x3eface,_0x19adaf));return _0x53265d['set'](_0x57ee70,_0x11907c),_0x11907c;}function Ct(_0xa1b4ed,_0x2c7a06){const _0x356eae={};for(const _0x142ab5 of _0xa1b4ed['config']['names']())nt['includes'](_0x142ab5)||(_0x356eae[_0x142ab5]=_0xa1b4ed['config']['get'](_0x142ab5));const _0x194ae3=_0x356eae['plugins']||[],_0x56e20a=_0xa1b4ed['constructor']['builtinPlugins']||[],_0xb36772=_0x194ae3['length']?_0x194ae3:_0x56e20a,_0x5a0bb3=_0x356eae['extraPlugins']||[];delete _0x356eae['extraPlugins'];const _0x8db7aa=_0x356eae['removePlugins']||[];delete _0x356eae['removePlugins'];const _0xfb20a8=_0xa1b4ed['_context']['config']['get']('plugins')||[],_0x588b1f=_0xb36772['concat'](_0x5a0bb3)['concat'](_0xfb20a8)['map'](_0x478631=>'string'==typeof _0x478631?_0x56e20a['find'](_0x7c6a27=>_0x7c6a27['pluginName']==_0x478631):_0x478631)['filter'](_0x142fcc=>!_0x8db7aa['includes'](_0x142fcc)&&!_0x8db7aa['includes'](_0x142fcc['pluginName'])),_0x53d434=Array['from'](new Set(_0x588b1f)),_0x4d531c=new Map();return _0x356eae['plugins']=_0x53d434['filter'](_0x411775=>ot(_0x411775,_0x4d531c,_0xa1b4ed['plugins'],_0x2c7a06)),_0x356eae;}function _t(_0x19649a,_0x106c09){const _0x56c63e=[];_0x19649a['document']['selection']['on']('change:range',()=>{const _0x2f9a80=function(_0x5e0bae,_0x51caf8){const _0x75f663=[];for(const _0x128035 of _0x5e0bae['markers']){const _0xf45abd=_0x128035['getRange']();(_0xf45abd['containsPosition'](_0x51caf8)||_0xf45abd['start']['isEqual'](_0x51caf8)||_0xf45abd['end']['isEqual'](_0x51caf8))&&_0x75f663['push'](_0x128035);}return _0x75f663;}(_0x19649a,_0x19649a['document']['selection']['focus']),_0x52de9e=[],_0x4a63b2=[],_0x20dcf8=[];for(const _0x111860 of _0x56c63e)_0x2f9a80['includes'](_0x111860)||_0x52de9e['push'](_0x111860);for(const _0x5c3a0b of _0x2f9a80)_0x56c63e['includes'](_0x5c3a0b)||_0x4a63b2['push'](_0x5c3a0b),_0x20dcf8['push'](_0x5c3a0b);(_0x52de9e['length']||_0x4a63b2['length'])&&_0x106c09({'left':_0x52de9e,'entered':_0x4a63b2}),_0x56c63e['length']=0x0,_0x56c63e['push'](..._0x20dcf8);});}const xt='Ctrl+Shift+E';function It(_0xba86c8,_0x535827){const _0x1a1695=_0xba86c8['element'];_0xba86c8['keystrokes']['listenTo'](_0x1a1695);for(const _0x574b8f of _0x535827)ro(_0xba86c8,_0x574b8f);_0x535827['on']('change',(_0xbb948e,_0x2eb344)=>{for(const _0x176420 of _0x2eb344['removed'])to(_0xba86c8,_0x176420);for(const _0x247799 of Array['from'](_0x2eb344['added'])['reverse']())ro(_0xba86c8,_0x247799);}),_0xba86c8['keystrokes']['set']('enter',(_0x5a9cec,_0xcdf436)=>{_0x1a1695===_0x5a9cec['target']&&(_0xba86c8['focusCycler']['focusFirst'](),_0xcdf436());},{'filter':_0x6ead27=>_0x6ead27['target']===_0x1a1695}),_0xba86c8['keystrokes']['set']('esc',(_0x322cfd,_0x3e4058)=>{_0x1a1695!==_0x322cfd['target']?_0xba86c8['focus']():_0xba86c8['fire']('escape'),_0x3e4058();}),_0xba86c8['keystrokes']['set']('arrowdown',(_0x3f14a6,_0x3297f5)=>{_0x1a1695===_0x3f14a6['target']&&(_0xba86c8['fire']('arrowdown'),_0x3297f5());}),_0xba86c8['keystrokes']['set']('arrowup',(_0x44aa4b,_0x268354)=>{_0x1a1695===_0x44aa4b['target']&&(_0xba86c8['fire']('arrowup'),_0x268354());});}function ro(_0x15540a,_0x544d63){_0x544d63['isRendered']&&(_0x15540a['focusTracker']['add'](_0x544d63['element']),_0x15540a['keystrokes']['listenTo'](_0x544d63['element']),_0x2e35be(_0x544d63)&&function(_0x226f0,_0x488b15){const _0x51b151=_0x226f0['actions'],_0x98ca29=_0x488b15['actions'];for(const _0x3dc3f9 of Object['keys'](_0x51b151))if(_0x3dc3f9 in _0x98ca29&&_0x51b151[_0x3dc3f9]!==_0x98ca29[_0x3dc3f9])return!0x1;return!0x0;}(_0x15540a['focusCycler'],_0x544d63['focusCycler'])&&_0x15540a['focusCycler']['chain'](_0x544d63['focusCycler']));}function to(_0x4c14f2,_0x1aecff){_0x4c14f2['focusTracker']['remove'](_0x1aecff['element']),_0x4c14f2['keystrokes']['stopListening'](_0x1aecff['element']),_0x2e35be(_0x1aecff)&&_0x4c14f2['focusCycler']['unchain'](_0x1aecff['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x503c27{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x220e61?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x153e7f,_0x5b2a66)=>{_0x5b2a66['on']('ready',()=>{this['_integrateEditor'](_0x5b2a66);});});}get['editor'](){if(this['context']instanceof _0x220e61)return this['context'];{const _0x45c486=this['context']['editors']['first'];if(!_0x45c486)throw new _0x5e43ee('documentcompare-no-editor',this);return _0x45c486;}}['getDiff'](_0x1cefdb,_0x28b5a3,_0x2f3ddc={'anchor':'main','markDeletions':!0x1}){let _0x4131f8,_0x3ba38b;const _0x5aa8be=this['editor'];if('string'==typeof _0x2f3ddc['anchor']){const _0x5436af=_0x5aa8be['model']['document']['getRoot'](_0x2f3ddc['anchor']);if(!_0x5436af)throw new _0x5e43ee('documentcompare-compare-no-root',this,{'anchor':_0x2f3ddc['anchor']});_0x4131f8=_0x5436af,_0x3ba38b=_0x5aa8be['model']['createPositionAt'](_0x5436af,0x0);}else _0x4131f8=_0x2f3ddc['anchor']['clone'](),_0x3ba38b=_0x2f3ddc['anchor']['clone']();const _0x195f3a=_0x5aa8be['data']['parse'](_0x1cefdb,_0x4131f8),_0x3a42d4=_0x5aa8be['data']['parse'](_0x28b5a3,_0x4131f8);return new Mt(_0x195f3a,_0x3a42d4,_0x5aa8be,{'anchor':_0x3ba38b,'markDeletions':_0x2f3ddc['markDeletions']});}['isMarkedRemoveOperation'](_0x214b37){return'marker'==_0x214b37['type']&&_0x214b37['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x2ac980){_0x2ac980['conversion']['for']('upcast')['add'](_0xef0362=>{_0xef0362['on']('element',(_0x49b683,_0x1b1926,_0x138c1a)=>{if(_0x1b1926['modelRange'])for(const _0x5123e3 of _0x1b1926['modelRange']['getItems']({'shallow':!0x0})){if(_0x5123e3['is']('$textProxy'))continue;const _0x1015eb=_0x1b1926['viewItem']['getAttribute'](Et);_0x1015eb&&_0x138c1a['writer']['setAttribute'](St,_0x1015eb,_0x5123e3);}},{'priority':'lowest'});}),_0x2ac980['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x3194c5,_0x223524,_0x54b412,_0x5020db){this['_editor']=_0x54b412,this['_markDeletions']=!!_0x5020db['markDeletions'],this['_anchor']=_0x5020db['anchor'];const _0x31c604=this['_tokenizeModel'](_0x3194c5),_0x4939da=this['_tokenizeModel'](_0x223524);this['_diffItems']=this['_diffModelTokens'](_0x31c604,_0x4939da),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x3194c5['markers'],_0x223524['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x1b27e3=this['_editor']['model']['document'],_0x461100=[];let _0x39ba72=_0x1b27e3['version'];for(const _0x2fb903 of this['_operationsData'])switch(_0x2fb903['type']){case'attribute':{const _0x146ef1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['path']),_0x4b6e63=_0x146ef1['getShiftedBy'](_0x2fb903['howMany']),_0x4fe339=new _0x2ece87(_0x146ef1,_0x4b6e63),_0x2d3415=JSON['parse'](_0x2fb903['oldValue']),_0x29c55a=JSON['parse'](_0x2fb903['newValue']);_0x461100['push'](new _0x1d0e28(_0x4fe339,_0x2fb903['key'],_0x2d3415,_0x29c55a,_0x39ba72++));break;}case'insert':{const _0x5ae831=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['path']),_0x2a91fd=this['_makeModelFromTokens'](_0x2fb903['tokens']);_0x461100['push'](new _0x1e67d8(_0x5ae831,_0x2a91fd,_0x39ba72++));break;}case'remove':{const _0x12f672=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['path']),_0x193e5c=new _0x38ac5c(_0x1b27e3['graveyard'],[0x0]);_0x461100['push'](new _0x1d1d8d(_0x12f672,_0x2fb903['howMany'],_0x193e5c,_0x39ba72++));break;}case'rename':{const _0x42d407=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['path']);_0x461100['push'](new _0x4ebc8a(_0x42d407,_0x2fb903['oldName'],_0x2fb903['newName'],_0x39ba72++));break;}case'split':{const _0x132875=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['path']),_0xd738b1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['path']['slice'](0x0,-0x1));_0xd738b1['offset']++,_0x461100['push'](new _0x3e5e7d(_0x132875,Number['NEGATIVE_INFINITY'],_0xd738b1,null,_0x39ba72++));break;}case'merge':{const _0x3ede8a=_0x2fb903['path']['slice'](),_0x224689=_0x3ede8a['slice'](0x0,-0x1);_0x224689[_0x224689['length']-0x1]++,_0x224689['push'](0x0);const _0x3ccce2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224689),_0x127a91=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ede8a),_0x47b3a4=new _0x38ac5c(_0x1b27e3['graveyard'],[0x0]);_0x461100['push'](new _0x1fa071(_0x3ccce2,Number['NEGATIVE_INFINITY'],_0x127a91,_0x47b3a4,_0x39ba72++));break;}case'marker':case'markedRemove':{let _0x2d74ea=null;if(_0x2fb903['range']){const _0x41db09=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['range']['start']),_0x519374=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['range']['end']);_0x2d74ea=new _0x2ece87(_0x41db09,_0x519374);}const _0x482c85='marker'==_0x2fb903['type']?_0x2fb903['name']:'$markedRemove:'+_0x59988c();_0x461100['push'](new _0x1fa860(_0x482c85,null,_0x2d74ea,_0x1b27e3['model']['markers'],!0x0,_0x39ba72++));break;}case'unwrap':{const _0x5d2dbc=_0x2fb903['path']['slice']();_0x5d2dbc['push'](0x0);const _0x33a43d=_0x2fb903['path']['slice'](),_0x117bf8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5d2dbc),_0xf209b9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x33a43d),_0x35b3d4=new _0x38ac5c(_0x1b27e3['graveyard'],[0x0]);_0x461100['push'](new _0x1d1d8d(_0x117bf8,_0x2fb903['howMany'],_0xf209b9,_0x39ba72++)),_0x461100['push'](new _0x1d1d8d(_0xf209b9['getShiftedBy'](_0x2fb903['howMany']),0x1,_0x35b3d4,_0x39ba72++));break;}case'wrap':{const _0x4f7c01=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['range']['start']),_0x95e4e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2fb903['range']['end']),_0x58a68d=_0x2fb903['token']['element']['_clone'](!0x1),_0x46b26e=_0x2fb903['range']['end']['slice']();_0x46b26e['push'](0x0);const _0x102f5b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x46b26e);_0x461100['push'](new _0x1e67d8(_0x95e4e2,_0x58a68d,_0x39ba72++)),_0x461100['push'](new _0x1d1d8d(_0x4f7c01,_0x95e4e2['offset']-_0x4f7c01['offset'],_0x102f5b,_0x39ba72++));break;}}return _0x461100;}['_tokenizeModel'](_0x22e9c3){const _0x5e8d00=[],_0x5dc52d=_0x2ece87['_createIn'](_0x22e9c3),_0x59be77=new _0x5d0b0b({'boundaries':_0x5dc52d});let _0xf379c5='',_0x2d3740=null;const _0x346df2=[''],_0x1b58a1=new Map();for(const _0x1cdb2d of _0x59be77)if('elementStart'==_0x1cdb2d['type']||'elementEnd'==_0x1cdb2d['type']){let _0x302c64=_0x346df2[0x0];''!==_0xf379c5&&(_0x5e8d00['push'](...this['_makeTokensFromTextByWords'](_0xf379c5,_0x2d3740,_0x302c64)),_0xf379c5='');const _0xa61a19=_0x1cdb2d['item'];let _0x1f0e10;_0xa61a19['getAttribute'](St)?_0x1f0e10=_0xa61a19['getAttribute'](St):'elementStart'==_0x1cdb2d['type']?(_0x1f0e10=_(_0xa61a19),_0x1b58a1['set'](_0xa61a19,_0x1f0e10)):_0x1f0e10=_0x1b58a1['get'](_0xa61a19);const _0x55fc52=this['_getElementCategory'](_0xa61a19);'solid'==_0x55fc52&&('elementStart'==_0x1cdb2d['type']?(_0x302c64=_0x1f0e10,_0x346df2['unshift'](_0x302c64)):_0x346df2['shift']());const _0x194c2c={'type':'element','element':_0xa61a19,'elementId':_0x1f0e10,'category':_0x55fc52,'isStart':'elementStart'==_0x1cdb2d['type'],'limitId':_0x302c64};_0x5e8d00['push'](_0x194c2c);}else''==_0xf379c5&&(_0x2d3740=_0x1cdb2d['previousPosition']['clone']()),_0xf379c5+=_0x1cdb2d['item']['data'];return''!==_0xf379c5&&_0x5e8d00['push'](...this['_makeTokensFromTextByWords'](_0xf379c5,_0x2d3740,_0x346df2[0x0])),_0x5e8d00;}['_makeTokensFromTextByWords'](_0x3351f5,_0x1335eb,_0x37025c){const _0x379579=_0x3351f5['matchAll'](/(\s)/g),_0x575e5b=Array['from'](_0x379579)['map'](_0x127741=>_0x127741['index']);_0x575e5b['push'](_0x3351f5['length']),0x0==_0x575e5b[0x0]&&_0x575e5b['shift']();const _0x30f889=[],_0x4392d2=_0x1335eb['parent'];let _0x5ddb46=0x0,_0x54bdd4=_0x1335eb['offset'];for(let _0x4249e4=0x0;_0x4249e4<_0x575e5b['length'];_0x4249e4++)_0x30f889['push']({'type':'text','data':_0x3351f5['slice'](_0x5ddb46,_0x575e5b[_0x4249e4]),'parent':_0x4392d2,'offset':_0x54bdd4,'limitId':_0x37025c}),_0x5ddb46=_0x575e5b[_0x4249e4],_0x54bdd4=_0x1335eb['offset']+_0x575e5b[_0x4249e4];return _0x30f889;}['_getElementCategory'](_0x4e262e){const _0x3fcd31=this['_editor']['model']['schema'];return _0x3fcd31['isLimit'](_0x4e262e)||_0x3fcd31['isContent'](_0x4e262e)||_0x3fcd31['isInline'](_0x4e262e)?'solid':_0x3fcd31['isBlock'](_0x4e262e)?'block':'container';}['_diffModelTokens'](_0x3dea21,_0x2c9b4b){const _0x30aead=_0x3399c5(_0x3dea21,_0x2c9b4b,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x30aead);const _0x3e2c14=_0x30aead['flatMap'](_0x3ac820=>{const _0x292f33=_0x3ac820['added']?'added':_0x3ac820['removed']?'removed':'unchanged';return _0x3ac820['value']['map'](_0x322a0c=>({'token':_0x322a0c,'change':_0x292f33}));});let _0x5cfd01=0x0;for(const _0x51b01e of _0x3e2c14)'added'!=_0x51b01e['change']&&('unchanged'==_0x51b01e['change']&&(_0x51b01e['before']=_0x3dea21[_0x5cfd01]),_0x5cfd01++);return _0x3e2c14;}['_handleUnclosedBlockOpeningTags'](_0x13964e){for(let _0x398dbd=0x0;_0x398dbd<_0x13964e['length']-0x1;_0x398dbd++)if(_0x13964e[_0x398dbd]['removed']&&_0x13964e[_0x398dbd+0x1]['added']){const _0x299b48=this['_findUnclosedBlockOpeningToken'](_0x13964e[_0x398dbd]['value']);if(null!==_0x299b48){const _0x86a3f5=this['_findUnclosedBlockOpeningToken'](_0x13964e[_0x398dbd+0x1]['value']),_0xfef0a0=_0x13964e[_0x398dbd]['value']['splice'](_0x299b48),_0x19c4f3=_0x13964e[_0x398dbd+0x1]['value']['splice'](_0x86a3f5),_0x3b2025=[_0x19c4f3['shift']()];_0xfef0a0['shift']();const _0x5785f4={'value':_0xfef0a0,'removed':!0x0},_0x15d6e0={'value':_0x19c4f3,'added':!0x0},_0x597c03={'value':_0x3b2025};_0x13964e['splice'](_0x398dbd+0x2,0x0,_0x597c03,_0x5785f4,_0x15d6e0);}}}['_findUnclosedBlockOpeningToken'](_0xbfdb4c){let _0x3b3904=0x0,_0x3eca78=-0x1;for(let _0x375434=0x0;_0x375434<_0xbfdb4c['length'];_0x375434++){const _0x41d963=_0xbfdb4c[_0x375434];'element'==_0x41d963['type']&&'block'==_0x41d963['category']&&(_0x3b3904+=_0x41d963['isStart']?0x1:-0x1,_0x41d963['isStart']&&(_0x3eca78=_0x375434));}return 0x0===_0x3b3904?null:_0x3eca78;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x399eef=0x0;_0x399eef<this['_diffItems']['length'];_0x399eef++){const _0x3b1ca5=this['_diffItems'][_0x399eef]['change'],_0x2a3cbe=[];_0x2a3cbe['push'](this['_diffItems'][_0x399eef]);let _0x2f7e2c=_0x399eef+0x1;for(;this['_diffItems'][_0x2f7e2c]&&this['_diffItems'][_0x2f7e2c]['change']==_0x3b1ca5;)_0x2a3cbe['push'](this['_diffItems'][_0x2f7e2c]),_0x2f7e2c++,_0x399eef++;const _0x44fb2a=_0x2a3cbe['map'](_0x5cec0c=>_0x5cec0c['token']);if('unchanged'==_0x3b1ca5)_0x2a3cbe['map'](_0x4d7a9e=>_0x4d7a9e['before'])['forEach'](_0xa6485e=>this['_traverseOverItem'](_0xa6485e));else{if('removed'==_0x3b1ca5){if(this['_markDeletions']){const _0xbf3d89=this['_path']['slice']();_0x44fb2a['forEach'](_0x2b5450=>this['_traverseOverItem'](_0x2b5450));const _0x2ddf38=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0xbf3d89,'end':_0x2ddf38}});}else this['_handleChanged'](_0x44fb2a,!0x0,this['_path']['slice']());}else{const _0x438869=_0x44fb2a['filter'](_0x1b3c2a=>'element'!=_0x1b3c2a['type']||'container'!=_0x1b3c2a['category']);this['_handleChanged'](_0x438869,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x429d13=0x0;_0x429d13<this['_diffItems']['length'];_0x429d13++){const _0x4b9693=this['_diffItems'][_0x429d13]['change'],_0x292fb2=[];_0x292fb2['push'](this['_diffItems'][_0x429d13]);let _0x2f035e=_0x429d13+0x1;for(;this['_diffItems'][_0x2f035e]&&this['_diffItems'][_0x2f035e]['change']==_0x4b9693;)_0x292fb2['push'](this['_diffItems'][_0x2f035e]),_0x2f035e++,_0x429d13++;const _0x956fff=_0x292fb2['map'](_0x41cc8b=>_0x41cc8b['token']);if('unchanged'==_0x4b9693){const _0x21b02a=_0x292fb2['map'](_0x3b6fd7=>_0x3b6fd7['before']);this['_handleUnchanged'](_0x21b02a,_0x956fff);}else('removed'!=_0x4b9693||this['_markDeletions'])&&_0x956fff['forEach'](_0x3a340b=>{this['_traverseOverItem'](_0x3a340b);});}}['_calculateMarkersOperationsData'](_0xfc69a2,_0x3f7982){const _0x29bbad={};for(const [_0x48255c]of _0xfc69a2)_0x29bbad[_0x48255c]=null;for(const [_0x462cfc,_0x4c5454]of _0x3f7982)_0x29bbad[_0x462cfc]=_0x4c5454;const _0x1f2d8c=Object['entries'](_0x29bbad)['map'](([_0x1cbcc4,_0x5eccb4])=>({'type':'marker','name':_0x1cbcc4,'range':_0x5eccb4?{'start':_0x5eccb4['start']['path']['slice'](),'end':_0x5eccb4['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x1f2d8c);}['_handleUnwraps'](){const _0x253c5f=new Map(),_0x36d075=[],_0x4254ae=[0x0];let _0x5250c1=this['_diffItems']['length']+0x1;for(let _0x313a01=this['_diffItems']['length']-0x1;_0x313a01>=0x0;_0x313a01--){const {token:_0x3a4fd7,before:_0x37bf11,change:_0x31c4d1}=this['_diffItems'][_0x313a01];if('removed'!=_0x31c4d1&&(_0x5250c1=_0x313a01),'element'!=_0x3a4fd7['type']||'container'!=_0x3a4fd7['category']||'added'==_0x31c4d1)continue;const _0x38d213=_0x37bf11?_0x37bf11['element']:_0x3a4fd7['element'];if(_0x3a4fd7['isStart']){const _0x128986=_0x253c5f['get'](_0x38d213),_0x2dbaf8=this['_diffItems'][_0x128986];('removed'==_0x31c4d1||'removed'==_0x2dbaf8['change'])&&_0x5250c1<_0x128986&&(this['_operationsData']['push']({'type':'unwrap','path':_0x38d213['getPath'](),'howMany':_0x38d213['maxOffset']+_0x4254ae[0x0]}),_0x4254ae['shift'](),_0x4254ae[0x0]+=_0x38d213['maxOffset']-0x1,_0x36d075['push'](_0x313a01),_0x36d075['push'](_0x128986));}else _0x253c5f['set'](_0x38d213,_0x313a01),_0x4254ae['unshift'](0x0);}_0x36d075['sort']((_0x170467,_0x4c4a9e)=>_0x4c4a9e-_0x170467),_0x36d075['forEach'](_0x41ad02=>{const _0x4a630f=this['_diffItems'][_0x41ad02];'removed'==_0x4a630f['change']?this['_diffItems']['splice'](_0x41ad02,0x1):(_0x4a630f['change']='added',delete _0x4a630f['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x5166ac=[];for(let _0x575e68=0x0;_0x575e68<this['_diffItems']['length'];_0x575e68++){const {change:_0xb56f55,token:_0x5e13cd}=this['_diffItems'][_0x575e68];if('added'==_0xb56f55&&'element'==_0x5e13cd['type']&&'container'==_0x5e13cd['category']){if(_0x5e13cd['isStart'])_0x5166ac['push'](this['_path']['slice']());else{if(!_0x5e13cd['isStart']){const _0x33f0a3=_0x5166ac['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x33f0a3,'end':this['_path']['slice']()},'token':_0x5e13cd}),this['_path'][this['_path']['length']-0x1]=_0x33f0a3[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0xb56f55||this['_markDeletions'])&&this['_traverseOverItem'](_0x5e13cd);}}['_handleUnchanged'](_0x5e4790,_0x4535c8){for(let _0x30764a=0x0;_0x30764a<_0x5e4790['length'];_0x30764a++){const _0x14b319=_0x5e4790[_0x30764a];if('element'==_0x14b319['type']&&_0x14b319['isStart']){const _0x11239b=_0x4535c8[_0x30764a];'block'==_0x14b319['category']&&this['_handleElementRename'](_0x14b319['element'],_0x11239b['element'],this['_path']),this['_handleElementAttributeChanges'](_0x14b319['element'],_0x11239b['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x11239b);}else{if('element'!=_0x14b319['type']||_0x14b319['isStart']){if('text'==_0x14b319['type']){const _0x210587=this['_path']['slice'](),_0x30400e=[],_0x2ba4ec=[];for(;_0x5e4790[_0x30764a]&&'text'==_0x5e4790[_0x30764a]['type'];)_0x30400e['push'](_0x5e4790[_0x30764a]),_0x2ba4ec['push'](_0x4535c8[_0x30764a]),this['_path'][this['_path']['length']-0x1]+=_0x5e4790[_0x30764a]['data']['length'],_0x30764a++;_0x30764a--,this['_handleTextAttributeChanges'](_0x30400e,_0x2ba4ec,_0x210587);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x5db58c,_0x3ea376,_0x549c82){const _0x2e48e2=[],_0x10253c=[],_0x4d9cdf=_0x549c82['slice']();for(let _0x198d6e=0x0;_0x198d6e<_0x5db58c['length'];_0x198d6e++){const _0x1c5ad6=_0x5db58c[_0x198d6e],_0x445ec8=_0x549c82['slice']();if('element'!=_0x1c5ad6['type']||_0x1c5ad6['isStart'])'element'==_0x1c5ad6['type']&&_0x1c5ad6['isStart']?(_0x549c82['push'](0x0),_0x3ea376||this['_parents']['push'](_0x1c5ad6),_0x10253c['push']({'before':_0x445ec8,'after':_0x549c82['slice'](),'index':_0x198d6e})):_0x549c82[_0x549c82['length']-0x1]+=_0x1c5ad6['data']['length'];else{let _0x56395a;_0x549c82['pop'](),_0x549c82[_0x549c82['length']-0x1]++,_0x56395a=_0x3ea376?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x10253c['length']?_0x10253c['pop']():_0x2e48e2['push']({'before':_0x445ec8,'after':_0x549c82['slice'](),'index':_0x198d6e,'related':_0x56395a});}}if(_0x10253c['length']!==_0x2e48e2['length'])throw new _0x5e43ee('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x5db58c,'isRemove':_0x3ea376});const _0x28ea10=[{'after':_0x4d9cdf['slice'](),'index':-0x1},..._0x2e48e2,..._0x10253c,{'before':_0x549c82['slice'](),'index':_0x5db58c['length']}];if(_0x3ea376){for(let _0x48719c=_0x28ea10['length']-0x1;_0x48719c>=0x1;_0x48719c--){const _0x4242cf=_0x28ea10[_0x48719c-0x1]['after'],_0x344fd9=_0x28ea10[_0x48719c]['before'],_0x28af20=_0x344fd9[_0x344fd9['length']-0x1]-_0x4242cf[_0x4242cf['length']-0x1];_0x28af20&&(this['_operationsData']['push']({'type':'remove','path':_0x4242cf,'howMany':_0x28af20}),_0x344fd9[_0x344fd9['length']-0x1]-=_0x28af20);}for(const {before:_0x2a9250}of _0x2e48e2)this['_operationsData']['push']({'type':'merge','path':_0x2a9250});}else for(let _0x3693de=0x0;_0x3693de<_0x28ea10['length']-0x1;_0x3693de++){const _0xe87442=_0x28ea10[_0x3693de]['after'],_0xb6f7c8=_0x28ea10[_0x3693de+0x1]['before'],_0x466e30=_0x28ea10[_0x3693de]['index']+0x1,_0x230d48=_0x28ea10[_0x3693de+0x1]['index'];if(_0x466e30!==_0x230d48&&this['_operationsData']['push']({'type':'insert','path':_0xe87442,'tokens':_0x5db58c['slice'](_0x466e30,_0x230d48)}),_0x3693de<_0x2e48e2['length']){this['_operationsData']['push']({'type':'split','path':_0xb6f7c8});const _0x25acac=_0x5db58c[_0x10253c[_0x10253c['length']-0x1-_0x3693de]['index']],_0x165ff2=_0x2e48e2[_0x3693de]['after'],_0x5850bb=_0x2e48e2[_0x3693de]['related']['element'];this['_handleElementRename'](_0x5850bb,_0x25acac['element'],_0x165ff2),this['_handleElementAttributeChanges'](_0x5850bb,_0x25acac['element'],_0x165ff2);}}}['_traverseOverItem'](_0x4aa7e3){'element'==_0x4aa7e3['type']&&_0x4aa7e3['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4aa7e3)):'element'!=_0x4aa7e3['type']||_0x4aa7e3['isStart']?'text'==_0x4aa7e3['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4aa7e3['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x436126,_0x5ce462,_0x4f81fa){_0x436126['name']!=_0x5ce462['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4f81fa['slice'](),'oldName':_0x436126['name'],'newName':_0x5ce462['name']});}['_handleElementAttributeChanges'](_0x181822,_0xcf2caf,_0x3f4c5e){const _0xe0d775=this['_getAttributeChanges'](_0x181822['getAttributes'](),_0xcf2caf['getAttributes']());for(const _0x266040 in _0xe0d775){const {oldValue:_0x13b69f,newValue:_0xb28907}=_0xe0d775[_0x266040];this['_operationsData']['push']({'type':'attribute','path':_0x3f4c5e['slice'](),'howMany':0x1,'key':_0x266040,'oldValue':_0x13b69f,'newValue':_0xb28907});}}['_handleTextAttributeChanges'](_0x2056ee,_0x585e99,_0xde7867){const _0x428f1d=this['_operationsData'],_0x164373=_0x2056ee[0x0]['parent'],_0x1e8217=_0x2056ee[0x0]['offset'],_0x4ca45d=_0x585e99[0x0]['parent'],_0x593ed4=_0x585e99[0x0]['offset'],_0x2419ea=_0x2056ee['reduce']((_0x36676e,_0x6ad430)=>_0x36676e+_0x6ad430['data']['length'],0x0),_0x4bb4fc=this['_getAttrsForOffsets'](_0x164373,_0x1e8217,_0x2419ea),_0x21a5ff=this['_getAttrsForOffsets'](_0x4ca45d,_0x593ed4,_0x2419ea),_0x471180={};for(let _0x4cd04f=0x0;_0x4cd04f<_0x2419ea;_0x4cd04f++){const _0x33bc7e=_0x4bb4fc[_0x1e8217+_0x4cd04f],_0x1b65c6=_0x21a5ff[_0x593ed4+_0x4cd04f],_0x3258a2=this['_getAttributeChanges'](_0x33bc7e,_0x1b65c6);for(const _0x4872fd in _0x471180)_0x3258a2[_0x4872fd]||_0x209966(_0x4872fd);for(const _0x219b61 in _0x3258a2){const {oldValue:_0x326ea1,newValue:_0x2a4050}=_0x3258a2[_0x219b61],_0x15ad14=_0x471180[_0x219b61];_0x15ad14?_0x15ad14['oldValue']==_0x326ea1&&_0x15ad14['newValue']==_0x2a4050?_0x15ad14['length']++:(_0x209966(_0x219b61),_0x471180[_0x219b61]={'oldValue':_0x326ea1,'newValue':_0x2a4050,'start':_0x4cd04f,'length':0x1}):_0x471180[_0x219b61]={'oldValue':_0x326ea1,'newValue':_0x2a4050,'start':_0x4cd04f,'length':0x1};}}for(const _0x1d7d5f in _0x471180)_0x209966(_0x1d7d5f);function _0x209966(_0x29152a){const _0x519282=_0x471180[_0x29152a],_0x445720=_0xde7867['slice']();_0x445720[_0x445720['length']-0x1]+=_0x519282['start'],_0x428f1d['push']({'type':'attribute','path':_0x445720,'howMany':_0x519282['length'],'key':_0x29152a,'oldValue':_0x519282['oldValue'],'newValue':_0x519282['newValue']}),delete _0x471180[_0x29152a];}}['_getAttributeChanges'](_0x341639,_0x48c7d9){const _0x7ed4ca={};for(const [_0x56ccbf,_0x1ba448]of _0x341639)_0x7ed4ca[_0x56ccbf]={'oldValue':JSON['stringify'](_0x1ba448),'newValue':'null'};for(const [_0x3f9a43,_0x4d3aa7]of _0x48c7d9){const _0x4038aa=JSON['stringify'](_0x4d3aa7);_0x7ed4ca[_0x3f9a43]?_0x7ed4ca[_0x3f9a43]['oldValue']==_0x4038aa?delete _0x7ed4ca[_0x3f9a43]:_0x7ed4ca[_0x3f9a43]['newValue']=_0x4038aa:_0x7ed4ca[_0x3f9a43]={'oldValue':'null','newValue':_0x4038aa};}return delete _0x7ed4ca[St],_0x7ed4ca;}['_getAttrsForOffsets'](_0x20de32,_0x1c4a56,_0x1495b3){const _0x52be30=new Array(_0x1c4a56+_0x1495b3);let _0x1a0b2f=_0x20de32['getChildAtOffset'](_0x1c4a56),_0x47f1c6=_0x1a0b2f['startOffset'];for(;_0x1a0b2f&&_0x47f1c6<_0x1c4a56+_0x1495b3;){const _0x48e26e=Array['from'](_0x1a0b2f['getAttributes']());_0x52be30['fill'](_0x48e26e,_0x47f1c6,_0x47f1c6+_0x1a0b2f['offsetSize']),_0x47f1c6+=_0x1a0b2f['offsetSize'],_0x1a0b2f=_0x1a0b2f['nextSibling'];}return _0x52be30;}['_getPositionFromAnchorAndPath'](_0xe8a5ab,_0x327e80){const _0x3a0622=[..._0xe8a5ab['path']['slice'](0x0,-0x1),_0xe8a5ab['offset']+_0x327e80[0x0],..._0x327e80['slice'](0x1)];return new _0x38ac5c(_0xe8a5ab['root'],_0x3a0622);}['_makeModelFromTokens'](_0x508772){const _0x4125d2=[];let _0x177e27=null;for(const _0xc690 of _0x508772)if('element'!=_0xc690['type']||_0xc690['isStart']||_0x177e27!=_0xc690['element']){if(!_0x177e27){if('text'==_0xc690['type']){const _0x97267c=_0x38ac5c['_createAt'](_0xc690['parent'],_0xc690['offset']),_0x5263fb=_0x2ece87['_createFromPositionAndShift'](_0x97267c,_0xc690['data']['length']),_0x36d327=Array['from'](_0x5263fb['getItems']())['map'](_0xb5f025=>new _0x559acd(_0xb5f025['data'],_0xb5f025['getAttributes']()));_0x4125d2['push'](..._0x36d327);}else{_0x177e27=_0xc690['element'];const _0x37f355=_0xc690['element']['_clone'](!0x0);_0x37f355['_removeAttribute'](St);for(const _0x4aa2aa of this['_editor']['model']['createRangeIn'](_0x37f355)['getItems']())_0x4aa2aa['is']('element')&&_0x4aa2aa['_removeAttribute'](St);_0x4125d2['push'](_0x37f355);}}}else _0x177e27=null;return _0x4125d2;}}function g(_0x55703e,_0x1e63d2){return _0x55703e['type']===_0x1e63d2['type']&&(_0x55703e['limitId']===_0x1e63d2['limitId']&&('text'==_0x55703e['type']?_0x55703e['data']==_0x1e63d2['data']:function(_0x3450c6,_0x57dc0a){if(_0x3450c6['isStart']!=_0x57dc0a['isStart'])return!0x1;if(_0x3450c6['isStart']&&_0x3450c6['elementId']!=_0x57dc0a['elementId'])return!0x1;if(_0x3450c6['category']!=_0x57dc0a['category'])return!0x1;if('block'==_0x3450c6['category'])return!0x0;if('container'==_0x3450c6['category']&&_0x3450c6['elementId']!=_0x57dc0a['elementId'])return!0x1;return _0x3450c6['element']['name']==_0x57dc0a['element']['name'];}(_0x55703e,_0x1e63d2)));}function _(_0x2c034b){return k({'name':_0x2c034b['name'],...Object['fromEntries'](_0x2c034b['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,xt as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,at as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,It as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,_t as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x503307,Editor as _0x41c0c6,Plugin as _0x347708}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1c240d,Collection as _0x4199b9,uid as _0x91ff57,toArray as rt,first as _0x2f4701,FocusTracker as ts,KeystrokeHandler as _0x4a599c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x58e702,IconView as st,ButtonView as _0x161c6a,DropdownButtonView as _0x12de0f,FocusCycler as _0x3b4d5f,isViewWithFocusCycler as _0x4a9a17}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x25f249,IconCancel as _0x121464}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x41f8d9}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x522db3,MoveOperation as _0x373eba,ModelPosition as _0x13099c,ModelRange as _0x542a8e,MarkerOperation as _0x30b786,MergeOperation as _0x4d8adb,SplitOperation as _0x314125,RenameOperation as _0x4ac0cf,AttributeOperation as _0x28cff4,ModelTreeWalker as _0x52821d,ModelText as _0xf8eb20}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x2ecd06}from'diff';class C extends _0x503307{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x45ef8f,_0x1164fa){let _0x1fd9ca;if(_0x1164fa||(_0x1164fa=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x1164fa?_0x1fd9ca=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x1fd9ca=this['context']['editors']['find'](_0xf2005b=>_0xf2005b['config']['get']('collaboration.channelId')==_0x1164fa)),!_0x1fd9ca)throw new _0x1c240d('permissions-set-permissions-invalid-channel-id',null);const _0x3a4c52=_0x1fd9ca['plugins'],_0x26a50b=_0x3a4c52['has']('CommentsRepository')?_0x3a4c52['get']('CommentsRepository'):void 0x0,_0xa8a6aa=_0x3a4c52['has']('CommentsOnly')&&_0x3a4c52['get']('CommentsOnly'),_0x1f63b4=_0x45ef8f['includes']('document:write'),_0x328591=_0x45ef8f['includes']('comment:modify_all'),_0x1e85c8=_0x45ef8f['includes']('comment:admin'),_0x51e04d=_0x45ef8f['includes']('comment:write'),_0xb5587f=_0x51e04d||_0x1e85c8,_0x336ac2=_0xb5587f||_0x328591,_0x283849=_0x1f63b4||_0xb5587f;(_0xa8a6aa&&(_0xa8a6aa['isEnabled']=!_0x1f63b4&&_0x336ac2),_0x1fd9ca instanceof _0x41c0c6)&&(!(_0x1f63b4||_0x336ac2&&_0x26a50b)?_0x1fd9ca['enableReadOnlyMode']('no-permissions'):_0x1fd9ca['disableReadOnlyMode']('no-permissions'));if(_0x26a50b){_0x26a50b['setPermissions']({'admin':_0x1e85c8,'modifyAll':_0x328591,'write':_0x51e04d,'resolve':_0x283849},_0x1164fa);const _0x1fde37=_0x1fd9ca instanceof _0x41c0c6&&_0x1fd9ca['commands']['get']('addCommentThread');_0x1fde37&&(_0xb5587f?_0x1fde37['clearForceDisabled']('noPermissions'):_0x1fde37['forceDisabled']('noPermissions'));}}}function U(_0x3174c1,_0x4024ed){const t=_0x3174c1['t'];switch(_0x4024ed){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class ct extends _0x503307{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x5d691d){super(_0x5d691d),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x4199b9(),this['_locale']=_0x5d691d['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:_0x400ad6,name:_0x30f74a,..._0x3e57f8}){if(!_0x400ad6||'string'!=typeof _0x400ad6)throw new _0x1c240d('users-add-invalid-id');if(this['users']['has'](_0x400ad6))throw new _0x1c240d('users-add-duplicated-id',null,{'id':_0x400ad6});const _0x12eacf=this['context']['config']['get']('users.getInitialsCallback'),_0x1056ea={..._0x3e57f8,'id':_0x400ad6,'name':A(this['_locale'],_0x30f74a),'color':this['_getNextColor']()};_0x1056ea['name']=A(this['_locale'],_0x1056ea['name']);const _0x5f07c2=new lt(_0x1056ea,_0x12eacf);return this['users']['add'](_0x5f07c2),_0x5f07c2;}['getUser'](_0x42a6ae){return this['users']['get'](_0x42a6ae);}['useAnonymousUser'](){const _0x31b74e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x31b74e);}['defineMe'](_0x8aa421){if(this['_myId'])throw new _0x1c240d('users-me-already-defined',null);const _0x254bdb=this['getUser'](_0x8aa421);if(!_0x254bdb)throw new _0x1c240d('users-me-missing-user',null);this['_myId']=_0x8aa421,_0x254bdb['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x47e9e1=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x47e9e1&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x32f068=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x32f068,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x3089b8,_0x52afc6){this['id']=_0x3089b8['id'],this['color']=_0x3089b8['color'],this['name']=_0x3089b8['name'],this['initials']=_0x52afc6?_0x52afc6(this['name']):this['_computeInitials'](),this['avatar']=_0x3089b8['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x8b1576=this['name']['split']('\x20')['filter'](_0x134940=>/^[\p{Letter}]/u['test'](_0x134940));return 0x1===_0x8b1576['length']?this['_getInitial'](_0x8b1576[0x0]):0x0===_0x8b1576['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x8b1576[0x0])+this['_getInitial'](_0x8b1576[_0x8b1576['length']-0x1]);}['_getInitial'](_0xb69b14){return String['fromCodePoint'](_0xb69b14['codePointAt'](0x0))['toUpperCase']();}}function A(_0x1c0e3e,_0x5ef14c=''){return''==(_0x5ef14c=_0x5ef14c['trim']())?U(_0x1c0e3e,'Anonymous'):_0x5ef14c;}class ut{['_id'];constructor(_0x4306ff){this['_id']=_0x4306ff;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0x58e702{['name'];['notificationView'];constructor(_0x3056d6,_0x2fc7e4,_0x362aef){super(_0x3056d6),this['name']=_0x2fc7e4['name'],this['notificationView']=null;const _0x54997a=['ck','ck-user'],_0x4eb2e0=['ck','ck-user__img'];if(_0x2fc7e4['isAnonymous']&&_0x4eb2e0['push']('ck-user__anonymous'),!_0x2fc7e4['isAnonymous']&&_0x2fc7e4['isMe']&&_0x54997a['push']('ck-user_me'),_0x2fc7e4['avatar']&&_0x4eb2e0['push']('ck-user__avatar'),_0x362aef){const _0x1e7318=new st();_0x1e7318['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1e7318['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x362aef},'children':[_0x1e7318]};}const _0x2c7e2a=[{'tag':'div','attributes':{'class':_0x4eb2e0,'style':{'background-image':_0x2fc7e4['avatar']?'url(\x27'+_0x2fc7e4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2fc7e4['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x2fc7e4['name']},'children':[{'text':_0x2fc7e4['initials']}]}];this['notificationView']&&_0x2c7e2a['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x54997a,'data-user-id':_0x2fc7e4['id']},'children':_0x2c7e2a});}}class dt extends _0x58e702{['id'];constructor(_0x48e8dc,_0x4c5f69){super(_0x48e8dc),this['id']='ck-aria-description-'+_0x91ff57(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x4c5f69}]});}}class ft extends _0x161c6a{['render'](){super['render'](),re(this);}}class gt extends _0x12de0f{['render'](){super['render'](),re(this);}}function re(_0x535d7f){_0x535d7f['listenTo'](_0x535d7f['element'],'mousedown',(_0x97721,_0x83350c)=>{_0x83350c['stopPropagation'](),_0x83350c['preventDefault']();}),_0x535d7f['listenTo'](_0x535d7f['element'],'mouseup',()=>{_0x535d7f['element']['focus']();});}function v(_0x1f378e){const _0xedf95=_0x1f378e['split'](':');return{'group':_0xedf95[0x0],'type':_0xedf95[0x1],'subType':_0xedf95['length']>=0x5?_0xedf95[0x2]:null,'id':_0xedf95['length']<0x5?_0xedf95[0x2]:_0xedf95[0x3],'authorId':_0xedf95['length']<0x5?_0xedf95[0x3]:_0xedf95[0x4],'markerCount':0x6==_0xedf95['length']?_0xedf95[0x5]:null};}function mt(_0x57ecb5,_0x118bd9){const _0x1a2995=_0x57ecb5['end']['nodeBefore'];if(_0x1a2995&&_0x1a2995['is']('element')&&_0x118bd9['schema']['isBlock'](_0x1a2995)&&!_0x118bd9['schema']['isObject'](_0x1a2995)){const _0x775f8b=_0x118bd9['createPositionAt'](_0x1a2995,'end');return _0x118bd9['createRange'](_0x57ecb5['start'],_0x775f8b);}return _0x57ecb5;}class M extends _0x347708{['afterInit'](){const _0xcc123b=this['editor'];if(!_0xcc123b['plugins']['has']('AlignmentEditing'))return;_0xcc123b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x347708{['afterInit'](){const _0x213dcf=this['editor'],_0x16822c=_0x213dcf['plugins']['get']('SuggestionsConversion');for(const _0x37c051 of ii){if(!_0x213dcf['plugins']['has'](_0x37c051))continue;const _0x8b797=_0x37c051['slice'](0x0,-0x7)['toLowerCase']();_0x16822c['registerInlineAttribute'](_0x8b797);}}}class I extends _0x347708{['afterInit'](){const _0x1cc5e1=this['editor'],_0x3b50ef=_0x1cc5e1['plugins']['get']('SuggestionsConversion');_0x1cc5e1['plugins']['has']('BookmarkEditing')&&_0x3b50ef['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x347708{['afterInit'](){const _0xcb090f=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x3e3db0,commandName:_0x166a5a}of no)this['editor']['plugins']['has'](_0x3e3db0)&&_0xcb090f['registerInlineAttribute'](_0x166a5a);}}class T extends _0x347708{['afterInit'](){const _0x111aa4=this['editor'];if(!_0x111aa4['plugins']['has']('HighlightEditing'))return;_0x111aa4['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class E extends _0x347708{['afterInit'](){const _0x27e03d=this['editor'];if(!_0x27e03d['plugins']['has']('HtmlEmbed'))return;_0x27e03d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class S extends _0x347708{['afterInit'](){const _0x1641e1=this['editor'];if(!_0x1641e1['plugins']['has']('ImageEditing'))return;const _0x100eda=_0x1641e1['plugins']['get']('SuggestionsConversion');_0x100eda['registerBlockAttribute']('src'),_0x1641e1['plugins']['has']('ImageResize')&&_0x100eda['registerBlockAttribute']('resizedWidth'),_0x1641e1['plugins']['has']('ImageTextAlternativeEditing')&&_0x100eda['registerBlockAttribute']('alt'),_0x1641e1['plugins']['has']('PictureEditing')&&_0x100eda['registerBlockAttribute']('sources'),_0x1641e1['plugins']['has']('ImageSizeAttributes')&&(_0x100eda['registerBlockAttribute']('width'),_0x100eda['registerBlockAttribute']('height'));}}class $ extends _0x347708{['afterInit'](){const _0x964258=this['editor'],_0x132039=_0x964258['plugins']['get']('SuggestionsConversion');_0x964258['plugins']['has']('IndentBlock')&&_0x132039['registerBlockAttribute']('blockIndent');}}class x extends _0x347708{['afterInit'](){const _0x2ed779=this['editor'];if(!_0x2ed779['plugins']['has']('LineHeight'))return;_0x2ed779['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class H extends _0x347708{['afterInit'](){const _0x15d22d=this['editor'];if(!_0x15d22d['plugins']['has']('LinkEditing'))return;const _0x5487f5=_0x15d22d['plugins']['get']('SuggestionsConversion'),_0x1e07ab=_0x15d22d['commands']['get']('link');_0x5487f5['registerInlineAttribute']('linkHref');for(const _0x25fbe3 of _0x1e07ab['manualDecorators'])_0x5487f5['registerInlineAttribute'](_0x25fbe3['id']);}}class N extends _0x347708{['afterInit'](){const _0x2f4a00=this['editor'];if(!_0x2f4a00['plugins']['has']('ListEditing'))return;const _0xb404d9=_0x2f4a00['plugins']['get']('SuggestionsConversion'),_0x45cd58=_0x2f4a00['plugins']['has']('TodoListEditing');_0xb404d9['registerBlockAttribute']('listItemId'),_0xb404d9['registerBlockAttribute']('listType'),_0xb404d9['registerBlockAttribute']('listIndent'),_0x45cd58&&_0xb404d9['registerBlockAttribute']('todoListChecked');}}class P extends _0x347708{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x53bc30=this['editor']['config']['get']('list.properties'),_0x1a7bf5=this['editor']['plugins']['get']('SuggestionsConversion');_0x53bc30['styles']&&_0x1a7bf5['registerBlockAttribute']('listStyle'),_0x53bc30['reversed']&&_0x1a7bf5['registerBlockAttribute']('listReversed'),_0x53bc30['startIndex']&&_0x1a7bf5['registerBlockAttribute']('listStart');}}class K extends _0x347708{['afterInit'](){const _0x4a20d8=this['editor'],_0x4f1fb4=_0x4a20d8['plugins']['get']('SuggestionsConversion');_0x4a20d8['plugins']['has']('MultiLevelList')&&_0x4f1fb4['registerBlockAttribute']('listMarkerStyle');}}class q extends _0x347708{['afterInit'](){const _0x1d9b2b=this['editor'];if(!_0x1d9b2b['plugins']['has']('Style')||!_0x1d9b2b['plugins']['has']('DataSchema')||!_0x1d9b2b['config']['get']('style.definitions'))return;const _0x418429=_0x1d9b2b['plugins']['get']('SuggestionsConversion'),_0x161826=_0x1d9b2b['config']['get']('style.definitions'),_0x1f0144=_0x1d9b2b['plugins']['get']('GeneralHtmlSupport'),_0x218fd0=_0x1d9b2b['plugins']['get']('StyleUtils')['normalizeConfig'](_0x1d9b2b['plugins']['get']('DataSchema'),_0x161826),_0x425696=new Set();for(const _0x18e748 of _0x218fd0['block']){const _0x12a83c=_0x1f0144['getGhsAttributeNameForElement'](_0x18e748['element']);_0x425696['add'](_0x12a83c);}const _0x1e2912=new Set();for(const _0x3c7c84 of _0x218fd0['inline']){const _0x31b1e1=_0x1f0144['getGhsAttributeNameForElement'](_0x3c7c84['element']);_0x1e2912['add'](_0x31b1e1);for(const _0x37568b of _0x3c7c84['ghsAttributes'])_0x1e2912['add'](_0x37568b);}for(const _0x444ff5 of _0x425696)_0x418429['registerBlockAttribute'](_0x444ff5);for(const _0x2321ed of _0x1e2912)_0x418429['registerInlineAttribute'](_0x2321ed);}}class z extends _0x347708{['afterInit'](){const _0x2f39fe=this['editor'];if(!_0x2f39fe['plugins']['has']('TableEditing'))return;const _0x1a7b7f=_0x2f39fe['plugins']['get']('SuggestionsConversion');_0x1a7b7f['registerBlockAttribute']('headingRows'),_0x1a7b7f['registerBlockAttribute']('headingColumns');}}class O extends _0x347708{['afterInit'](){const _0x120bb5=this['editor']['plugins']['get']('SuggestionsConversion');if(!this['editor']['plugins']['has']('Table'))return;const _0xb73a50=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor','tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x1c8297 of _0xb73a50)_0x120bb5['registerBlockAttribute'](_0x1c8297);}}class R extends _0x347708{['afterInit'](){const _0x26e3fb=this['editor'],_0xd8639d=_0x26e3fb['plugins']['get']('SuggestionsConversion');_0x26e3fb['plugins']['has']('TableLayout')&&_0xd8639d['registerBlockAttribute']('tableType');}}class F extends _0x347708{['afterInit'](){const _0x20b727=this['editor'],_0x1f61df=this['editor']['plugins']['get']('SuggestionsConversion');_0x20b727['plugins']['has']('Uploadcare')&&_0x20b727['plugins']['has']('UploadcareImageEdit')&&_0x1f61df['registerBlockAttribute']('uploadcareImageId');}}class G extends _0x347708{['afterInit'](){const _0x1c2d6f=this['editor'];if(!_0x1c2d6f['plugins']['has']('ShiftEnter'))return;const _0x49613e=_0x1c2d6f['plugins']['get']('SuggestionsConversion'),_0x411c27=(_0x2a69b5,_0x2d4029,_0x1585ac,_0x1c3357)=>{if(_0x1c3357&&!_0x1585ac['options']['showSuggestionHighlights'])return;if(!_0x1585ac['consumable']['test'](_0x2d4029['markerRange'],_0x2a69b5['name']))return;const _0x36c911=_0x1c2d6f['model'];for(const _0x5a4cb1 of _0x2d4029['markerRange']['getItems']()){if(!_0x5a4cb1['is']('element','softBreak'))continue;const _0x4218e1='deletion'==_0x2d4029['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3421cc,authorId:_0x3e7552}=v(_0x2d4029['markerName']),_0x18ba95=_0x1585ac['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4218e1,'data-suggestion':_0x3421cc,'data-author-id':_0x3e7552}),_0x91c9c3=_0x1585ac['mapper']['toViewPosition'](_0x36c911['createPositionBefore'](_0x5a4cb1));!_0x1c3357&&_0x49613e['_activeMarkers']['includes'](_0x2d4029['markerName'])&&_0x1585ac['writer']['addClass']('ck-suggestion-marker--active',_0x18ba95),_0x1585ac['writer']['insert'](_0x91c9c3,_0x18ba95),_0x1585ac['mapper']['bindElementToMarker'](_0x18ba95,_0x2d4029['markerName']);}};_0x1c2d6f['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3f580b,_0x588351,_0x542030)=>{_0x411c27(_0x3f580b,_0x588351,_0x542030,!0x1);},{'priority':'high'}),_0x1c2d6f['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x294121,_0x46a792,_0x34dc21)=>{_0x411c27(_0x294121,_0x46a792,_0x34dc21,!0x0);},{'priority':'high'});}}class J extends _0x347708{['afterInit'](){const _0x425f36=this['editor'];_0x425f36['plugins']['has']('MediaEmbedEditing')&&(_0x425f36['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5b8e10,{writer:_0x31c5a4,options:_0xbc91ee})=>{if(_0xbc91ee['showSuggestionHighlights'])return _0x31c5a4['createEmptyElement']('div');},'converterPriority':'high'}),_0x425f36['data']['downcastDispatcher']['on']('attribute:url:media',(_0x51fa1a,_0x2ab8a9,_0xb2f2d3)=>{_0xb2f2d3['options']['showSuggestionHighlights']&&_0x51fa1a['stop']();},{'priority':'high'}));}}class L extends _0x347708{['afterInit'](){const _0x1e6d65=this['editor'];if(!_0x1e6d65['plugins']['has']('Table'))return;_0x1e6d65['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5befe0,_0x1ea3fb,_0x464c18)=>{((_0x55f199,_0x18ca5c,_0x1336f2)=>{if(!_0x1336f2['options']['showSuggestionHighlights'])return;const _0x5e1d3b=_0x18ca5c['item'];if(!_0x5e1d3b||!_0x5e1d3b['is']('element','tableCell'))return;const _0x1cf44c=_0x1336f2['mapper']['toViewElement'](_0x5e1d3b);if(_0x1cf44c){const {id:_0x3d764a,authorId:_0xef247f}=v(_0x18ca5c['markerName']);at(_0x1cf44c,_0x1336f2['writer'],(_0x16e44b,_0x158120,_0x2fc6ed)=>{_0x2fc6ed['addClass'](rt(_0x158120['classes']),_0x16e44b),_0x2fc6ed['setAttribute']('data-suggestion-id',_0x3d764a,_0x16e44b),_0x2fc6ed['setAttribute']('data-author-id',_0xef247f,_0x16e44b);});}})(0x0,_0x1ea3fb,_0x464c18);},{'priority':'highest'});}}class Q extends _0x347708{['afterInit'](){const _0x5da9d1=this['editor'];_0x5da9d1['plugins']['has']('HorizontalLineEditing')&&_0x5da9d1['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x5ef1c2,{writer:_0x5f2d90,options:_0x16c4e7})=>{if(!_0x16c4e7['showSuggestionHighlights'])return null;const _0x409682=_0x5f2d90['createContainerElement']('div'),_0xce487=_0x5f2d90['createEmptyElement']('hr');return _0x5f2d90['addClass']('ck-horizontal-line',_0x409682),_0x5f2d90['insert'](_0x5f2d90['createPositionAt'](_0x409682,0x0),_0xce487),_0x409682;},'converterPriority':'high'});}}class kt extends _0x347708{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,Q,E,S,$,x,H,N,P,J,K,G,q,L,z,R,O,F];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x34d39e=this['editor'],_0x472ede=(_0x5849fb,_0x565452,_0x120cb6)=>{const {id:_0x5f49cc,authorId:_0x95ceb3,type:_0xb1f989,subType:_0x189fb2}=v(_0x5849fb['markerName']),_0x1f7ff9=['ck-suggestion-marker',this['_getClassName'](_0xb1f989,_0x189fb2)];let _0xa16a01=0xbb8;return!_0x120cb6&&(this['_activeMarkers']['includes'](_0x5849fb['markerName'])&&(_0x1f7ff9['push']('ck-suggestion-marker--active'),_0xa16a01=0xbc2)),('deletion'==_0xb1f989&&(_0xa16a01+=0x5),{'classes':_0x1f7ff9,'attributes':{'data-suggestion':_0x5f49cc,'data-author-id':_0x95ceb3},'priority':_0xa16a01});};_0x34d39e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5a3c21,_0x282e9a)=>_0x472ede(_0x5a3c21,0x0,!0x1)}),_0x34d39e['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x483005,_0xc48a58)=>_0x472ede(_0x483005,0x0,!0x0)}),_0x34d39e['conversion']['for']('dataDowncast')['add'](_0x2867e6=>{_0x2867e6['on']('addMarker:suggestion',(_0x4a7089,_0x41c6c5,_0x21bc9e)=>{if(!_0x21bc9e['options']['showSuggestionHighlights'])return;const _0x26ce36=_0x41c6c5['item'];if(!_0x26ce36)return;const _0x54edb8=_0x21bc9e['mapper']['toViewElement'](_0x26ce36);_0x34d39e['model']['schema']['isObject'](_0x26ce36)&&_0x54edb8&&!_0x54edb8['getCustomProperty']('widget')&&_0x54edb8['is']('containerElement')&&_0x41f8d9(_0x54edb8,_0x21bc9e['writer']);},{'priority':'high'});});const _0x5c8d3f=(_0xba2375,_0x5386db,_0x37ee3f,_0x192b9b,_0x1824ea)=>{if(_0x192b9b&&!_0x37ee3f['options']['showSuggestionHighlights'])return;if(!_0x5386db['item'])return;const {id:_0x2b030a,authorId:_0x14444f,subType:_0x310d8d}=v(_0x5386db['markerName']);if(_0x1824ea){const _0x599cef=_0x310d8d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x599cef))return;}if(_0x5386db['item']['is']('selection'))return void _0x37ee3f['consumable']['consume'](_0x5386db['item'],_0xba2375['name']);const _0x569faf=_0x37ee3f['mapper']['toViewElement'](_0x5386db['item']);if(_0x5386db['item']['is']('element')&&_0x34d39e['model']['schema']['isBlock'](_0x5386db['item'])&&!_0x569faf['getCustomProperty']('addHighlight')){_0x37ee3f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x569faf),_0x37ee3f['writer']['setAttribute']('data-suggestion',_0x2b030a,_0x569faf),_0x37ee3f['writer']['setAttribute']('data-author-id',_0x14444f,_0x569faf),_0x37ee3f['mapper']['bindElementToMarker'](_0x569faf,_0x5386db['markerName']),_0x192b9b||(this['_activeMarkers']['includes'](_0x5386db['markerName'])?_0x37ee3f['writer']['addClass']('ck-suggestion-marker--active',_0x569faf):_0x37ee3f['writer']['removeClass']('ck-suggestion-marker--active',_0x569faf));for(const _0x527a10 of _0x34d39e['model']['createRangeIn'](_0x5386db['item'])['getItems']())_0x37ee3f['consumable']['consume'](_0x527a10,_0xba2375['name']);_0x37ee3f['consumable']['consume'](_0x5386db['item'],_0xba2375['name']);}},_0x28e5d0=(_0x39bca5,_0x272b05,_0x1c6968,_0x5a92ce)=>{const _0x241c7b=_0x1c6968['mapper']['markerNameToElements'](_0x272b05['markerName']);if(_0x241c7b){if(_0x5a92ce){const {subType:_0x2c4670}=v(_0x272b05['markerName']),_0x461ae7=_0x2c4670['split']('|')[0x0];if(!this['isBlockAttribute'](_0x461ae7))return;}for(const _0x3f79ca of _0x241c7b)_0x3f79ca['getCustomProperty']('addHighlight')||(_0x1c6968['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x3f79ca),_0x1c6968['writer']['removeAttribute']('data-suggestion',_0x3f79ca),_0x1c6968['writer']['removeAttribute']('data-author-id',_0x3f79ca),_0x1c6968['mapper']['unbindElementFromMarkerName'](_0x3f79ca,_0x272b05['markerName']));}};_0x34d39e['conversion']['for']('editingDowncast')['add'](_0x22f93d=>{_0x22f93d['on']('addMarker:suggestion:formatBlock',(_0x4a0084,_0x58603e,_0x51cf78)=>{_0x5c8d3f(_0x4a0084,_0x58603e,_0x51cf78,!0x1,!0x1);},{'priority':'high'});}),_0x34d39e['conversion']['for']('editingDowncast')['add'](_0x4ad1c8=>{_0x4ad1c8['on']('addMarker:suggestion:attribute',(_0xa3fe23,_0x130c61,_0x33ddf2)=>{_0x5c8d3f(_0xa3fe23,_0x130c61,_0x33ddf2,!0x1,!0x0);},{'priority':'high'});}),_0x34d39e['conversion']['for']('editingDowncast')['add'](_0x42524f=>{_0x42524f['on']('removeMarker:suggestion:formatBlock',(_0xb9852d,_0x5e5dca,_0x2624a2)=>{_0x28e5d0(0x0,_0x5e5dca,_0x2624a2,!0x1);},{'priority':'high'});}),_0x34d39e['conversion']['for']('editingDowncast')['add'](_0x13014d=>{_0x13014d['on']('removeMarker:suggestion:attribute',(_0x300d94,_0x5b6470,_0x52f6cb)=>{_0x28e5d0(0x0,_0x5b6470,_0x52f6cb,!0x0);},{'priority':'high'});}),_0x34d39e['conversion']['for']('dataDowncast')['add'](_0x3b8df1=>{_0x3b8df1['on']('addMarker:suggestion:formatBlock',(_0x5c8e4d,_0x4a4752,_0x37e0f8)=>{_0x5c8d3f(_0x5c8e4d,_0x4a4752,_0x37e0f8,!0x0,!0x1);},{'priority':'highest'});}),_0x34d39e['conversion']['for']('dataDowncast')['add'](_0x4d74ca=>{_0x4d74ca['on']('addMarker:suggestion:attribute',(_0x520279,_0xde2b3c,_0x282157)=>{_0x5c8d3f(_0x520279,_0xde2b3c,_0x282157,!0x0,!0x0);},{'priority':'highest'});}),_0x34d39e['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4423cb,_0x35775b)=>{if(_0x35775b['options']['showSuggestionHighlights']){const {id:_0x538b1c,authorId:_0x1bb5b9}=v(_0x4423cb);return _0x4423cb['includes'](':split')||_0x4423cb['includes'](':merge')?{'group':'suggestion','name':_0x4423cb['substr'](0xb),'attributes':{'data-suggestion':_0x538b1c,'data-author-id':_0x1bb5b9}}:null;}return{'group':'suggestion','name':_0x4423cb['substr'](0xb)};}});const _0xb7dfb8=(_0x2ef6f3,_0xf87df7,_0x122024,_0x372857,_0x38bb23)=>{if(_0x372857&&!_0x122024['options']['showSuggestionHighlights'])return;if(!_0x122024['consumable']['test'](_0xf87df7['markerRange'],_0x2ef6f3['name']))return;const _0x43d531=this['_activeMarkers'],_0x12749e=_0xf87df7['markerRange']['getWalker'](),_0x17fe24=_0xf87df7['markerRange']['start'],_0x1f4a8e=_0x34d39e['model']['schema'];let _0xef036b=null,_0x55c522=null,_0x1b8920=!0x1,_0x2c345c=!0x1;for(const _0x24528a of _0x12749e){const _0x458d7c=_0x24528a['item'];_0x1b8920=_0x1b8920||_0x1f4a8e['isContent'](_0x458d7c);const _0x5d7088=_0x122024['mapper']['toViewElement'](_0x458d7c);if(_0x5d7088&&_0x5d7088['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x24528a['type']&&(_0x1f4a8e['isBlock'](_0x458d7c)&&!_0x1f4a8e['isLimit'](_0x458d7c)&&(_0x458d7c['nextSibling']||_0x17fe24['isAtEnd']?_0xef036b&&_0xef036b['parent']==_0x458d7c||(_0xef036b=_0x458d7c,_0x320e96(_0x24528a['previousPosition']),_0x2c345c=!0x0):_0x55c522=_0x55c522||_0x24528a['previousPosition']));}function _0x320e96(_0x5987cd){const {id:_0x493669,authorId:_0x1793cb}=v(_0xf87df7['markerName']),_0x18e221=_0x122024['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x38bb23,'data-suggestion':_0x493669,'data-author-id':_0x1793cb}),_0x4a49e4=_0x122024['mapper']['toViewPosition'](_0x5987cd);!_0x372857&&_0x43d531['includes'](_0xf87df7['markerName'])&&_0x122024['writer']['addClass']('ck-suggestion-marker--active',_0x18e221),_0x122024['writer']['insert'](_0x4a49e4,_0x18e221),_0x122024['mapper']['bindElementToMarker'](_0x18e221,_0xf87df7['markerName']);}_0x1b8920||_0x2c345c||!_0x55c522||_0x320e96(_0x55c522);};_0x34d39e['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1d8ef4,_0x35ab6c,_0x3e436d)=>{_0xb7dfb8(_0x1d8ef4,_0x35ab6c,_0x3e436d,!0x1,'merge');},{'priority':'high'}),_0x34d39e['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1f4a1e,_0x211663,_0x4032b5)=>{_0xb7dfb8(_0x1f4a1e,_0x211663,_0x4032b5,!0x0,'merge');},{'priority':'high'}),_0x34d39e['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3e901f,_0x98d45e,_0x3cd2ae)=>{_0xb7dfb8(_0x3e901f,_0x98d45e,_0x3cd2ae,!0x1,'split');},{'priority':'high'}),_0x34d39e['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x38d944,_0x11e896,_0x3e31a1)=>{_0xb7dfb8(_0x38d944,_0x11e896,_0x3e31a1,!0x0,'split');},{'priority':'high'}),_0x34d39e['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x31d5c4,_0x28c70a,_0x3b05ac)=>{((_0xa35a88,_0x550d74,_0x33d0dd)=>{const _0x3a60c8=_0x33d0dd['mapper']['markerNameToElements'](_0x550d74['markerName']);if(_0x3a60c8){for(const _0x160917 of _0x3a60c8)(_0x160917['hasClass']('ck-suggestion-marker-split')||_0x160917['hasClass']('ck-suggestion-marker-merge'))&&(_0x33d0dd['mapper']['unbindElementFromMarkerName'](_0x160917,_0x550d74['markerName']),_0x33d0dd['writer']['remove'](_0x160917));}})(0x0,_0x28c70a,_0x3b05ac);},{'priority':'high'});const _0x17c88c=(_0x3a2ec8,_0x32dd88,_0x14a93c,_0x15bb56)=>{if(_0x15bb56&&!_0x14a93c['options']['showSuggestionHighlights'])return;const _0x269538=_0x32dd88['markerRange']['start'],_0x22323c=_0x32dd88['markerRange']['end'],_0x5a9a07=_0x34d39e['model']['schema'];if(!_0x269538['isTouching'](_0x22323c)||!_0x269538['nodeAfter'])return;const _0x544b96=_0x269538['nodeAfter'];if(_0x5a9a07['isBlock'](_0x544b96)&&!_0x5a9a07['isLimit'](_0x544b96)&&_0x5a9a07['checkChild'](_0x544b96,'$text')){if(!_0x14a93c['consumable']['consume'](_0x32dd88['markerRange'],_0x3a2ec8['name']))return;const {id:_0x43244f,authorId:_0x51533d}=v(_0x32dd88['markerName']),_0x167bbc=_0x14a93c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x43244f,'data-author-id':_0x51533d}),_0x5c3af1=_0x14a93c['mapper']['toViewPosition'](_0x22323c);!_0x15bb56&&this['_activeMarkers']['includes'](_0x32dd88['markerName'])&&_0x14a93c['writer']['addClass']('ck-suggestion-marker--active',_0x167bbc),_0x14a93c['writer']['insert'](_0x5c3af1,_0x167bbc),_0x14a93c['mapper']['bindElementToMarker'](_0x167bbc,_0x32dd88['markerName']);}};_0x34d39e['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4aa91a,_0x1b744f,_0x490ff8)=>{_0x17c88c(_0x4aa91a,_0x1b744f,_0x490ff8,!0x1);},{'priority':'high'}),_0x34d39e['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x35e21c,_0x2b6b8d,_0x443106)=>{_0x17c88c(_0x35e21c,_0x2b6b8d,_0x443106,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x11e9af,_0x538848,_0x27fd8d)=>{this['_activeMarkers']=_0x27fd8d['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x546c64){this['_blockAttributeKeys']['add'](_0x546c64);}['registerInlineAttribute'](_0x37af0e){this['_inlineAttributeKeys']['add'](_0x37af0e);}['isBlockAttribute'](_0x5b8927){return this['_blockAttributeKeys']['has'](_0x5b8927);}['isInlineAttribute'](_0x5bcada){return this['_inlineAttributeKeys']['has'](_0x5bcada);}['isRegisteredAttribute'](_0x2c182f){return this['isInlineAttribute'](_0x2c182f)||this['isBlockAttribute'](_0x2c182f);}['_getClassName'](_0x158b8a,_0x19bb7f){if('attribute'!=_0x158b8a)return'ck-suggestion-marker-'+_0x158b8a;const _0x4793c7=_0x19bb7f['split']('|')[0x0];return this['isBlockAttribute'](_0x4793c7)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x5b0a0e={},_0x2a582b){if(void 0x0!==_0x5b0a0e['dateTimeFormat']&&'function'!=typeof _0x5b0a0e['dateTimeFormat'])throw new _0x1c240d('invalid-date-time-format');return _0x245daf=>{const _0x46da06='string'==typeof _0x245daf?tt['fromISO'](_0x245daf):tt['fromJSDate'](_0x245daf),_0x556145=tt['now'](),_0x4b5f61=Math['floor'](_0x556145['diff'](_0x46da06,'days')['days']);return _0x5b0a0e['dateTimeFormat']?_0x5b0a0e['dateTimeFormat'](_0x46da06['toJSDate'](),_0x2a582b&&_0x2a582b['t']?_0x2a582b['t']:void 0x0):0x0===_0x4b5f61?_0x2a582b?U(_0x2a582b,'Today')+'\x20'+_0x46da06['toFormat']('hh:mma'):_0x46da06['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x4b5f61?_0x2a582b?U(_0x2a582b,'Yesterday')+'\x20'+_0x46da06['toFormat']('hh:mma'):_0x46da06['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x4b5f61<0x7?_0x2a582b?U(_0x2a582b,'Last')+'\x20'+U(_0x2a582b,_0x46da06['toFormat']('EEEE'))+'\x20'+_0x46da06['toFormat']('hh:mma'):_0x46da06['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x46da06['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x409925,_0xd3caf4){const _0x136e53=_0x409925['mapper']['markerNameToElements'](_0xd3caf4['name']);if(!_0x136e53)return null;const _0x98e67f=_0x2f4701(_0x136e53['values']());return _0x409925['view']['domConverter']['mapViewToDom'](_0x98e67f)||null;}function wt(_0x1d6990,_0x938651){if(0x0===_0x938651['length'])return null;const _0x4dcf75=[],_0x596329=_0x1d6990['view']['domConverter'];for(const _0x48efdf of _0x938651){const _0x508ef6=_0x1d6990['mapper']['markerNameToElements'](_0x48efdf['name']);if(!_0x508ef6)continue;const _0x44bd62=Array['from'](_0x508ef6)['map'](_0x38dd14=>_0x596329['mapViewToDom'](_0x38dd14))['filter'](_0x39b9cd=>!!_0x39b9cd);_0x4dcf75['push'](..._0x44bd62);}if(0x0===_0x4dcf75['length'])return null;const _0x375d10=[];for(const _0x257dfa of _0x4dcf75){const _0x430544=_0x257dfa['getClientRects']()['item'](0x0);_0x430544&&_0x375d10['push']({'x':_0x430544['x'],'y':_0x430544['y'],'domElement':_0x257dfa});}return 0x0===_0x375d10['length']?null:(_0x375d10['sort']((_0x2306aa,_0x499dae)=>_0x2306aa['y']-_0x499dae['y']||_0x2306aa['x']-_0x499dae['x']),_0x375d10['map'](_0x5ace7a=>_0x5ace7a['domElement']));}function bt(_0x4a4891,{limit:_0x17896f,suffix:_0x2a7bca='...'}){const _0x141bfb=[];let _0x4d4994=0x0;const _0x4d6c4c=_0x4a4891['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x4bcf26=0x0;_0x4bcf26<_0x4d6c4c['length'];_0x4bcf26++){let _0xae6f5e=_0x4d6c4c[_0x4bcf26];const _0x49ce1a=tn(_0xae6f5e);if(_0xae6f5e['startsWith']('<')){if(_0x4d4994>=_0x17896f){const _0x5091dc=_0xae6f5e['match'](/[a-zA-Z]+/);if(!_0x5091dc){_0x4d6c4c[_0x4bcf26]='';continue;}const _0xd49541=_0x5091dc[0x0];_0xae6f5e['startsWith']('</')?(_0x141bfb['length']&&(_0xae6f5e=''),_0x141bfb['pop']()):(_0x141bfb['push'](_0xd49541),_0xae6f5e='');}}else{if(_0x4d4994>=_0x17896f)_0xae6f5e='';else{if(_0x4d4994+_0x49ce1a['length']>=_0x17896f){let _0x40b43a=_0x17896f-_0x4d4994;if('\x20'===_0x49ce1a[_0x40b43a-0x1])_0x40b43a--;else{const _0x527e3b=_0x49ce1a['slice'](_0x40b43a)['indexOf']('\x20');-0x1!==_0x527e3b?_0x40b43a+=_0x527e3b:_0x40b43a=_0xae6f5e['length'];}_0xae6f5e=_0x49ce1a['slice'](0x0,_0x40b43a)['join']('')+_0x2a7bca,_0x4d4994=_0x17896f;}else _0x4d4994+=_0x49ce1a['length'];}}_0x4d6c4c[_0x4bcf26]=_0xae6f5e;}return _0x4d6c4c['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x189edc){const _0x5f07b1=[];for(let _0x46bdee=0x0;_0x46bdee<_0x189edc['length'];_0x46bdee++){const _0x1f18de=_0x189edc['substring'](_0x46bdee)['match'](/^&[a-z0-9#]+;/);if(_0x1f18de){const _0x50d098=_0x1f18de[0x0];_0x5f07b1['push'](_0x50d098),_0x46bdee+=_0x50d098['length']-0x1;}else _0x5f07b1['push'](_0x189edc[_0x46bdee]);}return _0x5f07b1;}class V extends _0x58e702{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5ebf92){super(_0x5ebf92);const _0x340ee3=this['bindTemplate'];this['set']('message',U(_0x5ebf92,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5ebf92,U(_0x5ebf92,'Yes'),_0x25f249,'submit'),this['cancelView']=this['_createButtonView'](_0x5ebf92,U(_0x5ebf92,'No'),_0x121464,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new ts(),this['keystrokes']=new _0x4a599c(),this['focusCycler']=new _0x3b4d5f({'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':_0x340ee3['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'](_0x3187ba,_0x2b3acc,_0x352e1c,_0x168543){const _0xbc139b=new _0x161c6a(_0x3187ba);return _0xbc139b['label']=_0x2b3acc,_0xbc139b['icon']=_0x352e1c,_0xbc139b['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x168543}}),_0xbc139b['on']('execute',()=>this['fire'](_0x168543)),_0xbc139b;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x5a36d9=>{this['keystrokes']['listenTo'](_0x5a36d9['element']),this['focusTracker']['add'](_0x5a36d9['element']);}),this['keystrokes']['set']('esc',(_0x39556b,_0x4cd2f2)=>{this['fire']('cancel'),_0x4cd2f2();});}}function vt(_0x5da277){return class extends _0x5da277{['showConfirm'](_0x1dbf5c,_0x5c78f7){return this['confirmView']=new V(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x1dbf5c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x5c78f7['appendChild'](this['confirmView']['element']),_0x5c78f7['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3fdd37,_0x29b8f3,_0x38b995)=>{_0x38b995||_0x5c78f7['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5313be=>this['confirmView']['on']('submit',_0x5313be));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x10f621){let _0x24e60d=0x0,_0x370795=0x0;for(const _0x42067e of ne(_0x10f621))_0x24e60d=(_0x24e60d<<0x5)-_0x24e60d+_0x42067e,_0x24e60d&=_0x24e60d,[_0x24e60d,_0x370795]=[_0x370795,_0x24e60d];return ie(_0x24e60d)+ie(_0x370795);}function*ee(_0x4669f8){null==_0x4669f8||null==_0x4669f8?yield 0x12b9b0a1:0x0===_0x4669f8||!0x1===_0x4669f8?yield 0x0:0x1===_0x4669f8||0x1==_0x4669f8?yield 0x1:Array['isArray'](_0x4669f8)?yield*function*(_0xf55199){for(const _0x17de45 of _0xf55199)yield*ee(_0x17de45);}(_0x4669f8):'object'==typeof _0x4669f8?yield*ne(_0x4669f8):'string'==typeof _0x4669f8?yield*oe(_0x4669f8):'number'==typeof _0x4669f8&&(yield _0x4669f8);}function*ne(_0x3fb99b){if(yield te('{'),_0x3fb99b){const _0x43b419=Object['keys'](_0x3fb99b)['sort']();for(const _0x2027df of _0x43b419){yield*oe(_0x2027df),yield te(':');const _0x27abc5=_0x3fb99b[_0x2027df];yield*ee(_0x27abc5);}}yield te('}');}function*oe(_0x25d958){yield te('\x22');for(const _0x2f43a1 of _0x25d958)yield te(_0x2f43a1);yield te('\x22');}function te(_0x485d57){return _0x485d57['charCodeAt'](0x0);}function ie(_0x3a835f){return(_0x3a835f*=Math['sign'](_0x3a835f))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0xa10f4,_0x1e15f2,_0x4620b9,_0x242c9e=[]){const _0x6de868='string'==typeof _0xa10f4?_0x4620b9['get'](_0xa10f4)['constructor']:_0xa10f4['prototype']['constructor'];if(_0x1e15f2['has'](_0x6de868))return _0x1e15f2['get'](_0x6de868);_0x1e15f2['set'](_0x6de868,!0x0);const _0x453a12=[...et,..._0x242c9e]['map'](_0x2480c5=>{if(_0x4620b9['has'](_0x2480c5))return _0x4620b9['get'](_0x2480c5)['constructor'];})['filter'](_0xd59f6f=>_0xd59f6f);if(_0x6de868&&_0x453a12['includes'](_0x6de868))return _0x1e15f2['set'](_0x6de868,!0x1),!0x1;if(!_0x6de868['requires'])return _0x1e15f2['set'](_0x6de868,!0x0),!0x0;const _0x26dc0c=_0x6de868['requires']['every'](_0xe8f12f=>ot(_0xe8f12f,_0x1e15f2,_0x4620b9,_0x242c9e));return _0x1e15f2['set'](_0x6de868,_0x26dc0c),_0x26dc0c;}function Ct(_0x4b6cde,_0x2f7f79){const _0x595cdb={};for(const _0x44e583 of _0x4b6cde['config']['names']())nt['includes'](_0x44e583)||(_0x595cdb[_0x44e583]=_0x4b6cde['config']['get'](_0x44e583));const _0x1ce844=_0x595cdb['plugins']||[],_0x558172=_0x4b6cde['constructor']['builtinPlugins']||[],_0x393d15=_0x1ce844['length']?_0x1ce844:_0x558172,_0x5cbed0=_0x595cdb['extraPlugins']||[];delete _0x595cdb['extraPlugins'];const _0x34e830=_0x595cdb['removePlugins']||[];delete _0x595cdb['removePlugins'];const _0x1ad9eb=_0x4b6cde['_context']['config']['get']('plugins')||[],_0x324e95=_0x393d15['concat'](_0x5cbed0)['concat'](_0x1ad9eb)['map'](_0x1d287d=>'string'==typeof _0x1d287d?_0x558172['find'](_0x226d52=>_0x226d52['pluginName']==_0x1d287d):_0x1d287d)['filter'](_0x7ed1f3=>!_0x34e830['includes'](_0x7ed1f3)&&!_0x34e830['includes'](_0x7ed1f3['pluginName'])),_0x1f7fb5=Array['from'](new Set(_0x324e95)),_0x3181bf=new Map();return _0x595cdb['plugins']=_0x1f7fb5['filter'](_0x432750=>ot(_0x432750,_0x3181bf,_0x4b6cde['plugins'],_0x2f7f79)),_0x595cdb;}function _t(_0x36b72f,_0x49a186){const _0x871e05=[];_0x36b72f['document']['selection']['on']('change:range',()=>{const _0xdbd2af=function(_0x162f38,_0x234610){const _0x1662ee=[];for(const _0x243000 of _0x162f38['markers']){const _0x225528=_0x243000['getRange']();(_0x225528['containsPosition'](_0x234610)||_0x225528['start']['isEqual'](_0x234610)||_0x225528['end']['isEqual'](_0x234610))&&_0x1662ee['push'](_0x243000);}return _0x1662ee;}(_0x36b72f,_0x36b72f['document']['selection']['focus']),_0x3ce3ff=[],_0x34db59=[],_0x3beaa0=[];for(const _0x39da45 of _0x871e05)_0xdbd2af['includes'](_0x39da45)||_0x3ce3ff['push'](_0x39da45);for(const _0x46293d of _0xdbd2af)_0x871e05['includes'](_0x46293d)||_0x34db59['push'](_0x46293d),_0x3beaa0['push'](_0x46293d);(_0x3ce3ff['length']||_0x34db59['length'])&&_0x49a186({'left':_0x3ce3ff,'entered':_0x34db59}),_0x871e05['length']=0x0,_0x871e05['push'](..._0x3beaa0);});}const xt='Ctrl+Shift+E';function It(_0x3901d7,_0x29b2d8){const _0x5dd82d=_0x3901d7['element'];_0x3901d7['keystrokes']['listenTo'](_0x5dd82d);for(const _0xa35749 of _0x29b2d8)ro(_0x3901d7,_0xa35749);_0x29b2d8['on']('change',(_0x2de3c8,_0x105178)=>{for(const _0x282704 of _0x105178['removed'])to(_0x3901d7,_0x282704);for(const _0x483e9d of Array['from'](_0x105178['added'])['reverse']())ro(_0x3901d7,_0x483e9d);}),_0x3901d7['keystrokes']['set']('enter',(_0x4ffbfa,_0x481143)=>{_0x5dd82d===_0x4ffbfa['target']&&(_0x3901d7['focusCycler']['focusFirst'](),_0x481143());},{'filter':_0xa96fa0=>_0xa96fa0['target']===_0x5dd82d}),_0x3901d7['keystrokes']['set']('esc',(_0x417799,_0x3e3f23)=>{_0x5dd82d!==_0x417799['target']?_0x3901d7['focus']():_0x3901d7['fire']('escape'),_0x3e3f23();}),_0x3901d7['keystrokes']['set']('arrowdown',(_0x5bb4b8,_0x16b17e)=>{_0x5dd82d===_0x5bb4b8['target']&&(_0x3901d7['fire']('arrowdown'),_0x16b17e());}),_0x3901d7['keystrokes']['set']('arrowup',(_0x3dbe9f,_0x24e704)=>{_0x5dd82d===_0x3dbe9f['target']&&(_0x3901d7['fire']('arrowup'),_0x24e704());});}function ro(_0x22ec9e,_0x3a699d){_0x3a699d['isRendered']&&(_0x22ec9e['focusTracker']['add'](_0x3a699d['element']),_0x22ec9e['keystrokes']['listenTo'](_0x3a699d['element']),_0x4a9a17(_0x3a699d)&&function(_0xc9e650,_0x3b2b04){const _0x115632=_0xc9e650['actions'],_0x2e9ce2=_0x3b2b04['actions'];for(const _0x27c7e4 of Object['keys'](_0x115632))if(_0x27c7e4 in _0x2e9ce2&&_0x115632[_0x27c7e4]!==_0x2e9ce2[_0x27c7e4])return!0x1;return!0x0;}(_0x22ec9e['focusCycler'],_0x3a699d['focusCycler'])&&_0x22ec9e['focusCycler']['chain'](_0x3a699d['focusCycler']));}function to(_0x58632e,_0x254f8a){_0x58632e['focusTracker']['remove'](_0x254f8a['element']),_0x58632e['keystrokes']['stopListening'](_0x254f8a['element']),_0x4a9a17(_0x254f8a)&&_0x58632e['focusCycler']['unchain'](_0x254f8a['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x503307{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x41c0c6?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x50ada5,_0x52d46b)=>{_0x52d46b['on']('ready',()=>{this['_integrateEditor'](_0x52d46b);});});}get['editor'](){if(this['context']instanceof _0x41c0c6)return this['context'];{const _0x5ee6fa=this['context']['editors']['first'];if(!_0x5ee6fa)throw new _0x1c240d('documentcompare-no-editor',this);return _0x5ee6fa;}}['getDiff'](_0x5d7ecc,_0x2614a1,_0xacaeb7={'anchor':'main','markDeletions':!0x1}){let _0x544e51,_0x49ff93;const _0x1cb084=this['editor'];if('string'==typeof _0xacaeb7['anchor']){const _0xcf9b0c=_0x1cb084['model']['document']['getRoot'](_0xacaeb7['anchor']);if(!_0xcf9b0c)throw new _0x1c240d('documentcompare-compare-no-root',this,{'anchor':_0xacaeb7['anchor']});_0x544e51=_0xcf9b0c,_0x49ff93=_0x1cb084['model']['createPositionAt'](_0xcf9b0c,0x0);}else _0x544e51=_0xacaeb7['anchor']['clone'](),_0x49ff93=_0xacaeb7['anchor']['clone']();const _0x1fdec7=_0x1cb084['data']['parse'](_0x5d7ecc,_0x544e51),_0x432d2b=_0x1cb084['data']['parse'](_0x2614a1,_0x544e51);return new Mt(_0x1fdec7,_0x432d2b,_0x1cb084,{'anchor':_0x49ff93,'markDeletions':_0xacaeb7['markDeletions']});}['isMarkedRemoveOperation'](_0x2c4ca5){return'marker'==_0x2c4ca5['type']&&_0x2c4ca5['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x1261b1){_0x1261b1['conversion']['for']('upcast')['add'](_0x325281=>{_0x325281['on']('element',(_0x43585d,_0x5a6dbb,_0x53d100)=>{if(_0x5a6dbb['modelRange'])for(const _0x5ad20c of _0x5a6dbb['modelRange']['getItems']({'shallow':!0x0})){if(_0x5ad20c['is']('$textProxy'))continue;const _0x1f6374=_0x5a6dbb['viewItem']['getAttribute'](Et);_0x1f6374&&_0x53d100['writer']['setAttribute'](St,_0x1f6374,_0x5ad20c);}},{'priority':'lowest'});}),_0x1261b1['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0xa57f75,_0x26b2f1,_0xb1712,_0x19aa24){this['_editor']=_0xb1712,this['_markDeletions']=!!_0x19aa24['markDeletions'],this['_anchor']=_0x19aa24['anchor'];const _0x9b6b25=this['_tokenizeModel'](_0xa57f75),_0x3ac054=this['_tokenizeModel'](_0x26b2f1);this['_diffItems']=this['_diffModelTokens'](_0x9b6b25,_0x3ac054),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xa57f75['markers'],_0x26b2f1['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x59a139=this['_editor']['model']['document'],_0x4eae8b=[];let _0x29282b=_0x59a139['version'];for(const _0x4d4dc4 of this['_operationsData'])switch(_0x4d4dc4['type']){case'attribute':{const _0xf6a929=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['path']),_0x3c58bf=_0xf6a929['getShiftedBy'](_0x4d4dc4['howMany']),_0x2ba227=new _0x542a8e(_0xf6a929,_0x3c58bf),_0x5bfb0b=JSON['parse'](_0x4d4dc4['oldValue']),_0x7e355c=JSON['parse'](_0x4d4dc4['newValue']);_0x4eae8b['push'](new _0x28cff4(_0x2ba227,_0x4d4dc4['key'],_0x5bfb0b,_0x7e355c,_0x29282b++));break;}case'insert':{const _0x252e7f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['path']),_0x2d9ac0=this['_makeModelFromTokens'](_0x4d4dc4['tokens']);_0x4eae8b['push'](new _0x522db3(_0x252e7f,_0x2d9ac0,_0x29282b++));break;}case'remove':{const _0xd9ad0c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['path']),_0x23fe4b=new _0x13099c(_0x59a139['graveyard'],[0x0]);_0x4eae8b['push'](new _0x373eba(_0xd9ad0c,_0x4d4dc4['howMany'],_0x23fe4b,_0x29282b++));break;}case'rename':{const _0x1e70e1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['path']);_0x4eae8b['push'](new _0x4ac0cf(_0x1e70e1,_0x4d4dc4['oldName'],_0x4d4dc4['newName'],_0x29282b++));break;}case'split':{const _0x241d43=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['path']),_0x51699f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['path']['slice'](0x0,-0x1));_0x51699f['offset']++,_0x4eae8b['push'](new _0x314125(_0x241d43,Number['NEGATIVE_INFINITY'],_0x51699f,null,_0x29282b++));break;}case'merge':{const _0xa9d221=_0x4d4dc4['path']['slice'](),_0x38ec6a=_0xa9d221['slice'](0x0,-0x1);_0x38ec6a[_0x38ec6a['length']-0x1]++,_0x38ec6a['push'](0x0);const _0x394ae0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x38ec6a),_0x4c8d1c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xa9d221),_0x2f0cfa=new _0x13099c(_0x59a139['graveyard'],[0x0]);_0x4eae8b['push'](new _0x4d8adb(_0x394ae0,Number['NEGATIVE_INFINITY'],_0x4c8d1c,_0x2f0cfa,_0x29282b++));break;}case'marker':case'markedRemove':{let _0x2f57d2=null;if(_0x4d4dc4['range']){const _0x52ea22=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['range']['start']),_0x450b41=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['range']['end']);_0x2f57d2=new _0x542a8e(_0x52ea22,_0x450b41);}const _0x26471f='marker'==_0x4d4dc4['type']?_0x4d4dc4['name']:'$markedRemove:'+_0x91ff57();_0x4eae8b['push'](new _0x30b786(_0x26471f,null,_0x2f57d2,_0x59a139['model']['markers'],!0x0,_0x29282b++));break;}case'unwrap':{const _0x45606b=_0x4d4dc4['path']['slice']();_0x45606b['push'](0x0);const _0x3be4ee=_0x4d4dc4['path']['slice'](),_0x289e5d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x45606b),_0x56651f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3be4ee),_0x1f2c54=new _0x13099c(_0x59a139['graveyard'],[0x0]);_0x4eae8b['push'](new _0x373eba(_0x289e5d,_0x4d4dc4['howMany'],_0x56651f,_0x29282b++)),_0x4eae8b['push'](new _0x373eba(_0x56651f['getShiftedBy'](_0x4d4dc4['howMany']),0x1,_0x1f2c54,_0x29282b++));break;}case'wrap':{const _0xbcde71=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['range']['start']),_0x33094d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d4dc4['range']['end']),_0x43625a=_0x4d4dc4['token']['element']['_clone'](!0x1),_0x1ab878=_0x4d4dc4['range']['end']['slice']();_0x1ab878['push'](0x0);const _0x232a73=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ab878);_0x4eae8b['push'](new _0x522db3(_0x33094d,_0x43625a,_0x29282b++)),_0x4eae8b['push'](new _0x373eba(_0xbcde71,_0x33094d['offset']-_0xbcde71['offset'],_0x232a73,_0x29282b++));break;}}return _0x4eae8b;}['_tokenizeModel'](_0x4a73a2){const _0x17194c=[],_0x3c4433=_0x542a8e['_createIn'](_0x4a73a2),_0x26cee5=new _0x52821d({'boundaries':_0x3c4433});let _0x2833d9='',_0x56bfb9=null;const _0x1456d5=[''],_0x2be79c=new Map();for(const _0x17cfbd of _0x26cee5)if('elementStart'==_0x17cfbd['type']||'elementEnd'==_0x17cfbd['type']){let _0x53079c=_0x1456d5[0x0];''!==_0x2833d9&&(_0x17194c['push'](...this['_makeTokensFromTextByWords'](_0x2833d9,_0x56bfb9,_0x53079c)),_0x2833d9='');const _0x43735e=_0x17cfbd['item'];let _0x4b2d34;_0x43735e['getAttribute'](St)?_0x4b2d34=_0x43735e['getAttribute'](St):'elementStart'==_0x17cfbd['type']?(_0x4b2d34=_(_0x43735e),_0x2be79c['set'](_0x43735e,_0x4b2d34)):_0x4b2d34=_0x2be79c['get'](_0x43735e);const _0x538a64=this['_getElementCategory'](_0x43735e);'solid'==_0x538a64&&('elementStart'==_0x17cfbd['type']?(_0x53079c=_0x4b2d34,_0x1456d5['unshift'](_0x53079c)):_0x1456d5['shift']());const _0x30988a={'type':'element','element':_0x43735e,'elementId':_0x4b2d34,'category':_0x538a64,'isStart':'elementStart'==_0x17cfbd['type'],'limitId':_0x53079c};_0x17194c['push'](_0x30988a);}else''==_0x2833d9&&(_0x56bfb9=_0x17cfbd['previousPosition']['clone']()),_0x2833d9+=_0x17cfbd['item']['data'];return''!==_0x2833d9&&_0x17194c['push'](...this['_makeTokensFromTextByWords'](_0x2833d9,_0x56bfb9,_0x1456d5[0x0])),_0x17194c;}['_makeTokensFromTextByWords'](_0x5afd0b,_0x3f1e68,_0x33605c){const _0x58c221=_0x5afd0b['matchAll'](/(\s)/g),_0x195d8f=Array['from'](_0x58c221)['map'](_0x5bd725=>_0x5bd725['index']);_0x195d8f['push'](_0x5afd0b['length']),0x0==_0x195d8f[0x0]&&_0x195d8f['shift']();const _0x34314d=[],_0x4d67fc=_0x3f1e68['parent'];let _0x2a9455=0x0,_0x8cce9c=_0x3f1e68['offset'];for(let _0x18362f=0x0;_0x18362f<_0x195d8f['length'];_0x18362f++)_0x34314d['push']({'type':'text','data':_0x5afd0b['slice'](_0x2a9455,_0x195d8f[_0x18362f]),'parent':_0x4d67fc,'offset':_0x8cce9c,'limitId':_0x33605c}),_0x2a9455=_0x195d8f[_0x18362f],_0x8cce9c=_0x3f1e68['offset']+_0x195d8f[_0x18362f];return _0x34314d;}['_getElementCategory'](_0x1134fb){const _0x3fd898=this['_editor']['model']['schema'];return _0x3fd898['isLimit'](_0x1134fb)||_0x3fd898['isContent'](_0x1134fb)||_0x3fd898['isInline'](_0x1134fb)?'solid':_0x3fd898['isBlock'](_0x1134fb)?'block':'container';}['_diffModelTokens'](_0x2ce945,_0x588997){const _0x578f09=_0x2ecd06(_0x2ce945,_0x588997,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x578f09);const _0x59ebee=_0x578f09['flatMap'](_0x2a730b=>{const _0x34a543=_0x2a730b['added']?'added':_0x2a730b['removed']?'removed':'unchanged';return _0x2a730b['value']['map'](_0x466bd8=>({'token':_0x466bd8,'change':_0x34a543}));});let _0x1970f0=0x0;for(const _0x3d0908 of _0x59ebee)'added'!=_0x3d0908['change']&&('unchanged'==_0x3d0908['change']&&(_0x3d0908['before']=_0x2ce945[_0x1970f0]),_0x1970f0++);return _0x59ebee;}['_handleUnclosedBlockOpeningTags'](_0x43e44e){for(let _0xd5fb97=0x0;_0xd5fb97<_0x43e44e['length']-0x1;_0xd5fb97++)if(_0x43e44e[_0xd5fb97]['removed']&&_0x43e44e[_0xd5fb97+0x1]['added']){const _0x36df47=this['_findUnclosedBlockOpeningToken'](_0x43e44e[_0xd5fb97]['value']);if(null!==_0x36df47){const _0x3d0609=this['_findUnclosedBlockOpeningToken'](_0x43e44e[_0xd5fb97+0x1]['value']),_0x4d331d=_0x43e44e[_0xd5fb97]['value']['splice'](_0x36df47),_0x3d5fe7=_0x43e44e[_0xd5fb97+0x1]['value']['splice'](_0x3d0609),_0x224b05=[_0x3d5fe7['shift']()];_0x4d331d['shift']();const _0x2d4b13={'value':_0x4d331d,'removed':!0x0},_0x1322ae={'value':_0x3d5fe7,'added':!0x0},_0x3ab3e1={'value':_0x224b05};_0x43e44e['splice'](_0xd5fb97+0x2,0x0,_0x3ab3e1,_0x2d4b13,_0x1322ae);}}}['_findUnclosedBlockOpeningToken'](_0x40eafb){let _0x390f93=0x0,_0xfd5cc1=-0x1;for(let _0x56b059=0x0;_0x56b059<_0x40eafb['length'];_0x56b059++){const _0x3dff65=_0x40eafb[_0x56b059];'element'==_0x3dff65['type']&&'block'==_0x3dff65['category']&&(_0x390f93+=_0x3dff65['isStart']?0x1:-0x1,_0x3dff65['isStart']&&(_0xfd5cc1=_0x56b059));}return 0x0===_0x390f93?null:_0xfd5cc1;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5ba447=0x0;_0x5ba447<this['_diffItems']['length'];_0x5ba447++){const _0x10c9ac=this['_diffItems'][_0x5ba447]['change'],_0x6ff36=[];_0x6ff36['push'](this['_diffItems'][_0x5ba447]);let _0x176e88=_0x5ba447+0x1;for(;this['_diffItems'][_0x176e88]&&this['_diffItems'][_0x176e88]['change']==_0x10c9ac;)_0x6ff36['push'](this['_diffItems'][_0x176e88]),_0x176e88++,_0x5ba447++;const _0x340b60=_0x6ff36['map'](_0x570fc6=>_0x570fc6['token']);if('unchanged'==_0x10c9ac)_0x6ff36['map'](_0x8149ea=>_0x8149ea['before'])['forEach'](_0x2b8ef9=>this['_traverseOverItem'](_0x2b8ef9));else{if('removed'==_0x10c9ac){if(this['_markDeletions']){const _0x2b7296=this['_path']['slice']();_0x340b60['forEach'](_0x788f55=>this['_traverseOverItem'](_0x788f55));const _0x5f0ead=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x2b7296,'end':_0x5f0ead}});}else this['_handleChanged'](_0x340b60,!0x0,this['_path']['slice']());}else{const _0xc58f6e=_0x340b60['filter'](_0x201711=>'element'!=_0x201711['type']||'container'!=_0x201711['category']);this['_handleChanged'](_0xc58f6e,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1a4c7a=0x0;_0x1a4c7a<this['_diffItems']['length'];_0x1a4c7a++){const _0x30a125=this['_diffItems'][_0x1a4c7a]['change'],_0x396569=[];_0x396569['push'](this['_diffItems'][_0x1a4c7a]);let _0x1ed0a7=_0x1a4c7a+0x1;for(;this['_diffItems'][_0x1ed0a7]&&this['_diffItems'][_0x1ed0a7]['change']==_0x30a125;)_0x396569['push'](this['_diffItems'][_0x1ed0a7]),_0x1ed0a7++,_0x1a4c7a++;const _0xaed5c3=_0x396569['map'](_0x3b6d02=>_0x3b6d02['token']);if('unchanged'==_0x30a125){const _0x35b619=_0x396569['map'](_0x483bb2=>_0x483bb2['before']);this['_handleUnchanged'](_0x35b619,_0xaed5c3);}else('removed'!=_0x30a125||this['_markDeletions'])&&_0xaed5c3['forEach'](_0xcce1ef=>{this['_traverseOverItem'](_0xcce1ef);});}}['_calculateMarkersOperationsData'](_0x365701,_0x10165f){const _0x275cd4={};for(const [_0x3b75fa]of _0x365701)_0x275cd4[_0x3b75fa]=null;for(const [_0x871af7,_0x3ea632]of _0x10165f)_0x275cd4[_0x871af7]=_0x3ea632;const _0x28c32e=Object['entries'](_0x275cd4)['map'](([_0x5ecefa,_0xd97452])=>({'type':'marker','name':_0x5ecefa,'range':_0xd97452?{'start':_0xd97452['start']['path']['slice'](),'end':_0xd97452['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x28c32e);}['_handleUnwraps'](){const _0x509dc0=new Map(),_0x2c06e2=[],_0x544640=[0x0];let _0x23d844=this['_diffItems']['length']+0x1;for(let _0x549f33=this['_diffItems']['length']-0x1;_0x549f33>=0x0;_0x549f33--){const {token:_0x46c780,before:_0x883e69,change:_0x4e8e29}=this['_diffItems'][_0x549f33];if('removed'!=_0x4e8e29&&(_0x23d844=_0x549f33),'element'!=_0x46c780['type']||'container'!=_0x46c780['category']||'added'==_0x4e8e29)continue;const _0x39af0d=_0x883e69?_0x883e69['element']:_0x46c780['element'];if(_0x46c780['isStart']){const _0x41ee8e=_0x509dc0['get'](_0x39af0d),_0x456ef5=this['_diffItems'][_0x41ee8e];('removed'==_0x4e8e29||'removed'==_0x456ef5['change'])&&_0x23d844<_0x41ee8e&&(this['_operationsData']['push']({'type':'unwrap','path':_0x39af0d['getPath'](),'howMany':_0x39af0d['maxOffset']+_0x544640[0x0]}),_0x544640['shift'](),_0x544640[0x0]+=_0x39af0d['maxOffset']-0x1,_0x2c06e2['push'](_0x549f33),_0x2c06e2['push'](_0x41ee8e));}else _0x509dc0['set'](_0x39af0d,_0x549f33),_0x544640['unshift'](0x0);}_0x2c06e2['sort']((_0x25b48e,_0xf46a83)=>_0xf46a83-_0x25b48e),_0x2c06e2['forEach'](_0x202643=>{const _0x373ac2=this['_diffItems'][_0x202643];'removed'==_0x373ac2['change']?this['_diffItems']['splice'](_0x202643,0x1):(_0x373ac2['change']='added',delete _0x373ac2['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x530b38=[];for(let _0x447450=0x0;_0x447450<this['_diffItems']['length'];_0x447450++){const {change:_0x3dc420,token:_0x51a48e}=this['_diffItems'][_0x447450];if('added'==_0x3dc420&&'element'==_0x51a48e['type']&&'container'==_0x51a48e['category']){if(_0x51a48e['isStart'])_0x530b38['push'](this['_path']['slice']());else{if(!_0x51a48e['isStart']){const _0xe34a6f=_0x530b38['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0xe34a6f,'end':this['_path']['slice']()},'token':_0x51a48e}),this['_path'][this['_path']['length']-0x1]=_0xe34a6f[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x3dc420||this['_markDeletions'])&&this['_traverseOverItem'](_0x51a48e);}}['_handleUnchanged'](_0x3b5ce0,_0x4503f0){for(let _0x20167c=0x0;_0x20167c<_0x3b5ce0['length'];_0x20167c++){const _0x988b6b=_0x3b5ce0[_0x20167c];if('element'==_0x988b6b['type']&&_0x988b6b['isStart']){const _0x15e9e1=_0x4503f0[_0x20167c];'block'==_0x988b6b['category']&&this['_handleElementRename'](_0x988b6b['element'],_0x15e9e1['element'],this['_path']),this['_handleElementAttributeChanges'](_0x988b6b['element'],_0x15e9e1['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x15e9e1);}else{if('element'!=_0x988b6b['type']||_0x988b6b['isStart']){if('text'==_0x988b6b['type']){const _0x596691=this['_path']['slice'](),_0x52f418=[],_0x204ad4=[];for(;_0x3b5ce0[_0x20167c]&&'text'==_0x3b5ce0[_0x20167c]['type'];)_0x52f418['push'](_0x3b5ce0[_0x20167c]),_0x204ad4['push'](_0x4503f0[_0x20167c]),this['_path'][this['_path']['length']-0x1]+=_0x3b5ce0[_0x20167c]['data']['length'],_0x20167c++;_0x20167c--,this['_handleTextAttributeChanges'](_0x52f418,_0x204ad4,_0x596691);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x42a444,_0x38f79c,_0x582d0e){const _0x354a89=[],_0xc81691=[],_0x5cebc0=_0x582d0e['slice']();for(let _0x13aa46=0x0;_0x13aa46<_0x42a444['length'];_0x13aa46++){const _0x11b20a=_0x42a444[_0x13aa46],_0x36d1b5=_0x582d0e['slice']();if('element'!=_0x11b20a['type']||_0x11b20a['isStart'])'element'==_0x11b20a['type']&&_0x11b20a['isStart']?(_0x582d0e['push'](0x0),_0x38f79c||this['_parents']['push'](_0x11b20a),_0xc81691['push']({'before':_0x36d1b5,'after':_0x582d0e['slice'](),'index':_0x13aa46})):_0x582d0e[_0x582d0e['length']-0x1]+=_0x11b20a['data']['length'];else{let _0x2d6c2e;_0x582d0e['pop'](),_0x582d0e[_0x582d0e['length']-0x1]++,_0x2d6c2e=_0x38f79c?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0xc81691['length']?_0xc81691['pop']():_0x354a89['push']({'before':_0x36d1b5,'after':_0x582d0e['slice'](),'index':_0x13aa46,'related':_0x2d6c2e});}}if(_0xc81691['length']!==_0x354a89['length'])throw new _0x1c240d('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x42a444,'isRemove':_0x38f79c});const _0x48bace=[{'after':_0x5cebc0['slice'](),'index':-0x1},..._0x354a89,..._0xc81691,{'before':_0x582d0e['slice'](),'index':_0x42a444['length']}];if(_0x38f79c){for(let _0x110699=_0x48bace['length']-0x1;_0x110699>=0x1;_0x110699--){const _0x25a81d=_0x48bace[_0x110699-0x1]['after'],_0x38913c=_0x48bace[_0x110699]['before'],_0x2ac362=_0x38913c[_0x38913c['length']-0x1]-_0x25a81d[_0x25a81d['length']-0x1];_0x2ac362&&(this['_operationsData']['push']({'type':'remove','path':_0x25a81d,'howMany':_0x2ac362}),_0x38913c[_0x38913c['length']-0x1]-=_0x2ac362);}for(const {before:_0x45dabf}of _0x354a89)this['_operationsData']['push']({'type':'merge','path':_0x45dabf});}else for(let _0xbb7be0=0x0;_0xbb7be0<_0x48bace['length']-0x1;_0xbb7be0++){const _0x5e3c80=_0x48bace[_0xbb7be0]['after'],_0x1251ae=_0x48bace[_0xbb7be0+0x1]['before'],_0xa4fb8c=_0x48bace[_0xbb7be0]['index']+0x1,_0x37821c=_0x48bace[_0xbb7be0+0x1]['index'];if(_0xa4fb8c!==_0x37821c&&this['_operationsData']['push']({'type':'insert','path':_0x5e3c80,'tokens':_0x42a444['slice'](_0xa4fb8c,_0x37821c)}),_0xbb7be0<_0x354a89['length']){this['_operationsData']['push']({'type':'split','path':_0x1251ae});const _0x23d34e=_0x42a444[_0xc81691[_0xc81691['length']-0x1-_0xbb7be0]['index']],_0x218495=_0x354a89[_0xbb7be0]['after'],_0x30224c=_0x354a89[_0xbb7be0]['related']['element'];this['_handleElementRename'](_0x30224c,_0x23d34e['element'],_0x218495),this['_handleElementAttributeChanges'](_0x30224c,_0x23d34e['element'],_0x218495);}}}['_traverseOverItem'](_0x1dc636){'element'==_0x1dc636['type']&&_0x1dc636['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1dc636)):'element'!=_0x1dc636['type']||_0x1dc636['isStart']?'text'==_0x1dc636['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1dc636['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x205853,_0x38c6a6,_0x45e3c9){_0x205853['name']!=_0x38c6a6['name']&&this['_operationsData']['push']({'type':'rename','path':_0x45e3c9['slice'](),'oldName':_0x205853['name'],'newName':_0x38c6a6['name']});}['_handleElementAttributeChanges'](_0x380cca,_0x5e57d9,_0x5c57f6){const _0x342d0e=this['_getAttributeChanges'](_0x380cca['getAttributes'](),_0x5e57d9['getAttributes']());for(const _0x4d8aa4 in _0x342d0e){const {oldValue:_0x2cbbc8,newValue:_0x5ba53e}=_0x342d0e[_0x4d8aa4];this['_operationsData']['push']({'type':'attribute','path':_0x5c57f6['slice'](),'howMany':0x1,'key':_0x4d8aa4,'oldValue':_0x2cbbc8,'newValue':_0x5ba53e});}}['_handleTextAttributeChanges'](_0x2cfda4,_0x3be297,_0x4c68ed){const _0x1c3bea=this['_operationsData'],_0x317567=_0x2cfda4[0x0]['parent'],_0x43e600=_0x2cfda4[0x0]['offset'],_0x53e0f7=_0x3be297[0x0]['parent'],_0x4ef16b=_0x3be297[0x0]['offset'],_0x317534=_0x2cfda4['reduce']((_0x45e176,_0x106251)=>_0x45e176+_0x106251['data']['length'],0x0),_0x920cd8=this['_getAttrsForOffsets'](_0x317567,_0x43e600,_0x317534),_0x4ca7d0=this['_getAttrsForOffsets'](_0x53e0f7,_0x4ef16b,_0x317534),_0x54600a={};for(let _0x3f0b20=0x0;_0x3f0b20<_0x317534;_0x3f0b20++){const _0x43166c=_0x920cd8[_0x43e600+_0x3f0b20],_0x10d98b=_0x4ca7d0[_0x4ef16b+_0x3f0b20],_0x256f43=this['_getAttributeChanges'](_0x43166c,_0x10d98b);for(const _0x1d13b8 in _0x54600a)_0x256f43[_0x1d13b8]||_0x1b613d(_0x1d13b8);for(const _0x1a6b09 in _0x256f43){const {oldValue:_0x2b3e98,newValue:_0x119769}=_0x256f43[_0x1a6b09],_0x1a5249=_0x54600a[_0x1a6b09];_0x1a5249?_0x1a5249['oldValue']==_0x2b3e98&&_0x1a5249['newValue']==_0x119769?_0x1a5249['length']++:(_0x1b613d(_0x1a6b09),_0x54600a[_0x1a6b09]={'oldValue':_0x2b3e98,'newValue':_0x119769,'start':_0x3f0b20,'length':0x1}):_0x54600a[_0x1a6b09]={'oldValue':_0x2b3e98,'newValue':_0x119769,'start':_0x3f0b20,'length':0x1};}}for(const _0x35c1cc in _0x54600a)_0x1b613d(_0x35c1cc);function _0x1b613d(_0x1fc193){const _0x2f04bc=_0x54600a[_0x1fc193],_0x3e3697=_0x4c68ed['slice']();_0x3e3697[_0x3e3697['length']-0x1]+=_0x2f04bc['start'],_0x1c3bea['push']({'type':'attribute','path':_0x3e3697,'howMany':_0x2f04bc['length'],'key':_0x1fc193,'oldValue':_0x2f04bc['oldValue'],'newValue':_0x2f04bc['newValue']}),delete _0x54600a[_0x1fc193];}}['_getAttributeChanges'](_0x4a60fd,_0x34fd3){const _0xacf4bc={};for(const [_0x55ac1f,_0x4ffd3d]of _0x4a60fd)_0xacf4bc[_0x55ac1f]={'oldValue':JSON['stringify'](_0x4ffd3d),'newValue':'null'};for(const [_0x45ffec,_0x3cded4]of _0x34fd3){const _0x495950=JSON['stringify'](_0x3cded4);_0xacf4bc[_0x45ffec]?_0xacf4bc[_0x45ffec]['oldValue']==_0x495950?delete _0xacf4bc[_0x45ffec]:_0xacf4bc[_0x45ffec]['newValue']=_0x495950:_0xacf4bc[_0x45ffec]={'oldValue':'null','newValue':_0x495950};}return delete _0xacf4bc[St],_0xacf4bc;}['_getAttrsForOffsets'](_0x5e238d,_0x17a8c6,_0x3d9239){const _0x3332c5=new Array(_0x17a8c6+_0x3d9239);let _0x33384f=_0x5e238d['getChildAtOffset'](_0x17a8c6),_0x193dc4=_0x33384f['startOffset'];for(;_0x33384f&&_0x193dc4<_0x17a8c6+_0x3d9239;){const _0x287f5b=Array['from'](_0x33384f['getAttributes']());_0x3332c5['fill'](_0x287f5b,_0x193dc4,_0x193dc4+_0x33384f['offsetSize']),_0x193dc4+=_0x33384f['offsetSize'],_0x33384f=_0x33384f['nextSibling'];}return _0x3332c5;}['_getPositionFromAnchorAndPath'](_0x5656dc,_0x1166db){const _0x222575=[..._0x5656dc['path']['slice'](0x0,-0x1),_0x5656dc['offset']+_0x1166db[0x0],..._0x1166db['slice'](0x1)];return new _0x13099c(_0x5656dc['root'],_0x222575);}['_makeModelFromTokens'](_0x4bbd0a){const _0x20695a=[];let _0x4fc39c=null;for(const _0xd350e6 of _0x4bbd0a)if('element'!=_0xd350e6['type']||_0xd350e6['isStart']||_0x4fc39c!=_0xd350e6['element']){if(!_0x4fc39c){if('text'==_0xd350e6['type']){const _0x24652a=_0x13099c['_createAt'](_0xd350e6['parent'],_0xd350e6['offset']),_0x58b471=_0x542a8e['_createFromPositionAndShift'](_0x24652a,_0xd350e6['data']['length']),_0x449c64=Array['from'](_0x58b471['getItems']())['map'](_0x537784=>new _0xf8eb20(_0x537784['data'],_0x537784['getAttributes']()));_0x20695a['push'](..._0x449c64);}else{_0x4fc39c=_0xd350e6['element'];const _0x1bc910=_0xd350e6['element']['_clone'](!0x0);_0x1bc910['_removeAttribute'](St);for(const _0x34f060 of this['_editor']['model']['createRangeIn'](_0x1bc910)['getItems']())_0x34f060['is']('element')&&_0x34f060['_removeAttribute'](St);_0x20695a['push'](_0x1bc910);}}}else _0x4fc39c=null;return _0x20695a;}}function g(_0x589a51,_0x112e34){return _0x589a51['type']===_0x112e34['type']&&(_0x589a51['limitId']===_0x112e34['limitId']&&('text'==_0x589a51['type']?_0x589a51['data']==_0x112e34['data']:function(_0x30f258,_0x4cf662){if(_0x30f258['isStart']!=_0x4cf662['isStart'])return!0x1;if(_0x30f258['isStart']&&_0x30f258['elementId']!=_0x4cf662['elementId'])return!0x1;if(_0x30f258['category']!=_0x4cf662['category'])return!0x1;if('block'==_0x30f258['category'])return!0x0;if('container'==_0x30f258['category']&&_0x30f258['elementId']!=_0x4cf662['elementId'])return!0x1;return _0x30f258['element']['name']==_0x4cf662['element']['name'];}(_0x589a51,_0x112e34)));}function _(_0xa44839){return k({'name':_0xa44839['name'],...Object['fromEntries'](_0xa44839['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,xt as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,It as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,_t as surroundingMarkersDetector,bt as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5a66f8=>0x1!=_0x5a66f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x46a7cf=>{const {af:{dictionary:_0x402068,getPluralForm:_0x4fa555}}={'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':_0x414b90=>0x1!=_0x414b90}};_0x46a7cf['af']||={'dictionary':{},'getPluralForm':null},_0x46a7cf['af']['dictionary']=Object['assign'](_0x46a7cf['af']['dictionary'],_0x402068),_0x46a7cf['af']['getPluralForm']=_0x4fa555;})(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':_0xd24c9c=>0x0==_0xd24c9c?0x0:0x1==_0xd24c9c?0x1:0x2==_0xd24c9c?0x2:_0xd24c9c%0x64>=0x3&&_0xd24c9c%0x64<=0xa?0x3:_0xd24c9c%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33fda3=>{const {ar:{dictionary:_0x3fb9c0,getPluralForm:_0x4cb492}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x4cc57a=>0x0==_0x4cc57a?0x0:0x1==_0x4cc57a?0x1:0x2==_0x4cc57a?0x2:_0x4cc57a%0x64>=0x3&&_0x4cc57a%0x64<=0xa?0x3:_0x4cc57a%0x64>=0xb?0x4:0x5}};_0x33fda3['ar']||={'dictionary':{},'getPluralForm':null},_0x33fda3['ar']['dictionary']=Object['assign'](_0x33fda3['ar']['dictionary'],_0x3fb9c0),_0x33fda3['ar']['getPluralForm']=_0x4cb492;})(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':_0x525b14=>0x1!=_0x525b14}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x201d43=>{const {ast:{dictionary:_0x56d25c,getPluralForm:_0x1e05fd}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x368013=>0x1!=_0x368013}};_0x201d43['ast']||={'dictionary':{},'getPluralForm':null},_0x201d43['ast']['dictionary']=Object['assign'](_0x201d43['ast']['dictionary'],_0x56d25c),_0x201d43['ast']['getPluralForm']=_0x1e05fd;})(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':_0x213e18=>0x1!=_0x213e18}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36bf37=>{const {az:{dictionary:_0x243b4d,getPluralForm:_0x48fd1b}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4931fe=>0x1!=_0x4931fe}};_0x36bf37['az']||={'dictionary':{},'getPluralForm':null},_0x36bf37['az']['dictionary']=Object['assign'](_0x36bf37['az']['dictionary'],_0x243b4d),_0x36bf37['az']['getPluralForm']=_0x48fd1b;})(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':_0x163271=>_0x163271%0xa==0x1&&_0x163271%0x64!=0xb?0x0:_0x163271%0xa>=0x2&&_0x163271%0xa<=0x4&&(_0x163271%0x64<0xa||_0x163271%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d6ace=>{const {be:{dictionary:_0xadbcb7,getPluralForm:_0x42af2a}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4a8456=>_0x4a8456%0xa==0x1&&_0x4a8456%0x64!=0xb?0x0:_0x4a8456%0xa>=0x2&&_0x4a8456%0xa<=0x4&&(_0x4a8456%0x64<0xa||_0x4a8456%0x64>=0x14)?0x1:0x2}};_0x3d6ace['be']||={'dictionary':{},'getPluralForm':null},_0x3d6ace['be']['dictionary']=Object['assign'](_0x3d6ace['be']['dictionary'],_0xadbcb7),_0x3d6ace['be']['getPluralForm']=_0x42af2a;})(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':_0x468f5b=>0x1!=_0x468f5b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc9f4ad=>{const {bg:{dictionary:_0x4b8013,getPluralForm:_0x3ac596}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x33f550=>0x1!=_0x33f550}};_0xc9f4ad['bg']||={'dictionary':{},'getPluralForm':null},_0xc9f4ad['bg']['dictionary']=Object['assign'](_0xc9f4ad['bg']['dictionary'],_0x4b8013),_0xc9f4ad['bg']['getPluralForm']=_0x3ac596;})(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':_0x101848=>0x1!=_0x101848}};
|