@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240821.0 → 0.0.0-nightly-20240822.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
|
-
_0x157521(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x580185){super(),this['id']=_0x580185['id']||_0x3b5255(),this['creator']=_0x580185['creator']||null,this['authors']=_0x580185['authors']||[],this['diffData']=_0x580185['diffData']||null,this['toVersion']=_0x580185['toVersion']||0x0,this['fromVersion']=_0x580185['fromVersion']||0x0,this['set']('name',_0x580185['name']||''),this['set']('createdAt',_0x580185['createdAt']||new Date()),this['set']('attributes',_0x580185['attributes']||{});}['setName'](_0x2dbb17){this['_update']({'name':_0x2dbb17});}['setAttribute'](_0x5048f0,_0x4403b0){const _0x1209c4=_0xcaf5fd(this['attributes']);_0x16b7d1(_0x1209c4,_0x5048f0,_0x4403b0),this['_update']({'attributes':_0x1209c4});}['removeAttribute'](_0xeb319c){const _0x1435b6=_0xcaf5fd(this['attributes']);_0x52a7da(_0x1435b6,_0xeb319c),this['_update']({'attributes':_0x1435b6});}['_update'](_0x5a8e03,_0x3bd6f3=!0x1){let _0x4a7d61=!0x1;const _0x5c3f57={'id':this['id']},_0x181182=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x6cbbf3 of _0x181182){const _0x45da8d=_0x5a8e03[_0x6cbbf3];void 0x0!==_0x45da8d&&_0x45da8d!==this[_0x6cbbf3]&&(this[_0x6cbbf3]=_0x45da8d,_0x5c3f57[_0x6cbbf3]=_0x45da8d,_0x4a7d61=!0x0);}_0x4a7d61&&(_0x5c3f57['authors']&&(_0x5c3f57['authorsIds']=_0x5c3f57['authors']['map'](_0x5d47a1=>_0x5d47a1['id']),delete _0x5c3f57['authors']),this['fire']('_update',_0x5c3f57,_0x3bd6f3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x27e612=>_0x27e612['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x570864{['_revisions'];static get['requires'](){return[_0x41255f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3174d4){super(_0x3174d4),this['_revisions']=new _0x12c280();}['afterInit'](){!function(_0x539c70){function _0x18bcb2(_0x142a86,_0x403beb,_0x4013ea){const _0x4568f4={};_0x4568f4[_0x5527c2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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 _0x1db4a2=new Uint8Array(0x10);for(let _0x4124f2=0xf;_0x4124f2>=0x0;--_0x4124f2)_0x1db4a2[_0x4124f2]=_0x4013ea%0x100,_0x4013ea=parseInt(_0x4013ea/0x100);let _0x5371f4=null,_0x4b5f37=0x10;const _0x5192c3=new Uint8Array(_0x403beb),_0x2607f6=[],_0x2e740b=[];_0x4f6734();for(let _0x3bb636=0x0;_0x3bb636<_0x142a86[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bb636++)0x10===_0x4b5f37&&(_0x5371f4=_0x5d3062(_0x1db4a2),_0x4b5f37=0x0,_0x396d7d(_0x1db4a2)),_0x142a86[_0x3bb636]^=_0x5371f4[_0x4b5f37++];return _0x142a86;function _0x58c5c3(_0x2c6f1d){const _0x52e8a5=[];for(let _0x35a7e4=0x0;_0x35a7e4<_0x2c6f1d[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35a7e4+=0x4)_0x52e8a5[_0x5527c2([0x70,0x75,0x73,0x68])](_0x2c6f1d[_0x35a7e4]<<0x18|_0x2c6f1d[_0x35a7e4+0x1]<<0x10|_0x2c6f1d[_0x35a7e4+0x2]<<0x8|_0x2c6f1d[_0x35a7e4+0x3]);return _0x52e8a5;}function _0x396d7d(_0x1c376b){for(let _0x509d6a=0xf;_0x509d6a>=0x0;_0x509d6a--){if(0xff!==_0x1c376b[_0x509d6a]){_0x1c376b[_0x509d6a]++;break;}_0x1c376b[_0x509d6a]=0x0;}}function _0x5d3062(_0xb4bc99){const _0x352447=_0x2607f6[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x537d2d=[0x0,0x0,0x0,0x0];let t=_0x58c5c3(_0xb4bc99);for(let _0x4e468d=0x0;_0x4e468d<0x4;_0x4e468d++)t[_0x4e468d]^=_0x2607f6[0x0][_0x4e468d];for(let _0x42fb0e=0x1;_0x42fb0e<_0x352447;_0x42fb0e++){for(let _0x53eb48=0x0;_0x53eb48<0x4;_0x53eb48++)_0x537d2d[_0x53eb48]=_0x4568f4[_0x5527c2([0x54,0x31])][t[_0x53eb48]>>0x18&0xff]^_0x4568f4[_0x5527c2([0x54,0x32])][t[(_0x53eb48+0x1)%0x4]>>0x10&0xff]^_0x4568f4[_0x5527c2([0x54,0x33])][t[(_0x53eb48+0x2)%0x4]>>0x8&0xff]^_0x4568f4[_0x5527c2([0x54,0x34])][0xff&t[(_0x53eb48+0x3)%0x4]]^_0x2607f6[_0x42fb0e][_0x53eb48];t=_0x537d2d[_0x5527c2([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4b95b6=new Uint8Array(0x10);let _0x437165;for(let _0x2483ab=0x0;_0x2483ab<0x4;_0x2483ab++)_0x437165=_0x2607f6[_0x352447][_0x2483ab],_0x4b95b6[0x4*_0x2483ab]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[_0x2483ab]>>0x18&0xff]^_0x437165>>0x18),_0x4b95b6[0x4*_0x2483ab+0x1]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[(_0x2483ab+0x1)%0x4]>>0x10&0xff]^_0x437165>>0x10),_0x4b95b6[0x4*_0x2483ab+0x2]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[(_0x2483ab+0x2)%0x4]>>0x8&0xff]^_0x437165>>0x8),_0x4b95b6[0x4*_0x2483ab+0x3]=0xff&(_0x4568f4[_0x5527c2([0x53])][0xff&t[(_0x2483ab+0x3)%0x4]]^_0x437165);return _0x4b95b6;}function _0x4f6734(){const _0xa991dd=_0x4568f4[_0x5527c2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5192c3[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xacde1f=0x0;_0xacde1f<=_0xa991dd;_0xacde1f++)_0x2607f6[_0x5527c2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2e740b[_0x5527c2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5e7719=0x4*(_0xa991dd+0x1),_0x5ad490=_0x5192c3[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2f6040=_0x58c5c3(_0x5192c3);let _0x4becdf;for(let _0x1e7c89=0x0;_0x1e7c89<_0x5ad490;_0x1e7c89++)_0x4becdf=_0x1e7c89>>0x2,_0x2607f6[_0x4becdf][_0x1e7c89%0x4]=_0x2f6040[_0x1e7c89],_0x2e740b[_0xa991dd-_0x4becdf][_0x1e7c89%0x4]=_0x2f6040[_0x1e7c89];let _0x4dfcf7,_0x1d595e=0x0,t=_0x5ad490;for(;t<_0x5e7719;){_0x4dfcf7=_0x2f6040[_0x5ad490-0x1],_0x2f6040[0x0]^=_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x10&0xff]<<0x18^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x8&0xff]<<0x10^_0x4568f4[_0x5527c2([0x53])][0xff&_0x4dfcf7]<<0x8^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x18&0xff]^_0x4568f4[_0x5527c2([0x72,0x63,0x6f,0x6e])][_0x1d595e]<<0x18,_0x1d595e+=0x1;for(let _0x47bf3a=0x1;_0x47bf3a<_0x5ad490/0x2;_0x47bf3a++)_0x2f6040[_0x47bf3a]^=_0x2f6040[_0x47bf3a-0x1];_0x4dfcf7=_0x2f6040[_0x5ad490/0x2-0x1],_0x2f6040[_0x5ad490/0x2]^=_0x4568f4[_0x5527c2([0x53])][0xff&_0x4dfcf7]^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x8&0xff]<<0x8^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x10&0xff]<<0x10^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x18&0xff]<<0x18;for(let _0x445b16=_0x5ad490/0x2+0x1;_0x445b16<_0x5ad490;_0x445b16++)_0x2f6040[_0x445b16]^=_0x2f6040[_0x445b16-0x1];let _0x122767,_0x4cd64d,_0x47b66b=0x0;for(;_0x47b66b<_0x5ad490&&t<_0x5e7719;)_0x122767=t>>0x2,_0x4cd64d=t%0x4,_0x2607f6[_0x122767][_0x4cd64d]=_0x2f6040[_0x47b66b],_0x2e740b[_0xa991dd-_0x122767][_0x4cd64d]=_0x2f6040[_0x47b66b++],t++;}for(let _0x47f4fb=0x1;_0x47f4fb<_0xa991dd;_0x47f4fb++)for(let _0x25c0dc=0x0;_0x25c0dc<0x4;_0x25c0dc++)_0x4dfcf7=_0x2e740b[_0x47f4fb][_0x25c0dc],_0x2e740b[_0x47f4fb][_0x25c0dc]=_0x4568f4[_0x5527c2([0x55,0x31])][_0x4dfcf7>>0x18&0xff]^_0x4568f4[_0x5527c2([0x55,0x32])][_0x4dfcf7>>0x10&0xff]^_0x4568f4[_0x5527c2([0x55,0x33])][_0x4dfcf7>>0x8&0xff]^_0x4568f4[_0x5527c2([0x55,0x34])][0xff&_0x4dfcf7];}}function _0x5527c2(_0x26cd55){return _0x26cd55['map'](_0x5833e6=>String['fromCharCode'](_0x5833e6))['join']('');}(_0x2196bb=>{function _0xb0f66b(){const _0x39adcd=[{[_0x5527c2([0x69,0x64])]:0x1,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5527c2([0x69,0x64])]:0x2,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5527c2([0x69,0x64])]:0x3,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0x4,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5527c2([0x69,0x64])]:0x5,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x6,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x7,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x8,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x9,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5527c2([0x69,0x64])]:0xa,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([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]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([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]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0xb,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0xc,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5527c2([0x69,0x64])]:0xd,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0xe,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5527c2([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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])},{[_0x5527c2([0x69,0x64])]:0xf,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0x10,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}}];return _0x21aae3(_0x39adcd),_0x39adcd;function _0x88baea(_0x48b3f0){return 0x1<<_0x48b3f0-0x1;}function _0x21aae3(_0x395d8c){_0x395d8c[_0x5527c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd4a0d0=>{_0xd4a0d0[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x88baea(_0xd4a0d0[_0x5527c2([0x69,0x64])]),_0x485a04(_0xd4a0d0)&&_0xd4a0d0[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x21aae3(_0xd4a0d0[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x485a04(_0x3aca6f){return _0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3aca6f;}const _0x51dc88=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x492ecb=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x226492(_0x24fa92){const _0x3c0853=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4dbc19(_0x24fa92,new Uint8Array([..._0x51dc88,..._0x3c0853,..._0x492ecb]));}function _0x4dbc19(_0x2faab2,_0x190846){const _0x478d94=_0x848fbe(_0x2faab2),_0xc3ed46=Array[_0x5527c2([0x66,0x72,0x6f,0x6d])](_0x432dde(_0x478d94)),_0x5f2c62=_0xc3ed46[_0x5527c2([0x70,0x6f,0x70])](),_0x88de31=_0xc3ed46[_0x5527c2([0x70,0x6f,0x70])]();return _0x5317d6(_0x18bcb2(_0xc3ed46,_0x190846,_0x88de31+0x100*_0x5f2c62));}function _0x848fbe(_0x3af2e7){const _0x538bf9=atob(_0x3af2e7),[_0x4b55fa,_0x1b6839]=_0x538bf9[_0x5527c2([0x73,0x70,0x6c,0x69,0x74])](_0x5527c2([0x2d]));try{if(atob(_0x1b6839))return atob(_0x4b55fa);}catch(_0x3c7758){}return _0x538bf9;}function _0x5ddab5(_0x19debe){try{const _0x1c7a3c=_0x226492(_0x19debe),_0x47b633=JSON[_0x5527c2([0x70,0x61,0x72,0x73,0x65])](_0x1c7a3c),_0x4f11f0=parseInt(_0x47b633[_0x5527c2([0x31])]),_0x2c8fca=_0x47b633[_0x5527c2([0x32])]||'',_0x137055=parseInt(_0x47b633[_0x5527c2([0x33])]),_0x5510b1=parseInt(_0x47b633[_0x5527c2([0x34])])||0x0,_0x139ce0=parseInt(_0x47b633[_0x5527c2([0x35])])||0x0;return{[_0x5527c2([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2c8fca,[_0x5527c2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5510b1,[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4f11f0,[_0x5527c2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x137055,[_0x5527c2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x139ce0};}catch(_0x2ddb1c){return null;}}const _0x1616e2=_0xb0f66b(),_0x9d1819={[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3d00dc,[_0x5527c2([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])]:_0xd116,[_0x5527c2([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])]:_0x13900f},_0x2eea95=_0x2196bb[_0x5527c2([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1330ca=_0x5527c2([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2196bb?_0x2196bb['context']:_0x2196bb['editor'],_0x376718=_0x5527c2([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x32]),_0xfe6ace=_0x5527c2([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]),_0x51fb90=_0x1330ca['config']['get'](_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4f4309=_0x1616e2[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x485a04)[_0x5527c2([0x66,0x69,0x6e,0x64])](_0x2f9f56=>_0x2f9f56[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2eea95);function _0x17c1cf(_0x293870,_0x4b9cde){_0x9d1819[_0x4b9cde[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x293870,_0x4b9cde),_0x4b9cde[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4b9cde[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x565181=>_0x406e71(_0x1330ca,_0x565181[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5527c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x605e04=>_0x17c1cf(_0x293870,_0x605e04));}function _0x3d00dc(_0x26e0b5,_0x3e31e7){_0x99d9fc(_0x3abd45(_0x26e0b5,_0x3e31e7),_0x3e31e7);}function _0xd116(_0xf00ca6,_0xc320c7){function _0x3d7f10(_0x5b59e9,_0xa8f27){try{if(_0x406e71(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5b59e9){const _0x287279=_0x19eb01(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5527c2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x287279)/0x2>_0x5b59e9[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5ddeae(_0xa8f27[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3abd45(_0x5b59e9,_0xa8f27);}catch(_0x390903){return _0x5ddeae(_0xa8f27[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x99d9fc(_0x3d7f10(_0xf00ca6,_0xc320c7),_0xc320c7);}function _0x13900f(_0x38bed7,_0x48b493){const _0x2a22d6=_0x492ecb[0x0]*_0x51dc88[0x1],_0x2c2214=_0x492ecb[0x0]*_0x51dc88[0x2],_0x3e4522=_0x492ecb[0x2]*_0x51dc88[0x2];_0x406e71(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1a8120()]=_0x3e4522);function _0x21c38(_0x380c99,_0x1a5464){try{return _0x28ca30()?_0x5ddeae(_0x1a5464[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x3abd45(_0x380c99,_0x1a5464);}catch(_0x56d3d7){return _0x5ddeae(_0x1a5464[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x8ffcaf(_0x500235,_0x30d6cc){const _0x21fedf=0x7;if(_0x500235==_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x25f56c();else{if(_0x500235==_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])){const _0x52e6a7=_0x178c3d();_0x52e6a7&&_0x2924bc(_0x52e6a7,_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x92a972=_0x5b5340();window[_0x5527c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2924bc(_0x5527c2([0x74,0x69,0x6d,0x65]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x92a972);const _0x41eaa9=_0x19eb01(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x41eaa9[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21fedf?_0x2924bc(_0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x41eaa9['on'](_0x5527c2([0x61,0x64,0x64]),()=>{_0x41eaa9[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21fedf&&_0x2924bc(_0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x178c3d(){if(!_0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4960a6 in window)if(Number['isNaN'](Number(_0x4960a6))){if(window[_0x4960a6]===_0x2a22d6)return _0x5527c2([0x74,0x69,0x6d,0x65]);if(window[_0x4960a6]===_0x2c2214)return _0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x28ca30(){if(!_0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xbf4cdf in window)if(Number['isNaN'](Number(_0xbf4cdf))&&window[_0xbf4cdf]===_0x3e4522)return!0x0;return!0x1;}function _0x2924bc(_0x49e287,_0x13eeaa){_0x25f56c(),_0x5ddeae(_0x13eeaa+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x49e287),window[_0x1a8120()]=_0x49e287===_0x5527c2([0x74,0x69,0x6d,0x65])?_0x2a22d6:_0x2c2214;}function _0x5b5340(){let _0x6ba096=_0x492ecb[0x6]*_0x51dc88[0x8]*_0x51dc88[0x6];return _0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6ba096/=0xa),_0x6ba096;}function _0x25f56c(){const _0x47df69=_0x1330ca;function _0x567df9(){_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xb517f,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xb517f,_0x47df69[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x47df69[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x47df69[_0x5527c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c]))),_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xb517f,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xb517f);}_0x47df69[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x72,0x65,0x61,0x64,0x79])?_0x567df9():_0x47df69[_0x5527c2([0x6f,0x6e,0x63,0x65])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x567df9(),_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x29a6f0=_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2d1db9=_0x29a6f0['getRevision'](0x0),_0xa23b53=_0x29a6f0['getEarlierVisibleRevision'](_0x2d1db9[_0x5527c2([0x69,0x64])]);_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2d1db9[_0x5527c2([0x69,0x64])],_0xa23b53?_0xa23b53[_0x5527c2([0x69,0x64])]:null,0x1)['then'](()=>_0x567df9());}});}_0x8ffcaf(_0x21c38(_0x38bed7,_0x48b493),_0x48b493);}function _0x3abd45(_0x457341,_0x572107){try{return _0x3e5970(_0x572107)?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x457341&&_0x5c4ce0(_0x457341[_0x5527c2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x572107)?_0x457341[_0x5527c2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5527c2([0x6f,0x70,0x65,0x6e])][_0x5527c2([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x376718)/0x2>_0x457341[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x457341[_0x5527c2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])):_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5998f7){return _0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x99d9fc(_0xddda1f,_0x3d4d62){if(_0x1330ca instanceof _0x269d46){const _0x322d57=_0x1330ca;_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x26f2ad(_0x322d57):_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5527c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x26f2ad(_0x322d57),_0x5ddeae(_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x492ecb[0x6]*_0x51dc88[0x8]*_0x51dc88[0x6]),_0x322d57[_0x5527c2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5527c2([0x6f,0x6e])](_0x5527c2([0x61,0x64,0x64]),(_0x3e674f,_0x3786dc)=>{_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4c71d6(_0x3786dc);});}else{const _0x54cc92=_0x1330ca;_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c71d6(_0x54cc92):_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])&&_0x54cc92[_0x5527c2([0x6f,0x6e])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x24ff67=0x0;_0x54cc92[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x6f,0x6e])](_0x5527c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x332da5,_0x334b8f)=>{_0x334b8f[0x0][_0x5527c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24ff67++,0x1f8===_0x24ff67&&(_0x4c71d6(_0x54cc92),_0x5ddeae(_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x332da5[_0x5527c2([0x6f,0x66,0x66])]());},{'priority':_0x5527c2([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5ddeae(_0x470908){const _0x182952=_0x1a8120();return _0x1330ca[_0x182952]=_0x470908,_0x470908;}function _0x1a8120(){const _0x2e7b83=String(window[_0x5527c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5527c2([0x6e,0x6f,0x77])]())[_0x5527c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5527c2([0x2e]),'');let _0x2dea6b='';for(let _0x398a42=0x0;_0x398a42<_0x2e7b83[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x398a42+=0x2){let _0x446646=parseInt(_0x2e7b83[_0x5527c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x398a42,_0x398a42+0x2));_0x446646>=_0xfe6ace[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x446646-=_0xfe6ace[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2dea6b+=_0xfe6ace[_0x446646];}return _0x2dea6b;}function _0x26f2ad(_0x3bf8eb){for(const _0x40a9de of _0x3bf8eb[_0x5527c2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4c71d6(_0x40a9de);_0x19eb01(_0x3bf8eb,_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x19eb01(_0x3bf8eb,_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xb517f;}function _0x4c71d6(_0x249393){function _0x43e46c(){_0x249393[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x249393[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x249393[_0x5527c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c]));}_0x249393[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x72,0x65,0x61,0x64,0x79])?_0x43e46c():_0x249393[_0x5527c2([0x6f,0x6e,0x63,0x65])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>_0x43e46c());}function _0xb517f(){return null;}function _0x5c4ce0(_0x57ae27,_0x77cd6){const _0x24e907=!!(_0x57ae27&_0x77cd6[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x535faf=_0xc0be13(_0x57ae27,_0x77cd6);return _0x24e907||_0x535faf;}function _0xc0be13(_0x4a9adb,_0x208ad8){const _0x145593=(_0x208ad8[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5527c2([0x66,0x67,0x69])]||null;return!!_0x145593&&_0x1616e2[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34c5e9=>_0x145593[_0x5527c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c5e9[_0x5527c2([0x69,0x64])]))[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454726=>!_0x22a79b(_0x454726))[_0x5527c2([0x73,0x6f,0x6d,0x65])](_0x11241b=>!!(_0x4a9adb&_0x11241b[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x22a79b(_0x3d162a){const _0x3933be={[_0x5527c2([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])]:_0x324ac6};return!!_0x3d162a['forbiddenHandler']&&_0x3933be[_0x3d162a['forbiddenHandler']]();}function _0x324ac6(){return!window[_0x5527c2([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x406e71(_0x1330ca,_0x5527c2([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3e5970(_0x449c7c){if(!_0x406e71(_0x1330ca,_0x449c7c[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4f4883=_0x449c7c[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5f16eb=_0x4f4883[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xb6c53d=_0x4f4883[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x23d4c7=_0x4f4883[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x406e71(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5f16eb)return!0x0;if(_0x406e71(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5527c2([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5527c2([0x65,0x6e,0x64])&&_0xb6c53d)return!0x0;return!(!_0x406e71(_0x1330ca,_0x5527c2([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]))||_0x19eb01(_0x1330ca,_0x5527c2([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]))[_0x5527c2([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5527c2([0x65,0x6e,0x64])||!_0x23d4c7);}function _0x406e71(_0x2188a5,_0x77692c){return _0x2188a5[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5527c2([0x68,0x61,0x73])](_0x77692c);}function _0x19eb01(_0x17e149,_0x3246f0){return _0x17e149[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5527c2([0x67,0x65,0x74])](_0x3246f0);}function _0x5317d6(_0x8fd532){let _0x48ac9d='';for(const _0x4f14f1 of _0x8fd532)_0x48ac9d+=String[_0x5527c2([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4f14f1);return _0x48ac9d;}function _0x432dde(_0x593e76){const _0x1da491=new Uint8Array(_0x593e76[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x256dc5=0x0;_0x256dc5<_0x593e76[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x256dc5++)_0x1da491[_0x256dc5]=_0x593e76[_0x5527c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x256dc5);return _0x1da491;}_0x4f4309&&_0x17c1cf(_0x5ddab5(_0x51fb90),_0x4f4309);})(_0x539c70);}(this);}['createRevision'](_0x39264f){const _0x7d1ca1=this['editor']['plugins']['get']('Users');return new a({'id':_0x39264f['id'],'name':_0x39264f['name'],'creator':_0x39264f['creatorId']?_0x7d1ca1['getUser'](_0x39264f['creatorId']):null,'diffData':_0x39264f['diffData']||_0x39264f['data'],'authors':_0x39264f['authorsIds']['map'](_0x349406=>_0x7d1ca1['getUser'](_0x349406)),'createdAt':new Date(_0x39264f['createdAt']),'attributes':_0x39264f['attributes'],'fromVersion':_0x39264f['fromVersion'],'toVersion':_0x39264f['toVersion']});}['addRevision'](_0x50c0fd,_0x134de4=0x0){this['_revisions']['add'](_0x50c0fd,_0x134de4);}['getRevision'](_0x2a8296){return this['_revisions']['get'](_0x2a8296);}['getRevisions'](_0x57c112={'toJSON':!0x1}){const _0x2dd728=Array['from'](this['_revisions']);return _0x2dd728['reverse'](),_0x57c112['toJSON']?_0x2dd728['map'](_0x7a86fd=>_0x7a86fd['toJSON']()):_0x2dd728;}['getIndex'](_0x1739cd){return this['_revisions']['getIndex'](_0x1739cd);}['getEarlierVisibleRevision'](_0x3d5862){const [,_0x18b81c]=this['getRevisionsIterator'](_0x3d5862,{'direction':'earlier'});return _0x18b81c;}['getLaterVisibleRevision'](_0x2feeb9){const [,_0x43f5f1]=this['getRevisionsIterator'](_0x2feeb9,{'direction':'later'});return _0x43f5f1;}['getRevisionsInDiff'](_0x178634){const _0x1b6db4=[];for(const _0x3374ae of this['getRevisionsIterator'](_0x178634['newRevisionId']))if(_0x1b6db4['push'](_0x3374ae),_0x3374ae['id']===_0x178634['oldRevisionId'])break;return _0x1b6db4;}*['getRevisionsIterator'](_0x3d9219,{direction:_0x299698='earlier',filter:_0x462848=_0xfca765=>!0x0}={}){const _0x281857='earlier'===_0x299698?0x1:-0x1;let _0x1b2509=this['_revisions']['get'](_0x3d9219),_0x118533=this['getIndex'](_0x1b2509);for(yield _0x1b2509;_0x1b2509;){if(_0x118533+=_0x281857,_0x1b2509=this['getRevision'](_0x118533),!_0x1b2509)return;_0x462848(_0x1b2509)&&(yield _0x1b2509);}}}function y(_0xe2289b,_0x2a074d,_0x2e5343){const t=_0xe2289b['t'];switch(_0x2a074d){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'},_0x2e5343);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e5343);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':_0x757aae,'a':_0xa210d8,'e':_0x193389,'r':_0x3f1dae,'u':_0x512571};class l extends _0x570864{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x41255f,A,_0x145148];}constructor(_0x1abccc){super(_0x1abccc),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 _0x5ce6d5=_0x3b5255();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5ce6d5},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 _0x2f34f3=this['repository']['getRevision'](0x0),_0x31685b=_0x2f34f3&&null===_0x2f34f3['creator']?_0x2f34f3:null;if(this['_continueCurrentRevision']=!!_0x31685b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2d251c=this['_source']['getCurrentRevisionId'](),_0x577cd3=this['repository']['getRevision'](_0x2d251c);if(_0x577cd3)this['_startingVersion']=_0x577cd3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1d472a=this['_source']['history']['_operations']['find'](_0x32c25d=>!_0x32c25d['_isInit']),_0x357a08=_0x1d472a?_0x1d472a['baseVersion']:this['_source']['history']['version'];_0x2f34f3?(_0x2f34f3['toVersion']<_0x357a08&&_0x2f34f3['_update']({'toVersion':_0x357a08}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id'],this['_startingVersion']=_0x31685b['fromVersion']):(this['_startingVersion']=_0x2f34f3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x357a08,this['_continueCurrentRevision']=!0x1);}}else _0x31685b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x31685b['toVersion'],this['editor']['model']['document']['history']['version']),_0x31685b['fromVersion']===_0x31685b['toVersion']?(0x0!==_0x31685b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id'],this['_startingVersion']=_0x31685b['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',_0x156237=>!_0x156237);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x15edfd=this['repository']['getRevision'](0x0),_0x4c06d8=await this['getRevisionDocumentData'](_0x15edfd),_0x18a989=await this['getRevisionRootsAttributes'](_0x15edfd);this['_replaceEditorDataWithRevisionData'](_0x4c06d8,_0x18a989);}}['setSource'](_0x1780ea){this['_source']=_0x1780ea;}async['update'](){const _0x5c0dcd=await this['_source']['getLatestVersion']();if(_0x5c0dcd>this['currentRevision']['toVersion']){await this['_loadState']();const _0x107326=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5c0dcd});_0x107326['authors']=_0x107326['authorsIds']['map'](_0x322628=>this['editor']['plugins']['get']('Users')['getUser'](_0x322628)),this['currentRevision']['_update'](_0x107326);}}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'](_0x4952bd={},_0x12104e=null){const _0x1eb9c5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x12104e>this['currentRevision']['toVersion']&&(_0x12104e=null),null===_0x12104e&&(_0x12104e=await this['_source']['getLatestVersion']());const _0x137032=this['_getFromVersion'](_0x12104e),_0x5e2edf=this['buildRevisionData']({'from':_0x137032,'to':_0x12104e});if(this['currentRevision']['toVersion']<_0x12104e){const _0x227aac=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x12104e,'to':_0x12104e});_0x227aac['authors']=[],_0x227aac['authorsIds']=[],_0x227aac['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x227aac,!0x0),delete _0x227aac['authors'],_0x1eb9c5['push'](_0x227aac);}_0x4952bd['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4952bd['name']=_0x4952bd['name']||null,_0x4952bd['id']=_0x4952bd['id']||_0x3b5255(),_0x4952bd={..._0x4952bd,..._0x5e2edf};const _0x297d18=this['addRevisionData'](_0x4952bd);_0x1eb9c5['push'](_0x4952bd);const _0x4fdc3f=this['repository']['getIndex'](_0x297d18);if(0x0!==_0x4fdc3f){const _0x53001f=this['repository']['getRevision'](_0x4fdc3f-0x1);if(_0x53001f['fromVersion']!==_0x12104e){const _0x3fff0b=this['_revisionDataBuilder']['getData'](_0x12104e,_0x53001f['toVersion']),_0x1b0409={'id':_0x53001f['id'],'diffData':_0x3fff0b['diffData'],'authorsIds':_0x3fff0b['authorsIds'],'authors':_0x3fff0b['authorsIds']['map'](_0x2cad00=>this['editor']['plugins']['get']('Users')['getUser'](_0x2cad00)),'fromVersion':_0x12104e};_0x53001f===this['currentRevision']&&(_0x1b0409['createdAt']=new Date(_0x4952bd['createdAt']['getTime']()+0xa)),_0x53001f['_update'](_0x1b0409,!0x0),delete _0x1b0409['authors'],_0x1eb9c5['push'](_0x1b0409);}}if(this['adapter']){for(const _0x24a5e8 of _0x1eb9c5)this['_bufferUpdate'](_0x24a5e8['id'],_0x24a5e8,!0x0);this['sendBufferedUpdates']();}return _0x297d18;}['addRevisionData'](_0x48ae01){const _0x2bde11=this['repository']['createRevision'](_0x48ae01);return this['adapter']&&_0x2bde11['on']('_update',(_0x3ccd66,_0x18a256,_0x9fbb5b)=>{_0x9fbb5b||(this['_bufferUpdate'](_0x18a256['id'],_0x18a256,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2bde11,this['_findInsertionIndex'](_0x2bde11)),_0x2bde11;}async['getRevisionDocumentData'](_0x33edad){await this['_loadRevisionData'](_0x33edad);const _0x25c130={};for(const _0x3ee7ef in _0x33edad['diffData']){if(_0x33edad['diffData'][_0x3ee7ef]['attachChange']&&!_0x33edad['diffData'][_0x3ee7ef]['attachChange']['isAttached'])continue;const _0x52c851=this['_removeRevisionMarkers'](JSON['parse'](_0x33edad['diffData'][_0x3ee7ef]['insertions'])),_0x4a298c=this['editor']['editing']['view']['document'],_0x424fa3=new _0x3204ea(_0x4a298c,_0x52c851['map'](_0x497fc5=>B(_0x497fc5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x25c130[_0x3ee7ef]=this['editor']['data']['processor']['toData'](_0x424fa3),this['editor']['data']['processor']['useFillerType']('default');}return _0x25c130;}async['getRevisionRootsAttributes'](_0x1d8228){await this['_loadRevisionData'](_0x1d8228);const _0x26fb24={};for(const _0x3ce0c3 in _0x1d8228['diffData'])_0x1d8228['diffData'][_0x3ce0c3]['attachChange']&&!_0x1d8228['diffData'][_0x3ce0c3]['attachChange']['isAttached']||(_0x26fb24[_0x3ce0c3]=_0x1d8228['diffData'][_0x3ce0c3]['attributesAfter']||{});return _0x26fb24;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x417d30=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x577e6a=0x0;_0x577e6a<_0x417d30['length'];_0x577e6a++){const _0xb64c06=_0x417d30[_0x577e6a];let _0x542a5c=!0x1;for(const _0x7c0dee of Object['keys'](_0xb64c06))void 0x0===_0xb64c06[_0x7c0dee]?delete _0xb64c06[_0x7c0dee]:'id'!==_0x7c0dee&&(_0x542a5c=!0x0);_0x542a5c||(_0x417d30[_0x577e6a]=null);}if(_0x417d30=_0x417d30['filter'](_0x18e32a=>null!==_0x18e32a),!_0x417d30['length'])return;for(let _0x498924=0x0;_0x498924<_0x417d30['length'];_0x498924++){const _0x545e04=_0x417d30[_0x498924];void 0x0!==_0x545e04['fromVersion']&&void 0x0===_0x545e04['toVersion']&&(_0x545e04['toVersion']=this['repository']['getRevision'](_0x545e04['id'])['toVersion']),void 0x0!==_0x545e04['toVersion']&&void 0x0===_0x545e04['fromVersion']&&(_0x545e04['fromVersion']=this['repository']['getRevision'](_0x545e04['id'])['fromVersion']);}const _0x41cd06=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x417d30,_0x41cd06)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x126219=>{if(_0x126219){for(const _0x36e2ea of _0x126219)this['setRevisionData']({'id':_0x36e2ea['id'],'createdAt':_0x36e2ea['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0xe42e48,_0x3e8522){let _0x4387be=this['editor']['config']['get']('initialData'),_0x2d708b=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4387be){_0x4387be={};for(const _0x1568f2 of this['editor']['model']['document']['getRootNames']())_0x4387be[_0x1568f2]='';}if('string'==typeof _0x4387be&&(_0x4387be={'main':_0x4387be}),void 0x0===_0x2d708b){_0x2d708b={};for(const _0x48b2d2 of this['editor']['model']['document']['getRootNames']())_0x2d708b[_0x48b2d2]={};}let _0x58ef55=!0x1;const _0xc17a98=Object['keys'](_0x4387be),_0x15a6b9=Object['keys'](_0xe42e48);for(const _0x520415 of _0xc17a98){if(_0x4387be[_0x520415]!==_0xe42e48[_0x520415]&&''!==_0x4387be[_0x520415]['trim']()){_0x58ef55=!0x0;break;}if(!_0xf2d6a2(_0x2d708b[_0x520415],_0x3e8522[_0x520415])&&Object['keys'](_0x2d708b[_0x520415])['length']>0x0){_0x58ef55=!0x0;break;}}_0x58ef55||(_0x58ef55=_0x15a6b9['some'](_0x4e8494=>!this['editor']['model']['document']['getRoot'](_0x4e8494))),_0x58ef55&&_0x2f89d3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4387be,'editorRootsAttributes':_0x2d708b,'revisionData':_0xe42e48,'revisionRootsAttributes':_0x3e8522}),this['editor']['config']['set']('initialData',_0xe42e48),this['editor']['config']['set']('rootsAttributes',_0x3e8522);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xa917b5=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xa917b5['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1acac4){const _0x583fb7=this['repository']['getRevisions']();_0x583fb7['reverse']();let _0x3eade1=0x0;for(;_0x3eade1<_0x583fb7['length'];){const _0x1f9be3=_0x583fb7[_0x3eade1];if(_0x1f9be3===this['currentRevision']){_0x3eade1++;continue;}if(_0x1f9be3['id']===this['_initialRevisionId'])break;const _0x28b502=_0x1acac4['toVersion']-_0x1f9be3['toVersion']||_0x1acac4['fromVersion']-_0x1f9be3['fromVersion'];if(_0x28b502>0x0)break;if(_0x28b502<0x0)_0x3eade1++;else{if(!_0x1acac4['creator']&&_0x1f9be3['creator'])break;if(_0x1f9be3['creator']||!_0x1acac4['creator']){if(_0x1acac4['createdAt']>_0x1f9be3['createdAt'])break;_0x3eade1++;}else _0x3eade1++;}}return _0x3eade1;}['setRevisionData'](_0x4c73ac){const _0x39d53f=this['repository']['getRevision'](_0x4c73ac['id']);if(_0x4c73ac['createdAt']&&(_0x4c73ac['createdAt']=new Date(_0x4c73ac['createdAt'])),_0x4c73ac['authorsIds']){const _0x5306a6=this['editor']['plugins']['get']('Users');_0x4c73ac['authors']=_0x4c73ac['authorsIds']['map'](_0x40c07e=>_0x5306a6['getUser'](_0x40c07e));}_0x39d53f['_update'](_0x4c73ac,!0x0);}['buildRevisionData']({revision:_0x36260a=null,from:_0x49a3eb=null,to:_0x5e053e=null}){_0x49a3eb=null!==_0x49a3eb?_0x49a3eb:_0x36260a['fromVersion'],_0x5e053e=null!==_0x5e053e?_0x5e053e:_0x36260a['toVersion'];const _0xc64f2c=this['_revisionDataBuilder']['getData'](_0x49a3eb,_0x5e053e),_0x4a25a2={'diffData':_0xc64f2c['diffData'],'authorsIds':_0xc64f2c['authorsIds'],'fromVersion':_0x49a3eb,'toVersion':_0x5e053e};if(!_0x36260a||_0x5e053e!==_0x36260a['toVersion']){const _0x13a4d6=_0x5e053e-0x1,_0x47c314=this['_source']['history']['getOperation'](_0x13a4d6);_0x4a25a2['createdAt']=_0x47c314&&_0x47c314['createdAt']||new Date();}if(this['_loadedStateData']&&_0x49a3eb===this['_loadedStateData']['fromVersion']){for(const _0x943179 of this['_loadedStateData']['authors'])_0x4a25a2['authorsIds']['includes'](_0x943179['id'])||_0x4a25a2['authorsIds']['push'](_0x943179['id']);}return _0x4a25a2;}['_loadRevisionData'](_0x22d2b4){if(!_0x22d2b4||_0x22d2b4['diffData'])return Promise['resolve']();{const _0x17cf1c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x17cf1c,'revisionId':_0x22d2b4['id']})['then'](_0x56ecbb=>{_0x22d2b4['diffData']=_0x56ecbb['diffData'];});}}['_bufferUpdate'](_0x176420,_0x403299,_0x2df047){if(this['_bufferedUpdates']['has'](_0x176420)){const _0x74c021=this['_bufferedUpdates']['get'](_0x176420);_0x403299=_0x2df047?{..._0x74c021,..._0x403299}:{..._0x403299,..._0x74c021};}this['_bufferedUpdates']['set'](_0x176420,_0x403299);}['_getFromVersion'](_0x351e65){const _0x378482=this['repository']['getRevisions']();_0x378482['reverse'](),_0x378482['shift']();const _0xa50643=_0x378482['find'](_0x579dbf=>_0x579dbf['toVersion']<=_0x351e65)['toVersion'];return _0xa50643<this['_startingVersion']?this['_startingVersion']:_0xa50643;}['_createInitialRevision'](_0x25202e){const _0x2a02fb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2a02fb)this['_initialRevisionId']=_0x2a02fb['id'];else{const _0x426f46=!this['editor']['model']['document']['roots']['find'](_0x49dcb2=>this['editor']['model']['hasContent'](_0x49dcb2)),_0x4e09fa=this['editor']['plugins']['get']('Users')['me']['id'],_0x39cfbb=y(this['editor']['locale'],_0x426f46?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x25202e,'to':_0x25202e,'id':this['_initialRevisionId'],'name':_0x39cfbb,'creatorId':_0x4e09fa});}}['_createCurrentRevision'](_0x5d3168){const _0x1b4e40=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1b4e40),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5d3168,'to':_0x5d3168,'id':_0x1b4e40,'name':'','creatorId':null}));}['_makeRevision']({name:_0xee8ff0,from:_0x4e29d1,to:_0x1055ad,creatorId:_0x112996,id:_0x3dd4ac}){const _0x4d82a5=this['buildRevisionData']({'from':_0x4e29d1,'to':_0x1055ad});_0x4d82a5['name']=_0xee8ff0,_0x4d82a5['creatorId']=_0x112996,_0x4d82a5['id']=_0x3dd4ac;const _0x2c10e1=this['addRevisionData'](_0x4d82a5);return this['adapter']&&this['_bufferUpdate'](_0x4d82a5['id'],_0x4d82a5,!0x0),_0x2c10e1;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x50c426){return(_0x50c426=_0x50c426['filter'](_0x4ffa28=>!_0x4ffa28['name']||'revision-start'!==_0x4ffa28['name']&&'revision-end'!==_0x4ffa28['name']))['forEach'](_0x5556a1=>{'string'!=typeof _0x5556a1&&(_0x5556a1['children']=this['_removeRevisionMarkers'](_0x5556a1['children']),_0x5556a1['attributes']=_0x5556a1['attributes']['filter'](_0x5df0b7=>!_0x5df0b7[0x0]['startsWith']('data-revision-')));}),_0x50c426;}}function B(_0x36d131,_0x104b1f){const _0x26105f=_0x104b1f['editing']['view']['document'];if('string'==typeof _0x36d131)return new _0x4c3592(_0x26105f,_0x36d131);{const _0x3ad413=_0x36d131['children']['map'](_0xaf39c1=>B(_0xaf39c1,_0x104b1f));return new(T[_0x36d131['type']]||_0x306c72)(_0x26105f,_0x36d131['name'],_0x36d131['attributes'],_0x3ad413);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1b1172){this['editor']=_0x1b1172,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'](_0x57ea84){this['source']=_0x57ea84;const _0x4ea513=new Map(),_0x26e50c=new Map(),_0x577169=this['editor']['model']['document']['roots']['map'](_0x439063=>_0x439063['rootName']);for(const _0x545dfd of _0x577169){const _0x4ffcbe=this['editor']['model']['document']['getRoot'](_0x545dfd),_0x91ba87=q(_0x4ffcbe);_0x4ea513['set'](_0x545dfd,_0x91ba87),_0x26e50c['set'](_0x545dfd,Object['fromEntries'](_0x4ffcbe['getAttributes']()));}const _0xfe4b34=Array['from'](this['editor']['model']['markers'])['map'](_0x43854e=>[_0x43854e['name'],_0x43854e['getRange']()]),_0x3cd3ad=this['source']['version'];this['_saveMetaData'](_0x3cd3ad,_0x4ea513,_0xfe4b34,_0x26e50c),this['_startingRevisionId']=this['_revisionId'];const _0xdb99b2=new Map(),_0x55e335=new Map();for(const _0x2e370a of _0x577169){const _0xcd91a1=G(_0x2e370a);_0xdb99b2['set'](_0x2e370a,_0xcd91a1),_0x55e335['set'](_0x2e370a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xdb99b2,[],_0x55e335);}['getData'](_0x1ca1da,_0x11840c){if(this['_lastFrom']===_0x1ca1da&&this['_lastTo']<=_0x11840c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x11840c,!0x0);else{if(!this['_savedMetaData']['has'](_0x1ca1da)){const _0x1cf51e=this['_getPreviousFrom'](_0x1ca1da);this['_calculateMetaData'](_0x1cf51e,_0x1ca1da,!0x1);}this['_calculateMetaData'](_0x1ca1da,_0x11840c,!0x0);}return this['_lastFrom']=_0x1ca1da,this['_lastTo']=_0x11840c,this['_getState']();}['loadState'](_0x5db79e){this['_reset'](),this['_lastFrom']=_0x5db79e['fromVersion'],this['_lastTo']=_0x5db79e['toVersion'];for(const _0x49244f in _0x5db79e['diffData']){const _0x345296=_0x5db79e['diffData'][_0x49244f]['attachChange'],_0x1c458b=_0xcaf5fd(_0x5db79e['diffData'][_0x49244f]['attributesBefore'])||{},_0x57eb28=this['_makeModelFromViewString'](_0x5db79e['diffData'][_0x49244f]['deletions']);_0x57eb28['rootName']=_0x49244f,_0x57eb28['_isAttached']=!_0x345296||!_0x345296['isAttached'],_0x57eb28['isAttached']=()=>_0x57eb28['_isAttached'],this['_baseRoots']['set'](_0x49244f,_0x57eb28),this['_baseRootsAttributes']['set'](_0x49244f,_0x1c458b),_0x345296&&this['_touchedRoots']['set'](_0x49244f,_0x345296);const _0x49b821=this['_makeIdsRoot'](_0x57eb28);this['_baseIdsRoots']['set'](_0x49244f,_0x49b821);for(const [_0x3da4ec,_0x2d1468]of _0x57eb28['markers']){if(!_0x3da4ec['startsWith']('revision:'))continue;const _0x496b81=_0x3da4ec['split'](':')[0x2];for(const _0x570573 of _0x2d1468['getWalker']({'singleCharacters':!0x0})){const _0x36a77b=this['_getVidAttributeName'](_0x570573),_0xef5e1b='elementEnd'==_0x570573['type']?_0x570573['previousPosition']['path']['slice'](0x0,-0x1):_0x570573['previousPosition']['path'],_0x36f5fc=_0x49b821['getNodeByPath'](_0xef5e1b)['getAttribute'](_0x36a77b);this['_touched']['set'](_0x36f5fc,{'userId':_0x496b81});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5d9d6d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3d0e57=>!this['_touched']['has'](_0x3d0e57));let _0x32da67=0x0;const _0x56de89=new Map();for(const _0x16af53 in _0x5db79e['diffData']){const _0x1d8b99=_0x5db79e['diffData'][_0x16af53]['attachChange'],_0x1c3a25=_0xcaf5fd(_0x5db79e['diffData'][_0x16af53]['attributesAfter'])||{},_0x545a1b=this['_makeModelFromViewString'](_0x5db79e['diffData'][_0x16af53]['insertions']);_0x545a1b['rootName']=_0x16af53,_0x545a1b['_isAttached']=!_0x1d8b99||_0x1d8b99['isAttached'],_0x545a1b['isAttached']=()=>_0x545a1b['_isAttached'],this['_diffRoots']['set'](_0x16af53,_0x545a1b),this['_diffRootsAttributes']['set'](_0x16af53,_0x1c3a25);const _0x1dc33c=this['_makeIdsRoot'](_0x545a1b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x16af53,_0x1dc33c),_0x56de89['set'](_0x16af53,_0x545a1b['isAttached']()?_0x1c3a25:{});for(const [_0x2b45d8,_0x41162e]of _0x545a1b['markers']){if(!_0x2b45d8['startsWith']('revision:'))continue;const _0x2589cd=_0x2b45d8['split'](':')[0x2];for(const _0x5f14a8 of _0x41162e['getWalker']({'singleCharacters':!0x0})){const _0x424641=this['_getVidAttributeName'](_0x5f14a8),_0x22be2e=this['_revisionId']++,_0x5f0171='elementEnd'==_0x5f14a8['type']?_0x5f14a8['previousPosition']['path']['slice'](0x0,-0x1):_0x5f14a8['previousPosition']['path'];_0x1dc33c['getNodeByPath'](_0x5f0171)['_setAttribute'](_0x424641,_0x22be2e),this['_touched']['set'](_0x22be2e,{'userId':_0x2589cd});}}for(const _0x32d86f of this['editor']['model']['createRangeIn'](_0x545a1b)['getWalker']({'singleCharacters':!0x0})){const _0x45d9eb=this['_getVidAttributeName'](_0x32d86f),_0x20719b='elementEnd'==_0x32d86f['type']?_0x32d86f['previousPosition']['path']['slice'](0x0,-0x1):_0x32d86f['previousPosition']['path'],_0x392bd9=_0x1dc33c['getNodeByPath'](_0x20719b);_0x392bd9['getAttribute'](_0x45d9eb)>0x0||_0x392bd9['_setAttribute'](_0x45d9eb,_0x5d9d6d[_0x32da67++]);}for(const [_0x56ba9d,_0x4f410c]of _0x545a1b['markers'])_0x56ba9d['startsWith']('revision:')||this['_markers']['set'](_0x56ba9d,_0x4f410c);}const _0x35eaea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x35eaea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x35eaea,0x1));const _0x53f401=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x53f401),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x53f401,0x1));const _0x2aff18=Array['from'](this['_diffRoots'])['map'](([_0xb249fe,_0xa1a8ac])=>[_0xb249fe,q(_0xa1a8ac)]);this['_saveMetaData'](this['_lastTo'],_0x2aff18,this['_markers'],_0x56de89);}['_makeModelFromViewString'](_0x12bf2c){const _0x488eb5=JSON['parse'](_0x12bf2c),_0x3c813c=this['editor']['editing']['view']['document'],_0x540b5f=new _0x3204ea(_0x3c813c,_0x488eb5['map'](_0x90741d=>B(_0x90741d,this['editor'])));return this['editor']['data']['toModel'](_0x540b5f);}['_saveMetaData'](_0x367cc6,_0x38c26d,_0x520c22,_0x3bc023){const _0x27d8a0=new Map(_0x38c26d),_0x14fefb=new Map(_0xcaf5fd(_0x3bc023)),_0x28c579=new Map();for(const [_0x1b9e05,_0x40f585]of _0x520c22)_0x28c579['set'](_0x1b9e05,{'start':_0x40f585['start']['clone'](),'end':_0x40f585['end']['clone'](),'rootName':_0x40f585['root']['rootName']});this['_savedMetaData']['set'](_0x367cc6,{'roots':_0x27d8a0,'markers':_0x28c579,'rootsAttributes':_0x14fefb});}['_removeMetaData'](_0xe78d62){this['_savedMetaData']['delete'](_0xe78d62);}['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'](_0x49f48c,_0x557a40=null){let _0x4a93df=null;_0x49f48c['is']('documentFragment')||(_0x4a93df=new ft(_0x49f48c['name'],{'vid_start':null===_0x557a40?this['_revisionId']++:_0x557a40++}));const _0x22d721=[];for(const _0x3f8079 of _0x49f48c['getChildren']())if(_0x3f8079['is']('element')){_0x22d721['push'](this['_makeIdsRoot'](_0x3f8079,_0x557a40));const _0xcbecfa=_0x22d721[_0x22d721['length']-0x1];null!==_0x557a40&&(_0x557a40=_0xcbecfa['is']('element','$text')?_0xcbecfa['getAttribute']('vid')+0x1:_0xcbecfa['getAttribute']('vid_end')+0x1);}else{for(let _0x25389b=0x0;_0x25389b<_0x3f8079['offsetSize'];_0x25389b++)_0x22d721['push'](new ft('$text',{'vid':null===_0x557a40?this['_revisionId']++:_0x557a40++}));}if(_0x49f48c['is']('documentFragment')){const _0x425638=G(_0x49f48c['rootName']);return _0x425638['_insertChild'](0x0,_0x22d721),_0x425638;}return _0x4a93df['_setAttribute']('vid_end',null===_0x557a40?this['_revisionId']++:_0x557a40++),_0x4a93df['_insertChild'](0x0,_0x22d721),_0x4a93df;}['_calculateMetaData'](_0xded833,_0x30e395,_0x16823e){this['_reset']();const {roots:_0x11d9a2,markers:_0x4f2327,rootsAttributes:_0x47fd53}=this['_savedMetaData']['get'](_0xded833);this['_baseRoots']=new Map(_0x11d9a2),this['_baseRootsAttributes']=new Map(_0xcaf5fd(_0x47fd53));for(const [_0x3b58cf,_0x3662bd]of this['_baseRoots'])if('$graveyard'!==_0x3b58cf&&(this['_diffRoots']['set'](_0x3b58cf,q(_0x3662bd)),this['_diffRootsAttributes']=new Map(_0xcaf5fd(_0x47fd53)),_0x16823e)){const _0x746cb4=this['_revisionId'];this['_idsRoots']['set'](_0x3b58cf,this['_makeIdsRoot'](_0x3662bd)),this['_baseIdsRoots']['set'](_0x3b58cf,this['_makeIdsRoot'](_0x3662bd,_0x746cb4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x16823e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1cf718,_0x2db275]of _0x4f2327){const _0x103c17=this['_baseRoots']['get'](_0x2db275['rootName']),_0x40365c=this['_diffRoots']['get'](_0x2db275['rootName']),_0x378ab0=new vt(this['_fixPosition'](_0x2db275['start'],_0x103c17),this['_fixPosition'](_0x2db275['end'],_0x103c17)),_0x4c713e=this['_fixRange'](_0x378ab0,_0x40365c);_0x103c17['markers']['set'](_0x1cf718,_0x378ab0),this['_markers']['set'](_0x1cf718,_0x4c713e);}this['_applyOperations'](_0xded833,_0x30e395,_0x16823e);}['_applyOperations'](_0x426975,_0x59f5a9,_0x29d5b5){for(const _0x396fde of this['source']['getOperations'](_0x426975,_0x59f5a9))this['_handleOperation'](_0x396fde,_0x29d5b5);for(const _0x30d6c9 of this['_diffRoots']['values']())_0x30d6c9['markers']['clear']();for(const [_0x2a1589,_0x4eaa3c]of this['_markers']){this['_diffRoots']['get'](_0x4eaa3c['root']['rootName'])['markers']['set'](_0x2a1589,_0x4eaa3c['clone']());}const _0x449ec4=new Map(),_0x25d442=new Map();for(const [_0x79d78d,_0x45c356]of this['_diffRoots'])_0x449ec4['set'](_0x79d78d,q(_0x45c356)),_0x25d442['set'](_0x79d78d,this['_diffRootsAttributes']['get'](_0x79d78d));this['_saveMetaData'](_0x59f5a9,_0x449ec4,this['_markers'],_0x25d442);}['_getPreviousFrom'](_0x4e90e4){const _0x24e2d4=Array['from'](this['_savedMetaData']['keys']());_0x24e2d4['sort']((_0x812106,_0x500be9)=>_0x812106-_0x500be9),_0x24e2d4['reverse']();for(const _0x503567 of _0x24e2d4)if(_0x503567<_0x4e90e4)return _0x503567;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3bde74,_0x179871){const _0x236d71=Array['from'](_0x179871['markers'])['map'](([_0x45a60d,_0x5d5636])=>[_0x45a60d,this['_fixRange'](_0x5d5636,_0x3bde74)]);_0x3bde74['markers']=new Map(_0x236d71);}['_transformMarkers'](_0x52f4f6){for(const _0x777048 of this['_markers']['values']()){const _0x3c6765=_0x777048['getTransformedByOperation'](_0x52f4f6),_0x23de15=vt['_createFromRanges'](_0x3c6765);_0x777048['start']=_0x23de15['start'],_0x777048['end']=_0x23de15['end'];}}['_handleOperation'](_0x149ebd,_0x41f57e){if('addRoot'==_0x149ebd['type']||'detachRoot'==_0x149ebd['type'])return void this['_handleRootOperation'](_0x149ebd,_0x41f57e);if('insert'==_0x149ebd['type']){const _0x1edb56=_0x149ebd['position']['root']['rootName'];this['_diffRoots']['has'](_0x1edb56)||(this['_diffRoots']['set'](_0x1edb56,G(_0x1edb56,!0x0)),this['_diffRootsAttributes']['set'](_0x1edb56,{}),_0x41f57e&&this['_idsRoots']['set'](_0x1edb56,G(_0x1edb56,!0x0)));}else{if('addRootAttribute'==_0x149ebd['type']||'removeRootAttribute'==_0x149ebd['type']||'changeRootAttribute'==_0x149ebd['type'])return void this['_handleRootAttributeOperation'](_0x149ebd);}const _0x5d9671=this['_cloneOperation'](_0x149ebd,this['_diffRoots']);if('marker'!==_0x149ebd['type']&&(_0x5d9671['_execute'](),this['_transformMarkers'](_0x5d9671)),_0x41f57e)switch(_0x5d9671['type']){case'insert':this['_handleInsertOperation'](_0x149ebd);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x149ebd);break;case'merge':this['_handleMergeOperation'](_0x149ebd);break;case'split':this['_handleSplitOperation'](_0x149ebd);break;case'marker':this['_handleMarkerOperation'](_0x149ebd);}}['_cloneOperation'](_0x737149,_0x583e2d){const _0x4e05f3=_0x737149['clone']();return _0x4e05f3['_authorId']=_0x737149['_authorId'],this['_fixOperation'](_0x4e05f3,_0x583e2d),_0x4e05f3;}['_getBaseVids'](_0x3d7b8a){return _0x3d7b8a['map'](_0x2f2c44=>{const _0x2be7fd=this['_getVidAttributeName'](_0x2f2c44);return Number(_0x2f2c44['item']['getAttribute'](_0x2be7fd));});}['_generateTape'](_0x85ab92,_0x4b176e){if(_0x85ab92['is']('element','$text'))_0x4b176e['push']({'item':_0x85ab92,'type':'text'});else{_0x85ab92['is']('element')&&_0x4b176e['push']({'item':_0x85ab92,'type':'elementStart'});for(const _0x3eee2b of _0x85ab92['getChildren']())this['_generateTape'](_0x3eee2b,_0x4b176e);_0x85ab92['is']('element')&&_0x4b176e['push']({'item':_0x85ab92,'type':'elementEnd'});}return _0x4b176e;}['_getState'](){const _0x25cbb4=new Map(this['_touched']),_0x131af6=new Map(_0x25cbb4),_0x15b753=new Map(),_0x566431={'insertions':{},'deletions':{}},_0xed392c={'insertions':{},'deletions':{}},_0x1de358=new Map(),_0x19b4f6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x19b4f6['delete']('$graveyard');for(const _0x3f9b5e of _0x19b4f6){const _0x23f395=this['_diffRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1),_0x2da1a0=this['_baseRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1);_0x23f395['isAttached']()||_0x2da1a0['isAttached']()?(_0x566431['insertions'][_0x3f9b5e]=q(_0x23f395),_0x566431['deletions'][_0x3f9b5e]=q(_0x2da1a0),this['_copyMarkers'](_0x566431['deletions'][_0x3f9b5e],_0x2da1a0),this['_copyMarkers'](_0x566431['insertions'][_0x3f9b5e],_0x23f395),_0xed392c['insertions'][_0x3f9b5e]=this['_generateTape'](this['_idsRoots']['get'](_0x3f9b5e),[]),_0xed392c['deletions'][_0x3f9b5e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1),[])):_0x19b4f6['delete'](_0x3f9b5e);}for(const _0x3a2bf1 of _0x19b4f6){const _0x397ec5=_0xed392c['insertions'][_0x3a2bf1];for(const _0x3f0a53 of _0x397ec5){const _0x320395=this['_getVidAttributeName'](_0x3f0a53),_0x5590c3=_0x3f0a53['item']['getAttribute'](_0x320395);_0x131af6['delete'](_0x5590c3),_0x5590c3>=this['_startingRevisionId']&&_0x15b753['set'](_0x5590c3,_0x25cbb4['get'](_0x5590c3));}}for(const _0x197827 of _0x19b4f6){const _0x274ed2=_0xed392c['insertions'][_0x197827],_0x3a3eab=this['_getBaseVids'](_0xed392c['deletions'][_0x197827]);let _0x53d8cd=0x0;for(const _0x1167dd of _0x274ed2){const _0x44f3ec=this['_getVidAttributeName'](_0x1167dd),_0x58576e=_0x1167dd['item']['getAttribute'](_0x44f3ec);if(!_0x15b753['has'](_0x58576e)&&!_0x1de358['has'](_0x58576e)){if(_0x131af6['has'](_0x58576e))_0x53d8cd++;else{if(_0x58576e!=_0x3a3eab[_0x53d8cd]){const _0x43e8b0=_0x25cbb4['get'](_0x58576e)||_0x25cbb4['get'](_0x3a3eab[_0x53d8cd]);for(;_0x58576e!=_0x3a3eab[_0x53d8cd];)_0x131af6['has'](_0x3a3eab[_0x53d8cd])||(_0x1de358['set'](_0x3a3eab[_0x53d8cd],_0x43e8b0),_0x25cbb4['set'](_0x3a3eab[_0x53d8cd],_0x43e8b0)),_0x53d8cd++;}_0x53d8cd++;}}}}for(const _0x3ee2a0 of _0x19b4f6){const _0x4fe0dc=_0xed392c['insertions'][_0x3ee2a0];for(const _0x2ca296 of _0x4fe0dc){const _0x29d9a9=this['_getVidAttributeName'](_0x2ca296),_0x544d8c=_0x2ca296['item']['getAttribute'](_0x29d9a9);if(_0x1de358['has'](_0x544d8c)){const _0x1e0ad1=_0x1de358['get'](_0x544d8c);_0x131af6['has'](_0x544d8c)||_0x131af6['set'](_0x544d8c,{..._0x1e0ad1}),_0x15b753['set'](_0x544d8c,{..._0x1e0ad1});}}}for(const _0x512f2f of _0x131af6['keys']())_0x512f2f>=this['_startingRevisionId']&&_0x131af6['delete'](_0x512f2f);const _0x3c7d38=new Map();for(const _0x51a34b of _0x19b4f6){let _0x4dd6e7=_0xed392c['insertions'][_0x51a34b];for(const _0x4c37bc of _0x4dd6e7)if(_0x4c37bc['item']['is']('element','tableCell')){const _0x3d1855=this['_getVidAttributeName'](_0x4c37bc),_0x59d6b2=_0x4c37bc['item']['getAttribute'](_0x3d1855);if(_0x15b753['has'](_0x59d6b2)){const _0x5f0c76=_0x4c37bc['item']['parent']['parent']['getAttribute']('vid_start'),_0x15cd5f=_0x3c7d38['get'](_0x5f0c76)||new Set();_0x15cd5f['add'](_0x15b753['get'](_0x59d6b2)['userId']),_0x3c7d38['set'](_0x5f0c76,_0x15cd5f);}}_0x4dd6e7=_0xed392c['deletions'][_0x51a34b];for(const _0x11c2c6 of _0x4dd6e7)if(_0x11c2c6['item']['is']('element','tableCell')){const _0x3dfd4d=this['_getVidAttributeName'](_0x11c2c6),_0x107424=_0x11c2c6['item']['getAttribute'](_0x3dfd4d);if(_0x131af6['has'](_0x107424)){const _0x523c3c=_0x11c2c6['item']['parent']['parent']['getAttribute']('vid_start'),_0x317bb3=_0x3c7d38['get'](_0x523c3c)||new Set();_0x317bb3['add'](_0x131af6['get'](_0x107424)['userId']),_0x3c7d38['set'](_0x523c3c,_0x317bb3);}}for(const _0x4c0f6d of _0x3c7d38['keys']())(_0x15b753['has'](_0x4c0f6d)||_0x131af6['has'](_0x4c0f6d))&&_0x3c7d38['delete'](_0x4c0f6d);}for(const _0x44392e of _0x19b4f6){const _0x2728d6=_0xed392c['insertions'][_0x44392e];let _0x41bf58=null,_0x154f58=null;for(const _0x273325 of _0x2728d6){const _0x39f0d7=this['_getVidAttributeName'](_0x273325),_0x27c9d6=_0x273325['item']['getAttribute'](_0x39f0d7),_0x57c826=_0x3c7d38['get'](_0x27c9d6);_0x57c826&&'elementStart'==_0x273325['type']&&(_0x41bf58=Array['from'](_0x57c826)[0x0],_0x154f58=_0x273325['item']['getAttribute']('vid_end')),_0x41bf58&&(_0x131af6['set'](_0x27c9d6,{'userId':_0x41bf58}),_0x15b753['set'](_0x27c9d6,{'userId':_0x41bf58})),_0x27c9d6==_0x154f58&&(_0x41bf58=null,_0x154f58=null);}}const _0x54fc44={},_0x3f07a8=new Set();for(const _0x24f4dc of _0x19b4f6){const _0x4c8d3b=_0x566431['deletions'][_0x24f4dc],_0x5e52b4=_0x566431['insertions'][_0x24f4dc];for(const {userId:_0x44582f}of this['_touchedMarkers']['values']())null!==_0x44582f&&_0x3f07a8['add'](_0x44582f);for(const {userId:_0x5018a0}of this['_touchedRoots']['values']())null!==_0x5018a0&&_0x3f07a8['add'](_0x5018a0);this['_markChanges'](_0x5e52b4,_0xed392c['insertions'][_0x24f4dc],_0x15b753,'insertion',_0x3f07a8),this['_markChanges'](_0x4c8d3b,_0xed392c['deletions'][_0x24f4dc],_0x131af6,'deletion',_0x3f07a8),_0x54fc44[_0x24f4dc]={'insertions':this['_prepareViewToSave'](_0x5e52b4),'deletions':this['_prepareViewToSave'](_0x4c8d3b),'attachChange':this['_touchedRoots']['get'](_0x24f4dc)||null,'attributesBefore':_0xcaf5fd(this['_baseRootsAttributes']['get'](_0x24f4dc))||{},'attributesAfter':_0xcaf5fd(this['_diffRootsAttributes']['get'](_0x24f4dc))};}return{'diffData':_0x54fc44,'authorsIds':Array['from'](_0x3f07a8)};}['_processRootBeforeSave'](_0x39a7bb){for(const [,_0x53a7f5]of _0x39a7bb['markers']){const _0x38c9ef=_0x53a7f5['start']['getAncestors']()['filter'](_0xa8a640=>'tableCell'==_0xa8a640['name']);for(const _0x4545bd of _0x38c9ef)0x1==_0x4545bd['childCount']&&_0x4545bd['getChild'](0x0)['is']('element','paragraph')&&_0x4545bd['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f64b4){this['_processRootBeforeSave'](_0x3f64b4);const _0x2fbc3e=this['editor']['data']['toView'](_0x3f64b4,{}),_0x219c34=Array['from'](_0x2fbc3e['getChildren']())['map'](_0x155c92=>this['_getViewJson'](_0x155c92));return JSON['stringify'](_0x219c34);}['_getViewJson'](_0x1e5e39){if(_0x1e5e39['is']('$text'))return _0x1e5e39['data'];{const _0x36df2f=_0x1e5e39;return{'type':Object['keys'](T)['find'](_0x4e31e0=>_0x1e5e39 instanceof T[_0x4e31e0]),'name':_0x36df2f['name'],'attributes':Array['from'](_0x36df2f['getAttributes']()),'children':Array['from'](_0x36df2f['getChildren']())['map'](_0x2ef353=>this['_getViewJson'](_0x2ef353))};}}['_markChanges'](_0x171a49,_0x1e67b5,_0x37a405,_0x444309,_0x1da4f3){let _0x39d207=null,_0x559da3=null,_0x239f6b=0x0;const _0x5c5e53=this['editor']['model'];for(let _0x46b15e=0x0;_0x46b15e<_0x1e67b5['length'];_0x46b15e++){const _0xaa255b=this['_getVidAttributeName'](_0x1e67b5[_0x46b15e]),_0x212246=_0x1e67b5[_0x46b15e]['item']['getAttribute'](_0xaa255b),_0x48a328=_0x37a405['get'](_0x212246),_0x306ff2=_0x46b15e==_0x1e67b5['length']-0x1;(!_0x39d207&&_0x48a328&&(_0x39d207=_0x48a328,_0x559da3=_0x1e67b5[_0x46b15e]),_0x39d207&&(!_0x48a328||_0x48a328['userId']!=_0x39d207['userId']))&&(_0x134c26(_0x48a328,L(_0x559da3,_0x171a49,_0x5c5e53),L(_0x1e67b5[_0x46b15e],_0x171a49,_0x5c5e53)),_0x39d207=_0x48a328||null,_0x559da3=_0x48a328?_0x1e67b5[_0x46b15e]:null),_0x39d207&&_0x306ff2&&_0x134c26(_0x48a328,L(_0x559da3,_0x171a49,_0x5c5e53),W(_0x1e67b5[_0x46b15e],_0x171a49,_0x5c5e53));}function _0x134c26(_0x283e0f,_0xd79093,_0xa9e44a){const _0x4b89e9=_0x39d207['userId'],_0x42d70b='revision:'+_0x444309+':'+_0x4b89e9+':'+_0x239f6b++,_0x4c2f84=_0x5c5e53['createRange'](_0xd79093,_0xa9e44a);_0x171a49['markers']['set'](_0x42d70b,_0x4c2f84),null!==_0x4b89e9&&_0x1da4f3['add'](_0x4b89e9);}}['_getVidAttributeName'](_0x637763){switch(_0x637763['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x34a386,_0xd705c9){_0x34a386['baseVersion']=null;for(const _0x360e24 in _0x34a386){const _0x1ec8aa=_0x34a386[_0x360e24];if(_0x1ec8aa instanceof gt){const _0x4b1bc3=_0xd705c9['get'](_0x1ec8aa['root']['rootName']);_0x34a386[_0x360e24]=this['_fixPosition'](_0x1ec8aa,_0x4b1bc3);}if(_0x1ec8aa instanceof vt){const _0x169cfb=_0xd705c9['get'](_0x1ec8aa['root']['rootName']);_0x34a386[_0x360e24]=this['_fixRange'](_0x1ec8aa,_0x169cfb);}'root'===_0x360e24&&(_0x34a386['root']=_0xd705c9['get'](_0x34a386['root']['rootName']));}}['_fixRange'](_0x5b39b8,_0x271268){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5b39b8['start'],_0x271268),this['_fixPosition'](_0x5b39b8['end'],_0x271268));}['_fixPosition'](_0x2c509a,_0x35a654){return this['editor']['model']['createPositionFromPath'](_0x35a654,_0x2c509a['path'],_0x2c509a['stickiness']);}['_handleInsertOperation'](_0x331293){const _0x56fbbe=this['_idsRoots']['get'](_0x331293['position']['root']['rootName']),_0x5c7d76=this['_fixPosition'](_0x331293['position'],_0x56fbbe),_0x1bbc5f=null===_0x331293['_authorId']?null:_0x331293['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x587bfc=_0x5c7d76['parent'],_0x4c5b5c=this['_revisionId'],_0x2ca244=[];for(const _0x733a45 of _0x331293['nodes'])if(_0x733a45['is']('element'))_0x2ca244['push'](this['_makeIdsRoot'](_0x733a45));else{for(let _0x1f4d2f=0x0;_0x1f4d2f<_0x733a45['offsetSize'];_0x1f4d2f++)_0x2ca244['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x363b5f=this['_revisionId'];for(let _0x4cd800=_0x4c5b5c;_0x4cd800<_0x363b5f;_0x4cd800++)this['_touched']['set'](_0x4cd800,{'userId':_0x1bbc5f});_0x587bfc['_insertChild'](_0x5c7d76['offset'],_0x2ca244);}['_handleMoveOperation'](_0x3547ad){(_0x3547ad=this['_cloneOperation'](_0x3547ad,this['_idsRoots']))['_execute']();const _0x273d1e=null===_0x3547ad['_authorId']?null:_0x3547ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x483769=_0x3547ad['getMovedRangeStart'](),_0x3b4592=_0x483769['parent'],_0x4cd250=_0x483769['offset'];!function _0x2a2968(_0x3e3fce,_0x14c288,_0x4c8c1c,_0x347d6f){for(let _0x4a9b76=_0x4c8c1c;_0x4a9b76<_0x347d6f;_0x4a9b76++){const _0x57a524=_0x14c288['getChild'](_0x4a9b76);_0x57a524['is']('element','$text')?_0x3e3fce['set'](_0x57a524['getAttribute']('vid'),{'userId':_0x273d1e}):(_0x3e3fce['set'](_0x57a524['getAttribute']('vid_start'),{'userId':_0x273d1e}),_0x2a2968(_0x3e3fce,_0x57a524,0x0,_0x57a524['childCount']),_0x3e3fce['set'](_0x57a524['getAttribute']('vid_end'),{'userId':_0x273d1e}));}}(this['_touched'],_0x3b4592,_0x4cd250,_0x4cd250+_0x3547ad['howMany']);}['_handleMergeOperation'](_0x632def){const _0x3a3a3d=null===(_0x632def=this['_cloneOperation'](_0x632def,this['_idsRoots']))['_authorId']?null:_0x632def['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42d211=_0x632def['targetPosition']['parent'],_0x3e3278=_0x632def['sourcePosition']['parent'],_0x3de962=_0x42d211['getAttribute']('vid_end'),_0x3f011f=_0x3e3278['getAttribute']('vid_start');_0x42d211['_setAttribute']('vid_end',_0x3e3278['getAttribute']('vid_end')),_0x3e3278['_setAttribute']('vid_end',_0x3de962),this['_touched']['set'](_0x3f011f,{'userId':_0x3a3a3d}),this['_touched']['set'](_0x3de962,{'userId':_0x3a3a3d}),_0x632def['_execute']();}['_handleSplitOperation'](_0x4cb5d4){const _0x541bac=null===(_0x4cb5d4=this['_cloneOperation'](_0x4cb5d4,this['_idsRoots']))['_authorId']?null:_0x4cb5d4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2e8c3c=_0x4cb5d4['graveyardPosition'],_0xeac8e1=_0x4cb5d4['splitPosition']['parent'];_0x4cb5d4['_execute']();const _0x155902=_0xeac8e1['getAttribute']('vid_end'),_0x15e247=_0x4cb5d4['insertionPosition']['nodeAfter'];if(_0x2e8c3c){const _0x429ded=_0x15e247['getAttribute']('vid_end'),_0x59766d=_0xeac8e1['getAttribute']('vid_end');_0xeac8e1['_setAttribute']('vid_end',_0x429ded),_0x15e247['_setAttribute']('vid_end',_0x59766d),this['_touched']['set'](_0xeac8e1['getAttribute']('vid_end'),{'userId':_0x541bac}),this['_touched']['set'](_0x15e247['getAttribute']('vid_start'),{'userId':_0x541bac});}else{const _0x2fa020=this['_revisionId']++,_0x164339=this['_revisionId']++;_0xeac8e1['_setAttribute']('vid_end',_0x2fa020),_0x15e247['_setAttribute']('vid_start',_0x164339),_0x15e247['_setAttribute']('vid_end',_0x155902),this['_touched']['set'](_0x2fa020,{'userId':_0x541bac}),this['_touched']['set'](_0x164339,{'userId':_0x541bac});}}['_handleMarkerOperation'](_0x4bbacc){if(!_0x4bbacc['affectsData'])return;const _0x263ae5=(_0x4bbacc=this['_cloneOperation'](_0x4bbacc,this['_diffRoots']))['oldRange']?_0x4bbacc['oldRange']['root']:null,_0x4159e5=_0x4bbacc['newRange']?_0x4bbacc['newRange']['root']:null;_0x263ae5&&this['_markers']['delete'](_0x4bbacc['name']),_0x4159e5&&this['_markers']['set'](_0x4bbacc['name'],_0x4bbacc['newRange']['clone']());const _0x52c625=null===_0x4bbacc['_authorId']?null:_0x4bbacc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x346cc5=_0x4bbacc['name'];if(!this['_touchedMarkers']['has'](_0x346cc5))return void this['_touchedMarkers']['set'](_0x346cc5,{'range':_0x4bbacc['oldRange'],'userId':_0x52c625});const _0x35c08c=this['_touchedMarkers']['get'](_0x346cc5),_0x3ca96=_0x35c08c['range'],_0x2e9e60=_0x4bbacc['newRange'];null==_0x3ca96&&null==_0x2e9e60||_0x3ca96&&_0x2e9e60&&_0x3ca96['isEqual'](_0x2e9e60)?this['_touchedMarkers']['delete'](_0x4bbacc['name']):_0x35c08c['userId']=_0x52c625;}['_handleRootOperation'](_0x486af3,_0x4ce614){this['_diffRoots']['has'](_0x486af3['rootName'])?this['_diffRoots']['get'](_0x486af3['rootName'])['_isAttached']=_0x486af3['isAdd']:(this['_diffRoots']['set'](_0x486af3['rootName'],G(_0x486af3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x486af3['rootName'],{}),_0x4ce614&&this['_idsRoots']['set'](_0x486af3['rootName'],G(_0x486af3['rootName'],!0x0)));const _0x552046=null===_0x486af3['_authorId']?null:_0x486af3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c23fd=this['_touchedRoots']['get'](_0x486af3['rootName']);_0x3c23fd&&_0x3c23fd['userId']===_0x552046?this['_touchedRoots']['delete'](_0x486af3['rootName']):this['_touchedRoots']['set'](_0x486af3['rootName'],{'userId':_0x552046,'isAttached':_0x486af3['isAdd']});}['_handleRootAttributeOperation'](_0xd18cf5){const _0x44f522=this['_diffRootsAttributes']['get'](_0xd18cf5['root']['rootName']);null===_0xd18cf5['newValue']?delete _0x44f522[_0xd18cf5['key']]:_0x44f522[_0xd18cf5['key']]=_0xd18cf5['newValue'];}}function q(_0x4665fc){const _0x21c9d0=G(_0x4665fc['rootName'],_0x4665fc['isAttached']());for(const _0x51e811 of _0x4665fc['getChildren']()){const _0x2c575b=_0x51e811['_clone'](!0x0);_0x21c9d0['_appendChild'](_0x2c575b);}return _0x21c9d0;}function G(_0x58ad37,_0x50d5d1=!0x0){const _0x178d0b=new wt();return _0x178d0b['rootName']=_0x58ad37,_0x178d0b['_isAttached']=_0x50d5d1,_0x178d0b['isAttached']=()=>_0x178d0b['_isAttached'],_0x178d0b;}function L(_0x4a2e19,_0x2cac45,_0x571dbc){const _0x4b7d14='elementEnd'==_0x4a2e19['type']?_0x571dbc['createPositionAt'](_0x4a2e19['item'],'end'):_0x571dbc['createPositionBefore'](_0x4a2e19['item']);return _0x571dbc['createPositionFromPath'](_0x2cac45,_0x4b7d14['path'],_0x4b7d14['stickiness']);}function W(_0xac7e97,_0x144b24,_0x2ea4d5){const _0x27a7fe='elementStart'==_0xac7e97['type']?_0x2ea4d5['createPositionAt'](_0xac7e97['item'],0x0):_0x2ea4d5['createPositionAfter'](_0xac7e97['item']);return _0x2ea4d5['createPositionFromPath'](_0x144b24,_0x27a7fe['path'],_0x27a7fe['stickiness']);}class ns extends _0x4e738a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x52532c,_0x1aa942){super(_0x52532c),this['focusTracker']=new _0x347cd6(),this['keystrokes']=new _0x479280(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1aa942),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'](),_0x45bbf8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xf23f3=_0x3e2166=>_0x3e2166['stopPropagation']();this['keystrokes']['set']('arrowright',_0xf23f3),this['keystrokes']['set']('arrowleft',_0xf23f3),this['keystrokes']['set']('arrowup',_0xf23f3),this['keystrokes']['set']('arrowdown',_0xf23f3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x552529){this['revisionNameInputView']['fieldView']['element']['value']=_0x552529['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x49765f){const _0x8b6a8=new at(this['locale'],_0x32656c),_0x402b98=_0x8b6a8['fieldView'];_0x402b98['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4af54b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x49765f&&(_0x4af54b+='\x20('+y(this['locale'],'optional')+')'),(_0x8b6a8['label']=_0x4af54b,_0x402b98['on']('input',()=>{this['revisionNameInputValue']=_0x402b98['element']['value']['trim']();}),_0x8b6a8);}}class u extends _0x570864{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xba6ace=this['editor'],_0x2475da=_0xba6ace['plugins']['get']('RevisionTracker');_0xba6ace['ui']['componentFactory']['add']('revisionHistory',_0x4b8bf2=>{const _0x201a50=_0x187e19(_0x4b8bf2),_0x2c29bf=_0x201a50['panelView']['children'],_0x167af4=new te(_0x4b8bf2),_0x35b297=new _0x54edbd(_0x4b8bf2),_0x425265=new _0x4cc0a0(_0x4b8bf2),_0x56439d=new _0x54edbd(_0x4b8bf2),_0x45950a=new _0x4cc0a0(_0x4b8bf2);return _0x201a50['bind']('isEnabled')['to'](_0x2475da,'isReady',_0x2475da,'isEnabled',_0xba6ace,'isReadOnly',(_0x55514a,_0x14dd1e,_0x1e7139)=>_0x55514a&&_0x14dd1e&&!_0x1e7139),_0x201a50['buttonView']['set']({'icon':_0xa39abc['history'],'label':y(_0x4b8bf2,'Revision\x20history'),'tooltip':!0x0}),_0x425265['set']({'label':y(_0x4b8bf2,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x425265['bind']('isEnabled')['to'](_0x2475da,'isReady',_0x2475da,'isEnabled',_0xba6ace,'isReadOnly',(_0x11afa3,_0x271539,_0x317ffc)=>_0x11afa3&&_0x271539&&!_0x317ffc),_0x425265['on']('execute',()=>this['_showDialog']()),_0x45950a['set']({'label':y(_0x4b8bf2,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x45950a['bind']('isEnabled')['to'](_0x2475da,'isReady',_0xba6ace,'isReadOnly',(_0x3a0009,_0xf09e2)=>_0x3a0009&&!_0xf09e2),_0x45950a['on']('execute',()=>{_0xba6ace['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x201a50['isOpen']=!0x1,_0xba6ace['editing']['view']['focus']();}),_0x35b297['children']['add'](_0x425265),_0x56439d['children']['add'](_0x45950a),_0x167af4['role']='menu',_0x167af4['items']['addMany']([_0x35b297,_0x56439d]),_0x2c29bf['add'](_0x167af4),_0x201a50;}),_0xba6ace['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x33e99c=this['editor'],_0x5dceb6=_0x33e99c['locale'],_0x550951=new _0x3e273f(_0x5dceb6),_0x468711=new _0x2f8e96(_0x5dceb6);_0x550951['buttonView']['set']({'icon':_0xa39abc['history'],'label':y(_0x5dceb6,'Revision\x20history')});const _0x49e9ca=new _0x178041(_0x5dceb6,_0x550951),_0x58c6e0=new _0x5c0dae(_0x5dceb6);_0x58c6e0['set']({'label':y(_0x5dceb6,'Save\x20current\x20revision')}),_0x58c6e0['delegate']('execute')['to'](_0x550951),_0x58c6e0['on']('execute',()=>{this['_showDialog']();}),_0x49e9ca['children']['add'](_0x58c6e0),_0x468711['items']['add'](_0x49e9ca);const _0x3a85ef=new _0x178041(_0x5dceb6,_0x550951),_0x1cb96a=new _0x5c0dae(_0x5dceb6);return _0x1cb96a['set']({'label':y(_0x5dceb6,'Open\x20revision\x20history')}),_0x1cb96a['delegate']('execute')['to'](_0x550951),_0x1cb96a['on']('execute',()=>{_0x33e99c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3a85ef['children']['add'](_0x1cb96a),_0x468711['items']['add'](_0x3a85ef),_0x550951['panelView']['children']['add'](_0x468711),_0x550951;}['_showDialog'](){const _0x558354=this['editor'],_0x23a714=_0x558354['locale'],_0x39f11c=_0x558354['plugins']['get']('Dialog'),_0x51e998=_0x558354['plugins']['get']('RevisionTracker');function _0x3d9528(_0x4078b9){_0x558354['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4078b9['revisionName']?_0x4078b9['revisionNameInputView']['errorText']=y(_0x23a714,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x558354['plugins']['get'](l)['saveRevision']({'name':_0x4078b9['revisionName']}),_0x39f11c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3d9528(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x39f11c['show']({'id':'revisionSave','title':y(_0x23a714,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x558354['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x39f11c['hide']()},{'label':y(_0x558354['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x355d1d){_0x355d1d['bind']('isEnabled')['to'](_0x51e998,'isReady',_0x51e998,'isEnabled',_0x558354,'isReadOnly',(_0x23830d,_0x1279c8,_0x3d749a)=>_0x23830d&&_0x1279c8&&!_0x3d749a);},'onExecute':()=>_0x3d9528(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4417d6=this['editor'],_0x47f132=_0x4417d6['locale'];this['_saveRevisionFormView']=new ns(_0x47f132,_0x4417d6['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4e738a{['changeId'];['_model'];constructor(_0x45eb56,_0x2abc98){super(_0x45eb56),this['_model']=_0x2abc98,this['changeId']=_0x2abc98['id'];const _0x470dd9=this['bindTemplate'],_0x1a462a=y(_0x45eb56,_0x2abc98['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2abc98['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2abc98['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x470dd9['to']('type',_0x53e9ec=>'ck-revision-change__'+_0x53e9ec)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1a462a}]},{'text':'\x20'+_0x2abc98['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x157521(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3eeec8){super(),this['id']=_0x3eeec8['id']||_0x3b5255(),this['author']=_0x3eeec8['author'],this['type']=_0x3eeec8['type'],this['data']=_0x3eeec8['data']||{},this['rootName']=_0x3eeec8['rootName'],this['set']('createdAt',_0x3eeec8['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(_0x1808b4,_0x3c58ec){this['newRevisionId']=_0x1808b4,this['oldRevisionId']=_0x3c58ec,this['changes']=new _0x12c280();}['_setChanges'](_0x5399d5){for(const _0x3c14a8 of _0x5399d5)this['changes']['add'](_0x3c14a8);}}const tt={'c':_0x757aae,'a':_0xa210d8,'e':_0x193389,'r':_0x3f1dae,'u':_0x512571};class d extends _0x570864{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x41255f,_0x5d33fb,A];}constructor(_0x1a6423){super(_0x1a6423),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',(_0x4a9d5f,_0x280a49,_0x589500)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x400304=>{for(const _0x2e9b80 of this['editor']['editing']['view']['document']['roots'])_0x589500?_0x400304['removeClass']('ck-editor__editable__overlay',_0x2e9b80):_0x400304['addClass']('ck-editor__editable__overlay',_0x2e9b80);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3d8a62=>null!==_0x3d8a62),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x367e47,_0xb7eb74,_0x3cff88)=>_0x367e47&&_0x3cff88?_0xb7eb74['changes']['getIndex'](_0x3cff88):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5db047,_0x542898)=>_0x5db047?_0x542898['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5d33fb);}['init'](){const _0x12beee=this['editor'],_0x2d3a62=new yt(_0x12beee,{'direction':'backward'}),_0x59bb32=new yt(_0x12beee,{'direction':'forward'});(_0x12beee['commands']['add']('showPreviousChange',_0x2d3a62),_0x12beee['commands']['add']('showNextChange',_0x59bb32),_0x12beee['commands']['add']('restoreRevision',new bt(_0x12beee)),this['on']('change:numberOfChanges',()=>{_0x2d3a62['refresh'](),_0x59bb32['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x12beee['enableReadOnlyMode']('revision-viewer'),_0x12beee['plugins']['has']('WidgetToolbarRepository'))&&_0x12beee['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5eb1d9){await this['loadRevisionData'](_0x5eb1d9);const _0x515c70={};for(const _0x4adc68 in _0x5eb1d9['diffData']){if(_0x5eb1d9['diffData'][_0x4adc68]['attachChange']&&!_0x5eb1d9['diffData'][_0x4adc68]['attachChange']['isAttached'])continue;const _0x1aafdc=this['_removeRevisionMarkers'](JSON['parse'](_0x5eb1d9['diffData'][_0x4adc68]['insertions'])),_0x50c241=this['editor']['editing']['view']['document'],_0x5b1f01=new _0x3204ea(_0x50c241,_0x1aafdc['map'](_0x3fa627=>this['_getViewObj'](_0x3fa627)));this['editor']['data']['processor']['useFillerType']('marked'),_0x515c70[_0x4adc68]=this['editor']['data']['processor']['toData'](_0x5b1f01),this['editor']['data']['processor']['useFillerType']('default');}return _0x515c70;}async['getRevisionRootsAttributes'](_0x1f6fb3){await this['loadRevisionData'](_0x1f6fb3);const _0x197d08={};for(const _0x589f19 in _0x1f6fb3['diffData'])_0x1f6fb3['diffData'][_0x589f19]['attachChange']&&!_0x1f6fb3['diffData'][_0x589f19]['attachChange']['isAttached']||(_0x197d08[_0x589f19]=_0x1f6fb3['diffData'][_0x589f19]['attributesAfter']||{});return _0x197d08;}['_removeRevisionMarkers'](_0x4945c9){return(_0x4945c9=_0x4945c9['filter'](_0x14467e=>!_0x14467e['name']||'revision-start'!==_0x14467e['name']&&'revision-end'!==_0x14467e['name']))['forEach'](_0x1cb251=>{'string'!=typeof _0x1cb251&&(_0x1cb251['children']=this['_removeRevisionMarkers'](_0x1cb251['children']),_0x1cb251['attributes']=_0x1cb251['attributes']['filter'](_0x227be9=>!_0x227be9[0x0]['startsWith']('data-revision-')));}),_0x4945c9;}async['compare'](_0x14dc81,_0x46f68b,_0x5e2363=!0x1){if(!this['isEnabled'])return;const _0x507bb0=this['diff'],_0x451cdf=this['repository'],_0x5b142f='string'==typeof _0x14dc81?_0x451cdf['getRevision'](_0x14dc81):_0x14dc81,_0x1d8d26='string'==typeof _0x46f68b?_0x451cdf['getRevision'](_0x46f68b):_0x46f68b,_0x5dc658=_0x5b142f['id'],_0x1696ef=_0x1d8d26?_0x1d8d26['id']:null;if(!_0x5e2363&&this['diff']&&this['diff']['newRevisionId']===_0x5dc658&&this['diff']['oldRevisionId']===_0x1696ef)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5dc658,_0x1696ef);const _0x3f7003=this['_getRevisionsRange'](_0x5b142f,_0x1d8d26,!0x0)['map'](_0x4aa9eb=>this['loadRevisionData'](_0x4aa9eb));return _0x3f7003['push'](new Promise(_0x1f8c9f=>{setTimeout(_0x1f8c9f,0x14);})),Promise['all'](_0x3f7003)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x226e08=this['_getDiff'](_0x5dc658,_0x1696ef);for(const _0x1fef66 of _0x226e08['changes'])this['_changeIdToChange']['set'](_0x1fef66['id'],_0x1fef66);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x276ff4=>{for(const _0x4d6722 of this['editor']['model']['document']['getRootNames']())_0x276ff4['detachRoot'](_0x4d6722);for(const _0x113cd9 of Object['keys'](_0x226e08['model'])){const _0x3c6e43=_0x276ff4['addRoot'](_0x113cd9);for(const _0x50f23a of Object['keys'](_0x226e08['attributes'][_0x113cd9]))_0x276ff4['setAttribute'](_0x50f23a,_0x226e08['attributes'][_0x113cd9][_0x50f23a],_0x3c6e43);_0x276ff4['insert'](_0x226e08['model'][_0x113cd9],_0x3c6e43,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x226e08['changes'])),this['isReady']=!0x0;})['catch'](_0x19f373=>{console['error'](_0x19f373),this['_cleanUp'](),_0x507bb0&&(this['diff']=_0x507bb0),this['isReady']=!0x0;});}['addRevisionData'](_0x568a07,_0x3f34b2){const _0x57e790=this['repository']['createRevision'](_0x568a07);return _0x57e790['on']('_update',(_0x308d4a,_0x40d0e5,_0x5c6b53)=>_0x3f34b2(_0x40d0e5,_0x5c6b53,_0x57e790)),this['repository']['addRevision'](_0x57e790),_0x57e790;}['loadRevisionData'](_0x41481b){if(!_0x41481b||_0x41481b['diffData'])return Promise['resolve']();{const _0x39fff2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x39fff2,'revisionId':_0x41481b['id']})['then'](_0x19e421=>{_0x41481b['_update']({'diffData':_0x19e421['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},_0x38aa5b=>{for(const _0x4030dc of this['editor']['model']['document']['getRootNames']())_0x38aa5b['detachRoot'](_0x4030dc);});}['_sortAndFilterDiffChanges'](_0x1c86df){const _0x1f6c81=[],_0x4bf5ad=new Map();for(const _0xc7c912 of this['editor']['model']['document']['getRootNames']()){const _0x28d145=this['editor']['editing']['view']['getDomRoot'](_0xc7c912);if(!_0x28d145)continue;const _0x39d5c5=_0x28d145['getClientRects']()['item'](0x0);_0x39d5c5&&(_0x1f6c81['push'](_0xc7c912),_0x4bf5ad['set'](_0xc7c912,_0x39d5c5));}return _0x1f6c81['sort']((_0x56376f,_0x377822)=>{const _0x59ada2=_0x4bf5ad['get'](_0x56376f),_0x355a43=_0x4bf5ad['get'](_0x377822);return _0x59ada2['y']-_0x355a43['y']||_0x59ada2['x']-_0x355a43['x'];}),(_0x1c86df=_0x1c86df['filter'](_0x4376bb=>_0x1f6c81['includes'](_0x4376bb['rootName'])))['sort']((_0x89b94c,_0x1b323c)=>_0x1f6c81['indexOf'](_0x89b94c['rootName'])-_0x1f6c81['indexOf'](_0x1b323c['rootName'])),_0x1c86df;}['_makeTape'](_0x57b037){const _0x3e3134=Array['from'](_0x57b037['markers'])['filter'](([_0x2bf82d,_0x43389e])=>_0x2bf82d['startsWith']('revision:')&&!_0x43389e['isCollapsed']),_0x47ce6a=Array['from'](this['editor']['model']['createRangeIn'](_0x57b037)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3e3134['length'])for(const _0x2be9f5 of _0x47ce6a){const [_0x24d2cb,_0x53b4a6]=_0x3e3134[0x0],[,_0xc05f42,_0xdf0689]=_0x24d2cb['split'](':');if(_0x53b4a6['end']['isEqual'](_0x2be9f5['nextPosition'])&&_0x3e3134['shift'](),(_0x2be9f5['previousPosition']['isEqual'](_0x53b4a6['start'])||_0x2be9f5['previousPosition']['isAfter'](_0x53b4a6['start']))&&('insertion'==_0xc05f42?_0x2be9f5['isAdded']={'userId':_0xdf0689}:'deletion'==_0xc05f42&&(_0x2be9f5['isRemoved']={'userId':_0xdf0689})),0x0==_0x3e3134['length'])break;}return _0x47ce6a;}['_refreshStartEndIndex'](_0x308ac6){const _0x110a6d=new Map();for(let _0x1eb749=0x0;_0x1eb749<_0x308ac6['length'];_0x1eb749++)'text'===_0x308ac6[_0x1eb749]['type']?(_0x308ac6[_0x1eb749]['item']['startIndex']=_0x1eb749,_0x308ac6[_0x1eb749]['item']['endIndex']=_0x1eb749):('elementStart'===_0x308ac6[_0x1eb749]['type']?_0x308ac6[_0x1eb749]['item']['startIndex']=_0x1eb749:'elementEnd'===_0x308ac6[_0x1eb749]['type']&&(_0x308ac6[_0x1eb749]['item']['endIndex']=_0x1eb749),_0x110a6d['set'](_0x308ac6[_0x1eb749]['id'],_0x1eb749));for(const _0x77d0f3 of _0x110a6d['values']())'elementStart'===_0x308ac6[_0x77d0f3]['type']?_0x308ac6[_0x77d0f3]['item']['endIndex']=_0x110a6d['get'](_0x308ac6[_0x77d0f3]['pairId']):'elementEnd'===_0x308ac6[_0x77d0f3]['type']&&(_0x308ac6[_0x77d0f3]['item']['startIndex']=_0x110a6d['get'](_0x308ac6[_0x77d0f3]['pairId']));}['_processTape'](_0x4720fb){for(let _0x5678f1=0x0;_0x5678f1<_0x4720fb['length'];_0x5678f1++){if('elementStart'===_0x4720fb[_0x5678f1]['type'])_0x4720fb[_0x5678f1]['item']['startIndex']=_0x5678f1;else{if('elementEnd'===_0x4720fb[_0x5678f1]['type']){_0x4720fb[_0x5678f1]['item']['endIndex']=_0x5678f1;const _0x498c2b=_0x4720fb[_0x5678f1]['item']['startIndex'];_0x4720fb[_0x498c2b]['pairId']=_0x4720fb[_0x5678f1]['id'],_0x4720fb[_0x5678f1]['pairId']=_0x4720fb[_0x498c2b]['id'];}else _0x4720fb[_0x5678f1]['item']['startIndex']=_0x5678f1,_0x4720fb[_0x5678f1]['item']['endIndex']=_0x5678f1,_0x4720fb[_0x5678f1]['pairId']=null;}_0x4720fb[_0x5678f1]['markersStart']||(_0x4720fb[_0x5678f1]['markersStart']=[],_0x4720fb[_0x5678f1]['markersEnd']=[]);}}['_markInsertions'](_0x509c82,_0x1e90e2){const _0x228b0c=_0x509c82['filter'](_0x40a987=>!_0x40a987['isAdded']);for(let _0x3ffc3a=0x0;_0x3ffc3a<_0x1e90e2['length'];_0x3ffc3a++)_0x1e90e2[_0x3ffc3a]['isAdded']&&(_0x228b0c[_0x3ffc3a]['isAdded']=_0x1e90e2[_0x3ffc3a]['isAdded']);}['_makeModelFromViewString'](_0x2cc466){const _0x566538=JSON['parse'](_0x2cc466),_0x12da67=this['editor']['editing']['view']['document'],_0x523056=new _0x3204ea(_0x12da67,_0x566538['map'](_0x9f88aa=>this['_getViewObj'](_0x9f88aa)));return this['editor']['data']['toModel'](_0x523056);}['_getViewObj'](_0x33f55b){const _0x3eaa4f=this['editor']['editing']['view']['document'];if('string'==typeof _0x33f55b)return new _0x4c3592(_0x3eaa4f,_0x33f55b);{const _0x137d88=_0x33f55b['children']['map'](_0x560501=>this['_getViewObj'](_0x560501));return new(tt[_0x33f55b['type']]||_0x306c72)(_0x3eaa4f,_0x33f55b['name'],_0x33f55b['attributes'],_0x137d88);}}['_getDiff'](_0x1271a3,_0x574ac1=null){const _0x3b44d7=this['repository']['getRevision'](_0x1271a3),_0xd241d8=_0x574ac1?this['repository']['getRevision'](_0x574ac1):null,_0x59f4ef=this['_getRevisionsRange'](_0x3b44d7,_0xd241d8),_0x3926ba=_0x59f4ef[_0x59f4ef['length']-0x1],_0x216203=new Map(),_0x2c436e={'model':{},'attributes':{},'changes':[]},_0x4079df=new Set(),_0x5beccd=new Map();for(let _0x27052e=_0x59f4ef['length']-0x1;_0x27052e>=0x0;_0x27052e--){const _0x3e53d9=_0x59f4ef[_0x27052e];for(const _0x195858 of Object['keys'](_0x3e53d9['diffData']))if(_0x3e53d9['diffData'][_0x195858]['attachChange']){const _0x46fac4=_0x3e53d9['diffData'][_0x195858]['attachChange'];_0x46fac4['isAttached']?(_0x4079df['add'](_0x195858),_0x5beccd['has'](_0x195858)&&_0x5beccd['get'](_0x195858)['userId']==_0x46fac4['userId']?_0x5beccd['delete'](_0x195858):_0x5beccd['set'](_0x195858,_0x46fac4)):_0x5beccd['has'](_0x195858)?(_0x4079df['delete'](_0x195858),_0x5beccd['delete'](_0x195858)):(_0x4079df['add'](_0x195858),_0x5beccd['set'](_0x195858,_0x46fac4));}else _0x4079df['add'](_0x195858);}for(const _0x12b5be of _0x4079df){const _0x1513fb=_0x5beccd['has'](_0x12b5be)&&!_0x5beccd['get'](_0x12b5be)['isAttached'];let _0xccf5c0=_0x1513fb?_0x59f4ef['length']-0x1:0x0;const _0x1d3a3=_0x1513fb?-0x1:0x1;for(;_0x59f4ef[_0xccf5c0];){const _0x51d290=_0x59f4ef[_0xccf5c0];if(_0x51d290['diffData'][_0x12b5be]){const _0x43aec3=_0x1513fb?_0x51d290['diffData'][_0x12b5be]['attributesBefore']:_0x51d290['diffData'][_0x12b5be]['attributesAfter'];_0x2c436e['attributes'][_0x12b5be]=_0x43aec3?_0xcaf5fd(_0x43aec3):{};break;}_0xccf5c0+=_0x1d3a3;}}for(const _0xbbcf8c of _0x59f4ef){_0xbbcf8c['model']={};for(const _0x3f96d2 of _0xbbcf8c['authors'])_0x216203['set'](_0x3f96d2['id'],_0x3f96d2);for(const _0x1f42ec of _0x4079df){const _0x477936=_0xbbcf8c['diffData'][_0x1f42ec]?_0xbbcf8c['diffData'][_0x1f42ec]['insertions']:'[]',_0x3ef048=_0xbbcf8c['diffData'][_0x1f42ec]?_0xbbcf8c['diffData'][_0x1f42ec]['deletions']:'[]';_0xbbcf8c['model'][_0x1f42ec]={'insertions':this['_makeModelFromViewString'](_0x477936),'deletions':this['_makeModelFromViewString'](_0x3ef048)};}}for(const _0x32deb5 of _0x4079df){let _0x100619=null,_0x1e0768=0x0;const _0x1fde14=new Map(Array['from'](_0x3b44d7['model'][_0x32deb5]['insertions']['markers'])['filter'](([_0x145f71])=>!_0x145f71['startsWith']('revision:')));let _0x303c78=0x0;for(const _0x31b021 of _0x59f4ef){const _0x46e50f=this['_makeTape'](_0x31b021['model'][_0x32deb5]['insertions']);_0x31b021==_0x3b44d7?(_0x100619=_0x46e50f,_0x1e0768=_0x100619['length'],_0x100619['forEach'](_0x28c3cc=>{_0x28c3cc['id']=_0x303c78++;}),this['_processTape'](_0x100619)):this['_markInsertions'](_0x100619,_0x46e50f);const _0x18bb58=_0x100619['filter'](_0x42eb90=>!_0x42eb90['isAdded'])['map'](_0x3e5fe0=>_0x3e5fe0['id']);let _0x52e225=0x0;const _0xb22954=this['_makeTape'](_0x31b021['model'][_0x32deb5]['deletions']);_0xb22954['forEach'](_0x5b3dd7=>{_0x5b3dd7['isRemoved']?_0x5b3dd7['id']=_0x1e0768++:_0x5b3dd7['id']=_0x18bb58[_0x52e225++];}),this['_processTape'](_0xb22954),this['_setDistance'](_0x100619,'isAdded'),this['_setDistance'](_0xb22954,'isRemoved'),_0x31b021==_0x3b44d7&&this['_markMarkers'](_0x100619,_0x1fde14),_0x100619=this['_joinTapes'](_0x100619,_0xb22954),this['_refreshStartEndIndex'](_0x100619),this['_setDistance'](_0x100619,'isRemoved');}_0x100619=_0x100619['filter'](_0xeef500=>!(_0xeef500['isAdded']&&_0xeef500['isRemoved']));const _0xb1cead=new Map(_0x3926ba['model'][_0x32deb5]['deletions']['markers']),_0x1e008b=new Set(_0x1fde14['keys']());for(const _0x241a0a of _0xb1cead['keys']())_0x1e008b['delete'](_0x241a0a);this['_markSuggestions'](_0x100619,_0x1e008b),this['_fixObsoleteTags'](_0x100619),_0x100619=this['_removeMissingPairs'](_0x100619),_0x100619=this['_markMismatchedRemovedTags'](_0x100619),_0x100619=this['_removeUnsupportedChanges'](_0x100619);const {root:_0x252099,changes:_0x568949}=this['_makeModelFromTape'](_0x100619,_0x216203,_0x32deb5);_0x2c436e['model'][_0x32deb5]=_0x252099;const _0x1dfafd=_0x5beccd['get'](_0x32deb5);if(_0x1dfafd){const _0xed0e25=_0x216203['get'](_0x1dfafd['userId']),_0x229ba7=new r({'author':_0xed0e25,'type':_0x1dfafd['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x32deb5});_0x568949['unshift'](_0x229ba7),_0x2c436e['attributes'][_0x32deb5]['revisionHistoryAttachChange']=_0x229ba7['id'];}_0x2c436e['changes']=_0x2c436e['changes']['concat'](_0x568949);}return _0x2c436e;}['_markMarkers'](_0x30359e,_0x30fe34){for(let _0x14b861=0x0;_0x14b861<_0x30359e['length'];_0x14b861++)for(const [_0x4ad2a9,_0x434a08]of _0x30fe34)_0x434a08['start']['isEqual'](_0x30359e[_0x14b861]['previousPosition'])&&_0x30359e[_0x14b861]['markersStart']['push'](_0x4ad2a9),_0x434a08['end']['isEqual'](_0x30359e[_0x14b861]['nextPosition'])&&_0x30359e[_0x14b861]['markersEnd']['push'](_0x4ad2a9);}['_joinTapes'](_0x445e62,_0x170d00){let _0x395fe2=[],_0x3165a3=0x0,_0x237944=0x0;for(;_0x3165a3<_0x445e62['length']||_0x237944<_0x170d00['length'];){const _0x59966b=_0x445e62[_0x3165a3]||{},_0x375c7a=_0x170d00[_0x237944]||{};if(_0x59966b['id']==_0x375c7a['id'])_0x3165a3++,_0x237944++,_0x395fe2['push'](_0x59966b);else{if(_0x375c7a['isRemoved']&&_0x59966b['isAdded']){const {commonTape:_0x2393d8,iEnd:_0x5cf3d8,jEnd:_0x1ed5bd}=this['_threeWayMerge'](_0x445e62,_0x3165a3,_0x170d00,_0x237944);_0x395fe2=_0x395fe2['concat'](_0x2393d8),_0x3165a3=_0x5cf3d8,_0x237944=_0x1ed5bd;}else _0x375c7a['isRemoved']?(_0x237944++,_0x395fe2['push'](_0x375c7a)):(_0x3165a3++,_0x395fe2['push'](_0x59966b));}}return _0x395fe2;}['_markSuggestions'](_0x4958a6,_0xd160ce){const _0x12002c=[];for(let _0x5681f8=0x0;_0x5681f8<_0x4958a6['length'];_0x5681f8++){for(let _0x52c807=0x0;_0x52c807<_0x4958a6[_0x5681f8]['markersStart']['length'];_0x52c807++){const _0x12f4dc=_0x4958a6[_0x5681f8]['markersStart'][_0x52c807];if(!_0xd160ce['has'](_0x12f4dc))continue;const {group:_0x566957,type:_0xc5926d,authorId:_0x44b866}=_0x2de652(_0x12f4dc);'revision-suggestion'!=_0x566957||'insertion'!=_0xc5926d&&'deletion'!=_0xc5926d||(_0x12002c['unshift']({'type':_0xc5926d,'name':_0x12f4dc,'userId':_0x44b866}),_0x4958a6[_0x5681f8]['markersStart']['splice'](_0x52c807,0x1),_0x52c807--);}_0x59162c(_0x4958a6[_0x5681f8]);for(let _0x49fe31=0x0;_0x49fe31<_0x4958a6[_0x5681f8]['markersEnd']['length'];_0x49fe31++){const _0x19ace8=_0x4958a6[_0x5681f8]['markersEnd'][_0x49fe31];if(!_0xd160ce['has'](_0x19ace8))continue;const {group:_0x5ebd36,type:_0x50b727}=_0x2de652(_0x19ace8);if('revision-suggestion'!=_0x5ebd36||'insertion'!=_0x50b727&&'deletion'!=_0x50b727)continue;_0x4958a6[_0x5681f8]['markersEnd']['splice'](_0x49fe31,0x1),_0x49fe31--;const _0x5b25d1=_0x12002c['findIndex'](_0x107794=>_0x107794['name']==_0x19ace8);_0x5b25d1>-0x1&&_0x12002c['splice'](_0x5b25d1,0x1);}}function _0x2de652(_0x5b5c2b){const _0x323c64=_0x5b5c2b['split'](':');return{'group':_0x323c64[0x0],'type':_0x323c64[0x1],'subType':_0x323c64['length']>=0x5?_0x323c64[0x2]:null,'id':_0x323c64['length']<0x5?_0x323c64[0x2]:_0x323c64[0x3],'authorId':_0x323c64['length']<0x5?_0x323c64[0x3]:_0x323c64[0x4],'markerCount':0x6==_0x323c64['length']?_0x323c64[0x5]:null};}function _0x59162c(_0x27da5d){for(let _0x4f550d=0x0;_0x4f550d<_0x12002c['length'];_0x4f550d++){if(_0x27da5d['isAdded']&&'insertion'==_0x12002c[_0x4f550d]['type'])return _0x27da5d['isAddSuggestion']=_0x12002c[_0x4f550d],void delete _0x27da5d['isAdded'];if(!_0x27da5d['isAdded']&&!_0x27da5d['isRemoved']&&'deletion'==_0x12002c[_0x4f550d]['type'])return void(_0x27da5d['isRemoveSuggestion']=_0x12002c[_0x4f550d]);}}}['_setDistance'](_0x538948,_0x5bf0c1){let _0x415e79=0x0,_0x455005=!0x1;const _0x45f984=new Map();for(const _0x361eb6 of _0x538948)_0x361eb6[_0x5bf0c1]?_0x455005&&(_0x415e79++,_0x455005=!0x1):(_0x415e79++,_0x455005=!0x0),_0x45f984['set'](_0x361eb6['id'],_0x415e79);for(let _0x2ca1c7=0x0;_0x2ca1c7<_0x538948['length'];_0x2ca1c7++){if('isRemoved'==_0x5bf0c1&&_0x538948[_0x2ca1c7]['isAdded']||'isAdded'==_0x5bf0c1&&_0x538948[_0x2ca1c7]['isRemoved'])continue;if('text'==_0x538948[_0x2ca1c7]['type']){_0x538948[_0x2ca1c7]['distance']=0x0;continue;}const _0x4b23c2=_0x45f984['get'](_0x538948[_0x2ca1c7]['pairId']),_0x34577a=_0x45f984['get'](_0x538948[_0x2ca1c7]['id']);_0x538948[_0x2ca1c7]['distance']=_0x4b23c2-_0x34577a;}}['_getRevisionsRange'](_0x56e7b8,_0x2a48f4,_0x30cf60=!0x1){const _0x38867b=[];let _0x4899e1=this['repository']['getIndex'](_0x56e7b8),_0x240d98=this['repository']['getIndex'](_0x2a48f4);for(-0x1==_0x240d98&&(_0x240d98=this['repository']['_revisions']['length'],_0x30cf60=!0x1);_0x4899e1<_0x240d98;)_0x38867b['push'](this['repository']['getRevision'](_0x4899e1)),_0x4899e1++;return _0x30cf60&&_0x38867b['push'](this['repository']['getRevision'](_0x4899e1)),_0x38867b;}['_threeWayMerge'](_0x28dc96,_0x3a563c,_0x1051b2,_0x319cd0){const _0x5e0640=this['editor']['model']['schema'];let _0x54d8c4=_0x3a563c;for(;_0x28dc96[_0x54d8c4]&&_0x28dc96[_0x54d8c4]['isAdded'];)_0x54d8c4++;let _0x3990d8=_0x319cd0;for(;_0x1051b2[_0x3990d8]&&_0x1051b2[_0x3990d8]['isRemoved'];)_0x3990d8++;_0x3be11e(_0x28dc96,_0x3a563c,_0x54d8c4),_0x3be11e(_0x1051b2,_0x319cd0,_0x3990d8);const _0x29ad55=_0x1051b2['slice'](_0x319cd0,_0x3990d8)['concat'](_0x28dc96['slice'](_0x3a563c,_0x54d8c4));return _0x29ad55['sort']((_0x284154,_0x410b1f)=>_0x284154['side']!=_0x410b1f['side']?_0x284154['side']-_0x410b1f['side']:_0x284154['level']!=_0x410b1f['level']?_0x284154['level']-_0x410b1f['level']:_0x284154['distance']!=_0x410b1f['distance']?_0x410b1f['distance']-_0x284154['distance']:!!_0x284154['isAdded']!=!!_0x410b1f['isAdded']?-0x1==_0x284154['side']||0x0==_0x284154['side']?_0x284154['isAdded']?-0x1:0x1:_0x284154['isAdded']?0x1:-0x1:_0x284154['index']-_0x410b1f['index']),{'commonTape':_0x29ad55,'iEnd':_0x54d8c4,'jEnd':_0x3990d8};function _0x3be11e(_0x270ba2,_0x209d2c,_0x55687f){let _0x5745ca=-0x1,_0x23e958=Number['POSITIVE_INFINITY'],_0x27c731=!0x0;for(let _0x118a57=_0x209d2c;_0x118a57<_0x55687f;_0x118a57++)if(_0x5e0640['isInline'](_0x270ba2[_0x118a57]['item'])||(_0x27c731=!0x1),_0x270ba2[_0x118a57]['item']['startIndex']<_0x209d2c&&(_0x5745ca=_0x118a57),_0x270ba2[_0x118a57]['item']['endIndex']>=_0x55687f){_0x23e958=_0x118a57;break;}_0x27c731&&(_0x5745ca=_0x55687f-0x1);for(let _0x3eedcd=_0x209d2c;_0x3eedcd<_0x55687f;_0x3eedcd++)_0x270ba2[_0x3eedcd]['side']=_0x3eedcd<=_0x5745ca?-0x1:_0x3eedcd<_0x23e958?0x0:0x1,_0x270ba2[_0x3eedcd]['index']=_0x3eedcd;let _0x30414a=0x0;for(let _0x1b9222=_0x209d2c;_0x1b9222<=_0x5745ca;_0x1b9222++)0x0==_0x270ba2[_0x1b9222]['distance']?_0x270ba2[_0x1b9222]['level']=_0x30414a:(_0x30414a++,_0x270ba2[_0x1b9222]['level']=_0x30414a,_0x30414a++);for(let _0x344a6f=_0x209d2c;_0x344a6f<_0x55687f;_0x344a6f++)0x0==_0x270ba2[_0x344a6f]['side']&&(_0x270ba2[_0x344a6f]['level']=_0x30414a);_0x30414a=0x0;for(let _0x3609bd=_0x55687f-0x1;_0x3609bd>=_0x23e958;_0x3609bd--)0x0==_0x270ba2[_0x3609bd]['distance']?_0x270ba2[_0x3609bd]['level']=_0x30414a:(_0x30414a--,_0x270ba2[_0x3609bd]['level']=_0x30414a,_0x30414a--);}}['_fixObsoleteTags'](_0x4fd0e8){const _0x408b6c=new Map(),_0x13f629=this['editor']['model']['schema'];for(let _0x40c202=0x1;_0x40c202<_0x4fd0e8['length'];_0x40c202++){let _0x3cf7bb,_0x442e0d,_0x1a3893;const _0x53a594=_0x4fd0e8[_0x40c202],_0x4e1e99=_0x4fd0e8[_0x40c202-0x1];if('text'==_0x53a594['type'])continue;if(_0x53a594['type']!=_0x4e1e99['type'])continue;if(!_0x13f629['isBlock'](_0x4e1e99['item'])||_0x13f629['isLimit'](_0x4e1e99['item']))continue;if(!_0x13f629['isBlock'](_0x53a594['item'])||_0x13f629['isLimit'](_0x53a594['item']))continue;if((_0x4fd0e8[_0x40c202]['isAdded']||_0x4fd0e8[_0x40c202]['isAddSuggestion'])&&_0x4fd0e8[_0x40c202-0x1]['isRemoved'])_0x3cf7bb=_0x4fd0e8[_0x40c202],_0x442e0d=_0x4fd0e8[_0x40c202-0x1],_0x1a3893=_0x40c202-0x1;else{if(!_0x4fd0e8[_0x40c202]['isRemoved']||!_0x4fd0e8[_0x40c202-0x1]['isAdded']&&!_0x4fd0e8[_0x40c202-0x1]['isAddSuggestion'])continue;_0x3cf7bb=_0x4fd0e8[_0x40c202-0x1],_0x442e0d=_0x4fd0e8[_0x40c202],_0x1a3893=_0x40c202;}const _0x32d831=_0x3cf7bb['level']==_0x442e0d['level'],_0x3cab3a=Math['abs'](_0x3cf7bb['level'])<Math['abs'](_0x442e0d['level'])&&0x0==_0x442e0d['distance'];(_0x32d831||_0x3cab3a)&&(_0x408b6c['set'](_0x442e0d['id'],_0x3cf7bb['id']),_0x4fd0e8['splice'](_0x1a3893,0x1),_0x40c202--,_0x3cf7bb['isAdded']=!0x1);}for(let _0x23ae03=0x0;_0x23ae03<_0x4fd0e8['length'];_0x23ae03++)_0x408b6c['has'](_0x4fd0e8[_0x23ae03]['pairId'])&&(_0x4fd0e8[_0x23ae03]['pairId']=_0x408b6c['get'](_0x4fd0e8[_0x23ae03]['pairId']));}['_removeMissingPairs'](_0x17c900){const _0xbd712b=new Set(_0x17c900['map'](_0x2c6bbd=>_0x2c6bbd['id']));for(let _0x184887=0x0;_0x184887<_0x17c900['length'];_0x184887++)_0xbd712b['has'](_0x17c900[_0x184887]['pairId'])||0x0==_0x17c900[_0x184887]['distance']||(_0x17c900[_0x184887]['isIncorrect']=!0x0);return _0x17c900['filter'](_0x332936=>!_0x332936['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1a1f75){const _0x360a36=new Set();for(let _0x32a5b0=0x0;_0x32a5b0<_0x1a1f75['length'];_0x32a5b0++){if(_0x360a36['has'](_0x1a1f75[_0x32a5b0]['id'])&&_0x1a1f75[_0x32a5b0]['isRemoved']&&(_0x1a1f75[_0x32a5b0]['isIncorrect']=!0x0),_0x1a1f75[_0x32a5b0]['isIncorrect'])continue;if(0x0==_0x1a1f75[_0x32a5b0]['distance'])continue;if('elementStart'!=_0x1a1f75[_0x32a5b0]['type'])continue;if(null==_0x1a1f75[_0x32a5b0]['pairId'])continue;let _0x38ec9c=_0x32a5b0+0x1,_0x1c2d8d=0x0;for(;_0x1a1f75[_0x38ec9c]['id']!=_0x1a1f75[_0x32a5b0]['pairId'];)'elementStart'==_0x1a1f75[_0x38ec9c]['type']?_0x1c2d8d++:'elementEnd'==_0x1a1f75[_0x38ec9c]['type']&&_0x1c2d8d--,_0x38ec9c++;if(0x0!=_0x1c2d8d){if(_0x1a1f75[_0x32a5b0]['isRemoved'])_0x1a1f75[_0x32a5b0]['isIncorrect']=!0x0;else{for(;_0x38ec9c!=_0x32a5b0;)_0x1a1f75[_0x38ec9c]['isRemoved']&&0x0!=_0x1a1f75[_0x38ec9c]['distance']&&(_0x1a1f75[_0x38ec9c]['isIncorrect']=!0x0,_0x360a36['add'](_0x1a1f75[_0x38ec9c]['pairId'])),_0x38ec9c--;}}}return _0x1a1f75['filter'](_0x3e7947=>!_0x3e7947['isIncorrect']);}['_removeUnsupportedChanges'](_0x2f0639){const _0xcbf95d=this['editor']['model']['schema'];for(let _0x56ec88=0x0;_0x56ec88<_0x2f0639['length'];_0x56ec88++){if(!(_0x2f0639[_0x56ec88]['isAdded']||_0x2f0639[_0x56ec88]['isAddSuggestion']||_0x2f0639[_0x56ec88]['isRemoved']||_0x2f0639[_0x56ec88]['isRemoveSuggestion']))continue;if(0x0==_0x2f0639[_0x56ec88]['distance'])continue;const _0x1e1dd7=_0x2f0639[_0x56ec88]['item'];_0xcbf95d['isBlock'](_0x1e1dd7)||_0xcbf95d['isLimit'](_0x1e1dd7)||(_0x2f0639[_0x56ec88]['isAdded']&&delete _0x2f0639[_0x56ec88]['isAdded'],_0x2f0639[_0x56ec88]['isAddSuggestion']&&delete _0x2f0639[_0x56ec88]['isAddSuggestion'],_0x2f0639[_0x56ec88]['isRemoveSuggestion']&&delete _0x2f0639[_0x56ec88]['isRemoveSuggestion'],_0x2f0639[_0x56ec88]['isRemoved']&&(_0x2f0639[_0x56ec88]['isIncorrect']=!0x0));}return _0x2f0639['filter'](_0x324147=>!_0x324147['isIncorrect']);}['_makeModelFromTape'](_0x329ed6,_0x48b74b,_0x5dc3ea){const _0x381186=new wt(),_0x1c6b4a=[],_0x184606=new Map(),_0x2e5c4d=this['editor']['model'],_0x17691d=_0x2e5c4d['schema'],_0x3eb362=[_0x381186],_0x4a2023={},_0x3d4eda={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b63b1=null;const _0x4eaada=[0x0];for(let _0x541be7=0x0;_0x541be7<_0x329ed6['length'];_0x541be7++){let _0x47ebd5,_0x5e69cc;if('elementStart'===_0x329ed6[_0x541be7]['type']){_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada);const _0x37ac6e=new ft(_0x329ed6[_0x541be7]['item']['name'],_0x329ed6[_0x541be7]['item']['getAttributes']());_0x3eb362[0x0]['_appendChild'](_0x37ac6e),_0x4eaada['push'](0x0),_0x3eb362['unshift'](_0x37ac6e),_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1=null;}else{if('elementEnd'===_0x329ed6[_0x541be7]['type'])_0x3eb362['shift'](),_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x4eaada['pop'](),_0x4eaada[_0x4eaada['length']-0x1]++,_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1=null;else{if(_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1&&_0x1845ca(_0x1b63b1,_0x329ed6[_0x541be7]['item']))_0x1b63b1['_data']+=_0x329ed6[_0x541be7]['item']['data'];else{const _0x1bf2b3=new _t(_0x329ed6[_0x541be7]['item']['data'],_0x329ed6[_0x541be7]['item']['getAttributes']());_0x3eb362[0x0]['_appendChild'](_0x1bf2b3),_0x1b63b1=_0x1bf2b3;}_0x4eaada[_0x4eaada['length']-0x1]+=_0x329ed6[_0x541be7]['item']['offsetSize'],_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada);}}for(const _0x173a90 of _0x329ed6[_0x541be7]['markersStart'])_0x184606['set'](_0x173a90,{'start':_0x47ebd5,'end':null});_0x8bf03('isRemoveSuggestion',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isAddSuggestion',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isRemoved',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isAdded',_0x541be7,_0x47ebd5,_0x5e69cc);for(const _0x1a30d8 of _0x329ed6[_0x541be7]['markersEnd']){_0x184606['get'](_0x1a30d8)['end']=_0x5e69cc;}}for(const [_0x588e21,_0x1b75ad]of _0x184606){const _0xd77c5f=this['editor']['model']['createRange'](_0x1b75ad['start'],_0x1b75ad['end']);_0x381186['markers']['set'](_0x588e21,_0xd77c5f);}return _0x1c6b4a['sort']((_0xbfabe0,_0xa7361c)=>{const _0x107c71=_0x381186['markers']['get']('revision:'+_0xbfabe0['id']),_0xd463dc=_0x381186['markers']['get']('revision:'+_0xa7361c['id']);return _0x107c71['start']['isBefore'](_0xd463dc['start'])?-0x1:_0x107c71['start']['isAfter'](_0xd463dc['start'])?0x1:_0x107c71['end']['isBefore'](_0xd463dc['end'])?-0x1:_0x107c71['end']['isAfter'](_0xd463dc['end'])?0x1:'add'===_0xbfabe0['type']?-0x1:0x1;}),{'root':_0x381186,'changes':_0x1c6b4a};function _0x8bf03(_0x24758f,_0x30714e,_0x4c4485,_0x2c8125){const _0x59e1c7=!!_0x329ed6[_0x30714e][_0x24758f],_0x446eed=_0x59e1c7?_0x329ed6[_0x30714e][_0x24758f]['userId']:null,_0x5896de=_0x30714e===_0x329ed6['length']-0x1,_0x4adec5=_0x3d4eda[_0x24758f][0x0],_0x53fdf9=_0x17691d['isObject'](_0x329ed6[_0x30714e]['item']);!_0x4a2023[_0x24758f]&&_0x59e1c7?_0x4a2023[_0x24758f]={'start':_0x4c4485,'tapeItem':_0x329ed6[_0x30714e],'userId':_0x446eed,'type':_0x24758f}:_0x4a2023[_0x24758f]&&!_0x59e1c7?(_0x4a2023[_0x24758f]['end']=_0x4c4485,_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]=null):_0x4a2023[_0x24758f]&&_0x59e1c7&&_0x4a2023[_0x24758f]['userId']!==_0x446eed&&(_0x4a2023[_0x24758f]['end']=_0x4c4485,_0x4adec5&&_0x4adec5['userId']===_0x4a2023[_0x24758f]['userId']||_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]={'start':_0x4c4485,'tapeItem':_0x329ed6[_0x30714e],'userId':_0x446eed,'type':_0x24758f}),_0x4a2023[_0x24758f]&&_0x53fdf9&&('elementStart'!==_0x329ed6[_0x30714e]['type']||_0x4adec5&&_0x4adec5['userId']===_0x446eed||_0x3d4eda[_0x24758f]['unshift']({'userId':_0x446eed,'object':_0x329ed6[_0x30714e]['item'],'change':_0x4a2023[_0x24758f]}),'elementEnd'===_0x329ed6[_0x30714e]['type']&&_0x4adec5&&_0x4adec5['object']===_0x329ed6[_0x30714e]['item']&&(_0x3d4eda[_0x24758f]['shift'](),_0x4a2023[_0x24758f]=_0x4adec5['change'])),_0x4a2023[_0x24758f]&&_0x5896de&&(_0x4a2023[_0x24758f]['end']=_0x2c8125,_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]=null);}function _0x34b4ec({start:_0x1d83bd,end:_0x3f7d56,tapeItem:_0x3532ee,userId:_0x414b7e,type:_0x339534}){const _0x4ecd6b=_0x3532ee['item'],_0x545034=_0x2e5c4d['schema']['isBlock'](_0x4ecd6b)&&!_0x2e5c4d['schema']['isLimit'](_0x4ecd6b),_0x7a53b9=_0x1d83bd['nodeAfter']==_0x3f7d56['parent']&&_0x3f7d56['isAtStart'];if(_0x545034&&_0x7a53b9)return;const _0x157ad7=_0x2e5c4d['createRange'](_0x1d83bd,_0x3f7d56),_0x35c1bf=_0x48b74b['get'](_0x414b7e),_0x28d102=new r({'author':_0x35c1bf,'type':'isAdded'==_0x339534||'isAddSuggestion'==_0x339534?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x339534||'isRemoveSuggestion'==_0x339534},'createdAt':new Date(),'rootName':_0x5dc3ea});_0x1c6b4a['push'](_0x28d102),_0x381186['markers']['set']('revision:'+_0x28d102['id'],_0x157ad7);}function _0x1845ca(_0x3a2935,_0x1b33a3){const _0x571b2b=_0x3a2935['getAttributes'](),_0x5bbc28=_0x1b33a3['getAttributes']();for(const _0x245ea8 of _0x571b2b){if(_0x245ea8[0x1]!==_0x1b33a3['getAttribute'](_0x245ea8[0x0]))return!0x1;_0x5bbc28['next']();}return _0x5bbc28['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4f9c4b=>{const _0x2c2229=_0x4f9c4b['markerName']['split'](':')[0x1],_0x336644=this['_getChangeFromId'](_0x2c2229);if(!_0x336644)return null;const _0x1611e5='add'==_0x336644['type']?'insertion':'deletion',_0x4dfb31=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1611e5];return _0x336644['data']['isSuggestion']&&_0x4dfb31['push']('ck-suggestion-marker-'+_0x1611e5+'-new'),this['activeChange']==_0x336644&&_0x4dfb31['push']('ck-suggestion-marker--active'),{'classes':_0x4dfb31,'attributes':{'data-change-id':_0x2c2229}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2d63b6=>{_0x2d63b6['on']('element:pre',(_0xc55331,_0xa63deb,_0x4f5139)=>{const _0x5a13d2=_0xa63deb['viewItem']['getChild'](0x0);if(!_0x5a13d2||!_0x5a13d2['is']('element','code'))return;if(!_0x4f5139['consumable']['consume'](_0x5a13d2,{'attributes':['vid_start','vid_end']}))return;const _0x4a3e0f=_0xa63deb['modelRange']['start']['nodeAfter'];_0x4f5139['writer']['setAttribute']('vid_start',_0x5a13d2['getAttribute']('vid_start'),_0x4a3e0f),_0x4f5139['writer']['setAttribute']('vid_end',_0x5a13d2['getAttribute']('vid_end'),_0x4a3e0f);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3a45f8=>{_0x3a45f8['on']('element',(_0x68c51,_0x4e81f6,_0x2abbfa)=>{if(!_0x2abbfa['consumable']['consume'](_0x4e81f6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4e81f6['modelRange']['isCollapsed'])return;const _0x192748=_0x4e81f6['modelRange']['start']['nodeAfter'];_0x192748['hasAttribute']('vid_start')||_0x192748['hasAttribute']('vid')||(_0x2abbfa['writer']['setAttribute']('vid_start',_0x4e81f6['viewItem']['getAttribute']('vid_start'),_0x192748),_0x2abbfa['writer']['setAttribute']('vid_end',_0x4e81f6['viewItem']['getAttribute']('vid_end'),_0x192748));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x305357=>_0x305357['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x598f25,[,_0x5954d5])=>{['vid_start','vid_end','vid']['includes'](_0x5954d5)&&(_0x598f25['return']=!0x0,_0x598f25['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1c5c3c=>{_0x1c5c3c['on']('attribute:vid',(_0x1c005e,_0x3eee44,_0x159ee0)=>{if('\x20'!=_0x3eee44['item']['data']||_0x3eee44['item']['parent']['maxOffset']>0x1)return;if(!_0x159ee0['consumable']['consume'](_0x3eee44['item'],_0x1c005e['name']))return;const _0x101a8a=_0x159ee0['writer'],_0x597525=_0x159ee0['mapper']['toViewRange'](_0x3eee44['range']);_0x101a8a['wrap'](_0x597525,_0x101a8a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xf68fbe){const _0x1ab011=_0xf68fbe['plugins']['get']('RevisionViewer');return(_0x293f56,_0x44ede0,_0x13945e)=>{const _0x336998=_0x44ede0['markerName']['split'](':')[0x1],_0x57db3b=_0x1ab011['_getChangeFromId'](_0x336998);if(!_0x57db3b)return null;const _0x1bc890='add'==_0x57db3b['type']?'split':'merge';if(!_0x13945e['consumable']['test'](_0x44ede0['markerRange'],_0x293f56['name']))return;const _0x2f47fa=_0x44ede0['markerRange']['getWalker'](),_0x3fd36a=_0x44ede0['markerRange']['start'],_0x568524=_0xf68fbe['model']['schema'];let _0x1e6a41=null,_0x2a4b95=null,_0x72d987=!0x1,_0x5b0f7b=!0x1;for(const _0x13c4b2 of _0x2f47fa){const _0x4a5d18=_0x13c4b2['item'];_0x72d987=_0x72d987||_0x568524['isContent'](_0x4a5d18);const _0x2340bc=_0x13945e['mapper']['toViewElement'](_0x4a5d18);if(_0x2340bc&&_0x2340bc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x13c4b2['type']&&(_0x568524['isBlock'](_0x4a5d18)&&!_0x568524['isLimit'](_0x4a5d18)&&(_0x4a5d18['nextSibling']||_0x3fd36a['isAtEnd']?_0x1e6a41&&_0x1e6a41['parent']==_0x4a5d18||(_0x1e6a41=_0x4a5d18,_0x22f42a(_0x13c4b2['previousPosition']),_0x5b0f7b=!0x0):_0x2a4b95=_0x2a4b95||_0x13c4b2['previousPosition']));}function _0x22f42a(_0x1332c3){const _0x5b1795=_0x13945e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1bc890}),_0x435633=_0x13945e['mapper']['toViewPosition'](_0x1332c3);_0x57db3b['data']['isSuggestion']&&_0x13945e['writer']['addClass']('ck-suggestion-marker-'+_0x1bc890+'-new',_0x5b1795),_0x1ab011['activeChange']==_0x57db3b&&_0x13945e['writer']['addClass']('ck-suggestion-marker--active',_0x5b1795),_0x13945e['writer']['insert'](_0x435633,_0x5b1795),_0x13945e['mapper']['bindElementToMarker'](_0x5b1795,_0x44ede0['markerName']);}_0x72d987||_0x5b0f7b||!_0x2a4b95||_0x22f42a(_0x2a4b95);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5b32da,_0x513814,_0x572723)=>{const _0x3f8185=_0x572723['mapper']['markerNameToElements'](_0x513814['markerName']);if(_0x3f8185){for(const _0x4d8633 of _0x3f8185)(_0x4d8633['hasClass']('ck-suggestion-marker-split')||_0x4d8633['hasClass']('ck-suggestion-marker-merge'))&&(_0x572723['mapper']['unbindElementFromMarkerName'](_0x4d8633,_0x513814['markerName']),_0x572723['writer']['remove'](_0x4d8633));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3059fa,_0x344422,_0x508267)=>{const _0x43cfb1=_0x344422['markerName']['split'](':')[0x1],_0x15f007=this['_getChangeFromId'](_0x43cfb1);if(!_0x15f007)return null;const _0x3e4102='add'==_0x15f007['type']?'split':'merge';if(_0x508267['consumable']['test'](_0x344422['markerRange'],_0x3059fa['name']))for(const _0x3ca716 of _0x344422['markerRange']['getItems']()){if(!_0x3ca716['is']('element','softBreak'))continue;const _0xfe11e7=_0x508267['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3e4102}),_0x1352a6=_0x508267['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3ca716));_0x15f007['data']['isSuggestion']&&_0x508267['writer']['addClass']('ck-suggestion-marker-'+_0x3e4102+'-new',_0xfe11e7),this['activeChange']==_0x15f007&&_0x508267['writer']['addClass']('ck-suggestion-marker--active',_0xfe11e7),_0x508267['writer']['insert'](_0x1352a6,_0xfe11e7),_0x508267['mapper']['bindElementToMarker'](_0xfe11e7,_0x344422['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x29dbaa=>{for(const _0x389e5b of this['editor']['model']['document']['getRootNames']()){const _0x51a013=this['editor']['model']['document']['getRoot'](_0x389e5b),_0x28270c=this['editor']['editing']['view']['document']['getRoot'](_0x389e5b);if(_0x28270c){const _0x3f45ca=_0x51a013['getAttribute']('revisionHistoryAttachChange');if(_0x29dbaa['removeAttribute']('data-change-id',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root-add',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root-remove',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root--active',_0x28270c),_0x3f45ca){const _0x1575db=this['_getChangeFromId'](_0x3f45ca);if(!_0x1575db)return null;_0x29dbaa['setAttribute']('data-change-id',_0x3f45ca,_0x28270c),_0x29dbaa['addClass']('ck-revision-history-root-'+_0x1575db['type'],_0x28270c),this['activeChange']==_0x1575db&&_0x29dbaa['addClass']('ck-revision-history-root--active',_0x28270c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4b389f=>'revision-comment:'+_0x4b389f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x48cf0b=>'revision-suggestion:'+_0x48cf0b,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1be2df=>({'name':'suggestion:'+_0x1be2df,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x565d73=>{const _0x272bf2=_0x565d73['markerName']['split'](':')[0x1];return'insertion'!=_0x272bf2&&'deletion'!=_0x272bf2?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x272bf2]};}}),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',(_0x28291f,_0x3ad1c2,_0x2fccaa)=>{const _0x3e6b87=_0x2fccaa['mapper']['markerNameToElements'](_0x3ad1c2['markerName']);if(_0x3e6b87){for(const _0x157ece of _0x3e6b87)_0x157ece['is']('uiElement')&&(_0x2fccaa['mapper']['unbindElementFromMarkerName'](_0x157ece,_0x3ad1c2['markerName']),_0x2fccaa['writer']['remove'](_0x157ece));}},{'priority':'high'});}['_getChangeFromId'](_0x20858f){return this['_changeIdToChange']['get'](_0x20858f);}['_getViewForChange'](_0x23f25b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x23f25b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4fc421,_0x5deab7,_0x26cc3d,_0x360a2b)=>{_0x360a2b&&this['_balloon']['remove'](_0x360a2b),_0x26cc3d&&(this['_balloon']['add']({'view':_0x26cc3d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x27cf64=this['editor']['editing'],_0x572ac9=this['_getChangeFromId'](_0x26cc3d['changeId']);let _0x236d90;if(_0x572ac9['data']['isOnRoot']){const _0x1d317c=_0x27cf64['view']['getDomRoot'](_0x572ac9['rootName']);_0x236d90=Array['from'](_0x1d317c['getClientRects']());}else{const _0x108726=this['editor']['model']['markers']['get']('revision:'+_0x26cc3d['changeId']);_0x236d90=Array['from'](_0x27cf64['mapper']['markerNameToElements'](_0x108726['name']))['map'](_0x408a7e=>_0x27cf64['view']['domConverter']['mapViewToDom'](_0x408a7e))['map'](_0x44af22=>Array['from'](_0x44af22['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x236d90[0x0];return _0x236d90['find'](_0x1150e5=>_0x1150e5['top']-0x3<=this['_activeViewTarget']['y']&&_0x1150e5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1150e5['left']-0x3<=this['_activeViewTarget']['x']&&_0x1150e5['right']+0x3>=this['_activeViewTarget']['x'])||_0x236d90[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3c7b7e,_0x5cce53,_0x4d16fe,_0x5871b0)=>{this['activeView']=_0x4d16fe?this['_getViewForChange'](_0x4d16fe):null,this['editor']['model']['change'](()=>{const _0x53d837=this['editor']['editing'];_0x5871b0&&(_0x5871b0['data']['isOnRoot']?_0x53d837['view']['change'](_0x2bed2d=>{_0x2bed2d['removeClass']('ck-revision-history-root--active',_0x53d837['view']['document']['getRoot'](_0x5871b0['rootName']));}):_0x53d837['reconvertMarker']('revision:'+_0x5871b0['id'])),_0x4d16fe&&(_0x4d16fe['data']['isOnRoot']?_0x53d837['view']['change'](_0x2cf887=>{_0x2cf887['addClass']('ck-revision-history-root--active',_0x53d837['view']['document']['getRoot'](_0x4d16fe['rootName']));}):_0x53d837['reconvertMarker']('revision:'+_0x4d16fe['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x364f4e,_0xc6e4a2)=>{if(this['activeChange'])return;const _0x232dd1=this['_findChangeIdFromDomTarget'](_0xc6e4a2['target']),_0x1478eb=this['_changeIdToChange']['get'](_0x232dd1);_0x1478eb?(this['_activeViewTarget']={'x':_0xc6e4a2['domEvent']['x'],'y':_0xc6e4a2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1478eb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3d3307,_0x1af6bb)=>{const _0x476668=this['_findChangeIdFromDomTarget'](_0x1af6bb['target']),_0x34af22=this['_changeIdToChange']['get'](_0x476668);_0x34af22?(this['_activeViewTarget']={'x':_0x1af6bb['domEvent']['x'],'y':_0x1af6bb['domEvent']['y']},_0x34af22===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x34af22):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x442d8a){do{const _0x256e5c=_0x442d8a['getAttribute']('data-change-id');if(_0x256e5c)return _0x256e5c;_0x442d8a=_0x442d8a['parent'];}while(_0x442d8a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4b76ce=>{for(const _0x316bfb of this['editor']['model']['markers'])_0x4b76ce['removeMarker'](_0x316bfb);});}}function et(_0xda46e2,_0x1cf1e7){return(_0x517573,_0x572c42,_0x377c2b)=>{if(!_0x377c2b['consumable']['test'](_0x572c42['markerRange'],_0x517573['name']))return;const _0x4d963d=_0x572c42['markerRange']['getWalker'](),_0x2f79aa=_0x572c42['markerRange']['start'],_0x25139e=_0xda46e2['model']['schema'];let _0x1e9eb6=null,_0x308164=null,_0x2b2f70=!0x1,_0x57640b=!0x1;for(const _0x2d0a1c of _0x4d963d){const _0x33ecc4=_0x2d0a1c['item'];_0x2b2f70=_0x2b2f70||_0x25139e['isContent'](_0x33ecc4);const _0x40d819=_0x377c2b['mapper']['toViewElement'](_0x33ecc4);if(_0x40d819&&_0x40d819['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2d0a1c['type']&&(_0x25139e['isBlock'](_0x33ecc4)&&!_0x25139e['isLimit'](_0x33ecc4)&&(_0x33ecc4['nextSibling']||_0x2f79aa['isAtEnd']?_0x1e9eb6&&_0x1e9eb6['parent']==_0x33ecc4||(_0x1e9eb6=_0x33ecc4,_0x21fe72(_0x2d0a1c['previousPosition']),_0x57640b=!0x0):_0x308164=_0x308164||_0x2d0a1c['previousPosition']));}function _0x21fe72(_0x1b0167){const _0x229ca7=_0x377c2b['mapper']['toViewPosition'](_0x1b0167),_0x3acba1=_0x377c2b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1cf1e7});_0x377c2b['writer']['insert'](_0x229ca7,_0x3acba1),_0x377c2b['mapper']['bindElementToMarker'](_0x3acba1,_0x572c42['markerName']);}_0x2b2f70||_0x57640b||!_0x308164||_0x21fe72(_0x308164);};}class bt extends _0x3e2fc2{constructor(_0x1e7217){super(_0x1e7217);const _0x56728c=_0x1e7217['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x56728c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x56728c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xf58b1c=this['editor'],_0x68ca8d=_0xf58b1c['plugins']['get'](d),_0xc3625b=_0x68ca8d['isReady']?_0x68ca8d['diff']['newRevisionId']:null;_0xf58b1c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc3625b);}['refresh'](){const {isReady:_0x5d8509,isEnabled:_0x59f619}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5d8509&&_0x59f619;}}class yt extends _0x3e2fc2{['_step'];constructor(_0x31910d,{direction:_0x2cb978}){super(_0x31910d);const _0x36888b=_0x31910d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2cb978?0x1:-0x1,this['listenTo'](_0x36888b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x36888b,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x36888b,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x38ce2e=this['editor'],_0x2c98cf=_0x38ce2e['plugins']['get'](d),{isNavigationMode:_0x9dfdbe,currentChangeNumber:_0x47e67d}=_0x2c98cf;let _0x1bdda1;if(_0x2c98cf['activeChange']=_0x9dfdbe?_0x2c98cf['diff']['changes']['get'](_0x47e67d+this['_step']):_0x2c98cf['diff']['changes']['first'],_0x2c98cf['activeChange']['data']['isOnRoot'])_0x1bdda1=_0x38ce2e['editing']['view']['getDomRoot'](_0x2c98cf['activeChange']['rootName']);else{const _0x3266e7=_0x38ce2e['model']['markers']['get']('revision:'+_0x2c98cf['activeChange']['id']);_0x1bdda1=_0x557e1b(_0x38ce2e['editing'],_0x3266e7);}_0x24e8c4({'target':_0x1bdda1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c02f5,currentChangeNumber:_0x2cf788,numberOfChanges:_0x1ba027,isReady:_0x3c19c7,isEnabled:_0x127fec}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x127fec&&_0x3c19c7&&_0x1ba027)&&(!_0x3c02f5||(0x1===this['_step']?_0x2cf788<_0x1ba027-0x1:_0x2cf788>0x0));}}class _i extends _0x4e738a{constructor(_0x84eec8){super(_0x84eec8);const _0x460ba6=this['bindTemplate'],_0x513c93=new _0x4cc0a0(_0x84eec8),_0x5e0e53=new _0x4cc0a0(_0x84eec8);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',(_0x588927,_0x1923df)=>_0x588927&&_0x1923df>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1a8257,_0x38e5f2,_0x470406,_0x2302dc)=>{if(!_0x1a8257)return y(_0x84eec8,'Loading...');if(!_0x470406)return y(_0x84eec8,'No\x20changes');const _0xa5e957=y(_0x84eec8,'NUMBER_OF_CHANGES',_0x470406);return _0x2302dc?y(_0x84eec8,'X_OF_Y_CHANGES',[_0x38e5f2+0x1,_0x470406]):_0xa5e957;}),_0x513c93['set']({'label':y(_0x84eec8,'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'}),_0x5e0e53['set']({'label':y(_0x84eec8,'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'}),_0x513c93['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5e0e53['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x513c93['on']('execute',()=>this['fire']('execute','backward')),_0x5e0e53['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',_0x460ba6['if']('_isStatusLabelVisible','ck-hidden',_0x3158a0=>!_0x3158a0)]},'children':[{'text':_0x460ba6['to']('isNavigationMode',_0x3bf7ec=>_0x3bf7ec?y(_0x84eec8,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x84eec8,'Total')+':\x20')}]},{'text':_0x460ba6['to']('_statusText')}]},new _0x538991(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x513c93,_0x5e0e53]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x570864{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x35acd2=this['editor']['editing']['view'];_0x35acd2['change'](_0x51418d=>{for(const _0x590276 of _0x35acd2['document']['roots'])_0x51418d['addClass'](ce,_0x590276);});}['hide'](){const _0x5f1e56=this['editor']['editing']['view'];_0x5f1e56['change'](_0x2d9984=>{for(const _0x50358d of _0x5f1e56['document']['roots'])_0x2d9984['removeClass'](ce,_0x50358d);});}}class R extends _0x570864{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x529f14=this['editor'],_0x40b5a6=_0x529f14['plugins']['get'](d),_0x47ecbd=_0x529f14['plugins']['get'](de);_0x529f14['ui']['componentFactory']['add']('exitToEditing',_0x32ce71=>{const _0x12320d=new _0x4cc0a0(_0x32ce71);return _0x12320d['set']({'label':y(_0x32ce71,'Back\x20to\x20editing'),'icon':_0xa39abc['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x12320d,'execute',()=>{_0x529f14['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x12320d;}),_0x529f14['ui']['componentFactory']['add']('restoreRevision',_0x33f8e5=>{const _0x442501=new _0x4cc0a0(_0x33f8e5);return _0x442501['set']({'label':y(_0x33f8e5,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x442501['bind']('isEnabled')['to'](_0x529f14['commands']['get']('restoreRevision')),this['listenTo'](_0x442501,'execute',()=>_0x529f14['execute']('restoreRevision')),_0x442501;}),_0x529f14['ui']['componentFactory']['add']('changesNavigation',_0x17a222=>{const _0xe3d858=new _i(_0x17a222),_0xef298b=_0x529f14['commands']['get']('showPreviousChange'),_0x4e4ab7=_0x529f14['commands']['get']('showNextChange');return _0xe3d858['bind']('isBackwardNavigationEnabled')['to'](_0xef298b,'isEnabled'),_0xe3d858['bind']('isForwardNavigationEnabled')['to'](_0x4e4ab7,'isEnabled'),_0xe3d858['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x40b5a6),this['listenTo'](_0xe3d858,'execute',(_0x2566f9,_0x328512)=>{_0x529f14['execute']('forward'===_0x328512?'showNextChange':'showPreviousChange');}),_0xe3d858;}),_0x47ecbd['show'](),_0x40b5a6['on']('change:isReady',(_0x284918,_0x5732ea,_0x48a8ba)=>{_0x48a8ba?_0x47ecbd['hide']():_0x47ecbd['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1e5044,_0x8ab995){super(_0x1e5044,_0x8ab995);const _0xbd4ead=this['bindTemplate'];this['set']({'label':y(_0x1e5044,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1e5044,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xbd4ead['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 _0x13495d=this['fieldView']['element'];this['_tooltipString']=_0x13495d['scrollWidth']>_0x13495d['clientWidth']&&_0x13495d['value']||'';}}class ti extends _0x4e738a{constructor(_0x49640e,_0x2e775f,_0x22dc70){super(_0x49640e);const _0x2c17a9=new _0x2b9afc();_0x2c17a9['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 _0x5b82d1=['ck','ck-revision-history-sidebar__revision-author'];_0x22dc70&&_0x5b82d1['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4bf171=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x49640e,_0x22dc70?'Revision\x20creator':'Revision\x20author')},'children':[_0x2c17a9,_0x2e775f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5b82d1},'children':_0x4bf171});}}function ni(_0x17ca8b,_0x664703){const _0x35b109=_0x17ca8b['bindTemplate'],_0x4f7119=_0x17ca8b['locale'],_0x2e74db=_0x187e19(_0x4f7119);_0x2e74db['panelPosition']='sw';const _0x2dce7b=function(_0x3388a9,_0x4c9c51){const _0x5e6bbd=function(_0x5a4c98,_0x5b5bb5){const _0x3820cf=_0x5a4c98['locale'],_0x4ec4c2={'Compare\x20against\x20selected':y(_0x3820cf,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3820cf,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3820cf,'Restore\x20this\x20revision')};return _0x5b5bb5['map'](_0x31fc57=>{const _0x30b46f=_0x4ec4c2[_0x31fc57['name']];return _0x30b46f&&_0x30b46f!==_0x31fc57['name']&&(_0x31fc57['name']=_0x30b46f),_0x31fc57;});}(_0x3388a9,_0x4c9c51),_0x18829b=new _0x12c280();for(const _0x58a22a of _0x5e6bbd){const _0x15cba5={'type':'button','model':new to({'label':_0x58a22a['name'],'class':_0x58a22a['class'],'withText':!0x0,'role':'menuitem','_action':_0x58a22a['action']})};_0x15cba5['model']['bind']('isEnabled')['to'](_0x3388a9,'isActionsDropdownOpen',_0x501be9=>'function'!=typeof _0x58a22a['isEnabled']||(!_0x501be9||_0x58a22a['isEnabled'](_0x3388a9))),_0x18829b['add'](_0x15cba5);}return _0x18829b;}(_0x17ca8b,_0x664703);return _0x17ca8b['bind']('isActionsDropdownOpen')['to'](_0x2e74db,'isOpen'),_0x2e74db['buttonView']['set']({'label':y(_0x4f7119,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xa39abc['threeVerticalDots']}),_0x2e74db['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x35b109['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x35b109['to'](_0x555fe3=>_0x555fe3['stopPropagation']())}}),_0x2e74db['on']('execute',_0x96f296=>{_0x17ca8b['isReady']&&'function'==typeof _0x96f296['source']['_action']&&_0x96f296['source']['_action'](_0x17ca8b);}),_0x3b884b(_0x2e74db,_0x2dce7b,{'role':'menu'}),_0x2e74db['listenTo'](_0x17ca8b,'change:isActionsDropdownOpen',(_0x5ef5d2,_0x361415,_0x19eb63)=>{if(_0x19eb63)for(const _0x1d0b44 of _0x2e74db['listView']['items']){const _0x6d71c1=_0x1d0b44['children']['first'],_0x42d181=_0x664703['find'](_0x3a446a=>_0x3a446a['action']===_0x6d71c1['_action'])['isVisible'];_0x1d0b44['isVisible']=void 0x0===_0x42d181||_0x42d181(_0x17ca8b);}}),_0x2e74db;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x432e29,Context as _0xeb7b38,PendingActions as _0x57267d,icons as _0x259594,Command as _0x1124ed,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x526ac8,uid as _0x20896a,Collection as _0x12acb5,logWarning as _0x21e27f,FocusTracker as _0x4474a8,KeystrokeHandler as _0x1fcc90,scrollViewportToShowTarget as _0x5d5bae,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2f9caf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x7e3f5d,getMarkerDomElement as _0x1a4569,ConfirmMixin as _0x56e264,sanitizeEditorConfig as _0x534d9f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x32ae63,ViewText as _0x5cdfad,ViewElement as _0xc3245e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x3b1b30,ViewAttributeElement as _0x7e2928,ViewEmptyElement as _0x41b2ba,ViewRawElement as _0x4b6332,ViewUIElement as _0x36bb3,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x166896,set as _0x54e829,unset as _0x959d9a,isEqual as _0x50794c}from'lodash-es';import{View as _0xfbdf25,injectCssTransitionDisabler as ts,submitHandler as _0x3754ed,LabeledFieldView as at,createLabeledInputText as _0x870591,createDropdown as _0x157fb4,ListView as te,ListItemView as _0x30cbbe,ButtonView as _0x27cfa6,MenuBarMenuView as _0x4b79e1,MenuBarMenuListView as _0x4a7b5a,MenuBarMenuListItemView as _0x3e05b7,MenuBarMenuListItemButtonView as _0x4252c3,ContextualBalloon as _0x4c396d,ToolbarSeparatorView as _0x34cf4e,IconView as _0x2f3a7c,addListToDropdown as _0x13eac9,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 _0x3db3bf}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x526ac8(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x14aeae){super(),this['id']=_0x14aeae['id']||_0x20896a(),this['creator']=_0x14aeae['creator']||null,this['authors']=_0x14aeae['authors']||[],this['diffData']=_0x14aeae['diffData']||null,this['toVersion']=_0x14aeae['toVersion']||0x0,this['fromVersion']=_0x14aeae['fromVersion']||0x0,this['set']('name',_0x14aeae['name']||''),this['set']('createdAt',_0x14aeae['createdAt']||new Date()),this['set']('attributes',_0x14aeae['attributes']||{});}['setName'](_0x3a1d97){this['_update']({'name':_0x3a1d97});}['setAttribute'](_0x35500f,_0xdbb14f){const _0x279b90=_0x166896(this['attributes']);_0x54e829(_0x279b90,_0x35500f,_0xdbb14f),this['_update']({'attributes':_0x279b90});}['removeAttribute'](_0x1bfc98){const _0x3dcc8c=_0x166896(this['attributes']);_0x959d9a(_0x3dcc8c,_0x1bfc98),this['_update']({'attributes':_0x3dcc8c});}['_update'](_0x212833,_0x349368=!0x1){let _0x191d13=!0x1;const _0x47e393={'id':this['id']},_0x4d69b9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e4bfc of _0x4d69b9){const _0x3ab778=_0x212833[_0x5e4bfc];void 0x0!==_0x3ab778&&_0x3ab778!==this[_0x5e4bfc]&&(this[_0x5e4bfc]=_0x3ab778,_0x47e393[_0x5e4bfc]=_0x3ab778,_0x191d13=!0x0);}_0x191d13&&(_0x47e393['authors']&&(_0x47e393['authorsIds']=_0x47e393['authors']['map'](_0x4fb59e=>_0x4fb59e['id']),delete _0x47e393['authors']),this['fire']('_update',_0x47e393,_0x349368));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x7855db=>_0x7855db['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x432e29{['_revisions'];static get['requires'](){return[_0x7e3f5d];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1dbe8f){super(_0x1dbe8f),this['_revisions']=new _0x12acb5();}['afterInit'](){!function(_0x5a091b){function _0x3c7610(_0x18638f,_0x307fa6,_0x2e7f72){const _0x540daf={};_0x540daf[_0x253b44([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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 _0x5b3b80=new Uint8Array(0x10);for(let _0x2b9ce4=0xf;_0x2b9ce4>=0x0;--_0x2b9ce4)_0x5b3b80[_0x2b9ce4]=_0x2e7f72%0x100,_0x2e7f72=parseInt(_0x2e7f72/0x100);let _0xaa7cf2=null,_0x531de6=0x10;const _0x1fa85e=new Uint8Array(_0x307fa6),_0x10f492=[],_0x3ee977=[];_0x55755e();for(let _0x2877e1=0x0;_0x2877e1<_0x18638f[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2877e1++)0x10===_0x531de6&&(_0xaa7cf2=_0x2387cf(_0x5b3b80),_0x531de6=0x0,_0x1d0814(_0x5b3b80)),_0x18638f[_0x2877e1]^=_0xaa7cf2[_0x531de6++];return _0x18638f;function _0x9e7ec2(_0x473ccf){const _0x7ac4f8=[];for(let _0x58931a=0x0;_0x58931a<_0x473ccf[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58931a+=0x4)_0x7ac4f8[_0x253b44([0x70,0x75,0x73,0x68])](_0x473ccf[_0x58931a]<<0x18|_0x473ccf[_0x58931a+0x1]<<0x10|_0x473ccf[_0x58931a+0x2]<<0x8|_0x473ccf[_0x58931a+0x3]);return _0x7ac4f8;}function _0x1d0814(_0x515fb7){for(let _0x1c1243=0xf;_0x1c1243>=0x0;_0x1c1243--){if(0xff!==_0x515fb7[_0x1c1243]){_0x515fb7[_0x1c1243]++;break;}_0x515fb7[_0x1c1243]=0x0;}}function _0x2387cf(_0x46572e){const _0x210497=_0x10f492[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x525d4e=[0x0,0x0,0x0,0x0];let t=_0x9e7ec2(_0x46572e);for(let _0x5c8d93=0x0;_0x5c8d93<0x4;_0x5c8d93++)t[_0x5c8d93]^=_0x10f492[0x0][_0x5c8d93];for(let _0x4bea5f=0x1;_0x4bea5f<_0x210497;_0x4bea5f++){for(let _0x5c1361=0x0;_0x5c1361<0x4;_0x5c1361++)_0x525d4e[_0x5c1361]=_0x540daf[_0x253b44([0x54,0x31])][t[_0x5c1361]>>0x18&0xff]^_0x540daf[_0x253b44([0x54,0x32])][t[(_0x5c1361+0x1)%0x4]>>0x10&0xff]^_0x540daf[_0x253b44([0x54,0x33])][t[(_0x5c1361+0x2)%0x4]>>0x8&0xff]^_0x540daf[_0x253b44([0x54,0x34])][0xff&t[(_0x5c1361+0x3)%0x4]]^_0x10f492[_0x4bea5f][_0x5c1361];t=_0x525d4e[_0x253b44([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5c7953=new Uint8Array(0x10);let _0x15660e;for(let _0x31305b=0x0;_0x31305b<0x4;_0x31305b++)_0x15660e=_0x10f492[_0x210497][_0x31305b],_0x5c7953[0x4*_0x31305b]=0xff&(_0x540daf[_0x253b44([0x53])][t[_0x31305b]>>0x18&0xff]^_0x15660e>>0x18),_0x5c7953[0x4*_0x31305b+0x1]=0xff&(_0x540daf[_0x253b44([0x53])][t[(_0x31305b+0x1)%0x4]>>0x10&0xff]^_0x15660e>>0x10),_0x5c7953[0x4*_0x31305b+0x2]=0xff&(_0x540daf[_0x253b44([0x53])][t[(_0x31305b+0x2)%0x4]>>0x8&0xff]^_0x15660e>>0x8),_0x5c7953[0x4*_0x31305b+0x3]=0xff&(_0x540daf[_0x253b44([0x53])][0xff&t[(_0x31305b+0x3)%0x4]]^_0x15660e);return _0x5c7953;}function _0x55755e(){const _0x1c9792=_0x540daf[_0x253b44([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1fa85e[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2cd495=0x0;_0x2cd495<=_0x1c9792;_0x2cd495++)_0x10f492[_0x253b44([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3ee977[_0x253b44([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x47ec74=0x4*(_0x1c9792+0x1),_0x161bb1=_0x1fa85e[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x45fefe=_0x9e7ec2(_0x1fa85e);let _0x49ee45;for(let _0x28ebe5=0x0;_0x28ebe5<_0x161bb1;_0x28ebe5++)_0x49ee45=_0x28ebe5>>0x2,_0x10f492[_0x49ee45][_0x28ebe5%0x4]=_0x45fefe[_0x28ebe5],_0x3ee977[_0x1c9792-_0x49ee45][_0x28ebe5%0x4]=_0x45fefe[_0x28ebe5];let _0x12ba60,_0xeee2ae=0x0,t=_0x161bb1;for(;t<_0x47ec74;){_0x12ba60=_0x45fefe[_0x161bb1-0x1],_0x45fefe[0x0]^=_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x10&0xff]<<0x18^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x8&0xff]<<0x10^_0x540daf[_0x253b44([0x53])][0xff&_0x12ba60]<<0x8^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x18&0xff]^_0x540daf[_0x253b44([0x72,0x63,0x6f,0x6e])][_0xeee2ae]<<0x18,_0xeee2ae+=0x1;for(let _0x1385b1=0x1;_0x1385b1<_0x161bb1/0x2;_0x1385b1++)_0x45fefe[_0x1385b1]^=_0x45fefe[_0x1385b1-0x1];_0x12ba60=_0x45fefe[_0x161bb1/0x2-0x1],_0x45fefe[_0x161bb1/0x2]^=_0x540daf[_0x253b44([0x53])][0xff&_0x12ba60]^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x8&0xff]<<0x8^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x10&0xff]<<0x10^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x18&0xff]<<0x18;for(let _0x289f27=_0x161bb1/0x2+0x1;_0x289f27<_0x161bb1;_0x289f27++)_0x45fefe[_0x289f27]^=_0x45fefe[_0x289f27-0x1];let _0x4f3ce4,_0x21fcb7,_0x32efb9=0x0;for(;_0x32efb9<_0x161bb1&&t<_0x47ec74;)_0x4f3ce4=t>>0x2,_0x21fcb7=t%0x4,_0x10f492[_0x4f3ce4][_0x21fcb7]=_0x45fefe[_0x32efb9],_0x3ee977[_0x1c9792-_0x4f3ce4][_0x21fcb7]=_0x45fefe[_0x32efb9++],t++;}for(let _0x2cb10e=0x1;_0x2cb10e<_0x1c9792;_0x2cb10e++)for(let _0x5612ad=0x0;_0x5612ad<0x4;_0x5612ad++)_0x12ba60=_0x3ee977[_0x2cb10e][_0x5612ad],_0x3ee977[_0x2cb10e][_0x5612ad]=_0x540daf[_0x253b44([0x55,0x31])][_0x12ba60>>0x18&0xff]^_0x540daf[_0x253b44([0x55,0x32])][_0x12ba60>>0x10&0xff]^_0x540daf[_0x253b44([0x55,0x33])][_0x12ba60>>0x8&0xff]^_0x540daf[_0x253b44([0x55,0x34])][0xff&_0x12ba60];}}function _0x253b44(_0x4da9aa){return _0x4da9aa['map'](_0x2d6387=>String['fromCharCode'](_0x2d6387))['join']('');}(_0x21f8b9=>{function _0x5bed01(){const _0x425c84=[{[_0x253b44([0x69,0x64])]:0x1,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x253b44([0x69,0x64])]:0x2,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([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]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x253b44([0x69,0x64])]:0x3,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x253b44([0x69,0x64])]:0x4,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([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]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x253b44([0x69,0x64])]:0x5,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([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]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x6,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x7,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x8,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([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]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x9,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x253b44([0x69,0x64])]:0xa,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([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]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([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]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([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]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0xb,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x253b44([0x69,0x64])]:0xc,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x253b44([0x69,0x64])]:0xd,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0xe,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x253b44([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([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])},{[_0x253b44([0x69,0x64])]:0xf,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x253b44([0x69,0x64])]:0x10,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}}];return _0x5e26d1(_0x425c84),_0x425c84;function _0x1fbcf1(_0x2fc659){return 0x1<<_0x2fc659-0x1;}function _0x5e26d1(_0x149dba){_0x149dba[_0x253b44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x308df2=>{_0x308df2[_0x253b44([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1fbcf1(_0x308df2[_0x253b44([0x69,0x64])]),_0x2d199d(_0x308df2)&&_0x308df2[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5e26d1(_0x308df2[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2d199d(_0x5cbeb4){return _0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5cbeb4;}const _0x48a0e9=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x59b85b=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x527863(_0x23d5a4){const _0x59e61a=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x44c01a(_0x23d5a4,new Uint8Array([..._0x48a0e9,..._0x59e61a,..._0x59b85b]));}function _0x44c01a(_0x314fe8,_0x5a18f7){const _0x4e41c4=_0xd2a947(_0x314fe8),_0x36444f=Array[_0x253b44([0x66,0x72,0x6f,0x6d])](_0x274801(_0x4e41c4)),_0x57715c=_0x36444f[_0x253b44([0x70,0x6f,0x70])](),_0x5f4c62=_0x36444f[_0x253b44([0x70,0x6f,0x70])]();return _0x260e3b(_0x3c7610(_0x36444f,_0x5a18f7,_0x5f4c62+0x100*_0x57715c));}function _0xd2a947(_0x176c0a){const _0x5c56e0=atob(_0x176c0a),[_0xdc6f36,_0x24d89b]=_0x5c56e0[_0x253b44([0x73,0x70,0x6c,0x69,0x74])](_0x253b44([0x2d]));try{if(atob(_0x24d89b))return atob(_0xdc6f36);}catch(_0x4be20a){}return _0x5c56e0;}function _0x584aa1(_0x5d0e8b){try{const _0x35de5a=_0x527863(_0x5d0e8b),_0x2aa4f9=JSON[_0x253b44([0x70,0x61,0x72,0x73,0x65])](_0x35de5a),_0x5cdc83=parseInt(_0x2aa4f9[_0x253b44([0x31])]),_0x560296=_0x2aa4f9[_0x253b44([0x32])]||'',_0x31b5ff=parseInt(_0x2aa4f9[_0x253b44([0x33])]),_0x329eec=parseInt(_0x2aa4f9[_0x253b44([0x34])])||0x0,_0x3f3168=parseInt(_0x2aa4f9[_0x253b44([0x35])])||0x0;return{[_0x253b44([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x560296,[_0x253b44([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x329eec,[_0x253b44([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x5cdc83,[_0x253b44([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x31b5ff,[_0x253b44([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3f3168};}catch(_0x5bb417){return null;}}const _0x582ca9=_0x5bed01(),_0x2c9dc1={[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4d624a,[_0x253b44([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])]:_0x329ba7,[_0x253b44([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])]:_0x33856e},_0x551af2=_0x21f8b9[_0x253b44([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x6e49b3=_0x253b44([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x21f8b9?_0x21f8b9['context']:_0x21f8b9['editor'],_0x4d0d85=_0x253b44([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x34]),_0x458e11=_0x253b44([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]),_0x4a4e7e=_0x6e49b3['config']['get'](_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x21f353=_0x582ca9[_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d199d)[_0x253b44([0x66,0x69,0x6e,0x64])](_0x1742de=>_0x1742de[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x551af2);function _0xde3a37(_0x243381,_0x53d02b){_0x2c9dc1[_0x53d02b[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x243381,_0x53d02b),_0x53d02b[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x53d02b[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x353900=>_0x3e0055(_0x6e49b3,_0x353900[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x253b44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ccbfe=>_0xde3a37(_0x243381,_0x5ccbfe));}function _0x4d624a(_0xcaf4c9,_0xc3145f){_0x1cd8bb(_0x4fc41a(_0xcaf4c9,_0xc3145f),_0xc3145f);}function _0x329ba7(_0x2083f5,_0x13d1d0){function _0x4efff2(_0x302096,_0x3806db){try{if(_0x3e0055(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x302096){const _0x28183f=_0xb20da3(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x253b44([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x28183f)/0x2>_0x302096[_0x253b44([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x50d115(_0x3806db[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4fc41a(_0x302096,_0x3806db);}catch(_0x259907){return _0x50d115(_0x3806db[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1cd8bb(_0x4efff2(_0x2083f5,_0x13d1d0),_0x13d1d0);}function _0x33856e(_0x299037,_0x4c399d){const _0x2e7d06=_0x59b85b[0x0]*_0x48a0e9[0x1],_0x44e938=_0x59b85b[0x0]*_0x48a0e9[0x2],_0x32358c=_0x59b85b[0x2]*_0x48a0e9[0x2];_0x3e0055(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xb20da3(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x20c886()]=_0x32358c);function _0x352275(_0x3c39cd,_0x34e013){try{return _0x5ec5d7()?_0x50d115(_0x34e013[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x56,0x61,0x6c,0x69,0x64])):_0x4fc41a(_0x3c39cd,_0x34e013);}catch(_0x49695f){return _0x50d115(_0x34e013[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x528844(_0x2fd5a7,_0x556b5d){const _0x1e88a9=0x7;if(_0x2fd5a7==_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x11a2b1();else{if(_0x2fd5a7==_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])){const _0x3e5b19=_0xf6a925();_0x3e5b19&&_0x10cc70(_0x3e5b19,_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2404fb=_0x4616af();window[_0x253b44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x10cc70(_0x253b44([0x74,0x69,0x6d,0x65]),_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2404fb);const _0x3c7a5a=_0xb20da3(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x253b44([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c7a5a[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1e88a9?_0x10cc70(_0x253b44([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c7a5a['on'](_0x253b44([0x61,0x64,0x64]),()=>{_0x3c7a5a[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1e88a9&&_0x10cc70(_0x253b44([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xf6a925(){if(!_0x3e0055(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1e7fa2 in window)if(Number['isNaN'](Number(_0x1e7fa2))){if(window[_0x1e7fa2]===_0x2e7d06)return _0x253b44([0x74,0x69,0x6d,0x65]);if(window[_0x1e7fa2]===_0x44e938)return _0x253b44([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5ec5d7(){if(!_0x3e0055(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x50a1d6 in window)if(Number['isNaN'](Number(_0x50a1d6))&&window[_0x50a1d6]===_0x32358c)return!0x0;return!0x1;}function _0x10cc70(_0x204dd4,_0xe16136){_0x11a2b1(),_0x50d115(_0xe16136+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x204dd4),window[_0x20c886()]=_0x204dd4===_0x253b44([0x74,0x69,0x6d,0x65])?_0x2e7d06:_0x44e938;}function _0x4616af(){let _0x285430=_0x59b85b[0x6]*_0x48a0e9[0x8]*_0x48a0e9[0x6];return _0x3e0055(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x285430/=0xa),_0x285430;}function _0x11a2b1(){const _0x41c2fd=_0x6e49b3;function _0xd7fd51(){_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2837e1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2837e1,_0x41c2fd[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x41c2fd[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x41c2fd[_0x253b44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x253b44([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2837e1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2837e1);}_0x41c2fd[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x72,0x65,0x61,0x64,0x79])?_0xd7fd51():_0x41c2fd[_0x253b44([0x6f,0x6e,0x63,0x65])](_0x253b44([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xd7fd51(),_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x352756=_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2bd591=_0x352756['getRevision'](0x0),_0x4202d6=_0x352756['getEarlierVisibleRevision'](_0x2bd591[_0x253b44([0x69,0x64])]);_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2bd591[_0x253b44([0x69,0x64])],_0x4202d6?_0x4202d6[_0x253b44([0x69,0x64])]:null,0x1)['then'](()=>_0xd7fd51());}});}_0x528844(_0x352275(_0x299037,_0x4c399d),_0x4c399d);}function _0x4fc41a(_0x12dc84,_0x32172c){try{return _0x386d2f(_0x32172c)?_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x56,0x61,0x6c,0x69,0x64])):_0x12dc84&&_0x25dfb3(_0x12dc84[_0x253b44([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x32172c)?_0x12dc84[_0x253b44([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x253b44([0x6f,0x70,0x65,0x6e])][_0x253b44([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4d0d85)/0x2>_0x12dc84[_0x253b44([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x12dc84[_0x253b44([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])):_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x56,0x61,0x6c,0x69,0x64])):_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3c0a7d){return _0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1cd8bb(_0x48817a,_0x3bd247){if(_0x6e49b3 instanceof _0xeb7b38){const _0x41bbaf=_0x6e49b3;_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x44c4fc(_0x41bbaf):_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])&&window[_0x253b44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x44c4fc(_0x41bbaf),_0x50d115(_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x59b85b[0x6]*_0x48a0e9[0x8]*_0x48a0e9[0x6]),_0x41bbaf[_0x253b44([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x253b44([0x6f,0x6e])](_0x253b44([0x61,0x64,0x64]),(_0x4973a5,_0x16410e)=>{_0x48817a!=_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x48817a!=_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x48817a!=_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2f8daa(_0x16410e);});}else{const _0x40b07e=_0x6e49b3;_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2f8daa(_0x40b07e):_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])&&_0x40b07e[_0x253b44([0x6f,0x6e])](_0x253b44([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x56fc61=0x0;_0x40b07e[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x6f,0x6e])](_0x253b44([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47ef2f,_0xe826d7)=>{_0xe826d7[0x0][_0x253b44([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56fc61++,0x1f8===_0x56fc61&&(_0x2f8daa(_0x40b07e),_0x50d115(_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x47ef2f[_0x253b44([0x6f,0x66,0x66])]());},{'priority':_0x253b44([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x50d115(_0x14a3be){const _0x3850b2=_0x20c886();return _0x6e49b3[_0x3850b2]=_0x14a3be,_0x14a3be;}function _0x20c886(){const _0x408003=String(window[_0x253b44([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x253b44([0x6e,0x6f,0x77])]())[_0x253b44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x253b44([0x2e]),'');let _0x7a966a='';for(let _0x1cb84e=0x0;_0x1cb84e<_0x408003[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cb84e+=0x2){let _0x500a77=parseInt(_0x408003[_0x253b44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cb84e,_0x1cb84e+0x2));_0x500a77>=_0x458e11[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x500a77-=_0x458e11[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7a966a+=_0x458e11[_0x500a77];}return _0x7a966a;}function _0x44c4fc(_0x363482){for(const _0x405036 of _0x363482[_0x253b44([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2f8daa(_0x405036);_0xb20da3(_0x363482,_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x253b44([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xb20da3(_0x363482,_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x253b44([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2837e1;}function _0x2f8daa(_0x29b67c){function _0x2f5a92(){_0x29b67c[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x29b67c[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x29b67c[_0x253b44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x253b44([0x6d,0x6f,0x64,0x65,0x6c]));}_0x29b67c[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x72,0x65,0x61,0x64,0x79])?_0x2f5a92():_0x29b67c[_0x253b44([0x6f,0x6e,0x63,0x65])](_0x253b44([0x72,0x65,0x61,0x64,0x79]),()=>_0x2f5a92());}function _0x2837e1(){return null;}function _0x25dfb3(_0x33c693,_0x31ba17){const _0x2df5a6=!!(_0x33c693&_0x31ba17[_0x253b44([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2cc8b0=_0x5a34fc(_0x33c693,_0x31ba17);return _0x2df5a6||_0x2cc8b0;}function _0x5a34fc(_0x5ed6ec,_0x54255c){const _0x4f73bc=(_0x54255c[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x253b44([0x66,0x67,0x69])]||null;return!!_0x4f73bc&&_0x582ca9[_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa42605=>_0x4f73bc[_0x253b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa42605[_0x253b44([0x69,0x64])]))[_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e5a75=>!_0x488ebf(_0x4e5a75))[_0x253b44([0x73,0x6f,0x6d,0x65])](_0x1ae1a8=>!!(_0x5ed6ec&_0x1ae1a8[_0x253b44([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x488ebf(_0x12b274){const _0x1e1ba2={[_0x253b44([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])]:_0x21e65b};return!!_0x12b274['forbiddenHandler']&&_0x1e1ba2[_0x12b274['forbiddenHandler']]();}function _0x21e65b(){return!window[_0x253b44([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3e0055(_0x6e49b3,_0x253b44([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x386d2f(_0x17f8ef){if(!_0x3e0055(_0x6e49b3,_0x17f8ef[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2f3b9=_0x17f8ef[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4f66b=_0x2f3b9[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2eca56=_0x2f3b9[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x218f98=_0x2f3b9[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3e0055(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xb20da3(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4f66b)return!0x0;if(_0x3e0055(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xb20da3(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x253b44([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x253b44([0x65,0x6e,0x64])&&_0x2eca56)return!0x0;return!(!_0x3e0055(_0x6e49b3,_0x253b44([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]))||_0xb20da3(_0x6e49b3,_0x253b44([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]))[_0x253b44([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x253b44([0x65,0x6e,0x64])||!_0x218f98);}function _0x3e0055(_0x18ffa5,_0x2b117a){return _0x18ffa5[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x253b44([0x68,0x61,0x73])](_0x2b117a);}function _0xb20da3(_0x2ed383,_0x340ae0){return _0x2ed383[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x253b44([0x67,0x65,0x74])](_0x340ae0);}function _0x260e3b(_0x430f33){let _0x50d0c3='';for(const _0x1e720d of _0x430f33)_0x50d0c3+=String[_0x253b44([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1e720d);return _0x50d0c3;}function _0x274801(_0x391a2b){const _0x487812=new Uint8Array(_0x391a2b[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x511ec1=0x0;_0x511ec1<_0x391a2b[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x511ec1++)_0x487812[_0x511ec1]=_0x391a2b[_0x253b44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x511ec1);return _0x487812;}_0x21f353&&_0xde3a37(_0x584aa1(_0x4a4e7e),_0x21f353);})(_0x5a091b);}(this);}['createRevision'](_0x105f5e){const _0x19dab9=this['editor']['plugins']['get']('Users');return new a({'id':_0x105f5e['id'],'name':_0x105f5e['name'],'creator':_0x105f5e['creatorId']?_0x19dab9['getUser'](_0x105f5e['creatorId']):null,'diffData':_0x105f5e['diffData']||_0x105f5e['data'],'authors':_0x105f5e['authorsIds']['map'](_0x1cbdff=>_0x19dab9['getUser'](_0x1cbdff)),'createdAt':new Date(_0x105f5e['createdAt']),'attributes':_0x105f5e['attributes'],'fromVersion':_0x105f5e['fromVersion'],'toVersion':_0x105f5e['toVersion']});}['addRevision'](_0x4852cf,_0x5b1750=0x0){this['_revisions']['add'](_0x4852cf,_0x5b1750);}['getRevision'](_0x2a6b2e){return this['_revisions']['get'](_0x2a6b2e);}['getRevisions'](_0x4cf847={'toJSON':!0x1}){const _0x1ab814=Array['from'](this['_revisions']);return _0x1ab814['reverse'](),_0x4cf847['toJSON']?_0x1ab814['map'](_0x2aac75=>_0x2aac75['toJSON']()):_0x1ab814;}['getIndex'](_0x28564d){return this['_revisions']['getIndex'](_0x28564d);}['getEarlierVisibleRevision'](_0x544bfd){const [,_0x19e42c]=this['getRevisionsIterator'](_0x544bfd,{'direction':'earlier'});return _0x19e42c;}['getLaterVisibleRevision'](_0x1cf2cf){const [,_0x133c1b]=this['getRevisionsIterator'](_0x1cf2cf,{'direction':'later'});return _0x133c1b;}['getRevisionsInDiff'](_0x20cbe4){const _0x2e2592=[];for(const _0x142a53 of this['getRevisionsIterator'](_0x20cbe4['newRevisionId']))if(_0x2e2592['push'](_0x142a53),_0x142a53['id']===_0x20cbe4['oldRevisionId'])break;return _0x2e2592;}*['getRevisionsIterator'](_0x2fb540,{direction:_0x1c079c='earlier',filter:_0x2d6f7e=_0x5ab1c=>!0x0}={}){const _0x258403='earlier'===_0x1c079c?0x1:-0x1;let _0x39a732=this['_revisions']['get'](_0x2fb540),_0x26f4af=this['getIndex'](_0x39a732);for(yield _0x39a732;_0x39a732;){if(_0x26f4af+=_0x258403,_0x39a732=this['getRevision'](_0x26f4af),!_0x39a732)return;_0x2d6f7e(_0x39a732)&&(yield _0x39a732);}}}function y(_0x3597b9,_0x2a5dd1,_0x146c73){const t=_0x3597b9['t'];switch(_0x2a5dd1){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'},_0x146c73);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x146c73);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':_0x3b1b30,'a':_0x7e2928,'e':_0x41b2ba,'r':_0x4b6332,'u':_0x36bb3};class l extends _0x432e29{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x7e3f5d,A,_0x57267d];}constructor(_0xe75cad){super(_0xe75cad),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 _0x1795f9=_0x20896a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1795f9},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 _0x76a754=this['repository']['getRevision'](0x0),_0x11be21=_0x76a754&&null===_0x76a754['creator']?_0x76a754:null;if(this['_continueCurrentRevision']=!!_0x11be21&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x44a893=this['_source']['getCurrentRevisionId'](),_0xb9763e=this['repository']['getRevision'](_0x44a893);if(_0xb9763e)this['_startingVersion']=_0xb9763e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x6dac2=this['_source']['history']['_operations']['find'](_0x4cff5b=>!_0x4cff5b['_isInit']),_0x5282d8=_0x6dac2?_0x6dac2['baseVersion']:this['_source']['history']['version'];_0x76a754?(_0x76a754['toVersion']<_0x5282d8&&_0x76a754['_update']({'toVersion':_0x5282d8}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x11be21['id'],this['_startingVersion']=_0x11be21['fromVersion']):(this['_startingVersion']=_0x76a754['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5282d8,this['_continueCurrentRevision']=!0x1);}}else _0x11be21&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x11be21['toVersion'],this['editor']['model']['document']['history']['version']),_0x11be21['fromVersion']===_0x11be21['toVersion']?(0x0!==_0x11be21['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x11be21['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x11be21['id'],this['_startingVersion']=_0x11be21['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',_0x26b9ef=>!_0x26b9ef);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x14ca68=this['repository']['getRevision'](0x0),_0x3a86f2=await this['getRevisionDocumentData'](_0x14ca68),_0x1a3f13=await this['getRevisionRootsAttributes'](_0x14ca68);this['_replaceEditorDataWithRevisionData'](_0x3a86f2,_0x1a3f13);}}['setSource'](_0x4a3a0d){this['_source']=_0x4a3a0d;}async['update'](){const _0x2dbe38=await this['_source']['getLatestVersion']();if(_0x2dbe38>this['currentRevision']['toVersion']){await this['_loadState']();const _0x330e73=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x2dbe38});_0x330e73['authors']=_0x330e73['authorsIds']['map'](_0x1a05df=>this['editor']['plugins']['get']('Users')['getUser'](_0x1a05df)),this['currentRevision']['_update'](_0x330e73);}}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'](_0x46855c={},_0x204733=null){const _0x5bd274=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x204733>this['currentRevision']['toVersion']&&(_0x204733=null),null===_0x204733&&(_0x204733=await this['_source']['getLatestVersion']());const _0x18c8fb=this['_getFromVersion'](_0x204733),_0x4be54b=this['buildRevisionData']({'from':_0x18c8fb,'to':_0x204733});if(this['currentRevision']['toVersion']<_0x204733){const _0x30a206=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x204733,'to':_0x204733});_0x30a206['authors']=[],_0x30a206['authorsIds']=[],_0x30a206['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x30a206,!0x0),delete _0x30a206['authors'],_0x5bd274['push'](_0x30a206);}_0x46855c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x46855c['name']=_0x46855c['name']||null,_0x46855c['id']=_0x46855c['id']||_0x20896a(),_0x46855c={..._0x46855c,..._0x4be54b};const _0x46eaee=this['addRevisionData'](_0x46855c);_0x5bd274['push'](_0x46855c);const _0x10eb30=this['repository']['getIndex'](_0x46eaee);if(0x0!==_0x10eb30){const _0x3f2cdd=this['repository']['getRevision'](_0x10eb30-0x1);if(_0x3f2cdd['fromVersion']!==_0x204733){const _0x1b0485=this['_revisionDataBuilder']['getData'](_0x204733,_0x3f2cdd['toVersion']),_0x5753e8={'id':_0x3f2cdd['id'],'diffData':_0x1b0485['diffData'],'authorsIds':_0x1b0485['authorsIds'],'authors':_0x1b0485['authorsIds']['map'](_0x52c099=>this['editor']['plugins']['get']('Users')['getUser'](_0x52c099)),'fromVersion':_0x204733};_0x3f2cdd===this['currentRevision']&&(_0x5753e8['createdAt']=new Date(_0x46855c['createdAt']['getTime']()+0xa)),_0x3f2cdd['_update'](_0x5753e8,!0x0),delete _0x5753e8['authors'],_0x5bd274['push'](_0x5753e8);}}if(this['adapter']){for(const _0x27c727 of _0x5bd274)this['_bufferUpdate'](_0x27c727['id'],_0x27c727,!0x0);this['sendBufferedUpdates']();}return _0x46eaee;}['addRevisionData'](_0x55d5c2){const _0x43c018=this['repository']['createRevision'](_0x55d5c2);return this['adapter']&&_0x43c018['on']('_update',(_0x43420c,_0x36e103,_0x1fc938)=>{_0x1fc938||(this['_bufferUpdate'](_0x36e103['id'],_0x36e103,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x43c018,this['_findInsertionIndex'](_0x43c018)),_0x43c018;}async['getRevisionDocumentData'](_0x2e885b){await this['_loadRevisionData'](_0x2e885b);const _0x333b0c={};for(const _0x44dac2 in _0x2e885b['diffData']){if(_0x2e885b['diffData'][_0x44dac2]['attachChange']&&!_0x2e885b['diffData'][_0x44dac2]['attachChange']['isAttached'])continue;const _0x30154b=this['_removeRevisionMarkers'](JSON['parse'](_0x2e885b['diffData'][_0x44dac2]['insertions'])),_0x38c937=this['editor']['editing']['view']['document'],_0x38ad84=new _0x32ae63(_0x38c937,_0x30154b['map'](_0x5e7939=>B(_0x5e7939,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x333b0c[_0x44dac2]=this['editor']['data']['processor']['toData'](_0x38ad84),this['editor']['data']['processor']['useFillerType']('default');}return _0x333b0c;}async['getRevisionRootsAttributes'](_0x5556da){await this['_loadRevisionData'](_0x5556da);const _0x171ed7={};for(const _0x49f6a5 in _0x5556da['diffData'])_0x5556da['diffData'][_0x49f6a5]['attachChange']&&!_0x5556da['diffData'][_0x49f6a5]['attachChange']['isAttached']||(_0x171ed7[_0x49f6a5]=_0x5556da['diffData'][_0x49f6a5]['attributesAfter']||{});return _0x171ed7;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1c1503=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x37278a=0x0;_0x37278a<_0x1c1503['length'];_0x37278a++){const _0xe7ae5c=_0x1c1503[_0x37278a];let _0x5bb256=!0x1;for(const _0x20f6ac of Object['keys'](_0xe7ae5c))void 0x0===_0xe7ae5c[_0x20f6ac]?delete _0xe7ae5c[_0x20f6ac]:'id'!==_0x20f6ac&&(_0x5bb256=!0x0);_0x5bb256||(_0x1c1503[_0x37278a]=null);}if(_0x1c1503=_0x1c1503['filter'](_0x1358d7=>null!==_0x1358d7),!_0x1c1503['length'])return;for(let _0x414b85=0x0;_0x414b85<_0x1c1503['length'];_0x414b85++){const _0x4a5827=_0x1c1503[_0x414b85];void 0x0!==_0x4a5827['fromVersion']&&void 0x0===_0x4a5827['toVersion']&&(_0x4a5827['toVersion']=this['repository']['getRevision'](_0x4a5827['id'])['toVersion']),void 0x0!==_0x4a5827['toVersion']&&void 0x0===_0x4a5827['fromVersion']&&(_0x4a5827['fromVersion']=this['repository']['getRevision'](_0x4a5827['id'])['fromVersion']);}const _0x422fe9=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1c1503,_0x422fe9)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4868e3=>{if(_0x4868e3){for(const _0x4df2db of _0x4868e3)this['setRevisionData']({'id':_0x4df2db['id'],'createdAt':_0x4df2db['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x256e00,_0xf56c54){let _0x519b4a=this['editor']['config']['get']('initialData'),_0x30971e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x519b4a){_0x519b4a={};for(const _0x54c36a of this['editor']['model']['document']['getRootNames']())_0x519b4a[_0x54c36a]='';}if('string'==typeof _0x519b4a&&(_0x519b4a={'main':_0x519b4a}),void 0x0===_0x30971e){_0x30971e={};for(const _0x5b918d of this['editor']['model']['document']['getRootNames']())_0x30971e[_0x5b918d]={};}let _0x22e9aa=!0x1;const _0x1f2563=Object['keys'](_0x519b4a),_0x125c1f=Object['keys'](_0x256e00);for(const _0x441527 of _0x1f2563){if(_0x519b4a[_0x441527]!==_0x256e00[_0x441527]&&''!==_0x519b4a[_0x441527]['trim']()){_0x22e9aa=!0x0;break;}if(!_0x50794c(_0x30971e[_0x441527],_0xf56c54[_0x441527])&&Object['keys'](_0x30971e[_0x441527])['length']>0x0){_0x22e9aa=!0x0;break;}}_0x22e9aa||(_0x22e9aa=_0x125c1f['some'](_0x16a719=>!this['editor']['model']['document']['getRoot'](_0x16a719))),_0x22e9aa&&_0x21e27f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x519b4a,'editorRootsAttributes':_0x30971e,'revisionData':_0x256e00,'revisionRootsAttributes':_0xf56c54}),this['editor']['config']['set']('initialData',_0x256e00),this['editor']['config']['set']('rootsAttributes',_0xf56c54);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3daf65=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3daf65['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xc76127){const _0x5b1ef0=this['repository']['getRevisions']();_0x5b1ef0['reverse']();let _0x20729f=0x0;for(;_0x20729f<_0x5b1ef0['length'];){const _0x2b3f5c=_0x5b1ef0[_0x20729f];if(_0x2b3f5c===this['currentRevision']){_0x20729f++;continue;}if(_0x2b3f5c['id']===this['_initialRevisionId'])break;const _0x1fc7ac=_0xc76127['toVersion']-_0x2b3f5c['toVersion']||_0xc76127['fromVersion']-_0x2b3f5c['fromVersion'];if(_0x1fc7ac>0x0)break;if(_0x1fc7ac<0x0)_0x20729f++;else{if(!_0xc76127['creator']&&_0x2b3f5c['creator'])break;if(_0x2b3f5c['creator']||!_0xc76127['creator']){if(_0xc76127['createdAt']>_0x2b3f5c['createdAt'])break;_0x20729f++;}else _0x20729f++;}}return _0x20729f;}['setRevisionData'](_0xeacc5c){const _0x63c548=this['repository']['getRevision'](_0xeacc5c['id']);if(_0xeacc5c['createdAt']&&(_0xeacc5c['createdAt']=new Date(_0xeacc5c['createdAt'])),_0xeacc5c['authorsIds']){const _0x2a8c26=this['editor']['plugins']['get']('Users');_0xeacc5c['authors']=_0xeacc5c['authorsIds']['map'](_0x38549d=>_0x2a8c26['getUser'](_0x38549d));}_0x63c548['_update'](_0xeacc5c,!0x0);}['buildRevisionData']({revision:_0x155e82=null,from:_0x1e4462=null,to:_0x40d083=null}){_0x1e4462=null!==_0x1e4462?_0x1e4462:_0x155e82['fromVersion'],_0x40d083=null!==_0x40d083?_0x40d083:_0x155e82['toVersion'];const _0x518856=this['_revisionDataBuilder']['getData'](_0x1e4462,_0x40d083),_0x14d05b={'diffData':_0x518856['diffData'],'authorsIds':_0x518856['authorsIds'],'fromVersion':_0x1e4462,'toVersion':_0x40d083};if(!_0x155e82||_0x40d083!==_0x155e82['toVersion']){const _0xefc8d4=_0x40d083-0x1,_0x44c4f2=this['_source']['history']['getOperation'](_0xefc8d4);_0x14d05b['createdAt']=_0x44c4f2&&_0x44c4f2['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1e4462===this['_loadedStateData']['fromVersion']){for(const _0x4b721f of this['_loadedStateData']['authors'])_0x14d05b['authorsIds']['includes'](_0x4b721f['id'])||_0x14d05b['authorsIds']['push'](_0x4b721f['id']);}return _0x14d05b;}['_loadRevisionData'](_0x40bccf){if(!_0x40bccf||_0x40bccf['diffData'])return Promise['resolve']();{const _0x316cf5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x316cf5,'revisionId':_0x40bccf['id']})['then'](_0x3380ba=>{_0x40bccf['diffData']=_0x3380ba['diffData'];});}}['_bufferUpdate'](_0x4f2cd0,_0x37c2b4,_0x4d8853){if(this['_bufferedUpdates']['has'](_0x4f2cd0)){const _0x369450=this['_bufferedUpdates']['get'](_0x4f2cd0);_0x37c2b4=_0x4d8853?{..._0x369450,..._0x37c2b4}:{..._0x37c2b4,..._0x369450};}this['_bufferedUpdates']['set'](_0x4f2cd0,_0x37c2b4);}['_getFromVersion'](_0x56a3bc){const _0x315a28=this['repository']['getRevisions']();_0x315a28['reverse'](),_0x315a28['shift']();const _0x37ea45=_0x315a28['find'](_0x147c10=>_0x147c10['toVersion']<=_0x56a3bc)['toVersion'];return _0x37ea45<this['_startingVersion']?this['_startingVersion']:_0x37ea45;}['_createInitialRevision'](_0x5dbaa6){const _0x50d8c0=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x50d8c0)this['_initialRevisionId']=_0x50d8c0['id'];else{const _0x1f143e=!this['editor']['model']['document']['roots']['find'](_0x20a903=>this['editor']['model']['hasContent'](_0x20a903)),_0x40c22d=this['editor']['plugins']['get']('Users')['me']['id'],_0x49113a=y(this['editor']['locale'],_0x1f143e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5dbaa6,'to':_0x5dbaa6,'id':this['_initialRevisionId'],'name':_0x49113a,'creatorId':_0x40c22d});}}['_createCurrentRevision'](_0x3be047){const _0x4fa6b4=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4fa6b4),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3be047,'to':_0x3be047,'id':_0x4fa6b4,'name':'','creatorId':null}));}['_makeRevision']({name:_0x532e98,from:_0x63e2ea,to:_0x793ffc,creatorId:_0x1b2f2f,id:_0x5d83f7}){const _0x25f2b2=this['buildRevisionData']({'from':_0x63e2ea,'to':_0x793ffc});_0x25f2b2['name']=_0x532e98,_0x25f2b2['creatorId']=_0x1b2f2f,_0x25f2b2['id']=_0x5d83f7;const _0x258fd9=this['addRevisionData'](_0x25f2b2);return this['adapter']&&this['_bufferUpdate'](_0x25f2b2['id'],_0x25f2b2,!0x0),_0x258fd9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x361560){return(_0x361560=_0x361560['filter'](_0xee55a1=>!_0xee55a1['name']||'revision-start'!==_0xee55a1['name']&&'revision-end'!==_0xee55a1['name']))['forEach'](_0xfd39c2=>{'string'!=typeof _0xfd39c2&&(_0xfd39c2['children']=this['_removeRevisionMarkers'](_0xfd39c2['children']),_0xfd39c2['attributes']=_0xfd39c2['attributes']['filter'](_0x3df2ab=>!_0x3df2ab[0x0]['startsWith']('data-revision-')));}),_0x361560;}}function B(_0x2233e9,_0x59a3aa){const _0x22f1f8=_0x59a3aa['editing']['view']['document'];if('string'==typeof _0x2233e9)return new _0x5cdfad(_0x22f1f8,_0x2233e9);{const _0x213fe0=_0x2233e9['children']['map'](_0xa18fc4=>B(_0xa18fc4,_0x59a3aa));return new(T[_0x2233e9['type']]||_0xc3245e)(_0x22f1f8,_0x2233e9['name'],_0x2233e9['attributes'],_0x213fe0);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x584e13){this['editor']=_0x584e13,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'](_0x24ef9d){this['source']=_0x24ef9d;const _0x4b0ee4=new Map(),_0x262d35=new Map(),_0x3f9deb=this['editor']['model']['document']['roots']['map'](_0x1d1a1a=>_0x1d1a1a['rootName']);for(const _0x40be7d of _0x3f9deb){const _0xd1f471=this['editor']['model']['document']['getRoot'](_0x40be7d),_0x33eddf=q(_0xd1f471);_0x4b0ee4['set'](_0x40be7d,_0x33eddf),_0x262d35['set'](_0x40be7d,Object['fromEntries'](_0xd1f471['getAttributes']()));}const _0x37e17c=Array['from'](this['editor']['model']['markers'])['map'](_0x1edf58=>[_0x1edf58['name'],_0x1edf58['getRange']()]),_0x19ac23=this['source']['version'];this['_saveMetaData'](_0x19ac23,_0x4b0ee4,_0x37e17c,_0x262d35),this['_startingRevisionId']=this['_revisionId'];const _0xed61a0=new Map(),_0x1c1f21=new Map();for(const _0x3cf8d2 of _0x3f9deb){const _0x2e4ade=G(_0x3cf8d2);_0xed61a0['set'](_0x3cf8d2,_0x2e4ade),_0x1c1f21['set'](_0x3cf8d2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xed61a0,[],_0x1c1f21);}['getData'](_0x184696,_0x303a33){if(this['_lastFrom']===_0x184696&&this['_lastTo']<=_0x303a33)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x303a33,!0x0);else{if(!this['_savedMetaData']['has'](_0x184696)){const _0x56b85b=this['_getPreviousFrom'](_0x184696);this['_calculateMetaData'](_0x56b85b,_0x184696,!0x1);}this['_calculateMetaData'](_0x184696,_0x303a33,!0x0);}return this['_lastFrom']=_0x184696,this['_lastTo']=_0x303a33,this['_getState']();}['loadState'](_0x204f20){this['_reset'](),this['_lastFrom']=_0x204f20['fromVersion'],this['_lastTo']=_0x204f20['toVersion'];for(const _0x52cff3 in _0x204f20['diffData']){const _0x56cea4=_0x204f20['diffData'][_0x52cff3]['attachChange'],_0x48e53f=_0x166896(_0x204f20['diffData'][_0x52cff3]['attributesBefore'])||{},_0x37fdb7=this['_makeModelFromViewString'](_0x204f20['diffData'][_0x52cff3]['deletions']);_0x37fdb7['rootName']=_0x52cff3,_0x37fdb7['_isAttached']=!_0x56cea4||!_0x56cea4['isAttached'],_0x37fdb7['isAttached']=()=>_0x37fdb7['_isAttached'],this['_baseRoots']['set'](_0x52cff3,_0x37fdb7),this['_baseRootsAttributes']['set'](_0x52cff3,_0x48e53f),_0x56cea4&&this['_touchedRoots']['set'](_0x52cff3,_0x56cea4);const _0x3bb049=this['_makeIdsRoot'](_0x37fdb7);this['_baseIdsRoots']['set'](_0x52cff3,_0x3bb049);for(const [_0x3bb402,_0x189029]of _0x37fdb7['markers']){if(!_0x3bb402['startsWith']('revision:'))continue;const _0x161d43=_0x3bb402['split'](':')[0x2];for(const _0xff8142 of _0x189029['getWalker']({'singleCharacters':!0x0})){const _0x5b65b2=this['_getVidAttributeName'](_0xff8142),_0x4f317f='elementEnd'==_0xff8142['type']?_0xff8142['previousPosition']['path']['slice'](0x0,-0x1):_0xff8142['previousPosition']['path'],_0x3263f5=_0x3bb049['getNodeByPath'](_0x4f317f)['getAttribute'](_0x5b65b2);this['_touched']['set'](_0x3263f5,{'userId':_0x161d43});}}}this['_startingRevisionId']=this['_revisionId'];const _0x539b78=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2ffcb3=>!this['_touched']['has'](_0x2ffcb3));let _0x5cc2ec=0x0;const _0x42d24e=new Map();for(const _0x44b79e in _0x204f20['diffData']){const _0x2afc56=_0x204f20['diffData'][_0x44b79e]['attachChange'],_0x1954f8=_0x166896(_0x204f20['diffData'][_0x44b79e]['attributesAfter'])||{},_0x1c99d2=this['_makeModelFromViewString'](_0x204f20['diffData'][_0x44b79e]['insertions']);_0x1c99d2['rootName']=_0x44b79e,_0x1c99d2['_isAttached']=!_0x2afc56||_0x2afc56['isAttached'],_0x1c99d2['isAttached']=()=>_0x1c99d2['_isAttached'],this['_diffRoots']['set'](_0x44b79e,_0x1c99d2),this['_diffRootsAttributes']['set'](_0x44b79e,_0x1954f8);const _0x2ed36e=this['_makeIdsRoot'](_0x1c99d2,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x44b79e,_0x2ed36e),_0x42d24e['set'](_0x44b79e,_0x1c99d2['isAttached']()?_0x1954f8:{});for(const [_0xda149b,_0x2403b9]of _0x1c99d2['markers']){if(!_0xda149b['startsWith']('revision:'))continue;const _0x3eca7c=_0xda149b['split'](':')[0x2];for(const _0x3c6506 of _0x2403b9['getWalker']({'singleCharacters':!0x0})){const _0x43232c=this['_getVidAttributeName'](_0x3c6506),_0x38207f=this['_revisionId']++,_0x14d584='elementEnd'==_0x3c6506['type']?_0x3c6506['previousPosition']['path']['slice'](0x0,-0x1):_0x3c6506['previousPosition']['path'];_0x2ed36e['getNodeByPath'](_0x14d584)['_setAttribute'](_0x43232c,_0x38207f),this['_touched']['set'](_0x38207f,{'userId':_0x3eca7c});}}for(const _0x20891a of this['editor']['model']['createRangeIn'](_0x1c99d2)['getWalker']({'singleCharacters':!0x0})){const _0x70b2e4=this['_getVidAttributeName'](_0x20891a),_0x23ddc0='elementEnd'==_0x20891a['type']?_0x20891a['previousPosition']['path']['slice'](0x0,-0x1):_0x20891a['previousPosition']['path'],_0x3055bd=_0x2ed36e['getNodeByPath'](_0x23ddc0);_0x3055bd['getAttribute'](_0x70b2e4)>0x0||_0x3055bd['_setAttribute'](_0x70b2e4,_0x539b78[_0x5cc2ec++]);}for(const [_0x3bc870,_0x2dc345]of _0x1c99d2['markers'])_0x3bc870['startsWith']('revision:')||this['_markers']['set'](_0x3bc870,_0x2dc345);}const _0x6bac31=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x6bac31),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x6bac31,0x1));const _0x430c1a=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x430c1a),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x430c1a,0x1));const _0x5aefcb=Array['from'](this['_diffRoots'])['map'](([_0x387404,_0x2e9763])=>[_0x387404,q(_0x2e9763)]);this['_saveMetaData'](this['_lastTo'],_0x5aefcb,this['_markers'],_0x42d24e);}['_makeModelFromViewString'](_0x48a25a){const _0xa3af4c=JSON['parse'](_0x48a25a),_0x411070=this['editor']['editing']['view']['document'],_0x30e1d2=new _0x32ae63(_0x411070,_0xa3af4c['map'](_0x82a0d7=>B(_0x82a0d7,this['editor'])));return this['editor']['data']['toModel'](_0x30e1d2);}['_saveMetaData'](_0x4466ae,_0x429cd8,_0x4e9459,_0x57b181){const _0x6e875c=new Map(_0x429cd8),_0x420174=new Map(_0x166896(_0x57b181)),_0x321f14=new Map();for(const [_0x410edc,_0x8ac15e]of _0x4e9459)_0x321f14['set'](_0x410edc,{'start':_0x8ac15e['start']['clone'](),'end':_0x8ac15e['end']['clone'](),'rootName':_0x8ac15e['root']['rootName']});this['_savedMetaData']['set'](_0x4466ae,{'roots':_0x6e875c,'markers':_0x321f14,'rootsAttributes':_0x420174});}['_removeMetaData'](_0x4cec7e){this['_savedMetaData']['delete'](_0x4cec7e);}['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'](_0x53d167,_0x9d6a53=null){let _0x56c695=null;_0x53d167['is']('documentFragment')||(_0x56c695=new ft(_0x53d167['name'],{'vid_start':null===_0x9d6a53?this['_revisionId']++:_0x9d6a53++}));const _0x3e1b6e=[];for(const _0x433fd8 of _0x53d167['getChildren']())if(_0x433fd8['is']('element')){_0x3e1b6e['push'](this['_makeIdsRoot'](_0x433fd8,_0x9d6a53));const _0x4e4c22=_0x3e1b6e[_0x3e1b6e['length']-0x1];null!==_0x9d6a53&&(_0x9d6a53=_0x4e4c22['is']('element','$text')?_0x4e4c22['getAttribute']('vid')+0x1:_0x4e4c22['getAttribute']('vid_end')+0x1);}else{for(let _0x17b94a=0x0;_0x17b94a<_0x433fd8['offsetSize'];_0x17b94a++)_0x3e1b6e['push'](new ft('$text',{'vid':null===_0x9d6a53?this['_revisionId']++:_0x9d6a53++}));}if(_0x53d167['is']('documentFragment')){const _0x372d8b=G(_0x53d167['rootName']);return _0x372d8b['_insertChild'](0x0,_0x3e1b6e),_0x372d8b;}return _0x56c695['_setAttribute']('vid_end',null===_0x9d6a53?this['_revisionId']++:_0x9d6a53++),_0x56c695['_insertChild'](0x0,_0x3e1b6e),_0x56c695;}['_calculateMetaData'](_0x4f9f48,_0x5d930b,_0x3cd16c){this['_reset']();const {roots:_0xd9ada3,markers:_0x4f29f2,rootsAttributes:_0x4930ef}=this['_savedMetaData']['get'](_0x4f9f48);this['_baseRoots']=new Map(_0xd9ada3),this['_baseRootsAttributes']=new Map(_0x166896(_0x4930ef));for(const [_0x303ab8,_0x455496]of this['_baseRoots'])if('$graveyard'!==_0x303ab8&&(this['_diffRoots']['set'](_0x303ab8,q(_0x455496)),this['_diffRootsAttributes']=new Map(_0x166896(_0x4930ef)),_0x3cd16c)){const _0x1c2a9d=this['_revisionId'];this['_idsRoots']['set'](_0x303ab8,this['_makeIdsRoot'](_0x455496)),this['_baseIdsRoots']['set'](_0x303ab8,this['_makeIdsRoot'](_0x455496,_0x1c2a9d));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3cd16c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1fd87e,_0x4210c6]of _0x4f29f2){const _0xb53d9f=this['_baseRoots']['get'](_0x4210c6['rootName']),_0xd1d0d3=this['_diffRoots']['get'](_0x4210c6['rootName']),_0x590e52=new vt(this['_fixPosition'](_0x4210c6['start'],_0xb53d9f),this['_fixPosition'](_0x4210c6['end'],_0xb53d9f)),_0x51d044=this['_fixRange'](_0x590e52,_0xd1d0d3);_0xb53d9f['markers']['set'](_0x1fd87e,_0x590e52),this['_markers']['set'](_0x1fd87e,_0x51d044);}this['_applyOperations'](_0x4f9f48,_0x5d930b,_0x3cd16c);}['_applyOperations'](_0x4fc748,_0x59a750,_0x41bc7c){for(const _0x2182a4 of this['source']['getOperations'](_0x4fc748,_0x59a750))this['_handleOperation'](_0x2182a4,_0x41bc7c);for(const _0x3474bb of this['_diffRoots']['values']())_0x3474bb['markers']['clear']();for(const [_0x3b5521,_0x3ce191]of this['_markers']){this['_diffRoots']['get'](_0x3ce191['root']['rootName'])['markers']['set'](_0x3b5521,_0x3ce191['clone']());}const _0x43751b=new Map(),_0x51aa27=new Map();for(const [_0x8c0a93,_0x410f9b]of this['_diffRoots'])_0x43751b['set'](_0x8c0a93,q(_0x410f9b)),_0x51aa27['set'](_0x8c0a93,this['_diffRootsAttributes']['get'](_0x8c0a93));this['_saveMetaData'](_0x59a750,_0x43751b,this['_markers'],_0x51aa27);}['_getPreviousFrom'](_0x18e58b){const _0x570cd6=Array['from'](this['_savedMetaData']['keys']());_0x570cd6['sort']((_0x4aa638,_0x29e118)=>_0x4aa638-_0x29e118),_0x570cd6['reverse']();for(const _0x208786 of _0x570cd6)if(_0x208786<_0x18e58b)return _0x208786;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5c6a55,_0x5a9e95){const _0x3c76cd=Array['from'](_0x5a9e95['markers'])['map'](([_0x4b0cff,_0x4a9eee])=>[_0x4b0cff,this['_fixRange'](_0x4a9eee,_0x5c6a55)]);_0x5c6a55['markers']=new Map(_0x3c76cd);}['_transformMarkers'](_0x5d85e6){for(const _0x321c85 of this['_markers']['values']()){const _0x34d123=_0x321c85['getTransformedByOperation'](_0x5d85e6),_0x2e1281=vt['_createFromRanges'](_0x34d123);_0x321c85['start']=_0x2e1281['start'],_0x321c85['end']=_0x2e1281['end'];}}['_handleOperation'](_0x4adb5c,_0x3e3f81){if('addRoot'==_0x4adb5c['type']||'detachRoot'==_0x4adb5c['type'])return void this['_handleRootOperation'](_0x4adb5c,_0x3e3f81);if('insert'==_0x4adb5c['type']){const _0x326d6c=_0x4adb5c['position']['root']['rootName'];this['_diffRoots']['has'](_0x326d6c)||(this['_diffRoots']['set'](_0x326d6c,G(_0x326d6c,!0x0)),this['_diffRootsAttributes']['set'](_0x326d6c,{}),_0x3e3f81&&this['_idsRoots']['set'](_0x326d6c,G(_0x326d6c,!0x0)));}else{if('addRootAttribute'==_0x4adb5c['type']||'removeRootAttribute'==_0x4adb5c['type']||'changeRootAttribute'==_0x4adb5c['type'])return void this['_handleRootAttributeOperation'](_0x4adb5c);}const _0x3ec8bb=this['_cloneOperation'](_0x4adb5c,this['_diffRoots']);if('marker'!==_0x4adb5c['type']&&(_0x3ec8bb['_execute'](),this['_transformMarkers'](_0x3ec8bb)),_0x3e3f81)switch(_0x3ec8bb['type']){case'insert':this['_handleInsertOperation'](_0x4adb5c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4adb5c);break;case'merge':this['_handleMergeOperation'](_0x4adb5c);break;case'split':this['_handleSplitOperation'](_0x4adb5c);break;case'marker':this['_handleMarkerOperation'](_0x4adb5c);}}['_cloneOperation'](_0x664c1,_0x3f8bcd){const _0x595bc9=_0x664c1['clone']();return _0x595bc9['_authorId']=_0x664c1['_authorId'],this['_fixOperation'](_0x595bc9,_0x3f8bcd),_0x595bc9;}['_getBaseVids'](_0x3c0572){return _0x3c0572['map'](_0x4d0ecd=>{const _0x32ed4c=this['_getVidAttributeName'](_0x4d0ecd);return Number(_0x4d0ecd['item']['getAttribute'](_0x32ed4c));});}['_generateTape'](_0x1ce5c7,_0x57df87){if(_0x1ce5c7['is']('element','$text'))_0x57df87['push']({'item':_0x1ce5c7,'type':'text'});else{_0x1ce5c7['is']('element')&&_0x57df87['push']({'item':_0x1ce5c7,'type':'elementStart'});for(const _0x21ea4a of _0x1ce5c7['getChildren']())this['_generateTape'](_0x21ea4a,_0x57df87);_0x1ce5c7['is']('element')&&_0x57df87['push']({'item':_0x1ce5c7,'type':'elementEnd'});}return _0x57df87;}['_getState'](){const _0x4c1277=new Map(this['_touched']),_0x75794c=new Map(_0x4c1277),_0x4e5032=new Map(),_0x2ba64c={'insertions':{},'deletions':{}},_0x47cb83={'insertions':{},'deletions':{}},_0x53bc89=new Map(),_0x1b2806=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1b2806['delete']('$graveyard');for(const _0x3bbb9a of _0x1b2806){const _0x3d6370=this['_diffRoots']['get'](_0x3bbb9a)||G(_0x3bbb9a,!0x1),_0x5b1c9d=this['_baseRoots']['get'](_0x3bbb9a)||G(_0x3bbb9a,!0x1);_0x3d6370['isAttached']()||_0x5b1c9d['isAttached']()?(_0x2ba64c['insertions'][_0x3bbb9a]=q(_0x3d6370),_0x2ba64c['deletions'][_0x3bbb9a]=q(_0x5b1c9d),this['_copyMarkers'](_0x2ba64c['deletions'][_0x3bbb9a],_0x5b1c9d),this['_copyMarkers'](_0x2ba64c['insertions'][_0x3bbb9a],_0x3d6370),_0x47cb83['insertions'][_0x3bbb9a]=this['_generateTape'](this['_idsRoots']['get'](_0x3bbb9a),[]),_0x47cb83['deletions'][_0x3bbb9a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3bbb9a)||G(_0x3bbb9a,!0x1),[])):_0x1b2806['delete'](_0x3bbb9a);}for(const _0x54b37b of _0x1b2806){const _0x4bb84f=_0x47cb83['insertions'][_0x54b37b];for(const _0x461438 of _0x4bb84f){const _0x4737a6=this['_getVidAttributeName'](_0x461438),_0x4e3a6a=_0x461438['item']['getAttribute'](_0x4737a6);_0x75794c['delete'](_0x4e3a6a),_0x4e3a6a>=this['_startingRevisionId']&&_0x4e5032['set'](_0x4e3a6a,_0x4c1277['get'](_0x4e3a6a));}}for(const _0x4834a5 of _0x1b2806){const _0x375b0c=_0x47cb83['insertions'][_0x4834a5],_0x3d2bf6=this['_getBaseVids'](_0x47cb83['deletions'][_0x4834a5]);let _0x45dda7=0x0;for(const _0x1b1bf5 of _0x375b0c){const _0x3d23e2=this['_getVidAttributeName'](_0x1b1bf5),_0x345bc0=_0x1b1bf5['item']['getAttribute'](_0x3d23e2);if(!_0x4e5032['has'](_0x345bc0)&&!_0x53bc89['has'](_0x345bc0)){if(_0x75794c['has'](_0x345bc0))_0x45dda7++;else{if(_0x345bc0!=_0x3d2bf6[_0x45dda7]){const _0x1db057=_0x4c1277['get'](_0x345bc0)||_0x4c1277['get'](_0x3d2bf6[_0x45dda7]);for(;_0x345bc0!=_0x3d2bf6[_0x45dda7];)_0x75794c['has'](_0x3d2bf6[_0x45dda7])||(_0x53bc89['set'](_0x3d2bf6[_0x45dda7],_0x1db057),_0x4c1277['set'](_0x3d2bf6[_0x45dda7],_0x1db057)),_0x45dda7++;}_0x45dda7++;}}}}for(const _0x533ec1 of _0x1b2806){const _0x46d150=_0x47cb83['insertions'][_0x533ec1];for(const _0x57cd83 of _0x46d150){const _0xe42c95=this['_getVidAttributeName'](_0x57cd83),_0x44c72b=_0x57cd83['item']['getAttribute'](_0xe42c95);if(_0x53bc89['has'](_0x44c72b)){const _0x1d8604=_0x53bc89['get'](_0x44c72b);_0x75794c['has'](_0x44c72b)||_0x75794c['set'](_0x44c72b,{..._0x1d8604}),_0x4e5032['set'](_0x44c72b,{..._0x1d8604});}}}for(const _0x33cfd1 of _0x75794c['keys']())_0x33cfd1>=this['_startingRevisionId']&&_0x75794c['delete'](_0x33cfd1);const _0x15e8c3=new Map();for(const _0x387133 of _0x1b2806){let _0x13053c=_0x47cb83['insertions'][_0x387133];for(const _0x227a8e of _0x13053c)if(_0x227a8e['item']['is']('element','tableCell')){const _0x4b7deb=this['_getVidAttributeName'](_0x227a8e),_0x51c552=_0x227a8e['item']['getAttribute'](_0x4b7deb);if(_0x4e5032['has'](_0x51c552)){const _0x3c7e58=_0x227a8e['item']['parent']['parent']['getAttribute']('vid_start'),_0x1328fa=_0x15e8c3['get'](_0x3c7e58)||new Set();_0x1328fa['add'](_0x4e5032['get'](_0x51c552)['userId']),_0x15e8c3['set'](_0x3c7e58,_0x1328fa);}}_0x13053c=_0x47cb83['deletions'][_0x387133];for(const _0x3704aa of _0x13053c)if(_0x3704aa['item']['is']('element','tableCell')){const _0x174d7b=this['_getVidAttributeName'](_0x3704aa),_0x134161=_0x3704aa['item']['getAttribute'](_0x174d7b);if(_0x75794c['has'](_0x134161)){const _0x4f08de=_0x3704aa['item']['parent']['parent']['getAttribute']('vid_start'),_0x4e48d4=_0x15e8c3['get'](_0x4f08de)||new Set();_0x4e48d4['add'](_0x75794c['get'](_0x134161)['userId']),_0x15e8c3['set'](_0x4f08de,_0x4e48d4);}}for(const _0x519d88 of _0x15e8c3['keys']())(_0x4e5032['has'](_0x519d88)||_0x75794c['has'](_0x519d88))&&_0x15e8c3['delete'](_0x519d88);}for(const _0x3bdbb8 of _0x1b2806){const _0x2b8c80=_0x47cb83['insertions'][_0x3bdbb8];let _0x3ec577=null,_0x376418=null;for(const _0x46180a of _0x2b8c80){const _0x333082=this['_getVidAttributeName'](_0x46180a),_0x567d1d=_0x46180a['item']['getAttribute'](_0x333082),_0x13eb8d=_0x15e8c3['get'](_0x567d1d);_0x13eb8d&&'elementStart'==_0x46180a['type']&&(_0x3ec577=Array['from'](_0x13eb8d)[0x0],_0x376418=_0x46180a['item']['getAttribute']('vid_end')),_0x3ec577&&(_0x75794c['set'](_0x567d1d,{'userId':_0x3ec577}),_0x4e5032['set'](_0x567d1d,{'userId':_0x3ec577})),_0x567d1d==_0x376418&&(_0x3ec577=null,_0x376418=null);}}const _0x3c8446={},_0x2a56e6=new Set();for(const _0x8190b5 of _0x1b2806){const _0x3912ca=_0x2ba64c['deletions'][_0x8190b5],_0x57fdc0=_0x2ba64c['insertions'][_0x8190b5];for(const {userId:_0x4b59c0}of this['_touchedMarkers']['values']())null!==_0x4b59c0&&_0x2a56e6['add'](_0x4b59c0);for(const {userId:_0x4f0dfe}of this['_touchedRoots']['values']())null!==_0x4f0dfe&&_0x2a56e6['add'](_0x4f0dfe);this['_markChanges'](_0x57fdc0,_0x47cb83['insertions'][_0x8190b5],_0x4e5032,'insertion',_0x2a56e6),this['_markChanges'](_0x3912ca,_0x47cb83['deletions'][_0x8190b5],_0x75794c,'deletion',_0x2a56e6),_0x3c8446[_0x8190b5]={'insertions':this['_prepareViewToSave'](_0x57fdc0),'deletions':this['_prepareViewToSave'](_0x3912ca),'attachChange':this['_touchedRoots']['get'](_0x8190b5)||null,'attributesBefore':_0x166896(this['_baseRootsAttributes']['get'](_0x8190b5))||{},'attributesAfter':_0x166896(this['_diffRootsAttributes']['get'](_0x8190b5))};}return{'diffData':_0x3c8446,'authorsIds':Array['from'](_0x2a56e6)};}['_processRootBeforeSave'](_0x2868fc){for(const [,_0x2f8619]of _0x2868fc['markers']){const _0x28c454=_0x2f8619['start']['getAncestors']()['filter'](_0x199828=>'tableCell'==_0x199828['name']);for(const _0x5b7a52 of _0x28c454)0x1==_0x5b7a52['childCount']&&_0x5b7a52['getChild'](0x0)['is']('element','paragraph')&&_0x5b7a52['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x592b71){this['_processRootBeforeSave'](_0x592b71);const _0x487537=this['editor']['data']['toView'](_0x592b71,{}),_0x3f298e=Array['from'](_0x487537['getChildren']())['map'](_0x5e3ab6=>this['_getViewJson'](_0x5e3ab6));return JSON['stringify'](_0x3f298e);}['_getViewJson'](_0x50f4b5){if(_0x50f4b5['is']('$text'))return _0x50f4b5['data'];{const _0x158836=_0x50f4b5;return{'type':Object['keys'](T)['find'](_0x4c4fd5=>_0x50f4b5 instanceof T[_0x4c4fd5]),'name':_0x158836['name'],'attributes':Array['from'](_0x158836['getAttributes']()),'children':Array['from'](_0x158836['getChildren']())['map'](_0x4fa3fa=>this['_getViewJson'](_0x4fa3fa))};}}['_markChanges'](_0x3fe3d3,_0xa1b17,_0x14a60f,_0x354ef4,_0x2fffd2){let _0x4fb73f=null,_0x2960c6=null,_0x4714c9=0x0;const _0x9af657=this['editor']['model'];for(let _0x4cb213=0x0;_0x4cb213<_0xa1b17['length'];_0x4cb213++){const _0x5adf06=this['_getVidAttributeName'](_0xa1b17[_0x4cb213]),_0x44b50a=_0xa1b17[_0x4cb213]['item']['getAttribute'](_0x5adf06),_0xd819d5=_0x14a60f['get'](_0x44b50a),_0x170513=_0x4cb213==_0xa1b17['length']-0x1;(!_0x4fb73f&&_0xd819d5&&(_0x4fb73f=_0xd819d5,_0x2960c6=_0xa1b17[_0x4cb213]),_0x4fb73f&&(!_0xd819d5||_0xd819d5['userId']!=_0x4fb73f['userId']))&&(_0x1aac6b(_0xd819d5,L(_0x2960c6,_0x3fe3d3,_0x9af657),L(_0xa1b17[_0x4cb213],_0x3fe3d3,_0x9af657)),_0x4fb73f=_0xd819d5||null,_0x2960c6=_0xd819d5?_0xa1b17[_0x4cb213]:null),_0x4fb73f&&_0x170513&&_0x1aac6b(_0xd819d5,L(_0x2960c6,_0x3fe3d3,_0x9af657),W(_0xa1b17[_0x4cb213],_0x3fe3d3,_0x9af657));}function _0x1aac6b(_0x5a0e05,_0x1fed91,_0x5a3246){const _0x5dbda4=_0x4fb73f['userId'],_0x3f7efd='revision:'+_0x354ef4+':'+_0x5dbda4+':'+_0x4714c9++,_0x49fd61=_0x9af657['createRange'](_0x1fed91,_0x5a3246);_0x3fe3d3['markers']['set'](_0x3f7efd,_0x49fd61),null!==_0x5dbda4&&_0x2fffd2['add'](_0x5dbda4);}}['_getVidAttributeName'](_0x239f27){switch(_0x239f27['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x591586,_0x33bd4b){_0x591586['baseVersion']=null;for(const _0x37ba32 in _0x591586){const _0x50ef86=_0x591586[_0x37ba32];if(_0x50ef86 instanceof gt){const _0x1412e7=_0x33bd4b['get'](_0x50ef86['root']['rootName']);_0x591586[_0x37ba32]=this['_fixPosition'](_0x50ef86,_0x1412e7);}if(_0x50ef86 instanceof vt){const _0x5640f9=_0x33bd4b['get'](_0x50ef86['root']['rootName']);_0x591586[_0x37ba32]=this['_fixRange'](_0x50ef86,_0x5640f9);}'root'===_0x37ba32&&(_0x591586['root']=_0x33bd4b['get'](_0x591586['root']['rootName']));}}['_fixRange'](_0x33a46a,_0x40ee85){return this['editor']['model']['createRange'](this['_fixPosition'](_0x33a46a['start'],_0x40ee85),this['_fixPosition'](_0x33a46a['end'],_0x40ee85));}['_fixPosition'](_0x1c784a,_0x3d06bd){return this['editor']['model']['createPositionFromPath'](_0x3d06bd,_0x1c784a['path'],_0x1c784a['stickiness']);}['_handleInsertOperation'](_0x2277d9){const _0x2067c3=this['_idsRoots']['get'](_0x2277d9['position']['root']['rootName']),_0x54fa07=this['_fixPosition'](_0x2277d9['position'],_0x2067c3),_0x19a7c1=null===_0x2277d9['_authorId']?null:_0x2277d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x443058=_0x54fa07['parent'],_0x25e4c9=this['_revisionId'],_0x1c3da5=[];for(const _0x3de815 of _0x2277d9['nodes'])if(_0x3de815['is']('element'))_0x1c3da5['push'](this['_makeIdsRoot'](_0x3de815));else{for(let _0x455042=0x0;_0x455042<_0x3de815['offsetSize'];_0x455042++)_0x1c3da5['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1ee972=this['_revisionId'];for(let _0x4ccd88=_0x25e4c9;_0x4ccd88<_0x1ee972;_0x4ccd88++)this['_touched']['set'](_0x4ccd88,{'userId':_0x19a7c1});_0x443058['_insertChild'](_0x54fa07['offset'],_0x1c3da5);}['_handleMoveOperation'](_0x4efa3f){(_0x4efa3f=this['_cloneOperation'](_0x4efa3f,this['_idsRoots']))['_execute']();const _0x557487=null===_0x4efa3f['_authorId']?null:_0x4efa3f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x50ea3a=_0x4efa3f['getMovedRangeStart'](),_0x522d8c=_0x50ea3a['parent'],_0x252dbf=_0x50ea3a['offset'];!function _0x51e43b(_0x2fc6c9,_0x16f59a,_0x3f75d7,_0x4c208a){for(let _0x161ff7=_0x3f75d7;_0x161ff7<_0x4c208a;_0x161ff7++){const _0x7f9874=_0x16f59a['getChild'](_0x161ff7);_0x7f9874['is']('element','$text')?_0x2fc6c9['set'](_0x7f9874['getAttribute']('vid'),{'userId':_0x557487}):(_0x2fc6c9['set'](_0x7f9874['getAttribute']('vid_start'),{'userId':_0x557487}),_0x51e43b(_0x2fc6c9,_0x7f9874,0x0,_0x7f9874['childCount']),_0x2fc6c9['set'](_0x7f9874['getAttribute']('vid_end'),{'userId':_0x557487}));}}(this['_touched'],_0x522d8c,_0x252dbf,_0x252dbf+_0x4efa3f['howMany']);}['_handleMergeOperation'](_0x18e211){const _0x38700c=null===(_0x18e211=this['_cloneOperation'](_0x18e211,this['_idsRoots']))['_authorId']?null:_0x18e211['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x50f2d8=_0x18e211['targetPosition']['parent'],_0x5400a5=_0x18e211['sourcePosition']['parent'],_0x29e668=_0x50f2d8['getAttribute']('vid_end'),_0x381664=_0x5400a5['getAttribute']('vid_start');_0x50f2d8['_setAttribute']('vid_end',_0x5400a5['getAttribute']('vid_end')),_0x5400a5['_setAttribute']('vid_end',_0x29e668),this['_touched']['set'](_0x381664,{'userId':_0x38700c}),this['_touched']['set'](_0x29e668,{'userId':_0x38700c}),_0x18e211['_execute']();}['_handleSplitOperation'](_0x1a78ab){const _0x159571=null===(_0x1a78ab=this['_cloneOperation'](_0x1a78ab,this['_idsRoots']))['_authorId']?null:_0x1a78ab['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a6eaf=_0x1a78ab['graveyardPosition'],_0x544d7f=_0x1a78ab['splitPosition']['parent'];_0x1a78ab['_execute']();const _0x2290e5=_0x544d7f['getAttribute']('vid_end'),_0x42e416=_0x1a78ab['insertionPosition']['nodeAfter'];if(_0x2a6eaf){const _0x55375e=_0x42e416['getAttribute']('vid_end'),_0x3a89b6=_0x544d7f['getAttribute']('vid_end');_0x544d7f['_setAttribute']('vid_end',_0x55375e),_0x42e416['_setAttribute']('vid_end',_0x3a89b6),this['_touched']['set'](_0x544d7f['getAttribute']('vid_end'),{'userId':_0x159571}),this['_touched']['set'](_0x42e416['getAttribute']('vid_start'),{'userId':_0x159571});}else{const _0x5410d1=this['_revisionId']++,_0x1a53c0=this['_revisionId']++;_0x544d7f['_setAttribute']('vid_end',_0x5410d1),_0x42e416['_setAttribute']('vid_start',_0x1a53c0),_0x42e416['_setAttribute']('vid_end',_0x2290e5),this['_touched']['set'](_0x5410d1,{'userId':_0x159571}),this['_touched']['set'](_0x1a53c0,{'userId':_0x159571});}}['_handleMarkerOperation'](_0x425f20){if(!_0x425f20['affectsData'])return;const _0x22e15b=(_0x425f20=this['_cloneOperation'](_0x425f20,this['_diffRoots']))['oldRange']?_0x425f20['oldRange']['root']:null,_0x494376=_0x425f20['newRange']?_0x425f20['newRange']['root']:null;_0x22e15b&&this['_markers']['delete'](_0x425f20['name']),_0x494376&&this['_markers']['set'](_0x425f20['name'],_0x425f20['newRange']['clone']());const _0x3aadda=null===_0x425f20['_authorId']?null:_0x425f20['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x700386=_0x425f20['name'];if(!this['_touchedMarkers']['has'](_0x700386))return void this['_touchedMarkers']['set'](_0x700386,{'range':_0x425f20['oldRange'],'userId':_0x3aadda});const _0x3456ad=this['_touchedMarkers']['get'](_0x700386),_0x2550b6=_0x3456ad['range'],_0x7ec358=_0x425f20['newRange'];null==_0x2550b6&&null==_0x7ec358||_0x2550b6&&_0x7ec358&&_0x2550b6['isEqual'](_0x7ec358)?this['_touchedMarkers']['delete'](_0x425f20['name']):_0x3456ad['userId']=_0x3aadda;}['_handleRootOperation'](_0x1102d2,_0x99a609){this['_diffRoots']['has'](_0x1102d2['rootName'])?this['_diffRoots']['get'](_0x1102d2['rootName'])['_isAttached']=_0x1102d2['isAdd']:(this['_diffRoots']['set'](_0x1102d2['rootName'],G(_0x1102d2['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1102d2['rootName'],{}),_0x99a609&&this['_idsRoots']['set'](_0x1102d2['rootName'],G(_0x1102d2['rootName'],!0x0)));const _0x5501f4=null===_0x1102d2['_authorId']?null:_0x1102d2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x26d0f5=this['_touchedRoots']['get'](_0x1102d2['rootName']);_0x26d0f5&&_0x26d0f5['userId']===_0x5501f4?this['_touchedRoots']['delete'](_0x1102d2['rootName']):this['_touchedRoots']['set'](_0x1102d2['rootName'],{'userId':_0x5501f4,'isAttached':_0x1102d2['isAdd']});}['_handleRootAttributeOperation'](_0x2acc3f){const _0x4af069=this['_diffRootsAttributes']['get'](_0x2acc3f['root']['rootName']);null===_0x2acc3f['newValue']?delete _0x4af069[_0x2acc3f['key']]:_0x4af069[_0x2acc3f['key']]=_0x2acc3f['newValue'];}}function q(_0x54c15a){const _0x4014e0=G(_0x54c15a['rootName'],_0x54c15a['isAttached']());for(const _0x57a5bd of _0x54c15a['getChildren']()){const _0x50f7af=_0x57a5bd['_clone'](!0x0);_0x4014e0['_appendChild'](_0x50f7af);}return _0x4014e0;}function G(_0x104f2c,_0xf8c183=!0x0){const _0x368b44=new wt();return _0x368b44['rootName']=_0x104f2c,_0x368b44['_isAttached']=_0xf8c183,_0x368b44['isAttached']=()=>_0x368b44['_isAttached'],_0x368b44;}function L(_0x3159a7,_0x53fe9b,_0x48ee7d){const _0x22d9bf='elementEnd'==_0x3159a7['type']?_0x48ee7d['createPositionAt'](_0x3159a7['item'],'end'):_0x48ee7d['createPositionBefore'](_0x3159a7['item']);return _0x48ee7d['createPositionFromPath'](_0x53fe9b,_0x22d9bf['path'],_0x22d9bf['stickiness']);}function W(_0x35a12a,_0x56910c,_0x505d94){const _0x4fc027='elementStart'==_0x35a12a['type']?_0x505d94['createPositionAt'](_0x35a12a['item'],0x0):_0x505d94['createPositionAfter'](_0x35a12a['item']);return _0x505d94['createPositionFromPath'](_0x56910c,_0x4fc027['path'],_0x4fc027['stickiness']);}class ns extends _0xfbdf25{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x40215c,_0x423aa3){super(_0x40215c),this['focusTracker']=new _0x4474a8(),this['keystrokes']=new _0x1fcc90(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x423aa3),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'](),_0x3754ed({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4dbb0e=_0x46726e=>_0x46726e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4dbb0e),this['keystrokes']['set']('arrowleft',_0x4dbb0e),this['keystrokes']['set']('arrowup',_0x4dbb0e),this['keystrokes']['set']('arrowdown',_0x4dbb0e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4e4481){this['revisionNameInputView']['fieldView']['element']['value']=_0x4e4481['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3f0f00){const _0x51ffa9=new at(this['locale'],_0x870591),_0x280666=_0x51ffa9['fieldView'];_0x280666['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x41d808=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3f0f00&&(_0x41d808+='\x20('+y(this['locale'],'optional')+')'),(_0x51ffa9['label']=_0x41d808,_0x280666['on']('input',()=>{this['revisionNameInputValue']=_0x280666['element']['value']['trim']();}),_0x51ffa9);}}class u extends _0x432e29{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1f39c9=this['editor'],_0x3d0a68=_0x1f39c9['plugins']['get']('RevisionTracker');_0x1f39c9['ui']['componentFactory']['add']('revisionHistory',_0x4b7244=>{const _0x361a91=_0x157fb4(_0x4b7244),_0x3f997f=_0x361a91['panelView']['children'],_0x3edaa1=new te(_0x4b7244),_0x47e3cd=new _0x30cbbe(_0x4b7244),_0x235bb7=new _0x27cfa6(_0x4b7244),_0x6a75b4=new _0x30cbbe(_0x4b7244),_0x16fb25=new _0x27cfa6(_0x4b7244);return _0x361a91['bind']('isEnabled')['to'](_0x3d0a68,'isReady',_0x3d0a68,'isEnabled',_0x1f39c9,'isReadOnly',(_0xac84f2,_0x81a9ca,_0x50259a)=>_0xac84f2&&_0x81a9ca&&!_0x50259a),_0x361a91['buttonView']['set']({'icon':_0x259594['history'],'label':y(_0x4b7244,'Revision\x20history'),'tooltip':!0x0}),_0x235bb7['set']({'label':y(_0x4b7244,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x235bb7['bind']('isEnabled')['to'](_0x3d0a68,'isReady',_0x3d0a68,'isEnabled',_0x1f39c9,'isReadOnly',(_0x5659e3,_0x3eb2a2,_0x1bbfd6)=>_0x5659e3&&_0x3eb2a2&&!_0x1bbfd6),_0x235bb7['on']('execute',()=>this['_showDialog']()),_0x16fb25['set']({'label':y(_0x4b7244,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x16fb25['bind']('isEnabled')['to'](_0x3d0a68,'isReady',_0x1f39c9,'isReadOnly',(_0x4349b9,_0x5c2678)=>_0x4349b9&&!_0x5c2678),_0x16fb25['on']('execute',()=>{_0x1f39c9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x361a91['isOpen']=!0x1,_0x1f39c9['editing']['view']['focus']();}),_0x47e3cd['children']['add'](_0x235bb7),_0x6a75b4['children']['add'](_0x16fb25),_0x3edaa1['role']='menu',_0x3edaa1['items']['addMany']([_0x47e3cd,_0x6a75b4]),_0x3f997f['add'](_0x3edaa1),_0x361a91;}),_0x1f39c9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x54e537=this['editor'],_0x4574b4=_0x54e537['locale'],_0x1f0719=new _0x4b79e1(_0x4574b4),_0x223abc=new _0x4a7b5a(_0x4574b4);_0x1f0719['buttonView']['set']({'icon':_0x259594['history'],'label':y(_0x4574b4,'Revision\x20history')});const _0x317d89=new _0x3e05b7(_0x4574b4,_0x1f0719),_0x150bda=new _0x4252c3(_0x4574b4);_0x150bda['set']({'label':y(_0x4574b4,'Save\x20current\x20revision')}),_0x150bda['delegate']('execute')['to'](_0x1f0719),_0x150bda['on']('execute',()=>{this['_showDialog']();}),_0x317d89['children']['add'](_0x150bda),_0x223abc['items']['add'](_0x317d89);const _0xd2e2ca=new _0x3e05b7(_0x4574b4,_0x1f0719),_0x4577a7=new _0x4252c3(_0x4574b4);return _0x4577a7['set']({'label':y(_0x4574b4,'Open\x20revision\x20history')}),_0x4577a7['delegate']('execute')['to'](_0x1f0719),_0x4577a7['on']('execute',()=>{_0x54e537['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xd2e2ca['children']['add'](_0x4577a7),_0x223abc['items']['add'](_0xd2e2ca),_0x1f0719['panelView']['children']['add'](_0x223abc),_0x1f0719;}['_showDialog'](){const _0x3e0c88=this['editor'],_0x1f89d9=_0x3e0c88['locale'],_0x14aec9=_0x3e0c88['plugins']['get']('Dialog'),_0x5c934e=_0x3e0c88['plugins']['get']('RevisionTracker');function _0x30e4dd(_0x3b32d9){_0x3e0c88['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3b32d9['revisionName']?_0x3b32d9['revisionNameInputView']['errorText']=y(_0x1f89d9,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x3e0c88['plugins']['get'](l)['saveRevision']({'name':_0x3b32d9['revisionName']}),_0x14aec9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x30e4dd(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x14aec9['show']({'id':'revisionSave','title':y(_0x1f89d9,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x3e0c88['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x14aec9['hide']()},{'label':y(_0x3e0c88['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x43508a){_0x43508a['bind']('isEnabled')['to'](_0x5c934e,'isReady',_0x5c934e,'isEnabled',_0x3e0c88,'isReadOnly',(_0x785552,_0x512544,_0x2c2f88)=>_0x785552&&_0x512544&&!_0x2c2f88);},'onExecute':()=>_0x30e4dd(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5c7dcc=this['editor'],_0x2a34b1=_0x5c7dcc['locale'];this['_saveRevisionFormView']=new ns(_0x2a34b1,_0x5c7dcc['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xfbdf25{['changeId'];['_model'];constructor(_0x1fc44,_0x2b933c){super(_0x1fc44),this['_model']=_0x2b933c,this['changeId']=_0x2b933c['id'];const _0x5ed636=this['bindTemplate'],_0x3c9903=y(_0x1fc44,_0x2b933c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2b933c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2b933c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5ed636['to']('type',_0x4838a8=>'ck-revision-change__'+_0x4838a8)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3c9903}]},{'text':'\x20'+_0x2b933c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x526ac8(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x444ecf){super(),this['id']=_0x444ecf['id']||_0x20896a(),this['author']=_0x444ecf['author'],this['type']=_0x444ecf['type'],this['data']=_0x444ecf['data']||{},this['rootName']=_0x444ecf['rootName'],this['set']('createdAt',_0x444ecf['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(_0x49753b,_0x2a41d8){this['newRevisionId']=_0x49753b,this['oldRevisionId']=_0x2a41d8,this['changes']=new _0x12acb5();}['_setChanges'](_0x202c2b){for(const _0x3faaaf of _0x202c2b)this['changes']['add'](_0x3faaaf);}}const tt={'c':_0x3b1b30,'a':_0x7e2928,'e':_0x41b2ba,'r':_0x4b6332,'u':_0x36bb3};class d extends _0x432e29{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x7e3f5d,_0x4c396d,A];}constructor(_0x2c6fc1){super(_0x2c6fc1),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',(_0xc9b5ee,_0x4fe88a,_0x98a150)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x404dfa=>{for(const _0x238291 of this['editor']['editing']['view']['document']['roots'])_0x98a150?_0x404dfa['removeClass']('ck-editor__editable__overlay',_0x238291):_0x404dfa['addClass']('ck-editor__editable__overlay',_0x238291);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x254917=>null!==_0x254917),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5bfc35,_0x38002d,_0x2bee5d)=>_0x5bfc35&&_0x2bee5d?_0x38002d['changes']['getIndex'](_0x2bee5d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x289608,_0x2f0406)=>_0x289608?_0x2f0406['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4c396d);}['init'](){const _0x3ed0a1=this['editor'],_0x20a455=new yt(_0x3ed0a1,{'direction':'backward'}),_0x337e2d=new yt(_0x3ed0a1,{'direction':'forward'});(_0x3ed0a1['commands']['add']('showPreviousChange',_0x20a455),_0x3ed0a1['commands']['add']('showNextChange',_0x337e2d),_0x3ed0a1['commands']['add']('restoreRevision',new bt(_0x3ed0a1)),this['on']('change:numberOfChanges',()=>{_0x20a455['refresh'](),_0x337e2d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3ed0a1['enableReadOnlyMode']('revision-viewer'),_0x3ed0a1['plugins']['has']('WidgetToolbarRepository'))&&_0x3ed0a1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3328a0){await this['loadRevisionData'](_0x3328a0);const _0x4f5ff4={};for(const _0x2b54ae in _0x3328a0['diffData']){if(_0x3328a0['diffData'][_0x2b54ae]['attachChange']&&!_0x3328a0['diffData'][_0x2b54ae]['attachChange']['isAttached'])continue;const _0x2ffcd0=this['_removeRevisionMarkers'](JSON['parse'](_0x3328a0['diffData'][_0x2b54ae]['insertions'])),_0x474e43=this['editor']['editing']['view']['document'],_0x4d4166=new _0x32ae63(_0x474e43,_0x2ffcd0['map'](_0x4202e2=>this['_getViewObj'](_0x4202e2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4f5ff4[_0x2b54ae]=this['editor']['data']['processor']['toData'](_0x4d4166),this['editor']['data']['processor']['useFillerType']('default');}return _0x4f5ff4;}async['getRevisionRootsAttributes'](_0x47c79b){await this['loadRevisionData'](_0x47c79b);const _0x134941={};for(const _0x438657 in _0x47c79b['diffData'])_0x47c79b['diffData'][_0x438657]['attachChange']&&!_0x47c79b['diffData'][_0x438657]['attachChange']['isAttached']||(_0x134941[_0x438657]=_0x47c79b['diffData'][_0x438657]['attributesAfter']||{});return _0x134941;}['_removeRevisionMarkers'](_0x5dca8d){return(_0x5dca8d=_0x5dca8d['filter'](_0x3df185=>!_0x3df185['name']||'revision-start'!==_0x3df185['name']&&'revision-end'!==_0x3df185['name']))['forEach'](_0x406451=>{'string'!=typeof _0x406451&&(_0x406451['children']=this['_removeRevisionMarkers'](_0x406451['children']),_0x406451['attributes']=_0x406451['attributes']['filter'](_0x2f3aa8=>!_0x2f3aa8[0x0]['startsWith']('data-revision-')));}),_0x5dca8d;}async['compare'](_0x28cdec,_0xd86206,_0x425000=!0x1){if(!this['isEnabled'])return;const _0x4c8232=this['diff'],_0x13aaf3=this['repository'],_0xc8e933='string'==typeof _0x28cdec?_0x13aaf3['getRevision'](_0x28cdec):_0x28cdec,_0x15cd89='string'==typeof _0xd86206?_0x13aaf3['getRevision'](_0xd86206):_0xd86206,_0x174da3=_0xc8e933['id'],_0xbe39dd=_0x15cd89?_0x15cd89['id']:null;if(!_0x425000&&this['diff']&&this['diff']['newRevisionId']===_0x174da3&&this['diff']['oldRevisionId']===_0xbe39dd)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x174da3,_0xbe39dd);const _0x2f13a4=this['_getRevisionsRange'](_0xc8e933,_0x15cd89,!0x0)['map'](_0x4fafbd=>this['loadRevisionData'](_0x4fafbd));return _0x2f13a4['push'](new Promise(_0x3ca051=>{setTimeout(_0x3ca051,0x14);})),Promise['all'](_0x2f13a4)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xf68efb=this['_getDiff'](_0x174da3,_0xbe39dd);for(const _0x5da4e6 of _0xf68efb['changes'])this['_changeIdToChange']['set'](_0x5da4e6['id'],_0x5da4e6);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4a20f1=>{for(const _0x373c40 of this['editor']['model']['document']['getRootNames']())_0x4a20f1['detachRoot'](_0x373c40);for(const _0x5bfbab of Object['keys'](_0xf68efb['model'])){const _0x125a64=_0x4a20f1['addRoot'](_0x5bfbab);for(const _0x3c7681 of Object['keys'](_0xf68efb['attributes'][_0x5bfbab]))_0x4a20f1['setAttribute'](_0x3c7681,_0xf68efb['attributes'][_0x5bfbab][_0x3c7681],_0x125a64);_0x4a20f1['insert'](_0xf68efb['model'][_0x5bfbab],_0x125a64,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xf68efb['changes'])),this['isReady']=!0x0;})['catch'](_0x45041b=>{console['error'](_0x45041b),this['_cleanUp'](),_0x4c8232&&(this['diff']=_0x4c8232),this['isReady']=!0x0;});}['addRevisionData'](_0x481d3b,_0x342f45){const _0x160264=this['repository']['createRevision'](_0x481d3b);return _0x160264['on']('_update',(_0x1097e7,_0x5e1134,_0x22ec85)=>_0x342f45(_0x5e1134,_0x22ec85,_0x160264)),this['repository']['addRevision'](_0x160264),_0x160264;}['loadRevisionData'](_0x29fd23){if(!_0x29fd23||_0x29fd23['diffData'])return Promise['resolve']();{const _0x4661e6=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4661e6,'revisionId':_0x29fd23['id']})['then'](_0x5b9980=>{_0x29fd23['_update']({'diffData':_0x5b9980['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},_0x4d079c=>{for(const _0x677b5d of this['editor']['model']['document']['getRootNames']())_0x4d079c['detachRoot'](_0x677b5d);});}['_sortAndFilterDiffChanges'](_0x46b862){const _0x481779=[],_0x40becc=new Map();for(const _0x1bf60a of this['editor']['model']['document']['getRootNames']()){const _0x1cf46d=this['editor']['editing']['view']['getDomRoot'](_0x1bf60a);if(!_0x1cf46d)continue;const _0x5d5409=_0x1cf46d['getClientRects']()['item'](0x0);_0x5d5409&&(_0x481779['push'](_0x1bf60a),_0x40becc['set'](_0x1bf60a,_0x5d5409));}return _0x481779['sort']((_0x192361,_0x33f79f)=>{const _0x2c3492=_0x40becc['get'](_0x192361),_0x1897b9=_0x40becc['get'](_0x33f79f);return _0x2c3492['y']-_0x1897b9['y']||_0x2c3492['x']-_0x1897b9['x'];}),(_0x46b862=_0x46b862['filter'](_0xadf7f4=>_0x481779['includes'](_0xadf7f4['rootName'])))['sort']((_0x526167,_0x288d34)=>_0x481779['indexOf'](_0x526167['rootName'])-_0x481779['indexOf'](_0x288d34['rootName'])),_0x46b862;}['_makeTape'](_0x375e2f){const _0x34f668=Array['from'](_0x375e2f['markers'])['filter'](([_0x5c8688,_0xa5d0a1])=>_0x5c8688['startsWith']('revision:')&&!_0xa5d0a1['isCollapsed']),_0x1dd427=Array['from'](this['editor']['model']['createRangeIn'](_0x375e2f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x34f668['length'])for(const _0xdc747d of _0x1dd427){const [_0x576ac2,_0x1905c8]=_0x34f668[0x0],[,_0x548796,_0x509c93]=_0x576ac2['split'](':');if(_0x1905c8['end']['isEqual'](_0xdc747d['nextPosition'])&&_0x34f668['shift'](),(_0xdc747d['previousPosition']['isEqual'](_0x1905c8['start'])||_0xdc747d['previousPosition']['isAfter'](_0x1905c8['start']))&&('insertion'==_0x548796?_0xdc747d['isAdded']={'userId':_0x509c93}:'deletion'==_0x548796&&(_0xdc747d['isRemoved']={'userId':_0x509c93})),0x0==_0x34f668['length'])break;}return _0x1dd427;}['_refreshStartEndIndex'](_0x1037a1){const _0x4ec920=new Map();for(let _0x335c05=0x0;_0x335c05<_0x1037a1['length'];_0x335c05++)'text'===_0x1037a1[_0x335c05]['type']?(_0x1037a1[_0x335c05]['item']['startIndex']=_0x335c05,_0x1037a1[_0x335c05]['item']['endIndex']=_0x335c05):('elementStart'===_0x1037a1[_0x335c05]['type']?_0x1037a1[_0x335c05]['item']['startIndex']=_0x335c05:'elementEnd'===_0x1037a1[_0x335c05]['type']&&(_0x1037a1[_0x335c05]['item']['endIndex']=_0x335c05),_0x4ec920['set'](_0x1037a1[_0x335c05]['id'],_0x335c05));for(const _0x2d81ae of _0x4ec920['values']())'elementStart'===_0x1037a1[_0x2d81ae]['type']?_0x1037a1[_0x2d81ae]['item']['endIndex']=_0x4ec920['get'](_0x1037a1[_0x2d81ae]['pairId']):'elementEnd'===_0x1037a1[_0x2d81ae]['type']&&(_0x1037a1[_0x2d81ae]['item']['startIndex']=_0x4ec920['get'](_0x1037a1[_0x2d81ae]['pairId']));}['_processTape'](_0x5f43f5){for(let _0x196903=0x0;_0x196903<_0x5f43f5['length'];_0x196903++){if('elementStart'===_0x5f43f5[_0x196903]['type'])_0x5f43f5[_0x196903]['item']['startIndex']=_0x196903;else{if('elementEnd'===_0x5f43f5[_0x196903]['type']){_0x5f43f5[_0x196903]['item']['endIndex']=_0x196903;const _0x49e1f5=_0x5f43f5[_0x196903]['item']['startIndex'];_0x5f43f5[_0x49e1f5]['pairId']=_0x5f43f5[_0x196903]['id'],_0x5f43f5[_0x196903]['pairId']=_0x5f43f5[_0x49e1f5]['id'];}else _0x5f43f5[_0x196903]['item']['startIndex']=_0x196903,_0x5f43f5[_0x196903]['item']['endIndex']=_0x196903,_0x5f43f5[_0x196903]['pairId']=null;}_0x5f43f5[_0x196903]['markersStart']||(_0x5f43f5[_0x196903]['markersStart']=[],_0x5f43f5[_0x196903]['markersEnd']=[]);}}['_markInsertions'](_0x521b29,_0x126073){const _0x14d40=_0x521b29['filter'](_0x59fdb4=>!_0x59fdb4['isAdded']);for(let _0x302a2e=0x0;_0x302a2e<_0x126073['length'];_0x302a2e++)_0x126073[_0x302a2e]['isAdded']&&(_0x14d40[_0x302a2e]['isAdded']=_0x126073[_0x302a2e]['isAdded']);}['_makeModelFromViewString'](_0x4169d2){const _0x2347e4=JSON['parse'](_0x4169d2),_0x296de2=this['editor']['editing']['view']['document'],_0x30df13=new _0x32ae63(_0x296de2,_0x2347e4['map'](_0x1b1124=>this['_getViewObj'](_0x1b1124)));return this['editor']['data']['toModel'](_0x30df13);}['_getViewObj'](_0x27bf10){const _0x27aee3=this['editor']['editing']['view']['document'];if('string'==typeof _0x27bf10)return new _0x5cdfad(_0x27aee3,_0x27bf10);{const _0x67dd0a=_0x27bf10['children']['map'](_0xd83f11=>this['_getViewObj'](_0xd83f11));return new(tt[_0x27bf10['type']]||_0xc3245e)(_0x27aee3,_0x27bf10['name'],_0x27bf10['attributes'],_0x67dd0a);}}['_getDiff'](_0xdd453,_0x506e04=null){const _0x2c8c67=this['repository']['getRevision'](_0xdd453),_0x5017da=_0x506e04?this['repository']['getRevision'](_0x506e04):null,_0x23f661=this['_getRevisionsRange'](_0x2c8c67,_0x5017da),_0x49b600=_0x23f661[_0x23f661['length']-0x1],_0x456483=new Map(),_0x3c7057={'model':{},'attributes':{},'changes':[]},_0x556df6=new Set(),_0x32b83e=new Map();for(let _0x3c2f4b=_0x23f661['length']-0x1;_0x3c2f4b>=0x0;_0x3c2f4b--){const _0x586818=_0x23f661[_0x3c2f4b];for(const _0x263506 of Object['keys'](_0x586818['diffData']))if(_0x586818['diffData'][_0x263506]['attachChange']){const _0x3a2f82=_0x586818['diffData'][_0x263506]['attachChange'];_0x3a2f82['isAttached']?(_0x556df6['add'](_0x263506),_0x32b83e['has'](_0x263506)&&_0x32b83e['get'](_0x263506)['userId']==_0x3a2f82['userId']?_0x32b83e['delete'](_0x263506):_0x32b83e['set'](_0x263506,_0x3a2f82)):_0x32b83e['has'](_0x263506)?(_0x556df6['delete'](_0x263506),_0x32b83e['delete'](_0x263506)):(_0x556df6['add'](_0x263506),_0x32b83e['set'](_0x263506,_0x3a2f82));}else _0x556df6['add'](_0x263506);}for(const _0x110a5a of _0x556df6){const _0x4362d7=_0x32b83e['has'](_0x110a5a)&&!_0x32b83e['get'](_0x110a5a)['isAttached'];let _0x57f001=_0x4362d7?_0x23f661['length']-0x1:0x0;const _0x56f242=_0x4362d7?-0x1:0x1;for(;_0x23f661[_0x57f001];){const _0xacedb9=_0x23f661[_0x57f001];if(_0xacedb9['diffData'][_0x110a5a]){const _0x2e033e=_0x4362d7?_0xacedb9['diffData'][_0x110a5a]['attributesBefore']:_0xacedb9['diffData'][_0x110a5a]['attributesAfter'];_0x3c7057['attributes'][_0x110a5a]=_0x2e033e?_0x166896(_0x2e033e):{};break;}_0x57f001+=_0x56f242;}}for(const _0x483e81 of _0x23f661){_0x483e81['model']={};for(const _0x17e660 of _0x483e81['authors'])_0x456483['set'](_0x17e660['id'],_0x17e660);for(const _0x4d66a9 of _0x556df6){const _0x138763=_0x483e81['diffData'][_0x4d66a9]?_0x483e81['diffData'][_0x4d66a9]['insertions']:'[]',_0x704219=_0x483e81['diffData'][_0x4d66a9]?_0x483e81['diffData'][_0x4d66a9]['deletions']:'[]';_0x483e81['model'][_0x4d66a9]={'insertions':this['_makeModelFromViewString'](_0x138763),'deletions':this['_makeModelFromViewString'](_0x704219)};}}for(const _0x4f7bff of _0x556df6){let _0x533a9a=null,_0x5d3881=0x0;const _0x89b487=new Map(Array['from'](_0x2c8c67['model'][_0x4f7bff]['insertions']['markers'])['filter'](([_0x3e67d6])=>!_0x3e67d6['startsWith']('revision:')));let _0x4f691c=0x0;for(const _0x361022 of _0x23f661){const _0x5027c7=this['_makeTape'](_0x361022['model'][_0x4f7bff]['insertions']);_0x361022==_0x2c8c67?(_0x533a9a=_0x5027c7,_0x5d3881=_0x533a9a['length'],_0x533a9a['forEach'](_0x496228=>{_0x496228['id']=_0x4f691c++;}),this['_processTape'](_0x533a9a)):this['_markInsertions'](_0x533a9a,_0x5027c7);const _0x564cf4=_0x533a9a['filter'](_0x56b9c8=>!_0x56b9c8['isAdded'])['map'](_0x1b329f=>_0x1b329f['id']);let _0x542682=0x0;const _0x394ea0=this['_makeTape'](_0x361022['model'][_0x4f7bff]['deletions']);_0x394ea0['forEach'](_0x3a8742=>{_0x3a8742['isRemoved']?_0x3a8742['id']=_0x5d3881++:_0x3a8742['id']=_0x564cf4[_0x542682++];}),this['_processTape'](_0x394ea0),this['_setDistance'](_0x533a9a,'isAdded'),this['_setDistance'](_0x394ea0,'isRemoved'),_0x361022==_0x2c8c67&&this['_markMarkers'](_0x533a9a,_0x89b487),_0x533a9a=this['_joinTapes'](_0x533a9a,_0x394ea0),this['_refreshStartEndIndex'](_0x533a9a),this['_setDistance'](_0x533a9a,'isRemoved');}_0x533a9a=_0x533a9a['filter'](_0xd5b2d6=>!(_0xd5b2d6['isAdded']&&_0xd5b2d6['isRemoved']));const _0x169dcf=new Map(_0x49b600['model'][_0x4f7bff]['deletions']['markers']),_0x2bdef3=new Set(_0x89b487['keys']());for(const _0x76f0c7 of _0x169dcf['keys']())_0x2bdef3['delete'](_0x76f0c7);this['_markSuggestions'](_0x533a9a,_0x2bdef3),this['_fixObsoleteTags'](_0x533a9a),_0x533a9a=this['_removeMissingPairs'](_0x533a9a),_0x533a9a=this['_markMismatchedRemovedTags'](_0x533a9a),_0x533a9a=this['_removeUnsupportedChanges'](_0x533a9a);const {root:_0x2a0c35,changes:_0x56d007}=this['_makeModelFromTape'](_0x533a9a,_0x456483,_0x4f7bff);_0x3c7057['model'][_0x4f7bff]=_0x2a0c35;const _0x4158ce=_0x32b83e['get'](_0x4f7bff);if(_0x4158ce){const _0x5131f4=_0x456483['get'](_0x4158ce['userId']),_0x141a7a=new r({'author':_0x5131f4,'type':_0x4158ce['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4f7bff});_0x56d007['unshift'](_0x141a7a),_0x3c7057['attributes'][_0x4f7bff]['revisionHistoryAttachChange']=_0x141a7a['id'];}_0x3c7057['changes']=_0x3c7057['changes']['concat'](_0x56d007);}return _0x3c7057;}['_markMarkers'](_0x10cbcb,_0x506968){for(let _0x333ffc=0x0;_0x333ffc<_0x10cbcb['length'];_0x333ffc++)for(const [_0x3556ed,_0xc0acb8]of _0x506968)_0xc0acb8['start']['isEqual'](_0x10cbcb[_0x333ffc]['previousPosition'])&&_0x10cbcb[_0x333ffc]['markersStart']['push'](_0x3556ed),_0xc0acb8['end']['isEqual'](_0x10cbcb[_0x333ffc]['nextPosition'])&&_0x10cbcb[_0x333ffc]['markersEnd']['push'](_0x3556ed);}['_joinTapes'](_0x1efd9c,_0x1657a0){let _0x59d0a1=[],_0x3222a6=0x0,_0x29dc98=0x0;for(;_0x3222a6<_0x1efd9c['length']||_0x29dc98<_0x1657a0['length'];){const _0x4c17bf=_0x1efd9c[_0x3222a6]||{},_0x33527a=_0x1657a0[_0x29dc98]||{};if(_0x4c17bf['id']==_0x33527a['id'])_0x3222a6++,_0x29dc98++,_0x59d0a1['push'](_0x4c17bf);else{if(_0x33527a['isRemoved']&&_0x4c17bf['isAdded']){const {commonTape:_0x2fa8b8,iEnd:_0x4e5d21,jEnd:_0x22f358}=this['_threeWayMerge'](_0x1efd9c,_0x3222a6,_0x1657a0,_0x29dc98);_0x59d0a1=_0x59d0a1['concat'](_0x2fa8b8),_0x3222a6=_0x4e5d21,_0x29dc98=_0x22f358;}else _0x33527a['isRemoved']?(_0x29dc98++,_0x59d0a1['push'](_0x33527a)):(_0x3222a6++,_0x59d0a1['push'](_0x4c17bf));}}return _0x59d0a1;}['_markSuggestions'](_0x5d79c1,_0x255c55){const _0x2c2d59=[];for(let _0x3470c6=0x0;_0x3470c6<_0x5d79c1['length'];_0x3470c6++){for(let _0x235ef1=0x0;_0x235ef1<_0x5d79c1[_0x3470c6]['markersStart']['length'];_0x235ef1++){const _0x21b614=_0x5d79c1[_0x3470c6]['markersStart'][_0x235ef1];if(!_0x255c55['has'](_0x21b614))continue;const {group:_0x332dd9,type:_0x4b1f85,authorId:_0x30030e}=_0x40838d(_0x21b614);'revision-suggestion'!=_0x332dd9||'insertion'!=_0x4b1f85&&'deletion'!=_0x4b1f85||(_0x2c2d59['unshift']({'type':_0x4b1f85,'name':_0x21b614,'userId':_0x30030e}),_0x5d79c1[_0x3470c6]['markersStart']['splice'](_0x235ef1,0x1),_0x235ef1--);}_0x358113(_0x5d79c1[_0x3470c6]);for(let _0x595f8e=0x0;_0x595f8e<_0x5d79c1[_0x3470c6]['markersEnd']['length'];_0x595f8e++){const _0x143565=_0x5d79c1[_0x3470c6]['markersEnd'][_0x595f8e];if(!_0x255c55['has'](_0x143565))continue;const {group:_0x22025e,type:_0x3cba39}=_0x40838d(_0x143565);if('revision-suggestion'!=_0x22025e||'insertion'!=_0x3cba39&&'deletion'!=_0x3cba39)continue;_0x5d79c1[_0x3470c6]['markersEnd']['splice'](_0x595f8e,0x1),_0x595f8e--;const _0xd220ef=_0x2c2d59['findIndex'](_0x4445af=>_0x4445af['name']==_0x143565);_0xd220ef>-0x1&&_0x2c2d59['splice'](_0xd220ef,0x1);}}function _0x40838d(_0x5ab2ca){const _0x4d5387=_0x5ab2ca['split'](':');return{'group':_0x4d5387[0x0],'type':_0x4d5387[0x1],'subType':_0x4d5387['length']>=0x5?_0x4d5387[0x2]:null,'id':_0x4d5387['length']<0x5?_0x4d5387[0x2]:_0x4d5387[0x3],'authorId':_0x4d5387['length']<0x5?_0x4d5387[0x3]:_0x4d5387[0x4],'markerCount':0x6==_0x4d5387['length']?_0x4d5387[0x5]:null};}function _0x358113(_0x46fa97){for(let _0x29d264=0x0;_0x29d264<_0x2c2d59['length'];_0x29d264++){if(_0x46fa97['isAdded']&&'insertion'==_0x2c2d59[_0x29d264]['type'])return _0x46fa97['isAddSuggestion']=_0x2c2d59[_0x29d264],void delete _0x46fa97['isAdded'];if(!_0x46fa97['isAdded']&&!_0x46fa97['isRemoved']&&'deletion'==_0x2c2d59[_0x29d264]['type'])return void(_0x46fa97['isRemoveSuggestion']=_0x2c2d59[_0x29d264]);}}}['_setDistance'](_0x58e346,_0x44349f){let _0x3aaa62=0x0,_0x5ec10e=!0x1;const _0x1073c6=new Map();for(const _0xf0280d of _0x58e346)_0xf0280d[_0x44349f]?_0x5ec10e&&(_0x3aaa62++,_0x5ec10e=!0x1):(_0x3aaa62++,_0x5ec10e=!0x0),_0x1073c6['set'](_0xf0280d['id'],_0x3aaa62);for(let _0x11ef4e=0x0;_0x11ef4e<_0x58e346['length'];_0x11ef4e++){if('isRemoved'==_0x44349f&&_0x58e346[_0x11ef4e]['isAdded']||'isAdded'==_0x44349f&&_0x58e346[_0x11ef4e]['isRemoved'])continue;if('text'==_0x58e346[_0x11ef4e]['type']){_0x58e346[_0x11ef4e]['distance']=0x0;continue;}const _0x39676d=_0x1073c6['get'](_0x58e346[_0x11ef4e]['pairId']),_0x4159cc=_0x1073c6['get'](_0x58e346[_0x11ef4e]['id']);_0x58e346[_0x11ef4e]['distance']=_0x39676d-_0x4159cc;}}['_getRevisionsRange'](_0x140f4c,_0x4da6d2,_0x456a18=!0x1){const _0x3ac68d=[];let _0x4905b1=this['repository']['getIndex'](_0x140f4c),_0x2ee8c5=this['repository']['getIndex'](_0x4da6d2);for(-0x1==_0x2ee8c5&&(_0x2ee8c5=this['repository']['_revisions']['length'],_0x456a18=!0x1);_0x4905b1<_0x2ee8c5;)_0x3ac68d['push'](this['repository']['getRevision'](_0x4905b1)),_0x4905b1++;return _0x456a18&&_0x3ac68d['push'](this['repository']['getRevision'](_0x4905b1)),_0x3ac68d;}['_threeWayMerge'](_0x5dcf28,_0x581381,_0x14615a,_0x2c907c){const _0x3b3376=this['editor']['model']['schema'];let _0x580f23=_0x581381;for(;_0x5dcf28[_0x580f23]&&_0x5dcf28[_0x580f23]['isAdded'];)_0x580f23++;let _0x21fa16=_0x2c907c;for(;_0x14615a[_0x21fa16]&&_0x14615a[_0x21fa16]['isRemoved'];)_0x21fa16++;_0x16bba2(_0x5dcf28,_0x581381,_0x580f23),_0x16bba2(_0x14615a,_0x2c907c,_0x21fa16);const _0x5800f7=_0x14615a['slice'](_0x2c907c,_0x21fa16)['concat'](_0x5dcf28['slice'](_0x581381,_0x580f23));return _0x5800f7['sort']((_0xd0cf3f,_0x22b930)=>_0xd0cf3f['side']!=_0x22b930['side']?_0xd0cf3f['side']-_0x22b930['side']:_0xd0cf3f['level']!=_0x22b930['level']?_0xd0cf3f['level']-_0x22b930['level']:_0xd0cf3f['distance']!=_0x22b930['distance']?_0x22b930['distance']-_0xd0cf3f['distance']:!!_0xd0cf3f['isAdded']!=!!_0x22b930['isAdded']?-0x1==_0xd0cf3f['side']||0x0==_0xd0cf3f['side']?_0xd0cf3f['isAdded']?-0x1:0x1:_0xd0cf3f['isAdded']?0x1:-0x1:_0xd0cf3f['index']-_0x22b930['index']),{'commonTape':_0x5800f7,'iEnd':_0x580f23,'jEnd':_0x21fa16};function _0x16bba2(_0x2e4bd9,_0x278149,_0x21154c){let _0x515012=-0x1,_0x5352b7=Number['POSITIVE_INFINITY'],_0xb7fa38=!0x0;for(let _0x5160db=_0x278149;_0x5160db<_0x21154c;_0x5160db++)if(_0x3b3376['isInline'](_0x2e4bd9[_0x5160db]['item'])||(_0xb7fa38=!0x1),_0x2e4bd9[_0x5160db]['item']['startIndex']<_0x278149&&(_0x515012=_0x5160db),_0x2e4bd9[_0x5160db]['item']['endIndex']>=_0x21154c){_0x5352b7=_0x5160db;break;}_0xb7fa38&&(_0x515012=_0x21154c-0x1);for(let _0x3381ac=_0x278149;_0x3381ac<_0x21154c;_0x3381ac++)_0x2e4bd9[_0x3381ac]['side']=_0x3381ac<=_0x515012?-0x1:_0x3381ac<_0x5352b7?0x0:0x1,_0x2e4bd9[_0x3381ac]['index']=_0x3381ac;let _0x44b1d5=0x0;for(let _0x5edc98=_0x278149;_0x5edc98<=_0x515012;_0x5edc98++)0x0==_0x2e4bd9[_0x5edc98]['distance']?_0x2e4bd9[_0x5edc98]['level']=_0x44b1d5:(_0x44b1d5++,_0x2e4bd9[_0x5edc98]['level']=_0x44b1d5,_0x44b1d5++);for(let _0x119bd4=_0x278149;_0x119bd4<_0x21154c;_0x119bd4++)0x0==_0x2e4bd9[_0x119bd4]['side']&&(_0x2e4bd9[_0x119bd4]['level']=_0x44b1d5);_0x44b1d5=0x0;for(let _0x1c7712=_0x21154c-0x1;_0x1c7712>=_0x5352b7;_0x1c7712--)0x0==_0x2e4bd9[_0x1c7712]['distance']?_0x2e4bd9[_0x1c7712]['level']=_0x44b1d5:(_0x44b1d5--,_0x2e4bd9[_0x1c7712]['level']=_0x44b1d5,_0x44b1d5--);}}['_fixObsoleteTags'](_0x201cf4){const _0x38b142=new Map(),_0x5717e5=this['editor']['model']['schema'];for(let _0x3a3f58=0x1;_0x3a3f58<_0x201cf4['length'];_0x3a3f58++){let _0x25d96f,_0x5eb526,_0x14e22a;const _0x2daf6c=_0x201cf4[_0x3a3f58],_0x3fda2d=_0x201cf4[_0x3a3f58-0x1];if('text'==_0x2daf6c['type'])continue;if(_0x2daf6c['type']!=_0x3fda2d['type'])continue;if(!_0x5717e5['isBlock'](_0x3fda2d['item'])||_0x5717e5['isLimit'](_0x3fda2d['item']))continue;if(!_0x5717e5['isBlock'](_0x2daf6c['item'])||_0x5717e5['isLimit'](_0x2daf6c['item']))continue;if((_0x201cf4[_0x3a3f58]['isAdded']||_0x201cf4[_0x3a3f58]['isAddSuggestion'])&&_0x201cf4[_0x3a3f58-0x1]['isRemoved'])_0x25d96f=_0x201cf4[_0x3a3f58],_0x5eb526=_0x201cf4[_0x3a3f58-0x1],_0x14e22a=_0x3a3f58-0x1;else{if(!_0x201cf4[_0x3a3f58]['isRemoved']||!_0x201cf4[_0x3a3f58-0x1]['isAdded']&&!_0x201cf4[_0x3a3f58-0x1]['isAddSuggestion'])continue;_0x25d96f=_0x201cf4[_0x3a3f58-0x1],_0x5eb526=_0x201cf4[_0x3a3f58],_0x14e22a=_0x3a3f58;}const _0x501f57=_0x25d96f['level']==_0x5eb526['level'],_0x32c484=Math['abs'](_0x25d96f['level'])<Math['abs'](_0x5eb526['level'])&&0x0==_0x5eb526['distance'];(_0x501f57||_0x32c484)&&(_0x38b142['set'](_0x5eb526['id'],_0x25d96f['id']),_0x201cf4['splice'](_0x14e22a,0x1),_0x3a3f58--,_0x25d96f['isAdded']=!0x1);}for(let _0x301c7d=0x0;_0x301c7d<_0x201cf4['length'];_0x301c7d++)_0x38b142['has'](_0x201cf4[_0x301c7d]['pairId'])&&(_0x201cf4[_0x301c7d]['pairId']=_0x38b142['get'](_0x201cf4[_0x301c7d]['pairId']));}['_removeMissingPairs'](_0x4bf061){const _0x34eb3b=new Set(_0x4bf061['map'](_0x490957=>_0x490957['id']));for(let _0x4b7438=0x0;_0x4b7438<_0x4bf061['length'];_0x4b7438++)_0x34eb3b['has'](_0x4bf061[_0x4b7438]['pairId'])||0x0==_0x4bf061[_0x4b7438]['distance']||(_0x4bf061[_0x4b7438]['isIncorrect']=!0x0);return _0x4bf061['filter'](_0x1104d2=>!_0x1104d2['isIncorrect']);}['_markMismatchedRemovedTags'](_0x570c8d){const _0x116a05=new Set();for(let _0x221aad=0x0;_0x221aad<_0x570c8d['length'];_0x221aad++){if(_0x116a05['has'](_0x570c8d[_0x221aad]['id'])&&_0x570c8d[_0x221aad]['isRemoved']&&(_0x570c8d[_0x221aad]['isIncorrect']=!0x0),_0x570c8d[_0x221aad]['isIncorrect'])continue;if(0x0==_0x570c8d[_0x221aad]['distance'])continue;if('elementStart'!=_0x570c8d[_0x221aad]['type'])continue;if(null==_0x570c8d[_0x221aad]['pairId'])continue;let _0x347e6d=_0x221aad+0x1,_0x3c6c73=0x0;for(;_0x570c8d[_0x347e6d]['id']!=_0x570c8d[_0x221aad]['pairId'];)'elementStart'==_0x570c8d[_0x347e6d]['type']?_0x3c6c73++:'elementEnd'==_0x570c8d[_0x347e6d]['type']&&_0x3c6c73--,_0x347e6d++;if(0x0!=_0x3c6c73){if(_0x570c8d[_0x221aad]['isRemoved'])_0x570c8d[_0x221aad]['isIncorrect']=!0x0;else{for(;_0x347e6d!=_0x221aad;)_0x570c8d[_0x347e6d]['isRemoved']&&0x0!=_0x570c8d[_0x347e6d]['distance']&&(_0x570c8d[_0x347e6d]['isIncorrect']=!0x0,_0x116a05['add'](_0x570c8d[_0x347e6d]['pairId'])),_0x347e6d--;}}}return _0x570c8d['filter'](_0x3d9a07=>!_0x3d9a07['isIncorrect']);}['_removeUnsupportedChanges'](_0x3e9de0){const _0x35716c=this['editor']['model']['schema'];for(let _0x521c35=0x0;_0x521c35<_0x3e9de0['length'];_0x521c35++){if(!(_0x3e9de0[_0x521c35]['isAdded']||_0x3e9de0[_0x521c35]['isAddSuggestion']||_0x3e9de0[_0x521c35]['isRemoved']||_0x3e9de0[_0x521c35]['isRemoveSuggestion']))continue;if(0x0==_0x3e9de0[_0x521c35]['distance'])continue;const _0x222c45=_0x3e9de0[_0x521c35]['item'];_0x35716c['isBlock'](_0x222c45)||_0x35716c['isLimit'](_0x222c45)||(_0x3e9de0[_0x521c35]['isAdded']&&delete _0x3e9de0[_0x521c35]['isAdded'],_0x3e9de0[_0x521c35]['isAddSuggestion']&&delete _0x3e9de0[_0x521c35]['isAddSuggestion'],_0x3e9de0[_0x521c35]['isRemoveSuggestion']&&delete _0x3e9de0[_0x521c35]['isRemoveSuggestion'],_0x3e9de0[_0x521c35]['isRemoved']&&(_0x3e9de0[_0x521c35]['isIncorrect']=!0x0));}return _0x3e9de0['filter'](_0x2a7d32=>!_0x2a7d32['isIncorrect']);}['_makeModelFromTape'](_0x416966,_0xb7b527,_0x3fba4d){const _0x37420e=new wt(),_0x2eadfe=[],_0x1f0199=new Map(),_0x13d18f=this['editor']['model'],_0x3465df=_0x13d18f['schema'],_0x44d3e7=[_0x37420e],_0x839e93={},_0x25b118={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x9ef45=null;const _0x3dac00=[0x0];for(let _0xdcfaf4=0x0;_0xdcfaf4<_0x416966['length'];_0xdcfaf4++){let _0x94dfb,_0x38ceac;if('elementStart'===_0x416966[_0xdcfaf4]['type']){_0x94dfb=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00);const _0x235c35=new ft(_0x416966[_0xdcfaf4]['item']['name'],_0x416966[_0xdcfaf4]['item']['getAttributes']());_0x44d3e7[0x0]['_appendChild'](_0x235c35),_0x3dac00['push'](0x0),_0x44d3e7['unshift'](_0x235c35),_0x38ceac=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x9ef45=null;}else{if('elementEnd'===_0x416966[_0xdcfaf4]['type'])_0x44d3e7['shift'](),_0x94dfb=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x3dac00['pop'](),_0x3dac00[_0x3dac00['length']-0x1]++,_0x38ceac=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x9ef45=null;else{if(_0x94dfb=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x9ef45&&_0x497c58(_0x9ef45,_0x416966[_0xdcfaf4]['item']))_0x9ef45['_data']+=_0x416966[_0xdcfaf4]['item']['data'];else{const _0x4b829c=new _t(_0x416966[_0xdcfaf4]['item']['data'],_0x416966[_0xdcfaf4]['item']['getAttributes']());_0x44d3e7[0x0]['_appendChild'](_0x4b829c),_0x9ef45=_0x4b829c;}_0x3dac00[_0x3dac00['length']-0x1]+=_0x416966[_0xdcfaf4]['item']['offsetSize'],_0x38ceac=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00);}}for(const _0x1e344c of _0x416966[_0xdcfaf4]['markersStart'])_0x1f0199['set'](_0x1e344c,{'start':_0x94dfb,'end':null});_0x4a4979('isRemoveSuggestion',_0xdcfaf4,_0x94dfb,_0x38ceac),_0x4a4979('isAddSuggestion',_0xdcfaf4,_0x94dfb,_0x38ceac),_0x4a4979('isRemoved',_0xdcfaf4,_0x94dfb,_0x38ceac),_0x4a4979('isAdded',_0xdcfaf4,_0x94dfb,_0x38ceac);for(const _0x2b55e0 of _0x416966[_0xdcfaf4]['markersEnd']){_0x1f0199['get'](_0x2b55e0)['end']=_0x38ceac;}}for(const [_0x2d5706,_0x1f01b1]of _0x1f0199){const _0x195328=this['editor']['model']['createRange'](_0x1f01b1['start'],_0x1f01b1['end']);_0x37420e['markers']['set'](_0x2d5706,_0x195328);}return _0x2eadfe['sort']((_0x1925ce,_0x1ca776)=>{const _0x1d0319=_0x37420e['markers']['get']('revision:'+_0x1925ce['id']),_0x1f4fc5=_0x37420e['markers']['get']('revision:'+_0x1ca776['id']);return _0x1d0319['start']['isBefore'](_0x1f4fc5['start'])?-0x1:_0x1d0319['start']['isAfter'](_0x1f4fc5['start'])?0x1:_0x1d0319['end']['isBefore'](_0x1f4fc5['end'])?-0x1:_0x1d0319['end']['isAfter'](_0x1f4fc5['end'])?0x1:'add'===_0x1925ce['type']?-0x1:0x1;}),{'root':_0x37420e,'changes':_0x2eadfe};function _0x4a4979(_0x5dd4c6,_0xde4bcb,_0x4c5c88,_0x4a7de5){const _0xc1c11c=!!_0x416966[_0xde4bcb][_0x5dd4c6],_0x5e92c9=_0xc1c11c?_0x416966[_0xde4bcb][_0x5dd4c6]['userId']:null,_0xef7326=_0xde4bcb===_0x416966['length']-0x1,_0x98eed2=_0x25b118[_0x5dd4c6][0x0],_0xaae9d2=_0x3465df['isObject'](_0x416966[_0xde4bcb]['item']);!_0x839e93[_0x5dd4c6]&&_0xc1c11c?_0x839e93[_0x5dd4c6]={'start':_0x4c5c88,'tapeItem':_0x416966[_0xde4bcb],'userId':_0x5e92c9,'type':_0x5dd4c6}:_0x839e93[_0x5dd4c6]&&!_0xc1c11c?(_0x839e93[_0x5dd4c6]['end']=_0x4c5c88,_0x45eb25(_0x839e93[_0x5dd4c6]),_0x839e93[_0x5dd4c6]=null):_0x839e93[_0x5dd4c6]&&_0xc1c11c&&_0x839e93[_0x5dd4c6]['userId']!==_0x5e92c9&&(_0x839e93[_0x5dd4c6]['end']=_0x4c5c88,_0x98eed2&&_0x98eed2['userId']===_0x839e93[_0x5dd4c6]['userId']||_0x45eb25(_0x839e93[_0x5dd4c6]),_0x839e93[_0x5dd4c6]={'start':_0x4c5c88,'tapeItem':_0x416966[_0xde4bcb],'userId':_0x5e92c9,'type':_0x5dd4c6}),_0x839e93[_0x5dd4c6]&&_0xaae9d2&&('elementStart'!==_0x416966[_0xde4bcb]['type']||_0x98eed2&&_0x98eed2['userId']===_0x5e92c9||_0x25b118[_0x5dd4c6]['unshift']({'userId':_0x5e92c9,'object':_0x416966[_0xde4bcb]['item'],'change':_0x839e93[_0x5dd4c6]}),'elementEnd'===_0x416966[_0xde4bcb]['type']&&_0x98eed2&&_0x98eed2['object']===_0x416966[_0xde4bcb]['item']&&(_0x25b118[_0x5dd4c6]['shift'](),_0x839e93[_0x5dd4c6]=_0x98eed2['change'])),_0x839e93[_0x5dd4c6]&&_0xef7326&&(_0x839e93[_0x5dd4c6]['end']=_0x4a7de5,_0x45eb25(_0x839e93[_0x5dd4c6]),_0x839e93[_0x5dd4c6]=null);}function _0x45eb25({start:_0x1c3b5a,end:_0x165efa,tapeItem:_0x23958f,userId:_0x17f8b9,type:_0x1b9ae1}){const _0x498314=_0x23958f['item'],_0x3fe5b9=_0x13d18f['schema']['isBlock'](_0x498314)&&!_0x13d18f['schema']['isLimit'](_0x498314),_0xc31815=_0x1c3b5a['nodeAfter']==_0x165efa['parent']&&_0x165efa['isAtStart'];if(_0x3fe5b9&&_0xc31815)return;const _0x283439=_0x13d18f['createRange'](_0x1c3b5a,_0x165efa),_0x28a862=_0xb7b527['get'](_0x17f8b9),_0xdbb684=new r({'author':_0x28a862,'type':'isAdded'==_0x1b9ae1||'isAddSuggestion'==_0x1b9ae1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1b9ae1||'isRemoveSuggestion'==_0x1b9ae1},'createdAt':new Date(),'rootName':_0x3fba4d});_0x2eadfe['push'](_0xdbb684),_0x37420e['markers']['set']('revision:'+_0xdbb684['id'],_0x283439);}function _0x497c58(_0x2dabf8,_0x4b76fa){const _0x1e666c=_0x2dabf8['getAttributes'](),_0x152aac=_0x4b76fa['getAttributes']();for(const _0x2ec6c2 of _0x1e666c){if(_0x2ec6c2[0x1]!==_0x4b76fa['getAttribute'](_0x2ec6c2[0x0]))return!0x1;_0x152aac['next']();}return _0x152aac['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x482cd4=>{const _0x366f19=_0x482cd4['markerName']['split'](':')[0x1],_0x14c7e5=this['_getChangeFromId'](_0x366f19);if(!_0x14c7e5)return null;const _0x5c5ce5='add'==_0x14c7e5['type']?'insertion':'deletion',_0x1e95f2=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5c5ce5];return _0x14c7e5['data']['isSuggestion']&&_0x1e95f2['push']('ck-suggestion-marker-'+_0x5c5ce5+'-new'),this['activeChange']==_0x14c7e5&&_0x1e95f2['push']('ck-suggestion-marker--active'),{'classes':_0x1e95f2,'attributes':{'data-change-id':_0x366f19}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x698046=>{_0x698046['on']('element:pre',(_0x31cfd5,_0x2989dc,_0x1bc046)=>{const _0x3be03f=_0x2989dc['viewItem']['getChild'](0x0);if(!_0x3be03f||!_0x3be03f['is']('element','code'))return;if(!_0x1bc046['consumable']['consume'](_0x3be03f,{'attributes':['vid_start','vid_end']}))return;const _0x5e87e2=_0x2989dc['modelRange']['start']['nodeAfter'];_0x1bc046['writer']['setAttribute']('vid_start',_0x3be03f['getAttribute']('vid_start'),_0x5e87e2),_0x1bc046['writer']['setAttribute']('vid_end',_0x3be03f['getAttribute']('vid_end'),_0x5e87e2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x541c80=>{_0x541c80['on']('element',(_0x37cf94,_0x502550,_0x1dbffe)=>{if(!_0x1dbffe['consumable']['consume'](_0x502550['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x502550['modelRange']['isCollapsed'])return;const _0x119a7e=_0x502550['modelRange']['start']['nodeAfter'];_0x119a7e['hasAttribute']('vid_start')||_0x119a7e['hasAttribute']('vid')||(_0x1dbffe['writer']['setAttribute']('vid_start',_0x502550['viewItem']['getAttribute']('vid_start'),_0x119a7e),_0x1dbffe['writer']['setAttribute']('vid_end',_0x502550['viewItem']['getAttribute']('vid_end'),_0x119a7e));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4aa260=>_0x4aa260['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x12b5d9,[,_0x159092])=>{['vid_start','vid_end','vid']['includes'](_0x159092)&&(_0x12b5d9['return']=!0x0,_0x12b5d9['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x143657=>{_0x143657['on']('attribute:vid',(_0x50c0f2,_0x21f633,_0x41f4b5)=>{if('\x20'!=_0x21f633['item']['data']||_0x21f633['item']['parent']['maxOffset']>0x1)return;if(!_0x41f4b5['consumable']['consume'](_0x21f633['item'],_0x50c0f2['name']))return;const _0x312622=_0x41f4b5['writer'],_0x59813c=_0x41f4b5['mapper']['toViewRange'](_0x21f633['range']);_0x312622['wrap'](_0x59813c,_0x312622['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xd3385){const _0x393bb6=_0xd3385['plugins']['get']('RevisionViewer');return(_0x117f82,_0x3ac9d5,_0x31a841)=>{const _0x1afd7b=_0x3ac9d5['markerName']['split'](':')[0x1],_0x53f067=_0x393bb6['_getChangeFromId'](_0x1afd7b);if(!_0x53f067)return null;const _0x192ba4='add'==_0x53f067['type']?'split':'merge';if(!_0x31a841['consumable']['test'](_0x3ac9d5['markerRange'],_0x117f82['name']))return;const _0x4085c5=_0x3ac9d5['markerRange']['getWalker'](),_0x21a692=_0x3ac9d5['markerRange']['start'],_0x138fd3=_0xd3385['model']['schema'];let _0x54e1cc=null,_0xab69e0=null,_0x5c65ef=!0x1,_0x1182b1=!0x1;for(const _0x4b6aa1 of _0x4085c5){const _0x41928a=_0x4b6aa1['item'];_0x5c65ef=_0x5c65ef||_0x138fd3['isContent'](_0x41928a);const _0x2cec34=_0x31a841['mapper']['toViewElement'](_0x41928a);if(_0x2cec34&&_0x2cec34['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4b6aa1['type']&&(_0x138fd3['isBlock'](_0x41928a)&&!_0x138fd3['isLimit'](_0x41928a)&&(_0x41928a['nextSibling']||_0x21a692['isAtEnd']?_0x54e1cc&&_0x54e1cc['parent']==_0x41928a||(_0x54e1cc=_0x41928a,_0x56618f(_0x4b6aa1['previousPosition']),_0x1182b1=!0x0):_0xab69e0=_0xab69e0||_0x4b6aa1['previousPosition']));}function _0x56618f(_0x47fd64){const _0x1e75c2=_0x31a841['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x192ba4}),_0x25c805=_0x31a841['mapper']['toViewPosition'](_0x47fd64);_0x53f067['data']['isSuggestion']&&_0x31a841['writer']['addClass']('ck-suggestion-marker-'+_0x192ba4+'-new',_0x1e75c2),_0x393bb6['activeChange']==_0x53f067&&_0x31a841['writer']['addClass']('ck-suggestion-marker--active',_0x1e75c2),_0x31a841['writer']['insert'](_0x25c805,_0x1e75c2),_0x31a841['mapper']['bindElementToMarker'](_0x1e75c2,_0x3ac9d5['markerName']);}_0x5c65ef||_0x1182b1||!_0xab69e0||_0x56618f(_0xab69e0);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5ee052,_0x5139fd,_0x2e8fd7)=>{const _0x1ef896=_0x2e8fd7['mapper']['markerNameToElements'](_0x5139fd['markerName']);if(_0x1ef896){for(const _0xe97cd0 of _0x1ef896)(_0xe97cd0['hasClass']('ck-suggestion-marker-split')||_0xe97cd0['hasClass']('ck-suggestion-marker-merge'))&&(_0x2e8fd7['mapper']['unbindElementFromMarkerName'](_0xe97cd0,_0x5139fd['markerName']),_0x2e8fd7['writer']['remove'](_0xe97cd0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xed39bb,_0x5f1982,_0x5c1a31)=>{const _0x4f6b5c=_0x5f1982['markerName']['split'](':')[0x1],_0x2d8dcd=this['_getChangeFromId'](_0x4f6b5c);if(!_0x2d8dcd)return null;const _0xa5621f='add'==_0x2d8dcd['type']?'split':'merge';if(_0x5c1a31['consumable']['test'](_0x5f1982['markerRange'],_0xed39bb['name']))for(const _0x827ab7 of _0x5f1982['markerRange']['getItems']()){if(!_0x827ab7['is']('element','softBreak'))continue;const _0x6b6f55=_0x5c1a31['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xa5621f}),_0x3932b6=_0x5c1a31['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x827ab7));_0x2d8dcd['data']['isSuggestion']&&_0x5c1a31['writer']['addClass']('ck-suggestion-marker-'+_0xa5621f+'-new',_0x6b6f55),this['activeChange']==_0x2d8dcd&&_0x5c1a31['writer']['addClass']('ck-suggestion-marker--active',_0x6b6f55),_0x5c1a31['writer']['insert'](_0x3932b6,_0x6b6f55),_0x5c1a31['mapper']['bindElementToMarker'](_0x6b6f55,_0x5f1982['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x26d942=>{for(const _0x83cb7b of this['editor']['model']['document']['getRootNames']()){const _0x3559f2=this['editor']['model']['document']['getRoot'](_0x83cb7b),_0x532087=this['editor']['editing']['view']['document']['getRoot'](_0x83cb7b);if(_0x532087){const _0xf6a38c=_0x3559f2['getAttribute']('revisionHistoryAttachChange');if(_0x26d942['removeAttribute']('data-change-id',_0x532087),_0x26d942['removeClass']('ck-revision-history-root-add',_0x532087),_0x26d942['removeClass']('ck-revision-history-root-remove',_0x532087),_0x26d942['removeClass']('ck-revision-history-root--active',_0x532087),_0xf6a38c){const _0x27fc32=this['_getChangeFromId'](_0xf6a38c);if(!_0x27fc32)return null;_0x26d942['setAttribute']('data-change-id',_0xf6a38c,_0x532087),_0x26d942['addClass']('ck-revision-history-root-'+_0x27fc32['type'],_0x532087),this['activeChange']==_0x27fc32&&_0x26d942['addClass']('ck-revision-history-root--active',_0x532087);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x296c7e=>'revision-comment:'+_0x296c7e,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x40ab45=>'revision-suggestion:'+_0x40ab45,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x142004=>({'name':'suggestion:'+_0x142004,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5a8358=>{const _0x37dc0d=_0x5a8358['markerName']['split'](':')[0x1];return'insertion'!=_0x37dc0d&&'deletion'!=_0x37dc0d?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x37dc0d]};}}),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',(_0x196fc1,_0x430419,_0x145c41)=>{const _0x21b952=_0x145c41['mapper']['markerNameToElements'](_0x430419['markerName']);if(_0x21b952){for(const _0xf80115 of _0x21b952)_0xf80115['is']('uiElement')&&(_0x145c41['mapper']['unbindElementFromMarkerName'](_0xf80115,_0x430419['markerName']),_0x145c41['writer']['remove'](_0xf80115));}},{'priority':'high'});}['_getChangeFromId'](_0x53e51f){return this['_changeIdToChange']['get'](_0x53e51f);}['_getViewForChange'](_0x29e327){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x29e327),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x19b294,_0xabbe52,_0x50e5e4,_0x4c91d7)=>{_0x4c91d7&&this['_balloon']['remove'](_0x4c91d7),_0x50e5e4&&(this['_balloon']['add']({'view':_0x50e5e4,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x534b1c=this['editor']['editing'],_0x22531a=this['_getChangeFromId'](_0x50e5e4['changeId']);let _0x17c09d;if(_0x22531a['data']['isOnRoot']){const _0x45fa39=_0x534b1c['view']['getDomRoot'](_0x22531a['rootName']);_0x17c09d=Array['from'](_0x45fa39['getClientRects']());}else{const _0x1ff5da=this['editor']['model']['markers']['get']('revision:'+_0x50e5e4['changeId']);_0x17c09d=Array['from'](_0x534b1c['mapper']['markerNameToElements'](_0x1ff5da['name']))['map'](_0x3713de=>_0x534b1c['view']['domConverter']['mapViewToDom'](_0x3713de))['map'](_0x65206a=>Array['from'](_0x65206a['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x17c09d[0x0];return _0x17c09d['find'](_0x52dbe3=>_0x52dbe3['top']-0x3<=this['_activeViewTarget']['y']&&_0x52dbe3['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x52dbe3['left']-0x3<=this['_activeViewTarget']['x']&&_0x52dbe3['right']+0x3>=this['_activeViewTarget']['x'])||_0x17c09d[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x12a730,_0x19261e,_0x1acee4,_0x55bdaa)=>{this['activeView']=_0x1acee4?this['_getViewForChange'](_0x1acee4):null,this['editor']['model']['change'](()=>{const _0x2b937f=this['editor']['editing'];_0x55bdaa&&(_0x55bdaa['data']['isOnRoot']?_0x2b937f['view']['change'](_0x54561a=>{_0x54561a['removeClass']('ck-revision-history-root--active',_0x2b937f['view']['document']['getRoot'](_0x55bdaa['rootName']));}):_0x2b937f['reconvertMarker']('revision:'+_0x55bdaa['id'])),_0x1acee4&&(_0x1acee4['data']['isOnRoot']?_0x2b937f['view']['change'](_0x4dddcc=>{_0x4dddcc['addClass']('ck-revision-history-root--active',_0x2b937f['view']['document']['getRoot'](_0x1acee4['rootName']));}):_0x2b937f['reconvertMarker']('revision:'+_0x1acee4['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x386894,_0x3f3b85)=>{if(this['activeChange'])return;const _0x493917=this['_findChangeIdFromDomTarget'](_0x3f3b85['target']),_0x2f4844=this['_changeIdToChange']['get'](_0x493917);_0x2f4844?(this['_activeViewTarget']={'x':_0x3f3b85['domEvent']['x'],'y':_0x3f3b85['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2f4844)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xc60138,_0x475cca)=>{const _0x1e6d47=this['_findChangeIdFromDomTarget'](_0x475cca['target']),_0xf8457f=this['_changeIdToChange']['get'](_0x1e6d47);_0xf8457f?(this['_activeViewTarget']={'x':_0x475cca['domEvent']['x'],'y':_0x475cca['domEvent']['y']},_0xf8457f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xf8457f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xbf3886){do{const _0x4985a2=_0xbf3886['getAttribute']('data-change-id');if(_0x4985a2)return _0x4985a2;_0xbf3886=_0xbf3886['parent'];}while(_0xbf3886);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2d8436=>{for(const _0x46f3a7 of this['editor']['model']['markers'])_0x2d8436['removeMarker'](_0x46f3a7);});}}function et(_0x304178,_0x3b6490){return(_0x403226,_0x22ed85,_0x312156)=>{if(!_0x312156['consumable']['test'](_0x22ed85['markerRange'],_0x403226['name']))return;const _0x173d4f=_0x22ed85['markerRange']['getWalker'](),_0x3f066c=_0x22ed85['markerRange']['start'],_0x33cbf0=_0x304178['model']['schema'];let _0x426aec=null,_0x4b896c=null,_0x987dfa=!0x1,_0x296550=!0x1;for(const _0x4a0d2f of _0x173d4f){const _0x28351a=_0x4a0d2f['item'];_0x987dfa=_0x987dfa||_0x33cbf0['isContent'](_0x28351a);const _0x2724ce=_0x312156['mapper']['toViewElement'](_0x28351a);if(_0x2724ce&&_0x2724ce['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4a0d2f['type']&&(_0x33cbf0['isBlock'](_0x28351a)&&!_0x33cbf0['isLimit'](_0x28351a)&&(_0x28351a['nextSibling']||_0x3f066c['isAtEnd']?_0x426aec&&_0x426aec['parent']==_0x28351a||(_0x426aec=_0x28351a,_0xd2714b(_0x4a0d2f['previousPosition']),_0x296550=!0x0):_0x4b896c=_0x4b896c||_0x4a0d2f['previousPosition']));}function _0xd2714b(_0x5b7bb6){const _0x29e434=_0x312156['mapper']['toViewPosition'](_0x5b7bb6),_0x530d73=_0x312156['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3b6490});_0x312156['writer']['insert'](_0x29e434,_0x530d73),_0x312156['mapper']['bindElementToMarker'](_0x530d73,_0x22ed85['markerName']);}_0x987dfa||_0x296550||!_0x4b896c||_0xd2714b(_0x4b896c);};}class bt extends _0x1124ed{constructor(_0x1da0fb){super(_0x1da0fb);const _0x221c7a=_0x1da0fb['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x221c7a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x221c7a,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1eb034=this['editor'],_0x5d919e=_0x1eb034['plugins']['get'](d),_0x241181=_0x5d919e['isReady']?_0x5d919e['diff']['newRevisionId']:null;_0x1eb034['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x241181);}['refresh'](){const {isReady:_0x53636b,isEnabled:_0x411e65}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x53636b&&_0x411e65;}}class yt extends _0x1124ed{['_step'];constructor(_0xc677bc,{direction:_0x3d34e6}){super(_0xc677bc);const _0x5237f6=_0xc677bc['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3d34e6?0x1:-0x1,this['listenTo'](_0x5237f6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5237f6,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5237f6,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x18bfa9=this['editor'],_0x5adb2a=_0x18bfa9['plugins']['get'](d),{isNavigationMode:_0x588840,currentChangeNumber:_0x1289ec}=_0x5adb2a;let _0x42bceb;if(_0x5adb2a['activeChange']=_0x588840?_0x5adb2a['diff']['changes']['get'](_0x1289ec+this['_step']):_0x5adb2a['diff']['changes']['first'],_0x5adb2a['activeChange']['data']['isOnRoot'])_0x42bceb=_0x18bfa9['editing']['view']['getDomRoot'](_0x5adb2a['activeChange']['rootName']);else{const _0x3fe7ed=_0x18bfa9['model']['markers']['get']('revision:'+_0x5adb2a['activeChange']['id']);_0x42bceb=_0x1a4569(_0x18bfa9['editing'],_0x3fe7ed);}_0x5d5bae({'target':_0x42bceb,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c3e07,currentChangeNumber:_0x2e6324,numberOfChanges:_0xf44411,isReady:_0x42e507,isEnabled:_0x4360f7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4360f7&&_0x42e507&&_0xf44411)&&(!_0x3c3e07||(0x1===this['_step']?_0x2e6324<_0xf44411-0x1:_0x2e6324>0x0));}}class _i extends _0xfbdf25{constructor(_0x2e0520){super(_0x2e0520);const _0x397c44=this['bindTemplate'],_0x53abcf=new _0x27cfa6(_0x2e0520),_0x13e7d5=new _0x27cfa6(_0x2e0520);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',(_0xc9edcf,_0x3590d9)=>_0xc9edcf&&_0x3590d9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1a7709,_0x4aa4b4,_0x485510,_0xec8f09)=>{if(!_0x1a7709)return y(_0x2e0520,'Loading...');if(!_0x485510)return y(_0x2e0520,'No\x20changes');const _0x25978e=y(_0x2e0520,'NUMBER_OF_CHANGES',_0x485510);return _0xec8f09?y(_0x2e0520,'X_OF_Y_CHANGES',[_0x4aa4b4+0x1,_0x485510]):_0x25978e;}),_0x53abcf['set']({'label':y(_0x2e0520,'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'}),_0x13e7d5['set']({'label':y(_0x2e0520,'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'}),_0x53abcf['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x13e7d5['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x53abcf['on']('execute',()=>this['fire']('execute','backward')),_0x13e7d5['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',_0x397c44['if']('_isStatusLabelVisible','ck-hidden',_0x5ea39c=>!_0x5ea39c)]},'children':[{'text':_0x397c44['to']('isNavigationMode',_0x5de65d=>_0x5de65d?y(_0x2e0520,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2e0520,'Total')+':\x20')}]},{'text':_0x397c44['to']('_statusText')}]},new _0x34cf4e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x53abcf,_0x13e7d5]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x432e29{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x362969=this['editor']['editing']['view'];_0x362969['change'](_0x457565=>{for(const _0x2ddafd of _0x362969['document']['roots'])_0x457565['addClass'](ce,_0x2ddafd);});}['hide'](){const _0x2214df=this['editor']['editing']['view'];_0x2214df['change'](_0x3bbc2e=>{for(const _0x5090ef of _0x2214df['document']['roots'])_0x3bbc2e['removeClass'](ce,_0x5090ef);});}}class R extends _0x432e29{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4ea014=this['editor'],_0x53c58a=_0x4ea014['plugins']['get'](d),_0x2870db=_0x4ea014['plugins']['get'](de);_0x4ea014['ui']['componentFactory']['add']('exitToEditing',_0x1b646b=>{const _0x2a1350=new _0x27cfa6(_0x1b646b);return _0x2a1350['set']({'label':y(_0x1b646b,'Back\x20to\x20editing'),'icon':_0x259594['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2a1350,'execute',()=>{_0x4ea014['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2a1350;}),_0x4ea014['ui']['componentFactory']['add']('restoreRevision',_0x18ec80=>{const _0x4cc85e=new _0x27cfa6(_0x18ec80);return _0x4cc85e['set']({'label':y(_0x18ec80,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4cc85e['bind']('isEnabled')['to'](_0x4ea014['commands']['get']('restoreRevision')),this['listenTo'](_0x4cc85e,'execute',()=>_0x4ea014['execute']('restoreRevision')),_0x4cc85e;}),_0x4ea014['ui']['componentFactory']['add']('changesNavigation',_0x36e0ae=>{const _0x552551=new _i(_0x36e0ae),_0x47de57=_0x4ea014['commands']['get']('showPreviousChange'),_0x47642d=_0x4ea014['commands']['get']('showNextChange');return _0x552551['bind']('isBackwardNavigationEnabled')['to'](_0x47de57,'isEnabled'),_0x552551['bind']('isForwardNavigationEnabled')['to'](_0x47642d,'isEnabled'),_0x552551['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x53c58a),this['listenTo'](_0x552551,'execute',(_0x31374d,_0x4f87ea)=>{_0x4ea014['execute']('forward'===_0x4f87ea?'showNextChange':'showPreviousChange');}),_0x552551;}),_0x2870db['show'](),_0x53c58a['on']('change:isReady',(_0x1a75b5,_0x436b34,_0x2723e9)=>{_0x2723e9?_0x2870db['hide']():_0x2870db['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4f934d,_0x3ea8de){super(_0x4f934d,_0x3ea8de);const _0x2508e5=this['bindTemplate'];this['set']({'label':y(_0x4f934d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4f934d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2508e5['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 _0x3f241d=this['fieldView']['element'];this['_tooltipString']=_0x3f241d['scrollWidth']>_0x3f241d['clientWidth']&&_0x3f241d['value']||'';}}class ti extends _0xfbdf25{constructor(_0x385e9d,_0x1b8fc2,_0xb3c765){super(_0x385e9d);const _0x344ce2=new _0x2f3a7c();_0x344ce2['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 _0x414e5b=['ck','ck-revision-history-sidebar__revision-author'];_0xb3c765&&_0x414e5b['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2ce24d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x385e9d,_0xb3c765?'Revision\x20creator':'Revision\x20author')},'children':[_0x344ce2,_0x1b8fc2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x414e5b},'children':_0x2ce24d});}}function ni(_0x152a52,_0x5b6b10){const _0x11de00=_0x152a52['bindTemplate'],_0x40fabf=_0x152a52['locale'],_0x597747=_0x157fb4(_0x40fabf);_0x597747['panelPosition']='sw';const _0x43e233=function(_0x3e132e,_0x13dac8){const _0x1b83b6=function(_0xa29988,_0x30d72a){const _0x57e62a=_0xa29988['locale'],_0x49bc73={'Compare\x20against\x20selected':y(_0x57e62a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x57e62a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x57e62a,'Restore\x20this\x20revision')};return _0x30d72a['map'](_0x540cd0=>{const _0xdb75dc=_0x49bc73[_0x540cd0['name']];return _0xdb75dc&&_0xdb75dc!==_0x540cd0['name']&&(_0x540cd0['name']=_0xdb75dc),_0x540cd0;});}(_0x3e132e,_0x13dac8),_0x7932ee=new _0x12acb5();for(const _0x55f3c of _0x1b83b6){const _0x6f024f={'type':'button','model':new to({'label':_0x55f3c['name'],'class':_0x55f3c['class'],'withText':!0x0,'role':'menuitem','_action':_0x55f3c['action']})};_0x6f024f['model']['bind']('isEnabled')['to'](_0x3e132e,'isActionsDropdownOpen',_0x3777b2=>'function'!=typeof _0x55f3c['isEnabled']||(!_0x3777b2||_0x55f3c['isEnabled'](_0x3e132e))),_0x7932ee['add'](_0x6f024f);}return _0x7932ee;}(_0x152a52,_0x5b6b10);return _0x152a52['bind']('isActionsDropdownOpen')['to'](_0x597747,'isOpen'),_0x597747['buttonView']['set']({'label':y(_0x40fabf,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x259594['threeVerticalDots']}),_0x597747['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x11de00['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x11de00['to'](_0x47b029=>_0x47b029['stopPropagation']())}}),_0x597747['on']('execute',_0x1fcb48=>{_0x152a52['isReady']&&'function'==typeof _0x1fcb48['source']['_action']&&_0x1fcb48['source']['_action'](_0x152a52);}),_0x13eac9(_0x597747,_0x43e233,{'role':'menu'}),_0x597747['listenTo'](_0x152a52,'change:isActionsDropdownOpen',(_0x58d950,_0x14dc51,_0x4eb146)=>{if(_0x4eb146)for(const _0x21a1fa of _0x597747['listView']['items']){const _0x36141f=_0x21a1fa['children']['first'],_0x12c345=_0x5b6b10['find'](_0x493ae6=>_0x493ae6['action']===_0x36141f['_action'])['isVisible'];_0x21a1fa['isVisible']=void 0x0===_0x12c345||_0x12c345(_0x152a52);}}),_0x597747;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x56e264(_0xfbdf25){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1cbbc9,_0x44ce88,_0x2cbf95,_0x19228a){super(_0x1cbbc9);const _0x5ee726=this['bindTemplate'],_0x59c9cb=function(_0x582f98,_0x402459){const _0x14a867=Array['from'](_0x402459['authors'])['filter'](_0x328f84=>_0x328f84!=_0x402459['creator']);return _0x402459['creator']&&_0x14a867['unshift'](_0x402459['creator']),_0x14a867['map'](_0x17b661=>new ti(_0x582f98,_0x17b661,_0x17b661==_0x402459['creator']));}(_0x1cbbc9,_0x44ce88);this['id']=_0x44ce88['id'],this['_revision']=_0x44ce88,this['_requireRevisionName']=_0x19228a,this['bind']('name','createdAt')['to'](_0x44ce88),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x48dbba=>{return _0x208dee=_0x1cbbc9['uiLanguage'],(_0x2012ee=_0x48dbba)['toLocaleDateString'](_0x208dee,{'month':'long','day':'numeric'})+',\x20'+_0x2012ee['toLocaleTimeString'](_0x208dee,{'hour':'numeric','minute':'numeric'});var _0x208dee,_0x2012ee;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1cbbc9,_0x870591),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1e0e4d=>_0x1e0e4d||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x461316,_0x4139f1)=>_0x461316&&_0x4139f1),this['revisionActionsView']=_0x2cbf95&&_0x2cbf95['length']?ni(this,_0x2cbf95):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5ee726['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5ee726['if']('isEnabled','ck-disabled',_0x335e53=>!_0x335e53),_0x5ee726['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5ee726['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5ee726['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':_0x5ee726['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':_0x59c9cb}]},this['revisionActionsView']],'on':{'click':_0x5ee726['to'](_0x22d050=>{_0x22d050['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x415c3e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x415c3e,'change',()=>{this['_requireRevisionName']&&!_0x415c3e['value']||this['fire']('setName',{'id':this['id'],'name':_0x415c3e['value']}),_0x415c3e['value']||(_0x415c3e['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(_0x144111,_0x28ebb7){const _0x4517e0=_0x3db3bf['fromJSDate'](_0x144111)['setLocale'](_0x28ebb7),_0xd26c15=_0x3db3bf['local'](),_0x347bb4=_0xd26c15['minus']({'days':0x1})['startOf']('day');let _0x371e99,_0x2a732f;return _0x4517e0['hasSame'](_0xd26c15,'day')?(_0x371e99=_0x4517e0['startOf']('day')['toJSDate'](),_0x2a732f=_0x4517e0['toRelativeCalendar']()):_0x4517e0['hasSame'](_0x347bb4,'day')?(_0x371e99=_0x347bb4['toJSDate'](),_0x2a732f=_0x4517e0['toRelativeCalendar']()):_0x4517e0['hasSame'](_0xd26c15,'week')?(_0x371e99=_0x4517e0['startOf']('week')['toJSDate'](),_0x2a732f=_0x4517e0['weekdayLong']||''):_0x4517e0['hasSame'](_0xd26c15,'year')?(_0x371e99=_0x4517e0['startOf']('month')['toJSDate'](),_0x2a732f=_0x4517e0['monthLong']||''):(_0x371e99=_0x4517e0['startOf']('year')['toJSDate'](),_0x2a732f=String(_0x4517e0['year'])),{'startDate':_0x371e99,'localizedPeriodName':_0x2a732f};}class mi extends _0xfbdf25{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x45281d,_0x45e7c6,_0x52e35f,_0x38fde6){super(_0x45281d);const _0x5c6bb5=di(_0x45e7c6,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x45e7c6,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52e35f,this['_requireRevisionName']=_0x38fde6,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':_0x5c6bb5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4dcab8){const _0x4f9340=new ai(this['locale'],_0x4dcab8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4f9340);}['removeRevision'](_0x3ffba9){const _0x3e5a74=this['revisionViews']['find'](_0x595db2=>_0x595db2['id']===_0x3ffba9['id']);this['revisionViews']['remove'](_0x3e5a74);}}class as extends _0xfbdf25{constructor(_0x197d06){super(_0x197d06);const _0x54c880=new _0x2f3a7c();_0x54c880['content']=_0x259594['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x54c880,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x197d06,'Revision\x20history')]}]});}}class ci extends _0xfbdf25{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1569b5,_0x1fc8dd,_0x1623e0,_0x291ab6){super(_0x1569b5);const _0x57c219=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1fc8dd,this['_revisionActions']=_0x1623e0,this['_requireRevisionName']=_0x291ab6,this['on']('select',(_0xfddcc4,_0x736671)=>{this['fire']('revisionSelected',_0x736671);}),this['on']('setName',(_0x4fe811,_0x380098)=>{this['fire']('revisionSetName',_0x380098);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1569b5),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x57c219['if']('isEnabled','ck-disabled',_0x33b5f3=>!_0x33b5f3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4d04b0 of this['_revisions'])this['_addRevision'](_0x4d04b0);this['_revisions']['on']('add',(_0x58421b,_0x365766)=>{this['_addRevision'](_0x365766);}),this['_revisions']['on']('remove',(_0x5d689a,_0x483c38)=>{this['_removeRevision'](_0x483c38);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3f6c68=>_0x3f6c68['revisionViews']['map'](_0x47f87d=>_0x47f87d))['flat']();}['selectRevision'](_0x17f183){for(const _0x43ca83 of this['revisionViews'])_0x17f183&&_0x17f183['id']===_0x43ca83['id']?_0x43ca83['select']():_0x43ca83['deselect']();}['highlightRevisions'](_0x452689){for(const _0x31c0c5 of this['revisionViews'])_0x452689['some'](({id:_0x1e3512})=>_0x1e3512===_0x31c0c5['id'])?_0x31c0c5['highlight']():_0x31c0c5['unhighlight']();}['_addRevision'](_0x510a11){const _0x5965a=di(_0x510a11['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x409f99=this['timePeriodViews']['get'](0x0);_0x409f99&&_0x409f99['startDate']['getTime']()===_0x5965a['getTime']()||(_0x409f99=new mi(this['locale'],_0x5965a,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x409f99)),_0x409f99['addRevision'](_0x510a11);}['_removeRevision'](_0x2f6ee9){const _0xd848e=di(_0x2f6ee9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xd848e)['removeRevision'](_0x2f6ee9);}['_getTimePeriodViewByStartDate'](_0x24b9bd){return this['timePeriodViews']['find'](_0x22bebb=>_0x22bebb['startDate']['getTime']()===_0x24b9bd['getTime']());}}class w extends _0x432e29{['_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(_0x46a830){super(_0x46a830),this['_revisionViewer']=_0x46a830['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xb75c51=this['_revisionsRepository']['_revisions'],_0x15407f=this['_createRevisionActions'](),_0x14e73b=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xb75c51,_0x15407f,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',(_0x3beeb4,_0x9f3cb1)=>{_0x9f3cb1['revisionViews']['on']('add',(_0x48563d,_0x29393c)=>{_0x29393c['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)),_0x14e73b['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3ff92b=this['_revisionsRepository']['getRevision'](0x0);if(_0x3ff92b){const _0x3b29d0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3ff92b['id']);this['_revisionViewer']['compare'](_0x3ff92b,_0x3b29d0);}}['_handleRevisionSelected'](_0x5ee595,_0x1453f0){const _0x5dd279=this['_revisionsRepository']['getRevision'](_0x1453f0['id']),_0x3cf6b1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5dd279['id']);this['_revisionViewer']['compare'](_0x5dd279,_0x3cf6b1);}['_handleRevisionSetName'](_0x57b5b1,_0x3ff430){this['_revisionsRepository']['getRevision'](_0x3ff430['id'])['setName'](_0x3ff430['name']);}['_handleDiffChange'](_0x130221,_0x5f40aa,_0x39802f){const _0x5c4a97=this['_revisionsRepository']['getRevisionsInDiff'](_0x39802f);_0x5c4a97['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5c4a97),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5c4a97[0x0]));}['_createRevisionActions'](){const _0x1ae8bf=this['editor'],_0x3e04bb=w['availableRevisionActions'],_0x194262=_0x1ae8bf['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x194262['length'])return _0x194262['map'](_0x15557b=>{const _0xeef10e='string'==typeof _0x15557b?Object['assign']({},_0x3e04bb[_0x15557b]):_0x15557b;return _0xeef10e['action']=_0xeef10e['action']['bind'](this,_0x1ae8bf),_0xeef10e['isVisible']&&(_0xeef10e['isVisible']=_0xeef10e['isVisible']['bind'](this,_0x1ae8bf)),_0xeef10e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x39305a},_0x485433)=>{const _0x2e25f0=_0x39305a['get'](d),_0x44b18c=_0x2e25f0['repository'];let _0x22654b=_0x2e25f0['diff']['newRevisionId'],_0x5f649f=_0x485433['id'];_0x44b18c['getIndex'](_0x22654b)>_0x44b18c['getIndex'](_0x5f649f)&&([_0x22654b,_0x5f649f]=[_0x5f649f,_0x22654b]),_0x2e25f0['compare'](_0x22654b,_0x5f649f);},'isVisible':({plugins:_0x1e70e6},_0x12f71a)=>{const _0x61507f=_0x1e70e6['get'](d);return!(_0x61507f['repository']['getRevisionsInDiff'](_0x61507f['diff'])['length']>0x2)&&!_0x12f71a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2d4daa,{id:_0xc0777d})=>{_0x2d4daa['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc0777d);},'isVisible':({plugins:_0x26e553},_0x229369)=>!!_0x26e553['get'](d)['repository']['getLaterVisibleRevision'](_0x229369['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3cd220},{id:_0x3d49c5,revisionNameView:_0x553b11})=>{const _0x4902cf=_0x3cd220['get'](d),_0x30fe75=_0x4902cf['repository']['getEarlierVisibleRevision'](_0x3d49c5);_0x4902cf['compare'](_0x3d49c5,_0x30fe75),_0x553b11['focus'](),_0x553b11['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x54ac3c,_0x4888b6){super(_0x54ac3c),this['_view']=_0x4888b6,this['_toolbarConfig']=ct(_0x54ac3c['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x51e2fa){const _0x36fa2d=this['editor'],_0x474a1b=this['view'],_0x7f4349=_0x36fa2d['editing']['view'],_0x2a368e=_0x474a1b['editable'],_0x3fe9ec=_0x7f4349['document']['getRoot']();_0x2a368e['name']=_0x3fe9ec['rootName'],_0x474a1b['render']();const _0x1eefcc=_0x2a368e['element'];this['setEditableElement'](_0x2a368e['name'],_0x1eefcc),_0x474a1b['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x7f4349['attachDomRoot'](_0x1eefcc),this['_elementReplacer']['replace'](_0x51e2fa,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5b8240=this['view'],_0x1d3164=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1d3164['detachDomRoot'](_0x5b8240['editable']['name']),_0x5b8240['destroy']();}['_initToolbar'](){const _0x1a5c81=this['view'];_0x1a5c81['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1a5c81['stickyPanel']['limiterElement']=_0x1a5c81['element'],_0x1a5c81['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x47420b})=>_0x47420b),_0x1a5c81['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1a5c81['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5aa28d,_0x18cc7a,_0x5d6222={}){super(_0x5aa28d),this['stickyPanel']=new lt(_0x5aa28d),this['toolbar']=new pt(_0x5aa28d,{'shouldGroupWhenFull':_0x5d6222['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5aa28d,_0x18cc7a);}['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(_0x516e15,_0x1c349f){super(_0x1c349f),this['sourceElement']=_0x516e15,this['model']['document']['createRoot']();const _0xc5f0d4=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xc5f0d4);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x23e20c,_0x1b751c){const _0x1d454f=new this(_0x23e20c,_0x1b751c);return await _0x1d454f['initPlugins'](),await _0x1d454f['ui']['init'](_0x23e20c),await _0x1d454f['data']['init'](_0x1d454f['config']['get']('initialData')||''),_0x1d454f['fire']('ready'),_0x1d454f;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x432e29{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x51ffa2){super(_0x51ffa2),this['result']='end';}}class H extends _0x432e29{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x392e47){if(super(_0x392e47),!this['editor']['config']['get']('revisionHistory'))throw new _0x2f9caf('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x45e3ac=>this['_showRevisionViewer']({..._0x45e3ac,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x200850=>this['_closeRevisionViewer'](_0x200850)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x27e82c=>this['_restoreRevision'](_0x27e82c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x10c5be){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x10c5be;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x51f00c){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x51f00c);}['getRevision'](_0x3ff2e7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3ff2e7);}['getRevisions'](_0x3f596b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3f596b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1a92b6=this['editor'],_0x24c119=_0x534d9f(_0x1a92b6,p),_0x444af1=_0x1a92b6['plugins']['get']('RevisionTracker'),_0xa476d5=_0x1a92b6['plugins']['get']('Users')['users'];return _0x24c119['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x24c119['lazyRoots'],(_0x24c119['plugins']['push'](k,d,R,class extends _0x432e29{static get['requires'](){return[d,'Users'];}['init'](){const _0x3fdcdc=this['editor']['plugins']['get']('Users');for(const _0x3c43d3 of _0xa476d5)_0x3c43d3['isAnonymous']||_0x3fdcdc['getUser'](_0x3c43d3['id'])||_0x3fdcdc['addUser'](_0x3c43d3);const _0x537649=_0x444af1['repository']['getRevisions']();let _0x4b9723=null;const _0x4c5661=this['editor']['plugins']['get']('RevisionViewer');_0x4c5661['adapter']=_0x444af1['adapter'],_0x4c5661['bind']('isEnabled')['to'](_0x444af1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1a92b6,'isReadOnly',_0x1339ed=>!_0x1339ed);for(const _0x4452ae of _0x537649){const _0x5bbf33=null===_0x4452ae['creator'];if(_0x5bbf33&&_0x4452ae['toVersion']===_0x4452ae['fromVersion'])continue;const _0x3645f6=_0x4452ae['toJSON']();_0x4c5661['addRevisionData'](_0x3645f6,(_0x18e2ed,_0x4f9793,_0x5f5085)=>{if(_0x5bbf33){if(_0x4b9723)_0x4b9723['_update'](_0x18e2ed,_0x4f9793);else{if(!_0x4f9793){const _0x1814a=_0x5f5085['toJSON']();_0x1814a['id']=_0x20896a(),_0x444af1['saveRevision'](_0x1814a,_0x5f5085['toVersion'])['then'](_0x35c778=>{_0x4b9723=_0x35c778;});}}}else _0x4452ae['_update'](_0x18e2ed,_0x4f9793);});}}},w),_0x24c119);}['_enhanceShowRevisionViewerCallback'](){const _0x4ce5f9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1a164b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x105558=this['editor']['plugins']['get']('Autosave');await _0x105558['save']();}else await _0x1a164b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x30f70c=this['editor']['plugins']['get']('Dialog');_0x30f70c['isOpen']&&_0x30f70c['hide']();}const _0x486a08=this['_getRevisionViewerEditorConfig']();return _0x4ce5f9(_0x486a08)['then'](_0x163ba1=>{return(this['_viewerEditor']=_0x163ba1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x163ba1;})['catch'](_0x1a2ab3=>(console['error'](_0x1a2ab3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x433a9e=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'](),_0x433a9e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x36d625=this['editor']['plugins']['get']('Annotations');_0x36d625['refreshVisibility'](),_0x36d625['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4c2244){const _0x396251=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1ad990=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x254d24=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x254d24,_0x4c2244)['then'](_0x2830a0=>(_0x1ad990['style']['display']='block',_0x396251['style']['display']='none',_0x2830a0));}['_closeRevisionViewer'](_0x43ad7c){const _0x218423=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x218423['style']['display']='',_0x43ad7c['destroy']();}async['_restoreRevision'](_0x487a09){const _0xc16686=this['editor'],_0x1d90ca=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1166d7=_0xc16686['plugins']['get']('RevisionTracker'),_0x5b712b=_0x1d90ca['repository']['getRevision'](_0x487a09);let _0x25fb9c,_0x2f88ba,_0x23db8c;try{_0x25fb9c=await _0x1d90ca['getRevisionData'](_0x5b712b),_0x2f88ba=await _0x1d90ca['getRevisionRootsAttributes'](_0x5b712b);}catch(_0xa926f8){return void console['error'](_0xa926f8);}_0xc16686['model']['change'](_0x390bcd=>{for(const _0x9dbd5f of Array['from'](_0xc16686['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x390bcd['removeMarker'](_0x9dbd5f);}),_0x1d90ca['isReady']=!0x1,_0xc16686['model']['enqueueChange'](_0x4cdd3e=>{_0x4cdd3e['setSelection'](null),_0x4cdd3e['removeSelectionAttribute'](_0xc16686['model']['document']['selection']['getAttributeKeys']());const _0x1f80b2=Object['keys'](_0x25fb9c);for(const _0x36c009 of _0xc16686['model']['document']['roots'])'$graveyard'!=_0x36c009['rootName']&&_0x36c009['isAttached']()&&!_0x1f80b2['includes'](_0x36c009['rootName'])&&_0x4cdd3e['detachRoot'](_0x36c009);for(const _0xf922 of _0x1f80b2){let _0x315823=_0xc16686['model']['document']['getRoot'](_0xf922);_0x315823&&_0x315823['isAttached']()||(_0x315823=_0x4cdd3e['addRoot'](_0xf922));const _0x7dbb00=_0x2f88ba[_0xf922],_0x439de8=Object['keys'](_0x7dbb00),_0x1577b2=_0x25fb9c[_0xf922];for(const _0xc7df7c of _0x315823['getAttributeKeys']())_0x439de8['includes'](_0xc7df7c)||_0x4cdd3e['removeAttribute'](_0xc7df7c,_0x315823);for(const _0x1b3a55 of _0x439de8)_0x4cdd3e['setAttribute'](_0x1b3a55,_0x2f88ba[_0xf922][_0x1b3a55],_0x315823);_0x4cdd3e['remove'](_0x4cdd3e['createRangeIn'](_0x315823)),_0x4cdd3e['insert'](_0xc16686['data']['parse'](_0x1577b2,_0x315823),_0x315823,0x0);}});const _0x2c3c7d=y(_0xc16686['locale'],'Restored');if(_0x5b712b['name'])_0x23db8c=-0x1==_0x5b712b['name']['indexOf'](_0x2c3c7d)?_0x2c3c7d+':\x20'+_0x5b712b['name']:_0x5b712b['name'];else _0x23db8c=_0x2c3c7d+':\x20'+(_0x5b712b['createdAt']['toLocaleDateString'](_0xc16686['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5b712b['createdAt']['toLocaleTimeString'](_0xc16686['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1166d7['saveRevision']({'name':_0x23db8c}),_0x1d90ca['isReady']=!0x0,_0xc16686['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};
|