@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240818.0 → 0.0.0-nightly-20240820.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 +6 -6
- 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/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/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 +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- 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 +2 -2
- 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,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
24
|
-
_0x559568(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x27f016){super(),this['id']=_0x27f016['id']||_0x52795b(),this['creator']=_0x27f016['creator']||null,this['authors']=_0x27f016['authors']||[],this['diffData']=_0x27f016['diffData']||null,this['toVersion']=_0x27f016['toVersion']||0x0,this['fromVersion']=_0x27f016['fromVersion']||0x0,this['set']('name',_0x27f016['name']||''),this['set']('createdAt',_0x27f016['createdAt']||new Date()),this['set']('attributes',_0x27f016['attributes']||{});}['setName'](_0x3ed366){this['_update']({'name':_0x3ed366});}['setAttribute'](_0x34df81,_0x454f7e){const _0x1f7975=_0x4e5ecc(this['attributes']);_0x2ee5d9(_0x1f7975,_0x34df81,_0x454f7e),this['_update']({'attributes':_0x1f7975});}['removeAttribute'](_0x320080){const _0x2b5686=_0x4e5ecc(this['attributes']);_0x2de88f(_0x2b5686,_0x320080),this['_update']({'attributes':_0x2b5686});}['_update'](_0x8613f9,_0x3823e8=!0x1){let _0x46224d=!0x1;const _0x1fc90d={'id':this['id']},_0x4bacd9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2dc239 of _0x4bacd9){const _0x503634=_0x8613f9[_0x2dc239];void 0x0!==_0x503634&&_0x503634!==this[_0x2dc239]&&(this[_0x2dc239]=_0x503634,_0x1fc90d[_0x2dc239]=_0x503634,_0x46224d=!0x0);}_0x46224d&&(_0x1fc90d['authors']&&(_0x1fc90d['authorsIds']=_0x1fc90d['authors']['map'](_0x502ba9=>_0x502ba9['id']),delete _0x1fc90d['authors']),this['fire']('_update',_0x1fc90d,_0x3823e8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5a89fb=>_0x5a89fb['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1500d7{['_revisions'];static get['requires'](){return[_0x204718];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2568de){super(_0x2568de),this['_revisions']=new _0x320ebf();}['afterInit'](){!function(_0x287d54){function _0x4b2e19(_0x54e01e,_0x48f16f,_0x50ae5d){const _0x32c82f={};_0x32c82f[_0x385351([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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],_0x32c82f[_0x385351([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 _0x1e0cea=new Uint8Array(0x10);for(let _0x4aa537=0xf;_0x4aa537>=0x0;--_0x4aa537)_0x1e0cea[_0x4aa537]=_0x50ae5d%0x100,_0x50ae5d=parseInt(_0x50ae5d/0x100);let _0x3e2b37=null,_0x5eaf7f=0x10;const _0x19e291=new Uint8Array(_0x48f16f),_0x194278=[],_0x4449b1=[];_0x339fc0();for(let _0x3aedff=0x0;_0x3aedff<_0x54e01e[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3aedff++)0x10===_0x5eaf7f&&(_0x3e2b37=_0x29a6e7(_0x1e0cea),_0x5eaf7f=0x0,_0x421e3b(_0x1e0cea)),_0x54e01e[_0x3aedff]^=_0x3e2b37[_0x5eaf7f++];return _0x54e01e;function _0x246b43(_0x52fcbc){const _0x4bbe10=[];for(let _0x57134b=0x0;_0x57134b<_0x52fcbc[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57134b+=0x4)_0x4bbe10[_0x385351([0x70,0x75,0x73,0x68])](_0x52fcbc[_0x57134b]<<0x18|_0x52fcbc[_0x57134b+0x1]<<0x10|_0x52fcbc[_0x57134b+0x2]<<0x8|_0x52fcbc[_0x57134b+0x3]);return _0x4bbe10;}function _0x421e3b(_0xeed9b2){for(let _0x1aa403=0xf;_0x1aa403>=0x0;_0x1aa403--){if(0xff!==_0xeed9b2[_0x1aa403]){_0xeed9b2[_0x1aa403]++;break;}_0xeed9b2[_0x1aa403]=0x0;}}function _0x29a6e7(_0x5f3eae){const _0x5d6830=_0x194278[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4a0116=[0x0,0x0,0x0,0x0];let t=_0x246b43(_0x5f3eae);for(let _0x528949=0x0;_0x528949<0x4;_0x528949++)t[_0x528949]^=_0x194278[0x0][_0x528949];for(let _0x3b6f57=0x1;_0x3b6f57<_0x5d6830;_0x3b6f57++){for(let _0x53df1d=0x0;_0x53df1d<0x4;_0x53df1d++)_0x4a0116[_0x53df1d]=_0x32c82f[_0x385351([0x54,0x31])][t[_0x53df1d]>>0x18&0xff]^_0x32c82f[_0x385351([0x54,0x32])][t[(_0x53df1d+0x1)%0x4]>>0x10&0xff]^_0x32c82f[_0x385351([0x54,0x33])][t[(_0x53df1d+0x2)%0x4]>>0x8&0xff]^_0x32c82f[_0x385351([0x54,0x34])][0xff&t[(_0x53df1d+0x3)%0x4]]^_0x194278[_0x3b6f57][_0x53df1d];t=_0x4a0116[_0x385351([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1d8374=new Uint8Array(0x10);let _0x3da185;for(let _0x3fd554=0x0;_0x3fd554<0x4;_0x3fd554++)_0x3da185=_0x194278[_0x5d6830][_0x3fd554],_0x1d8374[0x4*_0x3fd554]=0xff&(_0x32c82f[_0x385351([0x53])][t[_0x3fd554]>>0x18&0xff]^_0x3da185>>0x18),_0x1d8374[0x4*_0x3fd554+0x1]=0xff&(_0x32c82f[_0x385351([0x53])][t[(_0x3fd554+0x1)%0x4]>>0x10&0xff]^_0x3da185>>0x10),_0x1d8374[0x4*_0x3fd554+0x2]=0xff&(_0x32c82f[_0x385351([0x53])][t[(_0x3fd554+0x2)%0x4]>>0x8&0xff]^_0x3da185>>0x8),_0x1d8374[0x4*_0x3fd554+0x3]=0xff&(_0x32c82f[_0x385351([0x53])][0xff&t[(_0x3fd554+0x3)%0x4]]^_0x3da185);return _0x1d8374;}function _0x339fc0(){const _0x5867bb=_0x32c82f[_0x385351([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x19e291[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1acf83=0x0;_0x1acf83<=_0x5867bb;_0x1acf83++)_0x194278[_0x385351([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4449b1[_0x385351([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x16fd7a=0x4*(_0x5867bb+0x1),_0x49831b=_0x19e291[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1c1458=_0x246b43(_0x19e291);let _0x8330e1;for(let _0x5dd707=0x0;_0x5dd707<_0x49831b;_0x5dd707++)_0x8330e1=_0x5dd707>>0x2,_0x194278[_0x8330e1][_0x5dd707%0x4]=_0x1c1458[_0x5dd707],_0x4449b1[_0x5867bb-_0x8330e1][_0x5dd707%0x4]=_0x1c1458[_0x5dd707];let _0x328cb1,_0xeead2b=0x0,t=_0x49831b;for(;t<_0x16fd7a;){_0x328cb1=_0x1c1458[_0x49831b-0x1],_0x1c1458[0x0]^=_0x32c82f[_0x385351([0x53])][_0x328cb1>>0x10&0xff]<<0x18^_0x32c82f[_0x385351([0x53])][_0x328cb1>>0x8&0xff]<<0x10^_0x32c82f[_0x385351([0x53])][0xff&_0x328cb1]<<0x8^_0x32c82f[_0x385351([0x53])][_0x328cb1>>0x18&0xff]^_0x32c82f[_0x385351([0x72,0x63,0x6f,0x6e])][_0xeead2b]<<0x18,_0xeead2b+=0x1;for(let _0x507d11=0x1;_0x507d11<_0x49831b/0x2;_0x507d11++)_0x1c1458[_0x507d11]^=_0x1c1458[_0x507d11-0x1];_0x328cb1=_0x1c1458[_0x49831b/0x2-0x1],_0x1c1458[_0x49831b/0x2]^=_0x32c82f[_0x385351([0x53])][0xff&_0x328cb1]^_0x32c82f[_0x385351([0x53])][_0x328cb1>>0x8&0xff]<<0x8^_0x32c82f[_0x385351([0x53])][_0x328cb1>>0x10&0xff]<<0x10^_0x32c82f[_0x385351([0x53])][_0x328cb1>>0x18&0xff]<<0x18;for(let _0x15d4b5=_0x49831b/0x2+0x1;_0x15d4b5<_0x49831b;_0x15d4b5++)_0x1c1458[_0x15d4b5]^=_0x1c1458[_0x15d4b5-0x1];let _0x15d365,_0x123bcc,_0xd54f28=0x0;for(;_0xd54f28<_0x49831b&&t<_0x16fd7a;)_0x15d365=t>>0x2,_0x123bcc=t%0x4,_0x194278[_0x15d365][_0x123bcc]=_0x1c1458[_0xd54f28],_0x4449b1[_0x5867bb-_0x15d365][_0x123bcc]=_0x1c1458[_0xd54f28++],t++;}for(let _0x1e9847=0x1;_0x1e9847<_0x5867bb;_0x1e9847++)for(let _0x41140c=0x0;_0x41140c<0x4;_0x41140c++)_0x328cb1=_0x4449b1[_0x1e9847][_0x41140c],_0x4449b1[_0x1e9847][_0x41140c]=_0x32c82f[_0x385351([0x55,0x31])][_0x328cb1>>0x18&0xff]^_0x32c82f[_0x385351([0x55,0x32])][_0x328cb1>>0x10&0xff]^_0x32c82f[_0x385351([0x55,0x33])][_0x328cb1>>0x8&0xff]^_0x32c82f[_0x385351([0x55,0x34])][0xff&_0x328cb1];}}function _0x385351(_0x33f6dd){return _0x33f6dd['map'](_0x3620bd=>String['fromCharCode'](_0x3620bd))['join']('');}(_0x3977f8=>{function _0x2ecf4c(){const _0x1a68ad=[{[_0x385351([0x69,0x64])]:0x1,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x385351([0x69,0x64])]:0x2,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([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]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x385351([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x385351([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x385351([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x385351([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x385351([0x69,0x64])]:0x3,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x385351([0x69,0x64])]:0x4,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([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]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x385351([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x385351([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x385351([0x69,0x64])]:0x5,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([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]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}},{[_0x385351([0x69,0x64])]:0x6,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}},{[_0x385351([0x69,0x64])]:0x7,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}},{[_0x385351([0x69,0x64])]:0x8,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([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]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}},{[_0x385351([0x69,0x64])]:0x9,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x385351([0x69,0x64])]:0xa,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([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]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([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]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([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]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}},{[_0x385351([0x69,0x64])]:0xb,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x385351([0x69,0x64])]:0xc,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x385351([0x69,0x64])]:0xd,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}},{[_0x385351([0x69,0x64])]:0xe,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x385351([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([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])},{[_0x385351([0x69,0x64])]:0xf,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x385351([0x69,0x64])]:0x10,[_0x385351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x385351([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x385351([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x385351([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x385351([0x66,0x67,0x69])]:[0xc]}}];return _0x5a62c2(_0x1a68ad),_0x1a68ad;function _0x4b0709(_0x39e0e1){return 0x1<<_0x39e0e1-0x1;}function _0x5a62c2(_0x361956){_0x361956[_0x385351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e9ebf=>{_0x1e9ebf[_0x385351([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4b0709(_0x1e9ebf[_0x385351([0x69,0x64])]),_0x39a097(_0x1e9ebf)&&_0x1e9ebf[_0x385351([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5a62c2(_0x1e9ebf[_0x385351([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x39a097(_0x1b7ed9){return _0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x1b7ed9;}const _0x7856fb=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x45a7e2=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5f5602(_0x321774){const _0x3e0542=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x108163(_0x321774,new Uint8Array([..._0x7856fb,..._0x3e0542,..._0x45a7e2]));}function _0x108163(_0x21a7bf,_0x19eb0f){const _0xb1e35d=_0x3c8389(_0x21a7bf),_0xa98bd=Array[_0x385351([0x66,0x72,0x6f,0x6d])](_0x4eee19(_0xb1e35d)),_0x50c4e9=_0xa98bd[_0x385351([0x70,0x6f,0x70])](),_0x421e99=_0xa98bd[_0x385351([0x70,0x6f,0x70])]();return _0xd416ac(_0x4b2e19(_0xa98bd,_0x19eb0f,_0x421e99+0x100*_0x50c4e9));}function _0x3c8389(_0x244a8c){const _0x17322d=atob(_0x244a8c),[_0x149a68,_0x4b9d3b]=_0x17322d[_0x385351([0x73,0x70,0x6c,0x69,0x74])](_0x385351([0x2d]));try{if(atob(_0x4b9d3b))return atob(_0x149a68);}catch(_0x2e2807){}return _0x17322d;}function _0x263fa4(_0x2cd677){try{const _0x4fd1af=_0x5f5602(_0x2cd677),_0x199cbf=JSON[_0x385351([0x70,0x61,0x72,0x73,0x65])](_0x4fd1af),_0x17913b=parseInt(_0x199cbf[_0x385351([0x31])]),_0x449c3c=_0x199cbf[_0x385351([0x32])]||'',_0x34717a=parseInt(_0x199cbf[_0x385351([0x33])]),_0x1e28de=parseInt(_0x199cbf[_0x385351([0x34])])||0x0,_0x5ebed2=parseInt(_0x199cbf[_0x385351([0x35])])||0x0;return{[_0x385351([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x449c3c,[_0x385351([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1e28de,[_0x385351([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x17913b,[_0x385351([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x34717a,[_0x385351([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5ebed2};}catch(_0xe8e5){return null;}}const _0x2afd87=_0x2ecf4c(),_0x44ba27={[_0x385351([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2d2bd4,[_0x385351([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])]:_0x4f7dd6,[_0x385351([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])]:_0x16821a},_0x3cdfd1=_0x3977f8[_0x385351([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x966803=_0x385351([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3977f8?_0x3977f8['context']:_0x3977f8['editor'],_0x105237=_0x385351([0x34,0x30,0x34,0x38,0x31,0x36,0x33,0x36]),_0x119645=_0x385351([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]),_0x19ba87=_0x966803['config']['get'](_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x39ecd9=_0x2afd87[_0x385351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39a097)[_0x385351([0x66,0x69,0x6e,0x64])](_0x5c3152=>_0x5c3152[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3cdfd1);function _0x3bcb29(_0x40790b,_0x3da31c){_0x44ba27[_0x3da31c[_0x385351([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x40790b,_0x3da31c),_0x3da31c[_0x385351([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3da31c[_0x385351([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x385351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ee617=>_0x2f662b(_0x966803,_0x5ee617[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x385351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x104ebb=>_0x3bcb29(_0x40790b,_0x104ebb));}function _0x2d2bd4(_0x277747,_0x599ab9){_0x9a89f8(_0x230489(_0x277747,_0x599ab9),_0x599ab9);}function _0x4f7dd6(_0x5d5709,_0x210f52){function _0x1bc26f(_0x3cff99,_0x5b9995){try{if(_0x2f662b(_0x966803,_0x385351([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3cff99){const _0x172d8c=_0x3bfb34(_0x966803,_0x385351([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x385351([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x172d8c)/0x2>_0x3cff99[_0x385351([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2c7adb(_0x5b9995[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x230489(_0x3cff99,_0x5b9995);}catch(_0x456bdc){return _0x2c7adb(_0x5b9995[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x9a89f8(_0x1bc26f(_0x5d5709,_0x210f52),_0x210f52);}function _0x16821a(_0xa190b6,_0x2d5924){const _0x316736=_0x45a7e2[0x0]*_0x7856fb[0x1],_0x2d30d5=_0x45a7e2[0x0]*_0x7856fb[0x2],_0x4466a2=_0x45a7e2[0x2]*_0x7856fb[0x2];_0x2f662b(_0x966803,_0x385351([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3bfb34(_0x966803,_0x385351([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x385351([0x73,0x74,0x61,0x74,0x65])]==_0x385351([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x37197b()]=_0x4466a2);function _0x1707a3(_0x3db353,_0x4c2001){try{return _0x3832cf()?_0x2c7adb(_0x4c2001[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x56,0x61,0x6c,0x69,0x64])):_0x230489(_0x3db353,_0x4c2001);}catch(_0x2d3bba){return _0x2c7adb(_0x4c2001[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3c2853(_0x500826,_0x34b4c5){const _0x4dfc06=0x7;if(_0x500826==_0x34b4c5[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2d234c();else{if(_0x500826==_0x34b4c5[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c])){const _0x407a43=_0x574c3d();_0x407a43&&_0x273adf(_0x407a43,_0x34b4c5[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5ba99c=_0x502ebb();window[_0x385351([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x273adf(_0x385351([0x74,0x69,0x6d,0x65]),_0x34b4c5[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5ba99c);const _0x46be92=_0x3bfb34(_0x966803,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x385351([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x46be92[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4dfc06?_0x273adf(_0x385351([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x34b4c5[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x46be92['on'](_0x385351([0x61,0x64,0x64]),()=>{_0x46be92[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4dfc06&&_0x273adf(_0x385351([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x34b4c5[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x574c3d(){if(!_0x2f662b(_0x966803,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x19c779 in window)if(Number['isNaN'](Number(_0x19c779))){if(window[_0x19c779]===_0x316736)return _0x385351([0x74,0x69,0x6d,0x65]);if(window[_0x19c779]===_0x2d30d5)return _0x385351([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3832cf(){if(!_0x2f662b(_0x966803,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x192b29 in window)if(Number['isNaN'](Number(_0x192b29))&&window[_0x192b29]===_0x4466a2)return!0x0;return!0x1;}function _0x273adf(_0x9e2934,_0x2d74e4){_0x2d234c(),_0x2c7adb(_0x2d74e4+_0x385351([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x9e2934),window[_0x37197b()]=_0x9e2934===_0x385351([0x74,0x69,0x6d,0x65])?_0x316736:_0x2d30d5;}function _0x502ebb(){let _0x11cc4c=_0x45a7e2[0x6]*_0x7856fb[0x8]*_0x7856fb[0x6];return _0x2f662b(_0x966803,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x11cc4c/=0xa),_0x11cc4c;}function _0x2d234c(){const _0x3f857c=_0x966803;function _0x44e490(){_0x2f662b(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x385351([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x385351([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x385351([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x385351([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x47455d,_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x385351([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x47455d,_0x3f857c[_0x385351([0x6d,0x6f,0x64,0x65,0x6c])][_0x385351([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47455d,_0x3f857c[_0x385351([0x6d,0x6f,0x64,0x65,0x6c])][_0x385351([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47455d,_0x3f857c[_0x385351([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x385351([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2f662b(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x385351([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x385351([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x385351([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x385351([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x47455d,_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x385351([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x47455d);}_0x3f857c[_0x385351([0x73,0x74,0x61,0x74,0x65])]==_0x385351([0x72,0x65,0x61,0x64,0x79])?_0x44e490():_0x3f857c[_0x385351([0x6f,0x6e,0x63,0x65])](_0x385351([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2f662b(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x44e490(),_0x2f662b(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1bbd5d=_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4cc42e=_0x1bbd5d['getRevision'](0x0),_0x561237=_0x1bbd5d['getEarlierVisibleRevision'](_0x4cc42e[_0x385351([0x69,0x64])]);_0x3bfb34(_0x3f857c,_0x385351([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x385351([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4cc42e[_0x385351([0x69,0x64])],_0x561237?_0x561237[_0x385351([0x69,0x64])]:null,0x1)['then'](()=>_0x44e490());}});}_0x3c2853(_0x1707a3(_0xa190b6,_0x2d5924),_0x2d5924);}function _0x230489(_0x3c600e,_0x2062e6){try{return _0x3db287(_0x2062e6)?_0x2c7adb(_0x2062e6[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x56,0x61,0x6c,0x69,0x64])):_0x3c600e&&_0x3b198a(_0x3c600e[_0x385351([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2062e6)?_0x3c600e[_0x385351([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x385351([0x6f,0x70,0x65,0x6e])][_0x385351([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x105237)/0x2>_0x3c600e[_0x385351([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2c7adb(_0x2062e6[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3c600e[_0x385351([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2c7adb(_0x2062e6[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c])):_0x2c7adb(_0x2062e6[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x56,0x61,0x6c,0x69,0x64])):_0x2c7adb(_0x2062e6[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x537ff7){return _0x2c7adb(_0x2062e6[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9a89f8(_0x3dd71e,_0x4768c0){if(_0x966803 instanceof _0x540baf){const _0x315f55=_0x966803;_0x3dd71e==_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x25d9f2(_0x315f55):_0x3dd71e==_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c])&&window[_0x385351([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25d9f2(_0x315f55),_0x2c7adb(_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x45a7e2[0x6]*_0x7856fb[0x8]*_0x7856fb[0x6]),_0x315f55[_0x385351([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x385351([0x6f,0x6e])](_0x385351([0x61,0x64,0x64]),(_0x1f6b06,_0x29e9f7)=>{_0x3dd71e!=_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3dd71e!=_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3dd71e!=_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x304dd5(_0x29e9f7);});}else{const _0x1b6e4a=_0x966803;_0x3dd71e==_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x304dd5(_0x1b6e4a):_0x3dd71e==_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c])&&_0x1b6e4a[_0x385351([0x6f,0x6e])](_0x385351([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x53a07d=0x0;_0x1b6e4a[_0x385351([0x6d,0x6f,0x64,0x65,0x6c])][_0x385351([0x6f,0x6e])](_0x385351([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e7cad,_0x3975dd)=>{_0x3975dd[0x0][_0x385351([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53a07d++,0x1f8===_0x53a07d&&(_0x304dd5(_0x1b6e4a),_0x2c7adb(_0x4768c0[_0x385351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x385351([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2e7cad[_0x385351([0x6f,0x66,0x66])]());},{'priority':_0x385351([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2c7adb(_0x40b2b1){const _0x19fef5=_0x37197b();return _0x966803[_0x19fef5]=_0x40b2b1,_0x40b2b1;}function _0x37197b(){const _0x2441c7=String(window[_0x385351([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x385351([0x6e,0x6f,0x77])]())[_0x385351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x385351([0x2e]),'');let _0xb0a66='';for(let _0x439973=0x0;_0x439973<_0x2441c7[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x439973+=0x2){let _0x1d1c70=parseInt(_0x2441c7[_0x385351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x439973,_0x439973+0x2));_0x1d1c70>=_0x119645[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d1c70-=_0x119645[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb0a66+=_0x119645[_0x1d1c70];}return _0xb0a66;}function _0x25d9f2(_0x238fa0){for(const _0x4a41be of _0x238fa0[_0x385351([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x304dd5(_0x4a41be);_0x3bfb34(_0x238fa0,_0x385351([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x385351([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3bfb34(_0x238fa0,_0x385351([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x385351([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x47455d;}function _0x304dd5(_0x49f181){function _0x4f0275(){_0x49f181[_0x385351([0x6d,0x6f,0x64,0x65,0x6c])][_0x385351([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47455d,_0x49f181[_0x385351([0x6d,0x6f,0x64,0x65,0x6c])][_0x385351([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47455d,_0x49f181[_0x385351([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x385351([0x6d,0x6f,0x64,0x65,0x6c]));}_0x49f181[_0x385351([0x73,0x74,0x61,0x74,0x65])]==_0x385351([0x72,0x65,0x61,0x64,0x79])?_0x4f0275():_0x49f181[_0x385351([0x6f,0x6e,0x63,0x65])](_0x385351([0x72,0x65,0x61,0x64,0x79]),()=>_0x4f0275());}function _0x47455d(){return null;}function _0x3b198a(_0x17ba66,_0x4b5237){const _0x1dbbe9=!!(_0x17ba66&_0x4b5237[_0x385351([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2cde60=_0x5dfd02(_0x17ba66,_0x4b5237);return _0x1dbbe9||_0x2cde60;}function _0x5dfd02(_0x2e6216,_0x17d90f){const _0x282f86=(_0x17d90f[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x385351([0x66,0x67,0x69])]||null;return!!_0x282f86&&_0x2afd87[_0x385351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a67c0=>_0x282f86[_0x385351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a67c0[_0x385351([0x69,0x64])]))[_0x385351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x519859=>!_0x2bc559(_0x519859))[_0x385351([0x73,0x6f,0x6d,0x65])](_0x477b79=>!!(_0x2e6216&_0x477b79[_0x385351([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2bc559(_0x3c472c){const _0x598742={[_0x385351([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])]:_0x3615bc};return!!_0x3c472c['forbiddenHandler']&&_0x598742[_0x3c472c['forbiddenHandler']]();}function _0x3615bc(){return!window[_0x385351([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2f662b(_0x966803,_0x385351([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3db287(_0x92063d){if(!_0x2f662b(_0x966803,_0x92063d[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1e9aea=_0x92063d[_0x385351([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3830d6=_0x1e9aea[_0x385351([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x35e938=_0x1e9aea[_0x385351([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x186cee=_0x1e9aea[_0x385351([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2f662b(_0x966803,_0x385351([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3bfb34(_0x966803,_0x385351([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x385351([0x73,0x74,0x61,0x74,0x65])]==_0x385351([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3830d6)return!0x0;if(_0x2f662b(_0x966803,_0x385351([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3bfb34(_0x966803,_0x385351([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x385351([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x385351([0x65,0x6e,0x64])&&_0x35e938)return!0x0;return!(!_0x2f662b(_0x966803,_0x385351([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]))||_0x3bfb34(_0x966803,_0x385351([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]))[_0x385351([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x385351([0x65,0x6e,0x64])||!_0x186cee);}function _0x2f662b(_0x142657,_0x55601d){return _0x142657[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x385351([0x68,0x61,0x73])](_0x55601d);}function _0x3bfb34(_0x4e9347,_0x39b926){return _0x4e9347[_0x385351([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x385351([0x67,0x65,0x74])](_0x39b926);}function _0xd416ac(_0x13104e){let _0x17b9f9='';for(const _0x9d821d of _0x13104e)_0x17b9f9+=String[_0x385351([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x9d821d);return _0x17b9f9;}function _0x4eee19(_0x24161d){const _0x11c659=new Uint8Array(_0x24161d[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x527e8f=0x0;_0x527e8f<_0x24161d[_0x385351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x527e8f++)_0x11c659[_0x527e8f]=_0x24161d[_0x385351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x527e8f);return _0x11c659;}_0x39ecd9&&_0x3bcb29(_0x263fa4(_0x19ba87),_0x39ecd9);})(_0x287d54);}(this);}['createRevision'](_0x4563bd){const _0x36ba13=this['editor']['plugins']['get']('Users');return new a({'id':_0x4563bd['id'],'name':_0x4563bd['name'],'creator':_0x4563bd['creatorId']?_0x36ba13['getUser'](_0x4563bd['creatorId']):null,'diffData':_0x4563bd['diffData']||_0x4563bd['data'],'authors':_0x4563bd['authorsIds']['map'](_0x5363b5=>_0x36ba13['getUser'](_0x5363b5)),'createdAt':new Date(_0x4563bd['createdAt']),'attributes':_0x4563bd['attributes'],'fromVersion':_0x4563bd['fromVersion'],'toVersion':_0x4563bd['toVersion']});}['addRevision'](_0x1508b0,_0x4d04bc=0x0){this['_revisions']['add'](_0x1508b0,_0x4d04bc);}['getRevision'](_0x4050dd){return this['_revisions']['get'](_0x4050dd);}['getRevisions'](_0x5cc33c={'toJSON':!0x1}){const _0x35abd5=Array['from'](this['_revisions']);return _0x35abd5['reverse'](),_0x5cc33c['toJSON']?_0x35abd5['map'](_0x337f40=>_0x337f40['toJSON']()):_0x35abd5;}['getIndex'](_0x4f975a){return this['_revisions']['getIndex'](_0x4f975a);}['getEarlierVisibleRevision'](_0x303258){const [,_0x4ba0a1]=this['getRevisionsIterator'](_0x303258,{'direction':'earlier'});return _0x4ba0a1;}['getLaterVisibleRevision'](_0x394cfc){const [,_0x1fdd49]=this['getRevisionsIterator'](_0x394cfc,{'direction':'later'});return _0x1fdd49;}['getRevisionsInDiff'](_0x5ded5f){const _0x5b2547=[];for(const _0x4fe335 of this['getRevisionsIterator'](_0x5ded5f['newRevisionId']))if(_0x5b2547['push'](_0x4fe335),_0x4fe335['id']===_0x5ded5f['oldRevisionId'])break;return _0x5b2547;}*['getRevisionsIterator'](_0x31cbbf,{direction:_0xbd3d49='earlier',filter:_0x59a027=_0x2c55e4=>!0x0}={}){const _0x3af773='earlier'===_0xbd3d49?0x1:-0x1;let _0x309e5b=this['_revisions']['get'](_0x31cbbf),_0x467106=this['getIndex'](_0x309e5b);for(yield _0x309e5b;_0x309e5b;){if(_0x467106+=_0x3af773,_0x309e5b=this['getRevision'](_0x467106),!_0x309e5b)return;_0x59a027(_0x309e5b)&&(yield _0x309e5b);}}}function y(_0x552b43,_0x16450f,_0x3e163b){const t=_0x552b43['t'];switch(_0x16450f){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'},_0x3e163b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3e163b);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'Accept':return t('Accept');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':_0x20169f,'a':_0x87a917,'e':_0x15b685,'r':_0x1ee69b,'u':_0x3e9ea4};class l extends _0x1500d7{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x204718,A,_0x453e62];}constructor(_0x14d75f){super(_0x14d75f),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 _0x1f4614=_0x52795b();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1f4614},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'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x188d1d=this['repository']['getRevision'](0x0),_0x392976=_0x188d1d&&null===_0x188d1d['creator']?_0x188d1d:null;if(this['_continueCurrentRevision']=!!_0x392976&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4f18f6=this['_source']['getCurrentRevisionId'](),_0x385b49=this['repository']['getRevision'](_0x4f18f6);if(_0x385b49)this['_startingVersion']=_0x385b49['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5a8330=this['_source']['history']['_operations']['find'](_0x2397e4=>!_0x2397e4['_isInit']),_0x284681=_0x5a8330?_0x5a8330['baseVersion']:this['_source']['history']['version'];_0x188d1d?(_0x188d1d['toVersion']<_0x284681&&_0x188d1d['_update']({'toVersion':_0x284681}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x392976['id'],this['_startingVersion']=_0x392976['fromVersion']):(this['_startingVersion']=_0x188d1d['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x284681,this['_continueCurrentRevision']=!0x1);}}else _0x392976&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x392976['toVersion'],this['editor']['model']['document']['history']['version']),_0x392976['fromVersion']===_0x392976['toVersion']?(0x0!==_0x392976['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x392976['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x392976['id'],this['_startingVersion']=_0x392976['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',_0x3a782a=>!_0x3a782a);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x495d8a=this['repository']['getRevision'](0x0),_0x55bee1=await this['getRevisionDocumentData'](_0x495d8a),_0x7711f5=await this['getRevisionRootsAttributes'](_0x495d8a);this['_replaceEditorDataWithRevisionData'](_0x55bee1,_0x7711f5);}}['setSource'](_0x3e6abe){this['_source']=_0x3e6abe;}async['update'](){const _0xa7d594=await this['_source']['getLatestVersion']();if(_0xa7d594>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3ebeee=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xa7d594});_0x3ebeee['authors']=_0x3ebeee['authorsIds']['map'](_0x5aada1=>this['editor']['plugins']['get']('Users')['getUser'](_0x5aada1)),this['currentRevision']['_update'](_0x3ebeee);}}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'](_0x2f9fb5={},_0x2b831a=null){const _0x4d068b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2b831a>this['currentRevision']['toVersion']&&(_0x2b831a=null),null===_0x2b831a&&(_0x2b831a=await this['_source']['getLatestVersion']());const _0x1d711c=this['_getFromVersion'](_0x2b831a),_0x246de0=this['buildRevisionData']({'from':_0x1d711c,'to':_0x2b831a});if(this['currentRevision']['toVersion']<_0x2b831a){const _0xfe4cb5=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2b831a,'to':_0x2b831a});_0xfe4cb5['authors']=[],_0xfe4cb5['authorsIds']=[],_0xfe4cb5['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xfe4cb5,!0x0),delete _0xfe4cb5['authors'],_0x4d068b['push'](_0xfe4cb5);}_0x2f9fb5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2f9fb5['name']=_0x2f9fb5['name']||null,_0x2f9fb5['id']=_0x2f9fb5['id']||_0x52795b(),_0x2f9fb5={..._0x2f9fb5,..._0x246de0};const _0x24be95=this['addRevisionData'](_0x2f9fb5);_0x4d068b['push'](_0x2f9fb5);const _0x5d6fa7=this['repository']['getIndex'](_0x24be95);if(0x0!==_0x5d6fa7){const _0x45592b=this['repository']['getRevision'](_0x5d6fa7-0x1);if(_0x45592b['fromVersion']!==_0x2b831a){const _0x5d1804=this['_revisionDataBuilder']['getData'](_0x2b831a,_0x45592b['toVersion']),_0x21c981={'id':_0x45592b['id'],'diffData':_0x5d1804['diffData'],'authorsIds':_0x5d1804['authorsIds'],'authors':_0x5d1804['authorsIds']['map'](_0x4eadf0=>this['editor']['plugins']['get']('Users')['getUser'](_0x4eadf0)),'fromVersion':_0x2b831a};_0x45592b===this['currentRevision']&&(_0x21c981['createdAt']=new Date(_0x2f9fb5['createdAt']['getTime']()+0xa)),_0x45592b['_update'](_0x21c981,!0x0),delete _0x21c981['authors'],_0x4d068b['push'](_0x21c981);}}if(this['adapter']){for(const _0x2c627f of _0x4d068b)this['_bufferUpdate'](_0x2c627f['id'],_0x2c627f,!0x0);this['sendBufferedUpdates']();}return _0x24be95;}['addRevisionData'](_0x5bf293){const _0x181b86=this['repository']['createRevision'](_0x5bf293);return this['adapter']&&_0x181b86['on']('_update',(_0x2e25b6,_0x26cfb2,_0xf0fdaa)=>{_0xf0fdaa||(this['_bufferUpdate'](_0x26cfb2['id'],_0x26cfb2,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x181b86,this['_findInsertionIndex'](_0x181b86)),_0x181b86;}async['getRevisionDocumentData'](_0x48400c){await this['_loadRevisionData'](_0x48400c);const _0xd32f29={};for(const _0x257bf8 in _0x48400c['diffData']){if(_0x48400c['diffData'][_0x257bf8]['attachChange']&&!_0x48400c['diffData'][_0x257bf8]['attachChange']['isAttached'])continue;const _0x40d01d=this['_removeRevisionMarkers'](JSON['parse'](_0x48400c['diffData'][_0x257bf8]['insertions'])),_0x2570e6=this['editor']['editing']['view']['document'],_0x5cbf5e=new _0x363b64(_0x2570e6,_0x40d01d['map'](_0x624f16=>B(_0x624f16,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xd32f29[_0x257bf8]=this['editor']['data']['processor']['toData'](_0x5cbf5e),this['editor']['data']['processor']['useFillerType']('default');}return _0xd32f29;}async['getRevisionRootsAttributes'](_0x10dff7){await this['_loadRevisionData'](_0x10dff7);const _0x2b89fc={};for(const _0x60372e in _0x10dff7['diffData'])_0x10dff7['diffData'][_0x60372e]['attachChange']&&!_0x10dff7['diffData'][_0x60372e]['attachChange']['isAttached']||(_0x2b89fc[_0x60372e]=_0x10dff7['diffData'][_0x60372e]['attributesAfter']||{});return _0x2b89fc;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x346198=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x369604=0x0;_0x369604<_0x346198['length'];_0x369604++){const _0x4bc38c=_0x346198[_0x369604];let _0x4b8327=!0x1;for(const _0xfe8f97 of Object['keys'](_0x4bc38c))void 0x0===_0x4bc38c[_0xfe8f97]?delete _0x4bc38c[_0xfe8f97]:'id'!==_0xfe8f97&&(_0x4b8327=!0x0);_0x4b8327||(_0x346198[_0x369604]=null);}if(_0x346198=_0x346198['filter'](_0x5c537c=>null!==_0x5c537c),!_0x346198['length'])return;for(let _0x3ceef4=0x0;_0x3ceef4<_0x346198['length'];_0x3ceef4++){const _0x365281=_0x346198[_0x3ceef4];void 0x0!==_0x365281['fromVersion']&&void 0x0===_0x365281['toVersion']&&(_0x365281['toVersion']=this['repository']['getRevision'](_0x365281['id'])['toVersion']),void 0x0!==_0x365281['toVersion']&&void 0x0===_0x365281['fromVersion']&&(_0x365281['fromVersion']=this['repository']['getRevision'](_0x365281['id'])['fromVersion']);}const _0x117e02=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x346198,_0x117e02)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x39f84b=>{if(_0x39f84b){for(const _0x199a1f of _0x39f84b)this['setRevisionData']({'id':_0x199a1f['id'],'createdAt':_0x199a1f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5262b0,_0x193c9d){let _0x3a68e3=this['editor']['config']['get']('initialData'),_0x15ffc5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3a68e3){_0x3a68e3={};for(const _0x1efa3e of this['editor']['model']['document']['getRootNames']())_0x3a68e3[_0x1efa3e]='';}if('string'==typeof _0x3a68e3&&(_0x3a68e3={'main':_0x3a68e3}),void 0x0===_0x15ffc5){_0x15ffc5={};for(const _0x5c0169 of this['editor']['model']['document']['getRootNames']())_0x15ffc5[_0x5c0169]={};}let _0x262de0=!0x1;const _0x37dc0a=Object['keys'](_0x3a68e3),_0x683f7=Object['keys'](_0x5262b0);for(const _0x1f3d1d of _0x37dc0a){if(_0x3a68e3[_0x1f3d1d]!==_0x5262b0[_0x1f3d1d]&&''!==_0x3a68e3[_0x1f3d1d]['trim']()){_0x262de0=!0x0;break;}if(!_0x270ba5(_0x15ffc5[_0x1f3d1d],_0x193c9d[_0x1f3d1d])&&Object['keys'](_0x15ffc5[_0x1f3d1d])['length']>0x0){_0x262de0=!0x0;break;}}_0x262de0||(_0x262de0=_0x683f7['some'](_0x5069bb=>!this['editor']['model']['document']['getRoot'](_0x5069bb))),_0x262de0&&_0x4ba20b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3a68e3,'editorRootsAttributes':_0x15ffc5,'revisionData':_0x5262b0,'revisionRootsAttributes':_0x193c9d}),this['editor']['config']['set']('initialData',_0x5262b0),this['editor']['config']['set']('rootsAttributes',_0x193c9d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1dc3b3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1dc3b3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3c4238){const _0x8adfbd=this['repository']['getRevisions']();_0x8adfbd['reverse']();let _0x1dffc2=0x0;for(;_0x1dffc2<_0x8adfbd['length'];){const _0x23e366=_0x8adfbd[_0x1dffc2];if(_0x23e366===this['currentRevision']){_0x1dffc2++;continue;}if(_0x23e366['id']===this['_initialRevisionId'])break;const _0x4c8c9c=_0x3c4238['toVersion']-_0x23e366['toVersion']||_0x3c4238['fromVersion']-_0x23e366['fromVersion'];if(_0x4c8c9c>0x0)break;if(_0x4c8c9c<0x0)_0x1dffc2++;else{if(!_0x3c4238['creator']&&_0x23e366['creator'])break;if(_0x23e366['creator']||!_0x3c4238['creator']){if(_0x3c4238['createdAt']>_0x23e366['createdAt'])break;_0x1dffc2++;}else _0x1dffc2++;}}return _0x1dffc2;}['setRevisionData'](_0x41ef0d){const _0x331e07=this['repository']['getRevision'](_0x41ef0d['id']);if(_0x41ef0d['createdAt']&&(_0x41ef0d['createdAt']=new Date(_0x41ef0d['createdAt'])),_0x41ef0d['authorsIds']){const _0xf22103=this['editor']['plugins']['get']('Users');_0x41ef0d['authors']=_0x41ef0d['authorsIds']['map'](_0x3f120a=>_0xf22103['getUser'](_0x3f120a));}_0x331e07['_update'](_0x41ef0d,!0x0);}['buildRevisionData']({revision:_0x259d92=null,from:_0x7004cb=null,to:_0x407bbb=null}){_0x7004cb=null!==_0x7004cb?_0x7004cb:_0x259d92['fromVersion'],_0x407bbb=null!==_0x407bbb?_0x407bbb:_0x259d92['toVersion'];const _0x4f6f29=this['_revisionDataBuilder']['getData'](_0x7004cb,_0x407bbb),_0x559f22={'diffData':_0x4f6f29['diffData'],'authorsIds':_0x4f6f29['authorsIds'],'fromVersion':_0x7004cb,'toVersion':_0x407bbb};if(!_0x259d92||_0x407bbb!==_0x259d92['toVersion']){const _0x474b3a=_0x407bbb-0x1,_0x219b36=this['_source']['history']['getOperation'](_0x474b3a);_0x559f22['createdAt']=_0x219b36&&_0x219b36['createdAt']||new Date();}if(this['_loadedStateData']&&_0x7004cb===this['_loadedStateData']['fromVersion']){for(const _0x39c2b8 of this['_loadedStateData']['authors'])_0x559f22['authorsIds']['includes'](_0x39c2b8['id'])||_0x559f22['authorsIds']['push'](_0x39c2b8['id']);}return _0x559f22;}['_loadRevisionData'](_0x4894e1){if(!_0x4894e1||_0x4894e1['diffData'])return Promise['resolve']();{const _0x502e49=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x502e49,'revisionId':_0x4894e1['id']})['then'](_0x87903d=>{_0x4894e1['diffData']=_0x87903d['diffData'];});}}['_bufferUpdate'](_0x5507a6,_0x3401fc,_0xe1e664){if(this['_bufferedUpdates']['has'](_0x5507a6)){const _0x11c1f8=this['_bufferedUpdates']['get'](_0x5507a6);_0x3401fc=_0xe1e664?{..._0x11c1f8,..._0x3401fc}:{..._0x3401fc,..._0x11c1f8};}this['_bufferedUpdates']['set'](_0x5507a6,_0x3401fc);}['_getFromVersion'](_0x4b1b6){const _0x95286=this['repository']['getRevisions']();_0x95286['reverse'](),_0x95286['shift']();const _0x4d4406=_0x95286['find'](_0x4f72b5=>_0x4f72b5['toVersion']<=_0x4b1b6)['toVersion'];return _0x4d4406<this['_startingVersion']?this['_startingVersion']:_0x4d4406;}['_createInitialRevision'](_0x310ece){const _0x19610f=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x19610f)this['_initialRevisionId']=_0x19610f['id'];else{const _0x3d7419=!this['editor']['model']['document']['roots']['find'](_0x495cdc=>this['editor']['model']['hasContent'](_0x495cdc)),_0x14d612=this['editor']['plugins']['get']('Users')['me']['id'],_0x67e245=y(this['editor']['locale'],_0x3d7419?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x310ece,'to':_0x310ece,'id':this['_initialRevisionId'],'name':_0x67e245,'creatorId':_0x14d612});}}['_createCurrentRevision'](_0x49a7f7){const _0x2671b8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2671b8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x49a7f7,'to':_0x49a7f7,'id':_0x2671b8,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5a556f,from:_0x4c0672,to:_0xf48ae0,creatorId:_0x50dd3b,id:_0x31d9fe}){const _0x213922=this['buildRevisionData']({'from':_0x4c0672,'to':_0xf48ae0});_0x213922['name']=_0x5a556f,_0x213922['creatorId']=_0x50dd3b,_0x213922['id']=_0x31d9fe;const _0x26b731=this['addRevisionData'](_0x213922);return this['adapter']&&this['_bufferUpdate'](_0x213922['id'],_0x213922,!0x0),_0x26b731;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x504896){return(_0x504896=_0x504896['filter'](_0x41e1e1=>!_0x41e1e1['name']||'revision-start'!==_0x41e1e1['name']&&'revision-end'!==_0x41e1e1['name']))['forEach'](_0x45f91d=>{'string'!=typeof _0x45f91d&&(_0x45f91d['children']=this['_removeRevisionMarkers'](_0x45f91d['children']),_0x45f91d['attributes']=_0x45f91d['attributes']['filter'](_0x2ba195=>!_0x2ba195[0x0]['startsWith']('data-revision-')));}),_0x504896;}}function B(_0x4ab398,_0x4db7f3){const _0x43d9f0=_0x4db7f3['editing']['view']['document'];if('string'==typeof _0x4ab398)return new _0x3ca6d9(_0x43d9f0,_0x4ab398);{const _0xa93c95=_0x4ab398['children']['map'](_0xb45761=>B(_0xb45761,_0x4db7f3));return new(T[_0x4ab398['type']]||_0x4f30c8)(_0x43d9f0,_0x4ab398['name'],_0x4ab398['attributes'],_0xa93c95);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4024bf){this['editor']=_0x4024bf,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;}['init'](_0x52d0b1){this['source']=_0x52d0b1;const _0x30e060=new Map(),_0x4632e8=new Map(),_0x2648c4=this['editor']['model']['document']['roots']['map'](_0x46b111=>_0x46b111['rootName']);for(const _0x50e902 of _0x2648c4){const _0x1d8029=this['editor']['model']['document']['getRoot'](_0x50e902),_0xb3693c=q(_0x1d8029);_0x30e060['set'](_0x50e902,_0xb3693c),_0x4632e8['set'](_0x50e902,Object['fromEntries'](_0x1d8029['getAttributes']()));}const _0xc136c1=Array['from'](this['editor']['model']['markers'])['map'](_0x552223=>[_0x552223['name'],_0x552223['getRange']()]),_0x58827c=this['source']['version'];this['_saveMetaData'](_0x58827c,_0x30e060,_0xc136c1,_0x4632e8),this['_startingRevisionId']=this['_revisionId'];const _0x1c8370=new Map(),_0x5bd41e=new Map();for(const _0x3aa88e of _0x2648c4){const _0x1ec39f=G(_0x3aa88e);_0x1c8370['set'](_0x3aa88e,_0x1ec39f),_0x5bd41e['set'](_0x3aa88e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1c8370,[],_0x5bd41e);}['getData'](_0x10c920,_0x3061d7){if(this['_lastFrom']===_0x10c920&&this['_lastTo']<=_0x3061d7)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3061d7,!0x0);else{if(!this['_savedMetaData']['has'](_0x10c920)){const _0x1df551=this['_getPreviousFrom'](_0x10c920);this['_calculateMetaData'](_0x1df551,_0x10c920,!0x1);}this['_calculateMetaData'](_0x10c920,_0x3061d7,!0x0);}return this['_lastFrom']=_0x10c920,this['_lastTo']=_0x3061d7,this['_getState']();}['loadState'](_0x349e2e){this['_reset'](),this['_lastFrom']=_0x349e2e['fromVersion'],this['_lastTo']=_0x349e2e['toVersion'];for(const _0x563b69 in _0x349e2e['diffData']){const _0x45ba6f=_0x349e2e['diffData'][_0x563b69]['attachChange'],_0x469b34=_0x4e5ecc(_0x349e2e['diffData'][_0x563b69]['attributesBefore'])||{},_0x27ace0=this['_makeModelFromViewString'](_0x349e2e['diffData'][_0x563b69]['deletions']);_0x27ace0['rootName']=_0x563b69,_0x27ace0['_isAttached']=!_0x45ba6f||!_0x45ba6f['isAttached'],_0x27ace0['isAttached']=()=>_0x27ace0['_isAttached'],this['_baseRoots']['set'](_0x563b69,_0x27ace0),this['_baseRootsAttributes']['set'](_0x563b69,_0x469b34),_0x45ba6f&&this['_touchedRoots']['set'](_0x563b69,_0x45ba6f);const _0x34572a=this['_makeIdsRoot'](_0x27ace0);this['_baseIdsRoots']['set'](_0x563b69,_0x34572a);for(const [_0x561b02,_0x4d2ac9]of _0x27ace0['markers']){if(!_0x561b02['startsWith']('revision:'))continue;const _0x289908=_0x561b02['split'](':')[0x2];for(const _0x1b26a3 of _0x4d2ac9['getWalker']({'singleCharacters':!0x0})){const _0x1405f1=this['_getVidAttributeName'](_0x1b26a3),_0x49af50='elementEnd'==_0x1b26a3['type']?_0x1b26a3['previousPosition']['path']['slice'](0x0,-0x1):_0x1b26a3['previousPosition']['path'],_0x172084=_0x34572a['getNodeByPath'](_0x49af50)['getAttribute'](_0x1405f1);this['_touched']['set'](_0x172084,{'userId':_0x289908});}}}this['_startingRevisionId']=this['_revisionId'];const _0x378a1b=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x576f5a=>!this['_touched']['has'](_0x576f5a));let _0x9f654d=0x0;const _0x45fa49=new Map();for(const _0x2c2b54 in _0x349e2e['diffData']){const _0x57466f=_0x349e2e['diffData'][_0x2c2b54]['attachChange'],_0x1b3b30=_0x4e5ecc(_0x349e2e['diffData'][_0x2c2b54]['attributesAfter'])||{},_0x4f549f=this['_makeModelFromViewString'](_0x349e2e['diffData'][_0x2c2b54]['insertions']);_0x4f549f['rootName']=_0x2c2b54,_0x4f549f['_isAttached']=!_0x57466f||_0x57466f['isAttached'],_0x4f549f['isAttached']=()=>_0x4f549f['_isAttached'],this['_diffRoots']['set'](_0x2c2b54,_0x4f549f),this['_diffRootsAttributes']['set'](_0x2c2b54,_0x1b3b30);const _0x392e29=this['_makeIdsRoot'](_0x4f549f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2c2b54,_0x392e29),_0x45fa49['set'](_0x2c2b54,_0x4f549f['isAttached']()?_0x1b3b30:{});for(const [_0x99a8dd,_0x393372]of _0x4f549f['markers']){if(!_0x99a8dd['startsWith']('revision:'))continue;const _0x2c5a8c=_0x99a8dd['split'](':')[0x2];for(const _0x5f4c9d of _0x393372['getWalker']({'singleCharacters':!0x0})){const _0x1348b7=this['_getVidAttributeName'](_0x5f4c9d),_0x5e4a6e=this['_revisionId']++,_0x52199a='elementEnd'==_0x5f4c9d['type']?_0x5f4c9d['previousPosition']['path']['slice'](0x0,-0x1):_0x5f4c9d['previousPosition']['path'];_0x392e29['getNodeByPath'](_0x52199a)['_setAttribute'](_0x1348b7,_0x5e4a6e),this['_touched']['set'](_0x5e4a6e,{'userId':_0x2c5a8c});}}for(const _0x2e2b7c of this['editor']['model']['createRangeIn'](_0x4f549f)['getWalker']({'singleCharacters':!0x0})){const _0xe0775a=this['_getVidAttributeName'](_0x2e2b7c),_0x574827='elementEnd'==_0x2e2b7c['type']?_0x2e2b7c['previousPosition']['path']['slice'](0x0,-0x1):_0x2e2b7c['previousPosition']['path'],_0x359065=_0x392e29['getNodeByPath'](_0x574827);_0x359065['getAttribute'](_0xe0775a)>0x0||_0x359065['_setAttribute'](_0xe0775a,_0x378a1b[_0x9f654d++]);}for(const [_0x3eb815,_0x15f291]of _0x4f549f['markers'])_0x3eb815['startsWith']('revision:')||this['_markers']['set'](_0x3eb815,_0x15f291);}const _0x431491=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x431491),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x431491,0x1));const _0x3cea47=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3cea47),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3cea47,0x1));const _0x158a25=Array['from'](this['_diffRoots'])['map'](([_0x4b5d79,_0x10bc7f])=>[_0x4b5d79,q(_0x10bc7f)]);this['_saveMetaData'](this['_lastTo'],_0x158a25,this['_markers'],_0x45fa49);}['_makeModelFromViewString'](_0x358b15){const _0x5a5e0c=JSON['parse'](_0x358b15),_0x1ce4b8=this['editor']['editing']['view']['document'],_0x5bd93f=new _0x363b64(_0x1ce4b8,_0x5a5e0c['map'](_0x4d9a96=>B(_0x4d9a96,this['editor'])));return this['editor']['data']['toModel'](_0x5bd93f);}['_saveMetaData'](_0x41ab50,_0x9661dc,_0x17f6a8,_0x2c1fdd){const _0x53a37a=new Map(_0x9661dc),_0x4a455a=new Map(_0x4e5ecc(_0x2c1fdd)),_0x1dbc9b=new Map();for(const [_0x3fdb25,_0x207c94]of _0x17f6a8)_0x1dbc9b['set'](_0x3fdb25,{'start':_0x207c94['start']['clone'](),'end':_0x207c94['end']['clone'](),'rootName':_0x207c94['root']['rootName']});this['_savedMetaData']['set'](_0x41ab50,{'roots':_0x53a37a,'markers':_0x1dbc9b,'rootsAttributes':_0x4a455a});}['_removeMetaData'](_0x379059){this['_savedMetaData']['delete'](_0x379059);}['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'](_0x537c55,_0x614f46=null){let _0x44197c=null;_0x537c55['is']('documentFragment')||(_0x44197c=new ft(_0x537c55['name'],{'vid_start':null===_0x614f46?this['_revisionId']++:_0x614f46++}));const _0x130f9c=[];for(const _0x20de98 of _0x537c55['getChildren']())if(_0x20de98['is']('element')){_0x130f9c['push'](this['_makeIdsRoot'](_0x20de98,_0x614f46));const _0x51faea=_0x130f9c[_0x130f9c['length']-0x1];null!==_0x614f46&&(_0x614f46=_0x51faea['is']('element','$text')?_0x51faea['getAttribute']('vid')+0x1:_0x51faea['getAttribute']('vid_end')+0x1);}else{for(let _0x3cd7e6=0x0;_0x3cd7e6<_0x20de98['offsetSize'];_0x3cd7e6++)_0x130f9c['push'](new ft('$text',{'vid':null===_0x614f46?this['_revisionId']++:_0x614f46++}));}if(_0x537c55['is']('documentFragment')){const _0x21ad9d=G(_0x537c55['rootName']);return _0x21ad9d['_insertChild'](0x0,_0x130f9c),_0x21ad9d;}return _0x44197c['_setAttribute']('vid_end',null===_0x614f46?this['_revisionId']++:_0x614f46++),_0x44197c['_insertChild'](0x0,_0x130f9c),_0x44197c;}['_calculateMetaData'](_0x202c6d,_0x4ac007,_0x129e3b){this['_reset']();const {roots:_0x10bda5,markers:_0x519607,rootsAttributes:_0xf062a5}=this['_savedMetaData']['get'](_0x202c6d);this['_baseRoots']=new Map(_0x10bda5),this['_baseRootsAttributes']=new Map(_0x4e5ecc(_0xf062a5));for(const [_0x1421bb,_0x3719b6]of this['_baseRoots'])if('$graveyard'!==_0x1421bb&&(this['_diffRoots']['set'](_0x1421bb,q(_0x3719b6)),this['_diffRootsAttributes']=new Map(_0x4e5ecc(_0xf062a5)),_0x129e3b)){const _0x159b9e=this['_revisionId'];this['_idsRoots']['set'](_0x1421bb,this['_makeIdsRoot'](_0x3719b6)),this['_baseIdsRoots']['set'](_0x1421bb,this['_makeIdsRoot'](_0x3719b6,_0x159b9e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x129e3b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x24ea05,_0x49d3af]of _0x519607){const _0x2a79eb=this['_baseRoots']['get'](_0x49d3af['rootName']),_0x2c047f=this['_diffRoots']['get'](_0x49d3af['rootName']),_0x4c944e=new vt(this['_fixPosition'](_0x49d3af['start'],_0x2a79eb),this['_fixPosition'](_0x49d3af['end'],_0x2a79eb)),_0xbc48bf=this['_fixRange'](_0x4c944e,_0x2c047f);_0x2a79eb['markers']['set'](_0x24ea05,_0x4c944e),this['_markers']['set'](_0x24ea05,_0xbc48bf);}this['_applyOperations'](_0x202c6d,_0x4ac007,_0x129e3b);}['_applyOperations'](_0x2cba17,_0x42467d,_0xfb48a9){for(const _0x1bd641 of this['source']['getOperations'](_0x2cba17,_0x42467d))this['_handleOperation'](_0x1bd641,_0xfb48a9);for(const _0x4d01e4 of this['_diffRoots']['values']())_0x4d01e4['markers']['clear']();for(const [_0x44f6aa,_0x3198fa]of this['_markers']){this['_diffRoots']['get'](_0x3198fa['root']['rootName'])['markers']['set'](_0x44f6aa,_0x3198fa['clone']());}const _0x374531=new Map(),_0x49e92b=new Map();for(const [_0x3bdcd4,_0xa630b1]of this['_diffRoots'])_0x374531['set'](_0x3bdcd4,q(_0xa630b1)),_0x49e92b['set'](_0x3bdcd4,this['_diffRootsAttributes']['get'](_0x3bdcd4));this['_saveMetaData'](_0x42467d,_0x374531,this['_markers'],_0x49e92b);}['_getPreviousFrom'](_0x3bdaeb){const _0x45be3d=Array['from'](this['_savedMetaData']['keys']());_0x45be3d['sort']((_0x39431f,_0x9d4499)=>_0x39431f-_0x9d4499),_0x45be3d['reverse']();for(const _0x22f3d1 of _0x45be3d)if(_0x22f3d1<_0x3bdaeb)return _0x22f3d1;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5733ce,_0x24083e){const _0x44f9eb=Array['from'](_0x24083e['markers'])['map'](([_0x53300f,_0x4c0268])=>[_0x53300f,this['_fixRange'](_0x4c0268,_0x5733ce)]);_0x5733ce['markers']=new Map(_0x44f9eb);}['_transformMarkers'](_0x2eb420){for(const _0x39a203 of this['_markers']['values']()){const _0x33dd9c=_0x39a203['getTransformedByOperation'](_0x2eb420),_0x452401=vt['_createFromRanges'](_0x33dd9c);_0x39a203['start']=_0x452401['start'],_0x39a203['end']=_0x452401['end'];}}['_handleOperation'](_0x408951,_0x2c9c32){if('addRoot'==_0x408951['type']||'detachRoot'==_0x408951['type'])return void this['_handleRootOperation'](_0x408951,_0x2c9c32);if('insert'==_0x408951['type']){const _0x4281d0=_0x408951['position']['root']['rootName'];this['_diffRoots']['has'](_0x4281d0)||(this['_diffRoots']['set'](_0x4281d0,G(_0x4281d0,!0x0)),this['_diffRootsAttributes']['set'](_0x4281d0,{}),_0x2c9c32&&this['_idsRoots']['set'](_0x4281d0,G(_0x4281d0,!0x0)));}else{if('addRootAttribute'==_0x408951['type']||'removeRootAttribute'==_0x408951['type']||'changeRootAttribute'==_0x408951['type'])return void this['_handleRootAttributeOperation'](_0x408951);}const _0x560445=this['_cloneOperation'](_0x408951,this['_diffRoots']);if('marker'!==_0x408951['type']&&(_0x560445['_execute'](),this['_transformMarkers'](_0x560445)),_0x2c9c32)switch(_0x560445['type']){case'insert':this['_handleInsertOperation'](_0x408951);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x408951);break;case'merge':this['_handleMergeOperation'](_0x408951);break;case'split':this['_handleSplitOperation'](_0x408951);break;case'marker':this['_handleMarkerOperation'](_0x408951);}}['_cloneOperation'](_0x5e3745,_0x8c35cb){const _0x8d8bca=_0x5e3745['clone']();return _0x8d8bca['_authorId']=_0x5e3745['_authorId'],this['_fixOperation'](_0x8d8bca,_0x8c35cb),_0x8d8bca;}['_getBaseVids'](_0x4905d8){return _0x4905d8['map'](_0x4ecab3=>{const _0x1b4f3d=this['_getVidAttributeName'](_0x4ecab3);return Number(_0x4ecab3['item']['getAttribute'](_0x1b4f3d));});}['_generateTape'](_0x3089e5,_0x80a70f){if(_0x3089e5['is']('element','$text'))_0x80a70f['push']({'item':_0x3089e5,'type':'text'});else{_0x3089e5['is']('element')&&_0x80a70f['push']({'item':_0x3089e5,'type':'elementStart'});for(const _0x3ed218 of _0x3089e5['getChildren']())this['_generateTape'](_0x3ed218,_0x80a70f);_0x3089e5['is']('element')&&_0x80a70f['push']({'item':_0x3089e5,'type':'elementEnd'});}return _0x80a70f;}['_getState'](){const _0x47dca1=new Map(this['_touched']),_0x5d2b18=new Map(_0x47dca1),_0x4f2b09=new Map(),_0xc020fa={'insertions':{},'deletions':{}},_0xc1fb62={'insertions':{},'deletions':{}},_0xbf0aaa=new Map(),_0x2a7588=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2a7588['delete']('$graveyard');for(const _0x54eeed of _0x2a7588){const _0x426216=this['_diffRoots']['get'](_0x54eeed)||G(_0x54eeed,!0x1),_0xf77006=this['_baseRoots']['get'](_0x54eeed)||G(_0x54eeed,!0x1);_0x426216['isAttached']()||_0xf77006['isAttached']()?(_0xc020fa['insertions'][_0x54eeed]=q(_0x426216),_0xc020fa['deletions'][_0x54eeed]=q(_0xf77006),this['_copyMarkers'](_0xc020fa['deletions'][_0x54eeed],_0xf77006),this['_copyMarkers'](_0xc020fa['insertions'][_0x54eeed],_0x426216),_0xc1fb62['insertions'][_0x54eeed]=this['_generateTape'](this['_idsRoots']['get'](_0x54eeed),[]),_0xc1fb62['deletions'][_0x54eeed]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x54eeed)||G(_0x54eeed,!0x1),[])):_0x2a7588['delete'](_0x54eeed);}for(const _0x2d738e of _0x2a7588){const _0x293fd0=_0xc1fb62['insertions'][_0x2d738e];for(const _0x4fdc28 of _0x293fd0){const _0x265155=this['_getVidAttributeName'](_0x4fdc28),_0x211b91=_0x4fdc28['item']['getAttribute'](_0x265155);_0x5d2b18['delete'](_0x211b91),_0x211b91>=this['_startingRevisionId']&&_0x4f2b09['set'](_0x211b91,_0x47dca1['get'](_0x211b91));}}for(const _0x374f1d of _0x2a7588){const _0x1dc2fa=_0xc1fb62['insertions'][_0x374f1d],_0xe9a87=this['_getBaseVids'](_0xc1fb62['deletions'][_0x374f1d]);let _0x2b12b4=0x0;for(const _0x2d2a08 of _0x1dc2fa){const _0x950fa=this['_getVidAttributeName'](_0x2d2a08),_0x2cb5f5=_0x2d2a08['item']['getAttribute'](_0x950fa);if(!_0x4f2b09['has'](_0x2cb5f5)&&!_0xbf0aaa['has'](_0x2cb5f5)){if(_0x5d2b18['has'](_0x2cb5f5))_0x2b12b4++;else{if(_0x2cb5f5!=_0xe9a87[_0x2b12b4]){const _0x476a1b=_0x47dca1['get'](_0x2cb5f5)||_0x47dca1['get'](_0xe9a87[_0x2b12b4]);for(;_0x2cb5f5!=_0xe9a87[_0x2b12b4];)_0x5d2b18['has'](_0xe9a87[_0x2b12b4])||(_0xbf0aaa['set'](_0xe9a87[_0x2b12b4],_0x476a1b),_0x47dca1['set'](_0xe9a87[_0x2b12b4],_0x476a1b)),_0x2b12b4++;}_0x2b12b4++;}}}}for(const _0x2b0ddd of _0x2a7588){const _0x451aaa=_0xc1fb62['insertions'][_0x2b0ddd];for(const _0x77ec6f of _0x451aaa){const _0x205ef6=this['_getVidAttributeName'](_0x77ec6f),_0x48b664=_0x77ec6f['item']['getAttribute'](_0x205ef6);if(_0xbf0aaa['has'](_0x48b664)){const _0x519c90=_0xbf0aaa['get'](_0x48b664);_0x5d2b18['has'](_0x48b664)||_0x5d2b18['set'](_0x48b664,{..._0x519c90}),_0x4f2b09['set'](_0x48b664,{..._0x519c90});}}}for(const _0x1b11c4 of _0x5d2b18['keys']())_0x1b11c4>=this['_startingRevisionId']&&_0x5d2b18['delete'](_0x1b11c4);const _0x58f4b1=new Map();for(const _0x2a4b43 of _0x2a7588){let _0x2345d0=_0xc1fb62['insertions'][_0x2a4b43];for(const _0x534d86 of _0x2345d0)if(_0x534d86['item']['is']('element','tableCell')){const _0x190eca=this['_getVidAttributeName'](_0x534d86),_0x4f1ebf=_0x534d86['item']['getAttribute'](_0x190eca);if(_0x4f2b09['has'](_0x4f1ebf)){const _0x42ad1c=_0x534d86['item']['parent']['parent']['getAttribute']('vid_start'),_0x6a7d81=_0x58f4b1['get'](_0x42ad1c)||new Set();_0x6a7d81['add'](_0x4f2b09['get'](_0x4f1ebf)['userId']),_0x58f4b1['set'](_0x42ad1c,_0x6a7d81);}}_0x2345d0=_0xc1fb62['deletions'][_0x2a4b43];for(const _0x6037db of _0x2345d0)if(_0x6037db['item']['is']('element','tableCell')){const _0x20e281=this['_getVidAttributeName'](_0x6037db),_0x2d79db=_0x6037db['item']['getAttribute'](_0x20e281);if(_0x5d2b18['has'](_0x2d79db)){const _0x31293c=_0x6037db['item']['parent']['parent']['getAttribute']('vid_start'),_0x4e6bfa=_0x58f4b1['get'](_0x31293c)||new Set();_0x4e6bfa['add'](_0x5d2b18['get'](_0x2d79db)['userId']),_0x58f4b1['set'](_0x31293c,_0x4e6bfa);}}for(const _0x552d49 of _0x58f4b1['keys']())(_0x4f2b09['has'](_0x552d49)||_0x5d2b18['has'](_0x552d49))&&_0x58f4b1['delete'](_0x552d49);}for(const _0xa9856f of _0x2a7588){const _0x486ce7=_0xc1fb62['insertions'][_0xa9856f];let _0x4f1f48=null,_0x12220b=null;for(const _0x102419 of _0x486ce7){const _0x5d847b=this['_getVidAttributeName'](_0x102419),_0x31fb29=_0x102419['item']['getAttribute'](_0x5d847b),_0xaeae8f=_0x58f4b1['get'](_0x31fb29);_0xaeae8f&&'elementStart'==_0x102419['type']&&(_0x4f1f48=Array['from'](_0xaeae8f)[0x0],_0x12220b=_0x102419['item']['getAttribute']('vid_end')),_0x4f1f48&&(_0x5d2b18['set'](_0x31fb29,{'userId':_0x4f1f48}),_0x4f2b09['set'](_0x31fb29,{'userId':_0x4f1f48})),_0x31fb29==_0x12220b&&(_0x4f1f48=null,_0x12220b=null);}}const _0x3d71fe={},_0x1b0e14=new Set();for(const _0x5204be of _0x2a7588){const _0x503d3c=_0xc020fa['deletions'][_0x5204be],_0x13980e=_0xc020fa['insertions'][_0x5204be];for(const {userId:_0x326a43}of this['_touchedMarkers']['values']())null!==_0x326a43&&_0x1b0e14['add'](_0x326a43);for(const {userId:_0x5d63ba}of this['_touchedRoots']['values']())null!==_0x5d63ba&&_0x1b0e14['add'](_0x5d63ba);this['_markChanges'](_0x13980e,_0xc1fb62['insertions'][_0x5204be],_0x4f2b09,'insertion',_0x1b0e14),this['_markChanges'](_0x503d3c,_0xc1fb62['deletions'][_0x5204be],_0x5d2b18,'deletion',_0x1b0e14),_0x3d71fe[_0x5204be]={'insertions':this['_prepareViewToSave'](_0x13980e),'deletions':this['_prepareViewToSave'](_0x503d3c),'attachChange':this['_touchedRoots']['get'](_0x5204be)||null,'attributesBefore':_0x4e5ecc(this['_baseRootsAttributes']['get'](_0x5204be))||{},'attributesAfter':_0x4e5ecc(this['_diffRootsAttributes']['get'](_0x5204be))};}return{'diffData':_0x3d71fe,'authorsIds':Array['from'](_0x1b0e14)};}['_processRootBeforeSave'](_0x494be5){for(const [,_0xc33ddf]of _0x494be5['markers']){const _0x5b380b=_0xc33ddf['start']['getAncestors']()['filter'](_0x42a0d8=>'tableCell'==_0x42a0d8['name']);for(const _0x1b8302 of _0x5b380b)0x1==_0x1b8302['childCount']&&_0x1b8302['getChild'](0x0)['is']('element','paragraph')&&_0x1b8302['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x300086){this['_processRootBeforeSave'](_0x300086);const _0x56d8b4=this['editor']['data']['toView'](_0x300086,{}),_0x6b0d82=Array['from'](_0x56d8b4['getChildren']())['map'](_0x66e350=>this['_getViewJson'](_0x66e350));return JSON['stringify'](_0x6b0d82);}['_getViewJson'](_0x26a5a6){if(_0x26a5a6['is']('$text'))return _0x26a5a6['data'];{const _0x460b83=_0x26a5a6;return{'type':Object['keys'](T)['find'](_0x513fb7=>_0x26a5a6 instanceof T[_0x513fb7]),'name':_0x460b83['name'],'attributes':Array['from'](_0x460b83['getAttributes']()),'children':Array['from'](_0x460b83['getChildren']())['map'](_0x4c077d=>this['_getViewJson'](_0x4c077d))};}}['_markChanges'](_0x434967,_0x2395e7,_0xe38da5,_0x32e211,_0x3ac53f){let _0x3ef746=null,_0x1b3924=null,_0x1bbb6d=0x0;const _0x2c2380=this['editor']['model'];for(let _0x415b06=0x0;_0x415b06<_0x2395e7['length'];_0x415b06++){const _0x48079f=this['_getVidAttributeName'](_0x2395e7[_0x415b06]),_0x1fe297=_0x2395e7[_0x415b06]['item']['getAttribute'](_0x48079f),_0x5938d3=_0xe38da5['get'](_0x1fe297),_0x1fedff=_0x415b06==_0x2395e7['length']-0x1;(!_0x3ef746&&_0x5938d3&&(_0x3ef746=_0x5938d3,_0x1b3924=_0x2395e7[_0x415b06]),_0x3ef746&&(!_0x5938d3||_0x5938d3['userId']!=_0x3ef746['userId']))&&(_0x4f7ea2(_0x5938d3,L(_0x1b3924,_0x434967,_0x2c2380),L(_0x2395e7[_0x415b06],_0x434967,_0x2c2380)),_0x3ef746=_0x5938d3||null,_0x1b3924=_0x5938d3?_0x2395e7[_0x415b06]:null),_0x3ef746&&_0x1fedff&&_0x4f7ea2(_0x5938d3,L(_0x1b3924,_0x434967,_0x2c2380),W(_0x2395e7[_0x415b06],_0x434967,_0x2c2380));}function _0x4f7ea2(_0x1a14f4,_0x32defe,_0x59a273){const _0x28bcd7=_0x3ef746['userId'],_0xe0efb7='revision:'+_0x32e211+':'+_0x28bcd7+':'+_0x1bbb6d++,_0x5ddea7=_0x2c2380['createRange'](_0x32defe,_0x59a273);_0x434967['markers']['set'](_0xe0efb7,_0x5ddea7),null!==_0x28bcd7&&_0x3ac53f['add'](_0x28bcd7);}}['_getVidAttributeName'](_0xd1717){switch(_0xd1717['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x11e7a0,_0x48f250){_0x11e7a0['baseVersion']=null;for(const _0x39e6fc in _0x11e7a0){const _0x1543a3=_0x11e7a0[_0x39e6fc];if(_0x1543a3 instanceof gt){const _0x5be2e3=_0x48f250['get'](_0x1543a3['root']['rootName']);_0x11e7a0[_0x39e6fc]=this['_fixPosition'](_0x1543a3,_0x5be2e3);}if(_0x1543a3 instanceof vt){const _0x4e229c=_0x48f250['get'](_0x1543a3['root']['rootName']);_0x11e7a0[_0x39e6fc]=this['_fixRange'](_0x1543a3,_0x4e229c);}'root'===_0x39e6fc&&(_0x11e7a0['root']=_0x48f250['get'](_0x11e7a0['root']['rootName']));}}['_fixRange'](_0x288b7c,_0x149a55){return this['editor']['model']['createRange'](this['_fixPosition'](_0x288b7c['start'],_0x149a55),this['_fixPosition'](_0x288b7c['end'],_0x149a55));}['_fixPosition'](_0xbcc302,_0x3e6808){return this['editor']['model']['createPositionFromPath'](_0x3e6808,_0xbcc302['path'],_0xbcc302['stickiness']);}['_handleInsertOperation'](_0xb62972){const _0x124246=this['_idsRoots']['get'](_0xb62972['position']['root']['rootName']),_0x42b870=this['_fixPosition'](_0xb62972['position'],_0x124246),_0x18d95b=null===_0xb62972['_authorId']?null:_0xb62972['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x30c630=_0x42b870['parent'],_0x29c6fc=this['_revisionId'],_0x1f5a26=[];for(const _0x3be2c0 of _0xb62972['nodes'])if(_0x3be2c0['is']('element'))_0x1f5a26['push'](this['_makeIdsRoot'](_0x3be2c0));else{for(let _0x36afac=0x0;_0x36afac<_0x3be2c0['offsetSize'];_0x36afac++)_0x1f5a26['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x316e22=this['_revisionId'];for(let _0x192b7d=_0x29c6fc;_0x192b7d<_0x316e22;_0x192b7d++)this['_touched']['set'](_0x192b7d,{'userId':_0x18d95b});_0x30c630['_insertChild'](_0x42b870['offset'],_0x1f5a26);}['_handleMoveOperation'](_0x57c397){(_0x57c397=this['_cloneOperation'](_0x57c397,this['_idsRoots']))['_execute']();const _0xe80d5f=null===_0x57c397['_authorId']?null:_0x57c397['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4916d8=_0x57c397['getMovedRangeStart'](),_0x539da1=_0x4916d8['parent'],_0x4fa2c1=_0x4916d8['offset'];!function _0x30f395(_0x1a91b1,_0x5cec83,_0x3f17cb,_0x1b1f64){for(let _0xfa3802=_0x3f17cb;_0xfa3802<_0x1b1f64;_0xfa3802++){const _0x17f7e7=_0x5cec83['getChild'](_0xfa3802);_0x17f7e7['is']('element','$text')?_0x1a91b1['set'](_0x17f7e7['getAttribute']('vid'),{'userId':_0xe80d5f}):(_0x1a91b1['set'](_0x17f7e7['getAttribute']('vid_start'),{'userId':_0xe80d5f}),_0x30f395(_0x1a91b1,_0x17f7e7,0x0,_0x17f7e7['childCount']),_0x1a91b1['set'](_0x17f7e7['getAttribute']('vid_end'),{'userId':_0xe80d5f}));}}(this['_touched'],_0x539da1,_0x4fa2c1,_0x4fa2c1+_0x57c397['howMany']);}['_handleMergeOperation'](_0x56d6bc){const _0x577f67=null===(_0x56d6bc=this['_cloneOperation'](_0x56d6bc,this['_idsRoots']))['_authorId']?null:_0x56d6bc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x37a78b=_0x56d6bc['targetPosition']['parent'],_0x112ab1=_0x56d6bc['sourcePosition']['parent'],_0x442fe2=_0x37a78b['getAttribute']('vid_end'),_0x2b48fb=_0x112ab1['getAttribute']('vid_start');_0x37a78b['_setAttribute']('vid_end',_0x112ab1['getAttribute']('vid_end')),_0x112ab1['_setAttribute']('vid_end',_0x442fe2),this['_touched']['set'](_0x2b48fb,{'userId':_0x577f67}),this['_touched']['set'](_0x442fe2,{'userId':_0x577f67}),_0x56d6bc['_execute']();}['_handleSplitOperation'](_0x501c1e){const _0x16beb7=null===(_0x501c1e=this['_cloneOperation'](_0x501c1e,this['_idsRoots']))['_authorId']?null:_0x501c1e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1256f4=_0x501c1e['graveyardPosition'],_0x10e48e=_0x501c1e['splitPosition']['parent'];_0x501c1e['_execute']();const _0x57b993=_0x10e48e['getAttribute']('vid_end'),_0x3bc478=_0x501c1e['insertionPosition']['nodeAfter'];if(_0x1256f4){const _0x5987e8=_0x3bc478['getAttribute']('vid_end'),_0x1874c4=_0x10e48e['getAttribute']('vid_end');_0x10e48e['_setAttribute']('vid_end',_0x5987e8),_0x3bc478['_setAttribute']('vid_end',_0x1874c4),this['_touched']['set'](_0x10e48e['getAttribute']('vid_end'),{'userId':_0x16beb7}),this['_touched']['set'](_0x3bc478['getAttribute']('vid_start'),{'userId':_0x16beb7});}else{const _0x1d9507=this['_revisionId']++,_0x24251c=this['_revisionId']++;_0x10e48e['_setAttribute']('vid_end',_0x1d9507),_0x3bc478['_setAttribute']('vid_start',_0x24251c),_0x3bc478['_setAttribute']('vid_end',_0x57b993),this['_touched']['set'](_0x1d9507,{'userId':_0x16beb7}),this['_touched']['set'](_0x24251c,{'userId':_0x16beb7});}}['_handleMarkerOperation'](_0x434f2d){if(!_0x434f2d['affectsData'])return;const _0x5d1036=(_0x434f2d=this['_cloneOperation'](_0x434f2d,this['_diffRoots']))['oldRange']?_0x434f2d['oldRange']['root']:null,_0xcce165=_0x434f2d['newRange']?_0x434f2d['newRange']['root']:null;_0x5d1036&&this['_markers']['delete'](_0x434f2d['name']),_0xcce165&&this['_markers']['set'](_0x434f2d['name'],_0x434f2d['newRange']['clone']());const _0x341970=null===_0x434f2d['_authorId']?null:_0x434f2d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ad9e8=_0x434f2d['name'];if(!this['_touchedMarkers']['has'](_0x1ad9e8))return void this['_touchedMarkers']['set'](_0x1ad9e8,{'range':_0x434f2d['oldRange'],'userId':_0x341970});const _0x110352=this['_touchedMarkers']['get'](_0x1ad9e8),_0xe89f3e=_0x110352['range'],_0x4a23a1=_0x434f2d['newRange'];null==_0xe89f3e&&null==_0x4a23a1||_0xe89f3e&&_0x4a23a1&&_0xe89f3e['isEqual'](_0x4a23a1)?this['_touchedMarkers']['delete'](_0x434f2d['name']):_0x110352['userId']=_0x341970;}['_handleRootOperation'](_0x1c05ca,_0x4bac60){this['_diffRoots']['has'](_0x1c05ca['rootName'])?this['_diffRoots']['get'](_0x1c05ca['rootName'])['_isAttached']=_0x1c05ca['isAdd']:(this['_diffRoots']['set'](_0x1c05ca['rootName'],G(_0x1c05ca['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1c05ca['rootName'],{}),_0x4bac60&&this['_idsRoots']['set'](_0x1c05ca['rootName'],G(_0x1c05ca['rootName'],!0x0)));const _0x246b20=null===_0x1c05ca['_authorId']?null:_0x1c05ca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1cae7c=this['_touchedRoots']['get'](_0x1c05ca['rootName']);_0x1cae7c&&_0x1cae7c['userId']===_0x246b20?this['_touchedRoots']['delete'](_0x1c05ca['rootName']):this['_touchedRoots']['set'](_0x1c05ca['rootName'],{'userId':_0x246b20,'isAttached':_0x1c05ca['isAdd']});}['_handleRootAttributeOperation'](_0x55a66e){const _0x1dee90=this['_diffRootsAttributes']['get'](_0x55a66e['root']['rootName']);null===_0x55a66e['newValue']?delete _0x1dee90[_0x55a66e['key']]:_0x1dee90[_0x55a66e['key']]=_0x55a66e['newValue'];}}function q(_0x38a221){const _0x53712c=G(_0x38a221['rootName'],_0x38a221['isAttached']());for(const _0x5e1be4 of _0x38a221['getChildren']()){const _0x279ef6=_0x5e1be4['_clone'](!0x0);_0x53712c['_appendChild'](_0x279ef6);}return _0x53712c;}function G(_0x299eff,_0x478d29=!0x0){const _0x199c9d=new wt();return _0x199c9d['rootName']=_0x299eff,_0x199c9d['_isAttached']=_0x478d29,_0x199c9d['isAttached']=()=>_0x199c9d['_isAttached'],_0x199c9d;}function L(_0x5b268b,_0x44e435,_0x20af28){const _0x540133='elementEnd'==_0x5b268b['type']?_0x20af28['createPositionAt'](_0x5b268b['item'],'end'):_0x20af28['createPositionBefore'](_0x5b268b['item']);return _0x20af28['createPositionFromPath'](_0x44e435,_0x540133['path'],_0x540133['stickiness']);}function W(_0x5ca399,_0xd61599,_0x2d0dcb){const _0x40eb06='elementStart'==_0x5ca399['type']?_0x2d0dcb['createPositionAt'](_0x5ca399['item'],0x0):_0x2d0dcb['createPositionAfter'](_0x5ca399['item']);return _0x2d0dcb['createPositionFromPath'](_0xd61599,_0x40eb06['path'],_0x40eb06['stickiness']);}class ns extends _0x3ed993{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4ba0ca,_0x30c6cc){super(_0x4ba0ca),this['focusTracker']=new _0x186c00(),this['keystrokes']=new _0xd949fb(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x30c6cc),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x3449d4({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x36d938=_0xd6dac9=>_0xd6dac9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x36d938),this['keystrokes']['set']('arrowleft',_0x36d938),this['keystrokes']['set']('arrowup',_0x36d938),this['keystrokes']['set']('arrowdown',_0x36d938);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1d65ae){this['revisionNameInputView']['fieldView']['element']['value']=_0x1d65ae['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x307ded){const _0x25e82c=new at(this['locale'],_0x44eeaf),_0x5e872f=_0x25e82c['fieldView'];_0x5e872f['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xefb62b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x307ded&&(_0xefb62b+='\x20('+y(this['locale'],'optional')+')'),(_0x25e82c['label']=_0xefb62b,_0x5e872f['on']('input',()=>{this['revisionNameInputValue']=_0x5e872f['element']['value']['trim']();}),_0x25e82c);}}class u extends _0x1500d7{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4e5ff5=this['editor'],_0x5e9c6e=_0x4e5ff5['plugins']['get']('RevisionTracker');_0x4e5ff5['ui']['componentFactory']['add']('revisionHistory',_0x96660c=>{const _0x3c9305=_0xa49916(_0x96660c),_0x2f9149=_0x3c9305['panelView']['children'],_0x17441f=new te(_0x96660c),_0x40cb60=new _0x33ab8d(_0x96660c),_0x26d6f9=new _0x5486ab(_0x96660c),_0x3d8b66=new _0x33ab8d(_0x96660c),_0x2fbbdc=new _0x5486ab(_0x96660c);return _0x3c9305['bind']('isEnabled')['to'](_0x5e9c6e,'isReady',_0x5e9c6e,'isEnabled',_0x4e5ff5,'isReadOnly',(_0x4e9015,_0x5db175,_0x415134)=>_0x4e9015&&_0x5db175&&!_0x415134),_0x3c9305['buttonView']['set']({'icon':_0x2186de['history'],'label':y(_0x96660c,'Revision\x20history'),'tooltip':!0x0}),_0x26d6f9['set']({'label':y(_0x96660c,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x26d6f9['bind']('isEnabled')['to'](_0x5e9c6e,'isReady',_0x5e9c6e,'isEnabled',_0x4e5ff5,'isReadOnly',(_0x445d8c,_0x2c5f8f,_0x591bfd)=>_0x445d8c&&_0x2c5f8f&&!_0x591bfd),_0x26d6f9['on']('execute',()=>this['_showDialog']()),_0x2fbbdc['set']({'label':y(_0x96660c,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2fbbdc['bind']('isEnabled')['to'](_0x5e9c6e,'isReady',_0x4e5ff5,'isReadOnly',(_0xd2a819,_0x360983)=>_0xd2a819&&!_0x360983),_0x2fbbdc['on']('execute',()=>{_0x4e5ff5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3c9305['isOpen']=!0x1,_0x4e5ff5['editing']['view']['focus']();}),_0x40cb60['children']['add'](_0x26d6f9),_0x3d8b66['children']['add'](_0x2fbbdc),_0x17441f['role']='menu',_0x17441f['items']['addMany']([_0x40cb60,_0x3d8b66]),_0x2f9149['add'](_0x17441f),_0x3c9305;}),_0x4e5ff5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x46bade=this['editor'],_0x39fee1=_0x46bade['locale'],_0x52f478=new _0x14879e(_0x39fee1),_0x4d6e00=new _0x12e131(_0x39fee1);_0x52f478['buttonView']['set']({'icon':_0x2186de['history'],'label':y(_0x39fee1,'Revision\x20history')});const _0x2aa714=new _0x177b24(_0x39fee1,_0x52f478),_0x8b36f3=new _0x30fde9(_0x39fee1);_0x8b36f3['set']({'label':y(_0x39fee1,'Save\x20current\x20revision')}),_0x8b36f3['delegate']('execute')['to'](_0x52f478),_0x8b36f3['on']('execute',()=>{this['_showDialog']();}),_0x2aa714['children']['add'](_0x8b36f3),_0x4d6e00['items']['add'](_0x2aa714);const _0x3c79ba=new _0x177b24(_0x39fee1,_0x52f478),_0x37a6f6=new _0x30fde9(_0x39fee1);return _0x37a6f6['set']({'label':y(_0x39fee1,'Open\x20revision\x20history')}),_0x37a6f6['delegate']('execute')['to'](_0x52f478),_0x37a6f6['on']('execute',()=>{_0x46bade['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3c79ba['children']['add'](_0x37a6f6),_0x4d6e00['items']['add'](_0x3c79ba),_0x52f478['panelView']['children']['add'](_0x4d6e00),_0x52f478;}['_showDialog'](){const _0x140c94=this['editor'],_0x23bad9=_0x140c94['locale'],_0x48254c=_0x140c94['plugins']['get']('Dialog'),_0x5923f6=_0x140c94['plugins']['get']('RevisionTracker');function _0x28852d(_0x125484){_0x140c94['config']['get']('revisionHistory.requireRevisionName')&&''===_0x125484['revisionName']?_0x125484['revisionNameInputView']['errorText']=y(_0x23bad9,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x140c94['plugins']['get'](l)['saveRevision']({'name':_0x125484['revisionName']}),_0x48254c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x28852d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x48254c['show']({'id':'revisionSave','title':y(_0x23bad9,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x140c94['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x48254c['hide']()},{'label':y(_0x140c94['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x47ac83){_0x47ac83['bind']('isEnabled')['to'](_0x5923f6,'isReady',_0x5923f6,'isEnabled',_0x140c94,'isReadOnly',(_0x2cd1f4,_0x279e86,_0x432449)=>_0x2cd1f4&&_0x279e86&&!_0x432449);},'onExecute':()=>_0x28852d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1f600a=this['editor'],_0x2f46c4=_0x1f600a['locale'];this['_saveRevisionFormView']=new ns(_0x2f46c4,_0x1f600a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x3ed993{['changeId'];['_model'];constructor(_0x1d9e32,_0x453057){super(_0x1d9e32),this['_model']=_0x453057,this['changeId']=_0x453057['id'];const _0x4ae8d2=this['bindTemplate'],_0x3606b6=y(_0x1d9e32,_0x453057['data']['isSuggestion']?'Suggested\x20by':'add'==_0x453057['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x453057['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4ae8d2['to']('type',_0x2a950f=>'ck-revision-change__'+_0x2a950f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3606b6}]},{'text':'\x20'+_0x453057['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x559568(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x24e428){super(),this['id']=_0x24e428['id']||_0x52795b(),this['author']=_0x24e428['author'],this['type']=_0x24e428['type'],this['data']=_0x24e428['data']||{},this['rootName']=_0x24e428['rootName'],this['set']('createdAt',_0x24e428['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x1a19c0,_0x1bd14c){this['newRevisionId']=_0x1a19c0,this['oldRevisionId']=_0x1bd14c,this['changes']=new _0x320ebf();}['_setChanges'](_0x3137f8){for(const _0x5099ca of _0x3137f8)this['changes']['add'](_0x5099ca);}}const tt={'c':_0x20169f,'a':_0x87a917,'e':_0x15b685,'r':_0x1ee69b,'u':_0x3e9ea4};class d extends _0x1500d7{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x204718,_0x155f3a,A];}constructor(_0x43c5f4){super(_0x43c5f4),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',(_0xb8907c,_0xeca80f,_0x5c84be)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5cadb1=>{for(const _0x2713bb of this['editor']['editing']['view']['document']['roots'])_0x5c84be?_0x5cadb1['removeClass']('ck-editor__editable__overlay',_0x2713bb):_0x5cadb1['addClass']('ck-editor__editable__overlay',_0x2713bb);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x401df6=>null!==_0x401df6),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1572d9,_0x5e98ee,_0x7bd190)=>_0x1572d9&&_0x7bd190?_0x5e98ee['changes']['getIndex'](_0x7bd190):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1954d7,_0x33beb2)=>_0x1954d7?_0x33beb2['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x155f3a);}['init'](){const _0x20e3a9=this['editor'],_0x2970bd=new yt(_0x20e3a9,{'direction':'backward'}),_0x3cd322=new yt(_0x20e3a9,{'direction':'forward'});(_0x20e3a9['commands']['add']('showPreviousChange',_0x2970bd),_0x20e3a9['commands']['add']('showNextChange',_0x3cd322),_0x20e3a9['commands']['add']('restoreRevision',new bt(_0x20e3a9)),this['on']('change:numberOfChanges',()=>{_0x2970bd['refresh'](),_0x3cd322['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x20e3a9['enableReadOnlyMode']('revision-viewer'),_0x20e3a9['plugins']['has']('WidgetToolbarRepository'))&&_0x20e3a9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2fb836){await this['loadRevisionData'](_0x2fb836);const _0x537bf6={};for(const _0x356071 in _0x2fb836['diffData']){if(_0x2fb836['diffData'][_0x356071]['attachChange']&&!_0x2fb836['diffData'][_0x356071]['attachChange']['isAttached'])continue;const _0x578f40=this['_removeRevisionMarkers'](JSON['parse'](_0x2fb836['diffData'][_0x356071]['insertions'])),_0x5f52e7=this['editor']['editing']['view']['document'],_0x18989d=new _0x363b64(_0x5f52e7,_0x578f40['map'](_0xc69d9b=>this['_getViewObj'](_0xc69d9b)));this['editor']['data']['processor']['useFillerType']('marked'),_0x537bf6[_0x356071]=this['editor']['data']['processor']['toData'](_0x18989d),this['editor']['data']['processor']['useFillerType']('default');}return _0x537bf6;}async['getRevisionRootsAttributes'](_0x6f41aa){await this['loadRevisionData'](_0x6f41aa);const _0x3d8e2f={};for(const _0x235e6e in _0x6f41aa['diffData'])_0x6f41aa['diffData'][_0x235e6e]['attachChange']&&!_0x6f41aa['diffData'][_0x235e6e]['attachChange']['isAttached']||(_0x3d8e2f[_0x235e6e]=_0x6f41aa['diffData'][_0x235e6e]['attributesAfter']||{});return _0x3d8e2f;}['_removeRevisionMarkers'](_0x7dc049){return(_0x7dc049=_0x7dc049['filter'](_0x450a96=>!_0x450a96['name']||'revision-start'!==_0x450a96['name']&&'revision-end'!==_0x450a96['name']))['forEach'](_0x57a1f2=>{'string'!=typeof _0x57a1f2&&(_0x57a1f2['children']=this['_removeRevisionMarkers'](_0x57a1f2['children']),_0x57a1f2['attributes']=_0x57a1f2['attributes']['filter'](_0xcfc6ef=>!_0xcfc6ef[0x0]['startsWith']('data-revision-')));}),_0x7dc049;}async['compare'](_0x2e1a32,_0x5432ec,_0x76c38b=!0x1){if(!this['isEnabled'])return;const _0x3021ae=this['diff'],_0xc471d8=this['repository'],_0x6f4e92='string'==typeof _0x2e1a32?_0xc471d8['getRevision'](_0x2e1a32):_0x2e1a32,_0x3114ef='string'==typeof _0x5432ec?_0xc471d8['getRevision'](_0x5432ec):_0x5432ec,_0xdf572=_0x6f4e92['id'],_0x91f045=_0x3114ef?_0x3114ef['id']:null;if(!_0x76c38b&&this['diff']&&this['diff']['newRevisionId']===_0xdf572&&this['diff']['oldRevisionId']===_0x91f045)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xdf572,_0x91f045);const _0x1d2c4d=this['_getRevisionsRange'](_0x6f4e92,_0x3114ef,!0x0)['map'](_0x4ff0af=>this['loadRevisionData'](_0x4ff0af));return _0x1d2c4d['push'](new Promise(_0x5477b9=>{setTimeout(_0x5477b9,0x14);})),Promise['all'](_0x1d2c4d)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x54dc79=this['_getDiff'](_0xdf572,_0x91f045);for(const _0x52210e of _0x54dc79['changes'])this['_changeIdToChange']['set'](_0x52210e['id'],_0x52210e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x57000d=>{for(const _0x8b7fc7 of this['editor']['model']['document']['getRootNames']())_0x57000d['detachRoot'](_0x8b7fc7);for(const _0x5cdc9f of Object['keys'](_0x54dc79['model'])){const _0x4d0c18=_0x57000d['addRoot'](_0x5cdc9f);for(const _0x47b925 of Object['keys'](_0x54dc79['attributes'][_0x5cdc9f]))_0x57000d['setAttribute'](_0x47b925,_0x54dc79['attributes'][_0x5cdc9f][_0x47b925],_0x4d0c18);_0x57000d['insert'](_0x54dc79['model'][_0x5cdc9f],_0x4d0c18,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x54dc79['changes'])),this['isReady']=!0x0;})['catch'](_0x53d856=>{console['error'](_0x53d856),this['_cleanUp'](),_0x3021ae&&(this['diff']=_0x3021ae),this['isReady']=!0x0;});}['addRevisionData'](_0x360ab0,_0x34d167){const _0x100332=this['repository']['createRevision'](_0x360ab0);return _0x100332['on']('_update',(_0x1b5c70,_0x1edbc7,_0x5d506e)=>_0x34d167(_0x1edbc7,_0x5d506e,_0x100332)),this['repository']['addRevision'](_0x100332),_0x100332;}['loadRevisionData'](_0x54a383){if(!_0x54a383||_0x54a383['diffData'])return Promise['resolve']();{const _0x253145=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x253145,'revisionId':_0x54a383['id']})['then'](_0x177057=>{_0x54a383['_update']({'diffData':_0x177057['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},_0x59230d=>{for(const _0xe36044 of this['editor']['model']['document']['getRootNames']())_0x59230d['detachRoot'](_0xe36044);});}['_sortAndFilterDiffChanges'](_0x54378c){const _0x4497c6=[],_0x9d6fc2=new Map();for(const _0x24d9a9 of this['editor']['model']['document']['getRootNames']()){const _0x1fb294=this['editor']['editing']['view']['getDomRoot'](_0x24d9a9);if(!_0x1fb294)continue;const _0x45790d=_0x1fb294['getClientRects']()['item'](0x0);_0x45790d&&(_0x4497c6['push'](_0x24d9a9),_0x9d6fc2['set'](_0x24d9a9,_0x45790d));}return _0x4497c6['sort']((_0x526cbc,_0x36e507)=>{const _0x52c5e5=_0x9d6fc2['get'](_0x526cbc),_0x35d7ba=_0x9d6fc2['get'](_0x36e507);return _0x52c5e5['y']-_0x35d7ba['y']||_0x52c5e5['x']-_0x35d7ba['x'];}),(_0x54378c=_0x54378c['filter'](_0x536a11=>_0x4497c6['includes'](_0x536a11['rootName'])))['sort']((_0x140f9a,_0x36dbbd)=>_0x4497c6['indexOf'](_0x140f9a['rootName'])-_0x4497c6['indexOf'](_0x36dbbd['rootName'])),_0x54378c;}['_makeTape'](_0x2ec5d8){const _0x3e4d62=Array['from'](_0x2ec5d8['markers'])['filter'](([_0xfe1d65,_0x5077ca])=>_0xfe1d65['startsWith']('revision:')&&!_0x5077ca['isCollapsed']),_0x1edc0e=Array['from'](this['editor']['model']['createRangeIn'](_0x2ec5d8)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3e4d62['length'])for(const _0x197a07 of _0x1edc0e){const [_0x1d6856,_0x5af660]=_0x3e4d62[0x0],[,_0x2d4ed0,_0x41fb92]=_0x1d6856['split'](':');if(_0x5af660['end']['isEqual'](_0x197a07['nextPosition'])&&_0x3e4d62['shift'](),(_0x197a07['previousPosition']['isEqual'](_0x5af660['start'])||_0x197a07['previousPosition']['isAfter'](_0x5af660['start']))&&('insertion'==_0x2d4ed0?_0x197a07['isAdded']={'userId':_0x41fb92}:'deletion'==_0x2d4ed0&&(_0x197a07['isRemoved']={'userId':_0x41fb92})),0x0==_0x3e4d62['length'])break;}return _0x1edc0e;}['_refreshStartEndIndex'](_0x388811){const _0xdc8a6b=new Map();for(let _0xb41c8d=0x0;_0xb41c8d<_0x388811['length'];_0xb41c8d++)'text'===_0x388811[_0xb41c8d]['type']?(_0x388811[_0xb41c8d]['item']['startIndex']=_0xb41c8d,_0x388811[_0xb41c8d]['item']['endIndex']=_0xb41c8d):('elementStart'===_0x388811[_0xb41c8d]['type']?_0x388811[_0xb41c8d]['item']['startIndex']=_0xb41c8d:'elementEnd'===_0x388811[_0xb41c8d]['type']&&(_0x388811[_0xb41c8d]['item']['endIndex']=_0xb41c8d),_0xdc8a6b['set'](_0x388811[_0xb41c8d]['id'],_0xb41c8d));for(const _0x45af8c of _0xdc8a6b['values']())'elementStart'===_0x388811[_0x45af8c]['type']?_0x388811[_0x45af8c]['item']['endIndex']=_0xdc8a6b['get'](_0x388811[_0x45af8c]['pairId']):'elementEnd'===_0x388811[_0x45af8c]['type']&&(_0x388811[_0x45af8c]['item']['startIndex']=_0xdc8a6b['get'](_0x388811[_0x45af8c]['pairId']));}['_processTape'](_0x5ccfaa){for(let _0x35bde2=0x0;_0x35bde2<_0x5ccfaa['length'];_0x35bde2++){if('elementStart'===_0x5ccfaa[_0x35bde2]['type'])_0x5ccfaa[_0x35bde2]['item']['startIndex']=_0x35bde2;else{if('elementEnd'===_0x5ccfaa[_0x35bde2]['type']){_0x5ccfaa[_0x35bde2]['item']['endIndex']=_0x35bde2;const _0x3df97b=_0x5ccfaa[_0x35bde2]['item']['startIndex'];_0x5ccfaa[_0x3df97b]['pairId']=_0x5ccfaa[_0x35bde2]['id'],_0x5ccfaa[_0x35bde2]['pairId']=_0x5ccfaa[_0x3df97b]['id'];}else _0x5ccfaa[_0x35bde2]['item']['startIndex']=_0x35bde2,_0x5ccfaa[_0x35bde2]['item']['endIndex']=_0x35bde2,_0x5ccfaa[_0x35bde2]['pairId']=null;}_0x5ccfaa[_0x35bde2]['markersStart']||(_0x5ccfaa[_0x35bde2]['markersStart']=[],_0x5ccfaa[_0x35bde2]['markersEnd']=[]);}}['_markInsertions'](_0x1dcc9c,_0x409a93){const _0x2f49f6=_0x1dcc9c['filter'](_0x21a57f=>!_0x21a57f['isAdded']);for(let _0x442c0b=0x0;_0x442c0b<_0x409a93['length'];_0x442c0b++)_0x409a93[_0x442c0b]['isAdded']&&(_0x2f49f6[_0x442c0b]['isAdded']=_0x409a93[_0x442c0b]['isAdded']);}['_makeModelFromViewString'](_0x37d32a){const _0x4039bd=JSON['parse'](_0x37d32a),_0x5c0fcb=this['editor']['editing']['view']['document'],_0x18a1af=new _0x363b64(_0x5c0fcb,_0x4039bd['map'](_0x53dea6=>this['_getViewObj'](_0x53dea6)));return this['editor']['data']['toModel'](_0x18a1af);}['_getViewObj'](_0xa7bc1){const _0x544943=this['editor']['editing']['view']['document'];if('string'==typeof _0xa7bc1)return new _0x3ca6d9(_0x544943,_0xa7bc1);{const _0x45d963=_0xa7bc1['children']['map'](_0x24cb46=>this['_getViewObj'](_0x24cb46));return new(tt[_0xa7bc1['type']]||_0x4f30c8)(_0x544943,_0xa7bc1['name'],_0xa7bc1['attributes'],_0x45d963);}}['_getDiff'](_0x4706bd,_0xeb9fc3=null){const _0xa3012d=this['repository']['getRevision'](_0x4706bd),_0x30faf5=_0xeb9fc3?this['repository']['getRevision'](_0xeb9fc3):null,_0x2ddc51=this['_getRevisionsRange'](_0xa3012d,_0x30faf5),_0x55f3e8=_0x2ddc51[_0x2ddc51['length']-0x1],_0x3b3493=new Map(),_0x251030={'model':{},'attributes':{},'changes':[]},_0xe3c0e=new Set(),_0x5f5bc0=new Map();for(let _0x52a5af=_0x2ddc51['length']-0x1;_0x52a5af>=0x0;_0x52a5af--){const _0x5c1ddc=_0x2ddc51[_0x52a5af];for(const _0x3c60f4 of Object['keys'](_0x5c1ddc['diffData']))if(_0x5c1ddc['diffData'][_0x3c60f4]['attachChange']){const _0x1b5908=_0x5c1ddc['diffData'][_0x3c60f4]['attachChange'];_0x1b5908['isAttached']?(_0xe3c0e['add'](_0x3c60f4),_0x5f5bc0['has'](_0x3c60f4)&&_0x5f5bc0['get'](_0x3c60f4)['userId']==_0x1b5908['userId']?_0x5f5bc0['delete'](_0x3c60f4):_0x5f5bc0['set'](_0x3c60f4,_0x1b5908)):_0x5f5bc0['has'](_0x3c60f4)?(_0xe3c0e['delete'](_0x3c60f4),_0x5f5bc0['delete'](_0x3c60f4)):(_0xe3c0e['add'](_0x3c60f4),_0x5f5bc0['set'](_0x3c60f4,_0x1b5908));}else _0xe3c0e['add'](_0x3c60f4);}for(const _0x1478ca of _0xe3c0e){const _0x1491e9=_0x5f5bc0['has'](_0x1478ca)&&!_0x5f5bc0['get'](_0x1478ca)['isAttached'];let _0x1794f2=_0x1491e9?_0x2ddc51['length']-0x1:0x0;const _0x2ae8fb=_0x1491e9?-0x1:0x1;for(;_0x2ddc51[_0x1794f2];){const _0x53f64c=_0x2ddc51[_0x1794f2];if(_0x53f64c['diffData'][_0x1478ca]){const _0x23e160=_0x1491e9?_0x53f64c['diffData'][_0x1478ca]['attributesBefore']:_0x53f64c['diffData'][_0x1478ca]['attributesAfter'];_0x251030['attributes'][_0x1478ca]=_0x23e160?_0x4e5ecc(_0x23e160):{};break;}_0x1794f2+=_0x2ae8fb;}}for(const _0x1384f3 of _0x2ddc51){_0x1384f3['model']={};for(const _0x278349 of _0x1384f3['authors'])_0x3b3493['set'](_0x278349['id'],_0x278349);for(const _0x1cc36b of _0xe3c0e){const _0x2c9677=_0x1384f3['diffData'][_0x1cc36b]?_0x1384f3['diffData'][_0x1cc36b]['insertions']:'[]',_0x3ea83c=_0x1384f3['diffData'][_0x1cc36b]?_0x1384f3['diffData'][_0x1cc36b]['deletions']:'[]';_0x1384f3['model'][_0x1cc36b]={'insertions':this['_makeModelFromViewString'](_0x2c9677),'deletions':this['_makeModelFromViewString'](_0x3ea83c)};}}for(const _0x286c30 of _0xe3c0e){let _0x2c20a4=null,_0x82c85=0x0;const _0x57844e=new Map(Array['from'](_0xa3012d['model'][_0x286c30]['insertions']['markers'])['filter'](([_0x1ded27])=>!_0x1ded27['startsWith']('revision:')));let _0x57fb2b=0x0;for(const _0x9f6d51 of _0x2ddc51){const _0x33507f=this['_makeTape'](_0x9f6d51['model'][_0x286c30]['insertions']);_0x9f6d51==_0xa3012d?(_0x2c20a4=_0x33507f,_0x82c85=_0x2c20a4['length'],_0x2c20a4['forEach'](_0xebfb6c=>{_0xebfb6c['id']=_0x57fb2b++;}),this['_processTape'](_0x2c20a4)):this['_markInsertions'](_0x2c20a4,_0x33507f);const _0x41b6de=_0x2c20a4['filter'](_0xeca399=>!_0xeca399['isAdded'])['map'](_0x5251a6=>_0x5251a6['id']);let _0x25982a=0x0;const _0x39be47=this['_makeTape'](_0x9f6d51['model'][_0x286c30]['deletions']);_0x39be47['forEach'](_0x37df6b=>{_0x37df6b['isRemoved']?_0x37df6b['id']=_0x82c85++:_0x37df6b['id']=_0x41b6de[_0x25982a++];}),this['_processTape'](_0x39be47),this['_setDistance'](_0x2c20a4,'isAdded'),this['_setDistance'](_0x39be47,'isRemoved'),_0x9f6d51==_0xa3012d&&this['_markMarkers'](_0x2c20a4,_0x57844e),_0x2c20a4=this['_joinTapes'](_0x2c20a4,_0x39be47),this['_refreshStartEndIndex'](_0x2c20a4),this['_setDistance'](_0x2c20a4,'isRemoved');}_0x2c20a4=_0x2c20a4['filter'](_0x5351a7=>!(_0x5351a7['isAdded']&&_0x5351a7['isRemoved']));const _0x7a99d=new Map(_0x55f3e8['model'][_0x286c30]['deletions']['markers']),_0x5e0b48=new Set(_0x57844e['keys']());for(const _0x5432ca of _0x7a99d['keys']())_0x5e0b48['delete'](_0x5432ca);this['_markSuggestions'](_0x2c20a4,_0x5e0b48),this['_fixObsoleteTags'](_0x2c20a4),_0x2c20a4=this['_removeMissingPairs'](_0x2c20a4),_0x2c20a4=this['_markMismatchedRemovedTags'](_0x2c20a4),_0x2c20a4=this['_removeUnsupportedChanges'](_0x2c20a4);const {root:_0x1462a0,changes:_0x2d3b36}=this['_makeModelFromTape'](_0x2c20a4,_0x3b3493,_0x286c30);_0x251030['model'][_0x286c30]=_0x1462a0;const _0x1b460e=_0x5f5bc0['get'](_0x286c30);if(_0x1b460e){const _0x3ea278=_0x3b3493['get'](_0x1b460e['userId']),_0x52d918=new r({'author':_0x3ea278,'type':_0x1b460e['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x286c30});_0x2d3b36['unshift'](_0x52d918),_0x251030['attributes'][_0x286c30]['revisionHistoryAttachChange']=_0x52d918['id'];}_0x251030['changes']=_0x251030['changes']['concat'](_0x2d3b36);}return _0x251030;}['_markMarkers'](_0x5ad114,_0x18c7cf){for(let _0x2fcf94=0x0;_0x2fcf94<_0x5ad114['length'];_0x2fcf94++)for(const [_0x10322f,_0x58a38a]of _0x18c7cf)_0x58a38a['start']['isEqual'](_0x5ad114[_0x2fcf94]['previousPosition'])&&_0x5ad114[_0x2fcf94]['markersStart']['push'](_0x10322f),_0x58a38a['end']['isEqual'](_0x5ad114[_0x2fcf94]['nextPosition'])&&_0x5ad114[_0x2fcf94]['markersEnd']['push'](_0x10322f);}['_joinTapes'](_0xd89077,_0x7cc626){let _0x2f7e12=[],_0x2dec6e=0x0,_0x23a3d5=0x0;for(;_0x2dec6e<_0xd89077['length']||_0x23a3d5<_0x7cc626['length'];){const _0x2d970f=_0xd89077[_0x2dec6e]||{},_0x5037ae=_0x7cc626[_0x23a3d5]||{};if(_0x2d970f['id']==_0x5037ae['id'])_0x2dec6e++,_0x23a3d5++,_0x2f7e12['push'](_0x2d970f);else{if(_0x5037ae['isRemoved']&&_0x2d970f['isAdded']){const {commonTape:_0x14c714,iEnd:_0x54e7e5,jEnd:_0xbeee3c}=this['_threeWayMerge'](_0xd89077,_0x2dec6e,_0x7cc626,_0x23a3d5);_0x2f7e12=_0x2f7e12['concat'](_0x14c714),_0x2dec6e=_0x54e7e5,_0x23a3d5=_0xbeee3c;}else _0x5037ae['isRemoved']?(_0x23a3d5++,_0x2f7e12['push'](_0x5037ae)):(_0x2dec6e++,_0x2f7e12['push'](_0x2d970f));}}return _0x2f7e12;}['_markSuggestions'](_0x5a74f2,_0x4fe0b9){const _0x436feb=[];for(let _0x497476=0x0;_0x497476<_0x5a74f2['length'];_0x497476++){for(let _0x2be206=0x0;_0x2be206<_0x5a74f2[_0x497476]['markersStart']['length'];_0x2be206++){const _0x1c17c6=_0x5a74f2[_0x497476]['markersStart'][_0x2be206];if(!_0x4fe0b9['has'](_0x1c17c6))continue;const {group:_0x9d9ecd,type:_0xff1ac5,authorId:_0x1a8273}=_0x52daf2(_0x1c17c6);'revision-suggestion'!=_0x9d9ecd||'insertion'!=_0xff1ac5&&'deletion'!=_0xff1ac5||(_0x436feb['unshift']({'type':_0xff1ac5,'name':_0x1c17c6,'userId':_0x1a8273}),_0x5a74f2[_0x497476]['markersStart']['splice'](_0x2be206,0x1),_0x2be206--);}_0x1127cb(_0x5a74f2[_0x497476]);for(let _0xd329b0=0x0;_0xd329b0<_0x5a74f2[_0x497476]['markersEnd']['length'];_0xd329b0++){const _0x259026=_0x5a74f2[_0x497476]['markersEnd'][_0xd329b0];if(!_0x4fe0b9['has'](_0x259026))continue;const {group:_0x442a6a,type:_0xc0bc2a}=_0x52daf2(_0x259026);if('revision-suggestion'!=_0x442a6a||'insertion'!=_0xc0bc2a&&'deletion'!=_0xc0bc2a)continue;_0x5a74f2[_0x497476]['markersEnd']['splice'](_0xd329b0,0x1),_0xd329b0--;const _0x264669=_0x436feb['findIndex'](_0x38b5ef=>_0x38b5ef['name']==_0x259026);_0x264669>-0x1&&_0x436feb['splice'](_0x264669,0x1);}}function _0x52daf2(_0x2c2298){const _0x5dbc2b=_0x2c2298['split'](':');return{'group':_0x5dbc2b[0x0],'type':_0x5dbc2b[0x1],'subType':_0x5dbc2b['length']>=0x5?_0x5dbc2b[0x2]:null,'id':_0x5dbc2b['length']<0x5?_0x5dbc2b[0x2]:_0x5dbc2b[0x3],'authorId':_0x5dbc2b['length']<0x5?_0x5dbc2b[0x3]:_0x5dbc2b[0x4],'markerCount':0x6==_0x5dbc2b['length']?_0x5dbc2b[0x5]:null};}function _0x1127cb(_0x5d21bc){for(let _0x40b0e6=0x0;_0x40b0e6<_0x436feb['length'];_0x40b0e6++){if(_0x5d21bc['isAdded']&&'insertion'==_0x436feb[_0x40b0e6]['type'])return _0x5d21bc['isAddSuggestion']=_0x436feb[_0x40b0e6],void delete _0x5d21bc['isAdded'];if(!_0x5d21bc['isAdded']&&!_0x5d21bc['isRemoved']&&'deletion'==_0x436feb[_0x40b0e6]['type'])return void(_0x5d21bc['isRemoveSuggestion']=_0x436feb[_0x40b0e6]);}}}['_setDistance'](_0x4f1293,_0x34105d){let _0x49b300=0x0,_0xabbd9a=!0x1;const _0x4d8264=new Map();for(const _0x3a750a of _0x4f1293)_0x3a750a[_0x34105d]?_0xabbd9a&&(_0x49b300++,_0xabbd9a=!0x1):(_0x49b300++,_0xabbd9a=!0x0),_0x4d8264['set'](_0x3a750a['id'],_0x49b300);for(let _0x4e86a6=0x0;_0x4e86a6<_0x4f1293['length'];_0x4e86a6++){if('isRemoved'==_0x34105d&&_0x4f1293[_0x4e86a6]['isAdded']||'isAdded'==_0x34105d&&_0x4f1293[_0x4e86a6]['isRemoved'])continue;if('text'==_0x4f1293[_0x4e86a6]['type']){_0x4f1293[_0x4e86a6]['distance']=0x0;continue;}const _0x23997c=_0x4d8264['get'](_0x4f1293[_0x4e86a6]['pairId']),_0x288ee8=_0x4d8264['get'](_0x4f1293[_0x4e86a6]['id']);_0x4f1293[_0x4e86a6]['distance']=_0x23997c-_0x288ee8;}}['_getRevisionsRange'](_0x5171db,_0x18a511,_0x3c1597=!0x1){const _0x297e41=[];let _0x19a623=this['repository']['getIndex'](_0x5171db),_0x329f54=this['repository']['getIndex'](_0x18a511);for(-0x1==_0x329f54&&(_0x329f54=this['repository']['_revisions']['length'],_0x3c1597=!0x1);_0x19a623<_0x329f54;)_0x297e41['push'](this['repository']['getRevision'](_0x19a623)),_0x19a623++;return _0x3c1597&&_0x297e41['push'](this['repository']['getRevision'](_0x19a623)),_0x297e41;}['_threeWayMerge'](_0x29a725,_0x1038f3,_0x30bd34,_0x10a653){const _0x5c5d84=this['editor']['model']['schema'];let _0x169cdb=_0x1038f3;for(;_0x29a725[_0x169cdb]&&_0x29a725[_0x169cdb]['isAdded'];)_0x169cdb++;let _0x172c1b=_0x10a653;for(;_0x30bd34[_0x172c1b]&&_0x30bd34[_0x172c1b]['isRemoved'];)_0x172c1b++;_0x15106b(_0x29a725,_0x1038f3,_0x169cdb),_0x15106b(_0x30bd34,_0x10a653,_0x172c1b);const _0x71dde1=_0x30bd34['slice'](_0x10a653,_0x172c1b)['concat'](_0x29a725['slice'](_0x1038f3,_0x169cdb));return _0x71dde1['sort']((_0xa1809,_0x4a53ac)=>_0xa1809['side']!=_0x4a53ac['side']?_0xa1809['side']-_0x4a53ac['side']:_0xa1809['level']!=_0x4a53ac['level']?_0xa1809['level']-_0x4a53ac['level']:_0xa1809['distance']!=_0x4a53ac['distance']?_0x4a53ac['distance']-_0xa1809['distance']:!!_0xa1809['isAdded']!=!!_0x4a53ac['isAdded']?-0x1==_0xa1809['side']||0x0==_0xa1809['side']?_0xa1809['isAdded']?-0x1:0x1:_0xa1809['isAdded']?0x1:-0x1:_0xa1809['index']-_0x4a53ac['index']),{'commonTape':_0x71dde1,'iEnd':_0x169cdb,'jEnd':_0x172c1b};function _0x15106b(_0x139bed,_0x586d7d,_0x448c22){let _0x211fb0=-0x1,_0xa3d5dd=Number['POSITIVE_INFINITY'],_0x39cc48=!0x0;for(let _0xf4b032=_0x586d7d;_0xf4b032<_0x448c22;_0xf4b032++)if(_0x5c5d84['isInline'](_0x139bed[_0xf4b032]['item'])||(_0x39cc48=!0x1),_0x139bed[_0xf4b032]['item']['startIndex']<_0x586d7d&&(_0x211fb0=_0xf4b032),_0x139bed[_0xf4b032]['item']['endIndex']>=_0x448c22){_0xa3d5dd=_0xf4b032;break;}_0x39cc48&&(_0x211fb0=_0x448c22-0x1);for(let _0x1a693f=_0x586d7d;_0x1a693f<_0x448c22;_0x1a693f++)_0x139bed[_0x1a693f]['side']=_0x1a693f<=_0x211fb0?-0x1:_0x1a693f<_0xa3d5dd?0x0:0x1,_0x139bed[_0x1a693f]['index']=_0x1a693f;let _0x380efa=0x0;for(let _0x5bd561=_0x586d7d;_0x5bd561<=_0x211fb0;_0x5bd561++)0x0==_0x139bed[_0x5bd561]['distance']?_0x139bed[_0x5bd561]['level']=_0x380efa:(_0x380efa++,_0x139bed[_0x5bd561]['level']=_0x380efa,_0x380efa++);for(let _0x269fc1=_0x586d7d;_0x269fc1<_0x448c22;_0x269fc1++)0x0==_0x139bed[_0x269fc1]['side']&&(_0x139bed[_0x269fc1]['level']=_0x380efa);_0x380efa=0x0;for(let _0x34ffb9=_0x448c22-0x1;_0x34ffb9>=_0xa3d5dd;_0x34ffb9--)0x0==_0x139bed[_0x34ffb9]['distance']?_0x139bed[_0x34ffb9]['level']=_0x380efa:(_0x380efa--,_0x139bed[_0x34ffb9]['level']=_0x380efa,_0x380efa--);}}['_fixObsoleteTags'](_0x2e838f){const _0x58225d=new Map(),_0x5635cf=this['editor']['model']['schema'];for(let _0x3582cd=0x1;_0x3582cd<_0x2e838f['length'];_0x3582cd++){let _0x517cc5,_0x37b968,_0x3ed16b;const _0x2901c7=_0x2e838f[_0x3582cd],_0x52fb9b=_0x2e838f[_0x3582cd-0x1];if('text'==_0x2901c7['type'])continue;if(_0x2901c7['type']!=_0x52fb9b['type'])continue;if(!_0x5635cf['isBlock'](_0x52fb9b['item'])||_0x5635cf['isLimit'](_0x52fb9b['item']))continue;if(!_0x5635cf['isBlock'](_0x2901c7['item'])||_0x5635cf['isLimit'](_0x2901c7['item']))continue;if((_0x2e838f[_0x3582cd]['isAdded']||_0x2e838f[_0x3582cd]['isAddSuggestion'])&&_0x2e838f[_0x3582cd-0x1]['isRemoved'])_0x517cc5=_0x2e838f[_0x3582cd],_0x37b968=_0x2e838f[_0x3582cd-0x1],_0x3ed16b=_0x3582cd-0x1;else{if(!_0x2e838f[_0x3582cd]['isRemoved']||!_0x2e838f[_0x3582cd-0x1]['isAdded']&&!_0x2e838f[_0x3582cd-0x1]['isAddSuggestion'])continue;_0x517cc5=_0x2e838f[_0x3582cd-0x1],_0x37b968=_0x2e838f[_0x3582cd],_0x3ed16b=_0x3582cd;}const _0xa09a0b=_0x517cc5['level']==_0x37b968['level'],_0x5f1b6a=Math['abs'](_0x517cc5['level'])<Math['abs'](_0x37b968['level'])&&0x0==_0x37b968['distance'];(_0xa09a0b||_0x5f1b6a)&&(_0x58225d['set'](_0x37b968['id'],_0x517cc5['id']),_0x2e838f['splice'](_0x3ed16b,0x1),_0x3582cd--,_0x517cc5['isAdded']=!0x1);}for(let _0xec3bd1=0x0;_0xec3bd1<_0x2e838f['length'];_0xec3bd1++)_0x58225d['has'](_0x2e838f[_0xec3bd1]['pairId'])&&(_0x2e838f[_0xec3bd1]['pairId']=_0x58225d['get'](_0x2e838f[_0xec3bd1]['pairId']));}['_removeMissingPairs'](_0x41a3ea){const _0x2cb236=new Set(_0x41a3ea['map'](_0x194360=>_0x194360['id']));for(let _0xe150a2=0x0;_0xe150a2<_0x41a3ea['length'];_0xe150a2++)_0x2cb236['has'](_0x41a3ea[_0xe150a2]['pairId'])||0x0==_0x41a3ea[_0xe150a2]['distance']||(_0x41a3ea[_0xe150a2]['isIncorrect']=!0x0);return _0x41a3ea['filter'](_0x433423=>!_0x433423['isIncorrect']);}['_markMismatchedRemovedTags'](_0xa0912f){const _0x5940f5=new Set();for(let _0x232922=0x0;_0x232922<_0xa0912f['length'];_0x232922++){if(_0x5940f5['has'](_0xa0912f[_0x232922]['id'])&&_0xa0912f[_0x232922]['isRemoved']&&(_0xa0912f[_0x232922]['isIncorrect']=!0x0),_0xa0912f[_0x232922]['isIncorrect'])continue;if(0x0==_0xa0912f[_0x232922]['distance'])continue;if('elementStart'!=_0xa0912f[_0x232922]['type'])continue;if(null==_0xa0912f[_0x232922]['pairId'])continue;let _0x4c87e6=_0x232922+0x1,_0x9c0cf8=0x0;for(;_0xa0912f[_0x4c87e6]['id']!=_0xa0912f[_0x232922]['pairId'];)'elementStart'==_0xa0912f[_0x4c87e6]['type']?_0x9c0cf8++:'elementEnd'==_0xa0912f[_0x4c87e6]['type']&&_0x9c0cf8--,_0x4c87e6++;if(0x0!=_0x9c0cf8){if(_0xa0912f[_0x232922]['isRemoved'])_0xa0912f[_0x232922]['isIncorrect']=!0x0;else{for(;_0x4c87e6!=_0x232922;)_0xa0912f[_0x4c87e6]['isRemoved']&&0x0!=_0xa0912f[_0x4c87e6]['distance']&&(_0xa0912f[_0x4c87e6]['isIncorrect']=!0x0,_0x5940f5['add'](_0xa0912f[_0x4c87e6]['pairId'])),_0x4c87e6--;}}}return _0xa0912f['filter'](_0x54288a=>!_0x54288a['isIncorrect']);}['_removeUnsupportedChanges'](_0x29a83b){const _0x4e7c33=this['editor']['model']['schema'];for(let _0x222cd8=0x0;_0x222cd8<_0x29a83b['length'];_0x222cd8++){if(!(_0x29a83b[_0x222cd8]['isAdded']||_0x29a83b[_0x222cd8]['isAddSuggestion']||_0x29a83b[_0x222cd8]['isRemoved']||_0x29a83b[_0x222cd8]['isRemoveSuggestion']))continue;if(0x0==_0x29a83b[_0x222cd8]['distance'])continue;const _0x18cd82=_0x29a83b[_0x222cd8]['item'];_0x4e7c33['isBlock'](_0x18cd82)||_0x4e7c33['isLimit'](_0x18cd82)||(_0x29a83b[_0x222cd8]['isAdded']&&delete _0x29a83b[_0x222cd8]['isAdded'],_0x29a83b[_0x222cd8]['isAddSuggestion']&&delete _0x29a83b[_0x222cd8]['isAddSuggestion'],_0x29a83b[_0x222cd8]['isRemoveSuggestion']&&delete _0x29a83b[_0x222cd8]['isRemoveSuggestion'],_0x29a83b[_0x222cd8]['isRemoved']&&(_0x29a83b[_0x222cd8]['isIncorrect']=!0x0));}return _0x29a83b['filter'](_0x4dddf1=>!_0x4dddf1['isIncorrect']);}['_makeModelFromTape'](_0x180370,_0x437b9e,_0x1febbe){const _0x29c75a=new wt(),_0x2a856e=[],_0x197ee2=new Map(),_0x2b8ffd=this['editor']['model'],_0x52f76c=_0x2b8ffd['schema'],_0x1e29d8=[_0x29c75a],_0xf6957f={},_0x1156d0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b0113=null;const _0x1d1034=[0x0];for(let _0xa092b6=0x0;_0xa092b6<_0x180370['length'];_0xa092b6++){let _0x19bc90,_0x338e02;if('elementStart'===_0x180370[_0xa092b6]['type']){_0x19bc90=_0x2b8ffd['createPositionFromPath'](_0x29c75a,_0x1d1034);const _0x57192f=new ft(_0x180370[_0xa092b6]['item']['name'],_0x180370[_0xa092b6]['item']['getAttributes']());_0x1e29d8[0x0]['_appendChild'](_0x57192f),_0x1d1034['push'](0x0),_0x1e29d8['unshift'](_0x57192f),_0x338e02=_0x2b8ffd['createPositionFromPath'](_0x29c75a,_0x1d1034),_0x1b0113=null;}else{if('elementEnd'===_0x180370[_0xa092b6]['type'])_0x1e29d8['shift'](),_0x19bc90=_0x2b8ffd['createPositionFromPath'](_0x29c75a,_0x1d1034),_0x1d1034['pop'](),_0x1d1034[_0x1d1034['length']-0x1]++,_0x338e02=_0x2b8ffd['createPositionFromPath'](_0x29c75a,_0x1d1034),_0x1b0113=null;else{if(_0x19bc90=_0x2b8ffd['createPositionFromPath'](_0x29c75a,_0x1d1034),_0x1b0113&&_0x41e230(_0x1b0113,_0x180370[_0xa092b6]['item']))_0x1b0113['_data']+=_0x180370[_0xa092b6]['item']['data'];else{const _0x56b3df=new _t(_0x180370[_0xa092b6]['item']['data'],_0x180370[_0xa092b6]['item']['getAttributes']());_0x1e29d8[0x0]['_appendChild'](_0x56b3df),_0x1b0113=_0x56b3df;}_0x1d1034[_0x1d1034['length']-0x1]+=_0x180370[_0xa092b6]['item']['offsetSize'],_0x338e02=_0x2b8ffd['createPositionFromPath'](_0x29c75a,_0x1d1034);}}for(const _0x51a736 of _0x180370[_0xa092b6]['markersStart'])_0x197ee2['set'](_0x51a736,{'start':_0x19bc90,'end':null});_0x4c64fc('isRemoveSuggestion',_0xa092b6,_0x19bc90,_0x338e02),_0x4c64fc('isAddSuggestion',_0xa092b6,_0x19bc90,_0x338e02),_0x4c64fc('isRemoved',_0xa092b6,_0x19bc90,_0x338e02),_0x4c64fc('isAdded',_0xa092b6,_0x19bc90,_0x338e02);for(const _0x210f8b of _0x180370[_0xa092b6]['markersEnd']){_0x197ee2['get'](_0x210f8b)['end']=_0x338e02;}}for(const [_0x150676,_0xdaad78]of _0x197ee2){const _0x529279=this['editor']['model']['createRange'](_0xdaad78['start'],_0xdaad78['end']);_0x29c75a['markers']['set'](_0x150676,_0x529279);}return _0x2a856e['sort']((_0xfc1c97,_0x139a7a)=>{const _0x252018=_0x29c75a['markers']['get']('revision:'+_0xfc1c97['id']),_0x263213=_0x29c75a['markers']['get']('revision:'+_0x139a7a['id']);return _0x252018['start']['isBefore'](_0x263213['start'])?-0x1:_0x252018['start']['isAfter'](_0x263213['start'])?0x1:_0x252018['end']['isBefore'](_0x263213['end'])?-0x1:_0x252018['end']['isAfter'](_0x263213['end'])?0x1:'add'===_0xfc1c97['type']?-0x1:0x1;}),{'root':_0x29c75a,'changes':_0x2a856e};function _0x4c64fc(_0x19df4c,_0x4959fe,_0x4a6734,_0x1ebbd6){const _0x167367=!!_0x180370[_0x4959fe][_0x19df4c],_0x5f39bb=_0x167367?_0x180370[_0x4959fe][_0x19df4c]['userId']:null,_0x55a9b1=_0x4959fe===_0x180370['length']-0x1,_0xd8aab7=_0x1156d0[_0x19df4c][0x0],_0x3b1519=_0x52f76c['isObject'](_0x180370[_0x4959fe]['item']);!_0xf6957f[_0x19df4c]&&_0x167367?_0xf6957f[_0x19df4c]={'start':_0x4a6734,'tapeItem':_0x180370[_0x4959fe],'userId':_0x5f39bb,'type':_0x19df4c}:_0xf6957f[_0x19df4c]&&!_0x167367?(_0xf6957f[_0x19df4c]['end']=_0x4a6734,_0x5a4149(_0xf6957f[_0x19df4c]),_0xf6957f[_0x19df4c]=null):_0xf6957f[_0x19df4c]&&_0x167367&&_0xf6957f[_0x19df4c]['userId']!==_0x5f39bb&&(_0xf6957f[_0x19df4c]['end']=_0x4a6734,_0xd8aab7&&_0xd8aab7['userId']===_0xf6957f[_0x19df4c]['userId']||_0x5a4149(_0xf6957f[_0x19df4c]),_0xf6957f[_0x19df4c]={'start':_0x4a6734,'tapeItem':_0x180370[_0x4959fe],'userId':_0x5f39bb,'type':_0x19df4c}),_0xf6957f[_0x19df4c]&&_0x3b1519&&('elementStart'!==_0x180370[_0x4959fe]['type']||_0xd8aab7&&_0xd8aab7['userId']===_0x5f39bb||_0x1156d0[_0x19df4c]['unshift']({'userId':_0x5f39bb,'object':_0x180370[_0x4959fe]['item'],'change':_0xf6957f[_0x19df4c]}),'elementEnd'===_0x180370[_0x4959fe]['type']&&_0xd8aab7&&_0xd8aab7['object']===_0x180370[_0x4959fe]['item']&&(_0x1156d0[_0x19df4c]['shift'](),_0xf6957f[_0x19df4c]=_0xd8aab7['change'])),_0xf6957f[_0x19df4c]&&_0x55a9b1&&(_0xf6957f[_0x19df4c]['end']=_0x1ebbd6,_0x5a4149(_0xf6957f[_0x19df4c]),_0xf6957f[_0x19df4c]=null);}function _0x5a4149({start:_0x48f09d,end:_0x564c1b,tapeItem:_0x2609b5,userId:_0x4894f4,type:_0x4cc2df}){const _0x5c32f2=_0x2609b5['item'],_0x568e9b=_0x2b8ffd['schema']['isBlock'](_0x5c32f2)&&!_0x2b8ffd['schema']['isLimit'](_0x5c32f2),_0x5cce25=_0x48f09d['nodeAfter']==_0x564c1b['parent']&&_0x564c1b['isAtStart'];if(_0x568e9b&&_0x5cce25)return;const _0x2dc897=_0x2b8ffd['createRange'](_0x48f09d,_0x564c1b),_0x39a639=_0x437b9e['get'](_0x4894f4),_0x3379a5=new r({'author':_0x39a639,'type':'isAdded'==_0x4cc2df||'isAddSuggestion'==_0x4cc2df?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4cc2df||'isRemoveSuggestion'==_0x4cc2df},'createdAt':new Date(),'rootName':_0x1febbe});_0x2a856e['push'](_0x3379a5),_0x29c75a['markers']['set']('revision:'+_0x3379a5['id'],_0x2dc897);}function _0x41e230(_0x4ca8ca,_0x1575cd){const _0x1e7beb=_0x4ca8ca['getAttributes'](),_0xca8eb5=_0x1575cd['getAttributes']();for(const _0x13ca3c of _0x1e7beb){if(_0x13ca3c[0x1]!==_0x1575cd['getAttribute'](_0x13ca3c[0x0]))return!0x1;_0xca8eb5['next']();}return _0xca8eb5['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1877ed=>{const _0x30c912=_0x1877ed['markerName']['split'](':')[0x1],_0x4539fe=this['_getChangeFromId'](_0x30c912);if(!_0x4539fe)return null;const _0xb5152b='add'==_0x4539fe['type']?'insertion':'deletion',_0xc35944=['ck-suggestion-marker','ck-suggestion-marker-'+_0xb5152b];return _0x4539fe['data']['isSuggestion']&&_0xc35944['push']('ck-suggestion-marker-'+_0xb5152b+'-new'),this['activeChange']==_0x4539fe&&_0xc35944['push']('ck-suggestion-marker--active'),{'classes':_0xc35944,'attributes':{'data-change-id':_0x30c912}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3c0f12=>{_0x3c0f12['on']('element:pre',(_0xf2a063,_0x2e1168,_0x4f6c7e)=>{const _0x4b9f04=_0x2e1168['viewItem']['getChild'](0x0);if(!_0x4b9f04||!_0x4b9f04['is']('element','code'))return;if(!_0x4f6c7e['consumable']['consume'](_0x4b9f04,{'attributes':['vid_start','vid_end']}))return;const _0x58de08=_0x2e1168['modelRange']['start']['nodeAfter'];_0x4f6c7e['writer']['setAttribute']('vid_start',_0x4b9f04['getAttribute']('vid_start'),_0x58de08),_0x4f6c7e['writer']['setAttribute']('vid_end',_0x4b9f04['getAttribute']('vid_end'),_0x58de08);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x122413=>{_0x122413['on']('element',(_0x5811f6,_0x131aa0,_0x11721f)=>{if(!_0x11721f['consumable']['consume'](_0x131aa0['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x131aa0['modelRange']['isCollapsed'])return;const _0x9d8fc0=_0x131aa0['modelRange']['start']['nodeAfter'];_0x9d8fc0['hasAttribute']('vid_start')||_0x9d8fc0['hasAttribute']('vid')||(_0x11721f['writer']['setAttribute']('vid_start',_0x131aa0['viewItem']['getAttribute']('vid_start'),_0x9d8fc0),_0x11721f['writer']['setAttribute']('vid_end',_0x131aa0['viewItem']['getAttribute']('vid_end'),_0x9d8fc0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x22ba62=>_0x22ba62['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x21769b,[,_0x270e19])=>{['vid_start','vid_end','vid']['includes'](_0x270e19)&&(_0x21769b['return']=!0x0,_0x21769b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x246c5b=>{_0x246c5b['on']('attribute:vid',(_0x54a7a7,_0x5d16b7,_0x752db2)=>{if('\x20'!=_0x5d16b7['item']['data']||_0x5d16b7['item']['parent']['maxOffset']>0x1)return;if(!_0x752db2['consumable']['consume'](_0x5d16b7['item'],_0x54a7a7['name']))return;const _0x2bf65b=_0x752db2['writer'],_0x122d3d=_0x752db2['mapper']['toViewRange'](_0x5d16b7['range']);_0x2bf65b['wrap'](_0x122d3d,_0x2bf65b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3ad96a){const _0x394da4=_0x3ad96a['plugins']['get']('RevisionViewer');return(_0x4c795a,_0x3b20a0,_0x374e4b)=>{const _0x4454d4=_0x3b20a0['markerName']['split'](':')[0x1],_0x1c4797=_0x394da4['_getChangeFromId'](_0x4454d4);if(!_0x1c4797)return null;const _0x836516='add'==_0x1c4797['type']?'split':'merge';if(!_0x374e4b['consumable']['test'](_0x3b20a0['markerRange'],_0x4c795a['name']))return;const _0x21383d=_0x3b20a0['markerRange']['getWalker'](),_0x592e9b=_0x3b20a0['markerRange']['start'],_0x39bb37=_0x3ad96a['model']['schema'];let _0x4d5d5c=null,_0x957709=null,_0x529698=!0x1,_0x523ce3=!0x1;for(const _0x4917f7 of _0x21383d){const _0x28c60e=_0x4917f7['item'];_0x529698=_0x529698||_0x39bb37['isContent'](_0x28c60e);const _0x59223b=_0x374e4b['mapper']['toViewElement'](_0x28c60e);if(_0x59223b&&_0x59223b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4917f7['type']&&(_0x39bb37['isBlock'](_0x28c60e)&&!_0x39bb37['isLimit'](_0x28c60e)&&(_0x28c60e['nextSibling']||_0x592e9b['isAtEnd']?_0x4d5d5c&&_0x4d5d5c['parent']==_0x28c60e||(_0x4d5d5c=_0x28c60e,_0x59870f(_0x4917f7['previousPosition']),_0x523ce3=!0x0):_0x957709=_0x957709||_0x4917f7['previousPosition']));}function _0x59870f(_0x594c2a){const _0x5bd5bd=_0x374e4b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x836516}),_0x2e358f=_0x374e4b['mapper']['toViewPosition'](_0x594c2a);_0x1c4797['data']['isSuggestion']&&_0x374e4b['writer']['addClass']('ck-suggestion-marker-'+_0x836516+'-new',_0x5bd5bd),_0x394da4['activeChange']==_0x1c4797&&_0x374e4b['writer']['addClass']('ck-suggestion-marker--active',_0x5bd5bd),_0x374e4b['writer']['insert'](_0x2e358f,_0x5bd5bd),_0x374e4b['mapper']['bindElementToMarker'](_0x5bd5bd,_0x3b20a0['markerName']);}_0x529698||_0x523ce3||!_0x957709||_0x59870f(_0x957709);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4badcb,_0x4ec6cf,_0x3e7113)=>{const _0x53d6db=_0x3e7113['mapper']['markerNameToElements'](_0x4ec6cf['markerName']);if(_0x53d6db){for(const _0x579055 of _0x53d6db)(_0x579055['hasClass']('ck-suggestion-marker-split')||_0x579055['hasClass']('ck-suggestion-marker-merge'))&&(_0x3e7113['mapper']['unbindElementFromMarkerName'](_0x579055,_0x4ec6cf['markerName']),_0x3e7113['writer']['remove'](_0x579055));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4cdb53,_0x5553c1,_0x306cb3)=>{const _0x3be842=_0x5553c1['markerName']['split'](':')[0x1],_0x2cb649=this['_getChangeFromId'](_0x3be842);if(!_0x2cb649)return null;const _0x17eb4d='add'==_0x2cb649['type']?'split':'merge';if(_0x306cb3['consumable']['test'](_0x5553c1['markerRange'],_0x4cdb53['name']))for(const _0x485839 of _0x5553c1['markerRange']['getItems']()){if(!_0x485839['is']('element','softBreak'))continue;const _0xeb102e=_0x306cb3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x17eb4d}),_0x1d94fe=_0x306cb3['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x485839));_0x2cb649['data']['isSuggestion']&&_0x306cb3['writer']['addClass']('ck-suggestion-marker-'+_0x17eb4d+'-new',_0xeb102e),this['activeChange']==_0x2cb649&&_0x306cb3['writer']['addClass']('ck-suggestion-marker--active',_0xeb102e),_0x306cb3['writer']['insert'](_0x1d94fe,_0xeb102e),_0x306cb3['mapper']['bindElementToMarker'](_0xeb102e,_0x5553c1['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x23abfc=>{for(const _0xbd5399 of this['editor']['model']['document']['getRootNames']()){const _0x518b39=this['editor']['model']['document']['getRoot'](_0xbd5399),_0x333775=this['editor']['editing']['view']['document']['getRoot'](_0xbd5399);if(_0x333775){const _0x22eb97=_0x518b39['getAttribute']('revisionHistoryAttachChange');if(_0x23abfc['removeAttribute']('data-change-id',_0x333775),_0x23abfc['removeClass']('ck-revision-history-root-add',_0x333775),_0x23abfc['removeClass']('ck-revision-history-root-remove',_0x333775),_0x23abfc['removeClass']('ck-revision-history-root--active',_0x333775),_0x22eb97){const _0xbef272=this['_getChangeFromId'](_0x22eb97);if(!_0xbef272)return null;_0x23abfc['setAttribute']('data-change-id',_0x22eb97,_0x333775),_0x23abfc['addClass']('ck-revision-history-root-'+_0xbef272['type'],_0x333775),this['activeChange']==_0xbef272&&_0x23abfc['addClass']('ck-revision-history-root--active',_0x333775);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5bd141=>'revision-comment:'+_0x5bd141,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x329fd6=>'revision-suggestion:'+_0x329fd6,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xf2834d=>({'name':'suggestion:'+_0xf2834d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xb58ead=>{const _0x2b13e0=_0xb58ead['markerName']['split'](':')[0x1];return'insertion'!=_0x2b13e0&&'deletion'!=_0x2b13e0?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2b13e0]};}}),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',(_0x3fa3f6,_0x472c90,_0x173f02)=>{const _0x28b6b7=_0x173f02['mapper']['markerNameToElements'](_0x472c90['markerName']);if(_0x28b6b7){for(const _0x496440 of _0x28b6b7)_0x496440['is']('uiElement')&&(_0x173f02['mapper']['unbindElementFromMarkerName'](_0x496440,_0x472c90['markerName']),_0x173f02['writer']['remove'](_0x496440));}},{'priority':'high'});}['_getChangeFromId'](_0x43fe5a){return this['_changeIdToChange']['get'](_0x43fe5a);}['_getViewForChange'](_0x5dc20e){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5dc20e),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x45d7a0,_0x5df1fa,_0x55b004,_0x3e206c)=>{_0x3e206c&&this['_balloon']['remove'](_0x3e206c),_0x55b004&&(this['_balloon']['add']({'view':_0x55b004,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x64ae6e=this['editor']['editing'],_0x43d3a2=this['_getChangeFromId'](_0x55b004['changeId']);let _0x3f36ce;if(_0x43d3a2['data']['isOnRoot']){const _0x13ff5c=_0x64ae6e['view']['getDomRoot'](_0x43d3a2['rootName']);_0x3f36ce=Array['from'](_0x13ff5c['getClientRects']());}else{const _0x103838=this['editor']['model']['markers']['get']('revision:'+_0x55b004['changeId']);_0x3f36ce=Array['from'](_0x64ae6e['mapper']['markerNameToElements'](_0x103838['name']))['map'](_0x445370=>_0x64ae6e['view']['domConverter']['mapViewToDom'](_0x445370))['map'](_0x101671=>Array['from'](_0x101671['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3f36ce[0x0];return _0x3f36ce['find'](_0x4a8633=>_0x4a8633['top']-0x3<=this['_activeViewTarget']['y']&&_0x4a8633['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4a8633['left']-0x3<=this['_activeViewTarget']['x']&&_0x4a8633['right']+0x3>=this['_activeViewTarget']['x'])||_0x3f36ce[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4fa8c6,_0x3c82d9,_0x3f72a8,_0xf1513c)=>{this['activeView']=_0x3f72a8?this['_getViewForChange'](_0x3f72a8):null,this['editor']['model']['change'](()=>{const _0x3dfad6=this['editor']['editing'];_0xf1513c&&(_0xf1513c['data']['isOnRoot']?_0x3dfad6['view']['change'](_0x36be81=>{_0x36be81['removeClass']('ck-revision-history-root--active',_0x3dfad6['view']['document']['getRoot'](_0xf1513c['rootName']));}):_0x3dfad6['reconvertMarker']('revision:'+_0xf1513c['id'])),_0x3f72a8&&(_0x3f72a8['data']['isOnRoot']?_0x3dfad6['view']['change'](_0x223d74=>{_0x223d74['addClass']('ck-revision-history-root--active',_0x3dfad6['view']['document']['getRoot'](_0x3f72a8['rootName']));}):_0x3dfad6['reconvertMarker']('revision:'+_0x3f72a8['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4e6867,_0x272379)=>{if(this['activeChange'])return;const _0x1c1b22=this['_findChangeIdFromDomTarget'](_0x272379['target']),_0x4e9d8b=this['_changeIdToChange']['get'](_0x1c1b22);_0x4e9d8b?(this['_activeViewTarget']={'x':_0x272379['domEvent']['x'],'y':_0x272379['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4e9d8b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4bd184,_0x1de830)=>{const _0x39f3b5=this['_findChangeIdFromDomTarget'](_0x1de830['target']),_0x3f439c=this['_changeIdToChange']['get'](_0x39f3b5);_0x3f439c?(this['_activeViewTarget']={'x':_0x1de830['domEvent']['x'],'y':_0x1de830['domEvent']['y']},_0x3f439c===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3f439c):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1ecbfd){do{const _0x5b7a0b=_0x1ecbfd['getAttribute']('data-change-id');if(_0x5b7a0b)return _0x5b7a0b;_0x1ecbfd=_0x1ecbfd['parent'];}while(_0x1ecbfd);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x17c552=>{for(const _0x59847e of this['editor']['model']['markers'])_0x17c552['removeMarker'](_0x59847e);});}}function et(_0x3c7d97,_0x463f9c){return(_0x4740af,_0x3b1813,_0xe17055)=>{if(!_0xe17055['consumable']['test'](_0x3b1813['markerRange'],_0x4740af['name']))return;const _0x6c834d=_0x3b1813['markerRange']['getWalker'](),_0x25dfc2=_0x3b1813['markerRange']['start'],_0x305f6d=_0x3c7d97['model']['schema'];let _0x291013=null,_0xf700d3=null,_0x298fbb=!0x1,_0x525e17=!0x1;for(const _0x37afa2 of _0x6c834d){const _0x46987b=_0x37afa2['item'];_0x298fbb=_0x298fbb||_0x305f6d['isContent'](_0x46987b);const _0x23d98a=_0xe17055['mapper']['toViewElement'](_0x46987b);if(_0x23d98a&&_0x23d98a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x37afa2['type']&&(_0x305f6d['isBlock'](_0x46987b)&&!_0x305f6d['isLimit'](_0x46987b)&&(_0x46987b['nextSibling']||_0x25dfc2['isAtEnd']?_0x291013&&_0x291013['parent']==_0x46987b||(_0x291013=_0x46987b,_0x46504b(_0x37afa2['previousPosition']),_0x525e17=!0x0):_0xf700d3=_0xf700d3||_0x37afa2['previousPosition']));}function _0x46504b(_0x36cdca){const _0x4caf1e=_0xe17055['mapper']['toViewPosition'](_0x36cdca),_0x10f905=_0xe17055['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x463f9c});_0xe17055['writer']['insert'](_0x4caf1e,_0x10f905),_0xe17055['mapper']['bindElementToMarker'](_0x10f905,_0x3b1813['markerName']);}_0x298fbb||_0x525e17||!_0xf700d3||_0x46504b(_0xf700d3);};}class bt extends _0x5b2bc2{constructor(_0x576844){super(_0x576844);const _0x472f96=_0x576844['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x472f96,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x472f96,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xf70255=this['editor'],_0x212dfc=_0xf70255['plugins']['get'](d),_0x53e724=_0x212dfc['isReady']?_0x212dfc['diff']['newRevisionId']:null;_0xf70255['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x53e724);}['refresh'](){const {isReady:_0x3e1304,isEnabled:_0x3875e0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3e1304&&_0x3875e0;}}class yt extends _0x5b2bc2{['_step'];constructor(_0x178765,{direction:_0x544d01}){super(_0x178765);const _0x3894a8=_0x178765['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x544d01?0x1:-0x1,this['listenTo'](_0x3894a8,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3894a8,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3894a8,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x23963c=this['editor'],_0x1b0546=_0x23963c['plugins']['get'](d),{isNavigationMode:_0x26f0df,currentChangeNumber:_0x2a26d9}=_0x1b0546;let _0x6ea764;if(_0x1b0546['activeChange']=_0x26f0df?_0x1b0546['diff']['changes']['get'](_0x2a26d9+this['_step']):_0x1b0546['diff']['changes']['first'],_0x1b0546['activeChange']['data']['isOnRoot'])_0x6ea764=_0x23963c['editing']['view']['getDomRoot'](_0x1b0546['activeChange']['rootName']);else{const _0x170e30=_0x23963c['model']['markers']['get']('revision:'+_0x1b0546['activeChange']['id']);_0x6ea764=_0x2be5da(_0x23963c['editing'],_0x170e30);}_0x371b63({'target':_0x6ea764,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3bfc5a,currentChangeNumber:_0x43ce42,numberOfChanges:_0x172abc,isReady:_0x4d4522,isEnabled:_0x263176}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x263176&&_0x4d4522&&_0x172abc)&&(!_0x3bfc5a||(0x1===this['_step']?_0x43ce42<_0x172abc-0x1:_0x43ce42>0x0));}}class _i extends _0x3ed993{constructor(_0x23f2ce){super(_0x23f2ce);const _0x448c0c=this['bindTemplate'],_0x3fdf8e=new _0x5486ab(_0x23f2ce),_0x285f22=new _0x5486ab(_0x23f2ce);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',(_0x8978c7,_0x231bac)=>_0x8978c7&&_0x231bac>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1e1452,_0x1a351a,_0xe19f8c,_0x4a82f1)=>{if(!_0x1e1452)return y(_0x23f2ce,'Loading...');if(!_0xe19f8c)return y(_0x23f2ce,'No\x20changes');const _0x3583d7=y(_0x23f2ce,'NUMBER_OF_CHANGES',_0xe19f8c);return _0x4a82f1?y(_0x23f2ce,'X_OF_Y_CHANGES',[_0x1a351a+0x1,_0xe19f8c]):_0x3583d7;}),_0x3fdf8e['set']({'label':y(_0x23f2ce,'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'}),_0x285f22['set']({'label':y(_0x23f2ce,'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'}),_0x3fdf8e['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x285f22['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3fdf8e['on']('execute',()=>this['fire']('execute','backward')),_0x285f22['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',_0x448c0c['if']('_isStatusLabelVisible','ck-hidden',_0x27244d=>!_0x27244d)]},'children':[{'text':_0x448c0c['to']('isNavigationMode',_0xab091f=>_0xab091f?y(_0x23f2ce,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x23f2ce,'Total')+':\x20')}]},{'text':_0x448c0c['to']('_statusText')}]},new _0x333e1a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3fdf8e,_0x285f22]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1500d7{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x12c873=this['editor']['editing']['view'];_0x12c873['change'](_0x494cc3=>{for(const _0x260b54 of _0x12c873['document']['roots'])_0x494cc3['addClass'](ce,_0x260b54);});}['hide'](){const _0x35b298=this['editor']['editing']['view'];_0x35b298['change'](_0x523542=>{for(const _0x3059e5 of _0x35b298['document']['roots'])_0x523542['removeClass'](ce,_0x3059e5);});}}class R extends _0x1500d7{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x17b2c9=this['editor'],_0x1f7530=_0x17b2c9['plugins']['get'](d),_0x300c53=_0x17b2c9['plugins']['get'](de);_0x17b2c9['ui']['componentFactory']['add']('exitToEditing',_0x159e09=>{const _0x4ad124=new _0x5486ab(_0x159e09);return _0x4ad124['set']({'label':y(_0x159e09,'Back\x20to\x20editing'),'icon':_0x2186de['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4ad124,'execute',()=>{_0x17b2c9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4ad124;}),_0x17b2c9['ui']['componentFactory']['add']('restoreRevision',_0x5e1a0d=>{const _0x4d12be=new _0x5486ab(_0x5e1a0d);return _0x4d12be['set']({'label':y(_0x5e1a0d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4d12be['bind']('isEnabled')['to'](_0x17b2c9['commands']['get']('restoreRevision')),this['listenTo'](_0x4d12be,'execute',()=>_0x17b2c9['execute']('restoreRevision')),_0x4d12be;}),_0x17b2c9['ui']['componentFactory']['add']('changesNavigation',_0x66d7de=>{const _0x4507c7=new _i(_0x66d7de),_0x549d66=_0x17b2c9['commands']['get']('showPreviousChange'),_0x5c85b9=_0x17b2c9['commands']['get']('showNextChange');return _0x4507c7['bind']('isBackwardNavigationEnabled')['to'](_0x549d66,'isEnabled'),_0x4507c7['bind']('isForwardNavigationEnabled')['to'](_0x5c85b9,'isEnabled'),_0x4507c7['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1f7530),this['listenTo'](_0x4507c7,'execute',(_0x1c13cc,_0x56151d)=>{_0x17b2c9['execute']('forward'===_0x56151d?'showNextChange':'showPreviousChange');}),_0x4507c7;}),_0x300c53['show'](),_0x1f7530['on']('change:isReady',(_0x34323e,_0x2108bd,_0x4c318b)=>{_0x4c318b?_0x300c53['hide']():_0x300c53['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4964ea,_0x213202){super(_0x4964ea,_0x213202);const _0x143aed=this['bindTemplate'];this['set']({'label':y(_0x4964ea,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4964ea,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x143aed['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4127ce=this['fieldView']['element'];this['_tooltipString']=_0x4127ce['scrollWidth']>_0x4127ce['clientWidth']&&_0x4127ce['value']||'';}}class ti extends _0x3ed993{constructor(_0x1bed9a,_0x3de0b0,_0xd81b63){super(_0x1bed9a);const _0x1afe07=new _0x28b54b();_0x1afe07['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 _0x4c66c9=['ck','ck-revision-history-sidebar__revision-author'];_0xd81b63&&_0x4c66c9['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2ff0ab=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1bed9a,_0xd81b63?'Revision\x20creator':'Revision\x20author')},'children':[_0x1afe07,_0x3de0b0['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4c66c9},'children':_0x2ff0ab});}}function ni(_0x11657a,_0x14dae5){const _0x361817=_0x11657a['bindTemplate'],_0x3b7194=_0x11657a['locale'],_0x25e58d=_0xa49916(_0x3b7194);_0x25e58d['panelPosition']='sw';const _0x15a6b2=function(_0x13476e,_0x6241af){const _0x4dd682=function(_0x1f5c19,_0x55c081){const _0x4cf51c=_0x1f5c19['locale'],_0x4d9407={'Compare\x20against\x20selected':y(_0x4cf51c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4cf51c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4cf51c,'Restore\x20this\x20revision')};return _0x55c081['map'](_0x47bea6=>{const _0x481210=_0x4d9407[_0x47bea6['name']];return _0x481210&&_0x481210!==_0x47bea6['name']&&(_0x47bea6['name']=_0x481210),_0x47bea6;});}(_0x13476e,_0x6241af),_0x59ad28=new _0x320ebf();for(const _0x77e1a0 of _0x4dd682){const _0x3db2ae={'type':'button','model':new to({'label':_0x77e1a0['name'],'class':_0x77e1a0['class'],'withText':!0x0,'role':'menuitem','_action':_0x77e1a0['action']})};_0x3db2ae['model']['bind']('isEnabled')['to'](_0x13476e,'isActionsDropdownOpen',_0x5813a6=>'function'!=typeof _0x77e1a0['isEnabled']||(!_0x5813a6||_0x77e1a0['isEnabled'](_0x13476e))),_0x59ad28['add'](_0x3db2ae);}return _0x59ad28;}(_0x11657a,_0x14dae5);return _0x11657a['bind']('isActionsDropdownOpen')['to'](_0x25e58d,'isOpen'),_0x25e58d['buttonView']['set']({'label':y(_0x3b7194,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2186de['threeVerticalDots']}),_0x25e58d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x361817['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x361817['to'](_0x22bc97=>_0x22bc97['stopPropagation']())}}),_0x25e58d['on']('execute',_0x3d3044=>{_0x11657a['isReady']&&'function'==typeof _0x3d3044['source']['_action']&&_0x3d3044['source']['_action'](_0x11657a);}),_0x16fee7(_0x25e58d,_0x15a6b2,{'role':'menu'}),_0x25e58d['listenTo'](_0x11657a,'change:isActionsDropdownOpen',(_0xd14e59,_0x10c53e,_0x25f191)=>{if(_0x25f191)for(const _0x238bf3 of _0x25e58d['listView']['items']){const _0x2cec1c=_0x238bf3['children']['first'],_0x1225f8=_0x14dae5['find'](_0xd92cd3=>_0xd92cd3['action']===_0x2cec1c['_action'])['isVisible'];_0x238bf3['isVisible']=void 0x0===_0x1225f8||_0x1225f8(_0x11657a);}}),_0x25e58d;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x25b853,Context as _0x49f6d9,PendingActions as _0x326cda,icons as _0x152ab3,Command as _0x269760,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x57e8b5,uid as _0xf0a907,Collection as _0x17d2c9,logWarning as _0x5230f2,FocusTracker as _0x3a6ef4,KeystrokeHandler as _0x2b4ea5,scrollViewportToShowTarget as _0x20aa76,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xb5aa03}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4034d6,getMarkerDomElement as _0x38896f,ConfirmMixin as _0x61304f,sanitizeEditorConfig as _0x1c6921}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x288804,ViewText as _0x464038,ViewElement as _0x2aade1,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4bb0d0,ViewAttributeElement as _0x1c226f,ViewEmptyElement as _0x102b40,ViewRawElement as _0xbad04d,ViewUIElement as _0x4947d7,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3aed55,set as _0xff96fe,unset as _0x4b676e,isEqual as _0x298fe0}from'lodash-es';import{View as _0x4ee463,injectCssTransitionDisabler as ts,submitHandler as _0x1948b3,LabeledFieldView as at,createLabeledInputText as _0x27a5db,createDropdown as _0xaa4d18,ListView as te,ListItemView as _0x39934b,ButtonView as _0x302693,MenuBarMenuView as _0x564dbb,MenuBarMenuListView as _0x37cb0e,MenuBarMenuListItemView as _0x37401f,MenuBarMenuListItemButtonView as _0x83d227,ContextualBalloon as _0x5bb53b,ToolbarSeparatorView as _0x51a1d2,IconView as _0x44637d,addListToDropdown as _0x1ab634,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 _0x5a8648}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57e8b5(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xe9be5e){super(),this['id']=_0xe9be5e['id']||_0xf0a907(),this['creator']=_0xe9be5e['creator']||null,this['authors']=_0xe9be5e['authors']||[],this['diffData']=_0xe9be5e['diffData']||null,this['toVersion']=_0xe9be5e['toVersion']||0x0,this['fromVersion']=_0xe9be5e['fromVersion']||0x0,this['set']('name',_0xe9be5e['name']||''),this['set']('createdAt',_0xe9be5e['createdAt']||new Date()),this['set']('attributes',_0xe9be5e['attributes']||{});}['setName'](_0x2ac90a){this['_update']({'name':_0x2ac90a});}['setAttribute'](_0x137b30,_0x520a4c){const _0x1902d8=_0x3aed55(this['attributes']);_0xff96fe(_0x1902d8,_0x137b30,_0x520a4c),this['_update']({'attributes':_0x1902d8});}['removeAttribute'](_0x67f4f8){const _0x114572=_0x3aed55(this['attributes']);_0x4b676e(_0x114572,_0x67f4f8),this['_update']({'attributes':_0x114572});}['_update'](_0x317b11,_0xa4028b=!0x1){let _0x146558=!0x1;const _0x56aa6d={'id':this['id']},_0x479a9e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4d94fe of _0x479a9e){const _0x47487d=_0x317b11[_0x4d94fe];void 0x0!==_0x47487d&&_0x47487d!==this[_0x4d94fe]&&(this[_0x4d94fe]=_0x47487d,_0x56aa6d[_0x4d94fe]=_0x47487d,_0x146558=!0x0);}_0x146558&&(_0x56aa6d['authors']&&(_0x56aa6d['authorsIds']=_0x56aa6d['authors']['map'](_0x136e0b=>_0x136e0b['id']),delete _0x56aa6d['authors']),this['fire']('_update',_0x56aa6d,_0xa4028b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xef4a3=>_0xef4a3['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x25b853{['_revisions'];static get['requires'](){return[_0x4034d6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x56a0ef){super(_0x56a0ef),this['_revisions']=new _0x17d2c9();}['afterInit'](){!function(_0x3b83df){function _0x4e2d79(_0x39173c,_0x464418,_0x36dfec){const _0x2e233a={};_0x2e233a[_0x3cc2c9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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 _0x40f01a=new Uint8Array(0x10);for(let _0x33fe4c=0xf;_0x33fe4c>=0x0;--_0x33fe4c)_0x40f01a[_0x33fe4c]=_0x36dfec%0x100,_0x36dfec=parseInt(_0x36dfec/0x100);let _0x1e81cd=null,_0x140a99=0x10;const _0x3860e0=new Uint8Array(_0x464418),_0x48af23=[],_0x2ecd3d=[];_0x9a3f59();for(let _0x232cc4=0x0;_0x232cc4<_0x39173c[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x232cc4++)0x10===_0x140a99&&(_0x1e81cd=_0x16364a(_0x40f01a),_0x140a99=0x0,_0x1ec6f6(_0x40f01a)),_0x39173c[_0x232cc4]^=_0x1e81cd[_0x140a99++];return _0x39173c;function _0x6f248e(_0x4e0a70){const _0xaa5704=[];for(let _0x190640=0x0;_0x190640<_0x4e0a70[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x190640+=0x4)_0xaa5704[_0x3cc2c9([0x70,0x75,0x73,0x68])](_0x4e0a70[_0x190640]<<0x18|_0x4e0a70[_0x190640+0x1]<<0x10|_0x4e0a70[_0x190640+0x2]<<0x8|_0x4e0a70[_0x190640+0x3]);return _0xaa5704;}function _0x1ec6f6(_0x4e384d){for(let _0x11be14=0xf;_0x11be14>=0x0;_0x11be14--){if(0xff!==_0x4e384d[_0x11be14]){_0x4e384d[_0x11be14]++;break;}_0x4e384d[_0x11be14]=0x0;}}function _0x16364a(_0x4d83f9){const _0xabaa19=_0x48af23[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x57440e=[0x0,0x0,0x0,0x0];let t=_0x6f248e(_0x4d83f9);for(let _0x396142=0x0;_0x396142<0x4;_0x396142++)t[_0x396142]^=_0x48af23[0x0][_0x396142];for(let _0xc20e5a=0x1;_0xc20e5a<_0xabaa19;_0xc20e5a++){for(let _0x5a6f89=0x0;_0x5a6f89<0x4;_0x5a6f89++)_0x57440e[_0x5a6f89]=_0x2e233a[_0x3cc2c9([0x54,0x31])][t[_0x5a6f89]>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x32])][t[(_0x5a6f89+0x1)%0x4]>>0x10&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x33])][t[(_0x5a6f89+0x2)%0x4]>>0x8&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x34])][0xff&t[(_0x5a6f89+0x3)%0x4]]^_0x48af23[_0xc20e5a][_0x5a6f89];t=_0x57440e[_0x3cc2c9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x515c62=new Uint8Array(0x10);let _0x328fdd;for(let _0x4887fa=0x0;_0x4887fa<0x4;_0x4887fa++)_0x328fdd=_0x48af23[_0xabaa19][_0x4887fa],_0x515c62[0x4*_0x4887fa]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[_0x4887fa]>>0x18&0xff]^_0x328fdd>>0x18),_0x515c62[0x4*_0x4887fa+0x1]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[(_0x4887fa+0x1)%0x4]>>0x10&0xff]^_0x328fdd>>0x10),_0x515c62[0x4*_0x4887fa+0x2]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[(_0x4887fa+0x2)%0x4]>>0x8&0xff]^_0x328fdd>>0x8),_0x515c62[0x4*_0x4887fa+0x3]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][0xff&t[(_0x4887fa+0x3)%0x4]]^_0x328fdd);return _0x515c62;}function _0x9a3f59(){const _0x23bca7=_0x2e233a[_0x3cc2c9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3860e0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f4739=0x0;_0x2f4739<=_0x23bca7;_0x2f4739++)_0x48af23[_0x3cc2c9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2ecd3d[_0x3cc2c9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1dee0b=0x4*(_0x23bca7+0x1),_0x4efe49=_0x3860e0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x341bbc=_0x6f248e(_0x3860e0);let _0x9ddb30;for(let _0x3bab06=0x0;_0x3bab06<_0x4efe49;_0x3bab06++)_0x9ddb30=_0x3bab06>>0x2,_0x48af23[_0x9ddb30][_0x3bab06%0x4]=_0x341bbc[_0x3bab06],_0x2ecd3d[_0x23bca7-_0x9ddb30][_0x3bab06%0x4]=_0x341bbc[_0x3bab06];let _0x359022,_0x49866b=0x0,t=_0x4efe49;for(;t<_0x1dee0b;){_0x359022=_0x341bbc[_0x4efe49-0x1],_0x341bbc[0x0]^=_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x10&0xff]<<0x18^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x8&0xff]<<0x10^_0x2e233a[_0x3cc2c9([0x53])][0xff&_0x359022]<<0x8^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x72,0x63,0x6f,0x6e])][_0x49866b]<<0x18,_0x49866b+=0x1;for(let _0x826368=0x1;_0x826368<_0x4efe49/0x2;_0x826368++)_0x341bbc[_0x826368]^=_0x341bbc[_0x826368-0x1];_0x359022=_0x341bbc[_0x4efe49/0x2-0x1],_0x341bbc[_0x4efe49/0x2]^=_0x2e233a[_0x3cc2c9([0x53])][0xff&_0x359022]^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x8&0xff]<<0x8^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x10&0xff]<<0x10^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x18&0xff]<<0x18;for(let _0x342294=_0x4efe49/0x2+0x1;_0x342294<_0x4efe49;_0x342294++)_0x341bbc[_0x342294]^=_0x341bbc[_0x342294-0x1];let _0x543754,_0x4c8669,_0x3de59c=0x0;for(;_0x3de59c<_0x4efe49&&t<_0x1dee0b;)_0x543754=t>>0x2,_0x4c8669=t%0x4,_0x48af23[_0x543754][_0x4c8669]=_0x341bbc[_0x3de59c],_0x2ecd3d[_0x23bca7-_0x543754][_0x4c8669]=_0x341bbc[_0x3de59c++],t++;}for(let _0x218477=0x1;_0x218477<_0x23bca7;_0x218477++)for(let _0xaf06fe=0x0;_0xaf06fe<0x4;_0xaf06fe++)_0x359022=_0x2ecd3d[_0x218477][_0xaf06fe],_0x2ecd3d[_0x218477][_0xaf06fe]=_0x2e233a[_0x3cc2c9([0x55,0x31])][_0x359022>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x32])][_0x359022>>0x10&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x33])][_0x359022>>0x8&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x34])][0xff&_0x359022];}}function _0x3cc2c9(_0x2e2151){return _0x2e2151['map'](_0x464aab=>String['fromCharCode'](_0x464aab))['join']('');}(_0x10b84e=>{function _0x233b11(){const _0x739b06=[{[_0x3cc2c9([0x69,0x64])]:0x1,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3cc2c9([0x69,0x64])]:0x2,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3cc2c9([0x69,0x64])]:0x3,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0x4,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3cc2c9([0x69,0x64])]:0x5,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x6,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x7,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x8,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x9,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3cc2c9([0x69,0x64])]:0xa,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([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]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0xb,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0xc,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3cc2c9([0x69,0x64])]:0xd,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0xe,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3cc2c9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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])},{[_0x3cc2c9([0x69,0x64])]:0xf,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0x10,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}}];return _0x4d7935(_0x739b06),_0x739b06;function _0x452cc9(_0x1c99d1){return 0x1<<_0x1c99d1-0x1;}function _0x4d7935(_0x5f48bb){_0x5f48bb[_0x3cc2c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x402aaf=>{_0x402aaf[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x452cc9(_0x402aaf[_0x3cc2c9([0x69,0x64])]),_0x1bbe3a(_0x402aaf)&&_0x402aaf[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4d7935(_0x402aaf[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1bbe3a(_0x11dfdf){return _0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x11dfdf;}const _0x556bf0=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1974ca=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5600ae(_0x49ed2f){const _0x3e2d6b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x23eb5e(_0x49ed2f,new Uint8Array([..._0x556bf0,..._0x3e2d6b,..._0x1974ca]));}function _0x23eb5e(_0xa910a7,_0x1a1806){const _0x2a61bf=_0x4aca4e(_0xa910a7),_0x45e3b2=Array[_0x3cc2c9([0x66,0x72,0x6f,0x6d])](_0x4a1117(_0x2a61bf)),_0x562db1=_0x45e3b2[_0x3cc2c9([0x70,0x6f,0x70])](),_0xe24fff=_0x45e3b2[_0x3cc2c9([0x70,0x6f,0x70])]();return _0x10983e(_0x4e2d79(_0x45e3b2,_0x1a1806,_0xe24fff+0x100*_0x562db1));}function _0x4aca4e(_0x19b2da){const _0x21ffb5=atob(_0x19b2da),[_0x12f268,_0x5529ee]=_0x21ffb5[_0x3cc2c9([0x73,0x70,0x6c,0x69,0x74])](_0x3cc2c9([0x2d]));try{if(atob(_0x5529ee))return atob(_0x12f268);}catch(_0x3ac002){}return _0x21ffb5;}function _0x4776b9(_0x558a8c){try{const _0x5479fe=_0x5600ae(_0x558a8c),_0x41f350=JSON[_0x3cc2c9([0x70,0x61,0x72,0x73,0x65])](_0x5479fe),_0x1b14e0=parseInt(_0x41f350[_0x3cc2c9([0x31])]),_0x45bee2=_0x41f350[_0x3cc2c9([0x32])]||'',_0x4ea2e9=parseInt(_0x41f350[_0x3cc2c9([0x33])]),_0x546b26=parseInt(_0x41f350[_0x3cc2c9([0x34])])||0x0,_0x447ec2=parseInt(_0x41f350[_0x3cc2c9([0x35])])||0x0;return{[_0x3cc2c9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x45bee2,[_0x3cc2c9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x546b26,[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1b14e0,[_0x3cc2c9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4ea2e9,[_0x3cc2c9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x447ec2};}catch(_0xd29d12){return null;}}const _0x40df04=_0x233b11(),_0x23bdb3={[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xd6fd68,[_0x3cc2c9([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])]:_0x43ef58,[_0x3cc2c9([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])]:_0x2b15d9},_0x526775=_0x10b84e[_0x3cc2c9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4a6265=_0x3cc2c9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x10b84e?_0x10b84e['context']:_0x10b84e['editor'],_0x40fc55=_0x3cc2c9([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x30]),_0x14d2a5=_0x3cc2c9([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]),_0x2a0d6d=_0x4a6265['config']['get'](_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x563ab3=_0x40df04[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bbe3a)[_0x3cc2c9([0x66,0x69,0x6e,0x64])](_0x589be6=>_0x589be6[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x526775);function _0x1bf67c(_0x18b72e,_0x507c97){_0x23bdb3[_0x507c97[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x18b72e,_0x507c97),_0x507c97[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x507c97[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c7cd4=>_0x589559(_0x4a6265,_0x3c7cd4[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3cc2c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f7650=>_0x1bf67c(_0x18b72e,_0x4f7650));}function _0xd6fd68(_0x4e69c9,_0x27c50e){_0x3838e0(_0x1e6ac8(_0x4e69c9,_0x27c50e),_0x27c50e);}function _0x43ef58(_0x5bb0b9,_0x2b9bd5){function _0x4639e4(_0x58cf80,_0x13f367){try{if(_0x589559(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x58cf80){const _0x5e455e=_0x240257(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3cc2c9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e455e)/0x2>_0x58cf80[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x51f603(_0x13f367[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1e6ac8(_0x58cf80,_0x13f367);}catch(_0x4cc81b){return _0x51f603(_0x13f367[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3838e0(_0x4639e4(_0x5bb0b9,_0x2b9bd5),_0x2b9bd5);}function _0x2b15d9(_0x293bbb,_0x58e516){const _0x53be7d=_0x1974ca[0x0]*_0x556bf0[0x1],_0x387f08=_0x1974ca[0x0]*_0x556bf0[0x2],_0x3d1e57=_0x1974ca[0x2]*_0x556bf0[0x2];_0x589559(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3b5948()]=_0x3d1e57);function _0x475f8d(_0x436a00,_0x4b3451){try{return _0x64d151()?_0x51f603(_0x4b3451[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x1e6ac8(_0x436a00,_0x4b3451);}catch(_0x2a5aec){return _0x51f603(_0x4b3451[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x40c0a7(_0x2858c2,_0x259515){const _0x32aa90=0x7;if(_0x2858c2==_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x413830();else{if(_0x2858c2==_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])){const _0x1f325b=_0x23f6b5();_0x1f325b&&_0xa84656(_0x1f325b,_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3f85d8=_0x394a8a();window[_0x3cc2c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xa84656(_0x3cc2c9([0x74,0x69,0x6d,0x65]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3f85d8);const _0x3c0fa8=_0x240257(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c0fa8[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32aa90?_0xa84656(_0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c0fa8['on'](_0x3cc2c9([0x61,0x64,0x64]),()=>{_0x3c0fa8[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32aa90&&_0xa84656(_0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x23f6b5(){if(!_0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9b7895 in window)if(Number['isNaN'](Number(_0x9b7895))){if(window[_0x9b7895]===_0x53be7d)return _0x3cc2c9([0x74,0x69,0x6d,0x65]);if(window[_0x9b7895]===_0x387f08)return _0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x64d151(){if(!_0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9f01ff in window)if(Number['isNaN'](Number(_0x9f01ff))&&window[_0x9f01ff]===_0x3d1e57)return!0x0;return!0x1;}function _0xa84656(_0x1c5ff4,_0x259ae0){_0x413830(),_0x51f603(_0x259ae0+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1c5ff4),window[_0x3b5948()]=_0x1c5ff4===_0x3cc2c9([0x74,0x69,0x6d,0x65])?_0x53be7d:_0x387f08;}function _0x394a8a(){let _0x46ecd7=_0x1974ca[0x6]*_0x556bf0[0x8]*_0x556bf0[0x6];return _0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x46ecd7/=0xa),_0x46ecd7;}function _0x413830(){const _0x17e25f=_0x4a6265;function _0x161378(){_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x45d6e5,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x45d6e5,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x45d6e5);}_0x17e25f[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x72,0x65,0x61,0x64,0x79])?_0x161378():_0x17e25f[_0x3cc2c9([0x6f,0x6e,0x63,0x65])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x161378(),_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x99d13e=_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xc06d3=_0x99d13e['getRevision'](0x0),_0x52c3a5=_0x99d13e['getEarlierVisibleRevision'](_0xc06d3[_0x3cc2c9([0x69,0x64])]);_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xc06d3[_0x3cc2c9([0x69,0x64])],_0x52c3a5?_0x52c3a5[_0x3cc2c9([0x69,0x64])]:null,0x1)['then'](()=>_0x161378());}});}_0x40c0a7(_0x475f8d(_0x293bbb,_0x58e516),_0x58e516);}function _0x1e6ac8(_0x2bc5bd,_0x534afb){try{return _0x7ef027(_0x534afb)?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x2bc5bd&&_0x189114(_0x2bc5bd[_0x3cc2c9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x534afb)?_0x2bc5bd[_0x3cc2c9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3cc2c9([0x6f,0x70,0x65,0x6e])][_0x3cc2c9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x40fc55)/0x2>_0x2bc5bd[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2bc5bd[_0x3cc2c9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])):_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x79d570){return _0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3838e0(_0x20cd74,_0x1a5f17){if(_0x4a6265 instanceof _0x49f6d9){const _0x3f6e00=_0x4a6265;_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3698ae(_0x3f6e00):_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3cc2c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3698ae(_0x3f6e00),_0x51f603(_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1974ca[0x6]*_0x556bf0[0x8]*_0x556bf0[0x6]),_0x3f6e00[_0x3cc2c9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x61,0x64,0x64]),(_0x512352,_0x2793a3)=>{_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2f43ea(_0x2793a3);});}else{const _0x1340b8=_0x4a6265;_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2f43ea(_0x1340b8):_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])&&_0x1340b8[_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2ea597=0x0;_0x1340b8[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ffba2,_0x50c97c)=>{_0x50c97c[0x0][_0x3cc2c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea597++,0x1f8===_0x2ea597&&(_0x2f43ea(_0x1340b8),_0x51f603(_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1ffba2[_0x3cc2c9([0x6f,0x66,0x66])]());},{'priority':_0x3cc2c9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x51f603(_0xd690ef){const _0x5ebc13=_0x3b5948();return _0x4a6265[_0x5ebc13]=_0xd690ef,_0xd690ef;}function _0x3b5948(){const _0x466bb0=String(window[_0x3cc2c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cc2c9([0x6e,0x6f,0x77])]())[_0x3cc2c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cc2c9([0x2e]),'');let _0x2f1e1a='';for(let _0x5d9cca=0x0;_0x5d9cca<_0x466bb0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d9cca+=0x2){let _0x16798d=parseInt(_0x466bb0[_0x3cc2c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d9cca,_0x5d9cca+0x2));_0x16798d>=_0x14d2a5[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16798d-=_0x14d2a5[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f1e1a+=_0x14d2a5[_0x16798d];}return _0x2f1e1a;}function _0x3698ae(_0x3a8900){for(const _0x585038 of _0x3a8900[_0x3cc2c9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2f43ea(_0x585038);_0x240257(_0x3a8900,_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x240257(_0x3a8900,_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x45d6e5;}function _0x2f43ea(_0x5defc4){function _0x20e562(){_0x5defc4[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x5defc4[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x5defc4[_0x3cc2c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5defc4[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x72,0x65,0x61,0x64,0x79])?_0x20e562():_0x5defc4[_0x3cc2c9([0x6f,0x6e,0x63,0x65])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>_0x20e562());}function _0x45d6e5(){return null;}function _0x189114(_0x3ae846,_0x1b5a1a){const _0x1a08d2=!!(_0x3ae846&_0x1b5a1a[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x170dd0=_0x1b0d75(_0x3ae846,_0x1b5a1a);return _0x1a08d2||_0x170dd0;}function _0x1b0d75(_0x3810f3,_0x26b2bd){const _0x91dcac=(_0x26b2bd[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3cc2c9([0x66,0x67,0x69])]||null;return!!_0x91dcac&&_0x40df04[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xea7028=>_0x91dcac[_0x3cc2c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea7028[_0x3cc2c9([0x69,0x64])]))[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50b2fa=>!_0x2cd9fd(_0x50b2fa))[_0x3cc2c9([0x73,0x6f,0x6d,0x65])](_0x5f40b7=>!!(_0x3810f3&_0x5f40b7[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2cd9fd(_0x4c4385){const _0x23271a={[_0x3cc2c9([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])]:_0x399752};return!!_0x4c4385['forbiddenHandler']&&_0x23271a[_0x4c4385['forbiddenHandler']]();}function _0x399752(){return!window[_0x3cc2c9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x589559(_0x4a6265,_0x3cc2c9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x7ef027(_0x1095ff){if(!_0x589559(_0x4a6265,_0x1095ff[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x354691=_0x1095ff[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x8c4d0e=_0x354691[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4944d7=_0x354691[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x254c46=_0x354691[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x589559(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x8c4d0e)return!0x0;if(_0x589559(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3cc2c9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3cc2c9([0x65,0x6e,0x64])&&_0x4944d7)return!0x0;return!(!_0x589559(_0x4a6265,_0x3cc2c9([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]))||_0x240257(_0x4a6265,_0x3cc2c9([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]))[_0x3cc2c9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3cc2c9([0x65,0x6e,0x64])||!_0x254c46);}function _0x589559(_0x3bf8e0,_0x180f21){return _0x3bf8e0[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3cc2c9([0x68,0x61,0x73])](_0x180f21);}function _0x240257(_0x28c81c,_0x1bb16a){return _0x28c81c[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3cc2c9([0x67,0x65,0x74])](_0x1bb16a);}function _0x10983e(_0x490cec){let _0x205b5c='';for(const _0x244692 of _0x490cec)_0x205b5c+=String[_0x3cc2c9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x244692);return _0x205b5c;}function _0x4a1117(_0x52e63b){const _0x1f5a77=new Uint8Array(_0x52e63b[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x59ed79=0x0;_0x59ed79<_0x52e63b[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ed79++)_0x1f5a77[_0x59ed79]=_0x52e63b[_0x3cc2c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59ed79);return _0x1f5a77;}_0x563ab3&&_0x1bf67c(_0x4776b9(_0x2a0d6d),_0x563ab3);})(_0x3b83df);}(this);}['createRevision'](_0x5b1d7e){const _0x299e46=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b1d7e['id'],'name':_0x5b1d7e['name'],'creator':_0x5b1d7e['creatorId']?_0x299e46['getUser'](_0x5b1d7e['creatorId']):null,'diffData':_0x5b1d7e['diffData']||_0x5b1d7e['data'],'authors':_0x5b1d7e['authorsIds']['map'](_0x3612f1=>_0x299e46['getUser'](_0x3612f1)),'createdAt':new Date(_0x5b1d7e['createdAt']),'attributes':_0x5b1d7e['attributes'],'fromVersion':_0x5b1d7e['fromVersion'],'toVersion':_0x5b1d7e['toVersion']});}['addRevision'](_0x972602,_0x59de55=0x0){this['_revisions']['add'](_0x972602,_0x59de55);}['getRevision'](_0x1c1764){return this['_revisions']['get'](_0x1c1764);}['getRevisions'](_0x229912={'toJSON':!0x1}){const _0x12f826=Array['from'](this['_revisions']);return _0x12f826['reverse'](),_0x229912['toJSON']?_0x12f826['map'](_0x1625a4=>_0x1625a4['toJSON']()):_0x12f826;}['getIndex'](_0x55afe1){return this['_revisions']['getIndex'](_0x55afe1);}['getEarlierVisibleRevision'](_0x428b32){const [,_0x30a8dd]=this['getRevisionsIterator'](_0x428b32,{'direction':'earlier'});return _0x30a8dd;}['getLaterVisibleRevision'](_0x127e3f){const [,_0x614729]=this['getRevisionsIterator'](_0x127e3f,{'direction':'later'});return _0x614729;}['getRevisionsInDiff'](_0xbff7a6){const _0x56a734=[];for(const _0x48b5cd of this['getRevisionsIterator'](_0xbff7a6['newRevisionId']))if(_0x56a734['push'](_0x48b5cd),_0x48b5cd['id']===_0xbff7a6['oldRevisionId'])break;return _0x56a734;}*['getRevisionsIterator'](_0x20b97d,{direction:_0x6d354b='earlier',filter:_0x284c81=_0x224eb5=>!0x0}={}){const _0x114df0='earlier'===_0x6d354b?0x1:-0x1;let _0x46e627=this['_revisions']['get'](_0x20b97d),_0x44a880=this['getIndex'](_0x46e627);for(yield _0x46e627;_0x46e627;){if(_0x44a880+=_0x114df0,_0x46e627=this['getRevision'](_0x44a880),!_0x46e627)return;_0x284c81(_0x46e627)&&(yield _0x46e627);}}}function y(_0x5737c8,_0x1d7973,_0x3460a0){const t=_0x5737c8['t'];switch(_0x1d7973){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'},_0x3460a0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3460a0);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'Accept':return t('Accept');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':_0x4bb0d0,'a':_0x1c226f,'e':_0x102b40,'r':_0xbad04d,'u':_0x4947d7};class l extends _0x25b853{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4034d6,A,_0x326cda];}constructor(_0x20f5ea){super(_0x20f5ea),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 _0x4a67a4=_0xf0a907();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4a67a4},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'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x35f254=this['repository']['getRevision'](0x0),_0x38ca9c=_0x35f254&&null===_0x35f254['creator']?_0x35f254:null;if(this['_continueCurrentRevision']=!!_0x38ca9c&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3303f3=this['_source']['getCurrentRevisionId'](),_0x63166f=this['repository']['getRevision'](_0x3303f3);if(_0x63166f)this['_startingVersion']=_0x63166f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1564e2=this['_source']['history']['_operations']['find'](_0x127f99=>!_0x127f99['_isInit']),_0x400afb=_0x1564e2?_0x1564e2['baseVersion']:this['_source']['history']['version'];_0x35f254?(_0x35f254['toVersion']<_0x400afb&&_0x35f254['_update']({'toVersion':_0x400afb}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id'],this['_startingVersion']=_0x38ca9c['fromVersion']):(this['_startingVersion']=_0x35f254['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x400afb,this['_continueCurrentRevision']=!0x1);}}else _0x38ca9c&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x38ca9c['toVersion'],this['editor']['model']['document']['history']['version']),_0x38ca9c['fromVersion']===_0x38ca9c['toVersion']?(0x0!==_0x38ca9c['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id'],this['_startingVersion']=_0x38ca9c['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',_0xf99aca=>!_0xf99aca);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2f9a54=this['repository']['getRevision'](0x0),_0x626bb5=await this['getRevisionDocumentData'](_0x2f9a54),_0x3089e5=await this['getRevisionRootsAttributes'](_0x2f9a54);this['_replaceEditorDataWithRevisionData'](_0x626bb5,_0x3089e5);}}['setSource'](_0x535b72){this['_source']=_0x535b72;}async['update'](){const _0x39b39c=await this['_source']['getLatestVersion']();if(_0x39b39c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x29e0bb=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x39b39c});_0x29e0bb['authors']=_0x29e0bb['authorsIds']['map'](_0x4dd94e=>this['editor']['plugins']['get']('Users')['getUser'](_0x4dd94e)),this['currentRevision']['_update'](_0x29e0bb);}}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'](_0x2550c0={},_0x2c6c2f=null){const _0x4efd1f=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2c6c2f>this['currentRevision']['toVersion']&&(_0x2c6c2f=null),null===_0x2c6c2f&&(_0x2c6c2f=await this['_source']['getLatestVersion']());const _0x533172=this['_getFromVersion'](_0x2c6c2f),_0x110068=this['buildRevisionData']({'from':_0x533172,'to':_0x2c6c2f});if(this['currentRevision']['toVersion']<_0x2c6c2f){const _0x4e4f83=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2c6c2f,'to':_0x2c6c2f});_0x4e4f83['authors']=[],_0x4e4f83['authorsIds']=[],_0x4e4f83['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4e4f83,!0x0),delete _0x4e4f83['authors'],_0x4efd1f['push'](_0x4e4f83);}_0x2550c0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2550c0['name']=_0x2550c0['name']||null,_0x2550c0['id']=_0x2550c0['id']||_0xf0a907(),_0x2550c0={..._0x2550c0,..._0x110068};const _0x32ef39=this['addRevisionData'](_0x2550c0);_0x4efd1f['push'](_0x2550c0);const _0x3aa344=this['repository']['getIndex'](_0x32ef39);if(0x0!==_0x3aa344){const _0x1e0883=this['repository']['getRevision'](_0x3aa344-0x1);if(_0x1e0883['fromVersion']!==_0x2c6c2f){const _0x2c33f2=this['_revisionDataBuilder']['getData'](_0x2c6c2f,_0x1e0883['toVersion']),_0x3a992d={'id':_0x1e0883['id'],'diffData':_0x2c33f2['diffData'],'authorsIds':_0x2c33f2['authorsIds'],'authors':_0x2c33f2['authorsIds']['map'](_0x568a4c=>this['editor']['plugins']['get']('Users')['getUser'](_0x568a4c)),'fromVersion':_0x2c6c2f};_0x1e0883===this['currentRevision']&&(_0x3a992d['createdAt']=new Date(_0x2550c0['createdAt']['getTime']()+0xa)),_0x1e0883['_update'](_0x3a992d,!0x0),delete _0x3a992d['authors'],_0x4efd1f['push'](_0x3a992d);}}if(this['adapter']){for(const _0xf6504f of _0x4efd1f)this['_bufferUpdate'](_0xf6504f['id'],_0xf6504f,!0x0);this['sendBufferedUpdates']();}return _0x32ef39;}['addRevisionData'](_0x5642f1){const _0x1228ab=this['repository']['createRevision'](_0x5642f1);return this['adapter']&&_0x1228ab['on']('_update',(_0x51b3d3,_0x54e56a,_0x153374)=>{_0x153374||(this['_bufferUpdate'](_0x54e56a['id'],_0x54e56a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1228ab,this['_findInsertionIndex'](_0x1228ab)),_0x1228ab;}async['getRevisionDocumentData'](_0x448476){await this['_loadRevisionData'](_0x448476);const _0x93ef9c={};for(const _0x4abcfe in _0x448476['diffData']){if(_0x448476['diffData'][_0x4abcfe]['attachChange']&&!_0x448476['diffData'][_0x4abcfe]['attachChange']['isAttached'])continue;const _0x3e9c3d=this['_removeRevisionMarkers'](JSON['parse'](_0x448476['diffData'][_0x4abcfe]['insertions'])),_0x1872fe=this['editor']['editing']['view']['document'],_0x43f858=new _0x288804(_0x1872fe,_0x3e9c3d['map'](_0x39afbf=>B(_0x39afbf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x93ef9c[_0x4abcfe]=this['editor']['data']['processor']['toData'](_0x43f858),this['editor']['data']['processor']['useFillerType']('default');}return _0x93ef9c;}async['getRevisionRootsAttributes'](_0x2708b6){await this['_loadRevisionData'](_0x2708b6);const _0x5ee8f5={};for(const _0x28c630 in _0x2708b6['diffData'])_0x2708b6['diffData'][_0x28c630]['attachChange']&&!_0x2708b6['diffData'][_0x28c630]['attachChange']['isAttached']||(_0x5ee8f5[_0x28c630]=_0x2708b6['diffData'][_0x28c630]['attributesAfter']||{});return _0x5ee8f5;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4feb2f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2cc2f7=0x0;_0x2cc2f7<_0x4feb2f['length'];_0x2cc2f7++){const _0x2d4496=_0x4feb2f[_0x2cc2f7];let _0xab6ce6=!0x1;for(const _0x1f7df9 of Object['keys'](_0x2d4496))void 0x0===_0x2d4496[_0x1f7df9]?delete _0x2d4496[_0x1f7df9]:'id'!==_0x1f7df9&&(_0xab6ce6=!0x0);_0xab6ce6||(_0x4feb2f[_0x2cc2f7]=null);}if(_0x4feb2f=_0x4feb2f['filter'](_0x1e72d6=>null!==_0x1e72d6),!_0x4feb2f['length'])return;for(let _0x416308=0x0;_0x416308<_0x4feb2f['length'];_0x416308++){const _0x43d170=_0x4feb2f[_0x416308];void 0x0!==_0x43d170['fromVersion']&&void 0x0===_0x43d170['toVersion']&&(_0x43d170['toVersion']=this['repository']['getRevision'](_0x43d170['id'])['toVersion']),void 0x0!==_0x43d170['toVersion']&&void 0x0===_0x43d170['fromVersion']&&(_0x43d170['fromVersion']=this['repository']['getRevision'](_0x43d170['id'])['fromVersion']);}const _0x25f5f7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4feb2f,_0x25f5f7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x30b209=>{if(_0x30b209){for(const _0x2ba799 of _0x30b209)this['setRevisionData']({'id':_0x2ba799['id'],'createdAt':_0x2ba799['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5b9843,_0x347735){let _0xc39fbb=this['editor']['config']['get']('initialData'),_0x2083bb=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xc39fbb){_0xc39fbb={};for(const _0x52277c of this['editor']['model']['document']['getRootNames']())_0xc39fbb[_0x52277c]='';}if('string'==typeof _0xc39fbb&&(_0xc39fbb={'main':_0xc39fbb}),void 0x0===_0x2083bb){_0x2083bb={};for(const _0x26c701 of this['editor']['model']['document']['getRootNames']())_0x2083bb[_0x26c701]={};}let _0xa35912=!0x1;const _0x2137ee=Object['keys'](_0xc39fbb),_0x1daac7=Object['keys'](_0x5b9843);for(const _0x30bf0d of _0x2137ee){if(_0xc39fbb[_0x30bf0d]!==_0x5b9843[_0x30bf0d]&&''!==_0xc39fbb[_0x30bf0d]['trim']()){_0xa35912=!0x0;break;}if(!_0x298fe0(_0x2083bb[_0x30bf0d],_0x347735[_0x30bf0d])&&Object['keys'](_0x2083bb[_0x30bf0d])['length']>0x0){_0xa35912=!0x0;break;}}_0xa35912||(_0xa35912=_0x1daac7['some'](_0x46de3c=>!this['editor']['model']['document']['getRoot'](_0x46de3c))),_0xa35912&&_0x5230f2('editor-initial-data-replaced-with-revision-data',{'editorData':_0xc39fbb,'editorRootsAttributes':_0x2083bb,'revisionData':_0x5b9843,'revisionRootsAttributes':_0x347735}),this['editor']['config']['set']('initialData',_0x5b9843),this['editor']['config']['set']('rootsAttributes',_0x347735);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x67dffa=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x67dffa['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5a552f){const _0x3e47e2=this['repository']['getRevisions']();_0x3e47e2['reverse']();let _0xae606d=0x0;for(;_0xae606d<_0x3e47e2['length'];){const _0x271902=_0x3e47e2[_0xae606d];if(_0x271902===this['currentRevision']){_0xae606d++;continue;}if(_0x271902['id']===this['_initialRevisionId'])break;const _0x1f59e9=_0x5a552f['toVersion']-_0x271902['toVersion']||_0x5a552f['fromVersion']-_0x271902['fromVersion'];if(_0x1f59e9>0x0)break;if(_0x1f59e9<0x0)_0xae606d++;else{if(!_0x5a552f['creator']&&_0x271902['creator'])break;if(_0x271902['creator']||!_0x5a552f['creator']){if(_0x5a552f['createdAt']>_0x271902['createdAt'])break;_0xae606d++;}else _0xae606d++;}}return _0xae606d;}['setRevisionData'](_0x5636c2){const _0x3cbc2a=this['repository']['getRevision'](_0x5636c2['id']);if(_0x5636c2['createdAt']&&(_0x5636c2['createdAt']=new Date(_0x5636c2['createdAt'])),_0x5636c2['authorsIds']){const _0x1acd08=this['editor']['plugins']['get']('Users');_0x5636c2['authors']=_0x5636c2['authorsIds']['map'](_0x2113be=>_0x1acd08['getUser'](_0x2113be));}_0x3cbc2a['_update'](_0x5636c2,!0x0);}['buildRevisionData']({revision:_0xaf7738=null,from:_0x327443=null,to:_0xd308a7=null}){_0x327443=null!==_0x327443?_0x327443:_0xaf7738['fromVersion'],_0xd308a7=null!==_0xd308a7?_0xd308a7:_0xaf7738['toVersion'];const _0x1b3eea=this['_revisionDataBuilder']['getData'](_0x327443,_0xd308a7),_0x14157e={'diffData':_0x1b3eea['diffData'],'authorsIds':_0x1b3eea['authorsIds'],'fromVersion':_0x327443,'toVersion':_0xd308a7};if(!_0xaf7738||_0xd308a7!==_0xaf7738['toVersion']){const _0x100ea4=_0xd308a7-0x1,_0x44ea16=this['_source']['history']['getOperation'](_0x100ea4);_0x14157e['createdAt']=_0x44ea16&&_0x44ea16['createdAt']||new Date();}if(this['_loadedStateData']&&_0x327443===this['_loadedStateData']['fromVersion']){for(const _0x51de68 of this['_loadedStateData']['authors'])_0x14157e['authorsIds']['includes'](_0x51de68['id'])||_0x14157e['authorsIds']['push'](_0x51de68['id']);}return _0x14157e;}['_loadRevisionData'](_0x4435ce){if(!_0x4435ce||_0x4435ce['diffData'])return Promise['resolve']();{const _0x121ff9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x121ff9,'revisionId':_0x4435ce['id']})['then'](_0x25b020=>{_0x4435ce['diffData']=_0x25b020['diffData'];});}}['_bufferUpdate'](_0x26a250,_0x1d40b9,_0x298191){if(this['_bufferedUpdates']['has'](_0x26a250)){const _0x44a479=this['_bufferedUpdates']['get'](_0x26a250);_0x1d40b9=_0x298191?{..._0x44a479,..._0x1d40b9}:{..._0x1d40b9,..._0x44a479};}this['_bufferedUpdates']['set'](_0x26a250,_0x1d40b9);}['_getFromVersion'](_0x318d28){const _0x372d7e=this['repository']['getRevisions']();_0x372d7e['reverse'](),_0x372d7e['shift']();const _0x5823bd=_0x372d7e['find'](_0x370580=>_0x370580['toVersion']<=_0x318d28)['toVersion'];return _0x5823bd<this['_startingVersion']?this['_startingVersion']:_0x5823bd;}['_createInitialRevision'](_0x3d60ec){const _0x526755=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x526755)this['_initialRevisionId']=_0x526755['id'];else{const _0x1b9f91=!this['editor']['model']['document']['roots']['find'](_0x132074=>this['editor']['model']['hasContent'](_0x132074)),_0x1136d0=this['editor']['plugins']['get']('Users')['me']['id'],_0x53d773=y(this['editor']['locale'],_0x1b9f91?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3d60ec,'to':_0x3d60ec,'id':this['_initialRevisionId'],'name':_0x53d773,'creatorId':_0x1136d0});}}['_createCurrentRevision'](_0x5ce3d4){const _0x386b80=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x386b80),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5ce3d4,'to':_0x5ce3d4,'id':_0x386b80,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1a0230,from:_0xef6186,to:_0x14607a,creatorId:_0x5dc291,id:_0x5ed2de}){const _0xf2f135=this['buildRevisionData']({'from':_0xef6186,'to':_0x14607a});_0xf2f135['name']=_0x1a0230,_0xf2f135['creatorId']=_0x5dc291,_0xf2f135['id']=_0x5ed2de;const _0x58cc40=this['addRevisionData'](_0xf2f135);return this['adapter']&&this['_bufferUpdate'](_0xf2f135['id'],_0xf2f135,!0x0),_0x58cc40;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x515b14){return(_0x515b14=_0x515b14['filter'](_0x163588=>!_0x163588['name']||'revision-start'!==_0x163588['name']&&'revision-end'!==_0x163588['name']))['forEach'](_0x1927f6=>{'string'!=typeof _0x1927f6&&(_0x1927f6['children']=this['_removeRevisionMarkers'](_0x1927f6['children']),_0x1927f6['attributes']=_0x1927f6['attributes']['filter'](_0x53074c=>!_0x53074c[0x0]['startsWith']('data-revision-')));}),_0x515b14;}}function B(_0x2ab831,_0x56ae0b){const _0x7367b1=_0x56ae0b['editing']['view']['document'];if('string'==typeof _0x2ab831)return new _0x464038(_0x7367b1,_0x2ab831);{const _0x49f1f9=_0x2ab831['children']['map'](_0x6aa97f=>B(_0x6aa97f,_0x56ae0b));return new(T[_0x2ab831['type']]||_0x2aade1)(_0x7367b1,_0x2ab831['name'],_0x2ab831['attributes'],_0x49f1f9);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xff4c61){this['editor']=_0xff4c61,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;}['init'](_0x4d3434){this['source']=_0x4d3434;const _0x2b8d27=new Map(),_0x3cac80=new Map(),_0xf430ef=this['editor']['model']['document']['roots']['map'](_0x55a5d2=>_0x55a5d2['rootName']);for(const _0x5704e1 of _0xf430ef){const _0x435721=this['editor']['model']['document']['getRoot'](_0x5704e1),_0x581215=q(_0x435721);_0x2b8d27['set'](_0x5704e1,_0x581215),_0x3cac80['set'](_0x5704e1,Object['fromEntries'](_0x435721['getAttributes']()));}const _0x132532=Array['from'](this['editor']['model']['markers'])['map'](_0x394b79=>[_0x394b79['name'],_0x394b79['getRange']()]),_0x5f3bf=this['source']['version'];this['_saveMetaData'](_0x5f3bf,_0x2b8d27,_0x132532,_0x3cac80),this['_startingRevisionId']=this['_revisionId'];const _0x3b7b52=new Map(),_0x4e05eb=new Map();for(const _0x5d191e of _0xf430ef){const _0x378a77=G(_0x5d191e);_0x3b7b52['set'](_0x5d191e,_0x378a77),_0x4e05eb['set'](_0x5d191e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3b7b52,[],_0x4e05eb);}['getData'](_0x506171,_0x5c64b2){if(this['_lastFrom']===_0x506171&&this['_lastTo']<=_0x5c64b2)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x5c64b2,!0x0);else{if(!this['_savedMetaData']['has'](_0x506171)){const _0x51a6ec=this['_getPreviousFrom'](_0x506171);this['_calculateMetaData'](_0x51a6ec,_0x506171,!0x1);}this['_calculateMetaData'](_0x506171,_0x5c64b2,!0x0);}return this['_lastFrom']=_0x506171,this['_lastTo']=_0x5c64b2,this['_getState']();}['loadState'](_0x2e6be0){this['_reset'](),this['_lastFrom']=_0x2e6be0['fromVersion'],this['_lastTo']=_0x2e6be0['toVersion'];for(const _0xda1078 in _0x2e6be0['diffData']){const _0x18765e=_0x2e6be0['diffData'][_0xda1078]['attachChange'],_0x48b503=_0x3aed55(_0x2e6be0['diffData'][_0xda1078]['attributesBefore'])||{},_0x374988=this['_makeModelFromViewString'](_0x2e6be0['diffData'][_0xda1078]['deletions']);_0x374988['rootName']=_0xda1078,_0x374988['_isAttached']=!_0x18765e||!_0x18765e['isAttached'],_0x374988['isAttached']=()=>_0x374988['_isAttached'],this['_baseRoots']['set'](_0xda1078,_0x374988),this['_baseRootsAttributes']['set'](_0xda1078,_0x48b503),_0x18765e&&this['_touchedRoots']['set'](_0xda1078,_0x18765e);const _0x59a936=this['_makeIdsRoot'](_0x374988);this['_baseIdsRoots']['set'](_0xda1078,_0x59a936);for(const [_0x4b2fb9,_0x4a83bd]of _0x374988['markers']){if(!_0x4b2fb9['startsWith']('revision:'))continue;const _0x24f1ab=_0x4b2fb9['split'](':')[0x2];for(const _0x3cf825 of _0x4a83bd['getWalker']({'singleCharacters':!0x0})){const _0x34a954=this['_getVidAttributeName'](_0x3cf825),_0x6b49f7='elementEnd'==_0x3cf825['type']?_0x3cf825['previousPosition']['path']['slice'](0x0,-0x1):_0x3cf825['previousPosition']['path'],_0x477d65=_0x59a936['getNodeByPath'](_0x6b49f7)['getAttribute'](_0x34a954);this['_touched']['set'](_0x477d65,{'userId':_0x24f1ab});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1a4c95=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33bce5=>!this['_touched']['has'](_0x33bce5));let _0x28978f=0x0;const _0x195394=new Map();for(const _0x304f64 in _0x2e6be0['diffData']){const _0xf571fb=_0x2e6be0['diffData'][_0x304f64]['attachChange'],_0x57ed10=_0x3aed55(_0x2e6be0['diffData'][_0x304f64]['attributesAfter'])||{},_0x3cec6c=this['_makeModelFromViewString'](_0x2e6be0['diffData'][_0x304f64]['insertions']);_0x3cec6c['rootName']=_0x304f64,_0x3cec6c['_isAttached']=!_0xf571fb||_0xf571fb['isAttached'],_0x3cec6c['isAttached']=()=>_0x3cec6c['_isAttached'],this['_diffRoots']['set'](_0x304f64,_0x3cec6c),this['_diffRootsAttributes']['set'](_0x304f64,_0x57ed10);const _0x561817=this['_makeIdsRoot'](_0x3cec6c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x304f64,_0x561817),_0x195394['set'](_0x304f64,_0x3cec6c['isAttached']()?_0x57ed10:{});for(const [_0x410254,_0x4fcdf4]of _0x3cec6c['markers']){if(!_0x410254['startsWith']('revision:'))continue;const _0x2f2539=_0x410254['split'](':')[0x2];for(const _0x4671c7 of _0x4fcdf4['getWalker']({'singleCharacters':!0x0})){const _0x20f634=this['_getVidAttributeName'](_0x4671c7),_0x418e6a=this['_revisionId']++,_0x1f9ad3='elementEnd'==_0x4671c7['type']?_0x4671c7['previousPosition']['path']['slice'](0x0,-0x1):_0x4671c7['previousPosition']['path'];_0x561817['getNodeByPath'](_0x1f9ad3)['_setAttribute'](_0x20f634,_0x418e6a),this['_touched']['set'](_0x418e6a,{'userId':_0x2f2539});}}for(const _0x133ebb of this['editor']['model']['createRangeIn'](_0x3cec6c)['getWalker']({'singleCharacters':!0x0})){const _0x272eb9=this['_getVidAttributeName'](_0x133ebb),_0x587ca7='elementEnd'==_0x133ebb['type']?_0x133ebb['previousPosition']['path']['slice'](0x0,-0x1):_0x133ebb['previousPosition']['path'],_0x20f516=_0x561817['getNodeByPath'](_0x587ca7);_0x20f516['getAttribute'](_0x272eb9)>0x0||_0x20f516['_setAttribute'](_0x272eb9,_0x1a4c95[_0x28978f++]);}for(const [_0x498a03,_0x185f56]of _0x3cec6c['markers'])_0x498a03['startsWith']('revision:')||this['_markers']['set'](_0x498a03,_0x185f56);}const _0x4cd9ea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4cd9ea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4cd9ea,0x1));const _0x7a2bb7=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x7a2bb7),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x7a2bb7,0x1));const _0x181347=Array['from'](this['_diffRoots'])['map'](([_0x285ff1,_0x632dde])=>[_0x285ff1,q(_0x632dde)]);this['_saveMetaData'](this['_lastTo'],_0x181347,this['_markers'],_0x195394);}['_makeModelFromViewString'](_0x53591f){const _0x261073=JSON['parse'](_0x53591f),_0x2d8e76=this['editor']['editing']['view']['document'],_0xa728c2=new _0x288804(_0x2d8e76,_0x261073['map'](_0x268951=>B(_0x268951,this['editor'])));return this['editor']['data']['toModel'](_0xa728c2);}['_saveMetaData'](_0x4f31c7,_0x8bd366,_0x190e42,_0x396e9f){const _0xe64f20=new Map(_0x8bd366),_0x443ffb=new Map(_0x3aed55(_0x396e9f)),_0x66a1c9=new Map();for(const [_0x171876,_0x4a5bb8]of _0x190e42)_0x66a1c9['set'](_0x171876,{'start':_0x4a5bb8['start']['clone'](),'end':_0x4a5bb8['end']['clone'](),'rootName':_0x4a5bb8['root']['rootName']});this['_savedMetaData']['set'](_0x4f31c7,{'roots':_0xe64f20,'markers':_0x66a1c9,'rootsAttributes':_0x443ffb});}['_removeMetaData'](_0xaa43b0){this['_savedMetaData']['delete'](_0xaa43b0);}['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'](_0xfc494a,_0x2f419f=null){let _0xbb8360=null;_0xfc494a['is']('documentFragment')||(_0xbb8360=new ft(_0xfc494a['name'],{'vid_start':null===_0x2f419f?this['_revisionId']++:_0x2f419f++}));const _0x2ffccf=[];for(const _0x2f601f of _0xfc494a['getChildren']())if(_0x2f601f['is']('element')){_0x2ffccf['push'](this['_makeIdsRoot'](_0x2f601f,_0x2f419f));const _0xaa4c7b=_0x2ffccf[_0x2ffccf['length']-0x1];null!==_0x2f419f&&(_0x2f419f=_0xaa4c7b['is']('element','$text')?_0xaa4c7b['getAttribute']('vid')+0x1:_0xaa4c7b['getAttribute']('vid_end')+0x1);}else{for(let _0x4c8cc9=0x0;_0x4c8cc9<_0x2f601f['offsetSize'];_0x4c8cc9++)_0x2ffccf['push'](new ft('$text',{'vid':null===_0x2f419f?this['_revisionId']++:_0x2f419f++}));}if(_0xfc494a['is']('documentFragment')){const _0x31297c=G(_0xfc494a['rootName']);return _0x31297c['_insertChild'](0x0,_0x2ffccf),_0x31297c;}return _0xbb8360['_setAttribute']('vid_end',null===_0x2f419f?this['_revisionId']++:_0x2f419f++),_0xbb8360['_insertChild'](0x0,_0x2ffccf),_0xbb8360;}['_calculateMetaData'](_0x477c6a,_0x3ae41e,_0xafba56){this['_reset']();const {roots:_0x3bf9c4,markers:_0x373028,rootsAttributes:_0x4337c0}=this['_savedMetaData']['get'](_0x477c6a);this['_baseRoots']=new Map(_0x3bf9c4),this['_baseRootsAttributes']=new Map(_0x3aed55(_0x4337c0));for(const [_0x89faed,_0x1dcf49]of this['_baseRoots'])if('$graveyard'!==_0x89faed&&(this['_diffRoots']['set'](_0x89faed,q(_0x1dcf49)),this['_diffRootsAttributes']=new Map(_0x3aed55(_0x4337c0)),_0xafba56)){const _0x3e9f39=this['_revisionId'];this['_idsRoots']['set'](_0x89faed,this['_makeIdsRoot'](_0x1dcf49)),this['_baseIdsRoots']['set'](_0x89faed,this['_makeIdsRoot'](_0x1dcf49,_0x3e9f39));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xafba56&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3ee653,_0x262173]of _0x373028){const _0xc4880d=this['_baseRoots']['get'](_0x262173['rootName']),_0x27a23b=this['_diffRoots']['get'](_0x262173['rootName']),_0x8b53c1=new vt(this['_fixPosition'](_0x262173['start'],_0xc4880d),this['_fixPosition'](_0x262173['end'],_0xc4880d)),_0x3907e7=this['_fixRange'](_0x8b53c1,_0x27a23b);_0xc4880d['markers']['set'](_0x3ee653,_0x8b53c1),this['_markers']['set'](_0x3ee653,_0x3907e7);}this['_applyOperations'](_0x477c6a,_0x3ae41e,_0xafba56);}['_applyOperations'](_0x1627f1,_0x71090,_0x305e21){for(const _0x262fc0 of this['source']['getOperations'](_0x1627f1,_0x71090))this['_handleOperation'](_0x262fc0,_0x305e21);for(const _0x3d5fce of this['_diffRoots']['values']())_0x3d5fce['markers']['clear']();for(const [_0x3fca5b,_0x3d85e2]of this['_markers']){this['_diffRoots']['get'](_0x3d85e2['root']['rootName'])['markers']['set'](_0x3fca5b,_0x3d85e2['clone']());}const _0x5bbbdc=new Map(),_0x54ac43=new Map();for(const [_0x4c3f13,_0x2e622d]of this['_diffRoots'])_0x5bbbdc['set'](_0x4c3f13,q(_0x2e622d)),_0x54ac43['set'](_0x4c3f13,this['_diffRootsAttributes']['get'](_0x4c3f13));this['_saveMetaData'](_0x71090,_0x5bbbdc,this['_markers'],_0x54ac43);}['_getPreviousFrom'](_0x17fb0f){const _0x143f74=Array['from'](this['_savedMetaData']['keys']());_0x143f74['sort']((_0xee36d3,_0x98031d)=>_0xee36d3-_0x98031d),_0x143f74['reverse']();for(const _0x3e7738 of _0x143f74)if(_0x3e7738<_0x17fb0f)return _0x3e7738;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x219de8,_0x2f1d83){const _0x44412b=Array['from'](_0x2f1d83['markers'])['map'](([_0x34dc58,_0x3a78f8])=>[_0x34dc58,this['_fixRange'](_0x3a78f8,_0x219de8)]);_0x219de8['markers']=new Map(_0x44412b);}['_transformMarkers'](_0x1b0dc1){for(const _0x370c0a of this['_markers']['values']()){const _0x4eed84=_0x370c0a['getTransformedByOperation'](_0x1b0dc1),_0x678ef1=vt['_createFromRanges'](_0x4eed84);_0x370c0a['start']=_0x678ef1['start'],_0x370c0a['end']=_0x678ef1['end'];}}['_handleOperation'](_0x1605c3,_0x23b260){if('addRoot'==_0x1605c3['type']||'detachRoot'==_0x1605c3['type'])return void this['_handleRootOperation'](_0x1605c3,_0x23b260);if('insert'==_0x1605c3['type']){const _0x2c1ef7=_0x1605c3['position']['root']['rootName'];this['_diffRoots']['has'](_0x2c1ef7)||(this['_diffRoots']['set'](_0x2c1ef7,G(_0x2c1ef7,!0x0)),this['_diffRootsAttributes']['set'](_0x2c1ef7,{}),_0x23b260&&this['_idsRoots']['set'](_0x2c1ef7,G(_0x2c1ef7,!0x0)));}else{if('addRootAttribute'==_0x1605c3['type']||'removeRootAttribute'==_0x1605c3['type']||'changeRootAttribute'==_0x1605c3['type'])return void this['_handleRootAttributeOperation'](_0x1605c3);}const _0x298b3e=this['_cloneOperation'](_0x1605c3,this['_diffRoots']);if('marker'!==_0x1605c3['type']&&(_0x298b3e['_execute'](),this['_transformMarkers'](_0x298b3e)),_0x23b260)switch(_0x298b3e['type']){case'insert':this['_handleInsertOperation'](_0x1605c3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1605c3);break;case'merge':this['_handleMergeOperation'](_0x1605c3);break;case'split':this['_handleSplitOperation'](_0x1605c3);break;case'marker':this['_handleMarkerOperation'](_0x1605c3);}}['_cloneOperation'](_0xec1f20,_0x2a9128){const _0x314cc2=_0xec1f20['clone']();return _0x314cc2['_authorId']=_0xec1f20['_authorId'],this['_fixOperation'](_0x314cc2,_0x2a9128),_0x314cc2;}['_getBaseVids'](_0x1f582a){return _0x1f582a['map'](_0x298e4f=>{const _0x271e8f=this['_getVidAttributeName'](_0x298e4f);return Number(_0x298e4f['item']['getAttribute'](_0x271e8f));});}['_generateTape'](_0x4f39cf,_0x450d16){if(_0x4f39cf['is']('element','$text'))_0x450d16['push']({'item':_0x4f39cf,'type':'text'});else{_0x4f39cf['is']('element')&&_0x450d16['push']({'item':_0x4f39cf,'type':'elementStart'});for(const _0x10321c of _0x4f39cf['getChildren']())this['_generateTape'](_0x10321c,_0x450d16);_0x4f39cf['is']('element')&&_0x450d16['push']({'item':_0x4f39cf,'type':'elementEnd'});}return _0x450d16;}['_getState'](){const _0x52cfbf=new Map(this['_touched']),_0x124ea9=new Map(_0x52cfbf),_0x3b45d1=new Map(),_0x4a72ec={'insertions':{},'deletions':{}},_0xa2cc6={'insertions':{},'deletions':{}},_0xdb90a4=new Map(),_0x5d6796=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5d6796['delete']('$graveyard');for(const _0x3bbc17 of _0x5d6796){const _0x50aeae=this['_diffRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1),_0xa92ec7=this['_baseRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1);_0x50aeae['isAttached']()||_0xa92ec7['isAttached']()?(_0x4a72ec['insertions'][_0x3bbc17]=q(_0x50aeae),_0x4a72ec['deletions'][_0x3bbc17]=q(_0xa92ec7),this['_copyMarkers'](_0x4a72ec['deletions'][_0x3bbc17],_0xa92ec7),this['_copyMarkers'](_0x4a72ec['insertions'][_0x3bbc17],_0x50aeae),_0xa2cc6['insertions'][_0x3bbc17]=this['_generateTape'](this['_idsRoots']['get'](_0x3bbc17),[]),_0xa2cc6['deletions'][_0x3bbc17]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1),[])):_0x5d6796['delete'](_0x3bbc17);}for(const _0x529ec0 of _0x5d6796){const _0x5ac447=_0xa2cc6['insertions'][_0x529ec0];for(const _0xcfe053 of _0x5ac447){const _0x4ddad3=this['_getVidAttributeName'](_0xcfe053),_0x1f31bc=_0xcfe053['item']['getAttribute'](_0x4ddad3);_0x124ea9['delete'](_0x1f31bc),_0x1f31bc>=this['_startingRevisionId']&&_0x3b45d1['set'](_0x1f31bc,_0x52cfbf['get'](_0x1f31bc));}}for(const _0x53e937 of _0x5d6796){const _0x4c560f=_0xa2cc6['insertions'][_0x53e937],_0x8b738f=this['_getBaseVids'](_0xa2cc6['deletions'][_0x53e937]);let _0x4f0e64=0x0;for(const _0x1bc0a9 of _0x4c560f){const _0xd23976=this['_getVidAttributeName'](_0x1bc0a9),_0x4cba6f=_0x1bc0a9['item']['getAttribute'](_0xd23976);if(!_0x3b45d1['has'](_0x4cba6f)&&!_0xdb90a4['has'](_0x4cba6f)){if(_0x124ea9['has'](_0x4cba6f))_0x4f0e64++;else{if(_0x4cba6f!=_0x8b738f[_0x4f0e64]){const _0x4269a7=_0x52cfbf['get'](_0x4cba6f)||_0x52cfbf['get'](_0x8b738f[_0x4f0e64]);for(;_0x4cba6f!=_0x8b738f[_0x4f0e64];)_0x124ea9['has'](_0x8b738f[_0x4f0e64])||(_0xdb90a4['set'](_0x8b738f[_0x4f0e64],_0x4269a7),_0x52cfbf['set'](_0x8b738f[_0x4f0e64],_0x4269a7)),_0x4f0e64++;}_0x4f0e64++;}}}}for(const _0x432679 of _0x5d6796){const _0x2f688f=_0xa2cc6['insertions'][_0x432679];for(const _0x12e056 of _0x2f688f){const _0x53411a=this['_getVidAttributeName'](_0x12e056),_0x924e32=_0x12e056['item']['getAttribute'](_0x53411a);if(_0xdb90a4['has'](_0x924e32)){const _0x459323=_0xdb90a4['get'](_0x924e32);_0x124ea9['has'](_0x924e32)||_0x124ea9['set'](_0x924e32,{..._0x459323}),_0x3b45d1['set'](_0x924e32,{..._0x459323});}}}for(const _0x14f91a of _0x124ea9['keys']())_0x14f91a>=this['_startingRevisionId']&&_0x124ea9['delete'](_0x14f91a);const _0x235fe5=new Map();for(const _0x55d927 of _0x5d6796){let _0x377d74=_0xa2cc6['insertions'][_0x55d927];for(const _0x753f5 of _0x377d74)if(_0x753f5['item']['is']('element','tableCell')){const _0x3bd2d7=this['_getVidAttributeName'](_0x753f5),_0x22d7d0=_0x753f5['item']['getAttribute'](_0x3bd2d7);if(_0x3b45d1['has'](_0x22d7d0)){const _0x37a7ab=_0x753f5['item']['parent']['parent']['getAttribute']('vid_start'),_0x573eb2=_0x235fe5['get'](_0x37a7ab)||new Set();_0x573eb2['add'](_0x3b45d1['get'](_0x22d7d0)['userId']),_0x235fe5['set'](_0x37a7ab,_0x573eb2);}}_0x377d74=_0xa2cc6['deletions'][_0x55d927];for(const _0x21a6b2 of _0x377d74)if(_0x21a6b2['item']['is']('element','tableCell')){const _0x327213=this['_getVidAttributeName'](_0x21a6b2),_0x5d0fef=_0x21a6b2['item']['getAttribute'](_0x327213);if(_0x124ea9['has'](_0x5d0fef)){const _0x560d82=_0x21a6b2['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a0599=_0x235fe5['get'](_0x560d82)||new Set();_0x2a0599['add'](_0x124ea9['get'](_0x5d0fef)['userId']),_0x235fe5['set'](_0x560d82,_0x2a0599);}}for(const _0x28fc8a of _0x235fe5['keys']())(_0x3b45d1['has'](_0x28fc8a)||_0x124ea9['has'](_0x28fc8a))&&_0x235fe5['delete'](_0x28fc8a);}for(const _0x3d9b92 of _0x5d6796){const _0x226bf3=_0xa2cc6['insertions'][_0x3d9b92];let _0x1f46e7=null,_0x506f30=null;for(const _0x2e467a of _0x226bf3){const _0x515b39=this['_getVidAttributeName'](_0x2e467a),_0x1623ad=_0x2e467a['item']['getAttribute'](_0x515b39),_0x386308=_0x235fe5['get'](_0x1623ad);_0x386308&&'elementStart'==_0x2e467a['type']&&(_0x1f46e7=Array['from'](_0x386308)[0x0],_0x506f30=_0x2e467a['item']['getAttribute']('vid_end')),_0x1f46e7&&(_0x124ea9['set'](_0x1623ad,{'userId':_0x1f46e7}),_0x3b45d1['set'](_0x1623ad,{'userId':_0x1f46e7})),_0x1623ad==_0x506f30&&(_0x1f46e7=null,_0x506f30=null);}}const _0x34fbfd={},_0x4a24bc=new Set();for(const _0x5e57d3 of _0x5d6796){const _0x462d62=_0x4a72ec['deletions'][_0x5e57d3],_0x42af05=_0x4a72ec['insertions'][_0x5e57d3];for(const {userId:_0x2fdd21}of this['_touchedMarkers']['values']())null!==_0x2fdd21&&_0x4a24bc['add'](_0x2fdd21);for(const {userId:_0x4fabb4}of this['_touchedRoots']['values']())null!==_0x4fabb4&&_0x4a24bc['add'](_0x4fabb4);this['_markChanges'](_0x42af05,_0xa2cc6['insertions'][_0x5e57d3],_0x3b45d1,'insertion',_0x4a24bc),this['_markChanges'](_0x462d62,_0xa2cc6['deletions'][_0x5e57d3],_0x124ea9,'deletion',_0x4a24bc),_0x34fbfd[_0x5e57d3]={'insertions':this['_prepareViewToSave'](_0x42af05),'deletions':this['_prepareViewToSave'](_0x462d62),'attachChange':this['_touchedRoots']['get'](_0x5e57d3)||null,'attributesBefore':_0x3aed55(this['_baseRootsAttributes']['get'](_0x5e57d3))||{},'attributesAfter':_0x3aed55(this['_diffRootsAttributes']['get'](_0x5e57d3))};}return{'diffData':_0x34fbfd,'authorsIds':Array['from'](_0x4a24bc)};}['_processRootBeforeSave'](_0x7e742d){for(const [,_0xbf759b]of _0x7e742d['markers']){const _0x2f21c7=_0xbf759b['start']['getAncestors']()['filter'](_0x10729b=>'tableCell'==_0x10729b['name']);for(const _0x506df1 of _0x2f21c7)0x1==_0x506df1['childCount']&&_0x506df1['getChild'](0x0)['is']('element','paragraph')&&_0x506df1['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x309c29){this['_processRootBeforeSave'](_0x309c29);const _0x179529=this['editor']['data']['toView'](_0x309c29,{}),_0x37384d=Array['from'](_0x179529['getChildren']())['map'](_0x59b5ea=>this['_getViewJson'](_0x59b5ea));return JSON['stringify'](_0x37384d);}['_getViewJson'](_0x43662a){if(_0x43662a['is']('$text'))return _0x43662a['data'];{const _0x30e6f0=_0x43662a;return{'type':Object['keys'](T)['find'](_0x188962=>_0x43662a instanceof T[_0x188962]),'name':_0x30e6f0['name'],'attributes':Array['from'](_0x30e6f0['getAttributes']()),'children':Array['from'](_0x30e6f0['getChildren']())['map'](_0x5961b9=>this['_getViewJson'](_0x5961b9))};}}['_markChanges'](_0x3c4087,_0x423891,_0x1e6ce5,_0x5aaa4a,_0x2553bc){let _0x362e98=null,_0x2dc12a=null,_0x17c4f6=0x0;const _0x22473d=this['editor']['model'];for(let _0x123cc6=0x0;_0x123cc6<_0x423891['length'];_0x123cc6++){const _0x3447ee=this['_getVidAttributeName'](_0x423891[_0x123cc6]),_0x52631a=_0x423891[_0x123cc6]['item']['getAttribute'](_0x3447ee),_0x544eb4=_0x1e6ce5['get'](_0x52631a),_0x10f0bf=_0x123cc6==_0x423891['length']-0x1;(!_0x362e98&&_0x544eb4&&(_0x362e98=_0x544eb4,_0x2dc12a=_0x423891[_0x123cc6]),_0x362e98&&(!_0x544eb4||_0x544eb4['userId']!=_0x362e98['userId']))&&(_0x339416(_0x544eb4,L(_0x2dc12a,_0x3c4087,_0x22473d),L(_0x423891[_0x123cc6],_0x3c4087,_0x22473d)),_0x362e98=_0x544eb4||null,_0x2dc12a=_0x544eb4?_0x423891[_0x123cc6]:null),_0x362e98&&_0x10f0bf&&_0x339416(_0x544eb4,L(_0x2dc12a,_0x3c4087,_0x22473d),W(_0x423891[_0x123cc6],_0x3c4087,_0x22473d));}function _0x339416(_0x43fc26,_0x299704,_0x528385){const _0x22e408=_0x362e98['userId'],_0x4f0c83='revision:'+_0x5aaa4a+':'+_0x22e408+':'+_0x17c4f6++,_0x1ff524=_0x22473d['createRange'](_0x299704,_0x528385);_0x3c4087['markers']['set'](_0x4f0c83,_0x1ff524),null!==_0x22e408&&_0x2553bc['add'](_0x22e408);}}['_getVidAttributeName'](_0x4dcea4){switch(_0x4dcea4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1654aa,_0x119c70){_0x1654aa['baseVersion']=null;for(const _0x583359 in _0x1654aa){const _0x486468=_0x1654aa[_0x583359];if(_0x486468 instanceof gt){const _0x4ddd4e=_0x119c70['get'](_0x486468['root']['rootName']);_0x1654aa[_0x583359]=this['_fixPosition'](_0x486468,_0x4ddd4e);}if(_0x486468 instanceof vt){const _0xdf85cb=_0x119c70['get'](_0x486468['root']['rootName']);_0x1654aa[_0x583359]=this['_fixRange'](_0x486468,_0xdf85cb);}'root'===_0x583359&&(_0x1654aa['root']=_0x119c70['get'](_0x1654aa['root']['rootName']));}}['_fixRange'](_0x395a16,_0x198e53){return this['editor']['model']['createRange'](this['_fixPosition'](_0x395a16['start'],_0x198e53),this['_fixPosition'](_0x395a16['end'],_0x198e53));}['_fixPosition'](_0x52a139,_0x4db915){return this['editor']['model']['createPositionFromPath'](_0x4db915,_0x52a139['path'],_0x52a139['stickiness']);}['_handleInsertOperation'](_0x3cb9cb){const _0xea90bb=this['_idsRoots']['get'](_0x3cb9cb['position']['root']['rootName']),_0x17b26=this['_fixPosition'](_0x3cb9cb['position'],_0xea90bb),_0x1ce550=null===_0x3cb9cb['_authorId']?null:_0x3cb9cb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43526f=_0x17b26['parent'],_0x40c92e=this['_revisionId'],_0x40d459=[];for(const _0x385382 of _0x3cb9cb['nodes'])if(_0x385382['is']('element'))_0x40d459['push'](this['_makeIdsRoot'](_0x385382));else{for(let _0x289d0f=0x0;_0x289d0f<_0x385382['offsetSize'];_0x289d0f++)_0x40d459['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2dd185=this['_revisionId'];for(let _0x50d937=_0x40c92e;_0x50d937<_0x2dd185;_0x50d937++)this['_touched']['set'](_0x50d937,{'userId':_0x1ce550});_0x43526f['_insertChild'](_0x17b26['offset'],_0x40d459);}['_handleMoveOperation'](_0x1691a0){(_0x1691a0=this['_cloneOperation'](_0x1691a0,this['_idsRoots']))['_execute']();const _0xc944fb=null===_0x1691a0['_authorId']?null:_0x1691a0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5deaa3=_0x1691a0['getMovedRangeStart'](),_0x196be0=_0x5deaa3['parent'],_0x507b8e=_0x5deaa3['offset'];!function _0x54031b(_0xa33eb9,_0x4b0a5e,_0x4a0901,_0x58f440){for(let _0x3a8d30=_0x4a0901;_0x3a8d30<_0x58f440;_0x3a8d30++){const _0x43ed4d=_0x4b0a5e['getChild'](_0x3a8d30);_0x43ed4d['is']('element','$text')?_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid'),{'userId':_0xc944fb}):(_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid_start'),{'userId':_0xc944fb}),_0x54031b(_0xa33eb9,_0x43ed4d,0x0,_0x43ed4d['childCount']),_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid_end'),{'userId':_0xc944fb}));}}(this['_touched'],_0x196be0,_0x507b8e,_0x507b8e+_0x1691a0['howMany']);}['_handleMergeOperation'](_0x3cf95e){const _0x1edd07=null===(_0x3cf95e=this['_cloneOperation'](_0x3cf95e,this['_idsRoots']))['_authorId']?null:_0x3cf95e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x27a96d=_0x3cf95e['targetPosition']['parent'],_0x58ffa8=_0x3cf95e['sourcePosition']['parent'],_0x11f145=_0x27a96d['getAttribute']('vid_end'),_0x4d812c=_0x58ffa8['getAttribute']('vid_start');_0x27a96d['_setAttribute']('vid_end',_0x58ffa8['getAttribute']('vid_end')),_0x58ffa8['_setAttribute']('vid_end',_0x11f145),this['_touched']['set'](_0x4d812c,{'userId':_0x1edd07}),this['_touched']['set'](_0x11f145,{'userId':_0x1edd07}),_0x3cf95e['_execute']();}['_handleSplitOperation'](_0x5477cc){const _0xdf4691=null===(_0x5477cc=this['_cloneOperation'](_0x5477cc,this['_idsRoots']))['_authorId']?null:_0x5477cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b4c34=_0x5477cc['graveyardPosition'],_0x1f19d2=_0x5477cc['splitPosition']['parent'];_0x5477cc['_execute']();const _0x30152d=_0x1f19d2['getAttribute']('vid_end'),_0x498133=_0x5477cc['insertionPosition']['nodeAfter'];if(_0x4b4c34){const _0x1623f6=_0x498133['getAttribute']('vid_end'),_0xd0402e=_0x1f19d2['getAttribute']('vid_end');_0x1f19d2['_setAttribute']('vid_end',_0x1623f6),_0x498133['_setAttribute']('vid_end',_0xd0402e),this['_touched']['set'](_0x1f19d2['getAttribute']('vid_end'),{'userId':_0xdf4691}),this['_touched']['set'](_0x498133['getAttribute']('vid_start'),{'userId':_0xdf4691});}else{const _0x3e8205=this['_revisionId']++,_0x387924=this['_revisionId']++;_0x1f19d2['_setAttribute']('vid_end',_0x3e8205),_0x498133['_setAttribute']('vid_start',_0x387924),_0x498133['_setAttribute']('vid_end',_0x30152d),this['_touched']['set'](_0x3e8205,{'userId':_0xdf4691}),this['_touched']['set'](_0x387924,{'userId':_0xdf4691});}}['_handleMarkerOperation'](_0x2d7850){if(!_0x2d7850['affectsData'])return;const _0x457e8f=(_0x2d7850=this['_cloneOperation'](_0x2d7850,this['_diffRoots']))['oldRange']?_0x2d7850['oldRange']['root']:null,_0xbe1b50=_0x2d7850['newRange']?_0x2d7850['newRange']['root']:null;_0x457e8f&&this['_markers']['delete'](_0x2d7850['name']),_0xbe1b50&&this['_markers']['set'](_0x2d7850['name'],_0x2d7850['newRange']['clone']());const _0x51458c=null===_0x2d7850['_authorId']?null:_0x2d7850['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x519e7e=_0x2d7850['name'];if(!this['_touchedMarkers']['has'](_0x519e7e))return void this['_touchedMarkers']['set'](_0x519e7e,{'range':_0x2d7850['oldRange'],'userId':_0x51458c});const _0x191160=this['_touchedMarkers']['get'](_0x519e7e),_0x182832=_0x191160['range'],_0x543f6d=_0x2d7850['newRange'];null==_0x182832&&null==_0x543f6d||_0x182832&&_0x543f6d&&_0x182832['isEqual'](_0x543f6d)?this['_touchedMarkers']['delete'](_0x2d7850['name']):_0x191160['userId']=_0x51458c;}['_handleRootOperation'](_0x113cb4,_0x3fff7b){this['_diffRoots']['has'](_0x113cb4['rootName'])?this['_diffRoots']['get'](_0x113cb4['rootName'])['_isAttached']=_0x113cb4['isAdd']:(this['_diffRoots']['set'](_0x113cb4['rootName'],G(_0x113cb4['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x113cb4['rootName'],{}),_0x3fff7b&&this['_idsRoots']['set'](_0x113cb4['rootName'],G(_0x113cb4['rootName'],!0x0)));const _0x5e29eb=null===_0x113cb4['_authorId']?null:_0x113cb4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3690a2=this['_touchedRoots']['get'](_0x113cb4['rootName']);_0x3690a2&&_0x3690a2['userId']===_0x5e29eb?this['_touchedRoots']['delete'](_0x113cb4['rootName']):this['_touchedRoots']['set'](_0x113cb4['rootName'],{'userId':_0x5e29eb,'isAttached':_0x113cb4['isAdd']});}['_handleRootAttributeOperation'](_0x1fb96b){const _0x48bb99=this['_diffRootsAttributes']['get'](_0x1fb96b['root']['rootName']);null===_0x1fb96b['newValue']?delete _0x48bb99[_0x1fb96b['key']]:_0x48bb99[_0x1fb96b['key']]=_0x1fb96b['newValue'];}}function q(_0x2fb45f){const _0x440f7a=G(_0x2fb45f['rootName'],_0x2fb45f['isAttached']());for(const _0x1facff of _0x2fb45f['getChildren']()){const _0xdc953=_0x1facff['_clone'](!0x0);_0x440f7a['_appendChild'](_0xdc953);}return _0x440f7a;}function G(_0x2ccd73,_0xfd62b4=!0x0){const _0x187396=new wt();return _0x187396['rootName']=_0x2ccd73,_0x187396['_isAttached']=_0xfd62b4,_0x187396['isAttached']=()=>_0x187396['_isAttached'],_0x187396;}function L(_0x5411c1,_0x5051dc,_0x136ef7){const _0x427d09='elementEnd'==_0x5411c1['type']?_0x136ef7['createPositionAt'](_0x5411c1['item'],'end'):_0x136ef7['createPositionBefore'](_0x5411c1['item']);return _0x136ef7['createPositionFromPath'](_0x5051dc,_0x427d09['path'],_0x427d09['stickiness']);}function W(_0x20238d,_0x3f9dba,_0x1e17a0){const _0x32df42='elementStart'==_0x20238d['type']?_0x1e17a0['createPositionAt'](_0x20238d['item'],0x0):_0x1e17a0['createPositionAfter'](_0x20238d['item']);return _0x1e17a0['createPositionFromPath'](_0x3f9dba,_0x32df42['path'],_0x32df42['stickiness']);}class ns extends _0x4ee463{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4b267f,_0x1f88c1){super(_0x4b267f),this['focusTracker']=new _0x3a6ef4(),this['keystrokes']=new _0x2b4ea5(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1f88c1),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x1948b3({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x555a1d=_0x3a7552=>_0x3a7552['stopPropagation']();this['keystrokes']['set']('arrowright',_0x555a1d),this['keystrokes']['set']('arrowleft',_0x555a1d),this['keystrokes']['set']('arrowup',_0x555a1d),this['keystrokes']['set']('arrowdown',_0x555a1d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x163805){this['revisionNameInputView']['fieldView']['element']['value']=_0x163805['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2084fb){const _0x50778c=new at(this['locale'],_0x27a5db),_0x359fbe=_0x50778c['fieldView'];_0x359fbe['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5633aa=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2084fb&&(_0x5633aa+='\x20('+y(this['locale'],'optional')+')'),(_0x50778c['label']=_0x5633aa,_0x359fbe['on']('input',()=>{this['revisionNameInputValue']=_0x359fbe['element']['value']['trim']();}),_0x50778c);}}class u extends _0x25b853{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1488c9=this['editor'],_0x5afdf4=_0x1488c9['plugins']['get']('RevisionTracker');_0x1488c9['ui']['componentFactory']['add']('revisionHistory',_0x4574a7=>{const _0x8d0d52=_0xaa4d18(_0x4574a7),_0x7547f0=_0x8d0d52['panelView']['children'],_0x2c9668=new te(_0x4574a7),_0x33c6ca=new _0x39934b(_0x4574a7),_0xf08196=new _0x302693(_0x4574a7),_0x2d6987=new _0x39934b(_0x4574a7),_0x265623=new _0x302693(_0x4574a7);return _0x8d0d52['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x5afdf4,'isEnabled',_0x1488c9,'isReadOnly',(_0x2f606d,_0x406a73,_0x11645e)=>_0x2f606d&&_0x406a73&&!_0x11645e),_0x8d0d52['buttonView']['set']({'icon':_0x152ab3['history'],'label':y(_0x4574a7,'Revision\x20history'),'tooltip':!0x0}),_0xf08196['set']({'label':y(_0x4574a7,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xf08196['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x5afdf4,'isEnabled',_0x1488c9,'isReadOnly',(_0x284cbb,_0x265e1a,_0x5b2ef5)=>_0x284cbb&&_0x265e1a&&!_0x5b2ef5),_0xf08196['on']('execute',()=>this['_showDialog']()),_0x265623['set']({'label':y(_0x4574a7,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x265623['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x1488c9,'isReadOnly',(_0x4c9629,_0x50331c)=>_0x4c9629&&!_0x50331c),_0x265623['on']('execute',()=>{_0x1488c9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x8d0d52['isOpen']=!0x1,_0x1488c9['editing']['view']['focus']();}),_0x33c6ca['children']['add'](_0xf08196),_0x2d6987['children']['add'](_0x265623),_0x2c9668['role']='menu',_0x2c9668['items']['addMany']([_0x33c6ca,_0x2d6987]),_0x7547f0['add'](_0x2c9668),_0x8d0d52;}),_0x1488c9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xf15886=this['editor'],_0x12deec=_0xf15886['locale'],_0x19561f=new _0x564dbb(_0x12deec),_0xadfdf3=new _0x37cb0e(_0x12deec);_0x19561f['buttonView']['set']({'icon':_0x152ab3['history'],'label':y(_0x12deec,'Revision\x20history')});const _0xae013c=new _0x37401f(_0x12deec,_0x19561f),_0x30252d=new _0x83d227(_0x12deec);_0x30252d['set']({'label':y(_0x12deec,'Save\x20current\x20revision')}),_0x30252d['delegate']('execute')['to'](_0x19561f),_0x30252d['on']('execute',()=>{this['_showDialog']();}),_0xae013c['children']['add'](_0x30252d),_0xadfdf3['items']['add'](_0xae013c);const _0x1f5f4b=new _0x37401f(_0x12deec,_0x19561f),_0x53d076=new _0x83d227(_0x12deec);return _0x53d076['set']({'label':y(_0x12deec,'Open\x20revision\x20history')}),_0x53d076['delegate']('execute')['to'](_0x19561f),_0x53d076['on']('execute',()=>{_0xf15886['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1f5f4b['children']['add'](_0x53d076),_0xadfdf3['items']['add'](_0x1f5f4b),_0x19561f['panelView']['children']['add'](_0xadfdf3),_0x19561f;}['_showDialog'](){const _0x2d6c57=this['editor'],_0x59b453=_0x2d6c57['locale'],_0x1aa6d9=_0x2d6c57['plugins']['get']('Dialog'),_0x12d08d=_0x2d6c57['plugins']['get']('RevisionTracker');function _0x5490ac(_0x1cc396){_0x2d6c57['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1cc396['revisionName']?_0x1cc396['revisionNameInputView']['errorText']=y(_0x59b453,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2d6c57['plugins']['get'](l)['saveRevision']({'name':_0x1cc396['revisionName']}),_0x1aa6d9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5490ac(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1aa6d9['show']({'id':'revisionSave','title':y(_0x59b453,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2d6c57['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x1aa6d9['hide']()},{'label':y(_0x2d6c57['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x25feca){_0x25feca['bind']('isEnabled')['to'](_0x12d08d,'isReady',_0x12d08d,'isEnabled',_0x2d6c57,'isReadOnly',(_0x225ce6,_0x424c1b,_0x6a4fd7)=>_0x225ce6&&_0x424c1b&&!_0x6a4fd7);},'onExecute':()=>_0x5490ac(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2425b5=this['editor'],_0x81c23b=_0x2425b5['locale'];this['_saveRevisionFormView']=new ns(_0x81c23b,_0x2425b5['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4ee463{['changeId'];['_model'];constructor(_0x1df394,_0x390c78){super(_0x1df394),this['_model']=_0x390c78,this['changeId']=_0x390c78['id'];const _0xf81a01=this['bindTemplate'],_0x25dc95=y(_0x1df394,_0x390c78['data']['isSuggestion']?'Suggested\x20by':'add'==_0x390c78['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x390c78['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xf81a01['to']('type',_0x13dba7=>'ck-revision-change__'+_0x13dba7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x25dc95}]},{'text':'\x20'+_0x390c78['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x57e8b5(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x41d208){super(),this['id']=_0x41d208['id']||_0xf0a907(),this['author']=_0x41d208['author'],this['type']=_0x41d208['type'],this['data']=_0x41d208['data']||{},this['rootName']=_0x41d208['rootName'],this['set']('createdAt',_0x41d208['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x5c92c3,_0x555d7d){this['newRevisionId']=_0x5c92c3,this['oldRevisionId']=_0x555d7d,this['changes']=new _0x17d2c9();}['_setChanges'](_0x1523af){for(const _0x3aa78c of _0x1523af)this['changes']['add'](_0x3aa78c);}}const tt={'c':_0x4bb0d0,'a':_0x1c226f,'e':_0x102b40,'r':_0xbad04d,'u':_0x4947d7};class d extends _0x25b853{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4034d6,_0x5bb53b,A];}constructor(_0x3d07ae){super(_0x3d07ae),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',(_0x331ab0,_0x5b1bf7,_0x5c01dc)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x52c0ac=>{for(const _0x3b5269 of this['editor']['editing']['view']['document']['roots'])_0x5c01dc?_0x52c0ac['removeClass']('ck-editor__editable__overlay',_0x3b5269):_0x52c0ac['addClass']('ck-editor__editable__overlay',_0x3b5269);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2c4ffa=>null!==_0x2c4ffa),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x292980,_0x41ffa9,_0x3e6748)=>_0x292980&&_0x3e6748?_0x41ffa9['changes']['getIndex'](_0x3e6748):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x28cf06,_0x2d7753)=>_0x28cf06?_0x2d7753['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5bb53b);}['init'](){const _0x2e20c2=this['editor'],_0x45755a=new yt(_0x2e20c2,{'direction':'backward'}),_0x26ee73=new yt(_0x2e20c2,{'direction':'forward'});(_0x2e20c2['commands']['add']('showPreviousChange',_0x45755a),_0x2e20c2['commands']['add']('showNextChange',_0x26ee73),_0x2e20c2['commands']['add']('restoreRevision',new bt(_0x2e20c2)),this['on']('change:numberOfChanges',()=>{_0x45755a['refresh'](),_0x26ee73['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2e20c2['enableReadOnlyMode']('revision-viewer'),_0x2e20c2['plugins']['has']('WidgetToolbarRepository'))&&_0x2e20c2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1d854c){await this['loadRevisionData'](_0x1d854c);const _0x3af221={};for(const _0x271632 in _0x1d854c['diffData']){if(_0x1d854c['diffData'][_0x271632]['attachChange']&&!_0x1d854c['diffData'][_0x271632]['attachChange']['isAttached'])continue;const _0x183036=this['_removeRevisionMarkers'](JSON['parse'](_0x1d854c['diffData'][_0x271632]['insertions'])),_0x1fbe75=this['editor']['editing']['view']['document'],_0x574ea9=new _0x288804(_0x1fbe75,_0x183036['map'](_0x224339=>this['_getViewObj'](_0x224339)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3af221[_0x271632]=this['editor']['data']['processor']['toData'](_0x574ea9),this['editor']['data']['processor']['useFillerType']('default');}return _0x3af221;}async['getRevisionRootsAttributes'](_0x36ce71){await this['loadRevisionData'](_0x36ce71);const _0x3ef679={};for(const _0xfa948a in _0x36ce71['diffData'])_0x36ce71['diffData'][_0xfa948a]['attachChange']&&!_0x36ce71['diffData'][_0xfa948a]['attachChange']['isAttached']||(_0x3ef679[_0xfa948a]=_0x36ce71['diffData'][_0xfa948a]['attributesAfter']||{});return _0x3ef679;}['_removeRevisionMarkers'](_0x2012a1){return(_0x2012a1=_0x2012a1['filter'](_0x42babd=>!_0x42babd['name']||'revision-start'!==_0x42babd['name']&&'revision-end'!==_0x42babd['name']))['forEach'](_0x1fe422=>{'string'!=typeof _0x1fe422&&(_0x1fe422['children']=this['_removeRevisionMarkers'](_0x1fe422['children']),_0x1fe422['attributes']=_0x1fe422['attributes']['filter'](_0x301b70=>!_0x301b70[0x0]['startsWith']('data-revision-')));}),_0x2012a1;}async['compare'](_0x15e661,_0x4d6a40,_0x5de11a=!0x1){if(!this['isEnabled'])return;const _0x146862=this['diff'],_0x599bb6=this['repository'],_0x4df10b='string'==typeof _0x15e661?_0x599bb6['getRevision'](_0x15e661):_0x15e661,_0x58f165='string'==typeof _0x4d6a40?_0x599bb6['getRevision'](_0x4d6a40):_0x4d6a40,_0x569acd=_0x4df10b['id'],_0xccb1f6=_0x58f165?_0x58f165['id']:null;if(!_0x5de11a&&this['diff']&&this['diff']['newRevisionId']===_0x569acd&&this['diff']['oldRevisionId']===_0xccb1f6)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x569acd,_0xccb1f6);const _0x1cec22=this['_getRevisionsRange'](_0x4df10b,_0x58f165,!0x0)['map'](_0x29064c=>this['loadRevisionData'](_0x29064c));return _0x1cec22['push'](new Promise(_0x4dd9db=>{setTimeout(_0x4dd9db,0x14);})),Promise['all'](_0x1cec22)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x313c51=this['_getDiff'](_0x569acd,_0xccb1f6);for(const _0x1d0240 of _0x313c51['changes'])this['_changeIdToChange']['set'](_0x1d0240['id'],_0x1d0240);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xc1d011=>{for(const _0x21dd8a of this['editor']['model']['document']['getRootNames']())_0xc1d011['detachRoot'](_0x21dd8a);for(const _0x329566 of Object['keys'](_0x313c51['model'])){const _0x5bbc62=_0xc1d011['addRoot'](_0x329566);for(const _0x9a3c of Object['keys'](_0x313c51['attributes'][_0x329566]))_0xc1d011['setAttribute'](_0x9a3c,_0x313c51['attributes'][_0x329566][_0x9a3c],_0x5bbc62);_0xc1d011['insert'](_0x313c51['model'][_0x329566],_0x5bbc62,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x313c51['changes'])),this['isReady']=!0x0;})['catch'](_0x61b545=>{console['error'](_0x61b545),this['_cleanUp'](),_0x146862&&(this['diff']=_0x146862),this['isReady']=!0x0;});}['addRevisionData'](_0xb6d7ad,_0x48f5ac){const _0x550896=this['repository']['createRevision'](_0xb6d7ad);return _0x550896['on']('_update',(_0x477362,_0x198a3e,_0x2f5b61)=>_0x48f5ac(_0x198a3e,_0x2f5b61,_0x550896)),this['repository']['addRevision'](_0x550896),_0x550896;}['loadRevisionData'](_0x1131e5){if(!_0x1131e5||_0x1131e5['diffData'])return Promise['resolve']();{const _0xff7376=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xff7376,'revisionId':_0x1131e5['id']})['then'](_0x41a80d=>{_0x1131e5['_update']({'diffData':_0x41a80d['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},_0x5944c6=>{for(const _0xc21fca of this['editor']['model']['document']['getRootNames']())_0x5944c6['detachRoot'](_0xc21fca);});}['_sortAndFilterDiffChanges'](_0x26b24f){const _0x48d6d0=[],_0x5b84f4=new Map();for(const _0x1457a0 of this['editor']['model']['document']['getRootNames']()){const _0x16728f=this['editor']['editing']['view']['getDomRoot'](_0x1457a0);if(!_0x16728f)continue;const _0x2a5500=_0x16728f['getClientRects']()['item'](0x0);_0x2a5500&&(_0x48d6d0['push'](_0x1457a0),_0x5b84f4['set'](_0x1457a0,_0x2a5500));}return _0x48d6d0['sort']((_0x4463ec,_0x16c4e1)=>{const _0x4fd006=_0x5b84f4['get'](_0x4463ec),_0x41fd92=_0x5b84f4['get'](_0x16c4e1);return _0x4fd006['y']-_0x41fd92['y']||_0x4fd006['x']-_0x41fd92['x'];}),(_0x26b24f=_0x26b24f['filter'](_0x57ff76=>_0x48d6d0['includes'](_0x57ff76['rootName'])))['sort']((_0x1681fe,_0x99c2dc)=>_0x48d6d0['indexOf'](_0x1681fe['rootName'])-_0x48d6d0['indexOf'](_0x99c2dc['rootName'])),_0x26b24f;}['_makeTape'](_0x1e639c){const _0x13fd32=Array['from'](_0x1e639c['markers'])['filter'](([_0x32e07e,_0x440fe2])=>_0x32e07e['startsWith']('revision:')&&!_0x440fe2['isCollapsed']),_0x35bb76=Array['from'](this['editor']['model']['createRangeIn'](_0x1e639c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x13fd32['length'])for(const _0xd47e0f of _0x35bb76){const [_0x17327e,_0x478b9b]=_0x13fd32[0x0],[,_0xfbd9d5,_0x304783]=_0x17327e['split'](':');if(_0x478b9b['end']['isEqual'](_0xd47e0f['nextPosition'])&&_0x13fd32['shift'](),(_0xd47e0f['previousPosition']['isEqual'](_0x478b9b['start'])||_0xd47e0f['previousPosition']['isAfter'](_0x478b9b['start']))&&('insertion'==_0xfbd9d5?_0xd47e0f['isAdded']={'userId':_0x304783}:'deletion'==_0xfbd9d5&&(_0xd47e0f['isRemoved']={'userId':_0x304783})),0x0==_0x13fd32['length'])break;}return _0x35bb76;}['_refreshStartEndIndex'](_0xcafe7e){const _0xde3c2=new Map();for(let _0x253e32=0x0;_0x253e32<_0xcafe7e['length'];_0x253e32++)'text'===_0xcafe7e[_0x253e32]['type']?(_0xcafe7e[_0x253e32]['item']['startIndex']=_0x253e32,_0xcafe7e[_0x253e32]['item']['endIndex']=_0x253e32):('elementStart'===_0xcafe7e[_0x253e32]['type']?_0xcafe7e[_0x253e32]['item']['startIndex']=_0x253e32:'elementEnd'===_0xcafe7e[_0x253e32]['type']&&(_0xcafe7e[_0x253e32]['item']['endIndex']=_0x253e32),_0xde3c2['set'](_0xcafe7e[_0x253e32]['id'],_0x253e32));for(const _0x3f44a5 of _0xde3c2['values']())'elementStart'===_0xcafe7e[_0x3f44a5]['type']?_0xcafe7e[_0x3f44a5]['item']['endIndex']=_0xde3c2['get'](_0xcafe7e[_0x3f44a5]['pairId']):'elementEnd'===_0xcafe7e[_0x3f44a5]['type']&&(_0xcafe7e[_0x3f44a5]['item']['startIndex']=_0xde3c2['get'](_0xcafe7e[_0x3f44a5]['pairId']));}['_processTape'](_0x3a3aaa){for(let _0x4a9edb=0x0;_0x4a9edb<_0x3a3aaa['length'];_0x4a9edb++){if('elementStart'===_0x3a3aaa[_0x4a9edb]['type'])_0x3a3aaa[_0x4a9edb]['item']['startIndex']=_0x4a9edb;else{if('elementEnd'===_0x3a3aaa[_0x4a9edb]['type']){_0x3a3aaa[_0x4a9edb]['item']['endIndex']=_0x4a9edb;const _0x57b80e=_0x3a3aaa[_0x4a9edb]['item']['startIndex'];_0x3a3aaa[_0x57b80e]['pairId']=_0x3a3aaa[_0x4a9edb]['id'],_0x3a3aaa[_0x4a9edb]['pairId']=_0x3a3aaa[_0x57b80e]['id'];}else _0x3a3aaa[_0x4a9edb]['item']['startIndex']=_0x4a9edb,_0x3a3aaa[_0x4a9edb]['item']['endIndex']=_0x4a9edb,_0x3a3aaa[_0x4a9edb]['pairId']=null;}_0x3a3aaa[_0x4a9edb]['markersStart']||(_0x3a3aaa[_0x4a9edb]['markersStart']=[],_0x3a3aaa[_0x4a9edb]['markersEnd']=[]);}}['_markInsertions'](_0x547af7,_0x6c167f){const _0x10e98b=_0x547af7['filter'](_0x2fa9fa=>!_0x2fa9fa['isAdded']);for(let _0x2b9a8f=0x0;_0x2b9a8f<_0x6c167f['length'];_0x2b9a8f++)_0x6c167f[_0x2b9a8f]['isAdded']&&(_0x10e98b[_0x2b9a8f]['isAdded']=_0x6c167f[_0x2b9a8f]['isAdded']);}['_makeModelFromViewString'](_0x516112){const _0x39f804=JSON['parse'](_0x516112),_0x371af4=this['editor']['editing']['view']['document'],_0x4bff4a=new _0x288804(_0x371af4,_0x39f804['map'](_0x595c4d=>this['_getViewObj'](_0x595c4d)));return this['editor']['data']['toModel'](_0x4bff4a);}['_getViewObj'](_0x4fd917){const _0x417e3d=this['editor']['editing']['view']['document'];if('string'==typeof _0x4fd917)return new _0x464038(_0x417e3d,_0x4fd917);{const _0x1ec636=_0x4fd917['children']['map'](_0x56259e=>this['_getViewObj'](_0x56259e));return new(tt[_0x4fd917['type']]||_0x2aade1)(_0x417e3d,_0x4fd917['name'],_0x4fd917['attributes'],_0x1ec636);}}['_getDiff'](_0x11978e,_0x278a0f=null){const _0x47974a=this['repository']['getRevision'](_0x11978e),_0x15be41=_0x278a0f?this['repository']['getRevision'](_0x278a0f):null,_0x4aafd3=this['_getRevisionsRange'](_0x47974a,_0x15be41),_0x2f644f=_0x4aafd3[_0x4aafd3['length']-0x1],_0x4ce292=new Map(),_0x42645c={'model':{},'attributes':{},'changes':[]},_0x5d0172=new Set(),_0x424128=new Map();for(let _0x170695=_0x4aafd3['length']-0x1;_0x170695>=0x0;_0x170695--){const _0x363768=_0x4aafd3[_0x170695];for(const _0x2e8699 of Object['keys'](_0x363768['diffData']))if(_0x363768['diffData'][_0x2e8699]['attachChange']){const _0x47ecb9=_0x363768['diffData'][_0x2e8699]['attachChange'];_0x47ecb9['isAttached']?(_0x5d0172['add'](_0x2e8699),_0x424128['has'](_0x2e8699)&&_0x424128['get'](_0x2e8699)['userId']==_0x47ecb9['userId']?_0x424128['delete'](_0x2e8699):_0x424128['set'](_0x2e8699,_0x47ecb9)):_0x424128['has'](_0x2e8699)?(_0x5d0172['delete'](_0x2e8699),_0x424128['delete'](_0x2e8699)):(_0x5d0172['add'](_0x2e8699),_0x424128['set'](_0x2e8699,_0x47ecb9));}else _0x5d0172['add'](_0x2e8699);}for(const _0x1ae94c of _0x5d0172){const _0x36b556=_0x424128['has'](_0x1ae94c)&&!_0x424128['get'](_0x1ae94c)['isAttached'];let _0x1f07f3=_0x36b556?_0x4aafd3['length']-0x1:0x0;const _0x4fecf6=_0x36b556?-0x1:0x1;for(;_0x4aafd3[_0x1f07f3];){const _0x3f8cba=_0x4aafd3[_0x1f07f3];if(_0x3f8cba['diffData'][_0x1ae94c]){const _0x447719=_0x36b556?_0x3f8cba['diffData'][_0x1ae94c]['attributesBefore']:_0x3f8cba['diffData'][_0x1ae94c]['attributesAfter'];_0x42645c['attributes'][_0x1ae94c]=_0x447719?_0x3aed55(_0x447719):{};break;}_0x1f07f3+=_0x4fecf6;}}for(const _0x5788f7 of _0x4aafd3){_0x5788f7['model']={};for(const _0x2815e7 of _0x5788f7['authors'])_0x4ce292['set'](_0x2815e7['id'],_0x2815e7);for(const _0x4df2a9 of _0x5d0172){const _0x567e4f=_0x5788f7['diffData'][_0x4df2a9]?_0x5788f7['diffData'][_0x4df2a9]['insertions']:'[]',_0x3ef160=_0x5788f7['diffData'][_0x4df2a9]?_0x5788f7['diffData'][_0x4df2a9]['deletions']:'[]';_0x5788f7['model'][_0x4df2a9]={'insertions':this['_makeModelFromViewString'](_0x567e4f),'deletions':this['_makeModelFromViewString'](_0x3ef160)};}}for(const _0x5ecbbe of _0x5d0172){let _0x270339=null,_0x2447ab=0x0;const _0x32fdf2=new Map(Array['from'](_0x47974a['model'][_0x5ecbbe]['insertions']['markers'])['filter'](([_0x5cb457])=>!_0x5cb457['startsWith']('revision:')));let _0x5c1365=0x0;for(const _0xd9f40d of _0x4aafd3){const _0x1b8cec=this['_makeTape'](_0xd9f40d['model'][_0x5ecbbe]['insertions']);_0xd9f40d==_0x47974a?(_0x270339=_0x1b8cec,_0x2447ab=_0x270339['length'],_0x270339['forEach'](_0x54a396=>{_0x54a396['id']=_0x5c1365++;}),this['_processTape'](_0x270339)):this['_markInsertions'](_0x270339,_0x1b8cec);const _0x301c12=_0x270339['filter'](_0x6b43a8=>!_0x6b43a8['isAdded'])['map'](_0x357bd4=>_0x357bd4['id']);let _0x121af8=0x0;const _0x4c4813=this['_makeTape'](_0xd9f40d['model'][_0x5ecbbe]['deletions']);_0x4c4813['forEach'](_0x1f82ad=>{_0x1f82ad['isRemoved']?_0x1f82ad['id']=_0x2447ab++:_0x1f82ad['id']=_0x301c12[_0x121af8++];}),this['_processTape'](_0x4c4813),this['_setDistance'](_0x270339,'isAdded'),this['_setDistance'](_0x4c4813,'isRemoved'),_0xd9f40d==_0x47974a&&this['_markMarkers'](_0x270339,_0x32fdf2),_0x270339=this['_joinTapes'](_0x270339,_0x4c4813),this['_refreshStartEndIndex'](_0x270339),this['_setDistance'](_0x270339,'isRemoved');}_0x270339=_0x270339['filter'](_0x56f8a5=>!(_0x56f8a5['isAdded']&&_0x56f8a5['isRemoved']));const _0x2930ce=new Map(_0x2f644f['model'][_0x5ecbbe]['deletions']['markers']),_0x15ae3d=new Set(_0x32fdf2['keys']());for(const _0x5bbd0f of _0x2930ce['keys']())_0x15ae3d['delete'](_0x5bbd0f);this['_markSuggestions'](_0x270339,_0x15ae3d),this['_fixObsoleteTags'](_0x270339),_0x270339=this['_removeMissingPairs'](_0x270339),_0x270339=this['_markMismatchedRemovedTags'](_0x270339),_0x270339=this['_removeUnsupportedChanges'](_0x270339);const {root:_0x3541f0,changes:_0xd28826}=this['_makeModelFromTape'](_0x270339,_0x4ce292,_0x5ecbbe);_0x42645c['model'][_0x5ecbbe]=_0x3541f0;const _0x238b93=_0x424128['get'](_0x5ecbbe);if(_0x238b93){const _0x32e51b=_0x4ce292['get'](_0x238b93['userId']),_0x351ef0=new r({'author':_0x32e51b,'type':_0x238b93['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5ecbbe});_0xd28826['unshift'](_0x351ef0),_0x42645c['attributes'][_0x5ecbbe]['revisionHistoryAttachChange']=_0x351ef0['id'];}_0x42645c['changes']=_0x42645c['changes']['concat'](_0xd28826);}return _0x42645c;}['_markMarkers'](_0x37eae5,_0x392558){for(let _0x53924d=0x0;_0x53924d<_0x37eae5['length'];_0x53924d++)for(const [_0x391f54,_0x1f0973]of _0x392558)_0x1f0973['start']['isEqual'](_0x37eae5[_0x53924d]['previousPosition'])&&_0x37eae5[_0x53924d]['markersStart']['push'](_0x391f54),_0x1f0973['end']['isEqual'](_0x37eae5[_0x53924d]['nextPosition'])&&_0x37eae5[_0x53924d]['markersEnd']['push'](_0x391f54);}['_joinTapes'](_0x235514,_0x406cd5){let _0x509be6=[],_0x39cd9e=0x0,_0x46c252=0x0;for(;_0x39cd9e<_0x235514['length']||_0x46c252<_0x406cd5['length'];){const _0x1b0039=_0x235514[_0x39cd9e]||{},_0x2a7f18=_0x406cd5[_0x46c252]||{};if(_0x1b0039['id']==_0x2a7f18['id'])_0x39cd9e++,_0x46c252++,_0x509be6['push'](_0x1b0039);else{if(_0x2a7f18['isRemoved']&&_0x1b0039['isAdded']){const {commonTape:_0xf45478,iEnd:_0x5659f7,jEnd:_0x21a9e5}=this['_threeWayMerge'](_0x235514,_0x39cd9e,_0x406cd5,_0x46c252);_0x509be6=_0x509be6['concat'](_0xf45478),_0x39cd9e=_0x5659f7,_0x46c252=_0x21a9e5;}else _0x2a7f18['isRemoved']?(_0x46c252++,_0x509be6['push'](_0x2a7f18)):(_0x39cd9e++,_0x509be6['push'](_0x1b0039));}}return _0x509be6;}['_markSuggestions'](_0x30e21b,_0x2af195){const _0x33c3a6=[];for(let _0x10c5a8=0x0;_0x10c5a8<_0x30e21b['length'];_0x10c5a8++){for(let _0x811ea0=0x0;_0x811ea0<_0x30e21b[_0x10c5a8]['markersStart']['length'];_0x811ea0++){const _0x1e1949=_0x30e21b[_0x10c5a8]['markersStart'][_0x811ea0];if(!_0x2af195['has'](_0x1e1949))continue;const {group:_0x23079e,type:_0x5bf026,authorId:_0x51f790}=_0x2143aa(_0x1e1949);'revision-suggestion'!=_0x23079e||'insertion'!=_0x5bf026&&'deletion'!=_0x5bf026||(_0x33c3a6['unshift']({'type':_0x5bf026,'name':_0x1e1949,'userId':_0x51f790}),_0x30e21b[_0x10c5a8]['markersStart']['splice'](_0x811ea0,0x1),_0x811ea0--);}_0x271412(_0x30e21b[_0x10c5a8]);for(let _0x3b409a=0x0;_0x3b409a<_0x30e21b[_0x10c5a8]['markersEnd']['length'];_0x3b409a++){const _0x47a562=_0x30e21b[_0x10c5a8]['markersEnd'][_0x3b409a];if(!_0x2af195['has'](_0x47a562))continue;const {group:_0x4524be,type:_0x50bec2}=_0x2143aa(_0x47a562);if('revision-suggestion'!=_0x4524be||'insertion'!=_0x50bec2&&'deletion'!=_0x50bec2)continue;_0x30e21b[_0x10c5a8]['markersEnd']['splice'](_0x3b409a,0x1),_0x3b409a--;const _0x3ca4fd=_0x33c3a6['findIndex'](_0x3d2925=>_0x3d2925['name']==_0x47a562);_0x3ca4fd>-0x1&&_0x33c3a6['splice'](_0x3ca4fd,0x1);}}function _0x2143aa(_0x2894fb){const _0x2ae98b=_0x2894fb['split'](':');return{'group':_0x2ae98b[0x0],'type':_0x2ae98b[0x1],'subType':_0x2ae98b['length']>=0x5?_0x2ae98b[0x2]:null,'id':_0x2ae98b['length']<0x5?_0x2ae98b[0x2]:_0x2ae98b[0x3],'authorId':_0x2ae98b['length']<0x5?_0x2ae98b[0x3]:_0x2ae98b[0x4],'markerCount':0x6==_0x2ae98b['length']?_0x2ae98b[0x5]:null};}function _0x271412(_0x34a1e1){for(let _0x12b6f4=0x0;_0x12b6f4<_0x33c3a6['length'];_0x12b6f4++){if(_0x34a1e1['isAdded']&&'insertion'==_0x33c3a6[_0x12b6f4]['type'])return _0x34a1e1['isAddSuggestion']=_0x33c3a6[_0x12b6f4],void delete _0x34a1e1['isAdded'];if(!_0x34a1e1['isAdded']&&!_0x34a1e1['isRemoved']&&'deletion'==_0x33c3a6[_0x12b6f4]['type'])return void(_0x34a1e1['isRemoveSuggestion']=_0x33c3a6[_0x12b6f4]);}}}['_setDistance'](_0xd706ac,_0x3d4fbc){let _0x25a8ef=0x0,_0x125a3a=!0x1;const _0x3d81de=new Map();for(const _0x1a2faa of _0xd706ac)_0x1a2faa[_0x3d4fbc]?_0x125a3a&&(_0x25a8ef++,_0x125a3a=!0x1):(_0x25a8ef++,_0x125a3a=!0x0),_0x3d81de['set'](_0x1a2faa['id'],_0x25a8ef);for(let _0x5cf892=0x0;_0x5cf892<_0xd706ac['length'];_0x5cf892++){if('isRemoved'==_0x3d4fbc&&_0xd706ac[_0x5cf892]['isAdded']||'isAdded'==_0x3d4fbc&&_0xd706ac[_0x5cf892]['isRemoved'])continue;if('text'==_0xd706ac[_0x5cf892]['type']){_0xd706ac[_0x5cf892]['distance']=0x0;continue;}const _0x2aea78=_0x3d81de['get'](_0xd706ac[_0x5cf892]['pairId']),_0x58f217=_0x3d81de['get'](_0xd706ac[_0x5cf892]['id']);_0xd706ac[_0x5cf892]['distance']=_0x2aea78-_0x58f217;}}['_getRevisionsRange'](_0x208f61,_0x357b4c,_0x310479=!0x1){const _0x4ddfcc=[];let _0x8bb7d4=this['repository']['getIndex'](_0x208f61),_0x1415e5=this['repository']['getIndex'](_0x357b4c);for(-0x1==_0x1415e5&&(_0x1415e5=this['repository']['_revisions']['length'],_0x310479=!0x1);_0x8bb7d4<_0x1415e5;)_0x4ddfcc['push'](this['repository']['getRevision'](_0x8bb7d4)),_0x8bb7d4++;return _0x310479&&_0x4ddfcc['push'](this['repository']['getRevision'](_0x8bb7d4)),_0x4ddfcc;}['_threeWayMerge'](_0x5cc55d,_0x5b55ac,_0x57fc69,_0x432e16){const _0xdbf44d=this['editor']['model']['schema'];let _0x1aeb9b=_0x5b55ac;for(;_0x5cc55d[_0x1aeb9b]&&_0x5cc55d[_0x1aeb9b]['isAdded'];)_0x1aeb9b++;let _0x149a24=_0x432e16;for(;_0x57fc69[_0x149a24]&&_0x57fc69[_0x149a24]['isRemoved'];)_0x149a24++;_0x4a6502(_0x5cc55d,_0x5b55ac,_0x1aeb9b),_0x4a6502(_0x57fc69,_0x432e16,_0x149a24);const _0x4082d4=_0x57fc69['slice'](_0x432e16,_0x149a24)['concat'](_0x5cc55d['slice'](_0x5b55ac,_0x1aeb9b));return _0x4082d4['sort']((_0x593ae7,_0x441ca2)=>_0x593ae7['side']!=_0x441ca2['side']?_0x593ae7['side']-_0x441ca2['side']:_0x593ae7['level']!=_0x441ca2['level']?_0x593ae7['level']-_0x441ca2['level']:_0x593ae7['distance']!=_0x441ca2['distance']?_0x441ca2['distance']-_0x593ae7['distance']:!!_0x593ae7['isAdded']!=!!_0x441ca2['isAdded']?-0x1==_0x593ae7['side']||0x0==_0x593ae7['side']?_0x593ae7['isAdded']?-0x1:0x1:_0x593ae7['isAdded']?0x1:-0x1:_0x593ae7['index']-_0x441ca2['index']),{'commonTape':_0x4082d4,'iEnd':_0x1aeb9b,'jEnd':_0x149a24};function _0x4a6502(_0x3b7f17,_0x227036,_0x776e29){let _0xb83dd6=-0x1,_0xb8207e=Number['POSITIVE_INFINITY'],_0x35f2f3=!0x0;for(let _0x3b45fd=_0x227036;_0x3b45fd<_0x776e29;_0x3b45fd++)if(_0xdbf44d['isInline'](_0x3b7f17[_0x3b45fd]['item'])||(_0x35f2f3=!0x1),_0x3b7f17[_0x3b45fd]['item']['startIndex']<_0x227036&&(_0xb83dd6=_0x3b45fd),_0x3b7f17[_0x3b45fd]['item']['endIndex']>=_0x776e29){_0xb8207e=_0x3b45fd;break;}_0x35f2f3&&(_0xb83dd6=_0x776e29-0x1);for(let _0x5c5337=_0x227036;_0x5c5337<_0x776e29;_0x5c5337++)_0x3b7f17[_0x5c5337]['side']=_0x5c5337<=_0xb83dd6?-0x1:_0x5c5337<_0xb8207e?0x0:0x1,_0x3b7f17[_0x5c5337]['index']=_0x5c5337;let _0x37a599=0x0;for(let _0x187f70=_0x227036;_0x187f70<=_0xb83dd6;_0x187f70++)0x0==_0x3b7f17[_0x187f70]['distance']?_0x3b7f17[_0x187f70]['level']=_0x37a599:(_0x37a599++,_0x3b7f17[_0x187f70]['level']=_0x37a599,_0x37a599++);for(let _0x197d46=_0x227036;_0x197d46<_0x776e29;_0x197d46++)0x0==_0x3b7f17[_0x197d46]['side']&&(_0x3b7f17[_0x197d46]['level']=_0x37a599);_0x37a599=0x0;for(let _0x483569=_0x776e29-0x1;_0x483569>=_0xb8207e;_0x483569--)0x0==_0x3b7f17[_0x483569]['distance']?_0x3b7f17[_0x483569]['level']=_0x37a599:(_0x37a599--,_0x3b7f17[_0x483569]['level']=_0x37a599,_0x37a599--);}}['_fixObsoleteTags'](_0x2fc7e8){const _0x532c9c=new Map(),_0x229ae1=this['editor']['model']['schema'];for(let _0x55b6af=0x1;_0x55b6af<_0x2fc7e8['length'];_0x55b6af++){let _0x455e97,_0x69d67b,_0x1760e1;const _0x4deca3=_0x2fc7e8[_0x55b6af],_0xb77feb=_0x2fc7e8[_0x55b6af-0x1];if('text'==_0x4deca3['type'])continue;if(_0x4deca3['type']!=_0xb77feb['type'])continue;if(!_0x229ae1['isBlock'](_0xb77feb['item'])||_0x229ae1['isLimit'](_0xb77feb['item']))continue;if(!_0x229ae1['isBlock'](_0x4deca3['item'])||_0x229ae1['isLimit'](_0x4deca3['item']))continue;if((_0x2fc7e8[_0x55b6af]['isAdded']||_0x2fc7e8[_0x55b6af]['isAddSuggestion'])&&_0x2fc7e8[_0x55b6af-0x1]['isRemoved'])_0x455e97=_0x2fc7e8[_0x55b6af],_0x69d67b=_0x2fc7e8[_0x55b6af-0x1],_0x1760e1=_0x55b6af-0x1;else{if(!_0x2fc7e8[_0x55b6af]['isRemoved']||!_0x2fc7e8[_0x55b6af-0x1]['isAdded']&&!_0x2fc7e8[_0x55b6af-0x1]['isAddSuggestion'])continue;_0x455e97=_0x2fc7e8[_0x55b6af-0x1],_0x69d67b=_0x2fc7e8[_0x55b6af],_0x1760e1=_0x55b6af;}const _0x2055bf=_0x455e97['level']==_0x69d67b['level'],_0x393dfd=Math['abs'](_0x455e97['level'])<Math['abs'](_0x69d67b['level'])&&0x0==_0x69d67b['distance'];(_0x2055bf||_0x393dfd)&&(_0x532c9c['set'](_0x69d67b['id'],_0x455e97['id']),_0x2fc7e8['splice'](_0x1760e1,0x1),_0x55b6af--,_0x455e97['isAdded']=!0x1);}for(let _0x1e9dbd=0x0;_0x1e9dbd<_0x2fc7e8['length'];_0x1e9dbd++)_0x532c9c['has'](_0x2fc7e8[_0x1e9dbd]['pairId'])&&(_0x2fc7e8[_0x1e9dbd]['pairId']=_0x532c9c['get'](_0x2fc7e8[_0x1e9dbd]['pairId']));}['_removeMissingPairs'](_0x42428d){const _0x22be63=new Set(_0x42428d['map'](_0x522a73=>_0x522a73['id']));for(let _0x8e68fe=0x0;_0x8e68fe<_0x42428d['length'];_0x8e68fe++)_0x22be63['has'](_0x42428d[_0x8e68fe]['pairId'])||0x0==_0x42428d[_0x8e68fe]['distance']||(_0x42428d[_0x8e68fe]['isIncorrect']=!0x0);return _0x42428d['filter'](_0x39c60d=>!_0x39c60d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x39c7b1){const _0x4ed499=new Set();for(let _0x1f8740=0x0;_0x1f8740<_0x39c7b1['length'];_0x1f8740++){if(_0x4ed499['has'](_0x39c7b1[_0x1f8740]['id'])&&_0x39c7b1[_0x1f8740]['isRemoved']&&(_0x39c7b1[_0x1f8740]['isIncorrect']=!0x0),_0x39c7b1[_0x1f8740]['isIncorrect'])continue;if(0x0==_0x39c7b1[_0x1f8740]['distance'])continue;if('elementStart'!=_0x39c7b1[_0x1f8740]['type'])continue;if(null==_0x39c7b1[_0x1f8740]['pairId'])continue;let _0x2dc432=_0x1f8740+0x1,_0x5ed3ca=0x0;for(;_0x39c7b1[_0x2dc432]['id']!=_0x39c7b1[_0x1f8740]['pairId'];)'elementStart'==_0x39c7b1[_0x2dc432]['type']?_0x5ed3ca++:'elementEnd'==_0x39c7b1[_0x2dc432]['type']&&_0x5ed3ca--,_0x2dc432++;if(0x0!=_0x5ed3ca){if(_0x39c7b1[_0x1f8740]['isRemoved'])_0x39c7b1[_0x1f8740]['isIncorrect']=!0x0;else{for(;_0x2dc432!=_0x1f8740;)_0x39c7b1[_0x2dc432]['isRemoved']&&0x0!=_0x39c7b1[_0x2dc432]['distance']&&(_0x39c7b1[_0x2dc432]['isIncorrect']=!0x0,_0x4ed499['add'](_0x39c7b1[_0x2dc432]['pairId'])),_0x2dc432--;}}}return _0x39c7b1['filter'](_0x35b9b1=>!_0x35b9b1['isIncorrect']);}['_removeUnsupportedChanges'](_0xaa46c9){const _0xcb18ae=this['editor']['model']['schema'];for(let _0x762504=0x0;_0x762504<_0xaa46c9['length'];_0x762504++){if(!(_0xaa46c9[_0x762504]['isAdded']||_0xaa46c9[_0x762504]['isAddSuggestion']||_0xaa46c9[_0x762504]['isRemoved']||_0xaa46c9[_0x762504]['isRemoveSuggestion']))continue;if(0x0==_0xaa46c9[_0x762504]['distance'])continue;const _0x53372e=_0xaa46c9[_0x762504]['item'];_0xcb18ae['isBlock'](_0x53372e)||_0xcb18ae['isLimit'](_0x53372e)||(_0xaa46c9[_0x762504]['isAdded']&&delete _0xaa46c9[_0x762504]['isAdded'],_0xaa46c9[_0x762504]['isAddSuggestion']&&delete _0xaa46c9[_0x762504]['isAddSuggestion'],_0xaa46c9[_0x762504]['isRemoveSuggestion']&&delete _0xaa46c9[_0x762504]['isRemoveSuggestion'],_0xaa46c9[_0x762504]['isRemoved']&&(_0xaa46c9[_0x762504]['isIncorrect']=!0x0));}return _0xaa46c9['filter'](_0x5c83a8=>!_0x5c83a8['isIncorrect']);}['_makeModelFromTape'](_0xb7f291,_0x55d7f8,_0x175e3f){const _0x3bd2f6=new wt(),_0x56347e=[],_0x59842e=new Map(),_0x3dc15f=this['editor']['model'],_0xa2c72f=_0x3dc15f['schema'],_0x237425=[_0x3bd2f6],_0x4f065e={},_0x197f01={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5bf880=null;const _0xf1026d=[0x0];for(let _0x3ed7eb=0x0;_0x3ed7eb<_0xb7f291['length'];_0x3ed7eb++){let _0x2d6e7c,_0x5b7905;if('elementStart'===_0xb7f291[_0x3ed7eb]['type']){_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d);const _0x23b23e=new ft(_0xb7f291[_0x3ed7eb]['item']['name'],_0xb7f291[_0x3ed7eb]['item']['getAttributes']());_0x237425[0x0]['_appendChild'](_0x23b23e),_0xf1026d['push'](0x0),_0x237425['unshift'](_0x23b23e),_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880=null;}else{if('elementEnd'===_0xb7f291[_0x3ed7eb]['type'])_0x237425['shift'](),_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0xf1026d['pop'](),_0xf1026d[_0xf1026d['length']-0x1]++,_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880=null;else{if(_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880&&_0x435201(_0x5bf880,_0xb7f291[_0x3ed7eb]['item']))_0x5bf880['_data']+=_0xb7f291[_0x3ed7eb]['item']['data'];else{const _0x22906a=new _t(_0xb7f291[_0x3ed7eb]['item']['data'],_0xb7f291[_0x3ed7eb]['item']['getAttributes']());_0x237425[0x0]['_appendChild'](_0x22906a),_0x5bf880=_0x22906a;}_0xf1026d[_0xf1026d['length']-0x1]+=_0xb7f291[_0x3ed7eb]['item']['offsetSize'],_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d);}}for(const _0x3069c2 of _0xb7f291[_0x3ed7eb]['markersStart'])_0x59842e['set'](_0x3069c2,{'start':_0x2d6e7c,'end':null});_0x1b6abe('isRemoveSuggestion',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isAddSuggestion',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isRemoved',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isAdded',_0x3ed7eb,_0x2d6e7c,_0x5b7905);for(const _0x7dee5d of _0xb7f291[_0x3ed7eb]['markersEnd']){_0x59842e['get'](_0x7dee5d)['end']=_0x5b7905;}}for(const [_0xf7bca4,_0x14be01]of _0x59842e){const _0x2b2827=this['editor']['model']['createRange'](_0x14be01['start'],_0x14be01['end']);_0x3bd2f6['markers']['set'](_0xf7bca4,_0x2b2827);}return _0x56347e['sort']((_0x11e6ee,_0x2a9c4d)=>{const _0x635f17=_0x3bd2f6['markers']['get']('revision:'+_0x11e6ee['id']),_0x45f97f=_0x3bd2f6['markers']['get']('revision:'+_0x2a9c4d['id']);return _0x635f17['start']['isBefore'](_0x45f97f['start'])?-0x1:_0x635f17['start']['isAfter'](_0x45f97f['start'])?0x1:_0x635f17['end']['isBefore'](_0x45f97f['end'])?-0x1:_0x635f17['end']['isAfter'](_0x45f97f['end'])?0x1:'add'===_0x11e6ee['type']?-0x1:0x1;}),{'root':_0x3bd2f6,'changes':_0x56347e};function _0x1b6abe(_0x179714,_0x3de4a3,_0x1c939d,_0x36ceab){const _0xa17389=!!_0xb7f291[_0x3de4a3][_0x179714],_0xec1383=_0xa17389?_0xb7f291[_0x3de4a3][_0x179714]['userId']:null,_0x127fd0=_0x3de4a3===_0xb7f291['length']-0x1,_0x3264b0=_0x197f01[_0x179714][0x0],_0x3bdb0f=_0xa2c72f['isObject'](_0xb7f291[_0x3de4a3]['item']);!_0x4f065e[_0x179714]&&_0xa17389?_0x4f065e[_0x179714]={'start':_0x1c939d,'tapeItem':_0xb7f291[_0x3de4a3],'userId':_0xec1383,'type':_0x179714}:_0x4f065e[_0x179714]&&!_0xa17389?(_0x4f065e[_0x179714]['end']=_0x1c939d,_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]=null):_0x4f065e[_0x179714]&&_0xa17389&&_0x4f065e[_0x179714]['userId']!==_0xec1383&&(_0x4f065e[_0x179714]['end']=_0x1c939d,_0x3264b0&&_0x3264b0['userId']===_0x4f065e[_0x179714]['userId']||_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]={'start':_0x1c939d,'tapeItem':_0xb7f291[_0x3de4a3],'userId':_0xec1383,'type':_0x179714}),_0x4f065e[_0x179714]&&_0x3bdb0f&&('elementStart'!==_0xb7f291[_0x3de4a3]['type']||_0x3264b0&&_0x3264b0['userId']===_0xec1383||_0x197f01[_0x179714]['unshift']({'userId':_0xec1383,'object':_0xb7f291[_0x3de4a3]['item'],'change':_0x4f065e[_0x179714]}),'elementEnd'===_0xb7f291[_0x3de4a3]['type']&&_0x3264b0&&_0x3264b0['object']===_0xb7f291[_0x3de4a3]['item']&&(_0x197f01[_0x179714]['shift'](),_0x4f065e[_0x179714]=_0x3264b0['change'])),_0x4f065e[_0x179714]&&_0x127fd0&&(_0x4f065e[_0x179714]['end']=_0x36ceab,_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]=null);}function _0xfcc3c0({start:_0x2a1988,end:_0x403e53,tapeItem:_0x326ee9,userId:_0x9bf5aa,type:_0x2972ba}){const _0x5aa277=_0x326ee9['item'],_0x47860e=_0x3dc15f['schema']['isBlock'](_0x5aa277)&&!_0x3dc15f['schema']['isLimit'](_0x5aa277),_0x11ca93=_0x2a1988['nodeAfter']==_0x403e53['parent']&&_0x403e53['isAtStart'];if(_0x47860e&&_0x11ca93)return;const _0x57bf19=_0x3dc15f['createRange'](_0x2a1988,_0x403e53),_0x31d7f3=_0x55d7f8['get'](_0x9bf5aa),_0x75832c=new r({'author':_0x31d7f3,'type':'isAdded'==_0x2972ba||'isAddSuggestion'==_0x2972ba?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2972ba||'isRemoveSuggestion'==_0x2972ba},'createdAt':new Date(),'rootName':_0x175e3f});_0x56347e['push'](_0x75832c),_0x3bd2f6['markers']['set']('revision:'+_0x75832c['id'],_0x57bf19);}function _0x435201(_0x33c1c6,_0x1bbb70){const _0x26eeac=_0x33c1c6['getAttributes'](),_0x3ac96d=_0x1bbb70['getAttributes']();for(const _0x22c8c5 of _0x26eeac){if(_0x22c8c5[0x1]!==_0x1bbb70['getAttribute'](_0x22c8c5[0x0]))return!0x1;_0x3ac96d['next']();}return _0x3ac96d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x307afb=>{const _0x5c4776=_0x307afb['markerName']['split'](':')[0x1],_0xfa16f3=this['_getChangeFromId'](_0x5c4776);if(!_0xfa16f3)return null;const _0x3d1883='add'==_0xfa16f3['type']?'insertion':'deletion',_0x530adf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3d1883];return _0xfa16f3['data']['isSuggestion']&&_0x530adf['push']('ck-suggestion-marker-'+_0x3d1883+'-new'),this['activeChange']==_0xfa16f3&&_0x530adf['push']('ck-suggestion-marker--active'),{'classes':_0x530adf,'attributes':{'data-change-id':_0x5c4776}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x16c5ea=>{_0x16c5ea['on']('element:pre',(_0x4765c8,_0x5790b2,_0x49c682)=>{const _0x2323f3=_0x5790b2['viewItem']['getChild'](0x0);if(!_0x2323f3||!_0x2323f3['is']('element','code'))return;if(!_0x49c682['consumable']['consume'](_0x2323f3,{'attributes':['vid_start','vid_end']}))return;const _0x26b101=_0x5790b2['modelRange']['start']['nodeAfter'];_0x49c682['writer']['setAttribute']('vid_start',_0x2323f3['getAttribute']('vid_start'),_0x26b101),_0x49c682['writer']['setAttribute']('vid_end',_0x2323f3['getAttribute']('vid_end'),_0x26b101);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x17b113=>{_0x17b113['on']('element',(_0x1a9f07,_0x5df018,_0x50e310)=>{if(!_0x50e310['consumable']['consume'](_0x5df018['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5df018['modelRange']['isCollapsed'])return;const _0xbb8bd8=_0x5df018['modelRange']['start']['nodeAfter'];_0xbb8bd8['hasAttribute']('vid_start')||_0xbb8bd8['hasAttribute']('vid')||(_0x50e310['writer']['setAttribute']('vid_start',_0x5df018['viewItem']['getAttribute']('vid_start'),_0xbb8bd8),_0x50e310['writer']['setAttribute']('vid_end',_0x5df018['viewItem']['getAttribute']('vid_end'),_0xbb8bd8));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5bf34f=>_0x5bf34f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4f12c1,[,_0x283d97])=>{['vid_start','vid_end','vid']['includes'](_0x283d97)&&(_0x4f12c1['return']=!0x0,_0x4f12c1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2fe8e9=>{_0x2fe8e9['on']('attribute:vid',(_0xd6d6d2,_0x17df39,_0x328e73)=>{if('\x20'!=_0x17df39['item']['data']||_0x17df39['item']['parent']['maxOffset']>0x1)return;if(!_0x328e73['consumable']['consume'](_0x17df39['item'],_0xd6d6d2['name']))return;const _0x357908=_0x328e73['writer'],_0x11eb77=_0x328e73['mapper']['toViewRange'](_0x17df39['range']);_0x357908['wrap'](_0x11eb77,_0x357908['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5d5e8a){const _0xeff63d=_0x5d5e8a['plugins']['get']('RevisionViewer');return(_0x269702,_0x1a39a3,_0x353ef4)=>{const _0x2f789d=_0x1a39a3['markerName']['split'](':')[0x1],_0x2ff93b=_0xeff63d['_getChangeFromId'](_0x2f789d);if(!_0x2ff93b)return null;const _0x50f4e4='add'==_0x2ff93b['type']?'split':'merge';if(!_0x353ef4['consumable']['test'](_0x1a39a3['markerRange'],_0x269702['name']))return;const _0x161528=_0x1a39a3['markerRange']['getWalker'](),_0x285820=_0x1a39a3['markerRange']['start'],_0x3505bb=_0x5d5e8a['model']['schema'];let _0x38904b=null,_0x570c0b=null,_0x2fd4ac=!0x1,_0x4ddb66=!0x1;for(const _0x534fa0 of _0x161528){const _0x1cf679=_0x534fa0['item'];_0x2fd4ac=_0x2fd4ac||_0x3505bb['isContent'](_0x1cf679);const _0x58cd02=_0x353ef4['mapper']['toViewElement'](_0x1cf679);if(_0x58cd02&&_0x58cd02['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x534fa0['type']&&(_0x3505bb['isBlock'](_0x1cf679)&&!_0x3505bb['isLimit'](_0x1cf679)&&(_0x1cf679['nextSibling']||_0x285820['isAtEnd']?_0x38904b&&_0x38904b['parent']==_0x1cf679||(_0x38904b=_0x1cf679,_0x58d30b(_0x534fa0['previousPosition']),_0x4ddb66=!0x0):_0x570c0b=_0x570c0b||_0x534fa0['previousPosition']));}function _0x58d30b(_0x29d4a5){const _0x28f468=_0x353ef4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x50f4e4}),_0x185cfd=_0x353ef4['mapper']['toViewPosition'](_0x29d4a5);_0x2ff93b['data']['isSuggestion']&&_0x353ef4['writer']['addClass']('ck-suggestion-marker-'+_0x50f4e4+'-new',_0x28f468),_0xeff63d['activeChange']==_0x2ff93b&&_0x353ef4['writer']['addClass']('ck-suggestion-marker--active',_0x28f468),_0x353ef4['writer']['insert'](_0x185cfd,_0x28f468),_0x353ef4['mapper']['bindElementToMarker'](_0x28f468,_0x1a39a3['markerName']);}_0x2fd4ac||_0x4ddb66||!_0x570c0b||_0x58d30b(_0x570c0b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3e6fa8,_0x5bf05b,_0x3751cb)=>{const _0x2ecb8b=_0x3751cb['mapper']['markerNameToElements'](_0x5bf05b['markerName']);if(_0x2ecb8b){for(const _0x42a55f of _0x2ecb8b)(_0x42a55f['hasClass']('ck-suggestion-marker-split')||_0x42a55f['hasClass']('ck-suggestion-marker-merge'))&&(_0x3751cb['mapper']['unbindElementFromMarkerName'](_0x42a55f,_0x5bf05b['markerName']),_0x3751cb['writer']['remove'](_0x42a55f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x302e2b,_0x789a88,_0x48de6b)=>{const _0x21351f=_0x789a88['markerName']['split'](':')[0x1],_0x26dc65=this['_getChangeFromId'](_0x21351f);if(!_0x26dc65)return null;const _0x3a1889='add'==_0x26dc65['type']?'split':'merge';if(_0x48de6b['consumable']['test'](_0x789a88['markerRange'],_0x302e2b['name']))for(const _0x3a70c6 of _0x789a88['markerRange']['getItems']()){if(!_0x3a70c6['is']('element','softBreak'))continue;const _0xbbbaa3=_0x48de6b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a1889}),_0x594e8e=_0x48de6b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3a70c6));_0x26dc65['data']['isSuggestion']&&_0x48de6b['writer']['addClass']('ck-suggestion-marker-'+_0x3a1889+'-new',_0xbbbaa3),this['activeChange']==_0x26dc65&&_0x48de6b['writer']['addClass']('ck-suggestion-marker--active',_0xbbbaa3),_0x48de6b['writer']['insert'](_0x594e8e,_0xbbbaa3),_0x48de6b['mapper']['bindElementToMarker'](_0xbbbaa3,_0x789a88['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x44c1a9=>{for(const _0x2b17e5 of this['editor']['model']['document']['getRootNames']()){const _0x39c10b=this['editor']['model']['document']['getRoot'](_0x2b17e5),_0x3345a0=this['editor']['editing']['view']['document']['getRoot'](_0x2b17e5);if(_0x3345a0){const _0x222cec=_0x39c10b['getAttribute']('revisionHistoryAttachChange');if(_0x44c1a9['removeAttribute']('data-change-id',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root-add',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root-remove',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root--active',_0x3345a0),_0x222cec){const _0x4e2203=this['_getChangeFromId'](_0x222cec);if(!_0x4e2203)return null;_0x44c1a9['setAttribute']('data-change-id',_0x222cec,_0x3345a0),_0x44c1a9['addClass']('ck-revision-history-root-'+_0x4e2203['type'],_0x3345a0),this['activeChange']==_0x4e2203&&_0x44c1a9['addClass']('ck-revision-history-root--active',_0x3345a0);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4424ff=>'revision-comment:'+_0x4424ff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5e660a=>'revision-suggestion:'+_0x5e660a,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x415842=>({'name':'suggestion:'+_0x415842,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x19e884=>{const _0x54bfaa=_0x19e884['markerName']['split'](':')[0x1];return'insertion'!=_0x54bfaa&&'deletion'!=_0x54bfaa?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x54bfaa]};}}),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',(_0x53711a,_0x2cf5d8,_0x189167)=>{const _0x22a9d6=_0x189167['mapper']['markerNameToElements'](_0x2cf5d8['markerName']);if(_0x22a9d6){for(const _0x509280 of _0x22a9d6)_0x509280['is']('uiElement')&&(_0x189167['mapper']['unbindElementFromMarkerName'](_0x509280,_0x2cf5d8['markerName']),_0x189167['writer']['remove'](_0x509280));}},{'priority':'high'});}['_getChangeFromId'](_0x2f7ca2){return this['_changeIdToChange']['get'](_0x2f7ca2);}['_getViewForChange'](_0x3e17e6){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3e17e6),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x6cb042,_0x2c9c37,_0x3f2b27,_0x354c34)=>{_0x354c34&&this['_balloon']['remove'](_0x354c34),_0x3f2b27&&(this['_balloon']['add']({'view':_0x3f2b27,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2b8cd4=this['editor']['editing'],_0x4d3e3e=this['_getChangeFromId'](_0x3f2b27['changeId']);let _0x7d762a;if(_0x4d3e3e['data']['isOnRoot']){const _0x3c2fda=_0x2b8cd4['view']['getDomRoot'](_0x4d3e3e['rootName']);_0x7d762a=Array['from'](_0x3c2fda['getClientRects']());}else{const _0x3cdfda=this['editor']['model']['markers']['get']('revision:'+_0x3f2b27['changeId']);_0x7d762a=Array['from'](_0x2b8cd4['mapper']['markerNameToElements'](_0x3cdfda['name']))['map'](_0x3e577f=>_0x2b8cd4['view']['domConverter']['mapViewToDom'](_0x3e577f))['map'](_0x4c9b0f=>Array['from'](_0x4c9b0f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x7d762a[0x0];return _0x7d762a['find'](_0x4ca52f=>_0x4ca52f['top']-0x3<=this['_activeViewTarget']['y']&&_0x4ca52f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4ca52f['left']-0x3<=this['_activeViewTarget']['x']&&_0x4ca52f['right']+0x3>=this['_activeViewTarget']['x'])||_0x7d762a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3fa4a1,_0x3cdac3,_0x35e400,_0x19b358)=>{this['activeView']=_0x35e400?this['_getViewForChange'](_0x35e400):null,this['editor']['model']['change'](()=>{const _0x5a4493=this['editor']['editing'];_0x19b358&&(_0x19b358['data']['isOnRoot']?_0x5a4493['view']['change'](_0x25e90d=>{_0x25e90d['removeClass']('ck-revision-history-root--active',_0x5a4493['view']['document']['getRoot'](_0x19b358['rootName']));}):_0x5a4493['reconvertMarker']('revision:'+_0x19b358['id'])),_0x35e400&&(_0x35e400['data']['isOnRoot']?_0x5a4493['view']['change'](_0x18a14e=>{_0x18a14e['addClass']('ck-revision-history-root--active',_0x5a4493['view']['document']['getRoot'](_0x35e400['rootName']));}):_0x5a4493['reconvertMarker']('revision:'+_0x35e400['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x38784d,_0x24305c)=>{if(this['activeChange'])return;const _0x331964=this['_findChangeIdFromDomTarget'](_0x24305c['target']),_0x158e23=this['_changeIdToChange']['get'](_0x331964);_0x158e23?(this['_activeViewTarget']={'x':_0x24305c['domEvent']['x'],'y':_0x24305c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x158e23)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x305008,_0x347404)=>{const _0x5ae25f=this['_findChangeIdFromDomTarget'](_0x347404['target']),_0x31af82=this['_changeIdToChange']['get'](_0x5ae25f);_0x31af82?(this['_activeViewTarget']={'x':_0x347404['domEvent']['x'],'y':_0x347404['domEvent']['y']},_0x31af82===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x31af82):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5b2440){do{const _0x59e6ce=_0x5b2440['getAttribute']('data-change-id');if(_0x59e6ce)return _0x59e6ce;_0x5b2440=_0x5b2440['parent'];}while(_0x5b2440);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x218d85=>{for(const _0x11a532 of this['editor']['model']['markers'])_0x218d85['removeMarker'](_0x11a532);});}}function et(_0x4ed8c2,_0x2a89fc){return(_0x18d742,_0x4db810,_0x191fdb)=>{if(!_0x191fdb['consumable']['test'](_0x4db810['markerRange'],_0x18d742['name']))return;const _0x195b48=_0x4db810['markerRange']['getWalker'](),_0x98d5df=_0x4db810['markerRange']['start'],_0x242c0c=_0x4ed8c2['model']['schema'];let _0x273d9f=null,_0x2008fb=null,_0xa9f87f=!0x1,_0x1bc40c=!0x1;for(const _0x57d6ca of _0x195b48){const _0x207e39=_0x57d6ca['item'];_0xa9f87f=_0xa9f87f||_0x242c0c['isContent'](_0x207e39);const _0x3d3785=_0x191fdb['mapper']['toViewElement'](_0x207e39);if(_0x3d3785&&_0x3d3785['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x57d6ca['type']&&(_0x242c0c['isBlock'](_0x207e39)&&!_0x242c0c['isLimit'](_0x207e39)&&(_0x207e39['nextSibling']||_0x98d5df['isAtEnd']?_0x273d9f&&_0x273d9f['parent']==_0x207e39||(_0x273d9f=_0x207e39,_0x2ec2b5(_0x57d6ca['previousPosition']),_0x1bc40c=!0x0):_0x2008fb=_0x2008fb||_0x57d6ca['previousPosition']));}function _0x2ec2b5(_0x35fae1){const _0x375646=_0x191fdb['mapper']['toViewPosition'](_0x35fae1),_0x13282b=_0x191fdb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2a89fc});_0x191fdb['writer']['insert'](_0x375646,_0x13282b),_0x191fdb['mapper']['bindElementToMarker'](_0x13282b,_0x4db810['markerName']);}_0xa9f87f||_0x1bc40c||!_0x2008fb||_0x2ec2b5(_0x2008fb);};}class bt extends _0x269760{constructor(_0x4f1bee){super(_0x4f1bee);const _0x28837f=_0x4f1bee['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x28837f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x28837f,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x20b071=this['editor'],_0x1c32fe=_0x20b071['plugins']['get'](d),_0x56fcf7=_0x1c32fe['isReady']?_0x1c32fe['diff']['newRevisionId']:null;_0x20b071['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x56fcf7);}['refresh'](){const {isReady:_0x39eef9,isEnabled:_0x5ea318}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x39eef9&&_0x5ea318;}}class yt extends _0x269760{['_step'];constructor(_0x4ea72f,{direction:_0x37c57c}){super(_0x4ea72f);const _0xabe2d7=_0x4ea72f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x37c57c?0x1:-0x1,this['listenTo'](_0xabe2d7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xabe2d7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xabe2d7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x35c9f8=this['editor'],_0x29d45e=_0x35c9f8['plugins']['get'](d),{isNavigationMode:_0xfad39,currentChangeNumber:_0x13ccad}=_0x29d45e;let _0x50877d;if(_0x29d45e['activeChange']=_0xfad39?_0x29d45e['diff']['changes']['get'](_0x13ccad+this['_step']):_0x29d45e['diff']['changes']['first'],_0x29d45e['activeChange']['data']['isOnRoot'])_0x50877d=_0x35c9f8['editing']['view']['getDomRoot'](_0x29d45e['activeChange']['rootName']);else{const _0x891a00=_0x35c9f8['model']['markers']['get']('revision:'+_0x29d45e['activeChange']['id']);_0x50877d=_0x38896f(_0x35c9f8['editing'],_0x891a00);}_0x20aa76({'target':_0x50877d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x310271,currentChangeNumber:_0x3d6aa6,numberOfChanges:_0x5d69bb,isReady:_0x26f4c1,isEnabled:_0x575fa5}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x575fa5&&_0x26f4c1&&_0x5d69bb)&&(!_0x310271||(0x1===this['_step']?_0x3d6aa6<_0x5d69bb-0x1:_0x3d6aa6>0x0));}}class _i extends _0x4ee463{constructor(_0x5c5c5e){super(_0x5c5c5e);const _0x305ffa=this['bindTemplate'],_0x102a9b=new _0x302693(_0x5c5c5e),_0x2a6907=new _0x302693(_0x5c5c5e);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',(_0x15a121,_0x16490d)=>_0x15a121&&_0x16490d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xa3e584,_0x42bab3,_0x53950b,_0xc29271)=>{if(!_0xa3e584)return y(_0x5c5c5e,'Loading...');if(!_0x53950b)return y(_0x5c5c5e,'No\x20changes');const _0x383e88=y(_0x5c5c5e,'NUMBER_OF_CHANGES',_0x53950b);return _0xc29271?y(_0x5c5c5e,'X_OF_Y_CHANGES',[_0x42bab3+0x1,_0x53950b]):_0x383e88;}),_0x102a9b['set']({'label':y(_0x5c5c5e,'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'}),_0x2a6907['set']({'label':y(_0x5c5c5e,'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'}),_0x102a9b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2a6907['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x102a9b['on']('execute',()=>this['fire']('execute','backward')),_0x2a6907['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',_0x305ffa['if']('_isStatusLabelVisible','ck-hidden',_0x375c1b=>!_0x375c1b)]},'children':[{'text':_0x305ffa['to']('isNavigationMode',_0xbf2304=>_0xbf2304?y(_0x5c5c5e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5c5c5e,'Total')+':\x20')}]},{'text':_0x305ffa['to']('_statusText')}]},new _0x51a1d2(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x102a9b,_0x2a6907]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x25b853{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1d4bcd=this['editor']['editing']['view'];_0x1d4bcd['change'](_0x3daaad=>{for(const _0x525ed6 of _0x1d4bcd['document']['roots'])_0x3daaad['addClass'](ce,_0x525ed6);});}['hide'](){const _0x2e657b=this['editor']['editing']['view'];_0x2e657b['change'](_0x8f7712=>{for(const _0x44b067 of _0x2e657b['document']['roots'])_0x8f7712['removeClass'](ce,_0x44b067);});}}class R extends _0x25b853{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x526318=this['editor'],_0x2193aa=_0x526318['plugins']['get'](d),_0x2c65e5=_0x526318['plugins']['get'](de);_0x526318['ui']['componentFactory']['add']('exitToEditing',_0x149ba9=>{const _0x991bc5=new _0x302693(_0x149ba9);return _0x991bc5['set']({'label':y(_0x149ba9,'Back\x20to\x20editing'),'icon':_0x152ab3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x991bc5,'execute',()=>{_0x526318['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x991bc5;}),_0x526318['ui']['componentFactory']['add']('restoreRevision',_0x3e926d=>{const _0x3e46d0=new _0x302693(_0x3e926d);return _0x3e46d0['set']({'label':y(_0x3e926d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3e46d0['bind']('isEnabled')['to'](_0x526318['commands']['get']('restoreRevision')),this['listenTo'](_0x3e46d0,'execute',()=>_0x526318['execute']('restoreRevision')),_0x3e46d0;}),_0x526318['ui']['componentFactory']['add']('changesNavigation',_0x4387cc=>{const _0x462cf8=new _i(_0x4387cc),_0x5827c9=_0x526318['commands']['get']('showPreviousChange'),_0x38fc86=_0x526318['commands']['get']('showNextChange');return _0x462cf8['bind']('isBackwardNavigationEnabled')['to'](_0x5827c9,'isEnabled'),_0x462cf8['bind']('isForwardNavigationEnabled')['to'](_0x38fc86,'isEnabled'),_0x462cf8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2193aa),this['listenTo'](_0x462cf8,'execute',(_0x1e264a,_0x2ea7f9)=>{_0x526318['execute']('forward'===_0x2ea7f9?'showNextChange':'showPreviousChange');}),_0x462cf8;}),_0x2c65e5['show'](),_0x2193aa['on']('change:isReady',(_0x2bd529,_0x158378,_0x1bf83c)=>{_0x1bf83c?_0x2c65e5['hide']():_0x2c65e5['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x448398,_0x3c5fe4){super(_0x448398,_0x3c5fe4);const _0x3110e8=this['bindTemplate'];this['set']({'label':y(_0x448398,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x448398,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3110e8['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x1447b8=this['fieldView']['element'];this['_tooltipString']=_0x1447b8['scrollWidth']>_0x1447b8['clientWidth']&&_0x1447b8['value']||'';}}class ti extends _0x4ee463{constructor(_0x147f55,_0x34336c,_0x3c4266){super(_0x147f55);const _0xc1892=new _0x44637d();_0xc1892['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 _0x35f917=['ck','ck-revision-history-sidebar__revision-author'];_0x3c4266&&_0x35f917['push']('ck-revision-history-sidebar__revision-author_creator');const _0x339fef=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x147f55,_0x3c4266?'Revision\x20creator':'Revision\x20author')},'children':[_0xc1892,_0x34336c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x35f917},'children':_0x339fef});}}function ni(_0x22a0e2,_0x9b6dde){const _0x25d79b=_0x22a0e2['bindTemplate'],_0x151014=_0x22a0e2['locale'],_0x4ed02a=_0xaa4d18(_0x151014);_0x4ed02a['panelPosition']='sw';const _0x4d7c07=function(_0x237644,_0x3d3ab7){const _0x31879a=function(_0x476d8d,_0x3aba35){const _0x5a95c0=_0x476d8d['locale'],_0xa7ae95={'Compare\x20against\x20selected':y(_0x5a95c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5a95c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5a95c0,'Restore\x20this\x20revision')};return _0x3aba35['map'](_0x448ca0=>{const _0x3b383c=_0xa7ae95[_0x448ca0['name']];return _0x3b383c&&_0x3b383c!==_0x448ca0['name']&&(_0x448ca0['name']=_0x3b383c),_0x448ca0;});}(_0x237644,_0x3d3ab7),_0x272f28=new _0x17d2c9();for(const _0x124088 of _0x31879a){const _0x13b0d4={'type':'button','model':new to({'label':_0x124088['name'],'class':_0x124088['class'],'withText':!0x0,'role':'menuitem','_action':_0x124088['action']})};_0x13b0d4['model']['bind']('isEnabled')['to'](_0x237644,'isActionsDropdownOpen',_0x5918ff=>'function'!=typeof _0x124088['isEnabled']||(!_0x5918ff||_0x124088['isEnabled'](_0x237644))),_0x272f28['add'](_0x13b0d4);}return _0x272f28;}(_0x22a0e2,_0x9b6dde);return _0x22a0e2['bind']('isActionsDropdownOpen')['to'](_0x4ed02a,'isOpen'),_0x4ed02a['buttonView']['set']({'label':y(_0x151014,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x152ab3['threeVerticalDots']}),_0x4ed02a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x25d79b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x25d79b['to'](_0x1a5ee3=>_0x1a5ee3['stopPropagation']())}}),_0x4ed02a['on']('execute',_0x4ea63d=>{_0x22a0e2['isReady']&&'function'==typeof _0x4ea63d['source']['_action']&&_0x4ea63d['source']['_action'](_0x22a0e2);}),_0x1ab634(_0x4ed02a,_0x4d7c07,{'role':'menu'}),_0x4ed02a['listenTo'](_0x22a0e2,'change:isActionsDropdownOpen',(_0x315183,_0x1c7221,_0x56866b)=>{if(_0x56866b)for(const _0x523d42 of _0x4ed02a['listView']['items']){const _0xc17652=_0x523d42['children']['first'],_0x48b17a=_0x9b6dde['find'](_0x14d791=>_0x14d791['action']===_0xc17652['_action'])['isVisible'];_0x523d42['isVisible']=void 0x0===_0x48b17a||_0x48b17a(_0x22a0e2);}}),_0x4ed02a;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x61304f(_0x4ee463){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x27b71d,_0x5a4edf,_0x2e6c7c,_0x9b7cd9){super(_0x27b71d);const _0x1576be=this['bindTemplate'],_0x3b988d=function(_0x26d6ab,_0x17ff2e){const _0x406c4d=Array['from'](_0x17ff2e['authors'])['filter'](_0x676669=>_0x676669!=_0x17ff2e['creator']);return _0x17ff2e['creator']&&_0x406c4d['unshift'](_0x17ff2e['creator']),_0x406c4d['map'](_0x24f092=>new ti(_0x26d6ab,_0x24f092,_0x24f092==_0x17ff2e['creator']));}(_0x27b71d,_0x5a4edf);this['id']=_0x5a4edf['id'],this['_revision']=_0x5a4edf,this['_requireRevisionName']=_0x9b7cd9,this['bind']('name','createdAt')['to'](_0x5a4edf),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x43e659=>{return _0x5b7159=_0x27b71d['uiLanguage'],(_0xed88bb=_0x43e659)['toLocaleDateString'](_0x5b7159,{'month':'long','day':'numeric'})+',\x20'+_0xed88bb['toLocaleTimeString'](_0x5b7159,{'hour':'numeric','minute':'numeric'});var _0x5b7159,_0xed88bb;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x27b71d,_0x27a5db),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x148c3a=>_0x148c3a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fdd36,_0x3ae586)=>_0x1fdd36&&_0x3ae586),this['revisionActionsView']=_0x2e6c7c&&_0x2e6c7c['length']?ni(this,_0x2e6c7c):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1576be['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1576be['if']('isEnabled','ck-disabled',_0x272bd4=>!_0x272bd4),_0x1576be['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1576be['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1576be['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':_0x1576be['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':_0x3b988d}]},this['revisionActionsView']],'on':{'click':_0x1576be['to'](_0x198022=>{_0x198022['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2e2e47=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2e2e47,'change',()=>{this['_requireRevisionName']&&!_0x2e2e47['value']||this['fire']('setName',{'id':this['id'],'name':_0x2e2e47['value']}),_0x2e2e47['value']||(_0x2e2e47['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x3e39c3,_0x4c070c){const _0x28a40d=_0x5a8648['fromJSDate'](_0x3e39c3)['setLocale'](_0x4c070c),_0x4bd23b=_0x5a8648['local'](),_0x22198d=_0x4bd23b['minus']({'days':0x1})['startOf']('day');let _0x5d8a03,_0x122541;return _0x28a40d['hasSame'](_0x4bd23b,'day')?(_0x5d8a03=_0x28a40d['startOf']('day')['toJSDate'](),_0x122541=_0x28a40d['toRelativeCalendar']()):_0x28a40d['hasSame'](_0x22198d,'day')?(_0x5d8a03=_0x22198d['toJSDate'](),_0x122541=_0x28a40d['toRelativeCalendar']()):_0x28a40d['hasSame'](_0x4bd23b,'week')?(_0x5d8a03=_0x28a40d['startOf']('week')['toJSDate'](),_0x122541=_0x28a40d['weekdayLong']||''):_0x28a40d['hasSame'](_0x4bd23b,'year')?(_0x5d8a03=_0x28a40d['startOf']('month')['toJSDate'](),_0x122541=_0x28a40d['monthLong']||''):(_0x5d8a03=_0x28a40d['startOf']('year')['toJSDate'](),_0x122541=String(_0x28a40d['year'])),{'startDate':_0x5d8a03,'localizedPeriodName':_0x122541};}class mi extends _0x4ee463{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2a578b,_0x3c2312,_0x3cf7da,_0x15b473){super(_0x2a578b);const _0x5ad04e=di(_0x3c2312,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3c2312,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3cf7da,this['_requireRevisionName']=_0x15b473,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':_0x5ad04e}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3d35d9){const _0x4a25f0=new ai(this['locale'],_0x3d35d9,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4a25f0);}['removeRevision'](_0x1ca74a){const _0x5b479e=this['revisionViews']['find'](_0x3067c5=>_0x3067c5['id']===_0x1ca74a['id']);this['revisionViews']['remove'](_0x5b479e);}}class as extends _0x4ee463{constructor(_0x19ec30){super(_0x19ec30);const _0x1dc34e=new _0x44637d();_0x1dc34e['content']=_0x152ab3['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x1dc34e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x19ec30,'Revision\x20history')]}]});}}class ci extends _0x4ee463{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1b1f47,_0xd6d784,_0x568885,_0x51d0e){super(_0x1b1f47);const _0x273f3b=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xd6d784,this['_revisionActions']=_0x568885,this['_requireRevisionName']=_0x51d0e,this['on']('select',(_0x10491d,_0x48a1c5)=>{this['fire']('revisionSelected',_0x48a1c5);}),this['on']('setName',(_0x47e7d3,_0x4e7097)=>{this['fire']('revisionSetName',_0x4e7097);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1b1f47),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x273f3b['if']('isEnabled','ck-disabled',_0x5905b9=>!_0x5905b9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x53ba29 of this['_revisions'])this['_addRevision'](_0x53ba29);this['_revisions']['on']('add',(_0x11b93c,_0x44cc33)=>{this['_addRevision'](_0x44cc33);}),this['_revisions']['on']('remove',(_0xf70c7d,_0x32345b)=>{this['_removeRevision'](_0x32345b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4801d0=>_0x4801d0['revisionViews']['map'](_0x2376d2=>_0x2376d2))['flat']();}['selectRevision'](_0x2aaade){for(const _0x554c89 of this['revisionViews'])_0x2aaade&&_0x2aaade['id']===_0x554c89['id']?_0x554c89['select']():_0x554c89['deselect']();}['highlightRevisions'](_0x2d6a95){for(const _0x543065 of this['revisionViews'])_0x2d6a95['some'](({id:_0x5b4db7})=>_0x5b4db7===_0x543065['id'])?_0x543065['highlight']():_0x543065['unhighlight']();}['_addRevision'](_0x3f9628){const _0x257df6=di(_0x3f9628['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x43bb1a=this['timePeriodViews']['get'](0x0);_0x43bb1a&&_0x43bb1a['startDate']['getTime']()===_0x257df6['getTime']()||(_0x43bb1a=new mi(this['locale'],_0x257df6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x43bb1a)),_0x43bb1a['addRevision'](_0x3f9628);}['_removeRevision'](_0x947ba8){const _0x51aec6=di(_0x947ba8['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x51aec6)['removeRevision'](_0x947ba8);}['_getTimePeriodViewByStartDate'](_0x50c30a){return this['timePeriodViews']['find'](_0xb0c9b6=>_0xb0c9b6['startDate']['getTime']()===_0x50c30a['getTime']());}}class w extends _0x25b853{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
|
|
27
27
|
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
|
|
28
|
-
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(
|
|
29
|
-
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(
|
|
28
|
+
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x38cfa1){super(_0x38cfa1),this['_revisionViewer']=_0x38cfa1['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x394e33=this['_revisionsRepository']['_revisions'],_0xad728=this['_createRevisionActions'](),_0x1af706=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x394e33,_0xad728,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',(_0x1ec833,_0x19b676)=>{_0x19b676['revisionViews']['on']('add',(_0x36fe9d,_0x2caaa9)=>{_0x2caaa9['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)),_0x1af706['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3ae313=this['_revisionsRepository']['getRevision'](0x0);if(_0x3ae313){const _0x214313=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3ae313['id']);this['_revisionViewer']['compare'](_0x3ae313,_0x214313);}}['_handleRevisionSelected'](_0x35f075,_0x25d3e7){const _0x443a72=this['_revisionsRepository']['getRevision'](_0x25d3e7['id']),_0x195d59=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x443a72['id']);this['_revisionViewer']['compare'](_0x443a72,_0x195d59);}['_handleRevisionSetName'](_0x332491,_0xbb9224){this['_revisionsRepository']['getRevision'](_0xbb9224['id'])['setName'](_0xbb9224['name']);}['_handleDiffChange'](_0x302637,_0x40257c,_0x38c24b){const _0x69dc9e=this['_revisionsRepository']['getRevisionsInDiff'](_0x38c24b);_0x69dc9e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x69dc9e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x69dc9e[0x0]));}['_createRevisionActions'](){const _0x553089=this['editor'],_0x10e953=w['availableRevisionActions'],_0x5d02d9=_0x553089['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5d02d9['length'])return _0x5d02d9['map'](_0x2cc20c=>{const _0x3e50ef='string'==typeof _0x2cc20c?Object['assign']({},_0x10e953[_0x2cc20c]):_0x2cc20c;return _0x3e50ef['action']=_0x3e50ef['action']['bind'](this,_0x553089),_0x3e50ef['isVisible']&&(_0x3e50ef['isVisible']=_0x3e50ef['isVisible']['bind'](this,_0x553089)),_0x3e50ef;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xa18082},_0x4c780a)=>{const _0x525128=_0xa18082['get'](d),_0x29168e=_0x525128['repository'];let _0x5ace6b=_0x525128['diff']['newRevisionId'],_0x29880e=_0x4c780a['id'];_0x29168e['getIndex'](_0x5ace6b)>_0x29168e['getIndex'](_0x29880e)&&([_0x5ace6b,_0x29880e]=[_0x29880e,_0x5ace6b]),_0x525128['compare'](_0x5ace6b,_0x29880e);},'isVisible':({plugins:_0x27a962},_0x2e4917)=>{const _0x12699d=_0x27a962['get'](d);return!(_0x12699d['repository']['getRevisionsInDiff'](_0x12699d['diff'])['length']>0x2)&&!_0x2e4917['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10c27b,{id:_0x2ff8ad})=>{_0x10c27b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ff8ad);},'isVisible':({plugins:_0xa763d7},_0xc9f673)=>!!_0xa763d7['get'](d)['repository']['getLaterVisibleRevision'](_0xc9f673['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x45b734},{id:_0xd5d6cd,revisionNameView:_0x1aeb3c})=>{const _0x5e80ed=_0x45b734['get'](d),_0x199fac=_0x5e80ed['repository']['getEarlierVisibleRevision'](_0xd5d6cd);_0x5e80ed['compare'](_0xd5d6cd,_0x199fac),_0x1aeb3c['focus'](),_0x1aeb3c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4090df,_0x1cc630){super(_0x4090df),this['_view']=_0x1cc630,this['_toolbarConfig']=ct(_0x4090df['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5368d3){const _0x4d81be=this['editor'],_0x4061a3=this['view'],_0x214f6f=_0x4d81be['editing']['view'],_0x1e444d=_0x4061a3['editable'],_0x3f4403=_0x214f6f['document']['getRoot']();_0x1e444d['name']=_0x3f4403['rootName'],_0x4061a3['render']();const _0x18b945=_0x1e444d['element'];this['setEditableElement'](_0x1e444d['name'],_0x18b945),_0x4061a3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x214f6f['attachDomRoot'](_0x18b945),this['_elementReplacer']['replace'](_0x5368d3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x19fe27=this['view'],_0x26a6d6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x26a6d6['detachDomRoot'](_0x19fe27['editable']['name']),_0x19fe27['destroy']();}['_initToolbar'](){const _0x5f49c0=this['view'];_0x5f49c0['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5f49c0['stickyPanel']['limiterElement']=_0x5f49c0['element'],_0x5f49c0['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33a593})=>_0x33a593),_0x5f49c0['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5f49c0['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x582807,_0x1075e2,_0x4203e4={}){super(_0x582807),this['stickyPanel']=new lt(_0x582807),this['toolbar']=new pt(_0x582807,{'shouldGroupWhenFull':_0x4203e4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x582807,_0x1075e2);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
29
|
+
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4e036f,_0x4a2707){super(_0x4a2707),this['sourceElement']=_0x4e036f,this['model']['document']['createRoot']();const _0xef402=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xef402);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4ae9e2,_0x112fe2){const _0x4c8fda=new this(_0x4ae9e2,_0x112fe2);return await _0x4c8fda['initPlugins'](),await _0x4c8fda['ui']['init'](_0x4ae9e2),await _0x4c8fda['data']['init'](_0x4c8fda['config']['get']('initialData')||''),_0x4c8fda['fire']('ready'),_0x4c8fda;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x25b853{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x384e56){super(_0x384e56),this['result']='end';}}class H extends _0x25b853{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3fe9ec){if(super(_0x3fe9ec),!this['editor']['config']['get']('revisionHistory'))throw new _0xb5aa03('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x90cea8=>this['_showRevisionViewer']({..._0x90cea8,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x202a50=>this['_closeRevisionViewer'](_0x202a50)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x9d15e1=>this['_restoreRevision'](_0x9d15e1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x545192){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x545192;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3b5989){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3b5989);}['getRevision'](_0x369930){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x369930);}['getRevisions'](_0x487779){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x487779||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x246f46=this['editor'],_0x1c4136=_0x1c6921(_0x246f46,p),_0x739980=_0x246f46['plugins']['get']('RevisionTracker'),_0x92fcba=_0x246f46['plugins']['get']('Users')['users'];return _0x1c4136['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1c4136['lazyRoots'],(_0x1c4136['plugins']['push'](k,d,R,class extends _0x25b853{static get['requires'](){return[d,'Users'];}['init'](){const _0x2ac416=this['editor']['plugins']['get']('Users');for(const _0x3bec40 of _0x92fcba)_0x3bec40['isAnonymous']||_0x2ac416['getUser'](_0x3bec40['id'])||_0x2ac416['addUser'](_0x3bec40);const _0x5cfdc3=_0x739980['repository']['getRevisions']();let _0x2f9d6a=null;const _0x4793d2=this['editor']['plugins']['get']('RevisionViewer');_0x4793d2['adapter']=_0x739980['adapter'],_0x4793d2['bind']('isEnabled')['to'](_0x739980),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x246f46,'isReadOnly',_0x2db2d4=>!_0x2db2d4);for(const _0x428e7b of _0x5cfdc3){const _0x18981d=null===_0x428e7b['creator'];if(_0x18981d&&_0x428e7b['toVersion']===_0x428e7b['fromVersion'])continue;const _0x197082=_0x428e7b['toJSON']();_0x4793d2['addRevisionData'](_0x197082,(_0x27adcf,_0x299098,_0x4e0fbd)=>{if(_0x18981d){if(_0x2f9d6a)_0x2f9d6a['_update'](_0x27adcf,_0x299098);else{if(!_0x299098){const _0x57abd=_0x4e0fbd['toJSON']();_0x57abd['id']=_0xf0a907(),_0x739980['saveRevision'](_0x57abd,_0x4e0fbd['toVersion'])['then'](_0x20f865=>{_0x2f9d6a=_0x20f865;});}}}else _0x428e7b['_update'](_0x27adcf,_0x299098);});}}},w),_0x1c4136);}['_enhanceShowRevisionViewerCallback'](){const _0x56d3a6=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2cb271=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x10d5cb=this['editor']['plugins']['get']('Autosave');await _0x10d5cb['save']();}else await _0x2cb271['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x478bad=this['editor']['plugins']['get']('Dialog');_0x478bad['isOpen']&&_0x478bad['hide']();}const _0x11e03d=this['_getRevisionViewerEditorConfig']();return _0x56d3a6(_0x11e03d)['then'](_0x5f42b2=>{return(this['_viewerEditor']=_0x5f42b2,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5f42b2;})['catch'](_0x8b7c27=>(console['error'](_0x8b7c27),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3402a1=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'](),_0x3402a1(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4f3f9e=this['editor']['plugins']['get']('Annotations');_0x4f3f9e['refreshVisibility'](),_0x4f3f9e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x558b23){const _0x2de952=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xd5203c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1ad824=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1ad824,_0x558b23)['then'](_0x53a01a=>(_0xd5203c['style']['display']='block',_0x2de952['style']['display']='none',_0x53a01a));}['_closeRevisionViewer'](_0x3ab01f){const _0x4e03fe=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4e03fe['style']['display']='',_0x3ab01f['destroy']();}async['_restoreRevision'](_0x58cc66){const _0x4d8010=this['editor'],_0x3fdc66=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x362761=_0x4d8010['plugins']['get']('RevisionTracker'),_0x170fb7=_0x3fdc66['repository']['getRevision'](_0x58cc66);let _0x384770,_0x49d558,_0xecd11e;try{_0x384770=await _0x3fdc66['getRevisionData'](_0x170fb7),_0x49d558=await _0x3fdc66['getRevisionRootsAttributes'](_0x170fb7);}catch(_0x3dd1e2){return void console['error'](_0x3dd1e2);}_0x4d8010['model']['change'](_0x37e3f4=>{for(const _0x8d9945 of Array['from'](_0x4d8010['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x37e3f4['removeMarker'](_0x8d9945);}),_0x3fdc66['isReady']=!0x1,_0x4d8010['model']['enqueueChange'](_0x157cd6=>{_0x157cd6['setSelection'](null),_0x157cd6['removeSelectionAttribute'](_0x4d8010['model']['document']['selection']['getAttributeKeys']());const _0x7cc217=Object['keys'](_0x384770);for(const _0x7babf1 of _0x4d8010['model']['document']['roots'])'$graveyard'!=_0x7babf1['rootName']&&_0x7babf1['isAttached']()&&!_0x7cc217['includes'](_0x7babf1['rootName'])&&_0x157cd6['detachRoot'](_0x7babf1);for(const _0x416099 of _0x7cc217){let _0x3243ec=_0x4d8010['model']['document']['getRoot'](_0x416099);_0x3243ec&&_0x3243ec['isAttached']()||(_0x3243ec=_0x157cd6['addRoot'](_0x416099));const _0x3841df=_0x49d558[_0x416099],_0x107b52=Object['keys'](_0x3841df),_0x20ce0c=_0x384770[_0x416099];for(const _0x4cd867 of _0x3243ec['getAttributeKeys']())_0x107b52['includes'](_0x4cd867)||_0x157cd6['removeAttribute'](_0x4cd867,_0x3243ec);for(const _0x3a08c8 of _0x107b52)_0x157cd6['setAttribute'](_0x3a08c8,_0x49d558[_0x416099][_0x3a08c8],_0x3243ec);_0x157cd6['remove'](_0x157cd6['createRangeIn'](_0x3243ec)),_0x157cd6['insert'](_0x4d8010['data']['parse'](_0x20ce0c,_0x3243ec),_0x3243ec,0x0);}});const _0x16ad7a=y(_0x4d8010['locale'],'Restored');if(_0x170fb7['name'])_0xecd11e=-0x1==_0x170fb7['name']['indexOf'](_0x16ad7a)?_0x16ad7a+':\x20'+_0x170fb7['name']:_0x170fb7['name'];else _0xecd11e=_0x16ad7a+':\x20'+(_0x170fb7['createdAt']['toLocaleDateString'](_0x4d8010['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x170fb7['createdAt']['toLocaleTimeString'](_0x4d8010['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x362761['saveRevision']({'name':_0xecd11e}),_0x3fdc66['isReady']=!0x0,_0x4d8010['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}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};
|