@ckeditor/ckeditor5-collaboration-core 48.3.0-alpha.5 → 48.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/documentcompare.d.ts +17 -1
- 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 +12 -12
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module collaboration-core/documentcompare
|
|
7
7
|
*/
|
|
8
8
|
import { ContextPlugin, Editor } from "@ckeditor/ckeditor5-core";
|
|
9
|
-
import { ModelPosition, type ModelDocumentFragment, type ModelElement, type Operation } from "@ckeditor/ckeditor5-engine";
|
|
9
|
+
import { ModelPosition, type ModelWriter, type ModelDocumentFragment, type ModelElement, type Operation } from "@ckeditor/ckeditor5-engine";
|
|
10
10
|
export declare const DATA_ID_MODEL_ATTRIBUTE = "$elementId";
|
|
11
11
|
export declare const DATA_ID_VIEW_ATTRIBUTE = "data-id";
|
|
12
12
|
/**
|
|
@@ -36,6 +36,22 @@ export declare class DocumentCompare extends ContextPlugin {
|
|
|
36
36
|
* @param operation
|
|
37
37
|
*/
|
|
38
38
|
isMarkedRemoveOperation(operation: Operation): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Applies the given operations (for example, the result of comparing two documents) to the model.
|
|
41
|
+
*
|
|
42
|
+
* Beyond applying the operations, this method reproduces the marker bookkeeping that the editing pipeline normally
|
|
43
|
+
* performs, so that existing markers behave the same as during regular editing:
|
|
44
|
+
*
|
|
45
|
+
* * markers affected by a move or merge are anchored, so they can be restored on undo;
|
|
46
|
+
* * marker operations have their `oldRange` reconciled with the live marker, as operations coming from a comparison
|
|
47
|
+
* have it set to `null`.
|
|
48
|
+
*
|
|
49
|
+
* Must be called inside a model change block; the operations are added to the given `writer`'s batch.
|
|
50
|
+
*
|
|
51
|
+
* @param writer Writer of the change block the operations are applied within.
|
|
52
|
+
* @param operations Operations to apply, in order.
|
|
53
|
+
*/
|
|
54
|
+
applyOperations(writer: ModelWriter, operations: Array<Operation>): void;
|
|
39
55
|
}
|
|
40
56
|
export interface DocumentCompareOptions {
|
|
41
57
|
anchor?: string | ModelPosition;
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x38e230,Editor as _0x3caa64,Plugin as _0x4461b2}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x2e5639,Collection as _0x3efb81,FocusTracker as _0x4648f4,KeystrokeHandler as _0x14f19c,first as _0x5dc1cd,toArray as _0x20a878,uid as _0x78e6c}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x507bae,DropdownButtonView as _0x5ec828,FocusCycler as _0xdd434,IconView as _0x2abee5,View as _0x56c242,isViewWithFocusCycler as _0xb02543}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x19ae1f,IconCheck as _0x2987a1,IconNotification as _0x274c2b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x1adf4a,toWidget as _0x126c79}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x30066b}from'luxon';import{AttributeOperation as _0x38aceb,InsertOperation as _0x1505ff,MarkerOperation as _0x4eae17,MergeOperation as _0x1432bd,ModelPosition as _0x1897d9,ModelRange as _0x1cbf6b,ModelText as _0x16ff98,ModelTreeWalker as _0x5d6d6a,MoveOperation as _0x358d28,RenameOperation as _0x227a7e,SplitOperation as _0x35fe07}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x5109b4}from'diff';var D=class extends _0x38e230{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x13b837,_0x50fd3b){let _0x2596d4;if(_0x50fd3b||(_0x50fd3b=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x50fd3b?_0x2596d4=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2596d4=this['context']['editors']['find'](_0x1506be=>_0x1506be['config']['get']('collaboration.channelId')==_0x50fd3b)),!_0x2596d4)throw new _0x2e5639('permissions-set-permissions-invalid-channel-id',null);const _0x44c803=_0x2596d4['plugins'],_0x4d7020=_0x44c803['has']('CommentsRepository')?_0x44c803['get']('CommentsRepository'):void 0x0,_0x5455f4=_0x44c803['has']('CommentsOnly')&&_0x44c803['get']('CommentsOnly'),_0x100ba5=_0x13b837['includes']('document:write'),_0x463fc2=_0x13b837['includes']('comment:modify_all'),_0x5de44b=_0x13b837['includes']('comment:admin'),_0x52404f=_0x13b837['includes']('comment:write'),_0x413e3d=_0x52404f||_0x5de44b,_0x588608=_0x413e3d||_0x463fc2,_0x13386e=_0x100ba5||_0x413e3d;if(_0x5455f4&&(_0x5455f4['isEnabled']=!_0x100ba5&&_0x588608),_0x2596d4 instanceof _0x3caa64&&(_0x100ba5||_0x588608&&_0x4d7020?_0x2596d4['disableReadOnlyMode']('no-permissions'):_0x2596d4['enableReadOnlyMode']('no-permissions')),_0x4d7020){_0x4d7020['setPermissions']({'admin':_0x5de44b,'modifyAll':_0x463fc2,'write':_0x52404f,'resolve':_0x13386e},_0x50fd3b);const _0x49d763=_0x2596d4 instanceof _0x3caa64&&_0x2596d4['commands']['get']('addCommentThread');_0x49d763&&(_0x413e3d?_0x49d763['clearForceDisabled']('noPermissions'):_0x49d763['forceDisabled']('noPermissions'));}}};function $(_0xfc1d9e,_0x231b94){const t=_0xfc1d9e['t'];switch(_0x231b94){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'';}}var O=class extends _0x38e230{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[D];}constructor(_0x22b351){super(_0x22b351),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x3efb81(),this['_locale']=_0x22b351['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:_0x341974,name:_0x191ccb,..._0xb89132}){if(!_0x341974||'string'!=typeof _0x341974)throw new _0x2e5639('users-add-invalid-id');if(this['users']['has'](_0x341974))throw new _0x2e5639('users-add-duplicated-id',null,{'id':_0x341974});const _0x2e4251=this['context']['config']['get']('users.getInitialsCallback'),_0x252c6c={..._0xb89132,'id':_0x341974,'name':R(this['_locale'],_0x191ccb),'color':this['_getNextColor']()};_0x252c6c['name']=R(this['_locale'],_0x252c6c['name']);const _0x270034=new L(_0x252c6c,_0x2e4251);return this['users']['add'](_0x270034),_0x270034;}['getUser'](_0x3f032e){return this['users']['get'](_0x3f032e);}['useAnonymousUser'](){const _0x66c7ba=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x66c7ba);}['defineMe'](_0x3f184a){if(this['_myId'])throw new _0x2e5639('users-me-already-defined',null);const _0x490cf2=this['getUser'](_0x3f184a);if(!_0x490cf2)throw new _0x2e5639('users-me-missing-user',null);this['_myId']=_0x3f184a,_0x490cf2['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x5871a9=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x5871a9&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1b5fc8=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1b5fc8,'name':$(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x321bce,_0x5329a6){this['id']=_0x321bce['id'],this['color']=_0x321bce['color'],this['name']=_0x321bce['name'],this['initials']=_0x5329a6?_0x5329a6(this['name']):this['_computeInitials'](),this['avatar']=_0x321bce['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0xbca902=this['name']['split']('\x20')['filter'](_0x1e4723=>/^[\p{Letter}]/u['test'](_0x1e4723));return 0x1===_0xbca902['length']?this['_getInitial'](_0xbca902[0x0]):0x0===_0xbca902['length']?this['_getInitial'](this['name']):this['_getInitial'](_0xbca902[0x0])+this['_getInitial'](_0xbca902[_0xbca902['length']-0x1]);}['_getInitial'](_0x3a682d){return String['fromCodePoint'](_0x3a682d['codePointAt'](0x0))['toUpperCase']();}};function R(_0x35a2af,_0x17eb07=''){return''==(_0x17eb07=_0x17eb07['trim']())?$(_0x35a2af,'Anonymous'):_0x17eb07;}var F=class{['_id'];constructor(_0x1cdfbb){this['_id']=_0x1cdfbb;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x56c242{['name'];['notificationView'];constructor(_0x3dbb74,_0x5a4e1f,_0x4a4572,_0x5961ce){super(_0x3dbb74),this['name']=_0x5a4e1f['name'],this['notificationView']=null;const _0x24c774=['ck','ck-user'],_0x382d93=['ck','ck-user__img'];_0x5a4e1f['isAnonymous']&&_0x382d93['push']('ck-user__anonymous'),!_0x5a4e1f['isAnonymous']&&_0x5a4e1f['isMe']&&_0x24c774['push']('ck-user_me'),(_0x5a4e1f['avatar']||_0x5961ce)&&_0x382d93['push']('ck-user__avatar');let _0xb81c67=null;if(_0x5961ce&&(_0xb81c67=new _0x2abee5(),_0xb81c67['content']=_0x5961ce,_0xb81c67['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x4a4572){const _0x4711a7=new _0x2abee5();_0x4711a7['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4711a7['content']=_0x274c2b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4a4572},'children':[_0x4711a7]};}const _0x53233f=[{'tag':'div','attributes':{'class':_0x382d93,'style':{'background-image':_0x5a4e1f['avatar']&&!_0x5961ce?'url(\x27'+_0x5a4e1f['avatar']+'\x27)':''}},'children':_0xb81c67?[_0xb81c67]:[]},{'tag':'div','attributes':{'class':_0x5a4e1f['avatar']||_0x5961ce?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5a4e1f['name']},'children':[{'text':_0x5a4e1f['initials']}]}];this['notificationView']&&_0x53233f['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x24c774,'data-user-id':_0x5a4e1f['id']},'children':_0x53233f});}},U=class extends _0x56c242{['children'];['iconView'];['labelView'];constructor(_0x5e612b){super(_0x5e612b);const _0x4f4bc2=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x4f4bc2['to']('class'),_0x4f4bc2['to']('iconPosition',_0x34e2dd=>'right'===_0x34e2dd?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x4f4bc2['to']('tooltip'),'data-cke-tooltip-position':_0x4f4bc2['to']('tooltipPosition'),'data-cke-tooltip-class':_0x4f4bc2['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x3cd664,_0x3b0167,_0x3666a3,_0x167d08)=>{_0x3666a3&&!_0x167d08?this['children']['add'](this['iconView'],0x0):!_0x3666a3&&_0x167d08&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x3f9f3a=new _0x2abee5();return _0x3f9f3a['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x3f9f3a['bind']('content')['to'](this,'icon'),_0x3f9f3a;}['_createLabelView'](){const _0x471811=new _0x56c242(this['locale']),_0x48a6f1=this['bindTemplate'];return _0x471811['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x48a6f1['to']('label')}]}),_0x471811;}},z=class extends _0x56c242{['id'];constructor(_0x2e5b5b,_0x2654f6){super(_0x2e5b5b),this['id']='ck-aria-description-'+_0x78e6c(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x2654f6}]});}},W=class extends _0x507bae{['render'](){super['render'](),j(this);}},Y=class extends _0x5ec828{['render'](){super['render'](),j(this);}};function j(_0x4849b0){_0x4849b0['listenTo'](_0x4849b0['element'],'mousedown',(_0x3c6f9a,_0x9d067)=>{_0x9d067['stopPropagation'](),_0x9d067['preventDefault']();}),_0x4849b0['listenTo'](_0x4849b0['element'],'mouseup',()=>{_0x4849b0['element']['focus']();});}function J(_0x27db45){const _0x5e2dd3=_0x27db45['split'](':');return{'group':_0x5e2dd3[0x0],'type':_0x5e2dd3[0x1],'subType':_0x5e2dd3['length']>=0x5?_0x5e2dd3[0x2]:null,'id':_0x5e2dd3['length']<0x5?_0x5e2dd3[0x2]:_0x5e2dd3[0x3],'authorId':_0x5e2dd3['length']<0x5?_0x5e2dd3[0x3]:_0x5e2dd3[0x4],'markerCount':0x6==_0x5e2dd3['length']?_0x5e2dd3[0x5]:null};}function G(_0x16d2a2,_0x2f3c9f){const _0x2fb281=_0x16d2a2['end']['nodeBefore'];if(_0x2fb281&&_0x2fb281['is']('element')&&_0x2f3c9f['schema']['isBlock'](_0x2fb281)&&!_0x2f3c9f['schema']['isObject'](_0x2fb281)){const _0x51e922=_0x2f3c9f['createPositionAt'](_0x2fb281,'end');return _0x2f3c9f['createRange'](_0x16d2a2['start'],_0x51e922);}return _0x16d2a2;}var K=class extends _0x4461b2{['afterInit'](){const _0xfd683d=this['editor'];_0xfd683d['plugins']['has']('AlignmentEditing')&&_0xfd683d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x4461b2{['afterInit'](){const _0x5d1052=this['editor'],_0x137718=_0x5d1052['plugins']['get']('SuggestionsConversion');for(const _0x4f8b0c of q){if(!_0x5d1052['plugins']['has'](_0x4f8b0c))continue;const _0x25b08e=_0x4f8b0c['slice'](0x0,-0x7)['toLowerCase']();_0x137718['registerInlineAttribute'](_0x25b08e);}}},Q=class extends _0x4461b2{['afterInit'](){const _0x57755a=this['editor'],_0x5b300d=_0x57755a['plugins']['get']('SuggestionsConversion');_0x57755a['plugins']['has']('BookmarkEditing')&&_0x5b300d['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x4461b2{['afterInit'](){const _0x1e597c=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x2d1835,commandName:_0x59e262}of X)this['editor']['plugins']['has'](_0x2d1835)&&_0x1e597c['registerInlineAttribute'](_0x59e262);}},et=class extends _0x4461b2{['afterInit'](){const {editor:_0x3fd9f3}=this;if(!_0x3fd9f3['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x3c7ef6=_0x3fd9f3['plugins']['get']('SuggestionsConversion');_0x3c7ef6['registerBlockAttribute']('footnotesListStyle'),_0x3c7ef6['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x4461b2{['afterInit'](){const _0x4a05ee=this['editor'];if(!_0x4a05ee['plugins']['has']('GeneralHtmlSupport')||!_0x4a05ee['plugins']['has']('DataSchema'))return;const _0x20e212=_0x4a05ee['plugins']['get']('SuggestionsConversion'),_0x37116d=_0x4a05ee['plugins']['get']('GeneralHtmlSupport'),_0x391cf7=_0x4a05ee['plugins']['get']('DataSchema');for(const _0x1db154 of _0x391cf7['getDefinitionsForView'](/.*/,!0x1)){const _0x3be1e9=_0x37116d['getGhsAttributeNameForElement'](_0x1db154['view']);!_0x1db154['isInline']||_0x1db154['isObject']||'appliesToBlock'in _0x1db154&&_0x1db154['appliesToBlock']?_0x20e212['registerBlockAttribute'](_0x3be1e9):_0x20e212['registerInlineAttribute'](_0x3be1e9);}}},it=class extends _0x4461b2{['afterInit'](){const _0x324aaa=this['editor'];_0x324aaa['plugins']['has']('HighlightEditing')&&_0x324aaa['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x4461b2{['afterInit'](){const _0x76b9bb=this['editor'];_0x76b9bb['plugins']['has']('HtmlEmbed')&&_0x76b9bb['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x4461b2{['afterInit'](){const _0x2ff017=this['editor'];if(!_0x2ff017['plugins']['has']('ImageEditing'))return;const _0x5e0c99=_0x2ff017['plugins']['get']('SuggestionsConversion');_0x5e0c99['registerBlockAttribute']('src'),_0x2ff017['plugins']['has']('ImageResize')&&_0x5e0c99['registerBlockAttribute']('resizedWidth'),_0x2ff017['plugins']['has']('ImageTextAlternativeEditing')&&_0x5e0c99['registerBlockAttribute']('alt'),_0x2ff017['plugins']['has']('PictureEditing')&&_0x5e0c99['registerBlockAttribute']('sources'),_0x2ff017['plugins']['has']('ImageSizeAttributes')&&(_0x5e0c99['registerBlockAttribute']('width'),_0x5e0c99['registerBlockAttribute']('height'));}},rt=class extends _0x4461b2{['afterInit'](){const _0x4dbad8=this['editor'],_0x339112=_0x4dbad8['plugins']['get']('SuggestionsConversion');_0x4dbad8['plugins']['has']('IndentBlock')&&(_0x339112['registerBlockAttribute']('blockIndent'),_0x4dbad8['plugins']['has']('ListEditing')&&(_0x339112['registerBlockAttribute']('blockIndentList'),_0x339112['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x4461b2{['afterInit'](){const _0x30ce4d=this['editor'];_0x30ce4d['plugins']['has']('LineHeight')&&_0x30ce4d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x4461b2{['afterInit'](){const _0x49e1e1=this['editor'];if(!_0x49e1e1['plugins']['has']('LinkEditing'))return;const _0x514e7f=_0x49e1e1['plugins']['get']('SuggestionsConversion'),_0x570889=_0x49e1e1['commands']['get']('link');_0x514e7f['registerInlineAttribute']('linkHref');for(const _0x55df5a of _0x570889['manualDecorators'])_0x514e7f['registerInlineAttribute'](_0x55df5a['id']);}},lt=class extends _0x4461b2{['afterInit'](){const _0x28573c=this['editor'];if(!_0x28573c['plugins']['has']('ListEditing'))return;const _0x223299=_0x28573c['plugins']['get']('SuggestionsConversion'),_0x3cbaca=_0x28573c['plugins']['has']('TodoListEditing');_0x223299['registerBlockAttribute']('listItemId'),_0x223299['registerBlockAttribute']('listType'),_0x223299['registerBlockAttribute']('listIndent'),_0x3cbaca&&_0x223299['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x4461b2{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x494ee4=this['editor']['config']['get']('list.properties'),_0x3e3e6d=this['editor']['plugins']['get']('SuggestionsConversion');_0x494ee4['styles']&&_0x3e3e6d['registerBlockAttribute']('listStyle'),_0x494ee4['reversed']&&_0x3e3e6d['registerBlockAttribute']('listReversed'),_0x494ee4['startIndex']&&_0x3e3e6d['registerBlockAttribute']('listStart');}},ut=class extends _0x4461b2{['afterInit'](){const _0x1fd2d0=this['editor'],_0x50d9d2=_0x1fd2d0['plugins']['get']('SuggestionsConversion');_0x1fd2d0['plugins']['has']('MultiLevelList')&&_0x50d9d2['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x4461b2{['afterInit'](){const _0x44a130=this['editor'];if(!_0x44a130['plugins']['has']('TableEditing'))return;const _0x4cda12=_0x44a130['plugins']['get']('SuggestionsConversion');_0x4cda12['registerBlockAttribute']('headingRows'),_0x4cda12['registerBlockAttribute']('headingColumns');}},gt=class extends _0x4461b2{['afterInit'](){const {plugins:_0xe66f6f}=this['editor'];if(!_0xe66f6f['has']('TablePropertiesEditing'))return;const _0x43975f=_0xe66f6f['get']('SuggestionsConversion');for(const _0x488f4d of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x43975f['registerBlockAttribute'](_0x488f4d);}},ft=class extends _0x4461b2{['afterInit'](){const _0x3658fc=this['editor'],_0x2f023d=_0x3658fc['plugins']['get']('SuggestionsConversion');_0x3658fc['plugins']['has']('TableLayout')&&_0x2f023d['registerBlockAttribute']('tableType');}},mt=class extends _0x4461b2{['afterInit'](){const _0x1ba474=this['editor'],_0x21345e=this['editor']['plugins']['get']('SuggestionsConversion');_0x1ba474['plugins']['has']('Uploadcare')&&_0x1ba474['plugins']['has']('UploadcareImageEdit')&&_0x21345e['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x4461b2{['afterInit'](){const _0x443741=this['editor'];if(!_0x443741['plugins']['has']('ShiftEnter'))return;const _0x233dbe=_0x443741['plugins']['get']('SuggestionsConversion'),_0x23cb05=(_0xc2c372,_0x497b98,_0x44390c,_0x3fb300)=>{if(_0x3fb300&&!_0x44390c['options']['showSuggestionHighlights'])return;if(!_0x44390c['consumable']['test'](_0x497b98['markerRange'],_0xc2c372['name']))return;const _0x582d06=_0x443741['model'];for(const _0x2a8ed7 of _0x497b98['markerRange']['getItems']()){if(!_0x2a8ed7['is']('element','softBreak'))continue;const _0x45d762='deletion'==_0x497b98['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x5a56e5,authorId:_0x16ac46}=J(_0x497b98['markerName']),_0x35a8b9=_0x44390c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x45d762,'data-suggestion':_0x5a56e5,'data-author-id':_0x16ac46}),_0x2cef76=_0x44390c['mapper']['toViewPosition'](_0x582d06['createPositionBefore'](_0x2a8ed7));!_0x3fb300&&_0x233dbe['_activeMarkers']['includes'](_0x497b98['markerName'])&&_0x44390c['writer']['addClass']('ck-suggestion-marker--active',_0x35a8b9),_0x44390c['writer']['insert'](_0x2cef76,_0x35a8b9),_0x44390c['mapper']['bindElementToMarker'](_0x35a8b9,_0x497b98['markerName']);}};_0x443741['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1066d8,_0xcf3257,_0x1081c1)=>{_0x23cb05(_0x1066d8,_0xcf3257,_0x1081c1,!0x1);},{'priority':'high'}),_0x443741['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x307bd7,_0x43eb4e,_0x3ace2f)=>{_0x23cb05(_0x307bd7,_0x43eb4e,_0x3ace2f,!0x1);},{'priority':'high'}),_0x443741['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x33df9c,_0x598a5c,_0x711bb8)=>{_0x23cb05(_0x33df9c,_0x598a5c,_0x711bb8,!0x0);},{'priority':'high'}),_0x443741['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1883ff,_0x118d1d,_0x10b8d0)=>{_0x23cb05(_0x1883ff,_0x118d1d,_0x10b8d0,!0x0);},{'priority':'high'});}},kt=class extends _0x4461b2{['afterInit'](){const _0x15d3d7=this['editor'];if(!_0x15d3d7['plugins']['has']('MediaEmbedEditing'))return;const _0xf9a615=_0x15d3d7['plugins']['get']('SuggestionsConversion');_0x15d3d7['plugins']['has']('MediaEmbedResizeEditing')&&_0xf9a615['registerBlockAttribute']('resizedWidth'),_0x15d3d7['plugins']['has']('MediaEmbedStyleEditing')&&_0xf9a615['registerBlockAttribute']('mediaStyle'),_0x15d3d7['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x20a717,{writer:_0x42d606,options:_0x13f9e9})=>{if(_0x13f9e9['showSuggestionHighlights'])return _0x42d606['createEmptyElement']('div');},'converterPriority':'high'}),_0x15d3d7['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2e3dda,_0x5dfb97,_0x3f0ec2)=>{_0x3f0ec2['options']['showSuggestionHighlights']&&_0x2e3dda['stop']();},{'priority':'high'});}},yt=class extends _0x4461b2{['afterInit'](){const _0x5eb00b=this['editor'];if(!_0x5eb00b['plugins']['has']('Table'))return;_0x5eb00b['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1937fe,_0x3225e6,_0x26b467)=>{((_0xe09136,_0x1d2ab7,_0x2f6b01)=>{if(!_0x2f6b01['options']['showSuggestionHighlights'])return;const _0x43aa47=_0x1d2ab7['item'];if(!_0x43aa47||!_0x43aa47['is']('element','tableCell'))return;const _0x135aaf=_0x2f6b01['mapper']['toViewElement'](_0x43aa47);if(_0x135aaf){const {id:_0x260402,authorId:_0xecc9f2}=J(_0x1d2ab7['markerName']);_0x1adf4a(_0x135aaf,_0x2f6b01['writer'],(_0x47518a,_0x23de38,_0x408cf4)=>{_0x408cf4['addClass'](_0x20a878(_0x23de38['classes']),_0x47518a),_0x408cf4['setAttribute']('data-suggestion',_0x260402,_0x47518a),_0x408cf4['setAttribute']('data-author-id',_0xecc9f2,_0x47518a);});}})(0x0,_0x3225e6,_0x26b467);},{'priority':'highest'});}},bt=class extends _0x4461b2{['afterInit'](){const _0x246973=this['editor'];_0x246973['plugins']['has']('HorizontalLineEditing')&&_0x246973['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x167bea,{writer:_0x24094f,options:_0x25c67e})=>{if(!_0x25c67e['showSuggestionHighlights'])return null;const _0x241c8f=_0x24094f['createContainerElement']('div'),_0x42ab9c=_0x24094f['createEmptyElement']('hr');return _0x24094f['addClass']('ck-horizontal-line',_0x241c8f),_0x24094f['insert'](_0x24094f['createPositionAt'](_0x241c8f,0x0),_0x42ab9c),_0x241c8f;},'converterPriority':'high'});}},wt=class extends _0x4461b2{['afterInit'](){const {plugins:_0x4aa13c,model:_0x5ba4b4}=this['editor'];if(!_0x4aa13c['has']('TableCellPropertiesEditing'))return;const _0xd11c78=_0x4aa13c['get']('SuggestionsConversion');for(const _0x4bc10c of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0xd11c78['registerBlockAttribute'](_0x4bc10c);_0x5ba4b4['schema']['checkAttribute']('tableCell','tableCellType')&&_0xd11c78['registerBlockAttribute']('tableCellType');}},vt=class extends _0x4461b2{['afterInit'](){const _0xae44ff=this['editor'];_0xae44ff['plugins']['has']('TableEditing')&&_0xae44ff['config']['get']('table.enableFooters')&&_0xae44ff['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x4461b2{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f88fe=this['editor'],_0x2b1e88=(_0x8ef253,_0x5e71cc,_0x1dc754)=>{const {id:_0x432982,authorId:_0x39eb65,type:_0x2add03,subType:_0x428741}=J(_0x8ef253['markerName']),_0x53da1d=['ck-suggestion-marker',this['_getClassName'](_0x2add03,_0x428741)];let _0x364785=0xbb8;return _0x1dc754||this['_activeMarkers']['includes'](_0x8ef253['markerName'])&&(_0x53da1d['push']('ck-suggestion-marker--active'),_0x364785=0xbc2),'deletion'==_0x2add03&&(_0x364785+=0x5),{'classes':_0x53da1d,'attributes':{'data-suggestion':_0x432982,'data-author-id':_0x39eb65},'priority':_0x364785};};_0x1f88fe['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2b882d,_0xe6dc0f)=>_0x2b1e88(_0x2b882d,0x0,!0x1)}),_0x1f88fe['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x10468c,_0x4deb40)=>_0x2b1e88(_0x10468c,0x0,!0x0)}),_0x1f88fe['conversion']['for']('dataDowncast')['add'](_0x2f02b8=>{_0x2f02b8['on']('addMarker:suggestion',(_0x45b8af,_0x1e4bbe,_0x310825)=>{if(!_0x310825['options']['showSuggestionHighlights'])return;const _0x1c8964=_0x1e4bbe['item'];if(!_0x1c8964)return;const _0x4df439=_0x310825['mapper']['toViewElement'](_0x1c8964);_0x1f88fe['model']['schema']['isObject'](_0x1c8964)&&_0x4df439&&!_0x4df439['getCustomProperty']('widget')&&_0x4df439['is']('containerElement')&&_0x126c79(_0x4df439,_0x310825['writer']);},{'priority':'high'});});const _0x494d07=(_0x5a967c,_0x4bffe5,_0x4f82f8,_0x49f512,_0x534495)=>{if(_0x49f512&&!_0x4f82f8['options']['showSuggestionHighlights'])return;if(!_0x4bffe5['item'])return;const {id:_0x2e0962,authorId:_0x33e19b,subType:_0x14eb5f}=J(_0x4bffe5['markerName']);if(_0x534495){const _0x1565b8=_0x14eb5f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1565b8))return;}if(_0x4bffe5['item']['is']('selection'))return void _0x4f82f8['consumable']['consume'](_0x4bffe5['item'],_0x5a967c['name']);const _0x221584=_0x4f82f8['mapper']['toViewElement'](_0x4bffe5['item']);if(_0x4bffe5['item']['is']('element')&&_0x1f88fe['model']['schema']['isBlock'](_0x4bffe5['item'])&&!_0x221584['getCustomProperty']('addHighlight')){_0x4f82f8['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x221584),_0x4f82f8['writer']['setAttribute']('data-suggestion',_0x2e0962,_0x221584),_0x4f82f8['writer']['setAttribute']('data-author-id',_0x33e19b,_0x221584),_0x4f82f8['mapper']['bindElementToMarker'](_0x221584,_0x4bffe5['markerName']),_0x49f512||(this['_activeMarkers']['includes'](_0x4bffe5['markerName'])?_0x4f82f8['writer']['addClass']('ck-suggestion-marker--active',_0x221584):_0x4f82f8['writer']['removeClass']('ck-suggestion-marker--active',_0x221584));for(const _0x1a23a8 of _0x1f88fe['model']['createRangeIn'](_0x4bffe5['item'])['getItems']())_0x4f82f8['consumable']['consume'](_0x1a23a8,_0x5a967c['name']);_0x4f82f8['consumable']['consume'](_0x4bffe5['item'],_0x5a967c['name']);}},_0xcfe047=(_0x5df5dd,_0x5d9ae9,_0x162f46,_0x591016)=>{const _0x4473fc=_0x162f46['mapper']['markerNameToElements'](_0x5d9ae9['markerName']);if(_0x4473fc){if(_0x591016){const {subType:_0x379bbc}=J(_0x5d9ae9['markerName']),_0x129adb=_0x379bbc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x129adb))return;}for(const _0x2ff3a0 of _0x4473fc)_0x2ff3a0['getCustomProperty']('addHighlight')||(_0x162f46['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x2ff3a0),_0x162f46['writer']['removeAttribute']('data-suggestion',_0x2ff3a0),_0x162f46['writer']['removeAttribute']('data-author-id',_0x2ff3a0),_0x162f46['mapper']['unbindElementFromMarkerName'](_0x2ff3a0,_0x5d9ae9['markerName']));}};_0x1f88fe['conversion']['for']('editingDowncast')['add'](_0x53bfea=>{_0x53bfea['on']('addMarker:suggestion:formatBlock',(_0x10f199,_0x60cc67,_0x4a04c6)=>{_0x494d07(_0x10f199,_0x60cc67,_0x4a04c6,!0x1,!0x1);},{'priority':'high'});}),_0x1f88fe['conversion']['for']('editingDowncast')['add'](_0x1843ce=>{_0x1843ce['on']('addMarker:suggestion:attribute',(_0x56c222,_0x46fec7,_0x1bd1ff)=>{_0x494d07(_0x56c222,_0x46fec7,_0x1bd1ff,!0x1,!0x0);},{'priority':'high'});}),_0x1f88fe['conversion']['for']('editingDowncast')['add'](_0x1d76ab=>{_0x1d76ab['on']('removeMarker:suggestion:formatBlock',(_0x77baa8,_0x316f4a,_0x3296b6)=>{_0xcfe047(0x0,_0x316f4a,_0x3296b6,!0x1);},{'priority':'high'});}),_0x1f88fe['conversion']['for']('editingDowncast')['add'](_0x20ec78=>{_0x20ec78['on']('removeMarker:suggestion:attribute',(_0x31c953,_0x1d374f,_0x38e020)=>{_0xcfe047(0x0,_0x1d374f,_0x38e020,!0x0);},{'priority':'high'});}),_0x1f88fe['conversion']['for']('dataDowncast')['add'](_0x4a1ffa=>{_0x4a1ffa['on']('addMarker:suggestion:formatBlock',(_0x2dcfa6,_0x5233b6,_0x2a2844)=>{_0x494d07(_0x2dcfa6,_0x5233b6,_0x2a2844,!0x0,!0x1);},{'priority':'highest'});}),_0x1f88fe['conversion']['for']('dataDowncast')['add'](_0x461a69=>{_0x461a69['on']('addMarker:suggestion:attribute',(_0x1b9d91,_0x39ef02,_0xb7fa18)=>{_0x494d07(_0x1b9d91,_0x39ef02,_0xb7fa18,!0x0,!0x0);},{'priority':'highest'});}),_0x1f88fe['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x5ddbf6,_0x390420)=>_0x390420['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x5ddbf6['substr'](0xb)}});const _0x2fffa2=(_0x2f50bb,_0x253e96,_0x21425d,_0x4d930a,_0x58d0af)=>{if(_0x4d930a&&!_0x21425d['options']['showSuggestionHighlights'])return;if(!_0x21425d['consumable']['test'](_0x253e96['markerRange'],_0x2f50bb['name']))return;const _0x15175a=this['_activeMarkers'],_0x24b440=_0x253e96['markerRange']['getWalker'](),_0x318190=_0x253e96['markerRange']['start'],_0x3d2803=_0x1f88fe['model']['schema'];let _0x505356=null,_0x84e1a9=null,_0x4dd468=!0x1,_0x561d3d=!0x1;for(const _0x4094b7 of _0x24b440){const _0x19bd22=_0x4094b7['item'];_0x4dd468=_0x4dd468||_0x3d2803['isContent'](_0x19bd22);const _0x46695d=_0x21425d['mapper']['toViewElement'](_0x19bd22);if(_0x46695d&&_0x46695d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4094b7['type']&&(_0x3d2803['isBlock'](_0x19bd22)&&!_0x3d2803['isLimit'](_0x19bd22)&&(_0x19bd22['nextSibling']||_0x318190['isAtEnd']?_0x505356&&_0x505356['parent']==_0x19bd22||(_0x505356=_0x19bd22,_0x682d05(_0x4094b7['previousPosition']),_0x561d3d=!0x0):_0x84e1a9=_0x84e1a9||_0x4094b7['previousPosition']));}function _0x682d05(_0x588fca){const {id:_0x51cabf,authorId:_0x509248}=J(_0x253e96['markerName']),_0x4c816f=_0x21425d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x58d0af,'data-suggestion':_0x51cabf,'data-author-id':_0x509248}),_0xc31e09=_0x21425d['mapper']['toViewPosition'](_0x588fca);!_0x4d930a&&_0x15175a['includes'](_0x253e96['markerName'])&&_0x21425d['writer']['addClass']('ck-suggestion-marker--active',_0x4c816f),_0x21425d['writer']['insert'](_0xc31e09,_0x4c816f),_0x21425d['mapper']['bindElementToMarker'](_0x4c816f,_0x253e96['markerName']);}_0x4dd468||_0x561d3d||!_0x84e1a9||_0x682d05(_0x84e1a9);};_0x1f88fe['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5688f2,_0xa3bb34,_0x19e803)=>{_0x2fffa2(_0x5688f2,_0xa3bb34,_0x19e803,!0x1,'merge');},{'priority':'high'}),_0x1f88fe['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x367816,_0x1d4a90,_0x3b57f5)=>{_0x2fffa2(_0x367816,_0x1d4a90,_0x3b57f5,!0x0,'merge');},{'priority':'high'}),_0x1f88fe['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4a661c,_0x10f63c,_0x13044e)=>{_0x2fffa2(_0x4a661c,_0x10f63c,_0x13044e,!0x1,'split');},{'priority':'high'}),_0x1f88fe['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4e3132,_0x56cbc7,_0x1edc42)=>{_0x2fffa2(_0x4e3132,_0x56cbc7,_0x1edc42,!0x0,'split');},{'priority':'high'}),_0x1f88fe['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x25c6af,_0x3a75a1,_0x319157)=>{((_0xe859f5,_0x3e46c9,_0x5054ff)=>{const _0x1bdd40=_0x5054ff['mapper']['markerNameToElements'](_0x3e46c9['markerName']);if(_0x1bdd40){for(const _0x1b07a7 of _0x1bdd40)(_0x1b07a7['hasClass']('ck-suggestion-marker-split')||_0x1b07a7['hasClass']('ck-suggestion-marker-merge'))&&(_0x5054ff['mapper']['unbindElementFromMarkerName'](_0x1b07a7,_0x3e46c9['markerName']),_0x5054ff['writer']['remove'](_0x1b07a7));}})(0x0,_0x3a75a1,_0x319157);},{'priority':'high'});const _0xbe259e=(_0x46794d,_0x2f38cb,_0x5e2239,_0x7788f5)=>{if(_0x7788f5&&!_0x5e2239['options']['showSuggestionHighlights'])return;const _0x3a6071=_0x2f38cb['markerRange']['start'],_0x45bff9=_0x2f38cb['markerRange']['end'],_0xe35526=_0x1f88fe['model']['schema'];if(!_0x3a6071['isTouching'](_0x45bff9)||!_0x3a6071['nodeAfter'])return;const _0x4f1916=_0x3a6071['nodeAfter'];if(_0xe35526['isBlock'](_0x4f1916)&&!_0xe35526['isLimit'](_0x4f1916)&&_0xe35526['checkChild'](_0x4f1916,'$text')){if(!_0x5e2239['consumable']['consume'](_0x2f38cb['markerRange'],_0x46794d['name']))return;const {id:_0x384ef3,authorId:_0x390699}=J(_0x2f38cb['markerName']),_0x286aeb=_0x5e2239['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x384ef3,'data-author-id':_0x390699}),_0x2403e5=_0x5e2239['mapper']['toViewPosition'](_0x45bff9);!_0x7788f5&&this['_activeMarkers']['includes'](_0x2f38cb['markerName'])&&_0x5e2239['writer']['addClass']('ck-suggestion-marker--active',_0x286aeb),_0x5e2239['writer']['insert'](_0x2403e5,_0x286aeb),_0x5e2239['mapper']['bindElementToMarker'](_0x286aeb,_0x2f38cb['markerName']);}};_0x1f88fe['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x20d9e2,_0x4a0ced,_0x374d2b)=>{_0xbe259e(_0x20d9e2,_0x4a0ced,_0x374d2b,!0x1);},{'priority':'high'}),_0x1f88fe['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x195f13,_0x1fba9a,_0x57c7fe)=>{_0xbe259e(_0x195f13,_0x1fba9a,_0x57c7fe,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x5b1b97,_0x383c8e,_0x3e8c41)=>{this['_activeMarkers']=_0x3e8c41['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x5aeb7e){this['_blockAttributeKeys']['add'](_0x5aeb7e);}['registerInlineAttribute'](_0x3b8528){this['_inlineAttributeKeys']['add'](_0x3b8528);}['isBlockAttribute'](_0x27bc34){return this['_blockAttributeKeys']['has'](_0x27bc34);}['isInlineAttribute'](_0x1ffa4a){return this['_inlineAttributeKeys']['has'](_0x1ffa4a);}['isRegisteredAttribute'](_0x3cfd9d){return this['isInlineAttribute'](_0x3cfd9d)||this['isBlockAttribute'](_0x3cfd9d);}['_getClassName'](_0x3b8a11,_0x268610){if('attribute'!=_0x3b8a11)return'ck-suggestion-marker-'+_0x3b8a11;const _0x431eee=_0x268610['split']('|')[0x0];return this['isBlockAttribute'](_0x431eee)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x174365={},_0x573588){if(void 0x0!==_0x174365['dateTimeFormat']&&'function'!=typeof _0x174365['dateTimeFormat'])throw new _0x2e5639('invalid-date-time-format');return _0x49c487=>{const _0xe56cd1='string'==typeof _0x49c487?_0x30066b['fromISO'](_0x49c487):_0x30066b['fromJSDate'](_0x49c487),_0x1113b4=_0x30066b['now'](),_0x52ff70=Math['floor'](_0x1113b4['diff'](_0xe56cd1,'days')['days']);return _0x174365['dateTimeFormat']?_0x174365['dateTimeFormat'](_0xe56cd1['toJSDate'](),_0x573588&&_0x573588['t']?_0x573588['t']:void 0x0):0x0===_0x52ff70?_0x573588?$(_0x573588,'Today')+'\x20'+_0xe56cd1['toFormat']('hh:mma'):_0xe56cd1['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x52ff70?_0x573588?$(_0x573588,'Yesterday')+'\x20'+_0xe56cd1['toFormat']('hh:mma'):_0xe56cd1['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x52ff70<0x7?_0x573588?$(_0x573588,'Last')+'\x20'+$(_0x573588,_0xe56cd1['toFormat']('EEEE'))+'\x20'+_0xe56cd1['toFormat']('hh:mma'):_0xe56cd1['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0xe56cd1['toFormat']('LL-dd-yyyy\x20hh:mma');};}function It(_0x41059d,_0x397f9d){const _0x69f591=_0x41059d['mapper']['markerNameToElements'](_0x397f9d['name']);if(!_0x69f591)return null;const _0xe0cef=_0x5dc1cd(_0x69f591['values']());return _0x41059d['view']['domConverter']['mapViewToDom'](_0xe0cef)||null;}function xt(_0x27a417,_0xc6b35e){if(0x0===_0xc6b35e['length'])return null;const _0x54d0ea=[],_0x95839a=_0x27a417['view']['domConverter'];for(const _0x916812 of _0xc6b35e){const _0x5ce9b6=_0x27a417['mapper']['markerNameToElements'](_0x916812['name']);if(!_0x5ce9b6)continue;const _0x15480a=Array['from'](_0x5ce9b6)['map'](_0x375a9c=>_0x95839a['mapViewToDom'](_0x375a9c))['filter'](_0x4439da=>!!_0x4439da);_0x54d0ea['push'](..._0x15480a);}if(0x0===_0x54d0ea['length'])return null;const _0x32f374=[];for(const _0x582fef of _0x54d0ea){const _0x472473=_0x582fef['getClientRects']()['item'](0x0);_0x472473&&_0x32f374['push']({'x':_0x472473['x'],'y':_0x472473['y'],'domElement':_0x582fef});}return 0x0===_0x32f374['length']?null:(_0x32f374['sort']((_0x36e482,_0x4cf0aa)=>_0x36e482['y']-_0x4cf0aa['y']||_0x36e482['x']-_0x4cf0aa['x']),_0x32f374['map'](_0x2144b5=>_0x2144b5['domElement']));}function St(_0x42521d,{limit:_0x28bfb1,suffix:_0x12b293='...'}){const _0x349be9=[];let _0x4a44d3=0x0;const _0x46d6d9=_0x42521d['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x13cabf=0x0;_0x13cabf<_0x46d6d9['length'];_0x13cabf++){let _0x1adb3b=_0x46d6d9[_0x13cabf];const _0xb8b9e5=Et(_0x1adb3b);if(_0x1adb3b['startsWith']('<')){if(_0x4a44d3>=_0x28bfb1){const _0x5d8cb1=_0x1adb3b['match'](/[a-zA-Z]+/);if(!_0x5d8cb1){_0x46d6d9[_0x13cabf]='';continue;}const _0x5d1c14=_0x5d8cb1[0x0];_0x1adb3b['startsWith']('</')?(_0x349be9['length']&&(_0x1adb3b=''),_0x349be9['pop']()):(_0x349be9['push'](_0x5d1c14),_0x1adb3b='');}}else{if(_0x4a44d3>=_0x28bfb1)_0x1adb3b='';else{if(_0x4a44d3+_0xb8b9e5['length']>=_0x28bfb1){let _0x2230ad=_0x28bfb1-_0x4a44d3;if('\x20'===_0xb8b9e5[_0x2230ad-0x1])_0x2230ad--;else{const _0x7702fa=_0xb8b9e5['slice'](_0x2230ad)['indexOf']('\x20');-0x1!==_0x7702fa?_0x2230ad+=_0x7702fa:_0x2230ad=_0x1adb3b['length'];}_0x1adb3b=_0xb8b9e5['slice'](0x0,_0x2230ad)['join']('')+_0x12b293,_0x4a44d3=_0x28bfb1;}else _0x4a44d3+=_0xb8b9e5['length'];}}_0x46d6d9[_0x13cabf]=_0x1adb3b;}return _0x46d6d9['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x1acb94){const _0x59e9c4=[];for(let _0x1c0683=0x0;_0x1c0683<_0x1acb94['length'];_0x1c0683++){const _0x4cd80e=_0x1acb94['substring'](_0x1c0683)['match'](/^&[a-z0-9#]+;/);if(_0x4cd80e){const _0x34ccc2=_0x4cd80e[0x0];_0x59e9c4['push'](_0x34ccc2),_0x1c0683+=_0x34ccc2['length']-0x1;}else _0x59e9c4['push'](_0x1acb94[_0x1c0683]);}return _0x59e9c4;}var Mt=class extends _0x56c242{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x24a7f5){super(_0x24a7f5);const _0x2bf158=this['bindTemplate'];this['set']('message',$(_0x24a7f5,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x24a7f5,$(_0x24a7f5,'Yes'),_0x2987a1,'submit'),this['cancelView']=this['_createButtonView'](_0x24a7f5,$(_0x24a7f5,'No'),_0x19ae1f,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x4648f4(),this['keystrokes']=new _0x14f19c(),this['focusCycler']=new _0xdd434({'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':_0x2bf158['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'](_0x10d625,_0x459c43,_0x48c8e2,_0x50d95e){const _0xf1f1d4=new _0x507bae(_0x10d625);return _0xf1f1d4['label']=_0x459c43,_0xf1f1d4['icon']=_0x48c8e2,_0xf1f1d4['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x50d95e}}),_0xf1f1d4['on']('execute',()=>this['fire'](_0x50d95e)),_0xf1f1d4;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x42551a=>{this['keystrokes']['listenTo'](_0x42551a['element']),this['focusTracker']['add'](_0x42551a['element']);}),this['keystrokes']['set']('esc',(_0x3ff8a6,_0x52357f)=>{this['fire']('cancel'),_0x52357f();});}};function At(_0x53a5c8){return class _0x3b96ca extends _0x53a5c8{['showConfirm'](_0x5d0d6a,_0x6eb3c4){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x5d0d6a,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x6eb3c4['appendChild'](this['confirmView']['element']),_0x6eb3c4['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x33c4ce,_0x4d1bd1,_0x1ccf3c)=>{_0x1ccf3c||_0x6eb3c4['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x528a37=>this['confirmView']['on']('submit',_0x528a37));}['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 Tt(_0x482f8e){let _0x1e8eef=0x0,_0x5a94da=0x0;for(const _0x552ddd of Nt(_0x482f8e))_0x1e8eef=(_0x1e8eef<<0x5)-_0x1e8eef+_0x552ddd,_0x1e8eef&=_0x1e8eef,[_0x1e8eef,_0x5a94da]=[_0x5a94da,_0x1e8eef];return Dt(_0x1e8eef)+Dt(_0x5a94da);}function*Pt(_0x59ccbd){null==_0x59ccbd||null==_0x59ccbd?yield 0x12b9b0a1:0x0===_0x59ccbd||!0x1===_0x59ccbd?yield 0x0:0x1===_0x59ccbd||0x1==_0x59ccbd?yield 0x1:Array['isArray'](_0x59ccbd)?yield*function*(_0xda2cb6){for(const _0x25c70b of _0xda2cb6)yield*Pt(_0x25c70b);}(_0x59ccbd):'object'==typeof _0x59ccbd?yield*Nt(_0x59ccbd):'string'==typeof _0x59ccbd?yield*Vt(_0x59ccbd):'number'==typeof _0x59ccbd&&(yield _0x59ccbd);}function*Nt(_0x363108){if(yield Bt('{'),_0x363108){const _0x59702b=Object['keys'](_0x363108)['sort']();for(const _0xe38999 of _0x59702b){yield*Vt(_0xe38999),yield Bt(':');const _0x258248=_0x363108[_0xe38999];yield*Pt(_0x258248);}}yield Bt('}');}function*Vt(_0xaf71b9){yield Bt('\x22');for(const _0x272927 of _0xaf71b9)yield Bt(_0x272927);yield Bt('\x22');}function Bt(_0x4087d0){return _0x4087d0['charCodeAt'](0x0);}function Dt(_0x1050ad){return(_0x1050ad*=Math['sign'](_0x1050ad))['toString'](0x24);}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Ot=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x4a324e,_0x51f078,_0x2af3ab,_0x369ced=[]){const _0x12848f='string'==typeof _0x4a324e?_0x2af3ab['get'](_0x4a324e)['constructor']:_0x4a324e['prototype']['constructor'];if(_0x51f078['has'](_0x12848f))return _0x51f078['get'](_0x12848f);_0x51f078['set'](_0x12848f,!0x0);const _0x4ca318=[...Ot,..._0x369ced]['map'](_0x26e7e2=>{if(_0x2af3ab['has'](_0x26e7e2))return _0x2af3ab['get'](_0x26e7e2)['constructor'];})['filter'](_0x1023c2=>_0x1023c2);if(_0x12848f&&_0x4ca318['includes'](_0x12848f))return _0x51f078['set'](_0x12848f,!0x1),!0x1;if(!_0x12848f['requires'])return _0x51f078['set'](_0x12848f,!0x0),!0x0;const _0x43d986=_0x12848f['requires']['every'](_0x3d2a3d=>Lt(_0x3d2a3d,_0x51f078,_0x2af3ab,_0x369ced));return _0x51f078['set'](_0x12848f,_0x43d986),_0x43d986;}function Rt(_0x11c650,_0x3e1a9f){const _0x5068e6={};for(const _0x58ca71 of _0x11c650['config']['names']())$t['includes'](_0x58ca71)||(_0x5068e6[_0x58ca71]=_0x11c650['config']['get'](_0x58ca71));const _0x437b83=_0x5068e6['plugins']||[],_0x5bb3ed=_0x11c650['constructor']['builtinPlugins']||[],_0x26c8bc=_0x437b83['length']?_0x437b83:_0x5bb3ed,_0x267cbf=_0x5068e6['extraPlugins']||[];delete _0x5068e6['extraPlugins'];const _0x1b28c9=_0x5068e6['removePlugins']||[];delete _0x5068e6['removePlugins'];const _0x542e99=_0x11c650['_context']['config']['get']('plugins')||[],_0x4d7544=_0x26c8bc['concat'](_0x267cbf)['concat'](_0x542e99)['map'](_0x47313a=>'string'==typeof _0x47313a?_0x5bb3ed['find'](_0x8ba89b=>_0x8ba89b['pluginName']==_0x47313a):_0x47313a)['filter'](_0xd0936e=>!_0x1b28c9['includes'](_0xd0936e)&&!_0x1b28c9['includes'](_0xd0936e['pluginName'])),_0x786cc6=Array['from'](new Set(_0x4d7544)),_0x4e19b3=new Map();return _0x5068e6['plugins']=_0x786cc6['filter'](_0x1b4094=>Lt(_0x1b4094,_0x4e19b3,_0x11c650['plugins'],_0x3e1a9f)),_0x5068e6;}function Ft(_0x1d78ce,_0x1ba87e){const _0x241e55=[];_0x1d78ce['document']['selection']['on']('change:range',()=>{const _0x3d80be=function(_0x5e7dfd,_0x2522b9){const _0x1d70e5=[];for(const _0x3eaf6c of _0x5e7dfd['markers']){const _0x37cdef=_0x3eaf6c['getRange']();(_0x37cdef['containsPosition'](_0x2522b9)||_0x37cdef['start']['isEqual'](_0x2522b9)||_0x37cdef['end']['isEqual'](_0x2522b9))&&_0x1d70e5['push'](_0x3eaf6c);}return _0x1d70e5;}(_0x1d78ce,_0x1d78ce['document']['selection']['focus']),_0x612e26=[],_0x4130c1=[],_0x435525=[];for(const _0x810c25 of _0x241e55)_0x3d80be['includes'](_0x810c25)||_0x612e26['push'](_0x810c25);for(const _0xcb03ab of _0x3d80be)_0x241e55['includes'](_0xcb03ab)||_0x4130c1['push'](_0xcb03ab),_0x435525['push'](_0xcb03ab);(_0x612e26['length']||_0x4130c1['length'])&&_0x1ba87e({'left':_0x612e26,'entered':_0x4130c1}),_0x241e55['length']=0x0,_0x241e55['push'](..._0x435525);});}const Ht='Ctrl+Shift+E';function Ut(_0x5bec34,_0x16b56b){const _0x386eb0=_0x5bec34['element'];_0x5bec34['keystrokes']['listenTo'](_0x386eb0);for(const _0x2d7240 of _0x16b56b)zt(_0x5bec34,_0x2d7240);_0x16b56b['on']('change',(_0xd71a8f,_0x4bd57e)=>{for(const _0x12c440 of _0x4bd57e['removed'])Wt(_0x5bec34,_0x12c440);for(const _0x3d3852 of Array['from'](_0x4bd57e['added'])['reverse']())zt(_0x5bec34,_0x3d3852);}),_0x5bec34['keystrokes']['set']('enter',(_0x54f5f7,_0x4e3ad6)=>{_0x386eb0===_0x54f5f7['target']&&(_0x5bec34['focusCycler']['focusFirst'](),_0x4e3ad6());},{'filter':_0x2fe04f=>_0x2fe04f['target']===_0x386eb0}),_0x5bec34['keystrokes']['set']('esc',(_0x3b172d,_0x3ecf4e)=>{_0x386eb0!==_0x3b172d['target']?_0x5bec34['focus']():_0x5bec34['fire']('escape'),_0x3ecf4e();}),_0x5bec34['keystrokes']['set']('arrowdown',(_0x3e5423,_0x462dd0)=>{_0x386eb0===_0x3e5423['target']&&(_0x5bec34['fire']('arrowdown'),_0x462dd0());}),_0x5bec34['keystrokes']['set']('arrowup',(_0x2c9266,_0x10f582)=>{_0x386eb0===_0x2c9266['target']&&(_0x5bec34['fire']('arrowup'),_0x10f582());});}function zt(_0x2c4b4d,_0x53fc47){_0x53fc47['isRendered']&&(_0x2c4b4d['focusTracker']['add'](_0x53fc47['element']),_0x2c4b4d['keystrokes']['listenTo'](_0x53fc47['element']),_0xb02543(_0x53fc47)&&function(_0x509d2b,_0x387208){const _0x2f2ca7=_0x509d2b['actions'],_0x2aa6bf=_0x387208['actions'];for(const _0x443935 of Object['keys'](_0x2f2ca7))if(_0x443935 in _0x2aa6bf&&_0x2f2ca7[_0x443935]!==_0x2aa6bf[_0x443935])return!0x1;return!0x0;}(_0x2c4b4d['focusCycler'],_0x53fc47['focusCycler'])&&_0x2c4b4d['focusCycler']['chain'](_0x53fc47['focusCycler']));}function Wt(_0x171719,_0x23405e){_0x171719['focusTracker']['remove'](_0x23405e['element']),_0x171719['keystrokes']['stopListening'](_0x23405e['element']),_0xb02543(_0x23405e)&&_0x171719['focusCycler']['unchain'](_0x23405e['focusCycler']);}const Yt='$elementId',jt='data-id';var Jt=class extends _0x38e230{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x3caa64?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1cf357,_0x13e835)=>{_0x13e835['on']('ready',()=>{this['_integrateEditor'](_0x13e835);});});}get['editor'](){if(this['context']instanceof _0x3caa64)return this['context'];{const _0x30b055=this['context']['editors']['first'];if(!_0x30b055)throw new _0x2e5639('documentcompare-no-editor',this);return _0x30b055;}}['getDiff'](_0x40b24c,_0x3e718d,_0x2dfaee={'anchor':'main','markDeletions':!0x1}){const _0x560a03=_0x2dfaee['targetEditor']||this['editor'],_0x5793bf=_0x2dfaee['anchor']??'main';let _0x20575d,_0x191dea;if('string'==typeof _0x5793bf){const _0x5913a5=_0x560a03['model']['document']['getRoot'](_0x5793bf);if(!_0x5913a5)throw new _0x2e5639('documentcompare-compare-no-root',this,{'anchor':_0x5793bf});_0x20575d=_0x5913a5,_0x191dea=_0x560a03['model']['createPositionAt'](_0x5913a5,0x0);}else _0x20575d=_0x5793bf['clone'](),_0x191dea=_0x5793bf['clone']();return new Gt({'editor':_0x560a03,'before':_0x560a03['data']['parse'](_0x40b24c,_0x20575d),'after':_0x560a03['data']['parse'](_0x3e718d,_0x20575d),'options':{'anchor':_0x191dea,'markDeletions':_0x2dfaee['markDeletions']}});}['isMarkedRemoveOperation'](_0x5c0cce){return'marker'==_0x5c0cce['type']&&_0x5c0cce['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x2e8c00){_0x2e8c00['conversion']['for']('upcast')['add'](_0x41e8f3=>{_0x41e8f3['on']('element',(_0x3e8d07,_0x5d4bf0,_0x67d973)=>{if(_0x5d4bf0['modelRange']&&_0x67d973['consumable']['consume'](_0x5d4bf0['viewItem'],{'attributes':'data-id'}))for(const _0x52c418 of _0x5d4bf0['modelRange']['getItems']({'shallow':!0x0})){if(_0x52c418['is']('$textProxy'))continue;const _0x3d1ea9=_0x5d4bf0['viewItem']['getAttribute'](jt);_0x3d1ea9&&_0x67d973['writer']['setAttribute'](Yt,_0x3d1ea9,_0x52c418);}},{'priority':'low'});}),_0x2e8c00['model']['schema']['addAttributeCheck'](()=>!0x0,Yt);}},Gt=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x1a5e40,before:_0x168af5,after:_0x57c81d,options:_0x34d60c}){this['_editor']=_0x1a5e40,this['_markDeletions']=!!_0x34d60c['markDeletions'],this['_anchor']=_0x34d60c['anchor'];const _0x150981=this['_tokenizeModel'](_0x168af5),_0x40819=this['_tokenizeModel'](_0x57c81d);this['_diffItems']=this['_diffModelTokens'](_0x150981,_0x40819),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x168af5['markers'],_0x57c81d['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x2b4e21=this['_editor']['model']['document'],_0x20a86b=[];let _0x542d16=_0x2b4e21['version'];for(const _0x3ffde1 of this['_operationsData'])switch(_0x3ffde1['type']){case'attribute':{const _0x4d18c0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['path']),_0x1186c5=new _0x1cbf6b(_0x4d18c0,_0x4d18c0['getShiftedBy'](_0x3ffde1['howMany'])),_0x1995ed=JSON['parse'](_0x3ffde1['oldValue']),_0x496425=JSON['parse'](_0x3ffde1['newValue']);_0x20a86b['push'](new _0x38aceb(_0x1186c5,_0x3ffde1['key'],_0x1995ed,_0x496425,_0x542d16++));break;}case'insert':{const _0x3bb7b8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['path']),_0x4edfd4=this['_makeModelFromTokens'](_0x3ffde1['tokens']);_0x20a86b['push'](new _0x1505ff(_0x3bb7b8,_0x4edfd4,_0x542d16++));break;}case'remove':{const _0x3609ba=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['path']),_0x59ea78=new _0x1897d9(_0x2b4e21['graveyard'],[0x0]);_0x20a86b['push'](new _0x358d28(_0x3609ba,_0x3ffde1['howMany'],_0x59ea78,_0x542d16++));break;}case'rename':{const _0x235ee4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['path']);_0x20a86b['push'](new _0x227a7e(_0x235ee4,_0x3ffde1['oldName'],_0x3ffde1['newName'],_0x542d16++));break;}case'split':{const _0x2bfdb7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['path']),_0xbb950b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['path']['slice'](0x0,-0x1));_0xbb950b['offset']++,_0x20a86b['push'](new _0x35fe07(_0x2bfdb7,Number['NEGATIVE_INFINITY'],_0xbb950b,null,_0x542d16++));break;}case'merge':{const _0x3f032d=_0x3ffde1['path']['slice'](),_0xbbe3fd=_0x3f032d['slice'](0x0,-0x1);_0xbbe3fd[_0xbbe3fd['length']-0x1]++,_0xbbe3fd['push'](0x0);const _0x33e4df=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xbbe3fd),_0x78e540=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3f032d),_0x47404c=new _0x1897d9(_0x2b4e21['graveyard'],[0x0]);_0x20a86b['push'](new _0x1432bd(_0x33e4df,Number['NEGATIVE_INFINITY'],_0x78e540,_0x47404c,_0x542d16++));break;}case'marker':case'markedRemove':{let _0x3ae193=null;_0x3ffde1['range']&&(_0x3ae193=new _0x1cbf6b(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['range']['end'])));const _0x5ad398='marker'==_0x3ffde1['type']?_0x3ffde1['name']:'$markedRemove:'+_0x78e6c();_0x20a86b['push'](new _0x4eae17(_0x5ad398,null,_0x3ae193,_0x2b4e21['model']['markers'],!0x0,_0x542d16++));break;}case'unwrap':{const _0x13de9d=_0x3ffde1['path']['slice']();_0x13de9d['push'](0x0);const _0x4f0321=_0x3ffde1['path']['slice'](),_0x26105f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x13de9d),_0x245a7f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4f0321),_0x582d1b=new _0x1897d9(_0x2b4e21['graveyard'],[0x0]);_0x20a86b['push'](new _0x358d28(_0x26105f,_0x3ffde1['howMany'],_0x245a7f,_0x542d16++)),_0x20a86b['push'](new _0x358d28(_0x245a7f['getShiftedBy'](_0x3ffde1['howMany']),0x1,_0x582d1b,_0x542d16++));break;}case'wrap':{const _0x56bea9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['range']['start']),_0x10382e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ffde1['range']['end']),_0xafe571=_0x3ffde1['token']['element']['_clone'](!0x1);_0xafe571['_removeAttribute'](Yt);const _0x3062ee=_0x3ffde1['range']['end']['slice']();_0x3062ee['push'](0x0);const _0x1875bb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3062ee);_0x20a86b['push'](new _0x1505ff(_0x10382e,_0xafe571,_0x542d16++)),_0x20a86b['push'](new _0x358d28(_0x56bea9,_0x10382e['offset']-_0x56bea9['offset'],_0x1875bb,_0x542d16++));break;}}return _0x20a86b;}['_tokenizeModel'](_0x3b564a){const _0x2b14cd=[],_0x9ea02c=new _0x5d6d6a({'boundaries':_0x1cbf6b['_createIn'](_0x3b564a)});let _0x5ef8b8='',_0x221115=null;const _0x407778=[''],_0x4a68df=new Map();for(const _0x1e0325 of _0x9ea02c)if('elementStart'==_0x1e0325['type']||'elementEnd'==_0x1e0325['type']){let _0x4a55c4=_0x407778[0x0];''!==_0x5ef8b8&&(_0x2b14cd['push'](...this['_makeTokensFromTextByWords'](_0x5ef8b8,_0x221115,_0x4a55c4)),_0x5ef8b8='');const _0x55ed4b=_0x1e0325['item'];let _0x5b9af7;_0x55ed4b['getAttribute']('$elementId')?_0x5b9af7=_0x55ed4b['getAttribute'](Yt):'elementStart'==_0x1e0325['type']?(_0x5b9af7=qt(_0x55ed4b),_0x4a68df['set'](_0x55ed4b,_0x5b9af7)):_0x5b9af7=_0x4a68df['get'](_0x55ed4b);const _0x4e1dbd=this['_getElementCategory'](_0x55ed4b);'solid'==_0x4e1dbd&&('elementStart'==_0x1e0325['type']?(_0x4a55c4=_0x5b9af7,_0x407778['unshift'](_0x4a55c4)):_0x407778['shift']());const _0x2513b1={'type':'element','element':_0x55ed4b,'elementId':_0x5b9af7,'category':_0x4e1dbd,'isStart':'elementStart'==_0x1e0325['type'],'limitId':_0x4a55c4};_0x2b14cd['push'](_0x2513b1);}else''==_0x5ef8b8&&(_0x221115=_0x1e0325['previousPosition']['clone']()),_0x5ef8b8+=_0x1e0325['item']['data'];return''!==_0x5ef8b8&&_0x2b14cd['push'](...this['_makeTokensFromTextByWords'](_0x5ef8b8,_0x221115,_0x407778[0x0])),_0x2b14cd;}['_makeTokensFromTextByWords'](_0x2bda1b,_0x1c8225,_0xc33ce2){const _0xddcbd1=_0x2bda1b['matchAll'](/(\s)/g),_0x4dbb5b=Array['from'](_0xddcbd1)['map'](_0x35833a=>_0x35833a['index']);_0x4dbb5b['push'](_0x2bda1b['length']),0x0==_0x4dbb5b[0x0]&&_0x4dbb5b['shift']();const _0x1ae350=[],_0x322ff9=_0x1c8225['parent'];let _0x1509e5=0x0,_0x49ad2a=_0x1c8225['offset'];for(let _0x58ab05=0x0;_0x58ab05<_0x4dbb5b['length'];_0x58ab05++)_0x1ae350['push']({'type':'text','data':_0x2bda1b['slice'](_0x1509e5,_0x4dbb5b[_0x58ab05]),'parent':_0x322ff9,'offset':_0x49ad2a,'limitId':_0xc33ce2}),_0x1509e5=_0x4dbb5b[_0x58ab05],_0x49ad2a=_0x1c8225['offset']+_0x4dbb5b[_0x58ab05];return _0x1ae350;}['_getElementCategory'](_0x4a1760){const _0x177f80=this['_editor']['model']['schema'];return _0x177f80['isLimit'](_0x4a1760)||_0x177f80['isContent'](_0x4a1760)||_0x177f80['isInline'](_0x4a1760)?'solid':_0x177f80['isBlock'](_0x4a1760)?'block':function(_0x2d13ee,_0x4013fd){const _0x5be043=_0x2d13ee['parent'];if(!_0x5be043||_0x5be043['is']('documentFragment'))return!0x1;if(_0x4013fd['checkChild'](_0x5be043,'$text'))return!0x1;for(const _0x1049bd of _0x2d13ee['getChildren']())if(_0x1049bd['is']('$text'))return!0x0;return!0x1;}(_0x4a1760,_0x177f80)?'solid':'container';}['_diffModelTokens'](_0x42a917,_0x4e5308){const _0x1ecb7f=_0x5109b4(_0x42a917,_0x4e5308,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x1ecb7f);const _0x5e2fba=_0x1ecb7f['flatMap'](_0x136491=>{const _0x5b1d14=_0x136491['added']?'added':_0x136491['removed']?'removed':'unchanged';return _0x136491['value']['map'](_0x2a86cb=>({'token':_0x2a86cb,'change':_0x5b1d14}));});let _0x2fa10d=0x0;for(const _0x57e650 of _0x5e2fba)'added'!=_0x57e650['change']&&('unchanged'==_0x57e650['change']&&(_0x57e650['before']=_0x42a917[_0x2fa10d]),_0x2fa10d++);return _0x5e2fba;}['_handleUnclosedBlockOpeningTags'](_0x15a027){for(let _0xb3e072=0x0;_0xb3e072<_0x15a027['length']-0x1;_0xb3e072++)if(_0x15a027[_0xb3e072]['removed']&&_0x15a027[_0xb3e072+0x1]['added']){const _0x518076=this['_findUnclosedBlockOpeningToken'](_0x15a027[_0xb3e072]['value']);if(null!==_0x518076){const _0x4daf29=this['_findUnclosedBlockOpeningToken'](_0x15a027[_0xb3e072+0x1]['value']),_0x2e6355=_0x15a027[_0xb3e072]['value']['splice'](_0x518076),_0x1d13ac=_0x15a027[_0xb3e072+0x1]['value']['splice'](_0x4daf29),_0x2cce2e=[_0x1d13ac['shift']()];_0x2e6355['shift']();const _0x414b3d={'value':_0x2e6355,'removed':!0x0},_0x2e8820={'value':_0x1d13ac,'added':!0x0},_0x3e7338={'value':_0x2cce2e};_0x15a027['splice'](_0xb3e072+0x2,0x0,_0x3e7338,_0x414b3d,_0x2e8820);}}}['_findUnclosedBlockOpeningToken'](_0x142e56){let _0x41e843=0x0,_0x3e0e84=-0x1;for(let _0xd8e1ab=0x0;_0xd8e1ab<_0x142e56['length'];_0xd8e1ab++){const _0x2133d0=_0x142e56[_0xd8e1ab];'element'==_0x2133d0['type']&&'block'==_0x2133d0['category']&&(_0x41e843+=_0x2133d0['isStart']?0x1:-0x1,_0x2133d0['isStart']&&(_0x3e0e84=_0xd8e1ab));}return 0x0===_0x41e843?null:_0x3e0e84;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xa0ac57=0x0;_0xa0ac57<this['_diffItems']['length'];_0xa0ac57++){const _0x169b45=this['_diffItems'][_0xa0ac57]['change'],_0x520ebf=[];_0x520ebf['push'](this['_diffItems'][_0xa0ac57]);let _0x315015=_0xa0ac57+0x1;for(;this['_diffItems'][_0x315015]&&this['_diffItems'][_0x315015]['change']==_0x169b45;)_0x520ebf['push'](this['_diffItems'][_0x315015]),_0x315015++,_0xa0ac57++;const _0x36b5f9=_0x520ebf['map'](_0x39169c=>_0x39169c['token']);if('unchanged'==_0x169b45)_0x520ebf['map'](_0x4b3f64=>_0x4b3f64['before'])['forEach'](_0x286b9=>this['_traverseOverItem'](_0x286b9));else{if('removed'==_0x169b45){if(this['_markDeletions']){const _0xab51fb=this['_path']['slice']();_0x36b5f9['forEach'](_0x207ebd=>this['_traverseOverItem'](_0x207ebd));const _0x13c580=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0xab51fb,'end':_0x13c580}});}else this['_handleChanged'](_0x36b5f9,!0x0,this['_path']['slice']());}else{const _0x320f7e=_0x36b5f9['filter'](_0x294c12=>'element'!=_0x294c12['type']||'container'!=_0x294c12['category']);this['_handleChanged'](_0x320f7e,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1448ca=0x0;_0x1448ca<this['_diffItems']['length'];_0x1448ca++){const _0xb9d612=this['_diffItems'][_0x1448ca]['change'],_0x1a364e=[];_0x1a364e['push'](this['_diffItems'][_0x1448ca]);let _0x427e29=_0x1448ca+0x1;for(;this['_diffItems'][_0x427e29]&&this['_diffItems'][_0x427e29]['change']==_0xb9d612;)_0x1a364e['push'](this['_diffItems'][_0x427e29]),_0x427e29++,_0x1448ca++;const _0x456282=_0x1a364e['map'](_0x176ee0=>_0x176ee0['token']);if('unchanged'==_0xb9d612){const _0x46d665=_0x1a364e['map'](_0x1162f6=>_0x1162f6['before']);this['_handleUnchanged'](_0x46d665,_0x456282);}else('added'==_0xb9d612||this['_markDeletions'])&&_0x456282['forEach'](_0x4263b8=>{'element'==_0x4263b8['type']&&_0x4263b8['isStart']&&this['_splitPostponedData']['has'](_0x4263b8['element'])&&this['_handleSplitPostponedData'](_0x4263b8['element'],this['_path']),this['_traverseOverItem'](_0x4263b8);});}}['_handleSplitPostponedData'](_0x27501d,_0x2f2323){const _0x437399=this['_splitPostponedData']['get'](_0x27501d);for(const _0x329b40 of _0x437399)'rename'==_0x329b40['type']?this['_operationsData']['push']({'type':'rename','path':_0x2f2323['slice'](),'oldName':_0x329b40['oldValue'],'newName':_0x27501d['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x2f2323['slice'](),'howMany':0x1,'key':_0x329b40['key'],'oldValue':_0x329b40['oldValue'],'newValue':JSON['stringify'](_0x27501d['getAttribute'](_0x329b40['key'])??null)});}['_calculateMarkersOperationsData'](_0x21d70b,_0x2924b1){const _0xc75a4d={};for(const [_0x2d46b1]of _0x21d70b)_0xc75a4d[_0x2d46b1]=null;for(const [_0x58280a,_0x4ac2e7]of _0x2924b1)_0xc75a4d[_0x58280a]=_0x4ac2e7;const _0x43d01a=Object['entries'](_0xc75a4d)['map'](([_0x7c0b51,_0x9ceb4a])=>({'type':'marker','name':_0x7c0b51,'range':_0x9ceb4a?{'start':_0x9ceb4a['start']['path']['slice'](),'end':_0x9ceb4a['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x43d01a);}['_handleUnwraps'](){const _0x4ab5d5=new Map(),_0x1fe9b4=[],_0x24375b=[0x0];let _0x5d796d=this['_diffItems']['length']+0x1;for(let _0x26e3a0=this['_diffItems']['length']-0x1;_0x26e3a0>=0x0;_0x26e3a0--){const {token:_0x85d063,before:_0x2217d9,change:_0x135acd}=this['_diffItems'][_0x26e3a0];if('removed'!=_0x135acd&&(_0x5d796d=_0x26e3a0),'element'!=_0x85d063['type']||'container'!=_0x85d063['category']||'added'==_0x135acd)continue;const _0x468922=_0x2217d9?_0x2217d9['element']:_0x85d063['element'];if(_0x85d063['isStart']){const _0x36c2ca=_0x4ab5d5['get'](_0x468922),_0x31f5b2=this['_diffItems'][_0x36c2ca];('removed'==_0x135acd||'removed'==_0x31f5b2['change'])&&_0x5d796d<_0x36c2ca&&(this['_operationsData']['push']({'type':'unwrap','path':_0x468922['getPath'](),'howMany':_0x468922['maxOffset']+_0x24375b[0x0]}),_0x24375b['shift'](),_0x24375b[0x0]+=_0x468922['maxOffset']-0x1,_0x1fe9b4['push'](_0x26e3a0),_0x1fe9b4['push'](_0x36c2ca));}else _0x4ab5d5['set'](_0x468922,_0x26e3a0),_0x24375b['unshift'](0x0);}_0x1fe9b4['sort']((_0x2286ad,_0x35c44a)=>_0x35c44a-_0x2286ad),_0x1fe9b4['forEach'](_0xf9e688=>{const _0x108257=this['_diffItems'][_0xf9e688];'removed'==_0x108257['change']?this['_diffItems']['splice'](_0xf9e688,0x1):(_0x108257['change']='added',delete _0x108257['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0xcc125b=[];for(let _0x16ebf6=0x0;_0x16ebf6<this['_diffItems']['length'];_0x16ebf6++){const {change:_0x1efec3,token:_0x11c390}=this['_diffItems'][_0x16ebf6];if('added'==_0x1efec3&&'element'==_0x11c390['type']&&'container'==_0x11c390['category']){if(_0x11c390['isStart'])_0xcc125b['push'](this['_path']['slice']());else{if(!_0x11c390['isStart']){const _0x313f26=_0xcc125b['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x313f26,'end':this['_path']['slice']()},'token':_0x11c390}),this['_path'][this['_path']['length']-0x1]=_0x313f26[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1efec3||this['_markDeletions'])&&this['_traverseOverItem'](_0x11c390);}}['_handleUnchanged'](_0x265dc6,_0x4aafe7){for(let _0x286125=0x0;_0x286125<_0x265dc6['length'];_0x286125++){const _0x2b5123=_0x265dc6[_0x286125];if('element'==_0x2b5123['type']&&_0x2b5123['isStart']){const _0xf9fc34=_0x4aafe7[_0x286125];'block'==_0x2b5123['category']&&this['_handleElementRename'](_0x2b5123['element'],_0xf9fc34['element'],this['_path']),this['_handleElementAttributeChanges'](_0x2b5123['element'],_0xf9fc34['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0xf9fc34);}else{if('element'!=_0x2b5123['type']||_0x2b5123['isStart']){if('text'==_0x2b5123['type']){const _0xb2d5a5=this['_path']['slice'](),_0x559d1d=[],_0x5d1236=[];for(;_0x265dc6[_0x286125]&&'text'==_0x265dc6[_0x286125]['type'];)_0x559d1d['push'](_0x265dc6[_0x286125]),_0x5d1236['push'](_0x4aafe7[_0x286125]),this['_path'][this['_path']['length']-0x1]+=_0x265dc6[_0x286125]['data']['length'],_0x286125++;_0x286125--,this['_handleTextAttributeChanges'](_0x559d1d,_0x5d1236,_0xb2d5a5);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x425558,_0x662e34,_0x3b81ad){const _0x50d34f=[],_0x3c6c49=[],_0x587350=_0x3b81ad['slice']();let _0xacb8f2=this['_parents']['length']-0x1;for(let _0x2da3ec=0x0;_0x2da3ec<_0x425558['length'];_0x2da3ec++){const _0x27ac9a=_0x425558[_0x2da3ec],_0x3bd72a=_0x3b81ad['slice']();'element'!=_0x27ac9a['type']||_0x27ac9a['isStart']?'element'==_0x27ac9a['type']&&_0x27ac9a['isStart']?(_0x3b81ad['push'](0x0),_0xacb8f2++,_0x3c6c49['push']({'before':_0x3bd72a,'after':_0x3b81ad['slice'](),'index':_0x2da3ec})):_0x3b81ad[_0x3b81ad['length']-0x1]+=_0x27ac9a['data']['length']:(_0x3b81ad['pop'](),_0x3b81ad[_0x3b81ad['length']-0x1]++,_0xacb8f2--,_0x3c6c49['length']?_0x3c6c49['pop']():_0x50d34f['push']({'before':_0x3bd72a,'after':_0x3b81ad['slice'](),'index':_0x2da3ec}));}if(_0x3c6c49['length']!==_0x50d34f['length'])throw new _0x2e5639('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x425558,'isRemove':_0x662e34});const _0x424f17=[{'after':_0x587350['slice'](),'index':-0x1},..._0x50d34f,..._0x3c6c49,{'before':_0x3b81ad['slice'](),'index':_0x425558['length']}];if(_0x662e34){for(let _0x587202=_0x424f17['length']-0x1;_0x587202>=0x1;_0x587202--){const _0x481cc1=_0x424f17[_0x587202-0x1]['after'],_0x223fab=_0x424f17[_0x587202]['before'],_0xda0704=_0x223fab[_0x223fab['length']-0x1]-_0x481cc1[_0x481cc1['length']-0x1];_0xda0704&&(this['_operationsData']['push']({'type':'remove','path':_0x481cc1,'howMany':_0xda0704}),_0x223fab[_0x223fab['length']-0x1]-=_0xda0704);}for(const {before:_0x5d9dc8}of _0x50d34f)this['_operationsData']['push']({'type':'merge','path':_0x5d9dc8});}else for(let _0x36ec28=0x0;_0x36ec28<_0x424f17['length']-0x1;_0x36ec28++){const _0x2c6de0=_0x424f17[_0x36ec28]['after'],_0x4f83c7=_0x424f17[_0x36ec28+0x1]['before'],_0x26c4c0=_0x424f17[_0x36ec28]['index']+0x1,_0x54df27=_0x424f17[_0x36ec28+0x1]['index'];if(_0x26c4c0!==_0x54df27&&this['_operationsData']['push']({'type':'insert','path':_0x2c6de0,'tokens':_0x425558['slice'](_0x26c4c0,_0x54df27)}),_0x36ec28<_0x50d34f['length']){this['_operationsData']['push']({'type':'split','path':_0x4f83c7});const _0xde4527=_0x425558[_0x3c6c49[_0x3c6c49['length']-0x1-_0x36ec28]['index']],_0xa6708d=this['_parents'][_0xacb8f2]['element'];_0xa6708d['name']!=_0xde4527['element']['name']&&this['_addSplitPostponedData'](_0xde4527['element'],{'type':'rename','oldValue':_0xa6708d['name']});const _0xcb6ec4=this['_getAttributeChanges'](_0xa6708d['getAttributes'](),_0xde4527['element']['getAttributes']());for(const _0x42923f in _0xcb6ec4){const _0x524819=_0xcb6ec4[_0x42923f]['oldValue'];this['_addSplitPostponedData'](_0xde4527['element'],{'type':'attribute','key':_0x42923f,'oldValue':_0x524819});}}}}['_addSplitPostponedData'](_0x15154f,_0x544d19){const _0x968a2=this['_splitPostponedData']['get'](_0x15154f)||[];_0x968a2['push'](_0x544d19),this['_splitPostponedData']['set'](_0x15154f,_0x968a2);}['_traverseOverItem'](_0x5c7366){'element'==_0x5c7366['type']&&_0x5c7366['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x5c7366)):'element'!=_0x5c7366['type']||_0x5c7366['isStart']?'text'==_0x5c7366['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x5c7366['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5be5ce,_0x15f549,_0x53d646){_0x5be5ce['name']!=_0x15f549['name']&&this['_operationsData']['push']({'type':'rename','path':_0x53d646['slice'](),'oldName':_0x5be5ce['name'],'newName':_0x15f549['name']});}['_handleElementAttributeChanges'](_0x5bc384,_0x31dc58,_0x4c98e7){const _0x5cee36=this['_getAttributeChanges'](_0x5bc384['getAttributes'](),_0x31dc58['getAttributes']());for(const _0x4d969e in _0x5cee36){const {oldValue:_0x496f5d,newValue:_0x1dea3a}=_0x5cee36[_0x4d969e];this['_operationsData']['push']({'type':'attribute','path':_0x4c98e7['slice'](),'howMany':0x1,'key':_0x4d969e,'oldValue':_0x496f5d,'newValue':_0x1dea3a});}}['_handleTextAttributeChanges'](_0x11b5dc,_0x11212a,_0xa15608){const _0x539f7f=this['_operationsData'],_0x372aef=_0x11b5dc[0x0]['parent'],_0x51edaa=_0x11b5dc[0x0]['offset'],_0x372e9a=_0x11212a[0x0]['parent'],_0x18e78a=_0x11212a[0x0]['offset'],_0x33187c=_0x11b5dc['reduce']((_0x56e253,_0xa959e7)=>_0x56e253+_0xa959e7['data']['length'],0x0),_0x41b9e2=this['_getAttrsForOffsets'](_0x372aef,_0x51edaa,_0x33187c),_0x347742=this['_getAttrsForOffsets'](_0x372e9a,_0x18e78a,_0x33187c),_0x32e670={};for(let _0x238a58=0x0;_0x238a58<_0x33187c;_0x238a58++){const _0x107e00=_0x41b9e2[_0x51edaa+_0x238a58],_0x305a03=_0x347742[_0x18e78a+_0x238a58],_0x2f1aa6=this['_getAttributeChanges'](_0x107e00,_0x305a03);for(const _0x36335d in _0x32e670)_0x2f1aa6[_0x36335d]||_0x56adfd(_0x36335d);for(const _0x4c4e95 in _0x2f1aa6){const {oldValue:_0x9ba78d,newValue:_0x1524f0}=_0x2f1aa6[_0x4c4e95],_0x34dff6=_0x32e670[_0x4c4e95];_0x34dff6?_0x34dff6['oldValue']==_0x9ba78d&&_0x34dff6['newValue']==_0x1524f0?_0x34dff6['length']++:(_0x56adfd(_0x4c4e95),_0x32e670[_0x4c4e95]={'oldValue':_0x9ba78d,'newValue':_0x1524f0,'start':_0x238a58,'length':0x1}):_0x32e670[_0x4c4e95]={'oldValue':_0x9ba78d,'newValue':_0x1524f0,'start':_0x238a58,'length':0x1};}}for(const _0x3d3dd9 in _0x32e670)_0x56adfd(_0x3d3dd9);function _0x56adfd(_0x40073d){const _0x59264f=_0x32e670[_0x40073d],_0x54da74=_0xa15608['slice']();_0x54da74[_0x54da74['length']-0x1]+=_0x59264f['start'],_0x539f7f['push']({'type':'attribute','path':_0x54da74,'howMany':_0x59264f['length'],'key':_0x40073d,'oldValue':_0x59264f['oldValue'],'newValue':_0x59264f['newValue']}),delete _0x32e670[_0x40073d];}}['_getAttributeChanges'](_0x2452d5,_0x20d4e2){const _0x20b540={};for(const [_0x4121e3,_0x35a733]of _0x2452d5)_0x20b540[_0x4121e3]={'oldValue':JSON['stringify'](_0x35a733),'newValue':'null'};for(const [_0x5c679d,_0x484342]of _0x20d4e2){const _0x86e7ba=JSON['stringify'](_0x484342);_0x20b540[_0x5c679d]?_0x20b540[_0x5c679d]['oldValue']==_0x86e7ba?delete _0x20b540[_0x5c679d]:_0x20b540[_0x5c679d]['newValue']=_0x86e7ba:_0x20b540[_0x5c679d]={'oldValue':'null','newValue':_0x86e7ba};}return delete _0x20b540[Yt],_0x20b540;}['_getAttrsForOffsets'](_0x3c1078,_0x255805,_0x393838){const _0x24f180=new Array(_0x255805+_0x393838);let _0x26aa3f=_0x3c1078['getChildAtOffset'](_0x255805),_0x4d513a=_0x26aa3f['startOffset'];for(;_0x26aa3f&&_0x4d513a<_0x255805+_0x393838;){const _0xc1158=Array['from'](_0x26aa3f['getAttributes']());_0x24f180['fill'](_0xc1158,_0x4d513a,_0x4d513a+_0x26aa3f['offsetSize']),_0x4d513a+=_0x26aa3f['offsetSize'],_0x26aa3f=_0x26aa3f['nextSibling'];}return _0x24f180;}['_getPositionFromAnchorAndPath'](_0x35b48b,_0x278c19){const _0x2850af=[..._0x35b48b['path']['slice'](0x0,-0x1),_0x35b48b['offset']+_0x278c19[0x0],..._0x278c19['slice'](0x1)];return new _0x1897d9(_0x35b48b['root'],_0x2850af);}['_makeModelFromTokens'](_0x12ad16){const _0xc4254b=[];let _0x283d3d=null;for(const _0x5ac1ac of _0x12ad16)if('element'!=_0x5ac1ac['type']||_0x5ac1ac['isStart']||_0x283d3d!=_0x5ac1ac['element']){if(!_0x283d3d){if('text'==_0x5ac1ac['type']){const _0x6b3c8a=_0x1897d9['_createAt'](_0x5ac1ac['parent'],_0x5ac1ac['offset']),_0x8c1959=_0x1cbf6b['_createFromPositionAndShift'](_0x6b3c8a,_0x5ac1ac['data']['length']),_0x29b515=Array['from'](_0x8c1959['getItems']())['map'](_0x903bb=>new _0x16ff98(_0x903bb['data'],_0x903bb['getAttributes']()));_0xc4254b['push'](..._0x29b515);}else{_0x283d3d=_0x5ac1ac['element'];const _0x35dc2f=_0x5ac1ac['element']['_clone'](!0x0);_0x35dc2f['_removeAttribute'](Yt);for(const _0x2716de of this['_editor']['model']['createRangeIn'](_0x35dc2f)['getItems']())_0x2716de['is']('element')&&_0x2716de['_removeAttribute'](Yt);_0xc4254b['push'](_0x35dc2f);}}}else _0x283d3d=null;return _0xc4254b;}};function Kt(_0x42601a,_0x3c5858){return _0x42601a['type']===_0x3c5858['type']&&(_0x42601a['limitId']===_0x3c5858['limitId']&&('text'==_0x42601a['type']?_0x42601a['data']==_0x3c5858['data']:function(_0x26ca58,_0x3ae8ce){if(_0x26ca58['isStart']!=_0x3ae8ce['isStart'])return!0x1;if(_0x26ca58['isStart']&&_0x26ca58['elementId']!=_0x3ae8ce['elementId'])return!0x1;if(_0x26ca58['category']!=_0x3ae8ce['category'])return!0x1;if('block'==_0x26ca58['category'])return!0x0;if('container'==_0x26ca58['category']&&_0x26ca58['elementId']!=_0x3ae8ce['elementId'])return!0x1;return _0x26ca58['element']['name']==_0x3ae8ce['element']['name'];}(_0x42601a,_0x3c5858)));}function qt(_0x518c0c){return Tt({'name':_0x518c0c['name'],...Object['fromEntries'](_0x518c0c['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,Yt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Jt as DocumentCompare,Gt as DocumentDiff,Ht as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,D as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,O as Users,G as fixElementSuggestionRange,xt as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,It as getMarkerDomElement,Tt as hashObject,Rt as sanitizeEditorConfig,Ut as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ft as surroundingMarkersDetector,St as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x2181a4,Editor as _0x2650b8,Plugin as _0x508c2a}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x20defa,Collection as _0x40d330,FocusTracker as _0x1946e7,KeystrokeHandler as _0x2147e4,first as _0x2cdb76,toArray as _0x8aec12,uid as _0x5be2e1}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x2d84a1,DropdownButtonView as _0x16e908,FocusCycler as _0x1e21b9,IconView as _0x532bcd,View as _0x2c5d06,isViewWithFocusCycler as _0xfe1a05}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x43008a,IconCheck as _0x5e01b0,IconNotification as _0x205707}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0xe83614,toWidget as _0xdb52e5}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x42f093}from'luxon';import{AttributeOperation as _0x33797f,InsertOperation as _0x48c702,MarkerOperation as _0x23905b,MergeOperation as _0x57e1f0,ModelPosition as _0x34e154,ModelRange as _0x30d6bf,ModelText as _0x54029d,ModelTreeWalker as _0x559ec8,MoveOperation as _0x41fb9e,RenameOperation as _0x20951c,SplitOperation as _0x28111e}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x594154}from'diff';var B=class extends _0x2181a4{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x330ff3,_0x6af1d6){let _0x1ac1b4;if(_0x6af1d6||(_0x6af1d6=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x6af1d6?_0x1ac1b4=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x1ac1b4=this['context']['editors']['find'](_0x434acf=>_0x434acf['config']['get']('collaboration.channelId')==_0x6af1d6)),!_0x1ac1b4)throw new _0x20defa('permissions-set-permissions-invalid-channel-id',null);const _0xc29e74=_0x1ac1b4['plugins'],_0x4acc79=_0xc29e74['has']('CommentsRepository')?_0xc29e74['get']('CommentsRepository'):void 0x0,_0x556e7b=_0xc29e74['has']('CommentsOnly')&&_0xc29e74['get']('CommentsOnly'),_0x4c8b7c=_0x330ff3['includes']('document:write'),_0xbaad37=_0x330ff3['includes']('comment:modify_all'),_0x144962=_0x330ff3['includes']('comment:admin'),_0x26f84c=_0x330ff3['includes']('comment:write'),_0x2b254b=_0x26f84c||_0x144962,_0x5611d4=_0x2b254b||_0xbaad37,_0x489de2=_0x4c8b7c||_0x2b254b;if(_0x556e7b&&(_0x556e7b['isEnabled']=!_0x4c8b7c&&_0x5611d4),_0x1ac1b4 instanceof _0x2650b8&&(_0x4c8b7c||_0x5611d4&&_0x4acc79?_0x1ac1b4['disableReadOnlyMode']('no-permissions'):_0x1ac1b4['enableReadOnlyMode']('no-permissions')),_0x4acc79){_0x4acc79['setPermissions']({'admin':_0x144962,'modifyAll':_0xbaad37,'write':_0x26f84c,'resolve':_0x489de2},_0x6af1d6);const _0x19442d=_0x1ac1b4 instanceof _0x2650b8&&_0x1ac1b4['commands']['get']('addCommentThread');_0x19442d&&(_0x2b254b?_0x19442d['clearForceDisabled']('noPermissions'):_0x19442d['forceDisabled']('noPermissions'));}}};function D(_0x30955f,_0x39ae3f){const t=_0x30955f['t'];switch(_0x39ae3f){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'';}}var $=class extends _0x2181a4{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[B];}constructor(_0x7da192){super(_0x7da192),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x40d330(),this['_locale']=_0x7da192['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:_0x28b409,name:_0xe6db71,..._0x34d327}){if(!_0x28b409||'string'!=typeof _0x28b409)throw new _0x20defa('users-add-invalid-id');if(this['users']['has'](_0x28b409))throw new _0x20defa('users-add-duplicated-id',null,{'id':_0x28b409});const _0xef4f36=this['context']['config']['get']('users.getInitialsCallback'),_0x268ee6={..._0x34d327,'id':_0x28b409,'name':R(this['_locale'],_0xe6db71),'color':this['_getNextColor']()};_0x268ee6['name']=R(this['_locale'],_0x268ee6['name']);const _0x2ecd0c=new L(_0x268ee6,_0xef4f36);return this['users']['add'](_0x2ecd0c),_0x2ecd0c;}['getUser'](_0x52b432){return this['users']['get'](_0x52b432);}['useAnonymousUser'](){const _0x3685c2=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3685c2);}['defineMe'](_0x32d791){if(this['_myId'])throw new _0x20defa('users-me-already-defined',null);const _0x40c2b8=this['getUser'](_0x32d791);if(!_0x40c2b8)throw new _0x20defa('users-me-missing-user',null);this['_myId']=_0x32d791,_0x40c2b8['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x45e4cc=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x45e4cc&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4de566=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4de566,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x5d9f3d,_0x1abe34){this['id']=_0x5d9f3d['id'],this['color']=_0x5d9f3d['color'],this['name']=_0x5d9f3d['name'],this['initials']=_0x1abe34?_0x1abe34(this['name']):this['_computeInitials'](),this['avatar']=_0x5d9f3d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x1bca6b=this['name']['split']('\x20')['filter'](_0x82b5d7=>/^[\p{Letter}]/u['test'](_0x82b5d7));return 0x1===_0x1bca6b['length']?this['_getInitial'](_0x1bca6b[0x0]):0x0===_0x1bca6b['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x1bca6b[0x0])+this['_getInitial'](_0x1bca6b[_0x1bca6b['length']-0x1]);}['_getInitial'](_0x585dd5){return String['fromCodePoint'](_0x585dd5['codePointAt'](0x0))['toUpperCase']();}};function R(_0x3411a7,_0x4706a6=''){return''==(_0x4706a6=_0x4706a6['trim']())?D(_0x3411a7,'Anonymous'):_0x4706a6;}var F=class{['_id'];constructor(_0x3b00df){this['_id']=_0x3b00df;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x2c5d06{['name'];['notificationView'];constructor(_0x3b6957,_0x12f87c,_0xe849ea,_0x2f61cb){super(_0x3b6957),this['name']=_0x12f87c['name'],this['notificationView']=null;const _0x2bc0c3=['ck','ck-user'],_0x3cbfeb=['ck','ck-user__img'];_0x12f87c['isAnonymous']&&_0x3cbfeb['push']('ck-user__anonymous'),!_0x12f87c['isAnonymous']&&_0x12f87c['isMe']&&_0x2bc0c3['push']('ck-user_me'),(_0x12f87c['avatar']||_0x2f61cb)&&_0x3cbfeb['push']('ck-user__avatar');let _0x2528c4=null;if(_0x2f61cb&&(_0x2528c4=new _0x532bcd(),_0x2528c4['content']=_0x2f61cb,_0x2528c4['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0xe849ea){const _0x29344f=new _0x532bcd();_0x29344f['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x29344f['content']=_0x205707,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0xe849ea},'children':[_0x29344f]};}const _0x1106bc=[{'tag':'div','attributes':{'class':_0x3cbfeb,'style':{'background-image':_0x12f87c['avatar']&&!_0x2f61cb?'url(\x27'+_0x12f87c['avatar']+'\x27)':''}},'children':_0x2528c4?[_0x2528c4]:[]},{'tag':'div','attributes':{'class':_0x12f87c['avatar']||_0x2f61cb?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x12f87c['name']},'children':[{'text':_0x12f87c['initials']}]}];this['notificationView']&&_0x1106bc['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x2bc0c3,'data-user-id':_0x12f87c['id']},'children':_0x1106bc});}},U=class extends _0x2c5d06{['children'];['iconView'];['labelView'];constructor(_0x3ef1e4){super(_0x3ef1e4);const _0x43584c=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x43584c['to']('class'),_0x43584c['to']('iconPosition',_0x4aa59c=>'right'===_0x4aa59c?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x43584c['to']('tooltip'),'data-cke-tooltip-position':_0x43584c['to']('tooltipPosition'),'data-cke-tooltip-class':_0x43584c['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x3e19f2,_0xa3ffc,_0x3a6467,_0x24691c)=>{_0x3a6467&&!_0x24691c?this['children']['add'](this['iconView'],0x0):!_0x3a6467&&_0x24691c&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x58f1b8=new _0x532bcd();return _0x58f1b8['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x58f1b8['bind']('content')['to'](this,'icon'),_0x58f1b8;}['_createLabelView'](){const _0x5533a4=new _0x2c5d06(this['locale']),_0x4b0fa0=this['bindTemplate'];return _0x5533a4['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x4b0fa0['to']('label')}]}),_0x5533a4;}},z=class extends _0x2c5d06{['id'];constructor(_0x54690b,_0x5a647c){super(_0x54690b),this['id']='ck-aria-description-'+_0x5be2e1(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x5a647c}]});}},W=class extends _0x2d84a1{['render'](){super['render'](),j(this);}},Y=class extends _0x16e908{['render'](){super['render'](),j(this);}};function j(_0x382250){_0x382250['listenTo'](_0x382250['element'],'mousedown',(_0x38bdf2,_0x559f99)=>{_0x559f99['stopPropagation'](),_0x559f99['preventDefault']();}),_0x382250['listenTo'](_0x382250['element'],'mouseup',()=>{_0x382250['element']['focus']();});}function J(_0x36fd87){const _0x48dc94=_0x36fd87['split'](':');return{'group':_0x48dc94[0x0],'type':_0x48dc94[0x1],'subType':_0x48dc94['length']>=0x5?_0x48dc94[0x2]:null,'id':_0x48dc94['length']<0x5?_0x48dc94[0x2]:_0x48dc94[0x3],'authorId':_0x48dc94['length']<0x5?_0x48dc94[0x3]:_0x48dc94[0x4],'markerCount':0x6==_0x48dc94['length']?_0x48dc94[0x5]:null};}function G(_0x767b53,_0x2a70ea){const _0x9aea42=_0x767b53['end']['nodeBefore'];if(_0x9aea42&&_0x9aea42['is']('element')&&_0x2a70ea['schema']['isBlock'](_0x9aea42)&&!_0x2a70ea['schema']['isObject'](_0x9aea42)){const _0x47973b=_0x2a70ea['createPositionAt'](_0x9aea42,'end');return _0x2a70ea['createRange'](_0x767b53['start'],_0x47973b);}return _0x767b53;}var K=class extends _0x508c2a{['afterInit'](){const _0x556f23=this['editor'];_0x556f23['plugins']['has']('AlignmentEditing')&&_0x556f23['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x508c2a{['afterInit'](){const _0x422c4b=this['editor'],_0x4a0e91=_0x422c4b['plugins']['get']('SuggestionsConversion');for(const _0x16a02d of q){if(!_0x422c4b['plugins']['has'](_0x16a02d))continue;const _0x1a4421=_0x16a02d['slice'](0x0,-0x7)['toLowerCase']();_0x4a0e91['registerInlineAttribute'](_0x1a4421);}}},Q=class extends _0x508c2a{['afterInit'](){const _0x862499=this['editor'],_0x6f0cca=_0x862499['plugins']['get']('SuggestionsConversion');_0x862499['plugins']['has']('BookmarkEditing')&&_0x6f0cca['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x508c2a{['afterInit'](){const _0x396823=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5973dc,commandName:_0x23c7f0}of X)this['editor']['plugins']['has'](_0x5973dc)&&_0x396823['registerInlineAttribute'](_0x23c7f0);}},et=class extends _0x508c2a{['afterInit'](){const {editor:_0x5a440d}=this;if(!_0x5a440d['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x173f0e=_0x5a440d['plugins']['get']('SuggestionsConversion');_0x173f0e['registerBlockAttribute']('footnotesListStyle'),_0x173f0e['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x508c2a{['afterInit'](){const _0x31b01a=this['editor'];if(!_0x31b01a['plugins']['has']('GeneralHtmlSupport')||!_0x31b01a['plugins']['has']('DataSchema'))return;const _0x47b562=_0x31b01a['plugins']['get']('SuggestionsConversion'),_0x46be12=_0x31b01a['plugins']['get']('GeneralHtmlSupport'),_0xb75900=_0x31b01a['plugins']['get']('DataSchema');for(const _0x37955e of _0xb75900['getDefinitionsForView'](/.*/,!0x1)){const _0x443104=_0x46be12['getGhsAttributeNameForElement'](_0x37955e['view']);!_0x37955e['isInline']||_0x37955e['isObject']||'appliesToBlock'in _0x37955e&&_0x37955e['appliesToBlock']?_0x47b562['registerBlockAttribute'](_0x443104):_0x47b562['registerInlineAttribute'](_0x443104);}}},it=class extends _0x508c2a{['afterInit'](){const _0x51d1aa=this['editor'];_0x51d1aa['plugins']['has']('HighlightEditing')&&_0x51d1aa['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x508c2a{['afterInit'](){const _0x201177=this['editor'];_0x201177['plugins']['has']('HtmlEmbed')&&_0x201177['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x508c2a{['afterInit'](){const _0x30df9e=this['editor'];if(!_0x30df9e['plugins']['has']('ImageEditing'))return;const _0x12e856=_0x30df9e['plugins']['get']('SuggestionsConversion');_0x12e856['registerBlockAttribute']('src'),_0x30df9e['plugins']['has']('ImageResize')&&_0x12e856['registerBlockAttribute']('resizedWidth'),_0x30df9e['plugins']['has']('ImageTextAlternativeEditing')&&_0x12e856['registerBlockAttribute']('alt'),_0x30df9e['plugins']['has']('PictureEditing')&&_0x12e856['registerBlockAttribute']('sources'),_0x30df9e['plugins']['has']('ImageSizeAttributes')&&(_0x12e856['registerBlockAttribute']('width'),_0x12e856['registerBlockAttribute']('height'));}},rt=class extends _0x508c2a{['afterInit'](){const _0x4e78e2=this['editor'],_0x36a9d6=_0x4e78e2['plugins']['get']('SuggestionsConversion');_0x4e78e2['plugins']['has']('IndentBlock')&&(_0x36a9d6['registerBlockAttribute']('blockIndent'),_0x4e78e2['plugins']['has']('ListEditing')&&(_0x36a9d6['registerBlockAttribute']('blockIndentList'),_0x36a9d6['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x508c2a{['afterInit'](){const _0x36fe19=this['editor'];_0x36fe19['plugins']['has']('LineHeight')&&_0x36fe19['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x508c2a{['afterInit'](){const _0x18dabc=this['editor'];if(!_0x18dabc['plugins']['has']('LinkEditing'))return;const _0x3f7d00=_0x18dabc['plugins']['get']('SuggestionsConversion'),_0x59ae6b=_0x18dabc['commands']['get']('link');_0x3f7d00['registerInlineAttribute']('linkHref');for(const _0x547dc8 of _0x59ae6b['manualDecorators'])_0x3f7d00['registerInlineAttribute'](_0x547dc8['id']);}},lt=class extends _0x508c2a{['afterInit'](){const _0x4cc18f=this['editor'];if(!_0x4cc18f['plugins']['has']('ListEditing'))return;const _0x5240a8=_0x4cc18f['plugins']['get']('SuggestionsConversion'),_0x497815=_0x4cc18f['plugins']['has']('TodoListEditing');_0x5240a8['registerBlockAttribute']('listItemId'),_0x5240a8['registerBlockAttribute']('listType'),_0x5240a8['registerBlockAttribute']('listIndent'),_0x497815&&_0x5240a8['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x508c2a{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x5af60a=this['editor']['config']['get']('list.properties'),_0x1dbb4e=this['editor']['plugins']['get']('SuggestionsConversion');_0x5af60a['styles']&&_0x1dbb4e['registerBlockAttribute']('listStyle'),_0x5af60a['reversed']&&_0x1dbb4e['registerBlockAttribute']('listReversed'),_0x5af60a['startIndex']&&_0x1dbb4e['registerBlockAttribute']('listStart');}},ut=class extends _0x508c2a{['afterInit'](){const _0x2f0c14=this['editor'],_0x3e3eac=_0x2f0c14['plugins']['get']('SuggestionsConversion');_0x2f0c14['plugins']['has']('MultiLevelList')&&_0x3e3eac['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x508c2a{['afterInit'](){const _0x257441=this['editor'];if(!_0x257441['plugins']['has']('TableEditing'))return;const _0x133c07=_0x257441['plugins']['get']('SuggestionsConversion');_0x133c07['registerBlockAttribute']('headingRows'),_0x133c07['registerBlockAttribute']('headingColumns');}},gt=class extends _0x508c2a{['afterInit'](){const {plugins:_0x2a5e45}=this['editor'];if(!_0x2a5e45['has']('TablePropertiesEditing'))return;const _0x2ab1f7=_0x2a5e45['get']('SuggestionsConversion');for(const _0xbcd555 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x2ab1f7['registerBlockAttribute'](_0xbcd555);}},ft=class extends _0x508c2a{['afterInit'](){const _0x5b0656=this['editor'],_0x7f2f8b=_0x5b0656['plugins']['get']('SuggestionsConversion');_0x5b0656['plugins']['has']('TableLayout')&&_0x7f2f8b['registerBlockAttribute']('tableType');}},mt=class extends _0x508c2a{['afterInit'](){const _0x2b1c58=this['editor'],_0x36afc2=this['editor']['plugins']['get']('SuggestionsConversion');_0x2b1c58['plugins']['has']('Uploadcare')&&_0x2b1c58['plugins']['has']('UploadcareImageEdit')&&_0x36afc2['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x508c2a{['afterInit'](){const _0x556c6f=this['editor'];if(!_0x556c6f['plugins']['has']('ShiftEnter'))return;const _0x355ba4=_0x556c6f['plugins']['get']('SuggestionsConversion'),_0x45c3c8=(_0x12e54e,_0x351dba,_0x7e68a1,_0x45567c)=>{if(_0x45567c&&!_0x7e68a1['options']['showSuggestionHighlights'])return;if(!_0x7e68a1['consumable']['test'](_0x351dba['markerRange'],_0x12e54e['name']))return;const _0x5cb1ea=_0x556c6f['model'];for(const _0x2e051a of _0x351dba['markerRange']['getItems']()){if(!_0x2e051a['is']('element','softBreak'))continue;const _0x42fcb3='deletion'==_0x351dba['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3d40e4,authorId:_0x45beef}=J(_0x351dba['markerName']),_0x48be04=_0x7e68a1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x42fcb3,'data-suggestion':_0x3d40e4,'data-author-id':_0x45beef}),_0x27e922=_0x7e68a1['mapper']['toViewPosition'](_0x5cb1ea['createPositionBefore'](_0x2e051a));!_0x45567c&&_0x355ba4['_activeMarkers']['includes'](_0x351dba['markerName'])&&_0x7e68a1['writer']['addClass']('ck-suggestion-marker--active',_0x48be04),_0x7e68a1['writer']['insert'](_0x27e922,_0x48be04),_0x7e68a1['mapper']['bindElementToMarker'](_0x48be04,_0x351dba['markerName']);}};_0x556c6f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x328779,_0x458e7e,_0x2cbda6)=>{_0x45c3c8(_0x328779,_0x458e7e,_0x2cbda6,!0x1);},{'priority':'high'}),_0x556c6f['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2289c0,_0x25587d,_0x3d7db9)=>{_0x45c3c8(_0x2289c0,_0x25587d,_0x3d7db9,!0x1);},{'priority':'high'}),_0x556c6f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xc85ae6,_0x5bb97c,_0x175e10)=>{_0x45c3c8(_0xc85ae6,_0x5bb97c,_0x175e10,!0x0);},{'priority':'high'}),_0x556c6f['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2d07ac,_0x159ed7,_0x5ace20)=>{_0x45c3c8(_0x2d07ac,_0x159ed7,_0x5ace20,!0x0);},{'priority':'high'});}},kt=class extends _0x508c2a{['afterInit'](){const _0x5df84e=this['editor'];if(!_0x5df84e['plugins']['has']('MediaEmbedEditing'))return;const _0xa34048=_0x5df84e['plugins']['get']('SuggestionsConversion');_0x5df84e['plugins']['has']('MediaEmbedResizeEditing')&&_0xa34048['registerBlockAttribute']('resizedWidth'),_0x5df84e['plugins']['has']('MediaEmbedStyleEditing')&&_0xa34048['registerBlockAttribute']('mediaStyle'),_0x5df84e['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x55c624,{writer:_0x4713cb,options:_0x530e00})=>{if(_0x530e00['showSuggestionHighlights'])return _0x4713cb['createEmptyElement']('div');},'converterPriority':'high'}),_0x5df84e['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2b8d62,_0x51774e,_0x4652d4)=>{_0x4652d4['options']['showSuggestionHighlights']&&_0x2b8d62['stop']();},{'priority':'high'});}},yt=class extends _0x508c2a{['afterInit'](){const _0x5c717d=this['editor'];if(!_0x5c717d['plugins']['has']('Table'))return;_0x5c717d['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x46ae0b,_0x152ec1,_0x5c4aa6)=>{((_0x59f109,_0x1859e2,_0x228438)=>{if(!_0x228438['options']['showSuggestionHighlights'])return;const _0x6961cc=_0x1859e2['item'];if(!_0x6961cc||!_0x6961cc['is']('element','tableCell'))return;const _0x22c871=_0x228438['mapper']['toViewElement'](_0x6961cc);if(_0x22c871){const {id:_0x59c07b,authorId:_0x4a7185}=J(_0x1859e2['markerName']);_0xe83614(_0x22c871,_0x228438['writer'],(_0x51366d,_0x36942c,_0x2a752d)=>{_0x2a752d['addClass'](_0x8aec12(_0x36942c['classes']),_0x51366d),_0x2a752d['setAttribute']('data-suggestion',_0x59c07b,_0x51366d),_0x2a752d['setAttribute']('data-author-id',_0x4a7185,_0x51366d);});}})(0x0,_0x152ec1,_0x5c4aa6);},{'priority':'highest'});}},bt=class extends _0x508c2a{['afterInit'](){const _0x326b9a=this['editor'];_0x326b9a['plugins']['has']('HorizontalLineEditing')&&_0x326b9a['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x5bb8b8,{writer:_0x5589d4,options:_0x117342})=>{if(!_0x117342['showSuggestionHighlights'])return null;const _0x1f7a70=_0x5589d4['createContainerElement']('div'),_0x31d786=_0x5589d4['createEmptyElement']('hr');return _0x5589d4['addClass']('ck-horizontal-line',_0x1f7a70),_0x5589d4['insert'](_0x5589d4['createPositionAt'](_0x1f7a70,0x0),_0x31d786),_0x1f7a70;},'converterPriority':'high'});}},wt=class extends _0x508c2a{['afterInit'](){const {plugins:_0x5798fc,model:_0x1c811d}=this['editor'];if(!_0x5798fc['has']('TableCellPropertiesEditing'))return;const _0x38f2eb=_0x5798fc['get']('SuggestionsConversion');for(const _0x4f9069 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x38f2eb['registerBlockAttribute'](_0x4f9069);_0x1c811d['schema']['checkAttribute']('tableCell','tableCellType')&&_0x38f2eb['registerBlockAttribute']('tableCellType');}},vt=class extends _0x508c2a{['afterInit'](){const _0x3b8027=this['editor'];_0x3b8027['plugins']['has']('TableEditing')&&_0x3b8027['config']['get']('table.enableFooters')&&_0x3b8027['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x508c2a{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x34ac93=this['editor'],_0x49e26c=(_0x54e448,_0x104788,_0x45715e)=>{const {id:_0xeeed6f,authorId:_0x49ee41,type:_0x3650c9,subType:_0x548b6f}=J(_0x54e448['markerName']),_0x52c8bb=['ck-suggestion-marker',this['_getClassName'](_0x3650c9,_0x548b6f)];let _0x172f6d=0xbb8;return _0x45715e||this['_activeMarkers']['includes'](_0x54e448['markerName'])&&(_0x52c8bb['push']('ck-suggestion-marker--active'),_0x172f6d=0xbc2),'deletion'==_0x3650c9&&(_0x172f6d+=0x5),{'classes':_0x52c8bb,'attributes':{'data-suggestion':_0xeeed6f,'data-author-id':_0x49ee41},'priority':_0x172f6d};};_0x34ac93['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x45fd41,_0x1a7f8c)=>_0x49e26c(_0x45fd41,0x0,!0x1)}),_0x34ac93['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5d68e3,_0x308cc1)=>_0x49e26c(_0x5d68e3,0x0,!0x0)}),_0x34ac93['conversion']['for']('dataDowncast')['add'](_0x1adebc=>{_0x1adebc['on']('addMarker:suggestion',(_0x5959db,_0x57d53f,_0x3fe2bf)=>{if(!_0x3fe2bf['options']['showSuggestionHighlights'])return;const _0x3ce0ef=_0x57d53f['item'];if(!_0x3ce0ef)return;const _0x35fa69=_0x3fe2bf['mapper']['toViewElement'](_0x3ce0ef);_0x34ac93['model']['schema']['isObject'](_0x3ce0ef)&&_0x35fa69&&!_0x35fa69['getCustomProperty']('widget')&&_0x35fa69['is']('containerElement')&&_0xdb52e5(_0x35fa69,_0x3fe2bf['writer']);},{'priority':'high'});});const _0x1fc6d5=(_0x3e8293,_0x404559,_0x483ccd,_0x5c0486,_0x18fe13)=>{if(_0x5c0486&&!_0x483ccd['options']['showSuggestionHighlights'])return;if(!_0x404559['item'])return;const {id:_0x2914ac,authorId:_0x1503d3,subType:_0x483c95}=J(_0x404559['markerName']);if(_0x18fe13){const _0x388da5=_0x483c95['split']('|')[0x0];if(!this['isBlockAttribute'](_0x388da5))return;}if(_0x404559['item']['is']('selection'))return void _0x483ccd['consumable']['consume'](_0x404559['item'],_0x3e8293['name']);const _0xd89280=_0x483ccd['mapper']['toViewElement'](_0x404559['item']);if(_0x404559['item']['is']('element')&&_0x34ac93['model']['schema']['isBlock'](_0x404559['item'])&&!_0xd89280['getCustomProperty']('addHighlight')){_0x483ccd['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0xd89280),_0x483ccd['writer']['setAttribute']('data-suggestion',_0x2914ac,_0xd89280),_0x483ccd['writer']['setAttribute']('data-author-id',_0x1503d3,_0xd89280),_0x483ccd['mapper']['bindElementToMarker'](_0xd89280,_0x404559['markerName']),_0x5c0486||(this['_activeMarkers']['includes'](_0x404559['markerName'])?_0x483ccd['writer']['addClass']('ck-suggestion-marker--active',_0xd89280):_0x483ccd['writer']['removeClass']('ck-suggestion-marker--active',_0xd89280));for(const _0x378da6 of _0x34ac93['model']['createRangeIn'](_0x404559['item'])['getItems']())_0x483ccd['consumable']['consume'](_0x378da6,_0x3e8293['name']);_0x483ccd['consumable']['consume'](_0x404559['item'],_0x3e8293['name']);}},_0x3958d7=(_0x5ea7cb,_0x287d13,_0x5d3f99,_0x2ae211)=>{const _0x364ef7=_0x5d3f99['mapper']['markerNameToElements'](_0x287d13['markerName']);if(_0x364ef7){if(_0x2ae211){const {subType:_0x26986f}=J(_0x287d13['markerName']),_0x46d514=_0x26986f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x46d514))return;}for(const _0x5c9887 of _0x364ef7)_0x5c9887['getCustomProperty']('addHighlight')||(_0x5d3f99['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5c9887),_0x5d3f99['writer']['removeAttribute']('data-suggestion',_0x5c9887),_0x5d3f99['writer']['removeAttribute']('data-author-id',_0x5c9887),_0x5d3f99['mapper']['unbindElementFromMarkerName'](_0x5c9887,_0x287d13['markerName']));}};_0x34ac93['conversion']['for']('editingDowncast')['add'](_0x4ffec6=>{_0x4ffec6['on']('addMarker:suggestion:formatBlock',(_0x584d63,_0x32e64a,_0x19994a)=>{_0x1fc6d5(_0x584d63,_0x32e64a,_0x19994a,!0x1,!0x1);},{'priority':'high'});}),_0x34ac93['conversion']['for']('editingDowncast')['add'](_0x1b4d21=>{_0x1b4d21['on']('addMarker:suggestion:attribute',(_0x22482d,_0xe5fd20,_0x2673d0)=>{_0x1fc6d5(_0x22482d,_0xe5fd20,_0x2673d0,!0x1,!0x0);},{'priority':'high'});}),_0x34ac93['conversion']['for']('editingDowncast')['add'](_0x320f87=>{_0x320f87['on']('removeMarker:suggestion:formatBlock',(_0x289f2e,_0x110f82,_0x500808)=>{_0x3958d7(0x0,_0x110f82,_0x500808,!0x1);},{'priority':'high'});}),_0x34ac93['conversion']['for']('editingDowncast')['add'](_0x41d0fe=>{_0x41d0fe['on']('removeMarker:suggestion:attribute',(_0x4b2d59,_0x1f25cd,_0x157c39)=>{_0x3958d7(0x0,_0x1f25cd,_0x157c39,!0x0);},{'priority':'high'});}),_0x34ac93['conversion']['for']('dataDowncast')['add'](_0x4431ba=>{_0x4431ba['on']('addMarker:suggestion:formatBlock',(_0x31a888,_0x2cc914,_0x3d6d35)=>{_0x1fc6d5(_0x31a888,_0x2cc914,_0x3d6d35,!0x0,!0x1);},{'priority':'highest'});}),_0x34ac93['conversion']['for']('dataDowncast')['add'](_0x93d37=>{_0x93d37['on']('addMarker:suggestion:attribute',(_0x2aa74c,_0x49bc7d,_0x4b571c)=>{_0x1fc6d5(_0x2aa74c,_0x49bc7d,_0x4b571c,!0x0,!0x0);},{'priority':'highest'});}),_0x34ac93['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x3481fc,_0x4e7211)=>_0x4e7211['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x3481fc['substr'](0xb)}});const _0x2d1975=(_0x4ca57d,_0x314c62,_0x94acf7,_0x40d1f8,_0x3de10a)=>{if(_0x40d1f8&&!_0x94acf7['options']['showSuggestionHighlights'])return;if(!_0x94acf7['consumable']['test'](_0x314c62['markerRange'],_0x4ca57d['name']))return;const _0x3e3e58=this['_activeMarkers'],_0x1d29b5=_0x314c62['markerRange']['getWalker'](),_0x4cd4cb=_0x314c62['markerRange']['start'],_0x283108=_0x34ac93['model']['schema'];let _0x46b81a=null,_0x3feb91=null,_0x40f721=!0x1,_0x425a6a=!0x1;for(const _0x9e8799 of _0x1d29b5){const _0x27340c=_0x9e8799['item'];_0x40f721=_0x40f721||_0x283108['isContent'](_0x27340c);const _0x241a50=_0x94acf7['mapper']['toViewElement'](_0x27340c);if(_0x241a50&&_0x241a50['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x9e8799['type']&&(_0x283108['isBlock'](_0x27340c)&&!_0x283108['isLimit'](_0x27340c)&&(_0x27340c['nextSibling']||_0x4cd4cb['isAtEnd']?_0x46b81a&&_0x46b81a['parent']==_0x27340c||(_0x46b81a=_0x27340c,_0x2dc9ca(_0x9e8799['previousPosition']),_0x425a6a=!0x0):_0x3feb91=_0x3feb91||_0x9e8799['previousPosition']));}function _0x2dc9ca(_0x58b4c0){const {id:_0xe0ce22,authorId:_0xafad03}=J(_0x314c62['markerName']),_0x4cef55=_0x94acf7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3de10a,'data-suggestion':_0xe0ce22,'data-author-id':_0xafad03}),_0x48b2e2=_0x94acf7['mapper']['toViewPosition'](_0x58b4c0);!_0x40d1f8&&_0x3e3e58['includes'](_0x314c62['markerName'])&&_0x94acf7['writer']['addClass']('ck-suggestion-marker--active',_0x4cef55),_0x94acf7['writer']['insert'](_0x48b2e2,_0x4cef55),_0x94acf7['mapper']['bindElementToMarker'](_0x4cef55,_0x314c62['markerName']);}_0x40f721||_0x425a6a||!_0x3feb91||_0x2dc9ca(_0x3feb91);};_0x34ac93['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4bb05c,_0x544967,_0x55903d)=>{_0x2d1975(_0x4bb05c,_0x544967,_0x55903d,!0x1,'merge');},{'priority':'high'}),_0x34ac93['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1745db,_0x3a7c6f,_0x4077a4)=>{_0x2d1975(_0x1745db,_0x3a7c6f,_0x4077a4,!0x0,'merge');},{'priority':'high'}),_0x34ac93['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5f3413,_0x5dcced,_0x4f5bd1)=>{_0x2d1975(_0x5f3413,_0x5dcced,_0x4f5bd1,!0x1,'split');},{'priority':'high'}),_0x34ac93['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1e8bf2,_0x14d856,_0x2c38a8)=>{_0x2d1975(_0x1e8bf2,_0x14d856,_0x2c38a8,!0x0,'split');},{'priority':'high'}),_0x34ac93['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x29f5b4,_0x2f51e1,_0x3705a2)=>{((_0x4750dd,_0x56f7fc,_0x5deb69)=>{const _0x7f6a7b=_0x5deb69['mapper']['markerNameToElements'](_0x56f7fc['markerName']);if(_0x7f6a7b){for(const _0x2db7a7 of _0x7f6a7b)(_0x2db7a7['hasClass']('ck-suggestion-marker-split')||_0x2db7a7['hasClass']('ck-suggestion-marker-merge'))&&(_0x5deb69['mapper']['unbindElementFromMarkerName'](_0x2db7a7,_0x56f7fc['markerName']),_0x5deb69['writer']['remove'](_0x2db7a7));}})(0x0,_0x2f51e1,_0x3705a2);},{'priority':'high'});const _0x21510b=(_0x3e86aa,_0x5c1695,_0xa5eb74,_0x104252)=>{if(_0x104252&&!_0xa5eb74['options']['showSuggestionHighlights'])return;const _0x1ffa98=_0x5c1695['markerRange']['start'],_0x2fb845=_0x5c1695['markerRange']['end'],_0x387f08=_0x34ac93['model']['schema'];if(!_0x1ffa98['isTouching'](_0x2fb845)||!_0x1ffa98['nodeAfter'])return;const _0x5df012=_0x1ffa98['nodeAfter'];if(_0x387f08['isBlock'](_0x5df012)&&!_0x387f08['isLimit'](_0x5df012)&&_0x387f08['checkChild'](_0x5df012,'$text')){if(!_0xa5eb74['consumable']['consume'](_0x5c1695['markerRange'],_0x3e86aa['name']))return;const {id:_0x56b803,authorId:_0x160898}=J(_0x5c1695['markerName']),_0x381588=_0xa5eb74['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x56b803,'data-author-id':_0x160898}),_0x2abd6b=_0xa5eb74['mapper']['toViewPosition'](_0x2fb845);!_0x104252&&this['_activeMarkers']['includes'](_0x5c1695['markerName'])&&_0xa5eb74['writer']['addClass']('ck-suggestion-marker--active',_0x381588),_0xa5eb74['writer']['insert'](_0x2abd6b,_0x381588),_0xa5eb74['mapper']['bindElementToMarker'](_0x381588,_0x5c1695['markerName']);}};_0x34ac93['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5219c6,_0x4d4039,_0x3a7b29)=>{_0x21510b(_0x5219c6,_0x4d4039,_0x3a7b29,!0x1);},{'priority':'high'}),_0x34ac93['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x42ae16,_0xc259e0,_0x2ec55a)=>{_0x21510b(_0x42ae16,_0xc259e0,_0x2ec55a,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x6d531e,_0x5e7fb1,_0x3c215d)=>{this['_activeMarkers']=_0x3c215d['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x58e454){this['_blockAttributeKeys']['add'](_0x58e454);}['registerInlineAttribute'](_0x437ba8){this['_inlineAttributeKeys']['add'](_0x437ba8);}['isBlockAttribute'](_0x126088){return this['_blockAttributeKeys']['has'](_0x126088);}['isInlineAttribute'](_0x54cc05){return this['_inlineAttributeKeys']['has'](_0x54cc05);}['isRegisteredAttribute'](_0x18bcfa){return this['isInlineAttribute'](_0x18bcfa)||this['isBlockAttribute'](_0x18bcfa);}['_getClassName'](_0x414768,_0x360196){if('attribute'!=_0x414768)return'ck-suggestion-marker-'+_0x414768;const _0x59b0ed=_0x360196['split']('|')[0x0];return this['isBlockAttribute'](_0x59b0ed)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x1e9e45={},_0x33109b){if(void 0x0!==_0x1e9e45['dateTimeFormat']&&'function'!=typeof _0x1e9e45['dateTimeFormat'])throw new _0x20defa('invalid-date-time-format');return _0x4882c0=>{const _0x12e19f='string'==typeof _0x4882c0?_0x42f093['fromISO'](_0x4882c0):_0x42f093['fromJSDate'](_0x4882c0),_0x113763=_0x42f093['now'](),_0x26781a=Math['floor'](_0x113763['diff'](_0x12e19f,'days')['days']);return _0x1e9e45['dateTimeFormat']?_0x1e9e45['dateTimeFormat'](_0x12e19f['toJSDate'](),_0x33109b&&_0x33109b['t']?_0x33109b['t']:void 0x0):0x0===_0x26781a?_0x33109b?D(_0x33109b,'Today')+'\x20'+_0x12e19f['toFormat']('hh:mma'):_0x12e19f['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x26781a?_0x33109b?D(_0x33109b,'Yesterday')+'\x20'+_0x12e19f['toFormat']('hh:mma'):_0x12e19f['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x26781a<0x7?_0x33109b?D(_0x33109b,'Last')+'\x20'+D(_0x33109b,_0x12e19f['toFormat']('EEEE'))+'\x20'+_0x12e19f['toFormat']('hh:mma'):_0x12e19f['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x12e19f['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x1237f7,_0x21d21d){const _0x3851a4=_0x1237f7['mapper']['markerNameToElements'](_0x21d21d['name']);if(!_0x3851a4)return null;const _0x36af01=_0x2cdb76(_0x3851a4['values']());return _0x1237f7['view']['domConverter']['mapViewToDom'](_0x36af01)||null;}function It(_0x2dcae1,_0x1967af){if(0x0===_0x1967af['length'])return null;const _0x4be2e1=[],_0x436304=_0x2dcae1['view']['domConverter'];for(const _0x4d4f74 of _0x1967af){const _0x38c53b=_0x2dcae1['mapper']['markerNameToElements'](_0x4d4f74['name']);if(!_0x38c53b)continue;const _0x5ab3aa=Array['from'](_0x38c53b)['map'](_0x18fb12=>_0x436304['mapViewToDom'](_0x18fb12))['filter'](_0x227ce1=>!!_0x227ce1);_0x4be2e1['push'](..._0x5ab3aa);}if(0x0===_0x4be2e1['length'])return null;const _0x430660=[];for(const _0x4dd12f of _0x4be2e1){const _0x217e68=_0x4dd12f['getClientRects']()['item'](0x0);_0x217e68&&_0x430660['push']({'x':_0x217e68['x'],'y':_0x217e68['y'],'domElement':_0x4dd12f});}return 0x0===_0x430660['length']?null:(_0x430660['sort']((_0x4b8a2d,_0x17a0b7)=>_0x4b8a2d['y']-_0x17a0b7['y']||_0x4b8a2d['x']-_0x17a0b7['x']),_0x430660['map'](_0x3d36fc=>_0x3d36fc['domElement']));}function St(_0x2ebe6a,{limit:_0x7f227e,suffix:_0x49629f='...'}){const _0x1d593f=[];let _0xae90af=0x0;const _0xfa762b=_0x2ebe6a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3d99ef=0x0;_0x3d99ef<_0xfa762b['length'];_0x3d99ef++){let _0x4ab63f=_0xfa762b[_0x3d99ef];const _0x5289da=Et(_0x4ab63f);if(_0x4ab63f['startsWith']('<')){if(_0xae90af>=_0x7f227e){const _0x4bc5a3=_0x4ab63f['match'](/[a-zA-Z]+/);if(!_0x4bc5a3){_0xfa762b[_0x3d99ef]='';continue;}const _0x4c7781=_0x4bc5a3[0x0];_0x4ab63f['startsWith']('</')?(_0x1d593f['length']&&(_0x4ab63f=''),_0x1d593f['pop']()):(_0x1d593f['push'](_0x4c7781),_0x4ab63f='');}}else{if(_0xae90af>=_0x7f227e)_0x4ab63f='';else{if(_0xae90af+_0x5289da['length']>=_0x7f227e){let _0x3f9879=_0x7f227e-_0xae90af;if('\x20'===_0x5289da[_0x3f9879-0x1])_0x3f9879--;else{const _0x6cdac7=_0x5289da['slice'](_0x3f9879)['indexOf']('\x20');-0x1!==_0x6cdac7?_0x3f9879+=_0x6cdac7:_0x3f9879=_0x4ab63f['length'];}_0x4ab63f=_0x5289da['slice'](0x0,_0x3f9879)['join']('')+_0x49629f,_0xae90af=_0x7f227e;}else _0xae90af+=_0x5289da['length'];}}_0xfa762b[_0x3d99ef]=_0x4ab63f;}return _0xfa762b['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x5b7173){const _0xe693d1=[];for(let _0x549fe8=0x0;_0x549fe8<_0x5b7173['length'];_0x549fe8++){const _0x5abd95=_0x5b7173['substring'](_0x549fe8)['match'](/^&[a-z0-9#]+;/);if(_0x5abd95){const _0x51cd8b=_0x5abd95[0x0];_0xe693d1['push'](_0x51cd8b),_0x549fe8+=_0x51cd8b['length']-0x1;}else _0xe693d1['push'](_0x5b7173[_0x549fe8]);}return _0xe693d1;}var Mt=class extends _0x2c5d06{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x45c583){super(_0x45c583);const _0x119e8b=this['bindTemplate'];this['set']('message',D(_0x45c583,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x45c583,D(_0x45c583,'Yes'),_0x5e01b0,'submit'),this['cancelView']=this['_createButtonView'](_0x45c583,D(_0x45c583,'No'),_0x43008a,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x1946e7(),this['keystrokes']=new _0x2147e4(),this['focusCycler']=new _0x1e21b9({'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':_0x119e8b['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'](_0x32d7cd,_0x31def9,_0x24aaf0,_0x5b3c85){const _0x576c5d=new _0x2d84a1(_0x32d7cd);return _0x576c5d['label']=_0x31def9,_0x576c5d['icon']=_0x24aaf0,_0x576c5d['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x5b3c85}}),_0x576c5d['on']('execute',()=>this['fire'](_0x5b3c85)),_0x576c5d;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x368759=>{this['keystrokes']['listenTo'](_0x368759['element']),this['focusTracker']['add'](_0x368759['element']);}),this['keystrokes']['set']('esc',(_0x50c3fd,_0x97af20)=>{this['fire']('cancel'),_0x97af20();});}};function At(_0x52adb6){return class _0x43cec8 extends _0x52adb6{['showConfirm'](_0x4bc026,_0x4a969b){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x4bc026,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4a969b['appendChild'](this['confirmView']['element']),_0x4a969b['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2e85b3,_0x54f2b7,_0x24b0dc)=>{_0x24b0dc||_0x4a969b['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5d5e5d=>this['confirmView']['on']('submit',_0x5d5e5d));}['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 Tt(_0x396d7c){let _0x2e78d8=0x0,_0x3cc7e=0x0;for(const _0x2293e5 of Nt(_0x396d7c))_0x2e78d8=(_0x2e78d8<<0x5)-_0x2e78d8+_0x2293e5,_0x2e78d8&=_0x2e78d8,[_0x2e78d8,_0x3cc7e]=[_0x3cc7e,_0x2e78d8];return Bt(_0x2e78d8)+Bt(_0x3cc7e);}function*Pt(_0x28a3e3){null==_0x28a3e3||null==_0x28a3e3?yield 0x12b9b0a1:0x0===_0x28a3e3||!0x1===_0x28a3e3?yield 0x0:0x1===_0x28a3e3||0x1==_0x28a3e3?yield 0x1:Array['isArray'](_0x28a3e3)?yield*function*(_0x50847e){for(const _0x5b0fe1 of _0x50847e)yield*Pt(_0x5b0fe1);}(_0x28a3e3):'object'==typeof _0x28a3e3?yield*Nt(_0x28a3e3):'string'==typeof _0x28a3e3?yield*Vt(_0x28a3e3):'number'==typeof _0x28a3e3&&(yield _0x28a3e3);}function*Nt(_0x18e399){if(yield Ot('{'),_0x18e399){const _0x2b918b=Object['keys'](_0x18e399)['sort']();for(const _0x2f83d9 of _0x2b918b){yield*Vt(_0x2f83d9),yield Ot(':');const _0x580732=_0x18e399[_0x2f83d9];yield*Pt(_0x580732);}}yield Ot('}');}function*Vt(_0x1a7aa2){yield Ot('\x22');for(const _0x2767f6 of _0x1a7aa2)yield Ot(_0x2767f6);yield Ot('\x22');}function Ot(_0x1231af){return _0x1231af['charCodeAt'](0x0);}function Bt(_0x3a4e2a){return(_0x3a4e2a*=Math['sign'](_0x3a4e2a))['toString'](0x24);}const Dt=['root','roots','initialData','context','toolbar','rootsAttributes'],$t=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x186b6c,_0x11989c,_0x2c9f9d,_0x48f58e=[]){const _0x5b799d='string'==typeof _0x186b6c?_0x2c9f9d['get'](_0x186b6c)['constructor']:_0x186b6c['prototype']['constructor'];if(_0x11989c['has'](_0x5b799d))return _0x11989c['get'](_0x5b799d);_0x11989c['set'](_0x5b799d,!0x0);const _0x2fbd7e=[...$t,..._0x48f58e]['map'](_0x2f7bb9=>{if(_0x2c9f9d['has'](_0x2f7bb9))return _0x2c9f9d['get'](_0x2f7bb9)['constructor'];})['filter'](_0x3e9c7e=>_0x3e9c7e);if(_0x5b799d&&_0x2fbd7e['includes'](_0x5b799d))return _0x11989c['set'](_0x5b799d,!0x1),!0x1;if(!_0x5b799d['requires'])return _0x11989c['set'](_0x5b799d,!0x0),!0x0;const _0x7dd236=_0x5b799d['requires']['every'](_0x238d7d=>Lt(_0x238d7d,_0x11989c,_0x2c9f9d,_0x48f58e));return _0x11989c['set'](_0x5b799d,_0x7dd236),_0x7dd236;}function Rt(_0x32cd94,_0x265510){const _0x303f0f={};for(const _0x24c42c of _0x32cd94['config']['names']())Dt['includes'](_0x24c42c)||(_0x303f0f[_0x24c42c]=_0x32cd94['config']['get'](_0x24c42c));const _0x572db0=_0x303f0f['plugins']||[],_0x1af0d1=_0x32cd94['constructor']['builtinPlugins']||[],_0x47c368=_0x572db0['length']?_0x572db0:_0x1af0d1,_0x22e854=_0x303f0f['extraPlugins']||[];delete _0x303f0f['extraPlugins'];const _0x36abee=_0x303f0f['removePlugins']||[];delete _0x303f0f['removePlugins'];const _0x1f3535=_0x32cd94['_context']['config']['get']('plugins')||[],_0x3839d1=_0x47c368['concat'](_0x22e854)['concat'](_0x1f3535)['map'](_0x572814=>'string'==typeof _0x572814?_0x1af0d1['find'](_0x3a55e9=>_0x3a55e9['pluginName']==_0x572814):_0x572814)['filter'](_0x35b9c2=>!_0x36abee['includes'](_0x35b9c2)&&!_0x36abee['includes'](_0x35b9c2['pluginName'])),_0x56b9b1=Array['from'](new Set(_0x3839d1)),_0x394a67=new Map();return _0x303f0f['plugins']=_0x56b9b1['filter'](_0x531577=>Lt(_0x531577,_0x394a67,_0x32cd94['plugins'],_0x265510)),_0x303f0f;}function Ft(_0xd8434f,_0x4cdb4c){const _0x1266f9=[];_0xd8434f['document']['selection']['on']('change:range',()=>{const _0x25a8d5=function(_0x7604a,_0x13c902){const _0x525081=[];for(const _0x58419b of _0x7604a['markers']){const _0xcc7568=_0x58419b['getRange']();(_0xcc7568['containsPosition'](_0x13c902)||_0xcc7568['start']['isEqual'](_0x13c902)||_0xcc7568['end']['isEqual'](_0x13c902))&&_0x525081['push'](_0x58419b);}return _0x525081;}(_0xd8434f,_0xd8434f['document']['selection']['focus']),_0x3a1b47=[],_0x153305=[],_0x4f7270=[];for(const _0x3b381 of _0x1266f9)_0x25a8d5['includes'](_0x3b381)||_0x3a1b47['push'](_0x3b381);for(const _0x3385b0 of _0x25a8d5)_0x1266f9['includes'](_0x3385b0)||_0x153305['push'](_0x3385b0),_0x4f7270['push'](_0x3385b0);(_0x3a1b47['length']||_0x153305['length'])&&_0x4cdb4c({'left':_0x3a1b47,'entered':_0x153305}),_0x1266f9['length']=0x0,_0x1266f9['push'](..._0x4f7270);});}const Ht='Ctrl+Shift+E';function Ut(_0x4ccc96,_0x4bcbd3){const _0x12e17d=_0x4ccc96['element'];_0x4ccc96['keystrokes']['listenTo'](_0x12e17d);for(const _0x5f16e6 of _0x4bcbd3)zt(_0x4ccc96,_0x5f16e6);_0x4bcbd3['on']('change',(_0x47b758,_0x5349db)=>{for(const _0x1e2ab8 of _0x5349db['removed'])Wt(_0x4ccc96,_0x1e2ab8);for(const _0x3c6031 of Array['from'](_0x5349db['added'])['reverse']())zt(_0x4ccc96,_0x3c6031);}),_0x4ccc96['keystrokes']['set']('enter',(_0x2b68c3,_0x5a957e)=>{_0x12e17d===_0x2b68c3['target']&&(_0x4ccc96['focusCycler']['focusFirst'](),_0x5a957e());},{'filter':_0x173f53=>_0x173f53['target']===_0x12e17d}),_0x4ccc96['keystrokes']['set']('esc',(_0xf9ab24,_0x85f938)=>{_0x12e17d!==_0xf9ab24['target']?_0x4ccc96['focus']():_0x4ccc96['fire']('escape'),_0x85f938();}),_0x4ccc96['keystrokes']['set']('arrowdown',(_0x1c62b4,_0x43dfc1)=>{_0x12e17d===_0x1c62b4['target']&&(_0x4ccc96['fire']('arrowdown'),_0x43dfc1());}),_0x4ccc96['keystrokes']['set']('arrowup',(_0xf48b7f,_0x41b1bd)=>{_0x12e17d===_0xf48b7f['target']&&(_0x4ccc96['fire']('arrowup'),_0x41b1bd());});}function zt(_0x66123d,_0x2997fa){_0x2997fa['isRendered']&&(_0x66123d['focusTracker']['add'](_0x2997fa['element']),_0x66123d['keystrokes']['listenTo'](_0x2997fa['element']),_0xfe1a05(_0x2997fa)&&function(_0x3fa73b,_0x57b87e){const _0x56ae66=_0x3fa73b['actions'],_0x1cb496=_0x57b87e['actions'];for(const _0x100252 of Object['keys'](_0x56ae66))if(_0x100252 in _0x1cb496&&_0x56ae66[_0x100252]!==_0x1cb496[_0x100252])return!0x1;return!0x0;}(_0x66123d['focusCycler'],_0x2997fa['focusCycler'])&&_0x66123d['focusCycler']['chain'](_0x2997fa['focusCycler']));}function Wt(_0x3c621f,_0x413e04){_0x3c621f['focusTracker']['remove'](_0x413e04['element']),_0x3c621f['keystrokes']['stopListening'](_0x413e04['element']),_0xfe1a05(_0x413e04)&&_0x3c621f['focusCycler']['unchain'](_0x413e04['focusCycler']);}const Yt='$elementId',jt='data-id';var Jt=class extends _0x2181a4{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2650b8?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0xfa0d7a,_0xd0bb8d)=>{_0xd0bb8d['on']('ready',()=>{this['_integrateEditor'](_0xd0bb8d);});});}get['editor'](){if(this['context']instanceof _0x2650b8)return this['context'];{const _0x58017d=this['context']['editors']['first'];if(!_0x58017d)throw new _0x20defa('documentcompare-no-editor',this);return _0x58017d;}}['getDiff'](_0x3c0089,_0x182762,_0x238927={'anchor':'main','markDeletions':!0x1}){const _0x4a4817=_0x238927['targetEditor']||this['editor'],_0x95af84=_0x238927['anchor']??'main';let _0x3e2300,_0x2552d0;if('string'==typeof _0x95af84){const _0x48cf5d=_0x4a4817['model']['document']['getRoot'](_0x95af84);if(!_0x48cf5d)throw new _0x20defa('documentcompare-compare-no-root',this,{'anchor':_0x95af84});_0x3e2300=_0x48cf5d,_0x2552d0=_0x4a4817['model']['createPositionAt'](_0x48cf5d,0x0);}else _0x3e2300=_0x95af84['clone'](),_0x2552d0=_0x95af84['clone']();return new Gt({'editor':_0x4a4817,'before':_0x4a4817['data']['parse'](_0x3c0089,_0x3e2300),'after':_0x4a4817['data']['parse'](_0x182762,_0x3e2300),'options':{'anchor':_0x2552d0,'markDeletions':_0x238927['markDeletions']}});}['isMarkedRemoveOperation'](_0x4eabc9){return'marker'==_0x4eabc9['type']&&_0x4eabc9['name']['startsWith']('$markedRemove');}['applyOperations'](_0x2d3c0f,_0x1762a9){const _0x3160cc=_0x2d3c0f['model'];for(const _0x47a272 of _0x1762a9)_0x47a272 instanceof _0x41fb9e?_0x2d3c0f['_addOperationForAffectedMarkers']('move',_0x30d6bf['_createFromPositionAndShift'](_0x47a272['sourcePosition'],_0x47a272['howMany'])):_0x47a272 instanceof _0x57e1f0?_0x2d3c0f['_addOperationForAffectedMarkers']('merge',_0x47a272['deletionPosition']):_0x47a272 instanceof _0x23905b&&this['_fixMarkerOperationOldRange'](_0x3160cc,_0x47a272),_0x47a272['baseVersion']=_0x3160cc['document']['version'],_0x2d3c0f['batch']['addOperation'](_0x47a272),_0x3160cc['applyOperation'](_0x47a272);}['_fixMarkerOperationOldRange'](_0x56ac2b,_0x59e173){const _0x14b5a5=_0x56ac2b['markers']['get'](_0x59e173['name']);_0x14b5a5&&(_0x59e173['oldRange']=_0x14b5a5['getRange']());}['_integrateEditor'](_0x422dda){_0x422dda['conversion']['for']('upcast')['add'](_0x306f29=>{_0x306f29['on']('element',(_0x18ecc,_0x58d286,_0x2d2a6e)=>{if(_0x58d286['modelRange']&&_0x2d2a6e['consumable']['consume'](_0x58d286['viewItem'],{'attributes':'data-id'}))for(const _0x3900c7 of _0x58d286['modelRange']['getItems']({'shallow':!0x0})){if(_0x3900c7['is']('$textProxy'))continue;const _0x558943=_0x58d286['viewItem']['getAttribute'](jt);_0x558943&&_0x2d2a6e['writer']['setAttribute'](Yt,_0x558943,_0x3900c7);}},{'priority':'low'});}),_0x422dda['model']['schema']['addAttributeCheck'](()=>!0x0,Yt);}},Gt=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x571802,before:_0x15dcfb,after:_0x525b1b,options:_0x531b50}){this['_editor']=_0x571802,this['_markDeletions']=!!_0x531b50['markDeletions'],this['_anchor']=_0x531b50['anchor'];const _0x5b2600=this['_tokenizeModel'](_0x15dcfb),_0xb23b52=this['_tokenizeModel'](_0x525b1b);this['_diffItems']=this['_diffModelTokens'](_0x5b2600,_0xb23b52),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x15dcfb['markers'],_0x525b1b['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x3acc9f=this['_editor']['model']['document'],_0x38175e=[];let _0x449608=_0x3acc9f['version'];for(const _0x40b8d8 of this['_operationsData'])switch(_0x40b8d8['type']){case'attribute':{const _0x1459d1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['path']),_0x525c0b=new _0x30d6bf(_0x1459d1,_0x1459d1['getShiftedBy'](_0x40b8d8['howMany'])),_0x375cc6=JSON['parse'](_0x40b8d8['oldValue']),_0x49bce1=JSON['parse'](_0x40b8d8['newValue']);_0x38175e['push'](new _0x33797f(_0x525c0b,_0x40b8d8['key'],_0x375cc6,_0x49bce1,_0x449608++));break;}case'insert':{const _0x252ea0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['path']),_0x40354e=this['_makeModelFromTokens'](_0x40b8d8['tokens']);_0x38175e['push'](new _0x48c702(_0x252ea0,_0x40354e,_0x449608++));break;}case'remove':{const _0xa2dd37=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['path']),_0x5fef1a=new _0x34e154(_0x3acc9f['graveyard'],[0x0]);_0x38175e['push'](new _0x41fb9e(_0xa2dd37,_0x40b8d8['howMany'],_0x5fef1a,_0x449608++));break;}case'rename':{const _0x22135f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['path']);_0x38175e['push'](new _0x20951c(_0x22135f,_0x40b8d8['oldName'],_0x40b8d8['newName'],_0x449608++));break;}case'split':{const _0x1a17e1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['path']),_0x1ad91b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['path']['slice'](0x0,-0x1));_0x1ad91b['offset']++,_0x38175e['push'](new _0x28111e(_0x1a17e1,Number['NEGATIVE_INFINITY'],_0x1ad91b,null,_0x449608++));break;}case'merge':{const _0x1a3f16=_0x40b8d8['path']['slice'](),_0x20ae81=_0x1a3f16['slice'](0x0,-0x1);_0x20ae81[_0x20ae81['length']-0x1]++,_0x20ae81['push'](0x0);const _0x4e3bf3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x20ae81),_0x480799=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1a3f16),_0x134408=new _0x34e154(_0x3acc9f['graveyard'],[0x0]);_0x38175e['push'](new _0x57e1f0(_0x4e3bf3,Number['NEGATIVE_INFINITY'],_0x480799,_0x134408,_0x449608++));break;}case'marker':case'markedRemove':{let _0x46f837=null;_0x40b8d8['range']&&(_0x46f837=new _0x30d6bf(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['range']['end'])));const _0x909c17='marker'==_0x40b8d8['type']?_0x40b8d8['name']:'$markedRemove:'+_0x5be2e1();_0x38175e['push'](new _0x23905b(_0x909c17,null,_0x46f837,_0x3acc9f['model']['markers'],!0x0,_0x449608++));break;}case'unwrap':{const _0x514713=_0x40b8d8['path']['slice']();_0x514713['push'](0x0);const _0x3b0d69=_0x40b8d8['path']['slice'](),_0x9b2913=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x514713),_0x34defd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3b0d69),_0x348301=new _0x34e154(_0x3acc9f['graveyard'],[0x0]);_0x38175e['push'](new _0x41fb9e(_0x9b2913,_0x40b8d8['howMany'],_0x34defd,_0x449608++)),_0x38175e['push'](new _0x41fb9e(_0x34defd['getShiftedBy'](_0x40b8d8['howMany']),0x1,_0x348301,_0x449608++));break;}case'wrap':{const _0x2ee422=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['range']['start']),_0x2abcff=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x40b8d8['range']['end']),_0x450cfa=_0x40b8d8['token']['element']['_clone'](!0x1);_0x450cfa['_removeAttribute'](Yt);const _0x51dbe1=_0x40b8d8['range']['end']['slice']();_0x51dbe1['push'](0x0);const _0x46e070=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x51dbe1);_0x38175e['push'](new _0x48c702(_0x2abcff,_0x450cfa,_0x449608++)),_0x38175e['push'](new _0x41fb9e(_0x2ee422,_0x2abcff['offset']-_0x2ee422['offset'],_0x46e070,_0x449608++));break;}}return _0x38175e;}['_tokenizeModel'](_0x397bce){const _0x44b38c=[],_0x81178e=new _0x559ec8({'boundaries':_0x30d6bf['_createIn'](_0x397bce)});let _0xf4c904='',_0x193e46=null;const _0x4067a1=[''],_0x222ba8=new Map();for(const _0x4c3ce7 of _0x81178e)if('elementStart'==_0x4c3ce7['type']||'elementEnd'==_0x4c3ce7['type']){let _0x329c9c=_0x4067a1[0x0];''!==_0xf4c904&&(_0x44b38c['push'](...this['_makeTokensFromTextByWords'](_0xf4c904,_0x193e46,_0x329c9c)),_0xf4c904='');const _0x141c9c=_0x4c3ce7['item'];let _0x3e863f;_0x141c9c['getAttribute']('$elementId')?_0x3e863f=_0x141c9c['getAttribute'](Yt):'elementStart'==_0x4c3ce7['type']?(_0x3e863f=qt(_0x141c9c),_0x222ba8['set'](_0x141c9c,_0x3e863f)):_0x3e863f=_0x222ba8['get'](_0x141c9c);const _0x134d04=this['_getElementCategory'](_0x141c9c);'solid'==_0x134d04&&('elementStart'==_0x4c3ce7['type']?(_0x329c9c=_0x3e863f,_0x4067a1['unshift'](_0x329c9c)):_0x4067a1['shift']());const _0x3d42d2={'type':'element','element':_0x141c9c,'elementId':_0x3e863f,'category':_0x134d04,'isStart':'elementStart'==_0x4c3ce7['type'],'limitId':_0x329c9c};_0x44b38c['push'](_0x3d42d2);}else''==_0xf4c904&&(_0x193e46=_0x4c3ce7['previousPosition']['clone']()),_0xf4c904+=_0x4c3ce7['item']['data'];return''!==_0xf4c904&&_0x44b38c['push'](...this['_makeTokensFromTextByWords'](_0xf4c904,_0x193e46,_0x4067a1[0x0])),_0x44b38c;}['_makeTokensFromTextByWords'](_0x2f1276,_0x1af182,_0x14f06e){const _0x56fb91=_0x2f1276['matchAll'](/(\s)/g),_0x45d28b=Array['from'](_0x56fb91)['map'](_0x2e58cc=>_0x2e58cc['index']);_0x45d28b['push'](_0x2f1276['length']),0x0==_0x45d28b[0x0]&&_0x45d28b['shift']();const _0x2a4366=[],_0x4960d7=_0x1af182['parent'];let _0x3bc644=0x0,_0x59ccc9=_0x1af182['offset'];for(let _0x3baae5=0x0;_0x3baae5<_0x45d28b['length'];_0x3baae5++)_0x2a4366['push']({'type':'text','data':_0x2f1276['slice'](_0x3bc644,_0x45d28b[_0x3baae5]),'parent':_0x4960d7,'offset':_0x59ccc9,'limitId':_0x14f06e}),_0x3bc644=_0x45d28b[_0x3baae5],_0x59ccc9=_0x1af182['offset']+_0x45d28b[_0x3baae5];return _0x2a4366;}['_getElementCategory'](_0x5d9d18){const _0x4589b1=this['_editor']['model']['schema'];return _0x4589b1['isLimit'](_0x5d9d18)||_0x4589b1['isContent'](_0x5d9d18)||_0x4589b1['isInline'](_0x5d9d18)?'solid':_0x4589b1['isBlock'](_0x5d9d18)?'block':function(_0x3f4f3a,_0x8ec533){const _0x46e7f5=_0x3f4f3a['parent'];if(!_0x46e7f5||_0x46e7f5['is']('documentFragment'))return!0x1;if(_0x8ec533['checkChild'](_0x46e7f5,'$text'))return!0x1;for(const _0x2e42eb of _0x3f4f3a['getChildren']())if(_0x2e42eb['is']('$text'))return!0x0;return!0x1;}(_0x5d9d18,_0x4589b1)?'solid':'container';}['_diffModelTokens'](_0xcd251,_0x3041de){const _0x35ea91=_0x594154(_0xcd251,_0x3041de,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x35ea91);const _0x42f063=_0x35ea91['flatMap'](_0x9413ae=>{const _0x1e9c2d=_0x9413ae['added']?'added':_0x9413ae['removed']?'removed':'unchanged';return _0x9413ae['value']['map'](_0x31e1a8=>({'token':_0x31e1a8,'change':_0x1e9c2d}));});let _0x32e2b7=0x0;for(const _0x5366a9 of _0x42f063)'added'!=_0x5366a9['change']&&('unchanged'==_0x5366a9['change']&&(_0x5366a9['before']=_0xcd251[_0x32e2b7]),_0x32e2b7++);return _0x42f063;}['_handleUnclosedBlockOpeningTags'](_0x13539b){for(let _0x280c7e=0x0;_0x280c7e<_0x13539b['length']-0x1;_0x280c7e++)if(_0x13539b[_0x280c7e]['removed']&&_0x13539b[_0x280c7e+0x1]['added']){const _0x545692=this['_findUnclosedBlockOpeningToken'](_0x13539b[_0x280c7e]['value']);if(null!==_0x545692){const _0x4ad4c0=this['_findUnclosedBlockOpeningToken'](_0x13539b[_0x280c7e+0x1]['value']),_0x4ca21d=_0x13539b[_0x280c7e]['value']['splice'](_0x545692),_0x4e8dac=_0x13539b[_0x280c7e+0x1]['value']['splice'](_0x4ad4c0),_0x4bf7a8=[_0x4e8dac['shift']()];_0x4ca21d['shift']();const _0x28fefd={'value':_0x4ca21d,'removed':!0x0},_0x51ef51={'value':_0x4e8dac,'added':!0x0},_0x3369d4={'value':_0x4bf7a8};_0x13539b['splice'](_0x280c7e+0x2,0x0,_0x3369d4,_0x28fefd,_0x51ef51);}}}['_findUnclosedBlockOpeningToken'](_0x8238de){let _0x564bfa=0x0,_0x3326b2=-0x1;for(let _0x2858f0=0x0;_0x2858f0<_0x8238de['length'];_0x2858f0++){const _0xc65c45=_0x8238de[_0x2858f0];'element'==_0xc65c45['type']&&'block'==_0xc65c45['category']&&(_0x564bfa+=_0xc65c45['isStart']?0x1:-0x1,_0xc65c45['isStart']&&(_0x3326b2=_0x2858f0));}return 0x0===_0x564bfa?null:_0x3326b2;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x10855d=0x0;_0x10855d<this['_diffItems']['length'];_0x10855d++){const _0xf4a62d=this['_diffItems'][_0x10855d]['change'],_0x432088=[];_0x432088['push'](this['_diffItems'][_0x10855d]);let _0x416fa1=_0x10855d+0x1;for(;this['_diffItems'][_0x416fa1]&&this['_diffItems'][_0x416fa1]['change']==_0xf4a62d;)_0x432088['push'](this['_diffItems'][_0x416fa1]),_0x416fa1++,_0x10855d++;const _0x4a69a3=_0x432088['map'](_0x5afb1d=>_0x5afb1d['token']);if('unchanged'==_0xf4a62d)_0x432088['map'](_0x3a3230=>_0x3a3230['before'])['forEach'](_0x490708=>this['_traverseOverItem'](_0x490708));else{if('removed'==_0xf4a62d){if(this['_markDeletions']){const _0x43d87c=this['_path']['slice']();_0x4a69a3['forEach'](_0x3c944a=>this['_traverseOverItem'](_0x3c944a));const _0x58feaf=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x43d87c,'end':_0x58feaf}});}else this['_handleChanged'](_0x4a69a3,!0x0,this['_path']['slice']());}else{const _0x115205=_0x4a69a3['filter'](_0x1a3c7a=>'element'!=_0x1a3c7a['type']||'container'!=_0x1a3c7a['category']);this['_handleChanged'](_0x115205,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x58e10b=0x0;_0x58e10b<this['_diffItems']['length'];_0x58e10b++){const _0x2099b4=this['_diffItems'][_0x58e10b]['change'],_0x57d671=[];_0x57d671['push'](this['_diffItems'][_0x58e10b]);let _0x36059f=_0x58e10b+0x1;for(;this['_diffItems'][_0x36059f]&&this['_diffItems'][_0x36059f]['change']==_0x2099b4;)_0x57d671['push'](this['_diffItems'][_0x36059f]),_0x36059f++,_0x58e10b++;const _0x4d5a23=_0x57d671['map'](_0x55e4f2=>_0x55e4f2['token']);if('unchanged'==_0x2099b4){const _0x4a6ae9=_0x57d671['map'](_0x48ccb9=>_0x48ccb9['before']);this['_handleUnchanged'](_0x4a6ae9,_0x4d5a23);}else('added'==_0x2099b4||this['_markDeletions'])&&_0x4d5a23['forEach'](_0x18fb9c=>{'element'==_0x18fb9c['type']&&_0x18fb9c['isStart']&&this['_splitPostponedData']['has'](_0x18fb9c['element'])&&this['_handleSplitPostponedData'](_0x18fb9c['element'],this['_path']),this['_traverseOverItem'](_0x18fb9c);});}}['_handleSplitPostponedData'](_0x14193f,_0x26fd40){const _0x2bd3ed=this['_splitPostponedData']['get'](_0x14193f);for(const _0x138071 of _0x2bd3ed)'rename'==_0x138071['type']?this['_operationsData']['push']({'type':'rename','path':_0x26fd40['slice'](),'oldName':_0x138071['oldValue'],'newName':_0x14193f['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x26fd40['slice'](),'howMany':0x1,'key':_0x138071['key'],'oldValue':_0x138071['oldValue'],'newValue':JSON['stringify'](_0x14193f['getAttribute'](_0x138071['key'])??null)});}['_calculateMarkersOperationsData'](_0x2e5e3e,_0x37b40b){const _0x194dbc={};for(const [_0x5aa2f3]of _0x2e5e3e)_0x194dbc[_0x5aa2f3]=null;for(const [_0x2b9a8f,_0xd78e5]of _0x37b40b)_0x194dbc[_0x2b9a8f]=_0xd78e5;const _0x326991=Object['entries'](_0x194dbc)['map'](([_0x238a75,_0x315415])=>({'type':'marker','name':_0x238a75,'range':_0x315415?{'start':_0x315415['start']['path']['slice'](),'end':_0x315415['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x326991);}['_handleUnwraps'](){const _0x2f9b0e=new Map(),_0x1e5606=[],_0x4e58ec=[0x0];let _0x4ce231=this['_diffItems']['length']+0x1;for(let _0x5a27b0=this['_diffItems']['length']-0x1;_0x5a27b0>=0x0;_0x5a27b0--){const {token:_0x3b3f9c,before:_0x50944c,change:_0x144bfb}=this['_diffItems'][_0x5a27b0];if('removed'!=_0x144bfb&&(_0x4ce231=_0x5a27b0),'element'!=_0x3b3f9c['type']||'container'!=_0x3b3f9c['category']||'added'==_0x144bfb)continue;const _0x129f62=_0x50944c?_0x50944c['element']:_0x3b3f9c['element'];if(_0x3b3f9c['isStart']){const _0x480574=_0x2f9b0e['get'](_0x129f62),_0x25cb1b=this['_diffItems'][_0x480574];('removed'==_0x144bfb||'removed'==_0x25cb1b['change'])&&_0x4ce231<_0x480574&&(this['_operationsData']['push']({'type':'unwrap','path':_0x129f62['getPath'](),'howMany':_0x129f62['maxOffset']+_0x4e58ec[0x0]}),_0x4e58ec['shift'](),_0x4e58ec[0x0]+=_0x129f62['maxOffset']-0x1,_0x1e5606['push'](_0x5a27b0),_0x1e5606['push'](_0x480574));}else _0x2f9b0e['set'](_0x129f62,_0x5a27b0),_0x4e58ec['unshift'](0x0);}_0x1e5606['sort']((_0x1142c8,_0x4a065b)=>_0x4a065b-_0x1142c8),_0x1e5606['forEach'](_0xba89e6=>{const _0x21856c=this['_diffItems'][_0xba89e6];'removed'==_0x21856c['change']?this['_diffItems']['splice'](_0xba89e6,0x1):(_0x21856c['change']='added',delete _0x21856c['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x10c674=[];for(let _0x50b610=0x0;_0x50b610<this['_diffItems']['length'];_0x50b610++){const {change:_0x1de8d2,token:_0xb285ec}=this['_diffItems'][_0x50b610];if('added'==_0x1de8d2&&'element'==_0xb285ec['type']&&'container'==_0xb285ec['category']){if(_0xb285ec['isStart'])_0x10c674['push'](this['_path']['slice']());else{if(!_0xb285ec['isStart']){const _0x567e85=_0x10c674['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x567e85,'end':this['_path']['slice']()},'token':_0xb285ec}),this['_path'][this['_path']['length']-0x1]=_0x567e85[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1de8d2||this['_markDeletions'])&&this['_traverseOverItem'](_0xb285ec);}}['_handleUnchanged'](_0x1d3298,_0x53ea54){for(let _0x6f5c8e=0x0;_0x6f5c8e<_0x1d3298['length'];_0x6f5c8e++){const _0x5a39f0=_0x1d3298[_0x6f5c8e];if('element'==_0x5a39f0['type']&&_0x5a39f0['isStart']){const _0x4161ef=_0x53ea54[_0x6f5c8e];'block'==_0x5a39f0['category']&&this['_handleElementRename'](_0x5a39f0['element'],_0x4161ef['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5a39f0['element'],_0x4161ef['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x4161ef);}else{if('element'!=_0x5a39f0['type']||_0x5a39f0['isStart']){if('text'==_0x5a39f0['type']){const _0x5c5570=this['_path']['slice'](),_0x59603d=[],_0x571441=[];for(;_0x1d3298[_0x6f5c8e]&&'text'==_0x1d3298[_0x6f5c8e]['type'];)_0x59603d['push'](_0x1d3298[_0x6f5c8e]),_0x571441['push'](_0x53ea54[_0x6f5c8e]),this['_path'][this['_path']['length']-0x1]+=_0x1d3298[_0x6f5c8e]['data']['length'],_0x6f5c8e++;_0x6f5c8e--,this['_handleTextAttributeChanges'](_0x59603d,_0x571441,_0x5c5570);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0xbdb679,_0x3c3689,_0x5869b2){const _0x26a112=[],_0x9d7558=[],_0x5c0006=_0x5869b2['slice']();let _0x5d1329=this['_parents']['length']-0x1;for(let _0x1bd606=0x0;_0x1bd606<_0xbdb679['length'];_0x1bd606++){const _0x372e59=_0xbdb679[_0x1bd606],_0x2fc5fc=_0x5869b2['slice']();'element'!=_0x372e59['type']||_0x372e59['isStart']?'element'==_0x372e59['type']&&_0x372e59['isStart']?(_0x5869b2['push'](0x0),_0x5d1329++,_0x9d7558['push']({'before':_0x2fc5fc,'after':_0x5869b2['slice'](),'index':_0x1bd606})):_0x5869b2[_0x5869b2['length']-0x1]+=_0x372e59['data']['length']:(_0x5869b2['pop'](),_0x5869b2[_0x5869b2['length']-0x1]++,_0x5d1329--,_0x9d7558['length']?_0x9d7558['pop']():_0x26a112['push']({'before':_0x2fc5fc,'after':_0x5869b2['slice'](),'index':_0x1bd606}));}if(_0x9d7558['length']!==_0x26a112['length'])throw new _0x20defa('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0xbdb679,'isRemove':_0x3c3689});const _0x50a440=[{'after':_0x5c0006['slice'](),'index':-0x1},..._0x26a112,..._0x9d7558,{'before':_0x5869b2['slice'](),'index':_0xbdb679['length']}];if(_0x3c3689){for(let _0x31fb79=_0x50a440['length']-0x1;_0x31fb79>=0x1;_0x31fb79--){const _0x2434f5=_0x50a440[_0x31fb79-0x1]['after'],_0x5dfc43=_0x50a440[_0x31fb79]['before'],_0x5d82b8=_0x5dfc43[_0x5dfc43['length']-0x1]-_0x2434f5[_0x2434f5['length']-0x1];_0x5d82b8&&(this['_operationsData']['push']({'type':'remove','path':_0x2434f5,'howMany':_0x5d82b8}),_0x5dfc43[_0x5dfc43['length']-0x1]-=_0x5d82b8);}for(const {before:_0x304815}of _0x26a112)this['_operationsData']['push']({'type':'merge','path':_0x304815});}else for(let _0x21c182=0x0;_0x21c182<_0x50a440['length']-0x1;_0x21c182++){const _0x2935df=_0x50a440[_0x21c182]['after'],_0x166336=_0x50a440[_0x21c182+0x1]['before'],_0x2d98b6=_0x50a440[_0x21c182]['index']+0x1,_0x27d9f2=_0x50a440[_0x21c182+0x1]['index'];if(_0x2d98b6!==_0x27d9f2&&this['_operationsData']['push']({'type':'insert','path':_0x2935df,'tokens':_0xbdb679['slice'](_0x2d98b6,_0x27d9f2)}),_0x21c182<_0x26a112['length']){this['_operationsData']['push']({'type':'split','path':_0x166336});const _0x9e8058=_0xbdb679[_0x9d7558[_0x9d7558['length']-0x1-_0x21c182]['index']],_0x44a720=this['_parents'][_0x5d1329]['element'];_0x44a720['name']!=_0x9e8058['element']['name']&&this['_addSplitPostponedData'](_0x9e8058['element'],{'type':'rename','oldValue':_0x44a720['name']});const _0x57f312=this['_getAttributeChanges'](_0x44a720['getAttributes'](),_0x9e8058['element']['getAttributes']());for(const _0x449d93 in _0x57f312){const _0x487c1a=_0x57f312[_0x449d93]['oldValue'];this['_addSplitPostponedData'](_0x9e8058['element'],{'type':'attribute','key':_0x449d93,'oldValue':_0x487c1a});}}}}['_addSplitPostponedData'](_0x38c35c,_0x2e3749){const _0xd25c86=this['_splitPostponedData']['get'](_0x38c35c)||[];_0xd25c86['push'](_0x2e3749),this['_splitPostponedData']['set'](_0x38c35c,_0xd25c86);}['_traverseOverItem'](_0x300235){'element'==_0x300235['type']&&_0x300235['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x300235)):'element'!=_0x300235['type']||_0x300235['isStart']?'text'==_0x300235['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x300235['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x44bcf7,_0x24c877,_0x149e82){_0x44bcf7['name']!=_0x24c877['name']&&this['_operationsData']['push']({'type':'rename','path':_0x149e82['slice'](),'oldName':_0x44bcf7['name'],'newName':_0x24c877['name']});}['_handleElementAttributeChanges'](_0x54260c,_0x486f9c,_0x489cd9){const _0x165d68=this['_getAttributeChanges'](_0x54260c['getAttributes'](),_0x486f9c['getAttributes']());for(const _0x1814a5 in _0x165d68){const {oldValue:_0x2fd803,newValue:_0x33ef04}=_0x165d68[_0x1814a5];this['_operationsData']['push']({'type':'attribute','path':_0x489cd9['slice'](),'howMany':0x1,'key':_0x1814a5,'oldValue':_0x2fd803,'newValue':_0x33ef04});}}['_handleTextAttributeChanges'](_0x1d34a4,_0x85a734,_0x47b1c9){const _0x3c50e7=this['_operationsData'],_0x51fc90=_0x1d34a4[0x0]['parent'],_0x17c221=_0x1d34a4[0x0]['offset'],_0x1ff05e=_0x85a734[0x0]['parent'],_0x2607b3=_0x85a734[0x0]['offset'],_0x3b2af1=_0x1d34a4['reduce']((_0x23c656,_0xc13943)=>_0x23c656+_0xc13943['data']['length'],0x0),_0x2395ce=this['_getAttrsForOffsets'](_0x51fc90,_0x17c221,_0x3b2af1),_0x402e85=this['_getAttrsForOffsets'](_0x1ff05e,_0x2607b3,_0x3b2af1),_0x28fea5={};for(let _0x50fde5=0x0;_0x50fde5<_0x3b2af1;_0x50fde5++){const _0x51c4b9=_0x2395ce[_0x17c221+_0x50fde5],_0x22a2d4=_0x402e85[_0x2607b3+_0x50fde5],_0x255df6=this['_getAttributeChanges'](_0x51c4b9,_0x22a2d4);for(const _0x3f1049 in _0x28fea5)_0x255df6[_0x3f1049]||_0xd2d0fb(_0x3f1049);for(const _0x4c4a56 in _0x255df6){const {oldValue:_0x124cb8,newValue:_0x275ea0}=_0x255df6[_0x4c4a56],_0x11d7a0=_0x28fea5[_0x4c4a56];_0x11d7a0?_0x11d7a0['oldValue']==_0x124cb8&&_0x11d7a0['newValue']==_0x275ea0?_0x11d7a0['length']++:(_0xd2d0fb(_0x4c4a56),_0x28fea5[_0x4c4a56]={'oldValue':_0x124cb8,'newValue':_0x275ea0,'start':_0x50fde5,'length':0x1}):_0x28fea5[_0x4c4a56]={'oldValue':_0x124cb8,'newValue':_0x275ea0,'start':_0x50fde5,'length':0x1};}}for(const _0x293338 in _0x28fea5)_0xd2d0fb(_0x293338);function _0xd2d0fb(_0x5df78b){const _0x1b3284=_0x28fea5[_0x5df78b],_0x211fe1=_0x47b1c9['slice']();_0x211fe1[_0x211fe1['length']-0x1]+=_0x1b3284['start'],_0x3c50e7['push']({'type':'attribute','path':_0x211fe1,'howMany':_0x1b3284['length'],'key':_0x5df78b,'oldValue':_0x1b3284['oldValue'],'newValue':_0x1b3284['newValue']}),delete _0x28fea5[_0x5df78b];}}['_getAttributeChanges'](_0xcf882d,_0x2a53fa){const _0x2e596c={};for(const [_0x1e6495,_0xc142f7]of _0xcf882d)_0x2e596c[_0x1e6495]={'oldValue':JSON['stringify'](_0xc142f7),'newValue':'null'};for(const [_0x591fed,_0x2aacd1]of _0x2a53fa){const _0xec2771=JSON['stringify'](_0x2aacd1);_0x2e596c[_0x591fed]?_0x2e596c[_0x591fed]['oldValue']==_0xec2771?delete _0x2e596c[_0x591fed]:_0x2e596c[_0x591fed]['newValue']=_0xec2771:_0x2e596c[_0x591fed]={'oldValue':'null','newValue':_0xec2771};}return delete _0x2e596c[Yt],_0x2e596c;}['_getAttrsForOffsets'](_0x29746f,_0x2c83d9,_0x53ef69){const _0x3558d8=new Array(_0x2c83d9+_0x53ef69);let _0x10dfed=_0x29746f['getChildAtOffset'](_0x2c83d9),_0x291d89=_0x10dfed['startOffset'];for(;_0x10dfed&&_0x291d89<_0x2c83d9+_0x53ef69;){const _0x1d2cfc=Array['from'](_0x10dfed['getAttributes']());_0x3558d8['fill'](_0x1d2cfc,_0x291d89,_0x291d89+_0x10dfed['offsetSize']),_0x291d89+=_0x10dfed['offsetSize'],_0x10dfed=_0x10dfed['nextSibling'];}return _0x3558d8;}['_getPositionFromAnchorAndPath'](_0x166166,_0x7f9815){const _0x2ce1d7=[..._0x166166['path']['slice'](0x0,-0x1),_0x166166['offset']+_0x7f9815[0x0],..._0x7f9815['slice'](0x1)];return new _0x34e154(_0x166166['root'],_0x2ce1d7);}['_makeModelFromTokens'](_0x596400){const _0x4b5b39=[];let _0x1f6415=null;for(const _0xa91108 of _0x596400)if('element'!=_0xa91108['type']||_0xa91108['isStart']||_0x1f6415!=_0xa91108['element']){if(!_0x1f6415){if('text'==_0xa91108['type']){const _0x4869db=_0x34e154['_createAt'](_0xa91108['parent'],_0xa91108['offset']),_0x3eac78=_0x30d6bf['_createFromPositionAndShift'](_0x4869db,_0xa91108['data']['length']),_0x36038e=Array['from'](_0x3eac78['getItems']())['map'](_0x56a618=>new _0x54029d(_0x56a618['data'],_0x56a618['getAttributes']()));_0x4b5b39['push'](..._0x36038e);}else{_0x1f6415=_0xa91108['element'];const _0x3ad141=_0xa91108['element']['_clone'](!0x0);_0x3ad141['_removeAttribute'](Yt);for(const _0x4d3893 of this['_editor']['model']['createRangeIn'](_0x3ad141)['getItems']())_0x4d3893['is']('element')&&_0x4d3893['_removeAttribute'](Yt);_0x4b5b39['push'](_0x3ad141);}}}else _0x1f6415=null;return _0x4b5b39;}};function Kt(_0x12b3a3,_0xa311e2){return _0x12b3a3['type']===_0xa311e2['type']&&(_0x12b3a3['limitId']===_0xa311e2['limitId']&&('text'==_0x12b3a3['type']?_0x12b3a3['data']==_0xa311e2['data']:function(_0x2a74fb,_0x37cefb){if(_0x2a74fb['isStart']!=_0x37cefb['isStart'])return!0x1;if(_0x2a74fb['isStart']&&_0x2a74fb['elementId']!=_0x37cefb['elementId'])return!0x1;if(_0x2a74fb['category']!=_0x37cefb['category'])return!0x1;if('block'==_0x2a74fb['category'])return!0x0;if('container'==_0x2a74fb['category']&&_0x2a74fb['elementId']!=_0x37cefb['elementId'])return!0x1;return _0x2a74fb['element']['name']==_0x37cefb['element']['name'];}(_0x12b3a3,_0xa311e2)));}function qt(_0x556d5a){return Tt({'name':_0x556d5a['name'],...Object['fromEntries'](_0x556d5a['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,Yt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Jt as DocumentCompare,Gt as DocumentDiff,Ht as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Rt as sanitizeEditorConfig,Ut as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ft as surroundingMarkersDetector,St 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':_0x36d960=>0x1!=_0x36d960}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x52382f=>{const {af:{dictionary:_0x19bfb1,getPluralForm:_0x20d5d6}}={'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':_0x35cb3a=>0x1!=_0x35cb3a}};_0x52382f['af']||={'dictionary':{},'getPluralForm':null},_0x52382f['af']['dictionary']=Object['assign'](_0x52382f['af']['dictionary'],_0x19bfb1),_0x52382f['af']['getPluralForm']=_0x20d5d6;})(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':_0x4b29ad=>0x0==_0x4b29ad?0x0:0x1==_0x4b29ad?0x1:0x2==_0x4b29ad?0x2:_0x4b29ad%0x64>=0x3&&_0x4b29ad%0x64<=0xa?0x3:_0x4b29ad%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f41b4=>{const {ar:{dictionary:_0x397e64,getPluralForm:_0x315bc5}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x13b6b6=>0x0==_0x13b6b6?0x0:0x1==_0x13b6b6?0x1:0x2==_0x13b6b6?0x2:_0x13b6b6%0x64>=0x3&&_0x13b6b6%0x64<=0xa?0x3:_0x13b6b6%0x64>=0xb?0x4:0x5}};_0x1f41b4['ar']||={'dictionary':{},'getPluralForm':null},_0x1f41b4['ar']['dictionary']=Object['assign'](_0x1f41b4['ar']['dictionary'],_0x397e64),_0x1f41b4['ar']['getPluralForm']=_0x315bc5;})(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':_0x412efe=>0x1!=_0x412efe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b0863=>{const {ast:{dictionary:_0x153181,getPluralForm:_0x211f1a}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4968e5=>0x1!=_0x4968e5}};_0x2b0863['ast']||={'dictionary':{},'getPluralForm':null},_0x2b0863['ast']['dictionary']=Object['assign'](_0x2b0863['ast']['dictionary'],_0x153181),_0x2b0863['ast']['getPluralForm']=_0x211f1a;})(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':_0x4a9697=>0x1!=_0x4a9697}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x357f8f=>{const {az:{dictionary:_0x208edf,getPluralForm:_0x595d74}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x543d7c=>0x1!=_0x543d7c}};_0x357f8f['az']||={'dictionary':{},'getPluralForm':null},_0x357f8f['az']['dictionary']=Object['assign'](_0x357f8f['az']['dictionary'],_0x208edf),_0x357f8f['az']['getPluralForm']=_0x595d74;})(window['CKEDITOR_TRANSLATIONS']||={});
|