@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240530.0 → 0.0.0-nightly-20240531.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 +5 -5
- 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
|
-
_0x2ddb56(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x32f524){super(),this['id']=_0x32f524['id']||_0x99be31(),this['creator']=_0x32f524['creator']||null,this['authors']=_0x32f524['authors']||[],this['diffData']=_0x32f524['diffData']||null,this['toVersion']=_0x32f524['toVersion']||0x0,this['fromVersion']=_0x32f524['fromVersion']||0x0,this['set']('name',_0x32f524['name']||''),this['set']('createdAt',_0x32f524['createdAt']||new Date()),this['set']('attributes',_0x32f524['attributes']||{});}['setName'](_0x3d9bdc){this['_update']({'name':_0x3d9bdc});}['setAttribute'](_0x42d8ce,_0xf29f95){const _0x2da882=_0x252b5f(this['attributes']);_0x3b0733(_0x2da882,_0x42d8ce,_0xf29f95),this['_update']({'attributes':_0x2da882});}['removeAttribute'](_0x2ee16d){const _0x462bf4=_0x252b5f(this['attributes']);_0x30eb64(_0x462bf4,_0x2ee16d),this['_update']({'attributes':_0x462bf4});}['_update'](_0x473e82,_0x51b557=!0x1){let _0x41b5c0=!0x1;const _0x216950={'id':this['id']},_0x37b89a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4a40df of _0x37b89a){const _0x11e4dd=_0x473e82[_0x4a40df];void 0x0!==_0x11e4dd&&_0x11e4dd!==this[_0x4a40df]&&(this[_0x4a40df]=_0x11e4dd,_0x216950[_0x4a40df]=_0x11e4dd,_0x41b5c0=!0x0);}_0x41b5c0&&(_0x216950['authors']&&(_0x216950['authorsIds']=_0x216950['authors']['map'](_0x1c0a7a=>_0x1c0a7a['id']),delete _0x216950['authors']),this['fire']('_update',_0x216950,_0x51b557));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x41fac6=>_0x41fac6['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3e301a{['_revisions'];static get['requires'](){return[_0x503f5c];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x15d7f1){super(_0x15d7f1),this['_revisions']=new _0x122e73();}['afterInit'](){!function(_0x1c2382){function _0x32b2d9(_0x47f5c3,_0x41d294,_0x1ac245){const _0x435968={};_0x435968[_0x16c411([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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],_0x435968[_0x16c411([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 _0x3ed019=new Uint8Array(0x10);for(let _0x5e88f1=0xf;_0x5e88f1>=0x0;--_0x5e88f1)_0x3ed019[_0x5e88f1]=_0x1ac245%0x100,_0x1ac245=parseInt(_0x1ac245/0x100);let _0x2c3863=null,_0x17bde6=0x10;const _0x535cdb=new Uint8Array(_0x41d294),_0x3aa45f=[],_0x50bcca=[];_0xbd8a60();for(let _0x241ce1=0x0;_0x241ce1<_0x47f5c3[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x241ce1++)0x10===_0x17bde6&&(_0x2c3863=_0x1f0c9f(_0x3ed019),_0x17bde6=0x0,_0x890e06(_0x3ed019)),_0x47f5c3[_0x241ce1]^=_0x2c3863[_0x17bde6++];return _0x47f5c3;function _0x306b83(_0x5c55d5){const _0x381ba8=[];for(let _0x581cb3=0x0;_0x581cb3<_0x5c55d5[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x581cb3+=0x4)_0x381ba8[_0x16c411([0x70,0x75,0x73,0x68])](_0x5c55d5[_0x581cb3]<<0x18|_0x5c55d5[_0x581cb3+0x1]<<0x10|_0x5c55d5[_0x581cb3+0x2]<<0x8|_0x5c55d5[_0x581cb3+0x3]);return _0x381ba8;}function _0x890e06(_0x3602d4){for(let _0x58b7ad=0xf;_0x58b7ad>=0x0;_0x58b7ad--){if(0xff!==_0x3602d4[_0x58b7ad]){_0x3602d4[_0x58b7ad]++;break;}_0x3602d4[_0x58b7ad]=0x0;}}function _0x1f0c9f(_0x3b9ec9){const _0x3ca708=_0x3aa45f[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5f1456=[0x0,0x0,0x0,0x0];let t=_0x306b83(_0x3b9ec9);for(let _0x3f5a77=0x0;_0x3f5a77<0x4;_0x3f5a77++)t[_0x3f5a77]^=_0x3aa45f[0x0][_0x3f5a77];for(let _0x481aa3=0x1;_0x481aa3<_0x3ca708;_0x481aa3++){for(let _0xd418f4=0x0;_0xd418f4<0x4;_0xd418f4++)_0x5f1456[_0xd418f4]=_0x435968[_0x16c411([0x54,0x31])][t[_0xd418f4]>>0x18&0xff]^_0x435968[_0x16c411([0x54,0x32])][t[(_0xd418f4+0x1)%0x4]>>0x10&0xff]^_0x435968[_0x16c411([0x54,0x33])][t[(_0xd418f4+0x2)%0x4]>>0x8&0xff]^_0x435968[_0x16c411([0x54,0x34])][0xff&t[(_0xd418f4+0x3)%0x4]]^_0x3aa45f[_0x481aa3][_0xd418f4];t=_0x5f1456[_0x16c411([0x73,0x6c,0x69,0x63,0x65])]();}const _0x45f3ed=new Uint8Array(0x10);let _0x29c62c;for(let _0x2cd3c9=0x0;_0x2cd3c9<0x4;_0x2cd3c9++)_0x29c62c=_0x3aa45f[_0x3ca708][_0x2cd3c9],_0x45f3ed[0x4*_0x2cd3c9]=0xff&(_0x435968[_0x16c411([0x53])][t[_0x2cd3c9]>>0x18&0xff]^_0x29c62c>>0x18),_0x45f3ed[0x4*_0x2cd3c9+0x1]=0xff&(_0x435968[_0x16c411([0x53])][t[(_0x2cd3c9+0x1)%0x4]>>0x10&0xff]^_0x29c62c>>0x10),_0x45f3ed[0x4*_0x2cd3c9+0x2]=0xff&(_0x435968[_0x16c411([0x53])][t[(_0x2cd3c9+0x2)%0x4]>>0x8&0xff]^_0x29c62c>>0x8),_0x45f3ed[0x4*_0x2cd3c9+0x3]=0xff&(_0x435968[_0x16c411([0x53])][0xff&t[(_0x2cd3c9+0x3)%0x4]]^_0x29c62c);return _0x45f3ed;}function _0xbd8a60(){const _0x16fc03=_0x435968[_0x16c411([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x535cdb[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4160c8=0x0;_0x4160c8<=_0x16fc03;_0x4160c8++)_0x3aa45f[_0x16c411([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x50bcca[_0x16c411([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x143b33=0x4*(_0x16fc03+0x1),_0x5ac7c8=_0x535cdb[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x43a2c1=_0x306b83(_0x535cdb);let _0x26cc23;for(let _0x369b86=0x0;_0x369b86<_0x5ac7c8;_0x369b86++)_0x26cc23=_0x369b86>>0x2,_0x3aa45f[_0x26cc23][_0x369b86%0x4]=_0x43a2c1[_0x369b86],_0x50bcca[_0x16fc03-_0x26cc23][_0x369b86%0x4]=_0x43a2c1[_0x369b86];let _0x5a6c0d,_0x20e815=0x0,t=_0x5ac7c8;for(;t<_0x143b33;){_0x5a6c0d=_0x43a2c1[_0x5ac7c8-0x1],_0x43a2c1[0x0]^=_0x435968[_0x16c411([0x53])][_0x5a6c0d>>0x10&0xff]<<0x18^_0x435968[_0x16c411([0x53])][_0x5a6c0d>>0x8&0xff]<<0x10^_0x435968[_0x16c411([0x53])][0xff&_0x5a6c0d]<<0x8^_0x435968[_0x16c411([0x53])][_0x5a6c0d>>0x18&0xff]^_0x435968[_0x16c411([0x72,0x63,0x6f,0x6e])][_0x20e815]<<0x18,_0x20e815+=0x1;for(let _0x41b0c4=0x1;_0x41b0c4<_0x5ac7c8/0x2;_0x41b0c4++)_0x43a2c1[_0x41b0c4]^=_0x43a2c1[_0x41b0c4-0x1];_0x5a6c0d=_0x43a2c1[_0x5ac7c8/0x2-0x1],_0x43a2c1[_0x5ac7c8/0x2]^=_0x435968[_0x16c411([0x53])][0xff&_0x5a6c0d]^_0x435968[_0x16c411([0x53])][_0x5a6c0d>>0x8&0xff]<<0x8^_0x435968[_0x16c411([0x53])][_0x5a6c0d>>0x10&0xff]<<0x10^_0x435968[_0x16c411([0x53])][_0x5a6c0d>>0x18&0xff]<<0x18;for(let _0x567da6=_0x5ac7c8/0x2+0x1;_0x567da6<_0x5ac7c8;_0x567da6++)_0x43a2c1[_0x567da6]^=_0x43a2c1[_0x567da6-0x1];let _0x59b8fa,_0x1c668d,_0x393589=0x0;for(;_0x393589<_0x5ac7c8&&t<_0x143b33;)_0x59b8fa=t>>0x2,_0x1c668d=t%0x4,_0x3aa45f[_0x59b8fa][_0x1c668d]=_0x43a2c1[_0x393589],_0x50bcca[_0x16fc03-_0x59b8fa][_0x1c668d]=_0x43a2c1[_0x393589++],t++;}for(let _0x1b95d3=0x1;_0x1b95d3<_0x16fc03;_0x1b95d3++)for(let _0x2f293c=0x0;_0x2f293c<0x4;_0x2f293c++)_0x5a6c0d=_0x50bcca[_0x1b95d3][_0x2f293c],_0x50bcca[_0x1b95d3][_0x2f293c]=_0x435968[_0x16c411([0x55,0x31])][_0x5a6c0d>>0x18&0xff]^_0x435968[_0x16c411([0x55,0x32])][_0x5a6c0d>>0x10&0xff]^_0x435968[_0x16c411([0x55,0x33])][_0x5a6c0d>>0x8&0xff]^_0x435968[_0x16c411([0x55,0x34])][0xff&_0x5a6c0d];}}function _0x16c411(_0x37e3ce){return _0x37e3ce['map'](_0x20f309=>String['fromCharCode'](_0x20f309))['join']('');}(_0x40f8a2=>{function _0x2840e3(){const _0x3c88f4=[{[_0x16c411([0x69,0x64])]:0x1,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x16c411([0x69,0x64])]:0x2,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([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]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x16c411([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x16c411([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x16c411([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x16c411([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x16c411([0x69,0x64])]:0x3,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x16c411([0x69,0x64])]:0x4,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([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]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x16c411([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x16c411([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x16c411([0x69,0x64])]:0x5,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([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]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}},{[_0x16c411([0x69,0x64])]:0x6,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}},{[_0x16c411([0x69,0x64])]:0x7,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}},{[_0x16c411([0x69,0x64])]:0x8,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([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]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}},{[_0x16c411([0x69,0x64])]:0x9,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x16c411([0x69,0x64])]:0xa,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([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]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([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]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([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]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}},{[_0x16c411([0x69,0x64])]:0xb,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x16c411([0x69,0x64])]:0xc,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x16c411([0x69,0x64])]:0xd,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}},{[_0x16c411([0x69,0x64])]:0xe,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x16c411([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([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])},{[_0x16c411([0x69,0x64])]:0xf,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x16c411([0x69,0x64])]:0x10,[_0x16c411([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x16c411([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x16c411([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x16c411([0x66,0x67,0x69])]:[0xc]}}];return _0x3e3bae(_0x3c88f4),_0x3c88f4;function _0x2684e1(_0x3d2cf4){return 0x1<<_0x3d2cf4-0x1;}function _0x3e3bae(_0x722c76){_0x722c76[_0x16c411([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e841b=>{_0x5e841b[_0x16c411([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2684e1(_0x5e841b[_0x16c411([0x69,0x64])]),_0x4d5554(_0x5e841b)&&_0x5e841b[_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3e3bae(_0x5e841b[_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4d5554(_0x29f654){return _0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x29f654;}const _0xac450a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x52a780=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x34f03f(_0x1d1fc8){const _0x2c8344=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1bc203(_0x1d1fc8,new Uint8Array([..._0xac450a,..._0x2c8344,..._0x52a780]));}function _0x1bc203(_0x32b313,_0x54e589){const _0x1ecab1=_0x253999(_0x32b313),_0x5e2862=Array[_0x16c411([0x66,0x72,0x6f,0x6d])](_0x526e2c(_0x1ecab1)),_0x37bb97=_0x5e2862[_0x16c411([0x70,0x6f,0x70])](),_0x537e8a=_0x5e2862[_0x16c411([0x70,0x6f,0x70])]();return _0x589b2d(_0x32b2d9(_0x5e2862,_0x54e589,_0x537e8a+0x100*_0x37bb97));}function _0x253999(_0xcc0252){const _0x55358a=atob(_0xcc0252),[_0x9fba14,_0x4ad971]=_0x55358a[_0x16c411([0x73,0x70,0x6c,0x69,0x74])](_0x16c411([0x2d]));try{if(atob(_0x4ad971))return atob(_0x9fba14);}catch(_0xac7de9){}return _0x55358a;}function _0x213b4b(_0x55f03c){try{const _0x29de8d=_0x34f03f(_0x55f03c),_0xda56b3=JSON[_0x16c411([0x70,0x61,0x72,0x73,0x65])](_0x29de8d),_0xf56a61=parseInt(_0xda56b3[_0x16c411([0x31])]),_0x2a5287=_0xda56b3[_0x16c411([0x32])]||'',_0x423ff4=parseInt(_0xda56b3[_0x16c411([0x33])]),_0x131c61=parseInt(_0xda56b3[_0x16c411([0x34])])||0x0,_0x4fd323=parseInt(_0xda56b3[_0x16c411([0x35])])||0x0;return{[_0x16c411([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2a5287,[_0x16c411([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x131c61,[_0x16c411([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xf56a61,[_0x16c411([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x423ff4,[_0x16c411([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4fd323};}catch(_0x4f464c){return null;}}const _0x4c4b5d=_0x2840e3(),_0x45242a={[_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2db4f5,[_0x16c411([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])]:_0x3ee17a,[_0x16c411([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])]:_0x2006cb},_0x141451=_0x40f8a2[_0x16c411([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x485cd5=_0x16c411([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x40f8a2?_0x40f8a2['context']:_0x40f8a2['editor'],_0x29a0d8=_0x16c411([0x34,0x30,0x34,0x38,0x31,0x30,0x36,0x30]),_0x5d9b9e=_0x16c411([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]),_0x185e06=_0x485cd5['config']['get'](_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x10fe58=_0x4c4b5d[_0x16c411([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d5554)[_0x16c411([0x66,0x69,0x6e,0x64])](_0x1f476b=>_0x1f476b[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x141451);function _0x144c0f(_0x134d29,_0x16f160){_0x45242a[_0x16f160[_0x16c411([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x134d29,_0x16f160),_0x16f160[_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x16f160[_0x16c411([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x16c411([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x138530=>_0x526714(_0x485cd5,_0x138530[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x16c411([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dc953=>_0x144c0f(_0x134d29,_0x2dc953));}function _0x2db4f5(_0x258b6a,_0x2dfc83){_0x59bd5c(_0x3080a7(_0x258b6a,_0x2dfc83),_0x2dfc83);}function _0x3ee17a(_0x2bfd83,_0x4638fd){function _0x4113d2(_0x274061,_0x58c12c){try{if(_0x526714(_0x485cd5,_0x16c411([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x274061){const _0x599d95=_0x19c278(_0x485cd5,_0x16c411([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x16c411([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x599d95)/0x2>_0x274061[_0x16c411([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2b9f05(_0x58c12c[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3080a7(_0x274061,_0x58c12c);}catch(_0x405a22){return _0x2b9f05(_0x58c12c[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x59bd5c(_0x4113d2(_0x2bfd83,_0x4638fd),_0x4638fd);}function _0x2006cb(_0x40d97a,_0x503c66){const _0x12d890=_0x52a780[0x0]*_0xac450a[0x1],_0xa077cb=_0x52a780[0x0]*_0xac450a[0x2],_0x1f8bcc=_0x52a780[0x2]*_0xac450a[0x2];_0x526714(_0x485cd5,_0x16c411([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19c278(_0x485cd5,_0x16c411([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x16c411([0x73,0x74,0x61,0x74,0x65])]==_0x16c411([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4d894c()]=_0x1f8bcc);function _0x31fd9b(_0x50a44c,_0x316eb0){try{return _0x36dfb0()?_0x2b9f05(_0x316eb0[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x56,0x61,0x6c,0x69,0x64])):_0x3080a7(_0x50a44c,_0x316eb0);}catch(_0x5d0a7d){return _0x2b9f05(_0x316eb0[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x121d62(_0xc6a9c5,_0x5d5b36){const _0xb90dac=0x7;if(_0xc6a9c5==_0x5d5b36[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x49e9dc();else{if(_0xc6a9c5==_0x5d5b36[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c])){const _0x574f2f=_0x51dd58();_0x574f2f&&_0x49d8bb(_0x574f2f,_0x5d5b36[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2f2b80=_0x459d40();window[_0x16c411([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x49d8bb(_0x16c411([0x74,0x69,0x6d,0x65]),_0x5d5b36[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2f2b80);const _0x4b83ce=_0x19c278(_0x485cd5,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x16c411([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4b83ce[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xb90dac?_0x49d8bb(_0x16c411([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5d5b36[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4b83ce['on'](_0x16c411([0x61,0x64,0x64]),()=>{_0x4b83ce[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xb90dac&&_0x49d8bb(_0x16c411([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5d5b36[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x51dd58(){if(!_0x526714(_0x485cd5,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x23973e in window)if(Number['isNaN'](Number(_0x23973e))){if(window[_0x23973e]===_0x12d890)return _0x16c411([0x74,0x69,0x6d,0x65]);if(window[_0x23973e]===_0xa077cb)return _0x16c411([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x36dfb0(){if(!_0x526714(_0x485cd5,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x322965 in window)if(Number['isNaN'](Number(_0x322965))&&window[_0x322965]===_0x1f8bcc)return!0x0;return!0x1;}function _0x49d8bb(_0x4482ad,_0x4777b4){_0x49e9dc(),_0x2b9f05(_0x4777b4+_0x16c411([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4482ad),window[_0x4d894c()]=_0x4482ad===_0x16c411([0x74,0x69,0x6d,0x65])?_0x12d890:_0xa077cb;}function _0x459d40(){let _0x41db2d=_0x52a780[0x6]*_0xac450a[0x8]*_0xac450a[0x6];return _0x526714(_0x485cd5,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x41db2d/=0xa),_0x41db2d;}function _0x49e9dc(){const _0x31e6ff=_0x485cd5;function _0x5cae3e(){_0x526714(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x16c411([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x16c411([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x16c411([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x16c411([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5f4d36,_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x16c411([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5f4d36,_0x31e6ff[_0x16c411([0x6d,0x6f,0x64,0x65,0x6c])][_0x16c411([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f4d36,_0x31e6ff[_0x16c411([0x6d,0x6f,0x64,0x65,0x6c])][_0x16c411([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f4d36,_0x31e6ff[_0x16c411([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16c411([0x6d,0x6f,0x64,0x65,0x6c]))),_0x526714(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x16c411([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x16c411([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x16c411([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x16c411([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5f4d36,_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x16c411([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5f4d36);}_0x31e6ff[_0x16c411([0x73,0x74,0x61,0x74,0x65])]==_0x16c411([0x72,0x65,0x61,0x64,0x79])?_0x5cae3e():_0x31e6ff[_0x16c411([0x6f,0x6e,0x63,0x65])](_0x16c411([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x526714(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5cae3e(),_0x526714(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x55284b=_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5b8a53=_0x55284b['getRevision'](0x0),_0x172e41=_0x55284b['getEarlierVisibleRevision'](_0x5b8a53[_0x16c411([0x69,0x64])]);_0x19c278(_0x31e6ff,_0x16c411([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x16c411([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5b8a53[_0x16c411([0x69,0x64])],_0x172e41?_0x172e41[_0x16c411([0x69,0x64])]:null,0x1)['then'](()=>_0x5cae3e());}});}_0x121d62(_0x31fd9b(_0x40d97a,_0x503c66),_0x503c66);}function _0x3080a7(_0x36c60b,_0x226bba){try{return _0x382a10(_0x226bba)?_0x2b9f05(_0x226bba[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x56,0x61,0x6c,0x69,0x64])):_0x36c60b&&_0x50118a(_0x36c60b[_0x16c411([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x226bba)?_0x36c60b[_0x16c411([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x16c411([0x6f,0x70,0x65,0x6e])][_0x16c411([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x29a0d8)/0x2>_0x36c60b[_0x16c411([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2b9f05(_0x226bba[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x36c60b[_0x16c411([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2b9f05(_0x226bba[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c])):_0x2b9f05(_0x226bba[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x56,0x61,0x6c,0x69,0x64])):_0x2b9f05(_0x226bba[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x18484b){return _0x2b9f05(_0x226bba[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x59bd5c(_0x3e193d,_0x1015cc){if(_0x485cd5 instanceof _0x5b491b){const _0x28ae4a=_0x485cd5;_0x3e193d==_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x321342(_0x28ae4a):_0x3e193d==_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c])&&window[_0x16c411([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x321342(_0x28ae4a),_0x2b9f05(_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x52a780[0x6]*_0xac450a[0x8]*_0xac450a[0x6]),_0x28ae4a[_0x16c411([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x16c411([0x6f,0x6e])](_0x16c411([0x61,0x64,0x64]),(_0x1fa178,_0x3cbd61)=>{_0x3e193d!=_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3e193d!=_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3e193d!=_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4c6c77(_0x3cbd61);});}else{const _0x14c1f1=_0x485cd5;_0x3e193d==_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c6c77(_0x14c1f1):_0x3e193d==_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c])&&_0x14c1f1[_0x16c411([0x6f,0x6e])](_0x16c411([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2c683f=0x0;_0x14c1f1[_0x16c411([0x6d,0x6f,0x64,0x65,0x6c])][_0x16c411([0x6f,0x6e])](_0x16c411([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc9faac,_0x55def4)=>{_0x55def4[0x0][_0x16c411([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c683f++,0x1f8===_0x2c683f&&(_0x4c6c77(_0x14c1f1),_0x2b9f05(_0x1015cc[_0x16c411([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x16c411([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xc9faac[_0x16c411([0x6f,0x66,0x66])]());},{'priority':_0x16c411([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2b9f05(_0x5904d0){const _0x5b35f4=_0x4d894c();return _0x485cd5[_0x5b35f4]=_0x5904d0,_0x5904d0;}function _0x4d894c(){const _0x390be2=String(window[_0x16c411([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16c411([0x6e,0x6f,0x77])]())[_0x16c411([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16c411([0x2e]),'');let _0x39ebd0='';for(let _0x54cddc=0x0;_0x54cddc<_0x390be2[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54cddc+=0x2){let _0x31cd18=parseInt(_0x390be2[_0x16c411([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54cddc,_0x54cddc+0x2));_0x31cd18>=_0x5d9b9e[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31cd18-=_0x5d9b9e[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39ebd0+=_0x5d9b9e[_0x31cd18];}return _0x39ebd0;}function _0x321342(_0x4a9f06){for(const _0x55f8c7 of _0x4a9f06[_0x16c411([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4c6c77(_0x55f8c7);_0x19c278(_0x4a9f06,_0x16c411([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x16c411([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x19c278(_0x4a9f06,_0x16c411([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x16c411([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5f4d36;}function _0x4c6c77(_0x3c6d1b){function _0x1a102a(){_0x3c6d1b[_0x16c411([0x6d,0x6f,0x64,0x65,0x6c])][_0x16c411([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f4d36,_0x3c6d1b[_0x16c411([0x6d,0x6f,0x64,0x65,0x6c])][_0x16c411([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f4d36,_0x3c6d1b[_0x16c411([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16c411([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3c6d1b[_0x16c411([0x73,0x74,0x61,0x74,0x65])]==_0x16c411([0x72,0x65,0x61,0x64,0x79])?_0x1a102a():_0x3c6d1b[_0x16c411([0x6f,0x6e,0x63,0x65])](_0x16c411([0x72,0x65,0x61,0x64,0x79]),()=>_0x1a102a());}function _0x5f4d36(){return null;}function _0x50118a(_0x40766d,_0x1f10c6){const _0x3fee8=!!(_0x40766d&_0x1f10c6[_0x16c411([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x13f187=_0x42b726(_0x40766d,_0x1f10c6);return _0x3fee8||_0x13f187;}function _0x42b726(_0x1af579,_0x254205){const _0x3b9772=(_0x254205[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x16c411([0x66,0x67,0x69])]||null;return!!_0x3b9772&&_0x4c4b5d[_0x16c411([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16066d=>_0x3b9772[_0x16c411([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16066d[_0x16c411([0x69,0x64])]))[_0x16c411([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c8eb2=>!_0xd6c0a4(_0x5c8eb2))[_0x16c411([0x73,0x6f,0x6d,0x65])](_0x311312=>!!(_0x1af579&_0x311312[_0x16c411([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xd6c0a4(_0x574670){const _0xbac69b={[_0x16c411([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])]:_0x5be9da};return!!_0x574670['forbiddenHandler']&&_0xbac69b[_0x574670['forbiddenHandler']]();}function _0x5be9da(){return!window[_0x16c411([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x526714(_0x485cd5,_0x16c411([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x382a10(_0x482052){if(!_0x526714(_0x485cd5,_0x482052[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3220f1=_0x482052[_0x16c411([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x20b9d6=_0x3220f1[_0x16c411([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x505a89=_0x3220f1[_0x16c411([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0xb161e6=_0x3220f1[_0x16c411([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x526714(_0x485cd5,_0x16c411([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19c278(_0x485cd5,_0x16c411([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x16c411([0x73,0x74,0x61,0x74,0x65])]==_0x16c411([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x20b9d6)return!0x0;if(_0x526714(_0x485cd5,_0x16c411([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x19c278(_0x485cd5,_0x16c411([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x16c411([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x16c411([0x65,0x6e,0x64])&&_0x505a89)return!0x0;return!(!_0x526714(_0x485cd5,_0x16c411([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]))||_0x19c278(_0x485cd5,_0x16c411([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]))[_0x16c411([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x16c411([0x65,0x6e,0x64])||!_0xb161e6);}function _0x526714(_0x3b34d0,_0xd06b){return _0x3b34d0[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x16c411([0x68,0x61,0x73])](_0xd06b);}function _0x19c278(_0xe61490,_0x4a8adb){return _0xe61490[_0x16c411([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x16c411([0x67,0x65,0x74])](_0x4a8adb);}function _0x589b2d(_0xfc979e){let _0x3ef96e='';for(const _0x368777 of _0xfc979e)_0x3ef96e+=String[_0x16c411([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x368777);return _0x3ef96e;}function _0x526e2c(_0x3b17b3){const _0x10d3d4=new Uint8Array(_0x3b17b3[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x50ae3c=0x0;_0x50ae3c<_0x3b17b3[_0x16c411([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50ae3c++)_0x10d3d4[_0x50ae3c]=_0x3b17b3[_0x16c411([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50ae3c);return _0x10d3d4;}_0x10fe58&&_0x144c0f(_0x213b4b(_0x185e06),_0x10fe58);})(_0x1c2382);}(this);}['createRevision'](_0xb7ac95){const _0x59005d=this['editor']['plugins']['get']('Users');return new a({'id':_0xb7ac95['id'],'name':_0xb7ac95['name'],'creator':_0xb7ac95['creatorId']?_0x59005d['getUser'](_0xb7ac95['creatorId']):null,'diffData':_0xb7ac95['diffData']||_0xb7ac95['data'],'authors':_0xb7ac95['authorsIds']['map'](_0x17cb87=>_0x59005d['getUser'](_0x17cb87)),'createdAt':new Date(_0xb7ac95['createdAt']),'attributes':_0xb7ac95['attributes'],'fromVersion':_0xb7ac95['fromVersion'],'toVersion':_0xb7ac95['toVersion']});}['addRevision'](_0x4cdc3c,_0x597350=0x0){this['_revisions']['add'](_0x4cdc3c,_0x597350);}['getRevision'](_0x5a13cd){return this['_revisions']['get'](_0x5a13cd);}['getRevisions'](_0x32d074={'toJSON':!0x1}){const _0x3727f1=Array['from'](this['_revisions']);return _0x3727f1['reverse'](),_0x32d074['toJSON']?_0x3727f1['map'](_0x4e0c70=>_0x4e0c70['toJSON']()):_0x3727f1;}['getIndex'](_0x5c8091){return this['_revisions']['getIndex'](_0x5c8091);}['getEarlierVisibleRevision'](_0x35a399){const [,_0x352fb1]=this['getRevisionsIterator'](_0x35a399,{'direction':'earlier'});return _0x352fb1;}['getLaterVisibleRevision'](_0x85d39){const [,_0x20e0dc]=this['getRevisionsIterator'](_0x85d39,{'direction':'later'});return _0x20e0dc;}['getRevisionsInDiff'](_0x83b0c3){const _0x3d4bb6=[];for(const _0x456dd4 of this['getRevisionsIterator'](_0x83b0c3['newRevisionId']))if(_0x3d4bb6['push'](_0x456dd4),_0x456dd4['id']===_0x83b0c3['oldRevisionId'])break;return _0x3d4bb6;}*['getRevisionsIterator'](_0x2a6c76,{direction:_0xb3c226='earlier',filter:_0x4b69ae=_0x5c3cde=>!0x0}={}){const _0x2cc44b='earlier'===_0xb3c226?0x1:-0x1;let _0x535d8f=this['_revisions']['get'](_0x2a6c76),_0x3c15ea=this['getIndex'](_0x535d8f);for(yield _0x535d8f;_0x535d8f;){if(_0x3c15ea+=_0x2cc44b,_0x535d8f=this['getRevision'](_0x3c15ea),!_0x535d8f)return;_0x4b69ae(_0x535d8f)&&(yield _0x535d8f);}}}function y(_0x5f4961,_0xd5d9b3,_0x5a8abf){const t=_0x5f4961['t'];switch(_0xd5d9b3){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'},_0x5a8abf);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5a8abf);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x47e8c6,'a':_0x1ddffa,'e':_0x2c8a1a,'r':_0x2646a0,'u':_0x491896};class l extends _0x3e301a{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x503f5c,A,_0x23344b];}constructor(_0x5f081f){super(_0x5f081f),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 _0x3a34fd=_0x99be31();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3a34fd},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 _0x38a1a7=this['repository']['getRevision'](0x0),_0x23c547=_0x38a1a7&&null===_0x38a1a7['creator']?_0x38a1a7:null;if(this['_continueCurrentRevision']=!!_0x23c547&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x15e739=this['_source']['getCurrentRevisionId'](),_0x5c9db9=this['repository']['getRevision'](_0x15e739);if(_0x5c9db9)this['_startingVersion']=_0x5c9db9['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x22d538=this['_source']['history']['_operations']['find'](_0x388932=>!_0x388932['_isInit']),_0x3ffe08=_0x22d538?_0x22d538['baseVersion']:this['_source']['history']['version'];_0x38a1a7?(_0x38a1a7['toVersion']<_0x3ffe08&&_0x38a1a7['_update']({'toVersion':_0x3ffe08}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x23c547['id'],this['_startingVersion']=_0x23c547['fromVersion']):(this['_startingVersion']=_0x38a1a7['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3ffe08,this['_continueCurrentRevision']=!0x1);}}else _0x23c547&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x23c547['toVersion'],this['editor']['model']['document']['history']['version']),_0x23c547['fromVersion']===_0x23c547['toVersion']?(0x0!==_0x23c547['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x23c547['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x23c547['id'],this['_startingVersion']=_0x23c547['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',_0x26854d=>!_0x26854d);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x167e3e=this['repository']['getRevision'](0x0),_0x470b05=await this['getRevisionDocumentData'](_0x167e3e),_0x1ab843=await this['getRevisionRootsAttributes'](_0x167e3e);this['_replaceEditorDataWithRevisionData'](_0x470b05,_0x1ab843);}}['setSource'](_0x5aba08){this['_source']=_0x5aba08;}async['update'](){const _0x1ea71c=await this['_source']['getLatestVersion']();if(_0x1ea71c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x274186=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1ea71c});_0x274186['authors']=_0x274186['authorsIds']['map'](_0x548f9f=>this['editor']['plugins']['get']('Users')['getUser'](_0x548f9f)),this['currentRevision']['_update'](_0x274186);}}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'](_0x5a9bce={},_0x4825f0=null){const _0x238b2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4825f0>this['currentRevision']['toVersion']&&(_0x4825f0=null),null===_0x4825f0&&(_0x4825f0=await this['_source']['getLatestVersion']());const _0x38bcfc=this['_getFromVersion'](_0x4825f0),_0x1e4bdf=this['buildRevisionData']({'from':_0x38bcfc,'to':_0x4825f0});if(this['currentRevision']['toVersion']<_0x4825f0){const _0x2d34f6=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4825f0,'to':_0x4825f0});_0x2d34f6['authors']=[],_0x2d34f6['authorsIds']=[],_0x2d34f6['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2d34f6,!0x0),delete _0x2d34f6['authors'],_0x238b2['push'](_0x2d34f6);}_0x5a9bce['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a9bce['name']=_0x5a9bce['name']||null,_0x5a9bce['id']=_0x5a9bce['id']||_0x99be31(),_0x5a9bce={..._0x5a9bce,..._0x1e4bdf};const _0x20e706=this['addRevisionData'](_0x5a9bce);_0x238b2['push'](_0x5a9bce);const _0x48feaf=this['repository']['getIndex'](_0x20e706);if(0x0!==_0x48feaf){const _0x2168bc=this['repository']['getRevision'](_0x48feaf-0x1);if(_0x2168bc['fromVersion']!==_0x4825f0){const _0x21ae4d=this['_revisionDataBuilder']['getData'](_0x4825f0,_0x2168bc['toVersion']),_0x454cc7={'id':_0x2168bc['id'],'diffData':_0x21ae4d['diffData'],'authorsIds':_0x21ae4d['authorsIds'],'authors':_0x21ae4d['authorsIds']['map'](_0x2862fc=>this['editor']['plugins']['get']('Users')['getUser'](_0x2862fc)),'fromVersion':_0x4825f0};_0x2168bc===this['currentRevision']&&(_0x454cc7['createdAt']=new Date(_0x5a9bce['createdAt']['getTime']()+0xa)),_0x2168bc['_update'](_0x454cc7,!0x0),delete _0x454cc7['authors'],_0x238b2['push'](_0x454cc7);}}if(this['adapter']){for(const _0x2b9894 of _0x238b2)this['_bufferUpdate'](_0x2b9894['id'],_0x2b9894,!0x0);this['sendBufferedUpdates']();}return _0x20e706;}['addRevisionData'](_0x3d5619){const _0x278d1e=this['repository']['createRevision'](_0x3d5619);return this['adapter']&&_0x278d1e['on']('_update',(_0x396ac9,_0x1850db,_0x107326)=>{_0x107326||(this['_bufferUpdate'](_0x1850db['id'],_0x1850db,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x278d1e,this['_findInsertionIndex'](_0x278d1e)),_0x278d1e;}async['getRevisionDocumentData'](_0xfa3f06){await this['_loadRevisionData'](_0xfa3f06);const _0x8119b6={};for(const _0x564358 in _0xfa3f06['diffData']){if(_0xfa3f06['diffData'][_0x564358]['attachChange']&&!_0xfa3f06['diffData'][_0x564358]['attachChange']['isAttached'])continue;const _0x495d7b=this['_removeRevisionMarkers'](JSON['parse'](_0xfa3f06['diffData'][_0x564358]['insertions'])),_0x434784=this['editor']['editing']['view']['document'],_0x333bae=new _0x338eac(_0x434784,_0x495d7b['map'](_0x3df2c9=>B(_0x3df2c9,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x8119b6[_0x564358]=this['editor']['data']['processor']['toData'](_0x333bae),this['editor']['data']['processor']['useFillerType']('default');}return _0x8119b6;}async['getRevisionRootsAttributes'](_0x5745ba){await this['_loadRevisionData'](_0x5745ba);const _0x3d5f95={};for(const _0x406900 in _0x5745ba['diffData'])_0x5745ba['diffData'][_0x406900]['attachChange']&&!_0x5745ba['diffData'][_0x406900]['attachChange']['isAttached']||(_0x3d5f95[_0x406900]=_0x5745ba['diffData'][_0x406900]['attributesAfter']||{});return _0x3d5f95;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x63d0f7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5eb88f=0x0;_0x5eb88f<_0x63d0f7['length'];_0x5eb88f++){const _0x275821=_0x63d0f7[_0x5eb88f];let _0x5ba012=!0x1;for(const _0x5cb900 of Object['keys'](_0x275821))void 0x0===_0x275821[_0x5cb900]?delete _0x275821[_0x5cb900]:'id'!==_0x5cb900&&(_0x5ba012=!0x0);_0x5ba012||(_0x63d0f7[_0x5eb88f]=null);}if(_0x63d0f7=_0x63d0f7['filter'](_0x4156ee=>null!==_0x4156ee),!_0x63d0f7['length'])return;for(let _0x46b55b=0x0;_0x46b55b<_0x63d0f7['length'];_0x46b55b++){const _0x54a819=_0x63d0f7[_0x46b55b];void 0x0!==_0x54a819['fromVersion']&&void 0x0===_0x54a819['toVersion']&&(_0x54a819['toVersion']=this['repository']['getRevision'](_0x54a819['id'])['toVersion']),void 0x0!==_0x54a819['toVersion']&&void 0x0===_0x54a819['fromVersion']&&(_0x54a819['fromVersion']=this['repository']['getRevision'](_0x54a819['id'])['fromVersion']);}const _0x555c24=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x63d0f7,_0x555c24)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x145ece=>{if(_0x145ece){for(const _0x4c0f99 of _0x145ece)this['setRevisionData']({'id':_0x4c0f99['id'],'createdAt':_0x4c0f99['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3635a4,_0x1a0d66){let _0x5c795e=this['editor']['config']['get']('initialData'),_0x305a27=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5c795e){_0x5c795e={};for(const _0x3ca1b7 of this['editor']['model']['document']['getRootNames']())_0x5c795e[_0x3ca1b7]='';}if('string'==typeof _0x5c795e&&(_0x5c795e={'main':_0x5c795e}),void 0x0===_0x305a27){_0x305a27={};for(const _0x3c6bac of this['editor']['model']['document']['getRootNames']())_0x305a27[_0x3c6bac]={};}let _0x2bfba8=!0x1;const _0x3f2354=Object['keys'](_0x5c795e),_0x2dba78=Object['keys'](_0x3635a4);for(const _0x31f742 of _0x3f2354){if(_0x5c795e[_0x31f742]!==_0x3635a4[_0x31f742]&&''!==_0x5c795e[_0x31f742]['trim']()){_0x2bfba8=!0x0;break;}if(!_0x43dba3(_0x305a27[_0x31f742],_0x1a0d66[_0x31f742])&&Object['keys'](_0x305a27[_0x31f742])['length']>0x0){_0x2bfba8=!0x0;break;}}_0x2bfba8||(_0x2bfba8=_0x2dba78['some'](_0x344e1c=>!this['editor']['model']['document']['getRoot'](_0x344e1c))),_0x2bfba8&&_0x33c0be('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5c795e,'editorRootsAttributes':_0x305a27,'revisionData':_0x3635a4,'revisionRootsAttributes':_0x1a0d66}),this['editor']['config']['set']('initialData',_0x3635a4),this['editor']['config']['set']('rootsAttributes',_0x1a0d66);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x275a2b=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x275a2b['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xf1d31d){const _0x1d2d97=this['repository']['getRevisions']();_0x1d2d97['reverse']();let _0x41de19=0x0;for(;_0x41de19<_0x1d2d97['length'];){const _0xb2fade=_0x1d2d97[_0x41de19];if(_0xb2fade===this['currentRevision']){_0x41de19++;continue;}if(_0xb2fade['id']===this['_initialRevisionId'])break;const _0x419637=_0xf1d31d['toVersion']-_0xb2fade['toVersion']||_0xf1d31d['fromVersion']-_0xb2fade['fromVersion'];if(_0x419637>0x0)break;if(_0x419637<0x0)_0x41de19++;else{if(!_0xf1d31d['creator']&&_0xb2fade['creator'])break;if(_0xb2fade['creator']||!_0xf1d31d['creator']){if(_0xf1d31d['createdAt']>_0xb2fade['createdAt'])break;_0x41de19++;}else _0x41de19++;}}return _0x41de19;}['setRevisionData'](_0x34610f){const _0x25bc8e=this['repository']['getRevision'](_0x34610f['id']);if(_0x34610f['createdAt']&&(_0x34610f['createdAt']=new Date(_0x34610f['createdAt'])),_0x34610f['authorsIds']){const _0x294f08=this['editor']['plugins']['get']('Users');_0x34610f['authors']=_0x34610f['authorsIds']['map'](_0x282435=>_0x294f08['getUser'](_0x282435));}_0x25bc8e['_update'](_0x34610f,!0x0);}['buildRevisionData']({revision:_0x56f660=null,from:_0xff9bc3=null,to:_0x3c08e7=null}){_0xff9bc3=null!==_0xff9bc3?_0xff9bc3:_0x56f660['fromVersion'],_0x3c08e7=null!==_0x3c08e7?_0x3c08e7:_0x56f660['toVersion'];const _0xe7f6ae=this['_revisionDataBuilder']['getData'](_0xff9bc3,_0x3c08e7),_0x32ee11={'diffData':_0xe7f6ae['diffData'],'authorsIds':_0xe7f6ae['authorsIds'],'fromVersion':_0xff9bc3,'toVersion':_0x3c08e7};if(!_0x56f660||_0x3c08e7!==_0x56f660['toVersion']){const _0x4fa3b2=_0x3c08e7-0x1,_0x4c95a7=this['_source']['history']['getOperation'](_0x4fa3b2);_0x32ee11['createdAt']=_0x4c95a7&&_0x4c95a7['createdAt']||new Date();}if(this['_loadedStateData']&&_0xff9bc3===this['_loadedStateData']['fromVersion']){for(const _0x4fa036 of this['_loadedStateData']['authors'])_0x32ee11['authorsIds']['includes'](_0x4fa036['id'])||_0x32ee11['authorsIds']['push'](_0x4fa036['id']);}return _0x32ee11;}['_loadRevisionData'](_0xe9d43e){if(!_0xe9d43e||_0xe9d43e['diffData'])return Promise['resolve']();{const _0x1cb457=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1cb457,'revisionId':_0xe9d43e['id']})['then'](_0x306008=>{_0xe9d43e['diffData']=_0x306008['diffData'];});}}['_bufferUpdate'](_0x1a2def,_0x18f2cf,_0x4ad2ee){if(this['_bufferedUpdates']['has'](_0x1a2def)){const _0x42306c=this['_bufferedUpdates']['get'](_0x1a2def);_0x18f2cf=_0x4ad2ee?{..._0x42306c,..._0x18f2cf}:{..._0x18f2cf,..._0x42306c};}this['_bufferedUpdates']['set'](_0x1a2def,_0x18f2cf);}['_getFromVersion'](_0x1fec0d){const _0x11ecd3=this['repository']['getRevisions']();_0x11ecd3['reverse'](),_0x11ecd3['shift']();const _0x457f00=_0x11ecd3['find'](_0x44a15f=>_0x44a15f['toVersion']<=_0x1fec0d)['toVersion'];return _0x457f00<this['_startingVersion']?this['_startingVersion']:_0x457f00;}['_createInitialRevision'](_0x3862fe){const _0x26200d=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x26200d)this['_initialRevisionId']=_0x26200d['id'];else{const _0x20f289=!this['editor']['model']['document']['roots']['find'](_0x279aa9=>this['editor']['model']['hasContent'](_0x279aa9)),_0x14c0e5=this['editor']['plugins']['get']('Users')['me']['id'],_0x2f55da=y(this['editor']['locale'],_0x20f289?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3862fe,'to':_0x3862fe,'id':this['_initialRevisionId'],'name':_0x2f55da,'creatorId':_0x14c0e5});}}['_createCurrentRevision'](_0x4680dd){const _0x10c121=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x10c121),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4680dd,'to':_0x4680dd,'id':_0x10c121,'name':'','creatorId':null}));}['_makeRevision']({name:_0x33b180,from:_0xab47b9,to:_0x4d9115,creatorId:_0x186523,id:_0x5a78ca}){const _0x5773b6=this['buildRevisionData']({'from':_0xab47b9,'to':_0x4d9115});_0x5773b6['name']=_0x33b180,_0x5773b6['creatorId']=_0x186523,_0x5773b6['id']=_0x5a78ca;const _0x38fbf7=this['addRevisionData'](_0x5773b6);return this['adapter']&&this['_bufferUpdate'](_0x5773b6['id'],_0x5773b6,!0x0),_0x38fbf7;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4284c8){return(_0x4284c8=_0x4284c8['filter'](_0x5c39d5=>!_0x5c39d5['name']||'revision-start'!==_0x5c39d5['name']&&'revision-end'!==_0x5c39d5['name']))['forEach'](_0x4db7d1=>{'string'!=typeof _0x4db7d1&&(_0x4db7d1['children']=this['_removeRevisionMarkers'](_0x4db7d1['children']),_0x4db7d1['attributes']=_0x4db7d1['attributes']['filter'](_0x43a3b3=>!_0x43a3b3[0x0]['startsWith']('data-revision-')));}),_0x4284c8;}}function B(_0x410cc1,_0x2a662e){const _0x27bf4c=_0x2a662e['editing']['view']['document'];if('string'==typeof _0x410cc1)return new _0x41da38(_0x27bf4c,_0x410cc1);{const _0x32fc11=_0x410cc1['children']['map'](_0x6a304e=>B(_0x6a304e,_0x2a662e));return new(T[_0x410cc1['type']]||_0x21dc15)(_0x27bf4c,_0x410cc1['name'],_0x410cc1['attributes'],_0x32fc11);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5d9059){this['editor']=_0x5d9059,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'](_0x5ecba2){this['source']=_0x5ecba2;const _0x531083=new Map(),_0x502d12=new Map(),_0x46dc76=this['editor']['model']['document']['roots']['map'](_0xcf6976=>_0xcf6976['rootName']);for(const _0x42207f of _0x46dc76){const _0x153315=this['editor']['model']['document']['getRoot'](_0x42207f),_0x3a07bb=q(_0x153315);_0x531083['set'](_0x42207f,_0x3a07bb),_0x502d12['set'](_0x42207f,Object['fromEntries'](_0x153315['getAttributes']()));}const _0x4a637a=Array['from'](this['editor']['model']['markers'])['map'](_0x20924b=>[_0x20924b['name'],_0x20924b['getRange']()]),_0x6697f2=this['source']['version'];this['_saveMetaData'](_0x6697f2,_0x531083,_0x4a637a,_0x502d12),this['_startingRevisionId']=this['_revisionId'];const _0x3f3f6b=new Map(),_0x13e184=new Map();for(const _0xce5a80 of _0x46dc76){const _0x2868fe=G(_0xce5a80);_0x3f3f6b['set'](_0xce5a80,_0x2868fe),_0x13e184['set'](_0xce5a80,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3f3f6b,[],_0x13e184);}['getData'](_0x531bc8,_0x260d4e){if(this['_lastFrom']===_0x531bc8&&this['_lastTo']<=_0x260d4e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x260d4e,!0x0);else{if(!this['_savedMetaData']['has'](_0x531bc8)){const _0x23b4ed=this['_getPreviousFrom'](_0x531bc8);this['_calculateMetaData'](_0x23b4ed,_0x531bc8,!0x1);}this['_calculateMetaData'](_0x531bc8,_0x260d4e,!0x0);}return this['_lastFrom']=_0x531bc8,this['_lastTo']=_0x260d4e,this['_getState']();}['loadState'](_0xde96b1){this['_reset'](),this['_lastFrom']=_0xde96b1['fromVersion'],this['_lastTo']=_0xde96b1['toVersion'];for(const _0x5b5fd6 in _0xde96b1['diffData']){const _0x55f133=_0xde96b1['diffData'][_0x5b5fd6]['attachChange'],_0x2d17db=_0x252b5f(_0xde96b1['diffData'][_0x5b5fd6]['attributesBefore'])||{},_0x30da14=this['_makeModelFromViewString'](_0xde96b1['diffData'][_0x5b5fd6]['deletions']);_0x30da14['rootName']=_0x5b5fd6,_0x30da14['_isAttached']=!_0x55f133||!_0x55f133['isAttached'],_0x30da14['isAttached']=()=>_0x30da14['_isAttached'],this['_baseRoots']['set'](_0x5b5fd6,_0x30da14),this['_baseRootsAttributes']['set'](_0x5b5fd6,_0x2d17db),_0x55f133&&this['_touchedRoots']['set'](_0x5b5fd6,_0x55f133);const _0x136602=this['_makeIdsRoot'](_0x30da14);this['_baseIdsRoots']['set'](_0x5b5fd6,_0x136602);for(const [_0x58d606,_0x5e6312]of _0x30da14['markers']){if(!_0x58d606['startsWith']('revision:'))continue;const _0x40a170=_0x58d606['split'](':')[0x2];for(const _0x61d921 of _0x5e6312['getWalker']({'singleCharacters':!0x0})){const _0x1d1343=this['_getVidAttributeName'](_0x61d921),_0x4529e8='elementEnd'==_0x61d921['type']?_0x61d921['previousPosition']['path']['slice'](0x0,-0x1):_0x61d921['previousPosition']['path'],_0x4e8845=_0x136602['getNodeByPath'](_0x4529e8)['getAttribute'](_0x1d1343);this['_touched']['set'](_0x4e8845,{'userId':_0x40a170});}}}this['_startingRevisionId']=this['_revisionId'];const _0xba5184=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3d3f77=>!this['_touched']['has'](_0x3d3f77));let _0x5b4bcb=0x0;const _0xeb9cab=new Map();for(const _0xc802aa in _0xde96b1['diffData']){const _0x4b4a3b=_0xde96b1['diffData'][_0xc802aa]['attachChange'],_0x43efd4=_0x252b5f(_0xde96b1['diffData'][_0xc802aa]['attributesAfter'])||{},_0x4f9b84=this['_makeModelFromViewString'](_0xde96b1['diffData'][_0xc802aa]['insertions']);_0x4f9b84['rootName']=_0xc802aa,_0x4f9b84['_isAttached']=!_0x4b4a3b||_0x4b4a3b['isAttached'],_0x4f9b84['isAttached']=()=>_0x4f9b84['_isAttached'],this['_diffRoots']['set'](_0xc802aa,_0x4f9b84),this['_diffRootsAttributes']['set'](_0xc802aa,_0x43efd4);const _0x1d3aa2=this['_makeIdsRoot'](_0x4f9b84,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xc802aa,_0x1d3aa2),_0xeb9cab['set'](_0xc802aa,_0x4f9b84['isAttached']()?_0x43efd4:{});for(const [_0x2b93b4,_0x2abbcc]of _0x4f9b84['markers']){if(!_0x2b93b4['startsWith']('revision:'))continue;const _0x54a1da=_0x2b93b4['split'](':')[0x2];for(const _0x49d7c9 of _0x2abbcc['getWalker']({'singleCharacters':!0x0})){const _0x203563=this['_getVidAttributeName'](_0x49d7c9),_0x262c5b=this['_revisionId']++,_0x17886a='elementEnd'==_0x49d7c9['type']?_0x49d7c9['previousPosition']['path']['slice'](0x0,-0x1):_0x49d7c9['previousPosition']['path'];_0x1d3aa2['getNodeByPath'](_0x17886a)['_setAttribute'](_0x203563,_0x262c5b),this['_touched']['set'](_0x262c5b,{'userId':_0x54a1da});}}for(const _0x4f11cd of this['editor']['model']['createRangeIn'](_0x4f9b84)['getWalker']({'singleCharacters':!0x0})){const _0x403357=this['_getVidAttributeName'](_0x4f11cd),_0x5892ba='elementEnd'==_0x4f11cd['type']?_0x4f11cd['previousPosition']['path']['slice'](0x0,-0x1):_0x4f11cd['previousPosition']['path'],_0x4e4427=_0x1d3aa2['getNodeByPath'](_0x5892ba);_0x4e4427['getAttribute'](_0x403357)>0x0||_0x4e4427['_setAttribute'](_0x403357,_0xba5184[_0x5b4bcb++]);}for(const [_0x513fd7,_0x4b44e3]of _0x4f9b84['markers'])_0x513fd7['startsWith']('revision:')||this['_markers']['set'](_0x513fd7,_0x4b44e3);}const _0x590b83=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x590b83),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x590b83,0x1));const _0x2e3f9f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2e3f9f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2e3f9f,0x1));const _0x58af2e=Array['from'](this['_diffRoots'])['map'](([_0x5c561f,_0x16a50b])=>[_0x5c561f,q(_0x16a50b)]);this['_saveMetaData'](this['_lastTo'],_0x58af2e,this['_markers'],_0xeb9cab);}['_makeModelFromViewString'](_0x50bcdf){const _0x21fab2=JSON['parse'](_0x50bcdf),_0x218a6b=this['editor']['editing']['view']['document'],_0x42a846=new _0x338eac(_0x218a6b,_0x21fab2['map'](_0x5bd23c=>B(_0x5bd23c,this['editor'])));return this['editor']['data']['toModel'](_0x42a846);}['_saveMetaData'](_0xd02942,_0xb9b796,_0x1d281c,_0x5ef321){const _0x216eb8=new Map(_0xb9b796),_0x13ea5d=new Map(_0x252b5f(_0x5ef321)),_0x5024bd=new Map();for(const [_0x345eb6,_0x41736a]of _0x1d281c)_0x5024bd['set'](_0x345eb6,{'start':_0x41736a['start']['clone'](),'end':_0x41736a['end']['clone'](),'rootName':_0x41736a['root']['rootName']});this['_savedMetaData']['set'](_0xd02942,{'roots':_0x216eb8,'markers':_0x5024bd,'rootsAttributes':_0x13ea5d});}['_removeMetaData'](_0x5caa0c){this['_savedMetaData']['delete'](_0x5caa0c);}['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'](_0x29a6b0,_0x430b34=null){let _0x41683b=null;_0x29a6b0['is']('documentFragment')||(_0x41683b=new ft(_0x29a6b0['name'],{'vid_start':null===_0x430b34?this['_revisionId']++:_0x430b34++}));const _0x4c908b=[];for(const _0x41516e of _0x29a6b0['getChildren']())if(_0x41516e['is']('element')){_0x4c908b['push'](this['_makeIdsRoot'](_0x41516e,_0x430b34));const _0x21b07d=_0x4c908b[_0x4c908b['length']-0x1];null!==_0x430b34&&(_0x430b34=_0x21b07d['is']('element','$text')?_0x21b07d['getAttribute']('vid')+0x1:_0x21b07d['getAttribute']('vid_end')+0x1);}else{for(let _0x1391fd=0x0;_0x1391fd<_0x41516e['offsetSize'];_0x1391fd++)_0x4c908b['push'](new ft('$text',{'vid':null===_0x430b34?this['_revisionId']++:_0x430b34++}));}if(_0x29a6b0['is']('documentFragment')){const _0x33ad7b=G(_0x29a6b0['rootName']);return _0x33ad7b['_insertChild'](0x0,_0x4c908b),_0x33ad7b;}return _0x41683b['_setAttribute']('vid_end',null===_0x430b34?this['_revisionId']++:_0x430b34++),_0x41683b['_insertChild'](0x0,_0x4c908b),_0x41683b;}['_calculateMetaData'](_0x49a677,_0x4cdd13,_0x53f2c2){this['_reset']();const {roots:_0x3369bf,markers:_0x32793c,rootsAttributes:_0x17ed37}=this['_savedMetaData']['get'](_0x49a677);this['_baseRoots']=new Map(_0x3369bf),this['_baseRootsAttributes']=new Map(_0x252b5f(_0x17ed37));for(const [_0x2f35b5,_0xdcf545]of this['_baseRoots'])if('$graveyard'!==_0x2f35b5&&(this['_diffRoots']['set'](_0x2f35b5,q(_0xdcf545)),this['_diffRootsAttributes']=new Map(_0x252b5f(_0x17ed37)),_0x53f2c2)){const _0x2b46c1=this['_revisionId'];this['_idsRoots']['set'](_0x2f35b5,this['_makeIdsRoot'](_0xdcf545)),this['_baseIdsRoots']['set'](_0x2f35b5,this['_makeIdsRoot'](_0xdcf545,_0x2b46c1));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x53f2c2&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2e00e8,_0x38a4ea]of _0x32793c){const _0x2600dd=this['_baseRoots']['get'](_0x38a4ea['rootName']),_0x4d268e=this['_diffRoots']['get'](_0x38a4ea['rootName']),_0x279fe6=new vt(this['_fixPosition'](_0x38a4ea['start'],_0x2600dd),this['_fixPosition'](_0x38a4ea['end'],_0x2600dd)),_0x2db2b0=this['_fixRange'](_0x279fe6,_0x4d268e);_0x2600dd['markers']['set'](_0x2e00e8,_0x279fe6),this['_markers']['set'](_0x2e00e8,_0x2db2b0);}this['_applyOperations'](_0x49a677,_0x4cdd13,_0x53f2c2);}['_applyOperations'](_0x1c835d,_0x4548a5,_0x1ddaf7){for(const _0x5011ff of this['source']['getOperations'](_0x1c835d,_0x4548a5))this['_handleOperation'](_0x5011ff,_0x1ddaf7);for(const _0x22067a of this['_diffRoots']['values']())_0x22067a['markers']['clear']();for(const [_0x481354,_0x2af48e]of this['_markers']){this['_diffRoots']['get'](_0x2af48e['root']['rootName'])['markers']['set'](_0x481354,_0x2af48e['clone']());}const _0x6bff29=new Map(),_0x49ddda=new Map();for(const [_0x5dfdf1,_0x4b0b64]of this['_diffRoots'])_0x6bff29['set'](_0x5dfdf1,q(_0x4b0b64)),_0x49ddda['set'](_0x5dfdf1,this['_diffRootsAttributes']['get'](_0x5dfdf1));this['_saveMetaData'](_0x4548a5,_0x6bff29,this['_markers'],_0x49ddda);}['_getPreviousFrom'](_0x2601b4){const _0x18892f=Array['from'](this['_savedMetaData']['keys']());_0x18892f['sort']((_0x20d3f6,_0x225848)=>_0x20d3f6-_0x225848),_0x18892f['reverse']();for(const _0x36bdd3 of _0x18892f)if(_0x36bdd3<_0x2601b4)return _0x36bdd3;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x359451,_0x452034){const _0x2e8d4b=Array['from'](_0x452034['markers'])['map'](([_0x3a7b85,_0x3a6506])=>[_0x3a7b85,this['_fixRange'](_0x3a6506,_0x359451)]);_0x359451['markers']=new Map(_0x2e8d4b);}['_transformMarkers'](_0x30af3c){for(const _0x5d5342 of this['_markers']['values']()){const _0x4a6b32=_0x5d5342['getTransformedByOperation'](_0x30af3c),_0x4f1275=vt['_createFromRanges'](_0x4a6b32);_0x5d5342['start']=_0x4f1275['start'],_0x5d5342['end']=_0x4f1275['end'];}}['_handleOperation'](_0x4e6523,_0x38bd1e){if('addRoot'==_0x4e6523['type']||'detachRoot'==_0x4e6523['type'])return void this['_handleRootOperation'](_0x4e6523,_0x38bd1e);if('insert'==_0x4e6523['type']){const _0x1cf4a5=_0x4e6523['position']['root']['rootName'];this['_diffRoots']['has'](_0x1cf4a5)||(this['_diffRoots']['set'](_0x1cf4a5,G(_0x1cf4a5,!0x0)),this['_diffRootsAttributes']['set'](_0x1cf4a5,{}),_0x38bd1e&&this['_idsRoots']['set'](_0x1cf4a5,G(_0x1cf4a5,!0x0)));}else{if('addRootAttribute'==_0x4e6523['type']||'removeRootAttribute'==_0x4e6523['type']||'changeRootAttribute'==_0x4e6523['type'])return void this['_handleRootAttributeOperation'](_0x4e6523);}const _0x3db929=this['_cloneOperation'](_0x4e6523,this['_diffRoots']);if('marker'!==_0x4e6523['type']&&(_0x3db929['_execute'](),this['_transformMarkers'](_0x3db929)),_0x38bd1e)switch(_0x3db929['type']){case'insert':this['_handleInsertOperation'](_0x4e6523);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4e6523);break;case'merge':this['_handleMergeOperation'](_0x4e6523);break;case'split':this['_handleSplitOperation'](_0x4e6523);break;case'marker':this['_handleMarkerOperation'](_0x4e6523);}}['_cloneOperation'](_0x469d40,_0x3b17ad){const _0x448872=_0x469d40['clone']();return _0x448872['_authorId']=_0x469d40['_authorId'],this['_fixOperation'](_0x448872,_0x3b17ad),_0x448872;}['_getBaseVids'](_0x5b0084){return _0x5b0084['map'](_0x44cd7e=>{const _0x2eb5bd=this['_getVidAttributeName'](_0x44cd7e);return Number(_0x44cd7e['item']['getAttribute'](_0x2eb5bd));});}['_generateTape'](_0x462c15,_0x52fc38){if(_0x462c15['is']('element','$text'))_0x52fc38['push']({'item':_0x462c15,'type':'text'});else{_0x462c15['is']('element')&&_0x52fc38['push']({'item':_0x462c15,'type':'elementStart'});for(const _0x75741f of _0x462c15['getChildren']())this['_generateTape'](_0x75741f,_0x52fc38);_0x462c15['is']('element')&&_0x52fc38['push']({'item':_0x462c15,'type':'elementEnd'});}return _0x52fc38;}['_getState'](){const _0x1be8e8=new Map(this['_touched']),_0x37a623=new Map(_0x1be8e8),_0x28cdc4=new Map(),_0x1274cc={'insertions':{},'deletions':{}},_0x52ffc3={'insertions':{},'deletions':{}},_0x51151c=new Map(),_0x1aaefb=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1aaefb['delete']('$graveyard');for(const _0x32f391 of _0x1aaefb){const _0xa3a35c=this['_diffRoots']['get'](_0x32f391)||G(_0x32f391,!0x1),_0x4d0080=this['_baseRoots']['get'](_0x32f391)||G(_0x32f391,!0x1);_0xa3a35c['isAttached']()||_0x4d0080['isAttached']()?(_0x1274cc['insertions'][_0x32f391]=q(_0xa3a35c),_0x1274cc['deletions'][_0x32f391]=q(_0x4d0080),this['_copyMarkers'](_0x1274cc['deletions'][_0x32f391],_0x4d0080),this['_copyMarkers'](_0x1274cc['insertions'][_0x32f391],_0xa3a35c),_0x52ffc3['insertions'][_0x32f391]=this['_generateTape'](this['_idsRoots']['get'](_0x32f391),[]),_0x52ffc3['deletions'][_0x32f391]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x32f391)||G(_0x32f391,!0x1),[])):_0x1aaefb['delete'](_0x32f391);}for(const _0x2a86e3 of _0x1aaefb){const _0x169d0f=_0x52ffc3['insertions'][_0x2a86e3];for(const _0x3b1960 of _0x169d0f){const _0x107dbe=this['_getVidAttributeName'](_0x3b1960),_0xc8f801=_0x3b1960['item']['getAttribute'](_0x107dbe);_0x37a623['delete'](_0xc8f801),_0xc8f801>=this['_startingRevisionId']&&_0x28cdc4['set'](_0xc8f801,_0x1be8e8['get'](_0xc8f801));}}for(const _0x3823ec of _0x1aaefb){const _0x2eefde=_0x52ffc3['insertions'][_0x3823ec],_0xe6cb96=this['_getBaseVids'](_0x52ffc3['deletions'][_0x3823ec]);let _0x32c73b=0x0;for(const _0x4c157c of _0x2eefde){const _0x8da7dc=this['_getVidAttributeName'](_0x4c157c),_0x1097fd=_0x4c157c['item']['getAttribute'](_0x8da7dc);if(!_0x28cdc4['has'](_0x1097fd)&&!_0x51151c['has'](_0x1097fd)){if(_0x37a623['has'](_0x1097fd))_0x32c73b++;else{if(_0x1097fd!=_0xe6cb96[_0x32c73b]){const _0x381a10=_0x1be8e8['get'](_0x1097fd)||_0x1be8e8['get'](_0xe6cb96[_0x32c73b]);for(;_0x1097fd!=_0xe6cb96[_0x32c73b];)_0x37a623['has'](_0xe6cb96[_0x32c73b])||(_0x51151c['set'](_0xe6cb96[_0x32c73b],_0x381a10),_0x1be8e8['set'](_0xe6cb96[_0x32c73b],_0x381a10)),_0x32c73b++;}_0x32c73b++;}}}}for(const _0x187ca0 of _0x1aaefb){const _0x3fc29b=_0x52ffc3['insertions'][_0x187ca0];for(const _0x24b0b8 of _0x3fc29b){const _0x48c03c=this['_getVidAttributeName'](_0x24b0b8),_0x12e885=_0x24b0b8['item']['getAttribute'](_0x48c03c);if(_0x51151c['has'](_0x12e885)){const _0x4cfb73=_0x51151c['get'](_0x12e885);_0x37a623['has'](_0x12e885)||_0x37a623['set'](_0x12e885,{..._0x4cfb73}),_0x28cdc4['set'](_0x12e885,{..._0x4cfb73});}}}for(const _0x18ef05 of _0x37a623['keys']())_0x18ef05>=this['_startingRevisionId']&&_0x37a623['delete'](_0x18ef05);const _0x27085b=new Map();for(const _0x713656 of _0x1aaefb){let _0x35741c=_0x52ffc3['insertions'][_0x713656];for(const _0x206477 of _0x35741c)if(_0x206477['item']['is']('element','tableCell')){const _0x2d10aa=this['_getVidAttributeName'](_0x206477),_0x4b368e=_0x206477['item']['getAttribute'](_0x2d10aa);if(_0x28cdc4['has'](_0x4b368e)){const _0x6a5b96=_0x206477['item']['parent']['parent']['getAttribute']('vid_start'),_0x521b2d=_0x27085b['get'](_0x6a5b96)||new Set();_0x521b2d['add'](_0x28cdc4['get'](_0x4b368e)['userId']),_0x27085b['set'](_0x6a5b96,_0x521b2d);}}_0x35741c=_0x52ffc3['deletions'][_0x713656];for(const _0x213be2 of _0x35741c)if(_0x213be2['item']['is']('element','tableCell')){const _0x2cb906=this['_getVidAttributeName'](_0x213be2),_0x2b72af=_0x213be2['item']['getAttribute'](_0x2cb906);if(_0x37a623['has'](_0x2b72af)){const _0x8e47f6=_0x213be2['item']['parent']['parent']['getAttribute']('vid_start'),_0x203ae4=_0x27085b['get'](_0x8e47f6)||new Set();_0x203ae4['add'](_0x37a623['get'](_0x2b72af)['userId']),_0x27085b['set'](_0x8e47f6,_0x203ae4);}}for(const _0x40c6d1 of _0x27085b['keys']())(_0x28cdc4['has'](_0x40c6d1)||_0x37a623['has'](_0x40c6d1))&&_0x27085b['delete'](_0x40c6d1);}for(const _0x452151 of _0x1aaefb){const _0x435b3e=_0x52ffc3['insertions'][_0x452151];let _0x8e11ae=null,_0xf6df2a=null;for(const _0x4889c5 of _0x435b3e){const _0x390b42=this['_getVidAttributeName'](_0x4889c5),_0x44a6da=_0x4889c5['item']['getAttribute'](_0x390b42),_0x46204d=_0x27085b['get'](_0x44a6da);_0x46204d&&'elementStart'==_0x4889c5['type']&&(_0x8e11ae=Array['from'](_0x46204d)[0x0],_0xf6df2a=_0x4889c5['item']['getAttribute']('vid_end')),_0x8e11ae&&(_0x37a623['set'](_0x44a6da,{'userId':_0x8e11ae}),_0x28cdc4['set'](_0x44a6da,{'userId':_0x8e11ae})),_0x44a6da==_0xf6df2a&&(_0x8e11ae=null,_0xf6df2a=null);}}const _0x59cc07={},_0xf2231=new Set();for(const _0x2997b0 of _0x1aaefb){const _0x342ebd=_0x1274cc['deletions'][_0x2997b0],_0x15392f=_0x1274cc['insertions'][_0x2997b0];for(const {userId:_0x5ea303}of this['_touchedMarkers']['values']())null!==_0x5ea303&&_0xf2231['add'](_0x5ea303);for(const {userId:_0x174af5}of this['_touchedRoots']['values']())null!==_0x174af5&&_0xf2231['add'](_0x174af5);this['_markChanges'](_0x15392f,_0x52ffc3['insertions'][_0x2997b0],_0x28cdc4,'insertion',_0xf2231),this['_markChanges'](_0x342ebd,_0x52ffc3['deletions'][_0x2997b0],_0x37a623,'deletion',_0xf2231),_0x59cc07[_0x2997b0]={'insertions':this['_prepareViewToSave'](_0x15392f),'deletions':this['_prepareViewToSave'](_0x342ebd),'attachChange':this['_touchedRoots']['get'](_0x2997b0)||null,'attributesBefore':_0x252b5f(this['_baseRootsAttributes']['get'](_0x2997b0))||{},'attributesAfter':_0x252b5f(this['_diffRootsAttributes']['get'](_0x2997b0))};}return{'diffData':_0x59cc07,'authorsIds':Array['from'](_0xf2231)};}['_processRootBeforeSave'](_0x5a1bdc){for(const [,_0x3045f9]of _0x5a1bdc['markers']){const _0x3591ca=_0x3045f9['start']['getAncestors']()['filter'](_0x598cd2=>'tableCell'==_0x598cd2['name']);for(const _0x560eb6 of _0x3591ca)0x1==_0x560eb6['childCount']&&_0x560eb6['getChild'](0x0)['is']('element','paragraph')&&_0x560eb6['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x23fb98){this['_processRootBeforeSave'](_0x23fb98);const _0x335b40=this['editor']['data']['toView'](_0x23fb98,{}),_0x5c3bca=Array['from'](_0x335b40['getChildren']())['map'](_0x1306e0=>this['_getViewJson'](_0x1306e0));return JSON['stringify'](_0x5c3bca);}['_getViewJson'](_0x55dbda){if(_0x55dbda['is']('$text'))return _0x55dbda['data'];{const _0x1cfc55=_0x55dbda;return{'type':Object['keys'](T)['find'](_0x1fd704=>_0x55dbda instanceof T[_0x1fd704]),'name':_0x1cfc55['name'],'attributes':Array['from'](_0x1cfc55['getAttributes']()),'children':Array['from'](_0x1cfc55['getChildren']())['map'](_0x188546=>this['_getViewJson'](_0x188546))};}}['_markChanges'](_0x4f10ff,_0x9961f1,_0x3c9735,_0x32a6ca,_0x19616c){let _0x1e2d2c=null,_0x2b8819=null,_0x5b3219=0x0;const _0x476e42=this['editor']['model'];for(let _0x1ee44b=0x0;_0x1ee44b<_0x9961f1['length'];_0x1ee44b++){const _0x3a7b65=this['_getVidAttributeName'](_0x9961f1[_0x1ee44b]),_0x122b18=_0x9961f1[_0x1ee44b]['item']['getAttribute'](_0x3a7b65),_0x1432a4=_0x3c9735['get'](_0x122b18),_0x5169dd=_0x1ee44b==_0x9961f1['length']-0x1;(!_0x1e2d2c&&_0x1432a4&&(_0x1e2d2c=_0x1432a4,_0x2b8819=_0x9961f1[_0x1ee44b]),_0x1e2d2c&&(!_0x1432a4||_0x1432a4['userId']!=_0x1e2d2c['userId']))&&(_0x1f0ef9(_0x1432a4,L(_0x2b8819,_0x4f10ff,_0x476e42),L(_0x9961f1[_0x1ee44b],_0x4f10ff,_0x476e42)),_0x1e2d2c=_0x1432a4||null,_0x2b8819=_0x1432a4?_0x9961f1[_0x1ee44b]:null),_0x1e2d2c&&_0x5169dd&&_0x1f0ef9(_0x1432a4,L(_0x2b8819,_0x4f10ff,_0x476e42),W(_0x9961f1[_0x1ee44b],_0x4f10ff,_0x476e42));}function _0x1f0ef9(_0x20b8a2,_0x505b50,_0x5b0add){const _0x1a1be2=_0x1e2d2c['userId'],_0x59d2c6='revision:'+_0x32a6ca+':'+_0x1a1be2+':'+_0x5b3219++,_0x9b127e=_0x476e42['createRange'](_0x505b50,_0x5b0add);_0x4f10ff['markers']['set'](_0x59d2c6,_0x9b127e),null!==_0x1a1be2&&_0x19616c['add'](_0x1a1be2);}}['_getVidAttributeName'](_0x1bbb87){switch(_0x1bbb87['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x478429,_0xff3c85){_0x478429['baseVersion']=null;for(const _0x386b8a in _0x478429){const _0x1b3267=_0x478429[_0x386b8a];if(_0x1b3267 instanceof gt){const _0x10e6a1=_0xff3c85['get'](_0x1b3267['root']['rootName']);_0x478429[_0x386b8a]=this['_fixPosition'](_0x1b3267,_0x10e6a1);}if(_0x1b3267 instanceof vt){const _0x5da753=_0xff3c85['get'](_0x1b3267['root']['rootName']);_0x478429[_0x386b8a]=this['_fixRange'](_0x1b3267,_0x5da753);}'root'===_0x386b8a&&(_0x478429['root']=_0xff3c85['get'](_0x478429['root']['rootName']));}}['_fixRange'](_0xdd651b,_0x28704c){return this['editor']['model']['createRange'](this['_fixPosition'](_0xdd651b['start'],_0x28704c),this['_fixPosition'](_0xdd651b['end'],_0x28704c));}['_fixPosition'](_0x573cc7,_0x3c895b){return this['editor']['model']['createPositionFromPath'](_0x3c895b,_0x573cc7['path'],_0x573cc7['stickiness']);}['_handleInsertOperation'](_0x38d2e5){const _0x5a9b21=this['_idsRoots']['get'](_0x38d2e5['position']['root']['rootName']),_0x52efdf=this['_fixPosition'](_0x38d2e5['position'],_0x5a9b21),_0x11a75f=null===_0x38d2e5['_authorId']?null:_0x38d2e5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17cadf=_0x52efdf['parent'],_0x28ef22=this['_revisionId'],_0x2c2c12=[];for(const _0x50779c of _0x38d2e5['nodes'])if(_0x50779c['is']('element'))_0x2c2c12['push'](this['_makeIdsRoot'](_0x50779c));else{for(let _0x167de0=0x0;_0x167de0<_0x50779c['offsetSize'];_0x167de0++)_0x2c2c12['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x10c976=this['_revisionId'];for(let _0x4560a4=_0x28ef22;_0x4560a4<_0x10c976;_0x4560a4++)this['_touched']['set'](_0x4560a4,{'userId':_0x11a75f});_0x17cadf['_insertChild'](_0x52efdf['offset'],_0x2c2c12);}['_handleMoveOperation'](_0x2f5c16){(_0x2f5c16=this['_cloneOperation'](_0x2f5c16,this['_idsRoots']))['_execute']();const _0x137076=null===_0x2f5c16['_authorId']?null:_0x2f5c16['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3930fe=_0x2f5c16['getMovedRangeStart'](),_0xdf4cca=_0x3930fe['parent'],_0x53ed5f=_0x3930fe['offset'];!function _0x12e447(_0x661b58,_0x46c757,_0xc80b44,_0x22e55d){for(let _0x571007=_0xc80b44;_0x571007<_0x22e55d;_0x571007++){const _0x338158=_0x46c757['getChild'](_0x571007);_0x338158['is']('element','$text')?_0x661b58['set'](_0x338158['getAttribute']('vid'),{'userId':_0x137076}):(_0x661b58['set'](_0x338158['getAttribute']('vid_start'),{'userId':_0x137076}),_0x12e447(_0x661b58,_0x338158,0x0,_0x338158['childCount']),_0x661b58['set'](_0x338158['getAttribute']('vid_end'),{'userId':_0x137076}));}}(this['_touched'],_0xdf4cca,_0x53ed5f,_0x53ed5f+_0x2f5c16['howMany']);}['_handleMergeOperation'](_0x5a05cb){const _0x32082a=null===(_0x5a05cb=this['_cloneOperation'](_0x5a05cb,this['_idsRoots']))['_authorId']?null:_0x5a05cb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5690cb=_0x5a05cb['targetPosition']['parent'],_0x2ea58d=_0x5a05cb['sourcePosition']['parent'],_0x155d4d=_0x5690cb['getAttribute']('vid_end'),_0x5c3b17=_0x2ea58d['getAttribute']('vid_start');_0x5690cb['_setAttribute']('vid_end',_0x2ea58d['getAttribute']('vid_end')),_0x2ea58d['_setAttribute']('vid_end',_0x155d4d),this['_touched']['set'](_0x5c3b17,{'userId':_0x32082a}),this['_touched']['set'](_0x155d4d,{'userId':_0x32082a}),_0x5a05cb['_execute']();}['_handleSplitOperation'](_0xa00381){const _0x101379=null===(_0xa00381=this['_cloneOperation'](_0xa00381,this['_idsRoots']))['_authorId']?null:_0xa00381['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x18c2f1=_0xa00381['graveyardPosition'],_0x3770ef=_0xa00381['splitPosition']['parent'];_0xa00381['_execute']();const _0x138e03=_0x3770ef['getAttribute']('vid_end'),_0x51eb59=_0xa00381['insertionPosition']['nodeAfter'];if(_0x18c2f1){const _0x4b5238=_0x51eb59['getAttribute']('vid_end'),_0x34e4dd=_0x3770ef['getAttribute']('vid_end');_0x3770ef['_setAttribute']('vid_end',_0x4b5238),_0x51eb59['_setAttribute']('vid_end',_0x34e4dd),this['_touched']['set'](_0x3770ef['getAttribute']('vid_end'),{'userId':_0x101379}),this['_touched']['set'](_0x51eb59['getAttribute']('vid_start'),{'userId':_0x101379});}else{const _0x3dbd38=this['_revisionId']++,_0xd1fe53=this['_revisionId']++;_0x3770ef['_setAttribute']('vid_end',_0x3dbd38),_0x51eb59['_setAttribute']('vid_start',_0xd1fe53),_0x51eb59['_setAttribute']('vid_end',_0x138e03),this['_touched']['set'](_0x3dbd38,{'userId':_0x101379}),this['_touched']['set'](_0xd1fe53,{'userId':_0x101379});}}['_handleMarkerOperation'](_0x235e4b){if(!_0x235e4b['affectsData'])return;const _0xa7a545=(_0x235e4b=this['_cloneOperation'](_0x235e4b,this['_diffRoots']))['oldRange']?_0x235e4b['oldRange']['root']:null,_0x4dc34e=_0x235e4b['newRange']?_0x235e4b['newRange']['root']:null;_0xa7a545&&this['_markers']['delete'](_0x235e4b['name']),_0x4dc34e&&this['_markers']['set'](_0x235e4b['name'],_0x235e4b['newRange']['clone']());const _0x3fbe1e=null===_0x235e4b['_authorId']?null:_0x235e4b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10051f=_0x235e4b['name'];if(!this['_touchedMarkers']['has'](_0x10051f))return void this['_touchedMarkers']['set'](_0x10051f,{'range':_0x235e4b['oldRange'],'userId':_0x3fbe1e});const _0x31c17d=this['_touchedMarkers']['get'](_0x10051f),_0x2f2139=_0x31c17d['range'],_0x33cf87=_0x235e4b['newRange'];null==_0x2f2139&&null==_0x33cf87||_0x2f2139&&_0x33cf87&&_0x2f2139['isEqual'](_0x33cf87)?this['_touchedMarkers']['delete'](_0x235e4b['name']):_0x31c17d['userId']=_0x3fbe1e;}['_handleRootOperation'](_0x389f08,_0x551535){this['_diffRoots']['has'](_0x389f08['rootName'])?this['_diffRoots']['get'](_0x389f08['rootName'])['_isAttached']=_0x389f08['isAdd']:(this['_diffRoots']['set'](_0x389f08['rootName'],G(_0x389f08['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x389f08['rootName'],{}),_0x551535&&this['_idsRoots']['set'](_0x389f08['rootName'],G(_0x389f08['rootName'],!0x0)));const _0x27788b=null===_0x389f08['_authorId']?null:_0x389f08['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1847b7=this['_touchedRoots']['get'](_0x389f08['rootName']);_0x1847b7&&_0x1847b7['userId']===_0x27788b?this['_touchedRoots']['delete'](_0x389f08['rootName']):this['_touchedRoots']['set'](_0x389f08['rootName'],{'userId':_0x27788b,'isAttached':_0x389f08['isAdd']});}['_handleRootAttributeOperation'](_0x33a978){const _0x1ee488=this['_diffRootsAttributes']['get'](_0x33a978['root']['rootName']);null===_0x33a978['newValue']?delete _0x1ee488[_0x33a978['key']]:_0x1ee488[_0x33a978['key']]=_0x33a978['newValue'];}}function q(_0x22e5c0){const _0x10ccee=G(_0x22e5c0['rootName'],_0x22e5c0['isAttached']());for(const _0x39ec56 of _0x22e5c0['getChildren']()){const _0x1e9976=_0x39ec56['_clone'](!0x0);_0x10ccee['_appendChild'](_0x1e9976);}return _0x10ccee;}function G(_0x1f5046,_0x22a17a=!0x0){const _0x327845=new wt();return _0x327845['rootName']=_0x1f5046,_0x327845['_isAttached']=_0x22a17a,_0x327845['isAttached']=()=>_0x327845['_isAttached'],_0x327845;}function L(_0x33e0e5,_0x47b50c,_0x3f65d1){const _0x198087='elementEnd'==_0x33e0e5['type']?_0x3f65d1['createPositionAt'](_0x33e0e5['item'],'end'):_0x3f65d1['createPositionBefore'](_0x33e0e5['item']);return _0x3f65d1['createPositionFromPath'](_0x47b50c,_0x198087['path'],_0x198087['stickiness']);}function W(_0x512074,_0x13a52b,_0xe1a427){const _0x23d2ce='elementStart'==_0x512074['type']?_0xe1a427['createPositionAt'](_0x512074['item'],0x0):_0xe1a427['createPositionAfter'](_0x512074['item']);return _0xe1a427['createPositionFromPath'](_0x13a52b,_0x23d2ce['path'],_0x23d2ce['stickiness']);}class ns extends _0x2cff7d{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x549565,_0x24e584){super(_0x549565),this['focusTracker']=new _0x2a11c6(),this['keystrokes']=new _0x4a49d1(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x24e584),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'](),_0x1fb18f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x220dcf=_0x1e339d=>_0x1e339d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x220dcf),this['keystrokes']['set']('arrowleft',_0x220dcf),this['keystrokes']['set']('arrowup',_0x220dcf),this['keystrokes']['set']('arrowdown',_0x220dcf);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4e442d){this['revisionNameInputView']['fieldView']['element']['value']=_0x4e442d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x253561){const _0x40e7e3=new at(this['locale'],_0x4e7974),_0xa48d7b=_0x40e7e3['fieldView'];_0xa48d7b['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3a37a6=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x253561&&(_0x3a37a6+='\x20('+y(this['locale'],'optional')+')'),(_0x40e7e3['label']=_0x3a37a6,_0xa48d7b['on']('input',()=>{this['revisionNameInputValue']=_0xa48d7b['element']['value']['trim']();}),_0x40e7e3);}}class u extends _0x3e301a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3ccff9=this['editor'],_0x301650=_0x3ccff9['plugins']['get']('RevisionTracker');_0x3ccff9['ui']['componentFactory']['add']('revisionHistory',_0xc71f87=>{const _0x1605e3=_0x5401b0(_0xc71f87),_0x3ee9fb=_0x1605e3['panelView']['children'],_0x56efa7=new te(_0xc71f87),_0x2f7e6c=new _0x2bebdb(_0xc71f87),_0x2e6ea0=new _0x587d3c(_0xc71f87),_0x42a977=new _0x2bebdb(_0xc71f87),_0x297732=new _0x587d3c(_0xc71f87);return _0x1605e3['bind']('isEnabled')['to'](_0x301650,'isReady',_0x301650,'isEnabled',_0x3ccff9,'isReadOnly',(_0x3beaa6,_0x59f17f,_0x5a6aea)=>_0x3beaa6&&_0x59f17f&&!_0x5a6aea),_0x1605e3['buttonView']['set']({'icon':_0x1fc532['history'],'label':y(_0xc71f87,'Revision\x20history'),'tooltip':!0x0}),_0x2e6ea0['set']({'label':y(_0xc71f87,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2e6ea0['bind']('isEnabled')['to'](_0x301650,'isReady',_0x301650,'isEnabled',_0x3ccff9,'isReadOnly',(_0x506b1d,_0x2a93ef,_0x590865)=>_0x506b1d&&_0x2a93ef&&!_0x590865),_0x2e6ea0['on']('execute',()=>this['_showDialog']()),_0x297732['set']({'label':y(_0xc71f87,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x297732['bind']('isEnabled')['to'](_0x301650,'isReady',_0x3ccff9,'isReadOnly',(_0x35435c,_0x3a8461)=>_0x35435c&&!_0x3a8461),_0x297732['on']('execute',()=>{_0x3ccff9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1605e3['isOpen']=!0x1,_0x3ccff9['editing']['view']['focus']();}),_0x2f7e6c['children']['add'](_0x2e6ea0),_0x42a977['children']['add'](_0x297732),_0x56efa7['role']='menu',_0x56efa7['items']['addMany']([_0x2f7e6c,_0x42a977]),_0x3ee9fb['add'](_0x56efa7),_0x1605e3;}),_0x3ccff9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2cba5d=this['editor'],_0x25f091=_0x2cba5d['locale'],_0x3ef955=new _0x473725(_0x25f091),_0x2a336f=new _0x17cb25(_0x25f091);_0x3ef955['buttonView']['set']({'icon':_0x1fc532['history'],'label':y(_0x25f091,'Revision\x20history')});const _0x2f9dff=new _0x267d06(_0x25f091,_0x3ef955),_0x5a16db=new _0x2fb3be(_0x25f091);_0x5a16db['set']({'label':y(_0x25f091,'Save\x20current\x20revision')}),_0x5a16db['delegate']('execute')['to'](_0x3ef955),_0x5a16db['on']('execute',()=>{this['_showDialog']();}),_0x2f9dff['children']['add'](_0x5a16db),_0x2a336f['items']['add'](_0x2f9dff);const _0x4dc581=new _0x267d06(_0x25f091,_0x3ef955),_0x25f3ff=new _0x2fb3be(_0x25f091);return _0x25f3ff['set']({'label':y(_0x25f091,'Open\x20revision\x20history')}),_0x25f3ff['delegate']('execute')['to'](_0x3ef955),_0x25f3ff['on']('execute',()=>{_0x2cba5d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4dc581['children']['add'](_0x25f3ff),_0x2a336f['items']['add'](_0x4dc581),_0x3ef955['panelView']['children']['add'](_0x2a336f),_0x3ef955;}['_showDialog'](){const _0x5a7c58=this['editor'],_0x47d4c7=_0x5a7c58['locale'],t=_0x47d4c7['t'],_0x30895a=_0x5a7c58['plugins']['get']('Dialog'),_0x3aa09a=_0x5a7c58['plugins']['get']('RevisionTracker');function _0x41ef83(_0x34b9ff){_0x5a7c58['config']['get']('revisionHistory.requireRevisionName')&&''===_0x34b9ff['revisionName']?_0x34b9ff['revisionNameInputView']['errorText']=y(_0x47d4c7,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5a7c58['plugins']['get'](l)['saveRevision']({'name':_0x34b9ff['revisionName']}),_0x30895a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x41ef83(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x30895a['show']({'id':'findAndReplace','title':y(_0x47d4c7,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x30895a['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x51fe4b){_0x51fe4b['bind']('isEnabled')['to'](_0x3aa09a,'isReady',_0x3aa09a,'isEnabled',_0x5a7c58,'isReadOnly',(_0x52b770,_0x1c38d8,_0x5af9a7)=>_0x52b770&&_0x1c38d8&&!_0x5af9a7);},'onExecute':()=>_0x41ef83(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1cdc09=this['editor'],_0x10efec=_0x1cdc09['locale'];this['_saveRevisionFormView']=new ns(_0x10efec,_0x1cdc09['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2cff7d{['changeId'];['_model'];constructor(_0x229dc7,_0x2cb781){super(_0x229dc7),this['_model']=_0x2cb781,this['changeId']=_0x2cb781['id'];const _0x53d90f=this['bindTemplate'],_0x59e1c3=y(_0x229dc7,_0x2cb781['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2cb781['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2cb781['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x53d90f['to']('type',_0x13521e=>'ck-revision-change__'+_0x13521e)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x59e1c3}]},{'text':'\x20'+_0x2cb781['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x2ddb56(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x133ead){super(),this['id']=_0x133ead['id']||_0x99be31(),this['author']=_0x133ead['author'],this['type']=_0x133ead['type'],this['data']=_0x133ead['data']||{},this['rootName']=_0x133ead['rootName'],this['set']('createdAt',_0x133ead['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(_0x12fee9,_0x1cb2ac){this['newRevisionId']=_0x12fee9,this['oldRevisionId']=_0x1cb2ac,this['changes']=new _0x122e73();}['_setChanges'](_0x1c6173){for(const _0x4220ad of _0x1c6173)this['changes']['add'](_0x4220ad);}}const tt={'c':_0x47e8c6,'a':_0x1ddffa,'e':_0x2c8a1a,'r':_0x2646a0,'u':_0x491896};class d extends _0x3e301a{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x503f5c,_0x459411,A];}constructor(_0x38d899){super(_0x38d899),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',(_0x33a848,_0x5bb6f1,_0x50a1b1)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3918fb=>{for(const _0x118748 of this['editor']['editing']['view']['document']['roots'])_0x50a1b1?_0x3918fb['removeClass']('ck-editor__editable__overlay',_0x118748):_0x3918fb['addClass']('ck-editor__editable__overlay',_0x118748);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4a7311=>null!==_0x4a7311),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xcf93ff,_0x5dd635,_0x5449fc)=>_0xcf93ff&&_0x5449fc?_0x5dd635['changes']['getIndex'](_0x5449fc):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x47025b,_0x34ea7d)=>_0x47025b?_0x34ea7d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x459411);}['init'](){const _0x2894c2=this['editor'],_0x303b60=new yt(_0x2894c2,{'direction':'backward'}),_0x2756ca=new yt(_0x2894c2,{'direction':'forward'});(_0x2894c2['commands']['add']('showPreviousChange',_0x303b60),_0x2894c2['commands']['add']('showNextChange',_0x2756ca),_0x2894c2['commands']['add']('restoreRevision',new bt(_0x2894c2)),this['on']('change:numberOfChanges',()=>{_0x303b60['refresh'](),_0x2756ca['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2894c2['enableReadOnlyMode']('revision-viewer'),_0x2894c2['plugins']['has']('WidgetToolbarRepository'))&&_0x2894c2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x12a8c1){await this['loadRevisionData'](_0x12a8c1);const _0x2217d1={};for(const _0x2a3f8d in _0x12a8c1['diffData']){if(_0x12a8c1['diffData'][_0x2a3f8d]['attachChange']&&!_0x12a8c1['diffData'][_0x2a3f8d]['attachChange']['isAttached'])continue;const _0x274a2c=this['_removeRevisionMarkers'](JSON['parse'](_0x12a8c1['diffData'][_0x2a3f8d]['insertions'])),_0x2de940=this['editor']['editing']['view']['document'],_0x588161=new _0x338eac(_0x2de940,_0x274a2c['map'](_0x43706e=>this['_getViewObj'](_0x43706e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2217d1[_0x2a3f8d]=this['editor']['data']['processor']['toData'](_0x588161),this['editor']['data']['processor']['useFillerType']('default');}return _0x2217d1;}async['getRevisionRootsAttributes'](_0x1fc1b0){await this['loadRevisionData'](_0x1fc1b0);const _0x221e21={};for(const _0x559c46 in _0x1fc1b0['diffData'])_0x1fc1b0['diffData'][_0x559c46]['attachChange']&&!_0x1fc1b0['diffData'][_0x559c46]['attachChange']['isAttached']||(_0x221e21[_0x559c46]=_0x1fc1b0['diffData'][_0x559c46]['attributesAfter']||{});return _0x221e21;}['_removeRevisionMarkers'](_0xbc92c3){return(_0xbc92c3=_0xbc92c3['filter'](_0x1a4cc4=>!_0x1a4cc4['name']||'revision-start'!==_0x1a4cc4['name']&&'revision-end'!==_0x1a4cc4['name']))['forEach'](_0x251f68=>{'string'!=typeof _0x251f68&&(_0x251f68['children']=this['_removeRevisionMarkers'](_0x251f68['children']),_0x251f68['attributes']=_0x251f68['attributes']['filter'](_0x2545e6=>!_0x2545e6[0x0]['startsWith']('data-revision-')));}),_0xbc92c3;}async['compare'](_0x4a2e57,_0x1e5562,_0x2b3449=!0x1){if(!this['isEnabled'])return;const _0x2d1929=this['diff'],_0x33dfad=this['repository'],_0x4b763a='string'==typeof _0x4a2e57?_0x33dfad['getRevision'](_0x4a2e57):_0x4a2e57,_0x2fc5bd='string'==typeof _0x1e5562?_0x33dfad['getRevision'](_0x1e5562):_0x1e5562,_0x2cd9bf=_0x4b763a['id'],_0x7f82d8=_0x2fc5bd?_0x2fc5bd['id']:null;if(!_0x2b3449&&this['diff']&&this['diff']['newRevisionId']===_0x2cd9bf&&this['diff']['oldRevisionId']===_0x7f82d8)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2cd9bf,_0x7f82d8);const _0x455645=this['_getRevisionsRange'](_0x4b763a,_0x2fc5bd,!0x0)['map'](_0x271951=>this['loadRevisionData'](_0x271951));return _0x455645['push'](new Promise(_0x2713ab=>{setTimeout(_0x2713ab,0x14);})),Promise['all'](_0x455645)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xd4031b=this['_getDiff'](_0x2cd9bf,_0x7f82d8);for(const _0x1aab9d of _0xd4031b['changes'])this['_changeIdToChange']['set'](_0x1aab9d['id'],_0x1aab9d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1df3de=>{for(const _0x2889b8 of this['editor']['model']['document']['getRootNames']())_0x1df3de['detachRoot'](_0x2889b8);for(const _0x486604 of Object['keys'](_0xd4031b['model'])){const _0x13d685=_0x1df3de['addRoot'](_0x486604);for(const _0x59663f of Object['keys'](_0xd4031b['attributes'][_0x486604]))_0x1df3de['setAttribute'](_0x59663f,_0xd4031b['attributes'][_0x486604][_0x59663f],_0x13d685);_0x1df3de['insert'](_0xd4031b['model'][_0x486604],_0x13d685,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xd4031b['changes'])),this['isReady']=!0x0;})['catch'](_0x29eab1=>{console['error'](_0x29eab1),this['_cleanUp'](),_0x2d1929&&(this['diff']=_0x2d1929),this['isReady']=!0x0;});}['addRevisionData'](_0x12e34a,_0x57b10c){const _0x4ebeac=this['repository']['createRevision'](_0x12e34a);return _0x4ebeac['on']('_update',(_0x293ca5,_0x106475,_0x2a6924)=>_0x57b10c(_0x106475,_0x2a6924,_0x4ebeac)),this['repository']['addRevision'](_0x4ebeac),_0x4ebeac;}['loadRevisionData'](_0x352b05){if(!_0x352b05||_0x352b05['diffData'])return Promise['resolve']();{const _0x2a094d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2a094d,'revisionId':_0x352b05['id']})['then'](_0x3147b1=>{_0x352b05['_update']({'diffData':_0x3147b1['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},_0x28d4a5=>{for(const _0xf3b918 of this['editor']['model']['document']['getRootNames']())_0x28d4a5['detachRoot'](_0xf3b918);});}['_sortAndFilterDiffChanges'](_0x44a22d){const _0x2e5cc4=[],_0x27b12a=new Map();for(const _0x3c211d of this['editor']['model']['document']['getRootNames']()){const _0x3c7c76=this['editor']['editing']['view']['getDomRoot'](_0x3c211d);if(!_0x3c7c76)continue;const _0x5c3d55=_0x3c7c76['getClientRects']()['item'](0x0);_0x5c3d55&&(_0x2e5cc4['push'](_0x3c211d),_0x27b12a['set'](_0x3c211d,_0x5c3d55));}return _0x2e5cc4['sort']((_0x3ac61e,_0x3d53fd)=>{const _0x327bbc=_0x27b12a['get'](_0x3ac61e),_0x5d7bf3=_0x27b12a['get'](_0x3d53fd);return _0x327bbc['y']-_0x5d7bf3['y']||_0x327bbc['x']-_0x5d7bf3['x'];}),(_0x44a22d=_0x44a22d['filter'](_0x258fcd=>_0x2e5cc4['includes'](_0x258fcd['rootName'])))['sort']((_0x5fbe15,_0xe07f9d)=>_0x2e5cc4['indexOf'](_0x5fbe15['rootName'])-_0x2e5cc4['indexOf'](_0xe07f9d['rootName'])),_0x44a22d;}['_makeTape'](_0x2f2fc2){const _0xbf7f76=Array['from'](_0x2f2fc2['markers'])['filter'](([_0x3668a9,_0x50b4e4])=>_0x3668a9['startsWith']('revision:')&&!_0x50b4e4['isCollapsed']),_0x5a0783=Array['from'](this['editor']['model']['createRangeIn'](_0x2f2fc2)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xbf7f76['length'])for(const _0x577757 of _0x5a0783){const [_0x1e6eb8,_0x51f609]=_0xbf7f76[0x0],[,_0x110f95,_0x99f313]=_0x1e6eb8['split'](':');if(_0x51f609['end']['isEqual'](_0x577757['nextPosition'])&&_0xbf7f76['shift'](),(_0x577757['previousPosition']['isEqual'](_0x51f609['start'])||_0x577757['previousPosition']['isAfter'](_0x51f609['start']))&&('insertion'==_0x110f95?_0x577757['isAdded']={'userId':_0x99f313}:'deletion'==_0x110f95&&(_0x577757['isRemoved']={'userId':_0x99f313})),0x0==_0xbf7f76['length'])break;}return _0x5a0783;}['_refreshStartEndIndex'](_0x57dfef){const _0x4bdeab=new Map();for(let _0x3cc4ef=0x0;_0x3cc4ef<_0x57dfef['length'];_0x3cc4ef++)'text'===_0x57dfef[_0x3cc4ef]['type']?(_0x57dfef[_0x3cc4ef]['item']['startIndex']=_0x3cc4ef,_0x57dfef[_0x3cc4ef]['item']['endIndex']=_0x3cc4ef):('elementStart'===_0x57dfef[_0x3cc4ef]['type']?_0x57dfef[_0x3cc4ef]['item']['startIndex']=_0x3cc4ef:'elementEnd'===_0x57dfef[_0x3cc4ef]['type']&&(_0x57dfef[_0x3cc4ef]['item']['endIndex']=_0x3cc4ef),_0x4bdeab['set'](_0x57dfef[_0x3cc4ef]['id'],_0x3cc4ef));for(const _0x4da621 of _0x4bdeab['values']())'elementStart'===_0x57dfef[_0x4da621]['type']?_0x57dfef[_0x4da621]['item']['endIndex']=_0x4bdeab['get'](_0x57dfef[_0x4da621]['pairId']):'elementEnd'===_0x57dfef[_0x4da621]['type']&&(_0x57dfef[_0x4da621]['item']['startIndex']=_0x4bdeab['get'](_0x57dfef[_0x4da621]['pairId']));}['_processTape'](_0x5bbae0){for(let _0x4a6e05=0x0;_0x4a6e05<_0x5bbae0['length'];_0x4a6e05++){if('elementStart'===_0x5bbae0[_0x4a6e05]['type'])_0x5bbae0[_0x4a6e05]['item']['startIndex']=_0x4a6e05;else{if('elementEnd'===_0x5bbae0[_0x4a6e05]['type']){_0x5bbae0[_0x4a6e05]['item']['endIndex']=_0x4a6e05;const _0xc8df54=_0x5bbae0[_0x4a6e05]['item']['startIndex'];_0x5bbae0[_0xc8df54]['pairId']=_0x5bbae0[_0x4a6e05]['id'],_0x5bbae0[_0x4a6e05]['pairId']=_0x5bbae0[_0xc8df54]['id'];}else _0x5bbae0[_0x4a6e05]['item']['startIndex']=_0x4a6e05,_0x5bbae0[_0x4a6e05]['item']['endIndex']=_0x4a6e05,_0x5bbae0[_0x4a6e05]['pairId']=null;}_0x5bbae0[_0x4a6e05]['markersStart']||(_0x5bbae0[_0x4a6e05]['markersStart']=[],_0x5bbae0[_0x4a6e05]['markersEnd']=[]);}}['_markInsertions'](_0x678c20,_0x182697){const _0xcdc904=_0x678c20['filter'](_0x4ca031=>!_0x4ca031['isAdded']);for(let _0x304ecb=0x0;_0x304ecb<_0x182697['length'];_0x304ecb++)_0x182697[_0x304ecb]['isAdded']&&(_0xcdc904[_0x304ecb]['isAdded']=_0x182697[_0x304ecb]['isAdded']);}['_makeModelFromViewString'](_0x535958){const _0x26344e=JSON['parse'](_0x535958),_0x541730=this['editor']['editing']['view']['document'],_0x3aaafc=new _0x338eac(_0x541730,_0x26344e['map'](_0x4ea806=>this['_getViewObj'](_0x4ea806)));return this['editor']['data']['toModel'](_0x3aaafc);}['_getViewObj'](_0x3f34dd){const _0x5caa84=this['editor']['editing']['view']['document'];if('string'==typeof _0x3f34dd)return new _0x41da38(_0x5caa84,_0x3f34dd);{const _0x1ac071=_0x3f34dd['children']['map'](_0x5f0a75=>this['_getViewObj'](_0x5f0a75));return new(tt[_0x3f34dd['type']]||_0x21dc15)(_0x5caa84,_0x3f34dd['name'],_0x3f34dd['attributes'],_0x1ac071);}}['_getDiff'](_0x5a2db1,_0x44fb12=null){const _0x3909ca=this['repository']['getRevision'](_0x5a2db1),_0x436924=_0x44fb12?this['repository']['getRevision'](_0x44fb12):null,_0x33428b=this['_getRevisionsRange'](_0x3909ca,_0x436924),_0x552907=_0x33428b[_0x33428b['length']-0x1],_0x2d8dfa=new Map(),_0x1b495e={'model':{},'attributes':{},'changes':[]},_0x3ad29c=new Set(),_0x21fa67=new Map();for(let _0x1d3497=_0x33428b['length']-0x1;_0x1d3497>=0x0;_0x1d3497--){const _0x3bcd02=_0x33428b[_0x1d3497];for(const _0x3ce06d of Object['keys'](_0x3bcd02['diffData']))if(_0x3bcd02['diffData'][_0x3ce06d]['attachChange']){const _0x4046d5=_0x3bcd02['diffData'][_0x3ce06d]['attachChange'];_0x4046d5['isAttached']?(_0x3ad29c['add'](_0x3ce06d),_0x21fa67['has'](_0x3ce06d)&&_0x21fa67['get'](_0x3ce06d)['userId']==_0x4046d5['userId']?_0x21fa67['delete'](_0x3ce06d):_0x21fa67['set'](_0x3ce06d,_0x4046d5)):_0x21fa67['has'](_0x3ce06d)?(_0x3ad29c['delete'](_0x3ce06d),_0x21fa67['delete'](_0x3ce06d)):(_0x3ad29c['add'](_0x3ce06d),_0x21fa67['set'](_0x3ce06d,_0x4046d5));}else _0x3ad29c['add'](_0x3ce06d);}for(const _0x3e22c9 of _0x3ad29c){const _0x5915a7=_0x21fa67['has'](_0x3e22c9)&&!_0x21fa67['get'](_0x3e22c9)['isAttached'];let _0x2c5acd=_0x5915a7?_0x33428b['length']-0x1:0x0;const _0x155f5f=_0x5915a7?-0x1:0x1;for(;_0x33428b[_0x2c5acd];){const _0x1c96cc=_0x33428b[_0x2c5acd];if(_0x1c96cc['diffData'][_0x3e22c9]){const _0x560ab4=_0x5915a7?_0x1c96cc['diffData'][_0x3e22c9]['attributesBefore']:_0x1c96cc['diffData'][_0x3e22c9]['attributesAfter'];_0x1b495e['attributes'][_0x3e22c9]=_0x560ab4?_0x252b5f(_0x560ab4):{};break;}_0x2c5acd+=_0x155f5f;}}for(const _0x513a74 of _0x33428b){_0x513a74['model']={};for(const _0x864e9b of _0x513a74['authors'])_0x2d8dfa['set'](_0x864e9b['id'],_0x864e9b);for(const _0x3c82d2 of _0x3ad29c){const _0x340d77=_0x513a74['diffData'][_0x3c82d2]?_0x513a74['diffData'][_0x3c82d2]['insertions']:'[]',_0x5bf257=_0x513a74['diffData'][_0x3c82d2]?_0x513a74['diffData'][_0x3c82d2]['deletions']:'[]';_0x513a74['model'][_0x3c82d2]={'insertions':this['_makeModelFromViewString'](_0x340d77),'deletions':this['_makeModelFromViewString'](_0x5bf257)};}}for(const _0xb0a8e5 of _0x3ad29c){let _0xff287c=null,_0x25ab3f=0x0;const _0x148f5b=new Map(Array['from'](_0x3909ca['model'][_0xb0a8e5]['insertions']['markers'])['filter'](([_0x391997])=>!_0x391997['startsWith']('revision:')));let _0x1df6e7=0x0;for(const _0x19ff17 of _0x33428b){const _0x5244ad=this['_makeTape'](_0x19ff17['model'][_0xb0a8e5]['insertions']);_0x19ff17==_0x3909ca?(_0xff287c=_0x5244ad,_0x25ab3f=_0xff287c['length'],_0xff287c['forEach'](_0x24b73a=>{_0x24b73a['id']=_0x1df6e7++;}),this['_processTape'](_0xff287c)):this['_markInsertions'](_0xff287c,_0x5244ad);const _0x4df874=_0xff287c['filter'](_0xad4d83=>!_0xad4d83['isAdded'])['map'](_0x1d7a9b=>_0x1d7a9b['id']);let _0x5756ae=0x0;const _0x4ebead=this['_makeTape'](_0x19ff17['model'][_0xb0a8e5]['deletions']);_0x4ebead['forEach'](_0x1d340e=>{_0x1d340e['isRemoved']?_0x1d340e['id']=_0x25ab3f++:_0x1d340e['id']=_0x4df874[_0x5756ae++];}),this['_processTape'](_0x4ebead),this['_setDistance'](_0xff287c,'isAdded'),this['_setDistance'](_0x4ebead,'isRemoved'),_0x19ff17==_0x3909ca&&this['_markMarkers'](_0xff287c,_0x148f5b),_0xff287c=this['_joinTapes'](_0xff287c,_0x4ebead),this['_refreshStartEndIndex'](_0xff287c),this['_setDistance'](_0xff287c,'isRemoved');}_0xff287c=_0xff287c['filter'](_0x2f5f63=>!(_0x2f5f63['isAdded']&&_0x2f5f63['isRemoved']));const _0x91f06f=new Map(_0x552907['model'][_0xb0a8e5]['deletions']['markers']),_0xaaaa93=new Set(_0x148f5b['keys']());for(const _0x22ddd4 of _0x91f06f['keys']())_0xaaaa93['delete'](_0x22ddd4);this['_markSuggestions'](_0xff287c,_0xaaaa93),this['_fixObsoleteTags'](_0xff287c),_0xff287c=this['_removeMissingPairs'](_0xff287c),_0xff287c=this['_markMismatchedRemovedTags'](_0xff287c),_0xff287c=this['_removeUnsupportedChanges'](_0xff287c);const {root:_0x4f4799,changes:_0x433e32}=this['_makeModelFromTape'](_0xff287c,_0x2d8dfa,_0xb0a8e5);_0x1b495e['model'][_0xb0a8e5]=_0x4f4799;const _0x578089=_0x21fa67['get'](_0xb0a8e5);if(_0x578089){const _0x104fec=_0x2d8dfa['get'](_0x578089['userId']),_0x5b66ac=new r({'author':_0x104fec,'type':_0x578089['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xb0a8e5});_0x433e32['unshift'](_0x5b66ac),_0x1b495e['attributes'][_0xb0a8e5]['revisionHistoryAttachChange']=_0x5b66ac['id'];}_0x1b495e['changes']=_0x1b495e['changes']['concat'](_0x433e32);}return _0x1b495e;}['_markMarkers'](_0x4730c9,_0x5865ac){for(let _0xe0a3a9=0x0;_0xe0a3a9<_0x4730c9['length'];_0xe0a3a9++)for(const [_0x598419,_0x26d23e]of _0x5865ac)_0x26d23e['start']['isEqual'](_0x4730c9[_0xe0a3a9]['previousPosition'])&&_0x4730c9[_0xe0a3a9]['markersStart']['push'](_0x598419),_0x26d23e['end']['isEqual'](_0x4730c9[_0xe0a3a9]['nextPosition'])&&_0x4730c9[_0xe0a3a9]['markersEnd']['push'](_0x598419);}['_joinTapes'](_0x4f38cb,_0x3a8350){let _0x329e1d=[],_0x483f24=0x0,_0xad1f14=0x0;for(;_0x483f24<_0x4f38cb['length']||_0xad1f14<_0x3a8350['length'];){const _0x37dd98=_0x4f38cb[_0x483f24]||{},_0x562ad4=_0x3a8350[_0xad1f14]||{};if(_0x37dd98['id']==_0x562ad4['id'])_0x483f24++,_0xad1f14++,_0x329e1d['push'](_0x37dd98);else{if(_0x562ad4['isRemoved']&&_0x37dd98['isAdded']){const {commonTape:_0x7bc236,iEnd:_0x8b7854,jEnd:_0x56a699}=this['_threeWayMerge'](_0x4f38cb,_0x483f24,_0x3a8350,_0xad1f14);_0x329e1d=_0x329e1d['concat'](_0x7bc236),_0x483f24=_0x8b7854,_0xad1f14=_0x56a699;}else _0x562ad4['isRemoved']?(_0xad1f14++,_0x329e1d['push'](_0x562ad4)):(_0x483f24++,_0x329e1d['push'](_0x37dd98));}}return _0x329e1d;}['_markSuggestions'](_0x5efc9b,_0x30690f){const _0x1595d0=[];for(let _0x51135a=0x0;_0x51135a<_0x5efc9b['length'];_0x51135a++){for(let _0x46e5e0=0x0;_0x46e5e0<_0x5efc9b[_0x51135a]['markersStart']['length'];_0x46e5e0++){const _0x24af9a=_0x5efc9b[_0x51135a]['markersStart'][_0x46e5e0];if(!_0x30690f['has'](_0x24af9a))continue;const {group:_0x5e9155,type:_0x2fcf72,authorId:_0xe2e9e3}=_0x40986f(_0x24af9a);'revision-suggestion'!=_0x5e9155||'insertion'!=_0x2fcf72&&'deletion'!=_0x2fcf72||(_0x1595d0['unshift']({'type':_0x2fcf72,'name':_0x24af9a,'userId':_0xe2e9e3}),_0x5efc9b[_0x51135a]['markersStart']['splice'](_0x46e5e0,0x1),_0x46e5e0--);}_0x1040da(_0x5efc9b[_0x51135a]);for(let _0x512313=0x0;_0x512313<_0x5efc9b[_0x51135a]['markersEnd']['length'];_0x512313++){const _0x467ece=_0x5efc9b[_0x51135a]['markersEnd'][_0x512313];if(!_0x30690f['has'](_0x467ece))continue;const {group:_0x5bdf91,type:_0x5b8007}=_0x40986f(_0x467ece);if('revision-suggestion'!=_0x5bdf91||'insertion'!=_0x5b8007&&'deletion'!=_0x5b8007)continue;_0x5efc9b[_0x51135a]['markersEnd']['splice'](_0x512313,0x1),_0x512313--;const _0x59f00d=_0x1595d0['findIndex'](_0x207e80=>_0x207e80['name']==_0x467ece);_0x59f00d>-0x1&&_0x1595d0['splice'](_0x59f00d,0x1);}}function _0x40986f(_0x126149){const _0x3b9e66=_0x126149['split'](':');return{'group':_0x3b9e66[0x0],'type':_0x3b9e66[0x1],'subType':_0x3b9e66['length']>=0x5?_0x3b9e66[0x2]:null,'id':_0x3b9e66['length']<0x5?_0x3b9e66[0x2]:_0x3b9e66[0x3],'authorId':_0x3b9e66['length']<0x5?_0x3b9e66[0x3]:_0x3b9e66[0x4],'markerCount':0x6==_0x3b9e66['length']?_0x3b9e66[0x5]:null};}function _0x1040da(_0x584f1c){for(let _0x1cb675=0x0;_0x1cb675<_0x1595d0['length'];_0x1cb675++){if(_0x584f1c['isAdded']&&'insertion'==_0x1595d0[_0x1cb675]['type'])return _0x584f1c['isAddSuggestion']=_0x1595d0[_0x1cb675],void delete _0x584f1c['isAdded'];if(!_0x584f1c['isAdded']&&!_0x584f1c['isRemoved']&&'deletion'==_0x1595d0[_0x1cb675]['type'])return void(_0x584f1c['isRemoveSuggestion']=_0x1595d0[_0x1cb675]);}}}['_setDistance'](_0x11482b,_0x87a8ba){let _0x488f27=0x0,_0x4f2317=!0x1;const _0x548e5a=new Map();for(const _0xa7d096 of _0x11482b)_0xa7d096[_0x87a8ba]?_0x4f2317&&(_0x488f27++,_0x4f2317=!0x1):(_0x488f27++,_0x4f2317=!0x0),_0x548e5a['set'](_0xa7d096['id'],_0x488f27);for(let _0xa5aeda=0x0;_0xa5aeda<_0x11482b['length'];_0xa5aeda++){if('isRemoved'==_0x87a8ba&&_0x11482b[_0xa5aeda]['isAdded']||'isAdded'==_0x87a8ba&&_0x11482b[_0xa5aeda]['isRemoved'])continue;if('text'==_0x11482b[_0xa5aeda]['type']){_0x11482b[_0xa5aeda]['distance']=0x0;continue;}const _0x32c5b1=_0x548e5a['get'](_0x11482b[_0xa5aeda]['pairId']),_0x44c1e2=_0x548e5a['get'](_0x11482b[_0xa5aeda]['id']);_0x11482b[_0xa5aeda]['distance']=_0x32c5b1-_0x44c1e2;}}['_getRevisionsRange'](_0x3b2774,_0x5337a1,_0x430840=!0x1){const _0x49af13=[];let _0x55252b=this['repository']['getIndex'](_0x3b2774),_0x48728e=this['repository']['getIndex'](_0x5337a1);for(-0x1==_0x48728e&&(_0x48728e=this['repository']['_revisions']['length'],_0x430840=!0x1);_0x55252b<_0x48728e;)_0x49af13['push'](this['repository']['getRevision'](_0x55252b)),_0x55252b++;return _0x430840&&_0x49af13['push'](this['repository']['getRevision'](_0x55252b)),_0x49af13;}['_threeWayMerge'](_0x36dfa8,_0xb97a63,_0xf148c0,_0x4c0cb2){const _0x1eccfd=this['editor']['model']['schema'];let _0x482290=_0xb97a63;for(;_0x36dfa8[_0x482290]&&_0x36dfa8[_0x482290]['isAdded'];)_0x482290++;let _0x57df41=_0x4c0cb2;for(;_0xf148c0[_0x57df41]&&_0xf148c0[_0x57df41]['isRemoved'];)_0x57df41++;_0x35c9aa(_0x36dfa8,_0xb97a63,_0x482290),_0x35c9aa(_0xf148c0,_0x4c0cb2,_0x57df41);const _0x24876a=_0xf148c0['slice'](_0x4c0cb2,_0x57df41)['concat'](_0x36dfa8['slice'](_0xb97a63,_0x482290));return _0x24876a['sort']((_0x3a76ad,_0x103398)=>_0x3a76ad['side']!=_0x103398['side']?_0x3a76ad['side']-_0x103398['side']:_0x3a76ad['level']!=_0x103398['level']?_0x3a76ad['level']-_0x103398['level']:_0x3a76ad['distance']!=_0x103398['distance']?_0x103398['distance']-_0x3a76ad['distance']:!!_0x3a76ad['isAdded']!=!!_0x103398['isAdded']?-0x1==_0x3a76ad['side']||0x0==_0x3a76ad['side']?_0x3a76ad['isAdded']?-0x1:0x1:_0x3a76ad['isAdded']?0x1:-0x1:_0x3a76ad['index']-_0x103398['index']),{'commonTape':_0x24876a,'iEnd':_0x482290,'jEnd':_0x57df41};function _0x35c9aa(_0x3db0c3,_0xab2989,_0x52c5d1){let _0x575924=-0x1,_0x12c30d=Number['POSITIVE_INFINITY'],_0x30930e=!0x0;for(let _0x10dcf9=_0xab2989;_0x10dcf9<_0x52c5d1;_0x10dcf9++)if(_0x1eccfd['isInline'](_0x3db0c3[_0x10dcf9]['item'])||(_0x30930e=!0x1),_0x3db0c3[_0x10dcf9]['item']['startIndex']<_0xab2989&&(_0x575924=_0x10dcf9),_0x3db0c3[_0x10dcf9]['item']['endIndex']>=_0x52c5d1){_0x12c30d=_0x10dcf9;break;}_0x30930e&&(_0x575924=_0x52c5d1-0x1);for(let _0x429025=_0xab2989;_0x429025<_0x52c5d1;_0x429025++)_0x3db0c3[_0x429025]['side']=_0x429025<=_0x575924?-0x1:_0x429025<_0x12c30d?0x0:0x1,_0x3db0c3[_0x429025]['index']=_0x429025;let _0x3a01c8=0x0;for(let _0x279284=_0xab2989;_0x279284<=_0x575924;_0x279284++)0x0==_0x3db0c3[_0x279284]['distance']?_0x3db0c3[_0x279284]['level']=_0x3a01c8:(_0x3a01c8++,_0x3db0c3[_0x279284]['level']=_0x3a01c8,_0x3a01c8++);for(let _0x4d3256=_0xab2989;_0x4d3256<_0x52c5d1;_0x4d3256++)0x0==_0x3db0c3[_0x4d3256]['side']&&(_0x3db0c3[_0x4d3256]['level']=_0x3a01c8);_0x3a01c8=0x0;for(let _0x14b6be=_0x52c5d1-0x1;_0x14b6be>=_0x12c30d;_0x14b6be--)0x0==_0x3db0c3[_0x14b6be]['distance']?_0x3db0c3[_0x14b6be]['level']=_0x3a01c8:(_0x3a01c8--,_0x3db0c3[_0x14b6be]['level']=_0x3a01c8,_0x3a01c8--);}}['_fixObsoleteTags'](_0x5a26d9){const _0x43e17b=new Map(),_0x41323c=this['editor']['model']['schema'];for(let _0x339024=0x1;_0x339024<_0x5a26d9['length'];_0x339024++){let _0xa4d077,_0x5a40db,_0x5ed191;const _0x4e1a58=_0x5a26d9[_0x339024],_0x4d5ec9=_0x5a26d9[_0x339024-0x1];if('text'==_0x4e1a58['type'])continue;if(_0x4e1a58['type']!=_0x4d5ec9['type'])continue;if(!_0x41323c['isBlock'](_0x4d5ec9['item'])||_0x41323c['isLimit'](_0x4d5ec9['item']))continue;if(!_0x41323c['isBlock'](_0x4e1a58['item'])||_0x41323c['isLimit'](_0x4e1a58['item']))continue;if((_0x5a26d9[_0x339024]['isAdded']||_0x5a26d9[_0x339024]['isAddSuggestion'])&&_0x5a26d9[_0x339024-0x1]['isRemoved'])_0xa4d077=_0x5a26d9[_0x339024],_0x5a40db=_0x5a26d9[_0x339024-0x1],_0x5ed191=_0x339024-0x1;else{if(!_0x5a26d9[_0x339024]['isRemoved']||!_0x5a26d9[_0x339024-0x1]['isAdded']&&!_0x5a26d9[_0x339024-0x1]['isAddSuggestion'])continue;_0xa4d077=_0x5a26d9[_0x339024-0x1],_0x5a40db=_0x5a26d9[_0x339024],_0x5ed191=_0x339024;}const _0x1f69b9=_0xa4d077['level']==_0x5a40db['level'],_0x3cb512=Math['abs'](_0xa4d077['level'])<Math['abs'](_0x5a40db['level'])&&0x0==_0x5a40db['distance'];(_0x1f69b9||_0x3cb512)&&(_0x43e17b['set'](_0x5a40db['id'],_0xa4d077['id']),_0x5a26d9['splice'](_0x5ed191,0x1),_0x339024--,_0xa4d077['isAdded']=!0x1);}for(let _0x1a24e4=0x0;_0x1a24e4<_0x5a26d9['length'];_0x1a24e4++)_0x43e17b['has'](_0x5a26d9[_0x1a24e4]['pairId'])&&(_0x5a26d9[_0x1a24e4]['pairId']=_0x43e17b['get'](_0x5a26d9[_0x1a24e4]['pairId']));}['_removeMissingPairs'](_0x43cbc3){const _0x5815c8=new Set(_0x43cbc3['map'](_0x500318=>_0x500318['id']));for(let _0x1986f5=0x0;_0x1986f5<_0x43cbc3['length'];_0x1986f5++)_0x5815c8['has'](_0x43cbc3[_0x1986f5]['pairId'])||0x0==_0x43cbc3[_0x1986f5]['distance']||(_0x43cbc3[_0x1986f5]['isIncorrect']=!0x0);return _0x43cbc3['filter'](_0x4795fa=>!_0x4795fa['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2255c2){const _0x2b2714=new Set();for(let _0x52c2fa=0x0;_0x52c2fa<_0x2255c2['length'];_0x52c2fa++){if(_0x2b2714['has'](_0x2255c2[_0x52c2fa]['id'])&&_0x2255c2[_0x52c2fa]['isRemoved']&&(_0x2255c2[_0x52c2fa]['isIncorrect']=!0x0),_0x2255c2[_0x52c2fa]['isIncorrect'])continue;if(0x0==_0x2255c2[_0x52c2fa]['distance'])continue;if('elementStart'!=_0x2255c2[_0x52c2fa]['type'])continue;if(null==_0x2255c2[_0x52c2fa]['pairId'])continue;let _0xef15e8=_0x52c2fa+0x1,_0x15929e=0x0;for(;_0x2255c2[_0xef15e8]['id']!=_0x2255c2[_0x52c2fa]['pairId'];)'elementStart'==_0x2255c2[_0xef15e8]['type']?_0x15929e++:'elementEnd'==_0x2255c2[_0xef15e8]['type']&&_0x15929e--,_0xef15e8++;if(0x0!=_0x15929e){if(_0x2255c2[_0x52c2fa]['isRemoved'])_0x2255c2[_0x52c2fa]['isIncorrect']=!0x0;else{for(;_0xef15e8!=_0x52c2fa;)_0x2255c2[_0xef15e8]['isRemoved']&&0x0!=_0x2255c2[_0xef15e8]['distance']&&(_0x2255c2[_0xef15e8]['isIncorrect']=!0x0,_0x2b2714['add'](_0x2255c2[_0xef15e8]['pairId'])),_0xef15e8--;}}}return _0x2255c2['filter'](_0x5c0209=>!_0x5c0209['isIncorrect']);}['_removeUnsupportedChanges'](_0x363671){const _0x24554e=this['editor']['model']['schema'];for(let _0x1479d4=0x0;_0x1479d4<_0x363671['length'];_0x1479d4++){if(!(_0x363671[_0x1479d4]['isAdded']||_0x363671[_0x1479d4]['isAddSuggestion']||_0x363671[_0x1479d4]['isRemoved']||_0x363671[_0x1479d4]['isRemoveSuggestion']))continue;if(0x0==_0x363671[_0x1479d4]['distance'])continue;const _0x18c992=_0x363671[_0x1479d4]['item'];_0x24554e['isBlock'](_0x18c992)||_0x24554e['isLimit'](_0x18c992)||(_0x363671[_0x1479d4]['isAdded']&&delete _0x363671[_0x1479d4]['isAdded'],_0x363671[_0x1479d4]['isAddSuggestion']&&delete _0x363671[_0x1479d4]['isAddSuggestion'],_0x363671[_0x1479d4]['isRemoveSuggestion']&&delete _0x363671[_0x1479d4]['isRemoveSuggestion'],_0x363671[_0x1479d4]['isRemoved']&&(_0x363671[_0x1479d4]['isIncorrect']=!0x0));}return _0x363671['filter'](_0x348af4=>!_0x348af4['isIncorrect']);}['_makeModelFromTape'](_0xdb039a,_0xe78005,_0x18ca9d){const _0x592c51=new wt(),_0x387235=[],_0x45121d=new Map(),_0x2a04f4=this['editor']['model'],_0xcf0aff=_0x2a04f4['schema'],_0x17fc64=[_0x592c51],_0x17d01b={},_0x367c24={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x9979a1=null;const _0x223702=[0x0];for(let _0x53b6d8=0x0;_0x53b6d8<_0xdb039a['length'];_0x53b6d8++){let _0x5c6083,_0x179288;if('elementStart'===_0xdb039a[_0x53b6d8]['type']){_0x5c6083=_0x2a04f4['createPositionFromPath'](_0x592c51,_0x223702);const _0x53e041=new ft(_0xdb039a[_0x53b6d8]['item']['name'],_0xdb039a[_0x53b6d8]['item']['getAttributes']());_0x17fc64[0x0]['_appendChild'](_0x53e041),_0x223702['push'](0x0),_0x17fc64['unshift'](_0x53e041),_0x179288=_0x2a04f4['createPositionFromPath'](_0x592c51,_0x223702),_0x9979a1=null;}else{if('elementEnd'===_0xdb039a[_0x53b6d8]['type'])_0x17fc64['shift'](),_0x5c6083=_0x2a04f4['createPositionFromPath'](_0x592c51,_0x223702),_0x223702['pop'](),_0x223702[_0x223702['length']-0x1]++,_0x179288=_0x2a04f4['createPositionFromPath'](_0x592c51,_0x223702),_0x9979a1=null;else{if(_0x5c6083=_0x2a04f4['createPositionFromPath'](_0x592c51,_0x223702),_0x9979a1&&_0x540eb6(_0x9979a1,_0xdb039a[_0x53b6d8]['item']))_0x9979a1['_data']+=_0xdb039a[_0x53b6d8]['item']['data'];else{const _0x473be4=new _t(_0xdb039a[_0x53b6d8]['item']['data'],_0xdb039a[_0x53b6d8]['item']['getAttributes']());_0x17fc64[0x0]['_appendChild'](_0x473be4),_0x9979a1=_0x473be4;}_0x223702[_0x223702['length']-0x1]+=_0xdb039a[_0x53b6d8]['item']['offsetSize'],_0x179288=_0x2a04f4['createPositionFromPath'](_0x592c51,_0x223702);}}for(const _0x284322 of _0xdb039a[_0x53b6d8]['markersStart'])_0x45121d['set'](_0x284322,{'start':_0x5c6083,'end':null});_0x37b902('isRemoveSuggestion',_0x53b6d8,_0x5c6083,_0x179288),_0x37b902('isAddSuggestion',_0x53b6d8,_0x5c6083,_0x179288),_0x37b902('isRemoved',_0x53b6d8,_0x5c6083,_0x179288),_0x37b902('isAdded',_0x53b6d8,_0x5c6083,_0x179288);for(const _0x338912 of _0xdb039a[_0x53b6d8]['markersEnd']){_0x45121d['get'](_0x338912)['end']=_0x179288;}}for(const [_0x52f697,_0x40ecea]of _0x45121d){const _0x166d60=this['editor']['model']['createRange'](_0x40ecea['start'],_0x40ecea['end']);_0x592c51['markers']['set'](_0x52f697,_0x166d60);}return _0x387235['sort']((_0x35600e,_0xb35c54)=>{const _0x8e9e19=_0x592c51['markers']['get']('revision:'+_0x35600e['id']),_0x5de644=_0x592c51['markers']['get']('revision:'+_0xb35c54['id']);return _0x8e9e19['start']['isBefore'](_0x5de644['start'])?-0x1:_0x8e9e19['start']['isAfter'](_0x5de644['start'])?0x1:_0x8e9e19['end']['isBefore'](_0x5de644['end'])?-0x1:_0x8e9e19['end']['isAfter'](_0x5de644['end'])?0x1:'add'===_0x35600e['type']?-0x1:0x1;}),{'root':_0x592c51,'changes':_0x387235};function _0x37b902(_0x1ca458,_0x51c806,_0x48c96e,_0x3fe14e){const _0x58e3a4=!!_0xdb039a[_0x51c806][_0x1ca458],_0x4d85db=_0x58e3a4?_0xdb039a[_0x51c806][_0x1ca458]['userId']:null,_0x593682=_0x51c806===_0xdb039a['length']-0x1,_0x46fa32=_0x367c24[_0x1ca458][0x0],_0x10525d=_0xcf0aff['isObject'](_0xdb039a[_0x51c806]['item']);!_0x17d01b[_0x1ca458]&&_0x58e3a4?_0x17d01b[_0x1ca458]={'start':_0x48c96e,'tapeItem':_0xdb039a[_0x51c806],'userId':_0x4d85db,'type':_0x1ca458}:_0x17d01b[_0x1ca458]&&!_0x58e3a4?(_0x17d01b[_0x1ca458]['end']=_0x48c96e,_0x57990f(_0x17d01b[_0x1ca458]),_0x17d01b[_0x1ca458]=null):_0x17d01b[_0x1ca458]&&_0x58e3a4&&_0x17d01b[_0x1ca458]['userId']!==_0x4d85db&&(_0x17d01b[_0x1ca458]['end']=_0x48c96e,_0x46fa32&&_0x46fa32['userId']===_0x17d01b[_0x1ca458]['userId']||_0x57990f(_0x17d01b[_0x1ca458]),_0x17d01b[_0x1ca458]={'start':_0x48c96e,'tapeItem':_0xdb039a[_0x51c806],'userId':_0x4d85db,'type':_0x1ca458}),_0x17d01b[_0x1ca458]&&_0x10525d&&('elementStart'!==_0xdb039a[_0x51c806]['type']||_0x46fa32&&_0x46fa32['userId']===_0x4d85db||_0x367c24[_0x1ca458]['unshift']({'userId':_0x4d85db,'object':_0xdb039a[_0x51c806]['item'],'change':_0x17d01b[_0x1ca458]}),'elementEnd'===_0xdb039a[_0x51c806]['type']&&_0x46fa32&&_0x46fa32['object']===_0xdb039a[_0x51c806]['item']&&(_0x367c24[_0x1ca458]['shift'](),_0x17d01b[_0x1ca458]=_0x46fa32['change'])),_0x17d01b[_0x1ca458]&&_0x593682&&(_0x17d01b[_0x1ca458]['end']=_0x3fe14e,_0x57990f(_0x17d01b[_0x1ca458]),_0x17d01b[_0x1ca458]=null);}function _0x57990f({start:_0x4d93ab,end:_0x26fe47,tapeItem:_0x4ddbae,userId:_0x43d80d,type:_0x195787}){const _0x366543=_0x4ddbae['item'],_0x5da13d=_0x2a04f4['schema']['isBlock'](_0x366543)&&!_0x2a04f4['schema']['isLimit'](_0x366543),_0x21a8a0=_0x4d93ab['nodeAfter']==_0x26fe47['parent']&&_0x26fe47['isAtStart'];if(_0x5da13d&&_0x21a8a0)return;const _0x9d7711=_0x2a04f4['createRange'](_0x4d93ab,_0x26fe47),_0x56c8a0=_0xe78005['get'](_0x43d80d),_0x37ae6d=new r({'author':_0x56c8a0,'type':'isAdded'==_0x195787||'isAddSuggestion'==_0x195787?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x195787||'isRemoveSuggestion'==_0x195787},'createdAt':new Date(),'rootName':_0x18ca9d});_0x387235['push'](_0x37ae6d),_0x592c51['markers']['set']('revision:'+_0x37ae6d['id'],_0x9d7711);}function _0x540eb6(_0x16af3e,_0x2b059b){const _0x12fa6b=_0x16af3e['getAttributes'](),_0x1cc7dd=_0x2b059b['getAttributes']();for(const _0x5369d7 of _0x12fa6b){if(_0x5369d7[0x1]!==_0x2b059b['getAttribute'](_0x5369d7[0x0]))return!0x1;_0x1cc7dd['next']();}return _0x1cc7dd['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x44e47c=>{const _0x5e3515=_0x44e47c['markerName']['split'](':')[0x1],_0x33473d=this['_getChangeFromId'](_0x5e3515);if(!_0x33473d)return null;const _0x3b3162='add'==_0x33473d['type']?'insertion':'deletion',_0x3dcf6b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3b3162];return _0x33473d['data']['isSuggestion']&&_0x3dcf6b['push']('ck-suggestion-marker-'+_0x3b3162+'-new'),this['activeChange']==_0x33473d&&_0x3dcf6b['push']('ck-suggestion-marker--active'),{'classes':_0x3dcf6b,'attributes':{'data-change-id':_0x5e3515}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4b7de2=>{_0x4b7de2['on']('element:pre',(_0x254ce4,_0x41f5ca,_0x312d9c)=>{const _0x2e4c4d=_0x41f5ca['viewItem']['getChild'](0x0);if(!_0x2e4c4d||!_0x2e4c4d['is']('element','code'))return;if(!_0x312d9c['consumable']['consume'](_0x2e4c4d,{'attributes':['vid_start','vid_end']}))return;const _0x27dc8e=_0x41f5ca['modelRange']['start']['nodeAfter'];_0x312d9c['writer']['setAttribute']('vid_start',_0x2e4c4d['getAttribute']('vid_start'),_0x27dc8e),_0x312d9c['writer']['setAttribute']('vid_end',_0x2e4c4d['getAttribute']('vid_end'),_0x27dc8e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4a2979=>{_0x4a2979['on']('element',(_0x5ccc5f,_0x4ceacd,_0x3e1060)=>{if(!_0x3e1060['consumable']['consume'](_0x4ceacd['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4ceacd['modelRange']['isCollapsed'])return;const _0x498e55=_0x4ceacd['modelRange']['start']['nodeAfter'];_0x498e55['hasAttribute']('vid_start')||_0x498e55['hasAttribute']('vid')||(_0x3e1060['writer']['setAttribute']('vid_start',_0x4ceacd['viewItem']['getAttribute']('vid_start'),_0x498e55),_0x3e1060['writer']['setAttribute']('vid_end',_0x4ceacd['viewItem']['getAttribute']('vid_end'),_0x498e55));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2066ab=>_0x2066ab['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5ed524,[,_0x3cd1ae])=>{['vid_start','vid_end','vid']['includes'](_0x3cd1ae)&&(_0x5ed524['return']=!0x0,_0x5ed524['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1df066=>{_0x1df066['on']('attribute:vid',(_0x3066bd,_0x65647b,_0xca3b83)=>{if('\x20'!=_0x65647b['item']['data']||_0x65647b['item']['parent']['maxOffset']>0x1)return;if(!_0xca3b83['consumable']['consume'](_0x65647b['item'],_0x3066bd['name']))return;const _0x20d74a=_0xca3b83['writer'],_0x4b8bd7=_0xca3b83['mapper']['toViewRange'](_0x65647b['range']);_0x20d74a['wrap'](_0x4b8bd7,_0x20d74a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x8bdd72){const _0x57c1dc=_0x8bdd72['plugins']['get']('RevisionViewer');return(_0x42cd4b,_0xbf289a,_0x102138)=>{const _0x523a7b=_0xbf289a['markerName']['split'](':')[0x1],_0x2b1238=_0x57c1dc['_getChangeFromId'](_0x523a7b);if(!_0x2b1238)return null;const _0x5cb458='add'==_0x2b1238['type']?'split':'merge';if(!_0x102138['consumable']['test'](_0xbf289a['markerRange'],_0x42cd4b['name']))return;const _0x14be52=_0xbf289a['markerRange']['getWalker'](),_0x11d5af=_0xbf289a['markerRange']['start'],_0xd7b2ce=_0x8bdd72['model']['schema'];let _0x8e0778=null,_0x535372=null,_0x1771d3=!0x1,_0x273054=!0x1;for(const _0x5db7ad of _0x14be52){const _0x1da8b3=_0x5db7ad['item'];_0x1771d3=_0x1771d3||_0xd7b2ce['isContent'](_0x1da8b3);const _0x4d6e62=_0x102138['mapper']['toViewElement'](_0x1da8b3);if(_0x4d6e62&&_0x4d6e62['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5db7ad['type']&&(_0xd7b2ce['isBlock'](_0x1da8b3)&&!_0xd7b2ce['isLimit'](_0x1da8b3)&&(_0x1da8b3['nextSibling']||_0x11d5af['isAtEnd']?_0x8e0778&&_0x8e0778['parent']==_0x1da8b3||(_0x8e0778=_0x1da8b3,_0x55f04f(_0x5db7ad['previousPosition']),_0x273054=!0x0):_0x535372=_0x535372||_0x5db7ad['previousPosition']));}function _0x55f04f(_0x77eab2){const _0x544382=_0x102138['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5cb458}),_0x569b8c=_0x102138['mapper']['toViewPosition'](_0x77eab2);_0x2b1238['data']['isSuggestion']&&_0x102138['writer']['addClass']('ck-suggestion-marker-'+_0x5cb458+'-new',_0x544382),_0x57c1dc['activeChange']==_0x2b1238&&_0x102138['writer']['addClass']('ck-suggestion-marker--active',_0x544382),_0x102138['writer']['insert'](_0x569b8c,_0x544382),_0x102138['mapper']['bindElementToMarker'](_0x544382,_0xbf289a['markerName']);}_0x1771d3||_0x273054||!_0x535372||_0x55f04f(_0x535372);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3302ea,_0x8b2c9b,_0x378a20)=>{const _0x543742=_0x378a20['mapper']['markerNameToElements'](_0x8b2c9b['markerName']);if(_0x543742){for(const _0x547900 of _0x543742)(_0x547900['hasClass']('ck-suggestion-marker-split')||_0x547900['hasClass']('ck-suggestion-marker-merge'))&&(_0x378a20['mapper']['unbindElementFromMarkerName'](_0x547900,_0x8b2c9b['markerName']),_0x378a20['writer']['remove'](_0x547900));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x358fa2,_0x10a7b0,_0x3b92cc)=>{const _0x4de06d=_0x10a7b0['markerName']['split'](':')[0x1],_0x241afe=this['_getChangeFromId'](_0x4de06d);if(!_0x241afe)return null;const _0xd30c13='add'==_0x241afe['type']?'split':'merge';if(_0x3b92cc['consumable']['test'](_0x10a7b0['markerRange'],_0x358fa2['name']))for(const _0xdd6c25 of _0x10a7b0['markerRange']['getItems']()){if(!_0xdd6c25['is']('element','softBreak'))continue;const _0x2403a9=_0x3b92cc['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd30c13}),_0x3c6d69=_0x3b92cc['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xdd6c25));_0x241afe['data']['isSuggestion']&&_0x3b92cc['writer']['addClass']('ck-suggestion-marker-'+_0xd30c13+'-new',_0x2403a9),this['activeChange']==_0x241afe&&_0x3b92cc['writer']['addClass']('ck-suggestion-marker--active',_0x2403a9),_0x3b92cc['writer']['insert'](_0x3c6d69,_0x2403a9),_0x3b92cc['mapper']['bindElementToMarker'](_0x2403a9,_0x10a7b0['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2ad4f7=>{for(const _0xd41e2 of this['editor']['model']['document']['getRootNames']()){const _0x3dec01=this['editor']['model']['document']['getRoot'](_0xd41e2),_0x482c3f=this['editor']['editing']['view']['document']['getRoot'](_0xd41e2);if(_0x482c3f){const _0x4cfc57=_0x3dec01['getAttribute']('revisionHistoryAttachChange');if(_0x2ad4f7['removeAttribute']('data-change-id',_0x482c3f),_0x2ad4f7['removeClass']('ck-revision-history-root-add',_0x482c3f),_0x2ad4f7['removeClass']('ck-revision-history-root-remove',_0x482c3f),_0x2ad4f7['removeClass']('ck-revision-history-root--active',_0x482c3f),_0x4cfc57){const _0x459674=this['_getChangeFromId'](_0x4cfc57);if(!_0x459674)return null;_0x2ad4f7['setAttribute']('data-change-id',_0x4cfc57,_0x482c3f),_0x2ad4f7['addClass']('ck-revision-history-root-'+_0x459674['type'],_0x482c3f),this['activeChange']==_0x459674&&_0x2ad4f7['addClass']('ck-revision-history-root--active',_0x482c3f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x63aad6=>'revision-comment:'+_0x63aad6,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x52ccc1=>'revision-suggestion:'+_0x52ccc1,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xf0c07a=>({'name':'suggestion:'+_0xf0c07a,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x28ae57=>{const _0x5e7255=_0x28ae57['markerName']['split'](':')[0x1];return'insertion'!=_0x5e7255&&'deletion'!=_0x5e7255?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5e7255]};}}),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',(_0x43d882,_0x44d9e0,_0x4bb646)=>{const _0x54b527=_0x4bb646['mapper']['markerNameToElements'](_0x44d9e0['markerName']);if(_0x54b527){for(const _0x5e8f0d of _0x54b527)_0x5e8f0d['is']('uiElement')&&(_0x4bb646['mapper']['unbindElementFromMarkerName'](_0x5e8f0d,_0x44d9e0['markerName']),_0x4bb646['writer']['remove'](_0x5e8f0d));}},{'priority':'high'});}['_getChangeFromId'](_0x21b6c3){return this['_changeIdToChange']['get'](_0x21b6c3);}['_getViewForChange'](_0x5d8e61){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5d8e61),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4c892d,_0x443871,_0x4a847b,_0x3c4a1b)=>{_0x3c4a1b&&this['_balloon']['remove'](_0x3c4a1b),_0x4a847b&&(this['_balloon']['add']({'view':_0x4a847b,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x36a629=this['editor']['editing'],_0x38eb92=this['_getChangeFromId'](_0x4a847b['changeId']);let _0xd3b790;if(_0x38eb92['data']['isOnRoot']){const _0x25ccd7=_0x36a629['view']['getDomRoot'](_0x38eb92['rootName']);_0xd3b790=Array['from'](_0x25ccd7['getClientRects']());}else{const _0x2803b1=this['editor']['model']['markers']['get']('revision:'+_0x4a847b['changeId']);_0xd3b790=Array['from'](_0x36a629['mapper']['markerNameToElements'](_0x2803b1['name']))['map'](_0x394063=>_0x36a629['view']['domConverter']['mapViewToDom'](_0x394063))['map'](_0x49e67c=>Array['from'](_0x49e67c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xd3b790[0x0];return _0xd3b790['find'](_0x39afc9=>_0x39afc9['top']-0x3<=this['_activeViewTarget']['y']&&_0x39afc9['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x39afc9['left']-0x3<=this['_activeViewTarget']['x']&&_0x39afc9['right']+0x3>=this['_activeViewTarget']['x'])||_0xd3b790[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2cd7d7,_0xc5ce43,_0x5c3261,_0x3d590d)=>{this['activeView']=_0x5c3261?this['_getViewForChange'](_0x5c3261):null,this['editor']['model']['change'](()=>{const _0x1ac04d=this['editor']['editing'];_0x3d590d&&(_0x3d590d['data']['isOnRoot']?_0x1ac04d['view']['change'](_0x2d7b22=>{_0x2d7b22['removeClass']('ck-revision-history-root--active',_0x1ac04d['view']['document']['getRoot'](_0x3d590d['rootName']));}):_0x1ac04d['reconvertMarker']('revision:'+_0x3d590d['id'])),_0x5c3261&&(_0x5c3261['data']['isOnRoot']?_0x1ac04d['view']['change'](_0x4da769=>{_0x4da769['addClass']('ck-revision-history-root--active',_0x1ac04d['view']['document']['getRoot'](_0x5c3261['rootName']));}):_0x1ac04d['reconvertMarker']('revision:'+_0x5c3261['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x42d061,_0x4319af)=>{if(this['activeChange'])return;const _0x51cf55=this['_findChangeIdFromDomTarget'](_0x4319af['target']),_0x22e167=this['_changeIdToChange']['get'](_0x51cf55);_0x22e167?(this['_activeViewTarget']={'x':_0x4319af['domEvent']['x'],'y':_0x4319af['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x22e167)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2bbcf9,_0x47170f)=>{const _0x51dec9=this['_findChangeIdFromDomTarget'](_0x47170f['target']),_0x475291=this['_changeIdToChange']['get'](_0x51dec9);_0x475291?(this['_activeViewTarget']={'x':_0x47170f['domEvent']['x'],'y':_0x47170f['domEvent']['y']},_0x475291===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x475291):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x20c3ab){do{const _0x308329=_0x20c3ab['getAttribute']('data-change-id');if(_0x308329)return _0x308329;_0x20c3ab=_0x20c3ab['parent'];}while(_0x20c3ab);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5ad4ce=>{for(const _0x1faae4 of this['editor']['model']['markers'])_0x5ad4ce['removeMarker'](_0x1faae4);});}}function et(_0x2743ab,_0x24f256){return(_0xf52f10,_0xc33910,_0x3cafb4)=>{if(!_0x3cafb4['consumable']['test'](_0xc33910['markerRange'],_0xf52f10['name']))return;const _0x4f9bf0=_0xc33910['markerRange']['getWalker'](),_0x39c50e=_0xc33910['markerRange']['start'],_0x2d5f5e=_0x2743ab['model']['schema'];let _0x4312bb=null,_0x26b9db=null,_0x5c99f3=!0x1,_0xfbe0b4=!0x1;for(const _0x21616a of _0x4f9bf0){const _0x1bea70=_0x21616a['item'];_0x5c99f3=_0x5c99f3||_0x2d5f5e['isContent'](_0x1bea70);const _0x140c2f=_0x3cafb4['mapper']['toViewElement'](_0x1bea70);if(_0x140c2f&&_0x140c2f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x21616a['type']&&(_0x2d5f5e['isBlock'](_0x1bea70)&&!_0x2d5f5e['isLimit'](_0x1bea70)&&(_0x1bea70['nextSibling']||_0x39c50e['isAtEnd']?_0x4312bb&&_0x4312bb['parent']==_0x1bea70||(_0x4312bb=_0x1bea70,_0x121754(_0x21616a['previousPosition']),_0xfbe0b4=!0x0):_0x26b9db=_0x26b9db||_0x21616a['previousPosition']));}function _0x121754(_0x4afabd){const _0x81863e=_0x3cafb4['mapper']['toViewPosition'](_0x4afabd),_0x24303b=_0x3cafb4['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x24f256});_0x3cafb4['writer']['insert'](_0x81863e,_0x24303b),_0x3cafb4['mapper']['bindElementToMarker'](_0x24303b,_0xc33910['markerName']);}_0x5c99f3||_0xfbe0b4||!_0x26b9db||_0x121754(_0x26b9db);};}class bt extends _0xc94b35{constructor(_0x5f42bd){super(_0x5f42bd);const _0x49f46c=_0x5f42bd['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x49f46c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x49f46c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5ab67d=this['editor'],_0x273341=_0x5ab67d['plugins']['get'](d),_0x32ec37=_0x273341['isReady']?_0x273341['diff']['newRevisionId']:null;_0x5ab67d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x32ec37);}['refresh'](){const {isReady:_0x4a293c,isEnabled:_0x3daf6b}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4a293c&&_0x3daf6b;}}class yt extends _0xc94b35{['_step'];constructor(_0x367bff,{direction:_0x89f708}){super(_0x367bff);const _0x1138b5=_0x367bff['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x89f708?0x1:-0x1,this['listenTo'](_0x1138b5,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1138b5,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1138b5,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3dc661=this['editor'],_0x24426a=_0x3dc661['plugins']['get'](d),{isNavigationMode:_0x28db0b,currentChangeNumber:_0x4a5a5d}=_0x24426a;let _0x1f9d5f;if(_0x24426a['activeChange']=_0x28db0b?_0x24426a['diff']['changes']['get'](_0x4a5a5d+this['_step']):_0x24426a['diff']['changes']['first'],_0x24426a['activeChange']['data']['isOnRoot'])_0x1f9d5f=_0x3dc661['editing']['view']['getDomRoot'](_0x24426a['activeChange']['rootName']);else{const _0x3c5d3a=_0x3dc661['model']['markers']['get']('revision:'+_0x24426a['activeChange']['id']);_0x1f9d5f=_0x4e5f55(_0x3dc661['editing'],_0x3c5d3a);}_0x48e154({'target':_0x1f9d5f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x385b5a,currentChangeNumber:_0x18e418,numberOfChanges:_0x6daef9,isReady:_0x5a4c4c,isEnabled:_0x501cc5}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x501cc5&&_0x5a4c4c&&_0x6daef9)&&(!_0x385b5a||(0x1===this['_step']?_0x18e418<_0x6daef9-0x1:_0x18e418>0x0));}}class _i extends _0x2cff7d{constructor(_0x5b408d){super(_0x5b408d);const _0x18abf1=this['bindTemplate'],_0xab7251=new _0x587d3c(_0x5b408d),_0x51f82a=new _0x587d3c(_0x5b408d);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',(_0x1e4182,_0x1f0cf0)=>_0x1e4182&&_0x1f0cf0>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x303f48,_0x4d2618,_0x140d61,_0x43cace)=>{if(!_0x303f48)return y(_0x5b408d,'Loading...');if(!_0x140d61)return y(_0x5b408d,'No\x20changes');const _0x2a2905=y(_0x5b408d,'NUMBER_OF_CHANGES',_0x140d61);return _0x43cace?y(_0x5b408d,'X_OF_Y_CHANGES',[_0x4d2618+0x1,_0x140d61]):_0x2a2905;}),_0xab7251['set']({'label':y(_0x5b408d,'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'}),_0x51f82a['set']({'label':y(_0x5b408d,'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'}),_0xab7251['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x51f82a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xab7251['on']('execute',()=>this['fire']('execute','backward')),_0x51f82a['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',_0x18abf1['if']('_isStatusLabelVisible','ck-hidden',_0xe08f1d=>!_0xe08f1d)]},'children':[{'text':_0x18abf1['to']('isNavigationMode',_0x6ee3c0=>_0x6ee3c0?y(_0x5b408d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5b408d,'Total')+':\x20')}]},{'text':_0x18abf1['to']('_statusText')}]},new _0x3c3bdb(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xab7251,_0x51f82a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3e301a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x510f75=this['editor']['editing']['view'];_0x510f75['change'](_0x443c9b=>{for(const _0x3839a8 of _0x510f75['document']['roots'])_0x443c9b['addClass'](ce,_0x3839a8);});}['hide'](){const _0x90edd2=this['editor']['editing']['view'];_0x90edd2['change'](_0x3897ff=>{for(const _0x468981 of _0x90edd2['document']['roots'])_0x3897ff['removeClass'](ce,_0x468981);});}}class R extends _0x3e301a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4c3ee6=this['editor'],_0x45ada6=_0x4c3ee6['plugins']['get'](d),_0x23978b=_0x4c3ee6['plugins']['get'](de);_0x4c3ee6['ui']['componentFactory']['add']('exitToEditing',_0x3afb00=>{const _0x2c08e2=new _0x587d3c(_0x3afb00);return _0x2c08e2['set']({'label':y(_0x3afb00,'Back\x20to\x20editing'),'icon':_0x1fc532['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2c08e2,'execute',()=>{_0x4c3ee6['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2c08e2;}),_0x4c3ee6['ui']['componentFactory']['add']('restoreRevision',_0x2dd07f=>{const _0x348795=new _0x587d3c(_0x2dd07f);return _0x348795['set']({'label':y(_0x2dd07f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x348795['bind']('isEnabled')['to'](_0x4c3ee6['commands']['get']('restoreRevision')),this['listenTo'](_0x348795,'execute',()=>_0x4c3ee6['execute']('restoreRevision')),_0x348795;}),_0x4c3ee6['ui']['componentFactory']['add']('changesNavigation',_0x21eb2c=>{const _0x21a9d9=new _i(_0x21eb2c),_0x2434bf=_0x4c3ee6['commands']['get']('showPreviousChange'),_0x4486f5=_0x4c3ee6['commands']['get']('showNextChange');return _0x21a9d9['bind']('isBackwardNavigationEnabled')['to'](_0x2434bf,'isEnabled'),_0x21a9d9['bind']('isForwardNavigationEnabled')['to'](_0x4486f5,'isEnabled'),_0x21a9d9['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x45ada6),this['listenTo'](_0x21a9d9,'execute',(_0x85627f,_0x236181)=>{_0x4c3ee6['execute']('forward'===_0x236181?'showNextChange':'showPreviousChange');}),_0x21a9d9;}),_0x23978b['show'](),_0x45ada6['on']('change:isReady',(_0x58e884,_0x354498,_0x42f3a5)=>{_0x42f3a5?_0x23978b['hide']():_0x23978b['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3f5698,_0x39dddb){super(_0x3f5698,_0x39dddb);const _0x4ec885=this['bindTemplate'];this['set']({'label':y(_0x3f5698,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3f5698,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4ec885['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 _0x42d4cc=this['fieldView']['element'];this['_tooltipString']=_0x42d4cc['scrollWidth']>_0x42d4cc['clientWidth']&&_0x42d4cc['value']||'';}}class ti extends _0x2cff7d{constructor(_0x33170a,_0x5e8d80,_0x14e551){super(_0x33170a);const _0x4e2c04=new _0x300685();_0x4e2c04['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 _0xc4b497=['ck','ck-revision-history-sidebar__revision-author'];_0x14e551&&_0xc4b497['push']('ck-revision-history-sidebar__revision-author_creator');const _0x30a1b2=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x33170a,_0x14e551?'Revision\x20creator':'Revision\x20author')},'children':[_0x4e2c04,_0x5e8d80['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0xc4b497},'children':_0x30a1b2});}}function ni(_0x36d041,_0x462365){const _0x102678=_0x36d041['bindTemplate'],_0x3c17f2=_0x36d041['locale'],_0x553208=_0x5401b0(_0x3c17f2);_0x553208['panelPosition']='sw';const _0x32f536=function(_0x30b5e1,_0x1c3f15){const _0x4ccbb0=function(_0xe2aede,_0x211157){const _0x370bc7=_0xe2aede['locale'],_0x5b1bea={'Compare\x20against\x20selected':y(_0x370bc7,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x370bc7,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x370bc7,'Restore\x20this\x20revision')};return _0x211157['map'](_0x662922=>{const _0xe97720=_0x5b1bea[_0x662922['name']];return _0xe97720&&_0xe97720!==_0x662922['name']&&(_0x662922['name']=_0xe97720),_0x662922;});}(_0x30b5e1,_0x1c3f15),_0x2584b7=new _0x122e73();for(const _0x3a52a6 of _0x4ccbb0){const _0x52614b={'type':'button','model':new to({'label':_0x3a52a6['name'],'class':_0x3a52a6['class'],'withText':!0x0,'role':'menuitem','_action':_0x3a52a6['action']})};_0x52614b['model']['bind']('isEnabled')['to'](_0x30b5e1,'isActionsDropdownOpen',_0x2f550a=>'function'!=typeof _0x3a52a6['isEnabled']||(!_0x2f550a||_0x3a52a6['isEnabled'](_0x30b5e1))),_0x2584b7['add'](_0x52614b);}return _0x2584b7;}(_0x36d041,_0x462365);return _0x36d041['bind']('isActionsDropdownOpen')['to'](_0x553208,'isOpen'),_0x553208['buttonView']['set']({'label':y(_0x3c17f2,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1fc532['threeVerticalDots']}),_0x553208['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x102678['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x102678['to'](_0xe64a06=>_0xe64a06['stopPropagation']())}}),_0x553208['on']('execute',_0x212f73=>{_0x36d041['isReady']&&'function'==typeof _0x212f73['source']['_action']&&_0x212f73['source']['_action'](_0x36d041);}),_0x50e5a0(_0x553208,_0x32f536,{'role':'menu'}),_0x553208['listenTo'](_0x36d041,'change:isActionsDropdownOpen',(_0x1c319a,_0x4eddf0,_0x5b5f21)=>{if(_0x5b5f21)for(const _0x5ce4e0 of _0x553208['listView']['items']){const _0x4ae71d=_0x5ce4e0['children']['first'],_0x183992=_0x462365['find'](_0x3613fe=>_0x3613fe['action']===_0x4ae71d['_action'])['isVisible'];_0x5ce4e0['isVisible']=void 0x0===_0x183992||_0x183992(_0x36d041);}}),_0x553208;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x3603a7,Context as _0x5ccb6d,PendingActions as _0x20986d,icons as _0x144dbc,Command as _0x274677,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3ebcb7,uid as _0xf0312f,Collection as _0x40a346,logWarning as _0x26ba3b,FocusTracker as _0x2f729d,KeystrokeHandler as _0x13b852,scrollViewportToShowTarget as _0xd6d3ba,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2c7bd3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x341401,getMarkerDomElement as _0x4e9e7d,ConfirmMixin as _0x23ddab,sanitizeEditorConfig as _0x3094b8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x48992a,ViewText as _0x5dab6f,ViewElement as _0x3a08fb,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2aa11a,ViewAttributeElement as _0x2938f1,ViewEmptyElement as _0x93bbe7,ViewRawElement as _0x167015,ViewUIElement as _0x4f4b91,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x28bea0,set as _0x5a2928,unset as _0x3d3a59,isEqual as _0x207ea5}from'lodash-es';import{View as _0x1f4a45,injectCssTransitionDisabler as ts,submitHandler as _0x4c620d,LabeledFieldView as at,createLabeledInputText as _0x547aa8,createDropdown as _0x8fc188,ListView as te,ListItemView as _0x118c45,ButtonView as _0x39ab84,MenuBarMenuView as _0x6d333,MenuBarMenuListView as _0x2b03dd,MenuBarMenuListItemView as _0x4bcfae,MenuBarMenuListItemButtonView as _0x23224e,ContextualBalloon as _0x433788,ToolbarSeparatorView as _0x25661a,IconView as _0x2fe791,addListToDropdown as _0x1af0b8,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 _0x252aa3}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ebcb7(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x29fe9b){super(),this['id']=_0x29fe9b['id']||_0xf0312f(),this['creator']=_0x29fe9b['creator']||null,this['authors']=_0x29fe9b['authors']||[],this['diffData']=_0x29fe9b['diffData']||null,this['toVersion']=_0x29fe9b['toVersion']||0x0,this['fromVersion']=_0x29fe9b['fromVersion']||0x0,this['set']('name',_0x29fe9b['name']||''),this['set']('createdAt',_0x29fe9b['createdAt']||new Date()),this['set']('attributes',_0x29fe9b['attributes']||{});}['setName'](_0x484129){this['_update']({'name':_0x484129});}['setAttribute'](_0x4b654b,_0x44e3fc){const _0x17af8f=_0x28bea0(this['attributes']);_0x5a2928(_0x17af8f,_0x4b654b,_0x44e3fc),this['_update']({'attributes':_0x17af8f});}['removeAttribute'](_0x129849){const _0x47e2fe=_0x28bea0(this['attributes']);_0x3d3a59(_0x47e2fe,_0x129849),this['_update']({'attributes':_0x47e2fe});}['_update'](_0x58f460,_0x507ea1=!0x1){let _0x36c3ed=!0x1;const _0x112d5f={'id':this['id']},_0x4e0021=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3331f4 of _0x4e0021){const _0x2b6252=_0x58f460[_0x3331f4];void 0x0!==_0x2b6252&&_0x2b6252!==this[_0x3331f4]&&(this[_0x3331f4]=_0x2b6252,_0x112d5f[_0x3331f4]=_0x2b6252,_0x36c3ed=!0x0);}_0x36c3ed&&(_0x112d5f['authors']&&(_0x112d5f['authorsIds']=_0x112d5f['authors']['map'](_0x2024ed=>_0x2024ed['id']),delete _0x112d5f['authors']),this['fire']('_update',_0x112d5f,_0x507ea1));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x59d2cf=>_0x59d2cf['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3603a7{['_revisions'];static get['requires'](){return[_0x341401];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x50f41c){super(_0x50f41c),this['_revisions']=new _0x40a346();}['afterInit'](){!function(_0x3a8e26){function _0x3c9a91(_0x2f714f,_0x1e6ffc,_0x2d9436){const _0x43636d={};_0x43636d[_0x114704([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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 _0x597b52=new Uint8Array(0x10);for(let _0x3cbadc=0xf;_0x3cbadc>=0x0;--_0x3cbadc)_0x597b52[_0x3cbadc]=_0x2d9436%0x100,_0x2d9436=parseInt(_0x2d9436/0x100);let _0x3e8ee5=null,_0x9985f=0x10;const _0x344a85=new Uint8Array(_0x1e6ffc),_0x4c4993=[],_0x501c7b=[];_0x2f7331();for(let _0x5cd940=0x0;_0x5cd940<_0x2f714f[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cd940++)0x10===_0x9985f&&(_0x3e8ee5=_0x21c12a(_0x597b52),_0x9985f=0x0,_0x574bfd(_0x597b52)),_0x2f714f[_0x5cd940]^=_0x3e8ee5[_0x9985f++];return _0x2f714f;function _0x1f7187(_0x1ec957){const _0x50cdcf=[];for(let _0xab38e6=0x0;_0xab38e6<_0x1ec957[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xab38e6+=0x4)_0x50cdcf[_0x114704([0x70,0x75,0x73,0x68])](_0x1ec957[_0xab38e6]<<0x18|_0x1ec957[_0xab38e6+0x1]<<0x10|_0x1ec957[_0xab38e6+0x2]<<0x8|_0x1ec957[_0xab38e6+0x3]);return _0x50cdcf;}function _0x574bfd(_0x334bdd){for(let _0x56bf96=0xf;_0x56bf96>=0x0;_0x56bf96--){if(0xff!==_0x334bdd[_0x56bf96]){_0x334bdd[_0x56bf96]++;break;}_0x334bdd[_0x56bf96]=0x0;}}function _0x21c12a(_0x50c17a){const _0x1ba365=_0x4c4993[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x389d78=[0x0,0x0,0x0,0x0];let t=_0x1f7187(_0x50c17a);for(let _0x3bcec4=0x0;_0x3bcec4<0x4;_0x3bcec4++)t[_0x3bcec4]^=_0x4c4993[0x0][_0x3bcec4];for(let _0x10e0d6=0x1;_0x10e0d6<_0x1ba365;_0x10e0d6++){for(let _0x21c806=0x0;_0x21c806<0x4;_0x21c806++)_0x389d78[_0x21c806]=_0x43636d[_0x114704([0x54,0x31])][t[_0x21c806]>>0x18&0xff]^_0x43636d[_0x114704([0x54,0x32])][t[(_0x21c806+0x1)%0x4]>>0x10&0xff]^_0x43636d[_0x114704([0x54,0x33])][t[(_0x21c806+0x2)%0x4]>>0x8&0xff]^_0x43636d[_0x114704([0x54,0x34])][0xff&t[(_0x21c806+0x3)%0x4]]^_0x4c4993[_0x10e0d6][_0x21c806];t=_0x389d78[_0x114704([0x73,0x6c,0x69,0x63,0x65])]();}const _0x43f97c=new Uint8Array(0x10);let _0x55b883;for(let _0x555557=0x0;_0x555557<0x4;_0x555557++)_0x55b883=_0x4c4993[_0x1ba365][_0x555557],_0x43f97c[0x4*_0x555557]=0xff&(_0x43636d[_0x114704([0x53])][t[_0x555557]>>0x18&0xff]^_0x55b883>>0x18),_0x43f97c[0x4*_0x555557+0x1]=0xff&(_0x43636d[_0x114704([0x53])][t[(_0x555557+0x1)%0x4]>>0x10&0xff]^_0x55b883>>0x10),_0x43f97c[0x4*_0x555557+0x2]=0xff&(_0x43636d[_0x114704([0x53])][t[(_0x555557+0x2)%0x4]>>0x8&0xff]^_0x55b883>>0x8),_0x43f97c[0x4*_0x555557+0x3]=0xff&(_0x43636d[_0x114704([0x53])][0xff&t[(_0x555557+0x3)%0x4]]^_0x55b883);return _0x43f97c;}function _0x2f7331(){const _0x3a7327=_0x43636d[_0x114704([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x344a85[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x411677=0x0;_0x411677<=_0x3a7327;_0x411677++)_0x4c4993[_0x114704([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x501c7b[_0x114704([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x40b268=0x4*(_0x3a7327+0x1),_0x2a6e47=_0x344a85[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x283eef=_0x1f7187(_0x344a85);let _0x16eeef;for(let _0x5f38e2=0x0;_0x5f38e2<_0x2a6e47;_0x5f38e2++)_0x16eeef=_0x5f38e2>>0x2,_0x4c4993[_0x16eeef][_0x5f38e2%0x4]=_0x283eef[_0x5f38e2],_0x501c7b[_0x3a7327-_0x16eeef][_0x5f38e2%0x4]=_0x283eef[_0x5f38e2];let _0x3def46,_0x12325f=0x0,t=_0x2a6e47;for(;t<_0x40b268;){_0x3def46=_0x283eef[_0x2a6e47-0x1],_0x283eef[0x0]^=_0x43636d[_0x114704([0x53])][_0x3def46>>0x10&0xff]<<0x18^_0x43636d[_0x114704([0x53])][_0x3def46>>0x8&0xff]<<0x10^_0x43636d[_0x114704([0x53])][0xff&_0x3def46]<<0x8^_0x43636d[_0x114704([0x53])][_0x3def46>>0x18&0xff]^_0x43636d[_0x114704([0x72,0x63,0x6f,0x6e])][_0x12325f]<<0x18,_0x12325f+=0x1;for(let _0x1159e2=0x1;_0x1159e2<_0x2a6e47/0x2;_0x1159e2++)_0x283eef[_0x1159e2]^=_0x283eef[_0x1159e2-0x1];_0x3def46=_0x283eef[_0x2a6e47/0x2-0x1],_0x283eef[_0x2a6e47/0x2]^=_0x43636d[_0x114704([0x53])][0xff&_0x3def46]^_0x43636d[_0x114704([0x53])][_0x3def46>>0x8&0xff]<<0x8^_0x43636d[_0x114704([0x53])][_0x3def46>>0x10&0xff]<<0x10^_0x43636d[_0x114704([0x53])][_0x3def46>>0x18&0xff]<<0x18;for(let _0x2c4028=_0x2a6e47/0x2+0x1;_0x2c4028<_0x2a6e47;_0x2c4028++)_0x283eef[_0x2c4028]^=_0x283eef[_0x2c4028-0x1];let _0x76f0b5,_0x1fc815,_0x3c6a82=0x0;for(;_0x3c6a82<_0x2a6e47&&t<_0x40b268;)_0x76f0b5=t>>0x2,_0x1fc815=t%0x4,_0x4c4993[_0x76f0b5][_0x1fc815]=_0x283eef[_0x3c6a82],_0x501c7b[_0x3a7327-_0x76f0b5][_0x1fc815]=_0x283eef[_0x3c6a82++],t++;}for(let _0x40dcc3=0x1;_0x40dcc3<_0x3a7327;_0x40dcc3++)for(let _0x21f109=0x0;_0x21f109<0x4;_0x21f109++)_0x3def46=_0x501c7b[_0x40dcc3][_0x21f109],_0x501c7b[_0x40dcc3][_0x21f109]=_0x43636d[_0x114704([0x55,0x31])][_0x3def46>>0x18&0xff]^_0x43636d[_0x114704([0x55,0x32])][_0x3def46>>0x10&0xff]^_0x43636d[_0x114704([0x55,0x33])][_0x3def46>>0x8&0xff]^_0x43636d[_0x114704([0x55,0x34])][0xff&_0x3def46];}}function _0x114704(_0x538167){return _0x538167['map'](_0x2ca633=>String['fromCharCode'](_0x2ca633))['join']('');}(_0x5e9086=>{function _0x13be8f(){const _0x14998d=[{[_0x114704([0x69,0x64])]:0x1,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x114704([0x69,0x64])]:0x2,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([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]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x114704([0x69,0x64])]:0x3,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x114704([0x69,0x64])]:0x4,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([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]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x114704([0x69,0x64])]:0x5,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([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]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x6,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x7,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x8,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([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]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x9,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x114704([0x69,0x64])]:0xa,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([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]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([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]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([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]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0xb,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x114704([0x69,0x64])]:0xc,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x114704([0x69,0x64])]:0xd,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0xe,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x114704([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([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])},{[_0x114704([0x69,0x64])]:0xf,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x114704([0x69,0x64])]:0x10,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}}];return _0xaa0f0(_0x14998d),_0x14998d;function _0x1ca5a0(_0x38e875){return 0x1<<_0x38e875-0x1;}function _0xaa0f0(_0x5208bb){_0x5208bb[_0x114704([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aaee9=>{_0x5aaee9[_0x114704([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1ca5a0(_0x5aaee9[_0x114704([0x69,0x64])]),_0x255665(_0x5aaee9)&&_0x5aaee9[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xaa0f0(_0x5aaee9[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x255665(_0x4cc88a){return _0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4cc88a;}const _0x61f77b=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x727bd5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x13f48a(_0x5f44d0){const _0x1375fb=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3e2254(_0x5f44d0,new Uint8Array([..._0x61f77b,..._0x1375fb,..._0x727bd5]));}function _0x3e2254(_0x51752c,_0x426b7c){const _0x3f33de=_0x2d3c61(_0x51752c),_0x5bbe38=Array[_0x114704([0x66,0x72,0x6f,0x6d])](_0x3aadc4(_0x3f33de)),_0x50b5c3=_0x5bbe38[_0x114704([0x70,0x6f,0x70])](),_0x149dfb=_0x5bbe38[_0x114704([0x70,0x6f,0x70])]();return _0x87fb92(_0x3c9a91(_0x5bbe38,_0x426b7c,_0x149dfb+0x100*_0x50b5c3));}function _0x2d3c61(_0x5456a7){const _0xe0b7b5=atob(_0x5456a7),[_0x39837c,_0x304144]=_0xe0b7b5[_0x114704([0x73,0x70,0x6c,0x69,0x74])](_0x114704([0x2d]));try{if(atob(_0x304144))return atob(_0x39837c);}catch(_0x15a566){}return _0xe0b7b5;}function _0xb3fd93(_0x57719c){try{const _0x320bc7=_0x13f48a(_0x57719c),_0xf59e4f=JSON[_0x114704([0x70,0x61,0x72,0x73,0x65])](_0x320bc7),_0x1c065a=parseInt(_0xf59e4f[_0x114704([0x31])]),_0x5a1e35=_0xf59e4f[_0x114704([0x32])]||'',_0x503e6f=parseInt(_0xf59e4f[_0x114704([0x33])]),_0x253371=parseInt(_0xf59e4f[_0x114704([0x34])])||0x0,_0x4777cf=parseInt(_0xf59e4f[_0x114704([0x35])])||0x0;return{[_0x114704([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5a1e35,[_0x114704([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x253371,[_0x114704([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1c065a,[_0x114704([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x503e6f,[_0x114704([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4777cf};}catch(_0x29b49c){return null;}}const _0x12a5a7=_0x13be8f(),_0x286a72={[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x74bf32,[_0x114704([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])]:_0x1dfaf8,[_0x114704([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])]:_0x176da2},_0xae9663=_0x5e9086[_0x114704([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2382b5=_0x114704([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5e9086?_0x5e9086['context']:_0x5e9086['editor'],_0x2bda98=_0x114704([0x34,0x30,0x34,0x38,0x31,0x30,0x36,0x32]),_0x3d93b1=_0x114704([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]),_0x333ff8=_0x2382b5['config']['get'](_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2eadcb=_0x12a5a7[_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x255665)[_0x114704([0x66,0x69,0x6e,0x64])](_0x445637=>_0x445637[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xae9663);function _0x4032b0(_0x474376,_0x2d1ab4){_0x286a72[_0x2d1ab4[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x474376,_0x2d1ab4),_0x2d1ab4[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2d1ab4[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42bcbe=>_0x536d93(_0x2382b5,_0x42bcbe[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x114704([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b31a3=>_0x4032b0(_0x474376,_0x4b31a3));}function _0x74bf32(_0x303bea,_0x14af28){_0x12f9ce(_0xde3a32(_0x303bea,_0x14af28),_0x14af28);}function _0x1dfaf8(_0x1c9a84,_0x4d90fb){function _0x129aaa(_0x2b2729,_0x4cbde6){try{if(_0x536d93(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2b2729){const _0x1c76c3=_0x408901(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x114704([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1c76c3)/0x2>_0x2b2729[_0x114704([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1bc068(_0x4cbde6[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xde3a32(_0x2b2729,_0x4cbde6);}catch(_0x398934){return _0x1bc068(_0x4cbde6[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x12f9ce(_0x129aaa(_0x1c9a84,_0x4d90fb),_0x4d90fb);}function _0x176da2(_0x49c50e,_0x150e90){const _0x5b240a=_0x727bd5[0x0]*_0x61f77b[0x1],_0x4bc78e=_0x727bd5[0x0]*_0x61f77b[0x2],_0x4d354c=_0x727bd5[0x2]*_0x61f77b[0x2];_0x536d93(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x408901(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x374225()]=_0x4d354c);function _0x51ec37(_0x545463,_0x15d8dd){try{return _0x391937()?_0x1bc068(_0x15d8dd[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x56,0x61,0x6c,0x69,0x64])):_0xde3a32(_0x545463,_0x15d8dd);}catch(_0x20c708){return _0x1bc068(_0x15d8dd[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x465bf8(_0x2c7c60,_0x50d619){const _0x17962c=0x7;if(_0x2c7c60==_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1a0521();else{if(_0x2c7c60==_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])){const _0x55891f=_0x5d6bc4();_0x55891f&&_0x21c769(_0x55891f,_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xc951a5=_0x582398();window[_0x114704([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x21c769(_0x114704([0x74,0x69,0x6d,0x65]),_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xc951a5);const _0x2b73da=_0x408901(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x114704([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2b73da[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x17962c?_0x21c769(_0x114704([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2b73da['on'](_0x114704([0x61,0x64,0x64]),()=>{_0x2b73da[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x17962c&&_0x21c769(_0x114704([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5d6bc4(){if(!_0x536d93(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x43f8d5 in window)if(Number['isNaN'](Number(_0x43f8d5))){if(window[_0x43f8d5]===_0x5b240a)return _0x114704([0x74,0x69,0x6d,0x65]);if(window[_0x43f8d5]===_0x4bc78e)return _0x114704([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x391937(){if(!_0x536d93(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1c412c in window)if(Number['isNaN'](Number(_0x1c412c))&&window[_0x1c412c]===_0x4d354c)return!0x0;return!0x1;}function _0x21c769(_0x2a89c7,_0x57cf86){_0x1a0521(),_0x1bc068(_0x57cf86+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2a89c7),window[_0x374225()]=_0x2a89c7===_0x114704([0x74,0x69,0x6d,0x65])?_0x5b240a:_0x4bc78e;}function _0x582398(){let _0x41d05d=_0x727bd5[0x6]*_0x61f77b[0x8]*_0x61f77b[0x6];return _0x536d93(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x41d05d/=0xa),_0x41d05d;}function _0x1a0521(){const _0x2943d6=_0x2382b5;function _0x5bedba(){_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x35b17b,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x35b17b,_0x2943d6[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x2943d6[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x2943d6[_0x114704([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x114704([0x6d,0x6f,0x64,0x65,0x6c]))),_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x35b17b,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x35b17b);}_0x2943d6[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x72,0x65,0x61,0x64,0x79])?_0x5bedba():_0x2943d6[_0x114704([0x6f,0x6e,0x63,0x65])](_0x114704([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5bedba(),_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4aeaa3=_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x17df9d=_0x4aeaa3['getRevision'](0x0),_0x3978e0=_0x4aeaa3['getEarlierVisibleRevision'](_0x17df9d[_0x114704([0x69,0x64])]);_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x17df9d[_0x114704([0x69,0x64])],_0x3978e0?_0x3978e0[_0x114704([0x69,0x64])]:null,0x1)['then'](()=>_0x5bedba());}});}_0x465bf8(_0x51ec37(_0x49c50e,_0x150e90),_0x150e90);}function _0xde3a32(_0x5912c6,_0x5e7fb7){try{return _0x564e2e(_0x5e7fb7)?_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x56,0x61,0x6c,0x69,0x64])):_0x5912c6&&_0x2042cb(_0x5912c6[_0x114704([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5e7fb7)?_0x5912c6[_0x114704([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x114704([0x6f,0x70,0x65,0x6e])][_0x114704([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2bda98)/0x2>_0x5912c6[_0x114704([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5912c6[_0x114704([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])):_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x56,0x61,0x6c,0x69,0x64])):_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2b7973){return _0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x12f9ce(_0x3d1133,_0x4fcc09){if(_0x2382b5 instanceof _0x5ccb6d){const _0x4d9c5f=_0x2382b5;_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1113be(_0x4d9c5f):_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])&&window[_0x114704([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1113be(_0x4d9c5f),_0x1bc068(_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x727bd5[0x6]*_0x61f77b[0x8]*_0x61f77b[0x6]),_0x4d9c5f[_0x114704([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x114704([0x6f,0x6e])](_0x114704([0x61,0x64,0x64]),(_0x38964f,_0x6ee4b4)=>{_0x3d1133!=_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3d1133!=_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3d1133!=_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4c5b29(_0x6ee4b4);});}else{const _0x30f06c=_0x2382b5;_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c5b29(_0x30f06c):_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])&&_0x30f06c[_0x114704([0x6f,0x6e])](_0x114704([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x22748b=0x0;_0x30f06c[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x6f,0x6e])](_0x114704([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x575fde,_0x3560cb)=>{_0x3560cb[0x0][_0x114704([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22748b++,0x1f8===_0x22748b&&(_0x4c5b29(_0x30f06c),_0x1bc068(_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x575fde[_0x114704([0x6f,0x66,0x66])]());},{'priority':_0x114704([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1bc068(_0x567cdf){const _0x616230=_0x374225();return _0x2382b5[_0x616230]=_0x567cdf,_0x567cdf;}function _0x374225(){const _0x578f88=String(window[_0x114704([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x114704([0x6e,0x6f,0x77])]())[_0x114704([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x114704([0x2e]),'');let _0x40009f='';for(let _0x1dd3ec=0x0;_0x1dd3ec<_0x578f88[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dd3ec+=0x2){let _0x24a404=parseInt(_0x578f88[_0x114704([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dd3ec,_0x1dd3ec+0x2));_0x24a404>=_0x3d93b1[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24a404-=_0x3d93b1[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40009f+=_0x3d93b1[_0x24a404];}return _0x40009f;}function _0x1113be(_0x413dcb){for(const _0x4adbbf of _0x413dcb[_0x114704([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4c5b29(_0x4adbbf);_0x408901(_0x413dcb,_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x114704([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x408901(_0x413dcb,_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x114704([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x35b17b;}function _0x4c5b29(_0x449ee0){function _0x24df08(){_0x449ee0[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x449ee0[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x449ee0[_0x114704([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x114704([0x6d,0x6f,0x64,0x65,0x6c]));}_0x449ee0[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x72,0x65,0x61,0x64,0x79])?_0x24df08():_0x449ee0[_0x114704([0x6f,0x6e,0x63,0x65])](_0x114704([0x72,0x65,0x61,0x64,0x79]),()=>_0x24df08());}function _0x35b17b(){return null;}function _0x2042cb(_0x26a40f,_0x1cfa7d){const _0xbb2b02=!!(_0x26a40f&_0x1cfa7d[_0x114704([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4ca18c=_0x552295(_0x26a40f,_0x1cfa7d);return _0xbb2b02||_0x4ca18c;}function _0x552295(_0x3307e8,_0x372081){const _0x44d60d=(_0x372081[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x114704([0x66,0x67,0x69])]||null;return!!_0x44d60d&&_0x12a5a7[_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38ca17=>_0x44d60d[_0x114704([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ca17[_0x114704([0x69,0x64])]))[_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181524=>!_0x108905(_0x181524))[_0x114704([0x73,0x6f,0x6d,0x65])](_0x526f2b=>!!(_0x3307e8&_0x526f2b[_0x114704([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x108905(_0xbcfc5){const _0x50cf44={[_0x114704([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])]:_0x4f9ef1};return!!_0xbcfc5['forbiddenHandler']&&_0x50cf44[_0xbcfc5['forbiddenHandler']]();}function _0x4f9ef1(){return!window[_0x114704([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x536d93(_0x2382b5,_0x114704([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x564e2e(_0x4df889){if(!_0x536d93(_0x2382b5,_0x4df889[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4276c5=_0x4df889[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x24c740=_0x4276c5[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x51b29c=_0x4276c5[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x43312d=_0x4276c5[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x536d93(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x408901(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x24c740)return!0x0;if(_0x536d93(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x408901(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x114704([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x114704([0x65,0x6e,0x64])&&_0x51b29c)return!0x0;return!(!_0x536d93(_0x2382b5,_0x114704([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]))||_0x408901(_0x2382b5,_0x114704([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]))[_0x114704([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x114704([0x65,0x6e,0x64])||!_0x43312d);}function _0x536d93(_0x3c4a31,_0x4a9b4b){return _0x3c4a31[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x114704([0x68,0x61,0x73])](_0x4a9b4b);}function _0x408901(_0x4dbabf,_0x3cac6f){return _0x4dbabf[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x114704([0x67,0x65,0x74])](_0x3cac6f);}function _0x87fb92(_0x56e1ef){let _0x17ef2e='';for(const _0x44553e of _0x56e1ef)_0x17ef2e+=String[_0x114704([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x44553e);return _0x17ef2e;}function _0x3aadc4(_0x1d78b2){const _0x92a2f4=new Uint8Array(_0x1d78b2[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ebe11=0x0;_0x3ebe11<_0x1d78b2[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ebe11++)_0x92a2f4[_0x3ebe11]=_0x1d78b2[_0x114704([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ebe11);return _0x92a2f4;}_0x2eadcb&&_0x4032b0(_0xb3fd93(_0x333ff8),_0x2eadcb);})(_0x3a8e26);}(this);}['createRevision'](_0x447b7f){const _0x47ce5f=this['editor']['plugins']['get']('Users');return new a({'id':_0x447b7f['id'],'name':_0x447b7f['name'],'creator':_0x447b7f['creatorId']?_0x47ce5f['getUser'](_0x447b7f['creatorId']):null,'diffData':_0x447b7f['diffData']||_0x447b7f['data'],'authors':_0x447b7f['authorsIds']['map'](_0x3827c3=>_0x47ce5f['getUser'](_0x3827c3)),'createdAt':new Date(_0x447b7f['createdAt']),'attributes':_0x447b7f['attributes'],'fromVersion':_0x447b7f['fromVersion'],'toVersion':_0x447b7f['toVersion']});}['addRevision'](_0x53df85,_0x13d06a=0x0){this['_revisions']['add'](_0x53df85,_0x13d06a);}['getRevision'](_0x15db48){return this['_revisions']['get'](_0x15db48);}['getRevisions'](_0x17fd4b={'toJSON':!0x1}){const _0x191952=Array['from'](this['_revisions']);return _0x191952['reverse'](),_0x17fd4b['toJSON']?_0x191952['map'](_0x346ba6=>_0x346ba6['toJSON']()):_0x191952;}['getIndex'](_0x34073d){return this['_revisions']['getIndex'](_0x34073d);}['getEarlierVisibleRevision'](_0x4e393a){const [,_0x10bed4]=this['getRevisionsIterator'](_0x4e393a,{'direction':'earlier'});return _0x10bed4;}['getLaterVisibleRevision'](_0x31bfb7){const [,_0x3967ac]=this['getRevisionsIterator'](_0x31bfb7,{'direction':'later'});return _0x3967ac;}['getRevisionsInDiff'](_0x2794ef){const _0x3788e4=[];for(const _0x47ce18 of this['getRevisionsIterator'](_0x2794ef['newRevisionId']))if(_0x3788e4['push'](_0x47ce18),_0x47ce18['id']===_0x2794ef['oldRevisionId'])break;return _0x3788e4;}*['getRevisionsIterator'](_0x31cbaa,{direction:_0x2eebb7='earlier',filter:_0x319d96=_0xe425d=>!0x0}={}){const _0xf74d0e='earlier'===_0x2eebb7?0x1:-0x1;let _0x1fab80=this['_revisions']['get'](_0x31cbaa),_0x453e01=this['getIndex'](_0x1fab80);for(yield _0x1fab80;_0x1fab80;){if(_0x453e01+=_0xf74d0e,_0x1fab80=this['getRevision'](_0x453e01),!_0x1fab80)return;_0x319d96(_0x1fab80)&&(yield _0x1fab80);}}}function y(_0x1f3f4a,_0x18958d,_0x208365){const t=_0x1f3f4a['t'];switch(_0x18958d){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'},_0x208365);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x208365);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x2aa11a,'a':_0x2938f1,'e':_0x93bbe7,'r':_0x167015,'u':_0x4f4b91};class l extends _0x3603a7{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x341401,A,_0x20986d];}constructor(_0x19d41d){super(_0x19d41d),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 _0x47ee16=_0xf0312f();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x47ee16},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 _0x37851f=this['repository']['getRevision'](0x0),_0x304629=_0x37851f&&null===_0x37851f['creator']?_0x37851f:null;if(this['_continueCurrentRevision']=!!_0x304629&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x25c188=this['_source']['getCurrentRevisionId'](),_0x390c67=this['repository']['getRevision'](_0x25c188);if(_0x390c67)this['_startingVersion']=_0x390c67['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x12820d=this['_source']['history']['_operations']['find'](_0x5062a7=>!_0x5062a7['_isInit']),_0x3da8d2=_0x12820d?_0x12820d['baseVersion']:this['_source']['history']['version'];_0x37851f?(_0x37851f['toVersion']<_0x3da8d2&&_0x37851f['_update']({'toVersion':_0x3da8d2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x304629['id'],this['_startingVersion']=_0x304629['fromVersion']):(this['_startingVersion']=_0x37851f['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3da8d2,this['_continueCurrentRevision']=!0x1);}}else _0x304629&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x304629['toVersion'],this['editor']['model']['document']['history']['version']),_0x304629['fromVersion']===_0x304629['toVersion']?(0x0!==_0x304629['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x304629['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x304629['id'],this['_startingVersion']=_0x304629['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',_0x21159f=>!_0x21159f);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2d2c2c=this['repository']['getRevision'](0x0),_0x545786=await this['getRevisionDocumentData'](_0x2d2c2c),_0x438873=await this['getRevisionRootsAttributes'](_0x2d2c2c);this['_replaceEditorDataWithRevisionData'](_0x545786,_0x438873);}}['setSource'](_0x5e8ccf){this['_source']=_0x5e8ccf;}async['update'](){const _0x407d95=await this['_source']['getLatestVersion']();if(_0x407d95>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3172d7=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x407d95});_0x3172d7['authors']=_0x3172d7['authorsIds']['map'](_0x766a1b=>this['editor']['plugins']['get']('Users')['getUser'](_0x766a1b)),this['currentRevision']['_update'](_0x3172d7);}}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'](_0x4c6b15={},_0x9ca9d7=null){const _0x3c89d8=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9ca9d7>this['currentRevision']['toVersion']&&(_0x9ca9d7=null),null===_0x9ca9d7&&(_0x9ca9d7=await this['_source']['getLatestVersion']());const _0x1ab69b=this['_getFromVersion'](_0x9ca9d7),_0x3ee8fd=this['buildRevisionData']({'from':_0x1ab69b,'to':_0x9ca9d7});if(this['currentRevision']['toVersion']<_0x9ca9d7){const _0x5473a0=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9ca9d7,'to':_0x9ca9d7});_0x5473a0['authors']=[],_0x5473a0['authorsIds']=[],_0x5473a0['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5473a0,!0x0),delete _0x5473a0['authors'],_0x3c89d8['push'](_0x5473a0);}_0x4c6b15['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4c6b15['name']=_0x4c6b15['name']||null,_0x4c6b15['id']=_0x4c6b15['id']||_0xf0312f(),_0x4c6b15={..._0x4c6b15,..._0x3ee8fd};const _0x582f4f=this['addRevisionData'](_0x4c6b15);_0x3c89d8['push'](_0x4c6b15);const _0x5ef529=this['repository']['getIndex'](_0x582f4f);if(0x0!==_0x5ef529){const _0x5125d9=this['repository']['getRevision'](_0x5ef529-0x1);if(_0x5125d9['fromVersion']!==_0x9ca9d7){const _0x12c01f=this['_revisionDataBuilder']['getData'](_0x9ca9d7,_0x5125d9['toVersion']),_0x4bdf56={'id':_0x5125d9['id'],'diffData':_0x12c01f['diffData'],'authorsIds':_0x12c01f['authorsIds'],'authors':_0x12c01f['authorsIds']['map'](_0x57b5e1=>this['editor']['plugins']['get']('Users')['getUser'](_0x57b5e1)),'fromVersion':_0x9ca9d7};_0x5125d9===this['currentRevision']&&(_0x4bdf56['createdAt']=new Date(_0x4c6b15['createdAt']['getTime']()+0xa)),_0x5125d9['_update'](_0x4bdf56,!0x0),delete _0x4bdf56['authors'],_0x3c89d8['push'](_0x4bdf56);}}if(this['adapter']){for(const _0x5c4685 of _0x3c89d8)this['_bufferUpdate'](_0x5c4685['id'],_0x5c4685,!0x0);this['sendBufferedUpdates']();}return _0x582f4f;}['addRevisionData'](_0x11a4d0){const _0x2897ab=this['repository']['createRevision'](_0x11a4d0);return this['adapter']&&_0x2897ab['on']('_update',(_0x4d4ac8,_0x55b5a7,_0x144b4c)=>{_0x144b4c||(this['_bufferUpdate'](_0x55b5a7['id'],_0x55b5a7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2897ab,this['_findInsertionIndex'](_0x2897ab)),_0x2897ab;}async['getRevisionDocumentData'](_0x2c1744){await this['_loadRevisionData'](_0x2c1744);const _0x328d93={};for(const _0xeb5bb6 in _0x2c1744['diffData']){if(_0x2c1744['diffData'][_0xeb5bb6]['attachChange']&&!_0x2c1744['diffData'][_0xeb5bb6]['attachChange']['isAttached'])continue;const _0x224277=this['_removeRevisionMarkers'](JSON['parse'](_0x2c1744['diffData'][_0xeb5bb6]['insertions'])),_0x47243a=this['editor']['editing']['view']['document'],_0xd7c811=new _0x48992a(_0x47243a,_0x224277['map'](_0x374736=>B(_0x374736,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x328d93[_0xeb5bb6]=this['editor']['data']['processor']['toData'](_0xd7c811),this['editor']['data']['processor']['useFillerType']('default');}return _0x328d93;}async['getRevisionRootsAttributes'](_0x2485a9){await this['_loadRevisionData'](_0x2485a9);const _0x14b273={};for(const _0x418cba in _0x2485a9['diffData'])_0x2485a9['diffData'][_0x418cba]['attachChange']&&!_0x2485a9['diffData'][_0x418cba]['attachChange']['isAttached']||(_0x14b273[_0x418cba]=_0x2485a9['diffData'][_0x418cba]['attributesAfter']||{});return _0x14b273;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x11a844=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3ad0c2=0x0;_0x3ad0c2<_0x11a844['length'];_0x3ad0c2++){const _0x2197a5=_0x11a844[_0x3ad0c2];let _0x530da8=!0x1;for(const _0x51995a of Object['keys'](_0x2197a5))void 0x0===_0x2197a5[_0x51995a]?delete _0x2197a5[_0x51995a]:'id'!==_0x51995a&&(_0x530da8=!0x0);_0x530da8||(_0x11a844[_0x3ad0c2]=null);}if(_0x11a844=_0x11a844['filter'](_0xee5472=>null!==_0xee5472),!_0x11a844['length'])return;for(let _0x2b08da=0x0;_0x2b08da<_0x11a844['length'];_0x2b08da++){const _0x165b42=_0x11a844[_0x2b08da];void 0x0!==_0x165b42['fromVersion']&&void 0x0===_0x165b42['toVersion']&&(_0x165b42['toVersion']=this['repository']['getRevision'](_0x165b42['id'])['toVersion']),void 0x0!==_0x165b42['toVersion']&&void 0x0===_0x165b42['fromVersion']&&(_0x165b42['fromVersion']=this['repository']['getRevision'](_0x165b42['id'])['fromVersion']);}const _0x2b94b5=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x11a844,_0x2b94b5)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x25a7f0=>{if(_0x25a7f0){for(const _0x4b8a5d of _0x25a7f0)this['setRevisionData']({'id':_0x4b8a5d['id'],'createdAt':_0x4b8a5d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1ec0f5,_0x1fc051){let _0x2f7659=this['editor']['config']['get']('initialData'),_0x522497=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2f7659){_0x2f7659={};for(const _0x3b4752 of this['editor']['model']['document']['getRootNames']())_0x2f7659[_0x3b4752]='';}if('string'==typeof _0x2f7659&&(_0x2f7659={'main':_0x2f7659}),void 0x0===_0x522497){_0x522497={};for(const _0x34a73a of this['editor']['model']['document']['getRootNames']())_0x522497[_0x34a73a]={};}let _0x384cea=!0x1;const _0x5f5acd=Object['keys'](_0x2f7659),_0x4779e6=Object['keys'](_0x1ec0f5);for(const _0xad6600 of _0x5f5acd){if(_0x2f7659[_0xad6600]!==_0x1ec0f5[_0xad6600]&&''!==_0x2f7659[_0xad6600]['trim']()){_0x384cea=!0x0;break;}if(!_0x207ea5(_0x522497[_0xad6600],_0x1fc051[_0xad6600])&&Object['keys'](_0x522497[_0xad6600])['length']>0x0){_0x384cea=!0x0;break;}}_0x384cea||(_0x384cea=_0x4779e6['some'](_0x1356ae=>!this['editor']['model']['document']['getRoot'](_0x1356ae))),_0x384cea&&_0x26ba3b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2f7659,'editorRootsAttributes':_0x522497,'revisionData':_0x1ec0f5,'revisionRootsAttributes':_0x1fc051}),this['editor']['config']['set']('initialData',_0x1ec0f5),this['editor']['config']['set']('rootsAttributes',_0x1fc051);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x45e499=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x45e499['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5ae556){const _0x1c8916=this['repository']['getRevisions']();_0x1c8916['reverse']();let _0x1b8a71=0x0;for(;_0x1b8a71<_0x1c8916['length'];){const _0x221807=_0x1c8916[_0x1b8a71];if(_0x221807===this['currentRevision']){_0x1b8a71++;continue;}if(_0x221807['id']===this['_initialRevisionId'])break;const _0x5f08c4=_0x5ae556['toVersion']-_0x221807['toVersion']||_0x5ae556['fromVersion']-_0x221807['fromVersion'];if(_0x5f08c4>0x0)break;if(_0x5f08c4<0x0)_0x1b8a71++;else{if(!_0x5ae556['creator']&&_0x221807['creator'])break;if(_0x221807['creator']||!_0x5ae556['creator']){if(_0x5ae556['createdAt']>_0x221807['createdAt'])break;_0x1b8a71++;}else _0x1b8a71++;}}return _0x1b8a71;}['setRevisionData'](_0x9f592f){const _0x196977=this['repository']['getRevision'](_0x9f592f['id']);if(_0x9f592f['createdAt']&&(_0x9f592f['createdAt']=new Date(_0x9f592f['createdAt'])),_0x9f592f['authorsIds']){const _0x44879a=this['editor']['plugins']['get']('Users');_0x9f592f['authors']=_0x9f592f['authorsIds']['map'](_0x5662d8=>_0x44879a['getUser'](_0x5662d8));}_0x196977['_update'](_0x9f592f,!0x0);}['buildRevisionData']({revision:_0x2e2608=null,from:_0x5216f5=null,to:_0x41aecc=null}){_0x5216f5=null!==_0x5216f5?_0x5216f5:_0x2e2608['fromVersion'],_0x41aecc=null!==_0x41aecc?_0x41aecc:_0x2e2608['toVersion'];const _0x4a4ce1=this['_revisionDataBuilder']['getData'](_0x5216f5,_0x41aecc),_0x4582e0={'diffData':_0x4a4ce1['diffData'],'authorsIds':_0x4a4ce1['authorsIds'],'fromVersion':_0x5216f5,'toVersion':_0x41aecc};if(!_0x2e2608||_0x41aecc!==_0x2e2608['toVersion']){const _0x48d2f3=_0x41aecc-0x1,_0x5e12c9=this['_source']['history']['getOperation'](_0x48d2f3);_0x4582e0['createdAt']=_0x5e12c9&&_0x5e12c9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5216f5===this['_loadedStateData']['fromVersion']){for(const _0x138430 of this['_loadedStateData']['authors'])_0x4582e0['authorsIds']['includes'](_0x138430['id'])||_0x4582e0['authorsIds']['push'](_0x138430['id']);}return _0x4582e0;}['_loadRevisionData'](_0x1ca7f1){if(!_0x1ca7f1||_0x1ca7f1['diffData'])return Promise['resolve']();{const _0x2432ec=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2432ec,'revisionId':_0x1ca7f1['id']})['then'](_0x11c360=>{_0x1ca7f1['diffData']=_0x11c360['diffData'];});}}['_bufferUpdate'](_0x1605bd,_0x144f83,_0x5215ef){if(this['_bufferedUpdates']['has'](_0x1605bd)){const _0x335651=this['_bufferedUpdates']['get'](_0x1605bd);_0x144f83=_0x5215ef?{..._0x335651,..._0x144f83}:{..._0x144f83,..._0x335651};}this['_bufferedUpdates']['set'](_0x1605bd,_0x144f83);}['_getFromVersion'](_0x1da7f4){const _0x44393d=this['repository']['getRevisions']();_0x44393d['reverse'](),_0x44393d['shift']();const _0x37d9b5=_0x44393d['find'](_0x180779=>_0x180779['toVersion']<=_0x1da7f4)['toVersion'];return _0x37d9b5<this['_startingVersion']?this['_startingVersion']:_0x37d9b5;}['_createInitialRevision'](_0x1736cf){const _0x3b1380=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3b1380)this['_initialRevisionId']=_0x3b1380['id'];else{const _0x56fa07=!this['editor']['model']['document']['roots']['find'](_0x370d48=>this['editor']['model']['hasContent'](_0x370d48)),_0x214d76=this['editor']['plugins']['get']('Users')['me']['id'],_0x29b6db=y(this['editor']['locale'],_0x56fa07?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1736cf,'to':_0x1736cf,'id':this['_initialRevisionId'],'name':_0x29b6db,'creatorId':_0x214d76});}}['_createCurrentRevision'](_0x1577cc){const _0x99f04d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x99f04d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1577cc,'to':_0x1577cc,'id':_0x99f04d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ee342,from:_0x15600a,to:_0xfec214,creatorId:_0x1d9b8f,id:_0x1e8a21}){const _0x3a9b16=this['buildRevisionData']({'from':_0x15600a,'to':_0xfec214});_0x3a9b16['name']=_0x5ee342,_0x3a9b16['creatorId']=_0x1d9b8f,_0x3a9b16['id']=_0x1e8a21;const _0x1532fd=this['addRevisionData'](_0x3a9b16);return this['adapter']&&this['_bufferUpdate'](_0x3a9b16['id'],_0x3a9b16,!0x0),_0x1532fd;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2c726a){return(_0x2c726a=_0x2c726a['filter'](_0x1417dd=>!_0x1417dd['name']||'revision-start'!==_0x1417dd['name']&&'revision-end'!==_0x1417dd['name']))['forEach'](_0x42cd03=>{'string'!=typeof _0x42cd03&&(_0x42cd03['children']=this['_removeRevisionMarkers'](_0x42cd03['children']),_0x42cd03['attributes']=_0x42cd03['attributes']['filter'](_0x46f0bb=>!_0x46f0bb[0x0]['startsWith']('data-revision-')));}),_0x2c726a;}}function B(_0x4a2b3b,_0x2d7be9){const _0x55a109=_0x2d7be9['editing']['view']['document'];if('string'==typeof _0x4a2b3b)return new _0x5dab6f(_0x55a109,_0x4a2b3b);{const _0x1d6e53=_0x4a2b3b['children']['map'](_0x3b30b5=>B(_0x3b30b5,_0x2d7be9));return new(T[_0x4a2b3b['type']]||_0x3a08fb)(_0x55a109,_0x4a2b3b['name'],_0x4a2b3b['attributes'],_0x1d6e53);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4d37a5){this['editor']=_0x4d37a5,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'](_0x42bd18){this['source']=_0x42bd18;const _0x456dd9=new Map(),_0x303359=new Map(),_0xfa5186=this['editor']['model']['document']['roots']['map'](_0x432dcf=>_0x432dcf['rootName']);for(const _0x1bfa05 of _0xfa5186){const _0x1e0487=this['editor']['model']['document']['getRoot'](_0x1bfa05),_0x17819a=q(_0x1e0487);_0x456dd9['set'](_0x1bfa05,_0x17819a),_0x303359['set'](_0x1bfa05,Object['fromEntries'](_0x1e0487['getAttributes']()));}const _0x350236=Array['from'](this['editor']['model']['markers'])['map'](_0x38d9eb=>[_0x38d9eb['name'],_0x38d9eb['getRange']()]),_0x52f5dc=this['source']['version'];this['_saveMetaData'](_0x52f5dc,_0x456dd9,_0x350236,_0x303359),this['_startingRevisionId']=this['_revisionId'];const _0x4089ef=new Map(),_0x2e69d8=new Map();for(const _0x29b197 of _0xfa5186){const _0x1aacd7=G(_0x29b197);_0x4089ef['set'](_0x29b197,_0x1aacd7),_0x2e69d8['set'](_0x29b197,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4089ef,[],_0x2e69d8);}['getData'](_0x13d364,_0x490d34){if(this['_lastFrom']===_0x13d364&&this['_lastTo']<=_0x490d34)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x490d34,!0x0);else{if(!this['_savedMetaData']['has'](_0x13d364)){const _0x7f6792=this['_getPreviousFrom'](_0x13d364);this['_calculateMetaData'](_0x7f6792,_0x13d364,!0x1);}this['_calculateMetaData'](_0x13d364,_0x490d34,!0x0);}return this['_lastFrom']=_0x13d364,this['_lastTo']=_0x490d34,this['_getState']();}['loadState'](_0x4600c0){this['_reset'](),this['_lastFrom']=_0x4600c0['fromVersion'],this['_lastTo']=_0x4600c0['toVersion'];for(const _0x25602f in _0x4600c0['diffData']){const _0xfa2b47=_0x4600c0['diffData'][_0x25602f]['attachChange'],_0x167172=_0x28bea0(_0x4600c0['diffData'][_0x25602f]['attributesBefore'])||{},_0x5cb477=this['_makeModelFromViewString'](_0x4600c0['diffData'][_0x25602f]['deletions']);_0x5cb477['rootName']=_0x25602f,_0x5cb477['_isAttached']=!_0xfa2b47||!_0xfa2b47['isAttached'],_0x5cb477['isAttached']=()=>_0x5cb477['_isAttached'],this['_baseRoots']['set'](_0x25602f,_0x5cb477),this['_baseRootsAttributes']['set'](_0x25602f,_0x167172),_0xfa2b47&&this['_touchedRoots']['set'](_0x25602f,_0xfa2b47);const _0x22af1c=this['_makeIdsRoot'](_0x5cb477);this['_baseIdsRoots']['set'](_0x25602f,_0x22af1c);for(const [_0x446748,_0x2ecb19]of _0x5cb477['markers']){if(!_0x446748['startsWith']('revision:'))continue;const _0x592727=_0x446748['split'](':')[0x2];for(const _0x3f71db of _0x2ecb19['getWalker']({'singleCharacters':!0x0})){const _0x4236dd=this['_getVidAttributeName'](_0x3f71db),_0x2ba91b='elementEnd'==_0x3f71db['type']?_0x3f71db['previousPosition']['path']['slice'](0x0,-0x1):_0x3f71db['previousPosition']['path'],_0x30cc31=_0x22af1c['getNodeByPath'](_0x2ba91b)['getAttribute'](_0x4236dd);this['_touched']['set'](_0x30cc31,{'userId':_0x592727});}}}this['_startingRevisionId']=this['_revisionId'];const _0x47256e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1fe197=>!this['_touched']['has'](_0x1fe197));let _0x36dcf9=0x0;const _0x1774d3=new Map();for(const _0x22735d in _0x4600c0['diffData']){const _0x20e91d=_0x4600c0['diffData'][_0x22735d]['attachChange'],_0x319d0a=_0x28bea0(_0x4600c0['diffData'][_0x22735d]['attributesAfter'])||{},_0x536a41=this['_makeModelFromViewString'](_0x4600c0['diffData'][_0x22735d]['insertions']);_0x536a41['rootName']=_0x22735d,_0x536a41['_isAttached']=!_0x20e91d||_0x20e91d['isAttached'],_0x536a41['isAttached']=()=>_0x536a41['_isAttached'],this['_diffRoots']['set'](_0x22735d,_0x536a41),this['_diffRootsAttributes']['set'](_0x22735d,_0x319d0a);const _0x7cfcb=this['_makeIdsRoot'](_0x536a41,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x22735d,_0x7cfcb),_0x1774d3['set'](_0x22735d,_0x536a41['isAttached']()?_0x319d0a:{});for(const [_0x1b2be1,_0x1bd6ee]of _0x536a41['markers']){if(!_0x1b2be1['startsWith']('revision:'))continue;const _0x428038=_0x1b2be1['split'](':')[0x2];for(const _0x57d7e3 of _0x1bd6ee['getWalker']({'singleCharacters':!0x0})){const _0x205cd2=this['_getVidAttributeName'](_0x57d7e3),_0x343323=this['_revisionId']++,_0x375800='elementEnd'==_0x57d7e3['type']?_0x57d7e3['previousPosition']['path']['slice'](0x0,-0x1):_0x57d7e3['previousPosition']['path'];_0x7cfcb['getNodeByPath'](_0x375800)['_setAttribute'](_0x205cd2,_0x343323),this['_touched']['set'](_0x343323,{'userId':_0x428038});}}for(const _0x43bc1e of this['editor']['model']['createRangeIn'](_0x536a41)['getWalker']({'singleCharacters':!0x0})){const _0x418f19=this['_getVidAttributeName'](_0x43bc1e),_0x555f22='elementEnd'==_0x43bc1e['type']?_0x43bc1e['previousPosition']['path']['slice'](0x0,-0x1):_0x43bc1e['previousPosition']['path'],_0x4c81e4=_0x7cfcb['getNodeByPath'](_0x555f22);_0x4c81e4['getAttribute'](_0x418f19)>0x0||_0x4c81e4['_setAttribute'](_0x418f19,_0x47256e[_0x36dcf9++]);}for(const [_0x1469fc,_0xda3901]of _0x536a41['markers'])_0x1469fc['startsWith']('revision:')||this['_markers']['set'](_0x1469fc,_0xda3901);}const _0x410da4=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x410da4),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x410da4,0x1));const _0x2d1adb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2d1adb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2d1adb,0x1));const _0x3a667d=Array['from'](this['_diffRoots'])['map'](([_0x3673e4,_0x55c791])=>[_0x3673e4,q(_0x55c791)]);this['_saveMetaData'](this['_lastTo'],_0x3a667d,this['_markers'],_0x1774d3);}['_makeModelFromViewString'](_0x4fb05d){const _0x53f5b3=JSON['parse'](_0x4fb05d),_0x521e5d=this['editor']['editing']['view']['document'],_0x4627ed=new _0x48992a(_0x521e5d,_0x53f5b3['map'](_0xd1f72b=>B(_0xd1f72b,this['editor'])));return this['editor']['data']['toModel'](_0x4627ed);}['_saveMetaData'](_0x59def7,_0x2ad469,_0xc58df3,_0x1c8dcd){const _0x50ee2f=new Map(_0x2ad469),_0x4517a8=new Map(_0x28bea0(_0x1c8dcd)),_0x1bd21b=new Map();for(const [_0x29deb7,_0x2049b1]of _0xc58df3)_0x1bd21b['set'](_0x29deb7,{'start':_0x2049b1['start']['clone'](),'end':_0x2049b1['end']['clone'](),'rootName':_0x2049b1['root']['rootName']});this['_savedMetaData']['set'](_0x59def7,{'roots':_0x50ee2f,'markers':_0x1bd21b,'rootsAttributes':_0x4517a8});}['_removeMetaData'](_0x78314d){this['_savedMetaData']['delete'](_0x78314d);}['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'](_0x5778d6,_0x51d0a6=null){let _0x3c03bc=null;_0x5778d6['is']('documentFragment')||(_0x3c03bc=new ft(_0x5778d6['name'],{'vid_start':null===_0x51d0a6?this['_revisionId']++:_0x51d0a6++}));const _0x1ae717=[];for(const _0x49eaa2 of _0x5778d6['getChildren']())if(_0x49eaa2['is']('element')){_0x1ae717['push'](this['_makeIdsRoot'](_0x49eaa2,_0x51d0a6));const _0x30d051=_0x1ae717[_0x1ae717['length']-0x1];null!==_0x51d0a6&&(_0x51d0a6=_0x30d051['is']('element','$text')?_0x30d051['getAttribute']('vid')+0x1:_0x30d051['getAttribute']('vid_end')+0x1);}else{for(let _0x440c0e=0x0;_0x440c0e<_0x49eaa2['offsetSize'];_0x440c0e++)_0x1ae717['push'](new ft('$text',{'vid':null===_0x51d0a6?this['_revisionId']++:_0x51d0a6++}));}if(_0x5778d6['is']('documentFragment')){const _0x843887=G(_0x5778d6['rootName']);return _0x843887['_insertChild'](0x0,_0x1ae717),_0x843887;}return _0x3c03bc['_setAttribute']('vid_end',null===_0x51d0a6?this['_revisionId']++:_0x51d0a6++),_0x3c03bc['_insertChild'](0x0,_0x1ae717),_0x3c03bc;}['_calculateMetaData'](_0x577055,_0xa5eb10,_0x19fc43){this['_reset']();const {roots:_0x501b40,markers:_0x1d6474,rootsAttributes:_0x505c08}=this['_savedMetaData']['get'](_0x577055);this['_baseRoots']=new Map(_0x501b40),this['_baseRootsAttributes']=new Map(_0x28bea0(_0x505c08));for(const [_0x5853e8,_0x292779]of this['_baseRoots'])if('$graveyard'!==_0x5853e8&&(this['_diffRoots']['set'](_0x5853e8,q(_0x292779)),this['_diffRootsAttributes']=new Map(_0x28bea0(_0x505c08)),_0x19fc43)){const _0x4e6095=this['_revisionId'];this['_idsRoots']['set'](_0x5853e8,this['_makeIdsRoot'](_0x292779)),this['_baseIdsRoots']['set'](_0x5853e8,this['_makeIdsRoot'](_0x292779,_0x4e6095));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x19fc43&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x57e684,_0x404ac9]of _0x1d6474){const _0x3d9c60=this['_baseRoots']['get'](_0x404ac9['rootName']),_0x50ae9e=this['_diffRoots']['get'](_0x404ac9['rootName']),_0x5b2221=new vt(this['_fixPosition'](_0x404ac9['start'],_0x3d9c60),this['_fixPosition'](_0x404ac9['end'],_0x3d9c60)),_0x2754cc=this['_fixRange'](_0x5b2221,_0x50ae9e);_0x3d9c60['markers']['set'](_0x57e684,_0x5b2221),this['_markers']['set'](_0x57e684,_0x2754cc);}this['_applyOperations'](_0x577055,_0xa5eb10,_0x19fc43);}['_applyOperations'](_0x14d133,_0x405ba2,_0x2d0cc9){for(const _0x3abfb8 of this['source']['getOperations'](_0x14d133,_0x405ba2))this['_handleOperation'](_0x3abfb8,_0x2d0cc9);for(const _0x341056 of this['_diffRoots']['values']())_0x341056['markers']['clear']();for(const [_0x5ce5da,_0x53e8df]of this['_markers']){this['_diffRoots']['get'](_0x53e8df['root']['rootName'])['markers']['set'](_0x5ce5da,_0x53e8df['clone']());}const _0xa623b4=new Map(),_0x2cb4da=new Map();for(const [_0x12037f,_0x58e53b]of this['_diffRoots'])_0xa623b4['set'](_0x12037f,q(_0x58e53b)),_0x2cb4da['set'](_0x12037f,this['_diffRootsAttributes']['get'](_0x12037f));this['_saveMetaData'](_0x405ba2,_0xa623b4,this['_markers'],_0x2cb4da);}['_getPreviousFrom'](_0x1f81cf){const _0x2207a0=Array['from'](this['_savedMetaData']['keys']());_0x2207a0['sort']((_0x53142a,_0x87315)=>_0x53142a-_0x87315),_0x2207a0['reverse']();for(const _0x3205e2 of _0x2207a0)if(_0x3205e2<_0x1f81cf)return _0x3205e2;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x502666,_0x5abafd){const _0x2637b5=Array['from'](_0x5abafd['markers'])['map'](([_0x518a15,_0x32e97f])=>[_0x518a15,this['_fixRange'](_0x32e97f,_0x502666)]);_0x502666['markers']=new Map(_0x2637b5);}['_transformMarkers'](_0x380479){for(const _0x588198 of this['_markers']['values']()){const _0x548d5d=_0x588198['getTransformedByOperation'](_0x380479),_0x3b6761=vt['_createFromRanges'](_0x548d5d);_0x588198['start']=_0x3b6761['start'],_0x588198['end']=_0x3b6761['end'];}}['_handleOperation'](_0x319a9f,_0x48d01d){if('addRoot'==_0x319a9f['type']||'detachRoot'==_0x319a9f['type'])return void this['_handleRootOperation'](_0x319a9f,_0x48d01d);if('insert'==_0x319a9f['type']){const _0x15c833=_0x319a9f['position']['root']['rootName'];this['_diffRoots']['has'](_0x15c833)||(this['_diffRoots']['set'](_0x15c833,G(_0x15c833,!0x0)),this['_diffRootsAttributes']['set'](_0x15c833,{}),_0x48d01d&&this['_idsRoots']['set'](_0x15c833,G(_0x15c833,!0x0)));}else{if('addRootAttribute'==_0x319a9f['type']||'removeRootAttribute'==_0x319a9f['type']||'changeRootAttribute'==_0x319a9f['type'])return void this['_handleRootAttributeOperation'](_0x319a9f);}const _0x4d6a77=this['_cloneOperation'](_0x319a9f,this['_diffRoots']);if('marker'!==_0x319a9f['type']&&(_0x4d6a77['_execute'](),this['_transformMarkers'](_0x4d6a77)),_0x48d01d)switch(_0x4d6a77['type']){case'insert':this['_handleInsertOperation'](_0x319a9f);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x319a9f);break;case'merge':this['_handleMergeOperation'](_0x319a9f);break;case'split':this['_handleSplitOperation'](_0x319a9f);break;case'marker':this['_handleMarkerOperation'](_0x319a9f);}}['_cloneOperation'](_0xc0449d,_0x3388ef){const _0x17275d=_0xc0449d['clone']();return _0x17275d['_authorId']=_0xc0449d['_authorId'],this['_fixOperation'](_0x17275d,_0x3388ef),_0x17275d;}['_getBaseVids'](_0x42a31a){return _0x42a31a['map'](_0x150278=>{const _0x17e798=this['_getVidAttributeName'](_0x150278);return Number(_0x150278['item']['getAttribute'](_0x17e798));});}['_generateTape'](_0x38c535,_0x2271db){if(_0x38c535['is']('element','$text'))_0x2271db['push']({'item':_0x38c535,'type':'text'});else{_0x38c535['is']('element')&&_0x2271db['push']({'item':_0x38c535,'type':'elementStart'});for(const _0x4302dc of _0x38c535['getChildren']())this['_generateTape'](_0x4302dc,_0x2271db);_0x38c535['is']('element')&&_0x2271db['push']({'item':_0x38c535,'type':'elementEnd'});}return _0x2271db;}['_getState'](){const _0x57b3a2=new Map(this['_touched']),_0x5f048d=new Map(_0x57b3a2),_0x478c64=new Map(),_0x29933e={'insertions':{},'deletions':{}},_0x150a4b={'insertions':{},'deletions':{}},_0x2e4350=new Map(),_0x90dcce=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x90dcce['delete']('$graveyard');for(const _0x59e433 of _0x90dcce){const _0x5c8c4e=this['_diffRoots']['get'](_0x59e433)||G(_0x59e433,!0x1),_0x2eed2f=this['_baseRoots']['get'](_0x59e433)||G(_0x59e433,!0x1);_0x5c8c4e['isAttached']()||_0x2eed2f['isAttached']()?(_0x29933e['insertions'][_0x59e433]=q(_0x5c8c4e),_0x29933e['deletions'][_0x59e433]=q(_0x2eed2f),this['_copyMarkers'](_0x29933e['deletions'][_0x59e433],_0x2eed2f),this['_copyMarkers'](_0x29933e['insertions'][_0x59e433],_0x5c8c4e),_0x150a4b['insertions'][_0x59e433]=this['_generateTape'](this['_idsRoots']['get'](_0x59e433),[]),_0x150a4b['deletions'][_0x59e433]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x59e433)||G(_0x59e433,!0x1),[])):_0x90dcce['delete'](_0x59e433);}for(const _0x5c95e8 of _0x90dcce){const _0x113e14=_0x150a4b['insertions'][_0x5c95e8];for(const _0x51dabf of _0x113e14){const _0x4ced0f=this['_getVidAttributeName'](_0x51dabf),_0x2accfb=_0x51dabf['item']['getAttribute'](_0x4ced0f);_0x5f048d['delete'](_0x2accfb),_0x2accfb>=this['_startingRevisionId']&&_0x478c64['set'](_0x2accfb,_0x57b3a2['get'](_0x2accfb));}}for(const _0x32b8fa of _0x90dcce){const _0xe7e648=_0x150a4b['insertions'][_0x32b8fa],_0x2214e8=this['_getBaseVids'](_0x150a4b['deletions'][_0x32b8fa]);let _0x28148a=0x0;for(const _0x28407e of _0xe7e648){const _0x2424cb=this['_getVidAttributeName'](_0x28407e),_0x47c3e4=_0x28407e['item']['getAttribute'](_0x2424cb);if(!_0x478c64['has'](_0x47c3e4)&&!_0x2e4350['has'](_0x47c3e4)){if(_0x5f048d['has'](_0x47c3e4))_0x28148a++;else{if(_0x47c3e4!=_0x2214e8[_0x28148a]){const _0x1e9945=_0x57b3a2['get'](_0x47c3e4)||_0x57b3a2['get'](_0x2214e8[_0x28148a]);for(;_0x47c3e4!=_0x2214e8[_0x28148a];)_0x5f048d['has'](_0x2214e8[_0x28148a])||(_0x2e4350['set'](_0x2214e8[_0x28148a],_0x1e9945),_0x57b3a2['set'](_0x2214e8[_0x28148a],_0x1e9945)),_0x28148a++;}_0x28148a++;}}}}for(const _0x5aef64 of _0x90dcce){const _0x5b060c=_0x150a4b['insertions'][_0x5aef64];for(const _0x4bee7f of _0x5b060c){const _0x124488=this['_getVidAttributeName'](_0x4bee7f),_0x5dcd54=_0x4bee7f['item']['getAttribute'](_0x124488);if(_0x2e4350['has'](_0x5dcd54)){const _0x1f2b5a=_0x2e4350['get'](_0x5dcd54);_0x5f048d['has'](_0x5dcd54)||_0x5f048d['set'](_0x5dcd54,{..._0x1f2b5a}),_0x478c64['set'](_0x5dcd54,{..._0x1f2b5a});}}}for(const _0x463650 of _0x5f048d['keys']())_0x463650>=this['_startingRevisionId']&&_0x5f048d['delete'](_0x463650);const _0x34e1fb=new Map();for(const _0xba8135 of _0x90dcce){let _0x4c6097=_0x150a4b['insertions'][_0xba8135];for(const _0x244442 of _0x4c6097)if(_0x244442['item']['is']('element','tableCell')){const _0x557f83=this['_getVidAttributeName'](_0x244442),_0x4dd978=_0x244442['item']['getAttribute'](_0x557f83);if(_0x478c64['has'](_0x4dd978)){const _0xe23c91=_0x244442['item']['parent']['parent']['getAttribute']('vid_start'),_0x1235e5=_0x34e1fb['get'](_0xe23c91)||new Set();_0x1235e5['add'](_0x478c64['get'](_0x4dd978)['userId']),_0x34e1fb['set'](_0xe23c91,_0x1235e5);}}_0x4c6097=_0x150a4b['deletions'][_0xba8135];for(const _0x5173b1 of _0x4c6097)if(_0x5173b1['item']['is']('element','tableCell')){const _0x156b8b=this['_getVidAttributeName'](_0x5173b1),_0x121a2e=_0x5173b1['item']['getAttribute'](_0x156b8b);if(_0x5f048d['has'](_0x121a2e)){const _0x539699=_0x5173b1['item']['parent']['parent']['getAttribute']('vid_start'),_0x4465c8=_0x34e1fb['get'](_0x539699)||new Set();_0x4465c8['add'](_0x5f048d['get'](_0x121a2e)['userId']),_0x34e1fb['set'](_0x539699,_0x4465c8);}}for(const _0x2b66f8 of _0x34e1fb['keys']())(_0x478c64['has'](_0x2b66f8)||_0x5f048d['has'](_0x2b66f8))&&_0x34e1fb['delete'](_0x2b66f8);}for(const _0x5255d8 of _0x90dcce){const _0x59df4d=_0x150a4b['insertions'][_0x5255d8];let _0x242aa1=null,_0x28da64=null;for(const _0x42d3f3 of _0x59df4d){const _0x2e2d61=this['_getVidAttributeName'](_0x42d3f3),_0x48776c=_0x42d3f3['item']['getAttribute'](_0x2e2d61),_0x55928f=_0x34e1fb['get'](_0x48776c);_0x55928f&&'elementStart'==_0x42d3f3['type']&&(_0x242aa1=Array['from'](_0x55928f)[0x0],_0x28da64=_0x42d3f3['item']['getAttribute']('vid_end')),_0x242aa1&&(_0x5f048d['set'](_0x48776c,{'userId':_0x242aa1}),_0x478c64['set'](_0x48776c,{'userId':_0x242aa1})),_0x48776c==_0x28da64&&(_0x242aa1=null,_0x28da64=null);}}const _0x4300ef={},_0x3a7449=new Set();for(const _0x4b3479 of _0x90dcce){const _0x3ffcc4=_0x29933e['deletions'][_0x4b3479],_0xc9c1f8=_0x29933e['insertions'][_0x4b3479];for(const {userId:_0x2fc4f7}of this['_touchedMarkers']['values']())null!==_0x2fc4f7&&_0x3a7449['add'](_0x2fc4f7);for(const {userId:_0xcd3875}of this['_touchedRoots']['values']())null!==_0xcd3875&&_0x3a7449['add'](_0xcd3875);this['_markChanges'](_0xc9c1f8,_0x150a4b['insertions'][_0x4b3479],_0x478c64,'insertion',_0x3a7449),this['_markChanges'](_0x3ffcc4,_0x150a4b['deletions'][_0x4b3479],_0x5f048d,'deletion',_0x3a7449),_0x4300ef[_0x4b3479]={'insertions':this['_prepareViewToSave'](_0xc9c1f8),'deletions':this['_prepareViewToSave'](_0x3ffcc4),'attachChange':this['_touchedRoots']['get'](_0x4b3479)||null,'attributesBefore':_0x28bea0(this['_baseRootsAttributes']['get'](_0x4b3479))||{},'attributesAfter':_0x28bea0(this['_diffRootsAttributes']['get'](_0x4b3479))};}return{'diffData':_0x4300ef,'authorsIds':Array['from'](_0x3a7449)};}['_processRootBeforeSave'](_0x16b953){for(const [,_0x4e036c]of _0x16b953['markers']){const _0x4e3727=_0x4e036c['start']['getAncestors']()['filter'](_0x5d5214=>'tableCell'==_0x5d5214['name']);for(const _0x1b0d8d of _0x4e3727)0x1==_0x1b0d8d['childCount']&&_0x1b0d8d['getChild'](0x0)['is']('element','paragraph')&&_0x1b0d8d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x134b7a){this['_processRootBeforeSave'](_0x134b7a);const _0x2cba4c=this['editor']['data']['toView'](_0x134b7a,{}),_0x2382c6=Array['from'](_0x2cba4c['getChildren']())['map'](_0x1ec120=>this['_getViewJson'](_0x1ec120));return JSON['stringify'](_0x2382c6);}['_getViewJson'](_0x259e89){if(_0x259e89['is']('$text'))return _0x259e89['data'];{const _0x4657f5=_0x259e89;return{'type':Object['keys'](T)['find'](_0x35f5be=>_0x259e89 instanceof T[_0x35f5be]),'name':_0x4657f5['name'],'attributes':Array['from'](_0x4657f5['getAttributes']()),'children':Array['from'](_0x4657f5['getChildren']())['map'](_0x132731=>this['_getViewJson'](_0x132731))};}}['_markChanges'](_0x32dccf,_0x209efa,_0x191d59,_0x319b1d,_0x48bd99){let _0x275ebd=null,_0x1c1533=null,_0x509e2b=0x0;const _0x31ad26=this['editor']['model'];for(let _0x178e00=0x0;_0x178e00<_0x209efa['length'];_0x178e00++){const _0x3a2db8=this['_getVidAttributeName'](_0x209efa[_0x178e00]),_0x143fc5=_0x209efa[_0x178e00]['item']['getAttribute'](_0x3a2db8),_0x59b493=_0x191d59['get'](_0x143fc5),_0x1b27f3=_0x178e00==_0x209efa['length']-0x1;(!_0x275ebd&&_0x59b493&&(_0x275ebd=_0x59b493,_0x1c1533=_0x209efa[_0x178e00]),_0x275ebd&&(!_0x59b493||_0x59b493['userId']!=_0x275ebd['userId']))&&(_0x201c20(_0x59b493,L(_0x1c1533,_0x32dccf,_0x31ad26),L(_0x209efa[_0x178e00],_0x32dccf,_0x31ad26)),_0x275ebd=_0x59b493||null,_0x1c1533=_0x59b493?_0x209efa[_0x178e00]:null),_0x275ebd&&_0x1b27f3&&_0x201c20(_0x59b493,L(_0x1c1533,_0x32dccf,_0x31ad26),W(_0x209efa[_0x178e00],_0x32dccf,_0x31ad26));}function _0x201c20(_0x188f79,_0x15029a,_0x4fd29e){const _0x5c5895=_0x275ebd['userId'],_0x40f213='revision:'+_0x319b1d+':'+_0x5c5895+':'+_0x509e2b++,_0xea66b7=_0x31ad26['createRange'](_0x15029a,_0x4fd29e);_0x32dccf['markers']['set'](_0x40f213,_0xea66b7),null!==_0x5c5895&&_0x48bd99['add'](_0x5c5895);}}['_getVidAttributeName'](_0x20c721){switch(_0x20c721['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x258e18,_0x2edbc2){_0x258e18['baseVersion']=null;for(const _0x59a6f2 in _0x258e18){const _0x12e429=_0x258e18[_0x59a6f2];if(_0x12e429 instanceof gt){const _0x5c2477=_0x2edbc2['get'](_0x12e429['root']['rootName']);_0x258e18[_0x59a6f2]=this['_fixPosition'](_0x12e429,_0x5c2477);}if(_0x12e429 instanceof vt){const _0xbe9c64=_0x2edbc2['get'](_0x12e429['root']['rootName']);_0x258e18[_0x59a6f2]=this['_fixRange'](_0x12e429,_0xbe9c64);}'root'===_0x59a6f2&&(_0x258e18['root']=_0x2edbc2['get'](_0x258e18['root']['rootName']));}}['_fixRange'](_0x26764a,_0x26c4e4){return this['editor']['model']['createRange'](this['_fixPosition'](_0x26764a['start'],_0x26c4e4),this['_fixPosition'](_0x26764a['end'],_0x26c4e4));}['_fixPosition'](_0x46252e,_0x9545a4){return this['editor']['model']['createPositionFromPath'](_0x9545a4,_0x46252e['path'],_0x46252e['stickiness']);}['_handleInsertOperation'](_0xc46cd0){const _0x17c5db=this['_idsRoots']['get'](_0xc46cd0['position']['root']['rootName']),_0x2f24e8=this['_fixPosition'](_0xc46cd0['position'],_0x17c5db),_0x1e1e8e=null===_0xc46cd0['_authorId']?null:_0xc46cd0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42f6f3=_0x2f24e8['parent'],_0x50c28c=this['_revisionId'],_0x4e8920=[];for(const _0x4332da of _0xc46cd0['nodes'])if(_0x4332da['is']('element'))_0x4e8920['push'](this['_makeIdsRoot'](_0x4332da));else{for(let _0x3e88ab=0x0;_0x3e88ab<_0x4332da['offsetSize'];_0x3e88ab++)_0x4e8920['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2e75de=this['_revisionId'];for(let _0x1b2dd2=_0x50c28c;_0x1b2dd2<_0x2e75de;_0x1b2dd2++)this['_touched']['set'](_0x1b2dd2,{'userId':_0x1e1e8e});_0x42f6f3['_insertChild'](_0x2f24e8['offset'],_0x4e8920);}['_handleMoveOperation'](_0x2f769b){(_0x2f769b=this['_cloneOperation'](_0x2f769b,this['_idsRoots']))['_execute']();const _0x53c9b2=null===_0x2f769b['_authorId']?null:_0x2f769b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10779c=_0x2f769b['getMovedRangeStart'](),_0x578048=_0x10779c['parent'],_0x13330f=_0x10779c['offset'];!function _0x318bf5(_0x5f4d9c,_0x4082d0,_0x59d21f,_0x36d6f6){for(let _0x2067ea=_0x59d21f;_0x2067ea<_0x36d6f6;_0x2067ea++){const _0x5c0fc4=_0x4082d0['getChild'](_0x2067ea);_0x5c0fc4['is']('element','$text')?_0x5f4d9c['set'](_0x5c0fc4['getAttribute']('vid'),{'userId':_0x53c9b2}):(_0x5f4d9c['set'](_0x5c0fc4['getAttribute']('vid_start'),{'userId':_0x53c9b2}),_0x318bf5(_0x5f4d9c,_0x5c0fc4,0x0,_0x5c0fc4['childCount']),_0x5f4d9c['set'](_0x5c0fc4['getAttribute']('vid_end'),{'userId':_0x53c9b2}));}}(this['_touched'],_0x578048,_0x13330f,_0x13330f+_0x2f769b['howMany']);}['_handleMergeOperation'](_0x54b910){const _0x4d6275=null===(_0x54b910=this['_cloneOperation'](_0x54b910,this['_idsRoots']))['_authorId']?null:_0x54b910['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d524b=_0x54b910['targetPosition']['parent'],_0x5a6f93=_0x54b910['sourcePosition']['parent'],_0x2df6a8=_0x2d524b['getAttribute']('vid_end'),_0x3855f6=_0x5a6f93['getAttribute']('vid_start');_0x2d524b['_setAttribute']('vid_end',_0x5a6f93['getAttribute']('vid_end')),_0x5a6f93['_setAttribute']('vid_end',_0x2df6a8),this['_touched']['set'](_0x3855f6,{'userId':_0x4d6275}),this['_touched']['set'](_0x2df6a8,{'userId':_0x4d6275}),_0x54b910['_execute']();}['_handleSplitOperation'](_0x42807e){const _0x58bff1=null===(_0x42807e=this['_cloneOperation'](_0x42807e,this['_idsRoots']))['_authorId']?null:_0x42807e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1c9077=_0x42807e['graveyardPosition'],_0x4011cc=_0x42807e['splitPosition']['parent'];_0x42807e['_execute']();const _0x599499=_0x4011cc['getAttribute']('vid_end'),_0x369d9f=_0x42807e['insertionPosition']['nodeAfter'];if(_0x1c9077){const _0x556867=_0x369d9f['getAttribute']('vid_end'),_0x321ee=_0x4011cc['getAttribute']('vid_end');_0x4011cc['_setAttribute']('vid_end',_0x556867),_0x369d9f['_setAttribute']('vid_end',_0x321ee),this['_touched']['set'](_0x4011cc['getAttribute']('vid_end'),{'userId':_0x58bff1}),this['_touched']['set'](_0x369d9f['getAttribute']('vid_start'),{'userId':_0x58bff1});}else{const _0x251712=this['_revisionId']++,_0x1187f7=this['_revisionId']++;_0x4011cc['_setAttribute']('vid_end',_0x251712),_0x369d9f['_setAttribute']('vid_start',_0x1187f7),_0x369d9f['_setAttribute']('vid_end',_0x599499),this['_touched']['set'](_0x251712,{'userId':_0x58bff1}),this['_touched']['set'](_0x1187f7,{'userId':_0x58bff1});}}['_handleMarkerOperation'](_0x24c47b){if(!_0x24c47b['affectsData'])return;const _0x52c94f=(_0x24c47b=this['_cloneOperation'](_0x24c47b,this['_diffRoots']))['oldRange']?_0x24c47b['oldRange']['root']:null,_0x36c847=_0x24c47b['newRange']?_0x24c47b['newRange']['root']:null;_0x52c94f&&this['_markers']['delete'](_0x24c47b['name']),_0x36c847&&this['_markers']['set'](_0x24c47b['name'],_0x24c47b['newRange']['clone']());const _0x145aa4=null===_0x24c47b['_authorId']?null:_0x24c47b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4dcd9e=_0x24c47b['name'];if(!this['_touchedMarkers']['has'](_0x4dcd9e))return void this['_touchedMarkers']['set'](_0x4dcd9e,{'range':_0x24c47b['oldRange'],'userId':_0x145aa4});const _0x17d450=this['_touchedMarkers']['get'](_0x4dcd9e),_0x5d7c21=_0x17d450['range'],_0x4197be=_0x24c47b['newRange'];null==_0x5d7c21&&null==_0x4197be||_0x5d7c21&&_0x4197be&&_0x5d7c21['isEqual'](_0x4197be)?this['_touchedMarkers']['delete'](_0x24c47b['name']):_0x17d450['userId']=_0x145aa4;}['_handleRootOperation'](_0x5173c5,_0x139300){this['_diffRoots']['has'](_0x5173c5['rootName'])?this['_diffRoots']['get'](_0x5173c5['rootName'])['_isAttached']=_0x5173c5['isAdd']:(this['_diffRoots']['set'](_0x5173c5['rootName'],G(_0x5173c5['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5173c5['rootName'],{}),_0x139300&&this['_idsRoots']['set'](_0x5173c5['rootName'],G(_0x5173c5['rootName'],!0x0)));const _0x224511=null===_0x5173c5['_authorId']?null:_0x5173c5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x8d01d=this['_touchedRoots']['get'](_0x5173c5['rootName']);_0x8d01d&&_0x8d01d['userId']===_0x224511?this['_touchedRoots']['delete'](_0x5173c5['rootName']):this['_touchedRoots']['set'](_0x5173c5['rootName'],{'userId':_0x224511,'isAttached':_0x5173c5['isAdd']});}['_handleRootAttributeOperation'](_0x3175dd){const _0x1a1716=this['_diffRootsAttributes']['get'](_0x3175dd['root']['rootName']);null===_0x3175dd['newValue']?delete _0x1a1716[_0x3175dd['key']]:_0x1a1716[_0x3175dd['key']]=_0x3175dd['newValue'];}}function q(_0x40d518){const _0x12af5d=G(_0x40d518['rootName'],_0x40d518['isAttached']());for(const _0x271104 of _0x40d518['getChildren']()){const _0x38bbfd=_0x271104['_clone'](!0x0);_0x12af5d['_appendChild'](_0x38bbfd);}return _0x12af5d;}function G(_0x43e8ae,_0x3c8aae=!0x0){const _0x4c680a=new wt();return _0x4c680a['rootName']=_0x43e8ae,_0x4c680a['_isAttached']=_0x3c8aae,_0x4c680a['isAttached']=()=>_0x4c680a['_isAttached'],_0x4c680a;}function L(_0x51ccd3,_0x35dd59,_0x4789d9){const _0x2256aa='elementEnd'==_0x51ccd3['type']?_0x4789d9['createPositionAt'](_0x51ccd3['item'],'end'):_0x4789d9['createPositionBefore'](_0x51ccd3['item']);return _0x4789d9['createPositionFromPath'](_0x35dd59,_0x2256aa['path'],_0x2256aa['stickiness']);}function W(_0x41c4d8,_0x2fc9ce,_0x4c7fae){const _0x59df79='elementStart'==_0x41c4d8['type']?_0x4c7fae['createPositionAt'](_0x41c4d8['item'],0x0):_0x4c7fae['createPositionAfter'](_0x41c4d8['item']);return _0x4c7fae['createPositionFromPath'](_0x2fc9ce,_0x59df79['path'],_0x59df79['stickiness']);}class ns extends _0x1f4a45{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4a8bce,_0x17ab10){super(_0x4a8bce),this['focusTracker']=new _0x2f729d(),this['keystrokes']=new _0x13b852(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x17ab10),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'](),_0x4c620d({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xf43309=_0x47eedb=>_0x47eedb['stopPropagation']();this['keystrokes']['set']('arrowright',_0xf43309),this['keystrokes']['set']('arrowleft',_0xf43309),this['keystrokes']['set']('arrowup',_0xf43309),this['keystrokes']['set']('arrowdown',_0xf43309);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3d11fa){this['revisionNameInputView']['fieldView']['element']['value']=_0x3d11fa['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x493b41){const _0x1139b9=new at(this['locale'],_0x547aa8),_0x285b5e=_0x1139b9['fieldView'];_0x285b5e['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3ca412=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x493b41&&(_0x3ca412+='\x20('+y(this['locale'],'optional')+')'),(_0x1139b9['label']=_0x3ca412,_0x285b5e['on']('input',()=>{this['revisionNameInputValue']=_0x285b5e['element']['value']['trim']();}),_0x1139b9);}}class u extends _0x3603a7{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x42cda5=this['editor'],_0x5db1f3=_0x42cda5['plugins']['get']('RevisionTracker');_0x42cda5['ui']['componentFactory']['add']('revisionHistory',_0x5510eb=>{const _0x4a3f84=_0x8fc188(_0x5510eb),_0x26f69d=_0x4a3f84['panelView']['children'],_0x5704a0=new te(_0x5510eb),_0x20c883=new _0x118c45(_0x5510eb),_0x36ffcf=new _0x39ab84(_0x5510eb),_0x2da27c=new _0x118c45(_0x5510eb),_0x54f6f9=new _0x39ab84(_0x5510eb);return _0x4a3f84['bind']('isEnabled')['to'](_0x5db1f3,'isReady',_0x5db1f3,'isEnabled',_0x42cda5,'isReadOnly',(_0x16822c,_0x4b5f24,_0x29775e)=>_0x16822c&&_0x4b5f24&&!_0x29775e),_0x4a3f84['buttonView']['set']({'icon':_0x144dbc['history'],'label':y(_0x5510eb,'Revision\x20history'),'tooltip':!0x0}),_0x36ffcf['set']({'label':y(_0x5510eb,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x36ffcf['bind']('isEnabled')['to'](_0x5db1f3,'isReady',_0x5db1f3,'isEnabled',_0x42cda5,'isReadOnly',(_0x24e821,_0x504ed2,_0x150e6f)=>_0x24e821&&_0x504ed2&&!_0x150e6f),_0x36ffcf['on']('execute',()=>this['_showDialog']()),_0x54f6f9['set']({'label':y(_0x5510eb,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x54f6f9['bind']('isEnabled')['to'](_0x5db1f3,'isReady',_0x42cda5,'isReadOnly',(_0x1b7875,_0x3d112a)=>_0x1b7875&&!_0x3d112a),_0x54f6f9['on']('execute',()=>{_0x42cda5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4a3f84['isOpen']=!0x1,_0x42cda5['editing']['view']['focus']();}),_0x20c883['children']['add'](_0x36ffcf),_0x2da27c['children']['add'](_0x54f6f9),_0x5704a0['role']='menu',_0x5704a0['items']['addMany']([_0x20c883,_0x2da27c]),_0x26f69d['add'](_0x5704a0),_0x4a3f84;}),_0x42cda5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1c0686=this['editor'],_0x5f0cab=_0x1c0686['locale'],_0x24b6d7=new _0x6d333(_0x5f0cab),_0x31c21b=new _0x2b03dd(_0x5f0cab);_0x24b6d7['buttonView']['set']({'icon':_0x144dbc['history'],'label':y(_0x5f0cab,'Revision\x20history')});const _0x286f23=new _0x4bcfae(_0x5f0cab,_0x24b6d7),_0x4e3853=new _0x23224e(_0x5f0cab);_0x4e3853['set']({'label':y(_0x5f0cab,'Save\x20current\x20revision')}),_0x4e3853['delegate']('execute')['to'](_0x24b6d7),_0x4e3853['on']('execute',()=>{this['_showDialog']();}),_0x286f23['children']['add'](_0x4e3853),_0x31c21b['items']['add'](_0x286f23);const _0x144116=new _0x4bcfae(_0x5f0cab,_0x24b6d7),_0x3b2542=new _0x23224e(_0x5f0cab);return _0x3b2542['set']({'label':y(_0x5f0cab,'Open\x20revision\x20history')}),_0x3b2542['delegate']('execute')['to'](_0x24b6d7),_0x3b2542['on']('execute',()=>{_0x1c0686['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x144116['children']['add'](_0x3b2542),_0x31c21b['items']['add'](_0x144116),_0x24b6d7['panelView']['children']['add'](_0x31c21b),_0x24b6d7;}['_showDialog'](){const _0x56d644=this['editor'],_0x4a419e=_0x56d644['locale'],t=_0x4a419e['t'],_0x1ef9dc=_0x56d644['plugins']['get']('Dialog'),_0x1f16ef=_0x56d644['plugins']['get']('RevisionTracker');function _0x4308ff(_0x2a94ac){_0x56d644['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2a94ac['revisionName']?_0x2a94ac['revisionNameInputView']['errorText']=y(_0x4a419e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x56d644['plugins']['get'](l)['saveRevision']({'name':_0x2a94ac['revisionName']}),_0x1ef9dc['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4308ff(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1ef9dc['show']({'id':'findAndReplace','title':y(_0x4a419e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x1ef9dc['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x2f4fc5){_0x2f4fc5['bind']('isEnabled')['to'](_0x1f16ef,'isReady',_0x1f16ef,'isEnabled',_0x56d644,'isReadOnly',(_0xeeb887,_0x457129,_0x1182dc)=>_0xeeb887&&_0x457129&&!_0x1182dc);},'onExecute':()=>_0x4308ff(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5e45b4=this['editor'],_0x21bac3=_0x5e45b4['locale'];this['_saveRevisionFormView']=new ns(_0x21bac3,_0x5e45b4['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1f4a45{['changeId'];['_model'];constructor(_0x44892b,_0x593684){super(_0x44892b),this['_model']=_0x593684,this['changeId']=_0x593684['id'];const _0x2b3356=this['bindTemplate'],_0xd45844=y(_0x44892b,_0x593684['data']['isSuggestion']?'Suggested\x20by':'add'==_0x593684['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x593684['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2b3356['to']('type',_0xf264fa=>'ck-revision-change__'+_0xf264fa)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xd45844}]},{'text':'\x20'+_0x593684['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x3ebcb7(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4a3e24){super(),this['id']=_0x4a3e24['id']||_0xf0312f(),this['author']=_0x4a3e24['author'],this['type']=_0x4a3e24['type'],this['data']=_0x4a3e24['data']||{},this['rootName']=_0x4a3e24['rootName'],this['set']('createdAt',_0x4a3e24['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(_0x2331f6,_0xc9e63b){this['newRevisionId']=_0x2331f6,this['oldRevisionId']=_0xc9e63b,this['changes']=new _0x40a346();}['_setChanges'](_0x1bb275){for(const _0x51dcef of _0x1bb275)this['changes']['add'](_0x51dcef);}}const tt={'c':_0x2aa11a,'a':_0x2938f1,'e':_0x93bbe7,'r':_0x167015,'u':_0x4f4b91};class d extends _0x3603a7{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x341401,_0x433788,A];}constructor(_0x2d3d78){super(_0x2d3d78),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',(_0x2217c2,_0x26c273,_0x75cf54)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3dd37b=>{for(const _0x26b828 of this['editor']['editing']['view']['document']['roots'])_0x75cf54?_0x3dd37b['removeClass']('ck-editor__editable__overlay',_0x26b828):_0x3dd37b['addClass']('ck-editor__editable__overlay',_0x26b828);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x38bab5=>null!==_0x38bab5),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3a1600,_0x1f91bc,_0xc380f1)=>_0x3a1600&&_0xc380f1?_0x1f91bc['changes']['getIndex'](_0xc380f1):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x281382,_0x420444)=>_0x281382?_0x420444['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x433788);}['init'](){const _0x1d95fd=this['editor'],_0x5d57c5=new yt(_0x1d95fd,{'direction':'backward'}),_0x37ed87=new yt(_0x1d95fd,{'direction':'forward'});(_0x1d95fd['commands']['add']('showPreviousChange',_0x5d57c5),_0x1d95fd['commands']['add']('showNextChange',_0x37ed87),_0x1d95fd['commands']['add']('restoreRevision',new bt(_0x1d95fd)),this['on']('change:numberOfChanges',()=>{_0x5d57c5['refresh'](),_0x37ed87['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1d95fd['enableReadOnlyMode']('revision-viewer'),_0x1d95fd['plugins']['has']('WidgetToolbarRepository'))&&_0x1d95fd['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x16e3b6){await this['loadRevisionData'](_0x16e3b6);const _0x14b3ea={};for(const _0x3c77ec in _0x16e3b6['diffData']){if(_0x16e3b6['diffData'][_0x3c77ec]['attachChange']&&!_0x16e3b6['diffData'][_0x3c77ec]['attachChange']['isAttached'])continue;const _0x49d8d3=this['_removeRevisionMarkers'](JSON['parse'](_0x16e3b6['diffData'][_0x3c77ec]['insertions'])),_0xa4e4c6=this['editor']['editing']['view']['document'],_0x1828d4=new _0x48992a(_0xa4e4c6,_0x49d8d3['map'](_0x1e6563=>this['_getViewObj'](_0x1e6563)));this['editor']['data']['processor']['useFillerType']('marked'),_0x14b3ea[_0x3c77ec]=this['editor']['data']['processor']['toData'](_0x1828d4),this['editor']['data']['processor']['useFillerType']('default');}return _0x14b3ea;}async['getRevisionRootsAttributes'](_0x252f4b){await this['loadRevisionData'](_0x252f4b);const _0x44db1c={};for(const _0x1b4592 in _0x252f4b['diffData'])_0x252f4b['diffData'][_0x1b4592]['attachChange']&&!_0x252f4b['diffData'][_0x1b4592]['attachChange']['isAttached']||(_0x44db1c[_0x1b4592]=_0x252f4b['diffData'][_0x1b4592]['attributesAfter']||{});return _0x44db1c;}['_removeRevisionMarkers'](_0x5f57c5){return(_0x5f57c5=_0x5f57c5['filter'](_0x77df4=>!_0x77df4['name']||'revision-start'!==_0x77df4['name']&&'revision-end'!==_0x77df4['name']))['forEach'](_0x3a8092=>{'string'!=typeof _0x3a8092&&(_0x3a8092['children']=this['_removeRevisionMarkers'](_0x3a8092['children']),_0x3a8092['attributes']=_0x3a8092['attributes']['filter'](_0x339316=>!_0x339316[0x0]['startsWith']('data-revision-')));}),_0x5f57c5;}async['compare'](_0x21408f,_0x33d7f7,_0x985914=!0x1){if(!this['isEnabled'])return;const _0x5f3f32=this['diff'],_0x400444=this['repository'],_0x4486d2='string'==typeof _0x21408f?_0x400444['getRevision'](_0x21408f):_0x21408f,_0xb1cc72='string'==typeof _0x33d7f7?_0x400444['getRevision'](_0x33d7f7):_0x33d7f7,_0x352848=_0x4486d2['id'],_0x692f8e=_0xb1cc72?_0xb1cc72['id']:null;if(!_0x985914&&this['diff']&&this['diff']['newRevisionId']===_0x352848&&this['diff']['oldRevisionId']===_0x692f8e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x352848,_0x692f8e);const _0x418ade=this['_getRevisionsRange'](_0x4486d2,_0xb1cc72,!0x0)['map'](_0x480d44=>this['loadRevisionData'](_0x480d44));return _0x418ade['push'](new Promise(_0x49e1ef=>{setTimeout(_0x49e1ef,0x14);})),Promise['all'](_0x418ade)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x13ee37=this['_getDiff'](_0x352848,_0x692f8e);for(const _0x5be128 of _0x13ee37['changes'])this['_changeIdToChange']['set'](_0x5be128['id'],_0x5be128);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4748aa=>{for(const _0x4c9400 of this['editor']['model']['document']['getRootNames']())_0x4748aa['detachRoot'](_0x4c9400);for(const _0x2adb55 of Object['keys'](_0x13ee37['model'])){const _0x30faee=_0x4748aa['addRoot'](_0x2adb55);for(const _0x171c6a of Object['keys'](_0x13ee37['attributes'][_0x2adb55]))_0x4748aa['setAttribute'](_0x171c6a,_0x13ee37['attributes'][_0x2adb55][_0x171c6a],_0x30faee);_0x4748aa['insert'](_0x13ee37['model'][_0x2adb55],_0x30faee,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x13ee37['changes'])),this['isReady']=!0x0;})['catch'](_0x39d74b=>{console['error'](_0x39d74b),this['_cleanUp'](),_0x5f3f32&&(this['diff']=_0x5f3f32),this['isReady']=!0x0;});}['addRevisionData'](_0x10303a,_0xcec7c2){const _0x50c46b=this['repository']['createRevision'](_0x10303a);return _0x50c46b['on']('_update',(_0xac1b24,_0x5a11ac,_0x3ec9a9)=>_0xcec7c2(_0x5a11ac,_0x3ec9a9,_0x50c46b)),this['repository']['addRevision'](_0x50c46b),_0x50c46b;}['loadRevisionData'](_0x42a522){if(!_0x42a522||_0x42a522['diffData'])return Promise['resolve']();{const _0x391dc5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x391dc5,'revisionId':_0x42a522['id']})['then'](_0x195006=>{_0x42a522['_update']({'diffData':_0x195006['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},_0x34e171=>{for(const _0x255882 of this['editor']['model']['document']['getRootNames']())_0x34e171['detachRoot'](_0x255882);});}['_sortAndFilterDiffChanges'](_0x3d6578){const _0x1908b4=[],_0x1a43f6=new Map();for(const _0xfd62c6 of this['editor']['model']['document']['getRootNames']()){const _0x38d66e=this['editor']['editing']['view']['getDomRoot'](_0xfd62c6);if(!_0x38d66e)continue;const _0x15af15=_0x38d66e['getClientRects']()['item'](0x0);_0x15af15&&(_0x1908b4['push'](_0xfd62c6),_0x1a43f6['set'](_0xfd62c6,_0x15af15));}return _0x1908b4['sort']((_0x7bd70e,_0x88080)=>{const _0x23ffc2=_0x1a43f6['get'](_0x7bd70e),_0x465d6f=_0x1a43f6['get'](_0x88080);return _0x23ffc2['y']-_0x465d6f['y']||_0x23ffc2['x']-_0x465d6f['x'];}),(_0x3d6578=_0x3d6578['filter'](_0x5c43be=>_0x1908b4['includes'](_0x5c43be['rootName'])))['sort']((_0x5823a4,_0x2f67bc)=>_0x1908b4['indexOf'](_0x5823a4['rootName'])-_0x1908b4['indexOf'](_0x2f67bc['rootName'])),_0x3d6578;}['_makeTape'](_0x2da87f){const _0x5e5a86=Array['from'](_0x2da87f['markers'])['filter'](([_0x23fea8,_0x2dab27])=>_0x23fea8['startsWith']('revision:')&&!_0x2dab27['isCollapsed']),_0x3e96bf=Array['from'](this['editor']['model']['createRangeIn'](_0x2da87f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5e5a86['length'])for(const _0x5dc33e of _0x3e96bf){const [_0x3d6fb7,_0x481015]=_0x5e5a86[0x0],[,_0x462f9d,_0x2d2d4d]=_0x3d6fb7['split'](':');if(_0x481015['end']['isEqual'](_0x5dc33e['nextPosition'])&&_0x5e5a86['shift'](),(_0x5dc33e['previousPosition']['isEqual'](_0x481015['start'])||_0x5dc33e['previousPosition']['isAfter'](_0x481015['start']))&&('insertion'==_0x462f9d?_0x5dc33e['isAdded']={'userId':_0x2d2d4d}:'deletion'==_0x462f9d&&(_0x5dc33e['isRemoved']={'userId':_0x2d2d4d})),0x0==_0x5e5a86['length'])break;}return _0x3e96bf;}['_refreshStartEndIndex'](_0x128562){const _0x2da3af=new Map();for(let _0xe26851=0x0;_0xe26851<_0x128562['length'];_0xe26851++)'text'===_0x128562[_0xe26851]['type']?(_0x128562[_0xe26851]['item']['startIndex']=_0xe26851,_0x128562[_0xe26851]['item']['endIndex']=_0xe26851):('elementStart'===_0x128562[_0xe26851]['type']?_0x128562[_0xe26851]['item']['startIndex']=_0xe26851:'elementEnd'===_0x128562[_0xe26851]['type']&&(_0x128562[_0xe26851]['item']['endIndex']=_0xe26851),_0x2da3af['set'](_0x128562[_0xe26851]['id'],_0xe26851));for(const _0x3a8252 of _0x2da3af['values']())'elementStart'===_0x128562[_0x3a8252]['type']?_0x128562[_0x3a8252]['item']['endIndex']=_0x2da3af['get'](_0x128562[_0x3a8252]['pairId']):'elementEnd'===_0x128562[_0x3a8252]['type']&&(_0x128562[_0x3a8252]['item']['startIndex']=_0x2da3af['get'](_0x128562[_0x3a8252]['pairId']));}['_processTape'](_0x5a3c93){for(let _0x27c7a1=0x0;_0x27c7a1<_0x5a3c93['length'];_0x27c7a1++){if('elementStart'===_0x5a3c93[_0x27c7a1]['type'])_0x5a3c93[_0x27c7a1]['item']['startIndex']=_0x27c7a1;else{if('elementEnd'===_0x5a3c93[_0x27c7a1]['type']){_0x5a3c93[_0x27c7a1]['item']['endIndex']=_0x27c7a1;const _0xc41637=_0x5a3c93[_0x27c7a1]['item']['startIndex'];_0x5a3c93[_0xc41637]['pairId']=_0x5a3c93[_0x27c7a1]['id'],_0x5a3c93[_0x27c7a1]['pairId']=_0x5a3c93[_0xc41637]['id'];}else _0x5a3c93[_0x27c7a1]['item']['startIndex']=_0x27c7a1,_0x5a3c93[_0x27c7a1]['item']['endIndex']=_0x27c7a1,_0x5a3c93[_0x27c7a1]['pairId']=null;}_0x5a3c93[_0x27c7a1]['markersStart']||(_0x5a3c93[_0x27c7a1]['markersStart']=[],_0x5a3c93[_0x27c7a1]['markersEnd']=[]);}}['_markInsertions'](_0x2bf96f,_0x3df8f){const _0x21d933=_0x2bf96f['filter'](_0x5c6ec3=>!_0x5c6ec3['isAdded']);for(let _0x399571=0x0;_0x399571<_0x3df8f['length'];_0x399571++)_0x3df8f[_0x399571]['isAdded']&&(_0x21d933[_0x399571]['isAdded']=_0x3df8f[_0x399571]['isAdded']);}['_makeModelFromViewString'](_0x52e25a){const _0x5d57b2=JSON['parse'](_0x52e25a),_0x4368ac=this['editor']['editing']['view']['document'],_0x378229=new _0x48992a(_0x4368ac,_0x5d57b2['map'](_0x3e6c26=>this['_getViewObj'](_0x3e6c26)));return this['editor']['data']['toModel'](_0x378229);}['_getViewObj'](_0x58e2be){const _0x5a518c=this['editor']['editing']['view']['document'];if('string'==typeof _0x58e2be)return new _0x5dab6f(_0x5a518c,_0x58e2be);{const _0x5bc3ab=_0x58e2be['children']['map'](_0x22074c=>this['_getViewObj'](_0x22074c));return new(tt[_0x58e2be['type']]||_0x3a08fb)(_0x5a518c,_0x58e2be['name'],_0x58e2be['attributes'],_0x5bc3ab);}}['_getDiff'](_0x22ed40,_0x3c6692=null){const _0xf3dcf3=this['repository']['getRevision'](_0x22ed40),_0x1a6c11=_0x3c6692?this['repository']['getRevision'](_0x3c6692):null,_0x21ac6c=this['_getRevisionsRange'](_0xf3dcf3,_0x1a6c11),_0x2d9e4=_0x21ac6c[_0x21ac6c['length']-0x1],_0x263f8c=new Map(),_0x24a697={'model':{},'attributes':{},'changes':[]},_0x3f4885=new Set(),_0x39e00f=new Map();for(let _0x1bdfd0=_0x21ac6c['length']-0x1;_0x1bdfd0>=0x0;_0x1bdfd0--){const _0x4131f1=_0x21ac6c[_0x1bdfd0];for(const _0x303b5b of Object['keys'](_0x4131f1['diffData']))if(_0x4131f1['diffData'][_0x303b5b]['attachChange']){const _0x1e35b5=_0x4131f1['diffData'][_0x303b5b]['attachChange'];_0x1e35b5['isAttached']?(_0x3f4885['add'](_0x303b5b),_0x39e00f['has'](_0x303b5b)&&_0x39e00f['get'](_0x303b5b)['userId']==_0x1e35b5['userId']?_0x39e00f['delete'](_0x303b5b):_0x39e00f['set'](_0x303b5b,_0x1e35b5)):_0x39e00f['has'](_0x303b5b)?(_0x3f4885['delete'](_0x303b5b),_0x39e00f['delete'](_0x303b5b)):(_0x3f4885['add'](_0x303b5b),_0x39e00f['set'](_0x303b5b,_0x1e35b5));}else _0x3f4885['add'](_0x303b5b);}for(const _0x10fe42 of _0x3f4885){const _0x15ed79=_0x39e00f['has'](_0x10fe42)&&!_0x39e00f['get'](_0x10fe42)['isAttached'];let _0x448669=_0x15ed79?_0x21ac6c['length']-0x1:0x0;const _0x504edc=_0x15ed79?-0x1:0x1;for(;_0x21ac6c[_0x448669];){const _0x4d8f6e=_0x21ac6c[_0x448669];if(_0x4d8f6e['diffData'][_0x10fe42]){const _0x4c60de=_0x15ed79?_0x4d8f6e['diffData'][_0x10fe42]['attributesBefore']:_0x4d8f6e['diffData'][_0x10fe42]['attributesAfter'];_0x24a697['attributes'][_0x10fe42]=_0x4c60de?_0x28bea0(_0x4c60de):{};break;}_0x448669+=_0x504edc;}}for(const _0x576424 of _0x21ac6c){_0x576424['model']={};for(const _0x22a8e0 of _0x576424['authors'])_0x263f8c['set'](_0x22a8e0['id'],_0x22a8e0);for(const _0x3dda0f of _0x3f4885){const _0x521500=_0x576424['diffData'][_0x3dda0f]?_0x576424['diffData'][_0x3dda0f]['insertions']:'[]',_0x30d181=_0x576424['diffData'][_0x3dda0f]?_0x576424['diffData'][_0x3dda0f]['deletions']:'[]';_0x576424['model'][_0x3dda0f]={'insertions':this['_makeModelFromViewString'](_0x521500),'deletions':this['_makeModelFromViewString'](_0x30d181)};}}for(const _0x864d18 of _0x3f4885){let _0x1a2b24=null,_0x27419f=0x0;const _0x4b88dd=new Map(Array['from'](_0xf3dcf3['model'][_0x864d18]['insertions']['markers'])['filter'](([_0x29136a])=>!_0x29136a['startsWith']('revision:')));let _0x5a1bb4=0x0;for(const _0x4b484a of _0x21ac6c){const _0x37072b=this['_makeTape'](_0x4b484a['model'][_0x864d18]['insertions']);_0x4b484a==_0xf3dcf3?(_0x1a2b24=_0x37072b,_0x27419f=_0x1a2b24['length'],_0x1a2b24['forEach'](_0x41042b=>{_0x41042b['id']=_0x5a1bb4++;}),this['_processTape'](_0x1a2b24)):this['_markInsertions'](_0x1a2b24,_0x37072b);const _0x36c2a3=_0x1a2b24['filter'](_0x52216c=>!_0x52216c['isAdded'])['map'](_0xf8bdab=>_0xf8bdab['id']);let _0x47d912=0x0;const _0x3595d3=this['_makeTape'](_0x4b484a['model'][_0x864d18]['deletions']);_0x3595d3['forEach'](_0x252188=>{_0x252188['isRemoved']?_0x252188['id']=_0x27419f++:_0x252188['id']=_0x36c2a3[_0x47d912++];}),this['_processTape'](_0x3595d3),this['_setDistance'](_0x1a2b24,'isAdded'),this['_setDistance'](_0x3595d3,'isRemoved'),_0x4b484a==_0xf3dcf3&&this['_markMarkers'](_0x1a2b24,_0x4b88dd),_0x1a2b24=this['_joinTapes'](_0x1a2b24,_0x3595d3),this['_refreshStartEndIndex'](_0x1a2b24),this['_setDistance'](_0x1a2b24,'isRemoved');}_0x1a2b24=_0x1a2b24['filter'](_0x24728a=>!(_0x24728a['isAdded']&&_0x24728a['isRemoved']));const _0x4ae865=new Map(_0x2d9e4['model'][_0x864d18]['deletions']['markers']),_0x105de2=new Set(_0x4b88dd['keys']());for(const _0x9528c4 of _0x4ae865['keys']())_0x105de2['delete'](_0x9528c4);this['_markSuggestions'](_0x1a2b24,_0x105de2),this['_fixObsoleteTags'](_0x1a2b24),_0x1a2b24=this['_removeMissingPairs'](_0x1a2b24),_0x1a2b24=this['_markMismatchedRemovedTags'](_0x1a2b24),_0x1a2b24=this['_removeUnsupportedChanges'](_0x1a2b24);const {root:_0x386b2d,changes:_0x223672}=this['_makeModelFromTape'](_0x1a2b24,_0x263f8c,_0x864d18);_0x24a697['model'][_0x864d18]=_0x386b2d;const _0x1b4c0e=_0x39e00f['get'](_0x864d18);if(_0x1b4c0e){const _0x265cac=_0x263f8c['get'](_0x1b4c0e['userId']),_0x488716=new r({'author':_0x265cac,'type':_0x1b4c0e['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x864d18});_0x223672['unshift'](_0x488716),_0x24a697['attributes'][_0x864d18]['revisionHistoryAttachChange']=_0x488716['id'];}_0x24a697['changes']=_0x24a697['changes']['concat'](_0x223672);}return _0x24a697;}['_markMarkers'](_0x5a40a4,_0x4ca844){for(let _0x667177=0x0;_0x667177<_0x5a40a4['length'];_0x667177++)for(const [_0x512d6d,_0x367ace]of _0x4ca844)_0x367ace['start']['isEqual'](_0x5a40a4[_0x667177]['previousPosition'])&&_0x5a40a4[_0x667177]['markersStart']['push'](_0x512d6d),_0x367ace['end']['isEqual'](_0x5a40a4[_0x667177]['nextPosition'])&&_0x5a40a4[_0x667177]['markersEnd']['push'](_0x512d6d);}['_joinTapes'](_0x341e96,_0x4528b9){let _0x1e8cc7=[],_0xc52b2d=0x0,_0xe62b3f=0x0;for(;_0xc52b2d<_0x341e96['length']||_0xe62b3f<_0x4528b9['length'];){const _0x97b89b=_0x341e96[_0xc52b2d]||{},_0x23e982=_0x4528b9[_0xe62b3f]||{};if(_0x97b89b['id']==_0x23e982['id'])_0xc52b2d++,_0xe62b3f++,_0x1e8cc7['push'](_0x97b89b);else{if(_0x23e982['isRemoved']&&_0x97b89b['isAdded']){const {commonTape:_0x2483f5,iEnd:_0x20e811,jEnd:_0x491119}=this['_threeWayMerge'](_0x341e96,_0xc52b2d,_0x4528b9,_0xe62b3f);_0x1e8cc7=_0x1e8cc7['concat'](_0x2483f5),_0xc52b2d=_0x20e811,_0xe62b3f=_0x491119;}else _0x23e982['isRemoved']?(_0xe62b3f++,_0x1e8cc7['push'](_0x23e982)):(_0xc52b2d++,_0x1e8cc7['push'](_0x97b89b));}}return _0x1e8cc7;}['_markSuggestions'](_0x55fdd1,_0x2ba5f9){const _0x365845=[];for(let _0x4d29e1=0x0;_0x4d29e1<_0x55fdd1['length'];_0x4d29e1++){for(let _0x2e6fd9=0x0;_0x2e6fd9<_0x55fdd1[_0x4d29e1]['markersStart']['length'];_0x2e6fd9++){const _0x2cf417=_0x55fdd1[_0x4d29e1]['markersStart'][_0x2e6fd9];if(!_0x2ba5f9['has'](_0x2cf417))continue;const {group:_0x9bed97,type:_0x152712,authorId:_0x42dbd0}=_0x18f7d4(_0x2cf417);'revision-suggestion'!=_0x9bed97||'insertion'!=_0x152712&&'deletion'!=_0x152712||(_0x365845['unshift']({'type':_0x152712,'name':_0x2cf417,'userId':_0x42dbd0}),_0x55fdd1[_0x4d29e1]['markersStart']['splice'](_0x2e6fd9,0x1),_0x2e6fd9--);}_0x5d8491(_0x55fdd1[_0x4d29e1]);for(let _0x481a8c=0x0;_0x481a8c<_0x55fdd1[_0x4d29e1]['markersEnd']['length'];_0x481a8c++){const _0x534db8=_0x55fdd1[_0x4d29e1]['markersEnd'][_0x481a8c];if(!_0x2ba5f9['has'](_0x534db8))continue;const {group:_0xefdf30,type:_0x291a7d}=_0x18f7d4(_0x534db8);if('revision-suggestion'!=_0xefdf30||'insertion'!=_0x291a7d&&'deletion'!=_0x291a7d)continue;_0x55fdd1[_0x4d29e1]['markersEnd']['splice'](_0x481a8c,0x1),_0x481a8c--;const _0x8fa0c6=_0x365845['findIndex'](_0xe6e453=>_0xe6e453['name']==_0x534db8);_0x8fa0c6>-0x1&&_0x365845['splice'](_0x8fa0c6,0x1);}}function _0x18f7d4(_0x148b6b){const _0x37d86b=_0x148b6b['split'](':');return{'group':_0x37d86b[0x0],'type':_0x37d86b[0x1],'subType':_0x37d86b['length']>=0x5?_0x37d86b[0x2]:null,'id':_0x37d86b['length']<0x5?_0x37d86b[0x2]:_0x37d86b[0x3],'authorId':_0x37d86b['length']<0x5?_0x37d86b[0x3]:_0x37d86b[0x4],'markerCount':0x6==_0x37d86b['length']?_0x37d86b[0x5]:null};}function _0x5d8491(_0xa24479){for(let _0x24a4df=0x0;_0x24a4df<_0x365845['length'];_0x24a4df++){if(_0xa24479['isAdded']&&'insertion'==_0x365845[_0x24a4df]['type'])return _0xa24479['isAddSuggestion']=_0x365845[_0x24a4df],void delete _0xa24479['isAdded'];if(!_0xa24479['isAdded']&&!_0xa24479['isRemoved']&&'deletion'==_0x365845[_0x24a4df]['type'])return void(_0xa24479['isRemoveSuggestion']=_0x365845[_0x24a4df]);}}}['_setDistance'](_0x58f302,_0x50af07){let _0x1421d6=0x0,_0x4c6f54=!0x1;const _0x174843=new Map();for(const _0x3b406f of _0x58f302)_0x3b406f[_0x50af07]?_0x4c6f54&&(_0x1421d6++,_0x4c6f54=!0x1):(_0x1421d6++,_0x4c6f54=!0x0),_0x174843['set'](_0x3b406f['id'],_0x1421d6);for(let _0x49fb36=0x0;_0x49fb36<_0x58f302['length'];_0x49fb36++){if('isRemoved'==_0x50af07&&_0x58f302[_0x49fb36]['isAdded']||'isAdded'==_0x50af07&&_0x58f302[_0x49fb36]['isRemoved'])continue;if('text'==_0x58f302[_0x49fb36]['type']){_0x58f302[_0x49fb36]['distance']=0x0;continue;}const _0x31d069=_0x174843['get'](_0x58f302[_0x49fb36]['pairId']),_0x29b7ff=_0x174843['get'](_0x58f302[_0x49fb36]['id']);_0x58f302[_0x49fb36]['distance']=_0x31d069-_0x29b7ff;}}['_getRevisionsRange'](_0x2c1d13,_0x39cc73,_0x79a1d0=!0x1){const _0x334c4c=[];let _0x35feb7=this['repository']['getIndex'](_0x2c1d13),_0x4195bd=this['repository']['getIndex'](_0x39cc73);for(-0x1==_0x4195bd&&(_0x4195bd=this['repository']['_revisions']['length'],_0x79a1d0=!0x1);_0x35feb7<_0x4195bd;)_0x334c4c['push'](this['repository']['getRevision'](_0x35feb7)),_0x35feb7++;return _0x79a1d0&&_0x334c4c['push'](this['repository']['getRevision'](_0x35feb7)),_0x334c4c;}['_threeWayMerge'](_0x5364f0,_0x1e4210,_0x37c813,_0x50e06f){const _0x1211fe=this['editor']['model']['schema'];let _0x1bd07c=_0x1e4210;for(;_0x5364f0[_0x1bd07c]&&_0x5364f0[_0x1bd07c]['isAdded'];)_0x1bd07c++;let _0x127ce1=_0x50e06f;for(;_0x37c813[_0x127ce1]&&_0x37c813[_0x127ce1]['isRemoved'];)_0x127ce1++;_0x52507b(_0x5364f0,_0x1e4210,_0x1bd07c),_0x52507b(_0x37c813,_0x50e06f,_0x127ce1);const _0x59098e=_0x37c813['slice'](_0x50e06f,_0x127ce1)['concat'](_0x5364f0['slice'](_0x1e4210,_0x1bd07c));return _0x59098e['sort']((_0x3e6bc3,_0x29260f)=>_0x3e6bc3['side']!=_0x29260f['side']?_0x3e6bc3['side']-_0x29260f['side']:_0x3e6bc3['level']!=_0x29260f['level']?_0x3e6bc3['level']-_0x29260f['level']:_0x3e6bc3['distance']!=_0x29260f['distance']?_0x29260f['distance']-_0x3e6bc3['distance']:!!_0x3e6bc3['isAdded']!=!!_0x29260f['isAdded']?-0x1==_0x3e6bc3['side']||0x0==_0x3e6bc3['side']?_0x3e6bc3['isAdded']?-0x1:0x1:_0x3e6bc3['isAdded']?0x1:-0x1:_0x3e6bc3['index']-_0x29260f['index']),{'commonTape':_0x59098e,'iEnd':_0x1bd07c,'jEnd':_0x127ce1};function _0x52507b(_0x3c33c4,_0x30aa15,_0x47d1c9){let _0x4a6fbb=-0x1,_0x2120f5=Number['POSITIVE_INFINITY'],_0x5ef8a5=!0x0;for(let _0x32fdcd=_0x30aa15;_0x32fdcd<_0x47d1c9;_0x32fdcd++)if(_0x1211fe['isInline'](_0x3c33c4[_0x32fdcd]['item'])||(_0x5ef8a5=!0x1),_0x3c33c4[_0x32fdcd]['item']['startIndex']<_0x30aa15&&(_0x4a6fbb=_0x32fdcd),_0x3c33c4[_0x32fdcd]['item']['endIndex']>=_0x47d1c9){_0x2120f5=_0x32fdcd;break;}_0x5ef8a5&&(_0x4a6fbb=_0x47d1c9-0x1);for(let _0x76be68=_0x30aa15;_0x76be68<_0x47d1c9;_0x76be68++)_0x3c33c4[_0x76be68]['side']=_0x76be68<=_0x4a6fbb?-0x1:_0x76be68<_0x2120f5?0x0:0x1,_0x3c33c4[_0x76be68]['index']=_0x76be68;let _0x59cf6a=0x0;for(let _0x63d4c2=_0x30aa15;_0x63d4c2<=_0x4a6fbb;_0x63d4c2++)0x0==_0x3c33c4[_0x63d4c2]['distance']?_0x3c33c4[_0x63d4c2]['level']=_0x59cf6a:(_0x59cf6a++,_0x3c33c4[_0x63d4c2]['level']=_0x59cf6a,_0x59cf6a++);for(let _0x47617c=_0x30aa15;_0x47617c<_0x47d1c9;_0x47617c++)0x0==_0x3c33c4[_0x47617c]['side']&&(_0x3c33c4[_0x47617c]['level']=_0x59cf6a);_0x59cf6a=0x0;for(let _0x28fd52=_0x47d1c9-0x1;_0x28fd52>=_0x2120f5;_0x28fd52--)0x0==_0x3c33c4[_0x28fd52]['distance']?_0x3c33c4[_0x28fd52]['level']=_0x59cf6a:(_0x59cf6a--,_0x3c33c4[_0x28fd52]['level']=_0x59cf6a,_0x59cf6a--);}}['_fixObsoleteTags'](_0x4661b5){const _0x549f34=new Map(),_0xcf76f8=this['editor']['model']['schema'];for(let _0x522f00=0x1;_0x522f00<_0x4661b5['length'];_0x522f00++){let _0x554c8b,_0x367106,_0x16c20a;const _0x1456be=_0x4661b5[_0x522f00],_0x59082d=_0x4661b5[_0x522f00-0x1];if('text'==_0x1456be['type'])continue;if(_0x1456be['type']!=_0x59082d['type'])continue;if(!_0xcf76f8['isBlock'](_0x59082d['item'])||_0xcf76f8['isLimit'](_0x59082d['item']))continue;if(!_0xcf76f8['isBlock'](_0x1456be['item'])||_0xcf76f8['isLimit'](_0x1456be['item']))continue;if((_0x4661b5[_0x522f00]['isAdded']||_0x4661b5[_0x522f00]['isAddSuggestion'])&&_0x4661b5[_0x522f00-0x1]['isRemoved'])_0x554c8b=_0x4661b5[_0x522f00],_0x367106=_0x4661b5[_0x522f00-0x1],_0x16c20a=_0x522f00-0x1;else{if(!_0x4661b5[_0x522f00]['isRemoved']||!_0x4661b5[_0x522f00-0x1]['isAdded']&&!_0x4661b5[_0x522f00-0x1]['isAddSuggestion'])continue;_0x554c8b=_0x4661b5[_0x522f00-0x1],_0x367106=_0x4661b5[_0x522f00],_0x16c20a=_0x522f00;}const _0x3ed2e4=_0x554c8b['level']==_0x367106['level'],_0x1fda04=Math['abs'](_0x554c8b['level'])<Math['abs'](_0x367106['level'])&&0x0==_0x367106['distance'];(_0x3ed2e4||_0x1fda04)&&(_0x549f34['set'](_0x367106['id'],_0x554c8b['id']),_0x4661b5['splice'](_0x16c20a,0x1),_0x522f00--,_0x554c8b['isAdded']=!0x1);}for(let _0x59bd14=0x0;_0x59bd14<_0x4661b5['length'];_0x59bd14++)_0x549f34['has'](_0x4661b5[_0x59bd14]['pairId'])&&(_0x4661b5[_0x59bd14]['pairId']=_0x549f34['get'](_0x4661b5[_0x59bd14]['pairId']));}['_removeMissingPairs'](_0x41e25c){const _0x1833e5=new Set(_0x41e25c['map'](_0x3e89c6=>_0x3e89c6['id']));for(let _0x328770=0x0;_0x328770<_0x41e25c['length'];_0x328770++)_0x1833e5['has'](_0x41e25c[_0x328770]['pairId'])||0x0==_0x41e25c[_0x328770]['distance']||(_0x41e25c[_0x328770]['isIncorrect']=!0x0);return _0x41e25c['filter'](_0x47839a=>!_0x47839a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x501e91){const _0x5d245e=new Set();for(let _0x33b657=0x0;_0x33b657<_0x501e91['length'];_0x33b657++){if(_0x5d245e['has'](_0x501e91[_0x33b657]['id'])&&_0x501e91[_0x33b657]['isRemoved']&&(_0x501e91[_0x33b657]['isIncorrect']=!0x0),_0x501e91[_0x33b657]['isIncorrect'])continue;if(0x0==_0x501e91[_0x33b657]['distance'])continue;if('elementStart'!=_0x501e91[_0x33b657]['type'])continue;if(null==_0x501e91[_0x33b657]['pairId'])continue;let _0x28c618=_0x33b657+0x1,_0x295e12=0x0;for(;_0x501e91[_0x28c618]['id']!=_0x501e91[_0x33b657]['pairId'];)'elementStart'==_0x501e91[_0x28c618]['type']?_0x295e12++:'elementEnd'==_0x501e91[_0x28c618]['type']&&_0x295e12--,_0x28c618++;if(0x0!=_0x295e12){if(_0x501e91[_0x33b657]['isRemoved'])_0x501e91[_0x33b657]['isIncorrect']=!0x0;else{for(;_0x28c618!=_0x33b657;)_0x501e91[_0x28c618]['isRemoved']&&0x0!=_0x501e91[_0x28c618]['distance']&&(_0x501e91[_0x28c618]['isIncorrect']=!0x0,_0x5d245e['add'](_0x501e91[_0x28c618]['pairId'])),_0x28c618--;}}}return _0x501e91['filter'](_0x38016c=>!_0x38016c['isIncorrect']);}['_removeUnsupportedChanges'](_0x5e2e45){const _0x67ea85=this['editor']['model']['schema'];for(let _0x2535b9=0x0;_0x2535b9<_0x5e2e45['length'];_0x2535b9++){if(!(_0x5e2e45[_0x2535b9]['isAdded']||_0x5e2e45[_0x2535b9]['isAddSuggestion']||_0x5e2e45[_0x2535b9]['isRemoved']||_0x5e2e45[_0x2535b9]['isRemoveSuggestion']))continue;if(0x0==_0x5e2e45[_0x2535b9]['distance'])continue;const _0x2d0431=_0x5e2e45[_0x2535b9]['item'];_0x67ea85['isBlock'](_0x2d0431)||_0x67ea85['isLimit'](_0x2d0431)||(_0x5e2e45[_0x2535b9]['isAdded']&&delete _0x5e2e45[_0x2535b9]['isAdded'],_0x5e2e45[_0x2535b9]['isAddSuggestion']&&delete _0x5e2e45[_0x2535b9]['isAddSuggestion'],_0x5e2e45[_0x2535b9]['isRemoveSuggestion']&&delete _0x5e2e45[_0x2535b9]['isRemoveSuggestion'],_0x5e2e45[_0x2535b9]['isRemoved']&&(_0x5e2e45[_0x2535b9]['isIncorrect']=!0x0));}return _0x5e2e45['filter'](_0x36d712=>!_0x36d712['isIncorrect']);}['_makeModelFromTape'](_0x211488,_0x17367b,_0x4bd863){const _0x241ebc=new wt(),_0x5d9c03=[],_0x58514d=new Map(),_0x29d973=this['editor']['model'],_0x17074b=_0x29d973['schema'],_0x210407=[_0x241ebc],_0x57150b={},_0x30cccf={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5b5bb7=null;const _0x52f6d6=[0x0];for(let _0x4d230f=0x0;_0x4d230f<_0x211488['length'];_0x4d230f++){let _0xd360aa,_0x4e7c45;if('elementStart'===_0x211488[_0x4d230f]['type']){_0xd360aa=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6);const _0x1f9bf0=new ft(_0x211488[_0x4d230f]['item']['name'],_0x211488[_0x4d230f]['item']['getAttributes']());_0x210407[0x0]['_appendChild'](_0x1f9bf0),_0x52f6d6['push'](0x0),_0x210407['unshift'](_0x1f9bf0),_0x4e7c45=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x5b5bb7=null;}else{if('elementEnd'===_0x211488[_0x4d230f]['type'])_0x210407['shift'](),_0xd360aa=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x52f6d6['pop'](),_0x52f6d6[_0x52f6d6['length']-0x1]++,_0x4e7c45=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x5b5bb7=null;else{if(_0xd360aa=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x5b5bb7&&_0x507fb1(_0x5b5bb7,_0x211488[_0x4d230f]['item']))_0x5b5bb7['_data']+=_0x211488[_0x4d230f]['item']['data'];else{const _0x5db0c2=new _t(_0x211488[_0x4d230f]['item']['data'],_0x211488[_0x4d230f]['item']['getAttributes']());_0x210407[0x0]['_appendChild'](_0x5db0c2),_0x5b5bb7=_0x5db0c2;}_0x52f6d6[_0x52f6d6['length']-0x1]+=_0x211488[_0x4d230f]['item']['offsetSize'],_0x4e7c45=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6);}}for(const _0x4b9762 of _0x211488[_0x4d230f]['markersStart'])_0x58514d['set'](_0x4b9762,{'start':_0xd360aa,'end':null});_0x4a8ad4('isRemoveSuggestion',_0x4d230f,_0xd360aa,_0x4e7c45),_0x4a8ad4('isAddSuggestion',_0x4d230f,_0xd360aa,_0x4e7c45),_0x4a8ad4('isRemoved',_0x4d230f,_0xd360aa,_0x4e7c45),_0x4a8ad4('isAdded',_0x4d230f,_0xd360aa,_0x4e7c45);for(const _0x5f5aba of _0x211488[_0x4d230f]['markersEnd']){_0x58514d['get'](_0x5f5aba)['end']=_0x4e7c45;}}for(const [_0x98cf83,_0x4356a5]of _0x58514d){const _0x1e45f3=this['editor']['model']['createRange'](_0x4356a5['start'],_0x4356a5['end']);_0x241ebc['markers']['set'](_0x98cf83,_0x1e45f3);}return _0x5d9c03['sort']((_0x46155c,_0x355d7a)=>{const _0x4a2bdc=_0x241ebc['markers']['get']('revision:'+_0x46155c['id']),_0x36b76b=_0x241ebc['markers']['get']('revision:'+_0x355d7a['id']);return _0x4a2bdc['start']['isBefore'](_0x36b76b['start'])?-0x1:_0x4a2bdc['start']['isAfter'](_0x36b76b['start'])?0x1:_0x4a2bdc['end']['isBefore'](_0x36b76b['end'])?-0x1:_0x4a2bdc['end']['isAfter'](_0x36b76b['end'])?0x1:'add'===_0x46155c['type']?-0x1:0x1;}),{'root':_0x241ebc,'changes':_0x5d9c03};function _0x4a8ad4(_0x106f10,_0x47a388,_0x219a79,_0x18e82c){const _0x2f7c17=!!_0x211488[_0x47a388][_0x106f10],_0x64338f=_0x2f7c17?_0x211488[_0x47a388][_0x106f10]['userId']:null,_0x4c76f8=_0x47a388===_0x211488['length']-0x1,_0x17cd56=_0x30cccf[_0x106f10][0x0],_0x414232=_0x17074b['isObject'](_0x211488[_0x47a388]['item']);!_0x57150b[_0x106f10]&&_0x2f7c17?_0x57150b[_0x106f10]={'start':_0x219a79,'tapeItem':_0x211488[_0x47a388],'userId':_0x64338f,'type':_0x106f10}:_0x57150b[_0x106f10]&&!_0x2f7c17?(_0x57150b[_0x106f10]['end']=_0x219a79,_0x164cc2(_0x57150b[_0x106f10]),_0x57150b[_0x106f10]=null):_0x57150b[_0x106f10]&&_0x2f7c17&&_0x57150b[_0x106f10]['userId']!==_0x64338f&&(_0x57150b[_0x106f10]['end']=_0x219a79,_0x17cd56&&_0x17cd56['userId']===_0x57150b[_0x106f10]['userId']||_0x164cc2(_0x57150b[_0x106f10]),_0x57150b[_0x106f10]={'start':_0x219a79,'tapeItem':_0x211488[_0x47a388],'userId':_0x64338f,'type':_0x106f10}),_0x57150b[_0x106f10]&&_0x414232&&('elementStart'!==_0x211488[_0x47a388]['type']||_0x17cd56&&_0x17cd56['userId']===_0x64338f||_0x30cccf[_0x106f10]['unshift']({'userId':_0x64338f,'object':_0x211488[_0x47a388]['item'],'change':_0x57150b[_0x106f10]}),'elementEnd'===_0x211488[_0x47a388]['type']&&_0x17cd56&&_0x17cd56['object']===_0x211488[_0x47a388]['item']&&(_0x30cccf[_0x106f10]['shift'](),_0x57150b[_0x106f10]=_0x17cd56['change'])),_0x57150b[_0x106f10]&&_0x4c76f8&&(_0x57150b[_0x106f10]['end']=_0x18e82c,_0x164cc2(_0x57150b[_0x106f10]),_0x57150b[_0x106f10]=null);}function _0x164cc2({start:_0x3e5e15,end:_0x215a47,tapeItem:_0x449400,userId:_0x4993ce,type:_0x4aa38d}){const _0x2774aa=_0x449400['item'],_0x36ea10=_0x29d973['schema']['isBlock'](_0x2774aa)&&!_0x29d973['schema']['isLimit'](_0x2774aa),_0x11e3a3=_0x3e5e15['nodeAfter']==_0x215a47['parent']&&_0x215a47['isAtStart'];if(_0x36ea10&&_0x11e3a3)return;const _0x5b6393=_0x29d973['createRange'](_0x3e5e15,_0x215a47),_0x2f1469=_0x17367b['get'](_0x4993ce),_0x22334e=new r({'author':_0x2f1469,'type':'isAdded'==_0x4aa38d||'isAddSuggestion'==_0x4aa38d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4aa38d||'isRemoveSuggestion'==_0x4aa38d},'createdAt':new Date(),'rootName':_0x4bd863});_0x5d9c03['push'](_0x22334e),_0x241ebc['markers']['set']('revision:'+_0x22334e['id'],_0x5b6393);}function _0x507fb1(_0x5e7105,_0x5411ec){const _0x39f750=_0x5e7105['getAttributes'](),_0xef6c27=_0x5411ec['getAttributes']();for(const _0x33b1f7 of _0x39f750){if(_0x33b1f7[0x1]!==_0x5411ec['getAttribute'](_0x33b1f7[0x0]))return!0x1;_0xef6c27['next']();}return _0xef6c27['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x20b095=>{const _0x9b928=_0x20b095['markerName']['split'](':')[0x1],_0x460b55=this['_getChangeFromId'](_0x9b928);if(!_0x460b55)return null;const _0x158159='add'==_0x460b55['type']?'insertion':'deletion',_0x420f51=['ck-suggestion-marker','ck-suggestion-marker-'+_0x158159];return _0x460b55['data']['isSuggestion']&&_0x420f51['push']('ck-suggestion-marker-'+_0x158159+'-new'),this['activeChange']==_0x460b55&&_0x420f51['push']('ck-suggestion-marker--active'),{'classes':_0x420f51,'attributes':{'data-change-id':_0x9b928}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2e9aab=>{_0x2e9aab['on']('element:pre',(_0x254a59,_0x2fb18c,_0x115a41)=>{const _0x3f839f=_0x2fb18c['viewItem']['getChild'](0x0);if(!_0x3f839f||!_0x3f839f['is']('element','code'))return;if(!_0x115a41['consumable']['consume'](_0x3f839f,{'attributes':['vid_start','vid_end']}))return;const _0x15a604=_0x2fb18c['modelRange']['start']['nodeAfter'];_0x115a41['writer']['setAttribute']('vid_start',_0x3f839f['getAttribute']('vid_start'),_0x15a604),_0x115a41['writer']['setAttribute']('vid_end',_0x3f839f['getAttribute']('vid_end'),_0x15a604);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x43ed85=>{_0x43ed85['on']('element',(_0x188907,_0x3db46d,_0x1e7c52)=>{if(!_0x1e7c52['consumable']['consume'](_0x3db46d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3db46d['modelRange']['isCollapsed'])return;const _0x2a17be=_0x3db46d['modelRange']['start']['nodeAfter'];_0x2a17be['hasAttribute']('vid_start')||_0x2a17be['hasAttribute']('vid')||(_0x1e7c52['writer']['setAttribute']('vid_start',_0x3db46d['viewItem']['getAttribute']('vid_start'),_0x2a17be),_0x1e7c52['writer']['setAttribute']('vid_end',_0x3db46d['viewItem']['getAttribute']('vid_end'),_0x2a17be));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2f434d=>_0x2f434d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x22370c,[,_0x19df43])=>{['vid_start','vid_end','vid']['includes'](_0x19df43)&&(_0x22370c['return']=!0x0,_0x22370c['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xf4351b=>{_0xf4351b['on']('attribute:vid',(_0x502e75,_0x128a20,_0x18cdd6)=>{if('\x20'!=_0x128a20['item']['data']||_0x128a20['item']['parent']['maxOffset']>0x1)return;if(!_0x18cdd6['consumable']['consume'](_0x128a20['item'],_0x502e75['name']))return;const _0x10b583=_0x18cdd6['writer'],_0x356f27=_0x18cdd6['mapper']['toViewRange'](_0x128a20['range']);_0x10b583['wrap'](_0x356f27,_0x10b583['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1b53d9){const _0x28e9d0=_0x1b53d9['plugins']['get']('RevisionViewer');return(_0x197ce4,_0x5bb66a,_0x29785b)=>{const _0x235b78=_0x5bb66a['markerName']['split'](':')[0x1],_0x3da2f5=_0x28e9d0['_getChangeFromId'](_0x235b78);if(!_0x3da2f5)return null;const _0x36f975='add'==_0x3da2f5['type']?'split':'merge';if(!_0x29785b['consumable']['test'](_0x5bb66a['markerRange'],_0x197ce4['name']))return;const _0xab4b11=_0x5bb66a['markerRange']['getWalker'](),_0x238a02=_0x5bb66a['markerRange']['start'],_0x58ce9e=_0x1b53d9['model']['schema'];let _0x55b135=null,_0xb0f0e=null,_0x5a6aaf=!0x1,_0x2d4b3c=!0x1;for(const _0x3b8aa9 of _0xab4b11){const _0x3e2f94=_0x3b8aa9['item'];_0x5a6aaf=_0x5a6aaf||_0x58ce9e['isContent'](_0x3e2f94);const _0x24a71b=_0x29785b['mapper']['toViewElement'](_0x3e2f94);if(_0x24a71b&&_0x24a71b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3b8aa9['type']&&(_0x58ce9e['isBlock'](_0x3e2f94)&&!_0x58ce9e['isLimit'](_0x3e2f94)&&(_0x3e2f94['nextSibling']||_0x238a02['isAtEnd']?_0x55b135&&_0x55b135['parent']==_0x3e2f94||(_0x55b135=_0x3e2f94,_0x1b7094(_0x3b8aa9['previousPosition']),_0x2d4b3c=!0x0):_0xb0f0e=_0xb0f0e||_0x3b8aa9['previousPosition']));}function _0x1b7094(_0xf0d98c){const _0x5beb27=_0x29785b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x36f975}),_0xe96f60=_0x29785b['mapper']['toViewPosition'](_0xf0d98c);_0x3da2f5['data']['isSuggestion']&&_0x29785b['writer']['addClass']('ck-suggestion-marker-'+_0x36f975+'-new',_0x5beb27),_0x28e9d0['activeChange']==_0x3da2f5&&_0x29785b['writer']['addClass']('ck-suggestion-marker--active',_0x5beb27),_0x29785b['writer']['insert'](_0xe96f60,_0x5beb27),_0x29785b['mapper']['bindElementToMarker'](_0x5beb27,_0x5bb66a['markerName']);}_0x5a6aaf||_0x2d4b3c||!_0xb0f0e||_0x1b7094(_0xb0f0e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2fc2f1,_0x351add,_0x3fc031)=>{const _0x433bb0=_0x3fc031['mapper']['markerNameToElements'](_0x351add['markerName']);if(_0x433bb0){for(const _0x4861c9 of _0x433bb0)(_0x4861c9['hasClass']('ck-suggestion-marker-split')||_0x4861c9['hasClass']('ck-suggestion-marker-merge'))&&(_0x3fc031['mapper']['unbindElementFromMarkerName'](_0x4861c9,_0x351add['markerName']),_0x3fc031['writer']['remove'](_0x4861c9));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2fa226,_0x1f2f2d,_0x262f90)=>{const _0x572db0=_0x1f2f2d['markerName']['split'](':')[0x1],_0x388ca9=this['_getChangeFromId'](_0x572db0);if(!_0x388ca9)return null;const _0x589281='add'==_0x388ca9['type']?'split':'merge';if(_0x262f90['consumable']['test'](_0x1f2f2d['markerRange'],_0x2fa226['name']))for(const _0x57348d of _0x1f2f2d['markerRange']['getItems']()){if(!_0x57348d['is']('element','softBreak'))continue;const _0x2d3049=_0x262f90['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x589281}),_0x23bcc6=_0x262f90['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x57348d));_0x388ca9['data']['isSuggestion']&&_0x262f90['writer']['addClass']('ck-suggestion-marker-'+_0x589281+'-new',_0x2d3049),this['activeChange']==_0x388ca9&&_0x262f90['writer']['addClass']('ck-suggestion-marker--active',_0x2d3049),_0x262f90['writer']['insert'](_0x23bcc6,_0x2d3049),_0x262f90['mapper']['bindElementToMarker'](_0x2d3049,_0x1f2f2d['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x10a39f=>{for(const _0x206c1a of this['editor']['model']['document']['getRootNames']()){const _0xf4f7e9=this['editor']['model']['document']['getRoot'](_0x206c1a),_0x1b29cf=this['editor']['editing']['view']['document']['getRoot'](_0x206c1a);if(_0x1b29cf){const _0x161817=_0xf4f7e9['getAttribute']('revisionHistoryAttachChange');if(_0x10a39f['removeAttribute']('data-change-id',_0x1b29cf),_0x10a39f['removeClass']('ck-revision-history-root-add',_0x1b29cf),_0x10a39f['removeClass']('ck-revision-history-root-remove',_0x1b29cf),_0x10a39f['removeClass']('ck-revision-history-root--active',_0x1b29cf),_0x161817){const _0x16225b=this['_getChangeFromId'](_0x161817);if(!_0x16225b)return null;_0x10a39f['setAttribute']('data-change-id',_0x161817,_0x1b29cf),_0x10a39f['addClass']('ck-revision-history-root-'+_0x16225b['type'],_0x1b29cf),this['activeChange']==_0x16225b&&_0x10a39f['addClass']('ck-revision-history-root--active',_0x1b29cf);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1378f4=>'revision-comment:'+_0x1378f4,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5e8761=>'revision-suggestion:'+_0x5e8761,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x240667=>({'name':'suggestion:'+_0x240667,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3b6ee0=>{const _0x14210e=_0x3b6ee0['markerName']['split'](':')[0x1];return'insertion'!=_0x14210e&&'deletion'!=_0x14210e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x14210e]};}}),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',(_0x4fee93,_0x492615,_0x149f3a)=>{const _0x46e975=_0x149f3a['mapper']['markerNameToElements'](_0x492615['markerName']);if(_0x46e975){for(const _0x4ad44d of _0x46e975)_0x4ad44d['is']('uiElement')&&(_0x149f3a['mapper']['unbindElementFromMarkerName'](_0x4ad44d,_0x492615['markerName']),_0x149f3a['writer']['remove'](_0x4ad44d));}},{'priority':'high'});}['_getChangeFromId'](_0x36ab11){return this['_changeIdToChange']['get'](_0x36ab11);}['_getViewForChange'](_0x13c0ee){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x13c0ee),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3ae8d0,_0x2b67c6,_0x3970b8,_0x37c1cf)=>{_0x37c1cf&&this['_balloon']['remove'](_0x37c1cf),_0x3970b8&&(this['_balloon']['add']({'view':_0x3970b8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xfa4c8d=this['editor']['editing'],_0xa1599e=this['_getChangeFromId'](_0x3970b8['changeId']);let _0x4766ba;if(_0xa1599e['data']['isOnRoot']){const _0xf1f372=_0xfa4c8d['view']['getDomRoot'](_0xa1599e['rootName']);_0x4766ba=Array['from'](_0xf1f372['getClientRects']());}else{const _0x14b989=this['editor']['model']['markers']['get']('revision:'+_0x3970b8['changeId']);_0x4766ba=Array['from'](_0xfa4c8d['mapper']['markerNameToElements'](_0x14b989['name']))['map'](_0x5c748b=>_0xfa4c8d['view']['domConverter']['mapViewToDom'](_0x5c748b))['map'](_0x6d9dce=>Array['from'](_0x6d9dce['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4766ba[0x0];return _0x4766ba['find'](_0x2dab82=>_0x2dab82['top']-0x3<=this['_activeViewTarget']['y']&&_0x2dab82['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2dab82['left']-0x3<=this['_activeViewTarget']['x']&&_0x2dab82['right']+0x3>=this['_activeViewTarget']['x'])||_0x4766ba[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2d3fa0,_0x285049,_0x561f16,_0x3ee7e4)=>{this['activeView']=_0x561f16?this['_getViewForChange'](_0x561f16):null,this['editor']['model']['change'](()=>{const _0x24bffb=this['editor']['editing'];_0x3ee7e4&&(_0x3ee7e4['data']['isOnRoot']?_0x24bffb['view']['change'](_0x48bf99=>{_0x48bf99['removeClass']('ck-revision-history-root--active',_0x24bffb['view']['document']['getRoot'](_0x3ee7e4['rootName']));}):_0x24bffb['reconvertMarker']('revision:'+_0x3ee7e4['id'])),_0x561f16&&(_0x561f16['data']['isOnRoot']?_0x24bffb['view']['change'](_0x4567df=>{_0x4567df['addClass']('ck-revision-history-root--active',_0x24bffb['view']['document']['getRoot'](_0x561f16['rootName']));}):_0x24bffb['reconvertMarker']('revision:'+_0x561f16['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5c5271,_0x23602e)=>{if(this['activeChange'])return;const _0x58dd3b=this['_findChangeIdFromDomTarget'](_0x23602e['target']),_0xfbc36e=this['_changeIdToChange']['get'](_0x58dd3b);_0xfbc36e?(this['_activeViewTarget']={'x':_0x23602e['domEvent']['x'],'y':_0x23602e['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xfbc36e)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x21dabf,_0x59bbf7)=>{const _0x2d44e1=this['_findChangeIdFromDomTarget'](_0x59bbf7['target']),_0x48da01=this['_changeIdToChange']['get'](_0x2d44e1);_0x48da01?(this['_activeViewTarget']={'x':_0x59bbf7['domEvent']['x'],'y':_0x59bbf7['domEvent']['y']},_0x48da01===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x48da01):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xaa710c){do{const _0x46a524=_0xaa710c['getAttribute']('data-change-id');if(_0x46a524)return _0x46a524;_0xaa710c=_0xaa710c['parent'];}while(_0xaa710c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x40a1c6=>{for(const _0x29e65d of this['editor']['model']['markers'])_0x40a1c6['removeMarker'](_0x29e65d);});}}function et(_0xe40648,_0x4267b1){return(_0x46da2d,_0x2760f7,_0x590bc4)=>{if(!_0x590bc4['consumable']['test'](_0x2760f7['markerRange'],_0x46da2d['name']))return;const _0x1d6dee=_0x2760f7['markerRange']['getWalker'](),_0x245212=_0x2760f7['markerRange']['start'],_0x2d076b=_0xe40648['model']['schema'];let _0x59adbe=null,_0x31e6ee=null,_0x6aec23=!0x1,_0x11d5d6=!0x1;for(const _0x532422 of _0x1d6dee){const _0x1a7d28=_0x532422['item'];_0x6aec23=_0x6aec23||_0x2d076b['isContent'](_0x1a7d28);const _0x179163=_0x590bc4['mapper']['toViewElement'](_0x1a7d28);if(_0x179163&&_0x179163['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x532422['type']&&(_0x2d076b['isBlock'](_0x1a7d28)&&!_0x2d076b['isLimit'](_0x1a7d28)&&(_0x1a7d28['nextSibling']||_0x245212['isAtEnd']?_0x59adbe&&_0x59adbe['parent']==_0x1a7d28||(_0x59adbe=_0x1a7d28,_0x39a0a2(_0x532422['previousPosition']),_0x11d5d6=!0x0):_0x31e6ee=_0x31e6ee||_0x532422['previousPosition']));}function _0x39a0a2(_0x206a1f){const _0x1f03c0=_0x590bc4['mapper']['toViewPosition'](_0x206a1f),_0x42ed48=_0x590bc4['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4267b1});_0x590bc4['writer']['insert'](_0x1f03c0,_0x42ed48),_0x590bc4['mapper']['bindElementToMarker'](_0x42ed48,_0x2760f7['markerName']);}_0x6aec23||_0x11d5d6||!_0x31e6ee||_0x39a0a2(_0x31e6ee);};}class bt extends _0x274677{constructor(_0x204c5b){super(_0x204c5b);const _0x584067=_0x204c5b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x584067,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x584067,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x482097=this['editor'],_0x302e6b=_0x482097['plugins']['get'](d),_0x1ce06e=_0x302e6b['isReady']?_0x302e6b['diff']['newRevisionId']:null;_0x482097['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1ce06e);}['refresh'](){const {isReady:_0x178224,isEnabled:_0x44a0c2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x178224&&_0x44a0c2;}}class yt extends _0x274677{['_step'];constructor(_0x244cf8,{direction:_0x210c9f}){super(_0x244cf8);const _0x107486=_0x244cf8['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x210c9f?0x1:-0x1,this['listenTo'](_0x107486,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x107486,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x107486,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3714b6=this['editor'],_0x338004=_0x3714b6['plugins']['get'](d),{isNavigationMode:_0x3d10a6,currentChangeNumber:_0x482670}=_0x338004;let _0x3e3aec;if(_0x338004['activeChange']=_0x3d10a6?_0x338004['diff']['changes']['get'](_0x482670+this['_step']):_0x338004['diff']['changes']['first'],_0x338004['activeChange']['data']['isOnRoot'])_0x3e3aec=_0x3714b6['editing']['view']['getDomRoot'](_0x338004['activeChange']['rootName']);else{const _0x2e9e77=_0x3714b6['model']['markers']['get']('revision:'+_0x338004['activeChange']['id']);_0x3e3aec=_0x4e9e7d(_0x3714b6['editing'],_0x2e9e77);}_0xd6d3ba({'target':_0x3e3aec,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x242665,currentChangeNumber:_0x2384ba,numberOfChanges:_0x361220,isReady:_0xc9de0f,isEnabled:_0x38a244}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x38a244&&_0xc9de0f&&_0x361220)&&(!_0x242665||(0x1===this['_step']?_0x2384ba<_0x361220-0x1:_0x2384ba>0x0));}}class _i extends _0x1f4a45{constructor(_0x5b9759){super(_0x5b9759);const _0x1e45da=this['bindTemplate'],_0x567af=new _0x39ab84(_0x5b9759),_0x56fae7=new _0x39ab84(_0x5b9759);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',(_0x32bcbd,_0x2e64e4)=>_0x32bcbd&&_0x2e64e4>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x408b00,_0x99a7b1,_0x5410c2,_0x2ef141)=>{if(!_0x408b00)return y(_0x5b9759,'Loading...');if(!_0x5410c2)return y(_0x5b9759,'No\x20changes');const _0x587f39=y(_0x5b9759,'NUMBER_OF_CHANGES',_0x5410c2);return _0x2ef141?y(_0x5b9759,'X_OF_Y_CHANGES',[_0x99a7b1+0x1,_0x5410c2]):_0x587f39;}),_0x567af['set']({'label':y(_0x5b9759,'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'}),_0x56fae7['set']({'label':y(_0x5b9759,'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'}),_0x567af['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x56fae7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x567af['on']('execute',()=>this['fire']('execute','backward')),_0x56fae7['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',_0x1e45da['if']('_isStatusLabelVisible','ck-hidden',_0x57c884=>!_0x57c884)]},'children':[{'text':_0x1e45da['to']('isNavigationMode',_0x19c5b5=>_0x19c5b5?y(_0x5b9759,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5b9759,'Total')+':\x20')}]},{'text':_0x1e45da['to']('_statusText')}]},new _0x25661a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x567af,_0x56fae7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3603a7{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2b09e5=this['editor']['editing']['view'];_0x2b09e5['change'](_0x280b22=>{for(const _0x317650 of _0x2b09e5['document']['roots'])_0x280b22['addClass'](ce,_0x317650);});}['hide'](){const _0x445243=this['editor']['editing']['view'];_0x445243['change'](_0x159c6e=>{for(const _0x58f2ac of _0x445243['document']['roots'])_0x159c6e['removeClass'](ce,_0x58f2ac);});}}class R extends _0x3603a7{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x34acff=this['editor'],_0x5d8eb6=_0x34acff['plugins']['get'](d),_0x50b072=_0x34acff['plugins']['get'](de);_0x34acff['ui']['componentFactory']['add']('exitToEditing',_0x5c8c50=>{const _0x1fec2f=new _0x39ab84(_0x5c8c50);return _0x1fec2f['set']({'label':y(_0x5c8c50,'Back\x20to\x20editing'),'icon':_0x144dbc['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1fec2f,'execute',()=>{_0x34acff['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1fec2f;}),_0x34acff['ui']['componentFactory']['add']('restoreRevision',_0x5479d7=>{const _0x36a99e=new _0x39ab84(_0x5479d7);return _0x36a99e['set']({'label':y(_0x5479d7,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x36a99e['bind']('isEnabled')['to'](_0x34acff['commands']['get']('restoreRevision')),this['listenTo'](_0x36a99e,'execute',()=>_0x34acff['execute']('restoreRevision')),_0x36a99e;}),_0x34acff['ui']['componentFactory']['add']('changesNavigation',_0x43e7e4=>{const _0x85b3cc=new _i(_0x43e7e4),_0x425da5=_0x34acff['commands']['get']('showPreviousChange'),_0x4c8b11=_0x34acff['commands']['get']('showNextChange');return _0x85b3cc['bind']('isBackwardNavigationEnabled')['to'](_0x425da5,'isEnabled'),_0x85b3cc['bind']('isForwardNavigationEnabled')['to'](_0x4c8b11,'isEnabled'),_0x85b3cc['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5d8eb6),this['listenTo'](_0x85b3cc,'execute',(_0x242c8b,_0x147ae8)=>{_0x34acff['execute']('forward'===_0x147ae8?'showNextChange':'showPreviousChange');}),_0x85b3cc;}),_0x50b072['show'](),_0x5d8eb6['on']('change:isReady',(_0x68fe49,_0x1e6b5f,_0x5d6fcc)=>{_0x5d6fcc?_0x50b072['hide']():_0x50b072['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x13d497,_0x494683){super(_0x13d497,_0x494683);const _0x1847c9=this['bindTemplate'];this['set']({'label':y(_0x13d497,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x13d497,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1847c9['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 _0x403b9c=this['fieldView']['element'];this['_tooltipString']=_0x403b9c['scrollWidth']>_0x403b9c['clientWidth']&&_0x403b9c['value']||'';}}class ti extends _0x1f4a45{constructor(_0x3a9721,_0xe6d39b,_0x4d9b19){super(_0x3a9721);const _0x2e76ff=new _0x2fe791();_0x2e76ff['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 _0x8c80ec=['ck','ck-revision-history-sidebar__revision-author'];_0x4d9b19&&_0x8c80ec['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1a5f42=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3a9721,_0x4d9b19?'Revision\x20creator':'Revision\x20author')},'children':[_0x2e76ff,_0xe6d39b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x8c80ec},'children':_0x1a5f42});}}function ni(_0x144018,_0x2d0213){const _0x1ad3be=_0x144018['bindTemplate'],_0x2a0837=_0x144018['locale'],_0x14c8f2=_0x8fc188(_0x2a0837);_0x14c8f2['panelPosition']='sw';const _0x1f5161=function(_0x403171,_0x192199){const _0x135ca6=function(_0x1f3666,_0x493ed8){const _0x25554f=_0x1f3666['locale'],_0x2f39f3={'Compare\x20against\x20selected':y(_0x25554f,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x25554f,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x25554f,'Restore\x20this\x20revision')};return _0x493ed8['map'](_0x150aed=>{const _0x279912=_0x2f39f3[_0x150aed['name']];return _0x279912&&_0x279912!==_0x150aed['name']&&(_0x150aed['name']=_0x279912),_0x150aed;});}(_0x403171,_0x192199),_0x468d39=new _0x40a346();for(const _0x37483b of _0x135ca6){const _0x3dfd1a={'type':'button','model':new to({'label':_0x37483b['name'],'class':_0x37483b['class'],'withText':!0x0,'role':'menuitem','_action':_0x37483b['action']})};_0x3dfd1a['model']['bind']('isEnabled')['to'](_0x403171,'isActionsDropdownOpen',_0x90b7ba=>'function'!=typeof _0x37483b['isEnabled']||(!_0x90b7ba||_0x37483b['isEnabled'](_0x403171))),_0x468d39['add'](_0x3dfd1a);}return _0x468d39;}(_0x144018,_0x2d0213);return _0x144018['bind']('isActionsDropdownOpen')['to'](_0x14c8f2,'isOpen'),_0x14c8f2['buttonView']['set']({'label':y(_0x2a0837,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x144dbc['threeVerticalDots']}),_0x14c8f2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1ad3be['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1ad3be['to'](_0x324e2b=>_0x324e2b['stopPropagation']())}}),_0x14c8f2['on']('execute',_0x35695c=>{_0x144018['isReady']&&'function'==typeof _0x35695c['source']['_action']&&_0x35695c['source']['_action'](_0x144018);}),_0x1af0b8(_0x14c8f2,_0x1f5161,{'role':'menu'}),_0x14c8f2['listenTo'](_0x144018,'change:isActionsDropdownOpen',(_0x441fc1,_0x5dc4b9,_0x292bbd)=>{if(_0x292bbd)for(const _0x1c9649 of _0x14c8f2['listView']['items']){const _0x56631e=_0x1c9649['children']['first'],_0x38d293=_0x2d0213['find'](_0x42e930=>_0x42e930['action']===_0x56631e['_action'])['isVisible'];_0x1c9649['isVisible']=void 0x0===_0x38d293||_0x38d293(_0x144018);}}),_0x14c8f2;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x23ddab(_0x1f4a45){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5c2197,_0x591284,_0x253530,_0x159e52){super(_0x5c2197);const _0x5ab08e=this['bindTemplate'],_0x285577=function(_0x2f62c3,_0x45c94a){const _0x2e02ad=Array['from'](_0x45c94a['authors'])['filter'](_0x307be8=>_0x307be8!=_0x45c94a['creator']);return _0x45c94a['creator']&&_0x2e02ad['unshift'](_0x45c94a['creator']),_0x2e02ad['map'](_0x306898=>new ti(_0x2f62c3,_0x306898,_0x306898==_0x45c94a['creator']));}(_0x5c2197,_0x591284);this['id']=_0x591284['id'],this['_revision']=_0x591284,this['_requireRevisionName']=_0x159e52,this['bind']('name','createdAt')['to'](_0x591284),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xfbdba6=>{return _0x1de4f5=_0x5c2197['uiLanguage'],(_0x5e27f0=_0xfbdba6)['toLocaleDateString'](_0x1de4f5,{'month':'long','day':'numeric'})+',\x20'+_0x5e27f0['toLocaleTimeString'](_0x1de4f5,{'hour':'numeric','minute':'numeric'});var _0x1de4f5,_0x5e27f0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5c2197,_0x547aa8),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x33b2f2=>_0x33b2f2||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x26f8e4,_0x1d228d)=>_0x26f8e4&&_0x1d228d),this['revisionActionsView']=_0x253530&&_0x253530['length']?ni(this,_0x253530):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5ab08e['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5ab08e['if']('isEnabled','ck-disabled',_0xecd5c=>!_0xecd5c),_0x5ab08e['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5ab08e['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5ab08e['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':_0x5ab08e['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':_0x285577}]},this['revisionActionsView']],'on':{'click':_0x5ab08e['to'](_0x1990e1=>{_0x1990e1['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1a7ab2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1a7ab2,'change',()=>{this['_requireRevisionName']&&!_0x1a7ab2['value']||this['fire']('setName',{'id':this['id'],'name':_0x1a7ab2['value']}),_0x1a7ab2['value']||(_0x1a7ab2['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(_0x321897,_0x54d6b8){const _0x24df80=_0x252aa3['fromJSDate'](_0x321897)['setLocale'](_0x54d6b8),_0xe2170f=_0x252aa3['local'](),_0x40da48=_0xe2170f['minus']({'days':0x1})['startOf']('day');let _0x5d485e,_0x1db8b0;return _0x24df80['hasSame'](_0xe2170f,'day')?(_0x5d485e=_0x24df80['startOf']('day')['toJSDate'](),_0x1db8b0=_0x24df80['toRelativeCalendar']()):_0x24df80['hasSame'](_0x40da48,'day')?(_0x5d485e=_0x40da48['toJSDate'](),_0x1db8b0=_0x24df80['toRelativeCalendar']()):_0x24df80['hasSame'](_0xe2170f,'week')?(_0x5d485e=_0x24df80['startOf']('week')['toJSDate'](),_0x1db8b0=_0x24df80['weekdayLong']||''):_0x24df80['hasSame'](_0xe2170f,'year')?(_0x5d485e=_0x24df80['startOf']('month')['toJSDate'](),_0x1db8b0=_0x24df80['monthLong']||''):(_0x5d485e=_0x24df80['startOf']('year')['toJSDate'](),_0x1db8b0=String(_0x24df80['year'])),{'startDate':_0x5d485e,'localizedPeriodName':_0x1db8b0};}class mi extends _0x1f4a45{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x238396,_0x4a5b29,_0x4ca2d5,_0x25c68e){super(_0x238396);const _0x11a85f=di(_0x4a5b29,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4a5b29,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4ca2d5,this['_requireRevisionName']=_0x25c68e,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':_0x11a85f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5be3d6){const _0x4bc2b7=new ai(this['locale'],_0x5be3d6,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4bc2b7);}['removeRevision'](_0x4fadca){const _0x569d12=this['revisionViews']['find'](_0x5b6583=>_0x5b6583['id']===_0x4fadca['id']);this['revisionViews']['remove'](_0x569d12);}}class as extends _0x1f4a45{constructor(_0x5a7d59){super(_0x5a7d59);const _0x23259e=new _0x2fe791();_0x23259e['content']=_0x144dbc['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x23259e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5a7d59,'Revision\x20history')]}]});}}class ci extends _0x1f4a45{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xaf290d,_0x5b1fd2,_0x54c2ef,_0x32e664){super(_0xaf290d);const _0x1084b0=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5b1fd2,this['_revisionActions']=_0x54c2ef,this['_requireRevisionName']=_0x32e664,this['on']('select',(_0x4be4d5,_0x14f410)=>{this['fire']('revisionSelected',_0x14f410);}),this['on']('setName',(_0x277298,_0x111de2)=>{this['fire']('revisionSetName',_0x111de2);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xaf290d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1084b0['if']('isEnabled','ck-disabled',_0x11d7d9=>!_0x11d7d9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x408855 of this['_revisions'])this['_addRevision'](_0x408855);this['_revisions']['on']('add',(_0x58e358,_0x22bab8)=>{this['_addRevision'](_0x22bab8);}),this['_revisions']['on']('remove',(_0x4e8c39,_0x1c26fb)=>{this['_removeRevision'](_0x1c26fb);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x39e98e=>_0x39e98e['revisionViews']['map'](_0x1b4484=>_0x1b4484))['flat']();}['selectRevision'](_0x2f4465){for(const _0x28afc8 of this['revisionViews'])_0x2f4465&&_0x2f4465['id']===_0x28afc8['id']?_0x28afc8['select']():_0x28afc8['deselect']();}['highlightRevisions'](_0x2b8a4c){for(const _0x42e50e of this['revisionViews'])_0x2b8a4c['some'](({id:_0x1cdedc})=>_0x1cdedc===_0x42e50e['id'])?_0x42e50e['highlight']():_0x42e50e['unhighlight']();}['_addRevision'](_0xcebc01){const _0xcd5f11=di(_0xcebc01['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1c4eb6=this['timePeriodViews']['get'](0x0);_0x1c4eb6&&_0x1c4eb6['startDate']['getTime']()===_0xcd5f11['getTime']()||(_0x1c4eb6=new mi(this['locale'],_0xcd5f11,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1c4eb6)),_0x1c4eb6['addRevision'](_0xcebc01);}['_removeRevision'](_0x5e9061){const _0x1a54ef=di(_0x5e9061['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1a54ef)['removeRevision'](_0x5e9061);}['_getTimePeriodViewByStartDate'](_0x4dcede){return this['timePeriodViews']['find'](_0x226234=>_0x226234['startDate']['getTime']()===_0x4dcede['getTime']());}}class w extends _0x3603a7{['_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(_0x307d8c){super(_0x307d8c),this['_revisionViewer']=_0x307d8c['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x7ccb38=this['_revisionsRepository']['_revisions'],_0x495f10=this['_createRevisionActions'](),_0xa28064=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x7ccb38,_0x495f10,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',(_0xa6267a,_0x45fa55)=>{_0x45fa55['revisionViews']['on']('add',(_0x1323bf,_0x45706b)=>{_0x45706b['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)),_0xa28064['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x6bd6e5=this['_revisionsRepository']['getRevision'](0x0);if(_0x6bd6e5){const _0x8ed354=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x6bd6e5['id']);this['_revisionViewer']['compare'](_0x6bd6e5,_0x8ed354);}}['_handleRevisionSelected'](_0x2d0b9d,_0xf2257f){const _0x48b7bb=this['_revisionsRepository']['getRevision'](_0xf2257f['id']),_0x20ad26=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x48b7bb['id']);this['_revisionViewer']['compare'](_0x48b7bb,_0x20ad26);}['_handleRevisionSetName'](_0x5396b2,_0xa4e3ae){this['_revisionsRepository']['getRevision'](_0xa4e3ae['id'])['setName'](_0xa4e3ae['name']);}['_handleDiffChange'](_0x9523d9,_0x4dd14b,_0x1c240f){const _0x56e74e=this['_revisionsRepository']['getRevisionsInDiff'](_0x1c240f);_0x56e74e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x56e74e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x56e74e[0x0]));}['_createRevisionActions'](){const _0x4dc9d8=this['editor'],_0x2e996f=w['availableRevisionActions'],_0x5c1849=_0x4dc9d8['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5c1849['length'])return _0x5c1849['map'](_0x333960=>{const _0x1ce9a5='string'==typeof _0x333960?Object['assign']({},_0x2e996f[_0x333960]):_0x333960;return _0x1ce9a5['action']=_0x1ce9a5['action']['bind'](this,_0x4dc9d8),_0x1ce9a5['isVisible']&&(_0x1ce9a5['isVisible']=_0x1ce9a5['isVisible']['bind'](this,_0x4dc9d8)),_0x1ce9a5;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x43da9c},_0x57b589)=>{const _0x547ab5=_0x43da9c['get'](d),_0x2019e2=_0x547ab5['repository'];let _0x39cfe1=_0x547ab5['diff']['newRevisionId'],_0x50578c=_0x57b589['id'];_0x2019e2['getIndex'](_0x39cfe1)>_0x2019e2['getIndex'](_0x50578c)&&([_0x39cfe1,_0x50578c]=[_0x50578c,_0x39cfe1]),_0x547ab5['compare'](_0x39cfe1,_0x50578c);},'isVisible':({plugins:_0x300dce},_0x4bd9b9)=>{const _0x11da76=_0x300dce['get'](d);return!(_0x11da76['repository']['getRevisionsInDiff'](_0x11da76['diff'])['length']>0x2)&&!_0x4bd9b9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x561391,{id:_0x2e27df})=>{_0x561391['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2e27df);},'isVisible':({plugins:_0x1d840a},_0x24d810)=>!!_0x1d840a['get'](d)['repository']['getLaterVisibleRevision'](_0x24d810['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x47b232},{id:_0x238b5f,revisionNameView:_0x1c318a})=>{const _0x4d4c55=_0x47b232['get'](d),_0x2e75df=_0x4d4c55['repository']['getEarlierVisibleRevision'](_0x238b5f);_0x4d4c55['compare'](_0x238b5f,_0x2e75df),_0x1c318a['focus'](),_0x1c318a['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2ac814,_0x30a44c){super(_0x2ac814),this['_view']=_0x30a44c,this['_toolbarConfig']=ct(_0x2ac814['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x4aa71c){const _0x771924=this['editor'],_0x18c389=this['view'],_0x2321c2=_0x771924['editing']['view'],_0x203c41=_0x18c389['editable'],_0x3462cf=_0x2321c2['document']['getRoot']();_0x203c41['name']=_0x3462cf['rootName'],_0x18c389['render']();const _0x34b49f=_0x203c41['element'];this['setEditableElement'](_0x203c41['name'],_0x34b49f),_0x18c389['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2321c2['attachDomRoot'](_0x34b49f),this['_elementReplacer']['replace'](_0x4aa71c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x123225=this['view'],_0x121712=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x121712['detachDomRoot'](_0x123225['editable']['name']),_0x123225['destroy']();}['_initToolbar'](){const _0x212500=this['view'];_0x212500['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x212500['stickyPanel']['limiterElement']=_0x212500['element'],_0x212500['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x560489})=>_0x560489),_0x212500['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x212500['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4382a2,_0x98d44d,_0xebf9b7={}){super(_0x4382a2),this['stickyPanel']=new lt(_0x4382a2),this['toolbar']=new pt(_0x4382a2,{'shouldGroupWhenFull':_0xebf9b7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4382a2,_0x98d44d);}['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(_0x462f0e,_0x2b104c){super(_0x2b104c),this['sourceElement']=_0x462f0e,this['model']['document']['createRoot']();const _0x33ba52=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x33ba52);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2039fc,_0x38a422){const _0x236c61=new this(_0x2039fc,_0x38a422);return await _0x236c61['initPlugins'](),await _0x236c61['ui']['init'](_0x2039fc),await _0x236c61['data']['init'](_0x236c61['config']['get']('initialData')||''),_0x236c61['fire']('ready'),_0x236c61;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3603a7{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x44ab0c){super(_0x44ab0c),this['result']='end';}}class H extends _0x3603a7{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3f4993){if(super(_0x3f4993),!this['editor']['config']['get']('revisionHistory'))throw new _0x2c7bd3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x574887=>this['_showRevisionViewer']({..._0x574887,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x9d718c=>this['_closeRevisionViewer'](_0x9d718c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x362c15=>this['_restoreRevision'](_0x362c15)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x40c571){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x40c571;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5c8c25){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5c8c25);}['getRevision'](_0x3e3a11){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3e3a11);}['getRevisions'](_0x54b906){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x54b906||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5b857b=this['editor'],_0x3a4f4e=_0x3094b8(_0x5b857b,p),_0x39f6a7=_0x5b857b['plugins']['get']('RevisionTracker'),_0x5ced74=_0x5b857b['plugins']['get']('Users')['users'];return _0x3a4f4e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3a4f4e['lazyRoots'],(_0x3a4f4e['plugins']['push'](k,d,R,class extends _0x3603a7{static get['requires'](){return[d,'Users'];}['init'](){const _0x4589b3=this['editor']['plugins']['get']('Users');for(const _0x33c5e5 of _0x5ced74)_0x33c5e5['isAnonymous']||_0x4589b3['getUser'](_0x33c5e5['id'])||_0x4589b3['addUser'](_0x33c5e5);const _0x258e61=_0x39f6a7['repository']['getRevisions']();let _0xb9c625=null;const _0x3ac92b=this['editor']['plugins']['get']('RevisionViewer');_0x3ac92b['adapter']=_0x39f6a7['adapter'],_0x3ac92b['bind']('isEnabled')['to'](_0x39f6a7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5b857b,'isReadOnly',_0x205655=>!_0x205655);for(const _0x5c89eb of _0x258e61){const _0x143f1f=null===_0x5c89eb['creator'];if(_0x143f1f&&_0x5c89eb['toVersion']===_0x5c89eb['fromVersion'])continue;const _0x5c496a=_0x5c89eb['toJSON']();_0x3ac92b['addRevisionData'](_0x5c496a,(_0x4d9741,_0x380d79,_0x35bce9)=>{if(_0x143f1f){if(_0xb9c625)_0xb9c625['_update'](_0x4d9741,_0x380d79);else{if(!_0x380d79){const _0xcab3bd=_0x35bce9['toJSON']();_0xcab3bd['id']=_0xf0312f(),_0x39f6a7['saveRevision'](_0xcab3bd,_0x35bce9['toVersion'])['then'](_0x5978eb=>{_0xb9c625=_0x5978eb;});}}}else _0x5c89eb['_update'](_0x4d9741,_0x380d79);});}}},w),_0x3a4f4e);}['_enhanceShowRevisionViewerCallback'](){const _0x49dac0=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x51824d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x110a8f=this['editor']['plugins']['get']('Autosave');await _0x110a8f['save']();}else await _0x51824d['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xf4f4d1=this['editor']['plugins']['get']('Dialog');_0xf4f4d1['isOpen']&&_0xf4f4d1['hide']();}const _0x135c84=this['_getRevisionViewerEditorConfig']();return _0x49dac0(_0x135c84)['then'](_0x5305c1=>{return(this['_viewerEditor']=_0x5305c1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5305c1;})['catch'](_0x467843=>(console['error'](_0x467843),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3c239e=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'](),_0x3c239e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x48ed3a=this['editor']['plugins']['get']('Annotations');_0x48ed3a['refreshVisibility'](),_0x48ed3a['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3664b0){const _0x5cc059=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x304985=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x262556=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x262556,_0x3664b0)['then'](_0x530ff8=>(_0x304985['style']['display']='block',_0x5cc059['style']['display']='none',_0x530ff8));}['_closeRevisionViewer'](_0x3b4151){const _0x1c5174=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1c5174['style']['display']='',_0x3b4151['destroy']();}async['_restoreRevision'](_0x5c2fa8){const _0x138375=this['editor'],_0x3f0a79=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4c581f=_0x138375['plugins']['get']('RevisionTracker'),_0x1a577e=_0x3f0a79['repository']['getRevision'](_0x5c2fa8);let _0x436e34,_0x23524f,_0x188abb;try{_0x436e34=await _0x3f0a79['getRevisionData'](_0x1a577e),_0x23524f=await _0x3f0a79['getRevisionRootsAttributes'](_0x1a577e);}catch(_0x106b6a){return void console['error'](_0x106b6a);}_0x138375['model']['change'](_0x4f3293=>{for(const _0x39357c of Array['from'](_0x138375['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4f3293['removeMarker'](_0x39357c);}),_0x3f0a79['isReady']=!0x1,_0x138375['model']['enqueueChange'](_0x407e3f=>{_0x407e3f['setSelection'](null),_0x407e3f['removeSelectionAttribute'](_0x138375['model']['document']['selection']['getAttributeKeys']());const _0x5d60af=Object['keys'](_0x436e34);for(const _0x3c5ed8 of _0x138375['model']['document']['roots'])'$graveyard'!=_0x3c5ed8['rootName']&&_0x3c5ed8['isAttached']()&&!_0x5d60af['includes'](_0x3c5ed8['rootName'])&&_0x407e3f['detachRoot'](_0x3c5ed8);for(const _0x200671 of _0x5d60af){let _0xa86e61=_0x138375['model']['document']['getRoot'](_0x200671);_0xa86e61&&_0xa86e61['isAttached']()||(_0xa86e61=_0x407e3f['addRoot'](_0x200671));const _0x7399ef=_0x23524f[_0x200671],_0x57944e=Object['keys'](_0x7399ef),_0x487b82=_0x436e34[_0x200671];for(const _0x554b7 of _0xa86e61['getAttributeKeys']())_0x57944e['includes'](_0x554b7)||_0x407e3f['removeAttribute'](_0x554b7,_0xa86e61);for(const _0x34d55e of _0x57944e)_0x407e3f['setAttribute'](_0x34d55e,_0x23524f[_0x200671][_0x34d55e],_0xa86e61);_0x407e3f['remove'](_0x407e3f['createRangeIn'](_0xa86e61)),_0x407e3f['insert'](_0x138375['data']['parse'](_0x487b82,_0xa86e61),_0xa86e61,0x0);}});const _0x23654c=y(_0x138375['locale'],'Restored');if(_0x1a577e['name'])_0x188abb=-0x1==_0x1a577e['name']['indexOf'](_0x23654c)?_0x23654c+':\x20'+_0x1a577e['name']:_0x1a577e['name'];else _0x188abb=_0x23654c+':\x20'+(_0x1a577e['createdAt']['toLocaleDateString'](_0x138375['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1a577e['createdAt']['toLocaleTimeString'](_0x138375['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4c581f['saveRevision']({'name':_0x188abb}),_0x3f0a79['isReady']=!0x0,_0x138375['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};
|