@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240715.0 → 0.0.0-nightly-20240717.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
24
|
-
_0x92358b(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x36d082){super(),this['id']=_0x36d082['id']||_0x3f8fcb(),this['creator']=_0x36d082['creator']||null,this['authors']=_0x36d082['authors']||[],this['diffData']=_0x36d082['diffData']||null,this['toVersion']=_0x36d082['toVersion']||0x0,this['fromVersion']=_0x36d082['fromVersion']||0x0,this['set']('name',_0x36d082['name']||''),this['set']('createdAt',_0x36d082['createdAt']||new Date()),this['set']('attributes',_0x36d082['attributes']||{});}['setName'](_0x5f3396){this['_update']({'name':_0x5f3396});}['setAttribute'](_0x35a645,_0x2c0006){const _0x1df5a6=_0x4fd32e(this['attributes']);_0x5a4952(_0x1df5a6,_0x35a645,_0x2c0006),this['_update']({'attributes':_0x1df5a6});}['removeAttribute'](_0x43dc3a){const _0x2df63c=_0x4fd32e(this['attributes']);_0x3dfde2(_0x2df63c,_0x43dc3a),this['_update']({'attributes':_0x2df63c});}['_update'](_0x256f25,_0x1a26a3=!0x1){let _0x3ee72b=!0x1;const _0x4cab83={'id':this['id']},_0x158baf=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3250de of _0x158baf){const _0x2f5f5e=_0x256f25[_0x3250de];void 0x0!==_0x2f5f5e&&_0x2f5f5e!==this[_0x3250de]&&(this[_0x3250de]=_0x2f5f5e,_0x4cab83[_0x3250de]=_0x2f5f5e,_0x3ee72b=!0x0);}_0x3ee72b&&(_0x4cab83['authors']&&(_0x4cab83['authorsIds']=_0x4cab83['authors']['map'](_0x51b166=>_0x51b166['id']),delete _0x4cab83['authors']),this['fire']('_update',_0x4cab83,_0x1a26a3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2842ee=>_0x2842ee['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x462677{['_revisions'];static get['requires'](){return[_0x5931b2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2beaee){super(_0x2beaee),this['_revisions']=new _0x49389d();}['afterInit'](){!function(_0x14d802){function _0x3ead76(_0x462c70,_0x2eed0b,_0x456a85){const _0x211fb1={};_0x211fb1[_0x12b91b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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],_0x211fb1[_0x12b91b([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 _0x512a9f=new Uint8Array(0x10);for(let _0x3665be=0xf;_0x3665be>=0x0;--_0x3665be)_0x512a9f[_0x3665be]=_0x456a85%0x100,_0x456a85=parseInt(_0x456a85/0x100);let _0x53ea81=null,_0x3fe87c=0x10;const _0x27435b=new Uint8Array(_0x2eed0b),_0x3a67e9=[],_0x3874be=[];_0x9b3a7a();for(let _0x1f5abe=0x0;_0x1f5abe<_0x462c70[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f5abe++)0x10===_0x3fe87c&&(_0x53ea81=_0x1c8e2d(_0x512a9f),_0x3fe87c=0x0,_0x38d166(_0x512a9f)),_0x462c70[_0x1f5abe]^=_0x53ea81[_0x3fe87c++];return _0x462c70;function _0x3e868c(_0x5d4920){const _0x2522bf=[];for(let _0x30d6a7=0x0;_0x30d6a7<_0x5d4920[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d6a7+=0x4)_0x2522bf[_0x12b91b([0x70,0x75,0x73,0x68])](_0x5d4920[_0x30d6a7]<<0x18|_0x5d4920[_0x30d6a7+0x1]<<0x10|_0x5d4920[_0x30d6a7+0x2]<<0x8|_0x5d4920[_0x30d6a7+0x3]);return _0x2522bf;}function _0x38d166(_0x248f63){for(let _0x3f1ce6=0xf;_0x3f1ce6>=0x0;_0x3f1ce6--){if(0xff!==_0x248f63[_0x3f1ce6]){_0x248f63[_0x3f1ce6]++;break;}_0x248f63[_0x3f1ce6]=0x0;}}function _0x1c8e2d(_0x360eb8){const _0x9d444d=_0x3a67e9[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2f0431=[0x0,0x0,0x0,0x0];let t=_0x3e868c(_0x360eb8);for(let _0x5cd249=0x0;_0x5cd249<0x4;_0x5cd249++)t[_0x5cd249]^=_0x3a67e9[0x0][_0x5cd249];for(let _0x7b42a1=0x1;_0x7b42a1<_0x9d444d;_0x7b42a1++){for(let _0x590372=0x0;_0x590372<0x4;_0x590372++)_0x2f0431[_0x590372]=_0x211fb1[_0x12b91b([0x54,0x31])][t[_0x590372]>>0x18&0xff]^_0x211fb1[_0x12b91b([0x54,0x32])][t[(_0x590372+0x1)%0x4]>>0x10&0xff]^_0x211fb1[_0x12b91b([0x54,0x33])][t[(_0x590372+0x2)%0x4]>>0x8&0xff]^_0x211fb1[_0x12b91b([0x54,0x34])][0xff&t[(_0x590372+0x3)%0x4]]^_0x3a67e9[_0x7b42a1][_0x590372];t=_0x2f0431[_0x12b91b([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1e20bf=new Uint8Array(0x10);let _0x496efe;for(let _0x490ed5=0x0;_0x490ed5<0x4;_0x490ed5++)_0x496efe=_0x3a67e9[_0x9d444d][_0x490ed5],_0x1e20bf[0x4*_0x490ed5]=0xff&(_0x211fb1[_0x12b91b([0x53])][t[_0x490ed5]>>0x18&0xff]^_0x496efe>>0x18),_0x1e20bf[0x4*_0x490ed5+0x1]=0xff&(_0x211fb1[_0x12b91b([0x53])][t[(_0x490ed5+0x1)%0x4]>>0x10&0xff]^_0x496efe>>0x10),_0x1e20bf[0x4*_0x490ed5+0x2]=0xff&(_0x211fb1[_0x12b91b([0x53])][t[(_0x490ed5+0x2)%0x4]>>0x8&0xff]^_0x496efe>>0x8),_0x1e20bf[0x4*_0x490ed5+0x3]=0xff&(_0x211fb1[_0x12b91b([0x53])][0xff&t[(_0x490ed5+0x3)%0x4]]^_0x496efe);return _0x1e20bf;}function _0x9b3a7a(){const _0x37bb1f=_0x211fb1[_0x12b91b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x27435b[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x8e7028=0x0;_0x8e7028<=_0x37bb1f;_0x8e7028++)_0x3a67e9[_0x12b91b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3874be[_0x12b91b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x51160a=0x4*(_0x37bb1f+0x1),_0xa15c0b=_0x27435b[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x14701a=_0x3e868c(_0x27435b);let _0x41c4f7;for(let _0xa07c92=0x0;_0xa07c92<_0xa15c0b;_0xa07c92++)_0x41c4f7=_0xa07c92>>0x2,_0x3a67e9[_0x41c4f7][_0xa07c92%0x4]=_0x14701a[_0xa07c92],_0x3874be[_0x37bb1f-_0x41c4f7][_0xa07c92%0x4]=_0x14701a[_0xa07c92];let _0x38b6af,_0x3172bb=0x0,t=_0xa15c0b;for(;t<_0x51160a;){_0x38b6af=_0x14701a[_0xa15c0b-0x1],_0x14701a[0x0]^=_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x10&0xff]<<0x18^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x8&0xff]<<0x10^_0x211fb1[_0x12b91b([0x53])][0xff&_0x38b6af]<<0x8^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x18&0xff]^_0x211fb1[_0x12b91b([0x72,0x63,0x6f,0x6e])][_0x3172bb]<<0x18,_0x3172bb+=0x1;for(let _0x8df50a=0x1;_0x8df50a<_0xa15c0b/0x2;_0x8df50a++)_0x14701a[_0x8df50a]^=_0x14701a[_0x8df50a-0x1];_0x38b6af=_0x14701a[_0xa15c0b/0x2-0x1],_0x14701a[_0xa15c0b/0x2]^=_0x211fb1[_0x12b91b([0x53])][0xff&_0x38b6af]^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x8&0xff]<<0x8^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x10&0xff]<<0x10^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x18&0xff]<<0x18;for(let _0x5a7ebf=_0xa15c0b/0x2+0x1;_0x5a7ebf<_0xa15c0b;_0x5a7ebf++)_0x14701a[_0x5a7ebf]^=_0x14701a[_0x5a7ebf-0x1];let _0x3ab811,_0x4e2b5c,_0x286fb1=0x0;for(;_0x286fb1<_0xa15c0b&&t<_0x51160a;)_0x3ab811=t>>0x2,_0x4e2b5c=t%0x4,_0x3a67e9[_0x3ab811][_0x4e2b5c]=_0x14701a[_0x286fb1],_0x3874be[_0x37bb1f-_0x3ab811][_0x4e2b5c]=_0x14701a[_0x286fb1++],t++;}for(let _0x3889e0=0x1;_0x3889e0<_0x37bb1f;_0x3889e0++)for(let _0x45135a=0x0;_0x45135a<0x4;_0x45135a++)_0x38b6af=_0x3874be[_0x3889e0][_0x45135a],_0x3874be[_0x3889e0][_0x45135a]=_0x211fb1[_0x12b91b([0x55,0x31])][_0x38b6af>>0x18&0xff]^_0x211fb1[_0x12b91b([0x55,0x32])][_0x38b6af>>0x10&0xff]^_0x211fb1[_0x12b91b([0x55,0x33])][_0x38b6af>>0x8&0xff]^_0x211fb1[_0x12b91b([0x55,0x34])][0xff&_0x38b6af];}}function _0x12b91b(_0x5c010b){return _0x5c010b['map'](_0x196538=>String['fromCharCode'](_0x196538))['join']('');}(_0x2e267d=>{function _0x3d2896(){const _0x493f2f=[{[_0x12b91b([0x69,0x64])]:0x1,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x12b91b([0x69,0x64])]:0x2,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([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]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x12b91b([0x69,0x64])]:0x3,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x12b91b([0x69,0x64])]:0x4,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([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]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x12b91b([0x69,0x64])]:0x5,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([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]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x6,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x7,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x8,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([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]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x9,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x12b91b([0x69,0x64])]:0xa,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([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]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([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]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([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]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0xb,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x12b91b([0x69,0x64])]:0xc,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x12b91b([0x69,0x64])]:0xd,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0xe,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x12b91b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([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])},{[_0x12b91b([0x69,0x64])]:0xf,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x12b91b([0x69,0x64])]:0x10,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}}];return _0x1491b4(_0x493f2f),_0x493f2f;function _0xc33e4(_0x2c3cfa){return 0x1<<_0x2c3cfa-0x1;}function _0x1491b4(_0x503527){_0x503527[_0x12b91b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bb096=>{_0x3bb096[_0x12b91b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xc33e4(_0x3bb096[_0x12b91b([0x69,0x64])]),_0x41bff5(_0x3bb096)&&_0x3bb096[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1491b4(_0x3bb096[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x41bff5(_0x211e50){return _0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x211e50;}const _0x200741=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4a2bb5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x28d6c6(_0x2b56c5){const _0x1e2f4f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xc63dc0(_0x2b56c5,new Uint8Array([..._0x200741,..._0x1e2f4f,..._0x4a2bb5]));}function _0xc63dc0(_0x370e28,_0x15e59a){const _0x42a605=_0x23c39c(_0x370e28),_0x23c78d=Array[_0x12b91b([0x66,0x72,0x6f,0x6d])](_0x55709f(_0x42a605)),_0x4ca607=_0x23c78d[_0x12b91b([0x70,0x6f,0x70])](),_0x506b15=_0x23c78d[_0x12b91b([0x70,0x6f,0x70])]();return _0x4e1e0f(_0x3ead76(_0x23c78d,_0x15e59a,_0x506b15+0x100*_0x4ca607));}function _0x23c39c(_0x2197cb){const _0x2c6990=atob(_0x2197cb),[_0x5de2b5,_0x77a7e6]=_0x2c6990[_0x12b91b([0x73,0x70,0x6c,0x69,0x74])](_0x12b91b([0x2d]));try{if(atob(_0x77a7e6))return atob(_0x5de2b5);}catch(_0x418825){}return _0x2c6990;}function _0xb2f5d4(_0x1f8466){try{const _0x623c99=_0x28d6c6(_0x1f8466),_0x5fad8c=JSON[_0x12b91b([0x70,0x61,0x72,0x73,0x65])](_0x623c99),_0x59c12a=parseInt(_0x5fad8c[_0x12b91b([0x31])]),_0x4e6275=_0x5fad8c[_0x12b91b([0x32])]||'',_0x300151=parseInt(_0x5fad8c[_0x12b91b([0x33])]),_0x4bf1c6=parseInt(_0x5fad8c[_0x12b91b([0x34])])||0x0,_0x141d8f=parseInt(_0x5fad8c[_0x12b91b([0x35])])||0x0;return{[_0x12b91b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4e6275,[_0x12b91b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4bf1c6,[_0x12b91b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x59c12a,[_0x12b91b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x300151,[_0x12b91b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x141d8f};}catch(_0x425538){return null;}}const _0x12d49e=_0x3d2896(),_0x3f567f={[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xe61b34,[_0x12b91b([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])]:_0x3270d1,[_0x12b91b([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])]:_0x106946},_0x53a0a5=_0x2e267d[_0x12b91b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2b77f9=_0x12b91b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2e267d?_0x2e267d['context']:_0x2e267d['editor'],_0x5854f0=_0x12b91b([0x34,0x30,0x34,0x38,0x31,0x34,0x33,0x30]),_0x1dceaa=_0x12b91b([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]),_0x59d40a=_0x2b77f9['config']['get'](_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3e5373=_0x12d49e[_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41bff5)[_0x12b91b([0x66,0x69,0x6e,0x64])](_0x5ea903=>_0x5ea903[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x53a0a5);function _0x50cd25(_0x13b851,_0x17d4d6){_0x3f567f[_0x17d4d6[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x13b851,_0x17d4d6),_0x17d4d6[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x17d4d6[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b8757=>_0x4c1978(_0x2b77f9,_0x3b8757[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x12b91b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x492407=>_0x50cd25(_0x13b851,_0x492407));}function _0xe61b34(_0x2b6ae7,_0x368d23){_0x9ca088(_0x1082fb(_0x2b6ae7,_0x368d23),_0x368d23);}function _0x3270d1(_0x19ca6f,_0x275b8f){function _0x4b0ba2(_0x31acb4,_0x3469b9){try{if(_0x4c1978(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x31acb4){const _0x1376ed=_0x172c25(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x12b91b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1376ed)/0x2>_0x31acb4[_0x12b91b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x495713(_0x3469b9[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1082fb(_0x31acb4,_0x3469b9);}catch(_0x3e65d7){return _0x495713(_0x3469b9[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x9ca088(_0x4b0ba2(_0x19ca6f,_0x275b8f),_0x275b8f);}function _0x106946(_0x1b7950,_0x242805){const _0x4f7041=_0x4a2bb5[0x0]*_0x200741[0x1],_0x1c9b6c=_0x4a2bb5[0x0]*_0x200741[0x2],_0x5c041e=_0x4a2bb5[0x2]*_0x200741[0x2];_0x4c1978(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x172c25(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x406175()]=_0x5c041e);function _0x2ae558(_0x248424,_0x2b8b9b){try{return _0x363429()?_0x495713(_0x2b8b9b[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x56,0x61,0x6c,0x69,0x64])):_0x1082fb(_0x248424,_0x2b8b9b);}catch(_0xc5b9bd){return _0x495713(_0x2b8b9b[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b7754(_0x3f9d16,_0x1857ef){const _0x2646f9=0x7;if(_0x3f9d16==_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3de0eb();else{if(_0x3f9d16==_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])){const _0x1099ce=_0x5b380b();_0x1099ce&&_0x2601cf(_0x1099ce,_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x49d966=_0x3e152f();window[_0x12b91b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2601cf(_0x12b91b([0x74,0x69,0x6d,0x65]),_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x49d966);const _0x342d97=_0x172c25(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x12b91b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x342d97[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2646f9?_0x2601cf(_0x12b91b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x342d97['on'](_0x12b91b([0x61,0x64,0x64]),()=>{_0x342d97[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2646f9&&_0x2601cf(_0x12b91b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5b380b(){if(!_0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5c10a3 in window)if(Number['isNaN'](Number(_0x5c10a3))){if(window[_0x5c10a3]===_0x4f7041)return _0x12b91b([0x74,0x69,0x6d,0x65]);if(window[_0x5c10a3]===_0x1c9b6c)return _0x12b91b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x363429(){if(!_0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a3068 in window)if(Number['isNaN'](Number(_0x4a3068))&&window[_0x4a3068]===_0x5c041e)return!0x0;return!0x1;}function _0x2601cf(_0x350490,_0x58b061){_0x3de0eb(),_0x495713(_0x58b061+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x350490),window[_0x406175()]=_0x350490===_0x12b91b([0x74,0x69,0x6d,0x65])?_0x4f7041:_0x1c9b6c;}function _0x3e152f(){let _0x3dda8c=_0x4a2bb5[0x6]*_0x200741[0x8]*_0x200741[0x6];return _0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3dda8c/=0xa),_0x3dda8c;}function _0x3de0eb(){const _0x5a8bf5=_0x2b77f9;function _0xf5055e(){_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4a838f,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4a838f,_0x5a8bf5[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x5a8bf5[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x5a8bf5[_0x12b91b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4a838f,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4a838f);}_0x5a8bf5[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x72,0x65,0x61,0x64,0x79])?_0xf5055e():_0x5a8bf5[_0x12b91b([0x6f,0x6e,0x63,0x65])](_0x12b91b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xf5055e(),_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x15ddc9=_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x474abe=_0x15ddc9['getRevision'](0x0),_0x3c19ef=_0x15ddc9['getEarlierVisibleRevision'](_0x474abe[_0x12b91b([0x69,0x64])]);_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x474abe[_0x12b91b([0x69,0x64])],_0x3c19ef?_0x3c19ef[_0x12b91b([0x69,0x64])]:null,0x1)['then'](()=>_0xf5055e());}});}_0x5b7754(_0x2ae558(_0x1b7950,_0x242805),_0x242805);}function _0x1082fb(_0x348c86,_0x4aab2f){try{return _0x1d6b42(_0x4aab2f)?_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x56,0x61,0x6c,0x69,0x64])):_0x348c86&&_0xe9a94d(_0x348c86[_0x12b91b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4aab2f)?_0x348c86[_0x12b91b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x12b91b([0x6f,0x70,0x65,0x6e])][_0x12b91b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5854f0)/0x2>_0x348c86[_0x12b91b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x348c86[_0x12b91b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])):_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x56,0x61,0x6c,0x69,0x64])):_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x51895a){return _0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9ca088(_0x84083a,_0x46fac7){if(_0x2b77f9 instanceof _0x2138d8){const _0x2ed8b4=_0x2b77f9;_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x348436(_0x2ed8b4):_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x12b91b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x348436(_0x2ed8b4),_0x495713(_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4a2bb5[0x6]*_0x200741[0x8]*_0x200741[0x6]),_0x2ed8b4[_0x12b91b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x12b91b([0x6f,0x6e])](_0x12b91b([0x61,0x64,0x64]),(_0x46dc7c,_0x51572d)=>{_0x84083a!=_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x84083a!=_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x84083a!=_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x14d306(_0x51572d);});}else{const _0x13728b=_0x2b77f9;_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x14d306(_0x13728b):_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])&&_0x13728b[_0x12b91b([0x6f,0x6e])](_0x12b91b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4ec277=0x0;_0x13728b[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x6f,0x6e])](_0x12b91b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5de5eb,_0x54b7ea)=>{_0x54b7ea[0x0][_0x12b91b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ec277++,0x1f8===_0x4ec277&&(_0x14d306(_0x13728b),_0x495713(_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5de5eb[_0x12b91b([0x6f,0x66,0x66])]());},{'priority':_0x12b91b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x495713(_0x1b30c2){const _0x2015ff=_0x406175();return _0x2b77f9[_0x2015ff]=_0x1b30c2,_0x1b30c2;}function _0x406175(){const _0x31dff9=String(window[_0x12b91b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12b91b([0x6e,0x6f,0x77])]())[_0x12b91b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12b91b([0x2e]),'');let _0x6206ab='';for(let _0x146431=0x0;_0x146431<_0x31dff9[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x146431+=0x2){let _0x553dfe=parseInt(_0x31dff9[_0x12b91b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x146431,_0x146431+0x2));_0x553dfe>=_0x1dceaa[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553dfe-=_0x1dceaa[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6206ab+=_0x1dceaa[_0x553dfe];}return _0x6206ab;}function _0x348436(_0x22d520){for(const _0x52315e of _0x22d520[_0x12b91b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x14d306(_0x52315e);_0x172c25(_0x22d520,_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x12b91b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x172c25(_0x22d520,_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x12b91b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4a838f;}function _0x14d306(_0x17b3ae){function _0x4543f3(){_0x17b3ae[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x17b3ae[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x17b3ae[_0x12b91b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x17b3ae[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x72,0x65,0x61,0x64,0x79])?_0x4543f3():_0x17b3ae[_0x12b91b([0x6f,0x6e,0x63,0x65])](_0x12b91b([0x72,0x65,0x61,0x64,0x79]),()=>_0x4543f3());}function _0x4a838f(){return null;}function _0xe9a94d(_0x5a5bde,_0x4bdc3d){const _0x2fb1dc=!!(_0x5a5bde&_0x4bdc3d[_0x12b91b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42d35d=_0x4a7cf4(_0x5a5bde,_0x4bdc3d);return _0x2fb1dc||_0x42d35d;}function _0x4a7cf4(_0xd7b91d,_0x268e72){const _0x1da6f2=(_0x268e72[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x12b91b([0x66,0x67,0x69])]||null;return!!_0x1da6f2&&_0x12d49e[_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4587fe=>_0x1da6f2[_0x12b91b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4587fe[_0x12b91b([0x69,0x64])]))[_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ec049=>!_0x42dbab(_0x1ec049))[_0x12b91b([0x73,0x6f,0x6d,0x65])](_0x4d64ba=>!!(_0xd7b91d&_0x4d64ba[_0x12b91b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x42dbab(_0x1bc4fe){const _0x188b9e={[_0x12b91b([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])]:_0x2c1ee6};return!!_0x1bc4fe['forbiddenHandler']&&_0x188b9e[_0x1bc4fe['forbiddenHandler']]();}function _0x2c1ee6(){return!window[_0x12b91b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4c1978(_0x2b77f9,_0x12b91b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1d6b42(_0x2d63db){if(!_0x4c1978(_0x2b77f9,_0x2d63db[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x515eaa=_0x2d63db[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x326307=_0x515eaa[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x365749=_0x515eaa[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x464da6=_0x515eaa[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4c1978(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x172c25(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x326307)return!0x0;if(_0x4c1978(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x172c25(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x12b91b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x12b91b([0x65,0x6e,0x64])&&_0x365749)return!0x0;return!(!_0x4c1978(_0x2b77f9,_0x12b91b([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]))||_0x172c25(_0x2b77f9,_0x12b91b([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]))[_0x12b91b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x12b91b([0x65,0x6e,0x64])||!_0x464da6);}function _0x4c1978(_0x243e29,_0x4eb373){return _0x243e29[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x12b91b([0x68,0x61,0x73])](_0x4eb373);}function _0x172c25(_0xc8e621,_0x123221){return _0xc8e621[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x12b91b([0x67,0x65,0x74])](_0x123221);}function _0x4e1e0f(_0x51f9bf){let _0x20f5ed='';for(const _0x378585 of _0x51f9bf)_0x20f5ed+=String[_0x12b91b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x378585);return _0x20f5ed;}function _0x55709f(_0x1b983e){const _0x1515bc=new Uint8Array(_0x1b983e[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x27d68e=0x0;_0x27d68e<_0x1b983e[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27d68e++)_0x1515bc[_0x27d68e]=_0x1b983e[_0x12b91b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27d68e);return _0x1515bc;}_0x3e5373&&_0x50cd25(_0xb2f5d4(_0x59d40a),_0x3e5373);})(_0x14d802);}(this);}['createRevision'](_0x3467a9){const _0x3cd2a8=this['editor']['plugins']['get']('Users');return new a({'id':_0x3467a9['id'],'name':_0x3467a9['name'],'creator':_0x3467a9['creatorId']?_0x3cd2a8['getUser'](_0x3467a9['creatorId']):null,'diffData':_0x3467a9['diffData']||_0x3467a9['data'],'authors':_0x3467a9['authorsIds']['map'](_0x2d9231=>_0x3cd2a8['getUser'](_0x2d9231)),'createdAt':new Date(_0x3467a9['createdAt']),'attributes':_0x3467a9['attributes'],'fromVersion':_0x3467a9['fromVersion'],'toVersion':_0x3467a9['toVersion']});}['addRevision'](_0x24c3c9,_0x15a8f5=0x0){this['_revisions']['add'](_0x24c3c9,_0x15a8f5);}['getRevision'](_0x18301e){return this['_revisions']['get'](_0x18301e);}['getRevisions'](_0x2195f2={'toJSON':!0x1}){const _0x100858=Array['from'](this['_revisions']);return _0x100858['reverse'](),_0x2195f2['toJSON']?_0x100858['map'](_0x33637a=>_0x33637a['toJSON']()):_0x100858;}['getIndex'](_0x1427d5){return this['_revisions']['getIndex'](_0x1427d5);}['getEarlierVisibleRevision'](_0x2257cd){const [,_0x574ee5]=this['getRevisionsIterator'](_0x2257cd,{'direction':'earlier'});return _0x574ee5;}['getLaterVisibleRevision'](_0x4e0369){const [,_0x3ba85e]=this['getRevisionsIterator'](_0x4e0369,{'direction':'later'});return _0x3ba85e;}['getRevisionsInDiff'](_0x23a4ee){const _0x3a6238=[];for(const _0x315ae8 of this['getRevisionsIterator'](_0x23a4ee['newRevisionId']))if(_0x3a6238['push'](_0x315ae8),_0x315ae8['id']===_0x23a4ee['oldRevisionId'])break;return _0x3a6238;}*['getRevisionsIterator'](_0x3a1ebb,{direction:_0x3ff5b9='earlier',filter:_0x3f9713=_0x2823e3=>!0x0}={}){const _0x160529='earlier'===_0x3ff5b9?0x1:-0x1;let _0x37e781=this['_revisions']['get'](_0x3a1ebb),_0x368922=this['getIndex'](_0x37e781);for(yield _0x37e781;_0x37e781;){if(_0x368922+=_0x160529,_0x37e781=this['getRevision'](_0x368922),!_0x37e781)return;_0x3f9713(_0x37e781)&&(yield _0x37e781);}}}function y(_0xf8c5d3,_0x582fd6,_0x4a9220){const t=_0xf8c5d3['t'];switch(_0x582fd6){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'},_0x4a9220);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4a9220);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':_0x422e4d,'a':_0x60d33c,'e':_0x138d0a,'r':_0x2224cc,'u':_0x563085};class l extends _0x462677{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5931b2,A,_0x1e6735];}constructor(_0xb11616){super(_0xb11616),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 _0x366275=_0x3f8fcb();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x366275},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 _0xb8ceb5=this['repository']['getRevision'](0x0),_0x47042a=_0xb8ceb5&&null===_0xb8ceb5['creator']?_0xb8ceb5:null;if(this['_continueCurrentRevision']=!!_0x47042a&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x398e90=this['_source']['getCurrentRevisionId'](),_0x23fdf0=this['repository']['getRevision'](_0x398e90);if(_0x23fdf0)this['_startingVersion']=_0x23fdf0['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x595682=this['_source']['history']['_operations']['find'](_0x1bd4f4=>!_0x1bd4f4['_isInit']),_0x1282da=_0x595682?_0x595682['baseVersion']:this['_source']['history']['version'];_0xb8ceb5?(_0xb8ceb5['toVersion']<_0x1282da&&_0xb8ceb5['_update']({'toVersion':_0x1282da}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x47042a['id'],this['_startingVersion']=_0x47042a['fromVersion']):(this['_startingVersion']=_0xb8ceb5['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1282da,this['_continueCurrentRevision']=!0x1);}}else _0x47042a&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x47042a['toVersion'],this['editor']['model']['document']['history']['version']),_0x47042a['fromVersion']===_0x47042a['toVersion']?(0x0!==_0x47042a['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x47042a['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x47042a['id'],this['_startingVersion']=_0x47042a['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',_0x1848d6=>!_0x1848d6);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1601db=this['repository']['getRevision'](0x0),_0x275043=await this['getRevisionDocumentData'](_0x1601db),_0x27012d=await this['getRevisionRootsAttributes'](_0x1601db);this['_replaceEditorDataWithRevisionData'](_0x275043,_0x27012d);}}['setSource'](_0x52695d){this['_source']=_0x52695d;}async['update'](){const _0xbf4ba=await this['_source']['getLatestVersion']();if(_0xbf4ba>this['currentRevision']['toVersion']){await this['_loadState']();const _0x360dc2=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xbf4ba});_0x360dc2['authors']=_0x360dc2['authorsIds']['map'](_0x37f604=>this['editor']['plugins']['get']('Users')['getUser'](_0x37f604)),this['currentRevision']['_update'](_0x360dc2);}}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'](_0x155503={},_0x3f00bd=null){const _0x23f274=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3f00bd>this['currentRevision']['toVersion']&&(_0x3f00bd=null),null===_0x3f00bd&&(_0x3f00bd=await this['_source']['getLatestVersion']());const _0x484bbb=this['_getFromVersion'](_0x3f00bd),_0xfe02a=this['buildRevisionData']({'from':_0x484bbb,'to':_0x3f00bd});if(this['currentRevision']['toVersion']<_0x3f00bd){const _0x56c56d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3f00bd,'to':_0x3f00bd});_0x56c56d['authors']=[],_0x56c56d['authorsIds']=[],_0x56c56d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x56c56d,!0x0),delete _0x56c56d['authors'],_0x23f274['push'](_0x56c56d);}_0x155503['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x155503['name']=_0x155503['name']||null,_0x155503['id']=_0x155503['id']||_0x3f8fcb(),_0x155503={..._0x155503,..._0xfe02a};const _0x364013=this['addRevisionData'](_0x155503);_0x23f274['push'](_0x155503);const _0x5ef14f=this['repository']['getIndex'](_0x364013);if(0x0!==_0x5ef14f){const _0x52ae89=this['repository']['getRevision'](_0x5ef14f-0x1);if(_0x52ae89['fromVersion']!==_0x3f00bd){const _0x408451=this['_revisionDataBuilder']['getData'](_0x3f00bd,_0x52ae89['toVersion']),_0x464a30={'id':_0x52ae89['id'],'diffData':_0x408451['diffData'],'authorsIds':_0x408451['authorsIds'],'authors':_0x408451['authorsIds']['map'](_0x204bd7=>this['editor']['plugins']['get']('Users')['getUser'](_0x204bd7)),'fromVersion':_0x3f00bd};_0x52ae89===this['currentRevision']&&(_0x464a30['createdAt']=new Date(_0x155503['createdAt']['getTime']()+0xa)),_0x52ae89['_update'](_0x464a30,!0x0),delete _0x464a30['authors'],_0x23f274['push'](_0x464a30);}}if(this['adapter']){for(const _0x320966 of _0x23f274)this['_bufferUpdate'](_0x320966['id'],_0x320966,!0x0);this['sendBufferedUpdates']();}return _0x364013;}['addRevisionData'](_0x59d71d){const _0x1572d2=this['repository']['createRevision'](_0x59d71d);return this['adapter']&&_0x1572d2['on']('_update',(_0x1a9f3e,_0x3caf92,_0x3d3189)=>{_0x3d3189||(this['_bufferUpdate'](_0x3caf92['id'],_0x3caf92,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1572d2,this['_findInsertionIndex'](_0x1572d2)),_0x1572d2;}async['getRevisionDocumentData'](_0x2f4eac){await this['_loadRevisionData'](_0x2f4eac);const _0x442786={};for(const _0x278d94 in _0x2f4eac['diffData']){if(_0x2f4eac['diffData'][_0x278d94]['attachChange']&&!_0x2f4eac['diffData'][_0x278d94]['attachChange']['isAttached'])continue;const _0x2824da=this['_removeRevisionMarkers'](JSON['parse'](_0x2f4eac['diffData'][_0x278d94]['insertions'])),_0x467c32=this['editor']['editing']['view']['document'],_0x311ca9=new _0x333809(_0x467c32,_0x2824da['map'](_0x126443=>B(_0x126443,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x442786[_0x278d94]=this['editor']['data']['processor']['toData'](_0x311ca9),this['editor']['data']['processor']['useFillerType']('default');}return _0x442786;}async['getRevisionRootsAttributes'](_0x1fdfd8){await this['_loadRevisionData'](_0x1fdfd8);const _0xc064be={};for(const _0x5bceb6 in _0x1fdfd8['diffData'])_0x1fdfd8['diffData'][_0x5bceb6]['attachChange']&&!_0x1fdfd8['diffData'][_0x5bceb6]['attachChange']['isAttached']||(_0xc064be[_0x5bceb6]=_0x1fdfd8['diffData'][_0x5bceb6]['attributesAfter']||{});return _0xc064be;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5b0e49=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4d8046=0x0;_0x4d8046<_0x5b0e49['length'];_0x4d8046++){const _0x3d7156=_0x5b0e49[_0x4d8046];let _0x5af150=!0x1;for(const _0x41ba32 of Object['keys'](_0x3d7156))void 0x0===_0x3d7156[_0x41ba32]?delete _0x3d7156[_0x41ba32]:'id'!==_0x41ba32&&(_0x5af150=!0x0);_0x5af150||(_0x5b0e49[_0x4d8046]=null);}if(_0x5b0e49=_0x5b0e49['filter'](_0x19215c=>null!==_0x19215c),!_0x5b0e49['length'])return;for(let _0x5f49e8=0x0;_0x5f49e8<_0x5b0e49['length'];_0x5f49e8++){const _0x486815=_0x5b0e49[_0x5f49e8];void 0x0!==_0x486815['fromVersion']&&void 0x0===_0x486815['toVersion']&&(_0x486815['toVersion']=this['repository']['getRevision'](_0x486815['id'])['toVersion']),void 0x0!==_0x486815['toVersion']&&void 0x0===_0x486815['fromVersion']&&(_0x486815['fromVersion']=this['repository']['getRevision'](_0x486815['id'])['fromVersion']);}const _0x3a9801=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5b0e49,_0x3a9801)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1872f8=>{if(_0x1872f8){for(const _0x359c58 of _0x1872f8)this['setRevisionData']({'id':_0x359c58['id'],'createdAt':_0x359c58['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3be569,_0x1a561f){let _0x142b77=this['editor']['config']['get']('initialData'),_0x1f328c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x142b77){_0x142b77={};for(const _0x179aa3 of this['editor']['model']['document']['getRootNames']())_0x142b77[_0x179aa3]='';}if('string'==typeof _0x142b77&&(_0x142b77={'main':_0x142b77}),void 0x0===_0x1f328c){_0x1f328c={};for(const _0x11ad82 of this['editor']['model']['document']['getRootNames']())_0x1f328c[_0x11ad82]={};}let _0x2c2c1c=!0x1;const _0x54f7a4=Object['keys'](_0x142b77),_0x5c1e30=Object['keys'](_0x3be569);for(const _0x56ea0f of _0x54f7a4){if(_0x142b77[_0x56ea0f]!==_0x3be569[_0x56ea0f]&&''!==_0x142b77[_0x56ea0f]['trim']()){_0x2c2c1c=!0x0;break;}if(!_0x454448(_0x1f328c[_0x56ea0f],_0x1a561f[_0x56ea0f])&&Object['keys'](_0x1f328c[_0x56ea0f])['length']>0x0){_0x2c2c1c=!0x0;break;}}_0x2c2c1c||(_0x2c2c1c=_0x5c1e30['some'](_0x1fd848=>!this['editor']['model']['document']['getRoot'](_0x1fd848))),_0x2c2c1c&&_0x3dcfa8('editor-initial-data-replaced-with-revision-data',{'editorData':_0x142b77,'editorRootsAttributes':_0x1f328c,'revisionData':_0x3be569,'revisionRootsAttributes':_0x1a561f}),this['editor']['config']['set']('initialData',_0x3be569),this['editor']['config']['set']('rootsAttributes',_0x1a561f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x17e095=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x17e095['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x148f20){const _0x489e72=this['repository']['getRevisions']();_0x489e72['reverse']();let _0x12b92e=0x0;for(;_0x12b92e<_0x489e72['length'];){const _0x7c658e=_0x489e72[_0x12b92e];if(_0x7c658e===this['currentRevision']){_0x12b92e++;continue;}if(_0x7c658e['id']===this['_initialRevisionId'])break;const _0x1c7b3f=_0x148f20['toVersion']-_0x7c658e['toVersion']||_0x148f20['fromVersion']-_0x7c658e['fromVersion'];if(_0x1c7b3f>0x0)break;if(_0x1c7b3f<0x0)_0x12b92e++;else{if(!_0x148f20['creator']&&_0x7c658e['creator'])break;if(_0x7c658e['creator']||!_0x148f20['creator']){if(_0x148f20['createdAt']>_0x7c658e['createdAt'])break;_0x12b92e++;}else _0x12b92e++;}}return _0x12b92e;}['setRevisionData'](_0x18c880){const _0x2f6777=this['repository']['getRevision'](_0x18c880['id']);if(_0x18c880['createdAt']&&(_0x18c880['createdAt']=new Date(_0x18c880['createdAt'])),_0x18c880['authorsIds']){const _0x195ff4=this['editor']['plugins']['get']('Users');_0x18c880['authors']=_0x18c880['authorsIds']['map'](_0x19441d=>_0x195ff4['getUser'](_0x19441d));}_0x2f6777['_update'](_0x18c880,!0x0);}['buildRevisionData']({revision:_0x3e279d=null,from:_0x2f9440=null,to:_0x4caa4a=null}){_0x2f9440=null!==_0x2f9440?_0x2f9440:_0x3e279d['fromVersion'],_0x4caa4a=null!==_0x4caa4a?_0x4caa4a:_0x3e279d['toVersion'];const _0x1ce0c7=this['_revisionDataBuilder']['getData'](_0x2f9440,_0x4caa4a),_0x33de1d={'diffData':_0x1ce0c7['diffData'],'authorsIds':_0x1ce0c7['authorsIds'],'fromVersion':_0x2f9440,'toVersion':_0x4caa4a};if(!_0x3e279d||_0x4caa4a!==_0x3e279d['toVersion']){const _0x140600=_0x4caa4a-0x1,_0xd7ed43=this['_source']['history']['getOperation'](_0x140600);_0x33de1d['createdAt']=_0xd7ed43&&_0xd7ed43['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2f9440===this['_loadedStateData']['fromVersion']){for(const _0x2630fa of this['_loadedStateData']['authors'])_0x33de1d['authorsIds']['includes'](_0x2630fa['id'])||_0x33de1d['authorsIds']['push'](_0x2630fa['id']);}return _0x33de1d;}['_loadRevisionData'](_0x18b077){if(!_0x18b077||_0x18b077['diffData'])return Promise['resolve']();{const _0x2f3e4e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2f3e4e,'revisionId':_0x18b077['id']})['then'](_0xf20377=>{_0x18b077['diffData']=_0xf20377['diffData'];});}}['_bufferUpdate'](_0x5276c1,_0x2c69ed,_0x548486){if(this['_bufferedUpdates']['has'](_0x5276c1)){const _0x2a7f1d=this['_bufferedUpdates']['get'](_0x5276c1);_0x2c69ed=_0x548486?{..._0x2a7f1d,..._0x2c69ed}:{..._0x2c69ed,..._0x2a7f1d};}this['_bufferedUpdates']['set'](_0x5276c1,_0x2c69ed);}['_getFromVersion'](_0x513df3){const _0x24c34c=this['repository']['getRevisions']();_0x24c34c['reverse'](),_0x24c34c['shift']();const _0x5d9d8b=_0x24c34c['find'](_0x81784a=>_0x81784a['toVersion']<=_0x513df3)['toVersion'];return _0x5d9d8b<this['_startingVersion']?this['_startingVersion']:_0x5d9d8b;}['_createInitialRevision'](_0x49486c){const _0xb807eb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xb807eb)this['_initialRevisionId']=_0xb807eb['id'];else{const _0x1e7738=!this['editor']['model']['document']['roots']['find'](_0xbcaab8=>this['editor']['model']['hasContent'](_0xbcaab8)),_0xdd66de=this['editor']['plugins']['get']('Users')['me']['id'],_0x399783=y(this['editor']['locale'],_0x1e7738?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x49486c,'to':_0x49486c,'id':this['_initialRevisionId'],'name':_0x399783,'creatorId':_0xdd66de});}}['_createCurrentRevision'](_0x532cd9){const _0x2e0ca1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2e0ca1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x532cd9,'to':_0x532cd9,'id':_0x2e0ca1,'name':'','creatorId':null}));}['_makeRevision']({name:_0x41a775,from:_0x45f938,to:_0x5bb34c,creatorId:_0x48cae5,id:_0x41cd22}){const _0x47e674=this['buildRevisionData']({'from':_0x45f938,'to':_0x5bb34c});_0x47e674['name']=_0x41a775,_0x47e674['creatorId']=_0x48cae5,_0x47e674['id']=_0x41cd22;const _0xf97b1d=this['addRevisionData'](_0x47e674);return this['adapter']&&this['_bufferUpdate'](_0x47e674['id'],_0x47e674,!0x0),_0xf97b1d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x16ef3f){return(_0x16ef3f=_0x16ef3f['filter'](_0x4d826e=>!_0x4d826e['name']||'revision-start'!==_0x4d826e['name']&&'revision-end'!==_0x4d826e['name']))['forEach'](_0x1da723=>{'string'!=typeof _0x1da723&&(_0x1da723['children']=this['_removeRevisionMarkers'](_0x1da723['children']),_0x1da723['attributes']=_0x1da723['attributes']['filter'](_0x5b0565=>!_0x5b0565[0x0]['startsWith']('data-revision-')));}),_0x16ef3f;}}function B(_0x45d974,_0x49a98c){const _0x389505=_0x49a98c['editing']['view']['document'];if('string'==typeof _0x45d974)return new _0x1c996d(_0x389505,_0x45d974);{const _0x27631d=_0x45d974['children']['map'](_0x3ce47a=>B(_0x3ce47a,_0x49a98c));return new(T[_0x45d974['type']]||_0x45b4c2)(_0x389505,_0x45d974['name'],_0x45d974['attributes'],_0x27631d);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1931e9){this['editor']=_0x1931e9,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'](_0x1f8aba){this['source']=_0x1f8aba;const _0x726aea=new Map(),_0x2a9575=new Map(),_0x5e74c2=this['editor']['model']['document']['roots']['map'](_0xc834c=>_0xc834c['rootName']);for(const _0x470139 of _0x5e74c2){const _0x32295c=this['editor']['model']['document']['getRoot'](_0x470139),_0x3bcd03=q(_0x32295c);_0x726aea['set'](_0x470139,_0x3bcd03),_0x2a9575['set'](_0x470139,Object['fromEntries'](_0x32295c['getAttributes']()));}const _0x27e9f6=Array['from'](this['editor']['model']['markers'])['map'](_0x30f1e7=>[_0x30f1e7['name'],_0x30f1e7['getRange']()]),_0x1b49ef=this['source']['version'];this['_saveMetaData'](_0x1b49ef,_0x726aea,_0x27e9f6,_0x2a9575),this['_startingRevisionId']=this['_revisionId'];const _0x30ed8e=new Map(),_0x31b204=new Map();for(const _0x143e19 of _0x5e74c2){const _0x2e581b=G(_0x143e19);_0x30ed8e['set'](_0x143e19,_0x2e581b),_0x31b204['set'](_0x143e19,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x30ed8e,[],_0x31b204);}['getData'](_0x3c58a4,_0x195597){if(this['_lastFrom']===_0x3c58a4&&this['_lastTo']<=_0x195597)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x195597,!0x0);else{if(!this['_savedMetaData']['has'](_0x3c58a4)){const _0xa43707=this['_getPreviousFrom'](_0x3c58a4);this['_calculateMetaData'](_0xa43707,_0x3c58a4,!0x1);}this['_calculateMetaData'](_0x3c58a4,_0x195597,!0x0);}return this['_lastFrom']=_0x3c58a4,this['_lastTo']=_0x195597,this['_getState']();}['loadState'](_0x2749bc){this['_reset'](),this['_lastFrom']=_0x2749bc['fromVersion'],this['_lastTo']=_0x2749bc['toVersion'];for(const _0x3fe8d7 in _0x2749bc['diffData']){const _0x527ae4=_0x2749bc['diffData'][_0x3fe8d7]['attachChange'],_0x567414=_0x4fd32e(_0x2749bc['diffData'][_0x3fe8d7]['attributesBefore'])||{},_0x3c43a0=this['_makeModelFromViewString'](_0x2749bc['diffData'][_0x3fe8d7]['deletions']);_0x3c43a0['rootName']=_0x3fe8d7,_0x3c43a0['_isAttached']=!_0x527ae4||!_0x527ae4['isAttached'],_0x3c43a0['isAttached']=()=>_0x3c43a0['_isAttached'],this['_baseRoots']['set'](_0x3fe8d7,_0x3c43a0),this['_baseRootsAttributes']['set'](_0x3fe8d7,_0x567414),_0x527ae4&&this['_touchedRoots']['set'](_0x3fe8d7,_0x527ae4);const _0x3b74c7=this['_makeIdsRoot'](_0x3c43a0);this['_baseIdsRoots']['set'](_0x3fe8d7,_0x3b74c7);for(const [_0xf7e0e0,_0x32137d]of _0x3c43a0['markers']){if(!_0xf7e0e0['startsWith']('revision:'))continue;const _0x2f0913=_0xf7e0e0['split'](':')[0x2];for(const _0x272b08 of _0x32137d['getWalker']({'singleCharacters':!0x0})){const _0x505ca5=this['_getVidAttributeName'](_0x272b08),_0x1b219f='elementEnd'==_0x272b08['type']?_0x272b08['previousPosition']['path']['slice'](0x0,-0x1):_0x272b08['previousPosition']['path'],_0x42b11c=_0x3b74c7['getNodeByPath'](_0x1b219f)['getAttribute'](_0x505ca5);this['_touched']['set'](_0x42b11c,{'userId':_0x2f0913});}}}this['_startingRevisionId']=this['_revisionId'];const _0x38df51=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4d8b9b=>!this['_touched']['has'](_0x4d8b9b));let _0xc48394=0x0;const _0xb45f02=new Map();for(const _0x40c0ab in _0x2749bc['diffData']){const _0xb5fed6=_0x2749bc['diffData'][_0x40c0ab]['attachChange'],_0x25abc4=_0x4fd32e(_0x2749bc['diffData'][_0x40c0ab]['attributesAfter'])||{},_0x18dcff=this['_makeModelFromViewString'](_0x2749bc['diffData'][_0x40c0ab]['insertions']);_0x18dcff['rootName']=_0x40c0ab,_0x18dcff['_isAttached']=!_0xb5fed6||_0xb5fed6['isAttached'],_0x18dcff['isAttached']=()=>_0x18dcff['_isAttached'],this['_diffRoots']['set'](_0x40c0ab,_0x18dcff),this['_diffRootsAttributes']['set'](_0x40c0ab,_0x25abc4);const _0x1e921d=this['_makeIdsRoot'](_0x18dcff,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x40c0ab,_0x1e921d),_0xb45f02['set'](_0x40c0ab,_0x18dcff['isAttached']()?_0x25abc4:{});for(const [_0x289758,_0x324253]of _0x18dcff['markers']){if(!_0x289758['startsWith']('revision:'))continue;const _0xa8004d=_0x289758['split'](':')[0x2];for(const _0x3044f0 of _0x324253['getWalker']({'singleCharacters':!0x0})){const _0x259bf8=this['_getVidAttributeName'](_0x3044f0),_0x2b2010=this['_revisionId']++,_0x333c4f='elementEnd'==_0x3044f0['type']?_0x3044f0['previousPosition']['path']['slice'](0x0,-0x1):_0x3044f0['previousPosition']['path'];_0x1e921d['getNodeByPath'](_0x333c4f)['_setAttribute'](_0x259bf8,_0x2b2010),this['_touched']['set'](_0x2b2010,{'userId':_0xa8004d});}}for(const _0x2652ec of this['editor']['model']['createRangeIn'](_0x18dcff)['getWalker']({'singleCharacters':!0x0})){const _0x2c8812=this['_getVidAttributeName'](_0x2652ec),_0x23e819='elementEnd'==_0x2652ec['type']?_0x2652ec['previousPosition']['path']['slice'](0x0,-0x1):_0x2652ec['previousPosition']['path'],_0x40c1ba=_0x1e921d['getNodeByPath'](_0x23e819);_0x40c1ba['getAttribute'](_0x2c8812)>0x0||_0x40c1ba['_setAttribute'](_0x2c8812,_0x38df51[_0xc48394++]);}for(const [_0x301a8b,_0x13a5bd]of _0x18dcff['markers'])_0x301a8b['startsWith']('revision:')||this['_markers']['set'](_0x301a8b,_0x13a5bd);}const _0x4bf97c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4bf97c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4bf97c,0x1));const _0x31c248=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x31c248),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x31c248,0x1));const _0x3bc0c9=Array['from'](this['_diffRoots'])['map'](([_0x20d8b3,_0x424db1])=>[_0x20d8b3,q(_0x424db1)]);this['_saveMetaData'](this['_lastTo'],_0x3bc0c9,this['_markers'],_0xb45f02);}['_makeModelFromViewString'](_0x5ab517){const _0x42d93a=JSON['parse'](_0x5ab517),_0x56083f=this['editor']['editing']['view']['document'],_0x2936eb=new _0x333809(_0x56083f,_0x42d93a['map'](_0x7edf28=>B(_0x7edf28,this['editor'])));return this['editor']['data']['toModel'](_0x2936eb);}['_saveMetaData'](_0x473da0,_0x592241,_0x1c821c,_0x6bb4db){const _0x44ba66=new Map(_0x592241),_0xd45126=new Map(_0x4fd32e(_0x6bb4db)),_0x87f27c=new Map();for(const [_0x4f9c26,_0x5961ba]of _0x1c821c)_0x87f27c['set'](_0x4f9c26,{'start':_0x5961ba['start']['clone'](),'end':_0x5961ba['end']['clone'](),'rootName':_0x5961ba['root']['rootName']});this['_savedMetaData']['set'](_0x473da0,{'roots':_0x44ba66,'markers':_0x87f27c,'rootsAttributes':_0xd45126});}['_removeMetaData'](_0x784bdb){this['_savedMetaData']['delete'](_0x784bdb);}['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'](_0x503850,_0x86b483=null){let _0x461f8c=null;_0x503850['is']('documentFragment')||(_0x461f8c=new ft(_0x503850['name'],{'vid_start':null===_0x86b483?this['_revisionId']++:_0x86b483++}));const _0x348b2d=[];for(const _0x34dd26 of _0x503850['getChildren']())if(_0x34dd26['is']('element')){_0x348b2d['push'](this['_makeIdsRoot'](_0x34dd26,_0x86b483));const _0x5db0ab=_0x348b2d[_0x348b2d['length']-0x1];null!==_0x86b483&&(_0x86b483=_0x5db0ab['is']('element','$text')?_0x5db0ab['getAttribute']('vid')+0x1:_0x5db0ab['getAttribute']('vid_end')+0x1);}else{for(let _0x52ce6f=0x0;_0x52ce6f<_0x34dd26['offsetSize'];_0x52ce6f++)_0x348b2d['push'](new ft('$text',{'vid':null===_0x86b483?this['_revisionId']++:_0x86b483++}));}if(_0x503850['is']('documentFragment')){const _0x1c992c=G(_0x503850['rootName']);return _0x1c992c['_insertChild'](0x0,_0x348b2d),_0x1c992c;}return _0x461f8c['_setAttribute']('vid_end',null===_0x86b483?this['_revisionId']++:_0x86b483++),_0x461f8c['_insertChild'](0x0,_0x348b2d),_0x461f8c;}['_calculateMetaData'](_0x13b987,_0x3c1b71,_0x5a8e67){this['_reset']();const {roots:_0x43bb76,markers:_0x3fa1b0,rootsAttributes:_0x5429c7}=this['_savedMetaData']['get'](_0x13b987);this['_baseRoots']=new Map(_0x43bb76),this['_baseRootsAttributes']=new Map(_0x4fd32e(_0x5429c7));for(const [_0x3e080b,_0x2d3f54]of this['_baseRoots'])if('$graveyard'!==_0x3e080b&&(this['_diffRoots']['set'](_0x3e080b,q(_0x2d3f54)),this['_diffRootsAttributes']=new Map(_0x4fd32e(_0x5429c7)),_0x5a8e67)){const _0xbafa64=this['_revisionId'];this['_idsRoots']['set'](_0x3e080b,this['_makeIdsRoot'](_0x2d3f54)),this['_baseIdsRoots']['set'](_0x3e080b,this['_makeIdsRoot'](_0x2d3f54,_0xbafa64));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5a8e67&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x58e68c,_0x424308]of _0x3fa1b0){const _0x5ce7f5=this['_baseRoots']['get'](_0x424308['rootName']),_0x204a5e=this['_diffRoots']['get'](_0x424308['rootName']),_0xd9a693=new vt(this['_fixPosition'](_0x424308['start'],_0x5ce7f5),this['_fixPosition'](_0x424308['end'],_0x5ce7f5)),_0x965541=this['_fixRange'](_0xd9a693,_0x204a5e);_0x5ce7f5['markers']['set'](_0x58e68c,_0xd9a693),this['_markers']['set'](_0x58e68c,_0x965541);}this['_applyOperations'](_0x13b987,_0x3c1b71,_0x5a8e67);}['_applyOperations'](_0x4589f6,_0x5c7fd5,_0x144915){for(const _0x10d8c9 of this['source']['getOperations'](_0x4589f6,_0x5c7fd5))this['_handleOperation'](_0x10d8c9,_0x144915);for(const _0x216f0b of this['_diffRoots']['values']())_0x216f0b['markers']['clear']();for(const [_0xb59948,_0x524549]of this['_markers']){this['_diffRoots']['get'](_0x524549['root']['rootName'])['markers']['set'](_0xb59948,_0x524549['clone']());}const _0x491d2d=new Map(),_0x55ca9a=new Map();for(const [_0x6121fd,_0x4fc9aa]of this['_diffRoots'])_0x491d2d['set'](_0x6121fd,q(_0x4fc9aa)),_0x55ca9a['set'](_0x6121fd,this['_diffRootsAttributes']['get'](_0x6121fd));this['_saveMetaData'](_0x5c7fd5,_0x491d2d,this['_markers'],_0x55ca9a);}['_getPreviousFrom'](_0x168f43){const _0x23ce01=Array['from'](this['_savedMetaData']['keys']());_0x23ce01['sort']((_0x61c235,_0x55c049)=>_0x61c235-_0x55c049),_0x23ce01['reverse']();for(const _0x4d5d3b of _0x23ce01)if(_0x4d5d3b<_0x168f43)return _0x4d5d3b;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x466a29,_0x5c0770){const _0x22e7ec=Array['from'](_0x5c0770['markers'])['map'](([_0x14aca1,_0x4ecb59])=>[_0x14aca1,this['_fixRange'](_0x4ecb59,_0x466a29)]);_0x466a29['markers']=new Map(_0x22e7ec);}['_transformMarkers'](_0x31e206){for(const _0x48abbe of this['_markers']['values']()){const _0x664575=_0x48abbe['getTransformedByOperation'](_0x31e206),_0x2ff92e=vt['_createFromRanges'](_0x664575);_0x48abbe['start']=_0x2ff92e['start'],_0x48abbe['end']=_0x2ff92e['end'];}}['_handleOperation'](_0x38176b,_0x424aa6){if('addRoot'==_0x38176b['type']||'detachRoot'==_0x38176b['type'])return void this['_handleRootOperation'](_0x38176b,_0x424aa6);if('insert'==_0x38176b['type']){const _0x45376d=_0x38176b['position']['root']['rootName'];this['_diffRoots']['has'](_0x45376d)||(this['_diffRoots']['set'](_0x45376d,G(_0x45376d,!0x0)),this['_diffRootsAttributes']['set'](_0x45376d,{}),_0x424aa6&&this['_idsRoots']['set'](_0x45376d,G(_0x45376d,!0x0)));}else{if('addRootAttribute'==_0x38176b['type']||'removeRootAttribute'==_0x38176b['type']||'changeRootAttribute'==_0x38176b['type'])return void this['_handleRootAttributeOperation'](_0x38176b);}const _0x501a38=this['_cloneOperation'](_0x38176b,this['_diffRoots']);if('marker'!==_0x38176b['type']&&(_0x501a38['_execute'](),this['_transformMarkers'](_0x501a38)),_0x424aa6)switch(_0x501a38['type']){case'insert':this['_handleInsertOperation'](_0x38176b);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x38176b);break;case'merge':this['_handleMergeOperation'](_0x38176b);break;case'split':this['_handleSplitOperation'](_0x38176b);break;case'marker':this['_handleMarkerOperation'](_0x38176b);}}['_cloneOperation'](_0x4c1740,_0xf21386){const _0x2a6445=_0x4c1740['clone']();return _0x2a6445['_authorId']=_0x4c1740['_authorId'],this['_fixOperation'](_0x2a6445,_0xf21386),_0x2a6445;}['_getBaseVids'](_0x2a1b90){return _0x2a1b90['map'](_0x2d2503=>{const _0x9eb99b=this['_getVidAttributeName'](_0x2d2503);return Number(_0x2d2503['item']['getAttribute'](_0x9eb99b));});}['_generateTape'](_0x2b4363,_0x52f93d){if(_0x2b4363['is']('element','$text'))_0x52f93d['push']({'item':_0x2b4363,'type':'text'});else{_0x2b4363['is']('element')&&_0x52f93d['push']({'item':_0x2b4363,'type':'elementStart'});for(const _0xaa0533 of _0x2b4363['getChildren']())this['_generateTape'](_0xaa0533,_0x52f93d);_0x2b4363['is']('element')&&_0x52f93d['push']({'item':_0x2b4363,'type':'elementEnd'});}return _0x52f93d;}['_getState'](){const _0x6538d=new Map(this['_touched']),_0x45aa98=new Map(_0x6538d),_0xda6452=new Map(),_0x13fd31={'insertions':{},'deletions':{}},_0x5db878={'insertions':{},'deletions':{}},_0x4ee7f5=new Map(),_0x240417=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x240417['delete']('$graveyard');for(const _0x27274d of _0x240417){const _0x38cd91=this['_diffRoots']['get'](_0x27274d)||G(_0x27274d,!0x1),_0x3250a0=this['_baseRoots']['get'](_0x27274d)||G(_0x27274d,!0x1);_0x38cd91['isAttached']()||_0x3250a0['isAttached']()?(_0x13fd31['insertions'][_0x27274d]=q(_0x38cd91),_0x13fd31['deletions'][_0x27274d]=q(_0x3250a0),this['_copyMarkers'](_0x13fd31['deletions'][_0x27274d],_0x3250a0),this['_copyMarkers'](_0x13fd31['insertions'][_0x27274d],_0x38cd91),_0x5db878['insertions'][_0x27274d]=this['_generateTape'](this['_idsRoots']['get'](_0x27274d),[]),_0x5db878['deletions'][_0x27274d]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x27274d)||G(_0x27274d,!0x1),[])):_0x240417['delete'](_0x27274d);}for(const _0x11c0c7 of _0x240417){const _0xb238ea=_0x5db878['insertions'][_0x11c0c7];for(const _0x4d16fc of _0xb238ea){const _0x2f7a67=this['_getVidAttributeName'](_0x4d16fc),_0x1a9712=_0x4d16fc['item']['getAttribute'](_0x2f7a67);_0x45aa98['delete'](_0x1a9712),_0x1a9712>=this['_startingRevisionId']&&_0xda6452['set'](_0x1a9712,_0x6538d['get'](_0x1a9712));}}for(const _0x2b98ab of _0x240417){const _0x18cefe=_0x5db878['insertions'][_0x2b98ab],_0x527217=this['_getBaseVids'](_0x5db878['deletions'][_0x2b98ab]);let _0x11fd7e=0x0;for(const _0x39310c of _0x18cefe){const _0x3ca131=this['_getVidAttributeName'](_0x39310c),_0x8114=_0x39310c['item']['getAttribute'](_0x3ca131);if(!_0xda6452['has'](_0x8114)&&!_0x4ee7f5['has'](_0x8114)){if(_0x45aa98['has'](_0x8114))_0x11fd7e++;else{if(_0x8114!=_0x527217[_0x11fd7e]){const _0x190c62=_0x6538d['get'](_0x8114)||_0x6538d['get'](_0x527217[_0x11fd7e]);for(;_0x8114!=_0x527217[_0x11fd7e];)_0x45aa98['has'](_0x527217[_0x11fd7e])||(_0x4ee7f5['set'](_0x527217[_0x11fd7e],_0x190c62),_0x6538d['set'](_0x527217[_0x11fd7e],_0x190c62)),_0x11fd7e++;}_0x11fd7e++;}}}}for(const _0x341dbd of _0x240417){const _0x24352b=_0x5db878['insertions'][_0x341dbd];for(const _0x156d6b of _0x24352b){const _0x5254f5=this['_getVidAttributeName'](_0x156d6b),_0x2d830b=_0x156d6b['item']['getAttribute'](_0x5254f5);if(_0x4ee7f5['has'](_0x2d830b)){const _0x2c7968=_0x4ee7f5['get'](_0x2d830b);_0x45aa98['has'](_0x2d830b)||_0x45aa98['set'](_0x2d830b,{..._0x2c7968}),_0xda6452['set'](_0x2d830b,{..._0x2c7968});}}}for(const _0x220485 of _0x45aa98['keys']())_0x220485>=this['_startingRevisionId']&&_0x45aa98['delete'](_0x220485);const _0x32abe3=new Map();for(const _0x3223bb of _0x240417){let _0x22a813=_0x5db878['insertions'][_0x3223bb];for(const _0x48cdcb of _0x22a813)if(_0x48cdcb['item']['is']('element','tableCell')){const _0x14f9d2=this['_getVidAttributeName'](_0x48cdcb),_0x122e8c=_0x48cdcb['item']['getAttribute'](_0x14f9d2);if(_0xda6452['has'](_0x122e8c)){const _0x48553b=_0x48cdcb['item']['parent']['parent']['getAttribute']('vid_start'),_0x4235bf=_0x32abe3['get'](_0x48553b)||new Set();_0x4235bf['add'](_0xda6452['get'](_0x122e8c)['userId']),_0x32abe3['set'](_0x48553b,_0x4235bf);}}_0x22a813=_0x5db878['deletions'][_0x3223bb];for(const _0x4a6b2c of _0x22a813)if(_0x4a6b2c['item']['is']('element','tableCell')){const _0x34be0c=this['_getVidAttributeName'](_0x4a6b2c),_0x26c13a=_0x4a6b2c['item']['getAttribute'](_0x34be0c);if(_0x45aa98['has'](_0x26c13a)){const _0x13a324=_0x4a6b2c['item']['parent']['parent']['getAttribute']('vid_start'),_0x4de350=_0x32abe3['get'](_0x13a324)||new Set();_0x4de350['add'](_0x45aa98['get'](_0x26c13a)['userId']),_0x32abe3['set'](_0x13a324,_0x4de350);}}for(const _0x21358a of _0x32abe3['keys']())(_0xda6452['has'](_0x21358a)||_0x45aa98['has'](_0x21358a))&&_0x32abe3['delete'](_0x21358a);}for(const _0x1397b5 of _0x240417){const _0x3164ed=_0x5db878['insertions'][_0x1397b5];let _0x397bb8=null,_0x1aeee7=null;for(const _0x4c75d2 of _0x3164ed){const _0x2072d9=this['_getVidAttributeName'](_0x4c75d2),_0x3f46f8=_0x4c75d2['item']['getAttribute'](_0x2072d9),_0x34cb0c=_0x32abe3['get'](_0x3f46f8);_0x34cb0c&&'elementStart'==_0x4c75d2['type']&&(_0x397bb8=Array['from'](_0x34cb0c)[0x0],_0x1aeee7=_0x4c75d2['item']['getAttribute']('vid_end')),_0x397bb8&&(_0x45aa98['set'](_0x3f46f8,{'userId':_0x397bb8}),_0xda6452['set'](_0x3f46f8,{'userId':_0x397bb8})),_0x3f46f8==_0x1aeee7&&(_0x397bb8=null,_0x1aeee7=null);}}const _0x16113a={},_0x4bc9e5=new Set();for(const _0x39b9bd of _0x240417){const _0x2045a9=_0x13fd31['deletions'][_0x39b9bd],_0x326267=_0x13fd31['insertions'][_0x39b9bd];for(const {userId:_0x4480a9}of this['_touchedMarkers']['values']())null!==_0x4480a9&&_0x4bc9e5['add'](_0x4480a9);for(const {userId:_0x164f2f}of this['_touchedRoots']['values']())null!==_0x164f2f&&_0x4bc9e5['add'](_0x164f2f);this['_markChanges'](_0x326267,_0x5db878['insertions'][_0x39b9bd],_0xda6452,'insertion',_0x4bc9e5),this['_markChanges'](_0x2045a9,_0x5db878['deletions'][_0x39b9bd],_0x45aa98,'deletion',_0x4bc9e5),_0x16113a[_0x39b9bd]={'insertions':this['_prepareViewToSave'](_0x326267),'deletions':this['_prepareViewToSave'](_0x2045a9),'attachChange':this['_touchedRoots']['get'](_0x39b9bd)||null,'attributesBefore':_0x4fd32e(this['_baseRootsAttributes']['get'](_0x39b9bd))||{},'attributesAfter':_0x4fd32e(this['_diffRootsAttributes']['get'](_0x39b9bd))};}return{'diffData':_0x16113a,'authorsIds':Array['from'](_0x4bc9e5)};}['_processRootBeforeSave'](_0x4a3693){for(const [,_0x196de1]of _0x4a3693['markers']){const _0x5dab2f=_0x196de1['start']['getAncestors']()['filter'](_0x353766=>'tableCell'==_0x353766['name']);for(const _0x1ce2b7 of _0x5dab2f)0x1==_0x1ce2b7['childCount']&&_0x1ce2b7['getChild'](0x0)['is']('element','paragraph')&&_0x1ce2b7['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5733f1){this['_processRootBeforeSave'](_0x5733f1);const _0x49cb06=this['editor']['data']['toView'](_0x5733f1,{}),_0x1f69ae=Array['from'](_0x49cb06['getChildren']())['map'](_0x5bc4b6=>this['_getViewJson'](_0x5bc4b6));return JSON['stringify'](_0x1f69ae);}['_getViewJson'](_0x59e4d8){if(_0x59e4d8['is']('$text'))return _0x59e4d8['data'];{const _0x482fd4=_0x59e4d8;return{'type':Object['keys'](T)['find'](_0x5969b8=>_0x59e4d8 instanceof T[_0x5969b8]),'name':_0x482fd4['name'],'attributes':Array['from'](_0x482fd4['getAttributes']()),'children':Array['from'](_0x482fd4['getChildren']())['map'](_0x349315=>this['_getViewJson'](_0x349315))};}}['_markChanges'](_0xd7a69d,_0x263675,_0x584bd1,_0x4a30b,_0x3a2af1){let _0x236ad2=null,_0x2c8d63=null,_0x385a16=0x0;const _0x33f488=this['editor']['model'];for(let _0x46589b=0x0;_0x46589b<_0x263675['length'];_0x46589b++){const _0x3dea29=this['_getVidAttributeName'](_0x263675[_0x46589b]),_0x2bc51c=_0x263675[_0x46589b]['item']['getAttribute'](_0x3dea29),_0x1d7986=_0x584bd1['get'](_0x2bc51c),_0x52eb7f=_0x46589b==_0x263675['length']-0x1;(!_0x236ad2&&_0x1d7986&&(_0x236ad2=_0x1d7986,_0x2c8d63=_0x263675[_0x46589b]),_0x236ad2&&(!_0x1d7986||_0x1d7986['userId']!=_0x236ad2['userId']))&&(_0x516e7a(_0x1d7986,L(_0x2c8d63,_0xd7a69d,_0x33f488),L(_0x263675[_0x46589b],_0xd7a69d,_0x33f488)),_0x236ad2=_0x1d7986||null,_0x2c8d63=_0x1d7986?_0x263675[_0x46589b]:null),_0x236ad2&&_0x52eb7f&&_0x516e7a(_0x1d7986,L(_0x2c8d63,_0xd7a69d,_0x33f488),W(_0x263675[_0x46589b],_0xd7a69d,_0x33f488));}function _0x516e7a(_0x40a033,_0x1be1fb,_0x23dbb5){const _0x4e735c=_0x236ad2['userId'],_0x35e83a='revision:'+_0x4a30b+':'+_0x4e735c+':'+_0x385a16++,_0x13c492=_0x33f488['createRange'](_0x1be1fb,_0x23dbb5);_0xd7a69d['markers']['set'](_0x35e83a,_0x13c492),null!==_0x4e735c&&_0x3a2af1['add'](_0x4e735c);}}['_getVidAttributeName'](_0xf85106){switch(_0xf85106['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2eb09c,_0x66f9bb){_0x2eb09c['baseVersion']=null;for(const _0x524152 in _0x2eb09c){const _0x15355d=_0x2eb09c[_0x524152];if(_0x15355d instanceof gt){const _0x59d90e=_0x66f9bb['get'](_0x15355d['root']['rootName']);_0x2eb09c[_0x524152]=this['_fixPosition'](_0x15355d,_0x59d90e);}if(_0x15355d instanceof vt){const _0x3fed83=_0x66f9bb['get'](_0x15355d['root']['rootName']);_0x2eb09c[_0x524152]=this['_fixRange'](_0x15355d,_0x3fed83);}'root'===_0x524152&&(_0x2eb09c['root']=_0x66f9bb['get'](_0x2eb09c['root']['rootName']));}}['_fixRange'](_0xd72e8f,_0x47c6f0){return this['editor']['model']['createRange'](this['_fixPosition'](_0xd72e8f['start'],_0x47c6f0),this['_fixPosition'](_0xd72e8f['end'],_0x47c6f0));}['_fixPosition'](_0x21479b,_0x298ae5){return this['editor']['model']['createPositionFromPath'](_0x298ae5,_0x21479b['path'],_0x21479b['stickiness']);}['_handleInsertOperation'](_0x4d9a3c){const _0x1ab979=this['_idsRoots']['get'](_0x4d9a3c['position']['root']['rootName']),_0x529de0=this['_fixPosition'](_0x4d9a3c['position'],_0x1ab979),_0xe065c2=null===_0x4d9a3c['_authorId']?null:_0x4d9a3c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a67e6=_0x529de0['parent'],_0x25c51b=this['_revisionId'],_0x14033a=[];for(const _0x3cc566 of _0x4d9a3c['nodes'])if(_0x3cc566['is']('element'))_0x14033a['push'](this['_makeIdsRoot'](_0x3cc566));else{for(let _0x42c28b=0x0;_0x42c28b<_0x3cc566['offsetSize'];_0x42c28b++)_0x14033a['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x125f21=this['_revisionId'];for(let _0x30c65c=_0x25c51b;_0x30c65c<_0x125f21;_0x30c65c++)this['_touched']['set'](_0x30c65c,{'userId':_0xe065c2});_0x2a67e6['_insertChild'](_0x529de0['offset'],_0x14033a);}['_handleMoveOperation'](_0xfe53eb){(_0xfe53eb=this['_cloneOperation'](_0xfe53eb,this['_idsRoots']))['_execute']();const _0x4df22d=null===_0xfe53eb['_authorId']?null:_0xfe53eb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x364595=_0xfe53eb['getMovedRangeStart'](),_0x5d4eda=_0x364595['parent'],_0x2226fa=_0x364595['offset'];!function _0x48e0ee(_0x2fa0fb,_0x4cc3c9,_0x4a9bc0,_0x2a371d){for(let _0x44bd70=_0x4a9bc0;_0x44bd70<_0x2a371d;_0x44bd70++){const _0x41dab5=_0x4cc3c9['getChild'](_0x44bd70);_0x41dab5['is']('element','$text')?_0x2fa0fb['set'](_0x41dab5['getAttribute']('vid'),{'userId':_0x4df22d}):(_0x2fa0fb['set'](_0x41dab5['getAttribute']('vid_start'),{'userId':_0x4df22d}),_0x48e0ee(_0x2fa0fb,_0x41dab5,0x0,_0x41dab5['childCount']),_0x2fa0fb['set'](_0x41dab5['getAttribute']('vid_end'),{'userId':_0x4df22d}));}}(this['_touched'],_0x5d4eda,_0x2226fa,_0x2226fa+_0xfe53eb['howMany']);}['_handleMergeOperation'](_0x37687f){const _0x411120=null===(_0x37687f=this['_cloneOperation'](_0x37687f,this['_idsRoots']))['_authorId']?null:_0x37687f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e78ff=_0x37687f['targetPosition']['parent'],_0x5d6d2a=_0x37687f['sourcePosition']['parent'],_0x37499f=_0x5e78ff['getAttribute']('vid_end'),_0x139ef6=_0x5d6d2a['getAttribute']('vid_start');_0x5e78ff['_setAttribute']('vid_end',_0x5d6d2a['getAttribute']('vid_end')),_0x5d6d2a['_setAttribute']('vid_end',_0x37499f),this['_touched']['set'](_0x139ef6,{'userId':_0x411120}),this['_touched']['set'](_0x37499f,{'userId':_0x411120}),_0x37687f['_execute']();}['_handleSplitOperation'](_0x335b4f){const _0x3fe451=null===(_0x335b4f=this['_cloneOperation'](_0x335b4f,this['_idsRoots']))['_authorId']?null:_0x335b4f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e8c07=_0x335b4f['graveyardPosition'],_0x733cbd=_0x335b4f['splitPosition']['parent'];_0x335b4f['_execute']();const _0x1a8238=_0x733cbd['getAttribute']('vid_end'),_0x3aca26=_0x335b4f['insertionPosition']['nodeAfter'];if(_0x1e8c07){const _0x583fcd=_0x3aca26['getAttribute']('vid_end'),_0x2e7b09=_0x733cbd['getAttribute']('vid_end');_0x733cbd['_setAttribute']('vid_end',_0x583fcd),_0x3aca26['_setAttribute']('vid_end',_0x2e7b09),this['_touched']['set'](_0x733cbd['getAttribute']('vid_end'),{'userId':_0x3fe451}),this['_touched']['set'](_0x3aca26['getAttribute']('vid_start'),{'userId':_0x3fe451});}else{const _0x4ce646=this['_revisionId']++,_0x57abac=this['_revisionId']++;_0x733cbd['_setAttribute']('vid_end',_0x4ce646),_0x3aca26['_setAttribute']('vid_start',_0x57abac),_0x3aca26['_setAttribute']('vid_end',_0x1a8238),this['_touched']['set'](_0x4ce646,{'userId':_0x3fe451}),this['_touched']['set'](_0x57abac,{'userId':_0x3fe451});}}['_handleMarkerOperation'](_0x46c627){if(!_0x46c627['affectsData'])return;const _0x551500=(_0x46c627=this['_cloneOperation'](_0x46c627,this['_diffRoots']))['oldRange']?_0x46c627['oldRange']['root']:null,_0x4455a7=_0x46c627['newRange']?_0x46c627['newRange']['root']:null;_0x551500&&this['_markers']['delete'](_0x46c627['name']),_0x4455a7&&this['_markers']['set'](_0x46c627['name'],_0x46c627['newRange']['clone']());const _0x3d87e8=null===_0x46c627['_authorId']?null:_0x46c627['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x269497=_0x46c627['name'];if(!this['_touchedMarkers']['has'](_0x269497))return void this['_touchedMarkers']['set'](_0x269497,{'range':_0x46c627['oldRange'],'userId':_0x3d87e8});const _0x4a7e93=this['_touchedMarkers']['get'](_0x269497),_0x1fdca1=_0x4a7e93['range'],_0x44ce14=_0x46c627['newRange'];null==_0x1fdca1&&null==_0x44ce14||_0x1fdca1&&_0x44ce14&&_0x1fdca1['isEqual'](_0x44ce14)?this['_touchedMarkers']['delete'](_0x46c627['name']):_0x4a7e93['userId']=_0x3d87e8;}['_handleRootOperation'](_0x288bfa,_0x378ec9){this['_diffRoots']['has'](_0x288bfa['rootName'])?this['_diffRoots']['get'](_0x288bfa['rootName'])['_isAttached']=_0x288bfa['isAdd']:(this['_diffRoots']['set'](_0x288bfa['rootName'],G(_0x288bfa['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x288bfa['rootName'],{}),_0x378ec9&&this['_idsRoots']['set'](_0x288bfa['rootName'],G(_0x288bfa['rootName'],!0x0)));const _0x45afc0=null===_0x288bfa['_authorId']?null:_0x288bfa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c415d=this['_touchedRoots']['get'](_0x288bfa['rootName']);_0x4c415d&&_0x4c415d['userId']===_0x45afc0?this['_touchedRoots']['delete'](_0x288bfa['rootName']):this['_touchedRoots']['set'](_0x288bfa['rootName'],{'userId':_0x45afc0,'isAttached':_0x288bfa['isAdd']});}['_handleRootAttributeOperation'](_0xfa9c01){const _0x5df081=this['_diffRootsAttributes']['get'](_0xfa9c01['root']['rootName']);null===_0xfa9c01['newValue']?delete _0x5df081[_0xfa9c01['key']]:_0x5df081[_0xfa9c01['key']]=_0xfa9c01['newValue'];}}function q(_0x15c5a4){const _0x5c1c04=G(_0x15c5a4['rootName'],_0x15c5a4['isAttached']());for(const _0x3493b8 of _0x15c5a4['getChildren']()){const _0xe3e687=_0x3493b8['_clone'](!0x0);_0x5c1c04['_appendChild'](_0xe3e687);}return _0x5c1c04;}function G(_0x1787da,_0x4e4de2=!0x0){const _0x346e8c=new wt();return _0x346e8c['rootName']=_0x1787da,_0x346e8c['_isAttached']=_0x4e4de2,_0x346e8c['isAttached']=()=>_0x346e8c['_isAttached'],_0x346e8c;}function L(_0x3e5ede,_0x4d152f,_0x4126ea){const _0x35c398='elementEnd'==_0x3e5ede['type']?_0x4126ea['createPositionAt'](_0x3e5ede['item'],'end'):_0x4126ea['createPositionBefore'](_0x3e5ede['item']);return _0x4126ea['createPositionFromPath'](_0x4d152f,_0x35c398['path'],_0x35c398['stickiness']);}function W(_0x3b25cf,_0xc9dbb,_0x111090){const _0x4954b7='elementStart'==_0x3b25cf['type']?_0x111090['createPositionAt'](_0x3b25cf['item'],0x0):_0x111090['createPositionAfter'](_0x3b25cf['item']);return _0x111090['createPositionFromPath'](_0xc9dbb,_0x4954b7['path'],_0x4954b7['stickiness']);}class ns extends _0x11617e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x499e8a,_0xa2e43f){super(_0x499e8a),this['focusTracker']=new _0xbc1773(),this['keystrokes']=new _0x58a2da(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xa2e43f),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'](),_0x194e33({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x276bfd=_0x187958=>_0x187958['stopPropagation']();this['keystrokes']['set']('arrowright',_0x276bfd),this['keystrokes']['set']('arrowleft',_0x276bfd),this['keystrokes']['set']('arrowup',_0x276bfd),this['keystrokes']['set']('arrowdown',_0x276bfd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x51bbf1){this['revisionNameInputView']['fieldView']['element']['value']=_0x51bbf1['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x34f4c8){const _0x1e8d13=new at(this['locale'],_0x2f092a),_0x482a8d=_0x1e8d13['fieldView'];_0x482a8d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x449914=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x34f4c8&&(_0x449914+='\x20('+y(this['locale'],'optional')+')'),(_0x1e8d13['label']=_0x449914,_0x482a8d['on']('input',()=>{this['revisionNameInputValue']=_0x482a8d['element']['value']['trim']();}),_0x1e8d13);}}class u extends _0x462677{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x13aa3c=this['editor'],_0x9f75ec=_0x13aa3c['plugins']['get']('RevisionTracker');_0x13aa3c['ui']['componentFactory']['add']('revisionHistory',_0x55e7af=>{const _0x59da01=_0x321ef6(_0x55e7af),_0x3672c2=_0x59da01['panelView']['children'],_0x1d9240=new te(_0x55e7af),_0x22394f=new _0x37fa9b(_0x55e7af),_0x12bdfa=new _0x3fc38a(_0x55e7af),_0x3b4b9a=new _0x37fa9b(_0x55e7af),_0x387a8d=new _0x3fc38a(_0x55e7af);return _0x59da01['bind']('isEnabled')['to'](_0x9f75ec,'isReady',_0x9f75ec,'isEnabled',_0x13aa3c,'isReadOnly',(_0x119496,_0x4a82ef,_0x4d388a)=>_0x119496&&_0x4a82ef&&!_0x4d388a),_0x59da01['buttonView']['set']({'icon':_0xea3c15['history'],'label':y(_0x55e7af,'Revision\x20history'),'tooltip':!0x0}),_0x12bdfa['set']({'label':y(_0x55e7af,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x12bdfa['bind']('isEnabled')['to'](_0x9f75ec,'isReady',_0x9f75ec,'isEnabled',_0x13aa3c,'isReadOnly',(_0x34ce3b,_0x5541a6,_0x59b9a2)=>_0x34ce3b&&_0x5541a6&&!_0x59b9a2),_0x12bdfa['on']('execute',()=>this['_showDialog']()),_0x387a8d['set']({'label':y(_0x55e7af,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x387a8d['bind']('isEnabled')['to'](_0x9f75ec,'isReady',_0x13aa3c,'isReadOnly',(_0x31fda4,_0x162a6b)=>_0x31fda4&&!_0x162a6b),_0x387a8d['on']('execute',()=>{_0x13aa3c['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x59da01['isOpen']=!0x1,_0x13aa3c['editing']['view']['focus']();}),_0x22394f['children']['add'](_0x12bdfa),_0x3b4b9a['children']['add'](_0x387a8d),_0x1d9240['role']='menu',_0x1d9240['items']['addMany']([_0x22394f,_0x3b4b9a]),_0x3672c2['add'](_0x1d9240),_0x59da01;}),_0x13aa3c['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x474cd3=this['editor'],_0x1da50b=_0x474cd3['locale'],_0x44163a=new _0x3daedb(_0x1da50b),_0x5cf40a=new _0x4b0ab7(_0x1da50b);_0x44163a['buttonView']['set']({'icon':_0xea3c15['history'],'label':y(_0x1da50b,'Revision\x20history')});const _0x4a96db=new _0x3e308c(_0x1da50b,_0x44163a),_0x50b57e=new _0xcf915e(_0x1da50b);_0x50b57e['set']({'label':y(_0x1da50b,'Save\x20current\x20revision')}),_0x50b57e['delegate']('execute')['to'](_0x44163a),_0x50b57e['on']('execute',()=>{this['_showDialog']();}),_0x4a96db['children']['add'](_0x50b57e),_0x5cf40a['items']['add'](_0x4a96db);const _0x4b5771=new _0x3e308c(_0x1da50b,_0x44163a),_0x4cbbe9=new _0xcf915e(_0x1da50b);return _0x4cbbe9['set']({'label':y(_0x1da50b,'Open\x20revision\x20history')}),_0x4cbbe9['delegate']('execute')['to'](_0x44163a),_0x4cbbe9['on']('execute',()=>{_0x474cd3['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4b5771['children']['add'](_0x4cbbe9),_0x5cf40a['items']['add'](_0x4b5771),_0x44163a['panelView']['children']['add'](_0x5cf40a),_0x44163a;}['_showDialog'](){const _0x2bae4=this['editor'],_0x557f1e=_0x2bae4['locale'],_0xdff79a=_0x2bae4['plugins']['get']('Dialog'),_0x4ffdc0=_0x2bae4['plugins']['get']('RevisionTracker');function _0x54284d(_0xa03a60){_0x2bae4['config']['get']('revisionHistory.requireRevisionName')&&''===_0xa03a60['revisionName']?_0xa03a60['revisionNameInputView']['errorText']=y(_0x557f1e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2bae4['plugins']['get'](l)['saveRevision']({'name':_0xa03a60['revisionName']}),_0xdff79a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x54284d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xdff79a['show']({'id':'revisionSave','title':y(_0x557f1e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2bae4['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0xdff79a['hide']()},{'label':y(_0x2bae4['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x38a861){_0x38a861['bind']('isEnabled')['to'](_0x4ffdc0,'isReady',_0x4ffdc0,'isEnabled',_0x2bae4,'isReadOnly',(_0x2d056c,_0x5624ae,_0x4bb7ac)=>_0x2d056c&&_0x5624ae&&!_0x4bb7ac);},'onExecute':()=>_0x54284d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x46759e=this['editor'],_0x38f303=_0x46759e['locale'];this['_saveRevisionFormView']=new ns(_0x38f303,_0x46759e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x11617e{['changeId'];['_model'];constructor(_0x34c625,_0x19bf83){super(_0x34c625),this['_model']=_0x19bf83,this['changeId']=_0x19bf83['id'];const _0x4b561c=this['bindTemplate'],_0x4e189a=y(_0x34c625,_0x19bf83['data']['isSuggestion']?'Suggested\x20by':'add'==_0x19bf83['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x19bf83['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4b561c['to']('type',_0xda164f=>'ck-revision-change__'+_0xda164f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4e189a}]},{'text':'\x20'+_0x19bf83['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x92358b(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x38e6db){super(),this['id']=_0x38e6db['id']||_0x3f8fcb(),this['author']=_0x38e6db['author'],this['type']=_0x38e6db['type'],this['data']=_0x38e6db['data']||{},this['rootName']=_0x38e6db['rootName'],this['set']('createdAt',_0x38e6db['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(_0x194f87,_0xf592b4){this['newRevisionId']=_0x194f87,this['oldRevisionId']=_0xf592b4,this['changes']=new _0x49389d();}['_setChanges'](_0x3a2e0a){for(const _0x22baa4 of _0x3a2e0a)this['changes']['add'](_0x22baa4);}}const tt={'c':_0x422e4d,'a':_0x60d33c,'e':_0x138d0a,'r':_0x2224cc,'u':_0x563085};class d extends _0x462677{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5931b2,_0x1b6a3f,A];}constructor(_0x56eb25){super(_0x56eb25),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',(_0x5e1252,_0x3c971a,_0x2ffbec)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x39510b=>{for(const _0x1c1faa of this['editor']['editing']['view']['document']['roots'])_0x2ffbec?_0x39510b['removeClass']('ck-editor__editable__overlay',_0x1c1faa):_0x39510b['addClass']('ck-editor__editable__overlay',_0x1c1faa);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3c1715=>null!==_0x3c1715),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4e476b,_0xd9e646,_0x18d457)=>_0x4e476b&&_0x18d457?_0xd9e646['changes']['getIndex'](_0x18d457):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x6cc5dd,_0x17d025)=>_0x6cc5dd?_0x17d025['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1b6a3f);}['init'](){const _0x567602=this['editor'],_0x364aac=new yt(_0x567602,{'direction':'backward'}),_0x40e710=new yt(_0x567602,{'direction':'forward'});(_0x567602['commands']['add']('showPreviousChange',_0x364aac),_0x567602['commands']['add']('showNextChange',_0x40e710),_0x567602['commands']['add']('restoreRevision',new bt(_0x567602)),this['on']('change:numberOfChanges',()=>{_0x364aac['refresh'](),_0x40e710['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x567602['enableReadOnlyMode']('revision-viewer'),_0x567602['plugins']['has']('WidgetToolbarRepository'))&&_0x567602['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5c58bf){await this['loadRevisionData'](_0x5c58bf);const _0xf6630d={};for(const _0x493275 in _0x5c58bf['diffData']){if(_0x5c58bf['diffData'][_0x493275]['attachChange']&&!_0x5c58bf['diffData'][_0x493275]['attachChange']['isAttached'])continue;const _0xfaab94=this['_removeRevisionMarkers'](JSON['parse'](_0x5c58bf['diffData'][_0x493275]['insertions'])),_0x33e5b8=this['editor']['editing']['view']['document'],_0x1e6f39=new _0x333809(_0x33e5b8,_0xfaab94['map'](_0x55aa2b=>this['_getViewObj'](_0x55aa2b)));this['editor']['data']['processor']['useFillerType']('marked'),_0xf6630d[_0x493275]=this['editor']['data']['processor']['toData'](_0x1e6f39),this['editor']['data']['processor']['useFillerType']('default');}return _0xf6630d;}async['getRevisionRootsAttributes'](_0x36835d){await this['loadRevisionData'](_0x36835d);const _0x16854c={};for(const _0x1c0257 in _0x36835d['diffData'])_0x36835d['diffData'][_0x1c0257]['attachChange']&&!_0x36835d['diffData'][_0x1c0257]['attachChange']['isAttached']||(_0x16854c[_0x1c0257]=_0x36835d['diffData'][_0x1c0257]['attributesAfter']||{});return _0x16854c;}['_removeRevisionMarkers'](_0x5bd1d7){return(_0x5bd1d7=_0x5bd1d7['filter'](_0x5bf618=>!_0x5bf618['name']||'revision-start'!==_0x5bf618['name']&&'revision-end'!==_0x5bf618['name']))['forEach'](_0x5e490c=>{'string'!=typeof _0x5e490c&&(_0x5e490c['children']=this['_removeRevisionMarkers'](_0x5e490c['children']),_0x5e490c['attributes']=_0x5e490c['attributes']['filter'](_0x28ef68=>!_0x28ef68[0x0]['startsWith']('data-revision-')));}),_0x5bd1d7;}async['compare'](_0x382c8b,_0x483751,_0x26aa60=!0x1){if(!this['isEnabled'])return;const _0x3c8019=this['diff'],_0x5c674a=this['repository'],_0x4d7098='string'==typeof _0x382c8b?_0x5c674a['getRevision'](_0x382c8b):_0x382c8b,_0x30e100='string'==typeof _0x483751?_0x5c674a['getRevision'](_0x483751):_0x483751,_0xe2317f=_0x4d7098['id'],_0x3aac0d=_0x30e100?_0x30e100['id']:null;if(!_0x26aa60&&this['diff']&&this['diff']['newRevisionId']===_0xe2317f&&this['diff']['oldRevisionId']===_0x3aac0d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xe2317f,_0x3aac0d);const _0x582912=this['_getRevisionsRange'](_0x4d7098,_0x30e100,!0x0)['map'](_0x56a927=>this['loadRevisionData'](_0x56a927));return _0x582912['push'](new Promise(_0x404067=>{setTimeout(_0x404067,0x14);})),Promise['all'](_0x582912)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2d4c14=this['_getDiff'](_0xe2317f,_0x3aac0d);for(const _0x4f7226 of _0x2d4c14['changes'])this['_changeIdToChange']['set'](_0x4f7226['id'],_0x4f7226);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3bf110=>{for(const _0x56524b of this['editor']['model']['document']['getRootNames']())_0x3bf110['detachRoot'](_0x56524b);for(const _0x7ee98e of Object['keys'](_0x2d4c14['model'])){const _0x3bd581=_0x3bf110['addRoot'](_0x7ee98e);for(const _0x37eb6a of Object['keys'](_0x2d4c14['attributes'][_0x7ee98e]))_0x3bf110['setAttribute'](_0x37eb6a,_0x2d4c14['attributes'][_0x7ee98e][_0x37eb6a],_0x3bd581);_0x3bf110['insert'](_0x2d4c14['model'][_0x7ee98e],_0x3bd581,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2d4c14['changes'])),this['isReady']=!0x0;})['catch'](_0xf99ec6=>{console['error'](_0xf99ec6),this['_cleanUp'](),_0x3c8019&&(this['diff']=_0x3c8019),this['isReady']=!0x0;});}['addRevisionData'](_0x220a56,_0x30af6a){const _0x54310d=this['repository']['createRevision'](_0x220a56);return _0x54310d['on']('_update',(_0x489d63,_0x34a6dc,_0x135374)=>_0x30af6a(_0x34a6dc,_0x135374,_0x54310d)),this['repository']['addRevision'](_0x54310d),_0x54310d;}['loadRevisionData'](_0x182338){if(!_0x182338||_0x182338['diffData'])return Promise['resolve']();{const _0x59491b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x59491b,'revisionId':_0x182338['id']})['then'](_0x5e9f39=>{_0x182338['_update']({'diffData':_0x5e9f39['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},_0x2562c6=>{for(const _0x56b8bb of this['editor']['model']['document']['getRootNames']())_0x2562c6['detachRoot'](_0x56b8bb);});}['_sortAndFilterDiffChanges'](_0x1534d5){const _0xd365bc=[],_0x44806b=new Map();for(const _0x2e582a of this['editor']['model']['document']['getRootNames']()){const _0x3e2438=this['editor']['editing']['view']['getDomRoot'](_0x2e582a);if(!_0x3e2438)continue;const _0x4270fc=_0x3e2438['getClientRects']()['item'](0x0);_0x4270fc&&(_0xd365bc['push'](_0x2e582a),_0x44806b['set'](_0x2e582a,_0x4270fc));}return _0xd365bc['sort']((_0x3adf66,_0x179b25)=>{const _0x18799f=_0x44806b['get'](_0x3adf66),_0xed7ad8=_0x44806b['get'](_0x179b25);return _0x18799f['y']-_0xed7ad8['y']||_0x18799f['x']-_0xed7ad8['x'];}),(_0x1534d5=_0x1534d5['filter'](_0x4fc59c=>_0xd365bc['includes'](_0x4fc59c['rootName'])))['sort']((_0x2fe5f4,_0x2ddfef)=>_0xd365bc['indexOf'](_0x2fe5f4['rootName'])-_0xd365bc['indexOf'](_0x2ddfef['rootName'])),_0x1534d5;}['_makeTape'](_0x3dcb9c){const _0x47d3dd=Array['from'](_0x3dcb9c['markers'])['filter'](([_0x432304,_0x173102])=>_0x432304['startsWith']('revision:')&&!_0x173102['isCollapsed']),_0x44676a=Array['from'](this['editor']['model']['createRangeIn'](_0x3dcb9c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x47d3dd['length'])for(const _0x3e432b of _0x44676a){const [_0x3f69ad,_0x4e19d0]=_0x47d3dd[0x0],[,_0x576713,_0x4efb6f]=_0x3f69ad['split'](':');if(_0x4e19d0['end']['isEqual'](_0x3e432b['nextPosition'])&&_0x47d3dd['shift'](),(_0x3e432b['previousPosition']['isEqual'](_0x4e19d0['start'])||_0x3e432b['previousPosition']['isAfter'](_0x4e19d0['start']))&&('insertion'==_0x576713?_0x3e432b['isAdded']={'userId':_0x4efb6f}:'deletion'==_0x576713&&(_0x3e432b['isRemoved']={'userId':_0x4efb6f})),0x0==_0x47d3dd['length'])break;}return _0x44676a;}['_refreshStartEndIndex'](_0x2cb503){const _0x49a22f=new Map();for(let _0x478c96=0x0;_0x478c96<_0x2cb503['length'];_0x478c96++)'text'===_0x2cb503[_0x478c96]['type']?(_0x2cb503[_0x478c96]['item']['startIndex']=_0x478c96,_0x2cb503[_0x478c96]['item']['endIndex']=_0x478c96):('elementStart'===_0x2cb503[_0x478c96]['type']?_0x2cb503[_0x478c96]['item']['startIndex']=_0x478c96:'elementEnd'===_0x2cb503[_0x478c96]['type']&&(_0x2cb503[_0x478c96]['item']['endIndex']=_0x478c96),_0x49a22f['set'](_0x2cb503[_0x478c96]['id'],_0x478c96));for(const _0x638bc6 of _0x49a22f['values']())'elementStart'===_0x2cb503[_0x638bc6]['type']?_0x2cb503[_0x638bc6]['item']['endIndex']=_0x49a22f['get'](_0x2cb503[_0x638bc6]['pairId']):'elementEnd'===_0x2cb503[_0x638bc6]['type']&&(_0x2cb503[_0x638bc6]['item']['startIndex']=_0x49a22f['get'](_0x2cb503[_0x638bc6]['pairId']));}['_processTape'](_0x4afa46){for(let _0x9fac23=0x0;_0x9fac23<_0x4afa46['length'];_0x9fac23++){if('elementStart'===_0x4afa46[_0x9fac23]['type'])_0x4afa46[_0x9fac23]['item']['startIndex']=_0x9fac23;else{if('elementEnd'===_0x4afa46[_0x9fac23]['type']){_0x4afa46[_0x9fac23]['item']['endIndex']=_0x9fac23;const _0x53b124=_0x4afa46[_0x9fac23]['item']['startIndex'];_0x4afa46[_0x53b124]['pairId']=_0x4afa46[_0x9fac23]['id'],_0x4afa46[_0x9fac23]['pairId']=_0x4afa46[_0x53b124]['id'];}else _0x4afa46[_0x9fac23]['item']['startIndex']=_0x9fac23,_0x4afa46[_0x9fac23]['item']['endIndex']=_0x9fac23,_0x4afa46[_0x9fac23]['pairId']=null;}_0x4afa46[_0x9fac23]['markersStart']||(_0x4afa46[_0x9fac23]['markersStart']=[],_0x4afa46[_0x9fac23]['markersEnd']=[]);}}['_markInsertions'](_0x1b1689,_0x254bd6){const _0xde6e6a=_0x1b1689['filter'](_0x26955b=>!_0x26955b['isAdded']);for(let _0x4899e4=0x0;_0x4899e4<_0x254bd6['length'];_0x4899e4++)_0x254bd6[_0x4899e4]['isAdded']&&(_0xde6e6a[_0x4899e4]['isAdded']=_0x254bd6[_0x4899e4]['isAdded']);}['_makeModelFromViewString'](_0x636357){const _0x51f369=JSON['parse'](_0x636357),_0x44b0bd=this['editor']['editing']['view']['document'],_0x16a072=new _0x333809(_0x44b0bd,_0x51f369['map'](_0x2ffe86=>this['_getViewObj'](_0x2ffe86)));return this['editor']['data']['toModel'](_0x16a072);}['_getViewObj'](_0x4d1fec){const _0x238bf1=this['editor']['editing']['view']['document'];if('string'==typeof _0x4d1fec)return new _0x1c996d(_0x238bf1,_0x4d1fec);{const _0x453b9c=_0x4d1fec['children']['map'](_0x21a6b9=>this['_getViewObj'](_0x21a6b9));return new(tt[_0x4d1fec['type']]||_0x45b4c2)(_0x238bf1,_0x4d1fec['name'],_0x4d1fec['attributes'],_0x453b9c);}}['_getDiff'](_0x54fda0,_0x4a2e4c=null){const _0x2f6a81=this['repository']['getRevision'](_0x54fda0),_0x5ac7a5=_0x4a2e4c?this['repository']['getRevision'](_0x4a2e4c):null,_0x2270ce=this['_getRevisionsRange'](_0x2f6a81,_0x5ac7a5),_0x1afeb2=_0x2270ce[_0x2270ce['length']-0x1],_0x475282=new Map(),_0x4df141={'model':{},'attributes':{},'changes':[]},_0x40b0d3=new Set(),_0x2cce06=new Map();for(let _0x24561a=_0x2270ce['length']-0x1;_0x24561a>=0x0;_0x24561a--){const _0x2830d8=_0x2270ce[_0x24561a];for(const _0x28e8fc of Object['keys'](_0x2830d8['diffData']))if(_0x2830d8['diffData'][_0x28e8fc]['attachChange']){const _0x2f9588=_0x2830d8['diffData'][_0x28e8fc]['attachChange'];_0x2f9588['isAttached']?(_0x40b0d3['add'](_0x28e8fc),_0x2cce06['has'](_0x28e8fc)&&_0x2cce06['get'](_0x28e8fc)['userId']==_0x2f9588['userId']?_0x2cce06['delete'](_0x28e8fc):_0x2cce06['set'](_0x28e8fc,_0x2f9588)):_0x2cce06['has'](_0x28e8fc)?(_0x40b0d3['delete'](_0x28e8fc),_0x2cce06['delete'](_0x28e8fc)):(_0x40b0d3['add'](_0x28e8fc),_0x2cce06['set'](_0x28e8fc,_0x2f9588));}else _0x40b0d3['add'](_0x28e8fc);}for(const _0x51bfd2 of _0x40b0d3){const _0x42ca2=_0x2cce06['has'](_0x51bfd2)&&!_0x2cce06['get'](_0x51bfd2)['isAttached'];let _0x1b9100=_0x42ca2?_0x2270ce['length']-0x1:0x0;const _0x1b3eab=_0x42ca2?-0x1:0x1;for(;_0x2270ce[_0x1b9100];){const _0x5ba5a8=_0x2270ce[_0x1b9100];if(_0x5ba5a8['diffData'][_0x51bfd2]){const _0x5196c=_0x42ca2?_0x5ba5a8['diffData'][_0x51bfd2]['attributesBefore']:_0x5ba5a8['diffData'][_0x51bfd2]['attributesAfter'];_0x4df141['attributes'][_0x51bfd2]=_0x5196c?_0x4fd32e(_0x5196c):{};break;}_0x1b9100+=_0x1b3eab;}}for(const _0x1f474a of _0x2270ce){_0x1f474a['model']={};for(const _0x505aa6 of _0x1f474a['authors'])_0x475282['set'](_0x505aa6['id'],_0x505aa6);for(const _0x272e12 of _0x40b0d3){const _0x2d229e=_0x1f474a['diffData'][_0x272e12]?_0x1f474a['diffData'][_0x272e12]['insertions']:'[]',_0x4b69d2=_0x1f474a['diffData'][_0x272e12]?_0x1f474a['diffData'][_0x272e12]['deletions']:'[]';_0x1f474a['model'][_0x272e12]={'insertions':this['_makeModelFromViewString'](_0x2d229e),'deletions':this['_makeModelFromViewString'](_0x4b69d2)};}}for(const _0x55c675 of _0x40b0d3){let _0x4d49bc=null,_0x4066bf=0x0;const _0x374f13=new Map(Array['from'](_0x2f6a81['model'][_0x55c675]['insertions']['markers'])['filter'](([_0x3cff6a])=>!_0x3cff6a['startsWith']('revision:')));let _0x47b7f3=0x0;for(const _0x5a0992 of _0x2270ce){const _0x1a3a23=this['_makeTape'](_0x5a0992['model'][_0x55c675]['insertions']);_0x5a0992==_0x2f6a81?(_0x4d49bc=_0x1a3a23,_0x4066bf=_0x4d49bc['length'],_0x4d49bc['forEach'](_0x454247=>{_0x454247['id']=_0x47b7f3++;}),this['_processTape'](_0x4d49bc)):this['_markInsertions'](_0x4d49bc,_0x1a3a23);const _0x191957=_0x4d49bc['filter'](_0xc5375a=>!_0xc5375a['isAdded'])['map'](_0x45895b=>_0x45895b['id']);let _0x3a39b0=0x0;const _0x274710=this['_makeTape'](_0x5a0992['model'][_0x55c675]['deletions']);_0x274710['forEach'](_0x56cd8b=>{_0x56cd8b['isRemoved']?_0x56cd8b['id']=_0x4066bf++:_0x56cd8b['id']=_0x191957[_0x3a39b0++];}),this['_processTape'](_0x274710),this['_setDistance'](_0x4d49bc,'isAdded'),this['_setDistance'](_0x274710,'isRemoved'),_0x5a0992==_0x2f6a81&&this['_markMarkers'](_0x4d49bc,_0x374f13),_0x4d49bc=this['_joinTapes'](_0x4d49bc,_0x274710),this['_refreshStartEndIndex'](_0x4d49bc),this['_setDistance'](_0x4d49bc,'isRemoved');}_0x4d49bc=_0x4d49bc['filter'](_0x5c198f=>!(_0x5c198f['isAdded']&&_0x5c198f['isRemoved']));const _0x2c6064=new Map(_0x1afeb2['model'][_0x55c675]['deletions']['markers']),_0x10632c=new Set(_0x374f13['keys']());for(const _0x5dd35f of _0x2c6064['keys']())_0x10632c['delete'](_0x5dd35f);this['_markSuggestions'](_0x4d49bc,_0x10632c),this['_fixObsoleteTags'](_0x4d49bc),_0x4d49bc=this['_removeMissingPairs'](_0x4d49bc),_0x4d49bc=this['_markMismatchedRemovedTags'](_0x4d49bc),_0x4d49bc=this['_removeUnsupportedChanges'](_0x4d49bc);const {root:_0x378c33,changes:_0x4005fb}=this['_makeModelFromTape'](_0x4d49bc,_0x475282,_0x55c675);_0x4df141['model'][_0x55c675]=_0x378c33;const _0x42985b=_0x2cce06['get'](_0x55c675);if(_0x42985b){const _0xec074b=_0x475282['get'](_0x42985b['userId']),_0x1f80c5=new r({'author':_0xec074b,'type':_0x42985b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x55c675});_0x4005fb['unshift'](_0x1f80c5),_0x4df141['attributes'][_0x55c675]['revisionHistoryAttachChange']=_0x1f80c5['id'];}_0x4df141['changes']=_0x4df141['changes']['concat'](_0x4005fb);}return _0x4df141;}['_markMarkers'](_0x52e419,_0x321fbb){for(let _0x5d272a=0x0;_0x5d272a<_0x52e419['length'];_0x5d272a++)for(const [_0x5aced8,_0x1a76ed]of _0x321fbb)_0x1a76ed['start']['isEqual'](_0x52e419[_0x5d272a]['previousPosition'])&&_0x52e419[_0x5d272a]['markersStart']['push'](_0x5aced8),_0x1a76ed['end']['isEqual'](_0x52e419[_0x5d272a]['nextPosition'])&&_0x52e419[_0x5d272a]['markersEnd']['push'](_0x5aced8);}['_joinTapes'](_0x700381,_0x4657da){let _0x41341a=[],_0x565239=0x0,_0x41af0d=0x0;for(;_0x565239<_0x700381['length']||_0x41af0d<_0x4657da['length'];){const _0x2e4e18=_0x700381[_0x565239]||{},_0x48091c=_0x4657da[_0x41af0d]||{};if(_0x2e4e18['id']==_0x48091c['id'])_0x565239++,_0x41af0d++,_0x41341a['push'](_0x2e4e18);else{if(_0x48091c['isRemoved']&&_0x2e4e18['isAdded']){const {commonTape:_0x44c552,iEnd:_0x5582fc,jEnd:_0x20287e}=this['_threeWayMerge'](_0x700381,_0x565239,_0x4657da,_0x41af0d);_0x41341a=_0x41341a['concat'](_0x44c552),_0x565239=_0x5582fc,_0x41af0d=_0x20287e;}else _0x48091c['isRemoved']?(_0x41af0d++,_0x41341a['push'](_0x48091c)):(_0x565239++,_0x41341a['push'](_0x2e4e18));}}return _0x41341a;}['_markSuggestions'](_0x2872f6,_0x259968){const _0x3596cb=[];for(let _0x372fa6=0x0;_0x372fa6<_0x2872f6['length'];_0x372fa6++){for(let _0x23159a=0x0;_0x23159a<_0x2872f6[_0x372fa6]['markersStart']['length'];_0x23159a++){const _0x3ab9da=_0x2872f6[_0x372fa6]['markersStart'][_0x23159a];if(!_0x259968['has'](_0x3ab9da))continue;const {group:_0x4e00f8,type:_0x41fc85,authorId:_0x518279}=_0x5a58cc(_0x3ab9da);'revision-suggestion'!=_0x4e00f8||'insertion'!=_0x41fc85&&'deletion'!=_0x41fc85||(_0x3596cb['unshift']({'type':_0x41fc85,'name':_0x3ab9da,'userId':_0x518279}),_0x2872f6[_0x372fa6]['markersStart']['splice'](_0x23159a,0x1),_0x23159a--);}_0x3964cd(_0x2872f6[_0x372fa6]);for(let _0x50e0a3=0x0;_0x50e0a3<_0x2872f6[_0x372fa6]['markersEnd']['length'];_0x50e0a3++){const _0x1f9aaa=_0x2872f6[_0x372fa6]['markersEnd'][_0x50e0a3];if(!_0x259968['has'](_0x1f9aaa))continue;const {group:_0x16835b,type:_0x8cc61a}=_0x5a58cc(_0x1f9aaa);if('revision-suggestion'!=_0x16835b||'insertion'!=_0x8cc61a&&'deletion'!=_0x8cc61a)continue;_0x2872f6[_0x372fa6]['markersEnd']['splice'](_0x50e0a3,0x1),_0x50e0a3--;const _0x80d6aa=_0x3596cb['findIndex'](_0x4dfdaa=>_0x4dfdaa['name']==_0x1f9aaa);_0x80d6aa>-0x1&&_0x3596cb['splice'](_0x80d6aa,0x1);}}function _0x5a58cc(_0x5e6778){const _0x36049b=_0x5e6778['split'](':');return{'group':_0x36049b[0x0],'type':_0x36049b[0x1],'subType':_0x36049b['length']>=0x5?_0x36049b[0x2]:null,'id':_0x36049b['length']<0x5?_0x36049b[0x2]:_0x36049b[0x3],'authorId':_0x36049b['length']<0x5?_0x36049b[0x3]:_0x36049b[0x4],'markerCount':0x6==_0x36049b['length']?_0x36049b[0x5]:null};}function _0x3964cd(_0x5ccb15){for(let _0x316b64=0x0;_0x316b64<_0x3596cb['length'];_0x316b64++){if(_0x5ccb15['isAdded']&&'insertion'==_0x3596cb[_0x316b64]['type'])return _0x5ccb15['isAddSuggestion']=_0x3596cb[_0x316b64],void delete _0x5ccb15['isAdded'];if(!_0x5ccb15['isAdded']&&!_0x5ccb15['isRemoved']&&'deletion'==_0x3596cb[_0x316b64]['type'])return void(_0x5ccb15['isRemoveSuggestion']=_0x3596cb[_0x316b64]);}}}['_setDistance'](_0x108dd5,_0xd96d92){let _0x314bb4=0x0,_0x5332aa=!0x1;const _0x5dddfe=new Map();for(const _0x387a2f of _0x108dd5)_0x387a2f[_0xd96d92]?_0x5332aa&&(_0x314bb4++,_0x5332aa=!0x1):(_0x314bb4++,_0x5332aa=!0x0),_0x5dddfe['set'](_0x387a2f['id'],_0x314bb4);for(let _0x1f816e=0x0;_0x1f816e<_0x108dd5['length'];_0x1f816e++){if('isRemoved'==_0xd96d92&&_0x108dd5[_0x1f816e]['isAdded']||'isAdded'==_0xd96d92&&_0x108dd5[_0x1f816e]['isRemoved'])continue;if('text'==_0x108dd5[_0x1f816e]['type']){_0x108dd5[_0x1f816e]['distance']=0x0;continue;}const _0x4d9565=_0x5dddfe['get'](_0x108dd5[_0x1f816e]['pairId']),_0x2365de=_0x5dddfe['get'](_0x108dd5[_0x1f816e]['id']);_0x108dd5[_0x1f816e]['distance']=_0x4d9565-_0x2365de;}}['_getRevisionsRange'](_0xe69c75,_0x477ce3,_0x10442b=!0x1){const _0x33b2a7=[];let _0x4b4f27=this['repository']['getIndex'](_0xe69c75),_0x3b2315=this['repository']['getIndex'](_0x477ce3);for(-0x1==_0x3b2315&&(_0x3b2315=this['repository']['_revisions']['length'],_0x10442b=!0x1);_0x4b4f27<_0x3b2315;)_0x33b2a7['push'](this['repository']['getRevision'](_0x4b4f27)),_0x4b4f27++;return _0x10442b&&_0x33b2a7['push'](this['repository']['getRevision'](_0x4b4f27)),_0x33b2a7;}['_threeWayMerge'](_0x30af41,_0x20a61b,_0x3a99c8,_0x38cdfc){const _0x238419=this['editor']['model']['schema'];let _0x296644=_0x20a61b;for(;_0x30af41[_0x296644]&&_0x30af41[_0x296644]['isAdded'];)_0x296644++;let _0x279ca5=_0x38cdfc;for(;_0x3a99c8[_0x279ca5]&&_0x3a99c8[_0x279ca5]['isRemoved'];)_0x279ca5++;_0xc21b30(_0x30af41,_0x20a61b,_0x296644),_0xc21b30(_0x3a99c8,_0x38cdfc,_0x279ca5);const _0x44f522=_0x3a99c8['slice'](_0x38cdfc,_0x279ca5)['concat'](_0x30af41['slice'](_0x20a61b,_0x296644));return _0x44f522['sort']((_0x294fcf,_0x3c2e8e)=>_0x294fcf['side']!=_0x3c2e8e['side']?_0x294fcf['side']-_0x3c2e8e['side']:_0x294fcf['level']!=_0x3c2e8e['level']?_0x294fcf['level']-_0x3c2e8e['level']:_0x294fcf['distance']!=_0x3c2e8e['distance']?_0x3c2e8e['distance']-_0x294fcf['distance']:!!_0x294fcf['isAdded']!=!!_0x3c2e8e['isAdded']?-0x1==_0x294fcf['side']||0x0==_0x294fcf['side']?_0x294fcf['isAdded']?-0x1:0x1:_0x294fcf['isAdded']?0x1:-0x1:_0x294fcf['index']-_0x3c2e8e['index']),{'commonTape':_0x44f522,'iEnd':_0x296644,'jEnd':_0x279ca5};function _0xc21b30(_0x14fb0b,_0x2bfa31,_0x43a5b6){let _0x262827=-0x1,_0x24cc22=Number['POSITIVE_INFINITY'],_0x1d6826=!0x0;for(let _0x5c6bd2=_0x2bfa31;_0x5c6bd2<_0x43a5b6;_0x5c6bd2++)if(_0x238419['isInline'](_0x14fb0b[_0x5c6bd2]['item'])||(_0x1d6826=!0x1),_0x14fb0b[_0x5c6bd2]['item']['startIndex']<_0x2bfa31&&(_0x262827=_0x5c6bd2),_0x14fb0b[_0x5c6bd2]['item']['endIndex']>=_0x43a5b6){_0x24cc22=_0x5c6bd2;break;}_0x1d6826&&(_0x262827=_0x43a5b6-0x1);for(let _0x5d5e9d=_0x2bfa31;_0x5d5e9d<_0x43a5b6;_0x5d5e9d++)_0x14fb0b[_0x5d5e9d]['side']=_0x5d5e9d<=_0x262827?-0x1:_0x5d5e9d<_0x24cc22?0x0:0x1,_0x14fb0b[_0x5d5e9d]['index']=_0x5d5e9d;let _0x51c7c3=0x0;for(let _0x2c61a3=_0x2bfa31;_0x2c61a3<=_0x262827;_0x2c61a3++)0x0==_0x14fb0b[_0x2c61a3]['distance']?_0x14fb0b[_0x2c61a3]['level']=_0x51c7c3:(_0x51c7c3++,_0x14fb0b[_0x2c61a3]['level']=_0x51c7c3,_0x51c7c3++);for(let _0x37bb78=_0x2bfa31;_0x37bb78<_0x43a5b6;_0x37bb78++)0x0==_0x14fb0b[_0x37bb78]['side']&&(_0x14fb0b[_0x37bb78]['level']=_0x51c7c3);_0x51c7c3=0x0;for(let _0x2af6ed=_0x43a5b6-0x1;_0x2af6ed>=_0x24cc22;_0x2af6ed--)0x0==_0x14fb0b[_0x2af6ed]['distance']?_0x14fb0b[_0x2af6ed]['level']=_0x51c7c3:(_0x51c7c3--,_0x14fb0b[_0x2af6ed]['level']=_0x51c7c3,_0x51c7c3--);}}['_fixObsoleteTags'](_0x2e7a79){const _0x26321e=new Map(),_0x3b1e1f=this['editor']['model']['schema'];for(let _0x154700=0x1;_0x154700<_0x2e7a79['length'];_0x154700++){let _0xb5efb0,_0x1f8820,_0x4e1ed2;const _0x53edc9=_0x2e7a79[_0x154700],_0xcc9162=_0x2e7a79[_0x154700-0x1];if('text'==_0x53edc9['type'])continue;if(_0x53edc9['type']!=_0xcc9162['type'])continue;if(!_0x3b1e1f['isBlock'](_0xcc9162['item'])||_0x3b1e1f['isLimit'](_0xcc9162['item']))continue;if(!_0x3b1e1f['isBlock'](_0x53edc9['item'])||_0x3b1e1f['isLimit'](_0x53edc9['item']))continue;if((_0x2e7a79[_0x154700]['isAdded']||_0x2e7a79[_0x154700]['isAddSuggestion'])&&_0x2e7a79[_0x154700-0x1]['isRemoved'])_0xb5efb0=_0x2e7a79[_0x154700],_0x1f8820=_0x2e7a79[_0x154700-0x1],_0x4e1ed2=_0x154700-0x1;else{if(!_0x2e7a79[_0x154700]['isRemoved']||!_0x2e7a79[_0x154700-0x1]['isAdded']&&!_0x2e7a79[_0x154700-0x1]['isAddSuggestion'])continue;_0xb5efb0=_0x2e7a79[_0x154700-0x1],_0x1f8820=_0x2e7a79[_0x154700],_0x4e1ed2=_0x154700;}const _0x31c4e3=_0xb5efb0['level']==_0x1f8820['level'],_0x52a8a6=Math['abs'](_0xb5efb0['level'])<Math['abs'](_0x1f8820['level'])&&0x0==_0x1f8820['distance'];(_0x31c4e3||_0x52a8a6)&&(_0x26321e['set'](_0x1f8820['id'],_0xb5efb0['id']),_0x2e7a79['splice'](_0x4e1ed2,0x1),_0x154700--,_0xb5efb0['isAdded']=!0x1);}for(let _0x58704c=0x0;_0x58704c<_0x2e7a79['length'];_0x58704c++)_0x26321e['has'](_0x2e7a79[_0x58704c]['pairId'])&&(_0x2e7a79[_0x58704c]['pairId']=_0x26321e['get'](_0x2e7a79[_0x58704c]['pairId']));}['_removeMissingPairs'](_0x41b1f9){const _0x5d025f=new Set(_0x41b1f9['map'](_0x3538d4=>_0x3538d4['id']));for(let _0x24ee1d=0x0;_0x24ee1d<_0x41b1f9['length'];_0x24ee1d++)_0x5d025f['has'](_0x41b1f9[_0x24ee1d]['pairId'])||0x0==_0x41b1f9[_0x24ee1d]['distance']||(_0x41b1f9[_0x24ee1d]['isIncorrect']=!0x0);return _0x41b1f9['filter'](_0x1593d3=>!_0x1593d3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x8ea91a){const _0xead020=new Set();for(let _0x18afda=0x0;_0x18afda<_0x8ea91a['length'];_0x18afda++){if(_0xead020['has'](_0x8ea91a[_0x18afda]['id'])&&_0x8ea91a[_0x18afda]['isRemoved']&&(_0x8ea91a[_0x18afda]['isIncorrect']=!0x0),_0x8ea91a[_0x18afda]['isIncorrect'])continue;if(0x0==_0x8ea91a[_0x18afda]['distance'])continue;if('elementStart'!=_0x8ea91a[_0x18afda]['type'])continue;if(null==_0x8ea91a[_0x18afda]['pairId'])continue;let _0x179717=_0x18afda+0x1,_0x990700=0x0;for(;_0x8ea91a[_0x179717]['id']!=_0x8ea91a[_0x18afda]['pairId'];)'elementStart'==_0x8ea91a[_0x179717]['type']?_0x990700++:'elementEnd'==_0x8ea91a[_0x179717]['type']&&_0x990700--,_0x179717++;if(0x0!=_0x990700){if(_0x8ea91a[_0x18afda]['isRemoved'])_0x8ea91a[_0x18afda]['isIncorrect']=!0x0;else{for(;_0x179717!=_0x18afda;)_0x8ea91a[_0x179717]['isRemoved']&&0x0!=_0x8ea91a[_0x179717]['distance']&&(_0x8ea91a[_0x179717]['isIncorrect']=!0x0,_0xead020['add'](_0x8ea91a[_0x179717]['pairId'])),_0x179717--;}}}return _0x8ea91a['filter'](_0x118bcf=>!_0x118bcf['isIncorrect']);}['_removeUnsupportedChanges'](_0x388de0){const _0x45d6b1=this['editor']['model']['schema'];for(let _0x5b4d79=0x0;_0x5b4d79<_0x388de0['length'];_0x5b4d79++){if(!(_0x388de0[_0x5b4d79]['isAdded']||_0x388de0[_0x5b4d79]['isAddSuggestion']||_0x388de0[_0x5b4d79]['isRemoved']||_0x388de0[_0x5b4d79]['isRemoveSuggestion']))continue;if(0x0==_0x388de0[_0x5b4d79]['distance'])continue;const _0x31c5c9=_0x388de0[_0x5b4d79]['item'];_0x45d6b1['isBlock'](_0x31c5c9)||_0x45d6b1['isLimit'](_0x31c5c9)||(_0x388de0[_0x5b4d79]['isAdded']&&delete _0x388de0[_0x5b4d79]['isAdded'],_0x388de0[_0x5b4d79]['isAddSuggestion']&&delete _0x388de0[_0x5b4d79]['isAddSuggestion'],_0x388de0[_0x5b4d79]['isRemoveSuggestion']&&delete _0x388de0[_0x5b4d79]['isRemoveSuggestion'],_0x388de0[_0x5b4d79]['isRemoved']&&(_0x388de0[_0x5b4d79]['isIncorrect']=!0x0));}return _0x388de0['filter'](_0x56cb23=>!_0x56cb23['isIncorrect']);}['_makeModelFromTape'](_0x358eca,_0x41c043,_0x57fa95){const _0x40055d=new wt(),_0x39ab72=[],_0xadf689=new Map(),_0x4d12fe=this['editor']['model'],_0x4d9703=_0x4d12fe['schema'],_0x5a5b25=[_0x40055d],_0x578c0d={},_0x223e8a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5471bd=null;const _0x3b6e04=[0x0];for(let _0x50c0ef=0x0;_0x50c0ef<_0x358eca['length'];_0x50c0ef++){let _0x301b30,_0x3a882a;if('elementStart'===_0x358eca[_0x50c0ef]['type']){_0x301b30=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04);const _0x2be417=new ft(_0x358eca[_0x50c0ef]['item']['name'],_0x358eca[_0x50c0ef]['item']['getAttributes']());_0x5a5b25[0x0]['_appendChild'](_0x2be417),_0x3b6e04['push'](0x0),_0x5a5b25['unshift'](_0x2be417),_0x3a882a=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x5471bd=null;}else{if('elementEnd'===_0x358eca[_0x50c0ef]['type'])_0x5a5b25['shift'](),_0x301b30=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x3b6e04['pop'](),_0x3b6e04[_0x3b6e04['length']-0x1]++,_0x3a882a=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x5471bd=null;else{if(_0x301b30=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x5471bd&&_0x24867d(_0x5471bd,_0x358eca[_0x50c0ef]['item']))_0x5471bd['_data']+=_0x358eca[_0x50c0ef]['item']['data'];else{const _0x354305=new _t(_0x358eca[_0x50c0ef]['item']['data'],_0x358eca[_0x50c0ef]['item']['getAttributes']());_0x5a5b25[0x0]['_appendChild'](_0x354305),_0x5471bd=_0x354305;}_0x3b6e04[_0x3b6e04['length']-0x1]+=_0x358eca[_0x50c0ef]['item']['offsetSize'],_0x3a882a=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04);}}for(const _0xaaa996 of _0x358eca[_0x50c0ef]['markersStart'])_0xadf689['set'](_0xaaa996,{'start':_0x301b30,'end':null});_0xd9a8f0('isRemoveSuggestion',_0x50c0ef,_0x301b30,_0x3a882a),_0xd9a8f0('isAddSuggestion',_0x50c0ef,_0x301b30,_0x3a882a),_0xd9a8f0('isRemoved',_0x50c0ef,_0x301b30,_0x3a882a),_0xd9a8f0('isAdded',_0x50c0ef,_0x301b30,_0x3a882a);for(const _0x2ac1d7 of _0x358eca[_0x50c0ef]['markersEnd']){_0xadf689['get'](_0x2ac1d7)['end']=_0x3a882a;}}for(const [_0x2ca934,_0x336c74]of _0xadf689){const _0x159e2b=this['editor']['model']['createRange'](_0x336c74['start'],_0x336c74['end']);_0x40055d['markers']['set'](_0x2ca934,_0x159e2b);}return _0x39ab72['sort']((_0x132c02,_0x357bd6)=>{const _0x5512ae=_0x40055d['markers']['get']('revision:'+_0x132c02['id']),_0x2c6936=_0x40055d['markers']['get']('revision:'+_0x357bd6['id']);return _0x5512ae['start']['isBefore'](_0x2c6936['start'])?-0x1:_0x5512ae['start']['isAfter'](_0x2c6936['start'])?0x1:_0x5512ae['end']['isBefore'](_0x2c6936['end'])?-0x1:_0x5512ae['end']['isAfter'](_0x2c6936['end'])?0x1:'add'===_0x132c02['type']?-0x1:0x1;}),{'root':_0x40055d,'changes':_0x39ab72};function _0xd9a8f0(_0x471430,_0x23a368,_0x3471a4,_0x326a43){const _0xaa3057=!!_0x358eca[_0x23a368][_0x471430],_0x4118c9=_0xaa3057?_0x358eca[_0x23a368][_0x471430]['userId']:null,_0x5b40c7=_0x23a368===_0x358eca['length']-0x1,_0x5dc4a4=_0x223e8a[_0x471430][0x0],_0x10cff5=_0x4d9703['isObject'](_0x358eca[_0x23a368]['item']);!_0x578c0d[_0x471430]&&_0xaa3057?_0x578c0d[_0x471430]={'start':_0x3471a4,'tapeItem':_0x358eca[_0x23a368],'userId':_0x4118c9,'type':_0x471430}:_0x578c0d[_0x471430]&&!_0xaa3057?(_0x578c0d[_0x471430]['end']=_0x3471a4,_0xfe2cb8(_0x578c0d[_0x471430]),_0x578c0d[_0x471430]=null):_0x578c0d[_0x471430]&&_0xaa3057&&_0x578c0d[_0x471430]['userId']!==_0x4118c9&&(_0x578c0d[_0x471430]['end']=_0x3471a4,_0x5dc4a4&&_0x5dc4a4['userId']===_0x578c0d[_0x471430]['userId']||_0xfe2cb8(_0x578c0d[_0x471430]),_0x578c0d[_0x471430]={'start':_0x3471a4,'tapeItem':_0x358eca[_0x23a368],'userId':_0x4118c9,'type':_0x471430}),_0x578c0d[_0x471430]&&_0x10cff5&&('elementStart'!==_0x358eca[_0x23a368]['type']||_0x5dc4a4&&_0x5dc4a4['userId']===_0x4118c9||_0x223e8a[_0x471430]['unshift']({'userId':_0x4118c9,'object':_0x358eca[_0x23a368]['item'],'change':_0x578c0d[_0x471430]}),'elementEnd'===_0x358eca[_0x23a368]['type']&&_0x5dc4a4&&_0x5dc4a4['object']===_0x358eca[_0x23a368]['item']&&(_0x223e8a[_0x471430]['shift'](),_0x578c0d[_0x471430]=_0x5dc4a4['change'])),_0x578c0d[_0x471430]&&_0x5b40c7&&(_0x578c0d[_0x471430]['end']=_0x326a43,_0xfe2cb8(_0x578c0d[_0x471430]),_0x578c0d[_0x471430]=null);}function _0xfe2cb8({start:_0x4bb28a,end:_0x5c5ff6,tapeItem:_0x3c022e,userId:_0x38b4ee,type:_0xe35f73}){const _0x526d15=_0x3c022e['item'],_0x19832d=_0x4d12fe['schema']['isBlock'](_0x526d15)&&!_0x4d12fe['schema']['isLimit'](_0x526d15),_0x5941c4=_0x4bb28a['nodeAfter']==_0x5c5ff6['parent']&&_0x5c5ff6['isAtStart'];if(_0x19832d&&_0x5941c4)return;const _0x1d159e=_0x4d12fe['createRange'](_0x4bb28a,_0x5c5ff6),_0x14747c=_0x41c043['get'](_0x38b4ee),_0x5f31e2=new r({'author':_0x14747c,'type':'isAdded'==_0xe35f73||'isAddSuggestion'==_0xe35f73?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xe35f73||'isRemoveSuggestion'==_0xe35f73},'createdAt':new Date(),'rootName':_0x57fa95});_0x39ab72['push'](_0x5f31e2),_0x40055d['markers']['set']('revision:'+_0x5f31e2['id'],_0x1d159e);}function _0x24867d(_0x11fbc3,_0x43d2f7){const _0x5cb295=_0x11fbc3['getAttributes'](),_0x28951f=_0x43d2f7['getAttributes']();for(const _0x504c17 of _0x5cb295){if(_0x504c17[0x1]!==_0x43d2f7['getAttribute'](_0x504c17[0x0]))return!0x1;_0x28951f['next']();}return _0x28951f['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x496eea=>{const _0x3f5e0f=_0x496eea['markerName']['split'](':')[0x1],_0x2059a9=this['_getChangeFromId'](_0x3f5e0f);if(!_0x2059a9)return null;const _0x18c38e='add'==_0x2059a9['type']?'insertion':'deletion',_0x2797ee=['ck-suggestion-marker','ck-suggestion-marker-'+_0x18c38e];return _0x2059a9['data']['isSuggestion']&&_0x2797ee['push']('ck-suggestion-marker-'+_0x18c38e+'-new'),this['activeChange']==_0x2059a9&&_0x2797ee['push']('ck-suggestion-marker--active'),{'classes':_0x2797ee,'attributes':{'data-change-id':_0x3f5e0f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x574da2=>{_0x574da2['on']('element:pre',(_0x4fe2d6,_0x53ba39,_0x2faf31)=>{const _0x499598=_0x53ba39['viewItem']['getChild'](0x0);if(!_0x499598||!_0x499598['is']('element','code'))return;if(!_0x2faf31['consumable']['consume'](_0x499598,{'attributes':['vid_start','vid_end']}))return;const _0x427482=_0x53ba39['modelRange']['start']['nodeAfter'];_0x2faf31['writer']['setAttribute']('vid_start',_0x499598['getAttribute']('vid_start'),_0x427482),_0x2faf31['writer']['setAttribute']('vid_end',_0x499598['getAttribute']('vid_end'),_0x427482);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4fba5f=>{_0x4fba5f['on']('element',(_0x2d12ad,_0xebb7f6,_0x2af09c)=>{if(!_0x2af09c['consumable']['consume'](_0xebb7f6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xebb7f6['modelRange']['isCollapsed'])return;const _0x48616f=_0xebb7f6['modelRange']['start']['nodeAfter'];_0x48616f['hasAttribute']('vid_start')||_0x48616f['hasAttribute']('vid')||(_0x2af09c['writer']['setAttribute']('vid_start',_0xebb7f6['viewItem']['getAttribute']('vid_start'),_0x48616f),_0x2af09c['writer']['setAttribute']('vid_end',_0xebb7f6['viewItem']['getAttribute']('vid_end'),_0x48616f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2d41ac=>_0x2d41ac['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x148ce0,[,_0x41d3f3])=>{['vid_start','vid_end','vid']['includes'](_0x41d3f3)&&(_0x148ce0['return']=!0x0,_0x148ce0['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x251614=>{_0x251614['on']('attribute:vid',(_0x4f4c07,_0x10d307,_0x56de69)=>{if('\x20'!=_0x10d307['item']['data']||_0x10d307['item']['parent']['maxOffset']>0x1)return;if(!_0x56de69['consumable']['consume'](_0x10d307['item'],_0x4f4c07['name']))return;const _0x2e329f=_0x56de69['writer'],_0x10ade2=_0x56de69['mapper']['toViewRange'](_0x10d307['range']);_0x2e329f['wrap'](_0x10ade2,_0x2e329f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3c2acb){const _0x3ead1e=_0x3c2acb['plugins']['get']('RevisionViewer');return(_0x16b9c1,_0x392252,_0x14a264)=>{const _0xacfe3f=_0x392252['markerName']['split'](':')[0x1],_0x136249=_0x3ead1e['_getChangeFromId'](_0xacfe3f);if(!_0x136249)return null;const _0x1ccfce='add'==_0x136249['type']?'split':'merge';if(!_0x14a264['consumable']['test'](_0x392252['markerRange'],_0x16b9c1['name']))return;const _0x220d98=_0x392252['markerRange']['getWalker'](),_0x3cd09f=_0x392252['markerRange']['start'],_0x2ad39c=_0x3c2acb['model']['schema'];let _0x2d5cb1=null,_0x367c1b=null,_0x54f68e=!0x1,_0x31a516=!0x1;for(const _0x53ad3b of _0x220d98){const _0x4b4339=_0x53ad3b['item'];_0x54f68e=_0x54f68e||_0x2ad39c['isContent'](_0x4b4339);const _0x29a273=_0x14a264['mapper']['toViewElement'](_0x4b4339);if(_0x29a273&&_0x29a273['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x53ad3b['type']&&(_0x2ad39c['isBlock'](_0x4b4339)&&!_0x2ad39c['isLimit'](_0x4b4339)&&(_0x4b4339['nextSibling']||_0x3cd09f['isAtEnd']?_0x2d5cb1&&_0x2d5cb1['parent']==_0x4b4339||(_0x2d5cb1=_0x4b4339,_0x282320(_0x53ad3b['previousPosition']),_0x31a516=!0x0):_0x367c1b=_0x367c1b||_0x53ad3b['previousPosition']));}function _0x282320(_0x1947a7){const _0x4ab09b=_0x14a264['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1ccfce}),_0x440790=_0x14a264['mapper']['toViewPosition'](_0x1947a7);_0x136249['data']['isSuggestion']&&_0x14a264['writer']['addClass']('ck-suggestion-marker-'+_0x1ccfce+'-new',_0x4ab09b),_0x3ead1e['activeChange']==_0x136249&&_0x14a264['writer']['addClass']('ck-suggestion-marker--active',_0x4ab09b),_0x14a264['writer']['insert'](_0x440790,_0x4ab09b),_0x14a264['mapper']['bindElementToMarker'](_0x4ab09b,_0x392252['markerName']);}_0x54f68e||_0x31a516||!_0x367c1b||_0x282320(_0x367c1b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x465b10,_0x3fc532,_0x194391)=>{const _0x58fcbf=_0x194391['mapper']['markerNameToElements'](_0x3fc532['markerName']);if(_0x58fcbf){for(const _0x39a592 of _0x58fcbf)(_0x39a592['hasClass']('ck-suggestion-marker-split')||_0x39a592['hasClass']('ck-suggestion-marker-merge'))&&(_0x194391['mapper']['unbindElementFromMarkerName'](_0x39a592,_0x3fc532['markerName']),_0x194391['writer']['remove'](_0x39a592));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x7cfd9d,_0x4b67ab,_0x29559b)=>{const _0x45643d=_0x4b67ab['markerName']['split'](':')[0x1],_0x1ce348=this['_getChangeFromId'](_0x45643d);if(!_0x1ce348)return null;const _0x46d5ad='add'==_0x1ce348['type']?'split':'merge';if(_0x29559b['consumable']['test'](_0x4b67ab['markerRange'],_0x7cfd9d['name']))for(const _0x448d6a of _0x4b67ab['markerRange']['getItems']()){if(!_0x448d6a['is']('element','softBreak'))continue;const _0x4a15f8=_0x29559b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x46d5ad}),_0x2a7a9e=_0x29559b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x448d6a));_0x1ce348['data']['isSuggestion']&&_0x29559b['writer']['addClass']('ck-suggestion-marker-'+_0x46d5ad+'-new',_0x4a15f8),this['activeChange']==_0x1ce348&&_0x29559b['writer']['addClass']('ck-suggestion-marker--active',_0x4a15f8),_0x29559b['writer']['insert'](_0x2a7a9e,_0x4a15f8),_0x29559b['mapper']['bindElementToMarker'](_0x4a15f8,_0x4b67ab['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2deb72=>{for(const _0x46ec59 of this['editor']['model']['document']['getRootNames']()){const _0x326216=this['editor']['model']['document']['getRoot'](_0x46ec59),_0x43085b=this['editor']['editing']['view']['document']['getRoot'](_0x46ec59);if(_0x43085b){const _0x4c0bf8=_0x326216['getAttribute']('revisionHistoryAttachChange');if(_0x2deb72['removeAttribute']('data-change-id',_0x43085b),_0x2deb72['removeClass']('ck-revision-history-root-add',_0x43085b),_0x2deb72['removeClass']('ck-revision-history-root-remove',_0x43085b),_0x2deb72['removeClass']('ck-revision-history-root--active',_0x43085b),_0x4c0bf8){const _0x3c30fd=this['_getChangeFromId'](_0x4c0bf8);if(!_0x3c30fd)return null;_0x2deb72['setAttribute']('data-change-id',_0x4c0bf8,_0x43085b),_0x2deb72['addClass']('ck-revision-history-root-'+_0x3c30fd['type'],_0x43085b),this['activeChange']==_0x3c30fd&&_0x2deb72['addClass']('ck-revision-history-root--active',_0x43085b);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x13ca3d=>'revision-comment:'+_0x13ca3d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5efe26=>'revision-suggestion:'+_0x5efe26,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x17d1f2=>({'name':'suggestion:'+_0x17d1f2,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x23ab78=>{const _0x1a1661=_0x23ab78['markerName']['split'](':')[0x1];return'insertion'!=_0x1a1661&&'deletion'!=_0x1a1661?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1a1661]};}}),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',(_0x56c0c0,_0x452788,_0x149004)=>{const _0x4684b8=_0x149004['mapper']['markerNameToElements'](_0x452788['markerName']);if(_0x4684b8){for(const _0x344f51 of _0x4684b8)_0x344f51['is']('uiElement')&&(_0x149004['mapper']['unbindElementFromMarkerName'](_0x344f51,_0x452788['markerName']),_0x149004['writer']['remove'](_0x344f51));}},{'priority':'high'});}['_getChangeFromId'](_0x4a1a78){return this['_changeIdToChange']['get'](_0x4a1a78);}['_getViewForChange'](_0x53a5bd){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x53a5bd),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x28dbd0,_0x28186c,_0x577c1d,_0x5ea816)=>{_0x5ea816&&this['_balloon']['remove'](_0x5ea816),_0x577c1d&&(this['_balloon']['add']({'view':_0x577c1d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x273b4f=this['editor']['editing'],_0x3a69f7=this['_getChangeFromId'](_0x577c1d['changeId']);let _0x25a161;if(_0x3a69f7['data']['isOnRoot']){const _0x37327c=_0x273b4f['view']['getDomRoot'](_0x3a69f7['rootName']);_0x25a161=Array['from'](_0x37327c['getClientRects']());}else{const _0x479f5f=this['editor']['model']['markers']['get']('revision:'+_0x577c1d['changeId']);_0x25a161=Array['from'](_0x273b4f['mapper']['markerNameToElements'](_0x479f5f['name']))['map'](_0x3f4dff=>_0x273b4f['view']['domConverter']['mapViewToDom'](_0x3f4dff))['map'](_0x206142=>Array['from'](_0x206142['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x25a161[0x0];return _0x25a161['find'](_0xce0a8f=>_0xce0a8f['top']-0x3<=this['_activeViewTarget']['y']&&_0xce0a8f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xce0a8f['left']-0x3<=this['_activeViewTarget']['x']&&_0xce0a8f['right']+0x3>=this['_activeViewTarget']['x'])||_0x25a161[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1245af,_0x2c368e,_0xe0389f,_0x3ace01)=>{this['activeView']=_0xe0389f?this['_getViewForChange'](_0xe0389f):null,this['editor']['model']['change'](()=>{const _0x15672c=this['editor']['editing'];_0x3ace01&&(_0x3ace01['data']['isOnRoot']?_0x15672c['view']['change'](_0x41cc67=>{_0x41cc67['removeClass']('ck-revision-history-root--active',_0x15672c['view']['document']['getRoot'](_0x3ace01['rootName']));}):_0x15672c['reconvertMarker']('revision:'+_0x3ace01['id'])),_0xe0389f&&(_0xe0389f['data']['isOnRoot']?_0x15672c['view']['change'](_0x497ee7=>{_0x497ee7['addClass']('ck-revision-history-root--active',_0x15672c['view']['document']['getRoot'](_0xe0389f['rootName']));}):_0x15672c['reconvertMarker']('revision:'+_0xe0389f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2b1707,_0x2654f6)=>{if(this['activeChange'])return;const _0x5630a9=this['_findChangeIdFromDomTarget'](_0x2654f6['target']),_0x45e9ac=this['_changeIdToChange']['get'](_0x5630a9);_0x45e9ac?(this['_activeViewTarget']={'x':_0x2654f6['domEvent']['x'],'y':_0x2654f6['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x45e9ac)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3253f8,_0x147ce5)=>{const _0x433545=this['_findChangeIdFromDomTarget'](_0x147ce5['target']),_0x197582=this['_changeIdToChange']['get'](_0x433545);_0x197582?(this['_activeViewTarget']={'x':_0x147ce5['domEvent']['x'],'y':_0x147ce5['domEvent']['y']},_0x197582===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x197582):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3e6b83){do{const _0x4f6fbe=_0x3e6b83['getAttribute']('data-change-id');if(_0x4f6fbe)return _0x4f6fbe;_0x3e6b83=_0x3e6b83['parent'];}while(_0x3e6b83);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1f8b75=>{for(const _0x5201ca of this['editor']['model']['markers'])_0x1f8b75['removeMarker'](_0x5201ca);});}}function et(_0x298840,_0x4dd52e){return(_0xe69432,_0x28a620,_0xd09f64)=>{if(!_0xd09f64['consumable']['test'](_0x28a620['markerRange'],_0xe69432['name']))return;const _0x44514f=_0x28a620['markerRange']['getWalker'](),_0x2cb8d9=_0x28a620['markerRange']['start'],_0x5deacf=_0x298840['model']['schema'];let _0x2c0307=null,_0x3efcbf=null,_0x379f21=!0x1,_0x395e87=!0x1;for(const _0x29bbfc of _0x44514f){const _0x51db1a=_0x29bbfc['item'];_0x379f21=_0x379f21||_0x5deacf['isContent'](_0x51db1a);const _0x7d3c0f=_0xd09f64['mapper']['toViewElement'](_0x51db1a);if(_0x7d3c0f&&_0x7d3c0f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x29bbfc['type']&&(_0x5deacf['isBlock'](_0x51db1a)&&!_0x5deacf['isLimit'](_0x51db1a)&&(_0x51db1a['nextSibling']||_0x2cb8d9['isAtEnd']?_0x2c0307&&_0x2c0307['parent']==_0x51db1a||(_0x2c0307=_0x51db1a,_0x3363e5(_0x29bbfc['previousPosition']),_0x395e87=!0x0):_0x3efcbf=_0x3efcbf||_0x29bbfc['previousPosition']));}function _0x3363e5(_0x288eb6){const _0x43025d=_0xd09f64['mapper']['toViewPosition'](_0x288eb6),_0x5c5f64=_0xd09f64['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4dd52e});_0xd09f64['writer']['insert'](_0x43025d,_0x5c5f64),_0xd09f64['mapper']['bindElementToMarker'](_0x5c5f64,_0x28a620['markerName']);}_0x379f21||_0x395e87||!_0x3efcbf||_0x3363e5(_0x3efcbf);};}class bt extends _0x272acf{constructor(_0x1fdbdc){super(_0x1fdbdc);const _0x72f0fb=_0x1fdbdc['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x72f0fb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x72f0fb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x27cc6d=this['editor'],_0x57d8bf=_0x27cc6d['plugins']['get'](d),_0x18e1b5=_0x57d8bf['isReady']?_0x57d8bf['diff']['newRevisionId']:null;_0x27cc6d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18e1b5);}['refresh'](){const {isReady:_0x143999,isEnabled:_0x4625bd}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x143999&&_0x4625bd;}}class yt extends _0x272acf{['_step'];constructor(_0x46f97f,{direction:_0x56030a}){super(_0x46f97f);const _0x4369b9=_0x46f97f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x56030a?0x1:-0x1,this['listenTo'](_0x4369b9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4369b9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4369b9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x44e117=this['editor'],_0x574cdb=_0x44e117['plugins']['get'](d),{isNavigationMode:_0x481c9e,currentChangeNumber:_0x99b279}=_0x574cdb;let _0x4ea402;if(_0x574cdb['activeChange']=_0x481c9e?_0x574cdb['diff']['changes']['get'](_0x99b279+this['_step']):_0x574cdb['diff']['changes']['first'],_0x574cdb['activeChange']['data']['isOnRoot'])_0x4ea402=_0x44e117['editing']['view']['getDomRoot'](_0x574cdb['activeChange']['rootName']);else{const _0x71101a=_0x44e117['model']['markers']['get']('revision:'+_0x574cdb['activeChange']['id']);_0x4ea402=_0x5db210(_0x44e117['editing'],_0x71101a);}_0x201719({'target':_0x4ea402,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x9e12ee,currentChangeNumber:_0x2f7c7f,numberOfChanges:_0x4391e5,isReady:_0xa8cc2d,isEnabled:_0x2be9c8}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2be9c8&&_0xa8cc2d&&_0x4391e5)&&(!_0x9e12ee||(0x1===this['_step']?_0x2f7c7f<_0x4391e5-0x1:_0x2f7c7f>0x0));}}class _i extends _0x11617e{constructor(_0x3fee03){super(_0x3fee03);const _0x458c74=this['bindTemplate'],_0x2608ca=new _0x3fc38a(_0x3fee03),_0x422b45=new _0x3fc38a(_0x3fee03);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',(_0x48c453,_0x4c4812)=>_0x48c453&&_0x4c4812>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x7d494d,_0x3263d2,_0x57630d,_0x493b37)=>{if(!_0x7d494d)return y(_0x3fee03,'Loading...');if(!_0x57630d)return y(_0x3fee03,'No\x20changes');const _0x46dbc7=y(_0x3fee03,'NUMBER_OF_CHANGES',_0x57630d);return _0x493b37?y(_0x3fee03,'X_OF_Y_CHANGES',[_0x3263d2+0x1,_0x57630d]):_0x46dbc7;}),_0x2608ca['set']({'label':y(_0x3fee03,'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'}),_0x422b45['set']({'label':y(_0x3fee03,'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'}),_0x2608ca['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x422b45['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2608ca['on']('execute',()=>this['fire']('execute','backward')),_0x422b45['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',_0x458c74['if']('_isStatusLabelVisible','ck-hidden',_0x451733=>!_0x451733)]},'children':[{'text':_0x458c74['to']('isNavigationMode',_0x4e7f63=>_0x4e7f63?y(_0x3fee03,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3fee03,'Total')+':\x20')}]},{'text':_0x458c74['to']('_statusText')}]},new _0x5cf71e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2608ca,_0x422b45]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x462677{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3e60a9=this['editor']['editing']['view'];_0x3e60a9['change'](_0x4dd138=>{for(const _0x216eb6 of _0x3e60a9['document']['roots'])_0x4dd138['addClass'](ce,_0x216eb6);});}['hide'](){const _0x1f2263=this['editor']['editing']['view'];_0x1f2263['change'](_0x260e81=>{for(const _0x4168fc of _0x1f2263['document']['roots'])_0x260e81['removeClass'](ce,_0x4168fc);});}}class R extends _0x462677{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4f7ad7=this['editor'],_0x39b467=_0x4f7ad7['plugins']['get'](d),_0x8c4d87=_0x4f7ad7['plugins']['get'](de);_0x4f7ad7['ui']['componentFactory']['add']('exitToEditing',_0x4143b9=>{const _0xfe789e=new _0x3fc38a(_0x4143b9);return _0xfe789e['set']({'label':y(_0x4143b9,'Back\x20to\x20editing'),'icon':_0xea3c15['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xfe789e,'execute',()=>{_0x4f7ad7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xfe789e;}),_0x4f7ad7['ui']['componentFactory']['add']('restoreRevision',_0x3e8525=>{const _0x2e6fad=new _0x3fc38a(_0x3e8525);return _0x2e6fad['set']({'label':y(_0x3e8525,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2e6fad['bind']('isEnabled')['to'](_0x4f7ad7['commands']['get']('restoreRevision')),this['listenTo'](_0x2e6fad,'execute',()=>_0x4f7ad7['execute']('restoreRevision')),_0x2e6fad;}),_0x4f7ad7['ui']['componentFactory']['add']('changesNavigation',_0x364699=>{const _0x1349e2=new _i(_0x364699),_0x5640b5=_0x4f7ad7['commands']['get']('showPreviousChange'),_0x58fc50=_0x4f7ad7['commands']['get']('showNextChange');return _0x1349e2['bind']('isBackwardNavigationEnabled')['to'](_0x5640b5,'isEnabled'),_0x1349e2['bind']('isForwardNavigationEnabled')['to'](_0x58fc50,'isEnabled'),_0x1349e2['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x39b467),this['listenTo'](_0x1349e2,'execute',(_0x2ab240,_0x47201c)=>{_0x4f7ad7['execute']('forward'===_0x47201c?'showNextChange':'showPreviousChange');}),_0x1349e2;}),_0x8c4d87['show'](),_0x39b467['on']('change:isReady',(_0x57a0a0,_0x416281,_0x133b70)=>{_0x133b70?_0x8c4d87['hide']():_0x8c4d87['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x524798,_0x333211){super(_0x524798,_0x333211);const _0x29e691=this['bindTemplate'];this['set']({'label':y(_0x524798,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x524798,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x29e691['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 _0x33b9e4=this['fieldView']['element'];this['_tooltipString']=_0x33b9e4['scrollWidth']>_0x33b9e4['clientWidth']&&_0x33b9e4['value']||'';}}class ti extends _0x11617e{constructor(_0x3339b4,_0x554d94,_0x21c05e){super(_0x3339b4);const _0x4e6230=new _0x207a75();_0x4e6230['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 _0x308eb9=['ck','ck-revision-history-sidebar__revision-author'];_0x21c05e&&_0x308eb9['push']('ck-revision-history-sidebar__revision-author_creator');const _0x22d1c3=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3339b4,_0x21c05e?'Revision\x20creator':'Revision\x20author')},'children':[_0x4e6230,_0x554d94['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x308eb9},'children':_0x22d1c3});}}function ni(_0xfa516d,_0x3ecf4a){const _0x53435f=_0xfa516d['bindTemplate'],_0x5b0c99=_0xfa516d['locale'],_0x271a53=_0x321ef6(_0x5b0c99);_0x271a53['panelPosition']='sw';const _0x2a0d54=function(_0x5b1ac5,_0x457a45){const _0x314a8f=function(_0x37e88c,_0x5152e2){const _0x3aa5e6=_0x37e88c['locale'],_0x2a2480={'Compare\x20against\x20selected':y(_0x3aa5e6,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3aa5e6,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3aa5e6,'Restore\x20this\x20revision')};return _0x5152e2['map'](_0x452838=>{const _0x58cc2c=_0x2a2480[_0x452838['name']];return _0x58cc2c&&_0x58cc2c!==_0x452838['name']&&(_0x452838['name']=_0x58cc2c),_0x452838;});}(_0x5b1ac5,_0x457a45),_0x485782=new _0x49389d();for(const _0x54d117 of _0x314a8f){const _0x19933b={'type':'button','model':new to({'label':_0x54d117['name'],'class':_0x54d117['class'],'withText':!0x0,'role':'menuitem','_action':_0x54d117['action']})};_0x19933b['model']['bind']('isEnabled')['to'](_0x5b1ac5,'isActionsDropdownOpen',_0xa5f95d=>'function'!=typeof _0x54d117['isEnabled']||(!_0xa5f95d||_0x54d117['isEnabled'](_0x5b1ac5))),_0x485782['add'](_0x19933b);}return _0x485782;}(_0xfa516d,_0x3ecf4a);return _0xfa516d['bind']('isActionsDropdownOpen')['to'](_0x271a53,'isOpen'),_0x271a53['buttonView']['set']({'label':y(_0x5b0c99,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xea3c15['threeVerticalDots']}),_0x271a53['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x53435f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x53435f['to'](_0x49a97a=>_0x49a97a['stopPropagation']())}}),_0x271a53['on']('execute',_0x1db98e=>{_0xfa516d['isReady']&&'function'==typeof _0x1db98e['source']['_action']&&_0x1db98e['source']['_action'](_0xfa516d);}),_0x2be2ce(_0x271a53,_0x2a0d54,{'role':'menu'}),_0x271a53['listenTo'](_0xfa516d,'change:isActionsDropdownOpen',(_0x1f2af4,_0x506445,_0x2dafa8)=>{if(_0x2dafa8)for(const _0x3b482c of _0x271a53['listView']['items']){const _0x3a0709=_0x3b482c['children']['first'],_0x384fb2=_0x3ecf4a['find'](_0x256cfa=>_0x256cfa['action']===_0x3a0709['_action'])['isVisible'];_0x3b482c['isVisible']=void 0x0===_0x384fb2||_0x384fb2(_0xfa516d);}}),_0x271a53;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x18654b,Context as _0x5a1a8a,PendingActions as _0x4e21af,icons as _0x22d62c,Command as _0xf2a719,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2b3d8d,uid as _0x1fef2a,Collection as _0x11a29b,logWarning as _0x9be4b7,FocusTracker as _0x3eadd8,KeystrokeHandler as _0x5e2ba8,scrollViewportToShowTarget as _0x1712b9,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x171c0c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2619e6,getMarkerDomElement as _0x2648a9,ConfirmMixin as _0x481dc5,sanitizeEditorConfig as _0x8b23e3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3b60fc,ViewText as _0x6b7091,ViewElement as _0x57d40e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1a9549,ViewAttributeElement as _0x1fbea8,ViewEmptyElement as _0x231d56,ViewRawElement as _0x522c63,ViewUIElement as _0x170638,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x30931d,set as _0x577f58,unset as _0xff1279,isEqual as _0x3825f8}from'lodash-es';import{View as _0x2cc590,injectCssTransitionDisabler as ts,submitHandler as _0x40b8c1,LabeledFieldView as at,createLabeledInputText as _0x1f6267,createDropdown as _0x46a514,ListView as te,ListItemView as _0xd7f1fb,ButtonView as _0x3ce999,MenuBarMenuView as _0xe61ffa,MenuBarMenuListView as _0x40e2be,MenuBarMenuListItemView as _0x3c5a94,MenuBarMenuListItemButtonView as _0x553942,ContextualBalloon as _0x4ba25a,ToolbarSeparatorView as _0x1f3e8a,IconView as _0x181ffe,addListToDropdown as _0x194c1a,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 _0x804a2a}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2b3d8d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x248376){super(),this['id']=_0x248376['id']||_0x1fef2a(),this['creator']=_0x248376['creator']||null,this['authors']=_0x248376['authors']||[],this['diffData']=_0x248376['diffData']||null,this['toVersion']=_0x248376['toVersion']||0x0,this['fromVersion']=_0x248376['fromVersion']||0x0,this['set']('name',_0x248376['name']||''),this['set']('createdAt',_0x248376['createdAt']||new Date()),this['set']('attributes',_0x248376['attributes']||{});}['setName'](_0x15f43b){this['_update']({'name':_0x15f43b});}['setAttribute'](_0x5c3a8e,_0x410dbf){const _0x20ba18=_0x30931d(this['attributes']);_0x577f58(_0x20ba18,_0x5c3a8e,_0x410dbf),this['_update']({'attributes':_0x20ba18});}['removeAttribute'](_0x20371f){const _0x14cc70=_0x30931d(this['attributes']);_0xff1279(_0x14cc70,_0x20371f),this['_update']({'attributes':_0x14cc70});}['_update'](_0x11b0ed,_0x3d794d=!0x1){let _0x40cd72=!0x1;const _0x2f211e={'id':this['id']},_0x4e4652=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x35c6f3 of _0x4e4652){const _0x303ef7=_0x11b0ed[_0x35c6f3];void 0x0!==_0x303ef7&&_0x303ef7!==this[_0x35c6f3]&&(this[_0x35c6f3]=_0x303ef7,_0x2f211e[_0x35c6f3]=_0x303ef7,_0x40cd72=!0x0);}_0x40cd72&&(_0x2f211e['authors']&&(_0x2f211e['authorsIds']=_0x2f211e['authors']['map'](_0x59ce31=>_0x59ce31['id']),delete _0x2f211e['authors']),this['fire']('_update',_0x2f211e,_0x3d794d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x690671=>_0x690671['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x18654b{['_revisions'];static get['requires'](){return[_0x2619e6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2357b6){super(_0x2357b6),this['_revisions']=new _0x11a29b();}['afterInit'](){!function(_0x227939){function _0x44f82e(_0x4e7f89,_0x482803,_0x1591ba){const _0x36e2c8={};_0x36e2c8[_0xd7dcf4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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 _0x4de4a1=new Uint8Array(0x10);for(let _0xd67a5=0xf;_0xd67a5>=0x0;--_0xd67a5)_0x4de4a1[_0xd67a5]=_0x1591ba%0x100,_0x1591ba=parseInt(_0x1591ba/0x100);let _0x5d62ea=null,_0x2e89c4=0x10;const _0x4dc5be=new Uint8Array(_0x482803),_0x325580=[],_0x576989=[];_0x1b0297();for(let _0x559d27=0x0;_0x559d27<_0x4e7f89[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x559d27++)0x10===_0x2e89c4&&(_0x5d62ea=_0x39dcbc(_0x4de4a1),_0x2e89c4=0x0,_0x4cd998(_0x4de4a1)),_0x4e7f89[_0x559d27]^=_0x5d62ea[_0x2e89c4++];return _0x4e7f89;function _0x3cbacf(_0x4e11f9){const _0xdac62=[];for(let _0x42cc48=0x0;_0x42cc48<_0x4e11f9[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42cc48+=0x4)_0xdac62[_0xd7dcf4([0x70,0x75,0x73,0x68])](_0x4e11f9[_0x42cc48]<<0x18|_0x4e11f9[_0x42cc48+0x1]<<0x10|_0x4e11f9[_0x42cc48+0x2]<<0x8|_0x4e11f9[_0x42cc48+0x3]);return _0xdac62;}function _0x4cd998(_0x7be958){for(let _0x33fb15=0xf;_0x33fb15>=0x0;_0x33fb15--){if(0xff!==_0x7be958[_0x33fb15]){_0x7be958[_0x33fb15]++;break;}_0x7be958[_0x33fb15]=0x0;}}function _0x39dcbc(_0xae3f78){const _0x37d0cf=_0x325580[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x154e9e=[0x0,0x0,0x0,0x0];let t=_0x3cbacf(_0xae3f78);for(let _0x15ce8f=0x0;_0x15ce8f<0x4;_0x15ce8f++)t[_0x15ce8f]^=_0x325580[0x0][_0x15ce8f];for(let _0x5ed498=0x1;_0x5ed498<_0x37d0cf;_0x5ed498++){for(let _0x4e7055=0x0;_0x4e7055<0x4;_0x4e7055++)_0x154e9e[_0x4e7055]=_0x36e2c8[_0xd7dcf4([0x54,0x31])][t[_0x4e7055]>>0x18&0xff]^_0x36e2c8[_0xd7dcf4([0x54,0x32])][t[(_0x4e7055+0x1)%0x4]>>0x10&0xff]^_0x36e2c8[_0xd7dcf4([0x54,0x33])][t[(_0x4e7055+0x2)%0x4]>>0x8&0xff]^_0x36e2c8[_0xd7dcf4([0x54,0x34])][0xff&t[(_0x4e7055+0x3)%0x4]]^_0x325580[_0x5ed498][_0x4e7055];t=_0x154e9e[_0xd7dcf4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x116dbf=new Uint8Array(0x10);let _0x50f483;for(let _0x1c3126=0x0;_0x1c3126<0x4;_0x1c3126++)_0x50f483=_0x325580[_0x37d0cf][_0x1c3126],_0x116dbf[0x4*_0x1c3126]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][t[_0x1c3126]>>0x18&0xff]^_0x50f483>>0x18),_0x116dbf[0x4*_0x1c3126+0x1]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][t[(_0x1c3126+0x1)%0x4]>>0x10&0xff]^_0x50f483>>0x10),_0x116dbf[0x4*_0x1c3126+0x2]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][t[(_0x1c3126+0x2)%0x4]>>0x8&0xff]^_0x50f483>>0x8),_0x116dbf[0x4*_0x1c3126+0x3]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][0xff&t[(_0x1c3126+0x3)%0x4]]^_0x50f483);return _0x116dbf;}function _0x1b0297(){const _0x910046=_0x36e2c8[_0xd7dcf4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4dc5be[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xd54d30=0x0;_0xd54d30<=_0x910046;_0xd54d30++)_0x325580[_0xd7dcf4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x576989[_0xd7dcf4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3aab5c=0x4*(_0x910046+0x1),_0x1dbb83=_0x4dc5be[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x275488=_0x3cbacf(_0x4dc5be);let _0x281dd2;for(let _0x3f2248=0x0;_0x3f2248<_0x1dbb83;_0x3f2248++)_0x281dd2=_0x3f2248>>0x2,_0x325580[_0x281dd2][_0x3f2248%0x4]=_0x275488[_0x3f2248],_0x576989[_0x910046-_0x281dd2][_0x3f2248%0x4]=_0x275488[_0x3f2248];let _0xa9bef4,_0x3dda40=0x0,t=_0x1dbb83;for(;t<_0x3aab5c;){_0xa9bef4=_0x275488[_0x1dbb83-0x1],_0x275488[0x0]^=_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x10&0xff]<<0x18^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x8&0xff]<<0x10^_0x36e2c8[_0xd7dcf4([0x53])][0xff&_0xa9bef4]<<0x8^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x18&0xff]^_0x36e2c8[_0xd7dcf4([0x72,0x63,0x6f,0x6e])][_0x3dda40]<<0x18,_0x3dda40+=0x1;for(let _0x25249c=0x1;_0x25249c<_0x1dbb83/0x2;_0x25249c++)_0x275488[_0x25249c]^=_0x275488[_0x25249c-0x1];_0xa9bef4=_0x275488[_0x1dbb83/0x2-0x1],_0x275488[_0x1dbb83/0x2]^=_0x36e2c8[_0xd7dcf4([0x53])][0xff&_0xa9bef4]^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x8&0xff]<<0x8^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x10&0xff]<<0x10^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x18&0xff]<<0x18;for(let _0x7abb23=_0x1dbb83/0x2+0x1;_0x7abb23<_0x1dbb83;_0x7abb23++)_0x275488[_0x7abb23]^=_0x275488[_0x7abb23-0x1];let _0x595255,_0x2e0872,_0x434865=0x0;for(;_0x434865<_0x1dbb83&&t<_0x3aab5c;)_0x595255=t>>0x2,_0x2e0872=t%0x4,_0x325580[_0x595255][_0x2e0872]=_0x275488[_0x434865],_0x576989[_0x910046-_0x595255][_0x2e0872]=_0x275488[_0x434865++],t++;}for(let _0x316173=0x1;_0x316173<_0x910046;_0x316173++)for(let _0x494ab0=0x0;_0x494ab0<0x4;_0x494ab0++)_0xa9bef4=_0x576989[_0x316173][_0x494ab0],_0x576989[_0x316173][_0x494ab0]=_0x36e2c8[_0xd7dcf4([0x55,0x31])][_0xa9bef4>>0x18&0xff]^_0x36e2c8[_0xd7dcf4([0x55,0x32])][_0xa9bef4>>0x10&0xff]^_0x36e2c8[_0xd7dcf4([0x55,0x33])][_0xa9bef4>>0x8&0xff]^_0x36e2c8[_0xd7dcf4([0x55,0x34])][0xff&_0xa9bef4];}}function _0xd7dcf4(_0x440628){return _0x440628['map'](_0x3fc5a5=>String['fromCharCode'](_0x3fc5a5))['join']('');}(_0x44143a=>{function _0xf3166b(){const _0x149ef6=[{[_0xd7dcf4([0x69,0x64])]:0x1,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xd7dcf4([0x69,0x64])]:0x2,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([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]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xd7dcf4([0x69,0x64])]:0x3,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd7dcf4([0x69,0x64])]:0x4,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([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]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xd7dcf4([0x69,0x64])]:0x5,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([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]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x6,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x7,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x8,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([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]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x9,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xd7dcf4([0x69,0x64])]:0xa,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([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]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([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]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([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]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0xb,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd7dcf4([0x69,0x64])]:0xc,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xd7dcf4([0x69,0x64])]:0xd,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0xe,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xd7dcf4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([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])},{[_0xd7dcf4([0x69,0x64])]:0xf,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd7dcf4([0x69,0x64])]:0x10,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}}];return _0x5600dc(_0x149ef6),_0x149ef6;function _0x372f37(_0x23f229){return 0x1<<_0x23f229-0x1;}function _0x5600dc(_0x43f806){_0x43f806[_0xd7dcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ff0f3=>{_0x3ff0f3[_0xd7dcf4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x372f37(_0x3ff0f3[_0xd7dcf4([0x69,0x64])]),_0x541971(_0x3ff0f3)&&_0x3ff0f3[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5600dc(_0x3ff0f3[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x541971(_0x4860e2){return _0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4860e2;}const _0x2a3300=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4c41b4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3e8cf4(_0x136766){const _0x1d8f75=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xb5546d(_0x136766,new Uint8Array([..._0x2a3300,..._0x1d8f75,..._0x4c41b4]));}function _0xb5546d(_0xaa4b65,_0x40bc92){const _0x56572e=_0x39261f(_0xaa4b65),_0x4bd8cc=Array[_0xd7dcf4([0x66,0x72,0x6f,0x6d])](_0x5e806d(_0x56572e)),_0x1fc153=_0x4bd8cc[_0xd7dcf4([0x70,0x6f,0x70])](),_0xb945e2=_0x4bd8cc[_0xd7dcf4([0x70,0x6f,0x70])]();return _0x290b83(_0x44f82e(_0x4bd8cc,_0x40bc92,_0xb945e2+0x100*_0x1fc153));}function _0x39261f(_0x3541c9){const _0x1dccef=atob(_0x3541c9),[_0x3cb522,_0x2c7358]=_0x1dccef[_0xd7dcf4([0x73,0x70,0x6c,0x69,0x74])](_0xd7dcf4([0x2d]));try{if(atob(_0x2c7358))return atob(_0x3cb522);}catch(_0x81aafa){}return _0x1dccef;}function _0x57ba1b(_0x1a921b){try{const _0x461e02=_0x3e8cf4(_0x1a921b),_0x40e8c8=JSON[_0xd7dcf4([0x70,0x61,0x72,0x73,0x65])](_0x461e02),_0x39c862=parseInt(_0x40e8c8[_0xd7dcf4([0x31])]),_0xeb1f56=_0x40e8c8[_0xd7dcf4([0x32])]||'',_0x3e3907=parseInt(_0x40e8c8[_0xd7dcf4([0x33])]),_0x3fd3ac=parseInt(_0x40e8c8[_0xd7dcf4([0x34])])||0x0,_0x28bd50=parseInt(_0x40e8c8[_0xd7dcf4([0x35])])||0x0;return{[_0xd7dcf4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xeb1f56,[_0xd7dcf4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3fd3ac,[_0xd7dcf4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x39c862,[_0xd7dcf4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3e3907,[_0xd7dcf4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x28bd50};}catch(_0x590ea5){return null;}}const _0x181366=_0xf3166b(),_0xae618e={[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x57f816,[_0xd7dcf4([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])]:_0x5432e3,[_0xd7dcf4([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])]:_0x281fb4},_0x26e537=_0x44143a[_0xd7dcf4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1845d2=_0xd7dcf4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x44143a?_0x44143a['context']:_0x44143a['editor'],_0x33c0c8=_0xd7dcf4([0x34,0x30,0x34,0x38,0x31,0x34,0x33,0x34]),_0x4ee3aa=_0xd7dcf4([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]),_0x3379a0=_0x1845d2['config']['get'](_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x519012=_0x181366[_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x541971)[_0xd7dcf4([0x66,0x69,0x6e,0x64])](_0x5b7c5e=>_0x5b7c5e[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x26e537);function _0x467928(_0x1bfbad,_0x149d2d){_0xae618e[_0x149d2d[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1bfbad,_0x149d2d),_0x149d2d[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x149d2d[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x564c46=>_0x112fe3(_0x1845d2,_0x564c46[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xd7dcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2144af=>_0x467928(_0x1bfbad,_0x2144af));}function _0x57f816(_0x27ec97,_0x25bc2c){_0x5c0379(_0x3c89d7(_0x27ec97,_0x25bc2c),_0x25bc2c);}function _0x5432e3(_0x58dda1,_0x278762){function _0x25d4f6(_0x1c0a57,_0x5bddea){try{if(_0x112fe3(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1c0a57){const _0x427106=_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xd7dcf4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x427106)/0x2>_0x1c0a57[_0xd7dcf4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x365dbb(_0x5bddea[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3c89d7(_0x1c0a57,_0x5bddea);}catch(_0x294373){return _0x365dbb(_0x5bddea[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5c0379(_0x25d4f6(_0x58dda1,_0x278762),_0x278762);}function _0x281fb4(_0xe99892,_0x3d6c03){const _0x3a56f6=_0x4c41b4[0x0]*_0x2a3300[0x1],_0x44e07c=_0x4c41b4[0x0]*_0x2a3300[0x2],_0x407d16=_0x4c41b4[0x2]*_0x2a3300[0x2];_0x112fe3(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x12d1bd()]=_0x407d16);function _0x3772ac(_0x3c6ab1,_0x5a6d22){try{return _0x59cbf4()?_0x365dbb(_0x5a6d22[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x56,0x61,0x6c,0x69,0x64])):_0x3c89d7(_0x3c6ab1,_0x5a6d22);}catch(_0x2e9f2b){return _0x365dbb(_0x5a6d22[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x6246b4(_0x37f02d,_0x597cde){const _0x548c4b=0x7;if(_0x37f02d==_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x46f21f();else{if(_0x37f02d==_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])){const _0x148d50=_0x55fbbc();_0x148d50&&_0x2de525(_0x148d50,_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x55121f=_0x398724();window[_0xd7dcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2de525(_0xd7dcf4([0x74,0x69,0x6d,0x65]),_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x55121f);const _0xc4f3c5=_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd7dcf4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xc4f3c5[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x548c4b?_0x2de525(_0xd7dcf4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xc4f3c5['on'](_0xd7dcf4([0x61,0x64,0x64]),()=>{_0xc4f3c5[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x548c4b&&_0x2de525(_0xd7dcf4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x55fbbc(){if(!_0x112fe3(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4b9c05 in window)if(Number['isNaN'](Number(_0x4b9c05))){if(window[_0x4b9c05]===_0x3a56f6)return _0xd7dcf4([0x74,0x69,0x6d,0x65]);if(window[_0x4b9c05]===_0x44e07c)return _0xd7dcf4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x59cbf4(){if(!_0x112fe3(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x54af23 in window)if(Number['isNaN'](Number(_0x54af23))&&window[_0x54af23]===_0x407d16)return!0x0;return!0x1;}function _0x2de525(_0x496e2,_0x147641){_0x46f21f(),_0x365dbb(_0x147641+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x496e2),window[_0x12d1bd()]=_0x496e2===_0xd7dcf4([0x74,0x69,0x6d,0x65])?_0x3a56f6:_0x44e07c;}function _0x398724(){let _0x3e329f=_0x4c41b4[0x6]*_0x2a3300[0x8]*_0x2a3300[0x6];return _0x112fe3(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3e329f/=0xa),_0x3e329f;}function _0x46f21f(){const _0xb8e14b=_0x1845d2;function _0x29ba9d(){_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x209349,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x209349,_0xb8e14b[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0xb8e14b[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0xb8e14b[_0xd7dcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c]))),_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x209349,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x209349);}_0xb8e14b[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x72,0x65,0x61,0x64,0x79])?_0x29ba9d():_0xb8e14b[_0xd7dcf4([0x6f,0x6e,0x63,0x65])](_0xd7dcf4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x29ba9d(),_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1fdda7=_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3ff53a=_0x1fdda7['getRevision'](0x0),_0x2522af=_0x1fdda7['getEarlierVisibleRevision'](_0x3ff53a[_0xd7dcf4([0x69,0x64])]);_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3ff53a[_0xd7dcf4([0x69,0x64])],_0x2522af?_0x2522af[_0xd7dcf4([0x69,0x64])]:null,0x1)['then'](()=>_0x29ba9d());}});}_0x6246b4(_0x3772ac(_0xe99892,_0x3d6c03),_0x3d6c03);}function _0x3c89d7(_0x48da01,_0x540394){try{return _0x5f2597(_0x540394)?_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x56,0x61,0x6c,0x69,0x64])):_0x48da01&&_0x5178cb(_0x48da01[_0xd7dcf4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x540394)?_0x48da01[_0xd7dcf4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xd7dcf4([0x6f,0x70,0x65,0x6e])][_0xd7dcf4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x33c0c8)/0x2>_0x48da01[_0xd7dcf4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x48da01[_0xd7dcf4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])):_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x56,0x61,0x6c,0x69,0x64])):_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2c7be2){return _0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5c0379(_0x17df35,_0x288360){if(_0x1845d2 instanceof _0x5a1a8a){const _0x3b9d21=_0x1845d2;_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x482a79(_0x3b9d21):_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])&&window[_0xd7dcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x482a79(_0x3b9d21),_0x365dbb(_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4c41b4[0x6]*_0x2a3300[0x8]*_0x2a3300[0x6]),_0x3b9d21[_0xd7dcf4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xd7dcf4([0x6f,0x6e])](_0xd7dcf4([0x61,0x64,0x64]),(_0x2dccb3,_0x4145d2)=>{_0x17df35!=_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x17df35!=_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x17df35!=_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x42f9d1(_0x4145d2);});}else{const _0x1a19b1=_0x1845d2;_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x42f9d1(_0x1a19b1):_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])&&_0x1a19b1[_0xd7dcf4([0x6f,0x6e])](_0xd7dcf4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3ae3cf=0x0;_0x1a19b1[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x6f,0x6e])](_0xd7dcf4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x204baa,_0xb44253)=>{_0xb44253[0x0][_0xd7dcf4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ae3cf++,0x1f8===_0x3ae3cf&&(_0x42f9d1(_0x1a19b1),_0x365dbb(_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x204baa[_0xd7dcf4([0x6f,0x66,0x66])]());},{'priority':_0xd7dcf4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x365dbb(_0x5b4f2a){const _0x57010f=_0x12d1bd();return _0x1845d2[_0x57010f]=_0x5b4f2a,_0x5b4f2a;}function _0x12d1bd(){const _0x52a062=String(window[_0xd7dcf4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd7dcf4([0x6e,0x6f,0x77])]())[_0xd7dcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd7dcf4([0x2e]),'');let _0x5f25be='';for(let _0x535b17=0x0;_0x535b17<_0x52a062[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x535b17+=0x2){let _0x470fe4=parseInt(_0x52a062[_0xd7dcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x535b17,_0x535b17+0x2));_0x470fe4>=_0x4ee3aa[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x470fe4-=_0x4ee3aa[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f25be+=_0x4ee3aa[_0x470fe4];}return _0x5f25be;}function _0x482a79(_0x96cfb7){for(const _0x80a7ff of _0x96cfb7[_0xd7dcf4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x42f9d1(_0x80a7ff);_0x1c0dc2(_0x96cfb7,_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd7dcf4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1c0dc2(_0x96cfb7,_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd7dcf4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x209349;}function _0x42f9d1(_0x4bbe18){function _0x5122ce(){_0x4bbe18[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0x4bbe18[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0x4bbe18[_0xd7dcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4bbe18[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x72,0x65,0x61,0x64,0x79])?_0x5122ce():_0x4bbe18[_0xd7dcf4([0x6f,0x6e,0x63,0x65])](_0xd7dcf4([0x72,0x65,0x61,0x64,0x79]),()=>_0x5122ce());}function _0x209349(){return null;}function _0x5178cb(_0xd0ca01,_0x59276e){const _0x4422ee=!!(_0xd0ca01&_0x59276e[_0xd7dcf4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x26585e=_0x5a87f3(_0xd0ca01,_0x59276e);return _0x4422ee||_0x26585e;}function _0x5a87f3(_0x96f13e,_0x52a277){const _0x59c076=(_0x52a277[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xd7dcf4([0x66,0x67,0x69])]||null;return!!_0x59c076&&_0x181366[_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10e60f=>_0x59c076[_0xd7dcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10e60f[_0xd7dcf4([0x69,0x64])]))[_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f1ccc=>!_0x50985a(_0x4f1ccc))[_0xd7dcf4([0x73,0x6f,0x6d,0x65])](_0x3b730f=>!!(_0x96f13e&_0x3b730f[_0xd7dcf4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x50985a(_0x5442bf){const _0x1a5c5a={[_0xd7dcf4([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])]:_0x1f19e5};return!!_0x5442bf['forbiddenHandler']&&_0x1a5c5a[_0x5442bf['forbiddenHandler']]();}function _0x1f19e5(){return!window[_0xd7dcf4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x112fe3(_0x1845d2,_0xd7dcf4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5f2597(_0x38079b){if(!_0x112fe3(_0x1845d2,_0x38079b[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4b4d0a=_0x38079b[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x42e4e0=_0x4b4d0a[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x526b8a=_0x4b4d0a[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0xccafcf=_0x4b4d0a[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x112fe3(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x42e4e0)return!0x0;if(_0x112fe3(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xd7dcf4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xd7dcf4([0x65,0x6e,0x64])&&_0x526b8a)return!0x0;return!(!_0x112fe3(_0x1845d2,_0xd7dcf4([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]))||_0x1c0dc2(_0x1845d2,_0xd7dcf4([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]))[_0xd7dcf4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xd7dcf4([0x65,0x6e,0x64])||!_0xccafcf);}function _0x112fe3(_0x250da8,_0x52e17a){return _0x250da8[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xd7dcf4([0x68,0x61,0x73])](_0x52e17a);}function _0x1c0dc2(_0x4d87e9,_0x138c2d){return _0x4d87e9[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xd7dcf4([0x67,0x65,0x74])](_0x138c2d);}function _0x290b83(_0xd32f1a){let _0x4e06ed='';for(const _0x4b3b93 of _0xd32f1a)_0x4e06ed+=String[_0xd7dcf4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4b3b93);return _0x4e06ed;}function _0x5e806d(_0x138bc9){const _0x5efa65=new Uint8Array(_0x138bc9[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5a0d1c=0x0;_0x5a0d1c<_0x138bc9[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0d1c++)_0x5efa65[_0x5a0d1c]=_0x138bc9[_0xd7dcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a0d1c);return _0x5efa65;}_0x519012&&_0x467928(_0x57ba1b(_0x3379a0),_0x519012);})(_0x227939);}(this);}['createRevision'](_0x41db00){const _0x31bff7=this['editor']['plugins']['get']('Users');return new a({'id':_0x41db00['id'],'name':_0x41db00['name'],'creator':_0x41db00['creatorId']?_0x31bff7['getUser'](_0x41db00['creatorId']):null,'diffData':_0x41db00['diffData']||_0x41db00['data'],'authors':_0x41db00['authorsIds']['map'](_0x4780bc=>_0x31bff7['getUser'](_0x4780bc)),'createdAt':new Date(_0x41db00['createdAt']),'attributes':_0x41db00['attributes'],'fromVersion':_0x41db00['fromVersion'],'toVersion':_0x41db00['toVersion']});}['addRevision'](_0x2169d9,_0x3a5466=0x0){this['_revisions']['add'](_0x2169d9,_0x3a5466);}['getRevision'](_0x45e476){return this['_revisions']['get'](_0x45e476);}['getRevisions'](_0x73fc45={'toJSON':!0x1}){const _0x427062=Array['from'](this['_revisions']);return _0x427062['reverse'](),_0x73fc45['toJSON']?_0x427062['map'](_0x4d4b81=>_0x4d4b81['toJSON']()):_0x427062;}['getIndex'](_0xcd71ef){return this['_revisions']['getIndex'](_0xcd71ef);}['getEarlierVisibleRevision'](_0x2a4018){const [,_0x4895a9]=this['getRevisionsIterator'](_0x2a4018,{'direction':'earlier'});return _0x4895a9;}['getLaterVisibleRevision'](_0x5883c3){const [,_0x38bc10]=this['getRevisionsIterator'](_0x5883c3,{'direction':'later'});return _0x38bc10;}['getRevisionsInDiff'](_0x3cff9){const _0x1a06e0=[];for(const _0x541726 of this['getRevisionsIterator'](_0x3cff9['newRevisionId']))if(_0x1a06e0['push'](_0x541726),_0x541726['id']===_0x3cff9['oldRevisionId'])break;return _0x1a06e0;}*['getRevisionsIterator'](_0x2ad0b1,{direction:_0x22c534='earlier',filter:_0x215a5d=_0x4d430a=>!0x0}={}){const _0x597b76='earlier'===_0x22c534?0x1:-0x1;let _0x578441=this['_revisions']['get'](_0x2ad0b1),_0xb8d499=this['getIndex'](_0x578441);for(yield _0x578441;_0x578441;){if(_0xb8d499+=_0x597b76,_0x578441=this['getRevision'](_0xb8d499),!_0x578441)return;_0x215a5d(_0x578441)&&(yield _0x578441);}}}function y(_0x5d8a62,_0x4ee181,_0x399bab){const t=_0x5d8a62['t'];switch(_0x4ee181){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'},_0x399bab);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x399bab);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':_0x1a9549,'a':_0x1fbea8,'e':_0x231d56,'r':_0x522c63,'u':_0x170638};class l extends _0x18654b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2619e6,A,_0x4e21af];}constructor(_0x149a18){super(_0x149a18),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 _0x456b65=_0x1fef2a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x456b65},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 _0x40de31=this['repository']['getRevision'](0x0),_0x55826e=_0x40de31&&null===_0x40de31['creator']?_0x40de31:null;if(this['_continueCurrentRevision']=!!_0x55826e&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x16ec0e=this['_source']['getCurrentRevisionId'](),_0x27a07d=this['repository']['getRevision'](_0x16ec0e);if(_0x27a07d)this['_startingVersion']=_0x27a07d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x48b0b6=this['_source']['history']['_operations']['find'](_0x2502b4=>!_0x2502b4['_isInit']),_0x1bf9de=_0x48b0b6?_0x48b0b6['baseVersion']:this['_source']['history']['version'];_0x40de31?(_0x40de31['toVersion']<_0x1bf9de&&_0x40de31['_update']({'toVersion':_0x1bf9de}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x55826e['id'],this['_startingVersion']=_0x55826e['fromVersion']):(this['_startingVersion']=_0x40de31['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1bf9de,this['_continueCurrentRevision']=!0x1);}}else _0x55826e&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x55826e['toVersion'],this['editor']['model']['document']['history']['version']),_0x55826e['fromVersion']===_0x55826e['toVersion']?(0x0!==_0x55826e['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x55826e['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x55826e['id'],this['_startingVersion']=_0x55826e['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',_0x5a1f75=>!_0x5a1f75);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x33d215=this['repository']['getRevision'](0x0),_0x311b28=await this['getRevisionDocumentData'](_0x33d215),_0x3d509a=await this['getRevisionRootsAttributes'](_0x33d215);this['_replaceEditorDataWithRevisionData'](_0x311b28,_0x3d509a);}}['setSource'](_0x562bc7){this['_source']=_0x562bc7;}async['update'](){const _0x71f647=await this['_source']['getLatestVersion']();if(_0x71f647>this['currentRevision']['toVersion']){await this['_loadState']();const _0x211a59=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x71f647});_0x211a59['authors']=_0x211a59['authorsIds']['map'](_0x5229b9=>this['editor']['plugins']['get']('Users')['getUser'](_0x5229b9)),this['currentRevision']['_update'](_0x211a59);}}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'](_0x39a5a5={},_0x3a0316=null){const _0xc36d58=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3a0316>this['currentRevision']['toVersion']&&(_0x3a0316=null),null===_0x3a0316&&(_0x3a0316=await this['_source']['getLatestVersion']());const _0x546a4b=this['_getFromVersion'](_0x3a0316),_0x51864e=this['buildRevisionData']({'from':_0x546a4b,'to':_0x3a0316});if(this['currentRevision']['toVersion']<_0x3a0316){const _0x3aa3bb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3a0316,'to':_0x3a0316});_0x3aa3bb['authors']=[],_0x3aa3bb['authorsIds']=[],_0x3aa3bb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3aa3bb,!0x0),delete _0x3aa3bb['authors'],_0xc36d58['push'](_0x3aa3bb);}_0x39a5a5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x39a5a5['name']=_0x39a5a5['name']||null,_0x39a5a5['id']=_0x39a5a5['id']||_0x1fef2a(),_0x39a5a5={..._0x39a5a5,..._0x51864e};const _0x4de681=this['addRevisionData'](_0x39a5a5);_0xc36d58['push'](_0x39a5a5);const _0x142847=this['repository']['getIndex'](_0x4de681);if(0x0!==_0x142847){const _0x3772a8=this['repository']['getRevision'](_0x142847-0x1);if(_0x3772a8['fromVersion']!==_0x3a0316){const _0xd5f969=this['_revisionDataBuilder']['getData'](_0x3a0316,_0x3772a8['toVersion']),_0x1c775f={'id':_0x3772a8['id'],'diffData':_0xd5f969['diffData'],'authorsIds':_0xd5f969['authorsIds'],'authors':_0xd5f969['authorsIds']['map'](_0x3fc274=>this['editor']['plugins']['get']('Users')['getUser'](_0x3fc274)),'fromVersion':_0x3a0316};_0x3772a8===this['currentRevision']&&(_0x1c775f['createdAt']=new Date(_0x39a5a5['createdAt']['getTime']()+0xa)),_0x3772a8['_update'](_0x1c775f,!0x0),delete _0x1c775f['authors'],_0xc36d58['push'](_0x1c775f);}}if(this['adapter']){for(const _0x2edd40 of _0xc36d58)this['_bufferUpdate'](_0x2edd40['id'],_0x2edd40,!0x0);this['sendBufferedUpdates']();}return _0x4de681;}['addRevisionData'](_0x1be9bd){const _0x5dea13=this['repository']['createRevision'](_0x1be9bd);return this['adapter']&&_0x5dea13['on']('_update',(_0x3d4d45,_0xcf322d,_0xbb9fa0)=>{_0xbb9fa0||(this['_bufferUpdate'](_0xcf322d['id'],_0xcf322d,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5dea13,this['_findInsertionIndex'](_0x5dea13)),_0x5dea13;}async['getRevisionDocumentData'](_0x156362){await this['_loadRevisionData'](_0x156362);const _0x3ffe4c={};for(const _0x2020de in _0x156362['diffData']){if(_0x156362['diffData'][_0x2020de]['attachChange']&&!_0x156362['diffData'][_0x2020de]['attachChange']['isAttached'])continue;const _0x52a573=this['_removeRevisionMarkers'](JSON['parse'](_0x156362['diffData'][_0x2020de]['insertions'])),_0x30c279=this['editor']['editing']['view']['document'],_0xeda2a2=new _0x3b60fc(_0x30c279,_0x52a573['map'](_0x2b5c59=>B(_0x2b5c59,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3ffe4c[_0x2020de]=this['editor']['data']['processor']['toData'](_0xeda2a2),this['editor']['data']['processor']['useFillerType']('default');}return _0x3ffe4c;}async['getRevisionRootsAttributes'](_0x5afe6a){await this['_loadRevisionData'](_0x5afe6a);const _0x5ea4e6={};for(const _0x881ef in _0x5afe6a['diffData'])_0x5afe6a['diffData'][_0x881ef]['attachChange']&&!_0x5afe6a['diffData'][_0x881ef]['attachChange']['isAttached']||(_0x5ea4e6[_0x881ef]=_0x5afe6a['diffData'][_0x881ef]['attributesAfter']||{});return _0x5ea4e6;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4e0254=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xdf8a20=0x0;_0xdf8a20<_0x4e0254['length'];_0xdf8a20++){const _0x33c746=_0x4e0254[_0xdf8a20];let _0x202ddf=!0x1;for(const _0x38ec26 of Object['keys'](_0x33c746))void 0x0===_0x33c746[_0x38ec26]?delete _0x33c746[_0x38ec26]:'id'!==_0x38ec26&&(_0x202ddf=!0x0);_0x202ddf||(_0x4e0254[_0xdf8a20]=null);}if(_0x4e0254=_0x4e0254['filter'](_0x4bb0bc=>null!==_0x4bb0bc),!_0x4e0254['length'])return;for(let _0x4bb3b4=0x0;_0x4bb3b4<_0x4e0254['length'];_0x4bb3b4++){const _0x3f4fc4=_0x4e0254[_0x4bb3b4];void 0x0!==_0x3f4fc4['fromVersion']&&void 0x0===_0x3f4fc4['toVersion']&&(_0x3f4fc4['toVersion']=this['repository']['getRevision'](_0x3f4fc4['id'])['toVersion']),void 0x0!==_0x3f4fc4['toVersion']&&void 0x0===_0x3f4fc4['fromVersion']&&(_0x3f4fc4['fromVersion']=this['repository']['getRevision'](_0x3f4fc4['id'])['fromVersion']);}const _0x6b783=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4e0254,_0x6b783)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x322b5c=>{if(_0x322b5c){for(const _0x26243c of _0x322b5c)this['setRevisionData']({'id':_0x26243c['id'],'createdAt':_0x26243c['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x385b4a,_0x303473){let _0x37fc57=this['editor']['config']['get']('initialData'),_0x555468=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x37fc57){_0x37fc57={};for(const _0x180aad of this['editor']['model']['document']['getRootNames']())_0x37fc57[_0x180aad]='';}if('string'==typeof _0x37fc57&&(_0x37fc57={'main':_0x37fc57}),void 0x0===_0x555468){_0x555468={};for(const _0x279f45 of this['editor']['model']['document']['getRootNames']())_0x555468[_0x279f45]={};}let _0x45bc3d=!0x1;const _0x51d4e0=Object['keys'](_0x37fc57),_0x160680=Object['keys'](_0x385b4a);for(const _0x31b6f8 of _0x51d4e0){if(_0x37fc57[_0x31b6f8]!==_0x385b4a[_0x31b6f8]&&''!==_0x37fc57[_0x31b6f8]['trim']()){_0x45bc3d=!0x0;break;}if(!_0x3825f8(_0x555468[_0x31b6f8],_0x303473[_0x31b6f8])&&Object['keys'](_0x555468[_0x31b6f8])['length']>0x0){_0x45bc3d=!0x0;break;}}_0x45bc3d||(_0x45bc3d=_0x160680['some'](_0x159746=>!this['editor']['model']['document']['getRoot'](_0x159746))),_0x45bc3d&&_0x9be4b7('editor-initial-data-replaced-with-revision-data',{'editorData':_0x37fc57,'editorRootsAttributes':_0x555468,'revisionData':_0x385b4a,'revisionRootsAttributes':_0x303473}),this['editor']['config']['set']('initialData',_0x385b4a),this['editor']['config']['set']('rootsAttributes',_0x303473);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x36be03=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x36be03['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4888f2){const _0x4580fc=this['repository']['getRevisions']();_0x4580fc['reverse']();let _0x35aa6f=0x0;for(;_0x35aa6f<_0x4580fc['length'];){const _0x46968b=_0x4580fc[_0x35aa6f];if(_0x46968b===this['currentRevision']){_0x35aa6f++;continue;}if(_0x46968b['id']===this['_initialRevisionId'])break;const _0x58dc4d=_0x4888f2['toVersion']-_0x46968b['toVersion']||_0x4888f2['fromVersion']-_0x46968b['fromVersion'];if(_0x58dc4d>0x0)break;if(_0x58dc4d<0x0)_0x35aa6f++;else{if(!_0x4888f2['creator']&&_0x46968b['creator'])break;if(_0x46968b['creator']||!_0x4888f2['creator']){if(_0x4888f2['createdAt']>_0x46968b['createdAt'])break;_0x35aa6f++;}else _0x35aa6f++;}}return _0x35aa6f;}['setRevisionData'](_0x313fb9){const _0x32b0e6=this['repository']['getRevision'](_0x313fb9['id']);if(_0x313fb9['createdAt']&&(_0x313fb9['createdAt']=new Date(_0x313fb9['createdAt'])),_0x313fb9['authorsIds']){const _0x465dff=this['editor']['plugins']['get']('Users');_0x313fb9['authors']=_0x313fb9['authorsIds']['map'](_0x14699c=>_0x465dff['getUser'](_0x14699c));}_0x32b0e6['_update'](_0x313fb9,!0x0);}['buildRevisionData']({revision:_0x7714be=null,from:_0xb0e34e=null,to:_0x2ea3f0=null}){_0xb0e34e=null!==_0xb0e34e?_0xb0e34e:_0x7714be['fromVersion'],_0x2ea3f0=null!==_0x2ea3f0?_0x2ea3f0:_0x7714be['toVersion'];const _0x44ef45=this['_revisionDataBuilder']['getData'](_0xb0e34e,_0x2ea3f0),_0x2ea7c9={'diffData':_0x44ef45['diffData'],'authorsIds':_0x44ef45['authorsIds'],'fromVersion':_0xb0e34e,'toVersion':_0x2ea3f0};if(!_0x7714be||_0x2ea3f0!==_0x7714be['toVersion']){const _0x57fbc0=_0x2ea3f0-0x1,_0x4bd8be=this['_source']['history']['getOperation'](_0x57fbc0);_0x2ea7c9['createdAt']=_0x4bd8be&&_0x4bd8be['createdAt']||new Date();}if(this['_loadedStateData']&&_0xb0e34e===this['_loadedStateData']['fromVersion']){for(const _0x6df46f of this['_loadedStateData']['authors'])_0x2ea7c9['authorsIds']['includes'](_0x6df46f['id'])||_0x2ea7c9['authorsIds']['push'](_0x6df46f['id']);}return _0x2ea7c9;}['_loadRevisionData'](_0x5951b8){if(!_0x5951b8||_0x5951b8['diffData'])return Promise['resolve']();{const _0x8cd103=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x8cd103,'revisionId':_0x5951b8['id']})['then'](_0x419ff2=>{_0x5951b8['diffData']=_0x419ff2['diffData'];});}}['_bufferUpdate'](_0x1d7ec9,_0xb815,_0x4ee271){if(this['_bufferedUpdates']['has'](_0x1d7ec9)){const _0x5e35a8=this['_bufferedUpdates']['get'](_0x1d7ec9);_0xb815=_0x4ee271?{..._0x5e35a8,..._0xb815}:{..._0xb815,..._0x5e35a8};}this['_bufferedUpdates']['set'](_0x1d7ec9,_0xb815);}['_getFromVersion'](_0xc44918){const _0x1831ae=this['repository']['getRevisions']();_0x1831ae['reverse'](),_0x1831ae['shift']();const _0xdacf65=_0x1831ae['find'](_0x1853fa=>_0x1853fa['toVersion']<=_0xc44918)['toVersion'];return _0xdacf65<this['_startingVersion']?this['_startingVersion']:_0xdacf65;}['_createInitialRevision'](_0x23cb0a){const _0x56a65c=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x56a65c)this['_initialRevisionId']=_0x56a65c['id'];else{const _0x58c977=!this['editor']['model']['document']['roots']['find'](_0x3b821f=>this['editor']['model']['hasContent'](_0x3b821f)),_0x26ff6a=this['editor']['plugins']['get']('Users')['me']['id'],_0x27608d=y(this['editor']['locale'],_0x58c977?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x23cb0a,'to':_0x23cb0a,'id':this['_initialRevisionId'],'name':_0x27608d,'creatorId':_0x26ff6a});}}['_createCurrentRevision'](_0x9dc620){const _0x105708=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x105708),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x9dc620,'to':_0x9dc620,'id':_0x105708,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3d351a,from:_0x28733c,to:_0x253bdc,creatorId:_0x1912eb,id:_0x322871}){const _0x3428f0=this['buildRevisionData']({'from':_0x28733c,'to':_0x253bdc});_0x3428f0['name']=_0x3d351a,_0x3428f0['creatorId']=_0x1912eb,_0x3428f0['id']=_0x322871;const _0x2a3d96=this['addRevisionData'](_0x3428f0);return this['adapter']&&this['_bufferUpdate'](_0x3428f0['id'],_0x3428f0,!0x0),_0x2a3d96;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4d187f){return(_0x4d187f=_0x4d187f['filter'](_0x5055ee=>!_0x5055ee['name']||'revision-start'!==_0x5055ee['name']&&'revision-end'!==_0x5055ee['name']))['forEach'](_0xef422b=>{'string'!=typeof _0xef422b&&(_0xef422b['children']=this['_removeRevisionMarkers'](_0xef422b['children']),_0xef422b['attributes']=_0xef422b['attributes']['filter'](_0x34302c=>!_0x34302c[0x0]['startsWith']('data-revision-')));}),_0x4d187f;}}function B(_0x5065f5,_0x5e8769){const _0xca5553=_0x5e8769['editing']['view']['document'];if('string'==typeof _0x5065f5)return new _0x6b7091(_0xca5553,_0x5065f5);{const _0x20309a=_0x5065f5['children']['map'](_0x5edb58=>B(_0x5edb58,_0x5e8769));return new(T[_0x5065f5['type']]||_0x57d40e)(_0xca5553,_0x5065f5['name'],_0x5065f5['attributes'],_0x20309a);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x409909){this['editor']=_0x409909,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'](_0x2967b8){this['source']=_0x2967b8;const _0x5d81c7=new Map(),_0x2996cd=new Map(),_0x4b4a08=this['editor']['model']['document']['roots']['map'](_0x3aee4b=>_0x3aee4b['rootName']);for(const _0x46caa0 of _0x4b4a08){const _0x58c13b=this['editor']['model']['document']['getRoot'](_0x46caa0),_0x15344c=q(_0x58c13b);_0x5d81c7['set'](_0x46caa0,_0x15344c),_0x2996cd['set'](_0x46caa0,Object['fromEntries'](_0x58c13b['getAttributes']()));}const _0x2770b9=Array['from'](this['editor']['model']['markers'])['map'](_0x1b9a45=>[_0x1b9a45['name'],_0x1b9a45['getRange']()]),_0x27f209=this['source']['version'];this['_saveMetaData'](_0x27f209,_0x5d81c7,_0x2770b9,_0x2996cd),this['_startingRevisionId']=this['_revisionId'];const _0x39535a=new Map(),_0x3e3310=new Map();for(const _0x49db3a of _0x4b4a08){const _0x1b7d91=G(_0x49db3a);_0x39535a['set'](_0x49db3a,_0x1b7d91),_0x3e3310['set'](_0x49db3a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x39535a,[],_0x3e3310);}['getData'](_0x18559b,_0x160737){if(this['_lastFrom']===_0x18559b&&this['_lastTo']<=_0x160737)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x160737,!0x0);else{if(!this['_savedMetaData']['has'](_0x18559b)){const _0x3e60df=this['_getPreviousFrom'](_0x18559b);this['_calculateMetaData'](_0x3e60df,_0x18559b,!0x1);}this['_calculateMetaData'](_0x18559b,_0x160737,!0x0);}return this['_lastFrom']=_0x18559b,this['_lastTo']=_0x160737,this['_getState']();}['loadState'](_0x3cb3c7){this['_reset'](),this['_lastFrom']=_0x3cb3c7['fromVersion'],this['_lastTo']=_0x3cb3c7['toVersion'];for(const _0x2a08d3 in _0x3cb3c7['diffData']){const _0x5f0240=_0x3cb3c7['diffData'][_0x2a08d3]['attachChange'],_0xe0d338=_0x30931d(_0x3cb3c7['diffData'][_0x2a08d3]['attributesBefore'])||{},_0x39d2e7=this['_makeModelFromViewString'](_0x3cb3c7['diffData'][_0x2a08d3]['deletions']);_0x39d2e7['rootName']=_0x2a08d3,_0x39d2e7['_isAttached']=!_0x5f0240||!_0x5f0240['isAttached'],_0x39d2e7['isAttached']=()=>_0x39d2e7['_isAttached'],this['_baseRoots']['set'](_0x2a08d3,_0x39d2e7),this['_baseRootsAttributes']['set'](_0x2a08d3,_0xe0d338),_0x5f0240&&this['_touchedRoots']['set'](_0x2a08d3,_0x5f0240);const _0x2f8d47=this['_makeIdsRoot'](_0x39d2e7);this['_baseIdsRoots']['set'](_0x2a08d3,_0x2f8d47);for(const [_0xb6a944,_0x6af7b8]of _0x39d2e7['markers']){if(!_0xb6a944['startsWith']('revision:'))continue;const _0x423788=_0xb6a944['split'](':')[0x2];for(const _0x46e675 of _0x6af7b8['getWalker']({'singleCharacters':!0x0})){const _0x1bc672=this['_getVidAttributeName'](_0x46e675),_0x5c42c1='elementEnd'==_0x46e675['type']?_0x46e675['previousPosition']['path']['slice'](0x0,-0x1):_0x46e675['previousPosition']['path'],_0x1558ea=_0x2f8d47['getNodeByPath'](_0x5c42c1)['getAttribute'](_0x1bc672);this['_touched']['set'](_0x1558ea,{'userId':_0x423788});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2e01b2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x54d562=>!this['_touched']['has'](_0x54d562));let _0x48512f=0x0;const _0x21f11b=new Map();for(const _0xb3ca71 in _0x3cb3c7['diffData']){const _0x2df7fd=_0x3cb3c7['diffData'][_0xb3ca71]['attachChange'],_0x12540e=_0x30931d(_0x3cb3c7['diffData'][_0xb3ca71]['attributesAfter'])||{},_0x4e4b34=this['_makeModelFromViewString'](_0x3cb3c7['diffData'][_0xb3ca71]['insertions']);_0x4e4b34['rootName']=_0xb3ca71,_0x4e4b34['_isAttached']=!_0x2df7fd||_0x2df7fd['isAttached'],_0x4e4b34['isAttached']=()=>_0x4e4b34['_isAttached'],this['_diffRoots']['set'](_0xb3ca71,_0x4e4b34),this['_diffRootsAttributes']['set'](_0xb3ca71,_0x12540e);const _0x1acc77=this['_makeIdsRoot'](_0x4e4b34,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xb3ca71,_0x1acc77),_0x21f11b['set'](_0xb3ca71,_0x4e4b34['isAttached']()?_0x12540e:{});for(const [_0x5e8eaa,_0x2104c1]of _0x4e4b34['markers']){if(!_0x5e8eaa['startsWith']('revision:'))continue;const _0x5c8bc9=_0x5e8eaa['split'](':')[0x2];for(const _0x24828f of _0x2104c1['getWalker']({'singleCharacters':!0x0})){const _0xef32f4=this['_getVidAttributeName'](_0x24828f),_0x3ec251=this['_revisionId']++,_0x4c9f8c='elementEnd'==_0x24828f['type']?_0x24828f['previousPosition']['path']['slice'](0x0,-0x1):_0x24828f['previousPosition']['path'];_0x1acc77['getNodeByPath'](_0x4c9f8c)['_setAttribute'](_0xef32f4,_0x3ec251),this['_touched']['set'](_0x3ec251,{'userId':_0x5c8bc9});}}for(const _0x58eeb7 of this['editor']['model']['createRangeIn'](_0x4e4b34)['getWalker']({'singleCharacters':!0x0})){const _0x556f54=this['_getVidAttributeName'](_0x58eeb7),_0x40bece='elementEnd'==_0x58eeb7['type']?_0x58eeb7['previousPosition']['path']['slice'](0x0,-0x1):_0x58eeb7['previousPosition']['path'],_0x542e15=_0x1acc77['getNodeByPath'](_0x40bece);_0x542e15['getAttribute'](_0x556f54)>0x0||_0x542e15['_setAttribute'](_0x556f54,_0x2e01b2[_0x48512f++]);}for(const [_0x5b7713,_0xabdeaf]of _0x4e4b34['markers'])_0x5b7713['startsWith']('revision:')||this['_markers']['set'](_0x5b7713,_0xabdeaf);}const _0x5622d2=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5622d2),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5622d2,0x1));const _0x430383=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x430383),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x430383,0x1));const _0x2bdbbd=Array['from'](this['_diffRoots'])['map'](([_0x28b064,_0x1de1a7])=>[_0x28b064,q(_0x1de1a7)]);this['_saveMetaData'](this['_lastTo'],_0x2bdbbd,this['_markers'],_0x21f11b);}['_makeModelFromViewString'](_0x2d5c2a){const _0x24ba65=JSON['parse'](_0x2d5c2a),_0x31855c=this['editor']['editing']['view']['document'],_0x52ac80=new _0x3b60fc(_0x31855c,_0x24ba65['map'](_0x71747f=>B(_0x71747f,this['editor'])));return this['editor']['data']['toModel'](_0x52ac80);}['_saveMetaData'](_0x4127c9,_0x154cb7,_0x32f621,_0xe675fb){const _0x43f920=new Map(_0x154cb7),_0x12e58d=new Map(_0x30931d(_0xe675fb)),_0x5282a6=new Map();for(const [_0x2b7fd7,_0x3747eb]of _0x32f621)_0x5282a6['set'](_0x2b7fd7,{'start':_0x3747eb['start']['clone'](),'end':_0x3747eb['end']['clone'](),'rootName':_0x3747eb['root']['rootName']});this['_savedMetaData']['set'](_0x4127c9,{'roots':_0x43f920,'markers':_0x5282a6,'rootsAttributes':_0x12e58d});}['_removeMetaData'](_0xf89de1){this['_savedMetaData']['delete'](_0xf89de1);}['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'](_0x1f7c99,_0x46ac5a=null){let _0x39c76b=null;_0x1f7c99['is']('documentFragment')||(_0x39c76b=new ft(_0x1f7c99['name'],{'vid_start':null===_0x46ac5a?this['_revisionId']++:_0x46ac5a++}));const _0x5c14b4=[];for(const _0x214849 of _0x1f7c99['getChildren']())if(_0x214849['is']('element')){_0x5c14b4['push'](this['_makeIdsRoot'](_0x214849,_0x46ac5a));const _0x4f5ef6=_0x5c14b4[_0x5c14b4['length']-0x1];null!==_0x46ac5a&&(_0x46ac5a=_0x4f5ef6['is']('element','$text')?_0x4f5ef6['getAttribute']('vid')+0x1:_0x4f5ef6['getAttribute']('vid_end')+0x1);}else{for(let _0x1bb2a0=0x0;_0x1bb2a0<_0x214849['offsetSize'];_0x1bb2a0++)_0x5c14b4['push'](new ft('$text',{'vid':null===_0x46ac5a?this['_revisionId']++:_0x46ac5a++}));}if(_0x1f7c99['is']('documentFragment')){const _0x5b6ab8=G(_0x1f7c99['rootName']);return _0x5b6ab8['_insertChild'](0x0,_0x5c14b4),_0x5b6ab8;}return _0x39c76b['_setAttribute']('vid_end',null===_0x46ac5a?this['_revisionId']++:_0x46ac5a++),_0x39c76b['_insertChild'](0x0,_0x5c14b4),_0x39c76b;}['_calculateMetaData'](_0x5663ea,_0x1991d2,_0x228a32){this['_reset']();const {roots:_0x1486f6,markers:_0x2b1e64,rootsAttributes:_0x1f9aeb}=this['_savedMetaData']['get'](_0x5663ea);this['_baseRoots']=new Map(_0x1486f6),this['_baseRootsAttributes']=new Map(_0x30931d(_0x1f9aeb));for(const [_0x49cc6d,_0x1268b0]of this['_baseRoots'])if('$graveyard'!==_0x49cc6d&&(this['_diffRoots']['set'](_0x49cc6d,q(_0x1268b0)),this['_diffRootsAttributes']=new Map(_0x30931d(_0x1f9aeb)),_0x228a32)){const _0x11aa38=this['_revisionId'];this['_idsRoots']['set'](_0x49cc6d,this['_makeIdsRoot'](_0x1268b0)),this['_baseIdsRoots']['set'](_0x49cc6d,this['_makeIdsRoot'](_0x1268b0,_0x11aa38));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x228a32&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1b9ae4,_0xac3359]of _0x2b1e64){const _0x1714a9=this['_baseRoots']['get'](_0xac3359['rootName']),_0x366f57=this['_diffRoots']['get'](_0xac3359['rootName']),_0x424e76=new vt(this['_fixPosition'](_0xac3359['start'],_0x1714a9),this['_fixPosition'](_0xac3359['end'],_0x1714a9)),_0x14aa70=this['_fixRange'](_0x424e76,_0x366f57);_0x1714a9['markers']['set'](_0x1b9ae4,_0x424e76),this['_markers']['set'](_0x1b9ae4,_0x14aa70);}this['_applyOperations'](_0x5663ea,_0x1991d2,_0x228a32);}['_applyOperations'](_0x8d6b75,_0x23633f,_0x5e36d9){for(const _0x36fc35 of this['source']['getOperations'](_0x8d6b75,_0x23633f))this['_handleOperation'](_0x36fc35,_0x5e36d9);for(const _0x466fdb of this['_diffRoots']['values']())_0x466fdb['markers']['clear']();for(const [_0x3a4f9b,_0x4e564d]of this['_markers']){this['_diffRoots']['get'](_0x4e564d['root']['rootName'])['markers']['set'](_0x3a4f9b,_0x4e564d['clone']());}const _0xbe2156=new Map(),_0x25a6ea=new Map();for(const [_0x892e24,_0x38e79c]of this['_diffRoots'])_0xbe2156['set'](_0x892e24,q(_0x38e79c)),_0x25a6ea['set'](_0x892e24,this['_diffRootsAttributes']['get'](_0x892e24));this['_saveMetaData'](_0x23633f,_0xbe2156,this['_markers'],_0x25a6ea);}['_getPreviousFrom'](_0x4ef317){const _0x58817b=Array['from'](this['_savedMetaData']['keys']());_0x58817b['sort']((_0x2a78ab,_0x32daf5)=>_0x2a78ab-_0x32daf5),_0x58817b['reverse']();for(const _0x436b38 of _0x58817b)if(_0x436b38<_0x4ef317)return _0x436b38;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x41d12b,_0x2258a9){const _0x31db2f=Array['from'](_0x2258a9['markers'])['map'](([_0x2c57b1,_0x40699c])=>[_0x2c57b1,this['_fixRange'](_0x40699c,_0x41d12b)]);_0x41d12b['markers']=new Map(_0x31db2f);}['_transformMarkers'](_0x3637e0){for(const _0x36576e of this['_markers']['values']()){const _0x3e0dbb=_0x36576e['getTransformedByOperation'](_0x3637e0),_0x5d70a3=vt['_createFromRanges'](_0x3e0dbb);_0x36576e['start']=_0x5d70a3['start'],_0x36576e['end']=_0x5d70a3['end'];}}['_handleOperation'](_0x40782d,_0x15dcd8){if('addRoot'==_0x40782d['type']||'detachRoot'==_0x40782d['type'])return void this['_handleRootOperation'](_0x40782d,_0x15dcd8);if('insert'==_0x40782d['type']){const _0x528581=_0x40782d['position']['root']['rootName'];this['_diffRoots']['has'](_0x528581)||(this['_diffRoots']['set'](_0x528581,G(_0x528581,!0x0)),this['_diffRootsAttributes']['set'](_0x528581,{}),_0x15dcd8&&this['_idsRoots']['set'](_0x528581,G(_0x528581,!0x0)));}else{if('addRootAttribute'==_0x40782d['type']||'removeRootAttribute'==_0x40782d['type']||'changeRootAttribute'==_0x40782d['type'])return void this['_handleRootAttributeOperation'](_0x40782d);}const _0x2cbbc6=this['_cloneOperation'](_0x40782d,this['_diffRoots']);if('marker'!==_0x40782d['type']&&(_0x2cbbc6['_execute'](),this['_transformMarkers'](_0x2cbbc6)),_0x15dcd8)switch(_0x2cbbc6['type']){case'insert':this['_handleInsertOperation'](_0x40782d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x40782d);break;case'merge':this['_handleMergeOperation'](_0x40782d);break;case'split':this['_handleSplitOperation'](_0x40782d);break;case'marker':this['_handleMarkerOperation'](_0x40782d);}}['_cloneOperation'](_0x4d9df8,_0xb82f77){const _0xf7a5e0=_0x4d9df8['clone']();return _0xf7a5e0['_authorId']=_0x4d9df8['_authorId'],this['_fixOperation'](_0xf7a5e0,_0xb82f77),_0xf7a5e0;}['_getBaseVids'](_0x1d0b39){return _0x1d0b39['map'](_0x26c507=>{const _0x2c50fd=this['_getVidAttributeName'](_0x26c507);return Number(_0x26c507['item']['getAttribute'](_0x2c50fd));});}['_generateTape'](_0x52fec9,_0x16329a){if(_0x52fec9['is']('element','$text'))_0x16329a['push']({'item':_0x52fec9,'type':'text'});else{_0x52fec9['is']('element')&&_0x16329a['push']({'item':_0x52fec9,'type':'elementStart'});for(const _0x6ad83f of _0x52fec9['getChildren']())this['_generateTape'](_0x6ad83f,_0x16329a);_0x52fec9['is']('element')&&_0x16329a['push']({'item':_0x52fec9,'type':'elementEnd'});}return _0x16329a;}['_getState'](){const _0x31347f=new Map(this['_touched']),_0x1943c3=new Map(_0x31347f),_0x93d454=new Map(),_0x38c926={'insertions':{},'deletions':{}},_0x1f8a6c={'insertions':{},'deletions':{}},_0x333463=new Map(),_0x1fb63c=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1fb63c['delete']('$graveyard');for(const _0x1fcf21 of _0x1fb63c){const _0x16d34e=this['_diffRoots']['get'](_0x1fcf21)||G(_0x1fcf21,!0x1),_0x5c7c32=this['_baseRoots']['get'](_0x1fcf21)||G(_0x1fcf21,!0x1);_0x16d34e['isAttached']()||_0x5c7c32['isAttached']()?(_0x38c926['insertions'][_0x1fcf21]=q(_0x16d34e),_0x38c926['deletions'][_0x1fcf21]=q(_0x5c7c32),this['_copyMarkers'](_0x38c926['deletions'][_0x1fcf21],_0x5c7c32),this['_copyMarkers'](_0x38c926['insertions'][_0x1fcf21],_0x16d34e),_0x1f8a6c['insertions'][_0x1fcf21]=this['_generateTape'](this['_idsRoots']['get'](_0x1fcf21),[]),_0x1f8a6c['deletions'][_0x1fcf21]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1fcf21)||G(_0x1fcf21,!0x1),[])):_0x1fb63c['delete'](_0x1fcf21);}for(const _0x4b3387 of _0x1fb63c){const _0x551ff4=_0x1f8a6c['insertions'][_0x4b3387];for(const _0x5254e6 of _0x551ff4){const _0x44034f=this['_getVidAttributeName'](_0x5254e6),_0x5ade0d=_0x5254e6['item']['getAttribute'](_0x44034f);_0x1943c3['delete'](_0x5ade0d),_0x5ade0d>=this['_startingRevisionId']&&_0x93d454['set'](_0x5ade0d,_0x31347f['get'](_0x5ade0d));}}for(const _0x5c2433 of _0x1fb63c){const _0x458119=_0x1f8a6c['insertions'][_0x5c2433],_0x4dd3fa=this['_getBaseVids'](_0x1f8a6c['deletions'][_0x5c2433]);let _0x2c946d=0x0;for(const _0x10d20d of _0x458119){const _0x4129d0=this['_getVidAttributeName'](_0x10d20d),_0x32adc9=_0x10d20d['item']['getAttribute'](_0x4129d0);if(!_0x93d454['has'](_0x32adc9)&&!_0x333463['has'](_0x32adc9)){if(_0x1943c3['has'](_0x32adc9))_0x2c946d++;else{if(_0x32adc9!=_0x4dd3fa[_0x2c946d]){const _0x329931=_0x31347f['get'](_0x32adc9)||_0x31347f['get'](_0x4dd3fa[_0x2c946d]);for(;_0x32adc9!=_0x4dd3fa[_0x2c946d];)_0x1943c3['has'](_0x4dd3fa[_0x2c946d])||(_0x333463['set'](_0x4dd3fa[_0x2c946d],_0x329931),_0x31347f['set'](_0x4dd3fa[_0x2c946d],_0x329931)),_0x2c946d++;}_0x2c946d++;}}}}for(const _0x33103f of _0x1fb63c){const _0x4caa74=_0x1f8a6c['insertions'][_0x33103f];for(const _0x3d0a47 of _0x4caa74){const _0x4252a2=this['_getVidAttributeName'](_0x3d0a47),_0x5726d3=_0x3d0a47['item']['getAttribute'](_0x4252a2);if(_0x333463['has'](_0x5726d3)){const _0x95f9d2=_0x333463['get'](_0x5726d3);_0x1943c3['has'](_0x5726d3)||_0x1943c3['set'](_0x5726d3,{..._0x95f9d2}),_0x93d454['set'](_0x5726d3,{..._0x95f9d2});}}}for(const _0x360857 of _0x1943c3['keys']())_0x360857>=this['_startingRevisionId']&&_0x1943c3['delete'](_0x360857);const _0x2d8848=new Map();for(const _0x369940 of _0x1fb63c){let _0x30ac5c=_0x1f8a6c['insertions'][_0x369940];for(const _0x243808 of _0x30ac5c)if(_0x243808['item']['is']('element','tableCell')){const _0x1fca42=this['_getVidAttributeName'](_0x243808),_0x3ca25c=_0x243808['item']['getAttribute'](_0x1fca42);if(_0x93d454['has'](_0x3ca25c)){const _0x3309bd=_0x243808['item']['parent']['parent']['getAttribute']('vid_start'),_0x31fdd5=_0x2d8848['get'](_0x3309bd)||new Set();_0x31fdd5['add'](_0x93d454['get'](_0x3ca25c)['userId']),_0x2d8848['set'](_0x3309bd,_0x31fdd5);}}_0x30ac5c=_0x1f8a6c['deletions'][_0x369940];for(const _0x50a4de of _0x30ac5c)if(_0x50a4de['item']['is']('element','tableCell')){const _0x5756e9=this['_getVidAttributeName'](_0x50a4de),_0x11abe1=_0x50a4de['item']['getAttribute'](_0x5756e9);if(_0x1943c3['has'](_0x11abe1)){const _0x5682f3=_0x50a4de['item']['parent']['parent']['getAttribute']('vid_start'),_0x268419=_0x2d8848['get'](_0x5682f3)||new Set();_0x268419['add'](_0x1943c3['get'](_0x11abe1)['userId']),_0x2d8848['set'](_0x5682f3,_0x268419);}}for(const _0x391f5c of _0x2d8848['keys']())(_0x93d454['has'](_0x391f5c)||_0x1943c3['has'](_0x391f5c))&&_0x2d8848['delete'](_0x391f5c);}for(const _0x403450 of _0x1fb63c){const _0x57d57f=_0x1f8a6c['insertions'][_0x403450];let _0x1eca34=null,_0xabc61e=null;for(const _0x2e392a of _0x57d57f){const _0x5bfad2=this['_getVidAttributeName'](_0x2e392a),_0x58d89c=_0x2e392a['item']['getAttribute'](_0x5bfad2),_0x3d6c8e=_0x2d8848['get'](_0x58d89c);_0x3d6c8e&&'elementStart'==_0x2e392a['type']&&(_0x1eca34=Array['from'](_0x3d6c8e)[0x0],_0xabc61e=_0x2e392a['item']['getAttribute']('vid_end')),_0x1eca34&&(_0x1943c3['set'](_0x58d89c,{'userId':_0x1eca34}),_0x93d454['set'](_0x58d89c,{'userId':_0x1eca34})),_0x58d89c==_0xabc61e&&(_0x1eca34=null,_0xabc61e=null);}}const _0x4ca2fd={},_0x4ac54b=new Set();for(const _0x581d62 of _0x1fb63c){const _0x1f1b02=_0x38c926['deletions'][_0x581d62],_0xd05e24=_0x38c926['insertions'][_0x581d62];for(const {userId:_0x3c0fd6}of this['_touchedMarkers']['values']())null!==_0x3c0fd6&&_0x4ac54b['add'](_0x3c0fd6);for(const {userId:_0x3aca8a}of this['_touchedRoots']['values']())null!==_0x3aca8a&&_0x4ac54b['add'](_0x3aca8a);this['_markChanges'](_0xd05e24,_0x1f8a6c['insertions'][_0x581d62],_0x93d454,'insertion',_0x4ac54b),this['_markChanges'](_0x1f1b02,_0x1f8a6c['deletions'][_0x581d62],_0x1943c3,'deletion',_0x4ac54b),_0x4ca2fd[_0x581d62]={'insertions':this['_prepareViewToSave'](_0xd05e24),'deletions':this['_prepareViewToSave'](_0x1f1b02),'attachChange':this['_touchedRoots']['get'](_0x581d62)||null,'attributesBefore':_0x30931d(this['_baseRootsAttributes']['get'](_0x581d62))||{},'attributesAfter':_0x30931d(this['_diffRootsAttributes']['get'](_0x581d62))};}return{'diffData':_0x4ca2fd,'authorsIds':Array['from'](_0x4ac54b)};}['_processRootBeforeSave'](_0x5d8039){for(const [,_0x1f3094]of _0x5d8039['markers']){const _0x1c624c=_0x1f3094['start']['getAncestors']()['filter'](_0x3e3032=>'tableCell'==_0x3e3032['name']);for(const _0x546153 of _0x1c624c)0x1==_0x546153['childCount']&&_0x546153['getChild'](0x0)['is']('element','paragraph')&&_0x546153['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x56fe3c){this['_processRootBeforeSave'](_0x56fe3c);const _0x2444d0=this['editor']['data']['toView'](_0x56fe3c,{}),_0x16c84e=Array['from'](_0x2444d0['getChildren']())['map'](_0x321f47=>this['_getViewJson'](_0x321f47));return JSON['stringify'](_0x16c84e);}['_getViewJson'](_0x4af84e){if(_0x4af84e['is']('$text'))return _0x4af84e['data'];{const _0x54920b=_0x4af84e;return{'type':Object['keys'](T)['find'](_0x2e02c9=>_0x4af84e instanceof T[_0x2e02c9]),'name':_0x54920b['name'],'attributes':Array['from'](_0x54920b['getAttributes']()),'children':Array['from'](_0x54920b['getChildren']())['map'](_0x1dc0a1=>this['_getViewJson'](_0x1dc0a1))};}}['_markChanges'](_0x4c51e7,_0x5bed7d,_0x2ce91e,_0x3e0f4e,_0x5a0dd4){let _0x12018e=null,_0x371843=null,_0x252287=0x0;const _0x3659fd=this['editor']['model'];for(let _0x30beeb=0x0;_0x30beeb<_0x5bed7d['length'];_0x30beeb++){const _0xd70b76=this['_getVidAttributeName'](_0x5bed7d[_0x30beeb]),_0x2ba38e=_0x5bed7d[_0x30beeb]['item']['getAttribute'](_0xd70b76),_0x5d92fc=_0x2ce91e['get'](_0x2ba38e),_0x58e163=_0x30beeb==_0x5bed7d['length']-0x1;(!_0x12018e&&_0x5d92fc&&(_0x12018e=_0x5d92fc,_0x371843=_0x5bed7d[_0x30beeb]),_0x12018e&&(!_0x5d92fc||_0x5d92fc['userId']!=_0x12018e['userId']))&&(_0xd8d4a3(_0x5d92fc,L(_0x371843,_0x4c51e7,_0x3659fd),L(_0x5bed7d[_0x30beeb],_0x4c51e7,_0x3659fd)),_0x12018e=_0x5d92fc||null,_0x371843=_0x5d92fc?_0x5bed7d[_0x30beeb]:null),_0x12018e&&_0x58e163&&_0xd8d4a3(_0x5d92fc,L(_0x371843,_0x4c51e7,_0x3659fd),W(_0x5bed7d[_0x30beeb],_0x4c51e7,_0x3659fd));}function _0xd8d4a3(_0x9980cb,_0x523170,_0x20ddd8){const _0x2cf507=_0x12018e['userId'],_0x296f0d='revision:'+_0x3e0f4e+':'+_0x2cf507+':'+_0x252287++,_0x2630fc=_0x3659fd['createRange'](_0x523170,_0x20ddd8);_0x4c51e7['markers']['set'](_0x296f0d,_0x2630fc),null!==_0x2cf507&&_0x5a0dd4['add'](_0x2cf507);}}['_getVidAttributeName'](_0x4a57b1){switch(_0x4a57b1['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4e43fe,_0x4b24df){_0x4e43fe['baseVersion']=null;for(const _0x109f84 in _0x4e43fe){const _0x51240a=_0x4e43fe[_0x109f84];if(_0x51240a instanceof gt){const _0x123566=_0x4b24df['get'](_0x51240a['root']['rootName']);_0x4e43fe[_0x109f84]=this['_fixPosition'](_0x51240a,_0x123566);}if(_0x51240a instanceof vt){const _0x4641bb=_0x4b24df['get'](_0x51240a['root']['rootName']);_0x4e43fe[_0x109f84]=this['_fixRange'](_0x51240a,_0x4641bb);}'root'===_0x109f84&&(_0x4e43fe['root']=_0x4b24df['get'](_0x4e43fe['root']['rootName']));}}['_fixRange'](_0x5cc3f7,_0x597389){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5cc3f7['start'],_0x597389),this['_fixPosition'](_0x5cc3f7['end'],_0x597389));}['_fixPosition'](_0x56ad14,_0x137460){return this['editor']['model']['createPositionFromPath'](_0x137460,_0x56ad14['path'],_0x56ad14['stickiness']);}['_handleInsertOperation'](_0x30b8ff){const _0x402c8d=this['_idsRoots']['get'](_0x30b8ff['position']['root']['rootName']),_0xa05063=this['_fixPosition'](_0x30b8ff['position'],_0x402c8d),_0x38385e=null===_0x30b8ff['_authorId']?null:_0x30b8ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2f3eab=_0xa05063['parent'],_0x4f6641=this['_revisionId'],_0x55a4fa=[];for(const _0x229896 of _0x30b8ff['nodes'])if(_0x229896['is']('element'))_0x55a4fa['push'](this['_makeIdsRoot'](_0x229896));else{for(let _0x460d4a=0x0;_0x460d4a<_0x229896['offsetSize'];_0x460d4a++)_0x55a4fa['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1bc79a=this['_revisionId'];for(let _0x42f6c8=_0x4f6641;_0x42f6c8<_0x1bc79a;_0x42f6c8++)this['_touched']['set'](_0x42f6c8,{'userId':_0x38385e});_0x2f3eab['_insertChild'](_0xa05063['offset'],_0x55a4fa);}['_handleMoveOperation'](_0x17e41d){(_0x17e41d=this['_cloneOperation'](_0x17e41d,this['_idsRoots']))['_execute']();const _0x25ee95=null===_0x17e41d['_authorId']?null:_0x17e41d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x176ec8=_0x17e41d['getMovedRangeStart'](),_0x189381=_0x176ec8['parent'],_0x3d46c0=_0x176ec8['offset'];!function _0x3fc317(_0x2c9605,_0x546a6a,_0x374371,_0x10add9){for(let _0xfacb06=_0x374371;_0xfacb06<_0x10add9;_0xfacb06++){const _0x39c5cc=_0x546a6a['getChild'](_0xfacb06);_0x39c5cc['is']('element','$text')?_0x2c9605['set'](_0x39c5cc['getAttribute']('vid'),{'userId':_0x25ee95}):(_0x2c9605['set'](_0x39c5cc['getAttribute']('vid_start'),{'userId':_0x25ee95}),_0x3fc317(_0x2c9605,_0x39c5cc,0x0,_0x39c5cc['childCount']),_0x2c9605['set'](_0x39c5cc['getAttribute']('vid_end'),{'userId':_0x25ee95}));}}(this['_touched'],_0x189381,_0x3d46c0,_0x3d46c0+_0x17e41d['howMany']);}['_handleMergeOperation'](_0x31d55d){const _0x3436b1=null===(_0x31d55d=this['_cloneOperation'](_0x31d55d,this['_idsRoots']))['_authorId']?null:_0x31d55d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x328ed7=_0x31d55d['targetPosition']['parent'],_0x4b2809=_0x31d55d['sourcePosition']['parent'],_0x40a58c=_0x328ed7['getAttribute']('vid_end'),_0x39b187=_0x4b2809['getAttribute']('vid_start');_0x328ed7['_setAttribute']('vid_end',_0x4b2809['getAttribute']('vid_end')),_0x4b2809['_setAttribute']('vid_end',_0x40a58c),this['_touched']['set'](_0x39b187,{'userId':_0x3436b1}),this['_touched']['set'](_0x40a58c,{'userId':_0x3436b1}),_0x31d55d['_execute']();}['_handleSplitOperation'](_0x6c346a){const _0x402e07=null===(_0x6c346a=this['_cloneOperation'](_0x6c346a,this['_idsRoots']))['_authorId']?null:_0x6c346a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2de78f=_0x6c346a['graveyardPosition'],_0x33cc11=_0x6c346a['splitPosition']['parent'];_0x6c346a['_execute']();const _0x20c86c=_0x33cc11['getAttribute']('vid_end'),_0x426bda=_0x6c346a['insertionPosition']['nodeAfter'];if(_0x2de78f){const _0x235480=_0x426bda['getAttribute']('vid_end'),_0x3dbd89=_0x33cc11['getAttribute']('vid_end');_0x33cc11['_setAttribute']('vid_end',_0x235480),_0x426bda['_setAttribute']('vid_end',_0x3dbd89),this['_touched']['set'](_0x33cc11['getAttribute']('vid_end'),{'userId':_0x402e07}),this['_touched']['set'](_0x426bda['getAttribute']('vid_start'),{'userId':_0x402e07});}else{const _0x4d0a67=this['_revisionId']++,_0x318de3=this['_revisionId']++;_0x33cc11['_setAttribute']('vid_end',_0x4d0a67),_0x426bda['_setAttribute']('vid_start',_0x318de3),_0x426bda['_setAttribute']('vid_end',_0x20c86c),this['_touched']['set'](_0x4d0a67,{'userId':_0x402e07}),this['_touched']['set'](_0x318de3,{'userId':_0x402e07});}}['_handleMarkerOperation'](_0x4e4238){if(!_0x4e4238['affectsData'])return;const _0x1f8fa1=(_0x4e4238=this['_cloneOperation'](_0x4e4238,this['_diffRoots']))['oldRange']?_0x4e4238['oldRange']['root']:null,_0x2e1d3a=_0x4e4238['newRange']?_0x4e4238['newRange']['root']:null;_0x1f8fa1&&this['_markers']['delete'](_0x4e4238['name']),_0x2e1d3a&&this['_markers']['set'](_0x4e4238['name'],_0x4e4238['newRange']['clone']());const _0x1a8938=null===_0x4e4238['_authorId']?null:_0x4e4238['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x434342=_0x4e4238['name'];if(!this['_touchedMarkers']['has'](_0x434342))return void this['_touchedMarkers']['set'](_0x434342,{'range':_0x4e4238['oldRange'],'userId':_0x1a8938});const _0x4d85cf=this['_touchedMarkers']['get'](_0x434342),_0x4d427b=_0x4d85cf['range'],_0x1cab72=_0x4e4238['newRange'];null==_0x4d427b&&null==_0x1cab72||_0x4d427b&&_0x1cab72&&_0x4d427b['isEqual'](_0x1cab72)?this['_touchedMarkers']['delete'](_0x4e4238['name']):_0x4d85cf['userId']=_0x1a8938;}['_handleRootOperation'](_0x45dd41,_0x19acec){this['_diffRoots']['has'](_0x45dd41['rootName'])?this['_diffRoots']['get'](_0x45dd41['rootName'])['_isAttached']=_0x45dd41['isAdd']:(this['_diffRoots']['set'](_0x45dd41['rootName'],G(_0x45dd41['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x45dd41['rootName'],{}),_0x19acec&&this['_idsRoots']['set'](_0x45dd41['rootName'],G(_0x45dd41['rootName'],!0x0)));const _0x2a75a2=null===_0x45dd41['_authorId']?null:_0x45dd41['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46d326=this['_touchedRoots']['get'](_0x45dd41['rootName']);_0x46d326&&_0x46d326['userId']===_0x2a75a2?this['_touchedRoots']['delete'](_0x45dd41['rootName']):this['_touchedRoots']['set'](_0x45dd41['rootName'],{'userId':_0x2a75a2,'isAttached':_0x45dd41['isAdd']});}['_handleRootAttributeOperation'](_0x2a3af2){const _0x358a15=this['_diffRootsAttributes']['get'](_0x2a3af2['root']['rootName']);null===_0x2a3af2['newValue']?delete _0x358a15[_0x2a3af2['key']]:_0x358a15[_0x2a3af2['key']]=_0x2a3af2['newValue'];}}function q(_0x33211d){const _0x5b252e=G(_0x33211d['rootName'],_0x33211d['isAttached']());for(const _0x168686 of _0x33211d['getChildren']()){const _0xea87e9=_0x168686['_clone'](!0x0);_0x5b252e['_appendChild'](_0xea87e9);}return _0x5b252e;}function G(_0x4090a7,_0x2a216c=!0x0){const _0x370c72=new wt();return _0x370c72['rootName']=_0x4090a7,_0x370c72['_isAttached']=_0x2a216c,_0x370c72['isAttached']=()=>_0x370c72['_isAttached'],_0x370c72;}function L(_0x18f39d,_0x20c04e,_0x4fa3b0){const _0x4241f6='elementEnd'==_0x18f39d['type']?_0x4fa3b0['createPositionAt'](_0x18f39d['item'],'end'):_0x4fa3b0['createPositionBefore'](_0x18f39d['item']);return _0x4fa3b0['createPositionFromPath'](_0x20c04e,_0x4241f6['path'],_0x4241f6['stickiness']);}function W(_0x514f4c,_0x35929e,_0x2a7fce){const _0x121de2='elementStart'==_0x514f4c['type']?_0x2a7fce['createPositionAt'](_0x514f4c['item'],0x0):_0x2a7fce['createPositionAfter'](_0x514f4c['item']);return _0x2a7fce['createPositionFromPath'](_0x35929e,_0x121de2['path'],_0x121de2['stickiness']);}class ns extends _0x2cc590{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1b567a,_0x1bb938){super(_0x1b567a),this['focusTracker']=new _0x3eadd8(),this['keystrokes']=new _0x5e2ba8(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1bb938),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'](),_0x40b8c1({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5e9486=_0x3b1324=>_0x3b1324['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5e9486),this['keystrokes']['set']('arrowleft',_0x5e9486),this['keystrokes']['set']('arrowup',_0x5e9486),this['keystrokes']['set']('arrowdown',_0x5e9486);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x25d177){this['revisionNameInputView']['fieldView']['element']['value']=_0x25d177['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xdec294){const _0x246c17=new at(this['locale'],_0x1f6267),_0x59b608=_0x246c17['fieldView'];_0x59b608['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x33e05b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xdec294&&(_0x33e05b+='\x20('+y(this['locale'],'optional')+')'),(_0x246c17['label']=_0x33e05b,_0x59b608['on']('input',()=>{this['revisionNameInputValue']=_0x59b608['element']['value']['trim']();}),_0x246c17);}}class u extends _0x18654b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x253de5=this['editor'],_0x216a2f=_0x253de5['plugins']['get']('RevisionTracker');_0x253de5['ui']['componentFactory']['add']('revisionHistory',_0x28a50a=>{const _0x54f96e=_0x46a514(_0x28a50a),_0x4f9ba0=_0x54f96e['panelView']['children'],_0x24e336=new te(_0x28a50a),_0x160185=new _0xd7f1fb(_0x28a50a),_0x2a5d2e=new _0x3ce999(_0x28a50a),_0xc98e9f=new _0xd7f1fb(_0x28a50a),_0x1a7b03=new _0x3ce999(_0x28a50a);return _0x54f96e['bind']('isEnabled')['to'](_0x216a2f,'isReady',_0x216a2f,'isEnabled',_0x253de5,'isReadOnly',(_0x41b4d6,_0x4c4008,_0x18de9d)=>_0x41b4d6&&_0x4c4008&&!_0x18de9d),_0x54f96e['buttonView']['set']({'icon':_0x22d62c['history'],'label':y(_0x28a50a,'Revision\x20history'),'tooltip':!0x0}),_0x2a5d2e['set']({'label':y(_0x28a50a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2a5d2e['bind']('isEnabled')['to'](_0x216a2f,'isReady',_0x216a2f,'isEnabled',_0x253de5,'isReadOnly',(_0x2deffa,_0x3fe777,_0x58c2f4)=>_0x2deffa&&_0x3fe777&&!_0x58c2f4),_0x2a5d2e['on']('execute',()=>this['_showDialog']()),_0x1a7b03['set']({'label':y(_0x28a50a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1a7b03['bind']('isEnabled')['to'](_0x216a2f,'isReady',_0x253de5,'isReadOnly',(_0x41367e,_0x356168)=>_0x41367e&&!_0x356168),_0x1a7b03['on']('execute',()=>{_0x253de5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x54f96e['isOpen']=!0x1,_0x253de5['editing']['view']['focus']();}),_0x160185['children']['add'](_0x2a5d2e),_0xc98e9f['children']['add'](_0x1a7b03),_0x24e336['role']='menu',_0x24e336['items']['addMany']([_0x160185,_0xc98e9f]),_0x4f9ba0['add'](_0x24e336),_0x54f96e;}),_0x253de5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x12b391=this['editor'],_0x2d8845=_0x12b391['locale'],_0x2bf7a1=new _0xe61ffa(_0x2d8845),_0x42e4eb=new _0x40e2be(_0x2d8845);_0x2bf7a1['buttonView']['set']({'icon':_0x22d62c['history'],'label':y(_0x2d8845,'Revision\x20history')});const _0x30d9e=new _0x3c5a94(_0x2d8845,_0x2bf7a1),_0x2b56af=new _0x553942(_0x2d8845);_0x2b56af['set']({'label':y(_0x2d8845,'Save\x20current\x20revision')}),_0x2b56af['delegate']('execute')['to'](_0x2bf7a1),_0x2b56af['on']('execute',()=>{this['_showDialog']();}),_0x30d9e['children']['add'](_0x2b56af),_0x42e4eb['items']['add'](_0x30d9e);const _0x4137ef=new _0x3c5a94(_0x2d8845,_0x2bf7a1),_0x2a1e7a=new _0x553942(_0x2d8845);return _0x2a1e7a['set']({'label':y(_0x2d8845,'Open\x20revision\x20history')}),_0x2a1e7a['delegate']('execute')['to'](_0x2bf7a1),_0x2a1e7a['on']('execute',()=>{_0x12b391['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4137ef['children']['add'](_0x2a1e7a),_0x42e4eb['items']['add'](_0x4137ef),_0x2bf7a1['panelView']['children']['add'](_0x42e4eb),_0x2bf7a1;}['_showDialog'](){const _0x18665a=this['editor'],_0x500eaa=_0x18665a['locale'],_0x2928c5=_0x18665a['plugins']['get']('Dialog'),_0xdd3250=_0x18665a['plugins']['get']('RevisionTracker');function _0x1fa459(_0x449078){_0x18665a['config']['get']('revisionHistory.requireRevisionName')&&''===_0x449078['revisionName']?_0x449078['revisionNameInputView']['errorText']=y(_0x500eaa,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x18665a['plugins']['get'](l)['saveRevision']({'name':_0x449078['revisionName']}),_0x2928c5['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1fa459(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2928c5['show']({'id':'revisionSave','title':y(_0x500eaa,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x18665a['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x2928c5['hide']()},{'label':y(_0x18665a['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xe9baa4){_0xe9baa4['bind']('isEnabled')['to'](_0xdd3250,'isReady',_0xdd3250,'isEnabled',_0x18665a,'isReadOnly',(_0x3b21f3,_0x1f94a9,_0x5c3fee)=>_0x3b21f3&&_0x1f94a9&&!_0x5c3fee);},'onExecute':()=>_0x1fa459(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x29f967=this['editor'],_0x3509e0=_0x29f967['locale'];this['_saveRevisionFormView']=new ns(_0x3509e0,_0x29f967['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2cc590{['changeId'];['_model'];constructor(_0x4a5296,_0x2fe4b9){super(_0x4a5296),this['_model']=_0x2fe4b9,this['changeId']=_0x2fe4b9['id'];const _0x116efb=this['bindTemplate'],_0x22aa8b=y(_0x4a5296,_0x2fe4b9['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2fe4b9['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2fe4b9['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x116efb['to']('type',_0x2c5086=>'ck-revision-change__'+_0x2c5086)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x22aa8b}]},{'text':'\x20'+_0x2fe4b9['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x2b3d8d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x236102){super(),this['id']=_0x236102['id']||_0x1fef2a(),this['author']=_0x236102['author'],this['type']=_0x236102['type'],this['data']=_0x236102['data']||{},this['rootName']=_0x236102['rootName'],this['set']('createdAt',_0x236102['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(_0x34fa5a,_0x2c3ee7){this['newRevisionId']=_0x34fa5a,this['oldRevisionId']=_0x2c3ee7,this['changes']=new _0x11a29b();}['_setChanges'](_0x1155f0){for(const _0x2ca58a of _0x1155f0)this['changes']['add'](_0x2ca58a);}}const tt={'c':_0x1a9549,'a':_0x1fbea8,'e':_0x231d56,'r':_0x522c63,'u':_0x170638};class d extends _0x18654b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2619e6,_0x4ba25a,A];}constructor(_0x4b9ee8){super(_0x4b9ee8),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',(_0x2e0d1d,_0x3a5f75,_0x5b7ce5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x388fd1=>{for(const _0x51d206 of this['editor']['editing']['view']['document']['roots'])_0x5b7ce5?_0x388fd1['removeClass']('ck-editor__editable__overlay',_0x51d206):_0x388fd1['addClass']('ck-editor__editable__overlay',_0x51d206);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4e1f6d=>null!==_0x4e1f6d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4e764f,_0x16c109,_0x4fa504)=>_0x4e764f&&_0x4fa504?_0x16c109['changes']['getIndex'](_0x4fa504):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xc4c91d,_0x218a94)=>_0xc4c91d?_0x218a94['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4ba25a);}['init'](){const _0x23ead5=this['editor'],_0xa2b301=new yt(_0x23ead5,{'direction':'backward'}),_0x30cb51=new yt(_0x23ead5,{'direction':'forward'});(_0x23ead5['commands']['add']('showPreviousChange',_0xa2b301),_0x23ead5['commands']['add']('showNextChange',_0x30cb51),_0x23ead5['commands']['add']('restoreRevision',new bt(_0x23ead5)),this['on']('change:numberOfChanges',()=>{_0xa2b301['refresh'](),_0x30cb51['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x23ead5['enableReadOnlyMode']('revision-viewer'),_0x23ead5['plugins']['has']('WidgetToolbarRepository'))&&_0x23ead5['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x27af2b){await this['loadRevisionData'](_0x27af2b);const _0xc12117={};for(const _0x42ca18 in _0x27af2b['diffData']){if(_0x27af2b['diffData'][_0x42ca18]['attachChange']&&!_0x27af2b['diffData'][_0x42ca18]['attachChange']['isAttached'])continue;const _0x1061dd=this['_removeRevisionMarkers'](JSON['parse'](_0x27af2b['diffData'][_0x42ca18]['insertions'])),_0x3d60a6=this['editor']['editing']['view']['document'],_0x3203be=new _0x3b60fc(_0x3d60a6,_0x1061dd['map'](_0x51580a=>this['_getViewObj'](_0x51580a)));this['editor']['data']['processor']['useFillerType']('marked'),_0xc12117[_0x42ca18]=this['editor']['data']['processor']['toData'](_0x3203be),this['editor']['data']['processor']['useFillerType']('default');}return _0xc12117;}async['getRevisionRootsAttributes'](_0xdd273){await this['loadRevisionData'](_0xdd273);const _0x2ebf80={};for(const _0x50e620 in _0xdd273['diffData'])_0xdd273['diffData'][_0x50e620]['attachChange']&&!_0xdd273['diffData'][_0x50e620]['attachChange']['isAttached']||(_0x2ebf80[_0x50e620]=_0xdd273['diffData'][_0x50e620]['attributesAfter']||{});return _0x2ebf80;}['_removeRevisionMarkers'](_0x510d86){return(_0x510d86=_0x510d86['filter'](_0x528d32=>!_0x528d32['name']||'revision-start'!==_0x528d32['name']&&'revision-end'!==_0x528d32['name']))['forEach'](_0x4c2b5d=>{'string'!=typeof _0x4c2b5d&&(_0x4c2b5d['children']=this['_removeRevisionMarkers'](_0x4c2b5d['children']),_0x4c2b5d['attributes']=_0x4c2b5d['attributes']['filter'](_0x535192=>!_0x535192[0x0]['startsWith']('data-revision-')));}),_0x510d86;}async['compare'](_0x5345e0,_0x355cb0,_0x3e3391=!0x1){if(!this['isEnabled'])return;const _0x59aa0a=this['diff'],_0x37bb12=this['repository'],_0x2d7a60='string'==typeof _0x5345e0?_0x37bb12['getRevision'](_0x5345e0):_0x5345e0,_0x4de4f8='string'==typeof _0x355cb0?_0x37bb12['getRevision'](_0x355cb0):_0x355cb0,_0x357ee3=_0x2d7a60['id'],_0xdbbf79=_0x4de4f8?_0x4de4f8['id']:null;if(!_0x3e3391&&this['diff']&&this['diff']['newRevisionId']===_0x357ee3&&this['diff']['oldRevisionId']===_0xdbbf79)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x357ee3,_0xdbbf79);const _0x38ff30=this['_getRevisionsRange'](_0x2d7a60,_0x4de4f8,!0x0)['map'](_0x576c9d=>this['loadRevisionData'](_0x576c9d));return _0x38ff30['push'](new Promise(_0x547873=>{setTimeout(_0x547873,0x14);})),Promise['all'](_0x38ff30)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4cf475=this['_getDiff'](_0x357ee3,_0xdbbf79);for(const _0x30f919 of _0x4cf475['changes'])this['_changeIdToChange']['set'](_0x30f919['id'],_0x30f919);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x274aca=>{for(const _0x4b6952 of this['editor']['model']['document']['getRootNames']())_0x274aca['detachRoot'](_0x4b6952);for(const _0x2f2248 of Object['keys'](_0x4cf475['model'])){const _0x1f19a9=_0x274aca['addRoot'](_0x2f2248);for(const _0x4b8a88 of Object['keys'](_0x4cf475['attributes'][_0x2f2248]))_0x274aca['setAttribute'](_0x4b8a88,_0x4cf475['attributes'][_0x2f2248][_0x4b8a88],_0x1f19a9);_0x274aca['insert'](_0x4cf475['model'][_0x2f2248],_0x1f19a9,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4cf475['changes'])),this['isReady']=!0x0;})['catch'](_0x56b915=>{console['error'](_0x56b915),this['_cleanUp'](),_0x59aa0a&&(this['diff']=_0x59aa0a),this['isReady']=!0x0;});}['addRevisionData'](_0x320c3a,_0x55f26c){const _0x268237=this['repository']['createRevision'](_0x320c3a);return _0x268237['on']('_update',(_0x44798c,_0x5ee9ef,_0x102b48)=>_0x55f26c(_0x5ee9ef,_0x102b48,_0x268237)),this['repository']['addRevision'](_0x268237),_0x268237;}['loadRevisionData'](_0x2366aa){if(!_0x2366aa||_0x2366aa['diffData'])return Promise['resolve']();{const _0x29a90e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x29a90e,'revisionId':_0x2366aa['id']})['then'](_0x175125=>{_0x2366aa['_update']({'diffData':_0x175125['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},_0x497ec2=>{for(const _0x2fb0ea of this['editor']['model']['document']['getRootNames']())_0x497ec2['detachRoot'](_0x2fb0ea);});}['_sortAndFilterDiffChanges'](_0x536203){const _0x508e1a=[],_0x817433=new Map();for(const _0x2e43da of this['editor']['model']['document']['getRootNames']()){const _0x34107f=this['editor']['editing']['view']['getDomRoot'](_0x2e43da);if(!_0x34107f)continue;const _0x47358e=_0x34107f['getClientRects']()['item'](0x0);_0x47358e&&(_0x508e1a['push'](_0x2e43da),_0x817433['set'](_0x2e43da,_0x47358e));}return _0x508e1a['sort']((_0x391900,_0x536495)=>{const _0xb63512=_0x817433['get'](_0x391900),_0x570979=_0x817433['get'](_0x536495);return _0xb63512['y']-_0x570979['y']||_0xb63512['x']-_0x570979['x'];}),(_0x536203=_0x536203['filter'](_0x28178f=>_0x508e1a['includes'](_0x28178f['rootName'])))['sort']((_0x2f422e,_0x4cb8a4)=>_0x508e1a['indexOf'](_0x2f422e['rootName'])-_0x508e1a['indexOf'](_0x4cb8a4['rootName'])),_0x536203;}['_makeTape'](_0xcbaab6){const _0x3aa326=Array['from'](_0xcbaab6['markers'])['filter'](([_0x2ad759,_0x15a13e])=>_0x2ad759['startsWith']('revision:')&&!_0x15a13e['isCollapsed']),_0x4fc03f=Array['from'](this['editor']['model']['createRangeIn'](_0xcbaab6)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3aa326['length'])for(const _0x349c1d of _0x4fc03f){const [_0x46ce37,_0x2432b5]=_0x3aa326[0x0],[,_0x5eb956,_0x3c252d]=_0x46ce37['split'](':');if(_0x2432b5['end']['isEqual'](_0x349c1d['nextPosition'])&&_0x3aa326['shift'](),(_0x349c1d['previousPosition']['isEqual'](_0x2432b5['start'])||_0x349c1d['previousPosition']['isAfter'](_0x2432b5['start']))&&('insertion'==_0x5eb956?_0x349c1d['isAdded']={'userId':_0x3c252d}:'deletion'==_0x5eb956&&(_0x349c1d['isRemoved']={'userId':_0x3c252d})),0x0==_0x3aa326['length'])break;}return _0x4fc03f;}['_refreshStartEndIndex'](_0x41d236){const _0x3388fc=new Map();for(let _0x49b425=0x0;_0x49b425<_0x41d236['length'];_0x49b425++)'text'===_0x41d236[_0x49b425]['type']?(_0x41d236[_0x49b425]['item']['startIndex']=_0x49b425,_0x41d236[_0x49b425]['item']['endIndex']=_0x49b425):('elementStart'===_0x41d236[_0x49b425]['type']?_0x41d236[_0x49b425]['item']['startIndex']=_0x49b425:'elementEnd'===_0x41d236[_0x49b425]['type']&&(_0x41d236[_0x49b425]['item']['endIndex']=_0x49b425),_0x3388fc['set'](_0x41d236[_0x49b425]['id'],_0x49b425));for(const _0x5f59c9 of _0x3388fc['values']())'elementStart'===_0x41d236[_0x5f59c9]['type']?_0x41d236[_0x5f59c9]['item']['endIndex']=_0x3388fc['get'](_0x41d236[_0x5f59c9]['pairId']):'elementEnd'===_0x41d236[_0x5f59c9]['type']&&(_0x41d236[_0x5f59c9]['item']['startIndex']=_0x3388fc['get'](_0x41d236[_0x5f59c9]['pairId']));}['_processTape'](_0x5dc286){for(let _0xbf7844=0x0;_0xbf7844<_0x5dc286['length'];_0xbf7844++){if('elementStart'===_0x5dc286[_0xbf7844]['type'])_0x5dc286[_0xbf7844]['item']['startIndex']=_0xbf7844;else{if('elementEnd'===_0x5dc286[_0xbf7844]['type']){_0x5dc286[_0xbf7844]['item']['endIndex']=_0xbf7844;const _0x3c4f98=_0x5dc286[_0xbf7844]['item']['startIndex'];_0x5dc286[_0x3c4f98]['pairId']=_0x5dc286[_0xbf7844]['id'],_0x5dc286[_0xbf7844]['pairId']=_0x5dc286[_0x3c4f98]['id'];}else _0x5dc286[_0xbf7844]['item']['startIndex']=_0xbf7844,_0x5dc286[_0xbf7844]['item']['endIndex']=_0xbf7844,_0x5dc286[_0xbf7844]['pairId']=null;}_0x5dc286[_0xbf7844]['markersStart']||(_0x5dc286[_0xbf7844]['markersStart']=[],_0x5dc286[_0xbf7844]['markersEnd']=[]);}}['_markInsertions'](_0x14a595,_0x395bee){const _0x47b3db=_0x14a595['filter'](_0x525c7c=>!_0x525c7c['isAdded']);for(let _0xbcc4e8=0x0;_0xbcc4e8<_0x395bee['length'];_0xbcc4e8++)_0x395bee[_0xbcc4e8]['isAdded']&&(_0x47b3db[_0xbcc4e8]['isAdded']=_0x395bee[_0xbcc4e8]['isAdded']);}['_makeModelFromViewString'](_0x5b7163){const _0x2a158c=JSON['parse'](_0x5b7163),_0x19e6b4=this['editor']['editing']['view']['document'],_0x1a06ea=new _0x3b60fc(_0x19e6b4,_0x2a158c['map'](_0x5b3b72=>this['_getViewObj'](_0x5b3b72)));return this['editor']['data']['toModel'](_0x1a06ea);}['_getViewObj'](_0x2c4cb1){const _0x3ae9d2=this['editor']['editing']['view']['document'];if('string'==typeof _0x2c4cb1)return new _0x6b7091(_0x3ae9d2,_0x2c4cb1);{const _0x41b365=_0x2c4cb1['children']['map'](_0x28a630=>this['_getViewObj'](_0x28a630));return new(tt[_0x2c4cb1['type']]||_0x57d40e)(_0x3ae9d2,_0x2c4cb1['name'],_0x2c4cb1['attributes'],_0x41b365);}}['_getDiff'](_0x331b1d,_0x36425b=null){const _0x437932=this['repository']['getRevision'](_0x331b1d),_0x4e9c08=_0x36425b?this['repository']['getRevision'](_0x36425b):null,_0x52dcfd=this['_getRevisionsRange'](_0x437932,_0x4e9c08),_0x30130b=_0x52dcfd[_0x52dcfd['length']-0x1],_0x51a744=new Map(),_0x275297={'model':{},'attributes':{},'changes':[]},_0x444c49=new Set(),_0x44a20b=new Map();for(let _0x501576=_0x52dcfd['length']-0x1;_0x501576>=0x0;_0x501576--){const _0x34d67f=_0x52dcfd[_0x501576];for(const _0x573f04 of Object['keys'](_0x34d67f['diffData']))if(_0x34d67f['diffData'][_0x573f04]['attachChange']){const _0xe0e893=_0x34d67f['diffData'][_0x573f04]['attachChange'];_0xe0e893['isAttached']?(_0x444c49['add'](_0x573f04),_0x44a20b['has'](_0x573f04)&&_0x44a20b['get'](_0x573f04)['userId']==_0xe0e893['userId']?_0x44a20b['delete'](_0x573f04):_0x44a20b['set'](_0x573f04,_0xe0e893)):_0x44a20b['has'](_0x573f04)?(_0x444c49['delete'](_0x573f04),_0x44a20b['delete'](_0x573f04)):(_0x444c49['add'](_0x573f04),_0x44a20b['set'](_0x573f04,_0xe0e893));}else _0x444c49['add'](_0x573f04);}for(const _0x285923 of _0x444c49){const _0x334a1a=_0x44a20b['has'](_0x285923)&&!_0x44a20b['get'](_0x285923)['isAttached'];let _0x56aac8=_0x334a1a?_0x52dcfd['length']-0x1:0x0;const _0x4936d9=_0x334a1a?-0x1:0x1;for(;_0x52dcfd[_0x56aac8];){const _0x269799=_0x52dcfd[_0x56aac8];if(_0x269799['diffData'][_0x285923]){const _0x2f33a4=_0x334a1a?_0x269799['diffData'][_0x285923]['attributesBefore']:_0x269799['diffData'][_0x285923]['attributesAfter'];_0x275297['attributes'][_0x285923]=_0x2f33a4?_0x30931d(_0x2f33a4):{};break;}_0x56aac8+=_0x4936d9;}}for(const _0x296978 of _0x52dcfd){_0x296978['model']={};for(const _0x9ad273 of _0x296978['authors'])_0x51a744['set'](_0x9ad273['id'],_0x9ad273);for(const _0x49116b of _0x444c49){const _0x1ca073=_0x296978['diffData'][_0x49116b]?_0x296978['diffData'][_0x49116b]['insertions']:'[]',_0x224769=_0x296978['diffData'][_0x49116b]?_0x296978['diffData'][_0x49116b]['deletions']:'[]';_0x296978['model'][_0x49116b]={'insertions':this['_makeModelFromViewString'](_0x1ca073),'deletions':this['_makeModelFromViewString'](_0x224769)};}}for(const _0x36423b of _0x444c49){let _0x325e38=null,_0xbb0c38=0x0;const _0x2b5123=new Map(Array['from'](_0x437932['model'][_0x36423b]['insertions']['markers'])['filter'](([_0x4ac703])=>!_0x4ac703['startsWith']('revision:')));let _0x269f46=0x0;for(const _0x88767c of _0x52dcfd){const _0x119a55=this['_makeTape'](_0x88767c['model'][_0x36423b]['insertions']);_0x88767c==_0x437932?(_0x325e38=_0x119a55,_0xbb0c38=_0x325e38['length'],_0x325e38['forEach'](_0x1f285f=>{_0x1f285f['id']=_0x269f46++;}),this['_processTape'](_0x325e38)):this['_markInsertions'](_0x325e38,_0x119a55);const _0x44e49b=_0x325e38['filter'](_0xe1da92=>!_0xe1da92['isAdded'])['map'](_0x18dc33=>_0x18dc33['id']);let _0x1595dc=0x0;const _0x5c9c51=this['_makeTape'](_0x88767c['model'][_0x36423b]['deletions']);_0x5c9c51['forEach'](_0x37e95e=>{_0x37e95e['isRemoved']?_0x37e95e['id']=_0xbb0c38++:_0x37e95e['id']=_0x44e49b[_0x1595dc++];}),this['_processTape'](_0x5c9c51),this['_setDistance'](_0x325e38,'isAdded'),this['_setDistance'](_0x5c9c51,'isRemoved'),_0x88767c==_0x437932&&this['_markMarkers'](_0x325e38,_0x2b5123),_0x325e38=this['_joinTapes'](_0x325e38,_0x5c9c51),this['_refreshStartEndIndex'](_0x325e38),this['_setDistance'](_0x325e38,'isRemoved');}_0x325e38=_0x325e38['filter'](_0xa8954=>!(_0xa8954['isAdded']&&_0xa8954['isRemoved']));const _0x577903=new Map(_0x30130b['model'][_0x36423b]['deletions']['markers']),_0x409d50=new Set(_0x2b5123['keys']());for(const _0x5c415a of _0x577903['keys']())_0x409d50['delete'](_0x5c415a);this['_markSuggestions'](_0x325e38,_0x409d50),this['_fixObsoleteTags'](_0x325e38),_0x325e38=this['_removeMissingPairs'](_0x325e38),_0x325e38=this['_markMismatchedRemovedTags'](_0x325e38),_0x325e38=this['_removeUnsupportedChanges'](_0x325e38);const {root:_0xe65ab7,changes:_0x126d24}=this['_makeModelFromTape'](_0x325e38,_0x51a744,_0x36423b);_0x275297['model'][_0x36423b]=_0xe65ab7;const _0x36ab54=_0x44a20b['get'](_0x36423b);if(_0x36ab54){const _0x2c62ed=_0x51a744['get'](_0x36ab54['userId']),_0x1656fc=new r({'author':_0x2c62ed,'type':_0x36ab54['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x36423b});_0x126d24['unshift'](_0x1656fc),_0x275297['attributes'][_0x36423b]['revisionHistoryAttachChange']=_0x1656fc['id'];}_0x275297['changes']=_0x275297['changes']['concat'](_0x126d24);}return _0x275297;}['_markMarkers'](_0x2d5600,_0x6c2b38){for(let _0x340271=0x0;_0x340271<_0x2d5600['length'];_0x340271++)for(const [_0x2ceec3,_0x181916]of _0x6c2b38)_0x181916['start']['isEqual'](_0x2d5600[_0x340271]['previousPosition'])&&_0x2d5600[_0x340271]['markersStart']['push'](_0x2ceec3),_0x181916['end']['isEqual'](_0x2d5600[_0x340271]['nextPosition'])&&_0x2d5600[_0x340271]['markersEnd']['push'](_0x2ceec3);}['_joinTapes'](_0x4fea8b,_0x3784fe){let _0x2e2882=[],_0x525069=0x0,_0x25bf5e=0x0;for(;_0x525069<_0x4fea8b['length']||_0x25bf5e<_0x3784fe['length'];){const _0x1bea76=_0x4fea8b[_0x525069]||{},_0x4a6074=_0x3784fe[_0x25bf5e]||{};if(_0x1bea76['id']==_0x4a6074['id'])_0x525069++,_0x25bf5e++,_0x2e2882['push'](_0x1bea76);else{if(_0x4a6074['isRemoved']&&_0x1bea76['isAdded']){const {commonTape:_0x547b94,iEnd:_0x5cf3fa,jEnd:_0x206e21}=this['_threeWayMerge'](_0x4fea8b,_0x525069,_0x3784fe,_0x25bf5e);_0x2e2882=_0x2e2882['concat'](_0x547b94),_0x525069=_0x5cf3fa,_0x25bf5e=_0x206e21;}else _0x4a6074['isRemoved']?(_0x25bf5e++,_0x2e2882['push'](_0x4a6074)):(_0x525069++,_0x2e2882['push'](_0x1bea76));}}return _0x2e2882;}['_markSuggestions'](_0x3ddaa8,_0x533a83){const _0xe1f197=[];for(let _0xadda42=0x0;_0xadda42<_0x3ddaa8['length'];_0xadda42++){for(let _0x2a1776=0x0;_0x2a1776<_0x3ddaa8[_0xadda42]['markersStart']['length'];_0x2a1776++){const _0xf6e02c=_0x3ddaa8[_0xadda42]['markersStart'][_0x2a1776];if(!_0x533a83['has'](_0xf6e02c))continue;const {group:_0x25dd7a,type:_0x326046,authorId:_0x55bc59}=_0x1d97d1(_0xf6e02c);'revision-suggestion'!=_0x25dd7a||'insertion'!=_0x326046&&'deletion'!=_0x326046||(_0xe1f197['unshift']({'type':_0x326046,'name':_0xf6e02c,'userId':_0x55bc59}),_0x3ddaa8[_0xadda42]['markersStart']['splice'](_0x2a1776,0x1),_0x2a1776--);}_0x571cb8(_0x3ddaa8[_0xadda42]);for(let _0x5790c5=0x0;_0x5790c5<_0x3ddaa8[_0xadda42]['markersEnd']['length'];_0x5790c5++){const _0x53e81f=_0x3ddaa8[_0xadda42]['markersEnd'][_0x5790c5];if(!_0x533a83['has'](_0x53e81f))continue;const {group:_0x36a97f,type:_0x267855}=_0x1d97d1(_0x53e81f);if('revision-suggestion'!=_0x36a97f||'insertion'!=_0x267855&&'deletion'!=_0x267855)continue;_0x3ddaa8[_0xadda42]['markersEnd']['splice'](_0x5790c5,0x1),_0x5790c5--;const _0x5a1c48=_0xe1f197['findIndex'](_0x59ae73=>_0x59ae73['name']==_0x53e81f);_0x5a1c48>-0x1&&_0xe1f197['splice'](_0x5a1c48,0x1);}}function _0x1d97d1(_0x3f9a6b){const _0x3a9b66=_0x3f9a6b['split'](':');return{'group':_0x3a9b66[0x0],'type':_0x3a9b66[0x1],'subType':_0x3a9b66['length']>=0x5?_0x3a9b66[0x2]:null,'id':_0x3a9b66['length']<0x5?_0x3a9b66[0x2]:_0x3a9b66[0x3],'authorId':_0x3a9b66['length']<0x5?_0x3a9b66[0x3]:_0x3a9b66[0x4],'markerCount':0x6==_0x3a9b66['length']?_0x3a9b66[0x5]:null};}function _0x571cb8(_0x30c4e5){for(let _0x39eda7=0x0;_0x39eda7<_0xe1f197['length'];_0x39eda7++){if(_0x30c4e5['isAdded']&&'insertion'==_0xe1f197[_0x39eda7]['type'])return _0x30c4e5['isAddSuggestion']=_0xe1f197[_0x39eda7],void delete _0x30c4e5['isAdded'];if(!_0x30c4e5['isAdded']&&!_0x30c4e5['isRemoved']&&'deletion'==_0xe1f197[_0x39eda7]['type'])return void(_0x30c4e5['isRemoveSuggestion']=_0xe1f197[_0x39eda7]);}}}['_setDistance'](_0x520a06,_0x5662dc){let _0x5df04c=0x0,_0x589a67=!0x1;const _0x4b0ed8=new Map();for(const _0x2d145f of _0x520a06)_0x2d145f[_0x5662dc]?_0x589a67&&(_0x5df04c++,_0x589a67=!0x1):(_0x5df04c++,_0x589a67=!0x0),_0x4b0ed8['set'](_0x2d145f['id'],_0x5df04c);for(let _0x12db6f=0x0;_0x12db6f<_0x520a06['length'];_0x12db6f++){if('isRemoved'==_0x5662dc&&_0x520a06[_0x12db6f]['isAdded']||'isAdded'==_0x5662dc&&_0x520a06[_0x12db6f]['isRemoved'])continue;if('text'==_0x520a06[_0x12db6f]['type']){_0x520a06[_0x12db6f]['distance']=0x0;continue;}const _0x2c9e68=_0x4b0ed8['get'](_0x520a06[_0x12db6f]['pairId']),_0x1cb67d=_0x4b0ed8['get'](_0x520a06[_0x12db6f]['id']);_0x520a06[_0x12db6f]['distance']=_0x2c9e68-_0x1cb67d;}}['_getRevisionsRange'](_0x6b4e27,_0x340626,_0x50a914=!0x1){const _0x949967=[];let _0x413bca=this['repository']['getIndex'](_0x6b4e27),_0x4ba5eb=this['repository']['getIndex'](_0x340626);for(-0x1==_0x4ba5eb&&(_0x4ba5eb=this['repository']['_revisions']['length'],_0x50a914=!0x1);_0x413bca<_0x4ba5eb;)_0x949967['push'](this['repository']['getRevision'](_0x413bca)),_0x413bca++;return _0x50a914&&_0x949967['push'](this['repository']['getRevision'](_0x413bca)),_0x949967;}['_threeWayMerge'](_0x2c5436,_0x3decdf,_0x183264,_0x47ad5b){const _0x40a9ec=this['editor']['model']['schema'];let _0x23b7fb=_0x3decdf;for(;_0x2c5436[_0x23b7fb]&&_0x2c5436[_0x23b7fb]['isAdded'];)_0x23b7fb++;let _0x2ce5a9=_0x47ad5b;for(;_0x183264[_0x2ce5a9]&&_0x183264[_0x2ce5a9]['isRemoved'];)_0x2ce5a9++;_0x8ed09(_0x2c5436,_0x3decdf,_0x23b7fb),_0x8ed09(_0x183264,_0x47ad5b,_0x2ce5a9);const _0x2cc531=_0x183264['slice'](_0x47ad5b,_0x2ce5a9)['concat'](_0x2c5436['slice'](_0x3decdf,_0x23b7fb));return _0x2cc531['sort']((_0x1a78be,_0x3f6630)=>_0x1a78be['side']!=_0x3f6630['side']?_0x1a78be['side']-_0x3f6630['side']:_0x1a78be['level']!=_0x3f6630['level']?_0x1a78be['level']-_0x3f6630['level']:_0x1a78be['distance']!=_0x3f6630['distance']?_0x3f6630['distance']-_0x1a78be['distance']:!!_0x1a78be['isAdded']!=!!_0x3f6630['isAdded']?-0x1==_0x1a78be['side']||0x0==_0x1a78be['side']?_0x1a78be['isAdded']?-0x1:0x1:_0x1a78be['isAdded']?0x1:-0x1:_0x1a78be['index']-_0x3f6630['index']),{'commonTape':_0x2cc531,'iEnd':_0x23b7fb,'jEnd':_0x2ce5a9};function _0x8ed09(_0x4fce2e,_0x2a4291,_0x5d9906){let _0x24d3ac=-0x1,_0x15d556=Number['POSITIVE_INFINITY'],_0x26dbf2=!0x0;for(let _0x5a5e02=_0x2a4291;_0x5a5e02<_0x5d9906;_0x5a5e02++)if(_0x40a9ec['isInline'](_0x4fce2e[_0x5a5e02]['item'])||(_0x26dbf2=!0x1),_0x4fce2e[_0x5a5e02]['item']['startIndex']<_0x2a4291&&(_0x24d3ac=_0x5a5e02),_0x4fce2e[_0x5a5e02]['item']['endIndex']>=_0x5d9906){_0x15d556=_0x5a5e02;break;}_0x26dbf2&&(_0x24d3ac=_0x5d9906-0x1);for(let _0x5da6e7=_0x2a4291;_0x5da6e7<_0x5d9906;_0x5da6e7++)_0x4fce2e[_0x5da6e7]['side']=_0x5da6e7<=_0x24d3ac?-0x1:_0x5da6e7<_0x15d556?0x0:0x1,_0x4fce2e[_0x5da6e7]['index']=_0x5da6e7;let _0x43f2fa=0x0;for(let _0x2c65dd=_0x2a4291;_0x2c65dd<=_0x24d3ac;_0x2c65dd++)0x0==_0x4fce2e[_0x2c65dd]['distance']?_0x4fce2e[_0x2c65dd]['level']=_0x43f2fa:(_0x43f2fa++,_0x4fce2e[_0x2c65dd]['level']=_0x43f2fa,_0x43f2fa++);for(let _0x387f9e=_0x2a4291;_0x387f9e<_0x5d9906;_0x387f9e++)0x0==_0x4fce2e[_0x387f9e]['side']&&(_0x4fce2e[_0x387f9e]['level']=_0x43f2fa);_0x43f2fa=0x0;for(let _0x187c15=_0x5d9906-0x1;_0x187c15>=_0x15d556;_0x187c15--)0x0==_0x4fce2e[_0x187c15]['distance']?_0x4fce2e[_0x187c15]['level']=_0x43f2fa:(_0x43f2fa--,_0x4fce2e[_0x187c15]['level']=_0x43f2fa,_0x43f2fa--);}}['_fixObsoleteTags'](_0x214f3d){const _0x2bfa24=new Map(),_0x1a4da4=this['editor']['model']['schema'];for(let _0x1892b7=0x1;_0x1892b7<_0x214f3d['length'];_0x1892b7++){let _0xd84956,_0x440ceb,_0x52308c;const _0x46c31d=_0x214f3d[_0x1892b7],_0x1d897b=_0x214f3d[_0x1892b7-0x1];if('text'==_0x46c31d['type'])continue;if(_0x46c31d['type']!=_0x1d897b['type'])continue;if(!_0x1a4da4['isBlock'](_0x1d897b['item'])||_0x1a4da4['isLimit'](_0x1d897b['item']))continue;if(!_0x1a4da4['isBlock'](_0x46c31d['item'])||_0x1a4da4['isLimit'](_0x46c31d['item']))continue;if((_0x214f3d[_0x1892b7]['isAdded']||_0x214f3d[_0x1892b7]['isAddSuggestion'])&&_0x214f3d[_0x1892b7-0x1]['isRemoved'])_0xd84956=_0x214f3d[_0x1892b7],_0x440ceb=_0x214f3d[_0x1892b7-0x1],_0x52308c=_0x1892b7-0x1;else{if(!_0x214f3d[_0x1892b7]['isRemoved']||!_0x214f3d[_0x1892b7-0x1]['isAdded']&&!_0x214f3d[_0x1892b7-0x1]['isAddSuggestion'])continue;_0xd84956=_0x214f3d[_0x1892b7-0x1],_0x440ceb=_0x214f3d[_0x1892b7],_0x52308c=_0x1892b7;}const _0x12ec8d=_0xd84956['level']==_0x440ceb['level'],_0x1fc004=Math['abs'](_0xd84956['level'])<Math['abs'](_0x440ceb['level'])&&0x0==_0x440ceb['distance'];(_0x12ec8d||_0x1fc004)&&(_0x2bfa24['set'](_0x440ceb['id'],_0xd84956['id']),_0x214f3d['splice'](_0x52308c,0x1),_0x1892b7--,_0xd84956['isAdded']=!0x1);}for(let _0x28ea8a=0x0;_0x28ea8a<_0x214f3d['length'];_0x28ea8a++)_0x2bfa24['has'](_0x214f3d[_0x28ea8a]['pairId'])&&(_0x214f3d[_0x28ea8a]['pairId']=_0x2bfa24['get'](_0x214f3d[_0x28ea8a]['pairId']));}['_removeMissingPairs'](_0x4fa694){const _0x4a0e79=new Set(_0x4fa694['map'](_0x5426ea=>_0x5426ea['id']));for(let _0x948d0=0x0;_0x948d0<_0x4fa694['length'];_0x948d0++)_0x4a0e79['has'](_0x4fa694[_0x948d0]['pairId'])||0x0==_0x4fa694[_0x948d0]['distance']||(_0x4fa694[_0x948d0]['isIncorrect']=!0x0);return _0x4fa694['filter'](_0x2cf373=>!_0x2cf373['isIncorrect']);}['_markMismatchedRemovedTags'](_0x41b389){const _0x2d72bf=new Set();for(let _0x206539=0x0;_0x206539<_0x41b389['length'];_0x206539++){if(_0x2d72bf['has'](_0x41b389[_0x206539]['id'])&&_0x41b389[_0x206539]['isRemoved']&&(_0x41b389[_0x206539]['isIncorrect']=!0x0),_0x41b389[_0x206539]['isIncorrect'])continue;if(0x0==_0x41b389[_0x206539]['distance'])continue;if('elementStart'!=_0x41b389[_0x206539]['type'])continue;if(null==_0x41b389[_0x206539]['pairId'])continue;let _0xfd7822=_0x206539+0x1,_0x371a27=0x0;for(;_0x41b389[_0xfd7822]['id']!=_0x41b389[_0x206539]['pairId'];)'elementStart'==_0x41b389[_0xfd7822]['type']?_0x371a27++:'elementEnd'==_0x41b389[_0xfd7822]['type']&&_0x371a27--,_0xfd7822++;if(0x0!=_0x371a27){if(_0x41b389[_0x206539]['isRemoved'])_0x41b389[_0x206539]['isIncorrect']=!0x0;else{for(;_0xfd7822!=_0x206539;)_0x41b389[_0xfd7822]['isRemoved']&&0x0!=_0x41b389[_0xfd7822]['distance']&&(_0x41b389[_0xfd7822]['isIncorrect']=!0x0,_0x2d72bf['add'](_0x41b389[_0xfd7822]['pairId'])),_0xfd7822--;}}}return _0x41b389['filter'](_0x16015f=>!_0x16015f['isIncorrect']);}['_removeUnsupportedChanges'](_0x3de260){const _0x3af719=this['editor']['model']['schema'];for(let _0x3417bd=0x0;_0x3417bd<_0x3de260['length'];_0x3417bd++){if(!(_0x3de260[_0x3417bd]['isAdded']||_0x3de260[_0x3417bd]['isAddSuggestion']||_0x3de260[_0x3417bd]['isRemoved']||_0x3de260[_0x3417bd]['isRemoveSuggestion']))continue;if(0x0==_0x3de260[_0x3417bd]['distance'])continue;const _0x448674=_0x3de260[_0x3417bd]['item'];_0x3af719['isBlock'](_0x448674)||_0x3af719['isLimit'](_0x448674)||(_0x3de260[_0x3417bd]['isAdded']&&delete _0x3de260[_0x3417bd]['isAdded'],_0x3de260[_0x3417bd]['isAddSuggestion']&&delete _0x3de260[_0x3417bd]['isAddSuggestion'],_0x3de260[_0x3417bd]['isRemoveSuggestion']&&delete _0x3de260[_0x3417bd]['isRemoveSuggestion'],_0x3de260[_0x3417bd]['isRemoved']&&(_0x3de260[_0x3417bd]['isIncorrect']=!0x0));}return _0x3de260['filter'](_0x3f996a=>!_0x3f996a['isIncorrect']);}['_makeModelFromTape'](_0x166832,_0x35aa00,_0x4c211c){const _0x28c761=new wt(),_0x5ca308=[],_0x1e759b=new Map(),_0x2e07ab=this['editor']['model'],_0x2d1c1a=_0x2e07ab['schema'],_0x5a410a=[_0x28c761],_0x51f54c={},_0x1d4843={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x42994c=null;const _0x29f527=[0x0];for(let _0xe471c0=0x0;_0xe471c0<_0x166832['length'];_0xe471c0++){let _0x3063a5,_0x1c9599;if('elementStart'===_0x166832[_0xe471c0]['type']){_0x3063a5=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527);const _0x10bae4=new ft(_0x166832[_0xe471c0]['item']['name'],_0x166832[_0xe471c0]['item']['getAttributes']());_0x5a410a[0x0]['_appendChild'](_0x10bae4),_0x29f527['push'](0x0),_0x5a410a['unshift'](_0x10bae4),_0x1c9599=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x42994c=null;}else{if('elementEnd'===_0x166832[_0xe471c0]['type'])_0x5a410a['shift'](),_0x3063a5=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x29f527['pop'](),_0x29f527[_0x29f527['length']-0x1]++,_0x1c9599=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x42994c=null;else{if(_0x3063a5=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x42994c&&_0x542712(_0x42994c,_0x166832[_0xe471c0]['item']))_0x42994c['_data']+=_0x166832[_0xe471c0]['item']['data'];else{const _0x1e8f92=new _t(_0x166832[_0xe471c0]['item']['data'],_0x166832[_0xe471c0]['item']['getAttributes']());_0x5a410a[0x0]['_appendChild'](_0x1e8f92),_0x42994c=_0x1e8f92;}_0x29f527[_0x29f527['length']-0x1]+=_0x166832[_0xe471c0]['item']['offsetSize'],_0x1c9599=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527);}}for(const _0x4d9c66 of _0x166832[_0xe471c0]['markersStart'])_0x1e759b['set'](_0x4d9c66,{'start':_0x3063a5,'end':null});_0x5bf3d6('isRemoveSuggestion',_0xe471c0,_0x3063a5,_0x1c9599),_0x5bf3d6('isAddSuggestion',_0xe471c0,_0x3063a5,_0x1c9599),_0x5bf3d6('isRemoved',_0xe471c0,_0x3063a5,_0x1c9599),_0x5bf3d6('isAdded',_0xe471c0,_0x3063a5,_0x1c9599);for(const _0xd30762 of _0x166832[_0xe471c0]['markersEnd']){_0x1e759b['get'](_0xd30762)['end']=_0x1c9599;}}for(const [_0x502ecd,_0x1c4621]of _0x1e759b){const _0x550c82=this['editor']['model']['createRange'](_0x1c4621['start'],_0x1c4621['end']);_0x28c761['markers']['set'](_0x502ecd,_0x550c82);}return _0x5ca308['sort']((_0x2490fa,_0x18e30d)=>{const _0x329299=_0x28c761['markers']['get']('revision:'+_0x2490fa['id']),_0x225b26=_0x28c761['markers']['get']('revision:'+_0x18e30d['id']);return _0x329299['start']['isBefore'](_0x225b26['start'])?-0x1:_0x329299['start']['isAfter'](_0x225b26['start'])?0x1:_0x329299['end']['isBefore'](_0x225b26['end'])?-0x1:_0x329299['end']['isAfter'](_0x225b26['end'])?0x1:'add'===_0x2490fa['type']?-0x1:0x1;}),{'root':_0x28c761,'changes':_0x5ca308};function _0x5bf3d6(_0x1e7773,_0x23c012,_0x5d3840,_0x572afa){const _0x3db4ea=!!_0x166832[_0x23c012][_0x1e7773],_0x261b9f=_0x3db4ea?_0x166832[_0x23c012][_0x1e7773]['userId']:null,_0x394455=_0x23c012===_0x166832['length']-0x1,_0x3eee2=_0x1d4843[_0x1e7773][0x0],_0x1614a5=_0x2d1c1a['isObject'](_0x166832[_0x23c012]['item']);!_0x51f54c[_0x1e7773]&&_0x3db4ea?_0x51f54c[_0x1e7773]={'start':_0x5d3840,'tapeItem':_0x166832[_0x23c012],'userId':_0x261b9f,'type':_0x1e7773}:_0x51f54c[_0x1e7773]&&!_0x3db4ea?(_0x51f54c[_0x1e7773]['end']=_0x5d3840,_0x3e7436(_0x51f54c[_0x1e7773]),_0x51f54c[_0x1e7773]=null):_0x51f54c[_0x1e7773]&&_0x3db4ea&&_0x51f54c[_0x1e7773]['userId']!==_0x261b9f&&(_0x51f54c[_0x1e7773]['end']=_0x5d3840,_0x3eee2&&_0x3eee2['userId']===_0x51f54c[_0x1e7773]['userId']||_0x3e7436(_0x51f54c[_0x1e7773]),_0x51f54c[_0x1e7773]={'start':_0x5d3840,'tapeItem':_0x166832[_0x23c012],'userId':_0x261b9f,'type':_0x1e7773}),_0x51f54c[_0x1e7773]&&_0x1614a5&&('elementStart'!==_0x166832[_0x23c012]['type']||_0x3eee2&&_0x3eee2['userId']===_0x261b9f||_0x1d4843[_0x1e7773]['unshift']({'userId':_0x261b9f,'object':_0x166832[_0x23c012]['item'],'change':_0x51f54c[_0x1e7773]}),'elementEnd'===_0x166832[_0x23c012]['type']&&_0x3eee2&&_0x3eee2['object']===_0x166832[_0x23c012]['item']&&(_0x1d4843[_0x1e7773]['shift'](),_0x51f54c[_0x1e7773]=_0x3eee2['change'])),_0x51f54c[_0x1e7773]&&_0x394455&&(_0x51f54c[_0x1e7773]['end']=_0x572afa,_0x3e7436(_0x51f54c[_0x1e7773]),_0x51f54c[_0x1e7773]=null);}function _0x3e7436({start:_0x520315,end:_0x1b2e7c,tapeItem:_0x3826eb,userId:_0x57ca1c,type:_0x2680b8}){const _0x36027e=_0x3826eb['item'],_0x269259=_0x2e07ab['schema']['isBlock'](_0x36027e)&&!_0x2e07ab['schema']['isLimit'](_0x36027e),_0xbaad5=_0x520315['nodeAfter']==_0x1b2e7c['parent']&&_0x1b2e7c['isAtStart'];if(_0x269259&&_0xbaad5)return;const _0x7b7312=_0x2e07ab['createRange'](_0x520315,_0x1b2e7c),_0x5c247f=_0x35aa00['get'](_0x57ca1c),_0x29802d=new r({'author':_0x5c247f,'type':'isAdded'==_0x2680b8||'isAddSuggestion'==_0x2680b8?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2680b8||'isRemoveSuggestion'==_0x2680b8},'createdAt':new Date(),'rootName':_0x4c211c});_0x5ca308['push'](_0x29802d),_0x28c761['markers']['set']('revision:'+_0x29802d['id'],_0x7b7312);}function _0x542712(_0x237a0a,_0x2d8064){const _0x3e7144=_0x237a0a['getAttributes'](),_0x2202d7=_0x2d8064['getAttributes']();for(const _0x399283 of _0x3e7144){if(_0x399283[0x1]!==_0x2d8064['getAttribute'](_0x399283[0x0]))return!0x1;_0x2202d7['next']();}return _0x2202d7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x33b64f=>{const _0x5c27e7=_0x33b64f['markerName']['split'](':')[0x1],_0x1075cb=this['_getChangeFromId'](_0x5c27e7);if(!_0x1075cb)return null;const _0x151fda='add'==_0x1075cb['type']?'insertion':'deletion',_0x1fbaa1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x151fda];return _0x1075cb['data']['isSuggestion']&&_0x1fbaa1['push']('ck-suggestion-marker-'+_0x151fda+'-new'),this['activeChange']==_0x1075cb&&_0x1fbaa1['push']('ck-suggestion-marker--active'),{'classes':_0x1fbaa1,'attributes':{'data-change-id':_0x5c27e7}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2a2492=>{_0x2a2492['on']('element:pre',(_0x30aa09,_0xce842d,_0x474252)=>{const _0x1dc3e0=_0xce842d['viewItem']['getChild'](0x0);if(!_0x1dc3e0||!_0x1dc3e0['is']('element','code'))return;if(!_0x474252['consumable']['consume'](_0x1dc3e0,{'attributes':['vid_start','vid_end']}))return;const _0x1eb173=_0xce842d['modelRange']['start']['nodeAfter'];_0x474252['writer']['setAttribute']('vid_start',_0x1dc3e0['getAttribute']('vid_start'),_0x1eb173),_0x474252['writer']['setAttribute']('vid_end',_0x1dc3e0['getAttribute']('vid_end'),_0x1eb173);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2fa246=>{_0x2fa246['on']('element',(_0x23b726,_0x4496af,_0x84580e)=>{if(!_0x84580e['consumable']['consume'](_0x4496af['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4496af['modelRange']['isCollapsed'])return;const _0x14f63a=_0x4496af['modelRange']['start']['nodeAfter'];_0x14f63a['hasAttribute']('vid_start')||_0x14f63a['hasAttribute']('vid')||(_0x84580e['writer']['setAttribute']('vid_start',_0x4496af['viewItem']['getAttribute']('vid_start'),_0x14f63a),_0x84580e['writer']['setAttribute']('vid_end',_0x4496af['viewItem']['getAttribute']('vid_end'),_0x14f63a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1dd2ae=>_0x1dd2ae['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x261f88,[,_0x438566])=>{['vid_start','vid_end','vid']['includes'](_0x438566)&&(_0x261f88['return']=!0x0,_0x261f88['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4df0a0=>{_0x4df0a0['on']('attribute:vid',(_0x5c869e,_0x33ce7e,_0x1141e2)=>{if('\x20'!=_0x33ce7e['item']['data']||_0x33ce7e['item']['parent']['maxOffset']>0x1)return;if(!_0x1141e2['consumable']['consume'](_0x33ce7e['item'],_0x5c869e['name']))return;const _0x3e22c6=_0x1141e2['writer'],_0x332c64=_0x1141e2['mapper']['toViewRange'](_0x33ce7e['range']);_0x3e22c6['wrap'](_0x332c64,_0x3e22c6['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1718c7){const _0x5d39b9=_0x1718c7['plugins']['get']('RevisionViewer');return(_0x53048d,_0x145512,_0xcdb184)=>{const _0x4c52f0=_0x145512['markerName']['split'](':')[0x1],_0x5b9e33=_0x5d39b9['_getChangeFromId'](_0x4c52f0);if(!_0x5b9e33)return null;const _0x55c561='add'==_0x5b9e33['type']?'split':'merge';if(!_0xcdb184['consumable']['test'](_0x145512['markerRange'],_0x53048d['name']))return;const _0x4feca5=_0x145512['markerRange']['getWalker'](),_0x1085b6=_0x145512['markerRange']['start'],_0x449c83=_0x1718c7['model']['schema'];let _0x2725f0=null,_0x525796=null,_0x357a62=!0x1,_0xedaa6b=!0x1;for(const _0x32493d of _0x4feca5){const _0x48faa8=_0x32493d['item'];_0x357a62=_0x357a62||_0x449c83['isContent'](_0x48faa8);const _0x1266de=_0xcdb184['mapper']['toViewElement'](_0x48faa8);if(_0x1266de&&_0x1266de['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x32493d['type']&&(_0x449c83['isBlock'](_0x48faa8)&&!_0x449c83['isLimit'](_0x48faa8)&&(_0x48faa8['nextSibling']||_0x1085b6['isAtEnd']?_0x2725f0&&_0x2725f0['parent']==_0x48faa8||(_0x2725f0=_0x48faa8,_0x172878(_0x32493d['previousPosition']),_0xedaa6b=!0x0):_0x525796=_0x525796||_0x32493d['previousPosition']));}function _0x172878(_0x2671e){const _0x2054ae=_0xcdb184['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x55c561}),_0x436a15=_0xcdb184['mapper']['toViewPosition'](_0x2671e);_0x5b9e33['data']['isSuggestion']&&_0xcdb184['writer']['addClass']('ck-suggestion-marker-'+_0x55c561+'-new',_0x2054ae),_0x5d39b9['activeChange']==_0x5b9e33&&_0xcdb184['writer']['addClass']('ck-suggestion-marker--active',_0x2054ae),_0xcdb184['writer']['insert'](_0x436a15,_0x2054ae),_0xcdb184['mapper']['bindElementToMarker'](_0x2054ae,_0x145512['markerName']);}_0x357a62||_0xedaa6b||!_0x525796||_0x172878(_0x525796);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3d7b88,_0x5c8d38,_0x39058f)=>{const _0x8cbfe2=_0x39058f['mapper']['markerNameToElements'](_0x5c8d38['markerName']);if(_0x8cbfe2){for(const _0x1ee7a6 of _0x8cbfe2)(_0x1ee7a6['hasClass']('ck-suggestion-marker-split')||_0x1ee7a6['hasClass']('ck-suggestion-marker-merge'))&&(_0x39058f['mapper']['unbindElementFromMarkerName'](_0x1ee7a6,_0x5c8d38['markerName']),_0x39058f['writer']['remove'](_0x1ee7a6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x237c72,_0x4d0f79,_0x2956f1)=>{const _0x1e27d4=_0x4d0f79['markerName']['split'](':')[0x1],_0x2d2474=this['_getChangeFromId'](_0x1e27d4);if(!_0x2d2474)return null;const _0x34067e='add'==_0x2d2474['type']?'split':'merge';if(_0x2956f1['consumable']['test'](_0x4d0f79['markerRange'],_0x237c72['name']))for(const _0x590fd1 of _0x4d0f79['markerRange']['getItems']()){if(!_0x590fd1['is']('element','softBreak'))continue;const _0x137f8c=_0x2956f1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x34067e}),_0x112212=_0x2956f1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x590fd1));_0x2d2474['data']['isSuggestion']&&_0x2956f1['writer']['addClass']('ck-suggestion-marker-'+_0x34067e+'-new',_0x137f8c),this['activeChange']==_0x2d2474&&_0x2956f1['writer']['addClass']('ck-suggestion-marker--active',_0x137f8c),_0x2956f1['writer']['insert'](_0x112212,_0x137f8c),_0x2956f1['mapper']['bindElementToMarker'](_0x137f8c,_0x4d0f79['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x259cd6=>{for(const _0x34eb74 of this['editor']['model']['document']['getRootNames']()){const _0x3e07f2=this['editor']['model']['document']['getRoot'](_0x34eb74),_0x339dcf=this['editor']['editing']['view']['document']['getRoot'](_0x34eb74);if(_0x339dcf){const _0x5bc751=_0x3e07f2['getAttribute']('revisionHistoryAttachChange');if(_0x259cd6['removeAttribute']('data-change-id',_0x339dcf),_0x259cd6['removeClass']('ck-revision-history-root-add',_0x339dcf),_0x259cd6['removeClass']('ck-revision-history-root-remove',_0x339dcf),_0x259cd6['removeClass']('ck-revision-history-root--active',_0x339dcf),_0x5bc751){const _0x3b3773=this['_getChangeFromId'](_0x5bc751);if(!_0x3b3773)return null;_0x259cd6['setAttribute']('data-change-id',_0x5bc751,_0x339dcf),_0x259cd6['addClass']('ck-revision-history-root-'+_0x3b3773['type'],_0x339dcf),this['activeChange']==_0x3b3773&&_0x259cd6['addClass']('ck-revision-history-root--active',_0x339dcf);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x18de5d=>'revision-comment:'+_0x18de5d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x398782=>'revision-suggestion:'+_0x398782,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x28aaa5=>({'name':'suggestion:'+_0x28aaa5,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x19a645=>{const _0x245d02=_0x19a645['markerName']['split'](':')[0x1];return'insertion'!=_0x245d02&&'deletion'!=_0x245d02?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x245d02]};}}),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',(_0x32c31f,_0x30f158,_0x3d2931)=>{const _0x43fefb=_0x3d2931['mapper']['markerNameToElements'](_0x30f158['markerName']);if(_0x43fefb){for(const _0x32fb3b of _0x43fefb)_0x32fb3b['is']('uiElement')&&(_0x3d2931['mapper']['unbindElementFromMarkerName'](_0x32fb3b,_0x30f158['markerName']),_0x3d2931['writer']['remove'](_0x32fb3b));}},{'priority':'high'});}['_getChangeFromId'](_0x5a08f2){return this['_changeIdToChange']['get'](_0x5a08f2);}['_getViewForChange'](_0x25ca5f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x25ca5f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x59a546,_0x3d0a72,_0x35a06b,_0x4fc239)=>{_0x4fc239&&this['_balloon']['remove'](_0x4fc239),_0x35a06b&&(this['_balloon']['add']({'view':_0x35a06b,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2ae9d4=this['editor']['editing'],_0x5d6078=this['_getChangeFromId'](_0x35a06b['changeId']);let _0x4622c1;if(_0x5d6078['data']['isOnRoot']){const _0x6efda5=_0x2ae9d4['view']['getDomRoot'](_0x5d6078['rootName']);_0x4622c1=Array['from'](_0x6efda5['getClientRects']());}else{const _0x1f134d=this['editor']['model']['markers']['get']('revision:'+_0x35a06b['changeId']);_0x4622c1=Array['from'](_0x2ae9d4['mapper']['markerNameToElements'](_0x1f134d['name']))['map'](_0x1dc5b4=>_0x2ae9d4['view']['domConverter']['mapViewToDom'](_0x1dc5b4))['map'](_0x48b9d2=>Array['from'](_0x48b9d2['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4622c1[0x0];return _0x4622c1['find'](_0xa5d276=>_0xa5d276['top']-0x3<=this['_activeViewTarget']['y']&&_0xa5d276['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xa5d276['left']-0x3<=this['_activeViewTarget']['x']&&_0xa5d276['right']+0x3>=this['_activeViewTarget']['x'])||_0x4622c1[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x14d327,_0x4f4eb6,_0x440e53,_0x1ab69f)=>{this['activeView']=_0x440e53?this['_getViewForChange'](_0x440e53):null,this['editor']['model']['change'](()=>{const _0x5346d1=this['editor']['editing'];_0x1ab69f&&(_0x1ab69f['data']['isOnRoot']?_0x5346d1['view']['change'](_0x14f0e2=>{_0x14f0e2['removeClass']('ck-revision-history-root--active',_0x5346d1['view']['document']['getRoot'](_0x1ab69f['rootName']));}):_0x5346d1['reconvertMarker']('revision:'+_0x1ab69f['id'])),_0x440e53&&(_0x440e53['data']['isOnRoot']?_0x5346d1['view']['change'](_0x58d81c=>{_0x58d81c['addClass']('ck-revision-history-root--active',_0x5346d1['view']['document']['getRoot'](_0x440e53['rootName']));}):_0x5346d1['reconvertMarker']('revision:'+_0x440e53['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1660db,_0x50d8b1)=>{if(this['activeChange'])return;const _0x38f63c=this['_findChangeIdFromDomTarget'](_0x50d8b1['target']),_0x4beadb=this['_changeIdToChange']['get'](_0x38f63c);_0x4beadb?(this['_activeViewTarget']={'x':_0x50d8b1['domEvent']['x'],'y':_0x50d8b1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4beadb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x465dc8,_0x15f07d)=>{const _0x290695=this['_findChangeIdFromDomTarget'](_0x15f07d['target']),_0xcb74fe=this['_changeIdToChange']['get'](_0x290695);_0xcb74fe?(this['_activeViewTarget']={'x':_0x15f07d['domEvent']['x'],'y':_0x15f07d['domEvent']['y']},_0xcb74fe===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xcb74fe):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x130bb0){do{const _0x2b50df=_0x130bb0['getAttribute']('data-change-id');if(_0x2b50df)return _0x2b50df;_0x130bb0=_0x130bb0['parent'];}while(_0x130bb0);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x386440=>{for(const _0x58e114 of this['editor']['model']['markers'])_0x386440['removeMarker'](_0x58e114);});}}function et(_0x3f9928,_0x7906e3){return(_0x1684b1,_0x3dc0f2,_0x2a8d8d)=>{if(!_0x2a8d8d['consumable']['test'](_0x3dc0f2['markerRange'],_0x1684b1['name']))return;const _0x4afb12=_0x3dc0f2['markerRange']['getWalker'](),_0x547bf2=_0x3dc0f2['markerRange']['start'],_0x1978cd=_0x3f9928['model']['schema'];let _0x37d6af=null,_0x3b4493=null,_0x164903=!0x1,_0xa26e03=!0x1;for(const _0x3a9f51 of _0x4afb12){const _0x39c1b1=_0x3a9f51['item'];_0x164903=_0x164903||_0x1978cd['isContent'](_0x39c1b1);const _0x116199=_0x2a8d8d['mapper']['toViewElement'](_0x39c1b1);if(_0x116199&&_0x116199['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a9f51['type']&&(_0x1978cd['isBlock'](_0x39c1b1)&&!_0x1978cd['isLimit'](_0x39c1b1)&&(_0x39c1b1['nextSibling']||_0x547bf2['isAtEnd']?_0x37d6af&&_0x37d6af['parent']==_0x39c1b1||(_0x37d6af=_0x39c1b1,_0x1ca873(_0x3a9f51['previousPosition']),_0xa26e03=!0x0):_0x3b4493=_0x3b4493||_0x3a9f51['previousPosition']));}function _0x1ca873(_0x25e254){const _0x5793f8=_0x2a8d8d['mapper']['toViewPosition'](_0x25e254),_0x5260c1=_0x2a8d8d['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x7906e3});_0x2a8d8d['writer']['insert'](_0x5793f8,_0x5260c1),_0x2a8d8d['mapper']['bindElementToMarker'](_0x5260c1,_0x3dc0f2['markerName']);}_0x164903||_0xa26e03||!_0x3b4493||_0x1ca873(_0x3b4493);};}class bt extends _0xf2a719{constructor(_0x17e372){super(_0x17e372);const _0x121d17=_0x17e372['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x121d17,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x121d17,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x561f06=this['editor'],_0x3c838a=_0x561f06['plugins']['get'](d),_0x1a603f=_0x3c838a['isReady']?_0x3c838a['diff']['newRevisionId']:null;_0x561f06['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1a603f);}['refresh'](){const {isReady:_0x2d1ee3,isEnabled:_0x529407}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2d1ee3&&_0x529407;}}class yt extends _0xf2a719{['_step'];constructor(_0x269f01,{direction:_0xf8f4cd}){super(_0x269f01);const _0x4d9be3=_0x269f01['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xf8f4cd?0x1:-0x1,this['listenTo'](_0x4d9be3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4d9be3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4d9be3,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1d2fe6=this['editor'],_0x19dbd5=_0x1d2fe6['plugins']['get'](d),{isNavigationMode:_0x574377,currentChangeNumber:_0x20a141}=_0x19dbd5;let _0x4c4f37;if(_0x19dbd5['activeChange']=_0x574377?_0x19dbd5['diff']['changes']['get'](_0x20a141+this['_step']):_0x19dbd5['diff']['changes']['first'],_0x19dbd5['activeChange']['data']['isOnRoot'])_0x4c4f37=_0x1d2fe6['editing']['view']['getDomRoot'](_0x19dbd5['activeChange']['rootName']);else{const _0x31bcb9=_0x1d2fe6['model']['markers']['get']('revision:'+_0x19dbd5['activeChange']['id']);_0x4c4f37=_0x2648a9(_0x1d2fe6['editing'],_0x31bcb9);}_0x1712b9({'target':_0x4c4f37,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x6c4bb3,currentChangeNumber:_0x541415,numberOfChanges:_0x345877,isReady:_0xda26c2,isEnabled:_0x2bdc12}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2bdc12&&_0xda26c2&&_0x345877)&&(!_0x6c4bb3||(0x1===this['_step']?_0x541415<_0x345877-0x1:_0x541415>0x0));}}class _i extends _0x2cc590{constructor(_0x507466){super(_0x507466);const _0x139876=this['bindTemplate'],_0x5cae65=new _0x3ce999(_0x507466),_0x18d4c0=new _0x3ce999(_0x507466);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',(_0x408570,_0x1fdae1)=>_0x408570&&_0x1fdae1>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2cc04a,_0x4951ac,_0x568b54,_0x2960fc)=>{if(!_0x2cc04a)return y(_0x507466,'Loading...');if(!_0x568b54)return y(_0x507466,'No\x20changes');const _0xbee97d=y(_0x507466,'NUMBER_OF_CHANGES',_0x568b54);return _0x2960fc?y(_0x507466,'X_OF_Y_CHANGES',[_0x4951ac+0x1,_0x568b54]):_0xbee97d;}),_0x5cae65['set']({'label':y(_0x507466,'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'}),_0x18d4c0['set']({'label':y(_0x507466,'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'}),_0x5cae65['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x18d4c0['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5cae65['on']('execute',()=>this['fire']('execute','backward')),_0x18d4c0['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',_0x139876['if']('_isStatusLabelVisible','ck-hidden',_0x599b50=>!_0x599b50)]},'children':[{'text':_0x139876['to']('isNavigationMode',_0x3d0ab8=>_0x3d0ab8?y(_0x507466,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x507466,'Total')+':\x20')}]},{'text':_0x139876['to']('_statusText')}]},new _0x1f3e8a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5cae65,_0x18d4c0]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x18654b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x380777=this['editor']['editing']['view'];_0x380777['change'](_0x15edcc=>{for(const _0x132569 of _0x380777['document']['roots'])_0x15edcc['addClass'](ce,_0x132569);});}['hide'](){const _0x3cf24b=this['editor']['editing']['view'];_0x3cf24b['change'](_0x389734=>{for(const _0x56f264 of _0x3cf24b['document']['roots'])_0x389734['removeClass'](ce,_0x56f264);});}}class R extends _0x18654b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x14223e=this['editor'],_0x23d1fa=_0x14223e['plugins']['get'](d),_0x181a33=_0x14223e['plugins']['get'](de);_0x14223e['ui']['componentFactory']['add']('exitToEditing',_0x5b0a0b=>{const _0xa7ddfc=new _0x3ce999(_0x5b0a0b);return _0xa7ddfc['set']({'label':y(_0x5b0a0b,'Back\x20to\x20editing'),'icon':_0x22d62c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xa7ddfc,'execute',()=>{_0x14223e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xa7ddfc;}),_0x14223e['ui']['componentFactory']['add']('restoreRevision',_0x277c26=>{const _0x46b378=new _0x3ce999(_0x277c26);return _0x46b378['set']({'label':y(_0x277c26,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x46b378['bind']('isEnabled')['to'](_0x14223e['commands']['get']('restoreRevision')),this['listenTo'](_0x46b378,'execute',()=>_0x14223e['execute']('restoreRevision')),_0x46b378;}),_0x14223e['ui']['componentFactory']['add']('changesNavigation',_0x18f294=>{const _0x4c44e1=new _i(_0x18f294),_0x11a68c=_0x14223e['commands']['get']('showPreviousChange'),_0xf67fa1=_0x14223e['commands']['get']('showNextChange');return _0x4c44e1['bind']('isBackwardNavigationEnabled')['to'](_0x11a68c,'isEnabled'),_0x4c44e1['bind']('isForwardNavigationEnabled')['to'](_0xf67fa1,'isEnabled'),_0x4c44e1['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x23d1fa),this['listenTo'](_0x4c44e1,'execute',(_0x3b3bdf,_0x26c48e)=>{_0x14223e['execute']('forward'===_0x26c48e?'showNextChange':'showPreviousChange');}),_0x4c44e1;}),_0x181a33['show'](),_0x23d1fa['on']('change:isReady',(_0x46d9cf,_0x210bb6,_0xedb4e1)=>{_0xedb4e1?_0x181a33['hide']():_0x181a33['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xa39baf,_0x426119){super(_0xa39baf,_0x426119);const _0x313817=this['bindTemplate'];this['set']({'label':y(_0xa39baf,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xa39baf,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x313817['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 _0x4a78c9=this['fieldView']['element'];this['_tooltipString']=_0x4a78c9['scrollWidth']>_0x4a78c9['clientWidth']&&_0x4a78c9['value']||'';}}class ti extends _0x2cc590{constructor(_0x776a86,_0x11f2ce,_0x46a1ca){super(_0x776a86);const _0x117107=new _0x181ffe();_0x117107['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 _0x37528e=['ck','ck-revision-history-sidebar__revision-author'];_0x46a1ca&&_0x37528e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x50db0b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x776a86,_0x46a1ca?'Revision\x20creator':'Revision\x20author')},'children':[_0x117107,_0x11f2ce['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x37528e},'children':_0x50db0b});}}function ni(_0x4f64ce,_0x3d4ae2){const _0x1af60f=_0x4f64ce['bindTemplate'],_0x186d64=_0x4f64ce['locale'],_0x255281=_0x46a514(_0x186d64);_0x255281['panelPosition']='sw';const _0x596e62=function(_0x54555b,_0x1e45f5){const _0x12da70=function(_0x5b580d,_0x37f22a){const _0x3edb71=_0x5b580d['locale'],_0x5c441a={'Compare\x20against\x20selected':y(_0x3edb71,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3edb71,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3edb71,'Restore\x20this\x20revision')};return _0x37f22a['map'](_0xd081fd=>{const _0x4cbf91=_0x5c441a[_0xd081fd['name']];return _0x4cbf91&&_0x4cbf91!==_0xd081fd['name']&&(_0xd081fd['name']=_0x4cbf91),_0xd081fd;});}(_0x54555b,_0x1e45f5),_0xddfd0c=new _0x11a29b();for(const _0x2722d6 of _0x12da70){const _0x5ed1fe={'type':'button','model':new to({'label':_0x2722d6['name'],'class':_0x2722d6['class'],'withText':!0x0,'role':'menuitem','_action':_0x2722d6['action']})};_0x5ed1fe['model']['bind']('isEnabled')['to'](_0x54555b,'isActionsDropdownOpen',_0x242bf8=>'function'!=typeof _0x2722d6['isEnabled']||(!_0x242bf8||_0x2722d6['isEnabled'](_0x54555b))),_0xddfd0c['add'](_0x5ed1fe);}return _0xddfd0c;}(_0x4f64ce,_0x3d4ae2);return _0x4f64ce['bind']('isActionsDropdownOpen')['to'](_0x255281,'isOpen'),_0x255281['buttonView']['set']({'label':y(_0x186d64,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x22d62c['threeVerticalDots']}),_0x255281['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1af60f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1af60f['to'](_0x5b69e2=>_0x5b69e2['stopPropagation']())}}),_0x255281['on']('execute',_0x59a0dd=>{_0x4f64ce['isReady']&&'function'==typeof _0x59a0dd['source']['_action']&&_0x59a0dd['source']['_action'](_0x4f64ce);}),_0x194c1a(_0x255281,_0x596e62,{'role':'menu'}),_0x255281['listenTo'](_0x4f64ce,'change:isActionsDropdownOpen',(_0x3f1e61,_0x59f9e4,_0x3e8a4e)=>{if(_0x3e8a4e)for(const _0x147758 of _0x255281['listView']['items']){const _0x9c34f0=_0x147758['children']['first'],_0x4c84a1=_0x3d4ae2['find'](_0x1b4560=>_0x1b4560['action']===_0x9c34f0['_action'])['isVisible'];_0x147758['isVisible']=void 0x0===_0x4c84a1||_0x4c84a1(_0x4f64ce);}}),_0x255281;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x481dc5(_0x2cc590){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x32527a,_0x5dba93,_0x578229,_0x470aa0){super(_0x32527a);const _0x43eda7=this['bindTemplate'],_0x55a336=function(_0x121ca8,_0x18d64d){const _0x38d648=Array['from'](_0x18d64d['authors'])['filter'](_0x52a69f=>_0x52a69f!=_0x18d64d['creator']);return _0x18d64d['creator']&&_0x38d648['unshift'](_0x18d64d['creator']),_0x38d648['map'](_0x4c3602=>new ti(_0x121ca8,_0x4c3602,_0x4c3602==_0x18d64d['creator']));}(_0x32527a,_0x5dba93);this['id']=_0x5dba93['id'],this['_revision']=_0x5dba93,this['_requireRevisionName']=_0x470aa0,this['bind']('name','createdAt')['to'](_0x5dba93),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x31e3b7=>{return _0x408ff7=_0x32527a['uiLanguage'],(_0x2dbcb0=_0x31e3b7)['toLocaleDateString'](_0x408ff7,{'month':'long','day':'numeric'})+',\x20'+_0x2dbcb0['toLocaleTimeString'](_0x408ff7,{'hour':'numeric','minute':'numeric'});var _0x408ff7,_0x2dbcb0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x32527a,_0x1f6267),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xcd8c82=>_0xcd8c82||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5bc2ea,_0x3993b4)=>_0x5bc2ea&&_0x3993b4),this['revisionActionsView']=_0x578229&&_0x578229['length']?ni(this,_0x578229):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x43eda7['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x43eda7['if']('isEnabled','ck-disabled',_0x51c148=>!_0x51c148),_0x43eda7['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x43eda7['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x43eda7['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':_0x43eda7['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':_0x55a336}]},this['revisionActionsView']],'on':{'click':_0x43eda7['to'](_0x18c515=>{_0x18c515['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x93d682=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x93d682,'change',()=>{this['_requireRevisionName']&&!_0x93d682['value']||this['fire']('setName',{'id':this['id'],'name':_0x93d682['value']}),_0x93d682['value']||(_0x93d682['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(_0x3ac687,_0x36d9ff){const _0x3d155c=_0x804a2a['fromJSDate'](_0x3ac687)['setLocale'](_0x36d9ff),_0x49cc5e=_0x804a2a['local'](),_0x3dd845=_0x49cc5e['minus']({'days':0x1})['startOf']('day');let _0xb3d9b7,_0x2aa279;return _0x3d155c['hasSame'](_0x49cc5e,'day')?(_0xb3d9b7=_0x3d155c['startOf']('day')['toJSDate'](),_0x2aa279=_0x3d155c['toRelativeCalendar']()):_0x3d155c['hasSame'](_0x3dd845,'day')?(_0xb3d9b7=_0x3dd845['toJSDate'](),_0x2aa279=_0x3d155c['toRelativeCalendar']()):_0x3d155c['hasSame'](_0x49cc5e,'week')?(_0xb3d9b7=_0x3d155c['startOf']('week')['toJSDate'](),_0x2aa279=_0x3d155c['weekdayLong']||''):_0x3d155c['hasSame'](_0x49cc5e,'year')?(_0xb3d9b7=_0x3d155c['startOf']('month')['toJSDate'](),_0x2aa279=_0x3d155c['monthLong']||''):(_0xb3d9b7=_0x3d155c['startOf']('year')['toJSDate'](),_0x2aa279=String(_0x3d155c['year'])),{'startDate':_0xb3d9b7,'localizedPeriodName':_0x2aa279};}class mi extends _0x2cc590{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x40b906,_0x5967d1,_0x47f8ef,_0x27d3b3){super(_0x40b906);const _0x140c2a=di(_0x5967d1,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5967d1,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x47f8ef,this['_requireRevisionName']=_0x27d3b3,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':_0x140c2a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x161af7){const _0x1724aa=new ai(this['locale'],_0x161af7,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1724aa);}['removeRevision'](_0xf91133){const _0x326926=this['revisionViews']['find'](_0x2cfe3e=>_0x2cfe3e['id']===_0xf91133['id']);this['revisionViews']['remove'](_0x326926);}}class as extends _0x2cc590{constructor(_0x556ab1){super(_0x556ab1);const _0x3a4f21=new _0x181ffe();_0x3a4f21['content']=_0x22d62c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3a4f21,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x556ab1,'Revision\x20history')]}]});}}class ci extends _0x2cc590{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x709fb4,_0x112f8c,_0x20ea02,_0x5008c4){super(_0x709fb4);const _0x38984f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x112f8c,this['_revisionActions']=_0x20ea02,this['_requireRevisionName']=_0x5008c4,this['on']('select',(_0x42a1fa,_0x18cdac)=>{this['fire']('revisionSelected',_0x18cdac);}),this['on']('setName',(_0x47821a,_0x12d1f7)=>{this['fire']('revisionSetName',_0x12d1f7);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x709fb4),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x38984f['if']('isEnabled','ck-disabled',_0x544eb8=>!_0x544eb8)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x263008 of this['_revisions'])this['_addRevision'](_0x263008);this['_revisions']['on']('add',(_0x3301ee,_0x23cf73)=>{this['_addRevision'](_0x23cf73);}),this['_revisions']['on']('remove',(_0x25dfe3,_0x193a86)=>{this['_removeRevision'](_0x193a86);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2b9756=>_0x2b9756['revisionViews']['map'](_0x16e459=>_0x16e459))['flat']();}['selectRevision'](_0x28d604){for(const _0x59efe0 of this['revisionViews'])_0x28d604&&_0x28d604['id']===_0x59efe0['id']?_0x59efe0['select']():_0x59efe0['deselect']();}['highlightRevisions'](_0x3ee19e){for(const _0x5d3fe2 of this['revisionViews'])_0x3ee19e['some'](({id:_0x503b5d})=>_0x503b5d===_0x5d3fe2['id'])?_0x5d3fe2['highlight']():_0x5d3fe2['unhighlight']();}['_addRevision'](_0x538f87){const _0x22e72d=di(_0x538f87['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x594004=this['timePeriodViews']['get'](0x0);_0x594004&&_0x594004['startDate']['getTime']()===_0x22e72d['getTime']()||(_0x594004=new mi(this['locale'],_0x22e72d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x594004)),_0x594004['addRevision'](_0x538f87);}['_removeRevision'](_0x1d638f){const _0x5ea62e=di(_0x1d638f['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5ea62e)['removeRevision'](_0x1d638f);}['_getTimePeriodViewByStartDate'](_0x1fb986){return this['timePeriodViews']['find'](_0x4170a1=>_0x4170a1['startDate']['getTime']()===_0x1fb986['getTime']());}}class w extends _0x18654b{['_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(_0x455dc7){super(_0x455dc7),this['_revisionViewer']=_0x455dc7['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1299f7=this['_revisionsRepository']['_revisions'],_0x55f947=this['_createRevisionActions'](),_0x3ff081=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1299f7,_0x55f947,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',(_0x3ae7f4,_0x20eb91)=>{_0x20eb91['revisionViews']['on']('add',(_0x5f2bf1,_0x20634d)=>{_0x20634d['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)),_0x3ff081['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x508f51=this['_revisionsRepository']['getRevision'](0x0);if(_0x508f51){const _0x45e62d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x508f51['id']);this['_revisionViewer']['compare'](_0x508f51,_0x45e62d);}}['_handleRevisionSelected'](_0x326090,_0x6e1bd7){const _0x2c9796=this['_revisionsRepository']['getRevision'](_0x6e1bd7['id']),_0x2800b0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2c9796['id']);this['_revisionViewer']['compare'](_0x2c9796,_0x2800b0);}['_handleRevisionSetName'](_0x5bc698,_0x5ad428){this['_revisionsRepository']['getRevision'](_0x5ad428['id'])['setName'](_0x5ad428['name']);}['_handleDiffChange'](_0x22756f,_0x2ca094,_0x49b1cf){const _0x1195b7=this['_revisionsRepository']['getRevisionsInDiff'](_0x49b1cf);_0x1195b7['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1195b7),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1195b7[0x0]));}['_createRevisionActions'](){const _0x164cd8=this['editor'],_0xdd53d7=w['availableRevisionActions'],_0x45ed30=_0x164cd8['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x45ed30['length'])return _0x45ed30['map'](_0x385aec=>{const _0x3c24d8='string'==typeof _0x385aec?Object['assign']({},_0xdd53d7[_0x385aec]):_0x385aec;return _0x3c24d8['action']=_0x3c24d8['action']['bind'](this,_0x164cd8),_0x3c24d8['isVisible']&&(_0x3c24d8['isVisible']=_0x3c24d8['isVisible']['bind'](this,_0x164cd8)),_0x3c24d8;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x530621},_0x4e97ae)=>{const _0x305f9f=_0x530621['get'](d),_0x163ffd=_0x305f9f['repository'];let _0x3255a2=_0x305f9f['diff']['newRevisionId'],_0x45dddd=_0x4e97ae['id'];_0x163ffd['getIndex'](_0x3255a2)>_0x163ffd['getIndex'](_0x45dddd)&&([_0x3255a2,_0x45dddd]=[_0x45dddd,_0x3255a2]),_0x305f9f['compare'](_0x3255a2,_0x45dddd);},'isVisible':({plugins:_0xc13da3},_0x57ae1f)=>{const _0x208401=_0xc13da3['get'](d);return!(_0x208401['repository']['getRevisionsInDiff'](_0x208401['diff'])['length']>0x2)&&!_0x57ae1f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x46e561,{id:_0x24bddc})=>{_0x46e561['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x24bddc);},'isVisible':({plugins:_0x5865d0},_0x571b5b)=>!!_0x5865d0['get'](d)['repository']['getLaterVisibleRevision'](_0x571b5b['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x239a22},{id:_0x54330f,revisionNameView:_0x18ea99})=>{const _0x4b849e=_0x239a22['get'](d),_0x3f8d5a=_0x4b849e['repository']['getEarlierVisibleRevision'](_0x54330f);_0x4b849e['compare'](_0x54330f,_0x3f8d5a),_0x18ea99['focus'](),_0x18ea99['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x59bb4e,_0x1449e6){super(_0x59bb4e),this['_view']=_0x1449e6,this['_toolbarConfig']=ct(_0x59bb4e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x846a79){const _0x42dbf5=this['editor'],_0x5af0f5=this['view'],_0x57c201=_0x42dbf5['editing']['view'],_0x1a03c7=_0x5af0f5['editable'],_0x1ba175=_0x57c201['document']['getRoot']();_0x1a03c7['name']=_0x1ba175['rootName'],_0x5af0f5['render']();const _0x24d857=_0x1a03c7['element'];this['setEditableElement'](_0x1a03c7['name'],_0x24d857),_0x5af0f5['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x57c201['attachDomRoot'](_0x24d857),this['_elementReplacer']['replace'](_0x846a79,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x8890f9=this['view'],_0x45d6f7=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x45d6f7['detachDomRoot'](_0x8890f9['editable']['name']),_0x8890f9['destroy']();}['_initToolbar'](){const _0x296dbc=this['view'];_0x296dbc['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x296dbc['stickyPanel']['limiterElement']=_0x296dbc['element'],_0x296dbc['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1b6354})=>_0x1b6354),_0x296dbc['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x296dbc['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5e4157,_0x23002b,_0x3a3574={}){super(_0x5e4157),this['stickyPanel']=new lt(_0x5e4157),this['toolbar']=new pt(_0x5e4157,{'shouldGroupWhenFull':_0x3a3574['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5e4157,_0x23002b);}['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(_0x3a7ccf,_0x25f6e3){super(_0x25f6e3),this['sourceElement']=_0x3a7ccf,this['model']['document']['createRoot']();const _0x1b6d2b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1b6d2b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x17e814,_0x31b56f){const _0x242f54=new this(_0x17e814,_0x31b56f);return await _0x242f54['initPlugins'](),await _0x242f54['ui']['init'](_0x17e814),await _0x242f54['data']['init'](_0x242f54['config']['get']('initialData')||''),_0x242f54['fire']('ready'),_0x242f54;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x18654b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xd94167){super(_0xd94167),this['result']='end';}}class H extends _0x18654b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x15cffc){if(super(_0x15cffc),!this['editor']['config']['get']('revisionHistory'))throw new _0x171c0c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x34fd22=>this['_showRevisionViewer']({..._0x34fd22,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4340f4=>this['_closeRevisionViewer'](_0x4340f4)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3876e9=>this['_restoreRevision'](_0x3876e9)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x365ffa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x365ffa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5991b3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5991b3);}['getRevision'](_0x30d44a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x30d44a);}['getRevisions'](_0x2e7f0d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2e7f0d||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x40d382=this['editor'],_0x4b8a9c=_0x8b23e3(_0x40d382,p),_0x2fdcb9=_0x40d382['plugins']['get']('RevisionTracker'),_0x340b9e=_0x40d382['plugins']['get']('Users')['users'];return _0x4b8a9c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4b8a9c['lazyRoots'],(_0x4b8a9c['plugins']['push'](k,d,R,class extends _0x18654b{static get['requires'](){return[d,'Users'];}['init'](){const _0x9d6acf=this['editor']['plugins']['get']('Users');for(const _0x26501a of _0x340b9e)_0x26501a['isAnonymous']||_0x9d6acf['getUser'](_0x26501a['id'])||_0x9d6acf['addUser'](_0x26501a);const _0x25fa26=_0x2fdcb9['repository']['getRevisions']();let _0x3283d6=null;const _0x445a41=this['editor']['plugins']['get']('RevisionViewer');_0x445a41['adapter']=_0x2fdcb9['adapter'],_0x445a41['bind']('isEnabled')['to'](_0x2fdcb9),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x40d382,'isReadOnly',_0x212fc5=>!_0x212fc5);for(const _0x5139e4 of _0x25fa26){const _0x2e9b26=null===_0x5139e4['creator'];if(_0x2e9b26&&_0x5139e4['toVersion']===_0x5139e4['fromVersion'])continue;const _0x2a5030=_0x5139e4['toJSON']();_0x445a41['addRevisionData'](_0x2a5030,(_0x528ece,_0x4f60e8,_0x6f8a23)=>{if(_0x2e9b26){if(_0x3283d6)_0x3283d6['_update'](_0x528ece,_0x4f60e8);else{if(!_0x4f60e8){const _0x2094e3=_0x6f8a23['toJSON']();_0x2094e3['id']=_0x1fef2a(),_0x2fdcb9['saveRevision'](_0x2094e3,_0x6f8a23['toVersion'])['then'](_0x4fbfd3=>{_0x3283d6=_0x4fbfd3;});}}}else _0x5139e4['_update'](_0x528ece,_0x4f60e8);});}}},w),_0x4b8a9c);}['_enhanceShowRevisionViewerCallback'](){const _0xe910e7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1e908b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3367c9=this['editor']['plugins']['get']('Autosave');await _0x3367c9['save']();}else await _0x1e908b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x49ca8a=this['editor']['plugins']['get']('Dialog');_0x49ca8a['isOpen']&&_0x49ca8a['hide']();}const _0x4254b9=this['_getRevisionViewerEditorConfig']();return _0xe910e7(_0x4254b9)['then'](_0x39ea49=>{return(this['_viewerEditor']=_0x39ea49,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x39ea49;})['catch'](_0x2d162b=>(console['error'](_0x2d162b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xe467=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'](),_0xe467(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3ac1d9=this['editor']['plugins']['get']('Annotations');_0x3ac1d9['refreshVisibility'](),_0x3ac1d9['refreshPositioning']();}})));}['_showRevisionViewer'](_0x502614){const _0x3e8dcd=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x258957=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5bc41e=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5bc41e,_0x502614)['then'](_0x23708e=>(_0x258957['style']['display']='block',_0x3e8dcd['style']['display']='none',_0x23708e));}['_closeRevisionViewer'](_0x4cfbda){const _0x3d09ae=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3d09ae['style']['display']='',_0x4cfbda['destroy']();}async['_restoreRevision'](_0x109f4f){const _0x44717d=this['editor'],_0x199178=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2bb182=_0x44717d['plugins']['get']('RevisionTracker'),_0x1b8b99=_0x199178['repository']['getRevision'](_0x109f4f);let _0x24b9f7,_0x2e01d4,_0x7868a4;try{_0x24b9f7=await _0x199178['getRevisionData'](_0x1b8b99),_0x2e01d4=await _0x199178['getRevisionRootsAttributes'](_0x1b8b99);}catch(_0x1e31e4){return void console['error'](_0x1e31e4);}_0x44717d['model']['change'](_0x2fa419=>{for(const _0x581a2 of Array['from'](_0x44717d['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2fa419['removeMarker'](_0x581a2);}),_0x199178['isReady']=!0x1,_0x44717d['model']['enqueueChange'](_0x56c1c0=>{_0x56c1c0['setSelection'](null),_0x56c1c0['removeSelectionAttribute'](_0x44717d['model']['document']['selection']['getAttributeKeys']());const _0x5855a9=Object['keys'](_0x24b9f7);for(const _0x13854d of _0x44717d['model']['document']['roots'])'$graveyard'!=_0x13854d['rootName']&&_0x13854d['isAttached']()&&!_0x5855a9['includes'](_0x13854d['rootName'])&&_0x56c1c0['detachRoot'](_0x13854d);for(const _0x4a689f of _0x5855a9){let _0x11c315=_0x44717d['model']['document']['getRoot'](_0x4a689f);_0x11c315&&_0x11c315['isAttached']()||(_0x11c315=_0x56c1c0['addRoot'](_0x4a689f));const _0x10107c=_0x2e01d4[_0x4a689f],_0x7fe66b=Object['keys'](_0x10107c),_0x58ca36=_0x24b9f7[_0x4a689f];for(const _0x30ed16 of _0x11c315['getAttributeKeys']())_0x7fe66b['includes'](_0x30ed16)||_0x56c1c0['removeAttribute'](_0x30ed16,_0x11c315);for(const _0x335fcd of _0x7fe66b)_0x56c1c0['setAttribute'](_0x335fcd,_0x2e01d4[_0x4a689f][_0x335fcd],_0x11c315);_0x56c1c0['remove'](_0x56c1c0['createRangeIn'](_0x11c315)),_0x56c1c0['insert'](_0x44717d['data']['parse'](_0x58ca36,_0x11c315),_0x11c315,0x0);}});const _0x49f51d=y(_0x44717d['locale'],'Restored');if(_0x1b8b99['name'])_0x7868a4=-0x1==_0x1b8b99['name']['indexOf'](_0x49f51d)?_0x49f51d+':\x20'+_0x1b8b99['name']:_0x1b8b99['name'];else _0x7868a4=_0x49f51d+':\x20'+(_0x1b8b99['createdAt']['toLocaleDateString'](_0x44717d['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1b8b99['createdAt']['toLocaleTimeString'](_0x44717d['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2bb182['saveRevision']({'name':_0x7868a4}),_0x199178['isReady']=!0x0,_0x44717d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|