@ckeditor/ckeditor5-collaboration-core 48.3.1-alpha.1 → 48.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-content.css +267 -270
- package/dist/index-editor.css +256 -274
- package/dist/index.css +18 -12
- package/dist/index.d.ts +3 -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/dist/ui/pillview.d.ts +0 -1
- package/dist/users/view/userview.d.ts +0 -1
- package/dist/users.d.ts +0 -1
- package/dist/utils/confirmview.d.ts +0 -1
- package/dist/utils/isinvalidattributeoperation.d.ts +14 -0
- package/package.json +12 -12
- package/dist/suggestionstyles.d.ts +0 -19
package/dist/index.css
CHANGED
|
@@ -39,7 +39,11 @@
|
|
|
39
39
|
background-color: #0000;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
:is(
|
|
42
|
+
:is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]), :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-tooltip, :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-dot {
|
|
43
|
+
background-color: var(--ck-user-color, var(--ck-user-colors--0));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:is(:is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]), :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-tooltip, :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-dot)::selection {
|
|
43
47
|
background-color: var(--ck-user-color, var(--ck-user-colors--0));
|
|
44
48
|
}
|
|
45
49
|
|
|
@@ -239,6 +243,11 @@
|
|
|
239
243
|
--ck-color-suggestion-ai-accent: #743ccd;
|
|
240
244
|
--ck-color-suggestion-ai-accent-background: #f2ebff;
|
|
241
245
|
--ck-suggestion-ai-author-icon-size: 18px;
|
|
246
|
+
--ck-color-suggestion-marker-insertion-border: #1eae3159;
|
|
247
|
+
--ck-color-suggestion-marker-insertion-border-active: #126d1f80;
|
|
248
|
+
--ck-color-suggestion-marker-deletion-border: #ae1e4259;
|
|
249
|
+
--ck-color-suggestion-marker-deletion-border-active: #6d122980;
|
|
250
|
+
--ck-color-suggestion-widget-insertion-background: #66e5770d;
|
|
242
251
|
}
|
|
243
252
|
|
|
244
253
|
.ck .ck-suggestion {
|
|
@@ -351,6 +360,10 @@
|
|
|
351
360
|
display: flex;
|
|
352
361
|
}
|
|
353
362
|
|
|
363
|
+
.ck.ck-aria-description {
|
|
364
|
+
display: none;
|
|
365
|
+
}
|
|
366
|
+
|
|
354
367
|
:root {
|
|
355
368
|
--ck-color-suggestion-marker-insertion-border: #1eae3159;
|
|
356
369
|
--ck-color-suggestion-marker-insertion-border-active: #126d1f80;
|
|
@@ -369,6 +382,10 @@
|
|
|
369
382
|
--ck-color-suggestion-widget-deletion-background-active: #c4214a12;
|
|
370
383
|
--ck-color-suggestion-widget-format-background: #0aa0c217;
|
|
371
384
|
--ck-color-suggestion-widget-format-background-active: #0aa0c229;
|
|
385
|
+
--ck-color-suggestion-widget-th-insertion-background: #66e5771f;
|
|
386
|
+
--ck-color-suggestion-widget-th-insertion-background-active: #25da3d24;
|
|
387
|
+
--ck-color-suggestion-widget-th-deletion-background: #e5668624;
|
|
388
|
+
--ck-color-suggestion-widget-th-deletion-background-active: #c4214a29;
|
|
372
389
|
}
|
|
373
390
|
|
|
374
391
|
.ck-content .ck-suggestion-marker-insertion {
|
|
@@ -480,10 +497,6 @@
|
|
|
480
497
|
box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
|
|
481
498
|
}
|
|
482
499
|
|
|
483
|
-
.ck.ck-aria-description {
|
|
484
|
-
display: none;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
500
|
.ck-content .ck-widget.image > figcaption.ck-suggestion-marker-deletion {
|
|
488
501
|
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
489
502
|
border: none;
|
|
@@ -637,13 +650,6 @@
|
|
|
637
650
|
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
638
651
|
}
|
|
639
652
|
|
|
640
|
-
:root {
|
|
641
|
-
--ck-color-suggestion-widget-th-insertion-background: #66e5771f;
|
|
642
|
-
--ck-color-suggestion-widget-th-insertion-background-active: #25da3d24;
|
|
643
|
-
--ck-color-suggestion-widget-th-deletion-background: #e5668624;
|
|
644
|
-
--ck-color-suggestion-widget-th-deletion-background-active: #c4214a29;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
653
|
.ck-content figure.table .ck-suggestion-marker-formatBlock {
|
|
648
654
|
box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border);
|
|
649
655
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { getMarkerDomElement, getAllMarkersDomElementsSorted } from "./utils/get
|
|
|
17
17
|
export { trimHtml } from "./utils/trim-html.js";
|
|
18
18
|
export { ConfirmMixin, type ConfirmApi, type ConfirmMixinConstructor, type RemoveConfirmEvent } from "./utils/confirmmixin.js";
|
|
19
19
|
export { hashObject } from "./utils/hashobject.js";
|
|
20
|
+
export { isInvalidAttributeOperation } from "./utils/isinvalidattributeoperation.js";
|
|
20
21
|
export { sanitizeEditorConfig } from "./utils/sanitizeeditorconfig.js";
|
|
21
22
|
export { surroundingMarkersDetector } from "./utils/surroundingmarkersdetector.js";
|
|
22
23
|
export { setupThreadKeyboardNavigation, FOCUS_ANNOTATION_KEYSTROKE, type ThreadEscapeEvent, type ThreadArrowUpEvent, type ThreadArrowDownEvent } from "./utils/setupthreadkeyboardnavigation.js";
|
|
@@ -25,5 +26,6 @@ export { DocumentCompare, DATA_ID_MODEL_ATTRIBUTE, DATA_ID_VIEW_ATTRIBUTE, type
|
|
|
25
26
|
export type { CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from "./collaborationoperation.js";
|
|
26
27
|
export type { CollaborationHistory } from "./collaborationhistory.js";
|
|
27
28
|
export type { LocaleConfig, RealTimeCollaborationConfig, CollaborationUsersConfig } from "./config.js";
|
|
28
|
-
import "
|
|
29
|
+
import "../theme/index-editor.css";
|
|
30
|
+
import "../theme/index-content.css";
|
|
29
31
|
import "./augmentation.js";
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x38c125,Editor as _0x2be860,Plugin as _0x4d4a0c}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x263fb1,Collection as _0x599f91,FocusTracker as _0x3992c7,KeystrokeHandler as _0x5b8b0e,first as _0x306afd,toArray as _0x3928e7,uid as _0x397474}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x58deee,DropdownButtonView as _0x2b312f,FocusCycler as _0x59c7b7,IconView as _0x20368e,View as _0x46f989,isViewWithFocusCycler as _0xc18c06}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x39a121,IconCheck as _0xee71f2,IconNotification as _0x5f5b3a}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x8f4cda,toWidget as _0x4f7c5f}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x4b6474}from'luxon';import{AttributeOperation as _0x4428ea,InsertOperation as _0xcfcbff,MarkerOperation as _0x33e166,MergeOperation as _0x4025dc,ModelPosition as _0x31cba0,ModelRange as _0x1d3850,ModelText as _0x1557b8,ModelTreeWalker as _0xae740,MoveOperation as _0x1672e9,RenameOperation as _0x4efa3e,SplitOperation as _0x58e0fc}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x471325}from'diff';var B=class extends _0x38c125{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x3ce254,_0x40f0bf){let _0x30d162;if(_0x40f0bf||(_0x40f0bf=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x40f0bf?_0x30d162=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x30d162=this['context']['editors']['find'](_0x4eef6e=>_0x4eef6e['config']['get']('collaboration.channelId')==_0x40f0bf)),!_0x30d162)throw new _0x263fb1('permissions-set-permissions-invalid-channel-id',null);const _0x5ec18b=_0x30d162['plugins'],_0x24311c=_0x5ec18b['has']('CommentsRepository')?_0x5ec18b['get']('CommentsRepository'):void 0x0,_0x3e51a0=_0x5ec18b['has']('CommentsOnly')&&_0x5ec18b['get']('CommentsOnly'),_0x301cfc=_0x3ce254['includes']('document:write'),_0xa2eaa6=_0x3ce254['includes']('comment:modify_all'),_0xa30364=_0x3ce254['includes']('comment:admin'),_0x48d251=_0x3ce254['includes']('comment:write'),_0x52c412=_0x48d251||_0xa30364,_0x33e5db=_0x52c412||_0xa2eaa6,_0xfff801=_0x301cfc||_0x52c412;if(_0x3e51a0&&(_0x3e51a0['isEnabled']=!_0x301cfc&&_0x33e5db),_0x30d162 instanceof _0x2be860&&(_0x301cfc||_0x33e5db&&_0x24311c?_0x30d162['disableReadOnlyMode']('no-permissions'):_0x30d162['enableReadOnlyMode']('no-permissions')),_0x24311c){_0x24311c['setPermissions']({'admin':_0xa30364,'modifyAll':_0xa2eaa6,'write':_0x48d251,'resolve':_0xfff801},_0x40f0bf);const _0x4d6d49=_0x30d162 instanceof _0x2be860&&_0x30d162['commands']['get']('addCommentThread');_0x4d6d49&&(_0x52c412?_0x4d6d49['clearForceDisabled']('noPermissions'):_0x4d6d49['forceDisabled']('noPermissions'));}}};function D(_0x403883,_0x51230b){const t=_0x403883['t'];switch(_0x51230b){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 _0x38c125{['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(_0x59519c){super(_0x59519c),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x599f91(),this['_locale']=_0x59519c['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:_0x113dcf,name:_0x18b809,..._0x1a2d87}){if(!_0x113dcf||'string'!=typeof _0x113dcf)throw new _0x263fb1('users-add-invalid-id');if(this['users']['has'](_0x113dcf))throw new _0x263fb1('users-add-duplicated-id',null,{'id':_0x113dcf});const _0x4f2636=this['context']['config']['get']('users.getInitialsCallback'),_0x8658af={..._0x1a2d87,'id':_0x113dcf,'name':R(this['_locale'],_0x18b809),'color':this['_getNextColor']()};_0x8658af['name']=R(this['_locale'],_0x8658af['name']);const _0x4af1ed=new L(_0x8658af,_0x4f2636);return this['users']['add'](_0x4af1ed),_0x4af1ed;}['getUser'](_0x3fcf76){return this['users']['get'](_0x3fcf76);}['useAnonymousUser'](){const _0x3df19a=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3df19a);}['defineMe'](_0xb3123e){if(this['_myId'])throw new _0x263fb1('users-me-already-defined',null);const _0x464e5d=this['getUser'](_0xb3123e);if(!_0x464e5d)throw new _0x263fb1('users-me-missing-user',null);this['_myId']=_0xb3123e,_0x464e5d['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x37ff57=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x37ff57&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x36e685=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x36e685,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x57a0d1,_0x25d573){this['id']=_0x57a0d1['id'],this['color']=_0x57a0d1['color'],this['name']=_0x57a0d1['name'],this['initials']=_0x25d573?_0x25d573(this['name']):this['_computeInitials'](),this['avatar']=_0x57a0d1['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5dbfdd=this['name']['split']('\x20')['filter'](_0x1a0735=>/^[\p{Letter}]/u['test'](_0x1a0735));return 0x1===_0x5dbfdd['length']?this['_getInitial'](_0x5dbfdd[0x0]):0x0===_0x5dbfdd['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5dbfdd[0x0])+this['_getInitial'](_0x5dbfdd[_0x5dbfdd['length']-0x1]);}['_getInitial'](_0x18289a){return String['fromCodePoint'](_0x18289a['codePointAt'](0x0))['toUpperCase']();}};function R(_0x435400,_0x130042=''){return''==(_0x130042=_0x130042['trim']())?D(_0x435400,'Anonymous'):_0x130042;}var F=class{['_id'];constructor(_0x49d591){this['_id']=_0x49d591;}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 _0x46f989{['name'];['notificationView'];constructor(_0x39d163,_0xeff91d,_0x4d0a95,_0xb2a6e4){super(_0x39d163),this['name']=_0xeff91d['name'],this['notificationView']=null;const _0x204210=['ck','ck-user'],_0x4cbc8e=['ck','ck-user__img'];_0xeff91d['isAnonymous']&&_0x4cbc8e['push']('ck-user__anonymous'),!_0xeff91d['isAnonymous']&&_0xeff91d['isMe']&&_0x204210['push']('ck-user_me'),(_0xeff91d['avatar']||_0xb2a6e4)&&_0x4cbc8e['push']('ck-user__avatar');let _0x27933e=null;if(_0xb2a6e4&&(_0x27933e=new _0x20368e(),_0x27933e['content']=_0xb2a6e4,_0x27933e['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x4d0a95){const _0x18dd97=new _0x20368e();_0x18dd97['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x18dd97['content']=_0x5f5b3a,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4d0a95},'children':[_0x18dd97]};}const _0xd673c8=[{'tag':'div','attributes':{'class':_0x4cbc8e,'style':{'background-image':_0xeff91d['avatar']&&!_0xb2a6e4?'url(\x27'+_0xeff91d['avatar']+'\x27)':''}},'children':_0x27933e?[_0x27933e]:[]},{'tag':'div','attributes':{'class':_0xeff91d['avatar']||_0xb2a6e4?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0xeff91d['name']},'children':[{'text':_0xeff91d['initials']}]}];this['notificationView']&&_0xd673c8['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x204210,'data-user-id':_0xeff91d['id']},'children':_0xd673c8});}},U=class extends _0x46f989{['children'];['iconView'];['labelView'];constructor(_0x493cfc){super(_0x493cfc);const _0x1193cc=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',_0x1193cc['to']('class'),_0x1193cc['to']('iconPosition',_0x392e71=>'right'===_0x392e71?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x1193cc['to']('tooltip'),'data-cke-tooltip-position':_0x1193cc['to']('tooltipPosition'),'data-cke-tooltip-class':_0x1193cc['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x302f66,_0x7f3ffb,_0x187853,_0x5e6600)=>{_0x187853&&!_0x5e6600?this['children']['add'](this['iconView'],0x0):!_0x187853&&_0x5e6600&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x3e42a6=new _0x20368e();return _0x3e42a6['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x3e42a6['bind']('content')['to'](this,'icon'),_0x3e42a6;}['_createLabelView'](){const _0x81e2df=new _0x46f989(this['locale']),_0x5ae3b1=this['bindTemplate'];return _0x81e2df['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x5ae3b1['to']('label')}]}),_0x81e2df;}},z=class extends _0x46f989{['id'];constructor(_0x5b011a,_0xc7242a){super(_0x5b011a),this['id']='ck-aria-description-'+_0x397474(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0xc7242a}]});}},W=class extends _0x58deee{['render'](){super['render'](),j(this);}},Y=class extends _0x2b312f{['render'](){super['render'](),j(this);}};function j(_0x5ef25b){_0x5ef25b['listenTo'](_0x5ef25b['element'],'mousedown',(_0x5b70bc,_0xa2709c)=>{_0xa2709c['stopPropagation'](),_0xa2709c['preventDefault']();}),_0x5ef25b['listenTo'](_0x5ef25b['element'],'mouseup',()=>{_0x5ef25b['element']['focus']();});}function J(_0x20647a){const _0x5d8c5f=_0x20647a['split'](':');return{'group':_0x5d8c5f[0x0],'type':_0x5d8c5f[0x1],'subType':_0x5d8c5f['length']>=0x5?_0x5d8c5f[0x2]:null,'id':_0x5d8c5f['length']<0x5?_0x5d8c5f[0x2]:_0x5d8c5f[0x3],'authorId':_0x5d8c5f['length']<0x5?_0x5d8c5f[0x3]:_0x5d8c5f[0x4],'markerCount':0x6==_0x5d8c5f['length']?_0x5d8c5f[0x5]:null};}function G(_0x333653,_0x53fba5){const _0xcef049=_0x333653['end']['nodeBefore'];if(_0xcef049&&_0xcef049['is']('element')&&_0x53fba5['schema']['isBlock'](_0xcef049)&&!_0x53fba5['schema']['isObject'](_0xcef049)){const _0x311806=_0x53fba5['createPositionAt'](_0xcef049,'end');return _0x53fba5['createRange'](_0x333653['start'],_0x311806);}return _0x333653;}var K=class extends _0x4d4a0c{['afterInit'](){const _0x8769ec=this['editor'];_0x8769ec['plugins']['has']('AlignmentEditing')&&_0x8769ec['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x4d4a0c{['afterInit'](){const _0x415ee4=this['editor'],_0x5ca29f=_0x415ee4['plugins']['get']('SuggestionsConversion');for(const _0x407d07 of q){if(!_0x415ee4['plugins']['has'](_0x407d07))continue;const _0x303f68=_0x407d07['slice'](0x0,-0x7)['toLowerCase']();_0x5ca29f['registerInlineAttribute'](_0x303f68);}}},Q=class extends _0x4d4a0c{['afterInit'](){const _0x420c57=this['editor'],_0x374339=_0x420c57['plugins']['get']('SuggestionsConversion');_0x420c57['plugins']['has']('BookmarkEditing')&&_0x374339['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x4d4a0c{['afterInit'](){const _0x4f673a=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x2011aa,commandName:_0x21156c}of X)this['editor']['plugins']['has'](_0x2011aa)&&_0x4f673a['registerInlineAttribute'](_0x21156c);}},et=class extends _0x4d4a0c{['afterInit'](){const {editor:_0x3fa918}=this;if(!_0x3fa918['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x5eca9d=_0x3fa918['plugins']['get']('SuggestionsConversion');_0x5eca9d['registerBlockAttribute']('footnotesListStyle'),_0x5eca9d['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x4d4a0c{['afterInit'](){const _0x586efa=this['editor'];if(!_0x586efa['plugins']['has']('GeneralHtmlSupport')||!_0x586efa['plugins']['has']('DataSchema'))return;const _0x1241c2=_0x586efa['plugins']['get']('SuggestionsConversion'),_0x274891=_0x586efa['plugins']['get']('GeneralHtmlSupport'),_0x335c1a=_0x586efa['plugins']['get']('DataSchema');for(const _0x219f8e of _0x335c1a['getDefinitionsForView'](/.*/,!0x1)){const _0x1e867a=_0x274891['getGhsAttributeNameForElement'](_0x219f8e['view']);!_0x219f8e['isInline']||_0x219f8e['isObject']||'appliesToBlock'in _0x219f8e&&_0x219f8e['appliesToBlock']?_0x1241c2['registerBlockAttribute'](_0x1e867a):_0x1241c2['registerInlineAttribute'](_0x1e867a);}}},it=class extends _0x4d4a0c{['afterInit'](){const _0x5cb9c3=this['editor'];_0x5cb9c3['plugins']['has']('HighlightEditing')&&_0x5cb9c3['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x4d4a0c{['afterInit'](){const _0x1bffb1=this['editor'];_0x1bffb1['plugins']['has']('HtmlEmbed')&&_0x1bffb1['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x4d4a0c{['afterInit'](){const _0x27c4a9=this['editor'];if(!_0x27c4a9['plugins']['has']('ImageEditing'))return;const _0x4c1a05=_0x27c4a9['plugins']['get']('SuggestionsConversion');_0x4c1a05['registerBlockAttribute']('src'),_0x27c4a9['plugins']['has']('ImageResize')&&_0x4c1a05['registerBlockAttribute']('resizedWidth'),_0x27c4a9['plugins']['has']('ImageTextAlternativeEditing')&&_0x4c1a05['registerBlockAttribute']('alt'),_0x27c4a9['plugins']['has']('PictureEditing')&&_0x4c1a05['registerBlockAttribute']('sources'),_0x27c4a9['plugins']['has']('ImageSizeAttributes')&&(_0x4c1a05['registerBlockAttribute']('width'),_0x4c1a05['registerBlockAttribute']('height'));}},rt=class extends _0x4d4a0c{['afterInit'](){const _0x14afed=this['editor'],_0x54e459=_0x14afed['plugins']['get']('SuggestionsConversion');_0x14afed['plugins']['has']('IndentBlock')&&(_0x54e459['registerBlockAttribute']('blockIndent'),_0x14afed['plugins']['has']('ListEditing')&&(_0x54e459['registerBlockAttribute']('blockIndentList'),_0x54e459['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x4d4a0c{['afterInit'](){const _0xdb5cef=this['editor'];_0xdb5cef['plugins']['has']('LineHeight')&&_0xdb5cef['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x4d4a0c{['afterInit'](){const _0x222b55=this['editor'];if(!_0x222b55['plugins']['has']('LinkEditing'))return;const _0x15b762=_0x222b55['plugins']['get']('SuggestionsConversion'),_0x113eb4=_0x222b55['commands']['get']('link');_0x15b762['registerInlineAttribute']('linkHref');for(const _0x4f2d72 of _0x113eb4['manualDecorators'])_0x15b762['registerInlineAttribute'](_0x4f2d72['id']);}},lt=class extends _0x4d4a0c{['afterInit'](){const _0x435865=this['editor'];if(!_0x435865['plugins']['has']('ListEditing'))return;const _0x251fa4=_0x435865['plugins']['get']('SuggestionsConversion'),_0x516150=_0x435865['plugins']['has']('TodoListEditing');_0x251fa4['registerBlockAttribute']('listItemId'),_0x251fa4['registerBlockAttribute']('listType'),_0x251fa4['registerBlockAttribute']('listIndent'),_0x516150&&_0x251fa4['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x4d4a0c{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3963d6=this['editor']['config']['get']('list.properties'),_0x3d7a6f=this['editor']['plugins']['get']('SuggestionsConversion');_0x3963d6['styles']&&_0x3d7a6f['registerBlockAttribute']('listStyle'),_0x3963d6['reversed']&&_0x3d7a6f['registerBlockAttribute']('listReversed'),_0x3963d6['startIndex']&&_0x3d7a6f['registerBlockAttribute']('listStart');}},ut=class extends _0x4d4a0c{['afterInit'](){const _0x1477d4=this['editor'],_0x2d73cc=_0x1477d4['plugins']['get']('SuggestionsConversion');_0x1477d4['plugins']['has']('MultiLevelList')&&_0x2d73cc['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x4d4a0c{['afterInit'](){const _0x107025=this['editor'];if(!_0x107025['plugins']['has']('TableEditing'))return;const _0x42332c=_0x107025['plugins']['get']('SuggestionsConversion');_0x42332c['registerBlockAttribute']('headingRows'),_0x42332c['registerBlockAttribute']('headingColumns');}},gt=class extends _0x4d4a0c{['afterInit'](){const {plugins:_0x11a799}=this['editor'];if(!_0x11a799['has']('TablePropertiesEditing'))return;const _0x11ff10=_0x11a799['get']('SuggestionsConversion');for(const _0x3aa07b of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x11ff10['registerBlockAttribute'](_0x3aa07b);}},ft=class extends _0x4d4a0c{['afterInit'](){const _0x2d919a=this['editor'],_0x5073af=_0x2d919a['plugins']['get']('SuggestionsConversion');_0x2d919a['plugins']['has']('TableLayout')&&_0x5073af['registerBlockAttribute']('tableType');}},mt=class extends _0x4d4a0c{['afterInit'](){const _0x5397cf=this['editor'],_0x591c04=this['editor']['plugins']['get']('SuggestionsConversion');_0x5397cf['plugins']['has']('Uploadcare')&&_0x5397cf['plugins']['has']('UploadcareImageEdit')&&_0x591c04['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x4d4a0c{['afterInit'](){const _0x3b7072=this['editor'];if(!_0x3b7072['plugins']['has']('ShiftEnter'))return;const _0x39d0fe=_0x3b7072['plugins']['get']('SuggestionsConversion'),_0x3f2f59=(_0x3ade9a,_0x55e1a1,_0x272e05,_0x4fef4c)=>{if(_0x4fef4c&&!_0x272e05['options']['showSuggestionHighlights'])return;if(!_0x272e05['consumable']['test'](_0x55e1a1['markerRange'],_0x3ade9a['name']))return;const _0x2338e4=_0x3b7072['model'];for(const _0x3c5757 of _0x55e1a1['markerRange']['getItems']()){if(!_0x3c5757['is']('element','softBreak'))continue;const _0x4b06e2='deletion'==_0x55e1a1['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x1722cf,authorId:_0x1316d7}=J(_0x55e1a1['markerName']),_0x27291e=_0x272e05['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b06e2,'data-suggestion':_0x1722cf,'data-author-id':_0x1316d7}),_0x440cf2=_0x272e05['mapper']['toViewPosition'](_0x2338e4['createPositionBefore'](_0x3c5757));!_0x4fef4c&&_0x39d0fe['_activeMarkers']['includes'](_0x55e1a1['markerName'])&&_0x272e05['writer']['addClass']('ck-suggestion-marker--active',_0x27291e),_0x272e05['writer']['insert'](_0x440cf2,_0x27291e),_0x272e05['mapper']['bindElementToMarker'](_0x27291e,_0x55e1a1['markerName']);}};_0x3b7072['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ae5e2,_0x2e189c,_0x5e15ef)=>{_0x3f2f59(_0x1ae5e2,_0x2e189c,_0x5e15ef,!0x1);},{'priority':'high'}),_0x3b7072['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3a0194,_0x955b4f,_0x307b97)=>{_0x3f2f59(_0x3a0194,_0x955b4f,_0x307b97,!0x1);},{'priority':'high'}),_0x3b7072['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xe90550,_0x521f63,_0x2c9553)=>{_0x3f2f59(_0xe90550,_0x521f63,_0x2c9553,!0x0);},{'priority':'high'}),_0x3b7072['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x12fd28,_0x1ac286,_0x2df17a)=>{_0x3f2f59(_0x12fd28,_0x1ac286,_0x2df17a,!0x0);},{'priority':'high'});}},kt=class extends _0x4d4a0c{['afterInit'](){const _0x2ada87=this['editor'];if(!_0x2ada87['plugins']['has']('MediaEmbedEditing'))return;const _0x5d6bdb=_0x2ada87['plugins']['get']('SuggestionsConversion');_0x2ada87['plugins']['has']('MediaEmbedResizeEditing')&&_0x5d6bdb['registerBlockAttribute']('resizedWidth'),_0x2ada87['plugins']['has']('MediaEmbedStyleEditing')&&_0x5d6bdb['registerBlockAttribute']('mediaStyle'),_0x2ada87['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3c32e6,{writer:_0x51feae,options:_0xa29888})=>{if(_0xa29888['showSuggestionHighlights'])return _0x51feae['createEmptyElement']('div');},'converterPriority':'high'}),_0x2ada87['data']['downcastDispatcher']['on']('attribute:url:media',(_0x92126d,_0x354d53,_0x5bc9c1)=>{_0x5bc9c1['options']['showSuggestionHighlights']&&_0x92126d['stop']();},{'priority':'high'});}},yt=class extends _0x4d4a0c{['afterInit'](){const _0x34fc3b=this['editor'];if(!_0x34fc3b['plugins']['has']('Table'))return;_0x34fc3b['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3699be,_0x1ae53a,_0x13fa18)=>{((_0x18485d,_0x1c545f,_0x2f4445)=>{if(!_0x2f4445['options']['showSuggestionHighlights'])return;const _0x49877b=_0x1c545f['item'];if(!_0x49877b||!_0x49877b['is']('element','tableCell'))return;const _0x4f6c03=_0x2f4445['mapper']['toViewElement'](_0x49877b);if(_0x4f6c03){const {id:_0x57f77e,authorId:_0xa61f56}=J(_0x1c545f['markerName']);_0x8f4cda(_0x4f6c03,_0x2f4445['writer'],(_0x3bce1a,_0x56d9e1,_0x1ad8fe)=>{_0x1ad8fe['addClass'](_0x3928e7(_0x56d9e1['classes']),_0x3bce1a),_0x1ad8fe['setAttribute']('data-suggestion',_0x57f77e,_0x3bce1a),_0x1ad8fe['setAttribute']('data-author-id',_0xa61f56,_0x3bce1a);});}})(0x0,_0x1ae53a,_0x13fa18);},{'priority':'highest'});}},bt=class extends _0x4d4a0c{['afterInit'](){const _0x3f1649=this['editor'];_0x3f1649['plugins']['has']('HorizontalLineEditing')&&_0x3f1649['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3cfb41,{writer:_0x21e26c,options:_0x11c0ba})=>{if(!_0x11c0ba['showSuggestionHighlights'])return null;const _0x5601b9=_0x21e26c['createContainerElement']('div'),_0x572d53=_0x21e26c['createEmptyElement']('hr');return _0x21e26c['addClass']('ck-horizontal-line',_0x5601b9),_0x21e26c['insert'](_0x21e26c['createPositionAt'](_0x5601b9,0x0),_0x572d53),_0x5601b9;},'converterPriority':'high'});}},wt=class extends _0x4d4a0c{['afterInit'](){const {plugins:_0x3b2d21,model:_0x3662fb}=this['editor'];if(!_0x3b2d21['has']('TableCellPropertiesEditing'))return;const _0x275181=_0x3b2d21['get']('SuggestionsConversion');for(const _0x34001d of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x275181['registerBlockAttribute'](_0x34001d);_0x3662fb['schema']['checkAttribute']('tableCell','tableCellType')&&_0x275181['registerBlockAttribute']('tableCellType');}},vt=class extends _0x4d4a0c{['afterInit'](){const _0x1af268=this['editor'];_0x1af268['plugins']['has']('TableEditing')&&_0x1af268['config']['get']('table.enableFooters')&&_0x1af268['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x4d4a0c{['_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 _0x28b50e=this['editor'],_0x1c898f=(_0x341b8b,_0x386ac8,_0x5d360f)=>{const {id:_0x24d395,authorId:_0x386ea9,type:_0x21f9ba,subType:_0x424d5d}=J(_0x341b8b['markerName']),_0x422b34=['ck-suggestion-marker',this['_getClassName'](_0x21f9ba,_0x424d5d)];let _0x230eff=0xbb8;return _0x5d360f||this['_activeMarkers']['includes'](_0x341b8b['markerName'])&&(_0x422b34['push']('ck-suggestion-marker--active'),_0x230eff=0xbc2),'deletion'==_0x21f9ba&&(_0x230eff+=0x5),{'classes':_0x422b34,'attributes':{'data-suggestion':_0x24d395,'data-author-id':_0x386ea9},'priority':_0x230eff};};_0x28b50e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x31c5ca,_0x381fb4)=>_0x1c898f(_0x31c5ca,0x0,!0x1)}),_0x28b50e['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x53f88b,_0x5c4cdb)=>_0x1c898f(_0x53f88b,0x0,!0x0)}),_0x28b50e['conversion']['for']('dataDowncast')['add'](_0x454129=>{_0x454129['on']('addMarker:suggestion',(_0x17c3bd,_0x338a72,_0x2e10d5)=>{if(!_0x2e10d5['options']['showSuggestionHighlights'])return;const _0x4879f4=_0x338a72['item'];if(!_0x4879f4)return;const _0x5c599a=_0x2e10d5['mapper']['toViewElement'](_0x4879f4);_0x28b50e['model']['schema']['isObject'](_0x4879f4)&&_0x5c599a&&!_0x5c599a['getCustomProperty']('widget')&&_0x5c599a['is']('containerElement')&&_0x4f7c5f(_0x5c599a,_0x2e10d5['writer']);},{'priority':'high'});});const _0x567c14=(_0x258e03,_0x5e3a29,_0x45456f,_0x573a94,_0x50aa55)=>{if(_0x573a94&&!_0x45456f['options']['showSuggestionHighlights'])return;if(!_0x5e3a29['item'])return;const {id:_0x48862e,authorId:_0x39f055,subType:_0x5969a2}=J(_0x5e3a29['markerName']);if(_0x50aa55){const _0x4c177b=_0x5969a2['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4c177b))return;}if(_0x5e3a29['item']['is']('selection'))return void _0x45456f['consumable']['consume'](_0x5e3a29['item'],_0x258e03['name']);const _0xd8aa1=_0x45456f['mapper']['toViewElement'](_0x5e3a29['item']);if(_0x5e3a29['item']['is']('element')&&_0x28b50e['model']['schema']['isBlock'](_0x5e3a29['item'])&&!_0xd8aa1['getCustomProperty']('addHighlight')){_0x45456f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0xd8aa1),_0x45456f['writer']['setAttribute']('data-suggestion',_0x48862e,_0xd8aa1),_0x45456f['writer']['setAttribute']('data-author-id',_0x39f055,_0xd8aa1),_0x45456f['mapper']['bindElementToMarker'](_0xd8aa1,_0x5e3a29['markerName']),_0x573a94||(this['_activeMarkers']['includes'](_0x5e3a29['markerName'])?_0x45456f['writer']['addClass']('ck-suggestion-marker--active',_0xd8aa1):_0x45456f['writer']['removeClass']('ck-suggestion-marker--active',_0xd8aa1));for(const _0xff9e1e of _0x28b50e['model']['createRangeIn'](_0x5e3a29['item'])['getItems']())_0x45456f['consumable']['consume'](_0xff9e1e,_0x258e03['name']);_0x45456f['consumable']['consume'](_0x5e3a29['item'],_0x258e03['name']);}},_0x4ee9c6=(_0x525c76,_0x2bf923,_0x2df346,_0x11a667)=>{const _0x4df83e=_0x2df346['mapper']['markerNameToElements'](_0x2bf923['markerName']);if(_0x4df83e){if(_0x11a667){const {subType:_0x10f9a5}=J(_0x2bf923['markerName']),_0x35994b=_0x10f9a5['split']('|')[0x0];if(!this['isBlockAttribute'](_0x35994b))return;}for(const _0x16b92c of _0x4df83e)_0x16b92c['getCustomProperty']('addHighlight')||(_0x2df346['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x16b92c),_0x2df346['writer']['removeAttribute']('data-suggestion',_0x16b92c),_0x2df346['writer']['removeAttribute']('data-author-id',_0x16b92c),_0x2df346['mapper']['unbindElementFromMarkerName'](_0x16b92c,_0x2bf923['markerName']));}};_0x28b50e['conversion']['for']('editingDowncast')['add'](_0x92d761=>{_0x92d761['on']('addMarker:suggestion:formatBlock',(_0x5f52ca,_0x93b733,_0x1334a5)=>{_0x567c14(_0x5f52ca,_0x93b733,_0x1334a5,!0x1,!0x1);},{'priority':'high'});}),_0x28b50e['conversion']['for']('editingDowncast')['add'](_0x4afe2f=>{_0x4afe2f['on']('addMarker:suggestion:attribute',(_0x2e256e,_0x3dae70,_0x58a8bc)=>{_0x567c14(_0x2e256e,_0x3dae70,_0x58a8bc,!0x1,!0x0);},{'priority':'high'});}),_0x28b50e['conversion']['for']('editingDowncast')['add'](_0x15ae72=>{_0x15ae72['on']('removeMarker:suggestion:formatBlock',(_0x117843,_0x52dd68,_0x3c3c2a)=>{_0x4ee9c6(0x0,_0x52dd68,_0x3c3c2a,!0x1);},{'priority':'high'});}),_0x28b50e['conversion']['for']('editingDowncast')['add'](_0x29d4bd=>{_0x29d4bd['on']('removeMarker:suggestion:attribute',(_0x2205e6,_0x28e3da,_0x3cb3e1)=>{_0x4ee9c6(0x0,_0x28e3da,_0x3cb3e1,!0x0);},{'priority':'high'});}),_0x28b50e['conversion']['for']('dataDowncast')['add'](_0x14e31d=>{_0x14e31d['on']('addMarker:suggestion:formatBlock',(_0x3ec7ee,_0x79f490,_0x14a119)=>{_0x567c14(_0x3ec7ee,_0x79f490,_0x14a119,!0x0,!0x1);},{'priority':'highest'});}),_0x28b50e['conversion']['for']('dataDowncast')['add'](_0x599499=>{_0x599499['on']('addMarker:suggestion:attribute',(_0x95c60a,_0x35e3b7,_0x5aa0bc)=>{_0x567c14(_0x95c60a,_0x35e3b7,_0x5aa0bc,!0x0,!0x0);},{'priority':'highest'});}),_0x28b50e['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x51bb1c,_0x48b7ad)=>_0x48b7ad['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x51bb1c['substr'](0xb)}});const _0x142f61=(_0x4a4940,_0x48183a,_0xad95e9,_0x4adb98,_0x31787e)=>{if(_0x4adb98&&!_0xad95e9['options']['showSuggestionHighlights'])return;if(!_0xad95e9['consumable']['test'](_0x48183a['markerRange'],_0x4a4940['name']))return;const _0xc98c35=this['_activeMarkers'],_0x54fccf=_0x48183a['markerRange']['getWalker'](),_0x40a2e1=_0x48183a['markerRange']['start'],_0x59719a=_0x28b50e['model']['schema'];let _0xc2e7a9=null,_0x49fcc9=null,_0x4ae389=!0x1,_0x158148=!0x1;for(const _0x206c5f of _0x54fccf){const _0x413d53=_0x206c5f['item'];_0x4ae389=_0x4ae389||_0x59719a['isContent'](_0x413d53);const _0x2a84b0=_0xad95e9['mapper']['toViewElement'](_0x413d53);if(_0x2a84b0&&_0x2a84b0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x206c5f['type']&&(_0x59719a['isBlock'](_0x413d53)&&!_0x59719a['isLimit'](_0x413d53)&&(_0x413d53['nextSibling']||_0x40a2e1['isAtEnd']?_0xc2e7a9&&_0xc2e7a9['parent']==_0x413d53||(_0xc2e7a9=_0x413d53,_0x14564a(_0x206c5f['previousPosition']),_0x158148=!0x0):_0x49fcc9=_0x49fcc9||_0x206c5f['previousPosition']));}function _0x14564a(_0x1c8c63){const {id:_0x275e14,authorId:_0x1d0d4b}=J(_0x48183a['markerName']),_0x4c9915=_0xad95e9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x31787e,'data-suggestion':_0x275e14,'data-author-id':_0x1d0d4b}),_0x55352b=_0xad95e9['mapper']['toViewPosition'](_0x1c8c63);!_0x4adb98&&_0xc98c35['includes'](_0x48183a['markerName'])&&_0xad95e9['writer']['addClass']('ck-suggestion-marker--active',_0x4c9915),_0xad95e9['writer']['insert'](_0x55352b,_0x4c9915),_0xad95e9['mapper']['bindElementToMarker'](_0x4c9915,_0x48183a['markerName']);}_0x4ae389||_0x158148||!_0x49fcc9||_0x14564a(_0x49fcc9);};_0x28b50e['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x20956b,_0x5f005b,_0x44ecc6)=>{_0x142f61(_0x20956b,_0x5f005b,_0x44ecc6,!0x1,'merge');},{'priority':'high'}),_0x28b50e['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4a0efc,_0x21f528,_0xd49381)=>{_0x142f61(_0x4a0efc,_0x21f528,_0xd49381,!0x0,'merge');},{'priority':'high'}),_0x28b50e['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2c78c0,_0x29cf4d,_0x32e3d0)=>{_0x142f61(_0x2c78c0,_0x29cf4d,_0x32e3d0,!0x1,'split');},{'priority':'high'}),_0x28b50e['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x597ed0,_0x5a2b29,_0x18fc44)=>{_0x142f61(_0x597ed0,_0x5a2b29,_0x18fc44,!0x0,'split');},{'priority':'high'}),_0x28b50e['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x2ef95d,_0x55e0e6,_0xacb6d1)=>{((_0x4f863d,_0x40326b,_0x3b7e9a)=>{const _0x58da40=_0x3b7e9a['mapper']['markerNameToElements'](_0x40326b['markerName']);if(_0x58da40){for(const _0x95acb7 of _0x58da40)(_0x95acb7['hasClass']('ck-suggestion-marker-split')||_0x95acb7['hasClass']('ck-suggestion-marker-merge'))&&(_0x3b7e9a['mapper']['unbindElementFromMarkerName'](_0x95acb7,_0x40326b['markerName']),_0x3b7e9a['writer']['remove'](_0x95acb7));}})(0x0,_0x55e0e6,_0xacb6d1);},{'priority':'high'});const _0x2895c0=(_0x507052,_0x38cc64,_0x5bcd35,_0x3f186a)=>{if(_0x3f186a&&!_0x5bcd35['options']['showSuggestionHighlights'])return;const _0x578912=_0x38cc64['markerRange']['start'],_0x45d4fa=_0x38cc64['markerRange']['end'],_0x5db09e=_0x28b50e['model']['schema'];if(!_0x578912['isTouching'](_0x45d4fa)||!_0x578912['nodeAfter'])return;const _0x5f650f=_0x578912['nodeAfter'];if(_0x5db09e['isBlock'](_0x5f650f)&&!_0x5db09e['isLimit'](_0x5f650f)&&_0x5db09e['checkChild'](_0x5f650f,'$text')){if(!_0x5bcd35['consumable']['consume'](_0x38cc64['markerRange'],_0x507052['name']))return;const {id:_0x14f544,authorId:_0x4ada49}=J(_0x38cc64['markerName']),_0x34c7d9=_0x5bcd35['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x14f544,'data-author-id':_0x4ada49}),_0x5054b2=_0x5bcd35['mapper']['toViewPosition'](_0x45d4fa);!_0x3f186a&&this['_activeMarkers']['includes'](_0x38cc64['markerName'])&&_0x5bcd35['writer']['addClass']('ck-suggestion-marker--active',_0x34c7d9),_0x5bcd35['writer']['insert'](_0x5054b2,_0x34c7d9),_0x5bcd35['mapper']['bindElementToMarker'](_0x34c7d9,_0x38cc64['markerName']);}};_0x28b50e['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xddcb67,_0x77d9fe,_0x1728f3)=>{_0x2895c0(_0xddcb67,_0x77d9fe,_0x1728f3,!0x1);},{'priority':'high'}),_0x28b50e['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1b326e,_0x151356,_0x5c086e)=>{_0x2895c0(_0x1b326e,_0x151356,_0x5c086e,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x54bf23,_0x1a2bbb,_0x2981e4)=>{this['_activeMarkers']=_0x2981e4['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x4cda41){this['_blockAttributeKeys']['add'](_0x4cda41);}['registerInlineAttribute'](_0x4b1274){this['_inlineAttributeKeys']['add'](_0x4b1274);}['isBlockAttribute'](_0xbf015){return this['_blockAttributeKeys']['has'](_0xbf015);}['isInlineAttribute'](_0x34162e){return this['_inlineAttributeKeys']['has'](_0x34162e);}['isRegisteredAttribute'](_0x2c3f81){return this['isInlineAttribute'](_0x2c3f81)||this['isBlockAttribute'](_0x2c3f81);}['_getClassName'](_0x384404,_0x537735){if('attribute'!=_0x384404)return'ck-suggestion-marker-'+_0x384404;const _0x1471c1=_0x537735['split']('|')[0x0];return this['isBlockAttribute'](_0x1471c1)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x19f32d={},_0x55b62a){if(void 0x0!==_0x19f32d['dateTimeFormat']&&'function'!=typeof _0x19f32d['dateTimeFormat'])throw new _0x263fb1('invalid-date-time-format');return _0x39ed65=>{const _0x10c155='string'==typeof _0x39ed65?_0x4b6474['fromISO'](_0x39ed65):_0x4b6474['fromJSDate'](_0x39ed65),_0x5de963=_0x4b6474['now'](),_0x26fc64=Math['floor'](_0x5de963['diff'](_0x10c155,'days')['days']);return _0x19f32d['dateTimeFormat']?_0x19f32d['dateTimeFormat'](_0x10c155['toJSDate'](),_0x55b62a&&_0x55b62a['t']?_0x55b62a['t']:void 0x0):0x0===_0x26fc64?_0x55b62a?D(_0x55b62a,'Today')+'\x20'+_0x10c155['toFormat']('hh:mma'):_0x10c155['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x26fc64?_0x55b62a?D(_0x55b62a,'Yesterday')+'\x20'+_0x10c155['toFormat']('hh:mma'):_0x10c155['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x26fc64<0x7?_0x55b62a?D(_0x55b62a,'Last')+'\x20'+D(_0x55b62a,_0x10c155['toFormat']('EEEE'))+'\x20'+_0x10c155['toFormat']('hh:mma'):_0x10c155['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x10c155['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x19055b,_0x121312){const _0x4145c8=_0x19055b['mapper']['markerNameToElements'](_0x121312['name']);if(!_0x4145c8)return null;const _0x396237=_0x306afd(_0x4145c8['values']());return _0x19055b['view']['domConverter']['mapViewToDom'](_0x396237)||null;}function It(_0x2e6f70,_0x3e0cc4){if(0x0===_0x3e0cc4['length'])return null;const _0x33a985=[],_0x1fc947=_0x2e6f70['view']['domConverter'];for(const _0x40644e of _0x3e0cc4){const _0x72ac5b=_0x2e6f70['mapper']['markerNameToElements'](_0x40644e['name']);if(!_0x72ac5b)continue;const _0x2744b5=Array['from'](_0x72ac5b)['map'](_0x22096c=>_0x1fc947['mapViewToDom'](_0x22096c))['filter'](_0x446c0d=>!!_0x446c0d);_0x33a985['push'](..._0x2744b5);}if(0x0===_0x33a985['length'])return null;const _0x2d0ae1=[];for(const _0x2687ce of _0x33a985){const _0x3bf3b7=_0x2687ce['getClientRects']()['item'](0x0);_0x3bf3b7&&_0x2d0ae1['push']({'x':_0x3bf3b7['x'],'y':_0x3bf3b7['y'],'domElement':_0x2687ce});}return 0x0===_0x2d0ae1['length']?null:(_0x2d0ae1['sort']((_0x57639c,_0x2568de)=>_0x57639c['y']-_0x2568de['y']||_0x57639c['x']-_0x2568de['x']),_0x2d0ae1['map'](_0x50e375=>_0x50e375['domElement']));}function St(_0x1993c8,{limit:_0x27941b,suffix:_0x51a6a8='...'}){const _0xd9b041=[];let _0x538040=0x0;const _0x299d8a=_0x1993c8['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x293fc7=0x0;_0x293fc7<_0x299d8a['length'];_0x293fc7++){let _0x13e7df=_0x299d8a[_0x293fc7];const _0x407abd=Et(_0x13e7df);if(_0x13e7df['startsWith']('<')){if(_0x538040>=_0x27941b){const _0x570ada=_0x13e7df['match'](/[a-zA-Z]+/);if(!_0x570ada){_0x299d8a[_0x293fc7]='';continue;}const _0x36f5db=_0x570ada[0x0];_0x13e7df['startsWith']('</')?(_0xd9b041['length']&&(_0x13e7df=''),_0xd9b041['pop']()):(_0xd9b041['push'](_0x36f5db),_0x13e7df='');}}else{if(_0x538040>=_0x27941b)_0x13e7df='';else{if(_0x538040+_0x407abd['length']>=_0x27941b){let _0x4df562=_0x27941b-_0x538040;if('\x20'===_0x407abd[_0x4df562-0x1])_0x4df562--;else{const _0x34dbff=_0x407abd['slice'](_0x4df562)['indexOf']('\x20');-0x1!==_0x34dbff?_0x4df562+=_0x34dbff:_0x4df562=_0x13e7df['length'];}_0x13e7df=_0x407abd['slice'](0x0,_0x4df562)['join']('')+_0x51a6a8,_0x538040=_0x27941b;}else _0x538040+=_0x407abd['length'];}}_0x299d8a[_0x293fc7]=_0x13e7df;}return _0x299d8a['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x2c7591){const _0x217816=[];for(let _0x33bb46=0x0;_0x33bb46<_0x2c7591['length'];_0x33bb46++){const _0x1cd8f9=_0x2c7591['substring'](_0x33bb46)['match'](/^&[a-z0-9#]+;/);if(_0x1cd8f9){const _0x24d974=_0x1cd8f9[0x0];_0x217816['push'](_0x24d974),_0x33bb46+=_0x24d974['length']-0x1;}else _0x217816['push'](_0x2c7591[_0x33bb46]);}return _0x217816;}var Mt=class extends _0x46f989{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x1382b1){super(_0x1382b1);const _0x1e67a=this['bindTemplate'];this['set']('message',D(_0x1382b1,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1382b1,D(_0x1382b1,'Yes'),_0xee71f2,'submit'),this['cancelView']=this['_createButtonView'](_0x1382b1,D(_0x1382b1,'No'),_0x39a121,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3992c7(),this['keystrokes']=new _0x5b8b0e(),this['focusCycler']=new _0x59c7b7({'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':_0x1e67a['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'](_0x5ac8e3,_0x4134e9,_0x130c36,_0xb9b462){const _0x4e3e58=new _0x58deee(_0x5ac8e3);return _0x4e3e58['label']=_0x4134e9,_0x4e3e58['icon']=_0x130c36,_0x4e3e58['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xb9b462}}),_0x4e3e58['on']('execute',()=>this['fire'](_0xb9b462)),_0x4e3e58;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x483118=>{this['keystrokes']['listenTo'](_0x483118['element']),this['focusTracker']['add'](_0x483118['element']);}),this['keystrokes']['set']('esc',(_0x45855f,_0x289115)=>{this['fire']('cancel'),_0x289115();});}};function At(_0x370f01){return class _0x3b6a48 extends _0x370f01{['showConfirm'](_0x1c6dd4,_0x53a546){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x1c6dd4,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x53a546['appendChild'](this['confirmView']['element']),_0x53a546['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x526a4a,_0xcb32a3,_0x53af47)=>{_0x53af47||_0x53a546['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x11e7f7=>this['confirmView']['on']('submit',_0x11e7f7));}['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(_0xb6592){let _0x48e996=0x0,_0x46a3ba=0x0;for(const _0xaa2593 of Nt(_0xb6592))_0x48e996=(_0x48e996<<0x5)-_0x48e996+_0xaa2593,_0x48e996&=_0x48e996,[_0x48e996,_0x46a3ba]=[_0x46a3ba,_0x48e996];return Bt(_0x48e996)+Bt(_0x46a3ba);}function*Pt(_0x705e7d){null==_0x705e7d||null==_0x705e7d?yield 0x12b9b0a1:0x0===_0x705e7d||!0x1===_0x705e7d?yield 0x0:0x1===_0x705e7d||0x1==_0x705e7d?yield 0x1:Array['isArray'](_0x705e7d)?yield*function*(_0x29bd0b){for(const _0x32de29 of _0x29bd0b)yield*Pt(_0x32de29);}(_0x705e7d):'object'==typeof _0x705e7d?yield*Nt(_0x705e7d):'string'==typeof _0x705e7d?yield*Vt(_0x705e7d):'number'==typeof _0x705e7d&&(yield _0x705e7d);}function*Nt(_0x3c3166){if(yield Ot('{'),_0x3c3166){const _0x59a9f2=Object['keys'](_0x3c3166)['sort']();for(const _0x4e5a87 of _0x59a9f2){yield*Vt(_0x4e5a87),yield Ot(':');const _0x4772ff=_0x3c3166[_0x4e5a87];yield*Pt(_0x4772ff);}}yield Ot('}');}function*Vt(_0x9516c3){yield Ot('\x22');for(const _0x4dcbe8 of _0x9516c3)yield Ot(_0x4dcbe8);yield Ot('\x22');}function Ot(_0x42a6de){return _0x42a6de['charCodeAt'](0x0);}function Bt(_0x49f971){return(_0x49f971*=Math['sign'](_0x49f971))['toString'](0x24);}const Dt=['root','roots','initialData','context','toolbar','rootsAttributes'],$t=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x18d533,_0xa99329,_0x3dceaf,_0x5774a4=[]){const _0xffe71a='string'==typeof _0x18d533?_0x3dceaf['get'](_0x18d533)['constructor']:_0x18d533['prototype']['constructor'];if(_0xa99329['has'](_0xffe71a))return _0xa99329['get'](_0xffe71a);_0xa99329['set'](_0xffe71a,!0x0);const _0x236fe5=[...$t,..._0x5774a4]['map'](_0x445800=>{if(_0x3dceaf['has'](_0x445800))return _0x3dceaf['get'](_0x445800)['constructor'];})['filter'](_0x4f7f3b=>_0x4f7f3b);if(_0xffe71a&&_0x236fe5['includes'](_0xffe71a))return _0xa99329['set'](_0xffe71a,!0x1),!0x1;if(!_0xffe71a['requires'])return _0xa99329['set'](_0xffe71a,!0x0),!0x0;const _0x257af4=_0xffe71a['requires']['every'](_0x3ba3e0=>Lt(_0x3ba3e0,_0xa99329,_0x3dceaf,_0x5774a4));return _0xa99329['set'](_0xffe71a,_0x257af4),_0x257af4;}function Rt(_0x2369af,_0x5b5793){const _0x23fbb4={};for(const _0x4283c2 of _0x2369af['config']['names']())Dt['includes'](_0x4283c2)||(_0x23fbb4[_0x4283c2]=_0x2369af['config']['get'](_0x4283c2));const _0x4a80ec=_0x23fbb4['plugins']||[],_0x892aee=_0x2369af['constructor']['builtinPlugins']||[],_0x3b0d67=_0x4a80ec['length']?_0x4a80ec:_0x892aee,_0x2f64f6=_0x23fbb4['extraPlugins']||[];delete _0x23fbb4['extraPlugins'];const _0x5b2f89=_0x23fbb4['removePlugins']||[];delete _0x23fbb4['removePlugins'];const _0x448527=_0x2369af['_context']['config']['get']('plugins')||[],_0x53927c=_0x3b0d67['concat'](_0x2f64f6)['concat'](_0x448527)['map'](_0x259159=>'string'==typeof _0x259159?_0x892aee['find'](_0x1ae993=>_0x1ae993['pluginName']==_0x259159):_0x259159)['filter'](_0x45ce5a=>!_0x5b2f89['includes'](_0x45ce5a)&&!_0x5b2f89['includes'](_0x45ce5a['pluginName'])),_0x375795=Array['from'](new Set(_0x53927c)),_0x35ce1=new Map();return _0x23fbb4['plugins']=_0x375795['filter'](_0x5c3c40=>Lt(_0x5c3c40,_0x35ce1,_0x2369af['plugins'],_0x5b5793)),_0x23fbb4;}function Ft(_0xe9c94b,_0x4cc13b){const _0x24c989=[];_0xe9c94b['document']['selection']['on']('change:range',()=>{const _0x11c086=function(_0x28bdbd,_0x30bcf9){const _0x12e20e=[];for(const _0x55ac15 of _0x28bdbd['markers']){const _0x5dcea9=_0x55ac15['getRange']();(_0x5dcea9['containsPosition'](_0x30bcf9)||_0x5dcea9['start']['isEqual'](_0x30bcf9)||_0x5dcea9['end']['isEqual'](_0x30bcf9))&&_0x12e20e['push'](_0x55ac15);}return _0x12e20e;}(_0xe9c94b,_0xe9c94b['document']['selection']['focus']),_0x2d2646=[],_0x7395d8=[],_0x41c98e=[];for(const _0x31fdd3 of _0x24c989)_0x11c086['includes'](_0x31fdd3)||_0x2d2646['push'](_0x31fdd3);for(const _0x3d1c5c of _0x11c086)_0x24c989['includes'](_0x3d1c5c)||_0x7395d8['push'](_0x3d1c5c),_0x41c98e['push'](_0x3d1c5c);(_0x2d2646['length']||_0x7395d8['length'])&&_0x4cc13b({'left':_0x2d2646,'entered':_0x7395d8}),_0x24c989['length']=0x0,_0x24c989['push'](..._0x41c98e);});}const Ht='Ctrl+Shift+E';function Ut(_0x2a7c0c,_0x4bfa00){const _0x1b11e5=_0x2a7c0c['element'];_0x2a7c0c['keystrokes']['listenTo'](_0x1b11e5);for(const _0x1d45d8 of _0x4bfa00)zt(_0x2a7c0c,_0x1d45d8);_0x4bfa00['on']('change',(_0x368442,_0x533d33)=>{for(const _0x4acaab of _0x533d33['removed'])Wt(_0x2a7c0c,_0x4acaab);for(const _0x36e1db of Array['from'](_0x533d33['added'])['reverse']())zt(_0x2a7c0c,_0x36e1db);}),_0x2a7c0c['keystrokes']['set']('enter',(_0x23c088,_0x2b35ca)=>{_0x1b11e5===_0x23c088['target']&&(_0x2a7c0c['focusCycler']['focusFirst'](),_0x2b35ca());},{'filter':_0x41e252=>_0x41e252['target']===_0x1b11e5}),_0x2a7c0c['keystrokes']['set']('esc',(_0x48e211,_0x2d910d)=>{_0x1b11e5!==_0x48e211['target']?_0x2a7c0c['focus']():_0x2a7c0c['fire']('escape'),_0x2d910d();}),_0x2a7c0c['keystrokes']['set']('arrowdown',(_0x43d1d2,_0x4db49d)=>{_0x1b11e5===_0x43d1d2['target']&&(_0x2a7c0c['fire']('arrowdown'),_0x4db49d());}),_0x2a7c0c['keystrokes']['set']('arrowup',(_0x36e963,_0x4e857c)=>{_0x1b11e5===_0x36e963['target']&&(_0x2a7c0c['fire']('arrowup'),_0x4e857c());});}function zt(_0x4555f8,_0x11da6c){_0x11da6c['isRendered']&&(_0x4555f8['focusTracker']['add'](_0x11da6c['element']),_0x4555f8['keystrokes']['listenTo'](_0x11da6c['element']),_0xc18c06(_0x11da6c)&&function(_0x2899cb,_0x41f1cb){const _0x307c60=_0x2899cb['actions'],_0x924773=_0x41f1cb['actions'];for(const _0x48bdbe of Object['keys'](_0x307c60))if(_0x48bdbe in _0x924773&&_0x307c60[_0x48bdbe]!==_0x924773[_0x48bdbe])return!0x1;return!0x0;}(_0x4555f8['focusCycler'],_0x11da6c['focusCycler'])&&_0x4555f8['focusCycler']['chain'](_0x11da6c['focusCycler']));}function Wt(_0x1640af,_0x1f895f){_0x1640af['focusTracker']['remove'](_0x1f895f['element']),_0x1640af['keystrokes']['stopListening'](_0x1f895f['element']),_0xc18c06(_0x1f895f)&&_0x1640af['focusCycler']['unchain'](_0x1f895f['focusCycler']);}const Yt='$elementId',jt='data-id';var Jt=class extends _0x38c125{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2be860?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2b0adb,_0x19192e)=>{_0x19192e['on']('ready',()=>{this['_integrateEditor'](_0x19192e);});});}get['editor'](){if(this['context']instanceof _0x2be860)return this['context'];{const _0x1f37b5=this['context']['editors']['first'];if(!_0x1f37b5)throw new _0x263fb1('documentcompare-no-editor',this);return _0x1f37b5;}}['getDiff'](_0x133215,_0x391e1a,_0x2b3e32={'anchor':'main','markDeletions':!0x1}){const _0x2b7df8=_0x2b3e32['targetEditor']||this['editor'],_0x133008=_0x2b3e32['anchor']??'main';let _0x10db27,_0x163bd2;if('string'==typeof _0x133008){const _0x2b0b56=_0x2b7df8['model']['document']['getRoot'](_0x133008);if(!_0x2b0b56)throw new _0x263fb1('documentcompare-compare-no-root',this,{'anchor':_0x133008});_0x10db27=_0x2b0b56,_0x163bd2=_0x2b7df8['model']['createPositionAt'](_0x2b0b56,0x0);}else _0x10db27=_0x133008['clone'](),_0x163bd2=_0x133008['clone']();return new Gt({'editor':_0x2b7df8,'before':_0x2b7df8['data']['parse'](_0x133215,_0x10db27),'after':_0x2b7df8['data']['parse'](_0x391e1a,_0x10db27),'options':{'anchor':_0x163bd2,'markDeletions':_0x2b3e32['markDeletions']}});}['isMarkedRemoveOperation'](_0x41207f){return'marker'==_0x41207f['type']&&_0x41207f['name']['startsWith']('$markedRemove');}['applyOperations'](_0x44f4c5,_0x38c517){const _0x50fc86=_0x44f4c5['model'];for(const _0x3b2d0e of _0x38c517)_0x3b2d0e instanceof _0x1672e9?_0x44f4c5['_addOperationForAffectedMarkers']('move',_0x1d3850['_createFromPositionAndShift'](_0x3b2d0e['sourcePosition'],_0x3b2d0e['howMany'])):_0x3b2d0e instanceof _0x4025dc?_0x44f4c5['_addOperationForAffectedMarkers']('merge',_0x3b2d0e['deletionPosition']):_0x3b2d0e instanceof _0x33e166&&this['_fixMarkerOperationOldRange'](_0x50fc86,_0x3b2d0e),_0x3b2d0e['baseVersion']=_0x50fc86['document']['version'],_0x44f4c5['batch']['addOperation'](_0x3b2d0e),_0x50fc86['applyOperation'](_0x3b2d0e);}['_fixMarkerOperationOldRange'](_0x1d3641,_0x37c3cb){const _0x2f57fb=_0x1d3641['markers']['get'](_0x37c3cb['name']);_0x2f57fb&&(_0x37c3cb['oldRange']=_0x2f57fb['getRange']());}['_integrateEditor'](_0x195996){_0x195996['conversion']['for']('upcast')['add'](_0x315b4f=>{_0x315b4f['on']('element',(_0x2014a2,_0x2a0737,_0x1c23b1)=>{if(_0x2a0737['modelRange']&&_0x1c23b1['consumable']['consume'](_0x2a0737['viewItem'],{'attributes':'data-id'}))for(const _0x2ba5ee of _0x2a0737['modelRange']['getItems']({'shallow':!0x0})){if(_0x2ba5ee['is']('$textProxy'))continue;const _0x1d54e7=_0x2a0737['viewItem']['getAttribute'](jt);_0x1d54e7&&_0x1c23b1['writer']['setAttribute'](Yt,_0x1d54e7,_0x2ba5ee);}},{'priority':'low'});}),_0x195996['model']['schema']['addAttributeCheck'](()=>!0x0,Yt);}},Gt=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x440356,before:_0x28a1da,after:_0x49ece7,options:_0x43f81d}){this['_editor']=_0x440356,this['_markDeletions']=!!_0x43f81d['markDeletions'],this['_anchor']=_0x43f81d['anchor'];const _0x28be4a=this['_tokenizeModel'](_0x28a1da),_0x5685bb=this['_tokenizeModel'](_0x49ece7);this['_diffItems']=this['_diffModelTokens'](_0x28be4a,_0x5685bb),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x28a1da['markers'],_0x49ece7['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x35abff=this['_editor']['model']['document'],_0x153003=[];let _0x21d809=_0x35abff['version'];for(const _0x1f9336 of this['_operationsData'])switch(_0x1f9336['type']){case'attribute':{const _0x5dbd4d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['path']),_0x524a69=new _0x1d3850(_0x5dbd4d,_0x5dbd4d['getShiftedBy'](_0x1f9336['howMany'])),_0x336c28=JSON['parse'](_0x1f9336['oldValue']),_0x2d0b80=JSON['parse'](_0x1f9336['newValue']);_0x153003['push'](new _0x4428ea(_0x524a69,_0x1f9336['key'],_0x336c28,_0x2d0b80,_0x21d809++));break;}case'insert':{const _0x7436c2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['path']),_0x5e29a5=this['_makeModelFromTokens'](_0x1f9336['tokens']);_0x153003['push'](new _0xcfcbff(_0x7436c2,_0x5e29a5,_0x21d809++));break;}case'remove':{const _0x5424c2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['path']),_0x2d2fbc=new _0x31cba0(_0x35abff['graveyard'],[0x0]);_0x153003['push'](new _0x1672e9(_0x5424c2,_0x1f9336['howMany'],_0x2d2fbc,_0x21d809++));break;}case'rename':{const _0x304152=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['path']);_0x153003['push'](new _0x4efa3e(_0x304152,_0x1f9336['oldName'],_0x1f9336['newName'],_0x21d809++));break;}case'split':{const _0x5088c2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['path']),_0x1b0a2f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['path']['slice'](0x0,-0x1));_0x1b0a2f['offset']++,_0x153003['push'](new _0x58e0fc(_0x5088c2,Number['NEGATIVE_INFINITY'],_0x1b0a2f,null,_0x21d809++));break;}case'merge':{const _0x37b466=_0x1f9336['path']['slice'](),_0x5b29d4=_0x37b466['slice'](0x0,-0x1);_0x5b29d4[_0x5b29d4['length']-0x1]++,_0x5b29d4['push'](0x0);const _0x11f1a2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b29d4),_0x4f28a6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37b466),_0x314ff5=new _0x31cba0(_0x35abff['graveyard'],[0x0]);_0x153003['push'](new _0x4025dc(_0x11f1a2,Number['NEGATIVE_INFINITY'],_0x4f28a6,_0x314ff5,_0x21d809++));break;}case'marker':case'markedRemove':{let _0x3f6e46=null;_0x1f9336['range']&&(_0x3f6e46=new _0x1d3850(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['range']['end'])));const _0x449e9b='marker'==_0x1f9336['type']?_0x1f9336['name']:'$markedRemove:'+_0x397474();_0x153003['push'](new _0x33e166(_0x449e9b,null,_0x3f6e46,_0x35abff['model']['markers'],!0x0,_0x21d809++));break;}case'unwrap':{const _0x320984=_0x1f9336['path']['slice']();_0x320984['push'](0x0);const _0x3ae7bf=_0x1f9336['path']['slice'](),_0x11d15f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x320984),_0x24816a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3ae7bf),_0x594a17=new _0x31cba0(_0x35abff['graveyard'],[0x0]);_0x153003['push'](new _0x1672e9(_0x11d15f,_0x1f9336['howMany'],_0x24816a,_0x21d809++)),_0x153003['push'](new _0x1672e9(_0x24816a['getShiftedBy'](_0x1f9336['howMany']),0x1,_0x594a17,_0x21d809++));break;}case'wrap':{const _0x214abd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['range']['start']),_0x42de01=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f9336['range']['end']),_0x46364e=_0x1f9336['token']['element']['_clone'](!0x1);_0x46364e['_removeAttribute'](Yt);const _0x2f1212=_0x1f9336['range']['end']['slice']();_0x2f1212['push'](0x0);const _0x37f065=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f1212);_0x153003['push'](new _0xcfcbff(_0x42de01,_0x46364e,_0x21d809++)),_0x153003['push'](new _0x1672e9(_0x214abd,_0x42de01['offset']-_0x214abd['offset'],_0x37f065,_0x21d809++));break;}}return _0x153003;}['_tokenizeModel'](_0x5ddf7e){const _0x12c18e=[],_0x215045=new _0xae740({'boundaries':_0x1d3850['_createIn'](_0x5ddf7e)});let _0xdfe0de='',_0x14945f=null;const _0x2f874c=[''],_0x434390=new Map();for(const _0x4054ac of _0x215045)if('elementStart'==_0x4054ac['type']||'elementEnd'==_0x4054ac['type']){let _0x482985=_0x2f874c[0x0];''!==_0xdfe0de&&(_0x12c18e['push'](...this['_makeTokensFromTextByWords'](_0xdfe0de,_0x14945f,_0x482985)),_0xdfe0de='');const _0x425e1e=_0x4054ac['item'];let _0x108f5c;_0x425e1e['getAttribute']('$elementId')?_0x108f5c=_0x425e1e['getAttribute'](Yt):'elementStart'==_0x4054ac['type']?(_0x108f5c=qt(_0x425e1e),_0x434390['set'](_0x425e1e,_0x108f5c)):_0x108f5c=_0x434390['get'](_0x425e1e);const _0x297f6f=this['_getElementCategory'](_0x425e1e);'solid'==_0x297f6f&&('elementStart'==_0x4054ac['type']?(_0x482985=_0x108f5c,_0x2f874c['unshift'](_0x482985)):_0x2f874c['shift']());const _0x447fc0={'type':'element','element':_0x425e1e,'elementId':_0x108f5c,'category':_0x297f6f,'isStart':'elementStart'==_0x4054ac['type'],'limitId':_0x482985};_0x12c18e['push'](_0x447fc0);}else''==_0xdfe0de&&(_0x14945f=_0x4054ac['previousPosition']['clone']()),_0xdfe0de+=_0x4054ac['item']['data'];return''!==_0xdfe0de&&_0x12c18e['push'](...this['_makeTokensFromTextByWords'](_0xdfe0de,_0x14945f,_0x2f874c[0x0])),_0x12c18e;}['_makeTokensFromTextByWords'](_0x485c94,_0x3bf875,_0x5509fd){const _0x24fa5a=_0x485c94['matchAll'](/(\s)/g),_0x3263e6=Array['from'](_0x24fa5a)['map'](_0x395f51=>_0x395f51['index']);_0x3263e6['push'](_0x485c94['length']),0x0==_0x3263e6[0x0]&&_0x3263e6['shift']();const _0x2153d9=[],_0x418861=_0x3bf875['parent'];let _0x2756ee=0x0,_0x5ba504=_0x3bf875['offset'];for(let _0x148835=0x0;_0x148835<_0x3263e6['length'];_0x148835++)_0x2153d9['push']({'type':'text','data':_0x485c94['slice'](_0x2756ee,_0x3263e6[_0x148835]),'parent':_0x418861,'offset':_0x5ba504,'limitId':_0x5509fd}),_0x2756ee=_0x3263e6[_0x148835],_0x5ba504=_0x3bf875['offset']+_0x3263e6[_0x148835];return _0x2153d9;}['_getElementCategory'](_0x5ad26a){const _0x28129f=this['_editor']['model']['schema'];return _0x28129f['isLimit'](_0x5ad26a)||_0x28129f['isContent'](_0x5ad26a)||_0x28129f['isInline'](_0x5ad26a)?'solid':_0x28129f['isBlock'](_0x5ad26a)?'block':function(_0x5ac48b,_0x24c4ec){const _0x5c8e49=_0x5ac48b['parent'];if(!_0x5c8e49||_0x5c8e49['is']('documentFragment'))return!0x1;if(_0x24c4ec['checkChild'](_0x5c8e49,'$text'))return!0x1;for(const _0x53df41 of _0x5ac48b['getChildren']())if(_0x53df41['is']('$text'))return!0x0;return!0x1;}(_0x5ad26a,_0x28129f)?'solid':'container';}['_diffModelTokens'](_0x3f8283,_0x32dd2c){const _0x41033c=_0x471325(_0x3f8283,_0x32dd2c,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x41033c);const _0x104a1a=_0x41033c['flatMap'](_0x1b7245=>{const _0x1fcd25=_0x1b7245['added']?'added':_0x1b7245['removed']?'removed':'unchanged';return _0x1b7245['value']['map'](_0x3e55a1=>({'token':_0x3e55a1,'change':_0x1fcd25}));});let _0x44aa38=0x0;for(const _0x1d0d7b of _0x104a1a)'added'!=_0x1d0d7b['change']&&('unchanged'==_0x1d0d7b['change']&&(_0x1d0d7b['before']=_0x3f8283[_0x44aa38]),_0x44aa38++);return _0x104a1a;}['_handleUnclosedBlockOpeningTags'](_0x8066ad){for(let _0x31cb51=0x0;_0x31cb51<_0x8066ad['length']-0x1;_0x31cb51++)if(_0x8066ad[_0x31cb51]['removed']&&_0x8066ad[_0x31cb51+0x1]['added']){const _0x4c8dd2=this['_findUnclosedBlockOpeningToken'](_0x8066ad[_0x31cb51]['value']);if(null!==_0x4c8dd2){const _0xdbdf6a=this['_findUnclosedBlockOpeningToken'](_0x8066ad[_0x31cb51+0x1]['value']),_0x3fe99d=_0x8066ad[_0x31cb51]['value']['splice'](_0x4c8dd2),_0x27569e=_0x8066ad[_0x31cb51+0x1]['value']['splice'](_0xdbdf6a),_0x52091f=[_0x27569e['shift']()];_0x3fe99d['shift']();const _0x5ea60f={'value':_0x3fe99d,'removed':!0x0},_0x346e63={'value':_0x27569e,'added':!0x0},_0x95ab82={'value':_0x52091f};_0x8066ad['splice'](_0x31cb51+0x2,0x0,_0x95ab82,_0x5ea60f,_0x346e63);}}}['_findUnclosedBlockOpeningToken'](_0x22a5d6){let _0x416da7=0x0,_0x2238ba=-0x1;for(let _0x108d58=0x0;_0x108d58<_0x22a5d6['length'];_0x108d58++){const _0x3b930e=_0x22a5d6[_0x108d58];'element'==_0x3b930e['type']&&'block'==_0x3b930e['category']&&(_0x416da7+=_0x3b930e['isStart']?0x1:-0x1,_0x3b930e['isStart']&&(_0x2238ba=_0x108d58));}return 0x0===_0x416da7?null:_0x2238ba;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4fb3a1=0x0;_0x4fb3a1<this['_diffItems']['length'];_0x4fb3a1++){const _0x458f55=this['_diffItems'][_0x4fb3a1]['change'],_0x5b1242=[];_0x5b1242['push'](this['_diffItems'][_0x4fb3a1]);let _0x4c1084=_0x4fb3a1+0x1;for(;this['_diffItems'][_0x4c1084]&&this['_diffItems'][_0x4c1084]['change']==_0x458f55;)_0x5b1242['push'](this['_diffItems'][_0x4c1084]),_0x4c1084++,_0x4fb3a1++;const _0x3db7f2=_0x5b1242['map'](_0x28ae7c=>_0x28ae7c['token']);if('unchanged'==_0x458f55)_0x5b1242['map'](_0x43e10f=>_0x43e10f['before'])['forEach'](_0x2cc619=>this['_traverseOverItem'](_0x2cc619));else{if('removed'==_0x458f55){if(this['_markDeletions']){const _0xd71c90=this['_path']['slice']();_0x3db7f2['forEach'](_0x3acbec=>this['_traverseOverItem'](_0x3acbec));const _0x396454=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0xd71c90,'end':_0x396454}});}else this['_handleChanged'](_0x3db7f2,!0x0,this['_path']['slice']());}else{const _0x3633ef=_0x3db7f2['filter'](_0x28ce78=>'element'!=_0x28ce78['type']||'container'!=_0x28ce78['category']);this['_handleChanged'](_0x3633ef,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x578d1a=0x0;_0x578d1a<this['_diffItems']['length'];_0x578d1a++){const _0x3b8655=this['_diffItems'][_0x578d1a]['change'],_0x11b6b2=[];_0x11b6b2['push'](this['_diffItems'][_0x578d1a]);let _0x4c5b2c=_0x578d1a+0x1;for(;this['_diffItems'][_0x4c5b2c]&&this['_diffItems'][_0x4c5b2c]['change']==_0x3b8655;)_0x11b6b2['push'](this['_diffItems'][_0x4c5b2c]),_0x4c5b2c++,_0x578d1a++;const _0x24d528=_0x11b6b2['map'](_0x1e2c42=>_0x1e2c42['token']);if('unchanged'==_0x3b8655){const _0x220fd7=_0x11b6b2['map'](_0x392507=>_0x392507['before']);this['_handleUnchanged'](_0x220fd7,_0x24d528);}else('added'==_0x3b8655||this['_markDeletions'])&&_0x24d528['forEach'](_0x3aa999=>{'element'==_0x3aa999['type']&&_0x3aa999['isStart']&&this['_splitPostponedData']['has'](_0x3aa999['element'])&&this['_handleSplitPostponedData'](_0x3aa999['element'],this['_path']),this['_traverseOverItem'](_0x3aa999);});}}['_handleSplitPostponedData'](_0x337fb7,_0x16ed02){const _0x1b759b=this['_splitPostponedData']['get'](_0x337fb7);for(const _0x5828fe of _0x1b759b)'rename'==_0x5828fe['type']?this['_operationsData']['push']({'type':'rename','path':_0x16ed02['slice'](),'oldName':_0x5828fe['oldValue'],'newName':_0x337fb7['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x16ed02['slice'](),'howMany':0x1,'key':_0x5828fe['key'],'oldValue':_0x5828fe['oldValue'],'newValue':JSON['stringify'](_0x337fb7['getAttribute'](_0x5828fe['key'])??null)});}['_calculateMarkersOperationsData'](_0x50780d,_0x25e1cb){const _0x2ec239={};for(const [_0x73e981]of _0x50780d)_0x2ec239[_0x73e981]=null;for(const [_0x252546,_0x59e4c4]of _0x25e1cb)_0x2ec239[_0x252546]=_0x59e4c4;const _0xd854de=Object['entries'](_0x2ec239)['map'](([_0x53230e,_0x45a3d9])=>({'type':'marker','name':_0x53230e,'range':_0x45a3d9?{'start':_0x45a3d9['start']['path']['slice'](),'end':_0x45a3d9['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0xd854de);}['_handleUnwraps'](){const _0x40c9f3=new Map(),_0x56b42e=[],_0x3285ef=[0x0];let _0x366126=this['_diffItems']['length']+0x1;for(let _0x43c473=this['_diffItems']['length']-0x1;_0x43c473>=0x0;_0x43c473--){const {token:_0xda4e8e,before:_0x5493b0,change:_0xde8bd9}=this['_diffItems'][_0x43c473];if('removed'!=_0xde8bd9&&(_0x366126=_0x43c473),'element'!=_0xda4e8e['type']||'container'!=_0xda4e8e['category']||'added'==_0xde8bd9)continue;const _0x4ffa8b=_0x5493b0?_0x5493b0['element']:_0xda4e8e['element'];if(_0xda4e8e['isStart']){const _0x2fad45=_0x40c9f3['get'](_0x4ffa8b),_0x58bd5c=this['_diffItems'][_0x2fad45];('removed'==_0xde8bd9||'removed'==_0x58bd5c['change'])&&_0x366126<_0x2fad45&&(this['_operationsData']['push']({'type':'unwrap','path':_0x4ffa8b['getPath'](),'howMany':_0x4ffa8b['maxOffset']+_0x3285ef[0x0]}),_0x3285ef['shift'](),_0x3285ef[0x0]+=_0x4ffa8b['maxOffset']-0x1,_0x56b42e['push'](_0x43c473),_0x56b42e['push'](_0x2fad45));}else _0x40c9f3['set'](_0x4ffa8b,_0x43c473),_0x3285ef['unshift'](0x0);}_0x56b42e['sort']((_0x4fae5a,_0x467ff3)=>_0x467ff3-_0x4fae5a),_0x56b42e['forEach'](_0x47d1ca=>{const _0x3b04e4=this['_diffItems'][_0x47d1ca];'removed'==_0x3b04e4['change']?this['_diffItems']['splice'](_0x47d1ca,0x1):(_0x3b04e4['change']='added',delete _0x3b04e4['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x3a3069=[];for(let _0x3c6d87=0x0;_0x3c6d87<this['_diffItems']['length'];_0x3c6d87++){const {change:_0x775b81,token:_0x579b6c}=this['_diffItems'][_0x3c6d87];if('added'==_0x775b81&&'element'==_0x579b6c['type']&&'container'==_0x579b6c['category']){if(_0x579b6c['isStart'])_0x3a3069['push'](this['_path']['slice']());else{if(!_0x579b6c['isStart']){const _0x104ceb=_0x3a3069['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x104ceb,'end':this['_path']['slice']()},'token':_0x579b6c}),this['_path'][this['_path']['length']-0x1]=_0x104ceb[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x775b81||this['_markDeletions'])&&this['_traverseOverItem'](_0x579b6c);}}['_handleUnchanged'](_0x3c8ed3,_0x437fc9){for(let _0x49556d=0x0;_0x49556d<_0x3c8ed3['length'];_0x49556d++){const _0x2a9150=_0x3c8ed3[_0x49556d];if('element'==_0x2a9150['type']&&_0x2a9150['isStart']){const _0x6af9e=_0x437fc9[_0x49556d];'block'==_0x2a9150['category']&&this['_handleElementRename'](_0x2a9150['element'],_0x6af9e['element'],this['_path']),this['_handleElementAttributeChanges'](_0x2a9150['element'],_0x6af9e['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x6af9e);}else{if('element'!=_0x2a9150['type']||_0x2a9150['isStart']){if('text'==_0x2a9150['type']){const _0x29f127=this['_path']['slice'](),_0xd08ae6=[],_0x2e40f2=[];for(;_0x3c8ed3[_0x49556d]&&'text'==_0x3c8ed3[_0x49556d]['type'];)_0xd08ae6['push'](_0x3c8ed3[_0x49556d]),_0x2e40f2['push'](_0x437fc9[_0x49556d]),this['_path'][this['_path']['length']-0x1]+=_0x3c8ed3[_0x49556d]['data']['length'],_0x49556d++;_0x49556d--,this['_handleTextAttributeChanges'](_0xd08ae6,_0x2e40f2,_0x29f127);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3285bc,_0x5d38d9,_0x2922b0){const _0x5453a7=[],_0x515b66=[],_0x5d9462=_0x2922b0['slice']();let _0x370bcb=this['_parents']['length']-0x1;for(let _0x3a6845=0x0;_0x3a6845<_0x3285bc['length'];_0x3a6845++){const _0x1d32f3=_0x3285bc[_0x3a6845],_0x3eb135=_0x2922b0['slice']();'element'!=_0x1d32f3['type']||_0x1d32f3['isStart']?'element'==_0x1d32f3['type']&&_0x1d32f3['isStart']?(_0x2922b0['push'](0x0),_0x370bcb++,_0x515b66['push']({'before':_0x3eb135,'after':_0x2922b0['slice'](),'index':_0x3a6845})):_0x2922b0[_0x2922b0['length']-0x1]+=_0x1d32f3['data']['length']:(_0x2922b0['pop'](),_0x2922b0[_0x2922b0['length']-0x1]++,_0x370bcb--,_0x515b66['length']?_0x515b66['pop']():_0x5453a7['push']({'before':_0x3eb135,'after':_0x2922b0['slice'](),'index':_0x3a6845}));}if(_0x515b66['length']!==_0x5453a7['length'])throw new _0x263fb1('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3285bc,'isRemove':_0x5d38d9});const _0x5f2798=[{'after':_0x5d9462['slice'](),'index':-0x1},..._0x5453a7,..._0x515b66,{'before':_0x2922b0['slice'](),'index':_0x3285bc['length']}];if(_0x5d38d9){for(let _0x2f7beb=_0x5f2798['length']-0x1;_0x2f7beb>=0x1;_0x2f7beb--){const _0x3717fe=_0x5f2798[_0x2f7beb-0x1]['after'],_0x355f48=_0x5f2798[_0x2f7beb]['before'],_0x5479d6=_0x355f48[_0x355f48['length']-0x1]-_0x3717fe[_0x3717fe['length']-0x1];_0x5479d6&&(this['_operationsData']['push']({'type':'remove','path':_0x3717fe,'howMany':_0x5479d6}),_0x355f48[_0x355f48['length']-0x1]-=_0x5479d6);}for(const {before:_0x425402}of _0x5453a7)this['_operationsData']['push']({'type':'merge','path':_0x425402});}else for(let _0x50c0b8=0x0;_0x50c0b8<_0x5f2798['length']-0x1;_0x50c0b8++){const _0xc71378=_0x5f2798[_0x50c0b8]['after'],_0x589d43=_0x5f2798[_0x50c0b8+0x1]['before'],_0x3e5956=_0x5f2798[_0x50c0b8]['index']+0x1,_0x38e0a3=_0x5f2798[_0x50c0b8+0x1]['index'];if(_0x3e5956!==_0x38e0a3&&this['_operationsData']['push']({'type':'insert','path':_0xc71378,'tokens':_0x3285bc['slice'](_0x3e5956,_0x38e0a3)}),_0x50c0b8<_0x5453a7['length']){this['_operationsData']['push']({'type':'split','path':_0x589d43});const _0x3f33b6=_0x3285bc[_0x515b66[_0x515b66['length']-0x1-_0x50c0b8]['index']],_0x42b82f=this['_parents'][_0x370bcb]['element'];_0x42b82f['name']!=_0x3f33b6['element']['name']&&this['_addSplitPostponedData'](_0x3f33b6['element'],{'type':'rename','oldValue':_0x42b82f['name']});const _0x3e89fc=this['_getAttributeChanges'](_0x42b82f['getAttributes'](),_0x3f33b6['element']['getAttributes']());for(const _0x236538 in _0x3e89fc){const _0x486dbf=_0x3e89fc[_0x236538]['oldValue'];this['_addSplitPostponedData'](_0x3f33b6['element'],{'type':'attribute','key':_0x236538,'oldValue':_0x486dbf});}}}}['_addSplitPostponedData'](_0x5f0a45,_0x784c40){const _0x578dd2=this['_splitPostponedData']['get'](_0x5f0a45)||[];_0x578dd2['push'](_0x784c40),this['_splitPostponedData']['set'](_0x5f0a45,_0x578dd2);}['_traverseOverItem'](_0x437af9){'element'==_0x437af9['type']&&_0x437af9['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x437af9)):'element'!=_0x437af9['type']||_0x437af9['isStart']?'text'==_0x437af9['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x437af9['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x11afc9,_0x8cae9d,_0x2cf795){_0x11afc9['name']!=_0x8cae9d['name']&&this['_operationsData']['push']({'type':'rename','path':_0x2cf795['slice'](),'oldName':_0x11afc9['name'],'newName':_0x8cae9d['name']});}['_handleElementAttributeChanges'](_0x47f469,_0xa54851,_0x3e9651){const _0x571525=this['_getAttributeChanges'](_0x47f469['getAttributes'](),_0xa54851['getAttributes']());for(const _0xd13b38 in _0x571525){const {oldValue:_0x4f4b34,newValue:_0x35c748}=_0x571525[_0xd13b38];this['_operationsData']['push']({'type':'attribute','path':_0x3e9651['slice'](),'howMany':0x1,'key':_0xd13b38,'oldValue':_0x4f4b34,'newValue':_0x35c748});}}['_handleTextAttributeChanges'](_0x40631d,_0x7b7c6c,_0x1adb6b){const _0x3b2aae=this['_operationsData'],_0x43c762=_0x40631d[0x0]['parent'],_0x3b7d82=_0x40631d[0x0]['offset'],_0x224a6f=_0x7b7c6c[0x0]['parent'],_0x4226cd=_0x7b7c6c[0x0]['offset'],_0x27e8dd=_0x40631d['reduce']((_0x5ae808,_0x5c4c8e)=>_0x5ae808+_0x5c4c8e['data']['length'],0x0),_0x52ea20=this['_getAttrsForOffsets'](_0x43c762,_0x3b7d82,_0x27e8dd),_0x4aee20=this['_getAttrsForOffsets'](_0x224a6f,_0x4226cd,_0x27e8dd),_0x216340={};for(let _0x2dfcc4=0x0;_0x2dfcc4<_0x27e8dd;_0x2dfcc4++){const _0x483917=_0x52ea20[_0x3b7d82+_0x2dfcc4],_0x3b389d=_0x4aee20[_0x4226cd+_0x2dfcc4],_0x18e00a=this['_getAttributeChanges'](_0x483917,_0x3b389d);for(const _0x219d98 in _0x216340)_0x18e00a[_0x219d98]||_0x54e686(_0x219d98);for(const _0x10e4a6 in _0x18e00a){const {oldValue:_0x571e4b,newValue:_0x97b8b9}=_0x18e00a[_0x10e4a6],_0x413eae=_0x216340[_0x10e4a6];_0x413eae?_0x413eae['oldValue']==_0x571e4b&&_0x413eae['newValue']==_0x97b8b9?_0x413eae['length']++:(_0x54e686(_0x10e4a6),_0x216340[_0x10e4a6]={'oldValue':_0x571e4b,'newValue':_0x97b8b9,'start':_0x2dfcc4,'length':0x1}):_0x216340[_0x10e4a6]={'oldValue':_0x571e4b,'newValue':_0x97b8b9,'start':_0x2dfcc4,'length':0x1};}}for(const _0x3dd877 in _0x216340)_0x54e686(_0x3dd877);function _0x54e686(_0x55e23f){const _0x3044d4=_0x216340[_0x55e23f],_0x32e461=_0x1adb6b['slice']();_0x32e461[_0x32e461['length']-0x1]+=_0x3044d4['start'],_0x3b2aae['push']({'type':'attribute','path':_0x32e461,'howMany':_0x3044d4['length'],'key':_0x55e23f,'oldValue':_0x3044d4['oldValue'],'newValue':_0x3044d4['newValue']}),delete _0x216340[_0x55e23f];}}['_getAttributeChanges'](_0x4f6a45,_0x2d357c){const _0x1c47d2={};for(const [_0x2f39b3,_0xae689e]of _0x4f6a45)_0x1c47d2[_0x2f39b3]={'oldValue':JSON['stringify'](_0xae689e),'newValue':'null'};for(const [_0x1a0434,_0x41aff4]of _0x2d357c){const _0x30eec4=JSON['stringify'](_0x41aff4);_0x1c47d2[_0x1a0434]?_0x1c47d2[_0x1a0434]['oldValue']==_0x30eec4?delete _0x1c47d2[_0x1a0434]:_0x1c47d2[_0x1a0434]['newValue']=_0x30eec4:_0x1c47d2[_0x1a0434]={'oldValue':'null','newValue':_0x30eec4};}return delete _0x1c47d2[Yt],_0x1c47d2;}['_getAttrsForOffsets'](_0xf31b3c,_0x1a7a5f,_0x49396f){const _0x22e141=new Array(_0x1a7a5f+_0x49396f);let _0x5a4a9c=_0xf31b3c['getChildAtOffset'](_0x1a7a5f),_0x552437=_0x5a4a9c['startOffset'];for(;_0x5a4a9c&&_0x552437<_0x1a7a5f+_0x49396f;){const _0x5cb15f=Array['from'](_0x5a4a9c['getAttributes']());_0x22e141['fill'](_0x5cb15f,_0x552437,_0x552437+_0x5a4a9c['offsetSize']),_0x552437+=_0x5a4a9c['offsetSize'],_0x5a4a9c=_0x5a4a9c['nextSibling'];}return _0x22e141;}['_getPositionFromAnchorAndPath'](_0x501921,_0x1eeed3){const _0x5a7680=[..._0x501921['path']['slice'](0x0,-0x1),_0x501921['offset']+_0x1eeed3[0x0],..._0x1eeed3['slice'](0x1)];return new _0x31cba0(_0x501921['root'],_0x5a7680);}['_makeModelFromTokens'](_0x43f934){const _0x261ef7=[];let _0x261147=null;for(const _0x21bb74 of _0x43f934)if('element'!=_0x21bb74['type']||_0x21bb74['isStart']||_0x261147!=_0x21bb74['element']){if(!_0x261147){if('text'==_0x21bb74['type']){const _0x2d4705=_0x31cba0['_createAt'](_0x21bb74['parent'],_0x21bb74['offset']),_0x2dede6=_0x1d3850['_createFromPositionAndShift'](_0x2d4705,_0x21bb74['data']['length']),_0x2dc5a6=Array['from'](_0x2dede6['getItems']())['map'](_0x2b2ad1=>new _0x1557b8(_0x2b2ad1['data'],_0x2b2ad1['getAttributes']()));_0x261ef7['push'](..._0x2dc5a6);}else{_0x261147=_0x21bb74['element'];const _0x443849=_0x21bb74['element']['_clone'](!0x0);_0x443849['_removeAttribute'](Yt);for(const _0x3ff4e0 of this['_editor']['model']['createRangeIn'](_0x443849)['getItems']())_0x3ff4e0['is']('element')&&_0x3ff4e0['_removeAttribute'](Yt);_0x261ef7['push'](_0x443849);}}}else _0x261147=null;return _0x261ef7;}};function Kt(_0x6011bc,_0x46b442){return _0x6011bc['type']===_0x46b442['type']&&(_0x6011bc['limitId']===_0x46b442['limitId']&&('text'==_0x6011bc['type']?_0x6011bc['data']==_0x46b442['data']:function(_0x512198,_0x2160d9){if(_0x512198['isStart']!=_0x2160d9['isStart'])return!0x1;if(_0x512198['isStart']&&_0x512198['elementId']!=_0x2160d9['elementId'])return!0x1;if(_0x512198['category']!=_0x2160d9['category'])return!0x1;if('block'==_0x512198['category'])return!0x0;if('container'==_0x512198['category']&&_0x512198['elementId']!=_0x2160d9['elementId'])return!0x1;return _0x512198['element']['name']==_0x2160d9['element']['name'];}(_0x6011bc,_0x46b442)));}function qt(_0x4f69a9){return Tt({'name':_0x4f69a9['name'],...Object['fromEntries'](_0x4f69a9['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};
|
|
23
|
+
import{ContextPlugin as _0x37f27d,Editor as _0x5483eb,Plugin as _0x1f67da}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x2ed40a,Collection as _0x449024,FocusTracker as _0x33a34f,KeystrokeHandler as _0x149e7e,first as _0x5819e4,toArray as _0x24b44d,uid as _0x294bfc}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x16dd91,DropdownButtonView as _0x354691,FocusCycler as _0x13b8a3,IconView as _0x351170,View as _0x56c67c,isViewWithFocusCycler as _0x1488d5}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0xdfa83c,IconCheck as _0x361f60,IconNotification as _0xc55f5b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x221e2c,toWidget as _0x1819c4}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x1acb75}from'luxon';import{AttributeOperation as _0x81dec2,InsertOperation as _0x3c448e,MarkerOperation as _0x23d8eb,MergeOperation as _0x5288f2,ModelPosition as _0x224efa,ModelRange as _0x5e9b44,ModelText as _0x272f0e,ModelTreeWalker as _0x384a2d,MoveOperation as _0x16d21e,RenameOperation as _0x118b44,SplitOperation as _0x338267}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x563a26}from'diff';var B=class extends _0x37f27d{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x5306ef,_0x5959d6){let _0x44fda4;if(_0x5959d6||(_0x5959d6=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5959d6?_0x44fda4=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x44fda4=this['context']['editors']['find'](_0x3771c2=>_0x3771c2['config']['get']('collaboration.channelId')==_0x5959d6)),!_0x44fda4)throw new _0x2ed40a('permissions-set-permissions-invalid-channel-id',null);const _0x4d4524=_0x44fda4['plugins'],_0x27e024=_0x4d4524['has']('CommentsRepository')?_0x4d4524['get']('CommentsRepository'):void 0x0,_0xdc07ca=_0x4d4524['has']('CommentsOnly')&&_0x4d4524['get']('CommentsOnly'),_0x296c52=_0x5306ef['includes']('document:write'),_0x936dbe=_0x5306ef['includes']('comment:modify_all'),_0x35d11e=_0x5306ef['includes']('comment:admin'),_0xc9c9f6=_0x5306ef['includes']('comment:write'),_0x110b50=_0xc9c9f6||_0x35d11e,_0xf5790=_0x110b50||_0x936dbe,_0x426195=_0x296c52||_0x110b50;if(_0xdc07ca&&(_0xdc07ca['isEnabled']=!_0x296c52&&_0xf5790),_0x44fda4 instanceof _0x5483eb&&(_0x296c52||_0xf5790&&_0x27e024?_0x44fda4['disableReadOnlyMode']('no-permissions'):_0x44fda4['enableReadOnlyMode']('no-permissions')),_0x27e024){_0x27e024['setPermissions']({'admin':_0x35d11e,'modifyAll':_0x936dbe,'write':_0xc9c9f6,'resolve':_0x426195},_0x5959d6);const _0x17b5b5=_0x44fda4 instanceof _0x5483eb&&_0x44fda4['commands']['get']('addCommentThread');_0x17b5b5&&(_0x110b50?_0x17b5b5['clearForceDisabled']('noPermissions'):_0x17b5b5['forceDisabled']('noPermissions'));}}};function D(_0x541a12,_0x2cde9b){const t=_0x541a12['t'];switch(_0x2cde9b){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 _0x37f27d{['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(_0xd69a6){super(_0xd69a6),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x449024(),this['_locale']=_0xd69a6['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:_0x5be2bd,name:_0x19ad5f,..._0x938732}){if(!_0x5be2bd||'string'!=typeof _0x5be2bd)throw new _0x2ed40a('users-add-invalid-id');if(this['users']['has'](_0x5be2bd))throw new _0x2ed40a('users-add-duplicated-id',null,{'id':_0x5be2bd});const _0x1acbc2=this['context']['config']['get']('users.getInitialsCallback'),_0x3562a0={..._0x938732,'id':_0x5be2bd,'name':R(this['_locale'],_0x19ad5f),'color':this['_getNextColor']()};_0x3562a0['name']=R(this['_locale'],_0x3562a0['name']);const _0x477b80=new L(_0x3562a0,_0x1acbc2);return this['users']['add'](_0x477b80),_0x477b80;}getUser(_0x5b9b87){return this['users']['get'](_0x5b9b87);}['useAnonymousUser'](){const _0x5091de=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5091de);}['defineMe'](_0x5ee635){if(this['_myId'])throw new _0x2ed40a('users-me-already-defined',null);const _0x41f221=this['getUser'](_0x5ee635);if(!_0x41f221)throw new _0x2ed40a('users-me-missing-user',null);this['_myId']=_0x5ee635,_0x41f221['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x3c5ce2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3c5ce2&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5bf1f5=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5bf1f5,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x5eb017,_0x5f516f){this['id']=_0x5eb017['id'],this['color']=_0x5eb017['color'],this['name']=_0x5eb017['name'],this['initials']=_0x5f516f?_0x5f516f(this['name']):this['_computeInitials'](),this['avatar']=_0x5eb017['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x549a60=this['name']['split']('\x20')['filter'](_0x25ea91=>/^[\p{Letter}]/u['test'](_0x25ea91));return 0x1===_0x549a60['length']?this['_getInitial'](_0x549a60[0x0]):0x0===_0x549a60['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x549a60[0x0])+this['_getInitial'](_0x549a60[_0x549a60['length']-0x1]);}_getInitial(_0x29ff5a){return String['fromCodePoint'](_0x29ff5a['codePointAt'](0x0))['toUpperCase']();}};function R(_0xb57067,_0x258412=''){return''==(_0x258412=_0x258412['trim']())?D(_0xb57067,'Anonymous'):_0x258412;}var F=class{['_id'];constructor(_0x5ee3b5){this['_id']=_0x5ee3b5;}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 _0x56c67c{['name'];notificationView;constructor(_0x5ef2fc,_0x246ad2,_0x178ca1,_0x2f777c){super(_0x5ef2fc),this['name']=_0x246ad2['name'],this['notificationView']=null;const _0x527618=['ck','ck-user'],_0x1b2ba4=['ck','ck-user__img'];_0x246ad2['isAnonymous']&&_0x1b2ba4['push']('ck-user__anonymous'),!_0x246ad2['isAnonymous']&&_0x246ad2['isMe']&&_0x527618['push']('ck-user_me'),(_0x246ad2['avatar']||_0x2f777c)&&_0x1b2ba4['push']('ck-user__avatar');let _0x192c25=null;if(_0x2f777c&&(_0x192c25=new _0x351170(),_0x192c25['content']=_0x2f777c,_0x192c25['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x178ca1){const _0x68dfa9=new _0x351170();_0x68dfa9['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x68dfa9['content']=_0xc55f5b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x178ca1},'children':[_0x68dfa9]};}const _0x1e036e=[{'tag':'div','attributes':{'class':_0x1b2ba4,'style':{'background-image':_0x246ad2['avatar']&&!_0x2f777c?'url(\x27'+_0x246ad2['avatar']+'\x27)':''}},'children':_0x192c25?[_0x192c25]:[]},{'tag':'div','attributes':{'class':_0x246ad2['avatar']||_0x2f777c?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x246ad2['name']},'children':[{'text':_0x246ad2['initials']}]}];this['notificationView']&&_0x1e036e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x527618,'data-user-id':_0x246ad2['id']},'children':_0x1e036e});}},U=class extends _0x56c67c{['children'];['iconView'];['labelView'];constructor(_0x15f00e){super(_0x15f00e);const _0x3b6712=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',_0x3b6712['to']('class'),_0x3b6712['to']('iconPosition',_0x3e2839=>'right'===_0x3e2839?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x3b6712['to']('tooltip'),'data-cke-tooltip-position':_0x3b6712['to']('tooltipPosition'),'data-cke-tooltip-class':_0x3b6712['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x413161,_0x16fd4a,_0x2a307b,_0x504bd1)=>{_0x2a307b&&!_0x504bd1?this['children']['add'](this['iconView'],0x0):!_0x2a307b&&_0x504bd1&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x457249=new _0x351170();return _0x457249['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x457249['bind']('content')['to'](this,'icon'),_0x457249;}_createLabelView(){const _0x2b1d37=new _0x56c67c(this['locale']),_0x1d74c6=this['bindTemplate'];return _0x2b1d37['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x1d74c6['to']('label')}]}),_0x2b1d37;}},z=class extends _0x56c67c{['id'];constructor(_0x4521ee,_0x36e5b8){super(_0x4521ee),this['id']='ck-aria-description-'+_0x294bfc(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x36e5b8}]});}},W=class extends _0x16dd91{['render'](){super['render'](),j(this);}},Y=class extends _0x354691{['render'](){super['render'](),j(this);}};function j(_0x27e78c){_0x27e78c['listenTo'](_0x27e78c['element'],'mousedown',(_0x4e28cd,_0x3585e3)=>{_0x3585e3['stopPropagation'](),_0x3585e3['preventDefault']();}),_0x27e78c['listenTo'](_0x27e78c['element'],'mouseup',()=>{_0x27e78c['element']['focus']();});}function J(_0xdaf1dd){const _0x53341c=_0xdaf1dd['split'](':');return{'group':_0x53341c[0x0],'type':_0x53341c[0x1],'subType':_0x53341c['length']>=0x5?_0x53341c[0x2]:null,'id':_0x53341c['length']<0x5?_0x53341c[0x2]:_0x53341c[0x3],'authorId':_0x53341c['length']<0x5?_0x53341c[0x3]:_0x53341c[0x4],'markerCount':0x6==_0x53341c['length']?_0x53341c[0x5]:null};}function G(_0x5a4dc0,_0x4f9f89){const _0xf2ed16=_0x5a4dc0['end']['nodeBefore'];if(_0xf2ed16&&_0xf2ed16['is']('element')&&_0x4f9f89['schema']['isBlock'](_0xf2ed16)&&!_0x4f9f89['schema']['isObject'](_0xf2ed16)){const _0x5dc191=_0x4f9f89['createPositionAt'](_0xf2ed16,'end');return _0x4f9f89['createRange'](_0x5a4dc0['start'],_0x5dc191);}return _0x5a4dc0;}var K=class extends _0x1f67da{afterInit(){const _0xebcefe=this['editor'];_0xebcefe['plugins']['has']('AlignmentEditing')&&_0xebcefe['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x1f67da{afterInit(){const _0x5aad26=this['editor'],_0x1bafa9=_0x5aad26['plugins']['get']('SuggestionsConversion');for(const _0x37189d of q){if(!_0x5aad26['plugins']['has'](_0x37189d))continue;const _0x3dd2af=_0x37189d['slice'](0x0,-0x7)['toLowerCase']();_0x1bafa9['registerInlineAttribute'](_0x3dd2af);}}},Q=class extends _0x1f67da{afterInit(){const _0x64ac80=this['editor'],_0x59db58=_0x64ac80['plugins']['get']('SuggestionsConversion');_0x64ac80['plugins']['has']('BookmarkEditing')&&_0x59db58['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x1f67da{afterInit(){const _0x14afa9=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5a7f52,commandName:_0xf2ee23}of X)this['editor']['plugins']['has'](_0x5a7f52)&&_0x14afa9['registerInlineAttribute'](_0xf2ee23);}},et=class extends _0x1f67da{afterInit(){const {editor:_0x4f75e8}=this;if(!_0x4f75e8['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x232352=_0x4f75e8['plugins']['get']('SuggestionsConversion');_0x232352['registerBlockAttribute']('footnotesListStyle'),_0x232352['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x1f67da{afterInit(){const _0x468b9e=this['editor'];if(!_0x468b9e['plugins']['has']('GeneralHtmlSupport')||!_0x468b9e['plugins']['has']('DataSchema'))return;const _0x56f490=_0x468b9e['plugins']['get']('SuggestionsConversion'),_0x3f5f93=_0x468b9e['plugins']['get']('GeneralHtmlSupport'),_0x198f58=_0x468b9e['plugins']['get']('DataSchema');for(const _0x1e4301 of _0x198f58['getDefinitionsForView'](/.*/,!0x1)){const _0x4f43c1=_0x3f5f93['getGhsAttributeNameForElement'](_0x1e4301['view']);!_0x1e4301['isInline']||_0x1e4301['isObject']||'appliesToBlock'in _0x1e4301&&_0x1e4301['appliesToBlock']?_0x56f490['registerBlockAttribute'](_0x4f43c1):_0x56f490['registerInlineAttribute'](_0x4f43c1);}}},it=class extends _0x1f67da{afterInit(){const _0x50dd02=this['editor'];_0x50dd02['plugins']['has']('HighlightEditing')&&_0x50dd02['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x1f67da{afterInit(){const _0x25d0ec=this['editor'];_0x25d0ec['plugins']['has']('HtmlEmbed')&&_0x25d0ec['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x1f67da{afterInit(){const _0x111f34=this['editor'];if(!_0x111f34['plugins']['has']('ImageEditing'))return;const _0x51b2cb=_0x111f34['plugins']['get']('SuggestionsConversion');_0x51b2cb['registerBlockAttribute']('src'),_0x111f34['plugins']['has']('ImageResize')&&_0x51b2cb['registerBlockAttribute']('resizedWidth'),_0x111f34['plugins']['has']('ImageTextAlternativeEditing')&&_0x51b2cb['registerBlockAttribute']('alt'),_0x111f34['plugins']['has']('PictureEditing')&&_0x51b2cb['registerBlockAttribute']('sources'),_0x111f34['plugins']['has']('ImageSizeAttributes')&&(_0x51b2cb['registerBlockAttribute']('width'),_0x51b2cb['registerBlockAttribute']('height'));}},rt=class extends _0x1f67da{afterInit(){const _0x1f11d7=this['editor'],_0x598305=_0x1f11d7['plugins']['get']('SuggestionsConversion');_0x1f11d7['plugins']['has']('IndentBlock')&&(_0x598305['registerBlockAttribute']('blockIndent'),_0x1f11d7['plugins']['has']('ListEditing')&&(_0x598305['registerBlockAttribute']('blockIndentList'),_0x598305['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x1f67da{afterInit(){const _0xf7f05b=this['editor'];_0xf7f05b['plugins']['has']('LineHeight')&&_0xf7f05b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x1f67da{afterInit(){const _0x2e2faa=this['editor'];if(!_0x2e2faa['plugins']['has']('LinkEditing'))return;const _0x4e13a0=_0x2e2faa['plugins']['get']('SuggestionsConversion'),_0x539b45=_0x2e2faa['commands']['get']('link');_0x4e13a0['registerInlineAttribute']('linkHref');for(const _0x402cb0 of _0x539b45['manualDecorators'])_0x4e13a0['registerInlineAttribute'](_0x402cb0['id']);}},lt=class extends _0x1f67da{afterInit(){const _0x5224d3=this['editor'];if(!_0x5224d3['plugins']['has']('ListEditing'))return;const _0x380a67=_0x5224d3['plugins']['get']('SuggestionsConversion'),_0x48c5e6=_0x5224d3['plugins']['has']('TodoListEditing');_0x380a67['registerBlockAttribute']('listItemId'),_0x380a67['registerBlockAttribute']('listType'),_0x380a67['registerBlockAttribute']('listIndent'),_0x48c5e6&&_0x380a67['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x1f67da{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3c658a=this['editor']['config']['get']('list.properties'),_0x1c2a1b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3c658a['styles']&&_0x1c2a1b['registerBlockAttribute']('listStyle'),_0x3c658a['reversed']&&_0x1c2a1b['registerBlockAttribute']('listReversed'),_0x3c658a['startIndex']&&_0x1c2a1b['registerBlockAttribute']('listStart');}},ut=class extends _0x1f67da{afterInit(){const _0x381fc6=this['editor'],_0x4c4c6c=_0x381fc6['plugins']['get']('SuggestionsConversion');_0x381fc6['plugins']['has']('MultiLevelList')&&_0x4c4c6c['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x1f67da{afterInit(){const _0x474cdc=this['editor'];if(!_0x474cdc['plugins']['has']('TableEditing'))return;const _0x1c450b=_0x474cdc['plugins']['get']('SuggestionsConversion');_0x1c450b['registerBlockAttribute']('headingRows'),_0x1c450b['registerBlockAttribute']('headingColumns');}},gt=class extends _0x1f67da{afterInit(){const {plugins:_0x3ba645}=this['editor'];if(!_0x3ba645['has']('TablePropertiesEditing'))return;const _0x30a0cb=_0x3ba645['get']('SuggestionsConversion');for(const _0x357031 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x30a0cb['registerBlockAttribute'](_0x357031);}},ft=class extends _0x1f67da{afterInit(){const _0x31cddd=this['editor'],_0x36f2e7=_0x31cddd['plugins']['get']('SuggestionsConversion');_0x31cddd['plugins']['has']('TableLayout')&&_0x36f2e7['registerBlockAttribute']('tableType');}},mt=class extends _0x1f67da{afterInit(){const _0x226e2a=this['editor'],_0x117410=this['editor']['plugins']['get']('SuggestionsConversion');_0x226e2a['plugins']['has']('Uploadcare')&&_0x226e2a['plugins']['has']('UploadcareImageEdit')&&_0x117410['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x1f67da{afterInit(){const _0x149f5a=this['editor'];if(!_0x149f5a['plugins']['has']('ShiftEnter'))return;const _0x1e2a93=_0x149f5a['plugins']['get']('SuggestionsConversion'),_0x51c4e7=(_0x4132ec,_0x1ac69d,_0xfeb23,_0x169de8)=>{if(_0x169de8&&!_0xfeb23['options']['showSuggestionHighlights'])return;if(!_0xfeb23['consumable']['test'](_0x1ac69d['markerRange'],_0x4132ec['name']))return;const _0x2a4a3b=_0x149f5a['model'];for(const _0x277185 of _0x1ac69d['markerRange']['getItems']()){if(!_0x277185['is']('element','softBreak'))continue;const _0x1a9abb='deletion'==_0x1ac69d['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x970275,authorId:_0x11b9ee}=J(_0x1ac69d['markerName']),_0x427c10=_0xfeb23['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a9abb,'data-suggestion':_0x970275,'data-author-id':_0x11b9ee}),_0xdc0ecc=_0xfeb23['mapper']['toViewPosition'](_0x2a4a3b['createPositionBefore'](_0x277185));!_0x169de8&&_0x1e2a93['_activeMarkers']['includes'](_0x1ac69d['markerName'])&&_0xfeb23['writer']['addClass']('ck-suggestion-marker--active',_0x427c10),_0xfeb23['writer']['insert'](_0xdc0ecc,_0x427c10),_0xfeb23['mapper']['bindElementToMarker'](_0x427c10,_0x1ac69d['markerName']);}};_0x149f5a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x49d3ff,_0x18f749,_0x4a2e9d)=>{_0x51c4e7(_0x49d3ff,_0x18f749,_0x4a2e9d,!0x1);},{'priority':'high'}),_0x149f5a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4cbbea,_0x593e07,_0x23eb93)=>{_0x51c4e7(_0x4cbbea,_0x593e07,_0x23eb93,!0x1);},{'priority':'high'}),_0x149f5a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x154aea,_0x538e1e,_0x918624)=>{_0x51c4e7(_0x154aea,_0x538e1e,_0x918624,!0x0);},{'priority':'high'}),_0x149f5a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x14565f,_0x1b1013,_0x1f8582)=>{_0x51c4e7(_0x14565f,_0x1b1013,_0x1f8582,!0x0);},{'priority':'high'});}},kt=class extends _0x1f67da{afterInit(){const _0x4209c9=this['editor'];if(!_0x4209c9['plugins']['has']('MediaEmbedEditing'))return;const _0x11b3f3=_0x4209c9['plugins']['get']('SuggestionsConversion');_0x4209c9['plugins']['has']('MediaEmbedResizeEditing')&&_0x11b3f3['registerBlockAttribute']('resizedWidth'),_0x4209c9['plugins']['has']('MediaEmbedStyleEditing')&&_0x11b3f3['registerBlockAttribute']('mediaStyle'),_0x4209c9['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4ead8b,{writer:_0x36710a,options:_0x46d995})=>{if(_0x46d995['showSuggestionHighlights'])return _0x36710a['createEmptyElement']('div');},'converterPriority':'high'}),_0x4209c9['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3bbbad,_0x1c8f9e,_0x1a3e26)=>{_0x1a3e26['options']['showSuggestionHighlights']&&_0x3bbbad['stop']();},{'priority':'high'});}},yt=class extends _0x1f67da{afterInit(){const _0x1f1a9c=this['editor'];if(!_0x1f1a9c['plugins']['has']('Table'))return;_0x1f1a9c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4e6496,_0x246306,_0x4a7ba9)=>{((_0x25d55a,_0x19c5b8,_0x4a3b69)=>{if(!_0x4a3b69['options']['showSuggestionHighlights'])return;const _0x4cbd09=_0x19c5b8['item'];if(!_0x4cbd09||!_0x4cbd09['is']('element','tableCell'))return;const _0x212e85=_0x4a3b69['mapper']['toViewElement'](_0x4cbd09);if(_0x212e85){const {id:_0x579b2f,authorId:_0x29a0c5}=J(_0x19c5b8['markerName']);_0x221e2c(_0x212e85,_0x4a3b69['writer'],(_0x4f83da,_0x1a36a6,_0x24208c)=>{_0x24208c['addClass'](_0x24b44d(_0x1a36a6['classes']),_0x4f83da),_0x24208c['setAttribute']('data-suggestion',_0x579b2f,_0x4f83da),_0x24208c['setAttribute']('data-author-id',_0x29a0c5,_0x4f83da);});}})(0x0,_0x246306,_0x4a7ba9);},{'priority':'highest'});}},bt=class extends _0x1f67da{afterInit(){const _0x7d88c=this['editor'];_0x7d88c['plugins']['has']('HorizontalLineEditing')&&_0x7d88c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3c945e,{writer:_0x670dd7,options:_0x10ff40})=>{if(!_0x10ff40['showSuggestionHighlights'])return null;const _0x47f911=_0x670dd7['createContainerElement']('div'),_0x39e6af=_0x670dd7['createEmptyElement']('hr');return _0x670dd7['addClass']('ck-horizontal-line',_0x47f911),_0x670dd7['insert'](_0x670dd7['createPositionAt'](_0x47f911,0x0),_0x39e6af),_0x47f911;},'converterPriority':'high'});}},wt=class extends _0x1f67da{afterInit(){const {plugins:_0x21a408,model:_0x4612e1}=this['editor'];if(!_0x21a408['has']('TableCellPropertiesEditing'))return;const _0x14232d=_0x21a408['get']('SuggestionsConversion');for(const _0x651f8 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x14232d['registerBlockAttribute'](_0x651f8);_0x4612e1['schema']['checkAttribute']('tableCell','tableCellType')&&_0x14232d['registerBlockAttribute']('tableCellType');}},vt=class extends _0x1f67da{afterInit(){const _0x4ee9ed=this['editor'];_0x4ee9ed['plugins']['has']('TableEditing')&&_0x4ee9ed['config']['get']('table.enableFooters')&&_0x4ee9ed['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x1f67da{_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 _0x14420b=this['editor'],_0xc1029e=(_0x57f0a2,_0x41ac97,_0x1a7b6c)=>{const {id:_0x2afd0d,authorId:_0x17a3da,type:_0x40ec2d,subType:_0x16cf02}=J(_0x57f0a2['markerName']),_0x12bbc1=['ck-suggestion-marker',this['_getClassName'](_0x40ec2d,_0x16cf02)];let _0x4d9b5a=0xbb8;return _0x1a7b6c||this['_activeMarkers']['includes'](_0x57f0a2['markerName'])&&(_0x12bbc1['push']('ck-suggestion-marker--active'),_0x4d9b5a=0xbc2),'deletion'==_0x40ec2d&&(_0x4d9b5a+=0x5),{'classes':_0x12bbc1,'attributes':{'data-suggestion':_0x2afd0d,'data-author-id':_0x17a3da},'priority':_0x4d9b5a};};_0x14420b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x64a3a1,_0x39e952)=>_0xc1029e(_0x64a3a1,0x0,!0x1)}),_0x14420b['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x134a29,_0x212573)=>_0xc1029e(_0x134a29,0x0,!0x0)}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x7a79dc=>{_0x7a79dc['on']('addMarker:suggestion',(_0x3b0446,_0x56906e,_0x43179c)=>{if(!_0x43179c['options']['showSuggestionHighlights'])return;const _0x2fa475=_0x56906e['item'];if(!_0x2fa475)return;const _0x2c2693=_0x43179c['mapper']['toViewElement'](_0x2fa475);_0x14420b['model']['schema']['isObject'](_0x2fa475)&&_0x2c2693&&!_0x2c2693['getCustomProperty']('widget')&&_0x2c2693['is']('containerElement')&&_0x1819c4(_0x2c2693,_0x43179c['writer']);},{'priority':'high'});});const _0x4c9f77=(_0x26e6dc,_0x17a261,_0x26081f,_0x4b7ebf,_0x4160ed)=>{if(_0x4b7ebf&&!_0x26081f['options']['showSuggestionHighlights'])return;if(!_0x17a261['item'])return;const {id:_0x5d41bb,authorId:_0x1ab743,subType:_0xdb95fb}=J(_0x17a261['markerName']);if(_0x4160ed){const _0x3d0916=_0xdb95fb['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3d0916))return;}if(_0x17a261['item']['is']('selection'))return void _0x26081f['consumable']['consume'](_0x17a261['item'],_0x26e6dc['name']);const _0x18dc75=_0x26081f['mapper']['toViewElement'](_0x17a261['item']);if(_0x17a261['item']['is']('element')&&_0x14420b['model']['schema']['isBlock'](_0x17a261['item'])&&!_0x18dc75['getCustomProperty']('addHighlight')){_0x26081f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x18dc75),_0x26081f['writer']['setAttribute']('data-suggestion',_0x5d41bb,_0x18dc75),_0x26081f['writer']['setAttribute']('data-author-id',_0x1ab743,_0x18dc75),_0x26081f['mapper']['bindElementToMarker'](_0x18dc75,_0x17a261['markerName']),_0x4b7ebf||(this['_activeMarkers']['includes'](_0x17a261['markerName'])?_0x26081f['writer']['addClass']('ck-suggestion-marker--active',_0x18dc75):_0x26081f['writer']['removeClass']('ck-suggestion-marker--active',_0x18dc75));for(const _0x235240 of _0x14420b['model']['createRangeIn'](_0x17a261['item'])['getItems']())_0x26081f['consumable']['consume'](_0x235240,_0x26e6dc['name']);_0x26081f['consumable']['consume'](_0x17a261['item'],_0x26e6dc['name']);}},_0x386bd2=(_0x1af7b3,_0x23d788,_0x1c4f76,_0x3f9163)=>{const _0x21838a=_0x1c4f76['mapper']['markerNameToElements'](_0x23d788['markerName']);if(_0x21838a){if(_0x3f9163){const {subType:_0x5cf474}=J(_0x23d788['markerName']),_0x253cfa=_0x5cf474['split']('|')[0x0];if(!this['isBlockAttribute'](_0x253cfa))return;}for(const _0x56d434 of _0x21838a)_0x56d434['getCustomProperty']('addHighlight')||(_0x1c4f76['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x56d434),_0x1c4f76['writer']['removeAttribute']('data-suggestion',_0x56d434),_0x1c4f76['writer']['removeAttribute']('data-author-id',_0x56d434),_0x1c4f76['mapper']['unbindElementFromMarkerName'](_0x56d434,_0x23d788['markerName']));}};_0x14420b['conversion']['for']('editingDowncast')['add'](_0xbb01a0=>{_0xbb01a0['on']('addMarker:suggestion:formatBlock',(_0x383e2f,_0x3c3dfd,_0x38b7aa)=>{_0x4c9f77(_0x383e2f,_0x3c3dfd,_0x38b7aa,!0x1,!0x1);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x158987=>{_0x158987['on']('addMarker:suggestion:attribute',(_0x4da807,_0x27ccc7,_0x2653a6)=>{_0x4c9f77(_0x4da807,_0x27ccc7,_0x2653a6,!0x1,!0x0);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x5ca9d6=>{_0x5ca9d6['on']('removeMarker:suggestion:formatBlock',(_0x2f4d2d,_0x19877b,_0x30cf91)=>{_0x386bd2(0x0,_0x19877b,_0x30cf91,!0x1);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x30a2d1=>{_0x30a2d1['on']('removeMarker:suggestion:attribute',(_0x313411,_0x562165,_0x3c989c)=>{_0x386bd2(0x0,_0x562165,_0x3c989c,!0x0);},{'priority':'high'});}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x311900=>{_0x311900['on']('addMarker:suggestion:formatBlock',(_0x33fbff,_0x329627,_0x27cdf9)=>{_0x4c9f77(_0x33fbff,_0x329627,_0x27cdf9,!0x0,!0x1);},{'priority':'highest'});}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x528e79=>{_0x528e79['on']('addMarker:suggestion:attribute',(_0x3ab256,_0x5497e6,_0x1a732e)=>{_0x4c9f77(_0x3ab256,_0x5497e6,_0x1a732e,!0x0,!0x0);},{'priority':'highest'});}),_0x14420b['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x32ed9a,_0x5736b5)=>_0x5736b5['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x32ed9a['substr'](0xb)}});const _0x1400b5=(_0x3c7a81,_0x1a37a2,_0x343745,_0x27bad7,_0x401abd)=>{if(_0x27bad7&&!_0x343745['options']['showSuggestionHighlights'])return;if(!_0x343745['consumable']['test'](_0x1a37a2['markerRange'],_0x3c7a81['name']))return;const _0x3ef5ea=this['_activeMarkers'],_0x257890=_0x1a37a2['markerRange']['getWalker'](),_0x109f82=_0x1a37a2['markerRange']['start'],_0x50f85b=_0x14420b['model']['schema'];let _0x481b9b=null,_0x2d841e=null,_0x5ccfc8=!0x1,_0x3681b4=!0x1;for(const _0x5205e4 of _0x257890){const _0x5a0275=_0x5205e4['item'];_0x5ccfc8=_0x5ccfc8||_0x50f85b['isContent'](_0x5a0275);const _0x9b18a8=_0x343745['mapper']['toViewElement'](_0x5a0275);if(_0x9b18a8&&_0x9b18a8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5205e4['type']&&(_0x50f85b['isBlock'](_0x5a0275)&&!_0x50f85b['isLimit'](_0x5a0275)&&(_0x5a0275['nextSibling']||_0x109f82['isAtEnd']?_0x481b9b&&_0x481b9b['parent']==_0x5a0275||(_0x481b9b=_0x5a0275,_0x53feeb(_0x5205e4['previousPosition']),_0x3681b4=!0x0):_0x2d841e=_0x2d841e||_0x5205e4['previousPosition']));}function _0x53feeb(_0x2c64d6){const {id:_0x2fad08,authorId:_0x45488f}=J(_0x1a37a2['markerName']),_0x504df2=_0x343745['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x401abd,'data-suggestion':_0x2fad08,'data-author-id':_0x45488f}),_0x2f0c7c=_0x343745['mapper']['toViewPosition'](_0x2c64d6);!_0x27bad7&&_0x3ef5ea['includes'](_0x1a37a2['markerName'])&&_0x343745['writer']['addClass']('ck-suggestion-marker--active',_0x504df2),_0x343745['writer']['insert'](_0x2f0c7c,_0x504df2),_0x343745['mapper']['bindElementToMarker'](_0x504df2,_0x1a37a2['markerName']);}_0x5ccfc8||_0x3681b4||!_0x2d841e||_0x53feeb(_0x2d841e);};_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x236eba,_0x57b0a4,_0x9a8fbd)=>{_0x1400b5(_0x236eba,_0x57b0a4,_0x9a8fbd,!0x1,'merge');},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2a831e,_0x7ef3f9,_0x491c76)=>{_0x1400b5(_0x2a831e,_0x7ef3f9,_0x491c76,!0x0,'merge');},{'priority':'high'}),_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x20bac2,_0x3197bf,_0x44243a)=>{_0x1400b5(_0x20bac2,_0x3197bf,_0x44243a,!0x1,'split');},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1514d0,_0x47e477,_0x36a4b7)=>{_0x1400b5(_0x1514d0,_0x47e477,_0x36a4b7,!0x0,'split');},{'priority':'high'}),_0x14420b['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xb980e9,_0x228cf2,_0x2eebdb)=>{((_0x5869a2,_0x2ab208,_0x36ca36)=>{const _0x2e4888=_0x36ca36['mapper']['markerNameToElements'](_0x2ab208['markerName']);if(_0x2e4888){for(const _0x459c17 of _0x2e4888)(_0x459c17['hasClass']('ck-suggestion-marker-split')||_0x459c17['hasClass']('ck-suggestion-marker-merge'))&&(_0x36ca36['mapper']['unbindElementFromMarkerName'](_0x459c17,_0x2ab208['markerName']),_0x36ca36['writer']['remove'](_0x459c17));}})(0x0,_0x228cf2,_0x2eebdb);},{'priority':'high'});const _0x4a82a3=(_0x16ba4e,_0x57e303,_0x58ab30,_0x16ed50)=>{if(_0x16ed50&&!_0x58ab30['options']['showSuggestionHighlights'])return;const _0x5e6511=_0x57e303['markerRange']['start'],_0x8c9a60=_0x57e303['markerRange']['end'],_0x3fc956=_0x14420b['model']['schema'];if(!_0x5e6511['isTouching'](_0x8c9a60)||!_0x5e6511['nodeAfter'])return;const _0x3e0b69=_0x5e6511['nodeAfter'];if(_0x3fc956['isBlock'](_0x3e0b69)&&!_0x3fc956['isLimit'](_0x3e0b69)&&_0x3fc956['checkChild'](_0x3e0b69,'$text')){if(!_0x58ab30['consumable']['consume'](_0x57e303['markerRange'],_0x16ba4e['name']))return;const {id:_0x53b01c,authorId:_0x46ea78}=J(_0x57e303['markerName']),_0x514702=_0x58ab30['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x53b01c,'data-author-id':_0x46ea78}),_0x433591=_0x58ab30['mapper']['toViewPosition'](_0x8c9a60);!_0x16ed50&&this['_activeMarkers']['includes'](_0x57e303['markerName'])&&_0x58ab30['writer']['addClass']('ck-suggestion-marker--active',_0x514702),_0x58ab30['writer']['insert'](_0x433591,_0x514702),_0x58ab30['mapper']['bindElementToMarker'](_0x514702,_0x57e303['markerName']);}};_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x52fd15,_0x938bf7,_0x374f89)=>{_0x4a82a3(_0x52fd15,_0x938bf7,_0x374f89,!0x1);},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ea14a,_0x406d98,_0x3811ce)=>{_0x4a82a3(_0x1ea14a,_0x406d98,_0x3811ce,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4ade74,_0x30041b,_0x2c6228)=>{this['_activeMarkers']=_0x2c6228['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x5e2f48){this['_blockAttributeKeys']['add'](_0x5e2f48);}registerInlineAttribute(_0x563a23){this['_inlineAttributeKeys']['add'](_0x563a23);}isBlockAttribute(_0x4303b3){return this['_blockAttributeKeys']['has'](_0x4303b3);}isInlineAttribute(_0x122e3b){return this['_inlineAttributeKeys']['has'](_0x122e3b);}isRegisteredAttribute(_0x473a20){return this['isInlineAttribute'](_0x473a20)||this['isBlockAttribute'](_0x473a20);}_getClassName(_0x50951d,_0x44aaad){if('attribute'!=_0x50951d)return'ck-suggestion-marker-'+_0x50951d;const _0x22bf2d=_0x44aaad['split']('|')[0x0];return this['isBlockAttribute'](_0x22bf2d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x12d08a={},_0x22a68f){if(void 0x0!==_0x12d08a['dateTimeFormat']&&'function'!=typeof _0x12d08a['dateTimeFormat'])throw new _0x2ed40a('invalid-date-time-format');return _0x5dd2da=>{const _0x2b8104='string'==typeof _0x5dd2da?_0x1acb75['fromISO'](_0x5dd2da):_0x1acb75['fromJSDate'](_0x5dd2da),_0x411a28=_0x1acb75['now'](),_0x507ad1=Math['floor'](_0x411a28['diff'](_0x2b8104,'days')['days']);return _0x12d08a['dateTimeFormat']?_0x12d08a['dateTimeFormat'](_0x2b8104['toJSDate'](),_0x22a68f&&_0x22a68f['t']?_0x22a68f['t']:void 0x0):0x0===_0x507ad1?_0x22a68f?D(_0x22a68f,'Today')+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x507ad1?_0x22a68f?D(_0x22a68f,'Yesterday')+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x507ad1<0x7?_0x22a68f?D(_0x22a68f,'Last')+'\x20'+D(_0x22a68f,_0x2b8104['toFormat']('EEEE'))+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2b8104['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x22c372,_0x160e6e){const _0x560618=_0x22c372['mapper']['markerNameToElements'](_0x160e6e['name']);if(!_0x560618)return null;const _0x59d57d=_0x5819e4(_0x560618['values']());return _0x22c372['view']['domConverter']['mapViewToDom'](_0x59d57d)||null;}function It(_0x54d419,_0x76bf78){if(0x0===_0x76bf78['length'])return null;const _0x4893b1=[],_0xc40b=_0x54d419['view']['domConverter'];for(const _0x57d88d of _0x76bf78){const _0x5bdcbf=_0x54d419['mapper']['markerNameToElements'](_0x57d88d['name']);if(!_0x5bdcbf)continue;const _0x17b236=Array['from'](_0x5bdcbf)['map'](_0x232c11=>_0xc40b['mapViewToDom'](_0x232c11))['filter'](_0x4b0ef2=>!!_0x4b0ef2);_0x4893b1['push'](..._0x17b236);}if(0x0===_0x4893b1['length'])return null;const _0x3fbcfa=[];for(const _0x5c695e of _0x4893b1){const _0x4ab3b7=_0x5c695e['getClientRects']()['item'](0x0);_0x4ab3b7&&_0x3fbcfa['push']({'x':_0x4ab3b7['x'],'y':_0x4ab3b7['y'],'domElement':_0x5c695e});}return 0x0===_0x3fbcfa['length']?null:(_0x3fbcfa['sort']((_0x27272c,_0x56282d)=>_0x27272c['y']-_0x56282d['y']||_0x27272c['x']-_0x56282d['x']),_0x3fbcfa['map'](_0x56c659=>_0x56c659['domElement']));}function St(_0x324617,{limit:_0x26bcdc,suffix:_0xdb49ce='...'}){const _0x403773=[];let _0x581ff3=0x0;const _0x116fd1=_0x324617['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x1a4ae4=0x0;_0x1a4ae4<_0x116fd1['length'];_0x1a4ae4++){let _0x552ab3=_0x116fd1[_0x1a4ae4];const _0x550939=Et(_0x552ab3);if(_0x552ab3['startsWith']('<')){if(_0x581ff3>=_0x26bcdc){const _0x33729e=_0x552ab3['match'](/[a-zA-Z]+/);if(!_0x33729e){_0x116fd1[_0x1a4ae4]='';continue;}const _0x46c487=_0x33729e[0x0];_0x552ab3['startsWith']('</')?(_0x403773['length']&&(_0x552ab3=''),_0x403773['pop']()):(_0x403773['push'](_0x46c487),_0x552ab3='');}}else{if(_0x581ff3>=_0x26bcdc)_0x552ab3='';else{if(_0x581ff3+_0x550939['length']>=_0x26bcdc){let _0x172663=_0x26bcdc-_0x581ff3;if('\x20'===_0x550939[_0x172663-0x1])_0x172663--;else{const _0xe55781=_0x550939['slice'](_0x172663)['indexOf']('\x20');-0x1!==_0xe55781?_0x172663+=_0xe55781:_0x172663=_0x552ab3['length'];}_0x552ab3=_0x550939['slice'](0x0,_0x172663)['join']('')+_0xdb49ce,_0x581ff3=_0x26bcdc;}else _0x581ff3+=_0x550939['length'];}}_0x116fd1[_0x1a4ae4]=_0x552ab3;}return _0x116fd1['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x223ab2){const _0x507c72=[];for(let _0x3fbb92=0x0;_0x3fbb92<_0x223ab2['length'];_0x3fbb92++){const _0x453457=_0x223ab2['substring'](_0x3fbb92)['match'](/^&[a-z0-9#]+;/);if(_0x453457){const _0x54761a=_0x453457[0x0];_0x507c72['push'](_0x54761a),_0x3fbb92+=_0x54761a['length']-0x1;}else _0x507c72['push'](_0x223ab2[_0x3fbb92]);}return _0x507c72;}var Mt=class extends _0x56c67c{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x59403c){super(_0x59403c);const _0x11e6a0=this['bindTemplate'];this['set']('message',D(_0x59403c,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x59403c,D(_0x59403c,'Yes'),_0x361f60,'submit'),this['cancelView']=this['_createButtonView'](_0x59403c,D(_0x59403c,'No'),_0xdfa83c,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x33a34f(),this['keystrokes']=new _0x149e7e(),this['focusCycler']=new _0x13b8a3({'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':_0x11e6a0['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(_0x21c2a3,_0x5556c2,_0x2304d9,_0x4d4d1c){const _0x3e813b=new _0x16dd91(_0x21c2a3);return _0x3e813b['label']=_0x5556c2,_0x3e813b['icon']=_0x2304d9,_0x3e813b['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4d4d1c}}),_0x3e813b['on']('execute',()=>this['fire'](_0x4d4d1c)),_0x3e813b;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x406713=>{this['keystrokes']['listenTo'](_0x406713['element']),this['focusTracker']['add'](_0x406713['element']);}),this['keystrokes']['set']('esc',(_0x5b12f0,_0x4b8fdd)=>{this['fire']('cancel'),_0x4b8fdd();});}};function At(_0x374f15){return class _0x3db009 extends _0x374f15{['showConfirm'](_0x873a4c,_0x15fb23){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x873a4c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x15fb23['appendChild'](this['confirmView']['element']),_0x15fb23['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x24655c,_0x9a4a46,_0x11fe0d)=>{_0x11fe0d||_0x15fb23['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x6a4f1c=>this['confirmView']['on']('submit',_0x6a4f1c));}['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(_0x3ac43a){let _0x5ec816=0x0,_0x47e1c7=0x0;for(const _0x41c697 of Nt(_0x3ac43a))_0x5ec816=(_0x5ec816<<0x5)-_0x5ec816+_0x41c697,_0x5ec816&=_0x5ec816,[_0x5ec816,_0x47e1c7]=[_0x47e1c7,_0x5ec816];return Bt(_0x5ec816)+Bt(_0x47e1c7);}function*Pt(_0x595fd8){null==_0x595fd8||null==_0x595fd8?yield 0x12b9b0a1:0x0===_0x595fd8||!0x1===_0x595fd8?yield 0x0:0x1===_0x595fd8||0x1==_0x595fd8?yield 0x1:Array['isArray'](_0x595fd8)?yield*function*(_0x4d0b57){for(const _0x1ecfc2 of _0x4d0b57)yield*Pt(_0x1ecfc2);}(_0x595fd8):'object'==typeof _0x595fd8?yield*Nt(_0x595fd8):'string'==typeof _0x595fd8?yield*Vt(_0x595fd8):'number'==typeof _0x595fd8&&(yield _0x595fd8);}function*Nt(_0x2bec2c){if(yield Ot('{'),_0x2bec2c){const _0x3f4dd9=Object['keys'](_0x2bec2c)['sort']();for(const _0x2da4f3 of _0x3f4dd9){yield*Vt(_0x2da4f3),yield Ot(':');const _0x3335ff=_0x2bec2c[_0x2da4f3];yield*Pt(_0x3335ff);}}yield Ot('}');}function*Vt(_0x5ce9ae){yield Ot('\x22');for(const _0x2bd7a1 of _0x5ce9ae)yield Ot(_0x2bd7a1);yield Ot('\x22');}function Ot(_0x2c3b61){return _0x2c3b61['charCodeAt'](0x0);}function Bt(_0x5cab94){return(_0x5cab94*=Math['sign'](_0x5cab94))['toString'](0x24);}function Dt(_0xc55b72){if('addAttribute'!=_0xc55b72['type']&&'removeAttribute'!=_0xc55b72['type']&&'changeAttribute'!=_0xc55b72['type'])return!0x1;try{return _0xc55b72['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x462998,_0x26dc94,_0x19e268,_0x193cff=[]){const _0x22d3fd='string'==typeof _0x462998?_0x19e268['get'](_0x462998)['constructor']:_0x462998['prototype']['constructor'];if(_0x26dc94['has'](_0x22d3fd))return _0x26dc94['get'](_0x22d3fd);_0x26dc94['set'](_0x22d3fd,!0x0);const _0x3b667e=[...Lt,..._0x193cff]['map'](_0x10325a=>{if(_0x19e268['has'](_0x10325a))return _0x19e268['get'](_0x10325a)['constructor'];})['filter'](_0x44048e=>_0x44048e);if(_0x22d3fd&&_0x3b667e['includes'](_0x22d3fd))return _0x26dc94['set'](_0x22d3fd,!0x1),!0x1;if(!_0x22d3fd['requires'])return _0x26dc94['set'](_0x22d3fd,!0x0),!0x0;const _0x574144=_0x22d3fd['requires']['every'](_0x5b53c4=>Rt(_0x5b53c4,_0x26dc94,_0x19e268,_0x193cff));return _0x26dc94['set'](_0x22d3fd,_0x574144),_0x574144;}function Ft(_0xe5221e,_0x28f8d6){const _0x5ad827={};for(const _0x5216c3 of _0xe5221e['config']['names']())$t['includes'](_0x5216c3)||(_0x5ad827[_0x5216c3]=_0xe5221e['config']['get'](_0x5216c3));const _0x1452f5=_0x5ad827['plugins']||[],_0x43c32a=_0xe5221e['constructor']['builtinPlugins']||[],_0x38173f=_0x1452f5['length']?_0x1452f5:_0x43c32a,_0x777b99=_0x5ad827['extraPlugins']||[];delete _0x5ad827['extraPlugins'];const _0xa88489=_0x5ad827['removePlugins']||[];delete _0x5ad827['removePlugins'];const _0x539427=_0xe5221e['_context']['config']['get']('plugins')||[],_0x38caac=_0x38173f['concat'](_0x777b99)['concat'](_0x539427)['map'](_0x1ae56a=>'string'==typeof _0x1ae56a?_0x43c32a['find'](_0x104e20=>_0x104e20['pluginName']==_0x1ae56a):_0x1ae56a)['filter'](_0xc9afbb=>!_0xa88489['includes'](_0xc9afbb)&&!_0xa88489['includes'](_0xc9afbb['pluginName'])),_0x2c924a=Array['from'](new Set(_0x38caac)),_0x37c226=new Map();return _0x5ad827['plugins']=_0x2c924a['filter'](_0x3bc85b=>Rt(_0x3bc85b,_0x37c226,_0xe5221e['plugins'],_0x28f8d6)),_0x5ad827;}function Ht(_0x193c28,_0x1b9373){const _0x26366d=[];_0x193c28['document']['selection']['on']('change:range',()=>{const _0x37219f=function(_0x2e900c,_0x302fcd){const _0x4ac8ba=[];for(const _0x251656 of _0x2e900c['markers']){const _0x386de5=_0x251656['getRange']();(_0x386de5['containsPosition'](_0x302fcd)||_0x386de5['start']['isEqual'](_0x302fcd)||_0x386de5['end']['isEqual'](_0x302fcd))&&_0x4ac8ba['push'](_0x251656);}return _0x4ac8ba;}(_0x193c28,_0x193c28['document']['selection']['focus']),_0x409980=[],_0x188525=[],_0xcb8afb=[];for(const _0xae7b46 of _0x26366d)_0x37219f['includes'](_0xae7b46)||_0x409980['push'](_0xae7b46);for(const _0x3049d5 of _0x37219f)_0x26366d['includes'](_0x3049d5)||_0x188525['push'](_0x3049d5),_0xcb8afb['push'](_0x3049d5);(_0x409980['length']||_0x188525['length'])&&_0x1b9373({'left':_0x409980,'entered':_0x188525}),_0x26366d['length']=0x0,_0x26366d['push'](..._0xcb8afb);});}const Ut='Ctrl+Shift+E';function zt(_0x4737a4,_0x45b3ba){const _0x3b4db0=_0x4737a4['element'];_0x4737a4['keystrokes']['listenTo'](_0x3b4db0);for(const _0x2cb095 of _0x45b3ba)Wt(_0x4737a4,_0x2cb095);_0x45b3ba['on']('change',(_0x4cabaa,_0xc226e8)=>{for(const _0x3ccfaa of _0xc226e8['removed'])Yt(_0x4737a4,_0x3ccfaa);for(const _0x15f9dc of Array['from'](_0xc226e8['added'])['reverse']())Wt(_0x4737a4,_0x15f9dc);}),_0x4737a4['keystrokes']['set']('enter',(_0x164ebf,_0x2ffa28)=>{_0x3b4db0===_0x164ebf['target']&&(_0x4737a4['focusCycler']['focusFirst'](),_0x2ffa28());},{'filter':_0x4e851b=>_0x4e851b['target']===_0x3b4db0}),_0x4737a4['keystrokes']['set']('esc',(_0x466429,_0x26a021)=>{_0x3b4db0!==_0x466429['target']?_0x4737a4['focus']():_0x4737a4['fire']('escape'),_0x26a021();}),_0x4737a4['keystrokes']['set']('arrowdown',(_0x5b295b,_0x268471)=>{_0x3b4db0===_0x5b295b['target']&&(_0x4737a4['fire']('arrowdown'),_0x268471());}),_0x4737a4['keystrokes']['set']('arrowup',(_0x96551d,_0x54b117)=>{_0x3b4db0===_0x96551d['target']&&(_0x4737a4['fire']('arrowup'),_0x54b117());});}function Wt(_0x59c8e9,_0x57e4d0){_0x57e4d0['isRendered']&&(_0x59c8e9['focusTracker']['add'](_0x57e4d0['element']),_0x59c8e9['keystrokes']['listenTo'](_0x57e4d0['element']),_0x1488d5(_0x57e4d0)&&function(_0x3c6866,_0x17615a){const _0x142297=_0x3c6866['actions'],_0x37b496=_0x17615a['actions'];for(const _0x2194a0 of Object['keys'](_0x142297))if(_0x2194a0 in _0x37b496&&_0x142297[_0x2194a0]!==_0x37b496[_0x2194a0])return!0x1;return!0x0;}(_0x59c8e9['focusCycler'],_0x57e4d0['focusCycler'])&&_0x59c8e9['focusCycler']['chain'](_0x57e4d0['focusCycler']));}function Yt(_0xf17e87,_0x413efd){_0xf17e87['focusTracker']['remove'](_0x413efd['element']),_0xf17e87['keystrokes']['stopListening'](_0x413efd['element']),_0x1488d5(_0x413efd)&&_0xf17e87['focusCycler']['unchain'](_0x413efd['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x37f27d{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x5483eb?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4ee93d,_0x413354)=>{_0x413354['on']('ready',()=>{this['_integrateEditor'](_0x413354);});});}get editor(){if(this['context']instanceof _0x5483eb)return this['context'];{const _0x5b3585=this['context']['editors']['first'];if(!_0x5b3585)throw new _0x2ed40a('documentcompare-no-editor',this);return _0x5b3585;}}getDiff(_0x2823fb,_0x366303,_0x3eebcd={'anchor':'main','markDeletions':!0x1}){const _0x48c190=_0x3eebcd['targetEditor']||this['editor'],_0x1ba249=_0x3eebcd['anchor']??'main';let _0x473af2,_0x1f9185;if('string'==typeof _0x1ba249){const _0x2573f3=_0x48c190['model']['document']['getRoot'](_0x1ba249);if(!_0x2573f3)throw new _0x2ed40a('documentcompare-compare-no-root',this,{'anchor':_0x1ba249});_0x473af2=_0x2573f3,_0x1f9185=_0x48c190['model']['createPositionAt'](_0x2573f3,0x0);}else _0x473af2=_0x1ba249['clone'](),_0x1f9185=_0x1ba249['clone']();const _0x2bbd10=_0x48c190['data']['parse'](_0x2823fb,_0x473af2),_0x43ffa9=_0x48c190['data']['parse'](_0x366303,_0x473af2);return new Kt({'editor':_0x48c190,'before':_0x2bbd10,'after':_0x43ffa9,'options':{'anchor':_0x1f9185,'markDeletions':_0x3eebcd['markDeletions']}});}isMarkedRemoveOperation(_0x179306){return'marker'==_0x179306['type']&&_0x179306['name']['startsWith']('$markedRemove');}applyOperations(_0x1c8eb7,_0xa82eda){const _0x2ed2bf=_0x1c8eb7['model'];for(const _0x4e81a4 of _0xa82eda)Dt(_0x4e81a4)||(_0x4e81a4 instanceof _0x16d21e?_0x1c8eb7['_addOperationForAffectedMarkers']('move',_0x5e9b44['_createFromPositionAndShift'](_0x4e81a4['sourcePosition'],_0x4e81a4['howMany'])):_0x4e81a4 instanceof _0x5288f2?_0x1c8eb7['_addOperationForAffectedMarkers']('merge',_0x4e81a4['deletionPosition']):_0x4e81a4 instanceof _0x23d8eb&&this['_fixMarkerOperationOldRange'](_0x2ed2bf,_0x4e81a4),_0x4e81a4['baseVersion']=_0x2ed2bf['document']['version'],_0x1c8eb7['batch']['addOperation'](_0x4e81a4),_0x2ed2bf['applyOperation'](_0x4e81a4));}_fixMarkerOperationOldRange(_0x138e24,_0xe6aaa0){const _0x1c41c0=_0x138e24['markers']['get'](_0xe6aaa0['name']);_0x1c41c0&&(_0xe6aaa0['oldRange']=_0x1c41c0['getRange']());}_integrateEditor(_0x4593cc){_0x4593cc['conversion']['for']('upcast')['add'](_0x2a93c3=>{_0x2a93c3['on']('element',(_0x2178ca,_0x2ca096,_0xb7646f)=>{if(_0x2ca096['modelRange']&&_0xb7646f['consumable']['consume'](_0x2ca096['viewItem'],{'attributes':'data-id'}))for(const _0x3abd89 of _0x2ca096['modelRange']['getItems']({'shallow':!0x0})){if(_0x3abd89['is']('$textProxy'))continue;const _0x16a8ca=_0x2ca096['viewItem']['getAttribute'](Jt);_0x16a8ca&&_0xb7646f['writer']['setAttribute'](jt,_0x16a8ca,_0x3abd89);}},{'priority':'low'});}),_0x4593cc['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x12e994,before:_0x4ac06c,after:_0x15e496,options:_0x348387}){this['_editor']=_0x12e994,this['_markDeletions']=!!_0x348387['markDeletions'],this['_anchor']=_0x348387['anchor'];const _0x4ea806=this['_tokenizeModel'](_0x4ac06c),_0x10b1ec=this['_tokenizeModel'](_0x15e496);this['_diffItems']=this['_diffModelTokens'](_0x4ea806,_0x10b1ec),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4ac06c['markers'],_0x15e496['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x16a0c8=this['_editor']['model']['document'],_0x441f39=[];let _0x19d0df=_0x16a0c8['version'];for(const _0x806d1c of this['_operationsData'])switch(_0x806d1c['type']){case'attribute':{const _0x20eb25=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x1c865c=new _0x5e9b44(_0x20eb25,_0x20eb25['getShiftedBy'](_0x806d1c['howMany'])),_0x4f64ed=JSON['parse'](_0x806d1c['oldValue']),_0x4624b3=JSON['parse'](_0x806d1c['newValue']);_0x441f39['push'](new _0x81dec2(_0x1c865c,_0x806d1c['key'],_0x4f64ed,_0x4624b3,_0x19d0df++));break;}case'insert':{const _0x307ac3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x1b315a=this['_makeModelFromTokens'](_0x806d1c['tokens']);_0x441f39['push'](new _0x3c448e(_0x307ac3,_0x1b315a,_0x19d0df++));break;}case'remove':{const _0x21512c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x52157e=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x16d21e(_0x21512c,_0x806d1c['howMany'],_0x52157e,_0x19d0df++));break;}case'rename':{const _0x535aa6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']);_0x441f39['push'](new _0x118b44(_0x535aa6,_0x806d1c['oldName'],_0x806d1c['newName'],_0x19d0df++));break;}case'split':{const _0x2a7850=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x4fbeaa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']['slice'](0x0,-0x1));_0x4fbeaa['offset']++,_0x441f39['push'](new _0x338267(_0x2a7850,Number['NEGATIVE_INFINITY'],_0x4fbeaa,null,_0x19d0df++));break;}case'merge':{const _0x468244=_0x806d1c['path']['slice'](),_0x2ed1b3=_0x468244['slice'](0x0,-0x1);_0x2ed1b3[_0x2ed1b3['length']-0x1]++,_0x2ed1b3['push'](0x0);const _0x2a8b66=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ed1b3),_0x584675=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x468244),_0xc630ff=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x5288f2(_0x2a8b66,Number['NEGATIVE_INFINITY'],_0x584675,_0xc630ff,_0x19d0df++));break;}case'marker':case'markedRemove':{let _0x3ca5c4=null;_0x806d1c['range']&&(_0x3ca5c4=new _0x5e9b44(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['end'])));const _0x1ea992='marker'==_0x806d1c['type']?_0x806d1c['name']:'$markedRemove:'+_0x294bfc();_0x441f39['push'](new _0x23d8eb(_0x1ea992,null,_0x3ca5c4,_0x16a0c8['model']['markers'],!0x0,_0x19d0df++));break;}case'unwrap':{const _0x4fb6e5=_0x806d1c['path']['slice']();_0x4fb6e5['push'](0x0);const _0x4614dd=_0x806d1c['path']['slice'](),_0x5e0742=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4fb6e5),_0x3a28e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4614dd),_0x54fe52=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x16d21e(_0x5e0742,_0x806d1c['howMany'],_0x3a28e2,_0x19d0df++)),_0x441f39['push'](new _0x16d21e(_0x3a28e2['getShiftedBy'](_0x806d1c['howMany']),0x1,_0x54fe52,_0x19d0df++));break;}case'wrap':{const _0x3e39e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['start']),_0x5f38a9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['end']),_0x542252=_0x806d1c['token']['element']['_clone'](!0x1);_0x542252['_removeAttribute'](jt);const _0x4755b1=_0x806d1c['range']['end']['slice']();_0x4755b1['push'](0x0);const _0x34e7fa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4755b1);_0x441f39['push'](new _0x3c448e(_0x5f38a9,_0x542252,_0x19d0df++)),_0x441f39['push'](new _0x16d21e(_0x3e39e2,_0x5f38a9['offset']-_0x3e39e2['offset'],_0x34e7fa,_0x19d0df++));break;}}return _0x441f39;}_tokenizeModel(_0x4eb54a){const _0x2e6e79=[],_0x46610a=new _0x384a2d({'boundaries':_0x5e9b44['_createIn'](_0x4eb54a)});let _0x3a4edf='',_0x3c59e7=null;const _0x25f0a1=[''],_0x4a5f1c=new Map();for(const _0x175dfc of _0x46610a)if('elementStart'==_0x175dfc['type']||'elementEnd'==_0x175dfc['type']){let _0x3ebffb=_0x25f0a1[0x0];''!==_0x3a4edf&&(_0x2e6e79['push'](...this['_makeTokensFromTextByWords'](_0x3a4edf,_0x3c59e7,_0x3ebffb)),_0x3a4edf='');const _0x20f06b=_0x175dfc['item'];let _0x43c9a9;_0x20f06b['getAttribute']('$elementId')?_0x43c9a9=_0x20f06b['getAttribute'](jt):'elementStart'==_0x175dfc['type']?(_0x43c9a9=Zt(_0x20f06b),_0x4a5f1c['set'](_0x20f06b,_0x43c9a9)):_0x43c9a9=_0x4a5f1c['get'](_0x20f06b);const _0x38b10c=this['_getElementCategory'](_0x20f06b);'solid'==_0x38b10c&&('elementStart'==_0x175dfc['type']?(_0x3ebffb=_0x43c9a9,_0x25f0a1['unshift'](_0x3ebffb)):_0x25f0a1['shift']());const _0x4495ca={'type':'element','element':_0x20f06b,'elementId':_0x43c9a9,'category':_0x38b10c,'isStart':'elementStart'==_0x175dfc['type'],'limitId':_0x3ebffb};_0x2e6e79['push'](_0x4495ca);}else''==_0x3a4edf&&(_0x3c59e7=_0x175dfc['previousPosition']['clone']()),_0x3a4edf+=_0x175dfc['item']['data'];return''!==_0x3a4edf&&_0x2e6e79['push'](...this['_makeTokensFromTextByWords'](_0x3a4edf,_0x3c59e7,_0x25f0a1[0x0])),_0x2e6e79;}_makeTokensFromTextByWords(_0x10f2a5,_0x47a5ee,_0x2825af){const _0xd820a0=_0x10f2a5['matchAll'](/(\s)/g),_0x515207=Array['from'](_0xd820a0)['map'](_0x12ea27=>_0x12ea27['index']);_0x515207['push'](_0x10f2a5['length']),0x0==_0x515207[0x0]&&_0x515207['shift']();const _0x3cada7=[],_0x58b6e0=_0x47a5ee['parent'];let _0x3fc046=0x0,_0x29e50e=_0x47a5ee['offset'];for(let _0x589b96=0x0;_0x589b96<_0x515207['length'];_0x589b96++)_0x3cada7['push']({'type':'text','data':_0x10f2a5['slice'](_0x3fc046,_0x515207[_0x589b96]),'parent':_0x58b6e0,'offset':_0x29e50e,'limitId':_0x2825af}),_0x3fc046=_0x515207[_0x589b96],_0x29e50e=_0x47a5ee['offset']+_0x515207[_0x589b96];return _0x3cada7;}_getElementCategory(_0x57a0eb){const _0x351d61=this['_editor']['model']['schema'];return _0x351d61['isLimit'](_0x57a0eb)||_0x351d61['isContent'](_0x57a0eb)||_0x351d61['isInline'](_0x57a0eb)?'solid':_0x351d61['isBlock'](_0x57a0eb)?'block':function(_0x3b6bc3,_0x1cfb67){const _0x7ea1b8=_0x3b6bc3['parent'];if(!_0x7ea1b8||_0x7ea1b8['is']('documentFragment'))return!0x1;if(_0x1cfb67['checkChild'](_0x7ea1b8,'$text'))return!0x1;for(const _0x251ec1 of _0x3b6bc3['getChildren']())if(_0x251ec1['is']('$text'))return!0x0;return!0x1;}(_0x57a0eb,_0x351d61)?'solid':'container';}['_diffModelTokens'](_0x5295be,_0x5f2735){const _0x3dcff3=_0x563a26(_0x5295be,_0x5f2735,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3dcff3);const _0x2a17ec=_0x3dcff3['flatMap'](_0x1ebb7f=>{const _0x59efd5=_0x1ebb7f['added']?'added':_0x1ebb7f['removed']?'removed':'unchanged';return _0x1ebb7f['value']['map'](_0x3aae95=>({'token':_0x3aae95,'change':_0x59efd5}));});let _0x801155=0x0;for(const _0x437f1b of _0x2a17ec)'added'!=_0x437f1b['change']&&('unchanged'==_0x437f1b['change']&&(_0x437f1b['before']=_0x5295be[_0x801155]),_0x801155++);return _0x2a17ec;}['_handleUnclosedBlockOpeningTags'](_0x2acbf6){for(let _0x117167=0x0;_0x117167<_0x2acbf6['length']-0x1;_0x117167++)if(_0x2acbf6[_0x117167]['removed']&&_0x2acbf6[_0x117167+0x1]['added']){const _0x3deda9=this['_findUnclosedBlockOpeningToken'](_0x2acbf6[_0x117167]['value']);if(null!==_0x3deda9){const _0x3ac27b=this['_findUnclosedBlockOpeningToken'](_0x2acbf6[_0x117167+0x1]['value']),_0x3896cc=_0x2acbf6[_0x117167]['value']['splice'](_0x3deda9),_0x27a7b4=_0x2acbf6[_0x117167+0x1]['value']['splice'](_0x3ac27b),_0x555bdd=[_0x27a7b4['shift']()];_0x3896cc['shift']();const _0x35c14b={'value':_0x3896cc,'removed':!0x0},_0xbcbdf6={'value':_0x27a7b4,'added':!0x0},_0x4888ca={'value':_0x555bdd};_0x2acbf6['splice'](_0x117167+0x2,0x0,_0x4888ca,_0x35c14b,_0xbcbdf6);}}}['_findUnclosedBlockOpeningToken'](_0x1e8132){let _0x402b10=0x0,_0x4bd5b4=-0x1;for(let _0x6305e5=0x0;_0x6305e5<_0x1e8132['length'];_0x6305e5++){const _0x4bc600=_0x1e8132[_0x6305e5];'element'==_0x4bc600['type']&&'block'==_0x4bc600['category']&&(_0x402b10+=_0x4bc600['isStart']?0x1:-0x1,_0x4bc600['isStart']&&(_0x4bd5b4=_0x6305e5));}return 0x0===_0x402b10?null:_0x4bd5b4;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5df9e2=0x0;_0x5df9e2<this['_diffItems']['length'];_0x5df9e2++){const _0x37ab91=this['_diffItems'][_0x5df9e2]['change'],_0x15edd4=[];_0x15edd4['push'](this['_diffItems'][_0x5df9e2]);let _0x56c65e=_0x5df9e2+0x1;for(;this['_diffItems'][_0x56c65e]&&this['_diffItems'][_0x56c65e]['change']==_0x37ab91;)_0x15edd4['push'](this['_diffItems'][_0x56c65e]),_0x56c65e++,_0x5df9e2++;const _0x3bac3e=_0x15edd4['map'](_0x2ae725=>_0x2ae725['token']);if('unchanged'==_0x37ab91)_0x15edd4['map'](_0x37a0ef=>_0x37a0ef['before'])['forEach'](_0x41993b=>this['_traverseOverItem'](_0x41993b));else{if('removed'==_0x37ab91){if(this['_markDeletions']){const _0x41c38e=this['_path']['slice']();_0x3bac3e['forEach'](_0x4faa9f=>this['_traverseOverItem'](_0x4faa9f));const _0xb434b4=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x41c38e,'end':_0xb434b4}});}else this['_handleChanged'](_0x3bac3e,!0x0,this['_path']['slice']());}else{const _0x5a187c=_0x3bac3e['filter'](_0x2b634d=>'element'!=_0x2b634d['type']||'container'!=_0x2b634d['category']);this['_handleChanged'](_0x5a187c,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x102b65=0x0;_0x102b65<this['_diffItems']['length'];_0x102b65++){const _0x5e1db8=this['_diffItems'][_0x102b65]['change'],_0x169e09=[];_0x169e09['push'](this['_diffItems'][_0x102b65]);let _0x101be4=_0x102b65+0x1;for(;this['_diffItems'][_0x101be4]&&this['_diffItems'][_0x101be4]['change']==_0x5e1db8;)_0x169e09['push'](this['_diffItems'][_0x101be4]),_0x101be4++,_0x102b65++;const _0x592cd4=_0x169e09['map'](_0x218e43=>_0x218e43['token']);if('unchanged'==_0x5e1db8){const _0x10f9a4=_0x169e09['map'](_0x45f9f2=>_0x45f9f2['before']);this['_handleUnchanged'](_0x10f9a4,_0x592cd4);}else('added'==_0x5e1db8||this['_markDeletions'])&&_0x592cd4['forEach'](_0x508945=>{'element'==_0x508945['type']&&_0x508945['isStart']&&this['_splitPostponedData']['has'](_0x508945['element'])&&this['_handleSplitPostponedData'](_0x508945['element'],this['_path']),this['_traverseOverItem'](_0x508945);});}}_handleSplitPostponedData(_0x2de1b5,_0x177336){const _0x327c0f=this['_splitPostponedData']['get'](_0x2de1b5);for(const _0x8495f8 of _0x327c0f)'rename'==_0x8495f8['type']?this['_operationsData']['push']({'type':'rename','path':_0x177336['slice'](),'oldName':_0x8495f8['oldValue'],'newName':_0x2de1b5['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x177336['slice'](),'howMany':0x1,'key':_0x8495f8['key'],'oldValue':_0x8495f8['oldValue'],'newValue':JSON['stringify'](_0x2de1b5['getAttribute'](_0x8495f8['key'])??null)});}_calculateMarkersOperationsData(_0x22d626,_0x565703){const _0x3a3c8d={};for(const [_0x182a64]of _0x22d626)_0x3a3c8d[_0x182a64]=null;for(const [_0x1c8448,_0x5a3628]of _0x565703)_0x3a3c8d[_0x1c8448]=_0x5a3628;const _0x2e490d=Object['entries'](_0x3a3c8d)['map'](([_0x3a8ad9,_0x10f3e3])=>({'type':'marker','name':_0x3a8ad9,'range':_0x10f3e3?{'start':_0x10f3e3['start']['path']['slice'](),'end':_0x10f3e3['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2e490d);}['_handleUnwraps'](){const _0x13dd19=new Map(),_0x2e64a9=[],_0x2f711a=[0x0];let _0x16f813=this['_diffItems']['length']+0x1;for(let _0x34cb69=this['_diffItems']['length']-0x1;_0x34cb69>=0x0;_0x34cb69--){const {token:_0x31a667,before:_0x4aa5e9,change:_0x226ff4}=this['_diffItems'][_0x34cb69];if('removed'!=_0x226ff4&&(_0x16f813=_0x34cb69),'element'!=_0x31a667['type']||'container'!=_0x31a667['category']||'added'==_0x226ff4)continue;const _0x1f4191=_0x4aa5e9?_0x4aa5e9['element']:_0x31a667['element'];if(_0x31a667['isStart']){const _0x2b32b3=_0x13dd19['get'](_0x1f4191),_0x199f5f=this['_diffItems'][_0x2b32b3];('removed'==_0x226ff4||'removed'==_0x199f5f['change'])&&_0x16f813<_0x2b32b3&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1f4191['getPath'](),'howMany':_0x1f4191['maxOffset']+_0x2f711a[0x0]}),_0x2f711a['shift'](),_0x2f711a[0x0]+=_0x1f4191['maxOffset']-0x1,_0x2e64a9['push'](_0x34cb69),_0x2e64a9['push'](_0x2b32b3));}else _0x13dd19['set'](_0x1f4191,_0x34cb69),_0x2f711a['unshift'](0x0);}_0x2e64a9['sort']((_0x485ef4,_0x21a72c)=>_0x21a72c-_0x485ef4),_0x2e64a9['forEach'](_0x5b04f6=>{const _0x3da12a=this['_diffItems'][_0x5b04f6];'removed'==_0x3da12a['change']?this['_diffItems']['splice'](_0x5b04f6,0x1):(_0x3da12a['change']='added',delete _0x3da12a['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x28076b=[];for(let _0x126acf=0x0;_0x126acf<this['_diffItems']['length'];_0x126acf++){const {change:_0x43aeb8,token:_0x465017}=this['_diffItems'][_0x126acf];if('added'==_0x43aeb8&&'element'==_0x465017['type']&&'container'==_0x465017['category']){if(_0x465017['isStart'])_0x28076b['push'](this['_path']['slice']());else{if(!_0x465017['isStart']){const _0x20dd91=_0x28076b['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x20dd91,'end':this['_path']['slice']()},'token':_0x465017}),this['_path'][this['_path']['length']-0x1]=_0x20dd91[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x43aeb8||this['_markDeletions'])&&this['_traverseOverItem'](_0x465017);}}['_handleUnchanged'](_0x1b9540,_0x1c7a4a){for(let _0x5d6021=0x0;_0x5d6021<_0x1b9540['length'];_0x5d6021++){const _0x414a45=_0x1b9540[_0x5d6021];if('element'==_0x414a45['type']&&_0x414a45['isStart']){const _0x3112f8=_0x1c7a4a[_0x5d6021];'block'==_0x414a45['category']&&this['_handleElementRename'](_0x414a45['element'],_0x3112f8['element'],this['_path']),this['_handleElementAttributeChanges'](_0x414a45['element'],_0x3112f8['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3112f8);}else{if('element'!=_0x414a45['type']||_0x414a45['isStart']){if('text'==_0x414a45['type']){const _0x46de69=this['_path']['slice'](),_0x41d9cb=[],_0x3f5890=[];for(;_0x1b9540[_0x5d6021]&&'text'==_0x1b9540[_0x5d6021]['type'];)_0x41d9cb['push'](_0x1b9540[_0x5d6021]),_0x3f5890['push'](_0x1c7a4a[_0x5d6021]),this['_path'][this['_path']['length']-0x1]+=_0x1b9540[_0x5d6021]['data']['length'],_0x5d6021++;_0x5d6021--,this['_handleTextAttributeChanges'](_0x41d9cb,_0x3f5890,_0x46de69);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x19bf0a,_0x265f45,_0x3aa7c3){const _0x561e4f=[],_0x2ff438=[],_0x36fae8=_0x3aa7c3['slice']();let _0x3c04bd=this['_parents']['length']-0x1;for(let _0x2ce306=0x0;_0x2ce306<_0x19bf0a['length'];_0x2ce306++){const _0x299580=_0x19bf0a[_0x2ce306],_0x5d85f5=_0x3aa7c3['slice']();'element'!=_0x299580['type']||_0x299580['isStart']?'element'==_0x299580['type']&&_0x299580['isStart']?(_0x3aa7c3['push'](0x0),_0x3c04bd++,_0x2ff438['push']({'before':_0x5d85f5,'after':_0x3aa7c3['slice'](),'index':_0x2ce306})):_0x3aa7c3[_0x3aa7c3['length']-0x1]+=_0x299580['data']['length']:(_0x3aa7c3['pop'](),_0x3aa7c3[_0x3aa7c3['length']-0x1]++,_0x3c04bd--,_0x2ff438['length']?_0x2ff438['pop']():_0x561e4f['push']({'before':_0x5d85f5,'after':_0x3aa7c3['slice'](),'index':_0x2ce306}));}if(_0x2ff438['length']!==_0x561e4f['length'])throw new _0x2ed40a('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x19bf0a,'isRemove':_0x265f45});const _0x4e4f6a=[{'after':_0x36fae8['slice'](),'index':-0x1},..._0x561e4f,..._0x2ff438,{'before':_0x3aa7c3['slice'](),'index':_0x19bf0a['length']}];if(_0x265f45){for(let _0x4cc4a9=_0x4e4f6a['length']-0x1;_0x4cc4a9>=0x1;_0x4cc4a9--){const _0xef103b=_0x4e4f6a[_0x4cc4a9-0x1]['after'],_0x13c18a=_0x4e4f6a[_0x4cc4a9]['before'],_0x3e8f0a=_0x13c18a[_0x13c18a['length']-0x1]-_0xef103b[_0xef103b['length']-0x1];_0x3e8f0a&&(this['_operationsData']['push']({'type':'remove','path':_0xef103b,'howMany':_0x3e8f0a}),_0x13c18a[_0x13c18a['length']-0x1]-=_0x3e8f0a);}for(const {before:_0x319af2}of _0x561e4f)this['_operationsData']['push']({'type':'merge','path':_0x319af2});}else for(let _0x36f47f=0x0;_0x36f47f<_0x4e4f6a['length']-0x1;_0x36f47f++){const _0x1b2d6b=_0x4e4f6a[_0x36f47f]['after'],_0x379c05=_0x4e4f6a[_0x36f47f+0x1]['before'],_0x390ede=_0x4e4f6a[_0x36f47f]['index']+0x1,_0x96a7ec=_0x4e4f6a[_0x36f47f+0x1]['index'];if(_0x390ede!==_0x96a7ec&&this['_operationsData']['push']({'type':'insert','path':_0x1b2d6b,'tokens':_0x19bf0a['slice'](_0x390ede,_0x96a7ec)}),_0x36f47f<_0x561e4f['length']){this['_operationsData']['push']({'type':'split','path':_0x379c05});const _0x274c52=_0x19bf0a[_0x2ff438[_0x2ff438['length']-0x1-_0x36f47f]['index']],_0x550db8=this['_parents'][_0x3c04bd]['element'];_0x550db8['name']!=_0x274c52['element']['name']&&this['_addSplitPostponedData'](_0x274c52['element'],{'type':'rename','oldValue':_0x550db8['name']});const _0x46fb15=this['_getAttributeChanges'](_0x550db8['getAttributes'](),_0x274c52['element']['getAttributes']());for(const _0x446fa5 in _0x46fb15){const _0x34016d=_0x46fb15[_0x446fa5]['oldValue'];this['_addSplitPostponedData'](_0x274c52['element'],{'type':'attribute','key':_0x446fa5,'oldValue':_0x34016d});}}}}_addSplitPostponedData(_0x4afc22,_0x58f903){const _0x1bb7ff=this['_splitPostponedData']['get'](_0x4afc22)||[];_0x1bb7ff['push'](_0x58f903),this['_splitPostponedData']['set'](_0x4afc22,_0x1bb7ff);}_traverseOverItem(_0x5cc104){'element'==_0x5cc104['type']&&_0x5cc104['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x5cc104)):'element'!=_0x5cc104['type']||_0x5cc104['isStart']?'text'==_0x5cc104['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x5cc104['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x577d02,_0x4e9f96,_0x4475aa){_0x577d02['name']!=_0x4e9f96['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4475aa['slice'](),'oldName':_0x577d02['name'],'newName':_0x4e9f96['name']});}_handleElementAttributeChanges(_0x48d7ba,_0x4da0cf,_0x1c4c1b){const _0x2ec762=this['_getAttributeChanges'](_0x48d7ba['getAttributes'](),_0x4da0cf['getAttributes']());for(const _0x79148f in _0x2ec762){const {oldValue:_0x35b1d9,newValue:_0x34ae32}=_0x2ec762[_0x79148f];this['_operationsData']['push']({'type':'attribute','path':_0x1c4c1b['slice'](),'howMany':0x1,'key':_0x79148f,'oldValue':_0x35b1d9,'newValue':_0x34ae32});}}_handleTextAttributeChanges(_0x464961,_0x1c9f3a,_0x343c91){const _0x207c94=this['_operationsData'],_0x1d48ae=_0x464961[0x0]['parent'],_0x4797e9=_0x464961[0x0]['offset'],_0x5ac429=_0x1c9f3a[0x0]['parent'],_0x354cb4=_0x1c9f3a[0x0]['offset'],_0x35a98b=_0x464961['reduce']((_0x1dd0a1,_0x20783b)=>_0x1dd0a1+_0x20783b['data']['length'],0x0),_0x45e832=this['_getAttrsForOffsets'](_0x1d48ae,_0x4797e9,_0x35a98b),_0x220905=this['_getAttrsForOffsets'](_0x5ac429,_0x354cb4,_0x35a98b),_0x351f57={};for(let _0x2efd72=0x0;_0x2efd72<_0x35a98b;_0x2efd72++){const _0x5d8b5d=_0x45e832[_0x4797e9+_0x2efd72],_0x2070d5=_0x220905[_0x354cb4+_0x2efd72],_0x2177cf=this['_getAttributeChanges'](_0x5d8b5d,_0x2070d5);for(const _0x5d02be in _0x351f57)_0x2177cf[_0x5d02be]||_0xc16c85(_0x5d02be);for(const _0x69c761 in _0x2177cf){const {oldValue:_0x50d89c,newValue:_0x2f8a3a}=_0x2177cf[_0x69c761],_0x4f1cb2=_0x351f57[_0x69c761];_0x4f1cb2?_0x4f1cb2['oldValue']==_0x50d89c&&_0x4f1cb2['newValue']==_0x2f8a3a?_0x4f1cb2['length']++:(_0xc16c85(_0x69c761),_0x351f57[_0x69c761]={'oldValue':_0x50d89c,'newValue':_0x2f8a3a,'start':_0x2efd72,'length':0x1}):_0x351f57[_0x69c761]={'oldValue':_0x50d89c,'newValue':_0x2f8a3a,'start':_0x2efd72,'length':0x1};}}for(const _0x3ce481 in _0x351f57)_0xc16c85(_0x3ce481);function _0xc16c85(_0x48d3b7){const _0x808b00=_0x351f57[_0x48d3b7],_0x375dcb=_0x343c91['slice']();_0x375dcb[_0x375dcb['length']-0x1]+=_0x808b00['start'],_0x207c94['push']({'type':'attribute','path':_0x375dcb,'howMany':_0x808b00['length'],'key':_0x48d3b7,'oldValue':_0x808b00['oldValue'],'newValue':_0x808b00['newValue']}),delete _0x351f57[_0x48d3b7];}}_getAttributeChanges(_0x56c42e,_0x28cb48){const _0x3d96e8={};for(const [_0x3a3f87,_0x300541]of _0x56c42e)_0x3d96e8[_0x3a3f87]={'oldValue':JSON['stringify'](_0x300541),'newValue':'null'};for(const [_0x293103,_0x4e1418]of _0x28cb48){const _0x31acdf=JSON['stringify'](_0x4e1418);_0x3d96e8[_0x293103]?_0x3d96e8[_0x293103]['oldValue']==_0x31acdf?delete _0x3d96e8[_0x293103]:_0x3d96e8[_0x293103]['newValue']=_0x31acdf:_0x3d96e8[_0x293103]={'oldValue':'null','newValue':_0x31acdf};}return delete _0x3d96e8[jt],_0x3d96e8;}_getAttrsForOffsets(_0x42bda4,_0x278a6d,_0x4460af){const _0x315a2c=new Array(_0x278a6d+_0x4460af);let _0x8e8038=_0x42bda4['getChildAtOffset'](_0x278a6d),_0x2902d1=_0x8e8038['startOffset'];for(;_0x8e8038&&_0x2902d1<_0x278a6d+_0x4460af;){const _0x445e36=Array['from'](_0x8e8038['getAttributes']());_0x315a2c['fill'](_0x445e36,_0x2902d1,_0x2902d1+_0x8e8038['offsetSize']),_0x2902d1+=_0x8e8038['offsetSize'],_0x8e8038=_0x8e8038['nextSibling'];}return _0x315a2c;}_getPositionFromAnchorAndPath(_0x9e03d7,_0x48a047){const _0x261d7=[..._0x9e03d7['path']['slice'](0x0,-0x1),_0x9e03d7['offset']+_0x48a047[0x0],..._0x48a047['slice'](0x1)];return new _0x224efa(_0x9e03d7['root'],_0x261d7);}['_makeModelFromTokens'](_0x5a8ea5){const _0x247c42=[];let _0x31d012=null;for(const _0x41903e of _0x5a8ea5)if('element'!=_0x41903e['type']||_0x41903e['isStart']||_0x31d012!=_0x41903e['element']){if(!_0x31d012){if('text'==_0x41903e['type']){const _0x16b3e9=_0x224efa['_createAt'](_0x41903e['parent'],_0x41903e['offset']),_0xe8c5cf=_0x5e9b44['_createFromPositionAndShift'](_0x16b3e9,_0x41903e['data']['length']),_0x44aeb8=Array['from'](_0xe8c5cf['getItems']())['map'](_0x2f8892=>new _0x272f0e(_0x2f8892['data'],_0x2f8892['getAttributes']()));_0x247c42['push'](..._0x44aeb8);}else{_0x31d012=_0x41903e['element'];const _0x28d444=_0x41903e['element']['_clone'](!0x0);_0x28d444['_removeAttribute'](jt);for(const _0x1696e5 of this['_editor']['model']['createRangeIn'](_0x28d444)['getItems']())_0x1696e5['is']('element')&&_0x1696e5['_removeAttribute'](jt);_0x247c42['push'](_0x28d444);}}}else _0x31d012=null;return _0x247c42;}};function qt(_0x43e1c6,_0x576f21){return _0x43e1c6['type']===_0x576f21['type']&&(_0x43e1c6['limitId']===_0x576f21['limitId']&&('text'==_0x43e1c6['type']?_0x43e1c6['data']==_0x576f21['data']:function(_0xcc0ab,_0x44223a){if(_0xcc0ab['isStart']!=_0x44223a['isStart'])return!0x1;if(_0xcc0ab['isStart']&&_0xcc0ab['elementId']!=_0x44223a['elementId'])return!0x1;if(_0xcc0ab['category']!=_0x44223a['category'])return!0x1;if('block'==_0xcc0ab['category'])return!0x0;if('container'==_0xcc0ab['category']&&_0xcc0ab['elementId']!=_0x44223a['elementId'])return!0x1;return _0xcc0ab['element']['name']==_0x44223a['element']['name'];}(_0x43e1c6,_0x576f21)));}function Zt(_0x346a0f){return Tt({'name':_0x346a0f['name'],...Object['fromEntries'](_0x346a0f['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut 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,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht 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':_0x5b989d=>0x1!=_0x5b989d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b158f=>{const {af:{dictionary:_0x2bc7a0,getPluralForm:_0x259cd0}}={'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':_0x565f09=>0x1!=_0x565f09}};_0x3b158f['af']||={'dictionary':{},'getPluralForm':null},_0x3b158f['af']['dictionary']=Object['assign'](_0x3b158f['af']['dictionary'],_0x2bc7a0),_0x3b158f['af']['getPluralForm']=_0x259cd0;})(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':_0x10eb30=>0x0==_0x10eb30?0x0:0x1==_0x10eb30?0x1:0x2==_0x10eb30?0x2:_0x10eb30%0x64>=0x3&&_0x10eb30%0x64<=0xa?0x3:_0x10eb30%0x64>=0xb?0x4:0x5}};
|