@ckeditor/ckeditor5-revision-history 43.1.0-alpha.7 → 43.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ObservableMixin as
|
|
24
|
-
_0x3cf579(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x21df85){super(),this['id']=_0x21df85['id']||_0x2f067e(),this['creator']=_0x21df85['creator']||null,this['authors']=_0x21df85['authors']||[],this['diffData']=_0x21df85['diffData']||null,this['toVersion']=_0x21df85['toVersion']||0x0,this['fromVersion']=_0x21df85['fromVersion']||0x0,this['set']('name',_0x21df85['name']||''),this['set']('createdAt',_0x21df85['createdAt']||new Date()),this['set']('attributes',_0x21df85['attributes']||{});}['setName'](_0x1e18c3){this['_update']({'name':_0x1e18c3});}['setAttribute'](_0x50669d,_0xf8d357){const _0x31a7ec=_0x25472f(this['attributes']);_0x141bf8(_0x31a7ec,_0x50669d,_0xf8d357),this['_update']({'attributes':_0x31a7ec});}['removeAttribute'](_0x36bf16){const _0x295f9a=_0x25472f(this['attributes']);_0x3a3923(_0x295f9a,_0x36bf16),this['_update']({'attributes':_0x295f9a});}['_update'](_0x5aac45,_0x4aee68=!0x1){let _0x419a49=!0x1;const _0x59136b={'id':this['id']},_0x29d134=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x37a06a of _0x29d134){const _0x54356c=_0x5aac45[_0x37a06a];void 0x0!==_0x54356c&&_0x54356c!==this[_0x37a06a]&&(this[_0x37a06a]=_0x54356c,_0x59136b[_0x37a06a]=_0x54356c,_0x419a49=!0x0);}_0x419a49&&(_0x59136b['authors']&&(_0x59136b['authorsIds']=_0x59136b['authors']['map'](_0x58a279=>_0x58a279['id']),delete _0x59136b['authors']),this['fire']('_update',_0x59136b,_0x4aee68));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2b326d=>_0x2b326d['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x490488{['_revisions'];static get['requires'](){return[_0x5f579f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x482fb4){super(_0x482fb4),this['_revisions']=new _0x52ae39();}['afterInit'](){!function(_0x2048ee){function _0x35288e(_0x43552,_0x3ade43,_0x452fff){const _0x1fa6cf={};_0x1fa6cf[_0x4faf5c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1fa6cf[_0x4faf5c([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x1fa6cf[_0x4faf5c([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x1fa6cf[_0x4faf5c([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x1fa6cf[_0x4faf5c([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x1fa6cf[_0x4faf5c([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x1fa6cf[_0x4faf5c([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x1fa6cf[_0x4faf5c([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x1fa6cf[_0x4faf5c([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x1fa6cf[_0x4faf5c([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x1fa6cf[_0x4faf5c([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x52866c=new Uint8Array(0x10);for(let _0x4bb234=0xf;_0x4bb234>=0x0;--_0x4bb234)_0x52866c[_0x4bb234]=_0x452fff%0x100,_0x452fff=parseInt(_0x452fff/0x100);let _0x520978=null,_0x2c0495=0x10;const _0x556290=new Uint8Array(_0x3ade43),_0x3a1952=[],_0x34b6bd=[];_0x86255c();for(let _0xa1f35c=0x0;_0xa1f35c<_0x43552[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa1f35c++)0x10===_0x2c0495&&(_0x520978=_0x5494b4(_0x52866c),_0x2c0495=0x0,_0x5d2f13(_0x52866c)),_0x43552[_0xa1f35c]^=_0x520978[_0x2c0495++];return _0x43552;function _0x17a008(_0x1b46ae){const _0x52529f=[];for(let _0x1427f8=0x0;_0x1427f8<_0x1b46ae[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1427f8+=0x4)_0x52529f[_0x4faf5c([0x70,0x75,0x73,0x68])](_0x1b46ae[_0x1427f8]<<0x18|_0x1b46ae[_0x1427f8+0x1]<<0x10|_0x1b46ae[_0x1427f8+0x2]<<0x8|_0x1b46ae[_0x1427f8+0x3]);return _0x52529f;}function _0x5d2f13(_0x159abb){for(let _0x5b5073=0xf;_0x5b5073>=0x0;_0x5b5073--){if(0xff!==_0x159abb[_0x5b5073]){_0x159abb[_0x5b5073]++;break;}_0x159abb[_0x5b5073]=0x0;}}function _0x5494b4(_0x584987){const _0x19b132=_0x3a1952[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x48a879=[0x0,0x0,0x0,0x0];let t=_0x17a008(_0x584987);for(let _0x129483=0x0;_0x129483<0x4;_0x129483++)t[_0x129483]^=_0x3a1952[0x0][_0x129483];for(let _0xfc84b5=0x1;_0xfc84b5<_0x19b132;_0xfc84b5++){for(let _0x1e4519=0x0;_0x1e4519<0x4;_0x1e4519++)_0x48a879[_0x1e4519]=_0x1fa6cf[_0x4faf5c([0x54,0x31])][t[_0x1e4519]>>0x18&0xff]^_0x1fa6cf[_0x4faf5c([0x54,0x32])][t[(_0x1e4519+0x1)%0x4]>>0x10&0xff]^_0x1fa6cf[_0x4faf5c([0x54,0x33])][t[(_0x1e4519+0x2)%0x4]>>0x8&0xff]^_0x1fa6cf[_0x4faf5c([0x54,0x34])][0xff&t[(_0x1e4519+0x3)%0x4]]^_0x3a1952[_0xfc84b5][_0x1e4519];t=_0x48a879[_0x4faf5c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x489fcd=new Uint8Array(0x10);let _0x23bc67;for(let _0x4ced7d=0x0;_0x4ced7d<0x4;_0x4ced7d++)_0x23bc67=_0x3a1952[_0x19b132][_0x4ced7d],_0x489fcd[0x4*_0x4ced7d]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][t[_0x4ced7d]>>0x18&0xff]^_0x23bc67>>0x18),_0x489fcd[0x4*_0x4ced7d+0x1]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][t[(_0x4ced7d+0x1)%0x4]>>0x10&0xff]^_0x23bc67>>0x10),_0x489fcd[0x4*_0x4ced7d+0x2]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][t[(_0x4ced7d+0x2)%0x4]>>0x8&0xff]^_0x23bc67>>0x8),_0x489fcd[0x4*_0x4ced7d+0x3]=0xff&(_0x1fa6cf[_0x4faf5c([0x53])][0xff&t[(_0x4ced7d+0x3)%0x4]]^_0x23bc67);return _0x489fcd;}function _0x86255c(){const _0x3d8b50=_0x1fa6cf[_0x4faf5c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x556290[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4eacbb=0x0;_0x4eacbb<=_0x3d8b50;_0x4eacbb++)_0x3a1952[_0x4faf5c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x34b6bd[_0x4faf5c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2ec1d7=0x4*(_0x3d8b50+0x1),_0x20f989=_0x556290[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2e151a=_0x17a008(_0x556290);let _0x546e43;for(let _0x909023=0x0;_0x909023<_0x20f989;_0x909023++)_0x546e43=_0x909023>>0x2,_0x3a1952[_0x546e43][_0x909023%0x4]=_0x2e151a[_0x909023],_0x34b6bd[_0x3d8b50-_0x546e43][_0x909023%0x4]=_0x2e151a[_0x909023];let _0x158b25,_0x426984=0x0,t=_0x20f989;for(;t<_0x2ec1d7;){_0x158b25=_0x2e151a[_0x20f989-0x1],_0x2e151a[0x0]^=_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x10&0xff]<<0x18^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x8&0xff]<<0x10^_0x1fa6cf[_0x4faf5c([0x53])][0xff&_0x158b25]<<0x8^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x18&0xff]^_0x1fa6cf[_0x4faf5c([0x72,0x63,0x6f,0x6e])][_0x426984]<<0x18,_0x426984+=0x1;for(let _0x41521c=0x1;_0x41521c<_0x20f989/0x2;_0x41521c++)_0x2e151a[_0x41521c]^=_0x2e151a[_0x41521c-0x1];_0x158b25=_0x2e151a[_0x20f989/0x2-0x1],_0x2e151a[_0x20f989/0x2]^=_0x1fa6cf[_0x4faf5c([0x53])][0xff&_0x158b25]^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x8&0xff]<<0x8^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x10&0xff]<<0x10^_0x1fa6cf[_0x4faf5c([0x53])][_0x158b25>>0x18&0xff]<<0x18;for(let _0x16bd9f=_0x20f989/0x2+0x1;_0x16bd9f<_0x20f989;_0x16bd9f++)_0x2e151a[_0x16bd9f]^=_0x2e151a[_0x16bd9f-0x1];let _0x5a1afe,_0x37ac6d,_0x56d61c=0x0;for(;_0x56d61c<_0x20f989&&t<_0x2ec1d7;)_0x5a1afe=t>>0x2,_0x37ac6d=t%0x4,_0x3a1952[_0x5a1afe][_0x37ac6d]=_0x2e151a[_0x56d61c],_0x34b6bd[_0x3d8b50-_0x5a1afe][_0x37ac6d]=_0x2e151a[_0x56d61c++],t++;}for(let _0x5e260d=0x1;_0x5e260d<_0x3d8b50;_0x5e260d++)for(let _0x59a84f=0x0;_0x59a84f<0x4;_0x59a84f++)_0x158b25=_0x34b6bd[_0x5e260d][_0x59a84f],_0x34b6bd[_0x5e260d][_0x59a84f]=_0x1fa6cf[_0x4faf5c([0x55,0x31])][_0x158b25>>0x18&0xff]^_0x1fa6cf[_0x4faf5c([0x55,0x32])][_0x158b25>>0x10&0xff]^_0x1fa6cf[_0x4faf5c([0x55,0x33])][_0x158b25>>0x8&0xff]^_0x1fa6cf[_0x4faf5c([0x55,0x34])][0xff&_0x158b25];}}function _0x4faf5c(_0xb0887e){return _0xb0887e['map'](_0x5d3253=>String['fromCharCode'](_0x5d3253))['join']('');}(_0x167cc9=>{function _0x13a0a0(){const _0x509624=[{[_0x4faf5c([0x69,0x64])]:0x1,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4faf5c([0x69,0x64])]:0x2,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faf5c([0x69,0x64])]:0x3,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faf5c([0x69,0x64])]:0x4,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faf5c([0x69,0x64])]:0x5,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x6,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x7,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x8,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0x9,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4faf5c([0x69,0x64])]:0xa,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0xb,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faf5c([0x69,0x64])]:0xc,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4faf5c([0x69,0x64])]:0xd,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}},{[_0x4faf5c([0x69,0x64])]:0xe,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4faf5c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x4faf5c([0x69,0x64])]:0xf,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faf5c([0x69,0x64])]:0x10,[_0x4faf5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faf5c([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faf5c([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faf5c([0x66,0x67,0x69])]:[0xc]}}];return _0x14f658(_0x509624),_0x509624;function _0xd701bd(_0x5d7d09){return 0x1<<_0x5d7d09-0x1;}function _0x14f658(_0x5d79bb){_0x5d79bb[_0x4faf5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32cdd1=>{_0x32cdd1[_0x4faf5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xd701bd(_0x32cdd1[_0x4faf5c([0x69,0x64])]),_0x4167cd(_0x32cdd1)&&_0x32cdd1[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x14f658(_0x32cdd1[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4167cd(_0xa69fc5){return _0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xa69fc5;}const _0x537c3a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4762fd=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3077d6(_0x30622c){const _0x422138=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5a84a7(_0x30622c,new Uint8Array([..._0x537c3a,..._0x422138,..._0x4762fd]));}function _0x5a84a7(_0xe2f8c8,_0x2ae3fd){const _0x4835d7=_0x46f992(_0xe2f8c8),_0x10d4e6=Array[_0x4faf5c([0x66,0x72,0x6f,0x6d])](_0x15319e(_0x4835d7)),_0x430fc1=_0x10d4e6[_0x4faf5c([0x70,0x6f,0x70])](),_0x4e90db=_0x10d4e6[_0x4faf5c([0x70,0x6f,0x70])]();return _0x43b6ba(_0x35288e(_0x10d4e6,_0x2ae3fd,_0x4e90db+0x100*_0x430fc1));}function _0x46f992(_0x29594f){const _0x312b12=atob(_0x29594f),[_0x17feb8,_0x6db2fb]=_0x312b12[_0x4faf5c([0x73,0x70,0x6c,0x69,0x74])](_0x4faf5c([0x2d]));try{if(atob(_0x6db2fb))return atob(_0x17feb8);}catch(_0x476a82){}return _0x312b12;}function _0x1dc17d(_0x2643e8){try{const _0x55d5b5=_0x3077d6(_0x2643e8),_0x47a11f=JSON[_0x4faf5c([0x70,0x61,0x72,0x73,0x65])](_0x55d5b5),_0x367979=parseInt(_0x47a11f[_0x4faf5c([0x31])]),_0x2a6cf8=_0x47a11f[_0x4faf5c([0x32])]||'',_0x2644fe=parseInt(_0x47a11f[_0x4faf5c([0x33])]),_0x237f4d=parseInt(_0x47a11f[_0x4faf5c([0x34])])||0x0,_0x4ca2d4=parseInt(_0x47a11f[_0x4faf5c([0x35])])||0x0;return{[_0x4faf5c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2a6cf8,[_0x4faf5c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x237f4d,[_0x4faf5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x367979,[_0x4faf5c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2644fe,[_0x4faf5c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4ca2d4};}catch(_0x47f5b3){return null;}}const _0x2f6363=_0x13a0a0(),_0x32d0cc={[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x376cff,[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x26fb93,[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x5c1bec},_0x3e7d7f=_0x167cc9[_0x4faf5c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5a14d7=_0x4faf5c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x167cc9?_0x167cc9['context']:_0x167cc9['editor'],_0x2ae8d7=_0x4faf5c([0x34,0x30,0x34,0x38,0x31,0x38,0x30,0x38]),_0x1d96b0=_0x4faf5c([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x35e73e=_0x5a14d7['config']['get'](_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3558c3=_0x2f6363[_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4167cd)[_0x4faf5c([0x66,0x69,0x6e,0x64])](_0x5e497a=>_0x5e497a[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3e7d7f);function _0xfeefc1(_0x44f57b,_0x5b4509){_0x32d0cc[_0x5b4509[_0x4faf5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x44f57b,_0x5b4509),_0x5b4509[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5b4509[_0x4faf5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cb6c5=>_0x211d67(_0x5a14d7,_0x3cb6c5[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4faf5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51d2ec=>_0xfeefc1(_0x44f57b,_0x51d2ec));}function _0x376cff(_0x364ee6,_0x2c07bd){_0x7aca12(_0x42921d(_0x364ee6,_0x2c07bd),_0x2c07bd);}function _0x26fb93(_0x2b8069,_0x2c1ea2){function _0x298f26(_0x38b37b,_0x3a2e75){try{if(_0x211d67(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x38b37b){const _0x124db1=_0x36d933(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4faf5c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x124db1)/0x2>_0x38b37b[_0x4faf5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1a318c(_0x3a2e75[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x42921d(_0x38b37b,_0x3a2e75);}catch(_0x5161a6){return _0x1a318c(_0x3a2e75[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x7aca12(_0x298f26(_0x2b8069,_0x2c1ea2),_0x2c1ea2);}function _0x5c1bec(_0x377d6a,_0x297c9f){const _0x2c976a=_0x4762fd[0x0]*_0x537c3a[0x1],_0x314aaa=_0x4762fd[0x0]*_0x537c3a[0x2],_0x5b25c1=_0x4762fd[0x2]*_0x537c3a[0x2];_0x211d67(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36d933(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x402e1f()]=_0x5b25c1);function _0x497bf2(_0x47880e,_0x143575){try{return _0x306df8()?_0x1a318c(_0x143575[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x56,0x61,0x6c,0x69,0x64])):_0x42921d(_0x47880e,_0x143575);}catch(_0xeacb00){return _0x1a318c(_0x143575[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x45f2cf(_0x3b32e0,_0x2003cb){const _0x45e56f=0x7;if(_0x3b32e0==_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x19cc30();else{if(_0x3b32e0==_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])){const _0x850c82=_0x48e79f();_0x850c82&&_0x5d1cbd(_0x850c82,_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3fa888=_0x3f4f85();window[_0x4faf5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5d1cbd(_0x4faf5c([0x74,0x69,0x6d,0x65]),_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3fa888);const _0x5e6681=_0x36d933(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faf5c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5e6681[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45e56f?_0x5d1cbd(_0x4faf5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5e6681['on'](_0x4faf5c([0x61,0x64,0x64]),()=>{_0x5e6681[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45e56f&&_0x5d1cbd(_0x4faf5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2003cb[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x48e79f(){if(!_0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x290cda in window)if(Number['isNaN'](Number(_0x290cda))){if(window[_0x290cda]===_0x2c976a)return _0x4faf5c([0x74,0x69,0x6d,0x65]);if(window[_0x290cda]===_0x314aaa)return _0x4faf5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x306df8(){if(!_0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x486b9f in window)if(Number['isNaN'](Number(_0x486b9f))&&window[_0x486b9f]===_0x5b25c1)return!0x0;return!0x1;}function _0x5d1cbd(_0x716500,_0x3f79f1){_0x19cc30(),_0x1a318c(_0x3f79f1+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x716500),window[_0x402e1f()]=_0x716500===_0x4faf5c([0x74,0x69,0x6d,0x65])?_0x2c976a:_0x314aaa;}function _0x3f4f85(){let _0x545540=_0x4762fd[0x6]*_0x537c3a[0x8]*_0x537c3a[0x6];return _0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x545540/=0xa),_0x545540;}function _0x19cc30(){const _0x51ff68=_0x5a14d7;function _0x5cd7be(){_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x57b11b,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faf5c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x57b11b,_0x51ff68[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x51ff68[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x51ff68[_0x4faf5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x57b11b,_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x57b11b);}_0x51ff68[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x72,0x65,0x61,0x64,0x79])?_0x5cd7be():_0x51ff68[_0x4faf5c([0x6f,0x6e,0x63,0x65])](_0x4faf5c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5cd7be(),_0x211d67(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x42abce=_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x507311=_0x42abce['getRevision'](0x0),_0xc9ff1c=_0x42abce['getEarlierVisibleRevision'](_0x507311[_0x4faf5c([0x69,0x64])]);_0x36d933(_0x51ff68,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faf5c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x507311[_0x4faf5c([0x69,0x64])],_0xc9ff1c?_0xc9ff1c[_0x4faf5c([0x69,0x64])]:null,0x1)['then'](()=>_0x5cd7be());}});}_0x45f2cf(_0x497bf2(_0x377d6a,_0x297c9f),_0x297c9f);}function _0x42921d(_0x4505f0,_0x591675){try{return _0x51278a(_0x591675)?_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x56,0x61,0x6c,0x69,0x64])):_0x4505f0&&_0x4d5bd1(_0x4505f0[_0x4faf5c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x591675)?_0x4505f0[_0x4faf5c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4faf5c([0x6f,0x70,0x65,0x6e])][_0x4faf5c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2ae8d7)/0x2>_0x4505f0[_0x4faf5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4505f0[_0x4faf5c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])):_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x56,0x61,0x6c,0x69,0x64])):_0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5ba3fe){return _0x1a318c(_0x591675[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x7aca12(_0x50ef5a,_0x23c13f){if(_0x5a14d7 instanceof _0x613ed2){const _0xc62238=_0x5a14d7;_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2332db(_0xc62238):_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4faf5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2332db(_0xc62238),_0x1a318c(_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4762fd[0x6]*_0x537c3a[0x8]*_0x537c3a[0x6]),_0xc62238[_0x4faf5c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4faf5c([0x6f,0x6e])](_0x4faf5c([0x61,0x64,0x64]),(_0x41b3fe,_0x55a445)=>{_0x50ef5a!=_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x50ef5a!=_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x50ef5a!=_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xa7297a(_0x55a445);});}else{const _0x3ba885=_0x5a14d7;_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xa7297a(_0x3ba885):_0x50ef5a==_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c])&&_0x3ba885[_0x4faf5c([0x6f,0x6e])](_0x4faf5c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1127f2=0x0;_0x3ba885[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x6f,0x6e])](_0x4faf5c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21b1b0,_0x389842)=>{_0x389842[0x0][_0x4faf5c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1127f2++,0x1f8===_0x1127f2&&(_0xa7297a(_0x3ba885),_0x1a318c(_0x23c13f[_0x4faf5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faf5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x21b1b0[_0x4faf5c([0x6f,0x66,0x66])]());},{'priority':_0x4faf5c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1a318c(_0xbad41f){const _0x264145=_0x402e1f();return _0x5a14d7[_0x264145]=_0xbad41f,_0xbad41f;}function _0x402e1f(){const _0x2b9722=String(window[_0x4faf5c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4faf5c([0x6e,0x6f,0x77])]())[_0x4faf5c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4faf5c([0x2e]),'');let _0xd74308='';for(let _0x4764b5=0x0;_0x4764b5<_0x2b9722[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4764b5+=0x2){let _0x5bb6be=parseInt(_0x2b9722[_0x4faf5c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4764b5,_0x4764b5+0x2));_0x5bb6be>=_0x1d96b0[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bb6be-=_0x1d96b0[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd74308+=_0x1d96b0[_0x5bb6be];}return _0xd74308;}function _0x2332db(_0x3012d3){for(const _0x264153 of _0x3012d3[_0x4faf5c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xa7297a(_0x264153);_0x36d933(_0x3012d3,_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faf5c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x36d933(_0x3012d3,_0x4faf5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faf5c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x57b11b;}function _0xa7297a(_0x1beee7){function _0x1ac4d3(){_0x1beee7[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x1beee7[_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faf5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57b11b,_0x1beee7[_0x4faf5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faf5c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1beee7[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x72,0x65,0x61,0x64,0x79])?_0x1ac4d3():_0x1beee7[_0x4faf5c([0x6f,0x6e,0x63,0x65])](_0x4faf5c([0x72,0x65,0x61,0x64,0x79]),()=>_0x1ac4d3());}function _0x57b11b(){return null;}function _0x4d5bd1(_0x48cc02,_0x4b7bed){const _0x55c9ba=!!(_0x48cc02&_0x4b7bed[_0x4faf5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x5402ec=_0x131085(_0x48cc02,_0x4b7bed);return _0x55c9ba||_0x5402ec;}function _0x131085(_0x3d3cac,_0x2959ba){const _0x1d7a3c=(_0x2959ba[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4faf5c([0x66,0x67,0x69])]||null;return!!_0x1d7a3c&&_0x2f6363[_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2502f0=>_0x1d7a3c[_0x4faf5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2502f0[_0x4faf5c([0x69,0x64])]))[_0x4faf5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3911ea=>!_0x31bb11(_0x3911ea))[_0x4faf5c([0x73,0x6f,0x6d,0x65])](_0x3c0453=>!!(_0x3d3cac&_0x3c0453[_0x4faf5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x31bb11(_0x1ca8c3){const _0x4c187c={[_0x4faf5c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x1f0d44};return!!_0x1ca8c3['forbiddenHandler']&&_0x4c187c[_0x1ca8c3['forbiddenHandler']]();}function _0x1f0d44(){return!window[_0x4faf5c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x211d67(_0x5a14d7,_0x4faf5c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x51278a(_0x4325e9){if(!_0x211d67(_0x5a14d7,_0x4325e9[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4bb39a=_0x4325e9[_0x4faf5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4d31a0=_0x4bb39a[_0x4faf5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xa81867=_0x4bb39a[_0x4faf5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x59ccee=_0x4bb39a[_0x4faf5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x211d67(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36d933(_0x5a14d7,_0x4faf5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faf5c([0x73,0x74,0x61,0x74,0x65])]==_0x4faf5c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4d31a0)return!0x0;if(_0x211d67(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x36d933(_0x5a14d7,_0x4faf5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4faf5c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4faf5c([0x65,0x6e,0x64])&&_0xa81867)return!0x0;return!(!_0x211d67(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x36d933(_0x5a14d7,_0x4faf5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x4faf5c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4faf5c([0x65,0x6e,0x64])||!_0x59ccee);}function _0x211d67(_0x2f5802,_0x496d90){return _0x2f5802[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faf5c([0x68,0x61,0x73])](_0x496d90);}function _0x36d933(_0x58ca73,_0x5efca5){return _0x58ca73[_0x4faf5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faf5c([0x67,0x65,0x74])](_0x5efca5);}function _0x43b6ba(_0xfa855a){let _0x13401c='';for(const _0x287db5 of _0xfa855a)_0x13401c+=String[_0x4faf5c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x287db5);return _0x13401c;}function _0x15319e(_0xed982e){const _0xcfadcc=new Uint8Array(_0xed982e[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5cbddc=0x0;_0x5cbddc<_0xed982e[_0x4faf5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cbddc++)_0xcfadcc[_0x5cbddc]=_0xed982e[_0x4faf5c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5cbddc);return _0xcfadcc;}_0x3558c3&&_0xfeefc1(_0x1dc17d(_0x35e73e),_0x3558c3);})(_0x2048ee);}(this);}['createRevision'](_0x28be1c){const _0x5c67e2=this['editor']['plugins']['get']('Users');return new a({'id':_0x28be1c['id'],'name':_0x28be1c['name'],'creator':_0x28be1c['creatorId']?_0x5c67e2['getUser'](_0x28be1c['creatorId']):null,'diffData':_0x28be1c['diffData']||_0x28be1c['data'],'authors':_0x28be1c['authorsIds']['map'](_0x37913a=>_0x5c67e2['getUser'](_0x37913a)),'createdAt':new Date(_0x28be1c['createdAt']),'attributes':_0x28be1c['attributes'],'fromVersion':_0x28be1c['fromVersion'],'toVersion':_0x28be1c['toVersion']});}['addRevision'](_0x4e3d21,_0x51b770=0x0){this['_revisions']['add'](_0x4e3d21,_0x51b770);}['getRevision'](_0x1d4c9b){return this['_revisions']['get'](_0x1d4c9b);}['getRevisions'](_0x58d0f0={'toJSON':!0x1}){const _0x1cecf3=Array['from'](this['_revisions']);return _0x1cecf3['reverse'](),_0x58d0f0['toJSON']?_0x1cecf3['map'](_0x346ea1=>_0x346ea1['toJSON']()):_0x1cecf3;}['getIndex'](_0x5cf344){return this['_revisions']['getIndex'](_0x5cf344);}['getEarlierVisibleRevision'](_0x4a8159){const [,_0x4f8781]=this['getRevisionsIterator'](_0x4a8159,{'direction':'earlier'});return _0x4f8781;}['getLaterVisibleRevision'](_0x57bb93){const [,_0x2beec8]=this['getRevisionsIterator'](_0x57bb93,{'direction':'later'});return _0x2beec8;}['getRevisionsInDiff'](_0x58a550){const _0x12fb53=[];for(const _0x3b7570 of this['getRevisionsIterator'](_0x58a550['newRevisionId']))if(_0x12fb53['push'](_0x3b7570),_0x3b7570['id']===_0x58a550['oldRevisionId'])break;return _0x12fb53;}*['getRevisionsIterator'](_0x55e7ce,{direction:_0x27a1b6='earlier',filter:_0x439031=_0x38c086=>!0x0}={}){const _0x17ab92='earlier'===_0x27a1b6?0x1:-0x1;let _0x472da9=this['_revisions']['get'](_0x55e7ce),_0x4a3513=this['getIndex'](_0x472da9);for(yield _0x472da9;_0x472da9;){if(_0x4a3513+=_0x17ab92,_0x472da9=this['getRevision'](_0x4a3513),!_0x472da9)return;_0x439031(_0x472da9)&&(yield _0x472da9);}}}function y(_0x10f253,_0x26611e,_0x4e0ef7){const t=_0x10f253['t'];switch(_0x26611e){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x4e0ef7);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4e0ef7);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x110ad9,'a':_0x188a0a,'e':_0x5c36f0,'r':_0x5869f3,'u':_0x434c42};class l extends _0x490488{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5f579f,A,_0x2f7bdc];}constructor(_0x4ab984){super(_0x4ab984),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x25a315=_0x2f067e();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x25a315},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x2c4458=this['repository']['getRevision'](0x0),_0x18ba97=_0x2c4458&&null===_0x2c4458['creator']?_0x2c4458:null;if(this['_continueCurrentRevision']=!!_0x18ba97&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x52ee13=this['_source']['getCurrentRevisionId'](),_0x118fdf=this['repository']['getRevision'](_0x52ee13);if(_0x118fdf)this['_startingVersion']=_0x118fdf['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5c6e67=this['_source']['history']['_operations']['find'](_0x1aacb5=>!_0x1aacb5['_isInit']),_0x5a40a2=_0x5c6e67?_0x5c6e67['baseVersion']:this['_source']['history']['version'];_0x2c4458?(_0x2c4458['toVersion']<_0x5a40a2&&_0x2c4458['_update']({'toVersion':_0x5a40a2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x18ba97['id'],this['_startingVersion']=_0x18ba97['fromVersion']):(this['_startingVersion']=_0x2c4458['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5a40a2,this['_continueCurrentRevision']=!0x1);}}else _0x18ba97&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x18ba97['toVersion'],this['editor']['model']['document']['history']['version']),_0x18ba97['fromVersion']===_0x18ba97['toVersion']?(0x0!==_0x18ba97['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x18ba97['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x18ba97['id'],this['_startingVersion']=_0x18ba97['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x25ed5a=>!_0x25ed5a);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4914df=this['repository']['getRevision'](0x0),_0x526578=await this['getRevisionDocumentData'](_0x4914df),_0x1c807a=await this['getRevisionRootsAttributes'](_0x4914df);this['_replaceEditorDataWithRevisionData'](_0x526578,_0x1c807a);}}['setSource'](_0xe240f7){this['_source']=_0xe240f7;}async['update'](){const _0x22caf3=await this['_source']['getLatestVersion']();if(_0x22caf3>this['currentRevision']['toVersion']){await this['_loadState']();const _0x422d79=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x22caf3});_0x422d79['authors']=_0x422d79['authorsIds']['map'](_0xfc0bb5=>this['editor']['plugins']['get']('Users')['getUser'](_0xfc0bb5)),this['currentRevision']['_update'](_0x422d79);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x14555d={},_0x1767eb=null){const _0x1ab7f7=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1767eb>this['currentRevision']['toVersion']&&(_0x1767eb=null),null===_0x1767eb&&(_0x1767eb=await this['_source']['getLatestVersion']());const _0x204635=this['_getFromVersion'](_0x1767eb),_0xf8b0f1=this['buildRevisionData']({'from':_0x204635,'to':_0x1767eb});if(this['currentRevision']['toVersion']<_0x1767eb){const _0x7fc600=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1767eb,'to':_0x1767eb});_0x7fc600['authors']=[],_0x7fc600['authorsIds']=[],_0x7fc600['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x7fc600,!0x0),delete _0x7fc600['authors'],_0x1ab7f7['push'](_0x7fc600);}_0x14555d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x14555d['name']=_0x14555d['name']||null,_0x14555d['id']=_0x14555d['id']||_0x2f067e(),_0x14555d={..._0x14555d,..._0xf8b0f1};const _0x50f785=this['addRevisionData'](_0x14555d);_0x1ab7f7['push'](_0x14555d);const _0x1a8d3c=this['repository']['getIndex'](_0x50f785);if(0x0!==_0x1a8d3c){const _0x335400=this['repository']['getRevision'](_0x1a8d3c-0x1);if(_0x335400['fromVersion']!==_0x1767eb){const _0x381daa=this['_revisionDataBuilder']['getData'](_0x1767eb,_0x335400['toVersion']),_0x2de6cd={'id':_0x335400['id'],'diffData':_0x381daa['diffData'],'authorsIds':_0x381daa['authorsIds'],'authors':_0x381daa['authorsIds']['map'](_0x36f3b9=>this['editor']['plugins']['get']('Users')['getUser'](_0x36f3b9)),'fromVersion':_0x1767eb};_0x335400===this['currentRevision']&&(_0x2de6cd['createdAt']=new Date(_0x14555d['createdAt']['getTime']()+0xa)),_0x335400['_update'](_0x2de6cd,!0x0),delete _0x2de6cd['authors'],_0x1ab7f7['push'](_0x2de6cd);}}if(this['adapter']){for(const _0x3dd58f of _0x1ab7f7)this['_bufferUpdate'](_0x3dd58f['id'],_0x3dd58f,!0x0);this['sendBufferedUpdates']();}return _0x50f785;}['addRevisionData'](_0x440dbb){const _0x1b9419=this['repository']['createRevision'](_0x440dbb);return this['adapter']&&_0x1b9419['on']('_update',(_0x59e86f,_0xa167a3,_0x54a6ff)=>{_0x54a6ff||(this['_bufferUpdate'](_0xa167a3['id'],_0xa167a3,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1b9419,this['_findInsertionIndex'](_0x1b9419)),_0x1b9419;}async['getRevisionDocumentData'](_0x3699a0){await this['_loadRevisionData'](_0x3699a0);const _0x20e034={};for(const _0x19568a in _0x3699a0['diffData']){if(_0x3699a0['diffData'][_0x19568a]['attachChange']&&!_0x3699a0['diffData'][_0x19568a]['attachChange']['isAttached'])continue;const _0x49ad31=this['_removeRevisionMarkers'](JSON['parse'](_0x3699a0['diffData'][_0x19568a]['insertions'])),_0x2ff68d=this['editor']['editing']['view']['document'],_0x473a43=new _0x157bb4(_0x2ff68d,_0x49ad31['map'](_0x3e9420=>B(_0x3e9420,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x20e034[_0x19568a]=this['editor']['data']['processor']['toData'](_0x473a43),this['editor']['data']['processor']['useFillerType']('default');}return _0x20e034;}async['getRevisionRootsAttributes'](_0x1f9750){await this['_loadRevisionData'](_0x1f9750);const _0x5002a1={};for(const _0x1b8f16 in _0x1f9750['diffData'])_0x1f9750['diffData'][_0x1b8f16]['attachChange']&&!_0x1f9750['diffData'][_0x1b8f16]['attachChange']['isAttached']||(_0x5002a1[_0x1b8f16]=_0x1f9750['diffData'][_0x1b8f16]['attributesAfter']||{});return _0x5002a1;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3186d7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5d00f4=0x0;_0x5d00f4<_0x3186d7['length'];_0x5d00f4++){const _0xd2ff4f=_0x3186d7[_0x5d00f4];let _0x2a5f43=!0x1;for(const _0x2c292d of Object['keys'](_0xd2ff4f))void 0x0===_0xd2ff4f[_0x2c292d]?delete _0xd2ff4f[_0x2c292d]:'id'!==_0x2c292d&&(_0x2a5f43=!0x0);_0x2a5f43||(_0x3186d7[_0x5d00f4]=null);}if(_0x3186d7=_0x3186d7['filter'](_0x491315=>null!==_0x491315),!_0x3186d7['length'])return;for(let _0x2a9ba6=0x0;_0x2a9ba6<_0x3186d7['length'];_0x2a9ba6++){const _0x8c31eb=_0x3186d7[_0x2a9ba6];void 0x0!==_0x8c31eb['fromVersion']&&void 0x0===_0x8c31eb['toVersion']&&(_0x8c31eb['toVersion']=this['repository']['getRevision'](_0x8c31eb['id'])['toVersion']),void 0x0!==_0x8c31eb['toVersion']&&void 0x0===_0x8c31eb['fromVersion']&&(_0x8c31eb['fromVersion']=this['repository']['getRevision'](_0x8c31eb['id'])['fromVersion']);}const _0xa07964=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3186d7,_0xa07964)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3726e4=>{if(_0x3726e4){for(const _0x4e7806 of _0x3726e4)this['setRevisionData']({'id':_0x4e7806['id'],'createdAt':_0x4e7806['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x30416a,_0x3a48a1){let _0x29bf90=this['editor']['config']['get']('initialData'),_0x128e13=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x29bf90){_0x29bf90={};for(const _0x3d14d1 of this['editor']['model']['document']['getRootNames']())_0x29bf90[_0x3d14d1]='';}if('string'==typeof _0x29bf90&&(_0x29bf90={'main':_0x29bf90}),void 0x0===_0x128e13){_0x128e13={};for(const _0x26f47e of this['editor']['model']['document']['getRootNames']())_0x128e13[_0x26f47e]={};}let _0x3edab4=!0x1;const _0x252c6e=Object['keys'](_0x29bf90),_0x30e06c=Object['keys'](_0x30416a);for(const _0x362f1c of _0x252c6e){if(_0x29bf90[_0x362f1c]!==_0x30416a[_0x362f1c]&&''!==_0x29bf90[_0x362f1c]['trim']()){_0x3edab4=!0x0;break;}if(!_0x8c9f16(_0x128e13[_0x362f1c],_0x3a48a1[_0x362f1c])&&Object['keys'](_0x128e13[_0x362f1c])['length']>0x0){_0x3edab4=!0x0;break;}}_0x3edab4||(_0x3edab4=_0x30e06c['some'](_0x247395=>!this['editor']['model']['document']['getRoot'](_0x247395))),_0x3edab4&&_0x5e33e3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x29bf90,'editorRootsAttributes':_0x128e13,'revisionData':_0x30416a,'revisionRootsAttributes':_0x3a48a1}),this['editor']['config']['set']('initialData',_0x30416a),this['editor']['config']['set']('rootsAttributes',_0x3a48a1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1fd202=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1fd202['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5579d8){const _0x121455=this['repository']['getRevisions']();_0x121455['reverse']();let _0x2a37c5=0x0;for(;_0x2a37c5<_0x121455['length'];){const _0x34b0f7=_0x121455[_0x2a37c5];if(_0x34b0f7===this['currentRevision']){_0x2a37c5++;continue;}if(_0x34b0f7['id']===this['_initialRevisionId'])break;const _0x3f7073=_0x5579d8['toVersion']-_0x34b0f7['toVersion']||_0x5579d8['fromVersion']-_0x34b0f7['fromVersion'];if(_0x3f7073>0x0)break;if(_0x3f7073<0x0)_0x2a37c5++;else{if(!_0x5579d8['creator']&&_0x34b0f7['creator'])break;if(_0x34b0f7['creator']||!_0x5579d8['creator']){if(_0x5579d8['createdAt']>_0x34b0f7['createdAt'])break;_0x2a37c5++;}else _0x2a37c5++;}}return _0x2a37c5;}['setRevisionData'](_0x3438ff){const _0x1af7f2=this['repository']['getRevision'](_0x3438ff['id']);if(_0x3438ff['createdAt']&&(_0x3438ff['createdAt']=new Date(_0x3438ff['createdAt'])),_0x3438ff['authorsIds']){const _0x4364=this['editor']['plugins']['get']('Users');_0x3438ff['authors']=_0x3438ff['authorsIds']['map'](_0x4ac3b4=>_0x4364['getUser'](_0x4ac3b4));}_0x1af7f2['_update'](_0x3438ff,!0x0);}['buildRevisionData']({revision:_0x254c17=null,from:_0x4858c3=null,to:_0x565631=null}){_0x4858c3=null!==_0x4858c3?_0x4858c3:_0x254c17['fromVersion'],_0x565631=null!==_0x565631?_0x565631:_0x254c17['toVersion'];const _0x22b67b=this['_revisionDataBuilder']['getData'](_0x4858c3,_0x565631),_0x44aa2b={'diffData':_0x22b67b['diffData'],'authorsIds':_0x22b67b['authorsIds'],'fromVersion':_0x4858c3,'toVersion':_0x565631};if(!_0x254c17||_0x565631!==_0x254c17['toVersion']){const _0xe6bf16=_0x565631-0x1,_0x1f2c6d=this['_source']['history']['getOperation'](_0xe6bf16);_0x44aa2b['createdAt']=_0x1f2c6d&&_0x1f2c6d['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4858c3===this['_loadedStateData']['fromVersion']){for(const _0x9e9b2e of this['_loadedStateData']['authors'])_0x44aa2b['authorsIds']['includes'](_0x9e9b2e['id'])||_0x44aa2b['authorsIds']['push'](_0x9e9b2e['id']);}return _0x44aa2b;}['_loadRevisionData'](_0x1078ce){if(!_0x1078ce||_0x1078ce['diffData'])return Promise['resolve']();{const _0x20f2da=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x20f2da,'revisionId':_0x1078ce['id']})['then'](_0x534f1c=>{_0x1078ce['diffData']=_0x534f1c['diffData'];});}}['_bufferUpdate'](_0x35a8ca,_0x271a98,_0x5f429c){if(this['_bufferedUpdates']['has'](_0x35a8ca)){const _0x3718c0=this['_bufferedUpdates']['get'](_0x35a8ca);_0x271a98=_0x5f429c?{..._0x3718c0,..._0x271a98}:{..._0x271a98,..._0x3718c0};}this['_bufferedUpdates']['set'](_0x35a8ca,_0x271a98);}['_getFromVersion'](_0x25da99){const _0x42b762=this['repository']['getRevisions']();_0x42b762['reverse'](),_0x42b762['shift']();const _0x505645=_0x42b762['find'](_0x50b2e9=>_0x50b2e9['toVersion']<=_0x25da99)['toVersion'];return _0x505645<this['_startingVersion']?this['_startingVersion']:_0x505645;}['_createInitialRevision'](_0x4ee73e){const _0x308fa1=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x308fa1)this['_initialRevisionId']=_0x308fa1['id'];else{const _0x14cff0=!this['editor']['model']['document']['roots']['find'](_0x272d07=>this['editor']['model']['hasContent'](_0x272d07)),_0x1d3fde=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a46a9=y(this['editor']['locale'],_0x14cff0?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4ee73e,'to':_0x4ee73e,'id':this['_initialRevisionId'],'name':_0x5a46a9,'creatorId':_0x1d3fde});}}['_createCurrentRevision'](_0x50fd06){const _0x2cee13=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2cee13),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x50fd06,'to':_0x50fd06,'id':_0x2cee13,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4a15bc,from:_0x342707,to:_0x2213bf,creatorId:_0x342511,id:_0x2abcf9}){const _0x37a8d6=this['buildRevisionData']({'from':_0x342707,'to':_0x2213bf});_0x37a8d6['name']=_0x4a15bc,_0x37a8d6['creatorId']=_0x342511,_0x37a8d6['id']=_0x2abcf9;const _0x5ab713=this['addRevisionData'](_0x37a8d6);return this['adapter']&&this['_bufferUpdate'](_0x37a8d6['id'],_0x37a8d6,!0x0),_0x5ab713;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1cbff0){return(_0x1cbff0=_0x1cbff0['filter'](_0x4939fc=>!_0x4939fc['name']||'revision-start'!==_0x4939fc['name']&&'revision-end'!==_0x4939fc['name']))['forEach'](_0x4434cb=>{'string'!=typeof _0x4434cb&&(_0x4434cb['children']=this['_removeRevisionMarkers'](_0x4434cb['children']),_0x4434cb['attributes']=_0x4434cb['attributes']['filter'](_0x1bda44=>!_0x1bda44[0x0]['startsWith']('data-revision-')));}),_0x1cbff0;}}function B(_0x15fff8,_0x5d87ff){const _0xe84109=_0x5d87ff['editing']['view']['document'];if('string'==typeof _0x15fff8)return new _0x3a4690(_0xe84109,_0x15fff8);{const _0x4f2c44=_0x15fff8['children']['map'](_0x3d8b6c=>B(_0x3d8b6c,_0x5d87ff));return new(T[_0x15fff8['type']]||_0x50a15d)(_0xe84109,_0x15fff8['name'],_0x15fff8['attributes'],_0x4f2c44);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xc5e3c1){this['editor']=_0xc5e3c1,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x3994b0){this['source']=_0x3994b0;const _0x4c1a8d=new Map(),_0x1ae20f=new Map(),_0x4b7a8f=this['editor']['model']['document']['roots']['map'](_0x4c390e=>_0x4c390e['rootName']);for(const _0xae85d8 of _0x4b7a8f){const _0x555ad9=this['editor']['model']['document']['getRoot'](_0xae85d8),_0x84276f=q(_0x555ad9);_0x4c1a8d['set'](_0xae85d8,_0x84276f),_0x1ae20f['set'](_0xae85d8,Object['fromEntries'](_0x555ad9['getAttributes']()));}const _0x4a8211=Array['from'](this['editor']['model']['markers'])['map'](_0x4a2964=>[_0x4a2964['name'],_0x4a2964['getRange']()]),_0x5bbbeb=this['source']['version'];this['_saveMetaData'](_0x5bbbeb,_0x4c1a8d,_0x4a8211,_0x1ae20f),this['_startingRevisionId']=this['_revisionId'];const _0x104d13=new Map(),_0x528701=new Map();for(const _0x2c18c1 of _0x4b7a8f){const _0x46250c=G(_0x2c18c1);_0x104d13['set'](_0x2c18c1,_0x46250c),_0x528701['set'](_0x2c18c1,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x104d13,[],_0x528701);}['getData'](_0x2a0389,_0x450e1f){if(this['_lastFrom']===_0x2a0389&&this['_lastTo']<=_0x450e1f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x450e1f,!0x0);else{if(!this['_savedMetaData']['has'](_0x2a0389)){const _0x442b7f=this['_getPreviousFrom'](_0x2a0389);this['_calculateMetaData'](_0x442b7f,_0x2a0389,!0x1);}this['_calculateMetaData'](_0x2a0389,_0x450e1f,!0x0);}return this['_lastFrom']=_0x2a0389,this['_lastTo']=_0x450e1f,this['_getState']();}['loadState'](_0x528847){this['_reset'](),this['_lastFrom']=_0x528847['fromVersion'],this['_lastTo']=_0x528847['toVersion'];for(const _0xf8f6aa in _0x528847['diffData']){const _0x38b527=_0x528847['diffData'][_0xf8f6aa]['attachChange'],_0x1a4bff=_0x25472f(_0x528847['diffData'][_0xf8f6aa]['attributesBefore'])||{},_0x56adc4=this['_makeModelFromViewString'](_0x528847['diffData'][_0xf8f6aa]['deletions']);_0x56adc4['rootName']=_0xf8f6aa,_0x56adc4['_isAttached']=!_0x38b527||!_0x38b527['isAttached'],_0x56adc4['isAttached']=()=>_0x56adc4['_isAttached'],this['_baseRoots']['set'](_0xf8f6aa,_0x56adc4),this['_baseRootsAttributes']['set'](_0xf8f6aa,_0x1a4bff),_0x38b527&&this['_touchedRoots']['set'](_0xf8f6aa,_0x38b527);const _0x2cfab9=this['_makeIdsRoot'](_0x56adc4);this['_baseIdsRoots']['set'](_0xf8f6aa,_0x2cfab9);for(const [_0x2ee745,_0x3d10f9]of _0x56adc4['markers']){if(!_0x2ee745['startsWith']('revision:'))continue;const _0x5a692e=_0x2ee745['split'](':')[0x2];for(const _0xcbd1d1 of _0x3d10f9['getWalker']({'singleCharacters':!0x0})){const _0x2caba0=this['_getVidAttributeName'](_0xcbd1d1),_0x4e3806='elementEnd'==_0xcbd1d1['type']?_0xcbd1d1['previousPosition']['path']['slice'](0x0,-0x1):_0xcbd1d1['previousPosition']['path'],_0xdfffa3=_0x2cfab9['getNodeByPath'](_0x4e3806)['getAttribute'](_0x2caba0);this['_touched']['set'](_0xdfffa3,{'userId':_0x5a692e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1088f2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x457059=>!this['_touched']['has'](_0x457059));let _0x48b893=0x0;const _0x427bb8=new Map();for(const _0xf4b0f2 in _0x528847['diffData']){const _0x17acb0=_0x528847['diffData'][_0xf4b0f2]['attachChange'],_0x25aedb=_0x25472f(_0x528847['diffData'][_0xf4b0f2]['attributesAfter'])||{},_0x32af58=this['_makeModelFromViewString'](_0x528847['diffData'][_0xf4b0f2]['insertions']);_0x32af58['rootName']=_0xf4b0f2,_0x32af58['_isAttached']=!_0x17acb0||_0x17acb0['isAttached'],_0x32af58['isAttached']=()=>_0x32af58['_isAttached'],this['_diffRoots']['set'](_0xf4b0f2,_0x32af58),this['_diffRootsAttributes']['set'](_0xf4b0f2,_0x25aedb);const _0x5c29c8=this['_makeIdsRoot'](_0x32af58,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xf4b0f2,_0x5c29c8),_0x427bb8['set'](_0xf4b0f2,_0x32af58['isAttached']()?_0x25aedb:{});for(const [_0x8f7599,_0x4e9759]of _0x32af58['markers']){if(!_0x8f7599['startsWith']('revision:'))continue;const _0x585ebe=_0x8f7599['split'](':')[0x2];for(const _0x551b59 of _0x4e9759['getWalker']({'singleCharacters':!0x0})){const _0x107db5=this['_getVidAttributeName'](_0x551b59),_0x444c25=this['_revisionId']++,_0x1613dc='elementEnd'==_0x551b59['type']?_0x551b59['previousPosition']['path']['slice'](0x0,-0x1):_0x551b59['previousPosition']['path'];_0x5c29c8['getNodeByPath'](_0x1613dc)['_setAttribute'](_0x107db5,_0x444c25),this['_touched']['set'](_0x444c25,{'userId':_0x585ebe});}}for(const _0xa57762 of this['editor']['model']['createRangeIn'](_0x32af58)['getWalker']({'singleCharacters':!0x0})){const _0x4832e1=this['_getVidAttributeName'](_0xa57762),_0x13e6cd='elementEnd'==_0xa57762['type']?_0xa57762['previousPosition']['path']['slice'](0x0,-0x1):_0xa57762['previousPosition']['path'],_0x159dc5=_0x5c29c8['getNodeByPath'](_0x13e6cd);_0x159dc5['getAttribute'](_0x4832e1)>0x0||_0x159dc5['_setAttribute'](_0x4832e1,_0x1088f2[_0x48b893++]);}for(const [_0x22cf1d,_0x21ab35]of _0x32af58['markers'])_0x22cf1d['startsWith']('revision:')||this['_markers']['set'](_0x22cf1d,_0x21ab35);}const _0x12c969=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x12c969),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x12c969,0x1));const _0x1765d1=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1765d1),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1765d1,0x1));const _0x16bfb5=Array['from'](this['_diffRoots'])['map'](([_0x66a135,_0x3908de])=>[_0x66a135,q(_0x3908de)]);this['_saveMetaData'](this['_lastTo'],_0x16bfb5,this['_markers'],_0x427bb8);}['_makeModelFromViewString'](_0x43ec7a){const _0xa9dc28=JSON['parse'](_0x43ec7a),_0x53452b=this['editor']['editing']['view']['document'],_0x464fce=new _0x157bb4(_0x53452b,_0xa9dc28['map'](_0x229ed0=>B(_0x229ed0,this['editor'])));return this['editor']['data']['toModel'](_0x464fce);}['_saveMetaData'](_0x36576b,_0x379823,_0x246e1a,_0x2217e1){const _0x51a070=new Map(_0x379823),_0x405543=new Map(_0x25472f(_0x2217e1)),_0x371866=new Map();for(const [_0xca6ad7,_0x591908]of _0x246e1a)_0x371866['set'](_0xca6ad7,{'start':_0x591908['start']['clone'](),'end':_0x591908['end']['clone'](),'rootName':_0x591908['root']['rootName']});this['_savedMetaData']['set'](_0x36576b,{'roots':_0x51a070,'markers':_0x371866,'rootsAttributes':_0x405543});}['_removeMetaData'](_0x29b951){this['_savedMetaData']['delete'](_0x29b951);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x5eb3ff,_0x3cb690=null){let _0x173d61=null;_0x5eb3ff['is']('documentFragment')||(_0x173d61=new ft(_0x5eb3ff['name'],{'vid_start':null===_0x3cb690?this['_revisionId']++:_0x3cb690++}));const _0x9d8004=[];for(const _0x1747e of _0x5eb3ff['getChildren']())if(_0x1747e['is']('element')){_0x9d8004['push'](this['_makeIdsRoot'](_0x1747e,_0x3cb690));const _0xd475e1=_0x9d8004[_0x9d8004['length']-0x1];null!==_0x3cb690&&(_0x3cb690=_0xd475e1['is']('element','$text')?_0xd475e1['getAttribute']('vid')+0x1:_0xd475e1['getAttribute']('vid_end')+0x1);}else{for(let _0x4ebf11=0x0;_0x4ebf11<_0x1747e['offsetSize'];_0x4ebf11++)_0x9d8004['push'](new ft('$text',{'vid':null===_0x3cb690?this['_revisionId']++:_0x3cb690++}));}if(_0x5eb3ff['is']('documentFragment')){const _0x4a349c=G(_0x5eb3ff['rootName']);return _0x4a349c['_insertChild'](0x0,_0x9d8004),_0x4a349c;}return _0x173d61['_setAttribute']('vid_end',null===_0x3cb690?this['_revisionId']++:_0x3cb690++),_0x173d61['_insertChild'](0x0,_0x9d8004),_0x173d61;}['_calculateMetaData'](_0x58437f,_0x7ee50b,_0x2b5ba6){this['_reset']();const {roots:_0x2d14a9,markers:_0x1270e7,rootsAttributes:_0x13fcb9}=this['_savedMetaData']['get'](_0x58437f);this['_baseRoots']=new Map(_0x2d14a9),this['_baseRootsAttributes']=new Map(_0x25472f(_0x13fcb9));for(const [_0x284836,_0x48680b]of this['_baseRoots'])if('$graveyard'!==_0x284836&&(this['_diffRoots']['set'](_0x284836,q(_0x48680b)),this['_diffRootsAttributes']=new Map(_0x25472f(_0x13fcb9)),_0x2b5ba6)){const _0x480197=this['_revisionId'];this['_idsRoots']['set'](_0x284836,this['_makeIdsRoot'](_0x48680b)),this['_baseIdsRoots']['set'](_0x284836,this['_makeIdsRoot'](_0x48680b,_0x480197));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2b5ba6&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2b54fb,_0x488bb9]of _0x1270e7){const _0x377a09=this['_baseRoots']['get'](_0x488bb9['rootName']),_0x329720=this['_diffRoots']['get'](_0x488bb9['rootName']),_0x58f3f0=new vt(this['_fixPosition'](_0x488bb9['start'],_0x377a09),this['_fixPosition'](_0x488bb9['end'],_0x377a09)),_0x28b312=this['_fixRange'](_0x58f3f0,_0x329720);_0x377a09['markers']['set'](_0x2b54fb,_0x58f3f0),this['_markers']['set'](_0x2b54fb,_0x28b312);}this['_applyOperations'](_0x58437f,_0x7ee50b,_0x2b5ba6);}['_applyOperations'](_0x4cff1f,_0x7656c8,_0x58df8a){for(const _0x3e9119 of this['source']['getOperations'](_0x4cff1f,_0x7656c8))this['_handleOperation'](_0x3e9119,_0x58df8a);for(const _0x35ab41 of this['_diffRoots']['values']())_0x35ab41['markers']['clear']();for(const [_0xaf40d4,_0x5d473d]of this['_markers']){this['_diffRoots']['get'](_0x5d473d['root']['rootName'])['markers']['set'](_0xaf40d4,_0x5d473d['clone']());}const _0x46d3ba=new Map(),_0x579877=new Map();for(const [_0x3ad2aa,_0x27cb45]of this['_diffRoots'])_0x46d3ba['set'](_0x3ad2aa,q(_0x27cb45)),_0x579877['set'](_0x3ad2aa,this['_diffRootsAttributes']['get'](_0x3ad2aa));this['_saveMetaData'](_0x7656c8,_0x46d3ba,this['_markers'],_0x579877);}['_getPreviousFrom'](_0x28ef27){const _0x103752=Array['from'](this['_savedMetaData']['keys']());_0x103752['sort']((_0x213a0c,_0x2b322c)=>_0x213a0c-_0x2b322c),_0x103752['reverse']();for(const _0x1f5612 of _0x103752)if(_0x1f5612<_0x28ef27)return _0x1f5612;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x257e20,_0x2be061){const _0x33316f=Array['from'](_0x2be061['markers'])['map'](([_0x46bc24,_0x3bdf0b])=>[_0x46bc24,this['_fixRange'](_0x3bdf0b,_0x257e20)]);_0x257e20['markers']=new Map(_0x33316f);}['_transformMarkers'](_0x3ea634){for(const _0x7fd669 of this['_markers']['values']()){const _0x1438d9=_0x7fd669['getTransformedByOperation'](_0x3ea634),_0x59952d=vt['_createFromRanges'](_0x1438d9);_0x7fd669['start']=_0x59952d['start'],_0x7fd669['end']=_0x59952d['end'];}}['_handleOperation'](_0x5a9bca,_0x310b41){if('addRoot'==_0x5a9bca['type']||'detachRoot'==_0x5a9bca['type'])return void this['_handleRootOperation'](_0x5a9bca,_0x310b41);if('insert'==_0x5a9bca['type']){const _0x261e60=_0x5a9bca['position']['root']['rootName'];this['_diffRoots']['has'](_0x261e60)||(this['_diffRoots']['set'](_0x261e60,G(_0x261e60,!0x0)),this['_diffRootsAttributes']['set'](_0x261e60,{}),_0x310b41&&this['_idsRoots']['set'](_0x261e60,G(_0x261e60,!0x0)));}else{if('addRootAttribute'==_0x5a9bca['type']||'removeRootAttribute'==_0x5a9bca['type']||'changeRootAttribute'==_0x5a9bca['type'])return void this['_handleRootAttributeOperation'](_0x5a9bca);}const _0x14590d=this['_cloneOperation'](_0x5a9bca,this['_diffRoots']);if('marker'!==_0x5a9bca['type']&&(_0x14590d['_execute'](),this['_transformMarkers'](_0x14590d)),_0x310b41)switch(_0x14590d['type']){case'insert':this['_handleInsertOperation'](_0x5a9bca);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5a9bca);break;case'merge':this['_handleMergeOperation'](_0x5a9bca);break;case'split':this['_handleSplitOperation'](_0x5a9bca);break;case'marker':this['_handleMarkerOperation'](_0x5a9bca);}}['_cloneOperation'](_0x1c9cd9,_0x15578f){const _0x23f4bf=_0x1c9cd9['clone']();return _0x23f4bf['_authorId']=_0x1c9cd9['_authorId'],this['_fixOperation'](_0x23f4bf,_0x15578f),_0x23f4bf;}['_getBaseVids'](_0x3b3215){return _0x3b3215['map'](_0x5b37f4=>{const _0x9d3032=this['_getVidAttributeName'](_0x5b37f4);return Number(_0x5b37f4['item']['getAttribute'](_0x9d3032));});}['_generateTape'](_0x2ab5a4,_0x4abd6b){if(_0x2ab5a4['is']('element','$text'))_0x4abd6b['push']({'item':_0x2ab5a4,'type':'text'});else{_0x2ab5a4['is']('element')&&_0x4abd6b['push']({'item':_0x2ab5a4,'type':'elementStart'});for(const _0x506470 of _0x2ab5a4['getChildren']())this['_generateTape'](_0x506470,_0x4abd6b);_0x2ab5a4['is']('element')&&_0x4abd6b['push']({'item':_0x2ab5a4,'type':'elementEnd'});}return _0x4abd6b;}['_getState'](){const _0x4ccea5=new Map(this['_touched']),_0x5365d4=new Map(_0x4ccea5),_0x5d194d=new Map(),_0x22c5e4={'insertions':{},'deletions':{}},_0x581ff5={'insertions':{},'deletions':{}},_0x397f5e=new Map(),_0x8a5cb3=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x8a5cb3['delete']('$graveyard');for(const _0x16b534 of _0x8a5cb3){const _0x5d3c65=this['_diffRoots']['get'](_0x16b534)||G(_0x16b534,!0x1),_0x5d5977=this['_baseRoots']['get'](_0x16b534)||G(_0x16b534,!0x1);_0x5d3c65['isAttached']()||_0x5d5977['isAttached']()?(_0x22c5e4['insertions'][_0x16b534]=q(_0x5d3c65),_0x22c5e4['deletions'][_0x16b534]=q(_0x5d5977),this['_copyMarkers'](_0x22c5e4['deletions'][_0x16b534],_0x5d5977),this['_copyMarkers'](_0x22c5e4['insertions'][_0x16b534],_0x5d3c65),_0x581ff5['insertions'][_0x16b534]=this['_generateTape'](this['_idsRoots']['get'](_0x16b534),[]),_0x581ff5['deletions'][_0x16b534]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x16b534)||G(_0x16b534,!0x1),[])):_0x8a5cb3['delete'](_0x16b534);}for(const _0x335a55 of _0x8a5cb3){const _0x44bafd=_0x581ff5['insertions'][_0x335a55];for(const _0x55c900 of _0x44bafd){const _0x5008cb=this['_getVidAttributeName'](_0x55c900),_0x2a4f2f=_0x55c900['item']['getAttribute'](_0x5008cb);_0x5365d4['delete'](_0x2a4f2f),_0x2a4f2f>=this['_startingRevisionId']&&_0x5d194d['set'](_0x2a4f2f,_0x4ccea5['get'](_0x2a4f2f));}}for(const _0xa1915a of _0x8a5cb3){const _0x46494a=_0x581ff5['insertions'][_0xa1915a],_0x3e12ff=this['_getBaseVids'](_0x581ff5['deletions'][_0xa1915a]);let _0x1da539=0x0;for(const _0x4fe3a0 of _0x46494a){const _0x4f9641=this['_getVidAttributeName'](_0x4fe3a0),_0x543dde=_0x4fe3a0['item']['getAttribute'](_0x4f9641);if(!_0x5d194d['has'](_0x543dde)&&!_0x397f5e['has'](_0x543dde)){if(_0x5365d4['has'](_0x543dde))_0x1da539++;else{if(_0x543dde!=_0x3e12ff[_0x1da539]){const _0x1d447b=_0x4ccea5['get'](_0x543dde)||_0x4ccea5['get'](_0x3e12ff[_0x1da539]);for(;_0x543dde!=_0x3e12ff[_0x1da539];)_0x5365d4['has'](_0x3e12ff[_0x1da539])||(_0x397f5e['set'](_0x3e12ff[_0x1da539],_0x1d447b),_0x4ccea5['set'](_0x3e12ff[_0x1da539],_0x1d447b)),_0x1da539++;}_0x1da539++;}}}}for(const _0x44d742 of _0x8a5cb3){const _0x360bba=_0x581ff5['insertions'][_0x44d742];for(const _0x41c1cf of _0x360bba){const _0xd556a8=this['_getVidAttributeName'](_0x41c1cf),_0x799006=_0x41c1cf['item']['getAttribute'](_0xd556a8);if(_0x397f5e['has'](_0x799006)){const _0x365aeb=_0x397f5e['get'](_0x799006);_0x5365d4['has'](_0x799006)||_0x5365d4['set'](_0x799006,{..._0x365aeb}),_0x5d194d['set'](_0x799006,{..._0x365aeb});}}}for(const _0x5e02f7 of _0x5365d4['keys']())_0x5e02f7>=this['_startingRevisionId']&&_0x5365d4['delete'](_0x5e02f7);const _0x599d90=new Map();for(const _0x2dbdf3 of _0x8a5cb3){let _0x4d7b40=_0x581ff5['insertions'][_0x2dbdf3];for(const _0x2e0368 of _0x4d7b40)if(_0x2e0368['item']['is']('element','tableCell')){const _0x28cc7c=this['_getVidAttributeName'](_0x2e0368),_0x3e7bc2=_0x2e0368['item']['getAttribute'](_0x28cc7c);if(_0x5d194d['has'](_0x3e7bc2)){const _0x48f0ad=_0x2e0368['item']['parent']['parent']['getAttribute']('vid_start'),_0x51469a=_0x599d90['get'](_0x48f0ad)||new Set();_0x51469a['add'](_0x5d194d['get'](_0x3e7bc2)['userId']),_0x599d90['set'](_0x48f0ad,_0x51469a);}}_0x4d7b40=_0x581ff5['deletions'][_0x2dbdf3];for(const _0x475fb4 of _0x4d7b40)if(_0x475fb4['item']['is']('element','tableCell')){const _0x412fe6=this['_getVidAttributeName'](_0x475fb4),_0x3e570b=_0x475fb4['item']['getAttribute'](_0x412fe6);if(_0x5365d4['has'](_0x3e570b)){const _0x3cd00a=_0x475fb4['item']['parent']['parent']['getAttribute']('vid_start'),_0x546403=_0x599d90['get'](_0x3cd00a)||new Set();_0x546403['add'](_0x5365d4['get'](_0x3e570b)['userId']),_0x599d90['set'](_0x3cd00a,_0x546403);}}for(const _0x281474 of _0x599d90['keys']())(_0x5d194d['has'](_0x281474)||_0x5365d4['has'](_0x281474))&&_0x599d90['delete'](_0x281474);}for(const _0x5c5fb2 of _0x8a5cb3){const _0x405be1=_0x581ff5['insertions'][_0x5c5fb2];let _0x49ba9e=null,_0x2b4be3=null;for(const _0x4946f0 of _0x405be1){const _0x16135a=this['_getVidAttributeName'](_0x4946f0),_0x210b77=_0x4946f0['item']['getAttribute'](_0x16135a),_0x587d71=_0x599d90['get'](_0x210b77);_0x587d71&&'elementStart'==_0x4946f0['type']&&(_0x49ba9e=Array['from'](_0x587d71)[0x0],_0x2b4be3=_0x4946f0['item']['getAttribute']('vid_end')),_0x49ba9e&&(_0x5365d4['set'](_0x210b77,{'userId':_0x49ba9e}),_0x5d194d['set'](_0x210b77,{'userId':_0x49ba9e})),_0x210b77==_0x2b4be3&&(_0x49ba9e=null,_0x2b4be3=null);}}const _0x2ef990={},_0x566ed6=new Set();for(const _0xc89c1a of _0x8a5cb3){const _0x55ddda=_0x22c5e4['deletions'][_0xc89c1a],_0x542968=_0x22c5e4['insertions'][_0xc89c1a];for(const {userId:_0x40df62}of this['_touchedMarkers']['values']())null!==_0x40df62&&_0x566ed6['add'](_0x40df62);for(const {userId:_0x1d88a0}of this['_touchedRoots']['values']())null!==_0x1d88a0&&_0x566ed6['add'](_0x1d88a0);this['_markChanges'](_0x542968,_0x581ff5['insertions'][_0xc89c1a],_0x5d194d,'insertion',_0x566ed6),this['_markChanges'](_0x55ddda,_0x581ff5['deletions'][_0xc89c1a],_0x5365d4,'deletion',_0x566ed6),_0x2ef990[_0xc89c1a]={'insertions':this['_prepareViewToSave'](_0x542968),'deletions':this['_prepareViewToSave'](_0x55ddda),'attachChange':this['_touchedRoots']['get'](_0xc89c1a)||null,'attributesBefore':_0x25472f(this['_baseRootsAttributes']['get'](_0xc89c1a))||{},'attributesAfter':_0x25472f(this['_diffRootsAttributes']['get'](_0xc89c1a))};}return{'diffData':_0x2ef990,'authorsIds':Array['from'](_0x566ed6)};}['_processRootBeforeSave'](_0x438f08){for(const [,_0x492778]of _0x438f08['markers']){const _0x164601=_0x492778['start']['getAncestors']()['filter'](_0x52b0f0=>'tableCell'==_0x52b0f0['name']);for(const _0x384874 of _0x164601)0x1==_0x384874['childCount']&&_0x384874['getChild'](0x0)['is']('element','paragraph')&&_0x384874['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4b2c3d){this['_processRootBeforeSave'](_0x4b2c3d);const _0x336889=this['editor']['data']['toView'](_0x4b2c3d,{}),_0x27e542=Array['from'](_0x336889['getChildren']())['map'](_0xc482e9=>this['_getViewJson'](_0xc482e9));return JSON['stringify'](_0x27e542);}['_getViewJson'](_0x2780b6){if(_0x2780b6['is']('$text'))return _0x2780b6['data'];{const _0x20a9be=_0x2780b6;return{'type':Object['keys'](T)['find'](_0x2bccdc=>_0x2780b6 instanceof T[_0x2bccdc]),'name':_0x20a9be['name'],'attributes':Array['from'](_0x20a9be['getAttributes']()),'children':Array['from'](_0x20a9be['getChildren']())['map'](_0x408e48=>this['_getViewJson'](_0x408e48))};}}['_markChanges'](_0x3a1141,_0x159354,_0x48c20f,_0x15cf06,_0x53ede4){let _0x2e9f86=null,_0x29369d=null,_0x4dcf1b=0x0;const _0x40af68=this['editor']['model'];for(let _0x3a94f4=0x0;_0x3a94f4<_0x159354['length'];_0x3a94f4++){const _0x3a88cb=this['_getVidAttributeName'](_0x159354[_0x3a94f4]),_0x13ec7c=_0x159354[_0x3a94f4]['item']['getAttribute'](_0x3a88cb),_0x222a8a=_0x48c20f['get'](_0x13ec7c),_0x5a1228=_0x3a94f4==_0x159354['length']-0x1;(!_0x2e9f86&&_0x222a8a&&(_0x2e9f86=_0x222a8a,_0x29369d=_0x159354[_0x3a94f4]),_0x2e9f86&&(!_0x222a8a||_0x222a8a['userId']!=_0x2e9f86['userId']))&&(_0x474cf8(_0x222a8a,L(_0x29369d,_0x3a1141,_0x40af68),L(_0x159354[_0x3a94f4],_0x3a1141,_0x40af68)),_0x2e9f86=_0x222a8a||null,_0x29369d=_0x222a8a?_0x159354[_0x3a94f4]:null),_0x2e9f86&&_0x5a1228&&_0x474cf8(_0x222a8a,L(_0x29369d,_0x3a1141,_0x40af68),W(_0x159354[_0x3a94f4],_0x3a1141,_0x40af68));}function _0x474cf8(_0x459c15,_0x4750fa,_0x280ff6){const _0x3ad4a0=_0x2e9f86['userId'],_0x59557f='revision:'+_0x15cf06+':'+_0x3ad4a0+':'+_0x4dcf1b++,_0x38fc47=_0x40af68['createRange'](_0x4750fa,_0x280ff6);_0x3a1141['markers']['set'](_0x59557f,_0x38fc47),null!==_0x3ad4a0&&_0x53ede4['add'](_0x3ad4a0);}}['_getVidAttributeName'](_0xe7d0b0){switch(_0xe7d0b0['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x22a3cd,_0xa695c6){_0x22a3cd['baseVersion']=null;for(const _0x4c15cc in _0x22a3cd){const _0x20c9de=_0x22a3cd[_0x4c15cc];if(_0x20c9de instanceof gt){const _0x172e34=_0xa695c6['get'](_0x20c9de['root']['rootName']);_0x22a3cd[_0x4c15cc]=this['_fixPosition'](_0x20c9de,_0x172e34);}if(_0x20c9de instanceof vt){const _0x2c3087=_0xa695c6['get'](_0x20c9de['root']['rootName']);_0x22a3cd[_0x4c15cc]=this['_fixRange'](_0x20c9de,_0x2c3087);}'root'===_0x4c15cc&&(_0x22a3cd['root']=_0xa695c6['get'](_0x22a3cd['root']['rootName']));}}['_fixRange'](_0xf5c81d,_0x129531){return this['editor']['model']['createRange'](this['_fixPosition'](_0xf5c81d['start'],_0x129531),this['_fixPosition'](_0xf5c81d['end'],_0x129531));}['_fixPosition'](_0x3e89cc,_0x16b981){return this['editor']['model']['createPositionFromPath'](_0x16b981,_0x3e89cc['path'],_0x3e89cc['stickiness']);}['_handleInsertOperation'](_0x313cbb){const _0xf31fa6=this['_idsRoots']['get'](_0x313cbb['position']['root']['rootName']),_0x550ec1=this['_fixPosition'](_0x313cbb['position'],_0xf31fa6),_0x209674=null===_0x313cbb['_authorId']?null:_0x313cbb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xafc932=_0x550ec1['parent'],_0x2b2cd8=this['_revisionId'],_0x40365c=[];for(const _0x563f4a of _0x313cbb['nodes'])if(_0x563f4a['is']('element'))_0x40365c['push'](this['_makeIdsRoot'](_0x563f4a));else{for(let _0xf9abf3=0x0;_0xf9abf3<_0x563f4a['offsetSize'];_0xf9abf3++)_0x40365c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xacc8a2=this['_revisionId'];for(let _0x3796f2=_0x2b2cd8;_0x3796f2<_0xacc8a2;_0x3796f2++)this['_touched']['set'](_0x3796f2,{'userId':_0x209674});_0xafc932['_insertChild'](_0x550ec1['offset'],_0x40365c);}['_handleMoveOperation'](_0x3d1453){(_0x3d1453=this['_cloneOperation'](_0x3d1453,this['_idsRoots']))['_execute']();const _0x1d1f4d=null===_0x3d1453['_authorId']?null:_0x3d1453['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x164941=_0x3d1453['getMovedRangeStart'](),_0x506161=_0x164941['parent'],_0xd3efa6=_0x164941['offset'];!function _0x4d7590(_0x306b8d,_0x2ad43b,_0x4d0a84,_0x36e3ce){for(let _0x42c6f2=_0x4d0a84;_0x42c6f2<_0x36e3ce;_0x42c6f2++){const _0xb99ee8=_0x2ad43b['getChild'](_0x42c6f2);_0xb99ee8['is']('element','$text')?_0x306b8d['set'](_0xb99ee8['getAttribute']('vid'),{'userId':_0x1d1f4d}):(_0x306b8d['set'](_0xb99ee8['getAttribute']('vid_start'),{'userId':_0x1d1f4d}),_0x4d7590(_0x306b8d,_0xb99ee8,0x0,_0xb99ee8['childCount']),_0x306b8d['set'](_0xb99ee8['getAttribute']('vid_end'),{'userId':_0x1d1f4d}));}}(this['_touched'],_0x506161,_0xd3efa6,_0xd3efa6+_0x3d1453['howMany']);}['_handleMergeOperation'](_0x487ad3){const _0xc21715=null===(_0x487ad3=this['_cloneOperation'](_0x487ad3,this['_idsRoots']))['_authorId']?null:_0x487ad3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29959a=_0x487ad3['targetPosition']['parent'],_0x387e5f=_0x487ad3['sourcePosition']['parent'],_0x1fc266=_0x29959a['getAttribute']('vid_end'),_0x6ca268=_0x387e5f['getAttribute']('vid_start');_0x29959a['_setAttribute']('vid_end',_0x387e5f['getAttribute']('vid_end')),_0x387e5f['_setAttribute']('vid_end',_0x1fc266),this['_touched']['set'](_0x6ca268,{'userId':_0xc21715}),this['_touched']['set'](_0x1fc266,{'userId':_0xc21715}),_0x487ad3['_execute']();}['_handleSplitOperation'](_0x47435){const _0x336011=null===(_0x47435=this['_cloneOperation'](_0x47435,this['_idsRoots']))['_authorId']?null:_0x47435['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x166a29=_0x47435['graveyardPosition'],_0x30f5fd=_0x47435['splitPosition']['parent'];_0x47435['_execute']();const _0x369c00=_0x30f5fd['getAttribute']('vid_end'),_0x509488=_0x47435['insertionPosition']['nodeAfter'];if(_0x166a29){const _0x3fed4d=_0x509488['getAttribute']('vid_end'),_0x345ae2=_0x30f5fd['getAttribute']('vid_end');_0x30f5fd['_setAttribute']('vid_end',_0x3fed4d),_0x509488['_setAttribute']('vid_end',_0x345ae2),this['_touched']['set'](_0x30f5fd['getAttribute']('vid_end'),{'userId':_0x336011}),this['_touched']['set'](_0x509488['getAttribute']('vid_start'),{'userId':_0x336011});}else{const _0x5c397f=this['_revisionId']++,_0x1bf587=this['_revisionId']++;_0x30f5fd['_setAttribute']('vid_end',_0x5c397f),_0x509488['_setAttribute']('vid_start',_0x1bf587),_0x509488['_setAttribute']('vid_end',_0x369c00),this['_touched']['set'](_0x5c397f,{'userId':_0x336011}),this['_touched']['set'](_0x1bf587,{'userId':_0x336011});}}['_handleMarkerOperation'](_0x347fa9){if(!_0x347fa9['affectsData'])return;const _0x86d68d=(_0x347fa9=this['_cloneOperation'](_0x347fa9,this['_diffRoots']))['oldRange']?_0x347fa9['oldRange']['root']:null,_0x41f7e8=_0x347fa9['newRange']?_0x347fa9['newRange']['root']:null;_0x86d68d&&this['_markers']['delete'](_0x347fa9['name']),_0x41f7e8&&this['_markers']['set'](_0x347fa9['name'],_0x347fa9['newRange']['clone']());const _0x1e5159=null===_0x347fa9['_authorId']?null:_0x347fa9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x429bd1=_0x347fa9['name'];if(!this['_touchedMarkers']['has'](_0x429bd1))return void this['_touchedMarkers']['set'](_0x429bd1,{'range':_0x347fa9['oldRange'],'userId':_0x1e5159});const _0x217431=this['_touchedMarkers']['get'](_0x429bd1),_0x59adfa=_0x217431['range'],_0x2974ee=_0x347fa9['newRange'];null==_0x59adfa&&null==_0x2974ee||_0x59adfa&&_0x2974ee&&_0x59adfa['isEqual'](_0x2974ee)?this['_touchedMarkers']['delete'](_0x347fa9['name']):_0x217431['userId']=_0x1e5159;}['_handleRootOperation'](_0x5c66b1,_0x2b2c85){this['_diffRoots']['has'](_0x5c66b1['rootName'])?this['_diffRoots']['get'](_0x5c66b1['rootName'])['_isAttached']=_0x5c66b1['isAdd']:(this['_diffRoots']['set'](_0x5c66b1['rootName'],G(_0x5c66b1['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5c66b1['rootName'],{}),_0x2b2c85&&this['_idsRoots']['set'](_0x5c66b1['rootName'],G(_0x5c66b1['rootName'],!0x0)));const _0x3549ed=null===_0x5c66b1['_authorId']?null:_0x5c66b1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x575d4f=this['_touchedRoots']['get'](_0x5c66b1['rootName']);_0x575d4f&&_0x575d4f['userId']===_0x3549ed?this['_touchedRoots']['delete'](_0x5c66b1['rootName']):this['_touchedRoots']['set'](_0x5c66b1['rootName'],{'userId':_0x3549ed,'isAttached':_0x5c66b1['isAdd']});}['_handleRootAttributeOperation'](_0x18281e){const _0x153065=this['_diffRootsAttributes']['get'](_0x18281e['root']['rootName']);null===_0x18281e['newValue']?delete _0x153065[_0x18281e['key']]:_0x153065[_0x18281e['key']]=_0x18281e['newValue'];}}function q(_0x126650){const _0x2f94a4=G(_0x126650['rootName'],_0x126650['isAttached']());for(const _0xe7a635 of _0x126650['getChildren']()){const _0x5784f3=_0xe7a635['_clone'](!0x0);_0x2f94a4['_appendChild'](_0x5784f3);}return _0x2f94a4;}function G(_0x5c3621,_0x312824=!0x0){const _0x152eb7=new wt();return _0x152eb7['rootName']=_0x5c3621,_0x152eb7['_isAttached']=_0x312824,_0x152eb7['isAttached']=()=>_0x152eb7['_isAttached'],_0x152eb7;}function L(_0x51178e,_0x2065ec,_0x49ba29){const _0x1415d5='elementEnd'==_0x51178e['type']?_0x49ba29['createPositionAt'](_0x51178e['item'],'end'):_0x49ba29['createPositionBefore'](_0x51178e['item']);return _0x49ba29['createPositionFromPath'](_0x2065ec,_0x1415d5['path'],_0x1415d5['stickiness']);}function W(_0x4314a5,_0x300001,_0x3bf4fb){const _0x1ab4f5='elementStart'==_0x4314a5['type']?_0x3bf4fb['createPositionAt'](_0x4314a5['item'],0x0):_0x3bf4fb['createPositionAfter'](_0x4314a5['item']);return _0x3bf4fb['createPositionFromPath'](_0x300001,_0x1ab4f5['path'],_0x1ab4f5['stickiness']);}class ns extends _0x72c54{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x13121c,_0x17ebfd){super(_0x13121c),this['focusTracker']=new _0xe2556f(),this['keystrokes']=new _0x36e087(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x17ebfd),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x40fef8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x148c57=_0x379044=>_0x379044['stopPropagation']();this['keystrokes']['set']('arrowright',_0x148c57),this['keystrokes']['set']('arrowleft',_0x148c57),this['keystrokes']['set']('arrowup',_0x148c57),this['keystrokes']['set']('arrowdown',_0x148c57);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x257785){this['revisionNameInputView']['fieldView']['element']['value']=_0x257785['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xcaa06e){const _0x51ddfb=new at(this['locale'],_0x523fa1),_0x47cbb7=_0x51ddfb['fieldView'];_0x47cbb7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x263231=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xcaa06e&&(_0x263231+='\x20('+y(this['locale'],'optional')+')'),(_0x51ddfb['label']=_0x263231,_0x47cbb7['on']('input',()=>{this['revisionNameInputValue']=_0x47cbb7['element']['value']['trim']();}),_0x51ddfb);}}class u extends _0x490488{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1c49d9=this['editor'],_0x45cc47=_0x1c49d9['plugins']['get']('RevisionTracker');_0x1c49d9['ui']['componentFactory']['add']('revisionHistory',_0x3f2762=>{const _0x52f5d9=_0x11eae5(_0x3f2762),_0x5ee1ac=_0x52f5d9['panelView']['children'],_0x363f1b=new te(_0x3f2762),_0x403484=new _0x47e5bb(_0x3f2762),_0x46ab85=new _0x5a4920(_0x3f2762),_0x4c6377=new _0x47e5bb(_0x3f2762),_0x169fa8=new _0x5a4920(_0x3f2762);return _0x52f5d9['bind']('isEnabled')['to'](_0x45cc47,'isReady',_0x45cc47,'isEnabled',_0x1c49d9,'isReadOnly',(_0x446a22,_0x14d05e,_0xf4692b)=>_0x446a22&&_0x14d05e&&!_0xf4692b),_0x52f5d9['buttonView']['set']({'icon':_0x4e50e6['history'],'label':y(_0x3f2762,'Revision\x20history'),'tooltip':!0x0}),_0x46ab85['set']({'label':y(_0x3f2762,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x46ab85['bind']('isEnabled')['to'](_0x45cc47,'isReady',_0x45cc47,'isEnabled',_0x1c49d9,'isReadOnly',(_0x3d56e1,_0x27e16,_0x3e7250)=>_0x3d56e1&&_0x27e16&&!_0x3e7250),_0x46ab85['on']('execute',()=>this['_showDialog']()),_0x169fa8['set']({'label':y(_0x3f2762,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x169fa8['bind']('isEnabled')['to'](_0x45cc47,'isReady',_0x1c49d9,'isReadOnly',(_0x7e835e,_0x1ecde9)=>_0x7e835e&&!_0x1ecde9),_0x169fa8['on']('execute',()=>{_0x1c49d9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x52f5d9['isOpen']=!0x1,_0x1c49d9['editing']['view']['focus']();}),_0x403484['children']['add'](_0x46ab85),_0x4c6377['children']['add'](_0x169fa8),_0x363f1b['role']='menu',_0x363f1b['items']['addMany']([_0x403484,_0x4c6377]),_0x5ee1ac['add'](_0x363f1b),_0x52f5d9;}),_0x1c49d9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xa5e2fb=this['editor'],_0x9a5432=_0xa5e2fb['locale'],_0x134c04=new _0x3b6bc9(_0x9a5432),_0x1774fd=new _0x1a9c6d(_0x9a5432);_0x134c04['buttonView']['set']({'icon':_0x4e50e6['history'],'label':y(_0x9a5432,'Revision\x20history')});const _0x9cf159=new _0x57d3a1(_0x9a5432,_0x134c04),_0x5317d4=new _0x3b784b(_0x9a5432);_0x5317d4['set']({'label':y(_0x9a5432,'Save\x20current\x20revision')}),_0x5317d4['delegate']('execute')['to'](_0x134c04),_0x5317d4['on']('execute',()=>{this['_showDialog']();}),_0x9cf159['children']['add'](_0x5317d4),_0x1774fd['items']['add'](_0x9cf159);const _0x555496=new _0x57d3a1(_0x9a5432,_0x134c04),_0x5147cc=new _0x3b784b(_0x9a5432);return _0x5147cc['set']({'label':y(_0x9a5432,'Open\x20revision\x20history')}),_0x5147cc['delegate']('execute')['to'](_0x134c04),_0x5147cc['on']('execute',()=>{_0xa5e2fb['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x555496['children']['add'](_0x5147cc),_0x1774fd['items']['add'](_0x555496),_0x134c04['panelView']['children']['add'](_0x1774fd),_0x134c04;}['_showDialog'](){const _0x20793e=this['editor'],_0x24dee6=_0x20793e['locale'],_0x3bbf49=_0x20793e['plugins']['get']('Dialog'),_0x19ac61=_0x20793e['plugins']['get']('RevisionTracker');function _0x14d802(_0x313d7a){_0x20793e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x313d7a['revisionName']?_0x313d7a['revisionNameInputView']['errorText']=y(_0x24dee6,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x20793e['plugins']['get'](l)['saveRevision']({'name':_0x313d7a['revisionName']}),_0x3bbf49['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x14d802(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3bbf49['show']({'id':'revisionSave','title':y(_0x24dee6,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x20793e['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3bbf49['hide']()},{'label':y(_0x20793e['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x40b865){_0x40b865['bind']('isEnabled')['to'](_0x19ac61,'isReady',_0x19ac61,'isEnabled',_0x20793e,'isReadOnly',(_0x2badbc,_0x389b91,_0xa2384a)=>_0x2badbc&&_0x389b91&&!_0xa2384a);},'onExecute':()=>_0x14d802(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1aef30=this['editor'],_0x25a346=_0x1aef30['locale'];this['_saveRevisionFormView']=new ns(_0x25a346,_0x1aef30['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x72c54{['changeId'];['_model'];constructor(_0x5a337e,_0x47aaa8){super(_0x5a337e),this['_model']=_0x47aaa8,this['changeId']=_0x47aaa8['id'];const _0x5da007=this['bindTemplate'],_0x42fd38=y(_0x5a337e,_0x47aaa8['data']['isSuggestion']?'Suggested\x20by':'add'==_0x47aaa8['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x47aaa8['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5da007['to']('type',_0xcc0949=>'ck-revision-change__'+_0xcc0949)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x42fd38}]},{'text':'\x20'+_0x47aaa8['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x3cf579(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xf2d179){super(),this['id']=_0xf2d179['id']||_0x2f067e(),this['author']=_0xf2d179['author'],this['type']=_0xf2d179['type'],this['data']=_0xf2d179['data']||{},this['rootName']=_0xf2d179['rootName'],this['set']('createdAt',_0xf2d179['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0xaa7ab,_0x4f6627){this['newRevisionId']=_0xaa7ab,this['oldRevisionId']=_0x4f6627,this['changes']=new _0x52ae39();}['_setChanges'](_0x5596fe){for(const _0x2198af of _0x5596fe)this['changes']['add'](_0x2198af);}}const tt={'c':_0x110ad9,'a':_0x188a0a,'e':_0x5c36f0,'r':_0x5869f3,'u':_0x434c42};class d extends _0x490488{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5f579f,_0x4b3375,A];}constructor(_0x375379){super(_0x375379),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x2a94be,_0x50c07a,_0x58f62e)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3af8b0=>{for(const _0x4971a6 of this['editor']['editing']['view']['document']['roots'])_0x58f62e?_0x3af8b0['removeClass']('ck-editor__editable__overlay',_0x4971a6):_0x3af8b0['addClass']('ck-editor__editable__overlay',_0x4971a6);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3362ca=>null!==_0x3362ca),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x209aae,_0x28a77b,_0x5a6d47)=>_0x209aae&&_0x5a6d47?_0x28a77b['changes']['getIndex'](_0x5a6d47):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x48c1da,_0x1a1ad2)=>_0x48c1da?_0x1a1ad2['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4b3375);}['init'](){const _0x4c4aa5=this['editor'],_0x2991f7=new yt(_0x4c4aa5,{'direction':'backward'}),_0x4a6f99=new yt(_0x4c4aa5,{'direction':'forward'});(_0x4c4aa5['commands']['add']('showPreviousChange',_0x2991f7),_0x4c4aa5['commands']['add']('showNextChange',_0x4a6f99),_0x4c4aa5['commands']['add']('restoreRevision',new bt(_0x4c4aa5)),this['on']('change:numberOfChanges',()=>{_0x2991f7['refresh'](),_0x4a6f99['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4c4aa5['enableReadOnlyMode']('revision-viewer'),_0x4c4aa5['plugins']['has']('WidgetToolbarRepository'))&&_0x4c4aa5['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4f3060){await this['loadRevisionData'](_0x4f3060);const _0x2b2bea={};for(const _0x41c488 in _0x4f3060['diffData']){if(_0x4f3060['diffData'][_0x41c488]['attachChange']&&!_0x4f3060['diffData'][_0x41c488]['attachChange']['isAttached'])continue;const _0x220ca5=this['_removeRevisionMarkers'](JSON['parse'](_0x4f3060['diffData'][_0x41c488]['insertions'])),_0x52efb9=this['editor']['editing']['view']['document'],_0x4c0a5f=new _0x157bb4(_0x52efb9,_0x220ca5['map'](_0x212fbf=>this['_getViewObj'](_0x212fbf)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2b2bea[_0x41c488]=this['editor']['data']['processor']['toData'](_0x4c0a5f),this['editor']['data']['processor']['useFillerType']('default');}return _0x2b2bea;}async['getRevisionRootsAttributes'](_0x38b0f1){await this['loadRevisionData'](_0x38b0f1);const _0x1636fa={};for(const _0x1e4ffb in _0x38b0f1['diffData'])_0x38b0f1['diffData'][_0x1e4ffb]['attachChange']&&!_0x38b0f1['diffData'][_0x1e4ffb]['attachChange']['isAttached']||(_0x1636fa[_0x1e4ffb]=_0x38b0f1['diffData'][_0x1e4ffb]['attributesAfter']||{});return _0x1636fa;}['_removeRevisionMarkers'](_0x32ca9c){return(_0x32ca9c=_0x32ca9c['filter'](_0x40fcdb=>!_0x40fcdb['name']||'revision-start'!==_0x40fcdb['name']&&'revision-end'!==_0x40fcdb['name']))['forEach'](_0x4c0f42=>{'string'!=typeof _0x4c0f42&&(_0x4c0f42['children']=this['_removeRevisionMarkers'](_0x4c0f42['children']),_0x4c0f42['attributes']=_0x4c0f42['attributes']['filter'](_0x153095=>!_0x153095[0x0]['startsWith']('data-revision-')));}),_0x32ca9c;}async['compare'](_0x3236d4,_0x4dc356,_0x20d574=!0x1){if(!this['isEnabled'])return;const _0x2363ac=this['diff'],_0x32063c=this['repository'],_0x402998='string'==typeof _0x3236d4?_0x32063c['getRevision'](_0x3236d4):_0x3236d4,_0x1622b9='string'==typeof _0x4dc356?_0x32063c['getRevision'](_0x4dc356):_0x4dc356,_0x258d16=_0x402998['id'],_0x475d95=_0x1622b9?_0x1622b9['id']:null;if(!_0x20d574&&this['diff']&&this['diff']['newRevisionId']===_0x258d16&&this['diff']['oldRevisionId']===_0x475d95)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x258d16,_0x475d95);const _0x1a934f=this['_getRevisionsRange'](_0x402998,_0x1622b9,!0x0)['map'](_0x35e01d=>this['loadRevisionData'](_0x35e01d));return _0x1a934f['push'](new Promise(_0x3d7108=>{setTimeout(_0x3d7108,0x14);})),Promise['all'](_0x1a934f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xae7376=this['_getDiff'](_0x258d16,_0x475d95);for(const _0x417068 of _0xae7376['changes'])this['_changeIdToChange']['set'](_0x417068['id'],_0x417068);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x7c754e=>{for(const _0x23c175 of this['editor']['model']['document']['getRootNames']())_0x7c754e['detachRoot'](_0x23c175);for(const _0x4005f5 of Object['keys'](_0xae7376['model'])){const _0x31af7d=_0x7c754e['addRoot'](_0x4005f5);for(const _0x2f2467 of Object['keys'](_0xae7376['attributes'][_0x4005f5]))_0x7c754e['setAttribute'](_0x2f2467,_0xae7376['attributes'][_0x4005f5][_0x2f2467],_0x31af7d);_0x7c754e['insert'](_0xae7376['model'][_0x4005f5],_0x31af7d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xae7376['changes'])),this['isReady']=!0x0;})['catch'](_0x525008=>{console['error'](_0x525008),this['_cleanUp'](),_0x2363ac&&(this['diff']=_0x2363ac),this['isReady']=!0x0;});}['addRevisionData'](_0x1fd003,_0x288298){const _0xbda9bb=this['repository']['createRevision'](_0x1fd003);return _0xbda9bb['on']('_update',(_0x1f3a2d,_0x27a407,_0x4d49ab)=>_0x288298(_0x27a407,_0x4d49ab,_0xbda9bb)),this['repository']['addRevision'](_0xbda9bb),_0xbda9bb;}['loadRevisionData'](_0x43d9d5){if(!_0x43d9d5||_0x43d9d5['diffData'])return Promise['resolve']();{const _0xce80ef=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xce80ef,'revisionId':_0x43d9d5['id']})['then'](_0x1be0aa=>{_0x43d9d5['_update']({'diffData':_0x1be0aa['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x8b9f44=>{for(const _0x33053e of this['editor']['model']['document']['getRootNames']())_0x8b9f44['detachRoot'](_0x33053e);});}['_sortAndFilterDiffChanges'](_0x955d8e){const _0x2f626a=[],_0x40fc34=new Map();for(const _0x4aa118 of this['editor']['model']['document']['getRootNames']()){const _0x47cd40=this['editor']['editing']['view']['getDomRoot'](_0x4aa118);if(!_0x47cd40)continue;const _0x524319=_0x47cd40['getClientRects']()['item'](0x0);_0x524319&&(_0x2f626a['push'](_0x4aa118),_0x40fc34['set'](_0x4aa118,_0x524319));}return _0x2f626a['sort']((_0x59e1c9,_0x10a8b2)=>{const _0x59eeb1=_0x40fc34['get'](_0x59e1c9),_0xbe3c6f=_0x40fc34['get'](_0x10a8b2);return _0x59eeb1['y']-_0xbe3c6f['y']||_0x59eeb1['x']-_0xbe3c6f['x'];}),(_0x955d8e=_0x955d8e['filter'](_0x3da089=>_0x2f626a['includes'](_0x3da089['rootName'])))['sort']((_0x514728,_0x321ea0)=>_0x2f626a['indexOf'](_0x514728['rootName'])-_0x2f626a['indexOf'](_0x321ea0['rootName'])),_0x955d8e;}['_makeTape'](_0x2fdbc9){const _0x44ea0a=Array['from'](_0x2fdbc9['markers'])['filter'](([_0x87ccbd,_0x3044b7])=>_0x87ccbd['startsWith']('revision:')&&!_0x3044b7['isCollapsed']),_0x166596=Array['from'](this['editor']['model']['createRangeIn'](_0x2fdbc9)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x44ea0a['length'])for(const _0x1fc88d of _0x166596){const [_0x4113c2,_0x29c379]=_0x44ea0a[0x0],[,_0x50e2ab,_0xef704c]=_0x4113c2['split'](':');if(_0x29c379['end']['isEqual'](_0x1fc88d['nextPosition'])&&_0x44ea0a['shift'](),(_0x1fc88d['previousPosition']['isEqual'](_0x29c379['start'])||_0x1fc88d['previousPosition']['isAfter'](_0x29c379['start']))&&('insertion'==_0x50e2ab?_0x1fc88d['isAdded']={'userId':_0xef704c}:'deletion'==_0x50e2ab&&(_0x1fc88d['isRemoved']={'userId':_0xef704c})),0x0==_0x44ea0a['length'])break;}return _0x166596;}['_refreshStartEndIndex'](_0x297b91){const _0x5c4a29=new Map();for(let _0x321c1c=0x0;_0x321c1c<_0x297b91['length'];_0x321c1c++)'text'===_0x297b91[_0x321c1c]['type']?(_0x297b91[_0x321c1c]['item']['startIndex']=_0x321c1c,_0x297b91[_0x321c1c]['item']['endIndex']=_0x321c1c):('elementStart'===_0x297b91[_0x321c1c]['type']?_0x297b91[_0x321c1c]['item']['startIndex']=_0x321c1c:'elementEnd'===_0x297b91[_0x321c1c]['type']&&(_0x297b91[_0x321c1c]['item']['endIndex']=_0x321c1c),_0x5c4a29['set'](_0x297b91[_0x321c1c]['id'],_0x321c1c));for(const _0x1148ac of _0x5c4a29['values']())'elementStart'===_0x297b91[_0x1148ac]['type']?_0x297b91[_0x1148ac]['item']['endIndex']=_0x5c4a29['get'](_0x297b91[_0x1148ac]['pairId']):'elementEnd'===_0x297b91[_0x1148ac]['type']&&(_0x297b91[_0x1148ac]['item']['startIndex']=_0x5c4a29['get'](_0x297b91[_0x1148ac]['pairId']));}['_processTape'](_0x2cbd9b){for(let _0x19e44a=0x0;_0x19e44a<_0x2cbd9b['length'];_0x19e44a++){if('elementStart'===_0x2cbd9b[_0x19e44a]['type'])_0x2cbd9b[_0x19e44a]['item']['startIndex']=_0x19e44a;else{if('elementEnd'===_0x2cbd9b[_0x19e44a]['type']){_0x2cbd9b[_0x19e44a]['item']['endIndex']=_0x19e44a;const _0x1b4c5b=_0x2cbd9b[_0x19e44a]['item']['startIndex'];_0x2cbd9b[_0x1b4c5b]['pairId']=_0x2cbd9b[_0x19e44a]['id'],_0x2cbd9b[_0x19e44a]['pairId']=_0x2cbd9b[_0x1b4c5b]['id'];}else _0x2cbd9b[_0x19e44a]['item']['startIndex']=_0x19e44a,_0x2cbd9b[_0x19e44a]['item']['endIndex']=_0x19e44a,_0x2cbd9b[_0x19e44a]['pairId']=null;}_0x2cbd9b[_0x19e44a]['markersStart']||(_0x2cbd9b[_0x19e44a]['markersStart']=[],_0x2cbd9b[_0x19e44a]['markersEnd']=[]);}}['_markInsertions'](_0xdcc211,_0x23e218){const _0x278841=_0xdcc211['filter'](_0x199c85=>!_0x199c85['isAdded']);for(let _0x53e285=0x0;_0x53e285<_0x23e218['length'];_0x53e285++)_0x23e218[_0x53e285]['isAdded']&&(_0x278841[_0x53e285]['isAdded']=_0x23e218[_0x53e285]['isAdded']);}['_makeModelFromViewString'](_0xea18c){const _0x4f3a64=JSON['parse'](_0xea18c),_0x294ce8=this['editor']['editing']['view']['document'],_0x5823da=new _0x157bb4(_0x294ce8,_0x4f3a64['map'](_0x187323=>this['_getViewObj'](_0x187323)));return this['editor']['data']['toModel'](_0x5823da);}['_getViewObj'](_0x4b117f){const _0x307b95=this['editor']['editing']['view']['document'];if('string'==typeof _0x4b117f)return new _0x3a4690(_0x307b95,_0x4b117f);{const _0x238cc4=_0x4b117f['children']['map'](_0x52a37a=>this['_getViewObj'](_0x52a37a));return new(tt[_0x4b117f['type']]||_0x50a15d)(_0x307b95,_0x4b117f['name'],_0x4b117f['attributes'],_0x238cc4);}}['_getDiff'](_0x294a46,_0x55fe4d=null){const _0x1c4271=this['repository']['getRevision'](_0x294a46),_0x15f4ad=_0x55fe4d?this['repository']['getRevision'](_0x55fe4d):null,_0x5780d6=this['_getRevisionsRange'](_0x1c4271,_0x15f4ad),_0x3d190f=_0x5780d6[_0x5780d6['length']-0x1],_0x442f34=new Map(),_0x1cd48f={'model':{},'attributes':{},'changes':[]},_0x215559=new Set(),_0x29e363=new Map();for(let _0x29683b=_0x5780d6['length']-0x1;_0x29683b>=0x0;_0x29683b--){const _0x2da316=_0x5780d6[_0x29683b];for(const _0x5518c0 of Object['keys'](_0x2da316['diffData']))if(_0x2da316['diffData'][_0x5518c0]['attachChange']){const _0x1caa51=_0x2da316['diffData'][_0x5518c0]['attachChange'];_0x1caa51['isAttached']?(_0x215559['add'](_0x5518c0),_0x29e363['has'](_0x5518c0)&&_0x29e363['get'](_0x5518c0)['userId']==_0x1caa51['userId']?_0x29e363['delete'](_0x5518c0):_0x29e363['set'](_0x5518c0,_0x1caa51)):_0x29e363['has'](_0x5518c0)?(_0x215559['delete'](_0x5518c0),_0x29e363['delete'](_0x5518c0)):(_0x215559['add'](_0x5518c0),_0x29e363['set'](_0x5518c0,_0x1caa51));}else _0x215559['add'](_0x5518c0);}for(const _0x589f74 of _0x215559){const _0x25b644=_0x29e363['has'](_0x589f74)&&!_0x29e363['get'](_0x589f74)['isAttached'];let _0x1cfe26=_0x25b644?_0x5780d6['length']-0x1:0x0;const _0x156686=_0x25b644?-0x1:0x1;for(;_0x5780d6[_0x1cfe26];){const _0x36013b=_0x5780d6[_0x1cfe26];if(_0x36013b['diffData'][_0x589f74]){const _0x20f0ce=_0x25b644?_0x36013b['diffData'][_0x589f74]['attributesBefore']:_0x36013b['diffData'][_0x589f74]['attributesAfter'];_0x1cd48f['attributes'][_0x589f74]=_0x20f0ce?_0x25472f(_0x20f0ce):{};break;}_0x1cfe26+=_0x156686;}}for(const _0x1e3595 of _0x5780d6){_0x1e3595['model']={};for(const _0x2d24af of _0x1e3595['authors'])_0x442f34['set'](_0x2d24af['id'],_0x2d24af);for(const _0x2a3e6d of _0x215559){const _0xeb6b47=_0x1e3595['diffData'][_0x2a3e6d]?_0x1e3595['diffData'][_0x2a3e6d]['insertions']:'[]',_0x545efc=_0x1e3595['diffData'][_0x2a3e6d]?_0x1e3595['diffData'][_0x2a3e6d]['deletions']:'[]';_0x1e3595['model'][_0x2a3e6d]={'insertions':this['_makeModelFromViewString'](_0xeb6b47),'deletions':this['_makeModelFromViewString'](_0x545efc)};}}for(const _0x4bc814 of _0x215559){let _0x5268bb=null,_0x525b30=0x0;const _0x188fd1=new Map(Array['from'](_0x1c4271['model'][_0x4bc814]['insertions']['markers'])['filter'](([_0x9dc803])=>!_0x9dc803['startsWith']('revision:')));let _0x272290=0x0;for(const _0x58b1db of _0x5780d6){const _0x4c607c=this['_makeTape'](_0x58b1db['model'][_0x4bc814]['insertions']);_0x58b1db==_0x1c4271?(_0x5268bb=_0x4c607c,_0x525b30=_0x5268bb['length'],_0x5268bb['forEach'](_0x5d719f=>{_0x5d719f['id']=_0x272290++;}),this['_processTape'](_0x5268bb)):this['_markInsertions'](_0x5268bb,_0x4c607c);const _0x5f1ba0=_0x5268bb['filter'](_0x47f016=>!_0x47f016['isAdded'])['map'](_0x1e571d=>_0x1e571d['id']);let _0x3512e3=0x0;const _0x5dadb1=this['_makeTape'](_0x58b1db['model'][_0x4bc814]['deletions']);_0x5dadb1['forEach'](_0x1960b1=>{_0x1960b1['isRemoved']?_0x1960b1['id']=_0x525b30++:_0x1960b1['id']=_0x5f1ba0[_0x3512e3++];}),this['_processTape'](_0x5dadb1),this['_setDistance'](_0x5268bb,'isAdded'),this['_setDistance'](_0x5dadb1,'isRemoved'),_0x58b1db==_0x1c4271&&this['_markMarkers'](_0x5268bb,_0x188fd1),_0x5268bb=this['_joinTapes'](_0x5268bb,_0x5dadb1),this['_refreshStartEndIndex'](_0x5268bb),this['_setDistance'](_0x5268bb,'isRemoved');}_0x5268bb=_0x5268bb['filter'](_0x530d8a=>!(_0x530d8a['isAdded']&&_0x530d8a['isRemoved']));const _0x8d7527=new Map(_0x3d190f['model'][_0x4bc814]['deletions']['markers']),_0x59ed67=new Set(_0x188fd1['keys']());for(const _0x59bbdb of _0x8d7527['keys']())_0x59ed67['delete'](_0x59bbdb);this['_markSuggestions'](_0x5268bb,_0x59ed67),this['_fixObsoleteTags'](_0x5268bb),_0x5268bb=this['_removeMissingPairs'](_0x5268bb),_0x5268bb=this['_markMismatchedRemovedTags'](_0x5268bb),_0x5268bb=this['_removeUnsupportedChanges'](_0x5268bb);const {root:_0x52d558,changes:_0x5bd9ed}=this['_makeModelFromTape'](_0x5268bb,_0x442f34,_0x4bc814);_0x1cd48f['model'][_0x4bc814]=_0x52d558;const _0x21d8aa=_0x29e363['get'](_0x4bc814);if(_0x21d8aa){const _0xf96966=_0x442f34['get'](_0x21d8aa['userId']),_0x28dbd2=new r({'author':_0xf96966,'type':_0x21d8aa['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4bc814});_0x5bd9ed['unshift'](_0x28dbd2),_0x1cd48f['attributes'][_0x4bc814]['revisionHistoryAttachChange']=_0x28dbd2['id'];}_0x1cd48f['changes']=_0x1cd48f['changes']['concat'](_0x5bd9ed);}return _0x1cd48f;}['_markMarkers'](_0x5e5944,_0x19a552){for(let _0x3c255f=0x0;_0x3c255f<_0x5e5944['length'];_0x3c255f++)for(const [_0x3ac1c4,_0x20f54c]of _0x19a552)_0x20f54c['start']['isEqual'](_0x5e5944[_0x3c255f]['previousPosition'])&&_0x5e5944[_0x3c255f]['markersStart']['push'](_0x3ac1c4),_0x20f54c['end']['isEqual'](_0x5e5944[_0x3c255f]['nextPosition'])&&_0x5e5944[_0x3c255f]['markersEnd']['push'](_0x3ac1c4);}['_joinTapes'](_0x269517,_0x16d9ce){let _0x4f2f23=[],_0x174de0=0x0,_0x4564ec=0x0;for(;_0x174de0<_0x269517['length']||_0x4564ec<_0x16d9ce['length'];){const _0x47513a=_0x269517[_0x174de0]||{},_0x3e8fdf=_0x16d9ce[_0x4564ec]||{};if(_0x47513a['id']==_0x3e8fdf['id'])_0x174de0++,_0x4564ec++,_0x4f2f23['push'](_0x47513a);else{if(_0x3e8fdf['isRemoved']&&_0x47513a['isAdded']){const {commonTape:_0x17c5b1,iEnd:_0x40d502,jEnd:_0x505e69}=this['_threeWayMerge'](_0x269517,_0x174de0,_0x16d9ce,_0x4564ec);_0x4f2f23=_0x4f2f23['concat'](_0x17c5b1),_0x174de0=_0x40d502,_0x4564ec=_0x505e69;}else _0x3e8fdf['isRemoved']?(_0x4564ec++,_0x4f2f23['push'](_0x3e8fdf)):(_0x174de0++,_0x4f2f23['push'](_0x47513a));}}return _0x4f2f23;}['_markSuggestions'](_0x294e2f,_0x3144a3){const _0x4a6acc=[];for(let _0x5440e1=0x0;_0x5440e1<_0x294e2f['length'];_0x5440e1++){for(let _0x284442=0x0;_0x284442<_0x294e2f[_0x5440e1]['markersStart']['length'];_0x284442++){const _0x5503a2=_0x294e2f[_0x5440e1]['markersStart'][_0x284442];if(!_0x3144a3['has'](_0x5503a2))continue;const {group:_0x44e495,type:_0x2aea38,authorId:_0x5dc952}=_0x2e6bfc(_0x5503a2);'revision-suggestion'!=_0x44e495||'insertion'!=_0x2aea38&&'deletion'!=_0x2aea38||(_0x4a6acc['unshift']({'type':_0x2aea38,'name':_0x5503a2,'userId':_0x5dc952}),_0x294e2f[_0x5440e1]['markersStart']['splice'](_0x284442,0x1),_0x284442--);}_0x5858e7(_0x294e2f[_0x5440e1]);for(let _0x13b89b=0x0;_0x13b89b<_0x294e2f[_0x5440e1]['markersEnd']['length'];_0x13b89b++){const _0x50a6d1=_0x294e2f[_0x5440e1]['markersEnd'][_0x13b89b];if(!_0x3144a3['has'](_0x50a6d1))continue;const {group:_0x2cb995,type:_0x3d6a85}=_0x2e6bfc(_0x50a6d1);if('revision-suggestion'!=_0x2cb995||'insertion'!=_0x3d6a85&&'deletion'!=_0x3d6a85)continue;_0x294e2f[_0x5440e1]['markersEnd']['splice'](_0x13b89b,0x1),_0x13b89b--;const _0x45599e=_0x4a6acc['findIndex'](_0x4ed572=>_0x4ed572['name']==_0x50a6d1);_0x45599e>-0x1&&_0x4a6acc['splice'](_0x45599e,0x1);}}function _0x2e6bfc(_0x23176b){const _0x443486=_0x23176b['split'](':');return{'group':_0x443486[0x0],'type':_0x443486[0x1],'subType':_0x443486['length']>=0x5?_0x443486[0x2]:null,'id':_0x443486['length']<0x5?_0x443486[0x2]:_0x443486[0x3],'authorId':_0x443486['length']<0x5?_0x443486[0x3]:_0x443486[0x4],'markerCount':0x6==_0x443486['length']?_0x443486[0x5]:null};}function _0x5858e7(_0x57552a){for(let _0x2a1362=0x0;_0x2a1362<_0x4a6acc['length'];_0x2a1362++){if(_0x57552a['isAdded']&&'insertion'==_0x4a6acc[_0x2a1362]['type'])return _0x57552a['isAddSuggestion']=_0x4a6acc[_0x2a1362],void delete _0x57552a['isAdded'];if(!_0x57552a['isAdded']&&!_0x57552a['isRemoved']&&'deletion'==_0x4a6acc[_0x2a1362]['type'])return void(_0x57552a['isRemoveSuggestion']=_0x4a6acc[_0x2a1362]);}}}['_setDistance'](_0x9c6cda,_0x33d662){let _0x5ad5ff=0x0,_0x596f00=!0x1;const _0xa9852c=new Map();for(const _0x30537e of _0x9c6cda)_0x30537e[_0x33d662]?_0x596f00&&(_0x5ad5ff++,_0x596f00=!0x1):(_0x5ad5ff++,_0x596f00=!0x0),_0xa9852c['set'](_0x30537e['id'],_0x5ad5ff);for(let _0x9e0f76=0x0;_0x9e0f76<_0x9c6cda['length'];_0x9e0f76++){if('isRemoved'==_0x33d662&&_0x9c6cda[_0x9e0f76]['isAdded']||'isAdded'==_0x33d662&&_0x9c6cda[_0x9e0f76]['isRemoved'])continue;if('text'==_0x9c6cda[_0x9e0f76]['type']){_0x9c6cda[_0x9e0f76]['distance']=0x0;continue;}const _0x179e93=_0xa9852c['get'](_0x9c6cda[_0x9e0f76]['pairId']),_0x23cc84=_0xa9852c['get'](_0x9c6cda[_0x9e0f76]['id']);_0x9c6cda[_0x9e0f76]['distance']=_0x179e93-_0x23cc84;}}['_getRevisionsRange'](_0x1fb148,_0xadd7f7,_0x1d6b1e=!0x1){const _0x21f283=[];let _0x3264a1=this['repository']['getIndex'](_0x1fb148),_0x1f8979=this['repository']['getIndex'](_0xadd7f7);for(-0x1==_0x1f8979&&(_0x1f8979=this['repository']['_revisions']['length'],_0x1d6b1e=!0x1);_0x3264a1<_0x1f8979;)_0x21f283['push'](this['repository']['getRevision'](_0x3264a1)),_0x3264a1++;return _0x1d6b1e&&_0x21f283['push'](this['repository']['getRevision'](_0x3264a1)),_0x21f283;}['_threeWayMerge'](_0x21ecef,_0x51c36f,_0x3d2f63,_0x56af75){const _0x13382d=this['editor']['model']['schema'];let _0x2d713b=_0x51c36f;for(;_0x21ecef[_0x2d713b]&&_0x21ecef[_0x2d713b]['isAdded'];)_0x2d713b++;let _0x149f2a=_0x56af75;for(;_0x3d2f63[_0x149f2a]&&_0x3d2f63[_0x149f2a]['isRemoved'];)_0x149f2a++;_0x369eb8(_0x21ecef,_0x51c36f,_0x2d713b),_0x369eb8(_0x3d2f63,_0x56af75,_0x149f2a);const _0x3083cd=_0x3d2f63['slice'](_0x56af75,_0x149f2a)['concat'](_0x21ecef['slice'](_0x51c36f,_0x2d713b));return _0x3083cd['sort']((_0x5ed61d,_0x4fdf13)=>_0x5ed61d['side']!=_0x4fdf13['side']?_0x5ed61d['side']-_0x4fdf13['side']:_0x5ed61d['level']!=_0x4fdf13['level']?_0x5ed61d['level']-_0x4fdf13['level']:_0x5ed61d['distance']!=_0x4fdf13['distance']?_0x4fdf13['distance']-_0x5ed61d['distance']:!!_0x5ed61d['isAdded']!=!!_0x4fdf13['isAdded']?-0x1==_0x5ed61d['side']||0x0==_0x5ed61d['side']?_0x5ed61d['isAdded']?-0x1:0x1:_0x5ed61d['isAdded']?0x1:-0x1:_0x5ed61d['index']-_0x4fdf13['index']),{'commonTape':_0x3083cd,'iEnd':_0x2d713b,'jEnd':_0x149f2a};function _0x369eb8(_0x3609dc,_0x3536cd,_0x127d34){let _0x2e7502=-0x1,_0x37aa14=Number['POSITIVE_INFINITY'],_0x5814a9=!0x0;for(let _0x5f0745=_0x3536cd;_0x5f0745<_0x127d34;_0x5f0745++)if(_0x13382d['isInline'](_0x3609dc[_0x5f0745]['item'])||(_0x5814a9=!0x1),_0x3609dc[_0x5f0745]['item']['startIndex']<_0x3536cd&&(_0x2e7502=_0x5f0745),_0x3609dc[_0x5f0745]['item']['endIndex']>=_0x127d34){_0x37aa14=_0x5f0745;break;}_0x5814a9&&(_0x2e7502=_0x127d34-0x1);for(let _0x388d4a=_0x3536cd;_0x388d4a<_0x127d34;_0x388d4a++)_0x3609dc[_0x388d4a]['side']=_0x388d4a<=_0x2e7502?-0x1:_0x388d4a<_0x37aa14?0x0:0x1,_0x3609dc[_0x388d4a]['index']=_0x388d4a;let _0x3a6fea=0x0;for(let _0x59a6c0=_0x3536cd;_0x59a6c0<=_0x2e7502;_0x59a6c0++)0x0==_0x3609dc[_0x59a6c0]['distance']?_0x3609dc[_0x59a6c0]['level']=_0x3a6fea:(_0x3a6fea++,_0x3609dc[_0x59a6c0]['level']=_0x3a6fea,_0x3a6fea++);for(let _0x110ecc=_0x3536cd;_0x110ecc<_0x127d34;_0x110ecc++)0x0==_0x3609dc[_0x110ecc]['side']&&(_0x3609dc[_0x110ecc]['level']=_0x3a6fea);_0x3a6fea=0x0;for(let _0x3739f8=_0x127d34-0x1;_0x3739f8>=_0x37aa14;_0x3739f8--)0x0==_0x3609dc[_0x3739f8]['distance']?_0x3609dc[_0x3739f8]['level']=_0x3a6fea:(_0x3a6fea--,_0x3609dc[_0x3739f8]['level']=_0x3a6fea,_0x3a6fea--);}}['_fixObsoleteTags'](_0x1f400f){const _0x56e5fc=new Map(),_0x27beef=this['editor']['model']['schema'];for(let _0x18f499=0x1;_0x18f499<_0x1f400f['length'];_0x18f499++){let _0x2b9bec,_0x4cd5ec,_0x51f893;const _0x10b75e=_0x1f400f[_0x18f499],_0x26e42d=_0x1f400f[_0x18f499-0x1];if('text'==_0x10b75e['type'])continue;if(_0x10b75e['type']!=_0x26e42d['type'])continue;if(!_0x27beef['isBlock'](_0x26e42d['item'])||_0x27beef['isLimit'](_0x26e42d['item']))continue;if(!_0x27beef['isBlock'](_0x10b75e['item'])||_0x27beef['isLimit'](_0x10b75e['item']))continue;if((_0x1f400f[_0x18f499]['isAdded']||_0x1f400f[_0x18f499]['isAddSuggestion'])&&_0x1f400f[_0x18f499-0x1]['isRemoved'])_0x2b9bec=_0x1f400f[_0x18f499],_0x4cd5ec=_0x1f400f[_0x18f499-0x1],_0x51f893=_0x18f499-0x1;else{if(!_0x1f400f[_0x18f499]['isRemoved']||!_0x1f400f[_0x18f499-0x1]['isAdded']&&!_0x1f400f[_0x18f499-0x1]['isAddSuggestion'])continue;_0x2b9bec=_0x1f400f[_0x18f499-0x1],_0x4cd5ec=_0x1f400f[_0x18f499],_0x51f893=_0x18f499;}const _0xe01c36=_0x2b9bec['level']==_0x4cd5ec['level'],_0x2fba74=Math['abs'](_0x2b9bec['level'])<Math['abs'](_0x4cd5ec['level'])&&0x0==_0x4cd5ec['distance'];(_0xe01c36||_0x2fba74)&&(_0x56e5fc['set'](_0x4cd5ec['id'],_0x2b9bec['id']),_0x1f400f['splice'](_0x51f893,0x1),_0x18f499--,_0x2b9bec['isAdded']=!0x1);}for(let _0x444233=0x0;_0x444233<_0x1f400f['length'];_0x444233++)_0x56e5fc['has'](_0x1f400f[_0x444233]['pairId'])&&(_0x1f400f[_0x444233]['pairId']=_0x56e5fc['get'](_0x1f400f[_0x444233]['pairId']));}['_removeMissingPairs'](_0x56079f){const _0xf02a98=new Set(_0x56079f['map'](_0x29eaed=>_0x29eaed['id']));for(let _0x3a8278=0x0;_0x3a8278<_0x56079f['length'];_0x3a8278++)_0xf02a98['has'](_0x56079f[_0x3a8278]['pairId'])||0x0==_0x56079f[_0x3a8278]['distance']||(_0x56079f[_0x3a8278]['isIncorrect']=!0x0);return _0x56079f['filter'](_0x356a92=>!_0x356a92['isIncorrect']);}['_markMismatchedRemovedTags'](_0xdcc4e6){const _0x412a8e=new Set();for(let _0x5e6ae9=0x0;_0x5e6ae9<_0xdcc4e6['length'];_0x5e6ae9++){if(_0x412a8e['has'](_0xdcc4e6[_0x5e6ae9]['id'])&&_0xdcc4e6[_0x5e6ae9]['isRemoved']&&(_0xdcc4e6[_0x5e6ae9]['isIncorrect']=!0x0),_0xdcc4e6[_0x5e6ae9]['isIncorrect'])continue;if(0x0==_0xdcc4e6[_0x5e6ae9]['distance'])continue;if('elementStart'!=_0xdcc4e6[_0x5e6ae9]['type'])continue;if(null==_0xdcc4e6[_0x5e6ae9]['pairId'])continue;let _0x198c2b=_0x5e6ae9+0x1,_0x2f3525=0x0;for(;_0xdcc4e6[_0x198c2b]['id']!=_0xdcc4e6[_0x5e6ae9]['pairId'];)'elementStart'==_0xdcc4e6[_0x198c2b]['type']?_0x2f3525++:'elementEnd'==_0xdcc4e6[_0x198c2b]['type']&&_0x2f3525--,_0x198c2b++;if(0x0!=_0x2f3525){if(_0xdcc4e6[_0x5e6ae9]['isRemoved'])_0xdcc4e6[_0x5e6ae9]['isIncorrect']=!0x0;else{for(;_0x198c2b!=_0x5e6ae9;)_0xdcc4e6[_0x198c2b]['isRemoved']&&0x0!=_0xdcc4e6[_0x198c2b]['distance']&&(_0xdcc4e6[_0x198c2b]['isIncorrect']=!0x0,_0x412a8e['add'](_0xdcc4e6[_0x198c2b]['pairId'])),_0x198c2b--;}}}return _0xdcc4e6['filter'](_0x50421d=>!_0x50421d['isIncorrect']);}['_removeUnsupportedChanges'](_0x4ede8c){const _0x3bf646=this['editor']['model']['schema'];for(let _0xb5df72=0x0;_0xb5df72<_0x4ede8c['length'];_0xb5df72++){if(!(_0x4ede8c[_0xb5df72]['isAdded']||_0x4ede8c[_0xb5df72]['isAddSuggestion']||_0x4ede8c[_0xb5df72]['isRemoved']||_0x4ede8c[_0xb5df72]['isRemoveSuggestion']))continue;if(0x0==_0x4ede8c[_0xb5df72]['distance'])continue;const _0x230aba=_0x4ede8c[_0xb5df72]['item'];_0x3bf646['isBlock'](_0x230aba)||_0x3bf646['isLimit'](_0x230aba)||(_0x4ede8c[_0xb5df72]['isAdded']&&delete _0x4ede8c[_0xb5df72]['isAdded'],_0x4ede8c[_0xb5df72]['isAddSuggestion']&&delete _0x4ede8c[_0xb5df72]['isAddSuggestion'],_0x4ede8c[_0xb5df72]['isRemoveSuggestion']&&delete _0x4ede8c[_0xb5df72]['isRemoveSuggestion'],_0x4ede8c[_0xb5df72]['isRemoved']&&(_0x4ede8c[_0xb5df72]['isIncorrect']=!0x0));}return _0x4ede8c['filter'](_0x506ce8=>!_0x506ce8['isIncorrect']);}['_makeModelFromTape'](_0x4d5347,_0x462238,_0x389f7d){const _0xf00f22=new wt(),_0x13d657=[],_0x39975e=new Map(),_0x2c527a=this['editor']['model'],_0x2a2a1f=_0x2c527a['schema'],_0x3dde9f=[_0xf00f22],_0x11614c={},_0x3b8e3f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3b3769=null;const _0x278f01=[0x0];for(let _0x378346=0x0;_0x378346<_0x4d5347['length'];_0x378346++){let _0x1ded27,_0x141b98;if('elementStart'===_0x4d5347[_0x378346]['type']){_0x1ded27=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01);const _0x527ad0=new ft(_0x4d5347[_0x378346]['item']['name'],_0x4d5347[_0x378346]['item']['getAttributes']());_0x3dde9f[0x0]['_appendChild'](_0x527ad0),_0x278f01['push'](0x0),_0x3dde9f['unshift'](_0x527ad0),_0x141b98=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x3b3769=null;}else{if('elementEnd'===_0x4d5347[_0x378346]['type'])_0x3dde9f['shift'](),_0x1ded27=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x278f01['pop'](),_0x278f01[_0x278f01['length']-0x1]++,_0x141b98=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x3b3769=null;else{if(_0x1ded27=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01),_0x3b3769&&_0x2c8bbf(_0x3b3769,_0x4d5347[_0x378346]['item']))_0x3b3769['_data']+=_0x4d5347[_0x378346]['item']['data'];else{const _0x13306b=new _t(_0x4d5347[_0x378346]['item']['data'],_0x4d5347[_0x378346]['item']['getAttributes']());_0x3dde9f[0x0]['_appendChild'](_0x13306b),_0x3b3769=_0x13306b;}_0x278f01[_0x278f01['length']-0x1]+=_0x4d5347[_0x378346]['item']['offsetSize'],_0x141b98=_0x2c527a['createPositionFromPath'](_0xf00f22,_0x278f01);}}for(const _0x1f52c7 of _0x4d5347[_0x378346]['markersStart'])_0x39975e['set'](_0x1f52c7,{'start':_0x1ded27,'end':null});_0x46f6a1('isRemoveSuggestion',_0x378346,_0x1ded27,_0x141b98),_0x46f6a1('isAddSuggestion',_0x378346,_0x1ded27,_0x141b98),_0x46f6a1('isRemoved',_0x378346,_0x1ded27,_0x141b98),_0x46f6a1('isAdded',_0x378346,_0x1ded27,_0x141b98);for(const _0x30b90c of _0x4d5347[_0x378346]['markersEnd']){_0x39975e['get'](_0x30b90c)['end']=_0x141b98;}}for(const [_0x2da513,_0x5803b8]of _0x39975e){const _0x2d67c4=this['editor']['model']['createRange'](_0x5803b8['start'],_0x5803b8['end']);_0xf00f22['markers']['set'](_0x2da513,_0x2d67c4);}return _0x13d657['sort']((_0x220c81,_0x4852c4)=>{const _0x5bd181=_0xf00f22['markers']['get']('revision:'+_0x220c81['id']),_0x548658=_0xf00f22['markers']['get']('revision:'+_0x4852c4['id']);return _0x5bd181['start']['isBefore'](_0x548658['start'])?-0x1:_0x5bd181['start']['isAfter'](_0x548658['start'])?0x1:_0x5bd181['end']['isBefore'](_0x548658['end'])?-0x1:_0x5bd181['end']['isAfter'](_0x548658['end'])?0x1:'add'===_0x220c81['type']?-0x1:0x1;}),{'root':_0xf00f22,'changes':_0x13d657};function _0x46f6a1(_0x4cc31d,_0x2aea08,_0x2029f7,_0x2787b3){const _0x13c5d4=!!_0x4d5347[_0x2aea08][_0x4cc31d],_0x1df1ea=_0x13c5d4?_0x4d5347[_0x2aea08][_0x4cc31d]['userId']:null,_0xb275cf=_0x2aea08===_0x4d5347['length']-0x1,_0x21e009=_0x3b8e3f[_0x4cc31d][0x0],_0x102f70=_0x2a2a1f['isObject'](_0x4d5347[_0x2aea08]['item']);!_0x11614c[_0x4cc31d]&&_0x13c5d4?_0x11614c[_0x4cc31d]={'start':_0x2029f7,'tapeItem':_0x4d5347[_0x2aea08],'userId':_0x1df1ea,'type':_0x4cc31d}:_0x11614c[_0x4cc31d]&&!_0x13c5d4?(_0x11614c[_0x4cc31d]['end']=_0x2029f7,_0x50d889(_0x11614c[_0x4cc31d]),_0x11614c[_0x4cc31d]=null):_0x11614c[_0x4cc31d]&&_0x13c5d4&&_0x11614c[_0x4cc31d]['userId']!==_0x1df1ea&&(_0x11614c[_0x4cc31d]['end']=_0x2029f7,_0x21e009&&_0x21e009['userId']===_0x11614c[_0x4cc31d]['userId']||_0x50d889(_0x11614c[_0x4cc31d]),_0x11614c[_0x4cc31d]={'start':_0x2029f7,'tapeItem':_0x4d5347[_0x2aea08],'userId':_0x1df1ea,'type':_0x4cc31d}),_0x11614c[_0x4cc31d]&&_0x102f70&&('elementStart'!==_0x4d5347[_0x2aea08]['type']||_0x21e009&&_0x21e009['userId']===_0x1df1ea||_0x3b8e3f[_0x4cc31d]['unshift']({'userId':_0x1df1ea,'object':_0x4d5347[_0x2aea08]['item'],'change':_0x11614c[_0x4cc31d]}),'elementEnd'===_0x4d5347[_0x2aea08]['type']&&_0x21e009&&_0x21e009['object']===_0x4d5347[_0x2aea08]['item']&&(_0x3b8e3f[_0x4cc31d]['shift'](),_0x11614c[_0x4cc31d]=_0x21e009['change'])),_0x11614c[_0x4cc31d]&&_0xb275cf&&(_0x11614c[_0x4cc31d]['end']=_0x2787b3,_0x50d889(_0x11614c[_0x4cc31d]),_0x11614c[_0x4cc31d]=null);}function _0x50d889({start:_0x267b8a,end:_0x2591ba,tapeItem:_0x48c600,userId:_0x406d00,type:_0x46551f}){const _0x3bcecb=_0x48c600['item'],_0xac97ba=_0x2c527a['schema']['isBlock'](_0x3bcecb)&&!_0x2c527a['schema']['isLimit'](_0x3bcecb),_0x101a37=_0x267b8a['nodeAfter']==_0x2591ba['parent']&&_0x2591ba['isAtStart'];if(_0xac97ba&&_0x101a37)return;const _0x28bc70=_0x2c527a['createRange'](_0x267b8a,_0x2591ba),_0x1e4552=_0x462238['get'](_0x406d00),_0x3c32ff=new r({'author':_0x1e4552,'type':'isAdded'==_0x46551f||'isAddSuggestion'==_0x46551f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x46551f||'isRemoveSuggestion'==_0x46551f},'createdAt':new Date(),'rootName':_0x389f7d});_0x13d657['push'](_0x3c32ff),_0xf00f22['markers']['set']('revision:'+_0x3c32ff['id'],_0x28bc70);}function _0x2c8bbf(_0x38138f,_0x295eae){const _0x519e2e=_0x38138f['getAttributes'](),_0x45e898=_0x295eae['getAttributes']();for(const _0x41f84c of _0x519e2e){if(_0x41f84c[0x1]!==_0x295eae['getAttribute'](_0x41f84c[0x0]))return!0x1;_0x45e898['next']();}return _0x45e898['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x56241e=>{const _0x1507d6=_0x56241e['markerName']['split'](':')[0x1],_0x43009f=this['_getChangeFromId'](_0x1507d6);if(!_0x43009f)return null;const _0x250b6c='add'==_0x43009f['type']?'insertion':'deletion',_0x29c545=['ck-suggestion-marker','ck-suggestion-marker-'+_0x250b6c];return _0x43009f['data']['isSuggestion']&&_0x29c545['push']('ck-suggestion-marker-'+_0x250b6c+'-new'),this['activeChange']==_0x43009f&&_0x29c545['push']('ck-suggestion-marker--active'),{'classes':_0x29c545,'attributes':{'data-change-id':_0x1507d6}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x54eac1=>{_0x54eac1['on']('element:pre',(_0x2bfda2,_0x28d1a5,_0x3389e6)=>{const _0x47b942=_0x28d1a5['viewItem']['getChild'](0x0);if(!_0x47b942||!_0x47b942['is']('element','code'))return;if(!_0x3389e6['consumable']['consume'](_0x47b942,{'attributes':['vid_start','vid_end']}))return;const _0x385774=_0x28d1a5['modelRange']['start']['nodeAfter'];_0x3389e6['writer']['setAttribute']('vid_start',_0x47b942['getAttribute']('vid_start'),_0x385774),_0x3389e6['writer']['setAttribute']('vid_end',_0x47b942['getAttribute']('vid_end'),_0x385774);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x136d81=>{_0x136d81['on']('element',(_0x5cb147,_0x2f1730,_0x4aa999)=>{if(!_0x4aa999['consumable']['consume'](_0x2f1730['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2f1730['modelRange']['isCollapsed'])return;const _0x4c746f=_0x2f1730['modelRange']['start']['nodeAfter'];_0x4c746f['hasAttribute']('vid_start')||_0x4c746f['hasAttribute']('vid')||(_0x4aa999['writer']['setAttribute']('vid_start',_0x2f1730['viewItem']['getAttribute']('vid_start'),_0x4c746f),_0x4aa999['writer']['setAttribute']('vid_end',_0x2f1730['viewItem']['getAttribute']('vid_end'),_0x4c746f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x26d1ec=>_0x26d1ec['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x6d27ad,[,_0x30d4f3])=>{['vid_start','vid_end','vid']['includes'](_0x30d4f3)&&(_0x6d27ad['return']=!0x0,_0x6d27ad['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x9bb457=>{_0x9bb457['on']('attribute:vid',(_0x443af5,_0xc4eda0,_0xcf4fbf)=>{if('\x20'!=_0xc4eda0['item']['data']||_0xc4eda0['item']['parent']['maxOffset']>0x1)return;if(!_0xcf4fbf['consumable']['consume'](_0xc4eda0['item'],_0x443af5['name']))return;const _0x3e858=_0xcf4fbf['writer'],_0x4522b7=_0xcf4fbf['mapper']['toViewRange'](_0xc4eda0['range']);_0x3e858['wrap'](_0x4522b7,_0x3e858['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3c15af){const _0x473a49=_0x3c15af['plugins']['get']('RevisionViewer');return(_0x578177,_0x420819,_0x571709)=>{const _0x278320=_0x420819['markerName']['split'](':')[0x1],_0x50a7fa=_0x473a49['_getChangeFromId'](_0x278320);if(!_0x50a7fa)return null;const _0x1a3ab6='add'==_0x50a7fa['type']?'split':'merge';if(!_0x571709['consumable']['test'](_0x420819['markerRange'],_0x578177['name']))return;const _0x2b379b=_0x420819['markerRange']['getWalker'](),_0x202ffc=_0x420819['markerRange']['start'],_0x4a06e3=_0x3c15af['model']['schema'];let _0x3f8da7=null,_0x3df80c=null,_0x271f65=!0x1,_0x332acf=!0x1;for(const _0x422ee9 of _0x2b379b){const _0x1e2fe4=_0x422ee9['item'];_0x271f65=_0x271f65||_0x4a06e3['isContent'](_0x1e2fe4);const _0x210bb4=_0x571709['mapper']['toViewElement'](_0x1e2fe4);if(_0x210bb4&&_0x210bb4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x422ee9['type']&&(_0x4a06e3['isBlock'](_0x1e2fe4)&&!_0x4a06e3['isLimit'](_0x1e2fe4)&&(_0x1e2fe4['nextSibling']||_0x202ffc['isAtEnd']?_0x3f8da7&&_0x3f8da7['parent']==_0x1e2fe4||(_0x3f8da7=_0x1e2fe4,_0x35a70e(_0x422ee9['previousPosition']),_0x332acf=!0x0):_0x3df80c=_0x3df80c||_0x422ee9['previousPosition']));}function _0x35a70e(_0x585314){const _0x1006f6=_0x571709['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a3ab6}),_0xf13d9=_0x571709['mapper']['toViewPosition'](_0x585314);_0x50a7fa['data']['isSuggestion']&&_0x571709['writer']['addClass']('ck-suggestion-marker-'+_0x1a3ab6+'-new',_0x1006f6),_0x473a49['activeChange']==_0x50a7fa&&_0x571709['writer']['addClass']('ck-suggestion-marker--active',_0x1006f6),_0x571709['writer']['insert'](_0xf13d9,_0x1006f6),_0x571709['mapper']['bindElementToMarker'](_0x1006f6,_0x420819['markerName']);}_0x271f65||_0x332acf||!_0x3df80c||_0x35a70e(_0x3df80c);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3382c7,_0x283c02,_0x4af749)=>{const _0x104277=_0x4af749['mapper']['markerNameToElements'](_0x283c02['markerName']);if(_0x104277){for(const _0x1ea7ee of _0x104277)(_0x1ea7ee['hasClass']('ck-suggestion-marker-split')||_0x1ea7ee['hasClass']('ck-suggestion-marker-merge'))&&(_0x4af749['mapper']['unbindElementFromMarkerName'](_0x1ea7ee,_0x283c02['markerName']),_0x4af749['writer']['remove'](_0x1ea7ee));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4fb7a4,_0x19886e,_0xad7fd6)=>{const _0x504e30=_0x19886e['markerName']['split'](':')[0x1],_0xf82841=this['_getChangeFromId'](_0x504e30);if(!_0xf82841)return null;const _0x146619='add'==_0xf82841['type']?'split':'merge';if(_0xad7fd6['consumable']['test'](_0x19886e['markerRange'],_0x4fb7a4['name']))for(const _0x20cee8 of _0x19886e['markerRange']['getItems']()){if(!_0x20cee8['is']('element','softBreak'))continue;const _0xf0939c=_0xad7fd6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x146619}),_0x81ca96=_0xad7fd6['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x20cee8));_0xf82841['data']['isSuggestion']&&_0xad7fd6['writer']['addClass']('ck-suggestion-marker-'+_0x146619+'-new',_0xf0939c),this['activeChange']==_0xf82841&&_0xad7fd6['writer']['addClass']('ck-suggestion-marker--active',_0xf0939c),_0xad7fd6['writer']['insert'](_0x81ca96,_0xf0939c),_0xad7fd6['mapper']['bindElementToMarker'](_0xf0939c,_0x19886e['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x15a918=>{for(const _0x232686 of this['editor']['model']['document']['getRootNames']()){const _0x21ff49=this['editor']['model']['document']['getRoot'](_0x232686),_0xef3c6a=this['editor']['editing']['view']['document']['getRoot'](_0x232686);if(_0xef3c6a){const _0x3ccf45=_0x21ff49['getAttribute']('revisionHistoryAttachChange');if(_0x15a918['removeAttribute']('data-change-id',_0xef3c6a),_0x15a918['removeClass']('ck-revision-history-root-add',_0xef3c6a),_0x15a918['removeClass']('ck-revision-history-root-remove',_0xef3c6a),_0x15a918['removeClass']('ck-revision-history-root--active',_0xef3c6a),_0x3ccf45){const _0x5476d2=this['_getChangeFromId'](_0x3ccf45);if(!_0x5476d2)return null;_0x15a918['setAttribute']('data-change-id',_0x3ccf45,_0xef3c6a),_0x15a918['addClass']('ck-revision-history-root-'+_0x5476d2['type'],_0xef3c6a),this['activeChange']==_0x5476d2&&_0x15a918['addClass']('ck-revision-history-root--active',_0xef3c6a);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x483a2a=>'revision-comment:'+_0x483a2a,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x34be54=>'revision-suggestion:'+_0x34be54,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3a7899=>({'name':'suggestion:'+_0x3a7899,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x54fc3b=>{const _0x15e7a6=_0x54fc3b['markerName']['split'](':')[0x1];return'insertion'!=_0x15e7a6&&'deletion'!=_0x15e7a6?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x15e7a6]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x4417b0,_0x19bb30,_0x29410f)=>{const _0x48ca79=_0x29410f['mapper']['markerNameToElements'](_0x19bb30['markerName']);if(_0x48ca79){for(const _0x171c72 of _0x48ca79)_0x171c72['is']('uiElement')&&(_0x29410f['mapper']['unbindElementFromMarkerName'](_0x171c72,_0x19bb30['markerName']),_0x29410f['writer']['remove'](_0x171c72));}},{'priority':'high'});}['_getChangeFromId'](_0x39cc1a){return this['_changeIdToChange']['get'](_0x39cc1a);}['_getViewForChange'](_0x9955b4){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x9955b4),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xed62c9,_0x3c6f7e,_0x3d3304,_0x5b6f92)=>{_0x5b6f92&&this['_balloon']['remove'](_0x5b6f92),_0x3d3304&&(this['_balloon']['add']({'view':_0x3d3304,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x523a51=this['editor']['editing'],_0x2fa142=this['_getChangeFromId'](_0x3d3304['changeId']);let _0x188537;if(_0x2fa142['data']['isOnRoot']){const _0x1663e7=_0x523a51['view']['getDomRoot'](_0x2fa142['rootName']);_0x188537=Array['from'](_0x1663e7['getClientRects']());}else{const _0x145228=this['editor']['model']['markers']['get']('revision:'+_0x3d3304['changeId']);_0x188537=Array['from'](_0x523a51['mapper']['markerNameToElements'](_0x145228['name']))['map'](_0x5d0f9f=>_0x523a51['view']['domConverter']['mapViewToDom'](_0x5d0f9f))['map'](_0x7aae3e=>Array['from'](_0x7aae3e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x188537[0x0];return _0x188537['find'](_0x4e4575=>_0x4e4575['top']-0x3<=this['_activeViewTarget']['y']&&_0x4e4575['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4e4575['left']-0x3<=this['_activeViewTarget']['x']&&_0x4e4575['right']+0x3>=this['_activeViewTarget']['x'])||_0x188537[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5e6e6a,_0x37e955,_0x58640e,_0x2a7797)=>{this['activeView']=_0x58640e?this['_getViewForChange'](_0x58640e):null,this['editor']['model']['change'](()=>{const _0x43923c=this['editor']['editing'];_0x2a7797&&(_0x2a7797['data']['isOnRoot']?_0x43923c['view']['change'](_0x225c9f=>{_0x225c9f['removeClass']('ck-revision-history-root--active',_0x43923c['view']['document']['getRoot'](_0x2a7797['rootName']));}):_0x43923c['reconvertMarker']('revision:'+_0x2a7797['id'])),_0x58640e&&(_0x58640e['data']['isOnRoot']?_0x43923c['view']['change'](_0x10fb3d=>{_0x10fb3d['addClass']('ck-revision-history-root--active',_0x43923c['view']['document']['getRoot'](_0x58640e['rootName']));}):_0x43923c['reconvertMarker']('revision:'+_0x58640e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2d5bb2,_0x3488c1)=>{if(this['activeChange'])return;const _0x71ea7d=this['_findChangeIdFromDomTarget'](_0x3488c1['target']),_0x3f79a9=this['_changeIdToChange']['get'](_0x71ea7d);_0x3f79a9?(this['_activeViewTarget']={'x':_0x3488c1['domEvent']['x'],'y':_0x3488c1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3f79a9)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xbc250e,_0x112491)=>{const _0x4d801f=this['_findChangeIdFromDomTarget'](_0x112491['target']),_0x2f25b8=this['_changeIdToChange']['get'](_0x4d801f);_0x2f25b8?(this['_activeViewTarget']={'x':_0x112491['domEvent']['x'],'y':_0x112491['domEvent']['y']},_0x2f25b8===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2f25b8):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x418e4d){do{const _0x22b975=_0x418e4d['getAttribute']('data-change-id');if(_0x22b975)return _0x22b975;_0x418e4d=_0x418e4d['parent'];}while(_0x418e4d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x6813c7=>{for(const _0x5d6066 of this['editor']['model']['markers'])_0x6813c7['removeMarker'](_0x5d6066);});}}function et(_0x16926d,_0x14d662){return(_0x2a9789,_0x3dbaaa,_0x5c0ac8)=>{if(!_0x5c0ac8['consumable']['test'](_0x3dbaaa['markerRange'],_0x2a9789['name']))return;const _0x307b81=_0x3dbaaa['markerRange']['getWalker'](),_0x1ee754=_0x3dbaaa['markerRange']['start'],_0x96311c=_0x16926d['model']['schema'];let _0x5339d7=null,_0x2c5fc8=null,_0x5ebc5a=!0x1,_0x2dcf2c=!0x1;for(const _0x34c14b of _0x307b81){const _0x229fd3=_0x34c14b['item'];_0x5ebc5a=_0x5ebc5a||_0x96311c['isContent'](_0x229fd3);const _0x51c41e=_0x5c0ac8['mapper']['toViewElement'](_0x229fd3);if(_0x51c41e&&_0x51c41e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34c14b['type']&&(_0x96311c['isBlock'](_0x229fd3)&&!_0x96311c['isLimit'](_0x229fd3)&&(_0x229fd3['nextSibling']||_0x1ee754['isAtEnd']?_0x5339d7&&_0x5339d7['parent']==_0x229fd3||(_0x5339d7=_0x229fd3,_0x15486a(_0x34c14b['previousPosition']),_0x2dcf2c=!0x0):_0x2c5fc8=_0x2c5fc8||_0x34c14b['previousPosition']));}function _0x15486a(_0x2421b9){const _0x5f4772=_0x5c0ac8['mapper']['toViewPosition'](_0x2421b9),_0x264ba9=_0x5c0ac8['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x14d662});_0x5c0ac8['writer']['insert'](_0x5f4772,_0x264ba9),_0x5c0ac8['mapper']['bindElementToMarker'](_0x264ba9,_0x3dbaaa['markerName']);}_0x5ebc5a||_0x2dcf2c||!_0x2c5fc8||_0x15486a(_0x2c5fc8);};}class bt extends _0x3f642e{constructor(_0x1def3b){super(_0x1def3b);const _0x9421d4=_0x1def3b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x9421d4,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x9421d4,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xcbca9e=this['editor'],_0x3c4e46=_0xcbca9e['plugins']['get'](d),_0x4b796a=_0x3c4e46['isReady']?_0x3c4e46['diff']['newRevisionId']:null;_0xcbca9e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4b796a);}['refresh'](){const {isReady:_0x26a8d0,isEnabled:_0x4a595b}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x26a8d0&&_0x4a595b;}}class yt extends _0x3f642e{['_step'];constructor(_0xbb1c23,{direction:_0x12b8cd}){super(_0xbb1c23);const _0x5bce8c=_0xbb1c23['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x12b8cd?0x1:-0x1,this['listenTo'](_0x5bce8c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5bce8c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5bce8c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2be5c5=this['editor'],_0x301416=_0x2be5c5['plugins']['get'](d),{isNavigationMode:_0x423f51,currentChangeNumber:_0x1263d8}=_0x301416;let _0x164ffd;if(_0x301416['activeChange']=_0x423f51?_0x301416['diff']['changes']['get'](_0x1263d8+this['_step']):_0x301416['diff']['changes']['first'],_0x301416['activeChange']['data']['isOnRoot'])_0x164ffd=_0x2be5c5['editing']['view']['getDomRoot'](_0x301416['activeChange']['rootName']);else{const _0x23eb79=_0x2be5c5['model']['markers']['get']('revision:'+_0x301416['activeChange']['id']);_0x164ffd=_0x544688(_0x2be5c5['editing'],_0x23eb79);}_0xc1d5e({'target':_0x164ffd,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x250683,currentChangeNumber:_0x168717,numberOfChanges:_0x25d7c4,isReady:_0x149447,isEnabled:_0x13819c}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x13819c&&_0x149447&&_0x25d7c4)&&(!_0x250683||(0x1===this['_step']?_0x168717<_0x25d7c4-0x1:_0x168717>0x0));}}class _i extends _0x72c54{constructor(_0x1c0b43){super(_0x1c0b43);const _0x2d065c=this['bindTemplate'],_0x2cea63=new _0x5a4920(_0x1c0b43),_0x56576e=new _0x5a4920(_0x1c0b43);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x4d8fb8,_0x5ca527)=>_0x4d8fb8&&_0x5ca527>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x321ccf,_0x2416e2,_0x17dc20,_0x27768b)=>{if(!_0x321ccf)return y(_0x1c0b43,'Loading...');if(!_0x17dc20)return y(_0x1c0b43,'No\x20changes');const _0x42286c=y(_0x1c0b43,'NUMBER_OF_CHANGES',_0x17dc20);return _0x27768b?y(_0x1c0b43,'X_OF_Y_CHANGES',[_0x2416e2+0x1,_0x17dc20]):_0x42286c;}),_0x2cea63['set']({'label':y(_0x1c0b43,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x56576e['set']({'label':y(_0x1c0b43,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x2cea63['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x56576e['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2cea63['on']('execute',()=>this['fire']('execute','backward')),_0x56576e['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x2d065c['if']('_isStatusLabelVisible','ck-hidden',_0x3c6f41=>!_0x3c6f41)]},'children':[{'text':_0x2d065c['to']('isNavigationMode',_0x964d12=>_0x964d12?y(_0x1c0b43,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1c0b43,'Total')+':\x20')}]},{'text':_0x2d065c['to']('_statusText')}]},new _0xc83c5a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2cea63,_0x56576e]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x490488{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5b27ec=this['editor']['editing']['view'];_0x5b27ec['change'](_0x29596a=>{for(const _0x5491b5 of _0x5b27ec['document']['roots'])_0x29596a['addClass'](ce,_0x5491b5);});}['hide'](){const _0x546ae6=this['editor']['editing']['view'];_0x546ae6['change'](_0x3c0161=>{for(const _0x421b28 of _0x546ae6['document']['roots'])_0x3c0161['removeClass'](ce,_0x421b28);});}}class R extends _0x490488{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x48dfc5=this['editor'],_0x4cc230=_0x48dfc5['plugins']['get'](d),_0x1da686=_0x48dfc5['plugins']['get'](de);_0x48dfc5['ui']['componentFactory']['add']('exitToEditing',_0x5b2897=>{const _0x43a3aa=new _0x5a4920(_0x5b2897);return _0x43a3aa['set']({'label':y(_0x5b2897,'Back\x20to\x20editing'),'icon':_0x4e50e6['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x43a3aa,'execute',()=>{_0x48dfc5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x43a3aa;}),_0x48dfc5['ui']['componentFactory']['add']('restoreRevision',_0x43cf4e=>{const _0x48f274=new _0x5a4920(_0x43cf4e);return _0x48f274['set']({'label':y(_0x43cf4e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x48f274['bind']('isEnabled')['to'](_0x48dfc5['commands']['get']('restoreRevision')),this['listenTo'](_0x48f274,'execute',()=>_0x48dfc5['execute']('restoreRevision')),_0x48f274;}),_0x48dfc5['ui']['componentFactory']['add']('changesNavigation',_0x1c435f=>{const _0x4db74e=new _i(_0x1c435f),_0x5d219e=_0x48dfc5['commands']['get']('showPreviousChange'),_0x16d818=_0x48dfc5['commands']['get']('showNextChange');return _0x4db74e['bind']('isBackwardNavigationEnabled')['to'](_0x5d219e,'isEnabled'),_0x4db74e['bind']('isForwardNavigationEnabled')['to'](_0x16d818,'isEnabled'),_0x4db74e['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4cc230),this['listenTo'](_0x4db74e,'execute',(_0x3b420e,_0x1ad314)=>{_0x48dfc5['execute']('forward'===_0x1ad314?'showNextChange':'showPreviousChange');}),_0x4db74e;}),_0x1da686['show'](),_0x4cc230['on']('change:isReady',(_0x33a720,_0x944d1c,_0x585d2c)=>{_0x585d2c?_0x1da686['hide']():_0x1da686['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2b7e89,_0x4829a2){super(_0x2b7e89,_0x4829a2);const _0x4ab7c9=this['bindTemplate'];this['set']({'label':y(_0x2b7e89,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2b7e89,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4ab7c9['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x23e17c=this['fieldView']['element'];this['_tooltipString']=_0x23e17c['scrollWidth']>_0x23e17c['clientWidth']&&_0x23e17c['value']||'';}}class ti extends _0x72c54{constructor(_0x3f8c22,_0x38664a,_0xa8bfbb){super(_0x3f8c22);const _0x1bcd69=new _0x240ebd();_0x1bcd69['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x4fef76=['ck','ck-revision-history-sidebar__revision-author'];_0xa8bfbb&&_0x4fef76['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4457d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3f8c22,_0xa8bfbb?'Revision\x20creator':'Revision\x20author')},'children':[_0x1bcd69,_0x38664a['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4fef76},'children':_0x4457d});}}function ni(_0x24a913,_0x48c785){const _0xe663ef=_0x24a913['bindTemplate'],_0x3868ed=_0x24a913['locale'],_0x4aa44e=_0x11eae5(_0x3868ed);_0x4aa44e['panelPosition']='sw';const _0x310e2f=function(_0x1bf9ff,_0x35cd09){const _0x10c9b6=function(_0x4d75fe,_0x2af65a){const _0xf1c425=_0x4d75fe['locale'],_0x3aca08={'Compare\x20against\x20selected':y(_0xf1c425,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xf1c425,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xf1c425,'Restore\x20this\x20revision')};return _0x2af65a['map'](_0x2a71ab=>{const _0x403196=_0x3aca08[_0x2a71ab['name']];return _0x403196&&_0x403196!==_0x2a71ab['name']&&(_0x2a71ab['name']=_0x403196),_0x2a71ab;});}(_0x1bf9ff,_0x35cd09),_0x58b5c1=new _0x52ae39();for(const _0xe5fd77 of _0x10c9b6){const _0xe70bfb={'type':'button','model':new to({'label':_0xe5fd77['name'],'class':_0xe5fd77['class'],'withText':!0x0,'role':'menuitem','_action':_0xe5fd77['action']})};_0xe70bfb['model']['bind']('isEnabled')['to'](_0x1bf9ff,'isActionsDropdownOpen',_0x39e6f4=>'function'!=typeof _0xe5fd77['isEnabled']||(!_0x39e6f4||_0xe5fd77['isEnabled'](_0x1bf9ff))),_0x58b5c1['add'](_0xe70bfb);}return _0x58b5c1;}(_0x24a913,_0x48c785);return _0x24a913['bind']('isActionsDropdownOpen')['to'](_0x4aa44e,'isOpen'),_0x4aa44e['buttonView']['set']({'label':y(_0x3868ed,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4e50e6['threeVerticalDots']}),_0x4aa44e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xe663ef['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xe663ef['to'](_0x5c43a5=>_0x5c43a5['stopPropagation']())}}),_0x4aa44e['on']('execute',_0x47d9e1=>{_0x24a913['isReady']&&'function'==typeof _0x47d9e1['source']['_action']&&_0x47d9e1['source']['_action'](_0x24a913);}),_0x3f4f83(_0x4aa44e,_0x310e2f,{'role':'menu'}),_0x4aa44e['listenTo'](_0x24a913,'change:isActionsDropdownOpen',(_0x4972ad,_0x23a1fd,_0x26e152)=>{if(_0x26e152)for(const _0x23cbaf of _0x4aa44e['listView']['items']){const _0x2e9d5d=_0x23cbaf['children']['first'],_0x10c055=_0x48c785['find'](_0x520112=>_0x520112['action']===_0x2e9d5d['_action'])['isVisible'];_0x23cbaf['isVisible']=void 0x0===_0x10c055||_0x10c055(_0x24a913);}}),_0x4aa44e;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{ObservableMixin as _0x2d215a,uid as _0x57e508,Collection as _0x504d6c,logWarning as _0x50326e,FocusTracker as _0x5de8d6,KeystrokeHandler as _0x1311df,scrollViewportToShowTarget as _0x5f2bc6,ResizeObserver as at,ElementReplacer as nt,CKEditorError as _0x386746}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x48669d,set as _0x2eb05f,unset as _0x30b97b,isEqual as _0x5bc8b1}from'lodash-es';import{Plugin as _0x5641b0,Context as _0x217c44,PendingActions as _0x4fc0ba,icons as _0x204acd,Command as _0x4078ce,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x10af68,getMarkerDomElement as _0x21c2c0,ConfirmMixin as ti,sanitizeEditorConfig as _0x2639d1}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x262c67,ViewText as _0x30021a,ViewElement as _0x23799c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1f7009,ViewAttributeElement as _0xd6a26c,ViewEmptyElement as _0x31103f,ViewRawElement as _0x576114,ViewUIElement as _0x276df6,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as ts,injectCssTransitionDisabler as _0x5d2df7,submitHandler as _0x529fcd,LabeledFieldView as _0x26e7d9,createLabeledInputText as _0x4edbb9,createDropdown as _0x118a74,ListView as _0x21451d,ListItemView as _0x35a49d,ButtonView as te,MenuBarMenuView as _0x3f00f1,MenuBarMenuListView as _0x3a4070,MenuBarMenuListItemView as _0x346cb0,MenuBarMenuListItemButtonView as _0x33a824,ContextualBalloon as _0x42efbd,ToolbarSeparatorView as _0x4a7340,IconView as _0x2b1894,addListToDropdown as to,ViewModel as _0x568eff,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 _0x4e0933}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2d215a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3ced21){super(),this['id']=_0x3ced21['id']||_0x57e508(),this['creator']=_0x3ced21['creator']||null,this['authors']=_0x3ced21['authors']||[],this['diffData']=_0x3ced21['diffData']||null,this['toVersion']=_0x3ced21['toVersion']||0x0,this['fromVersion']=_0x3ced21['fromVersion']||0x0,this['set']('name',_0x3ced21['name']||''),this['set']('createdAt',_0x3ced21['createdAt']||new Date()),this['set']('attributes',_0x3ced21['attributes']||{});}['setName'](_0x3a4492){this['_update']({'name':_0x3a4492});}['setAttribute'](_0x15ffdb,_0x38bc49){const _0x25bffb=_0x48669d(this['attributes']);_0x2eb05f(_0x25bffb,_0x15ffdb,_0x38bc49),this['_update']({'attributes':_0x25bffb});}['removeAttribute'](_0x559c3a){const _0x4a7138=_0x48669d(this['attributes']);_0x30b97b(_0x4a7138,_0x559c3a),this['_update']({'attributes':_0x4a7138});}['_update'](_0x312db2,_0x5944a3=!0x1){let _0x3a1944=!0x1;const _0x282fb0={'id':this['id']},_0x57e20d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3bf355 of _0x57e20d){const _0x2140ff=_0x312db2[_0x3bf355];void 0x0!==_0x2140ff&&_0x2140ff!==this[_0x3bf355]&&(this[_0x3bf355]=_0x2140ff,_0x282fb0[_0x3bf355]=_0x2140ff,_0x3a1944=!0x0);}_0x3a1944&&(_0x282fb0['authors']&&(_0x282fb0['authorsIds']=_0x282fb0['authors']['map'](_0x1892d6=>_0x1892d6['id']),delete _0x282fb0['authors']),this['fire']('_update',_0x282fb0,_0x5944a3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x50d188=>_0x50d188['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5641b0{['_revisions'];static get['requires'](){return[_0x10af68];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1e1a5d){super(_0x1e1a5d),this['_revisions']=new _0x504d6c();}['afterInit'](){!function(_0x437551){function _0x5670c3(_0x589d2a,_0x36bdb4,_0x45147b){const _0x56ffde={};_0x56ffde[_0x5702fc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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 _0x1d3055=new Uint8Array(0x10);for(let _0x4be0fc=0xf;_0x4be0fc>=0x0;--_0x4be0fc)_0x1d3055[_0x4be0fc]=_0x45147b%0x100,_0x45147b=parseInt(_0x45147b/0x100);let _0x1f080e=null,_0x19b20b=0x10;const _0x2be4f7=new Uint8Array(_0x36bdb4),_0x475aac=[],_0x10d10f=[];_0x57f020();for(let _0xa8c526=0x0;_0xa8c526<_0x589d2a[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa8c526++)0x10===_0x19b20b&&(_0x1f080e=_0x18b107(_0x1d3055),_0x19b20b=0x0,_0x3d5931(_0x1d3055)),_0x589d2a[_0xa8c526]^=_0x1f080e[_0x19b20b++];return _0x589d2a;function _0x15cae9(_0x5bb13a){const _0x2b4f66=[];for(let _0x2a9ba5=0x0;_0x2a9ba5<_0x5bb13a[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a9ba5+=0x4)_0x2b4f66[_0x5702fc([0x70,0x75,0x73,0x68])](_0x5bb13a[_0x2a9ba5]<<0x18|_0x5bb13a[_0x2a9ba5+0x1]<<0x10|_0x5bb13a[_0x2a9ba5+0x2]<<0x8|_0x5bb13a[_0x2a9ba5+0x3]);return _0x2b4f66;}function _0x3d5931(_0x4dd616){for(let _0x994e2a=0xf;_0x994e2a>=0x0;_0x994e2a--){if(0xff!==_0x4dd616[_0x994e2a]){_0x4dd616[_0x994e2a]++;break;}_0x4dd616[_0x994e2a]=0x0;}}function _0x18b107(_0x44fc62){const _0xa856f8=_0x475aac[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x460b90=[0x0,0x0,0x0,0x0];let t=_0x15cae9(_0x44fc62);for(let _0x138487=0x0;_0x138487<0x4;_0x138487++)t[_0x138487]^=_0x475aac[0x0][_0x138487];for(let _0x5e07ce=0x1;_0x5e07ce<_0xa856f8;_0x5e07ce++){for(let _0x5dd2e5=0x0;_0x5dd2e5<0x4;_0x5dd2e5++)_0x460b90[_0x5dd2e5]=_0x56ffde[_0x5702fc([0x54,0x31])][t[_0x5dd2e5]>>0x18&0xff]^_0x56ffde[_0x5702fc([0x54,0x32])][t[(_0x5dd2e5+0x1)%0x4]>>0x10&0xff]^_0x56ffde[_0x5702fc([0x54,0x33])][t[(_0x5dd2e5+0x2)%0x4]>>0x8&0xff]^_0x56ffde[_0x5702fc([0x54,0x34])][0xff&t[(_0x5dd2e5+0x3)%0x4]]^_0x475aac[_0x5e07ce][_0x5dd2e5];t=_0x460b90[_0x5702fc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x435c09=new Uint8Array(0x10);let _0xb293d;for(let _0x1a814d=0x0;_0x1a814d<0x4;_0x1a814d++)_0xb293d=_0x475aac[_0xa856f8][_0x1a814d],_0x435c09[0x4*_0x1a814d]=0xff&(_0x56ffde[_0x5702fc([0x53])][t[_0x1a814d]>>0x18&0xff]^_0xb293d>>0x18),_0x435c09[0x4*_0x1a814d+0x1]=0xff&(_0x56ffde[_0x5702fc([0x53])][t[(_0x1a814d+0x1)%0x4]>>0x10&0xff]^_0xb293d>>0x10),_0x435c09[0x4*_0x1a814d+0x2]=0xff&(_0x56ffde[_0x5702fc([0x53])][t[(_0x1a814d+0x2)%0x4]>>0x8&0xff]^_0xb293d>>0x8),_0x435c09[0x4*_0x1a814d+0x3]=0xff&(_0x56ffde[_0x5702fc([0x53])][0xff&t[(_0x1a814d+0x3)%0x4]]^_0xb293d);return _0x435c09;}function _0x57f020(){const _0x3f86fd=_0x56ffde[_0x5702fc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2be4f7[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x98b822=0x0;_0x98b822<=_0x3f86fd;_0x98b822++)_0x475aac[_0x5702fc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x10d10f[_0x5702fc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x234897=0x4*(_0x3f86fd+0x1),_0x21b05f=_0x2be4f7[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1649da=_0x15cae9(_0x2be4f7);let _0x51d9e8;for(let _0x30b9b8=0x0;_0x30b9b8<_0x21b05f;_0x30b9b8++)_0x51d9e8=_0x30b9b8>>0x2,_0x475aac[_0x51d9e8][_0x30b9b8%0x4]=_0x1649da[_0x30b9b8],_0x10d10f[_0x3f86fd-_0x51d9e8][_0x30b9b8%0x4]=_0x1649da[_0x30b9b8];let _0x43aa67,_0x574785=0x0,t=_0x21b05f;for(;t<_0x234897;){_0x43aa67=_0x1649da[_0x21b05f-0x1],_0x1649da[0x0]^=_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x10&0xff]<<0x18^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x8&0xff]<<0x10^_0x56ffde[_0x5702fc([0x53])][0xff&_0x43aa67]<<0x8^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x18&0xff]^_0x56ffde[_0x5702fc([0x72,0x63,0x6f,0x6e])][_0x574785]<<0x18,_0x574785+=0x1;for(let _0x361c1b=0x1;_0x361c1b<_0x21b05f/0x2;_0x361c1b++)_0x1649da[_0x361c1b]^=_0x1649da[_0x361c1b-0x1];_0x43aa67=_0x1649da[_0x21b05f/0x2-0x1],_0x1649da[_0x21b05f/0x2]^=_0x56ffde[_0x5702fc([0x53])][0xff&_0x43aa67]^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x8&0xff]<<0x8^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x10&0xff]<<0x10^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x18&0xff]<<0x18;for(let _0x3d6454=_0x21b05f/0x2+0x1;_0x3d6454<_0x21b05f;_0x3d6454++)_0x1649da[_0x3d6454]^=_0x1649da[_0x3d6454-0x1];let _0xc747b,_0x3209d7,_0x26e745=0x0;for(;_0x26e745<_0x21b05f&&t<_0x234897;)_0xc747b=t>>0x2,_0x3209d7=t%0x4,_0x475aac[_0xc747b][_0x3209d7]=_0x1649da[_0x26e745],_0x10d10f[_0x3f86fd-_0xc747b][_0x3209d7]=_0x1649da[_0x26e745++],t++;}for(let _0x5f13d1=0x1;_0x5f13d1<_0x3f86fd;_0x5f13d1++)for(let _0x2efb7d=0x0;_0x2efb7d<0x4;_0x2efb7d++)_0x43aa67=_0x10d10f[_0x5f13d1][_0x2efb7d],_0x10d10f[_0x5f13d1][_0x2efb7d]=_0x56ffde[_0x5702fc([0x55,0x31])][_0x43aa67>>0x18&0xff]^_0x56ffde[_0x5702fc([0x55,0x32])][_0x43aa67>>0x10&0xff]^_0x56ffde[_0x5702fc([0x55,0x33])][_0x43aa67>>0x8&0xff]^_0x56ffde[_0x5702fc([0x55,0x34])][0xff&_0x43aa67];}}function _0x5702fc(_0x5d7331){return _0x5d7331['map'](_0x19093d=>String['fromCharCode'](_0x19093d))['join']('');}(_0x2c2424=>{function _0x47ba90(){const _0x3b6289=[{[_0x5702fc([0x69,0x64])]:0x1,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5702fc([0x69,0x64])]:0x2,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([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]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5702fc([0x69,0x64])]:0x3,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5702fc([0x69,0x64])]:0x4,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([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]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5702fc([0x69,0x64])]:0x5,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([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]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x6,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x7,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x8,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([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]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x9,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5702fc([0x69,0x64])]:0xa,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([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]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([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]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([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]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0xb,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5702fc([0x69,0x64])]:0xc,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5702fc([0x69,0x64])]:0xd,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0xe,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5702fc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([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])},{[_0x5702fc([0x69,0x64])]:0xf,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5702fc([0x69,0x64])]:0x10,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}}];return _0x104949(_0x3b6289),_0x3b6289;function _0xfa6dd3(_0x2f29ae){return 0x1<<_0x2f29ae-0x1;}function _0x104949(_0x1a7c70){_0x1a7c70[_0x5702fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19f950=>{_0x19f950[_0x5702fc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xfa6dd3(_0x19f950[_0x5702fc([0x69,0x64])]),_0x5aaf11(_0x19f950)&&_0x19f950[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x104949(_0x19f950[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5aaf11(_0x494bbb){return _0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x494bbb;}const _0x2d776d=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x479784=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3862a6(_0x432764){const _0x3b8a6b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xc73a45(_0x432764,new Uint8Array([..._0x2d776d,..._0x3b8a6b,..._0x479784]));}function _0xc73a45(_0x5f4224,_0x2d112d){const _0x38926c=_0x2973d5(_0x5f4224),_0x5eda58=Array[_0x5702fc([0x66,0x72,0x6f,0x6d])](_0x54e7cf(_0x38926c)),_0x4b74ef=_0x5eda58[_0x5702fc([0x70,0x6f,0x70])](),_0x491501=_0x5eda58[_0x5702fc([0x70,0x6f,0x70])]();return _0x5bce4f(_0x5670c3(_0x5eda58,_0x2d112d,_0x491501+0x100*_0x4b74ef));}function _0x2973d5(_0x57d336){const _0x3d597c=atob(_0x57d336),[_0xcb5af3,_0x19012f]=_0x3d597c[_0x5702fc([0x73,0x70,0x6c,0x69,0x74])](_0x5702fc([0x2d]));try{if(atob(_0x19012f))return atob(_0xcb5af3);}catch(_0x13bcec){}return _0x3d597c;}function _0x443540(_0x5110d1){try{const _0x2b1310=_0x3862a6(_0x5110d1),_0x532311=JSON[_0x5702fc([0x70,0x61,0x72,0x73,0x65])](_0x2b1310),_0x562a76=parseInt(_0x532311[_0x5702fc([0x31])]),_0x593e71=_0x532311[_0x5702fc([0x32])]||'',_0x22f24b=parseInt(_0x532311[_0x5702fc([0x33])]),_0x5b1f6f=parseInt(_0x532311[_0x5702fc([0x34])])||0x0,_0x5409c1=parseInt(_0x532311[_0x5702fc([0x35])])||0x0;return{[_0x5702fc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x593e71,[_0x5702fc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5b1f6f,[_0x5702fc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x562a76,[_0x5702fc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x22f24b,[_0x5702fc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5409c1};}catch(_0x3cad52){return null;}}const _0x9632a6=_0x47ba90(),_0x298eca={[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5c3bea,[_0x5702fc([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])]:_0x4d2e3d,[_0x5702fc([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])]:_0x1420ed},_0x4c87b4=_0x2c2424[_0x5702fc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2e7ba9=_0x5702fc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2c2424?_0x2c2424['context']:_0x2c2424['editor'],_0x1ca198=_0x5702fc([0x34,0x30,0x34,0x38,0x31,0x38,0x31,0x30]),_0x355c6f=_0x5702fc([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]),_0x18127b=_0x2e7ba9['config']['get'](_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x360ce5=_0x9632a6[_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5aaf11)[_0x5702fc([0x66,0x69,0x6e,0x64])](_0x568377=>_0x568377[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x4c87b4);function _0xe21d67(_0x33c512,_0x23fb48){_0x298eca[_0x23fb48[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x33c512,_0x23fb48),_0x23fb48[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x23fb48[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ae683=>_0x4322d5(_0x2e7ba9,_0x1ae683[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5702fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48e2cd=>_0xe21d67(_0x33c512,_0x48e2cd));}function _0x5c3bea(_0x5c4f3f,_0x5404f7){_0x34d8bf(_0x5be1cc(_0x5c4f3f,_0x5404f7),_0x5404f7);}function _0x4d2e3d(_0x4834bf,_0x29e157){function _0x34b8b9(_0xbc723d,_0x4ea466){try{if(_0x4322d5(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xbc723d){const _0xa69187=_0x485879(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5702fc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xa69187)/0x2>_0xbc723d[_0x5702fc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x50992d(_0x4ea466[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5be1cc(_0xbc723d,_0x4ea466);}catch(_0x15b792){return _0x50992d(_0x4ea466[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x34d8bf(_0x34b8b9(_0x4834bf,_0x29e157),_0x29e157);}function _0x1420ed(_0x565133,_0x463859){const _0x5500f6=_0x479784[0x0]*_0x2d776d[0x1],_0x4f14d3=_0x479784[0x0]*_0x2d776d[0x2],_0x29bd64=_0x479784[0x2]*_0x2d776d[0x2];_0x4322d5(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x485879(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x404d44()]=_0x29bd64);function _0x24620b(_0x4a1c76,_0x4ce191){try{return _0x2bb0ba()?_0x50992d(_0x4ce191[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x56,0x61,0x6c,0x69,0x64])):_0x5be1cc(_0x4a1c76,_0x4ce191);}catch(_0x4b540b){return _0x50992d(_0x4ce191[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xb6b29b(_0x392bd4,_0x145001){const _0x13d674=0x7;if(_0x392bd4==_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xd2e938();else{if(_0x392bd4==_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])){const _0x9366a6=_0x5e9a95();_0x9366a6&&_0xba678d(_0x9366a6,_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5ef34f=_0xec221e();window[_0x5702fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xba678d(_0x5702fc([0x74,0x69,0x6d,0x65]),_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5ef34f);const _0x43b4ac=_0x485879(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5702fc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x43b4ac[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x13d674?_0xba678d(_0x5702fc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x43b4ac['on'](_0x5702fc([0x61,0x64,0x64]),()=>{_0x43b4ac[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x13d674&&_0xba678d(_0x5702fc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5e9a95(){if(!_0x4322d5(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x333c8f in window)if(Number['isNaN'](Number(_0x333c8f))){if(window[_0x333c8f]===_0x5500f6)return _0x5702fc([0x74,0x69,0x6d,0x65]);if(window[_0x333c8f]===_0x4f14d3)return _0x5702fc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2bb0ba(){if(!_0x4322d5(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x25196e in window)if(Number['isNaN'](Number(_0x25196e))&&window[_0x25196e]===_0x29bd64)return!0x0;return!0x1;}function _0xba678d(_0x335167,_0x4d94a0){_0xd2e938(),_0x50992d(_0x4d94a0+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x335167),window[_0x404d44()]=_0x335167===_0x5702fc([0x74,0x69,0x6d,0x65])?_0x5500f6:_0x4f14d3;}function _0xec221e(){let _0x1a928f=_0x479784[0x6]*_0x2d776d[0x8]*_0x2d776d[0x6];return _0x4322d5(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1a928f/=0xa),_0x1a928f;}function _0xd2e938(){const _0x169542=_0x2e7ba9;function _0x45436a(){_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa9680,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa9680,_0x169542[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x169542[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x169542[_0x5702fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa9680,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa9680);}_0x169542[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x72,0x65,0x61,0x64,0x79])?_0x45436a():_0x169542[_0x5702fc([0x6f,0x6e,0x63,0x65])](_0x5702fc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x45436a(),_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x53fe71=_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1e1c1a=_0x53fe71['getRevision'](0x0),_0x33793c=_0x53fe71['getEarlierVisibleRevision'](_0x1e1c1a[_0x5702fc([0x69,0x64])]);_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1e1c1a[_0x5702fc([0x69,0x64])],_0x33793c?_0x33793c[_0x5702fc([0x69,0x64])]:null,0x1)['then'](()=>_0x45436a());}});}_0xb6b29b(_0x24620b(_0x565133,_0x463859),_0x463859);}function _0x5be1cc(_0x14e7d7,_0x312b19){try{return _0x2d95f6(_0x312b19)?_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x56,0x61,0x6c,0x69,0x64])):_0x14e7d7&&_0x1def53(_0x14e7d7[_0x5702fc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x312b19)?_0x14e7d7[_0x5702fc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5702fc([0x6f,0x70,0x65,0x6e])][_0x5702fc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1ca198)/0x2>_0x14e7d7[_0x5702fc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x14e7d7[_0x5702fc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])):_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x56,0x61,0x6c,0x69,0x64])):_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1df580){return _0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x34d8bf(_0x3b9ac4,_0x51872b){if(_0x2e7ba9 instanceof _0x217c44){const _0x1ac094=_0x2e7ba9;_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5b01ca(_0x1ac094):_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5702fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5b01ca(_0x1ac094),_0x50992d(_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x479784[0x6]*_0x2d776d[0x8]*_0x2d776d[0x6]),_0x1ac094[_0x5702fc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5702fc([0x6f,0x6e])](_0x5702fc([0x61,0x64,0x64]),(_0x3221eb,_0x589af7)=>{_0x3b9ac4!=_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3b9ac4!=_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3b9ac4!=_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x269155(_0x589af7);});}else{const _0x49d213=_0x2e7ba9;_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x269155(_0x49d213):_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])&&_0x49d213[_0x5702fc([0x6f,0x6e])](_0x5702fc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x28600d=0x0;_0x49d213[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x6f,0x6e])](_0x5702fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dc950,_0x1d84bb)=>{_0x1d84bb[0x0][_0x5702fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28600d++,0x1f8===_0x28600d&&(_0x269155(_0x49d213),_0x50992d(_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1dc950[_0x5702fc([0x6f,0x66,0x66])]());},{'priority':_0x5702fc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x50992d(_0x1cf5d5){const _0x26e2b5=_0x404d44();return _0x2e7ba9[_0x26e2b5]=_0x1cf5d5,_0x1cf5d5;}function _0x404d44(){const _0x1af01b=String(window[_0x5702fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5702fc([0x6e,0x6f,0x77])]())[_0x5702fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5702fc([0x2e]),'');let _0x4596c3='';for(let _0x151318=0x0;_0x151318<_0x1af01b[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x151318+=0x2){let _0x5f28eb=parseInt(_0x1af01b[_0x5702fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151318,_0x151318+0x2));_0x5f28eb>=_0x355c6f[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f28eb-=_0x355c6f[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4596c3+=_0x355c6f[_0x5f28eb];}return _0x4596c3;}function _0x5b01ca(_0x54db37){for(const _0x5e0039 of _0x54db37[_0x5702fc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x269155(_0x5e0039);_0x485879(_0x54db37,_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5702fc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x485879(_0x54db37,_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5702fc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa9680;}function _0x269155(_0x10f7a3){function _0x1de87d(){_0x10f7a3[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x10f7a3[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x10f7a3[_0x5702fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x10f7a3[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x72,0x65,0x61,0x64,0x79])?_0x1de87d():_0x10f7a3[_0x5702fc([0x6f,0x6e,0x63,0x65])](_0x5702fc([0x72,0x65,0x61,0x64,0x79]),()=>_0x1de87d());}function _0xa9680(){return null;}function _0x1def53(_0x211490,_0x370836){const _0x3665ad=!!(_0x211490&_0x370836[_0x5702fc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x43f936=_0x4936ad(_0x211490,_0x370836);return _0x3665ad||_0x43f936;}function _0x4936ad(_0x5b9a98,_0xd22a4f){const _0x2b43e1=(_0xd22a4f[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5702fc([0x66,0x67,0x69])]||null;return!!_0x2b43e1&&_0x9632a6[_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc18456=>_0x2b43e1[_0x5702fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc18456[_0x5702fc([0x69,0x64])]))[_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30b37e=>!_0x2a5677(_0x30b37e))[_0x5702fc([0x73,0x6f,0x6d,0x65])](_0x28992b=>!!(_0x5b9a98&_0x28992b[_0x5702fc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2a5677(_0x2d39eb){const _0x90a8a3={[_0x5702fc([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])]:_0x24d731};return!!_0x2d39eb['forbiddenHandler']&&_0x90a8a3[_0x2d39eb['forbiddenHandler']]();}function _0x24d731(){return!window[_0x5702fc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4322d5(_0x2e7ba9,_0x5702fc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2d95f6(_0xff04f5){if(!_0x4322d5(_0x2e7ba9,_0xff04f5[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1076d9=_0xff04f5[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3d271d=_0x1076d9[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x27d95a=_0x1076d9[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1a4084=_0x1076d9[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4322d5(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x485879(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3d271d)return!0x0;if(_0x4322d5(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x485879(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5702fc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5702fc([0x65,0x6e,0x64])&&_0x27d95a)return!0x0;return!(!_0x4322d5(_0x2e7ba9,_0x5702fc([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]))||_0x485879(_0x2e7ba9,_0x5702fc([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]))[_0x5702fc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5702fc([0x65,0x6e,0x64])||!_0x1a4084);}function _0x4322d5(_0x2dd8d5,_0x768b58){return _0x2dd8d5[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5702fc([0x68,0x61,0x73])](_0x768b58);}function _0x485879(_0x1f4df9,_0x85daf7){return _0x1f4df9[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5702fc([0x67,0x65,0x74])](_0x85daf7);}function _0x5bce4f(_0x2a4d06){let _0x483ae1='';for(const _0x1158b0 of _0x2a4d06)_0x483ae1+=String[_0x5702fc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1158b0);return _0x483ae1;}function _0x54e7cf(_0x32f644){const _0x48e6d5=new Uint8Array(_0x32f644[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3f2986=0x0;_0x3f2986<_0x32f644[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f2986++)_0x48e6d5[_0x3f2986]=_0x32f644[_0x5702fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f2986);return _0x48e6d5;}_0x360ce5&&_0xe21d67(_0x443540(_0x18127b),_0x360ce5);})(_0x437551);}(this);}['createRevision'](_0x3b212c){const _0xa8575b=this['editor']['plugins']['get']('Users');return new a({'id':_0x3b212c['id'],'name':_0x3b212c['name'],'creator':_0x3b212c['creatorId']?_0xa8575b['getUser'](_0x3b212c['creatorId']):null,'diffData':_0x3b212c['diffData']||_0x3b212c['data'],'authors':_0x3b212c['authorsIds']['map'](_0x86702f=>_0xa8575b['getUser'](_0x86702f)),'createdAt':new Date(_0x3b212c['createdAt']),'attributes':_0x3b212c['attributes'],'fromVersion':_0x3b212c['fromVersion'],'toVersion':_0x3b212c['toVersion']});}['addRevision'](_0x4bc265,_0x3ee907=0x0){this['_revisions']['add'](_0x4bc265,_0x3ee907);}['getRevision'](_0x3db91f){return this['_revisions']['get'](_0x3db91f);}['getRevisions'](_0x3e0975={'toJSON':!0x1}){const _0x2cfedc=Array['from'](this['_revisions']);return _0x2cfedc['reverse'](),_0x3e0975['toJSON']?_0x2cfedc['map'](_0x56a641=>_0x56a641['toJSON']()):_0x2cfedc;}['getIndex'](_0x15543b){return this['_revisions']['getIndex'](_0x15543b);}['getEarlierVisibleRevision'](_0x793162){const [,_0x19de28]=this['getRevisionsIterator'](_0x793162,{'direction':'earlier'});return _0x19de28;}['getLaterVisibleRevision'](_0x5a1327){const [,_0x1a8579]=this['getRevisionsIterator'](_0x5a1327,{'direction':'later'});return _0x1a8579;}['getRevisionsInDiff'](_0x53ebaf){const _0xdd94d8=[];for(const _0x4ecce5 of this['getRevisionsIterator'](_0x53ebaf['newRevisionId']))if(_0xdd94d8['push'](_0x4ecce5),_0x4ecce5['id']===_0x53ebaf['oldRevisionId'])break;return _0xdd94d8;}*['getRevisionsIterator'](_0x5b62e7,{direction:_0x3eef1f='earlier',filter:_0x3870e2=_0x2ad93d=>!0x0}={}){const _0x15a004='earlier'===_0x3eef1f?0x1:-0x1;let _0x1269d2=this['_revisions']['get'](_0x5b62e7),_0x1d1587=this['getIndex'](_0x1269d2);for(yield _0x1269d2;_0x1269d2;){if(_0x1d1587+=_0x15a004,_0x1269d2=this['getRevision'](_0x1d1587),!_0x1269d2)return;_0x3870e2(_0x1269d2)&&(yield _0x1269d2);}}}function y(_0xd6a525,_0x8ca174,_0xc1aa33){const t=_0xd6a525['t'];switch(_0x8ca174){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'},_0xc1aa33);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xc1aa33);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':_0x1f7009,'a':_0xd6a26c,'e':_0x31103f,'r':_0x576114,'u':_0x276df6};class l extends _0x5641b0{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x10af68,A,_0x4fc0ba];}constructor(_0x4a1624){super(_0x4a1624),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 _0x926062=_0x57e508();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x926062},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 _0x4f3c9a=this['repository']['getRevision'](0x0),_0x3f5f25=_0x4f3c9a&&null===_0x4f3c9a['creator']?_0x4f3c9a:null;if(this['_continueCurrentRevision']=!!_0x3f5f25&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x46e1ee=this['_source']['getCurrentRevisionId'](),_0x23f35c=this['repository']['getRevision'](_0x46e1ee);if(_0x23f35c)this['_startingVersion']=_0x23f35c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x37f90a=this['_source']['history']['_operations']['find'](_0x1f3901=>!_0x1f3901['_isInit']),_0x46c25c=_0x37f90a?_0x37f90a['baseVersion']:this['_source']['history']['version'];_0x4f3c9a?(_0x4f3c9a['toVersion']<_0x46c25c&&_0x4f3c9a['_update']({'toVersion':_0x46c25c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f5f25['id'],this['_startingVersion']=_0x3f5f25['fromVersion']):(this['_startingVersion']=_0x4f3c9a['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x46c25c,this['_continueCurrentRevision']=!0x1);}}else _0x3f5f25&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f5f25['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f5f25['fromVersion']===_0x3f5f25['toVersion']?(0x0!==_0x3f5f25['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f5f25['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f5f25['id'],this['_startingVersion']=_0x3f5f25['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',_0x57420c=>!_0x57420c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2bc308=this['repository']['getRevision'](0x0),_0x1eea59=await this['getRevisionDocumentData'](_0x2bc308),_0x22f33d=await this['getRevisionRootsAttributes'](_0x2bc308);this['_replaceEditorDataWithRevisionData'](_0x1eea59,_0x22f33d);}}['setSource'](_0x495c9c){this['_source']=_0x495c9c;}async['update'](){const _0x3bc47e=await this['_source']['getLatestVersion']();if(_0x3bc47e>this['currentRevision']['toVersion']){await this['_loadState']();const _0x176576=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3bc47e});_0x176576['authors']=_0x176576['authorsIds']['map'](_0x37b63d=>this['editor']['plugins']['get']('Users')['getUser'](_0x37b63d)),this['currentRevision']['_update'](_0x176576);}}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'](_0x4f75f1={},_0x161b21=null){const _0x4dd7ec=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x161b21>this['currentRevision']['toVersion']&&(_0x161b21=null),null===_0x161b21&&(_0x161b21=await this['_source']['getLatestVersion']());const _0x4e0b82=this['_getFromVersion'](_0x161b21),_0x10f423=this['buildRevisionData']({'from':_0x4e0b82,'to':_0x161b21});if(this['currentRevision']['toVersion']<_0x161b21){const _0xcf213c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x161b21,'to':_0x161b21});_0xcf213c['authors']=[],_0xcf213c['authorsIds']=[],_0xcf213c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xcf213c,!0x0),delete _0xcf213c['authors'],_0x4dd7ec['push'](_0xcf213c);}_0x4f75f1['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4f75f1['name']=_0x4f75f1['name']||null,_0x4f75f1['id']=_0x4f75f1['id']||_0x57e508(),_0x4f75f1={..._0x4f75f1,..._0x10f423};const _0x510da9=this['addRevisionData'](_0x4f75f1);_0x4dd7ec['push'](_0x4f75f1);const _0x451243=this['repository']['getIndex'](_0x510da9);if(0x0!==_0x451243){const _0x5a0795=this['repository']['getRevision'](_0x451243-0x1);if(_0x5a0795['fromVersion']!==_0x161b21){const _0x1f9fd0=this['_revisionDataBuilder']['getData'](_0x161b21,_0x5a0795['toVersion']),_0xde28c3={'id':_0x5a0795['id'],'diffData':_0x1f9fd0['diffData'],'authorsIds':_0x1f9fd0['authorsIds'],'authors':_0x1f9fd0['authorsIds']['map'](_0xd14de4=>this['editor']['plugins']['get']('Users')['getUser'](_0xd14de4)),'fromVersion':_0x161b21};_0x5a0795===this['currentRevision']&&(_0xde28c3['createdAt']=new Date(_0x4f75f1['createdAt']['getTime']()+0xa)),_0x5a0795['_update'](_0xde28c3,!0x0),delete _0xde28c3['authors'],_0x4dd7ec['push'](_0xde28c3);}}if(this['adapter']){for(const _0x487f31 of _0x4dd7ec)this['_bufferUpdate'](_0x487f31['id'],_0x487f31,!0x0);this['sendBufferedUpdates']();}return _0x510da9;}['addRevisionData'](_0x3a5de3){const _0x4b7ba1=this['repository']['createRevision'](_0x3a5de3);return this['adapter']&&_0x4b7ba1['on']('_update',(_0x3b7bd9,_0x464ea9,_0x396eac)=>{_0x396eac||(this['_bufferUpdate'](_0x464ea9['id'],_0x464ea9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4b7ba1,this['_findInsertionIndex'](_0x4b7ba1)),_0x4b7ba1;}async['getRevisionDocumentData'](_0x27960c){await this['_loadRevisionData'](_0x27960c);const _0x46bed3={};for(const _0x40dc2e in _0x27960c['diffData']){if(_0x27960c['diffData'][_0x40dc2e]['attachChange']&&!_0x27960c['diffData'][_0x40dc2e]['attachChange']['isAttached'])continue;const _0x1f726d=this['_removeRevisionMarkers'](JSON['parse'](_0x27960c['diffData'][_0x40dc2e]['insertions'])),_0x79fbf0=this['editor']['editing']['view']['document'],_0x54910d=new _0x262c67(_0x79fbf0,_0x1f726d['map'](_0x188fab=>B(_0x188fab,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x46bed3[_0x40dc2e]=this['editor']['data']['processor']['toData'](_0x54910d),this['editor']['data']['processor']['useFillerType']('default');}return _0x46bed3;}async['getRevisionRootsAttributes'](_0x2c9b4b){await this['_loadRevisionData'](_0x2c9b4b);const _0x31ffc4={};for(const _0x194995 in _0x2c9b4b['diffData'])_0x2c9b4b['diffData'][_0x194995]['attachChange']&&!_0x2c9b4b['diffData'][_0x194995]['attachChange']['isAttached']||(_0x31ffc4[_0x194995]=_0x2c9b4b['diffData'][_0x194995]['attributesAfter']||{});return _0x31ffc4;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1573f1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x138104=0x0;_0x138104<_0x1573f1['length'];_0x138104++){const _0x2392cb=_0x1573f1[_0x138104];let _0x1d5fa4=!0x1;for(const _0x121d39 of Object['keys'](_0x2392cb))void 0x0===_0x2392cb[_0x121d39]?delete _0x2392cb[_0x121d39]:'id'!==_0x121d39&&(_0x1d5fa4=!0x0);_0x1d5fa4||(_0x1573f1[_0x138104]=null);}if(_0x1573f1=_0x1573f1['filter'](_0xae5760=>null!==_0xae5760),!_0x1573f1['length'])return;for(let _0x358327=0x0;_0x358327<_0x1573f1['length'];_0x358327++){const _0x8714f=_0x1573f1[_0x358327];void 0x0!==_0x8714f['fromVersion']&&void 0x0===_0x8714f['toVersion']&&(_0x8714f['toVersion']=this['repository']['getRevision'](_0x8714f['id'])['toVersion']),void 0x0!==_0x8714f['toVersion']&&void 0x0===_0x8714f['fromVersion']&&(_0x8714f['fromVersion']=this['repository']['getRevision'](_0x8714f['id'])['fromVersion']);}const _0x14c009=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1573f1,_0x14c009)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xd7aa03=>{if(_0xd7aa03){for(const _0x31d261 of _0xd7aa03)this['setRevisionData']({'id':_0x31d261['id'],'createdAt':_0x31d261['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4dee55,_0x5390b0){let _0x130b6b=this['editor']['config']['get']('initialData'),_0x396114=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x130b6b){_0x130b6b={};for(const _0x2e127e of this['editor']['model']['document']['getRootNames']())_0x130b6b[_0x2e127e]='';}if('string'==typeof _0x130b6b&&(_0x130b6b={'main':_0x130b6b}),void 0x0===_0x396114){_0x396114={};for(const _0x426560 of this['editor']['model']['document']['getRootNames']())_0x396114[_0x426560]={};}let _0x37650e=!0x1;const _0x52ef08=Object['keys'](_0x130b6b),_0x5354cd=Object['keys'](_0x4dee55);for(const _0x1d4d19 of _0x52ef08){if(_0x130b6b[_0x1d4d19]!==_0x4dee55[_0x1d4d19]&&''!==_0x130b6b[_0x1d4d19]['trim']()){_0x37650e=!0x0;break;}if(!_0x5bc8b1(_0x396114[_0x1d4d19],_0x5390b0[_0x1d4d19])&&Object['keys'](_0x396114[_0x1d4d19])['length']>0x0){_0x37650e=!0x0;break;}}_0x37650e||(_0x37650e=_0x5354cd['some'](_0x5b9c80=>!this['editor']['model']['document']['getRoot'](_0x5b9c80))),_0x37650e&&_0x50326e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x130b6b,'editorRootsAttributes':_0x396114,'revisionData':_0x4dee55,'revisionRootsAttributes':_0x5390b0}),this['editor']['config']['set']('initialData',_0x4dee55),this['editor']['config']['set']('rootsAttributes',_0x5390b0);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xb0b8b2=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xb0b8b2['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x352a59){const _0x22187e=this['repository']['getRevisions']();_0x22187e['reverse']();let _0x41bf39=0x0;for(;_0x41bf39<_0x22187e['length'];){const _0x5f2b82=_0x22187e[_0x41bf39];if(_0x5f2b82===this['currentRevision']){_0x41bf39++;continue;}if(_0x5f2b82['id']===this['_initialRevisionId'])break;const _0x1a2bf2=_0x352a59['toVersion']-_0x5f2b82['toVersion']||_0x352a59['fromVersion']-_0x5f2b82['fromVersion'];if(_0x1a2bf2>0x0)break;if(_0x1a2bf2<0x0)_0x41bf39++;else{if(!_0x352a59['creator']&&_0x5f2b82['creator'])break;if(_0x5f2b82['creator']||!_0x352a59['creator']){if(_0x352a59['createdAt']>_0x5f2b82['createdAt'])break;_0x41bf39++;}else _0x41bf39++;}}return _0x41bf39;}['setRevisionData'](_0x107f97){const _0x2a287c=this['repository']['getRevision'](_0x107f97['id']);if(_0x107f97['createdAt']&&(_0x107f97['createdAt']=new Date(_0x107f97['createdAt'])),_0x107f97['authorsIds']){const _0x3ef032=this['editor']['plugins']['get']('Users');_0x107f97['authors']=_0x107f97['authorsIds']['map'](_0x9f4c11=>_0x3ef032['getUser'](_0x9f4c11));}_0x2a287c['_update'](_0x107f97,!0x0);}['buildRevisionData']({revision:_0x361e00=null,from:_0x421a2a=null,to:_0x4b70f5=null}){_0x421a2a=null!==_0x421a2a?_0x421a2a:_0x361e00['fromVersion'],_0x4b70f5=null!==_0x4b70f5?_0x4b70f5:_0x361e00['toVersion'];const _0x3acf2f=this['_revisionDataBuilder']['getData'](_0x421a2a,_0x4b70f5),_0xa90bea={'diffData':_0x3acf2f['diffData'],'authorsIds':_0x3acf2f['authorsIds'],'fromVersion':_0x421a2a,'toVersion':_0x4b70f5};if(!_0x361e00||_0x4b70f5!==_0x361e00['toVersion']){const _0x34350b=_0x4b70f5-0x1,_0x37b2dc=this['_source']['history']['getOperation'](_0x34350b);_0xa90bea['createdAt']=_0x37b2dc&&_0x37b2dc['createdAt']||new Date();}if(this['_loadedStateData']&&_0x421a2a===this['_loadedStateData']['fromVersion']){for(const _0x264886 of this['_loadedStateData']['authors'])_0xa90bea['authorsIds']['includes'](_0x264886['id'])||_0xa90bea['authorsIds']['push'](_0x264886['id']);}return _0xa90bea;}['_loadRevisionData'](_0x237f82){if(!_0x237f82||_0x237f82['diffData'])return Promise['resolve']();{const _0x8af66=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x8af66,'revisionId':_0x237f82['id']})['then'](_0x164fe5=>{_0x237f82['diffData']=_0x164fe5['diffData'];});}}['_bufferUpdate'](_0x2f2fcc,_0x47335e,_0xbe96d1){if(this['_bufferedUpdates']['has'](_0x2f2fcc)){const _0x31148b=this['_bufferedUpdates']['get'](_0x2f2fcc);_0x47335e=_0xbe96d1?{..._0x31148b,..._0x47335e}:{..._0x47335e,..._0x31148b};}this['_bufferedUpdates']['set'](_0x2f2fcc,_0x47335e);}['_getFromVersion'](_0x34a798){const _0x543613=this['repository']['getRevisions']();_0x543613['reverse'](),_0x543613['shift']();const _0x496dd1=_0x543613['find'](_0x14f5ff=>_0x14f5ff['toVersion']<=_0x34a798)['toVersion'];return _0x496dd1<this['_startingVersion']?this['_startingVersion']:_0x496dd1;}['_createInitialRevision'](_0x150c13){const _0x1487f8=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1487f8)this['_initialRevisionId']=_0x1487f8['id'];else{const _0x57b464=!this['editor']['model']['document']['roots']['find'](_0x48a3ea=>this['editor']['model']['hasContent'](_0x48a3ea)),_0x53ff91=this['editor']['plugins']['get']('Users')['me']['id'],_0x291505=y(this['editor']['locale'],_0x57b464?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x150c13,'to':_0x150c13,'id':this['_initialRevisionId'],'name':_0x291505,'creatorId':_0x53ff91});}}['_createCurrentRevision'](_0x4ea32b){const _0x345635=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x345635),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4ea32b,'to':_0x4ea32b,'id':_0x345635,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1df08a,from:_0x39f9ee,to:_0x5e2e61,creatorId:_0x436c61,id:_0x5725ba}){const _0x3ede85=this['buildRevisionData']({'from':_0x39f9ee,'to':_0x5e2e61});_0x3ede85['name']=_0x1df08a,_0x3ede85['creatorId']=_0x436c61,_0x3ede85['id']=_0x5725ba;const _0x10d21b=this['addRevisionData'](_0x3ede85);return this['adapter']&&this['_bufferUpdate'](_0x3ede85['id'],_0x3ede85,!0x0),_0x10d21b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x19af08){return(_0x19af08=_0x19af08['filter'](_0x496cd9=>!_0x496cd9['name']||'revision-start'!==_0x496cd9['name']&&'revision-end'!==_0x496cd9['name']))['forEach'](_0xa0e1b7=>{'string'!=typeof _0xa0e1b7&&(_0xa0e1b7['children']=this['_removeRevisionMarkers'](_0xa0e1b7['children']),_0xa0e1b7['attributes']=_0xa0e1b7['attributes']['filter'](_0x30db4d=>!_0x30db4d[0x0]['startsWith']('data-revision-')));}),_0x19af08;}}function B(_0x3587bf,_0x5d7448){const _0x42ff71=_0x5d7448['editing']['view']['document'];if('string'==typeof _0x3587bf)return new _0x30021a(_0x42ff71,_0x3587bf);{const _0x1ca3ef=_0x3587bf['children']['map'](_0x9d6ddd=>B(_0x9d6ddd,_0x5d7448));return new(T[_0x3587bf['type']]||_0x23799c)(_0x42ff71,_0x3587bf['name'],_0x3587bf['attributes'],_0x1ca3ef);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x565f7c){this['editor']=_0x565f7c,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'](_0x2b63a0){this['source']=_0x2b63a0;const _0x15e194=new Map(),_0x2f16a0=new Map(),_0x245c70=this['editor']['model']['document']['roots']['map'](_0x5c9791=>_0x5c9791['rootName']);for(const _0x36a00e of _0x245c70){const _0x3173b3=this['editor']['model']['document']['getRoot'](_0x36a00e),_0x4713a3=q(_0x3173b3);_0x15e194['set'](_0x36a00e,_0x4713a3),_0x2f16a0['set'](_0x36a00e,Object['fromEntries'](_0x3173b3['getAttributes']()));}const _0x13de86=Array['from'](this['editor']['model']['markers'])['map'](_0x2a7198=>[_0x2a7198['name'],_0x2a7198['getRange']()]),_0x341d91=this['source']['version'];this['_saveMetaData'](_0x341d91,_0x15e194,_0x13de86,_0x2f16a0),this['_startingRevisionId']=this['_revisionId'];const _0xcb5e19=new Map(),_0x5edb4a=new Map();for(const _0x489463 of _0x245c70){const _0x3229de=G(_0x489463);_0xcb5e19['set'](_0x489463,_0x3229de),_0x5edb4a['set'](_0x489463,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xcb5e19,[],_0x5edb4a);}['getData'](_0x1f8940,_0x36cdd9){if(this['_lastFrom']===_0x1f8940&&this['_lastTo']<=_0x36cdd9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x36cdd9,!0x0);else{if(!this['_savedMetaData']['has'](_0x1f8940)){const _0x3b7b82=this['_getPreviousFrom'](_0x1f8940);this['_calculateMetaData'](_0x3b7b82,_0x1f8940,!0x1);}this['_calculateMetaData'](_0x1f8940,_0x36cdd9,!0x0);}return this['_lastFrom']=_0x1f8940,this['_lastTo']=_0x36cdd9,this['_getState']();}['loadState'](_0x2cceaf){this['_reset'](),this['_lastFrom']=_0x2cceaf['fromVersion'],this['_lastTo']=_0x2cceaf['toVersion'];for(const _0x351496 in _0x2cceaf['diffData']){const _0x4c7f93=_0x2cceaf['diffData'][_0x351496]['attachChange'],_0x4e6d4c=_0x48669d(_0x2cceaf['diffData'][_0x351496]['attributesBefore'])||{},_0xf1ac=this['_makeModelFromViewString'](_0x2cceaf['diffData'][_0x351496]['deletions']);_0xf1ac['rootName']=_0x351496,_0xf1ac['_isAttached']=!_0x4c7f93||!_0x4c7f93['isAttached'],_0xf1ac['isAttached']=()=>_0xf1ac['_isAttached'],this['_baseRoots']['set'](_0x351496,_0xf1ac),this['_baseRootsAttributes']['set'](_0x351496,_0x4e6d4c),_0x4c7f93&&this['_touchedRoots']['set'](_0x351496,_0x4c7f93);const _0x58b25a=this['_makeIdsRoot'](_0xf1ac);this['_baseIdsRoots']['set'](_0x351496,_0x58b25a);for(const [_0x5602f1,_0x5d067f]of _0xf1ac['markers']){if(!_0x5602f1['startsWith']('revision:'))continue;const _0x3c1e1d=_0x5602f1['split'](':')[0x2];for(const _0x52b445 of _0x5d067f['getWalker']({'singleCharacters':!0x0})){const _0x26d43f=this['_getVidAttributeName'](_0x52b445),_0x3ef257='elementEnd'==_0x52b445['type']?_0x52b445['previousPosition']['path']['slice'](0x0,-0x1):_0x52b445['previousPosition']['path'],_0x270993=_0x58b25a['getNodeByPath'](_0x3ef257)['getAttribute'](_0x26d43f);this['_touched']['set'](_0x270993,{'userId':_0x3c1e1d});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2413f8=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2dccb3=>!this['_touched']['has'](_0x2dccb3));let _0x52a3c2=0x0;const _0x4ec459=new Map();for(const _0x2c4976 in _0x2cceaf['diffData']){const _0x5d9599=_0x2cceaf['diffData'][_0x2c4976]['attachChange'],_0x4e9f7f=_0x48669d(_0x2cceaf['diffData'][_0x2c4976]['attributesAfter'])||{},_0x1375b0=this['_makeModelFromViewString'](_0x2cceaf['diffData'][_0x2c4976]['insertions']);_0x1375b0['rootName']=_0x2c4976,_0x1375b0['_isAttached']=!_0x5d9599||_0x5d9599['isAttached'],_0x1375b0['isAttached']=()=>_0x1375b0['_isAttached'],this['_diffRoots']['set'](_0x2c4976,_0x1375b0),this['_diffRootsAttributes']['set'](_0x2c4976,_0x4e9f7f);const _0x49958a=this['_makeIdsRoot'](_0x1375b0,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2c4976,_0x49958a),_0x4ec459['set'](_0x2c4976,_0x1375b0['isAttached']()?_0x4e9f7f:{});for(const [_0x5e861c,_0x4d078d]of _0x1375b0['markers']){if(!_0x5e861c['startsWith']('revision:'))continue;const _0x5731d0=_0x5e861c['split'](':')[0x2];for(const _0x5edff9 of _0x4d078d['getWalker']({'singleCharacters':!0x0})){const _0x46437d=this['_getVidAttributeName'](_0x5edff9),_0x2182d7=this['_revisionId']++,_0x631bb5='elementEnd'==_0x5edff9['type']?_0x5edff9['previousPosition']['path']['slice'](0x0,-0x1):_0x5edff9['previousPosition']['path'];_0x49958a['getNodeByPath'](_0x631bb5)['_setAttribute'](_0x46437d,_0x2182d7),this['_touched']['set'](_0x2182d7,{'userId':_0x5731d0});}}for(const _0x79b310 of this['editor']['model']['createRangeIn'](_0x1375b0)['getWalker']({'singleCharacters':!0x0})){const _0x5ae177=this['_getVidAttributeName'](_0x79b310),_0x4add37='elementEnd'==_0x79b310['type']?_0x79b310['previousPosition']['path']['slice'](0x0,-0x1):_0x79b310['previousPosition']['path'],_0x4335c0=_0x49958a['getNodeByPath'](_0x4add37);_0x4335c0['getAttribute'](_0x5ae177)>0x0||_0x4335c0['_setAttribute'](_0x5ae177,_0x2413f8[_0x52a3c2++]);}for(const [_0xb2a371,_0x4284ff]of _0x1375b0['markers'])_0xb2a371['startsWith']('revision:')||this['_markers']['set'](_0xb2a371,_0x4284ff);}const _0x4bba1a=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4bba1a),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4bba1a,0x1));const _0x31b59b=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x31b59b),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x31b59b,0x1));const _0x196be1=Array['from'](this['_diffRoots'])['map'](([_0x563539,_0x562984])=>[_0x563539,q(_0x562984)]);this['_saveMetaData'](this['_lastTo'],_0x196be1,this['_markers'],_0x4ec459);}['_makeModelFromViewString'](_0x2b3b80){const _0x7811da=JSON['parse'](_0x2b3b80),_0x1b5b14=this['editor']['editing']['view']['document'],_0x404c6e=new _0x262c67(_0x1b5b14,_0x7811da['map'](_0x45f06b=>B(_0x45f06b,this['editor'])));return this['editor']['data']['toModel'](_0x404c6e);}['_saveMetaData'](_0x3d70bc,_0x2fc15f,_0x47bd96,_0x3b75d6){const _0x25d3c8=new Map(_0x2fc15f),_0x4fbbb6=new Map(_0x48669d(_0x3b75d6)),_0x4c639a=new Map();for(const [_0x96aef,_0x48e1bf]of _0x47bd96)_0x4c639a['set'](_0x96aef,{'start':_0x48e1bf['start']['clone'](),'end':_0x48e1bf['end']['clone'](),'rootName':_0x48e1bf['root']['rootName']});this['_savedMetaData']['set'](_0x3d70bc,{'roots':_0x25d3c8,'markers':_0x4c639a,'rootsAttributes':_0x4fbbb6});}['_removeMetaData'](_0x192ac9){this['_savedMetaData']['delete'](_0x192ac9);}['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'](_0x4a02ea,_0x3f8ef3=null){let _0x52f903=null;_0x4a02ea['is']('documentFragment')||(_0x52f903=new ft(_0x4a02ea['name'],{'vid_start':null===_0x3f8ef3?this['_revisionId']++:_0x3f8ef3++}));const _0x1d2697=[];for(const _0x58124a of _0x4a02ea['getChildren']())if(_0x58124a['is']('element')){_0x1d2697['push'](this['_makeIdsRoot'](_0x58124a,_0x3f8ef3));const _0x567e9c=_0x1d2697[_0x1d2697['length']-0x1];null!==_0x3f8ef3&&(_0x3f8ef3=_0x567e9c['is']('element','$text')?_0x567e9c['getAttribute']('vid')+0x1:_0x567e9c['getAttribute']('vid_end')+0x1);}else{for(let _0x531901=0x0;_0x531901<_0x58124a['offsetSize'];_0x531901++)_0x1d2697['push'](new ft('$text',{'vid':null===_0x3f8ef3?this['_revisionId']++:_0x3f8ef3++}));}if(_0x4a02ea['is']('documentFragment')){const _0x1ddfe7=G(_0x4a02ea['rootName']);return _0x1ddfe7['_insertChild'](0x0,_0x1d2697),_0x1ddfe7;}return _0x52f903['_setAttribute']('vid_end',null===_0x3f8ef3?this['_revisionId']++:_0x3f8ef3++),_0x52f903['_insertChild'](0x0,_0x1d2697),_0x52f903;}['_calculateMetaData'](_0xcea5a8,_0x556282,_0x5a2705){this['_reset']();const {roots:_0x559eb3,markers:_0x5aff3c,rootsAttributes:_0x5bb4df}=this['_savedMetaData']['get'](_0xcea5a8);this['_baseRoots']=new Map(_0x559eb3),this['_baseRootsAttributes']=new Map(_0x48669d(_0x5bb4df));for(const [_0x5f4a92,_0x4b4966]of this['_baseRoots'])if('$graveyard'!==_0x5f4a92&&(this['_diffRoots']['set'](_0x5f4a92,q(_0x4b4966)),this['_diffRootsAttributes']=new Map(_0x48669d(_0x5bb4df)),_0x5a2705)){const _0x36b4d8=this['_revisionId'];this['_idsRoots']['set'](_0x5f4a92,this['_makeIdsRoot'](_0x4b4966)),this['_baseIdsRoots']['set'](_0x5f4a92,this['_makeIdsRoot'](_0x4b4966,_0x36b4d8));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5a2705&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x56eb58,_0x1d6e2b]of _0x5aff3c){const _0x3de077=this['_baseRoots']['get'](_0x1d6e2b['rootName']),_0x4b0f01=this['_diffRoots']['get'](_0x1d6e2b['rootName']),_0x250656=new vt(this['_fixPosition'](_0x1d6e2b['start'],_0x3de077),this['_fixPosition'](_0x1d6e2b['end'],_0x3de077)),_0x3dd12a=this['_fixRange'](_0x250656,_0x4b0f01);_0x3de077['markers']['set'](_0x56eb58,_0x250656),this['_markers']['set'](_0x56eb58,_0x3dd12a);}this['_applyOperations'](_0xcea5a8,_0x556282,_0x5a2705);}['_applyOperations'](_0x42fddf,_0x7a25d9,_0x2405ea){for(const _0x19a994 of this['source']['getOperations'](_0x42fddf,_0x7a25d9))this['_handleOperation'](_0x19a994,_0x2405ea);for(const _0x27210a of this['_diffRoots']['values']())_0x27210a['markers']['clear']();for(const [_0x2d07b,_0x2005e1]of this['_markers']){this['_diffRoots']['get'](_0x2005e1['root']['rootName'])['markers']['set'](_0x2d07b,_0x2005e1['clone']());}const _0x135d6f=new Map(),_0x20c140=new Map();for(const [_0x116aaa,_0x29c716]of this['_diffRoots'])_0x135d6f['set'](_0x116aaa,q(_0x29c716)),_0x20c140['set'](_0x116aaa,this['_diffRootsAttributes']['get'](_0x116aaa));this['_saveMetaData'](_0x7a25d9,_0x135d6f,this['_markers'],_0x20c140);}['_getPreviousFrom'](_0x2e3a85){const _0x151dc9=Array['from'](this['_savedMetaData']['keys']());_0x151dc9['sort']((_0x9959ea,_0x63fd03)=>_0x9959ea-_0x63fd03),_0x151dc9['reverse']();for(const _0x185229 of _0x151dc9)if(_0x185229<_0x2e3a85)return _0x185229;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xf9e62d,_0x3a3fd8){const _0x5d7bf0=Array['from'](_0x3a3fd8['markers'])['map'](([_0x563c64,_0x13de29])=>[_0x563c64,this['_fixRange'](_0x13de29,_0xf9e62d)]);_0xf9e62d['markers']=new Map(_0x5d7bf0);}['_transformMarkers'](_0x1ce36d){for(const _0x97e17d of this['_markers']['values']()){const _0x5d06ec=_0x97e17d['getTransformedByOperation'](_0x1ce36d),_0x112cd1=vt['_createFromRanges'](_0x5d06ec);_0x97e17d['start']=_0x112cd1['start'],_0x97e17d['end']=_0x112cd1['end'];}}['_handleOperation'](_0x59d7b2,_0x1fbc1f){if('addRoot'==_0x59d7b2['type']||'detachRoot'==_0x59d7b2['type'])return void this['_handleRootOperation'](_0x59d7b2,_0x1fbc1f);if('insert'==_0x59d7b2['type']){const _0x1ae7a7=_0x59d7b2['position']['root']['rootName'];this['_diffRoots']['has'](_0x1ae7a7)||(this['_diffRoots']['set'](_0x1ae7a7,G(_0x1ae7a7,!0x0)),this['_diffRootsAttributes']['set'](_0x1ae7a7,{}),_0x1fbc1f&&this['_idsRoots']['set'](_0x1ae7a7,G(_0x1ae7a7,!0x0)));}else{if('addRootAttribute'==_0x59d7b2['type']||'removeRootAttribute'==_0x59d7b2['type']||'changeRootAttribute'==_0x59d7b2['type'])return void this['_handleRootAttributeOperation'](_0x59d7b2);}const _0x5cc18a=this['_cloneOperation'](_0x59d7b2,this['_diffRoots']);if('marker'!==_0x59d7b2['type']&&(_0x5cc18a['_execute'](),this['_transformMarkers'](_0x5cc18a)),_0x1fbc1f)switch(_0x5cc18a['type']){case'insert':this['_handleInsertOperation'](_0x59d7b2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x59d7b2);break;case'merge':this['_handleMergeOperation'](_0x59d7b2);break;case'split':this['_handleSplitOperation'](_0x59d7b2);break;case'marker':this['_handleMarkerOperation'](_0x59d7b2);}}['_cloneOperation'](_0x4deed8,_0x40fdb2){const _0xb16c7=_0x4deed8['clone']();return _0xb16c7['_authorId']=_0x4deed8['_authorId'],this['_fixOperation'](_0xb16c7,_0x40fdb2),_0xb16c7;}['_getBaseVids'](_0x23e149){return _0x23e149['map'](_0x35df58=>{const _0x1f018c=this['_getVidAttributeName'](_0x35df58);return Number(_0x35df58['item']['getAttribute'](_0x1f018c));});}['_generateTape'](_0x4e5cc1,_0x571cad){if(_0x4e5cc1['is']('element','$text'))_0x571cad['push']({'item':_0x4e5cc1,'type':'text'});else{_0x4e5cc1['is']('element')&&_0x571cad['push']({'item':_0x4e5cc1,'type':'elementStart'});for(const _0x49ae69 of _0x4e5cc1['getChildren']())this['_generateTape'](_0x49ae69,_0x571cad);_0x4e5cc1['is']('element')&&_0x571cad['push']({'item':_0x4e5cc1,'type':'elementEnd'});}return _0x571cad;}['_getState'](){const _0x4ab964=new Map(this['_touched']),_0x37cc13=new Map(_0x4ab964),_0x15337a=new Map(),_0x30dc1e={'insertions':{},'deletions':{}},_0x18f15b={'insertions':{},'deletions':{}},_0x2cc4bb=new Map(),_0x52795b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x52795b['delete']('$graveyard');for(const _0x56af00 of _0x52795b){const _0x4e37f5=this['_diffRoots']['get'](_0x56af00)||G(_0x56af00,!0x1),_0x518e02=this['_baseRoots']['get'](_0x56af00)||G(_0x56af00,!0x1);_0x4e37f5['isAttached']()||_0x518e02['isAttached']()?(_0x30dc1e['insertions'][_0x56af00]=q(_0x4e37f5),_0x30dc1e['deletions'][_0x56af00]=q(_0x518e02),this['_copyMarkers'](_0x30dc1e['deletions'][_0x56af00],_0x518e02),this['_copyMarkers'](_0x30dc1e['insertions'][_0x56af00],_0x4e37f5),_0x18f15b['insertions'][_0x56af00]=this['_generateTape'](this['_idsRoots']['get'](_0x56af00),[]),_0x18f15b['deletions'][_0x56af00]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x56af00)||G(_0x56af00,!0x1),[])):_0x52795b['delete'](_0x56af00);}for(const _0x5a054f of _0x52795b){const _0x308a27=_0x18f15b['insertions'][_0x5a054f];for(const _0x52138a of _0x308a27){const _0x4d8247=this['_getVidAttributeName'](_0x52138a),_0x8e9af6=_0x52138a['item']['getAttribute'](_0x4d8247);_0x37cc13['delete'](_0x8e9af6),_0x8e9af6>=this['_startingRevisionId']&&_0x15337a['set'](_0x8e9af6,_0x4ab964['get'](_0x8e9af6));}}for(const _0x173d0d of _0x52795b){const _0x393268=_0x18f15b['insertions'][_0x173d0d],_0x30dcbd=this['_getBaseVids'](_0x18f15b['deletions'][_0x173d0d]);let _0x3da35b=0x0;for(const _0x232845 of _0x393268){const _0x56a92a=this['_getVidAttributeName'](_0x232845),_0x65e076=_0x232845['item']['getAttribute'](_0x56a92a);if(!_0x15337a['has'](_0x65e076)&&!_0x2cc4bb['has'](_0x65e076)){if(_0x37cc13['has'](_0x65e076))_0x3da35b++;else{if(_0x65e076!=_0x30dcbd[_0x3da35b]){const _0x21628b=_0x4ab964['get'](_0x65e076)||_0x4ab964['get'](_0x30dcbd[_0x3da35b]);for(;_0x65e076!=_0x30dcbd[_0x3da35b];)_0x37cc13['has'](_0x30dcbd[_0x3da35b])||(_0x2cc4bb['set'](_0x30dcbd[_0x3da35b],_0x21628b),_0x4ab964['set'](_0x30dcbd[_0x3da35b],_0x21628b)),_0x3da35b++;}_0x3da35b++;}}}}for(const _0x8f00ca of _0x52795b){const _0x545a5d=_0x18f15b['insertions'][_0x8f00ca];for(const _0xf8991d of _0x545a5d){const _0x448c6c=this['_getVidAttributeName'](_0xf8991d),_0x3d71a0=_0xf8991d['item']['getAttribute'](_0x448c6c);if(_0x2cc4bb['has'](_0x3d71a0)){const _0x108d46=_0x2cc4bb['get'](_0x3d71a0);_0x37cc13['has'](_0x3d71a0)||_0x37cc13['set'](_0x3d71a0,{..._0x108d46}),_0x15337a['set'](_0x3d71a0,{..._0x108d46});}}}for(const _0x1e49f5 of _0x37cc13['keys']())_0x1e49f5>=this['_startingRevisionId']&&_0x37cc13['delete'](_0x1e49f5);const _0x29176f=new Map();for(const _0x2c73c2 of _0x52795b){let _0x366fd3=_0x18f15b['insertions'][_0x2c73c2];for(const _0x1a2005 of _0x366fd3)if(_0x1a2005['item']['is']('element','tableCell')){const _0x219c4b=this['_getVidAttributeName'](_0x1a2005),_0x11a3be=_0x1a2005['item']['getAttribute'](_0x219c4b);if(_0x15337a['has'](_0x11a3be)){const _0x585329=_0x1a2005['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a8e71=_0x29176f['get'](_0x585329)||new Set();_0x2a8e71['add'](_0x15337a['get'](_0x11a3be)['userId']),_0x29176f['set'](_0x585329,_0x2a8e71);}}_0x366fd3=_0x18f15b['deletions'][_0x2c73c2];for(const _0x58d0d3 of _0x366fd3)if(_0x58d0d3['item']['is']('element','tableCell')){const _0x33ad61=this['_getVidAttributeName'](_0x58d0d3),_0xf4b482=_0x58d0d3['item']['getAttribute'](_0x33ad61);if(_0x37cc13['has'](_0xf4b482)){const _0x19b2fd=_0x58d0d3['item']['parent']['parent']['getAttribute']('vid_start'),_0x8bf90c=_0x29176f['get'](_0x19b2fd)||new Set();_0x8bf90c['add'](_0x37cc13['get'](_0xf4b482)['userId']),_0x29176f['set'](_0x19b2fd,_0x8bf90c);}}for(const _0x25e7b8 of _0x29176f['keys']())(_0x15337a['has'](_0x25e7b8)||_0x37cc13['has'](_0x25e7b8))&&_0x29176f['delete'](_0x25e7b8);}for(const _0x11b422 of _0x52795b){const _0x25a1db=_0x18f15b['insertions'][_0x11b422];let _0x99892e=null,_0x3aa2f8=null;for(const _0x20fb34 of _0x25a1db){const _0x3d2ece=this['_getVidAttributeName'](_0x20fb34),_0x2fede8=_0x20fb34['item']['getAttribute'](_0x3d2ece),_0x2db089=_0x29176f['get'](_0x2fede8);_0x2db089&&'elementStart'==_0x20fb34['type']&&(_0x99892e=Array['from'](_0x2db089)[0x0],_0x3aa2f8=_0x20fb34['item']['getAttribute']('vid_end')),_0x99892e&&(_0x37cc13['set'](_0x2fede8,{'userId':_0x99892e}),_0x15337a['set'](_0x2fede8,{'userId':_0x99892e})),_0x2fede8==_0x3aa2f8&&(_0x99892e=null,_0x3aa2f8=null);}}const _0x105dfa={},_0x2150ef=new Set();for(const _0x77167e of _0x52795b){const _0xbcadf2=_0x30dc1e['deletions'][_0x77167e],_0x20d1b1=_0x30dc1e['insertions'][_0x77167e];for(const {userId:_0x3e4265}of this['_touchedMarkers']['values']())null!==_0x3e4265&&_0x2150ef['add'](_0x3e4265);for(const {userId:_0x4463c7}of this['_touchedRoots']['values']())null!==_0x4463c7&&_0x2150ef['add'](_0x4463c7);this['_markChanges'](_0x20d1b1,_0x18f15b['insertions'][_0x77167e],_0x15337a,'insertion',_0x2150ef),this['_markChanges'](_0xbcadf2,_0x18f15b['deletions'][_0x77167e],_0x37cc13,'deletion',_0x2150ef),_0x105dfa[_0x77167e]={'insertions':this['_prepareViewToSave'](_0x20d1b1),'deletions':this['_prepareViewToSave'](_0xbcadf2),'attachChange':this['_touchedRoots']['get'](_0x77167e)||null,'attributesBefore':_0x48669d(this['_baseRootsAttributes']['get'](_0x77167e))||{},'attributesAfter':_0x48669d(this['_diffRootsAttributes']['get'](_0x77167e))};}return{'diffData':_0x105dfa,'authorsIds':Array['from'](_0x2150ef)};}['_processRootBeforeSave'](_0x428e63){for(const [,_0x30d168]of _0x428e63['markers']){const _0x21ac24=_0x30d168['start']['getAncestors']()['filter'](_0x1f8c45=>'tableCell'==_0x1f8c45['name']);for(const _0x53f41b of _0x21ac24)0x1==_0x53f41b['childCount']&&_0x53f41b['getChild'](0x0)['is']('element','paragraph')&&_0x53f41b['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x227ff5){this['_processRootBeforeSave'](_0x227ff5);const _0x2456f3=this['editor']['data']['toView'](_0x227ff5,{}),_0x1af379=Array['from'](_0x2456f3['getChildren']())['map'](_0x1a28f3=>this['_getViewJson'](_0x1a28f3));return JSON['stringify'](_0x1af379);}['_getViewJson'](_0x1d2f74){if(_0x1d2f74['is']('$text'))return _0x1d2f74['data'];{const _0x18bd41=_0x1d2f74;return{'type':Object['keys'](T)['find'](_0x2430f1=>_0x1d2f74 instanceof T[_0x2430f1]),'name':_0x18bd41['name'],'attributes':Array['from'](_0x18bd41['getAttributes']()),'children':Array['from'](_0x18bd41['getChildren']())['map'](_0x5e1445=>this['_getViewJson'](_0x5e1445))};}}['_markChanges'](_0x101dce,_0x2d3d88,_0x52389b,_0x518b3d,_0x2db079){let _0x1bbd50=null,_0xb54e3f=null,_0x5e2295=0x0;const _0x198c6b=this['editor']['model'];for(let _0x567229=0x0;_0x567229<_0x2d3d88['length'];_0x567229++){const _0x29ad4d=this['_getVidAttributeName'](_0x2d3d88[_0x567229]),_0x923c28=_0x2d3d88[_0x567229]['item']['getAttribute'](_0x29ad4d),_0x53f8d5=_0x52389b['get'](_0x923c28),_0x4bac8c=_0x567229==_0x2d3d88['length']-0x1;(!_0x1bbd50&&_0x53f8d5&&(_0x1bbd50=_0x53f8d5,_0xb54e3f=_0x2d3d88[_0x567229]),_0x1bbd50&&(!_0x53f8d5||_0x53f8d5['userId']!=_0x1bbd50['userId']))&&(_0x458c56(_0x53f8d5,L(_0xb54e3f,_0x101dce,_0x198c6b),L(_0x2d3d88[_0x567229],_0x101dce,_0x198c6b)),_0x1bbd50=_0x53f8d5||null,_0xb54e3f=_0x53f8d5?_0x2d3d88[_0x567229]:null),_0x1bbd50&&_0x4bac8c&&_0x458c56(_0x53f8d5,L(_0xb54e3f,_0x101dce,_0x198c6b),W(_0x2d3d88[_0x567229],_0x101dce,_0x198c6b));}function _0x458c56(_0x585637,_0x57f3a9,_0x9a49e3){const _0x418464=_0x1bbd50['userId'],_0x3c63eb='revision:'+_0x518b3d+':'+_0x418464+':'+_0x5e2295++,_0x323abf=_0x198c6b['createRange'](_0x57f3a9,_0x9a49e3);_0x101dce['markers']['set'](_0x3c63eb,_0x323abf),null!==_0x418464&&_0x2db079['add'](_0x418464);}}['_getVidAttributeName'](_0x4f70c2){switch(_0x4f70c2['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x52a1a4,_0x2124c2){_0x52a1a4['baseVersion']=null;for(const _0x2c7fd6 in _0x52a1a4){const _0x1c4217=_0x52a1a4[_0x2c7fd6];if(_0x1c4217 instanceof gt){const _0x23b86f=_0x2124c2['get'](_0x1c4217['root']['rootName']);_0x52a1a4[_0x2c7fd6]=this['_fixPosition'](_0x1c4217,_0x23b86f);}if(_0x1c4217 instanceof vt){const _0x5992c0=_0x2124c2['get'](_0x1c4217['root']['rootName']);_0x52a1a4[_0x2c7fd6]=this['_fixRange'](_0x1c4217,_0x5992c0);}'root'===_0x2c7fd6&&(_0x52a1a4['root']=_0x2124c2['get'](_0x52a1a4['root']['rootName']));}}['_fixRange'](_0x537763,_0x3a54c2){return this['editor']['model']['createRange'](this['_fixPosition'](_0x537763['start'],_0x3a54c2),this['_fixPosition'](_0x537763['end'],_0x3a54c2));}['_fixPosition'](_0x2180f0,_0x16df3a){return this['editor']['model']['createPositionFromPath'](_0x16df3a,_0x2180f0['path'],_0x2180f0['stickiness']);}['_handleInsertOperation'](_0x971d5d){const _0x7d5525=this['_idsRoots']['get'](_0x971d5d['position']['root']['rootName']),_0x2ce147=this['_fixPosition'](_0x971d5d['position'],_0x7d5525),_0x5bf75c=null===_0x971d5d['_authorId']?null:_0x971d5d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4bf9b7=_0x2ce147['parent'],_0x5e3910=this['_revisionId'],_0x4703c5=[];for(const _0x1113cb of _0x971d5d['nodes'])if(_0x1113cb['is']('element'))_0x4703c5['push'](this['_makeIdsRoot'](_0x1113cb));else{for(let _0x1efb18=0x0;_0x1efb18<_0x1113cb['offsetSize'];_0x1efb18++)_0x4703c5['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x75588a=this['_revisionId'];for(let _0x22f5b2=_0x5e3910;_0x22f5b2<_0x75588a;_0x22f5b2++)this['_touched']['set'](_0x22f5b2,{'userId':_0x5bf75c});_0x4bf9b7['_insertChild'](_0x2ce147['offset'],_0x4703c5);}['_handleMoveOperation'](_0x2c8288){(_0x2c8288=this['_cloneOperation'](_0x2c8288,this['_idsRoots']))['_execute']();const _0x558fc5=null===_0x2c8288['_authorId']?null:_0x2c8288['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4ad5e7=_0x2c8288['getMovedRangeStart'](),_0x1a3e10=_0x4ad5e7['parent'],_0x2bae9d=_0x4ad5e7['offset'];!function _0x22455d(_0x3becdb,_0x1796b1,_0x880846,_0x54a6af){for(let _0x11bbf4=_0x880846;_0x11bbf4<_0x54a6af;_0x11bbf4++){const _0x193d64=_0x1796b1['getChild'](_0x11bbf4);_0x193d64['is']('element','$text')?_0x3becdb['set'](_0x193d64['getAttribute']('vid'),{'userId':_0x558fc5}):(_0x3becdb['set'](_0x193d64['getAttribute']('vid_start'),{'userId':_0x558fc5}),_0x22455d(_0x3becdb,_0x193d64,0x0,_0x193d64['childCount']),_0x3becdb['set'](_0x193d64['getAttribute']('vid_end'),{'userId':_0x558fc5}));}}(this['_touched'],_0x1a3e10,_0x2bae9d,_0x2bae9d+_0x2c8288['howMany']);}['_handleMergeOperation'](_0x4e06c8){const _0xe2f535=null===(_0x4e06c8=this['_cloneOperation'](_0x4e06c8,this['_idsRoots']))['_authorId']?null:_0x4e06c8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x15cc83=_0x4e06c8['targetPosition']['parent'],_0x199134=_0x4e06c8['sourcePosition']['parent'],_0x39e221=_0x15cc83['getAttribute']('vid_end'),_0x3159e5=_0x199134['getAttribute']('vid_start');_0x15cc83['_setAttribute']('vid_end',_0x199134['getAttribute']('vid_end')),_0x199134['_setAttribute']('vid_end',_0x39e221),this['_touched']['set'](_0x3159e5,{'userId':_0xe2f535}),this['_touched']['set'](_0x39e221,{'userId':_0xe2f535}),_0x4e06c8['_execute']();}['_handleSplitOperation'](_0x38f9b3){const _0x27ed97=null===(_0x38f9b3=this['_cloneOperation'](_0x38f9b3,this['_idsRoots']))['_authorId']?null:_0x38f9b3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x99a0a1=_0x38f9b3['graveyardPosition'],_0x488d86=_0x38f9b3['splitPosition']['parent'];_0x38f9b3['_execute']();const _0xd9f100=_0x488d86['getAttribute']('vid_end'),_0x4b537c=_0x38f9b3['insertionPosition']['nodeAfter'];if(_0x99a0a1){const _0x1200a1=_0x4b537c['getAttribute']('vid_end'),_0x5d7848=_0x488d86['getAttribute']('vid_end');_0x488d86['_setAttribute']('vid_end',_0x1200a1),_0x4b537c['_setAttribute']('vid_end',_0x5d7848),this['_touched']['set'](_0x488d86['getAttribute']('vid_end'),{'userId':_0x27ed97}),this['_touched']['set'](_0x4b537c['getAttribute']('vid_start'),{'userId':_0x27ed97});}else{const _0x7fb58f=this['_revisionId']++,_0x3470be=this['_revisionId']++;_0x488d86['_setAttribute']('vid_end',_0x7fb58f),_0x4b537c['_setAttribute']('vid_start',_0x3470be),_0x4b537c['_setAttribute']('vid_end',_0xd9f100),this['_touched']['set'](_0x7fb58f,{'userId':_0x27ed97}),this['_touched']['set'](_0x3470be,{'userId':_0x27ed97});}}['_handleMarkerOperation'](_0x20a660){if(!_0x20a660['affectsData'])return;const _0x3beb78=(_0x20a660=this['_cloneOperation'](_0x20a660,this['_diffRoots']))['oldRange']?_0x20a660['oldRange']['root']:null,_0x379978=_0x20a660['newRange']?_0x20a660['newRange']['root']:null;_0x3beb78&&this['_markers']['delete'](_0x20a660['name']),_0x379978&&this['_markers']['set'](_0x20a660['name'],_0x20a660['newRange']['clone']());const _0x576fa2=null===_0x20a660['_authorId']?null:_0x20a660['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b0442=_0x20a660['name'];if(!this['_touchedMarkers']['has'](_0x1b0442))return void this['_touchedMarkers']['set'](_0x1b0442,{'range':_0x20a660['oldRange'],'userId':_0x576fa2});const _0x1cdc30=this['_touchedMarkers']['get'](_0x1b0442),_0x3d29fa=_0x1cdc30['range'],_0x4b7dd0=_0x20a660['newRange'];null==_0x3d29fa&&null==_0x4b7dd0||_0x3d29fa&&_0x4b7dd0&&_0x3d29fa['isEqual'](_0x4b7dd0)?this['_touchedMarkers']['delete'](_0x20a660['name']):_0x1cdc30['userId']=_0x576fa2;}['_handleRootOperation'](_0xbaa519,_0xfd366f){this['_diffRoots']['has'](_0xbaa519['rootName'])?this['_diffRoots']['get'](_0xbaa519['rootName'])['_isAttached']=_0xbaa519['isAdd']:(this['_diffRoots']['set'](_0xbaa519['rootName'],G(_0xbaa519['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xbaa519['rootName'],{}),_0xfd366f&&this['_idsRoots']['set'](_0xbaa519['rootName'],G(_0xbaa519['rootName'],!0x0)));const _0x4ecf85=null===_0xbaa519['_authorId']?null:_0xbaa519['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4af29e=this['_touchedRoots']['get'](_0xbaa519['rootName']);_0x4af29e&&_0x4af29e['userId']===_0x4ecf85?this['_touchedRoots']['delete'](_0xbaa519['rootName']):this['_touchedRoots']['set'](_0xbaa519['rootName'],{'userId':_0x4ecf85,'isAttached':_0xbaa519['isAdd']});}['_handleRootAttributeOperation'](_0x47dfec){const _0x155d33=this['_diffRootsAttributes']['get'](_0x47dfec['root']['rootName']);null===_0x47dfec['newValue']?delete _0x155d33[_0x47dfec['key']]:_0x155d33[_0x47dfec['key']]=_0x47dfec['newValue'];}}function q(_0x5fe686){const _0x4cfddb=G(_0x5fe686['rootName'],_0x5fe686['isAttached']());for(const _0xe2c205 of _0x5fe686['getChildren']()){const _0x117c27=_0xe2c205['_clone'](!0x0);_0x4cfddb['_appendChild'](_0x117c27);}return _0x4cfddb;}function G(_0x440161,_0x2cec4f=!0x0){const _0x3b7ce2=new wt();return _0x3b7ce2['rootName']=_0x440161,_0x3b7ce2['_isAttached']=_0x2cec4f,_0x3b7ce2['isAttached']=()=>_0x3b7ce2['_isAttached'],_0x3b7ce2;}function L(_0x2b6a13,_0x5c7e42,_0x4c5521){const _0x3c8e1e='elementEnd'==_0x2b6a13['type']?_0x4c5521['createPositionAt'](_0x2b6a13['item'],'end'):_0x4c5521['createPositionBefore'](_0x2b6a13['item']);return _0x4c5521['createPositionFromPath'](_0x5c7e42,_0x3c8e1e['path'],_0x3c8e1e['stickiness']);}function W(_0x2a697a,_0x28e67a,_0x50190d){const _0x579740='elementStart'==_0x2a697a['type']?_0x50190d['createPositionAt'](_0x2a697a['item'],0x0):_0x50190d['createPositionAfter'](_0x2a697a['item']);return _0x50190d['createPositionFromPath'](_0x28e67a,_0x579740['path'],_0x579740['stickiness']);}class hs extends ts{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4058c8,_0x381e4f){super(_0x4058c8),this['focusTracker']=new _0x5de8d6(),this['keystrokes']=new _0x1311df(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x381e4f),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),_0x5d2df7(this);}['render'](){super['render'](),_0x529fcd({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x494e22=_0x30adbf=>_0x30adbf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x494e22),this['keystrokes']['set']('arrowleft',_0x494e22),this['keystrokes']['set']('arrowup',_0x494e22),this['keystrokes']['set']('arrowdown',_0x494e22);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x21fd9b){this['revisionNameInputView']['fieldView']['element']['value']=_0x21fd9b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x402f8c){const _0x15d05c=new _0x26e7d9(this['locale'],_0x4edbb9),_0x568ea7=_0x15d05c['fieldView'];_0x568ea7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x32a801=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x402f8c&&(_0x32a801+='\x20('+y(this['locale'],'optional')+')'),(_0x15d05c['label']=_0x32a801,_0x568ea7['on']('input',()=>{this['revisionNameInputValue']=_0x568ea7['element']['value']['trim']();}),_0x15d05c);}}class u extends _0x5641b0{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3b039b=this['editor'],_0x13bf2a=_0x3b039b['plugins']['get']('RevisionTracker');_0x3b039b['ui']['componentFactory']['add']('revisionHistory',_0x3ea19a=>{const _0x51313e=_0x118a74(_0x3ea19a),_0x371953=_0x51313e['panelView']['children'],_0x401f33=new _0x21451d(_0x3ea19a),_0x381f60=new _0x35a49d(_0x3ea19a),_0x37219c=new te(_0x3ea19a),_0x367b4f=new _0x35a49d(_0x3ea19a),_0x4f586a=new te(_0x3ea19a);return _0x51313e['bind']('isEnabled')['to'](_0x13bf2a,'isReady',_0x13bf2a,'isEnabled',_0x3b039b,'isReadOnly',(_0x482d21,_0x7c319c,_0x4f8554)=>_0x482d21&&_0x7c319c&&!_0x4f8554),_0x51313e['buttonView']['set']({'icon':_0x204acd['history'],'label':y(_0x3ea19a,'Revision\x20history'),'tooltip':!0x0}),_0x37219c['set']({'label':y(_0x3ea19a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x37219c['bind']('isEnabled')['to'](_0x13bf2a,'isReady',_0x13bf2a,'isEnabled',_0x3b039b,'isReadOnly',(_0x56f09f,_0xb94ac3,_0x489c5a)=>_0x56f09f&&_0xb94ac3&&!_0x489c5a),_0x37219c['on']('execute',()=>this['_showDialog']()),_0x4f586a['set']({'label':y(_0x3ea19a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4f586a['bind']('isEnabled')['to'](_0x13bf2a,'isReady',_0x3b039b,'isReadOnly',(_0x26d361,_0xb7a334)=>_0x26d361&&!_0xb7a334),_0x4f586a['on']('execute',()=>{_0x3b039b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x51313e['isOpen']=!0x1,_0x3b039b['editing']['view']['focus']();}),_0x381f60['children']['add'](_0x37219c),_0x367b4f['children']['add'](_0x4f586a),_0x401f33['role']='menu',_0x401f33['items']['addMany']([_0x381f60,_0x367b4f]),_0x371953['add'](_0x401f33),_0x51313e;}),_0x3b039b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xadeadf=this['editor'],_0x50a5cd=_0xadeadf['locale'],_0x374022=new _0x3f00f1(_0x50a5cd),_0x8cc9e8=new _0x3a4070(_0x50a5cd);_0x374022['buttonView']['set']({'icon':_0x204acd['history'],'label':y(_0x50a5cd,'Revision\x20history')});const _0x487a82=new _0x346cb0(_0x50a5cd,_0x374022),_0x3d3e46=new _0x33a824(_0x50a5cd);_0x3d3e46['set']({'label':y(_0x50a5cd,'Save\x20current\x20revision')}),_0x3d3e46['delegate']('execute')['to'](_0x374022),_0x3d3e46['on']('execute',()=>{this['_showDialog']();}),_0x487a82['children']['add'](_0x3d3e46),_0x8cc9e8['items']['add'](_0x487a82);const _0x5d494f=new _0x346cb0(_0x50a5cd,_0x374022),_0x1a395e=new _0x33a824(_0x50a5cd);return _0x1a395e['set']({'label':y(_0x50a5cd,'Open\x20revision\x20history')}),_0x1a395e['delegate']('execute')['to'](_0x374022),_0x1a395e['on']('execute',()=>{_0xadeadf['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5d494f['children']['add'](_0x1a395e),_0x8cc9e8['items']['add'](_0x5d494f),_0x374022['panelView']['children']['add'](_0x8cc9e8),_0x374022;}['_showDialog'](){const _0x9f19ed=this['editor'],_0x386ed9=_0x9f19ed['locale'],_0x3921ce=_0x9f19ed['plugins']['get']('Dialog'),_0x712c15=_0x9f19ed['plugins']['get']('RevisionTracker');function _0x582e3a(_0x5c645d){_0x9f19ed['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5c645d['revisionName']?_0x5c645d['revisionNameInputView']['errorText']=y(_0x386ed9,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x9f19ed['plugins']['get'](l)['saveRevision']({'name':_0x5c645d['revisionName']}),_0x3921ce['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x582e3a(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3921ce['show']({'id':'revisionSave','title':y(_0x386ed9,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x9f19ed['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3921ce['hide']()},{'label':y(_0x9f19ed['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xef93e2){_0xef93e2['bind']('isEnabled')['to'](_0x712c15,'isReady',_0x712c15,'isEnabled',_0x9f19ed,'isReadOnly',(_0x102501,_0x2eb6d1,_0x43fb75)=>_0x102501&&_0x2eb6d1&&!_0x43fb75);},'onExecute':()=>_0x582e3a(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x21ccac=this['editor'],_0x11b0ea=_0x21ccac['locale'];this['_saveRevisionFormView']=new hs(_0x11b0ea,_0x21ccac['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends ts{['changeId'];['_model'];constructor(_0x2ed0bc,_0x1a4b7d){super(_0x2ed0bc),this['_model']=_0x1a4b7d,this['changeId']=_0x1a4b7d['id'];const _0x430d24=this['bindTemplate'],_0x3ff7f4=y(_0x2ed0bc,_0x1a4b7d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1a4b7d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1a4b7d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x430d24['to']('type',_0x58dd27=>'ck-revision-change__'+_0x58dd27)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3ff7f4}]},{'text':'\x20'+_0x1a4b7d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x2d215a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x348d5d){super(),this['id']=_0x348d5d['id']||_0x57e508(),this['author']=_0x348d5d['author'],this['type']=_0x348d5d['type'],this['data']=_0x348d5d['data']||{},this['rootName']=_0x348d5d['rootName'],this['set']('createdAt',_0x348d5d['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(_0x8a7256,_0x1c2473){this['newRevisionId']=_0x8a7256,this['oldRevisionId']=_0x1c2473,this['changes']=new _0x504d6c();}['_setChanges'](_0x5b21f1){for(const _0x26af60 of _0x5b21f1)this['changes']['add'](_0x26af60);}}const tt={'c':_0x1f7009,'a':_0xd6a26c,'e':_0x31103f,'r':_0x576114,'u':_0x276df6};class d extends _0x5641b0{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x10af68,_0x42efbd,A];}constructor(_0x2731da){super(_0x2731da),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',(_0x2d815a,_0x14088b,_0x16bdad)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3141d3=>{for(const _0x51fc44 of this['editor']['editing']['view']['document']['roots'])_0x16bdad?_0x3141d3['removeClass']('ck-editor__editable__overlay',_0x51fc44):_0x3141d3['addClass']('ck-editor__editable__overlay',_0x51fc44);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xf42d8d=>null!==_0xf42d8d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x26db60,_0x604daa,_0x36b949)=>_0x26db60&&_0x36b949?_0x604daa['changes']['getIndex'](_0x36b949):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3ec870,_0x6432f1)=>_0x3ec870?_0x6432f1['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x42efbd);}['init'](){const _0x1351c1=this['editor'],_0x426883=new yt(_0x1351c1,{'direction':'backward'}),_0x2beafe=new yt(_0x1351c1,{'direction':'forward'});(_0x1351c1['commands']['add']('showPreviousChange',_0x426883),_0x1351c1['commands']['add']('showNextChange',_0x2beafe),_0x1351c1['commands']['add']('restoreRevision',new bt(_0x1351c1)),this['on']('change:numberOfChanges',()=>{_0x426883['refresh'](),_0x2beafe['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1351c1['enableReadOnlyMode']('revision-viewer'),_0x1351c1['plugins']['has']('WidgetToolbarRepository'))&&_0x1351c1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x56799d){await this['loadRevisionData'](_0x56799d);const _0x49781f={};for(const _0x14a095 in _0x56799d['diffData']){if(_0x56799d['diffData'][_0x14a095]['attachChange']&&!_0x56799d['diffData'][_0x14a095]['attachChange']['isAttached'])continue;const _0x37215c=this['_removeRevisionMarkers'](JSON['parse'](_0x56799d['diffData'][_0x14a095]['insertions'])),_0x2db124=this['editor']['editing']['view']['document'],_0x324964=new _0x262c67(_0x2db124,_0x37215c['map'](_0x486494=>this['_getViewObj'](_0x486494)));this['editor']['data']['processor']['useFillerType']('marked'),_0x49781f[_0x14a095]=this['editor']['data']['processor']['toData'](_0x324964),this['editor']['data']['processor']['useFillerType']('default');}return _0x49781f;}async['getRevisionRootsAttributes'](_0x32d55d){await this['loadRevisionData'](_0x32d55d);const _0x367ad1={};for(const _0x1fec72 in _0x32d55d['diffData'])_0x32d55d['diffData'][_0x1fec72]['attachChange']&&!_0x32d55d['diffData'][_0x1fec72]['attachChange']['isAttached']||(_0x367ad1[_0x1fec72]=_0x32d55d['diffData'][_0x1fec72]['attributesAfter']||{});return _0x367ad1;}['_removeRevisionMarkers'](_0x245b93){return(_0x245b93=_0x245b93['filter'](_0x2a99c0=>!_0x2a99c0['name']||'revision-start'!==_0x2a99c0['name']&&'revision-end'!==_0x2a99c0['name']))['forEach'](_0x3a1a37=>{'string'!=typeof _0x3a1a37&&(_0x3a1a37['children']=this['_removeRevisionMarkers'](_0x3a1a37['children']),_0x3a1a37['attributes']=_0x3a1a37['attributes']['filter'](_0x164e3b=>!_0x164e3b[0x0]['startsWith']('data-revision-')));}),_0x245b93;}async['compare'](_0x5e409b,_0x32541a,_0x34f8e2=!0x1){if(!this['isEnabled'])return;const _0x52117c=this['diff'],_0x44b0de=this['repository'],_0x1a93df='string'==typeof _0x5e409b?_0x44b0de['getRevision'](_0x5e409b):_0x5e409b,_0x129f77='string'==typeof _0x32541a?_0x44b0de['getRevision'](_0x32541a):_0x32541a,_0x56dd92=_0x1a93df['id'],_0x891fab=_0x129f77?_0x129f77['id']:null;if(!_0x34f8e2&&this['diff']&&this['diff']['newRevisionId']===_0x56dd92&&this['diff']['oldRevisionId']===_0x891fab)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x56dd92,_0x891fab);const _0x5c662d=this['_getRevisionsRange'](_0x1a93df,_0x129f77,!0x0)['map'](_0x307cd4=>this['loadRevisionData'](_0x307cd4));return _0x5c662d['push'](new Promise(_0x59b9dc=>{setTimeout(_0x59b9dc,0x14);})),Promise['all'](_0x5c662d)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2f0949=this['_getDiff'](_0x56dd92,_0x891fab);for(const _0x5f555a of _0x2f0949['changes'])this['_changeIdToChange']['set'](_0x5f555a['id'],_0x5f555a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2be79b=>{for(const _0x163990 of this['editor']['model']['document']['getRootNames']())_0x2be79b['detachRoot'](_0x163990);for(const _0xa71cff of Object['keys'](_0x2f0949['model'])){const _0x1cf672=_0x2be79b['addRoot'](_0xa71cff);for(const _0x594c31 of Object['keys'](_0x2f0949['attributes'][_0xa71cff]))_0x2be79b['setAttribute'](_0x594c31,_0x2f0949['attributes'][_0xa71cff][_0x594c31],_0x1cf672);_0x2be79b['insert'](_0x2f0949['model'][_0xa71cff],_0x1cf672,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2f0949['changes'])),this['isReady']=!0x0;})['catch'](_0x1dfa4b=>{console['error'](_0x1dfa4b),this['_cleanUp'](),_0x52117c&&(this['diff']=_0x52117c),this['isReady']=!0x0;});}['addRevisionData'](_0xb5f607,_0x33e17e){const _0x42cdd2=this['repository']['createRevision'](_0xb5f607);return _0x42cdd2['on']('_update',(_0x61ad52,_0x342f00,_0x561fb3)=>_0x33e17e(_0x342f00,_0x561fb3,_0x42cdd2)),this['repository']['addRevision'](_0x42cdd2),_0x42cdd2;}['loadRevisionData'](_0x1d945d){if(!_0x1d945d||_0x1d945d['diffData'])return Promise['resolve']();{const _0x97eb1e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x97eb1e,'revisionId':_0x1d945d['id']})['then'](_0x2aceca=>{_0x1d945d['_update']({'diffData':_0x2aceca['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},_0xbe6736=>{for(const _0x25dc2e of this['editor']['model']['document']['getRootNames']())_0xbe6736['detachRoot'](_0x25dc2e);});}['_sortAndFilterDiffChanges'](_0x5ac65f){const _0xd1a84=[],_0x4c2628=new Map();for(const _0x548d40 of this['editor']['model']['document']['getRootNames']()){const _0x4ce480=this['editor']['editing']['view']['getDomRoot'](_0x548d40);if(!_0x4ce480)continue;const _0x29df68=_0x4ce480['getClientRects']()['item'](0x0);_0x29df68&&(_0xd1a84['push'](_0x548d40),_0x4c2628['set'](_0x548d40,_0x29df68));}return _0xd1a84['sort']((_0x51e5e1,_0x572fcc)=>{const _0x4adfa9=_0x4c2628['get'](_0x51e5e1),_0xc4c6b2=_0x4c2628['get'](_0x572fcc);return _0x4adfa9['y']-_0xc4c6b2['y']||_0x4adfa9['x']-_0xc4c6b2['x'];}),(_0x5ac65f=_0x5ac65f['filter'](_0x5410ca=>_0xd1a84['includes'](_0x5410ca['rootName'])))['sort']((_0x1c5c7b,_0xa5f9a5)=>_0xd1a84['indexOf'](_0x1c5c7b['rootName'])-_0xd1a84['indexOf'](_0xa5f9a5['rootName'])),_0x5ac65f;}['_makeTape'](_0x5c629c){const _0x299365=Array['from'](_0x5c629c['markers'])['filter'](([_0x1743d2,_0x578b0c])=>_0x1743d2['startsWith']('revision:')&&!_0x578b0c['isCollapsed']),_0x220557=Array['from'](this['editor']['model']['createRangeIn'](_0x5c629c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x299365['length'])for(const _0x146a5d of _0x220557){const [_0x275ae7,_0x3c2c02]=_0x299365[0x0],[,_0x1d625d,_0x73f24c]=_0x275ae7['split'](':');if(_0x3c2c02['end']['isEqual'](_0x146a5d['nextPosition'])&&_0x299365['shift'](),(_0x146a5d['previousPosition']['isEqual'](_0x3c2c02['start'])||_0x146a5d['previousPosition']['isAfter'](_0x3c2c02['start']))&&('insertion'==_0x1d625d?_0x146a5d['isAdded']={'userId':_0x73f24c}:'deletion'==_0x1d625d&&(_0x146a5d['isRemoved']={'userId':_0x73f24c})),0x0==_0x299365['length'])break;}return _0x220557;}['_refreshStartEndIndex'](_0xb98a11){const _0x2a1a01=new Map();for(let _0x2c493f=0x0;_0x2c493f<_0xb98a11['length'];_0x2c493f++)'text'===_0xb98a11[_0x2c493f]['type']?(_0xb98a11[_0x2c493f]['item']['startIndex']=_0x2c493f,_0xb98a11[_0x2c493f]['item']['endIndex']=_0x2c493f):('elementStart'===_0xb98a11[_0x2c493f]['type']?_0xb98a11[_0x2c493f]['item']['startIndex']=_0x2c493f:'elementEnd'===_0xb98a11[_0x2c493f]['type']&&(_0xb98a11[_0x2c493f]['item']['endIndex']=_0x2c493f),_0x2a1a01['set'](_0xb98a11[_0x2c493f]['id'],_0x2c493f));for(const _0x3444ac of _0x2a1a01['values']())'elementStart'===_0xb98a11[_0x3444ac]['type']?_0xb98a11[_0x3444ac]['item']['endIndex']=_0x2a1a01['get'](_0xb98a11[_0x3444ac]['pairId']):'elementEnd'===_0xb98a11[_0x3444ac]['type']&&(_0xb98a11[_0x3444ac]['item']['startIndex']=_0x2a1a01['get'](_0xb98a11[_0x3444ac]['pairId']));}['_processTape'](_0x38d91d){for(let _0x5d6c97=0x0;_0x5d6c97<_0x38d91d['length'];_0x5d6c97++){if('elementStart'===_0x38d91d[_0x5d6c97]['type'])_0x38d91d[_0x5d6c97]['item']['startIndex']=_0x5d6c97;else{if('elementEnd'===_0x38d91d[_0x5d6c97]['type']){_0x38d91d[_0x5d6c97]['item']['endIndex']=_0x5d6c97;const _0x3b2193=_0x38d91d[_0x5d6c97]['item']['startIndex'];_0x38d91d[_0x3b2193]['pairId']=_0x38d91d[_0x5d6c97]['id'],_0x38d91d[_0x5d6c97]['pairId']=_0x38d91d[_0x3b2193]['id'];}else _0x38d91d[_0x5d6c97]['item']['startIndex']=_0x5d6c97,_0x38d91d[_0x5d6c97]['item']['endIndex']=_0x5d6c97,_0x38d91d[_0x5d6c97]['pairId']=null;}_0x38d91d[_0x5d6c97]['markersStart']||(_0x38d91d[_0x5d6c97]['markersStart']=[],_0x38d91d[_0x5d6c97]['markersEnd']=[]);}}['_markInsertions'](_0x1c185c,_0x42572a){const _0x32db2a=_0x1c185c['filter'](_0x20af0=>!_0x20af0['isAdded']);for(let _0xaf45b0=0x0;_0xaf45b0<_0x42572a['length'];_0xaf45b0++)_0x42572a[_0xaf45b0]['isAdded']&&(_0x32db2a[_0xaf45b0]['isAdded']=_0x42572a[_0xaf45b0]['isAdded']);}['_makeModelFromViewString'](_0x271412){const _0x1ce019=JSON['parse'](_0x271412),_0x3e20ed=this['editor']['editing']['view']['document'],_0x2effbb=new _0x262c67(_0x3e20ed,_0x1ce019['map'](_0x482c6c=>this['_getViewObj'](_0x482c6c)));return this['editor']['data']['toModel'](_0x2effbb);}['_getViewObj'](_0xde6bb){const _0x43f38d=this['editor']['editing']['view']['document'];if('string'==typeof _0xde6bb)return new _0x30021a(_0x43f38d,_0xde6bb);{const _0x2120f7=_0xde6bb['children']['map'](_0x1ee6fe=>this['_getViewObj'](_0x1ee6fe));return new(tt[_0xde6bb['type']]||_0x23799c)(_0x43f38d,_0xde6bb['name'],_0xde6bb['attributes'],_0x2120f7);}}['_getDiff'](_0x5b8137,_0x57065c=null){const _0x4387f9=this['repository']['getRevision'](_0x5b8137),_0x26b7ee=_0x57065c?this['repository']['getRevision'](_0x57065c):null,_0xda7dae=this['_getRevisionsRange'](_0x4387f9,_0x26b7ee),_0xdfc5fb=_0xda7dae[_0xda7dae['length']-0x1],_0x1b98f1=new Map(),_0x16cf82={'model':{},'attributes':{},'changes':[]},_0x474a5e=new Set(),_0x55f75b=new Map();for(let _0x54efa9=_0xda7dae['length']-0x1;_0x54efa9>=0x0;_0x54efa9--){const _0x157f99=_0xda7dae[_0x54efa9];for(const _0x4a152a of Object['keys'](_0x157f99['diffData']))if(_0x157f99['diffData'][_0x4a152a]['attachChange']){const _0x192dde=_0x157f99['diffData'][_0x4a152a]['attachChange'];_0x192dde['isAttached']?(_0x474a5e['add'](_0x4a152a),_0x55f75b['has'](_0x4a152a)&&_0x55f75b['get'](_0x4a152a)['userId']==_0x192dde['userId']?_0x55f75b['delete'](_0x4a152a):_0x55f75b['set'](_0x4a152a,_0x192dde)):_0x55f75b['has'](_0x4a152a)?(_0x474a5e['delete'](_0x4a152a),_0x55f75b['delete'](_0x4a152a)):(_0x474a5e['add'](_0x4a152a),_0x55f75b['set'](_0x4a152a,_0x192dde));}else _0x474a5e['add'](_0x4a152a);}for(const _0x463669 of _0x474a5e){const _0x5ee989=_0x55f75b['has'](_0x463669)&&!_0x55f75b['get'](_0x463669)['isAttached'];let _0x581add=_0x5ee989?_0xda7dae['length']-0x1:0x0;const _0x5d5987=_0x5ee989?-0x1:0x1;for(;_0xda7dae[_0x581add];){const _0x4659a4=_0xda7dae[_0x581add];if(_0x4659a4['diffData'][_0x463669]){const _0x47d994=_0x5ee989?_0x4659a4['diffData'][_0x463669]['attributesBefore']:_0x4659a4['diffData'][_0x463669]['attributesAfter'];_0x16cf82['attributes'][_0x463669]=_0x47d994?_0x48669d(_0x47d994):{};break;}_0x581add+=_0x5d5987;}}for(const _0x104d70 of _0xda7dae){_0x104d70['model']={};for(const _0x1022c4 of _0x104d70['authors'])_0x1b98f1['set'](_0x1022c4['id'],_0x1022c4);for(const _0x488b0e of _0x474a5e){const _0xd924af=_0x104d70['diffData'][_0x488b0e]?_0x104d70['diffData'][_0x488b0e]['insertions']:'[]',_0x20b4d0=_0x104d70['diffData'][_0x488b0e]?_0x104d70['diffData'][_0x488b0e]['deletions']:'[]';_0x104d70['model'][_0x488b0e]={'insertions':this['_makeModelFromViewString'](_0xd924af),'deletions':this['_makeModelFromViewString'](_0x20b4d0)};}}for(const _0x14905d of _0x474a5e){let _0x4c4e09=null,_0x225c0b=0x0;const _0x539421=new Map(Array['from'](_0x4387f9['model'][_0x14905d]['insertions']['markers'])['filter'](([_0x4219fb])=>!_0x4219fb['startsWith']('revision:')));let _0x4312fc=0x0;for(const _0x570631 of _0xda7dae){const _0x1951a8=this['_makeTape'](_0x570631['model'][_0x14905d]['insertions']);_0x570631==_0x4387f9?(_0x4c4e09=_0x1951a8,_0x225c0b=_0x4c4e09['length'],_0x4c4e09['forEach'](_0x306ba2=>{_0x306ba2['id']=_0x4312fc++;}),this['_processTape'](_0x4c4e09)):this['_markInsertions'](_0x4c4e09,_0x1951a8);const _0x48f968=_0x4c4e09['filter'](_0xeb5132=>!_0xeb5132['isAdded'])['map'](_0x5d0fb=>_0x5d0fb['id']);let _0x2e0299=0x0;const _0x1928da=this['_makeTape'](_0x570631['model'][_0x14905d]['deletions']);_0x1928da['forEach'](_0x5ea6b3=>{_0x5ea6b3['isRemoved']?_0x5ea6b3['id']=_0x225c0b++:_0x5ea6b3['id']=_0x48f968[_0x2e0299++];}),this['_processTape'](_0x1928da),this['_setDistance'](_0x4c4e09,'isAdded'),this['_setDistance'](_0x1928da,'isRemoved'),_0x570631==_0x4387f9&&this['_markMarkers'](_0x4c4e09,_0x539421),_0x4c4e09=this['_joinTapes'](_0x4c4e09,_0x1928da),this['_refreshStartEndIndex'](_0x4c4e09),this['_setDistance'](_0x4c4e09,'isRemoved');}_0x4c4e09=_0x4c4e09['filter'](_0x17f838=>!(_0x17f838['isAdded']&&_0x17f838['isRemoved']));const _0x362814=new Map(_0xdfc5fb['model'][_0x14905d]['deletions']['markers']),_0x241887=new Set(_0x539421['keys']());for(const _0x18ffed of _0x362814['keys']())_0x241887['delete'](_0x18ffed);this['_markSuggestions'](_0x4c4e09,_0x241887),this['_fixObsoleteTags'](_0x4c4e09),_0x4c4e09=this['_removeMissingPairs'](_0x4c4e09),_0x4c4e09=this['_markMismatchedRemovedTags'](_0x4c4e09),_0x4c4e09=this['_removeUnsupportedChanges'](_0x4c4e09);const {root:_0x494375,changes:_0x3761af}=this['_makeModelFromTape'](_0x4c4e09,_0x1b98f1,_0x14905d);_0x16cf82['model'][_0x14905d]=_0x494375;const _0xf89978=_0x55f75b['get'](_0x14905d);if(_0xf89978){const _0x4c7cf6=_0x1b98f1['get'](_0xf89978['userId']),_0x3b036d=new r({'author':_0x4c7cf6,'type':_0xf89978['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x14905d});_0x3761af['unshift'](_0x3b036d),_0x16cf82['attributes'][_0x14905d]['revisionHistoryAttachChange']=_0x3b036d['id'];}_0x16cf82['changes']=_0x16cf82['changes']['concat'](_0x3761af);}return _0x16cf82;}['_markMarkers'](_0x19f90c,_0x5847ab){for(let _0x173672=0x0;_0x173672<_0x19f90c['length'];_0x173672++)for(const [_0xcb036f,_0x57526f]of _0x5847ab)_0x57526f['start']['isEqual'](_0x19f90c[_0x173672]['previousPosition'])&&_0x19f90c[_0x173672]['markersStart']['push'](_0xcb036f),_0x57526f['end']['isEqual'](_0x19f90c[_0x173672]['nextPosition'])&&_0x19f90c[_0x173672]['markersEnd']['push'](_0xcb036f);}['_joinTapes'](_0x551596,_0x358a2a){let _0x22ee45=[],_0x259871=0x0,_0x150826=0x0;for(;_0x259871<_0x551596['length']||_0x150826<_0x358a2a['length'];){const _0x27d56b=_0x551596[_0x259871]||{},_0x1165a1=_0x358a2a[_0x150826]||{};if(_0x27d56b['id']==_0x1165a1['id'])_0x259871++,_0x150826++,_0x22ee45['push'](_0x27d56b);else{if(_0x1165a1['isRemoved']&&_0x27d56b['isAdded']){const {commonTape:_0x4dfe94,iEnd:_0x164be9,jEnd:_0x3d70cb}=this['_threeWayMerge'](_0x551596,_0x259871,_0x358a2a,_0x150826);_0x22ee45=_0x22ee45['concat'](_0x4dfe94),_0x259871=_0x164be9,_0x150826=_0x3d70cb;}else _0x1165a1['isRemoved']?(_0x150826++,_0x22ee45['push'](_0x1165a1)):(_0x259871++,_0x22ee45['push'](_0x27d56b));}}return _0x22ee45;}['_markSuggestions'](_0x9d1283,_0x208a2b){const _0x323935=[];for(let _0x3a495e=0x0;_0x3a495e<_0x9d1283['length'];_0x3a495e++){for(let _0x1dbb23=0x0;_0x1dbb23<_0x9d1283[_0x3a495e]['markersStart']['length'];_0x1dbb23++){const _0x5403a6=_0x9d1283[_0x3a495e]['markersStart'][_0x1dbb23];if(!_0x208a2b['has'](_0x5403a6))continue;const {group:_0x238fec,type:_0x2c6b1c,authorId:_0x4ba6af}=_0x572aa0(_0x5403a6);'revision-suggestion'!=_0x238fec||'insertion'!=_0x2c6b1c&&'deletion'!=_0x2c6b1c||(_0x323935['unshift']({'type':_0x2c6b1c,'name':_0x5403a6,'userId':_0x4ba6af}),_0x9d1283[_0x3a495e]['markersStart']['splice'](_0x1dbb23,0x1),_0x1dbb23--);}_0x3ed496(_0x9d1283[_0x3a495e]);for(let _0x9dcfa3=0x0;_0x9dcfa3<_0x9d1283[_0x3a495e]['markersEnd']['length'];_0x9dcfa3++){const _0x1ce6e3=_0x9d1283[_0x3a495e]['markersEnd'][_0x9dcfa3];if(!_0x208a2b['has'](_0x1ce6e3))continue;const {group:_0x1a1a53,type:_0x469aea}=_0x572aa0(_0x1ce6e3);if('revision-suggestion'!=_0x1a1a53||'insertion'!=_0x469aea&&'deletion'!=_0x469aea)continue;_0x9d1283[_0x3a495e]['markersEnd']['splice'](_0x9dcfa3,0x1),_0x9dcfa3--;const _0x781796=_0x323935['findIndex'](_0x1bf09e=>_0x1bf09e['name']==_0x1ce6e3);_0x781796>-0x1&&_0x323935['splice'](_0x781796,0x1);}}function _0x572aa0(_0x334042){const _0x2aaebf=_0x334042['split'](':');return{'group':_0x2aaebf[0x0],'type':_0x2aaebf[0x1],'subType':_0x2aaebf['length']>=0x5?_0x2aaebf[0x2]:null,'id':_0x2aaebf['length']<0x5?_0x2aaebf[0x2]:_0x2aaebf[0x3],'authorId':_0x2aaebf['length']<0x5?_0x2aaebf[0x3]:_0x2aaebf[0x4],'markerCount':0x6==_0x2aaebf['length']?_0x2aaebf[0x5]:null};}function _0x3ed496(_0x49d1b8){for(let _0x549dde=0x0;_0x549dde<_0x323935['length'];_0x549dde++){if(_0x49d1b8['isAdded']&&'insertion'==_0x323935[_0x549dde]['type'])return _0x49d1b8['isAddSuggestion']=_0x323935[_0x549dde],void delete _0x49d1b8['isAdded'];if(!_0x49d1b8['isAdded']&&!_0x49d1b8['isRemoved']&&'deletion'==_0x323935[_0x549dde]['type'])return void(_0x49d1b8['isRemoveSuggestion']=_0x323935[_0x549dde]);}}}['_setDistance'](_0x280d81,_0x1fd920){let _0xff3590=0x0,_0x100a0f=!0x1;const _0x320ba7=new Map();for(const _0x2da365 of _0x280d81)_0x2da365[_0x1fd920]?_0x100a0f&&(_0xff3590++,_0x100a0f=!0x1):(_0xff3590++,_0x100a0f=!0x0),_0x320ba7['set'](_0x2da365['id'],_0xff3590);for(let _0x5717a2=0x0;_0x5717a2<_0x280d81['length'];_0x5717a2++){if('isRemoved'==_0x1fd920&&_0x280d81[_0x5717a2]['isAdded']||'isAdded'==_0x1fd920&&_0x280d81[_0x5717a2]['isRemoved'])continue;if('text'==_0x280d81[_0x5717a2]['type']){_0x280d81[_0x5717a2]['distance']=0x0;continue;}const _0xe9d666=_0x320ba7['get'](_0x280d81[_0x5717a2]['pairId']),_0xf1261d=_0x320ba7['get'](_0x280d81[_0x5717a2]['id']);_0x280d81[_0x5717a2]['distance']=_0xe9d666-_0xf1261d;}}['_getRevisionsRange'](_0x29213b,_0x1dec86,_0x3afa5f=!0x1){const _0x54a6bb=[];let _0x500dff=this['repository']['getIndex'](_0x29213b),_0x564187=this['repository']['getIndex'](_0x1dec86);for(-0x1==_0x564187&&(_0x564187=this['repository']['_revisions']['length'],_0x3afa5f=!0x1);_0x500dff<_0x564187;)_0x54a6bb['push'](this['repository']['getRevision'](_0x500dff)),_0x500dff++;return _0x3afa5f&&_0x54a6bb['push'](this['repository']['getRevision'](_0x500dff)),_0x54a6bb;}['_threeWayMerge'](_0x16ad12,_0x22448d,_0x381cfa,_0x8fe4a0){const _0x442326=this['editor']['model']['schema'];let _0xf6b801=_0x22448d;for(;_0x16ad12[_0xf6b801]&&_0x16ad12[_0xf6b801]['isAdded'];)_0xf6b801++;let _0x649674=_0x8fe4a0;for(;_0x381cfa[_0x649674]&&_0x381cfa[_0x649674]['isRemoved'];)_0x649674++;_0x186462(_0x16ad12,_0x22448d,_0xf6b801),_0x186462(_0x381cfa,_0x8fe4a0,_0x649674);const _0xef2135=_0x381cfa['slice'](_0x8fe4a0,_0x649674)['concat'](_0x16ad12['slice'](_0x22448d,_0xf6b801));return _0xef2135['sort']((_0x583750,_0x5f4c87)=>_0x583750['side']!=_0x5f4c87['side']?_0x583750['side']-_0x5f4c87['side']:_0x583750['level']!=_0x5f4c87['level']?_0x583750['level']-_0x5f4c87['level']:_0x583750['distance']!=_0x5f4c87['distance']?_0x5f4c87['distance']-_0x583750['distance']:!!_0x583750['isAdded']!=!!_0x5f4c87['isAdded']?-0x1==_0x583750['side']||0x0==_0x583750['side']?_0x583750['isAdded']?-0x1:0x1:_0x583750['isAdded']?0x1:-0x1:_0x583750['index']-_0x5f4c87['index']),{'commonTape':_0xef2135,'iEnd':_0xf6b801,'jEnd':_0x649674};function _0x186462(_0x394e6a,_0x5275e5,_0x4f6bd0){let _0x53c815=-0x1,_0x5660dc=Number['POSITIVE_INFINITY'],_0x270520=!0x0;for(let _0xd9a8fa=_0x5275e5;_0xd9a8fa<_0x4f6bd0;_0xd9a8fa++)if(_0x442326['isInline'](_0x394e6a[_0xd9a8fa]['item'])||(_0x270520=!0x1),_0x394e6a[_0xd9a8fa]['item']['startIndex']<_0x5275e5&&(_0x53c815=_0xd9a8fa),_0x394e6a[_0xd9a8fa]['item']['endIndex']>=_0x4f6bd0){_0x5660dc=_0xd9a8fa;break;}_0x270520&&(_0x53c815=_0x4f6bd0-0x1);for(let _0x49d3bb=_0x5275e5;_0x49d3bb<_0x4f6bd0;_0x49d3bb++)_0x394e6a[_0x49d3bb]['side']=_0x49d3bb<=_0x53c815?-0x1:_0x49d3bb<_0x5660dc?0x0:0x1,_0x394e6a[_0x49d3bb]['index']=_0x49d3bb;let _0x1d358f=0x0;for(let _0x5c795a=_0x5275e5;_0x5c795a<=_0x53c815;_0x5c795a++)0x0==_0x394e6a[_0x5c795a]['distance']?_0x394e6a[_0x5c795a]['level']=_0x1d358f:(_0x1d358f++,_0x394e6a[_0x5c795a]['level']=_0x1d358f,_0x1d358f++);for(let _0x203381=_0x5275e5;_0x203381<_0x4f6bd0;_0x203381++)0x0==_0x394e6a[_0x203381]['side']&&(_0x394e6a[_0x203381]['level']=_0x1d358f);_0x1d358f=0x0;for(let _0x3297ab=_0x4f6bd0-0x1;_0x3297ab>=_0x5660dc;_0x3297ab--)0x0==_0x394e6a[_0x3297ab]['distance']?_0x394e6a[_0x3297ab]['level']=_0x1d358f:(_0x1d358f--,_0x394e6a[_0x3297ab]['level']=_0x1d358f,_0x1d358f--);}}['_fixObsoleteTags'](_0x409d67){const _0x2b1832=new Map(),_0x5e5bd4=this['editor']['model']['schema'];for(let _0x677d9e=0x1;_0x677d9e<_0x409d67['length'];_0x677d9e++){let _0x51a5e1,_0x166398,_0x296e97;const _0x3e3a54=_0x409d67[_0x677d9e],_0x53a443=_0x409d67[_0x677d9e-0x1];if('text'==_0x3e3a54['type'])continue;if(_0x3e3a54['type']!=_0x53a443['type'])continue;if(!_0x5e5bd4['isBlock'](_0x53a443['item'])||_0x5e5bd4['isLimit'](_0x53a443['item']))continue;if(!_0x5e5bd4['isBlock'](_0x3e3a54['item'])||_0x5e5bd4['isLimit'](_0x3e3a54['item']))continue;if((_0x409d67[_0x677d9e]['isAdded']||_0x409d67[_0x677d9e]['isAddSuggestion'])&&_0x409d67[_0x677d9e-0x1]['isRemoved'])_0x51a5e1=_0x409d67[_0x677d9e],_0x166398=_0x409d67[_0x677d9e-0x1],_0x296e97=_0x677d9e-0x1;else{if(!_0x409d67[_0x677d9e]['isRemoved']||!_0x409d67[_0x677d9e-0x1]['isAdded']&&!_0x409d67[_0x677d9e-0x1]['isAddSuggestion'])continue;_0x51a5e1=_0x409d67[_0x677d9e-0x1],_0x166398=_0x409d67[_0x677d9e],_0x296e97=_0x677d9e;}const _0xa05e85=_0x51a5e1['level']==_0x166398['level'],_0x5d15ee=Math['abs'](_0x51a5e1['level'])<Math['abs'](_0x166398['level'])&&0x0==_0x166398['distance'];(_0xa05e85||_0x5d15ee)&&(_0x2b1832['set'](_0x166398['id'],_0x51a5e1['id']),_0x409d67['splice'](_0x296e97,0x1),_0x677d9e--,_0x51a5e1['isAdded']=!0x1);}for(let _0x56f02d=0x0;_0x56f02d<_0x409d67['length'];_0x56f02d++)_0x2b1832['has'](_0x409d67[_0x56f02d]['pairId'])&&(_0x409d67[_0x56f02d]['pairId']=_0x2b1832['get'](_0x409d67[_0x56f02d]['pairId']));}['_removeMissingPairs'](_0x4f9a51){const _0x278814=new Set(_0x4f9a51['map'](_0x1fb71d=>_0x1fb71d['id']));for(let _0x59a624=0x0;_0x59a624<_0x4f9a51['length'];_0x59a624++)_0x278814['has'](_0x4f9a51[_0x59a624]['pairId'])||0x0==_0x4f9a51[_0x59a624]['distance']||(_0x4f9a51[_0x59a624]['isIncorrect']=!0x0);return _0x4f9a51['filter'](_0x40f8a7=>!_0x40f8a7['isIncorrect']);}['_markMismatchedRemovedTags'](_0x35ef0c){const _0xa73c47=new Set();for(let _0x19870c=0x0;_0x19870c<_0x35ef0c['length'];_0x19870c++){if(_0xa73c47['has'](_0x35ef0c[_0x19870c]['id'])&&_0x35ef0c[_0x19870c]['isRemoved']&&(_0x35ef0c[_0x19870c]['isIncorrect']=!0x0),_0x35ef0c[_0x19870c]['isIncorrect'])continue;if(0x0==_0x35ef0c[_0x19870c]['distance'])continue;if('elementStart'!=_0x35ef0c[_0x19870c]['type'])continue;if(null==_0x35ef0c[_0x19870c]['pairId'])continue;let _0x3366b1=_0x19870c+0x1,_0x5e43e9=0x0;for(;_0x35ef0c[_0x3366b1]['id']!=_0x35ef0c[_0x19870c]['pairId'];)'elementStart'==_0x35ef0c[_0x3366b1]['type']?_0x5e43e9++:'elementEnd'==_0x35ef0c[_0x3366b1]['type']&&_0x5e43e9--,_0x3366b1++;if(0x0!=_0x5e43e9){if(_0x35ef0c[_0x19870c]['isRemoved'])_0x35ef0c[_0x19870c]['isIncorrect']=!0x0;else{for(;_0x3366b1!=_0x19870c;)_0x35ef0c[_0x3366b1]['isRemoved']&&0x0!=_0x35ef0c[_0x3366b1]['distance']&&(_0x35ef0c[_0x3366b1]['isIncorrect']=!0x0,_0xa73c47['add'](_0x35ef0c[_0x3366b1]['pairId'])),_0x3366b1--;}}}return _0x35ef0c['filter'](_0x2e7da2=>!_0x2e7da2['isIncorrect']);}['_removeUnsupportedChanges'](_0x3d9b85){const _0x5a834e=this['editor']['model']['schema'];for(let _0x33a73a=0x0;_0x33a73a<_0x3d9b85['length'];_0x33a73a++){if(!(_0x3d9b85[_0x33a73a]['isAdded']||_0x3d9b85[_0x33a73a]['isAddSuggestion']||_0x3d9b85[_0x33a73a]['isRemoved']||_0x3d9b85[_0x33a73a]['isRemoveSuggestion']))continue;if(0x0==_0x3d9b85[_0x33a73a]['distance'])continue;const _0x15bc44=_0x3d9b85[_0x33a73a]['item'];_0x5a834e['isBlock'](_0x15bc44)||_0x5a834e['isLimit'](_0x15bc44)||(_0x3d9b85[_0x33a73a]['isAdded']&&delete _0x3d9b85[_0x33a73a]['isAdded'],_0x3d9b85[_0x33a73a]['isAddSuggestion']&&delete _0x3d9b85[_0x33a73a]['isAddSuggestion'],_0x3d9b85[_0x33a73a]['isRemoveSuggestion']&&delete _0x3d9b85[_0x33a73a]['isRemoveSuggestion'],_0x3d9b85[_0x33a73a]['isRemoved']&&(_0x3d9b85[_0x33a73a]['isIncorrect']=!0x0));}return _0x3d9b85['filter'](_0x3728f6=>!_0x3728f6['isIncorrect']);}['_makeModelFromTape'](_0x1d8695,_0x2d7cab,_0x3c74e0){const _0x373fb8=new wt(),_0x1ce9f1=[],_0x2dc67d=new Map(),_0x4b31aa=this['editor']['model'],_0x537708=_0x4b31aa['schema'],_0x3867a5=[_0x373fb8],_0x1b6c5f={},_0x49a956={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x53ef13=null;const _0x12a87a=[0x0];for(let _0x407d51=0x0;_0x407d51<_0x1d8695['length'];_0x407d51++){let _0x1f8e67,_0x1d9d56;if('elementStart'===_0x1d8695[_0x407d51]['type']){_0x1f8e67=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a);const _0x39c8db=new ft(_0x1d8695[_0x407d51]['item']['name'],_0x1d8695[_0x407d51]['item']['getAttributes']());_0x3867a5[0x0]['_appendChild'](_0x39c8db),_0x12a87a['push'](0x0),_0x3867a5['unshift'](_0x39c8db),_0x1d9d56=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x53ef13=null;}else{if('elementEnd'===_0x1d8695[_0x407d51]['type'])_0x3867a5['shift'](),_0x1f8e67=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x12a87a['pop'](),_0x12a87a[_0x12a87a['length']-0x1]++,_0x1d9d56=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x53ef13=null;else{if(_0x1f8e67=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x53ef13&&_0x5d3aa0(_0x53ef13,_0x1d8695[_0x407d51]['item']))_0x53ef13['_data']+=_0x1d8695[_0x407d51]['item']['data'];else{const _0x333ae3=new _t(_0x1d8695[_0x407d51]['item']['data'],_0x1d8695[_0x407d51]['item']['getAttributes']());_0x3867a5[0x0]['_appendChild'](_0x333ae3),_0x53ef13=_0x333ae3;}_0x12a87a[_0x12a87a['length']-0x1]+=_0x1d8695[_0x407d51]['item']['offsetSize'],_0x1d9d56=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a);}}for(const _0x2d8c26 of _0x1d8695[_0x407d51]['markersStart'])_0x2dc67d['set'](_0x2d8c26,{'start':_0x1f8e67,'end':null});_0x197a3f('isRemoveSuggestion',_0x407d51,_0x1f8e67,_0x1d9d56),_0x197a3f('isAddSuggestion',_0x407d51,_0x1f8e67,_0x1d9d56),_0x197a3f('isRemoved',_0x407d51,_0x1f8e67,_0x1d9d56),_0x197a3f('isAdded',_0x407d51,_0x1f8e67,_0x1d9d56);for(const _0x4b8753 of _0x1d8695[_0x407d51]['markersEnd']){_0x2dc67d['get'](_0x4b8753)['end']=_0x1d9d56;}}for(const [_0x3d8fb6,_0x779bf7]of _0x2dc67d){const _0x240963=this['editor']['model']['createRange'](_0x779bf7['start'],_0x779bf7['end']);_0x373fb8['markers']['set'](_0x3d8fb6,_0x240963);}return _0x1ce9f1['sort']((_0x4294d2,_0x5daa4b)=>{const _0x37c189=_0x373fb8['markers']['get']('revision:'+_0x4294d2['id']),_0x4a3d93=_0x373fb8['markers']['get']('revision:'+_0x5daa4b['id']);return _0x37c189['start']['isBefore'](_0x4a3d93['start'])?-0x1:_0x37c189['start']['isAfter'](_0x4a3d93['start'])?0x1:_0x37c189['end']['isBefore'](_0x4a3d93['end'])?-0x1:_0x37c189['end']['isAfter'](_0x4a3d93['end'])?0x1:'add'===_0x4294d2['type']?-0x1:0x1;}),{'root':_0x373fb8,'changes':_0x1ce9f1};function _0x197a3f(_0x6e3bf6,_0x3669fb,_0x26fab8,_0x46749f){const _0x3f3569=!!_0x1d8695[_0x3669fb][_0x6e3bf6],_0x5431e6=_0x3f3569?_0x1d8695[_0x3669fb][_0x6e3bf6]['userId']:null,_0x288f98=_0x3669fb===_0x1d8695['length']-0x1,_0x2b7c53=_0x49a956[_0x6e3bf6][0x0],_0x32b43f=_0x537708['isObject'](_0x1d8695[_0x3669fb]['item']);!_0x1b6c5f[_0x6e3bf6]&&_0x3f3569?_0x1b6c5f[_0x6e3bf6]={'start':_0x26fab8,'tapeItem':_0x1d8695[_0x3669fb],'userId':_0x5431e6,'type':_0x6e3bf6}:_0x1b6c5f[_0x6e3bf6]&&!_0x3f3569?(_0x1b6c5f[_0x6e3bf6]['end']=_0x26fab8,_0x4191cf(_0x1b6c5f[_0x6e3bf6]),_0x1b6c5f[_0x6e3bf6]=null):_0x1b6c5f[_0x6e3bf6]&&_0x3f3569&&_0x1b6c5f[_0x6e3bf6]['userId']!==_0x5431e6&&(_0x1b6c5f[_0x6e3bf6]['end']=_0x26fab8,_0x2b7c53&&_0x2b7c53['userId']===_0x1b6c5f[_0x6e3bf6]['userId']||_0x4191cf(_0x1b6c5f[_0x6e3bf6]),_0x1b6c5f[_0x6e3bf6]={'start':_0x26fab8,'tapeItem':_0x1d8695[_0x3669fb],'userId':_0x5431e6,'type':_0x6e3bf6}),_0x1b6c5f[_0x6e3bf6]&&_0x32b43f&&('elementStart'!==_0x1d8695[_0x3669fb]['type']||_0x2b7c53&&_0x2b7c53['userId']===_0x5431e6||_0x49a956[_0x6e3bf6]['unshift']({'userId':_0x5431e6,'object':_0x1d8695[_0x3669fb]['item'],'change':_0x1b6c5f[_0x6e3bf6]}),'elementEnd'===_0x1d8695[_0x3669fb]['type']&&_0x2b7c53&&_0x2b7c53['object']===_0x1d8695[_0x3669fb]['item']&&(_0x49a956[_0x6e3bf6]['shift'](),_0x1b6c5f[_0x6e3bf6]=_0x2b7c53['change'])),_0x1b6c5f[_0x6e3bf6]&&_0x288f98&&(_0x1b6c5f[_0x6e3bf6]['end']=_0x46749f,_0x4191cf(_0x1b6c5f[_0x6e3bf6]),_0x1b6c5f[_0x6e3bf6]=null);}function _0x4191cf({start:_0x3cd011,end:_0x21eede,tapeItem:_0x2b3d95,userId:_0x42cd82,type:_0x29a31f}){const _0x2c698f=_0x2b3d95['item'],_0x2f5f1d=_0x4b31aa['schema']['isBlock'](_0x2c698f)&&!_0x4b31aa['schema']['isLimit'](_0x2c698f),_0x3b877e=_0x3cd011['nodeAfter']==_0x21eede['parent']&&_0x21eede['isAtStart'];if(_0x2f5f1d&&_0x3b877e)return;const _0x287787=_0x4b31aa['createRange'](_0x3cd011,_0x21eede),_0x6c0471=_0x2d7cab['get'](_0x42cd82),_0x4fec16=new r({'author':_0x6c0471,'type':'isAdded'==_0x29a31f||'isAddSuggestion'==_0x29a31f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x29a31f||'isRemoveSuggestion'==_0x29a31f},'createdAt':new Date(),'rootName':_0x3c74e0});_0x1ce9f1['push'](_0x4fec16),_0x373fb8['markers']['set']('revision:'+_0x4fec16['id'],_0x287787);}function _0x5d3aa0(_0x168d89,_0x42e2a7){const _0x3c49d7=_0x168d89['getAttributes'](),_0xdffcc8=_0x42e2a7['getAttributes']();for(const _0x4daa03 of _0x3c49d7){if(_0x4daa03[0x1]!==_0x42e2a7['getAttribute'](_0x4daa03[0x0]))return!0x1;_0xdffcc8['next']();}return _0xdffcc8['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x49d7e7=>{const _0x12eec5=_0x49d7e7['markerName']['split'](':')[0x1],_0x50a9d5=this['_getChangeFromId'](_0x12eec5);if(!_0x50a9d5)return null;const _0xf849f3='add'==_0x50a9d5['type']?'insertion':'deletion',_0x2f51da=['ck-suggestion-marker','ck-suggestion-marker-'+_0xf849f3];return _0x50a9d5['data']['isSuggestion']&&_0x2f51da['push']('ck-suggestion-marker-'+_0xf849f3+'-new'),this['activeChange']==_0x50a9d5&&_0x2f51da['push']('ck-suggestion-marker--active'),{'classes':_0x2f51da,'attributes':{'data-change-id':_0x12eec5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1c174f=>{_0x1c174f['on']('element:pre',(_0x359091,_0x3b24b4,_0x58f704)=>{const _0x229135=_0x3b24b4['viewItem']['getChild'](0x0);if(!_0x229135||!_0x229135['is']('element','code'))return;if(!_0x58f704['consumable']['consume'](_0x229135,{'attributes':['vid_start','vid_end']}))return;const _0x489871=_0x3b24b4['modelRange']['start']['nodeAfter'];_0x58f704['writer']['setAttribute']('vid_start',_0x229135['getAttribute']('vid_start'),_0x489871),_0x58f704['writer']['setAttribute']('vid_end',_0x229135['getAttribute']('vid_end'),_0x489871);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3beaf8=>{_0x3beaf8['on']('element',(_0x2de358,_0x2e78b4,_0x5a2c13)=>{if(!_0x5a2c13['consumable']['consume'](_0x2e78b4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2e78b4['modelRange']['isCollapsed'])return;const _0x223c3a=_0x2e78b4['modelRange']['start']['nodeAfter'];_0x223c3a['hasAttribute']('vid_start')||_0x223c3a['hasAttribute']('vid')||(_0x5a2c13['writer']['setAttribute']('vid_start',_0x2e78b4['viewItem']['getAttribute']('vid_start'),_0x223c3a),_0x5a2c13['writer']['setAttribute']('vid_end',_0x2e78b4['viewItem']['getAttribute']('vid_end'),_0x223c3a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3bd0e2=>_0x3bd0e2['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x555cce,[,_0x37fbbc])=>{['vid_start','vid_end','vid']['includes'](_0x37fbbc)&&(_0x555cce['return']=!0x0,_0x555cce['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1f1425=>{_0x1f1425['on']('attribute:vid',(_0x7a7255,_0x5dea1d,_0x552d49)=>{if('\x20'!=_0x5dea1d['item']['data']||_0x5dea1d['item']['parent']['maxOffset']>0x1)return;if(!_0x552d49['consumable']['consume'](_0x5dea1d['item'],_0x7a7255['name']))return;const _0x47135a=_0x552d49['writer'],_0x13b3b5=_0x552d49['mapper']['toViewRange'](_0x5dea1d['range']);_0x47135a['wrap'](_0x13b3b5,_0x47135a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x108b3c){const _0x32fcc7=_0x108b3c['plugins']['get']('RevisionViewer');return(_0x1c151e,_0x4cc94e,_0x527c2e)=>{const _0x2c1217=_0x4cc94e['markerName']['split'](':')[0x1],_0x1ba0aa=_0x32fcc7['_getChangeFromId'](_0x2c1217);if(!_0x1ba0aa)return null;const _0x1e3731='add'==_0x1ba0aa['type']?'split':'merge';if(!_0x527c2e['consumable']['test'](_0x4cc94e['markerRange'],_0x1c151e['name']))return;const _0x95fbf0=_0x4cc94e['markerRange']['getWalker'](),_0x102ecb=_0x4cc94e['markerRange']['start'],_0x249e34=_0x108b3c['model']['schema'];let _0x5ad139=null,_0x34fd72=null,_0x193807=!0x1,_0x3cd13f=!0x1;for(const _0x1196f2 of _0x95fbf0){const _0xaa8bf6=_0x1196f2['item'];_0x193807=_0x193807||_0x249e34['isContent'](_0xaa8bf6);const _0x435459=_0x527c2e['mapper']['toViewElement'](_0xaa8bf6);if(_0x435459&&_0x435459['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1196f2['type']&&(_0x249e34['isBlock'](_0xaa8bf6)&&!_0x249e34['isLimit'](_0xaa8bf6)&&(_0xaa8bf6['nextSibling']||_0x102ecb['isAtEnd']?_0x5ad139&&_0x5ad139['parent']==_0xaa8bf6||(_0x5ad139=_0xaa8bf6,_0x1106e2(_0x1196f2['previousPosition']),_0x3cd13f=!0x0):_0x34fd72=_0x34fd72||_0x1196f2['previousPosition']));}function _0x1106e2(_0x5263e1){const _0x282555=_0x527c2e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e3731}),_0x35f4d5=_0x527c2e['mapper']['toViewPosition'](_0x5263e1);_0x1ba0aa['data']['isSuggestion']&&_0x527c2e['writer']['addClass']('ck-suggestion-marker-'+_0x1e3731+'-new',_0x282555),_0x32fcc7['activeChange']==_0x1ba0aa&&_0x527c2e['writer']['addClass']('ck-suggestion-marker--active',_0x282555),_0x527c2e['writer']['insert'](_0x35f4d5,_0x282555),_0x527c2e['mapper']['bindElementToMarker'](_0x282555,_0x4cc94e['markerName']);}_0x193807||_0x3cd13f||!_0x34fd72||_0x1106e2(_0x34fd72);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1358ae,_0x4e293b,_0x287d53)=>{const _0x1c67e8=_0x287d53['mapper']['markerNameToElements'](_0x4e293b['markerName']);if(_0x1c67e8){for(const _0x1b06e0 of _0x1c67e8)(_0x1b06e0['hasClass']('ck-suggestion-marker-split')||_0x1b06e0['hasClass']('ck-suggestion-marker-merge'))&&(_0x287d53['mapper']['unbindElementFromMarkerName'](_0x1b06e0,_0x4e293b['markerName']),_0x287d53['writer']['remove'](_0x1b06e0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x33f3c1,_0x4bff42,_0x3bd52e)=>{const _0x1ff1c5=_0x4bff42['markerName']['split'](':')[0x1],_0x5c8f89=this['_getChangeFromId'](_0x1ff1c5);if(!_0x5c8f89)return null;const _0x3dabb1='add'==_0x5c8f89['type']?'split':'merge';if(_0x3bd52e['consumable']['test'](_0x4bff42['markerRange'],_0x33f3c1['name']))for(const _0x593091 of _0x4bff42['markerRange']['getItems']()){if(!_0x593091['is']('element','softBreak'))continue;const _0x2aef25=_0x3bd52e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3dabb1}),_0x3a9e61=_0x3bd52e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x593091));_0x5c8f89['data']['isSuggestion']&&_0x3bd52e['writer']['addClass']('ck-suggestion-marker-'+_0x3dabb1+'-new',_0x2aef25),this['activeChange']==_0x5c8f89&&_0x3bd52e['writer']['addClass']('ck-suggestion-marker--active',_0x2aef25),_0x3bd52e['writer']['insert'](_0x3a9e61,_0x2aef25),_0x3bd52e['mapper']['bindElementToMarker'](_0x2aef25,_0x4bff42['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xed2cd9=>{for(const _0xf07624 of this['editor']['model']['document']['getRootNames']()){const _0x36af9c=this['editor']['model']['document']['getRoot'](_0xf07624),_0x1e7e7d=this['editor']['editing']['view']['document']['getRoot'](_0xf07624);if(_0x1e7e7d){const _0x3707b0=_0x36af9c['getAttribute']('revisionHistoryAttachChange');if(_0xed2cd9['removeAttribute']('data-change-id',_0x1e7e7d),_0xed2cd9['removeClass']('ck-revision-history-root-add',_0x1e7e7d),_0xed2cd9['removeClass']('ck-revision-history-root-remove',_0x1e7e7d),_0xed2cd9['removeClass']('ck-revision-history-root--active',_0x1e7e7d),_0x3707b0){const _0x5ee557=this['_getChangeFromId'](_0x3707b0);if(!_0x5ee557)return null;_0xed2cd9['setAttribute']('data-change-id',_0x3707b0,_0x1e7e7d),_0xed2cd9['addClass']('ck-revision-history-root-'+_0x5ee557['type'],_0x1e7e7d),this['activeChange']==_0x5ee557&&_0xed2cd9['addClass']('ck-revision-history-root--active',_0x1e7e7d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4291a8=>'revision-comment:'+_0x4291a8,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x48fc94=>'revision-suggestion:'+_0x48fc94,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x33e73c=>({'name':'suggestion:'+_0x33e73c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1f0fd6=>{const _0x3d4201=_0x1f0fd6['markerName']['split'](':')[0x1];return'insertion'!=_0x3d4201&&'deletion'!=_0x3d4201?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3d4201]};}}),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',(_0x375e3a,_0x3c1312,_0x551a1f)=>{const _0x2d9a6f=_0x551a1f['mapper']['markerNameToElements'](_0x3c1312['markerName']);if(_0x2d9a6f){for(const _0x5c5f22 of _0x2d9a6f)_0x5c5f22['is']('uiElement')&&(_0x551a1f['mapper']['unbindElementFromMarkerName'](_0x5c5f22,_0x3c1312['markerName']),_0x551a1f['writer']['remove'](_0x5c5f22));}},{'priority':'high'});}['_getChangeFromId'](_0x2b18bc){return this['_changeIdToChange']['get'](_0x2b18bc);}['_getViewForChange'](_0x90060b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x90060b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x22e648,_0x2a28d5,_0x2016c3,_0x1d24f6)=>{_0x1d24f6&&this['_balloon']['remove'](_0x1d24f6),_0x2016c3&&(this['_balloon']['add']({'view':_0x2016c3,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xedd7cc=this['editor']['editing'],_0x3af5ce=this['_getChangeFromId'](_0x2016c3['changeId']);let _0x2ce9b8;if(_0x3af5ce['data']['isOnRoot']){const _0x1494fa=_0xedd7cc['view']['getDomRoot'](_0x3af5ce['rootName']);_0x2ce9b8=Array['from'](_0x1494fa['getClientRects']());}else{const _0xa35dbc=this['editor']['model']['markers']['get']('revision:'+_0x2016c3['changeId']);_0x2ce9b8=Array['from'](_0xedd7cc['mapper']['markerNameToElements'](_0xa35dbc['name']))['map'](_0x23ddf0=>_0xedd7cc['view']['domConverter']['mapViewToDom'](_0x23ddf0))['map'](_0x214e7c=>Array['from'](_0x214e7c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2ce9b8[0x0];return _0x2ce9b8['find'](_0x416897=>_0x416897['top']-0x3<=this['_activeViewTarget']['y']&&_0x416897['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x416897['left']-0x3<=this['_activeViewTarget']['x']&&_0x416897['right']+0x3>=this['_activeViewTarget']['x'])||_0x2ce9b8[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1c21a0,_0x1052d5,_0x42ba58,_0x2b8644)=>{this['activeView']=_0x42ba58?this['_getViewForChange'](_0x42ba58):null,this['editor']['model']['change'](()=>{const _0x51a393=this['editor']['editing'];_0x2b8644&&(_0x2b8644['data']['isOnRoot']?_0x51a393['view']['change'](_0x1fad86=>{_0x1fad86['removeClass']('ck-revision-history-root--active',_0x51a393['view']['document']['getRoot'](_0x2b8644['rootName']));}):_0x51a393['reconvertMarker']('revision:'+_0x2b8644['id'])),_0x42ba58&&(_0x42ba58['data']['isOnRoot']?_0x51a393['view']['change'](_0x205ae7=>{_0x205ae7['addClass']('ck-revision-history-root--active',_0x51a393['view']['document']['getRoot'](_0x42ba58['rootName']));}):_0x51a393['reconvertMarker']('revision:'+_0x42ba58['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x22b98c,_0x5da317)=>{if(this['activeChange'])return;const _0x52ca8=this['_findChangeIdFromDomTarget'](_0x5da317['target']),_0x502bea=this['_changeIdToChange']['get'](_0x52ca8);_0x502bea?(this['_activeViewTarget']={'x':_0x5da317['domEvent']['x'],'y':_0x5da317['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x502bea)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x529878,_0x24e47c)=>{const _0x3c63fa=this['_findChangeIdFromDomTarget'](_0x24e47c['target']),_0xef1fae=this['_changeIdToChange']['get'](_0x3c63fa);_0xef1fae?(this['_activeViewTarget']={'x':_0x24e47c['domEvent']['x'],'y':_0x24e47c['domEvent']['y']},_0xef1fae===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xef1fae):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x27211f){do{const _0x21cdde=_0x27211f['getAttribute']('data-change-id');if(_0x21cdde)return _0x21cdde;_0x27211f=_0x27211f['parent'];}while(_0x27211f);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x476e07=>{for(const _0x25f578 of this['editor']['model']['markers'])_0x476e07['removeMarker'](_0x25f578);});}}function et(_0x2421d8,_0x4d644b){return(_0x3f48a1,_0x17ea0b,_0x198777)=>{if(!_0x198777['consumable']['test'](_0x17ea0b['markerRange'],_0x3f48a1['name']))return;const _0x3447f0=_0x17ea0b['markerRange']['getWalker'](),_0x316d48=_0x17ea0b['markerRange']['start'],_0x59ba8e=_0x2421d8['model']['schema'];let _0x2112f7=null,_0x5c9078=null,_0x3a6893=!0x1,_0x3b5d7a=!0x1;for(const _0x551ded of _0x3447f0){const _0x244e76=_0x551ded['item'];_0x3a6893=_0x3a6893||_0x59ba8e['isContent'](_0x244e76);const _0x3137ae=_0x198777['mapper']['toViewElement'](_0x244e76);if(_0x3137ae&&_0x3137ae['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x551ded['type']&&(_0x59ba8e['isBlock'](_0x244e76)&&!_0x59ba8e['isLimit'](_0x244e76)&&(_0x244e76['nextSibling']||_0x316d48['isAtEnd']?_0x2112f7&&_0x2112f7['parent']==_0x244e76||(_0x2112f7=_0x244e76,_0x14f47b(_0x551ded['previousPosition']),_0x3b5d7a=!0x0):_0x5c9078=_0x5c9078||_0x551ded['previousPosition']));}function _0x14f47b(_0xd0f10){const _0x3a2e2a=_0x198777['mapper']['toViewPosition'](_0xd0f10),_0x3787a1=_0x198777['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4d644b});_0x198777['writer']['insert'](_0x3a2e2a,_0x3787a1),_0x198777['mapper']['bindElementToMarker'](_0x3787a1,_0x17ea0b['markerName']);}_0x3a6893||_0x3b5d7a||!_0x5c9078||_0x14f47b(_0x5c9078);};}class bt extends _0x4078ce{constructor(_0x59907c){super(_0x59907c);const _0x4b85e2=_0x59907c['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4b85e2,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4b85e2,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x216f01=this['editor'],_0x5c12fd=_0x216f01['plugins']['get'](d),_0x50afd0=_0x5c12fd['isReady']?_0x5c12fd['diff']['newRevisionId']:null;_0x216f01['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x50afd0);}['refresh'](){const {isReady:_0x5e5d41,isEnabled:_0x30f0a7}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5e5d41&&_0x30f0a7;}}class yt extends _0x4078ce{['_step'];constructor(_0x1370df,{direction:_0x43b778}){super(_0x1370df);const _0x26cd4a=_0x1370df['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x43b778?0x1:-0x1,this['listenTo'](_0x26cd4a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x26cd4a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x26cd4a,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x556b8a=this['editor'],_0x41fac4=_0x556b8a['plugins']['get'](d),{isNavigationMode:_0x31031e,currentChangeNumber:_0x171cda}=_0x41fac4;let _0x328036;if(_0x41fac4['activeChange']=_0x31031e?_0x41fac4['diff']['changes']['get'](_0x171cda+this['_step']):_0x41fac4['diff']['changes']['first'],_0x41fac4['activeChange']['data']['isOnRoot'])_0x328036=_0x556b8a['editing']['view']['getDomRoot'](_0x41fac4['activeChange']['rootName']);else{const _0x5112ed=_0x556b8a['model']['markers']['get']('revision:'+_0x41fac4['activeChange']['id']);_0x328036=_0x21c2c0(_0x556b8a['editing'],_0x5112ed);}_0x5f2bc6({'target':_0x328036,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3116ce,currentChangeNumber:_0x1c6fb1,numberOfChanges:_0x4427eb,isReady:_0x4d5002,isEnabled:_0xcea678}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0xcea678&&_0x4d5002&&_0x4427eb)&&(!_0x3116ce||(0x1===this['_step']?_0x1c6fb1<_0x4427eb-0x1:_0x1c6fb1>0x0));}}class li extends ts{constructor(_0x2cc638){super(_0x2cc638);const _0x10ba9e=this['bindTemplate'],_0x4d5820=new te(_0x2cc638),_0x407908=new te(_0x2cc638);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',(_0x3d79b2,_0x321e2b)=>_0x3d79b2&&_0x321e2b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4ed5c5,_0x11b8b2,_0x2d8f2f,_0x321d10)=>{if(!_0x4ed5c5)return y(_0x2cc638,'Loading...');if(!_0x2d8f2f)return y(_0x2cc638,'No\x20changes');const _0x44cdb7=y(_0x2cc638,'NUMBER_OF_CHANGES',_0x2d8f2f);return _0x321d10?y(_0x2cc638,'X_OF_Y_CHANGES',[_0x11b8b2+0x1,_0x2d8f2f]):_0x44cdb7;}),_0x4d5820['set']({'label':y(_0x2cc638,'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'}),_0x407908['set']({'label':y(_0x2cc638,'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'}),_0x4d5820['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x407908['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4d5820['on']('execute',()=>this['fire']('execute','backward')),_0x407908['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',_0x10ba9e['if']('_isStatusLabelVisible','ck-hidden',_0x9e56b7=>!_0x9e56b7)]},'children':[{'text':_0x10ba9e['to']('isNavigationMode',_0x15607e=>_0x15607e?y(_0x2cc638,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2cc638,'Total')+':\x20')}]},{'text':_0x10ba9e['to']('_statusText')}]},new _0x4a7340(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4d5820,_0x407908]}]});}}const le='ck-editor__editable__loading-overlay';class fe extends _0x5641b0{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x127904=this['editor']['editing']['view'];_0x127904['change'](_0x285ae8=>{for(const _0x407b0f of _0x127904['document']['roots'])_0x285ae8['addClass'](le,_0x407b0f);});}['hide'](){const _0x56c731=this['editor']['editing']['view'];_0x56c731['change'](_0x37ca03=>{for(const _0x5484ee of _0x56c731['document']['roots'])_0x37ca03['removeClass'](le,_0x5484ee);});}}class R extends _0x5641b0{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,fe];}['init'](){const _0x12df93=this['editor'],_0x3f6c01=_0x12df93['plugins']['get'](d),_0x145076=_0x12df93['plugins']['get'](fe);_0x12df93['ui']['componentFactory']['add']('exitToEditing',_0x4f6376=>{const _0x3b12f2=new te(_0x4f6376);return _0x3b12f2['set']({'label':y(_0x4f6376,'Back\x20to\x20editing'),'icon':_0x204acd['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3b12f2,'execute',()=>{_0x12df93['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3b12f2;}),_0x12df93['ui']['componentFactory']['add']('restoreRevision',_0x10a371=>{const _0x2b3511=new te(_0x10a371);return _0x2b3511['set']({'label':y(_0x10a371,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b3511['bind']('isEnabled')['to'](_0x12df93['commands']['get']('restoreRevision')),this['listenTo'](_0x2b3511,'execute',()=>_0x12df93['execute']('restoreRevision')),_0x2b3511;}),_0x12df93['ui']['componentFactory']['add']('changesNavigation',_0x3bca78=>{const _0x44ee2f=new li(_0x3bca78),_0x2f5249=_0x12df93['commands']['get']('showPreviousChange'),_0x3ec0f7=_0x12df93['commands']['get']('showNextChange');return _0x44ee2f['bind']('isBackwardNavigationEnabled')['to'](_0x2f5249,'isEnabled'),_0x44ee2f['bind']('isForwardNavigationEnabled')['to'](_0x3ec0f7,'isEnabled'),_0x44ee2f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3f6c01),this['listenTo'](_0x44ee2f,'execute',(_0x29eb7d,_0x215683)=>{_0x12df93['execute']('forward'===_0x215683?'showNextChange':'showPreviousChange');}),_0x44ee2f;}),_0x145076['show'](),_0x3f6c01['on']('change:isReady',(_0x2d617c,_0x774a00,_0x469c5e)=>{_0x469c5e?_0x145076['hide']():_0x145076['show']();});}}class mt extends _0x26e7d9{['_resizeObserver']=null;constructor(_0x3b9250,_0x330bd6){super(_0x3b9250,_0x330bd6);const _0xb1cb0e=this['bindTemplate'];this['set']({'label':y(_0x3b9250,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3b9250,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xb1cb0e['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new at(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0xc8bb8e=this['fieldView']['element'];this['_tooltipString']=_0xc8bb8e['scrollWidth']>_0xc8bb8e['clientWidth']&&_0xc8bb8e['value']||'';}}class ri extends ts{constructor(_0x3df6ad,_0x16e5f6,_0x125dfd){super(_0x3df6ad);const _0x2149fd=new _0x2b1894();_0x2149fd['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 _0x81ba21=['ck','ck-revision-history-sidebar__revision-author'];_0x125dfd&&_0x81ba21['push']('ck-revision-history-sidebar__revision-author_creator');const _0x57080c=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3df6ad,_0x125dfd?'Revision\x20creator':'Revision\x20author')},'children':[_0x2149fd,_0x16e5f6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x81ba21},'children':_0x57080c});}}function oi(_0x32069f,_0x17271b){const _0xdd4a63=_0x32069f['bindTemplate'],_0x18fb46=_0x32069f['locale'],_0x53ffc0=_0x118a74(_0x18fb46);_0x53ffc0['panelPosition']='sw';const _0x545b07=function(_0x45d173,_0x168a7c){const _0x382799=function(_0x557160,_0x457f44){const _0x404b9f=_0x557160['locale'],_0x595624={'Compare\x20against\x20selected':y(_0x404b9f,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x404b9f,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x404b9f,'Restore\x20this\x20revision')};return _0x457f44['map'](_0x40b2a6=>{const _0xdcd162=_0x595624[_0x40b2a6['name']];return _0xdcd162&&_0xdcd162!==_0x40b2a6['name']&&(_0x40b2a6['name']=_0xdcd162),_0x40b2a6;});}(_0x45d173,_0x168a7c),_0x44a193=new _0x504d6c();for(const _0x31c4a6 of _0x382799){const _0x5d4410={'type':'button','model':new _0x568eff({'label':_0x31c4a6['name'],'class':_0x31c4a6['class'],'withText':!0x0,'role':'menuitem','_action':_0x31c4a6['action']})};_0x5d4410['model']['bind']('isEnabled')['to'](_0x45d173,'isActionsDropdownOpen',_0xb0ca27=>'function'!=typeof _0x31c4a6['isEnabled']||(!_0xb0ca27||_0x31c4a6['isEnabled'](_0x45d173))),_0x44a193['add'](_0x5d4410);}return _0x44a193;}(_0x32069f,_0x17271b);return _0x32069f['bind']('isActionsDropdownOpen')['to'](_0x53ffc0,'isOpen'),_0x53ffc0['buttonView']['set']({'label':y(_0x18fb46,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x204acd['threeVerticalDots']}),_0x53ffc0['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xdd4a63['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xdd4a63['to'](_0x251041=>_0x251041['stopPropagation']())}}),_0x53ffc0['on']('execute',_0xbc0257=>{_0x32069f['isReady']&&'function'==typeof _0xbc0257['source']['_action']&&_0xbc0257['source']['_action'](_0x32069f);}),to(_0x53ffc0,_0x545b07,{'role':'menu'}),_0x53ffc0['listenTo'](_0x32069f,'change:isActionsDropdownOpen',(_0x26697f,_0x5dca74,_0x209039)=>{if(_0x209039)for(const _0x3cf522 of _0x53ffc0['listView']['items']){const _0x3671e9=_0x3cf522['children']['first'],_0x2603a3=_0x17271b['find'](_0x1268b4=>_0x1268b4['action']===_0x3671e9['_action'])['isVisible'];_0x3cf522['isVisible']=void 0x0===_0x2603a3||_0x2603a3(_0x32069f);}}),_0x53ffc0;}class hi extends/* #__PURE__ -- @preserve */
|
|
26
|
+
ti(ts){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x18d2d9,_0x96f4cd,_0x27441a,_0x566d1c){super(_0x18d2d9);const _0x1e357d=this['bindTemplate'],_0x272393=function(_0x5197af,_0x170013){const _0xd592a0=Array['from'](_0x170013['authors'])['filter'](_0x30fd8a=>_0x30fd8a!=_0x170013['creator']);return _0x170013['creator']&&_0xd592a0['unshift'](_0x170013['creator']),_0xd592a0['map'](_0x16a447=>new ri(_0x5197af,_0x16a447,_0x16a447==_0x170013['creator']));}(_0x18d2d9,_0x96f4cd);this['id']=_0x96f4cd['id'],this['_revision']=_0x96f4cd,this['_requireRevisionName']=_0x566d1c,this['bind']('name','createdAt')['to'](_0x96f4cd),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x203648=>{return _0x4c7e39=_0x18d2d9['uiLanguage'],(_0x5b6714=_0x203648)['toLocaleDateString'](_0x4c7e39,{'month':'long','day':'numeric'})+',\x20'+_0x5b6714['toLocaleTimeString'](_0x4c7e39,{'hour':'numeric','minute':'numeric'});var _0x4c7e39,_0x5b6714;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new mt(_0x18d2d9,_0x4edbb9),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x33607f=>_0x33607f||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x374d9c,_0x22932b)=>_0x374d9c&&_0x22932b),this['revisionActionsView']=_0x27441a&&_0x27441a['length']?oi(this,_0x27441a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1e357d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1e357d['if']('isEnabled','ck-disabled',_0x3a98c9=>!_0x3a98c9),_0x1e357d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1e357d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1e357d['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':_0x1e357d['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':_0x272393}]},this['revisionActionsView']],'on':{'click':_0x1e357d['to'](_0x192e7a=>{_0x192e7a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5c56d3=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5c56d3,'change',()=>{this['_requireRevisionName']&&!_0x5c56d3['value']||this['fire']('setName',{'id':this['id'],'name':_0x5c56d3['value']}),_0x5c56d3['value']||(_0x5c56d3['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function ci(_0x3bc252,_0x5d9abe){const _0x5b299f=_0x4e0933['fromJSDate'](_0x3bc252)['setLocale'](_0x5d9abe),_0x270b5b=_0x4e0933['local'](),_0xb5748a=_0x270b5b['minus']({'days':0x1})['startOf']('day');let _0x5d453a,_0x55c9e7;return _0x5b299f['hasSame'](_0x270b5b,'day')?(_0x5d453a=_0x5b299f['startOf']('day')['toJSDate'](),_0x55c9e7=_0x5b299f['toRelativeCalendar']()):_0x5b299f['hasSame'](_0xb5748a,'day')?(_0x5d453a=_0xb5748a['toJSDate'](),_0x55c9e7=_0x5b299f['toRelativeCalendar']()):_0x5b299f['hasSame'](_0x270b5b,'week')?(_0x5d453a=_0x5b299f['startOf']('week')['toJSDate'](),_0x55c9e7=_0x5b299f['weekdayLong']||''):_0x5b299f['hasSame'](_0x270b5b,'year')?(_0x5d453a=_0x5b299f['startOf']('month')['toJSDate'](),_0x55c9e7=_0x5b299f['monthLong']||''):(_0x5d453a=_0x5b299f['startOf']('year')['toJSDate'](),_0x55c9e7=String(_0x5b299f['year'])),{'startDate':_0x5d453a,'localizedPeriodName':_0x55c9e7};}class ai extends ts{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x587c17,_0x41fd50,_0x1edecf,_0x22fd90){super(_0x587c17);const _0x557779=ci(_0x41fd50,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x41fd50,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1edecf,this['_requireRevisionName']=_0x22fd90,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':_0x557779}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x55cad1){const _0x352d80=new hi(this['locale'],_0x55cad1,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x352d80);}['removeRevision'](_0x510560){const _0x47db3e=this['revisionViews']['find'](_0x3f9807=>_0x3f9807['id']===_0x510560['id']);this['revisionViews']['remove'](_0x47db3e);}}class as extends ts{constructor(_0x171987){super(_0x171987);const _0x405838=new _0x2b1894();_0x405838['content']=_0x204acd['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x405838,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x171987,'Revision\x20history')]}]});}}class ni extends ts{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x74c942,_0xcedc2,_0x5c17a3,_0x6cd81a){super(_0x74c942);const _0x51dcce=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xcedc2,this['_revisionActions']=_0x5c17a3,this['_requireRevisionName']=_0x6cd81a,this['on']('select',(_0x3dbd52,_0x51254b)=>{this['fire']('revisionSelected',_0x51254b);}),this['on']('setName',(_0x7b7763,_0x4b0934)=>{this['fire']('revisionSetName',_0x4b0934);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x74c942),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x51dcce['if']('isEnabled','ck-disabled',_0x2fdd03=>!_0x2fdd03)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x738fb7 of this['_revisions'])this['_addRevision'](_0x738fb7);this['_revisions']['on']('add',(_0x12b713,_0x4d8954)=>{this['_addRevision'](_0x4d8954);}),this['_revisions']['on']('remove',(_0x59a088,_0xf86219)=>{this['_removeRevision'](_0xf86219);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x43fa43=>_0x43fa43['revisionViews']['map'](_0x31bc22=>_0x31bc22))['flat']();}['selectRevision'](_0x52b16f){for(const _0x24e8cc of this['revisionViews'])_0x52b16f&&_0x52b16f['id']===_0x24e8cc['id']?_0x24e8cc['select']():_0x24e8cc['deselect']();}['highlightRevisions'](_0x5e7a9f){for(const _0x51e46d of this['revisionViews'])_0x5e7a9f['some'](({id:_0x1a7b01})=>_0x1a7b01===_0x51e46d['id'])?_0x51e46d['highlight']():_0x51e46d['unhighlight']();}['_addRevision'](_0x3659a4){const _0x135a1b=ci(_0x3659a4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x131aa3=this['timePeriodViews']['get'](0x0);_0x131aa3&&_0x131aa3['startDate']['getTime']()===_0x135a1b['getTime']()||(_0x131aa3=new ai(this['locale'],_0x135a1b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x131aa3)),_0x131aa3['addRevision'](_0x3659a4);}['_removeRevision'](_0x5162dc){const _0x469862=ci(_0x5162dc['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x469862)['removeRevision'](_0x5162dc);}['_getTimePeriodViewByStartDate'](_0x4ce9bb){return this['timePeriodViews']['find'](_0xf77a07=>_0xf77a07['startDate']['getTime']()===_0x4ce9bb['getTime']());}}class w extends _0x5641b0{['_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(_0x1e3f00){super(_0x1e3f00),this['_revisionViewer']=_0x1e3f00['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x100d93=this['_revisionsRepository']['_revisions'],_0x3db178=this['_createRevisionActions'](),_0x4d0b16=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ni(this['editor']['locale'],_0x100d93,_0x3db178,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',(_0x386c99,_0x26b610)=>{_0x26b610['revisionViews']['on']('add',(_0x8eb702,_0x4b1377)=>{_0x4b1377['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)),_0x4d0b16['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xfe35dc=this['_revisionsRepository']['getRevision'](0x0);if(_0xfe35dc){const _0x55c962=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xfe35dc['id']);this['_revisionViewer']['compare'](_0xfe35dc,_0x55c962);}}['_handleRevisionSelected'](_0x57c657,_0x35ab58){const _0x512368=this['_revisionsRepository']['getRevision'](_0x35ab58['id']),_0x45a653=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x512368['id']);this['_revisionViewer']['compare'](_0x512368,_0x45a653);}['_handleRevisionSetName'](_0x1eb687,_0x3ed297){this['_revisionsRepository']['getRevision'](_0x3ed297['id'])['setName'](_0x3ed297['name']);}['_handleDiffChange'](_0x4619aa,_0x3fdaf5,_0x347688){const _0x509ae1=this['_revisionsRepository']['getRevisionsInDiff'](_0x347688);_0x509ae1['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x509ae1),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x509ae1[0x0]));}['_createRevisionActions'](){const _0x124232=this['editor'],_0x38f49b=w['availableRevisionActions'],_0x2f2495=_0x124232['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2f2495['length'])return _0x2f2495['map'](_0x460154=>{const _0xed18f8='string'==typeof _0x460154?Object['assign']({},_0x38f49b[_0x460154]):_0x460154;return _0xed18f8['action']=_0xed18f8['action']['bind'](this,_0x124232),_0xed18f8['isVisible']&&(_0xed18f8['isVisible']=_0xed18f8['isVisible']['bind'](this,_0x124232)),_0xed18f8;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x27bee2},_0x56dac9)=>{const _0x5f39d0=_0x27bee2['get'](d),_0x7acf5e=_0x5f39d0['repository'];let _0x47c38c=_0x5f39d0['diff']['newRevisionId'],_0x3e4c83=_0x56dac9['id'];_0x7acf5e['getIndex'](_0x47c38c)>_0x7acf5e['getIndex'](_0x3e4c83)&&([_0x47c38c,_0x3e4c83]=[_0x3e4c83,_0x47c38c]),_0x5f39d0['compare'](_0x47c38c,_0x3e4c83);},'isVisible':({plugins:_0x2d1cd6},_0x58abc4)=>{const _0x56bb55=_0x2d1cd6['get'](d);return!(_0x56bb55['repository']['getRevisionsInDiff'](_0x56bb55['diff'])['length']>0x2)&&!_0x58abc4['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2203ef,{id:_0x400277})=>{_0x2203ef['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x400277);},'isVisible':({plugins:_0x572427},_0x3ac7ac)=>!!_0x572427['get'](d)['repository']['getLaterVisibleRevision'](_0x3ac7ac['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3e8708},{id:_0x17f73e,revisionNameView:_0x7bc234})=>{const _0x5dba01=_0x3e8708['get'](d),_0x192b75=_0x5dba01['repository']['getEarlierVisibleRevision'](_0x17f73e);_0x5dba01['compare'](_0x17f73e,_0x192b75),_0x7bc234['focus'](),_0x7bc234['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2171c5,_0x250563){super(_0x2171c5),this['_view']=_0x250563,this['_toolbarConfig']=ct(_0x2171c5['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2a652c){const _0x349219=this['editor'],_0x1d54b3=this['view'],_0x489e32=_0x349219['editing']['view'],_0x1902f0=_0x1d54b3['editable'],_0x36a656=_0x489e32['document']['getRoot']();_0x1902f0['name']=_0x36a656['rootName'],_0x1d54b3['render']();const _0x37dcd3=_0x1902f0['element'];this['setEditableElement'](_0x1902f0['name'],_0x37dcd3),_0x1d54b3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x489e32['attachDomRoot'](_0x37dcd3),this['_elementReplacer']['replace'](_0x2a652c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x32d89d=this['view'],_0x259889=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x259889['detachDomRoot'](_0x32d89d['editable']['name']),_0x32d89d['destroy']();}['_initToolbar'](){const _0x26d5d4=this['view'];_0x26d5d4['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x26d5d4['stickyPanel']['limiterElement']=_0x26d5d4['element'],_0x26d5d4['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4ff002})=>_0x4ff002),_0x26d5d4['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x26d5d4['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x28e2d7,_0x35f2b0,_0x4c9e4c={}){super(_0x28e2d7),this['stickyPanel']=new lt(_0x28e2d7),this['toolbar']=new pt(_0x28e2d7,{'shouldGroupWhenFull':_0x4c9e4c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x28e2d7,_0x35f2b0);}['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(_0x1e108e,_0x24b8d6){super(_0x24b8d6),this['sourceElement']=_0x1e108e,this['model']['document']['createRoot']();const _0x45de02=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x45de02);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x9efbe0,_0x2e5193){const _0x16ee67=new this(_0x9efbe0,_0x2e5193);return await _0x16ee67['initPlugins'](),await _0x16ee67['ui']['init'](_0x9efbe0),await _0x16ee67['data']['init'](_0x16ee67['config']['get']('initialData')||''),_0x16ee67['fire']('ready'),_0x16ee67;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5641b0{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x29d2e0){super(_0x29d2e0),this['result']='end';}}class H extends _0x5641b0{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2fc39d){if(super(_0x2fc39d),!this['editor']['config']['get']('revisionHistory'))throw new _0x386746('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x30205a=>this['_showRevisionViewer']({..._0x30205a,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1de906=>this['_closeRevisionViewer'](_0x1de906)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x136508=>this['_restoreRevision'](_0x136508)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x492198){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x492198;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x44e27e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x44e27e);}['getRevision'](_0x1ca972){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1ca972);}['getRevisions'](_0x13e37f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x13e37f||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x22a30a=this['editor'],_0x29c496=_0x2639d1(_0x22a30a,p),_0x5ad41c=_0x22a30a['plugins']['get']('RevisionTracker'),_0x412dd9=_0x22a30a['plugins']['get']('Users')['users'];return _0x29c496['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x29c496['lazyRoots'],(_0x29c496['plugins']['push'](k,d,R,class extends _0x5641b0{static get['requires'](){return[d,'Users'];}['init'](){const _0x4cf459=this['editor']['plugins']['get']('Users');for(const _0x526bb4 of _0x412dd9)_0x526bb4['isAnonymous']||_0x4cf459['getUser'](_0x526bb4['id'])||_0x4cf459['addUser'](_0x526bb4);const _0x245972=_0x5ad41c['repository']['getRevisions']();let _0x1be66c=null;const _0x4b5e53=this['editor']['plugins']['get']('RevisionViewer');_0x4b5e53['adapter']=_0x5ad41c['adapter'],_0x4b5e53['bind']('isEnabled')['to'](_0x5ad41c),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x22a30a,'isReadOnly',_0x3407b4=>!_0x3407b4);for(const _0x2f2487 of _0x245972){const _0xe702bd=null===_0x2f2487['creator'];if(_0xe702bd&&_0x2f2487['toVersion']===_0x2f2487['fromVersion'])continue;const _0xc5ea0c=_0x2f2487['toJSON']();_0x4b5e53['addRevisionData'](_0xc5ea0c,(_0x22741d,_0x1e2fe7,_0x1e7ea3)=>{if(_0xe702bd){if(_0x1be66c)_0x1be66c['_update'](_0x22741d,_0x1e2fe7);else{if(!_0x1e2fe7){const _0x37d7ed=_0x1e7ea3['toJSON']();_0x37d7ed['id']=_0x57e508(),_0x5ad41c['saveRevision'](_0x37d7ed,_0x1e7ea3['toVersion'])['then'](_0x307064=>{_0x1be66c=_0x307064;});}}}else _0x2f2487['_update'](_0x22741d,_0x1e2fe7);});}}},w),_0x29c496);}['_enhanceShowRevisionViewerCallback'](){const _0x29fdf4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5dc33b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x8fe5cc=this['editor']['plugins']['get']('Autosave');await _0x8fe5cc['save']();}else await _0x5dc33b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xf4a0a5=this['editor']['plugins']['get']('Dialog');_0xf4a0a5['isOpen']&&_0xf4a0a5['hide']();}const _0x382b2e=this['_getRevisionViewerEditorConfig']();return _0x29fdf4(_0x382b2e)['then'](_0x48bf71=>{return(this['_viewerEditor']=_0x48bf71,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x48bf71;})['catch'](_0x5b91aa=>(console['error'](_0x5b91aa),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x292956=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'](),_0x292956(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x344437=this['editor']['plugins']['get']('Annotations');_0x344437['refreshVisibility'](),_0x344437['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54a8e9){const _0x574ab6=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x93a425=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x223dcd=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x223dcd,_0x54a8e9)['then'](_0xf5d1db=>(_0x93a425['style']['display']='block',_0x574ab6['style']['display']='none',_0xf5d1db));}['_closeRevisionViewer'](_0x46403c){const _0x50be9a=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x50be9a['style']['display']='',_0x46403c['destroy']();}async['_restoreRevision'](_0x1bf21b){const _0x270ed9=this['editor'],_0x56c2ce=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x417b77=_0x270ed9['plugins']['get']('RevisionTracker'),_0x522c66=_0x56c2ce['repository']['getRevision'](_0x1bf21b);let _0x59710a,_0x9f294d,_0x18ca40;try{_0x59710a=await _0x56c2ce['getRevisionData'](_0x522c66),_0x9f294d=await _0x56c2ce['getRevisionRootsAttributes'](_0x522c66);}catch(_0x309e8f){return void console['error'](_0x309e8f);}_0x270ed9['model']['change'](_0x43d66e=>{for(const _0x3c13c2 of Array['from'](_0x270ed9['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x43d66e['removeMarker'](_0x3c13c2);}),_0x56c2ce['isReady']=!0x1,_0x270ed9['model']['enqueueChange'](_0x21fe2f=>{_0x21fe2f['setSelection'](null),_0x21fe2f['removeSelectionAttribute'](_0x270ed9['model']['document']['selection']['getAttributeKeys']());const _0x48c172=Object['keys'](_0x59710a);for(const _0x33e5fc of _0x270ed9['model']['document']['roots'])'$graveyard'!=_0x33e5fc['rootName']&&_0x33e5fc['isAttached']()&&!_0x48c172['includes'](_0x33e5fc['rootName'])&&_0x21fe2f['detachRoot'](_0x33e5fc);for(const _0x4ab485 of _0x48c172){let _0x163ace=_0x270ed9['model']['document']['getRoot'](_0x4ab485);_0x163ace&&_0x163ace['isAttached']()||(_0x163ace=_0x21fe2f['addRoot'](_0x4ab485));const _0x13768f=_0x9f294d[_0x4ab485],_0x20c161=Object['keys'](_0x13768f),_0x165cf9=_0x59710a[_0x4ab485];for(const _0xf8359f of _0x163ace['getAttributeKeys']())_0x20c161['includes'](_0xf8359f)||_0x21fe2f['removeAttribute'](_0xf8359f,_0x163ace);for(const _0x43a86a of _0x20c161)_0x21fe2f['setAttribute'](_0x43a86a,_0x9f294d[_0x4ab485][_0x43a86a],_0x163ace);_0x21fe2f['remove'](_0x21fe2f['createRangeIn'](_0x163ace)),_0x21fe2f['insert'](_0x270ed9['data']['parse'](_0x165cf9,_0x163ace),_0x163ace,0x0);}});const _0x10009a=y(_0x270ed9['locale'],'Restored');if(_0x522c66['name'])_0x18ca40=-0x1==_0x522c66['name']['indexOf'](_0x10009a)?_0x10009a+':\x20'+_0x522c66['name']:_0x522c66['name'];else _0x18ca40=_0x10009a+':\x20'+(_0x522c66['createdAt']['toLocaleDateString'](_0x270ed9['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x522c66['createdAt']['toLocaleTimeString'](_0x270ed9['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x417b77['saveRevision']({'name':_0x18ca40}),_0x56c2ce['isReady']=!0x0,_0x270ed9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,fe as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|