@ckeditor/ckeditor5-collaboration-core 47.5.0-alpha.7 → 47.5.0
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 _0x53ca0d,Editor as _0xcd6ed,Plugin as _0x3c958c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x56f229,Collection as _0x1a043c,uid as _0x131334,toArray as rt,first as _0x33abae,FocusTracker as _0x123d33,KeystrokeHandler as _0x26974d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3c706e,IconView as st,ButtonView as ts,DropdownButtonView as _0xc0539,FocusCycler as _0x1aaeef,isViewWithFocusCycler as _0x592ce0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x5b22b7,IconCancel as _0x108f18}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0xb3fbc7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x4d8477,MoveOperation as _0x5c3cdf,ModelPosition as _0x12bf39,ModelRange as _0x477552,MarkerOperation as _0x10d9c4,MergeOperation as _0x30f68b,SplitOperation as _0x3a49e0,RenameOperation as _0x2f3678,AttributeOperation as _0x20cecd,ModelTreeWalker as _0x4f1dd2,ModelText as _0x2c9bdb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x2cea52}from'diff';class C extends _0x53ca0d{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0xe39e5b,_0x4bb5a5){let _0x4cb763;if(_0x4bb5a5||(_0x4bb5a5=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x4bb5a5?_0x4cb763=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4cb763=this['context']['editors']['find'](_0x56f1ff=>_0x56f1ff['config']['get']('collaboration.channelId')==_0x4bb5a5)),!_0x4cb763)throw new _0x56f229('permissions-set-permissions-invalid-channel-id',null);const _0x23d14d=_0x4cb763['plugins'],_0x1d2c5f=_0x23d14d['has']('CommentsRepository')?_0x23d14d['get']('CommentsRepository'):void 0x0,_0x2d90ae=_0x23d14d['has']('CommentsOnly')&&_0x23d14d['get']('CommentsOnly'),_0x22d95d=_0xe39e5b['includes']('document:write'),_0x431e4b=_0xe39e5b['includes']('comment:modify_all'),_0x419961=_0xe39e5b['includes']('comment:admin'),_0x5e644f=_0xe39e5b['includes']('comment:write'),_0x2c437a=_0x5e644f||_0x419961,_0x2e3f8d=_0x2c437a||_0x431e4b,_0x15b3d8=_0x22d95d||_0x2c437a;(_0x2d90ae&&(_0x2d90ae['isEnabled']=!_0x22d95d&&_0x2e3f8d),_0x4cb763 instanceof _0xcd6ed)&&(!(_0x22d95d||_0x2e3f8d&&_0x1d2c5f)?_0x4cb763['enableReadOnlyMode']('no-permissions'):_0x4cb763['disableReadOnlyMode']('no-permissions'));if(_0x1d2c5f){_0x1d2c5f['setPermissions']({'admin':_0x419961,'modifyAll':_0x431e4b,'write':_0x5e644f,'resolve':_0x15b3d8},_0x4bb5a5);const _0xe48528=_0x4cb763 instanceof _0xcd6ed&&_0x4cb763['commands']['get']('addCommentThread');_0xe48528&&(_0x2c437a?_0xe48528['clearForceDisabled']('noPermissions'):_0xe48528['forceDisabled']('noPermissions'));}}}function U(_0x2400e4,_0x67f9a5){const t=_0x2400e4['t'];switch(_0x67f9a5){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 _0x53ca0d{['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(_0x12cda6){super(_0x12cda6),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1a043c(),this['_locale']=_0x12cda6['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:_0x16186f,name:_0x263191,..._0xf1004d}){if(!_0x16186f||'string'!=typeof _0x16186f)throw new _0x56f229('users-add-invalid-id');if(this['users']['has'](_0x16186f))throw new _0x56f229('users-add-duplicated-id',null,{'id':_0x16186f});const _0x144072=this['context']['config']['get']('users.getInitialsCallback'),_0x202863={..._0xf1004d,'id':_0x16186f,'name':A(this['_locale'],_0x263191),'color':this['_getNextColor']()};_0x202863['name']=A(this['_locale'],_0x202863['name']);const _0x3b6f64=new lt(_0x202863,_0x144072);return this['users']['add'](_0x3b6f64),_0x3b6f64;}['getUser'](_0x6c9680){return this['users']['get'](_0x6c9680);}['useAnonymousUser'](){const _0x3fbe5c=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3fbe5c);}['defineMe'](_0xf86843){if(this['_myId'])throw new _0x56f229('users-me-already-defined',null);const _0x1fe625=this['getUser'](_0xf86843);if(!_0x1fe625)throw new _0x56f229('users-me-missing-user',null);this['_myId']=_0xf86843,_0x1fe625['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x5bf0ba=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x5bf0ba&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x21d50d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x21d50d,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x46b01b,_0x3c68ee){this['id']=_0x46b01b['id'],this['color']=_0x46b01b['color'],this['name']=_0x46b01b['name'],this['initials']=_0x3c68ee?_0x3c68ee(this['name']):this['_computeInitials'](),this['avatar']=_0x46b01b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x1d9566=this['name']['split']('\x20')['filter'](_0x498938=>/^[\p{Letter}]/u['test'](_0x498938));return 0x1===_0x1d9566['length']?this['_getInitial'](_0x1d9566[0x0]):0x0===_0x1d9566['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x1d9566[0x0])+this['_getInitial'](_0x1d9566[_0x1d9566['length']-0x1]);}['_getInitial'](_0x125a1d){return String['fromCodePoint'](_0x125a1d['codePointAt'](0x0))['toUpperCase']();}}function A(_0x2d63d0,_0x44c67c=''){return''==(_0x44c67c=_0x44c67c['trim']())?U(_0x2d63d0,'Anonymous'):_0x44c67c;}class ut{['_id'];constructor(_0x4ba1f7){this['_id']=_0x4ba1f7;}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 _0x3c706e{['name'];['notificationView'];constructor(_0x51a06a,_0x37a914,_0x5908af){super(_0x51a06a),this['name']=_0x37a914['name'],this['notificationView']=null;const _0x325c35=['ck','ck-user'],_0xb56c80=['ck','ck-user__img'];if(_0x37a914['isAnonymous']&&_0xb56c80['push']('ck-user__anonymous'),!_0x37a914['isAnonymous']&&_0x37a914['isMe']&&_0x325c35['push']('ck-user_me'),_0x37a914['avatar']&&_0xb56c80['push']('ck-user__avatar'),_0x5908af){const _0x51861b=new st();_0x51861b['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x51861b['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5908af},'children':[_0x51861b]};}const _0x4e9536=[{'tag':'div','attributes':{'class':_0xb56c80,'style':{'background-image':_0x37a914['avatar']?'url(\x27'+_0x37a914['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x37a914['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x37a914['name']},'children':[{'text':_0x37a914['initials']}]}];this['notificationView']&&_0x4e9536['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x325c35,'data-user-id':_0x37a914['id']},'children':_0x4e9536});}}class dt extends _0x3c706e{['id'];constructor(_0x4adbe3,_0x1c06af){super(_0x4adbe3),this['id']='ck-aria-description-'+_0x131334(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x1c06af}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0xc0539{['render'](){super['render'](),re(this);}}function re(_0x12c339){_0x12c339['listenTo'](_0x12c339['element'],'mousedown',(_0x4e64d2,_0x4fbbc3)=>{_0x4fbbc3['stopPropagation'](),_0x4fbbc3['preventDefault']();}),_0x12c339['listenTo'](_0x12c339['element'],'mouseup',()=>{_0x12c339['element']['focus']();});}function v(_0x3f0677){const _0x1377fe=_0x3f0677['split'](':');return{'group':_0x1377fe[0x0],'type':_0x1377fe[0x1],'subType':_0x1377fe['length']>=0x5?_0x1377fe[0x2]:null,'id':_0x1377fe['length']<0x5?_0x1377fe[0x2]:_0x1377fe[0x3],'authorId':_0x1377fe['length']<0x5?_0x1377fe[0x3]:_0x1377fe[0x4],'markerCount':0x6==_0x1377fe['length']?_0x1377fe[0x5]:null};}function mt(_0x5abf84,_0x2e54a7){const _0x6812b4=_0x5abf84['end']['nodeBefore'];if(_0x6812b4&&_0x6812b4['is']('element')&&_0x2e54a7['schema']['isBlock'](_0x6812b4)&&!_0x2e54a7['schema']['isObject'](_0x6812b4)){const _0x1f50d6=_0x2e54a7['createPositionAt'](_0x6812b4,'end');return _0x2e54a7['createRange'](_0x5abf84['start'],_0x1f50d6);}return _0x5abf84;}class M extends _0x3c958c{['afterInit'](){const _0x2043cf=this['editor'];if(!_0x2043cf['plugins']['has']('AlignmentEditing'))return;_0x2043cf['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x3c958c{['afterInit'](){const _0x52bbb1=this['editor'],_0x210669=_0x52bbb1['plugins']['get']('SuggestionsConversion');for(const _0x104bb1 of ii){if(!_0x52bbb1['plugins']['has'](_0x104bb1))continue;const _0x53cd9b=_0x104bb1['slice'](0x0,-0x7)['toLowerCase']();_0x210669['registerInlineAttribute'](_0x53cd9b);}}}class I extends _0x3c958c{['afterInit'](){const _0x27ff4f=this['editor'],_0x136e70=_0x27ff4f['plugins']['get']('SuggestionsConversion');_0x27ff4f['plugins']['has']('BookmarkEditing')&&_0x136e70['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x3c958c{['afterInit'](){const _0x1b56cb=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x1e8d65,commandName:_0x3c0064}of no)this['editor']['plugins']['has'](_0x1e8d65)&&_0x1b56cb['registerInlineAttribute'](_0x3c0064);}}class T extends _0x3c958c{['afterInit'](){const {editor:_0x8acfc7}=this;if(!_0x8acfc7['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x22611a=_0x8acfc7['plugins']['get']('SuggestionsConversion');_0x22611a['registerBlockAttribute']('footnotesListStyle'),_0x22611a['registerBlockAttribute']('footnotesListStart');}}class E extends _0x3c958c{['afterInit'](){const _0x2fd3c7=this['editor'];if(!_0x2fd3c7['plugins']['has']('HighlightEditing'))return;_0x2fd3c7['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x3c958c{['afterInit'](){const _0xb4039c=this['editor'];if(!_0xb4039c['plugins']['has']('HtmlEmbed'))return;_0xb4039c['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x3c958c{['afterInit'](){const _0xef9ad5=this['editor'];if(!_0xef9ad5['plugins']['has']('ImageEditing'))return;const _0x50ae4b=_0xef9ad5['plugins']['get']('SuggestionsConversion');_0x50ae4b['registerBlockAttribute']('src'),_0xef9ad5['plugins']['has']('ImageResize')&&_0x50ae4b['registerBlockAttribute']('resizedWidth'),_0xef9ad5['plugins']['has']('ImageTextAlternativeEditing')&&_0x50ae4b['registerBlockAttribute']('alt'),_0xef9ad5['plugins']['has']('PictureEditing')&&_0x50ae4b['registerBlockAttribute']('sources'),_0xef9ad5['plugins']['has']('ImageSizeAttributes')&&(_0x50ae4b['registerBlockAttribute']('width'),_0x50ae4b['registerBlockAttribute']('height'));}}class x extends _0x3c958c{['afterInit'](){const _0x402c1d=this['editor'],_0x17cfea=_0x402c1d['plugins']['get']('SuggestionsConversion');_0x402c1d['plugins']['has']('IndentBlock')&&_0x17cfea['registerBlockAttribute']('blockIndent');}}class H extends _0x3c958c{['afterInit'](){const _0x2cadf4=this['editor'];if(!_0x2cadf4['plugins']['has']('LineHeight'))return;_0x2cadf4['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x3c958c{['afterInit'](){const _0x34925e=this['editor'];if(!_0x34925e['plugins']['has']('LinkEditing'))return;const _0x5d70eb=_0x34925e['plugins']['get']('SuggestionsConversion'),_0x1de1e3=_0x34925e['commands']['get']('link');_0x5d70eb['registerInlineAttribute']('linkHref');for(const _0x3d8a46 of _0x1de1e3['manualDecorators'])_0x5d70eb['registerInlineAttribute'](_0x3d8a46['id']);}}class P extends _0x3c958c{['afterInit'](){const _0x2d07c4=this['editor'];if(!_0x2d07c4['plugins']['has']('ListEditing'))return;const _0x454dde=_0x2d07c4['plugins']['get']('SuggestionsConversion'),_0x5a5e98=_0x2d07c4['plugins']['has']('TodoListEditing');_0x454dde['registerBlockAttribute']('listItemId'),_0x454dde['registerBlockAttribute']('listType'),_0x454dde['registerBlockAttribute']('listIndent'),_0x5a5e98&&_0x454dde['registerBlockAttribute']('todoListChecked');}}class K extends _0x3c958c{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3eaf24=this['editor']['config']['get']('list.properties'),_0x2a03d0=this['editor']['plugins']['get']('SuggestionsConversion');_0x3eaf24['styles']&&_0x2a03d0['registerBlockAttribute']('listStyle'),_0x3eaf24['reversed']&&_0x2a03d0['registerBlockAttribute']('listReversed'),_0x3eaf24['startIndex']&&_0x2a03d0['registerBlockAttribute']('listStart');}}class q extends _0x3c958c{['afterInit'](){const _0x3c03f7=this['editor'],_0x4d77a8=_0x3c03f7['plugins']['get']('SuggestionsConversion');_0x3c03f7['plugins']['has']('MultiLevelList')&&_0x4d77a8['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x3c958c{['afterInit'](){const _0x4546af=this['editor'];if(!_0x4546af['plugins']['has']('Style')||!_0x4546af['plugins']['has']('DataSchema')||!_0x4546af['config']['get']('style.definitions'))return;const _0x158b5b=_0x4546af['plugins']['get']('SuggestionsConversion'),_0x561b61=_0x4546af['config']['get']('style.definitions'),_0x2f0463=_0x4546af['plugins']['get']('GeneralHtmlSupport'),_0x39f2ca=_0x4546af['plugins']['get']('StyleUtils')['normalizeConfig'](_0x4546af['plugins']['get']('DataSchema'),_0x561b61),_0x10b7d4=new Set();for(const _0x264dd8 of _0x39f2ca['block']){const _0x306761=_0x2f0463['getGhsAttributeNameForElement'](_0x264dd8['element']);_0x10b7d4['add'](_0x306761);}const _0x33f499=new Set();for(const _0x2309d6 of _0x39f2ca['inline']){const _0x902889=_0x2f0463['getGhsAttributeNameForElement'](_0x2309d6['element']);_0x33f499['add'](_0x902889);for(const _0x2b9299 of _0x2309d6['ghsAttributes'])_0x33f499['add'](_0x2b9299);}for(const _0x12e341 of _0x10b7d4)_0x158b5b['registerBlockAttribute'](_0x12e341);for(const _0x37cc5e of _0x33f499)_0x158b5b['registerInlineAttribute'](_0x37cc5e);}}class O extends _0x3c958c{['afterInit'](){const _0x442b3c=this['editor'];if(!_0x442b3c['plugins']['has']('TableEditing'))return;const _0x3defe5=_0x442b3c['plugins']['get']('SuggestionsConversion');_0x3defe5['registerBlockAttribute']('headingRows'),_0x3defe5['registerBlockAttribute']('headingColumns');}}class R extends _0x3c958c{['afterInit'](){const {plugins:_0x5d7bb8}=this['editor'];if(!_0x5d7bb8['has']('TablePropertiesEditing'))return;const _0x3f1cf0=_0x5d7bb8['get']('SuggestionsConversion'),_0x3ee64f=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x350eb9 of _0x3ee64f)_0x3f1cf0['registerBlockAttribute'](_0x350eb9);}}class F extends _0x3c958c{['afterInit'](){const _0x3015cb=this['editor'],_0x4f2a9f=_0x3015cb['plugins']['get']('SuggestionsConversion');_0x3015cb['plugins']['has']('TableLayout')&&_0x4f2a9f['registerBlockAttribute']('tableType');}}class G extends _0x3c958c{['afterInit'](){const _0x546530=this['editor'],_0x459ffc=this['editor']['plugins']['get']('SuggestionsConversion');_0x546530['plugins']['has']('Uploadcare')&&_0x546530['plugins']['has']('UploadcareImageEdit')&&_0x459ffc['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x3c958c{['afterInit'](){const _0x1bfc52=this['editor'];if(!_0x1bfc52['plugins']['has']('ShiftEnter'))return;const _0xfc15b0=_0x1bfc52['plugins']['get']('SuggestionsConversion'),_0x532b29=(_0xab35d7,_0x5a849d,_0x2de26a,_0x36d6d7)=>{if(_0x36d6d7&&!_0x2de26a['options']['showSuggestionHighlights'])return;if(!_0x2de26a['consumable']['test'](_0x5a849d['markerRange'],_0xab35d7['name']))return;const _0x187137=_0x1bfc52['model'];for(const _0x1b154c of _0x5a849d['markerRange']['getItems']()){if(!_0x1b154c['is']('element','softBreak'))continue;const _0x3730b6='deletion'==_0x5a849d['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x397062,authorId:_0x867763}=v(_0x5a849d['markerName']),_0x360d8b=_0x2de26a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3730b6,'data-suggestion':_0x397062,'data-author-id':_0x867763}),_0x58e336=_0x2de26a['mapper']['toViewPosition'](_0x187137['createPositionBefore'](_0x1b154c));!_0x36d6d7&&_0xfc15b0['_activeMarkers']['includes'](_0x5a849d['markerName'])&&_0x2de26a['writer']['addClass']('ck-suggestion-marker--active',_0x360d8b),_0x2de26a['writer']['insert'](_0x58e336,_0x360d8b),_0x2de26a['mapper']['bindElementToMarker'](_0x360d8b,_0x5a849d['markerName']);}};_0x1bfc52['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x9ac282,_0x20f099,_0x2497c7)=>{_0x532b29(_0x9ac282,_0x20f099,_0x2497c7,!0x1);},{'priority':'high'}),_0x1bfc52['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x59a0fe,_0x45da3b,_0xd8cbe4)=>{_0x532b29(_0x59a0fe,_0x45da3b,_0xd8cbe4,!0x0);},{'priority':'high'});}}class L extends _0x3c958c{['afterInit'](){const _0x2c1adf=this['editor'];_0x2c1adf['plugins']['has']('MediaEmbedEditing')&&(_0x2c1adf['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x488643,{writer:_0x4b4ec4,options:_0x12165b})=>{if(_0x12165b['showSuggestionHighlights'])return _0x4b4ec4['createEmptyElement']('div');},'converterPriority':'high'}),_0x2c1adf['data']['downcastDispatcher']['on']('attribute:url:media',(_0xc6232d,_0xabf70b,_0x301a2a)=>{_0x301a2a['options']['showSuggestionHighlights']&&_0xc6232d['stop']();},{'priority':'high'}));}}class Q extends _0x3c958c{['afterInit'](){const _0x2ff536=this['editor'];if(!_0x2ff536['plugins']['has']('Table'))return;_0x2ff536['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x113739,_0x3dfa3b,_0x5423b1)=>{((_0x3e015a,_0x49ae22,_0x2997cd)=>{if(!_0x2997cd['options']['showSuggestionHighlights'])return;const _0x475d50=_0x49ae22['item'];if(!_0x475d50||!_0x475d50['is']('element','tableCell'))return;const _0x1bdd66=_0x2997cd['mapper']['toViewElement'](_0x475d50);if(_0x1bdd66){const {id:_0x25fa4c,authorId:_0x2ab403}=v(_0x49ae22['markerName']);at(_0x1bdd66,_0x2997cd['writer'],(_0x1ca30c,_0x501af5,_0xcf8fe7)=>{_0xcf8fe7['addClass'](rt(_0x501af5['classes']),_0x1ca30c),_0xcf8fe7['setAttribute']('data-suggestion-id',_0x25fa4c,_0x1ca30c),_0xcf8fe7['setAttribute']('data-author-id',_0x2ab403,_0x1ca30c);});}})(0x0,_0x3dfa3b,_0x5423b1);},{'priority':'highest'});}}class V extends _0x3c958c{['afterInit'](){const _0x23bb30=this['editor'];_0x23bb30['plugins']['has']('HorizontalLineEditing')&&_0x23bb30['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x1494db,{writer:_0x3b876a,options:_0x40bf44})=>{if(!_0x40bf44['showSuggestionHighlights'])return null;const _0x35b720=_0x3b876a['createContainerElement']('div'),_0xb380e6=_0x3b876a['createEmptyElement']('hr');return _0x3b876a['addClass']('ck-horizontal-line',_0x35b720),_0x3b876a['insert'](_0x3b876a['createPositionAt'](_0x35b720,0x0),_0xb380e6),_0x35b720;},'converterPriority':'high'});}}class W extends _0x3c958c{['afterInit'](){const {plugins:_0x517682,model:_0x4e6a79}=this['editor'];if(!_0x517682['has']('TableCellPropertiesEditing'))return;const _0x36a86c=_0x517682['get']('SuggestionsConversion'),_0x43a0bd=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3536db of _0x43a0bd)_0x36a86c['registerBlockAttribute'](_0x3536db);_0x4e6a79['schema']['checkAttribute']('tableCell','tableCellType')&&_0x36a86c['registerBlockAttribute']('tableCellType');}}class kt extends _0x3c958c{['_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 _0x2dbb72=this['editor'],_0x434c02=(_0x3a9ba9,_0xddeb84,_0x2d1ed0)=>{const {id:_0x551699,authorId:_0x4ca4bf,type:_0x25df65,subType:_0x2b82be}=v(_0x3a9ba9['markerName']),_0x212279=['ck-suggestion-marker',this['_getClassName'](_0x25df65,_0x2b82be)];let _0x372362=0xbb8;return!_0x2d1ed0&&(this['_activeMarkers']['includes'](_0x3a9ba9['markerName'])&&(_0x212279['push']('ck-suggestion-marker--active'),_0x372362=0xbc2)),('deletion'==_0x25df65&&(_0x372362+=0x5),{'classes':_0x212279,'attributes':{'data-suggestion':_0x551699,'data-author-id':_0x4ca4bf},'priority':_0x372362});};_0x2dbb72['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x10cf1e,_0x5c4967)=>_0x434c02(_0x10cf1e,0x0,!0x1)}),_0x2dbb72['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x432cfb,_0x37eb72)=>_0x434c02(_0x432cfb,0x0,!0x0)}),_0x2dbb72['conversion']['for']('dataDowncast')['add'](_0x4e9940=>{_0x4e9940['on']('addMarker:suggestion',(_0x36cd52,_0x4d1145,_0x5b2574)=>{if(!_0x5b2574['options']['showSuggestionHighlights'])return;const _0x3d19c7=_0x4d1145['item'];if(!_0x3d19c7)return;const _0x560fb4=_0x5b2574['mapper']['toViewElement'](_0x3d19c7);_0x2dbb72['model']['schema']['isObject'](_0x3d19c7)&&_0x560fb4&&!_0x560fb4['getCustomProperty']('widget')&&_0x560fb4['is']('containerElement')&&_0xb3fbc7(_0x560fb4,_0x5b2574['writer']);},{'priority':'high'});});const _0x310828=(_0x3d3400,_0x5f2bff,_0x4260c1,_0x4fc050,_0xd31d92)=>{if(_0x4fc050&&!_0x4260c1['options']['showSuggestionHighlights'])return;if(!_0x5f2bff['item'])return;const {id:_0x15a62e,authorId:_0x238766,subType:_0x18014f}=v(_0x5f2bff['markerName']);if(_0xd31d92){const _0x34fbb8=_0x18014f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x34fbb8))return;}if(_0x5f2bff['item']['is']('selection'))return void _0x4260c1['consumable']['consume'](_0x5f2bff['item'],_0x3d3400['name']);const _0x306148=_0x4260c1['mapper']['toViewElement'](_0x5f2bff['item']);if(_0x5f2bff['item']['is']('element')&&_0x2dbb72['model']['schema']['isBlock'](_0x5f2bff['item'])&&!_0x306148['getCustomProperty']('addHighlight')){_0x4260c1['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x306148),_0x4260c1['writer']['setAttribute']('data-suggestion',_0x15a62e,_0x306148),_0x4260c1['writer']['setAttribute']('data-author-id',_0x238766,_0x306148),_0x4260c1['mapper']['bindElementToMarker'](_0x306148,_0x5f2bff['markerName']),_0x4fc050||(this['_activeMarkers']['includes'](_0x5f2bff['markerName'])?_0x4260c1['writer']['addClass']('ck-suggestion-marker--active',_0x306148):_0x4260c1['writer']['removeClass']('ck-suggestion-marker--active',_0x306148));for(const _0x3c1c4d of _0x2dbb72['model']['createRangeIn'](_0x5f2bff['item'])['getItems']())_0x4260c1['consumable']['consume'](_0x3c1c4d,_0x3d3400['name']);_0x4260c1['consumable']['consume'](_0x5f2bff['item'],_0x3d3400['name']);}},_0x49e002=(_0x382a38,_0x57f907,_0x56c52f,_0x4b5c86)=>{const _0x466c40=_0x56c52f['mapper']['markerNameToElements'](_0x57f907['markerName']);if(_0x466c40){if(_0x4b5c86){const {subType:_0x1cb020}=v(_0x57f907['markerName']),_0x5e2d5b=_0x1cb020['split']('|')[0x0];if(!this['isBlockAttribute'](_0x5e2d5b))return;}for(const _0x5258e3 of _0x466c40)_0x5258e3['getCustomProperty']('addHighlight')||(_0x56c52f['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5258e3),_0x56c52f['writer']['removeAttribute']('data-suggestion',_0x5258e3),_0x56c52f['writer']['removeAttribute']('data-author-id',_0x5258e3),_0x56c52f['mapper']['unbindElementFromMarkerName'](_0x5258e3,_0x57f907['markerName']));}};_0x2dbb72['conversion']['for']('editingDowncast')['add'](_0x282388=>{_0x282388['on']('addMarker:suggestion:formatBlock',(_0x5c9093,_0x5b7fab,_0x427a87)=>{_0x310828(_0x5c9093,_0x5b7fab,_0x427a87,!0x1,!0x1);},{'priority':'high'});}),_0x2dbb72['conversion']['for']('editingDowncast')['add'](_0x2bab4f=>{_0x2bab4f['on']('addMarker:suggestion:attribute',(_0x123010,_0x1c274b,_0x2709a9)=>{_0x310828(_0x123010,_0x1c274b,_0x2709a9,!0x1,!0x0);},{'priority':'high'});}),_0x2dbb72['conversion']['for']('editingDowncast')['add'](_0x74459a=>{_0x74459a['on']('removeMarker:suggestion:formatBlock',(_0x394d0e,_0x490181,_0x5b1e12)=>{_0x49e002(0x0,_0x490181,_0x5b1e12,!0x1);},{'priority':'high'});}),_0x2dbb72['conversion']['for']('editingDowncast')['add'](_0x3ab50a=>{_0x3ab50a['on']('removeMarker:suggestion:attribute',(_0x2051a6,_0x4e6180,_0x533741)=>{_0x49e002(0x0,_0x4e6180,_0x533741,!0x0);},{'priority':'high'});}),_0x2dbb72['conversion']['for']('dataDowncast')['add'](_0xb38b46=>{_0xb38b46['on']('addMarker:suggestion:formatBlock',(_0x48a89d,_0x11e336,_0x31e51d)=>{_0x310828(_0x48a89d,_0x11e336,_0x31e51d,!0x0,!0x1);},{'priority':'highest'});}),_0x2dbb72['conversion']['for']('dataDowncast')['add'](_0x4d9bd7=>{_0x4d9bd7['on']('addMarker:suggestion:attribute',(_0x562ff3,_0x3efe35,_0xb3665c)=>{_0x310828(_0x562ff3,_0x3efe35,_0xb3665c,!0x0,!0x0);},{'priority':'highest'});}),_0x2dbb72['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x23aa53,_0x5276dc)=>{if(_0x5276dc['options']['showSuggestionHighlights']){const {id:_0x44cbef,authorId:_0x210ae7}=v(_0x23aa53);return _0x23aa53['includes'](':split')||_0x23aa53['includes'](':merge')?{'group':'suggestion','name':_0x23aa53['substr'](0xb),'attributes':{'data-suggestion':_0x44cbef,'data-author-id':_0x210ae7}}:null;}return{'group':'suggestion','name':_0x23aa53['substr'](0xb)};}});const _0x32d223=(_0x342b30,_0x46fdae,_0x484ec4,_0x35f869,_0x44caa7)=>{if(_0x35f869&&!_0x484ec4['options']['showSuggestionHighlights'])return;if(!_0x484ec4['consumable']['test'](_0x46fdae['markerRange'],_0x342b30['name']))return;const _0x425801=this['_activeMarkers'],_0x92e394=_0x46fdae['markerRange']['getWalker'](),_0x5b65fc=_0x46fdae['markerRange']['start'],_0x15b779=_0x2dbb72['model']['schema'];let _0x4a4d62=null,_0x4b7230=null,_0x29b905=!0x1,_0x5f3d5=!0x1;for(const _0xc27ec8 of _0x92e394){const _0x1d069b=_0xc27ec8['item'];_0x29b905=_0x29b905||_0x15b779['isContent'](_0x1d069b);const _0x1f1f9f=_0x484ec4['mapper']['toViewElement'](_0x1d069b);if(_0x1f1f9f&&_0x1f1f9f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xc27ec8['type']&&(_0x15b779['isBlock'](_0x1d069b)&&!_0x15b779['isLimit'](_0x1d069b)&&(_0x1d069b['nextSibling']||_0x5b65fc['isAtEnd']?_0x4a4d62&&_0x4a4d62['parent']==_0x1d069b||(_0x4a4d62=_0x1d069b,_0x5cbf9f(_0xc27ec8['previousPosition']),_0x5f3d5=!0x0):_0x4b7230=_0x4b7230||_0xc27ec8['previousPosition']));}function _0x5cbf9f(_0x43267e){const {id:_0x7b5f74,authorId:_0x35660b}=v(_0x46fdae['markerName']),_0x3de2a0=_0x484ec4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x44caa7,'data-suggestion':_0x7b5f74,'data-author-id':_0x35660b}),_0x379192=_0x484ec4['mapper']['toViewPosition'](_0x43267e);!_0x35f869&&_0x425801['includes'](_0x46fdae['markerName'])&&_0x484ec4['writer']['addClass']('ck-suggestion-marker--active',_0x3de2a0),_0x484ec4['writer']['insert'](_0x379192,_0x3de2a0),_0x484ec4['mapper']['bindElementToMarker'](_0x3de2a0,_0x46fdae['markerName']);}_0x29b905||_0x5f3d5||!_0x4b7230||_0x5cbf9f(_0x4b7230);};_0x2dbb72['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4085ec,_0x7f7b94,_0x4e31f5)=>{_0x32d223(_0x4085ec,_0x7f7b94,_0x4e31f5,!0x1,'merge');},{'priority':'high'}),_0x2dbb72['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1c8565,_0x42bee6,_0x30ea69)=>{_0x32d223(_0x1c8565,_0x42bee6,_0x30ea69,!0x0,'merge');},{'priority':'high'}),_0x2dbb72['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x54560b,_0x5ae93f,_0x417b85)=>{_0x32d223(_0x54560b,_0x5ae93f,_0x417b85,!0x1,'split');},{'priority':'high'}),_0x2dbb72['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12959c,_0x17d122,_0x3e24b1)=>{_0x32d223(_0x12959c,_0x17d122,_0x3e24b1,!0x0,'split');},{'priority':'high'}),_0x2dbb72['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x2d9178,_0x532991,_0x3bcc45)=>{((_0x4451bb,_0x3e33d3,_0x740713)=>{const _0x4588d9=_0x740713['mapper']['markerNameToElements'](_0x3e33d3['markerName']);if(_0x4588d9){for(const _0x50ad1b of _0x4588d9)(_0x50ad1b['hasClass']('ck-suggestion-marker-split')||_0x50ad1b['hasClass']('ck-suggestion-marker-merge'))&&(_0x740713['mapper']['unbindElementFromMarkerName'](_0x50ad1b,_0x3e33d3['markerName']),_0x740713['writer']['remove'](_0x50ad1b));}})(0x0,_0x532991,_0x3bcc45);},{'priority':'high'});const _0x5b88a4=(_0x237960,_0x57fb6a,_0x5b1fe7,_0x56725d)=>{if(_0x56725d&&!_0x5b1fe7['options']['showSuggestionHighlights'])return;const _0x4ebbc0=_0x57fb6a['markerRange']['start'],_0x4a1b58=_0x57fb6a['markerRange']['end'],_0x2ecdc6=_0x2dbb72['model']['schema'];if(!_0x4ebbc0['isTouching'](_0x4a1b58)||!_0x4ebbc0['nodeAfter'])return;const _0x18e25c=_0x4ebbc0['nodeAfter'];if(_0x2ecdc6['isBlock'](_0x18e25c)&&!_0x2ecdc6['isLimit'](_0x18e25c)&&_0x2ecdc6['checkChild'](_0x18e25c,'$text')){if(!_0x5b1fe7['consumable']['consume'](_0x57fb6a['markerRange'],_0x237960['name']))return;const {id:_0x1dba21,authorId:_0x47c211}=v(_0x57fb6a['markerName']),_0x16a09e=_0x5b1fe7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x1dba21,'data-author-id':_0x47c211}),_0x5de0f5=_0x5b1fe7['mapper']['toViewPosition'](_0x4a1b58);!_0x56725d&&this['_activeMarkers']['includes'](_0x57fb6a['markerName'])&&_0x5b1fe7['writer']['addClass']('ck-suggestion-marker--active',_0x16a09e),_0x5b1fe7['writer']['insert'](_0x5de0f5,_0x16a09e),_0x5b1fe7['mapper']['bindElementToMarker'](_0x16a09e,_0x57fb6a['markerName']);}};_0x2dbb72['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x37b323,_0x216b00,_0x139b10)=>{_0x5b88a4(_0x37b323,_0x216b00,_0x139b10,!0x1);},{'priority':'high'}),_0x2dbb72['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xca14cf,_0x300ccc,_0x22cdc4)=>{_0x5b88a4(_0xca14cf,_0x300ccc,_0x22cdc4,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x19e906,_0x385d35,_0x1a1804)=>{this['_activeMarkers']=_0x1a1804['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0xe8994){this['_blockAttributeKeys']['add'](_0xe8994);}['registerInlineAttribute'](_0x21a2d9){this['_inlineAttributeKeys']['add'](_0x21a2d9);}['isBlockAttribute'](_0x1e8e99){return this['_blockAttributeKeys']['has'](_0x1e8e99);}['isInlineAttribute'](_0x122d61){return this['_inlineAttributeKeys']['has'](_0x122d61);}['isRegisteredAttribute'](_0x574901){return this['isInlineAttribute'](_0x574901)||this['isBlockAttribute'](_0x574901);}['_getClassName'](_0x5cc99f,_0x301024){if('attribute'!=_0x5cc99f)return'ck-suggestion-marker-'+_0x5cc99f;const _0x4161f5=_0x301024['split']('|')[0x0];return this['isBlockAttribute'](_0x4161f5)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x2e15c2={},_0x534099){if(void 0x0!==_0x2e15c2['dateTimeFormat']&&'function'!=typeof _0x2e15c2['dateTimeFormat'])throw new _0x56f229('invalid-date-time-format');return _0x32c4be=>{const _0xade996='string'==typeof _0x32c4be?tt['fromISO'](_0x32c4be):tt['fromJSDate'](_0x32c4be),_0x5bd8f9=tt['now'](),_0x2e5f08=Math['floor'](_0x5bd8f9['diff'](_0xade996,'days')['days']);return _0x2e15c2['dateTimeFormat']?_0x2e15c2['dateTimeFormat'](_0xade996['toJSDate'](),_0x534099&&_0x534099['t']?_0x534099['t']:void 0x0):0x0===_0x2e5f08?_0x534099?U(_0x534099,'Today')+'\x20'+_0xade996['toFormat']('hh:mma'):_0xade996['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x2e5f08?_0x534099?U(_0x534099,'Yesterday')+'\x20'+_0xade996['toFormat']('hh:mma'):_0xade996['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x2e5f08<0x7?_0x534099?U(_0x534099,'Last')+'\x20'+U(_0x534099,_0xade996['toFormat']('EEEE'))+'\x20'+_0xade996['toFormat']('hh:mma'):_0xade996['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0xade996['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x1b31df,_0x3a40b8){const _0x51c631=_0x1b31df['mapper']['markerNameToElements'](_0x3a40b8['name']);if(!_0x51c631)return null;const _0x5f0971=_0x33abae(_0x51c631['values']());return _0x1b31df['view']['domConverter']['mapViewToDom'](_0x5f0971)||null;}function wt(_0x103d73,_0x2674fb){if(0x0===_0x2674fb['length'])return null;const _0x3ba43f=[],_0xdc83d7=_0x103d73['view']['domConverter'];for(const _0x14fcb1 of _0x2674fb){const _0x578ab4=_0x103d73['mapper']['markerNameToElements'](_0x14fcb1['name']);if(!_0x578ab4)continue;const _0x4c79ae=Array['from'](_0x578ab4)['map'](_0x265f05=>_0xdc83d7['mapViewToDom'](_0x265f05))['filter'](_0x2f775b=>!!_0x2f775b);_0x3ba43f['push'](..._0x4c79ae);}if(0x0===_0x3ba43f['length'])return null;const _0x451d90=[];for(const _0xe3bf00 of _0x3ba43f){const _0x400b64=_0xe3bf00['getClientRects']()['item'](0x0);_0x400b64&&_0x451d90['push']({'x':_0x400b64['x'],'y':_0x400b64['y'],'domElement':_0xe3bf00});}return 0x0===_0x451d90['length']?null:(_0x451d90['sort']((_0x4be789,_0x562601)=>_0x4be789['y']-_0x562601['y']||_0x4be789['x']-_0x562601['x']),_0x451d90['map'](_0x3fa707=>_0x3fa707['domElement']));}function bt(_0x576d35,{limit:_0xea1251,suffix:_0x260c58='...'}){const _0x2eb1f0=[];let _0x3b7826=0x0;const _0x5e93ec=_0x576d35['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x1c065c=0x0;_0x1c065c<_0x5e93ec['length'];_0x1c065c++){let _0x2ca166=_0x5e93ec[_0x1c065c];const _0x3e5154=tn(_0x2ca166);if(_0x2ca166['startsWith']('<')){if(_0x3b7826>=_0xea1251){const _0x2ea517=_0x2ca166['match'](/[a-zA-Z]+/);if(!_0x2ea517){_0x5e93ec[_0x1c065c]='';continue;}const _0x3a6ffa=_0x2ea517[0x0];_0x2ca166['startsWith']('</')?(_0x2eb1f0['length']&&(_0x2ca166=''),_0x2eb1f0['pop']()):(_0x2eb1f0['push'](_0x3a6ffa),_0x2ca166='');}}else{if(_0x3b7826>=_0xea1251)_0x2ca166='';else{if(_0x3b7826+_0x3e5154['length']>=_0xea1251){let _0x187c8c=_0xea1251-_0x3b7826;if('\x20'===_0x3e5154[_0x187c8c-0x1])_0x187c8c--;else{const _0x46420f=_0x3e5154['slice'](_0x187c8c)['indexOf']('\x20');-0x1!==_0x46420f?_0x187c8c+=_0x46420f:_0x187c8c=_0x2ca166['length'];}_0x2ca166=_0x3e5154['slice'](0x0,_0x187c8c)['join']('')+_0x260c58,_0x3b7826=_0xea1251;}else _0x3b7826+=_0x3e5154['length'];}}_0x5e93ec[_0x1c065c]=_0x2ca166;}return _0x5e93ec['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x2ed4b1){const _0x34acf4=[];for(let _0x5232fc=0x0;_0x5232fc<_0x2ed4b1['length'];_0x5232fc++){const _0x2d829b=_0x2ed4b1['substring'](_0x5232fc)['match'](/^&[a-z0-9#]+;/);if(_0x2d829b){const _0x126fe1=_0x2d829b[0x0];_0x34acf4['push'](_0x126fe1),_0x5232fc+=_0x126fe1['length']-0x1;}else _0x34acf4['push'](_0x2ed4b1[_0x5232fc]);}return _0x34acf4;}class X extends _0x3c706e{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x3515aa){super(_0x3515aa);const _0x27a647=this['bindTemplate'];this['set']('message',U(_0x3515aa,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x3515aa,U(_0x3515aa,'Yes'),_0x5b22b7,'submit'),this['cancelView']=this['_createButtonView'](_0x3515aa,U(_0x3515aa,'No'),_0x108f18,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x123d33(),this['keystrokes']=new _0x26974d(),this['focusCycler']=new _0x1aaeef({'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':_0x27a647['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'](_0xd08e0a,_0x14cad3,_0x41b6ef,_0xb7d3a7){const _0x552ab5=new ts(_0xd08e0a);return _0x552ab5['label']=_0x14cad3,_0x552ab5['icon']=_0x41b6ef,_0x552ab5['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xb7d3a7}}),_0x552ab5['on']('execute',()=>this['fire'](_0xb7d3a7)),_0x552ab5;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x305702=>{this['keystrokes']['listenTo'](_0x305702['element']),this['focusTracker']['add'](_0x305702['element']);}),this['keystrokes']['set']('esc',(_0x3ebf77,_0x430709)=>{this['fire']('cancel'),_0x430709();});}}function vt(_0x44dbb6){return class extends _0x44dbb6{['showConfirm'](_0x595464,_0x3e8838){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x595464,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3e8838['appendChild'](this['confirmView']['element']),_0x3e8838['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x280a99,_0x444c24,_0x5a7356)=>{_0x5a7356||_0x3e8838['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x27489f=>this['confirmView']['on']('submit',_0x27489f));}['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(_0x2d4a71){let _0x38e894=0x0,_0x50f803=0x0;for(const _0x259a89 of ne(_0x2d4a71))_0x38e894=(_0x38e894<<0x5)-_0x38e894+_0x259a89,_0x38e894&=_0x38e894,[_0x38e894,_0x50f803]=[_0x50f803,_0x38e894];return ie(_0x38e894)+ie(_0x50f803);}function*ee(_0x4d7347){null==_0x4d7347||null==_0x4d7347?yield 0x12b9b0a1:0x0===_0x4d7347||!0x1===_0x4d7347?yield 0x0:0x1===_0x4d7347||0x1==_0x4d7347?yield 0x1:Array['isArray'](_0x4d7347)?yield*function*(_0x2e7064){for(const _0x2e5a94 of _0x2e7064)yield*ee(_0x2e5a94);}(_0x4d7347):'object'==typeof _0x4d7347?yield*ne(_0x4d7347):'string'==typeof _0x4d7347?yield*oe(_0x4d7347):'number'==typeof _0x4d7347&&(yield _0x4d7347);}function*ne(_0x35f2af){if(yield te('{'),_0x35f2af){const _0x12df03=Object['keys'](_0x35f2af)['sort']();for(const _0x48d4bf of _0x12df03){yield*oe(_0x48d4bf),yield te(':');const _0x255f63=_0x35f2af[_0x48d4bf];yield*ee(_0x255f63);}}yield te('}');}function*oe(_0x1deef8){yield te('\x22');for(const _0x5b5159 of _0x1deef8)yield te(_0x5b5159);yield te('\x22');}function te(_0x3f5067){return _0x3f5067['charCodeAt'](0x0);}function ie(_0x5d6021){return(_0x5d6021*=Math['sign'](_0x5d6021))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x4a9550,_0xfabdb5,_0x148ca0,_0x33ee5b=[]){const _0x6915de='string'==typeof _0x4a9550?_0x148ca0['get'](_0x4a9550)['constructor']:_0x4a9550['prototype']['constructor'];if(_0xfabdb5['has'](_0x6915de))return _0xfabdb5['get'](_0x6915de);_0xfabdb5['set'](_0x6915de,!0x0);const _0x1799d8=[...et,..._0x33ee5b]['map'](_0x58cffa=>{if(_0x148ca0['has'](_0x58cffa))return _0x148ca0['get'](_0x58cffa)['constructor'];})['filter'](_0x1c5541=>_0x1c5541);if(_0x6915de&&_0x1799d8['includes'](_0x6915de))return _0xfabdb5['set'](_0x6915de,!0x1),!0x1;if(!_0x6915de['requires'])return _0xfabdb5['set'](_0x6915de,!0x0),!0x0;const _0x57e175=_0x6915de['requires']['every'](_0x58fe84=>ot(_0x58fe84,_0xfabdb5,_0x148ca0,_0x33ee5b));return _0xfabdb5['set'](_0x6915de,_0x57e175),_0x57e175;}function Ct(_0x54e546,_0x3256ca){const _0x40f300={};for(const _0xa237c8 of _0x54e546['config']['names']())nt['includes'](_0xa237c8)||(_0x40f300[_0xa237c8]=_0x54e546['config']['get'](_0xa237c8));const _0x5c2ea7=_0x40f300['plugins']||[],_0x1992ab=_0x54e546['constructor']['builtinPlugins']||[],_0x4e24d2=_0x5c2ea7['length']?_0x5c2ea7:_0x1992ab,_0x29bc63=_0x40f300['extraPlugins']||[];delete _0x40f300['extraPlugins'];const _0x523ef1=_0x40f300['removePlugins']||[];delete _0x40f300['removePlugins'];const _0x51499d=_0x54e546['_context']['config']['get']('plugins')||[],_0x2f87b5=_0x4e24d2['concat'](_0x29bc63)['concat'](_0x51499d)['map'](_0x17bc7d=>'string'==typeof _0x17bc7d?_0x1992ab['find'](_0x221fd1=>_0x221fd1['pluginName']==_0x17bc7d):_0x17bc7d)['filter'](_0x18a367=>!_0x523ef1['includes'](_0x18a367)&&!_0x523ef1['includes'](_0x18a367['pluginName'])),_0x49b195=Array['from'](new Set(_0x2f87b5)),_0x2f3f1f=new Map();return _0x40f300['plugins']=_0x49b195['filter'](_0x5ad053=>ot(_0x5ad053,_0x2f3f1f,_0x54e546['plugins'],_0x3256ca)),_0x40f300;}function xt(_0x7ea5bc,_0x1e63a1){const _0x485ec5=[];_0x7ea5bc['document']['selection']['on']('change:range',()=>{const _0x28276e=function(_0x165c06,_0x7e5240){const _0x15f36e=[];for(const _0x32a9d5 of _0x165c06['markers']){const _0x2c2e7f=_0x32a9d5['getRange']();(_0x2c2e7f['containsPosition'](_0x7e5240)||_0x2c2e7f['start']['isEqual'](_0x7e5240)||_0x2c2e7f['end']['isEqual'](_0x7e5240))&&_0x15f36e['push'](_0x32a9d5);}return _0x15f36e;}(_0x7ea5bc,_0x7ea5bc['document']['selection']['focus']),_0x1de1ce=[],_0x4953d7=[],_0x3d321c=[];for(const _0x48ecf5 of _0x485ec5)_0x28276e['includes'](_0x48ecf5)||_0x1de1ce['push'](_0x48ecf5);for(const _0x5379ce of _0x28276e)_0x485ec5['includes'](_0x5379ce)||_0x4953d7['push'](_0x5379ce),_0x3d321c['push'](_0x5379ce);(_0x1de1ce['length']||_0x4953d7['length'])&&_0x1e63a1({'left':_0x1de1ce,'entered':_0x4953d7}),_0x485ec5['length']=0x0,_0x485ec5['push'](..._0x3d321c);});}const _t='Ctrl+Shift+E';function It(_0x159f99,_0x20f2b1){const _0x168899=_0x159f99['element'];_0x159f99['keystrokes']['listenTo'](_0x168899);for(const _0x5d8f5c of _0x20f2b1)ro(_0x159f99,_0x5d8f5c);_0x20f2b1['on']('change',(_0x3ff49b,_0x5b2e62)=>{for(const _0x49bfa2 of _0x5b2e62['removed'])to(_0x159f99,_0x49bfa2);for(const _0x2148b9 of Array['from'](_0x5b2e62['added'])['reverse']())ro(_0x159f99,_0x2148b9);}),_0x159f99['keystrokes']['set']('enter',(_0x3c1b83,_0xda1498)=>{_0x168899===_0x3c1b83['target']&&(_0x159f99['focusCycler']['focusFirst'](),_0xda1498());},{'filter':_0x17dbf7=>_0x17dbf7['target']===_0x168899}),_0x159f99['keystrokes']['set']('esc',(_0x5e2816,_0x16e4b7)=>{_0x168899!==_0x5e2816['target']?_0x159f99['focus']():_0x159f99['fire']('escape'),_0x16e4b7();}),_0x159f99['keystrokes']['set']('arrowdown',(_0x5d5eb7,_0x12a734)=>{_0x168899===_0x5d5eb7['target']&&(_0x159f99['fire']('arrowdown'),_0x12a734());}),_0x159f99['keystrokes']['set']('arrowup',(_0x44403f,_0x3685d7)=>{_0x168899===_0x44403f['target']&&(_0x159f99['fire']('arrowup'),_0x3685d7());});}function ro(_0x3bcf40,_0x4565c6){_0x4565c6['isRendered']&&(_0x3bcf40['focusTracker']['add'](_0x4565c6['element']),_0x3bcf40['keystrokes']['listenTo'](_0x4565c6['element']),_0x592ce0(_0x4565c6)&&function(_0x2963ff,_0x490d4e){const _0x5c833e=_0x2963ff['actions'],_0x345b34=_0x490d4e['actions'];for(const _0x5be90e of Object['keys'](_0x5c833e))if(_0x5be90e in _0x345b34&&_0x5c833e[_0x5be90e]!==_0x345b34[_0x5be90e])return!0x1;return!0x0;}(_0x3bcf40['focusCycler'],_0x4565c6['focusCycler'])&&_0x3bcf40['focusCycler']['chain'](_0x4565c6['focusCycler']));}function to(_0x1ed41f,_0x90a46){_0x1ed41f['focusTracker']['remove'](_0x90a46['element']),_0x1ed41f['keystrokes']['stopListening'](_0x90a46['element']),_0x592ce0(_0x90a46)&&_0x1ed41f['focusCycler']['unchain'](_0x90a46['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x53ca0d{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0xcd6ed?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x47cf7b,_0x169a96)=>{_0x169a96['on']('ready',()=>{this['_integrateEditor'](_0x169a96);});});}get['editor'](){if(this['context']instanceof _0xcd6ed)return this['context'];{const _0x46c2e2=this['context']['editors']['first'];if(!_0x46c2e2)throw new _0x56f229('documentcompare-no-editor',this);return _0x46c2e2;}}['getDiff'](_0x18539d,_0x53920f,_0x4b81d1={'anchor':'main','markDeletions':!0x1}){let _0x2096af,_0x1b0af5;const _0x594c24=this['editor'];if('string'==typeof _0x4b81d1['anchor']){const _0x2f4cb3=_0x594c24['model']['document']['getRoot'](_0x4b81d1['anchor']);if(!_0x2f4cb3)throw new _0x56f229('documentcompare-compare-no-root',this,{'anchor':_0x4b81d1['anchor']});_0x2096af=_0x2f4cb3,_0x1b0af5=_0x594c24['model']['createPositionAt'](_0x2f4cb3,0x0);}else _0x2096af=_0x4b81d1['anchor']['clone'](),_0x1b0af5=_0x4b81d1['anchor']['clone']();const _0x5a3e12=_0x594c24['data']['parse'](_0x18539d,_0x2096af),_0x3f56b7=_0x594c24['data']['parse'](_0x53920f,_0x2096af);return new Mt(_0x5a3e12,_0x3f56b7,_0x594c24,{'anchor':_0x1b0af5,'markDeletions':_0x4b81d1['markDeletions']});}['isMarkedRemoveOperation'](_0x301441){return'marker'==_0x301441['type']&&_0x301441['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x1cfc0d){_0x1cfc0d['conversion']['for']('upcast')['add'](_0x36275e=>{_0x36275e['on']('element',(_0x22841f,_0x18cab9,_0x20f521)=>{if(_0x18cab9['modelRange'])for(const _0x56a25b of _0x18cab9['modelRange']['getItems']({'shallow':!0x0})){if(_0x56a25b['is']('$textProxy'))continue;const _0x11e16b=_0x18cab9['viewItem']['getAttribute'](Et);_0x11e16b&&_0x20f521['writer']['setAttribute'](St,_0x11e16b,_0x56a25b);}},{'priority':'lowest'});}),_0x1cfc0d['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x4c146a,_0x406f0f,_0x8cc56c,_0x430ad0){this['_editor']=_0x8cc56c,this['_markDeletions']=!!_0x430ad0['markDeletions'],this['_anchor']=_0x430ad0['anchor'];const _0x3c4d27=this['_tokenizeModel'](_0x4c146a),_0xc8bbdc=this['_tokenizeModel'](_0x406f0f);this['_diffItems']=this['_diffModelTokens'](_0x3c4d27,_0xc8bbdc),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4c146a['markers'],_0x406f0f['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x45b9c0=this['_editor']['model']['document'],_0x5f37cf=[];let _0x2a5412=_0x45b9c0['version'];for(const _0x11a7d1 of this['_operationsData'])switch(_0x11a7d1['type']){case'attribute':{const _0x5e7aca=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['path']),_0x3afbb2=_0x5e7aca['getShiftedBy'](_0x11a7d1['howMany']),_0x42aab2=new _0x477552(_0x5e7aca,_0x3afbb2),_0x2ec602=JSON['parse'](_0x11a7d1['oldValue']),_0x535bdb=JSON['parse'](_0x11a7d1['newValue']);_0x5f37cf['push'](new _0x20cecd(_0x42aab2,_0x11a7d1['key'],_0x2ec602,_0x535bdb,_0x2a5412++));break;}case'insert':{const _0x5152b6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['path']),_0xe20562=this['_makeModelFromTokens'](_0x11a7d1['tokens']);_0x5f37cf['push'](new _0x4d8477(_0x5152b6,_0xe20562,_0x2a5412++));break;}case'remove':{const _0x1bf511=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['path']),_0x52b97a=new _0x12bf39(_0x45b9c0['graveyard'],[0x0]);_0x5f37cf['push'](new _0x5c3cdf(_0x1bf511,_0x11a7d1['howMany'],_0x52b97a,_0x2a5412++));break;}case'rename':{const _0x428f4c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['path']);_0x5f37cf['push'](new _0x2f3678(_0x428f4c,_0x11a7d1['oldName'],_0x11a7d1['newName'],_0x2a5412++));break;}case'split':{const _0x221bc0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['path']),_0x50f323=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['path']['slice'](0x0,-0x1));_0x50f323['offset']++,_0x5f37cf['push'](new _0x3a49e0(_0x221bc0,Number['NEGATIVE_INFINITY'],_0x50f323,null,_0x2a5412++));break;}case'merge':{const _0x41146a=_0x11a7d1['path']['slice'](),_0x5a8a2a=_0x41146a['slice'](0x0,-0x1);_0x5a8a2a[_0x5a8a2a['length']-0x1]++,_0x5a8a2a['push'](0x0);const _0x4e403c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a8a2a),_0x71a368=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41146a),_0x626e2=new _0x12bf39(_0x45b9c0['graveyard'],[0x0]);_0x5f37cf['push'](new _0x30f68b(_0x4e403c,Number['NEGATIVE_INFINITY'],_0x71a368,_0x626e2,_0x2a5412++));break;}case'marker':case'markedRemove':{let _0x4c1e04=null;if(_0x11a7d1['range']){const _0x2ee022=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['range']['start']),_0x12709a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['range']['end']);_0x4c1e04=new _0x477552(_0x2ee022,_0x12709a);}const _0xf333fc='marker'==_0x11a7d1['type']?_0x11a7d1['name']:'$markedRemove:'+_0x131334();_0x5f37cf['push'](new _0x10d9c4(_0xf333fc,null,_0x4c1e04,_0x45b9c0['model']['markers'],!0x0,_0x2a5412++));break;}case'unwrap':{const _0x1bdf95=_0x11a7d1['path']['slice']();_0x1bdf95['push'](0x0);const _0x3c50af=_0x11a7d1['path']['slice'](),_0x509b67=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1bdf95),_0x416d07=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c50af),_0x24ed53=new _0x12bf39(_0x45b9c0['graveyard'],[0x0]);_0x5f37cf['push'](new _0x5c3cdf(_0x509b67,_0x11a7d1['howMany'],_0x416d07,_0x2a5412++)),_0x5f37cf['push'](new _0x5c3cdf(_0x416d07['getShiftedBy'](_0x11a7d1['howMany']),0x1,_0x24ed53,_0x2a5412++));break;}case'wrap':{const _0x324b0e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['range']['start']),_0x8e44b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11a7d1['range']['end']),_0x1fdfde=_0x11a7d1['token']['element']['_clone'](!0x1),_0x193ae1=_0x11a7d1['range']['end']['slice']();_0x193ae1['push'](0x0);const _0x167d7b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x193ae1);_0x5f37cf['push'](new _0x4d8477(_0x8e44b7,_0x1fdfde,_0x2a5412++)),_0x5f37cf['push'](new _0x5c3cdf(_0x324b0e,_0x8e44b7['offset']-_0x324b0e['offset'],_0x167d7b,_0x2a5412++));break;}}return _0x5f37cf;}['_tokenizeModel'](_0x136bbe){const _0x110653=[],_0xe4b1b6=_0x477552['_createIn'](_0x136bbe),_0x263406=new _0x4f1dd2({'boundaries':_0xe4b1b6});let _0x38975d='',_0x441408=null;const _0x24519d=[''],_0x3d7648=new Map();for(const _0x346fc6 of _0x263406)if('elementStart'==_0x346fc6['type']||'elementEnd'==_0x346fc6['type']){let _0x1d2550=_0x24519d[0x0];''!==_0x38975d&&(_0x110653['push'](...this['_makeTokensFromTextByWords'](_0x38975d,_0x441408,_0x1d2550)),_0x38975d='');const _0x2e33fd=_0x346fc6['item'];let _0x21ff00;_0x2e33fd['getAttribute'](St)?_0x21ff00=_0x2e33fd['getAttribute'](St):'elementStart'==_0x346fc6['type']?(_0x21ff00=_(_0x2e33fd),_0x3d7648['set'](_0x2e33fd,_0x21ff00)):_0x21ff00=_0x3d7648['get'](_0x2e33fd);const _0x44e658=this['_getElementCategory'](_0x2e33fd);'solid'==_0x44e658&&('elementStart'==_0x346fc6['type']?(_0x1d2550=_0x21ff00,_0x24519d['unshift'](_0x1d2550)):_0x24519d['shift']());const _0x8d5f48={'type':'element','element':_0x2e33fd,'elementId':_0x21ff00,'category':_0x44e658,'isStart':'elementStart'==_0x346fc6['type'],'limitId':_0x1d2550};_0x110653['push'](_0x8d5f48);}else''==_0x38975d&&(_0x441408=_0x346fc6['previousPosition']['clone']()),_0x38975d+=_0x346fc6['item']['data'];return''!==_0x38975d&&_0x110653['push'](...this['_makeTokensFromTextByWords'](_0x38975d,_0x441408,_0x24519d[0x0])),_0x110653;}['_makeTokensFromTextByWords'](_0x259e45,_0x55daab,_0xe1753b){const _0x22cc75=_0x259e45['matchAll'](/(\s)/g),_0x4fe283=Array['from'](_0x22cc75)['map'](_0x426401=>_0x426401['index']);_0x4fe283['push'](_0x259e45['length']),0x0==_0x4fe283[0x0]&&_0x4fe283['shift']();const _0x3acb64=[],_0x579552=_0x55daab['parent'];let _0x2e9a01=0x0,_0x255d7b=_0x55daab['offset'];for(let _0xfcc2c4=0x0;_0xfcc2c4<_0x4fe283['length'];_0xfcc2c4++)_0x3acb64['push']({'type':'text','data':_0x259e45['slice'](_0x2e9a01,_0x4fe283[_0xfcc2c4]),'parent':_0x579552,'offset':_0x255d7b,'limitId':_0xe1753b}),_0x2e9a01=_0x4fe283[_0xfcc2c4],_0x255d7b=_0x55daab['offset']+_0x4fe283[_0xfcc2c4];return _0x3acb64;}['_getElementCategory'](_0x2b9bcc){const _0x165508=this['_editor']['model']['schema'];return _0x165508['isLimit'](_0x2b9bcc)||_0x165508['isContent'](_0x2b9bcc)||_0x165508['isInline'](_0x2b9bcc)?'solid':_0x165508['isBlock'](_0x2b9bcc)?'block':'container';}['_diffModelTokens'](_0x1978a2,_0x3ddce7){const _0x232b32=_0x2cea52(_0x1978a2,_0x3ddce7,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x232b32);const _0xf637fe=_0x232b32['flatMap'](_0x2da2d6=>{const _0x489e2a=_0x2da2d6['added']?'added':_0x2da2d6['removed']?'removed':'unchanged';return _0x2da2d6['value']['map'](_0x39d68e=>({'token':_0x39d68e,'change':_0x489e2a}));});let _0x189ac=0x0;for(const _0x29246d of _0xf637fe)'added'!=_0x29246d['change']&&('unchanged'==_0x29246d['change']&&(_0x29246d['before']=_0x1978a2[_0x189ac]),_0x189ac++);return _0xf637fe;}['_handleUnclosedBlockOpeningTags'](_0x378b44){for(let _0x41934a=0x0;_0x41934a<_0x378b44['length']-0x1;_0x41934a++)if(_0x378b44[_0x41934a]['removed']&&_0x378b44[_0x41934a+0x1]['added']){const _0x493830=this['_findUnclosedBlockOpeningToken'](_0x378b44[_0x41934a]['value']);if(null!==_0x493830){const _0x18533c=this['_findUnclosedBlockOpeningToken'](_0x378b44[_0x41934a+0x1]['value']),_0x147f1e=_0x378b44[_0x41934a]['value']['splice'](_0x493830),_0x3ebe82=_0x378b44[_0x41934a+0x1]['value']['splice'](_0x18533c),_0x28275c=[_0x3ebe82['shift']()];_0x147f1e['shift']();const _0x32e071={'value':_0x147f1e,'removed':!0x0},_0x1da796={'value':_0x3ebe82,'added':!0x0},_0x33b5dc={'value':_0x28275c};_0x378b44['splice'](_0x41934a+0x2,0x0,_0x33b5dc,_0x32e071,_0x1da796);}}}['_findUnclosedBlockOpeningToken'](_0x1182da){let _0x57259c=0x0,_0x24d3ce=-0x1;for(let _0x33fca7=0x0;_0x33fca7<_0x1182da['length'];_0x33fca7++){const _0x385434=_0x1182da[_0x33fca7];'element'==_0x385434['type']&&'block'==_0x385434['category']&&(_0x57259c+=_0x385434['isStart']?0x1:-0x1,_0x385434['isStart']&&(_0x24d3ce=_0x33fca7));}return 0x0===_0x57259c?null:_0x24d3ce;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x183921=0x0;_0x183921<this['_diffItems']['length'];_0x183921++){const _0x399056=this['_diffItems'][_0x183921]['change'],_0x3cb0de=[];_0x3cb0de['push'](this['_diffItems'][_0x183921]);let _0xa85615=_0x183921+0x1;for(;this['_diffItems'][_0xa85615]&&this['_diffItems'][_0xa85615]['change']==_0x399056;)_0x3cb0de['push'](this['_diffItems'][_0xa85615]),_0xa85615++,_0x183921++;const _0x50c67a=_0x3cb0de['map'](_0x9a9e0f=>_0x9a9e0f['token']);if('unchanged'==_0x399056)_0x3cb0de['map'](_0xa25ee1=>_0xa25ee1['before'])['forEach'](_0x5c0663=>this['_traverseOverItem'](_0x5c0663));else{if('removed'==_0x399056){if(this['_markDeletions']){const _0x253d10=this['_path']['slice']();_0x50c67a['forEach'](_0x5c1207=>this['_traverseOverItem'](_0x5c1207));const _0x292d8a=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x253d10,'end':_0x292d8a}});}else this['_handleChanged'](_0x50c67a,!0x0,this['_path']['slice']());}else{const _0x6b1321=_0x50c67a['filter'](_0x80e58=>'element'!=_0x80e58['type']||'container'!=_0x80e58['category']);this['_handleChanged'](_0x6b1321,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4fc9b4=0x0;_0x4fc9b4<this['_diffItems']['length'];_0x4fc9b4++){const _0x17bdcd=this['_diffItems'][_0x4fc9b4]['change'],_0x54409d=[];_0x54409d['push'](this['_diffItems'][_0x4fc9b4]);let _0x20bf5c=_0x4fc9b4+0x1;for(;this['_diffItems'][_0x20bf5c]&&this['_diffItems'][_0x20bf5c]['change']==_0x17bdcd;)_0x54409d['push'](this['_diffItems'][_0x20bf5c]),_0x20bf5c++,_0x4fc9b4++;const _0x2517dc=_0x54409d['map'](_0x1b17ba=>_0x1b17ba['token']);if('unchanged'==_0x17bdcd){const _0x337847=_0x54409d['map'](_0x132da4=>_0x132da4['before']);this['_handleUnchanged'](_0x337847,_0x2517dc);}else('removed'!=_0x17bdcd||this['_markDeletions'])&&_0x2517dc['forEach'](_0x3adbf1=>{this['_traverseOverItem'](_0x3adbf1);});}}['_calculateMarkersOperationsData'](_0x1e27ea,_0x1159c2){const _0x51ea8a={};for(const [_0x4184b5]of _0x1e27ea)_0x51ea8a[_0x4184b5]=null;for(const [_0x80e103,_0x21bbc7]of _0x1159c2)_0x51ea8a[_0x80e103]=_0x21bbc7;const _0x1e841d=Object['entries'](_0x51ea8a)['map'](([_0x31762b,_0x558bb7])=>({'type':'marker','name':_0x31762b,'range':_0x558bb7?{'start':_0x558bb7['start']['path']['slice'](),'end':_0x558bb7['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x1e841d);}['_handleUnwraps'](){const _0x434251=new Map(),_0x2aafeb=[],_0xe466bc=[0x0];let _0x414c21=this['_diffItems']['length']+0x1;for(let _0x37b829=this['_diffItems']['length']-0x1;_0x37b829>=0x0;_0x37b829--){const {token:_0x2f9d75,before:_0x26c996,change:_0x576c74}=this['_diffItems'][_0x37b829];if('removed'!=_0x576c74&&(_0x414c21=_0x37b829),'element'!=_0x2f9d75['type']||'container'!=_0x2f9d75['category']||'added'==_0x576c74)continue;const _0x4222af=_0x26c996?_0x26c996['element']:_0x2f9d75['element'];if(_0x2f9d75['isStart']){const _0xc4312e=_0x434251['get'](_0x4222af),_0x47e713=this['_diffItems'][_0xc4312e];('removed'==_0x576c74||'removed'==_0x47e713['change'])&&_0x414c21<_0xc4312e&&(this['_operationsData']['push']({'type':'unwrap','path':_0x4222af['getPath'](),'howMany':_0x4222af['maxOffset']+_0xe466bc[0x0]}),_0xe466bc['shift'](),_0xe466bc[0x0]+=_0x4222af['maxOffset']-0x1,_0x2aafeb['push'](_0x37b829),_0x2aafeb['push'](_0xc4312e));}else _0x434251['set'](_0x4222af,_0x37b829),_0xe466bc['unshift'](0x0);}_0x2aafeb['sort']((_0x3d4013,_0x2409b1)=>_0x2409b1-_0x3d4013),_0x2aafeb['forEach'](_0x2a924b=>{const _0x553398=this['_diffItems'][_0x2a924b];'removed'==_0x553398['change']?this['_diffItems']['splice'](_0x2a924b,0x1):(_0x553398['change']='added',delete _0x553398['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x2f4a72=[];for(let _0x136646=0x0;_0x136646<this['_diffItems']['length'];_0x136646++){const {change:_0x18f686,token:_0x52a346}=this['_diffItems'][_0x136646];if('added'==_0x18f686&&'element'==_0x52a346['type']&&'container'==_0x52a346['category']){if(_0x52a346['isStart'])_0x2f4a72['push'](this['_path']['slice']());else{if(!_0x52a346['isStart']){const _0x3ea331=_0x2f4a72['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3ea331,'end':this['_path']['slice']()},'token':_0x52a346}),this['_path'][this['_path']['length']-0x1]=_0x3ea331[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x18f686||this['_markDeletions'])&&this['_traverseOverItem'](_0x52a346);}}['_handleUnchanged'](_0x3db832,_0x419b52){for(let _0x9c4da=0x0;_0x9c4da<_0x3db832['length'];_0x9c4da++){const _0x5e6fa9=_0x3db832[_0x9c4da];if('element'==_0x5e6fa9['type']&&_0x5e6fa9['isStart']){const _0x45e280=_0x419b52[_0x9c4da];'block'==_0x5e6fa9['category']&&this['_handleElementRename'](_0x5e6fa9['element'],_0x45e280['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5e6fa9['element'],_0x45e280['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x45e280);}else{if('element'!=_0x5e6fa9['type']||_0x5e6fa9['isStart']){if('text'==_0x5e6fa9['type']){const _0x4bf68a=this['_path']['slice'](),_0x42844b=[],_0x456f85=[];for(;_0x3db832[_0x9c4da]&&'text'==_0x3db832[_0x9c4da]['type'];)_0x42844b['push'](_0x3db832[_0x9c4da]),_0x456f85['push'](_0x419b52[_0x9c4da]),this['_path'][this['_path']['length']-0x1]+=_0x3db832[_0x9c4da]['data']['length'],_0x9c4da++;_0x9c4da--,this['_handleTextAttributeChanges'](_0x42844b,_0x456f85,_0x4bf68a);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3dede0,_0x5aed0,_0x863955){const _0x5282ed=[],_0xc50f43=[],_0x5db235=_0x863955['slice']();for(let _0x27c3c3=0x0;_0x27c3c3<_0x3dede0['length'];_0x27c3c3++){const _0x51f527=_0x3dede0[_0x27c3c3],_0x2384c5=_0x863955['slice']();if('element'!=_0x51f527['type']||_0x51f527['isStart'])'element'==_0x51f527['type']&&_0x51f527['isStart']?(_0x863955['push'](0x0),_0x5aed0||this['_parents']['push'](_0x51f527),_0xc50f43['push']({'before':_0x2384c5,'after':_0x863955['slice'](),'index':_0x27c3c3})):_0x863955[_0x863955['length']-0x1]+=_0x51f527['data']['length'];else{let _0x5b6e11;_0x863955['pop'](),_0x863955[_0x863955['length']-0x1]++,_0x5b6e11=_0x5aed0?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0xc50f43['length']?_0xc50f43['pop']():_0x5282ed['push']({'before':_0x2384c5,'after':_0x863955['slice'](),'index':_0x27c3c3,'related':_0x5b6e11});}}if(_0xc50f43['length']!==_0x5282ed['length'])throw new _0x56f229('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3dede0,'isRemove':_0x5aed0});const _0x54ca96=[{'after':_0x5db235['slice'](),'index':-0x1},..._0x5282ed,..._0xc50f43,{'before':_0x863955['slice'](),'index':_0x3dede0['length']}];if(_0x5aed0){for(let _0xdd144=_0x54ca96['length']-0x1;_0xdd144>=0x1;_0xdd144--){const _0x238389=_0x54ca96[_0xdd144-0x1]['after'],_0x467d69=_0x54ca96[_0xdd144]['before'],_0x313c01=_0x467d69[_0x467d69['length']-0x1]-_0x238389[_0x238389['length']-0x1];_0x313c01&&(this['_operationsData']['push']({'type':'remove','path':_0x238389,'howMany':_0x313c01}),_0x467d69[_0x467d69['length']-0x1]-=_0x313c01);}for(const {before:_0x44b550}of _0x5282ed)this['_operationsData']['push']({'type':'merge','path':_0x44b550});}else for(let _0x1c3148=0x0;_0x1c3148<_0x54ca96['length']-0x1;_0x1c3148++){const _0x3af781=_0x54ca96[_0x1c3148]['after'],_0x2cad78=_0x54ca96[_0x1c3148+0x1]['before'],_0x1f51f7=_0x54ca96[_0x1c3148]['index']+0x1,_0x3d1cd7=_0x54ca96[_0x1c3148+0x1]['index'];if(_0x1f51f7!==_0x3d1cd7&&this['_operationsData']['push']({'type':'insert','path':_0x3af781,'tokens':_0x3dede0['slice'](_0x1f51f7,_0x3d1cd7)}),_0x1c3148<_0x5282ed['length']){this['_operationsData']['push']({'type':'split','path':_0x2cad78});const _0x2645fd=_0x3dede0[_0xc50f43[_0xc50f43['length']-0x1-_0x1c3148]['index']],_0x31371d=_0x5282ed[_0x1c3148]['after'],_0x57e6af=_0x5282ed[_0x1c3148]['related']['element'];this['_handleElementRename'](_0x57e6af,_0x2645fd['element'],_0x31371d),this['_handleElementAttributeChanges'](_0x57e6af,_0x2645fd['element'],_0x31371d);}}}['_traverseOverItem'](_0x5d228e){'element'==_0x5d228e['type']&&_0x5d228e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x5d228e)):'element'!=_0x5d228e['type']||_0x5d228e['isStart']?'text'==_0x5d228e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x5d228e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5d234f,_0x5035a0,_0x38d1ca){_0x5d234f['name']!=_0x5035a0['name']&&this['_operationsData']['push']({'type':'rename','path':_0x38d1ca['slice'](),'oldName':_0x5d234f['name'],'newName':_0x5035a0['name']});}['_handleElementAttributeChanges'](_0x554b96,_0x2b3e1b,_0x340987){const _0x2fcbae=this['_getAttributeChanges'](_0x554b96['getAttributes'](),_0x2b3e1b['getAttributes']());for(const _0x1e5cb8 in _0x2fcbae){const {oldValue:_0x54d4a3,newValue:_0xab06b8}=_0x2fcbae[_0x1e5cb8];this['_operationsData']['push']({'type':'attribute','path':_0x340987['slice'](),'howMany':0x1,'key':_0x1e5cb8,'oldValue':_0x54d4a3,'newValue':_0xab06b8});}}['_handleTextAttributeChanges'](_0x53277b,_0x1b4e21,_0x578e4f){const _0x1e2b75=this['_operationsData'],_0x583fcd=_0x53277b[0x0]['parent'],_0x20b188=_0x53277b[0x0]['offset'],_0x144daf=_0x1b4e21[0x0]['parent'],_0x5c7d4c=_0x1b4e21[0x0]['offset'],_0x33f7ca=_0x53277b['reduce']((_0x2d2219,_0x5376c9)=>_0x2d2219+_0x5376c9['data']['length'],0x0),_0x2dee6c=this['_getAttrsForOffsets'](_0x583fcd,_0x20b188,_0x33f7ca),_0x32abd1=this['_getAttrsForOffsets'](_0x144daf,_0x5c7d4c,_0x33f7ca),_0x14a9a1={};for(let _0x6587b7=0x0;_0x6587b7<_0x33f7ca;_0x6587b7++){const _0x135c75=_0x2dee6c[_0x20b188+_0x6587b7],_0x26926b=_0x32abd1[_0x5c7d4c+_0x6587b7],_0x1b57e1=this['_getAttributeChanges'](_0x135c75,_0x26926b);for(const _0x3ecb0f in _0x14a9a1)_0x1b57e1[_0x3ecb0f]||_0x404019(_0x3ecb0f);for(const _0x128c31 in _0x1b57e1){const {oldValue:_0x658006,newValue:_0xbe1bae}=_0x1b57e1[_0x128c31],_0x257228=_0x14a9a1[_0x128c31];_0x257228?_0x257228['oldValue']==_0x658006&&_0x257228['newValue']==_0xbe1bae?_0x257228['length']++:(_0x404019(_0x128c31),_0x14a9a1[_0x128c31]={'oldValue':_0x658006,'newValue':_0xbe1bae,'start':_0x6587b7,'length':0x1}):_0x14a9a1[_0x128c31]={'oldValue':_0x658006,'newValue':_0xbe1bae,'start':_0x6587b7,'length':0x1};}}for(const _0x1a2f1e in _0x14a9a1)_0x404019(_0x1a2f1e);function _0x404019(_0x50463e){const _0x14f8ad=_0x14a9a1[_0x50463e],_0x2ca18a=_0x578e4f['slice']();_0x2ca18a[_0x2ca18a['length']-0x1]+=_0x14f8ad['start'],_0x1e2b75['push']({'type':'attribute','path':_0x2ca18a,'howMany':_0x14f8ad['length'],'key':_0x50463e,'oldValue':_0x14f8ad['oldValue'],'newValue':_0x14f8ad['newValue']}),delete _0x14a9a1[_0x50463e];}}['_getAttributeChanges'](_0x43fc5a,_0x3f006d){const _0x5bef08={};for(const [_0x501bae,_0x5e8065]of _0x43fc5a)_0x5bef08[_0x501bae]={'oldValue':JSON['stringify'](_0x5e8065),'newValue':'null'};for(const [_0x558548,_0x32007c]of _0x3f006d){const _0x76b265=JSON['stringify'](_0x32007c);_0x5bef08[_0x558548]?_0x5bef08[_0x558548]['oldValue']==_0x76b265?delete _0x5bef08[_0x558548]:_0x5bef08[_0x558548]['newValue']=_0x76b265:_0x5bef08[_0x558548]={'oldValue':'null','newValue':_0x76b265};}return delete _0x5bef08[St],_0x5bef08;}['_getAttrsForOffsets'](_0xe5130,_0x56991c,_0x124dc5){const _0x30b8d3=new Array(_0x56991c+_0x124dc5);let _0x116899=_0xe5130['getChildAtOffset'](_0x56991c),_0x40a50a=_0x116899['startOffset'];for(;_0x116899&&_0x40a50a<_0x56991c+_0x124dc5;){const _0x17cbd7=Array['from'](_0x116899['getAttributes']());_0x30b8d3['fill'](_0x17cbd7,_0x40a50a,_0x40a50a+_0x116899['offsetSize']),_0x40a50a+=_0x116899['offsetSize'],_0x116899=_0x116899['nextSibling'];}return _0x30b8d3;}['_getPositionFromAnchorAndPath'](_0x47a6bd,_0xd39f53){const _0x39a996=[..._0x47a6bd['path']['slice'](0x0,-0x1),_0x47a6bd['offset']+_0xd39f53[0x0],..._0xd39f53['slice'](0x1)];return new _0x12bf39(_0x47a6bd['root'],_0x39a996);}['_makeModelFromTokens'](_0xb13968){const _0xb695f9=[];let _0xaddbd1=null;for(const _0x42ad33 of _0xb13968)if('element'!=_0x42ad33['type']||_0x42ad33['isStart']||_0xaddbd1!=_0x42ad33['element']){if(!_0xaddbd1){if('text'==_0x42ad33['type']){const _0x2e3196=_0x12bf39['_createAt'](_0x42ad33['parent'],_0x42ad33['offset']),_0x4cecb4=_0x477552['_createFromPositionAndShift'](_0x2e3196,_0x42ad33['data']['length']),_0x5f1622=Array['from'](_0x4cecb4['getItems']())['map'](_0xe3ce2b=>new _0x2c9bdb(_0xe3ce2b['data'],_0xe3ce2b['getAttributes']()));_0xb695f9['push'](..._0x5f1622);}else{_0xaddbd1=_0x42ad33['element'];const _0x9329f6=_0x42ad33['element']['_clone'](!0x0);_0x9329f6['_removeAttribute'](St);for(const _0x4764cb of this['_editor']['model']['createRangeIn'](_0x9329f6)['getItems']())_0x4764cb['is']('element')&&_0x4764cb['_removeAttribute'](St);_0xb695f9['push'](_0x9329f6);}}}else _0xaddbd1=null;return _0xb695f9;}}function g(_0xe802d7,_0x3189b3){return _0xe802d7['type']===_0x3189b3['type']&&(_0xe802d7['limitId']===_0x3189b3['limitId']&&('text'==_0xe802d7['type']?_0xe802d7['data']==_0x3189b3['data']:function(_0x5a613a,_0x320ec3){if(_0x5a613a['isStart']!=_0x320ec3['isStart'])return!0x1;if(_0x5a613a['isStart']&&_0x5a613a['elementId']!=_0x320ec3['elementId'])return!0x1;if(_0x5a613a['category']!=_0x320ec3['category'])return!0x1;if('block'==_0x5a613a['category'])return!0x0;if('container'==_0x5a613a['category']&&_0x5a613a['elementId']!=_0x320ec3['elementId'])return!0x1;return _0x5a613a['element']['name']==_0x320ec3['element']['name'];}(_0xe802d7,_0x3189b3)));}function _(_0x29e6b9){return k({'name':_0x29e6b9['name'],...Object['fromEntries'](_0x29e6b9['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,_t as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,It as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x474a22,Editor as _0x43cbfa,Plugin as _0xefb1cc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x22ec5a,Collection as _0x5beb8a,uid as _0x5c169e,toArray as rt,first as _0x36b814,FocusTracker as _0x2e258c,KeystrokeHandler as _0x11b7db}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x23434a,IconView as st,ButtonView as ts,DropdownButtonView as _0x2f060f,FocusCycler as _0x259005,isViewWithFocusCycler as _0x32898d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x2c1d05,IconCancel as _0x9ff404}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x2428cf}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x17f335,MoveOperation as _0xc61cca,ModelPosition as _0x5563d5,ModelRange as _0x53b480,MarkerOperation as _0x55632e,MergeOperation as _0x173295,SplitOperation as _0x36ac15,RenameOperation as _0x230970,AttributeOperation as _0x2e3bec,ModelTreeWalker as _0x37133a,ModelText as _0x56f949}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0xd313a9}from'diff';class C extends _0x474a22{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1887f0,_0x3f3422){let _0x3968af;if(_0x3f3422||(_0x3f3422=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x3f3422?_0x3968af=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3968af=this['context']['editors']['find'](_0x5e0b1f=>_0x5e0b1f['config']['get']('collaboration.channelId')==_0x3f3422)),!_0x3968af)throw new _0x22ec5a('permissions-set-permissions-invalid-channel-id',null);const _0x43936e=_0x3968af['plugins'],_0x5f5c5e=_0x43936e['has']('CommentsRepository')?_0x43936e['get']('CommentsRepository'):void 0x0,_0x258633=_0x43936e['has']('CommentsOnly')&&_0x43936e['get']('CommentsOnly'),_0xb125aa=_0x1887f0['includes']('document:write'),_0x1f4577=_0x1887f0['includes']('comment:modify_all'),_0x225ccb=_0x1887f0['includes']('comment:admin'),_0x38f72c=_0x1887f0['includes']('comment:write'),_0x4a071a=_0x38f72c||_0x225ccb,_0x360cc5=_0x4a071a||_0x1f4577,_0x732f61=_0xb125aa||_0x4a071a;(_0x258633&&(_0x258633['isEnabled']=!_0xb125aa&&_0x360cc5),_0x3968af instanceof _0x43cbfa)&&(!(_0xb125aa||_0x360cc5&&_0x5f5c5e)?_0x3968af['enableReadOnlyMode']('no-permissions'):_0x3968af['disableReadOnlyMode']('no-permissions'));if(_0x5f5c5e){_0x5f5c5e['setPermissions']({'admin':_0x225ccb,'modifyAll':_0x1f4577,'write':_0x38f72c,'resolve':_0x732f61},_0x3f3422);const _0x41ef44=_0x3968af instanceof _0x43cbfa&&_0x3968af['commands']['get']('addCommentThread');_0x41ef44&&(_0x4a071a?_0x41ef44['clearForceDisabled']('noPermissions'):_0x41ef44['forceDisabled']('noPermissions'));}}}function U(_0x4a27b7,_0x5920ef){const t=_0x4a27b7['t'];switch(_0x5920ef){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 _0x474a22{['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(_0xaaecc7){super(_0xaaecc7),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5beb8a(),this['_locale']=_0xaaecc7['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:_0x15c3ef,name:_0x10f3ef,..._0x324acb}){if(!_0x15c3ef||'string'!=typeof _0x15c3ef)throw new _0x22ec5a('users-add-invalid-id');if(this['users']['has'](_0x15c3ef))throw new _0x22ec5a('users-add-duplicated-id',null,{'id':_0x15c3ef});const _0x1277a6=this['context']['config']['get']('users.getInitialsCallback'),_0x141401={..._0x324acb,'id':_0x15c3ef,'name':A(this['_locale'],_0x10f3ef),'color':this['_getNextColor']()};_0x141401['name']=A(this['_locale'],_0x141401['name']);const _0xbf907f=new lt(_0x141401,_0x1277a6);return this['users']['add'](_0xbf907f),_0xbf907f;}['getUser'](_0x5cc2a6){return this['users']['get'](_0x5cc2a6);}['useAnonymousUser'](){const _0x229f40=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x229f40);}['defineMe'](_0x5952b4){if(this['_myId'])throw new _0x22ec5a('users-me-already-defined',null);const _0x2d175e=this['getUser'](_0x5952b4);if(!_0x2d175e)throw new _0x22ec5a('users-me-missing-user',null);this['_myId']=_0x5952b4,_0x2d175e['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2dc2cb=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2dc2cb&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x108800=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x108800,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x3ff4d6,_0x59a5ee){this['id']=_0x3ff4d6['id'],this['color']=_0x3ff4d6['color'],this['name']=_0x3ff4d6['name'],this['initials']=_0x59a5ee?_0x59a5ee(this['name']):this['_computeInitials'](),this['avatar']=_0x3ff4d6['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x46c5af=this['name']['split']('\x20')['filter'](_0xbdc382=>/^[\p{Letter}]/u['test'](_0xbdc382));return 0x1===_0x46c5af['length']?this['_getInitial'](_0x46c5af[0x0]):0x0===_0x46c5af['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x46c5af[0x0])+this['_getInitial'](_0x46c5af[_0x46c5af['length']-0x1]);}['_getInitial'](_0x468629){return String['fromCodePoint'](_0x468629['codePointAt'](0x0))['toUpperCase']();}}function A(_0x472989,_0xcaee8c=''){return''==(_0xcaee8c=_0xcaee8c['trim']())?U(_0x472989,'Anonymous'):_0xcaee8c;}class ut{['_id'];constructor(_0x5d60b2){this['_id']=_0x5d60b2;}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 _0x23434a{['name'];['notificationView'];constructor(_0x3f22cb,_0x17a5db,_0x2ff022){super(_0x3f22cb),this['name']=_0x17a5db['name'],this['notificationView']=null;const _0x39c3cf=['ck','ck-user'],_0x50ab19=['ck','ck-user__img'];if(_0x17a5db['isAnonymous']&&_0x50ab19['push']('ck-user__anonymous'),!_0x17a5db['isAnonymous']&&_0x17a5db['isMe']&&_0x39c3cf['push']('ck-user_me'),_0x17a5db['avatar']&&_0x50ab19['push']('ck-user__avatar'),_0x2ff022){const _0x5a8e73=new st();_0x5a8e73['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5a8e73['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2ff022},'children':[_0x5a8e73]};}const _0x562f0f=[{'tag':'div','attributes':{'class':_0x50ab19,'style':{'background-image':_0x17a5db['avatar']?'url(\x27'+_0x17a5db['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x17a5db['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x17a5db['name']},'children':[{'text':_0x17a5db['initials']}]}];this['notificationView']&&_0x562f0f['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x39c3cf,'data-user-id':_0x17a5db['id']},'children':_0x562f0f});}}class dt extends _0x23434a{['id'];constructor(_0x2d0c55,_0x2f3030){super(_0x2d0c55),this['id']='ck-aria-description-'+_0x5c169e(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x2f3030}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x2f060f{['render'](){super['render'](),re(this);}}function re(_0x917b65){_0x917b65['listenTo'](_0x917b65['element'],'mousedown',(_0x2b9d73,_0x250b5e)=>{_0x250b5e['stopPropagation'](),_0x250b5e['preventDefault']();}),_0x917b65['listenTo'](_0x917b65['element'],'mouseup',()=>{_0x917b65['element']['focus']();});}function v(_0x422dc0){const _0x1ca04c=_0x422dc0['split'](':');return{'group':_0x1ca04c[0x0],'type':_0x1ca04c[0x1],'subType':_0x1ca04c['length']>=0x5?_0x1ca04c[0x2]:null,'id':_0x1ca04c['length']<0x5?_0x1ca04c[0x2]:_0x1ca04c[0x3],'authorId':_0x1ca04c['length']<0x5?_0x1ca04c[0x3]:_0x1ca04c[0x4],'markerCount':0x6==_0x1ca04c['length']?_0x1ca04c[0x5]:null};}function mt(_0x317855,_0x1adb47){const _0x2a69e7=_0x317855['end']['nodeBefore'];if(_0x2a69e7&&_0x2a69e7['is']('element')&&_0x1adb47['schema']['isBlock'](_0x2a69e7)&&!_0x1adb47['schema']['isObject'](_0x2a69e7)){const _0x5e2f6a=_0x1adb47['createPositionAt'](_0x2a69e7,'end');return _0x1adb47['createRange'](_0x317855['start'],_0x5e2f6a);}return _0x317855;}class M extends _0xefb1cc{['afterInit'](){const _0x338fab=this['editor'];if(!_0x338fab['plugins']['has']('AlignmentEditing'))return;_0x338fab['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0xefb1cc{['afterInit'](){const _0xc9ba61=this['editor'],_0x1e8a1d=_0xc9ba61['plugins']['get']('SuggestionsConversion');for(const _0xe8cbfc of ii){if(!_0xc9ba61['plugins']['has'](_0xe8cbfc))continue;const _0x23f0ff=_0xe8cbfc['slice'](0x0,-0x7)['toLowerCase']();_0x1e8a1d['registerInlineAttribute'](_0x23f0ff);}}}class I extends _0xefb1cc{['afterInit'](){const _0x40a314=this['editor'],_0x125c4b=_0x40a314['plugins']['get']('SuggestionsConversion');_0x40a314['plugins']['has']('BookmarkEditing')&&_0x125c4b['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0xefb1cc{['afterInit'](){const _0xed1fd4=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x27facf,commandName:_0x5070ad}of no)this['editor']['plugins']['has'](_0x27facf)&&_0xed1fd4['registerInlineAttribute'](_0x5070ad);}}class T extends _0xefb1cc{['afterInit'](){const {editor:_0x2ce6dc}=this;if(!_0x2ce6dc['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x1ed6ba=_0x2ce6dc['plugins']['get']('SuggestionsConversion');_0x1ed6ba['registerBlockAttribute']('footnotesListStyle'),_0x1ed6ba['registerBlockAttribute']('footnotesListStart');}}class E extends _0xefb1cc{['afterInit'](){const _0x433ca6=this['editor'];if(!_0x433ca6['plugins']['has']('HighlightEditing'))return;_0x433ca6['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0xefb1cc{['afterInit'](){const _0x5e0714=this['editor'];if(!_0x5e0714['plugins']['has']('HtmlEmbed'))return;_0x5e0714['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0xefb1cc{['afterInit'](){const _0x14c543=this['editor'];if(!_0x14c543['plugins']['has']('ImageEditing'))return;const _0x39c80b=_0x14c543['plugins']['get']('SuggestionsConversion');_0x39c80b['registerBlockAttribute']('src'),_0x14c543['plugins']['has']('ImageResize')&&_0x39c80b['registerBlockAttribute']('resizedWidth'),_0x14c543['plugins']['has']('ImageTextAlternativeEditing')&&_0x39c80b['registerBlockAttribute']('alt'),_0x14c543['plugins']['has']('PictureEditing')&&_0x39c80b['registerBlockAttribute']('sources'),_0x14c543['plugins']['has']('ImageSizeAttributes')&&(_0x39c80b['registerBlockAttribute']('width'),_0x39c80b['registerBlockAttribute']('height'));}}class x extends _0xefb1cc{['afterInit'](){const _0x4ea45d=this['editor'],_0x155c74=_0x4ea45d['plugins']['get']('SuggestionsConversion');_0x4ea45d['plugins']['has']('IndentBlock')&&_0x155c74['registerBlockAttribute']('blockIndent');}}class H extends _0xefb1cc{['afterInit'](){const _0x900420=this['editor'];if(!_0x900420['plugins']['has']('LineHeight'))return;_0x900420['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0xefb1cc{['afterInit'](){const _0x20deb9=this['editor'];if(!_0x20deb9['plugins']['has']('LinkEditing'))return;const _0x382050=_0x20deb9['plugins']['get']('SuggestionsConversion'),_0x924774=_0x20deb9['commands']['get']('link');_0x382050['registerInlineAttribute']('linkHref');for(const _0x512e21 of _0x924774['manualDecorators'])_0x382050['registerInlineAttribute'](_0x512e21['id']);}}class P extends _0xefb1cc{['afterInit'](){const _0x37ce2b=this['editor'];if(!_0x37ce2b['plugins']['has']('ListEditing'))return;const _0x411767=_0x37ce2b['plugins']['get']('SuggestionsConversion'),_0x223058=_0x37ce2b['plugins']['has']('TodoListEditing');_0x411767['registerBlockAttribute']('listItemId'),_0x411767['registerBlockAttribute']('listType'),_0x411767['registerBlockAttribute']('listIndent'),_0x223058&&_0x411767['registerBlockAttribute']('todoListChecked');}}class K extends _0xefb1cc{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2772e4=this['editor']['config']['get']('list.properties'),_0x13a01e=this['editor']['plugins']['get']('SuggestionsConversion');_0x2772e4['styles']&&_0x13a01e['registerBlockAttribute']('listStyle'),_0x2772e4['reversed']&&_0x13a01e['registerBlockAttribute']('listReversed'),_0x2772e4['startIndex']&&_0x13a01e['registerBlockAttribute']('listStart');}}class q extends _0xefb1cc{['afterInit'](){const _0x46c4fb=this['editor'],_0x28e862=_0x46c4fb['plugins']['get']('SuggestionsConversion');_0x46c4fb['plugins']['has']('MultiLevelList')&&_0x28e862['registerBlockAttribute']('listMarkerStyle');}}class z extends _0xefb1cc{['afterInit'](){const _0x31d489=this['editor'];if(!_0x31d489['plugins']['has']('Style')||!_0x31d489['plugins']['has']('DataSchema')||!_0x31d489['config']['get']('style.definitions'))return;const _0x364e74=_0x31d489['plugins']['get']('SuggestionsConversion'),_0x391c32=_0x31d489['config']['get']('style.definitions'),_0x342751=_0x31d489['plugins']['get']('GeneralHtmlSupport'),_0xa7c349=_0x31d489['plugins']['get']('StyleUtils')['normalizeConfig'](_0x31d489['plugins']['get']('DataSchema'),_0x391c32),_0xf53d3c=new Set();for(const _0x23059a of _0xa7c349['block']){const _0x59bc81=_0x342751['getGhsAttributeNameForElement'](_0x23059a['element']);_0xf53d3c['add'](_0x59bc81);}const _0x36621f=new Set();for(const _0x1dea59 of _0xa7c349['inline']){const _0x237a9b=_0x342751['getGhsAttributeNameForElement'](_0x1dea59['element']);_0x36621f['add'](_0x237a9b);for(const _0xa35af2 of _0x1dea59['ghsAttributes'])_0x36621f['add'](_0xa35af2);}for(const _0x507218 of _0xf53d3c)_0x364e74['registerBlockAttribute'](_0x507218);for(const _0x2730ea of _0x36621f)_0x364e74['registerInlineAttribute'](_0x2730ea);}}class O extends _0xefb1cc{['afterInit'](){const _0xdf384b=this['editor'];if(!_0xdf384b['plugins']['has']('TableEditing'))return;const _0xe0a31=_0xdf384b['plugins']['get']('SuggestionsConversion');_0xe0a31['registerBlockAttribute']('headingRows'),_0xe0a31['registerBlockAttribute']('headingColumns');}}class R extends _0xefb1cc{['afterInit'](){const {plugins:_0x13994b}=this['editor'];if(!_0x13994b['has']('TablePropertiesEditing'))return;const _0x480b63=_0x13994b['get']('SuggestionsConversion'),_0x45282a=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x3330b1 of _0x45282a)_0x480b63['registerBlockAttribute'](_0x3330b1);}}class F extends _0xefb1cc{['afterInit'](){const _0x8601b7=this['editor'],_0xab8780=_0x8601b7['plugins']['get']('SuggestionsConversion');_0x8601b7['plugins']['has']('TableLayout')&&_0xab8780['registerBlockAttribute']('tableType');}}class G extends _0xefb1cc{['afterInit'](){const _0x55a369=this['editor'],_0x57c2ca=this['editor']['plugins']['get']('SuggestionsConversion');_0x55a369['plugins']['has']('Uploadcare')&&_0x55a369['plugins']['has']('UploadcareImageEdit')&&_0x57c2ca['registerBlockAttribute']('uploadcareImageId');}}class J extends _0xefb1cc{['afterInit'](){const _0x41cb59=this['editor'];if(!_0x41cb59['plugins']['has']('ShiftEnter'))return;const _0x2eb8ea=_0x41cb59['plugins']['get']('SuggestionsConversion'),_0x3a0229=(_0x21cc2e,_0xd96de1,_0x36cee4,_0x291263)=>{if(_0x291263&&!_0x36cee4['options']['showSuggestionHighlights'])return;if(!_0x36cee4['consumable']['test'](_0xd96de1['markerRange'],_0x21cc2e['name']))return;const _0x3aa693=_0x41cb59['model'];for(const _0x263d6d of _0xd96de1['markerRange']['getItems']()){if(!_0x263d6d['is']('element','softBreak'))continue;const _0x13902f='deletion'==_0xd96de1['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x593278,authorId:_0x299750}=v(_0xd96de1['markerName']),_0x304d21=_0x36cee4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x13902f,'data-suggestion':_0x593278,'data-author-id':_0x299750}),_0x3e00ee=_0x36cee4['mapper']['toViewPosition'](_0x3aa693['createPositionBefore'](_0x263d6d));!_0x291263&&_0x2eb8ea['_activeMarkers']['includes'](_0xd96de1['markerName'])&&_0x36cee4['writer']['addClass']('ck-suggestion-marker--active',_0x304d21),_0x36cee4['writer']['insert'](_0x3e00ee,_0x304d21),_0x36cee4['mapper']['bindElementToMarker'](_0x304d21,_0xd96de1['markerName']);}};_0x41cb59['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x10a235,_0xb0091a,_0x147a1c)=>{_0x3a0229(_0x10a235,_0xb0091a,_0x147a1c,!0x1);},{'priority':'high'}),_0x41cb59['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x35b2b9,_0x4d337c,_0x3677cb)=>{_0x3a0229(_0x35b2b9,_0x4d337c,_0x3677cb,!0x0);},{'priority':'high'});}}class L extends _0xefb1cc{['afterInit'](){const _0x201915=this['editor'];_0x201915['plugins']['has']('MediaEmbedEditing')&&(_0x201915['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x571fae,{writer:_0x5204e4,options:_0x1c5406})=>{if(_0x1c5406['showSuggestionHighlights'])return _0x5204e4['createEmptyElement']('div');},'converterPriority':'high'}),_0x201915['data']['downcastDispatcher']['on']('attribute:url:media',(_0x44dcb4,_0x154b69,_0x2f88a5)=>{_0x2f88a5['options']['showSuggestionHighlights']&&_0x44dcb4['stop']();},{'priority':'high'}));}}class Q extends _0xefb1cc{['afterInit'](){const _0x1cd2ee=this['editor'];if(!_0x1cd2ee['plugins']['has']('Table'))return;_0x1cd2ee['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x23ff03,_0x551a28,_0x29da99)=>{((_0x3511af,_0x265a1a,_0x3384f8)=>{if(!_0x3384f8['options']['showSuggestionHighlights'])return;const _0x570276=_0x265a1a['item'];if(!_0x570276||!_0x570276['is']('element','tableCell'))return;const _0x254bdb=_0x3384f8['mapper']['toViewElement'](_0x570276);if(_0x254bdb){const {id:_0x5b8c02,authorId:_0x1d8710}=v(_0x265a1a['markerName']);at(_0x254bdb,_0x3384f8['writer'],(_0x3f4637,_0x5c1135,_0x2b0c6b)=>{_0x2b0c6b['addClass'](rt(_0x5c1135['classes']),_0x3f4637),_0x2b0c6b['setAttribute']('data-suggestion-id',_0x5b8c02,_0x3f4637),_0x2b0c6b['setAttribute']('data-author-id',_0x1d8710,_0x3f4637);});}})(0x0,_0x551a28,_0x29da99);},{'priority':'highest'});}}class V extends _0xefb1cc{['afterInit'](){const _0x1dc9f7=this['editor'];_0x1dc9f7['plugins']['has']('HorizontalLineEditing')&&_0x1dc9f7['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x2d276c,{writer:_0x435738,options:_0xf968cf})=>{if(!_0xf968cf['showSuggestionHighlights'])return null;const _0x16a84d=_0x435738['createContainerElement']('div'),_0x30f152=_0x435738['createEmptyElement']('hr');return _0x435738['addClass']('ck-horizontal-line',_0x16a84d),_0x435738['insert'](_0x435738['createPositionAt'](_0x16a84d,0x0),_0x30f152),_0x16a84d;},'converterPriority':'high'});}}class W extends _0xefb1cc{['afterInit'](){const {plugins:_0x130f53,model:_0x5297b3}=this['editor'];if(!_0x130f53['has']('TableCellPropertiesEditing'))return;const _0x5409b0=_0x130f53['get']('SuggestionsConversion'),_0x554743=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x1fcc6f of _0x554743)_0x5409b0['registerBlockAttribute'](_0x1fcc6f);_0x5297b3['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5409b0['registerBlockAttribute']('tableCellType');}}class kt extends _0xefb1cc{['_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 _0x426798=this['editor'],_0x9fefaa=(_0x145ae3,_0x19f848,_0x43ab12)=>{const {id:_0x1fc65e,authorId:_0x3df83e,type:_0x285fbc,subType:_0x3f6bff}=v(_0x145ae3['markerName']),_0x1420c5=['ck-suggestion-marker',this['_getClassName'](_0x285fbc,_0x3f6bff)];let _0xe8fa41=0xbb8;return!_0x43ab12&&(this['_activeMarkers']['includes'](_0x145ae3['markerName'])&&(_0x1420c5['push']('ck-suggestion-marker--active'),_0xe8fa41=0xbc2)),('deletion'==_0x285fbc&&(_0xe8fa41+=0x5),{'classes':_0x1420c5,'attributes':{'data-suggestion':_0x1fc65e,'data-author-id':_0x3df83e},'priority':_0xe8fa41});};_0x426798['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4d91c4,_0x592644)=>_0x9fefaa(_0x4d91c4,0x0,!0x1)}),_0x426798['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x35333d,_0x118769)=>_0x9fefaa(_0x35333d,0x0,!0x0)}),_0x426798['conversion']['for']('dataDowncast')['add'](_0x53bc52=>{_0x53bc52['on']('addMarker:suggestion',(_0x146728,_0xc8657c,_0x1eddf3)=>{if(!_0x1eddf3['options']['showSuggestionHighlights'])return;const _0x27fca4=_0xc8657c['item'];if(!_0x27fca4)return;const _0x250aab=_0x1eddf3['mapper']['toViewElement'](_0x27fca4);_0x426798['model']['schema']['isObject'](_0x27fca4)&&_0x250aab&&!_0x250aab['getCustomProperty']('widget')&&_0x250aab['is']('containerElement')&&_0x2428cf(_0x250aab,_0x1eddf3['writer']);},{'priority':'high'});});const _0xa3b551=(_0x10957f,_0x21f011,_0x4a9382,_0x31547f,_0x5387d2)=>{if(_0x31547f&&!_0x4a9382['options']['showSuggestionHighlights'])return;if(!_0x21f011['item'])return;const {id:_0x2db478,authorId:_0x36c450,subType:_0xf0057d}=v(_0x21f011['markerName']);if(_0x5387d2){const _0x354293=_0xf0057d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x354293))return;}if(_0x21f011['item']['is']('selection'))return void _0x4a9382['consumable']['consume'](_0x21f011['item'],_0x10957f['name']);const _0x595d4d=_0x4a9382['mapper']['toViewElement'](_0x21f011['item']);if(_0x21f011['item']['is']('element')&&_0x426798['model']['schema']['isBlock'](_0x21f011['item'])&&!_0x595d4d['getCustomProperty']('addHighlight')){_0x4a9382['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x595d4d),_0x4a9382['writer']['setAttribute']('data-suggestion',_0x2db478,_0x595d4d),_0x4a9382['writer']['setAttribute']('data-author-id',_0x36c450,_0x595d4d),_0x4a9382['mapper']['bindElementToMarker'](_0x595d4d,_0x21f011['markerName']),_0x31547f||(this['_activeMarkers']['includes'](_0x21f011['markerName'])?_0x4a9382['writer']['addClass']('ck-suggestion-marker--active',_0x595d4d):_0x4a9382['writer']['removeClass']('ck-suggestion-marker--active',_0x595d4d));for(const _0xc8a228 of _0x426798['model']['createRangeIn'](_0x21f011['item'])['getItems']())_0x4a9382['consumable']['consume'](_0xc8a228,_0x10957f['name']);_0x4a9382['consumable']['consume'](_0x21f011['item'],_0x10957f['name']);}},_0x2cae18=(_0x538ca5,_0x350cef,_0x3b6777,_0x35ad15)=>{const _0x3d3824=_0x3b6777['mapper']['markerNameToElements'](_0x350cef['markerName']);if(_0x3d3824){if(_0x35ad15){const {subType:_0xf8ffe9}=v(_0x350cef['markerName']),_0x186099=_0xf8ffe9['split']('|')[0x0];if(!this['isBlockAttribute'](_0x186099))return;}for(const _0x143b44 of _0x3d3824)_0x143b44['getCustomProperty']('addHighlight')||(_0x3b6777['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x143b44),_0x3b6777['writer']['removeAttribute']('data-suggestion',_0x143b44),_0x3b6777['writer']['removeAttribute']('data-author-id',_0x143b44),_0x3b6777['mapper']['unbindElementFromMarkerName'](_0x143b44,_0x350cef['markerName']));}};_0x426798['conversion']['for']('editingDowncast')['add'](_0x15f06f=>{_0x15f06f['on']('addMarker:suggestion:formatBlock',(_0x335420,_0x8eb997,_0x3a18b9)=>{_0xa3b551(_0x335420,_0x8eb997,_0x3a18b9,!0x1,!0x1);},{'priority':'high'});}),_0x426798['conversion']['for']('editingDowncast')['add'](_0x2ce803=>{_0x2ce803['on']('addMarker:suggestion:attribute',(_0x54bf65,_0x479398,_0x1ec90e)=>{_0xa3b551(_0x54bf65,_0x479398,_0x1ec90e,!0x1,!0x0);},{'priority':'high'});}),_0x426798['conversion']['for']('editingDowncast')['add'](_0x13d55c=>{_0x13d55c['on']('removeMarker:suggestion:formatBlock',(_0x3be9e0,_0x47fbe3,_0x59bfa7)=>{_0x2cae18(0x0,_0x47fbe3,_0x59bfa7,!0x1);},{'priority':'high'});}),_0x426798['conversion']['for']('editingDowncast')['add'](_0x3553f9=>{_0x3553f9['on']('removeMarker:suggestion:attribute',(_0x367037,_0x3f0bbf,_0x27540c)=>{_0x2cae18(0x0,_0x3f0bbf,_0x27540c,!0x0);},{'priority':'high'});}),_0x426798['conversion']['for']('dataDowncast')['add'](_0x5f0bc6=>{_0x5f0bc6['on']('addMarker:suggestion:formatBlock',(_0x234524,_0x658406,_0x1d7384)=>{_0xa3b551(_0x234524,_0x658406,_0x1d7384,!0x0,!0x1);},{'priority':'highest'});}),_0x426798['conversion']['for']('dataDowncast')['add'](_0xd499f0=>{_0xd499f0['on']('addMarker:suggestion:attribute',(_0x8b66a1,_0x45f7c7,_0x550055)=>{_0xa3b551(_0x8b66a1,_0x45f7c7,_0x550055,!0x0,!0x0);},{'priority':'highest'});}),_0x426798['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4d810d,_0x3b979a)=>{if(_0x3b979a['options']['showSuggestionHighlights']){const {id:_0xcf5f77,authorId:_0x314087}=v(_0x4d810d);return _0x4d810d['includes'](':split')||_0x4d810d['includes'](':merge')?{'group':'suggestion','name':_0x4d810d['substr'](0xb),'attributes':{'data-suggestion':_0xcf5f77,'data-author-id':_0x314087}}:null;}return{'group':'suggestion','name':_0x4d810d['substr'](0xb)};}});const _0x2c10cd=(_0x513696,_0x37bd4f,_0x207733,_0x356529,_0x109bdd)=>{if(_0x356529&&!_0x207733['options']['showSuggestionHighlights'])return;if(!_0x207733['consumable']['test'](_0x37bd4f['markerRange'],_0x513696['name']))return;const _0x3426cf=this['_activeMarkers'],_0x2e58cb=_0x37bd4f['markerRange']['getWalker'](),_0x536ae8=_0x37bd4f['markerRange']['start'],_0x11e9f5=_0x426798['model']['schema'];let _0xdd699a=null,_0x44182c=null,_0xca57a9=!0x1,_0x49d6b5=!0x1;for(const _0x5a4367 of _0x2e58cb){const _0x117dde=_0x5a4367['item'];_0xca57a9=_0xca57a9||_0x11e9f5['isContent'](_0x117dde);const _0x2db1df=_0x207733['mapper']['toViewElement'](_0x117dde);if(_0x2db1df&&_0x2db1df['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5a4367['type']&&(_0x11e9f5['isBlock'](_0x117dde)&&!_0x11e9f5['isLimit'](_0x117dde)&&(_0x117dde['nextSibling']||_0x536ae8['isAtEnd']?_0xdd699a&&_0xdd699a['parent']==_0x117dde||(_0xdd699a=_0x117dde,_0x1ee4fd(_0x5a4367['previousPosition']),_0x49d6b5=!0x0):_0x44182c=_0x44182c||_0x5a4367['previousPosition']));}function _0x1ee4fd(_0x171be7){const {id:_0x1b3502,authorId:_0x1a1c14}=v(_0x37bd4f['markerName']),_0x4658b9=_0x207733['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x109bdd,'data-suggestion':_0x1b3502,'data-author-id':_0x1a1c14}),_0x17a489=_0x207733['mapper']['toViewPosition'](_0x171be7);!_0x356529&&_0x3426cf['includes'](_0x37bd4f['markerName'])&&_0x207733['writer']['addClass']('ck-suggestion-marker--active',_0x4658b9),_0x207733['writer']['insert'](_0x17a489,_0x4658b9),_0x207733['mapper']['bindElementToMarker'](_0x4658b9,_0x37bd4f['markerName']);}_0xca57a9||_0x49d6b5||!_0x44182c||_0x1ee4fd(_0x44182c);};_0x426798['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1816b1,_0x1a86e1,_0x162a49)=>{_0x2c10cd(_0x1816b1,_0x1a86e1,_0x162a49,!0x1,'merge');},{'priority':'high'}),_0x426798['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3f4337,_0x3eb435,_0x54e68e)=>{_0x2c10cd(_0x3f4337,_0x3eb435,_0x54e68e,!0x0,'merge');},{'priority':'high'}),_0x426798['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x40faab,_0x1743a8,_0x2368d6)=>{_0x2c10cd(_0x40faab,_0x1743a8,_0x2368d6,!0x1,'split');},{'priority':'high'}),_0x426798['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x25e233,_0xf21cac,_0x168e11)=>{_0x2c10cd(_0x25e233,_0xf21cac,_0x168e11,!0x0,'split');},{'priority':'high'}),_0x426798['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xe9b3d0,_0x2c0d9d,_0x29a5c9)=>{((_0x8b3c4a,_0x7a833a,_0x56e8e5)=>{const _0x35a996=_0x56e8e5['mapper']['markerNameToElements'](_0x7a833a['markerName']);if(_0x35a996){for(const _0x2751f5 of _0x35a996)(_0x2751f5['hasClass']('ck-suggestion-marker-split')||_0x2751f5['hasClass']('ck-suggestion-marker-merge'))&&(_0x56e8e5['mapper']['unbindElementFromMarkerName'](_0x2751f5,_0x7a833a['markerName']),_0x56e8e5['writer']['remove'](_0x2751f5));}})(0x0,_0x2c0d9d,_0x29a5c9);},{'priority':'high'});const _0x278f2e=(_0x174548,_0x20d0ad,_0x31b8a5,_0xb7074e)=>{if(_0xb7074e&&!_0x31b8a5['options']['showSuggestionHighlights'])return;const _0xdef4e9=_0x20d0ad['markerRange']['start'],_0x4625a0=_0x20d0ad['markerRange']['end'],_0x29780a=_0x426798['model']['schema'];if(!_0xdef4e9['isTouching'](_0x4625a0)||!_0xdef4e9['nodeAfter'])return;const _0x2aea33=_0xdef4e9['nodeAfter'];if(_0x29780a['isBlock'](_0x2aea33)&&!_0x29780a['isLimit'](_0x2aea33)&&_0x29780a['checkChild'](_0x2aea33,'$text')){if(!_0x31b8a5['consumable']['consume'](_0x20d0ad['markerRange'],_0x174548['name']))return;const {id:_0x2a8dee,authorId:_0x2cfe34}=v(_0x20d0ad['markerName']),_0x32c36e=_0x31b8a5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2a8dee,'data-author-id':_0x2cfe34}),_0x187bb1=_0x31b8a5['mapper']['toViewPosition'](_0x4625a0);!_0xb7074e&&this['_activeMarkers']['includes'](_0x20d0ad['markerName'])&&_0x31b8a5['writer']['addClass']('ck-suggestion-marker--active',_0x32c36e),_0x31b8a5['writer']['insert'](_0x187bb1,_0x32c36e),_0x31b8a5['mapper']['bindElementToMarker'](_0x32c36e,_0x20d0ad['markerName']);}};_0x426798['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x301bf4,_0x3e1ea1,_0x297846)=>{_0x278f2e(_0x301bf4,_0x3e1ea1,_0x297846,!0x1);},{'priority':'high'}),_0x426798['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5492bb,_0x375c99,_0xe408b2)=>{_0x278f2e(_0x5492bb,_0x375c99,_0xe408b2,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x321180,_0x4fa1e8,_0x45a62b)=>{this['_activeMarkers']=_0x45a62b['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x46e39e){this['_blockAttributeKeys']['add'](_0x46e39e);}['registerInlineAttribute'](_0x3dcdca){this['_inlineAttributeKeys']['add'](_0x3dcdca);}['isBlockAttribute'](_0x327ca9){return this['_blockAttributeKeys']['has'](_0x327ca9);}['isInlineAttribute'](_0xbb5319){return this['_inlineAttributeKeys']['has'](_0xbb5319);}['isRegisteredAttribute'](_0x30ded8){return this['isInlineAttribute'](_0x30ded8)||this['isBlockAttribute'](_0x30ded8);}['_getClassName'](_0x56ac04,_0x3d3697){if('attribute'!=_0x56ac04)return'ck-suggestion-marker-'+_0x56ac04;const _0x4cfe6c=_0x3d3697['split']('|')[0x0];return this['isBlockAttribute'](_0x4cfe6c)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x39e001={},_0x3e60a2){if(void 0x0!==_0x39e001['dateTimeFormat']&&'function'!=typeof _0x39e001['dateTimeFormat'])throw new _0x22ec5a('invalid-date-time-format');return _0x16e7df=>{const _0x440e5e='string'==typeof _0x16e7df?tt['fromISO'](_0x16e7df):tt['fromJSDate'](_0x16e7df),_0x26cfe0=tt['now'](),_0x555b05=Math['floor'](_0x26cfe0['diff'](_0x440e5e,'days')['days']);return _0x39e001['dateTimeFormat']?_0x39e001['dateTimeFormat'](_0x440e5e['toJSDate'](),_0x3e60a2&&_0x3e60a2['t']?_0x3e60a2['t']:void 0x0):0x0===_0x555b05?_0x3e60a2?U(_0x3e60a2,'Today')+'\x20'+_0x440e5e['toFormat']('hh:mma'):_0x440e5e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x555b05?_0x3e60a2?U(_0x3e60a2,'Yesterday')+'\x20'+_0x440e5e['toFormat']('hh:mma'):_0x440e5e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x555b05<0x7?_0x3e60a2?U(_0x3e60a2,'Last')+'\x20'+U(_0x3e60a2,_0x440e5e['toFormat']('EEEE'))+'\x20'+_0x440e5e['toFormat']('hh:mma'):_0x440e5e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x440e5e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x267f2a,_0x3cfb66){const _0x1e9af9=_0x267f2a['mapper']['markerNameToElements'](_0x3cfb66['name']);if(!_0x1e9af9)return null;const _0x5005b3=_0x36b814(_0x1e9af9['values']());return _0x267f2a['view']['domConverter']['mapViewToDom'](_0x5005b3)||null;}function wt(_0x4134c7,_0xd7b5f9){if(0x0===_0xd7b5f9['length'])return null;const _0x446350=[],_0x5dabc3=_0x4134c7['view']['domConverter'];for(const _0x9538cf of _0xd7b5f9){const _0xd91978=_0x4134c7['mapper']['markerNameToElements'](_0x9538cf['name']);if(!_0xd91978)continue;const _0x361542=Array['from'](_0xd91978)['map'](_0x3c9308=>_0x5dabc3['mapViewToDom'](_0x3c9308))['filter'](_0x2c97a6=>!!_0x2c97a6);_0x446350['push'](..._0x361542);}if(0x0===_0x446350['length'])return null;const _0x28e9cb=[];for(const _0x4cec3c of _0x446350){const _0x2e4f68=_0x4cec3c['getClientRects']()['item'](0x0);_0x2e4f68&&_0x28e9cb['push']({'x':_0x2e4f68['x'],'y':_0x2e4f68['y'],'domElement':_0x4cec3c});}return 0x0===_0x28e9cb['length']?null:(_0x28e9cb['sort']((_0x421b20,_0x75bd3d)=>_0x421b20['y']-_0x75bd3d['y']||_0x421b20['x']-_0x75bd3d['x']),_0x28e9cb['map'](_0x148359=>_0x148359['domElement']));}function bt(_0x513c99,{limit:_0x25079d,suffix:_0x1cd478='...'}){const _0x44c549=[];let _0x49aa5a=0x0;const _0xcba434=_0x513c99['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x18bc42=0x0;_0x18bc42<_0xcba434['length'];_0x18bc42++){let _0x19a485=_0xcba434[_0x18bc42];const _0x125cc6=tn(_0x19a485);if(_0x19a485['startsWith']('<')){if(_0x49aa5a>=_0x25079d){const _0x1c62cc=_0x19a485['match'](/[a-zA-Z]+/);if(!_0x1c62cc){_0xcba434[_0x18bc42]='';continue;}const _0x1cd3f3=_0x1c62cc[0x0];_0x19a485['startsWith']('</')?(_0x44c549['length']&&(_0x19a485=''),_0x44c549['pop']()):(_0x44c549['push'](_0x1cd3f3),_0x19a485='');}}else{if(_0x49aa5a>=_0x25079d)_0x19a485='';else{if(_0x49aa5a+_0x125cc6['length']>=_0x25079d){let _0x2fe5e6=_0x25079d-_0x49aa5a;if('\x20'===_0x125cc6[_0x2fe5e6-0x1])_0x2fe5e6--;else{const _0x120352=_0x125cc6['slice'](_0x2fe5e6)['indexOf']('\x20');-0x1!==_0x120352?_0x2fe5e6+=_0x120352:_0x2fe5e6=_0x19a485['length'];}_0x19a485=_0x125cc6['slice'](0x0,_0x2fe5e6)['join']('')+_0x1cd478,_0x49aa5a=_0x25079d;}else _0x49aa5a+=_0x125cc6['length'];}}_0xcba434[_0x18bc42]=_0x19a485;}return _0xcba434['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x20c382){const _0x256a02=[];for(let _0x881452=0x0;_0x881452<_0x20c382['length'];_0x881452++){const _0x164cde=_0x20c382['substring'](_0x881452)['match'](/^&[a-z0-9#]+;/);if(_0x164cde){const _0x3644a2=_0x164cde[0x0];_0x256a02['push'](_0x3644a2),_0x881452+=_0x3644a2['length']-0x1;}else _0x256a02['push'](_0x20c382[_0x881452]);}return _0x256a02;}class X extends _0x23434a{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x1083ed){super(_0x1083ed);const _0x4c1ef8=this['bindTemplate'];this['set']('message',U(_0x1083ed,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1083ed,U(_0x1083ed,'Yes'),_0x2c1d05,'submit'),this['cancelView']=this['_createButtonView'](_0x1083ed,U(_0x1083ed,'No'),_0x9ff404,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x2e258c(),this['keystrokes']=new _0x11b7db(),this['focusCycler']=new _0x259005({'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':_0x4c1ef8['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'](_0x27c924,_0x5ce442,_0x3059a3,_0x71785d){const _0x3c2309=new ts(_0x27c924);return _0x3c2309['label']=_0x5ce442,_0x3c2309['icon']=_0x3059a3,_0x3c2309['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x71785d}}),_0x3c2309['on']('execute',()=>this['fire'](_0x71785d)),_0x3c2309;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x13bfc2=>{this['keystrokes']['listenTo'](_0x13bfc2['element']),this['focusTracker']['add'](_0x13bfc2['element']);}),this['keystrokes']['set']('esc',(_0x159894,_0x5f231a)=>{this['fire']('cancel'),_0x5f231a();});}}function vt(_0x1b00be){return class extends _0x1b00be{['showConfirm'](_0x57f6e9,_0x311c7d){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x57f6e9,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x311c7d['appendChild'](this['confirmView']['element']),_0x311c7d['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3ed164,_0x689817,_0x2443c1)=>{_0x2443c1||_0x311c7d['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x57a033=>this['confirmView']['on']('submit',_0x57a033));}['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(_0x8c9339){let _0x33445d=0x0,_0x1703ab=0x0;for(const _0x4751e9 of ne(_0x8c9339))_0x33445d=(_0x33445d<<0x5)-_0x33445d+_0x4751e9,_0x33445d&=_0x33445d,[_0x33445d,_0x1703ab]=[_0x1703ab,_0x33445d];return ie(_0x33445d)+ie(_0x1703ab);}function*ee(_0x4905eb){null==_0x4905eb||null==_0x4905eb?yield 0x12b9b0a1:0x0===_0x4905eb||!0x1===_0x4905eb?yield 0x0:0x1===_0x4905eb||0x1==_0x4905eb?yield 0x1:Array['isArray'](_0x4905eb)?yield*function*(_0x3c00f5){for(const _0x49ea72 of _0x3c00f5)yield*ee(_0x49ea72);}(_0x4905eb):'object'==typeof _0x4905eb?yield*ne(_0x4905eb):'string'==typeof _0x4905eb?yield*oe(_0x4905eb):'number'==typeof _0x4905eb&&(yield _0x4905eb);}function*ne(_0x476a9b){if(yield te('{'),_0x476a9b){const _0x2bf0e4=Object['keys'](_0x476a9b)['sort']();for(const _0x367657 of _0x2bf0e4){yield*oe(_0x367657),yield te(':');const _0x3f6d0e=_0x476a9b[_0x367657];yield*ee(_0x3f6d0e);}}yield te('}');}function*oe(_0x1a32ca){yield te('\x22');for(const _0x346b5d of _0x1a32ca)yield te(_0x346b5d);yield te('\x22');}function te(_0x1f276f){return _0x1f276f['charCodeAt'](0x0);}function ie(_0x20b7f4){return(_0x20b7f4*=Math['sign'](_0x20b7f4))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x46d9a0,_0x480300,_0x53846a,_0x5505a5=[]){const _0x55d4ae='string'==typeof _0x46d9a0?_0x53846a['get'](_0x46d9a0)['constructor']:_0x46d9a0['prototype']['constructor'];if(_0x480300['has'](_0x55d4ae))return _0x480300['get'](_0x55d4ae);_0x480300['set'](_0x55d4ae,!0x0);const _0x1ae2d2=[...et,..._0x5505a5]['map'](_0x4ab0c9=>{if(_0x53846a['has'](_0x4ab0c9))return _0x53846a['get'](_0x4ab0c9)['constructor'];})['filter'](_0x28bf52=>_0x28bf52);if(_0x55d4ae&&_0x1ae2d2['includes'](_0x55d4ae))return _0x480300['set'](_0x55d4ae,!0x1),!0x1;if(!_0x55d4ae['requires'])return _0x480300['set'](_0x55d4ae,!0x0),!0x0;const _0x191676=_0x55d4ae['requires']['every'](_0x15c5b7=>ot(_0x15c5b7,_0x480300,_0x53846a,_0x5505a5));return _0x480300['set'](_0x55d4ae,_0x191676),_0x191676;}function Ct(_0x3c61f7,_0x152369){const _0x1f5052={};for(const _0x109124 of _0x3c61f7['config']['names']())nt['includes'](_0x109124)||(_0x1f5052[_0x109124]=_0x3c61f7['config']['get'](_0x109124));const _0x14c7d4=_0x1f5052['plugins']||[],_0x3b2363=_0x3c61f7['constructor']['builtinPlugins']||[],_0x26d1a3=_0x14c7d4['length']?_0x14c7d4:_0x3b2363,_0xcdd558=_0x1f5052['extraPlugins']||[];delete _0x1f5052['extraPlugins'];const _0x36d5ca=_0x1f5052['removePlugins']||[];delete _0x1f5052['removePlugins'];const _0x516d54=_0x3c61f7['_context']['config']['get']('plugins')||[],_0x22f0ec=_0x26d1a3['concat'](_0xcdd558)['concat'](_0x516d54)['map'](_0x4f094c=>'string'==typeof _0x4f094c?_0x3b2363['find'](_0x2f84ba=>_0x2f84ba['pluginName']==_0x4f094c):_0x4f094c)['filter'](_0x35900d=>!_0x36d5ca['includes'](_0x35900d)&&!_0x36d5ca['includes'](_0x35900d['pluginName'])),_0x5158c5=Array['from'](new Set(_0x22f0ec)),_0x5c5196=new Map();return _0x1f5052['plugins']=_0x5158c5['filter'](_0x5adb4a=>ot(_0x5adb4a,_0x5c5196,_0x3c61f7['plugins'],_0x152369)),_0x1f5052;}function xt(_0x691560,_0x15a13c){const _0x33f561=[];_0x691560['document']['selection']['on']('change:range',()=>{const _0x3268ac=function(_0x38ea0b,_0xdefb5e){const _0x5af273=[];for(const _0x530869 of _0x38ea0b['markers']){const _0x3665ab=_0x530869['getRange']();(_0x3665ab['containsPosition'](_0xdefb5e)||_0x3665ab['start']['isEqual'](_0xdefb5e)||_0x3665ab['end']['isEqual'](_0xdefb5e))&&_0x5af273['push'](_0x530869);}return _0x5af273;}(_0x691560,_0x691560['document']['selection']['focus']),_0x46988c=[],_0x46e51a=[],_0x293f8c=[];for(const _0x565264 of _0x33f561)_0x3268ac['includes'](_0x565264)||_0x46988c['push'](_0x565264);for(const _0x33e689 of _0x3268ac)_0x33f561['includes'](_0x33e689)||_0x46e51a['push'](_0x33e689),_0x293f8c['push'](_0x33e689);(_0x46988c['length']||_0x46e51a['length'])&&_0x15a13c({'left':_0x46988c,'entered':_0x46e51a}),_0x33f561['length']=0x0,_0x33f561['push'](..._0x293f8c);});}const _t='Ctrl+Shift+E';function It(_0x533d08,_0x4def19){const _0x1bd11b=_0x533d08['element'];_0x533d08['keystrokes']['listenTo'](_0x1bd11b);for(const _0x2d21e3 of _0x4def19)ro(_0x533d08,_0x2d21e3);_0x4def19['on']('change',(_0x408744,_0x27e02c)=>{for(const _0x480d74 of _0x27e02c['removed'])to(_0x533d08,_0x480d74);for(const _0x350abd of Array['from'](_0x27e02c['added'])['reverse']())ro(_0x533d08,_0x350abd);}),_0x533d08['keystrokes']['set']('enter',(_0x120263,_0x10abde)=>{_0x1bd11b===_0x120263['target']&&(_0x533d08['focusCycler']['focusFirst'](),_0x10abde());},{'filter':_0x1835d6=>_0x1835d6['target']===_0x1bd11b}),_0x533d08['keystrokes']['set']('esc',(_0x2e9ee1,_0xfa4974)=>{_0x1bd11b!==_0x2e9ee1['target']?_0x533d08['focus']():_0x533d08['fire']('escape'),_0xfa4974();}),_0x533d08['keystrokes']['set']('arrowdown',(_0x219150,_0x2af160)=>{_0x1bd11b===_0x219150['target']&&(_0x533d08['fire']('arrowdown'),_0x2af160());}),_0x533d08['keystrokes']['set']('arrowup',(_0x1a6074,_0x3fc24d)=>{_0x1bd11b===_0x1a6074['target']&&(_0x533d08['fire']('arrowup'),_0x3fc24d());});}function ro(_0x3171ba,_0x2a213c){_0x2a213c['isRendered']&&(_0x3171ba['focusTracker']['add'](_0x2a213c['element']),_0x3171ba['keystrokes']['listenTo'](_0x2a213c['element']),_0x32898d(_0x2a213c)&&function(_0x32e2e1,_0x3324e7){const _0x41e1b3=_0x32e2e1['actions'],_0x348201=_0x3324e7['actions'];for(const _0xeb4fdb of Object['keys'](_0x41e1b3))if(_0xeb4fdb in _0x348201&&_0x41e1b3[_0xeb4fdb]!==_0x348201[_0xeb4fdb])return!0x1;return!0x0;}(_0x3171ba['focusCycler'],_0x2a213c['focusCycler'])&&_0x3171ba['focusCycler']['chain'](_0x2a213c['focusCycler']));}function to(_0x4454fd,_0x327140){_0x4454fd['focusTracker']['remove'](_0x327140['element']),_0x4454fd['keystrokes']['stopListening'](_0x327140['element']),_0x32898d(_0x327140)&&_0x4454fd['focusCycler']['unchain'](_0x327140['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x474a22{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x43cbfa?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x553b60,_0x57d43d)=>{_0x57d43d['on']('ready',()=>{this['_integrateEditor'](_0x57d43d);});});}get['editor'](){if(this['context']instanceof _0x43cbfa)return this['context'];{const _0x1a08c2=this['context']['editors']['first'];if(!_0x1a08c2)throw new _0x22ec5a('documentcompare-no-editor',this);return _0x1a08c2;}}['getDiff'](_0x114d36,_0x50c566,_0x5bf185={'anchor':'main','markDeletions':!0x1}){let _0x3ffd6f,_0x3710bf;const _0x10de76=this['editor'];if('string'==typeof _0x5bf185['anchor']){const _0x37d9ca=_0x10de76['model']['document']['getRoot'](_0x5bf185['anchor']);if(!_0x37d9ca)throw new _0x22ec5a('documentcompare-compare-no-root',this,{'anchor':_0x5bf185['anchor']});_0x3ffd6f=_0x37d9ca,_0x3710bf=_0x10de76['model']['createPositionAt'](_0x37d9ca,0x0);}else _0x3ffd6f=_0x5bf185['anchor']['clone'](),_0x3710bf=_0x5bf185['anchor']['clone']();const _0x1ea120=_0x10de76['data']['parse'](_0x114d36,_0x3ffd6f),_0x4a4266=_0x10de76['data']['parse'](_0x50c566,_0x3ffd6f);return new Mt(_0x1ea120,_0x4a4266,_0x10de76,{'anchor':_0x3710bf,'markDeletions':_0x5bf185['markDeletions']});}['isMarkedRemoveOperation'](_0x3679d3){return'marker'==_0x3679d3['type']&&_0x3679d3['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x5f2d80){_0x5f2d80['conversion']['for']('upcast')['add'](_0x4068c2=>{_0x4068c2['on']('element',(_0x39ac05,_0x1ba118,_0x346845)=>{if(_0x1ba118['modelRange'])for(const _0x30d488 of _0x1ba118['modelRange']['getItems']({'shallow':!0x0})){if(_0x30d488['is']('$textProxy'))continue;const _0x1695e6=_0x1ba118['viewItem']['getAttribute'](Et);_0x1695e6&&_0x346845['writer']['setAttribute'](St,_0x1695e6,_0x30d488);}},{'priority':'lowest'});}),_0x5f2d80['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x34df18,_0x6cbd99,_0x102ec8,_0x361cd3){this['_editor']=_0x102ec8,this['_markDeletions']=!!_0x361cd3['markDeletions'],this['_anchor']=_0x361cd3['anchor'];const _0x464e9b=this['_tokenizeModel'](_0x34df18),_0x520299=this['_tokenizeModel'](_0x6cbd99);this['_diffItems']=this['_diffModelTokens'](_0x464e9b,_0x520299),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x34df18['markers'],_0x6cbd99['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x517c8e=this['_editor']['model']['document'],_0x46f617=[];let _0x379090=_0x517c8e['version'];for(const _0x5db2eb of this['_operationsData'])switch(_0x5db2eb['type']){case'attribute':{const _0xdceb59=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['path']),_0x2c6726=_0xdceb59['getShiftedBy'](_0x5db2eb['howMany']),_0x50c86f=new _0x53b480(_0xdceb59,_0x2c6726),_0x3db27e=JSON['parse'](_0x5db2eb['oldValue']),_0x3b7635=JSON['parse'](_0x5db2eb['newValue']);_0x46f617['push'](new _0x2e3bec(_0x50c86f,_0x5db2eb['key'],_0x3db27e,_0x3b7635,_0x379090++));break;}case'insert':{const _0x1dab7e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['path']),_0x56c0b8=this['_makeModelFromTokens'](_0x5db2eb['tokens']);_0x46f617['push'](new _0x17f335(_0x1dab7e,_0x56c0b8,_0x379090++));break;}case'remove':{const _0x34a553=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['path']),_0x126cd9=new _0x5563d5(_0x517c8e['graveyard'],[0x0]);_0x46f617['push'](new _0xc61cca(_0x34a553,_0x5db2eb['howMany'],_0x126cd9,_0x379090++));break;}case'rename':{const _0x1cad65=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['path']);_0x46f617['push'](new _0x230970(_0x1cad65,_0x5db2eb['oldName'],_0x5db2eb['newName'],_0x379090++));break;}case'split':{const _0x3adb08=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['path']),_0x3a0f21=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['path']['slice'](0x0,-0x1));_0x3a0f21['offset']++,_0x46f617['push'](new _0x36ac15(_0x3adb08,Number['NEGATIVE_INFINITY'],_0x3a0f21,null,_0x379090++));break;}case'merge':{const _0xef1848=_0x5db2eb['path']['slice'](),_0x4d20ae=_0xef1848['slice'](0x0,-0x1);_0x4d20ae[_0x4d20ae['length']-0x1]++,_0x4d20ae['push'](0x0);const _0x54226b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d20ae),_0x9204f4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xef1848),_0x4cd092=new _0x5563d5(_0x517c8e['graveyard'],[0x0]);_0x46f617['push'](new _0x173295(_0x54226b,Number['NEGATIVE_INFINITY'],_0x9204f4,_0x4cd092,_0x379090++));break;}case'marker':case'markedRemove':{let _0x1ee099=null;if(_0x5db2eb['range']){const _0x5b9cb1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['range']['start']),_0x17d142=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['range']['end']);_0x1ee099=new _0x53b480(_0x5b9cb1,_0x17d142);}const _0x245267='marker'==_0x5db2eb['type']?_0x5db2eb['name']:'$markedRemove:'+_0x5c169e();_0x46f617['push'](new _0x55632e(_0x245267,null,_0x1ee099,_0x517c8e['model']['markers'],!0x0,_0x379090++));break;}case'unwrap':{const _0x1c133a=_0x5db2eb['path']['slice']();_0x1c133a['push'](0x0);const _0x468d2f=_0x5db2eb['path']['slice'](),_0x3cb758=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c133a),_0x47b3b2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x468d2f),_0x2413ff=new _0x5563d5(_0x517c8e['graveyard'],[0x0]);_0x46f617['push'](new _0xc61cca(_0x3cb758,_0x5db2eb['howMany'],_0x47b3b2,_0x379090++)),_0x46f617['push'](new _0xc61cca(_0x47b3b2['getShiftedBy'](_0x5db2eb['howMany']),0x1,_0x2413ff,_0x379090++));break;}case'wrap':{const _0x269e44=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['range']['start']),_0x52dd78=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5db2eb['range']['end']),_0x40072e=_0x5db2eb['token']['element']['_clone'](!0x1),_0x209816=_0x5db2eb['range']['end']['slice']();_0x209816['push'](0x0);const _0x288e42=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x209816);_0x46f617['push'](new _0x17f335(_0x52dd78,_0x40072e,_0x379090++)),_0x46f617['push'](new _0xc61cca(_0x269e44,_0x52dd78['offset']-_0x269e44['offset'],_0x288e42,_0x379090++));break;}}return _0x46f617;}['_tokenizeModel'](_0x149c7b){const _0x474708=[],_0x257b74=_0x53b480['_createIn'](_0x149c7b),_0x1a204d=new _0x37133a({'boundaries':_0x257b74});let _0x39f6e1='',_0x4f160=null;const _0x34afb5=[''],_0x810a72=new Map();for(const _0x7f34da of _0x1a204d)if('elementStart'==_0x7f34da['type']||'elementEnd'==_0x7f34da['type']){let _0x2c2fe3=_0x34afb5[0x0];''!==_0x39f6e1&&(_0x474708['push'](...this['_makeTokensFromTextByWords'](_0x39f6e1,_0x4f160,_0x2c2fe3)),_0x39f6e1='');const _0x406994=_0x7f34da['item'];let _0x7c8dbc;_0x406994['getAttribute'](St)?_0x7c8dbc=_0x406994['getAttribute'](St):'elementStart'==_0x7f34da['type']?(_0x7c8dbc=_(_0x406994),_0x810a72['set'](_0x406994,_0x7c8dbc)):_0x7c8dbc=_0x810a72['get'](_0x406994);const _0x355fe2=this['_getElementCategory'](_0x406994);'solid'==_0x355fe2&&('elementStart'==_0x7f34da['type']?(_0x2c2fe3=_0x7c8dbc,_0x34afb5['unshift'](_0x2c2fe3)):_0x34afb5['shift']());const _0x1f259d={'type':'element','element':_0x406994,'elementId':_0x7c8dbc,'category':_0x355fe2,'isStart':'elementStart'==_0x7f34da['type'],'limitId':_0x2c2fe3};_0x474708['push'](_0x1f259d);}else''==_0x39f6e1&&(_0x4f160=_0x7f34da['previousPosition']['clone']()),_0x39f6e1+=_0x7f34da['item']['data'];return''!==_0x39f6e1&&_0x474708['push'](...this['_makeTokensFromTextByWords'](_0x39f6e1,_0x4f160,_0x34afb5[0x0])),_0x474708;}['_makeTokensFromTextByWords'](_0x102ce1,_0x3ed4e2,_0x3dff31){const _0x43ade6=_0x102ce1['matchAll'](/(\s)/g),_0x397bea=Array['from'](_0x43ade6)['map'](_0x52d698=>_0x52d698['index']);_0x397bea['push'](_0x102ce1['length']),0x0==_0x397bea[0x0]&&_0x397bea['shift']();const _0x42f7ac=[],_0x14ee24=_0x3ed4e2['parent'];let _0x5c179f=0x0,_0x5829af=_0x3ed4e2['offset'];for(let _0x882be6=0x0;_0x882be6<_0x397bea['length'];_0x882be6++)_0x42f7ac['push']({'type':'text','data':_0x102ce1['slice'](_0x5c179f,_0x397bea[_0x882be6]),'parent':_0x14ee24,'offset':_0x5829af,'limitId':_0x3dff31}),_0x5c179f=_0x397bea[_0x882be6],_0x5829af=_0x3ed4e2['offset']+_0x397bea[_0x882be6];return _0x42f7ac;}['_getElementCategory'](_0x24be72){const _0x384cb0=this['_editor']['model']['schema'];return _0x384cb0['isLimit'](_0x24be72)||_0x384cb0['isContent'](_0x24be72)||_0x384cb0['isInline'](_0x24be72)?'solid':_0x384cb0['isBlock'](_0x24be72)?'block':'container';}['_diffModelTokens'](_0x550989,_0x44dfce){const _0x499e91=_0xd313a9(_0x550989,_0x44dfce,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x499e91);const _0x3ff641=_0x499e91['flatMap'](_0x189dad=>{const _0x297bd0=_0x189dad['added']?'added':_0x189dad['removed']?'removed':'unchanged';return _0x189dad['value']['map'](_0x1d7197=>({'token':_0x1d7197,'change':_0x297bd0}));});let _0x5843cd=0x0;for(const _0x2c5c49 of _0x3ff641)'added'!=_0x2c5c49['change']&&('unchanged'==_0x2c5c49['change']&&(_0x2c5c49['before']=_0x550989[_0x5843cd]),_0x5843cd++);return _0x3ff641;}['_handleUnclosedBlockOpeningTags'](_0x3d97fd){for(let _0x1b4502=0x0;_0x1b4502<_0x3d97fd['length']-0x1;_0x1b4502++)if(_0x3d97fd[_0x1b4502]['removed']&&_0x3d97fd[_0x1b4502+0x1]['added']){const _0x229f6c=this['_findUnclosedBlockOpeningToken'](_0x3d97fd[_0x1b4502]['value']);if(null!==_0x229f6c){const _0x131708=this['_findUnclosedBlockOpeningToken'](_0x3d97fd[_0x1b4502+0x1]['value']),_0x4709d7=_0x3d97fd[_0x1b4502]['value']['splice'](_0x229f6c),_0x521225=_0x3d97fd[_0x1b4502+0x1]['value']['splice'](_0x131708),_0x255b84=[_0x521225['shift']()];_0x4709d7['shift']();const _0x6a978c={'value':_0x4709d7,'removed':!0x0},_0x37674b={'value':_0x521225,'added':!0x0},_0x528e31={'value':_0x255b84};_0x3d97fd['splice'](_0x1b4502+0x2,0x0,_0x528e31,_0x6a978c,_0x37674b);}}}['_findUnclosedBlockOpeningToken'](_0x240459){let _0x6a08f6=0x0,_0x357dab=-0x1;for(let _0x273fa6=0x0;_0x273fa6<_0x240459['length'];_0x273fa6++){const _0x4ce381=_0x240459[_0x273fa6];'element'==_0x4ce381['type']&&'block'==_0x4ce381['category']&&(_0x6a08f6+=_0x4ce381['isStart']?0x1:-0x1,_0x4ce381['isStart']&&(_0x357dab=_0x273fa6));}return 0x0===_0x6a08f6?null:_0x357dab;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3ff5c7=0x0;_0x3ff5c7<this['_diffItems']['length'];_0x3ff5c7++){const _0xd65cd1=this['_diffItems'][_0x3ff5c7]['change'],_0x10838e=[];_0x10838e['push'](this['_diffItems'][_0x3ff5c7]);let _0x553747=_0x3ff5c7+0x1;for(;this['_diffItems'][_0x553747]&&this['_diffItems'][_0x553747]['change']==_0xd65cd1;)_0x10838e['push'](this['_diffItems'][_0x553747]),_0x553747++,_0x3ff5c7++;const _0x4e4d36=_0x10838e['map'](_0x38ce0b=>_0x38ce0b['token']);if('unchanged'==_0xd65cd1)_0x10838e['map'](_0x46455a=>_0x46455a['before'])['forEach'](_0x3aa33c=>this['_traverseOverItem'](_0x3aa33c));else{if('removed'==_0xd65cd1){if(this['_markDeletions']){const _0x408652=this['_path']['slice']();_0x4e4d36['forEach'](_0x47f218=>this['_traverseOverItem'](_0x47f218));const _0x3c6baf=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x408652,'end':_0x3c6baf}});}else this['_handleChanged'](_0x4e4d36,!0x0,this['_path']['slice']());}else{const _0x183f8a=_0x4e4d36['filter'](_0x17dd01=>'element'!=_0x17dd01['type']||'container'!=_0x17dd01['category']);this['_handleChanged'](_0x183f8a,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xffaa10=0x0;_0xffaa10<this['_diffItems']['length'];_0xffaa10++){const _0x502f9c=this['_diffItems'][_0xffaa10]['change'],_0x1f8341=[];_0x1f8341['push'](this['_diffItems'][_0xffaa10]);let _0x2b511f=_0xffaa10+0x1;for(;this['_diffItems'][_0x2b511f]&&this['_diffItems'][_0x2b511f]['change']==_0x502f9c;)_0x1f8341['push'](this['_diffItems'][_0x2b511f]),_0x2b511f++,_0xffaa10++;const _0x198ba0=_0x1f8341['map'](_0x16fc0f=>_0x16fc0f['token']);if('unchanged'==_0x502f9c){const _0x180bf6=_0x1f8341['map'](_0x1fcf69=>_0x1fcf69['before']);this['_handleUnchanged'](_0x180bf6,_0x198ba0);}else('removed'!=_0x502f9c||this['_markDeletions'])&&_0x198ba0['forEach'](_0x59e581=>{this['_traverseOverItem'](_0x59e581);});}}['_calculateMarkersOperationsData'](_0x3d7271,_0x5bdb8c){const _0x7b9ee1={};for(const [_0x395fee]of _0x3d7271)_0x7b9ee1[_0x395fee]=null;for(const [_0x3dfb64,_0x358921]of _0x5bdb8c)_0x7b9ee1[_0x3dfb64]=_0x358921;const _0x21def0=Object['entries'](_0x7b9ee1)['map'](([_0x17911e,_0x4cb214])=>({'type':'marker','name':_0x17911e,'range':_0x4cb214?{'start':_0x4cb214['start']['path']['slice'](),'end':_0x4cb214['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x21def0);}['_handleUnwraps'](){const _0x906ec2=new Map(),_0x3ac938=[],_0x100164=[0x0];let _0x3a4b6a=this['_diffItems']['length']+0x1;for(let _0x579ddc=this['_diffItems']['length']-0x1;_0x579ddc>=0x0;_0x579ddc--){const {token:_0x356af0,before:_0x8e530a,change:_0x5906f0}=this['_diffItems'][_0x579ddc];if('removed'!=_0x5906f0&&(_0x3a4b6a=_0x579ddc),'element'!=_0x356af0['type']||'container'!=_0x356af0['category']||'added'==_0x5906f0)continue;const _0x1c65d7=_0x8e530a?_0x8e530a['element']:_0x356af0['element'];if(_0x356af0['isStart']){const _0x4c0f80=_0x906ec2['get'](_0x1c65d7),_0xb988d2=this['_diffItems'][_0x4c0f80];('removed'==_0x5906f0||'removed'==_0xb988d2['change'])&&_0x3a4b6a<_0x4c0f80&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1c65d7['getPath'](),'howMany':_0x1c65d7['maxOffset']+_0x100164[0x0]}),_0x100164['shift'](),_0x100164[0x0]+=_0x1c65d7['maxOffset']-0x1,_0x3ac938['push'](_0x579ddc),_0x3ac938['push'](_0x4c0f80));}else _0x906ec2['set'](_0x1c65d7,_0x579ddc),_0x100164['unshift'](0x0);}_0x3ac938['sort']((_0x37eb27,_0x424176)=>_0x424176-_0x37eb27),_0x3ac938['forEach'](_0x1f5a71=>{const _0x31a343=this['_diffItems'][_0x1f5a71];'removed'==_0x31a343['change']?this['_diffItems']['splice'](_0x1f5a71,0x1):(_0x31a343['change']='added',delete _0x31a343['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x1dc62d=[];for(let _0x44d30d=0x0;_0x44d30d<this['_diffItems']['length'];_0x44d30d++){const {change:_0x2ab061,token:_0xe8265e}=this['_diffItems'][_0x44d30d];if('added'==_0x2ab061&&'element'==_0xe8265e['type']&&'container'==_0xe8265e['category']){if(_0xe8265e['isStart'])_0x1dc62d['push'](this['_path']['slice']());else{if(!_0xe8265e['isStart']){const _0x3f43e5=_0x1dc62d['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3f43e5,'end':this['_path']['slice']()},'token':_0xe8265e}),this['_path'][this['_path']['length']-0x1]=_0x3f43e5[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2ab061||this['_markDeletions'])&&this['_traverseOverItem'](_0xe8265e);}}['_handleUnchanged'](_0x1ac9cb,_0x19d61c){for(let _0x56753a=0x0;_0x56753a<_0x1ac9cb['length'];_0x56753a++){const _0x1e1509=_0x1ac9cb[_0x56753a];if('element'==_0x1e1509['type']&&_0x1e1509['isStart']){const _0x13b414=_0x19d61c[_0x56753a];'block'==_0x1e1509['category']&&this['_handleElementRename'](_0x1e1509['element'],_0x13b414['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1e1509['element'],_0x13b414['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x13b414);}else{if('element'!=_0x1e1509['type']||_0x1e1509['isStart']){if('text'==_0x1e1509['type']){const _0x4bb277=this['_path']['slice'](),_0x17871e=[],_0x27f421=[];for(;_0x1ac9cb[_0x56753a]&&'text'==_0x1ac9cb[_0x56753a]['type'];)_0x17871e['push'](_0x1ac9cb[_0x56753a]),_0x27f421['push'](_0x19d61c[_0x56753a]),this['_path'][this['_path']['length']-0x1]+=_0x1ac9cb[_0x56753a]['data']['length'],_0x56753a++;_0x56753a--,this['_handleTextAttributeChanges'](_0x17871e,_0x27f421,_0x4bb277);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x356fa6,_0x142037,_0x2055e8){const _0x122369=[],_0x1761f1=[],_0x46d033=_0x2055e8['slice']();for(let _0x537244=0x0;_0x537244<_0x356fa6['length'];_0x537244++){const _0x441e8b=_0x356fa6[_0x537244],_0x21502b=_0x2055e8['slice']();if('element'!=_0x441e8b['type']||_0x441e8b['isStart'])'element'==_0x441e8b['type']&&_0x441e8b['isStart']?(_0x2055e8['push'](0x0),_0x142037||this['_parents']['push'](_0x441e8b),_0x1761f1['push']({'before':_0x21502b,'after':_0x2055e8['slice'](),'index':_0x537244})):_0x2055e8[_0x2055e8['length']-0x1]+=_0x441e8b['data']['length'];else{let _0x3cccb2;_0x2055e8['pop'](),_0x2055e8[_0x2055e8['length']-0x1]++,_0x3cccb2=_0x142037?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x1761f1['length']?_0x1761f1['pop']():_0x122369['push']({'before':_0x21502b,'after':_0x2055e8['slice'](),'index':_0x537244,'related':_0x3cccb2});}}if(_0x1761f1['length']!==_0x122369['length'])throw new _0x22ec5a('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x356fa6,'isRemove':_0x142037});const _0x44e063=[{'after':_0x46d033['slice'](),'index':-0x1},..._0x122369,..._0x1761f1,{'before':_0x2055e8['slice'](),'index':_0x356fa6['length']}];if(_0x142037){for(let _0x1b54e3=_0x44e063['length']-0x1;_0x1b54e3>=0x1;_0x1b54e3--){const _0x5acb91=_0x44e063[_0x1b54e3-0x1]['after'],_0x55e84f=_0x44e063[_0x1b54e3]['before'],_0x49107f=_0x55e84f[_0x55e84f['length']-0x1]-_0x5acb91[_0x5acb91['length']-0x1];_0x49107f&&(this['_operationsData']['push']({'type':'remove','path':_0x5acb91,'howMany':_0x49107f}),_0x55e84f[_0x55e84f['length']-0x1]-=_0x49107f);}for(const {before:_0x3d5cfc}of _0x122369)this['_operationsData']['push']({'type':'merge','path':_0x3d5cfc});}else for(let _0x3c5bed=0x0;_0x3c5bed<_0x44e063['length']-0x1;_0x3c5bed++){const _0x302808=_0x44e063[_0x3c5bed]['after'],_0x2cb6ad=_0x44e063[_0x3c5bed+0x1]['before'],_0x2c8f08=_0x44e063[_0x3c5bed]['index']+0x1,_0x1f01ae=_0x44e063[_0x3c5bed+0x1]['index'];if(_0x2c8f08!==_0x1f01ae&&this['_operationsData']['push']({'type':'insert','path':_0x302808,'tokens':_0x356fa6['slice'](_0x2c8f08,_0x1f01ae)}),_0x3c5bed<_0x122369['length']){this['_operationsData']['push']({'type':'split','path':_0x2cb6ad});const _0x181d81=_0x356fa6[_0x1761f1[_0x1761f1['length']-0x1-_0x3c5bed]['index']],_0x32a202=_0x122369[_0x3c5bed]['after'],_0x8aaedd=_0x122369[_0x3c5bed]['related']['element'];this['_handleElementRename'](_0x8aaedd,_0x181d81['element'],_0x32a202),this['_handleElementAttributeChanges'](_0x8aaedd,_0x181d81['element'],_0x32a202);}}}['_traverseOverItem'](_0x1eb58){'element'==_0x1eb58['type']&&_0x1eb58['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1eb58)):'element'!=_0x1eb58['type']||_0x1eb58['isStart']?'text'==_0x1eb58['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1eb58['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x586f66,_0x2ba000,_0x602f8){_0x586f66['name']!=_0x2ba000['name']&&this['_operationsData']['push']({'type':'rename','path':_0x602f8['slice'](),'oldName':_0x586f66['name'],'newName':_0x2ba000['name']});}['_handleElementAttributeChanges'](_0x3ee7fa,_0x21d480,_0x319f02){const _0x11e12d=this['_getAttributeChanges'](_0x3ee7fa['getAttributes'](),_0x21d480['getAttributes']());for(const _0x137ec4 in _0x11e12d){const {oldValue:_0x39bdb9,newValue:_0x1f6684}=_0x11e12d[_0x137ec4];this['_operationsData']['push']({'type':'attribute','path':_0x319f02['slice'](),'howMany':0x1,'key':_0x137ec4,'oldValue':_0x39bdb9,'newValue':_0x1f6684});}}['_handleTextAttributeChanges'](_0x3b9a36,_0x4705be,_0x53abfe){const _0x1b0d67=this['_operationsData'],_0x384c1c=_0x3b9a36[0x0]['parent'],_0x34b0b8=_0x3b9a36[0x0]['offset'],_0x4595ed=_0x4705be[0x0]['parent'],_0x269c0a=_0x4705be[0x0]['offset'],_0x395127=_0x3b9a36['reduce']((_0x2b82c4,_0x122c90)=>_0x2b82c4+_0x122c90['data']['length'],0x0),_0x55e3c5=this['_getAttrsForOffsets'](_0x384c1c,_0x34b0b8,_0x395127),_0x1aa3c5=this['_getAttrsForOffsets'](_0x4595ed,_0x269c0a,_0x395127),_0x3aa392={};for(let _0x312850=0x0;_0x312850<_0x395127;_0x312850++){const _0x2e776b=_0x55e3c5[_0x34b0b8+_0x312850],_0x29c05b=_0x1aa3c5[_0x269c0a+_0x312850],_0x5efa24=this['_getAttributeChanges'](_0x2e776b,_0x29c05b);for(const _0x17beaa in _0x3aa392)_0x5efa24[_0x17beaa]||_0x2dad38(_0x17beaa);for(const _0x536a92 in _0x5efa24){const {oldValue:_0x23523a,newValue:_0x5788f0}=_0x5efa24[_0x536a92],_0x4035c6=_0x3aa392[_0x536a92];_0x4035c6?_0x4035c6['oldValue']==_0x23523a&&_0x4035c6['newValue']==_0x5788f0?_0x4035c6['length']++:(_0x2dad38(_0x536a92),_0x3aa392[_0x536a92]={'oldValue':_0x23523a,'newValue':_0x5788f0,'start':_0x312850,'length':0x1}):_0x3aa392[_0x536a92]={'oldValue':_0x23523a,'newValue':_0x5788f0,'start':_0x312850,'length':0x1};}}for(const _0x2083c7 in _0x3aa392)_0x2dad38(_0x2083c7);function _0x2dad38(_0x2faed1){const _0x270910=_0x3aa392[_0x2faed1],_0x40a2a3=_0x53abfe['slice']();_0x40a2a3[_0x40a2a3['length']-0x1]+=_0x270910['start'],_0x1b0d67['push']({'type':'attribute','path':_0x40a2a3,'howMany':_0x270910['length'],'key':_0x2faed1,'oldValue':_0x270910['oldValue'],'newValue':_0x270910['newValue']}),delete _0x3aa392[_0x2faed1];}}['_getAttributeChanges'](_0x5da9af,_0x4a5a85){const _0x30344b={};for(const [_0x2896f5,_0x5ab537]of _0x5da9af)_0x30344b[_0x2896f5]={'oldValue':JSON['stringify'](_0x5ab537),'newValue':'null'};for(const [_0x5235c8,_0x2344a9]of _0x4a5a85){const _0x29e78d=JSON['stringify'](_0x2344a9);_0x30344b[_0x5235c8]?_0x30344b[_0x5235c8]['oldValue']==_0x29e78d?delete _0x30344b[_0x5235c8]:_0x30344b[_0x5235c8]['newValue']=_0x29e78d:_0x30344b[_0x5235c8]={'oldValue':'null','newValue':_0x29e78d};}return delete _0x30344b[St],_0x30344b;}['_getAttrsForOffsets'](_0x22ac9b,_0x3b5809,_0x4750ed){const _0x4c7931=new Array(_0x3b5809+_0x4750ed);let _0x1c076d=_0x22ac9b['getChildAtOffset'](_0x3b5809),_0x901b74=_0x1c076d['startOffset'];for(;_0x1c076d&&_0x901b74<_0x3b5809+_0x4750ed;){const _0xab8389=Array['from'](_0x1c076d['getAttributes']());_0x4c7931['fill'](_0xab8389,_0x901b74,_0x901b74+_0x1c076d['offsetSize']),_0x901b74+=_0x1c076d['offsetSize'],_0x1c076d=_0x1c076d['nextSibling'];}return _0x4c7931;}['_getPositionFromAnchorAndPath'](_0x20bd1b,_0x4db09c){const _0x353bac=[..._0x20bd1b['path']['slice'](0x0,-0x1),_0x20bd1b['offset']+_0x4db09c[0x0],..._0x4db09c['slice'](0x1)];return new _0x5563d5(_0x20bd1b['root'],_0x353bac);}['_makeModelFromTokens'](_0xcb92c0){const _0x14f27a=[];let _0x264646=null;for(const _0x17246d of _0xcb92c0)if('element'!=_0x17246d['type']||_0x17246d['isStart']||_0x264646!=_0x17246d['element']){if(!_0x264646){if('text'==_0x17246d['type']){const _0x242a1b=_0x5563d5['_createAt'](_0x17246d['parent'],_0x17246d['offset']),_0x145869=_0x53b480['_createFromPositionAndShift'](_0x242a1b,_0x17246d['data']['length']),_0x2ee5a3=Array['from'](_0x145869['getItems']())['map'](_0x4c0190=>new _0x56f949(_0x4c0190['data'],_0x4c0190['getAttributes']()));_0x14f27a['push'](..._0x2ee5a3);}else{_0x264646=_0x17246d['element'];const _0x1da8af=_0x17246d['element']['_clone'](!0x0);_0x1da8af['_removeAttribute'](St);for(const _0x5839b5 of this['_editor']['model']['createRangeIn'](_0x1da8af)['getItems']())_0x5839b5['is']('element')&&_0x5839b5['_removeAttribute'](St);_0x14f27a['push'](_0x1da8af);}}}else _0x264646=null;return _0x14f27a;}}function g(_0x2f849e,_0xe5b7d){return _0x2f849e['type']===_0xe5b7d['type']&&(_0x2f849e['limitId']===_0xe5b7d['limitId']&&('text'==_0x2f849e['type']?_0x2f849e['data']==_0xe5b7d['data']:function(_0x160b77,_0x38cfb7){if(_0x160b77['isStart']!=_0x38cfb7['isStart'])return!0x1;if(_0x160b77['isStart']&&_0x160b77['elementId']!=_0x38cfb7['elementId'])return!0x1;if(_0x160b77['category']!=_0x38cfb7['category'])return!0x1;if('block'==_0x160b77['category'])return!0x0;if('container'==_0x160b77['category']&&_0x160b77['elementId']!=_0x38cfb7['elementId'])return!0x1;return _0x160b77['element']['name']==_0x38cfb7['element']['name'];}(_0x2f849e,_0xe5b7d)));}function _(_0x23469e){return k({'name':_0x23469e['name'],...Object['fromEntries'](_0x23469e['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,_t as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,It as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,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':_0x2aa04f=>0x1!=_0x2aa04f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e76e2=>{const {af:{dictionary:_0x7b3beb,getPluralForm:_0x2d4b72}}={'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':_0x53055e=>0x1!=_0x53055e}};_0x5e76e2['af']||={'dictionary':{},'getPluralForm':null},_0x5e76e2['af']['dictionary']=Object['assign'](_0x5e76e2['af']['dictionary'],_0x7b3beb),_0x5e76e2['af']['getPluralForm']=_0x2d4b72;})(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':_0xeb5fb5=>0x0==_0xeb5fb5?0x0:0x1==_0xeb5fb5?0x1:0x2==_0xeb5fb5?0x2:_0xeb5fb5%0x64>=0x3&&_0xeb5fb5%0x64<=0xa?0x3:_0xeb5fb5%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7d3307=>{const {ar:{dictionary:_0x20dfb9,getPluralForm:_0x42fe9c}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x343a47=>0x0==_0x343a47?0x0:0x1==_0x343a47?0x1:0x2==_0x343a47?0x2:_0x343a47%0x64>=0x3&&_0x343a47%0x64<=0xa?0x3:_0x343a47%0x64>=0xb?0x4:0x5}};_0x7d3307['ar']||={'dictionary':{},'getPluralForm':null},_0x7d3307['ar']['dictionary']=Object['assign'](_0x7d3307['ar']['dictionary'],_0x20dfb9),_0x7d3307['ar']['getPluralForm']=_0x42fe9c;})(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':_0x25dd50=>0x1!=_0x25dd50}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x214470=>{const {ast:{dictionary:_0x4f1370,getPluralForm:_0x33e03e}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1f4025=>0x1!=_0x1f4025}};_0x214470['ast']||={'dictionary':{},'getPluralForm':null},_0x214470['ast']['dictionary']=Object['assign'](_0x214470['ast']['dictionary'],_0x4f1370),_0x214470['ast']['getPluralForm']=_0x33e03e;})(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':_0x594fb3=>0x1!=_0x594fb3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x386253=>{const {az:{dictionary:_0x2e3603,getPluralForm:_0x3fc95e}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x45807e=>0x1!=_0x45807e}};_0x386253['az']||={'dictionary':{},'getPluralForm':null},_0x386253['az']['dictionary']=Object['assign'](_0x386253['az']['dictionary'],_0x2e3603),_0x386253['az']['getPluralForm']=_0x3fc95e;})(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':_0x5ef9c2=>_0x5ef9c2%0xa==0x1&&_0x5ef9c2%0x64!=0xb?0x0:_0x5ef9c2%0xa>=0x2&&_0x5ef9c2%0xa<=0x4&&(_0x5ef9c2%0x64<0xa||_0x5ef9c2%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4898f3=>{const {be:{dictionary:_0x1cf126,getPluralForm:_0x174747}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x412fe5=>_0x412fe5%0xa==0x1&&_0x412fe5%0x64!=0xb?0x0:_0x412fe5%0xa>=0x2&&_0x412fe5%0xa<=0x4&&(_0x412fe5%0x64<0xa||_0x412fe5%0x64>=0x14)?0x1:0x2}};_0x4898f3['be']||={'dictionary':{},'getPluralForm':null},_0x4898f3['be']['dictionary']=Object['assign'](_0x4898f3['be']['dictionary'],_0x1cf126),_0x4898f3['be']['getPluralForm']=_0x174747;})(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':_0x2f20a1=>0x1!=_0x2f20a1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e650a=>{const {bg:{dictionary:_0x3daf7d,getPluralForm:_0x53d876}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0xea6f11=>0x1!=_0xea6f11}};_0x3e650a['bg']||={'dictionary':{},'getPluralForm':null},_0x3e650a['bg']['dictionary']=Object['assign'](_0x3e650a['bg']['dictionary'],_0x3daf7d),_0x3e650a['bg']['getPluralForm']=_0x53d876;})(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':_0x542cbc=>0x1!=_0x542cbc}};
|