@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240425.0 → 0.0.0-nightly-20240426.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/build/revision-history.js +1 -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/az.js +1 -1
- package/dist/translations/az.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.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/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/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/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/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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x580e1f,Context as _0x5981e5,PendingActions as _0x22ed99,icons as _0x40f1df,Command as _0x188b37,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x330e54,uid as _0x4f3974,Collection as _0x2e3edc,logWarning as _0x4c1761,FocusTracker as _0x2253e3,KeystrokeHandler as _0x5b12dd,scrollViewportToShowTarget as _0xc6c84d,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x40464c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4a39ba,getMarkerDomElement as _0x280166,ConfirmMixin as _0x4a2aec,sanitizeEditorConfig as _0x47375a}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5659e8,ViewText as _0x1e000c,ViewElement as _0x1dbbc1,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x42597e,ViewAttributeElement as _0x400d97,ViewEmptyElement as _0x54a34f,ViewRawElement as _0xd4e566,ViewUIElement as _0x1755ed,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5e4b81,set as _0x3bb554,unset as _0xfaab04,isEqual as _0x10a2a2}from'lodash-es';import{View as _0x4bcd56,submitHandler as _0x3635ce,LabeledFieldView as mt,createLabeledInputText as _0x3a13f6,injectCssTransitionDisabler as ts,createDropdown as _0x43d373,ListView as te,ListItemView as _0x43c2e5,ButtonView as _0x99d8d4,MenuBarMenuView as _0x4fa6ad,MenuBarMenuListView as _0x21f133,MenuBarMenuListItemView as _0x1e1e38,MenuBarMenuListItemButtonView as _0x33c27a,ContextualBalloon as _0x1f4f7b,ToolbarSeparatorView as _0x4d4910,IconView as _0x4c04a6,addListToDropdown as _0x52a1c1,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x4158e4}from'luxon';class a extends _0x330e54(){['setName'](_0x15c2be){this['_update']({'name':_0x15c2be});}['setAttribute'](_0x1e817a,_0x2554a1){const _0x5cd25e=_0x5e4b81(this['attributes']);_0x3bb554(_0x5cd25e,_0x1e817a,_0x2554a1),this['_update']({'attributes':_0x5cd25e});}['removeAttribute'](_0x4d3983){const _0x42fdb9=_0x5e4b81(this['attributes']);_0xfaab04(_0x42fdb9,_0x4d3983),this['_update']({'attributes':_0x42fdb9});}['_update'](_0x2d5047,_0x4ba912=!0x1){let _0x284d1e=!0x1;const _0x5d1378={'id':this['id']},_0x3e3311=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x32a9b0 of _0x3e3311){const _0x383511=_0x2d5047[_0x32a9b0];void 0x0!==_0x383511&&_0x383511!==this[_0x32a9b0]&&(this[_0x32a9b0]=_0x383511,_0x5d1378[_0x32a9b0]=_0x383511,_0x284d1e=!0x0);}_0x284d1e&&(_0x5d1378['authors']&&(_0x5d1378['authorsIds']=_0x5d1378['authors']['map'](_0x416e67=>_0x416e67['id']),delete _0x5d1378['authors']),this['fire']('_update',_0x5d1378,_0x4ba912));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4b41be=>_0x4b41be['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x34729a){super(),this['id']=_0x34729a['id']||_0x4f3974(),this['creator']=_0x34729a['creator']||null,this['authors']=_0x34729a['authors']||[],this['diffData']=_0x34729a['diffData']||null,this['toVersion']=_0x34729a['toVersion']||0x0,this['fromVersion']=_0x34729a['fromVersion']||0x0,this['set']('name',_0x34729a['name']||''),this['set']('createdAt',_0x34729a['createdAt']||new Date()),this['set']('attributes',_0x34729a['attributes']||{});}}class A extends _0x580e1f{static get['requires'](){return[_0x4a39ba];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x65fa68){function _0x9e6844(_0x36a41c,_0x27509d,_0x5853c1){const _0x3a411c={};_0x3a411c[_0x4809dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3a411c[_0x4809dc([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x3a411c[_0x4809dc([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x3a411c[_0x4809dc([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x3a411c[_0x4809dc([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x3a411c[_0x4809dc([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x3a411c[_0x4809dc([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x3a411c[_0x4809dc([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x3a411c[_0x4809dc([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x3a411c[_0x4809dc([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x3a411c[_0x4809dc([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0xd2f288=new Uint8Array(0x10);for(let _0x14db4e=0xf;_0x14db4e>=0x0;--_0x14db4e)_0xd2f288[_0x14db4e]=_0x5853c1%0x100,_0x5853c1=parseInt(_0x5853c1/0x100);let _0x36e846=null,_0x290831=0x10;const _0x3fd089=new Uint8Array(_0x27509d),_0x4c8bb9=[],_0x547148=[];_0x5d6251();for(let _0x37b994=0x0;_0x37b994<_0x36a41c[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b994++)0x10===_0x290831&&(_0x36e846=_0x2b40a7(_0xd2f288),_0x290831=0x0,_0x297278(_0xd2f288)),_0x36a41c[_0x37b994]^=_0x36e846[_0x290831++];return _0x36a41c;function _0x2a05e8(_0x5c2c96){const _0x577f30=[];for(let _0x2244b=0x0;_0x2244b<_0x5c2c96[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2244b+=0x4)_0x577f30[_0x4809dc([0x70,0x75,0x73,0x68])](_0x5c2c96[_0x2244b]<<0x18|_0x5c2c96[_0x2244b+0x1]<<0x10|_0x5c2c96[_0x2244b+0x2]<<0x8|_0x5c2c96[_0x2244b+0x3]);return _0x577f30;}function _0x297278(_0x4d6da8){for(let _0xbe744b=0xf;_0xbe744b>=0x0;_0xbe744b--){if(0xff!==_0x4d6da8[_0xbe744b]){_0x4d6da8[_0xbe744b]++;break;}_0x4d6da8[_0xbe744b]=0x0;}}function _0x2b40a7(_0x1a0bd8){const _0x1e60a2=_0x4c8bb9[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1f14ce=[0x0,0x0,0x0,0x0];let t=_0x2a05e8(_0x1a0bd8);for(let _0xc4c971=0x0;_0xc4c971<0x4;_0xc4c971++)t[_0xc4c971]^=_0x4c8bb9[0x0][_0xc4c971];for(let _0x115b14=0x1;_0x115b14<_0x1e60a2;_0x115b14++){for(let _0x2bb065=0x0;_0x2bb065<0x4;_0x2bb065++)_0x1f14ce[_0x2bb065]=_0x3a411c[_0x4809dc([0x54,0x31])][t[_0x2bb065]>>0x18&0xff]^_0x3a411c[_0x4809dc([0x54,0x32])][t[(_0x2bb065+0x1)%0x4]>>0x10&0xff]^_0x3a411c[_0x4809dc([0x54,0x33])][t[(_0x2bb065+0x2)%0x4]>>0x8&0xff]^_0x3a411c[_0x4809dc([0x54,0x34])][0xff&t[(_0x2bb065+0x3)%0x4]]^_0x4c8bb9[_0x115b14][_0x2bb065];t=_0x1f14ce[_0x4809dc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x45edcb=new Uint8Array(0x10);let _0x31b542;for(let _0x3be2c=0x0;_0x3be2c<0x4;_0x3be2c++)_0x31b542=_0x4c8bb9[_0x1e60a2][_0x3be2c],_0x45edcb[0x4*_0x3be2c]=0xff&(_0x3a411c[_0x4809dc([0x53])][t[_0x3be2c]>>0x18&0xff]^_0x31b542>>0x18),_0x45edcb[0x4*_0x3be2c+0x1]=0xff&(_0x3a411c[_0x4809dc([0x53])][t[(_0x3be2c+0x1)%0x4]>>0x10&0xff]^_0x31b542>>0x10),_0x45edcb[0x4*_0x3be2c+0x2]=0xff&(_0x3a411c[_0x4809dc([0x53])][t[(_0x3be2c+0x2)%0x4]>>0x8&0xff]^_0x31b542>>0x8),_0x45edcb[0x4*_0x3be2c+0x3]=0xff&(_0x3a411c[_0x4809dc([0x53])][0xff&t[(_0x3be2c+0x3)%0x4]]^_0x31b542);return _0x45edcb;}function _0x5d6251(){const _0x1e0149=_0x3a411c[_0x4809dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3fd089[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1002c4=0x0;_0x1002c4<=_0x1e0149;_0x1002c4++)_0x4c8bb9[_0x4809dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x547148[_0x4809dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2122c7=0x4*(_0x1e0149+0x1),_0x2b8613=_0x3fd089[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4d179b=_0x2a05e8(_0x3fd089);let _0x27eefc;for(let _0x3aa5f3=0x0;_0x3aa5f3<_0x2b8613;_0x3aa5f3++)_0x27eefc=_0x3aa5f3>>0x2,_0x4c8bb9[_0x27eefc][_0x3aa5f3%0x4]=_0x4d179b[_0x3aa5f3],_0x547148[_0x1e0149-_0x27eefc][_0x3aa5f3%0x4]=_0x4d179b[_0x3aa5f3];let _0xfa7d37,_0x40b56f=0x0,t=_0x2b8613;for(;t<_0x2122c7;){_0xfa7d37=_0x4d179b[_0x2b8613-0x1],_0x4d179b[0x0]^=_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x10&0xff]<<0x18^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x8&0xff]<<0x10^_0x3a411c[_0x4809dc([0x53])][0xff&_0xfa7d37]<<0x8^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x18&0xff]^_0x3a411c[_0x4809dc([0x72,0x63,0x6f,0x6e])][_0x40b56f]<<0x18,_0x40b56f+=0x1;for(let _0x182abe=0x1;_0x182abe<_0x2b8613/0x2;_0x182abe++)_0x4d179b[_0x182abe]^=_0x4d179b[_0x182abe-0x1];_0xfa7d37=_0x4d179b[_0x2b8613/0x2-0x1],_0x4d179b[_0x2b8613/0x2]^=_0x3a411c[_0x4809dc([0x53])][0xff&_0xfa7d37]^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x8&0xff]<<0x8^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x10&0xff]<<0x10^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x18&0xff]<<0x18;for(let _0xf04cb8=_0x2b8613/0x2+0x1;_0xf04cb8<_0x2b8613;_0xf04cb8++)_0x4d179b[_0xf04cb8]^=_0x4d179b[_0xf04cb8-0x1];let _0x1840c7,_0x210a49,_0x4fea02=0x0;for(;_0x4fea02<_0x2b8613&&t<_0x2122c7;)_0x1840c7=t>>0x2,_0x210a49=t%0x4,_0x4c8bb9[_0x1840c7][_0x210a49]=_0x4d179b[_0x4fea02],_0x547148[_0x1e0149-_0x1840c7][_0x210a49]=_0x4d179b[_0x4fea02++],t++;}for(let _0x292d84=0x1;_0x292d84<_0x1e0149;_0x292d84++)for(let _0x8d4dd=0x0;_0x8d4dd<0x4;_0x8d4dd++)_0xfa7d37=_0x547148[_0x292d84][_0x8d4dd],_0x547148[_0x292d84][_0x8d4dd]=_0x3a411c[_0x4809dc([0x55,0x31])][_0xfa7d37>>0x18&0xff]^_0x3a411c[_0x4809dc([0x55,0x32])][_0xfa7d37>>0x10&0xff]^_0x3a411c[_0x4809dc([0x55,0x33])][_0xfa7d37>>0x8&0xff]^_0x3a411c[_0x4809dc([0x55,0x34])][0xff&_0xfa7d37];}}function _0x4809dc(_0x4f1e87){return _0x4f1e87['map'](_0x20e338=>String['fromCharCode'](_0x20e338))['join']('');}(_0x545f09=>{function _0x4de8b8(){const _0x320105=[{[_0x4809dc([0x69,0x64])]:0x1,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4809dc([0x69,0x64])]:0x2,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4809dc([0x69,0x64])]:0x3,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4809dc([0x69,0x64])]:0x4,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4809dc([0x69,0x64])]:0x5,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x6,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x7,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x8,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x9,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4809dc([0x69,0x64])]:0xa,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0xb,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4809dc([0x69,0x64])]:0xc,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4809dc([0x69,0x64])]:0xd,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0xe,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4809dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x4809dc([0x69,0x64])]:0xf,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x418038(_0x320105),_0x320105;function _0x33ee13(_0xb2f20a){return 0x1<<_0xb2f20a-0x1;}function _0x418038(_0x40b016){_0x40b016[_0x4809dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x237b57=>{_0x237b57[_0x4809dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x33ee13(_0x237b57[_0x4809dc([0x69,0x64])]),_0x27758e(_0x237b57)&&_0x237b57[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x418038(_0x237b57[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x27758e(_0x194651){return _0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x194651;}const _0x510631=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3f9532=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x10b930(_0x5947a7){const _0x5c044d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x979b1d(_0x5947a7,new Uint8Array([..._0x510631,..._0x5c044d,..._0x3f9532]));}function _0x979b1d(_0x4405a1,_0xd42b71){const _0x5b4e7e=_0x1fdf04(_0x4405a1),_0x1c12b4=Array[_0x4809dc([0x66,0x72,0x6f,0x6d])](_0xf21e43(_0x5b4e7e)),_0x372c93=_0x1c12b4[_0x4809dc([0x70,0x6f,0x70])](),_0x599c10=_0x1c12b4[_0x4809dc([0x70,0x6f,0x70])]();return _0x3a45cf(_0x9e6844(_0x1c12b4,_0xd42b71,_0x599c10+0x100*_0x372c93));}function _0x1fdf04(_0x75bd39){const _0xb2fff8=atob(_0x75bd39),[_0x4c8480,_0x3c479b]=_0xb2fff8[_0x4809dc([0x73,0x70,0x6c,0x69,0x74])](_0x4809dc([0x2d]));try{if(atob(_0x3c479b))return atob(_0x4c8480);}catch(_0x20c73d){}return _0xb2fff8;}function _0xd294cc(_0x55c85f){try{const _0x41b337=_0x10b930(_0x55c85f),_0x1d7a51=JSON[_0x4809dc([0x70,0x61,0x72,0x73,0x65])](_0x41b337),_0xafb011=parseInt(_0x1d7a51[_0x4809dc([0x31])]),_0x9f42ff=_0x1d7a51[_0x4809dc([0x32])]||'',_0x13b6dc=parseInt(_0x1d7a51[_0x4809dc([0x33])]),_0x724545=parseInt(_0x1d7a51[_0x4809dc([0x34])])||0x0,_0x2a8187=parseInt(_0x1d7a51[_0x4809dc([0x35])])||0x0;return{[_0x4809dc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x9f42ff,[_0x4809dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x724545,[_0x4809dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xafb011,[_0x4809dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x13b6dc,[_0x4809dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x2a8187};}catch(_0x57ccd1){return null;}}const _0x2f63bb=_0x4de8b8(),_0x4bf80c={[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x56b026,[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x59bd23,[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x3c490c},_0x33dcce=_0x545f09[_0x4809dc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4befb5=_0x4809dc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x545f09?_0x545f09['context']:_0x545f09['editor'],_0x11b980=_0x4809dc([0x34,0x30,0x34,0x38,0x30,0x38,0x35,0x30]),_0x1a1db7=_0x4809dc([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x48ceaf=_0x4befb5['config']['get'](_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x501dbb=_0x2f63bb[_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27758e)[_0x4809dc([0x66,0x69,0x6e,0x64])](_0x1c1426=>_0x1c1426[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x33dcce);function _0x548691(_0x4bb7ee,_0x3503ce){_0x4bf80c[_0x3503ce[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4bb7ee,_0x3503ce),_0x3503ce[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3503ce[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d570c=>_0x38f1f7(_0x4befb5,_0x4d570c[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4809dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36c3a6=>_0x548691(_0x4bb7ee,_0x36c3a6));}function _0x56b026(_0x174585,_0x1b65e6){_0x597ff9(_0x59b0d9(_0x174585,_0x1b65e6),_0x1b65e6);}function _0x59bd23(_0x3d7736,_0x4e8810){function _0x141bf9(_0x2e6509,_0x1ddb50){try{if(_0x38f1f7(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2e6509){const _0x3c0806=_0x5b6a30(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4809dc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3c0806)/0x2>_0x2e6509[_0x4809dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2a64cd(_0x1ddb50[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x59b0d9(_0x2e6509,_0x1ddb50);}catch(_0x4484cf){return _0x2a64cd(_0x1ddb50[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x597ff9(_0x141bf9(_0x3d7736,_0x4e8810),_0x4e8810);}function _0x3c490c(_0x8c18f6,_0x2ff058){const _0x2c894f=_0x3f9532[0x0]*_0x510631[0x1],_0x1fe903=_0x3f9532[0x0]*_0x510631[0x2],_0x58b2f7=_0x3f9532[0x2]*_0x510631[0x2];_0x38f1f7(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5b6a30(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x526c03()]=_0x58b2f7);function _0x52e53d(_0x2f9f5f,_0x158c85){try{return _0x728eb6()?_0x2a64cd(_0x158c85[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x56,0x61,0x6c,0x69,0x64])):_0x59b0d9(_0x2f9f5f,_0x158c85);}catch(_0x42593c){return _0x2a64cd(_0x158c85[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x31fab5(_0x3a859f,_0x1a75c1){const _0x5dd2a2=0x7;if(_0x3a859f==_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1a9f64();else{if(_0x3a859f==_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])){const _0x321bd7=_0x5bf6a4();_0x321bd7&&_0x2390b8(_0x321bd7,_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x7862f=_0x19f11d();window[_0x4809dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2390b8(_0x4809dc([0x74,0x69,0x6d,0x65]),_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x7862f);const _0x1e45a4=_0x5b6a30(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4809dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1e45a4[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5dd2a2?_0x2390b8(_0x4809dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1e45a4['on'](_0x4809dc([0x61,0x64,0x64]),()=>{_0x1e45a4[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5dd2a2&&_0x2390b8(_0x4809dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5bf6a4(){if(!_0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4bd7cd in window)if(Number['isNaN'](Number(_0x4bd7cd))){if(window[_0x4bd7cd]===_0x2c894f)return _0x4809dc([0x74,0x69,0x6d,0x65]);if(window[_0x4bd7cd]===_0x1fe903)return _0x4809dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x728eb6(){if(!_0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x47267d in window)if(Number['isNaN'](Number(_0x47267d))&&window[_0x47267d]===_0x58b2f7)return!0x0;return!0x1;}function _0x2390b8(_0x13955e,_0x54acd7){_0x1a9f64(),_0x2a64cd(_0x54acd7+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x13955e),window[_0x526c03()]=_0x13955e===_0x4809dc([0x74,0x69,0x6d,0x65])?_0x2c894f:_0x1fe903;}function _0x19f11d(){let _0x5d263b=_0x3f9532[0x6]*_0x510631[0x8]*_0x510631[0x6];return _0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5d263b/=0xa),_0x5d263b;}function _0x1a9f64(){const _0x4aefd1=_0x4befb5;function _0x25f258(){_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4d3ea6,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4d3ea6,_0x4aefd1[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x4aefd1[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x4aefd1[_0x4809dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4d3ea6,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4d3ea6);}_0x4aefd1[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x72,0x65,0x61,0x64,0x79])?_0x25f258():_0x4aefd1[_0x4809dc([0x6f,0x6e,0x63,0x65])](_0x4809dc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x25f258(),_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1eb5bb=_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1c72bf=_0x1eb5bb['getRevision'](0x0),_0x1c5ae3=_0x1eb5bb['getEarlierVisibleRevision'](_0x1c72bf[_0x4809dc([0x69,0x64])]);_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1c72bf[_0x4809dc([0x69,0x64])],_0x1c5ae3?_0x1c5ae3[_0x4809dc([0x69,0x64])]:null,0x1)['then'](()=>_0x25f258());}});}_0x31fab5(_0x52e53d(_0x8c18f6,_0x2ff058),_0x2ff058);}function _0x59b0d9(_0x17f225,_0xbcb0be){try{return _0x204181(_0xbcb0be)?_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x56,0x61,0x6c,0x69,0x64])):_0x17f225&&_0xb8b5f4(_0x17f225[_0x4809dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xbcb0be)?_0x17f225[_0x4809dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4809dc([0x6f,0x70,0x65,0x6e])][_0x4809dc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x11b980)/0x2>_0x17f225[_0x4809dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x17f225[_0x4809dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])):_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x56,0x61,0x6c,0x69,0x64])):_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xa39261){return _0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x597ff9(_0x3888b7,_0x158416){if(_0x4befb5 instanceof _0x5981e5){const _0x4127be=_0x4befb5;_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x19b427(_0x4127be):_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4809dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x19b427(_0x4127be),_0x2a64cd(_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3f9532[0x6]*_0x510631[0x8]*_0x510631[0x6]),_0x4127be[_0x4809dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4809dc([0x6f,0x6e])](_0x4809dc([0x61,0x64,0x64]),(_0x110dcc,_0x31bd6c)=>{_0x3888b7!=_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3888b7!=_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3888b7!=_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x34bbd7(_0x31bd6c);});}else{const _0x40f53a=_0x4befb5;_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x34bbd7(_0x40f53a):_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])&&_0x40f53a[_0x4809dc([0x6f,0x6e])](_0x4809dc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x49ed1e=0x0;_0x40f53a[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x6f,0x6e])](_0x4809dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc7d9eb,_0x287a73)=>{_0x287a73[0x0][_0x4809dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49ed1e++,0x1f8===_0x49ed1e&&(_0x34bbd7(_0x40f53a),_0x2a64cd(_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xc7d9eb[_0x4809dc([0x6f,0x66,0x66])]());},{'priority':_0x4809dc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2a64cd(_0x1aec8e){const _0x3eafb6=_0x526c03();return _0x4befb5[_0x3eafb6]=_0x1aec8e,_0x1aec8e;}function _0x526c03(){const _0x451513=String(window[_0x4809dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4809dc([0x6e,0x6f,0x77])]())[_0x4809dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4809dc([0x2e]),'');let _0x4d4924='';for(let _0x28221a=0x0;_0x28221a<_0x451513[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28221a+=0x2){let _0x47817e=parseInt(_0x451513[_0x4809dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28221a,_0x28221a+0x2));_0x47817e>=_0x1a1db7[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47817e-=_0x1a1db7[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d4924+=_0x1a1db7[_0x47817e];}return _0x4d4924;}function _0x19b427(_0x5c0167){for(const _0x237de0 of _0x5c0167[_0x4809dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x34bbd7(_0x237de0);_0x5b6a30(_0x5c0167,_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4809dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5b6a30(_0x5c0167,_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4809dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4d3ea6;}function _0x34bbd7(_0x1a4b80){function _0x6d9865(){_0x1a4b80[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x1a4b80[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x1a4b80[_0x4809dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1a4b80[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x72,0x65,0x61,0x64,0x79])?_0x6d9865():_0x1a4b80[_0x4809dc([0x6f,0x6e,0x63,0x65])](_0x4809dc([0x72,0x65,0x61,0x64,0x79]),()=>_0x6d9865());}function _0x4d3ea6(){return null;}function _0xb8b5f4(_0xcde083,_0x120e2f){const _0x105d4b=!!(_0xcde083&_0x120e2f[_0x4809dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x129c54=_0x48616c(_0xcde083,_0x120e2f);return _0x105d4b||_0x129c54;}function _0x48616c(_0x2ef2e6,_0x37ec88){const _0x53ead0=(_0x37ec88[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4809dc([0x66,0x67,0x69])]||null;return!!_0x53ead0&&_0x2f63bb[_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa2d018=>_0x53ead0[_0x4809dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2d018[_0x4809dc([0x69,0x64])]))[_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45bb89=>!_0x119809(_0x45bb89))[_0x4809dc([0x73,0x6f,0x6d,0x65])](_0x4eefdb=>!!(_0x2ef2e6&_0x4eefdb[_0x4809dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x119809(_0x111790){const _0x4645ce={[_0x4809dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x5a6070};return!!_0x111790['forbiddenHandler']&&_0x4645ce[_0x111790['forbiddenHandler']]();}function _0x5a6070(){return!window[_0x4809dc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38f1f7(_0x4befb5,_0x4809dc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x204181(_0x24bbaf){if(!_0x38f1f7(_0x4befb5,_0x24bbaf[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x8b4a84=_0x24bbaf[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5d8bf4=_0x8b4a84[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4ce230=_0x8b4a84[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x37d7f6=_0x8b4a84[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38f1f7(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5b6a30(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5d8bf4)return!0x0;if(_0x38f1f7(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5b6a30(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4809dc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4809dc([0x65,0x6e,0x64])&&_0x4ce230)return!0x0;return!(!_0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x5b6a30(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x4809dc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4809dc([0x65,0x6e,0x64])||!_0x37d7f6);}function _0x38f1f7(_0x2c6cdc,_0x17e93e){return _0x2c6cdc[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4809dc([0x68,0x61,0x73])](_0x17e93e);}function _0x5b6a30(_0x219fd7,_0x2a267c){return _0x219fd7[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4809dc([0x67,0x65,0x74])](_0x2a267c);}function _0x3a45cf(_0x1055be){let _0x383959='';for(const _0x40e492 of _0x1055be)_0x383959+=String[_0x4809dc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x40e492);return _0x383959;}function _0xf21e43(_0x380346){const _0x23ea0a=new Uint8Array(_0x380346[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x10ca5b=0x0;_0x10ca5b<_0x380346[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10ca5b++)_0x23ea0a[_0x10ca5b]=_0x380346[_0x4809dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10ca5b);return _0x23ea0a;}_0x501dbb&&_0x548691(_0xd294cc(_0x48ceaf),_0x501dbb);})(_0x65fa68);}(this);}['createRevision'](_0x5fdad4){const _0x22fe4c=this['editor']['plugins']['get']('Users');return new a({'id':_0x5fdad4['id'],'name':_0x5fdad4['name'],'creator':_0x5fdad4['creatorId']?_0x22fe4c['getUser'](_0x5fdad4['creatorId']):null,'diffData':_0x5fdad4['diffData']||_0x5fdad4['data'],'authors':_0x5fdad4['authorsIds']['map'](_0x45d701=>_0x22fe4c['getUser'](_0x45d701)),'createdAt':new Date(_0x5fdad4['createdAt']),'attributes':_0x5fdad4['attributes'],'fromVersion':_0x5fdad4['fromVersion'],'toVersion':_0x5fdad4['toVersion']});}['addRevision'](_0xad0876,_0x30a6de=0x0){this['_revisions']['add'](_0xad0876,_0x30a6de);}['getRevision'](_0x132232){return this['_revisions']['get'](_0x132232);}['getRevisions'](_0xa01c00={'toJSON':!0x1}){const _0x4a9c35=Array['from'](this['_revisions']);return _0x4a9c35['reverse'](),_0xa01c00['toJSON']?_0x4a9c35['map'](_0x37cdd3=>_0x37cdd3['toJSON']()):_0x4a9c35;}['getIndex'](_0x896374){return this['_revisions']['getIndex'](_0x896374);}['getEarlierVisibleRevision'](_0x5bcfa4){const [,_0x212e67]=this['getRevisionsIterator'](_0x5bcfa4,{'direction':'earlier'});return _0x212e67;}['getLaterVisibleRevision'](_0x573d42){const [,_0x11342a]=this['getRevisionsIterator'](_0x573d42,{'direction':'later'});return _0x11342a;}['getRevisionsInDiff'](_0x3b28af){const _0x41cc68=[];for(const _0x53b0b4 of this['getRevisionsIterator'](_0x3b28af['newRevisionId']))if(_0x41cc68['push'](_0x53b0b4),_0x53b0b4['id']===_0x3b28af['oldRevisionId'])break;return _0x41cc68;}*['getRevisionsIterator'](_0x41d541,{direction:_0x19bb70='earlier',filter:_0x432204=_0x14f5de=>!0x0}={}){const _0x54d3b9='earlier'===_0x19bb70?0x1:-0x1;let _0x27fc8d=this['_revisions']['get'](_0x41d541),_0xe62ee5=this['getIndex'](_0x27fc8d);for(yield _0x27fc8d;_0x27fc8d;){if(_0xe62ee5+=_0x54d3b9,_0x27fc8d=this['getRevision'](_0xe62ee5),!_0x27fc8d)return;_0x432204(_0x27fc8d)&&(yield _0x27fc8d);}}constructor(_0x5929ad){super(_0x5929ad),this['_revisions']=new _0x2e3edc();}}function y(_0x29974f,_0x52d997,_0x2c5f15){const t=_0x29974f['t'];switch(_0x52d997){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x2c5f15);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2c5f15);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x42597e,'a':_0x400d97,'e':_0x54a34f,'r':_0xd4e566,'u':_0x1755ed};class l extends _0x580e1f{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4a39ba,A,_0x22ed99];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x2e49a9=this['repository']['getRevision'](0x0),_0x46bd87=_0x2e49a9&&null===_0x2e49a9['creator']?_0x2e49a9:null;if(this['_continueCurrentRevision']=!!_0x46bd87&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x10cc23=this['_source']['getCurrentRevisionId'](),_0x8f772e=this['repository']['getRevision'](_0x10cc23);if(_0x8f772e)this['_startingVersion']=_0x8f772e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x23b0b9=this['_source']['history']['_operations']['find'](_0x71d295=>!_0x71d295['_isInit']),_0x37e92a=_0x23b0b9?_0x23b0b9['baseVersion']:this['_source']['history']['version'];_0x2e49a9?(_0x2e49a9['toVersion']<_0x37e92a&&_0x2e49a9['_update']({'toVersion':_0x37e92a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x46bd87['id'],this['_startingVersion']=_0x46bd87['fromVersion']):(this['_startingVersion']=_0x2e49a9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x37e92a,this['_continueCurrentRevision']=!0x1);}}else _0x46bd87&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x46bd87['toVersion'],this['editor']['model']['document']['history']['version']),_0x46bd87['fromVersion']===_0x46bd87['toVersion']?(0x0!==_0x46bd87['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x46bd87['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x46bd87['id'],this['_startingVersion']=_0x46bd87['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x216ac9=>!_0x216ac9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x13fff5=this['repository']['getRevision'](0x0),_0x572c96=await this['getRevisionDocumentData'](_0x13fff5),_0x23de41=await this['getRevisionRootsAttributes'](_0x13fff5);this['_replaceEditorDataWithRevisionData'](_0x572c96,_0x23de41);}}['setSource'](_0x3a5e52){this['_source']=_0x3a5e52;}async['update'](){const _0x40f23f=await this['_source']['getLatestVersion']();if(_0x40f23f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x407e9d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x40f23f});_0x407e9d['authors']=_0x407e9d['authorsIds']['map'](_0x3fd6b7=>this['editor']['plugins']['get']('Users')['getUser'](_0x3fd6b7)),this['currentRevision']['_update'](_0x407e9d);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x4078f5={},_0x154ab5=null){const _0x1cebb3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x154ab5>this['currentRevision']['toVersion']&&(_0x154ab5=null),null===_0x154ab5&&(_0x154ab5=await this['_source']['getLatestVersion']());const _0x3afd42=this['_getFromVersion'](_0x154ab5),_0x2062d9=this['buildRevisionData']({'from':_0x3afd42,'to':_0x154ab5});if(this['currentRevision']['toVersion']<_0x154ab5){const _0x860e8d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x154ab5,'to':_0x154ab5});_0x860e8d['authors']=[],_0x860e8d['authorsIds']=[],_0x860e8d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x860e8d,!0x0),delete _0x860e8d['authors'],_0x1cebb3['push'](_0x860e8d);}_0x4078f5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4078f5['name']=_0x4078f5['name']||null,_0x4078f5['id']=_0x4078f5['id']||_0x4f3974(),_0x4078f5={..._0x4078f5,..._0x2062d9};const _0x58a5ed=this['addRevisionData'](_0x4078f5);_0x1cebb3['push'](_0x4078f5);const _0x39037b=this['repository']['getIndex'](_0x58a5ed);if(0x0!==_0x39037b){const _0x46dcf1=this['repository']['getRevision'](_0x39037b-0x1);if(_0x46dcf1['fromVersion']!==_0x154ab5){const _0x50a33c=this['_revisionDataBuilder']['getData'](_0x154ab5,_0x46dcf1['toVersion']),_0x3978dc={'id':_0x46dcf1['id'],'diffData':_0x50a33c['diffData'],'authorsIds':_0x50a33c['authorsIds'],'authors':_0x50a33c['authorsIds']['map'](_0x1b2456=>this['editor']['plugins']['get']('Users')['getUser'](_0x1b2456)),'fromVersion':_0x154ab5};_0x46dcf1===this['currentRevision']&&(_0x3978dc['createdAt']=new Date(_0x4078f5['createdAt']['getTime']()+0xa)),_0x46dcf1['_update'](_0x3978dc,!0x0),delete _0x3978dc['authors'],_0x1cebb3['push'](_0x3978dc);}}if(this['adapter']){for(const _0x2c3851 of _0x1cebb3)this['_bufferUpdate'](_0x2c3851['id'],_0x2c3851,!0x0);this['sendBufferedUpdates']();}return _0x58a5ed;}['addRevisionData'](_0x4986a7){const _0x24a002=this['repository']['createRevision'](_0x4986a7);return this['adapter']&&_0x24a002['on']('_update',(_0x4d6a8c,_0xaa0d36,_0x40b19f)=>{_0x40b19f||(this['_bufferUpdate'](_0xaa0d36['id'],_0xaa0d36,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x24a002,this['_findInsertionIndex'](_0x24a002)),_0x24a002;}async['getRevisionDocumentData'](_0x92a02a){await this['_loadRevisionData'](_0x92a02a);const _0x2d6050={};for(const _0x4a822c in _0x92a02a['diffData']){if(_0x92a02a['diffData'][_0x4a822c]['attachChange']&&!_0x92a02a['diffData'][_0x4a822c]['attachChange']['isAttached'])continue;const _0x4539ac=this['_removeRevisionMarkers'](JSON['parse'](_0x92a02a['diffData'][_0x4a822c]['insertions'])),_0x1d2d87=this['editor']['editing']['view']['document'],_0x37281d=new _0x5659e8(_0x1d2d87,_0x4539ac['map'](_0x966cf=>B(_0x966cf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2d6050[_0x4a822c]=this['editor']['data']['processor']['toData'](_0x37281d),this['editor']['data']['processor']['useFillerType']('default');}return _0x2d6050;}async['getRevisionRootsAttributes'](_0x12ddc2){await this['_loadRevisionData'](_0x12ddc2);const _0x3ad045={};for(const _0x4f3200 in _0x12ddc2['diffData'])_0x12ddc2['diffData'][_0x4f3200]['attachChange']&&!_0x12ddc2['diffData'][_0x4f3200]['attachChange']['isAttached']||(_0x3ad045[_0x4f3200]=_0x12ddc2['diffData'][_0x4f3200]['attributesAfter']||{});return _0x3ad045;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x59b851=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x309bc0=0x0;_0x309bc0<_0x59b851['length'];_0x309bc0++){const _0x4dba3f=_0x59b851[_0x309bc0];let _0x48cf1a=!0x1;for(const _0x1f82ad of Object['keys'](_0x4dba3f))void 0x0===_0x4dba3f[_0x1f82ad]?delete _0x4dba3f[_0x1f82ad]:'id'!==_0x1f82ad&&(_0x48cf1a=!0x0);_0x48cf1a||(_0x59b851[_0x309bc0]=null);}if(_0x59b851=_0x59b851['filter'](_0x5dedee=>null!==_0x5dedee),!_0x59b851['length'])return;for(let _0x462c1f=0x0;_0x462c1f<_0x59b851['length'];_0x462c1f++){const _0x1defde=_0x59b851[_0x462c1f];void 0x0!==_0x1defde['fromVersion']&&void 0x0===_0x1defde['toVersion']&&(_0x1defde['toVersion']=this['repository']['getRevision'](_0x1defde['id'])['toVersion']),void 0x0!==_0x1defde['toVersion']&&void 0x0===_0x1defde['fromVersion']&&(_0x1defde['fromVersion']=this['repository']['getRevision'](_0x1defde['id'])['fromVersion']);}const _0x61859d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x59b851,_0x61859d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x8e4dda=>{if(_0x8e4dda){for(const _0x5965d2 of _0x8e4dda)this['setRevisionData']({'id':_0x5965d2['id'],'createdAt':_0x5965d2['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4b1f4e,_0x5660ed){let _0x5cab71=this['editor']['config']['get']('initialData'),_0x2f72c2=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5cab71){_0x5cab71={};for(const _0x33e4c7 of this['editor']['model']['document']['getRootNames']())_0x5cab71[_0x33e4c7]='';}if('string'==typeof _0x5cab71&&(_0x5cab71={'main':_0x5cab71}),void 0x0===_0x2f72c2){_0x2f72c2={};for(const _0x49d408 of this['editor']['model']['document']['getRootNames']())_0x2f72c2[_0x49d408]={};}let _0x2f1bbe=!0x1;const _0xdc26ac=Object['keys'](_0x5cab71),_0x58dcf1=Object['keys'](_0x4b1f4e);for(const _0x1ccba5 of _0xdc26ac){if(_0x5cab71[_0x1ccba5]!==_0x4b1f4e[_0x1ccba5]&&''!==_0x5cab71[_0x1ccba5]['trim']()){_0x2f1bbe=!0x0;break;}if(!_0x10a2a2(_0x2f72c2[_0x1ccba5],_0x5660ed[_0x1ccba5])&&Object['keys'](_0x2f72c2[_0x1ccba5])['length']>0x0){_0x2f1bbe=!0x0;break;}}_0x2f1bbe||(_0x2f1bbe=_0x58dcf1['some'](_0x3f13ce=>!this['editor']['model']['document']['getRoot'](_0x3f13ce))),_0x2f1bbe&&_0x4c1761('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5cab71,'editorRootsAttributes':_0x2f72c2,'revisionData':_0x4b1f4e,'revisionRootsAttributes':_0x5660ed}),this['editor']['config']['set']('initialData',_0x4b1f4e),this['editor']['config']['set']('rootsAttributes',_0x5660ed);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x414f7e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x414f7e['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x53ee11){const _0x134089=this['repository']['getRevisions']();_0x134089['reverse']();let _0x225f30=0x0;for(;_0x225f30<_0x134089['length'];){const _0xee8ecf=_0x134089[_0x225f30];if(_0xee8ecf===this['currentRevision']){_0x225f30++;continue;}if(_0xee8ecf['id']===this['_initialRevisionId'])break;const _0x403b59=_0x53ee11['toVersion']-_0xee8ecf['toVersion']||_0x53ee11['fromVersion']-_0xee8ecf['fromVersion'];if(_0x403b59>0x0)break;if(_0x403b59<0x0)_0x225f30++;else{if(!_0x53ee11['creator']&&_0xee8ecf['creator'])break;if(_0xee8ecf['creator']||!_0x53ee11['creator']){if(_0x53ee11['createdAt']>_0xee8ecf['createdAt'])break;_0x225f30++;}else _0x225f30++;}}return _0x225f30;}['setRevisionData'](_0x412638){const _0x1be585=this['repository']['getRevision'](_0x412638['id']);if(_0x412638['createdAt']&&(_0x412638['createdAt']=new Date(_0x412638['createdAt'])),_0x412638['authorsIds']){const _0x540558=this['editor']['plugins']['get']('Users');_0x412638['authors']=_0x412638['authorsIds']['map'](_0x1ff7fa=>_0x540558['getUser'](_0x1ff7fa));}_0x1be585['_update'](_0x412638,!0x0);}['buildRevisionData']({revision:_0x391726=null,from:_0x2ab804=null,to:_0x4b66c6=null}){_0x2ab804=null!==_0x2ab804?_0x2ab804:_0x391726['fromVersion'],_0x4b66c6=null!==_0x4b66c6?_0x4b66c6:_0x391726['toVersion'];const _0x8f7b2b=this['_revisionDataBuilder']['getData'](_0x2ab804,_0x4b66c6),_0x3da9b7={'diffData':_0x8f7b2b['diffData'],'authorsIds':_0x8f7b2b['authorsIds'],'fromVersion':_0x2ab804,'toVersion':_0x4b66c6};if(!_0x391726||_0x4b66c6!==_0x391726['toVersion']){const _0x3392d0=_0x4b66c6-0x1,_0x56cc5a=this['_source']['history']['getOperation'](_0x3392d0);_0x3da9b7['createdAt']=_0x56cc5a&&_0x56cc5a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2ab804===this['_loadedStateData']['fromVersion']){for(const _0x5f2f5d of this['_loadedStateData']['authors'])_0x3da9b7['authorsIds']['includes'](_0x5f2f5d['id'])||_0x3da9b7['authorsIds']['push'](_0x5f2f5d['id']);}return _0x3da9b7;}['_loadRevisionData'](_0x2b957c){if(!_0x2b957c||_0x2b957c['diffData'])return Promise['resolve']();{const _0x314a79=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x314a79,'revisionId':_0x2b957c['id']})['then'](_0x366fb6=>{_0x2b957c['diffData']=_0x366fb6['diffData'];});}}['_bufferUpdate'](_0x2eac89,_0x4fb456,_0xb2d7ee){if(this['_bufferedUpdates']['has'](_0x2eac89)){const _0x89be00=this['_bufferedUpdates']['get'](_0x2eac89);_0x4fb456=_0xb2d7ee?{..._0x89be00,..._0x4fb456}:{..._0x4fb456,..._0x89be00};}this['_bufferedUpdates']['set'](_0x2eac89,_0x4fb456);}['_getFromVersion'](_0x58524d){const _0x2ca7d4=this['repository']['getRevisions']();_0x2ca7d4['reverse'](),_0x2ca7d4['shift']();const _0x26a3e3=_0x2ca7d4['find'](_0x4c0aea=>_0x4c0aea['toVersion']<=_0x58524d)['toVersion'];return _0x26a3e3<this['_startingVersion']?this['_startingVersion']:_0x26a3e3;}['_createInitialRevision'](_0x290dcf){const _0x311ec4=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x311ec4)this['_initialRevisionId']=_0x311ec4['id'];else{const _0x5b0bd7=!this['editor']['model']['document']['roots']['find'](_0x29f7f0=>this['editor']['model']['hasContent'](_0x29f7f0)),_0x4deba8=this['editor']['plugins']['get']('Users')['me']['id'],_0x3dcee6=y(this['editor']['locale'],_0x5b0bd7?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x290dcf,'to':_0x290dcf,'id':this['_initialRevisionId'],'name':_0x3dcee6,'creatorId':_0x4deba8});}}['_createCurrentRevision'](_0x5b7a03){const _0x4c7a5b=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4c7a5b),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5b7a03,'to':_0x5b7a03,'id':_0x4c7a5b,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ee7e0,from:_0x5b19d4,to:_0x853324,creatorId:_0x51dadc,id:_0x1ea409}){const _0x2ed91a=this['buildRevisionData']({'from':_0x5b19d4,'to':_0x853324});_0x2ed91a['name']=_0x5ee7e0,_0x2ed91a['creatorId']=_0x51dadc,_0x2ed91a['id']=_0x1ea409;const _0x13525a=this['addRevisionData'](_0x2ed91a);return this['adapter']&&this['_bufferUpdate'](_0x2ed91a['id'],_0x2ed91a,!0x0),_0x13525a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4bb642){return(_0x4bb642=_0x4bb642['filter'](_0x496591=>!_0x496591['name']||'revision-start'!==_0x496591['name']&&'revision-end'!==_0x496591['name']))['forEach'](_0x2f70c4=>{'string'!=typeof _0x2f70c4&&(_0x2f70c4['children']=this['_removeRevisionMarkers'](_0x2f70c4['children']),_0x2f70c4['attributes']=_0x2f70c4['attributes']['filter'](_0x192c16=>!_0x192c16[0x0]['startsWith']('data-revision-')));}),_0x4bb642;}constructor(_0xaf5c44){super(_0xaf5c44),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x1facca=_0x4f3974();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1facca},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x441c67,_0x3c2cb6){const _0x411ee6=_0x3c2cb6['editing']['view']['document'];if('string'==typeof _0x441c67)return new _0x1e000c(_0x411ee6,_0x441c67);{const _0x2068dd=_0x441c67['children']['map'](_0x51bb06=>B(_0x51bb06,_0x3c2cb6));return new(T[_0x441c67['type']]||_0x1dbbc1)(_0x411ee6,_0x441c67['name'],_0x441c67['attributes'],_0x2068dd);}}class J{['init'](_0x29dcba){this['source']=_0x29dcba;const _0x161a55=new Map(),_0x318698=new Map(),_0x37fca9=this['editor']['model']['document']['roots']['map'](_0x5c9309=>_0x5c9309['rootName']);for(const _0x40750b of _0x37fca9){const _0x1c1efa=this['editor']['model']['document']['getRoot'](_0x40750b),_0x2493d8=q(_0x1c1efa);_0x161a55['set'](_0x40750b,_0x2493d8),_0x318698['set'](_0x40750b,Object['fromEntries'](_0x1c1efa['getAttributes']()));}const _0x3b219b=Array['from'](this['editor']['model']['markers'])['map'](_0x292ee4=>[_0x292ee4['name'],_0x292ee4['getRange']()]),_0x40cf75=this['source']['version'];this['_saveMetaData'](_0x40cf75,_0x161a55,_0x3b219b,_0x318698),this['_startingRevisionId']=this['_revisionId'];const _0x32e8ec=new Map(),_0x123468=new Map();for(const _0x4b36c2 of _0x37fca9){const _0x58bb1a=G(_0x4b36c2);_0x32e8ec['set'](_0x4b36c2,_0x58bb1a),_0x123468['set'](_0x4b36c2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x32e8ec,[],_0x123468);}['getData'](_0x178418,_0x34ca35){if(this['_lastFrom']===_0x178418&&this['_lastTo']<=_0x34ca35)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x34ca35,!0x0);else{if(!this['_savedMetaData']['has'](_0x178418)){const _0x176f20=this['_getPreviousFrom'](_0x178418);this['_calculateMetaData'](_0x176f20,_0x178418,!0x1);}this['_calculateMetaData'](_0x178418,_0x34ca35,!0x0);}return this['_lastFrom']=_0x178418,this['_lastTo']=_0x34ca35,this['_getState']();}['loadState'](_0x1de6a2){this['_reset'](),this['_lastFrom']=_0x1de6a2['fromVersion'],this['_lastTo']=_0x1de6a2['toVersion'];for(const _0x5f5899 in _0x1de6a2['diffData']){const _0x52c814=_0x1de6a2['diffData'][_0x5f5899]['attachChange'],_0x3259bd=_0x5e4b81(_0x1de6a2['diffData'][_0x5f5899]['attributesBefore'])||{},_0xce0cb2=this['_makeModelFromViewString'](_0x1de6a2['diffData'][_0x5f5899]['deletions']);_0xce0cb2['rootName']=_0x5f5899,_0xce0cb2['_isAttached']=!_0x52c814||!_0x52c814['isAttached'],_0xce0cb2['isAttached']=()=>_0xce0cb2['_isAttached'],this['_baseRoots']['set'](_0x5f5899,_0xce0cb2),this['_baseRootsAttributes']['set'](_0x5f5899,_0x3259bd),_0x52c814&&this['_touchedRoots']['set'](_0x5f5899,_0x52c814);const _0x1018e0=this['_makeIdsRoot'](_0xce0cb2);this['_baseIdsRoots']['set'](_0x5f5899,_0x1018e0);for(const [_0x408970,_0x36904a]of _0xce0cb2['markers']){if(!_0x408970['startsWith']('revision:'))continue;const _0xbd048=_0x408970['split'](':')[0x2];for(const _0x2c31bb of _0x36904a['getWalker']({'singleCharacters':!0x0})){const _0x5a78d7=this['_getVidAttributeName'](_0x2c31bb),_0x41ed95='elementEnd'==_0x2c31bb['type']?_0x2c31bb['previousPosition']['path']['slice'](0x0,-0x1):_0x2c31bb['previousPosition']['path'],_0x23ed17=_0x1018e0['getNodeByPath'](_0x41ed95)['getAttribute'](_0x5a78d7);this['_touched']['set'](_0x23ed17,{'userId':_0xbd048});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1115f5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x22ee25=>!this['_touched']['has'](_0x22ee25));let _0x5f4fbb=0x0;const _0x31bd6d=new Map();for(const _0x18d62b in _0x1de6a2['diffData']){const _0x236565=_0x1de6a2['diffData'][_0x18d62b]['attachChange'],_0x362a84=_0x5e4b81(_0x1de6a2['diffData'][_0x18d62b]['attributesAfter'])||{},_0x4f5a22=this['_makeModelFromViewString'](_0x1de6a2['diffData'][_0x18d62b]['insertions']);_0x4f5a22['rootName']=_0x18d62b,_0x4f5a22['_isAttached']=!_0x236565||_0x236565['isAttached'],_0x4f5a22['isAttached']=()=>_0x4f5a22['_isAttached'],this['_diffRoots']['set'](_0x18d62b,_0x4f5a22),this['_diffRootsAttributes']['set'](_0x18d62b,_0x362a84);const _0x1c97ee=this['_makeIdsRoot'](_0x4f5a22,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x18d62b,_0x1c97ee),_0x31bd6d['set'](_0x18d62b,_0x4f5a22['isAttached']()?_0x362a84:{});for(const [_0x188139,_0x269f47]of _0x4f5a22['markers']){if(!_0x188139['startsWith']('revision:'))continue;const _0x246aef=_0x188139['split'](':')[0x2];for(const _0x4a01e4 of _0x269f47['getWalker']({'singleCharacters':!0x0})){const _0x280289=this['_getVidAttributeName'](_0x4a01e4),_0x16dff5=this['_revisionId']++,_0x20c6a0='elementEnd'==_0x4a01e4['type']?_0x4a01e4['previousPosition']['path']['slice'](0x0,-0x1):_0x4a01e4['previousPosition']['path'];_0x1c97ee['getNodeByPath'](_0x20c6a0)['_setAttribute'](_0x280289,_0x16dff5),this['_touched']['set'](_0x16dff5,{'userId':_0x246aef});}}for(const _0x51d035 of this['editor']['model']['createRangeIn'](_0x4f5a22)['getWalker']({'singleCharacters':!0x0})){const _0x25e4d6=this['_getVidAttributeName'](_0x51d035),_0x56f4ce='elementEnd'==_0x51d035['type']?_0x51d035['previousPosition']['path']['slice'](0x0,-0x1):_0x51d035['previousPosition']['path'],_0x5a2883=_0x1c97ee['getNodeByPath'](_0x56f4ce);_0x5a2883['getAttribute'](_0x25e4d6)>0x0||_0x5a2883['_setAttribute'](_0x25e4d6,_0x1115f5[_0x5f4fbb++]);}for(const [_0x1956ef,_0xb21a96]of _0x4f5a22['markers'])_0x1956ef['startsWith']('revision:')||this['_markers']['set'](_0x1956ef,_0xb21a96);}const _0x239dd7=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x239dd7),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x239dd7,0x1));const _0x18fe46=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x18fe46),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x18fe46,0x1));const _0x5c76ce=Array['from'](this['_diffRoots'])['map'](([_0x2ddfb9,_0x19c38b])=>[_0x2ddfb9,q(_0x19c38b)]);this['_saveMetaData'](this['_lastTo'],_0x5c76ce,this['_markers'],_0x31bd6d);}['_makeModelFromViewString'](_0x1e7401){const _0x16cf05=JSON['parse'](_0x1e7401),_0x1e555f=this['editor']['editing']['view']['document'],_0x545e51=new _0x5659e8(_0x1e555f,_0x16cf05['map'](_0x2e6009=>B(_0x2e6009,this['editor'])));return this['editor']['data']['toModel'](_0x545e51);}['_saveMetaData'](_0x546284,_0x43cb2b,_0x387869,_0x57f5c8){const _0x45775f=new Map(_0x43cb2b),_0x34fd92=new Map(_0x5e4b81(_0x57f5c8)),_0x3e9c84=new Map();for(const [_0xa6974a,_0x330864]of _0x387869)_0x3e9c84['set'](_0xa6974a,{'start':_0x330864['start']['clone'](),'end':_0x330864['end']['clone'](),'rootName':_0x330864['root']['rootName']});this['_savedMetaData']['set'](_0x546284,{'roots':_0x45775f,'markers':_0x3e9c84,'rootsAttributes':_0x34fd92});}['_removeMetaData'](_0x59bc76){this['_savedMetaData']['delete'](_0x59bc76);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x52ab9e,_0x40668c=null){let _0x4bcdf3=null;_0x52ab9e['is']('documentFragment')||(_0x4bcdf3=new ft(_0x52ab9e['name'],{'vid_start':null===_0x40668c?this['_revisionId']++:_0x40668c++}));const _0x295241=[];for(const _0x201673 of _0x52ab9e['getChildren']())if(_0x201673['is']('element')){_0x295241['push'](this['_makeIdsRoot'](_0x201673,_0x40668c));const _0x8d9536=_0x295241[_0x295241['length']-0x1];null!==_0x40668c&&(_0x40668c=_0x8d9536['is']('element','$text')?_0x8d9536['getAttribute']('vid')+0x1:_0x8d9536['getAttribute']('vid_end')+0x1);}else{for(let _0x2b1ddc=0x0;_0x2b1ddc<_0x201673['offsetSize'];_0x2b1ddc++)_0x295241['push'](new ft('$text',{'vid':null===_0x40668c?this['_revisionId']++:_0x40668c++}));}if(_0x52ab9e['is']('documentFragment')){const _0x4e0ba0=G(_0x52ab9e['rootName']);return _0x4e0ba0['_insertChild'](0x0,_0x295241),_0x4e0ba0;}return _0x4bcdf3['_setAttribute']('vid_end',null===_0x40668c?this['_revisionId']++:_0x40668c++),_0x4bcdf3['_insertChild'](0x0,_0x295241),_0x4bcdf3;}['_calculateMetaData'](_0x4322db,_0x53c443,_0x8b68){this['_reset']();const {roots:_0x4a0d7f,markers:_0x2701b7,rootsAttributes:_0x2ce6b9}=this['_savedMetaData']['get'](_0x4322db);this['_baseRoots']=new Map(_0x4a0d7f),this['_baseRootsAttributes']=new Map(_0x5e4b81(_0x2ce6b9));for(const [_0x773a78,_0x577cb8]of this['_baseRoots'])if('$graveyard'!==_0x773a78&&(this['_diffRoots']['set'](_0x773a78,q(_0x577cb8)),this['_diffRootsAttributes']=new Map(_0x5e4b81(_0x2ce6b9)),_0x8b68)){const _0xb0abc1=this['_revisionId'];this['_idsRoots']['set'](_0x773a78,this['_makeIdsRoot'](_0x577cb8)),this['_baseIdsRoots']['set'](_0x773a78,this['_makeIdsRoot'](_0x577cb8,_0xb0abc1));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x8b68&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x8fb568,_0x176a7c]of _0x2701b7){const _0x383f71=this['_baseRoots']['get'](_0x176a7c['rootName']),_0x326b10=this['_diffRoots']['get'](_0x176a7c['rootName']),_0x4e23ee=new gt(this['_fixPosition'](_0x176a7c['start'],_0x383f71),this['_fixPosition'](_0x176a7c['end'],_0x383f71)),_0x1ebde0=this['_fixRange'](_0x4e23ee,_0x326b10);_0x383f71['markers']['set'](_0x8fb568,_0x4e23ee),this['_markers']['set'](_0x8fb568,_0x1ebde0);}this['_applyOperations'](_0x4322db,_0x53c443,_0x8b68);}['_applyOperations'](_0x10fb39,_0x4bd999,_0xbbffb0){for(const _0x21059f of this['source']['getOperations'](_0x10fb39,_0x4bd999))this['_handleOperation'](_0x21059f,_0xbbffb0);for(const _0xba1484 of this['_diffRoots']['values']())_0xba1484['markers']['clear']();for(const [_0x2030c6,_0x3e62a3]of this['_markers']){this['_diffRoots']['get'](_0x3e62a3['root']['rootName'])['markers']['set'](_0x2030c6,_0x3e62a3['clone']());}const _0x565d33=new Map(),_0x4fee11=new Map();for(const [_0x361805,_0x17463b]of this['_diffRoots'])_0x565d33['set'](_0x361805,q(_0x17463b)),_0x4fee11['set'](_0x361805,this['_diffRootsAttributes']['get'](_0x361805));this['_saveMetaData'](_0x4bd999,_0x565d33,this['_markers'],_0x4fee11);}['_getPreviousFrom'](_0x323c5e){const _0x441cf2=Array['from'](this['_savedMetaData']['keys']());_0x441cf2['sort']((_0x17257a,_0x3426cc)=>_0x17257a-_0x3426cc),_0x441cf2['reverse']();for(const _0x5c6f0f of _0x441cf2)if(_0x5c6f0f<_0x323c5e)return _0x5c6f0f;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2b439e,_0x5d12da){const _0x42e6f7=Array['from'](_0x5d12da['markers'])['map'](([_0x5f50f7,_0x459114])=>[_0x5f50f7,this['_fixRange'](_0x459114,_0x2b439e)]);_0x2b439e['markers']=new Map(_0x42e6f7);}['_transformMarkers'](_0x375f1b){for(const _0x193550 of this['_markers']['values']()){const _0x32ba61=_0x193550['getTransformedByOperation'](_0x375f1b),_0x2ab1c4=gt['_createFromRanges'](_0x32ba61);_0x193550['start']=_0x2ab1c4['start'],_0x193550['end']=_0x2ab1c4['end'];}}['_handleOperation'](_0x3e84d6,_0x3ceab7){if('addRoot'==_0x3e84d6['type']||'detachRoot'==_0x3e84d6['type'])return void this['_handleRootOperation'](_0x3e84d6,_0x3ceab7);if('insert'==_0x3e84d6['type']){const _0x5432f9=_0x3e84d6['position']['root']['rootName'];this['_diffRoots']['has'](_0x5432f9)||(this['_diffRoots']['set'](_0x5432f9,G(_0x5432f9,!0x0)),this['_diffRootsAttributes']['set'](_0x5432f9,{}),_0x3ceab7&&this['_idsRoots']['set'](_0x5432f9,G(_0x5432f9,!0x0)));}else{if('addRootAttribute'==_0x3e84d6['type']||'removeRootAttribute'==_0x3e84d6['type']||'changeRootAttribute'==_0x3e84d6['type'])return void this['_handleRootAttributeOperation'](_0x3e84d6);}const _0x2c7cf5=this['_cloneOperation'](_0x3e84d6,this['_diffRoots']);if('marker'!==_0x3e84d6['type']&&(_0x2c7cf5['_execute'](),this['_transformMarkers'](_0x2c7cf5)),_0x3ceab7)switch(_0x2c7cf5['type']){case'insert':this['_handleInsertOperation'](_0x3e84d6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3e84d6);break;case'merge':this['_handleMergeOperation'](_0x3e84d6);break;case'split':this['_handleSplitOperation'](_0x3e84d6);break;case'marker':this['_handleMarkerOperation'](_0x3e84d6);}}['_cloneOperation'](_0x285bc0,_0x540a3e){const _0x4b06cf=_0x285bc0['clone']();return _0x4b06cf['_authorId']=_0x285bc0['_authorId'],this['_fixOperation'](_0x4b06cf,_0x540a3e),_0x4b06cf;}['_getBaseVids'](_0x5a5ab9){return _0x5a5ab9['map'](_0x5e5783=>{const _0x1c6e9e=this['_getVidAttributeName'](_0x5e5783);return Number(_0x5e5783['item']['getAttribute'](_0x1c6e9e));});}['_generateTape'](_0xa34b43,_0x4394fc){if(_0xa34b43['is']('element','$text'))_0x4394fc['push']({'item':_0xa34b43,'type':'text'});else{_0xa34b43['is']('element')&&_0x4394fc['push']({'item':_0xa34b43,'type':'elementStart'});for(const _0x424bc3 of _0xa34b43['getChildren']())this['_generateTape'](_0x424bc3,_0x4394fc);_0xa34b43['is']('element')&&_0x4394fc['push']({'item':_0xa34b43,'type':'elementEnd'});}return _0x4394fc;}['_getState'](){const _0x2b6634=new Map(this['_touched']),_0x2b7f37=new Map(_0x2b6634),_0x4b8cc0=new Map(),_0x52c3ea={'insertions':{},'deletions':{}},_0x1d2ea2={'insertions':{},'deletions':{}},_0xc812a2=new Map(),_0x330f7f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x330f7f['delete']('$graveyard');for(const _0x356876 of _0x330f7f){const _0x5f03a7=this['_diffRoots']['get'](_0x356876)||G(_0x356876,!0x1),_0x243411=this['_baseRoots']['get'](_0x356876)||G(_0x356876,!0x1);_0x5f03a7['isAttached']()||_0x243411['isAttached']()?(_0x52c3ea['insertions'][_0x356876]=q(_0x5f03a7),_0x52c3ea['deletions'][_0x356876]=q(_0x243411),this['_copyMarkers'](_0x52c3ea['deletions'][_0x356876],_0x243411),this['_copyMarkers'](_0x52c3ea['insertions'][_0x356876],_0x5f03a7),_0x1d2ea2['insertions'][_0x356876]=this['_generateTape'](this['_idsRoots']['get'](_0x356876),[]),_0x1d2ea2['deletions'][_0x356876]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x356876)||G(_0x356876,!0x1),[])):_0x330f7f['delete'](_0x356876);}for(const _0x3df4e0 of _0x330f7f){const _0x47fe21=_0x1d2ea2['insertions'][_0x3df4e0];for(const _0x4fb301 of _0x47fe21){const _0x249727=this['_getVidAttributeName'](_0x4fb301),_0x22a23c=_0x4fb301['item']['getAttribute'](_0x249727);_0x2b7f37['delete'](_0x22a23c),_0x22a23c>=this['_startingRevisionId']&&_0x4b8cc0['set'](_0x22a23c,_0x2b6634['get'](_0x22a23c));}}for(const _0x405fae of _0x330f7f){const _0x44093c=_0x1d2ea2['insertions'][_0x405fae],_0x3025b3=this['_getBaseVids'](_0x1d2ea2['deletions'][_0x405fae]);let _0x39146d=0x0;for(const _0x3f3c03 of _0x44093c){const _0x1c0f4e=this['_getVidAttributeName'](_0x3f3c03),_0x5c8847=_0x3f3c03['item']['getAttribute'](_0x1c0f4e);if(!_0x4b8cc0['has'](_0x5c8847)&&!_0xc812a2['has'](_0x5c8847)){if(_0x2b7f37['has'](_0x5c8847))_0x39146d++;else{if(_0x5c8847!=_0x3025b3[_0x39146d]){const _0xb0a50c=_0x2b6634['get'](_0x5c8847)||_0x2b6634['get'](_0x3025b3[_0x39146d]);for(;_0x5c8847!=_0x3025b3[_0x39146d];)_0x2b7f37['has'](_0x3025b3[_0x39146d])||(_0xc812a2['set'](_0x3025b3[_0x39146d],_0xb0a50c),_0x2b6634['set'](_0x3025b3[_0x39146d],_0xb0a50c)),_0x39146d++;}_0x39146d++;}}}}for(const _0x31dd2e of _0x330f7f){const _0x4ac2a2=_0x1d2ea2['insertions'][_0x31dd2e];for(const _0x5bca28 of _0x4ac2a2){const _0x1e569d=this['_getVidAttributeName'](_0x5bca28),_0x5065fb=_0x5bca28['item']['getAttribute'](_0x1e569d);if(_0xc812a2['has'](_0x5065fb)){const _0x44db03=_0xc812a2['get'](_0x5065fb);_0x2b7f37['has'](_0x5065fb)||_0x2b7f37['set'](_0x5065fb,{..._0x44db03}),_0x4b8cc0['set'](_0x5065fb,{..._0x44db03});}}}for(const _0x486007 of _0x2b7f37['keys']())_0x486007>=this['_startingRevisionId']&&_0x2b7f37['delete'](_0x486007);const _0x30cd9f=new Map();for(const _0x37b301 of _0x330f7f){let _0x2a8777=_0x1d2ea2['insertions'][_0x37b301];for(const _0xd8317b of _0x2a8777)if(_0xd8317b['item']['is']('element','tableCell')){const _0x2bd189=this['_getVidAttributeName'](_0xd8317b),_0x1a71a9=_0xd8317b['item']['getAttribute'](_0x2bd189);if(_0x4b8cc0['has'](_0x1a71a9)){const _0x41931f=_0xd8317b['item']['parent']['parent']['getAttribute']('vid_start'),_0xcf05c0=_0x30cd9f['get'](_0x41931f)||new Set();_0xcf05c0['add'](_0x4b8cc0['get'](_0x1a71a9)['userId']),_0x30cd9f['set'](_0x41931f,_0xcf05c0);}}_0x2a8777=_0x1d2ea2['deletions'][_0x37b301];for(const _0x3903c9 of _0x2a8777)if(_0x3903c9['item']['is']('element','tableCell')){const _0xbc7b82=this['_getVidAttributeName'](_0x3903c9),_0x2cf5a1=_0x3903c9['item']['getAttribute'](_0xbc7b82);if(_0x2b7f37['has'](_0x2cf5a1)){const _0x3f1888=_0x3903c9['item']['parent']['parent']['getAttribute']('vid_start'),_0x3f0d80=_0x30cd9f['get'](_0x3f1888)||new Set();_0x3f0d80['add'](_0x2b7f37['get'](_0x2cf5a1)['userId']),_0x30cd9f['set'](_0x3f1888,_0x3f0d80);}}for(const _0x1f6ceb of _0x30cd9f['keys']())(_0x4b8cc0['has'](_0x1f6ceb)||_0x2b7f37['has'](_0x1f6ceb))&&_0x30cd9f['delete'](_0x1f6ceb);}for(const _0x42debb of _0x330f7f){const _0x26a539=_0x1d2ea2['insertions'][_0x42debb];let _0x289f19=null,_0x53aeb2=null;for(const _0x4eacc9 of _0x26a539){const _0xfad6f3=this['_getVidAttributeName'](_0x4eacc9),_0x5e0484=_0x4eacc9['item']['getAttribute'](_0xfad6f3),_0x18584e=_0x30cd9f['get'](_0x5e0484);_0x18584e&&'elementStart'==_0x4eacc9['type']&&(_0x289f19=Array['from'](_0x18584e)[0x0],_0x53aeb2=_0x4eacc9['item']['getAttribute']('vid_end')),_0x289f19&&(_0x2b7f37['set'](_0x5e0484,{'userId':_0x289f19}),_0x4b8cc0['set'](_0x5e0484,{'userId':_0x289f19})),_0x5e0484==_0x53aeb2&&(_0x289f19=null,_0x53aeb2=null);}}const _0x35c105={},_0x13af08=new Set();for(const _0x28f57e of _0x330f7f){const _0x39e406=_0x52c3ea['deletions'][_0x28f57e],_0x4bd88c=_0x52c3ea['insertions'][_0x28f57e];for(const {userId:_0x26f9d8}of this['_touchedMarkers']['values']())null!==_0x26f9d8&&_0x13af08['add'](_0x26f9d8);for(const {userId:_0x1cf37b}of this['_touchedRoots']['values']())null!==_0x1cf37b&&_0x13af08['add'](_0x1cf37b);this['_markChanges'](_0x4bd88c,_0x1d2ea2['insertions'][_0x28f57e],_0x4b8cc0,'insertion',_0x13af08),this['_markChanges'](_0x39e406,_0x1d2ea2['deletions'][_0x28f57e],_0x2b7f37,'deletion',_0x13af08),_0x35c105[_0x28f57e]={'insertions':this['_prepareViewToSave'](_0x4bd88c),'deletions':this['_prepareViewToSave'](_0x39e406),'attachChange':this['_touchedRoots']['get'](_0x28f57e)||null,'attributesBefore':_0x5e4b81(this['_baseRootsAttributes']['get'](_0x28f57e))||{},'attributesAfter':_0x5e4b81(this['_diffRootsAttributes']['get'](_0x28f57e))};}return{'diffData':_0x35c105,'authorsIds':Array['from'](_0x13af08)};}['_processRootBeforeSave'](_0x539365){for(const [,_0x3423bd]of _0x539365['markers']){const _0x19a48a=_0x3423bd['start']['getAncestors']()['filter'](_0x1d7d5b=>'tableCell'==_0x1d7d5b['name']);for(const _0x450a40 of _0x19a48a)0x1==_0x450a40['childCount']&&_0x450a40['getChild'](0x0)['is']('element','paragraph')&&_0x450a40['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5ed539){this['_processRootBeforeSave'](_0x5ed539);const _0x4fb55a=this['editor']['data']['toView'](_0x5ed539,{}),_0xabc031=Array['from'](_0x4fb55a['getChildren']())['map'](_0x45c334=>this['_getViewJson'](_0x45c334));return JSON['stringify'](_0xabc031);}['_getViewJson'](_0xc4543a){if(_0xc4543a['is']('$text'))return _0xc4543a['data'];{const _0x40b334=_0xc4543a;return{'type':Object['keys'](T)['find'](_0x394712=>_0xc4543a instanceof T[_0x394712]),'name':_0x40b334['name'],'attributes':Array['from'](_0x40b334['getAttributes']()),'children':Array['from'](_0x40b334['getChildren']())['map'](_0x112bba=>this['_getViewJson'](_0x112bba))};}}['_markChanges'](_0x4d5c0a,_0x5cdb94,_0x5b8c0c,_0x4fd691,_0x577efc){let _0x571842=null,_0x343547=null,_0x305f8a=0x0;const _0xbbeef8=this['editor']['model'];for(let _0x5eefc5=0x0;_0x5eefc5<_0x5cdb94['length'];_0x5eefc5++){const _0x583d6d=this['_getVidAttributeName'](_0x5cdb94[_0x5eefc5]),_0x5ea498=_0x5cdb94[_0x5eefc5]['item']['getAttribute'](_0x583d6d),_0xc17183=_0x5b8c0c['get'](_0x5ea498),_0x2b2bc4=_0x5eefc5==_0x5cdb94['length']-0x1;(!_0x571842&&_0xc17183&&(_0x571842=_0xc17183,_0x343547=_0x5cdb94[_0x5eefc5]),_0x571842&&(!_0xc17183||_0xc17183['userId']!=_0x571842['userId']))&&(_0x43c75a(_0xc17183,L(_0x343547,_0x4d5c0a,_0xbbeef8),L(_0x5cdb94[_0x5eefc5],_0x4d5c0a,_0xbbeef8)),_0x571842=_0xc17183||null,_0x343547=_0xc17183?_0x5cdb94[_0x5eefc5]:null),_0x571842&&_0x2b2bc4&&_0x43c75a(_0xc17183,L(_0x343547,_0x4d5c0a,_0xbbeef8),W(_0x5cdb94[_0x5eefc5],_0x4d5c0a,_0xbbeef8));}function _0x43c75a(_0x350bff,_0x16ac53,_0x5a8f61){const _0x20ef1a=_0x571842['userId'],_0x2403e5='revision:'+_0x4fd691+':'+_0x20ef1a+':'+_0x305f8a++,_0x43d255=_0xbbeef8['createRange'](_0x16ac53,_0x5a8f61);_0x4d5c0a['markers']['set'](_0x2403e5,_0x43d255),null!==_0x20ef1a&&_0x577efc['add'](_0x20ef1a);}}['_getVidAttributeName'](_0x15d068){switch(_0x15d068['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x30fcbb,_0x28e2bb){_0x30fcbb['baseVersion']=null;for(const _0x1cf9dc in _0x30fcbb){const _0x58cdff=_0x30fcbb[_0x1cf9dc];if(_0x58cdff instanceof wt){const _0xeadb60=_0x28e2bb['get'](_0x58cdff['root']['rootName']);_0x30fcbb[_0x1cf9dc]=this['_fixPosition'](_0x58cdff,_0xeadb60);}if(_0x58cdff instanceof gt){const _0x2f8c95=_0x28e2bb['get'](_0x58cdff['root']['rootName']);_0x30fcbb[_0x1cf9dc]=this['_fixRange'](_0x58cdff,_0x2f8c95);}'root'===_0x1cf9dc&&(_0x30fcbb['root']=_0x28e2bb['get'](_0x30fcbb['root']['rootName']));}}['_fixRange'](_0x1aa2d5,_0x14101a){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1aa2d5['start'],_0x14101a),this['_fixPosition'](_0x1aa2d5['end'],_0x14101a));}['_fixPosition'](_0x353f96,_0x196d42){return this['editor']['model']['createPositionFromPath'](_0x196d42,_0x353f96['path'],_0x353f96['stickiness']);}['_handleInsertOperation'](_0x30170b){const _0x41b98e=this['_idsRoots']['get'](_0x30170b['position']['root']['rootName']),_0x528379=this['_fixPosition'](_0x30170b['position'],_0x41b98e),_0x5455e0=null===_0x30170b['_authorId']?null:_0x30170b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3cccc2=_0x528379['parent'],_0x117757=this['_revisionId'],_0x374eda=[];for(const _0xd83c2c of _0x30170b['nodes'])if(_0xd83c2c['is']('element'))_0x374eda['push'](this['_makeIdsRoot'](_0xd83c2c));else{for(let _0x211309=0x0;_0x211309<_0xd83c2c['offsetSize'];_0x211309++)_0x374eda['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x22cc58=this['_revisionId'];for(let _0x1070b2=_0x117757;_0x1070b2<_0x22cc58;_0x1070b2++)this['_touched']['set'](_0x1070b2,{'userId':_0x5455e0});_0x3cccc2['_insertChild'](_0x528379['offset'],_0x374eda);}['_handleMoveOperation'](_0x47a66c){(_0x47a66c=this['_cloneOperation'](_0x47a66c,this['_idsRoots']))['_execute']();const _0x2f785e=null===_0x47a66c['_authorId']?null:_0x47a66c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x34dbb7=_0x47a66c['getMovedRangeStart'](),_0x3c4458=_0x34dbb7['parent'],_0x13af7b=_0x34dbb7['offset'];!function _0x1f2de4(_0x24a412,_0xa8ed0a,_0x21c725,_0x3da542){for(let _0x28102a=_0x21c725;_0x28102a<_0x3da542;_0x28102a++){const _0x21be56=_0xa8ed0a['getChild'](_0x28102a);_0x21be56['is']('element','$text')?_0x24a412['set'](_0x21be56['getAttribute']('vid'),{'userId':_0x2f785e}):(_0x24a412['set'](_0x21be56['getAttribute']('vid_start'),{'userId':_0x2f785e}),_0x1f2de4(_0x24a412,_0x21be56,0x0,_0x21be56['childCount']),_0x24a412['set'](_0x21be56['getAttribute']('vid_end'),{'userId':_0x2f785e}));}}(this['_touched'],_0x3c4458,_0x13af7b,_0x13af7b+_0x47a66c['howMany']);}['_handleMergeOperation'](_0x277e88){const _0x2c86eb=null===(_0x277e88=this['_cloneOperation'](_0x277e88,this['_idsRoots']))['_authorId']?null:_0x277e88['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x384f87=_0x277e88['targetPosition']['parent'],_0x421b45=_0x277e88['sourcePosition']['parent'],_0x5bac80=_0x384f87['getAttribute']('vid_end'),_0x5b4bea=_0x421b45['getAttribute']('vid_start');_0x384f87['_setAttribute']('vid_end',_0x421b45['getAttribute']('vid_end')),_0x421b45['_setAttribute']('vid_end',_0x5bac80),this['_touched']['set'](_0x5b4bea,{'userId':_0x2c86eb}),this['_touched']['set'](_0x5bac80,{'userId':_0x2c86eb}),_0x277e88['_execute']();}['_handleSplitOperation'](_0x298e64){const _0x317e71=null===(_0x298e64=this['_cloneOperation'](_0x298e64,this['_idsRoots']))['_authorId']?null:_0x298e64['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5be3ff=_0x298e64['graveyardPosition'],_0x44419f=_0x298e64['splitPosition']['parent'];_0x298e64['_execute']();const _0x5cd08f=_0x44419f['getAttribute']('vid_end'),_0x4a03df=_0x298e64['insertionPosition']['nodeAfter'];if(_0x5be3ff){const _0x2abcea=_0x4a03df['getAttribute']('vid_end'),_0x4842af=_0x44419f['getAttribute']('vid_end');_0x44419f['_setAttribute']('vid_end',_0x2abcea),_0x4a03df['_setAttribute']('vid_end',_0x4842af),this['_touched']['set'](_0x44419f['getAttribute']('vid_end'),{'userId':_0x317e71}),this['_touched']['set'](_0x4a03df['getAttribute']('vid_start'),{'userId':_0x317e71});}else{const _0x189047=this['_revisionId']++,_0x516ec6=this['_revisionId']++;_0x44419f['_setAttribute']('vid_end',_0x189047),_0x4a03df['_setAttribute']('vid_start',_0x516ec6),_0x4a03df['_setAttribute']('vid_end',_0x5cd08f),this['_touched']['set'](_0x189047,{'userId':_0x317e71}),this['_touched']['set'](_0x516ec6,{'userId':_0x317e71});}}['_handleMarkerOperation'](_0x1d01b6){if(!_0x1d01b6['affectsData'])return;const _0x1005f6=(_0x1d01b6=this['_cloneOperation'](_0x1d01b6,this['_diffRoots']))['oldRange']?_0x1d01b6['oldRange']['root']:null,_0x24dc00=_0x1d01b6['newRange']?_0x1d01b6['newRange']['root']:null;_0x1005f6&&this['_markers']['delete'](_0x1d01b6['name']),_0x24dc00&&this['_markers']['set'](_0x1d01b6['name'],_0x1d01b6['newRange']['clone']());const _0x4e8c16=null===_0x1d01b6['_authorId']?null:_0x1d01b6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x160f72=_0x1d01b6['name'];if(!this['_touchedMarkers']['has'](_0x160f72))return void this['_touchedMarkers']['set'](_0x160f72,{'range':_0x1d01b6['oldRange'],'userId':_0x4e8c16});const _0x4b282f=this['_touchedMarkers']['get'](_0x160f72),_0x16d596=_0x4b282f['range'],_0x2205f3=_0x1d01b6['newRange'];null==_0x16d596&&null==_0x2205f3||_0x16d596&&_0x2205f3&&_0x16d596['isEqual'](_0x2205f3)?this['_touchedMarkers']['delete'](_0x1d01b6['name']):_0x4b282f['userId']=_0x4e8c16;}['_handleRootOperation'](_0x66c017,_0x3ed42e){this['_diffRoots']['has'](_0x66c017['rootName'])?this['_diffRoots']['get'](_0x66c017['rootName'])['_isAttached']=_0x66c017['isAdd']:(this['_diffRoots']['set'](_0x66c017['rootName'],G(_0x66c017['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x66c017['rootName'],{}),_0x3ed42e&&this['_idsRoots']['set'](_0x66c017['rootName'],G(_0x66c017['rootName'],!0x0)));const _0x4c55ed=null===_0x66c017['_authorId']?null:_0x66c017['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2ccf5a=this['_touchedRoots']['get'](_0x66c017['rootName']);_0x2ccf5a&&_0x2ccf5a['userId']===_0x4c55ed?this['_touchedRoots']['delete'](_0x66c017['rootName']):this['_touchedRoots']['set'](_0x66c017['rootName'],{'userId':_0x4c55ed,'isAttached':_0x66c017['isAdd']});}['_handleRootAttributeOperation'](_0x20feb7){const _0x565fac=this['_diffRootsAttributes']['get'](_0x20feb7['root']['rootName']);null===_0x20feb7['newValue']?delete _0x565fac[_0x20feb7['key']]:_0x565fac[_0x20feb7['key']]=_0x20feb7['newValue'];}constructor(_0x169699){this['editor']=_0x169699,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x11dce8){const _0x1833a1=G(_0x11dce8['rootName'],_0x11dce8['isAttached']());for(const _0x588f99 of _0x11dce8['getChildren']()){const _0x1af804=_0x588f99['_clone'](!0x0);_0x1833a1['_appendChild'](_0x1af804);}return _0x1833a1;}function G(_0x4ed790,_0x488278=!0x0){const _0x3dd63a=new _t();return _0x3dd63a['rootName']=_0x4ed790,_0x3dd63a['_isAttached']=_0x488278,_0x3dd63a['isAttached']=()=>_0x3dd63a['_isAttached'],_0x3dd63a;}function L(_0x3f69b2,_0x22c07e,_0xc86e81){const _0x1519e7='elementEnd'==_0x3f69b2['type']?_0xc86e81['createPositionAt'](_0x3f69b2['item'],'end'):_0xc86e81['createPositionBefore'](_0x3f69b2['item']);return _0xc86e81['createPositionFromPath'](_0x22c07e,_0x1519e7['path'],_0x1519e7['stickiness']);}function W(_0x4d4858,_0x2cc3e5,_0x1450f0){const _0xe37910='elementStart'==_0x4d4858['type']?_0x1450f0['createPositionAt'](_0x4d4858['item'],0x0):_0x1450f0['createPositionAfter'](_0x4d4858['item']);return _0x1450f0['createPositionFromPath'](_0x2cc3e5,_0xe37910['path'],_0xe37910['stickiness']);}class ns extends _0x4bcd56{['render'](){super['render'](),_0x3635ce({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x34ed39=_0x4843b0=>_0x4843b0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x34ed39),this['keystrokes']['set']('arrowleft',_0x34ed39),this['keystrokes']['set']('arrowup',_0x34ed39),this['keystrokes']['set']('arrowdown',_0x34ed39);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x85e0f7){this['revisionNameInputView']['fieldView']['element']['value']=_0x85e0f7['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3154c7){const _0x2c4b6b=new mt(this['locale'],_0x3a13f6),_0x16ffa3=_0x2c4b6b['fieldView'];_0x16ffa3['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x331216=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3154c7&&(_0x331216+='\x20('+y(this['locale'],'optional')+')'),(_0x2c4b6b['label']=_0x331216,_0x16ffa3['on']('input',()=>{this['revisionNameInputValue']=_0x16ffa3['element']['value']['trim']();}),_0x2c4b6b);}constructor(_0x24e082,_0x4cc092){super(_0x24e082),this['focusTracker']=new _0x2253e3(),this['keystrokes']=new _0x5b12dd(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4cc092),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x580e1f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x490a08=this['editor'],_0x43fbbf=_0x490a08['plugins']['get']('RevisionTracker');_0x490a08['ui']['componentFactory']['add']('revisionHistory',_0x1f1027=>{const _0x3b8c60=_0x43d373(_0x1f1027),_0x191359=_0x3b8c60['panelView']['children'],_0x4b7ea4=new te(_0x1f1027),_0x1f9faa=new _0x43c2e5(_0x1f1027),_0x541db8=new _0x99d8d4(_0x1f1027),_0x56fc06=new _0x43c2e5(_0x1f1027),_0x61948e=new _0x99d8d4(_0x1f1027);return _0x3b8c60['bind']('isEnabled')['to'](_0x43fbbf,'isReady',_0x43fbbf,'isEnabled',_0x490a08,'isReadOnly',(_0x46c6cc,_0x396e0c,_0x7434dc)=>_0x46c6cc&&_0x396e0c&&!_0x7434dc),_0x3b8c60['buttonView']['set']({'icon':_0x40f1df['history'],'label':y(_0x1f1027,'Revision\x20history'),'tooltip':!0x0}),_0x541db8['set']({'label':y(_0x1f1027,'Save\x20current\x20revision'),'withText':!0x0}),_0x541db8['bind']('isEnabled')['to'](_0x43fbbf,'isReady',_0x43fbbf,'isEnabled',_0x490a08,'isReadOnly',(_0x12897a,_0x5bcb7f,_0x5887d1)=>_0x12897a&&_0x5bcb7f&&!_0x5887d1),_0x541db8['on']('execute',()=>this['_showDialog']()),_0x61948e['set']({'label':y(_0x1f1027,'Open\x20revision\x20history'),'withText':!0x0}),_0x61948e['bind']('isEnabled')['to'](_0x43fbbf,'isReady',_0x490a08,'isReadOnly',(_0x3c9361,_0x553671)=>_0x3c9361&&!_0x553671),_0x61948e['on']('execute',()=>{_0x490a08['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3b8c60['isOpen']=!0x1,_0x490a08['editing']['view']['focus']();}),_0x1f9faa['children']['add'](_0x541db8),_0x56fc06['children']['add'](_0x61948e),_0x4b7ea4['items']['addMany']([_0x1f9faa,_0x56fc06]),_0x191359['add'](_0x4b7ea4),_0x3b8c60;}),_0x490a08['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x14a9c5=this['editor'],_0x2b96f4=_0x14a9c5['locale'],_0x4279dd=new _0x4fa6ad(_0x2b96f4),_0x14d2a8=new _0x21f133(_0x2b96f4);_0x4279dd['buttonView']['set']({'icon':_0x40f1df['history'],'label':y(_0x2b96f4,'Revision\x20history')});const _0x4eb9de=new _0x1e1e38(_0x2b96f4,_0x4279dd),_0x1c774a=new _0x33c27a(_0x2b96f4);_0x1c774a['set']({'label':y(_0x2b96f4,'Save\x20current\x20revision')}),_0x1c774a['delegate']('execute')['to'](_0x4279dd),_0x1c774a['on']('execute',()=>{this['_showDialog']();}),_0x4eb9de['children']['add'](_0x1c774a),_0x14d2a8['items']['add'](_0x4eb9de);const _0x5e2bf4=new _0x1e1e38(_0x2b96f4,_0x4279dd),_0x48dd8c=new _0x33c27a(_0x2b96f4);return _0x48dd8c['set']({'label':y(_0x2b96f4,'Open\x20revision\x20history')}),_0x48dd8c['delegate']('execute')['to'](_0x4279dd),_0x48dd8c['on']('execute',()=>{_0x14a9c5['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5e2bf4['children']['add'](_0x48dd8c),_0x14d2a8['items']['add'](_0x5e2bf4),_0x4279dd['panelView']['children']['add'](_0x14d2a8),_0x4279dd;}['_showDialog'](){const _0x35e31c=this['editor'],_0xb11d15=_0x35e31c['locale'],t=_0xb11d15['t'],_0x27aeab=_0x35e31c['plugins']['get']('Dialog'),_0x2c875b=_0x35e31c['plugins']['get']('RevisionTracker');function _0x2cc8d5(_0x5e3245){_0x35e31c['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5e3245['revisionName']?_0x5e3245['revisionNameInputView']['errorText']=y(_0xb11d15,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x35e31c['plugins']['get'](l)['saveRevision']({'name':_0x5e3245['revisionName']}),_0x27aeab['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2cc8d5(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x27aeab['show']({'id':'findAndReplace','title':y(_0xb11d15,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x27aeab['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xf58824){_0xf58824['bind']('isEnabled')['to'](_0x2c875b,'isReady',_0x2c875b,'isEnabled',_0x35e31c,'isReadOnly',(_0x353aac,_0x14f719,_0xbbea83)=>_0x353aac&&_0x14f719&&!_0xbbea83);},'onExecute':()=>_0x2cc8d5(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2b0e2c=this['editor'],_0x49da27=_0x2b0e2c['locale'];this['_saveRevisionFormView']=new ns(_0x49da27,_0x2b0e2c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4bcd56{['focus'](){this['element']['focus']();}constructor(_0x486d5b,_0x5c345c){super(_0x486d5b),this['_model']=_0x5c345c,this['changeId']=_0x5c345c['id'];const _0x27a60c=this['bindTemplate'],_0x239331=y(_0x486d5b,_0x5c345c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5c345c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5c345c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x27a60c['to']('type',_0x1a085c=>'ck-revision-change__'+_0x1a085c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x239331}]},{'text':'\x20'+_0x5c345c['author']['name']}]}]});}}class r extends _0x330e54(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x3ac1d1){super(),this['id']=_0x3ac1d1['id']||_0x4f3974(),this['author']=_0x3ac1d1['author'],this['type']=_0x3ac1d1['type'],this['data']=_0x3ac1d1['data']||{},this['rootName']=_0x3ac1d1['rootName'],this['set']('createdAt',_0x3ac1d1['createdAt']);}}class f{['_setChanges'](_0xc6bdf9){for(const _0xd9ebca of _0xc6bdf9)this['changes']['add'](_0xd9ebca);}constructor(_0x3cbee1,_0x5513cf){this['newRevisionId']=_0x3cbee1,this['oldRevisionId']=_0x5513cf,this['changes']=new _0x2e3edc();}}const tt={'c':_0x42597e,'a':_0x400d97,'e':_0x54a34f,'r':_0xd4e566,'u':_0x1755ed};class d extends _0x580e1f{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4a39ba,_0x1f4f7b,A];}['init'](){const _0x5eac38=this['editor'],_0x379ebf=new Rt(_0x5eac38,{'direction':'backward'}),_0x462b63=new Rt(_0x5eac38,{'direction':'forward'});(_0x5eac38['commands']['add']('showPreviousChange',_0x379ebf),_0x5eac38['commands']['add']('showNextChange',_0x462b63),_0x5eac38['commands']['add']('restoreRevision',new bt(_0x5eac38)),this['on']('change:numberOfChanges',()=>{_0x379ebf['refresh'](),_0x462b63['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5eac38['enableReadOnlyMode']('revision-viewer'),_0x5eac38['plugins']['has']('WidgetToolbarRepository'))&&_0x5eac38['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xb39596){await this['loadRevisionData'](_0xb39596);const _0x25f13d={};for(const _0x22d7a4 in _0xb39596['diffData']){if(_0xb39596['diffData'][_0x22d7a4]['attachChange']&&!_0xb39596['diffData'][_0x22d7a4]['attachChange']['isAttached'])continue;const _0xaf00e2=this['_removeRevisionMarkers'](JSON['parse'](_0xb39596['diffData'][_0x22d7a4]['insertions'])),_0x23f5d6=this['editor']['editing']['view']['document'],_0x32b302=new _0x5659e8(_0x23f5d6,_0xaf00e2['map'](_0x1527d6=>this['_getViewObj'](_0x1527d6)));this['editor']['data']['processor']['useFillerType']('marked'),_0x25f13d[_0x22d7a4]=this['editor']['data']['processor']['toData'](_0x32b302),this['editor']['data']['processor']['useFillerType']('default');}return _0x25f13d;}async['getRevisionRootsAttributes'](_0x1f2564){await this['loadRevisionData'](_0x1f2564);const _0x4554a1={};for(const _0x1fcbda in _0x1f2564['diffData'])_0x1f2564['diffData'][_0x1fcbda]['attachChange']&&!_0x1f2564['diffData'][_0x1fcbda]['attachChange']['isAttached']||(_0x4554a1[_0x1fcbda]=_0x1f2564['diffData'][_0x1fcbda]['attributesAfter']||{});return _0x4554a1;}['_removeRevisionMarkers'](_0x22f255){return(_0x22f255=_0x22f255['filter'](_0x3e9322=>!_0x3e9322['name']||'revision-start'!==_0x3e9322['name']&&'revision-end'!==_0x3e9322['name']))['forEach'](_0xb24a1f=>{'string'!=typeof _0xb24a1f&&(_0xb24a1f['children']=this['_removeRevisionMarkers'](_0xb24a1f['children']),_0xb24a1f['attributes']=_0xb24a1f['attributes']['filter'](_0x3cdb08=>!_0x3cdb08[0x0]['startsWith']('data-revision-')));}),_0x22f255;}async['compare'](_0x5df8e3,_0x5687c2,_0x419527=!0x1){if(!this['isEnabled'])return;const _0x1a010a=this['diff'],_0x56a13f=this['repository'],_0x56706b='string'==typeof _0x5df8e3?_0x56a13f['getRevision'](_0x5df8e3):_0x5df8e3,_0x3becc4='string'==typeof _0x5687c2?_0x56a13f['getRevision'](_0x5687c2):_0x5687c2,_0xd07a1c=_0x56706b['id'],_0x13c1d0=_0x3becc4?_0x3becc4['id']:null;if(!_0x419527&&this['diff']&&this['diff']['newRevisionId']===_0xd07a1c&&this['diff']['oldRevisionId']===_0x13c1d0)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xd07a1c,_0x13c1d0);const _0x5ad234=this['_getRevisionsRange'](_0x56706b,_0x3becc4,!0x0)['map'](_0x434a57=>this['loadRevisionData'](_0x434a57));return _0x5ad234['push'](new Promise(_0x37f0ee=>{setTimeout(_0x37f0ee,0x14);})),Promise['all'](_0x5ad234)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x10ea20=this['_getDiff'](_0xd07a1c,_0x13c1d0);for(const _0x50d61a of _0x10ea20['changes'])this['_changeIdToChange']['set'](_0x50d61a['id'],_0x50d61a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x134949=>{for(const _0x25a298 of this['editor']['model']['document']['getRootNames']())_0x134949['detachRoot'](_0x25a298);for(const _0x30fba5 of Object['keys'](_0x10ea20['model'])){const _0x5b43f2=_0x134949['addRoot'](_0x30fba5);for(const _0x4c5a8c of Object['keys'](_0x10ea20['attributes'][_0x30fba5]))_0x134949['setAttribute'](_0x4c5a8c,_0x10ea20['attributes'][_0x30fba5][_0x4c5a8c],_0x5b43f2);_0x134949['insert'](_0x10ea20['model'][_0x30fba5],_0x5b43f2,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x10ea20['changes'])),this['isReady']=!0x0;})['catch'](_0x2faaed=>{console['error'](_0x2faaed),this['_cleanUp'](),_0x1a010a&&(this['diff']=_0x1a010a),this['isReady']=!0x0;});}['addRevisionData'](_0x1976b9,_0x2bd0a0){const _0x1a8b0b=this['repository']['createRevision'](_0x1976b9);return _0x1a8b0b['on']('_update',(_0x4acbbe,_0x6c64b4,_0x499b6a)=>_0x2bd0a0(_0x6c64b4,_0x499b6a,_0x1a8b0b)),this['repository']['addRevision'](_0x1a8b0b),_0x1a8b0b;}['loadRevisionData'](_0x3d9aeb){if(!_0x3d9aeb||_0x3d9aeb['diffData'])return Promise['resolve']();{const _0x5c1cdf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5c1cdf,'revisionId':_0x3d9aeb['id']})['then'](_0x79dedb=>{_0x3d9aeb['_update']({'diffData':_0x79dedb['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3775c4=>{for(const _0x1eca8c of this['editor']['model']['document']['getRootNames']())_0x3775c4['detachRoot'](_0x1eca8c);});}['_sortAndFilterDiffChanges'](_0x30539b){const _0x480397=[],_0x201736=new Map();for(const _0x48ced5 of this['editor']['model']['document']['getRootNames']()){const _0x28f6b5=this['editor']['editing']['view']['getDomRoot'](_0x48ced5);if(!_0x28f6b5)continue;const _0x2fbff9=_0x28f6b5['getClientRects']()['item'](0x0);_0x2fbff9&&(_0x480397['push'](_0x48ced5),_0x201736['set'](_0x48ced5,_0x2fbff9));}return _0x480397['sort']((_0x448350,_0x368894)=>{const _0x4125c0=_0x201736['get'](_0x448350),_0x3cc59b=_0x201736['get'](_0x368894);return _0x4125c0['y']-_0x3cc59b['y']||_0x4125c0['x']-_0x3cc59b['x'];}),(_0x30539b=_0x30539b['filter'](_0x5c60f9=>_0x480397['includes'](_0x5c60f9['rootName'])))['sort']((_0x46dc64,_0x6603aa)=>_0x480397['indexOf'](_0x46dc64['rootName'])-_0x480397['indexOf'](_0x6603aa['rootName'])),_0x30539b;}['_makeTape'](_0x4f2ec4){const _0x327d33=Array['from'](_0x4f2ec4['markers'])['filter'](([_0x3bb464,_0x207849])=>_0x3bb464['startsWith']('revision:')&&!_0x207849['isCollapsed']),_0xc9a418=Array['from'](this['editor']['model']['createRangeIn'](_0x4f2ec4)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x327d33['length'])for(const _0x28024e of _0xc9a418){const [_0x325df6,_0x2aa30d]=_0x327d33[0x0],[,_0x2c51e4,_0x9a61ab]=_0x325df6['split'](':');if(_0x2aa30d['end']['isEqual'](_0x28024e['nextPosition'])&&_0x327d33['shift'](),(_0x28024e['previousPosition']['isEqual'](_0x2aa30d['start'])||_0x28024e['previousPosition']['isAfter'](_0x2aa30d['start']))&&('insertion'==_0x2c51e4?_0x28024e['isAdded']={'userId':_0x9a61ab}:'deletion'==_0x2c51e4&&(_0x28024e['isRemoved']={'userId':_0x9a61ab})),0x0==_0x327d33['length'])break;}return _0xc9a418;}['_refreshStartEndIndex'](_0x1d8e84){const _0x366e07=new Map();for(let _0x1d9647=0x0;_0x1d9647<_0x1d8e84['length'];_0x1d9647++)'text'===_0x1d8e84[_0x1d9647]['type']?(_0x1d8e84[_0x1d9647]['item']['startIndex']=_0x1d9647,_0x1d8e84[_0x1d9647]['item']['endIndex']=_0x1d9647):('elementStart'===_0x1d8e84[_0x1d9647]['type']?_0x1d8e84[_0x1d9647]['item']['startIndex']=_0x1d9647:'elementEnd'===_0x1d8e84[_0x1d9647]['type']&&(_0x1d8e84[_0x1d9647]['item']['endIndex']=_0x1d9647),_0x366e07['set'](_0x1d8e84[_0x1d9647]['id'],_0x1d9647));for(const _0x241e72 of _0x366e07['values']())'elementStart'===_0x1d8e84[_0x241e72]['type']?_0x1d8e84[_0x241e72]['item']['endIndex']=_0x366e07['get'](_0x1d8e84[_0x241e72]['pairId']):'elementEnd'===_0x1d8e84[_0x241e72]['type']&&(_0x1d8e84[_0x241e72]['item']['startIndex']=_0x366e07['get'](_0x1d8e84[_0x241e72]['pairId']));}['_processTape'](_0x1bcf34){for(let _0xc44192=0x0;_0xc44192<_0x1bcf34['length'];_0xc44192++){if('elementStart'===_0x1bcf34[_0xc44192]['type'])_0x1bcf34[_0xc44192]['item']['startIndex']=_0xc44192;else{if('elementEnd'===_0x1bcf34[_0xc44192]['type']){_0x1bcf34[_0xc44192]['item']['endIndex']=_0xc44192;const _0x142106=_0x1bcf34[_0xc44192]['item']['startIndex'];_0x1bcf34[_0x142106]['pairId']=_0x1bcf34[_0xc44192]['id'],_0x1bcf34[_0xc44192]['pairId']=_0x1bcf34[_0x142106]['id'];}else _0x1bcf34[_0xc44192]['item']['startIndex']=_0xc44192,_0x1bcf34[_0xc44192]['item']['endIndex']=_0xc44192,_0x1bcf34[_0xc44192]['pairId']=null;}_0x1bcf34[_0xc44192]['markersStart']||(_0x1bcf34[_0xc44192]['markersStart']=[],_0x1bcf34[_0xc44192]['markersEnd']=[]);}}['_markInsertions'](_0x32996c,_0x3cbfa1){const _0x1f6c6a=_0x32996c['filter'](_0x3ca51b=>!_0x3ca51b['isAdded']);for(let _0x732db1=0x0;_0x732db1<_0x3cbfa1['length'];_0x732db1++)_0x3cbfa1[_0x732db1]['isAdded']&&(_0x1f6c6a[_0x732db1]['isAdded']=_0x3cbfa1[_0x732db1]['isAdded']);}['_makeModelFromViewString'](_0x4e85dc){const _0x15f4c2=JSON['parse'](_0x4e85dc),_0x5c844a=this['editor']['editing']['view']['document'],_0x2b43c5=new _0x5659e8(_0x5c844a,_0x15f4c2['map'](_0x35e883=>this['_getViewObj'](_0x35e883)));return this['editor']['data']['toModel'](_0x2b43c5);}['_getViewObj'](_0x1b4314){const _0x682b64=this['editor']['editing']['view']['document'];if('string'==typeof _0x1b4314)return new _0x1e000c(_0x682b64,_0x1b4314);{const _0x4f7db4=_0x1b4314['children']['map'](_0x36c0d8=>this['_getViewObj'](_0x36c0d8));return new(tt[_0x1b4314['type']]||_0x1dbbc1)(_0x682b64,_0x1b4314['name'],_0x1b4314['attributes'],_0x4f7db4);}}['_getDiff'](_0x15c16c,_0x296b1d=null){const _0xc24e80=this['repository']['getRevision'](_0x15c16c),_0x36bc70=_0x296b1d?this['repository']['getRevision'](_0x296b1d):null,_0x371bb9=this['_getRevisionsRange'](_0xc24e80,_0x36bc70),_0x31a1ce=_0x371bb9[_0x371bb9['length']-0x1],_0x2301a1=new Map(),_0x22269b={'model':{},'attributes':{},'changes':[]},_0x2cbba7=new Set(),_0x2413f3=new Map();for(let _0x1e18c8=_0x371bb9['length']-0x1;_0x1e18c8>=0x0;_0x1e18c8--){const _0x50a581=_0x371bb9[_0x1e18c8];for(const _0x561613 of Object['keys'](_0x50a581['diffData']))if(_0x50a581['diffData'][_0x561613]['attachChange']){const _0x478e61=_0x50a581['diffData'][_0x561613]['attachChange'];_0x478e61['isAttached']?(_0x2cbba7['add'](_0x561613),_0x2413f3['has'](_0x561613)&&_0x2413f3['get'](_0x561613)['userId']==_0x478e61['userId']?_0x2413f3['delete'](_0x561613):_0x2413f3['set'](_0x561613,_0x478e61)):_0x2413f3['has'](_0x561613)?(_0x2cbba7['delete'](_0x561613),_0x2413f3['delete'](_0x561613)):(_0x2cbba7['add'](_0x561613),_0x2413f3['set'](_0x561613,_0x478e61));}else _0x2cbba7['add'](_0x561613);}for(const _0x3b70b1 of _0x2cbba7){const _0x5aacff=_0x2413f3['has'](_0x3b70b1)&&!_0x2413f3['get'](_0x3b70b1)['isAttached'];let _0x8a85e1=_0x5aacff?_0x371bb9['length']-0x1:0x0;const _0x512520=_0x5aacff?-0x1:0x1;for(;_0x371bb9[_0x8a85e1];){const _0x7e923b=_0x371bb9[_0x8a85e1];if(_0x7e923b['diffData'][_0x3b70b1]){const _0x58fa76=_0x5aacff?_0x7e923b['diffData'][_0x3b70b1]['attributesBefore']:_0x7e923b['diffData'][_0x3b70b1]['attributesAfter'];_0x22269b['attributes'][_0x3b70b1]=_0x58fa76?_0x5e4b81(_0x58fa76):{};break;}_0x8a85e1+=_0x512520;}}for(const _0x449864 of _0x371bb9){_0x449864['model']={};for(const _0x1618e4 of _0x449864['authors'])_0x2301a1['set'](_0x1618e4['id'],_0x1618e4);for(const _0x2748ed of _0x2cbba7){const _0x20db61=_0x449864['diffData'][_0x2748ed]?_0x449864['diffData'][_0x2748ed]['insertions']:'[]',_0x19c7fb=_0x449864['diffData'][_0x2748ed]?_0x449864['diffData'][_0x2748ed]['deletions']:'[]';_0x449864['model'][_0x2748ed]={'insertions':this['_makeModelFromViewString'](_0x20db61),'deletions':this['_makeModelFromViewString'](_0x19c7fb)};}}for(const _0x55c98c of _0x2cbba7){let _0x5538c8=null,_0x2049ff=0x0;const _0x426ede=new Map(Array['from'](_0xc24e80['model'][_0x55c98c]['insertions']['markers'])['filter'](([_0x109501])=>!_0x109501['startsWith']('revision:')));let _0x547deb=0x0;for(const _0x366bdf of _0x371bb9){const _0x428df1=this['_makeTape'](_0x366bdf['model'][_0x55c98c]['insertions']);_0x366bdf==_0xc24e80?(_0x5538c8=_0x428df1,_0x2049ff=_0x5538c8['length'],_0x5538c8['forEach'](_0x526bd2=>{_0x526bd2['id']=_0x547deb++;}),this['_processTape'](_0x5538c8)):this['_markInsertions'](_0x5538c8,_0x428df1);const _0x406b67=_0x5538c8['filter'](_0x469596=>!_0x469596['isAdded'])['map'](_0x2fabfa=>_0x2fabfa['id']);let _0x3d991a=0x0;const _0x3deba1=this['_makeTape'](_0x366bdf['model'][_0x55c98c]['deletions']);_0x3deba1['forEach'](_0x172ace=>{_0x172ace['isRemoved']?_0x172ace['id']=_0x2049ff++:_0x172ace['id']=_0x406b67[_0x3d991a++];}),this['_processTape'](_0x3deba1),this['_setDistance'](_0x5538c8,'isAdded'),this['_setDistance'](_0x3deba1,'isRemoved'),_0x366bdf==_0xc24e80&&this['_markMarkers'](_0x5538c8,_0x426ede),_0x5538c8=this['_joinTapes'](_0x5538c8,_0x3deba1),this['_refreshStartEndIndex'](_0x5538c8),this['_setDistance'](_0x5538c8,'isRemoved');}_0x5538c8=_0x5538c8['filter'](_0xdc98c2=>!(_0xdc98c2['isAdded']&&_0xdc98c2['isRemoved']));const _0x797593=new Map(_0x31a1ce['model'][_0x55c98c]['deletions']['markers']),_0x1e33ad=new Set(_0x426ede['keys']());for(const _0x1da725 of _0x797593['keys']())_0x1e33ad['delete'](_0x1da725);this['_markSuggestions'](_0x5538c8,_0x1e33ad),this['_fixObsoleteTags'](_0x5538c8),_0x5538c8=this['_removeMissingPairs'](_0x5538c8),_0x5538c8=this['_markMismatchedRemovedTags'](_0x5538c8),_0x5538c8=this['_removeUnsupportedChanges'](_0x5538c8);const {root:_0x34bb9f,changes:_0x61ea3b}=this['_makeModelFromTape'](_0x5538c8,_0x2301a1,_0x55c98c);_0x22269b['model'][_0x55c98c]=_0x34bb9f;const _0x20e58c=_0x2413f3['get'](_0x55c98c);if(_0x20e58c){const _0x5548ee=_0x2301a1['get'](_0x20e58c['userId']),_0x562fd6=new r({'author':_0x5548ee,'type':_0x20e58c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x55c98c});_0x61ea3b['unshift'](_0x562fd6),_0x22269b['attributes'][_0x55c98c]['revisionHistoryAttachChange']=_0x562fd6['id'];}_0x22269b['changes']=_0x22269b['changes']['concat'](_0x61ea3b);}return _0x22269b;}['_markMarkers'](_0x2a1b19,_0x2a3472){for(let _0x451899=0x0;_0x451899<_0x2a1b19['length'];_0x451899++)for(const [_0x17e5b2,_0x50f6b8]of _0x2a3472)_0x50f6b8['start']['isEqual'](_0x2a1b19[_0x451899]['previousPosition'])&&_0x2a1b19[_0x451899]['markersStart']['push'](_0x17e5b2),_0x50f6b8['end']['isEqual'](_0x2a1b19[_0x451899]['nextPosition'])&&_0x2a1b19[_0x451899]['markersEnd']['push'](_0x17e5b2);}['_joinTapes'](_0x41f3d5,_0x357bc1){let _0x55f131=[],_0x578dfd=0x0,_0x197f57=0x0;for(;_0x578dfd<_0x41f3d5['length']||_0x197f57<_0x357bc1['length'];){const _0x4f5304=_0x41f3d5[_0x578dfd]||{},_0x14bc31=_0x357bc1[_0x197f57]||{};if(_0x4f5304['id']==_0x14bc31['id'])_0x578dfd++,_0x197f57++,_0x55f131['push'](_0x4f5304);else{if(_0x14bc31['isRemoved']&&_0x4f5304['isAdded']){const {commonTape:_0x36e26e,iEnd:_0x5565f2,jEnd:_0x381392}=this['_threeWayMerge'](_0x41f3d5,_0x578dfd,_0x357bc1,_0x197f57);_0x55f131=_0x55f131['concat'](_0x36e26e),_0x578dfd=_0x5565f2,_0x197f57=_0x381392;}else _0x14bc31['isRemoved']?(_0x197f57++,_0x55f131['push'](_0x14bc31)):(_0x578dfd++,_0x55f131['push'](_0x4f5304));}}return _0x55f131;}['_markSuggestions'](_0x580558,_0x4883f0){const _0x2d6e67=[];for(let _0x469de2=0x0;_0x469de2<_0x580558['length'];_0x469de2++){for(let _0x426d88=0x0;_0x426d88<_0x580558[_0x469de2]['markersStart']['length'];_0x426d88++){const _0x2009f0=_0x580558[_0x469de2]['markersStart'][_0x426d88];if(!_0x4883f0['has'](_0x2009f0))continue;const {group:_0x2cc1c2,type:_0x13c918,authorId:_0x5e8af7}=_0x2aec0f(_0x2009f0);'revision-suggestion'!=_0x2cc1c2||'insertion'!=_0x13c918&&'deletion'!=_0x13c918||(_0x2d6e67['unshift']({'type':_0x13c918,'name':_0x2009f0,'userId':_0x5e8af7}),_0x580558[_0x469de2]['markersStart']['splice'](_0x426d88,0x1),_0x426d88--);}_0x3dfd59(_0x580558[_0x469de2]);for(let _0x3c2b83=0x0;_0x3c2b83<_0x580558[_0x469de2]['markersEnd']['length'];_0x3c2b83++){const _0x595db1=_0x580558[_0x469de2]['markersEnd'][_0x3c2b83];if(!_0x4883f0['has'](_0x595db1))continue;const {group:_0x1b0424,type:_0x47c81b}=_0x2aec0f(_0x595db1);if('revision-suggestion'!=_0x1b0424||'insertion'!=_0x47c81b&&'deletion'!=_0x47c81b)continue;_0x580558[_0x469de2]['markersEnd']['splice'](_0x3c2b83,0x1),_0x3c2b83--;const _0x9cd241=_0x2d6e67['findIndex'](_0x4bbb0e=>_0x4bbb0e['name']==_0x595db1);_0x9cd241>-0x1&&_0x2d6e67['splice'](_0x9cd241,0x1);}}function _0x2aec0f(_0x3f324f){const _0x26550a=_0x3f324f['split'](':');return{'group':_0x26550a[0x0],'type':_0x26550a[0x1],'subType':_0x26550a['length']>=0x5?_0x26550a[0x2]:null,'id':_0x26550a['length']<0x5?_0x26550a[0x2]:_0x26550a[0x3],'authorId':_0x26550a['length']<0x5?_0x26550a[0x3]:_0x26550a[0x4],'markerCount':0x6==_0x26550a['length']?_0x26550a[0x5]:null};}function _0x3dfd59(_0x17dce2){for(let _0x2aa4d1=0x0;_0x2aa4d1<_0x2d6e67['length'];_0x2aa4d1++){if(_0x17dce2['isAdded']&&'insertion'==_0x2d6e67[_0x2aa4d1]['type'])return _0x17dce2['isAddSuggestion']=_0x2d6e67[_0x2aa4d1],void delete _0x17dce2['isAdded'];if(!_0x17dce2['isAdded']&&!_0x17dce2['isRemoved']&&'deletion'==_0x2d6e67[_0x2aa4d1]['type'])return void(_0x17dce2['isRemoveSuggestion']=_0x2d6e67[_0x2aa4d1]);}}}['_setDistance'](_0xeff394,_0x297373){let _0x2b9d19=0x0,_0x3ededd=!0x1;const _0x559507=new Map();for(const _0x4bae3f of _0xeff394)_0x4bae3f[_0x297373]?_0x3ededd&&(_0x2b9d19++,_0x3ededd=!0x1):(_0x2b9d19++,_0x3ededd=!0x0),_0x559507['set'](_0x4bae3f['id'],_0x2b9d19);for(let _0x4b2223=0x0;_0x4b2223<_0xeff394['length'];_0x4b2223++){if('isRemoved'==_0x297373&&_0xeff394[_0x4b2223]['isAdded']||'isAdded'==_0x297373&&_0xeff394[_0x4b2223]['isRemoved'])continue;if('text'==_0xeff394[_0x4b2223]['type']){_0xeff394[_0x4b2223]['distance']=0x0;continue;}const _0x34344a=_0x559507['get'](_0xeff394[_0x4b2223]['pairId']),_0x245c7c=_0x559507['get'](_0xeff394[_0x4b2223]['id']);_0xeff394[_0x4b2223]['distance']=_0x34344a-_0x245c7c;}}['_getRevisionsRange'](_0x33ed1f,_0x10025a,_0x2fceba=!0x1){const _0x2f476f=[];let _0x494156=this['repository']['getIndex'](_0x33ed1f),_0x1cd976=this['repository']['getIndex'](_0x10025a);for(-0x1==_0x1cd976&&(_0x1cd976=this['repository']['_revisions']['length'],_0x2fceba=!0x1);_0x494156<_0x1cd976;)_0x2f476f['push'](this['repository']['getRevision'](_0x494156)),_0x494156++;return _0x2fceba&&_0x2f476f['push'](this['repository']['getRevision'](_0x494156)),_0x2f476f;}['_threeWayMerge'](_0x51cef4,_0x2b740d,_0x134f8f,_0x5e9340){const _0x462d61=this['editor']['model']['schema'];let _0x21b0db=_0x2b740d;for(;_0x51cef4[_0x21b0db]&&_0x51cef4[_0x21b0db]['isAdded'];)_0x21b0db++;let _0xb77a43=_0x5e9340;for(;_0x134f8f[_0xb77a43]&&_0x134f8f[_0xb77a43]['isRemoved'];)_0xb77a43++;_0x36e5d4(_0x51cef4,_0x2b740d,_0x21b0db),_0x36e5d4(_0x134f8f,_0x5e9340,_0xb77a43);const _0x7d4fe4=_0x134f8f['slice'](_0x5e9340,_0xb77a43)['concat'](_0x51cef4['slice'](_0x2b740d,_0x21b0db));return _0x7d4fe4['sort']((_0x10e16,_0x24e389)=>_0x10e16['side']!=_0x24e389['side']?_0x10e16['side']-_0x24e389['side']:_0x10e16['level']!=_0x24e389['level']?_0x10e16['level']-_0x24e389['level']:_0x10e16['distance']!=_0x24e389['distance']?_0x24e389['distance']-_0x10e16['distance']:!!_0x10e16['isAdded']!=!!_0x24e389['isAdded']?-0x1==_0x10e16['side']||0x0==_0x10e16['side']?_0x10e16['isAdded']?-0x1:0x1:_0x10e16['isAdded']?0x1:-0x1:_0x10e16['index']-_0x24e389['index']),{'commonTape':_0x7d4fe4,'iEnd':_0x21b0db,'jEnd':_0xb77a43};function _0x36e5d4(_0x1b1dda,_0x3a4ae8,_0x58e33f){let _0x55d0bd=-0x1,_0x3e77de=Number['POSITIVE_INFINITY'],_0x181a38=!0x0;for(let _0x3721a5=_0x3a4ae8;_0x3721a5<_0x58e33f;_0x3721a5++)if(_0x462d61['isInline'](_0x1b1dda[_0x3721a5]['item'])||(_0x181a38=!0x1),_0x1b1dda[_0x3721a5]['item']['startIndex']<_0x3a4ae8&&(_0x55d0bd=_0x3721a5),_0x1b1dda[_0x3721a5]['item']['endIndex']>=_0x58e33f){_0x3e77de=_0x3721a5;break;}_0x181a38&&(_0x55d0bd=_0x58e33f-0x1);for(let _0x5b3166=_0x3a4ae8;_0x5b3166<_0x58e33f;_0x5b3166++)_0x1b1dda[_0x5b3166]['side']=_0x5b3166<=_0x55d0bd?-0x1:_0x5b3166<_0x3e77de?0x0:0x1,_0x1b1dda[_0x5b3166]['index']=_0x5b3166;let _0x16f6f0=0x0;for(let _0x26490b=_0x3a4ae8;_0x26490b<=_0x55d0bd;_0x26490b++)0x0==_0x1b1dda[_0x26490b]['distance']?_0x1b1dda[_0x26490b]['level']=_0x16f6f0:(_0x16f6f0++,_0x1b1dda[_0x26490b]['level']=_0x16f6f0,_0x16f6f0++);for(let _0x23884c=_0x3a4ae8;_0x23884c<_0x58e33f;_0x23884c++)0x0==_0x1b1dda[_0x23884c]['side']&&(_0x1b1dda[_0x23884c]['level']=_0x16f6f0);_0x16f6f0=0x0;for(let _0x29ece2=_0x58e33f-0x1;_0x29ece2>=_0x3e77de;_0x29ece2--)0x0==_0x1b1dda[_0x29ece2]['distance']?_0x1b1dda[_0x29ece2]['level']=_0x16f6f0:(_0x16f6f0--,_0x1b1dda[_0x29ece2]['level']=_0x16f6f0,_0x16f6f0--);}}['_fixObsoleteTags'](_0x53d985){const _0x2b4209=new Map(),_0x46d5e2=this['editor']['model']['schema'];for(let _0x5c78f9=0x1;_0x5c78f9<_0x53d985['length'];_0x5c78f9++){let _0x2ba87b,_0x65c8a7,_0x57389d;const _0xd58b3d=_0x53d985[_0x5c78f9],_0x507db4=_0x53d985[_0x5c78f9-0x1];if('text'==_0xd58b3d['type'])continue;if(_0xd58b3d['type']!=_0x507db4['type'])continue;if(!_0x46d5e2['isBlock'](_0x507db4['item'])||_0x46d5e2['isLimit'](_0x507db4['item']))continue;if(!_0x46d5e2['isBlock'](_0xd58b3d['item'])||_0x46d5e2['isLimit'](_0xd58b3d['item']))continue;if((_0x53d985[_0x5c78f9]['isAdded']||_0x53d985[_0x5c78f9]['isAddSuggestion'])&&_0x53d985[_0x5c78f9-0x1]['isRemoved'])_0x2ba87b=_0x53d985[_0x5c78f9],_0x65c8a7=_0x53d985[_0x5c78f9-0x1],_0x57389d=_0x5c78f9-0x1;else{if(!_0x53d985[_0x5c78f9]['isRemoved']||!_0x53d985[_0x5c78f9-0x1]['isAdded']&&!_0x53d985[_0x5c78f9-0x1]['isAddSuggestion'])continue;_0x2ba87b=_0x53d985[_0x5c78f9-0x1],_0x65c8a7=_0x53d985[_0x5c78f9],_0x57389d=_0x5c78f9;}const _0x4a1a55=_0x2ba87b['level']==_0x65c8a7['level'],_0x13c818=Math['abs'](_0x2ba87b['level'])<Math['abs'](_0x65c8a7['level'])&&0x0==_0x65c8a7['distance'];(_0x4a1a55||_0x13c818)&&(_0x2b4209['set'](_0x65c8a7['id'],_0x2ba87b['id']),_0x53d985['splice'](_0x57389d,0x1),_0x5c78f9--,_0x2ba87b['isAdded']=!0x1);}for(let _0x560fe1=0x0;_0x560fe1<_0x53d985['length'];_0x560fe1++)_0x2b4209['has'](_0x53d985[_0x560fe1]['pairId'])&&(_0x53d985[_0x560fe1]['pairId']=_0x2b4209['get'](_0x53d985[_0x560fe1]['pairId']));}['_removeMissingPairs'](_0x538072){const _0x16fcc3=new Set(_0x538072['map'](_0x1e042f=>_0x1e042f['id']));for(let _0x5cde4f=0x0;_0x5cde4f<_0x538072['length'];_0x5cde4f++)_0x16fcc3['has'](_0x538072[_0x5cde4f]['pairId'])||0x0==_0x538072[_0x5cde4f]['distance']||(_0x538072[_0x5cde4f]['isIncorrect']=!0x0);return _0x538072['filter'](_0x3c5634=>!_0x3c5634['isIncorrect']);}['_markMismatchedRemovedTags'](_0x487cf5){const _0x28068c=new Set();for(let _0x28cfa7=0x0;_0x28cfa7<_0x487cf5['length'];_0x28cfa7++){if(_0x28068c['has'](_0x487cf5[_0x28cfa7]['id'])&&_0x487cf5[_0x28cfa7]['isRemoved']&&(_0x487cf5[_0x28cfa7]['isIncorrect']=!0x0),_0x487cf5[_0x28cfa7]['isIncorrect'])continue;if(0x0==_0x487cf5[_0x28cfa7]['distance'])continue;if('elementStart'!=_0x487cf5[_0x28cfa7]['type'])continue;if(null==_0x487cf5[_0x28cfa7]['pairId'])continue;let _0x30cfc3=_0x28cfa7+0x1,_0x36d319=0x0;for(;_0x487cf5[_0x30cfc3]['id']!=_0x487cf5[_0x28cfa7]['pairId'];)'elementStart'==_0x487cf5[_0x30cfc3]['type']?_0x36d319++:'elementEnd'==_0x487cf5[_0x30cfc3]['type']&&_0x36d319--,_0x30cfc3++;if(0x0!=_0x36d319){if(_0x487cf5[_0x28cfa7]['isRemoved'])_0x487cf5[_0x28cfa7]['isIncorrect']=!0x0;else{for(;_0x30cfc3!=_0x28cfa7;)_0x487cf5[_0x30cfc3]['isRemoved']&&0x0!=_0x487cf5[_0x30cfc3]['distance']&&(_0x487cf5[_0x30cfc3]['isIncorrect']=!0x0,_0x28068c['add'](_0x487cf5[_0x30cfc3]['pairId'])),_0x30cfc3--;}}}return _0x487cf5['filter'](_0x14062d=>!_0x14062d['isIncorrect']);}['_removeUnsupportedChanges'](_0x45811e){const _0x75786d=this['editor']['model']['schema'];for(let _0x2b5395=0x0;_0x2b5395<_0x45811e['length'];_0x2b5395++){if(!(_0x45811e[_0x2b5395]['isAdded']||_0x45811e[_0x2b5395]['isAddSuggestion']||_0x45811e[_0x2b5395]['isRemoved']||_0x45811e[_0x2b5395]['isRemoveSuggestion']))continue;if(0x0==_0x45811e[_0x2b5395]['distance'])continue;const _0x2af1da=_0x45811e[_0x2b5395]['item'];_0x75786d['isBlock'](_0x2af1da)||_0x75786d['isLimit'](_0x2af1da)||(_0x45811e[_0x2b5395]['isAdded']&&delete _0x45811e[_0x2b5395]['isAdded'],_0x45811e[_0x2b5395]['isAddSuggestion']&&delete _0x45811e[_0x2b5395]['isAddSuggestion'],_0x45811e[_0x2b5395]['isRemoveSuggestion']&&delete _0x45811e[_0x2b5395]['isRemoveSuggestion'],_0x45811e[_0x2b5395]['isRemoved']&&(_0x45811e[_0x2b5395]['isIncorrect']=!0x0));}return _0x45811e['filter'](_0x42ca74=>!_0x42ca74['isIncorrect']);}['_makeModelFromTape'](_0x39c8ed,_0x2696fc,_0x31f1e5){const _0x3e4414=new _t(),_0x4c5ced=[],_0x3f9863=new Map(),_0xbc2435=this['editor']['model'],_0x41bb9c=_0xbc2435['schema'],_0x53d263=[_0x3e4414],_0x1c0ad1={},_0x358eac={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x50cfee=null;const _0xf2304f=[0x0];for(let _0x5044a4=0x0;_0x5044a4<_0x39c8ed['length'];_0x5044a4++){let _0x6073cb,_0x232844;if('elementStart'===_0x39c8ed[_0x5044a4]['type']){_0x6073cb=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f);const _0x1ee81e=new ft(_0x39c8ed[_0x5044a4]['item']['name'],_0x39c8ed[_0x5044a4]['item']['getAttributes']());_0x53d263[0x0]['_appendChild'](_0x1ee81e),_0xf2304f['push'](0x0),_0x53d263['unshift'](_0x1ee81e),_0x232844=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0x50cfee=null;}else{if('elementEnd'===_0x39c8ed[_0x5044a4]['type'])_0x53d263['shift'](),_0x6073cb=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0xf2304f['pop'](),_0xf2304f[_0xf2304f['length']-0x1]++,_0x232844=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0x50cfee=null;else{if(_0x6073cb=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0x50cfee&&_0x29f1ea(_0x50cfee,_0x39c8ed[_0x5044a4]['item']))_0x50cfee['_data']+=_0x39c8ed[_0x5044a4]['item']['data'];else{const _0x321467=new yt(_0x39c8ed[_0x5044a4]['item']['data'],_0x39c8ed[_0x5044a4]['item']['getAttributes']());_0x53d263[0x0]['_appendChild'](_0x321467),_0x50cfee=_0x321467;}_0xf2304f[_0xf2304f['length']-0x1]+=_0x39c8ed[_0x5044a4]['item']['offsetSize'],_0x232844=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f);}}for(const _0x9f6b7f of _0x39c8ed[_0x5044a4]['markersStart'])_0x3f9863['set'](_0x9f6b7f,{'start':_0x6073cb,'end':null});_0x43c6d5('isRemoveSuggestion',_0x5044a4,_0x6073cb,_0x232844),_0x43c6d5('isAddSuggestion',_0x5044a4,_0x6073cb,_0x232844),_0x43c6d5('isRemoved',_0x5044a4,_0x6073cb,_0x232844),_0x43c6d5('isAdded',_0x5044a4,_0x6073cb,_0x232844);for(const _0x441880 of _0x39c8ed[_0x5044a4]['markersEnd']){_0x3f9863['get'](_0x441880)['end']=_0x232844;}}for(const [_0x388a4a,_0x3e86e0]of _0x3f9863){const _0x42d044=this['editor']['model']['createRange'](_0x3e86e0['start'],_0x3e86e0['end']);_0x3e4414['markers']['set'](_0x388a4a,_0x42d044);}return _0x4c5ced['sort']((_0x50baed,_0x33010d)=>{const _0x46f6f0=_0x3e4414['markers']['get']('revision:'+_0x50baed['id']),_0x30f69e=_0x3e4414['markers']['get']('revision:'+_0x33010d['id']);return _0x46f6f0['start']['isBefore'](_0x30f69e['start'])?-0x1:_0x46f6f0['start']['isAfter'](_0x30f69e['start'])?0x1:_0x46f6f0['end']['isBefore'](_0x30f69e['end'])?-0x1:_0x46f6f0['end']['isAfter'](_0x30f69e['end'])?0x1:'add'===_0x50baed['type']?-0x1:0x1;}),{'root':_0x3e4414,'changes':_0x4c5ced};function _0x43c6d5(_0x27d4bc,_0x2355b1,_0x3089d8,_0x46f201){const _0x4c1be3=!!_0x39c8ed[_0x2355b1][_0x27d4bc],_0x34ea65=_0x4c1be3?_0x39c8ed[_0x2355b1][_0x27d4bc]['userId']:null,_0x5384d3=_0x2355b1===_0x39c8ed['length']-0x1,_0x231b0f=_0x358eac[_0x27d4bc][0x0],_0x4520f7=_0x41bb9c['isObject'](_0x39c8ed[_0x2355b1]['item']);!_0x1c0ad1[_0x27d4bc]&&_0x4c1be3?_0x1c0ad1[_0x27d4bc]={'start':_0x3089d8,'tapeItem':_0x39c8ed[_0x2355b1],'userId':_0x34ea65,'type':_0x27d4bc}:_0x1c0ad1[_0x27d4bc]&&!_0x4c1be3?(_0x1c0ad1[_0x27d4bc]['end']=_0x3089d8,_0x28aa8f(_0x1c0ad1[_0x27d4bc]),_0x1c0ad1[_0x27d4bc]=null):_0x1c0ad1[_0x27d4bc]&&_0x4c1be3&&_0x1c0ad1[_0x27d4bc]['userId']!==_0x34ea65&&(_0x1c0ad1[_0x27d4bc]['end']=_0x3089d8,_0x231b0f&&_0x231b0f['userId']===_0x1c0ad1[_0x27d4bc]['userId']||_0x28aa8f(_0x1c0ad1[_0x27d4bc]),_0x1c0ad1[_0x27d4bc]={'start':_0x3089d8,'tapeItem':_0x39c8ed[_0x2355b1],'userId':_0x34ea65,'type':_0x27d4bc}),_0x1c0ad1[_0x27d4bc]&&_0x4520f7&&('elementStart'!==_0x39c8ed[_0x2355b1]['type']||_0x231b0f&&_0x231b0f['userId']===_0x34ea65||_0x358eac[_0x27d4bc]['unshift']({'userId':_0x34ea65,'object':_0x39c8ed[_0x2355b1]['item'],'change':_0x1c0ad1[_0x27d4bc]}),'elementEnd'===_0x39c8ed[_0x2355b1]['type']&&_0x231b0f&&_0x231b0f['object']===_0x39c8ed[_0x2355b1]['item']&&(_0x358eac[_0x27d4bc]['shift'](),_0x1c0ad1[_0x27d4bc]=_0x231b0f['change'])),_0x1c0ad1[_0x27d4bc]&&_0x5384d3&&(_0x1c0ad1[_0x27d4bc]['end']=_0x46f201,_0x28aa8f(_0x1c0ad1[_0x27d4bc]),_0x1c0ad1[_0x27d4bc]=null);}function _0x28aa8f({start:_0x42b23c,end:_0x4b5609,tapeItem:_0x45f075,userId:_0x2b8560,type:_0x299eb1}){const _0x37b2cc=_0x45f075['item'],_0x270d26=_0xbc2435['schema']['isBlock'](_0x37b2cc)&&!_0xbc2435['schema']['isLimit'](_0x37b2cc),_0x4a0c50=_0x42b23c['nodeAfter']==_0x4b5609['parent']&&_0x4b5609['isAtStart'];if(_0x270d26&&_0x4a0c50)return;const _0x3ded54=_0xbc2435['createRange'](_0x42b23c,_0x4b5609),_0x2ddabc=_0x2696fc['get'](_0x2b8560),_0x553b8d=new r({'author':_0x2ddabc,'type':'isAdded'==_0x299eb1||'isAddSuggestion'==_0x299eb1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x299eb1||'isRemoveSuggestion'==_0x299eb1},'createdAt':new Date(),'rootName':_0x31f1e5});_0x4c5ced['push'](_0x553b8d),_0x3e4414['markers']['set']('revision:'+_0x553b8d['id'],_0x3ded54);}function _0x29f1ea(_0x35d7d5,_0x473aa3){const _0x14f771=_0x35d7d5['getAttributes'](),_0x1f822d=_0x473aa3['getAttributes']();for(const _0x1a9ab1 of _0x14f771){if(_0x1a9ab1[0x1]!==_0x473aa3['getAttribute'](_0x1a9ab1[0x0]))return!0x1;_0x1f822d['next']();}return _0x1f822d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x575461=>{const _0x42b2af=_0x575461['markerName']['split'](':')[0x1],_0x1063a0=this['_getChangeFromId'](_0x42b2af);if(!_0x1063a0)return null;const _0x4ccd3d='add'==_0x1063a0['type']?'insertion':'deletion',_0x113557=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4ccd3d];return _0x1063a0['data']['isSuggestion']&&_0x113557['push']('ck-suggestion-marker-'+_0x4ccd3d+'-new'),this['activeChange']==_0x1063a0&&_0x113557['push']('ck-suggestion-marker--active'),{'classes':_0x113557,'attributes':{'data-change-id':_0x42b2af}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x191b29=>{_0x191b29['on']('element:pre',(_0x1aecf8,_0x8e94e6,_0x40057c)=>{const _0x7ee877=_0x8e94e6['viewItem']['getChild'](0x0);if(!_0x7ee877||!_0x7ee877['is']('element','code'))return;if(!_0x40057c['consumable']['consume'](_0x7ee877,{'attributes':['vid_start','vid_end']}))return;const _0x1feef7=_0x8e94e6['modelRange']['start']['nodeAfter'];_0x40057c['writer']['setAttribute']('vid_start',_0x7ee877['getAttribute']('vid_start'),_0x1feef7),_0x40057c['writer']['setAttribute']('vid_end',_0x7ee877['getAttribute']('vid_end'),_0x1feef7);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x339fc9=>{_0x339fc9['on']('element',(_0x5c0bb5,_0x4cfaef,_0x35c03e)=>{if(!_0x35c03e['consumable']['consume'](_0x4cfaef['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4cfaef['modelRange']['isCollapsed'])return;const _0x4d3b83=_0x4cfaef['modelRange']['start']['nodeAfter'];_0x4d3b83['hasAttribute']('vid_start')||_0x4d3b83['hasAttribute']('vid')||(_0x35c03e['writer']['setAttribute']('vid_start',_0x4cfaef['viewItem']['getAttribute']('vid_start'),_0x4d3b83),_0x35c03e['writer']['setAttribute']('vid_end',_0x4cfaef['viewItem']['getAttribute']('vid_end'),_0x4d3b83));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2ce92d=>_0x2ce92d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4c6b81,[,_0x277665])=>{['vid_start','vid_end','vid']['includes'](_0x277665)&&(_0x4c6b81['return']=!0x0,_0x4c6b81['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x24c1d0=>{_0x24c1d0['on']('attribute:vid',(_0x4a96d1,_0x3cc007,_0x589067)=>{if('\x20'!=_0x3cc007['item']['data']||_0x3cc007['item']['parent']['maxOffset']>0x1)return;if(!_0x589067['consumable']['consume'](_0x3cc007['item'],_0x4a96d1['name']))return;const _0x17ec98=_0x589067['writer'],_0x2b05ed=_0x589067['mapper']['toViewRange'](_0x3cc007['range']);_0x17ec98['wrap'](_0x2b05ed,_0x17ec98['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2bb380){const _0x428326=_0x2bb380['plugins']['get']('RevisionViewer');return(_0x441727,_0x212ec7,_0x344ac5)=>{const _0x1f6568=_0x212ec7['markerName']['split'](':')[0x1],_0x4e3e04=_0x428326['_getChangeFromId'](_0x1f6568);if(!_0x4e3e04)return null;const _0x5e75e2='add'==_0x4e3e04['type']?'split':'merge';if(!_0x344ac5['consumable']['test'](_0x212ec7['markerRange'],_0x441727['name']))return;const _0x1093ee=_0x212ec7['markerRange']['getWalker'](),_0x1c0561=_0x212ec7['markerRange']['start'],_0x3dbfbb=_0x2bb380['model']['schema'];let _0x1236f7=null,_0x23f550=null,_0x334351=!0x1,_0x189b90=!0x1;for(const _0x2c6649 of _0x1093ee){const _0x52bcb7=_0x2c6649['item'];_0x334351=_0x334351||_0x3dbfbb['isContent'](_0x52bcb7);const _0x585c19=_0x344ac5['mapper']['toViewElement'](_0x52bcb7);if(_0x585c19&&_0x585c19['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2c6649['type']&&(_0x3dbfbb['isBlock'](_0x52bcb7)&&!_0x3dbfbb['isLimit'](_0x52bcb7)&&(_0x52bcb7['nextSibling']||_0x1c0561['isAtEnd']?_0x1236f7&&_0x1236f7['parent']==_0x52bcb7||(_0x1236f7=_0x52bcb7,_0x20633b(_0x2c6649['previousPosition']),_0x189b90=!0x0):_0x23f550=_0x23f550||_0x2c6649['previousPosition']));}function _0x20633b(_0x34ee2a){const _0x39faf0=_0x344ac5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5e75e2}),_0x205a28=_0x344ac5['mapper']['toViewPosition'](_0x34ee2a);_0x4e3e04['data']['isSuggestion']&&_0x344ac5['writer']['addClass']('ck-suggestion-marker-'+_0x5e75e2+'-new',_0x39faf0),_0x428326['activeChange']==_0x4e3e04&&_0x344ac5['writer']['addClass']('ck-suggestion-marker--active',_0x39faf0),_0x344ac5['writer']['insert'](_0x205a28,_0x39faf0),_0x344ac5['mapper']['bindElementToMarker'](_0x39faf0,_0x212ec7['markerName']);}_0x334351||_0x189b90||!_0x23f550||_0x20633b(_0x23f550);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1cd865,_0x1df124,_0x3e9fef)=>{const _0x30e417=_0x3e9fef['mapper']['markerNameToElements'](_0x1df124['markerName']);if(_0x30e417){for(const _0x416931 of _0x30e417)(_0x416931['hasClass']('ck-suggestion-marker-split')||_0x416931['hasClass']('ck-suggestion-marker-merge'))&&(_0x3e9fef['mapper']['unbindElementFromMarkerName'](_0x416931,_0x1df124['markerName']),_0x3e9fef['writer']['remove'](_0x416931));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x277dcd,_0x482e6a,_0x589413)=>{const _0x1dcf5b=_0x482e6a['markerName']['split'](':')[0x1],_0x323424=this['_getChangeFromId'](_0x1dcf5b);if(!_0x323424)return null;const _0x1e2ae1='add'==_0x323424['type']?'split':'merge';if(_0x589413['consumable']['test'](_0x482e6a['markerRange'],_0x277dcd['name']))for(const _0x29075d of _0x482e6a['markerRange']['getItems']()){if(!_0x29075d['is']('element','softBreak'))continue;const _0x4637dd=_0x589413['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e2ae1}),_0x518ae5=_0x589413['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x29075d));_0x323424['data']['isSuggestion']&&_0x589413['writer']['addClass']('ck-suggestion-marker-'+_0x1e2ae1+'-new',_0x4637dd),this['activeChange']==_0x323424&&_0x589413['writer']['addClass']('ck-suggestion-marker--active',_0x4637dd),_0x589413['writer']['insert'](_0x518ae5,_0x4637dd),_0x589413['mapper']['bindElementToMarker'](_0x4637dd,_0x482e6a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1a5f4a=>{for(const _0x233d02 of this['editor']['model']['document']['getRootNames']()){const _0x2809df=this['editor']['model']['document']['getRoot'](_0x233d02),_0x1aee95=this['editor']['editing']['view']['document']['getRoot'](_0x233d02);if(_0x1aee95){const _0x456c06=_0x2809df['getAttribute']('revisionHistoryAttachChange');if(_0x1a5f4a['removeAttribute']('data-change-id',_0x1aee95),_0x1a5f4a['removeClass']('ck-revision-history-root-add',_0x1aee95),_0x1a5f4a['removeClass']('ck-revision-history-root-remove',_0x1aee95),_0x1a5f4a['removeClass']('ck-revision-history-root--active',_0x1aee95),_0x456c06){const _0x271eef=this['_getChangeFromId'](_0x456c06);if(!_0x271eef)return null;_0x1a5f4a['setAttribute']('data-change-id',_0x456c06,_0x1aee95),_0x1a5f4a['addClass']('ck-revision-history-root-'+_0x271eef['type'],_0x1aee95),this['activeChange']==_0x271eef&&_0x1a5f4a['addClass']('ck-revision-history-root--active',_0x1aee95);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x7667d3=>'revision-comment:'+_0x7667d3,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x511eaa=>'revision-suggestion:'+_0x511eaa,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x35b2b6=>({'name':'suggestion:'+_0x35b2b6,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x414e9f=>{const _0xbda31f=_0x414e9f['markerName']['split'](':')[0x1];return'insertion'!=_0xbda31f&&'deletion'!=_0xbda31f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xbda31f]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x4262f5,_0x1fce18,_0x770bc0)=>{const _0x28cf3f=_0x770bc0['mapper']['markerNameToElements'](_0x1fce18['markerName']);if(_0x28cf3f){for(const _0x3f6a15 of _0x28cf3f)_0x3f6a15['is']('uiElement')&&(_0x770bc0['mapper']['unbindElementFromMarkerName'](_0x3f6a15,_0x1fce18['markerName']),_0x770bc0['writer']['remove'](_0x3f6a15));}},{'priority':'high'});}['_getChangeFromId'](_0x1dcdb3){return this['_changeIdToChange']['get'](_0x1dcdb3);}['_getViewForChange'](_0x399c66){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x399c66),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x934457,_0x4c2bb8,_0x138fd9,_0x2eb795)=>{_0x2eb795&&this['_balloon']['remove'](_0x2eb795),_0x138fd9&&(this['_balloon']['add']({'view':_0x138fd9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3e89cd=this['editor']['editing'],_0x1d2536=this['_getChangeFromId'](_0x138fd9['changeId']);let _0x4d1cf6;if(_0x1d2536['data']['isOnRoot']){const _0x3f0523=_0x3e89cd['view']['getDomRoot'](_0x1d2536['rootName']);_0x4d1cf6=Array['from'](_0x3f0523['getClientRects']());}else{const _0x4595aa=this['editor']['model']['markers']['get']('revision:'+_0x138fd9['changeId']);_0x4d1cf6=Array['from'](_0x3e89cd['mapper']['markerNameToElements'](_0x4595aa['name']))['map'](_0x195f9e=>_0x3e89cd['view']['domConverter']['mapViewToDom'](_0x195f9e))['map'](_0x38c9ec=>Array['from'](_0x38c9ec['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4d1cf6[0x0];return _0x4d1cf6['find'](_0x2b1b5b=>_0x2b1b5b['top']-0x3<=this['_activeViewTarget']['y']&&_0x2b1b5b['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2b1b5b['left']-0x3<=this['_activeViewTarget']['x']&&_0x2b1b5b['right']+0x3>=this['_activeViewTarget']['x'])||_0x4d1cf6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x510515,_0xf49d2f,_0x496d9c,_0x15e56c)=>{this['activeView']=_0x496d9c?this['_getViewForChange'](_0x496d9c):null,this['editor']['model']['change'](()=>{const _0xc796e2=this['editor']['editing'];_0x15e56c&&(_0x15e56c['data']['isOnRoot']?_0xc796e2['view']['change'](_0x4fedf5=>{_0x4fedf5['removeClass']('ck-revision-history-root--active',_0xc796e2['view']['document']['getRoot'](_0x15e56c['rootName']));}):_0xc796e2['reconvertMarker']('revision:'+_0x15e56c['id'])),_0x496d9c&&(_0x496d9c['data']['isOnRoot']?_0xc796e2['view']['change'](_0x5e6f2b=>{_0x5e6f2b['addClass']('ck-revision-history-root--active',_0xc796e2['view']['document']['getRoot'](_0x496d9c['rootName']));}):_0xc796e2['reconvertMarker']('revision:'+_0x496d9c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x32a81f,_0x267618)=>{if(this['activeChange'])return;const _0x21cca8=this['_findChangeIdFromDomTarget'](_0x267618['target']),_0x516631=this['_changeIdToChange']['get'](_0x21cca8);_0x516631?(this['_activeViewTarget']={'x':_0x267618['domEvent']['x'],'y':_0x267618['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x516631)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x28ed7b,_0x26e676)=>{const _0x49c3f9=this['_findChangeIdFromDomTarget'](_0x26e676['target']),_0x41a151=this['_changeIdToChange']['get'](_0x49c3f9);_0x41a151?(this['_activeViewTarget']={'x':_0x26e676['domEvent']['x'],'y':_0x26e676['domEvent']['y']},_0x41a151===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41a151):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x30eb30){do{const _0x44b2b6=_0x30eb30['getAttribute']('data-change-id');if(_0x44b2b6)return _0x44b2b6;_0x30eb30=_0x30eb30['parent'];}while(_0x30eb30);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x384d7a=>{for(const _0xee1989 of this['editor']['model']['markers'])_0x384d7a['removeMarker'](_0xee1989);});}constructor(_0x5cf261){super(_0x5cf261),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x2ed430,_0x5b0693,_0x17c5b7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1d919a=>{for(const _0x5c3070 of this['editor']['editing']['view']['document']['roots'])_0x17c5b7?_0x1d919a['removeClass']('ck-editor__editable__overlay',_0x5c3070):_0x1d919a['addClass']('ck-editor__editable__overlay',_0x5c3070);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x94c4cf=>null!==_0x94c4cf),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x582ad5,_0x35f6ca,_0x49d4ac)=>_0x582ad5&&_0x49d4ac?_0x35f6ca['changes']['getIndex'](_0x49d4ac):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2163d2,_0x881c1a)=>_0x2163d2?_0x881c1a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1f4f7b);}}function et(_0x265568,_0xdb3294){return(_0x4dc83b,_0x406045,_0x208cd0)=>{if(!_0x208cd0['consumable']['test'](_0x406045['markerRange'],_0x4dc83b['name']))return;const _0x269363=_0x406045['markerRange']['getWalker'](),_0x930cfe=_0x406045['markerRange']['start'],_0x52be7e=_0x265568['model']['schema'];let _0x3bccf9=null,_0x1204c8=null,_0x3de6d3=!0x1,_0x17e169=!0x1;for(const _0x4659c9 of _0x269363){const _0xf619b8=_0x4659c9['item'];_0x3de6d3=_0x3de6d3||_0x52be7e['isContent'](_0xf619b8);const _0x4e64e0=_0x208cd0['mapper']['toViewElement'](_0xf619b8);if(_0x4e64e0&&_0x4e64e0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4659c9['type']&&(_0x52be7e['isBlock'](_0xf619b8)&&!_0x52be7e['isLimit'](_0xf619b8)&&(_0xf619b8['nextSibling']||_0x930cfe['isAtEnd']?_0x3bccf9&&_0x3bccf9['parent']==_0xf619b8||(_0x3bccf9=_0xf619b8,_0x2a8879(_0x4659c9['previousPosition']),_0x17e169=!0x0):_0x1204c8=_0x1204c8||_0x4659c9['previousPosition']));}function _0x2a8879(_0xa89191){const _0x38e61e=_0x208cd0['mapper']['toViewPosition'](_0xa89191),_0x2a2321=_0x208cd0['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xdb3294});_0x208cd0['writer']['insert'](_0x38e61e,_0x2a2321),_0x208cd0['mapper']['bindElementToMarker'](_0x2a2321,_0x406045['markerName']);}_0x3de6d3||_0x17e169||!_0x1204c8||_0x2a8879(_0x1204c8);};}class bt extends _0x188b37{['execute'](){const _0x36320d=this['editor'],_0x736389=_0x36320d['plugins']['get'](d),_0x331bb0=_0x736389['isReady']?_0x736389['diff']['newRevisionId']:null;_0x36320d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x331bb0);}['refresh'](){const {isReady:_0x3072fe,isEnabled:_0x192a3a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3072fe&&_0x192a3a;}constructor(_0x51fc6b){super(_0x51fc6b);const _0x1fbfc9=_0x51fc6b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1fbfc9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1fbfc9,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x188b37{['execute'](){const _0x45684b=this['editor'],_0x413620=_0x45684b['plugins']['get'](d),{isNavigationMode:_0x22bd0b,currentChangeNumber:_0x176c1b}=_0x413620;let _0x372f37;if(_0x413620['activeChange']=_0x22bd0b?_0x413620['diff']['changes']['get'](_0x176c1b+this['_step']):_0x413620['diff']['changes']['first'],_0x413620['activeChange']['data']['isOnRoot'])_0x372f37=_0x45684b['editing']['view']['getDomRoot'](_0x413620['activeChange']['rootName']);else{const _0x16f6e8=_0x45684b['model']['markers']['get']('revision:'+_0x413620['activeChange']['id']);_0x372f37=_0x280166(_0x45684b['editing'],_0x16f6e8);}_0xc6c84d({'target':_0x372f37,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4fa8b9,currentChangeNumber:_0x576a46,numberOfChanges:_0x3ee25f,isReady:_0x2cae6f,isEnabled:_0x5e37c7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5e37c7&&_0x2cae6f&&_0x3ee25f)&&(!_0x4fa8b9||(0x1===this['_step']?_0x576a46<_0x3ee25f-0x1:_0x576a46>0x0));}constructor(_0xa1c308,{direction:_0x57ae5f}){super(_0xa1c308);const _0x254b1a=_0xa1c308['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x57ae5f?0x1:-0x1,this['listenTo'](_0x254b1a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x254b1a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x254b1a,'change:activeChange',()=>this['refresh']());}}class _i extends _0x4bcd56{constructor(_0x2925df){super(_0x2925df);const _0x21d5bf=this['bindTemplate'],_0x541481=new _0x99d8d4(_0x2925df),_0x3701e2=new _0x99d8d4(_0x2925df);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x9dd002,_0x9c8292)=>_0x9dd002&&_0x9c8292>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x162840,_0x391162,_0x31deb8,_0x28fd83)=>{if(!_0x162840)return y(_0x2925df,'Loading...');if(!_0x31deb8)return y(_0x2925df,'No\x20changes');const _0x3477e5=y(_0x2925df,'NUMBER_OF_CHANGES',_0x31deb8);return _0x28fd83?y(_0x2925df,'X_OF_Y_CHANGES',[_0x391162+0x1,_0x31deb8]):_0x3477e5;}),_0x541481['set']({'label':y(_0x2925df,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x3701e2['set']({'label':y(_0x2925df,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x541481['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3701e2['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x541481['on']('execute',()=>this['fire']('execute','backward')),_0x3701e2['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x21d5bf['if']('_isStatusLabelVisible','ck-hidden',_0x23cb79=>!_0x23cb79)]},'children':[{'text':_0x21d5bf['to']('isNavigationMode',_0x431588=>_0x431588?y(_0x2925df,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2925df,'Total')+':\x20')}]},{'text':_0x21d5bf['to']('_statusText')}]},new _0x4d4910(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x541481,_0x3701e2]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x580e1f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x21527e=this['editor']['editing']['view'];_0x21527e['change'](_0x398939=>{for(const _0x2f688f of _0x21527e['document']['roots'])_0x398939['addClass'](ce,_0x2f688f);});}['hide'](){const _0x55f0bb=this['editor']['editing']['view'];_0x55f0bb['change'](_0x1ff84e=>{for(const _0x29080d of _0x55f0bb['document']['roots'])_0x1ff84e['removeClass'](ce,_0x29080d);});}}class R extends _0x580e1f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4807b2=this['editor'],_0x48bb41=_0x4807b2['plugins']['get'](d),_0x1c0267=_0x4807b2['plugins']['get'](de);_0x4807b2['ui']['componentFactory']['add']('exitToEditing',_0x4a0ca1=>{const _0x66623c=new _0x99d8d4(_0x4a0ca1);return _0x66623c['set']({'label':y(_0x4a0ca1,'Back\x20to\x20editing'),'icon':_0x40f1df['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x66623c,'execute',()=>{_0x4807b2['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x66623c;}),_0x4807b2['ui']['componentFactory']['add']('restoreRevision',_0x5b8bca=>{const _0x259485=new _0x99d8d4(_0x5b8bca);return _0x259485['set']({'label':y(_0x5b8bca,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x259485['bind']('isEnabled')['to'](_0x4807b2['commands']['get']('restoreRevision')),this['listenTo'](_0x259485,'execute',()=>_0x4807b2['execute']('restoreRevision')),_0x259485;}),_0x4807b2['ui']['componentFactory']['add']('changesNavigation',_0x57e3a6=>{const _0x445de6=new _i(_0x57e3a6),_0x12eb42=_0x4807b2['commands']['get']('showPreviousChange'),_0x1adfa9=_0x4807b2['commands']['get']('showNextChange');return _0x445de6['bind']('isBackwardNavigationEnabled')['to'](_0x12eb42,'isEnabled'),_0x445de6['bind']('isForwardNavigationEnabled')['to'](_0x1adfa9,'isEnabled'),_0x445de6['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x48bb41),this['listenTo'](_0x445de6,'execute',(_0x28719d,_0x1849a2)=>{_0x4807b2['execute']('forward'===_0x1849a2?'showNextChange':'showPreviousChange');}),_0x445de6;}),_0x1c0267['show'](),_0x48bb41['on']('change:isReady',(_0x421aad,_0x3ccec3,_0x3fdcf1)=>{_0x3fdcf1?_0x1c0267['hide']():_0x1c0267['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x3b327b=this['fieldView']['element'];this['_tooltipString']=_0x3b327b['scrollWidth']>_0x3b327b['clientWidth']&&_0x3b327b['value']||'';}constructor(_0x4849d5,_0xcf36fd){super(_0x4849d5,_0xcf36fd),this['_resizeObserver']=null;const _0x327f49=this['bindTemplate'];this['set']({'label':y(_0x4849d5,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4849d5,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x327f49['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x4bcd56{constructor(_0x2c6eab,_0x2346df,_0x365cd0){super(_0x2c6eab);const _0x2a69b9=new _0x4c04a6();_0x2a69b9['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x4e9e2e=['ck','ck-revision-history-sidebar__revision-author'];_0x365cd0&&_0x4e9e2e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5a7c11=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2c6eab,_0x365cd0?'Revision\x20creator':'Revision\x20author')},'children':[_0x2a69b9,_0x2346df['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4e9e2e},'children':_0x5a7c11});}}function ni(_0x470370,_0x4866a4){const _0x31750a=_0x470370['bindTemplate'],_0x10d986=_0x470370['locale'],_0xc85753=_0x43d373(_0x10d986);_0xc85753['panelPosition']='sw';const _0x17f7ee=function(_0x342acd,_0x1b0ece){const _0x51f0c8=function(_0x4ad863,_0x4d39b7){const _0x4ea353=_0x4ad863['locale'],_0x473382={'Compare\x20against\x20selected':y(_0x4ea353,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4ea353,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4ea353,'Restore\x20this\x20revision')};return _0x4d39b7['map'](_0xe3801f=>{const _0x1cad1c=_0x473382[_0xe3801f['name']];return _0x1cad1c&&_0x1cad1c!==_0xe3801f['name']&&(_0xe3801f['name']=_0x1cad1c),_0xe3801f;});}(_0x342acd,_0x1b0ece),_0x41d715=new _0x2e3edc();for(const _0x4c53cb of _0x51f0c8){const _0x46a4ed={'type':'button','model':new to({'label':_0x4c53cb['name'],'class':_0x4c53cb['class'],'withText':!0x0,'_action':_0x4c53cb['action']})};_0x46a4ed['model']['bind']('isEnabled')['to'](_0x342acd,'isActionsDropdownOpen',_0x3ce7f2=>'function'!=typeof _0x4c53cb['isEnabled']||(!_0x3ce7f2||_0x4c53cb['isEnabled'](_0x342acd))),_0x41d715['add'](_0x46a4ed);}return _0x41d715;}(_0x470370,_0x4866a4);return _0x470370['bind']('isActionsDropdownOpen')['to'](_0xc85753,'isOpen'),_0xc85753['buttonView']['set']({'label':y(_0x10d986,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x40f1df['threeVerticalDots']}),_0xc85753['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31750a['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31750a['to'](_0x316634=>_0x316634['stopPropagation']())}}),_0xc85753['on']('execute',_0x2bbb08=>{_0x470370['isReady']&&'function'==typeof _0x2bbb08['source']['_action']&&_0x2bbb08['source']['_action'](_0x470370);}),_0x52a1c1(_0xc85753,_0x17f7ee),_0xc85753['listenTo'](_0x470370,'change:isActionsDropdownOpen',(_0x1e8e05,_0x128cdc,_0x445d5d)=>{if(_0x445d5d)for(const _0x303d9e of _0xc85753['listView']['items']){const _0x517707=_0x303d9e['children']['first'],_0x6b8980=_0x4866a4['find'](_0x3ac1e9=>_0x3ac1e9['action']===_0x517707['_action'])['isVisible'];_0x303d9e['isVisible']=void 0x0===_0x6b8980||_0x6b8980(_0x470370);}}),_0xc85753;}class ai extends _0x4a2aec(_0x4bcd56){['render'](){super['render']();const _0x11c3ec=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x11c3ec,'change',()=>{this['_requireRevisionName']&&!_0x11c3ec['value']||this['fire']('setName',{'id':this['id'],'name':_0x11c3ec['value']}),_0x11c3ec['value']||(_0x11c3ec['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x10eed2,_0x1620ea,_0x55264f,_0x1a408e){super(_0x10eed2);const _0x3c5eab=this['bindTemplate'],_0x1f7009=function(_0x1d0f07,_0x41a632){const _0x3c806c=Array['from'](_0x41a632['authors'])['filter'](_0x2c06a3=>_0x2c06a3!=_0x41a632['creator']);return _0x41a632['creator']&&_0x3c806c['unshift'](_0x41a632['creator']),_0x3c806c['map'](_0x211b40=>new ti(_0x1d0f07,_0x211b40,_0x211b40==_0x41a632['creator']));}(_0x10eed2,_0x1620ea);this['id']=_0x1620ea['id'],this['_revision']=_0x1620ea,this['_requireRevisionName']=_0x1a408e,this['bind']('name','createdAt')['to'](_0x1620ea),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x20751d=>{return _0x3c627b=_0x10eed2['uiLanguage'],(_0x4eb09b=_0x20751d)['toLocaleDateString'](_0x3c627b,{'month':'long','day':'numeric'})+',\x20'+_0x4eb09b['toLocaleTimeString'](_0x3c627b,{'hour':'numeric','minute':'numeric'});var _0x3c627b,_0x4eb09b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x10eed2,_0x3a13f6),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xe251bc=>_0xe251bc||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x9a95b3,_0x23097d)=>_0x9a95b3&&_0x23097d),this['revisionActionsView']=_0x55264f&&_0x55264f['length']?ni(this,_0x55264f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3c5eab['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3c5eab['if']('isEnabled','ck-disabled',_0x1fb4fc=>!_0x1fb4fc),_0x3c5eab['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3c5eab['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3c5eab['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x3c5eab['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x1f7009}]},this['revisionActionsView']],'on':{'click':_0x3c5eab['to'](_0x5596b9=>{_0x5596b9['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x14a7f0,_0x1e688e){const _0x4db2a1=_0x4158e4['fromJSDate'](_0x14a7f0)['setLocale'](_0x1e688e),_0x5a88e7=_0x4158e4['local'](),_0x2b0d9b=_0x5a88e7['minus']({'days':0x1})['startOf']('day');let _0x357611,_0x443ef1;return _0x4db2a1['hasSame'](_0x5a88e7,'day')?(_0x357611=_0x4db2a1['startOf']('day')['toJSDate'](),_0x443ef1=_0x4db2a1['toRelativeCalendar']()):_0x4db2a1['hasSame'](_0x2b0d9b,'day')?(_0x357611=_0x2b0d9b['toJSDate'](),_0x443ef1=_0x4db2a1['toRelativeCalendar']()):_0x4db2a1['hasSame'](_0x5a88e7,'week')?(_0x357611=_0x4db2a1['startOf']('week')['toJSDate'](),_0x443ef1=_0x4db2a1['weekdayLong']||''):_0x4db2a1['hasSame'](_0x5a88e7,'year')?(_0x357611=_0x4db2a1['startOf']('month')['toJSDate'](),_0x443ef1=_0x4db2a1['monthLong']||''):(_0x357611=_0x4db2a1['startOf']('year')['toJSDate'](),_0x443ef1=String(_0x4db2a1['year'])),{'startDate':_0x357611,'localizedPeriodName':_0x443ef1};}class mi extends _0x4bcd56{['addRevision'](_0x297182){const _0x4c4752=new ai(this['locale'],_0x297182,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4c4752);}['removeRevision'](_0x21a83d){const _0x2181f9=this['revisionViews']['find'](_0x19a8b4=>_0x19a8b4['id']===_0x21a83d['id']);this['revisionViews']['remove'](_0x2181f9);}constructor(_0x2bb0d9,_0x52dc10,_0x3c359e,_0x19c487){super(_0x2bb0d9);const _0x2a4b0e=di(_0x52dc10,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x52dc10,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3c359e,this['_requireRevisionName']=_0x19c487,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x2a4b0e}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x4bcd56{constructor(_0x55cf86){super(_0x55cf86);const _0x74a749=new _0x4c04a6();_0x74a749['content']=_0x40f1df['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x74a749,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x55cf86,'Revision\x20history')]}]});}}class ci extends _0x4bcd56{['render'](){super['render']();for(const _0x5ddb9a of this['_revisions'])this['_addRevision'](_0x5ddb9a);this['_revisions']['on']('add',(_0x1b2355,_0x5b2e82)=>{this['_addRevision'](_0x5b2e82);}),this['_revisions']['on']('remove',(_0x3d4b6f,_0x1538d5)=>{this['_removeRevision'](_0x1538d5);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x29c00b=>_0x29c00b['revisionViews']['map'](_0xf80c6e=>_0xf80c6e))['flat']();}['selectRevision'](_0x25f39f){for(const _0x199e20 of this['revisionViews'])_0x25f39f&&_0x25f39f['id']===_0x199e20['id']?_0x199e20['select']():_0x199e20['deselect']();}['highlightRevisions'](_0x36c544){for(const _0x2e9d14 of this['revisionViews'])_0x36c544['some'](({id:_0x59097c})=>_0x59097c===_0x2e9d14['id'])?_0x2e9d14['highlight']():_0x2e9d14['unhighlight']();}['_addRevision'](_0x5eb001){const _0x259310=di(_0x5eb001['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xabdd93=this['timePeriodViews']['get'](0x0);_0xabdd93&&_0xabdd93['startDate']['getTime']()===_0x259310['getTime']()||(_0xabdd93=new mi(this['locale'],_0x259310,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xabdd93)),_0xabdd93['addRevision'](_0x5eb001);}['_removeRevision'](_0x4390a4){const _0x5b5494=di(_0x4390a4['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5b5494)['removeRevision'](_0x4390a4);}['_getTimePeriodViewByStartDate'](_0x13959d){return this['timePeriodViews']['find'](_0x290045=>_0x290045['startDate']['getTime']()===_0x13959d['getTime']());}constructor(_0x12bd28,_0x2b9dd3,_0x2f7677,_0x4fcaaf){super(_0x12bd28);const _0x4fcffb=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2b9dd3,this['_revisionActions']=_0x2f7677,this['_requireRevisionName']=_0x4fcaaf,this['on']('select',(_0x47081b,_0x2df94e)=>{this['fire']('revisionSelected',_0x2df94e);}),this['on']('setName',(_0x5ddc1c,_0x5c6cce)=>{this['fire']('revisionSetName',_0x5c6cce);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x12bd28),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4fcffb['if']('isEnabled','ck-disabled',_0x387fac=>!_0x387fac)]},'children':this['timePeriodViews']}]});}}class w extends _0x580e1f{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x2474c2=this['_revisionsRepository']['_revisions'],_0x3e0f48=this['_createRevisionActions'](),_0x1fca93=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2474c2,_0x3e0f48,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x49a80e,_0x2196bc)=>{_0x2196bc['revisionViews']['on']('add',(_0x1169d7,_0x4536af)=>{_0x4536af['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x1fca93['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1913c9=this['_revisionsRepository']['getRevision'](0x0);if(_0x1913c9){const _0x3ecf67=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1913c9['id']);this['_revisionViewer']['compare'](_0x1913c9,_0x3ecf67);}}['_handleRevisionSelected'](_0x2b7751,_0x23dd69){const _0x20aa9d=this['_revisionsRepository']['getRevision'](_0x23dd69['id']),_0x2eef80=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x20aa9d['id']);this['_revisionViewer']['compare'](_0x20aa9d,_0x2eef80);}['_handleRevisionSetName'](_0x35b366,_0x24e2f6){this['_revisionsRepository']['getRevision'](_0x24e2f6['id'])['setName'](_0x24e2f6['name']);}['_handleDiffChange'](_0x4a48ab,_0x414dac,_0x348fd3){const _0xe37947=this['_revisionsRepository']['getRevisionsInDiff'](_0x348fd3);_0xe37947['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xe37947),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xe37947[0x0]));}['_createRevisionActions'](){const _0x2a6df0=this['editor'],_0x1864fa=w['availableRevisionActions'],_0x135a74=_0x2a6df0['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x135a74['length'])return _0x135a74['map'](_0x92f2ef=>{const _0x517daf='string'==typeof _0x92f2ef?Object['assign']({},_0x1864fa[_0x92f2ef]):_0x92f2ef;return _0x517daf['action']=_0x517daf['action']['bind'](this,_0x2a6df0),_0x517daf['isVisible']&&(_0x517daf['isVisible']=_0x517daf['isVisible']['bind'](this,_0x2a6df0)),_0x517daf;});}constructor(_0x2e0c3b){super(_0x2e0c3b),this['_revisionViewer']=_0x2e0c3b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4b9497},_0x2cd1c4)=>{const _0x17a5d9=_0x4b9497['get'](d),_0x32ba3c=_0x17a5d9['repository'];let _0x5a4937=_0x17a5d9['diff']['newRevisionId'],_0x51a4fa=_0x2cd1c4['id'];_0x32ba3c['getIndex'](_0x5a4937)>_0x32ba3c['getIndex'](_0x51a4fa)&&([_0x5a4937,_0x51a4fa]=[_0x51a4fa,_0x5a4937]),_0x17a5d9['compare'](_0x5a4937,_0x51a4fa);},'isVisible':({plugins:_0x2a3354},_0x3c000e)=>{const _0x3ecbe6=_0x2a3354['get'](d);return!(_0x3ecbe6['repository']['getRevisionsInDiff'](_0x3ecbe6['diff'])['length']>0x2)&&!_0x3c000e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x50d87d,{id:_0x423206})=>{_0x50d87d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x423206);},'isVisible':({plugins:_0x4b7e70},_0x1bc3b0)=>!!_0x4b7e70['get'](d)['repository']['getLaterVisibleRevision'](_0x1bc3b0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x260dd9},{id:_0x7bd02c,revisionNameView:_0x4f8dde})=>{const _0x25195f=_0x260dd9['get'](d),_0x163da8=_0x25195f['repository']['getEarlierVisibleRevision'](_0x7bd02c);_0x25195f['compare'](_0x7bd02c,_0x163da8),_0x4f8dde['focus'](),_0x4f8dde['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x4509fb){const _0x4f2083=this['editor'],_0xcc8d62=this['view'],_0x3cb760=_0x4f2083['editing']['view'],_0x400ac2=_0xcc8d62['editable'],_0xa7dea6=_0x3cb760['document']['getRoot']();_0x400ac2['name']=_0xa7dea6['rootName'],_0xcc8d62['render']();const _0x2d85a8=_0x400ac2['element'];this['setEditableElement'](_0x400ac2['name'],_0x2d85a8),_0xcc8d62['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3cb760['attachDomRoot'](_0x2d85a8),this['_elementReplacer']['replace'](_0x4509fb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5ba449=this['view'],_0xf8bf8d=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xf8bf8d['detachDomRoot'](_0x5ba449['editable']['name']),_0x5ba449['destroy']();}['_initToolbar'](){const _0x55d030=this['view'];_0x55d030['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x55d030['stickyPanel']['limiterElement']=_0x55d030['element'],_0x55d030['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5be6dc})=>_0x5be6dc),_0x55d030['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x55d030['toolbar']);}constructor(_0x1b61fd,_0x159d61){super(_0x1b61fd),this['_view']=_0x159d61,this['_toolbarConfig']=ct(_0x1b61fd['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x4513ec,_0x5dfc23,_0x3a2480={}){super(_0x4513ec),this['stickyPanel']=new lt(_0x4513ec),this['toolbar']=new pt(_0x4513ec,{'shouldGroupWhenFull':_0x3a2480['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4513ec,_0x5dfc23);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2f0980,_0x4e139a){const _0x2e98ee=new this(_0x2f0980,_0x4e139a);return await _0x2e98ee['initPlugins'](),await _0x2e98ee['ui']['init'](_0x2f0980),await _0x2e98ee['data']['init'](_0x2e98ee['config']['get']('initialData')||''),_0x2e98ee['fire']('ready'),_0x2e98ee;}constructor(_0x204d38,_0x1d1411){super(_0x1d1411),this['sourceElement']=_0x204d38,this['model']['document']['createRoot']();const _0x527f61=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x527f61);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x580e1f{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x9588f0){super(_0x9588f0),this['result']='end';}}class H extends _0x580e1f{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x6bdd1){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x6bdd1;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x19552a){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x19552a);}['getRevision'](_0x5864b7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5864b7);}['getRevisions'](_0x21af38={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x21af38);}['_getRevisionViewerEditorConfig'](){const _0x58cba2=this['editor'],_0x28e381=_0x47375a(_0x58cba2,g),_0x274d32=_0x58cba2['plugins']['get']('RevisionTracker'),_0x4cd4f6=_0x58cba2['plugins']['get']('Users')['users'];return _0x28e381['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x28e381['lazyRoots'],(_0x28e381['plugins']['push'](k,d,R,class extends _0x580e1f{static get['requires'](){return[d,'Users'];}['init'](){const _0x346914=this['editor']['plugins']['get']('Users');for(const _0x144d99 of _0x4cd4f6)_0x144d99['isAnonymous']||_0x346914['getUser'](_0x144d99['id'])||_0x346914['addUser'](_0x144d99);const _0x44c979=_0x274d32['repository']['getRevisions']();let _0x469efd=null;const _0x467865=this['editor']['plugins']['get']('RevisionViewer');_0x467865['adapter']=_0x274d32['adapter'],_0x467865['bind']('isEnabled')['to'](_0x274d32),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x58cba2,'isReadOnly',_0x373bd1=>!_0x373bd1);for(const _0x3503f9 of _0x44c979){const _0x44a966=null===_0x3503f9['creator'];if(_0x44a966&&_0x3503f9['toVersion']===_0x3503f9['fromVersion'])continue;const _0x3e51f0=_0x3503f9['toJSON']();_0x467865['addRevisionData'](_0x3e51f0,(_0x3533cc,_0x2f99fb,_0x517ee3)=>{if(_0x44a966){if(_0x469efd)_0x469efd['_update'](_0x3533cc,_0x2f99fb);else{if(!_0x2f99fb){const _0x336b5d=_0x517ee3['toJSON']();_0x336b5d['id']=_0x4f3974(),_0x274d32['saveRevision'](_0x336b5d,_0x517ee3['toVersion'])['then'](_0xd966aa=>{_0x469efd=_0xd966aa;});}}}else _0x3503f9['_update'](_0x3533cc,_0x2f99fb);});}}},w),_0x28e381);}['_enhanceShowRevisionViewerCallback'](){const _0xcc07ab=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x48ae09=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1b486e=this['editor']['plugins']['get']('Autosave');await _0x1b486e['save']();}else await _0x48ae09['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x58d362=this['_getRevisionViewerEditorConfig']();return _0xcc07ab(_0x58d362)['then'](_0x5b1635=>{return(this['_viewerEditor']=_0x5b1635,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5b1635;})['catch'](_0x27b8cf=>(console['error'](_0x27b8cf),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x18cec9=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x18cec9(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1a2c50=this['editor']['plugins']['get']('Annotations');_0x1a2c50['refreshVisibility'](),_0x1a2c50['refreshPositioning']();}})));}['_showRevisionViewer'](_0x45105d){const _0x5963cc=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x354852=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1ca347=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1ca347,_0x45105d)['then'](_0x7ff192=>(_0x354852['style']['display']='block',_0x5963cc['style']['display']='none',_0x7ff192));}['_closeRevisionViewer'](_0x33e646){const _0x531bfb=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x531bfb['style']['display']='',_0x33e646['destroy']();}async['_restoreRevision'](_0x1bd265){const _0x5bb0d2=this['editor'],_0x3b0314=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x13c14c=_0x5bb0d2['plugins']['get']('RevisionTracker'),_0x5200cc=_0x3b0314['repository']['getRevision'](_0x1bd265);let _0x18db15,_0x21b255,_0x4efd77;try{_0x18db15=await _0x3b0314['getRevisionData'](_0x5200cc),_0x21b255=await _0x3b0314['getRevisionRootsAttributes'](_0x5200cc);}catch(_0x4bfe21){return void console['error'](_0x4bfe21);}_0x5bb0d2['model']['change'](_0xba27f0=>{for(const _0x9033c1 of Array['from'](_0x5bb0d2['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xba27f0['removeMarker'](_0x9033c1);}),_0x3b0314['isReady']=!0x1,_0x5bb0d2['model']['enqueueChange'](_0x1ee8be=>{_0x1ee8be['setSelection'](null),_0x1ee8be['removeSelectionAttribute'](_0x5bb0d2['model']['document']['selection']['getAttributeKeys']());const _0x2ff04e=Object['keys'](_0x18db15);for(const _0x5a173c of _0x5bb0d2['model']['document']['roots'])'$graveyard'!=_0x5a173c['rootName']&&_0x5a173c['isAttached']()&&!_0x2ff04e['includes'](_0x5a173c['rootName'])&&_0x1ee8be['detachRoot'](_0x5a173c);for(const _0x393d35 of _0x2ff04e){let _0x5e1a65=_0x5bb0d2['model']['document']['getRoot'](_0x393d35);_0x5e1a65&&_0x5e1a65['isAttached']()||(_0x5e1a65=_0x1ee8be['addRoot'](_0x393d35));const _0xb80082=_0x21b255[_0x393d35],_0x517bb7=Object['keys'](_0xb80082),_0xe817d=_0x18db15[_0x393d35];for(const _0x28bd28 of _0x5e1a65['getAttributeKeys']())_0x517bb7['includes'](_0x28bd28)||_0x1ee8be['removeAttribute'](_0x28bd28,_0x5e1a65);for(const _0x55167d of _0x517bb7)_0x1ee8be['setAttribute'](_0x55167d,_0x21b255[_0x393d35][_0x55167d],_0x5e1a65);_0x1ee8be['remove'](_0x1ee8be['createRangeIn'](_0x5e1a65)),_0x1ee8be['insert'](_0x5bb0d2['data']['parse'](_0xe817d,_0x5e1a65),_0x5e1a65,0x0);}});const _0x50f184=y(_0x5bb0d2['locale'],'Restored');if(_0x5200cc['name'])_0x4efd77=-0x1==_0x5200cc['name']['indexOf'](_0x50f184)?_0x50f184+':\x20'+_0x5200cc['name']:_0x5200cc['name'];else _0x4efd77=_0x50f184+':\x20'+(_0x5200cc['createdAt']['toLocaleDateString'](_0x5bb0d2['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5200cc['createdAt']['toLocaleTimeString'](_0x5bb0d2['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x13c14c['saveRevision']({'name':_0x4efd77}),_0x3b0314['isReady']=!0x0,_0x5bb0d2['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x8dd26a){if(super(_0x8dd26a),!this['editor']['config']['get']('revisionHistory'))throw new _0x40464c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xcf1e1f=>this['_showRevisionViewer'](_0xcf1e1f)),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3e0458=>this['_closeRevisionViewer'](_0x3e0458)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3e9c93=>this['_restoreRevision'](_0x3e9c93)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|
|
23
|
+
import{Plugin as _0x60a8de,Context as _0x589935,PendingActions as _0x4e94f4,icons as _0x23c9a9,Command as _0x57861a,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x95772a,uid as _0x17f0ff,Collection as _0xa59cd0,logWarning as _0x53e253,FocusTracker as _0x1777f2,KeystrokeHandler as _0x1cde7b,scrollViewportToShowTarget as _0x3319e0,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x1dc6d5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x255797,getMarkerDomElement as _0x24ad51,ConfirmMixin as _0x561be0,sanitizeEditorConfig as _0x4bc8ba}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3b8e70,ViewText as _0x226345,ViewElement as _0x198bf5,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x510a12,ViewAttributeElement as _0x178598,ViewEmptyElement as _0x1b1163,ViewRawElement as _0x58d900,ViewUIElement as _0x1ca190,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x40c095,set as _0x256536,unset as _0x7e1fcc,isEqual as _0xef9167}from'lodash-es';import{View as _0x2edd54,submitHandler as _0xfd6b4,LabeledFieldView as mt,createLabeledInputText as _0xd60073,injectCssTransitionDisabler as ts,createDropdown as _0x1a746f,ListView as te,ListItemView as _0x217b01,ButtonView as _0x93764b,MenuBarMenuView as _0x2ab8df,MenuBarMenuListView as _0x1e477b,MenuBarMenuListItemView as _0x420b0b,MenuBarMenuListItemButtonView as _0x123a17,ContextualBalloon as _0x3009e1,ToolbarSeparatorView as _0xa708cb,IconView as _0x5af3bc,addListToDropdown as _0x37da10,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0xa7f62f}from'luxon';class a extends _0x95772a(){['setName'](_0x4585ed){this['_update']({'name':_0x4585ed});}['setAttribute'](_0x141eb4,_0x4f1447){const _0x2bddb1=_0x40c095(this['attributes']);_0x256536(_0x2bddb1,_0x141eb4,_0x4f1447),this['_update']({'attributes':_0x2bddb1});}['removeAttribute'](_0x3023cc){const _0xe1daf6=_0x40c095(this['attributes']);_0x7e1fcc(_0xe1daf6,_0x3023cc),this['_update']({'attributes':_0xe1daf6});}['_update'](_0x5007b7,_0x204590=!0x1){let _0x4367b1=!0x1;const _0x3581a2={'id':this['id']},_0x5bc2b0=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x263a4b of _0x5bc2b0){const _0x308474=_0x5007b7[_0x263a4b];void 0x0!==_0x308474&&_0x308474!==this[_0x263a4b]&&(this[_0x263a4b]=_0x308474,_0x3581a2[_0x263a4b]=_0x308474,_0x4367b1=!0x0);}_0x4367b1&&(_0x3581a2['authors']&&(_0x3581a2['authorsIds']=_0x3581a2['authors']['map'](_0x3c3c3f=>_0x3c3c3f['id']),delete _0x3581a2['authors']),this['fire']('_update',_0x3581a2,_0x204590));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4ac624=>_0x4ac624['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x8d8889){super(),this['id']=_0x8d8889['id']||_0x17f0ff(),this['creator']=_0x8d8889['creator']||null,this['authors']=_0x8d8889['authors']||[],this['diffData']=_0x8d8889['diffData']||null,this['toVersion']=_0x8d8889['toVersion']||0x0,this['fromVersion']=_0x8d8889['fromVersion']||0x0,this['set']('name',_0x8d8889['name']||''),this['set']('createdAt',_0x8d8889['createdAt']||new Date()),this['set']('attributes',_0x8d8889['attributes']||{});}}class A extends _0x60a8de{static get['requires'](){return[_0x255797];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x15b1f6){function _0x55c0cd(_0x4f90fe,_0x18f09c,_0x308031){const _0x2d5ed3={};_0x2d5ed3[_0x1a52cf([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2d5ed3[_0x1a52cf([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x2d5ed3[_0x1a52cf([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x2d5ed3[_0x1a52cf([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x2d5ed3[_0x1a52cf([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x2d5ed3[_0x1a52cf([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x2d5ed3[_0x1a52cf([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x2d5ed3[_0x1a52cf([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x2d5ed3[_0x1a52cf([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x2d5ed3[_0x1a52cf([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x2d5ed3[_0x1a52cf([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0xff505=new Uint8Array(0x10);for(let _0x15185c=0xf;_0x15185c>=0x0;--_0x15185c)_0xff505[_0x15185c]=_0x308031%0x100,_0x308031=parseInt(_0x308031/0x100);let _0x4e727d=null,_0x88edc9=0x10;const _0x1941a2=new Uint8Array(_0x18f09c),_0x334c1e=[],_0x41358f=[];_0x240b4d();for(let _0x44f173=0x0;_0x44f173<_0x4f90fe[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44f173++)0x10===_0x88edc9&&(_0x4e727d=_0x5b01d7(_0xff505),_0x88edc9=0x0,_0x3ba7bb(_0xff505)),_0x4f90fe[_0x44f173]^=_0x4e727d[_0x88edc9++];return _0x4f90fe;function _0x832016(_0x4c8619){const _0x275ba7=[];for(let _0x31c7b5=0x0;_0x31c7b5<_0x4c8619[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31c7b5+=0x4)_0x275ba7[_0x1a52cf([0x70,0x75,0x73,0x68])](_0x4c8619[_0x31c7b5]<<0x18|_0x4c8619[_0x31c7b5+0x1]<<0x10|_0x4c8619[_0x31c7b5+0x2]<<0x8|_0x4c8619[_0x31c7b5+0x3]);return _0x275ba7;}function _0x3ba7bb(_0x26aafa){for(let _0x4318c4=0xf;_0x4318c4>=0x0;_0x4318c4--){if(0xff!==_0x26aafa[_0x4318c4]){_0x26aafa[_0x4318c4]++;break;}_0x26aafa[_0x4318c4]=0x0;}}function _0x5b01d7(_0x1715d9){const _0x2227cb=_0x334c1e[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3c6c55=[0x0,0x0,0x0,0x0];let t=_0x832016(_0x1715d9);for(let _0x356043=0x0;_0x356043<0x4;_0x356043++)t[_0x356043]^=_0x334c1e[0x0][_0x356043];for(let _0xc47fd0=0x1;_0xc47fd0<_0x2227cb;_0xc47fd0++){for(let _0x2a721c=0x0;_0x2a721c<0x4;_0x2a721c++)_0x3c6c55[_0x2a721c]=_0x2d5ed3[_0x1a52cf([0x54,0x31])][t[_0x2a721c]>>0x18&0xff]^_0x2d5ed3[_0x1a52cf([0x54,0x32])][t[(_0x2a721c+0x1)%0x4]>>0x10&0xff]^_0x2d5ed3[_0x1a52cf([0x54,0x33])][t[(_0x2a721c+0x2)%0x4]>>0x8&0xff]^_0x2d5ed3[_0x1a52cf([0x54,0x34])][0xff&t[(_0x2a721c+0x3)%0x4]]^_0x334c1e[_0xc47fd0][_0x2a721c];t=_0x3c6c55[_0x1a52cf([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5de0cb=new Uint8Array(0x10);let _0xb59936;for(let _0x330c33=0x0;_0x330c33<0x4;_0x330c33++)_0xb59936=_0x334c1e[_0x2227cb][_0x330c33],_0x5de0cb[0x4*_0x330c33]=0xff&(_0x2d5ed3[_0x1a52cf([0x53])][t[_0x330c33]>>0x18&0xff]^_0xb59936>>0x18),_0x5de0cb[0x4*_0x330c33+0x1]=0xff&(_0x2d5ed3[_0x1a52cf([0x53])][t[(_0x330c33+0x1)%0x4]>>0x10&0xff]^_0xb59936>>0x10),_0x5de0cb[0x4*_0x330c33+0x2]=0xff&(_0x2d5ed3[_0x1a52cf([0x53])][t[(_0x330c33+0x2)%0x4]>>0x8&0xff]^_0xb59936>>0x8),_0x5de0cb[0x4*_0x330c33+0x3]=0xff&(_0x2d5ed3[_0x1a52cf([0x53])][0xff&t[(_0x330c33+0x3)%0x4]]^_0xb59936);return _0x5de0cb;}function _0x240b4d(){const _0x2b071e=_0x2d5ed3[_0x1a52cf([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1941a2[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4433c3=0x0;_0x4433c3<=_0x2b071e;_0x4433c3++)_0x334c1e[_0x1a52cf([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x41358f[_0x1a52cf([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x439dd3=0x4*(_0x2b071e+0x1),_0x5c0d05=_0x1941a2[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x531867=_0x832016(_0x1941a2);let _0x122b65;for(let _0xf70577=0x0;_0xf70577<_0x5c0d05;_0xf70577++)_0x122b65=_0xf70577>>0x2,_0x334c1e[_0x122b65][_0xf70577%0x4]=_0x531867[_0xf70577],_0x41358f[_0x2b071e-_0x122b65][_0xf70577%0x4]=_0x531867[_0xf70577];let _0x439766,_0x140394=0x0,t=_0x5c0d05;for(;t<_0x439dd3;){_0x439766=_0x531867[_0x5c0d05-0x1],_0x531867[0x0]^=_0x2d5ed3[_0x1a52cf([0x53])][_0x439766>>0x10&0xff]<<0x18^_0x2d5ed3[_0x1a52cf([0x53])][_0x439766>>0x8&0xff]<<0x10^_0x2d5ed3[_0x1a52cf([0x53])][0xff&_0x439766]<<0x8^_0x2d5ed3[_0x1a52cf([0x53])][_0x439766>>0x18&0xff]^_0x2d5ed3[_0x1a52cf([0x72,0x63,0x6f,0x6e])][_0x140394]<<0x18,_0x140394+=0x1;for(let _0x85423c=0x1;_0x85423c<_0x5c0d05/0x2;_0x85423c++)_0x531867[_0x85423c]^=_0x531867[_0x85423c-0x1];_0x439766=_0x531867[_0x5c0d05/0x2-0x1],_0x531867[_0x5c0d05/0x2]^=_0x2d5ed3[_0x1a52cf([0x53])][0xff&_0x439766]^_0x2d5ed3[_0x1a52cf([0x53])][_0x439766>>0x8&0xff]<<0x8^_0x2d5ed3[_0x1a52cf([0x53])][_0x439766>>0x10&0xff]<<0x10^_0x2d5ed3[_0x1a52cf([0x53])][_0x439766>>0x18&0xff]<<0x18;for(let _0x1980b3=_0x5c0d05/0x2+0x1;_0x1980b3<_0x5c0d05;_0x1980b3++)_0x531867[_0x1980b3]^=_0x531867[_0x1980b3-0x1];let _0x31249b,_0x1cf12d,_0x2159cb=0x0;for(;_0x2159cb<_0x5c0d05&&t<_0x439dd3;)_0x31249b=t>>0x2,_0x1cf12d=t%0x4,_0x334c1e[_0x31249b][_0x1cf12d]=_0x531867[_0x2159cb],_0x41358f[_0x2b071e-_0x31249b][_0x1cf12d]=_0x531867[_0x2159cb++],t++;}for(let _0xf48622=0x1;_0xf48622<_0x2b071e;_0xf48622++)for(let _0x11f3e9=0x0;_0x11f3e9<0x4;_0x11f3e9++)_0x439766=_0x41358f[_0xf48622][_0x11f3e9],_0x41358f[_0xf48622][_0x11f3e9]=_0x2d5ed3[_0x1a52cf([0x55,0x31])][_0x439766>>0x18&0xff]^_0x2d5ed3[_0x1a52cf([0x55,0x32])][_0x439766>>0x10&0xff]^_0x2d5ed3[_0x1a52cf([0x55,0x33])][_0x439766>>0x8&0xff]^_0x2d5ed3[_0x1a52cf([0x55,0x34])][0xff&_0x439766];}}function _0x1a52cf(_0x6b92ab){return _0x6b92ab['map'](_0x1f917d=>String['fromCharCode'](_0x1f917d))['join']('');}(_0x43d1ec=>{function _0x52d3ad(){const _0x3db6cd=[{[_0x1a52cf([0x69,0x64])]:0x1,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1a52cf([0x69,0x64])]:0x2,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1a52cf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1a52cf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1a52cf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1a52cf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1a52cf([0x69,0x64])]:0x3,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1a52cf([0x69,0x64])]:0x4,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1a52cf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1a52cf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1a52cf([0x69,0x64])]:0x5,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc]}},{[_0x1a52cf([0x69,0x64])]:0x6,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc]}},{[_0x1a52cf([0x69,0x64])]:0x7,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc]}},{[_0x1a52cf([0x69,0x64])]:0x8,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc]}},{[_0x1a52cf([0x69,0x64])]:0x9,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1a52cf([0x69,0x64])]:0xa,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc]}},{[_0x1a52cf([0x69,0x64])]:0xb,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1a52cf([0x69,0x64])]:0xc,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1a52cf([0x69,0x64])]:0xd,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1a52cf([0x66,0x67,0x69])]:[0xc]}},{[_0x1a52cf([0x69,0x64])]:0xe,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1a52cf([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x1a52cf([0x69,0x64])]:0xf,[_0x1a52cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1a52cf([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1a52cf([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x4c7432(_0x3db6cd),_0x3db6cd;function _0x161f3e(_0x4f22c8){return 0x1<<_0x4f22c8-0x1;}function _0x4c7432(_0x28283e){_0x28283e[_0x1a52cf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8edd3b=>{_0x8edd3b[_0x1a52cf([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x161f3e(_0x8edd3b[_0x1a52cf([0x69,0x64])]),_0x154f81(_0x8edd3b)&&_0x8edd3b[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4c7432(_0x8edd3b[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x154f81(_0x3b32fc){return _0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3b32fc;}const _0x4125ff=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5f50ea=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x18595e(_0xc366ba){const _0x43ae99=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1a4774(_0xc366ba,new Uint8Array([..._0x4125ff,..._0x43ae99,..._0x5f50ea]));}function _0x1a4774(_0x598665,_0x2043d2){const _0xda1a1a=_0x272e32(_0x598665),_0x477c74=Array[_0x1a52cf([0x66,0x72,0x6f,0x6d])](_0x1c0b08(_0xda1a1a)),_0xbf7446=_0x477c74[_0x1a52cf([0x70,0x6f,0x70])](),_0x313612=_0x477c74[_0x1a52cf([0x70,0x6f,0x70])]();return _0x2cb685(_0x55c0cd(_0x477c74,_0x2043d2,_0x313612+0x100*_0xbf7446));}function _0x272e32(_0x1c39b5){const _0x4e4ae0=atob(_0x1c39b5),[_0x2992e9,_0x258f8b]=_0x4e4ae0[_0x1a52cf([0x73,0x70,0x6c,0x69,0x74])](_0x1a52cf([0x2d]));try{if(atob(_0x258f8b))return atob(_0x2992e9);}catch(_0x4302fc){}return _0x4e4ae0;}function _0x280348(_0x15155c){try{const _0x203816=_0x18595e(_0x15155c),_0x3672d2=JSON[_0x1a52cf([0x70,0x61,0x72,0x73,0x65])](_0x203816),_0x487cb1=parseInt(_0x3672d2[_0x1a52cf([0x31])]),_0xc8486a=_0x3672d2[_0x1a52cf([0x32])]||'',_0x126644=parseInt(_0x3672d2[_0x1a52cf([0x33])]),_0x196c12=parseInt(_0x3672d2[_0x1a52cf([0x34])])||0x0,_0x4a7a0d=parseInt(_0x3672d2[_0x1a52cf([0x35])])||0x0;return{[_0x1a52cf([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xc8486a,[_0x1a52cf([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x196c12,[_0x1a52cf([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x487cb1,[_0x1a52cf([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x126644,[_0x1a52cf([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4a7a0d};}catch(_0x1b6088){return null;}}const _0x148ebf=_0x52d3ad(),_0x3ba4d4={[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5b3b3f,[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x24aec9,[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x255048},_0x33a460=_0x43d1ec[_0x1a52cf([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x132999=_0x1a52cf([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x43d1ec?_0x43d1ec['context']:_0x43d1ec['editor'],_0x3084ed=_0x1a52cf([0x34,0x30,0x34,0x38,0x30,0x38,0x35,0x32]),_0x4c197e=_0x1a52cf([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x297417=_0x132999['config']['get'](_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x111a05=_0x148ebf[_0x1a52cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x154f81)[_0x1a52cf([0x66,0x69,0x6e,0x64])](_0x368d0e=>_0x368d0e[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x33a460);function _0x305c04(_0x19bcb3,_0xe9b266){_0x3ba4d4[_0xe9b266[_0x1a52cf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x19bcb3,_0xe9b266),_0xe9b266[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xe9b266[_0x1a52cf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1a52cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fc0c3=>_0x372bf1(_0x132999,_0x4fc0c3[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1a52cf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43427c=>_0x305c04(_0x19bcb3,_0x43427c));}function _0x5b3b3f(_0x20c7e6,_0xc1ea77){_0x43b05f(_0x4d2b2e(_0x20c7e6,_0xc1ea77),_0xc1ea77);}function _0x24aec9(_0x4b7acc,_0x25fc2f){function _0x32ff73(_0x54bc0a,_0x11d5a6){try{if(_0x372bf1(_0x132999,_0x1a52cf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x54bc0a){const _0x26fe33=_0x4d2228(_0x132999,_0x1a52cf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1a52cf([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x26fe33)/0x2>_0x54bc0a[_0x1a52cf([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4c2f19(_0x11d5a6[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4d2b2e(_0x54bc0a,_0x11d5a6);}catch(_0xe436b8){return _0x4c2f19(_0x11d5a6[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x43b05f(_0x32ff73(_0x4b7acc,_0x25fc2f),_0x25fc2f);}function _0x255048(_0x2a2cd6,_0xbaad86){const _0x257633=_0x5f50ea[0x0]*_0x4125ff[0x1],_0x4c0bf9=_0x5f50ea[0x0]*_0x4125ff[0x2],_0x10b9eb=_0x5f50ea[0x2]*_0x4125ff[0x2];_0x372bf1(_0x132999,_0x1a52cf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4d2228(_0x132999,_0x1a52cf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1a52cf([0x73,0x74,0x61,0x74,0x65])]==_0x1a52cf([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3dc036()]=_0x10b9eb);function _0xe20014(_0x445872,_0x34d6f6){try{return _0x158df8()?_0x4c2f19(_0x34d6f6[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x56,0x61,0x6c,0x69,0x64])):_0x4d2b2e(_0x445872,_0x34d6f6);}catch(_0xb23548){return _0x4c2f19(_0x34d6f6[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x46a2df(_0x3d283c,_0x1d081a){const _0x1063fc=0x7;if(_0x3d283c==_0x1d081a[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x459a66();else{if(_0x3d283c==_0x1d081a[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c])){const _0xf30faa=_0x357ce7();_0xf30faa&&_0xfd6221(_0xf30faa,_0x1d081a[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4629c5=_0x45a42c();window[_0x1a52cf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xfd6221(_0x1a52cf([0x74,0x69,0x6d,0x65]),_0x1d081a[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4629c5);const _0xd6dab1=_0x4d2228(_0x132999,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1a52cf([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xd6dab1[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1063fc?_0xfd6221(_0x1a52cf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1d081a[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xd6dab1['on'](_0x1a52cf([0x61,0x64,0x64]),()=>{_0xd6dab1[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1063fc&&_0xfd6221(_0x1a52cf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1d081a[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x357ce7(){if(!_0x372bf1(_0x132999,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x17b89c in window)if(Number['isNaN'](Number(_0x17b89c))){if(window[_0x17b89c]===_0x257633)return _0x1a52cf([0x74,0x69,0x6d,0x65]);if(window[_0x17b89c]===_0x4c0bf9)return _0x1a52cf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x158df8(){if(!_0x372bf1(_0x132999,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xc9d3ea in window)if(Number['isNaN'](Number(_0xc9d3ea))&&window[_0xc9d3ea]===_0x10b9eb)return!0x0;return!0x1;}function _0xfd6221(_0x581f73,_0x490cf2){_0x459a66(),_0x4c2f19(_0x490cf2+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x581f73),window[_0x3dc036()]=_0x581f73===_0x1a52cf([0x74,0x69,0x6d,0x65])?_0x257633:_0x4c0bf9;}function _0x45a42c(){let _0x5265bc=_0x5f50ea[0x6]*_0x4125ff[0x8]*_0x4125ff[0x6];return _0x372bf1(_0x132999,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5265bc/=0xa),_0x5265bc;}function _0x459a66(){const _0x4dd62c=_0x132999;function _0x3ede9f(){_0x372bf1(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1a52cf([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1a52cf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1a52cf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1a52cf([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x569edc,_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1a52cf([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x569edc,_0x4dd62c[_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a52cf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x569edc,_0x4dd62c[_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a52cf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x569edc,_0x4dd62c[_0x1a52cf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c]))),_0x372bf1(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1a52cf([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1a52cf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1a52cf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1a52cf([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x569edc,_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1a52cf([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x569edc);}_0x4dd62c[_0x1a52cf([0x73,0x74,0x61,0x74,0x65])]==_0x1a52cf([0x72,0x65,0x61,0x64,0x79])?_0x3ede9f():_0x4dd62c[_0x1a52cf([0x6f,0x6e,0x63,0x65])](_0x1a52cf([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x372bf1(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3ede9f(),_0x372bf1(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5a192d=_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4974a7=_0x5a192d['getRevision'](0x0),_0x3ced08=_0x5a192d['getEarlierVisibleRevision'](_0x4974a7[_0x1a52cf([0x69,0x64])]);_0x4d2228(_0x4dd62c,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1a52cf([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4974a7[_0x1a52cf([0x69,0x64])],_0x3ced08?_0x3ced08[_0x1a52cf([0x69,0x64])]:null,0x1)['then'](()=>_0x3ede9f());}});}_0x46a2df(_0xe20014(_0x2a2cd6,_0xbaad86),_0xbaad86);}function _0x4d2b2e(_0x10af5a,_0x494ccf){try{return _0x542f01(_0x494ccf)?_0x4c2f19(_0x494ccf[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x56,0x61,0x6c,0x69,0x64])):_0x10af5a&&_0x3957dc(_0x10af5a[_0x1a52cf([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x494ccf)?_0x10af5a[_0x1a52cf([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1a52cf([0x6f,0x70,0x65,0x6e])][_0x1a52cf([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3084ed)/0x2>_0x10af5a[_0x1a52cf([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4c2f19(_0x494ccf[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x10af5a[_0x1a52cf([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4c2f19(_0x494ccf[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c])):_0x4c2f19(_0x494ccf[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x56,0x61,0x6c,0x69,0x64])):_0x4c2f19(_0x494ccf[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x27e195){return _0x4c2f19(_0x494ccf[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x43b05f(_0x4647fa,_0xe7c4a7){if(_0x132999 instanceof _0x589935){const _0x280ea7=_0x132999;_0x4647fa==_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3fc179(_0x280ea7):_0x4647fa==_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1a52cf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3fc179(_0x280ea7),_0x4c2f19(_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5f50ea[0x6]*_0x4125ff[0x8]*_0x4125ff[0x6]),_0x280ea7[_0x1a52cf([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1a52cf([0x6f,0x6e])](_0x1a52cf([0x61,0x64,0x64]),(_0x292f45,_0x355abc)=>{_0x4647fa!=_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4647fa!=_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4647fa!=_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x35db3f(_0x355abc);});}else{const _0x1bfee8=_0x132999;_0x4647fa==_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x35db3f(_0x1bfee8):_0x4647fa==_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c])&&_0x1bfee8[_0x1a52cf([0x6f,0x6e])](_0x1a52cf([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4e4cbb=0x0;_0x1bfee8[_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a52cf([0x6f,0x6e])](_0x1a52cf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cadcc,_0x1ec90d)=>{_0x1ec90d[0x0][_0x1a52cf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e4cbb++,0x1f8===_0x4e4cbb&&(_0x35db3f(_0x1bfee8),_0x4c2f19(_0xe7c4a7[_0x1a52cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1a52cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5cadcc[_0x1a52cf([0x6f,0x66,0x66])]());},{'priority':_0x1a52cf([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4c2f19(_0x37c360){const _0x38510f=_0x3dc036();return _0x132999[_0x38510f]=_0x37c360,_0x37c360;}function _0x3dc036(){const _0x4949be=String(window[_0x1a52cf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a52cf([0x6e,0x6f,0x77])]())[_0x1a52cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a52cf([0x2e]),'');let _0x28819f='';for(let _0x2570dc=0x0;_0x2570dc<_0x4949be[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2570dc+=0x2){let _0x130461=parseInt(_0x4949be[_0x1a52cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2570dc,_0x2570dc+0x2));_0x130461>=_0x4c197e[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x130461-=_0x4c197e[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28819f+=_0x4c197e[_0x130461];}return _0x28819f;}function _0x3fc179(_0x5c55e2){for(const _0x1025ef of _0x5c55e2[_0x1a52cf([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x35db3f(_0x1025ef);_0x4d2228(_0x5c55e2,_0x1a52cf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1a52cf([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4d2228(_0x5c55e2,_0x1a52cf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1a52cf([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x569edc;}function _0x35db3f(_0x4bcd2a){function _0x5770bf(){_0x4bcd2a[_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a52cf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x569edc,_0x4bcd2a[_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a52cf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x569edc,_0x4bcd2a[_0x1a52cf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a52cf([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4bcd2a[_0x1a52cf([0x73,0x74,0x61,0x74,0x65])]==_0x1a52cf([0x72,0x65,0x61,0x64,0x79])?_0x5770bf():_0x4bcd2a[_0x1a52cf([0x6f,0x6e,0x63,0x65])](_0x1a52cf([0x72,0x65,0x61,0x64,0x79]),()=>_0x5770bf());}function _0x569edc(){return null;}function _0x3957dc(_0x7218fe,_0x6cc51c){const _0x4f87b4=!!(_0x7218fe&_0x6cc51c[_0x1a52cf([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2aec5f=_0x511061(_0x7218fe,_0x6cc51c);return _0x4f87b4||_0x2aec5f;}function _0x511061(_0x419ba4,_0xaf6313){const _0x4889de=(_0xaf6313[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1a52cf([0x66,0x67,0x69])]||null;return!!_0x4889de&&_0x148ebf[_0x1a52cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24f301=>_0x4889de[_0x1a52cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24f301[_0x1a52cf([0x69,0x64])]))[_0x1a52cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x528ed8=>!_0x2a0539(_0x528ed8))[_0x1a52cf([0x73,0x6f,0x6d,0x65])](_0x4625f1=>!!(_0x419ba4&_0x4625f1[_0x1a52cf([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2a0539(_0x98bd94){const _0x4190b2={[_0x1a52cf([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x502930};return!!_0x98bd94['forbiddenHandler']&&_0x4190b2[_0x98bd94['forbiddenHandler']]();}function _0x502930(){return!window[_0x1a52cf([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x372bf1(_0x132999,_0x1a52cf([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x542f01(_0xaffb3c){if(!_0x372bf1(_0x132999,_0xaffb3c[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x44a15a=_0xaffb3c[_0x1a52cf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x52f3e4=_0x44a15a[_0x1a52cf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x20bf1b=_0x44a15a[_0x1a52cf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5bd2c1=_0x44a15a[_0x1a52cf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x372bf1(_0x132999,_0x1a52cf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4d2228(_0x132999,_0x1a52cf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1a52cf([0x73,0x74,0x61,0x74,0x65])]==_0x1a52cf([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x52f3e4)return!0x0;if(_0x372bf1(_0x132999,_0x1a52cf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4d2228(_0x132999,_0x1a52cf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1a52cf([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1a52cf([0x65,0x6e,0x64])&&_0x20bf1b)return!0x0;return!(!_0x372bf1(_0x132999,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x4d2228(_0x132999,_0x1a52cf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x1a52cf([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1a52cf([0x65,0x6e,0x64])||!_0x5bd2c1);}function _0x372bf1(_0x306d13,_0x50f2d0){return _0x306d13[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1a52cf([0x68,0x61,0x73])](_0x50f2d0);}function _0x4d2228(_0x531680,_0x2274d2){return _0x531680[_0x1a52cf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1a52cf([0x67,0x65,0x74])](_0x2274d2);}function _0x2cb685(_0x46f385){let _0x18136e='';for(const _0xc3a6ef of _0x46f385)_0x18136e+=String[_0x1a52cf([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xc3a6ef);return _0x18136e;}function _0x1c0b08(_0x4e6460){const _0x1359f9=new Uint8Array(_0x4e6460[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x20584c=0x0;_0x20584c<_0x4e6460[_0x1a52cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20584c++)_0x1359f9[_0x20584c]=_0x4e6460[_0x1a52cf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20584c);return _0x1359f9;}_0x111a05&&_0x305c04(_0x280348(_0x297417),_0x111a05);})(_0x15b1f6);}(this);}['createRevision'](_0x287373){const _0x40f2d3=this['editor']['plugins']['get']('Users');return new a({'id':_0x287373['id'],'name':_0x287373['name'],'creator':_0x287373['creatorId']?_0x40f2d3['getUser'](_0x287373['creatorId']):null,'diffData':_0x287373['diffData']||_0x287373['data'],'authors':_0x287373['authorsIds']['map'](_0x33f3b9=>_0x40f2d3['getUser'](_0x33f3b9)),'createdAt':new Date(_0x287373['createdAt']),'attributes':_0x287373['attributes'],'fromVersion':_0x287373['fromVersion'],'toVersion':_0x287373['toVersion']});}['addRevision'](_0x3c4e14,_0x3f7b8d=0x0){this['_revisions']['add'](_0x3c4e14,_0x3f7b8d);}['getRevision'](_0x3a1429){return this['_revisions']['get'](_0x3a1429);}['getRevisions'](_0x458491={'toJSON':!0x1}){const _0x392179=Array['from'](this['_revisions']);return _0x392179['reverse'](),_0x458491['toJSON']?_0x392179['map'](_0x494800=>_0x494800['toJSON']()):_0x392179;}['getIndex'](_0x124e11){return this['_revisions']['getIndex'](_0x124e11);}['getEarlierVisibleRevision'](_0x22baae){const [,_0x20a8b9]=this['getRevisionsIterator'](_0x22baae,{'direction':'earlier'});return _0x20a8b9;}['getLaterVisibleRevision'](_0x83b4f){const [,_0x595036]=this['getRevisionsIterator'](_0x83b4f,{'direction':'later'});return _0x595036;}['getRevisionsInDiff'](_0x166164){const _0x84ebf6=[];for(const _0x768577 of this['getRevisionsIterator'](_0x166164['newRevisionId']))if(_0x84ebf6['push'](_0x768577),_0x768577['id']===_0x166164['oldRevisionId'])break;return _0x84ebf6;}*['getRevisionsIterator'](_0x52c2f9,{direction:_0x19db3d='earlier',filter:_0x3e7dde=_0x5bbf1a=>!0x0}={}){const _0x2b6aad='earlier'===_0x19db3d?0x1:-0x1;let _0xed582b=this['_revisions']['get'](_0x52c2f9),_0x30f0ae=this['getIndex'](_0xed582b);for(yield _0xed582b;_0xed582b;){if(_0x30f0ae+=_0x2b6aad,_0xed582b=this['getRevision'](_0x30f0ae),!_0xed582b)return;_0x3e7dde(_0xed582b)&&(yield _0xed582b);}}constructor(_0x47b087){super(_0x47b087),this['_revisions']=new _0xa59cd0();}}function y(_0x3d7e93,_0x282d27,_0x592175){const t=_0x3d7e93['t'];switch(_0x282d27){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x592175);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x592175);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x510a12,'a':_0x178598,'e':_0x1b1163,'r':_0x58d900,'u':_0x1ca190};class l extends _0x60a8de{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x255797,A,_0x4e94f4];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x1ae299=this['repository']['getRevision'](0x0),_0xad41eb=_0x1ae299&&null===_0x1ae299['creator']?_0x1ae299:null;if(this['_continueCurrentRevision']=!!_0xad41eb&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x6eaa1f=this['_source']['getCurrentRevisionId'](),_0x3fa4f2=this['repository']['getRevision'](_0x6eaa1f);if(_0x3fa4f2)this['_startingVersion']=_0x3fa4f2['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x778ffd=this['_source']['history']['_operations']['find'](_0x5f209f=>!_0x5f209f['_isInit']),_0x4a7d6a=_0x778ffd?_0x778ffd['baseVersion']:this['_source']['history']['version'];_0x1ae299?(_0x1ae299['toVersion']<_0x4a7d6a&&_0x1ae299['_update']({'toVersion':_0x4a7d6a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xad41eb['id'],this['_startingVersion']=_0xad41eb['fromVersion']):(this['_startingVersion']=_0x1ae299['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4a7d6a,this['_continueCurrentRevision']=!0x1);}}else _0xad41eb&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xad41eb['toVersion'],this['editor']['model']['document']['history']['version']),_0xad41eb['fromVersion']===_0xad41eb['toVersion']?(0x0!==_0xad41eb['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xad41eb['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xad41eb['id'],this['_startingVersion']=_0xad41eb['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x5ebac7=>!_0x5ebac7);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x13a500=this['repository']['getRevision'](0x0),_0x30d26b=await this['getRevisionDocumentData'](_0x13a500),_0x38d140=await this['getRevisionRootsAttributes'](_0x13a500);this['_replaceEditorDataWithRevisionData'](_0x30d26b,_0x38d140);}}['setSource'](_0x171f2d){this['_source']=_0x171f2d;}async['update'](){const _0x52a2e0=await this['_source']['getLatestVersion']();if(_0x52a2e0>this['currentRevision']['toVersion']){await this['_loadState']();const _0x333fde=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x52a2e0});_0x333fde['authors']=_0x333fde['authorsIds']['map'](_0x40ab77=>this['editor']['plugins']['get']('Users')['getUser'](_0x40ab77)),this['currentRevision']['_update'](_0x333fde);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x489b1d={},_0x17eeba=null){const _0x24f371=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x17eeba>this['currentRevision']['toVersion']&&(_0x17eeba=null),null===_0x17eeba&&(_0x17eeba=await this['_source']['getLatestVersion']());const _0x271b76=this['_getFromVersion'](_0x17eeba),_0x22ce0b=this['buildRevisionData']({'from':_0x271b76,'to':_0x17eeba});if(this['currentRevision']['toVersion']<_0x17eeba){const _0x3dd424=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x17eeba,'to':_0x17eeba});_0x3dd424['authors']=[],_0x3dd424['authorsIds']=[],_0x3dd424['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3dd424,!0x0),delete _0x3dd424['authors'],_0x24f371['push'](_0x3dd424);}_0x489b1d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x489b1d['name']=_0x489b1d['name']||null,_0x489b1d['id']=_0x489b1d['id']||_0x17f0ff(),_0x489b1d={..._0x489b1d,..._0x22ce0b};const _0x339413=this['addRevisionData'](_0x489b1d);_0x24f371['push'](_0x489b1d);const _0x3b4f10=this['repository']['getIndex'](_0x339413);if(0x0!==_0x3b4f10){const _0x4ec370=this['repository']['getRevision'](_0x3b4f10-0x1);if(_0x4ec370['fromVersion']!==_0x17eeba){const _0x27f59d=this['_revisionDataBuilder']['getData'](_0x17eeba,_0x4ec370['toVersion']),_0x3c4b7e={'id':_0x4ec370['id'],'diffData':_0x27f59d['diffData'],'authorsIds':_0x27f59d['authorsIds'],'authors':_0x27f59d['authorsIds']['map'](_0x2b73d5=>this['editor']['plugins']['get']('Users')['getUser'](_0x2b73d5)),'fromVersion':_0x17eeba};_0x4ec370===this['currentRevision']&&(_0x3c4b7e['createdAt']=new Date(_0x489b1d['createdAt']['getTime']()+0xa)),_0x4ec370['_update'](_0x3c4b7e,!0x0),delete _0x3c4b7e['authors'],_0x24f371['push'](_0x3c4b7e);}}if(this['adapter']){for(const _0x56dad9 of _0x24f371)this['_bufferUpdate'](_0x56dad9['id'],_0x56dad9,!0x0);this['sendBufferedUpdates']();}return _0x339413;}['addRevisionData'](_0x30ba0c){const _0x22b846=this['repository']['createRevision'](_0x30ba0c);return this['adapter']&&_0x22b846['on']('_update',(_0x1daccb,_0x1848fc,_0x425cbe)=>{_0x425cbe||(this['_bufferUpdate'](_0x1848fc['id'],_0x1848fc,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x22b846,this['_findInsertionIndex'](_0x22b846)),_0x22b846;}async['getRevisionDocumentData'](_0xb15e50){await this['_loadRevisionData'](_0xb15e50);const _0x2d5ec5={};for(const _0x19475b in _0xb15e50['diffData']){if(_0xb15e50['diffData'][_0x19475b]['attachChange']&&!_0xb15e50['diffData'][_0x19475b]['attachChange']['isAttached'])continue;const _0x344578=this['_removeRevisionMarkers'](JSON['parse'](_0xb15e50['diffData'][_0x19475b]['insertions'])),_0x15c459=this['editor']['editing']['view']['document'],_0x3957b3=new _0x3b8e70(_0x15c459,_0x344578['map'](_0x48944e=>B(_0x48944e,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2d5ec5[_0x19475b]=this['editor']['data']['processor']['toData'](_0x3957b3),this['editor']['data']['processor']['useFillerType']('default');}return _0x2d5ec5;}async['getRevisionRootsAttributes'](_0x12d6c3){await this['_loadRevisionData'](_0x12d6c3);const _0x4b1f9c={};for(const _0x1b6c17 in _0x12d6c3['diffData'])_0x12d6c3['diffData'][_0x1b6c17]['attachChange']&&!_0x12d6c3['diffData'][_0x1b6c17]['attachChange']['isAttached']||(_0x4b1f9c[_0x1b6c17]=_0x12d6c3['diffData'][_0x1b6c17]['attributesAfter']||{});return _0x4b1f9c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x32faf9=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4ccd8b=0x0;_0x4ccd8b<_0x32faf9['length'];_0x4ccd8b++){const _0x5bc978=_0x32faf9[_0x4ccd8b];let _0x592745=!0x1;for(const _0x6f5e40 of Object['keys'](_0x5bc978))void 0x0===_0x5bc978[_0x6f5e40]?delete _0x5bc978[_0x6f5e40]:'id'!==_0x6f5e40&&(_0x592745=!0x0);_0x592745||(_0x32faf9[_0x4ccd8b]=null);}if(_0x32faf9=_0x32faf9['filter'](_0x195b95=>null!==_0x195b95),!_0x32faf9['length'])return;for(let _0x1ac8ec=0x0;_0x1ac8ec<_0x32faf9['length'];_0x1ac8ec++){const _0x8fffe=_0x32faf9[_0x1ac8ec];void 0x0!==_0x8fffe['fromVersion']&&void 0x0===_0x8fffe['toVersion']&&(_0x8fffe['toVersion']=this['repository']['getRevision'](_0x8fffe['id'])['toVersion']),void 0x0!==_0x8fffe['toVersion']&&void 0x0===_0x8fffe['fromVersion']&&(_0x8fffe['fromVersion']=this['repository']['getRevision'](_0x8fffe['id'])['fromVersion']);}const _0x1a5e0b=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x32faf9,_0x1a5e0b)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x282b5d=>{if(_0x282b5d){for(const _0x28f1b7 of _0x282b5d)this['setRevisionData']({'id':_0x28f1b7['id'],'createdAt':_0x28f1b7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x47a300,_0x299696){let _0x51c1c8=this['editor']['config']['get']('initialData'),_0x2863f0=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x51c1c8){_0x51c1c8={};for(const _0x10d609 of this['editor']['model']['document']['getRootNames']())_0x51c1c8[_0x10d609]='';}if('string'==typeof _0x51c1c8&&(_0x51c1c8={'main':_0x51c1c8}),void 0x0===_0x2863f0){_0x2863f0={};for(const _0x4a16e1 of this['editor']['model']['document']['getRootNames']())_0x2863f0[_0x4a16e1]={};}let _0x44994a=!0x1;const _0xb193bc=Object['keys'](_0x51c1c8),_0x34ca8b=Object['keys'](_0x47a300);for(const _0x21d767 of _0xb193bc){if(_0x51c1c8[_0x21d767]!==_0x47a300[_0x21d767]&&''!==_0x51c1c8[_0x21d767]['trim']()){_0x44994a=!0x0;break;}if(!_0xef9167(_0x2863f0[_0x21d767],_0x299696[_0x21d767])&&Object['keys'](_0x2863f0[_0x21d767])['length']>0x0){_0x44994a=!0x0;break;}}_0x44994a||(_0x44994a=_0x34ca8b['some'](_0x3817c8=>!this['editor']['model']['document']['getRoot'](_0x3817c8))),_0x44994a&&_0x53e253('editor-initial-data-replaced-with-revision-data',{'editorData':_0x51c1c8,'editorRootsAttributes':_0x2863f0,'revisionData':_0x47a300,'revisionRootsAttributes':_0x299696}),this['editor']['config']['set']('initialData',_0x47a300),this['editor']['config']['set']('rootsAttributes',_0x299696);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x485f9b=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x485f9b['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4772b7){const _0x34c29d=this['repository']['getRevisions']();_0x34c29d['reverse']();let _0x1a03db=0x0;for(;_0x1a03db<_0x34c29d['length'];){const _0x309d8f=_0x34c29d[_0x1a03db];if(_0x309d8f===this['currentRevision']){_0x1a03db++;continue;}if(_0x309d8f['id']===this['_initialRevisionId'])break;const _0x2bd019=_0x4772b7['toVersion']-_0x309d8f['toVersion']||_0x4772b7['fromVersion']-_0x309d8f['fromVersion'];if(_0x2bd019>0x0)break;if(_0x2bd019<0x0)_0x1a03db++;else{if(!_0x4772b7['creator']&&_0x309d8f['creator'])break;if(_0x309d8f['creator']||!_0x4772b7['creator']){if(_0x4772b7['createdAt']>_0x309d8f['createdAt'])break;_0x1a03db++;}else _0x1a03db++;}}return _0x1a03db;}['setRevisionData'](_0x5d613e){const _0x44ba5a=this['repository']['getRevision'](_0x5d613e['id']);if(_0x5d613e['createdAt']&&(_0x5d613e['createdAt']=new Date(_0x5d613e['createdAt'])),_0x5d613e['authorsIds']){const _0x25971c=this['editor']['plugins']['get']('Users');_0x5d613e['authors']=_0x5d613e['authorsIds']['map'](_0x36412c=>_0x25971c['getUser'](_0x36412c));}_0x44ba5a['_update'](_0x5d613e,!0x0);}['buildRevisionData']({revision:_0x49749e=null,from:_0x23ede4=null,to:_0x4422f9=null}){_0x23ede4=null!==_0x23ede4?_0x23ede4:_0x49749e['fromVersion'],_0x4422f9=null!==_0x4422f9?_0x4422f9:_0x49749e['toVersion'];const _0x1f647c=this['_revisionDataBuilder']['getData'](_0x23ede4,_0x4422f9),_0x3e8227={'diffData':_0x1f647c['diffData'],'authorsIds':_0x1f647c['authorsIds'],'fromVersion':_0x23ede4,'toVersion':_0x4422f9};if(!_0x49749e||_0x4422f9!==_0x49749e['toVersion']){const _0x4926ac=_0x4422f9-0x1,_0x152dac=this['_source']['history']['getOperation'](_0x4926ac);_0x3e8227['createdAt']=_0x152dac&&_0x152dac['createdAt']||new Date();}if(this['_loadedStateData']&&_0x23ede4===this['_loadedStateData']['fromVersion']){for(const _0x8082b2 of this['_loadedStateData']['authors'])_0x3e8227['authorsIds']['includes'](_0x8082b2['id'])||_0x3e8227['authorsIds']['push'](_0x8082b2['id']);}return _0x3e8227;}['_loadRevisionData'](_0x162634){if(!_0x162634||_0x162634['diffData'])return Promise['resolve']();{const _0x43b11c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x43b11c,'revisionId':_0x162634['id']})['then'](_0x5dcc09=>{_0x162634['diffData']=_0x5dcc09['diffData'];});}}['_bufferUpdate'](_0x220918,_0x2a2078,_0x3c80aa){if(this['_bufferedUpdates']['has'](_0x220918)){const _0x39067a=this['_bufferedUpdates']['get'](_0x220918);_0x2a2078=_0x3c80aa?{..._0x39067a,..._0x2a2078}:{..._0x2a2078,..._0x39067a};}this['_bufferedUpdates']['set'](_0x220918,_0x2a2078);}['_getFromVersion'](_0x54bcbd){const _0x2618ee=this['repository']['getRevisions']();_0x2618ee['reverse'](),_0x2618ee['shift']();const _0x4663ca=_0x2618ee['find'](_0x5a3731=>_0x5a3731['toVersion']<=_0x54bcbd)['toVersion'];return _0x4663ca<this['_startingVersion']?this['_startingVersion']:_0x4663ca;}['_createInitialRevision'](_0x108787){const _0x332475=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x332475)this['_initialRevisionId']=_0x332475['id'];else{const _0x7ea4b6=!this['editor']['model']['document']['roots']['find'](_0x7f9336=>this['editor']['model']['hasContent'](_0x7f9336)),_0x241f73=this['editor']['plugins']['get']('Users')['me']['id'],_0x1f30c4=y(this['editor']['locale'],_0x7ea4b6?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x108787,'to':_0x108787,'id':this['_initialRevisionId'],'name':_0x1f30c4,'creatorId':_0x241f73});}}['_createCurrentRevision'](_0x495e24){const _0x5c1f94=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5c1f94),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x495e24,'to':_0x495e24,'id':_0x5c1f94,'name':'','creatorId':null}));}['_makeRevision']({name:_0x59da7c,from:_0x10f5dd,to:_0x42ab7c,creatorId:_0x522e2b,id:_0x27f182}){const _0x1d12ae=this['buildRevisionData']({'from':_0x10f5dd,'to':_0x42ab7c});_0x1d12ae['name']=_0x59da7c,_0x1d12ae['creatorId']=_0x522e2b,_0x1d12ae['id']=_0x27f182;const _0xbbc308=this['addRevisionData'](_0x1d12ae);return this['adapter']&&this['_bufferUpdate'](_0x1d12ae['id'],_0x1d12ae,!0x0),_0xbbc308;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2f30ba){return(_0x2f30ba=_0x2f30ba['filter'](_0x510aff=>!_0x510aff['name']||'revision-start'!==_0x510aff['name']&&'revision-end'!==_0x510aff['name']))['forEach'](_0x1e02f0=>{'string'!=typeof _0x1e02f0&&(_0x1e02f0['children']=this['_removeRevisionMarkers'](_0x1e02f0['children']),_0x1e02f0['attributes']=_0x1e02f0['attributes']['filter'](_0x190b13=>!_0x190b13[0x0]['startsWith']('data-revision-')));}),_0x2f30ba;}constructor(_0x4a850c){super(_0x4a850c),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x1e023d=_0x17f0ff();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1e023d},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x247099,_0x305fd1){const _0x14ed5a=_0x305fd1['editing']['view']['document'];if('string'==typeof _0x247099)return new _0x226345(_0x14ed5a,_0x247099);{const _0xe1fd28=_0x247099['children']['map'](_0x382811=>B(_0x382811,_0x305fd1));return new(T[_0x247099['type']]||_0x198bf5)(_0x14ed5a,_0x247099['name'],_0x247099['attributes'],_0xe1fd28);}}class J{['init'](_0x3e4efe){this['source']=_0x3e4efe;const _0x3b5a9d=new Map(),_0xc6bfe9=new Map(),_0x47ce93=this['editor']['model']['document']['roots']['map'](_0x5308f1=>_0x5308f1['rootName']);for(const _0x11976a of _0x47ce93){const _0x265fa9=this['editor']['model']['document']['getRoot'](_0x11976a),_0x189394=q(_0x265fa9);_0x3b5a9d['set'](_0x11976a,_0x189394),_0xc6bfe9['set'](_0x11976a,Object['fromEntries'](_0x265fa9['getAttributes']()));}const _0x244f7b=Array['from'](this['editor']['model']['markers'])['map'](_0xc941a6=>[_0xc941a6['name'],_0xc941a6['getRange']()]),_0x5e08ba=this['source']['version'];this['_saveMetaData'](_0x5e08ba,_0x3b5a9d,_0x244f7b,_0xc6bfe9),this['_startingRevisionId']=this['_revisionId'];const _0x89e059=new Map(),_0x1daf42=new Map();for(const _0x62715e of _0x47ce93){const _0x883415=G(_0x62715e);_0x89e059['set'](_0x62715e,_0x883415),_0x1daf42['set'](_0x62715e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x89e059,[],_0x1daf42);}['getData'](_0x3f79a2,_0x50bf21){if(this['_lastFrom']===_0x3f79a2&&this['_lastTo']<=_0x50bf21)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x50bf21,!0x0);else{if(!this['_savedMetaData']['has'](_0x3f79a2)){const _0x1b4bcb=this['_getPreviousFrom'](_0x3f79a2);this['_calculateMetaData'](_0x1b4bcb,_0x3f79a2,!0x1);}this['_calculateMetaData'](_0x3f79a2,_0x50bf21,!0x0);}return this['_lastFrom']=_0x3f79a2,this['_lastTo']=_0x50bf21,this['_getState']();}['loadState'](_0x57267f){this['_reset'](),this['_lastFrom']=_0x57267f['fromVersion'],this['_lastTo']=_0x57267f['toVersion'];for(const _0x56a506 in _0x57267f['diffData']){const _0x5173e8=_0x57267f['diffData'][_0x56a506]['attachChange'],_0x32c52b=_0x40c095(_0x57267f['diffData'][_0x56a506]['attributesBefore'])||{},_0x5582a5=this['_makeModelFromViewString'](_0x57267f['diffData'][_0x56a506]['deletions']);_0x5582a5['rootName']=_0x56a506,_0x5582a5['_isAttached']=!_0x5173e8||!_0x5173e8['isAttached'],_0x5582a5['isAttached']=()=>_0x5582a5['_isAttached'],this['_baseRoots']['set'](_0x56a506,_0x5582a5),this['_baseRootsAttributes']['set'](_0x56a506,_0x32c52b),_0x5173e8&&this['_touchedRoots']['set'](_0x56a506,_0x5173e8);const _0x30c99e=this['_makeIdsRoot'](_0x5582a5);this['_baseIdsRoots']['set'](_0x56a506,_0x30c99e);for(const [_0x412caa,_0x5f1010]of _0x5582a5['markers']){if(!_0x412caa['startsWith']('revision:'))continue;const _0x705f7c=_0x412caa['split'](':')[0x2];for(const _0x1f680a of _0x5f1010['getWalker']({'singleCharacters':!0x0})){const _0x2391a1=this['_getVidAttributeName'](_0x1f680a),_0x35cdef='elementEnd'==_0x1f680a['type']?_0x1f680a['previousPosition']['path']['slice'](0x0,-0x1):_0x1f680a['previousPosition']['path'],_0x50c19b=_0x30c99e['getNodeByPath'](_0x35cdef)['getAttribute'](_0x2391a1);this['_touched']['set'](_0x50c19b,{'userId':_0x705f7c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x224db2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1cbd24=>!this['_touched']['has'](_0x1cbd24));let _0x439886=0x0;const _0x4fedcf=new Map();for(const _0x3ffd09 in _0x57267f['diffData']){const _0x12ea1b=_0x57267f['diffData'][_0x3ffd09]['attachChange'],_0x16f83a=_0x40c095(_0x57267f['diffData'][_0x3ffd09]['attributesAfter'])||{},_0x1603a7=this['_makeModelFromViewString'](_0x57267f['diffData'][_0x3ffd09]['insertions']);_0x1603a7['rootName']=_0x3ffd09,_0x1603a7['_isAttached']=!_0x12ea1b||_0x12ea1b['isAttached'],_0x1603a7['isAttached']=()=>_0x1603a7['_isAttached'],this['_diffRoots']['set'](_0x3ffd09,_0x1603a7),this['_diffRootsAttributes']['set'](_0x3ffd09,_0x16f83a);const _0x39da99=this['_makeIdsRoot'](_0x1603a7,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3ffd09,_0x39da99),_0x4fedcf['set'](_0x3ffd09,_0x1603a7['isAttached']()?_0x16f83a:{});for(const [_0x5baa31,_0x2c2663]of _0x1603a7['markers']){if(!_0x5baa31['startsWith']('revision:'))continue;const _0xc01bc6=_0x5baa31['split'](':')[0x2];for(const _0x4f74fc of _0x2c2663['getWalker']({'singleCharacters':!0x0})){const _0x57da4d=this['_getVidAttributeName'](_0x4f74fc),_0x4564bd=this['_revisionId']++,_0x1a61d6='elementEnd'==_0x4f74fc['type']?_0x4f74fc['previousPosition']['path']['slice'](0x0,-0x1):_0x4f74fc['previousPosition']['path'];_0x39da99['getNodeByPath'](_0x1a61d6)['_setAttribute'](_0x57da4d,_0x4564bd),this['_touched']['set'](_0x4564bd,{'userId':_0xc01bc6});}}for(const _0x4615ab of this['editor']['model']['createRangeIn'](_0x1603a7)['getWalker']({'singleCharacters':!0x0})){const _0x30e62c=this['_getVidAttributeName'](_0x4615ab),_0x2bc8d9='elementEnd'==_0x4615ab['type']?_0x4615ab['previousPosition']['path']['slice'](0x0,-0x1):_0x4615ab['previousPosition']['path'],_0x875659=_0x39da99['getNodeByPath'](_0x2bc8d9);_0x875659['getAttribute'](_0x30e62c)>0x0||_0x875659['_setAttribute'](_0x30e62c,_0x224db2[_0x439886++]);}for(const [_0x4a8c3f,_0xff26c2]of _0x1603a7['markers'])_0x4a8c3f['startsWith']('revision:')||this['_markers']['set'](_0x4a8c3f,_0xff26c2);}const _0x32cac4=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x32cac4),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x32cac4,0x1));const _0x3a315f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3a315f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3a315f,0x1));const _0x453861=Array['from'](this['_diffRoots'])['map'](([_0x16afae,_0x26c206])=>[_0x16afae,q(_0x26c206)]);this['_saveMetaData'](this['_lastTo'],_0x453861,this['_markers'],_0x4fedcf);}['_makeModelFromViewString'](_0x434aba){const _0x3380e6=JSON['parse'](_0x434aba),_0x3b2575=this['editor']['editing']['view']['document'],_0x2bbbca=new _0x3b8e70(_0x3b2575,_0x3380e6['map'](_0xc51db2=>B(_0xc51db2,this['editor'])));return this['editor']['data']['toModel'](_0x2bbbca);}['_saveMetaData'](_0xae0196,_0x4225d1,_0x5ce99a,_0x4d44b1){const _0x59c2a2=new Map(_0x4225d1),_0x4357b6=new Map(_0x40c095(_0x4d44b1)),_0x1da180=new Map();for(const [_0xb0dcc9,_0x33ee7d]of _0x5ce99a)_0x1da180['set'](_0xb0dcc9,{'start':_0x33ee7d['start']['clone'](),'end':_0x33ee7d['end']['clone'](),'rootName':_0x33ee7d['root']['rootName']});this['_savedMetaData']['set'](_0xae0196,{'roots':_0x59c2a2,'markers':_0x1da180,'rootsAttributes':_0x4357b6});}['_removeMetaData'](_0x409f69){this['_savedMetaData']['delete'](_0x409f69);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x31fd76,_0x2e2329=null){let _0x195f60=null;_0x31fd76['is']('documentFragment')||(_0x195f60=new ft(_0x31fd76['name'],{'vid_start':null===_0x2e2329?this['_revisionId']++:_0x2e2329++}));const _0x231759=[];for(const _0x93f63b of _0x31fd76['getChildren']())if(_0x93f63b['is']('element')){_0x231759['push'](this['_makeIdsRoot'](_0x93f63b,_0x2e2329));const _0x317653=_0x231759[_0x231759['length']-0x1];null!==_0x2e2329&&(_0x2e2329=_0x317653['is']('element','$text')?_0x317653['getAttribute']('vid')+0x1:_0x317653['getAttribute']('vid_end')+0x1);}else{for(let _0x2ca89e=0x0;_0x2ca89e<_0x93f63b['offsetSize'];_0x2ca89e++)_0x231759['push'](new ft('$text',{'vid':null===_0x2e2329?this['_revisionId']++:_0x2e2329++}));}if(_0x31fd76['is']('documentFragment')){const _0x1e818d=G(_0x31fd76['rootName']);return _0x1e818d['_insertChild'](0x0,_0x231759),_0x1e818d;}return _0x195f60['_setAttribute']('vid_end',null===_0x2e2329?this['_revisionId']++:_0x2e2329++),_0x195f60['_insertChild'](0x0,_0x231759),_0x195f60;}['_calculateMetaData'](_0x2ef267,_0xd655a2,_0x124d79){this['_reset']();const {roots:_0x1177a7,markers:_0x59e51e,rootsAttributes:_0x115626}=this['_savedMetaData']['get'](_0x2ef267);this['_baseRoots']=new Map(_0x1177a7),this['_baseRootsAttributes']=new Map(_0x40c095(_0x115626));for(const [_0x326520,_0x4828fa]of this['_baseRoots'])if('$graveyard'!==_0x326520&&(this['_diffRoots']['set'](_0x326520,q(_0x4828fa)),this['_diffRootsAttributes']=new Map(_0x40c095(_0x115626)),_0x124d79)){const _0x44b7a2=this['_revisionId'];this['_idsRoots']['set'](_0x326520,this['_makeIdsRoot'](_0x4828fa)),this['_baseIdsRoots']['set'](_0x326520,this['_makeIdsRoot'](_0x4828fa,_0x44b7a2));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x124d79&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5369f6,_0x327d63]of _0x59e51e){const _0x15bde9=this['_baseRoots']['get'](_0x327d63['rootName']),_0x436fcb=this['_diffRoots']['get'](_0x327d63['rootName']),_0x18422b=new gt(this['_fixPosition'](_0x327d63['start'],_0x15bde9),this['_fixPosition'](_0x327d63['end'],_0x15bde9)),_0x1e2a29=this['_fixRange'](_0x18422b,_0x436fcb);_0x15bde9['markers']['set'](_0x5369f6,_0x18422b),this['_markers']['set'](_0x5369f6,_0x1e2a29);}this['_applyOperations'](_0x2ef267,_0xd655a2,_0x124d79);}['_applyOperations'](_0x1477f1,_0x68b96,_0xbf6d91){for(const _0xc603bb of this['source']['getOperations'](_0x1477f1,_0x68b96))this['_handleOperation'](_0xc603bb,_0xbf6d91);for(const _0x554e96 of this['_diffRoots']['values']())_0x554e96['markers']['clear']();for(const [_0x4a1c72,_0x56de5f]of this['_markers']){this['_diffRoots']['get'](_0x56de5f['root']['rootName'])['markers']['set'](_0x4a1c72,_0x56de5f['clone']());}const _0x45fbea=new Map(),_0x4088ce=new Map();for(const [_0x27353a,_0x5105ea]of this['_diffRoots'])_0x45fbea['set'](_0x27353a,q(_0x5105ea)),_0x4088ce['set'](_0x27353a,this['_diffRootsAttributes']['get'](_0x27353a));this['_saveMetaData'](_0x68b96,_0x45fbea,this['_markers'],_0x4088ce);}['_getPreviousFrom'](_0x13e45e){const _0x1d94ec=Array['from'](this['_savedMetaData']['keys']());_0x1d94ec['sort']((_0x227c82,_0x1bc04c)=>_0x227c82-_0x1bc04c),_0x1d94ec['reverse']();for(const _0x4b09b3 of _0x1d94ec)if(_0x4b09b3<_0x13e45e)return _0x4b09b3;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5a2caa,_0x2ccd6a){const _0x177aec=Array['from'](_0x2ccd6a['markers'])['map'](([_0x81184e,_0x3855c4])=>[_0x81184e,this['_fixRange'](_0x3855c4,_0x5a2caa)]);_0x5a2caa['markers']=new Map(_0x177aec);}['_transformMarkers'](_0x3853df){for(const _0x30baf5 of this['_markers']['values']()){const _0x28a2fc=_0x30baf5['getTransformedByOperation'](_0x3853df),_0x3f93fe=gt['_createFromRanges'](_0x28a2fc);_0x30baf5['start']=_0x3f93fe['start'],_0x30baf5['end']=_0x3f93fe['end'];}}['_handleOperation'](_0x57d7f7,_0x4ad090){if('addRoot'==_0x57d7f7['type']||'detachRoot'==_0x57d7f7['type'])return void this['_handleRootOperation'](_0x57d7f7,_0x4ad090);if('insert'==_0x57d7f7['type']){const _0x46be91=_0x57d7f7['position']['root']['rootName'];this['_diffRoots']['has'](_0x46be91)||(this['_diffRoots']['set'](_0x46be91,G(_0x46be91,!0x0)),this['_diffRootsAttributes']['set'](_0x46be91,{}),_0x4ad090&&this['_idsRoots']['set'](_0x46be91,G(_0x46be91,!0x0)));}else{if('addRootAttribute'==_0x57d7f7['type']||'removeRootAttribute'==_0x57d7f7['type']||'changeRootAttribute'==_0x57d7f7['type'])return void this['_handleRootAttributeOperation'](_0x57d7f7);}const _0x1f8382=this['_cloneOperation'](_0x57d7f7,this['_diffRoots']);if('marker'!==_0x57d7f7['type']&&(_0x1f8382['_execute'](),this['_transformMarkers'](_0x1f8382)),_0x4ad090)switch(_0x1f8382['type']){case'insert':this['_handleInsertOperation'](_0x57d7f7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x57d7f7);break;case'merge':this['_handleMergeOperation'](_0x57d7f7);break;case'split':this['_handleSplitOperation'](_0x57d7f7);break;case'marker':this['_handleMarkerOperation'](_0x57d7f7);}}['_cloneOperation'](_0x518efa,_0x16620){const _0xcf67e5=_0x518efa['clone']();return _0xcf67e5['_authorId']=_0x518efa['_authorId'],this['_fixOperation'](_0xcf67e5,_0x16620),_0xcf67e5;}['_getBaseVids'](_0x4c30ae){return _0x4c30ae['map'](_0x55cd0b=>{const _0x783d5e=this['_getVidAttributeName'](_0x55cd0b);return Number(_0x55cd0b['item']['getAttribute'](_0x783d5e));});}['_generateTape'](_0x348b6b,_0x485f4c){if(_0x348b6b['is']('element','$text'))_0x485f4c['push']({'item':_0x348b6b,'type':'text'});else{_0x348b6b['is']('element')&&_0x485f4c['push']({'item':_0x348b6b,'type':'elementStart'});for(const _0x3e7b72 of _0x348b6b['getChildren']())this['_generateTape'](_0x3e7b72,_0x485f4c);_0x348b6b['is']('element')&&_0x485f4c['push']({'item':_0x348b6b,'type':'elementEnd'});}return _0x485f4c;}['_getState'](){const _0x510366=new Map(this['_touched']),_0x37c791=new Map(_0x510366),_0x263f6b=new Map(),_0x7dec7={'insertions':{},'deletions':{}},_0x3a57c3={'insertions':{},'deletions':{}},_0x217244=new Map(),_0xdb66f4=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xdb66f4['delete']('$graveyard');for(const _0x3d1178 of _0xdb66f4){const _0x1fbd7f=this['_diffRoots']['get'](_0x3d1178)||G(_0x3d1178,!0x1),_0x82085d=this['_baseRoots']['get'](_0x3d1178)||G(_0x3d1178,!0x1);_0x1fbd7f['isAttached']()||_0x82085d['isAttached']()?(_0x7dec7['insertions'][_0x3d1178]=q(_0x1fbd7f),_0x7dec7['deletions'][_0x3d1178]=q(_0x82085d),this['_copyMarkers'](_0x7dec7['deletions'][_0x3d1178],_0x82085d),this['_copyMarkers'](_0x7dec7['insertions'][_0x3d1178],_0x1fbd7f),_0x3a57c3['insertions'][_0x3d1178]=this['_generateTape'](this['_idsRoots']['get'](_0x3d1178),[]),_0x3a57c3['deletions'][_0x3d1178]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3d1178)||G(_0x3d1178,!0x1),[])):_0xdb66f4['delete'](_0x3d1178);}for(const _0x4bf991 of _0xdb66f4){const _0x2669f4=_0x3a57c3['insertions'][_0x4bf991];for(const _0xd9d066 of _0x2669f4){const _0x3f8016=this['_getVidAttributeName'](_0xd9d066),_0x5336aa=_0xd9d066['item']['getAttribute'](_0x3f8016);_0x37c791['delete'](_0x5336aa),_0x5336aa>=this['_startingRevisionId']&&_0x263f6b['set'](_0x5336aa,_0x510366['get'](_0x5336aa));}}for(const _0x3aaaa7 of _0xdb66f4){const _0x22fca1=_0x3a57c3['insertions'][_0x3aaaa7],_0x3b18d6=this['_getBaseVids'](_0x3a57c3['deletions'][_0x3aaaa7]);let _0x219225=0x0;for(const _0x321a4c of _0x22fca1){const _0x4a1bbc=this['_getVidAttributeName'](_0x321a4c),_0x1d45b3=_0x321a4c['item']['getAttribute'](_0x4a1bbc);if(!_0x263f6b['has'](_0x1d45b3)&&!_0x217244['has'](_0x1d45b3)){if(_0x37c791['has'](_0x1d45b3))_0x219225++;else{if(_0x1d45b3!=_0x3b18d6[_0x219225]){const _0x46ddd6=_0x510366['get'](_0x1d45b3)||_0x510366['get'](_0x3b18d6[_0x219225]);for(;_0x1d45b3!=_0x3b18d6[_0x219225];)_0x37c791['has'](_0x3b18d6[_0x219225])||(_0x217244['set'](_0x3b18d6[_0x219225],_0x46ddd6),_0x510366['set'](_0x3b18d6[_0x219225],_0x46ddd6)),_0x219225++;}_0x219225++;}}}}for(const _0x1e19f0 of _0xdb66f4){const _0x3a50b5=_0x3a57c3['insertions'][_0x1e19f0];for(const _0x275a91 of _0x3a50b5){const _0x1402d4=this['_getVidAttributeName'](_0x275a91),_0x46eb33=_0x275a91['item']['getAttribute'](_0x1402d4);if(_0x217244['has'](_0x46eb33)){const _0x4f94b6=_0x217244['get'](_0x46eb33);_0x37c791['has'](_0x46eb33)||_0x37c791['set'](_0x46eb33,{..._0x4f94b6}),_0x263f6b['set'](_0x46eb33,{..._0x4f94b6});}}}for(const _0x2a319f of _0x37c791['keys']())_0x2a319f>=this['_startingRevisionId']&&_0x37c791['delete'](_0x2a319f);const _0xe3e30d=new Map();for(const _0x2c7324 of _0xdb66f4){let _0x4dd95c=_0x3a57c3['insertions'][_0x2c7324];for(const _0x49226c of _0x4dd95c)if(_0x49226c['item']['is']('element','tableCell')){const _0x625804=this['_getVidAttributeName'](_0x49226c),_0x438dda=_0x49226c['item']['getAttribute'](_0x625804);if(_0x263f6b['has'](_0x438dda)){const _0x473ba2=_0x49226c['item']['parent']['parent']['getAttribute']('vid_start'),_0x201cdd=_0xe3e30d['get'](_0x473ba2)||new Set();_0x201cdd['add'](_0x263f6b['get'](_0x438dda)['userId']),_0xe3e30d['set'](_0x473ba2,_0x201cdd);}}_0x4dd95c=_0x3a57c3['deletions'][_0x2c7324];for(const _0x162a5a of _0x4dd95c)if(_0x162a5a['item']['is']('element','tableCell')){const _0x280284=this['_getVidAttributeName'](_0x162a5a),_0x56dc0=_0x162a5a['item']['getAttribute'](_0x280284);if(_0x37c791['has'](_0x56dc0)){const _0x46566a=_0x162a5a['item']['parent']['parent']['getAttribute']('vid_start'),_0xf068a1=_0xe3e30d['get'](_0x46566a)||new Set();_0xf068a1['add'](_0x37c791['get'](_0x56dc0)['userId']),_0xe3e30d['set'](_0x46566a,_0xf068a1);}}for(const _0x360284 of _0xe3e30d['keys']())(_0x263f6b['has'](_0x360284)||_0x37c791['has'](_0x360284))&&_0xe3e30d['delete'](_0x360284);}for(const _0x4b07b4 of _0xdb66f4){const _0x3d3340=_0x3a57c3['insertions'][_0x4b07b4];let _0x3cef31=null,_0x4b3f2a=null;for(const _0x5ee30e of _0x3d3340){const _0x1bb7d4=this['_getVidAttributeName'](_0x5ee30e),_0xeb8700=_0x5ee30e['item']['getAttribute'](_0x1bb7d4),_0x18624c=_0xe3e30d['get'](_0xeb8700);_0x18624c&&'elementStart'==_0x5ee30e['type']&&(_0x3cef31=Array['from'](_0x18624c)[0x0],_0x4b3f2a=_0x5ee30e['item']['getAttribute']('vid_end')),_0x3cef31&&(_0x37c791['set'](_0xeb8700,{'userId':_0x3cef31}),_0x263f6b['set'](_0xeb8700,{'userId':_0x3cef31})),_0xeb8700==_0x4b3f2a&&(_0x3cef31=null,_0x4b3f2a=null);}}const _0x1a7c68={},_0x44b25e=new Set();for(const _0x1c0359 of _0xdb66f4){const _0x33d20c=_0x7dec7['deletions'][_0x1c0359],_0x3fa4cc=_0x7dec7['insertions'][_0x1c0359];for(const {userId:_0x2d3927}of this['_touchedMarkers']['values']())null!==_0x2d3927&&_0x44b25e['add'](_0x2d3927);for(const {userId:_0x47fd20}of this['_touchedRoots']['values']())null!==_0x47fd20&&_0x44b25e['add'](_0x47fd20);this['_markChanges'](_0x3fa4cc,_0x3a57c3['insertions'][_0x1c0359],_0x263f6b,'insertion',_0x44b25e),this['_markChanges'](_0x33d20c,_0x3a57c3['deletions'][_0x1c0359],_0x37c791,'deletion',_0x44b25e),_0x1a7c68[_0x1c0359]={'insertions':this['_prepareViewToSave'](_0x3fa4cc),'deletions':this['_prepareViewToSave'](_0x33d20c),'attachChange':this['_touchedRoots']['get'](_0x1c0359)||null,'attributesBefore':_0x40c095(this['_baseRootsAttributes']['get'](_0x1c0359))||{},'attributesAfter':_0x40c095(this['_diffRootsAttributes']['get'](_0x1c0359))};}return{'diffData':_0x1a7c68,'authorsIds':Array['from'](_0x44b25e)};}['_processRootBeforeSave'](_0xee6eab){for(const [,_0x4fd9f3]of _0xee6eab['markers']){const _0x49b219=_0x4fd9f3['start']['getAncestors']()['filter'](_0x17339d=>'tableCell'==_0x17339d['name']);for(const _0x20537a of _0x49b219)0x1==_0x20537a['childCount']&&_0x20537a['getChild'](0x0)['is']('element','paragraph')&&_0x20537a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2bccec){this['_processRootBeforeSave'](_0x2bccec);const _0x31cae4=this['editor']['data']['toView'](_0x2bccec,{}),_0x546b18=Array['from'](_0x31cae4['getChildren']())['map'](_0x3aac83=>this['_getViewJson'](_0x3aac83));return JSON['stringify'](_0x546b18);}['_getViewJson'](_0x27cda5){if(_0x27cda5['is']('$text'))return _0x27cda5['data'];{const _0x440e02=_0x27cda5;return{'type':Object['keys'](T)['find'](_0x4aa420=>_0x27cda5 instanceof T[_0x4aa420]),'name':_0x440e02['name'],'attributes':Array['from'](_0x440e02['getAttributes']()),'children':Array['from'](_0x440e02['getChildren']())['map'](_0x4f9f4c=>this['_getViewJson'](_0x4f9f4c))};}}['_markChanges'](_0x7f2d73,_0x5227d4,_0x288237,_0x5332ea,_0x4c3808){let _0x14c869=null,_0x5ceb13=null,_0x157c7a=0x0;const _0x3527c2=this['editor']['model'];for(let _0x54ea61=0x0;_0x54ea61<_0x5227d4['length'];_0x54ea61++){const _0x2027e4=this['_getVidAttributeName'](_0x5227d4[_0x54ea61]),_0x2e965a=_0x5227d4[_0x54ea61]['item']['getAttribute'](_0x2027e4),_0x417d88=_0x288237['get'](_0x2e965a),_0x9c1df0=_0x54ea61==_0x5227d4['length']-0x1;(!_0x14c869&&_0x417d88&&(_0x14c869=_0x417d88,_0x5ceb13=_0x5227d4[_0x54ea61]),_0x14c869&&(!_0x417d88||_0x417d88['userId']!=_0x14c869['userId']))&&(_0x35d35d(_0x417d88,L(_0x5ceb13,_0x7f2d73,_0x3527c2),L(_0x5227d4[_0x54ea61],_0x7f2d73,_0x3527c2)),_0x14c869=_0x417d88||null,_0x5ceb13=_0x417d88?_0x5227d4[_0x54ea61]:null),_0x14c869&&_0x9c1df0&&_0x35d35d(_0x417d88,L(_0x5ceb13,_0x7f2d73,_0x3527c2),W(_0x5227d4[_0x54ea61],_0x7f2d73,_0x3527c2));}function _0x35d35d(_0x3995dc,_0x3866e8,_0x5a8dfb){const _0x5633f5=_0x14c869['userId'],_0xb996d5='revision:'+_0x5332ea+':'+_0x5633f5+':'+_0x157c7a++,_0x6d2615=_0x3527c2['createRange'](_0x3866e8,_0x5a8dfb);_0x7f2d73['markers']['set'](_0xb996d5,_0x6d2615),null!==_0x5633f5&&_0x4c3808['add'](_0x5633f5);}}['_getVidAttributeName'](_0x264ab6){switch(_0x264ab6['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x17ace0,_0x3539ab){_0x17ace0['baseVersion']=null;for(const _0x2dedee in _0x17ace0){const _0x1edea6=_0x17ace0[_0x2dedee];if(_0x1edea6 instanceof wt){const _0x448540=_0x3539ab['get'](_0x1edea6['root']['rootName']);_0x17ace0[_0x2dedee]=this['_fixPosition'](_0x1edea6,_0x448540);}if(_0x1edea6 instanceof gt){const _0x5b5695=_0x3539ab['get'](_0x1edea6['root']['rootName']);_0x17ace0[_0x2dedee]=this['_fixRange'](_0x1edea6,_0x5b5695);}'root'===_0x2dedee&&(_0x17ace0['root']=_0x3539ab['get'](_0x17ace0['root']['rootName']));}}['_fixRange'](_0x174c9d,_0x11dc53){return this['editor']['model']['createRange'](this['_fixPosition'](_0x174c9d['start'],_0x11dc53),this['_fixPosition'](_0x174c9d['end'],_0x11dc53));}['_fixPosition'](_0x4dbda1,_0x119ca1){return this['editor']['model']['createPositionFromPath'](_0x119ca1,_0x4dbda1['path'],_0x4dbda1['stickiness']);}['_handleInsertOperation'](_0x346a19){const _0x15bfa3=this['_idsRoots']['get'](_0x346a19['position']['root']['rootName']),_0x37988a=this['_fixPosition'](_0x346a19['position'],_0x15bfa3),_0x28fab7=null===_0x346a19['_authorId']?null:_0x346a19['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5b8ce7=_0x37988a['parent'],_0x8aad87=this['_revisionId'],_0x19567f=[];for(const _0x4907df of _0x346a19['nodes'])if(_0x4907df['is']('element'))_0x19567f['push'](this['_makeIdsRoot'](_0x4907df));else{for(let _0x2dcfcb=0x0;_0x2dcfcb<_0x4907df['offsetSize'];_0x2dcfcb++)_0x19567f['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x5e6c8d=this['_revisionId'];for(let _0x3124e9=_0x8aad87;_0x3124e9<_0x5e6c8d;_0x3124e9++)this['_touched']['set'](_0x3124e9,{'userId':_0x28fab7});_0x5b8ce7['_insertChild'](_0x37988a['offset'],_0x19567f);}['_handleMoveOperation'](_0x1280df){(_0x1280df=this['_cloneOperation'](_0x1280df,this['_idsRoots']))['_execute']();const _0x9c4343=null===_0x1280df['_authorId']?null:_0x1280df['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x561f1b=_0x1280df['getMovedRangeStart'](),_0x3cb483=_0x561f1b['parent'],_0x2e14c7=_0x561f1b['offset'];!function _0x25f900(_0x895b06,_0x3becb0,_0x493722,_0x2ae19c){for(let _0x45b72f=_0x493722;_0x45b72f<_0x2ae19c;_0x45b72f++){const _0x1bb414=_0x3becb0['getChild'](_0x45b72f);_0x1bb414['is']('element','$text')?_0x895b06['set'](_0x1bb414['getAttribute']('vid'),{'userId':_0x9c4343}):(_0x895b06['set'](_0x1bb414['getAttribute']('vid_start'),{'userId':_0x9c4343}),_0x25f900(_0x895b06,_0x1bb414,0x0,_0x1bb414['childCount']),_0x895b06['set'](_0x1bb414['getAttribute']('vid_end'),{'userId':_0x9c4343}));}}(this['_touched'],_0x3cb483,_0x2e14c7,_0x2e14c7+_0x1280df['howMany']);}['_handleMergeOperation'](_0xdf3e61){const _0xfe29cb=null===(_0xdf3e61=this['_cloneOperation'](_0xdf3e61,this['_idsRoots']))['_authorId']?null:_0xdf3e61['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xdca3e5=_0xdf3e61['targetPosition']['parent'],_0x4fd84f=_0xdf3e61['sourcePosition']['parent'],_0x19e91b=_0xdca3e5['getAttribute']('vid_end'),_0x552266=_0x4fd84f['getAttribute']('vid_start');_0xdca3e5['_setAttribute']('vid_end',_0x4fd84f['getAttribute']('vid_end')),_0x4fd84f['_setAttribute']('vid_end',_0x19e91b),this['_touched']['set'](_0x552266,{'userId':_0xfe29cb}),this['_touched']['set'](_0x19e91b,{'userId':_0xfe29cb}),_0xdf3e61['_execute']();}['_handleSplitOperation'](_0x555242){const _0x22dc17=null===(_0x555242=this['_cloneOperation'](_0x555242,this['_idsRoots']))['_authorId']?null:_0x555242['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x144530=_0x555242['graveyardPosition'],_0x4b2df4=_0x555242['splitPosition']['parent'];_0x555242['_execute']();const _0x19328d=_0x4b2df4['getAttribute']('vid_end'),_0x10822d=_0x555242['insertionPosition']['nodeAfter'];if(_0x144530){const _0x519c41=_0x10822d['getAttribute']('vid_end'),_0xfa938f=_0x4b2df4['getAttribute']('vid_end');_0x4b2df4['_setAttribute']('vid_end',_0x519c41),_0x10822d['_setAttribute']('vid_end',_0xfa938f),this['_touched']['set'](_0x4b2df4['getAttribute']('vid_end'),{'userId':_0x22dc17}),this['_touched']['set'](_0x10822d['getAttribute']('vid_start'),{'userId':_0x22dc17});}else{const _0x4b2754=this['_revisionId']++,_0x50f8ef=this['_revisionId']++;_0x4b2df4['_setAttribute']('vid_end',_0x4b2754),_0x10822d['_setAttribute']('vid_start',_0x50f8ef),_0x10822d['_setAttribute']('vid_end',_0x19328d),this['_touched']['set'](_0x4b2754,{'userId':_0x22dc17}),this['_touched']['set'](_0x50f8ef,{'userId':_0x22dc17});}}['_handleMarkerOperation'](_0x179c94){if(!_0x179c94['affectsData'])return;const _0x442560=(_0x179c94=this['_cloneOperation'](_0x179c94,this['_diffRoots']))['oldRange']?_0x179c94['oldRange']['root']:null,_0x350841=_0x179c94['newRange']?_0x179c94['newRange']['root']:null;_0x442560&&this['_markers']['delete'](_0x179c94['name']),_0x350841&&this['_markers']['set'](_0x179c94['name'],_0x179c94['newRange']['clone']());const _0x57a2a8=null===_0x179c94['_authorId']?null:_0x179c94['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x44389f=_0x179c94['name'];if(!this['_touchedMarkers']['has'](_0x44389f))return void this['_touchedMarkers']['set'](_0x44389f,{'range':_0x179c94['oldRange'],'userId':_0x57a2a8});const _0x5c447c=this['_touchedMarkers']['get'](_0x44389f),_0x5d444e=_0x5c447c['range'],_0x58dc99=_0x179c94['newRange'];null==_0x5d444e&&null==_0x58dc99||_0x5d444e&&_0x58dc99&&_0x5d444e['isEqual'](_0x58dc99)?this['_touchedMarkers']['delete'](_0x179c94['name']):_0x5c447c['userId']=_0x57a2a8;}['_handleRootOperation'](_0x193809,_0x454752){this['_diffRoots']['has'](_0x193809['rootName'])?this['_diffRoots']['get'](_0x193809['rootName'])['_isAttached']=_0x193809['isAdd']:(this['_diffRoots']['set'](_0x193809['rootName'],G(_0x193809['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x193809['rootName'],{}),_0x454752&&this['_idsRoots']['set'](_0x193809['rootName'],G(_0x193809['rootName'],!0x0)));const _0x5cdc69=null===_0x193809['_authorId']?null:_0x193809['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x542874=this['_touchedRoots']['get'](_0x193809['rootName']);_0x542874&&_0x542874['userId']===_0x5cdc69?this['_touchedRoots']['delete'](_0x193809['rootName']):this['_touchedRoots']['set'](_0x193809['rootName'],{'userId':_0x5cdc69,'isAttached':_0x193809['isAdd']});}['_handleRootAttributeOperation'](_0x530c8c){const _0x12d50d=this['_diffRootsAttributes']['get'](_0x530c8c['root']['rootName']);null===_0x530c8c['newValue']?delete _0x12d50d[_0x530c8c['key']]:_0x12d50d[_0x530c8c['key']]=_0x530c8c['newValue'];}constructor(_0x30db69){this['editor']=_0x30db69,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x16f15f){const _0x2bc96c=G(_0x16f15f['rootName'],_0x16f15f['isAttached']());for(const _0x367b58 of _0x16f15f['getChildren']()){const _0xdc612b=_0x367b58['_clone'](!0x0);_0x2bc96c['_appendChild'](_0xdc612b);}return _0x2bc96c;}function G(_0x57b07b,_0x282136=!0x0){const _0x15ad36=new _t();return _0x15ad36['rootName']=_0x57b07b,_0x15ad36['_isAttached']=_0x282136,_0x15ad36['isAttached']=()=>_0x15ad36['_isAttached'],_0x15ad36;}function L(_0x399618,_0x2de20b,_0x18b95f){const _0x5bd7e5='elementEnd'==_0x399618['type']?_0x18b95f['createPositionAt'](_0x399618['item'],'end'):_0x18b95f['createPositionBefore'](_0x399618['item']);return _0x18b95f['createPositionFromPath'](_0x2de20b,_0x5bd7e5['path'],_0x5bd7e5['stickiness']);}function W(_0x36146b,_0x766a85,_0x335924){const _0x558e9a='elementStart'==_0x36146b['type']?_0x335924['createPositionAt'](_0x36146b['item'],0x0):_0x335924['createPositionAfter'](_0x36146b['item']);return _0x335924['createPositionFromPath'](_0x766a85,_0x558e9a['path'],_0x558e9a['stickiness']);}class ns extends _0x2edd54{['render'](){super['render'](),_0xfd6b4({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x55e15d=_0x384980=>_0x384980['stopPropagation']();this['keystrokes']['set']('arrowright',_0x55e15d),this['keystrokes']['set']('arrowleft',_0x55e15d),this['keystrokes']['set']('arrowup',_0x55e15d),this['keystrokes']['set']('arrowdown',_0x55e15d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x33e123){this['revisionNameInputView']['fieldView']['element']['value']=_0x33e123['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4be3c6){const _0x5f30bf=new mt(this['locale'],_0xd60073),_0x24794a=_0x5f30bf['fieldView'];_0x24794a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x343051=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4be3c6&&(_0x343051+='\x20('+y(this['locale'],'optional')+')'),(_0x5f30bf['label']=_0x343051,_0x24794a['on']('input',()=>{this['revisionNameInputValue']=_0x24794a['element']['value']['trim']();}),_0x5f30bf);}constructor(_0xc9fb7e,_0xafc5a){super(_0xc9fb7e),this['focusTracker']=new _0x1777f2(),this['keystrokes']=new _0x1cde7b(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xafc5a),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x60a8de{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x376467=this['editor'],_0x14a319=_0x376467['plugins']['get']('RevisionTracker');_0x376467['ui']['componentFactory']['add']('revisionHistory',_0x39d2a8=>{const _0x822f1b=_0x1a746f(_0x39d2a8),_0x32d14e=_0x822f1b['panelView']['children'],_0x18efa9=new te(_0x39d2a8),_0x255696=new _0x217b01(_0x39d2a8),_0x1dc63c=new _0x93764b(_0x39d2a8),_0x4b983e=new _0x217b01(_0x39d2a8),_0x3cf7bc=new _0x93764b(_0x39d2a8);return _0x822f1b['bind']('isEnabled')['to'](_0x14a319,'isReady',_0x14a319,'isEnabled',_0x376467,'isReadOnly',(_0x421732,_0x304e68,_0x1cc9d4)=>_0x421732&&_0x304e68&&!_0x1cc9d4),_0x822f1b['buttonView']['set']({'icon':_0x23c9a9['history'],'label':y(_0x39d2a8,'Revision\x20history'),'tooltip':!0x0}),_0x1dc63c['set']({'label':y(_0x39d2a8,'Save\x20current\x20revision'),'withText':!0x0}),_0x1dc63c['bind']('isEnabled')['to'](_0x14a319,'isReady',_0x14a319,'isEnabled',_0x376467,'isReadOnly',(_0x27eeb0,_0x2b45da,_0x275e0e)=>_0x27eeb0&&_0x2b45da&&!_0x275e0e),_0x1dc63c['on']('execute',()=>this['_showDialog']()),_0x3cf7bc['set']({'label':y(_0x39d2a8,'Open\x20revision\x20history'),'withText':!0x0}),_0x3cf7bc['bind']('isEnabled')['to'](_0x14a319,'isReady',_0x376467,'isReadOnly',(_0x4fc758,_0x252f5e)=>_0x4fc758&&!_0x252f5e),_0x3cf7bc['on']('execute',()=>{_0x376467['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x822f1b['isOpen']=!0x1,_0x376467['editing']['view']['focus']();}),_0x255696['children']['add'](_0x1dc63c),_0x4b983e['children']['add'](_0x3cf7bc),_0x18efa9['items']['addMany']([_0x255696,_0x4b983e]),_0x32d14e['add'](_0x18efa9),_0x822f1b;}),_0x376467['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4af35c=this['editor'],_0x267e08=_0x4af35c['locale'],_0x3d4a6b=new _0x2ab8df(_0x267e08),_0x22b842=new _0x1e477b(_0x267e08);_0x3d4a6b['buttonView']['set']({'icon':_0x23c9a9['history'],'label':y(_0x267e08,'Revision\x20history')});const _0x352d00=new _0x420b0b(_0x267e08,_0x3d4a6b),_0x226990=new _0x123a17(_0x267e08);_0x226990['set']({'label':y(_0x267e08,'Save\x20current\x20revision')}),_0x226990['delegate']('execute')['to'](_0x3d4a6b),_0x226990['on']('execute',()=>{this['_showDialog']();}),_0x352d00['children']['add'](_0x226990),_0x22b842['items']['add'](_0x352d00);const _0x29c7d7=new _0x420b0b(_0x267e08,_0x3d4a6b),_0x376a69=new _0x123a17(_0x267e08);return _0x376a69['set']({'label':y(_0x267e08,'Open\x20revision\x20history')}),_0x376a69['delegate']('execute')['to'](_0x3d4a6b),_0x376a69['on']('execute',()=>{_0x4af35c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x29c7d7['children']['add'](_0x376a69),_0x22b842['items']['add'](_0x29c7d7),_0x3d4a6b['panelView']['children']['add'](_0x22b842),_0x3d4a6b;}['_showDialog'](){const _0x393d6b=this['editor'],_0x55bcf2=_0x393d6b['locale'],t=_0x55bcf2['t'],_0x2347ae=_0x393d6b['plugins']['get']('Dialog'),_0x5b0624=_0x393d6b['plugins']['get']('RevisionTracker');function _0x160dfe(_0x187a21){_0x393d6b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x187a21['revisionName']?_0x187a21['revisionNameInputView']['errorText']=y(_0x55bcf2,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x393d6b['plugins']['get'](l)['saveRevision']({'name':_0x187a21['revisionName']}),_0x2347ae['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x160dfe(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2347ae['show']({'id':'findAndReplace','title':y(_0x55bcf2,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2347ae['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x15f187){_0x15f187['bind']('isEnabled')['to'](_0x5b0624,'isReady',_0x5b0624,'isEnabled',_0x393d6b,'isReadOnly',(_0x2a047f,_0x50fee2,_0x4f79ec)=>_0x2a047f&&_0x50fee2&&!_0x4f79ec);},'onExecute':()=>_0x160dfe(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x16d7dd=this['editor'],_0x436de3=_0x16d7dd['locale'];this['_saveRevisionFormView']=new ns(_0x436de3,_0x16d7dd['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2edd54{['focus'](){this['element']['focus']();}constructor(_0x1d4d26,_0x277938){super(_0x1d4d26),this['_model']=_0x277938,this['changeId']=_0x277938['id'];const _0x2ec70a=this['bindTemplate'],_0x4646ef=y(_0x1d4d26,_0x277938['data']['isSuggestion']?'Suggested\x20by':'add'==_0x277938['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x277938['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2ec70a['to']('type',_0x210ad6=>'ck-revision-change__'+_0x210ad6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4646ef}]},{'text':'\x20'+_0x277938['author']['name']}]}]});}}class r extends _0x95772a(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x58e760){super(),this['id']=_0x58e760['id']||_0x17f0ff(),this['author']=_0x58e760['author'],this['type']=_0x58e760['type'],this['data']=_0x58e760['data']||{},this['rootName']=_0x58e760['rootName'],this['set']('createdAt',_0x58e760['createdAt']);}}class f{['_setChanges'](_0x46df0c){for(const _0x462eba of _0x46df0c)this['changes']['add'](_0x462eba);}constructor(_0x3ae42f,_0x279961){this['newRevisionId']=_0x3ae42f,this['oldRevisionId']=_0x279961,this['changes']=new _0xa59cd0();}}const tt={'c':_0x510a12,'a':_0x178598,'e':_0x1b1163,'r':_0x58d900,'u':_0x1ca190};class d extends _0x60a8de{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x255797,_0x3009e1,A];}['init'](){const _0x1103d9=this['editor'],_0x1e3f22=new Rt(_0x1103d9,{'direction':'backward'}),_0x468303=new Rt(_0x1103d9,{'direction':'forward'});(_0x1103d9['commands']['add']('showPreviousChange',_0x1e3f22),_0x1103d9['commands']['add']('showNextChange',_0x468303),_0x1103d9['commands']['add']('restoreRevision',new bt(_0x1103d9)),this['on']('change:numberOfChanges',()=>{_0x1e3f22['refresh'](),_0x468303['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1103d9['enableReadOnlyMode']('revision-viewer'),_0x1103d9['plugins']['has']('WidgetToolbarRepository'))&&_0x1103d9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x497557){await this['loadRevisionData'](_0x497557);const _0x2a3578={};for(const _0x455db1 in _0x497557['diffData']){if(_0x497557['diffData'][_0x455db1]['attachChange']&&!_0x497557['diffData'][_0x455db1]['attachChange']['isAttached'])continue;const _0x51ca3f=this['_removeRevisionMarkers'](JSON['parse'](_0x497557['diffData'][_0x455db1]['insertions'])),_0x2ab806=this['editor']['editing']['view']['document'],_0x383f7e=new _0x3b8e70(_0x2ab806,_0x51ca3f['map'](_0x3638b7=>this['_getViewObj'](_0x3638b7)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2a3578[_0x455db1]=this['editor']['data']['processor']['toData'](_0x383f7e),this['editor']['data']['processor']['useFillerType']('default');}return _0x2a3578;}async['getRevisionRootsAttributes'](_0x5b995b){await this['loadRevisionData'](_0x5b995b);const _0x509b85={};for(const _0x78c9fa in _0x5b995b['diffData'])_0x5b995b['diffData'][_0x78c9fa]['attachChange']&&!_0x5b995b['diffData'][_0x78c9fa]['attachChange']['isAttached']||(_0x509b85[_0x78c9fa]=_0x5b995b['diffData'][_0x78c9fa]['attributesAfter']||{});return _0x509b85;}['_removeRevisionMarkers'](_0x1ab647){return(_0x1ab647=_0x1ab647['filter'](_0xcb1ae8=>!_0xcb1ae8['name']||'revision-start'!==_0xcb1ae8['name']&&'revision-end'!==_0xcb1ae8['name']))['forEach'](_0x56b2e1=>{'string'!=typeof _0x56b2e1&&(_0x56b2e1['children']=this['_removeRevisionMarkers'](_0x56b2e1['children']),_0x56b2e1['attributes']=_0x56b2e1['attributes']['filter'](_0x5b2815=>!_0x5b2815[0x0]['startsWith']('data-revision-')));}),_0x1ab647;}async['compare'](_0x397c5a,_0x1bbdbd,_0x381816=!0x1){if(!this['isEnabled'])return;const _0x13d19c=this['diff'],_0x16761b=this['repository'],_0x3109fa='string'==typeof _0x397c5a?_0x16761b['getRevision'](_0x397c5a):_0x397c5a,_0x2ffde7='string'==typeof _0x1bbdbd?_0x16761b['getRevision'](_0x1bbdbd):_0x1bbdbd,_0x4a10d7=_0x3109fa['id'],_0x51fd07=_0x2ffde7?_0x2ffde7['id']:null;if(!_0x381816&&this['diff']&&this['diff']['newRevisionId']===_0x4a10d7&&this['diff']['oldRevisionId']===_0x51fd07)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4a10d7,_0x51fd07);const _0x217b58=this['_getRevisionsRange'](_0x3109fa,_0x2ffde7,!0x0)['map'](_0x37b13c=>this['loadRevisionData'](_0x37b13c));return _0x217b58['push'](new Promise(_0x195892=>{setTimeout(_0x195892,0x14);})),Promise['all'](_0x217b58)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3b242d=this['_getDiff'](_0x4a10d7,_0x51fd07);for(const _0x4d6d26 of _0x3b242d['changes'])this['_changeIdToChange']['set'](_0x4d6d26['id'],_0x4d6d26);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x278d6f=>{for(const _0x4dd333 of this['editor']['model']['document']['getRootNames']())_0x278d6f['detachRoot'](_0x4dd333);for(const _0x38ac71 of Object['keys'](_0x3b242d['model'])){const _0x23b137=_0x278d6f['addRoot'](_0x38ac71);for(const _0x539200 of Object['keys'](_0x3b242d['attributes'][_0x38ac71]))_0x278d6f['setAttribute'](_0x539200,_0x3b242d['attributes'][_0x38ac71][_0x539200],_0x23b137);_0x278d6f['insert'](_0x3b242d['model'][_0x38ac71],_0x23b137,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3b242d['changes'])),this['isReady']=!0x0;})['catch'](_0x14043c=>{console['error'](_0x14043c),this['_cleanUp'](),_0x13d19c&&(this['diff']=_0x13d19c),this['isReady']=!0x0;});}['addRevisionData'](_0x1c5319,_0x446560){const _0x63e99=this['repository']['createRevision'](_0x1c5319);return _0x63e99['on']('_update',(_0x18ce5a,_0x11e960,_0x4fb58f)=>_0x446560(_0x11e960,_0x4fb58f,_0x63e99)),this['repository']['addRevision'](_0x63e99),_0x63e99;}['loadRevisionData'](_0x278169){if(!_0x278169||_0x278169['diffData'])return Promise['resolve']();{const _0x5d1ba1=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5d1ba1,'revisionId':_0x278169['id']})['then'](_0x378c5c=>{_0x278169['_update']({'diffData':_0x378c5c['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4e9260=>{for(const _0xd28604 of this['editor']['model']['document']['getRootNames']())_0x4e9260['detachRoot'](_0xd28604);});}['_sortAndFilterDiffChanges'](_0x1897ca){const _0x34ba91=[],_0x26bbd9=new Map();for(const _0x103e2d of this['editor']['model']['document']['getRootNames']()){const _0x360833=this['editor']['editing']['view']['getDomRoot'](_0x103e2d);if(!_0x360833)continue;const _0xdbf02a=_0x360833['getClientRects']()['item'](0x0);_0xdbf02a&&(_0x34ba91['push'](_0x103e2d),_0x26bbd9['set'](_0x103e2d,_0xdbf02a));}return _0x34ba91['sort']((_0x1433ee,_0x48f66e)=>{const _0x5418cf=_0x26bbd9['get'](_0x1433ee),_0x3b040f=_0x26bbd9['get'](_0x48f66e);return _0x5418cf['y']-_0x3b040f['y']||_0x5418cf['x']-_0x3b040f['x'];}),(_0x1897ca=_0x1897ca['filter'](_0x4a3d97=>_0x34ba91['includes'](_0x4a3d97['rootName'])))['sort']((_0x401cde,_0x9cb280)=>_0x34ba91['indexOf'](_0x401cde['rootName'])-_0x34ba91['indexOf'](_0x9cb280['rootName'])),_0x1897ca;}['_makeTape'](_0x3b6c99){const _0x3ed338=Array['from'](_0x3b6c99['markers'])['filter'](([_0x39f44b,_0x20a144])=>_0x39f44b['startsWith']('revision:')&&!_0x20a144['isCollapsed']),_0x16a21d=Array['from'](this['editor']['model']['createRangeIn'](_0x3b6c99)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3ed338['length'])for(const _0x46a2eb of _0x16a21d){const [_0x49bf71,_0x53bf34]=_0x3ed338[0x0],[,_0x58a75e,_0x199c51]=_0x49bf71['split'](':');if(_0x53bf34['end']['isEqual'](_0x46a2eb['nextPosition'])&&_0x3ed338['shift'](),(_0x46a2eb['previousPosition']['isEqual'](_0x53bf34['start'])||_0x46a2eb['previousPosition']['isAfter'](_0x53bf34['start']))&&('insertion'==_0x58a75e?_0x46a2eb['isAdded']={'userId':_0x199c51}:'deletion'==_0x58a75e&&(_0x46a2eb['isRemoved']={'userId':_0x199c51})),0x0==_0x3ed338['length'])break;}return _0x16a21d;}['_refreshStartEndIndex'](_0x3984e3){const _0x56719b=new Map();for(let _0x4028e0=0x0;_0x4028e0<_0x3984e3['length'];_0x4028e0++)'text'===_0x3984e3[_0x4028e0]['type']?(_0x3984e3[_0x4028e0]['item']['startIndex']=_0x4028e0,_0x3984e3[_0x4028e0]['item']['endIndex']=_0x4028e0):('elementStart'===_0x3984e3[_0x4028e0]['type']?_0x3984e3[_0x4028e0]['item']['startIndex']=_0x4028e0:'elementEnd'===_0x3984e3[_0x4028e0]['type']&&(_0x3984e3[_0x4028e0]['item']['endIndex']=_0x4028e0),_0x56719b['set'](_0x3984e3[_0x4028e0]['id'],_0x4028e0));for(const _0x3edc77 of _0x56719b['values']())'elementStart'===_0x3984e3[_0x3edc77]['type']?_0x3984e3[_0x3edc77]['item']['endIndex']=_0x56719b['get'](_0x3984e3[_0x3edc77]['pairId']):'elementEnd'===_0x3984e3[_0x3edc77]['type']&&(_0x3984e3[_0x3edc77]['item']['startIndex']=_0x56719b['get'](_0x3984e3[_0x3edc77]['pairId']));}['_processTape'](_0x17f6fb){for(let _0x2ac6b9=0x0;_0x2ac6b9<_0x17f6fb['length'];_0x2ac6b9++){if('elementStart'===_0x17f6fb[_0x2ac6b9]['type'])_0x17f6fb[_0x2ac6b9]['item']['startIndex']=_0x2ac6b9;else{if('elementEnd'===_0x17f6fb[_0x2ac6b9]['type']){_0x17f6fb[_0x2ac6b9]['item']['endIndex']=_0x2ac6b9;const _0x356d81=_0x17f6fb[_0x2ac6b9]['item']['startIndex'];_0x17f6fb[_0x356d81]['pairId']=_0x17f6fb[_0x2ac6b9]['id'],_0x17f6fb[_0x2ac6b9]['pairId']=_0x17f6fb[_0x356d81]['id'];}else _0x17f6fb[_0x2ac6b9]['item']['startIndex']=_0x2ac6b9,_0x17f6fb[_0x2ac6b9]['item']['endIndex']=_0x2ac6b9,_0x17f6fb[_0x2ac6b9]['pairId']=null;}_0x17f6fb[_0x2ac6b9]['markersStart']||(_0x17f6fb[_0x2ac6b9]['markersStart']=[],_0x17f6fb[_0x2ac6b9]['markersEnd']=[]);}}['_markInsertions'](_0x33a0b0,_0x391b5e){const _0x48ed03=_0x33a0b0['filter'](_0x216325=>!_0x216325['isAdded']);for(let _0x3dbf8e=0x0;_0x3dbf8e<_0x391b5e['length'];_0x3dbf8e++)_0x391b5e[_0x3dbf8e]['isAdded']&&(_0x48ed03[_0x3dbf8e]['isAdded']=_0x391b5e[_0x3dbf8e]['isAdded']);}['_makeModelFromViewString'](_0x23fce4){const _0x5ea891=JSON['parse'](_0x23fce4),_0x3add4c=this['editor']['editing']['view']['document'],_0x1ceb6b=new _0x3b8e70(_0x3add4c,_0x5ea891['map'](_0x59031c=>this['_getViewObj'](_0x59031c)));return this['editor']['data']['toModel'](_0x1ceb6b);}['_getViewObj'](_0x51ff7f){const _0x41d099=this['editor']['editing']['view']['document'];if('string'==typeof _0x51ff7f)return new _0x226345(_0x41d099,_0x51ff7f);{const _0x3359b0=_0x51ff7f['children']['map'](_0x48a02c=>this['_getViewObj'](_0x48a02c));return new(tt[_0x51ff7f['type']]||_0x198bf5)(_0x41d099,_0x51ff7f['name'],_0x51ff7f['attributes'],_0x3359b0);}}['_getDiff'](_0x5bf7f9,_0x40de47=null){const _0x36bbd1=this['repository']['getRevision'](_0x5bf7f9),_0x54bcd1=_0x40de47?this['repository']['getRevision'](_0x40de47):null,_0x20bdb9=this['_getRevisionsRange'](_0x36bbd1,_0x54bcd1),_0x57a22d=_0x20bdb9[_0x20bdb9['length']-0x1],_0x3b6fd4=new Map(),_0x3bf0a1={'model':{},'attributes':{},'changes':[]},_0x5dedbe=new Set(),_0x1223a1=new Map();for(let _0x4c3027=_0x20bdb9['length']-0x1;_0x4c3027>=0x0;_0x4c3027--){const _0x5371e3=_0x20bdb9[_0x4c3027];for(const _0x293427 of Object['keys'](_0x5371e3['diffData']))if(_0x5371e3['diffData'][_0x293427]['attachChange']){const _0x4fa8e9=_0x5371e3['diffData'][_0x293427]['attachChange'];_0x4fa8e9['isAttached']?(_0x5dedbe['add'](_0x293427),_0x1223a1['has'](_0x293427)&&_0x1223a1['get'](_0x293427)['userId']==_0x4fa8e9['userId']?_0x1223a1['delete'](_0x293427):_0x1223a1['set'](_0x293427,_0x4fa8e9)):_0x1223a1['has'](_0x293427)?(_0x5dedbe['delete'](_0x293427),_0x1223a1['delete'](_0x293427)):(_0x5dedbe['add'](_0x293427),_0x1223a1['set'](_0x293427,_0x4fa8e9));}else _0x5dedbe['add'](_0x293427);}for(const _0x1f1897 of _0x5dedbe){const _0x556442=_0x1223a1['has'](_0x1f1897)&&!_0x1223a1['get'](_0x1f1897)['isAttached'];let _0x34de1c=_0x556442?_0x20bdb9['length']-0x1:0x0;const _0x1b6b02=_0x556442?-0x1:0x1;for(;_0x20bdb9[_0x34de1c];){const _0x6c2263=_0x20bdb9[_0x34de1c];if(_0x6c2263['diffData'][_0x1f1897]){const _0x49bce6=_0x556442?_0x6c2263['diffData'][_0x1f1897]['attributesBefore']:_0x6c2263['diffData'][_0x1f1897]['attributesAfter'];_0x3bf0a1['attributes'][_0x1f1897]=_0x49bce6?_0x40c095(_0x49bce6):{};break;}_0x34de1c+=_0x1b6b02;}}for(const _0x58f668 of _0x20bdb9){_0x58f668['model']={};for(const _0x5d4299 of _0x58f668['authors'])_0x3b6fd4['set'](_0x5d4299['id'],_0x5d4299);for(const _0x5c7296 of _0x5dedbe){const _0x596eef=_0x58f668['diffData'][_0x5c7296]?_0x58f668['diffData'][_0x5c7296]['insertions']:'[]',_0x45f939=_0x58f668['diffData'][_0x5c7296]?_0x58f668['diffData'][_0x5c7296]['deletions']:'[]';_0x58f668['model'][_0x5c7296]={'insertions':this['_makeModelFromViewString'](_0x596eef),'deletions':this['_makeModelFromViewString'](_0x45f939)};}}for(const _0x5ef8c9 of _0x5dedbe){let _0x44cede=null,_0x49d5e6=0x0;const _0x51db54=new Map(Array['from'](_0x36bbd1['model'][_0x5ef8c9]['insertions']['markers'])['filter'](([_0x3204e0])=>!_0x3204e0['startsWith']('revision:')));let _0x4003cd=0x0;for(const _0x283c5b of _0x20bdb9){const _0x209139=this['_makeTape'](_0x283c5b['model'][_0x5ef8c9]['insertions']);_0x283c5b==_0x36bbd1?(_0x44cede=_0x209139,_0x49d5e6=_0x44cede['length'],_0x44cede['forEach'](_0x23625=>{_0x23625['id']=_0x4003cd++;}),this['_processTape'](_0x44cede)):this['_markInsertions'](_0x44cede,_0x209139);const _0x5560e2=_0x44cede['filter'](_0x199945=>!_0x199945['isAdded'])['map'](_0x4d974c=>_0x4d974c['id']);let _0x9c925=0x0;const _0x292102=this['_makeTape'](_0x283c5b['model'][_0x5ef8c9]['deletions']);_0x292102['forEach'](_0x56cbf2=>{_0x56cbf2['isRemoved']?_0x56cbf2['id']=_0x49d5e6++:_0x56cbf2['id']=_0x5560e2[_0x9c925++];}),this['_processTape'](_0x292102),this['_setDistance'](_0x44cede,'isAdded'),this['_setDistance'](_0x292102,'isRemoved'),_0x283c5b==_0x36bbd1&&this['_markMarkers'](_0x44cede,_0x51db54),_0x44cede=this['_joinTapes'](_0x44cede,_0x292102),this['_refreshStartEndIndex'](_0x44cede),this['_setDistance'](_0x44cede,'isRemoved');}_0x44cede=_0x44cede['filter'](_0x59a9fa=>!(_0x59a9fa['isAdded']&&_0x59a9fa['isRemoved']));const _0x2bcd0e=new Map(_0x57a22d['model'][_0x5ef8c9]['deletions']['markers']),_0x25df6b=new Set(_0x51db54['keys']());for(const _0x219667 of _0x2bcd0e['keys']())_0x25df6b['delete'](_0x219667);this['_markSuggestions'](_0x44cede,_0x25df6b),this['_fixObsoleteTags'](_0x44cede),_0x44cede=this['_removeMissingPairs'](_0x44cede),_0x44cede=this['_markMismatchedRemovedTags'](_0x44cede),_0x44cede=this['_removeUnsupportedChanges'](_0x44cede);const {root:_0x476000,changes:_0x2481bd}=this['_makeModelFromTape'](_0x44cede,_0x3b6fd4,_0x5ef8c9);_0x3bf0a1['model'][_0x5ef8c9]=_0x476000;const _0x37b5d9=_0x1223a1['get'](_0x5ef8c9);if(_0x37b5d9){const _0x1d0a8f=_0x3b6fd4['get'](_0x37b5d9['userId']),_0x757306=new r({'author':_0x1d0a8f,'type':_0x37b5d9['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5ef8c9});_0x2481bd['unshift'](_0x757306),_0x3bf0a1['attributes'][_0x5ef8c9]['revisionHistoryAttachChange']=_0x757306['id'];}_0x3bf0a1['changes']=_0x3bf0a1['changes']['concat'](_0x2481bd);}return _0x3bf0a1;}['_markMarkers'](_0xb408bd,_0x5d21bd){for(let _0x1cd2d3=0x0;_0x1cd2d3<_0xb408bd['length'];_0x1cd2d3++)for(const [_0x1fd110,_0x1fa5b3]of _0x5d21bd)_0x1fa5b3['start']['isEqual'](_0xb408bd[_0x1cd2d3]['previousPosition'])&&_0xb408bd[_0x1cd2d3]['markersStart']['push'](_0x1fd110),_0x1fa5b3['end']['isEqual'](_0xb408bd[_0x1cd2d3]['nextPosition'])&&_0xb408bd[_0x1cd2d3]['markersEnd']['push'](_0x1fd110);}['_joinTapes'](_0x33054c,_0x1a4b1b){let _0x537de4=[],_0x92688e=0x0,_0xeed95=0x0;for(;_0x92688e<_0x33054c['length']||_0xeed95<_0x1a4b1b['length'];){const _0x4df7f0=_0x33054c[_0x92688e]||{},_0x58c028=_0x1a4b1b[_0xeed95]||{};if(_0x4df7f0['id']==_0x58c028['id'])_0x92688e++,_0xeed95++,_0x537de4['push'](_0x4df7f0);else{if(_0x58c028['isRemoved']&&_0x4df7f0['isAdded']){const {commonTape:_0x3ff4cb,iEnd:_0x2a4b78,jEnd:_0x497824}=this['_threeWayMerge'](_0x33054c,_0x92688e,_0x1a4b1b,_0xeed95);_0x537de4=_0x537de4['concat'](_0x3ff4cb),_0x92688e=_0x2a4b78,_0xeed95=_0x497824;}else _0x58c028['isRemoved']?(_0xeed95++,_0x537de4['push'](_0x58c028)):(_0x92688e++,_0x537de4['push'](_0x4df7f0));}}return _0x537de4;}['_markSuggestions'](_0x3293bb,_0x56076c){const _0x41b514=[];for(let _0x35d43d=0x0;_0x35d43d<_0x3293bb['length'];_0x35d43d++){for(let _0xa45d2d=0x0;_0xa45d2d<_0x3293bb[_0x35d43d]['markersStart']['length'];_0xa45d2d++){const _0x5e384e=_0x3293bb[_0x35d43d]['markersStart'][_0xa45d2d];if(!_0x56076c['has'](_0x5e384e))continue;const {group:_0x1912c8,type:_0xac764e,authorId:_0xfb7c88}=_0x3f3225(_0x5e384e);'revision-suggestion'!=_0x1912c8||'insertion'!=_0xac764e&&'deletion'!=_0xac764e||(_0x41b514['unshift']({'type':_0xac764e,'name':_0x5e384e,'userId':_0xfb7c88}),_0x3293bb[_0x35d43d]['markersStart']['splice'](_0xa45d2d,0x1),_0xa45d2d--);}_0x1c8cfb(_0x3293bb[_0x35d43d]);for(let _0x5cb197=0x0;_0x5cb197<_0x3293bb[_0x35d43d]['markersEnd']['length'];_0x5cb197++){const _0x8357b3=_0x3293bb[_0x35d43d]['markersEnd'][_0x5cb197];if(!_0x56076c['has'](_0x8357b3))continue;const {group:_0x54c65e,type:_0x288408}=_0x3f3225(_0x8357b3);if('revision-suggestion'!=_0x54c65e||'insertion'!=_0x288408&&'deletion'!=_0x288408)continue;_0x3293bb[_0x35d43d]['markersEnd']['splice'](_0x5cb197,0x1),_0x5cb197--;const _0x15b2f4=_0x41b514['findIndex'](_0x1dca38=>_0x1dca38['name']==_0x8357b3);_0x15b2f4>-0x1&&_0x41b514['splice'](_0x15b2f4,0x1);}}function _0x3f3225(_0x5d4390){const _0x70df1b=_0x5d4390['split'](':');return{'group':_0x70df1b[0x0],'type':_0x70df1b[0x1],'subType':_0x70df1b['length']>=0x5?_0x70df1b[0x2]:null,'id':_0x70df1b['length']<0x5?_0x70df1b[0x2]:_0x70df1b[0x3],'authorId':_0x70df1b['length']<0x5?_0x70df1b[0x3]:_0x70df1b[0x4],'markerCount':0x6==_0x70df1b['length']?_0x70df1b[0x5]:null};}function _0x1c8cfb(_0x2f564d){for(let _0x5f1d61=0x0;_0x5f1d61<_0x41b514['length'];_0x5f1d61++){if(_0x2f564d['isAdded']&&'insertion'==_0x41b514[_0x5f1d61]['type'])return _0x2f564d['isAddSuggestion']=_0x41b514[_0x5f1d61],void delete _0x2f564d['isAdded'];if(!_0x2f564d['isAdded']&&!_0x2f564d['isRemoved']&&'deletion'==_0x41b514[_0x5f1d61]['type'])return void(_0x2f564d['isRemoveSuggestion']=_0x41b514[_0x5f1d61]);}}}['_setDistance'](_0x23bf69,_0x3da2e3){let _0xd7ffc3=0x0,_0x4b643f=!0x1;const _0x4d3ef2=new Map();for(const _0x11eb78 of _0x23bf69)_0x11eb78[_0x3da2e3]?_0x4b643f&&(_0xd7ffc3++,_0x4b643f=!0x1):(_0xd7ffc3++,_0x4b643f=!0x0),_0x4d3ef2['set'](_0x11eb78['id'],_0xd7ffc3);for(let _0x2c0533=0x0;_0x2c0533<_0x23bf69['length'];_0x2c0533++){if('isRemoved'==_0x3da2e3&&_0x23bf69[_0x2c0533]['isAdded']||'isAdded'==_0x3da2e3&&_0x23bf69[_0x2c0533]['isRemoved'])continue;if('text'==_0x23bf69[_0x2c0533]['type']){_0x23bf69[_0x2c0533]['distance']=0x0;continue;}const _0x551f91=_0x4d3ef2['get'](_0x23bf69[_0x2c0533]['pairId']),_0x475c18=_0x4d3ef2['get'](_0x23bf69[_0x2c0533]['id']);_0x23bf69[_0x2c0533]['distance']=_0x551f91-_0x475c18;}}['_getRevisionsRange'](_0x1bee83,_0x475216,_0x3d92ed=!0x1){const _0x38dc99=[];let _0x368500=this['repository']['getIndex'](_0x1bee83),_0xedfbd1=this['repository']['getIndex'](_0x475216);for(-0x1==_0xedfbd1&&(_0xedfbd1=this['repository']['_revisions']['length'],_0x3d92ed=!0x1);_0x368500<_0xedfbd1;)_0x38dc99['push'](this['repository']['getRevision'](_0x368500)),_0x368500++;return _0x3d92ed&&_0x38dc99['push'](this['repository']['getRevision'](_0x368500)),_0x38dc99;}['_threeWayMerge'](_0xa739e4,_0x356914,_0x1819da,_0x29b6cc){const _0x506299=this['editor']['model']['schema'];let _0x49c7e1=_0x356914;for(;_0xa739e4[_0x49c7e1]&&_0xa739e4[_0x49c7e1]['isAdded'];)_0x49c7e1++;let _0x42d90e=_0x29b6cc;for(;_0x1819da[_0x42d90e]&&_0x1819da[_0x42d90e]['isRemoved'];)_0x42d90e++;_0x21432d(_0xa739e4,_0x356914,_0x49c7e1),_0x21432d(_0x1819da,_0x29b6cc,_0x42d90e);const _0x1085a6=_0x1819da['slice'](_0x29b6cc,_0x42d90e)['concat'](_0xa739e4['slice'](_0x356914,_0x49c7e1));return _0x1085a6['sort']((_0x3303eb,_0x4dde07)=>_0x3303eb['side']!=_0x4dde07['side']?_0x3303eb['side']-_0x4dde07['side']:_0x3303eb['level']!=_0x4dde07['level']?_0x3303eb['level']-_0x4dde07['level']:_0x3303eb['distance']!=_0x4dde07['distance']?_0x4dde07['distance']-_0x3303eb['distance']:!!_0x3303eb['isAdded']!=!!_0x4dde07['isAdded']?-0x1==_0x3303eb['side']||0x0==_0x3303eb['side']?_0x3303eb['isAdded']?-0x1:0x1:_0x3303eb['isAdded']?0x1:-0x1:_0x3303eb['index']-_0x4dde07['index']),{'commonTape':_0x1085a6,'iEnd':_0x49c7e1,'jEnd':_0x42d90e};function _0x21432d(_0x272870,_0x5017eb,_0x2f4d4f){let _0xe82184=-0x1,_0x2fe8b8=Number['POSITIVE_INFINITY'],_0x4bfa34=!0x0;for(let _0x134492=_0x5017eb;_0x134492<_0x2f4d4f;_0x134492++)if(_0x506299['isInline'](_0x272870[_0x134492]['item'])||(_0x4bfa34=!0x1),_0x272870[_0x134492]['item']['startIndex']<_0x5017eb&&(_0xe82184=_0x134492),_0x272870[_0x134492]['item']['endIndex']>=_0x2f4d4f){_0x2fe8b8=_0x134492;break;}_0x4bfa34&&(_0xe82184=_0x2f4d4f-0x1);for(let _0x200a1a=_0x5017eb;_0x200a1a<_0x2f4d4f;_0x200a1a++)_0x272870[_0x200a1a]['side']=_0x200a1a<=_0xe82184?-0x1:_0x200a1a<_0x2fe8b8?0x0:0x1,_0x272870[_0x200a1a]['index']=_0x200a1a;let _0x11dc69=0x0;for(let _0x104be4=_0x5017eb;_0x104be4<=_0xe82184;_0x104be4++)0x0==_0x272870[_0x104be4]['distance']?_0x272870[_0x104be4]['level']=_0x11dc69:(_0x11dc69++,_0x272870[_0x104be4]['level']=_0x11dc69,_0x11dc69++);for(let _0x1a9b63=_0x5017eb;_0x1a9b63<_0x2f4d4f;_0x1a9b63++)0x0==_0x272870[_0x1a9b63]['side']&&(_0x272870[_0x1a9b63]['level']=_0x11dc69);_0x11dc69=0x0;for(let _0x219b0b=_0x2f4d4f-0x1;_0x219b0b>=_0x2fe8b8;_0x219b0b--)0x0==_0x272870[_0x219b0b]['distance']?_0x272870[_0x219b0b]['level']=_0x11dc69:(_0x11dc69--,_0x272870[_0x219b0b]['level']=_0x11dc69,_0x11dc69--);}}['_fixObsoleteTags'](_0x70c41){const _0x585504=new Map(),_0x18b321=this['editor']['model']['schema'];for(let _0x211496=0x1;_0x211496<_0x70c41['length'];_0x211496++){let _0x394f23,_0x1559bd,_0x52a24c;const _0x4d891b=_0x70c41[_0x211496],_0xe621d4=_0x70c41[_0x211496-0x1];if('text'==_0x4d891b['type'])continue;if(_0x4d891b['type']!=_0xe621d4['type'])continue;if(!_0x18b321['isBlock'](_0xe621d4['item'])||_0x18b321['isLimit'](_0xe621d4['item']))continue;if(!_0x18b321['isBlock'](_0x4d891b['item'])||_0x18b321['isLimit'](_0x4d891b['item']))continue;if((_0x70c41[_0x211496]['isAdded']||_0x70c41[_0x211496]['isAddSuggestion'])&&_0x70c41[_0x211496-0x1]['isRemoved'])_0x394f23=_0x70c41[_0x211496],_0x1559bd=_0x70c41[_0x211496-0x1],_0x52a24c=_0x211496-0x1;else{if(!_0x70c41[_0x211496]['isRemoved']||!_0x70c41[_0x211496-0x1]['isAdded']&&!_0x70c41[_0x211496-0x1]['isAddSuggestion'])continue;_0x394f23=_0x70c41[_0x211496-0x1],_0x1559bd=_0x70c41[_0x211496],_0x52a24c=_0x211496;}const _0xf58cc5=_0x394f23['level']==_0x1559bd['level'],_0x2178b7=Math['abs'](_0x394f23['level'])<Math['abs'](_0x1559bd['level'])&&0x0==_0x1559bd['distance'];(_0xf58cc5||_0x2178b7)&&(_0x585504['set'](_0x1559bd['id'],_0x394f23['id']),_0x70c41['splice'](_0x52a24c,0x1),_0x211496--,_0x394f23['isAdded']=!0x1);}for(let _0x5ef3fc=0x0;_0x5ef3fc<_0x70c41['length'];_0x5ef3fc++)_0x585504['has'](_0x70c41[_0x5ef3fc]['pairId'])&&(_0x70c41[_0x5ef3fc]['pairId']=_0x585504['get'](_0x70c41[_0x5ef3fc]['pairId']));}['_removeMissingPairs'](_0x555ec1){const _0x41ba44=new Set(_0x555ec1['map'](_0x27711e=>_0x27711e['id']));for(let _0x3507d0=0x0;_0x3507d0<_0x555ec1['length'];_0x3507d0++)_0x41ba44['has'](_0x555ec1[_0x3507d0]['pairId'])||0x0==_0x555ec1[_0x3507d0]['distance']||(_0x555ec1[_0x3507d0]['isIncorrect']=!0x0);return _0x555ec1['filter'](_0x4d5f54=>!_0x4d5f54['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3d52fb){const _0xa71b05=new Set();for(let _0x5ba335=0x0;_0x5ba335<_0x3d52fb['length'];_0x5ba335++){if(_0xa71b05['has'](_0x3d52fb[_0x5ba335]['id'])&&_0x3d52fb[_0x5ba335]['isRemoved']&&(_0x3d52fb[_0x5ba335]['isIncorrect']=!0x0),_0x3d52fb[_0x5ba335]['isIncorrect'])continue;if(0x0==_0x3d52fb[_0x5ba335]['distance'])continue;if('elementStart'!=_0x3d52fb[_0x5ba335]['type'])continue;if(null==_0x3d52fb[_0x5ba335]['pairId'])continue;let _0x215ace=_0x5ba335+0x1,_0x4396dc=0x0;for(;_0x3d52fb[_0x215ace]['id']!=_0x3d52fb[_0x5ba335]['pairId'];)'elementStart'==_0x3d52fb[_0x215ace]['type']?_0x4396dc++:'elementEnd'==_0x3d52fb[_0x215ace]['type']&&_0x4396dc--,_0x215ace++;if(0x0!=_0x4396dc){if(_0x3d52fb[_0x5ba335]['isRemoved'])_0x3d52fb[_0x5ba335]['isIncorrect']=!0x0;else{for(;_0x215ace!=_0x5ba335;)_0x3d52fb[_0x215ace]['isRemoved']&&0x0!=_0x3d52fb[_0x215ace]['distance']&&(_0x3d52fb[_0x215ace]['isIncorrect']=!0x0,_0xa71b05['add'](_0x3d52fb[_0x215ace]['pairId'])),_0x215ace--;}}}return _0x3d52fb['filter'](_0x2c4cc2=>!_0x2c4cc2['isIncorrect']);}['_removeUnsupportedChanges'](_0x1b4235){const _0xf8dea6=this['editor']['model']['schema'];for(let _0x3e07a5=0x0;_0x3e07a5<_0x1b4235['length'];_0x3e07a5++){if(!(_0x1b4235[_0x3e07a5]['isAdded']||_0x1b4235[_0x3e07a5]['isAddSuggestion']||_0x1b4235[_0x3e07a5]['isRemoved']||_0x1b4235[_0x3e07a5]['isRemoveSuggestion']))continue;if(0x0==_0x1b4235[_0x3e07a5]['distance'])continue;const _0xef61f9=_0x1b4235[_0x3e07a5]['item'];_0xf8dea6['isBlock'](_0xef61f9)||_0xf8dea6['isLimit'](_0xef61f9)||(_0x1b4235[_0x3e07a5]['isAdded']&&delete _0x1b4235[_0x3e07a5]['isAdded'],_0x1b4235[_0x3e07a5]['isAddSuggestion']&&delete _0x1b4235[_0x3e07a5]['isAddSuggestion'],_0x1b4235[_0x3e07a5]['isRemoveSuggestion']&&delete _0x1b4235[_0x3e07a5]['isRemoveSuggestion'],_0x1b4235[_0x3e07a5]['isRemoved']&&(_0x1b4235[_0x3e07a5]['isIncorrect']=!0x0));}return _0x1b4235['filter'](_0x4b67e5=>!_0x4b67e5['isIncorrect']);}['_makeModelFromTape'](_0x54cabc,_0x5b39ea,_0x37aee5){const _0x38ed6f=new _t(),_0x348cb6=[],_0xfa4e3e=new Map(),_0x18c636=this['editor']['model'],_0x560bc1=_0x18c636['schema'],_0x1d4af5=[_0x38ed6f],_0xf2bda1={},_0x561109={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4c3a44=null;const _0x137223=[0x0];for(let _0x573967=0x0;_0x573967<_0x54cabc['length'];_0x573967++){let _0x1e324f,_0x1fdc16;if('elementStart'===_0x54cabc[_0x573967]['type']){_0x1e324f=_0x18c636['createPositionFromPath'](_0x38ed6f,_0x137223);const _0x583393=new ft(_0x54cabc[_0x573967]['item']['name'],_0x54cabc[_0x573967]['item']['getAttributes']());_0x1d4af5[0x0]['_appendChild'](_0x583393),_0x137223['push'](0x0),_0x1d4af5['unshift'](_0x583393),_0x1fdc16=_0x18c636['createPositionFromPath'](_0x38ed6f,_0x137223),_0x4c3a44=null;}else{if('elementEnd'===_0x54cabc[_0x573967]['type'])_0x1d4af5['shift'](),_0x1e324f=_0x18c636['createPositionFromPath'](_0x38ed6f,_0x137223),_0x137223['pop'](),_0x137223[_0x137223['length']-0x1]++,_0x1fdc16=_0x18c636['createPositionFromPath'](_0x38ed6f,_0x137223),_0x4c3a44=null;else{if(_0x1e324f=_0x18c636['createPositionFromPath'](_0x38ed6f,_0x137223),_0x4c3a44&&_0x18d437(_0x4c3a44,_0x54cabc[_0x573967]['item']))_0x4c3a44['_data']+=_0x54cabc[_0x573967]['item']['data'];else{const _0x1c481c=new yt(_0x54cabc[_0x573967]['item']['data'],_0x54cabc[_0x573967]['item']['getAttributes']());_0x1d4af5[0x0]['_appendChild'](_0x1c481c),_0x4c3a44=_0x1c481c;}_0x137223[_0x137223['length']-0x1]+=_0x54cabc[_0x573967]['item']['offsetSize'],_0x1fdc16=_0x18c636['createPositionFromPath'](_0x38ed6f,_0x137223);}}for(const _0x24fb39 of _0x54cabc[_0x573967]['markersStart'])_0xfa4e3e['set'](_0x24fb39,{'start':_0x1e324f,'end':null});_0x305de1('isRemoveSuggestion',_0x573967,_0x1e324f,_0x1fdc16),_0x305de1('isAddSuggestion',_0x573967,_0x1e324f,_0x1fdc16),_0x305de1('isRemoved',_0x573967,_0x1e324f,_0x1fdc16),_0x305de1('isAdded',_0x573967,_0x1e324f,_0x1fdc16);for(const _0x5cc2ff of _0x54cabc[_0x573967]['markersEnd']){_0xfa4e3e['get'](_0x5cc2ff)['end']=_0x1fdc16;}}for(const [_0x3805d3,_0x5a316d]of _0xfa4e3e){const _0x535d30=this['editor']['model']['createRange'](_0x5a316d['start'],_0x5a316d['end']);_0x38ed6f['markers']['set'](_0x3805d3,_0x535d30);}return _0x348cb6['sort']((_0x5a0dd1,_0x1e31e7)=>{const _0x3ca8a1=_0x38ed6f['markers']['get']('revision:'+_0x5a0dd1['id']),_0x4b43ee=_0x38ed6f['markers']['get']('revision:'+_0x1e31e7['id']);return _0x3ca8a1['start']['isBefore'](_0x4b43ee['start'])?-0x1:_0x3ca8a1['start']['isAfter'](_0x4b43ee['start'])?0x1:_0x3ca8a1['end']['isBefore'](_0x4b43ee['end'])?-0x1:_0x3ca8a1['end']['isAfter'](_0x4b43ee['end'])?0x1:'add'===_0x5a0dd1['type']?-0x1:0x1;}),{'root':_0x38ed6f,'changes':_0x348cb6};function _0x305de1(_0x24ba68,_0x260a69,_0x7448b,_0x5279de){const _0x297df7=!!_0x54cabc[_0x260a69][_0x24ba68],_0x1cb521=_0x297df7?_0x54cabc[_0x260a69][_0x24ba68]['userId']:null,_0x413718=_0x260a69===_0x54cabc['length']-0x1,_0x17e31b=_0x561109[_0x24ba68][0x0],_0x4cb871=_0x560bc1['isObject'](_0x54cabc[_0x260a69]['item']);!_0xf2bda1[_0x24ba68]&&_0x297df7?_0xf2bda1[_0x24ba68]={'start':_0x7448b,'tapeItem':_0x54cabc[_0x260a69],'userId':_0x1cb521,'type':_0x24ba68}:_0xf2bda1[_0x24ba68]&&!_0x297df7?(_0xf2bda1[_0x24ba68]['end']=_0x7448b,_0x17fbff(_0xf2bda1[_0x24ba68]),_0xf2bda1[_0x24ba68]=null):_0xf2bda1[_0x24ba68]&&_0x297df7&&_0xf2bda1[_0x24ba68]['userId']!==_0x1cb521&&(_0xf2bda1[_0x24ba68]['end']=_0x7448b,_0x17e31b&&_0x17e31b['userId']===_0xf2bda1[_0x24ba68]['userId']||_0x17fbff(_0xf2bda1[_0x24ba68]),_0xf2bda1[_0x24ba68]={'start':_0x7448b,'tapeItem':_0x54cabc[_0x260a69],'userId':_0x1cb521,'type':_0x24ba68}),_0xf2bda1[_0x24ba68]&&_0x4cb871&&('elementStart'!==_0x54cabc[_0x260a69]['type']||_0x17e31b&&_0x17e31b['userId']===_0x1cb521||_0x561109[_0x24ba68]['unshift']({'userId':_0x1cb521,'object':_0x54cabc[_0x260a69]['item'],'change':_0xf2bda1[_0x24ba68]}),'elementEnd'===_0x54cabc[_0x260a69]['type']&&_0x17e31b&&_0x17e31b['object']===_0x54cabc[_0x260a69]['item']&&(_0x561109[_0x24ba68]['shift'](),_0xf2bda1[_0x24ba68]=_0x17e31b['change'])),_0xf2bda1[_0x24ba68]&&_0x413718&&(_0xf2bda1[_0x24ba68]['end']=_0x5279de,_0x17fbff(_0xf2bda1[_0x24ba68]),_0xf2bda1[_0x24ba68]=null);}function _0x17fbff({start:_0x538563,end:_0x3b1b67,tapeItem:_0x390d8e,userId:_0x28fec8,type:_0x284abd}){const _0x102c43=_0x390d8e['item'],_0x205d9c=_0x18c636['schema']['isBlock'](_0x102c43)&&!_0x18c636['schema']['isLimit'](_0x102c43),_0x26081e=_0x538563['nodeAfter']==_0x3b1b67['parent']&&_0x3b1b67['isAtStart'];if(_0x205d9c&&_0x26081e)return;const _0x50bf58=_0x18c636['createRange'](_0x538563,_0x3b1b67),_0xd68e94=_0x5b39ea['get'](_0x28fec8),_0x1eebfd=new r({'author':_0xd68e94,'type':'isAdded'==_0x284abd||'isAddSuggestion'==_0x284abd?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x284abd||'isRemoveSuggestion'==_0x284abd},'createdAt':new Date(),'rootName':_0x37aee5});_0x348cb6['push'](_0x1eebfd),_0x38ed6f['markers']['set']('revision:'+_0x1eebfd['id'],_0x50bf58);}function _0x18d437(_0x2b844d,_0x44b340){const _0xec974e=_0x2b844d['getAttributes'](),_0xba6113=_0x44b340['getAttributes']();for(const _0x278049 of _0xec974e){if(_0x278049[0x1]!==_0x44b340['getAttribute'](_0x278049[0x0]))return!0x1;_0xba6113['next']();}return _0xba6113['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x34eba9=>{const _0x486f29=_0x34eba9['markerName']['split'](':')[0x1],_0x560da5=this['_getChangeFromId'](_0x486f29);if(!_0x560da5)return null;const _0xa7c0dc='add'==_0x560da5['type']?'insertion':'deletion',_0x49e9aa=['ck-suggestion-marker','ck-suggestion-marker-'+_0xa7c0dc];return _0x560da5['data']['isSuggestion']&&_0x49e9aa['push']('ck-suggestion-marker-'+_0xa7c0dc+'-new'),this['activeChange']==_0x560da5&&_0x49e9aa['push']('ck-suggestion-marker--active'),{'classes':_0x49e9aa,'attributes':{'data-change-id':_0x486f29}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x7f57b2=>{_0x7f57b2['on']('element:pre',(_0xfcf1fa,_0x262c40,_0x5c6f35)=>{const _0x3859b6=_0x262c40['viewItem']['getChild'](0x0);if(!_0x3859b6||!_0x3859b6['is']('element','code'))return;if(!_0x5c6f35['consumable']['consume'](_0x3859b6,{'attributes':['vid_start','vid_end']}))return;const _0x3108eb=_0x262c40['modelRange']['start']['nodeAfter'];_0x5c6f35['writer']['setAttribute']('vid_start',_0x3859b6['getAttribute']('vid_start'),_0x3108eb),_0x5c6f35['writer']['setAttribute']('vid_end',_0x3859b6['getAttribute']('vid_end'),_0x3108eb);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5bfb06=>{_0x5bfb06['on']('element',(_0x10ee06,_0x31ddde,_0x89d977)=>{if(!_0x89d977['consumable']['consume'](_0x31ddde['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x31ddde['modelRange']['isCollapsed'])return;const _0x580dc6=_0x31ddde['modelRange']['start']['nodeAfter'];_0x580dc6['hasAttribute']('vid_start')||_0x580dc6['hasAttribute']('vid')||(_0x89d977['writer']['setAttribute']('vid_start',_0x31ddde['viewItem']['getAttribute']('vid_start'),_0x580dc6),_0x89d977['writer']['setAttribute']('vid_end',_0x31ddde['viewItem']['getAttribute']('vid_end'),_0x580dc6));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2735a8=>_0x2735a8['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5b7056,[,_0x2cd8de])=>{['vid_start','vid_end','vid']['includes'](_0x2cd8de)&&(_0x5b7056['return']=!0x0,_0x5b7056['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5cac3d=>{_0x5cac3d['on']('attribute:vid',(_0x1397c3,_0x568118,_0x3cee02)=>{if('\x20'!=_0x568118['item']['data']||_0x568118['item']['parent']['maxOffset']>0x1)return;if(!_0x3cee02['consumable']['consume'](_0x568118['item'],_0x1397c3['name']))return;const _0x3d1712=_0x3cee02['writer'],_0x4e33a3=_0x3cee02['mapper']['toViewRange'](_0x568118['range']);_0x3d1712['wrap'](_0x4e33a3,_0x3d1712['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4322b4){const _0x568db3=_0x4322b4['plugins']['get']('RevisionViewer');return(_0x175c70,_0x303561,_0x367e5f)=>{const _0x1467a0=_0x303561['markerName']['split'](':')[0x1],_0x4ed017=_0x568db3['_getChangeFromId'](_0x1467a0);if(!_0x4ed017)return null;const _0x45eeb5='add'==_0x4ed017['type']?'split':'merge';if(!_0x367e5f['consumable']['test'](_0x303561['markerRange'],_0x175c70['name']))return;const _0x2b9ac0=_0x303561['markerRange']['getWalker'](),_0x3c773b=_0x303561['markerRange']['start'],_0x546ab4=_0x4322b4['model']['schema'];let _0x248a22=null,_0x228248=null,_0x45967e=!0x1,_0xf3c835=!0x1;for(const _0x50abbc of _0x2b9ac0){const _0x273dbe=_0x50abbc['item'];_0x45967e=_0x45967e||_0x546ab4['isContent'](_0x273dbe);const _0x241a9d=_0x367e5f['mapper']['toViewElement'](_0x273dbe);if(_0x241a9d&&_0x241a9d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x50abbc['type']&&(_0x546ab4['isBlock'](_0x273dbe)&&!_0x546ab4['isLimit'](_0x273dbe)&&(_0x273dbe['nextSibling']||_0x3c773b['isAtEnd']?_0x248a22&&_0x248a22['parent']==_0x273dbe||(_0x248a22=_0x273dbe,_0x5dac04(_0x50abbc['previousPosition']),_0xf3c835=!0x0):_0x228248=_0x228248||_0x50abbc['previousPosition']));}function _0x5dac04(_0x29d5c1){const _0x17beb7=_0x367e5f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x45eeb5}),_0x2229e7=_0x367e5f['mapper']['toViewPosition'](_0x29d5c1);_0x4ed017['data']['isSuggestion']&&_0x367e5f['writer']['addClass']('ck-suggestion-marker-'+_0x45eeb5+'-new',_0x17beb7),_0x568db3['activeChange']==_0x4ed017&&_0x367e5f['writer']['addClass']('ck-suggestion-marker--active',_0x17beb7),_0x367e5f['writer']['insert'](_0x2229e7,_0x17beb7),_0x367e5f['mapper']['bindElementToMarker'](_0x17beb7,_0x303561['markerName']);}_0x45967e||_0xf3c835||!_0x228248||_0x5dac04(_0x228248);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x18bb66,_0x3f0edb,_0x1a4573)=>{const _0x441c91=_0x1a4573['mapper']['markerNameToElements'](_0x3f0edb['markerName']);if(_0x441c91){for(const _0x1a3e51 of _0x441c91)(_0x1a3e51['hasClass']('ck-suggestion-marker-split')||_0x1a3e51['hasClass']('ck-suggestion-marker-merge'))&&(_0x1a4573['mapper']['unbindElementFromMarkerName'](_0x1a3e51,_0x3f0edb['markerName']),_0x1a4573['writer']['remove'](_0x1a3e51));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1db2bf,_0x2a8fe8,_0x1d6c5e)=>{const _0x16defd=_0x2a8fe8['markerName']['split'](':')[0x1],_0x1fdea5=this['_getChangeFromId'](_0x16defd);if(!_0x1fdea5)return null;const _0x4b3125='add'==_0x1fdea5['type']?'split':'merge';if(_0x1d6c5e['consumable']['test'](_0x2a8fe8['markerRange'],_0x1db2bf['name']))for(const _0x2a958c of _0x2a8fe8['markerRange']['getItems']()){if(!_0x2a958c['is']('element','softBreak'))continue;const _0x521a6a=_0x1d6c5e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b3125}),_0xc34376=_0x1d6c5e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2a958c));_0x1fdea5['data']['isSuggestion']&&_0x1d6c5e['writer']['addClass']('ck-suggestion-marker-'+_0x4b3125+'-new',_0x521a6a),this['activeChange']==_0x1fdea5&&_0x1d6c5e['writer']['addClass']('ck-suggestion-marker--active',_0x521a6a),_0x1d6c5e['writer']['insert'](_0xc34376,_0x521a6a),_0x1d6c5e['mapper']['bindElementToMarker'](_0x521a6a,_0x2a8fe8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x133b26=>{for(const _0x24b9f5 of this['editor']['model']['document']['getRootNames']()){const _0x5b2fb9=this['editor']['model']['document']['getRoot'](_0x24b9f5),_0x146798=this['editor']['editing']['view']['document']['getRoot'](_0x24b9f5);if(_0x146798){const _0x3cb0e2=_0x5b2fb9['getAttribute']('revisionHistoryAttachChange');if(_0x133b26['removeAttribute']('data-change-id',_0x146798),_0x133b26['removeClass']('ck-revision-history-root-add',_0x146798),_0x133b26['removeClass']('ck-revision-history-root-remove',_0x146798),_0x133b26['removeClass']('ck-revision-history-root--active',_0x146798),_0x3cb0e2){const _0x1bbbd5=this['_getChangeFromId'](_0x3cb0e2);if(!_0x1bbbd5)return null;_0x133b26['setAttribute']('data-change-id',_0x3cb0e2,_0x146798),_0x133b26['addClass']('ck-revision-history-root-'+_0x1bbbd5['type'],_0x146798),this['activeChange']==_0x1bbbd5&&_0x133b26['addClass']('ck-revision-history-root--active',_0x146798);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x46c151=>'revision-comment:'+_0x46c151,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4a9b1f=>'revision-suggestion:'+_0x4a9b1f,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x481416=>({'name':'suggestion:'+_0x481416,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3dc34c=>{const _0x4ecc34=_0x3dc34c['markerName']['split'](':')[0x1];return'insertion'!=_0x4ecc34&&'deletion'!=_0x4ecc34?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4ecc34]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x17f165,_0x37cd04,_0x5b0844)=>{const _0x4045ea=_0x5b0844['mapper']['markerNameToElements'](_0x37cd04['markerName']);if(_0x4045ea){for(const _0x414f8a of _0x4045ea)_0x414f8a['is']('uiElement')&&(_0x5b0844['mapper']['unbindElementFromMarkerName'](_0x414f8a,_0x37cd04['markerName']),_0x5b0844['writer']['remove'](_0x414f8a));}},{'priority':'high'});}['_getChangeFromId'](_0x554725){return this['_changeIdToChange']['get'](_0x554725);}['_getViewForChange'](_0x2899ee){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2899ee),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x34ef5c,_0x491347,_0x5aeaed,_0x2bd919)=>{_0x2bd919&&this['_balloon']['remove'](_0x2bd919),_0x5aeaed&&(this['_balloon']['add']({'view':_0x5aeaed,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5e9281=this['editor']['editing'],_0x1748b3=this['_getChangeFromId'](_0x5aeaed['changeId']);let _0x5bf1e9;if(_0x1748b3['data']['isOnRoot']){const _0x46cd04=_0x5e9281['view']['getDomRoot'](_0x1748b3['rootName']);_0x5bf1e9=Array['from'](_0x46cd04['getClientRects']());}else{const _0x2e5f38=this['editor']['model']['markers']['get']('revision:'+_0x5aeaed['changeId']);_0x5bf1e9=Array['from'](_0x5e9281['mapper']['markerNameToElements'](_0x2e5f38['name']))['map'](_0x31af07=>_0x5e9281['view']['domConverter']['mapViewToDom'](_0x31af07))['map'](_0x3a7549=>Array['from'](_0x3a7549['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5bf1e9[0x0];return _0x5bf1e9['find'](_0x4d30c6=>_0x4d30c6['top']-0x3<=this['_activeViewTarget']['y']&&_0x4d30c6['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4d30c6['left']-0x3<=this['_activeViewTarget']['x']&&_0x4d30c6['right']+0x3>=this['_activeViewTarget']['x'])||_0x5bf1e9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x48470c,_0xa5c182,_0x3669dd,_0x65d146)=>{this['activeView']=_0x3669dd?this['_getViewForChange'](_0x3669dd):null,this['editor']['model']['change'](()=>{const _0x40079a=this['editor']['editing'];_0x65d146&&(_0x65d146['data']['isOnRoot']?_0x40079a['view']['change'](_0x99564=>{_0x99564['removeClass']('ck-revision-history-root--active',_0x40079a['view']['document']['getRoot'](_0x65d146['rootName']));}):_0x40079a['reconvertMarker']('revision:'+_0x65d146['id'])),_0x3669dd&&(_0x3669dd['data']['isOnRoot']?_0x40079a['view']['change'](_0x1181bd=>{_0x1181bd['addClass']('ck-revision-history-root--active',_0x40079a['view']['document']['getRoot'](_0x3669dd['rootName']));}):_0x40079a['reconvertMarker']('revision:'+_0x3669dd['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3bd27a,_0x390fe0)=>{if(this['activeChange'])return;const _0x296163=this['_findChangeIdFromDomTarget'](_0x390fe0['target']),_0x4f121d=this['_changeIdToChange']['get'](_0x296163);_0x4f121d?(this['_activeViewTarget']={'x':_0x390fe0['domEvent']['x'],'y':_0x390fe0['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4f121d)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2fdf2a,_0x2d37b7)=>{const _0x5c22d9=this['_findChangeIdFromDomTarget'](_0x2d37b7['target']),_0x2db053=this['_changeIdToChange']['get'](_0x5c22d9);_0x2db053?(this['_activeViewTarget']={'x':_0x2d37b7['domEvent']['x'],'y':_0x2d37b7['domEvent']['y']},_0x2db053===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2db053):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x57978e){do{const _0x156cda=_0x57978e['getAttribute']('data-change-id');if(_0x156cda)return _0x156cda;_0x57978e=_0x57978e['parent'];}while(_0x57978e);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4709f5=>{for(const _0x42164f of this['editor']['model']['markers'])_0x4709f5['removeMarker'](_0x42164f);});}constructor(_0x1e1e9f){super(_0x1e1e9f),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x35a9e7,_0x10c32e,_0x3d7e4c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2342f5=>{for(const _0x1afe2d of this['editor']['editing']['view']['document']['roots'])_0x3d7e4c?_0x2342f5['removeClass']('ck-editor__editable__overlay',_0x1afe2d):_0x2342f5['addClass']('ck-editor__editable__overlay',_0x1afe2d);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3bcd1c=>null!==_0x3bcd1c),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4e1b8a,_0x164619,_0x29a71c)=>_0x4e1b8a&&_0x29a71c?_0x164619['changes']['getIndex'](_0x29a71c):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1bd69b,_0x59c319)=>_0x1bd69b?_0x59c319['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3009e1);}}function et(_0x198b2e,_0x131985){return(_0x58d49b,_0xdd2fd7,_0x2099df)=>{if(!_0x2099df['consumable']['test'](_0xdd2fd7['markerRange'],_0x58d49b['name']))return;const _0x635a98=_0xdd2fd7['markerRange']['getWalker'](),_0x7fa148=_0xdd2fd7['markerRange']['start'],_0x57f274=_0x198b2e['model']['schema'];let _0x318135=null,_0x485f47=null,_0x183f01=!0x1,_0x32a266=!0x1;for(const _0x2bf867 of _0x635a98){const _0x343c4d=_0x2bf867['item'];_0x183f01=_0x183f01||_0x57f274['isContent'](_0x343c4d);const _0x1c6aaa=_0x2099df['mapper']['toViewElement'](_0x343c4d);if(_0x1c6aaa&&_0x1c6aaa['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2bf867['type']&&(_0x57f274['isBlock'](_0x343c4d)&&!_0x57f274['isLimit'](_0x343c4d)&&(_0x343c4d['nextSibling']||_0x7fa148['isAtEnd']?_0x318135&&_0x318135['parent']==_0x343c4d||(_0x318135=_0x343c4d,_0x1281f9(_0x2bf867['previousPosition']),_0x32a266=!0x0):_0x485f47=_0x485f47||_0x2bf867['previousPosition']));}function _0x1281f9(_0x288e07){const _0x551804=_0x2099df['mapper']['toViewPosition'](_0x288e07),_0x5111f6=_0x2099df['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x131985});_0x2099df['writer']['insert'](_0x551804,_0x5111f6),_0x2099df['mapper']['bindElementToMarker'](_0x5111f6,_0xdd2fd7['markerName']);}_0x183f01||_0x32a266||!_0x485f47||_0x1281f9(_0x485f47);};}class bt extends _0x57861a{['execute'](){const _0xcb1663=this['editor'],_0x2ba2c2=_0xcb1663['plugins']['get'](d),_0x543bf7=_0x2ba2c2['isReady']?_0x2ba2c2['diff']['newRevisionId']:null;_0xcb1663['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x543bf7);}['refresh'](){const {isReady:_0x22c99b,isEnabled:_0x38b91e}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x22c99b&&_0x38b91e;}constructor(_0xa152cc){super(_0xa152cc);const _0x58f5f=_0xa152cc['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x58f5f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x58f5f,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x57861a{['execute'](){const _0x2a1331=this['editor'],_0x589f5e=_0x2a1331['plugins']['get'](d),{isNavigationMode:_0x31397b,currentChangeNumber:_0x5eedcb}=_0x589f5e;let _0x2ca82e;if(_0x589f5e['activeChange']=_0x31397b?_0x589f5e['diff']['changes']['get'](_0x5eedcb+this['_step']):_0x589f5e['diff']['changes']['first'],_0x589f5e['activeChange']['data']['isOnRoot'])_0x2ca82e=_0x2a1331['editing']['view']['getDomRoot'](_0x589f5e['activeChange']['rootName']);else{const _0x9babd6=_0x2a1331['model']['markers']['get']('revision:'+_0x589f5e['activeChange']['id']);_0x2ca82e=_0x24ad51(_0x2a1331['editing'],_0x9babd6);}_0x3319e0({'target':_0x2ca82e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2d5ab9,currentChangeNumber:_0x1890ea,numberOfChanges:_0xf86e88,isReady:_0x4d1464,isEnabled:_0x270d16}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x270d16&&_0x4d1464&&_0xf86e88)&&(!_0x2d5ab9||(0x1===this['_step']?_0x1890ea<_0xf86e88-0x1:_0x1890ea>0x0));}constructor(_0x4bafa6,{direction:_0x473d94}){super(_0x4bafa6);const _0x8d1a5a=_0x4bafa6['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x473d94?0x1:-0x1,this['listenTo'](_0x8d1a5a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x8d1a5a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x8d1a5a,'change:activeChange',()=>this['refresh']());}}class _i extends _0x2edd54{constructor(_0x297d98){super(_0x297d98);const _0xcb2f1c=this['bindTemplate'],_0x57c12b=new _0x93764b(_0x297d98),_0x20982b=new _0x93764b(_0x297d98);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x51fc94,_0x445209)=>_0x51fc94&&_0x445209>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x382245,_0xbab4b8,_0x576dcb,_0x465b41)=>{if(!_0x382245)return y(_0x297d98,'Loading...');if(!_0x576dcb)return y(_0x297d98,'No\x20changes');const _0x16a0c3=y(_0x297d98,'NUMBER_OF_CHANGES',_0x576dcb);return _0x465b41?y(_0x297d98,'X_OF_Y_CHANGES',[_0xbab4b8+0x1,_0x576dcb]):_0x16a0c3;}),_0x57c12b['set']({'label':y(_0x297d98,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x20982b['set']({'label':y(_0x297d98,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x57c12b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x20982b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x57c12b['on']('execute',()=>this['fire']('execute','backward')),_0x20982b['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0xcb2f1c['if']('_isStatusLabelVisible','ck-hidden',_0x114bd5=>!_0x114bd5)]},'children':[{'text':_0xcb2f1c['to']('isNavigationMode',_0x5a380b=>_0x5a380b?y(_0x297d98,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x297d98,'Total')+':\x20')}]},{'text':_0xcb2f1c['to']('_statusText')}]},new _0xa708cb(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x57c12b,_0x20982b]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x60a8de{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x59ad60=this['editor']['editing']['view'];_0x59ad60['change'](_0x2ba3dc=>{for(const _0x1f5a67 of _0x59ad60['document']['roots'])_0x2ba3dc['addClass'](ce,_0x1f5a67);});}['hide'](){const _0x521112=this['editor']['editing']['view'];_0x521112['change'](_0x489007=>{for(const _0x43b233 of _0x521112['document']['roots'])_0x489007['removeClass'](ce,_0x43b233);});}}class R extends _0x60a8de{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2419cc=this['editor'],_0x249e66=_0x2419cc['plugins']['get'](d),_0x1d7e8d=_0x2419cc['plugins']['get'](de);_0x2419cc['ui']['componentFactory']['add']('exitToEditing',_0x147ff0=>{const _0x8215a9=new _0x93764b(_0x147ff0);return _0x8215a9['set']({'label':y(_0x147ff0,'Back\x20to\x20editing'),'icon':_0x23c9a9['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x8215a9,'execute',()=>{_0x2419cc['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x8215a9;}),_0x2419cc['ui']['componentFactory']['add']('restoreRevision',_0x3d6151=>{const _0x59fc20=new _0x93764b(_0x3d6151);return _0x59fc20['set']({'label':y(_0x3d6151,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x59fc20['bind']('isEnabled')['to'](_0x2419cc['commands']['get']('restoreRevision')),this['listenTo'](_0x59fc20,'execute',()=>_0x2419cc['execute']('restoreRevision')),_0x59fc20;}),_0x2419cc['ui']['componentFactory']['add']('changesNavigation',_0x4c39b3=>{const _0x1aef97=new _i(_0x4c39b3),_0x1f9c6e=_0x2419cc['commands']['get']('showPreviousChange'),_0x365609=_0x2419cc['commands']['get']('showNextChange');return _0x1aef97['bind']('isBackwardNavigationEnabled')['to'](_0x1f9c6e,'isEnabled'),_0x1aef97['bind']('isForwardNavigationEnabled')['to'](_0x365609,'isEnabled'),_0x1aef97['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x249e66),this['listenTo'](_0x1aef97,'execute',(_0x3af35a,_0x4f8ad2)=>{_0x2419cc['execute']('forward'===_0x4f8ad2?'showNextChange':'showPreviousChange');}),_0x1aef97;}),_0x1d7e8d['show'](),_0x249e66['on']('change:isReady',(_0xe34652,_0x411ce3,_0x4afa02)=>{_0x4afa02?_0x1d7e8d['hide']():_0x1d7e8d['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4f8d06=this['fieldView']['element'];this['_tooltipString']=_0x4f8d06['scrollWidth']>_0x4f8d06['clientWidth']&&_0x4f8d06['value']||'';}constructor(_0x1859bb,_0x35a0a8){super(_0x1859bb,_0x35a0a8),this['_resizeObserver']=null;const _0x3b5503=this['bindTemplate'];this['set']({'label':y(_0x1859bb,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1859bb,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3b5503['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x2edd54{constructor(_0x186e0d,_0x3afa66,_0x1d4b41){super(_0x186e0d);const _0x33d979=new _0x5af3bc();_0x33d979['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x11e055=['ck','ck-revision-history-sidebar__revision-author'];_0x1d4b41&&_0x11e055['push']('ck-revision-history-sidebar__revision-author_creator');const _0x117c2f=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x186e0d,_0x1d4b41?'Revision\x20creator':'Revision\x20author')},'children':[_0x33d979,_0x3afa66['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x11e055},'children':_0x117c2f});}}function ni(_0x4012d8,_0x4badef){const _0x518046=_0x4012d8['bindTemplate'],_0x5f4040=_0x4012d8['locale'],_0xa85abf=_0x1a746f(_0x5f4040);_0xa85abf['panelPosition']='sw';const _0x3dd4db=function(_0xf74411,_0x146b9d){const _0x44269b=function(_0x3e9269,_0x27fe50){const _0x3c3e5a=_0x3e9269['locale'],_0x48678f={'Compare\x20against\x20selected':y(_0x3c3e5a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3c3e5a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3c3e5a,'Restore\x20this\x20revision')};return _0x27fe50['map'](_0x54ff53=>{const _0x59078d=_0x48678f[_0x54ff53['name']];return _0x59078d&&_0x59078d!==_0x54ff53['name']&&(_0x54ff53['name']=_0x59078d),_0x54ff53;});}(_0xf74411,_0x146b9d),_0x2a7222=new _0xa59cd0();for(const _0x11c215 of _0x44269b){const _0x22db6d={'type':'button','model':new to({'label':_0x11c215['name'],'class':_0x11c215['class'],'withText':!0x0,'_action':_0x11c215['action']})};_0x22db6d['model']['bind']('isEnabled')['to'](_0xf74411,'isActionsDropdownOpen',_0xaafa23=>'function'!=typeof _0x11c215['isEnabled']||(!_0xaafa23||_0x11c215['isEnabled'](_0xf74411))),_0x2a7222['add'](_0x22db6d);}return _0x2a7222;}(_0x4012d8,_0x4badef);return _0x4012d8['bind']('isActionsDropdownOpen')['to'](_0xa85abf,'isOpen'),_0xa85abf['buttonView']['set']({'label':y(_0x5f4040,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x23c9a9['threeVerticalDots']}),_0xa85abf['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x518046['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x518046['to'](_0x4a5bd4=>_0x4a5bd4['stopPropagation']())}}),_0xa85abf['on']('execute',_0x5bb881=>{_0x4012d8['isReady']&&'function'==typeof _0x5bb881['source']['_action']&&_0x5bb881['source']['_action'](_0x4012d8);}),_0x37da10(_0xa85abf,_0x3dd4db),_0xa85abf['listenTo'](_0x4012d8,'change:isActionsDropdownOpen',(_0x5ee0c5,_0x36b828,_0x49daca)=>{if(_0x49daca)for(const _0x8adcc2 of _0xa85abf['listView']['items']){const _0x507040=_0x8adcc2['children']['first'],_0x90c080=_0x4badef['find'](_0x3179f4=>_0x3179f4['action']===_0x507040['_action'])['isVisible'];_0x8adcc2['isVisible']=void 0x0===_0x90c080||_0x90c080(_0x4012d8);}}),_0xa85abf;}class ai extends _0x561be0(_0x2edd54){['render'](){super['render']();const _0x1954bf=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1954bf,'change',()=>{this['_requireRevisionName']&&!_0x1954bf['value']||this['fire']('setName',{'id':this['id'],'name':_0x1954bf['value']}),_0x1954bf['value']||(_0x1954bf['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x59c544,_0x37336e,_0x117e8f,_0x43cc0e){super(_0x59c544);const _0x448b63=this['bindTemplate'],_0x61e1df=function(_0x341e6b,_0xedf912){const _0x195c1a=Array['from'](_0xedf912['authors'])['filter'](_0x18ed37=>_0x18ed37!=_0xedf912['creator']);return _0xedf912['creator']&&_0x195c1a['unshift'](_0xedf912['creator']),_0x195c1a['map'](_0x14b89b=>new ti(_0x341e6b,_0x14b89b,_0x14b89b==_0xedf912['creator']));}(_0x59c544,_0x37336e);this['id']=_0x37336e['id'],this['_revision']=_0x37336e,this['_requireRevisionName']=_0x43cc0e,this['bind']('name','createdAt')['to'](_0x37336e),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3a9f2b=>{return _0xcef0c0=_0x59c544['uiLanguage'],(_0x5d7d20=_0x3a9f2b)['toLocaleDateString'](_0xcef0c0,{'month':'long','day':'numeric'})+',\x20'+_0x5d7d20['toLocaleTimeString'](_0xcef0c0,{'hour':'numeric','minute':'numeric'});var _0xcef0c0,_0x5d7d20;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x59c544,_0xd60073),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4c2c41=>_0x4c2c41||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x332c73,_0x4c3bda)=>_0x332c73&&_0x4c3bda),this['revisionActionsView']=_0x117e8f&&_0x117e8f['length']?ni(this,_0x117e8f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x448b63['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x448b63['if']('isEnabled','ck-disabled',_0xf08a04=>!_0xf08a04),_0x448b63['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x448b63['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x448b63['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x448b63['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x61e1df}]},this['revisionActionsView']],'on':{'click':_0x448b63['to'](_0x430ffe=>{_0x430ffe['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x30c062,_0x50a950){const _0x26cfeb=_0xa7f62f['fromJSDate'](_0x30c062)['setLocale'](_0x50a950),_0x2fcbf0=_0xa7f62f['local'](),_0x5468b3=_0x2fcbf0['minus']({'days':0x1})['startOf']('day');let _0x2d3621,_0x371859;return _0x26cfeb['hasSame'](_0x2fcbf0,'day')?(_0x2d3621=_0x26cfeb['startOf']('day')['toJSDate'](),_0x371859=_0x26cfeb['toRelativeCalendar']()):_0x26cfeb['hasSame'](_0x5468b3,'day')?(_0x2d3621=_0x5468b3['toJSDate'](),_0x371859=_0x26cfeb['toRelativeCalendar']()):_0x26cfeb['hasSame'](_0x2fcbf0,'week')?(_0x2d3621=_0x26cfeb['startOf']('week')['toJSDate'](),_0x371859=_0x26cfeb['weekdayLong']||''):_0x26cfeb['hasSame'](_0x2fcbf0,'year')?(_0x2d3621=_0x26cfeb['startOf']('month')['toJSDate'](),_0x371859=_0x26cfeb['monthLong']||''):(_0x2d3621=_0x26cfeb['startOf']('year')['toJSDate'](),_0x371859=String(_0x26cfeb['year'])),{'startDate':_0x2d3621,'localizedPeriodName':_0x371859};}class mi extends _0x2edd54{['addRevision'](_0x3e154c){const _0x31e35e=new ai(this['locale'],_0x3e154c,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x31e35e);}['removeRevision'](_0x31ce80){const _0x1621cb=this['revisionViews']['find'](_0x2bc392=>_0x2bc392['id']===_0x31ce80['id']);this['revisionViews']['remove'](_0x1621cb);}constructor(_0x3468a,_0x2efe27,_0x4150b4,_0x421f0e){super(_0x3468a);const _0x4b5614=di(_0x2efe27,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2efe27,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4150b4,this['_requireRevisionName']=_0x421f0e,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x4b5614}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x2edd54{constructor(_0x3f1003){super(_0x3f1003);const _0x8c3462=new _0x5af3bc();_0x8c3462['content']=_0x23c9a9['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x8c3462,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3f1003,'Revision\x20history')]}]});}}class ci extends _0x2edd54{['render'](){super['render']();for(const _0x29032c of this['_revisions'])this['_addRevision'](_0x29032c);this['_revisions']['on']('add',(_0x46067c,_0x5c1c2c)=>{this['_addRevision'](_0x5c1c2c);}),this['_revisions']['on']('remove',(_0x160889,_0xf450a1)=>{this['_removeRevision'](_0xf450a1);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4b29fd=>_0x4b29fd['revisionViews']['map'](_0x3d58f4=>_0x3d58f4))['flat']();}['selectRevision'](_0x58878a){for(const _0x1b72af of this['revisionViews'])_0x58878a&&_0x58878a['id']===_0x1b72af['id']?_0x1b72af['select']():_0x1b72af['deselect']();}['highlightRevisions'](_0x113148){for(const _0x40a344 of this['revisionViews'])_0x113148['some'](({id:_0xfc09bc})=>_0xfc09bc===_0x40a344['id'])?_0x40a344['highlight']():_0x40a344['unhighlight']();}['_addRevision'](_0x391508){const _0x3880f6=di(_0x391508['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x521110=this['timePeriodViews']['get'](0x0);_0x521110&&_0x521110['startDate']['getTime']()===_0x3880f6['getTime']()||(_0x521110=new mi(this['locale'],_0x3880f6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x521110)),_0x521110['addRevision'](_0x391508);}['_removeRevision'](_0x847415){const _0x4483f3=di(_0x847415['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4483f3)['removeRevision'](_0x847415);}['_getTimePeriodViewByStartDate'](_0x1b7010){return this['timePeriodViews']['find'](_0x2d2bc2=>_0x2d2bc2['startDate']['getTime']()===_0x1b7010['getTime']());}constructor(_0x40c60c,_0x4ee61f,_0x5dece4,_0x3e1551){super(_0x40c60c);const _0xfdfa54=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4ee61f,this['_revisionActions']=_0x5dece4,this['_requireRevisionName']=_0x3e1551,this['on']('select',(_0x3ffa8b,_0x1c24a3)=>{this['fire']('revisionSelected',_0x1c24a3);}),this['on']('setName',(_0x59ea99,_0x48e613)=>{this['fire']('revisionSetName',_0x48e613);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x40c60c),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xfdfa54['if']('isEnabled','ck-disabled',_0x2805b4=>!_0x2805b4)]},'children':this['timePeriodViews']}]});}}class w extends _0x60a8de{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x164b34=this['_revisionsRepository']['_revisions'],_0x6ecfea=this['_createRevisionActions'](),_0x34edce=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x164b34,_0x6ecfea,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x2b02d6,_0x36da1a)=>{_0x36da1a['revisionViews']['on']('add',(_0x2163f8,_0x55aa55)=>{_0x55aa55['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x34edce['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x436c72=this['_revisionsRepository']['getRevision'](0x0);if(_0x436c72){const _0x5ded10=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x436c72['id']);this['_revisionViewer']['compare'](_0x436c72,_0x5ded10);}}['_handleRevisionSelected'](_0x3e278c,_0x4a4f4f){const _0x1edeed=this['_revisionsRepository']['getRevision'](_0x4a4f4f['id']),_0x90b632=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1edeed['id']);this['_revisionViewer']['compare'](_0x1edeed,_0x90b632);}['_handleRevisionSetName'](_0x475c96,_0x1d964f){this['_revisionsRepository']['getRevision'](_0x1d964f['id'])['setName'](_0x1d964f['name']);}['_handleDiffChange'](_0x5ad72d,_0x4d9992,_0x34c55a){const _0x5ef9aa=this['_revisionsRepository']['getRevisionsInDiff'](_0x34c55a);_0x5ef9aa['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5ef9aa),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5ef9aa[0x0]));}['_createRevisionActions'](){const _0x2a4702=this['editor'],_0x3a7367=w['availableRevisionActions'],_0x3cffe7=_0x2a4702['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3cffe7['length'])return _0x3cffe7['map'](_0x422a6f=>{const _0x289c19='string'==typeof _0x422a6f?Object['assign']({},_0x3a7367[_0x422a6f]):_0x422a6f;return _0x289c19['action']=_0x289c19['action']['bind'](this,_0x2a4702),_0x289c19['isVisible']&&(_0x289c19['isVisible']=_0x289c19['isVisible']['bind'](this,_0x2a4702)),_0x289c19;});}constructor(_0x3ca4b1){super(_0x3ca4b1),this['_revisionViewer']=_0x3ca4b1['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x494d51},_0x2f2686)=>{const _0x120ff3=_0x494d51['get'](d),_0x29bb17=_0x120ff3['repository'];let _0x5c6bdb=_0x120ff3['diff']['newRevisionId'],_0x400783=_0x2f2686['id'];_0x29bb17['getIndex'](_0x5c6bdb)>_0x29bb17['getIndex'](_0x400783)&&([_0x5c6bdb,_0x400783]=[_0x400783,_0x5c6bdb]),_0x120ff3['compare'](_0x5c6bdb,_0x400783);},'isVisible':({plugins:_0x2a23ac},_0x2301f)=>{const _0x1f3f2f=_0x2a23ac['get'](d);return!(_0x1f3f2f['repository']['getRevisionsInDiff'](_0x1f3f2f['diff'])['length']>0x2)&&!_0x2301f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x584e2e,{id:_0x553eba})=>{_0x584e2e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x553eba);},'isVisible':({plugins:_0x51e88d},_0x323a1a)=>!!_0x51e88d['get'](d)['repository']['getLaterVisibleRevision'](_0x323a1a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3c2604},{id:_0x316eb6,revisionNameView:_0x25c118})=>{const _0x14761d=_0x3c2604['get'](d),_0x3b372a=_0x14761d['repository']['getEarlierVisibleRevision'](_0x316eb6);_0x14761d['compare'](_0x316eb6,_0x3b372a),_0x25c118['focus'](),_0x25c118['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x3fd13d){const _0xa2b0c4=this['editor'],_0x52da6c=this['view'],_0x2631ff=_0xa2b0c4['editing']['view'],_0x4d3ecb=_0x52da6c['editable'],_0x57e231=_0x2631ff['document']['getRoot']();_0x4d3ecb['name']=_0x57e231['rootName'],_0x52da6c['render']();const _0x333bcb=_0x4d3ecb['element'];this['setEditableElement'](_0x4d3ecb['name'],_0x333bcb),_0x52da6c['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2631ff['attachDomRoot'](_0x333bcb),this['_elementReplacer']['replace'](_0x3fd13d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x285999=this['view'],_0x1c537d=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1c537d['detachDomRoot'](_0x285999['editable']['name']),_0x285999['destroy']();}['_initToolbar'](){const _0x349535=this['view'];_0x349535['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x349535['stickyPanel']['limiterElement']=_0x349535['element'],_0x349535['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x549718})=>_0x549718),_0x349535['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x349535['toolbar']);}constructor(_0x51ce16,_0x4a57ca){super(_0x51ce16),this['_view']=_0x4a57ca,this['_toolbarConfig']=ct(_0x51ce16['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x3410ed,_0x34e4fc,_0x152aef={}){super(_0x3410ed),this['stickyPanel']=new lt(_0x3410ed),this['toolbar']=new pt(_0x3410ed,{'shouldGroupWhenFull':_0x152aef['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3410ed,_0x34e4fc);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3cd3c1,_0x3c2ffa){const _0x5f2ff0=new this(_0x3cd3c1,_0x3c2ffa);return await _0x5f2ff0['initPlugins'](),await _0x5f2ff0['ui']['init'](_0x3cd3c1),await _0x5f2ff0['data']['init'](_0x5f2ff0['config']['get']('initialData')||''),_0x5f2ff0['fire']('ready'),_0x5f2ff0;}constructor(_0x5a14bc,_0x37939a){super(_0x37939a),this['sourceElement']=_0x5a14bc,this['model']['document']['createRoot']();const _0x5c41c9=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x5c41c9);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x60a8de{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x38776a){super(_0x38776a),this['result']='end';}}class H extends _0x60a8de{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x2591ff){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2591ff;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1da3e5){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1da3e5);}['getRevision'](_0x481bd4){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x481bd4);}['getRevisions'](_0x37f7ff={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x37f7ff);}['_getRevisionViewerEditorConfig'](){const _0x365553=this['editor'],_0x5a7bd5=_0x4bc8ba(_0x365553,g),_0x5ef2da=_0x365553['plugins']['get']('RevisionTracker'),_0x2f70a1=_0x365553['plugins']['get']('Users')['users'];return _0x5a7bd5['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5a7bd5['lazyRoots'],(_0x5a7bd5['plugins']['push'](k,d,R,class extends _0x60a8de{static get['requires'](){return[d,'Users'];}['init'](){const _0x742c5=this['editor']['plugins']['get']('Users');for(const _0x2205b9 of _0x2f70a1)_0x2205b9['isAnonymous']||_0x742c5['getUser'](_0x2205b9['id'])||_0x742c5['addUser'](_0x2205b9);const _0x326b12=_0x5ef2da['repository']['getRevisions']();let _0x1e93db=null;const _0xfa91cb=this['editor']['plugins']['get']('RevisionViewer');_0xfa91cb['adapter']=_0x5ef2da['adapter'],_0xfa91cb['bind']('isEnabled')['to'](_0x5ef2da),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x365553,'isReadOnly',_0x4b27a3=>!_0x4b27a3);for(const _0x43e4f7 of _0x326b12){const _0x597a0b=null===_0x43e4f7['creator'];if(_0x597a0b&&_0x43e4f7['toVersion']===_0x43e4f7['fromVersion'])continue;const _0x2afa40=_0x43e4f7['toJSON']();_0xfa91cb['addRevisionData'](_0x2afa40,(_0x30006c,_0x5c1294,_0x38e815)=>{if(_0x597a0b){if(_0x1e93db)_0x1e93db['_update'](_0x30006c,_0x5c1294);else{if(!_0x5c1294){const _0x1e3199=_0x38e815['toJSON']();_0x1e3199['id']=_0x17f0ff(),_0x5ef2da['saveRevision'](_0x1e3199,_0x38e815['toVersion'])['then'](_0x4a1c4e=>{_0x1e93db=_0x4a1c4e;});}}}else _0x43e4f7['_update'](_0x30006c,_0x5c1294);});}}},w),_0x5a7bd5);}['_enhanceShowRevisionViewerCallback'](){const _0x28c446=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4c8255=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x41377d=this['editor']['plugins']['get']('Autosave');await _0x41377d['save']();}else await _0x4c8255['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x33bc80=this['_getRevisionViewerEditorConfig']();return _0x28c446(_0x33bc80)['then'](_0x11e488=>{return(this['_viewerEditor']=_0x11e488,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x11e488;})['catch'](_0x55dd0f=>(console['error'](_0x55dd0f),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xdb124e=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0xdb124e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xaec28d=this['editor']['plugins']['get']('Annotations');_0xaec28d['refreshVisibility'](),_0xaec28d['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4f3053){const _0x59cba0=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x162704=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x20261e=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x20261e,_0x4f3053)['then'](_0x35a02c=>(_0x162704['style']['display']='block',_0x59cba0['style']['display']='none',_0x35a02c));}['_closeRevisionViewer'](_0x1d9f6c){const _0x16c61b=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x16c61b['style']['display']='',_0x1d9f6c['destroy']();}async['_restoreRevision'](_0x447fe7){const _0x174e0a=this['editor'],_0x1663c2=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x10a735=_0x174e0a['plugins']['get']('RevisionTracker'),_0x161feb=_0x1663c2['repository']['getRevision'](_0x447fe7);let _0x2b85d8,_0x364112,_0x151cfd;try{_0x2b85d8=await _0x1663c2['getRevisionData'](_0x161feb),_0x364112=await _0x1663c2['getRevisionRootsAttributes'](_0x161feb);}catch(_0x34d95a){return void console['error'](_0x34d95a);}_0x174e0a['model']['change'](_0x2a4225=>{for(const _0x433030 of Array['from'](_0x174e0a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2a4225['removeMarker'](_0x433030);}),_0x1663c2['isReady']=!0x1,_0x174e0a['model']['enqueueChange'](_0x193c98=>{_0x193c98['setSelection'](null),_0x193c98['removeSelectionAttribute'](_0x174e0a['model']['document']['selection']['getAttributeKeys']());const _0xb4024b=Object['keys'](_0x2b85d8);for(const _0x85ca75 of _0x174e0a['model']['document']['roots'])'$graveyard'!=_0x85ca75['rootName']&&_0x85ca75['isAttached']()&&!_0xb4024b['includes'](_0x85ca75['rootName'])&&_0x193c98['detachRoot'](_0x85ca75);for(const _0x38f196 of _0xb4024b){let _0x14a10f=_0x174e0a['model']['document']['getRoot'](_0x38f196);_0x14a10f&&_0x14a10f['isAttached']()||(_0x14a10f=_0x193c98['addRoot'](_0x38f196));const _0x462ebe=_0x364112[_0x38f196],_0x3b2ff3=Object['keys'](_0x462ebe),_0x5a75b7=_0x2b85d8[_0x38f196];for(const _0x395338 of _0x14a10f['getAttributeKeys']())_0x3b2ff3['includes'](_0x395338)||_0x193c98['removeAttribute'](_0x395338,_0x14a10f);for(const _0x5abec7 of _0x3b2ff3)_0x193c98['setAttribute'](_0x5abec7,_0x364112[_0x38f196][_0x5abec7],_0x14a10f);_0x193c98['remove'](_0x193c98['createRangeIn'](_0x14a10f)),_0x193c98['insert'](_0x174e0a['data']['parse'](_0x5a75b7,_0x14a10f),_0x14a10f,0x0);}});const _0x4f2de4=y(_0x174e0a['locale'],'Restored');if(_0x161feb['name'])_0x151cfd=-0x1==_0x161feb['name']['indexOf'](_0x4f2de4)?_0x4f2de4+':\x20'+_0x161feb['name']:_0x161feb['name'];else _0x151cfd=_0x4f2de4+':\x20'+(_0x161feb['createdAt']['toLocaleDateString'](_0x174e0a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x161feb['createdAt']['toLocaleTimeString'](_0x174e0a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x10a735['saveRevision']({'name':_0x151cfd}),_0x1663c2['isReady']=!0x0,_0x174e0a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x4234ff){if(super(_0x4234ff),!this['editor']['config']['get']('revisionHistory'))throw new _0x1dc6d5('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x3614d0=>this['_showRevisionViewer']({..._0x3614d0,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x257885=>this['_closeRevisionViewer'](_0x257885)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xe3b4f9=>this['_restoreRevision'](_0xe3b4f9)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|