@ckeditor/ckeditor5-revision-history 43.1.0-alpha.5 → 43.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ObservableMixin as
|
|
24
|
-
_0x2ffa0d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x382c0d){super(),this['id']=_0x382c0d['id']||_0xb0d552(),this['creator']=_0x382c0d['creator']||null,this['authors']=_0x382c0d['authors']||[],this['diffData']=_0x382c0d['diffData']||null,this['toVersion']=_0x382c0d['toVersion']||0x0,this['fromVersion']=_0x382c0d['fromVersion']||0x0,this['set']('name',_0x382c0d['name']||''),this['set']('createdAt',_0x382c0d['createdAt']||new Date()),this['set']('attributes',_0x382c0d['attributes']||{});}['setName'](_0x4b8096){this['_update']({'name':_0x4b8096});}['setAttribute'](_0x27e2ce,_0x21fc9e){const _0x349524=_0x317f28(this['attributes']);_0x2f99cf(_0x349524,_0x27e2ce,_0x21fc9e),this['_update']({'attributes':_0x349524});}['removeAttribute'](_0x929b30){const _0xeca357=_0x317f28(this['attributes']);_0xfc6321(_0xeca357,_0x929b30),this['_update']({'attributes':_0xeca357});}['_update'](_0x2142c9,_0x4ef5a1=!0x1){let _0x4912e5=!0x1;const _0x28181e={'id':this['id']},_0x1e91ca=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x55b7d1 of _0x1e91ca){const _0x3572d7=_0x2142c9[_0x55b7d1];void 0x0!==_0x3572d7&&_0x3572d7!==this[_0x55b7d1]&&(this[_0x55b7d1]=_0x3572d7,_0x28181e[_0x55b7d1]=_0x3572d7,_0x4912e5=!0x0);}_0x4912e5&&(_0x28181e['authors']&&(_0x28181e['authorsIds']=_0x28181e['authors']['map'](_0x363f2b=>_0x363f2b['id']),delete _0x28181e['authors']),this['fire']('_update',_0x28181e,_0x4ef5a1));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x21cb43=>_0x21cb43['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1c9ec6{['_revisions'];static get['requires'](){return[_0x250ee9];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x195768){super(_0x195768),this['_revisions']=new _0x455856();}['afterInit'](){!function(_0x2e4b76){function _0x4f2cb1(_0x175277,_0x52674c,_0x548258){const _0xca9a8a={};_0xca9a8a[_0x500161([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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],_0xca9a8a[_0x500161([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 _0x53082b=new Uint8Array(0x10);for(let _0x347694=0xf;_0x347694>=0x0;--_0x347694)_0x53082b[_0x347694]=_0x548258%0x100,_0x548258=parseInt(_0x548258/0x100);let _0x4f989f=null,_0xbe4739=0x10;const _0xb01f0b=new Uint8Array(_0x52674c),_0x44bd04=[],_0x3c9baf=[];_0x526fae();for(let _0x370baa=0x0;_0x370baa<_0x175277[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x370baa++)0x10===_0xbe4739&&(_0x4f989f=_0x20cdb8(_0x53082b),_0xbe4739=0x0,_0x34ff54(_0x53082b)),_0x175277[_0x370baa]^=_0x4f989f[_0xbe4739++];return _0x175277;function _0x2ac59d(_0x2b7de3){const _0x2e6816=[];for(let _0x12ae48=0x0;_0x12ae48<_0x2b7de3[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12ae48+=0x4)_0x2e6816[_0x500161([0x70,0x75,0x73,0x68])](_0x2b7de3[_0x12ae48]<<0x18|_0x2b7de3[_0x12ae48+0x1]<<0x10|_0x2b7de3[_0x12ae48+0x2]<<0x8|_0x2b7de3[_0x12ae48+0x3]);return _0x2e6816;}function _0x34ff54(_0xde60c2){for(let _0x977f36=0xf;_0x977f36>=0x0;_0x977f36--){if(0xff!==_0xde60c2[_0x977f36]){_0xde60c2[_0x977f36]++;break;}_0xde60c2[_0x977f36]=0x0;}}function _0x20cdb8(_0x2621a7){const _0x4dcc95=_0x44bd04[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xa4a5bb=[0x0,0x0,0x0,0x0];let t=_0x2ac59d(_0x2621a7);for(let _0x3ab9ab=0x0;_0x3ab9ab<0x4;_0x3ab9ab++)t[_0x3ab9ab]^=_0x44bd04[0x0][_0x3ab9ab];for(let _0x2c3da1=0x1;_0x2c3da1<_0x4dcc95;_0x2c3da1++){for(let _0xa26510=0x0;_0xa26510<0x4;_0xa26510++)_0xa4a5bb[_0xa26510]=_0xca9a8a[_0x500161([0x54,0x31])][t[_0xa26510]>>0x18&0xff]^_0xca9a8a[_0x500161([0x54,0x32])][t[(_0xa26510+0x1)%0x4]>>0x10&0xff]^_0xca9a8a[_0x500161([0x54,0x33])][t[(_0xa26510+0x2)%0x4]>>0x8&0xff]^_0xca9a8a[_0x500161([0x54,0x34])][0xff&t[(_0xa26510+0x3)%0x4]]^_0x44bd04[_0x2c3da1][_0xa26510];t=_0xa4a5bb[_0x500161([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1b5df3=new Uint8Array(0x10);let _0x30905a;for(let _0x364efa=0x0;_0x364efa<0x4;_0x364efa++)_0x30905a=_0x44bd04[_0x4dcc95][_0x364efa],_0x1b5df3[0x4*_0x364efa]=0xff&(_0xca9a8a[_0x500161([0x53])][t[_0x364efa]>>0x18&0xff]^_0x30905a>>0x18),_0x1b5df3[0x4*_0x364efa+0x1]=0xff&(_0xca9a8a[_0x500161([0x53])][t[(_0x364efa+0x1)%0x4]>>0x10&0xff]^_0x30905a>>0x10),_0x1b5df3[0x4*_0x364efa+0x2]=0xff&(_0xca9a8a[_0x500161([0x53])][t[(_0x364efa+0x2)%0x4]>>0x8&0xff]^_0x30905a>>0x8),_0x1b5df3[0x4*_0x364efa+0x3]=0xff&(_0xca9a8a[_0x500161([0x53])][0xff&t[(_0x364efa+0x3)%0x4]]^_0x30905a);return _0x1b5df3;}function _0x526fae(){const _0x1dd71f=_0xca9a8a[_0x500161([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xb01f0b[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x57c5b4=0x0;_0x57c5b4<=_0x1dd71f;_0x57c5b4++)_0x44bd04[_0x500161([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3c9baf[_0x500161([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x400c1e=0x4*(_0x1dd71f+0x1),_0x12538f=_0xb01f0b[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5e233a=_0x2ac59d(_0xb01f0b);let _0x4ba663;for(let _0x566a47=0x0;_0x566a47<_0x12538f;_0x566a47++)_0x4ba663=_0x566a47>>0x2,_0x44bd04[_0x4ba663][_0x566a47%0x4]=_0x5e233a[_0x566a47],_0x3c9baf[_0x1dd71f-_0x4ba663][_0x566a47%0x4]=_0x5e233a[_0x566a47];let _0x4df06b,_0x46be64=0x0,t=_0x12538f;for(;t<_0x400c1e;){_0x4df06b=_0x5e233a[_0x12538f-0x1],_0x5e233a[0x0]^=_0xca9a8a[_0x500161([0x53])][_0x4df06b>>0x10&0xff]<<0x18^_0xca9a8a[_0x500161([0x53])][_0x4df06b>>0x8&0xff]<<0x10^_0xca9a8a[_0x500161([0x53])][0xff&_0x4df06b]<<0x8^_0xca9a8a[_0x500161([0x53])][_0x4df06b>>0x18&0xff]^_0xca9a8a[_0x500161([0x72,0x63,0x6f,0x6e])][_0x46be64]<<0x18,_0x46be64+=0x1;for(let _0x450528=0x1;_0x450528<_0x12538f/0x2;_0x450528++)_0x5e233a[_0x450528]^=_0x5e233a[_0x450528-0x1];_0x4df06b=_0x5e233a[_0x12538f/0x2-0x1],_0x5e233a[_0x12538f/0x2]^=_0xca9a8a[_0x500161([0x53])][0xff&_0x4df06b]^_0xca9a8a[_0x500161([0x53])][_0x4df06b>>0x8&0xff]<<0x8^_0xca9a8a[_0x500161([0x53])][_0x4df06b>>0x10&0xff]<<0x10^_0xca9a8a[_0x500161([0x53])][_0x4df06b>>0x18&0xff]<<0x18;for(let _0x2a5038=_0x12538f/0x2+0x1;_0x2a5038<_0x12538f;_0x2a5038++)_0x5e233a[_0x2a5038]^=_0x5e233a[_0x2a5038-0x1];let _0xa384da,_0x3adbb4,_0x34dfaa=0x0;for(;_0x34dfaa<_0x12538f&&t<_0x400c1e;)_0xa384da=t>>0x2,_0x3adbb4=t%0x4,_0x44bd04[_0xa384da][_0x3adbb4]=_0x5e233a[_0x34dfaa],_0x3c9baf[_0x1dd71f-_0xa384da][_0x3adbb4]=_0x5e233a[_0x34dfaa++],t++;}for(let _0x4c0d9b=0x1;_0x4c0d9b<_0x1dd71f;_0x4c0d9b++)for(let _0x18721a=0x0;_0x18721a<0x4;_0x18721a++)_0x4df06b=_0x3c9baf[_0x4c0d9b][_0x18721a],_0x3c9baf[_0x4c0d9b][_0x18721a]=_0xca9a8a[_0x500161([0x55,0x31])][_0x4df06b>>0x18&0xff]^_0xca9a8a[_0x500161([0x55,0x32])][_0x4df06b>>0x10&0xff]^_0xca9a8a[_0x500161([0x55,0x33])][_0x4df06b>>0x8&0xff]^_0xca9a8a[_0x500161([0x55,0x34])][0xff&_0x4df06b];}}function _0x500161(_0x467e95){return _0x467e95['map'](_0x21dc78=>String['fromCharCode'](_0x21dc78))['join']('');}(_0x57b259=>{function _0x2e96ba(){const _0x5bc0cf=[{[_0x500161([0x69,0x64])]:0x1,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x500161([0x69,0x64])]:0x2,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([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]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x500161([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x500161([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x500161([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x500161([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x500161([0x69,0x64])]:0x3,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x500161([0x69,0x64])]:0x4,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([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]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x500161([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x500161([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x500161([0x69,0x64])]:0x5,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([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]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}},{[_0x500161([0x69,0x64])]:0x6,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}},{[_0x500161([0x69,0x64])]:0x7,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}},{[_0x500161([0x69,0x64])]:0x8,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([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]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}},{[_0x500161([0x69,0x64])]:0x9,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x500161([0x69,0x64])]:0xa,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([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]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([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]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([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]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}},{[_0x500161([0x69,0x64])]:0xb,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x500161([0x69,0x64])]:0xc,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x500161([0x69,0x64])]:0xd,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}},{[_0x500161([0x69,0x64])]:0xe,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x500161([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([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])},{[_0x500161([0x69,0x64])]:0xf,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x500161([0x69,0x64])]:0x10,[_0x500161([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500161([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500161([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500161([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500161([0x66,0x67,0x69])]:[0xc]}}];return _0x52e893(_0x5bc0cf),_0x5bc0cf;function _0x1d2044(_0x3add57){return 0x1<<_0x3add57-0x1;}function _0x52e893(_0x37d06f){_0x37d06f[_0x500161([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bd181=>{_0x4bd181[_0x500161([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1d2044(_0x4bd181[_0x500161([0x69,0x64])]),_0x65d525(_0x4bd181)&&_0x4bd181[_0x500161([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x52e893(_0x4bd181[_0x500161([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x65d525(_0x5175b6){return _0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5175b6;}const _0x424073=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x7b8609=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x377dc6(_0x35c991){const _0x262368=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x173085(_0x35c991,new Uint8Array([..._0x424073,..._0x262368,..._0x7b8609]));}function _0x173085(_0x2e3bcf,_0x434deb){const _0x28a036=_0x24a13d(_0x2e3bcf),_0x3617f9=Array[_0x500161([0x66,0x72,0x6f,0x6d])](_0x3391cb(_0x28a036)),_0x11c783=_0x3617f9[_0x500161([0x70,0x6f,0x70])](),_0x32ea30=_0x3617f9[_0x500161([0x70,0x6f,0x70])]();return _0x26154a(_0x4f2cb1(_0x3617f9,_0x434deb,_0x32ea30+0x100*_0x11c783));}function _0x24a13d(_0x16a671){const _0x1bce93=atob(_0x16a671),[_0x54e08e,_0x546b86]=_0x1bce93[_0x500161([0x73,0x70,0x6c,0x69,0x74])](_0x500161([0x2d]));try{if(atob(_0x546b86))return atob(_0x54e08e);}catch(_0x20fc0c){}return _0x1bce93;}function _0x6570e1(_0x434f7b){try{const _0x1db959=_0x377dc6(_0x434f7b),_0x43613f=JSON[_0x500161([0x70,0x61,0x72,0x73,0x65])](_0x1db959),_0x11319b=parseInt(_0x43613f[_0x500161([0x31])]),_0x19f56a=_0x43613f[_0x500161([0x32])]||'',_0x44eaaa=parseInt(_0x43613f[_0x500161([0x33])]),_0x12b5ef=parseInt(_0x43613f[_0x500161([0x34])])||0x0,_0x359996=parseInt(_0x43613f[_0x500161([0x35])])||0x0;return{[_0x500161([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x19f56a,[_0x500161([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x12b5ef,[_0x500161([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x11319b,[_0x500161([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x44eaaa,[_0x500161([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x359996};}catch(_0xc664fd){return null;}}const _0x3812b3=_0x2e96ba(),_0xb3d724={[_0x500161([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xe6e6ca,[_0x500161([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])]:_0x3d8966,[_0x500161([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])]:_0x5976d3},_0x3f463e=_0x57b259[_0x500161([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x30f2b3=_0x500161([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x57b259?_0x57b259['context']:_0x57b259['editor'],_0x45f3e6=_0x500161([0x34,0x30,0x34,0x38,0x31,0x38,0x30,0x34]),_0x56460b=_0x500161([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]),_0x19f91c=_0x30f2b3['config']['get'](_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3a9703=_0x3812b3[_0x500161([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x65d525)[_0x500161([0x66,0x69,0x6e,0x64])](_0x2a46c1=>_0x2a46c1[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3f463e);function _0x1e4322(_0x2ba033,_0x3cb185){_0xb3d724[_0x3cb185[_0x500161([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2ba033,_0x3cb185),_0x3cb185[_0x500161([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3cb185[_0x500161([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x500161([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366df9=>_0x5ab7f9(_0x30f2b3,_0x366df9[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x500161([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37d66c=>_0x1e4322(_0x2ba033,_0x37d66c));}function _0xe6e6ca(_0x4f45a3,_0x629152){_0x35ede1(_0xbdf908(_0x4f45a3,_0x629152),_0x629152);}function _0x3d8966(_0x103dca,_0x5982d8){function _0x420704(_0x1b6baa,_0x1e34ec){try{if(_0x5ab7f9(_0x30f2b3,_0x500161([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1b6baa){const _0x5d0640=_0x33d180(_0x30f2b3,_0x500161([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x500161([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5d0640)/0x2>_0x1b6baa[_0x500161([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x42797f(_0x1e34ec[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xbdf908(_0x1b6baa,_0x1e34ec);}catch(_0x346a24){return _0x42797f(_0x1e34ec[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x35ede1(_0x420704(_0x103dca,_0x5982d8),_0x5982d8);}function _0x5976d3(_0xa185b,_0x2bf669){const _0x71020d=_0x7b8609[0x0]*_0x424073[0x1],_0x5553a0=_0x7b8609[0x0]*_0x424073[0x2],_0x2d70e8=_0x7b8609[0x2]*_0x424073[0x2];_0x5ab7f9(_0x30f2b3,_0x500161([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x33d180(_0x30f2b3,_0x500161([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x500161([0x73,0x74,0x61,0x74,0x65])]==_0x500161([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x378101()]=_0x2d70e8);function _0x386084(_0x183eac,_0x4bcf46){try{return _0x3d19de()?_0x42797f(_0x4bcf46[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x56,0x61,0x6c,0x69,0x64])):_0xbdf908(_0x183eac,_0x4bcf46);}catch(_0x4d6f83){return _0x42797f(_0x4bcf46[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3f37b0(_0x5b8101,_0x44bd64){const _0x1627c7=0x7;if(_0x5b8101==_0x44bd64[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x39f43a();else{if(_0x5b8101==_0x44bd64[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c])){const _0x500291=_0x5402d6();_0x500291&&_0x51ab74(_0x500291,_0x44bd64[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x503a7e=_0x3db535();window[_0x500161([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x51ab74(_0x500161([0x74,0x69,0x6d,0x65]),_0x44bd64[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x503a7e);const _0x163bee=_0x33d180(_0x30f2b3,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x500161([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x163bee[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1627c7?_0x51ab74(_0x500161([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x44bd64[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x163bee['on'](_0x500161([0x61,0x64,0x64]),()=>{_0x163bee[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1627c7&&_0x51ab74(_0x500161([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x44bd64[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5402d6(){if(!_0x5ab7f9(_0x30f2b3,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x25f489 in window)if(Number['isNaN'](Number(_0x25f489))){if(window[_0x25f489]===_0x71020d)return _0x500161([0x74,0x69,0x6d,0x65]);if(window[_0x25f489]===_0x5553a0)return _0x500161([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3d19de(){if(!_0x5ab7f9(_0x30f2b3,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2d40e1 in window)if(Number['isNaN'](Number(_0x2d40e1))&&window[_0x2d40e1]===_0x2d70e8)return!0x0;return!0x1;}function _0x51ab74(_0x21db25,_0x324556){_0x39f43a(),_0x42797f(_0x324556+_0x500161([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x21db25),window[_0x378101()]=_0x21db25===_0x500161([0x74,0x69,0x6d,0x65])?_0x71020d:_0x5553a0;}function _0x3db535(){let _0xd6ee8c=_0x7b8609[0x6]*_0x424073[0x8]*_0x424073[0x6];return _0x5ab7f9(_0x30f2b3,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xd6ee8c/=0xa),_0xd6ee8c;}function _0x39f43a(){const _0x134ccb=_0x30f2b3;function _0x4296d6(){_0x5ab7f9(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500161([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x500161([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500161([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500161([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x202925,_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500161([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x202925,_0x134ccb[_0x500161([0x6d,0x6f,0x64,0x65,0x6c])][_0x500161([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x202925,_0x134ccb[_0x500161([0x6d,0x6f,0x64,0x65,0x6c])][_0x500161([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x202925,_0x134ccb[_0x500161([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x500161([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5ab7f9(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500161([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x500161([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500161([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500161([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x202925,_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500161([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x202925);}_0x134ccb[_0x500161([0x73,0x74,0x61,0x74,0x65])]==_0x500161([0x72,0x65,0x61,0x64,0x79])?_0x4296d6():_0x134ccb[_0x500161([0x6f,0x6e,0x63,0x65])](_0x500161([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5ab7f9(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4296d6(),_0x5ab7f9(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0xa241af=_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5b7d71=_0xa241af['getRevision'](0x0),_0x54c88d=_0xa241af['getEarlierVisibleRevision'](_0x5b7d71[_0x500161([0x69,0x64])]);_0x33d180(_0x134ccb,_0x500161([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500161([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5b7d71[_0x500161([0x69,0x64])],_0x54c88d?_0x54c88d[_0x500161([0x69,0x64])]:null,0x1)['then'](()=>_0x4296d6());}});}_0x3f37b0(_0x386084(_0xa185b,_0x2bf669),_0x2bf669);}function _0xbdf908(_0x163db7,_0x1c2b60){try{return _0x2766d9(_0x1c2b60)?_0x42797f(_0x1c2b60[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x56,0x61,0x6c,0x69,0x64])):_0x163db7&&_0x2792cb(_0x163db7[_0x500161([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1c2b60)?_0x163db7[_0x500161([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x500161([0x6f,0x70,0x65,0x6e])][_0x500161([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x45f3e6)/0x2>_0x163db7[_0x500161([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x42797f(_0x1c2b60[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x163db7[_0x500161([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x42797f(_0x1c2b60[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c])):_0x42797f(_0x1c2b60[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x56,0x61,0x6c,0x69,0x64])):_0x42797f(_0x1c2b60[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x57450f){return _0x42797f(_0x1c2b60[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x35ede1(_0x2c4ebd,_0x54bd9d){if(_0x30f2b3 instanceof _0x424f55){const _0x5838c3=_0x30f2b3;_0x2c4ebd==_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x10f7d0(_0x5838c3):_0x2c4ebd==_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c])&&window[_0x500161([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x10f7d0(_0x5838c3),_0x42797f(_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x7b8609[0x6]*_0x424073[0x8]*_0x424073[0x6]),_0x5838c3[_0x500161([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x500161([0x6f,0x6e])](_0x500161([0x61,0x64,0x64]),(_0x27daf2,_0xd2100a)=>{_0x2c4ebd!=_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2c4ebd!=_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2c4ebd!=_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x20b96c(_0xd2100a);});}else{const _0x3105ad=_0x30f2b3;_0x2c4ebd==_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x20b96c(_0x3105ad):_0x2c4ebd==_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c])&&_0x3105ad[_0x500161([0x6f,0x6e])](_0x500161([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3c7744=0x0;_0x3105ad[_0x500161([0x6d,0x6f,0x64,0x65,0x6c])][_0x500161([0x6f,0x6e])](_0x500161([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c1290,_0x36f705)=>{_0x36f705[0x0][_0x500161([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c7744++,0x1f8===_0x3c7744&&(_0x20b96c(_0x3105ad),_0x42797f(_0x54bd9d[_0x500161([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500161([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2c1290[_0x500161([0x6f,0x66,0x66])]());},{'priority':_0x500161([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x42797f(_0x24d8e6){const _0x2edb73=_0x378101();return _0x30f2b3[_0x2edb73]=_0x24d8e6,_0x24d8e6;}function _0x378101(){const _0x2847dd=String(window[_0x500161([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x500161([0x6e,0x6f,0x77])]())[_0x500161([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x500161([0x2e]),'');let _0x46750d='';for(let _0x3224ed=0x0;_0x3224ed<_0x2847dd[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3224ed+=0x2){let _0x322bde=parseInt(_0x2847dd[_0x500161([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3224ed,_0x3224ed+0x2));_0x322bde>=_0x56460b[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x322bde-=_0x56460b[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46750d+=_0x56460b[_0x322bde];}return _0x46750d;}function _0x10f7d0(_0x5166fa){for(const _0x4e2fb0 of _0x5166fa[_0x500161([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x20b96c(_0x4e2fb0);_0x33d180(_0x5166fa,_0x500161([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x500161([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x33d180(_0x5166fa,_0x500161([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x500161([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x202925;}function _0x20b96c(_0x5a614f){function _0x22209a(){_0x5a614f[_0x500161([0x6d,0x6f,0x64,0x65,0x6c])][_0x500161([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x202925,_0x5a614f[_0x500161([0x6d,0x6f,0x64,0x65,0x6c])][_0x500161([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x202925,_0x5a614f[_0x500161([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x500161([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5a614f[_0x500161([0x73,0x74,0x61,0x74,0x65])]==_0x500161([0x72,0x65,0x61,0x64,0x79])?_0x22209a():_0x5a614f[_0x500161([0x6f,0x6e,0x63,0x65])](_0x500161([0x72,0x65,0x61,0x64,0x79]),()=>_0x22209a());}function _0x202925(){return null;}function _0x2792cb(_0x2f7719,_0x22bcfc){const _0x22cd85=!!(_0x2f7719&_0x22bcfc[_0x500161([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2198a0=_0x204925(_0x2f7719,_0x22bcfc);return _0x22cd85||_0x2198a0;}function _0x204925(_0x3cd88c,_0x3cfffc){const _0x26f250=(_0x3cfffc[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x500161([0x66,0x67,0x69])]||null;return!!_0x26f250&&_0x3812b3[_0x500161([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19d3ec=>_0x26f250[_0x500161([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19d3ec[_0x500161([0x69,0x64])]))[_0x500161([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26e9d7=>!_0x250143(_0x26e9d7))[_0x500161([0x73,0x6f,0x6d,0x65])](_0x3d5fee=>!!(_0x3cd88c&_0x3d5fee[_0x500161([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x250143(_0x5c4755){const _0xb64970={[_0x500161([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])]:_0x335aa8};return!!_0x5c4755['forbiddenHandler']&&_0xb64970[_0x5c4755['forbiddenHandler']]();}function _0x335aa8(){return!window[_0x500161([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5ab7f9(_0x30f2b3,_0x500161([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2766d9(_0xbff4ef){if(!_0x5ab7f9(_0x30f2b3,_0xbff4ef[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2fc835=_0xbff4ef[_0x500161([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4a6184=_0x2fc835[_0x500161([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x10ba11=_0x2fc835[_0x500161([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x47989a=_0x2fc835[_0x500161([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5ab7f9(_0x30f2b3,_0x500161([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x33d180(_0x30f2b3,_0x500161([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x500161([0x73,0x74,0x61,0x74,0x65])]==_0x500161([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4a6184)return!0x0;if(_0x5ab7f9(_0x30f2b3,_0x500161([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x33d180(_0x30f2b3,_0x500161([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x500161([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x500161([0x65,0x6e,0x64])&&_0x10ba11)return!0x0;return!(!_0x5ab7f9(_0x30f2b3,_0x500161([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]))||_0x33d180(_0x30f2b3,_0x500161([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]))[_0x500161([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x500161([0x65,0x6e,0x64])||!_0x47989a);}function _0x5ab7f9(_0x162f56,_0x3ad5dc){return _0x162f56[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x500161([0x68,0x61,0x73])](_0x3ad5dc);}function _0x33d180(_0x5d4aa1,_0x2cbc54){return _0x5d4aa1[_0x500161([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x500161([0x67,0x65,0x74])](_0x2cbc54);}function _0x26154a(_0x244ec8){let _0x1015eb='';for(const _0xf68798 of _0x244ec8)_0x1015eb+=String[_0x500161([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xf68798);return _0x1015eb;}function _0x3391cb(_0x37aa2f){const _0x48d24f=new Uint8Array(_0x37aa2f[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x7d0320=0x0;_0x7d0320<_0x37aa2f[_0x500161([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d0320++)_0x48d24f[_0x7d0320]=_0x37aa2f[_0x500161([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7d0320);return _0x48d24f;}_0x3a9703&&_0x1e4322(_0x6570e1(_0x19f91c),_0x3a9703);})(_0x2e4b76);}(this);}['createRevision'](_0x1ac7b5){const _0x3c92c6=this['editor']['plugins']['get']('Users');return new a({'id':_0x1ac7b5['id'],'name':_0x1ac7b5['name'],'creator':_0x1ac7b5['creatorId']?_0x3c92c6['getUser'](_0x1ac7b5['creatorId']):null,'diffData':_0x1ac7b5['diffData']||_0x1ac7b5['data'],'authors':_0x1ac7b5['authorsIds']['map'](_0x14ed06=>_0x3c92c6['getUser'](_0x14ed06)),'createdAt':new Date(_0x1ac7b5['createdAt']),'attributes':_0x1ac7b5['attributes'],'fromVersion':_0x1ac7b5['fromVersion'],'toVersion':_0x1ac7b5['toVersion']});}['addRevision'](_0x3fa7ca,_0xf1be23=0x0){this['_revisions']['add'](_0x3fa7ca,_0xf1be23);}['getRevision'](_0x56416e){return this['_revisions']['get'](_0x56416e);}['getRevisions'](_0x18f2eb={'toJSON':!0x1}){const _0x100e29=Array['from'](this['_revisions']);return _0x100e29['reverse'](),_0x18f2eb['toJSON']?_0x100e29['map'](_0x1b845a=>_0x1b845a['toJSON']()):_0x100e29;}['getIndex'](_0x517991){return this['_revisions']['getIndex'](_0x517991);}['getEarlierVisibleRevision'](_0xbc0efa){const [,_0x19c53a]=this['getRevisionsIterator'](_0xbc0efa,{'direction':'earlier'});return _0x19c53a;}['getLaterVisibleRevision'](_0x2e50fe){const [,_0x2c2ecc]=this['getRevisionsIterator'](_0x2e50fe,{'direction':'later'});return _0x2c2ecc;}['getRevisionsInDiff'](_0x4c5482){const _0xfac0e9=[];for(const _0x2f019e of this['getRevisionsIterator'](_0x4c5482['newRevisionId']))if(_0xfac0e9['push'](_0x2f019e),_0x2f019e['id']===_0x4c5482['oldRevisionId'])break;return _0xfac0e9;}*['getRevisionsIterator'](_0x1e84c2,{direction:_0x1b0c73='earlier',filter:_0x47d319=_0x32550f=>!0x0}={}){const _0x57c69f='earlier'===_0x1b0c73?0x1:-0x1;let _0x398fc3=this['_revisions']['get'](_0x1e84c2),_0x4756b2=this['getIndex'](_0x398fc3);for(yield _0x398fc3;_0x398fc3;){if(_0x4756b2+=_0x57c69f,_0x398fc3=this['getRevision'](_0x4756b2),!_0x398fc3)return;_0x47d319(_0x398fc3)&&(yield _0x398fc3);}}}function y(_0x1fb0b9,_0x18379e,_0x31643f){const t=_0x1fb0b9['t'];switch(_0x18379e){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'},_0x31643f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x31643f);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x43967f,'a':_0x349386,'e':_0x449ff7,'r':_0x1eac05,'u':_0x1349e8};class l extends _0x1c9ec6{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x250ee9,A,_0x3f617e];}constructor(_0x148e49){super(_0x148e49),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 _0x598490=_0xb0d552();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x598490},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 _0x3a1bbf=this['repository']['getRevision'](0x0),_0x1bfd27=_0x3a1bbf&&null===_0x3a1bbf['creator']?_0x3a1bbf:null;if(this['_continueCurrentRevision']=!!_0x1bfd27&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5e47d9=this['_source']['getCurrentRevisionId'](),_0x5b476c=this['repository']['getRevision'](_0x5e47d9);if(_0x5b476c)this['_startingVersion']=_0x5b476c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2688ed=this['_source']['history']['_operations']['find'](_0x27772b=>!_0x27772b['_isInit']),_0xcf8514=_0x2688ed?_0x2688ed['baseVersion']:this['_source']['history']['version'];_0x3a1bbf?(_0x3a1bbf['toVersion']<_0xcf8514&&_0x3a1bbf['_update']({'toVersion':_0xcf8514}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1bfd27['id'],this['_startingVersion']=_0x1bfd27['fromVersion']):(this['_startingVersion']=_0x3a1bbf['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xcf8514,this['_continueCurrentRevision']=!0x1);}}else _0x1bfd27&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1bfd27['toVersion'],this['editor']['model']['document']['history']['version']),_0x1bfd27['fromVersion']===_0x1bfd27['toVersion']?(0x0!==_0x1bfd27['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1bfd27['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1bfd27['id'],this['_startingVersion']=_0x1bfd27['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',_0x4a47c6=>!_0x4a47c6);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x722f98=this['repository']['getRevision'](0x0),_0x2b3b39=await this['getRevisionDocumentData'](_0x722f98),_0x448e64=await this['getRevisionRootsAttributes'](_0x722f98);this['_replaceEditorDataWithRevisionData'](_0x2b3b39,_0x448e64);}}['setSource'](_0x1d056c){this['_source']=_0x1d056c;}async['update'](){const _0x5a8dd4=await this['_source']['getLatestVersion']();if(_0x5a8dd4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x590d5f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5a8dd4});_0x590d5f['authors']=_0x590d5f['authorsIds']['map'](_0x54d1f6=>this['editor']['plugins']['get']('Users')['getUser'](_0x54d1f6)),this['currentRevision']['_update'](_0x590d5f);}}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'](_0x411563={},_0x1d5cfd=null){const _0x2015f3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1d5cfd>this['currentRevision']['toVersion']&&(_0x1d5cfd=null),null===_0x1d5cfd&&(_0x1d5cfd=await this['_source']['getLatestVersion']());const _0x2a0522=this['_getFromVersion'](_0x1d5cfd),_0x4953de=this['buildRevisionData']({'from':_0x2a0522,'to':_0x1d5cfd});if(this['currentRevision']['toVersion']<_0x1d5cfd){const _0xbd63cd=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1d5cfd,'to':_0x1d5cfd});_0xbd63cd['authors']=[],_0xbd63cd['authorsIds']=[],_0xbd63cd['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xbd63cd,!0x0),delete _0xbd63cd['authors'],_0x2015f3['push'](_0xbd63cd);}_0x411563['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x411563['name']=_0x411563['name']||null,_0x411563['id']=_0x411563['id']||_0xb0d552(),_0x411563={..._0x411563,..._0x4953de};const _0xfcca44=this['addRevisionData'](_0x411563);_0x2015f3['push'](_0x411563);const _0x39faee=this['repository']['getIndex'](_0xfcca44);if(0x0!==_0x39faee){const _0x740538=this['repository']['getRevision'](_0x39faee-0x1);if(_0x740538['fromVersion']!==_0x1d5cfd){const _0x3c96a1=this['_revisionDataBuilder']['getData'](_0x1d5cfd,_0x740538['toVersion']),_0x32bda2={'id':_0x740538['id'],'diffData':_0x3c96a1['diffData'],'authorsIds':_0x3c96a1['authorsIds'],'authors':_0x3c96a1['authorsIds']['map'](_0x219d89=>this['editor']['plugins']['get']('Users')['getUser'](_0x219d89)),'fromVersion':_0x1d5cfd};_0x740538===this['currentRevision']&&(_0x32bda2['createdAt']=new Date(_0x411563['createdAt']['getTime']()+0xa)),_0x740538['_update'](_0x32bda2,!0x0),delete _0x32bda2['authors'],_0x2015f3['push'](_0x32bda2);}}if(this['adapter']){for(const _0x5ac03a of _0x2015f3)this['_bufferUpdate'](_0x5ac03a['id'],_0x5ac03a,!0x0);this['sendBufferedUpdates']();}return _0xfcca44;}['addRevisionData'](_0x285b39){const _0x348737=this['repository']['createRevision'](_0x285b39);return this['adapter']&&_0x348737['on']('_update',(_0x4d03ef,_0x41c8b0,_0x44a081)=>{_0x44a081||(this['_bufferUpdate'](_0x41c8b0['id'],_0x41c8b0,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x348737,this['_findInsertionIndex'](_0x348737)),_0x348737;}async['getRevisionDocumentData'](_0x3f8c80){await this['_loadRevisionData'](_0x3f8c80);const _0x44ebb0={};for(const _0x47c0e1 in _0x3f8c80['diffData']){if(_0x3f8c80['diffData'][_0x47c0e1]['attachChange']&&!_0x3f8c80['diffData'][_0x47c0e1]['attachChange']['isAttached'])continue;const _0x5c9365=this['_removeRevisionMarkers'](JSON['parse'](_0x3f8c80['diffData'][_0x47c0e1]['insertions'])),_0x30eff4=this['editor']['editing']['view']['document'],_0x430311=new _0x15d7a4(_0x30eff4,_0x5c9365['map'](_0x3dca66=>B(_0x3dca66,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x44ebb0[_0x47c0e1]=this['editor']['data']['processor']['toData'](_0x430311),this['editor']['data']['processor']['useFillerType']('default');}return _0x44ebb0;}async['getRevisionRootsAttributes'](_0x59c424){await this['_loadRevisionData'](_0x59c424);const _0x1d9be6={};for(const _0x38546b in _0x59c424['diffData'])_0x59c424['diffData'][_0x38546b]['attachChange']&&!_0x59c424['diffData'][_0x38546b]['attachChange']['isAttached']||(_0x1d9be6[_0x38546b]=_0x59c424['diffData'][_0x38546b]['attributesAfter']||{});return _0x1d9be6;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x526354=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x445244=0x0;_0x445244<_0x526354['length'];_0x445244++){const _0x22cd25=_0x526354[_0x445244];let _0x3f4e6=!0x1;for(const _0x58f221 of Object['keys'](_0x22cd25))void 0x0===_0x22cd25[_0x58f221]?delete _0x22cd25[_0x58f221]:'id'!==_0x58f221&&(_0x3f4e6=!0x0);_0x3f4e6||(_0x526354[_0x445244]=null);}if(_0x526354=_0x526354['filter'](_0xe3850e=>null!==_0xe3850e),!_0x526354['length'])return;for(let _0x45b713=0x0;_0x45b713<_0x526354['length'];_0x45b713++){const _0x363185=_0x526354[_0x45b713];void 0x0!==_0x363185['fromVersion']&&void 0x0===_0x363185['toVersion']&&(_0x363185['toVersion']=this['repository']['getRevision'](_0x363185['id'])['toVersion']),void 0x0!==_0x363185['toVersion']&&void 0x0===_0x363185['fromVersion']&&(_0x363185['fromVersion']=this['repository']['getRevision'](_0x363185['id'])['fromVersion']);}const _0x35ff87=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x526354,_0x35ff87)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x11b154=>{if(_0x11b154){for(const _0x2890c4 of _0x11b154)this['setRevisionData']({'id':_0x2890c4['id'],'createdAt':_0x2890c4['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4779ad,_0x18cf98){let _0x3ddeb6=this['editor']['config']['get']('initialData'),_0x262d0d=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3ddeb6){_0x3ddeb6={};for(const _0x2437a6 of this['editor']['model']['document']['getRootNames']())_0x3ddeb6[_0x2437a6]='';}if('string'==typeof _0x3ddeb6&&(_0x3ddeb6={'main':_0x3ddeb6}),void 0x0===_0x262d0d){_0x262d0d={};for(const _0x2527d3 of this['editor']['model']['document']['getRootNames']())_0x262d0d[_0x2527d3]={};}let _0x13423f=!0x1;const _0x5b9f21=Object['keys'](_0x3ddeb6),_0x2df3f9=Object['keys'](_0x4779ad);for(const _0x480c9d of _0x5b9f21){if(_0x3ddeb6[_0x480c9d]!==_0x4779ad[_0x480c9d]&&''!==_0x3ddeb6[_0x480c9d]['trim']()){_0x13423f=!0x0;break;}if(!_0x1d56a8(_0x262d0d[_0x480c9d],_0x18cf98[_0x480c9d])&&Object['keys'](_0x262d0d[_0x480c9d])['length']>0x0){_0x13423f=!0x0;break;}}_0x13423f||(_0x13423f=_0x2df3f9['some'](_0x4ddcb4=>!this['editor']['model']['document']['getRoot'](_0x4ddcb4))),_0x13423f&&_0x376424('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3ddeb6,'editorRootsAttributes':_0x262d0d,'revisionData':_0x4779ad,'revisionRootsAttributes':_0x18cf98}),this['editor']['config']['set']('initialData',_0x4779ad),this['editor']['config']['set']('rootsAttributes',_0x18cf98);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3ed1d8=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3ed1d8['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x30ff6b){const _0x4325ac=this['repository']['getRevisions']();_0x4325ac['reverse']();let _0x210d4e=0x0;for(;_0x210d4e<_0x4325ac['length'];){const _0x33adbb=_0x4325ac[_0x210d4e];if(_0x33adbb===this['currentRevision']){_0x210d4e++;continue;}if(_0x33adbb['id']===this['_initialRevisionId'])break;const _0x545641=_0x30ff6b['toVersion']-_0x33adbb['toVersion']||_0x30ff6b['fromVersion']-_0x33adbb['fromVersion'];if(_0x545641>0x0)break;if(_0x545641<0x0)_0x210d4e++;else{if(!_0x30ff6b['creator']&&_0x33adbb['creator'])break;if(_0x33adbb['creator']||!_0x30ff6b['creator']){if(_0x30ff6b['createdAt']>_0x33adbb['createdAt'])break;_0x210d4e++;}else _0x210d4e++;}}return _0x210d4e;}['setRevisionData'](_0x33a306){const _0x1715a1=this['repository']['getRevision'](_0x33a306['id']);if(_0x33a306['createdAt']&&(_0x33a306['createdAt']=new Date(_0x33a306['createdAt'])),_0x33a306['authorsIds']){const _0x87afd1=this['editor']['plugins']['get']('Users');_0x33a306['authors']=_0x33a306['authorsIds']['map'](_0x28fb07=>_0x87afd1['getUser'](_0x28fb07));}_0x1715a1['_update'](_0x33a306,!0x0);}['buildRevisionData']({revision:_0x281cf4=null,from:_0x28403d=null,to:_0x71063d=null}){_0x28403d=null!==_0x28403d?_0x28403d:_0x281cf4['fromVersion'],_0x71063d=null!==_0x71063d?_0x71063d:_0x281cf4['toVersion'];const _0x54e864=this['_revisionDataBuilder']['getData'](_0x28403d,_0x71063d),_0x35f02e={'diffData':_0x54e864['diffData'],'authorsIds':_0x54e864['authorsIds'],'fromVersion':_0x28403d,'toVersion':_0x71063d};if(!_0x281cf4||_0x71063d!==_0x281cf4['toVersion']){const _0x5a2ec6=_0x71063d-0x1,_0x4ac315=this['_source']['history']['getOperation'](_0x5a2ec6);_0x35f02e['createdAt']=_0x4ac315&&_0x4ac315['createdAt']||new Date();}if(this['_loadedStateData']&&_0x28403d===this['_loadedStateData']['fromVersion']){for(const _0x3bd769 of this['_loadedStateData']['authors'])_0x35f02e['authorsIds']['includes'](_0x3bd769['id'])||_0x35f02e['authorsIds']['push'](_0x3bd769['id']);}return _0x35f02e;}['_loadRevisionData'](_0xc3088c){if(!_0xc3088c||_0xc3088c['diffData'])return Promise['resolve']();{const _0x58b2bd=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x58b2bd,'revisionId':_0xc3088c['id']})['then'](_0x5ecca3=>{_0xc3088c['diffData']=_0x5ecca3['diffData'];});}}['_bufferUpdate'](_0xc470f6,_0x184278,_0x221fd9){if(this['_bufferedUpdates']['has'](_0xc470f6)){const _0x2589fe=this['_bufferedUpdates']['get'](_0xc470f6);_0x184278=_0x221fd9?{..._0x2589fe,..._0x184278}:{..._0x184278,..._0x2589fe};}this['_bufferedUpdates']['set'](_0xc470f6,_0x184278);}['_getFromVersion'](_0x344596){const _0x18de4c=this['repository']['getRevisions']();_0x18de4c['reverse'](),_0x18de4c['shift']();const _0x545be5=_0x18de4c['find'](_0x91560b=>_0x91560b['toVersion']<=_0x344596)['toVersion'];return _0x545be5<this['_startingVersion']?this['_startingVersion']:_0x545be5;}['_createInitialRevision'](_0x4b6ad5){const _0x38f77f=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x38f77f)this['_initialRevisionId']=_0x38f77f['id'];else{const _0xe45fa4=!this['editor']['model']['document']['roots']['find'](_0x2394c0=>this['editor']['model']['hasContent'](_0x2394c0)),_0x2ad941=this['editor']['plugins']['get']('Users')['me']['id'],_0xd8a020=y(this['editor']['locale'],_0xe45fa4?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4b6ad5,'to':_0x4b6ad5,'id':this['_initialRevisionId'],'name':_0xd8a020,'creatorId':_0x2ad941});}}['_createCurrentRevision'](_0x4f7f4c){const _0x1f17ad=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1f17ad),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4f7f4c,'to':_0x4f7f4c,'id':_0x1f17ad,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4b0d6e,from:_0x188634,to:_0xaa4fc7,creatorId:_0x4d3565,id:_0x24c108}){const _0x1bffa0=this['buildRevisionData']({'from':_0x188634,'to':_0xaa4fc7});_0x1bffa0['name']=_0x4b0d6e,_0x1bffa0['creatorId']=_0x4d3565,_0x1bffa0['id']=_0x24c108;const _0x3370e4=this['addRevisionData'](_0x1bffa0);return this['adapter']&&this['_bufferUpdate'](_0x1bffa0['id'],_0x1bffa0,!0x0),_0x3370e4;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xf5effb){return(_0xf5effb=_0xf5effb['filter'](_0x2ea8ce=>!_0x2ea8ce['name']||'revision-start'!==_0x2ea8ce['name']&&'revision-end'!==_0x2ea8ce['name']))['forEach'](_0x37a4fb=>{'string'!=typeof _0x37a4fb&&(_0x37a4fb['children']=this['_removeRevisionMarkers'](_0x37a4fb['children']),_0x37a4fb['attributes']=_0x37a4fb['attributes']['filter'](_0x102c94=>!_0x102c94[0x0]['startsWith']('data-revision-')));}),_0xf5effb;}}function B(_0x278a15,_0x509857){const _0x4d849d=_0x509857['editing']['view']['document'];if('string'==typeof _0x278a15)return new _0x136c5f(_0x4d849d,_0x278a15);{const _0xe3dd26=_0x278a15['children']['map'](_0x1079b6=>B(_0x1079b6,_0x509857));return new(T[_0x278a15['type']]||_0x50f2ba)(_0x4d849d,_0x278a15['name'],_0x278a15['attributes'],_0xe3dd26);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5ca5b6){this['editor']=_0x5ca5b6,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'](_0x412454){this['source']=_0x412454;const _0x1a925f=new Map(),_0x312476=new Map(),_0x316c2e=this['editor']['model']['document']['roots']['map'](_0x442b4b=>_0x442b4b['rootName']);for(const _0xa04bfb of _0x316c2e){const _0x1ea8f5=this['editor']['model']['document']['getRoot'](_0xa04bfb),_0x576174=q(_0x1ea8f5);_0x1a925f['set'](_0xa04bfb,_0x576174),_0x312476['set'](_0xa04bfb,Object['fromEntries'](_0x1ea8f5['getAttributes']()));}const _0x406960=Array['from'](this['editor']['model']['markers'])['map'](_0x4876d8=>[_0x4876d8['name'],_0x4876d8['getRange']()]),_0x1445b1=this['source']['version'];this['_saveMetaData'](_0x1445b1,_0x1a925f,_0x406960,_0x312476),this['_startingRevisionId']=this['_revisionId'];const _0x3a7e78=new Map(),_0xe7a4b6=new Map();for(const _0x205973 of _0x316c2e){const _0x4f7795=G(_0x205973);_0x3a7e78['set'](_0x205973,_0x4f7795),_0xe7a4b6['set'](_0x205973,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3a7e78,[],_0xe7a4b6);}['getData'](_0x240750,_0x4c47dc){if(this['_lastFrom']===_0x240750&&this['_lastTo']<=_0x4c47dc)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4c47dc,!0x0);else{if(!this['_savedMetaData']['has'](_0x240750)){const _0x3992cf=this['_getPreviousFrom'](_0x240750);this['_calculateMetaData'](_0x3992cf,_0x240750,!0x1);}this['_calculateMetaData'](_0x240750,_0x4c47dc,!0x0);}return this['_lastFrom']=_0x240750,this['_lastTo']=_0x4c47dc,this['_getState']();}['loadState'](_0x2c7485){this['_reset'](),this['_lastFrom']=_0x2c7485['fromVersion'],this['_lastTo']=_0x2c7485['toVersion'];for(const _0xb9d2f2 in _0x2c7485['diffData']){const _0x3c5720=_0x2c7485['diffData'][_0xb9d2f2]['attachChange'],_0x50382a=_0x317f28(_0x2c7485['diffData'][_0xb9d2f2]['attributesBefore'])||{},_0x555f3a=this['_makeModelFromViewString'](_0x2c7485['diffData'][_0xb9d2f2]['deletions']);_0x555f3a['rootName']=_0xb9d2f2,_0x555f3a['_isAttached']=!_0x3c5720||!_0x3c5720['isAttached'],_0x555f3a['isAttached']=()=>_0x555f3a['_isAttached'],this['_baseRoots']['set'](_0xb9d2f2,_0x555f3a),this['_baseRootsAttributes']['set'](_0xb9d2f2,_0x50382a),_0x3c5720&&this['_touchedRoots']['set'](_0xb9d2f2,_0x3c5720);const _0x48b632=this['_makeIdsRoot'](_0x555f3a);this['_baseIdsRoots']['set'](_0xb9d2f2,_0x48b632);for(const [_0x5034bb,_0x4e7b8b]of _0x555f3a['markers']){if(!_0x5034bb['startsWith']('revision:'))continue;const _0x159a48=_0x5034bb['split'](':')[0x2];for(const _0x4f5c78 of _0x4e7b8b['getWalker']({'singleCharacters':!0x0})){const _0x463184=this['_getVidAttributeName'](_0x4f5c78),_0x3cd4c0='elementEnd'==_0x4f5c78['type']?_0x4f5c78['previousPosition']['path']['slice'](0x0,-0x1):_0x4f5c78['previousPosition']['path'],_0x50d967=_0x48b632['getNodeByPath'](_0x3cd4c0)['getAttribute'](_0x463184);this['_touched']['set'](_0x50d967,{'userId':_0x159a48});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4503cb=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2db1c8=>!this['_touched']['has'](_0x2db1c8));let _0x27857b=0x0;const _0x1332e4=new Map();for(const _0x39078c in _0x2c7485['diffData']){const _0x5adbde=_0x2c7485['diffData'][_0x39078c]['attachChange'],_0x1cf967=_0x317f28(_0x2c7485['diffData'][_0x39078c]['attributesAfter'])||{},_0x1984d4=this['_makeModelFromViewString'](_0x2c7485['diffData'][_0x39078c]['insertions']);_0x1984d4['rootName']=_0x39078c,_0x1984d4['_isAttached']=!_0x5adbde||_0x5adbde['isAttached'],_0x1984d4['isAttached']=()=>_0x1984d4['_isAttached'],this['_diffRoots']['set'](_0x39078c,_0x1984d4),this['_diffRootsAttributes']['set'](_0x39078c,_0x1cf967);const _0x281e7d=this['_makeIdsRoot'](_0x1984d4,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x39078c,_0x281e7d),_0x1332e4['set'](_0x39078c,_0x1984d4['isAttached']()?_0x1cf967:{});for(const [_0x35accb,_0x5c174c]of _0x1984d4['markers']){if(!_0x35accb['startsWith']('revision:'))continue;const _0x293bf5=_0x35accb['split'](':')[0x2];for(const _0xe7f08d of _0x5c174c['getWalker']({'singleCharacters':!0x0})){const _0x51d85d=this['_getVidAttributeName'](_0xe7f08d),_0x556571=this['_revisionId']++,_0xe10d29='elementEnd'==_0xe7f08d['type']?_0xe7f08d['previousPosition']['path']['slice'](0x0,-0x1):_0xe7f08d['previousPosition']['path'];_0x281e7d['getNodeByPath'](_0xe10d29)['_setAttribute'](_0x51d85d,_0x556571),this['_touched']['set'](_0x556571,{'userId':_0x293bf5});}}for(const _0x69ab64 of this['editor']['model']['createRangeIn'](_0x1984d4)['getWalker']({'singleCharacters':!0x0})){const _0x1db757=this['_getVidAttributeName'](_0x69ab64),_0x210a1a='elementEnd'==_0x69ab64['type']?_0x69ab64['previousPosition']['path']['slice'](0x0,-0x1):_0x69ab64['previousPosition']['path'],_0x362a33=_0x281e7d['getNodeByPath'](_0x210a1a);_0x362a33['getAttribute'](_0x1db757)>0x0||_0x362a33['_setAttribute'](_0x1db757,_0x4503cb[_0x27857b++]);}for(const [_0x5bac14,_0x331909]of _0x1984d4['markers'])_0x5bac14['startsWith']('revision:')||this['_markers']['set'](_0x5bac14,_0x331909);}const _0x3aae9c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3aae9c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3aae9c,0x1));const _0x3a99cd=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3a99cd),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3a99cd,0x1));const _0xe0190d=Array['from'](this['_diffRoots'])['map'](([_0x5955ad,_0x31a06c])=>[_0x5955ad,q(_0x31a06c)]);this['_saveMetaData'](this['_lastTo'],_0xe0190d,this['_markers'],_0x1332e4);}['_makeModelFromViewString'](_0x7f0ed5){const _0x3a54e9=JSON['parse'](_0x7f0ed5),_0x4611ce=this['editor']['editing']['view']['document'],_0x300bbb=new _0x15d7a4(_0x4611ce,_0x3a54e9['map'](_0x5b9990=>B(_0x5b9990,this['editor'])));return this['editor']['data']['toModel'](_0x300bbb);}['_saveMetaData'](_0x135271,_0x4af384,_0x3213dd,_0x2ac1ac){const _0x5ea7ee=new Map(_0x4af384),_0x1659c3=new Map(_0x317f28(_0x2ac1ac)),_0x545011=new Map();for(const [_0x1b8287,_0x3b83fe]of _0x3213dd)_0x545011['set'](_0x1b8287,{'start':_0x3b83fe['start']['clone'](),'end':_0x3b83fe['end']['clone'](),'rootName':_0x3b83fe['root']['rootName']});this['_savedMetaData']['set'](_0x135271,{'roots':_0x5ea7ee,'markers':_0x545011,'rootsAttributes':_0x1659c3});}['_removeMetaData'](_0x12ff95){this['_savedMetaData']['delete'](_0x12ff95);}['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'](_0x1ad28a,_0x3833c1=null){let _0x21d423=null;_0x1ad28a['is']('documentFragment')||(_0x21d423=new ft(_0x1ad28a['name'],{'vid_start':null===_0x3833c1?this['_revisionId']++:_0x3833c1++}));const _0x5bafe5=[];for(const _0x14ac28 of _0x1ad28a['getChildren']())if(_0x14ac28['is']('element')){_0x5bafe5['push'](this['_makeIdsRoot'](_0x14ac28,_0x3833c1));const _0x28e9ee=_0x5bafe5[_0x5bafe5['length']-0x1];null!==_0x3833c1&&(_0x3833c1=_0x28e9ee['is']('element','$text')?_0x28e9ee['getAttribute']('vid')+0x1:_0x28e9ee['getAttribute']('vid_end')+0x1);}else{for(let _0xfbed3d=0x0;_0xfbed3d<_0x14ac28['offsetSize'];_0xfbed3d++)_0x5bafe5['push'](new ft('$text',{'vid':null===_0x3833c1?this['_revisionId']++:_0x3833c1++}));}if(_0x1ad28a['is']('documentFragment')){const _0x7ac903=G(_0x1ad28a['rootName']);return _0x7ac903['_insertChild'](0x0,_0x5bafe5),_0x7ac903;}return _0x21d423['_setAttribute']('vid_end',null===_0x3833c1?this['_revisionId']++:_0x3833c1++),_0x21d423['_insertChild'](0x0,_0x5bafe5),_0x21d423;}['_calculateMetaData'](_0x19e03d,_0x5dc6b,_0x1309ca){this['_reset']();const {roots:_0x3b0198,markers:_0x68c61,rootsAttributes:_0x5b72a1}=this['_savedMetaData']['get'](_0x19e03d);this['_baseRoots']=new Map(_0x3b0198),this['_baseRootsAttributes']=new Map(_0x317f28(_0x5b72a1));for(const [_0x24e573,_0x15f725]of this['_baseRoots'])if('$graveyard'!==_0x24e573&&(this['_diffRoots']['set'](_0x24e573,q(_0x15f725)),this['_diffRootsAttributes']=new Map(_0x317f28(_0x5b72a1)),_0x1309ca)){const _0xd62fa4=this['_revisionId'];this['_idsRoots']['set'](_0x24e573,this['_makeIdsRoot'](_0x15f725)),this['_baseIdsRoots']['set'](_0x24e573,this['_makeIdsRoot'](_0x15f725,_0xd62fa4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x1309ca&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xadc506,_0x5a4dab]of _0x68c61){const _0xa68485=this['_baseRoots']['get'](_0x5a4dab['rootName']),_0x26d148=this['_diffRoots']['get'](_0x5a4dab['rootName']),_0x506292=new vt(this['_fixPosition'](_0x5a4dab['start'],_0xa68485),this['_fixPosition'](_0x5a4dab['end'],_0xa68485)),_0x26eecd=this['_fixRange'](_0x506292,_0x26d148);_0xa68485['markers']['set'](_0xadc506,_0x506292),this['_markers']['set'](_0xadc506,_0x26eecd);}this['_applyOperations'](_0x19e03d,_0x5dc6b,_0x1309ca);}['_applyOperations'](_0x3a58b1,_0x454f89,_0x5a7a1e){for(const _0x386d41 of this['source']['getOperations'](_0x3a58b1,_0x454f89))this['_handleOperation'](_0x386d41,_0x5a7a1e);for(const _0x16a074 of this['_diffRoots']['values']())_0x16a074['markers']['clear']();for(const [_0x32ecf0,_0xb02883]of this['_markers']){this['_diffRoots']['get'](_0xb02883['root']['rootName'])['markers']['set'](_0x32ecf0,_0xb02883['clone']());}const _0x4b5cf0=new Map(),_0x40fa8f=new Map();for(const [_0x56e917,_0x47b1bf]of this['_diffRoots'])_0x4b5cf0['set'](_0x56e917,q(_0x47b1bf)),_0x40fa8f['set'](_0x56e917,this['_diffRootsAttributes']['get'](_0x56e917));this['_saveMetaData'](_0x454f89,_0x4b5cf0,this['_markers'],_0x40fa8f);}['_getPreviousFrom'](_0x1814af){const _0x250ce9=Array['from'](this['_savedMetaData']['keys']());_0x250ce9['sort']((_0x87465f,_0x6bbd9)=>_0x87465f-_0x6bbd9),_0x250ce9['reverse']();for(const _0xe6dabb of _0x250ce9)if(_0xe6dabb<_0x1814af)return _0xe6dabb;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5bffb0,_0x1a88f1){const _0x1ee585=Array['from'](_0x1a88f1['markers'])['map'](([_0x1bacc5,_0x5f6358])=>[_0x1bacc5,this['_fixRange'](_0x5f6358,_0x5bffb0)]);_0x5bffb0['markers']=new Map(_0x1ee585);}['_transformMarkers'](_0x203685){for(const _0x54f20d of this['_markers']['values']()){const _0xb06b0a=_0x54f20d['getTransformedByOperation'](_0x203685),_0x4974e4=vt['_createFromRanges'](_0xb06b0a);_0x54f20d['start']=_0x4974e4['start'],_0x54f20d['end']=_0x4974e4['end'];}}['_handleOperation'](_0x22ca44,_0x4e3b2b){if('addRoot'==_0x22ca44['type']||'detachRoot'==_0x22ca44['type'])return void this['_handleRootOperation'](_0x22ca44,_0x4e3b2b);if('insert'==_0x22ca44['type']){const _0x2a8921=_0x22ca44['position']['root']['rootName'];this['_diffRoots']['has'](_0x2a8921)||(this['_diffRoots']['set'](_0x2a8921,G(_0x2a8921,!0x0)),this['_diffRootsAttributes']['set'](_0x2a8921,{}),_0x4e3b2b&&this['_idsRoots']['set'](_0x2a8921,G(_0x2a8921,!0x0)));}else{if('addRootAttribute'==_0x22ca44['type']||'removeRootAttribute'==_0x22ca44['type']||'changeRootAttribute'==_0x22ca44['type'])return void this['_handleRootAttributeOperation'](_0x22ca44);}const _0x5bd5e1=this['_cloneOperation'](_0x22ca44,this['_diffRoots']);if('marker'!==_0x22ca44['type']&&(_0x5bd5e1['_execute'](),this['_transformMarkers'](_0x5bd5e1)),_0x4e3b2b)switch(_0x5bd5e1['type']){case'insert':this['_handleInsertOperation'](_0x22ca44);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x22ca44);break;case'merge':this['_handleMergeOperation'](_0x22ca44);break;case'split':this['_handleSplitOperation'](_0x22ca44);break;case'marker':this['_handleMarkerOperation'](_0x22ca44);}}['_cloneOperation'](_0x5ccdb0,_0x352dd2){const _0x2582c5=_0x5ccdb0['clone']();return _0x2582c5['_authorId']=_0x5ccdb0['_authorId'],this['_fixOperation'](_0x2582c5,_0x352dd2),_0x2582c5;}['_getBaseVids'](_0x1bbb05){return _0x1bbb05['map'](_0x217ffc=>{const _0x17a5e1=this['_getVidAttributeName'](_0x217ffc);return Number(_0x217ffc['item']['getAttribute'](_0x17a5e1));});}['_generateTape'](_0x34c1b3,_0x357d3a){if(_0x34c1b3['is']('element','$text'))_0x357d3a['push']({'item':_0x34c1b3,'type':'text'});else{_0x34c1b3['is']('element')&&_0x357d3a['push']({'item':_0x34c1b3,'type':'elementStart'});for(const _0x2202f8 of _0x34c1b3['getChildren']())this['_generateTape'](_0x2202f8,_0x357d3a);_0x34c1b3['is']('element')&&_0x357d3a['push']({'item':_0x34c1b3,'type':'elementEnd'});}return _0x357d3a;}['_getState'](){const _0x450d90=new Map(this['_touched']),_0x9c2c84=new Map(_0x450d90),_0x198f77=new Map(),_0x116f82={'insertions':{},'deletions':{}},_0x51abd3={'insertions':{},'deletions':{}},_0x21003e=new Map(),_0x42e893=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x42e893['delete']('$graveyard');for(const _0x26f1f8 of _0x42e893){const _0x14f506=this['_diffRoots']['get'](_0x26f1f8)||G(_0x26f1f8,!0x1),_0x5ee3c9=this['_baseRoots']['get'](_0x26f1f8)||G(_0x26f1f8,!0x1);_0x14f506['isAttached']()||_0x5ee3c9['isAttached']()?(_0x116f82['insertions'][_0x26f1f8]=q(_0x14f506),_0x116f82['deletions'][_0x26f1f8]=q(_0x5ee3c9),this['_copyMarkers'](_0x116f82['deletions'][_0x26f1f8],_0x5ee3c9),this['_copyMarkers'](_0x116f82['insertions'][_0x26f1f8],_0x14f506),_0x51abd3['insertions'][_0x26f1f8]=this['_generateTape'](this['_idsRoots']['get'](_0x26f1f8),[]),_0x51abd3['deletions'][_0x26f1f8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x26f1f8)||G(_0x26f1f8,!0x1),[])):_0x42e893['delete'](_0x26f1f8);}for(const _0x22577a of _0x42e893){const _0x2cc1c1=_0x51abd3['insertions'][_0x22577a];for(const _0x102182 of _0x2cc1c1){const _0x38c103=this['_getVidAttributeName'](_0x102182),_0x1876fd=_0x102182['item']['getAttribute'](_0x38c103);_0x9c2c84['delete'](_0x1876fd),_0x1876fd>=this['_startingRevisionId']&&_0x198f77['set'](_0x1876fd,_0x450d90['get'](_0x1876fd));}}for(const _0x12723f of _0x42e893){const _0x17793f=_0x51abd3['insertions'][_0x12723f],_0x4e8b8e=this['_getBaseVids'](_0x51abd3['deletions'][_0x12723f]);let _0x58ca72=0x0;for(const _0x1e92a6 of _0x17793f){const _0x1449ac=this['_getVidAttributeName'](_0x1e92a6),_0x5c81b6=_0x1e92a6['item']['getAttribute'](_0x1449ac);if(!_0x198f77['has'](_0x5c81b6)&&!_0x21003e['has'](_0x5c81b6)){if(_0x9c2c84['has'](_0x5c81b6))_0x58ca72++;else{if(_0x5c81b6!=_0x4e8b8e[_0x58ca72]){const _0x11c3af=_0x450d90['get'](_0x5c81b6)||_0x450d90['get'](_0x4e8b8e[_0x58ca72]);for(;_0x5c81b6!=_0x4e8b8e[_0x58ca72];)_0x9c2c84['has'](_0x4e8b8e[_0x58ca72])||(_0x21003e['set'](_0x4e8b8e[_0x58ca72],_0x11c3af),_0x450d90['set'](_0x4e8b8e[_0x58ca72],_0x11c3af)),_0x58ca72++;}_0x58ca72++;}}}}for(const _0x1438a4 of _0x42e893){const _0x3d5762=_0x51abd3['insertions'][_0x1438a4];for(const _0x3c8a1b of _0x3d5762){const _0x632a81=this['_getVidAttributeName'](_0x3c8a1b),_0x16c070=_0x3c8a1b['item']['getAttribute'](_0x632a81);if(_0x21003e['has'](_0x16c070)){const _0x3a866c=_0x21003e['get'](_0x16c070);_0x9c2c84['has'](_0x16c070)||_0x9c2c84['set'](_0x16c070,{..._0x3a866c}),_0x198f77['set'](_0x16c070,{..._0x3a866c});}}}for(const _0x3f5ab6 of _0x9c2c84['keys']())_0x3f5ab6>=this['_startingRevisionId']&&_0x9c2c84['delete'](_0x3f5ab6);const _0xa53e9b=new Map();for(const _0x582d3a of _0x42e893){let _0x1f56bb=_0x51abd3['insertions'][_0x582d3a];for(const _0x28168e of _0x1f56bb)if(_0x28168e['item']['is']('element','tableCell')){const _0x288ed0=this['_getVidAttributeName'](_0x28168e),_0x58e0c7=_0x28168e['item']['getAttribute'](_0x288ed0);if(_0x198f77['has'](_0x58e0c7)){const _0x48ba16=_0x28168e['item']['parent']['parent']['getAttribute']('vid_start'),_0x1ef404=_0xa53e9b['get'](_0x48ba16)||new Set();_0x1ef404['add'](_0x198f77['get'](_0x58e0c7)['userId']),_0xa53e9b['set'](_0x48ba16,_0x1ef404);}}_0x1f56bb=_0x51abd3['deletions'][_0x582d3a];for(const _0x29dc0a of _0x1f56bb)if(_0x29dc0a['item']['is']('element','tableCell')){const _0x212d14=this['_getVidAttributeName'](_0x29dc0a),_0x4baf6d=_0x29dc0a['item']['getAttribute'](_0x212d14);if(_0x9c2c84['has'](_0x4baf6d)){const _0x43fd89=_0x29dc0a['item']['parent']['parent']['getAttribute']('vid_start'),_0x1f27a0=_0xa53e9b['get'](_0x43fd89)||new Set();_0x1f27a0['add'](_0x9c2c84['get'](_0x4baf6d)['userId']),_0xa53e9b['set'](_0x43fd89,_0x1f27a0);}}for(const _0x3f6bed of _0xa53e9b['keys']())(_0x198f77['has'](_0x3f6bed)||_0x9c2c84['has'](_0x3f6bed))&&_0xa53e9b['delete'](_0x3f6bed);}for(const _0x498b7f of _0x42e893){const _0xf4ed25=_0x51abd3['insertions'][_0x498b7f];let _0x496400=null,_0x3dddc8=null;for(const _0x4a6518 of _0xf4ed25){const _0x43599f=this['_getVidAttributeName'](_0x4a6518),_0x13d0e7=_0x4a6518['item']['getAttribute'](_0x43599f),_0x65a189=_0xa53e9b['get'](_0x13d0e7);_0x65a189&&'elementStart'==_0x4a6518['type']&&(_0x496400=Array['from'](_0x65a189)[0x0],_0x3dddc8=_0x4a6518['item']['getAttribute']('vid_end')),_0x496400&&(_0x9c2c84['set'](_0x13d0e7,{'userId':_0x496400}),_0x198f77['set'](_0x13d0e7,{'userId':_0x496400})),_0x13d0e7==_0x3dddc8&&(_0x496400=null,_0x3dddc8=null);}}const _0x43c541={},_0x578276=new Set();for(const _0x195d54 of _0x42e893){const _0x59b243=_0x116f82['deletions'][_0x195d54],_0x1a8e93=_0x116f82['insertions'][_0x195d54];for(const {userId:_0x36b9b6}of this['_touchedMarkers']['values']())null!==_0x36b9b6&&_0x578276['add'](_0x36b9b6);for(const {userId:_0x575d94}of this['_touchedRoots']['values']())null!==_0x575d94&&_0x578276['add'](_0x575d94);this['_markChanges'](_0x1a8e93,_0x51abd3['insertions'][_0x195d54],_0x198f77,'insertion',_0x578276),this['_markChanges'](_0x59b243,_0x51abd3['deletions'][_0x195d54],_0x9c2c84,'deletion',_0x578276),_0x43c541[_0x195d54]={'insertions':this['_prepareViewToSave'](_0x1a8e93),'deletions':this['_prepareViewToSave'](_0x59b243),'attachChange':this['_touchedRoots']['get'](_0x195d54)||null,'attributesBefore':_0x317f28(this['_baseRootsAttributes']['get'](_0x195d54))||{},'attributesAfter':_0x317f28(this['_diffRootsAttributes']['get'](_0x195d54))};}return{'diffData':_0x43c541,'authorsIds':Array['from'](_0x578276)};}['_processRootBeforeSave'](_0x5c63e8){for(const [,_0x38243b]of _0x5c63e8['markers']){const _0x493b34=_0x38243b['start']['getAncestors']()['filter'](_0x295f44=>'tableCell'==_0x295f44['name']);for(const _0x1d077f of _0x493b34)0x1==_0x1d077f['childCount']&&_0x1d077f['getChild'](0x0)['is']('element','paragraph')&&_0x1d077f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x339520){this['_processRootBeforeSave'](_0x339520);const _0x4ac29e=this['editor']['data']['toView'](_0x339520,{}),_0x33a6ee=Array['from'](_0x4ac29e['getChildren']())['map'](_0x463e8d=>this['_getViewJson'](_0x463e8d));return JSON['stringify'](_0x33a6ee);}['_getViewJson'](_0x326988){if(_0x326988['is']('$text'))return _0x326988['data'];{const _0x2c01db=_0x326988;return{'type':Object['keys'](T)['find'](_0x28763e=>_0x326988 instanceof T[_0x28763e]),'name':_0x2c01db['name'],'attributes':Array['from'](_0x2c01db['getAttributes']()),'children':Array['from'](_0x2c01db['getChildren']())['map'](_0x24becf=>this['_getViewJson'](_0x24becf))};}}['_markChanges'](_0x56ee2b,_0x35ba03,_0x34c1e7,_0x104307,_0x313b36){let _0x3ca9fc=null,_0x2a9787=null,_0x4dbd55=0x0;const _0x10f6bb=this['editor']['model'];for(let _0x225def=0x0;_0x225def<_0x35ba03['length'];_0x225def++){const _0x47efdf=this['_getVidAttributeName'](_0x35ba03[_0x225def]),_0x27dd16=_0x35ba03[_0x225def]['item']['getAttribute'](_0x47efdf),_0x3a2e76=_0x34c1e7['get'](_0x27dd16),_0x355fb2=_0x225def==_0x35ba03['length']-0x1;(!_0x3ca9fc&&_0x3a2e76&&(_0x3ca9fc=_0x3a2e76,_0x2a9787=_0x35ba03[_0x225def]),_0x3ca9fc&&(!_0x3a2e76||_0x3a2e76['userId']!=_0x3ca9fc['userId']))&&(_0x39d346(_0x3a2e76,L(_0x2a9787,_0x56ee2b,_0x10f6bb),L(_0x35ba03[_0x225def],_0x56ee2b,_0x10f6bb)),_0x3ca9fc=_0x3a2e76||null,_0x2a9787=_0x3a2e76?_0x35ba03[_0x225def]:null),_0x3ca9fc&&_0x355fb2&&_0x39d346(_0x3a2e76,L(_0x2a9787,_0x56ee2b,_0x10f6bb),W(_0x35ba03[_0x225def],_0x56ee2b,_0x10f6bb));}function _0x39d346(_0x52172d,_0x57a4f2,_0x233f74){const _0xe6bfe9=_0x3ca9fc['userId'],_0x4835d6='revision:'+_0x104307+':'+_0xe6bfe9+':'+_0x4dbd55++,_0x23d335=_0x10f6bb['createRange'](_0x57a4f2,_0x233f74);_0x56ee2b['markers']['set'](_0x4835d6,_0x23d335),null!==_0xe6bfe9&&_0x313b36['add'](_0xe6bfe9);}}['_getVidAttributeName'](_0x67aa66){switch(_0x67aa66['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5ee48b,_0x445ecc){_0x5ee48b['baseVersion']=null;for(const _0x1be870 in _0x5ee48b){const _0x13b633=_0x5ee48b[_0x1be870];if(_0x13b633 instanceof gt){const _0x18f8b3=_0x445ecc['get'](_0x13b633['root']['rootName']);_0x5ee48b[_0x1be870]=this['_fixPosition'](_0x13b633,_0x18f8b3);}if(_0x13b633 instanceof vt){const _0xbcbd2f=_0x445ecc['get'](_0x13b633['root']['rootName']);_0x5ee48b[_0x1be870]=this['_fixRange'](_0x13b633,_0xbcbd2f);}'root'===_0x1be870&&(_0x5ee48b['root']=_0x445ecc['get'](_0x5ee48b['root']['rootName']));}}['_fixRange'](_0x367acf,_0x37ea87){return this['editor']['model']['createRange'](this['_fixPosition'](_0x367acf['start'],_0x37ea87),this['_fixPosition'](_0x367acf['end'],_0x37ea87));}['_fixPosition'](_0x352142,_0x4269ac){return this['editor']['model']['createPositionFromPath'](_0x4269ac,_0x352142['path'],_0x352142['stickiness']);}['_handleInsertOperation'](_0x2dce99){const _0x2a280e=this['_idsRoots']['get'](_0x2dce99['position']['root']['rootName']),_0x28c6de=this['_fixPosition'](_0x2dce99['position'],_0x2a280e),_0x3a88a3=null===_0x2dce99['_authorId']?null:_0x2dce99['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x372bad=_0x28c6de['parent'],_0x560530=this['_revisionId'],_0x2525ca=[];for(const _0x243a8f of _0x2dce99['nodes'])if(_0x243a8f['is']('element'))_0x2525ca['push'](this['_makeIdsRoot'](_0x243a8f));else{for(let _0x10ce04=0x0;_0x10ce04<_0x243a8f['offsetSize'];_0x10ce04++)_0x2525ca['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xc4a4f1=this['_revisionId'];for(let _0x3ef36a=_0x560530;_0x3ef36a<_0xc4a4f1;_0x3ef36a++)this['_touched']['set'](_0x3ef36a,{'userId':_0x3a88a3});_0x372bad['_insertChild'](_0x28c6de['offset'],_0x2525ca);}['_handleMoveOperation'](_0x4f5377){(_0x4f5377=this['_cloneOperation'](_0x4f5377,this['_idsRoots']))['_execute']();const _0x24fdc4=null===_0x4f5377['_authorId']?null:_0x4f5377['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1aa7ee=_0x4f5377['getMovedRangeStart'](),_0x4bcbf0=_0x1aa7ee['parent'],_0x132eba=_0x1aa7ee['offset'];!function _0x39a655(_0x5f356e,_0x3f416a,_0x25a3c2,_0x298892){for(let _0xfd1dd5=_0x25a3c2;_0xfd1dd5<_0x298892;_0xfd1dd5++){const _0x399078=_0x3f416a['getChild'](_0xfd1dd5);_0x399078['is']('element','$text')?_0x5f356e['set'](_0x399078['getAttribute']('vid'),{'userId':_0x24fdc4}):(_0x5f356e['set'](_0x399078['getAttribute']('vid_start'),{'userId':_0x24fdc4}),_0x39a655(_0x5f356e,_0x399078,0x0,_0x399078['childCount']),_0x5f356e['set'](_0x399078['getAttribute']('vid_end'),{'userId':_0x24fdc4}));}}(this['_touched'],_0x4bcbf0,_0x132eba,_0x132eba+_0x4f5377['howMany']);}['_handleMergeOperation'](_0xd7f93c){const _0x814002=null===(_0xd7f93c=this['_cloneOperation'](_0xd7f93c,this['_idsRoots']))['_authorId']?null:_0xd7f93c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5b0a14=_0xd7f93c['targetPosition']['parent'],_0x160460=_0xd7f93c['sourcePosition']['parent'],_0x55ee74=_0x5b0a14['getAttribute']('vid_end'),_0xd24917=_0x160460['getAttribute']('vid_start');_0x5b0a14['_setAttribute']('vid_end',_0x160460['getAttribute']('vid_end')),_0x160460['_setAttribute']('vid_end',_0x55ee74),this['_touched']['set'](_0xd24917,{'userId':_0x814002}),this['_touched']['set'](_0x55ee74,{'userId':_0x814002}),_0xd7f93c['_execute']();}['_handleSplitOperation'](_0x4c407a){const _0x1f196b=null===(_0x4c407a=this['_cloneOperation'](_0x4c407a,this['_idsRoots']))['_authorId']?null:_0x4c407a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46b4d9=_0x4c407a['graveyardPosition'],_0xed159c=_0x4c407a['splitPosition']['parent'];_0x4c407a['_execute']();const _0x38e098=_0xed159c['getAttribute']('vid_end'),_0x49f140=_0x4c407a['insertionPosition']['nodeAfter'];if(_0x46b4d9){const _0xb0f899=_0x49f140['getAttribute']('vid_end'),_0x41a1e6=_0xed159c['getAttribute']('vid_end');_0xed159c['_setAttribute']('vid_end',_0xb0f899),_0x49f140['_setAttribute']('vid_end',_0x41a1e6),this['_touched']['set'](_0xed159c['getAttribute']('vid_end'),{'userId':_0x1f196b}),this['_touched']['set'](_0x49f140['getAttribute']('vid_start'),{'userId':_0x1f196b});}else{const _0x134128=this['_revisionId']++,_0x14d071=this['_revisionId']++;_0xed159c['_setAttribute']('vid_end',_0x134128),_0x49f140['_setAttribute']('vid_start',_0x14d071),_0x49f140['_setAttribute']('vid_end',_0x38e098),this['_touched']['set'](_0x134128,{'userId':_0x1f196b}),this['_touched']['set'](_0x14d071,{'userId':_0x1f196b});}}['_handleMarkerOperation'](_0x390f8d){if(!_0x390f8d['affectsData'])return;const _0x687f6c=(_0x390f8d=this['_cloneOperation'](_0x390f8d,this['_diffRoots']))['oldRange']?_0x390f8d['oldRange']['root']:null,_0x11865a=_0x390f8d['newRange']?_0x390f8d['newRange']['root']:null;_0x687f6c&&this['_markers']['delete'](_0x390f8d['name']),_0x11865a&&this['_markers']['set'](_0x390f8d['name'],_0x390f8d['newRange']['clone']());const _0x325b77=null===_0x390f8d['_authorId']?null:_0x390f8d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55542c=_0x390f8d['name'];if(!this['_touchedMarkers']['has'](_0x55542c))return void this['_touchedMarkers']['set'](_0x55542c,{'range':_0x390f8d['oldRange'],'userId':_0x325b77});const _0x486a41=this['_touchedMarkers']['get'](_0x55542c),_0x5d4c2c=_0x486a41['range'],_0x564166=_0x390f8d['newRange'];null==_0x5d4c2c&&null==_0x564166||_0x5d4c2c&&_0x564166&&_0x5d4c2c['isEqual'](_0x564166)?this['_touchedMarkers']['delete'](_0x390f8d['name']):_0x486a41['userId']=_0x325b77;}['_handleRootOperation'](_0x2f604f,_0xef9530){this['_diffRoots']['has'](_0x2f604f['rootName'])?this['_diffRoots']['get'](_0x2f604f['rootName'])['_isAttached']=_0x2f604f['isAdd']:(this['_diffRoots']['set'](_0x2f604f['rootName'],G(_0x2f604f['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2f604f['rootName'],{}),_0xef9530&&this['_idsRoots']['set'](_0x2f604f['rootName'],G(_0x2f604f['rootName'],!0x0)));const _0x2405e6=null===_0x2f604f['_authorId']?null:_0x2f604f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x429e5a=this['_touchedRoots']['get'](_0x2f604f['rootName']);_0x429e5a&&_0x429e5a['userId']===_0x2405e6?this['_touchedRoots']['delete'](_0x2f604f['rootName']):this['_touchedRoots']['set'](_0x2f604f['rootName'],{'userId':_0x2405e6,'isAttached':_0x2f604f['isAdd']});}['_handleRootAttributeOperation'](_0x32720a){const _0x266b1c=this['_diffRootsAttributes']['get'](_0x32720a['root']['rootName']);null===_0x32720a['newValue']?delete _0x266b1c[_0x32720a['key']]:_0x266b1c[_0x32720a['key']]=_0x32720a['newValue'];}}function q(_0x584eac){const _0x400f21=G(_0x584eac['rootName'],_0x584eac['isAttached']());for(const _0x2f45e6 of _0x584eac['getChildren']()){const _0x1ffb35=_0x2f45e6['_clone'](!0x0);_0x400f21['_appendChild'](_0x1ffb35);}return _0x400f21;}function G(_0x42664e,_0x297772=!0x0){const _0x7e3123=new wt();return _0x7e3123['rootName']=_0x42664e,_0x7e3123['_isAttached']=_0x297772,_0x7e3123['isAttached']=()=>_0x7e3123['_isAttached'],_0x7e3123;}function L(_0x4af49b,_0x14b6d4,_0x38a25a){const _0x543ff9='elementEnd'==_0x4af49b['type']?_0x38a25a['createPositionAt'](_0x4af49b['item'],'end'):_0x38a25a['createPositionBefore'](_0x4af49b['item']);return _0x38a25a['createPositionFromPath'](_0x14b6d4,_0x543ff9['path'],_0x543ff9['stickiness']);}function W(_0x5d4a2c,_0x5de3d1,_0x2f2642){const _0x5397fc='elementStart'==_0x5d4a2c['type']?_0x2f2642['createPositionAt'](_0x5d4a2c['item'],0x0):_0x2f2642['createPositionAfter'](_0x5d4a2c['item']);return _0x2f2642['createPositionFromPath'](_0x5de3d1,_0x5397fc['path'],_0x5397fc['stickiness']);}class hs extends ts{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x243e6e,_0x20d8c7){super(_0x243e6e),this['focusTracker']=new _0xd4ed47(),this['keystrokes']=new _0x5b391b(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x20d8c7),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),_0x468cf2(this);}['render'](){super['render'](),_0x515c1b({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x517b7d=_0x548286=>_0x548286['stopPropagation']();this['keystrokes']['set']('arrowright',_0x517b7d),this['keystrokes']['set']('arrowleft',_0x517b7d),this['keystrokes']['set']('arrowup',_0x517b7d),this['keystrokes']['set']('arrowdown',_0x517b7d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1bc0a1){this['revisionNameInputView']['fieldView']['element']['value']=_0x1bc0a1['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1ce088){const _0x2a5462=new _0x453c87(this['locale'],_0x1e1898),_0x27ee46=_0x2a5462['fieldView'];_0x27ee46['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x37535f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1ce088&&(_0x37535f+='\x20('+y(this['locale'],'optional')+')'),(_0x2a5462['label']=_0x37535f,_0x27ee46['on']('input',()=>{this['revisionNameInputValue']=_0x27ee46['element']['value']['trim']();}),_0x2a5462);}}class u extends _0x1c9ec6{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x28c62b=this['editor'],_0x2ba9eb=_0x28c62b['plugins']['get']('RevisionTracker');_0x28c62b['ui']['componentFactory']['add']('revisionHistory',_0x4d6c15=>{const _0x36128f=_0x46e061(_0x4d6c15),_0xc7690a=_0x36128f['panelView']['children'],_0x4e4013=new _0x5e8c0a(_0x4d6c15),_0x4808f7=new _0xe59685(_0x4d6c15),_0x5e10f2=new te(_0x4d6c15),_0x9bfc7c=new _0xe59685(_0x4d6c15),_0x28b320=new te(_0x4d6c15);return _0x36128f['bind']('isEnabled')['to'](_0x2ba9eb,'isReady',_0x2ba9eb,'isEnabled',_0x28c62b,'isReadOnly',(_0xc516a8,_0x81116f,_0x50b72a)=>_0xc516a8&&_0x81116f&&!_0x50b72a),_0x36128f['buttonView']['set']({'icon':_0x32234b['history'],'label':y(_0x4d6c15,'Revision\x20history'),'tooltip':!0x0}),_0x5e10f2['set']({'label':y(_0x4d6c15,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x5e10f2['bind']('isEnabled')['to'](_0x2ba9eb,'isReady',_0x2ba9eb,'isEnabled',_0x28c62b,'isReadOnly',(_0x24b6a4,_0x40d8a6,_0x49a0bf)=>_0x24b6a4&&_0x40d8a6&&!_0x49a0bf),_0x5e10f2['on']('execute',()=>this['_showDialog']()),_0x28b320['set']({'label':y(_0x4d6c15,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x28b320['bind']('isEnabled')['to'](_0x2ba9eb,'isReady',_0x28c62b,'isReadOnly',(_0x39a62e,_0x389dba)=>_0x39a62e&&!_0x389dba),_0x28b320['on']('execute',()=>{_0x28c62b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x36128f['isOpen']=!0x1,_0x28c62b['editing']['view']['focus']();}),_0x4808f7['children']['add'](_0x5e10f2),_0x9bfc7c['children']['add'](_0x28b320),_0x4e4013['role']='menu',_0x4e4013['items']['addMany']([_0x4808f7,_0x9bfc7c]),_0xc7690a['add'](_0x4e4013),_0x36128f;}),_0x28c62b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x49aafb=this['editor'],_0x2ffe9f=_0x49aafb['locale'],_0x4bc4ff=new _0x18f2cc(_0x2ffe9f),_0x388961=new _0x2edb6d(_0x2ffe9f);_0x4bc4ff['buttonView']['set']({'icon':_0x32234b['history'],'label':y(_0x2ffe9f,'Revision\x20history')});const _0x5e76b6=new _0x10a945(_0x2ffe9f,_0x4bc4ff),_0x2dbd01=new _0x41272d(_0x2ffe9f);_0x2dbd01['set']({'label':y(_0x2ffe9f,'Save\x20current\x20revision')}),_0x2dbd01['delegate']('execute')['to'](_0x4bc4ff),_0x2dbd01['on']('execute',()=>{this['_showDialog']();}),_0x5e76b6['children']['add'](_0x2dbd01),_0x388961['items']['add'](_0x5e76b6);const _0x402183=new _0x10a945(_0x2ffe9f,_0x4bc4ff),_0x11325c=new _0x41272d(_0x2ffe9f);return _0x11325c['set']({'label':y(_0x2ffe9f,'Open\x20revision\x20history')}),_0x11325c['delegate']('execute')['to'](_0x4bc4ff),_0x11325c['on']('execute',()=>{_0x49aafb['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x402183['children']['add'](_0x11325c),_0x388961['items']['add'](_0x402183),_0x4bc4ff['panelView']['children']['add'](_0x388961),_0x4bc4ff;}['_showDialog'](){const _0x49fefd=this['editor'],_0x292434=_0x49fefd['locale'],_0x4c59fa=_0x49fefd['plugins']['get']('Dialog'),_0x5dc2e8=_0x49fefd['plugins']['get']('RevisionTracker');function _0x45ac58(_0x45cdc1){_0x49fefd['config']['get']('revisionHistory.requireRevisionName')&&''===_0x45cdc1['revisionName']?_0x45cdc1['revisionNameInputView']['errorText']=y(_0x292434,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x49fefd['plugins']['get'](l)['saveRevision']({'name':_0x45cdc1['revisionName']}),_0x4c59fa['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x45ac58(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4c59fa['show']({'id':'revisionSave','title':y(_0x292434,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x49fefd['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x4c59fa['hide']()},{'label':y(_0x49fefd['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x220af1){_0x220af1['bind']('isEnabled')['to'](_0x5dc2e8,'isReady',_0x5dc2e8,'isEnabled',_0x49fefd,'isReadOnly',(_0x535864,_0xea5031,_0x399c06)=>_0x535864&&_0xea5031&&!_0x399c06);},'onExecute':()=>_0x45ac58(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x16adac=this['editor'],_0x4595f1=_0x16adac['locale'];this['_saveRevisionFormView']=new hs(_0x4595f1,_0x16adac['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends ts{['changeId'];['_model'];constructor(_0x2dfbbc,_0x2610ac){super(_0x2dfbbc),this['_model']=_0x2610ac,this['changeId']=_0x2610ac['id'];const _0x29114e=this['bindTemplate'],_0x4c2c7b=y(_0x2dfbbc,_0x2610ac['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2610ac['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2610ac['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x29114e['to']('type',_0x580a4d=>'ck-revision-change__'+_0x580a4d)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4c2c7b}]},{'text':'\x20'+_0x2610ac['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x2ffa0d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1cfd8d){super(),this['id']=_0x1cfd8d['id']||_0xb0d552(),this['author']=_0x1cfd8d['author'],this['type']=_0x1cfd8d['type'],this['data']=_0x1cfd8d['data']||{},this['rootName']=_0x1cfd8d['rootName'],this['set']('createdAt',_0x1cfd8d['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(_0xf1347b,_0x83772e){this['newRevisionId']=_0xf1347b,this['oldRevisionId']=_0x83772e,this['changes']=new _0x455856();}['_setChanges'](_0x2f9cd8){for(const _0x1c0e9e of _0x2f9cd8)this['changes']['add'](_0x1c0e9e);}}const tt={'c':_0x43967f,'a':_0x349386,'e':_0x449ff7,'r':_0x1eac05,'u':_0x1349e8};class d extends _0x1c9ec6{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x250ee9,_0x12cf64,A];}constructor(_0x5260c1){super(_0x5260c1),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',(_0x1c611e,_0x1f2dbb,_0x4fa032)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2e2d9b=>{for(const _0x1c1b1e of this['editor']['editing']['view']['document']['roots'])_0x4fa032?_0x2e2d9b['removeClass']('ck-editor__editable__overlay',_0x1c1b1e):_0x2e2d9b['addClass']('ck-editor__editable__overlay',_0x1c1b1e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5d26de=>null!==_0x5d26de),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x579bbd,_0x38c159,_0x542d21)=>_0x579bbd&&_0x542d21?_0x38c159['changes']['getIndex'](_0x542d21):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x89bff2,_0x571cf5)=>_0x89bff2?_0x571cf5['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x12cf64);}['init'](){const _0x242f87=this['editor'],_0x4b2b3a=new yt(_0x242f87,{'direction':'backward'}),_0x114be0=new yt(_0x242f87,{'direction':'forward'});(_0x242f87['commands']['add']('showPreviousChange',_0x4b2b3a),_0x242f87['commands']['add']('showNextChange',_0x114be0),_0x242f87['commands']['add']('restoreRevision',new bt(_0x242f87)),this['on']('change:numberOfChanges',()=>{_0x4b2b3a['refresh'](),_0x114be0['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x242f87['enableReadOnlyMode']('revision-viewer'),_0x242f87['plugins']['has']('WidgetToolbarRepository'))&&_0x242f87['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xb5e674){await this['loadRevisionData'](_0xb5e674);const _0x3ae45f={};for(const _0x350ee4 in _0xb5e674['diffData']){if(_0xb5e674['diffData'][_0x350ee4]['attachChange']&&!_0xb5e674['diffData'][_0x350ee4]['attachChange']['isAttached'])continue;const _0x503af9=this['_removeRevisionMarkers'](JSON['parse'](_0xb5e674['diffData'][_0x350ee4]['insertions'])),_0x4c1144=this['editor']['editing']['view']['document'],_0x21bbcd=new _0x15d7a4(_0x4c1144,_0x503af9['map'](_0x191a9f=>this['_getViewObj'](_0x191a9f)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3ae45f[_0x350ee4]=this['editor']['data']['processor']['toData'](_0x21bbcd),this['editor']['data']['processor']['useFillerType']('default');}return _0x3ae45f;}async['getRevisionRootsAttributes'](_0x214c6f){await this['loadRevisionData'](_0x214c6f);const _0x56259b={};for(const _0x173aac in _0x214c6f['diffData'])_0x214c6f['diffData'][_0x173aac]['attachChange']&&!_0x214c6f['diffData'][_0x173aac]['attachChange']['isAttached']||(_0x56259b[_0x173aac]=_0x214c6f['diffData'][_0x173aac]['attributesAfter']||{});return _0x56259b;}['_removeRevisionMarkers'](_0x5c3490){return(_0x5c3490=_0x5c3490['filter'](_0x4ffc75=>!_0x4ffc75['name']||'revision-start'!==_0x4ffc75['name']&&'revision-end'!==_0x4ffc75['name']))['forEach'](_0x1390f3=>{'string'!=typeof _0x1390f3&&(_0x1390f3['children']=this['_removeRevisionMarkers'](_0x1390f3['children']),_0x1390f3['attributes']=_0x1390f3['attributes']['filter'](_0x51ac5f=>!_0x51ac5f[0x0]['startsWith']('data-revision-')));}),_0x5c3490;}async['compare'](_0x17855e,_0xdb8e23,_0xb0770c=!0x1){if(!this['isEnabled'])return;const _0x3f41fd=this['diff'],_0x506e7c=this['repository'],_0x587d2e='string'==typeof _0x17855e?_0x506e7c['getRevision'](_0x17855e):_0x17855e,_0x2dd640='string'==typeof _0xdb8e23?_0x506e7c['getRevision'](_0xdb8e23):_0xdb8e23,_0x3bb08b=_0x587d2e['id'],_0x473c7d=_0x2dd640?_0x2dd640['id']:null;if(!_0xb0770c&&this['diff']&&this['diff']['newRevisionId']===_0x3bb08b&&this['diff']['oldRevisionId']===_0x473c7d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3bb08b,_0x473c7d);const _0x3267db=this['_getRevisionsRange'](_0x587d2e,_0x2dd640,!0x0)['map'](_0x2ab130=>this['loadRevisionData'](_0x2ab130));return _0x3267db['push'](new Promise(_0x422373=>{setTimeout(_0x422373,0x14);})),Promise['all'](_0x3267db)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4fac49=this['_getDiff'](_0x3bb08b,_0x473c7d);for(const _0x1946b2 of _0x4fac49['changes'])this['_changeIdToChange']['set'](_0x1946b2['id'],_0x1946b2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x56b7e1=>{for(const _0x2d84c2 of this['editor']['model']['document']['getRootNames']())_0x56b7e1['detachRoot'](_0x2d84c2);for(const _0x41599e of Object['keys'](_0x4fac49['model'])){const _0x3f02c8=_0x56b7e1['addRoot'](_0x41599e);for(const _0x58c240 of Object['keys'](_0x4fac49['attributes'][_0x41599e]))_0x56b7e1['setAttribute'](_0x58c240,_0x4fac49['attributes'][_0x41599e][_0x58c240],_0x3f02c8);_0x56b7e1['insert'](_0x4fac49['model'][_0x41599e],_0x3f02c8,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4fac49['changes'])),this['isReady']=!0x0;})['catch'](_0x44b59d=>{console['error'](_0x44b59d),this['_cleanUp'](),_0x3f41fd&&(this['diff']=_0x3f41fd),this['isReady']=!0x0;});}['addRevisionData'](_0x3b4b50,_0x5e4aa4){const _0x5162f4=this['repository']['createRevision'](_0x3b4b50);return _0x5162f4['on']('_update',(_0x1229c6,_0x3fd568,_0x23cb87)=>_0x5e4aa4(_0x3fd568,_0x23cb87,_0x5162f4)),this['repository']['addRevision'](_0x5162f4),_0x5162f4;}['loadRevisionData'](_0x344a41){if(!_0x344a41||_0x344a41['diffData'])return Promise['resolve']();{const _0x5242bf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5242bf,'revisionId':_0x344a41['id']})['then'](_0x288a6f=>{_0x344a41['_update']({'diffData':_0x288a6f['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},_0x31ef93=>{for(const _0x9c106 of this['editor']['model']['document']['getRootNames']())_0x31ef93['detachRoot'](_0x9c106);});}['_sortAndFilterDiffChanges'](_0x36576a){const _0x2efba8=[],_0x21a3d8=new Map();for(const _0x1a50fb of this['editor']['model']['document']['getRootNames']()){const _0x53f2fb=this['editor']['editing']['view']['getDomRoot'](_0x1a50fb);if(!_0x53f2fb)continue;const _0x3b5413=_0x53f2fb['getClientRects']()['item'](0x0);_0x3b5413&&(_0x2efba8['push'](_0x1a50fb),_0x21a3d8['set'](_0x1a50fb,_0x3b5413));}return _0x2efba8['sort']((_0x1f1770,_0xb4c3ba)=>{const _0xd665bd=_0x21a3d8['get'](_0x1f1770),_0x40659f=_0x21a3d8['get'](_0xb4c3ba);return _0xd665bd['y']-_0x40659f['y']||_0xd665bd['x']-_0x40659f['x'];}),(_0x36576a=_0x36576a['filter'](_0x502231=>_0x2efba8['includes'](_0x502231['rootName'])))['sort']((_0x3aa6a5,_0x36c747)=>_0x2efba8['indexOf'](_0x3aa6a5['rootName'])-_0x2efba8['indexOf'](_0x36c747['rootName'])),_0x36576a;}['_makeTape'](_0x560b30){const _0x4d9317=Array['from'](_0x560b30['markers'])['filter'](([_0x582e23,_0x479ffb])=>_0x582e23['startsWith']('revision:')&&!_0x479ffb['isCollapsed']),_0x3c1da3=Array['from'](this['editor']['model']['createRangeIn'](_0x560b30)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4d9317['length'])for(const _0xed4762 of _0x3c1da3){const [_0x58dcb2,_0x2963de]=_0x4d9317[0x0],[,_0x4cd5d7,_0x1f6faa]=_0x58dcb2['split'](':');if(_0x2963de['end']['isEqual'](_0xed4762['nextPosition'])&&_0x4d9317['shift'](),(_0xed4762['previousPosition']['isEqual'](_0x2963de['start'])||_0xed4762['previousPosition']['isAfter'](_0x2963de['start']))&&('insertion'==_0x4cd5d7?_0xed4762['isAdded']={'userId':_0x1f6faa}:'deletion'==_0x4cd5d7&&(_0xed4762['isRemoved']={'userId':_0x1f6faa})),0x0==_0x4d9317['length'])break;}return _0x3c1da3;}['_refreshStartEndIndex'](_0x3cf5af){const _0x20fb9a=new Map();for(let _0x280da4=0x0;_0x280da4<_0x3cf5af['length'];_0x280da4++)'text'===_0x3cf5af[_0x280da4]['type']?(_0x3cf5af[_0x280da4]['item']['startIndex']=_0x280da4,_0x3cf5af[_0x280da4]['item']['endIndex']=_0x280da4):('elementStart'===_0x3cf5af[_0x280da4]['type']?_0x3cf5af[_0x280da4]['item']['startIndex']=_0x280da4:'elementEnd'===_0x3cf5af[_0x280da4]['type']&&(_0x3cf5af[_0x280da4]['item']['endIndex']=_0x280da4),_0x20fb9a['set'](_0x3cf5af[_0x280da4]['id'],_0x280da4));for(const _0x13533d of _0x20fb9a['values']())'elementStart'===_0x3cf5af[_0x13533d]['type']?_0x3cf5af[_0x13533d]['item']['endIndex']=_0x20fb9a['get'](_0x3cf5af[_0x13533d]['pairId']):'elementEnd'===_0x3cf5af[_0x13533d]['type']&&(_0x3cf5af[_0x13533d]['item']['startIndex']=_0x20fb9a['get'](_0x3cf5af[_0x13533d]['pairId']));}['_processTape'](_0x57c350){for(let _0x34193f=0x0;_0x34193f<_0x57c350['length'];_0x34193f++){if('elementStart'===_0x57c350[_0x34193f]['type'])_0x57c350[_0x34193f]['item']['startIndex']=_0x34193f;else{if('elementEnd'===_0x57c350[_0x34193f]['type']){_0x57c350[_0x34193f]['item']['endIndex']=_0x34193f;const _0x3e5eda=_0x57c350[_0x34193f]['item']['startIndex'];_0x57c350[_0x3e5eda]['pairId']=_0x57c350[_0x34193f]['id'],_0x57c350[_0x34193f]['pairId']=_0x57c350[_0x3e5eda]['id'];}else _0x57c350[_0x34193f]['item']['startIndex']=_0x34193f,_0x57c350[_0x34193f]['item']['endIndex']=_0x34193f,_0x57c350[_0x34193f]['pairId']=null;}_0x57c350[_0x34193f]['markersStart']||(_0x57c350[_0x34193f]['markersStart']=[],_0x57c350[_0x34193f]['markersEnd']=[]);}}['_markInsertions'](_0x358588,_0x4ce44f){const _0x5c5ad1=_0x358588['filter'](_0x54db9a=>!_0x54db9a['isAdded']);for(let _0x5ad5d9=0x0;_0x5ad5d9<_0x4ce44f['length'];_0x5ad5d9++)_0x4ce44f[_0x5ad5d9]['isAdded']&&(_0x5c5ad1[_0x5ad5d9]['isAdded']=_0x4ce44f[_0x5ad5d9]['isAdded']);}['_makeModelFromViewString'](_0x15ffb3){const _0xd727e9=JSON['parse'](_0x15ffb3),_0x57039c=this['editor']['editing']['view']['document'],_0xa909fb=new _0x15d7a4(_0x57039c,_0xd727e9['map'](_0x44ce2f=>this['_getViewObj'](_0x44ce2f)));return this['editor']['data']['toModel'](_0xa909fb);}['_getViewObj'](_0x67c43a){const _0x59d87d=this['editor']['editing']['view']['document'];if('string'==typeof _0x67c43a)return new _0x136c5f(_0x59d87d,_0x67c43a);{const _0x2aa82b=_0x67c43a['children']['map'](_0x2082a3=>this['_getViewObj'](_0x2082a3));return new(tt[_0x67c43a['type']]||_0x50f2ba)(_0x59d87d,_0x67c43a['name'],_0x67c43a['attributes'],_0x2aa82b);}}['_getDiff'](_0x131d43,_0x40092c=null){const _0x5c067f=this['repository']['getRevision'](_0x131d43),_0x2a6f26=_0x40092c?this['repository']['getRevision'](_0x40092c):null,_0x143ff0=this['_getRevisionsRange'](_0x5c067f,_0x2a6f26),_0x52f337=_0x143ff0[_0x143ff0['length']-0x1],_0x568c85=new Map(),_0x122a6a={'model':{},'attributes':{},'changes':[]},_0x123e38=new Set(),_0x51bfdd=new Map();for(let _0x51c132=_0x143ff0['length']-0x1;_0x51c132>=0x0;_0x51c132--){const _0x426931=_0x143ff0[_0x51c132];for(const _0x519370 of Object['keys'](_0x426931['diffData']))if(_0x426931['diffData'][_0x519370]['attachChange']){const _0x39f9ce=_0x426931['diffData'][_0x519370]['attachChange'];_0x39f9ce['isAttached']?(_0x123e38['add'](_0x519370),_0x51bfdd['has'](_0x519370)&&_0x51bfdd['get'](_0x519370)['userId']==_0x39f9ce['userId']?_0x51bfdd['delete'](_0x519370):_0x51bfdd['set'](_0x519370,_0x39f9ce)):_0x51bfdd['has'](_0x519370)?(_0x123e38['delete'](_0x519370),_0x51bfdd['delete'](_0x519370)):(_0x123e38['add'](_0x519370),_0x51bfdd['set'](_0x519370,_0x39f9ce));}else _0x123e38['add'](_0x519370);}for(const _0x475965 of _0x123e38){const _0x398b15=_0x51bfdd['has'](_0x475965)&&!_0x51bfdd['get'](_0x475965)['isAttached'];let _0x23c91a=_0x398b15?_0x143ff0['length']-0x1:0x0;const _0x19eb90=_0x398b15?-0x1:0x1;for(;_0x143ff0[_0x23c91a];){const _0x3c206d=_0x143ff0[_0x23c91a];if(_0x3c206d['diffData'][_0x475965]){const _0x49ac13=_0x398b15?_0x3c206d['diffData'][_0x475965]['attributesBefore']:_0x3c206d['diffData'][_0x475965]['attributesAfter'];_0x122a6a['attributes'][_0x475965]=_0x49ac13?_0x317f28(_0x49ac13):{};break;}_0x23c91a+=_0x19eb90;}}for(const _0x29c040 of _0x143ff0){_0x29c040['model']={};for(const _0x3f7421 of _0x29c040['authors'])_0x568c85['set'](_0x3f7421['id'],_0x3f7421);for(const _0x577fb4 of _0x123e38){const _0xf66d67=_0x29c040['diffData'][_0x577fb4]?_0x29c040['diffData'][_0x577fb4]['insertions']:'[]',_0x48ce8d=_0x29c040['diffData'][_0x577fb4]?_0x29c040['diffData'][_0x577fb4]['deletions']:'[]';_0x29c040['model'][_0x577fb4]={'insertions':this['_makeModelFromViewString'](_0xf66d67),'deletions':this['_makeModelFromViewString'](_0x48ce8d)};}}for(const _0x2719ad of _0x123e38){let _0x462ea3=null,_0x403b93=0x0;const _0xc3f3fc=new Map(Array['from'](_0x5c067f['model'][_0x2719ad]['insertions']['markers'])['filter'](([_0x98326e])=>!_0x98326e['startsWith']('revision:')));let _0x18cc6f=0x0;for(const _0x554b09 of _0x143ff0){const _0x4f724e=this['_makeTape'](_0x554b09['model'][_0x2719ad]['insertions']);_0x554b09==_0x5c067f?(_0x462ea3=_0x4f724e,_0x403b93=_0x462ea3['length'],_0x462ea3['forEach'](_0x4c57e6=>{_0x4c57e6['id']=_0x18cc6f++;}),this['_processTape'](_0x462ea3)):this['_markInsertions'](_0x462ea3,_0x4f724e);const _0x4e9a06=_0x462ea3['filter'](_0x470d74=>!_0x470d74['isAdded'])['map'](_0x5e35ba=>_0x5e35ba['id']);let _0x3cf593=0x0;const _0x1f1392=this['_makeTape'](_0x554b09['model'][_0x2719ad]['deletions']);_0x1f1392['forEach'](_0x53460a=>{_0x53460a['isRemoved']?_0x53460a['id']=_0x403b93++:_0x53460a['id']=_0x4e9a06[_0x3cf593++];}),this['_processTape'](_0x1f1392),this['_setDistance'](_0x462ea3,'isAdded'),this['_setDistance'](_0x1f1392,'isRemoved'),_0x554b09==_0x5c067f&&this['_markMarkers'](_0x462ea3,_0xc3f3fc),_0x462ea3=this['_joinTapes'](_0x462ea3,_0x1f1392),this['_refreshStartEndIndex'](_0x462ea3),this['_setDistance'](_0x462ea3,'isRemoved');}_0x462ea3=_0x462ea3['filter'](_0x2f248d=>!(_0x2f248d['isAdded']&&_0x2f248d['isRemoved']));const _0x1fc85e=new Map(_0x52f337['model'][_0x2719ad]['deletions']['markers']),_0x119c7b=new Set(_0xc3f3fc['keys']());for(const _0x23b02a of _0x1fc85e['keys']())_0x119c7b['delete'](_0x23b02a);this['_markSuggestions'](_0x462ea3,_0x119c7b),this['_fixObsoleteTags'](_0x462ea3),_0x462ea3=this['_removeMissingPairs'](_0x462ea3),_0x462ea3=this['_markMismatchedRemovedTags'](_0x462ea3),_0x462ea3=this['_removeUnsupportedChanges'](_0x462ea3);const {root:_0x23e144,changes:_0x4fb23e}=this['_makeModelFromTape'](_0x462ea3,_0x568c85,_0x2719ad);_0x122a6a['model'][_0x2719ad]=_0x23e144;const _0x20b470=_0x51bfdd['get'](_0x2719ad);if(_0x20b470){const _0x31e749=_0x568c85['get'](_0x20b470['userId']),_0x52f8a6=new r({'author':_0x31e749,'type':_0x20b470['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2719ad});_0x4fb23e['unshift'](_0x52f8a6),_0x122a6a['attributes'][_0x2719ad]['revisionHistoryAttachChange']=_0x52f8a6['id'];}_0x122a6a['changes']=_0x122a6a['changes']['concat'](_0x4fb23e);}return _0x122a6a;}['_markMarkers'](_0x4753d1,_0x5adb03){for(let _0x439a33=0x0;_0x439a33<_0x4753d1['length'];_0x439a33++)for(const [_0xa40bfa,_0x5335f2]of _0x5adb03)_0x5335f2['start']['isEqual'](_0x4753d1[_0x439a33]['previousPosition'])&&_0x4753d1[_0x439a33]['markersStart']['push'](_0xa40bfa),_0x5335f2['end']['isEqual'](_0x4753d1[_0x439a33]['nextPosition'])&&_0x4753d1[_0x439a33]['markersEnd']['push'](_0xa40bfa);}['_joinTapes'](_0xa9caf9,_0xdae9f0){let _0x39a848=[],_0x5afa9f=0x0,_0x2940e4=0x0;for(;_0x5afa9f<_0xa9caf9['length']||_0x2940e4<_0xdae9f0['length'];){const _0x59ee44=_0xa9caf9[_0x5afa9f]||{},_0x3ff290=_0xdae9f0[_0x2940e4]||{};if(_0x59ee44['id']==_0x3ff290['id'])_0x5afa9f++,_0x2940e4++,_0x39a848['push'](_0x59ee44);else{if(_0x3ff290['isRemoved']&&_0x59ee44['isAdded']){const {commonTape:_0x5a983a,iEnd:_0x5457a7,jEnd:_0x303e06}=this['_threeWayMerge'](_0xa9caf9,_0x5afa9f,_0xdae9f0,_0x2940e4);_0x39a848=_0x39a848['concat'](_0x5a983a),_0x5afa9f=_0x5457a7,_0x2940e4=_0x303e06;}else _0x3ff290['isRemoved']?(_0x2940e4++,_0x39a848['push'](_0x3ff290)):(_0x5afa9f++,_0x39a848['push'](_0x59ee44));}}return _0x39a848;}['_markSuggestions'](_0x408619,_0x34a984){const _0x552167=[];for(let _0x1b9382=0x0;_0x1b9382<_0x408619['length'];_0x1b9382++){for(let _0x1a6fa4=0x0;_0x1a6fa4<_0x408619[_0x1b9382]['markersStart']['length'];_0x1a6fa4++){const _0x329a99=_0x408619[_0x1b9382]['markersStart'][_0x1a6fa4];if(!_0x34a984['has'](_0x329a99))continue;const {group:_0x9b1e59,type:_0x4365b9,authorId:_0x4a68af}=_0x2a0879(_0x329a99);'revision-suggestion'!=_0x9b1e59||'insertion'!=_0x4365b9&&'deletion'!=_0x4365b9||(_0x552167['unshift']({'type':_0x4365b9,'name':_0x329a99,'userId':_0x4a68af}),_0x408619[_0x1b9382]['markersStart']['splice'](_0x1a6fa4,0x1),_0x1a6fa4--);}_0x228253(_0x408619[_0x1b9382]);for(let _0x26309d=0x0;_0x26309d<_0x408619[_0x1b9382]['markersEnd']['length'];_0x26309d++){const _0x2fa4f0=_0x408619[_0x1b9382]['markersEnd'][_0x26309d];if(!_0x34a984['has'](_0x2fa4f0))continue;const {group:_0x1d4cc7,type:_0x3d2c6a}=_0x2a0879(_0x2fa4f0);if('revision-suggestion'!=_0x1d4cc7||'insertion'!=_0x3d2c6a&&'deletion'!=_0x3d2c6a)continue;_0x408619[_0x1b9382]['markersEnd']['splice'](_0x26309d,0x1),_0x26309d--;const _0x4043b3=_0x552167['findIndex'](_0x29f0a7=>_0x29f0a7['name']==_0x2fa4f0);_0x4043b3>-0x1&&_0x552167['splice'](_0x4043b3,0x1);}}function _0x2a0879(_0x577bcc){const _0x4a9494=_0x577bcc['split'](':');return{'group':_0x4a9494[0x0],'type':_0x4a9494[0x1],'subType':_0x4a9494['length']>=0x5?_0x4a9494[0x2]:null,'id':_0x4a9494['length']<0x5?_0x4a9494[0x2]:_0x4a9494[0x3],'authorId':_0x4a9494['length']<0x5?_0x4a9494[0x3]:_0x4a9494[0x4],'markerCount':0x6==_0x4a9494['length']?_0x4a9494[0x5]:null};}function _0x228253(_0x4ecf6b){for(let _0x18a4f=0x0;_0x18a4f<_0x552167['length'];_0x18a4f++){if(_0x4ecf6b['isAdded']&&'insertion'==_0x552167[_0x18a4f]['type'])return _0x4ecf6b['isAddSuggestion']=_0x552167[_0x18a4f],void delete _0x4ecf6b['isAdded'];if(!_0x4ecf6b['isAdded']&&!_0x4ecf6b['isRemoved']&&'deletion'==_0x552167[_0x18a4f]['type'])return void(_0x4ecf6b['isRemoveSuggestion']=_0x552167[_0x18a4f]);}}}['_setDistance'](_0x2ba205,_0xf081e1){let _0x3150b1=0x0,_0x5cd562=!0x1;const _0x1180b9=new Map();for(const _0x1fc040 of _0x2ba205)_0x1fc040[_0xf081e1]?_0x5cd562&&(_0x3150b1++,_0x5cd562=!0x1):(_0x3150b1++,_0x5cd562=!0x0),_0x1180b9['set'](_0x1fc040['id'],_0x3150b1);for(let _0x5e8bb1=0x0;_0x5e8bb1<_0x2ba205['length'];_0x5e8bb1++){if('isRemoved'==_0xf081e1&&_0x2ba205[_0x5e8bb1]['isAdded']||'isAdded'==_0xf081e1&&_0x2ba205[_0x5e8bb1]['isRemoved'])continue;if('text'==_0x2ba205[_0x5e8bb1]['type']){_0x2ba205[_0x5e8bb1]['distance']=0x0;continue;}const _0x293174=_0x1180b9['get'](_0x2ba205[_0x5e8bb1]['pairId']),_0x3d3def=_0x1180b9['get'](_0x2ba205[_0x5e8bb1]['id']);_0x2ba205[_0x5e8bb1]['distance']=_0x293174-_0x3d3def;}}['_getRevisionsRange'](_0x5b595f,_0x560409,_0x27b13a=!0x1){const _0x22cacb=[];let _0x271041=this['repository']['getIndex'](_0x5b595f),_0x21a930=this['repository']['getIndex'](_0x560409);for(-0x1==_0x21a930&&(_0x21a930=this['repository']['_revisions']['length'],_0x27b13a=!0x1);_0x271041<_0x21a930;)_0x22cacb['push'](this['repository']['getRevision'](_0x271041)),_0x271041++;return _0x27b13a&&_0x22cacb['push'](this['repository']['getRevision'](_0x271041)),_0x22cacb;}['_threeWayMerge'](_0x594a79,_0x5f5b29,_0x27cf87,_0x53413a){const _0x2a859e=this['editor']['model']['schema'];let _0x1d2c58=_0x5f5b29;for(;_0x594a79[_0x1d2c58]&&_0x594a79[_0x1d2c58]['isAdded'];)_0x1d2c58++;let _0x113462=_0x53413a;for(;_0x27cf87[_0x113462]&&_0x27cf87[_0x113462]['isRemoved'];)_0x113462++;_0x1d072f(_0x594a79,_0x5f5b29,_0x1d2c58),_0x1d072f(_0x27cf87,_0x53413a,_0x113462);const _0xd94439=_0x27cf87['slice'](_0x53413a,_0x113462)['concat'](_0x594a79['slice'](_0x5f5b29,_0x1d2c58));return _0xd94439['sort']((_0x1897e1,_0x5d8ed0)=>_0x1897e1['side']!=_0x5d8ed0['side']?_0x1897e1['side']-_0x5d8ed0['side']:_0x1897e1['level']!=_0x5d8ed0['level']?_0x1897e1['level']-_0x5d8ed0['level']:_0x1897e1['distance']!=_0x5d8ed0['distance']?_0x5d8ed0['distance']-_0x1897e1['distance']:!!_0x1897e1['isAdded']!=!!_0x5d8ed0['isAdded']?-0x1==_0x1897e1['side']||0x0==_0x1897e1['side']?_0x1897e1['isAdded']?-0x1:0x1:_0x1897e1['isAdded']?0x1:-0x1:_0x1897e1['index']-_0x5d8ed0['index']),{'commonTape':_0xd94439,'iEnd':_0x1d2c58,'jEnd':_0x113462};function _0x1d072f(_0x5169eb,_0x37a3ea,_0x5553a4){let _0x4076c3=-0x1,_0x360981=Number['POSITIVE_INFINITY'],_0x261dd4=!0x0;for(let _0x148273=_0x37a3ea;_0x148273<_0x5553a4;_0x148273++)if(_0x2a859e['isInline'](_0x5169eb[_0x148273]['item'])||(_0x261dd4=!0x1),_0x5169eb[_0x148273]['item']['startIndex']<_0x37a3ea&&(_0x4076c3=_0x148273),_0x5169eb[_0x148273]['item']['endIndex']>=_0x5553a4){_0x360981=_0x148273;break;}_0x261dd4&&(_0x4076c3=_0x5553a4-0x1);for(let _0x40042f=_0x37a3ea;_0x40042f<_0x5553a4;_0x40042f++)_0x5169eb[_0x40042f]['side']=_0x40042f<=_0x4076c3?-0x1:_0x40042f<_0x360981?0x0:0x1,_0x5169eb[_0x40042f]['index']=_0x40042f;let _0x1b3bd6=0x0;for(let _0x1407b2=_0x37a3ea;_0x1407b2<=_0x4076c3;_0x1407b2++)0x0==_0x5169eb[_0x1407b2]['distance']?_0x5169eb[_0x1407b2]['level']=_0x1b3bd6:(_0x1b3bd6++,_0x5169eb[_0x1407b2]['level']=_0x1b3bd6,_0x1b3bd6++);for(let _0x542f18=_0x37a3ea;_0x542f18<_0x5553a4;_0x542f18++)0x0==_0x5169eb[_0x542f18]['side']&&(_0x5169eb[_0x542f18]['level']=_0x1b3bd6);_0x1b3bd6=0x0;for(let _0x526109=_0x5553a4-0x1;_0x526109>=_0x360981;_0x526109--)0x0==_0x5169eb[_0x526109]['distance']?_0x5169eb[_0x526109]['level']=_0x1b3bd6:(_0x1b3bd6--,_0x5169eb[_0x526109]['level']=_0x1b3bd6,_0x1b3bd6--);}}['_fixObsoleteTags'](_0x579ce0){const _0x57a15b=new Map(),_0x3d1dcd=this['editor']['model']['schema'];for(let _0x5bf85d=0x1;_0x5bf85d<_0x579ce0['length'];_0x5bf85d++){let _0x55c47e,_0x1c320c,_0x4575ba;const _0x384c49=_0x579ce0[_0x5bf85d],_0x4c0d46=_0x579ce0[_0x5bf85d-0x1];if('text'==_0x384c49['type'])continue;if(_0x384c49['type']!=_0x4c0d46['type'])continue;if(!_0x3d1dcd['isBlock'](_0x4c0d46['item'])||_0x3d1dcd['isLimit'](_0x4c0d46['item']))continue;if(!_0x3d1dcd['isBlock'](_0x384c49['item'])||_0x3d1dcd['isLimit'](_0x384c49['item']))continue;if((_0x579ce0[_0x5bf85d]['isAdded']||_0x579ce0[_0x5bf85d]['isAddSuggestion'])&&_0x579ce0[_0x5bf85d-0x1]['isRemoved'])_0x55c47e=_0x579ce0[_0x5bf85d],_0x1c320c=_0x579ce0[_0x5bf85d-0x1],_0x4575ba=_0x5bf85d-0x1;else{if(!_0x579ce0[_0x5bf85d]['isRemoved']||!_0x579ce0[_0x5bf85d-0x1]['isAdded']&&!_0x579ce0[_0x5bf85d-0x1]['isAddSuggestion'])continue;_0x55c47e=_0x579ce0[_0x5bf85d-0x1],_0x1c320c=_0x579ce0[_0x5bf85d],_0x4575ba=_0x5bf85d;}const _0x2a0145=_0x55c47e['level']==_0x1c320c['level'],_0x12c07d=Math['abs'](_0x55c47e['level'])<Math['abs'](_0x1c320c['level'])&&0x0==_0x1c320c['distance'];(_0x2a0145||_0x12c07d)&&(_0x57a15b['set'](_0x1c320c['id'],_0x55c47e['id']),_0x579ce0['splice'](_0x4575ba,0x1),_0x5bf85d--,_0x55c47e['isAdded']=!0x1);}for(let _0x389eb3=0x0;_0x389eb3<_0x579ce0['length'];_0x389eb3++)_0x57a15b['has'](_0x579ce0[_0x389eb3]['pairId'])&&(_0x579ce0[_0x389eb3]['pairId']=_0x57a15b['get'](_0x579ce0[_0x389eb3]['pairId']));}['_removeMissingPairs'](_0x2c5c6d){const _0x42b3b9=new Set(_0x2c5c6d['map'](_0x574452=>_0x574452['id']));for(let _0x8c4858=0x0;_0x8c4858<_0x2c5c6d['length'];_0x8c4858++)_0x42b3b9['has'](_0x2c5c6d[_0x8c4858]['pairId'])||0x0==_0x2c5c6d[_0x8c4858]['distance']||(_0x2c5c6d[_0x8c4858]['isIncorrect']=!0x0);return _0x2c5c6d['filter'](_0xa3879f=>!_0xa3879f['isIncorrect']);}['_markMismatchedRemovedTags'](_0x5cacc2){const _0x147c5b=new Set();for(let _0x1a34d6=0x0;_0x1a34d6<_0x5cacc2['length'];_0x1a34d6++){if(_0x147c5b['has'](_0x5cacc2[_0x1a34d6]['id'])&&_0x5cacc2[_0x1a34d6]['isRemoved']&&(_0x5cacc2[_0x1a34d6]['isIncorrect']=!0x0),_0x5cacc2[_0x1a34d6]['isIncorrect'])continue;if(0x0==_0x5cacc2[_0x1a34d6]['distance'])continue;if('elementStart'!=_0x5cacc2[_0x1a34d6]['type'])continue;if(null==_0x5cacc2[_0x1a34d6]['pairId'])continue;let _0x5ba17a=_0x1a34d6+0x1,_0x453c73=0x0;for(;_0x5cacc2[_0x5ba17a]['id']!=_0x5cacc2[_0x1a34d6]['pairId'];)'elementStart'==_0x5cacc2[_0x5ba17a]['type']?_0x453c73++:'elementEnd'==_0x5cacc2[_0x5ba17a]['type']&&_0x453c73--,_0x5ba17a++;if(0x0!=_0x453c73){if(_0x5cacc2[_0x1a34d6]['isRemoved'])_0x5cacc2[_0x1a34d6]['isIncorrect']=!0x0;else{for(;_0x5ba17a!=_0x1a34d6;)_0x5cacc2[_0x5ba17a]['isRemoved']&&0x0!=_0x5cacc2[_0x5ba17a]['distance']&&(_0x5cacc2[_0x5ba17a]['isIncorrect']=!0x0,_0x147c5b['add'](_0x5cacc2[_0x5ba17a]['pairId'])),_0x5ba17a--;}}}return _0x5cacc2['filter'](_0x4b7256=>!_0x4b7256['isIncorrect']);}['_removeUnsupportedChanges'](_0x4b2641){const _0x507bd9=this['editor']['model']['schema'];for(let _0x5e5330=0x0;_0x5e5330<_0x4b2641['length'];_0x5e5330++){if(!(_0x4b2641[_0x5e5330]['isAdded']||_0x4b2641[_0x5e5330]['isAddSuggestion']||_0x4b2641[_0x5e5330]['isRemoved']||_0x4b2641[_0x5e5330]['isRemoveSuggestion']))continue;if(0x0==_0x4b2641[_0x5e5330]['distance'])continue;const _0x3de7c3=_0x4b2641[_0x5e5330]['item'];_0x507bd9['isBlock'](_0x3de7c3)||_0x507bd9['isLimit'](_0x3de7c3)||(_0x4b2641[_0x5e5330]['isAdded']&&delete _0x4b2641[_0x5e5330]['isAdded'],_0x4b2641[_0x5e5330]['isAddSuggestion']&&delete _0x4b2641[_0x5e5330]['isAddSuggestion'],_0x4b2641[_0x5e5330]['isRemoveSuggestion']&&delete _0x4b2641[_0x5e5330]['isRemoveSuggestion'],_0x4b2641[_0x5e5330]['isRemoved']&&(_0x4b2641[_0x5e5330]['isIncorrect']=!0x0));}return _0x4b2641['filter'](_0x5be6c1=>!_0x5be6c1['isIncorrect']);}['_makeModelFromTape'](_0x8ff33e,_0x4e6be0,_0x2afcbc){const _0x213ecf=new wt(),_0x5c9177=[],_0x3b39ca=new Map(),_0x5c9929=this['editor']['model'],_0x205975=_0x5c9929['schema'],_0x1899e6=[_0x213ecf],_0x3898a1={},_0x205eaa={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x58e8a5=null;const _0x303d02=[0x0];for(let _0x163620=0x0;_0x163620<_0x8ff33e['length'];_0x163620++){let _0xb844f6,_0xecd7cf;if('elementStart'===_0x8ff33e[_0x163620]['type']){_0xb844f6=_0x5c9929['createPositionFromPath'](_0x213ecf,_0x303d02);const _0x7c4f3a=new ft(_0x8ff33e[_0x163620]['item']['name'],_0x8ff33e[_0x163620]['item']['getAttributes']());_0x1899e6[0x0]['_appendChild'](_0x7c4f3a),_0x303d02['push'](0x0),_0x1899e6['unshift'](_0x7c4f3a),_0xecd7cf=_0x5c9929['createPositionFromPath'](_0x213ecf,_0x303d02),_0x58e8a5=null;}else{if('elementEnd'===_0x8ff33e[_0x163620]['type'])_0x1899e6['shift'](),_0xb844f6=_0x5c9929['createPositionFromPath'](_0x213ecf,_0x303d02),_0x303d02['pop'](),_0x303d02[_0x303d02['length']-0x1]++,_0xecd7cf=_0x5c9929['createPositionFromPath'](_0x213ecf,_0x303d02),_0x58e8a5=null;else{if(_0xb844f6=_0x5c9929['createPositionFromPath'](_0x213ecf,_0x303d02),_0x58e8a5&&_0x4eff37(_0x58e8a5,_0x8ff33e[_0x163620]['item']))_0x58e8a5['_data']+=_0x8ff33e[_0x163620]['item']['data'];else{const _0x71a5f8=new _t(_0x8ff33e[_0x163620]['item']['data'],_0x8ff33e[_0x163620]['item']['getAttributes']());_0x1899e6[0x0]['_appendChild'](_0x71a5f8),_0x58e8a5=_0x71a5f8;}_0x303d02[_0x303d02['length']-0x1]+=_0x8ff33e[_0x163620]['item']['offsetSize'],_0xecd7cf=_0x5c9929['createPositionFromPath'](_0x213ecf,_0x303d02);}}for(const _0x3e99b7 of _0x8ff33e[_0x163620]['markersStart'])_0x3b39ca['set'](_0x3e99b7,{'start':_0xb844f6,'end':null});_0x502daf('isRemoveSuggestion',_0x163620,_0xb844f6,_0xecd7cf),_0x502daf('isAddSuggestion',_0x163620,_0xb844f6,_0xecd7cf),_0x502daf('isRemoved',_0x163620,_0xb844f6,_0xecd7cf),_0x502daf('isAdded',_0x163620,_0xb844f6,_0xecd7cf);for(const _0x5a6ee4 of _0x8ff33e[_0x163620]['markersEnd']){_0x3b39ca['get'](_0x5a6ee4)['end']=_0xecd7cf;}}for(const [_0x23e48c,_0x5bef68]of _0x3b39ca){const _0x6d65=this['editor']['model']['createRange'](_0x5bef68['start'],_0x5bef68['end']);_0x213ecf['markers']['set'](_0x23e48c,_0x6d65);}return _0x5c9177['sort']((_0x1328a8,_0x2712cf)=>{const _0x3e609e=_0x213ecf['markers']['get']('revision:'+_0x1328a8['id']),_0x592f96=_0x213ecf['markers']['get']('revision:'+_0x2712cf['id']);return _0x3e609e['start']['isBefore'](_0x592f96['start'])?-0x1:_0x3e609e['start']['isAfter'](_0x592f96['start'])?0x1:_0x3e609e['end']['isBefore'](_0x592f96['end'])?-0x1:_0x3e609e['end']['isAfter'](_0x592f96['end'])?0x1:'add'===_0x1328a8['type']?-0x1:0x1;}),{'root':_0x213ecf,'changes':_0x5c9177};function _0x502daf(_0x1759e9,_0x26006a,_0x499ed1,_0xe79593){const _0x191616=!!_0x8ff33e[_0x26006a][_0x1759e9],_0x50e837=_0x191616?_0x8ff33e[_0x26006a][_0x1759e9]['userId']:null,_0x3ba369=_0x26006a===_0x8ff33e['length']-0x1,_0x59d9bb=_0x205eaa[_0x1759e9][0x0],_0x32e456=_0x205975['isObject'](_0x8ff33e[_0x26006a]['item']);!_0x3898a1[_0x1759e9]&&_0x191616?_0x3898a1[_0x1759e9]={'start':_0x499ed1,'tapeItem':_0x8ff33e[_0x26006a],'userId':_0x50e837,'type':_0x1759e9}:_0x3898a1[_0x1759e9]&&!_0x191616?(_0x3898a1[_0x1759e9]['end']=_0x499ed1,_0xf0bf77(_0x3898a1[_0x1759e9]),_0x3898a1[_0x1759e9]=null):_0x3898a1[_0x1759e9]&&_0x191616&&_0x3898a1[_0x1759e9]['userId']!==_0x50e837&&(_0x3898a1[_0x1759e9]['end']=_0x499ed1,_0x59d9bb&&_0x59d9bb['userId']===_0x3898a1[_0x1759e9]['userId']||_0xf0bf77(_0x3898a1[_0x1759e9]),_0x3898a1[_0x1759e9]={'start':_0x499ed1,'tapeItem':_0x8ff33e[_0x26006a],'userId':_0x50e837,'type':_0x1759e9}),_0x3898a1[_0x1759e9]&&_0x32e456&&('elementStart'!==_0x8ff33e[_0x26006a]['type']||_0x59d9bb&&_0x59d9bb['userId']===_0x50e837||_0x205eaa[_0x1759e9]['unshift']({'userId':_0x50e837,'object':_0x8ff33e[_0x26006a]['item'],'change':_0x3898a1[_0x1759e9]}),'elementEnd'===_0x8ff33e[_0x26006a]['type']&&_0x59d9bb&&_0x59d9bb['object']===_0x8ff33e[_0x26006a]['item']&&(_0x205eaa[_0x1759e9]['shift'](),_0x3898a1[_0x1759e9]=_0x59d9bb['change'])),_0x3898a1[_0x1759e9]&&_0x3ba369&&(_0x3898a1[_0x1759e9]['end']=_0xe79593,_0xf0bf77(_0x3898a1[_0x1759e9]),_0x3898a1[_0x1759e9]=null);}function _0xf0bf77({start:_0xa2a602,end:_0x4b3dca,tapeItem:_0x466036,userId:_0x255806,type:_0x468a7d}){const _0x5b8068=_0x466036['item'],_0x1f3f98=_0x5c9929['schema']['isBlock'](_0x5b8068)&&!_0x5c9929['schema']['isLimit'](_0x5b8068),_0x88588c=_0xa2a602['nodeAfter']==_0x4b3dca['parent']&&_0x4b3dca['isAtStart'];if(_0x1f3f98&&_0x88588c)return;const _0x1b88f4=_0x5c9929['createRange'](_0xa2a602,_0x4b3dca),_0x2101ae=_0x4e6be0['get'](_0x255806),_0x3a095c=new r({'author':_0x2101ae,'type':'isAdded'==_0x468a7d||'isAddSuggestion'==_0x468a7d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x468a7d||'isRemoveSuggestion'==_0x468a7d},'createdAt':new Date(),'rootName':_0x2afcbc});_0x5c9177['push'](_0x3a095c),_0x213ecf['markers']['set']('revision:'+_0x3a095c['id'],_0x1b88f4);}function _0x4eff37(_0x4078c1,_0x15027c){const _0x2d77ed=_0x4078c1['getAttributes'](),_0x40ecd4=_0x15027c['getAttributes']();for(const _0x308f50 of _0x2d77ed){if(_0x308f50[0x1]!==_0x15027c['getAttribute'](_0x308f50[0x0]))return!0x1;_0x40ecd4['next']();}return _0x40ecd4['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1edf67=>{const _0xbcea7=_0x1edf67['markerName']['split'](':')[0x1],_0x46f0d6=this['_getChangeFromId'](_0xbcea7);if(!_0x46f0d6)return null;const _0x801730='add'==_0x46f0d6['type']?'insertion':'deletion',_0xaf1ce8=['ck-suggestion-marker','ck-suggestion-marker-'+_0x801730];return _0x46f0d6['data']['isSuggestion']&&_0xaf1ce8['push']('ck-suggestion-marker-'+_0x801730+'-new'),this['activeChange']==_0x46f0d6&&_0xaf1ce8['push']('ck-suggestion-marker--active'),{'classes':_0xaf1ce8,'attributes':{'data-change-id':_0xbcea7}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4d5704=>{_0x4d5704['on']('element:pre',(_0x1138c6,_0x395782,_0x55c30f)=>{const _0x350ca9=_0x395782['viewItem']['getChild'](0x0);if(!_0x350ca9||!_0x350ca9['is']('element','code'))return;if(!_0x55c30f['consumable']['consume'](_0x350ca9,{'attributes':['vid_start','vid_end']}))return;const _0x43798d=_0x395782['modelRange']['start']['nodeAfter'];_0x55c30f['writer']['setAttribute']('vid_start',_0x350ca9['getAttribute']('vid_start'),_0x43798d),_0x55c30f['writer']['setAttribute']('vid_end',_0x350ca9['getAttribute']('vid_end'),_0x43798d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x17607e=>{_0x17607e['on']('element',(_0x57997e,_0x164bc4,_0x5d629d)=>{if(!_0x5d629d['consumable']['consume'](_0x164bc4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x164bc4['modelRange']['isCollapsed'])return;const _0x89972c=_0x164bc4['modelRange']['start']['nodeAfter'];_0x89972c['hasAttribute']('vid_start')||_0x89972c['hasAttribute']('vid')||(_0x5d629d['writer']['setAttribute']('vid_start',_0x164bc4['viewItem']['getAttribute']('vid_start'),_0x89972c),_0x5d629d['writer']['setAttribute']('vid_end',_0x164bc4['viewItem']['getAttribute']('vid_end'),_0x89972c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4a1b63=>_0x4a1b63['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1b11d6,[,_0x250823])=>{['vid_start','vid_end','vid']['includes'](_0x250823)&&(_0x1b11d6['return']=!0x0,_0x1b11d6['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x46490a=>{_0x46490a['on']('attribute:vid',(_0x4d3205,_0x15a891,_0x896eea)=>{if('\x20'!=_0x15a891['item']['data']||_0x15a891['item']['parent']['maxOffset']>0x1)return;if(!_0x896eea['consumable']['consume'](_0x15a891['item'],_0x4d3205['name']))return;const _0x4b2080=_0x896eea['writer'],_0x2fcf99=_0x896eea['mapper']['toViewRange'](_0x15a891['range']);_0x4b2080['wrap'](_0x2fcf99,_0x4b2080['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x7ed5ce){const _0x49ca73=_0x7ed5ce['plugins']['get']('RevisionViewer');return(_0x1e2009,_0x177699,_0x57f525)=>{const _0x509bc4=_0x177699['markerName']['split'](':')[0x1],_0x142052=_0x49ca73['_getChangeFromId'](_0x509bc4);if(!_0x142052)return null;const _0x13b545='add'==_0x142052['type']?'split':'merge';if(!_0x57f525['consumable']['test'](_0x177699['markerRange'],_0x1e2009['name']))return;const _0x1e7c98=_0x177699['markerRange']['getWalker'](),_0x515cda=_0x177699['markerRange']['start'],_0x2630a1=_0x7ed5ce['model']['schema'];let _0x214a48=null,_0x137f1f=null,_0x5bd93b=!0x1,_0x1673c3=!0x1;for(const _0x4feac7 of _0x1e7c98){const _0x3d93a0=_0x4feac7['item'];_0x5bd93b=_0x5bd93b||_0x2630a1['isContent'](_0x3d93a0);const _0x51a440=_0x57f525['mapper']['toViewElement'](_0x3d93a0);if(_0x51a440&&_0x51a440['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4feac7['type']&&(_0x2630a1['isBlock'](_0x3d93a0)&&!_0x2630a1['isLimit'](_0x3d93a0)&&(_0x3d93a0['nextSibling']||_0x515cda['isAtEnd']?_0x214a48&&_0x214a48['parent']==_0x3d93a0||(_0x214a48=_0x3d93a0,_0x2063d2(_0x4feac7['previousPosition']),_0x1673c3=!0x0):_0x137f1f=_0x137f1f||_0x4feac7['previousPosition']));}function _0x2063d2(_0x5c170a){const _0x391f1f=_0x57f525['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x13b545}),_0x220db8=_0x57f525['mapper']['toViewPosition'](_0x5c170a);_0x142052['data']['isSuggestion']&&_0x57f525['writer']['addClass']('ck-suggestion-marker-'+_0x13b545+'-new',_0x391f1f),_0x49ca73['activeChange']==_0x142052&&_0x57f525['writer']['addClass']('ck-suggestion-marker--active',_0x391f1f),_0x57f525['writer']['insert'](_0x220db8,_0x391f1f),_0x57f525['mapper']['bindElementToMarker'](_0x391f1f,_0x177699['markerName']);}_0x5bd93b||_0x1673c3||!_0x137f1f||_0x2063d2(_0x137f1f);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1227bf,_0x3af500,_0x141e18)=>{const _0x1a99b9=_0x141e18['mapper']['markerNameToElements'](_0x3af500['markerName']);if(_0x1a99b9){for(const _0x5a666a of _0x1a99b9)(_0x5a666a['hasClass']('ck-suggestion-marker-split')||_0x5a666a['hasClass']('ck-suggestion-marker-merge'))&&(_0x141e18['mapper']['unbindElementFromMarkerName'](_0x5a666a,_0x3af500['markerName']),_0x141e18['writer']['remove'](_0x5a666a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1a3baa,_0x357d54,_0x5b6af6)=>{const _0x317651=_0x357d54['markerName']['split'](':')[0x1],_0x340ace=this['_getChangeFromId'](_0x317651);if(!_0x340ace)return null;const _0x38880d='add'==_0x340ace['type']?'split':'merge';if(_0x5b6af6['consumable']['test'](_0x357d54['markerRange'],_0x1a3baa['name']))for(const _0x21e62f of _0x357d54['markerRange']['getItems']()){if(!_0x21e62f['is']('element','softBreak'))continue;const _0x1fef11=_0x5b6af6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x38880d}),_0x29a7db=_0x5b6af6['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x21e62f));_0x340ace['data']['isSuggestion']&&_0x5b6af6['writer']['addClass']('ck-suggestion-marker-'+_0x38880d+'-new',_0x1fef11),this['activeChange']==_0x340ace&&_0x5b6af6['writer']['addClass']('ck-suggestion-marker--active',_0x1fef11),_0x5b6af6['writer']['insert'](_0x29a7db,_0x1fef11),_0x5b6af6['mapper']['bindElementToMarker'](_0x1fef11,_0x357d54['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x53b7f4=>{for(const _0x39202e of this['editor']['model']['document']['getRootNames']()){const _0x21760f=this['editor']['model']['document']['getRoot'](_0x39202e),_0x46a8f5=this['editor']['editing']['view']['document']['getRoot'](_0x39202e);if(_0x46a8f5){const _0x4ae610=_0x21760f['getAttribute']('revisionHistoryAttachChange');if(_0x53b7f4['removeAttribute']('data-change-id',_0x46a8f5),_0x53b7f4['removeClass']('ck-revision-history-root-add',_0x46a8f5),_0x53b7f4['removeClass']('ck-revision-history-root-remove',_0x46a8f5),_0x53b7f4['removeClass']('ck-revision-history-root--active',_0x46a8f5),_0x4ae610){const _0x50df17=this['_getChangeFromId'](_0x4ae610);if(!_0x50df17)return null;_0x53b7f4['setAttribute']('data-change-id',_0x4ae610,_0x46a8f5),_0x53b7f4['addClass']('ck-revision-history-root-'+_0x50df17['type'],_0x46a8f5),this['activeChange']==_0x50df17&&_0x53b7f4['addClass']('ck-revision-history-root--active',_0x46a8f5);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1abb92=>'revision-comment:'+_0x1abb92,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x3c7bb9=>'revision-suggestion:'+_0x3c7bb9,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x112d0b=>({'name':'suggestion:'+_0x112d0b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2a3f4a=>{const _0x18639e=_0x2a3f4a['markerName']['split'](':')[0x1];return'insertion'!=_0x18639e&&'deletion'!=_0x18639e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x18639e]};}}),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',(_0x158d11,_0x5148ff,_0x20efea)=>{const _0x462949=_0x20efea['mapper']['markerNameToElements'](_0x5148ff['markerName']);if(_0x462949){for(const _0x16ca60 of _0x462949)_0x16ca60['is']('uiElement')&&(_0x20efea['mapper']['unbindElementFromMarkerName'](_0x16ca60,_0x5148ff['markerName']),_0x20efea['writer']['remove'](_0x16ca60));}},{'priority':'high'});}['_getChangeFromId'](_0x34cf09){return this['_changeIdToChange']['get'](_0x34cf09);}['_getViewForChange'](_0x21580b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x21580b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x568986,_0x783a15,_0x380cbd,_0x4058b6)=>{_0x4058b6&&this['_balloon']['remove'](_0x4058b6),_0x380cbd&&(this['_balloon']['add']({'view':_0x380cbd,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2e4c97=this['editor']['editing'],_0xf8949d=this['_getChangeFromId'](_0x380cbd['changeId']);let _0x546ea3;if(_0xf8949d['data']['isOnRoot']){const _0x5eed05=_0x2e4c97['view']['getDomRoot'](_0xf8949d['rootName']);_0x546ea3=Array['from'](_0x5eed05['getClientRects']());}else{const _0x58d191=this['editor']['model']['markers']['get']('revision:'+_0x380cbd['changeId']);_0x546ea3=Array['from'](_0x2e4c97['mapper']['markerNameToElements'](_0x58d191['name']))['map'](_0x24e58d=>_0x2e4c97['view']['domConverter']['mapViewToDom'](_0x24e58d))['map'](_0x17fb05=>Array['from'](_0x17fb05['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x546ea3[0x0];return _0x546ea3['find'](_0x50a8f9=>_0x50a8f9['top']-0x3<=this['_activeViewTarget']['y']&&_0x50a8f9['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x50a8f9['left']-0x3<=this['_activeViewTarget']['x']&&_0x50a8f9['right']+0x3>=this['_activeViewTarget']['x'])||_0x546ea3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3b1aba,_0x1e810a,_0x41e801,_0x395522)=>{this['activeView']=_0x41e801?this['_getViewForChange'](_0x41e801):null,this['editor']['model']['change'](()=>{const _0x34cac6=this['editor']['editing'];_0x395522&&(_0x395522['data']['isOnRoot']?_0x34cac6['view']['change'](_0x172794=>{_0x172794['removeClass']('ck-revision-history-root--active',_0x34cac6['view']['document']['getRoot'](_0x395522['rootName']));}):_0x34cac6['reconvertMarker']('revision:'+_0x395522['id'])),_0x41e801&&(_0x41e801['data']['isOnRoot']?_0x34cac6['view']['change'](_0x39b5cd=>{_0x39b5cd['addClass']('ck-revision-history-root--active',_0x34cac6['view']['document']['getRoot'](_0x41e801['rootName']));}):_0x34cac6['reconvertMarker']('revision:'+_0x41e801['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x27c794,_0x555bc2)=>{if(this['activeChange'])return;const _0x54d525=this['_findChangeIdFromDomTarget'](_0x555bc2['target']),_0x5f0489=this['_changeIdToChange']['get'](_0x54d525);_0x5f0489?(this['_activeViewTarget']={'x':_0x555bc2['domEvent']['x'],'y':_0x555bc2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5f0489)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x44a0f3,_0xfb7271)=>{const _0x375580=this['_findChangeIdFromDomTarget'](_0xfb7271['target']),_0x35d368=this['_changeIdToChange']['get'](_0x375580);_0x35d368?(this['_activeViewTarget']={'x':_0xfb7271['domEvent']['x'],'y':_0xfb7271['domEvent']['y']},_0x35d368===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x35d368):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1a85a0){do{const _0x88086d=_0x1a85a0['getAttribute']('data-change-id');if(_0x88086d)return _0x88086d;_0x1a85a0=_0x1a85a0['parent'];}while(_0x1a85a0);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2e8d95=>{for(const _0x3f58de of this['editor']['model']['markers'])_0x2e8d95['removeMarker'](_0x3f58de);});}}function et(_0x80892,_0x2cdf09){return(_0x282b4a,_0x341c96,_0x505a17)=>{if(!_0x505a17['consumable']['test'](_0x341c96['markerRange'],_0x282b4a['name']))return;const _0x298aec=_0x341c96['markerRange']['getWalker'](),_0x1dd565=_0x341c96['markerRange']['start'],_0x8e62e3=_0x80892['model']['schema'];let _0x19162e=null,_0x38f0c1=null,_0x1f5b0b=!0x1,_0x558963=!0x1;for(const _0x2bc921 of _0x298aec){const _0x5020eb=_0x2bc921['item'];_0x1f5b0b=_0x1f5b0b||_0x8e62e3['isContent'](_0x5020eb);const _0x33abf5=_0x505a17['mapper']['toViewElement'](_0x5020eb);if(_0x33abf5&&_0x33abf5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2bc921['type']&&(_0x8e62e3['isBlock'](_0x5020eb)&&!_0x8e62e3['isLimit'](_0x5020eb)&&(_0x5020eb['nextSibling']||_0x1dd565['isAtEnd']?_0x19162e&&_0x19162e['parent']==_0x5020eb||(_0x19162e=_0x5020eb,_0x592495(_0x2bc921['previousPosition']),_0x558963=!0x0):_0x38f0c1=_0x38f0c1||_0x2bc921['previousPosition']));}function _0x592495(_0x55ac88){const _0x289ddc=_0x505a17['mapper']['toViewPosition'](_0x55ac88),_0x3d1d69=_0x505a17['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2cdf09});_0x505a17['writer']['insert'](_0x289ddc,_0x3d1d69),_0x505a17['mapper']['bindElementToMarker'](_0x3d1d69,_0x341c96['markerName']);}_0x1f5b0b||_0x558963||!_0x38f0c1||_0x592495(_0x38f0c1);};}class bt extends _0x7c50e1{constructor(_0x4eb5a5){super(_0x4eb5a5);const _0x328c8c=_0x4eb5a5['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x328c8c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x328c8c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x31c91=this['editor'],_0x2c3582=_0x31c91['plugins']['get'](d),_0x1ec7a=_0x2c3582['isReady']?_0x2c3582['diff']['newRevisionId']:null;_0x31c91['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1ec7a);}['refresh'](){const {isReady:_0x236957,isEnabled:_0x47d0d1}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x236957&&_0x47d0d1;}}class yt extends _0x7c50e1{['_step'];constructor(_0x5b6f85,{direction:_0x4f4ad9}){super(_0x5b6f85);const _0x3e71c0=_0x5b6f85['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4f4ad9?0x1:-0x1,this['listenTo'](_0x3e71c0,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3e71c0,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3e71c0,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5e333a=this['editor'],_0xcf0f=_0x5e333a['plugins']['get'](d),{isNavigationMode:_0x1c1ab9,currentChangeNumber:_0xba4536}=_0xcf0f;let _0x405db8;if(_0xcf0f['activeChange']=_0x1c1ab9?_0xcf0f['diff']['changes']['get'](_0xba4536+this['_step']):_0xcf0f['diff']['changes']['first'],_0xcf0f['activeChange']['data']['isOnRoot'])_0x405db8=_0x5e333a['editing']['view']['getDomRoot'](_0xcf0f['activeChange']['rootName']);else{const _0x5c1569=_0x5e333a['model']['markers']['get']('revision:'+_0xcf0f['activeChange']['id']);_0x405db8=_0x30b37b(_0x5e333a['editing'],_0x5c1569);}_0x37ffbe({'target':_0x405db8,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x435c9,currentChangeNumber:_0x3b221d,numberOfChanges:_0x1cb16e,isReady:_0x43130e,isEnabled:_0x19096f}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x19096f&&_0x43130e&&_0x1cb16e)&&(!_0x435c9||(0x1===this['_step']?_0x3b221d<_0x1cb16e-0x1:_0x3b221d>0x0));}}class li extends ts{constructor(_0x169493){super(_0x169493);const _0x455e91=this['bindTemplate'],_0x1c7bae=new te(_0x169493),_0x12b3f9=new te(_0x169493);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',(_0x15a092,_0x1b9686)=>_0x15a092&&_0x1b9686>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4300ef,_0x4bda57,_0xc9a2cd,_0x32c284)=>{if(!_0x4300ef)return y(_0x169493,'Loading...');if(!_0xc9a2cd)return y(_0x169493,'No\x20changes');const _0x1794c2=y(_0x169493,'NUMBER_OF_CHANGES',_0xc9a2cd);return _0x32c284?y(_0x169493,'X_OF_Y_CHANGES',[_0x4bda57+0x1,_0xc9a2cd]):_0x1794c2;}),_0x1c7bae['set']({'label':y(_0x169493,'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'}),_0x12b3f9['set']({'label':y(_0x169493,'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'}),_0x1c7bae['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x12b3f9['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1c7bae['on']('execute',()=>this['fire']('execute','backward')),_0x12b3f9['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',_0x455e91['if']('_isStatusLabelVisible','ck-hidden',_0x3c3d93=>!_0x3c3d93)]},'children':[{'text':_0x455e91['to']('isNavigationMode',_0x13c0b5=>_0x13c0b5?y(_0x169493,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x169493,'Total')+':\x20')}]},{'text':_0x455e91['to']('_statusText')}]},new _0x53202f(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1c7bae,_0x12b3f9]}]});}}const le='ck-editor__editable__loading-overlay';class fe extends _0x1c9ec6{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x13266e=this['editor']['editing']['view'];_0x13266e['change'](_0x2414a7=>{for(const _0x2345b3 of _0x13266e['document']['roots'])_0x2414a7['addClass'](le,_0x2345b3);});}['hide'](){const _0x3e71ce=this['editor']['editing']['view'];_0x3e71ce['change'](_0x401e24=>{for(const _0x5748b3 of _0x3e71ce['document']['roots'])_0x401e24['removeClass'](le,_0x5748b3);});}}class R extends _0x1c9ec6{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,fe];}['init'](){const _0x4a8a25=this['editor'],_0x17d94e=_0x4a8a25['plugins']['get'](d),_0xbd5aa1=_0x4a8a25['plugins']['get'](fe);_0x4a8a25['ui']['componentFactory']['add']('exitToEditing',_0x58091a=>{const _0x5d79f7=new te(_0x58091a);return _0x5d79f7['set']({'label':y(_0x58091a,'Back\x20to\x20editing'),'icon':_0x32234b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5d79f7,'execute',()=>{_0x4a8a25['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5d79f7;}),_0x4a8a25['ui']['componentFactory']['add']('restoreRevision',_0x4bf16c=>{const _0x4c4f82=new te(_0x4bf16c);return _0x4c4f82['set']({'label':y(_0x4bf16c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4c4f82['bind']('isEnabled')['to'](_0x4a8a25['commands']['get']('restoreRevision')),this['listenTo'](_0x4c4f82,'execute',()=>_0x4a8a25['execute']('restoreRevision')),_0x4c4f82;}),_0x4a8a25['ui']['componentFactory']['add']('changesNavigation',_0x23f9b2=>{const _0x85ae17=new li(_0x23f9b2),_0x34adcb=_0x4a8a25['commands']['get']('showPreviousChange'),_0x51a6e2=_0x4a8a25['commands']['get']('showNextChange');return _0x85ae17['bind']('isBackwardNavigationEnabled')['to'](_0x34adcb,'isEnabled'),_0x85ae17['bind']('isForwardNavigationEnabled')['to'](_0x51a6e2,'isEnabled'),_0x85ae17['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x17d94e),this['listenTo'](_0x85ae17,'execute',(_0x7cb40c,_0x2f3015)=>{_0x4a8a25['execute']('forward'===_0x2f3015?'showNextChange':'showPreviousChange');}),_0x85ae17;}),_0xbd5aa1['show'](),_0x17d94e['on']('change:isReady',(_0x20f95c,_0x1a2ee9,_0x3ed10d)=>{_0x3ed10d?_0xbd5aa1['hide']():_0xbd5aa1['show']();});}}class mt extends _0x453c87{['_resizeObserver']=null;constructor(_0x4e1e5f,_0x6ef2bb){super(_0x4e1e5f,_0x6ef2bb);const _0x975940=this['bindTemplate'];this['set']({'label':y(_0x4e1e5f,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4e1e5f,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x975940['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new at(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x1d8f28=this['fieldView']['element'];this['_tooltipString']=_0x1d8f28['scrollWidth']>_0x1d8f28['clientWidth']&&_0x1d8f28['value']||'';}}class ri extends ts{constructor(_0xe812d2,_0xfdfe0,_0x261e5e){super(_0xe812d2);const _0x4b501f=new _0x2dde51();_0x4b501f['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 _0x2e5bc4=['ck','ck-revision-history-sidebar__revision-author'];_0x261e5e&&_0x2e5bc4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2bf511=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xe812d2,_0x261e5e?'Revision\x20creator':'Revision\x20author')},'children':[_0x4b501f,_0xfdfe0['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2e5bc4},'children':_0x2bf511});}}function oi(_0x1a0a81,_0x3611dd){const _0x4d1256=_0x1a0a81['bindTemplate'],_0x460b8a=_0x1a0a81['locale'],_0x70a55a=_0x46e061(_0x460b8a);_0x70a55a['panelPosition']='sw';const _0x1d8b29=function(_0x550152,_0x52eed3){const _0x2e2a9d=function(_0xf7733,_0x161132){const _0x1ede0a=_0xf7733['locale'],_0x1796de={'Compare\x20against\x20selected':y(_0x1ede0a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x1ede0a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x1ede0a,'Restore\x20this\x20revision')};return _0x161132['map'](_0x2438cd=>{const _0x1ad68e=_0x1796de[_0x2438cd['name']];return _0x1ad68e&&_0x1ad68e!==_0x2438cd['name']&&(_0x2438cd['name']=_0x1ad68e),_0x2438cd;});}(_0x550152,_0x52eed3),_0x203025=new _0x455856();for(const _0x2c9088 of _0x2e2a9d){const _0x5d07d5={'type':'button','model':new _0x17aa4b({'label':_0x2c9088['name'],'class':_0x2c9088['class'],'withText':!0x0,'role':'menuitem','_action':_0x2c9088['action']})};_0x5d07d5['model']['bind']('isEnabled')['to'](_0x550152,'isActionsDropdownOpen',_0x1e2328=>'function'!=typeof _0x2c9088['isEnabled']||(!_0x1e2328||_0x2c9088['isEnabled'](_0x550152))),_0x203025['add'](_0x5d07d5);}return _0x203025;}(_0x1a0a81,_0x3611dd);return _0x1a0a81['bind']('isActionsDropdownOpen')['to'](_0x70a55a,'isOpen'),_0x70a55a['buttonView']['set']({'label':y(_0x460b8a,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x32234b['threeVerticalDots']}),_0x70a55a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4d1256['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4d1256['to'](_0x124149=>_0x124149['stopPropagation']())}}),_0x70a55a['on']('execute',_0x420d5d=>{_0x1a0a81['isReady']&&'function'==typeof _0x420d5d['source']['_action']&&_0x420d5d['source']['_action'](_0x1a0a81);}),to(_0x70a55a,_0x1d8b29,{'role':'menu'}),_0x70a55a['listenTo'](_0x1a0a81,'change:isActionsDropdownOpen',(_0x123ac7,_0x139917,_0x5f686b)=>{if(_0x5f686b)for(const _0x213832 of _0x70a55a['listView']['items']){const _0x716bd9=_0x213832['children']['first'],_0x1d5258=_0x3611dd['find'](_0x1b9544=>_0x1b9544['action']===_0x716bd9['_action'])['isVisible'];_0x213832['isVisible']=void 0x0===_0x1d5258||_0x1d5258(_0x1a0a81);}}),_0x70a55a;}class hi extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{ObservableMixin as _0x3cf579,uid as _0x2f067e,Collection as _0x52ae39,logWarning as _0x5e33e3,FocusTracker as _0xe2556f,KeystrokeHandler as _0x36e087,scrollViewportToShowTarget as _0xc1d5e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1dfbf0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x25472f,set as _0x141bf8,unset as _0x3a3923,isEqual as _0x8c9f16}from'lodash-es';import{Plugin as _0x490488,Context as _0x613ed2,PendingActions as _0x2f7bdc,icons as _0x4e50e6,Command as _0x3f642e,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x5f579f,getMarkerDomElement as _0x544688,ConfirmMixin as _0x2e9866,sanitizeEditorConfig as _0x395fd4}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x157bb4,ViewText as _0x3a4690,ViewElement as _0x50a15d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x110ad9,ViewAttributeElement as _0x188a0a,ViewEmptyElement as _0x5c36f0,ViewRawElement as _0x5869f3,ViewUIElement as _0x434c42,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x72c54,injectCssTransitionDisabler as ts,submitHandler as _0x40fef8,LabeledFieldView as at,createLabeledInputText as _0x523fa1,createDropdown as _0x11eae5,ListView as te,ListItemView as _0x47e5bb,ButtonView as _0x5a4920,MenuBarMenuView as _0x3b6bc9,MenuBarMenuListView as _0x1a9c6d,MenuBarMenuListItemView as _0x57d3a1,MenuBarMenuListItemButtonView as _0x3b784b,ContextualBalloon as _0x4b3375,ToolbarSeparatorView as _0xc83c5a,IconView as _0x240ebd,addListToDropdown as _0x3f4f83,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 _0xca3a3b}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3cf579(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x21df85){super(),this['id']=_0x21df85['id']||_0x2f067e(),this['creator']=_0x21df85['creator']||null,this['authors']=_0x21df85['authors']||[],this['diffData']=_0x21df85['diffData']||null,this['toVersion']=_0x21df85['toVersion']||0x0,this['fromVersion']=_0x21df85['fromVersion']||0x0,this['set']('name',_0x21df85['name']||''),this['set']('createdAt',_0x21df85['createdAt']||new Date()),this['set']('attributes',_0x21df85['attributes']||{});}['setName'](_0x1e18c3){this['_update']({'name':_0x1e18c3});}['setAttribute'](_0x50669d,_0xf8d357){const _0x31a7ec=_0x25472f(this['attributes']);_0x141bf8(_0x31a7ec,_0x50669d,_0xf8d357),this['_update']({'attributes':_0x31a7ec});}['removeAttribute'](_0x36bf16){const _0x295f9a=_0x25472f(this['attributes']);_0x3a3923(_0x295f9a,_0x36bf16),this['_update']({'attributes':_0x295f9a});}['_update'](_0x5aac45,_0x4aee68=!0x1){let _0x419a49=!0x1;const _0x59136b={'id':this['id']},_0x29d134=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x37a06a of _0x29d134){const _0x54356c=_0x5aac45[_0x37a06a];void 0x0!==_0x54356c&&_0x54356c!==this[_0x37a06a]&&(this[_0x37a06a]=_0x54356c,_0x59136b[_0x37a06a]=_0x54356c,_0x419a49=!0x0);}_0x419a49&&(_0x59136b['authors']&&(_0x59136b['authorsIds']=_0x59136b['authors']['map'](_0x58a279=>_0x58a279['id']),delete _0x59136b['authors']),this['fire']('_update',_0x59136b,_0x4aee68));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2b326d=>_0x2b326d['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x490488{['_revisions'];static get['requires'](){return[_0x5f579f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x482fb4){super(_0x482fb4),this['_revisions']=new _0x52ae39();}['afterInit'](){!function(_0x2048ee){function _0x35288e(_0x43552,_0x3ade43,_0x452fff){const _0x1fa6cf={};_0x1fa6cf[_0x4faf5c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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],_0x1fa6cf[_0x4faf5c([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 _0x52866c=new Uint8Array(0x10);for(let _0x4bb234=0xf;_0x4bb234>=0x0;--_0x4bb234)_0x52866c[_0x4bb234]=_0x452fff%0x100,_0x452fff=parseInt(_0x452fff/0x100);let _0x520978=null,_0x2c0495=0x10;const _0x556290=new Uint8Array(_0x3ade43),_0x3a1952=[],_0x34b6bd=[];_0x86255c();for(let _0xa1f35c=0x0;_0xa1f35c<_0x43552[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa1f35c++)0x10===_0x2c0495&&(_0x520978=_0x5494b4(_0x52866c),_0x2c0495=0x0,_0x5d2f13(_0x52866c)),_0x43552[_0xa1f35c]^=_0x520978[_0x2c0495++];return _0x43552;function _0x17a008(_0x1b46ae){const _0x52529f=[];for(let _0x1427f8=0x0;_0x1427f8<_0x1b46ae[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1427f8+=0x4)_0x52529f[_0x4faf5c([0x70,0x75,0x73,0x68])](_0x1b46ae[_0x1427f8]<<0x18|_0x1b46ae[_0x1427f8+0x1]<<0x10|_0x1b46ae[_0x1427f8+0x2]<<0x8|_0x1b46ae[_0x1427f8+0x3]);return _0x52529f;}function _0x5d2f13(_0x159abb){for(let _0x5b5073=0xf;_0x5b5073>=0x0;_0x5b5073--){if(0xff!==_0x159abb[_0x5b5073]){_0x159abb[_0x5b5073]++;break;}_0x159abb[_0x5b5073]=0x0;}}function _0x5494b4(_0x584987){const _0x19b132=_0x3a1952[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x48a879=[0x0,0x0,0x0,0x0];let t=_0x17a008(_0x584987);for(let _0x129483=0x0;_0x129483<0x4;_0x129483++)t[_0x129483]^=_0x3a1952[0x0][_0x129483];for(let _0xfc84b5=0x1;_0xfc84b5<_0x19b132;_0xfc84b5++){for(let _0x1e4519=0x0;_0x1e4519<0x4;_0x1e4519++)_0x48a879[_0x1e4519]=_0x1fa6cf[_0x4faf5c([0x54,0x31])][t[_0x1e4519]>>0x18&0xff]^_0x1fa6cf[_0x4faf5c([0x54,0x32])][t[(_0x1e4519+0x1)%0x4]>>0x10&0xff]^_0x1fa6cf[_0x4faf5c([0x54,0x33])][t[(_0x1e4519+0x2)%0x4]>>0x8&0xff]^_0x1fa6cf[_0x4faf5c([0x54,0x34])][0xff&t[(_0x1e4519+0x3)%0x4]]^_0x3a1952[_0xfc84b5][_0x1e4519];t=_0x48a879[_0x4faf5c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x489fcd=new Uint8Array(0x10);let _0x23bc67;for(let _0x4ced7d=0x0;_0x4ced7d<0x4;_0x4ced7d++)_0x23bc67=_0x3a1952[_0x19b132][_0x4ced7d],_0x489fcd[0x4*_0x4ced7d]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][t[_0x4ced7d]>>0x18&0xff]^_0x23bc67>>0x18),_0x489fcd[0x4*_0x4ced7d+0x1]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][t[(_0x4ced7d+0x1)%0x4]>>0x10&0xff]^_0x23bc67>>0x10),_0x489fcd[0x4*_0x4ced7d+0x2]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][t[(_0x4ced7d+0x2)%0x4]>>0x8&0xff]^_0x23bc67>>0x8),_0x489fcd[0x4*_0x4ced7d+0x3]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][0xff&t[(_0x4ced7d+0x3)%0x4]]^_0x23bc67);return _0x489fcd;}function _0x86255c(){const _0x3d8b50=_0x1fa6cf[_0x4faf5c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x556290[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4eacbb=0x0;_0x4eacbb<=_0x3d8b50;_0x4eacbb++)_0x3a1952[_0x4faf5c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x34b6bd[_0x4faf5c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2ec1d7=0x4*(_0x3d8b50+0x1),_0x20f989=_0x556290[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2e151a=_0x17a008(_0x556290);let _0x546e43;for(let _0x909023=0x0;_0x909023<_0x20f989;_0x909023++)_0x546e43=_0x909023>>0x2,_0x3a1952[_0x546e43][_0x909023%0x4]=_0x2e151a[_0x909023],_0x34b6bd[_0x3d8b50-_0x546e43][_0x909023%0x4]=_0x2e151a[_0x909023];let _0x158b25,_0x426984=0x0,t=_0x20f989;for(;t<_0x2ec1d7;){_0x158b25=_0x2e151a[_0x20f989-0x1],_0x2e151a[0x0]^=_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x10&0xff]<<0x18^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x8&0xff]<<0x10^_0x1fa6cf[_0x4faf5c([0x53])][0xff&_0x158b25]<<0x8^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x18&0xff]^_0x1fa6cf[_0x4faf5c([0x72,0x63,0x6f,0x6e])][_0x426984]<<0x18,_0x426984+=0x1;for(let _0x41521c=0x1;_0x41521c<_0x20f989/0x2;_0x41521c++)_0x2e151a[_0x41521c]^=_0x2e151a[_0x41521c-0x1];_0x158b25=_0x2e151a[_0x20f989/0x2-0x1],_0x2e151a[_0x20f989/0x2]^=_0x1fa6cf[_0x4faf5c([0x53])][0xff&_0x158b25]^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x8&0xff]<<0x8^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x10&0xff]<<0x10^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x18&0xff]<<0x18;for(let _0x16bd9f=_0x20f989/0x2+0x1;_0x16bd9f<_0x20f989;_0x16bd9f++)_0x2e151a[_0x16bd9f]^=_0x2e151a[_0x16bd9f-0x1];let _0x5a1afe,_0x37ac6d,_0x56d61c=0x0;for(;_0x56d61c<_0x20f989&&t<_0x2ec1d7;)_0x5a1afe=t>>0x2,_0x37ac6d=t%0x4,_0x3a1952[_0x5a1afe][_0x37ac6d]=_0x2e151a[_0x56d61c],_0x34b6bd[_0x3d8b50-_0x5a1afe][_0x37ac6d]=_0x2e151a[_0x56d61c++],t++;}for(let _0x5e260d=0x1;_0x5e260d<_0x3d8b50;_0x5e260d++)for(let _0x59a84f=0x0;_0x59a84f<0x4;_0x59a84f++)_0x158b25=_0x34b6bd[_0x5e260d][_0x59a84f],_0x34b6bd[_0x5e260d][_0x59a84f]=_0x1fa6cf[_0x4faf5c([0x55,0x31])][_0x158b25>>0x18&0xff]^_0x1fa6cf[_0x4faf5c([0x55,0x32])][_0x158b25>>0x10&0xff]^_0x1fa6cf[_0x4faf5c([0x55,0x33])][_0x158b25>>0x8&0xff]^_0x1fa6cf[_0x4faf5c([0x55,0x34])][0xff&_0x158b25];}}function _0x4faf5c(_0xb0887e){return _0xb0887e['map'](_0x5d3253=>String['fromCharCode'](_0x5d3253))['join']('');}(_0x167cc9=>{function _0x13a0a0(){const _0x509624=[{[_0x4faf5c([0x69,0x64])]:0x1,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4faf5c([0x69,0x64])]:0x2,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([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]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faf5c([0x69,0x64])]:0x3,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faf5c([0x69,0x64])]:0x4,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([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]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faf5c([0x69,0x64])]:0x5,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([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]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x6,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x7,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x8,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([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]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x9,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4faf5c([0x69,0x64])]:0xa,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([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]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([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]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([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]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0xb,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faf5c([0x69,0x64])]:0xc,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4faf5c([0x69,0x64])]:0xd,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0xe,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4faf5c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([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])},{[_0x4faf5c([0x69,0x64])]:0xf,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faf5c([0x69,0x64])]:0x10,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}}];return _0x14f658(_0x509624),_0x509624;function _0xd701bd(_0x5d7d09){return 0x1<<_0x5d7d09-0x1;}function _0x14f658(_0x5d79bb){_0x5d79bb[_0x4faf5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32cdd1=>{_0x32cdd1[_0x4faf5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xd701bd(_0x32cdd1[_0x4faf5c([0x69,0x64])]),_0x4167cd(_0x32cdd1)&&_0x32cdd1[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x14f658(_0x32cdd1[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4167cd(_0xa69fc5){return _0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xa69fc5;}const _0x537c3a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4762fd=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3077d6(_0x30622c){const _0x422138=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5a84a7(_0x30622c,new Uint8Array([..._0x537c3a,..._0x422138,..._0x4762fd]));}function _0x5a84a7(_0xe2f8c8,_0x2ae3fd){const _0x4835d7=_0x46f992(_0xe2f8c8),_0x10d4e6=Array[_0x4faf5c([0x66,0x72,0x6f,0x6d])](_0x15319e(_0x4835d7)),_0x430fc1=_0x10d4e6[_0x4faf5c([0x70,0x6f,0x70])](),_0x4e90db=_0x10d4e6[_0x4faf5c([0x70,0x6f,0x70])]();return _0x43b6ba(_0x35288e(_0x10d4e6,_0x2ae3fd,_0x4e90db+0x100*_0x430fc1));}function _0x46f992(_0x29594f){const _0x312b12=atob(_0x29594f),[_0x17feb8,_0x6db2fb]=_0x312b12[_0x4faf5c([0x73,0x70,0x6c,0x69,0x74])](_0x4faf5c([0x2d]));try{if(atob(_0x6db2fb))return atob(_0x17feb8);}catch(_0x476a82){}return _0x312b12;}function _0x1dc17d(_0x2643e8){try{const _0x55d5b5=_0x3077d6(_0x2643e8),_0x47a11f=JSON[_0x4faf5c([0x70,0x61,0x72,0x73,0x65])](_0x55d5b5),_0x367979=parseInt(_0x47a11f[_0x4faf5c([0x31])]),_0x2a6cf8=_0x47a11f[_0x4faf5c([0x32])]||'',_0x2644fe=parseInt(_0x47a11f[_0x4faf5c([0x33])]),_0x237f4d=parseInt(_0x47a11f[_0x4faf5c([0x34])])||0x0,_0x4ca2d4=parseInt(_0x47a11f[_0x4faf5c([0x35])])||0x0;return{[_0x4faf5c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2a6cf8,[_0x4faf5c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x237f4d,[_0x4faf5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x367979,[_0x4faf5c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2644fe,[_0x4faf5c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4ca2d4};}catch(_0x47f5b3){return null;}}const _0x2f6363=_0x13a0a0(),_0x32d0cc={[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x376cff,[_0x4faf5c([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])]:_0x26fb93,[_0x4faf5c([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])]:_0x5c1bec},_0x3e7d7f=_0x167cc9[_0x4faf5c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5a14d7=_0x4faf5c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x167cc9?_0x167cc9['context']:_0x167cc9['editor'],_0x2ae8d7=_0x4faf5c([0x34,0x30,0x34,0x38,0x31,0x38,0x30,0x38]),_0x1d96b0=_0x4faf5c([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]),_0x35e73e=_0x5a14d7['config']['get'](_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3558c3=_0x2f6363[_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4167cd)[_0x4faf5c([0x66,0x69,0x6e,0x64])](_0x5e497a=>_0x5e497a[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3e7d7f);function _0xfeefc1(_0x44f57b,_0x5b4509){_0x32d0cc[_0x5b4509[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x44f57b,_0x5b4509),_0x5b4509[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5b4509[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cb6c5=>_0x211d67(_0x5a14d7,_0x3cb6c5[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4faf5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51d2ec=>_0xfeefc1(_0x44f57b,_0x51d2ec));}function _0x376cff(_0x364ee6,_0x2c07bd){_0x7aca12(_0x42921d(_0x364ee6,_0x2c07bd),_0x2c07bd);}function _0x26fb93(_0x2b8069,_0x2c1ea2){function _0x298f26(_0x38b37b,_0x3a2e75){try{if(_0x211d67(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x38b37b){const _0x124db1=_0x36d933(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4faf5c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x124db1)/0x2>_0x38b37b[_0x4faf5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1a318c(_0x3a2e75[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x42921d(_0x38b37b,_0x3a2e75);}catch(_0x5161a6){return _0x1a318c(_0x3a2e75[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x7aca12(_0x298f26(_0x2b8069,_0x2c1ea2),_0x2c1ea2);}function _0x5c1bec(_0x377d6a,_0x297c9f){const _0x2c976a=_0x4762fd[0x0]*_0x537c3a[0x1],_0x314aaa=_0x4762fd[0x0]*_0x537c3a[0x2],_0x5b25c1=_0x4762fd[0x2]*_0x537c3a[0x2];_0x211d67(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36d933(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x402e1f()]=_0x5b25c1);function _0x497bf2(_0x47880e,_0x143575){try{return _0x306df8()?_0x1a318c(_0x143575[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x56,0x61,0x6c,0x69,0x64])):_0x42921d(_0x47880e,_0x143575);}catch(_0xeacb00){return _0x1a318c(_0x143575[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x45f2cf(_0x3b32e0,_0x2003cb){const _0x45e56f=0x7;if(_0x3b32e0==_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x19cc30();else{if(_0x3b32e0==_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])){const _0x850c82=_0x48e79f();_0x850c82&&_0x5d1cbd(_0x850c82,_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3fa888=_0x3f4f85();window[_0x4faf5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5d1cbd(_0x4faf5c([0x74,0x69,0x6d,0x65]),_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3fa888);const _0x5e6681=_0x36d933(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faf5c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5e6681[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45e56f?_0x5d1cbd(_0x4faf5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5e6681['on'](_0x4faf5c([0x61,0x64,0x64]),()=>{_0x5e6681[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45e56f&&_0x5d1cbd(_0x4faf5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x48e79f(){if(!_0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x290cda in window)if(Number['isNaN'](Number(_0x290cda))){if(window[_0x290cda]===_0x2c976a)return _0x4faf5c([0x74,0x69,0x6d,0x65]);if(window[_0x290cda]===_0x314aaa)return _0x4faf5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x306df8(){if(!_0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x486b9f in window)if(Number['isNaN'](Number(_0x486b9f))&&window[_0x486b9f]===_0x5b25c1)return!0x0;return!0x1;}function _0x5d1cbd(_0x716500,_0x3f79f1){_0x19cc30(),_0x1a318c(_0x3f79f1+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x716500),window[_0x402e1f()]=_0x716500===_0x4faf5c([0x74,0x69,0x6d,0x65])?_0x2c976a:_0x314aaa;}function _0x3f4f85(){let _0x545540=_0x4762fd[0x6]*_0x537c3a[0x8]*_0x537c3a[0x6];return _0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x545540/=0xa),_0x545540;}function _0x19cc30(){const _0x51ff68=_0x5a14d7;function _0x5cd7be(){_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x57b11b,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x57b11b,_0x51ff68[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x51ff68[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x51ff68[_0x4faf5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x57b11b,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x57b11b);}_0x51ff68[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x72,0x65,0x61,0x64,0x79])?_0x5cd7be():_0x51ff68[_0x4faf5c([0x6f,0x6e,0x63,0x65])](_0x4faf5c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5cd7be(),_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x42abce=_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x507311=_0x42abce['getRevision'](0x0),_0xc9ff1c=_0x42abce['getEarlierVisibleRevision'](_0x507311[_0x4faf5c([0x69,0x64])]);_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x507311[_0x4faf5c([0x69,0x64])],_0xc9ff1c?_0xc9ff1c[_0x4faf5c([0x69,0x64])]:null,0x1)['then'](()=>_0x5cd7be());}});}_0x45f2cf(_0x497bf2(_0x377d6a,_0x297c9f),_0x297c9f);}function _0x42921d(_0x4505f0,_0x591675){try{return _0x51278a(_0x591675)?_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x56,0x61,0x6c,0x69,0x64])):_0x4505f0&&_0x4d5bd1(_0x4505f0[_0x4faf5c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x591675)?_0x4505f0[_0x4faf5c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4faf5c([0x6f,0x70,0x65,0x6e])][_0x4faf5c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2ae8d7)/0x2>_0x4505f0[_0x4faf5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4505f0[_0x4faf5c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])):_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x56,0x61,0x6c,0x69,0x64])):_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5ba3fe){return _0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x7aca12(_0x50ef5a,_0x23c13f){if(_0x5a14d7 instanceof _0x613ed2){const _0xc62238=_0x5a14d7;_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2332db(_0xc62238):_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4faf5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2332db(_0xc62238),_0x1a318c(_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4762fd[0x6]*_0x537c3a[0x8]*_0x537c3a[0x6]),_0xc62238[_0x4faf5c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4faf5c([0x6f,0x6e])](_0x4faf5c([0x61,0x64,0x64]),(_0x41b3fe,_0x55a445)=>{_0x50ef5a!=_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x50ef5a!=_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x50ef5a!=_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xa7297a(_0x55a445);});}else{const _0x3ba885=_0x5a14d7;_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xa7297a(_0x3ba885):_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])&&_0x3ba885[_0x4faf5c([0x6f,0x6e])](_0x4faf5c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1127f2=0x0;_0x3ba885[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x6f,0x6e])](_0x4faf5c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21b1b0,_0x389842)=>{_0x389842[0x0][_0x4faf5c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1127f2++,0x1f8===_0x1127f2&&(_0xa7297a(_0x3ba885),_0x1a318c(_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x21b1b0[_0x4faf5c([0x6f,0x66,0x66])]());},{'priority':_0x4faf5c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1a318c(_0xbad41f){const _0x264145=_0x402e1f();return _0x5a14d7[_0x264145]=_0xbad41f,_0xbad41f;}function _0x402e1f(){const _0x2b9722=String(window[_0x4faf5c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4faf5c([0x6e,0x6f,0x77])]())[_0x4faf5c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4faf5c([0x2e]),'');let _0xd74308='';for(let _0x4764b5=0x0;_0x4764b5<_0x2b9722[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4764b5+=0x2){let _0x5bb6be=parseInt(_0x2b9722[_0x4faf5c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4764b5,_0x4764b5+0x2));_0x5bb6be>=_0x1d96b0[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bb6be-=_0x1d96b0[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd74308+=_0x1d96b0[_0x5bb6be];}return _0xd74308;}function _0x2332db(_0x3012d3){for(const _0x264153 of _0x3012d3[_0x4faf5c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xa7297a(_0x264153);_0x36d933(_0x3012d3,_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faf5c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x36d933(_0x3012d3,_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faf5c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x57b11b;}function _0xa7297a(_0x1beee7){function _0x1ac4d3(){_0x1beee7[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x1beee7[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x1beee7[_0x4faf5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1beee7[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x72,0x65,0x61,0x64,0x79])?_0x1ac4d3():_0x1beee7[_0x4faf5c([0x6f,0x6e,0x63,0x65])](_0x4faf5c([0x72,0x65,0x61,0x64,0x79]),()=>_0x1ac4d3());}function _0x57b11b(){return null;}function _0x4d5bd1(_0x48cc02,_0x4b7bed){const _0x55c9ba=!!(_0x48cc02&_0x4b7bed[_0x4faf5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x5402ec=_0x131085(_0x48cc02,_0x4b7bed);return _0x55c9ba||_0x5402ec;}function _0x131085(_0x3d3cac,_0x2959ba){const _0x1d7a3c=(_0x2959ba[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4faf5c([0x66,0x67,0x69])]||null;return!!_0x1d7a3c&&_0x2f6363[_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2502f0=>_0x1d7a3c[_0x4faf5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2502f0[_0x4faf5c([0x69,0x64])]))[_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3911ea=>!_0x31bb11(_0x3911ea))[_0x4faf5c([0x73,0x6f,0x6d,0x65])](_0x3c0453=>!!(_0x3d3cac&_0x3c0453[_0x4faf5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x31bb11(_0x1ca8c3){const _0x4c187c={[_0x4faf5c([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])]:_0x1f0d44};return!!_0x1ca8c3['forbiddenHandler']&&_0x4c187c[_0x1ca8c3['forbiddenHandler']]();}function _0x1f0d44(){return!window[_0x4faf5c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x211d67(_0x5a14d7,_0x4faf5c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x51278a(_0x4325e9){if(!_0x211d67(_0x5a14d7,_0x4325e9[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4bb39a=_0x4325e9[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4d31a0=_0x4bb39a[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xa81867=_0x4bb39a[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x59ccee=_0x4bb39a[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x211d67(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36d933(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4d31a0)return!0x0;if(_0x211d67(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x36d933(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4faf5c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4faf5c([0x65,0x6e,0x64])&&_0xa81867)return!0x0;return!(!_0x211d67(_0x5a14d7,_0x4faf5c([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]))||_0x36d933(_0x5a14d7,_0x4faf5c([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]))[_0x4faf5c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4faf5c([0x65,0x6e,0x64])||!_0x59ccee);}function _0x211d67(_0x2f5802,_0x496d90){return _0x2f5802[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faf5c([0x68,0x61,0x73])](_0x496d90);}function _0x36d933(_0x58ca73,_0x5efca5){return _0x58ca73[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faf5c([0x67,0x65,0x74])](_0x5efca5);}function _0x43b6ba(_0xfa855a){let _0x13401c='';for(const _0x287db5 of _0xfa855a)_0x13401c+=String[_0x4faf5c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x287db5);return _0x13401c;}function _0x15319e(_0xed982e){const _0xcfadcc=new Uint8Array(_0xed982e[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5cbddc=0x0;_0x5cbddc<_0xed982e[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cbddc++)_0xcfadcc[_0x5cbddc]=_0xed982e[_0x4faf5c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5cbddc);return _0xcfadcc;}_0x3558c3&&_0xfeefc1(_0x1dc17d(_0x35e73e),_0x3558c3);})(_0x2048ee);}(this);}['createRevision'](_0x28be1c){const _0x5c67e2=this['editor']['plugins']['get']('Users');return new a({'id':_0x28be1c['id'],'name':_0x28be1c['name'],'creator':_0x28be1c['creatorId']?_0x5c67e2['getUser'](_0x28be1c['creatorId']):null,'diffData':_0x28be1c['diffData']||_0x28be1c['data'],'authors':_0x28be1c['authorsIds']['map'](_0x37913a=>_0x5c67e2['getUser'](_0x37913a)),'createdAt':new Date(_0x28be1c['createdAt']),'attributes':_0x28be1c['attributes'],'fromVersion':_0x28be1c['fromVersion'],'toVersion':_0x28be1c['toVersion']});}['addRevision'](_0x4e3d21,_0x51b770=0x0){this['_revisions']['add'](_0x4e3d21,_0x51b770);}['getRevision'](_0x1d4c9b){return this['_revisions']['get'](_0x1d4c9b);}['getRevisions'](_0x58d0f0={'toJSON':!0x1}){const _0x1cecf3=Array['from'](this['_revisions']);return _0x1cecf3['reverse'](),_0x58d0f0['toJSON']?_0x1cecf3['map'](_0x346ea1=>_0x346ea1['toJSON']()):_0x1cecf3;}['getIndex'](_0x5cf344){return this['_revisions']['getIndex'](_0x5cf344);}['getEarlierVisibleRevision'](_0x4a8159){const [,_0x4f8781]=this['getRevisionsIterator'](_0x4a8159,{'direction':'earlier'});return _0x4f8781;}['getLaterVisibleRevision'](_0x57bb93){const [,_0x2beec8]=this['getRevisionsIterator'](_0x57bb93,{'direction':'later'});return _0x2beec8;}['getRevisionsInDiff'](_0x58a550){const _0x12fb53=[];for(const _0x3b7570 of this['getRevisionsIterator'](_0x58a550['newRevisionId']))if(_0x12fb53['push'](_0x3b7570),_0x3b7570['id']===_0x58a550['oldRevisionId'])break;return _0x12fb53;}*['getRevisionsIterator'](_0x55e7ce,{direction:_0x27a1b6='earlier',filter:_0x439031=_0x38c086=>!0x0}={}){const _0x17ab92='earlier'===_0x27a1b6?0x1:-0x1;let _0x472da9=this['_revisions']['get'](_0x55e7ce),_0x4a3513=this['getIndex'](_0x472da9);for(yield _0x472da9;_0x472da9;){if(_0x4a3513+=_0x17ab92,_0x472da9=this['getRevision'](_0x4a3513),!_0x472da9)return;_0x439031(_0x472da9)&&(yield _0x472da9);}}}function y(_0x10f253,_0x26611e,_0x4e0ef7){const t=_0x10f253['t'];switch(_0x26611e){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'},_0x4e0ef7);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4e0ef7);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x110ad9,'a':_0x188a0a,'e':_0x5c36f0,'r':_0x5869f3,'u':_0x434c42};class l extends _0x490488{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5f579f,A,_0x2f7bdc];}constructor(_0x4ab984){super(_0x4ab984),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 _0x25a315=_0x2f067e();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x25a315},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 _0x2c4458=this['repository']['getRevision'](0x0),_0x18ba97=_0x2c4458&&null===_0x2c4458['creator']?_0x2c4458:null;if(this['_continueCurrentRevision']=!!_0x18ba97&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x52ee13=this['_source']['getCurrentRevisionId'](),_0x118fdf=this['repository']['getRevision'](_0x52ee13);if(_0x118fdf)this['_startingVersion']=_0x118fdf['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5c6e67=this['_source']['history']['_operations']['find'](_0x1aacb5=>!_0x1aacb5['_isInit']),_0x5a40a2=_0x5c6e67?_0x5c6e67['baseVersion']:this['_source']['history']['version'];_0x2c4458?(_0x2c4458['toVersion']<_0x5a40a2&&_0x2c4458['_update']({'toVersion':_0x5a40a2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x18ba97['id'],this['_startingVersion']=_0x18ba97['fromVersion']):(this['_startingVersion']=_0x2c4458['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5a40a2,this['_continueCurrentRevision']=!0x1);}}else _0x18ba97&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x18ba97['toVersion'],this['editor']['model']['document']['history']['version']),_0x18ba97['fromVersion']===_0x18ba97['toVersion']?(0x0!==_0x18ba97['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x18ba97['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x18ba97['id'],this['_startingVersion']=_0x18ba97['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',_0x25ed5a=>!_0x25ed5a);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4914df=this['repository']['getRevision'](0x0),_0x526578=await this['getRevisionDocumentData'](_0x4914df),_0x1c807a=await this['getRevisionRootsAttributes'](_0x4914df);this['_replaceEditorDataWithRevisionData'](_0x526578,_0x1c807a);}}['setSource'](_0xe240f7){this['_source']=_0xe240f7;}async['update'](){const _0x22caf3=await this['_source']['getLatestVersion']();if(_0x22caf3>this['currentRevision']['toVersion']){await this['_loadState']();const _0x422d79=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x22caf3});_0x422d79['authors']=_0x422d79['authorsIds']['map'](_0xfc0bb5=>this['editor']['plugins']['get']('Users')['getUser'](_0xfc0bb5)),this['currentRevision']['_update'](_0x422d79);}}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'](_0x14555d={},_0x1767eb=null){const _0x1ab7f7=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1767eb>this['currentRevision']['toVersion']&&(_0x1767eb=null),null===_0x1767eb&&(_0x1767eb=await this['_source']['getLatestVersion']());const _0x204635=this['_getFromVersion'](_0x1767eb),_0xf8b0f1=this['buildRevisionData']({'from':_0x204635,'to':_0x1767eb});if(this['currentRevision']['toVersion']<_0x1767eb){const _0x7fc600=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1767eb,'to':_0x1767eb});_0x7fc600['authors']=[],_0x7fc600['authorsIds']=[],_0x7fc600['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x7fc600,!0x0),delete _0x7fc600['authors'],_0x1ab7f7['push'](_0x7fc600);}_0x14555d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x14555d['name']=_0x14555d['name']||null,_0x14555d['id']=_0x14555d['id']||_0x2f067e(),_0x14555d={..._0x14555d,..._0xf8b0f1};const _0x50f785=this['addRevisionData'](_0x14555d);_0x1ab7f7['push'](_0x14555d);const _0x1a8d3c=this['repository']['getIndex'](_0x50f785);if(0x0!==_0x1a8d3c){const _0x335400=this['repository']['getRevision'](_0x1a8d3c-0x1);if(_0x335400['fromVersion']!==_0x1767eb){const _0x381daa=this['_revisionDataBuilder']['getData'](_0x1767eb,_0x335400['toVersion']),_0x2de6cd={'id':_0x335400['id'],'diffData':_0x381daa['diffData'],'authorsIds':_0x381daa['authorsIds'],'authors':_0x381daa['authorsIds']['map'](_0x36f3b9=>this['editor']['plugins']['get']('Users')['getUser'](_0x36f3b9)),'fromVersion':_0x1767eb};_0x335400===this['currentRevision']&&(_0x2de6cd['createdAt']=new Date(_0x14555d['createdAt']['getTime']()+0xa)),_0x335400['_update'](_0x2de6cd,!0x0),delete _0x2de6cd['authors'],_0x1ab7f7['push'](_0x2de6cd);}}if(this['adapter']){for(const _0x3dd58f of _0x1ab7f7)this['_bufferUpdate'](_0x3dd58f['id'],_0x3dd58f,!0x0);this['sendBufferedUpdates']();}return _0x50f785;}['addRevisionData'](_0x440dbb){const _0x1b9419=this['repository']['createRevision'](_0x440dbb);return this['adapter']&&_0x1b9419['on']('_update',(_0x59e86f,_0xa167a3,_0x54a6ff)=>{_0x54a6ff||(this['_bufferUpdate'](_0xa167a3['id'],_0xa167a3,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1b9419,this['_findInsertionIndex'](_0x1b9419)),_0x1b9419;}async['getRevisionDocumentData'](_0x3699a0){await this['_loadRevisionData'](_0x3699a0);const _0x20e034={};for(const _0x19568a in _0x3699a0['diffData']){if(_0x3699a0['diffData'][_0x19568a]['attachChange']&&!_0x3699a0['diffData'][_0x19568a]['attachChange']['isAttached'])continue;const _0x49ad31=this['_removeRevisionMarkers'](JSON['parse'](_0x3699a0['diffData'][_0x19568a]['insertions'])),_0x2ff68d=this['editor']['editing']['view']['document'],_0x473a43=new _0x157bb4(_0x2ff68d,_0x49ad31['map'](_0x3e9420=>B(_0x3e9420,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x20e034[_0x19568a]=this['editor']['data']['processor']['toData'](_0x473a43),this['editor']['data']['processor']['useFillerType']('default');}return _0x20e034;}async['getRevisionRootsAttributes'](_0x1f9750){await this['_loadRevisionData'](_0x1f9750);const _0x5002a1={};for(const _0x1b8f16 in _0x1f9750['diffData'])_0x1f9750['diffData'][_0x1b8f16]['attachChange']&&!_0x1f9750['diffData'][_0x1b8f16]['attachChange']['isAttached']||(_0x5002a1[_0x1b8f16]=_0x1f9750['diffData'][_0x1b8f16]['attributesAfter']||{});return _0x5002a1;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3186d7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5d00f4=0x0;_0x5d00f4<_0x3186d7['length'];_0x5d00f4++){const _0xd2ff4f=_0x3186d7[_0x5d00f4];let _0x2a5f43=!0x1;for(const _0x2c292d of Object['keys'](_0xd2ff4f))void 0x0===_0xd2ff4f[_0x2c292d]?delete _0xd2ff4f[_0x2c292d]:'id'!==_0x2c292d&&(_0x2a5f43=!0x0);_0x2a5f43||(_0x3186d7[_0x5d00f4]=null);}if(_0x3186d7=_0x3186d7['filter'](_0x491315=>null!==_0x491315),!_0x3186d7['length'])return;for(let _0x2a9ba6=0x0;_0x2a9ba6<_0x3186d7['length'];_0x2a9ba6++){const _0x8c31eb=_0x3186d7[_0x2a9ba6];void 0x0!==_0x8c31eb['fromVersion']&&void 0x0===_0x8c31eb['toVersion']&&(_0x8c31eb['toVersion']=this['repository']['getRevision'](_0x8c31eb['id'])['toVersion']),void 0x0!==_0x8c31eb['toVersion']&&void 0x0===_0x8c31eb['fromVersion']&&(_0x8c31eb['fromVersion']=this['repository']['getRevision'](_0x8c31eb['id'])['fromVersion']);}const _0xa07964=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3186d7,_0xa07964)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3726e4=>{if(_0x3726e4){for(const _0x4e7806 of _0x3726e4)this['setRevisionData']({'id':_0x4e7806['id'],'createdAt':_0x4e7806['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x30416a,_0x3a48a1){let _0x29bf90=this['editor']['config']['get']('initialData'),_0x128e13=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x29bf90){_0x29bf90={};for(const _0x3d14d1 of this['editor']['model']['document']['getRootNames']())_0x29bf90[_0x3d14d1]='';}if('string'==typeof _0x29bf90&&(_0x29bf90={'main':_0x29bf90}),void 0x0===_0x128e13){_0x128e13={};for(const _0x26f47e of this['editor']['model']['document']['getRootNames']())_0x128e13[_0x26f47e]={};}let _0x3edab4=!0x1;const _0x252c6e=Object['keys'](_0x29bf90),_0x30e06c=Object['keys'](_0x30416a);for(const _0x362f1c of _0x252c6e){if(_0x29bf90[_0x362f1c]!==_0x30416a[_0x362f1c]&&''!==_0x29bf90[_0x362f1c]['trim']()){_0x3edab4=!0x0;break;}if(!_0x8c9f16(_0x128e13[_0x362f1c],_0x3a48a1[_0x362f1c])&&Object['keys'](_0x128e13[_0x362f1c])['length']>0x0){_0x3edab4=!0x0;break;}}_0x3edab4||(_0x3edab4=_0x30e06c['some'](_0x247395=>!this['editor']['model']['document']['getRoot'](_0x247395))),_0x3edab4&&_0x5e33e3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x29bf90,'editorRootsAttributes':_0x128e13,'revisionData':_0x30416a,'revisionRootsAttributes':_0x3a48a1}),this['editor']['config']['set']('initialData',_0x30416a),this['editor']['config']['set']('rootsAttributes',_0x3a48a1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1fd202=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1fd202['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5579d8){const _0x121455=this['repository']['getRevisions']();_0x121455['reverse']();let _0x2a37c5=0x0;for(;_0x2a37c5<_0x121455['length'];){const _0x34b0f7=_0x121455[_0x2a37c5];if(_0x34b0f7===this['currentRevision']){_0x2a37c5++;continue;}if(_0x34b0f7['id']===this['_initialRevisionId'])break;const _0x3f7073=_0x5579d8['toVersion']-_0x34b0f7['toVersion']||_0x5579d8['fromVersion']-_0x34b0f7['fromVersion'];if(_0x3f7073>0x0)break;if(_0x3f7073<0x0)_0x2a37c5++;else{if(!_0x5579d8['creator']&&_0x34b0f7['creator'])break;if(_0x34b0f7['creator']||!_0x5579d8['creator']){if(_0x5579d8['createdAt']>_0x34b0f7['createdAt'])break;_0x2a37c5++;}else _0x2a37c5++;}}return _0x2a37c5;}['setRevisionData'](_0x3438ff){const _0x1af7f2=this['repository']['getRevision'](_0x3438ff['id']);if(_0x3438ff['createdAt']&&(_0x3438ff['createdAt']=new Date(_0x3438ff['createdAt'])),_0x3438ff['authorsIds']){const _0x4364=this['editor']['plugins']['get']('Users');_0x3438ff['authors']=_0x3438ff['authorsIds']['map'](_0x4ac3b4=>_0x4364['getUser'](_0x4ac3b4));}_0x1af7f2['_update'](_0x3438ff,!0x0);}['buildRevisionData']({revision:_0x254c17=null,from:_0x4858c3=null,to:_0x565631=null}){_0x4858c3=null!==_0x4858c3?_0x4858c3:_0x254c17['fromVersion'],_0x565631=null!==_0x565631?_0x565631:_0x254c17['toVersion'];const _0x22b67b=this['_revisionDataBuilder']['getData'](_0x4858c3,_0x565631),_0x44aa2b={'diffData':_0x22b67b['diffData'],'authorsIds':_0x22b67b['authorsIds'],'fromVersion':_0x4858c3,'toVersion':_0x565631};if(!_0x254c17||_0x565631!==_0x254c17['toVersion']){const _0xe6bf16=_0x565631-0x1,_0x1f2c6d=this['_source']['history']['getOperation'](_0xe6bf16);_0x44aa2b['createdAt']=_0x1f2c6d&&_0x1f2c6d['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4858c3===this['_loadedStateData']['fromVersion']){for(const _0x9e9b2e of this['_loadedStateData']['authors'])_0x44aa2b['authorsIds']['includes'](_0x9e9b2e['id'])||_0x44aa2b['authorsIds']['push'](_0x9e9b2e['id']);}return _0x44aa2b;}['_loadRevisionData'](_0x1078ce){if(!_0x1078ce||_0x1078ce['diffData'])return Promise['resolve']();{const _0x20f2da=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x20f2da,'revisionId':_0x1078ce['id']})['then'](_0x534f1c=>{_0x1078ce['diffData']=_0x534f1c['diffData'];});}}['_bufferUpdate'](_0x35a8ca,_0x271a98,_0x5f429c){if(this['_bufferedUpdates']['has'](_0x35a8ca)){const _0x3718c0=this['_bufferedUpdates']['get'](_0x35a8ca);_0x271a98=_0x5f429c?{..._0x3718c0,..._0x271a98}:{..._0x271a98,..._0x3718c0};}this['_bufferedUpdates']['set'](_0x35a8ca,_0x271a98);}['_getFromVersion'](_0x25da99){const _0x42b762=this['repository']['getRevisions']();_0x42b762['reverse'](),_0x42b762['shift']();const _0x505645=_0x42b762['find'](_0x50b2e9=>_0x50b2e9['toVersion']<=_0x25da99)['toVersion'];return _0x505645<this['_startingVersion']?this['_startingVersion']:_0x505645;}['_createInitialRevision'](_0x4ee73e){const _0x308fa1=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x308fa1)this['_initialRevisionId']=_0x308fa1['id'];else{const _0x14cff0=!this['editor']['model']['document']['roots']['find'](_0x272d07=>this['editor']['model']['hasContent'](_0x272d07)),_0x1d3fde=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a46a9=y(this['editor']['locale'],_0x14cff0?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4ee73e,'to':_0x4ee73e,'id':this['_initialRevisionId'],'name':_0x5a46a9,'creatorId':_0x1d3fde});}}['_createCurrentRevision'](_0x50fd06){const _0x2cee13=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2cee13),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x50fd06,'to':_0x50fd06,'id':_0x2cee13,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4a15bc,from:_0x342707,to:_0x2213bf,creatorId:_0x342511,id:_0x2abcf9}){const _0x37a8d6=this['buildRevisionData']({'from':_0x342707,'to':_0x2213bf});_0x37a8d6['name']=_0x4a15bc,_0x37a8d6['creatorId']=_0x342511,_0x37a8d6['id']=_0x2abcf9;const _0x5ab713=this['addRevisionData'](_0x37a8d6);return this['adapter']&&this['_bufferUpdate'](_0x37a8d6['id'],_0x37a8d6,!0x0),_0x5ab713;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1cbff0){return(_0x1cbff0=_0x1cbff0['filter'](_0x4939fc=>!_0x4939fc['name']||'revision-start'!==_0x4939fc['name']&&'revision-end'!==_0x4939fc['name']))['forEach'](_0x4434cb=>{'string'!=typeof _0x4434cb&&(_0x4434cb['children']=this['_removeRevisionMarkers'](_0x4434cb['children']),_0x4434cb['attributes']=_0x4434cb['attributes']['filter'](_0x1bda44=>!_0x1bda44[0x0]['startsWith']('data-revision-')));}),_0x1cbff0;}}function B(_0x15fff8,_0x5d87ff){const _0xe84109=_0x5d87ff['editing']['view']['document'];if('string'==typeof _0x15fff8)return new _0x3a4690(_0xe84109,_0x15fff8);{const _0x4f2c44=_0x15fff8['children']['map'](_0x3d8b6c=>B(_0x3d8b6c,_0x5d87ff));return new(T[_0x15fff8['type']]||_0x50a15d)(_0xe84109,_0x15fff8['name'],_0x15fff8['attributes'],_0x4f2c44);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xc5e3c1){this['editor']=_0xc5e3c1,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'](_0x3994b0){this['source']=_0x3994b0;const _0x4c1a8d=new Map(),_0x1ae20f=new Map(),_0x4b7a8f=this['editor']['model']['document']['roots']['map'](_0x4c390e=>_0x4c390e['rootName']);for(const _0xae85d8 of _0x4b7a8f){const _0x555ad9=this['editor']['model']['document']['getRoot'](_0xae85d8),_0x84276f=q(_0x555ad9);_0x4c1a8d['set'](_0xae85d8,_0x84276f),_0x1ae20f['set'](_0xae85d8,Object['fromEntries'](_0x555ad9['getAttributes']()));}const _0x4a8211=Array['from'](this['editor']['model']['markers'])['map'](_0x4a2964=>[_0x4a2964['name'],_0x4a2964['getRange']()]),_0x5bbbeb=this['source']['version'];this['_saveMetaData'](_0x5bbbeb,_0x4c1a8d,_0x4a8211,_0x1ae20f),this['_startingRevisionId']=this['_revisionId'];const _0x104d13=new Map(),_0x528701=new Map();for(const _0x2c18c1 of _0x4b7a8f){const _0x46250c=G(_0x2c18c1);_0x104d13['set'](_0x2c18c1,_0x46250c),_0x528701['set'](_0x2c18c1,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x104d13,[],_0x528701);}['getData'](_0x2a0389,_0x450e1f){if(this['_lastFrom']===_0x2a0389&&this['_lastTo']<=_0x450e1f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x450e1f,!0x0);else{if(!this['_savedMetaData']['has'](_0x2a0389)){const _0x442b7f=this['_getPreviousFrom'](_0x2a0389);this['_calculateMetaData'](_0x442b7f,_0x2a0389,!0x1);}this['_calculateMetaData'](_0x2a0389,_0x450e1f,!0x0);}return this['_lastFrom']=_0x2a0389,this['_lastTo']=_0x450e1f,this['_getState']();}['loadState'](_0x528847){this['_reset'](),this['_lastFrom']=_0x528847['fromVersion'],this['_lastTo']=_0x528847['toVersion'];for(const _0xf8f6aa in _0x528847['diffData']){const _0x38b527=_0x528847['diffData'][_0xf8f6aa]['attachChange'],_0x1a4bff=_0x25472f(_0x528847['diffData'][_0xf8f6aa]['attributesBefore'])||{},_0x56adc4=this['_makeModelFromViewString'](_0x528847['diffData'][_0xf8f6aa]['deletions']);_0x56adc4['rootName']=_0xf8f6aa,_0x56adc4['_isAttached']=!_0x38b527||!_0x38b527['isAttached'],_0x56adc4['isAttached']=()=>_0x56adc4['_isAttached'],this['_baseRoots']['set'](_0xf8f6aa,_0x56adc4),this['_baseRootsAttributes']['set'](_0xf8f6aa,_0x1a4bff),_0x38b527&&this['_touchedRoots']['set'](_0xf8f6aa,_0x38b527);const _0x2cfab9=this['_makeIdsRoot'](_0x56adc4);this['_baseIdsRoots']['set'](_0xf8f6aa,_0x2cfab9);for(const [_0x2ee745,_0x3d10f9]of _0x56adc4['markers']){if(!_0x2ee745['startsWith']('revision:'))continue;const _0x5a692e=_0x2ee745['split'](':')[0x2];for(const _0xcbd1d1 of _0x3d10f9['getWalker']({'singleCharacters':!0x0})){const _0x2caba0=this['_getVidAttributeName'](_0xcbd1d1),_0x4e3806='elementEnd'==_0xcbd1d1['type']?_0xcbd1d1['previousPosition']['path']['slice'](0x0,-0x1):_0xcbd1d1['previousPosition']['path'],_0xdfffa3=_0x2cfab9['getNodeByPath'](_0x4e3806)['getAttribute'](_0x2caba0);this['_touched']['set'](_0xdfffa3,{'userId':_0x5a692e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1088f2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x457059=>!this['_touched']['has'](_0x457059));let _0x48b893=0x0;const _0x427bb8=new Map();for(const _0xf4b0f2 in _0x528847['diffData']){const _0x17acb0=_0x528847['diffData'][_0xf4b0f2]['attachChange'],_0x25aedb=_0x25472f(_0x528847['diffData'][_0xf4b0f2]['attributesAfter'])||{},_0x32af58=this['_makeModelFromViewString'](_0x528847['diffData'][_0xf4b0f2]['insertions']);_0x32af58['rootName']=_0xf4b0f2,_0x32af58['_isAttached']=!_0x17acb0||_0x17acb0['isAttached'],_0x32af58['isAttached']=()=>_0x32af58['_isAttached'],this['_diffRoots']['set'](_0xf4b0f2,_0x32af58),this['_diffRootsAttributes']['set'](_0xf4b0f2,_0x25aedb);const _0x5c29c8=this['_makeIdsRoot'](_0x32af58,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xf4b0f2,_0x5c29c8),_0x427bb8['set'](_0xf4b0f2,_0x32af58['isAttached']()?_0x25aedb:{});for(const [_0x8f7599,_0x4e9759]of _0x32af58['markers']){if(!_0x8f7599['startsWith']('revision:'))continue;const _0x585ebe=_0x8f7599['split'](':')[0x2];for(const _0x551b59 of _0x4e9759['getWalker']({'singleCharacters':!0x0})){const _0x107db5=this['_getVidAttributeName'](_0x551b59),_0x444c25=this['_revisionId']++,_0x1613dc='elementEnd'==_0x551b59['type']?_0x551b59['previousPosition']['path']['slice'](0x0,-0x1):_0x551b59['previousPosition']['path'];_0x5c29c8['getNodeByPath'](_0x1613dc)['_setAttribute'](_0x107db5,_0x444c25),this['_touched']['set'](_0x444c25,{'userId':_0x585ebe});}}for(const _0xa57762 of this['editor']['model']['createRangeIn'](_0x32af58)['getWalker']({'singleCharacters':!0x0})){const _0x4832e1=this['_getVidAttributeName'](_0xa57762),_0x13e6cd='elementEnd'==_0xa57762['type']?_0xa57762['previousPosition']['path']['slice'](0x0,-0x1):_0xa57762['previousPosition']['path'],_0x159dc5=_0x5c29c8['getNodeByPath'](_0x13e6cd);_0x159dc5['getAttribute'](_0x4832e1)>0x0||_0x159dc5['_setAttribute'](_0x4832e1,_0x1088f2[_0x48b893++]);}for(const [_0x22cf1d,_0x21ab35]of _0x32af58['markers'])_0x22cf1d['startsWith']('revision:')||this['_markers']['set'](_0x22cf1d,_0x21ab35);}const _0x12c969=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x12c969),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x12c969,0x1));const _0x1765d1=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1765d1),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1765d1,0x1));const _0x16bfb5=Array['from'](this['_diffRoots'])['map'](([_0x66a135,_0x3908de])=>[_0x66a135,q(_0x3908de)]);this['_saveMetaData'](this['_lastTo'],_0x16bfb5,this['_markers'],_0x427bb8);}['_makeModelFromViewString'](_0x43ec7a){const _0xa9dc28=JSON['parse'](_0x43ec7a),_0x53452b=this['editor']['editing']['view']['document'],_0x464fce=new _0x157bb4(_0x53452b,_0xa9dc28['map'](_0x229ed0=>B(_0x229ed0,this['editor'])));return this['editor']['data']['toModel'](_0x464fce);}['_saveMetaData'](_0x36576b,_0x379823,_0x246e1a,_0x2217e1){const _0x51a070=new Map(_0x379823),_0x405543=new Map(_0x25472f(_0x2217e1)),_0x371866=new Map();for(const [_0xca6ad7,_0x591908]of _0x246e1a)_0x371866['set'](_0xca6ad7,{'start':_0x591908['start']['clone'](),'end':_0x591908['end']['clone'](),'rootName':_0x591908['root']['rootName']});this['_savedMetaData']['set'](_0x36576b,{'roots':_0x51a070,'markers':_0x371866,'rootsAttributes':_0x405543});}['_removeMetaData'](_0x29b951){this['_savedMetaData']['delete'](_0x29b951);}['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'](_0x5eb3ff,_0x3cb690=null){let _0x173d61=null;_0x5eb3ff['is']('documentFragment')||(_0x173d61=new ft(_0x5eb3ff['name'],{'vid_start':null===_0x3cb690?this['_revisionId']++:_0x3cb690++}));const _0x9d8004=[];for(const _0x1747e of _0x5eb3ff['getChildren']())if(_0x1747e['is']('element')){_0x9d8004['push'](this['_makeIdsRoot'](_0x1747e,_0x3cb690));const _0xd475e1=_0x9d8004[_0x9d8004['length']-0x1];null!==_0x3cb690&&(_0x3cb690=_0xd475e1['is']('element','$text')?_0xd475e1['getAttribute']('vid')+0x1:_0xd475e1['getAttribute']('vid_end')+0x1);}else{for(let _0x4ebf11=0x0;_0x4ebf11<_0x1747e['offsetSize'];_0x4ebf11++)_0x9d8004['push'](new ft('$text',{'vid':null===_0x3cb690?this['_revisionId']++:_0x3cb690++}));}if(_0x5eb3ff['is']('documentFragment')){const _0x4a349c=G(_0x5eb3ff['rootName']);return _0x4a349c['_insertChild'](0x0,_0x9d8004),_0x4a349c;}return _0x173d61['_setAttribute']('vid_end',null===_0x3cb690?this['_revisionId']++:_0x3cb690++),_0x173d61['_insertChild'](0x0,_0x9d8004),_0x173d61;}['_calculateMetaData'](_0x58437f,_0x7ee50b,_0x2b5ba6){this['_reset']();const {roots:_0x2d14a9,markers:_0x1270e7,rootsAttributes:_0x13fcb9}=this['_savedMetaData']['get'](_0x58437f);this['_baseRoots']=new Map(_0x2d14a9),this['_baseRootsAttributes']=new Map(_0x25472f(_0x13fcb9));for(const [_0x284836,_0x48680b]of this['_baseRoots'])if('$graveyard'!==_0x284836&&(this['_diffRoots']['set'](_0x284836,q(_0x48680b)),this['_diffRootsAttributes']=new Map(_0x25472f(_0x13fcb9)),_0x2b5ba6)){const _0x480197=this['_revisionId'];this['_idsRoots']['set'](_0x284836,this['_makeIdsRoot'](_0x48680b)),this['_baseIdsRoots']['set'](_0x284836,this['_makeIdsRoot'](_0x48680b,_0x480197));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2b5ba6&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2b54fb,_0x488bb9]of _0x1270e7){const _0x377a09=this['_baseRoots']['get'](_0x488bb9['rootName']),_0x329720=this['_diffRoots']['get'](_0x488bb9['rootName']),_0x58f3f0=new vt(this['_fixPosition'](_0x488bb9['start'],_0x377a09),this['_fixPosition'](_0x488bb9['end'],_0x377a09)),_0x28b312=this['_fixRange'](_0x58f3f0,_0x329720);_0x377a09['markers']['set'](_0x2b54fb,_0x58f3f0),this['_markers']['set'](_0x2b54fb,_0x28b312);}this['_applyOperations'](_0x58437f,_0x7ee50b,_0x2b5ba6);}['_applyOperations'](_0x4cff1f,_0x7656c8,_0x58df8a){for(const _0x3e9119 of this['source']['getOperations'](_0x4cff1f,_0x7656c8))this['_handleOperation'](_0x3e9119,_0x58df8a);for(const _0x35ab41 of this['_diffRoots']['values']())_0x35ab41['markers']['clear']();for(const [_0xaf40d4,_0x5d473d]of this['_markers']){this['_diffRoots']['get'](_0x5d473d['root']['rootName'])['markers']['set'](_0xaf40d4,_0x5d473d['clone']());}const _0x46d3ba=new Map(),_0x579877=new Map();for(const [_0x3ad2aa,_0x27cb45]of this['_diffRoots'])_0x46d3ba['set'](_0x3ad2aa,q(_0x27cb45)),_0x579877['set'](_0x3ad2aa,this['_diffRootsAttributes']['get'](_0x3ad2aa));this['_saveMetaData'](_0x7656c8,_0x46d3ba,this['_markers'],_0x579877);}['_getPreviousFrom'](_0x28ef27){const _0x103752=Array['from'](this['_savedMetaData']['keys']());_0x103752['sort']((_0x213a0c,_0x2b322c)=>_0x213a0c-_0x2b322c),_0x103752['reverse']();for(const _0x1f5612 of _0x103752)if(_0x1f5612<_0x28ef27)return _0x1f5612;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x257e20,_0x2be061){const _0x33316f=Array['from'](_0x2be061['markers'])['map'](([_0x46bc24,_0x3bdf0b])=>[_0x46bc24,this['_fixRange'](_0x3bdf0b,_0x257e20)]);_0x257e20['markers']=new Map(_0x33316f);}['_transformMarkers'](_0x3ea634){for(const _0x7fd669 of this['_markers']['values']()){const _0x1438d9=_0x7fd669['getTransformedByOperation'](_0x3ea634),_0x59952d=vt['_createFromRanges'](_0x1438d9);_0x7fd669['start']=_0x59952d['start'],_0x7fd669['end']=_0x59952d['end'];}}['_handleOperation'](_0x5a9bca,_0x310b41){if('addRoot'==_0x5a9bca['type']||'detachRoot'==_0x5a9bca['type'])return void this['_handleRootOperation'](_0x5a9bca,_0x310b41);if('insert'==_0x5a9bca['type']){const _0x261e60=_0x5a9bca['position']['root']['rootName'];this['_diffRoots']['has'](_0x261e60)||(this['_diffRoots']['set'](_0x261e60,G(_0x261e60,!0x0)),this['_diffRootsAttributes']['set'](_0x261e60,{}),_0x310b41&&this['_idsRoots']['set'](_0x261e60,G(_0x261e60,!0x0)));}else{if('addRootAttribute'==_0x5a9bca['type']||'removeRootAttribute'==_0x5a9bca['type']||'changeRootAttribute'==_0x5a9bca['type'])return void this['_handleRootAttributeOperation'](_0x5a9bca);}const _0x14590d=this['_cloneOperation'](_0x5a9bca,this['_diffRoots']);if('marker'!==_0x5a9bca['type']&&(_0x14590d['_execute'](),this['_transformMarkers'](_0x14590d)),_0x310b41)switch(_0x14590d['type']){case'insert':this['_handleInsertOperation'](_0x5a9bca);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5a9bca);break;case'merge':this['_handleMergeOperation'](_0x5a9bca);break;case'split':this['_handleSplitOperation'](_0x5a9bca);break;case'marker':this['_handleMarkerOperation'](_0x5a9bca);}}['_cloneOperation'](_0x1c9cd9,_0x15578f){const _0x23f4bf=_0x1c9cd9['clone']();return _0x23f4bf['_authorId']=_0x1c9cd9['_authorId'],this['_fixOperation'](_0x23f4bf,_0x15578f),_0x23f4bf;}['_getBaseVids'](_0x3b3215){return _0x3b3215['map'](_0x5b37f4=>{const _0x9d3032=this['_getVidAttributeName'](_0x5b37f4);return Number(_0x5b37f4['item']['getAttribute'](_0x9d3032));});}['_generateTape'](_0x2ab5a4,_0x4abd6b){if(_0x2ab5a4['is']('element','$text'))_0x4abd6b['push']({'item':_0x2ab5a4,'type':'text'});else{_0x2ab5a4['is']('element')&&_0x4abd6b['push']({'item':_0x2ab5a4,'type':'elementStart'});for(const _0x506470 of _0x2ab5a4['getChildren']())this['_generateTape'](_0x506470,_0x4abd6b);_0x2ab5a4['is']('element')&&_0x4abd6b['push']({'item':_0x2ab5a4,'type':'elementEnd'});}return _0x4abd6b;}['_getState'](){const _0x4ccea5=new Map(this['_touched']),_0x5365d4=new Map(_0x4ccea5),_0x5d194d=new Map(),_0x22c5e4={'insertions':{},'deletions':{}},_0x581ff5={'insertions':{},'deletions':{}},_0x397f5e=new Map(),_0x8a5cb3=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x8a5cb3['delete']('$graveyard');for(const _0x16b534 of _0x8a5cb3){const _0x5d3c65=this['_diffRoots']['get'](_0x16b534)||G(_0x16b534,!0x1),_0x5d5977=this['_baseRoots']['get'](_0x16b534)||G(_0x16b534,!0x1);_0x5d3c65['isAttached']()||_0x5d5977['isAttached']()?(_0x22c5e4['insertions'][_0x16b534]=q(_0x5d3c65),_0x22c5e4['deletions'][_0x16b534]=q(_0x5d5977),this['_copyMarkers'](_0x22c5e4['deletions'][_0x16b534],_0x5d5977),this['_copyMarkers'](_0x22c5e4['insertions'][_0x16b534],_0x5d3c65),_0x581ff5['insertions'][_0x16b534]=this['_generateTape'](this['_idsRoots']['get'](_0x16b534),[]),_0x581ff5['deletions'][_0x16b534]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x16b534)||G(_0x16b534,!0x1),[])):_0x8a5cb3['delete'](_0x16b534);}for(const _0x335a55 of _0x8a5cb3){const _0x44bafd=_0x581ff5['insertions'][_0x335a55];for(const _0x55c900 of _0x44bafd){const _0x5008cb=this['_getVidAttributeName'](_0x55c900),_0x2a4f2f=_0x55c900['item']['getAttribute'](_0x5008cb);_0x5365d4['delete'](_0x2a4f2f),_0x2a4f2f>=this['_startingRevisionId']&&_0x5d194d['set'](_0x2a4f2f,_0x4ccea5['get'](_0x2a4f2f));}}for(const _0xa1915a of _0x8a5cb3){const _0x46494a=_0x581ff5['insertions'][_0xa1915a],_0x3e12ff=this['_getBaseVids'](_0x581ff5['deletions'][_0xa1915a]);let _0x1da539=0x0;for(const _0x4fe3a0 of _0x46494a){const _0x4f9641=this['_getVidAttributeName'](_0x4fe3a0),_0x543dde=_0x4fe3a0['item']['getAttribute'](_0x4f9641);if(!_0x5d194d['has'](_0x543dde)&&!_0x397f5e['has'](_0x543dde)){if(_0x5365d4['has'](_0x543dde))_0x1da539++;else{if(_0x543dde!=_0x3e12ff[_0x1da539]){const _0x1d447b=_0x4ccea5['get'](_0x543dde)||_0x4ccea5['get'](_0x3e12ff[_0x1da539]);for(;_0x543dde!=_0x3e12ff[_0x1da539];)_0x5365d4['has'](_0x3e12ff[_0x1da539])||(_0x397f5e['set'](_0x3e12ff[_0x1da539],_0x1d447b),_0x4ccea5['set'](_0x3e12ff[_0x1da539],_0x1d447b)),_0x1da539++;}_0x1da539++;}}}}for(const _0x44d742 of _0x8a5cb3){const _0x360bba=_0x581ff5['insertions'][_0x44d742];for(const _0x41c1cf of _0x360bba){const _0xd556a8=this['_getVidAttributeName'](_0x41c1cf),_0x799006=_0x41c1cf['item']['getAttribute'](_0xd556a8);if(_0x397f5e['has'](_0x799006)){const _0x365aeb=_0x397f5e['get'](_0x799006);_0x5365d4['has'](_0x799006)||_0x5365d4['set'](_0x799006,{..._0x365aeb}),_0x5d194d['set'](_0x799006,{..._0x365aeb});}}}for(const _0x5e02f7 of _0x5365d4['keys']())_0x5e02f7>=this['_startingRevisionId']&&_0x5365d4['delete'](_0x5e02f7);const _0x599d90=new Map();for(const _0x2dbdf3 of _0x8a5cb3){let _0x4d7b40=_0x581ff5['insertions'][_0x2dbdf3];for(const _0x2e0368 of _0x4d7b40)if(_0x2e0368['item']['is']('element','tableCell')){const _0x28cc7c=this['_getVidAttributeName'](_0x2e0368),_0x3e7bc2=_0x2e0368['item']['getAttribute'](_0x28cc7c);if(_0x5d194d['has'](_0x3e7bc2)){const _0x48f0ad=_0x2e0368['item']['parent']['parent']['getAttribute']('vid_start'),_0x51469a=_0x599d90['get'](_0x48f0ad)||new Set();_0x51469a['add'](_0x5d194d['get'](_0x3e7bc2)['userId']),_0x599d90['set'](_0x48f0ad,_0x51469a);}}_0x4d7b40=_0x581ff5['deletions'][_0x2dbdf3];for(const _0x475fb4 of _0x4d7b40)if(_0x475fb4['item']['is']('element','tableCell')){const _0x412fe6=this['_getVidAttributeName'](_0x475fb4),_0x3e570b=_0x475fb4['item']['getAttribute'](_0x412fe6);if(_0x5365d4['has'](_0x3e570b)){const _0x3cd00a=_0x475fb4['item']['parent']['parent']['getAttribute']('vid_start'),_0x546403=_0x599d90['get'](_0x3cd00a)||new Set();_0x546403['add'](_0x5365d4['get'](_0x3e570b)['userId']),_0x599d90['set'](_0x3cd00a,_0x546403);}}for(const _0x281474 of _0x599d90['keys']())(_0x5d194d['has'](_0x281474)||_0x5365d4['has'](_0x281474))&&_0x599d90['delete'](_0x281474);}for(const _0x5c5fb2 of _0x8a5cb3){const _0x405be1=_0x581ff5['insertions'][_0x5c5fb2];let _0x49ba9e=null,_0x2b4be3=null;for(const _0x4946f0 of _0x405be1){const _0x16135a=this['_getVidAttributeName'](_0x4946f0),_0x210b77=_0x4946f0['item']['getAttribute'](_0x16135a),_0x587d71=_0x599d90['get'](_0x210b77);_0x587d71&&'elementStart'==_0x4946f0['type']&&(_0x49ba9e=Array['from'](_0x587d71)[0x0],_0x2b4be3=_0x4946f0['item']['getAttribute']('vid_end')),_0x49ba9e&&(_0x5365d4['set'](_0x210b77,{'userId':_0x49ba9e}),_0x5d194d['set'](_0x210b77,{'userId':_0x49ba9e})),_0x210b77==_0x2b4be3&&(_0x49ba9e=null,_0x2b4be3=null);}}const _0x2ef990={},_0x566ed6=new Set();for(const _0xc89c1a of _0x8a5cb3){const _0x55ddda=_0x22c5e4['deletions'][_0xc89c1a],_0x542968=_0x22c5e4['insertions'][_0xc89c1a];for(const {userId:_0x40df62}of this['_touchedMarkers']['values']())null!==_0x40df62&&_0x566ed6['add'](_0x40df62);for(const {userId:_0x1d88a0}of this['_touchedRoots']['values']())null!==_0x1d88a0&&_0x566ed6['add'](_0x1d88a0);this['_markChanges'](_0x542968,_0x581ff5['insertions'][_0xc89c1a],_0x5d194d,'insertion',_0x566ed6),this['_markChanges'](_0x55ddda,_0x581ff5['deletions'][_0xc89c1a],_0x5365d4,'deletion',_0x566ed6),_0x2ef990[_0xc89c1a]={'insertions':this['_prepareViewToSave'](_0x542968),'deletions':this['_prepareViewToSave'](_0x55ddda),'attachChange':this['_touchedRoots']['get'](_0xc89c1a)||null,'attributesBefore':_0x25472f(this['_baseRootsAttributes']['get'](_0xc89c1a))||{},'attributesAfter':_0x25472f(this['_diffRootsAttributes']['get'](_0xc89c1a))};}return{'diffData':_0x2ef990,'authorsIds':Array['from'](_0x566ed6)};}['_processRootBeforeSave'](_0x438f08){for(const [,_0x492778]of _0x438f08['markers']){const _0x164601=_0x492778['start']['getAncestors']()['filter'](_0x52b0f0=>'tableCell'==_0x52b0f0['name']);for(const _0x384874 of _0x164601)0x1==_0x384874['childCount']&&_0x384874['getChild'](0x0)['is']('element','paragraph')&&_0x384874['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4b2c3d){this['_processRootBeforeSave'](_0x4b2c3d);const _0x336889=this['editor']['data']['toView'](_0x4b2c3d,{}),_0x27e542=Array['from'](_0x336889['getChildren']())['map'](_0xc482e9=>this['_getViewJson'](_0xc482e9));return JSON['stringify'](_0x27e542);}['_getViewJson'](_0x2780b6){if(_0x2780b6['is']('$text'))return _0x2780b6['data'];{const _0x20a9be=_0x2780b6;return{'type':Object['keys'](T)['find'](_0x2bccdc=>_0x2780b6 instanceof T[_0x2bccdc]),'name':_0x20a9be['name'],'attributes':Array['from'](_0x20a9be['getAttributes']()),'children':Array['from'](_0x20a9be['getChildren']())['map'](_0x408e48=>this['_getViewJson'](_0x408e48))};}}['_markChanges'](_0x3a1141,_0x159354,_0x48c20f,_0x15cf06,_0x53ede4){let _0x2e9f86=null,_0x29369d=null,_0x4dcf1b=0x0;const _0x40af68=this['editor']['model'];for(let _0x3a94f4=0x0;_0x3a94f4<_0x159354['length'];_0x3a94f4++){const _0x3a88cb=this['_getVidAttributeName'](_0x159354[_0x3a94f4]),_0x13ec7c=_0x159354[_0x3a94f4]['item']['getAttribute'](_0x3a88cb),_0x222a8a=_0x48c20f['get'](_0x13ec7c),_0x5a1228=_0x3a94f4==_0x159354['length']-0x1;(!_0x2e9f86&&_0x222a8a&&(_0x2e9f86=_0x222a8a,_0x29369d=_0x159354[_0x3a94f4]),_0x2e9f86&&(!_0x222a8a||_0x222a8a['userId']!=_0x2e9f86['userId']))&&(_0x474cf8(_0x222a8a,L(_0x29369d,_0x3a1141,_0x40af68),L(_0x159354[_0x3a94f4],_0x3a1141,_0x40af68)),_0x2e9f86=_0x222a8a||null,_0x29369d=_0x222a8a?_0x159354[_0x3a94f4]:null),_0x2e9f86&&_0x5a1228&&_0x474cf8(_0x222a8a,L(_0x29369d,_0x3a1141,_0x40af68),W(_0x159354[_0x3a94f4],_0x3a1141,_0x40af68));}function _0x474cf8(_0x459c15,_0x4750fa,_0x280ff6){const _0x3ad4a0=_0x2e9f86['userId'],_0x59557f='revision:'+_0x15cf06+':'+_0x3ad4a0+':'+_0x4dcf1b++,_0x38fc47=_0x40af68['createRange'](_0x4750fa,_0x280ff6);_0x3a1141['markers']['set'](_0x59557f,_0x38fc47),null!==_0x3ad4a0&&_0x53ede4['add'](_0x3ad4a0);}}['_getVidAttributeName'](_0xe7d0b0){switch(_0xe7d0b0['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x22a3cd,_0xa695c6){_0x22a3cd['baseVersion']=null;for(const _0x4c15cc in _0x22a3cd){const _0x20c9de=_0x22a3cd[_0x4c15cc];if(_0x20c9de instanceof gt){const _0x172e34=_0xa695c6['get'](_0x20c9de['root']['rootName']);_0x22a3cd[_0x4c15cc]=this['_fixPosition'](_0x20c9de,_0x172e34);}if(_0x20c9de instanceof vt){const _0x2c3087=_0xa695c6['get'](_0x20c9de['root']['rootName']);_0x22a3cd[_0x4c15cc]=this['_fixRange'](_0x20c9de,_0x2c3087);}'root'===_0x4c15cc&&(_0x22a3cd['root']=_0xa695c6['get'](_0x22a3cd['root']['rootName']));}}['_fixRange'](_0xf5c81d,_0x129531){return this['editor']['model']['createRange'](this['_fixPosition'](_0xf5c81d['start'],_0x129531),this['_fixPosition'](_0xf5c81d['end'],_0x129531));}['_fixPosition'](_0x3e89cc,_0x16b981){return this['editor']['model']['createPositionFromPath'](_0x16b981,_0x3e89cc['path'],_0x3e89cc['stickiness']);}['_handleInsertOperation'](_0x313cbb){const _0xf31fa6=this['_idsRoots']['get'](_0x313cbb['position']['root']['rootName']),_0x550ec1=this['_fixPosition'](_0x313cbb['position'],_0xf31fa6),_0x209674=null===_0x313cbb['_authorId']?null:_0x313cbb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xafc932=_0x550ec1['parent'],_0x2b2cd8=this['_revisionId'],_0x40365c=[];for(const _0x563f4a of _0x313cbb['nodes'])if(_0x563f4a['is']('element'))_0x40365c['push'](this['_makeIdsRoot'](_0x563f4a));else{for(let _0xf9abf3=0x0;_0xf9abf3<_0x563f4a['offsetSize'];_0xf9abf3++)_0x40365c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xacc8a2=this['_revisionId'];for(let _0x3796f2=_0x2b2cd8;_0x3796f2<_0xacc8a2;_0x3796f2++)this['_touched']['set'](_0x3796f2,{'userId':_0x209674});_0xafc932['_insertChild'](_0x550ec1['offset'],_0x40365c);}['_handleMoveOperation'](_0x3d1453){(_0x3d1453=this['_cloneOperation'](_0x3d1453,this['_idsRoots']))['_execute']();const _0x1d1f4d=null===_0x3d1453['_authorId']?null:_0x3d1453['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x164941=_0x3d1453['getMovedRangeStart'](),_0x506161=_0x164941['parent'],_0xd3efa6=_0x164941['offset'];!function _0x4d7590(_0x306b8d,_0x2ad43b,_0x4d0a84,_0x36e3ce){for(let _0x42c6f2=_0x4d0a84;_0x42c6f2<_0x36e3ce;_0x42c6f2++){const _0xb99ee8=_0x2ad43b['getChild'](_0x42c6f2);_0xb99ee8['is']('element','$text')?_0x306b8d['set'](_0xb99ee8['getAttribute']('vid'),{'userId':_0x1d1f4d}):(_0x306b8d['set'](_0xb99ee8['getAttribute']('vid_start'),{'userId':_0x1d1f4d}),_0x4d7590(_0x306b8d,_0xb99ee8,0x0,_0xb99ee8['childCount']),_0x306b8d['set'](_0xb99ee8['getAttribute']('vid_end'),{'userId':_0x1d1f4d}));}}(this['_touched'],_0x506161,_0xd3efa6,_0xd3efa6+_0x3d1453['howMany']);}['_handleMergeOperation'](_0x487ad3){const _0xc21715=null===(_0x487ad3=this['_cloneOperation'](_0x487ad3,this['_idsRoots']))['_authorId']?null:_0x487ad3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29959a=_0x487ad3['targetPosition']['parent'],_0x387e5f=_0x487ad3['sourcePosition']['parent'],_0x1fc266=_0x29959a['getAttribute']('vid_end'),_0x6ca268=_0x387e5f['getAttribute']('vid_start');_0x29959a['_setAttribute']('vid_end',_0x387e5f['getAttribute']('vid_end')),_0x387e5f['_setAttribute']('vid_end',_0x1fc266),this['_touched']['set'](_0x6ca268,{'userId':_0xc21715}),this['_touched']['set'](_0x1fc266,{'userId':_0xc21715}),_0x487ad3['_execute']();}['_handleSplitOperation'](_0x47435){const _0x336011=null===(_0x47435=this['_cloneOperation'](_0x47435,this['_idsRoots']))['_authorId']?null:_0x47435['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x166a29=_0x47435['graveyardPosition'],_0x30f5fd=_0x47435['splitPosition']['parent'];_0x47435['_execute']();const _0x369c00=_0x30f5fd['getAttribute']('vid_end'),_0x509488=_0x47435['insertionPosition']['nodeAfter'];if(_0x166a29){const _0x3fed4d=_0x509488['getAttribute']('vid_end'),_0x345ae2=_0x30f5fd['getAttribute']('vid_end');_0x30f5fd['_setAttribute']('vid_end',_0x3fed4d),_0x509488['_setAttribute']('vid_end',_0x345ae2),this['_touched']['set'](_0x30f5fd['getAttribute']('vid_end'),{'userId':_0x336011}),this['_touched']['set'](_0x509488['getAttribute']('vid_start'),{'userId':_0x336011});}else{const _0x5c397f=this['_revisionId']++,_0x1bf587=this['_revisionId']++;_0x30f5fd['_setAttribute']('vid_end',_0x5c397f),_0x509488['_setAttribute']('vid_start',_0x1bf587),_0x509488['_setAttribute']('vid_end',_0x369c00),this['_touched']['set'](_0x5c397f,{'userId':_0x336011}),this['_touched']['set'](_0x1bf587,{'userId':_0x336011});}}['_handleMarkerOperation'](_0x347fa9){if(!_0x347fa9['affectsData'])return;const _0x86d68d=(_0x347fa9=this['_cloneOperation'](_0x347fa9,this['_diffRoots']))['oldRange']?_0x347fa9['oldRange']['root']:null,_0x41f7e8=_0x347fa9['newRange']?_0x347fa9['newRange']['root']:null;_0x86d68d&&this['_markers']['delete'](_0x347fa9['name']),_0x41f7e8&&this['_markers']['set'](_0x347fa9['name'],_0x347fa9['newRange']['clone']());const _0x1e5159=null===_0x347fa9['_authorId']?null:_0x347fa9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x429bd1=_0x347fa9['name'];if(!this['_touchedMarkers']['has'](_0x429bd1))return void this['_touchedMarkers']['set'](_0x429bd1,{'range':_0x347fa9['oldRange'],'userId':_0x1e5159});const _0x217431=this['_touchedMarkers']['get'](_0x429bd1),_0x59adfa=_0x217431['range'],_0x2974ee=_0x347fa9['newRange'];null==_0x59adfa&&null==_0x2974ee||_0x59adfa&&_0x2974ee&&_0x59adfa['isEqual'](_0x2974ee)?this['_touchedMarkers']['delete'](_0x347fa9['name']):_0x217431['userId']=_0x1e5159;}['_handleRootOperation'](_0x5c66b1,_0x2b2c85){this['_diffRoots']['has'](_0x5c66b1['rootName'])?this['_diffRoots']['get'](_0x5c66b1['rootName'])['_isAttached']=_0x5c66b1['isAdd']:(this['_diffRoots']['set'](_0x5c66b1['rootName'],G(_0x5c66b1['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5c66b1['rootName'],{}),_0x2b2c85&&this['_idsRoots']['set'](_0x5c66b1['rootName'],G(_0x5c66b1['rootName'],!0x0)));const _0x3549ed=null===_0x5c66b1['_authorId']?null:_0x5c66b1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x575d4f=this['_touchedRoots']['get'](_0x5c66b1['rootName']);_0x575d4f&&_0x575d4f['userId']===_0x3549ed?this['_touchedRoots']['delete'](_0x5c66b1['rootName']):this['_touchedRoots']['set'](_0x5c66b1['rootName'],{'userId':_0x3549ed,'isAttached':_0x5c66b1['isAdd']});}['_handleRootAttributeOperation'](_0x18281e){const _0x153065=this['_diffRootsAttributes']['get'](_0x18281e['root']['rootName']);null===_0x18281e['newValue']?delete _0x153065[_0x18281e['key']]:_0x153065[_0x18281e['key']]=_0x18281e['newValue'];}}function q(_0x126650){const _0x2f94a4=G(_0x126650['rootName'],_0x126650['isAttached']());for(const _0xe7a635 of _0x126650['getChildren']()){const _0x5784f3=_0xe7a635['_clone'](!0x0);_0x2f94a4['_appendChild'](_0x5784f3);}return _0x2f94a4;}function G(_0x5c3621,_0x312824=!0x0){const _0x152eb7=new wt();return _0x152eb7['rootName']=_0x5c3621,_0x152eb7['_isAttached']=_0x312824,_0x152eb7['isAttached']=()=>_0x152eb7['_isAttached'],_0x152eb7;}function L(_0x51178e,_0x2065ec,_0x49ba29){const _0x1415d5='elementEnd'==_0x51178e['type']?_0x49ba29['createPositionAt'](_0x51178e['item'],'end'):_0x49ba29['createPositionBefore'](_0x51178e['item']);return _0x49ba29['createPositionFromPath'](_0x2065ec,_0x1415d5['path'],_0x1415d5['stickiness']);}function W(_0x4314a5,_0x300001,_0x3bf4fb){const _0x1ab4f5='elementStart'==_0x4314a5['type']?_0x3bf4fb['createPositionAt'](_0x4314a5['item'],0x0):_0x3bf4fb['createPositionAfter'](_0x4314a5['item']);return _0x3bf4fb['createPositionFromPath'](_0x300001,_0x1ab4f5['path'],_0x1ab4f5['stickiness']);}class ns extends _0x72c54{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x13121c,_0x17ebfd){super(_0x13121c),this['focusTracker']=new _0xe2556f(),this['keystrokes']=new _0x36e087(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x17ebfd),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'](),_0x40fef8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x148c57=_0x379044=>_0x379044['stopPropagation']();this['keystrokes']['set']('arrowright',_0x148c57),this['keystrokes']['set']('arrowleft',_0x148c57),this['keystrokes']['set']('arrowup',_0x148c57),this['keystrokes']['set']('arrowdown',_0x148c57);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x257785){this['revisionNameInputView']['fieldView']['element']['value']=_0x257785['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xcaa06e){const _0x51ddfb=new at(this['locale'],_0x523fa1),_0x47cbb7=_0x51ddfb['fieldView'];_0x47cbb7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x263231=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xcaa06e&&(_0x263231+='\x20('+y(this['locale'],'optional')+')'),(_0x51ddfb['label']=_0x263231,_0x47cbb7['on']('input',()=>{this['revisionNameInputValue']=_0x47cbb7['element']['value']['trim']();}),_0x51ddfb);}}class u extends _0x490488{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1c49d9=this['editor'],_0x45cc47=_0x1c49d9['plugins']['get']('RevisionTracker');_0x1c49d9['ui']['componentFactory']['add']('revisionHistory',_0x3f2762=>{const _0x52f5d9=_0x11eae5(_0x3f2762),_0x5ee1ac=_0x52f5d9['panelView']['children'],_0x363f1b=new te(_0x3f2762),_0x403484=new _0x47e5bb(_0x3f2762),_0x46ab85=new _0x5a4920(_0x3f2762),_0x4c6377=new _0x47e5bb(_0x3f2762),_0x169fa8=new _0x5a4920(_0x3f2762);return _0x52f5d9['bind']('isEnabled')['to'](_0x45cc47,'isReady',_0x45cc47,'isEnabled',_0x1c49d9,'isReadOnly',(_0x446a22,_0x14d05e,_0xf4692b)=>_0x446a22&&_0x14d05e&&!_0xf4692b),_0x52f5d9['buttonView']['set']({'icon':_0x4e50e6['history'],'label':y(_0x3f2762,'Revision\x20history'),'tooltip':!0x0}),_0x46ab85['set']({'label':y(_0x3f2762,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x46ab85['bind']('isEnabled')['to'](_0x45cc47,'isReady',_0x45cc47,'isEnabled',_0x1c49d9,'isReadOnly',(_0x3d56e1,_0x27e16,_0x3e7250)=>_0x3d56e1&&_0x27e16&&!_0x3e7250),_0x46ab85['on']('execute',()=>this['_showDialog']()),_0x169fa8['set']({'label':y(_0x3f2762,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x169fa8['bind']('isEnabled')['to'](_0x45cc47,'isReady',_0x1c49d9,'isReadOnly',(_0x7e835e,_0x1ecde9)=>_0x7e835e&&!_0x1ecde9),_0x169fa8['on']('execute',()=>{_0x1c49d9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x52f5d9['isOpen']=!0x1,_0x1c49d9['editing']['view']['focus']();}),_0x403484['children']['add'](_0x46ab85),_0x4c6377['children']['add'](_0x169fa8),_0x363f1b['role']='menu',_0x363f1b['items']['addMany']([_0x403484,_0x4c6377]),_0x5ee1ac['add'](_0x363f1b),_0x52f5d9;}),_0x1c49d9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xa5e2fb=this['editor'],_0x9a5432=_0xa5e2fb['locale'],_0x134c04=new _0x3b6bc9(_0x9a5432),_0x1774fd=new _0x1a9c6d(_0x9a5432);_0x134c04['buttonView']['set']({'icon':_0x4e50e6['history'],'label':y(_0x9a5432,'Revision\x20history')});const _0x9cf159=new _0x57d3a1(_0x9a5432,_0x134c04),_0x5317d4=new _0x3b784b(_0x9a5432);_0x5317d4['set']({'label':y(_0x9a5432,'Save\x20current\x20revision')}),_0x5317d4['delegate']('execute')['to'](_0x134c04),_0x5317d4['on']('execute',()=>{this['_showDialog']();}),_0x9cf159['children']['add'](_0x5317d4),_0x1774fd['items']['add'](_0x9cf159);const _0x555496=new _0x57d3a1(_0x9a5432,_0x134c04),_0x5147cc=new _0x3b784b(_0x9a5432);return _0x5147cc['set']({'label':y(_0x9a5432,'Open\x20revision\x20history')}),_0x5147cc['delegate']('execute')['to'](_0x134c04),_0x5147cc['on']('execute',()=>{_0xa5e2fb['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x555496['children']['add'](_0x5147cc),_0x1774fd['items']['add'](_0x555496),_0x134c04['panelView']['children']['add'](_0x1774fd),_0x134c04;}['_showDialog'](){const _0x20793e=this['editor'],_0x24dee6=_0x20793e['locale'],_0x3bbf49=_0x20793e['plugins']['get']('Dialog'),_0x19ac61=_0x20793e['plugins']['get']('RevisionTracker');function _0x14d802(_0x313d7a){_0x20793e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x313d7a['revisionName']?_0x313d7a['revisionNameInputView']['errorText']=y(_0x24dee6,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x20793e['plugins']['get'](l)['saveRevision']({'name':_0x313d7a['revisionName']}),_0x3bbf49['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x14d802(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3bbf49['show']({'id':'revisionSave','title':y(_0x24dee6,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x20793e['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3bbf49['hide']()},{'label':y(_0x20793e['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x40b865){_0x40b865['bind']('isEnabled')['to'](_0x19ac61,'isReady',_0x19ac61,'isEnabled',_0x20793e,'isReadOnly',(_0x2badbc,_0x389b91,_0xa2384a)=>_0x2badbc&&_0x389b91&&!_0xa2384a);},'onExecute':()=>_0x14d802(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1aef30=this['editor'],_0x25a346=_0x1aef30['locale'];this['_saveRevisionFormView']=new ns(_0x25a346,_0x1aef30['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x72c54{['changeId'];['_model'];constructor(_0x5a337e,_0x47aaa8){super(_0x5a337e),this['_model']=_0x47aaa8,this['changeId']=_0x47aaa8['id'];const _0x5da007=this['bindTemplate'],_0x42fd38=y(_0x5a337e,_0x47aaa8['data']['isSuggestion']?'Suggested\x20by':'add'==_0x47aaa8['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x47aaa8['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5da007['to']('type',_0xcc0949=>'ck-revision-change__'+_0xcc0949)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x42fd38}]},{'text':'\x20'+_0x47aaa8['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x3cf579(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xf2d179){super(),this['id']=_0xf2d179['id']||_0x2f067e(),this['author']=_0xf2d179['author'],this['type']=_0xf2d179['type'],this['data']=_0xf2d179['data']||{},this['rootName']=_0xf2d179['rootName'],this['set']('createdAt',_0xf2d179['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(_0xaa7ab,_0x4f6627){this['newRevisionId']=_0xaa7ab,this['oldRevisionId']=_0x4f6627,this['changes']=new _0x52ae39();}['_setChanges'](_0x5596fe){for(const _0x2198af of _0x5596fe)this['changes']['add'](_0x2198af);}}const tt={'c':_0x110ad9,'a':_0x188a0a,'e':_0x5c36f0,'r':_0x5869f3,'u':_0x434c42};class d extends _0x490488{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5f579f,_0x4b3375,A];}constructor(_0x375379){super(_0x375379),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',(_0x2a94be,_0x50c07a,_0x58f62e)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3af8b0=>{for(const _0x4971a6 of this['editor']['editing']['view']['document']['roots'])_0x58f62e?_0x3af8b0['removeClass']('ck-editor__editable__overlay',_0x4971a6):_0x3af8b0['addClass']('ck-editor__editable__overlay',_0x4971a6);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3362ca=>null!==_0x3362ca),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x209aae,_0x28a77b,_0x5a6d47)=>_0x209aae&&_0x5a6d47?_0x28a77b['changes']['getIndex'](_0x5a6d47):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x48c1da,_0x1a1ad2)=>_0x48c1da?_0x1a1ad2['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4b3375);}['init'](){const _0x4c4aa5=this['editor'],_0x2991f7=new yt(_0x4c4aa5,{'direction':'backward'}),_0x4a6f99=new yt(_0x4c4aa5,{'direction':'forward'});(_0x4c4aa5['commands']['add']('showPreviousChange',_0x2991f7),_0x4c4aa5['commands']['add']('showNextChange',_0x4a6f99),_0x4c4aa5['commands']['add']('restoreRevision',new bt(_0x4c4aa5)),this['on']('change:numberOfChanges',()=>{_0x2991f7['refresh'](),_0x4a6f99['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4c4aa5['enableReadOnlyMode']('revision-viewer'),_0x4c4aa5['plugins']['has']('WidgetToolbarRepository'))&&_0x4c4aa5['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4f3060){await this['loadRevisionData'](_0x4f3060);const _0x2b2bea={};for(const _0x41c488 in _0x4f3060['diffData']){if(_0x4f3060['diffData'][_0x41c488]['attachChange']&&!_0x4f3060['diffData'][_0x41c488]['attachChange']['isAttached'])continue;const _0x220ca5=this['_removeRevisionMarkers'](JSON['parse'](_0x4f3060['diffData'][_0x41c488]['insertions'])),_0x52efb9=this['editor']['editing']['view']['document'],_0x4c0a5f=new _0x157bb4(_0x52efb9,_0x220ca5['map'](_0x212fbf=>this['_getViewObj'](_0x212fbf)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2b2bea[_0x41c488]=this['editor']['data']['processor']['toData'](_0x4c0a5f),this['editor']['data']['processor']['useFillerType']('default');}return _0x2b2bea;}async['getRevisionRootsAttributes'](_0x38b0f1){await this['loadRevisionData'](_0x38b0f1);const _0x1636fa={};for(const _0x1e4ffb in _0x38b0f1['diffData'])_0x38b0f1['diffData'][_0x1e4ffb]['attachChange']&&!_0x38b0f1['diffData'][_0x1e4ffb]['attachChange']['isAttached']||(_0x1636fa[_0x1e4ffb]=_0x38b0f1['diffData'][_0x1e4ffb]['attributesAfter']||{});return _0x1636fa;}['_removeRevisionMarkers'](_0x32ca9c){return(_0x32ca9c=_0x32ca9c['filter'](_0x40fcdb=>!_0x40fcdb['name']||'revision-start'!==_0x40fcdb['name']&&'revision-end'!==_0x40fcdb['name']))['forEach'](_0x4c0f42=>{'string'!=typeof _0x4c0f42&&(_0x4c0f42['children']=this['_removeRevisionMarkers'](_0x4c0f42['children']),_0x4c0f42['attributes']=_0x4c0f42['attributes']['filter'](_0x153095=>!_0x153095[0x0]['startsWith']('data-revision-')));}),_0x32ca9c;}async['compare'](_0x3236d4,_0x4dc356,_0x20d574=!0x1){if(!this['isEnabled'])return;const _0x2363ac=this['diff'],_0x32063c=this['repository'],_0x402998='string'==typeof _0x3236d4?_0x32063c['getRevision'](_0x3236d4):_0x3236d4,_0x1622b9='string'==typeof _0x4dc356?_0x32063c['getRevision'](_0x4dc356):_0x4dc356,_0x258d16=_0x402998['id'],_0x475d95=_0x1622b9?_0x1622b9['id']:null;if(!_0x20d574&&this['diff']&&this['diff']['newRevisionId']===_0x258d16&&this['diff']['oldRevisionId']===_0x475d95)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x258d16,_0x475d95);const _0x1a934f=this['_getRevisionsRange'](_0x402998,_0x1622b9,!0x0)['map'](_0x35e01d=>this['loadRevisionData'](_0x35e01d));return _0x1a934f['push'](new Promise(_0x3d7108=>{setTimeout(_0x3d7108,0x14);})),Promise['all'](_0x1a934f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xae7376=this['_getDiff'](_0x258d16,_0x475d95);for(const _0x417068 of _0xae7376['changes'])this['_changeIdToChange']['set'](_0x417068['id'],_0x417068);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x7c754e=>{for(const _0x23c175 of this['editor']['model']['document']['getRootNames']())_0x7c754e['detachRoot'](_0x23c175);for(const _0x4005f5 of Object['keys'](_0xae7376['model'])){const _0x31af7d=_0x7c754e['addRoot'](_0x4005f5);for(const _0x2f2467 of Object['keys'](_0xae7376['attributes'][_0x4005f5]))_0x7c754e['setAttribute'](_0x2f2467,_0xae7376['attributes'][_0x4005f5][_0x2f2467],_0x31af7d);_0x7c754e['insert'](_0xae7376['model'][_0x4005f5],_0x31af7d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xae7376['changes'])),this['isReady']=!0x0;})['catch'](_0x525008=>{console['error'](_0x525008),this['_cleanUp'](),_0x2363ac&&(this['diff']=_0x2363ac),this['isReady']=!0x0;});}['addRevisionData'](_0x1fd003,_0x288298){const _0xbda9bb=this['repository']['createRevision'](_0x1fd003);return _0xbda9bb['on']('_update',(_0x1f3a2d,_0x27a407,_0x4d49ab)=>_0x288298(_0x27a407,_0x4d49ab,_0xbda9bb)),this['repository']['addRevision'](_0xbda9bb),_0xbda9bb;}['loadRevisionData'](_0x43d9d5){if(!_0x43d9d5||_0x43d9d5['diffData'])return Promise['resolve']();{const _0xce80ef=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xce80ef,'revisionId':_0x43d9d5['id']})['then'](_0x1be0aa=>{_0x43d9d5['_update']({'diffData':_0x1be0aa['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},_0x8b9f44=>{for(const _0x33053e of this['editor']['model']['document']['getRootNames']())_0x8b9f44['detachRoot'](_0x33053e);});}['_sortAndFilterDiffChanges'](_0x955d8e){const _0x2f626a=[],_0x40fc34=new Map();for(const _0x4aa118 of this['editor']['model']['document']['getRootNames']()){const _0x47cd40=this['editor']['editing']['view']['getDomRoot'](_0x4aa118);if(!_0x47cd40)continue;const _0x524319=_0x47cd40['getClientRects']()['item'](0x0);_0x524319&&(_0x2f626a['push'](_0x4aa118),_0x40fc34['set'](_0x4aa118,_0x524319));}return _0x2f626a['sort']((_0x59e1c9,_0x10a8b2)=>{const _0x59eeb1=_0x40fc34['get'](_0x59e1c9),_0xbe3c6f=_0x40fc34['get'](_0x10a8b2);return _0x59eeb1['y']-_0xbe3c6f['y']||_0x59eeb1['x']-_0xbe3c6f['x'];}),(_0x955d8e=_0x955d8e['filter'](_0x3da089=>_0x2f626a['includes'](_0x3da089['rootName'])))['sort']((_0x514728,_0x321ea0)=>_0x2f626a['indexOf'](_0x514728['rootName'])-_0x2f626a['indexOf'](_0x321ea0['rootName'])),_0x955d8e;}['_makeTape'](_0x2fdbc9){const _0x44ea0a=Array['from'](_0x2fdbc9['markers'])['filter'](([_0x87ccbd,_0x3044b7])=>_0x87ccbd['startsWith']('revision:')&&!_0x3044b7['isCollapsed']),_0x166596=Array['from'](this['editor']['model']['createRangeIn'](_0x2fdbc9)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x44ea0a['length'])for(const _0x1fc88d of _0x166596){const [_0x4113c2,_0x29c379]=_0x44ea0a[0x0],[,_0x50e2ab,_0xef704c]=_0x4113c2['split'](':');if(_0x29c379['end']['isEqual'](_0x1fc88d['nextPosition'])&&_0x44ea0a['shift'](),(_0x1fc88d['previousPosition']['isEqual'](_0x29c379['start'])||_0x1fc88d['previousPosition']['isAfter'](_0x29c379['start']))&&('insertion'==_0x50e2ab?_0x1fc88d['isAdded']={'userId':_0xef704c}:'deletion'==_0x50e2ab&&(_0x1fc88d['isRemoved']={'userId':_0xef704c})),0x0==_0x44ea0a['length'])break;}return _0x166596;}['_refreshStartEndIndex'](_0x297b91){const _0x5c4a29=new Map();for(let _0x321c1c=0x0;_0x321c1c<_0x297b91['length'];_0x321c1c++)'text'===_0x297b91[_0x321c1c]['type']?(_0x297b91[_0x321c1c]['item']['startIndex']=_0x321c1c,_0x297b91[_0x321c1c]['item']['endIndex']=_0x321c1c):('elementStart'===_0x297b91[_0x321c1c]['type']?_0x297b91[_0x321c1c]['item']['startIndex']=_0x321c1c:'elementEnd'===_0x297b91[_0x321c1c]['type']&&(_0x297b91[_0x321c1c]['item']['endIndex']=_0x321c1c),_0x5c4a29['set'](_0x297b91[_0x321c1c]['id'],_0x321c1c));for(const _0x1148ac of _0x5c4a29['values']())'elementStart'===_0x297b91[_0x1148ac]['type']?_0x297b91[_0x1148ac]['item']['endIndex']=_0x5c4a29['get'](_0x297b91[_0x1148ac]['pairId']):'elementEnd'===_0x297b91[_0x1148ac]['type']&&(_0x297b91[_0x1148ac]['item']['startIndex']=_0x5c4a29['get'](_0x297b91[_0x1148ac]['pairId']));}['_processTape'](_0x2cbd9b){for(let _0x19e44a=0x0;_0x19e44a<_0x2cbd9b['length'];_0x19e44a++){if('elementStart'===_0x2cbd9b[_0x19e44a]['type'])_0x2cbd9b[_0x19e44a]['item']['startIndex']=_0x19e44a;else{if('elementEnd'===_0x2cbd9b[_0x19e44a]['type']){_0x2cbd9b[_0x19e44a]['item']['endIndex']=_0x19e44a;const _0x1b4c5b=_0x2cbd9b[_0x19e44a]['item']['startIndex'];_0x2cbd9b[_0x1b4c5b]['pairId']=_0x2cbd9b[_0x19e44a]['id'],_0x2cbd9b[_0x19e44a]['pairId']=_0x2cbd9b[_0x1b4c5b]['id'];}else _0x2cbd9b[_0x19e44a]['item']['startIndex']=_0x19e44a,_0x2cbd9b[_0x19e44a]['item']['endIndex']=_0x19e44a,_0x2cbd9b[_0x19e44a]['pairId']=null;}_0x2cbd9b[_0x19e44a]['markersStart']||(_0x2cbd9b[_0x19e44a]['markersStart']=[],_0x2cbd9b[_0x19e44a]['markersEnd']=[]);}}['_markInsertions'](_0xdcc211,_0x23e218){const _0x278841=_0xdcc211['filter'](_0x199c85=>!_0x199c85['isAdded']);for(let _0x53e285=0x0;_0x53e285<_0x23e218['length'];_0x53e285++)_0x23e218[_0x53e285]['isAdded']&&(_0x278841[_0x53e285]['isAdded']=_0x23e218[_0x53e285]['isAdded']);}['_makeModelFromViewString'](_0xea18c){const _0x4f3a64=JSON['parse'](_0xea18c),_0x294ce8=this['editor']['editing']['view']['document'],_0x5823da=new _0x157bb4(_0x294ce8,_0x4f3a64['map'](_0x187323=>this['_getViewObj'](_0x187323)));return this['editor']['data']['toModel'](_0x5823da);}['_getViewObj'](_0x4b117f){const _0x307b95=this['editor']['editing']['view']['document'];if('string'==typeof _0x4b117f)return new _0x3a4690(_0x307b95,_0x4b117f);{const _0x238cc4=_0x4b117f['children']['map'](_0x52a37a=>this['_getViewObj'](_0x52a37a));return new(tt[_0x4b117f['type']]||_0x50a15d)(_0x307b95,_0x4b117f['name'],_0x4b117f['attributes'],_0x238cc4);}}['_getDiff'](_0x294a46,_0x55fe4d=null){const _0x1c4271=this['repository']['getRevision'](_0x294a46),_0x15f4ad=_0x55fe4d?this['repository']['getRevision'](_0x55fe4d):null,_0x5780d6=this['_getRevisionsRange'](_0x1c4271,_0x15f4ad),_0x3d190f=_0x5780d6[_0x5780d6['length']-0x1],_0x442f34=new Map(),_0x1cd48f={'model':{},'attributes':{},'changes':[]},_0x215559=new Set(),_0x29e363=new Map();for(let _0x29683b=_0x5780d6['length']-0x1;_0x29683b>=0x0;_0x29683b--){const _0x2da316=_0x5780d6[_0x29683b];for(const _0x5518c0 of Object['keys'](_0x2da316['diffData']))if(_0x2da316['diffData'][_0x5518c0]['attachChange']){const _0x1caa51=_0x2da316['diffData'][_0x5518c0]['attachChange'];_0x1caa51['isAttached']?(_0x215559['add'](_0x5518c0),_0x29e363['has'](_0x5518c0)&&_0x29e363['get'](_0x5518c0)['userId']==_0x1caa51['userId']?_0x29e363['delete'](_0x5518c0):_0x29e363['set'](_0x5518c0,_0x1caa51)):_0x29e363['has'](_0x5518c0)?(_0x215559['delete'](_0x5518c0),_0x29e363['delete'](_0x5518c0)):(_0x215559['add'](_0x5518c0),_0x29e363['set'](_0x5518c0,_0x1caa51));}else _0x215559['add'](_0x5518c0);}for(const _0x589f74 of _0x215559){const _0x25b644=_0x29e363['has'](_0x589f74)&&!_0x29e363['get'](_0x589f74)['isAttached'];let _0x1cfe26=_0x25b644?_0x5780d6['length']-0x1:0x0;const _0x156686=_0x25b644?-0x1:0x1;for(;_0x5780d6[_0x1cfe26];){const _0x36013b=_0x5780d6[_0x1cfe26];if(_0x36013b['diffData'][_0x589f74]){const _0x20f0ce=_0x25b644?_0x36013b['diffData'][_0x589f74]['attributesBefore']:_0x36013b['diffData'][_0x589f74]['attributesAfter'];_0x1cd48f['attributes'][_0x589f74]=_0x20f0ce?_0x25472f(_0x20f0ce):{};break;}_0x1cfe26+=_0x156686;}}for(const _0x1e3595 of _0x5780d6){_0x1e3595['model']={};for(const _0x2d24af of _0x1e3595['authors'])_0x442f34['set'](_0x2d24af['id'],_0x2d24af);for(const _0x2a3e6d of _0x215559){const _0xeb6b47=_0x1e3595['diffData'][_0x2a3e6d]?_0x1e3595['diffData'][_0x2a3e6d]['insertions']:'[]',_0x545efc=_0x1e3595['diffData'][_0x2a3e6d]?_0x1e3595['diffData'][_0x2a3e6d]['deletions']:'[]';_0x1e3595['model'][_0x2a3e6d]={'insertions':this['_makeModelFromViewString'](_0xeb6b47),'deletions':this['_makeModelFromViewString'](_0x545efc)};}}for(const _0x4bc814 of _0x215559){let _0x5268bb=null,_0x525b30=0x0;const _0x188fd1=new Map(Array['from'](_0x1c4271['model'][_0x4bc814]['insertions']['markers'])['filter'](([_0x9dc803])=>!_0x9dc803['startsWith']('revision:')));let _0x272290=0x0;for(const _0x58b1db of _0x5780d6){const _0x4c607c=this['_makeTape'](_0x58b1db['model'][_0x4bc814]['insertions']);_0x58b1db==_0x1c4271?(_0x5268bb=_0x4c607c,_0x525b30=_0x5268bb['length'],_0x5268bb['forEach'](_0x5d719f=>{_0x5d719f['id']=_0x272290++;}),this['_processTape'](_0x5268bb)):this['_markInsertions'](_0x5268bb,_0x4c607c);const _0x5f1ba0=_0x5268bb['filter'](_0x47f016=>!_0x47f016['isAdded'])['map'](_0x1e571d=>_0x1e571d['id']);let _0x3512e3=0x0;const _0x5dadb1=this['_makeTape'](_0x58b1db['model'][_0x4bc814]['deletions']);_0x5dadb1['forEach'](_0x1960b1=>{_0x1960b1['isRemoved']?_0x1960b1['id']=_0x525b30++:_0x1960b1['id']=_0x5f1ba0[_0x3512e3++];}),this['_processTape'](_0x5dadb1),this['_setDistance'](_0x5268bb,'isAdded'),this['_setDistance'](_0x5dadb1,'isRemoved'),_0x58b1db==_0x1c4271&&this['_markMarkers'](_0x5268bb,_0x188fd1),_0x5268bb=this['_joinTapes'](_0x5268bb,_0x5dadb1),this['_refreshStartEndIndex'](_0x5268bb),this['_setDistance'](_0x5268bb,'isRemoved');}_0x5268bb=_0x5268bb['filter'](_0x530d8a=>!(_0x530d8a['isAdded']&&_0x530d8a['isRemoved']));const _0x8d7527=new Map(_0x3d190f['model'][_0x4bc814]['deletions']['markers']),_0x59ed67=new Set(_0x188fd1['keys']());for(const _0x59bbdb of _0x8d7527['keys']())_0x59ed67['delete'](_0x59bbdb);this['_markSuggestions'](_0x5268bb,_0x59ed67),this['_fixObsoleteTags'](_0x5268bb),_0x5268bb=this['_removeMissingPairs'](_0x5268bb),_0x5268bb=this['_markMismatchedRemovedTags'](_0x5268bb),_0x5268bb=this['_removeUnsupportedChanges'](_0x5268bb);const {root:_0x52d558,changes:_0x5bd9ed}=this['_makeModelFromTape'](_0x5268bb,_0x442f34,_0x4bc814);_0x1cd48f['model'][_0x4bc814]=_0x52d558;const _0x21d8aa=_0x29e363['get'](_0x4bc814);if(_0x21d8aa){const _0xf96966=_0x442f34['get'](_0x21d8aa['userId']),_0x28dbd2=new r({'author':_0xf96966,'type':_0x21d8aa['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4bc814});_0x5bd9ed['unshift'](_0x28dbd2),_0x1cd48f['attributes'][_0x4bc814]['revisionHistoryAttachChange']=_0x28dbd2['id'];}_0x1cd48f['changes']=_0x1cd48f['changes']['concat'](_0x5bd9ed);}return _0x1cd48f;}['_markMarkers'](_0x5e5944,_0x19a552){for(let _0x3c255f=0x0;_0x3c255f<_0x5e5944['length'];_0x3c255f++)for(const [_0x3ac1c4,_0x20f54c]of _0x19a552)_0x20f54c['start']['isEqual'](_0x5e5944[_0x3c255f]['previousPosition'])&&_0x5e5944[_0x3c255f]['markersStart']['push'](_0x3ac1c4),_0x20f54c['end']['isEqual'](_0x5e5944[_0x3c255f]['nextPosition'])&&_0x5e5944[_0x3c255f]['markersEnd']['push'](_0x3ac1c4);}['_joinTapes'](_0x269517,_0x16d9ce){let _0x4f2f23=[],_0x174de0=0x0,_0x4564ec=0x0;for(;_0x174de0<_0x269517['length']||_0x4564ec<_0x16d9ce['length'];){const _0x47513a=_0x269517[_0x174de0]||{},_0x3e8fdf=_0x16d9ce[_0x4564ec]||{};if(_0x47513a['id']==_0x3e8fdf['id'])_0x174de0++,_0x4564ec++,_0x4f2f23['push'](_0x47513a);else{if(_0x3e8fdf['isRemoved']&&_0x47513a['isAdded']){const {commonTape:_0x17c5b1,iEnd:_0x40d502,jEnd:_0x505e69}=this['_threeWayMerge'](_0x269517,_0x174de0,_0x16d9ce,_0x4564ec);_0x4f2f23=_0x4f2f23['concat'](_0x17c5b1),_0x174de0=_0x40d502,_0x4564ec=_0x505e69;}else _0x3e8fdf['isRemoved']?(_0x4564ec++,_0x4f2f23['push'](_0x3e8fdf)):(_0x174de0++,_0x4f2f23['push'](_0x47513a));}}return _0x4f2f23;}['_markSuggestions'](_0x294e2f,_0x3144a3){const _0x4a6acc=[];for(let _0x5440e1=0x0;_0x5440e1<_0x294e2f['length'];_0x5440e1++){for(let _0x284442=0x0;_0x284442<_0x294e2f[_0x5440e1]['markersStart']['length'];_0x284442++){const _0x5503a2=_0x294e2f[_0x5440e1]['markersStart'][_0x284442];if(!_0x3144a3['has'](_0x5503a2))continue;const {group:_0x44e495,type:_0x2aea38,authorId:_0x5dc952}=_0x2e6bfc(_0x5503a2);'revision-suggestion'!=_0x44e495||'insertion'!=_0x2aea38&&'deletion'!=_0x2aea38||(_0x4a6acc['unshift']({'type':_0x2aea38,'name':_0x5503a2,'userId':_0x5dc952}),_0x294e2f[_0x5440e1]['markersStart']['splice'](_0x284442,0x1),_0x284442--);}_0x5858e7(_0x294e2f[_0x5440e1]);for(let _0x13b89b=0x0;_0x13b89b<_0x294e2f[_0x5440e1]['markersEnd']['length'];_0x13b89b++){const _0x50a6d1=_0x294e2f[_0x5440e1]['markersEnd'][_0x13b89b];if(!_0x3144a3['has'](_0x50a6d1))continue;const {group:_0x2cb995,type:_0x3d6a85}=_0x2e6bfc(_0x50a6d1);if('revision-suggestion'!=_0x2cb995||'insertion'!=_0x3d6a85&&'deletion'!=_0x3d6a85)continue;_0x294e2f[_0x5440e1]['markersEnd']['splice'](_0x13b89b,0x1),_0x13b89b--;const _0x45599e=_0x4a6acc['findIndex'](_0x4ed572=>_0x4ed572['name']==_0x50a6d1);_0x45599e>-0x1&&_0x4a6acc['splice'](_0x45599e,0x1);}}function _0x2e6bfc(_0x23176b){const _0x443486=_0x23176b['split'](':');return{'group':_0x443486[0x0],'type':_0x443486[0x1],'subType':_0x443486['length']>=0x5?_0x443486[0x2]:null,'id':_0x443486['length']<0x5?_0x443486[0x2]:_0x443486[0x3],'authorId':_0x443486['length']<0x5?_0x443486[0x3]:_0x443486[0x4],'markerCount':0x6==_0x443486['length']?_0x443486[0x5]:null};}function _0x5858e7(_0x57552a){for(let _0x2a1362=0x0;_0x2a1362<_0x4a6acc['length'];_0x2a1362++){if(_0x57552a['isAdded']&&'insertion'==_0x4a6acc[_0x2a1362]['type'])return _0x57552a['isAddSuggestion']=_0x4a6acc[_0x2a1362],void delete _0x57552a['isAdded'];if(!_0x57552a['isAdded']&&!_0x57552a['isRemoved']&&'deletion'==_0x4a6acc[_0x2a1362]['type'])return void(_0x57552a['isRemoveSuggestion']=_0x4a6acc[_0x2a1362]);}}}['_setDistance'](_0x9c6cda,_0x33d662){let _0x5ad5ff=0x0,_0x596f00=!0x1;const _0xa9852c=new Map();for(const _0x30537e of _0x9c6cda)_0x30537e[_0x33d662]?_0x596f00&&(_0x5ad5ff++,_0x596f00=!0x1):(_0x5ad5ff++,_0x596f00=!0x0),_0xa9852c['set'](_0x30537e['id'],_0x5ad5ff);for(let _0x9e0f76=0x0;_0x9e0f76<_0x9c6cda['length'];_0x9e0f76++){if('isRemoved'==_0x33d662&&_0x9c6cda[_0x9e0f76]['isAdded']||'isAdded'==_0x33d662&&_0x9c6cda[_0x9e0f76]['isRemoved'])continue;if('text'==_0x9c6cda[_0x9e0f76]['type']){_0x9c6cda[_0x9e0f76]['distance']=0x0;continue;}const _0x179e93=_0xa9852c['get'](_0x9c6cda[_0x9e0f76]['pairId']),_0x23cc84=_0xa9852c['get'](_0x9c6cda[_0x9e0f76]['id']);_0x9c6cda[_0x9e0f76]['distance']=_0x179e93-_0x23cc84;}}['_getRevisionsRange'](_0x1fb148,_0xadd7f7,_0x1d6b1e=!0x1){const _0x21f283=[];let _0x3264a1=this['repository']['getIndex'](_0x1fb148),_0x1f8979=this['repository']['getIndex'](_0xadd7f7);for(-0x1==_0x1f8979&&(_0x1f8979=this['repository']['_revisions']['length'],_0x1d6b1e=!0x1);_0x3264a1<_0x1f8979;)_0x21f283['push'](this['repository']['getRevision'](_0x3264a1)),_0x3264a1++;return _0x1d6b1e&&_0x21f283['push'](this['repository']['getRevision'](_0x3264a1)),_0x21f283;}['_threeWayMerge'](_0x21ecef,_0x51c36f,_0x3d2f63,_0x56af75){const _0x13382d=this['editor']['model']['schema'];let _0x2d713b=_0x51c36f;for(;_0x21ecef[_0x2d713b]&&_0x21ecef[_0x2d713b]['isAdded'];)_0x2d713b++;let _0x149f2a=_0x56af75;for(;_0x3d2f63[_0x149f2a]&&_0x3d2f63[_0x149f2a]['isRemoved'];)_0x149f2a++;_0x369eb8(_0x21ecef,_0x51c36f,_0x2d713b),_0x369eb8(_0x3d2f63,_0x56af75,_0x149f2a);const _0x3083cd=_0x3d2f63['slice'](_0x56af75,_0x149f2a)['concat'](_0x21ecef['slice'](_0x51c36f,_0x2d713b));return _0x3083cd['sort']((_0x5ed61d,_0x4fdf13)=>_0x5ed61d['side']!=_0x4fdf13['side']?_0x5ed61d['side']-_0x4fdf13['side']:_0x5ed61d['level']!=_0x4fdf13['level']?_0x5ed61d['level']-_0x4fdf13['level']:_0x5ed61d['distance']!=_0x4fdf13['distance']?_0x4fdf13['distance']-_0x5ed61d['distance']:!!_0x5ed61d['isAdded']!=!!_0x4fdf13['isAdded']?-0x1==_0x5ed61d['side']||0x0==_0x5ed61d['side']?_0x5ed61d['isAdded']?-0x1:0x1:_0x5ed61d['isAdded']?0x1:-0x1:_0x5ed61d['index']-_0x4fdf13['index']),{'commonTape':_0x3083cd,'iEnd':_0x2d713b,'jEnd':_0x149f2a};function _0x369eb8(_0x3609dc,_0x3536cd,_0x127d34){let _0x2e7502=-0x1,_0x37aa14=Number['POSITIVE_INFINITY'],_0x5814a9=!0x0;for(let _0x5f0745=_0x3536cd;_0x5f0745<_0x127d34;_0x5f0745++)if(_0x13382d['isInline'](_0x3609dc[_0x5f0745]['item'])||(_0x5814a9=!0x1),_0x3609dc[_0x5f0745]['item']['startIndex']<_0x3536cd&&(_0x2e7502=_0x5f0745),_0x3609dc[_0x5f0745]['item']['endIndex']>=_0x127d34){_0x37aa14=_0x5f0745;break;}_0x5814a9&&(_0x2e7502=_0x127d34-0x1);for(let _0x388d4a=_0x3536cd;_0x388d4a<_0x127d34;_0x388d4a++)_0x3609dc[_0x388d4a]['side']=_0x388d4a<=_0x2e7502?-0x1:_0x388d4a<_0x37aa14?0x0:0x1,_0x3609dc[_0x388d4a]['index']=_0x388d4a;let _0x3a6fea=0x0;for(let _0x59a6c0=_0x3536cd;_0x59a6c0<=_0x2e7502;_0x59a6c0++)0x0==_0x3609dc[_0x59a6c0]['distance']?_0x3609dc[_0x59a6c0]['level']=_0x3a6fea:(_0x3a6fea++,_0x3609dc[_0x59a6c0]['level']=_0x3a6fea,_0x3a6fea++);for(let _0x110ecc=_0x3536cd;_0x110ecc<_0x127d34;_0x110ecc++)0x0==_0x3609dc[_0x110ecc]['side']&&(_0x3609dc[_0x110ecc]['level']=_0x3a6fea);_0x3a6fea=0x0;for(let _0x3739f8=_0x127d34-0x1;_0x3739f8>=_0x37aa14;_0x3739f8--)0x0==_0x3609dc[_0x3739f8]['distance']?_0x3609dc[_0x3739f8]['level']=_0x3a6fea:(_0x3a6fea--,_0x3609dc[_0x3739f8]['level']=_0x3a6fea,_0x3a6fea--);}}['_fixObsoleteTags'](_0x1f400f){const _0x56e5fc=new Map(),_0x27beef=this['editor']['model']['schema'];for(let _0x18f499=0x1;_0x18f499<_0x1f400f['length'];_0x18f499++){let _0x2b9bec,_0x4cd5ec,_0x51f893;const _0x10b75e=_0x1f400f[_0x18f499],_0x26e42d=_0x1f400f[_0x18f499-0x1];if('text'==_0x10b75e['type'])continue;if(_0x10b75e['type']!=_0x26e42d['type'])continue;if(!_0x27beef['isBlock'](_0x26e42d['item'])||_0x27beef['isLimit'](_0x26e42d['item']))continue;if(!_0x27beef['isBlock'](_0x10b75e['item'])||_0x27beef['isLimit'](_0x10b75e['item']))continue;if((_0x1f400f[_0x18f499]['isAdded']||_0x1f400f[_0x18f499]['isAddSuggestion'])&&_0x1f400f[_0x18f499-0x1]['isRemoved'])_0x2b9bec=_0x1f400f[_0x18f499],_0x4cd5ec=_0x1f400f[_0x18f499-0x1],_0x51f893=_0x18f499-0x1;else{if(!_0x1f400f[_0x18f499]['isRemoved']||!_0x1f400f[_0x18f499-0x1]['isAdded']&&!_0x1f400f[_0x18f499-0x1]['isAddSuggestion'])continue;_0x2b9bec=_0x1f400f[_0x18f499-0x1],_0x4cd5ec=_0x1f400f[_0x18f499],_0x51f893=_0x18f499;}const _0xe01c36=_0x2b9bec['level']==_0x4cd5ec['level'],_0x2fba74=Math['abs'](_0x2b9bec['level'])<Math['abs'](_0x4cd5ec['level'])&&0x0==_0x4cd5ec['distance'];(_0xe01c36||_0x2fba74)&&(_0x56e5fc['set'](_0x4cd5ec['id'],_0x2b9bec['id']),_0x1f400f['splice'](_0x51f893,0x1),_0x18f499--,_0x2b9bec['isAdded']=!0x1);}for(let _0x444233=0x0;_0x444233<_0x1f400f['length'];_0x444233++)_0x56e5fc['has'](_0x1f400f[_0x444233]['pairId'])&&(_0x1f400f[_0x444233]['pairId']=_0x56e5fc['get'](_0x1f400f[_0x444233]['pairId']));}['_removeMissingPairs'](_0x56079f){const _0xf02a98=new Set(_0x56079f['map'](_0x29eaed=>_0x29eaed['id']));for(let _0x3a8278=0x0;_0x3a8278<_0x56079f['length'];_0x3a8278++)_0xf02a98['has'](_0x56079f[_0x3a8278]['pairId'])||0x0==_0x56079f[_0x3a8278]['distance']||(_0x56079f[_0x3a8278]['isIncorrect']=!0x0);return _0x56079f['filter'](_0x356a92=>!_0x356a92['isIncorrect']);}['_markMismatchedRemovedTags'](_0xdcc4e6){const _0x412a8e=new Set();for(let _0x5e6ae9=0x0;_0x5e6ae9<_0xdcc4e6['length'];_0x5e6ae9++){if(_0x412a8e['has'](_0xdcc4e6[_0x5e6ae9]['id'])&&_0xdcc4e6[_0x5e6ae9]['isRemoved']&&(_0xdcc4e6[_0x5e6ae9]['isIncorrect']=!0x0),_0xdcc4e6[_0x5e6ae9]['isIncorrect'])continue;if(0x0==_0xdcc4e6[_0x5e6ae9]['distance'])continue;if('elementStart'!=_0xdcc4e6[_0x5e6ae9]['type'])continue;if(null==_0xdcc4e6[_0x5e6ae9]['pairId'])continue;let _0x198c2b=_0x5e6ae9+0x1,_0x2f3525=0x0;for(;_0xdcc4e6[_0x198c2b]['id']!=_0xdcc4e6[_0x5e6ae9]['pairId'];)'elementStart'==_0xdcc4e6[_0x198c2b]['type']?_0x2f3525++:'elementEnd'==_0xdcc4e6[_0x198c2b]['type']&&_0x2f3525--,_0x198c2b++;if(0x0!=_0x2f3525){if(_0xdcc4e6[_0x5e6ae9]['isRemoved'])_0xdcc4e6[_0x5e6ae9]['isIncorrect']=!0x0;else{for(;_0x198c2b!=_0x5e6ae9;)_0xdcc4e6[_0x198c2b]['isRemoved']&&0x0!=_0xdcc4e6[_0x198c2b]['distance']&&(_0xdcc4e6[_0x198c2b]['isIncorrect']=!0x0,_0x412a8e['add'](_0xdcc4e6[_0x198c2b]['pairId'])),_0x198c2b--;}}}return _0xdcc4e6['filter'](_0x50421d=>!_0x50421d['isIncorrect']);}['_removeUnsupportedChanges'](_0x4ede8c){const _0x3bf646=this['editor']['model']['schema'];for(let _0xb5df72=0x0;_0xb5df72<_0x4ede8c['length'];_0xb5df72++){if(!(_0x4ede8c[_0xb5df72]['isAdded']||_0x4ede8c[_0xb5df72]['isAddSuggestion']||_0x4ede8c[_0xb5df72]['isRemoved']||_0x4ede8c[_0xb5df72]['isRemoveSuggestion']))continue;if(0x0==_0x4ede8c[_0xb5df72]['distance'])continue;const _0x230aba=_0x4ede8c[_0xb5df72]['item'];_0x3bf646['isBlock'](_0x230aba)||_0x3bf646['isLimit'](_0x230aba)||(_0x4ede8c[_0xb5df72]['isAdded']&&delete _0x4ede8c[_0xb5df72]['isAdded'],_0x4ede8c[_0xb5df72]['isAddSuggestion']&&delete _0x4ede8c[_0xb5df72]['isAddSuggestion'],_0x4ede8c[_0xb5df72]['isRemoveSuggestion']&&delete _0x4ede8c[_0xb5df72]['isRemoveSuggestion'],_0x4ede8c[_0xb5df72]['isRemoved']&&(_0x4ede8c[_0xb5df72]['isIncorrect']=!0x0));}return _0x4ede8c['filter'](_0x506ce8=>!_0x506ce8['isIncorrect']);}['_makeModelFromTape'](_0x4d5347,_0x462238,_0x389f7d){const _0xf00f22=new wt(),_0x13d657=[],_0x39975e=new Map(),_0x2c527a=this['editor']['model'],_0x2a2a1f=_0x2c527a['schema'],_0x3dde9f=[_0xf00f22],_0x11614c={},_0x3b8e3f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3b3769=null;const _0x278f01=[0x0];for(let _0x378346=0x0;_0x378346<_0x4d5347['length'];_0x378346++){let _0x1ded27,_0x141b98;if('elementStart'===_0x4d5347[_0x378346]['type']){_0x1ded27=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01);const _0x527ad0=new ft(_0x4d5347[_0x378346]['item']['name'],_0x4d5347[_0x378346]['item']['getAttributes']());_0x3dde9f[0x0]['_appendChild'](_0x527ad0),_0x278f01['push'](0x0),_0x3dde9f['unshift'](_0x527ad0),_0x141b98=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x3b3769=null;}else{if('elementEnd'===_0x4d5347[_0x378346]['type'])_0x3dde9f['shift'](),_0x1ded27=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x278f01['pop'](),_0x278f01[_0x278f01['length']-0x1]++,_0x141b98=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x3b3769=null;else{if(_0x1ded27=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x3b3769&&_0x2c8bbf(_0x3b3769,_0x4d5347[_0x378346]['item']))_0x3b3769['_data']+=_0x4d5347[_0x378346]['item']['data'];else{const _0x13306b=new _t(_0x4d5347[_0x378346]['item']['data'],_0x4d5347[_0x378346]['item']['getAttributes']());_0x3dde9f[0x0]['_appendChild'](_0x13306b),_0x3b3769=_0x13306b;}_0x278f01[_0x278f01['length']-0x1]+=_0x4d5347[_0x378346]['item']['offsetSize'],_0x141b98=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01);}}for(const _0x1f52c7 of _0x4d5347[_0x378346]['markersStart'])_0x39975e['set'](_0x1f52c7,{'start':_0x1ded27,'end':null});_0x46f6a1('isRemoveSuggestion',_0x378346,_0x1ded27,_0x141b98),_0x46f6a1('isAddSuggestion',_0x378346,_0x1ded27,_0x141b98),_0x46f6a1('isRemoved',_0x378346,_0x1ded27,_0x141b98),_0x46f6a1('isAdded',_0x378346,_0x1ded27,_0x141b98);for(const _0x30b90c of _0x4d5347[_0x378346]['markersEnd']){_0x39975e['get'](_0x30b90c)['end']=_0x141b98;}}for(const [_0x2da513,_0x5803b8]of _0x39975e){const _0x2d67c4=this['editor']['model']['createRange'](_0x5803b8['start'],_0x5803b8['end']);_0xf00f22['markers']['set'](_0x2da513,_0x2d67c4);}return _0x13d657['sort']((_0x220c81,_0x4852c4)=>{const _0x5bd181=_0xf00f22['markers']['get']('revision:'+_0x220c81['id']),_0x548658=_0xf00f22['markers']['get']('revision:'+_0x4852c4['id']);return _0x5bd181['start']['isBefore'](_0x548658['start'])?-0x1:_0x5bd181['start']['isAfter'](_0x548658['start'])?0x1:_0x5bd181['end']['isBefore'](_0x548658['end'])?-0x1:_0x5bd181['end']['isAfter'](_0x548658['end'])?0x1:'add'===_0x220c81['type']?-0x1:0x1;}),{'root':_0xf00f22,'changes':_0x13d657};function _0x46f6a1(_0x4cc31d,_0x2aea08,_0x2029f7,_0x2787b3){const _0x13c5d4=!!_0x4d5347[_0x2aea08][_0x4cc31d],_0x1df1ea=_0x13c5d4?_0x4d5347[_0x2aea08][_0x4cc31d]['userId']:null,_0xb275cf=_0x2aea08===_0x4d5347['length']-0x1,_0x21e009=_0x3b8e3f[_0x4cc31d][0x0],_0x102f70=_0x2a2a1f['isObject'](_0x4d5347[_0x2aea08]['item']);!_0x11614c[_0x4cc31d]&&_0x13c5d4?_0x11614c[_0x4cc31d]={'start':_0x2029f7,'tapeItem':_0x4d5347[_0x2aea08],'userId':_0x1df1ea,'type':_0x4cc31d}:_0x11614c[_0x4cc31d]&&!_0x13c5d4?(_0x11614c[_0x4cc31d]['end']=_0x2029f7,_0x50d889(_0x11614c[_0x4cc31d]),_0x11614c[_0x4cc31d]=null):_0x11614c[_0x4cc31d]&&_0x13c5d4&&_0x11614c[_0x4cc31d]['userId']!==_0x1df1ea&&(_0x11614c[_0x4cc31d]['end']=_0x2029f7,_0x21e009&&_0x21e009['userId']===_0x11614c[_0x4cc31d]['userId']||_0x50d889(_0x11614c[_0x4cc31d]),_0x11614c[_0x4cc31d]={'start':_0x2029f7,'tapeItem':_0x4d5347[_0x2aea08],'userId':_0x1df1ea,'type':_0x4cc31d}),_0x11614c[_0x4cc31d]&&_0x102f70&&('elementStart'!==_0x4d5347[_0x2aea08]['type']||_0x21e009&&_0x21e009['userId']===_0x1df1ea||_0x3b8e3f[_0x4cc31d]['unshift']({'userId':_0x1df1ea,'object':_0x4d5347[_0x2aea08]['item'],'change':_0x11614c[_0x4cc31d]}),'elementEnd'===_0x4d5347[_0x2aea08]['type']&&_0x21e009&&_0x21e009['object']===_0x4d5347[_0x2aea08]['item']&&(_0x3b8e3f[_0x4cc31d]['shift'](),_0x11614c[_0x4cc31d]=_0x21e009['change'])),_0x11614c[_0x4cc31d]&&_0xb275cf&&(_0x11614c[_0x4cc31d]['end']=_0x2787b3,_0x50d889(_0x11614c[_0x4cc31d]),_0x11614c[_0x4cc31d]=null);}function _0x50d889({start:_0x267b8a,end:_0x2591ba,tapeItem:_0x48c600,userId:_0x406d00,type:_0x46551f}){const _0x3bcecb=_0x48c600['item'],_0xac97ba=_0x2c527a['schema']['isBlock'](_0x3bcecb)&&!_0x2c527a['schema']['isLimit'](_0x3bcecb),_0x101a37=_0x267b8a['nodeAfter']==_0x2591ba['parent']&&_0x2591ba['isAtStart'];if(_0xac97ba&&_0x101a37)return;const _0x28bc70=_0x2c527a['createRange'](_0x267b8a,_0x2591ba),_0x1e4552=_0x462238['get'](_0x406d00),_0x3c32ff=new r({'author':_0x1e4552,'type':'isAdded'==_0x46551f||'isAddSuggestion'==_0x46551f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x46551f||'isRemoveSuggestion'==_0x46551f},'createdAt':new Date(),'rootName':_0x389f7d});_0x13d657['push'](_0x3c32ff),_0xf00f22['markers']['set']('revision:'+_0x3c32ff['id'],_0x28bc70);}function _0x2c8bbf(_0x38138f,_0x295eae){const _0x519e2e=_0x38138f['getAttributes'](),_0x45e898=_0x295eae['getAttributes']();for(const _0x41f84c of _0x519e2e){if(_0x41f84c[0x1]!==_0x295eae['getAttribute'](_0x41f84c[0x0]))return!0x1;_0x45e898['next']();}return _0x45e898['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x56241e=>{const _0x1507d6=_0x56241e['markerName']['split'](':')[0x1],_0x43009f=this['_getChangeFromId'](_0x1507d6);if(!_0x43009f)return null;const _0x250b6c='add'==_0x43009f['type']?'insertion':'deletion',_0x29c545=['ck-suggestion-marker','ck-suggestion-marker-'+_0x250b6c];return _0x43009f['data']['isSuggestion']&&_0x29c545['push']('ck-suggestion-marker-'+_0x250b6c+'-new'),this['activeChange']==_0x43009f&&_0x29c545['push']('ck-suggestion-marker--active'),{'classes':_0x29c545,'attributes':{'data-change-id':_0x1507d6}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x54eac1=>{_0x54eac1['on']('element:pre',(_0x2bfda2,_0x28d1a5,_0x3389e6)=>{const _0x47b942=_0x28d1a5['viewItem']['getChild'](0x0);if(!_0x47b942||!_0x47b942['is']('element','code'))return;if(!_0x3389e6['consumable']['consume'](_0x47b942,{'attributes':['vid_start','vid_end']}))return;const _0x385774=_0x28d1a5['modelRange']['start']['nodeAfter'];_0x3389e6['writer']['setAttribute']('vid_start',_0x47b942['getAttribute']('vid_start'),_0x385774),_0x3389e6['writer']['setAttribute']('vid_end',_0x47b942['getAttribute']('vid_end'),_0x385774);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x136d81=>{_0x136d81['on']('element',(_0x5cb147,_0x2f1730,_0x4aa999)=>{if(!_0x4aa999['consumable']['consume'](_0x2f1730['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2f1730['modelRange']['isCollapsed'])return;const _0x4c746f=_0x2f1730['modelRange']['start']['nodeAfter'];_0x4c746f['hasAttribute']('vid_start')||_0x4c746f['hasAttribute']('vid')||(_0x4aa999['writer']['setAttribute']('vid_start',_0x2f1730['viewItem']['getAttribute']('vid_start'),_0x4c746f),_0x4aa999['writer']['setAttribute']('vid_end',_0x2f1730['viewItem']['getAttribute']('vid_end'),_0x4c746f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x26d1ec=>_0x26d1ec['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x6d27ad,[,_0x30d4f3])=>{['vid_start','vid_end','vid']['includes'](_0x30d4f3)&&(_0x6d27ad['return']=!0x0,_0x6d27ad['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x9bb457=>{_0x9bb457['on']('attribute:vid',(_0x443af5,_0xc4eda0,_0xcf4fbf)=>{if('\x20'!=_0xc4eda0['item']['data']||_0xc4eda0['item']['parent']['maxOffset']>0x1)return;if(!_0xcf4fbf['consumable']['consume'](_0xc4eda0['item'],_0x443af5['name']))return;const _0x3e858=_0xcf4fbf['writer'],_0x4522b7=_0xcf4fbf['mapper']['toViewRange'](_0xc4eda0['range']);_0x3e858['wrap'](_0x4522b7,_0x3e858['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3c15af){const _0x473a49=_0x3c15af['plugins']['get']('RevisionViewer');return(_0x578177,_0x420819,_0x571709)=>{const _0x278320=_0x420819['markerName']['split'](':')[0x1],_0x50a7fa=_0x473a49['_getChangeFromId'](_0x278320);if(!_0x50a7fa)return null;const _0x1a3ab6='add'==_0x50a7fa['type']?'split':'merge';if(!_0x571709['consumable']['test'](_0x420819['markerRange'],_0x578177['name']))return;const _0x2b379b=_0x420819['markerRange']['getWalker'](),_0x202ffc=_0x420819['markerRange']['start'],_0x4a06e3=_0x3c15af['model']['schema'];let _0x3f8da7=null,_0x3df80c=null,_0x271f65=!0x1,_0x332acf=!0x1;for(const _0x422ee9 of _0x2b379b){const _0x1e2fe4=_0x422ee9['item'];_0x271f65=_0x271f65||_0x4a06e3['isContent'](_0x1e2fe4);const _0x210bb4=_0x571709['mapper']['toViewElement'](_0x1e2fe4);if(_0x210bb4&&_0x210bb4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x422ee9['type']&&(_0x4a06e3['isBlock'](_0x1e2fe4)&&!_0x4a06e3['isLimit'](_0x1e2fe4)&&(_0x1e2fe4['nextSibling']||_0x202ffc['isAtEnd']?_0x3f8da7&&_0x3f8da7['parent']==_0x1e2fe4||(_0x3f8da7=_0x1e2fe4,_0x35a70e(_0x422ee9['previousPosition']),_0x332acf=!0x0):_0x3df80c=_0x3df80c||_0x422ee9['previousPosition']));}function _0x35a70e(_0x585314){const _0x1006f6=_0x571709['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a3ab6}),_0xf13d9=_0x571709['mapper']['toViewPosition'](_0x585314);_0x50a7fa['data']['isSuggestion']&&_0x571709['writer']['addClass']('ck-suggestion-marker-'+_0x1a3ab6+'-new',_0x1006f6),_0x473a49['activeChange']==_0x50a7fa&&_0x571709['writer']['addClass']('ck-suggestion-marker--active',_0x1006f6),_0x571709['writer']['insert'](_0xf13d9,_0x1006f6),_0x571709['mapper']['bindElementToMarker'](_0x1006f6,_0x420819['markerName']);}_0x271f65||_0x332acf||!_0x3df80c||_0x35a70e(_0x3df80c);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3382c7,_0x283c02,_0x4af749)=>{const _0x104277=_0x4af749['mapper']['markerNameToElements'](_0x283c02['markerName']);if(_0x104277){for(const _0x1ea7ee of _0x104277)(_0x1ea7ee['hasClass']('ck-suggestion-marker-split')||_0x1ea7ee['hasClass']('ck-suggestion-marker-merge'))&&(_0x4af749['mapper']['unbindElementFromMarkerName'](_0x1ea7ee,_0x283c02['markerName']),_0x4af749['writer']['remove'](_0x1ea7ee));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4fb7a4,_0x19886e,_0xad7fd6)=>{const _0x504e30=_0x19886e['markerName']['split'](':')[0x1],_0xf82841=this['_getChangeFromId'](_0x504e30);if(!_0xf82841)return null;const _0x146619='add'==_0xf82841['type']?'split':'merge';if(_0xad7fd6['consumable']['test'](_0x19886e['markerRange'],_0x4fb7a4['name']))for(const _0x20cee8 of _0x19886e['markerRange']['getItems']()){if(!_0x20cee8['is']('element','softBreak'))continue;const _0xf0939c=_0xad7fd6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x146619}),_0x81ca96=_0xad7fd6['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x20cee8));_0xf82841['data']['isSuggestion']&&_0xad7fd6['writer']['addClass']('ck-suggestion-marker-'+_0x146619+'-new',_0xf0939c),this['activeChange']==_0xf82841&&_0xad7fd6['writer']['addClass']('ck-suggestion-marker--active',_0xf0939c),_0xad7fd6['writer']['insert'](_0x81ca96,_0xf0939c),_0xad7fd6['mapper']['bindElementToMarker'](_0xf0939c,_0x19886e['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x15a918=>{for(const _0x232686 of this['editor']['model']['document']['getRootNames']()){const _0x21ff49=this['editor']['model']['document']['getRoot'](_0x232686),_0xef3c6a=this['editor']['editing']['view']['document']['getRoot'](_0x232686);if(_0xef3c6a){const _0x3ccf45=_0x21ff49['getAttribute']('revisionHistoryAttachChange');if(_0x15a918['removeAttribute']('data-change-id',_0xef3c6a),_0x15a918['removeClass']('ck-revision-history-root-add',_0xef3c6a),_0x15a918['removeClass']('ck-revision-history-root-remove',_0xef3c6a),_0x15a918['removeClass']('ck-revision-history-root--active',_0xef3c6a),_0x3ccf45){const _0x5476d2=this['_getChangeFromId'](_0x3ccf45);if(!_0x5476d2)return null;_0x15a918['setAttribute']('data-change-id',_0x3ccf45,_0xef3c6a),_0x15a918['addClass']('ck-revision-history-root-'+_0x5476d2['type'],_0xef3c6a),this['activeChange']==_0x5476d2&&_0x15a918['addClass']('ck-revision-history-root--active',_0xef3c6a);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x483a2a=>'revision-comment:'+_0x483a2a,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x34be54=>'revision-suggestion:'+_0x34be54,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3a7899=>({'name':'suggestion:'+_0x3a7899,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x54fc3b=>{const _0x15e7a6=_0x54fc3b['markerName']['split'](':')[0x1];return'insertion'!=_0x15e7a6&&'deletion'!=_0x15e7a6?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x15e7a6]};}}),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',(_0x4417b0,_0x19bb30,_0x29410f)=>{const _0x48ca79=_0x29410f['mapper']['markerNameToElements'](_0x19bb30['markerName']);if(_0x48ca79){for(const _0x171c72 of _0x48ca79)_0x171c72['is']('uiElement')&&(_0x29410f['mapper']['unbindElementFromMarkerName'](_0x171c72,_0x19bb30['markerName']),_0x29410f['writer']['remove'](_0x171c72));}},{'priority':'high'});}['_getChangeFromId'](_0x39cc1a){return this['_changeIdToChange']['get'](_0x39cc1a);}['_getViewForChange'](_0x9955b4){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x9955b4),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xed62c9,_0x3c6f7e,_0x3d3304,_0x5b6f92)=>{_0x5b6f92&&this['_balloon']['remove'](_0x5b6f92),_0x3d3304&&(this['_balloon']['add']({'view':_0x3d3304,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x523a51=this['editor']['editing'],_0x2fa142=this['_getChangeFromId'](_0x3d3304['changeId']);let _0x188537;if(_0x2fa142['data']['isOnRoot']){const _0x1663e7=_0x523a51['view']['getDomRoot'](_0x2fa142['rootName']);_0x188537=Array['from'](_0x1663e7['getClientRects']());}else{const _0x145228=this['editor']['model']['markers']['get']('revision:'+_0x3d3304['changeId']);_0x188537=Array['from'](_0x523a51['mapper']['markerNameToElements'](_0x145228['name']))['map'](_0x5d0f9f=>_0x523a51['view']['domConverter']['mapViewToDom'](_0x5d0f9f))['map'](_0x7aae3e=>Array['from'](_0x7aae3e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x188537[0x0];return _0x188537['find'](_0x4e4575=>_0x4e4575['top']-0x3<=this['_activeViewTarget']['y']&&_0x4e4575['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4e4575['left']-0x3<=this['_activeViewTarget']['x']&&_0x4e4575['right']+0x3>=this['_activeViewTarget']['x'])||_0x188537[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5e6e6a,_0x37e955,_0x58640e,_0x2a7797)=>{this['activeView']=_0x58640e?this['_getViewForChange'](_0x58640e):null,this['editor']['model']['change'](()=>{const _0x43923c=this['editor']['editing'];_0x2a7797&&(_0x2a7797['data']['isOnRoot']?_0x43923c['view']['change'](_0x225c9f=>{_0x225c9f['removeClass']('ck-revision-history-root--active',_0x43923c['view']['document']['getRoot'](_0x2a7797['rootName']));}):_0x43923c['reconvertMarker']('revision:'+_0x2a7797['id'])),_0x58640e&&(_0x58640e['data']['isOnRoot']?_0x43923c['view']['change'](_0x10fb3d=>{_0x10fb3d['addClass']('ck-revision-history-root--active',_0x43923c['view']['document']['getRoot'](_0x58640e['rootName']));}):_0x43923c['reconvertMarker']('revision:'+_0x58640e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2d5bb2,_0x3488c1)=>{if(this['activeChange'])return;const _0x71ea7d=this['_findChangeIdFromDomTarget'](_0x3488c1['target']),_0x3f79a9=this['_changeIdToChange']['get'](_0x71ea7d);_0x3f79a9?(this['_activeViewTarget']={'x':_0x3488c1['domEvent']['x'],'y':_0x3488c1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3f79a9)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xbc250e,_0x112491)=>{const _0x4d801f=this['_findChangeIdFromDomTarget'](_0x112491['target']),_0x2f25b8=this['_changeIdToChange']['get'](_0x4d801f);_0x2f25b8?(this['_activeViewTarget']={'x':_0x112491['domEvent']['x'],'y':_0x112491['domEvent']['y']},_0x2f25b8===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2f25b8):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x418e4d){do{const _0x22b975=_0x418e4d['getAttribute']('data-change-id');if(_0x22b975)return _0x22b975;_0x418e4d=_0x418e4d['parent'];}while(_0x418e4d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x6813c7=>{for(const _0x5d6066 of this['editor']['model']['markers'])_0x6813c7['removeMarker'](_0x5d6066);});}}function et(_0x16926d,_0x14d662){return(_0x2a9789,_0x3dbaaa,_0x5c0ac8)=>{if(!_0x5c0ac8['consumable']['test'](_0x3dbaaa['markerRange'],_0x2a9789['name']))return;const _0x307b81=_0x3dbaaa['markerRange']['getWalker'](),_0x1ee754=_0x3dbaaa['markerRange']['start'],_0x96311c=_0x16926d['model']['schema'];let _0x5339d7=null,_0x2c5fc8=null,_0x5ebc5a=!0x1,_0x2dcf2c=!0x1;for(const _0x34c14b of _0x307b81){const _0x229fd3=_0x34c14b['item'];_0x5ebc5a=_0x5ebc5a||_0x96311c['isContent'](_0x229fd3);const _0x51c41e=_0x5c0ac8['mapper']['toViewElement'](_0x229fd3);if(_0x51c41e&&_0x51c41e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34c14b['type']&&(_0x96311c['isBlock'](_0x229fd3)&&!_0x96311c['isLimit'](_0x229fd3)&&(_0x229fd3['nextSibling']||_0x1ee754['isAtEnd']?_0x5339d7&&_0x5339d7['parent']==_0x229fd3||(_0x5339d7=_0x229fd3,_0x15486a(_0x34c14b['previousPosition']),_0x2dcf2c=!0x0):_0x2c5fc8=_0x2c5fc8||_0x34c14b['previousPosition']));}function _0x15486a(_0x2421b9){const _0x5f4772=_0x5c0ac8['mapper']['toViewPosition'](_0x2421b9),_0x264ba9=_0x5c0ac8['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x14d662});_0x5c0ac8['writer']['insert'](_0x5f4772,_0x264ba9),_0x5c0ac8['mapper']['bindElementToMarker'](_0x264ba9,_0x3dbaaa['markerName']);}_0x5ebc5a||_0x2dcf2c||!_0x2c5fc8||_0x15486a(_0x2c5fc8);};}class bt extends _0x3f642e{constructor(_0x1def3b){super(_0x1def3b);const _0x9421d4=_0x1def3b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x9421d4,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x9421d4,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xcbca9e=this['editor'],_0x3c4e46=_0xcbca9e['plugins']['get'](d),_0x4b796a=_0x3c4e46['isReady']?_0x3c4e46['diff']['newRevisionId']:null;_0xcbca9e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4b796a);}['refresh'](){const {isReady:_0x26a8d0,isEnabled:_0x4a595b}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x26a8d0&&_0x4a595b;}}class yt extends _0x3f642e{['_step'];constructor(_0xbb1c23,{direction:_0x12b8cd}){super(_0xbb1c23);const _0x5bce8c=_0xbb1c23['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x12b8cd?0x1:-0x1,this['listenTo'](_0x5bce8c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5bce8c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5bce8c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2be5c5=this['editor'],_0x301416=_0x2be5c5['plugins']['get'](d),{isNavigationMode:_0x423f51,currentChangeNumber:_0x1263d8}=_0x301416;let _0x164ffd;if(_0x301416['activeChange']=_0x423f51?_0x301416['diff']['changes']['get'](_0x1263d8+this['_step']):_0x301416['diff']['changes']['first'],_0x301416['activeChange']['data']['isOnRoot'])_0x164ffd=_0x2be5c5['editing']['view']['getDomRoot'](_0x301416['activeChange']['rootName']);else{const _0x23eb79=_0x2be5c5['model']['markers']['get']('revision:'+_0x301416['activeChange']['id']);_0x164ffd=_0x544688(_0x2be5c5['editing'],_0x23eb79);}_0xc1d5e({'target':_0x164ffd,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x250683,currentChangeNumber:_0x168717,numberOfChanges:_0x25d7c4,isReady:_0x149447,isEnabled:_0x13819c}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x13819c&&_0x149447&&_0x25d7c4)&&(!_0x250683||(0x1===this['_step']?_0x168717<_0x25d7c4-0x1:_0x168717>0x0));}}class _i extends _0x72c54{constructor(_0x1c0b43){super(_0x1c0b43);const _0x2d065c=this['bindTemplate'],_0x2cea63=new _0x5a4920(_0x1c0b43),_0x56576e=new _0x5a4920(_0x1c0b43);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',(_0x4d8fb8,_0x5ca527)=>_0x4d8fb8&&_0x5ca527>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x321ccf,_0x2416e2,_0x17dc20,_0x27768b)=>{if(!_0x321ccf)return y(_0x1c0b43,'Loading...');if(!_0x17dc20)return y(_0x1c0b43,'No\x20changes');const _0x42286c=y(_0x1c0b43,'NUMBER_OF_CHANGES',_0x17dc20);return _0x27768b?y(_0x1c0b43,'X_OF_Y_CHANGES',[_0x2416e2+0x1,_0x17dc20]):_0x42286c;}),_0x2cea63['set']({'label':y(_0x1c0b43,'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'}),_0x56576e['set']({'label':y(_0x1c0b43,'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'}),_0x2cea63['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x56576e['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2cea63['on']('execute',()=>this['fire']('execute','backward')),_0x56576e['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',_0x2d065c['if']('_isStatusLabelVisible','ck-hidden',_0x3c6f41=>!_0x3c6f41)]},'children':[{'text':_0x2d065c['to']('isNavigationMode',_0x964d12=>_0x964d12?y(_0x1c0b43,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1c0b43,'Total')+':\x20')}]},{'text':_0x2d065c['to']('_statusText')}]},new _0xc83c5a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2cea63,_0x56576e]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x490488{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5b27ec=this['editor']['editing']['view'];_0x5b27ec['change'](_0x29596a=>{for(const _0x5491b5 of _0x5b27ec['document']['roots'])_0x29596a['addClass'](ce,_0x5491b5);});}['hide'](){const _0x546ae6=this['editor']['editing']['view'];_0x546ae6['change'](_0x3c0161=>{for(const _0x421b28 of _0x546ae6['document']['roots'])_0x3c0161['removeClass'](ce,_0x421b28);});}}class R extends _0x490488{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x48dfc5=this['editor'],_0x4cc230=_0x48dfc5['plugins']['get'](d),_0x1da686=_0x48dfc5['plugins']['get'](de);_0x48dfc5['ui']['componentFactory']['add']('exitToEditing',_0x5b2897=>{const _0x43a3aa=new _0x5a4920(_0x5b2897);return _0x43a3aa['set']({'label':y(_0x5b2897,'Back\x20to\x20editing'),'icon':_0x4e50e6['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x43a3aa,'execute',()=>{_0x48dfc5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x43a3aa;}),_0x48dfc5['ui']['componentFactory']['add']('restoreRevision',_0x43cf4e=>{const _0x48f274=new _0x5a4920(_0x43cf4e);return _0x48f274['set']({'label':y(_0x43cf4e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x48f274['bind']('isEnabled')['to'](_0x48dfc5['commands']['get']('restoreRevision')),this['listenTo'](_0x48f274,'execute',()=>_0x48dfc5['execute']('restoreRevision')),_0x48f274;}),_0x48dfc5['ui']['componentFactory']['add']('changesNavigation',_0x1c435f=>{const _0x4db74e=new _i(_0x1c435f),_0x5d219e=_0x48dfc5['commands']['get']('showPreviousChange'),_0x16d818=_0x48dfc5['commands']['get']('showNextChange');return _0x4db74e['bind']('isBackwardNavigationEnabled')['to'](_0x5d219e,'isEnabled'),_0x4db74e['bind']('isForwardNavigationEnabled')['to'](_0x16d818,'isEnabled'),_0x4db74e['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4cc230),this['listenTo'](_0x4db74e,'execute',(_0x3b420e,_0x1ad314)=>{_0x48dfc5['execute']('forward'===_0x1ad314?'showNextChange':'showPreviousChange');}),_0x4db74e;}),_0x1da686['show'](),_0x4cc230['on']('change:isReady',(_0x33a720,_0x944d1c,_0x585d2c)=>{_0x585d2c?_0x1da686['hide']():_0x1da686['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2b7e89,_0x4829a2){super(_0x2b7e89,_0x4829a2);const _0x4ab7c9=this['bindTemplate'];this['set']({'label':y(_0x2b7e89,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2b7e89,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4ab7c9['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 _0x23e17c=this['fieldView']['element'];this['_tooltipString']=_0x23e17c['scrollWidth']>_0x23e17c['clientWidth']&&_0x23e17c['value']||'';}}class ti extends _0x72c54{constructor(_0x3f8c22,_0x38664a,_0xa8bfbb){super(_0x3f8c22);const _0x1bcd69=new _0x240ebd();_0x1bcd69['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 _0x4fef76=['ck','ck-revision-history-sidebar__revision-author'];_0xa8bfbb&&_0x4fef76['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4457d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3f8c22,_0xa8bfbb?'Revision\x20creator':'Revision\x20author')},'children':[_0x1bcd69,_0x38664a['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4fef76},'children':_0x4457d});}}function ni(_0x24a913,_0x48c785){const _0xe663ef=_0x24a913['bindTemplate'],_0x3868ed=_0x24a913['locale'],_0x4aa44e=_0x11eae5(_0x3868ed);_0x4aa44e['panelPosition']='sw';const _0x310e2f=function(_0x1bf9ff,_0x35cd09){const _0x10c9b6=function(_0x4d75fe,_0x2af65a){const _0xf1c425=_0x4d75fe['locale'],_0x3aca08={'Compare\x20against\x20selected':y(_0xf1c425,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xf1c425,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xf1c425,'Restore\x20this\x20revision')};return _0x2af65a['map'](_0x2a71ab=>{const _0x403196=_0x3aca08[_0x2a71ab['name']];return _0x403196&&_0x403196!==_0x2a71ab['name']&&(_0x2a71ab['name']=_0x403196),_0x2a71ab;});}(_0x1bf9ff,_0x35cd09),_0x58b5c1=new _0x52ae39();for(const _0xe5fd77 of _0x10c9b6){const _0xe70bfb={'type':'button','model':new to({'label':_0xe5fd77['name'],'class':_0xe5fd77['class'],'withText':!0x0,'role':'menuitem','_action':_0xe5fd77['action']})};_0xe70bfb['model']['bind']('isEnabled')['to'](_0x1bf9ff,'isActionsDropdownOpen',_0x39e6f4=>'function'!=typeof _0xe5fd77['isEnabled']||(!_0x39e6f4||_0xe5fd77['isEnabled'](_0x1bf9ff))),_0x58b5c1['add'](_0xe70bfb);}return _0x58b5c1;}(_0x24a913,_0x48c785);return _0x24a913['bind']('isActionsDropdownOpen')['to'](_0x4aa44e,'isOpen'),_0x4aa44e['buttonView']['set']({'label':y(_0x3868ed,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4e50e6['threeVerticalDots']}),_0x4aa44e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xe663ef['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xe663ef['to'](_0x5c43a5=>_0x5c43a5['stopPropagation']())}}),_0x4aa44e['on']('execute',_0x47d9e1=>{_0x24a913['isReady']&&'function'==typeof _0x47d9e1['source']['_action']&&_0x47d9e1['source']['_action'](_0x24a913);}),_0x3f4f83(_0x4aa44e,_0x310e2f,{'role':'menu'}),_0x4aa44e['listenTo'](_0x24a913,'change:isActionsDropdownOpen',(_0x4972ad,_0x23a1fd,_0x26e152)=>{if(_0x26e152)for(const _0x23cbaf of _0x4aa44e['listView']['items']){const _0x2e9d5d=_0x23cbaf['children']['first'],_0x10c055=_0x48c785['find'](_0x520112=>_0x520112['action']===_0x2e9d5d['_action'])['isVisible'];_0x23cbaf['isVisible']=void 0x0===_0x10c055||_0x10c055(_0x24a913);}}),_0x4aa44e;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x2e9866(_0x72c54){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3bda61,_0x572afa,_0x179079,_0x3ce5eb){super(_0x3bda61);const _0x4834c6=this['bindTemplate'],_0x4c143a=function(_0x3bcaff,_0x298481){const _0x5cca53=Array['from'](_0x298481['authors'])['filter'](_0x459488=>_0x459488!=_0x298481['creator']);return _0x298481['creator']&&_0x5cca53['unshift'](_0x298481['creator']),_0x5cca53['map'](_0x385c2b=>new ti(_0x3bcaff,_0x385c2b,_0x385c2b==_0x298481['creator']));}(_0x3bda61,_0x572afa);this['id']=_0x572afa['id'],this['_revision']=_0x572afa,this['_requireRevisionName']=_0x3ce5eb,this['bind']('name','createdAt')['to'](_0x572afa),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x210ce6=>{return _0x53dcf8=_0x3bda61['uiLanguage'],(_0x312ce7=_0x210ce6)['toLocaleDateString'](_0x53dcf8,{'month':'long','day':'numeric'})+',\x20'+_0x312ce7['toLocaleTimeString'](_0x53dcf8,{'hour':'numeric','minute':'numeric'});var _0x53dcf8,_0x312ce7;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3bda61,_0x523fa1),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x31da5b=>_0x31da5b||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x18364e,_0x668b45)=>_0x18364e&&_0x668b45),this['revisionActionsView']=_0x179079&&_0x179079['length']?ni(this,_0x179079):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4834c6['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4834c6['if']('isEnabled','ck-disabled',_0x44b7b0=>!_0x44b7b0),_0x4834c6['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4834c6['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4834c6['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':_0x4834c6['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':_0x4c143a}]},this['revisionActionsView']],'on':{'click':_0x4834c6['to'](_0x3d78a2=>{_0x3d78a2['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3de3f0=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3de3f0,'change',()=>{this['_requireRevisionName']&&!_0x3de3f0['value']||this['fire']('setName',{'id':this['id'],'name':_0x3de3f0['value']}),_0x3de3f0['value']||(_0x3de3f0['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(_0x3efe79,_0x56b09b){const _0x2251b8=_0xca3a3b['fromJSDate'](_0x3efe79)['setLocale'](_0x56b09b),_0x4581ee=_0xca3a3b['local'](),_0x26add7=_0x4581ee['minus']({'days':0x1})['startOf']('day');let _0x173695,_0x4aee59;return _0x2251b8['hasSame'](_0x4581ee,'day')?(_0x173695=_0x2251b8['startOf']('day')['toJSDate'](),_0x4aee59=_0x2251b8['toRelativeCalendar']()):_0x2251b8['hasSame'](_0x26add7,'day')?(_0x173695=_0x26add7['toJSDate'](),_0x4aee59=_0x2251b8['toRelativeCalendar']()):_0x2251b8['hasSame'](_0x4581ee,'week')?(_0x173695=_0x2251b8['startOf']('week')['toJSDate'](),_0x4aee59=_0x2251b8['weekdayLong']||''):_0x2251b8['hasSame'](_0x4581ee,'year')?(_0x173695=_0x2251b8['startOf']('month')['toJSDate'](),_0x4aee59=_0x2251b8['monthLong']||''):(_0x173695=_0x2251b8['startOf']('year')['toJSDate'](),_0x4aee59=String(_0x2251b8['year'])),{'startDate':_0x173695,'localizedPeriodName':_0x4aee59};}class mi extends _0x72c54{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3e498e,_0x589088,_0x3f0cb8,_0x4c8c5f){super(_0x3e498e);const _0x35fba1=di(_0x589088,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x589088,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3f0cb8,this['_requireRevisionName']=_0x4c8c5f,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':_0x35fba1}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x45546e){const _0x3fc454=new ai(this['locale'],_0x45546e,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x3fc454);}['removeRevision'](_0x442d00){const _0x20d712=this['revisionViews']['find'](_0x2374da=>_0x2374da['id']===_0x442d00['id']);this['revisionViews']['remove'](_0x20d712);}}class as extends _0x72c54{constructor(_0x3a818e){super(_0x3a818e);const _0x5f2cdb=new _0x240ebd();_0x5f2cdb['content']=_0x4e50e6['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5f2cdb,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3a818e,'Revision\x20history')]}]});}}class ci extends _0x72c54{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4d198c,_0x140258,_0x2ab863,_0x445279){super(_0x4d198c);const _0x576eae=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x140258,this['_revisionActions']=_0x2ab863,this['_requireRevisionName']=_0x445279,this['on']('select',(_0x1a001c,_0x44927d)=>{this['fire']('revisionSelected',_0x44927d);}),this['on']('setName',(_0x3c773b,_0x472df7)=>{this['fire']('revisionSetName',_0x472df7);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4d198c),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x576eae['if']('isEnabled','ck-disabled',_0x5c84ec=>!_0x5c84ec)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x19af5b of this['_revisions'])this['_addRevision'](_0x19af5b);this['_revisions']['on']('add',(_0x4aa81a,_0x513af8)=>{this['_addRevision'](_0x513af8);}),this['_revisions']['on']('remove',(_0x4c128f,_0xaa051c)=>{this['_removeRevision'](_0xaa051c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5eb608=>_0x5eb608['revisionViews']['map'](_0x4a4952=>_0x4a4952))['flat']();}['selectRevision'](_0x3f00a6){for(const _0x3d8992 of this['revisionViews'])_0x3f00a6&&_0x3f00a6['id']===_0x3d8992['id']?_0x3d8992['select']():_0x3d8992['deselect']();}['highlightRevisions'](_0x5974bf){for(const _0x33e1a1 of this['revisionViews'])_0x5974bf['some'](({id:_0x1ac194})=>_0x1ac194===_0x33e1a1['id'])?_0x33e1a1['highlight']():_0x33e1a1['unhighlight']();}['_addRevision'](_0x5df1eb){const _0x331d4f=di(_0x5df1eb['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xc1727b=this['timePeriodViews']['get'](0x0);_0xc1727b&&_0xc1727b['startDate']['getTime']()===_0x331d4f['getTime']()||(_0xc1727b=new mi(this['locale'],_0x331d4f,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xc1727b)),_0xc1727b['addRevision'](_0x5df1eb);}['_removeRevision'](_0x3e2311){const _0x4cd032=di(_0x3e2311['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4cd032)['removeRevision'](_0x3e2311);}['_getTimePeriodViewByStartDate'](_0x224b1e){return this['timePeriodViews']['find'](_0x387861=>_0x387861['startDate']['getTime']()===_0x224b1e['getTime']());}}class w extends _0x490488{['_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(_0x1da5f0){super(_0x1da5f0),this['_revisionViewer']=_0x1da5f0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x337c1a=this['_revisionsRepository']['_revisions'],_0x4181c8=this['_createRevisionActions'](),_0x5f0d84=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x337c1a,_0x4181c8,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',(_0x10fb33,_0x4edd40)=>{_0x4edd40['revisionViews']['on']('add',(_0x3c55a0,_0x3ef8cc)=>{_0x3ef8cc['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)),_0x5f0d84['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x518dca=this['_revisionsRepository']['getRevision'](0x0);if(_0x518dca){const _0x623a2c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x518dca['id']);this['_revisionViewer']['compare'](_0x518dca,_0x623a2c);}}['_handleRevisionSelected'](_0x9b6654,_0x2d9faf){const _0x53c355=this['_revisionsRepository']['getRevision'](_0x2d9faf['id']),_0x1a13de=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x53c355['id']);this['_revisionViewer']['compare'](_0x53c355,_0x1a13de);}['_handleRevisionSetName'](_0x3744d3,_0x3688e3){this['_revisionsRepository']['getRevision'](_0x3688e3['id'])['setName'](_0x3688e3['name']);}['_handleDiffChange'](_0x46bcde,_0x276d2d,_0xdd4d61){const _0x42ef2a=this['_revisionsRepository']['getRevisionsInDiff'](_0xdd4d61);_0x42ef2a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x42ef2a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x42ef2a[0x0]));}['_createRevisionActions'](){const _0x44c611=this['editor'],_0x5d30c9=w['availableRevisionActions'],_0x2e3560=_0x44c611['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2e3560['length'])return _0x2e3560['map'](_0x1ef557=>{const _0x559d30='string'==typeof _0x1ef557?Object['assign']({},_0x5d30c9[_0x1ef557]):_0x1ef557;return _0x559d30['action']=_0x559d30['action']['bind'](this,_0x44c611),_0x559d30['isVisible']&&(_0x559d30['isVisible']=_0x559d30['isVisible']['bind'](this,_0x44c611)),_0x559d30;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3d813a},_0x31fcc8)=>{const _0x305bef=_0x3d813a['get'](d),_0x1c92d1=_0x305bef['repository'];let _0x513a94=_0x305bef['diff']['newRevisionId'],_0x381075=_0x31fcc8['id'];_0x1c92d1['getIndex'](_0x513a94)>_0x1c92d1['getIndex'](_0x381075)&&([_0x513a94,_0x381075]=[_0x381075,_0x513a94]),_0x305bef['compare'](_0x513a94,_0x381075);},'isVisible':({plugins:_0xfe97d0},_0x479939)=>{const _0x575764=_0xfe97d0['get'](d);return!(_0x575764['repository']['getRevisionsInDiff'](_0x575764['diff'])['length']>0x2)&&!_0x479939['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x472d1f,{id:_0x13b973})=>{_0x472d1f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x13b973);},'isVisible':({plugins:_0x2760c0},_0x141c38)=>!!_0x2760c0['get'](d)['repository']['getLaterVisibleRevision'](_0x141c38['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x8e63df},{id:_0x26cdda,revisionNameView:_0x49667a})=>{const _0x57532d=_0x8e63df['get'](d),_0xba761f=_0x57532d['repository']['getEarlierVisibleRevision'](_0x26cdda);_0x57532d['compare'](_0x26cdda,_0xba761f),_0x49667a['focus'](),_0x49667a['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xe1f38d,_0xbceb9d){super(_0xe1f38d),this['_view']=_0xbceb9d,this['_toolbarConfig']=ct(_0xe1f38d['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x384bcf){const _0x2aad12=this['editor'],_0x4217bb=this['view'],_0x5d4a1c=_0x2aad12['editing']['view'],_0x1f7319=_0x4217bb['editable'],_0x3e143c=_0x5d4a1c['document']['getRoot']();_0x1f7319['name']=_0x3e143c['rootName'],_0x4217bb['render']();const _0x1c0519=_0x1f7319['element'];this['setEditableElement'](_0x1f7319['name'],_0x1c0519),_0x4217bb['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5d4a1c['attachDomRoot'](_0x1c0519),this['_elementReplacer']['replace'](_0x384bcf,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x838cd1=this['view'],_0x18e2e1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x18e2e1['detachDomRoot'](_0x838cd1['editable']['name']),_0x838cd1['destroy']();}['_initToolbar'](){const _0xfaf252=this['view'];_0xfaf252['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xfaf252['stickyPanel']['limiterElement']=_0xfaf252['element'],_0xfaf252['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x15038e})=>_0x15038e),_0xfaf252['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xfaf252['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0xeed3fe,_0x4c0d7b,_0x275cd9={}){super(_0xeed3fe),this['stickyPanel']=new lt(_0xeed3fe),this['toolbar']=new pt(_0xeed3fe,{'shouldGroupWhenFull':_0x275cd9['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0xeed3fe,_0x4c0d7b);}['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(_0x26a347,_0x570ac0){super(_0x570ac0),this['sourceElement']=_0x26a347,this['model']['document']['createRoot']();const _0x30cae0=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x30cae0);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1ab1b3,_0x233494){const _0x5057d4=new this(_0x1ab1b3,_0x233494);return await _0x5057d4['initPlugins'](),await _0x5057d4['ui']['init'](_0x1ab1b3),await _0x5057d4['data']['init'](_0x5057d4['config']['get']('initialData')||''),_0x5057d4['fire']('ready'),_0x5057d4;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x490488{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5d3f0e){super(_0x5d3f0e),this['result']='end';}}class H extends _0x490488{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x471877){if(super(_0x471877),!this['editor']['config']['get']('revisionHistory'))throw new _0x1dfbf0('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x323c43=>this['_showRevisionViewer']({..._0x323c43,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x514f0d=>this['_closeRevisionViewer'](_0x514f0d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x64cd08=>this['_restoreRevision'](_0x64cd08)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3fb636){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3fb636;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3eee12){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3eee12);}['getRevision'](_0x9ec77a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x9ec77a);}['getRevisions'](_0x77e0ad){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x77e0ad||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1d5190=this['editor'],_0x426628=_0x395fd4(_0x1d5190,p),_0x5bfd14=_0x1d5190['plugins']['get']('RevisionTracker'),_0x4336ef=_0x1d5190['plugins']['get']('Users')['users'];return _0x426628['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x426628['lazyRoots'],(_0x426628['plugins']['push'](k,d,R,class extends _0x490488{static get['requires'](){return[d,'Users'];}['init'](){const _0xf2ec29=this['editor']['plugins']['get']('Users');for(const _0x4b4c85 of _0x4336ef)_0x4b4c85['isAnonymous']||_0xf2ec29['getUser'](_0x4b4c85['id'])||_0xf2ec29['addUser'](_0x4b4c85);const _0x543d5e=_0x5bfd14['repository']['getRevisions']();let _0x437652=null;const _0x363725=this['editor']['plugins']['get']('RevisionViewer');_0x363725['adapter']=_0x5bfd14['adapter'],_0x363725['bind']('isEnabled')['to'](_0x5bfd14),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1d5190,'isReadOnly',_0x10bc79=>!_0x10bc79);for(const _0x5b8b47 of _0x543d5e){const _0x22285c=null===_0x5b8b47['creator'];if(_0x22285c&&_0x5b8b47['toVersion']===_0x5b8b47['fromVersion'])continue;const _0x2d9d27=_0x5b8b47['toJSON']();_0x363725['addRevisionData'](_0x2d9d27,(_0x4cff54,_0x3d2c64,_0x2ff494)=>{if(_0x22285c){if(_0x437652)_0x437652['_update'](_0x4cff54,_0x3d2c64);else{if(!_0x3d2c64){const _0x4988e0=_0x2ff494['toJSON']();_0x4988e0['id']=_0x2f067e(),_0x5bfd14['saveRevision'](_0x4988e0,_0x2ff494['toVersion'])['then'](_0x1f2067=>{_0x437652=_0x1f2067;});}}}else _0x5b8b47['_update'](_0x4cff54,_0x3d2c64);});}}},w),_0x426628);}['_enhanceShowRevisionViewerCallback'](){const _0x4dc310=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x573ecf=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x309287=this['editor']['plugins']['get']('Autosave');await _0x309287['save']();}else await _0x573ecf['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x43911d=this['editor']['plugins']['get']('Dialog');_0x43911d['isOpen']&&_0x43911d['hide']();}const _0x116d56=this['_getRevisionViewerEditorConfig']();return _0x4dc310(_0x116d56)['then'](_0x2ac2d1=>{return(this['_viewerEditor']=_0x2ac2d1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2ac2d1;})['catch'](_0x18d527=>(console['error'](_0x18d527),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x827e5a=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'](),_0x827e5a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1c5e48=this['editor']['plugins']['get']('Annotations');_0x1c5e48['refreshVisibility'](),_0x1c5e48['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2abfe2){const _0x3c1542=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x515bd2=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xa0c3c0=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xa0c3c0,_0x2abfe2)['then'](_0x3fd439=>(_0x515bd2['style']['display']='block',_0x3c1542['style']['display']='none',_0x3fd439));}['_closeRevisionViewer'](_0x157111){const _0x286a77=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x286a77['style']['display']='',_0x157111['destroy']();}async['_restoreRevision'](_0x36f8a7){const _0x174888=this['editor'],_0xa12672=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x445f9a=_0x174888['plugins']['get']('RevisionTracker'),_0x52ea68=_0xa12672['repository']['getRevision'](_0x36f8a7);let _0x386468,_0x1f5893,_0x36396d;try{_0x386468=await _0xa12672['getRevisionData'](_0x52ea68),_0x1f5893=await _0xa12672['getRevisionRootsAttributes'](_0x52ea68);}catch(_0x4f3009){return void console['error'](_0x4f3009);}_0x174888['model']['change'](_0x271be7=>{for(const _0x108150 of Array['from'](_0x174888['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x271be7['removeMarker'](_0x108150);}),_0xa12672['isReady']=!0x1,_0x174888['model']['enqueueChange'](_0x54aecb=>{_0x54aecb['setSelection'](null),_0x54aecb['removeSelectionAttribute'](_0x174888['model']['document']['selection']['getAttributeKeys']());const _0x324c8f=Object['keys'](_0x386468);for(const _0x1c82f1 of _0x174888['model']['document']['roots'])'$graveyard'!=_0x1c82f1['rootName']&&_0x1c82f1['isAttached']()&&!_0x324c8f['includes'](_0x1c82f1['rootName'])&&_0x54aecb['detachRoot'](_0x1c82f1);for(const _0x32c9db of _0x324c8f){let _0x168f36=_0x174888['model']['document']['getRoot'](_0x32c9db);_0x168f36&&_0x168f36['isAttached']()||(_0x168f36=_0x54aecb['addRoot'](_0x32c9db));const _0x5bd63e=_0x1f5893[_0x32c9db],_0x8b1368=Object['keys'](_0x5bd63e),_0x439290=_0x386468[_0x32c9db];for(const _0x139f1f of _0x168f36['getAttributeKeys']())_0x8b1368['includes'](_0x139f1f)||_0x54aecb['removeAttribute'](_0x139f1f,_0x168f36);for(const _0x59b30d of _0x8b1368)_0x54aecb['setAttribute'](_0x59b30d,_0x1f5893[_0x32c9db][_0x59b30d],_0x168f36);_0x54aecb['remove'](_0x54aecb['createRangeIn'](_0x168f36)),_0x54aecb['insert'](_0x174888['data']['parse'](_0x439290,_0x168f36),_0x168f36,0x0);}});const _0x597552=y(_0x174888['locale'],'Restored');if(_0x52ea68['name'])_0x36396d=-0x1==_0x52ea68['name']['indexOf'](_0x597552)?_0x597552+':\x20'+_0x52ea68['name']:_0x52ea68['name'];else _0x36396d=_0x597552+':\x20'+(_0x52ea68['createdAt']['toLocaleDateString'](_0x174888['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x52ea68['createdAt']['toLocaleTimeString'](_0x174888['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x445f9a['saveRevision']({'name':_0x36396d}),_0xa12672['isReady']=!0x0,_0x174888['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|