@ckeditor/ckeditor5-collaboration-core 47.6.2-alpha.0 → 47.6.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +13 -13
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/footnotes.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tablecellproperties.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/suggestionmarkerutils.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x575367,Editor as _0xcfd7f3,Plugin as _0x51dc32}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1fec89,Collection as _0x2a1af0,uid as _0x22aaf1,toArray as rt,first as _0x54eed6,FocusTracker as _0x5e1935,KeystrokeHandler as _0xf41b1d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x533a15,IconView as st,ButtonView as ts,DropdownButtonView as _0x317e8c,FocusCycler as _0x3eaa51,isViewWithFocusCycler as _0x59f2c9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x17fbce,IconCancel as _0x56616e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x352edd}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x541eaf,MoveOperation as _0x302ef1,ModelPosition as _0x405637,ModelRange as _0x4ec467,MarkerOperation as _0x53fe84,MergeOperation as _0x3bdaac,SplitOperation as _0x4a2811,RenameOperation as _0xdd4fed,AttributeOperation as _0xdc1edb,ModelTreeWalker as _0x1397a5,ModelText as _0x24bdae}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x5236f5}from'diff';class C extends _0x575367{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x3379df,_0x40e223){let _0x1525e4;if(_0x40e223||(_0x40e223=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x40e223?_0x1525e4=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x1525e4=this['context']['editors']['find'](_0xa3e187=>_0xa3e187['config']['get']('collaboration.channelId')==_0x40e223)),!_0x1525e4)throw new _0x1fec89('permissions-set-permissions-invalid-channel-id',null);const _0x53016f=_0x1525e4['plugins'],_0x2ebe57=_0x53016f['has']('CommentsRepository')?_0x53016f['get']('CommentsRepository'):void 0x0,_0x40369b=_0x53016f['has']('CommentsOnly')&&_0x53016f['get']('CommentsOnly'),_0x17cdca=_0x3379df['includes']('document:write'),_0x402093=_0x3379df['includes']('comment:modify_all'),_0x533279=_0x3379df['includes']('comment:admin'),_0x7b507e=_0x3379df['includes']('comment:write'),_0x141771=_0x7b507e||_0x533279,_0x30e3dc=_0x141771||_0x402093,_0x119527=_0x17cdca||_0x141771;(_0x40369b&&(_0x40369b['isEnabled']=!_0x17cdca&&_0x30e3dc),_0x1525e4 instanceof _0xcfd7f3)&&(!(_0x17cdca||_0x30e3dc&&_0x2ebe57)?_0x1525e4['enableReadOnlyMode']('no-permissions'):_0x1525e4['disableReadOnlyMode']('no-permissions'));if(_0x2ebe57){_0x2ebe57['setPermissions']({'admin':_0x533279,'modifyAll':_0x402093,'write':_0x7b507e,'resolve':_0x119527},_0x40e223);const _0x1c33be=_0x1525e4 instanceof _0xcfd7f3&&_0x1525e4['commands']['get']('addCommentThread');_0x1c33be&&(_0x141771?_0x1c33be['clearForceDisabled']('noPermissions'):_0x1c33be['forceDisabled']('noPermissions'));}}}function U(_0x49b443,_0x14ef5f){const t=_0x49b443['t'];switch(_0x14ef5f){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 _0x575367{['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(_0x28960b){super(_0x28960b),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x2a1af0(),this['_locale']=_0x28960b['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:_0x48e328,name:_0x375f8f,..._0x4795ba}){if(!_0x48e328||'string'!=typeof _0x48e328)throw new _0x1fec89('users-add-invalid-id');if(this['users']['has'](_0x48e328))throw new _0x1fec89('users-add-duplicated-id',null,{'id':_0x48e328});const _0x50f255=this['context']['config']['get']('users.getInitialsCallback'),_0x1a2167={..._0x4795ba,'id':_0x48e328,'name':A(this['_locale'],_0x375f8f),'color':this['_getNextColor']()};_0x1a2167['name']=A(this['_locale'],_0x1a2167['name']);const _0xd118f7=new lt(_0x1a2167,_0x50f255);return this['users']['add'](_0xd118f7),_0xd118f7;}['getUser'](_0x5ee269){return this['users']['get'](_0x5ee269);}['useAnonymousUser'](){const _0xe75883=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xe75883);}['defineMe'](_0x46fe34){if(this['_myId'])throw new _0x1fec89('users-me-already-defined',null);const _0x4cdc50=this['getUser'](_0x46fe34);if(!_0x4cdc50)throw new _0x1fec89('users-me-missing-user',null);this['_myId']=_0x46fe34,_0x4cdc50['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x961c35=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x961c35&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0xd33c6f=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0xd33c6f,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x45140d,_0x3dd5e8){this['id']=_0x45140d['id'],this['color']=_0x45140d['color'],this['name']=_0x45140d['name'],this['initials']=_0x3dd5e8?_0x3dd5e8(this['name']):this['_computeInitials'](),this['avatar']=_0x45140d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x40561e=this['name']['split']('\x20')['filter'](_0xe349f5=>/^[\p{Letter}]/u['test'](_0xe349f5));return 0x1===_0x40561e['length']?this['_getInitial'](_0x40561e[0x0]):0x0===_0x40561e['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x40561e[0x0])+this['_getInitial'](_0x40561e[_0x40561e['length']-0x1]);}['_getInitial'](_0x465286){return String['fromCodePoint'](_0x465286['codePointAt'](0x0))['toUpperCase']();}}function A(_0x2b5b3a,_0x5a2894=''){return''==(_0x5a2894=_0x5a2894['trim']())?U(_0x2b5b3a,'Anonymous'):_0x5a2894;}class ut{['_id'];constructor(_0x39583d){this['_id']=_0x39583d;}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 _0x533a15{['name'];['notificationView'];constructor(_0x27b04c,_0x53019f,_0x186e32){super(_0x27b04c),this['name']=_0x53019f['name'],this['notificationView']=null;const _0xa3968f=['ck','ck-user'],_0x90b7dd=['ck','ck-user__img'];if(_0x53019f['isAnonymous']&&_0x90b7dd['push']('ck-user__anonymous'),!_0x53019f['isAnonymous']&&_0x53019f['isMe']&&_0xa3968f['push']('ck-user_me'),_0x53019f['avatar']&&_0x90b7dd['push']('ck-user__avatar'),_0x186e32){const _0x3540c9=new st();_0x3540c9['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3540c9['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x186e32},'children':[_0x3540c9]};}const _0x469bab=[{'tag':'div','attributes':{'class':_0x90b7dd,'style':{'background-image':_0x53019f['avatar']?'url(\x27'+_0x53019f['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x53019f['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x53019f['name']},'children':[{'text':_0x53019f['initials']}]}];this['notificationView']&&_0x469bab['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xa3968f,'data-user-id':_0x53019f['id']},'children':_0x469bab});}}class dt extends _0x533a15{['id'];constructor(_0x1fe6ea,_0x179904){super(_0x1fe6ea),this['id']='ck-aria-description-'+_0x22aaf1(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x179904}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x317e8c{['render'](){super['render'](),re(this);}}function re(_0x1c4be3){_0x1c4be3['listenTo'](_0x1c4be3['element'],'mousedown',(_0x4fe304,_0x4024f5)=>{_0x4024f5['stopPropagation'](),_0x4024f5['preventDefault']();}),_0x1c4be3['listenTo'](_0x1c4be3['element'],'mouseup',()=>{_0x1c4be3['element']['focus']();});}function v(_0xffb509){const _0x27ed16=_0xffb509['split'](':');return{'group':_0x27ed16[0x0],'type':_0x27ed16[0x1],'subType':_0x27ed16['length']>=0x5?_0x27ed16[0x2]:null,'id':_0x27ed16['length']<0x5?_0x27ed16[0x2]:_0x27ed16[0x3],'authorId':_0x27ed16['length']<0x5?_0x27ed16[0x3]:_0x27ed16[0x4],'markerCount':0x6==_0x27ed16['length']?_0x27ed16[0x5]:null};}function mt(_0x2fd30a,_0x1070c6){const _0x2367ab=_0x2fd30a['end']['nodeBefore'];if(_0x2367ab&&_0x2367ab['is']('element')&&_0x1070c6['schema']['isBlock'](_0x2367ab)&&!_0x1070c6['schema']['isObject'](_0x2367ab)){const _0x4b9153=_0x1070c6['createPositionAt'](_0x2367ab,'end');return _0x1070c6['createRange'](_0x2fd30a['start'],_0x4b9153);}return _0x2fd30a;}class M extends _0x51dc32{['afterInit'](){const _0x455942=this['editor'];if(!_0x455942['plugins']['has']('AlignmentEditing'))return;_0x455942['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x51dc32{['afterInit'](){const _0x23b834=this['editor'],_0x39a34b=_0x23b834['plugins']['get']('SuggestionsConversion');for(const _0x468874 of ii){if(!_0x23b834['plugins']['has'](_0x468874))continue;const _0x53fab1=_0x468874['slice'](0x0,-0x7)['toLowerCase']();_0x39a34b['registerInlineAttribute'](_0x53fab1);}}}class I extends _0x51dc32{['afterInit'](){const _0x4cb47a=this['editor'],_0x48192d=_0x4cb47a['plugins']['get']('SuggestionsConversion');_0x4cb47a['plugins']['has']('BookmarkEditing')&&_0x48192d['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x51dc32{['afterInit'](){const _0x4b8e8d=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0xad400d,commandName:_0x45e1c0}of no)this['editor']['plugins']['has'](_0xad400d)&&_0x4b8e8d['registerInlineAttribute'](_0x45e1c0);}}class T extends _0x51dc32{['afterInit'](){const {editor:_0x2d853e}=this;if(!_0x2d853e['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x617fc4=_0x2d853e['plugins']['get']('SuggestionsConversion');_0x617fc4['registerBlockAttribute']('footnotesListStyle'),_0x617fc4['registerBlockAttribute']('footnotesListStart');}}class E extends _0x51dc32{['afterInit'](){const _0x37352f=this['editor'];if(!_0x37352f['plugins']['has']('HighlightEditing'))return;_0x37352f['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x51dc32{['afterInit'](){const _0x546880=this['editor'];if(!_0x546880['plugins']['has']('HtmlEmbed'))return;_0x546880['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x51dc32{['afterInit'](){const _0x1a680a=this['editor'];if(!_0x1a680a['plugins']['has']('ImageEditing'))return;const _0xb1ad15=_0x1a680a['plugins']['get']('SuggestionsConversion');_0xb1ad15['registerBlockAttribute']('src'),_0x1a680a['plugins']['has']('ImageResize')&&_0xb1ad15['registerBlockAttribute']('resizedWidth'),_0x1a680a['plugins']['has']('ImageTextAlternativeEditing')&&_0xb1ad15['registerBlockAttribute']('alt'),_0x1a680a['plugins']['has']('PictureEditing')&&_0xb1ad15['registerBlockAttribute']('sources'),_0x1a680a['plugins']['has']('ImageSizeAttributes')&&(_0xb1ad15['registerBlockAttribute']('width'),_0xb1ad15['registerBlockAttribute']('height'));}}class x extends _0x51dc32{['afterInit'](){const _0x4b3db0=this['editor'],_0x4d6f8d=_0x4b3db0['plugins']['get']('SuggestionsConversion');_0x4b3db0['plugins']['has']('IndentBlock')&&(_0x4d6f8d['registerBlockAttribute']('blockIndent'),_0x4b3db0['plugins']['has']('ListEditing')&&(_0x4d6f8d['registerBlockAttribute']('blockIndentList'),_0x4d6f8d['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x51dc32{['afterInit'](){const _0x302bb3=this['editor'];if(!_0x302bb3['plugins']['has']('LineHeight'))return;_0x302bb3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x51dc32{['afterInit'](){const _0xff4173=this['editor'];if(!_0xff4173['plugins']['has']('LinkEditing'))return;const _0x5018ea=_0xff4173['plugins']['get']('SuggestionsConversion'),_0x1a3d2b=_0xff4173['commands']['get']('link');_0x5018ea['registerInlineAttribute']('linkHref');for(const _0x571b8f of _0x1a3d2b['manualDecorators'])_0x5018ea['registerInlineAttribute'](_0x571b8f['id']);}}class P extends _0x51dc32{['afterInit'](){const _0x2a4984=this['editor'];if(!_0x2a4984['plugins']['has']('ListEditing'))return;const _0x2bc6e9=_0x2a4984['plugins']['get']('SuggestionsConversion'),_0x519d19=_0x2a4984['plugins']['has']('TodoListEditing');_0x2bc6e9['registerBlockAttribute']('listItemId'),_0x2bc6e9['registerBlockAttribute']('listType'),_0x2bc6e9['registerBlockAttribute']('listIndent'),_0x519d19&&_0x2bc6e9['registerBlockAttribute']('todoListChecked');}}class K extends _0x51dc32{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x40c16e=this['editor']['config']['get']('list.properties'),_0x22d9a1=this['editor']['plugins']['get']('SuggestionsConversion');_0x40c16e['styles']&&_0x22d9a1['registerBlockAttribute']('listStyle'),_0x40c16e['reversed']&&_0x22d9a1['registerBlockAttribute']('listReversed'),_0x40c16e['startIndex']&&_0x22d9a1['registerBlockAttribute']('listStart');}}class q extends _0x51dc32{['afterInit'](){const _0x4c846c=this['editor'],_0x5ba88c=_0x4c846c['plugins']['get']('SuggestionsConversion');_0x4c846c['plugins']['has']('MultiLevelList')&&_0x5ba88c['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x51dc32{['afterInit'](){const _0x510a8d=this['editor'];if(!_0x510a8d['plugins']['has']('Style')||!_0x510a8d['plugins']['has']('DataSchema')||!_0x510a8d['config']['get']('style.definitions'))return;const _0x502180=_0x510a8d['plugins']['get']('SuggestionsConversion'),_0x2e7096=_0x510a8d['config']['get']('style.definitions'),_0x5cba07=_0x510a8d['plugins']['get']('GeneralHtmlSupport'),_0x51d980=_0x510a8d['plugins']['get']('StyleUtils')['normalizeConfig'](_0x510a8d['plugins']['get']('DataSchema'),_0x2e7096),_0x2f254a=new Set();for(const _0x34f0af of _0x51d980['block']){const _0x3b3ed1=_0x5cba07['getGhsAttributeNameForElement'](_0x34f0af['element']);_0x2f254a['add'](_0x3b3ed1);}const _0x4d4b48=new Set();for(const _0x2b6762 of _0x51d980['inline']){const _0x122a7b=_0x5cba07['getGhsAttributeNameForElement'](_0x2b6762['element']);_0x4d4b48['add'](_0x122a7b);for(const _0x5c5fab of _0x2b6762['ghsAttributes'])_0x4d4b48['add'](_0x5c5fab);}for(const _0x4aebca of _0x2f254a)_0x502180['registerBlockAttribute'](_0x4aebca);for(const _0x212cdb of _0x4d4b48)_0x502180['registerInlineAttribute'](_0x212cdb);}}class O extends _0x51dc32{['afterInit'](){const _0x1b68f3=this['editor'];if(!_0x1b68f3['plugins']['has']('TableEditing'))return;const _0x178f32=_0x1b68f3['plugins']['get']('SuggestionsConversion');_0x178f32['registerBlockAttribute']('headingRows'),_0x178f32['registerBlockAttribute']('headingColumns');}}class R extends _0x51dc32{['afterInit'](){const {plugins:_0x3f4d89}=this['editor'];if(!_0x3f4d89['has']('TablePropertiesEditing'))return;const _0x2c20c1=_0x3f4d89['get']('SuggestionsConversion'),_0x118047=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x10f3c3 of _0x118047)_0x2c20c1['registerBlockAttribute'](_0x10f3c3);}}class F extends _0x51dc32{['afterInit'](){const _0x1a2bc4=this['editor'],_0x3d6355=_0x1a2bc4['plugins']['get']('SuggestionsConversion');_0x1a2bc4['plugins']['has']('TableLayout')&&_0x3d6355['registerBlockAttribute']('tableType');}}class G extends _0x51dc32{['afterInit'](){const _0x36afb4=this['editor'],_0x47decc=this['editor']['plugins']['get']('SuggestionsConversion');_0x36afb4['plugins']['has']('Uploadcare')&&_0x36afb4['plugins']['has']('UploadcareImageEdit')&&_0x47decc['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x51dc32{['afterInit'](){const _0x56b60e=this['editor'];if(!_0x56b60e['plugins']['has']('ShiftEnter'))return;const _0x5de0be=_0x56b60e['plugins']['get']('SuggestionsConversion'),_0x396d90=(_0x4bfa45,_0x5dc6b6,_0x2dcb49,_0x21c12a)=>{if(_0x21c12a&&!_0x2dcb49['options']['showSuggestionHighlights'])return;if(!_0x2dcb49['consumable']['test'](_0x5dc6b6['markerRange'],_0x4bfa45['name']))return;const _0x44aedb=_0x56b60e['model'];for(const _0x4c2c5b of _0x5dc6b6['markerRange']['getItems']()){if(!_0x4c2c5b['is']('element','softBreak'))continue;const _0xe09e2f='deletion'==_0x5dc6b6['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x5699a5,authorId:_0x1b42fd}=v(_0x5dc6b6['markerName']),_0x210f9e=_0x2dcb49['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xe09e2f,'data-suggestion':_0x5699a5,'data-author-id':_0x1b42fd}),_0x1c2be0=_0x2dcb49['mapper']['toViewPosition'](_0x44aedb['createPositionBefore'](_0x4c2c5b));!_0x21c12a&&_0x5de0be['_activeMarkers']['includes'](_0x5dc6b6['markerName'])&&_0x2dcb49['writer']['addClass']('ck-suggestion-marker--active',_0x210f9e),_0x2dcb49['writer']['insert'](_0x1c2be0,_0x210f9e),_0x2dcb49['mapper']['bindElementToMarker'](_0x210f9e,_0x5dc6b6['markerName']);}};_0x56b60e['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0xbbbba8,_0x58b44a,_0x425a06)=>{_0x396d90(_0xbbbba8,_0x58b44a,_0x425a06,!0x1);},{'priority':'high'}),_0x56b60e['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x41e531,_0x2531d5,_0x12783f)=>{_0x396d90(_0x41e531,_0x2531d5,_0x12783f,!0x0);},{'priority':'high'});}}class L extends _0x51dc32{['afterInit'](){const _0x430317=this['editor'];_0x430317['plugins']['has']('MediaEmbedEditing')&&(_0x430317['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3d725d,{writer:_0x1f8ea0,options:_0x4c35d5})=>{if(_0x4c35d5['showSuggestionHighlights'])return _0x1f8ea0['createEmptyElement']('div');},'converterPriority':'high'}),_0x430317['data']['downcastDispatcher']['on']('attribute:url:media',(_0x43ca53,_0x19c3d3,_0x2ed807)=>{_0x2ed807['options']['showSuggestionHighlights']&&_0x43ca53['stop']();},{'priority':'high'}));}}class Q extends _0x51dc32{['afterInit'](){const _0x1d7033=this['editor'];if(!_0x1d7033['plugins']['has']('Table'))return;_0x1d7033['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x185228,_0x265f04,_0x1ec0f2)=>{((_0x1f17a5,_0x1a9a4b,_0x1e963b)=>{if(!_0x1e963b['options']['showSuggestionHighlights'])return;const _0x299fe1=_0x1a9a4b['item'];if(!_0x299fe1||!_0x299fe1['is']('element','tableCell'))return;const _0xeeb732=_0x1e963b['mapper']['toViewElement'](_0x299fe1);if(_0xeeb732){const {id:_0x5d81bb,authorId:_0x27270b}=v(_0x1a9a4b['markerName']);at(_0xeeb732,_0x1e963b['writer'],(_0x2c665f,_0x3537f3,_0x5d67e3)=>{_0x5d67e3['addClass'](rt(_0x3537f3['classes']),_0x2c665f),_0x5d67e3['setAttribute']('data-suggestion-id',_0x5d81bb,_0x2c665f),_0x5d67e3['setAttribute']('data-author-id',_0x27270b,_0x2c665f);});}})(0x0,_0x265f04,_0x1ec0f2);},{'priority':'highest'});}}class V extends _0x51dc32{['afterInit'](){const _0x250172=this['editor'];_0x250172['plugins']['has']('HorizontalLineEditing')&&_0x250172['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x5bd4de,{writer:_0x5ced7c,options:_0x4cee61})=>{if(!_0x4cee61['showSuggestionHighlights'])return null;const _0x1effc2=_0x5ced7c['createContainerElement']('div'),_0x5847fe=_0x5ced7c['createEmptyElement']('hr');return _0x5ced7c['addClass']('ck-horizontal-line',_0x1effc2),_0x5ced7c['insert'](_0x5ced7c['createPositionAt'](_0x1effc2,0x0),_0x5847fe),_0x1effc2;},'converterPriority':'high'});}}class W extends _0x51dc32{['afterInit'](){const {plugins:_0x2682c,model:_0x4bcf6c}=this['editor'];if(!_0x2682c['has']('TableCellPropertiesEditing'))return;const _0x36cc89=_0x2682c['get']('SuggestionsConversion'),_0x5b7e3d=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x380489 of _0x5b7e3d)_0x36cc89['registerBlockAttribute'](_0x380489);_0x4bcf6c['schema']['checkAttribute']('tableCell','tableCellType')&&_0x36cc89['registerBlockAttribute']('tableCellType');}}class kt extends _0x51dc32{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4fefee=this['editor'],_0x5ed514=(_0x218e76,_0x7df042,_0x48346a)=>{const {id:_0x61b305,authorId:_0x2d0967,type:_0x15de3d,subType:_0x2f18a7}=v(_0x218e76['markerName']),_0x2e94c3=['ck-suggestion-marker',this['_getClassName'](_0x15de3d,_0x2f18a7)];let _0x502e29=0xbb8;return!_0x48346a&&(this['_activeMarkers']['includes'](_0x218e76['markerName'])&&(_0x2e94c3['push']('ck-suggestion-marker--active'),_0x502e29=0xbc2)),('deletion'==_0x15de3d&&(_0x502e29+=0x5),{'classes':_0x2e94c3,'attributes':{'data-suggestion':_0x61b305,'data-author-id':_0x2d0967},'priority':_0x502e29});};_0x4fefee['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x438bde,_0x99136d)=>_0x5ed514(_0x438bde,0x0,!0x1)}),_0x4fefee['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1e1e9c,_0x26b3ed)=>_0x5ed514(_0x1e1e9c,0x0,!0x0)}),_0x4fefee['conversion']['for']('dataDowncast')['add'](_0x2ab574=>{_0x2ab574['on']('addMarker:suggestion',(_0x2f53a2,_0x344cad,_0x8c3d99)=>{if(!_0x8c3d99['options']['showSuggestionHighlights'])return;const _0x5cdc6b=_0x344cad['item'];if(!_0x5cdc6b)return;const _0x37818f=_0x8c3d99['mapper']['toViewElement'](_0x5cdc6b);_0x4fefee['model']['schema']['isObject'](_0x5cdc6b)&&_0x37818f&&!_0x37818f['getCustomProperty']('widget')&&_0x37818f['is']('containerElement')&&_0x352edd(_0x37818f,_0x8c3d99['writer']);},{'priority':'high'});});const _0x507b13=(_0x93ddf8,_0x4d29e4,_0xb6488c,_0xe5a356,_0x181d34)=>{if(_0xe5a356&&!_0xb6488c['options']['showSuggestionHighlights'])return;if(!_0x4d29e4['item'])return;const {id:_0x339b18,authorId:_0x37153e,subType:_0x427d77}=v(_0x4d29e4['markerName']);if(_0x181d34){const _0xca9a05=_0x427d77['split']('|')[0x0];if(!this['isBlockAttribute'](_0xca9a05))return;}if(_0x4d29e4['item']['is']('selection'))return void _0xb6488c['consumable']['consume'](_0x4d29e4['item'],_0x93ddf8['name']);const _0x45d53a=_0xb6488c['mapper']['toViewElement'](_0x4d29e4['item']);if(_0x4d29e4['item']['is']('element')&&_0x4fefee['model']['schema']['isBlock'](_0x4d29e4['item'])&&!_0x45d53a['getCustomProperty']('addHighlight')){_0xb6488c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x45d53a),_0xb6488c['writer']['setAttribute']('data-suggestion',_0x339b18,_0x45d53a),_0xb6488c['writer']['setAttribute']('data-author-id',_0x37153e,_0x45d53a),_0xb6488c['mapper']['bindElementToMarker'](_0x45d53a,_0x4d29e4['markerName']),_0xe5a356||(this['_activeMarkers']['includes'](_0x4d29e4['markerName'])?_0xb6488c['writer']['addClass']('ck-suggestion-marker--active',_0x45d53a):_0xb6488c['writer']['removeClass']('ck-suggestion-marker--active',_0x45d53a));for(const _0x551064 of _0x4fefee['model']['createRangeIn'](_0x4d29e4['item'])['getItems']())_0xb6488c['consumable']['consume'](_0x551064,_0x93ddf8['name']);_0xb6488c['consumable']['consume'](_0x4d29e4['item'],_0x93ddf8['name']);}},_0x28977a=(_0x2ba84a,_0x195888,_0x4aecc6,_0x4a28ad)=>{const _0x35d3d8=_0x4aecc6['mapper']['markerNameToElements'](_0x195888['markerName']);if(_0x35d3d8){if(_0x4a28ad){const {subType:_0x11f23b}=v(_0x195888['markerName']),_0x3ba5ec=_0x11f23b['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3ba5ec))return;}for(const _0x4dd1aa of _0x35d3d8)_0x4dd1aa['getCustomProperty']('addHighlight')||(_0x4aecc6['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x4dd1aa),_0x4aecc6['writer']['removeAttribute']('data-suggestion',_0x4dd1aa),_0x4aecc6['writer']['removeAttribute']('data-author-id',_0x4dd1aa),_0x4aecc6['mapper']['unbindElementFromMarkerName'](_0x4dd1aa,_0x195888['markerName']));}};_0x4fefee['conversion']['for']('editingDowncast')['add'](_0x4d451c=>{_0x4d451c['on']('addMarker:suggestion:formatBlock',(_0x14bdf3,_0x58e39c,_0x5e9dae)=>{_0x507b13(_0x14bdf3,_0x58e39c,_0x5e9dae,!0x1,!0x1);},{'priority':'high'});}),_0x4fefee['conversion']['for']('editingDowncast')['add'](_0x523368=>{_0x523368['on']('addMarker:suggestion:attribute',(_0x2a5160,_0x215702,_0x41a56f)=>{_0x507b13(_0x2a5160,_0x215702,_0x41a56f,!0x1,!0x0);},{'priority':'high'});}),_0x4fefee['conversion']['for']('editingDowncast')['add'](_0x34599c=>{_0x34599c['on']('removeMarker:suggestion:formatBlock',(_0xc488ee,_0x1b30ac,_0x5c0bc6)=>{_0x28977a(0x0,_0x1b30ac,_0x5c0bc6,!0x1);},{'priority':'high'});}),_0x4fefee['conversion']['for']('editingDowncast')['add'](_0x1d93cf=>{_0x1d93cf['on']('removeMarker:suggestion:attribute',(_0x46c08d,_0x342087,_0x355ca7)=>{_0x28977a(0x0,_0x342087,_0x355ca7,!0x0);},{'priority':'high'});}),_0x4fefee['conversion']['for']('dataDowncast')['add'](_0x44b857=>{_0x44b857['on']('addMarker:suggestion:formatBlock',(_0x256977,_0x19f24d,_0x17ef5d)=>{_0x507b13(_0x256977,_0x19f24d,_0x17ef5d,!0x0,!0x1);},{'priority':'highest'});}),_0x4fefee['conversion']['for']('dataDowncast')['add'](_0x2d4d60=>{_0x2d4d60['on']('addMarker:suggestion:attribute',(_0x4d6671,_0x4bac9a,_0x3335ef)=>{_0x507b13(_0x4d6671,_0x4bac9a,_0x3335ef,!0x0,!0x0);},{'priority':'highest'});}),_0x4fefee['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x50683b,_0x157829)=>{if(_0x157829['options']['showSuggestionHighlights']){const {id:_0x10a919,authorId:_0x32c43a}=v(_0x50683b);return _0x50683b['includes'](':split')||_0x50683b['includes'](':merge')?{'group':'suggestion','name':_0x50683b['substr'](0xb),'attributes':{'data-suggestion':_0x10a919,'data-author-id':_0x32c43a}}:null;}return{'group':'suggestion','name':_0x50683b['substr'](0xb)};}});const _0x1b134c=(_0x426276,_0x4986e1,_0x4b08db,_0x2b3710,_0x532897)=>{if(_0x2b3710&&!_0x4b08db['options']['showSuggestionHighlights'])return;if(!_0x4b08db['consumable']['test'](_0x4986e1['markerRange'],_0x426276['name']))return;const _0x28beba=this['_activeMarkers'],_0x267347=_0x4986e1['markerRange']['getWalker'](),_0x8b6ff8=_0x4986e1['markerRange']['start'],_0x37cd78=_0x4fefee['model']['schema'];let _0x505c9c=null,_0x520093=null,_0x1de6d7=!0x1,_0x2b7846=!0x1;for(const _0x2ec284 of _0x267347){const _0x5b4926=_0x2ec284['item'];_0x1de6d7=_0x1de6d7||_0x37cd78['isContent'](_0x5b4926);const _0x5d14b6=_0x4b08db['mapper']['toViewElement'](_0x5b4926);if(_0x5d14b6&&_0x5d14b6['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2ec284['type']&&(_0x37cd78['isBlock'](_0x5b4926)&&!_0x37cd78['isLimit'](_0x5b4926)&&(_0x5b4926['nextSibling']||_0x8b6ff8['isAtEnd']?_0x505c9c&&_0x505c9c['parent']==_0x5b4926||(_0x505c9c=_0x5b4926,_0x57ce8e(_0x2ec284['previousPosition']),_0x2b7846=!0x0):_0x520093=_0x520093||_0x2ec284['previousPosition']));}function _0x57ce8e(_0x441fc7){const {id:_0x53ad55,authorId:_0x3097f3}=v(_0x4986e1['markerName']),_0x352b20=_0x4b08db['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x532897,'data-suggestion':_0x53ad55,'data-author-id':_0x3097f3}),_0x5ec248=_0x4b08db['mapper']['toViewPosition'](_0x441fc7);!_0x2b3710&&_0x28beba['includes'](_0x4986e1['markerName'])&&_0x4b08db['writer']['addClass']('ck-suggestion-marker--active',_0x352b20),_0x4b08db['writer']['insert'](_0x5ec248,_0x352b20),_0x4b08db['mapper']['bindElementToMarker'](_0x352b20,_0x4986e1['markerName']);}_0x1de6d7||_0x2b7846||!_0x520093||_0x57ce8e(_0x520093);};_0x4fefee['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x38d59c,_0x19b618,_0x5d74dc)=>{_0x1b134c(_0x38d59c,_0x19b618,_0x5d74dc,!0x1,'merge');},{'priority':'high'}),_0x4fefee['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x68ced9,_0x511b92,_0x822ef3)=>{_0x1b134c(_0x68ced9,_0x511b92,_0x822ef3,!0x0,'merge');},{'priority':'high'}),_0x4fefee['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x150a38,_0x1206f3,_0x5b8304)=>{_0x1b134c(_0x150a38,_0x1206f3,_0x5b8304,!0x1,'split');},{'priority':'high'}),_0x4fefee['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ee383,_0x1f4950,_0x345e9b)=>{_0x1b134c(_0x1ee383,_0x1f4950,_0x345e9b,!0x0,'split');},{'priority':'high'}),_0x4fefee['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x45759e,_0xc95645,_0x3750cd)=>{((_0x8c7744,_0x45afc2,_0x46995c)=>{const _0x314abf=_0x46995c['mapper']['markerNameToElements'](_0x45afc2['markerName']);if(_0x314abf){for(const _0x46fc17 of _0x314abf)(_0x46fc17['hasClass']('ck-suggestion-marker-split')||_0x46fc17['hasClass']('ck-suggestion-marker-merge'))&&(_0x46995c['mapper']['unbindElementFromMarkerName'](_0x46fc17,_0x45afc2['markerName']),_0x46995c['writer']['remove'](_0x46fc17));}})(0x0,_0xc95645,_0x3750cd);},{'priority':'high'});const _0x3ce4eb=(_0x4bc2c3,_0x4fe149,_0x7596a7,_0x18fba5)=>{if(_0x18fba5&&!_0x7596a7['options']['showSuggestionHighlights'])return;const _0x4f81b8=_0x4fe149['markerRange']['start'],_0x3c46b1=_0x4fe149['markerRange']['end'],_0x35e779=_0x4fefee['model']['schema'];if(!_0x4f81b8['isTouching'](_0x3c46b1)||!_0x4f81b8['nodeAfter'])return;const _0xa19b8a=_0x4f81b8['nodeAfter'];if(_0x35e779['isBlock'](_0xa19b8a)&&!_0x35e779['isLimit'](_0xa19b8a)&&_0x35e779['checkChild'](_0xa19b8a,'$text')){if(!_0x7596a7['consumable']['consume'](_0x4fe149['markerRange'],_0x4bc2c3['name']))return;const {id:_0x4d4766,authorId:_0x2569d4}=v(_0x4fe149['markerName']),_0x667f74=_0x7596a7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4d4766,'data-author-id':_0x2569d4}),_0x1a47b8=_0x7596a7['mapper']['toViewPosition'](_0x3c46b1);!_0x18fba5&&this['_activeMarkers']['includes'](_0x4fe149['markerName'])&&_0x7596a7['writer']['addClass']('ck-suggestion-marker--active',_0x667f74),_0x7596a7['writer']['insert'](_0x1a47b8,_0x667f74),_0x7596a7['mapper']['bindElementToMarker'](_0x667f74,_0x4fe149['markerName']);}};_0x4fefee['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x31aa5b,_0x8c263,_0x50ffff)=>{_0x3ce4eb(_0x31aa5b,_0x8c263,_0x50ffff,!0x1);},{'priority':'high'}),_0x4fefee['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x540643,_0x55e8a0,_0x46fc87)=>{_0x3ce4eb(_0x540643,_0x55e8a0,_0x46fc87,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x5983c4,_0x314669,_0x445a55)=>{this['_activeMarkers']=_0x445a55['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x14c39b){this['_blockAttributeKeys']['add'](_0x14c39b);}['registerInlineAttribute'](_0x1489a1){this['_inlineAttributeKeys']['add'](_0x1489a1);}['isBlockAttribute'](_0x4c15fc){return this['_blockAttributeKeys']['has'](_0x4c15fc);}['isInlineAttribute'](_0x319990){return this['_inlineAttributeKeys']['has'](_0x319990);}['isRegisteredAttribute'](_0x9e5e0){return this['isInlineAttribute'](_0x9e5e0)||this['isBlockAttribute'](_0x9e5e0);}['_getClassName'](_0x5e8a05,_0x3af3a1){if('attribute'!=_0x5e8a05)return'ck-suggestion-marker-'+_0x5e8a05;const _0x17b28b=_0x3af3a1['split']('|')[0x0];return this['isBlockAttribute'](_0x17b28b)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x3b74bb={},_0x1086c4){if(void 0x0!==_0x3b74bb['dateTimeFormat']&&'function'!=typeof _0x3b74bb['dateTimeFormat'])throw new _0x1fec89('invalid-date-time-format');return _0x121d79=>{const _0x541247='string'==typeof _0x121d79?tt['fromISO'](_0x121d79):tt['fromJSDate'](_0x121d79),_0x11f4fa=tt['now'](),_0x86bcd2=Math['floor'](_0x11f4fa['diff'](_0x541247,'days')['days']);return _0x3b74bb['dateTimeFormat']?_0x3b74bb['dateTimeFormat'](_0x541247['toJSDate'](),_0x1086c4&&_0x1086c4['t']?_0x1086c4['t']:void 0x0):0x0===_0x86bcd2?_0x1086c4?U(_0x1086c4,'Today')+'\x20'+_0x541247['toFormat']('hh:mma'):_0x541247['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x86bcd2?_0x1086c4?U(_0x1086c4,'Yesterday')+'\x20'+_0x541247['toFormat']('hh:mma'):_0x541247['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x86bcd2<0x7?_0x1086c4?U(_0x1086c4,'Last')+'\x20'+U(_0x1086c4,_0x541247['toFormat']('EEEE'))+'\x20'+_0x541247['toFormat']('hh:mma'):_0x541247['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x541247['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x173944,_0x28584b){const _0xb7c519=_0x173944['mapper']['markerNameToElements'](_0x28584b['name']);if(!_0xb7c519)return null;const _0x5b092e=_0x54eed6(_0xb7c519['values']());return _0x173944['view']['domConverter']['mapViewToDom'](_0x5b092e)||null;}function wt(_0x20fe61,_0x312a8b){if(0x0===_0x312a8b['length'])return null;const _0x86c3cc=[],_0x5a28a5=_0x20fe61['view']['domConverter'];for(const _0x40bd4d of _0x312a8b){const _0x2933ba=_0x20fe61['mapper']['markerNameToElements'](_0x40bd4d['name']);if(!_0x2933ba)continue;const _0x58e5ab=Array['from'](_0x2933ba)['map'](_0x1347a3=>_0x5a28a5['mapViewToDom'](_0x1347a3))['filter'](_0x4968dc=>!!_0x4968dc);_0x86c3cc['push'](..._0x58e5ab);}if(0x0===_0x86c3cc['length'])return null;const _0x4a6b2d=[];for(const _0x498596 of _0x86c3cc){const _0xd1fea1=_0x498596['getClientRects']()['item'](0x0);_0xd1fea1&&_0x4a6b2d['push']({'x':_0xd1fea1['x'],'y':_0xd1fea1['y'],'domElement':_0x498596});}return 0x0===_0x4a6b2d['length']?null:(_0x4a6b2d['sort']((_0x598491,_0x3466be)=>_0x598491['y']-_0x3466be['y']||_0x598491['x']-_0x3466be['x']),_0x4a6b2d['map'](_0x145494=>_0x145494['domElement']));}function bt(_0x4f8659,{limit:_0x1d8214,suffix:_0x52e070='...'}){const _0xdb070b=[];let _0x50cb88=0x0;const _0x5d4b23=_0x4f8659['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x2514ce=0x0;_0x2514ce<_0x5d4b23['length'];_0x2514ce++){let _0x23b1c8=_0x5d4b23[_0x2514ce];const _0x2c735b=tn(_0x23b1c8);if(_0x23b1c8['startsWith']('<')){if(_0x50cb88>=_0x1d8214){const _0x1596c6=_0x23b1c8['match'](/[a-zA-Z]+/);if(!_0x1596c6){_0x5d4b23[_0x2514ce]='';continue;}const _0x48df8d=_0x1596c6[0x0];_0x23b1c8['startsWith']('</')?(_0xdb070b['length']&&(_0x23b1c8=''),_0xdb070b['pop']()):(_0xdb070b['push'](_0x48df8d),_0x23b1c8='');}}else{if(_0x50cb88>=_0x1d8214)_0x23b1c8='';else{if(_0x50cb88+_0x2c735b['length']>=_0x1d8214){let _0x30e4f1=_0x1d8214-_0x50cb88;if('\x20'===_0x2c735b[_0x30e4f1-0x1])_0x30e4f1--;else{const _0x49afd5=_0x2c735b['slice'](_0x30e4f1)['indexOf']('\x20');-0x1!==_0x49afd5?_0x30e4f1+=_0x49afd5:_0x30e4f1=_0x23b1c8['length'];}_0x23b1c8=_0x2c735b['slice'](0x0,_0x30e4f1)['join']('')+_0x52e070,_0x50cb88=_0x1d8214;}else _0x50cb88+=_0x2c735b['length'];}}_0x5d4b23[_0x2514ce]=_0x23b1c8;}return _0x5d4b23['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x2f7f24){const _0x22a529=[];for(let _0xd8e1d2=0x0;_0xd8e1d2<_0x2f7f24['length'];_0xd8e1d2++){const _0x123163=_0x2f7f24['substring'](_0xd8e1d2)['match'](/^&[a-z0-9#]+;/);if(_0x123163){const _0x5b73fe=_0x123163[0x0];_0x22a529['push'](_0x5b73fe),_0xd8e1d2+=_0x5b73fe['length']-0x1;}else _0x22a529['push'](_0x2f7f24[_0xd8e1d2]);}return _0x22a529;}class X extends _0x533a15{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5abf7f){super(_0x5abf7f);const _0xc3d26=this['bindTemplate'];this['set']('message',U(_0x5abf7f,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5abf7f,U(_0x5abf7f,'Yes'),_0x17fbce,'submit'),this['cancelView']=this['_createButtonView'](_0x5abf7f,U(_0x5abf7f,'No'),_0x56616e,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x5e1935(),this['keystrokes']=new _0xf41b1d(),this['focusCycler']=new _0x3eaa51({'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':_0xc3d26['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'](_0x637243,_0x30c024,_0x44c91b,_0x138046){const _0x3ccf74=new ts(_0x637243);return _0x3ccf74['label']=_0x30c024,_0x3ccf74['icon']=_0x44c91b,_0x3ccf74['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x138046}}),_0x3ccf74['on']('execute',()=>this['fire'](_0x138046)),_0x3ccf74;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x33ec95=>{this['keystrokes']['listenTo'](_0x33ec95['element']),this['focusTracker']['add'](_0x33ec95['element']);}),this['keystrokes']['set']('esc',(_0x204f62,_0x489b13)=>{this['fire']('cancel'),_0x489b13();});}}function vt(_0x577fb0){return class extends _0x577fb0{['showConfirm'](_0x16659c,_0x38026f){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x16659c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x38026f['appendChild'](this['confirmView']['element']),_0x38026f['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2693c7,_0x2e4f04,_0x386b39)=>{_0x386b39||_0x38026f['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x47bfb7=>this['confirmView']['on']('submit',_0x47bfb7));}['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(_0x594be4){let _0x525420=0x0,_0x3ca266=0x0;for(const _0x17d861 of ne(_0x594be4))_0x525420=(_0x525420<<0x5)-_0x525420+_0x17d861,_0x525420&=_0x525420,[_0x525420,_0x3ca266]=[_0x3ca266,_0x525420];return ie(_0x525420)+ie(_0x3ca266);}function*ee(_0x2e94d6){null==_0x2e94d6||null==_0x2e94d6?yield 0x12b9b0a1:0x0===_0x2e94d6||!0x1===_0x2e94d6?yield 0x0:0x1===_0x2e94d6||0x1==_0x2e94d6?yield 0x1:Array['isArray'](_0x2e94d6)?yield*function*(_0x4c9507){for(const _0x3796d0 of _0x4c9507)yield*ee(_0x3796d0);}(_0x2e94d6):'object'==typeof _0x2e94d6?yield*ne(_0x2e94d6):'string'==typeof _0x2e94d6?yield*oe(_0x2e94d6):'number'==typeof _0x2e94d6&&(yield _0x2e94d6);}function*ne(_0x16188b){if(yield te('{'),_0x16188b){const _0x40e081=Object['keys'](_0x16188b)['sort']();for(const _0x418a10 of _0x40e081){yield*oe(_0x418a10),yield te(':');const _0x38be6d=_0x16188b[_0x418a10];yield*ee(_0x38be6d);}}yield te('}');}function*oe(_0x8ad46e){yield te('\x22');for(const _0x2de736 of _0x8ad46e)yield te(_0x2de736);yield te('\x22');}function te(_0x1b61b1){return _0x1b61b1['charCodeAt'](0x0);}function ie(_0xd1f515){return(_0xd1f515*=Math['sign'](_0xd1f515))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x3fb408,_0x45e08f,_0x4563fe,_0x3335eb=[]){const _0x15fa46='string'==typeof _0x3fb408?_0x4563fe['get'](_0x3fb408)['constructor']:_0x3fb408['prototype']['constructor'];if(_0x45e08f['has'](_0x15fa46))return _0x45e08f['get'](_0x15fa46);_0x45e08f['set'](_0x15fa46,!0x0);const _0x1c8472=[...et,..._0x3335eb]['map'](_0x56389f=>{if(_0x4563fe['has'](_0x56389f))return _0x4563fe['get'](_0x56389f)['constructor'];})['filter'](_0x6aba74=>_0x6aba74);if(_0x15fa46&&_0x1c8472['includes'](_0x15fa46))return _0x45e08f['set'](_0x15fa46,!0x1),!0x1;if(!_0x15fa46['requires'])return _0x45e08f['set'](_0x15fa46,!0x0),!0x0;const _0x63caf=_0x15fa46['requires']['every'](_0x498dc0=>ot(_0x498dc0,_0x45e08f,_0x4563fe,_0x3335eb));return _0x45e08f['set'](_0x15fa46,_0x63caf),_0x63caf;}function Ct(_0x1a2272,_0x3d12d1){const _0x21c089={};for(const _0x2de5a8 of _0x1a2272['config']['names']())nt['includes'](_0x2de5a8)||(_0x21c089[_0x2de5a8]=_0x1a2272['config']['get'](_0x2de5a8));const _0x3bb475=_0x21c089['plugins']||[],_0x4c6785=_0x1a2272['constructor']['builtinPlugins']||[],_0x4c66dd=_0x3bb475['length']?_0x3bb475:_0x4c6785,_0x28353c=_0x21c089['extraPlugins']||[];delete _0x21c089['extraPlugins'];const _0x4cbbee=_0x21c089['removePlugins']||[];delete _0x21c089['removePlugins'];const _0xefbb63=_0x1a2272['_context']['config']['get']('plugins')||[],_0x1fa69d=_0x4c66dd['concat'](_0x28353c)['concat'](_0xefbb63)['map'](_0x58ff85=>'string'==typeof _0x58ff85?_0x4c6785['find'](_0x56c160=>_0x56c160['pluginName']==_0x58ff85):_0x58ff85)['filter'](_0x37eabc=>!_0x4cbbee['includes'](_0x37eabc)&&!_0x4cbbee['includes'](_0x37eabc['pluginName'])),_0x3c8bf8=Array['from'](new Set(_0x1fa69d)),_0x1b7812=new Map();return _0x21c089['plugins']=_0x3c8bf8['filter'](_0x1ca377=>ot(_0x1ca377,_0x1b7812,_0x1a2272['plugins'],_0x3d12d1)),_0x21c089;}function xt(_0x362204,_0x347019){const _0xac139c=[];_0x362204['document']['selection']['on']('change:range',()=>{const _0x4b16fd=function(_0x2be3bb,_0x18429d){const _0x3b55b5=[];for(const _0xb611c2 of _0x2be3bb['markers']){const _0x1e22e4=_0xb611c2['getRange']();(_0x1e22e4['containsPosition'](_0x18429d)||_0x1e22e4['start']['isEqual'](_0x18429d)||_0x1e22e4['end']['isEqual'](_0x18429d))&&_0x3b55b5['push'](_0xb611c2);}return _0x3b55b5;}(_0x362204,_0x362204['document']['selection']['focus']),_0x4d63ae=[],_0x49de6f=[],_0x2ba537=[];for(const _0x3ddd17 of _0xac139c)_0x4b16fd['includes'](_0x3ddd17)||_0x4d63ae['push'](_0x3ddd17);for(const _0xe7f0c0 of _0x4b16fd)_0xac139c['includes'](_0xe7f0c0)||_0x49de6f['push'](_0xe7f0c0),_0x2ba537['push'](_0xe7f0c0);(_0x4d63ae['length']||_0x49de6f['length'])&&_0x347019({'left':_0x4d63ae,'entered':_0x49de6f}),_0xac139c['length']=0x0,_0xac139c['push'](..._0x2ba537);});}const It='Ctrl+Shift+E';function _t(_0x4deb48,_0x540eb1){const _0x39a531=_0x4deb48['element'];_0x4deb48['keystrokes']['listenTo'](_0x39a531);for(const _0x5f4d95 of _0x540eb1)ro(_0x4deb48,_0x5f4d95);_0x540eb1['on']('change',(_0x222734,_0x5645d0)=>{for(const _0x38f128 of _0x5645d0['removed'])to(_0x4deb48,_0x38f128);for(const _0x55c2ee of Array['from'](_0x5645d0['added'])['reverse']())ro(_0x4deb48,_0x55c2ee);}),_0x4deb48['keystrokes']['set']('enter',(_0x5cd8f5,_0x3ee114)=>{_0x39a531===_0x5cd8f5['target']&&(_0x4deb48['focusCycler']['focusFirst'](),_0x3ee114());},{'filter':_0x579514=>_0x579514['target']===_0x39a531}),_0x4deb48['keystrokes']['set']('esc',(_0x313fe8,_0x370d4c)=>{_0x39a531!==_0x313fe8['target']?_0x4deb48['focus']():_0x4deb48['fire']('escape'),_0x370d4c();}),_0x4deb48['keystrokes']['set']('arrowdown',(_0x1cb8dc,_0xa85d21)=>{_0x39a531===_0x1cb8dc['target']&&(_0x4deb48['fire']('arrowdown'),_0xa85d21());}),_0x4deb48['keystrokes']['set']('arrowup',(_0x4ba5ca,_0x3e8da9)=>{_0x39a531===_0x4ba5ca['target']&&(_0x4deb48['fire']('arrowup'),_0x3e8da9());});}function ro(_0x1070df,_0x41ca30){_0x41ca30['isRendered']&&(_0x1070df['focusTracker']['add'](_0x41ca30['element']),_0x1070df['keystrokes']['listenTo'](_0x41ca30['element']),_0x59f2c9(_0x41ca30)&&function(_0x3d892f,_0x459aee){const _0x54186f=_0x3d892f['actions'],_0x31a74d=_0x459aee['actions'];for(const _0x4d9ca3 of Object['keys'](_0x54186f))if(_0x4d9ca3 in _0x31a74d&&_0x54186f[_0x4d9ca3]!==_0x31a74d[_0x4d9ca3])return!0x1;return!0x0;}(_0x1070df['focusCycler'],_0x41ca30['focusCycler'])&&_0x1070df['focusCycler']['chain'](_0x41ca30['focusCycler']));}function to(_0x379b9b,_0x5ccac7){_0x379b9b['focusTracker']['remove'](_0x5ccac7['element']),_0x379b9b['keystrokes']['stopListening'](_0x5ccac7['element']),_0x59f2c9(_0x5ccac7)&&_0x379b9b['focusCycler']['unchain'](_0x5ccac7['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x575367{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0xcfd7f3?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x46f2e9,_0x5294d1)=>{_0x5294d1['on']('ready',()=>{this['_integrateEditor'](_0x5294d1);});});}get['editor'](){if(this['context']instanceof _0xcfd7f3)return this['context'];{const _0x19ddf6=this['context']['editors']['first'];if(!_0x19ddf6)throw new _0x1fec89('documentcompare-no-editor',this);return _0x19ddf6;}}['getDiff'](_0x535560,_0x166571,_0x2d63a5={'anchor':'main','markDeletions':!0x1}){let _0x41bcde,_0x274339;const _0x1ce575=this['editor'];if('string'==typeof _0x2d63a5['anchor']){const _0x5ac6a7=_0x1ce575['model']['document']['getRoot'](_0x2d63a5['anchor']);if(!_0x5ac6a7)throw new _0x1fec89('documentcompare-compare-no-root',this,{'anchor':_0x2d63a5['anchor']});_0x41bcde=_0x5ac6a7,_0x274339=_0x1ce575['model']['createPositionAt'](_0x5ac6a7,0x0);}else _0x41bcde=_0x2d63a5['anchor']['clone'](),_0x274339=_0x2d63a5['anchor']['clone']();const _0x4a1c75=_0x1ce575['data']['parse'](_0x535560,_0x41bcde),_0x14097d=_0x1ce575['data']['parse'](_0x166571,_0x41bcde);return new Mt(_0x4a1c75,_0x14097d,_0x1ce575,{'anchor':_0x274339,'markDeletions':_0x2d63a5['markDeletions']});}['isMarkedRemoveOperation'](_0x25b40e){return'marker'==_0x25b40e['type']&&_0x25b40e['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x17d670){_0x17d670['conversion']['for']('upcast')['add'](_0x24a886=>{_0x24a886['on']('element',(_0x55436a,_0x5bf6e8,_0x565fa4)=>{if(_0x5bf6e8['modelRange'])for(const _0x327f84 of _0x5bf6e8['modelRange']['getItems']({'shallow':!0x0})){if(_0x327f84['is']('$textProxy'))continue;const _0x15a3df=_0x5bf6e8['viewItem']['getAttribute'](Et);_0x15a3df&&_0x565fa4['writer']['setAttribute'](St,_0x15a3df,_0x327f84);}},{'priority':'lowest'});}),_0x17d670['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x2a7ec4,_0x3deff6,_0xb02799,_0x4756f9){this['_editor']=_0xb02799,this['_markDeletions']=!!_0x4756f9['markDeletions'],this['_anchor']=_0x4756f9['anchor'];const _0x1b27ca=this['_tokenizeModel'](_0x2a7ec4),_0x1a2076=this['_tokenizeModel'](_0x3deff6);this['_diffItems']=this['_diffModelTokens'](_0x1b27ca,_0x1a2076),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2a7ec4['markers'],_0x3deff6['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x40c6d2=this['_editor']['model']['document'],_0x2740f2=[];let _0x308bdf=_0x40c6d2['version'];for(const _0x3df2ac of this['_operationsData'])switch(_0x3df2ac['type']){case'attribute':{const _0x43366e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['path']),_0x4a19ea=_0x43366e['getShiftedBy'](_0x3df2ac['howMany']),_0x12331b=new _0x4ec467(_0x43366e,_0x4a19ea),_0x504a31=JSON['parse'](_0x3df2ac['oldValue']),_0x5c3bcf=JSON['parse'](_0x3df2ac['newValue']);_0x2740f2['push'](new _0xdc1edb(_0x12331b,_0x3df2ac['key'],_0x504a31,_0x5c3bcf,_0x308bdf++));break;}case'insert':{const _0x19b1a6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['path']),_0x52675f=this['_makeModelFromTokens'](_0x3df2ac['tokens']);_0x2740f2['push'](new _0x541eaf(_0x19b1a6,_0x52675f,_0x308bdf++));break;}case'remove':{const _0x546828=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['path']),_0x5b1b81=new _0x405637(_0x40c6d2['graveyard'],[0x0]);_0x2740f2['push'](new _0x302ef1(_0x546828,_0x3df2ac['howMany'],_0x5b1b81,_0x308bdf++));break;}case'rename':{const _0x586f10=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['path']);_0x2740f2['push'](new _0xdd4fed(_0x586f10,_0x3df2ac['oldName'],_0x3df2ac['newName'],_0x308bdf++));break;}case'split':{const _0xef538b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['path']),_0x153f08=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['path']['slice'](0x0,-0x1));_0x153f08['offset']++,_0x2740f2['push'](new _0x4a2811(_0xef538b,Number['NEGATIVE_INFINITY'],_0x153f08,null,_0x308bdf++));break;}case'merge':{const _0x5c0819=_0x3df2ac['path']['slice'](),_0x165556=_0x5c0819['slice'](0x0,-0x1);_0x165556[_0x165556['length']-0x1]++,_0x165556['push'](0x0);const _0x415f86=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x165556),_0x2cf7aa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5c0819),_0xa08187=new _0x405637(_0x40c6d2['graveyard'],[0x0]);_0x2740f2['push'](new _0x3bdaac(_0x415f86,Number['NEGATIVE_INFINITY'],_0x2cf7aa,_0xa08187,_0x308bdf++));break;}case'marker':case'markedRemove':{let _0x7246d7=null;if(_0x3df2ac['range']){const _0x1c0596=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['range']['start']),_0xbfab1f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['range']['end']);_0x7246d7=new _0x4ec467(_0x1c0596,_0xbfab1f);}const _0x1000a3='marker'==_0x3df2ac['type']?_0x3df2ac['name']:'$markedRemove:'+_0x22aaf1();_0x2740f2['push'](new _0x53fe84(_0x1000a3,null,_0x7246d7,_0x40c6d2['model']['markers'],!0x0,_0x308bdf++));break;}case'unwrap':{const _0x37fe5f=_0x3df2ac['path']['slice']();_0x37fe5f['push'](0x0);const _0x1ef9d8=_0x3df2ac['path']['slice'](),_0x2ee498=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37fe5f),_0x6073ee=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ef9d8),_0x57321b=new _0x405637(_0x40c6d2['graveyard'],[0x0]);_0x2740f2['push'](new _0x302ef1(_0x2ee498,_0x3df2ac['howMany'],_0x6073ee,_0x308bdf++)),_0x2740f2['push'](new _0x302ef1(_0x6073ee['getShiftedBy'](_0x3df2ac['howMany']),0x1,_0x57321b,_0x308bdf++));break;}case'wrap':{const _0x19d6a9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['range']['start']),_0x3c6554=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3df2ac['range']['end']),_0x4cacba=_0x3df2ac['token']['element']['_clone'](!0x1),_0x2f8318=_0x3df2ac['range']['end']['slice']();_0x2f8318['push'](0x0);const _0x47dfd0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f8318);_0x2740f2['push'](new _0x541eaf(_0x3c6554,_0x4cacba,_0x308bdf++)),_0x2740f2['push'](new _0x302ef1(_0x19d6a9,_0x3c6554['offset']-_0x19d6a9['offset'],_0x47dfd0,_0x308bdf++));break;}}return _0x2740f2;}['_tokenizeModel'](_0x499288){const _0x3934d1=[],_0x46f93f=_0x4ec467['_createIn'](_0x499288),_0x321317=new _0x1397a5({'boundaries':_0x46f93f});let _0x1f1f10='',_0x35e8ed=null;const _0x4dacf3=[''],_0x5c35be=new Map();for(const _0x19cf5d of _0x321317)if('elementStart'==_0x19cf5d['type']||'elementEnd'==_0x19cf5d['type']){let _0x357d40=_0x4dacf3[0x0];''!==_0x1f1f10&&(_0x3934d1['push'](...this['_makeTokensFromTextByWords'](_0x1f1f10,_0x35e8ed,_0x357d40)),_0x1f1f10='');const _0x48e726=_0x19cf5d['item'];let _0x3043fe;_0x48e726['getAttribute'](St)?_0x3043fe=_0x48e726['getAttribute'](St):'elementStart'==_0x19cf5d['type']?(_0x3043fe=_(_0x48e726),_0x5c35be['set'](_0x48e726,_0x3043fe)):_0x3043fe=_0x5c35be['get'](_0x48e726);const _0x9bb0eb=this['_getElementCategory'](_0x48e726);'solid'==_0x9bb0eb&&('elementStart'==_0x19cf5d['type']?(_0x357d40=_0x3043fe,_0x4dacf3['unshift'](_0x357d40)):_0x4dacf3['shift']());const _0x23b678={'type':'element','element':_0x48e726,'elementId':_0x3043fe,'category':_0x9bb0eb,'isStart':'elementStart'==_0x19cf5d['type'],'limitId':_0x357d40};_0x3934d1['push'](_0x23b678);}else''==_0x1f1f10&&(_0x35e8ed=_0x19cf5d['previousPosition']['clone']()),_0x1f1f10+=_0x19cf5d['item']['data'];return''!==_0x1f1f10&&_0x3934d1['push'](...this['_makeTokensFromTextByWords'](_0x1f1f10,_0x35e8ed,_0x4dacf3[0x0])),_0x3934d1;}['_makeTokensFromTextByWords'](_0x11cc20,_0x2ad069,_0x1554eb){const _0x2df74=_0x11cc20['matchAll'](/(\s)/g),_0xb2c5fb=Array['from'](_0x2df74)['map'](_0x1e3a63=>_0x1e3a63['index']);_0xb2c5fb['push'](_0x11cc20['length']),0x0==_0xb2c5fb[0x0]&&_0xb2c5fb['shift']();const _0x57c120=[],_0x3a5fb8=_0x2ad069['parent'];let _0xbc738b=0x0,_0x272d0a=_0x2ad069['offset'];for(let _0x200a03=0x0;_0x200a03<_0xb2c5fb['length'];_0x200a03++)_0x57c120['push']({'type':'text','data':_0x11cc20['slice'](_0xbc738b,_0xb2c5fb[_0x200a03]),'parent':_0x3a5fb8,'offset':_0x272d0a,'limitId':_0x1554eb}),_0xbc738b=_0xb2c5fb[_0x200a03],_0x272d0a=_0x2ad069['offset']+_0xb2c5fb[_0x200a03];return _0x57c120;}['_getElementCategory'](_0x1463dd){const _0x16bc1b=this['_editor']['model']['schema'];return _0x16bc1b['isLimit'](_0x1463dd)||_0x16bc1b['isContent'](_0x1463dd)||_0x16bc1b['isInline'](_0x1463dd)?'solid':_0x16bc1b['isBlock'](_0x1463dd)?'block':'container';}['_diffModelTokens'](_0x1612a8,_0x60ae8b){const _0x1d35c3=_0x5236f5(_0x1612a8,_0x60ae8b,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x1d35c3);const _0x81738c=_0x1d35c3['flatMap'](_0xfd62b7=>{const _0x335fd3=_0xfd62b7['added']?'added':_0xfd62b7['removed']?'removed':'unchanged';return _0xfd62b7['value']['map'](_0x2e754c=>({'token':_0x2e754c,'change':_0x335fd3}));});let _0x20099a=0x0;for(const _0x56bebb of _0x81738c)'added'!=_0x56bebb['change']&&('unchanged'==_0x56bebb['change']&&(_0x56bebb['before']=_0x1612a8[_0x20099a]),_0x20099a++);return _0x81738c;}['_handleUnclosedBlockOpeningTags'](_0x4e98cc){for(let _0x136015=0x0;_0x136015<_0x4e98cc['length']-0x1;_0x136015++)if(_0x4e98cc[_0x136015]['removed']&&_0x4e98cc[_0x136015+0x1]['added']){const _0x4489eb=this['_findUnclosedBlockOpeningToken'](_0x4e98cc[_0x136015]['value']);if(null!==_0x4489eb){const _0x2a4ab8=this['_findUnclosedBlockOpeningToken'](_0x4e98cc[_0x136015+0x1]['value']),_0x1e5c23=_0x4e98cc[_0x136015]['value']['splice'](_0x4489eb),_0x379311=_0x4e98cc[_0x136015+0x1]['value']['splice'](_0x2a4ab8),_0x52420f=[_0x379311['shift']()];_0x1e5c23['shift']();const _0x2d9df4={'value':_0x1e5c23,'removed':!0x0},_0x1fc582={'value':_0x379311,'added':!0x0},_0x254f08={'value':_0x52420f};_0x4e98cc['splice'](_0x136015+0x2,0x0,_0x254f08,_0x2d9df4,_0x1fc582);}}}['_findUnclosedBlockOpeningToken'](_0x1e8b49){let _0x1d31b0=0x0,_0x135150=-0x1;for(let _0x380e23=0x0;_0x380e23<_0x1e8b49['length'];_0x380e23++){const _0x2c9b13=_0x1e8b49[_0x380e23];'element'==_0x2c9b13['type']&&'block'==_0x2c9b13['category']&&(_0x1d31b0+=_0x2c9b13['isStart']?0x1:-0x1,_0x2c9b13['isStart']&&(_0x135150=_0x380e23));}return 0x0===_0x1d31b0?null:_0x135150;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2b58b4=0x0;_0x2b58b4<this['_diffItems']['length'];_0x2b58b4++){const _0x3986d7=this['_diffItems'][_0x2b58b4]['change'],_0x3da4f7=[];_0x3da4f7['push'](this['_diffItems'][_0x2b58b4]);let _0x59bf5d=_0x2b58b4+0x1;for(;this['_diffItems'][_0x59bf5d]&&this['_diffItems'][_0x59bf5d]['change']==_0x3986d7;)_0x3da4f7['push'](this['_diffItems'][_0x59bf5d]),_0x59bf5d++,_0x2b58b4++;const _0x2ab23f=_0x3da4f7['map'](_0x2bc998=>_0x2bc998['token']);if('unchanged'==_0x3986d7)_0x3da4f7['map'](_0x3b7766=>_0x3b7766['before'])['forEach'](_0x42223b=>this['_traverseOverItem'](_0x42223b));else{if('removed'==_0x3986d7){if(this['_markDeletions']){const _0x1c4ff3=this['_path']['slice']();_0x2ab23f['forEach'](_0x22f6f4=>this['_traverseOverItem'](_0x22f6f4));const _0x2b1a05=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x1c4ff3,'end':_0x2b1a05}});}else this['_handleChanged'](_0x2ab23f,!0x0,this['_path']['slice']());}else{const _0x1a3023=_0x2ab23f['filter'](_0x3637e1=>'element'!=_0x3637e1['type']||'container'!=_0x3637e1['category']);this['_handleChanged'](_0x1a3023,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3c763c=0x0;_0x3c763c<this['_diffItems']['length'];_0x3c763c++){const _0x2ad441=this['_diffItems'][_0x3c763c]['change'],_0x1bb945=[];_0x1bb945['push'](this['_diffItems'][_0x3c763c]);let _0x4cd594=_0x3c763c+0x1;for(;this['_diffItems'][_0x4cd594]&&this['_diffItems'][_0x4cd594]['change']==_0x2ad441;)_0x1bb945['push'](this['_diffItems'][_0x4cd594]),_0x4cd594++,_0x3c763c++;const _0x36002c=_0x1bb945['map'](_0x5483d6=>_0x5483d6['token']);if('unchanged'==_0x2ad441){const _0x56342b=_0x1bb945['map'](_0x2b7900=>_0x2b7900['before']);this['_handleUnchanged'](_0x56342b,_0x36002c);}else('removed'!=_0x2ad441||this['_markDeletions'])&&_0x36002c['forEach'](_0x4b77fb=>{this['_traverseOverItem'](_0x4b77fb);});}}['_calculateMarkersOperationsData'](_0x49a81c,_0x11c1e4){const _0x12f80f={};for(const [_0x34407b]of _0x49a81c)_0x12f80f[_0x34407b]=null;for(const [_0x5bc3f1,_0x5cc465]of _0x11c1e4)_0x12f80f[_0x5bc3f1]=_0x5cc465;const _0x5d7473=Object['entries'](_0x12f80f)['map'](([_0x111bd2,_0x3171d2])=>({'type':'marker','name':_0x111bd2,'range':_0x3171d2?{'start':_0x3171d2['start']['path']['slice'](),'end':_0x3171d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x5d7473);}['_handleUnwraps'](){const _0xc85e82=new Map(),_0xfcce75=[],_0x59bae9=[0x0];let _0x51cc09=this['_diffItems']['length']+0x1;for(let _0x23c5c4=this['_diffItems']['length']-0x1;_0x23c5c4>=0x0;_0x23c5c4--){const {token:_0xfb7220,before:_0x34c8e5,change:_0x529c3a}=this['_diffItems'][_0x23c5c4];if('removed'!=_0x529c3a&&(_0x51cc09=_0x23c5c4),'element'!=_0xfb7220['type']||'container'!=_0xfb7220['category']||'added'==_0x529c3a)continue;const _0x32651e=_0x34c8e5?_0x34c8e5['element']:_0xfb7220['element'];if(_0xfb7220['isStart']){const _0x220dc6=_0xc85e82['get'](_0x32651e),_0x17c8bf=this['_diffItems'][_0x220dc6];('removed'==_0x529c3a||'removed'==_0x17c8bf['change'])&&_0x51cc09<_0x220dc6&&(this['_operationsData']['push']({'type':'unwrap','path':_0x32651e['getPath'](),'howMany':_0x32651e['maxOffset']+_0x59bae9[0x0]}),_0x59bae9['shift'](),_0x59bae9[0x0]+=_0x32651e['maxOffset']-0x1,_0xfcce75['push'](_0x23c5c4),_0xfcce75['push'](_0x220dc6));}else _0xc85e82['set'](_0x32651e,_0x23c5c4),_0x59bae9['unshift'](0x0);}_0xfcce75['sort']((_0x4573a8,_0x429fef)=>_0x429fef-_0x4573a8),_0xfcce75['forEach'](_0x2a5a28=>{const _0x1c9cea=this['_diffItems'][_0x2a5a28];'removed'==_0x1c9cea['change']?this['_diffItems']['splice'](_0x2a5a28,0x1):(_0x1c9cea['change']='added',delete _0x1c9cea['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x250772=[];for(let _0x23350c=0x0;_0x23350c<this['_diffItems']['length'];_0x23350c++){const {change:_0x469c68,token:_0x139d89}=this['_diffItems'][_0x23350c];if('added'==_0x469c68&&'element'==_0x139d89['type']&&'container'==_0x139d89['category']){if(_0x139d89['isStart'])_0x250772['push'](this['_path']['slice']());else{if(!_0x139d89['isStart']){const _0x42b912=_0x250772['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x42b912,'end':this['_path']['slice']()},'token':_0x139d89}),this['_path'][this['_path']['length']-0x1]=_0x42b912[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x469c68||this['_markDeletions'])&&this['_traverseOverItem'](_0x139d89);}}['_handleUnchanged'](_0x430ddf,_0x56d94e){for(let _0x4e2957=0x0;_0x4e2957<_0x430ddf['length'];_0x4e2957++){const _0x570713=_0x430ddf[_0x4e2957];if('element'==_0x570713['type']&&_0x570713['isStart']){const _0xe8a230=_0x56d94e[_0x4e2957];'block'==_0x570713['category']&&this['_handleElementRename'](_0x570713['element'],_0xe8a230['element'],this['_path']),this['_handleElementAttributeChanges'](_0x570713['element'],_0xe8a230['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0xe8a230);}else{if('element'!=_0x570713['type']||_0x570713['isStart']){if('text'==_0x570713['type']){const _0x8d08db=this['_path']['slice'](),_0x5434ad=[],_0x40c5fc=[];for(;_0x430ddf[_0x4e2957]&&'text'==_0x430ddf[_0x4e2957]['type'];)_0x5434ad['push'](_0x430ddf[_0x4e2957]),_0x40c5fc['push'](_0x56d94e[_0x4e2957]),this['_path'][this['_path']['length']-0x1]+=_0x430ddf[_0x4e2957]['data']['length'],_0x4e2957++;_0x4e2957--,this['_handleTextAttributeChanges'](_0x5434ad,_0x40c5fc,_0x8d08db);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3369e7,_0x328b21,_0x5d1f53){const _0x4a6f4c=[],_0x40619a=[],_0x4f5578=_0x5d1f53['slice']();for(let _0x5e5689=0x0;_0x5e5689<_0x3369e7['length'];_0x5e5689++){const _0x43762f=_0x3369e7[_0x5e5689],_0x4f61e6=_0x5d1f53['slice']();if('element'!=_0x43762f['type']||_0x43762f['isStart'])'element'==_0x43762f['type']&&_0x43762f['isStart']?(_0x5d1f53['push'](0x0),_0x328b21||this['_parents']['push'](_0x43762f),_0x40619a['push']({'before':_0x4f61e6,'after':_0x5d1f53['slice'](),'index':_0x5e5689})):_0x5d1f53[_0x5d1f53['length']-0x1]+=_0x43762f['data']['length'];else{let _0x138012;_0x5d1f53['pop'](),_0x5d1f53[_0x5d1f53['length']-0x1]++,_0x138012=_0x328b21?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x40619a['length']?_0x40619a['pop']():_0x4a6f4c['push']({'before':_0x4f61e6,'after':_0x5d1f53['slice'](),'index':_0x5e5689,'related':_0x138012});}}if(_0x40619a['length']!==_0x4a6f4c['length'])throw new _0x1fec89('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3369e7,'isRemove':_0x328b21});const _0xb6559b=[{'after':_0x4f5578['slice'](),'index':-0x1},..._0x4a6f4c,..._0x40619a,{'before':_0x5d1f53['slice'](),'index':_0x3369e7['length']}];if(_0x328b21){for(let _0x170304=_0xb6559b['length']-0x1;_0x170304>=0x1;_0x170304--){const _0x31ddea=_0xb6559b[_0x170304-0x1]['after'],_0x36565c=_0xb6559b[_0x170304]['before'],_0x3607d2=_0x36565c[_0x36565c['length']-0x1]-_0x31ddea[_0x31ddea['length']-0x1];_0x3607d2&&(this['_operationsData']['push']({'type':'remove','path':_0x31ddea,'howMany':_0x3607d2}),_0x36565c[_0x36565c['length']-0x1]-=_0x3607d2);}for(const {before:_0x4171a3}of _0x4a6f4c)this['_operationsData']['push']({'type':'merge','path':_0x4171a3});}else for(let _0x42be65=0x0;_0x42be65<_0xb6559b['length']-0x1;_0x42be65++){const _0x3b65f7=_0xb6559b[_0x42be65]['after'],_0xbad541=_0xb6559b[_0x42be65+0x1]['before'],_0x2ff12d=_0xb6559b[_0x42be65]['index']+0x1,_0xfd4ec2=_0xb6559b[_0x42be65+0x1]['index'];if(_0x2ff12d!==_0xfd4ec2&&this['_operationsData']['push']({'type':'insert','path':_0x3b65f7,'tokens':_0x3369e7['slice'](_0x2ff12d,_0xfd4ec2)}),_0x42be65<_0x4a6f4c['length']){this['_operationsData']['push']({'type':'split','path':_0xbad541});const _0x3e1a6e=_0x3369e7[_0x40619a[_0x40619a['length']-0x1-_0x42be65]['index']],_0xf6b1e8=_0x4a6f4c[_0x42be65]['after'],_0x1eb463=_0x4a6f4c[_0x42be65]['related']['element'];this['_handleElementRename'](_0x1eb463,_0x3e1a6e['element'],_0xf6b1e8),this['_handleElementAttributeChanges'](_0x1eb463,_0x3e1a6e['element'],_0xf6b1e8);}}}['_traverseOverItem'](_0x3af65f){'element'==_0x3af65f['type']&&_0x3af65f['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3af65f)):'element'!=_0x3af65f['type']||_0x3af65f['isStart']?'text'==_0x3af65f['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3af65f['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x4d21bb,_0x1c8594,_0x533925){_0x4d21bb['name']!=_0x1c8594['name']&&this['_operationsData']['push']({'type':'rename','path':_0x533925['slice'](),'oldName':_0x4d21bb['name'],'newName':_0x1c8594['name']});}['_handleElementAttributeChanges'](_0x5422ce,_0x4374e6,_0x10b3cf){const _0x7bda3f=this['_getAttributeChanges'](_0x5422ce['getAttributes'](),_0x4374e6['getAttributes']());for(const _0x7a135a in _0x7bda3f){const {oldValue:_0xfca9a3,newValue:_0x3be070}=_0x7bda3f[_0x7a135a];this['_operationsData']['push']({'type':'attribute','path':_0x10b3cf['slice'](),'howMany':0x1,'key':_0x7a135a,'oldValue':_0xfca9a3,'newValue':_0x3be070});}}['_handleTextAttributeChanges'](_0x259df4,_0x4b33a7,_0x3e6439){const _0x1e0228=this['_operationsData'],_0x25aa02=_0x259df4[0x0]['parent'],_0x5eb911=_0x259df4[0x0]['offset'],_0x33eaf3=_0x4b33a7[0x0]['parent'],_0x45ceca=_0x4b33a7[0x0]['offset'],_0x3e954=_0x259df4['reduce']((_0x486e3d,_0x54ef7a)=>_0x486e3d+_0x54ef7a['data']['length'],0x0),_0x1347fc=this['_getAttrsForOffsets'](_0x25aa02,_0x5eb911,_0x3e954),_0xc1acf0=this['_getAttrsForOffsets'](_0x33eaf3,_0x45ceca,_0x3e954),_0x3cc9d8={};for(let _0x230ab5=0x0;_0x230ab5<_0x3e954;_0x230ab5++){const _0x116a07=_0x1347fc[_0x5eb911+_0x230ab5],_0x4d1943=_0xc1acf0[_0x45ceca+_0x230ab5],_0x47a673=this['_getAttributeChanges'](_0x116a07,_0x4d1943);for(const _0x45b361 in _0x3cc9d8)_0x47a673[_0x45b361]||_0x3e4b6c(_0x45b361);for(const _0x4594d4 in _0x47a673){const {oldValue:_0x5d987f,newValue:_0x1801ab}=_0x47a673[_0x4594d4],_0x3026b2=_0x3cc9d8[_0x4594d4];_0x3026b2?_0x3026b2['oldValue']==_0x5d987f&&_0x3026b2['newValue']==_0x1801ab?_0x3026b2['length']++:(_0x3e4b6c(_0x4594d4),_0x3cc9d8[_0x4594d4]={'oldValue':_0x5d987f,'newValue':_0x1801ab,'start':_0x230ab5,'length':0x1}):_0x3cc9d8[_0x4594d4]={'oldValue':_0x5d987f,'newValue':_0x1801ab,'start':_0x230ab5,'length':0x1};}}for(const _0xa4522 in _0x3cc9d8)_0x3e4b6c(_0xa4522);function _0x3e4b6c(_0xf17882){const _0x2c35bb=_0x3cc9d8[_0xf17882],_0x42d458=_0x3e6439['slice']();_0x42d458[_0x42d458['length']-0x1]+=_0x2c35bb['start'],_0x1e0228['push']({'type':'attribute','path':_0x42d458,'howMany':_0x2c35bb['length'],'key':_0xf17882,'oldValue':_0x2c35bb['oldValue'],'newValue':_0x2c35bb['newValue']}),delete _0x3cc9d8[_0xf17882];}}['_getAttributeChanges'](_0x17abb9,_0x2ee7e8){const _0x3eda4b={};for(const [_0x33d86b,_0x52dac8]of _0x17abb9)_0x3eda4b[_0x33d86b]={'oldValue':JSON['stringify'](_0x52dac8),'newValue':'null'};for(const [_0x3e4472,_0x159f1d]of _0x2ee7e8){const _0x120cdd=JSON['stringify'](_0x159f1d);_0x3eda4b[_0x3e4472]?_0x3eda4b[_0x3e4472]['oldValue']==_0x120cdd?delete _0x3eda4b[_0x3e4472]:_0x3eda4b[_0x3e4472]['newValue']=_0x120cdd:_0x3eda4b[_0x3e4472]={'oldValue':'null','newValue':_0x120cdd};}return delete _0x3eda4b[St],_0x3eda4b;}['_getAttrsForOffsets'](_0xb14811,_0x2802c4,_0x5a4360){const _0x512060=new Array(_0x2802c4+_0x5a4360);let _0x4e97c1=_0xb14811['getChildAtOffset'](_0x2802c4),_0x5a7f4c=_0x4e97c1['startOffset'];for(;_0x4e97c1&&_0x5a7f4c<_0x2802c4+_0x5a4360;){const _0xa9b694=Array['from'](_0x4e97c1['getAttributes']());_0x512060['fill'](_0xa9b694,_0x5a7f4c,_0x5a7f4c+_0x4e97c1['offsetSize']),_0x5a7f4c+=_0x4e97c1['offsetSize'],_0x4e97c1=_0x4e97c1['nextSibling'];}return _0x512060;}['_getPositionFromAnchorAndPath'](_0x211a9a,_0x3add15){const _0x55c781=[..._0x211a9a['path']['slice'](0x0,-0x1),_0x211a9a['offset']+_0x3add15[0x0],..._0x3add15['slice'](0x1)];return new _0x405637(_0x211a9a['root'],_0x55c781);}['_makeModelFromTokens'](_0x9e052a){const _0x33c02e=[];let _0x5e0d54=null;for(const _0x57b0f0 of _0x9e052a)if('element'!=_0x57b0f0['type']||_0x57b0f0['isStart']||_0x5e0d54!=_0x57b0f0['element']){if(!_0x5e0d54){if('text'==_0x57b0f0['type']){const _0x12ac4a=_0x405637['_createAt'](_0x57b0f0['parent'],_0x57b0f0['offset']),_0x14031a=_0x4ec467['_createFromPositionAndShift'](_0x12ac4a,_0x57b0f0['data']['length']),_0x4af36e=Array['from'](_0x14031a['getItems']())['map'](_0x240535=>new _0x24bdae(_0x240535['data'],_0x240535['getAttributes']()));_0x33c02e['push'](..._0x4af36e);}else{_0x5e0d54=_0x57b0f0['element'];const _0x4bc46a=_0x57b0f0['element']['_clone'](!0x0);_0x4bc46a['_removeAttribute'](St);for(const _0x2f6102 of this['_editor']['model']['createRangeIn'](_0x4bc46a)['getItems']())_0x2f6102['is']('element')&&_0x2f6102['_removeAttribute'](St);_0x33c02e['push'](_0x4bc46a);}}}else _0x5e0d54=null;return _0x33c02e;}}function g(_0x2bbf53,_0xb62e53){return _0x2bbf53['type']===_0xb62e53['type']&&(_0x2bbf53['limitId']===_0xb62e53['limitId']&&('text'==_0x2bbf53['type']?_0x2bbf53['data']==_0xb62e53['data']:function(_0x5dce43,_0x158299){if(_0x5dce43['isStart']!=_0x158299['isStart'])return!0x1;if(_0x5dce43['isStart']&&_0x5dce43['elementId']!=_0x158299['elementId'])return!0x1;if(_0x5dce43['category']!=_0x158299['category'])return!0x1;if('block'==_0x5dce43['category'])return!0x0;if('container'==_0x5dce43['category']&&_0x5dce43['elementId']!=_0x158299['elementId'])return!0x1;return _0x5dce43['element']['name']==_0x158299['element']['name'];}(_0x2bbf53,_0xb62e53)));}function _(_0x9add9){return k({'name':_0x9add9['name'],...Object['fromEntries'](_0x9add9['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x51af6a,Editor as _0x4579e6,Plugin as _0x58feeb}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x38c140,Collection as _0x4f5051,uid as _0x2edb47,toArray as rt,first as _0x58349e,FocusTracker as _0x4e31c9,KeystrokeHandler as _0x2bba90}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2fcda1,IconView as st,ButtonView as ts,DropdownButtonView as _0x26116a,FocusCycler as _0x1fa35b,isViewWithFocusCycler as _0x285434}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as ct,IconCheck as _0x8d7efc,IconCancel as _0x35898a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as it,toWidget as _0x5c99b0}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x20e0ea,MoveOperation as _0x18aecc,ModelPosition as _0x19da9b,ModelRange as _0x5ef8c1,MarkerOperation as _0x9597cf,MergeOperation as _0x5a60fd,SplitOperation as _0x56b9ae,RenameOperation as _0x5b4251,AttributeOperation as _0x330bfe,ModelTreeWalker as _0x297f89,ModelText as _0x5d7e4b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x17523c}from'diff';class C extends _0x51af6a{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x29da8b,_0x5e05c6){let _0x3e0960;if(_0x5e05c6||(_0x5e05c6=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5e05c6?_0x3e0960=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3e0960=this['context']['editors']['find'](_0x2d80ed=>_0x2d80ed['config']['get']('collaboration.channelId')==_0x5e05c6)),!_0x3e0960)throw new _0x38c140('permissions-set-permissions-invalid-channel-id',null);const _0x149e28=_0x3e0960['plugins'],_0x37957d=_0x149e28['has']('CommentsRepository')?_0x149e28['get']('CommentsRepository'):void 0x0,_0x1b0af3=_0x149e28['has']('CommentsOnly')&&_0x149e28['get']('CommentsOnly'),_0x111bba=_0x29da8b['includes']('document:write'),_0x138c3f=_0x29da8b['includes']('comment:modify_all'),_0x2f7f4a=_0x29da8b['includes']('comment:admin'),_0x250b8c=_0x29da8b['includes']('comment:write'),_0x3e5f61=_0x250b8c||_0x2f7f4a,_0x3c3e04=_0x3e5f61||_0x138c3f,_0x319e35=_0x111bba||_0x3e5f61;(_0x1b0af3&&(_0x1b0af3['isEnabled']=!_0x111bba&&_0x3c3e04),_0x3e0960 instanceof _0x4579e6)&&(!(_0x111bba||_0x3c3e04&&_0x37957d)?_0x3e0960['enableReadOnlyMode']('no-permissions'):_0x3e0960['disableReadOnlyMode']('no-permissions'));if(_0x37957d){_0x37957d['setPermissions']({'admin':_0x2f7f4a,'modifyAll':_0x138c3f,'write':_0x250b8c,'resolve':_0x319e35},_0x5e05c6);const _0x31b29e=_0x3e0960 instanceof _0x4579e6&&_0x3e0960['commands']['get']('addCommentThread');_0x31b29e&&(_0x3e5f61?_0x31b29e['clearForceDisabled']('noPermissions'):_0x31b29e['forceDisabled']('noPermissions'));}}}function U(_0x348d4a,_0xc2051b){const t=_0x348d4a['t'];switch(_0xc2051b){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 _0x51af6a{['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(_0x241e39){super(_0x241e39),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x4f5051(),this['_locale']=_0x241e39['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:_0x4d038a,name:_0x44bd80,..._0x4ca9c2}){if(!_0x4d038a||'string'!=typeof _0x4d038a)throw new _0x38c140('users-add-invalid-id');if(this['users']['has'](_0x4d038a))throw new _0x38c140('users-add-duplicated-id',null,{'id':_0x4d038a});const _0x3477f7=this['context']['config']['get']('users.getInitialsCallback'),_0x2c30ee={..._0x4ca9c2,'id':_0x4d038a,'name':A(this['_locale'],_0x44bd80),'color':this['_getNextColor']()};_0x2c30ee['name']=A(this['_locale'],_0x2c30ee['name']);const _0x55fee2=new lt(_0x2c30ee,_0x3477f7);return this['users']['add'](_0x55fee2),_0x55fee2;}['getUser'](_0x2ed202){return this['users']['get'](_0x2ed202);}['useAnonymousUser'](){const _0x59c68d=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x59c68d);}['defineMe'](_0x2b9b2e){if(this['_myId'])throw new _0x38c140('users-me-already-defined',null);const _0x16cffa=this['getUser'](_0x2b9b2e);if(!_0x16cffa)throw new _0x38c140('users-me-missing-user',null);this['_myId']=_0x2b9b2e,_0x16cffa['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0xf179c0=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xf179c0&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x338e74=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x338e74,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4049e6,_0x39f384){this['id']=_0x4049e6['id'],this['color']=_0x4049e6['color'],this['name']=_0x4049e6['name'],this['initials']=_0x39f384?_0x39f384(this['name']):this['_computeInitials'](),this['avatar']=_0x4049e6['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x2563c2=this['name']['split']('\x20')['filter'](_0x2ae4c5=>/^[\p{Letter}]/u['test'](_0x2ae4c5));return 0x1===_0x2563c2['length']?this['_getInitial'](_0x2563c2[0x0]):0x0===_0x2563c2['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x2563c2[0x0])+this['_getInitial'](_0x2563c2[_0x2563c2['length']-0x1]);}['_getInitial'](_0x391535){return String['fromCodePoint'](_0x391535['codePointAt'](0x0))['toUpperCase']();}}function A(_0xd7d2d3,_0x9ac0e8=''){return''==(_0x9ac0e8=_0x9ac0e8['trim']())?U(_0xd7d2d3,'Anonymous'):_0x9ac0e8;}class ut{['_id'];constructor(_0x9467d5){this['_id']=_0x9467d5;}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 _0x2fcda1{['name'];['notificationView'];constructor(_0xce5bfc,_0x5a8c53,_0x3cbe98){super(_0xce5bfc),this['name']=_0x5a8c53['name'],this['notificationView']=null;const _0x384094=['ck','ck-user'],_0x252648=['ck','ck-user__img'];if(_0x5a8c53['isAnonymous']&&_0x252648['push']('ck-user__anonymous'),!_0x5a8c53['isAnonymous']&&_0x5a8c53['isMe']&&_0x384094['push']('ck-user_me'),_0x5a8c53['avatar']&&_0x252648['push']('ck-user__avatar'),_0x3cbe98){const _0x6d3ebf=new st();_0x6d3ebf['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x6d3ebf['content']=ct,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3cbe98},'children':[_0x6d3ebf]};}const _0x38cb18=[{'tag':'div','attributes':{'class':_0x252648,'style':{'background-image':_0x5a8c53['avatar']?'url(\x27'+_0x5a8c53['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5a8c53['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5a8c53['name']},'children':[{'text':_0x5a8c53['initials']}]}];this['notificationView']&&_0x38cb18['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x384094,'data-user-id':_0x5a8c53['id']},'children':_0x38cb18});}}class dt extends _0x2fcda1{['id'];constructor(_0x2846dc,_0x3028d6){super(_0x2846dc),this['id']='ck-aria-description-'+_0x2edb47(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x3028d6}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x26116a{['render'](){super['render'](),re(this);}}function re(_0x428932){_0x428932['listenTo'](_0x428932['element'],'mousedown',(_0x44d015,_0x55d4f8)=>{_0x55d4f8['stopPropagation'](),_0x55d4f8['preventDefault']();}),_0x428932['listenTo'](_0x428932['element'],'mouseup',()=>{_0x428932['element']['focus']();});}function v(_0x22723f){const _0x556b69=_0x22723f['split'](':');return{'group':_0x556b69[0x0],'type':_0x556b69[0x1],'subType':_0x556b69['length']>=0x5?_0x556b69[0x2]:null,'id':_0x556b69['length']<0x5?_0x556b69[0x2]:_0x556b69[0x3],'authorId':_0x556b69['length']<0x5?_0x556b69[0x3]:_0x556b69[0x4],'markerCount':0x6==_0x556b69['length']?_0x556b69[0x5]:null};}function mt(_0x4456bf,_0x12ea8a){const _0x3d304f=_0x4456bf['end']['nodeBefore'];if(_0x3d304f&&_0x3d304f['is']('element')&&_0x12ea8a['schema']['isBlock'](_0x3d304f)&&!_0x12ea8a['schema']['isObject'](_0x3d304f)){const _0x419f0d=_0x12ea8a['createPositionAt'](_0x3d304f,'end');return _0x12ea8a['createRange'](_0x4456bf['start'],_0x419f0d);}return _0x4456bf;}class M extends _0x58feeb{['afterInit'](){const _0x277e73=this['editor'];if(!_0x277e73['plugins']['has']('AlignmentEditing'))return;_0x277e73['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x58feeb{['afterInit'](){const _0x386891=this['editor'],_0x5b1358=_0x386891['plugins']['get']('SuggestionsConversion');for(const _0x35d35b of ii){if(!_0x386891['plugins']['has'](_0x35d35b))continue;const _0x163c00=_0x35d35b['slice'](0x0,-0x7)['toLowerCase']();_0x5b1358['registerInlineAttribute'](_0x163c00);}}}class I extends _0x58feeb{['afterInit'](){const _0x34a37e=this['editor'],_0x9e3550=_0x34a37e['plugins']['get']('SuggestionsConversion');_0x34a37e['plugins']['has']('BookmarkEditing')&&_0x9e3550['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x58feeb{['afterInit'](){const _0x1e678f=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5efe7e,commandName:_0x467976}of no)this['editor']['plugins']['has'](_0x5efe7e)&&_0x1e678f['registerInlineAttribute'](_0x467976);}}class T extends _0x58feeb{['afterInit'](){const {editor:_0x5a2223}=this;if(!_0x5a2223['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x2dea33=_0x5a2223['plugins']['get']('SuggestionsConversion');_0x2dea33['registerBlockAttribute']('footnotesListStyle'),_0x2dea33['registerBlockAttribute']('footnotesListStart');}}class E extends _0x58feeb{['afterInit'](){const _0x49cbe9=this['editor'];if(!_0x49cbe9['plugins']['has']('HighlightEditing'))return;_0x49cbe9['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x58feeb{['afterInit'](){const _0xd76336=this['editor'];if(!_0xd76336['plugins']['has']('HtmlEmbed'))return;_0xd76336['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x58feeb{['afterInit'](){const _0x14e0c0=this['editor'];if(!_0x14e0c0['plugins']['has']('ImageEditing'))return;const _0x3324cb=_0x14e0c0['plugins']['get']('SuggestionsConversion');_0x3324cb['registerBlockAttribute']('src'),_0x14e0c0['plugins']['has']('ImageResize')&&_0x3324cb['registerBlockAttribute']('resizedWidth'),_0x14e0c0['plugins']['has']('ImageTextAlternativeEditing')&&_0x3324cb['registerBlockAttribute']('alt'),_0x14e0c0['plugins']['has']('PictureEditing')&&_0x3324cb['registerBlockAttribute']('sources'),_0x14e0c0['plugins']['has']('ImageSizeAttributes')&&(_0x3324cb['registerBlockAttribute']('width'),_0x3324cb['registerBlockAttribute']('height'));}}class x extends _0x58feeb{['afterInit'](){const _0x277d35=this['editor'],_0x1ae1e8=_0x277d35['plugins']['get']('SuggestionsConversion');_0x277d35['plugins']['has']('IndentBlock')&&(_0x1ae1e8['registerBlockAttribute']('blockIndent'),_0x277d35['plugins']['has']('ListEditing')&&(_0x1ae1e8['registerBlockAttribute']('blockIndentList'),_0x1ae1e8['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x58feeb{['afterInit'](){const _0x401028=this['editor'];if(!_0x401028['plugins']['has']('LineHeight'))return;_0x401028['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x58feeb{['afterInit'](){const _0x10b0d8=this['editor'];if(!_0x10b0d8['plugins']['has']('LinkEditing'))return;const _0x280a26=_0x10b0d8['plugins']['get']('SuggestionsConversion'),_0x5fdaff=_0x10b0d8['commands']['get']('link');_0x280a26['registerInlineAttribute']('linkHref');for(const _0x4f0f1b of _0x5fdaff['manualDecorators'])_0x280a26['registerInlineAttribute'](_0x4f0f1b['id']);}}class P extends _0x58feeb{['afterInit'](){const _0x2e5954=this['editor'];if(!_0x2e5954['plugins']['has']('ListEditing'))return;const _0x51289e=_0x2e5954['plugins']['get']('SuggestionsConversion'),_0x4d54f5=_0x2e5954['plugins']['has']('TodoListEditing');_0x51289e['registerBlockAttribute']('listItemId'),_0x51289e['registerBlockAttribute']('listType'),_0x51289e['registerBlockAttribute']('listIndent'),_0x4d54f5&&_0x51289e['registerBlockAttribute']('todoListChecked');}}class K extends _0x58feeb{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1cb95c=this['editor']['config']['get']('list.properties'),_0x5cdadc=this['editor']['plugins']['get']('SuggestionsConversion');_0x1cb95c['styles']&&_0x5cdadc['registerBlockAttribute']('listStyle'),_0x1cb95c['reversed']&&_0x5cdadc['registerBlockAttribute']('listReversed'),_0x1cb95c['startIndex']&&_0x5cdadc['registerBlockAttribute']('listStart');}}class q extends _0x58feeb{['afterInit'](){const _0x21cff6=this['editor'],_0x56f48b=_0x21cff6['plugins']['get']('SuggestionsConversion');_0x21cff6['plugins']['has']('MultiLevelList')&&_0x56f48b['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x58feeb{['afterInit'](){const _0x3c3c52=this['editor'];if(!_0x3c3c52['plugins']['has']('Style')||!_0x3c3c52['plugins']['has']('DataSchema')||!_0x3c3c52['config']['get']('style.definitions'))return;const _0x18830b=_0x3c3c52['plugins']['get']('SuggestionsConversion'),_0x41e699=_0x3c3c52['config']['get']('style.definitions'),_0x1fd91d=_0x3c3c52['plugins']['get']('GeneralHtmlSupport'),_0x732cc5=_0x3c3c52['plugins']['get']('StyleUtils')['normalizeConfig'](_0x3c3c52['plugins']['get']('DataSchema'),_0x41e699),_0x652f07=new Set();for(const _0x1a04c9 of _0x732cc5['block']){const _0x4a396d=_0x1fd91d['getGhsAttributeNameForElement'](_0x1a04c9['element']);_0x652f07['add'](_0x4a396d);}const _0x2db0be=new Set();for(const _0x1a8411 of _0x732cc5['inline']){const _0x168211=_0x1fd91d['getGhsAttributeNameForElement'](_0x1a8411['element']);_0x2db0be['add'](_0x168211);for(const _0x2eea48 of _0x1a8411['ghsAttributes'])_0x2db0be['add'](_0x2eea48);}for(const _0x481d5c of _0x652f07)_0x18830b['registerBlockAttribute'](_0x481d5c);for(const _0x2d4943 of _0x2db0be)_0x18830b['registerInlineAttribute'](_0x2d4943);}}class O extends _0x58feeb{['afterInit'](){const _0x2df64d=this['editor'];if(!_0x2df64d['plugins']['has']('TableEditing'))return;const _0x249d80=_0x2df64d['plugins']['get']('SuggestionsConversion');_0x249d80['registerBlockAttribute']('headingRows'),_0x249d80['registerBlockAttribute']('headingColumns');}}class R extends _0x58feeb{['afterInit'](){const {plugins:_0x30f0f7}=this['editor'];if(!_0x30f0f7['has']('TablePropertiesEditing'))return;const _0x3a7aaa=_0x30f0f7['get']('SuggestionsConversion'),_0xb7fefd=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x36a379 of _0xb7fefd)_0x3a7aaa['registerBlockAttribute'](_0x36a379);}}class F extends _0x58feeb{['afterInit'](){const _0x52847c=this['editor'],_0x2074ab=_0x52847c['plugins']['get']('SuggestionsConversion');_0x52847c['plugins']['has']('TableLayout')&&_0x2074ab['registerBlockAttribute']('tableType');}}class G extends _0x58feeb{['afterInit'](){const _0x3da819=this['editor'],_0x98ddd8=this['editor']['plugins']['get']('SuggestionsConversion');_0x3da819['plugins']['has']('Uploadcare')&&_0x3da819['plugins']['has']('UploadcareImageEdit')&&_0x98ddd8['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x58feeb{['afterInit'](){const _0x178e0d=this['editor'];if(!_0x178e0d['plugins']['has']('ShiftEnter'))return;const _0x5b1baa=_0x178e0d['plugins']['get']('SuggestionsConversion'),_0x5df86d=(_0x78a9fb,_0x5551b5,_0x59863e,_0x103f4a)=>{if(_0x103f4a&&!_0x59863e['options']['showSuggestionHighlights'])return;if(!_0x59863e['consumable']['test'](_0x5551b5['markerRange'],_0x78a9fb['name']))return;const _0x20cfe9=_0x178e0d['model'];for(const _0x245183 of _0x5551b5['markerRange']['getItems']()){if(!_0x245183['is']('element','softBreak'))continue;const _0x4daa3d='deletion'==_0x5551b5['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x2c921f,authorId:_0xad4227}=v(_0x5551b5['markerName']),_0x33037d=_0x59863e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4daa3d,'data-suggestion':_0x2c921f,'data-author-id':_0xad4227}),_0x2040a1=_0x59863e['mapper']['toViewPosition'](_0x20cfe9['createPositionBefore'](_0x245183));!_0x103f4a&&_0x5b1baa['_activeMarkers']['includes'](_0x5551b5['markerName'])&&_0x59863e['writer']['addClass']('ck-suggestion-marker--active',_0x33037d),_0x59863e['writer']['insert'](_0x2040a1,_0x33037d),_0x59863e['mapper']['bindElementToMarker'](_0x33037d,_0x5551b5['markerName']);}};_0x178e0d['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x384ff2,_0x21a442,_0x110b86)=>{_0x5df86d(_0x384ff2,_0x21a442,_0x110b86,!0x1);},{'priority':'high'}),_0x178e0d['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5462cc,_0x188b56,_0x344a4c)=>{_0x5df86d(_0x5462cc,_0x188b56,_0x344a4c,!0x0);},{'priority':'high'});}}class L extends _0x58feeb{['afterInit'](){const _0x6a9db9=this['editor'];_0x6a9db9['plugins']['has']('MediaEmbedEditing')&&(_0x6a9db9['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3e0747,{writer:_0x555d40,options:_0x491075})=>{if(_0x491075['showSuggestionHighlights'])return _0x555d40['createEmptyElement']('div');},'converterPriority':'high'}),_0x6a9db9['data']['downcastDispatcher']['on']('attribute:url:media',(_0x337c8a,_0x47c747,_0x178f6f)=>{_0x178f6f['options']['showSuggestionHighlights']&&_0x337c8a['stop']();},{'priority':'high'}));}}class Q extends _0x58feeb{['afterInit'](){const _0x213870=this['editor'];if(!_0x213870['plugins']['has']('Table'))return;_0x213870['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x112de6,_0x36178b,_0x542b73)=>{((_0x559440,_0x35cd6d,_0x597322)=>{if(!_0x597322['options']['showSuggestionHighlights'])return;const _0x38f77d=_0x35cd6d['item'];if(!_0x38f77d||!_0x38f77d['is']('element','tableCell'))return;const _0x53692b=_0x597322['mapper']['toViewElement'](_0x38f77d);if(_0x53692b){const {id:_0x1ffeec,authorId:_0x2c2d46}=v(_0x35cd6d['markerName']);it(_0x53692b,_0x597322['writer'],(_0x42ff73,_0xd89f20,_0x2a8eb8)=>{_0x2a8eb8['addClass'](rt(_0xd89f20['classes']),_0x42ff73),_0x2a8eb8['setAttribute']('data-suggestion-id',_0x1ffeec,_0x42ff73),_0x2a8eb8['setAttribute']('data-author-id',_0x2c2d46,_0x42ff73);});}})(0x0,_0x36178b,_0x542b73);},{'priority':'highest'});}}class V extends _0x58feeb{['afterInit'](){const _0x3f6a20=this['editor'];_0x3f6a20['plugins']['has']('HorizontalLineEditing')&&_0x3f6a20['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x54abc2,{writer:_0x53e81a,options:_0x2701e7})=>{if(!_0x2701e7['showSuggestionHighlights'])return null;const _0x32e6b7=_0x53e81a['createContainerElement']('div'),_0x4f2240=_0x53e81a['createEmptyElement']('hr');return _0x53e81a['addClass']('ck-horizontal-line',_0x32e6b7),_0x53e81a['insert'](_0x53e81a['createPositionAt'](_0x32e6b7,0x0),_0x4f2240),_0x32e6b7;},'converterPriority':'high'});}}class W extends _0x58feeb{['afterInit'](){const {plugins:_0x5a28c2,model:_0xb983fc}=this['editor'];if(!_0x5a28c2['has']('TableCellPropertiesEditing'))return;const _0x56a71c=_0x5a28c2['get']('SuggestionsConversion'),_0x313aa4=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x49d2e3 of _0x313aa4)_0x56a71c['registerBlockAttribute'](_0x49d2e3);_0xb983fc['schema']['checkAttribute']('tableCell','tableCellType')&&_0x56a71c['registerBlockAttribute']('tableCellType');}}class kt extends _0x58feeb{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a6ff3=this['editor'],_0xca7f93=(_0x25da74,_0x4aded4,_0xb85e98)=>{const {id:_0x45cff9,authorId:_0x38521c,type:_0x160747,subType:_0x12dd83}=v(_0x25da74['markerName']),_0x50c3f3=['ck-suggestion-marker',this['_getClassName'](_0x160747,_0x12dd83)];let _0x17af32=0xbb8;return!_0xb85e98&&(this['_activeMarkers']['includes'](_0x25da74['markerName'])&&(_0x50c3f3['push']('ck-suggestion-marker--active'),_0x17af32=0xbc2)),('deletion'==_0x160747&&(_0x17af32+=0x5),{'classes':_0x50c3f3,'attributes':{'data-suggestion':_0x45cff9,'data-author-id':_0x38521c},'priority':_0x17af32});};_0x1a6ff3['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x36fc28,_0x3fcde5)=>_0xca7f93(_0x36fc28,0x0,!0x1)}),_0x1a6ff3['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x49ab36,_0x1fcdb6)=>_0xca7f93(_0x49ab36,0x0,!0x0)}),_0x1a6ff3['conversion']['for']('dataDowncast')['add'](_0x5abbb2=>{_0x5abbb2['on']('addMarker:suggestion',(_0x156826,_0x38fa86,_0x3538cc)=>{if(!_0x3538cc['options']['showSuggestionHighlights'])return;const _0x42e43d=_0x38fa86['item'];if(!_0x42e43d)return;const _0x204c94=_0x3538cc['mapper']['toViewElement'](_0x42e43d);_0x1a6ff3['model']['schema']['isObject'](_0x42e43d)&&_0x204c94&&!_0x204c94['getCustomProperty']('widget')&&_0x204c94['is']('containerElement')&&_0x5c99b0(_0x204c94,_0x3538cc['writer']);},{'priority':'high'});});const _0x7a03e4=(_0x76e896,_0x1cbd2c,_0x4be5f3,_0x27dfb5,_0x53ca16)=>{if(_0x27dfb5&&!_0x4be5f3['options']['showSuggestionHighlights'])return;if(!_0x1cbd2c['item'])return;const {id:_0xd7ec3a,authorId:_0x46cde4,subType:_0x5b836f}=v(_0x1cbd2c['markerName']);if(_0x53ca16){const _0x3eba54=_0x5b836f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3eba54))return;}if(_0x1cbd2c['item']['is']('selection'))return void _0x4be5f3['consumable']['consume'](_0x1cbd2c['item'],_0x76e896['name']);const _0x2a78e4=_0x4be5f3['mapper']['toViewElement'](_0x1cbd2c['item']);if(_0x1cbd2c['item']['is']('element')&&_0x1a6ff3['model']['schema']['isBlock'](_0x1cbd2c['item'])&&!_0x2a78e4['getCustomProperty']('addHighlight')){_0x4be5f3['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x2a78e4),_0x4be5f3['writer']['setAttribute']('data-suggestion',_0xd7ec3a,_0x2a78e4),_0x4be5f3['writer']['setAttribute']('data-author-id',_0x46cde4,_0x2a78e4),_0x4be5f3['mapper']['bindElementToMarker'](_0x2a78e4,_0x1cbd2c['markerName']),_0x27dfb5||(this['_activeMarkers']['includes'](_0x1cbd2c['markerName'])?_0x4be5f3['writer']['addClass']('ck-suggestion-marker--active',_0x2a78e4):_0x4be5f3['writer']['removeClass']('ck-suggestion-marker--active',_0x2a78e4));for(const _0x33c978 of _0x1a6ff3['model']['createRangeIn'](_0x1cbd2c['item'])['getItems']())_0x4be5f3['consumable']['consume'](_0x33c978,_0x76e896['name']);_0x4be5f3['consumable']['consume'](_0x1cbd2c['item'],_0x76e896['name']);}},_0x170ef6=(_0x2b5f53,_0x795752,_0x4f547e,_0x30eddd)=>{const _0x3721a=_0x4f547e['mapper']['markerNameToElements'](_0x795752['markerName']);if(_0x3721a){if(_0x30eddd){const {subType:_0x4c22bc}=v(_0x795752['markerName']),_0x200b6d=_0x4c22bc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x200b6d))return;}for(const _0xc3f723 of _0x3721a)_0xc3f723['getCustomProperty']('addHighlight')||(_0x4f547e['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0xc3f723),_0x4f547e['writer']['removeAttribute']('data-suggestion',_0xc3f723),_0x4f547e['writer']['removeAttribute']('data-author-id',_0xc3f723),_0x4f547e['mapper']['unbindElementFromMarkerName'](_0xc3f723,_0x795752['markerName']));}};_0x1a6ff3['conversion']['for']('editingDowncast')['add'](_0x2612d0=>{_0x2612d0['on']('addMarker:suggestion:formatBlock',(_0x5143e6,_0xe7c3e2,_0x9d0f89)=>{_0x7a03e4(_0x5143e6,_0xe7c3e2,_0x9d0f89,!0x1,!0x1);},{'priority':'high'});}),_0x1a6ff3['conversion']['for']('editingDowncast')['add'](_0x2ad65b=>{_0x2ad65b['on']('addMarker:suggestion:attribute',(_0x20882e,_0x31fbc8,_0x38c8d2)=>{_0x7a03e4(_0x20882e,_0x31fbc8,_0x38c8d2,!0x1,!0x0);},{'priority':'high'});}),_0x1a6ff3['conversion']['for']('editingDowncast')['add'](_0x3a498a=>{_0x3a498a['on']('removeMarker:suggestion:formatBlock',(_0xd40fdf,_0x5b9bd3,_0x2e12b5)=>{_0x170ef6(0x0,_0x5b9bd3,_0x2e12b5,!0x1);},{'priority':'high'});}),_0x1a6ff3['conversion']['for']('editingDowncast')['add'](_0x25aab8=>{_0x25aab8['on']('removeMarker:suggestion:attribute',(_0x4ed763,_0x481d0e,_0x12791e)=>{_0x170ef6(0x0,_0x481d0e,_0x12791e,!0x0);},{'priority':'high'});}),_0x1a6ff3['conversion']['for']('dataDowncast')['add'](_0x398c5b=>{_0x398c5b['on']('addMarker:suggestion:formatBlock',(_0x57db06,_0x5162f8,_0x17b26d)=>{_0x7a03e4(_0x57db06,_0x5162f8,_0x17b26d,!0x0,!0x1);},{'priority':'highest'});}),_0x1a6ff3['conversion']['for']('dataDowncast')['add'](_0x4d8d0e=>{_0x4d8d0e['on']('addMarker:suggestion:attribute',(_0xf22c2a,_0x2aaffa,_0x599e79)=>{_0x7a03e4(_0xf22c2a,_0x2aaffa,_0x599e79,!0x0,!0x0);},{'priority':'highest'});}),_0x1a6ff3['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x3af147,_0x3d14cf)=>{if(_0x3d14cf['options']['showSuggestionHighlights']){const {id:_0x52f8ac,authorId:_0x47c409}=v(_0x3af147);return _0x3af147['includes'](':split')||_0x3af147['includes'](':merge')?{'group':'suggestion','name':_0x3af147['substr'](0xb),'attributes':{'data-suggestion':_0x52f8ac,'data-author-id':_0x47c409}}:null;}return{'group':'suggestion','name':_0x3af147['substr'](0xb)};}});const _0x2d07d3=(_0x102065,_0x18617e,_0x383430,_0x497a77,_0x55907f)=>{if(_0x497a77&&!_0x383430['options']['showSuggestionHighlights'])return;if(!_0x383430['consumable']['test'](_0x18617e['markerRange'],_0x102065['name']))return;const _0x43327f=this['_activeMarkers'],_0x271cf5=_0x18617e['markerRange']['getWalker'](),_0x26c2d5=_0x18617e['markerRange']['start'],_0x1bfc07=_0x1a6ff3['model']['schema'];let _0x230f33=null,_0x342d43=null,_0x24c71a=!0x1,_0xd41314=!0x1;for(const _0x49704f of _0x271cf5){const _0x1a491e=_0x49704f['item'];_0x24c71a=_0x24c71a||_0x1bfc07['isContent'](_0x1a491e);const _0x184818=_0x383430['mapper']['toViewElement'](_0x1a491e);if(_0x184818&&_0x184818['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x49704f['type']&&(_0x1bfc07['isBlock'](_0x1a491e)&&!_0x1bfc07['isLimit'](_0x1a491e)&&(_0x1a491e['nextSibling']||_0x26c2d5['isAtEnd']?_0x230f33&&_0x230f33['parent']==_0x1a491e||(_0x230f33=_0x1a491e,_0x571d5(_0x49704f['previousPosition']),_0xd41314=!0x0):_0x342d43=_0x342d43||_0x49704f['previousPosition']));}function _0x571d5(_0x5c66dd){const {id:_0x50d586,authorId:_0x690b7}=v(_0x18617e['markerName']),_0x53e452=_0x383430['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x55907f,'data-suggestion':_0x50d586,'data-author-id':_0x690b7}),_0x104f0a=_0x383430['mapper']['toViewPosition'](_0x5c66dd);!_0x497a77&&_0x43327f['includes'](_0x18617e['markerName'])&&_0x383430['writer']['addClass']('ck-suggestion-marker--active',_0x53e452),_0x383430['writer']['insert'](_0x104f0a,_0x53e452),_0x383430['mapper']['bindElementToMarker'](_0x53e452,_0x18617e['markerName']);}_0x24c71a||_0xd41314||!_0x342d43||_0x571d5(_0x342d43);};_0x1a6ff3['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4688d6,_0x424094,_0x35cdba)=>{_0x2d07d3(_0x4688d6,_0x424094,_0x35cdba,!0x1,'merge');},{'priority':'high'}),_0x1a6ff3['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3f5354,_0x4f19e6,_0x2245da)=>{_0x2d07d3(_0x3f5354,_0x4f19e6,_0x2245da,!0x0,'merge');},{'priority':'high'}),_0x1a6ff3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5e40fc,_0x3fef31,_0x3a3be3)=>{_0x2d07d3(_0x5e40fc,_0x3fef31,_0x3a3be3,!0x1,'split');},{'priority':'high'}),_0x1a6ff3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2f6f97,_0x5e5aec,_0x42365b)=>{_0x2d07d3(_0x2f6f97,_0x5e5aec,_0x42365b,!0x0,'split');},{'priority':'high'}),_0x1a6ff3['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x59308c,_0xf639de,_0x5b2cd5)=>{((_0x58487d,_0x1ec073,_0x543730)=>{const _0x4a0cac=_0x543730['mapper']['markerNameToElements'](_0x1ec073['markerName']);if(_0x4a0cac){for(const _0x34dd37 of _0x4a0cac)(_0x34dd37['hasClass']('ck-suggestion-marker-split')||_0x34dd37['hasClass']('ck-suggestion-marker-merge'))&&(_0x543730['mapper']['unbindElementFromMarkerName'](_0x34dd37,_0x1ec073['markerName']),_0x543730['writer']['remove'](_0x34dd37));}})(0x0,_0xf639de,_0x5b2cd5);},{'priority':'high'});const _0x52ce92=(_0x721b48,_0x5e6684,_0x177054,_0x212bef)=>{if(_0x212bef&&!_0x177054['options']['showSuggestionHighlights'])return;const _0x4b8cb2=_0x5e6684['markerRange']['start'],_0x36ca5a=_0x5e6684['markerRange']['end'],_0x3c6625=_0x1a6ff3['model']['schema'];if(!_0x4b8cb2['isTouching'](_0x36ca5a)||!_0x4b8cb2['nodeAfter'])return;const _0x47d675=_0x4b8cb2['nodeAfter'];if(_0x3c6625['isBlock'](_0x47d675)&&!_0x3c6625['isLimit'](_0x47d675)&&_0x3c6625['checkChild'](_0x47d675,'$text')){if(!_0x177054['consumable']['consume'](_0x5e6684['markerRange'],_0x721b48['name']))return;const {id:_0xa6c5d0,authorId:_0x5db7b3}=v(_0x5e6684['markerName']),_0x24a732=_0x177054['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0xa6c5d0,'data-author-id':_0x5db7b3}),_0x7e6de6=_0x177054['mapper']['toViewPosition'](_0x36ca5a);!_0x212bef&&this['_activeMarkers']['includes'](_0x5e6684['markerName'])&&_0x177054['writer']['addClass']('ck-suggestion-marker--active',_0x24a732),_0x177054['writer']['insert'](_0x7e6de6,_0x24a732),_0x177054['mapper']['bindElementToMarker'](_0x24a732,_0x5e6684['markerName']);}};_0x1a6ff3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2be83f,_0x1562b5,_0x38a1eb)=>{_0x52ce92(_0x2be83f,_0x1562b5,_0x38a1eb,!0x1);},{'priority':'high'}),_0x1a6ff3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x34520f,_0x39f1aa,_0x4c3cc8)=>{_0x52ce92(_0x34520f,_0x39f1aa,_0x4c3cc8,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0xc3388,_0x3401e1,_0x35166f)=>{this['_activeMarkers']=_0x35166f['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x10ebe6){this['_blockAttributeKeys']['add'](_0x10ebe6);}['registerInlineAttribute'](_0xba2714){this['_inlineAttributeKeys']['add'](_0xba2714);}['isBlockAttribute'](_0x15d672){return this['_blockAttributeKeys']['has'](_0x15d672);}['isInlineAttribute'](_0x2ef913){return this['_inlineAttributeKeys']['has'](_0x2ef913);}['isRegisteredAttribute'](_0x1111cb){return this['isInlineAttribute'](_0x1111cb)||this['isBlockAttribute'](_0x1111cb);}['_getClassName'](_0x52c286,_0x5808a8){if('attribute'!=_0x52c286)return'ck-suggestion-marker-'+_0x52c286;const _0x2317d6=_0x5808a8['split']('|')[0x0];return this['isBlockAttribute'](_0x2317d6)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x1e0bf6={},_0x3cf1cb){if(void 0x0!==_0x1e0bf6['dateTimeFormat']&&'function'!=typeof _0x1e0bf6['dateTimeFormat'])throw new _0x38c140('invalid-date-time-format');return _0x3b4d85=>{const _0x3fb0a3='string'==typeof _0x3b4d85?tt['fromISO'](_0x3b4d85):tt['fromJSDate'](_0x3b4d85),_0x41d3bb=tt['now'](),_0x10e595=Math['floor'](_0x41d3bb['diff'](_0x3fb0a3,'days')['days']);return _0x1e0bf6['dateTimeFormat']?_0x1e0bf6['dateTimeFormat'](_0x3fb0a3['toJSDate'](),_0x3cf1cb&&_0x3cf1cb['t']?_0x3cf1cb['t']:void 0x0):0x0===_0x10e595?_0x3cf1cb?U(_0x3cf1cb,'Today')+'\x20'+_0x3fb0a3['toFormat']('hh:mma'):_0x3fb0a3['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x10e595?_0x3cf1cb?U(_0x3cf1cb,'Yesterday')+'\x20'+_0x3fb0a3['toFormat']('hh:mma'):_0x3fb0a3['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x10e595<0x7?_0x3cf1cb?U(_0x3cf1cb,'Last')+'\x20'+U(_0x3cf1cb,_0x3fb0a3['toFormat']('EEEE'))+'\x20'+_0x3fb0a3['toFormat']('hh:mma'):_0x3fb0a3['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x3fb0a3['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x5be375,_0xd99e0e){const _0x1457fc=_0x5be375['mapper']['markerNameToElements'](_0xd99e0e['name']);if(!_0x1457fc)return null;const _0x25563c=_0x58349e(_0x1457fc['values']());return _0x5be375['view']['domConverter']['mapViewToDom'](_0x25563c)||null;}function wt(_0x156268,_0x2459ba){if(0x0===_0x2459ba['length'])return null;const _0x1e3fe1=[],_0x47541e=_0x156268['view']['domConverter'];for(const _0x38feb3 of _0x2459ba){const _0x3f397a=_0x156268['mapper']['markerNameToElements'](_0x38feb3['name']);if(!_0x3f397a)continue;const _0x1e64d6=Array['from'](_0x3f397a)['map'](_0x59f5bf=>_0x47541e['mapViewToDom'](_0x59f5bf))['filter'](_0x619251=>!!_0x619251);_0x1e3fe1['push'](..._0x1e64d6);}if(0x0===_0x1e3fe1['length'])return null;const _0x2a5603=[];for(const _0x1072cf of _0x1e3fe1){const _0x21353b=_0x1072cf['getClientRects']()['item'](0x0);_0x21353b&&_0x2a5603['push']({'x':_0x21353b['x'],'y':_0x21353b['y'],'domElement':_0x1072cf});}return 0x0===_0x2a5603['length']?null:(_0x2a5603['sort']((_0x3e79e8,_0x4c5a6a)=>_0x3e79e8['y']-_0x4c5a6a['y']||_0x3e79e8['x']-_0x4c5a6a['x']),_0x2a5603['map'](_0x1df9cd=>_0x1df9cd['domElement']));}function bt(_0x373cbc,{limit:_0x41c784,suffix:_0x130247='...'}){const _0x5b152b=[];let _0x304fd3=0x0;const _0xb9d527=_0x373cbc['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x53809b=0x0;_0x53809b<_0xb9d527['length'];_0x53809b++){let _0x3fa19c=_0xb9d527[_0x53809b];const _0xedb57b=tn(_0x3fa19c);if(_0x3fa19c['startsWith']('<')){if(_0x304fd3>=_0x41c784){const _0x384456=_0x3fa19c['match'](/[a-zA-Z]+/);if(!_0x384456){_0xb9d527[_0x53809b]='';continue;}const _0x323720=_0x384456[0x0];_0x3fa19c['startsWith']('</')?(_0x5b152b['length']&&(_0x3fa19c=''),_0x5b152b['pop']()):(_0x5b152b['push'](_0x323720),_0x3fa19c='');}}else{if(_0x304fd3>=_0x41c784)_0x3fa19c='';else{if(_0x304fd3+_0xedb57b['length']>=_0x41c784){let _0x502fcd=_0x41c784-_0x304fd3;if('\x20'===_0xedb57b[_0x502fcd-0x1])_0x502fcd--;else{const _0x457fd6=_0xedb57b['slice'](_0x502fcd)['indexOf']('\x20');-0x1!==_0x457fd6?_0x502fcd+=_0x457fd6:_0x502fcd=_0x3fa19c['length'];}_0x3fa19c=_0xedb57b['slice'](0x0,_0x502fcd)['join']('')+_0x130247,_0x304fd3=_0x41c784;}else _0x304fd3+=_0xedb57b['length'];}}_0xb9d527[_0x53809b]=_0x3fa19c;}return _0xb9d527['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x274f16){const _0x344bfa=[];for(let _0x555b00=0x0;_0x555b00<_0x274f16['length'];_0x555b00++){const _0x2ad79a=_0x274f16['substring'](_0x555b00)['match'](/^&[a-z0-9#]+;/);if(_0x2ad79a){const _0x7cb168=_0x2ad79a[0x0];_0x344bfa['push'](_0x7cb168),_0x555b00+=_0x7cb168['length']-0x1;}else _0x344bfa['push'](_0x274f16[_0x555b00]);}return _0x344bfa;}class X extends _0x2fcda1{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2e931d){super(_0x2e931d);const _0x515e4d=this['bindTemplate'];this['set']('message',U(_0x2e931d,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2e931d,U(_0x2e931d,'Yes'),_0x8d7efc,'submit'),this['cancelView']=this['_createButtonView'](_0x2e931d,U(_0x2e931d,'No'),_0x35898a,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x4e31c9(),this['keystrokes']=new _0x2bba90(),this['focusCycler']=new _0x1fa35b({'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':_0x515e4d['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'](_0x159888,_0x2afcd8,_0x4cb862,_0x37e552){const _0x4e548a=new ts(_0x159888);return _0x4e548a['label']=_0x2afcd8,_0x4e548a['icon']=_0x4cb862,_0x4e548a['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x37e552}}),_0x4e548a['on']('execute',()=>this['fire'](_0x37e552)),_0x4e548a;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x3372cf=>{this['keystrokes']['listenTo'](_0x3372cf['element']),this['focusTracker']['add'](_0x3372cf['element']);}),this['keystrokes']['set']('esc',(_0xa31f7c,_0x25eaea)=>{this['fire']('cancel'),_0x25eaea();});}}function vt(_0x425a3e){return class extends _0x425a3e{['showConfirm'](_0x13c348,_0x4e8240){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x13c348,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4e8240['appendChild'](this['confirmView']['element']),_0x4e8240['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x593e71,_0x4a8b59,_0x593d03)=>{_0x593d03||_0x4e8240['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4d38ed=>this['confirmView']['on']('submit',_0x4d38ed));}['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(_0x3ab805){let _0x24a7aa=0x0,_0x5391a5=0x0;for(const _0x5ede02 of ne(_0x3ab805))_0x24a7aa=(_0x24a7aa<<0x5)-_0x24a7aa+_0x5ede02,_0x24a7aa&=_0x24a7aa,[_0x24a7aa,_0x5391a5]=[_0x5391a5,_0x24a7aa];return ie(_0x24a7aa)+ie(_0x5391a5);}function*ee(_0x18dce5){null==_0x18dce5||null==_0x18dce5?yield 0x12b9b0a1:0x0===_0x18dce5||!0x1===_0x18dce5?yield 0x0:0x1===_0x18dce5||0x1==_0x18dce5?yield 0x1:Array['isArray'](_0x18dce5)?yield*function*(_0xed0c00){for(const _0x84d808 of _0xed0c00)yield*ee(_0x84d808);}(_0x18dce5):'object'==typeof _0x18dce5?yield*ne(_0x18dce5):'string'==typeof _0x18dce5?yield*oe(_0x18dce5):'number'==typeof _0x18dce5&&(yield _0x18dce5);}function*ne(_0x57ff34){if(yield te('{'),_0x57ff34){const _0x2ca3f1=Object['keys'](_0x57ff34)['sort']();for(const _0x55d8ba of _0x2ca3f1){yield*oe(_0x55d8ba),yield te(':');const _0x464dca=_0x57ff34[_0x55d8ba];yield*ee(_0x464dca);}}yield te('}');}function*oe(_0x166d9c){yield te('\x22');for(const _0x306302 of _0x166d9c)yield te(_0x306302);yield te('\x22');}function te(_0x12248e){return _0x12248e['charCodeAt'](0x0);}function ie(_0x4dbffa){return(_0x4dbffa*=Math['sign'](_0x4dbffa))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x48e5f8,_0x1c8bbf,_0x2aa25e,_0x43e754=[]){const _0x4630c5='string'==typeof _0x48e5f8?_0x2aa25e['get'](_0x48e5f8)['constructor']:_0x48e5f8['prototype']['constructor'];if(_0x1c8bbf['has'](_0x4630c5))return _0x1c8bbf['get'](_0x4630c5);_0x1c8bbf['set'](_0x4630c5,!0x0);const _0x44f451=[...et,..._0x43e754]['map'](_0x4b17bb=>{if(_0x2aa25e['has'](_0x4b17bb))return _0x2aa25e['get'](_0x4b17bb)['constructor'];})['filter'](_0x132506=>_0x132506);if(_0x4630c5&&_0x44f451['includes'](_0x4630c5))return _0x1c8bbf['set'](_0x4630c5,!0x1),!0x1;if(!_0x4630c5['requires'])return _0x1c8bbf['set'](_0x4630c5,!0x0),!0x0;const _0x4796ef=_0x4630c5['requires']['every'](_0x3d1dfc=>ot(_0x3d1dfc,_0x1c8bbf,_0x2aa25e,_0x43e754));return _0x1c8bbf['set'](_0x4630c5,_0x4796ef),_0x4796ef;}function Ct(_0x5bd79d,_0x2d7ac0){const _0x1282dc={};for(const _0x53f81f of _0x5bd79d['config']['names']())nt['includes'](_0x53f81f)||(_0x1282dc[_0x53f81f]=_0x5bd79d['config']['get'](_0x53f81f));const _0x13c3e5=_0x1282dc['plugins']||[],_0x30d936=_0x5bd79d['constructor']['builtinPlugins']||[],_0x527b40=_0x13c3e5['length']?_0x13c3e5:_0x30d936,_0x1ff578=_0x1282dc['extraPlugins']||[];delete _0x1282dc['extraPlugins'];const _0x4fd091=_0x1282dc['removePlugins']||[];delete _0x1282dc['removePlugins'];const _0x119437=_0x5bd79d['_context']['config']['get']('plugins')||[],_0x43952a=_0x527b40['concat'](_0x1ff578)['concat'](_0x119437)['map'](_0x423b64=>'string'==typeof _0x423b64?_0x30d936['find'](_0x580654=>_0x580654['pluginName']==_0x423b64):_0x423b64)['filter'](_0x11cad9=>!_0x4fd091['includes'](_0x11cad9)&&!_0x4fd091['includes'](_0x11cad9['pluginName'])),_0x39dff0=Array['from'](new Set(_0x43952a)),_0x1196cc=new Map();return _0x1282dc['plugins']=_0x39dff0['filter'](_0x29cab0=>ot(_0x29cab0,_0x1196cc,_0x5bd79d['plugins'],_0x2d7ac0)),_0x1282dc;}function xt(_0x54cd8c,_0x3f728a){const _0x1f4894=[];_0x54cd8c['document']['selection']['on']('change:range',()=>{const _0x3466b5=function(_0x532a6d,_0x23aa21){const _0x54572e=[];for(const _0x34fef4 of _0x532a6d['markers']){const _0x551f54=_0x34fef4['getRange']();(_0x551f54['containsPosition'](_0x23aa21)||_0x551f54['start']['isEqual'](_0x23aa21)||_0x551f54['end']['isEqual'](_0x23aa21))&&_0x54572e['push'](_0x34fef4);}return _0x54572e;}(_0x54cd8c,_0x54cd8c['document']['selection']['focus']),_0x4b2b42=[],_0x553011=[],_0x507d1c=[];for(const _0x4490a5 of _0x1f4894)_0x3466b5['includes'](_0x4490a5)||_0x4b2b42['push'](_0x4490a5);for(const _0x4394fb of _0x3466b5)_0x1f4894['includes'](_0x4394fb)||_0x553011['push'](_0x4394fb),_0x507d1c['push'](_0x4394fb);(_0x4b2b42['length']||_0x553011['length'])&&_0x3f728a({'left':_0x4b2b42,'entered':_0x553011}),_0x1f4894['length']=0x0,_0x1f4894['push'](..._0x507d1c);});}const It='Ctrl+Shift+E';function _t(_0x130f35,_0x5e78e9){const _0xa322c6=_0x130f35['element'];_0x130f35['keystrokes']['listenTo'](_0xa322c6);for(const _0x1750f4 of _0x5e78e9)ro(_0x130f35,_0x1750f4);_0x5e78e9['on']('change',(_0x3c90d2,_0x2a6e98)=>{for(const _0x36976e of _0x2a6e98['removed'])to(_0x130f35,_0x36976e);for(const _0x1f66e4 of Array['from'](_0x2a6e98['added'])['reverse']())ro(_0x130f35,_0x1f66e4);}),_0x130f35['keystrokes']['set']('enter',(_0x17aedb,_0x5e54f8)=>{_0xa322c6===_0x17aedb['target']&&(_0x130f35['focusCycler']['focusFirst'](),_0x5e54f8());},{'filter':_0x52b88a=>_0x52b88a['target']===_0xa322c6}),_0x130f35['keystrokes']['set']('esc',(_0x379255,_0x34414d)=>{_0xa322c6!==_0x379255['target']?_0x130f35['focus']():_0x130f35['fire']('escape'),_0x34414d();}),_0x130f35['keystrokes']['set']('arrowdown',(_0x5d532b,_0x446594)=>{_0xa322c6===_0x5d532b['target']&&(_0x130f35['fire']('arrowdown'),_0x446594());}),_0x130f35['keystrokes']['set']('arrowup',(_0x41d1b8,_0x4d283a)=>{_0xa322c6===_0x41d1b8['target']&&(_0x130f35['fire']('arrowup'),_0x4d283a());});}function ro(_0x32c5a8,_0x2961f7){_0x2961f7['isRendered']&&(_0x32c5a8['focusTracker']['add'](_0x2961f7['element']),_0x32c5a8['keystrokes']['listenTo'](_0x2961f7['element']),_0x285434(_0x2961f7)&&function(_0x18de6f,_0x137adb){const _0x50b923=_0x18de6f['actions'],_0x2ffa7f=_0x137adb['actions'];for(const _0x38f1d6 of Object['keys'](_0x50b923))if(_0x38f1d6 in _0x2ffa7f&&_0x50b923[_0x38f1d6]!==_0x2ffa7f[_0x38f1d6])return!0x1;return!0x0;}(_0x32c5a8['focusCycler'],_0x2961f7['focusCycler'])&&_0x32c5a8['focusCycler']['chain'](_0x2961f7['focusCycler']));}function to(_0x3e6a22,_0x56a2e8){_0x3e6a22['focusTracker']['remove'](_0x56a2e8['element']),_0x3e6a22['keystrokes']['stopListening'](_0x56a2e8['element']),_0x285434(_0x56a2e8)&&_0x3e6a22['focusCycler']['unchain'](_0x56a2e8['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x51af6a{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x4579e6?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x26df1e,_0x597609)=>{_0x597609['on']('ready',()=>{this['_integrateEditor'](_0x597609);});});}get['editor'](){if(this['context']instanceof _0x4579e6)return this['context'];{const _0x50f8f2=this['context']['editors']['first'];if(!_0x50f8f2)throw new _0x38c140('documentcompare-no-editor',this);return _0x50f8f2;}}['getDiff'](_0x3a6b4a,_0x2b17e6,_0x3924e2={'anchor':'main','markDeletions':!0x1}){let _0xa9e74f,_0x4f0cf1;const _0x5851e6=this['editor'];if('string'==typeof _0x3924e2['anchor']){const _0x11237e=_0x5851e6['model']['document']['getRoot'](_0x3924e2['anchor']);if(!_0x11237e)throw new _0x38c140('documentcompare-compare-no-root',this,{'anchor':_0x3924e2['anchor']});_0xa9e74f=_0x11237e,_0x4f0cf1=_0x5851e6['model']['createPositionAt'](_0x11237e,0x0);}else _0xa9e74f=_0x3924e2['anchor']['clone'](),_0x4f0cf1=_0x3924e2['anchor']['clone']();const _0x4d0bdb=_0x5851e6['data']['parse'](_0x3a6b4a,_0xa9e74f),_0x54fd9f=_0x5851e6['data']['parse'](_0x2b17e6,_0xa9e74f);return new Mt(_0x4d0bdb,_0x54fd9f,_0x5851e6,{'anchor':_0x4f0cf1,'markDeletions':_0x3924e2['markDeletions']});}['isMarkedRemoveOperation'](_0x35d94d){return'marker'==_0x35d94d['type']&&_0x35d94d['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x239377){_0x239377['conversion']['for']('upcast')['add'](_0x3de0e3=>{_0x3de0e3['on']('element',(_0x364aea,_0x319be5,_0x10ea14)=>{if(_0x319be5['modelRange'])for(const _0xc83db0 of _0x319be5['modelRange']['getItems']({'shallow':!0x0})){if(_0xc83db0['is']('$textProxy'))continue;const _0x34515c=_0x319be5['viewItem']['getAttribute'](Et);_0x34515c&&_0x10ea14['writer']['setAttribute'](St,_0x34515c,_0xc83db0);}},{'priority':'lowest'});}),_0x239377['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x23a808,_0x4252a8,_0x1b4b42,_0x5c8379){this['_editor']=_0x1b4b42,this['_markDeletions']=!!_0x5c8379['markDeletions'],this['_anchor']=_0x5c8379['anchor'];const _0x4d21d7=this['_tokenizeModel'](_0x23a808),_0x3249e3=this['_tokenizeModel'](_0x4252a8);this['_diffItems']=this['_diffModelTokens'](_0x4d21d7,_0x3249e3),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x23a808['markers'],_0x4252a8['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x34911e=this['_editor']['model']['document'],_0xa1c852=[];let _0x32e1db=_0x34911e['version'];for(const _0x3c0121 of this['_operationsData'])switch(_0x3c0121['type']){case'attribute':{const _0x4f7122=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['path']),_0x1b7966=_0x4f7122['getShiftedBy'](_0x3c0121['howMany']),_0x3e9235=new _0x5ef8c1(_0x4f7122,_0x1b7966),_0xb64d73=JSON['parse'](_0x3c0121['oldValue']),_0x1a77ae=JSON['parse'](_0x3c0121['newValue']);_0xa1c852['push'](new _0x330bfe(_0x3e9235,_0x3c0121['key'],_0xb64d73,_0x1a77ae,_0x32e1db++));break;}case'insert':{const _0x32840a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['path']),_0x29bb3a=this['_makeModelFromTokens'](_0x3c0121['tokens']);_0xa1c852['push'](new _0x20e0ea(_0x32840a,_0x29bb3a,_0x32e1db++));break;}case'remove':{const _0x4f2c5b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['path']),_0x5e6415=new _0x19da9b(_0x34911e['graveyard'],[0x0]);_0xa1c852['push'](new _0x18aecc(_0x4f2c5b,_0x3c0121['howMany'],_0x5e6415,_0x32e1db++));break;}case'rename':{const _0x495dbf=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['path']);_0xa1c852['push'](new _0x5b4251(_0x495dbf,_0x3c0121['oldName'],_0x3c0121['newName'],_0x32e1db++));break;}case'split':{const _0x3f5e8d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['path']),_0x3b8697=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['path']['slice'](0x0,-0x1));_0x3b8697['offset']++,_0xa1c852['push'](new _0x56b9ae(_0x3f5e8d,Number['NEGATIVE_INFINITY'],_0x3b8697,null,_0x32e1db++));break;}case'merge':{const _0x341ea7=_0x3c0121['path']['slice'](),_0x40fb5a=_0x341ea7['slice'](0x0,-0x1);_0x40fb5a[_0x40fb5a['length']-0x1]++,_0x40fb5a['push'](0x0);const _0x21acf6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40fb5a),_0x54a2d8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x341ea7),_0x297892=new _0x19da9b(_0x34911e['graveyard'],[0x0]);_0xa1c852['push'](new _0x5a60fd(_0x21acf6,Number['NEGATIVE_INFINITY'],_0x54a2d8,_0x297892,_0x32e1db++));break;}case'marker':case'markedRemove':{let _0x70de92=null;if(_0x3c0121['range']){const _0xdcf029=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['range']['start']),_0x58cc31=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['range']['end']);_0x70de92=new _0x5ef8c1(_0xdcf029,_0x58cc31);}const _0xeaedbb='marker'==_0x3c0121['type']?_0x3c0121['name']:'$markedRemove:'+_0x2edb47();_0xa1c852['push'](new _0x9597cf(_0xeaedbb,null,_0x70de92,_0x34911e['model']['markers'],!0x0,_0x32e1db++));break;}case'unwrap':{const _0x245b3d=_0x3c0121['path']['slice']();_0x245b3d['push'](0x0);const _0x116dcd=_0x3c0121['path']['slice'](),_0x54f175=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x245b3d),_0x4d73a9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x116dcd),_0xb28495=new _0x19da9b(_0x34911e['graveyard'],[0x0]);_0xa1c852['push'](new _0x18aecc(_0x54f175,_0x3c0121['howMany'],_0x4d73a9,_0x32e1db++)),_0xa1c852['push'](new _0x18aecc(_0x4d73a9['getShiftedBy'](_0x3c0121['howMany']),0x1,_0xb28495,_0x32e1db++));break;}case'wrap':{const _0x12f369=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['range']['start']),_0x57fce5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c0121['range']['end']),_0x1dc3a0=_0x3c0121['token']['element']['_clone'](!0x1),_0x1d7081=_0x3c0121['range']['end']['slice']();_0x1d7081['push'](0x0);const _0x39c026=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1d7081);_0xa1c852['push'](new _0x20e0ea(_0x57fce5,_0x1dc3a0,_0x32e1db++)),_0xa1c852['push'](new _0x18aecc(_0x12f369,_0x57fce5['offset']-_0x12f369['offset'],_0x39c026,_0x32e1db++));break;}}return _0xa1c852;}['_tokenizeModel'](_0x2d83ce){const _0x215dab=[],_0x56f6bf=_0x5ef8c1['_createIn'](_0x2d83ce),_0x2b1056=new _0x297f89({'boundaries':_0x56f6bf});let _0x3f6f9b='',_0x594932=null;const _0x291b40=[''],_0x3155d5=new Map();for(const _0x3c6de3 of _0x2b1056)if('elementStart'==_0x3c6de3['type']||'elementEnd'==_0x3c6de3['type']){let _0x26e3d2=_0x291b40[0x0];''!==_0x3f6f9b&&(_0x215dab['push'](...this['_makeTokensFromTextByWords'](_0x3f6f9b,_0x594932,_0x26e3d2)),_0x3f6f9b='');const _0x41f8de=_0x3c6de3['item'];let _0x25e6d9;_0x41f8de['getAttribute'](St)?_0x25e6d9=_0x41f8de['getAttribute'](St):'elementStart'==_0x3c6de3['type']?(_0x25e6d9=_(_0x41f8de),_0x3155d5['set'](_0x41f8de,_0x25e6d9)):_0x25e6d9=_0x3155d5['get'](_0x41f8de);const _0x14ec1a=this['_getElementCategory'](_0x41f8de);'solid'==_0x14ec1a&&('elementStart'==_0x3c6de3['type']?(_0x26e3d2=_0x25e6d9,_0x291b40['unshift'](_0x26e3d2)):_0x291b40['shift']());const _0x4649bf={'type':'element','element':_0x41f8de,'elementId':_0x25e6d9,'category':_0x14ec1a,'isStart':'elementStart'==_0x3c6de3['type'],'limitId':_0x26e3d2};_0x215dab['push'](_0x4649bf);}else''==_0x3f6f9b&&(_0x594932=_0x3c6de3['previousPosition']['clone']()),_0x3f6f9b+=_0x3c6de3['item']['data'];return''!==_0x3f6f9b&&_0x215dab['push'](...this['_makeTokensFromTextByWords'](_0x3f6f9b,_0x594932,_0x291b40[0x0])),_0x215dab;}['_makeTokensFromTextByWords'](_0x4f7f45,_0x30bc51,_0x2aa8b6){const _0x1b1c29=_0x4f7f45['matchAll'](/(\s)/g),_0x4f1ad9=Array['from'](_0x1b1c29)['map'](_0x3224f4=>_0x3224f4['index']);_0x4f1ad9['push'](_0x4f7f45['length']),0x0==_0x4f1ad9[0x0]&&_0x4f1ad9['shift']();const _0x29486f=[],_0x3766e5=_0x30bc51['parent'];let _0x5a7a37=0x0,_0x1144e1=_0x30bc51['offset'];for(let _0x169b95=0x0;_0x169b95<_0x4f1ad9['length'];_0x169b95++)_0x29486f['push']({'type':'text','data':_0x4f7f45['slice'](_0x5a7a37,_0x4f1ad9[_0x169b95]),'parent':_0x3766e5,'offset':_0x1144e1,'limitId':_0x2aa8b6}),_0x5a7a37=_0x4f1ad9[_0x169b95],_0x1144e1=_0x30bc51['offset']+_0x4f1ad9[_0x169b95];return _0x29486f;}['_getElementCategory'](_0x440c0c){const _0x2aa77b=this['_editor']['model']['schema'];return _0x2aa77b['isLimit'](_0x440c0c)||_0x2aa77b['isContent'](_0x440c0c)||_0x2aa77b['isInline'](_0x440c0c)?'solid':_0x2aa77b['isBlock'](_0x440c0c)?'block':'container';}['_diffModelTokens'](_0x5649bc,_0x3cec64){const _0x115eaa=_0x17523c(_0x5649bc,_0x3cec64,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x115eaa);const _0x897441=_0x115eaa['flatMap'](_0x100a33=>{const _0x4f1eda=_0x100a33['added']?'added':_0x100a33['removed']?'removed':'unchanged';return _0x100a33['value']['map'](_0x2efa8e=>({'token':_0x2efa8e,'change':_0x4f1eda}));});let _0x36d426=0x0;for(const _0x4ec00e of _0x897441)'added'!=_0x4ec00e['change']&&('unchanged'==_0x4ec00e['change']&&(_0x4ec00e['before']=_0x5649bc[_0x36d426]),_0x36d426++);return _0x897441;}['_handleUnclosedBlockOpeningTags'](_0x4882d6){for(let _0x25cce4=0x0;_0x25cce4<_0x4882d6['length']-0x1;_0x25cce4++)if(_0x4882d6[_0x25cce4]['removed']&&_0x4882d6[_0x25cce4+0x1]['added']){const _0x114b76=this['_findUnclosedBlockOpeningToken'](_0x4882d6[_0x25cce4]['value']);if(null!==_0x114b76){const _0x1296ea=this['_findUnclosedBlockOpeningToken'](_0x4882d6[_0x25cce4+0x1]['value']),_0x3cff53=_0x4882d6[_0x25cce4]['value']['splice'](_0x114b76),_0x38a007=_0x4882d6[_0x25cce4+0x1]['value']['splice'](_0x1296ea),_0x3e13f4=[_0x38a007['shift']()];_0x3cff53['shift']();const _0x89a889={'value':_0x3cff53,'removed':!0x0},_0x3c3815={'value':_0x38a007,'added':!0x0},_0x3d0096={'value':_0x3e13f4};_0x4882d6['splice'](_0x25cce4+0x2,0x0,_0x3d0096,_0x89a889,_0x3c3815);}}}['_findUnclosedBlockOpeningToken'](_0x1305a5){let _0x6d7687=0x0,_0x317c6b=-0x1;for(let _0x4ca3ae=0x0;_0x4ca3ae<_0x1305a5['length'];_0x4ca3ae++){const _0x40a019=_0x1305a5[_0x4ca3ae];'element'==_0x40a019['type']&&'block'==_0x40a019['category']&&(_0x6d7687+=_0x40a019['isStart']?0x1:-0x1,_0x40a019['isStart']&&(_0x317c6b=_0x4ca3ae));}return 0x0===_0x6d7687?null:_0x317c6b;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3e4000=0x0;_0x3e4000<this['_diffItems']['length'];_0x3e4000++){const _0x2a4970=this['_diffItems'][_0x3e4000]['change'],_0x1f5dfd=[];_0x1f5dfd['push'](this['_diffItems'][_0x3e4000]);let _0x4c6465=_0x3e4000+0x1;for(;this['_diffItems'][_0x4c6465]&&this['_diffItems'][_0x4c6465]['change']==_0x2a4970;)_0x1f5dfd['push'](this['_diffItems'][_0x4c6465]),_0x4c6465++,_0x3e4000++;const _0x97465=_0x1f5dfd['map'](_0x5782c4=>_0x5782c4['token']);if('unchanged'==_0x2a4970)_0x1f5dfd['map'](_0x3c05bc=>_0x3c05bc['before'])['forEach'](_0x1c3a9f=>this['_traverseOverItem'](_0x1c3a9f));else{if('removed'==_0x2a4970){if(this['_markDeletions']){const _0x1ab3c8=this['_path']['slice']();_0x97465['forEach'](_0x1f2112=>this['_traverseOverItem'](_0x1f2112));const _0x75a399=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x1ab3c8,'end':_0x75a399}});}else this['_handleChanged'](_0x97465,!0x0,this['_path']['slice']());}else{const _0x5897fc=_0x97465['filter'](_0x3ddaef=>'element'!=_0x3ddaef['type']||'container'!=_0x3ddaef['category']);this['_handleChanged'](_0x5897fc,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4df607=0x0;_0x4df607<this['_diffItems']['length'];_0x4df607++){const _0x19732b=this['_diffItems'][_0x4df607]['change'],_0x351ba1=[];_0x351ba1['push'](this['_diffItems'][_0x4df607]);let _0x3850c7=_0x4df607+0x1;for(;this['_diffItems'][_0x3850c7]&&this['_diffItems'][_0x3850c7]['change']==_0x19732b;)_0x351ba1['push'](this['_diffItems'][_0x3850c7]),_0x3850c7++,_0x4df607++;const _0x42b34a=_0x351ba1['map'](_0x3e1527=>_0x3e1527['token']);if('unchanged'==_0x19732b){const _0x549e3e=_0x351ba1['map'](_0x1b493a=>_0x1b493a['before']);this['_handleUnchanged'](_0x549e3e,_0x42b34a);}else('removed'!=_0x19732b||this['_markDeletions'])&&_0x42b34a['forEach'](_0x569d34=>{this['_traverseOverItem'](_0x569d34);});}}['_calculateMarkersOperationsData'](_0xae1b48,_0x338968){const _0x55803f={};for(const [_0x2c9ddc]of _0xae1b48)_0x55803f[_0x2c9ddc]=null;for(const [_0x495fd7,_0x2ca75c]of _0x338968)_0x55803f[_0x495fd7]=_0x2ca75c;const _0x51154b=Object['entries'](_0x55803f)['map'](([_0x451d9,_0x34345c])=>({'type':'marker','name':_0x451d9,'range':_0x34345c?{'start':_0x34345c['start']['path']['slice'](),'end':_0x34345c['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x51154b);}['_handleUnwraps'](){const _0x18241f=new Map(),_0xeb91bb=[],_0x599087=[0x0];let _0x42b222=this['_diffItems']['length']+0x1;for(let _0x4068ad=this['_diffItems']['length']-0x1;_0x4068ad>=0x0;_0x4068ad--){const {token:_0x1949af,before:_0x1f3044,change:_0x5938e7}=this['_diffItems'][_0x4068ad];if('removed'!=_0x5938e7&&(_0x42b222=_0x4068ad),'element'!=_0x1949af['type']||'container'!=_0x1949af['category']||'added'==_0x5938e7)continue;const _0x239e20=_0x1f3044?_0x1f3044['element']:_0x1949af['element'];if(_0x1949af['isStart']){const _0x3f8a04=_0x18241f['get'](_0x239e20),_0x4cfe6d=this['_diffItems'][_0x3f8a04];('removed'==_0x5938e7||'removed'==_0x4cfe6d['change'])&&_0x42b222<_0x3f8a04&&(this['_operationsData']['push']({'type':'unwrap','path':_0x239e20['getPath'](),'howMany':_0x239e20['maxOffset']+_0x599087[0x0]}),_0x599087['shift'](),_0x599087[0x0]+=_0x239e20['maxOffset']-0x1,_0xeb91bb['push'](_0x4068ad),_0xeb91bb['push'](_0x3f8a04));}else _0x18241f['set'](_0x239e20,_0x4068ad),_0x599087['unshift'](0x0);}_0xeb91bb['sort']((_0x1d7161,_0xb90e32)=>_0xb90e32-_0x1d7161),_0xeb91bb['forEach'](_0x44d438=>{const _0x3cd5a3=this['_diffItems'][_0x44d438];'removed'==_0x3cd5a3['change']?this['_diffItems']['splice'](_0x44d438,0x1):(_0x3cd5a3['change']='added',delete _0x3cd5a3['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x15d9ac=[];for(let _0x5cddc4=0x0;_0x5cddc4<this['_diffItems']['length'];_0x5cddc4++){const {change:_0x46427f,token:_0x12d1e5}=this['_diffItems'][_0x5cddc4];if('added'==_0x46427f&&'element'==_0x12d1e5['type']&&'container'==_0x12d1e5['category']){if(_0x12d1e5['isStart'])_0x15d9ac['push'](this['_path']['slice']());else{if(!_0x12d1e5['isStart']){const _0x1f8e2d=_0x15d9ac['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x1f8e2d,'end':this['_path']['slice']()},'token':_0x12d1e5}),this['_path'][this['_path']['length']-0x1]=_0x1f8e2d[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x46427f||this['_markDeletions'])&&this['_traverseOverItem'](_0x12d1e5);}}['_handleUnchanged'](_0x4ec0c9,_0x291197){for(let _0x226b13=0x0;_0x226b13<_0x4ec0c9['length'];_0x226b13++){const _0x2a9e32=_0x4ec0c9[_0x226b13];if('element'==_0x2a9e32['type']&&_0x2a9e32['isStart']){const _0x4571d8=_0x291197[_0x226b13];'block'==_0x2a9e32['category']&&this['_handleElementRename'](_0x2a9e32['element'],_0x4571d8['element'],this['_path']),this['_handleElementAttributeChanges'](_0x2a9e32['element'],_0x4571d8['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x4571d8);}else{if('element'!=_0x2a9e32['type']||_0x2a9e32['isStart']){if('text'==_0x2a9e32['type']){const _0x672658=this['_path']['slice'](),_0x192a6c=[],_0x45d22f=[];for(;_0x4ec0c9[_0x226b13]&&'text'==_0x4ec0c9[_0x226b13]['type'];)_0x192a6c['push'](_0x4ec0c9[_0x226b13]),_0x45d22f['push'](_0x291197[_0x226b13]),this['_path'][this['_path']['length']-0x1]+=_0x4ec0c9[_0x226b13]['data']['length'],_0x226b13++;_0x226b13--,this['_handleTextAttributeChanges'](_0x192a6c,_0x45d22f,_0x672658);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1a6773,_0x4a5c47,_0x5e0ad8){const _0x25b2c2=[],_0x344726=[],_0x320246=_0x5e0ad8['slice']();for(let _0x73b084=0x0;_0x73b084<_0x1a6773['length'];_0x73b084++){const _0x2056bf=_0x1a6773[_0x73b084],_0x2ee37e=_0x5e0ad8['slice']();if('element'!=_0x2056bf['type']||_0x2056bf['isStart'])'element'==_0x2056bf['type']&&_0x2056bf['isStart']?(_0x5e0ad8['push'](0x0),_0x4a5c47||this['_parents']['push'](_0x2056bf),_0x344726['push']({'before':_0x2ee37e,'after':_0x5e0ad8['slice'](),'index':_0x73b084})):_0x5e0ad8[_0x5e0ad8['length']-0x1]+=_0x2056bf['data']['length'];else{let _0x242503;_0x5e0ad8['pop'](),_0x5e0ad8[_0x5e0ad8['length']-0x1]++,_0x242503=_0x4a5c47?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x344726['length']?_0x344726['pop']():_0x25b2c2['push']({'before':_0x2ee37e,'after':_0x5e0ad8['slice'](),'index':_0x73b084,'related':_0x242503});}}if(_0x344726['length']!==_0x25b2c2['length'])throw new _0x38c140('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1a6773,'isRemove':_0x4a5c47});const _0x2afb56=[{'after':_0x320246['slice'](),'index':-0x1},..._0x25b2c2,..._0x344726,{'before':_0x5e0ad8['slice'](),'index':_0x1a6773['length']}];if(_0x4a5c47){for(let _0x247583=_0x2afb56['length']-0x1;_0x247583>=0x1;_0x247583--){const _0x12b4f5=_0x2afb56[_0x247583-0x1]['after'],_0x2af0d1=_0x2afb56[_0x247583]['before'],_0x3747d3=_0x2af0d1[_0x2af0d1['length']-0x1]-_0x12b4f5[_0x12b4f5['length']-0x1];_0x3747d3&&(this['_operationsData']['push']({'type':'remove','path':_0x12b4f5,'howMany':_0x3747d3}),_0x2af0d1[_0x2af0d1['length']-0x1]-=_0x3747d3);}for(const {before:_0x491258}of _0x25b2c2)this['_operationsData']['push']({'type':'merge','path':_0x491258});}else for(let _0x32da88=0x0;_0x32da88<_0x2afb56['length']-0x1;_0x32da88++){const _0x397397=_0x2afb56[_0x32da88]['after'],_0x417983=_0x2afb56[_0x32da88+0x1]['before'],_0x14e816=_0x2afb56[_0x32da88]['index']+0x1,_0x28043e=_0x2afb56[_0x32da88+0x1]['index'];if(_0x14e816!==_0x28043e&&this['_operationsData']['push']({'type':'insert','path':_0x397397,'tokens':_0x1a6773['slice'](_0x14e816,_0x28043e)}),_0x32da88<_0x25b2c2['length']){this['_operationsData']['push']({'type':'split','path':_0x417983});const _0xda3b93=_0x1a6773[_0x344726[_0x344726['length']-0x1-_0x32da88]['index']],_0x5c56d6=_0x25b2c2[_0x32da88]['after'],_0x530eeb=_0x25b2c2[_0x32da88]['related']['element'];this['_handleElementRename'](_0x530eeb,_0xda3b93['element'],_0x5c56d6),this['_handleElementAttributeChanges'](_0x530eeb,_0xda3b93['element'],_0x5c56d6);}}}['_traverseOverItem'](_0x46dc10){'element'==_0x46dc10['type']&&_0x46dc10['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x46dc10)):'element'!=_0x46dc10['type']||_0x46dc10['isStart']?'text'==_0x46dc10['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x46dc10['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x405726,_0x47aafe,_0x4a38f7){_0x405726['name']!=_0x47aafe['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4a38f7['slice'](),'oldName':_0x405726['name'],'newName':_0x47aafe['name']});}['_handleElementAttributeChanges'](_0x415ebb,_0x5c4db2,_0xa8d33a){const _0xb59079=this['_getAttributeChanges'](_0x415ebb['getAttributes'](),_0x5c4db2['getAttributes']());for(const _0x1dd997 in _0xb59079){const {oldValue:_0x58d633,newValue:_0x1616b3}=_0xb59079[_0x1dd997];this['_operationsData']['push']({'type':'attribute','path':_0xa8d33a['slice'](),'howMany':0x1,'key':_0x1dd997,'oldValue':_0x58d633,'newValue':_0x1616b3});}}['_handleTextAttributeChanges'](_0x40c93d,_0x3f0352,_0xbeda79){const _0x3bd59a=this['_operationsData'],_0x3af2d0=_0x40c93d[0x0]['parent'],_0x321218=_0x40c93d[0x0]['offset'],_0xa872f5=_0x3f0352[0x0]['parent'],_0x3ef265=_0x3f0352[0x0]['offset'],_0x3eb168=_0x40c93d['reduce']((_0x59736d,_0x126d5a)=>_0x59736d+_0x126d5a['data']['length'],0x0),_0x7dc221=this['_getAttrsForOffsets'](_0x3af2d0,_0x321218,_0x3eb168),_0xbeb556=this['_getAttrsForOffsets'](_0xa872f5,_0x3ef265,_0x3eb168),_0x58cfcf={};for(let _0xddc723=0x0;_0xddc723<_0x3eb168;_0xddc723++){const _0x261e3a=_0x7dc221[_0x321218+_0xddc723],_0x5c3e37=_0xbeb556[_0x3ef265+_0xddc723],_0x2d0fe5=this['_getAttributeChanges'](_0x261e3a,_0x5c3e37);for(const _0x439d59 in _0x58cfcf)_0x2d0fe5[_0x439d59]||_0xfffc1e(_0x439d59);for(const _0x5e1a60 in _0x2d0fe5){const {oldValue:_0x5f5560,newValue:_0xd70b26}=_0x2d0fe5[_0x5e1a60],_0x3e971b=_0x58cfcf[_0x5e1a60];_0x3e971b?_0x3e971b['oldValue']==_0x5f5560&&_0x3e971b['newValue']==_0xd70b26?_0x3e971b['length']++:(_0xfffc1e(_0x5e1a60),_0x58cfcf[_0x5e1a60]={'oldValue':_0x5f5560,'newValue':_0xd70b26,'start':_0xddc723,'length':0x1}):_0x58cfcf[_0x5e1a60]={'oldValue':_0x5f5560,'newValue':_0xd70b26,'start':_0xddc723,'length':0x1};}}for(const _0x28b83c in _0x58cfcf)_0xfffc1e(_0x28b83c);function _0xfffc1e(_0x26f403){const _0x27ab3c=_0x58cfcf[_0x26f403],_0x5d6403=_0xbeda79['slice']();_0x5d6403[_0x5d6403['length']-0x1]+=_0x27ab3c['start'],_0x3bd59a['push']({'type':'attribute','path':_0x5d6403,'howMany':_0x27ab3c['length'],'key':_0x26f403,'oldValue':_0x27ab3c['oldValue'],'newValue':_0x27ab3c['newValue']}),delete _0x58cfcf[_0x26f403];}}['_getAttributeChanges'](_0x30c599,_0x3aa1c5){const _0x2165e4={};for(const [_0x22c671,_0x13f0af]of _0x30c599)_0x2165e4[_0x22c671]={'oldValue':JSON['stringify'](_0x13f0af),'newValue':'null'};for(const [_0x117b9e,_0x3cde1d]of _0x3aa1c5){const _0x593358=JSON['stringify'](_0x3cde1d);_0x2165e4[_0x117b9e]?_0x2165e4[_0x117b9e]['oldValue']==_0x593358?delete _0x2165e4[_0x117b9e]:_0x2165e4[_0x117b9e]['newValue']=_0x593358:_0x2165e4[_0x117b9e]={'oldValue':'null','newValue':_0x593358};}return delete _0x2165e4[St],_0x2165e4;}['_getAttrsForOffsets'](_0x3a2a58,_0x1cfe83,_0x2ce110){const _0xb1b349=new Array(_0x1cfe83+_0x2ce110);let _0x1e9787=_0x3a2a58['getChildAtOffset'](_0x1cfe83),_0x13760d=_0x1e9787['startOffset'];for(;_0x1e9787&&_0x13760d<_0x1cfe83+_0x2ce110;){const _0xadb856=Array['from'](_0x1e9787['getAttributes']());_0xb1b349['fill'](_0xadb856,_0x13760d,_0x13760d+_0x1e9787['offsetSize']),_0x13760d+=_0x1e9787['offsetSize'],_0x1e9787=_0x1e9787['nextSibling'];}return _0xb1b349;}['_getPositionFromAnchorAndPath'](_0x6c0179,_0x5068e2){const _0x2aad80=[..._0x6c0179['path']['slice'](0x0,-0x1),_0x6c0179['offset']+_0x5068e2[0x0],..._0x5068e2['slice'](0x1)];return new _0x19da9b(_0x6c0179['root'],_0x2aad80);}['_makeModelFromTokens'](_0x1a06a6){const _0x17e55f=[];let _0x399840=null;for(const _0x15b174 of _0x1a06a6)if('element'!=_0x15b174['type']||_0x15b174['isStart']||_0x399840!=_0x15b174['element']){if(!_0x399840){if('text'==_0x15b174['type']){const _0x1800c7=_0x19da9b['_createAt'](_0x15b174['parent'],_0x15b174['offset']),_0x2a3c2b=_0x5ef8c1['_createFromPositionAndShift'](_0x1800c7,_0x15b174['data']['length']),_0x319b6c=Array['from'](_0x2a3c2b['getItems']())['map'](_0x2633a9=>new _0x5d7e4b(_0x2633a9['data'],_0x2633a9['getAttributes']()));_0x17e55f['push'](..._0x319b6c);}else{_0x399840=_0x15b174['element'];const _0x1f2462=_0x15b174['element']['_clone'](!0x0);_0x1f2462['_removeAttribute'](St);for(const _0x46f09e of this['_editor']['model']['createRangeIn'](_0x1f2462)['getItems']())_0x46f09e['is']('element')&&_0x46f09e['_removeAttribute'](St);_0x17e55f['push'](_0x1f2462);}}}else _0x399840=null;return _0x17e55f;}}function g(_0x57a9da,_0x17b351){return _0x57a9da['type']===_0x17b351['type']&&(_0x57a9da['limitId']===_0x17b351['limitId']&&('text'==_0x57a9da['type']?_0x57a9da['data']==_0x17b351['data']:function(_0x5b966e,_0x2c3f5f){if(_0x5b966e['isStart']!=_0x2c3f5f['isStart'])return!0x1;if(_0x5b966e['isStart']&&_0x5b966e['elementId']!=_0x2c3f5f['elementId'])return!0x1;if(_0x5b966e['category']!=_0x2c3f5f['category'])return!0x1;if('block'==_0x5b966e['category'])return!0x0;if('container'==_0x5b966e['category']&&_0x5b966e['elementId']!=_0x2c3f5f['elementId'])return!0x1;return _0x5b966e['element']['name']==_0x2c3f5f['element']['name'];}(_0x57a9da,_0x17b351)));}function _(_0x2c88fa){return k({'name':_0x2c88fa['name'],...Object['fromEntries'](_0x2c88fa['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,at as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2a9c08=>0x1!=_0x2a9c08}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2961ab=>{const {af:{dictionary:_0x2c3b5d,getPluralForm:_0x4ee10d}}={'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':_0x3285b3=>0x1!=_0x3285b3}};_0x2961ab['af']||={'dictionary':{},'getPluralForm':null},_0x2961ab['af']['dictionary']=Object['assign'](_0x2961ab['af']['dictionary'],_0x2c3b5d),_0x2961ab['af']['getPluralForm']=_0x4ee10d;})(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':_0x8933c8=>0x0==_0x8933c8?0x0:0x1==_0x8933c8?0x1:0x2==_0x8933c8?0x2:_0x8933c8%0x64>=0x3&&_0x8933c8%0x64<=0xa?0x3:_0x8933c8%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x20b1eb=>{const {ar:{dictionary:_0x352e2e,getPluralForm:_0x4f20fb}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x5889a8=>0x0==_0x5889a8?0x0:0x1==_0x5889a8?0x1:0x2==_0x5889a8?0x2:_0x5889a8%0x64>=0x3&&_0x5889a8%0x64<=0xa?0x3:_0x5889a8%0x64>=0xb?0x4:0x5}};_0x20b1eb['ar']||={'dictionary':{},'getPluralForm':null},_0x20b1eb['ar']['dictionary']=Object['assign'](_0x20b1eb['ar']['dictionary'],_0x352e2e),_0x20b1eb['ar']['getPluralForm']=_0x4f20fb;})(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':_0x1ccfd4=>0x1!=_0x1ccfd4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19376f=>{const {ast:{dictionary:_0x54e48c,getPluralForm:_0x2df774}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2334f5=>0x1!=_0x2334f5}};_0x19376f['ast']||={'dictionary':{},'getPluralForm':null},_0x19376f['ast']['dictionary']=Object['assign'](_0x19376f['ast']['dictionary'],_0x54e48c),_0x19376f['ast']['getPluralForm']=_0x2df774;})(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':_0xfe58e2=>0x1!=_0xfe58e2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39681f=>{const {az:{dictionary:_0x1a97b7,getPluralForm:_0xb824c3}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x464c98=>0x1!=_0x464c98}};_0x39681f['az']||={'dictionary':{},'getPluralForm':null},_0x39681f['az']['dictionary']=Object['assign'](_0x39681f['az']['dictionary'],_0x1a97b7),_0x39681f['az']['getPluralForm']=_0xb824c3;})(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':_0x971bce=>_0x971bce%0xa==0x1&&_0x971bce%0x64!=0xb?0x0:_0x971bce%0xa>=0x2&&_0x971bce%0xa<=0x4&&(_0x971bce%0x64<0xa||_0x971bce%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29422e=>{const {be:{dictionary:_0x28a130,getPluralForm:_0x19ba1b}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x34161c=>_0x34161c%0xa==0x1&&_0x34161c%0x64!=0xb?0x0:_0x34161c%0xa>=0x2&&_0x34161c%0xa<=0x4&&(_0x34161c%0x64<0xa||_0x34161c%0x64>=0x14)?0x1:0x2}};_0x29422e['be']||={'dictionary':{},'getPluralForm':null},_0x29422e['be']['dictionary']=Object['assign'](_0x29422e['be']['dictionary'],_0x28a130),_0x29422e['be']['getPluralForm']=_0x19ba1b;})(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':_0xf9c3f=>0x1!=_0xf9c3f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f3017=>{const {bg:{dictionary:_0x4bb509,getPluralForm:_0x106f38}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x4990af=>0x1!=_0x4990af}};_0x4f3017['bg']||={'dictionary':{},'getPluralForm':null},_0x4f3017['bg']['dictionary']=Object['assign'](_0x4f3017['bg']['dictionary'],_0x4bb509),_0x4f3017['bg']['getPluralForm']=_0x106f38;})(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':_0x115b99=>0x1!=_0x115b99}};
|