@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240430.0 → 0.0.0-nightly-20240502.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 _0x3cba77,Context as _0x50e69e,PendingActions as _0x38c99f,icons as _0x34f6da,Command as _0x16ab6a,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1b4929,uid as _0x5b1dca,Collection as _0x1963b1,logWarning as _0xb6c621,FocusTracker as _0x53d8c0,KeystrokeHandler as _0x5a1c97,scrollViewportToShowTarget as _0xfea5e5,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x7afc7a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1bd08f,getMarkerDomElement as _0x14ac89,ConfirmMixin as _0x4fe042,sanitizeEditorConfig as _0x38ca47}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x243452,ViewText as _0x357fa6,ViewElement as _0x5a1028,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x3f8814,ViewAttributeElement as _0x86112e,ViewEmptyElement as _0x3d89fc,ViewRawElement as _0x2475de,ViewUIElement as _0x48d4d6,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x31837b,set as _0x10ed71,unset as _0x45a93a,isEqual as _0x186941}from'lodash-es';import{View as _0x25e10f,submitHandler as _0x7cf51,LabeledFieldView as mt,createLabeledInputText as _0x4ee123,injectCssTransitionDisabler as ts,createDropdown as _0xd03f3,ListView as te,ListItemView as _0x5129f7,ButtonView as _0x52ff8c,MenuBarMenuView as _0x27d9cf,MenuBarMenuListView as _0x3a0722,MenuBarMenuListItemView as _0x51fba3,MenuBarMenuListItemButtonView as _0x5736b6,ContextualBalloon as _0x36a643,ToolbarSeparatorView as _0xcc8c62,IconView as _0x19a377,addListToDropdown as _0x3bb91b,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 _0x47c8fd}from'luxon';class a extends _0x1b4929(){['setName'](_0x555ac9){this['_update']({'name':_0x555ac9});}['setAttribute'](_0x366a2a,_0x481ebb){const _0x51d538=_0x31837b(this['attributes']);_0x10ed71(_0x51d538,_0x366a2a,_0x481ebb),this['_update']({'attributes':_0x51d538});}['removeAttribute'](_0x1568da){const _0x197f71=_0x31837b(this['attributes']);_0x45a93a(_0x197f71,_0x1568da),this['_update']({'attributes':_0x197f71});}['_update'](_0x53e2ce,_0x25580f=!0x1){let _0x5b6c5a=!0x1;const _0x1a469a={'id':this['id']},_0x3f1564=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x45af1d of _0x3f1564){const _0x3726f7=_0x53e2ce[_0x45af1d];void 0x0!==_0x3726f7&&_0x3726f7!==this[_0x45af1d]&&(this[_0x45af1d]=_0x3726f7,_0x1a469a[_0x45af1d]=_0x3726f7,_0x5b6c5a=!0x0);}_0x5b6c5a&&(_0x1a469a['authors']&&(_0x1a469a['authorsIds']=_0x1a469a['authors']['map'](_0x5dd2c6=>_0x5dd2c6['id']),delete _0x1a469a['authors']),this['fire']('_update',_0x1a469a,_0x25580f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4d87cf=>_0x4d87cf['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0xa8fd27){super(),this['id']=_0xa8fd27['id']||_0x5b1dca(),this['creator']=_0xa8fd27['creator']||null,this['authors']=_0xa8fd27['authors']||[],this['diffData']=_0xa8fd27['diffData']||null,this['toVersion']=_0xa8fd27['toVersion']||0x0,this['fromVersion']=_0xa8fd27['fromVersion']||0x0,this['set']('name',_0xa8fd27['name']||''),this['set']('createdAt',_0xa8fd27['createdAt']||new Date()),this['set']('attributes',_0xa8fd27['attributes']||{});}}class A extends _0x3cba77{static get['requires'](){return[_0x1bd08f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x51bf09){function _0x64e6f1(_0x51d0f1,_0x4115a1,_0x1433bc){const _0x2c3075={};_0x2c3075[_0x474a2d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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],_0x2c3075[_0x474a2d([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 _0x22d680=new Uint8Array(0x10);for(let _0x42a031=0xf;_0x42a031>=0x0;--_0x42a031)_0x22d680[_0x42a031]=_0x1433bc%0x100,_0x1433bc=parseInt(_0x1433bc/0x100);let _0x19e5c6=null,_0x5ec8df=0x10;const _0x1c2e92=new Uint8Array(_0x4115a1),_0xe448aa=[],_0x392ac6=[];_0x2f7159();for(let _0x5c5d7a=0x0;_0x5c5d7a<_0x51d0f1[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c5d7a++)0x10===_0x5ec8df&&(_0x19e5c6=_0x422314(_0x22d680),_0x5ec8df=0x0,_0x392ca6(_0x22d680)),_0x51d0f1[_0x5c5d7a]^=_0x19e5c6[_0x5ec8df++];return _0x51d0f1;function _0x3387b9(_0x35f6e6){const _0x58d36f=[];for(let _0xb44768=0x0;_0xb44768<_0x35f6e6[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb44768+=0x4)_0x58d36f[_0x474a2d([0x70,0x75,0x73,0x68])](_0x35f6e6[_0xb44768]<<0x18|_0x35f6e6[_0xb44768+0x1]<<0x10|_0x35f6e6[_0xb44768+0x2]<<0x8|_0x35f6e6[_0xb44768+0x3]);return _0x58d36f;}function _0x392ca6(_0x14f5ce){for(let _0x326082=0xf;_0x326082>=0x0;_0x326082--){if(0xff!==_0x14f5ce[_0x326082]){_0x14f5ce[_0x326082]++;break;}_0x14f5ce[_0x326082]=0x0;}}function _0x422314(_0x318a1e){const _0x2c9af5=_0xe448aa[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x558cbc=[0x0,0x0,0x0,0x0];let t=_0x3387b9(_0x318a1e);for(let _0x3b1d2c=0x0;_0x3b1d2c<0x4;_0x3b1d2c++)t[_0x3b1d2c]^=_0xe448aa[0x0][_0x3b1d2c];for(let _0xc58e3c=0x1;_0xc58e3c<_0x2c9af5;_0xc58e3c++){for(let _0x34ef94=0x0;_0x34ef94<0x4;_0x34ef94++)_0x558cbc[_0x34ef94]=_0x2c3075[_0x474a2d([0x54,0x31])][t[_0x34ef94]>>0x18&0xff]^_0x2c3075[_0x474a2d([0x54,0x32])][t[(_0x34ef94+0x1)%0x4]>>0x10&0xff]^_0x2c3075[_0x474a2d([0x54,0x33])][t[(_0x34ef94+0x2)%0x4]>>0x8&0xff]^_0x2c3075[_0x474a2d([0x54,0x34])][0xff&t[(_0x34ef94+0x3)%0x4]]^_0xe448aa[_0xc58e3c][_0x34ef94];t=_0x558cbc[_0x474a2d([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3a587e=new Uint8Array(0x10);let _0x4e46ca;for(let _0x29e37b=0x0;_0x29e37b<0x4;_0x29e37b++)_0x4e46ca=_0xe448aa[_0x2c9af5][_0x29e37b],_0x3a587e[0x4*_0x29e37b]=0xff&(_0x2c3075[_0x474a2d([0x53])][t[_0x29e37b]>>0x18&0xff]^_0x4e46ca>>0x18),_0x3a587e[0x4*_0x29e37b+0x1]=0xff&(_0x2c3075[_0x474a2d([0x53])][t[(_0x29e37b+0x1)%0x4]>>0x10&0xff]^_0x4e46ca>>0x10),_0x3a587e[0x4*_0x29e37b+0x2]=0xff&(_0x2c3075[_0x474a2d([0x53])][t[(_0x29e37b+0x2)%0x4]>>0x8&0xff]^_0x4e46ca>>0x8),_0x3a587e[0x4*_0x29e37b+0x3]=0xff&(_0x2c3075[_0x474a2d([0x53])][0xff&t[(_0x29e37b+0x3)%0x4]]^_0x4e46ca);return _0x3a587e;}function _0x2f7159(){const _0x5df8fb=_0x2c3075[_0x474a2d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1c2e92[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x37525c=0x0;_0x37525c<=_0x5df8fb;_0x37525c++)_0xe448aa[_0x474a2d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x392ac6[_0x474a2d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x488ffd=0x4*(_0x5df8fb+0x1),_0x1dcf4d=_0x1c2e92[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0xdf47a0=_0x3387b9(_0x1c2e92);let _0x1a0b7f;for(let _0x16a602=0x0;_0x16a602<_0x1dcf4d;_0x16a602++)_0x1a0b7f=_0x16a602>>0x2,_0xe448aa[_0x1a0b7f][_0x16a602%0x4]=_0xdf47a0[_0x16a602],_0x392ac6[_0x5df8fb-_0x1a0b7f][_0x16a602%0x4]=_0xdf47a0[_0x16a602];let _0x16b86f,_0x8ba02c=0x0,t=_0x1dcf4d;for(;t<_0x488ffd;){_0x16b86f=_0xdf47a0[_0x1dcf4d-0x1],_0xdf47a0[0x0]^=_0x2c3075[_0x474a2d([0x53])][_0x16b86f>>0x10&0xff]<<0x18^_0x2c3075[_0x474a2d([0x53])][_0x16b86f>>0x8&0xff]<<0x10^_0x2c3075[_0x474a2d([0x53])][0xff&_0x16b86f]<<0x8^_0x2c3075[_0x474a2d([0x53])][_0x16b86f>>0x18&0xff]^_0x2c3075[_0x474a2d([0x72,0x63,0x6f,0x6e])][_0x8ba02c]<<0x18,_0x8ba02c+=0x1;for(let _0x397fe5=0x1;_0x397fe5<_0x1dcf4d/0x2;_0x397fe5++)_0xdf47a0[_0x397fe5]^=_0xdf47a0[_0x397fe5-0x1];_0x16b86f=_0xdf47a0[_0x1dcf4d/0x2-0x1],_0xdf47a0[_0x1dcf4d/0x2]^=_0x2c3075[_0x474a2d([0x53])][0xff&_0x16b86f]^_0x2c3075[_0x474a2d([0x53])][_0x16b86f>>0x8&0xff]<<0x8^_0x2c3075[_0x474a2d([0x53])][_0x16b86f>>0x10&0xff]<<0x10^_0x2c3075[_0x474a2d([0x53])][_0x16b86f>>0x18&0xff]<<0x18;for(let _0x54113b=_0x1dcf4d/0x2+0x1;_0x54113b<_0x1dcf4d;_0x54113b++)_0xdf47a0[_0x54113b]^=_0xdf47a0[_0x54113b-0x1];let _0x107962,_0x40a48a,_0x226ed0=0x0;for(;_0x226ed0<_0x1dcf4d&&t<_0x488ffd;)_0x107962=t>>0x2,_0x40a48a=t%0x4,_0xe448aa[_0x107962][_0x40a48a]=_0xdf47a0[_0x226ed0],_0x392ac6[_0x5df8fb-_0x107962][_0x40a48a]=_0xdf47a0[_0x226ed0++],t++;}for(let _0x156d52=0x1;_0x156d52<_0x5df8fb;_0x156d52++)for(let _0x52f1fb=0x0;_0x52f1fb<0x4;_0x52f1fb++)_0x16b86f=_0x392ac6[_0x156d52][_0x52f1fb],_0x392ac6[_0x156d52][_0x52f1fb]=_0x2c3075[_0x474a2d([0x55,0x31])][_0x16b86f>>0x18&0xff]^_0x2c3075[_0x474a2d([0x55,0x32])][_0x16b86f>>0x10&0xff]^_0x2c3075[_0x474a2d([0x55,0x33])][_0x16b86f>>0x8&0xff]^_0x2c3075[_0x474a2d([0x55,0x34])][0xff&_0x16b86f];}}function _0x474a2d(_0x14deff){return _0x14deff['map'](_0x4561e1=>String['fromCharCode'](_0x4561e1))['join']('');}(_0x189065=>{function _0x38d02e(){const _0x12368e=[{[_0x474a2d([0x69,0x64])]:0x1,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x474a2d([0x69,0x64])]:0x2,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([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]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x474a2d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x474a2d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x474a2d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x474a2d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x474a2d([0x69,0x64])]:0x3,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x474a2d([0x69,0x64])]:0x4,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([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]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x474a2d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x474a2d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x474a2d([0x69,0x64])]:0x5,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([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]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc]}},{[_0x474a2d([0x69,0x64])]:0x6,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc]}},{[_0x474a2d([0x69,0x64])]:0x7,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc]}},{[_0x474a2d([0x69,0x64])]:0x8,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([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]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc]}},{[_0x474a2d([0x69,0x64])]:0x9,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x474a2d([0x69,0x64])]:0xa,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([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]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([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]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([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]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc]}},{[_0x474a2d([0x69,0x64])]:0xb,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x474a2d([0x69,0x64])]:0xc,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x474a2d([0x69,0x64])]:0xd,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x474a2d([0x66,0x67,0x69])]:[0xc]}},{[_0x474a2d([0x69,0x64])]:0xe,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x474a2d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([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])},{[_0x474a2d([0x69,0x64])]:0xf,[_0x474a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x474a2d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x474a2d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x20826e(_0x12368e),_0x12368e;function _0x477882(_0x22300a){return 0x1<<_0x22300a-0x1;}function _0x20826e(_0x2a88f2){_0x2a88f2[_0x474a2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a330f=>{_0x1a330f[_0x474a2d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x477882(_0x1a330f[_0x474a2d([0x69,0x64])]),_0x443016(_0x1a330f)&&_0x1a330f[_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x20826e(_0x1a330f[_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x443016(_0x381415){return _0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x381415;}const _0x2028fa=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4f17d2=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xa11580(_0x3921dd){const _0x1a853d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2859a7(_0x3921dd,new Uint8Array([..._0x2028fa,..._0x1a853d,..._0x4f17d2]));}function _0x2859a7(_0x4bf1ce,_0x36c6c4){const _0x4787c8=_0x5bb3ae(_0x4bf1ce),_0x4e9ff7=Array[_0x474a2d([0x66,0x72,0x6f,0x6d])](_0x15adf3(_0x4787c8)),_0x2c6b3a=_0x4e9ff7[_0x474a2d([0x70,0x6f,0x70])](),_0x232009=_0x4e9ff7[_0x474a2d([0x70,0x6f,0x70])]();return _0x43e6a4(_0x64e6f1(_0x4e9ff7,_0x36c6c4,_0x232009+0x100*_0x2c6b3a));}function _0x5bb3ae(_0x4f2eca){const _0x5a9785=atob(_0x4f2eca),[_0x436e94,_0x5058ed]=_0x5a9785[_0x474a2d([0x73,0x70,0x6c,0x69,0x74])](_0x474a2d([0x2d]));try{if(atob(_0x5058ed))return atob(_0x436e94);}catch(_0x2d8b06){}return _0x5a9785;}function _0x28239a(_0x5e2062){try{const _0x29e82f=_0xa11580(_0x5e2062),_0x1378cd=JSON[_0x474a2d([0x70,0x61,0x72,0x73,0x65])](_0x29e82f),_0x6ef5be=parseInt(_0x1378cd[_0x474a2d([0x31])]),_0x4bff47=_0x1378cd[_0x474a2d([0x32])]||'',_0x534de2=parseInt(_0x1378cd[_0x474a2d([0x33])]),_0xf46ca2=parseInt(_0x1378cd[_0x474a2d([0x34])])||0x0,_0x19afd3=parseInt(_0x1378cd[_0x474a2d([0x35])])||0x0;return{[_0x474a2d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4bff47,[_0x474a2d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xf46ca2,[_0x474a2d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x6ef5be,[_0x474a2d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x534de2,[_0x474a2d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x19afd3};}catch(_0x39197e){return null;}}const _0x39894b=_0x38d02e(),_0x3702={[_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x284fa7,[_0x474a2d([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])]:_0x50aa40,[_0x474a2d([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])]:_0x12cd55},_0x39ae68=_0x189065[_0x474a2d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x25f2e4=_0x474a2d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x189065?_0x189065['context']:_0x189065['editor'],_0xb9e9bc=_0x474a2d([0x34,0x30,0x34,0x38,0x30,0x38,0x36,0x30]),_0x3b4531=_0x474a2d([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]),_0x515155=_0x25f2e4['config']['get'](_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x38218c=_0x39894b[_0x474a2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443016)[_0x474a2d([0x66,0x69,0x6e,0x64])](_0x4e16bf=>_0x4e16bf[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x39ae68);function _0x5e7327(_0x3cd638,_0xf06d94){_0x3702[_0xf06d94[_0x474a2d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3cd638,_0xf06d94),_0xf06d94[_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xf06d94[_0x474a2d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x474a2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2d2f=>_0x35f616(_0x25f2e4,_0x3f2d2f[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x474a2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x158c76=>_0x5e7327(_0x3cd638,_0x158c76));}function _0x284fa7(_0x19b701,_0x929dd0){_0x344744(_0x59cba0(_0x19b701,_0x929dd0),_0x929dd0);}function _0x50aa40(_0x325f23,_0x13aa12){function _0x3d4d57(_0x1739cf,_0x8b071e){try{if(_0x35f616(_0x25f2e4,_0x474a2d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1739cf){const _0x2bf9b6=_0x23aad2(_0x25f2e4,_0x474a2d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x474a2d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2bf9b6)/0x2>_0x1739cf[_0x474a2d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5e2ded(_0x8b071e[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x59cba0(_0x1739cf,_0x8b071e);}catch(_0x3cc6eb){return _0x5e2ded(_0x8b071e[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x344744(_0x3d4d57(_0x325f23,_0x13aa12),_0x13aa12);}function _0x12cd55(_0x1b379f,_0x2b88ce){const _0x206e66=_0x4f17d2[0x0]*_0x2028fa[0x1],_0x30d9a6=_0x4f17d2[0x0]*_0x2028fa[0x2],_0x4b0ab9=_0x4f17d2[0x2]*_0x2028fa[0x2];_0x35f616(_0x25f2e4,_0x474a2d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x23aad2(_0x25f2e4,_0x474a2d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x474a2d([0x73,0x74,0x61,0x74,0x65])]==_0x474a2d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xca1cf()]=_0x4b0ab9);function _0xce82da(_0x5d29a6,_0xad18a4){try{return _0x1ab376()?_0x5e2ded(_0xad18a4[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x56,0x61,0x6c,0x69,0x64])):_0x59cba0(_0x5d29a6,_0xad18a4);}catch(_0x145493){return _0x5e2ded(_0xad18a4[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1e6b0f(_0x419de8,_0x31a694){const _0x5e7c63=0x7;if(_0x419de8==_0x31a694[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x37b0f4();else{if(_0x419de8==_0x31a694[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c])){const _0x4926dc=_0x1a4143();_0x4926dc&&_0x4c459b(_0x4926dc,_0x31a694[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xb3296d=_0x36f8b0();window[_0x474a2d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4c459b(_0x474a2d([0x74,0x69,0x6d,0x65]),_0x31a694[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xb3296d);const _0x3cbe1e=_0x23aad2(_0x25f2e4,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x474a2d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3cbe1e[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e7c63?_0x4c459b(_0x474a2d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x31a694[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3cbe1e['on'](_0x474a2d([0x61,0x64,0x64]),()=>{_0x3cbe1e[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e7c63&&_0x4c459b(_0x474a2d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x31a694[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1a4143(){if(!_0x35f616(_0x25f2e4,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3565f1 in window)if(Number['isNaN'](Number(_0x3565f1))){if(window[_0x3565f1]===_0x206e66)return _0x474a2d([0x74,0x69,0x6d,0x65]);if(window[_0x3565f1]===_0x30d9a6)return _0x474a2d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1ab376(){if(!_0x35f616(_0x25f2e4,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x106bce in window)if(Number['isNaN'](Number(_0x106bce))&&window[_0x106bce]===_0x4b0ab9)return!0x0;return!0x1;}function _0x4c459b(_0x23fea4,_0x46fe6b){_0x37b0f4(),_0x5e2ded(_0x46fe6b+_0x474a2d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x23fea4),window[_0xca1cf()]=_0x23fea4===_0x474a2d([0x74,0x69,0x6d,0x65])?_0x206e66:_0x30d9a6;}function _0x36f8b0(){let _0x3f4794=_0x4f17d2[0x6]*_0x2028fa[0x8]*_0x2028fa[0x6];return _0x35f616(_0x25f2e4,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3f4794/=0xa),_0x3f4794;}function _0x37b0f4(){const _0x1a10eb=_0x25f2e4;function _0x4ab3d2(){_0x35f616(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x474a2d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x474a2d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x474a2d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x474a2d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2057c4,_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x474a2d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2057c4,_0x1a10eb[_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x474a2d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2057c4,_0x1a10eb[_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x474a2d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2057c4,_0x1a10eb[_0x474a2d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x35f616(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x474a2d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x474a2d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x474a2d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x474a2d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2057c4,_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x474a2d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2057c4);}_0x1a10eb[_0x474a2d([0x73,0x74,0x61,0x74,0x65])]==_0x474a2d([0x72,0x65,0x61,0x64,0x79])?_0x4ab3d2():_0x1a10eb[_0x474a2d([0x6f,0x6e,0x63,0x65])](_0x474a2d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x35f616(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4ab3d2(),_0x35f616(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3e5f8a=_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x243ec9=_0x3e5f8a['getRevision'](0x0),_0x2676ab=_0x3e5f8a['getEarlierVisibleRevision'](_0x243ec9[_0x474a2d([0x69,0x64])]);_0x23aad2(_0x1a10eb,_0x474a2d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x474a2d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x243ec9[_0x474a2d([0x69,0x64])],_0x2676ab?_0x2676ab[_0x474a2d([0x69,0x64])]:null,0x1)['then'](()=>_0x4ab3d2());}});}_0x1e6b0f(_0xce82da(_0x1b379f,_0x2b88ce),_0x2b88ce);}function _0x59cba0(_0x2a36d2,_0x20a490){try{return _0xd9f2e0(_0x20a490)?_0x5e2ded(_0x20a490[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x56,0x61,0x6c,0x69,0x64])):_0x2a36d2&&_0x3169a2(_0x2a36d2[_0x474a2d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x20a490)?_0x2a36d2[_0x474a2d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x474a2d([0x6f,0x70,0x65,0x6e])][_0x474a2d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xb9e9bc)/0x2>_0x2a36d2[_0x474a2d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5e2ded(_0x20a490[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2a36d2[_0x474a2d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5e2ded(_0x20a490[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c])):_0x5e2ded(_0x20a490[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x56,0x61,0x6c,0x69,0x64])):_0x5e2ded(_0x20a490[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x14de5c){return _0x5e2ded(_0x20a490[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x344744(_0x40b182,_0x5a6732){if(_0x25f2e4 instanceof _0x50e69e){const _0x30649f=_0x25f2e4;_0x40b182==_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x137d68(_0x30649f):_0x40b182==_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x474a2d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x137d68(_0x30649f),_0x5e2ded(_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4f17d2[0x6]*_0x2028fa[0x8]*_0x2028fa[0x6]),_0x30649f[_0x474a2d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x474a2d([0x6f,0x6e])](_0x474a2d([0x61,0x64,0x64]),(_0x2f2792,_0x51471a)=>{_0x40b182!=_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x40b182!=_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x40b182!=_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x238621(_0x51471a);});}else{const _0x25b0fa=_0x25f2e4;_0x40b182==_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x238621(_0x25b0fa):_0x40b182==_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c])&&_0x25b0fa[_0x474a2d([0x6f,0x6e])](_0x474a2d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x11ec7c=0x0;_0x25b0fa[_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x474a2d([0x6f,0x6e])](_0x474a2d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x443a6d,_0x2aa194)=>{_0x2aa194[0x0][_0x474a2d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11ec7c++,0x1f8===_0x11ec7c&&(_0x238621(_0x25b0fa),_0x5e2ded(_0x5a6732[_0x474a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x474a2d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x443a6d[_0x474a2d([0x6f,0x66,0x66])]());},{'priority':_0x474a2d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5e2ded(_0x15f4a9){const _0x45214c=_0xca1cf();return _0x25f2e4[_0x45214c]=_0x15f4a9,_0x15f4a9;}function _0xca1cf(){const _0x293985=String(window[_0x474a2d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x474a2d([0x6e,0x6f,0x77])]())[_0x474a2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x474a2d([0x2e]),'');let _0x3d13dd='';for(let _0x49673f=0x0;_0x49673f<_0x293985[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49673f+=0x2){let _0x202ce2=parseInt(_0x293985[_0x474a2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49673f,_0x49673f+0x2));_0x202ce2>=_0x3b4531[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x202ce2-=_0x3b4531[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d13dd+=_0x3b4531[_0x202ce2];}return _0x3d13dd;}function _0x137d68(_0x5e275b){for(const _0x2c1bf3 of _0x5e275b[_0x474a2d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x238621(_0x2c1bf3);_0x23aad2(_0x5e275b,_0x474a2d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x474a2d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x23aad2(_0x5e275b,_0x474a2d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x474a2d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2057c4;}function _0x238621(_0x198dd5){function _0x44c4c3(){_0x198dd5[_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x474a2d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2057c4,_0x198dd5[_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x474a2d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2057c4,_0x198dd5[_0x474a2d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x474a2d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x198dd5[_0x474a2d([0x73,0x74,0x61,0x74,0x65])]==_0x474a2d([0x72,0x65,0x61,0x64,0x79])?_0x44c4c3():_0x198dd5[_0x474a2d([0x6f,0x6e,0x63,0x65])](_0x474a2d([0x72,0x65,0x61,0x64,0x79]),()=>_0x44c4c3());}function _0x2057c4(){return null;}function _0x3169a2(_0x3aa4d5,_0xae2dd3){const _0x257cd9=!!(_0x3aa4d5&_0xae2dd3[_0x474a2d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xca1b3e=_0x3b8e1e(_0x3aa4d5,_0xae2dd3);return _0x257cd9||_0xca1b3e;}function _0x3b8e1e(_0x1dae70,_0x4238a1){const _0x43ab1f=(_0x4238a1[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x474a2d([0x66,0x67,0x69])]||null;return!!_0x43ab1f&&_0x39894b[_0x474a2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d7a8c=>_0x43ab1f[_0x474a2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d7a8c[_0x474a2d([0x69,0x64])]))[_0x474a2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f5a2d=>!_0x4a48e8(_0x3f5a2d))[_0x474a2d([0x73,0x6f,0x6d,0x65])](_0x585c54=>!!(_0x1dae70&_0x585c54[_0x474a2d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4a48e8(_0x3b71d0){const _0x38238b={[_0x474a2d([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])]:_0x41a32c};return!!_0x3b71d0['forbiddenHandler']&&_0x38238b[_0x3b71d0['forbiddenHandler']]();}function _0x41a32c(){return!window[_0x474a2d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x35f616(_0x25f2e4,_0x474a2d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xd9f2e0(_0x23ae6f){if(!_0x35f616(_0x25f2e4,_0x23ae6f[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x105ae7=_0x23ae6f[_0x474a2d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xc87276=_0x105ae7[_0x474a2d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xa24f69=_0x105ae7[_0x474a2d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x218cc5=_0x105ae7[_0x474a2d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x35f616(_0x25f2e4,_0x474a2d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x23aad2(_0x25f2e4,_0x474a2d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x474a2d([0x73,0x74,0x61,0x74,0x65])]==_0x474a2d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xc87276)return!0x0;if(_0x35f616(_0x25f2e4,_0x474a2d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x23aad2(_0x25f2e4,_0x474a2d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x474a2d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x474a2d([0x65,0x6e,0x64])&&_0xa24f69)return!0x0;return!(!_0x35f616(_0x25f2e4,_0x474a2d([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]))||_0x23aad2(_0x25f2e4,_0x474a2d([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]))[_0x474a2d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x474a2d([0x65,0x6e,0x64])||!_0x218cc5);}function _0x35f616(_0x9bed52,_0x533012){return _0x9bed52[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x474a2d([0x68,0x61,0x73])](_0x533012);}function _0x23aad2(_0x280b7a,_0x1c04d1){return _0x280b7a[_0x474a2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x474a2d([0x67,0x65,0x74])](_0x1c04d1);}function _0x43e6a4(_0x30fb8a){let _0x53ce40='';for(const _0x294f08 of _0x30fb8a)_0x53ce40+=String[_0x474a2d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x294f08);return _0x53ce40;}function _0x15adf3(_0x5e5314){const _0x432350=new Uint8Array(_0x5e5314[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x349e3f=0x0;_0x349e3f<_0x5e5314[_0x474a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x349e3f++)_0x432350[_0x349e3f]=_0x5e5314[_0x474a2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x349e3f);return _0x432350;}_0x38218c&&_0x5e7327(_0x28239a(_0x515155),_0x38218c);})(_0x51bf09);}(this);}['createRevision'](_0x12a025){const _0x44f380=this['editor']['plugins']['get']('Users');return new a({'id':_0x12a025['id'],'name':_0x12a025['name'],'creator':_0x12a025['creatorId']?_0x44f380['getUser'](_0x12a025['creatorId']):null,'diffData':_0x12a025['diffData']||_0x12a025['data'],'authors':_0x12a025['authorsIds']['map'](_0x1a59f8=>_0x44f380['getUser'](_0x1a59f8)),'createdAt':new Date(_0x12a025['createdAt']),'attributes':_0x12a025['attributes'],'fromVersion':_0x12a025['fromVersion'],'toVersion':_0x12a025['toVersion']});}['addRevision'](_0x12de89,_0xe80748=0x0){this['_revisions']['add'](_0x12de89,_0xe80748);}['getRevision'](_0x484d35){return this['_revisions']['get'](_0x484d35);}['getRevisions'](_0x40e6b4={'toJSON':!0x1}){const _0x4a8385=Array['from'](this['_revisions']);return _0x4a8385['reverse'](),_0x40e6b4['toJSON']?_0x4a8385['map'](_0x1a6c41=>_0x1a6c41['toJSON']()):_0x4a8385;}['getIndex'](_0x375cf6){return this['_revisions']['getIndex'](_0x375cf6);}['getEarlierVisibleRevision'](_0x382779){const [,_0x2aeceb]=this['getRevisionsIterator'](_0x382779,{'direction':'earlier'});return _0x2aeceb;}['getLaterVisibleRevision'](_0x131e92){const [,_0x3315dd]=this['getRevisionsIterator'](_0x131e92,{'direction':'later'});return _0x3315dd;}['getRevisionsInDiff'](_0x15d68f){const _0x8d319b=[];for(const _0x14c72d of this['getRevisionsIterator'](_0x15d68f['newRevisionId']))if(_0x8d319b['push'](_0x14c72d),_0x14c72d['id']===_0x15d68f['oldRevisionId'])break;return _0x8d319b;}*['getRevisionsIterator'](_0x5a4fc4,{direction:_0x5cc232='earlier',filter:_0x5578dc=_0x2a8713=>!0x0}={}){const _0x3a9063='earlier'===_0x5cc232?0x1:-0x1;let _0x35507e=this['_revisions']['get'](_0x5a4fc4),_0x18e4ba=this['getIndex'](_0x35507e);for(yield _0x35507e;_0x35507e;){if(_0x18e4ba+=_0x3a9063,_0x35507e=this['getRevision'](_0x18e4ba),!_0x35507e)return;_0x5578dc(_0x35507e)&&(yield _0x35507e);}}constructor(_0x3e0705){super(_0x3e0705),this['_revisions']=new _0x1963b1();}}function y(_0x4d88de,_0x59f98e,_0x5b2f50){const t=_0x4d88de['t'];switch(_0x59f98e){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'},_0x5b2f50);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5b2f50);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':_0x3f8814,'a':_0x86112e,'e':_0x3d89fc,'r':_0x2475de,'u':_0x48d4d6};class l extends _0x3cba77{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1bd08f,A,_0x38c99f];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3348e6=this['repository']['getRevision'](0x0),_0x24be80=_0x3348e6&&null===_0x3348e6['creator']?_0x3348e6:null;if(this['_continueCurrentRevision']=!!_0x24be80&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3357a4=this['_source']['getCurrentRevisionId'](),_0x5b2cec=this['repository']['getRevision'](_0x3357a4);if(_0x5b2cec)this['_startingVersion']=_0x5b2cec['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2fb4e6=this['_source']['history']['_operations']['find'](_0x2c4f89=>!_0x2c4f89['_isInit']),_0x3cf513=_0x2fb4e6?_0x2fb4e6['baseVersion']:this['_source']['history']['version'];_0x3348e6?(_0x3348e6['toVersion']<_0x3cf513&&_0x3348e6['_update']({'toVersion':_0x3cf513}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x24be80['id'],this['_startingVersion']=_0x24be80['fromVersion']):(this['_startingVersion']=_0x3348e6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3cf513,this['_continueCurrentRevision']=!0x1);}}else _0x24be80&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x24be80['toVersion'],this['editor']['model']['document']['history']['version']),_0x24be80['fromVersion']===_0x24be80['toVersion']?(0x0!==_0x24be80['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x24be80['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x24be80['id'],this['_startingVersion']=_0x24be80['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',_0x876077=>!_0x876077);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x21f58c=this['repository']['getRevision'](0x0),_0x1587c6=await this['getRevisionDocumentData'](_0x21f58c),_0x1a74c0=await this['getRevisionRootsAttributes'](_0x21f58c);this['_replaceEditorDataWithRevisionData'](_0x1587c6,_0x1a74c0);}}['setSource'](_0x16fd80){this['_source']=_0x16fd80;}async['update'](){const _0x35decc=await this['_source']['getLatestVersion']();if(_0x35decc>this['currentRevision']['toVersion']){await this['_loadState']();const _0x52aea2=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x35decc});_0x52aea2['authors']=_0x52aea2['authorsIds']['map'](_0x524000=>this['editor']['plugins']['get']('Users')['getUser'](_0x524000)),this['currentRevision']['_update'](_0x52aea2);}}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'](_0x44cef7={},_0x9f5ba2=null){const _0x444de5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9f5ba2>this['currentRevision']['toVersion']&&(_0x9f5ba2=null),null===_0x9f5ba2&&(_0x9f5ba2=await this['_source']['getLatestVersion']());const _0x402cd7=this['_getFromVersion'](_0x9f5ba2),_0x23faa2=this['buildRevisionData']({'from':_0x402cd7,'to':_0x9f5ba2});if(this['currentRevision']['toVersion']<_0x9f5ba2){const _0x1627ca=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9f5ba2,'to':_0x9f5ba2});_0x1627ca['authors']=[],_0x1627ca['authorsIds']=[],_0x1627ca['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1627ca,!0x0),delete _0x1627ca['authors'],_0x444de5['push'](_0x1627ca);}_0x44cef7['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x44cef7['name']=_0x44cef7['name']||null,_0x44cef7['id']=_0x44cef7['id']||_0x5b1dca(),_0x44cef7={..._0x44cef7,..._0x23faa2};const _0x5f2f27=this['addRevisionData'](_0x44cef7);_0x444de5['push'](_0x44cef7);const _0xc94a3c=this['repository']['getIndex'](_0x5f2f27);if(0x0!==_0xc94a3c){const _0x5be8a7=this['repository']['getRevision'](_0xc94a3c-0x1);if(_0x5be8a7['fromVersion']!==_0x9f5ba2){const _0x3a45b5=this['_revisionDataBuilder']['getData'](_0x9f5ba2,_0x5be8a7['toVersion']),_0x545994={'id':_0x5be8a7['id'],'diffData':_0x3a45b5['diffData'],'authorsIds':_0x3a45b5['authorsIds'],'authors':_0x3a45b5['authorsIds']['map'](_0x5f4d97=>this['editor']['plugins']['get']('Users')['getUser'](_0x5f4d97)),'fromVersion':_0x9f5ba2};_0x5be8a7===this['currentRevision']&&(_0x545994['createdAt']=new Date(_0x44cef7['createdAt']['getTime']()+0xa)),_0x5be8a7['_update'](_0x545994,!0x0),delete _0x545994['authors'],_0x444de5['push'](_0x545994);}}if(this['adapter']){for(const _0x529124 of _0x444de5)this['_bufferUpdate'](_0x529124['id'],_0x529124,!0x0);this['sendBufferedUpdates']();}return _0x5f2f27;}['addRevisionData'](_0x191d2a){const _0xa0cfac=this['repository']['createRevision'](_0x191d2a);return this['adapter']&&_0xa0cfac['on']('_update',(_0x2a9540,_0x2edf8b,_0x4dacac)=>{_0x4dacac||(this['_bufferUpdate'](_0x2edf8b['id'],_0x2edf8b,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xa0cfac,this['_findInsertionIndex'](_0xa0cfac)),_0xa0cfac;}async['getRevisionDocumentData'](_0x37d81f){await this['_loadRevisionData'](_0x37d81f);const _0x1d2eb0={};for(const _0x1e32cb in _0x37d81f['diffData']){if(_0x37d81f['diffData'][_0x1e32cb]['attachChange']&&!_0x37d81f['diffData'][_0x1e32cb]['attachChange']['isAttached'])continue;const _0x26046f=this['_removeRevisionMarkers'](JSON['parse'](_0x37d81f['diffData'][_0x1e32cb]['insertions'])),_0x3a0dd1=this['editor']['editing']['view']['document'],_0x59da7f=new _0x243452(_0x3a0dd1,_0x26046f['map'](_0x2ebff8=>B(_0x2ebff8,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1d2eb0[_0x1e32cb]=this['editor']['data']['processor']['toData'](_0x59da7f),this['editor']['data']['processor']['useFillerType']('default');}return _0x1d2eb0;}async['getRevisionRootsAttributes'](_0x267f88){await this['_loadRevisionData'](_0x267f88);const _0x1cac00={};for(const _0x3aca29 in _0x267f88['diffData'])_0x267f88['diffData'][_0x3aca29]['attachChange']&&!_0x267f88['diffData'][_0x3aca29]['attachChange']['isAttached']||(_0x1cac00[_0x3aca29]=_0x267f88['diffData'][_0x3aca29]['attributesAfter']||{});return _0x1cac00;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1c0981=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x339780=0x0;_0x339780<_0x1c0981['length'];_0x339780++){const _0x4a53c1=_0x1c0981[_0x339780];let _0xaff610=!0x1;for(const _0x32d523 of Object['keys'](_0x4a53c1))void 0x0===_0x4a53c1[_0x32d523]?delete _0x4a53c1[_0x32d523]:'id'!==_0x32d523&&(_0xaff610=!0x0);_0xaff610||(_0x1c0981[_0x339780]=null);}if(_0x1c0981=_0x1c0981['filter'](_0x4b82df=>null!==_0x4b82df),!_0x1c0981['length'])return;for(let _0x581556=0x0;_0x581556<_0x1c0981['length'];_0x581556++){const _0x228a75=_0x1c0981[_0x581556];void 0x0!==_0x228a75['fromVersion']&&void 0x0===_0x228a75['toVersion']&&(_0x228a75['toVersion']=this['repository']['getRevision'](_0x228a75['id'])['toVersion']),void 0x0!==_0x228a75['toVersion']&&void 0x0===_0x228a75['fromVersion']&&(_0x228a75['fromVersion']=this['repository']['getRevision'](_0x228a75['id'])['fromVersion']);}const _0x230f55=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1c0981,_0x230f55)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1207a9=>{if(_0x1207a9){for(const _0x49ce27 of _0x1207a9)this['setRevisionData']({'id':_0x49ce27['id'],'createdAt':_0x49ce27['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1ffd63,_0x1b4000){let _0x4b6dae=this['editor']['config']['get']('initialData'),_0x530630=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4b6dae){_0x4b6dae={};for(const _0x43a35f of this['editor']['model']['document']['getRootNames']())_0x4b6dae[_0x43a35f]='';}if('string'==typeof _0x4b6dae&&(_0x4b6dae={'main':_0x4b6dae}),void 0x0===_0x530630){_0x530630={};for(const _0x1f26a0 of this['editor']['model']['document']['getRootNames']())_0x530630[_0x1f26a0]={};}let _0x305b67=!0x1;const _0x32b307=Object['keys'](_0x4b6dae),_0xc5e8ed=Object['keys'](_0x1ffd63);for(const _0x482467 of _0x32b307){if(_0x4b6dae[_0x482467]!==_0x1ffd63[_0x482467]&&''!==_0x4b6dae[_0x482467]['trim']()){_0x305b67=!0x0;break;}if(!_0x186941(_0x530630[_0x482467],_0x1b4000[_0x482467])&&Object['keys'](_0x530630[_0x482467])['length']>0x0){_0x305b67=!0x0;break;}}_0x305b67||(_0x305b67=_0xc5e8ed['some'](_0x4007f0=>!this['editor']['model']['document']['getRoot'](_0x4007f0))),_0x305b67&&_0xb6c621('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4b6dae,'editorRootsAttributes':_0x530630,'revisionData':_0x1ffd63,'revisionRootsAttributes':_0x1b4000}),this['editor']['config']['set']('initialData',_0x1ffd63),this['editor']['config']['set']('rootsAttributes',_0x1b4000);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4d3123=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4d3123['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5028aa){const _0x51154b=this['repository']['getRevisions']();_0x51154b['reverse']();let _0x367e48=0x0;for(;_0x367e48<_0x51154b['length'];){const _0x17cb47=_0x51154b[_0x367e48];if(_0x17cb47===this['currentRevision']){_0x367e48++;continue;}if(_0x17cb47['id']===this['_initialRevisionId'])break;const _0x4bb404=_0x5028aa['toVersion']-_0x17cb47['toVersion']||_0x5028aa['fromVersion']-_0x17cb47['fromVersion'];if(_0x4bb404>0x0)break;if(_0x4bb404<0x0)_0x367e48++;else{if(!_0x5028aa['creator']&&_0x17cb47['creator'])break;if(_0x17cb47['creator']||!_0x5028aa['creator']){if(_0x5028aa['createdAt']>_0x17cb47['createdAt'])break;_0x367e48++;}else _0x367e48++;}}return _0x367e48;}['setRevisionData'](_0xb911d8){const _0x388b32=this['repository']['getRevision'](_0xb911d8['id']);if(_0xb911d8['createdAt']&&(_0xb911d8['createdAt']=new Date(_0xb911d8['createdAt'])),_0xb911d8['authorsIds']){const _0x5250f1=this['editor']['plugins']['get']('Users');_0xb911d8['authors']=_0xb911d8['authorsIds']['map'](_0x34ccfa=>_0x5250f1['getUser'](_0x34ccfa));}_0x388b32['_update'](_0xb911d8,!0x0);}['buildRevisionData']({revision:_0x1feb22=null,from:_0x431f33=null,to:_0x138a18=null}){_0x431f33=null!==_0x431f33?_0x431f33:_0x1feb22['fromVersion'],_0x138a18=null!==_0x138a18?_0x138a18:_0x1feb22['toVersion'];const _0x530429=this['_revisionDataBuilder']['getData'](_0x431f33,_0x138a18),_0x1e75b8={'diffData':_0x530429['diffData'],'authorsIds':_0x530429['authorsIds'],'fromVersion':_0x431f33,'toVersion':_0x138a18};if(!_0x1feb22||_0x138a18!==_0x1feb22['toVersion']){const _0x40233b=_0x138a18-0x1,_0x288996=this['_source']['history']['getOperation'](_0x40233b);_0x1e75b8['createdAt']=_0x288996&&_0x288996['createdAt']||new Date();}if(this['_loadedStateData']&&_0x431f33===this['_loadedStateData']['fromVersion']){for(const _0xf8ff4e of this['_loadedStateData']['authors'])_0x1e75b8['authorsIds']['includes'](_0xf8ff4e['id'])||_0x1e75b8['authorsIds']['push'](_0xf8ff4e['id']);}return _0x1e75b8;}['_loadRevisionData'](_0x10a25e){if(!_0x10a25e||_0x10a25e['diffData'])return Promise['resolve']();{const _0x4db76e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4db76e,'revisionId':_0x10a25e['id']})['then'](_0x47af5f=>{_0x10a25e['diffData']=_0x47af5f['diffData'];});}}['_bufferUpdate'](_0x2a783f,_0x1a65cd,_0x2f5fd3){if(this['_bufferedUpdates']['has'](_0x2a783f)){const _0x271893=this['_bufferedUpdates']['get'](_0x2a783f);_0x1a65cd=_0x2f5fd3?{..._0x271893,..._0x1a65cd}:{..._0x1a65cd,..._0x271893};}this['_bufferedUpdates']['set'](_0x2a783f,_0x1a65cd);}['_getFromVersion'](_0x70a517){const _0x54d5b9=this['repository']['getRevisions']();_0x54d5b9['reverse'](),_0x54d5b9['shift']();const _0x36deeb=_0x54d5b9['find'](_0x4465e0=>_0x4465e0['toVersion']<=_0x70a517)['toVersion'];return _0x36deeb<this['_startingVersion']?this['_startingVersion']:_0x36deeb;}['_createInitialRevision'](_0x52e78a){const _0x299ae1=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x299ae1)this['_initialRevisionId']=_0x299ae1['id'];else{const _0x44a8f1=!this['editor']['model']['document']['roots']['find'](_0x262a5c=>this['editor']['model']['hasContent'](_0x262a5c)),_0x26b0aa=this['editor']['plugins']['get']('Users')['me']['id'],_0x4e0b87=y(this['editor']['locale'],_0x44a8f1?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x52e78a,'to':_0x52e78a,'id':this['_initialRevisionId'],'name':_0x4e0b87,'creatorId':_0x26b0aa});}}['_createCurrentRevision'](_0x20dded){const _0x540daf=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x540daf),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x20dded,'to':_0x20dded,'id':_0x540daf,'name':'','creatorId':null}));}['_makeRevision']({name:_0x51fb2e,from:_0x4b055e,to:_0xc9bb9c,creatorId:_0xb0e135,id:_0x8424d7}){const _0x2daa5e=this['buildRevisionData']({'from':_0x4b055e,'to':_0xc9bb9c});_0x2daa5e['name']=_0x51fb2e,_0x2daa5e['creatorId']=_0xb0e135,_0x2daa5e['id']=_0x8424d7;const _0x338b1d=this['addRevisionData'](_0x2daa5e);return this['adapter']&&this['_bufferUpdate'](_0x2daa5e['id'],_0x2daa5e,!0x0),_0x338b1d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2d0d07){return(_0x2d0d07=_0x2d0d07['filter'](_0x346b84=>!_0x346b84['name']||'revision-start'!==_0x346b84['name']&&'revision-end'!==_0x346b84['name']))['forEach'](_0x3e3513=>{'string'!=typeof _0x3e3513&&(_0x3e3513['children']=this['_removeRevisionMarkers'](_0x3e3513['children']),_0x3e3513['attributes']=_0x3e3513['attributes']['filter'](_0x16d392=>!_0x16d392[0x0]['startsWith']('data-revision-')));}),_0x2d0d07;}constructor(_0x320800){super(_0x320800),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 _0x1b66f7=_0x5b1dca();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1b66f7},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(_0x260506,_0x354a81){const _0x5dbd9a=_0x354a81['editing']['view']['document'];if('string'==typeof _0x260506)return new _0x357fa6(_0x5dbd9a,_0x260506);{const _0x204e7a=_0x260506['children']['map'](_0x288e47=>B(_0x288e47,_0x354a81));return new(T[_0x260506['type']]||_0x5a1028)(_0x5dbd9a,_0x260506['name'],_0x260506['attributes'],_0x204e7a);}}class J{['init'](_0x52050c){this['source']=_0x52050c;const _0x185a1c=new Map(),_0x49b4af=new Map(),_0x253ea7=this['editor']['model']['document']['roots']['map'](_0x97c120=>_0x97c120['rootName']);for(const _0x34f833 of _0x253ea7){const _0x337845=this['editor']['model']['document']['getRoot'](_0x34f833),_0x152594=q(_0x337845);_0x185a1c['set'](_0x34f833,_0x152594),_0x49b4af['set'](_0x34f833,Object['fromEntries'](_0x337845['getAttributes']()));}const _0x2cf538=Array['from'](this['editor']['model']['markers'])['map'](_0x50d31a=>[_0x50d31a['name'],_0x50d31a['getRange']()]),_0xaee833=this['source']['version'];this['_saveMetaData'](_0xaee833,_0x185a1c,_0x2cf538,_0x49b4af),this['_startingRevisionId']=this['_revisionId'];const _0x223fdf=new Map(),_0x2fe1db=new Map();for(const _0x5a50d6 of _0x253ea7){const _0x344796=G(_0x5a50d6);_0x223fdf['set'](_0x5a50d6,_0x344796),_0x2fe1db['set'](_0x5a50d6,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x223fdf,[],_0x2fe1db);}['getData'](_0x2b813b,_0x1f4699){if(this['_lastFrom']===_0x2b813b&&this['_lastTo']<=_0x1f4699)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1f4699,!0x0);else{if(!this['_savedMetaData']['has'](_0x2b813b)){const _0x32e674=this['_getPreviousFrom'](_0x2b813b);this['_calculateMetaData'](_0x32e674,_0x2b813b,!0x1);}this['_calculateMetaData'](_0x2b813b,_0x1f4699,!0x0);}return this['_lastFrom']=_0x2b813b,this['_lastTo']=_0x1f4699,this['_getState']();}['loadState'](_0x54cf51){this['_reset'](),this['_lastFrom']=_0x54cf51['fromVersion'],this['_lastTo']=_0x54cf51['toVersion'];for(const _0x426293 in _0x54cf51['diffData']){const _0x115e36=_0x54cf51['diffData'][_0x426293]['attachChange'],_0x1299e0=_0x31837b(_0x54cf51['diffData'][_0x426293]['attributesBefore'])||{},_0x8479e0=this['_makeModelFromViewString'](_0x54cf51['diffData'][_0x426293]['deletions']);_0x8479e0['rootName']=_0x426293,_0x8479e0['_isAttached']=!_0x115e36||!_0x115e36['isAttached'],_0x8479e0['isAttached']=()=>_0x8479e0['_isAttached'],this['_baseRoots']['set'](_0x426293,_0x8479e0),this['_baseRootsAttributes']['set'](_0x426293,_0x1299e0),_0x115e36&&this['_touchedRoots']['set'](_0x426293,_0x115e36);const _0x299794=this['_makeIdsRoot'](_0x8479e0);this['_baseIdsRoots']['set'](_0x426293,_0x299794);for(const [_0x3b28d8,_0x28c5f6]of _0x8479e0['markers']){if(!_0x3b28d8['startsWith']('revision:'))continue;const _0x2cd784=_0x3b28d8['split'](':')[0x2];for(const _0x3ea035 of _0x28c5f6['getWalker']({'singleCharacters':!0x0})){const _0xa49e73=this['_getVidAttributeName'](_0x3ea035),_0xfc393e='elementEnd'==_0x3ea035['type']?_0x3ea035['previousPosition']['path']['slice'](0x0,-0x1):_0x3ea035['previousPosition']['path'],_0x575ddd=_0x299794['getNodeByPath'](_0xfc393e)['getAttribute'](_0xa49e73);this['_touched']['set'](_0x575ddd,{'userId':_0x2cd784});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5da501=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1086b5=>!this['_touched']['has'](_0x1086b5));let _0x29b884=0x0;const _0x2868ab=new Map();for(const _0x4ddbac in _0x54cf51['diffData']){const _0x254642=_0x54cf51['diffData'][_0x4ddbac]['attachChange'],_0xa47811=_0x31837b(_0x54cf51['diffData'][_0x4ddbac]['attributesAfter'])||{},_0x1b1857=this['_makeModelFromViewString'](_0x54cf51['diffData'][_0x4ddbac]['insertions']);_0x1b1857['rootName']=_0x4ddbac,_0x1b1857['_isAttached']=!_0x254642||_0x254642['isAttached'],_0x1b1857['isAttached']=()=>_0x1b1857['_isAttached'],this['_diffRoots']['set'](_0x4ddbac,_0x1b1857),this['_diffRootsAttributes']['set'](_0x4ddbac,_0xa47811);const _0x38efce=this['_makeIdsRoot'](_0x1b1857,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4ddbac,_0x38efce),_0x2868ab['set'](_0x4ddbac,_0x1b1857['isAttached']()?_0xa47811:{});for(const [_0x506f62,_0x381682]of _0x1b1857['markers']){if(!_0x506f62['startsWith']('revision:'))continue;const _0x45e212=_0x506f62['split'](':')[0x2];for(const _0x155284 of _0x381682['getWalker']({'singleCharacters':!0x0})){const _0x52dd58=this['_getVidAttributeName'](_0x155284),_0x579da8=this['_revisionId']++,_0x5be423='elementEnd'==_0x155284['type']?_0x155284['previousPosition']['path']['slice'](0x0,-0x1):_0x155284['previousPosition']['path'];_0x38efce['getNodeByPath'](_0x5be423)['_setAttribute'](_0x52dd58,_0x579da8),this['_touched']['set'](_0x579da8,{'userId':_0x45e212});}}for(const _0x598d0e of this['editor']['model']['createRangeIn'](_0x1b1857)['getWalker']({'singleCharacters':!0x0})){const _0x4d5479=this['_getVidAttributeName'](_0x598d0e),_0x9a9ce0='elementEnd'==_0x598d0e['type']?_0x598d0e['previousPosition']['path']['slice'](0x0,-0x1):_0x598d0e['previousPosition']['path'],_0x536c9f=_0x38efce['getNodeByPath'](_0x9a9ce0);_0x536c9f['getAttribute'](_0x4d5479)>0x0||_0x536c9f['_setAttribute'](_0x4d5479,_0x5da501[_0x29b884++]);}for(const [_0x32b39a,_0x49e759]of _0x1b1857['markers'])_0x32b39a['startsWith']('revision:')||this['_markers']['set'](_0x32b39a,_0x49e759);}const _0x1d809d=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1d809d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1d809d,0x1));const _0x186c8a=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x186c8a),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x186c8a,0x1));const _0x4498e5=Array['from'](this['_diffRoots'])['map'](([_0xbdc528,_0x3a1f3c])=>[_0xbdc528,q(_0x3a1f3c)]);this['_saveMetaData'](this['_lastTo'],_0x4498e5,this['_markers'],_0x2868ab);}['_makeModelFromViewString'](_0x21f852){const _0x2b874b=JSON['parse'](_0x21f852),_0x34e9c0=this['editor']['editing']['view']['document'],_0x5bde58=new _0x243452(_0x34e9c0,_0x2b874b['map'](_0x2fbf23=>B(_0x2fbf23,this['editor'])));return this['editor']['data']['toModel'](_0x5bde58);}['_saveMetaData'](_0xc69f79,_0x369564,_0x442bf1,_0x4e7f06){const _0x3d07df=new Map(_0x369564),_0x293423=new Map(_0x31837b(_0x4e7f06)),_0x30f052=new Map();for(const [_0x5ead9b,_0x522d21]of _0x442bf1)_0x30f052['set'](_0x5ead9b,{'start':_0x522d21['start']['clone'](),'end':_0x522d21['end']['clone'](),'rootName':_0x522d21['root']['rootName']});this['_savedMetaData']['set'](_0xc69f79,{'roots':_0x3d07df,'markers':_0x30f052,'rootsAttributes':_0x293423});}['_removeMetaData'](_0x31ffd4){this['_savedMetaData']['delete'](_0x31ffd4);}['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'](_0x1403a1,_0x1389e2=null){let _0x3014a3=null;_0x1403a1['is']('documentFragment')||(_0x3014a3=new ft(_0x1403a1['name'],{'vid_start':null===_0x1389e2?this['_revisionId']++:_0x1389e2++}));const _0x37c970=[];for(const _0x50b752 of _0x1403a1['getChildren']())if(_0x50b752['is']('element')){_0x37c970['push'](this['_makeIdsRoot'](_0x50b752,_0x1389e2));const _0x37c51f=_0x37c970[_0x37c970['length']-0x1];null!==_0x1389e2&&(_0x1389e2=_0x37c51f['is']('element','$text')?_0x37c51f['getAttribute']('vid')+0x1:_0x37c51f['getAttribute']('vid_end')+0x1);}else{for(let _0x17fd07=0x0;_0x17fd07<_0x50b752['offsetSize'];_0x17fd07++)_0x37c970['push'](new ft('$text',{'vid':null===_0x1389e2?this['_revisionId']++:_0x1389e2++}));}if(_0x1403a1['is']('documentFragment')){const _0xc145a0=G(_0x1403a1['rootName']);return _0xc145a0['_insertChild'](0x0,_0x37c970),_0xc145a0;}return _0x3014a3['_setAttribute']('vid_end',null===_0x1389e2?this['_revisionId']++:_0x1389e2++),_0x3014a3['_insertChild'](0x0,_0x37c970),_0x3014a3;}['_calculateMetaData'](_0x5a639f,_0x2aae78,_0xdfb7c){this['_reset']();const {roots:_0x1b91ae,markers:_0x45fc9c,rootsAttributes:_0x3f71ac}=this['_savedMetaData']['get'](_0x5a639f);this['_baseRoots']=new Map(_0x1b91ae),this['_baseRootsAttributes']=new Map(_0x31837b(_0x3f71ac));for(const [_0x5cc5c6,_0x4e1a7f]of this['_baseRoots'])if('$graveyard'!==_0x5cc5c6&&(this['_diffRoots']['set'](_0x5cc5c6,q(_0x4e1a7f)),this['_diffRootsAttributes']=new Map(_0x31837b(_0x3f71ac)),_0xdfb7c)){const _0x32d8ae=this['_revisionId'];this['_idsRoots']['set'](_0x5cc5c6,this['_makeIdsRoot'](_0x4e1a7f)),this['_baseIdsRoots']['set'](_0x5cc5c6,this['_makeIdsRoot'](_0x4e1a7f,_0x32d8ae));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xdfb7c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x46eebc,_0x4a1269]of _0x45fc9c){const _0x54f515=this['_baseRoots']['get'](_0x4a1269['rootName']),_0x3920fe=this['_diffRoots']['get'](_0x4a1269['rootName']),_0x4fc357=new gt(this['_fixPosition'](_0x4a1269['start'],_0x54f515),this['_fixPosition'](_0x4a1269['end'],_0x54f515)),_0x2ed1d2=this['_fixRange'](_0x4fc357,_0x3920fe);_0x54f515['markers']['set'](_0x46eebc,_0x4fc357),this['_markers']['set'](_0x46eebc,_0x2ed1d2);}this['_applyOperations'](_0x5a639f,_0x2aae78,_0xdfb7c);}['_applyOperations'](_0x19ed5b,_0x1b0afc,_0x2e8452){for(const _0x24afa7 of this['source']['getOperations'](_0x19ed5b,_0x1b0afc))this['_handleOperation'](_0x24afa7,_0x2e8452);for(const _0x34389c of this['_diffRoots']['values']())_0x34389c['markers']['clear']();for(const [_0x4a1dd3,_0x47ec0c]of this['_markers']){this['_diffRoots']['get'](_0x47ec0c['root']['rootName'])['markers']['set'](_0x4a1dd3,_0x47ec0c['clone']());}const _0x4ec68d=new Map(),_0x235006=new Map();for(const [_0x1e9fe1,_0x1b1fc8]of this['_diffRoots'])_0x4ec68d['set'](_0x1e9fe1,q(_0x1b1fc8)),_0x235006['set'](_0x1e9fe1,this['_diffRootsAttributes']['get'](_0x1e9fe1));this['_saveMetaData'](_0x1b0afc,_0x4ec68d,this['_markers'],_0x235006);}['_getPreviousFrom'](_0x192bb1){const _0x4501ae=Array['from'](this['_savedMetaData']['keys']());_0x4501ae['sort']((_0x45f538,_0xabcb0)=>_0x45f538-_0xabcb0),_0x4501ae['reverse']();for(const _0x45ea71 of _0x4501ae)if(_0x45ea71<_0x192bb1)return _0x45ea71;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x16d7cb,_0x323d07){const _0x78ca7f=Array['from'](_0x323d07['markers'])['map'](([_0x56713b,_0x141349])=>[_0x56713b,this['_fixRange'](_0x141349,_0x16d7cb)]);_0x16d7cb['markers']=new Map(_0x78ca7f);}['_transformMarkers'](_0xb6223f){for(const _0x47148d of this['_markers']['values']()){const _0x1a21dc=_0x47148d['getTransformedByOperation'](_0xb6223f),_0x3813df=gt['_createFromRanges'](_0x1a21dc);_0x47148d['start']=_0x3813df['start'],_0x47148d['end']=_0x3813df['end'];}}['_handleOperation'](_0x2af4a1,_0x5b8f0c){if('addRoot'==_0x2af4a1['type']||'detachRoot'==_0x2af4a1['type'])return void this['_handleRootOperation'](_0x2af4a1,_0x5b8f0c);if('insert'==_0x2af4a1['type']){const _0x2b78fb=_0x2af4a1['position']['root']['rootName'];this['_diffRoots']['has'](_0x2b78fb)||(this['_diffRoots']['set'](_0x2b78fb,G(_0x2b78fb,!0x0)),this['_diffRootsAttributes']['set'](_0x2b78fb,{}),_0x5b8f0c&&this['_idsRoots']['set'](_0x2b78fb,G(_0x2b78fb,!0x0)));}else{if('addRootAttribute'==_0x2af4a1['type']||'removeRootAttribute'==_0x2af4a1['type']||'changeRootAttribute'==_0x2af4a1['type'])return void this['_handleRootAttributeOperation'](_0x2af4a1);}const _0x2be23b=this['_cloneOperation'](_0x2af4a1,this['_diffRoots']);if('marker'!==_0x2af4a1['type']&&(_0x2be23b['_execute'](),this['_transformMarkers'](_0x2be23b)),_0x5b8f0c)switch(_0x2be23b['type']){case'insert':this['_handleInsertOperation'](_0x2af4a1);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2af4a1);break;case'merge':this['_handleMergeOperation'](_0x2af4a1);break;case'split':this['_handleSplitOperation'](_0x2af4a1);break;case'marker':this['_handleMarkerOperation'](_0x2af4a1);}}['_cloneOperation'](_0x4eb4e8,_0xbc1c79){const _0x10c6a1=_0x4eb4e8['clone']();return _0x10c6a1['_authorId']=_0x4eb4e8['_authorId'],this['_fixOperation'](_0x10c6a1,_0xbc1c79),_0x10c6a1;}['_getBaseVids'](_0xaa7d56){return _0xaa7d56['map'](_0x383923=>{const _0x3094af=this['_getVidAttributeName'](_0x383923);return Number(_0x383923['item']['getAttribute'](_0x3094af));});}['_generateTape'](_0x48f319,_0x1e86a5){if(_0x48f319['is']('element','$text'))_0x1e86a5['push']({'item':_0x48f319,'type':'text'});else{_0x48f319['is']('element')&&_0x1e86a5['push']({'item':_0x48f319,'type':'elementStart'});for(const _0x239703 of _0x48f319['getChildren']())this['_generateTape'](_0x239703,_0x1e86a5);_0x48f319['is']('element')&&_0x1e86a5['push']({'item':_0x48f319,'type':'elementEnd'});}return _0x1e86a5;}['_getState'](){const _0x11eadd=new Map(this['_touched']),_0x3fb61a=new Map(_0x11eadd),_0x2dea0e=new Map(),_0x599e83={'insertions':{},'deletions':{}},_0x48a6a9={'insertions':{},'deletions':{}},_0x1e1ec4=new Map(),_0x2cc28c=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2cc28c['delete']('$graveyard');for(const _0x41e510 of _0x2cc28c){const _0x1c3315=this['_diffRoots']['get'](_0x41e510)||G(_0x41e510,!0x1),_0x12979a=this['_baseRoots']['get'](_0x41e510)||G(_0x41e510,!0x1);_0x1c3315['isAttached']()||_0x12979a['isAttached']()?(_0x599e83['insertions'][_0x41e510]=q(_0x1c3315),_0x599e83['deletions'][_0x41e510]=q(_0x12979a),this['_copyMarkers'](_0x599e83['deletions'][_0x41e510],_0x12979a),this['_copyMarkers'](_0x599e83['insertions'][_0x41e510],_0x1c3315),_0x48a6a9['insertions'][_0x41e510]=this['_generateTape'](this['_idsRoots']['get'](_0x41e510),[]),_0x48a6a9['deletions'][_0x41e510]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x41e510)||G(_0x41e510,!0x1),[])):_0x2cc28c['delete'](_0x41e510);}for(const _0x1e80c7 of _0x2cc28c){const _0x4e34d3=_0x48a6a9['insertions'][_0x1e80c7];for(const _0x336a60 of _0x4e34d3){const _0x38ae7c=this['_getVidAttributeName'](_0x336a60),_0x50a7c3=_0x336a60['item']['getAttribute'](_0x38ae7c);_0x3fb61a['delete'](_0x50a7c3),_0x50a7c3>=this['_startingRevisionId']&&_0x2dea0e['set'](_0x50a7c3,_0x11eadd['get'](_0x50a7c3));}}for(const _0x3ccf13 of _0x2cc28c){const _0x57b896=_0x48a6a9['insertions'][_0x3ccf13],_0x5f2f29=this['_getBaseVids'](_0x48a6a9['deletions'][_0x3ccf13]);let _0x2571fd=0x0;for(const _0x19efa2 of _0x57b896){const _0x21dcea=this['_getVidAttributeName'](_0x19efa2),_0x162ef6=_0x19efa2['item']['getAttribute'](_0x21dcea);if(!_0x2dea0e['has'](_0x162ef6)&&!_0x1e1ec4['has'](_0x162ef6)){if(_0x3fb61a['has'](_0x162ef6))_0x2571fd++;else{if(_0x162ef6!=_0x5f2f29[_0x2571fd]){const _0x14a3bc=_0x11eadd['get'](_0x162ef6)||_0x11eadd['get'](_0x5f2f29[_0x2571fd]);for(;_0x162ef6!=_0x5f2f29[_0x2571fd];)_0x3fb61a['has'](_0x5f2f29[_0x2571fd])||(_0x1e1ec4['set'](_0x5f2f29[_0x2571fd],_0x14a3bc),_0x11eadd['set'](_0x5f2f29[_0x2571fd],_0x14a3bc)),_0x2571fd++;}_0x2571fd++;}}}}for(const _0x237696 of _0x2cc28c){const _0x33cecf=_0x48a6a9['insertions'][_0x237696];for(const _0x7e0a11 of _0x33cecf){const _0x586163=this['_getVidAttributeName'](_0x7e0a11),_0x5e4922=_0x7e0a11['item']['getAttribute'](_0x586163);if(_0x1e1ec4['has'](_0x5e4922)){const _0x522378=_0x1e1ec4['get'](_0x5e4922);_0x3fb61a['has'](_0x5e4922)||_0x3fb61a['set'](_0x5e4922,{..._0x522378}),_0x2dea0e['set'](_0x5e4922,{..._0x522378});}}}for(const _0x1de282 of _0x3fb61a['keys']())_0x1de282>=this['_startingRevisionId']&&_0x3fb61a['delete'](_0x1de282);const _0x2f019d=new Map();for(const _0x499cab of _0x2cc28c){let _0x296b51=_0x48a6a9['insertions'][_0x499cab];for(const _0xffd1dc of _0x296b51)if(_0xffd1dc['item']['is']('element','tableCell')){const _0x3520ce=this['_getVidAttributeName'](_0xffd1dc),_0x3bffe9=_0xffd1dc['item']['getAttribute'](_0x3520ce);if(_0x2dea0e['has'](_0x3bffe9)){const _0x2e5385=_0xffd1dc['item']['parent']['parent']['getAttribute']('vid_start'),_0x223f20=_0x2f019d['get'](_0x2e5385)||new Set();_0x223f20['add'](_0x2dea0e['get'](_0x3bffe9)['userId']),_0x2f019d['set'](_0x2e5385,_0x223f20);}}_0x296b51=_0x48a6a9['deletions'][_0x499cab];for(const _0x139085 of _0x296b51)if(_0x139085['item']['is']('element','tableCell')){const _0x49b651=this['_getVidAttributeName'](_0x139085),_0x5204aa=_0x139085['item']['getAttribute'](_0x49b651);if(_0x3fb61a['has'](_0x5204aa)){const _0x298ac6=_0x139085['item']['parent']['parent']['getAttribute']('vid_start'),_0x162b1a=_0x2f019d['get'](_0x298ac6)||new Set();_0x162b1a['add'](_0x3fb61a['get'](_0x5204aa)['userId']),_0x2f019d['set'](_0x298ac6,_0x162b1a);}}for(const _0x37c45b of _0x2f019d['keys']())(_0x2dea0e['has'](_0x37c45b)||_0x3fb61a['has'](_0x37c45b))&&_0x2f019d['delete'](_0x37c45b);}for(const _0x2b7a52 of _0x2cc28c){const _0x1c599c=_0x48a6a9['insertions'][_0x2b7a52];let _0x29bcac=null,_0x2d3f7f=null;for(const _0x381841 of _0x1c599c){const _0x2b8e30=this['_getVidAttributeName'](_0x381841),_0x578fd6=_0x381841['item']['getAttribute'](_0x2b8e30),_0x56a6e4=_0x2f019d['get'](_0x578fd6);_0x56a6e4&&'elementStart'==_0x381841['type']&&(_0x29bcac=Array['from'](_0x56a6e4)[0x0],_0x2d3f7f=_0x381841['item']['getAttribute']('vid_end')),_0x29bcac&&(_0x3fb61a['set'](_0x578fd6,{'userId':_0x29bcac}),_0x2dea0e['set'](_0x578fd6,{'userId':_0x29bcac})),_0x578fd6==_0x2d3f7f&&(_0x29bcac=null,_0x2d3f7f=null);}}const _0x11cce5={},_0xb0148=new Set();for(const _0x5a8db9 of _0x2cc28c){const _0x590392=_0x599e83['deletions'][_0x5a8db9],_0xc2e7f7=_0x599e83['insertions'][_0x5a8db9];for(const {userId:_0x2a3186}of this['_touchedMarkers']['values']())null!==_0x2a3186&&_0xb0148['add'](_0x2a3186);for(const {userId:_0x3d8f64}of this['_touchedRoots']['values']())null!==_0x3d8f64&&_0xb0148['add'](_0x3d8f64);this['_markChanges'](_0xc2e7f7,_0x48a6a9['insertions'][_0x5a8db9],_0x2dea0e,'insertion',_0xb0148),this['_markChanges'](_0x590392,_0x48a6a9['deletions'][_0x5a8db9],_0x3fb61a,'deletion',_0xb0148),_0x11cce5[_0x5a8db9]={'insertions':this['_prepareViewToSave'](_0xc2e7f7),'deletions':this['_prepareViewToSave'](_0x590392),'attachChange':this['_touchedRoots']['get'](_0x5a8db9)||null,'attributesBefore':_0x31837b(this['_baseRootsAttributes']['get'](_0x5a8db9))||{},'attributesAfter':_0x31837b(this['_diffRootsAttributes']['get'](_0x5a8db9))};}return{'diffData':_0x11cce5,'authorsIds':Array['from'](_0xb0148)};}['_processRootBeforeSave'](_0x11cad4){for(const [,_0x2dfbee]of _0x11cad4['markers']){const _0x456e5f=_0x2dfbee['start']['getAncestors']()['filter'](_0x380945=>'tableCell'==_0x380945['name']);for(const _0x505496 of _0x456e5f)0x1==_0x505496['childCount']&&_0x505496['getChild'](0x0)['is']('element','paragraph')&&_0x505496['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2bb25d){this['_processRootBeforeSave'](_0x2bb25d);const _0x280a5f=this['editor']['data']['toView'](_0x2bb25d,{}),_0x4ee21a=Array['from'](_0x280a5f['getChildren']())['map'](_0xc15f1d=>this['_getViewJson'](_0xc15f1d));return JSON['stringify'](_0x4ee21a);}['_getViewJson'](_0x2d1f04){if(_0x2d1f04['is']('$text'))return _0x2d1f04['data'];{const _0x40a531=_0x2d1f04;return{'type':Object['keys'](T)['find'](_0x15dc23=>_0x2d1f04 instanceof T[_0x15dc23]),'name':_0x40a531['name'],'attributes':Array['from'](_0x40a531['getAttributes']()),'children':Array['from'](_0x40a531['getChildren']())['map'](_0x50c4a6=>this['_getViewJson'](_0x50c4a6))};}}['_markChanges'](_0x1c0e24,_0x102b92,_0x5e2c33,_0x3c9890,_0x33857e){let _0x5dc571=null,_0x1db215=null,_0x250f18=0x0;const _0x2c70aa=this['editor']['model'];for(let _0x4a2759=0x0;_0x4a2759<_0x102b92['length'];_0x4a2759++){const _0x4d551d=this['_getVidAttributeName'](_0x102b92[_0x4a2759]),_0x5885ee=_0x102b92[_0x4a2759]['item']['getAttribute'](_0x4d551d),_0x158702=_0x5e2c33['get'](_0x5885ee),_0x21ab5e=_0x4a2759==_0x102b92['length']-0x1;(!_0x5dc571&&_0x158702&&(_0x5dc571=_0x158702,_0x1db215=_0x102b92[_0x4a2759]),_0x5dc571&&(!_0x158702||_0x158702['userId']!=_0x5dc571['userId']))&&(_0x1e2aef(_0x158702,L(_0x1db215,_0x1c0e24,_0x2c70aa),L(_0x102b92[_0x4a2759],_0x1c0e24,_0x2c70aa)),_0x5dc571=_0x158702||null,_0x1db215=_0x158702?_0x102b92[_0x4a2759]:null),_0x5dc571&&_0x21ab5e&&_0x1e2aef(_0x158702,L(_0x1db215,_0x1c0e24,_0x2c70aa),W(_0x102b92[_0x4a2759],_0x1c0e24,_0x2c70aa));}function _0x1e2aef(_0x382c76,_0x37ddb5,_0x4bbf1f){const _0x8f1ce4=_0x5dc571['userId'],_0x28a889='revision:'+_0x3c9890+':'+_0x8f1ce4+':'+_0x250f18++,_0x538e9c=_0x2c70aa['createRange'](_0x37ddb5,_0x4bbf1f);_0x1c0e24['markers']['set'](_0x28a889,_0x538e9c),null!==_0x8f1ce4&&_0x33857e['add'](_0x8f1ce4);}}['_getVidAttributeName'](_0x3b6cbb){switch(_0x3b6cbb['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xd66da3,_0xd9e020){_0xd66da3['baseVersion']=null;for(const _0xe9b734 in _0xd66da3){const _0x59304c=_0xd66da3[_0xe9b734];if(_0x59304c instanceof wt){const _0x1ed767=_0xd9e020['get'](_0x59304c['root']['rootName']);_0xd66da3[_0xe9b734]=this['_fixPosition'](_0x59304c,_0x1ed767);}if(_0x59304c instanceof gt){const _0x23fc48=_0xd9e020['get'](_0x59304c['root']['rootName']);_0xd66da3[_0xe9b734]=this['_fixRange'](_0x59304c,_0x23fc48);}'root'===_0xe9b734&&(_0xd66da3['root']=_0xd9e020['get'](_0xd66da3['root']['rootName']));}}['_fixRange'](_0x8028c4,_0x13fa79){return this['editor']['model']['createRange'](this['_fixPosition'](_0x8028c4['start'],_0x13fa79),this['_fixPosition'](_0x8028c4['end'],_0x13fa79));}['_fixPosition'](_0x441f14,_0x2ae65f){return this['editor']['model']['createPositionFromPath'](_0x2ae65f,_0x441f14['path'],_0x441f14['stickiness']);}['_handleInsertOperation'](_0x12da7c){const _0xf355fd=this['_idsRoots']['get'](_0x12da7c['position']['root']['rootName']),_0x13a4c3=this['_fixPosition'](_0x12da7c['position'],_0xf355fd),_0x507f69=null===_0x12da7c['_authorId']?null:_0x12da7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3b63e9=_0x13a4c3['parent'],_0x98fece=this['_revisionId'],_0x554570=[];for(const _0x10f4d6 of _0x12da7c['nodes'])if(_0x10f4d6['is']('element'))_0x554570['push'](this['_makeIdsRoot'](_0x10f4d6));else{for(let _0x59c6c8=0x0;_0x59c6c8<_0x10f4d6['offsetSize'];_0x59c6c8++)_0x554570['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x51457d=this['_revisionId'];for(let _0x5599a1=_0x98fece;_0x5599a1<_0x51457d;_0x5599a1++)this['_touched']['set'](_0x5599a1,{'userId':_0x507f69});_0x3b63e9['_insertChild'](_0x13a4c3['offset'],_0x554570);}['_handleMoveOperation'](_0x339a55){(_0x339a55=this['_cloneOperation'](_0x339a55,this['_idsRoots']))['_execute']();const _0x282aa1=null===_0x339a55['_authorId']?null:_0x339a55['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a8bbe=_0x339a55['getMovedRangeStart'](),_0x8bfdf5=_0x2a8bbe['parent'],_0x11d0aa=_0x2a8bbe['offset'];!function _0x2cd073(_0xc36c0a,_0x16db22,_0x2a15b1,_0x193670){for(let _0x13b349=_0x2a15b1;_0x13b349<_0x193670;_0x13b349++){const _0x4aaf53=_0x16db22['getChild'](_0x13b349);_0x4aaf53['is']('element','$text')?_0xc36c0a['set'](_0x4aaf53['getAttribute']('vid'),{'userId':_0x282aa1}):(_0xc36c0a['set'](_0x4aaf53['getAttribute']('vid_start'),{'userId':_0x282aa1}),_0x2cd073(_0xc36c0a,_0x4aaf53,0x0,_0x4aaf53['childCount']),_0xc36c0a['set'](_0x4aaf53['getAttribute']('vid_end'),{'userId':_0x282aa1}));}}(this['_touched'],_0x8bfdf5,_0x11d0aa,_0x11d0aa+_0x339a55['howMany']);}['_handleMergeOperation'](_0x89e0d6){const _0x3fc9be=null===(_0x89e0d6=this['_cloneOperation'](_0x89e0d6,this['_idsRoots']))['_authorId']?null:_0x89e0d6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x26d6bb=_0x89e0d6['targetPosition']['parent'],_0x1fee64=_0x89e0d6['sourcePosition']['parent'],_0x1722cb=_0x26d6bb['getAttribute']('vid_end'),_0x1cc231=_0x1fee64['getAttribute']('vid_start');_0x26d6bb['_setAttribute']('vid_end',_0x1fee64['getAttribute']('vid_end')),_0x1fee64['_setAttribute']('vid_end',_0x1722cb),this['_touched']['set'](_0x1cc231,{'userId':_0x3fc9be}),this['_touched']['set'](_0x1722cb,{'userId':_0x3fc9be}),_0x89e0d6['_execute']();}['_handleSplitOperation'](_0x108bbe){const _0x5839c8=null===(_0x108bbe=this['_cloneOperation'](_0x108bbe,this['_idsRoots']))['_authorId']?null:_0x108bbe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17da53=_0x108bbe['graveyardPosition'],_0x4abcc9=_0x108bbe['splitPosition']['parent'];_0x108bbe['_execute']();const _0x2d087e=_0x4abcc9['getAttribute']('vid_end'),_0x28f296=_0x108bbe['insertionPosition']['nodeAfter'];if(_0x17da53){const _0x888b6b=_0x28f296['getAttribute']('vid_end'),_0x3648ad=_0x4abcc9['getAttribute']('vid_end');_0x4abcc9['_setAttribute']('vid_end',_0x888b6b),_0x28f296['_setAttribute']('vid_end',_0x3648ad),this['_touched']['set'](_0x4abcc9['getAttribute']('vid_end'),{'userId':_0x5839c8}),this['_touched']['set'](_0x28f296['getAttribute']('vid_start'),{'userId':_0x5839c8});}else{const _0x1606cf=this['_revisionId']++,_0x20d9f6=this['_revisionId']++;_0x4abcc9['_setAttribute']('vid_end',_0x1606cf),_0x28f296['_setAttribute']('vid_start',_0x20d9f6),_0x28f296['_setAttribute']('vid_end',_0x2d087e),this['_touched']['set'](_0x1606cf,{'userId':_0x5839c8}),this['_touched']['set'](_0x20d9f6,{'userId':_0x5839c8});}}['_handleMarkerOperation'](_0x1a454c){if(!_0x1a454c['affectsData'])return;const _0xe2e177=(_0x1a454c=this['_cloneOperation'](_0x1a454c,this['_diffRoots']))['oldRange']?_0x1a454c['oldRange']['root']:null,_0x5787f7=_0x1a454c['newRange']?_0x1a454c['newRange']['root']:null;_0xe2e177&&this['_markers']['delete'](_0x1a454c['name']),_0x5787f7&&this['_markers']['set'](_0x1a454c['name'],_0x1a454c['newRange']['clone']());const _0x1d6ffc=null===_0x1a454c['_authorId']?null:_0x1a454c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3850c7=_0x1a454c['name'];if(!this['_touchedMarkers']['has'](_0x3850c7))return void this['_touchedMarkers']['set'](_0x3850c7,{'range':_0x1a454c['oldRange'],'userId':_0x1d6ffc});const _0x14b79e=this['_touchedMarkers']['get'](_0x3850c7),_0x253e82=_0x14b79e['range'],_0x27a553=_0x1a454c['newRange'];null==_0x253e82&&null==_0x27a553||_0x253e82&&_0x27a553&&_0x253e82['isEqual'](_0x27a553)?this['_touchedMarkers']['delete'](_0x1a454c['name']):_0x14b79e['userId']=_0x1d6ffc;}['_handleRootOperation'](_0x118afa,_0x114ca3){this['_diffRoots']['has'](_0x118afa['rootName'])?this['_diffRoots']['get'](_0x118afa['rootName'])['_isAttached']=_0x118afa['isAdd']:(this['_diffRoots']['set'](_0x118afa['rootName'],G(_0x118afa['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x118afa['rootName'],{}),_0x114ca3&&this['_idsRoots']['set'](_0x118afa['rootName'],G(_0x118afa['rootName'],!0x0)));const _0x4ef9da=null===_0x118afa['_authorId']?null:_0x118afa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xd53358=this['_touchedRoots']['get'](_0x118afa['rootName']);_0xd53358&&_0xd53358['userId']===_0x4ef9da?this['_touchedRoots']['delete'](_0x118afa['rootName']):this['_touchedRoots']['set'](_0x118afa['rootName'],{'userId':_0x4ef9da,'isAttached':_0x118afa['isAdd']});}['_handleRootAttributeOperation'](_0xb4f1a5){const _0x3a40d2=this['_diffRootsAttributes']['get'](_0xb4f1a5['root']['rootName']);null===_0xb4f1a5['newValue']?delete _0x3a40d2[_0xb4f1a5['key']]:_0x3a40d2[_0xb4f1a5['key']]=_0xb4f1a5['newValue'];}constructor(_0x32b713){this['editor']=_0x32b713,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(_0x215023){const _0x4b4bbe=G(_0x215023['rootName'],_0x215023['isAttached']());for(const _0x4aa19c of _0x215023['getChildren']()){const _0x3af4f8=_0x4aa19c['_clone'](!0x0);_0x4b4bbe['_appendChild'](_0x3af4f8);}return _0x4b4bbe;}function G(_0x44fb6e,_0x500ab3=!0x0){const _0x45ad12=new _t();return _0x45ad12['rootName']=_0x44fb6e,_0x45ad12['_isAttached']=_0x500ab3,_0x45ad12['isAttached']=()=>_0x45ad12['_isAttached'],_0x45ad12;}function L(_0x2e9673,_0x1d80f0,_0x2bf3c2){const _0x19f22a='elementEnd'==_0x2e9673['type']?_0x2bf3c2['createPositionAt'](_0x2e9673['item'],'end'):_0x2bf3c2['createPositionBefore'](_0x2e9673['item']);return _0x2bf3c2['createPositionFromPath'](_0x1d80f0,_0x19f22a['path'],_0x19f22a['stickiness']);}function W(_0x37e8f8,_0x3a93d9,_0x51b5a8){const _0x598075='elementStart'==_0x37e8f8['type']?_0x51b5a8['createPositionAt'](_0x37e8f8['item'],0x0):_0x51b5a8['createPositionAfter'](_0x37e8f8['item']);return _0x51b5a8['createPositionFromPath'](_0x3a93d9,_0x598075['path'],_0x598075['stickiness']);}class ns extends _0x25e10f{['render'](){super['render'](),_0x7cf51({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x532f2f=_0x538931=>_0x538931['stopPropagation']();this['keystrokes']['set']('arrowright',_0x532f2f),this['keystrokes']['set']('arrowleft',_0x532f2f),this['keystrokes']['set']('arrowup',_0x532f2f),this['keystrokes']['set']('arrowdown',_0x532f2f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x185fcf){this['revisionNameInputView']['fieldView']['element']['value']=_0x185fcf['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x8bb983){const _0x57ab1e=new mt(this['locale'],_0x4ee123),_0x403346=_0x57ab1e['fieldView'];_0x403346['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x14b35a=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x8bb983&&(_0x14b35a+='\x20('+y(this['locale'],'optional')+')'),(_0x57ab1e['label']=_0x14b35a,_0x403346['on']('input',()=>{this['revisionNameInputValue']=_0x403346['element']['value']['trim']();}),_0x57ab1e);}constructor(_0x498e31,_0x332395){super(_0x498e31),this['focusTracker']=new _0x53d8c0(),this['keystrokes']=new _0x5a1c97(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x332395),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 _0x3cba77{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x5009d6=this['editor'],_0x408479=_0x5009d6['plugins']['get']('RevisionTracker');_0x5009d6['ui']['componentFactory']['add']('revisionHistory',_0x49caae=>{const _0x48b69f=_0xd03f3(_0x49caae),_0x29c5ed=_0x48b69f['panelView']['children'],_0x4c31cf=new te(_0x49caae),_0x249d57=new _0x5129f7(_0x49caae),_0x14a050=new _0x52ff8c(_0x49caae),_0x145d58=new _0x5129f7(_0x49caae),_0x35b529=new _0x52ff8c(_0x49caae);return _0x48b69f['bind']('isEnabled')['to'](_0x408479,'isReady',_0x408479,'isEnabled',_0x5009d6,'isReadOnly',(_0x6bfeab,_0x4f31bf,_0x260f84)=>_0x6bfeab&&_0x4f31bf&&!_0x260f84),_0x48b69f['buttonView']['set']({'icon':_0x34f6da['history'],'label':y(_0x49caae,'Revision\x20history'),'tooltip':!0x0}),_0x14a050['set']({'label':y(_0x49caae,'Save\x20current\x20revision'),'withText':!0x0}),_0x14a050['bind']('isEnabled')['to'](_0x408479,'isReady',_0x408479,'isEnabled',_0x5009d6,'isReadOnly',(_0x175229,_0x1e1779,_0x142d40)=>_0x175229&&_0x1e1779&&!_0x142d40),_0x14a050['on']('execute',()=>this['_showDialog']()),_0x35b529['set']({'label':y(_0x49caae,'Open\x20revision\x20history'),'withText':!0x0}),_0x35b529['bind']('isEnabled')['to'](_0x408479,'isReady',_0x5009d6,'isReadOnly',(_0x44c7e9,_0x3d37ec)=>_0x44c7e9&&!_0x3d37ec),_0x35b529['on']('execute',()=>{_0x5009d6['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x48b69f['isOpen']=!0x1,_0x5009d6['editing']['view']['focus']();}),_0x249d57['children']['add'](_0x14a050),_0x145d58['children']['add'](_0x35b529),_0x4c31cf['items']['addMany']([_0x249d57,_0x145d58]),_0x29c5ed['add'](_0x4c31cf),_0x48b69f;}),_0x5009d6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x42266f=this['editor'],_0xcac361=_0x42266f['locale'],_0x41d951=new _0x27d9cf(_0xcac361),_0x46106c=new _0x3a0722(_0xcac361);_0x41d951['buttonView']['set']({'icon':_0x34f6da['history'],'label':y(_0xcac361,'Revision\x20history')});const _0x8bac03=new _0x51fba3(_0xcac361,_0x41d951),_0x3287e7=new _0x5736b6(_0xcac361);_0x3287e7['set']({'label':y(_0xcac361,'Save\x20current\x20revision')}),_0x3287e7['delegate']('execute')['to'](_0x41d951),_0x3287e7['on']('execute',()=>{this['_showDialog']();}),_0x8bac03['children']['add'](_0x3287e7),_0x46106c['items']['add'](_0x8bac03);const _0x412f8a=new _0x51fba3(_0xcac361,_0x41d951),_0xef2e1c=new _0x5736b6(_0xcac361);return _0xef2e1c['set']({'label':y(_0xcac361,'Open\x20revision\x20history')}),_0xef2e1c['delegate']('execute')['to'](_0x41d951),_0xef2e1c['on']('execute',()=>{_0x42266f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x412f8a['children']['add'](_0xef2e1c),_0x46106c['items']['add'](_0x412f8a),_0x41d951['panelView']['children']['add'](_0x46106c),_0x41d951;}['_showDialog'](){const _0x343ac6=this['editor'],_0x239d70=_0x343ac6['locale'],t=_0x239d70['t'],_0x2877be=_0x343ac6['plugins']['get']('Dialog'),_0x1a8b0c=_0x343ac6['plugins']['get']('RevisionTracker');function _0x574413(_0x15d80d){_0x343ac6['config']['get']('revisionHistory.requireRevisionName')&&''===_0x15d80d['revisionName']?_0x15d80d['revisionNameInputView']['errorText']=y(_0x239d70,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x343ac6['plugins']['get'](l)['saveRevision']({'name':_0x15d80d['revisionName']}),_0x2877be['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x574413(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2877be['show']({'id':'findAndReplace','title':y(_0x239d70,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2877be['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x9fc165){_0x9fc165['bind']('isEnabled')['to'](_0x1a8b0c,'isReady',_0x1a8b0c,'isEnabled',_0x343ac6,'isReadOnly',(_0x224c83,_0xf93c7f,_0x4c54f9)=>_0x224c83&&_0xf93c7f&&!_0x4c54f9);},'onExecute':()=>_0x574413(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x50b2e3=this['editor'],_0x208d2d=_0x50b2e3['locale'];this['_saveRevisionFormView']=new ns(_0x208d2d,_0x50b2e3['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x25e10f{['focus'](){this['element']['focus']();}constructor(_0x52ccfe,_0xffd0a1){super(_0x52ccfe),this['_model']=_0xffd0a1,this['changeId']=_0xffd0a1['id'];const _0x25dafd=this['bindTemplate'],_0xb6db6b=y(_0x52ccfe,_0xffd0a1['data']['isSuggestion']?'Suggested\x20by':'add'==_0xffd0a1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0xffd0a1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x25dafd['to']('type',_0x152a72=>'ck-revision-change__'+_0x152a72)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xb6db6b}]},{'text':'\x20'+_0xffd0a1['author']['name']}]}]});}}class r extends _0x1b4929(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x154c6d){super(),this['id']=_0x154c6d['id']||_0x5b1dca(),this['author']=_0x154c6d['author'],this['type']=_0x154c6d['type'],this['data']=_0x154c6d['data']||{},this['rootName']=_0x154c6d['rootName'],this['set']('createdAt',_0x154c6d['createdAt']);}}class f{['_setChanges'](_0x47a4fa){for(const _0x333ee9 of _0x47a4fa)this['changes']['add'](_0x333ee9);}constructor(_0x252f38,_0x9529c){this['newRevisionId']=_0x252f38,this['oldRevisionId']=_0x9529c,this['changes']=new _0x1963b1();}}const tt={'c':_0x3f8814,'a':_0x86112e,'e':_0x3d89fc,'r':_0x2475de,'u':_0x48d4d6};class d extends _0x3cba77{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1bd08f,_0x36a643,A];}['init'](){const _0x26d881=this['editor'],_0x2cd938=new Rt(_0x26d881,{'direction':'backward'}),_0x303f48=new Rt(_0x26d881,{'direction':'forward'});(_0x26d881['commands']['add']('showPreviousChange',_0x2cd938),_0x26d881['commands']['add']('showNextChange',_0x303f48),_0x26d881['commands']['add']('restoreRevision',new bt(_0x26d881)),this['on']('change:numberOfChanges',()=>{_0x2cd938['refresh'](),_0x303f48['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x26d881['enableReadOnlyMode']('revision-viewer'),_0x26d881['plugins']['has']('WidgetToolbarRepository'))&&_0x26d881['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2f9c18){await this['loadRevisionData'](_0x2f9c18);const _0x4dcce3={};for(const _0x3d9e56 in _0x2f9c18['diffData']){if(_0x2f9c18['diffData'][_0x3d9e56]['attachChange']&&!_0x2f9c18['diffData'][_0x3d9e56]['attachChange']['isAttached'])continue;const _0x159869=this['_removeRevisionMarkers'](JSON['parse'](_0x2f9c18['diffData'][_0x3d9e56]['insertions'])),_0x1ae6c9=this['editor']['editing']['view']['document'],_0x467768=new _0x243452(_0x1ae6c9,_0x159869['map'](_0x28a2de=>this['_getViewObj'](_0x28a2de)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4dcce3[_0x3d9e56]=this['editor']['data']['processor']['toData'](_0x467768),this['editor']['data']['processor']['useFillerType']('default');}return _0x4dcce3;}async['getRevisionRootsAttributes'](_0x462f95){await this['loadRevisionData'](_0x462f95);const _0x18cf0e={};for(const _0x4a4fb8 in _0x462f95['diffData'])_0x462f95['diffData'][_0x4a4fb8]['attachChange']&&!_0x462f95['diffData'][_0x4a4fb8]['attachChange']['isAttached']||(_0x18cf0e[_0x4a4fb8]=_0x462f95['diffData'][_0x4a4fb8]['attributesAfter']||{});return _0x18cf0e;}['_removeRevisionMarkers'](_0x52d5f3){return(_0x52d5f3=_0x52d5f3['filter'](_0x263d2c=>!_0x263d2c['name']||'revision-start'!==_0x263d2c['name']&&'revision-end'!==_0x263d2c['name']))['forEach'](_0x221b3d=>{'string'!=typeof _0x221b3d&&(_0x221b3d['children']=this['_removeRevisionMarkers'](_0x221b3d['children']),_0x221b3d['attributes']=_0x221b3d['attributes']['filter'](_0xd3503f=>!_0xd3503f[0x0]['startsWith']('data-revision-')));}),_0x52d5f3;}async['compare'](_0x49f72c,_0x29592,_0x346e4b=!0x1){if(!this['isEnabled'])return;const _0x24a5e4=this['diff'],_0xcefa22=this['repository'],_0x2bb86a='string'==typeof _0x49f72c?_0xcefa22['getRevision'](_0x49f72c):_0x49f72c,_0xfcfd98='string'==typeof _0x29592?_0xcefa22['getRevision'](_0x29592):_0x29592,_0x5251f2=_0x2bb86a['id'],_0x4cc507=_0xfcfd98?_0xfcfd98['id']:null;if(!_0x346e4b&&this['diff']&&this['diff']['newRevisionId']===_0x5251f2&&this['diff']['oldRevisionId']===_0x4cc507)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5251f2,_0x4cc507);const _0x447809=this['_getRevisionsRange'](_0x2bb86a,_0xfcfd98,!0x0)['map'](_0x2dfefb=>this['loadRevisionData'](_0x2dfefb));return _0x447809['push'](new Promise(_0x4b2f8a=>{setTimeout(_0x4b2f8a,0x14);})),Promise['all'](_0x447809)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x409aec=this['_getDiff'](_0x5251f2,_0x4cc507);for(const _0x1a71a0 of _0x409aec['changes'])this['_changeIdToChange']['set'](_0x1a71a0['id'],_0x1a71a0);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x29de11=>{for(const _0x18048b of this['editor']['model']['document']['getRootNames']())_0x29de11['detachRoot'](_0x18048b);for(const _0x5a4ca3 of Object['keys'](_0x409aec['model'])){const _0x418024=_0x29de11['addRoot'](_0x5a4ca3);for(const _0x11b092 of Object['keys'](_0x409aec['attributes'][_0x5a4ca3]))_0x29de11['setAttribute'](_0x11b092,_0x409aec['attributes'][_0x5a4ca3][_0x11b092],_0x418024);_0x29de11['insert'](_0x409aec['model'][_0x5a4ca3],_0x418024,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x409aec['changes'])),this['isReady']=!0x0;})['catch'](_0x298a33=>{console['error'](_0x298a33),this['_cleanUp'](),_0x24a5e4&&(this['diff']=_0x24a5e4),this['isReady']=!0x0;});}['addRevisionData'](_0x35df2a,_0x193bd2){const _0xe00951=this['repository']['createRevision'](_0x35df2a);return _0xe00951['on']('_update',(_0x170985,_0x553785,_0x5d3fbb)=>_0x193bd2(_0x553785,_0x5d3fbb,_0xe00951)),this['repository']['addRevision'](_0xe00951),_0xe00951;}['loadRevisionData'](_0xa3cfdc){if(!_0xa3cfdc||_0xa3cfdc['diffData'])return Promise['resolve']();{const _0x1fdbea=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1fdbea,'revisionId':_0xa3cfdc['id']})['then'](_0x3986d6=>{_0xa3cfdc['_update']({'diffData':_0x3986d6['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},_0x6a6702=>{for(const _0x162127 of this['editor']['model']['document']['getRootNames']())_0x6a6702['detachRoot'](_0x162127);});}['_sortAndFilterDiffChanges'](_0x15713a){const _0x1a37fe=[],_0xbcf4fa=new Map();for(const _0x59e2fe of this['editor']['model']['document']['getRootNames']()){const _0x436c4f=this['editor']['editing']['view']['getDomRoot'](_0x59e2fe);if(!_0x436c4f)continue;const _0x58bdbe=_0x436c4f['getClientRects']()['item'](0x0);_0x58bdbe&&(_0x1a37fe['push'](_0x59e2fe),_0xbcf4fa['set'](_0x59e2fe,_0x58bdbe));}return _0x1a37fe['sort']((_0xaecadf,_0x3bf2ee)=>{const _0x5e4971=_0xbcf4fa['get'](_0xaecadf),_0x25e488=_0xbcf4fa['get'](_0x3bf2ee);return _0x5e4971['y']-_0x25e488['y']||_0x5e4971['x']-_0x25e488['x'];}),(_0x15713a=_0x15713a['filter'](_0x225ac7=>_0x1a37fe['includes'](_0x225ac7['rootName'])))['sort']((_0x4022d1,_0x14e389)=>_0x1a37fe['indexOf'](_0x4022d1['rootName'])-_0x1a37fe['indexOf'](_0x14e389['rootName'])),_0x15713a;}['_makeTape'](_0x1d9e57){const _0x4de1c7=Array['from'](_0x1d9e57['markers'])['filter'](([_0x19e6bf,_0x43a643])=>_0x19e6bf['startsWith']('revision:')&&!_0x43a643['isCollapsed']),_0x3c96bc=Array['from'](this['editor']['model']['createRangeIn'](_0x1d9e57)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4de1c7['length'])for(const _0x16ee83 of _0x3c96bc){const [_0x4c7d2d,_0x551da9]=_0x4de1c7[0x0],[,_0x468358,_0x1ff483]=_0x4c7d2d['split'](':');if(_0x551da9['end']['isEqual'](_0x16ee83['nextPosition'])&&_0x4de1c7['shift'](),(_0x16ee83['previousPosition']['isEqual'](_0x551da9['start'])||_0x16ee83['previousPosition']['isAfter'](_0x551da9['start']))&&('insertion'==_0x468358?_0x16ee83['isAdded']={'userId':_0x1ff483}:'deletion'==_0x468358&&(_0x16ee83['isRemoved']={'userId':_0x1ff483})),0x0==_0x4de1c7['length'])break;}return _0x3c96bc;}['_refreshStartEndIndex'](_0x542c55){const _0x5f3836=new Map();for(let _0x599588=0x0;_0x599588<_0x542c55['length'];_0x599588++)'text'===_0x542c55[_0x599588]['type']?(_0x542c55[_0x599588]['item']['startIndex']=_0x599588,_0x542c55[_0x599588]['item']['endIndex']=_0x599588):('elementStart'===_0x542c55[_0x599588]['type']?_0x542c55[_0x599588]['item']['startIndex']=_0x599588:'elementEnd'===_0x542c55[_0x599588]['type']&&(_0x542c55[_0x599588]['item']['endIndex']=_0x599588),_0x5f3836['set'](_0x542c55[_0x599588]['id'],_0x599588));for(const _0x5a039e of _0x5f3836['values']())'elementStart'===_0x542c55[_0x5a039e]['type']?_0x542c55[_0x5a039e]['item']['endIndex']=_0x5f3836['get'](_0x542c55[_0x5a039e]['pairId']):'elementEnd'===_0x542c55[_0x5a039e]['type']&&(_0x542c55[_0x5a039e]['item']['startIndex']=_0x5f3836['get'](_0x542c55[_0x5a039e]['pairId']));}['_processTape'](_0x412f1e){for(let _0xf93f3f=0x0;_0xf93f3f<_0x412f1e['length'];_0xf93f3f++){if('elementStart'===_0x412f1e[_0xf93f3f]['type'])_0x412f1e[_0xf93f3f]['item']['startIndex']=_0xf93f3f;else{if('elementEnd'===_0x412f1e[_0xf93f3f]['type']){_0x412f1e[_0xf93f3f]['item']['endIndex']=_0xf93f3f;const _0x115073=_0x412f1e[_0xf93f3f]['item']['startIndex'];_0x412f1e[_0x115073]['pairId']=_0x412f1e[_0xf93f3f]['id'],_0x412f1e[_0xf93f3f]['pairId']=_0x412f1e[_0x115073]['id'];}else _0x412f1e[_0xf93f3f]['item']['startIndex']=_0xf93f3f,_0x412f1e[_0xf93f3f]['item']['endIndex']=_0xf93f3f,_0x412f1e[_0xf93f3f]['pairId']=null;}_0x412f1e[_0xf93f3f]['markersStart']||(_0x412f1e[_0xf93f3f]['markersStart']=[],_0x412f1e[_0xf93f3f]['markersEnd']=[]);}}['_markInsertions'](_0x1e6545,_0x209466){const _0x35f0b7=_0x1e6545['filter'](_0x2754c5=>!_0x2754c5['isAdded']);for(let _0x2568ee=0x0;_0x2568ee<_0x209466['length'];_0x2568ee++)_0x209466[_0x2568ee]['isAdded']&&(_0x35f0b7[_0x2568ee]['isAdded']=_0x209466[_0x2568ee]['isAdded']);}['_makeModelFromViewString'](_0xbda324){const _0x147181=JSON['parse'](_0xbda324),_0x5e3648=this['editor']['editing']['view']['document'],_0x27d493=new _0x243452(_0x5e3648,_0x147181['map'](_0x4f5765=>this['_getViewObj'](_0x4f5765)));return this['editor']['data']['toModel'](_0x27d493);}['_getViewObj'](_0x454f4c){const _0x5472b0=this['editor']['editing']['view']['document'];if('string'==typeof _0x454f4c)return new _0x357fa6(_0x5472b0,_0x454f4c);{const _0x34679d=_0x454f4c['children']['map'](_0xf3eb6c=>this['_getViewObj'](_0xf3eb6c));return new(tt[_0x454f4c['type']]||_0x5a1028)(_0x5472b0,_0x454f4c['name'],_0x454f4c['attributes'],_0x34679d);}}['_getDiff'](_0x312807,_0x375a41=null){const _0x5ad553=this['repository']['getRevision'](_0x312807),_0x52a3d6=_0x375a41?this['repository']['getRevision'](_0x375a41):null,_0x25b95a=this['_getRevisionsRange'](_0x5ad553,_0x52a3d6),_0x29a600=_0x25b95a[_0x25b95a['length']-0x1],_0x29ea28=new Map(),_0x4b26e2={'model':{},'attributes':{},'changes':[]},_0x1b01a1=new Set(),_0x500437=new Map();for(let _0x147ebd=_0x25b95a['length']-0x1;_0x147ebd>=0x0;_0x147ebd--){const _0x1dad5f=_0x25b95a[_0x147ebd];for(const _0x586df9 of Object['keys'](_0x1dad5f['diffData']))if(_0x1dad5f['diffData'][_0x586df9]['attachChange']){const _0x8a8945=_0x1dad5f['diffData'][_0x586df9]['attachChange'];_0x8a8945['isAttached']?(_0x1b01a1['add'](_0x586df9),_0x500437['has'](_0x586df9)&&_0x500437['get'](_0x586df9)['userId']==_0x8a8945['userId']?_0x500437['delete'](_0x586df9):_0x500437['set'](_0x586df9,_0x8a8945)):_0x500437['has'](_0x586df9)?(_0x1b01a1['delete'](_0x586df9),_0x500437['delete'](_0x586df9)):(_0x1b01a1['add'](_0x586df9),_0x500437['set'](_0x586df9,_0x8a8945));}else _0x1b01a1['add'](_0x586df9);}for(const _0x525c75 of _0x1b01a1){const _0x3d02de=_0x500437['has'](_0x525c75)&&!_0x500437['get'](_0x525c75)['isAttached'];let _0x34c157=_0x3d02de?_0x25b95a['length']-0x1:0x0;const _0x3977a1=_0x3d02de?-0x1:0x1;for(;_0x25b95a[_0x34c157];){const _0xf6da5a=_0x25b95a[_0x34c157];if(_0xf6da5a['diffData'][_0x525c75]){const _0x5e4523=_0x3d02de?_0xf6da5a['diffData'][_0x525c75]['attributesBefore']:_0xf6da5a['diffData'][_0x525c75]['attributesAfter'];_0x4b26e2['attributes'][_0x525c75]=_0x5e4523?_0x31837b(_0x5e4523):{};break;}_0x34c157+=_0x3977a1;}}for(const _0x1cedef of _0x25b95a){_0x1cedef['model']={};for(const _0xcc4c22 of _0x1cedef['authors'])_0x29ea28['set'](_0xcc4c22['id'],_0xcc4c22);for(const _0x3fbac3 of _0x1b01a1){const _0x248479=_0x1cedef['diffData'][_0x3fbac3]?_0x1cedef['diffData'][_0x3fbac3]['insertions']:'[]',_0xb25ab9=_0x1cedef['diffData'][_0x3fbac3]?_0x1cedef['diffData'][_0x3fbac3]['deletions']:'[]';_0x1cedef['model'][_0x3fbac3]={'insertions':this['_makeModelFromViewString'](_0x248479),'deletions':this['_makeModelFromViewString'](_0xb25ab9)};}}for(const _0x1c9fb2 of _0x1b01a1){let _0x4b68a1=null,_0x1c1b86=0x0;const _0x30e385=new Map(Array['from'](_0x5ad553['model'][_0x1c9fb2]['insertions']['markers'])['filter'](([_0x46fe5c])=>!_0x46fe5c['startsWith']('revision:')));let _0x21ea43=0x0;for(const _0x2e4fee of _0x25b95a){const _0x3f0d5a=this['_makeTape'](_0x2e4fee['model'][_0x1c9fb2]['insertions']);_0x2e4fee==_0x5ad553?(_0x4b68a1=_0x3f0d5a,_0x1c1b86=_0x4b68a1['length'],_0x4b68a1['forEach'](_0xf7ef2c=>{_0xf7ef2c['id']=_0x21ea43++;}),this['_processTape'](_0x4b68a1)):this['_markInsertions'](_0x4b68a1,_0x3f0d5a);const _0x39bac3=_0x4b68a1['filter'](_0x24d576=>!_0x24d576['isAdded'])['map'](_0x10a096=>_0x10a096['id']);let _0x5df24f=0x0;const _0x2863bb=this['_makeTape'](_0x2e4fee['model'][_0x1c9fb2]['deletions']);_0x2863bb['forEach'](_0x5e5bfa=>{_0x5e5bfa['isRemoved']?_0x5e5bfa['id']=_0x1c1b86++:_0x5e5bfa['id']=_0x39bac3[_0x5df24f++];}),this['_processTape'](_0x2863bb),this['_setDistance'](_0x4b68a1,'isAdded'),this['_setDistance'](_0x2863bb,'isRemoved'),_0x2e4fee==_0x5ad553&&this['_markMarkers'](_0x4b68a1,_0x30e385),_0x4b68a1=this['_joinTapes'](_0x4b68a1,_0x2863bb),this['_refreshStartEndIndex'](_0x4b68a1),this['_setDistance'](_0x4b68a1,'isRemoved');}_0x4b68a1=_0x4b68a1['filter'](_0x313d7e=>!(_0x313d7e['isAdded']&&_0x313d7e['isRemoved']));const _0x5ceae9=new Map(_0x29a600['model'][_0x1c9fb2]['deletions']['markers']),_0x3c001d=new Set(_0x30e385['keys']());for(const _0x2226c7 of _0x5ceae9['keys']())_0x3c001d['delete'](_0x2226c7);this['_markSuggestions'](_0x4b68a1,_0x3c001d),this['_fixObsoleteTags'](_0x4b68a1),_0x4b68a1=this['_removeMissingPairs'](_0x4b68a1),_0x4b68a1=this['_markMismatchedRemovedTags'](_0x4b68a1),_0x4b68a1=this['_removeUnsupportedChanges'](_0x4b68a1);const {root:_0x348490,changes:_0x56e99d}=this['_makeModelFromTape'](_0x4b68a1,_0x29ea28,_0x1c9fb2);_0x4b26e2['model'][_0x1c9fb2]=_0x348490;const _0x3997d0=_0x500437['get'](_0x1c9fb2);if(_0x3997d0){const _0x1a43fd=_0x29ea28['get'](_0x3997d0['userId']),_0x296560=new r({'author':_0x1a43fd,'type':_0x3997d0['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1c9fb2});_0x56e99d['unshift'](_0x296560),_0x4b26e2['attributes'][_0x1c9fb2]['revisionHistoryAttachChange']=_0x296560['id'];}_0x4b26e2['changes']=_0x4b26e2['changes']['concat'](_0x56e99d);}return _0x4b26e2;}['_markMarkers'](_0x523064,_0x1e0828){for(let _0xa8d046=0x0;_0xa8d046<_0x523064['length'];_0xa8d046++)for(const [_0x525f35,_0x485453]of _0x1e0828)_0x485453['start']['isEqual'](_0x523064[_0xa8d046]['previousPosition'])&&_0x523064[_0xa8d046]['markersStart']['push'](_0x525f35),_0x485453['end']['isEqual'](_0x523064[_0xa8d046]['nextPosition'])&&_0x523064[_0xa8d046]['markersEnd']['push'](_0x525f35);}['_joinTapes'](_0x9ed7ab,_0x3957b0){let _0x40b762=[],_0x5c4aa0=0x0,_0x53567f=0x0;for(;_0x5c4aa0<_0x9ed7ab['length']||_0x53567f<_0x3957b0['length'];){const _0xaaf9e=_0x9ed7ab[_0x5c4aa0]||{},_0x28a07d=_0x3957b0[_0x53567f]||{};if(_0xaaf9e['id']==_0x28a07d['id'])_0x5c4aa0++,_0x53567f++,_0x40b762['push'](_0xaaf9e);else{if(_0x28a07d['isRemoved']&&_0xaaf9e['isAdded']){const {commonTape:_0x11006d,iEnd:_0x3e5bef,jEnd:_0x1f875d}=this['_threeWayMerge'](_0x9ed7ab,_0x5c4aa0,_0x3957b0,_0x53567f);_0x40b762=_0x40b762['concat'](_0x11006d),_0x5c4aa0=_0x3e5bef,_0x53567f=_0x1f875d;}else _0x28a07d['isRemoved']?(_0x53567f++,_0x40b762['push'](_0x28a07d)):(_0x5c4aa0++,_0x40b762['push'](_0xaaf9e));}}return _0x40b762;}['_markSuggestions'](_0x4a502c,_0x41f9de){const _0x70bca2=[];for(let _0x5a2f3b=0x0;_0x5a2f3b<_0x4a502c['length'];_0x5a2f3b++){for(let _0x547bc9=0x0;_0x547bc9<_0x4a502c[_0x5a2f3b]['markersStart']['length'];_0x547bc9++){const _0x4c482f=_0x4a502c[_0x5a2f3b]['markersStart'][_0x547bc9];if(!_0x41f9de['has'](_0x4c482f))continue;const {group:_0xb58b70,type:_0x154096,authorId:_0x35857f}=_0x26f9a9(_0x4c482f);'revision-suggestion'!=_0xb58b70||'insertion'!=_0x154096&&'deletion'!=_0x154096||(_0x70bca2['unshift']({'type':_0x154096,'name':_0x4c482f,'userId':_0x35857f}),_0x4a502c[_0x5a2f3b]['markersStart']['splice'](_0x547bc9,0x1),_0x547bc9--);}_0x11f60a(_0x4a502c[_0x5a2f3b]);for(let _0x3441c8=0x0;_0x3441c8<_0x4a502c[_0x5a2f3b]['markersEnd']['length'];_0x3441c8++){const _0x20b1f4=_0x4a502c[_0x5a2f3b]['markersEnd'][_0x3441c8];if(!_0x41f9de['has'](_0x20b1f4))continue;const {group:_0x596897,type:_0x31c1d9}=_0x26f9a9(_0x20b1f4);if('revision-suggestion'!=_0x596897||'insertion'!=_0x31c1d9&&'deletion'!=_0x31c1d9)continue;_0x4a502c[_0x5a2f3b]['markersEnd']['splice'](_0x3441c8,0x1),_0x3441c8--;const _0x39ad14=_0x70bca2['findIndex'](_0x55b0d1=>_0x55b0d1['name']==_0x20b1f4);_0x39ad14>-0x1&&_0x70bca2['splice'](_0x39ad14,0x1);}}function _0x26f9a9(_0x3a2614){const _0x4c8f6d=_0x3a2614['split'](':');return{'group':_0x4c8f6d[0x0],'type':_0x4c8f6d[0x1],'subType':_0x4c8f6d['length']>=0x5?_0x4c8f6d[0x2]:null,'id':_0x4c8f6d['length']<0x5?_0x4c8f6d[0x2]:_0x4c8f6d[0x3],'authorId':_0x4c8f6d['length']<0x5?_0x4c8f6d[0x3]:_0x4c8f6d[0x4],'markerCount':0x6==_0x4c8f6d['length']?_0x4c8f6d[0x5]:null};}function _0x11f60a(_0x5a3a8d){for(let _0x421750=0x0;_0x421750<_0x70bca2['length'];_0x421750++){if(_0x5a3a8d['isAdded']&&'insertion'==_0x70bca2[_0x421750]['type'])return _0x5a3a8d['isAddSuggestion']=_0x70bca2[_0x421750],void delete _0x5a3a8d['isAdded'];if(!_0x5a3a8d['isAdded']&&!_0x5a3a8d['isRemoved']&&'deletion'==_0x70bca2[_0x421750]['type'])return void(_0x5a3a8d['isRemoveSuggestion']=_0x70bca2[_0x421750]);}}}['_setDistance'](_0x381071,_0x5e839a){let _0x3b939b=0x0,_0x7ca348=!0x1;const _0x125a46=new Map();for(const _0x110547 of _0x381071)_0x110547[_0x5e839a]?_0x7ca348&&(_0x3b939b++,_0x7ca348=!0x1):(_0x3b939b++,_0x7ca348=!0x0),_0x125a46['set'](_0x110547['id'],_0x3b939b);for(let _0x171d7c=0x0;_0x171d7c<_0x381071['length'];_0x171d7c++){if('isRemoved'==_0x5e839a&&_0x381071[_0x171d7c]['isAdded']||'isAdded'==_0x5e839a&&_0x381071[_0x171d7c]['isRemoved'])continue;if('text'==_0x381071[_0x171d7c]['type']){_0x381071[_0x171d7c]['distance']=0x0;continue;}const _0x489462=_0x125a46['get'](_0x381071[_0x171d7c]['pairId']),_0x56288d=_0x125a46['get'](_0x381071[_0x171d7c]['id']);_0x381071[_0x171d7c]['distance']=_0x489462-_0x56288d;}}['_getRevisionsRange'](_0x9403a6,_0x22b127,_0x65a3ce=!0x1){const _0x1c0be5=[];let _0x1dccb2=this['repository']['getIndex'](_0x9403a6),_0x56d051=this['repository']['getIndex'](_0x22b127);for(-0x1==_0x56d051&&(_0x56d051=this['repository']['_revisions']['length'],_0x65a3ce=!0x1);_0x1dccb2<_0x56d051;)_0x1c0be5['push'](this['repository']['getRevision'](_0x1dccb2)),_0x1dccb2++;return _0x65a3ce&&_0x1c0be5['push'](this['repository']['getRevision'](_0x1dccb2)),_0x1c0be5;}['_threeWayMerge'](_0x34cc58,_0x2c30d8,_0x132ad5,_0x3bf7bd){const _0xfe5e0=this['editor']['model']['schema'];let _0x11fbe3=_0x2c30d8;for(;_0x34cc58[_0x11fbe3]&&_0x34cc58[_0x11fbe3]['isAdded'];)_0x11fbe3++;let _0x3673c7=_0x3bf7bd;for(;_0x132ad5[_0x3673c7]&&_0x132ad5[_0x3673c7]['isRemoved'];)_0x3673c7++;_0x416704(_0x34cc58,_0x2c30d8,_0x11fbe3),_0x416704(_0x132ad5,_0x3bf7bd,_0x3673c7);const _0x43e3ae=_0x132ad5['slice'](_0x3bf7bd,_0x3673c7)['concat'](_0x34cc58['slice'](_0x2c30d8,_0x11fbe3));return _0x43e3ae['sort']((_0x6bcbbc,_0x3357aa)=>_0x6bcbbc['side']!=_0x3357aa['side']?_0x6bcbbc['side']-_0x3357aa['side']:_0x6bcbbc['level']!=_0x3357aa['level']?_0x6bcbbc['level']-_0x3357aa['level']:_0x6bcbbc['distance']!=_0x3357aa['distance']?_0x3357aa['distance']-_0x6bcbbc['distance']:!!_0x6bcbbc['isAdded']!=!!_0x3357aa['isAdded']?-0x1==_0x6bcbbc['side']||0x0==_0x6bcbbc['side']?_0x6bcbbc['isAdded']?-0x1:0x1:_0x6bcbbc['isAdded']?0x1:-0x1:_0x6bcbbc['index']-_0x3357aa['index']),{'commonTape':_0x43e3ae,'iEnd':_0x11fbe3,'jEnd':_0x3673c7};function _0x416704(_0xe31fa,_0x49a6bb,_0x15aafd){let _0x3bf57e=-0x1,_0x5748b4=Number['POSITIVE_INFINITY'],_0x2c87ad=!0x0;for(let _0x16ea38=_0x49a6bb;_0x16ea38<_0x15aafd;_0x16ea38++)if(_0xfe5e0['isInline'](_0xe31fa[_0x16ea38]['item'])||(_0x2c87ad=!0x1),_0xe31fa[_0x16ea38]['item']['startIndex']<_0x49a6bb&&(_0x3bf57e=_0x16ea38),_0xe31fa[_0x16ea38]['item']['endIndex']>=_0x15aafd){_0x5748b4=_0x16ea38;break;}_0x2c87ad&&(_0x3bf57e=_0x15aafd-0x1);for(let _0x4fbc87=_0x49a6bb;_0x4fbc87<_0x15aafd;_0x4fbc87++)_0xe31fa[_0x4fbc87]['side']=_0x4fbc87<=_0x3bf57e?-0x1:_0x4fbc87<_0x5748b4?0x0:0x1,_0xe31fa[_0x4fbc87]['index']=_0x4fbc87;let _0x50941c=0x0;for(let _0x25b15e=_0x49a6bb;_0x25b15e<=_0x3bf57e;_0x25b15e++)0x0==_0xe31fa[_0x25b15e]['distance']?_0xe31fa[_0x25b15e]['level']=_0x50941c:(_0x50941c++,_0xe31fa[_0x25b15e]['level']=_0x50941c,_0x50941c++);for(let _0x4b2d7f=_0x49a6bb;_0x4b2d7f<_0x15aafd;_0x4b2d7f++)0x0==_0xe31fa[_0x4b2d7f]['side']&&(_0xe31fa[_0x4b2d7f]['level']=_0x50941c);_0x50941c=0x0;for(let _0x415e25=_0x15aafd-0x1;_0x415e25>=_0x5748b4;_0x415e25--)0x0==_0xe31fa[_0x415e25]['distance']?_0xe31fa[_0x415e25]['level']=_0x50941c:(_0x50941c--,_0xe31fa[_0x415e25]['level']=_0x50941c,_0x50941c--);}}['_fixObsoleteTags'](_0x3a30f4){const _0x28d602=new Map(),_0x39c7ec=this['editor']['model']['schema'];for(let _0x1bfff6=0x1;_0x1bfff6<_0x3a30f4['length'];_0x1bfff6++){let _0x42e0d1,_0x2a58f9,_0xbc2d2a;const _0x1d69cb=_0x3a30f4[_0x1bfff6],_0x469988=_0x3a30f4[_0x1bfff6-0x1];if('text'==_0x1d69cb['type'])continue;if(_0x1d69cb['type']!=_0x469988['type'])continue;if(!_0x39c7ec['isBlock'](_0x469988['item'])||_0x39c7ec['isLimit'](_0x469988['item']))continue;if(!_0x39c7ec['isBlock'](_0x1d69cb['item'])||_0x39c7ec['isLimit'](_0x1d69cb['item']))continue;if((_0x3a30f4[_0x1bfff6]['isAdded']||_0x3a30f4[_0x1bfff6]['isAddSuggestion'])&&_0x3a30f4[_0x1bfff6-0x1]['isRemoved'])_0x42e0d1=_0x3a30f4[_0x1bfff6],_0x2a58f9=_0x3a30f4[_0x1bfff6-0x1],_0xbc2d2a=_0x1bfff6-0x1;else{if(!_0x3a30f4[_0x1bfff6]['isRemoved']||!_0x3a30f4[_0x1bfff6-0x1]['isAdded']&&!_0x3a30f4[_0x1bfff6-0x1]['isAddSuggestion'])continue;_0x42e0d1=_0x3a30f4[_0x1bfff6-0x1],_0x2a58f9=_0x3a30f4[_0x1bfff6],_0xbc2d2a=_0x1bfff6;}const _0xca91a3=_0x42e0d1['level']==_0x2a58f9['level'],_0x3eecd2=Math['abs'](_0x42e0d1['level'])<Math['abs'](_0x2a58f9['level'])&&0x0==_0x2a58f9['distance'];(_0xca91a3||_0x3eecd2)&&(_0x28d602['set'](_0x2a58f9['id'],_0x42e0d1['id']),_0x3a30f4['splice'](_0xbc2d2a,0x1),_0x1bfff6--,_0x42e0d1['isAdded']=!0x1);}for(let _0x4dd642=0x0;_0x4dd642<_0x3a30f4['length'];_0x4dd642++)_0x28d602['has'](_0x3a30f4[_0x4dd642]['pairId'])&&(_0x3a30f4[_0x4dd642]['pairId']=_0x28d602['get'](_0x3a30f4[_0x4dd642]['pairId']));}['_removeMissingPairs'](_0x2a21a6){const _0x3ed10f=new Set(_0x2a21a6['map'](_0x533bb8=>_0x533bb8['id']));for(let _0x1532f1=0x0;_0x1532f1<_0x2a21a6['length'];_0x1532f1++)_0x3ed10f['has'](_0x2a21a6[_0x1532f1]['pairId'])||0x0==_0x2a21a6[_0x1532f1]['distance']||(_0x2a21a6[_0x1532f1]['isIncorrect']=!0x0);return _0x2a21a6['filter'](_0x57b04d=>!_0x57b04d['isIncorrect']);}['_markMismatchedRemovedTags'](_0xb75ce7){const _0x8e892f=new Set();for(let _0x399208=0x0;_0x399208<_0xb75ce7['length'];_0x399208++){if(_0x8e892f['has'](_0xb75ce7[_0x399208]['id'])&&_0xb75ce7[_0x399208]['isRemoved']&&(_0xb75ce7[_0x399208]['isIncorrect']=!0x0),_0xb75ce7[_0x399208]['isIncorrect'])continue;if(0x0==_0xb75ce7[_0x399208]['distance'])continue;if('elementStart'!=_0xb75ce7[_0x399208]['type'])continue;if(null==_0xb75ce7[_0x399208]['pairId'])continue;let _0x3d059a=_0x399208+0x1,_0x8b8dbd=0x0;for(;_0xb75ce7[_0x3d059a]['id']!=_0xb75ce7[_0x399208]['pairId'];)'elementStart'==_0xb75ce7[_0x3d059a]['type']?_0x8b8dbd++:'elementEnd'==_0xb75ce7[_0x3d059a]['type']&&_0x8b8dbd--,_0x3d059a++;if(0x0!=_0x8b8dbd){if(_0xb75ce7[_0x399208]['isRemoved'])_0xb75ce7[_0x399208]['isIncorrect']=!0x0;else{for(;_0x3d059a!=_0x399208;)_0xb75ce7[_0x3d059a]['isRemoved']&&0x0!=_0xb75ce7[_0x3d059a]['distance']&&(_0xb75ce7[_0x3d059a]['isIncorrect']=!0x0,_0x8e892f['add'](_0xb75ce7[_0x3d059a]['pairId'])),_0x3d059a--;}}}return _0xb75ce7['filter'](_0x860ee4=>!_0x860ee4['isIncorrect']);}['_removeUnsupportedChanges'](_0x56f6a1){const _0x2cc779=this['editor']['model']['schema'];for(let _0x2a8abe=0x0;_0x2a8abe<_0x56f6a1['length'];_0x2a8abe++){if(!(_0x56f6a1[_0x2a8abe]['isAdded']||_0x56f6a1[_0x2a8abe]['isAddSuggestion']||_0x56f6a1[_0x2a8abe]['isRemoved']||_0x56f6a1[_0x2a8abe]['isRemoveSuggestion']))continue;if(0x0==_0x56f6a1[_0x2a8abe]['distance'])continue;const _0x74067a=_0x56f6a1[_0x2a8abe]['item'];_0x2cc779['isBlock'](_0x74067a)||_0x2cc779['isLimit'](_0x74067a)||(_0x56f6a1[_0x2a8abe]['isAdded']&&delete _0x56f6a1[_0x2a8abe]['isAdded'],_0x56f6a1[_0x2a8abe]['isAddSuggestion']&&delete _0x56f6a1[_0x2a8abe]['isAddSuggestion'],_0x56f6a1[_0x2a8abe]['isRemoveSuggestion']&&delete _0x56f6a1[_0x2a8abe]['isRemoveSuggestion'],_0x56f6a1[_0x2a8abe]['isRemoved']&&(_0x56f6a1[_0x2a8abe]['isIncorrect']=!0x0));}return _0x56f6a1['filter'](_0x74b844=>!_0x74b844['isIncorrect']);}['_makeModelFromTape'](_0x21cc59,_0x224380,_0x241c81){const _0x43a676=new _t(),_0x1989d1=[],_0x45907d=new Map(),_0x58eadb=this['editor']['model'],_0x3207d0=_0x58eadb['schema'],_0x16396c=[_0x43a676],_0x3f8fd8={},_0x1feb1c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2164bf=null;const _0x1ad3ce=[0x0];for(let _0x42aea8=0x0;_0x42aea8<_0x21cc59['length'];_0x42aea8++){let _0x1ed60e,_0x8cba80;if('elementStart'===_0x21cc59[_0x42aea8]['type']){_0x1ed60e=_0x58eadb['createPositionFromPath'](_0x43a676,_0x1ad3ce);const _0x2b4061=new ft(_0x21cc59[_0x42aea8]['item']['name'],_0x21cc59[_0x42aea8]['item']['getAttributes']());_0x16396c[0x0]['_appendChild'](_0x2b4061),_0x1ad3ce['push'](0x0),_0x16396c['unshift'](_0x2b4061),_0x8cba80=_0x58eadb['createPositionFromPath'](_0x43a676,_0x1ad3ce),_0x2164bf=null;}else{if('elementEnd'===_0x21cc59[_0x42aea8]['type'])_0x16396c['shift'](),_0x1ed60e=_0x58eadb['createPositionFromPath'](_0x43a676,_0x1ad3ce),_0x1ad3ce['pop'](),_0x1ad3ce[_0x1ad3ce['length']-0x1]++,_0x8cba80=_0x58eadb['createPositionFromPath'](_0x43a676,_0x1ad3ce),_0x2164bf=null;else{if(_0x1ed60e=_0x58eadb['createPositionFromPath'](_0x43a676,_0x1ad3ce),_0x2164bf&&_0xfc1183(_0x2164bf,_0x21cc59[_0x42aea8]['item']))_0x2164bf['_data']+=_0x21cc59[_0x42aea8]['item']['data'];else{const _0x968d6e=new yt(_0x21cc59[_0x42aea8]['item']['data'],_0x21cc59[_0x42aea8]['item']['getAttributes']());_0x16396c[0x0]['_appendChild'](_0x968d6e),_0x2164bf=_0x968d6e;}_0x1ad3ce[_0x1ad3ce['length']-0x1]+=_0x21cc59[_0x42aea8]['item']['offsetSize'],_0x8cba80=_0x58eadb['createPositionFromPath'](_0x43a676,_0x1ad3ce);}}for(const _0x43d94a of _0x21cc59[_0x42aea8]['markersStart'])_0x45907d['set'](_0x43d94a,{'start':_0x1ed60e,'end':null});_0x201212('isRemoveSuggestion',_0x42aea8,_0x1ed60e,_0x8cba80),_0x201212('isAddSuggestion',_0x42aea8,_0x1ed60e,_0x8cba80),_0x201212('isRemoved',_0x42aea8,_0x1ed60e,_0x8cba80),_0x201212('isAdded',_0x42aea8,_0x1ed60e,_0x8cba80);for(const _0x5a5c13 of _0x21cc59[_0x42aea8]['markersEnd']){_0x45907d['get'](_0x5a5c13)['end']=_0x8cba80;}}for(const [_0x52b4f2,_0x1c0deb]of _0x45907d){const _0x198913=this['editor']['model']['createRange'](_0x1c0deb['start'],_0x1c0deb['end']);_0x43a676['markers']['set'](_0x52b4f2,_0x198913);}return _0x1989d1['sort']((_0x22363d,_0x25e910)=>{const _0x1f343b=_0x43a676['markers']['get']('revision:'+_0x22363d['id']),_0x1e0ef8=_0x43a676['markers']['get']('revision:'+_0x25e910['id']);return _0x1f343b['start']['isBefore'](_0x1e0ef8['start'])?-0x1:_0x1f343b['start']['isAfter'](_0x1e0ef8['start'])?0x1:_0x1f343b['end']['isBefore'](_0x1e0ef8['end'])?-0x1:_0x1f343b['end']['isAfter'](_0x1e0ef8['end'])?0x1:'add'===_0x22363d['type']?-0x1:0x1;}),{'root':_0x43a676,'changes':_0x1989d1};function _0x201212(_0x221f7e,_0x2f1ec3,_0x2e348a,_0x51c102){const _0x430491=!!_0x21cc59[_0x2f1ec3][_0x221f7e],_0x5b1a14=_0x430491?_0x21cc59[_0x2f1ec3][_0x221f7e]['userId']:null,_0x49fd48=_0x2f1ec3===_0x21cc59['length']-0x1,_0xaa2b18=_0x1feb1c[_0x221f7e][0x0],_0x1426f5=_0x3207d0['isObject'](_0x21cc59[_0x2f1ec3]['item']);!_0x3f8fd8[_0x221f7e]&&_0x430491?_0x3f8fd8[_0x221f7e]={'start':_0x2e348a,'tapeItem':_0x21cc59[_0x2f1ec3],'userId':_0x5b1a14,'type':_0x221f7e}:_0x3f8fd8[_0x221f7e]&&!_0x430491?(_0x3f8fd8[_0x221f7e]['end']=_0x2e348a,_0x149224(_0x3f8fd8[_0x221f7e]),_0x3f8fd8[_0x221f7e]=null):_0x3f8fd8[_0x221f7e]&&_0x430491&&_0x3f8fd8[_0x221f7e]['userId']!==_0x5b1a14&&(_0x3f8fd8[_0x221f7e]['end']=_0x2e348a,_0xaa2b18&&_0xaa2b18['userId']===_0x3f8fd8[_0x221f7e]['userId']||_0x149224(_0x3f8fd8[_0x221f7e]),_0x3f8fd8[_0x221f7e]={'start':_0x2e348a,'tapeItem':_0x21cc59[_0x2f1ec3],'userId':_0x5b1a14,'type':_0x221f7e}),_0x3f8fd8[_0x221f7e]&&_0x1426f5&&('elementStart'!==_0x21cc59[_0x2f1ec3]['type']||_0xaa2b18&&_0xaa2b18['userId']===_0x5b1a14||_0x1feb1c[_0x221f7e]['unshift']({'userId':_0x5b1a14,'object':_0x21cc59[_0x2f1ec3]['item'],'change':_0x3f8fd8[_0x221f7e]}),'elementEnd'===_0x21cc59[_0x2f1ec3]['type']&&_0xaa2b18&&_0xaa2b18['object']===_0x21cc59[_0x2f1ec3]['item']&&(_0x1feb1c[_0x221f7e]['shift'](),_0x3f8fd8[_0x221f7e]=_0xaa2b18['change'])),_0x3f8fd8[_0x221f7e]&&_0x49fd48&&(_0x3f8fd8[_0x221f7e]['end']=_0x51c102,_0x149224(_0x3f8fd8[_0x221f7e]),_0x3f8fd8[_0x221f7e]=null);}function _0x149224({start:_0x1b8e83,end:_0x3cf8c3,tapeItem:_0x32a790,userId:_0x2c1397,type:_0x2ebc90}){const _0x406c06=_0x32a790['item'],_0x5e4d68=_0x58eadb['schema']['isBlock'](_0x406c06)&&!_0x58eadb['schema']['isLimit'](_0x406c06),_0x22c941=_0x1b8e83['nodeAfter']==_0x3cf8c3['parent']&&_0x3cf8c3['isAtStart'];if(_0x5e4d68&&_0x22c941)return;const _0x27d4d8=_0x58eadb['createRange'](_0x1b8e83,_0x3cf8c3),_0x1db5ef=_0x224380['get'](_0x2c1397),_0x27cdf1=new r({'author':_0x1db5ef,'type':'isAdded'==_0x2ebc90||'isAddSuggestion'==_0x2ebc90?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2ebc90||'isRemoveSuggestion'==_0x2ebc90},'createdAt':new Date(),'rootName':_0x241c81});_0x1989d1['push'](_0x27cdf1),_0x43a676['markers']['set']('revision:'+_0x27cdf1['id'],_0x27d4d8);}function _0xfc1183(_0x490726,_0x4e3bd2){const _0x1c01e5=_0x490726['getAttributes'](),_0x4ee2f3=_0x4e3bd2['getAttributes']();for(const _0x4e83d6 of _0x1c01e5){if(_0x4e83d6[0x1]!==_0x4e3bd2['getAttribute'](_0x4e83d6[0x0]))return!0x1;_0x4ee2f3['next']();}return _0x4ee2f3['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x52c142=>{const _0x5a7326=_0x52c142['markerName']['split'](':')[0x1],_0x55bc2a=this['_getChangeFromId'](_0x5a7326);if(!_0x55bc2a)return null;const _0x2bffbe='add'==_0x55bc2a['type']?'insertion':'deletion',_0x21af64=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2bffbe];return _0x55bc2a['data']['isSuggestion']&&_0x21af64['push']('ck-suggestion-marker-'+_0x2bffbe+'-new'),this['activeChange']==_0x55bc2a&&_0x21af64['push']('ck-suggestion-marker--active'),{'classes':_0x21af64,'attributes':{'data-change-id':_0x5a7326}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x197440=>{_0x197440['on']('element:pre',(_0x5533e0,_0x11d1da,_0x2c441a)=>{const _0x3fefa1=_0x11d1da['viewItem']['getChild'](0x0);if(!_0x3fefa1||!_0x3fefa1['is']('element','code'))return;if(!_0x2c441a['consumable']['consume'](_0x3fefa1,{'attributes':['vid_start','vid_end']}))return;const _0x53a5ed=_0x11d1da['modelRange']['start']['nodeAfter'];_0x2c441a['writer']['setAttribute']('vid_start',_0x3fefa1['getAttribute']('vid_start'),_0x53a5ed),_0x2c441a['writer']['setAttribute']('vid_end',_0x3fefa1['getAttribute']('vid_end'),_0x53a5ed);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x28de5c=>{_0x28de5c['on']('element',(_0xb26136,_0x371c0f,_0x615c7f)=>{if(!_0x615c7f['consumable']['consume'](_0x371c0f['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x371c0f['modelRange']['isCollapsed'])return;const _0x298195=_0x371c0f['modelRange']['start']['nodeAfter'];_0x298195['hasAttribute']('vid_start')||_0x298195['hasAttribute']('vid')||(_0x615c7f['writer']['setAttribute']('vid_start',_0x371c0f['viewItem']['getAttribute']('vid_start'),_0x298195),_0x615c7f['writer']['setAttribute']('vid_end',_0x371c0f['viewItem']['getAttribute']('vid_end'),_0x298195));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5524ce=>_0x5524ce['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x257ef0,[,_0x902c8f])=>{['vid_start','vid_end','vid']['includes'](_0x902c8f)&&(_0x257ef0['return']=!0x0,_0x257ef0['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4f4ab1=>{_0x4f4ab1['on']('attribute:vid',(_0x518c04,_0x465513,_0xacb26d)=>{if('\x20'!=_0x465513['item']['data']||_0x465513['item']['parent']['maxOffset']>0x1)return;if(!_0xacb26d['consumable']['consume'](_0x465513['item'],_0x518c04['name']))return;const _0x2cc9fa=_0xacb26d['writer'],_0x4463e4=_0xacb26d['mapper']['toViewRange'](_0x465513['range']);_0x2cc9fa['wrap'](_0x4463e4,_0x2cc9fa['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x18c12c){const _0x2fa7d0=_0x18c12c['plugins']['get']('RevisionViewer');return(_0x11617f,_0x3d2c8a,_0x4f61bb)=>{const _0xe5e1aa=_0x3d2c8a['markerName']['split'](':')[0x1],_0x4fa863=_0x2fa7d0['_getChangeFromId'](_0xe5e1aa);if(!_0x4fa863)return null;const _0x1de850='add'==_0x4fa863['type']?'split':'merge';if(!_0x4f61bb['consumable']['test'](_0x3d2c8a['markerRange'],_0x11617f['name']))return;const _0x4c1f84=_0x3d2c8a['markerRange']['getWalker'](),_0x4993ff=_0x3d2c8a['markerRange']['start'],_0x466eff=_0x18c12c['model']['schema'];let _0x383a13=null,_0x329e43=null,_0x31f85f=!0x1,_0x104061=!0x1;for(const _0x38a7c0 of _0x4c1f84){const _0x5989fd=_0x38a7c0['item'];_0x31f85f=_0x31f85f||_0x466eff['isContent'](_0x5989fd);const _0x29e9d4=_0x4f61bb['mapper']['toViewElement'](_0x5989fd);if(_0x29e9d4&&_0x29e9d4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x38a7c0['type']&&(_0x466eff['isBlock'](_0x5989fd)&&!_0x466eff['isLimit'](_0x5989fd)&&(_0x5989fd['nextSibling']||_0x4993ff['isAtEnd']?_0x383a13&&_0x383a13['parent']==_0x5989fd||(_0x383a13=_0x5989fd,_0x308f97(_0x38a7c0['previousPosition']),_0x104061=!0x0):_0x329e43=_0x329e43||_0x38a7c0['previousPosition']));}function _0x308f97(_0x198a1f){const _0x4a6df3=_0x4f61bb['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1de850}),_0x40ca99=_0x4f61bb['mapper']['toViewPosition'](_0x198a1f);_0x4fa863['data']['isSuggestion']&&_0x4f61bb['writer']['addClass']('ck-suggestion-marker-'+_0x1de850+'-new',_0x4a6df3),_0x2fa7d0['activeChange']==_0x4fa863&&_0x4f61bb['writer']['addClass']('ck-suggestion-marker--active',_0x4a6df3),_0x4f61bb['writer']['insert'](_0x40ca99,_0x4a6df3),_0x4f61bb['mapper']['bindElementToMarker'](_0x4a6df3,_0x3d2c8a['markerName']);}_0x31f85f||_0x104061||!_0x329e43||_0x308f97(_0x329e43);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2da892,_0xf2d9ab,_0x72ed99)=>{const _0x530e18=_0x72ed99['mapper']['markerNameToElements'](_0xf2d9ab['markerName']);if(_0x530e18){for(const _0x16e6b6 of _0x530e18)(_0x16e6b6['hasClass']('ck-suggestion-marker-split')||_0x16e6b6['hasClass']('ck-suggestion-marker-merge'))&&(_0x72ed99['mapper']['unbindElementFromMarkerName'](_0x16e6b6,_0xf2d9ab['markerName']),_0x72ed99['writer']['remove'](_0x16e6b6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3ec402,_0xcb4ee0,_0x38f802)=>{const _0xde0a0=_0xcb4ee0['markerName']['split'](':')[0x1],_0xe57a35=this['_getChangeFromId'](_0xde0a0);if(!_0xe57a35)return null;const _0x5763d5='add'==_0xe57a35['type']?'split':'merge';if(_0x38f802['consumable']['test'](_0xcb4ee0['markerRange'],_0x3ec402['name']))for(const _0x3d5fe7 of _0xcb4ee0['markerRange']['getItems']()){if(!_0x3d5fe7['is']('element','softBreak'))continue;const _0x43cce8=_0x38f802['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5763d5}),_0x835176=_0x38f802['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3d5fe7));_0xe57a35['data']['isSuggestion']&&_0x38f802['writer']['addClass']('ck-suggestion-marker-'+_0x5763d5+'-new',_0x43cce8),this['activeChange']==_0xe57a35&&_0x38f802['writer']['addClass']('ck-suggestion-marker--active',_0x43cce8),_0x38f802['writer']['insert'](_0x835176,_0x43cce8),_0x38f802['mapper']['bindElementToMarker'](_0x43cce8,_0xcb4ee0['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1d039c=>{for(const _0x1f14cd of this['editor']['model']['document']['getRootNames']()){const _0x4ba255=this['editor']['model']['document']['getRoot'](_0x1f14cd),_0x30571d=this['editor']['editing']['view']['document']['getRoot'](_0x1f14cd);if(_0x30571d){const _0x4f5f6e=_0x4ba255['getAttribute']('revisionHistoryAttachChange');if(_0x1d039c['removeAttribute']('data-change-id',_0x30571d),_0x1d039c['removeClass']('ck-revision-history-root-add',_0x30571d),_0x1d039c['removeClass']('ck-revision-history-root-remove',_0x30571d),_0x1d039c['removeClass']('ck-revision-history-root--active',_0x30571d),_0x4f5f6e){const _0x51de1e=this['_getChangeFromId'](_0x4f5f6e);if(!_0x51de1e)return null;_0x1d039c['setAttribute']('data-change-id',_0x4f5f6e,_0x30571d),_0x1d039c['addClass']('ck-revision-history-root-'+_0x51de1e['type'],_0x30571d),this['activeChange']==_0x51de1e&&_0x1d039c['addClass']('ck-revision-history-root--active',_0x30571d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xd28903=>'revision-comment:'+_0xd28903,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2d516e=>'revision-suggestion:'+_0x2d516e,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x233ba5=>({'name':'suggestion:'+_0x233ba5,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xcfccce=>{const _0xe5f1d9=_0xcfccce['markerName']['split'](':')[0x1];return'insertion'!=_0xe5f1d9&&'deletion'!=_0xe5f1d9?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xe5f1d9]};}}),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',(_0x339e3e,_0x3acd4d,_0x1af080)=>{const _0x378339=_0x1af080['mapper']['markerNameToElements'](_0x3acd4d['markerName']);if(_0x378339){for(const _0x270c11 of _0x378339)_0x270c11['is']('uiElement')&&(_0x1af080['mapper']['unbindElementFromMarkerName'](_0x270c11,_0x3acd4d['markerName']),_0x1af080['writer']['remove'](_0x270c11));}},{'priority':'high'});}['_getChangeFromId'](_0x2fd1f2){return this['_changeIdToChange']['get'](_0x2fd1f2);}['_getViewForChange'](_0x137b1a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x137b1a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1ae56e,_0x28c886,_0x7f5846,_0x5a64d0)=>{_0x5a64d0&&this['_balloon']['remove'](_0x5a64d0),_0x7f5846&&(this['_balloon']['add']({'view':_0x7f5846,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x13a61d=this['editor']['editing'],_0x45d272=this['_getChangeFromId'](_0x7f5846['changeId']);let _0x3c04b5;if(_0x45d272['data']['isOnRoot']){const _0x4ddafd=_0x13a61d['view']['getDomRoot'](_0x45d272['rootName']);_0x3c04b5=Array['from'](_0x4ddafd['getClientRects']());}else{const _0x3bceb4=this['editor']['model']['markers']['get']('revision:'+_0x7f5846['changeId']);_0x3c04b5=Array['from'](_0x13a61d['mapper']['markerNameToElements'](_0x3bceb4['name']))['map'](_0xe6b8b7=>_0x13a61d['view']['domConverter']['mapViewToDom'](_0xe6b8b7))['map'](_0x2ed8c5=>Array['from'](_0x2ed8c5['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3c04b5[0x0];return _0x3c04b5['find'](_0x105d7e=>_0x105d7e['top']-0x3<=this['_activeViewTarget']['y']&&_0x105d7e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x105d7e['left']-0x3<=this['_activeViewTarget']['x']&&_0x105d7e['right']+0x3>=this['_activeViewTarget']['x'])||_0x3c04b5[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5a3fca,_0x2a4dca,_0x2e8fdd,_0x1f14c8)=>{this['activeView']=_0x2e8fdd?this['_getViewForChange'](_0x2e8fdd):null,this['editor']['model']['change'](()=>{const _0x2e73e6=this['editor']['editing'];_0x1f14c8&&(_0x1f14c8['data']['isOnRoot']?_0x2e73e6['view']['change'](_0x40a154=>{_0x40a154['removeClass']('ck-revision-history-root--active',_0x2e73e6['view']['document']['getRoot'](_0x1f14c8['rootName']));}):_0x2e73e6['reconvertMarker']('revision:'+_0x1f14c8['id'])),_0x2e8fdd&&(_0x2e8fdd['data']['isOnRoot']?_0x2e73e6['view']['change'](_0x549281=>{_0x549281['addClass']('ck-revision-history-root--active',_0x2e73e6['view']['document']['getRoot'](_0x2e8fdd['rootName']));}):_0x2e73e6['reconvertMarker']('revision:'+_0x2e8fdd['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x50d9c8,_0x28e820)=>{if(this['activeChange'])return;const _0x3ba053=this['_findChangeIdFromDomTarget'](_0x28e820['target']),_0x10ff75=this['_changeIdToChange']['get'](_0x3ba053);_0x10ff75?(this['_activeViewTarget']={'x':_0x28e820['domEvent']['x'],'y':_0x28e820['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x10ff75)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x10afac,_0xc0a974)=>{const _0x1fd126=this['_findChangeIdFromDomTarget'](_0xc0a974['target']),_0x596534=this['_changeIdToChange']['get'](_0x1fd126);_0x596534?(this['_activeViewTarget']={'x':_0xc0a974['domEvent']['x'],'y':_0xc0a974['domEvent']['y']},_0x596534===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x596534):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x12dfb4){do{const _0x44b754=_0x12dfb4['getAttribute']('data-change-id');if(_0x44b754)return _0x44b754;_0x12dfb4=_0x12dfb4['parent'];}while(_0x12dfb4);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4e6774=>{for(const _0x3e7d07 of this['editor']['model']['markers'])_0x4e6774['removeMarker'](_0x3e7d07);});}constructor(_0x3cee8a){super(_0x3cee8a),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',(_0x26956b,_0x4551fa,_0x4c33f5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x52a4de=>{for(const _0x264fec of this['editor']['editing']['view']['document']['roots'])_0x4c33f5?_0x52a4de['removeClass']('ck-editor__editable__overlay',_0x264fec):_0x52a4de['addClass']('ck-editor__editable__overlay',_0x264fec);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x393e3c=>null!==_0x393e3c),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x919cfd,_0x3682e9,_0x3448cf)=>_0x919cfd&&_0x3448cf?_0x3682e9['changes']['getIndex'](_0x3448cf):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1f6172,_0x266646)=>_0x1f6172?_0x266646['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x36a643);}}function et(_0x7c8a8f,_0x16dc5e){return(_0x46c7d9,_0x53f927,_0x4ac851)=>{if(!_0x4ac851['consumable']['test'](_0x53f927['markerRange'],_0x46c7d9['name']))return;const _0x405353=_0x53f927['markerRange']['getWalker'](),_0x132793=_0x53f927['markerRange']['start'],_0x55f7ad=_0x7c8a8f['model']['schema'];let _0x4ed508=null,_0x27c75a=null,_0x29ecbf=!0x1,_0x2ecbef=!0x1;for(const _0x193ec4 of _0x405353){const _0x14296b=_0x193ec4['item'];_0x29ecbf=_0x29ecbf||_0x55f7ad['isContent'](_0x14296b);const _0x3b8302=_0x4ac851['mapper']['toViewElement'](_0x14296b);if(_0x3b8302&&_0x3b8302['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x193ec4['type']&&(_0x55f7ad['isBlock'](_0x14296b)&&!_0x55f7ad['isLimit'](_0x14296b)&&(_0x14296b['nextSibling']||_0x132793['isAtEnd']?_0x4ed508&&_0x4ed508['parent']==_0x14296b||(_0x4ed508=_0x14296b,_0x1b8332(_0x193ec4['previousPosition']),_0x2ecbef=!0x0):_0x27c75a=_0x27c75a||_0x193ec4['previousPosition']));}function _0x1b8332(_0xe953fb){const _0xee5027=_0x4ac851['mapper']['toViewPosition'](_0xe953fb),_0x2d653a=_0x4ac851['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x16dc5e});_0x4ac851['writer']['insert'](_0xee5027,_0x2d653a),_0x4ac851['mapper']['bindElementToMarker'](_0x2d653a,_0x53f927['markerName']);}_0x29ecbf||_0x2ecbef||!_0x27c75a||_0x1b8332(_0x27c75a);};}class bt extends _0x16ab6a{['execute'](){const _0x355bc4=this['editor'],_0x37d619=_0x355bc4['plugins']['get'](d),_0x1f19b7=_0x37d619['isReady']?_0x37d619['diff']['newRevisionId']:null;_0x355bc4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1f19b7);}['refresh'](){const {isReady:_0x13e038,isEnabled:_0x44b3a7}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x13e038&&_0x44b3a7;}constructor(_0x469afe){super(_0x469afe);const _0x50177a=_0x469afe['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x50177a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x50177a,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x16ab6a{['execute'](){const _0x57cf36=this['editor'],_0x559df9=_0x57cf36['plugins']['get'](d),{isNavigationMode:_0x3d5fdd,currentChangeNumber:_0x453d25}=_0x559df9;let _0x5dd446;if(_0x559df9['activeChange']=_0x3d5fdd?_0x559df9['diff']['changes']['get'](_0x453d25+this['_step']):_0x559df9['diff']['changes']['first'],_0x559df9['activeChange']['data']['isOnRoot'])_0x5dd446=_0x57cf36['editing']['view']['getDomRoot'](_0x559df9['activeChange']['rootName']);else{const _0x3039d5=_0x57cf36['model']['markers']['get']('revision:'+_0x559df9['activeChange']['id']);_0x5dd446=_0x14ac89(_0x57cf36['editing'],_0x3039d5);}_0xfea5e5({'target':_0x5dd446,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2b4214,currentChangeNumber:_0x30d561,numberOfChanges:_0x564b96,isReady:_0x4a4d41,isEnabled:_0x1dac21}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1dac21&&_0x4a4d41&&_0x564b96)&&(!_0x2b4214||(0x1===this['_step']?_0x30d561<_0x564b96-0x1:_0x30d561>0x0));}constructor(_0x157804,{direction:_0x5e2f6d}){super(_0x157804);const _0x468995=_0x157804['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5e2f6d?0x1:-0x1,this['listenTo'](_0x468995,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x468995,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x468995,'change:activeChange',()=>this['refresh']());}}class _i extends _0x25e10f{constructor(_0x49047b){super(_0x49047b);const _0x2527e7=this['bindTemplate'],_0x88eb8d=new _0x52ff8c(_0x49047b),_0xc018fa=new _0x52ff8c(_0x49047b);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',(_0x66c194,_0x16778b)=>_0x66c194&&_0x16778b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xf2661a,_0x29761e,_0x18b448,_0x3c5fcb)=>{if(!_0xf2661a)return y(_0x49047b,'Loading...');if(!_0x18b448)return y(_0x49047b,'No\x20changes');const _0x528d50=y(_0x49047b,'NUMBER_OF_CHANGES',_0x18b448);return _0x3c5fcb?y(_0x49047b,'X_OF_Y_CHANGES',[_0x29761e+0x1,_0x18b448]):_0x528d50;}),_0x88eb8d['set']({'label':y(_0x49047b,'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'}),_0xc018fa['set']({'label':y(_0x49047b,'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'}),_0x88eb8d['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xc018fa['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x88eb8d['on']('execute',()=>this['fire']('execute','backward')),_0xc018fa['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',_0x2527e7['if']('_isStatusLabelVisible','ck-hidden',_0xfd48c0=>!_0xfd48c0)]},'children':[{'text':_0x2527e7['to']('isNavigationMode',_0x3d77dc=>_0x3d77dc?y(_0x49047b,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x49047b,'Total')+':\x20')}]},{'text':_0x2527e7['to']('_statusText')}]},new _0xcc8c62(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x88eb8d,_0xc018fa]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3cba77{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4a422b=this['editor']['editing']['view'];_0x4a422b['change'](_0x1dab2e=>{for(const _0x2a1414 of _0x4a422b['document']['roots'])_0x1dab2e['addClass'](ce,_0x2a1414);});}['hide'](){const _0x59c6be=this['editor']['editing']['view'];_0x59c6be['change'](_0x203d6e=>{for(const _0x443bef of _0x59c6be['document']['roots'])_0x203d6e['removeClass'](ce,_0x443bef);});}}class R extends _0x3cba77{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4274cc=this['editor'],_0x58bfd6=_0x4274cc['plugins']['get'](d),_0x3ecefe=_0x4274cc['plugins']['get'](de);_0x4274cc['ui']['componentFactory']['add']('exitToEditing',_0x3f3df5=>{const _0x46adcc=new _0x52ff8c(_0x3f3df5);return _0x46adcc['set']({'label':y(_0x3f3df5,'Back\x20to\x20editing'),'icon':_0x34f6da['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x46adcc,'execute',()=>{_0x4274cc['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x46adcc;}),_0x4274cc['ui']['componentFactory']['add']('restoreRevision',_0x3294d0=>{const _0x2788a5=new _0x52ff8c(_0x3294d0);return _0x2788a5['set']({'label':y(_0x3294d0,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2788a5['bind']('isEnabled')['to'](_0x4274cc['commands']['get']('restoreRevision')),this['listenTo'](_0x2788a5,'execute',()=>_0x4274cc['execute']('restoreRevision')),_0x2788a5;}),_0x4274cc['ui']['componentFactory']['add']('changesNavigation',_0x1a901e=>{const _0x531b35=new _i(_0x1a901e),_0xc36f55=_0x4274cc['commands']['get']('showPreviousChange'),_0x53bdb8=_0x4274cc['commands']['get']('showNextChange');return _0x531b35['bind']('isBackwardNavigationEnabled')['to'](_0xc36f55,'isEnabled'),_0x531b35['bind']('isForwardNavigationEnabled')['to'](_0x53bdb8,'isEnabled'),_0x531b35['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x58bfd6),this['listenTo'](_0x531b35,'execute',(_0x3d2814,_0x118917)=>{_0x4274cc['execute']('forward'===_0x118917?'showNextChange':'showPreviousChange');}),_0x531b35;}),_0x3ecefe['show'](),_0x58bfd6['on']('change:isReady',(_0x487656,_0x1e6491,_0x7560ce)=>{_0x7560ce?_0x3ecefe['hide']():_0x3ecefe['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 _0x1bdc43=this['fieldView']['element'];this['_tooltipString']=_0x1bdc43['scrollWidth']>_0x1bdc43['clientWidth']&&_0x1bdc43['value']||'';}constructor(_0x45bfb7,_0x29aae4){super(_0x45bfb7,_0x29aae4),this['_resizeObserver']=null;const _0xb13a7e=this['bindTemplate'];this['set']({'label':y(_0x45bfb7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x45bfb7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xb13a7e['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x25e10f{constructor(_0x400cf5,_0x2a2040,_0x47520a){super(_0x400cf5);const _0x29e95d=new _0x19a377();_0x29e95d['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 _0x53657d=['ck','ck-revision-history-sidebar__revision-author'];_0x47520a&&_0x53657d['push']('ck-revision-history-sidebar__revision-author_creator');const _0x39861e=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x400cf5,_0x47520a?'Revision\x20creator':'Revision\x20author')},'children':[_0x29e95d,_0x2a2040['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x53657d},'children':_0x39861e});}}function ni(_0x7fec56,_0x761c3){const _0x2fb676=_0x7fec56['bindTemplate'],_0x4ed2ea=_0x7fec56['locale'],_0x11c33e=_0xd03f3(_0x4ed2ea);_0x11c33e['panelPosition']='sw';const _0x1bb312=function(_0x18a917,_0x2d5a71){const _0x36d38d=function(_0x59b7b4,_0x102552){const _0x5330ea=_0x59b7b4['locale'],_0x28cde4={'Compare\x20against\x20selected':y(_0x5330ea,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5330ea,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5330ea,'Restore\x20this\x20revision')};return _0x102552['map'](_0xf3ff03=>{const _0x12d611=_0x28cde4[_0xf3ff03['name']];return _0x12d611&&_0x12d611!==_0xf3ff03['name']&&(_0xf3ff03['name']=_0x12d611),_0xf3ff03;});}(_0x18a917,_0x2d5a71),_0x4c35f7=new _0x1963b1();for(const _0x543457 of _0x36d38d){const _0x527c89={'type':'button','model':new to({'label':_0x543457['name'],'class':_0x543457['class'],'withText':!0x0,'_action':_0x543457['action']})};_0x527c89['model']['bind']('isEnabled')['to'](_0x18a917,'isActionsDropdownOpen',_0x5e30d8=>'function'!=typeof _0x543457['isEnabled']||(!_0x5e30d8||_0x543457['isEnabled'](_0x18a917))),_0x4c35f7['add'](_0x527c89);}return _0x4c35f7;}(_0x7fec56,_0x761c3);return _0x7fec56['bind']('isActionsDropdownOpen')['to'](_0x11c33e,'isOpen'),_0x11c33e['buttonView']['set']({'label':y(_0x4ed2ea,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x34f6da['threeVerticalDots']}),_0x11c33e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2fb676['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2fb676['to'](_0x163f00=>_0x163f00['stopPropagation']())}}),_0x11c33e['on']('execute',_0x3b14e3=>{_0x7fec56['isReady']&&'function'==typeof _0x3b14e3['source']['_action']&&_0x3b14e3['source']['_action'](_0x7fec56);}),_0x3bb91b(_0x11c33e,_0x1bb312),_0x11c33e['listenTo'](_0x7fec56,'change:isActionsDropdownOpen',(_0x480ccc,_0x51ff79,_0x4e89f2)=>{if(_0x4e89f2)for(const _0x447cdd of _0x11c33e['listView']['items']){const _0x554a12=_0x447cdd['children']['first'],_0x2e74ad=_0x761c3['find'](_0x4f93de=>_0x4f93de['action']===_0x554a12['_action'])['isVisible'];_0x447cdd['isVisible']=void 0x0===_0x2e74ad||_0x2e74ad(_0x7fec56);}}),_0x11c33e;}class ai extends _0x4fe042(_0x25e10f){['render'](){super['render']();const _0x54e305=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x54e305,'change',()=>{this['_requireRevisionName']&&!_0x54e305['value']||this['fire']('setName',{'id':this['id'],'name':_0x54e305['value']}),_0x54e305['value']||(_0x54e305['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x39ffaf,_0x4ca350,_0x2a9660,_0x55a16b){super(_0x39ffaf);const _0x3db580=this['bindTemplate'],_0x3454f5=function(_0x2a4cbe,_0x613395){const _0x13a6f3=Array['from'](_0x613395['authors'])['filter'](_0x3346c8=>_0x3346c8!=_0x613395['creator']);return _0x613395['creator']&&_0x13a6f3['unshift'](_0x613395['creator']),_0x13a6f3['map'](_0x5b401a=>new ti(_0x2a4cbe,_0x5b401a,_0x5b401a==_0x613395['creator']));}(_0x39ffaf,_0x4ca350);this['id']=_0x4ca350['id'],this['_revision']=_0x4ca350,this['_requireRevisionName']=_0x55a16b,this['bind']('name','createdAt')['to'](_0x4ca350),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x374bee=>{return _0xbf9ba8=_0x39ffaf['uiLanguage'],(_0x1bfe4f=_0x374bee)['toLocaleDateString'](_0xbf9ba8,{'month':'long','day':'numeric'})+',\x20'+_0x1bfe4f['toLocaleTimeString'](_0xbf9ba8,{'hour':'numeric','minute':'numeric'});var _0xbf9ba8,_0x1bfe4f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x39ffaf,_0x4ee123),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5b56ea=>_0x5b56ea||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xe842aa,_0x38ee11)=>_0xe842aa&&_0x38ee11),this['revisionActionsView']=_0x2a9660&&_0x2a9660['length']?ni(this,_0x2a9660):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3db580['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3db580['if']('isEnabled','ck-disabled',_0x2d170c=>!_0x2d170c),_0x3db580['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3db580['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3db580['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':_0x3db580['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':_0x3454f5}]},this['revisionActionsView']],'on':{'click':_0x3db580['to'](_0xdbb137=>{_0xdbb137['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x46a5fe,_0x2101df){const _0x36c898=_0x47c8fd['fromJSDate'](_0x46a5fe)['setLocale'](_0x2101df),_0x5435f4=_0x47c8fd['local'](),_0x40bf90=_0x5435f4['minus']({'days':0x1})['startOf']('day');let _0x23e097,_0x5bbf1e;return _0x36c898['hasSame'](_0x5435f4,'day')?(_0x23e097=_0x36c898['startOf']('day')['toJSDate'](),_0x5bbf1e=_0x36c898['toRelativeCalendar']()):_0x36c898['hasSame'](_0x40bf90,'day')?(_0x23e097=_0x40bf90['toJSDate'](),_0x5bbf1e=_0x36c898['toRelativeCalendar']()):_0x36c898['hasSame'](_0x5435f4,'week')?(_0x23e097=_0x36c898['startOf']('week')['toJSDate'](),_0x5bbf1e=_0x36c898['weekdayLong']||''):_0x36c898['hasSame'](_0x5435f4,'year')?(_0x23e097=_0x36c898['startOf']('month')['toJSDate'](),_0x5bbf1e=_0x36c898['monthLong']||''):(_0x23e097=_0x36c898['startOf']('year')['toJSDate'](),_0x5bbf1e=String(_0x36c898['year'])),{'startDate':_0x23e097,'localizedPeriodName':_0x5bbf1e};}class mi extends _0x25e10f{['addRevision'](_0x598504){const _0x30cca5=new ai(this['locale'],_0x598504,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x30cca5);}['removeRevision'](_0x2c5a95){const _0x543785=this['revisionViews']['find'](_0x25129d=>_0x25129d['id']===_0x2c5a95['id']);this['revisionViews']['remove'](_0x543785);}constructor(_0x2af2a0,_0x850d04,_0x28ec1f,_0x58c0cf){super(_0x2af2a0);const _0x47fc0c=di(_0x850d04,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x850d04,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x28ec1f,this['_requireRevisionName']=_0x58c0cf,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':_0x47fc0c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x25e10f{constructor(_0x35efa5){super(_0x35efa5);const _0x5163bd=new _0x19a377();_0x5163bd['content']=_0x34f6da['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5163bd,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x35efa5,'Revision\x20history')]}]});}}class ci extends _0x25e10f{['render'](){super['render']();for(const _0x3509c3 of this['_revisions'])this['_addRevision'](_0x3509c3);this['_revisions']['on']('add',(_0x5d37e5,_0x1e7e25)=>{this['_addRevision'](_0x1e7e25);}),this['_revisions']['on']('remove',(_0x567adf,_0x1ceacd)=>{this['_removeRevision'](_0x1ceacd);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2d06b1=>_0x2d06b1['revisionViews']['map'](_0x180bde=>_0x180bde))['flat']();}['selectRevision'](_0x1b129d){for(const _0x511692 of this['revisionViews'])_0x1b129d&&_0x1b129d['id']===_0x511692['id']?_0x511692['select']():_0x511692['deselect']();}['highlightRevisions'](_0x28c126){for(const _0x323996 of this['revisionViews'])_0x28c126['some'](({id:_0x334980})=>_0x334980===_0x323996['id'])?_0x323996['highlight']():_0x323996['unhighlight']();}['_addRevision'](_0xb4eae0){const _0x4fe6df=di(_0xb4eae0['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x36a4b1=this['timePeriodViews']['get'](0x0);_0x36a4b1&&_0x36a4b1['startDate']['getTime']()===_0x4fe6df['getTime']()||(_0x36a4b1=new mi(this['locale'],_0x4fe6df,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x36a4b1)),_0x36a4b1['addRevision'](_0xb4eae0);}['_removeRevision'](_0x1c388e){const _0x4fc4d5=di(_0x1c388e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4fc4d5)['removeRevision'](_0x1c388e);}['_getTimePeriodViewByStartDate'](_0x32a1dd){return this['timePeriodViews']['find'](_0x3a0726=>_0x3a0726['startDate']['getTime']()===_0x32a1dd['getTime']());}constructor(_0x5750c3,_0x43105c,_0xc00174,_0x2af752){super(_0x5750c3);const _0x5c79c5=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x43105c,this['_revisionActions']=_0xc00174,this['_requireRevisionName']=_0x2af752,this['on']('select',(_0x3bfa90,_0x1e7ae3)=>{this['fire']('revisionSelected',_0x1e7ae3);}),this['on']('setName',(_0x2c637d,_0x426dfb)=>{this['fire']('revisionSetName',_0x426dfb);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5750c3),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5c79c5['if']('isEnabled','ck-disabled',_0x173538=>!_0x173538)]},'children':this['timePeriodViews']}]});}}class w extends _0x3cba77{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x48d7e6=this['_revisionsRepository']['_revisions'],_0x13a229=this['_createRevisionActions'](),_0x351b68=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x48d7e6,_0x13a229,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',(_0x4decde,_0x3fe133)=>{_0x3fe133['revisionViews']['on']('add',(_0x3790d3,_0x4b555d)=>{_0x4b555d['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)),_0x351b68['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5aa330=this['_revisionsRepository']['getRevision'](0x0);if(_0x5aa330){const _0x5056f2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5aa330['id']);this['_revisionViewer']['compare'](_0x5aa330,_0x5056f2);}}['_handleRevisionSelected'](_0x47bb25,_0x2aa176){const _0x3774cb=this['_revisionsRepository']['getRevision'](_0x2aa176['id']),_0x2b0be6=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3774cb['id']);this['_revisionViewer']['compare'](_0x3774cb,_0x2b0be6);}['_handleRevisionSetName'](_0x3cdcb7,_0x2c7033){this['_revisionsRepository']['getRevision'](_0x2c7033['id'])['setName'](_0x2c7033['name']);}['_handleDiffChange'](_0x5495fb,_0x3cd9aa,_0x17c258){const _0x28fdda=this['_revisionsRepository']['getRevisionsInDiff'](_0x17c258);_0x28fdda['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x28fdda),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x28fdda[0x0]));}['_createRevisionActions'](){const _0x1ccd83=this['editor'],_0x5e94ad=w['availableRevisionActions'],_0x24d110=_0x1ccd83['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x24d110['length'])return _0x24d110['map'](_0x59fade=>{const _0x301871='string'==typeof _0x59fade?Object['assign']({},_0x5e94ad[_0x59fade]):_0x59fade;return _0x301871['action']=_0x301871['action']['bind'](this,_0x1ccd83),_0x301871['isVisible']&&(_0x301871['isVisible']=_0x301871['isVisible']['bind'](this,_0x1ccd83)),_0x301871;});}constructor(_0x52a7c7){super(_0x52a7c7),this['_revisionViewer']=_0x52a7c7['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x6ba73d},_0x4b7e05)=>{const _0x5940d3=_0x6ba73d['get'](d),_0x5b2ac9=_0x5940d3['repository'];let _0x5ed08b=_0x5940d3['diff']['newRevisionId'],_0x16a236=_0x4b7e05['id'];_0x5b2ac9['getIndex'](_0x5ed08b)>_0x5b2ac9['getIndex'](_0x16a236)&&([_0x5ed08b,_0x16a236]=[_0x16a236,_0x5ed08b]),_0x5940d3['compare'](_0x5ed08b,_0x16a236);},'isVisible':({plugins:_0x543c75},_0x126725)=>{const _0x528122=_0x543c75['get'](d);return!(_0x528122['repository']['getRevisionsInDiff'](_0x528122['diff'])['length']>0x2)&&!_0x126725['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x121e88,{id:_0x47c0c5})=>{_0x121e88['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x47c0c5);},'isVisible':({plugins:_0x47477e},_0x79920f)=>!!_0x47477e['get'](d)['repository']['getLaterVisibleRevision'](_0x79920f['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xe37fc7},{id:_0x57a7c9,revisionNameView:_0x4286d8})=>{const _0x40c067=_0xe37fc7['get'](d),_0x58df85=_0x40c067['repository']['getEarlierVisibleRevision'](_0x57a7c9);_0x40c067['compare'](_0x57a7c9,_0x58df85),_0x4286d8['focus'](),_0x4286d8['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x33af4b){const _0x2a5421=this['editor'],_0x5cfc8e=this['view'],_0x16a694=_0x2a5421['editing']['view'],_0x41f9bc=_0x5cfc8e['editable'],_0x1839cf=_0x16a694['document']['getRoot']();_0x41f9bc['name']=_0x1839cf['rootName'],_0x5cfc8e['render']();const _0x4cf0f3=_0x41f9bc['element'];this['setEditableElement'](_0x41f9bc['name'],_0x4cf0f3),_0x5cfc8e['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x16a694['attachDomRoot'](_0x4cf0f3),this['_elementReplacer']['replace'](_0x33af4b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3adb50=this['view'],_0x5b8b87=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5b8b87['detachDomRoot'](_0x3adb50['editable']['name']),_0x3adb50['destroy']();}['_initToolbar'](){const _0xa78711=this['view'];_0xa78711['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xa78711['stickyPanel']['limiterElement']=_0xa78711['element'],_0xa78711['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5278c2})=>_0x5278c2),_0xa78711['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xa78711['toolbar']);}constructor(_0x4ea461,_0xb5fca2){super(_0x4ea461),this['_view']=_0xb5fca2,this['_toolbarConfig']=ct(_0x4ea461['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(_0x3eccb8,_0x5a2edc,_0x4c4d1e={}){super(_0x3eccb8),this['stickyPanel']=new lt(_0x3eccb8),this['toolbar']=new pt(_0x3eccb8,{'shouldGroupWhenFull':_0x4c4d1e['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3eccb8,_0x5a2edc);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3d8194,_0x46b5d0){const _0x18776a=new this(_0x3d8194,_0x46b5d0);return await _0x18776a['initPlugins'](),await _0x18776a['ui']['init'](_0x3d8194),await _0x18776a['data']['init'](_0x18776a['config']['get']('initialData')||''),_0x18776a['fire']('ready'),_0x18776a;}constructor(_0x378ada,_0x8c5ceb){super(_0x8c5ceb),this['sourceElement']=_0x378ada,this['model']['document']['createRoot']();const _0x1cc526=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x1cc526);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3cba77{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x412709){super(_0x412709),this['result']='end';}}class H extends _0x3cba77{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x1308c5){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1308c5;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5832c1){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5832c1);}['getRevision'](_0x15f52a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x15f52a);}['getRevisions'](_0x12b0bd={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x12b0bd);}['_getRevisionViewerEditorConfig'](){const _0x4f32a2=this['editor'],_0x18f32f=_0x38ca47(_0x4f32a2,g),_0x4acfc3=_0x4f32a2['plugins']['get']('RevisionTracker'),_0x23e654=_0x4f32a2['plugins']['get']('Users')['users'];return _0x18f32f['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x18f32f['lazyRoots'],(_0x18f32f['plugins']['push'](k,d,R,class extends _0x3cba77{static get['requires'](){return[d,'Users'];}['init'](){const _0x278310=this['editor']['plugins']['get']('Users');for(const _0xf2aaab of _0x23e654)_0xf2aaab['isAnonymous']||_0x278310['getUser'](_0xf2aaab['id'])||_0x278310['addUser'](_0xf2aaab);const _0x3b7395=_0x4acfc3['repository']['getRevisions']();let _0x1dff02=null;const _0x15537e=this['editor']['plugins']['get']('RevisionViewer');_0x15537e['adapter']=_0x4acfc3['adapter'],_0x15537e['bind']('isEnabled')['to'](_0x4acfc3),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4f32a2,'isReadOnly',_0x4a238f=>!_0x4a238f);for(const _0x4e0c61 of _0x3b7395){const _0x223c6d=null===_0x4e0c61['creator'];if(_0x223c6d&&_0x4e0c61['toVersion']===_0x4e0c61['fromVersion'])continue;const _0x3b13bb=_0x4e0c61['toJSON']();_0x15537e['addRevisionData'](_0x3b13bb,(_0x185e92,_0xfa6f6f,_0x3dd1d7)=>{if(_0x223c6d){if(_0x1dff02)_0x1dff02['_update'](_0x185e92,_0xfa6f6f);else{if(!_0xfa6f6f){const _0x3121a5=_0x3dd1d7['toJSON']();_0x3121a5['id']=_0x5b1dca(),_0x4acfc3['saveRevision'](_0x3121a5,_0x3dd1d7['toVersion'])['then'](_0x3ed9c4=>{_0x1dff02=_0x3ed9c4;});}}}else _0x4e0c61['_update'](_0x185e92,_0xfa6f6f);});}}},w),_0x18f32f);}['_enhanceShowRevisionViewerCallback'](){const _0x5dccb6=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x89d8e=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0xd3100c=this['editor']['plugins']['get']('Autosave');await _0xd3100c['save']();}else await _0x89d8e['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0xcd271d=this['_getRevisionViewerEditorConfig']();return _0x5dccb6(_0xcd271d)['then'](_0x301e0c=>{return(this['_viewerEditor']=_0x301e0c,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x301e0c;})['catch'](_0x227b01=>(console['error'](_0x227b01),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x251f62=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'](),_0x251f62(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2e7e7b=this['editor']['plugins']['get']('Annotations');_0x2e7e7b['refreshVisibility'](),_0x2e7e7b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x40317c){const _0x328c86=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x174d23=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x11bb1c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x11bb1c,_0x40317c)['then'](_0x555ca4=>(_0x174d23['style']['display']='block',_0x328c86['style']['display']='none',_0x555ca4));}['_closeRevisionViewer'](_0x258c96){const _0x5b8e84=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5b8e84['style']['display']='',_0x258c96['destroy']();}async['_restoreRevision'](_0x30fa81){const _0x2cfd30=this['editor'],_0x4a3f99=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x47ddd2=_0x2cfd30['plugins']['get']('RevisionTracker'),_0x4c0876=_0x4a3f99['repository']['getRevision'](_0x30fa81);let _0x2b6070,_0x5c41a1,_0xecfd61;try{_0x2b6070=await _0x4a3f99['getRevisionData'](_0x4c0876),_0x5c41a1=await _0x4a3f99['getRevisionRootsAttributes'](_0x4c0876);}catch(_0x3e44f5){return void console['error'](_0x3e44f5);}_0x2cfd30['model']['change'](_0x3fe43b=>{for(const _0x1754ad of Array['from'](_0x2cfd30['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3fe43b['removeMarker'](_0x1754ad);}),_0x4a3f99['isReady']=!0x1,_0x2cfd30['model']['enqueueChange'](_0x44f5b5=>{_0x44f5b5['setSelection'](null),_0x44f5b5['removeSelectionAttribute'](_0x2cfd30['model']['document']['selection']['getAttributeKeys']());const _0x4f8117=Object['keys'](_0x2b6070);for(const _0x1171fc of _0x2cfd30['model']['document']['roots'])'$graveyard'!=_0x1171fc['rootName']&&_0x1171fc['isAttached']()&&!_0x4f8117['includes'](_0x1171fc['rootName'])&&_0x44f5b5['detachRoot'](_0x1171fc);for(const _0x25df5f of _0x4f8117){let _0x1d3faf=_0x2cfd30['model']['document']['getRoot'](_0x25df5f);_0x1d3faf&&_0x1d3faf['isAttached']()||(_0x1d3faf=_0x44f5b5['addRoot'](_0x25df5f));const _0x4c984c=_0x5c41a1[_0x25df5f],_0x5a6ff2=Object['keys'](_0x4c984c),_0xeca547=_0x2b6070[_0x25df5f];for(const _0x19fd14 of _0x1d3faf['getAttributeKeys']())_0x5a6ff2['includes'](_0x19fd14)||_0x44f5b5['removeAttribute'](_0x19fd14,_0x1d3faf);for(const _0x20afc6 of _0x5a6ff2)_0x44f5b5['setAttribute'](_0x20afc6,_0x5c41a1[_0x25df5f][_0x20afc6],_0x1d3faf);_0x44f5b5['remove'](_0x44f5b5['createRangeIn'](_0x1d3faf)),_0x44f5b5['insert'](_0x2cfd30['data']['parse'](_0xeca547,_0x1d3faf),_0x1d3faf,0x0);}});const _0x453228=y(_0x2cfd30['locale'],'Restored');if(_0x4c0876['name'])_0xecfd61=-0x1==_0x4c0876['name']['indexOf'](_0x453228)?_0x453228+':\x20'+_0x4c0876['name']:_0x4c0876['name'];else _0xecfd61=_0x453228+':\x20'+(_0x4c0876['createdAt']['toLocaleDateString'](_0x2cfd30['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4c0876['createdAt']['toLocaleTimeString'](_0x2cfd30['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x47ddd2['saveRevision']({'name':_0xecfd61}),_0x4a3f99['isReady']=!0x0,_0x2cfd30['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x4bf8dc){if(super(_0x4bf8dc),!this['editor']['config']['get']('revisionHistory'))throw new _0x7afc7a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x22bca0=>this['_showRevisionViewer']({..._0x22bca0,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2c5b9a=>this['_closeRevisionViewer'](_0x2c5b9a)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1e0161=>this['_restoreRevision'](_0x1e0161)),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 _0x391dad,Context as _0x5f6833,PendingActions as _0x3e06cf,icons as _0xb894cb,Command as _0x40d611,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x948c8f,uid as _0x424868,Collection as _0x232aea,logWarning as _0x421013,FocusTracker as _0x10cf41,KeystrokeHandler as _0x392cb1,scrollViewportToShowTarget as _0x225040,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x1920d1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x3772ba,getMarkerDomElement as _0x29e894,ConfirmMixin as _0xdc7303,sanitizeEditorConfig as _0x5f188c}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4e4a96,ViewText as _0x2cb072,ViewElement as _0x42f6fa,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x2b4473,ViewAttributeElement as _0x3350fa,ViewEmptyElement as _0xb85a1d,ViewRawElement as _0x1b0670,ViewUIElement as _0x4155ff,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x342b34,set as _0x5f572f,unset as _0x4bde91,isEqual as _0x11c230}from'lodash-es';import{View as _0x237d8f,submitHandler as _0x14b1e6,LabeledFieldView as mt,createLabeledInputText as _0x441018,injectCssTransitionDisabler as ts,createDropdown as _0x26ee4c,ListView as te,ListItemView as _0x5e2075,ButtonView as _0x1c1d45,MenuBarMenuView as _0x1a3c76,MenuBarMenuListView as _0x185b1e,MenuBarMenuListItemView as _0x14a5a5,MenuBarMenuListItemButtonView as _0x239e69,ContextualBalloon as _0x9fab02,ToolbarSeparatorView as _0x3cfbc5,IconView as _0x1b2bb4,addListToDropdown as _0x28e063,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 _0x9d72bb}from'luxon';class a extends _0x948c8f(){['setName'](_0x27f474){this['_update']({'name':_0x27f474});}['setAttribute'](_0x51784f,_0x6ce2c2){const _0x1da094=_0x342b34(this['attributes']);_0x5f572f(_0x1da094,_0x51784f,_0x6ce2c2),this['_update']({'attributes':_0x1da094});}['removeAttribute'](_0x1e0240){const _0x36c5e9=_0x342b34(this['attributes']);_0x4bde91(_0x36c5e9,_0x1e0240),this['_update']({'attributes':_0x36c5e9});}['_update'](_0x236ddf,_0x2b415f=!0x1){let _0x26ab71=!0x1;const _0x166f36={'id':this['id']},_0x33645d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5008b5 of _0x33645d){const _0x31cbad=_0x236ddf[_0x5008b5];void 0x0!==_0x31cbad&&_0x31cbad!==this[_0x5008b5]&&(this[_0x5008b5]=_0x31cbad,_0x166f36[_0x5008b5]=_0x31cbad,_0x26ab71=!0x0);}_0x26ab71&&(_0x166f36['authors']&&(_0x166f36['authorsIds']=_0x166f36['authors']['map'](_0x9cf621=>_0x9cf621['id']),delete _0x166f36['authors']),this['fire']('_update',_0x166f36,_0x2b415f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x484f66=>_0x484f66['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x97a84f){super(),this['id']=_0x97a84f['id']||_0x424868(),this['creator']=_0x97a84f['creator']||null,this['authors']=_0x97a84f['authors']||[],this['diffData']=_0x97a84f['diffData']||null,this['toVersion']=_0x97a84f['toVersion']||0x0,this['fromVersion']=_0x97a84f['fromVersion']||0x0,this['set']('name',_0x97a84f['name']||''),this['set']('createdAt',_0x97a84f['createdAt']||new Date()),this['set']('attributes',_0x97a84f['attributes']||{});}}class A extends _0x391dad{static get['requires'](){return[_0x3772ba];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x1ea0a3){function _0x5b14a9(_0x3f9522,_0x5a3f93,_0x4ec4b0){const _0x14d0a0={};_0x14d0a0[_0x3c793e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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],_0x14d0a0[_0x3c793e([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 _0x5c02e2=new Uint8Array(0x10);for(let _0x25aec3=0xf;_0x25aec3>=0x0;--_0x25aec3)_0x5c02e2[_0x25aec3]=_0x4ec4b0%0x100,_0x4ec4b0=parseInt(_0x4ec4b0/0x100);let _0x1b6ef7=null,_0x5261c0=0x10;const _0x37bb23=new Uint8Array(_0x5a3f93),_0xbd66c8=[],_0x1cd03b=[];_0x3fe821();for(let _0x38664b=0x0;_0x38664b<_0x3f9522[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38664b++)0x10===_0x5261c0&&(_0x1b6ef7=_0x4d3fdb(_0x5c02e2),_0x5261c0=0x0,_0x5987b2(_0x5c02e2)),_0x3f9522[_0x38664b]^=_0x1b6ef7[_0x5261c0++];return _0x3f9522;function _0x628569(_0xf72ce5){const _0x1a7a88=[];for(let _0x7e0e0d=0x0;_0x7e0e0d<_0xf72ce5[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7e0e0d+=0x4)_0x1a7a88[_0x3c793e([0x70,0x75,0x73,0x68])](_0xf72ce5[_0x7e0e0d]<<0x18|_0xf72ce5[_0x7e0e0d+0x1]<<0x10|_0xf72ce5[_0x7e0e0d+0x2]<<0x8|_0xf72ce5[_0x7e0e0d+0x3]);return _0x1a7a88;}function _0x5987b2(_0x59273d){for(let _0x514104=0xf;_0x514104>=0x0;_0x514104--){if(0xff!==_0x59273d[_0x514104]){_0x59273d[_0x514104]++;break;}_0x59273d[_0x514104]=0x0;}}function _0x4d3fdb(_0x57a058){const _0x87c71e=_0xbd66c8[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5e9854=[0x0,0x0,0x0,0x0];let t=_0x628569(_0x57a058);for(let _0x4beffe=0x0;_0x4beffe<0x4;_0x4beffe++)t[_0x4beffe]^=_0xbd66c8[0x0][_0x4beffe];for(let _0x45e3eb=0x1;_0x45e3eb<_0x87c71e;_0x45e3eb++){for(let _0x5cd77f=0x0;_0x5cd77f<0x4;_0x5cd77f++)_0x5e9854[_0x5cd77f]=_0x14d0a0[_0x3c793e([0x54,0x31])][t[_0x5cd77f]>>0x18&0xff]^_0x14d0a0[_0x3c793e([0x54,0x32])][t[(_0x5cd77f+0x1)%0x4]>>0x10&0xff]^_0x14d0a0[_0x3c793e([0x54,0x33])][t[(_0x5cd77f+0x2)%0x4]>>0x8&0xff]^_0x14d0a0[_0x3c793e([0x54,0x34])][0xff&t[(_0x5cd77f+0x3)%0x4]]^_0xbd66c8[_0x45e3eb][_0x5cd77f];t=_0x5e9854[_0x3c793e([0x73,0x6c,0x69,0x63,0x65])]();}const _0x46f147=new Uint8Array(0x10);let _0x34d2bd;for(let _0x363742=0x0;_0x363742<0x4;_0x363742++)_0x34d2bd=_0xbd66c8[_0x87c71e][_0x363742],_0x46f147[0x4*_0x363742]=0xff&(_0x14d0a0[_0x3c793e([0x53])][t[_0x363742]>>0x18&0xff]^_0x34d2bd>>0x18),_0x46f147[0x4*_0x363742+0x1]=0xff&(_0x14d0a0[_0x3c793e([0x53])][t[(_0x363742+0x1)%0x4]>>0x10&0xff]^_0x34d2bd>>0x10),_0x46f147[0x4*_0x363742+0x2]=0xff&(_0x14d0a0[_0x3c793e([0x53])][t[(_0x363742+0x2)%0x4]>>0x8&0xff]^_0x34d2bd>>0x8),_0x46f147[0x4*_0x363742+0x3]=0xff&(_0x14d0a0[_0x3c793e([0x53])][0xff&t[(_0x363742+0x3)%0x4]]^_0x34d2bd);return _0x46f147;}function _0x3fe821(){const _0x2bfbfc=_0x14d0a0[_0x3c793e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x37bb23[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2dac0d=0x0;_0x2dac0d<=_0x2bfbfc;_0x2dac0d++)_0xbd66c8[_0x3c793e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1cd03b[_0x3c793e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xfcb6ad=0x4*(_0x2bfbfc+0x1),_0x10111b=_0x37bb23[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2dbc01=_0x628569(_0x37bb23);let _0xf8f7ef;for(let _0x3858f6=0x0;_0x3858f6<_0x10111b;_0x3858f6++)_0xf8f7ef=_0x3858f6>>0x2,_0xbd66c8[_0xf8f7ef][_0x3858f6%0x4]=_0x2dbc01[_0x3858f6],_0x1cd03b[_0x2bfbfc-_0xf8f7ef][_0x3858f6%0x4]=_0x2dbc01[_0x3858f6];let _0x4f56b9,_0x4f1629=0x0,t=_0x10111b;for(;t<_0xfcb6ad;){_0x4f56b9=_0x2dbc01[_0x10111b-0x1],_0x2dbc01[0x0]^=_0x14d0a0[_0x3c793e([0x53])][_0x4f56b9>>0x10&0xff]<<0x18^_0x14d0a0[_0x3c793e([0x53])][_0x4f56b9>>0x8&0xff]<<0x10^_0x14d0a0[_0x3c793e([0x53])][0xff&_0x4f56b9]<<0x8^_0x14d0a0[_0x3c793e([0x53])][_0x4f56b9>>0x18&0xff]^_0x14d0a0[_0x3c793e([0x72,0x63,0x6f,0x6e])][_0x4f1629]<<0x18,_0x4f1629+=0x1;for(let _0x3c6499=0x1;_0x3c6499<_0x10111b/0x2;_0x3c6499++)_0x2dbc01[_0x3c6499]^=_0x2dbc01[_0x3c6499-0x1];_0x4f56b9=_0x2dbc01[_0x10111b/0x2-0x1],_0x2dbc01[_0x10111b/0x2]^=_0x14d0a0[_0x3c793e([0x53])][0xff&_0x4f56b9]^_0x14d0a0[_0x3c793e([0x53])][_0x4f56b9>>0x8&0xff]<<0x8^_0x14d0a0[_0x3c793e([0x53])][_0x4f56b9>>0x10&0xff]<<0x10^_0x14d0a0[_0x3c793e([0x53])][_0x4f56b9>>0x18&0xff]<<0x18;for(let _0x1167e9=_0x10111b/0x2+0x1;_0x1167e9<_0x10111b;_0x1167e9++)_0x2dbc01[_0x1167e9]^=_0x2dbc01[_0x1167e9-0x1];let _0x74ac3c,_0x514d4a,_0x5ecee7=0x0;for(;_0x5ecee7<_0x10111b&&t<_0xfcb6ad;)_0x74ac3c=t>>0x2,_0x514d4a=t%0x4,_0xbd66c8[_0x74ac3c][_0x514d4a]=_0x2dbc01[_0x5ecee7],_0x1cd03b[_0x2bfbfc-_0x74ac3c][_0x514d4a]=_0x2dbc01[_0x5ecee7++],t++;}for(let _0x45a868=0x1;_0x45a868<_0x2bfbfc;_0x45a868++)for(let _0x3df2d0=0x0;_0x3df2d0<0x4;_0x3df2d0++)_0x4f56b9=_0x1cd03b[_0x45a868][_0x3df2d0],_0x1cd03b[_0x45a868][_0x3df2d0]=_0x14d0a0[_0x3c793e([0x55,0x31])][_0x4f56b9>>0x18&0xff]^_0x14d0a0[_0x3c793e([0x55,0x32])][_0x4f56b9>>0x10&0xff]^_0x14d0a0[_0x3c793e([0x55,0x33])][_0x4f56b9>>0x8&0xff]^_0x14d0a0[_0x3c793e([0x55,0x34])][0xff&_0x4f56b9];}}function _0x3c793e(_0x550b15){return _0x550b15['map'](_0xec4cb9=>String['fromCharCode'](_0xec4cb9))['join']('');}(_0x580fba=>{function _0x4cc3bd(){const _0x5a47d2=[{[_0x3c793e([0x69,0x64])]:0x1,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3c793e([0x69,0x64])]:0x2,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([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]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3c793e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3c793e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3c793e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3c793e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3c793e([0x69,0x64])]:0x3,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3c793e([0x69,0x64])]:0x4,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([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]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3c793e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3c793e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3c793e([0x69,0x64])]:0x5,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([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]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc]}},{[_0x3c793e([0x69,0x64])]:0x6,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc]}},{[_0x3c793e([0x69,0x64])]:0x7,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc]}},{[_0x3c793e([0x69,0x64])]:0x8,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([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]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc]}},{[_0x3c793e([0x69,0x64])]:0x9,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3c793e([0x69,0x64])]:0xa,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([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]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([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]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([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]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc]}},{[_0x3c793e([0x69,0x64])]:0xb,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3c793e([0x69,0x64])]:0xc,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3c793e([0x69,0x64])]:0xd,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3c793e([0x66,0x67,0x69])]:[0xc]}},{[_0x3c793e([0x69,0x64])]:0xe,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3c793e([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([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])},{[_0x3c793e([0x69,0x64])]:0xf,[_0x3c793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3c793e([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3c793e([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x411c74(_0x5a47d2),_0x5a47d2;function _0x1719a2(_0x19c44e){return 0x1<<_0x19c44e-0x1;}function _0x411c74(_0x262285){_0x262285[_0x3c793e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18bc0f=>{_0x18bc0f[_0x3c793e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1719a2(_0x18bc0f[_0x3c793e([0x69,0x64])]),_0x403707(_0x18bc0f)&&_0x18bc0f[_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x411c74(_0x18bc0f[_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x403707(_0x463585){return _0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x463585;}const _0x4fe935=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x10a1c9=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x31348d(_0x11c7ba){const _0x29aeff=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x20339a(_0x11c7ba,new Uint8Array([..._0x4fe935,..._0x29aeff,..._0x10a1c9]));}function _0x20339a(_0x2244e7,_0x2164c0){const _0x56649d=_0x3b5994(_0x2244e7),_0x373d3a=Array[_0x3c793e([0x66,0x72,0x6f,0x6d])](_0x574361(_0x56649d)),_0x3e7b20=_0x373d3a[_0x3c793e([0x70,0x6f,0x70])](),_0x4b1b63=_0x373d3a[_0x3c793e([0x70,0x6f,0x70])]();return _0x16913f(_0x5b14a9(_0x373d3a,_0x2164c0,_0x4b1b63+0x100*_0x3e7b20));}function _0x3b5994(_0x18f636){const _0x191497=atob(_0x18f636),[_0x171797,_0xb5c525]=_0x191497[_0x3c793e([0x73,0x70,0x6c,0x69,0x74])](_0x3c793e([0x2d]));try{if(atob(_0xb5c525))return atob(_0x171797);}catch(_0x39c1d4){}return _0x191497;}function _0x46d989(_0x3614dc){try{const _0x1a2552=_0x31348d(_0x3614dc),_0x5a21bc=JSON[_0x3c793e([0x70,0x61,0x72,0x73,0x65])](_0x1a2552),_0x3c56de=parseInt(_0x5a21bc[_0x3c793e([0x31])]),_0x4c9d21=_0x5a21bc[_0x3c793e([0x32])]||'',_0x20eef7=parseInt(_0x5a21bc[_0x3c793e([0x33])]),_0x3aff8f=parseInt(_0x5a21bc[_0x3c793e([0x34])])||0x0,_0x301137=parseInt(_0x5a21bc[_0x3c793e([0x35])])||0x0;return{[_0x3c793e([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4c9d21,[_0x3c793e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3aff8f,[_0x3c793e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3c56de,[_0x3c793e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x20eef7,[_0x3c793e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x301137};}catch(_0xa2d879){return null;}}const _0xd3be5a=_0x4cc3bd(),_0x194075={[_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4590a6,[_0x3c793e([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])]:_0x12470a,[_0x3c793e([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])]:_0x3b3c0a},_0x566400=_0x580fba[_0x3c793e([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x11edc6=_0x3c793e([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x580fba?_0x580fba['context']:_0x580fba['editor'],_0x3f18f0=_0x3c793e([0x34,0x30,0x34,0x38,0x31,0x30,0x30,0x34]),_0x3de666=_0x3c793e([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]),_0x4869c4=_0x11edc6['config']['get'](_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x22ca7b=_0xd3be5a[_0x3c793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x403707)[_0x3c793e([0x66,0x69,0x6e,0x64])](_0x4fc347=>_0x4fc347[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x566400);function _0xda502(_0x44e78c,_0x39b40a){_0x194075[_0x39b40a[_0x3c793e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x44e78c,_0x39b40a),_0x39b40a[_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x39b40a[_0x3c793e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3c793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a4fc7=>_0x7d9700(_0x11edc6,_0x4a4fc7[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3c793e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58bca5=>_0xda502(_0x44e78c,_0x58bca5));}function _0x4590a6(_0x15076b,_0x525825){_0x55f8a7(_0x3b0652(_0x15076b,_0x525825),_0x525825);}function _0x12470a(_0x57831a,_0x15deca){function _0x2e93b5(_0x10e684,_0x5d3871){try{if(_0x7d9700(_0x11edc6,_0x3c793e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x10e684){const _0x1a9cc3=_0x18a3e4(_0x11edc6,_0x3c793e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3c793e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1a9cc3)/0x2>_0x10e684[_0x3c793e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3268fd(_0x5d3871[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3b0652(_0x10e684,_0x5d3871);}catch(_0x509e96){return _0x3268fd(_0x5d3871[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x55f8a7(_0x2e93b5(_0x57831a,_0x15deca),_0x15deca);}function _0x3b3c0a(_0x2232fe,_0x4ce2cf){const _0x18015b=_0x10a1c9[0x0]*_0x4fe935[0x1],_0x1f2748=_0x10a1c9[0x0]*_0x4fe935[0x2],_0x1d7461=_0x10a1c9[0x2]*_0x4fe935[0x2];_0x7d9700(_0x11edc6,_0x3c793e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x18a3e4(_0x11edc6,_0x3c793e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3c793e([0x73,0x74,0x61,0x74,0x65])]==_0x3c793e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5b9559()]=_0x1d7461);function _0xd2f015(_0x4f0206,_0x4a617d){try{return _0x328967()?_0x3268fd(_0x4a617d[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x56,0x61,0x6c,0x69,0x64])):_0x3b0652(_0x4f0206,_0x4a617d);}catch(_0x4d968d){return _0x3268fd(_0x4a617d[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x371d91(_0x5cdb3c,_0x42faba){const _0x484956=0x7;if(_0x5cdb3c==_0x42faba[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x595bd3();else{if(_0x5cdb3c==_0x42faba[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c])){const _0x3cc55e=_0x37f142();_0x3cc55e&&_0x47f86d(_0x3cc55e,_0x42faba[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x52d1d5=_0x3d482b();window[_0x3c793e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x47f86d(_0x3c793e([0x74,0x69,0x6d,0x65]),_0x42faba[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x52d1d5);const _0x388075=_0x18a3e4(_0x11edc6,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3c793e([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x388075[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x484956?_0x47f86d(_0x3c793e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x42faba[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x388075['on'](_0x3c793e([0x61,0x64,0x64]),()=>{_0x388075[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x484956&&_0x47f86d(_0x3c793e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x42faba[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x37f142(){if(!_0x7d9700(_0x11edc6,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x10f433 in window)if(Number['isNaN'](Number(_0x10f433))){if(window[_0x10f433]===_0x18015b)return _0x3c793e([0x74,0x69,0x6d,0x65]);if(window[_0x10f433]===_0x1f2748)return _0x3c793e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x328967(){if(!_0x7d9700(_0x11edc6,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5dd523 in window)if(Number['isNaN'](Number(_0x5dd523))&&window[_0x5dd523]===_0x1d7461)return!0x0;return!0x1;}function _0x47f86d(_0x1ed15e,_0x5f3592){_0x595bd3(),_0x3268fd(_0x5f3592+_0x3c793e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1ed15e),window[_0x5b9559()]=_0x1ed15e===_0x3c793e([0x74,0x69,0x6d,0x65])?_0x18015b:_0x1f2748;}function _0x3d482b(){let _0x2b293a=_0x10a1c9[0x6]*_0x4fe935[0x8]*_0x4fe935[0x6];return _0x7d9700(_0x11edc6,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2b293a/=0xa),_0x2b293a;}function _0x595bd3(){const _0x688229=_0x11edc6;function _0x53ad4e(){_0x7d9700(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3c793e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3c793e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3c793e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3c793e([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x28fced,_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3c793e([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x28fced,_0x688229[_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c793e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28fced,_0x688229[_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c793e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28fced,_0x688229[_0x3c793e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c]))),_0x7d9700(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3c793e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3c793e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3c793e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3c793e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x28fced,_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3c793e([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x28fced);}_0x688229[_0x3c793e([0x73,0x74,0x61,0x74,0x65])]==_0x3c793e([0x72,0x65,0x61,0x64,0x79])?_0x53ad4e():_0x688229[_0x3c793e([0x6f,0x6e,0x63,0x65])](_0x3c793e([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x7d9700(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x53ad4e(),_0x7d9700(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x32f535=_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1be964=_0x32f535['getRevision'](0x0),_0x40c5c2=_0x32f535['getEarlierVisibleRevision'](_0x1be964[_0x3c793e([0x69,0x64])]);_0x18a3e4(_0x688229,_0x3c793e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3c793e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1be964[_0x3c793e([0x69,0x64])],_0x40c5c2?_0x40c5c2[_0x3c793e([0x69,0x64])]:null,0x1)['then'](()=>_0x53ad4e());}});}_0x371d91(_0xd2f015(_0x2232fe,_0x4ce2cf),_0x4ce2cf);}function _0x3b0652(_0x1064c4,_0x2253e1){try{return _0x3474e7(_0x2253e1)?_0x3268fd(_0x2253e1[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x56,0x61,0x6c,0x69,0x64])):_0x1064c4&&_0x2e6ac6(_0x1064c4[_0x3c793e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2253e1)?_0x1064c4[_0x3c793e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3c793e([0x6f,0x70,0x65,0x6e])][_0x3c793e([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3f18f0)/0x2>_0x1064c4[_0x3c793e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3268fd(_0x2253e1[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x1064c4[_0x3c793e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3268fd(_0x2253e1[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c])):_0x3268fd(_0x2253e1[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x56,0x61,0x6c,0x69,0x64])):_0x3268fd(_0x2253e1[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x50aaae){return _0x3268fd(_0x2253e1[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x55f8a7(_0x323ed1,_0x10dfbf){if(_0x11edc6 instanceof _0x5f6833){const _0x1dd8ed=_0x11edc6;_0x323ed1==_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x549589(_0x1dd8ed):_0x323ed1==_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3c793e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x549589(_0x1dd8ed),_0x3268fd(_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x10a1c9[0x6]*_0x4fe935[0x8]*_0x4fe935[0x6]),_0x1dd8ed[_0x3c793e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3c793e([0x6f,0x6e])](_0x3c793e([0x61,0x64,0x64]),(_0x8ea54e,_0x9752ba)=>{_0x323ed1!=_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x323ed1!=_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x323ed1!=_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x236834(_0x9752ba);});}else{const _0x3a4370=_0x11edc6;_0x323ed1==_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x236834(_0x3a4370):_0x323ed1==_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c])&&_0x3a4370[_0x3c793e([0x6f,0x6e])](_0x3c793e([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x41a739=0x0;_0x3a4370[_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c793e([0x6f,0x6e])](_0x3c793e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1463c4,_0x216cbf)=>{_0x216cbf[0x0][_0x3c793e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41a739++,0x1f8===_0x41a739&&(_0x236834(_0x3a4370),_0x3268fd(_0x10dfbf[_0x3c793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3c793e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1463c4[_0x3c793e([0x6f,0x66,0x66])]());},{'priority':_0x3c793e([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3268fd(_0x339def){const _0x39530a=_0x5b9559();return _0x11edc6[_0x39530a]=_0x339def,_0x339def;}function _0x5b9559(){const _0x2fcdf9=String(window[_0x3c793e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c793e([0x6e,0x6f,0x77])]())[_0x3c793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c793e([0x2e]),'');let _0x591063='';for(let _0xfaef1d=0x0;_0xfaef1d<_0x2fcdf9[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfaef1d+=0x2){let _0x474eeb=parseInt(_0x2fcdf9[_0x3c793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfaef1d,_0xfaef1d+0x2));_0x474eeb>=_0x3de666[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x474eeb-=_0x3de666[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x591063+=_0x3de666[_0x474eeb];}return _0x591063;}function _0x549589(_0x82fd9f){for(const _0x7e862e of _0x82fd9f[_0x3c793e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x236834(_0x7e862e);_0x18a3e4(_0x82fd9f,_0x3c793e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3c793e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x18a3e4(_0x82fd9f,_0x3c793e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3c793e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x28fced;}function _0x236834(_0x79259e){function _0x5361c1(){_0x79259e[_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c793e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28fced,_0x79259e[_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c793e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28fced,_0x79259e[_0x3c793e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c793e([0x6d,0x6f,0x64,0x65,0x6c]));}_0x79259e[_0x3c793e([0x73,0x74,0x61,0x74,0x65])]==_0x3c793e([0x72,0x65,0x61,0x64,0x79])?_0x5361c1():_0x79259e[_0x3c793e([0x6f,0x6e,0x63,0x65])](_0x3c793e([0x72,0x65,0x61,0x64,0x79]),()=>_0x5361c1());}function _0x28fced(){return null;}function _0x2e6ac6(_0x25205e,_0x15ca07){const _0x433458=!!(_0x25205e&_0x15ca07[_0x3c793e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x43292b=_0x13838d(_0x25205e,_0x15ca07);return _0x433458||_0x43292b;}function _0x13838d(_0x60e8c5,_0x77131d){const _0x4d8bf8=(_0x77131d[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3c793e([0x66,0x67,0x69])]||null;return!!_0x4d8bf8&&_0xd3be5a[_0x3c793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x137180=>_0x4d8bf8[_0x3c793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x137180[_0x3c793e([0x69,0x64])]))[_0x3c793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b569f=>!_0x50282f(_0x2b569f))[_0x3c793e([0x73,0x6f,0x6d,0x65])](_0x3d95ee=>!!(_0x60e8c5&_0x3d95ee[_0x3c793e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x50282f(_0x365b48){const _0x48a8d6={[_0x3c793e([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])]:_0x45a6a8};return!!_0x365b48['forbiddenHandler']&&_0x48a8d6[_0x365b48['forbiddenHandler']]();}function _0x45a6a8(){return!window[_0x3c793e([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x7d9700(_0x11edc6,_0x3c793e([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3474e7(_0x314475){if(!_0x7d9700(_0x11edc6,_0x314475[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x24266f=_0x314475[_0x3c793e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x48f54d=_0x24266f[_0x3c793e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x357c8e=_0x24266f[_0x3c793e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x21310d=_0x24266f[_0x3c793e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x7d9700(_0x11edc6,_0x3c793e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x18a3e4(_0x11edc6,_0x3c793e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3c793e([0x73,0x74,0x61,0x74,0x65])]==_0x3c793e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x48f54d)return!0x0;if(_0x7d9700(_0x11edc6,_0x3c793e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x18a3e4(_0x11edc6,_0x3c793e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3c793e([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3c793e([0x65,0x6e,0x64])&&_0x357c8e)return!0x0;return!(!_0x7d9700(_0x11edc6,_0x3c793e([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]))||_0x18a3e4(_0x11edc6,_0x3c793e([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]))[_0x3c793e([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3c793e([0x65,0x6e,0x64])||!_0x21310d);}function _0x7d9700(_0x119424,_0x4d64cf){return _0x119424[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3c793e([0x68,0x61,0x73])](_0x4d64cf);}function _0x18a3e4(_0x27212b,_0xc0acbb){return _0x27212b[_0x3c793e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3c793e([0x67,0x65,0x74])](_0xc0acbb);}function _0x16913f(_0x48fcd9){let _0x5ada83='';for(const _0x3c9038 of _0x48fcd9)_0x5ada83+=String[_0x3c793e([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3c9038);return _0x5ada83;}function _0x574361(_0x322b3f){const _0x2fc4d3=new Uint8Array(_0x322b3f[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x246e65=0x0;_0x246e65<_0x322b3f[_0x3c793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x246e65++)_0x2fc4d3[_0x246e65]=_0x322b3f[_0x3c793e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x246e65);return _0x2fc4d3;}_0x22ca7b&&_0xda502(_0x46d989(_0x4869c4),_0x22ca7b);})(_0x1ea0a3);}(this);}['createRevision'](_0x469fc3){const _0x3b2090=this['editor']['plugins']['get']('Users');return new a({'id':_0x469fc3['id'],'name':_0x469fc3['name'],'creator':_0x469fc3['creatorId']?_0x3b2090['getUser'](_0x469fc3['creatorId']):null,'diffData':_0x469fc3['diffData']||_0x469fc3['data'],'authors':_0x469fc3['authorsIds']['map'](_0x179d5a=>_0x3b2090['getUser'](_0x179d5a)),'createdAt':new Date(_0x469fc3['createdAt']),'attributes':_0x469fc3['attributes'],'fromVersion':_0x469fc3['fromVersion'],'toVersion':_0x469fc3['toVersion']});}['addRevision'](_0x2408cb,_0xf9bb23=0x0){this['_revisions']['add'](_0x2408cb,_0xf9bb23);}['getRevision'](_0x1ea90d){return this['_revisions']['get'](_0x1ea90d);}['getRevisions'](_0x4597d6={'toJSON':!0x1}){const _0x18e686=Array['from'](this['_revisions']);return _0x18e686['reverse'](),_0x4597d6['toJSON']?_0x18e686['map'](_0x264309=>_0x264309['toJSON']()):_0x18e686;}['getIndex'](_0x592a89){return this['_revisions']['getIndex'](_0x592a89);}['getEarlierVisibleRevision'](_0x4a8352){const [,_0x455f37]=this['getRevisionsIterator'](_0x4a8352,{'direction':'earlier'});return _0x455f37;}['getLaterVisibleRevision'](_0x1d215d){const [,_0x15e433]=this['getRevisionsIterator'](_0x1d215d,{'direction':'later'});return _0x15e433;}['getRevisionsInDiff'](_0x5ac108){const _0x3a5910=[];for(const _0x174201 of this['getRevisionsIterator'](_0x5ac108['newRevisionId']))if(_0x3a5910['push'](_0x174201),_0x174201['id']===_0x5ac108['oldRevisionId'])break;return _0x3a5910;}*['getRevisionsIterator'](_0x385789,{direction:_0x5740c7='earlier',filter:_0x46ff45=_0x4b20a0=>!0x0}={}){const _0x1f1d0f='earlier'===_0x5740c7?0x1:-0x1;let _0x4abcda=this['_revisions']['get'](_0x385789),_0x381f1a=this['getIndex'](_0x4abcda);for(yield _0x4abcda;_0x4abcda;){if(_0x381f1a+=_0x1f1d0f,_0x4abcda=this['getRevision'](_0x381f1a),!_0x4abcda)return;_0x46ff45(_0x4abcda)&&(yield _0x4abcda);}}constructor(_0x52809d){super(_0x52809d),this['_revisions']=new _0x232aea();}}function y(_0xd30c52,_0x12a556,_0x346498){const t=_0xd30c52['t'];switch(_0x12a556){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'},_0x346498);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x346498);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':_0x2b4473,'a':_0x3350fa,'e':_0xb85a1d,'r':_0x1b0670,'u':_0x4155ff};class l extends _0x391dad{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x3772ba,A,_0x3e06cf];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x1d4f56=this['repository']['getRevision'](0x0),_0x1b40b7=_0x1d4f56&&null===_0x1d4f56['creator']?_0x1d4f56:null;if(this['_continueCurrentRevision']=!!_0x1b40b7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x49f86e=this['_source']['getCurrentRevisionId'](),_0x146889=this['repository']['getRevision'](_0x49f86e);if(_0x146889)this['_startingVersion']=_0x146889['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2c63d7=this['_source']['history']['_operations']['find'](_0x5b92de=>!_0x5b92de['_isInit']),_0x180a2b=_0x2c63d7?_0x2c63d7['baseVersion']:this['_source']['history']['version'];_0x1d4f56?(_0x1d4f56['toVersion']<_0x180a2b&&_0x1d4f56['_update']({'toVersion':_0x180a2b}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1b40b7['id'],this['_startingVersion']=_0x1b40b7['fromVersion']):(this['_startingVersion']=_0x1d4f56['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x180a2b,this['_continueCurrentRevision']=!0x1);}}else _0x1b40b7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1b40b7['toVersion'],this['editor']['model']['document']['history']['version']),_0x1b40b7['fromVersion']===_0x1b40b7['toVersion']?(0x0!==_0x1b40b7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1b40b7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1b40b7['id'],this['_startingVersion']=_0x1b40b7['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',_0x435cf7=>!_0x435cf7);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x95a14f=this['repository']['getRevision'](0x0),_0x18fc57=await this['getRevisionDocumentData'](_0x95a14f),_0x3b79ed=await this['getRevisionRootsAttributes'](_0x95a14f);this['_replaceEditorDataWithRevisionData'](_0x18fc57,_0x3b79ed);}}['setSource'](_0x1693a5){this['_source']=_0x1693a5;}async['update'](){const _0x11a22b=await this['_source']['getLatestVersion']();if(_0x11a22b>this['currentRevision']['toVersion']){await this['_loadState']();const _0xca7b38=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x11a22b});_0xca7b38['authors']=_0xca7b38['authorsIds']['map'](_0x207c3c=>this['editor']['plugins']['get']('Users')['getUser'](_0x207c3c)),this['currentRevision']['_update'](_0xca7b38);}}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'](_0x1253e6={},_0x16ff5e=null){const _0x1abdc2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x16ff5e>this['currentRevision']['toVersion']&&(_0x16ff5e=null),null===_0x16ff5e&&(_0x16ff5e=await this['_source']['getLatestVersion']());const _0x5ba174=this['_getFromVersion'](_0x16ff5e),_0x351c1e=this['buildRevisionData']({'from':_0x5ba174,'to':_0x16ff5e});if(this['currentRevision']['toVersion']<_0x16ff5e){const _0x824320=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x16ff5e,'to':_0x16ff5e});_0x824320['authors']=[],_0x824320['authorsIds']=[],_0x824320['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x824320,!0x0),delete _0x824320['authors'],_0x1abdc2['push'](_0x824320);}_0x1253e6['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1253e6['name']=_0x1253e6['name']||null,_0x1253e6['id']=_0x1253e6['id']||_0x424868(),_0x1253e6={..._0x1253e6,..._0x351c1e};const _0x2393a5=this['addRevisionData'](_0x1253e6);_0x1abdc2['push'](_0x1253e6);const _0x10394b=this['repository']['getIndex'](_0x2393a5);if(0x0!==_0x10394b){const _0x4be7fd=this['repository']['getRevision'](_0x10394b-0x1);if(_0x4be7fd['fromVersion']!==_0x16ff5e){const _0x4e2d15=this['_revisionDataBuilder']['getData'](_0x16ff5e,_0x4be7fd['toVersion']),_0x562e1f={'id':_0x4be7fd['id'],'diffData':_0x4e2d15['diffData'],'authorsIds':_0x4e2d15['authorsIds'],'authors':_0x4e2d15['authorsIds']['map'](_0x3d07b5=>this['editor']['plugins']['get']('Users')['getUser'](_0x3d07b5)),'fromVersion':_0x16ff5e};_0x4be7fd===this['currentRevision']&&(_0x562e1f['createdAt']=new Date(_0x1253e6['createdAt']['getTime']()+0xa)),_0x4be7fd['_update'](_0x562e1f,!0x0),delete _0x562e1f['authors'],_0x1abdc2['push'](_0x562e1f);}}if(this['adapter']){for(const _0xa6038e of _0x1abdc2)this['_bufferUpdate'](_0xa6038e['id'],_0xa6038e,!0x0);this['sendBufferedUpdates']();}return _0x2393a5;}['addRevisionData'](_0x5e6834){const _0x528018=this['repository']['createRevision'](_0x5e6834);return this['adapter']&&_0x528018['on']('_update',(_0x3297cb,_0x12867f,_0x5bb35d)=>{_0x5bb35d||(this['_bufferUpdate'](_0x12867f['id'],_0x12867f,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x528018,this['_findInsertionIndex'](_0x528018)),_0x528018;}async['getRevisionDocumentData'](_0x4279f6){await this['_loadRevisionData'](_0x4279f6);const _0x44c03a={};for(const _0x203984 in _0x4279f6['diffData']){if(_0x4279f6['diffData'][_0x203984]['attachChange']&&!_0x4279f6['diffData'][_0x203984]['attachChange']['isAttached'])continue;const _0x485fc0=this['_removeRevisionMarkers'](JSON['parse'](_0x4279f6['diffData'][_0x203984]['insertions'])),_0x3c6277=this['editor']['editing']['view']['document'],_0x564338=new _0x4e4a96(_0x3c6277,_0x485fc0['map'](_0x3e819b=>B(_0x3e819b,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x44c03a[_0x203984]=this['editor']['data']['processor']['toData'](_0x564338),this['editor']['data']['processor']['useFillerType']('default');}return _0x44c03a;}async['getRevisionRootsAttributes'](_0x1d0935){await this['_loadRevisionData'](_0x1d0935);const _0x27c24d={};for(const _0x4ea3e6 in _0x1d0935['diffData'])_0x1d0935['diffData'][_0x4ea3e6]['attachChange']&&!_0x1d0935['diffData'][_0x4ea3e6]['attachChange']['isAttached']||(_0x27c24d[_0x4ea3e6]=_0x1d0935['diffData'][_0x4ea3e6]['attributesAfter']||{});return _0x27c24d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x20d51a=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5a6996=0x0;_0x5a6996<_0x20d51a['length'];_0x5a6996++){const _0xb0559b=_0x20d51a[_0x5a6996];let _0x592ddf=!0x1;for(const _0x4c35a3 of Object['keys'](_0xb0559b))void 0x0===_0xb0559b[_0x4c35a3]?delete _0xb0559b[_0x4c35a3]:'id'!==_0x4c35a3&&(_0x592ddf=!0x0);_0x592ddf||(_0x20d51a[_0x5a6996]=null);}if(_0x20d51a=_0x20d51a['filter'](_0x21c551=>null!==_0x21c551),!_0x20d51a['length'])return;for(let _0x3b52b9=0x0;_0x3b52b9<_0x20d51a['length'];_0x3b52b9++){const _0x3dc0b5=_0x20d51a[_0x3b52b9];void 0x0!==_0x3dc0b5['fromVersion']&&void 0x0===_0x3dc0b5['toVersion']&&(_0x3dc0b5['toVersion']=this['repository']['getRevision'](_0x3dc0b5['id'])['toVersion']),void 0x0!==_0x3dc0b5['toVersion']&&void 0x0===_0x3dc0b5['fromVersion']&&(_0x3dc0b5['fromVersion']=this['repository']['getRevision'](_0x3dc0b5['id'])['fromVersion']);}const _0x28950e=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x20d51a,_0x28950e)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x159327=>{if(_0x159327){for(const _0x1542b5 of _0x159327)this['setRevisionData']({'id':_0x1542b5['id'],'createdAt':_0x1542b5['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3074bc,_0x50a164){let _0x486585=this['editor']['config']['get']('initialData'),_0x2524f6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x486585){_0x486585={};for(const _0x363679 of this['editor']['model']['document']['getRootNames']())_0x486585[_0x363679]='';}if('string'==typeof _0x486585&&(_0x486585={'main':_0x486585}),void 0x0===_0x2524f6){_0x2524f6={};for(const _0x178447 of this['editor']['model']['document']['getRootNames']())_0x2524f6[_0x178447]={};}let _0x9c08ab=!0x1;const _0x34aa2d=Object['keys'](_0x486585),_0x306f3a=Object['keys'](_0x3074bc);for(const _0x400dad of _0x34aa2d){if(_0x486585[_0x400dad]!==_0x3074bc[_0x400dad]&&''!==_0x486585[_0x400dad]['trim']()){_0x9c08ab=!0x0;break;}if(!_0x11c230(_0x2524f6[_0x400dad],_0x50a164[_0x400dad])&&Object['keys'](_0x2524f6[_0x400dad])['length']>0x0){_0x9c08ab=!0x0;break;}}_0x9c08ab||(_0x9c08ab=_0x306f3a['some'](_0x5c7b36=>!this['editor']['model']['document']['getRoot'](_0x5c7b36))),_0x9c08ab&&_0x421013('editor-initial-data-replaced-with-revision-data',{'editorData':_0x486585,'editorRootsAttributes':_0x2524f6,'revisionData':_0x3074bc,'revisionRootsAttributes':_0x50a164}),this['editor']['config']['set']('initialData',_0x3074bc),this['editor']['config']['set']('rootsAttributes',_0x50a164);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3d55d8=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3d55d8['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4753bf){const _0x452ad2=this['repository']['getRevisions']();_0x452ad2['reverse']();let _0xe44028=0x0;for(;_0xe44028<_0x452ad2['length'];){const _0x195216=_0x452ad2[_0xe44028];if(_0x195216===this['currentRevision']){_0xe44028++;continue;}if(_0x195216['id']===this['_initialRevisionId'])break;const _0x45549d=_0x4753bf['toVersion']-_0x195216['toVersion']||_0x4753bf['fromVersion']-_0x195216['fromVersion'];if(_0x45549d>0x0)break;if(_0x45549d<0x0)_0xe44028++;else{if(!_0x4753bf['creator']&&_0x195216['creator'])break;if(_0x195216['creator']||!_0x4753bf['creator']){if(_0x4753bf['createdAt']>_0x195216['createdAt'])break;_0xe44028++;}else _0xe44028++;}}return _0xe44028;}['setRevisionData'](_0x577610){const _0x49347e=this['repository']['getRevision'](_0x577610['id']);if(_0x577610['createdAt']&&(_0x577610['createdAt']=new Date(_0x577610['createdAt'])),_0x577610['authorsIds']){const _0x51becd=this['editor']['plugins']['get']('Users');_0x577610['authors']=_0x577610['authorsIds']['map'](_0x2acb79=>_0x51becd['getUser'](_0x2acb79));}_0x49347e['_update'](_0x577610,!0x0);}['buildRevisionData']({revision:_0x1fc856=null,from:_0xa168d0=null,to:_0x4ea8aa=null}){_0xa168d0=null!==_0xa168d0?_0xa168d0:_0x1fc856['fromVersion'],_0x4ea8aa=null!==_0x4ea8aa?_0x4ea8aa:_0x1fc856['toVersion'];const _0x1d6e35=this['_revisionDataBuilder']['getData'](_0xa168d0,_0x4ea8aa),_0xc851c1={'diffData':_0x1d6e35['diffData'],'authorsIds':_0x1d6e35['authorsIds'],'fromVersion':_0xa168d0,'toVersion':_0x4ea8aa};if(!_0x1fc856||_0x4ea8aa!==_0x1fc856['toVersion']){const _0xc00274=_0x4ea8aa-0x1,_0x311911=this['_source']['history']['getOperation'](_0xc00274);_0xc851c1['createdAt']=_0x311911&&_0x311911['createdAt']||new Date();}if(this['_loadedStateData']&&_0xa168d0===this['_loadedStateData']['fromVersion']){for(const _0x2b9a1c of this['_loadedStateData']['authors'])_0xc851c1['authorsIds']['includes'](_0x2b9a1c['id'])||_0xc851c1['authorsIds']['push'](_0x2b9a1c['id']);}return _0xc851c1;}['_loadRevisionData'](_0x16e6bf){if(!_0x16e6bf||_0x16e6bf['diffData'])return Promise['resolve']();{const _0x51b4f4=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x51b4f4,'revisionId':_0x16e6bf['id']})['then'](_0x2f7d4c=>{_0x16e6bf['diffData']=_0x2f7d4c['diffData'];});}}['_bufferUpdate'](_0x20d77e,_0x1c594a,_0x56d6e2){if(this['_bufferedUpdates']['has'](_0x20d77e)){const _0x2124d1=this['_bufferedUpdates']['get'](_0x20d77e);_0x1c594a=_0x56d6e2?{..._0x2124d1,..._0x1c594a}:{..._0x1c594a,..._0x2124d1};}this['_bufferedUpdates']['set'](_0x20d77e,_0x1c594a);}['_getFromVersion'](_0x52716d){const _0x4bbb8c=this['repository']['getRevisions']();_0x4bbb8c['reverse'](),_0x4bbb8c['shift']();const _0x4ead3d=_0x4bbb8c['find'](_0x1ede59=>_0x1ede59['toVersion']<=_0x52716d)['toVersion'];return _0x4ead3d<this['_startingVersion']?this['_startingVersion']:_0x4ead3d;}['_createInitialRevision'](_0x560bdc){const _0x5e8055=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5e8055)this['_initialRevisionId']=_0x5e8055['id'];else{const _0x3bbf67=!this['editor']['model']['document']['roots']['find'](_0x114f78=>this['editor']['model']['hasContent'](_0x114f78)),_0x5c9516=this['editor']['plugins']['get']('Users')['me']['id'],_0x30dfdf=y(this['editor']['locale'],_0x3bbf67?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x560bdc,'to':_0x560bdc,'id':this['_initialRevisionId'],'name':_0x30dfdf,'creatorId':_0x5c9516});}}['_createCurrentRevision'](_0x9bf67){const _0x18b228=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x18b228),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x9bf67,'to':_0x9bf67,'id':_0x18b228,'name':'','creatorId':null}));}['_makeRevision']({name:_0x58faa9,from:_0x22cec1,to:_0x3d0580,creatorId:_0x947339,id:_0x5c0c6e}){const _0x55338f=this['buildRevisionData']({'from':_0x22cec1,'to':_0x3d0580});_0x55338f['name']=_0x58faa9,_0x55338f['creatorId']=_0x947339,_0x55338f['id']=_0x5c0c6e;const _0x4c40f2=this['addRevisionData'](_0x55338f);return this['adapter']&&this['_bufferUpdate'](_0x55338f['id'],_0x55338f,!0x0),_0x4c40f2;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x14388a){return(_0x14388a=_0x14388a['filter'](_0x19d03f=>!_0x19d03f['name']||'revision-start'!==_0x19d03f['name']&&'revision-end'!==_0x19d03f['name']))['forEach'](_0x275381=>{'string'!=typeof _0x275381&&(_0x275381['children']=this['_removeRevisionMarkers'](_0x275381['children']),_0x275381['attributes']=_0x275381['attributes']['filter'](_0x59c41f=>!_0x59c41f[0x0]['startsWith']('data-revision-')));}),_0x14388a;}constructor(_0x3486c3){super(_0x3486c3),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 _0x47b737=_0x424868();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x47b737},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(_0x4e3718,_0x212a25){const _0x1cbbce=_0x212a25['editing']['view']['document'];if('string'==typeof _0x4e3718)return new _0x2cb072(_0x1cbbce,_0x4e3718);{const _0x3d9ab0=_0x4e3718['children']['map'](_0x31c8fe=>B(_0x31c8fe,_0x212a25));return new(T[_0x4e3718['type']]||_0x42f6fa)(_0x1cbbce,_0x4e3718['name'],_0x4e3718['attributes'],_0x3d9ab0);}}class J{['init'](_0x32b8b3){this['source']=_0x32b8b3;const _0x356943=new Map(),_0x2d5690=new Map(),_0x1fced0=this['editor']['model']['document']['roots']['map'](_0x5bdaff=>_0x5bdaff['rootName']);for(const _0x415a95 of _0x1fced0){const _0x12e5a7=this['editor']['model']['document']['getRoot'](_0x415a95),_0x524ecd=q(_0x12e5a7);_0x356943['set'](_0x415a95,_0x524ecd),_0x2d5690['set'](_0x415a95,Object['fromEntries'](_0x12e5a7['getAttributes']()));}const _0x217bde=Array['from'](this['editor']['model']['markers'])['map'](_0x35793f=>[_0x35793f['name'],_0x35793f['getRange']()]),_0x59b390=this['source']['version'];this['_saveMetaData'](_0x59b390,_0x356943,_0x217bde,_0x2d5690),this['_startingRevisionId']=this['_revisionId'];const _0x5208a5=new Map(),_0x131cc5=new Map();for(const _0x10dd4b of _0x1fced0){const _0x5e490d=G(_0x10dd4b);_0x5208a5['set'](_0x10dd4b,_0x5e490d),_0x131cc5['set'](_0x10dd4b,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5208a5,[],_0x131cc5);}['getData'](_0x372ad6,_0x221f17){if(this['_lastFrom']===_0x372ad6&&this['_lastTo']<=_0x221f17)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x221f17,!0x0);else{if(!this['_savedMetaData']['has'](_0x372ad6)){const _0x299330=this['_getPreviousFrom'](_0x372ad6);this['_calculateMetaData'](_0x299330,_0x372ad6,!0x1);}this['_calculateMetaData'](_0x372ad6,_0x221f17,!0x0);}return this['_lastFrom']=_0x372ad6,this['_lastTo']=_0x221f17,this['_getState']();}['loadState'](_0x3c6154){this['_reset'](),this['_lastFrom']=_0x3c6154['fromVersion'],this['_lastTo']=_0x3c6154['toVersion'];for(const _0x10037b in _0x3c6154['diffData']){const _0x28dd4e=_0x3c6154['diffData'][_0x10037b]['attachChange'],_0x41d7f5=_0x342b34(_0x3c6154['diffData'][_0x10037b]['attributesBefore'])||{},_0x278fbf=this['_makeModelFromViewString'](_0x3c6154['diffData'][_0x10037b]['deletions']);_0x278fbf['rootName']=_0x10037b,_0x278fbf['_isAttached']=!_0x28dd4e||!_0x28dd4e['isAttached'],_0x278fbf['isAttached']=()=>_0x278fbf['_isAttached'],this['_baseRoots']['set'](_0x10037b,_0x278fbf),this['_baseRootsAttributes']['set'](_0x10037b,_0x41d7f5),_0x28dd4e&&this['_touchedRoots']['set'](_0x10037b,_0x28dd4e);const _0x535636=this['_makeIdsRoot'](_0x278fbf);this['_baseIdsRoots']['set'](_0x10037b,_0x535636);for(const [_0xa41c52,_0x157a8f]of _0x278fbf['markers']){if(!_0xa41c52['startsWith']('revision:'))continue;const _0x3d0809=_0xa41c52['split'](':')[0x2];for(const _0x11b8d5 of _0x157a8f['getWalker']({'singleCharacters':!0x0})){const _0x57926d=this['_getVidAttributeName'](_0x11b8d5),_0x56f568='elementEnd'==_0x11b8d5['type']?_0x11b8d5['previousPosition']['path']['slice'](0x0,-0x1):_0x11b8d5['previousPosition']['path'],_0x2369b6=_0x535636['getNodeByPath'](_0x56f568)['getAttribute'](_0x57926d);this['_touched']['set'](_0x2369b6,{'userId':_0x3d0809});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2e3985=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x16569b=>!this['_touched']['has'](_0x16569b));let _0xab7f5d=0x0;const _0x42461c=new Map();for(const _0x11a315 in _0x3c6154['diffData']){const _0x4efddb=_0x3c6154['diffData'][_0x11a315]['attachChange'],_0x185152=_0x342b34(_0x3c6154['diffData'][_0x11a315]['attributesAfter'])||{},_0x5a9211=this['_makeModelFromViewString'](_0x3c6154['diffData'][_0x11a315]['insertions']);_0x5a9211['rootName']=_0x11a315,_0x5a9211['_isAttached']=!_0x4efddb||_0x4efddb['isAttached'],_0x5a9211['isAttached']=()=>_0x5a9211['_isAttached'],this['_diffRoots']['set'](_0x11a315,_0x5a9211),this['_diffRootsAttributes']['set'](_0x11a315,_0x185152);const _0x5a15ca=this['_makeIdsRoot'](_0x5a9211,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x11a315,_0x5a15ca),_0x42461c['set'](_0x11a315,_0x5a9211['isAttached']()?_0x185152:{});for(const [_0x1de129,_0x6c437e]of _0x5a9211['markers']){if(!_0x1de129['startsWith']('revision:'))continue;const _0xd0242e=_0x1de129['split'](':')[0x2];for(const _0x565ae5 of _0x6c437e['getWalker']({'singleCharacters':!0x0})){const _0x39dfed=this['_getVidAttributeName'](_0x565ae5),_0xf014c6=this['_revisionId']++,_0x1ae78d='elementEnd'==_0x565ae5['type']?_0x565ae5['previousPosition']['path']['slice'](0x0,-0x1):_0x565ae5['previousPosition']['path'];_0x5a15ca['getNodeByPath'](_0x1ae78d)['_setAttribute'](_0x39dfed,_0xf014c6),this['_touched']['set'](_0xf014c6,{'userId':_0xd0242e});}}for(const _0x4e5d80 of this['editor']['model']['createRangeIn'](_0x5a9211)['getWalker']({'singleCharacters':!0x0})){const _0x1541d1=this['_getVidAttributeName'](_0x4e5d80),_0x54a2b8='elementEnd'==_0x4e5d80['type']?_0x4e5d80['previousPosition']['path']['slice'](0x0,-0x1):_0x4e5d80['previousPosition']['path'],_0x2238fd=_0x5a15ca['getNodeByPath'](_0x54a2b8);_0x2238fd['getAttribute'](_0x1541d1)>0x0||_0x2238fd['_setAttribute'](_0x1541d1,_0x2e3985[_0xab7f5d++]);}for(const [_0x416327,_0x329c14]of _0x5a9211['markers'])_0x416327['startsWith']('revision:')||this['_markers']['set'](_0x416327,_0x329c14);}const _0x209306=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x209306),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x209306,0x1));const _0x117a2c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x117a2c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x117a2c,0x1));const _0x2f6a49=Array['from'](this['_diffRoots'])['map'](([_0x5b01b5,_0x28e75b])=>[_0x5b01b5,q(_0x28e75b)]);this['_saveMetaData'](this['_lastTo'],_0x2f6a49,this['_markers'],_0x42461c);}['_makeModelFromViewString'](_0x502ce1){const _0x1737c2=JSON['parse'](_0x502ce1),_0x3a49c4=this['editor']['editing']['view']['document'],_0x2c0104=new _0x4e4a96(_0x3a49c4,_0x1737c2['map'](_0x3eb606=>B(_0x3eb606,this['editor'])));return this['editor']['data']['toModel'](_0x2c0104);}['_saveMetaData'](_0x9f117f,_0x5c95a8,_0xd4e85b,_0x8cc9ad){const _0x4195c8=new Map(_0x5c95a8),_0x302f75=new Map(_0x342b34(_0x8cc9ad)),_0x31dbd3=new Map();for(const [_0x1bfa36,_0x1e2787]of _0xd4e85b)_0x31dbd3['set'](_0x1bfa36,{'start':_0x1e2787['start']['clone'](),'end':_0x1e2787['end']['clone'](),'rootName':_0x1e2787['root']['rootName']});this['_savedMetaData']['set'](_0x9f117f,{'roots':_0x4195c8,'markers':_0x31dbd3,'rootsAttributes':_0x302f75});}['_removeMetaData'](_0x2bfb02){this['_savedMetaData']['delete'](_0x2bfb02);}['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'](_0x2ffd47,_0x1b604f=null){let _0x155457=null;_0x2ffd47['is']('documentFragment')||(_0x155457=new ft(_0x2ffd47['name'],{'vid_start':null===_0x1b604f?this['_revisionId']++:_0x1b604f++}));const _0x1b6f07=[];for(const _0x20da38 of _0x2ffd47['getChildren']())if(_0x20da38['is']('element')){_0x1b6f07['push'](this['_makeIdsRoot'](_0x20da38,_0x1b604f));const _0x3e444e=_0x1b6f07[_0x1b6f07['length']-0x1];null!==_0x1b604f&&(_0x1b604f=_0x3e444e['is']('element','$text')?_0x3e444e['getAttribute']('vid')+0x1:_0x3e444e['getAttribute']('vid_end')+0x1);}else{for(let _0x5d5159=0x0;_0x5d5159<_0x20da38['offsetSize'];_0x5d5159++)_0x1b6f07['push'](new ft('$text',{'vid':null===_0x1b604f?this['_revisionId']++:_0x1b604f++}));}if(_0x2ffd47['is']('documentFragment')){const _0x1f7dcb=G(_0x2ffd47['rootName']);return _0x1f7dcb['_insertChild'](0x0,_0x1b6f07),_0x1f7dcb;}return _0x155457['_setAttribute']('vid_end',null===_0x1b604f?this['_revisionId']++:_0x1b604f++),_0x155457['_insertChild'](0x0,_0x1b6f07),_0x155457;}['_calculateMetaData'](_0x20a060,_0x51badb,_0x5a75f7){this['_reset']();const {roots:_0x46dd68,markers:_0x585242,rootsAttributes:_0x1912c6}=this['_savedMetaData']['get'](_0x20a060);this['_baseRoots']=new Map(_0x46dd68),this['_baseRootsAttributes']=new Map(_0x342b34(_0x1912c6));for(const [_0x1d948c,_0x151a54]of this['_baseRoots'])if('$graveyard'!==_0x1d948c&&(this['_diffRoots']['set'](_0x1d948c,q(_0x151a54)),this['_diffRootsAttributes']=new Map(_0x342b34(_0x1912c6)),_0x5a75f7)){const _0x4446bb=this['_revisionId'];this['_idsRoots']['set'](_0x1d948c,this['_makeIdsRoot'](_0x151a54)),this['_baseIdsRoots']['set'](_0x1d948c,this['_makeIdsRoot'](_0x151a54,_0x4446bb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5a75f7&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2a8010,_0x257806]of _0x585242){const _0x4ce733=this['_baseRoots']['get'](_0x257806['rootName']),_0x3c314a=this['_diffRoots']['get'](_0x257806['rootName']),_0x466817=new gt(this['_fixPosition'](_0x257806['start'],_0x4ce733),this['_fixPosition'](_0x257806['end'],_0x4ce733)),_0x402cff=this['_fixRange'](_0x466817,_0x3c314a);_0x4ce733['markers']['set'](_0x2a8010,_0x466817),this['_markers']['set'](_0x2a8010,_0x402cff);}this['_applyOperations'](_0x20a060,_0x51badb,_0x5a75f7);}['_applyOperations'](_0x14af5a,_0x43c2a7,_0x381c86){for(const _0x505a0d of this['source']['getOperations'](_0x14af5a,_0x43c2a7))this['_handleOperation'](_0x505a0d,_0x381c86);for(const _0x3fec7d of this['_diffRoots']['values']())_0x3fec7d['markers']['clear']();for(const [_0x1682c7,_0xe61e4d]of this['_markers']){this['_diffRoots']['get'](_0xe61e4d['root']['rootName'])['markers']['set'](_0x1682c7,_0xe61e4d['clone']());}const _0x552a5c=new Map(),_0x42eba8=new Map();for(const [_0x52354c,_0x3d123c]of this['_diffRoots'])_0x552a5c['set'](_0x52354c,q(_0x3d123c)),_0x42eba8['set'](_0x52354c,this['_diffRootsAttributes']['get'](_0x52354c));this['_saveMetaData'](_0x43c2a7,_0x552a5c,this['_markers'],_0x42eba8);}['_getPreviousFrom'](_0x317c2c){const _0xe8725a=Array['from'](this['_savedMetaData']['keys']());_0xe8725a['sort']((_0x236306,_0x2aeb81)=>_0x236306-_0x2aeb81),_0xe8725a['reverse']();for(const _0xcf7e8f of _0xe8725a)if(_0xcf7e8f<_0x317c2c)return _0xcf7e8f;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1b7cf4,_0x48cd22){const _0x64b600=Array['from'](_0x48cd22['markers'])['map'](([_0x18bbda,_0x876dba])=>[_0x18bbda,this['_fixRange'](_0x876dba,_0x1b7cf4)]);_0x1b7cf4['markers']=new Map(_0x64b600);}['_transformMarkers'](_0x3cb81f){for(const _0x4d49f6 of this['_markers']['values']()){const _0x51b550=_0x4d49f6['getTransformedByOperation'](_0x3cb81f),_0x3260b1=gt['_createFromRanges'](_0x51b550);_0x4d49f6['start']=_0x3260b1['start'],_0x4d49f6['end']=_0x3260b1['end'];}}['_handleOperation'](_0x5e8f27,_0x236b6c){if('addRoot'==_0x5e8f27['type']||'detachRoot'==_0x5e8f27['type'])return void this['_handleRootOperation'](_0x5e8f27,_0x236b6c);if('insert'==_0x5e8f27['type']){const _0x154c98=_0x5e8f27['position']['root']['rootName'];this['_diffRoots']['has'](_0x154c98)||(this['_diffRoots']['set'](_0x154c98,G(_0x154c98,!0x0)),this['_diffRootsAttributes']['set'](_0x154c98,{}),_0x236b6c&&this['_idsRoots']['set'](_0x154c98,G(_0x154c98,!0x0)));}else{if('addRootAttribute'==_0x5e8f27['type']||'removeRootAttribute'==_0x5e8f27['type']||'changeRootAttribute'==_0x5e8f27['type'])return void this['_handleRootAttributeOperation'](_0x5e8f27);}const _0x1f0a97=this['_cloneOperation'](_0x5e8f27,this['_diffRoots']);if('marker'!==_0x5e8f27['type']&&(_0x1f0a97['_execute'](),this['_transformMarkers'](_0x1f0a97)),_0x236b6c)switch(_0x1f0a97['type']){case'insert':this['_handleInsertOperation'](_0x5e8f27);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5e8f27);break;case'merge':this['_handleMergeOperation'](_0x5e8f27);break;case'split':this['_handleSplitOperation'](_0x5e8f27);break;case'marker':this['_handleMarkerOperation'](_0x5e8f27);}}['_cloneOperation'](_0xe22e73,_0x1d86bb){const _0x515e5f=_0xe22e73['clone']();return _0x515e5f['_authorId']=_0xe22e73['_authorId'],this['_fixOperation'](_0x515e5f,_0x1d86bb),_0x515e5f;}['_getBaseVids'](_0x414939){return _0x414939['map'](_0x927fa6=>{const _0xbd6a82=this['_getVidAttributeName'](_0x927fa6);return Number(_0x927fa6['item']['getAttribute'](_0xbd6a82));});}['_generateTape'](_0x453401,_0x2da381){if(_0x453401['is']('element','$text'))_0x2da381['push']({'item':_0x453401,'type':'text'});else{_0x453401['is']('element')&&_0x2da381['push']({'item':_0x453401,'type':'elementStart'});for(const _0x2afe32 of _0x453401['getChildren']())this['_generateTape'](_0x2afe32,_0x2da381);_0x453401['is']('element')&&_0x2da381['push']({'item':_0x453401,'type':'elementEnd'});}return _0x2da381;}['_getState'](){const _0x35a270=new Map(this['_touched']),_0x94b98b=new Map(_0x35a270),_0x79ef6b=new Map(),_0x24e599={'insertions':{},'deletions':{}},_0x25c971={'insertions':{},'deletions':{}},_0x3fcf10=new Map(),_0x26edc4=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x26edc4['delete']('$graveyard');for(const _0x3f284b of _0x26edc4){const _0x4bdd25=this['_diffRoots']['get'](_0x3f284b)||G(_0x3f284b,!0x1),_0x345d41=this['_baseRoots']['get'](_0x3f284b)||G(_0x3f284b,!0x1);_0x4bdd25['isAttached']()||_0x345d41['isAttached']()?(_0x24e599['insertions'][_0x3f284b]=q(_0x4bdd25),_0x24e599['deletions'][_0x3f284b]=q(_0x345d41),this['_copyMarkers'](_0x24e599['deletions'][_0x3f284b],_0x345d41),this['_copyMarkers'](_0x24e599['insertions'][_0x3f284b],_0x4bdd25),_0x25c971['insertions'][_0x3f284b]=this['_generateTape'](this['_idsRoots']['get'](_0x3f284b),[]),_0x25c971['deletions'][_0x3f284b]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3f284b)||G(_0x3f284b,!0x1),[])):_0x26edc4['delete'](_0x3f284b);}for(const _0x2b2e55 of _0x26edc4){const _0x411a7d=_0x25c971['insertions'][_0x2b2e55];for(const _0x801531 of _0x411a7d){const _0x10acbd=this['_getVidAttributeName'](_0x801531),_0x2b14cc=_0x801531['item']['getAttribute'](_0x10acbd);_0x94b98b['delete'](_0x2b14cc),_0x2b14cc>=this['_startingRevisionId']&&_0x79ef6b['set'](_0x2b14cc,_0x35a270['get'](_0x2b14cc));}}for(const _0x3654e0 of _0x26edc4){const _0x791717=_0x25c971['insertions'][_0x3654e0],_0x5bd90c=this['_getBaseVids'](_0x25c971['deletions'][_0x3654e0]);let _0x241124=0x0;for(const _0x2c561f of _0x791717){const _0x3a8fbe=this['_getVidAttributeName'](_0x2c561f),_0xb131a4=_0x2c561f['item']['getAttribute'](_0x3a8fbe);if(!_0x79ef6b['has'](_0xb131a4)&&!_0x3fcf10['has'](_0xb131a4)){if(_0x94b98b['has'](_0xb131a4))_0x241124++;else{if(_0xb131a4!=_0x5bd90c[_0x241124]){const _0x27e729=_0x35a270['get'](_0xb131a4)||_0x35a270['get'](_0x5bd90c[_0x241124]);for(;_0xb131a4!=_0x5bd90c[_0x241124];)_0x94b98b['has'](_0x5bd90c[_0x241124])||(_0x3fcf10['set'](_0x5bd90c[_0x241124],_0x27e729),_0x35a270['set'](_0x5bd90c[_0x241124],_0x27e729)),_0x241124++;}_0x241124++;}}}}for(const _0xb9749 of _0x26edc4){const _0x4f50ba=_0x25c971['insertions'][_0xb9749];for(const _0x607d41 of _0x4f50ba){const _0xd2935e=this['_getVidAttributeName'](_0x607d41),_0x54aedf=_0x607d41['item']['getAttribute'](_0xd2935e);if(_0x3fcf10['has'](_0x54aedf)){const _0x350a37=_0x3fcf10['get'](_0x54aedf);_0x94b98b['has'](_0x54aedf)||_0x94b98b['set'](_0x54aedf,{..._0x350a37}),_0x79ef6b['set'](_0x54aedf,{..._0x350a37});}}}for(const _0x211522 of _0x94b98b['keys']())_0x211522>=this['_startingRevisionId']&&_0x94b98b['delete'](_0x211522);const _0x4d4415=new Map();for(const _0x554769 of _0x26edc4){let _0xd1661e=_0x25c971['insertions'][_0x554769];for(const _0x23dcaa of _0xd1661e)if(_0x23dcaa['item']['is']('element','tableCell')){const _0x5a7b8b=this['_getVidAttributeName'](_0x23dcaa),_0x10c5b3=_0x23dcaa['item']['getAttribute'](_0x5a7b8b);if(_0x79ef6b['has'](_0x10c5b3)){const _0x16c86f=_0x23dcaa['item']['parent']['parent']['getAttribute']('vid_start'),_0x17fd3f=_0x4d4415['get'](_0x16c86f)||new Set();_0x17fd3f['add'](_0x79ef6b['get'](_0x10c5b3)['userId']),_0x4d4415['set'](_0x16c86f,_0x17fd3f);}}_0xd1661e=_0x25c971['deletions'][_0x554769];for(const _0x37f808 of _0xd1661e)if(_0x37f808['item']['is']('element','tableCell')){const _0x4e3500=this['_getVidAttributeName'](_0x37f808),_0x25f2ce=_0x37f808['item']['getAttribute'](_0x4e3500);if(_0x94b98b['has'](_0x25f2ce)){const _0x4478ec=_0x37f808['item']['parent']['parent']['getAttribute']('vid_start'),_0x2de9e1=_0x4d4415['get'](_0x4478ec)||new Set();_0x2de9e1['add'](_0x94b98b['get'](_0x25f2ce)['userId']),_0x4d4415['set'](_0x4478ec,_0x2de9e1);}}for(const _0x4e0be6 of _0x4d4415['keys']())(_0x79ef6b['has'](_0x4e0be6)||_0x94b98b['has'](_0x4e0be6))&&_0x4d4415['delete'](_0x4e0be6);}for(const _0x4e5cf9 of _0x26edc4){const _0x48e4c1=_0x25c971['insertions'][_0x4e5cf9];let _0x1cb18c=null,_0x167b6f=null;for(const _0x777120 of _0x48e4c1){const _0x4d8460=this['_getVidAttributeName'](_0x777120),_0x1c3a10=_0x777120['item']['getAttribute'](_0x4d8460),_0x28a2bb=_0x4d4415['get'](_0x1c3a10);_0x28a2bb&&'elementStart'==_0x777120['type']&&(_0x1cb18c=Array['from'](_0x28a2bb)[0x0],_0x167b6f=_0x777120['item']['getAttribute']('vid_end')),_0x1cb18c&&(_0x94b98b['set'](_0x1c3a10,{'userId':_0x1cb18c}),_0x79ef6b['set'](_0x1c3a10,{'userId':_0x1cb18c})),_0x1c3a10==_0x167b6f&&(_0x1cb18c=null,_0x167b6f=null);}}const _0x363af1={},_0x3f8076=new Set();for(const _0x3af61f of _0x26edc4){const _0x2514e1=_0x24e599['deletions'][_0x3af61f],_0x16fefb=_0x24e599['insertions'][_0x3af61f];for(const {userId:_0x3a8ea0}of this['_touchedMarkers']['values']())null!==_0x3a8ea0&&_0x3f8076['add'](_0x3a8ea0);for(const {userId:_0x3365d3}of this['_touchedRoots']['values']())null!==_0x3365d3&&_0x3f8076['add'](_0x3365d3);this['_markChanges'](_0x16fefb,_0x25c971['insertions'][_0x3af61f],_0x79ef6b,'insertion',_0x3f8076),this['_markChanges'](_0x2514e1,_0x25c971['deletions'][_0x3af61f],_0x94b98b,'deletion',_0x3f8076),_0x363af1[_0x3af61f]={'insertions':this['_prepareViewToSave'](_0x16fefb),'deletions':this['_prepareViewToSave'](_0x2514e1),'attachChange':this['_touchedRoots']['get'](_0x3af61f)||null,'attributesBefore':_0x342b34(this['_baseRootsAttributes']['get'](_0x3af61f))||{},'attributesAfter':_0x342b34(this['_diffRootsAttributes']['get'](_0x3af61f))};}return{'diffData':_0x363af1,'authorsIds':Array['from'](_0x3f8076)};}['_processRootBeforeSave'](_0x4ad44a){for(const [,_0x2d67cc]of _0x4ad44a['markers']){const _0x597848=_0x2d67cc['start']['getAncestors']()['filter'](_0x282bfc=>'tableCell'==_0x282bfc['name']);for(const _0xd75ef1 of _0x597848)0x1==_0xd75ef1['childCount']&&_0xd75ef1['getChild'](0x0)['is']('element','paragraph')&&_0xd75ef1['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xb1b848){this['_processRootBeforeSave'](_0xb1b848);const _0x1a7e00=this['editor']['data']['toView'](_0xb1b848,{}),_0x287a66=Array['from'](_0x1a7e00['getChildren']())['map'](_0x335141=>this['_getViewJson'](_0x335141));return JSON['stringify'](_0x287a66);}['_getViewJson'](_0x2c27d9){if(_0x2c27d9['is']('$text'))return _0x2c27d9['data'];{const _0x2429c8=_0x2c27d9;return{'type':Object['keys'](T)['find'](_0x13b2cc=>_0x2c27d9 instanceof T[_0x13b2cc]),'name':_0x2429c8['name'],'attributes':Array['from'](_0x2429c8['getAttributes']()),'children':Array['from'](_0x2429c8['getChildren']())['map'](_0x16102c=>this['_getViewJson'](_0x16102c))};}}['_markChanges'](_0x57d987,_0x694fa8,_0x1f3150,_0x3dc5d7,_0x5f1ae5){let _0x291f02=null,_0xd7e320=null,_0x33c398=0x0;const _0x20c262=this['editor']['model'];for(let _0x343778=0x0;_0x343778<_0x694fa8['length'];_0x343778++){const _0x58fe08=this['_getVidAttributeName'](_0x694fa8[_0x343778]),_0x4d7730=_0x694fa8[_0x343778]['item']['getAttribute'](_0x58fe08),_0x40dd88=_0x1f3150['get'](_0x4d7730),_0x2e6fdc=_0x343778==_0x694fa8['length']-0x1;(!_0x291f02&&_0x40dd88&&(_0x291f02=_0x40dd88,_0xd7e320=_0x694fa8[_0x343778]),_0x291f02&&(!_0x40dd88||_0x40dd88['userId']!=_0x291f02['userId']))&&(_0x5d3c00(_0x40dd88,L(_0xd7e320,_0x57d987,_0x20c262),L(_0x694fa8[_0x343778],_0x57d987,_0x20c262)),_0x291f02=_0x40dd88||null,_0xd7e320=_0x40dd88?_0x694fa8[_0x343778]:null),_0x291f02&&_0x2e6fdc&&_0x5d3c00(_0x40dd88,L(_0xd7e320,_0x57d987,_0x20c262),W(_0x694fa8[_0x343778],_0x57d987,_0x20c262));}function _0x5d3c00(_0x5ef393,_0x2b96d5,_0x4c6629){const _0x14edad=_0x291f02['userId'],_0x25de1c='revision:'+_0x3dc5d7+':'+_0x14edad+':'+_0x33c398++,_0x1e5b71=_0x20c262['createRange'](_0x2b96d5,_0x4c6629);_0x57d987['markers']['set'](_0x25de1c,_0x1e5b71),null!==_0x14edad&&_0x5f1ae5['add'](_0x14edad);}}['_getVidAttributeName'](_0x5b765e){switch(_0x5b765e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5ba3e5,_0x23cb91){_0x5ba3e5['baseVersion']=null;for(const _0x114343 in _0x5ba3e5){const _0x16c3d2=_0x5ba3e5[_0x114343];if(_0x16c3d2 instanceof wt){const _0x246a81=_0x23cb91['get'](_0x16c3d2['root']['rootName']);_0x5ba3e5[_0x114343]=this['_fixPosition'](_0x16c3d2,_0x246a81);}if(_0x16c3d2 instanceof gt){const _0x1e87a3=_0x23cb91['get'](_0x16c3d2['root']['rootName']);_0x5ba3e5[_0x114343]=this['_fixRange'](_0x16c3d2,_0x1e87a3);}'root'===_0x114343&&(_0x5ba3e5['root']=_0x23cb91['get'](_0x5ba3e5['root']['rootName']));}}['_fixRange'](_0xca8b7a,_0x49b901){return this['editor']['model']['createRange'](this['_fixPosition'](_0xca8b7a['start'],_0x49b901),this['_fixPosition'](_0xca8b7a['end'],_0x49b901));}['_fixPosition'](_0x34aa44,_0x4e1750){return this['editor']['model']['createPositionFromPath'](_0x4e1750,_0x34aa44['path'],_0x34aa44['stickiness']);}['_handleInsertOperation'](_0x49a41d){const _0x5b5823=this['_idsRoots']['get'](_0x49a41d['position']['root']['rootName']),_0x58bf9f=this['_fixPosition'](_0x49a41d['position'],_0x5b5823),_0x2a58f8=null===_0x49a41d['_authorId']?null:_0x49a41d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2c28d7=_0x58bf9f['parent'],_0x2ddf2e=this['_revisionId'],_0x3bc4fa=[];for(const _0x54a8de of _0x49a41d['nodes'])if(_0x54a8de['is']('element'))_0x3bc4fa['push'](this['_makeIdsRoot'](_0x54a8de));else{for(let _0x344bc4=0x0;_0x344bc4<_0x54a8de['offsetSize'];_0x344bc4++)_0x3bc4fa['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x8131eb=this['_revisionId'];for(let _0x57b377=_0x2ddf2e;_0x57b377<_0x8131eb;_0x57b377++)this['_touched']['set'](_0x57b377,{'userId':_0x2a58f8});_0x2c28d7['_insertChild'](_0x58bf9f['offset'],_0x3bc4fa);}['_handleMoveOperation'](_0x207b94){(_0x207b94=this['_cloneOperation'](_0x207b94,this['_idsRoots']))['_execute']();const _0x30d84d=null===_0x207b94['_authorId']?null:_0x207b94['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f3c73=_0x207b94['getMovedRangeStart'](),_0x210b5c=_0x1f3c73['parent'],_0x2a1f99=_0x1f3c73['offset'];!function _0x68f73d(_0x28b28f,_0xd87469,_0x34057a,_0x1829f7){for(let _0x5895c2=_0x34057a;_0x5895c2<_0x1829f7;_0x5895c2++){const _0x594945=_0xd87469['getChild'](_0x5895c2);_0x594945['is']('element','$text')?_0x28b28f['set'](_0x594945['getAttribute']('vid'),{'userId':_0x30d84d}):(_0x28b28f['set'](_0x594945['getAttribute']('vid_start'),{'userId':_0x30d84d}),_0x68f73d(_0x28b28f,_0x594945,0x0,_0x594945['childCount']),_0x28b28f['set'](_0x594945['getAttribute']('vid_end'),{'userId':_0x30d84d}));}}(this['_touched'],_0x210b5c,_0x2a1f99,_0x2a1f99+_0x207b94['howMany']);}['_handleMergeOperation'](_0x3d0d6b){const _0x595efa=null===(_0x3d0d6b=this['_cloneOperation'](_0x3d0d6b,this['_idsRoots']))['_authorId']?null:_0x3d0d6b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1adaca=_0x3d0d6b['targetPosition']['parent'],_0x339f92=_0x3d0d6b['sourcePosition']['parent'],_0xc832a4=_0x1adaca['getAttribute']('vid_end'),_0x143c08=_0x339f92['getAttribute']('vid_start');_0x1adaca['_setAttribute']('vid_end',_0x339f92['getAttribute']('vid_end')),_0x339f92['_setAttribute']('vid_end',_0xc832a4),this['_touched']['set'](_0x143c08,{'userId':_0x595efa}),this['_touched']['set'](_0xc832a4,{'userId':_0x595efa}),_0x3d0d6b['_execute']();}['_handleSplitOperation'](_0xae9901){const _0xa18d2=null===(_0xae9901=this['_cloneOperation'](_0xae9901,this['_idsRoots']))['_authorId']?null:_0xae9901['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1039a7=_0xae9901['graveyardPosition'],_0x5ac8bb=_0xae9901['splitPosition']['parent'];_0xae9901['_execute']();const _0x5c8d75=_0x5ac8bb['getAttribute']('vid_end'),_0x4c9108=_0xae9901['insertionPosition']['nodeAfter'];if(_0x1039a7){const _0x4d778a=_0x4c9108['getAttribute']('vid_end'),_0x561376=_0x5ac8bb['getAttribute']('vid_end');_0x5ac8bb['_setAttribute']('vid_end',_0x4d778a),_0x4c9108['_setAttribute']('vid_end',_0x561376),this['_touched']['set'](_0x5ac8bb['getAttribute']('vid_end'),{'userId':_0xa18d2}),this['_touched']['set'](_0x4c9108['getAttribute']('vid_start'),{'userId':_0xa18d2});}else{const _0x3f8f49=this['_revisionId']++,_0x259c49=this['_revisionId']++;_0x5ac8bb['_setAttribute']('vid_end',_0x3f8f49),_0x4c9108['_setAttribute']('vid_start',_0x259c49),_0x4c9108['_setAttribute']('vid_end',_0x5c8d75),this['_touched']['set'](_0x3f8f49,{'userId':_0xa18d2}),this['_touched']['set'](_0x259c49,{'userId':_0xa18d2});}}['_handleMarkerOperation'](_0x2c7e33){if(!_0x2c7e33['affectsData'])return;const _0x53eadf=(_0x2c7e33=this['_cloneOperation'](_0x2c7e33,this['_diffRoots']))['oldRange']?_0x2c7e33['oldRange']['root']:null,_0xd066a1=_0x2c7e33['newRange']?_0x2c7e33['newRange']['root']:null;_0x53eadf&&this['_markers']['delete'](_0x2c7e33['name']),_0xd066a1&&this['_markers']['set'](_0x2c7e33['name'],_0x2c7e33['newRange']['clone']());const _0x5763b1=null===_0x2c7e33['_authorId']?null:_0x2c7e33['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x50d76d=_0x2c7e33['name'];if(!this['_touchedMarkers']['has'](_0x50d76d))return void this['_touchedMarkers']['set'](_0x50d76d,{'range':_0x2c7e33['oldRange'],'userId':_0x5763b1});const _0x29a3a8=this['_touchedMarkers']['get'](_0x50d76d),_0x47973e=_0x29a3a8['range'],_0x1b81b1=_0x2c7e33['newRange'];null==_0x47973e&&null==_0x1b81b1||_0x47973e&&_0x1b81b1&&_0x47973e['isEqual'](_0x1b81b1)?this['_touchedMarkers']['delete'](_0x2c7e33['name']):_0x29a3a8['userId']=_0x5763b1;}['_handleRootOperation'](_0x57504a,_0x528562){this['_diffRoots']['has'](_0x57504a['rootName'])?this['_diffRoots']['get'](_0x57504a['rootName'])['_isAttached']=_0x57504a['isAdd']:(this['_diffRoots']['set'](_0x57504a['rootName'],G(_0x57504a['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x57504a['rootName'],{}),_0x528562&&this['_idsRoots']['set'](_0x57504a['rootName'],G(_0x57504a['rootName'],!0x0)));const _0x4720d7=null===_0x57504a['_authorId']?null:_0x57504a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e9778=this['_touchedRoots']['get'](_0x57504a['rootName']);_0x3e9778&&_0x3e9778['userId']===_0x4720d7?this['_touchedRoots']['delete'](_0x57504a['rootName']):this['_touchedRoots']['set'](_0x57504a['rootName'],{'userId':_0x4720d7,'isAttached':_0x57504a['isAdd']});}['_handleRootAttributeOperation'](_0x24dd88){const _0x20a76a=this['_diffRootsAttributes']['get'](_0x24dd88['root']['rootName']);null===_0x24dd88['newValue']?delete _0x20a76a[_0x24dd88['key']]:_0x20a76a[_0x24dd88['key']]=_0x24dd88['newValue'];}constructor(_0x340c38){this['editor']=_0x340c38,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(_0x1dbd93){const _0x32eb64=G(_0x1dbd93['rootName'],_0x1dbd93['isAttached']());for(const _0x20c2fb of _0x1dbd93['getChildren']()){const _0x8cb991=_0x20c2fb['_clone'](!0x0);_0x32eb64['_appendChild'](_0x8cb991);}return _0x32eb64;}function G(_0x14f7bc,_0x53e65c=!0x0){const _0x485bd7=new _t();return _0x485bd7['rootName']=_0x14f7bc,_0x485bd7['_isAttached']=_0x53e65c,_0x485bd7['isAttached']=()=>_0x485bd7['_isAttached'],_0x485bd7;}function L(_0x42593f,_0x1be86c,_0x190ee6){const _0x4079c3='elementEnd'==_0x42593f['type']?_0x190ee6['createPositionAt'](_0x42593f['item'],'end'):_0x190ee6['createPositionBefore'](_0x42593f['item']);return _0x190ee6['createPositionFromPath'](_0x1be86c,_0x4079c3['path'],_0x4079c3['stickiness']);}function W(_0x462179,_0x178dcd,_0x2b2d8b){const _0x14fd26='elementStart'==_0x462179['type']?_0x2b2d8b['createPositionAt'](_0x462179['item'],0x0):_0x2b2d8b['createPositionAfter'](_0x462179['item']);return _0x2b2d8b['createPositionFromPath'](_0x178dcd,_0x14fd26['path'],_0x14fd26['stickiness']);}class ns extends _0x237d8f{['render'](){super['render'](),_0x14b1e6({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1ae9e6=_0x351ee5=>_0x351ee5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ae9e6),this['keystrokes']['set']('arrowleft',_0x1ae9e6),this['keystrokes']['set']('arrowup',_0x1ae9e6),this['keystrokes']['set']('arrowdown',_0x1ae9e6);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5b6293){this['revisionNameInputView']['fieldView']['element']['value']=_0x5b6293['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xd63b18){const _0x1f5394=new mt(this['locale'],_0x441018),_0xeca28d=_0x1f5394['fieldView'];_0xeca28d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x421f07=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xd63b18&&(_0x421f07+='\x20('+y(this['locale'],'optional')+')'),(_0x1f5394['label']=_0x421f07,_0xeca28d['on']('input',()=>{this['revisionNameInputValue']=_0xeca28d['element']['value']['trim']();}),_0x1f5394);}constructor(_0x4dd28c,_0x22ec83){super(_0x4dd28c),this['focusTracker']=new _0x10cf41(),this['keystrokes']=new _0x392cb1(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x22ec83),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 _0x391dad{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0xfa55f7=this['editor'],_0x5a41d9=_0xfa55f7['plugins']['get']('RevisionTracker');_0xfa55f7['ui']['componentFactory']['add']('revisionHistory',_0x14f012=>{const _0x59abf7=_0x26ee4c(_0x14f012),_0x201a4c=_0x59abf7['panelView']['children'],_0x1ab011=new te(_0x14f012),_0xaceaae=new _0x5e2075(_0x14f012),_0x456a00=new _0x1c1d45(_0x14f012),_0x1be6cb=new _0x5e2075(_0x14f012),_0x379583=new _0x1c1d45(_0x14f012);return _0x59abf7['bind']('isEnabled')['to'](_0x5a41d9,'isReady',_0x5a41d9,'isEnabled',_0xfa55f7,'isReadOnly',(_0x3ee1a4,_0x21b0b3,_0x113959)=>_0x3ee1a4&&_0x21b0b3&&!_0x113959),_0x59abf7['buttonView']['set']({'icon':_0xb894cb['history'],'label':y(_0x14f012,'Revision\x20history'),'tooltip':!0x0}),_0x456a00['set']({'label':y(_0x14f012,'Save\x20current\x20revision'),'withText':!0x0}),_0x456a00['bind']('isEnabled')['to'](_0x5a41d9,'isReady',_0x5a41d9,'isEnabled',_0xfa55f7,'isReadOnly',(_0x173353,_0x3bc215,_0x4684f7)=>_0x173353&&_0x3bc215&&!_0x4684f7),_0x456a00['on']('execute',()=>this['_showDialog']()),_0x379583['set']({'label':y(_0x14f012,'Open\x20revision\x20history'),'withText':!0x0}),_0x379583['bind']('isEnabled')['to'](_0x5a41d9,'isReady',_0xfa55f7,'isReadOnly',(_0x16b0ef,_0x1a14be)=>_0x16b0ef&&!_0x1a14be),_0x379583['on']('execute',()=>{_0xfa55f7['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x59abf7['isOpen']=!0x1,_0xfa55f7['editing']['view']['focus']();}),_0xaceaae['children']['add'](_0x456a00),_0x1be6cb['children']['add'](_0x379583),_0x1ab011['items']['addMany']([_0xaceaae,_0x1be6cb]),_0x201a4c['add'](_0x1ab011),_0x59abf7;}),_0xfa55f7['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2777eb=this['editor'],_0x229bc0=_0x2777eb['locale'],_0x3a8df9=new _0x1a3c76(_0x229bc0),_0x94715=new _0x185b1e(_0x229bc0);_0x3a8df9['buttonView']['set']({'icon':_0xb894cb['history'],'label':y(_0x229bc0,'Revision\x20history')});const _0x1acf7e=new _0x14a5a5(_0x229bc0,_0x3a8df9),_0x123868=new _0x239e69(_0x229bc0);_0x123868['set']({'label':y(_0x229bc0,'Save\x20current\x20revision')}),_0x123868['delegate']('execute')['to'](_0x3a8df9),_0x123868['on']('execute',()=>{this['_showDialog']();}),_0x1acf7e['children']['add'](_0x123868),_0x94715['items']['add'](_0x1acf7e);const _0x1d9642=new _0x14a5a5(_0x229bc0,_0x3a8df9),_0x2cf86d=new _0x239e69(_0x229bc0);return _0x2cf86d['set']({'label':y(_0x229bc0,'Open\x20revision\x20history')}),_0x2cf86d['delegate']('execute')['to'](_0x3a8df9),_0x2cf86d['on']('execute',()=>{_0x2777eb['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1d9642['children']['add'](_0x2cf86d),_0x94715['items']['add'](_0x1d9642),_0x3a8df9['panelView']['children']['add'](_0x94715),_0x3a8df9;}['_showDialog'](){const _0x34581f=this['editor'],_0x2f3739=_0x34581f['locale'],t=_0x2f3739['t'],_0x53b068=_0x34581f['plugins']['get']('Dialog'),_0x2fb3a3=_0x34581f['plugins']['get']('RevisionTracker');function _0x7f6332(_0xd41166){_0x34581f['config']['get']('revisionHistory.requireRevisionName')&&''===_0xd41166['revisionName']?_0xd41166['revisionNameInputView']['errorText']=y(_0x2f3739,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x34581f['plugins']['get'](l)['saveRevision']({'name':_0xd41166['revisionName']}),_0x53b068['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x7f6332(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x53b068['show']({'id':'findAndReplace','title':y(_0x2f3739,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x53b068['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x15bc5f){_0x15bc5f['bind']('isEnabled')['to'](_0x2fb3a3,'isReady',_0x2fb3a3,'isEnabled',_0x34581f,'isReadOnly',(_0x148d05,_0x5d821f,_0x4b1b6d)=>_0x148d05&&_0x5d821f&&!_0x4b1b6d);},'onExecute':()=>_0x7f6332(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x234510=this['editor'],_0x46942a=_0x234510['locale'];this['_saveRevisionFormView']=new ns(_0x46942a,_0x234510['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x237d8f{['focus'](){this['element']['focus']();}constructor(_0x1717b0,_0x1f56a1){super(_0x1717b0),this['_model']=_0x1f56a1,this['changeId']=_0x1f56a1['id'];const _0x82262e=this['bindTemplate'],_0x2bd520=y(_0x1717b0,_0x1f56a1['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1f56a1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1f56a1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x82262e['to']('type',_0x8c1f45=>'ck-revision-change__'+_0x8c1f45)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2bd520}]},{'text':'\x20'+_0x1f56a1['author']['name']}]}]});}}class r extends _0x948c8f(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x3f5920){super(),this['id']=_0x3f5920['id']||_0x424868(),this['author']=_0x3f5920['author'],this['type']=_0x3f5920['type'],this['data']=_0x3f5920['data']||{},this['rootName']=_0x3f5920['rootName'],this['set']('createdAt',_0x3f5920['createdAt']);}}class f{['_setChanges'](_0x3cae51){for(const _0xa5aca8 of _0x3cae51)this['changes']['add'](_0xa5aca8);}constructor(_0x1f76b1,_0x36ecfe){this['newRevisionId']=_0x1f76b1,this['oldRevisionId']=_0x36ecfe,this['changes']=new _0x232aea();}}const tt={'c':_0x2b4473,'a':_0x3350fa,'e':_0xb85a1d,'r':_0x1b0670,'u':_0x4155ff};class d extends _0x391dad{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x3772ba,_0x9fab02,A];}['init'](){const _0x56806a=this['editor'],_0x357faf=new Rt(_0x56806a,{'direction':'backward'}),_0x711a0d=new Rt(_0x56806a,{'direction':'forward'});(_0x56806a['commands']['add']('showPreviousChange',_0x357faf),_0x56806a['commands']['add']('showNextChange',_0x711a0d),_0x56806a['commands']['add']('restoreRevision',new bt(_0x56806a)),this['on']('change:numberOfChanges',()=>{_0x357faf['refresh'](),_0x711a0d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x56806a['enableReadOnlyMode']('revision-viewer'),_0x56806a['plugins']['has']('WidgetToolbarRepository'))&&_0x56806a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x454bc0){await this['loadRevisionData'](_0x454bc0);const _0x29f33b={};for(const _0x5edc31 in _0x454bc0['diffData']){if(_0x454bc0['diffData'][_0x5edc31]['attachChange']&&!_0x454bc0['diffData'][_0x5edc31]['attachChange']['isAttached'])continue;const _0x243b6b=this['_removeRevisionMarkers'](JSON['parse'](_0x454bc0['diffData'][_0x5edc31]['insertions'])),_0x1b616d=this['editor']['editing']['view']['document'],_0xa5b0bd=new _0x4e4a96(_0x1b616d,_0x243b6b['map'](_0x11d401=>this['_getViewObj'](_0x11d401)));this['editor']['data']['processor']['useFillerType']('marked'),_0x29f33b[_0x5edc31]=this['editor']['data']['processor']['toData'](_0xa5b0bd),this['editor']['data']['processor']['useFillerType']('default');}return _0x29f33b;}async['getRevisionRootsAttributes'](_0x2ac431){await this['loadRevisionData'](_0x2ac431);const _0x3a15fe={};for(const _0x4f7473 in _0x2ac431['diffData'])_0x2ac431['diffData'][_0x4f7473]['attachChange']&&!_0x2ac431['diffData'][_0x4f7473]['attachChange']['isAttached']||(_0x3a15fe[_0x4f7473]=_0x2ac431['diffData'][_0x4f7473]['attributesAfter']||{});return _0x3a15fe;}['_removeRevisionMarkers'](_0xa865f5){return(_0xa865f5=_0xa865f5['filter'](_0x2443c4=>!_0x2443c4['name']||'revision-start'!==_0x2443c4['name']&&'revision-end'!==_0x2443c4['name']))['forEach'](_0x172d3b=>{'string'!=typeof _0x172d3b&&(_0x172d3b['children']=this['_removeRevisionMarkers'](_0x172d3b['children']),_0x172d3b['attributes']=_0x172d3b['attributes']['filter'](_0x5ae53a=>!_0x5ae53a[0x0]['startsWith']('data-revision-')));}),_0xa865f5;}async['compare'](_0x1850e3,_0x29b772,_0x205858=!0x1){if(!this['isEnabled'])return;const _0x235f40=this['diff'],_0x2cb2a4=this['repository'],_0x71fe7b='string'==typeof _0x1850e3?_0x2cb2a4['getRevision'](_0x1850e3):_0x1850e3,_0x4cb5b7='string'==typeof _0x29b772?_0x2cb2a4['getRevision'](_0x29b772):_0x29b772,_0x547c50=_0x71fe7b['id'],_0x3d61c0=_0x4cb5b7?_0x4cb5b7['id']:null;if(!_0x205858&&this['diff']&&this['diff']['newRevisionId']===_0x547c50&&this['diff']['oldRevisionId']===_0x3d61c0)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x547c50,_0x3d61c0);const _0x53eb81=this['_getRevisionsRange'](_0x71fe7b,_0x4cb5b7,!0x0)['map'](_0x273434=>this['loadRevisionData'](_0x273434));return _0x53eb81['push'](new Promise(_0x5dbe7b=>{setTimeout(_0x5dbe7b,0x14);})),Promise['all'](_0x53eb81)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1ca6f3=this['_getDiff'](_0x547c50,_0x3d61c0);for(const _0x4e5af6 of _0x1ca6f3['changes'])this['_changeIdToChange']['set'](_0x4e5af6['id'],_0x4e5af6);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5f2547=>{for(const _0x15c43f of this['editor']['model']['document']['getRootNames']())_0x5f2547['detachRoot'](_0x15c43f);for(const _0x3f1b41 of Object['keys'](_0x1ca6f3['model'])){const _0x11ab38=_0x5f2547['addRoot'](_0x3f1b41);for(const _0x51f7db of Object['keys'](_0x1ca6f3['attributes'][_0x3f1b41]))_0x5f2547['setAttribute'](_0x51f7db,_0x1ca6f3['attributes'][_0x3f1b41][_0x51f7db],_0x11ab38);_0x5f2547['insert'](_0x1ca6f3['model'][_0x3f1b41],_0x11ab38,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1ca6f3['changes'])),this['isReady']=!0x0;})['catch'](_0x25653f=>{console['error'](_0x25653f),this['_cleanUp'](),_0x235f40&&(this['diff']=_0x235f40),this['isReady']=!0x0;});}['addRevisionData'](_0x5bb1f9,_0x1de603){const _0x3d06a3=this['repository']['createRevision'](_0x5bb1f9);return _0x3d06a3['on']('_update',(_0x315cf9,_0x2cfbce,_0x4cc8d5)=>_0x1de603(_0x2cfbce,_0x4cc8d5,_0x3d06a3)),this['repository']['addRevision'](_0x3d06a3),_0x3d06a3;}['loadRevisionData'](_0xdeb742){if(!_0xdeb742||_0xdeb742['diffData'])return Promise['resolve']();{const _0x556706=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x556706,'revisionId':_0xdeb742['id']})['then'](_0x22e891=>{_0xdeb742['_update']({'diffData':_0x22e891['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},_0x2f3219=>{for(const _0x24173c of this['editor']['model']['document']['getRootNames']())_0x2f3219['detachRoot'](_0x24173c);});}['_sortAndFilterDiffChanges'](_0x22d660){const _0x293ccb=[],_0x2e554c=new Map();for(const _0x3ba68d of this['editor']['model']['document']['getRootNames']()){const _0x3d38ee=this['editor']['editing']['view']['getDomRoot'](_0x3ba68d);if(!_0x3d38ee)continue;const _0x3a806a=_0x3d38ee['getClientRects']()['item'](0x0);_0x3a806a&&(_0x293ccb['push'](_0x3ba68d),_0x2e554c['set'](_0x3ba68d,_0x3a806a));}return _0x293ccb['sort']((_0x143df4,_0xb57230)=>{const _0x1e7901=_0x2e554c['get'](_0x143df4),_0x274b13=_0x2e554c['get'](_0xb57230);return _0x1e7901['y']-_0x274b13['y']||_0x1e7901['x']-_0x274b13['x'];}),(_0x22d660=_0x22d660['filter'](_0x5d9884=>_0x293ccb['includes'](_0x5d9884['rootName'])))['sort']((_0x19aee2,_0x51271e)=>_0x293ccb['indexOf'](_0x19aee2['rootName'])-_0x293ccb['indexOf'](_0x51271e['rootName'])),_0x22d660;}['_makeTape'](_0x5a9ba1){const _0xc35026=Array['from'](_0x5a9ba1['markers'])['filter'](([_0xe5d90d,_0x3ce26b])=>_0xe5d90d['startsWith']('revision:')&&!_0x3ce26b['isCollapsed']),_0x14a0e7=Array['from'](this['editor']['model']['createRangeIn'](_0x5a9ba1)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xc35026['length'])for(const _0x4fa6e7 of _0x14a0e7){const [_0xc6ab16,_0x4a2c61]=_0xc35026[0x0],[,_0x1e89b9,_0x387b76]=_0xc6ab16['split'](':');if(_0x4a2c61['end']['isEqual'](_0x4fa6e7['nextPosition'])&&_0xc35026['shift'](),(_0x4fa6e7['previousPosition']['isEqual'](_0x4a2c61['start'])||_0x4fa6e7['previousPosition']['isAfter'](_0x4a2c61['start']))&&('insertion'==_0x1e89b9?_0x4fa6e7['isAdded']={'userId':_0x387b76}:'deletion'==_0x1e89b9&&(_0x4fa6e7['isRemoved']={'userId':_0x387b76})),0x0==_0xc35026['length'])break;}return _0x14a0e7;}['_refreshStartEndIndex'](_0x225c60){const _0x5a1b77=new Map();for(let _0x4117c7=0x0;_0x4117c7<_0x225c60['length'];_0x4117c7++)'text'===_0x225c60[_0x4117c7]['type']?(_0x225c60[_0x4117c7]['item']['startIndex']=_0x4117c7,_0x225c60[_0x4117c7]['item']['endIndex']=_0x4117c7):('elementStart'===_0x225c60[_0x4117c7]['type']?_0x225c60[_0x4117c7]['item']['startIndex']=_0x4117c7:'elementEnd'===_0x225c60[_0x4117c7]['type']&&(_0x225c60[_0x4117c7]['item']['endIndex']=_0x4117c7),_0x5a1b77['set'](_0x225c60[_0x4117c7]['id'],_0x4117c7));for(const _0x22e3bf of _0x5a1b77['values']())'elementStart'===_0x225c60[_0x22e3bf]['type']?_0x225c60[_0x22e3bf]['item']['endIndex']=_0x5a1b77['get'](_0x225c60[_0x22e3bf]['pairId']):'elementEnd'===_0x225c60[_0x22e3bf]['type']&&(_0x225c60[_0x22e3bf]['item']['startIndex']=_0x5a1b77['get'](_0x225c60[_0x22e3bf]['pairId']));}['_processTape'](_0x3b0a5b){for(let _0xb85710=0x0;_0xb85710<_0x3b0a5b['length'];_0xb85710++){if('elementStart'===_0x3b0a5b[_0xb85710]['type'])_0x3b0a5b[_0xb85710]['item']['startIndex']=_0xb85710;else{if('elementEnd'===_0x3b0a5b[_0xb85710]['type']){_0x3b0a5b[_0xb85710]['item']['endIndex']=_0xb85710;const _0x48817f=_0x3b0a5b[_0xb85710]['item']['startIndex'];_0x3b0a5b[_0x48817f]['pairId']=_0x3b0a5b[_0xb85710]['id'],_0x3b0a5b[_0xb85710]['pairId']=_0x3b0a5b[_0x48817f]['id'];}else _0x3b0a5b[_0xb85710]['item']['startIndex']=_0xb85710,_0x3b0a5b[_0xb85710]['item']['endIndex']=_0xb85710,_0x3b0a5b[_0xb85710]['pairId']=null;}_0x3b0a5b[_0xb85710]['markersStart']||(_0x3b0a5b[_0xb85710]['markersStart']=[],_0x3b0a5b[_0xb85710]['markersEnd']=[]);}}['_markInsertions'](_0x53ca0a,_0x513e5d){const _0x57bbfa=_0x53ca0a['filter'](_0x49170e=>!_0x49170e['isAdded']);for(let _0x521a06=0x0;_0x521a06<_0x513e5d['length'];_0x521a06++)_0x513e5d[_0x521a06]['isAdded']&&(_0x57bbfa[_0x521a06]['isAdded']=_0x513e5d[_0x521a06]['isAdded']);}['_makeModelFromViewString'](_0x3e83b2){const _0x28d772=JSON['parse'](_0x3e83b2),_0xa07bfc=this['editor']['editing']['view']['document'],_0x275e08=new _0x4e4a96(_0xa07bfc,_0x28d772['map'](_0x470fcd=>this['_getViewObj'](_0x470fcd)));return this['editor']['data']['toModel'](_0x275e08);}['_getViewObj'](_0x2e0138){const _0x3ea853=this['editor']['editing']['view']['document'];if('string'==typeof _0x2e0138)return new _0x2cb072(_0x3ea853,_0x2e0138);{const _0x2a13ef=_0x2e0138['children']['map'](_0x3b31cd=>this['_getViewObj'](_0x3b31cd));return new(tt[_0x2e0138['type']]||_0x42f6fa)(_0x3ea853,_0x2e0138['name'],_0x2e0138['attributes'],_0x2a13ef);}}['_getDiff'](_0x28cf94,_0x33f970=null){const _0x4822a2=this['repository']['getRevision'](_0x28cf94),_0x235247=_0x33f970?this['repository']['getRevision'](_0x33f970):null,_0x24e6fd=this['_getRevisionsRange'](_0x4822a2,_0x235247),_0x2535e1=_0x24e6fd[_0x24e6fd['length']-0x1],_0x443d94=new Map(),_0x75d16a={'model':{},'attributes':{},'changes':[]},_0x3704e8=new Set(),_0x4e020f=new Map();for(let _0x12ec37=_0x24e6fd['length']-0x1;_0x12ec37>=0x0;_0x12ec37--){const _0x16fe32=_0x24e6fd[_0x12ec37];for(const _0x4e1892 of Object['keys'](_0x16fe32['diffData']))if(_0x16fe32['diffData'][_0x4e1892]['attachChange']){const _0x57ad69=_0x16fe32['diffData'][_0x4e1892]['attachChange'];_0x57ad69['isAttached']?(_0x3704e8['add'](_0x4e1892),_0x4e020f['has'](_0x4e1892)&&_0x4e020f['get'](_0x4e1892)['userId']==_0x57ad69['userId']?_0x4e020f['delete'](_0x4e1892):_0x4e020f['set'](_0x4e1892,_0x57ad69)):_0x4e020f['has'](_0x4e1892)?(_0x3704e8['delete'](_0x4e1892),_0x4e020f['delete'](_0x4e1892)):(_0x3704e8['add'](_0x4e1892),_0x4e020f['set'](_0x4e1892,_0x57ad69));}else _0x3704e8['add'](_0x4e1892);}for(const _0x167739 of _0x3704e8){const _0x4d6f7f=_0x4e020f['has'](_0x167739)&&!_0x4e020f['get'](_0x167739)['isAttached'];let _0x4f79c0=_0x4d6f7f?_0x24e6fd['length']-0x1:0x0;const _0xadd342=_0x4d6f7f?-0x1:0x1;for(;_0x24e6fd[_0x4f79c0];){const _0x332e0c=_0x24e6fd[_0x4f79c0];if(_0x332e0c['diffData'][_0x167739]){const _0x20225d=_0x4d6f7f?_0x332e0c['diffData'][_0x167739]['attributesBefore']:_0x332e0c['diffData'][_0x167739]['attributesAfter'];_0x75d16a['attributes'][_0x167739]=_0x20225d?_0x342b34(_0x20225d):{};break;}_0x4f79c0+=_0xadd342;}}for(const _0x9d478c of _0x24e6fd){_0x9d478c['model']={};for(const _0xba5a84 of _0x9d478c['authors'])_0x443d94['set'](_0xba5a84['id'],_0xba5a84);for(const _0x536a38 of _0x3704e8){const _0x3148c1=_0x9d478c['diffData'][_0x536a38]?_0x9d478c['diffData'][_0x536a38]['insertions']:'[]',_0x158a2e=_0x9d478c['diffData'][_0x536a38]?_0x9d478c['diffData'][_0x536a38]['deletions']:'[]';_0x9d478c['model'][_0x536a38]={'insertions':this['_makeModelFromViewString'](_0x3148c1),'deletions':this['_makeModelFromViewString'](_0x158a2e)};}}for(const _0x541a25 of _0x3704e8){let _0x280526=null,_0x394f06=0x0;const _0x2fd472=new Map(Array['from'](_0x4822a2['model'][_0x541a25]['insertions']['markers'])['filter'](([_0x2180b0])=>!_0x2180b0['startsWith']('revision:')));let _0x430d89=0x0;for(const _0x569f08 of _0x24e6fd){const _0x310ee8=this['_makeTape'](_0x569f08['model'][_0x541a25]['insertions']);_0x569f08==_0x4822a2?(_0x280526=_0x310ee8,_0x394f06=_0x280526['length'],_0x280526['forEach'](_0x5893cb=>{_0x5893cb['id']=_0x430d89++;}),this['_processTape'](_0x280526)):this['_markInsertions'](_0x280526,_0x310ee8);const _0x4811c6=_0x280526['filter'](_0x15f682=>!_0x15f682['isAdded'])['map'](_0x35264b=>_0x35264b['id']);let _0x2290fb=0x0;const _0x1a4c1c=this['_makeTape'](_0x569f08['model'][_0x541a25]['deletions']);_0x1a4c1c['forEach'](_0x38f502=>{_0x38f502['isRemoved']?_0x38f502['id']=_0x394f06++:_0x38f502['id']=_0x4811c6[_0x2290fb++];}),this['_processTape'](_0x1a4c1c),this['_setDistance'](_0x280526,'isAdded'),this['_setDistance'](_0x1a4c1c,'isRemoved'),_0x569f08==_0x4822a2&&this['_markMarkers'](_0x280526,_0x2fd472),_0x280526=this['_joinTapes'](_0x280526,_0x1a4c1c),this['_refreshStartEndIndex'](_0x280526),this['_setDistance'](_0x280526,'isRemoved');}_0x280526=_0x280526['filter'](_0x19fdd8=>!(_0x19fdd8['isAdded']&&_0x19fdd8['isRemoved']));const _0x415f62=new Map(_0x2535e1['model'][_0x541a25]['deletions']['markers']),_0x4caf7c=new Set(_0x2fd472['keys']());for(const _0x356ab0 of _0x415f62['keys']())_0x4caf7c['delete'](_0x356ab0);this['_markSuggestions'](_0x280526,_0x4caf7c),this['_fixObsoleteTags'](_0x280526),_0x280526=this['_removeMissingPairs'](_0x280526),_0x280526=this['_markMismatchedRemovedTags'](_0x280526),_0x280526=this['_removeUnsupportedChanges'](_0x280526);const {root:_0x542177,changes:_0x5e5d0b}=this['_makeModelFromTape'](_0x280526,_0x443d94,_0x541a25);_0x75d16a['model'][_0x541a25]=_0x542177;const _0x5147c5=_0x4e020f['get'](_0x541a25);if(_0x5147c5){const _0x582695=_0x443d94['get'](_0x5147c5['userId']),_0x3460bb=new r({'author':_0x582695,'type':_0x5147c5['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x541a25});_0x5e5d0b['unshift'](_0x3460bb),_0x75d16a['attributes'][_0x541a25]['revisionHistoryAttachChange']=_0x3460bb['id'];}_0x75d16a['changes']=_0x75d16a['changes']['concat'](_0x5e5d0b);}return _0x75d16a;}['_markMarkers'](_0x516835,_0x11d706){for(let _0x3ee9bc=0x0;_0x3ee9bc<_0x516835['length'];_0x3ee9bc++)for(const [_0x56e8be,_0x55ed02]of _0x11d706)_0x55ed02['start']['isEqual'](_0x516835[_0x3ee9bc]['previousPosition'])&&_0x516835[_0x3ee9bc]['markersStart']['push'](_0x56e8be),_0x55ed02['end']['isEqual'](_0x516835[_0x3ee9bc]['nextPosition'])&&_0x516835[_0x3ee9bc]['markersEnd']['push'](_0x56e8be);}['_joinTapes'](_0x142837,_0xbe86ed){let _0x105ce9=[],_0x5f2623=0x0,_0x3761ef=0x0;for(;_0x5f2623<_0x142837['length']||_0x3761ef<_0xbe86ed['length'];){const _0x2b2ce4=_0x142837[_0x5f2623]||{},_0x2b2341=_0xbe86ed[_0x3761ef]||{};if(_0x2b2ce4['id']==_0x2b2341['id'])_0x5f2623++,_0x3761ef++,_0x105ce9['push'](_0x2b2ce4);else{if(_0x2b2341['isRemoved']&&_0x2b2ce4['isAdded']){const {commonTape:_0x1d658c,iEnd:_0xec17e4,jEnd:_0x34ca50}=this['_threeWayMerge'](_0x142837,_0x5f2623,_0xbe86ed,_0x3761ef);_0x105ce9=_0x105ce9['concat'](_0x1d658c),_0x5f2623=_0xec17e4,_0x3761ef=_0x34ca50;}else _0x2b2341['isRemoved']?(_0x3761ef++,_0x105ce9['push'](_0x2b2341)):(_0x5f2623++,_0x105ce9['push'](_0x2b2ce4));}}return _0x105ce9;}['_markSuggestions'](_0x2d608b,_0x4a3d27){const _0xfff983=[];for(let _0x335952=0x0;_0x335952<_0x2d608b['length'];_0x335952++){for(let _0x56ab26=0x0;_0x56ab26<_0x2d608b[_0x335952]['markersStart']['length'];_0x56ab26++){const _0x4b0d4c=_0x2d608b[_0x335952]['markersStart'][_0x56ab26];if(!_0x4a3d27['has'](_0x4b0d4c))continue;const {group:_0x5dc629,type:_0xfb0809,authorId:_0x4ae9a3}=_0x13c13a(_0x4b0d4c);'revision-suggestion'!=_0x5dc629||'insertion'!=_0xfb0809&&'deletion'!=_0xfb0809||(_0xfff983['unshift']({'type':_0xfb0809,'name':_0x4b0d4c,'userId':_0x4ae9a3}),_0x2d608b[_0x335952]['markersStart']['splice'](_0x56ab26,0x1),_0x56ab26--);}_0x5056c9(_0x2d608b[_0x335952]);for(let _0x45566f=0x0;_0x45566f<_0x2d608b[_0x335952]['markersEnd']['length'];_0x45566f++){const _0x4288f8=_0x2d608b[_0x335952]['markersEnd'][_0x45566f];if(!_0x4a3d27['has'](_0x4288f8))continue;const {group:_0x47591a,type:_0x11c159}=_0x13c13a(_0x4288f8);if('revision-suggestion'!=_0x47591a||'insertion'!=_0x11c159&&'deletion'!=_0x11c159)continue;_0x2d608b[_0x335952]['markersEnd']['splice'](_0x45566f,0x1),_0x45566f--;const _0x20e221=_0xfff983['findIndex'](_0x526ce9=>_0x526ce9['name']==_0x4288f8);_0x20e221>-0x1&&_0xfff983['splice'](_0x20e221,0x1);}}function _0x13c13a(_0x276cba){const _0x1f0173=_0x276cba['split'](':');return{'group':_0x1f0173[0x0],'type':_0x1f0173[0x1],'subType':_0x1f0173['length']>=0x5?_0x1f0173[0x2]:null,'id':_0x1f0173['length']<0x5?_0x1f0173[0x2]:_0x1f0173[0x3],'authorId':_0x1f0173['length']<0x5?_0x1f0173[0x3]:_0x1f0173[0x4],'markerCount':0x6==_0x1f0173['length']?_0x1f0173[0x5]:null};}function _0x5056c9(_0x979ae){for(let _0x328db5=0x0;_0x328db5<_0xfff983['length'];_0x328db5++){if(_0x979ae['isAdded']&&'insertion'==_0xfff983[_0x328db5]['type'])return _0x979ae['isAddSuggestion']=_0xfff983[_0x328db5],void delete _0x979ae['isAdded'];if(!_0x979ae['isAdded']&&!_0x979ae['isRemoved']&&'deletion'==_0xfff983[_0x328db5]['type'])return void(_0x979ae['isRemoveSuggestion']=_0xfff983[_0x328db5]);}}}['_setDistance'](_0x39a5e6,_0x3da201){let _0x544710=0x0,_0x42f8b3=!0x1;const _0x1ae0bb=new Map();for(const _0x4edf9c of _0x39a5e6)_0x4edf9c[_0x3da201]?_0x42f8b3&&(_0x544710++,_0x42f8b3=!0x1):(_0x544710++,_0x42f8b3=!0x0),_0x1ae0bb['set'](_0x4edf9c['id'],_0x544710);for(let _0x5276d1=0x0;_0x5276d1<_0x39a5e6['length'];_0x5276d1++){if('isRemoved'==_0x3da201&&_0x39a5e6[_0x5276d1]['isAdded']||'isAdded'==_0x3da201&&_0x39a5e6[_0x5276d1]['isRemoved'])continue;if('text'==_0x39a5e6[_0x5276d1]['type']){_0x39a5e6[_0x5276d1]['distance']=0x0;continue;}const _0x53f60d=_0x1ae0bb['get'](_0x39a5e6[_0x5276d1]['pairId']),_0x647f09=_0x1ae0bb['get'](_0x39a5e6[_0x5276d1]['id']);_0x39a5e6[_0x5276d1]['distance']=_0x53f60d-_0x647f09;}}['_getRevisionsRange'](_0x12beff,_0x269aa1,_0x35c240=!0x1){const _0x2b89f1=[];let _0x260134=this['repository']['getIndex'](_0x12beff),_0x509a89=this['repository']['getIndex'](_0x269aa1);for(-0x1==_0x509a89&&(_0x509a89=this['repository']['_revisions']['length'],_0x35c240=!0x1);_0x260134<_0x509a89;)_0x2b89f1['push'](this['repository']['getRevision'](_0x260134)),_0x260134++;return _0x35c240&&_0x2b89f1['push'](this['repository']['getRevision'](_0x260134)),_0x2b89f1;}['_threeWayMerge'](_0x487426,_0x4e79c0,_0x1be786,_0x14bd03){const _0x357eb5=this['editor']['model']['schema'];let _0x1563f1=_0x4e79c0;for(;_0x487426[_0x1563f1]&&_0x487426[_0x1563f1]['isAdded'];)_0x1563f1++;let _0x108f33=_0x14bd03;for(;_0x1be786[_0x108f33]&&_0x1be786[_0x108f33]['isRemoved'];)_0x108f33++;_0xb84324(_0x487426,_0x4e79c0,_0x1563f1),_0xb84324(_0x1be786,_0x14bd03,_0x108f33);const _0x498d8a=_0x1be786['slice'](_0x14bd03,_0x108f33)['concat'](_0x487426['slice'](_0x4e79c0,_0x1563f1));return _0x498d8a['sort']((_0x275b5c,_0x1df55e)=>_0x275b5c['side']!=_0x1df55e['side']?_0x275b5c['side']-_0x1df55e['side']:_0x275b5c['level']!=_0x1df55e['level']?_0x275b5c['level']-_0x1df55e['level']:_0x275b5c['distance']!=_0x1df55e['distance']?_0x1df55e['distance']-_0x275b5c['distance']:!!_0x275b5c['isAdded']!=!!_0x1df55e['isAdded']?-0x1==_0x275b5c['side']||0x0==_0x275b5c['side']?_0x275b5c['isAdded']?-0x1:0x1:_0x275b5c['isAdded']?0x1:-0x1:_0x275b5c['index']-_0x1df55e['index']),{'commonTape':_0x498d8a,'iEnd':_0x1563f1,'jEnd':_0x108f33};function _0xb84324(_0x2924ec,_0x35c541,_0x5e5c22){let _0x85ea92=-0x1,_0x4714dc=Number['POSITIVE_INFINITY'],_0x429761=!0x0;for(let _0x5f1322=_0x35c541;_0x5f1322<_0x5e5c22;_0x5f1322++)if(_0x357eb5['isInline'](_0x2924ec[_0x5f1322]['item'])||(_0x429761=!0x1),_0x2924ec[_0x5f1322]['item']['startIndex']<_0x35c541&&(_0x85ea92=_0x5f1322),_0x2924ec[_0x5f1322]['item']['endIndex']>=_0x5e5c22){_0x4714dc=_0x5f1322;break;}_0x429761&&(_0x85ea92=_0x5e5c22-0x1);for(let _0x32e7ee=_0x35c541;_0x32e7ee<_0x5e5c22;_0x32e7ee++)_0x2924ec[_0x32e7ee]['side']=_0x32e7ee<=_0x85ea92?-0x1:_0x32e7ee<_0x4714dc?0x0:0x1,_0x2924ec[_0x32e7ee]['index']=_0x32e7ee;let _0x36f614=0x0;for(let _0x49671b=_0x35c541;_0x49671b<=_0x85ea92;_0x49671b++)0x0==_0x2924ec[_0x49671b]['distance']?_0x2924ec[_0x49671b]['level']=_0x36f614:(_0x36f614++,_0x2924ec[_0x49671b]['level']=_0x36f614,_0x36f614++);for(let _0x16f319=_0x35c541;_0x16f319<_0x5e5c22;_0x16f319++)0x0==_0x2924ec[_0x16f319]['side']&&(_0x2924ec[_0x16f319]['level']=_0x36f614);_0x36f614=0x0;for(let _0x1ae962=_0x5e5c22-0x1;_0x1ae962>=_0x4714dc;_0x1ae962--)0x0==_0x2924ec[_0x1ae962]['distance']?_0x2924ec[_0x1ae962]['level']=_0x36f614:(_0x36f614--,_0x2924ec[_0x1ae962]['level']=_0x36f614,_0x36f614--);}}['_fixObsoleteTags'](_0x1f0310){const _0x5e98e0=new Map(),_0xa36ab6=this['editor']['model']['schema'];for(let _0x2a8232=0x1;_0x2a8232<_0x1f0310['length'];_0x2a8232++){let _0x264883,_0x135c43,_0x4d8910;const _0x4a6dad=_0x1f0310[_0x2a8232],_0x3a7af8=_0x1f0310[_0x2a8232-0x1];if('text'==_0x4a6dad['type'])continue;if(_0x4a6dad['type']!=_0x3a7af8['type'])continue;if(!_0xa36ab6['isBlock'](_0x3a7af8['item'])||_0xa36ab6['isLimit'](_0x3a7af8['item']))continue;if(!_0xa36ab6['isBlock'](_0x4a6dad['item'])||_0xa36ab6['isLimit'](_0x4a6dad['item']))continue;if((_0x1f0310[_0x2a8232]['isAdded']||_0x1f0310[_0x2a8232]['isAddSuggestion'])&&_0x1f0310[_0x2a8232-0x1]['isRemoved'])_0x264883=_0x1f0310[_0x2a8232],_0x135c43=_0x1f0310[_0x2a8232-0x1],_0x4d8910=_0x2a8232-0x1;else{if(!_0x1f0310[_0x2a8232]['isRemoved']||!_0x1f0310[_0x2a8232-0x1]['isAdded']&&!_0x1f0310[_0x2a8232-0x1]['isAddSuggestion'])continue;_0x264883=_0x1f0310[_0x2a8232-0x1],_0x135c43=_0x1f0310[_0x2a8232],_0x4d8910=_0x2a8232;}const _0xc03db3=_0x264883['level']==_0x135c43['level'],_0x3fe941=Math['abs'](_0x264883['level'])<Math['abs'](_0x135c43['level'])&&0x0==_0x135c43['distance'];(_0xc03db3||_0x3fe941)&&(_0x5e98e0['set'](_0x135c43['id'],_0x264883['id']),_0x1f0310['splice'](_0x4d8910,0x1),_0x2a8232--,_0x264883['isAdded']=!0x1);}for(let _0xce5fac=0x0;_0xce5fac<_0x1f0310['length'];_0xce5fac++)_0x5e98e0['has'](_0x1f0310[_0xce5fac]['pairId'])&&(_0x1f0310[_0xce5fac]['pairId']=_0x5e98e0['get'](_0x1f0310[_0xce5fac]['pairId']));}['_removeMissingPairs'](_0xfe337a){const _0x25e39f=new Set(_0xfe337a['map'](_0x575b45=>_0x575b45['id']));for(let _0x2e8f57=0x0;_0x2e8f57<_0xfe337a['length'];_0x2e8f57++)_0x25e39f['has'](_0xfe337a[_0x2e8f57]['pairId'])||0x0==_0xfe337a[_0x2e8f57]['distance']||(_0xfe337a[_0x2e8f57]['isIncorrect']=!0x0);return _0xfe337a['filter'](_0x5c1ef2=>!_0x5c1ef2['isIncorrect']);}['_markMismatchedRemovedTags'](_0x808e55){const _0x8e3d39=new Set();for(let _0x128df6=0x0;_0x128df6<_0x808e55['length'];_0x128df6++){if(_0x8e3d39['has'](_0x808e55[_0x128df6]['id'])&&_0x808e55[_0x128df6]['isRemoved']&&(_0x808e55[_0x128df6]['isIncorrect']=!0x0),_0x808e55[_0x128df6]['isIncorrect'])continue;if(0x0==_0x808e55[_0x128df6]['distance'])continue;if('elementStart'!=_0x808e55[_0x128df6]['type'])continue;if(null==_0x808e55[_0x128df6]['pairId'])continue;let _0x4620d3=_0x128df6+0x1,_0x30733b=0x0;for(;_0x808e55[_0x4620d3]['id']!=_0x808e55[_0x128df6]['pairId'];)'elementStart'==_0x808e55[_0x4620d3]['type']?_0x30733b++:'elementEnd'==_0x808e55[_0x4620d3]['type']&&_0x30733b--,_0x4620d3++;if(0x0!=_0x30733b){if(_0x808e55[_0x128df6]['isRemoved'])_0x808e55[_0x128df6]['isIncorrect']=!0x0;else{for(;_0x4620d3!=_0x128df6;)_0x808e55[_0x4620d3]['isRemoved']&&0x0!=_0x808e55[_0x4620d3]['distance']&&(_0x808e55[_0x4620d3]['isIncorrect']=!0x0,_0x8e3d39['add'](_0x808e55[_0x4620d3]['pairId'])),_0x4620d3--;}}}return _0x808e55['filter'](_0x34a09b=>!_0x34a09b['isIncorrect']);}['_removeUnsupportedChanges'](_0x50e600){const _0x5201f9=this['editor']['model']['schema'];for(let _0x5b28cf=0x0;_0x5b28cf<_0x50e600['length'];_0x5b28cf++){if(!(_0x50e600[_0x5b28cf]['isAdded']||_0x50e600[_0x5b28cf]['isAddSuggestion']||_0x50e600[_0x5b28cf]['isRemoved']||_0x50e600[_0x5b28cf]['isRemoveSuggestion']))continue;if(0x0==_0x50e600[_0x5b28cf]['distance'])continue;const _0x16ce66=_0x50e600[_0x5b28cf]['item'];_0x5201f9['isBlock'](_0x16ce66)||_0x5201f9['isLimit'](_0x16ce66)||(_0x50e600[_0x5b28cf]['isAdded']&&delete _0x50e600[_0x5b28cf]['isAdded'],_0x50e600[_0x5b28cf]['isAddSuggestion']&&delete _0x50e600[_0x5b28cf]['isAddSuggestion'],_0x50e600[_0x5b28cf]['isRemoveSuggestion']&&delete _0x50e600[_0x5b28cf]['isRemoveSuggestion'],_0x50e600[_0x5b28cf]['isRemoved']&&(_0x50e600[_0x5b28cf]['isIncorrect']=!0x0));}return _0x50e600['filter'](_0x3461d6=>!_0x3461d6['isIncorrect']);}['_makeModelFromTape'](_0x169fc2,_0x407e4b,_0x19c2b4){const _0x31ea84=new _t(),_0x14ec7e=[],_0x17e053=new Map(),_0x28b388=this['editor']['model'],_0x3ba5cf=_0x28b388['schema'],_0xbc6518=[_0x31ea84],_0x24f8e8={},_0x27e09c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x54c82e=null;const _0x50368e=[0x0];for(let _0x9baeac=0x0;_0x9baeac<_0x169fc2['length'];_0x9baeac++){let _0x3df617,_0x4ae485;if('elementStart'===_0x169fc2[_0x9baeac]['type']){_0x3df617=_0x28b388['createPositionFromPath'](_0x31ea84,_0x50368e);const _0xfe6fa=new ft(_0x169fc2[_0x9baeac]['item']['name'],_0x169fc2[_0x9baeac]['item']['getAttributes']());_0xbc6518[0x0]['_appendChild'](_0xfe6fa),_0x50368e['push'](0x0),_0xbc6518['unshift'](_0xfe6fa),_0x4ae485=_0x28b388['createPositionFromPath'](_0x31ea84,_0x50368e),_0x54c82e=null;}else{if('elementEnd'===_0x169fc2[_0x9baeac]['type'])_0xbc6518['shift'](),_0x3df617=_0x28b388['createPositionFromPath'](_0x31ea84,_0x50368e),_0x50368e['pop'](),_0x50368e[_0x50368e['length']-0x1]++,_0x4ae485=_0x28b388['createPositionFromPath'](_0x31ea84,_0x50368e),_0x54c82e=null;else{if(_0x3df617=_0x28b388['createPositionFromPath'](_0x31ea84,_0x50368e),_0x54c82e&&_0x444540(_0x54c82e,_0x169fc2[_0x9baeac]['item']))_0x54c82e['_data']+=_0x169fc2[_0x9baeac]['item']['data'];else{const _0x3ba20e=new yt(_0x169fc2[_0x9baeac]['item']['data'],_0x169fc2[_0x9baeac]['item']['getAttributes']());_0xbc6518[0x0]['_appendChild'](_0x3ba20e),_0x54c82e=_0x3ba20e;}_0x50368e[_0x50368e['length']-0x1]+=_0x169fc2[_0x9baeac]['item']['offsetSize'],_0x4ae485=_0x28b388['createPositionFromPath'](_0x31ea84,_0x50368e);}}for(const _0x52993f of _0x169fc2[_0x9baeac]['markersStart'])_0x17e053['set'](_0x52993f,{'start':_0x3df617,'end':null});_0x4b1423('isRemoveSuggestion',_0x9baeac,_0x3df617,_0x4ae485),_0x4b1423('isAddSuggestion',_0x9baeac,_0x3df617,_0x4ae485),_0x4b1423('isRemoved',_0x9baeac,_0x3df617,_0x4ae485),_0x4b1423('isAdded',_0x9baeac,_0x3df617,_0x4ae485);for(const _0x26fa2b of _0x169fc2[_0x9baeac]['markersEnd']){_0x17e053['get'](_0x26fa2b)['end']=_0x4ae485;}}for(const [_0x556743,_0x47c1fb]of _0x17e053){const _0x53131e=this['editor']['model']['createRange'](_0x47c1fb['start'],_0x47c1fb['end']);_0x31ea84['markers']['set'](_0x556743,_0x53131e);}return _0x14ec7e['sort']((_0x4bbd80,_0x493515)=>{const _0x211085=_0x31ea84['markers']['get']('revision:'+_0x4bbd80['id']),_0x1fbd42=_0x31ea84['markers']['get']('revision:'+_0x493515['id']);return _0x211085['start']['isBefore'](_0x1fbd42['start'])?-0x1:_0x211085['start']['isAfter'](_0x1fbd42['start'])?0x1:_0x211085['end']['isBefore'](_0x1fbd42['end'])?-0x1:_0x211085['end']['isAfter'](_0x1fbd42['end'])?0x1:'add'===_0x4bbd80['type']?-0x1:0x1;}),{'root':_0x31ea84,'changes':_0x14ec7e};function _0x4b1423(_0x3aad9f,_0x3db845,_0x523e82,_0x2f3c93){const _0x1f9a35=!!_0x169fc2[_0x3db845][_0x3aad9f],_0x379ccf=_0x1f9a35?_0x169fc2[_0x3db845][_0x3aad9f]['userId']:null,_0x29ab75=_0x3db845===_0x169fc2['length']-0x1,_0x155ae5=_0x27e09c[_0x3aad9f][0x0],_0x20754a=_0x3ba5cf['isObject'](_0x169fc2[_0x3db845]['item']);!_0x24f8e8[_0x3aad9f]&&_0x1f9a35?_0x24f8e8[_0x3aad9f]={'start':_0x523e82,'tapeItem':_0x169fc2[_0x3db845],'userId':_0x379ccf,'type':_0x3aad9f}:_0x24f8e8[_0x3aad9f]&&!_0x1f9a35?(_0x24f8e8[_0x3aad9f]['end']=_0x523e82,_0x1e7cd4(_0x24f8e8[_0x3aad9f]),_0x24f8e8[_0x3aad9f]=null):_0x24f8e8[_0x3aad9f]&&_0x1f9a35&&_0x24f8e8[_0x3aad9f]['userId']!==_0x379ccf&&(_0x24f8e8[_0x3aad9f]['end']=_0x523e82,_0x155ae5&&_0x155ae5['userId']===_0x24f8e8[_0x3aad9f]['userId']||_0x1e7cd4(_0x24f8e8[_0x3aad9f]),_0x24f8e8[_0x3aad9f]={'start':_0x523e82,'tapeItem':_0x169fc2[_0x3db845],'userId':_0x379ccf,'type':_0x3aad9f}),_0x24f8e8[_0x3aad9f]&&_0x20754a&&('elementStart'!==_0x169fc2[_0x3db845]['type']||_0x155ae5&&_0x155ae5['userId']===_0x379ccf||_0x27e09c[_0x3aad9f]['unshift']({'userId':_0x379ccf,'object':_0x169fc2[_0x3db845]['item'],'change':_0x24f8e8[_0x3aad9f]}),'elementEnd'===_0x169fc2[_0x3db845]['type']&&_0x155ae5&&_0x155ae5['object']===_0x169fc2[_0x3db845]['item']&&(_0x27e09c[_0x3aad9f]['shift'](),_0x24f8e8[_0x3aad9f]=_0x155ae5['change'])),_0x24f8e8[_0x3aad9f]&&_0x29ab75&&(_0x24f8e8[_0x3aad9f]['end']=_0x2f3c93,_0x1e7cd4(_0x24f8e8[_0x3aad9f]),_0x24f8e8[_0x3aad9f]=null);}function _0x1e7cd4({start:_0x4919de,end:_0x1950e4,tapeItem:_0x332e43,userId:_0x17579c,type:_0x31f6a9}){const _0x18cdd8=_0x332e43['item'],_0x2b8855=_0x28b388['schema']['isBlock'](_0x18cdd8)&&!_0x28b388['schema']['isLimit'](_0x18cdd8),_0x2d5c2a=_0x4919de['nodeAfter']==_0x1950e4['parent']&&_0x1950e4['isAtStart'];if(_0x2b8855&&_0x2d5c2a)return;const _0x751d60=_0x28b388['createRange'](_0x4919de,_0x1950e4),_0x4d3d14=_0x407e4b['get'](_0x17579c),_0x2c5ea5=new r({'author':_0x4d3d14,'type':'isAdded'==_0x31f6a9||'isAddSuggestion'==_0x31f6a9?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x31f6a9||'isRemoveSuggestion'==_0x31f6a9},'createdAt':new Date(),'rootName':_0x19c2b4});_0x14ec7e['push'](_0x2c5ea5),_0x31ea84['markers']['set']('revision:'+_0x2c5ea5['id'],_0x751d60);}function _0x444540(_0x13f742,_0x20b65b){const _0x46a986=_0x13f742['getAttributes'](),_0x1552ef=_0x20b65b['getAttributes']();for(const _0x10e1e3 of _0x46a986){if(_0x10e1e3[0x1]!==_0x20b65b['getAttribute'](_0x10e1e3[0x0]))return!0x1;_0x1552ef['next']();}return _0x1552ef['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x34b22e=>{const _0x357495=_0x34b22e['markerName']['split'](':')[0x1],_0xee24a4=this['_getChangeFromId'](_0x357495);if(!_0xee24a4)return null;const _0x574f96='add'==_0xee24a4['type']?'insertion':'deletion',_0x53138b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x574f96];return _0xee24a4['data']['isSuggestion']&&_0x53138b['push']('ck-suggestion-marker-'+_0x574f96+'-new'),this['activeChange']==_0xee24a4&&_0x53138b['push']('ck-suggestion-marker--active'),{'classes':_0x53138b,'attributes':{'data-change-id':_0x357495}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2dac3f=>{_0x2dac3f['on']('element:pre',(_0x6b947d,_0x2457dd,_0x7d5fea)=>{const _0x5e1b11=_0x2457dd['viewItem']['getChild'](0x0);if(!_0x5e1b11||!_0x5e1b11['is']('element','code'))return;if(!_0x7d5fea['consumable']['consume'](_0x5e1b11,{'attributes':['vid_start','vid_end']}))return;const _0x12233b=_0x2457dd['modelRange']['start']['nodeAfter'];_0x7d5fea['writer']['setAttribute']('vid_start',_0x5e1b11['getAttribute']('vid_start'),_0x12233b),_0x7d5fea['writer']['setAttribute']('vid_end',_0x5e1b11['getAttribute']('vid_end'),_0x12233b);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4b2fa3=>{_0x4b2fa3['on']('element',(_0x529398,_0x2b4a9d,_0x3f8552)=>{if(!_0x3f8552['consumable']['consume'](_0x2b4a9d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2b4a9d['modelRange']['isCollapsed'])return;const _0x1b2058=_0x2b4a9d['modelRange']['start']['nodeAfter'];_0x1b2058['hasAttribute']('vid_start')||_0x1b2058['hasAttribute']('vid')||(_0x3f8552['writer']['setAttribute']('vid_start',_0x2b4a9d['viewItem']['getAttribute']('vid_start'),_0x1b2058),_0x3f8552['writer']['setAttribute']('vid_end',_0x2b4a9d['viewItem']['getAttribute']('vid_end'),_0x1b2058));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x570896=>_0x570896['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x508aab,[,_0x5b8963])=>{['vid_start','vid_end','vid']['includes'](_0x5b8963)&&(_0x508aab['return']=!0x0,_0x508aab['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2cf6e0=>{_0x2cf6e0['on']('attribute:vid',(_0x1936fc,_0x4184d5,_0x2060bf)=>{if('\x20'!=_0x4184d5['item']['data']||_0x4184d5['item']['parent']['maxOffset']>0x1)return;if(!_0x2060bf['consumable']['consume'](_0x4184d5['item'],_0x1936fc['name']))return;const _0x420883=_0x2060bf['writer'],_0x1cac8f=_0x2060bf['mapper']['toViewRange'](_0x4184d5['range']);_0x420883['wrap'](_0x1cac8f,_0x420883['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2bf739){const _0x1ea74b=_0x2bf739['plugins']['get']('RevisionViewer');return(_0x42aeb1,_0xbbc57c,_0x3fdfd1)=>{const _0x4919f9=_0xbbc57c['markerName']['split'](':')[0x1],_0x87c60e=_0x1ea74b['_getChangeFromId'](_0x4919f9);if(!_0x87c60e)return null;const _0xfa265c='add'==_0x87c60e['type']?'split':'merge';if(!_0x3fdfd1['consumable']['test'](_0xbbc57c['markerRange'],_0x42aeb1['name']))return;const _0x4755a3=_0xbbc57c['markerRange']['getWalker'](),_0x54041c=_0xbbc57c['markerRange']['start'],_0x4dec85=_0x2bf739['model']['schema'];let _0x3d1dbe=null,_0x3d29cf=null,_0x52057f=!0x1,_0x733bf5=!0x1;for(const _0x376b9c of _0x4755a3){const _0x476bfa=_0x376b9c['item'];_0x52057f=_0x52057f||_0x4dec85['isContent'](_0x476bfa);const _0x10e0de=_0x3fdfd1['mapper']['toViewElement'](_0x476bfa);if(_0x10e0de&&_0x10e0de['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x376b9c['type']&&(_0x4dec85['isBlock'](_0x476bfa)&&!_0x4dec85['isLimit'](_0x476bfa)&&(_0x476bfa['nextSibling']||_0x54041c['isAtEnd']?_0x3d1dbe&&_0x3d1dbe['parent']==_0x476bfa||(_0x3d1dbe=_0x476bfa,_0x19aa2a(_0x376b9c['previousPosition']),_0x733bf5=!0x0):_0x3d29cf=_0x3d29cf||_0x376b9c['previousPosition']));}function _0x19aa2a(_0x279c27){const _0x203f93=_0x3fdfd1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xfa265c}),_0x3b2f98=_0x3fdfd1['mapper']['toViewPosition'](_0x279c27);_0x87c60e['data']['isSuggestion']&&_0x3fdfd1['writer']['addClass']('ck-suggestion-marker-'+_0xfa265c+'-new',_0x203f93),_0x1ea74b['activeChange']==_0x87c60e&&_0x3fdfd1['writer']['addClass']('ck-suggestion-marker--active',_0x203f93),_0x3fdfd1['writer']['insert'](_0x3b2f98,_0x203f93),_0x3fdfd1['mapper']['bindElementToMarker'](_0x203f93,_0xbbc57c['markerName']);}_0x52057f||_0x733bf5||!_0x3d29cf||_0x19aa2a(_0x3d29cf);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5a678f,_0x8c4b88,_0x322611)=>{const _0x5c50c2=_0x322611['mapper']['markerNameToElements'](_0x8c4b88['markerName']);if(_0x5c50c2){for(const _0x47efda of _0x5c50c2)(_0x47efda['hasClass']('ck-suggestion-marker-split')||_0x47efda['hasClass']('ck-suggestion-marker-merge'))&&(_0x322611['mapper']['unbindElementFromMarkerName'](_0x47efda,_0x8c4b88['markerName']),_0x322611['writer']['remove'](_0x47efda));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x367cc3,_0x3e3748,_0x45860a)=>{const _0x15d1c1=_0x3e3748['markerName']['split'](':')[0x1],_0x1d9d8a=this['_getChangeFromId'](_0x15d1c1);if(!_0x1d9d8a)return null;const _0x530419='add'==_0x1d9d8a['type']?'split':'merge';if(_0x45860a['consumable']['test'](_0x3e3748['markerRange'],_0x367cc3['name']))for(const _0x46336b of _0x3e3748['markerRange']['getItems']()){if(!_0x46336b['is']('element','softBreak'))continue;const _0x5d9836=_0x45860a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x530419}),_0x170551=_0x45860a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x46336b));_0x1d9d8a['data']['isSuggestion']&&_0x45860a['writer']['addClass']('ck-suggestion-marker-'+_0x530419+'-new',_0x5d9836),this['activeChange']==_0x1d9d8a&&_0x45860a['writer']['addClass']('ck-suggestion-marker--active',_0x5d9836),_0x45860a['writer']['insert'](_0x170551,_0x5d9836),_0x45860a['mapper']['bindElementToMarker'](_0x5d9836,_0x3e3748['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4a8a40=>{for(const _0x3e1cdc of this['editor']['model']['document']['getRootNames']()){const _0x13c6d0=this['editor']['model']['document']['getRoot'](_0x3e1cdc),_0x3c1522=this['editor']['editing']['view']['document']['getRoot'](_0x3e1cdc);if(_0x3c1522){const _0x4c9bf2=_0x13c6d0['getAttribute']('revisionHistoryAttachChange');if(_0x4a8a40['removeAttribute']('data-change-id',_0x3c1522),_0x4a8a40['removeClass']('ck-revision-history-root-add',_0x3c1522),_0x4a8a40['removeClass']('ck-revision-history-root-remove',_0x3c1522),_0x4a8a40['removeClass']('ck-revision-history-root--active',_0x3c1522),_0x4c9bf2){const _0x5707ee=this['_getChangeFromId'](_0x4c9bf2);if(!_0x5707ee)return null;_0x4a8a40['setAttribute']('data-change-id',_0x4c9bf2,_0x3c1522),_0x4a8a40['addClass']('ck-revision-history-root-'+_0x5707ee['type'],_0x3c1522),this['activeChange']==_0x5707ee&&_0x4a8a40['addClass']('ck-revision-history-root--active',_0x3c1522);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5c9201=>'revision-comment:'+_0x5c9201,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1e3ff2=>'revision-suggestion:'+_0x1e3ff2,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x39d1c4=>({'name':'suggestion:'+_0x39d1c4,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x32935d=>{const _0x4f8cd0=_0x32935d['markerName']['split'](':')[0x1];return'insertion'!=_0x4f8cd0&&'deletion'!=_0x4f8cd0?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4f8cd0]};}}),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',(_0x7937a3,_0x3b9933,_0x503f2a)=>{const _0x562575=_0x503f2a['mapper']['markerNameToElements'](_0x3b9933['markerName']);if(_0x562575){for(const _0x3959a3 of _0x562575)_0x3959a3['is']('uiElement')&&(_0x503f2a['mapper']['unbindElementFromMarkerName'](_0x3959a3,_0x3b9933['markerName']),_0x503f2a['writer']['remove'](_0x3959a3));}},{'priority':'high'});}['_getChangeFromId'](_0x56b42f){return this['_changeIdToChange']['get'](_0x56b42f);}['_getViewForChange'](_0x13ede){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x13ede),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x49c380,_0x107776,_0x5b67de,_0x280e45)=>{_0x280e45&&this['_balloon']['remove'](_0x280e45),_0x5b67de&&(this['_balloon']['add']({'view':_0x5b67de,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x118b71=this['editor']['editing'],_0x3ff91e=this['_getChangeFromId'](_0x5b67de['changeId']);let _0x4637a1;if(_0x3ff91e['data']['isOnRoot']){const _0x45dade=_0x118b71['view']['getDomRoot'](_0x3ff91e['rootName']);_0x4637a1=Array['from'](_0x45dade['getClientRects']());}else{const _0x259414=this['editor']['model']['markers']['get']('revision:'+_0x5b67de['changeId']);_0x4637a1=Array['from'](_0x118b71['mapper']['markerNameToElements'](_0x259414['name']))['map'](_0x7e89c=>_0x118b71['view']['domConverter']['mapViewToDom'](_0x7e89c))['map'](_0x4790e6=>Array['from'](_0x4790e6['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4637a1[0x0];return _0x4637a1['find'](_0x3ff773=>_0x3ff773['top']-0x3<=this['_activeViewTarget']['y']&&_0x3ff773['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3ff773['left']-0x3<=this['_activeViewTarget']['x']&&_0x3ff773['right']+0x3>=this['_activeViewTarget']['x'])||_0x4637a1[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4c9f1e,_0x5b7777,_0x377378,_0x4ac2f3)=>{this['activeView']=_0x377378?this['_getViewForChange'](_0x377378):null,this['editor']['model']['change'](()=>{const _0x3f4376=this['editor']['editing'];_0x4ac2f3&&(_0x4ac2f3['data']['isOnRoot']?_0x3f4376['view']['change'](_0x4c85f9=>{_0x4c85f9['removeClass']('ck-revision-history-root--active',_0x3f4376['view']['document']['getRoot'](_0x4ac2f3['rootName']));}):_0x3f4376['reconvertMarker']('revision:'+_0x4ac2f3['id'])),_0x377378&&(_0x377378['data']['isOnRoot']?_0x3f4376['view']['change'](_0x42a792=>{_0x42a792['addClass']('ck-revision-history-root--active',_0x3f4376['view']['document']['getRoot'](_0x377378['rootName']));}):_0x3f4376['reconvertMarker']('revision:'+_0x377378['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5723d1,_0x41fa42)=>{if(this['activeChange'])return;const _0x2335ce=this['_findChangeIdFromDomTarget'](_0x41fa42['target']),_0x148107=this['_changeIdToChange']['get'](_0x2335ce);_0x148107?(this['_activeViewTarget']={'x':_0x41fa42['domEvent']['x'],'y':_0x41fa42['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x148107)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x16ad2a,_0x5bf528)=>{const _0x1ce1d2=this['_findChangeIdFromDomTarget'](_0x5bf528['target']),_0x30e518=this['_changeIdToChange']['get'](_0x1ce1d2);_0x30e518?(this['_activeViewTarget']={'x':_0x5bf528['domEvent']['x'],'y':_0x5bf528['domEvent']['y']},_0x30e518===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x30e518):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x424853){do{const _0x23a7ec=_0x424853['getAttribute']('data-change-id');if(_0x23a7ec)return _0x23a7ec;_0x424853=_0x424853['parent'];}while(_0x424853);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x205ba7=>{for(const _0x2f2c4f of this['editor']['model']['markers'])_0x205ba7['removeMarker'](_0x2f2c4f);});}constructor(_0x1ac3b7){super(_0x1ac3b7),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',(_0x4995c6,_0x2b5e10,_0x6e8db9)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x450a32=>{for(const _0x512a32 of this['editor']['editing']['view']['document']['roots'])_0x6e8db9?_0x450a32['removeClass']('ck-editor__editable__overlay',_0x512a32):_0x450a32['addClass']('ck-editor__editable__overlay',_0x512a32);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x182956=>null!==_0x182956),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2c137f,_0x20bb3c,_0x989655)=>_0x2c137f&&_0x989655?_0x20bb3c['changes']['getIndex'](_0x989655):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x27de5b,_0x3f4bba)=>_0x27de5b?_0x3f4bba['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x9fab02);}}function et(_0x4e110f,_0x518e3e){return(_0x261204,_0x3d9e89,_0x495db9)=>{if(!_0x495db9['consumable']['test'](_0x3d9e89['markerRange'],_0x261204['name']))return;const _0x18beba=_0x3d9e89['markerRange']['getWalker'](),_0x41fe60=_0x3d9e89['markerRange']['start'],_0x2e1d75=_0x4e110f['model']['schema'];let _0x4742ac=null,_0x2cdd43=null,_0x42870c=!0x1,_0x1e18c8=!0x1;for(const _0x303bae of _0x18beba){const _0x4996a6=_0x303bae['item'];_0x42870c=_0x42870c||_0x2e1d75['isContent'](_0x4996a6);const _0x56712e=_0x495db9['mapper']['toViewElement'](_0x4996a6);if(_0x56712e&&_0x56712e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x303bae['type']&&(_0x2e1d75['isBlock'](_0x4996a6)&&!_0x2e1d75['isLimit'](_0x4996a6)&&(_0x4996a6['nextSibling']||_0x41fe60['isAtEnd']?_0x4742ac&&_0x4742ac['parent']==_0x4996a6||(_0x4742ac=_0x4996a6,_0x2c8d43(_0x303bae['previousPosition']),_0x1e18c8=!0x0):_0x2cdd43=_0x2cdd43||_0x303bae['previousPosition']));}function _0x2c8d43(_0x4b5194){const _0x233914=_0x495db9['mapper']['toViewPosition'](_0x4b5194),_0x3bf848=_0x495db9['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x518e3e});_0x495db9['writer']['insert'](_0x233914,_0x3bf848),_0x495db9['mapper']['bindElementToMarker'](_0x3bf848,_0x3d9e89['markerName']);}_0x42870c||_0x1e18c8||!_0x2cdd43||_0x2c8d43(_0x2cdd43);};}class bt extends _0x40d611{['execute'](){const _0xd92509=this['editor'],_0x2696f9=_0xd92509['plugins']['get'](d),_0x4b77b4=_0x2696f9['isReady']?_0x2696f9['diff']['newRevisionId']:null;_0xd92509['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4b77b4);}['refresh'](){const {isReady:_0x13a974,isEnabled:_0x11a2f6}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x13a974&&_0x11a2f6;}constructor(_0x53b86a){super(_0x53b86a);const _0x44216d=_0x53b86a['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x44216d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x44216d,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x40d611{['execute'](){const _0x1b232a=this['editor'],_0x19dc0b=_0x1b232a['plugins']['get'](d),{isNavigationMode:_0x2b8e5f,currentChangeNumber:_0x58399c}=_0x19dc0b;let _0xaac411;if(_0x19dc0b['activeChange']=_0x2b8e5f?_0x19dc0b['diff']['changes']['get'](_0x58399c+this['_step']):_0x19dc0b['diff']['changes']['first'],_0x19dc0b['activeChange']['data']['isOnRoot'])_0xaac411=_0x1b232a['editing']['view']['getDomRoot'](_0x19dc0b['activeChange']['rootName']);else{const _0x37b4b5=_0x1b232a['model']['markers']['get']('revision:'+_0x19dc0b['activeChange']['id']);_0xaac411=_0x29e894(_0x1b232a['editing'],_0x37b4b5);}_0x225040({'target':_0xaac411,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4bef26,currentChangeNumber:_0x418822,numberOfChanges:_0x157726,isReady:_0x29899e,isEnabled:_0x6714af}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x6714af&&_0x29899e&&_0x157726)&&(!_0x4bef26||(0x1===this['_step']?_0x418822<_0x157726-0x1:_0x418822>0x0));}constructor(_0x5cca2d,{direction:_0x45671a}){super(_0x5cca2d);const _0x4b8098=_0x5cca2d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x45671a?0x1:-0x1,this['listenTo'](_0x4b8098,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4b8098,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4b8098,'change:activeChange',()=>this['refresh']());}}class _i extends _0x237d8f{constructor(_0x5064c9){super(_0x5064c9);const _0x3f4547=this['bindTemplate'],_0x4b8fbf=new _0x1c1d45(_0x5064c9),_0xf5c42c=new _0x1c1d45(_0x5064c9);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',(_0x3f8012,_0x3cc601)=>_0x3f8012&&_0x3cc601>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x33bcf0,_0x4b8d44,_0x49f920,_0xa2d697)=>{if(!_0x33bcf0)return y(_0x5064c9,'Loading...');if(!_0x49f920)return y(_0x5064c9,'No\x20changes');const _0x5050e3=y(_0x5064c9,'NUMBER_OF_CHANGES',_0x49f920);return _0xa2d697?y(_0x5064c9,'X_OF_Y_CHANGES',[_0x4b8d44+0x1,_0x49f920]):_0x5050e3;}),_0x4b8fbf['set']({'label':y(_0x5064c9,'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'}),_0xf5c42c['set']({'label':y(_0x5064c9,'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'}),_0x4b8fbf['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xf5c42c['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4b8fbf['on']('execute',()=>this['fire']('execute','backward')),_0xf5c42c['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',_0x3f4547['if']('_isStatusLabelVisible','ck-hidden',_0x10a50b=>!_0x10a50b)]},'children':[{'text':_0x3f4547['to']('isNavigationMode',_0x1bdf71=>_0x1bdf71?y(_0x5064c9,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5064c9,'Total')+':\x20')}]},{'text':_0x3f4547['to']('_statusText')}]},new _0x3cfbc5(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4b8fbf,_0xf5c42c]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x391dad{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3e6b69=this['editor']['editing']['view'];_0x3e6b69['change'](_0x496e6c=>{for(const _0x572f16 of _0x3e6b69['document']['roots'])_0x496e6c['addClass'](ce,_0x572f16);});}['hide'](){const _0x80e2e5=this['editor']['editing']['view'];_0x80e2e5['change'](_0x586d25=>{for(const _0x42f65a of _0x80e2e5['document']['roots'])_0x586d25['removeClass'](ce,_0x42f65a);});}}class R extends _0x391dad{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x13bd44=this['editor'],_0x14d04d=_0x13bd44['plugins']['get'](d),_0x39f0d7=_0x13bd44['plugins']['get'](de);_0x13bd44['ui']['componentFactory']['add']('exitToEditing',_0x4ac2ca=>{const _0x66c6=new _0x1c1d45(_0x4ac2ca);return _0x66c6['set']({'label':y(_0x4ac2ca,'Back\x20to\x20editing'),'icon':_0xb894cb['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x66c6,'execute',()=>{_0x13bd44['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x66c6;}),_0x13bd44['ui']['componentFactory']['add']('restoreRevision',_0x1e818a=>{const _0x1da35e=new _0x1c1d45(_0x1e818a);return _0x1da35e['set']({'label':y(_0x1e818a,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1da35e['bind']('isEnabled')['to'](_0x13bd44['commands']['get']('restoreRevision')),this['listenTo'](_0x1da35e,'execute',()=>_0x13bd44['execute']('restoreRevision')),_0x1da35e;}),_0x13bd44['ui']['componentFactory']['add']('changesNavigation',_0x1c99e6=>{const _0x314ad4=new _i(_0x1c99e6),_0x21d331=_0x13bd44['commands']['get']('showPreviousChange'),_0xc6a300=_0x13bd44['commands']['get']('showNextChange');return _0x314ad4['bind']('isBackwardNavigationEnabled')['to'](_0x21d331,'isEnabled'),_0x314ad4['bind']('isForwardNavigationEnabled')['to'](_0xc6a300,'isEnabled'),_0x314ad4['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x14d04d),this['listenTo'](_0x314ad4,'execute',(_0x79850d,_0x589981)=>{_0x13bd44['execute']('forward'===_0x589981?'showNextChange':'showPreviousChange');}),_0x314ad4;}),_0x39f0d7['show'](),_0x14d04d['on']('change:isReady',(_0x497795,_0x1c7576,_0x14e4c6)=>{_0x14e4c6?_0x39f0d7['hide']():_0x39f0d7['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 _0x71de4c=this['fieldView']['element'];this['_tooltipString']=_0x71de4c['scrollWidth']>_0x71de4c['clientWidth']&&_0x71de4c['value']||'';}constructor(_0x51f583,_0x159ec3){super(_0x51f583,_0x159ec3),this['_resizeObserver']=null;const _0x3f960d=this['bindTemplate'];this['set']({'label':y(_0x51f583,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x51f583,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3f960d['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x237d8f{constructor(_0x1e796b,_0x4372dc,_0x3ce61f){super(_0x1e796b);const _0x18b3da=new _0x1b2bb4();_0x18b3da['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 _0x5e0bf5=['ck','ck-revision-history-sidebar__revision-author'];_0x3ce61f&&_0x5e0bf5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x27d928=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1e796b,_0x3ce61f?'Revision\x20creator':'Revision\x20author')},'children':[_0x18b3da,_0x4372dc['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5e0bf5},'children':_0x27d928});}}function ni(_0x5d7dd4,_0x320d32){const _0x2c7fb9=_0x5d7dd4['bindTemplate'],_0x52b8a9=_0x5d7dd4['locale'],_0x4a128e=_0x26ee4c(_0x52b8a9);_0x4a128e['panelPosition']='sw';const _0x1d27e9=function(_0x26e983,_0x414856){const _0x51c499=function(_0x126b02,_0x76038c){const _0x5c058c=_0x126b02['locale'],_0x130f75={'Compare\x20against\x20selected':y(_0x5c058c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5c058c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5c058c,'Restore\x20this\x20revision')};return _0x76038c['map'](_0x37cc48=>{const _0x21257b=_0x130f75[_0x37cc48['name']];return _0x21257b&&_0x21257b!==_0x37cc48['name']&&(_0x37cc48['name']=_0x21257b),_0x37cc48;});}(_0x26e983,_0x414856),_0x43d648=new _0x232aea();for(const _0x11774e of _0x51c499){const _0x265e44={'type':'button','model':new to({'label':_0x11774e['name'],'class':_0x11774e['class'],'withText':!0x0,'_action':_0x11774e['action']})};_0x265e44['model']['bind']('isEnabled')['to'](_0x26e983,'isActionsDropdownOpen',_0x5d0247=>'function'!=typeof _0x11774e['isEnabled']||(!_0x5d0247||_0x11774e['isEnabled'](_0x26e983))),_0x43d648['add'](_0x265e44);}return _0x43d648;}(_0x5d7dd4,_0x320d32);return _0x5d7dd4['bind']('isActionsDropdownOpen')['to'](_0x4a128e,'isOpen'),_0x4a128e['buttonView']['set']({'label':y(_0x52b8a9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xb894cb['threeVerticalDots']}),_0x4a128e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2c7fb9['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2c7fb9['to'](_0x4f5f1d=>_0x4f5f1d['stopPropagation']())}}),_0x4a128e['on']('execute',_0x14f66e=>{_0x5d7dd4['isReady']&&'function'==typeof _0x14f66e['source']['_action']&&_0x14f66e['source']['_action'](_0x5d7dd4);}),_0x28e063(_0x4a128e,_0x1d27e9),_0x4a128e['listenTo'](_0x5d7dd4,'change:isActionsDropdownOpen',(_0xa4c3c,_0x2b0f71,_0x3789cd)=>{if(_0x3789cd)for(const _0x30b335 of _0x4a128e['listView']['items']){const _0x1002dd=_0x30b335['children']['first'],_0x54c702=_0x320d32['find'](_0x46e7ea=>_0x46e7ea['action']===_0x1002dd['_action'])['isVisible'];_0x30b335['isVisible']=void 0x0===_0x54c702||_0x54c702(_0x5d7dd4);}}),_0x4a128e;}class ai extends _0xdc7303(_0x237d8f){['render'](){super['render']();const _0x2d1005=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2d1005,'change',()=>{this['_requireRevisionName']&&!_0x2d1005['value']||this['fire']('setName',{'id':this['id'],'name':_0x2d1005['value']}),_0x2d1005['value']||(_0x2d1005['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x471da3,_0x45dbac,_0x40eaba,_0x3b3a38){super(_0x471da3);const _0x5ac624=this['bindTemplate'],_0x58ed10=function(_0xbee3eb,_0x1c5d60){const _0x1ef59c=Array['from'](_0x1c5d60['authors'])['filter'](_0x489783=>_0x489783!=_0x1c5d60['creator']);return _0x1c5d60['creator']&&_0x1ef59c['unshift'](_0x1c5d60['creator']),_0x1ef59c['map'](_0x3774dc=>new ti(_0xbee3eb,_0x3774dc,_0x3774dc==_0x1c5d60['creator']));}(_0x471da3,_0x45dbac);this['id']=_0x45dbac['id'],this['_revision']=_0x45dbac,this['_requireRevisionName']=_0x3b3a38,this['bind']('name','createdAt')['to'](_0x45dbac),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4c40be=>{return _0x4e5e0b=_0x471da3['uiLanguage'],(_0xa4785e=_0x4c40be)['toLocaleDateString'](_0x4e5e0b,{'month':'long','day':'numeric'})+',\x20'+_0xa4785e['toLocaleTimeString'](_0x4e5e0b,{'hour':'numeric','minute':'numeric'});var _0x4e5e0b,_0xa4785e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x471da3,_0x441018),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x413aeb=>_0x413aeb||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x41b5ff,_0x332bde)=>_0x41b5ff&&_0x332bde),this['revisionActionsView']=_0x40eaba&&_0x40eaba['length']?ni(this,_0x40eaba):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5ac624['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5ac624['if']('isEnabled','ck-disabled',_0x53602e=>!_0x53602e),_0x5ac624['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5ac624['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5ac624['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':_0x5ac624['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':_0x58ed10}]},this['revisionActionsView']],'on':{'click':_0x5ac624['to'](_0x46355e=>{_0x46355e['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x27c56f,_0x2fe884){const _0x14fd13=_0x9d72bb['fromJSDate'](_0x27c56f)['setLocale'](_0x2fe884),_0x366ebb=_0x9d72bb['local'](),_0x5cb7ad=_0x366ebb['minus']({'days':0x1})['startOf']('day');let _0x254cc0,_0x309d4b;return _0x14fd13['hasSame'](_0x366ebb,'day')?(_0x254cc0=_0x14fd13['startOf']('day')['toJSDate'](),_0x309d4b=_0x14fd13['toRelativeCalendar']()):_0x14fd13['hasSame'](_0x5cb7ad,'day')?(_0x254cc0=_0x5cb7ad['toJSDate'](),_0x309d4b=_0x14fd13['toRelativeCalendar']()):_0x14fd13['hasSame'](_0x366ebb,'week')?(_0x254cc0=_0x14fd13['startOf']('week')['toJSDate'](),_0x309d4b=_0x14fd13['weekdayLong']||''):_0x14fd13['hasSame'](_0x366ebb,'year')?(_0x254cc0=_0x14fd13['startOf']('month')['toJSDate'](),_0x309d4b=_0x14fd13['monthLong']||''):(_0x254cc0=_0x14fd13['startOf']('year')['toJSDate'](),_0x309d4b=String(_0x14fd13['year'])),{'startDate':_0x254cc0,'localizedPeriodName':_0x309d4b};}class mi extends _0x237d8f{['addRevision'](_0x5353){const _0x112fdc=new ai(this['locale'],_0x5353,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x112fdc);}['removeRevision'](_0x4ebd2e){const _0x181ba0=this['revisionViews']['find'](_0x47aef3=>_0x47aef3['id']===_0x4ebd2e['id']);this['revisionViews']['remove'](_0x181ba0);}constructor(_0x52c021,_0x4a0e30,_0x180870,_0x191cf7){super(_0x52c021);const _0xd2e4f9=di(_0x4a0e30,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4a0e30,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x180870,this['_requireRevisionName']=_0x191cf7,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':_0xd2e4f9}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x237d8f{constructor(_0x29d669){super(_0x29d669);const _0x141318=new _0x1b2bb4();_0x141318['content']=_0xb894cb['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x141318,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x29d669,'Revision\x20history')]}]});}}class ci extends _0x237d8f{['render'](){super['render']();for(const _0xab31d9 of this['_revisions'])this['_addRevision'](_0xab31d9);this['_revisions']['on']('add',(_0x3eb08c,_0x28d9b0)=>{this['_addRevision'](_0x28d9b0);}),this['_revisions']['on']('remove',(_0x3135b6,_0x34693b)=>{this['_removeRevision'](_0x34693b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x234ce9=>_0x234ce9['revisionViews']['map'](_0x59d8ad=>_0x59d8ad))['flat']();}['selectRevision'](_0x38be2d){for(const _0x1bf7d3 of this['revisionViews'])_0x38be2d&&_0x38be2d['id']===_0x1bf7d3['id']?_0x1bf7d3['select']():_0x1bf7d3['deselect']();}['highlightRevisions'](_0x10b08e){for(const _0x3fe75b of this['revisionViews'])_0x10b08e['some'](({id:_0x3110ef})=>_0x3110ef===_0x3fe75b['id'])?_0x3fe75b['highlight']():_0x3fe75b['unhighlight']();}['_addRevision'](_0x557dd9){const _0x524504=di(_0x557dd9['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5cfb21=this['timePeriodViews']['get'](0x0);_0x5cfb21&&_0x5cfb21['startDate']['getTime']()===_0x524504['getTime']()||(_0x5cfb21=new mi(this['locale'],_0x524504,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5cfb21)),_0x5cfb21['addRevision'](_0x557dd9);}['_removeRevision'](_0x1ce836){const _0xeefb1d=di(_0x1ce836['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xeefb1d)['removeRevision'](_0x1ce836);}['_getTimePeriodViewByStartDate'](_0x27f5e4){return this['timePeriodViews']['find'](_0x5bf236=>_0x5bf236['startDate']['getTime']()===_0x27f5e4['getTime']());}constructor(_0x395272,_0x292676,_0xc0940e,_0x3e306f){super(_0x395272);const _0x2ef3c5=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x292676,this['_revisionActions']=_0xc0940e,this['_requireRevisionName']=_0x3e306f,this['on']('select',(_0x361a3d,_0x598fa4)=>{this['fire']('revisionSelected',_0x598fa4);}),this['on']('setName',(_0x4ba9a4,_0x5d767d)=>{this['fire']('revisionSetName',_0x5d767d);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x395272),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x2ef3c5['if']('isEnabled','ck-disabled',_0x891991=>!_0x891991)]},'children':this['timePeriodViews']}]});}}class w extends _0x391dad{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x2d155f=this['_revisionsRepository']['_revisions'],_0x1ade60=this['_createRevisionActions'](),_0x10c1a8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2d155f,_0x1ade60,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',(_0x267cc2,_0x9e6162)=>{_0x9e6162['revisionViews']['on']('add',(_0x5779ec,_0x363495)=>{_0x363495['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)),_0x10c1a8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x33ed83=this['_revisionsRepository']['getRevision'](0x0);if(_0x33ed83){const _0x12f4eb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x33ed83['id']);this['_revisionViewer']['compare'](_0x33ed83,_0x12f4eb);}}['_handleRevisionSelected'](_0x20b6d8,_0x1af219){const _0x275706=this['_revisionsRepository']['getRevision'](_0x1af219['id']),_0x2893a6=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x275706['id']);this['_revisionViewer']['compare'](_0x275706,_0x2893a6);}['_handleRevisionSetName'](_0x13fca1,_0x334907){this['_revisionsRepository']['getRevision'](_0x334907['id'])['setName'](_0x334907['name']);}['_handleDiffChange'](_0x5c17be,_0x4e38f0,_0x30252c){const _0x278dbe=this['_revisionsRepository']['getRevisionsInDiff'](_0x30252c);_0x278dbe['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x278dbe),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x278dbe[0x0]));}['_createRevisionActions'](){const _0x52cab3=this['editor'],_0x3529b0=w['availableRevisionActions'],_0x2fcd53=_0x52cab3['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2fcd53['length'])return _0x2fcd53['map'](_0x1d09cf=>{const _0x20e175='string'==typeof _0x1d09cf?Object['assign']({},_0x3529b0[_0x1d09cf]):_0x1d09cf;return _0x20e175['action']=_0x20e175['action']['bind'](this,_0x52cab3),_0x20e175['isVisible']&&(_0x20e175['isVisible']=_0x20e175['isVisible']['bind'](this,_0x52cab3)),_0x20e175;});}constructor(_0xcceb36){super(_0xcceb36),this['_revisionViewer']=_0xcceb36['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x550e88},_0x2f7077)=>{const _0x46a353=_0x550e88['get'](d),_0x53a0fe=_0x46a353['repository'];let _0x4b6596=_0x46a353['diff']['newRevisionId'],_0x399899=_0x2f7077['id'];_0x53a0fe['getIndex'](_0x4b6596)>_0x53a0fe['getIndex'](_0x399899)&&([_0x4b6596,_0x399899]=[_0x399899,_0x4b6596]),_0x46a353['compare'](_0x4b6596,_0x399899);},'isVisible':({plugins:_0x398e75},_0x2d1eb6)=>{const _0x282643=_0x398e75['get'](d);return!(_0x282643['repository']['getRevisionsInDiff'](_0x282643['diff'])['length']>0x2)&&!_0x2d1eb6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x503a87,{id:_0x2f3bd1})=>{_0x503a87['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2f3bd1);},'isVisible':({plugins:_0x2ca0a2},_0x2cb12c)=>!!_0x2ca0a2['get'](d)['repository']['getLaterVisibleRevision'](_0x2cb12c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4dbfe2},{id:_0x56c4b9,revisionNameView:_0x5b6a96})=>{const _0x13f1d0=_0x4dbfe2['get'](d),_0x586344=_0x13f1d0['repository']['getEarlierVisibleRevision'](_0x56c4b9);_0x13f1d0['compare'](_0x56c4b9,_0x586344),_0x5b6a96['focus'](),_0x5b6a96['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x4b4fd6){const _0x377fdf=this['editor'],_0x4c3f3f=this['view'],_0x11f63e=_0x377fdf['editing']['view'],_0x531189=_0x4c3f3f['editable'],_0x226e29=_0x11f63e['document']['getRoot']();_0x531189['name']=_0x226e29['rootName'],_0x4c3f3f['render']();const _0x22ab7d=_0x531189['element'];this['setEditableElement'](_0x531189['name'],_0x22ab7d),_0x4c3f3f['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x11f63e['attachDomRoot'](_0x22ab7d),this['_elementReplacer']['replace'](_0x4b4fd6,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3345bb=this['view'],_0xa50a2a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xa50a2a['detachDomRoot'](_0x3345bb['editable']['name']),_0x3345bb['destroy']();}['_initToolbar'](){const _0x59641c=this['view'];_0x59641c['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x59641c['stickyPanel']['limiterElement']=_0x59641c['element'],_0x59641c['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xfad4f8})=>_0xfad4f8),_0x59641c['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x59641c['toolbar']);}constructor(_0x4c0033,_0x295775){super(_0x4c0033),this['_view']=_0x295775,this['_toolbarConfig']=ct(_0x4c0033['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(_0x4767b8,_0x350f27,_0x29a0b7={}){super(_0x4767b8),this['stickyPanel']=new lt(_0x4767b8),this['toolbar']=new pt(_0x4767b8,{'shouldGroupWhenFull':_0x29a0b7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4767b8,_0x350f27);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3dbf2e,_0x381bb5){const _0x138f9b=new this(_0x3dbf2e,_0x381bb5);return await _0x138f9b['initPlugins'](),await _0x138f9b['ui']['init'](_0x3dbf2e),await _0x138f9b['data']['init'](_0x138f9b['config']['get']('initialData')||''),_0x138f9b['fire']('ready'),_0x138f9b;}constructor(_0x305748,_0x424fe5){super(_0x424fe5),this['sourceElement']=_0x305748,this['model']['document']['createRoot']();const _0x50bc33=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x50bc33);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x391dad{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x22938b){super(_0x22938b),this['result']='end';}}class H extends _0x391dad{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x5d1ef6){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d1ef6;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2117d7){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2117d7);}['getRevision'](_0x239f18){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x239f18);}['getRevisions'](_0x2b09d1={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2b09d1);}['_getRevisionViewerEditorConfig'](){const _0x2c0a2d=this['editor'],_0x39b161=_0x5f188c(_0x2c0a2d,g),_0x486a84=_0x2c0a2d['plugins']['get']('RevisionTracker'),_0x227a63=_0x2c0a2d['plugins']['get']('Users')['users'];return _0x39b161['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x39b161['lazyRoots'],(_0x39b161['plugins']['push'](k,d,R,class extends _0x391dad{static get['requires'](){return[d,'Users'];}['init'](){const _0x3fc1a9=this['editor']['plugins']['get']('Users');for(const _0x497bea of _0x227a63)_0x497bea['isAnonymous']||_0x3fc1a9['getUser'](_0x497bea['id'])||_0x3fc1a9['addUser'](_0x497bea);const _0x31978c=_0x486a84['repository']['getRevisions']();let _0x4b3ca6=null;const _0x3eba42=this['editor']['plugins']['get']('RevisionViewer');_0x3eba42['adapter']=_0x486a84['adapter'],_0x3eba42['bind']('isEnabled')['to'](_0x486a84),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2c0a2d,'isReadOnly',_0x29507b=>!_0x29507b);for(const _0x145425 of _0x31978c){const _0x14eaa7=null===_0x145425['creator'];if(_0x14eaa7&&_0x145425['toVersion']===_0x145425['fromVersion'])continue;const _0x1abf8e=_0x145425['toJSON']();_0x3eba42['addRevisionData'](_0x1abf8e,(_0x20e385,_0x40a4eb,_0x4c6686)=>{if(_0x14eaa7){if(_0x4b3ca6)_0x4b3ca6['_update'](_0x20e385,_0x40a4eb);else{if(!_0x40a4eb){const _0x5e43d3=_0x4c6686['toJSON']();_0x5e43d3['id']=_0x424868(),_0x486a84['saveRevision'](_0x5e43d3,_0x4c6686['toVersion'])['then'](_0x2f5acf=>{_0x4b3ca6=_0x2f5acf;});}}}else _0x145425['_update'](_0x20e385,_0x40a4eb);});}}},w),_0x39b161);}['_enhanceShowRevisionViewerCallback'](){const _0x3c9e6a=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x258017=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1c49ee=this['editor']['plugins']['get']('Autosave');await _0x1c49ee['save']();}else await _0x258017['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x1e9820=this['_getRevisionViewerEditorConfig']();return _0x3c9e6a(_0x1e9820)['then'](_0x3d3880=>{return(this['_viewerEditor']=_0x3d3880,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3d3880;})['catch'](_0x18ed13=>(console['error'](_0x18ed13),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xd2385d=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'](),_0xd2385d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x64bf20=this['editor']['plugins']['get']('Annotations');_0x64bf20['refreshVisibility'](),_0x64bf20['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4cdc38){const _0x1422ee=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x503199=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4ce932=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4ce932,_0x4cdc38)['then'](_0xf5b650=>(_0x503199['style']['display']='block',_0x1422ee['style']['display']='none',_0xf5b650));}['_closeRevisionViewer'](_0x3f398a){const _0xe75eed=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xe75eed['style']['display']='',_0x3f398a['destroy']();}async['_restoreRevision'](_0x5cc775){const _0x152e68=this['editor'],_0x5da5c7=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5788c2=_0x152e68['plugins']['get']('RevisionTracker'),_0x15e01b=_0x5da5c7['repository']['getRevision'](_0x5cc775);let _0x4b9e6b,_0x16ac0c,_0x4a15a1;try{_0x4b9e6b=await _0x5da5c7['getRevisionData'](_0x15e01b),_0x16ac0c=await _0x5da5c7['getRevisionRootsAttributes'](_0x15e01b);}catch(_0x11f4e9){return void console['error'](_0x11f4e9);}_0x152e68['model']['change'](_0x244caa=>{for(const _0x3dfffa of Array['from'](_0x152e68['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x244caa['removeMarker'](_0x3dfffa);}),_0x5da5c7['isReady']=!0x1,_0x152e68['model']['enqueueChange'](_0xf4fed2=>{_0xf4fed2['setSelection'](null),_0xf4fed2['removeSelectionAttribute'](_0x152e68['model']['document']['selection']['getAttributeKeys']());const _0x19ef0b=Object['keys'](_0x4b9e6b);for(const _0x32ca26 of _0x152e68['model']['document']['roots'])'$graveyard'!=_0x32ca26['rootName']&&_0x32ca26['isAttached']()&&!_0x19ef0b['includes'](_0x32ca26['rootName'])&&_0xf4fed2['detachRoot'](_0x32ca26);for(const _0x2ffbae of _0x19ef0b){let _0x2399eb=_0x152e68['model']['document']['getRoot'](_0x2ffbae);_0x2399eb&&_0x2399eb['isAttached']()||(_0x2399eb=_0xf4fed2['addRoot'](_0x2ffbae));const _0x27d7a8=_0x16ac0c[_0x2ffbae],_0x54021e=Object['keys'](_0x27d7a8),_0x4d2d1d=_0x4b9e6b[_0x2ffbae];for(const _0x49f939 of _0x2399eb['getAttributeKeys']())_0x54021e['includes'](_0x49f939)||_0xf4fed2['removeAttribute'](_0x49f939,_0x2399eb);for(const _0x286bfa of _0x54021e)_0xf4fed2['setAttribute'](_0x286bfa,_0x16ac0c[_0x2ffbae][_0x286bfa],_0x2399eb);_0xf4fed2['remove'](_0xf4fed2['createRangeIn'](_0x2399eb)),_0xf4fed2['insert'](_0x152e68['data']['parse'](_0x4d2d1d,_0x2399eb),_0x2399eb,0x0);}});const _0x26c5b1=y(_0x152e68['locale'],'Restored');if(_0x15e01b['name'])_0x4a15a1=-0x1==_0x15e01b['name']['indexOf'](_0x26c5b1)?_0x26c5b1+':\x20'+_0x15e01b['name']:_0x15e01b['name'];else _0x4a15a1=_0x26c5b1+':\x20'+(_0x15e01b['createdAt']['toLocaleDateString'](_0x152e68['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x15e01b['createdAt']['toLocaleTimeString'](_0x152e68['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5788c2['saveRevision']({'name':_0x4a15a1}),_0x5da5c7['isReady']=!0x0,_0x152e68['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x31285c){if(super(_0x31285c),!this['editor']['config']['get']('revisionHistory'))throw new _0x1920d1('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x189ab1=>this['_showRevisionViewer']({..._0x189ab1,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2237a3=>this['_closeRevisionViewer'](_0x2237a3)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xf8b13b=>this['_restoreRevision'](_0xf8b13b)),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};
|