@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240629.0 → 0.0.0-nightly-20240630.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +5 -5
- package/src/revisionsrepository.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
24
|
-
_0x32d3c7(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x52cb82){super(),this['id']=_0x52cb82['id']||_0x472022(),this['creator']=_0x52cb82['creator']||null,this['authors']=_0x52cb82['authors']||[],this['diffData']=_0x52cb82['diffData']||null,this['toVersion']=_0x52cb82['toVersion']||0x0,this['fromVersion']=_0x52cb82['fromVersion']||0x0,this['set']('name',_0x52cb82['name']||''),this['set']('createdAt',_0x52cb82['createdAt']||new Date()),this['set']('attributes',_0x52cb82['attributes']||{});}['setName'](_0x27c79f){this['_update']({'name':_0x27c79f});}['setAttribute'](_0x7e7fab,_0x5aa340){const _0xda9034=_0x1ced1e(this['attributes']);_0x1c8460(_0xda9034,_0x7e7fab,_0x5aa340),this['_update']({'attributes':_0xda9034});}['removeAttribute'](_0x11f9e7){const _0x3d4309=_0x1ced1e(this['attributes']);_0x52b6aa(_0x3d4309,_0x11f9e7),this['_update']({'attributes':_0x3d4309});}['_update'](_0x3109ca,_0x1f7520=!0x1){let _0x55c784=!0x1;const _0x48a0e1={'id':this['id']},_0x2fc9c4=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x44121e of _0x2fc9c4){const _0x2c84ac=_0x3109ca[_0x44121e];void 0x0!==_0x2c84ac&&_0x2c84ac!==this[_0x44121e]&&(this[_0x44121e]=_0x2c84ac,_0x48a0e1[_0x44121e]=_0x2c84ac,_0x55c784=!0x0);}_0x55c784&&(_0x48a0e1['authors']&&(_0x48a0e1['authorsIds']=_0x48a0e1['authors']['map'](_0x34ef3d=>_0x34ef3d['id']),delete _0x48a0e1['authors']),this['fire']('_update',_0x48a0e1,_0x1f7520));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2612c3=>_0x2612c3['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1ffe89{['_revisions'];static get['requires'](){return[_0x504717];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x17421d){super(_0x17421d),this['_revisions']=new _0x417056();}['afterInit'](){!function(_0x110c14){function _0xba146a(_0x4c8846,_0x143e21,_0x2fbba7){const _0xc9ec6d={};_0xc9ec6d[_0x3731f0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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 _0x5da1ff=new Uint8Array(0x10);for(let _0x586616=0xf;_0x586616>=0x0;--_0x586616)_0x5da1ff[_0x586616]=_0x2fbba7%0x100,_0x2fbba7=parseInt(_0x2fbba7/0x100);let _0x2ea6d9=null,_0x4d8f29=0x10;const _0xbc75ce=new Uint8Array(_0x143e21),_0x3c4b51=[],_0x536f95=[];_0x3d8a1d();for(let _0x334b87=0x0;_0x334b87<_0x4c8846[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x334b87++)0x10===_0x4d8f29&&(_0x2ea6d9=_0x307f18(_0x5da1ff),_0x4d8f29=0x0,_0x176ab1(_0x5da1ff)),_0x4c8846[_0x334b87]^=_0x2ea6d9[_0x4d8f29++];return _0x4c8846;function _0x3e7d47(_0xd11bbf){const _0x4d7eed=[];for(let _0x41ae22=0x0;_0x41ae22<_0xd11bbf[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41ae22+=0x4)_0x4d7eed[_0x3731f0([0x70,0x75,0x73,0x68])](_0xd11bbf[_0x41ae22]<<0x18|_0xd11bbf[_0x41ae22+0x1]<<0x10|_0xd11bbf[_0x41ae22+0x2]<<0x8|_0xd11bbf[_0x41ae22+0x3]);return _0x4d7eed;}function _0x176ab1(_0x2b2f47){for(let _0x12a699=0xf;_0x12a699>=0x0;_0x12a699--){if(0xff!==_0x2b2f47[_0x12a699]){_0x2b2f47[_0x12a699]++;break;}_0x2b2f47[_0x12a699]=0x0;}}function _0x307f18(_0x40fdce){const _0x306924=_0x3c4b51[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1eb2f6=[0x0,0x0,0x0,0x0];let t=_0x3e7d47(_0x40fdce);for(let _0x2edf0d=0x0;_0x2edf0d<0x4;_0x2edf0d++)t[_0x2edf0d]^=_0x3c4b51[0x0][_0x2edf0d];for(let _0x4543a2=0x1;_0x4543a2<_0x306924;_0x4543a2++){for(let _0xc0eec3=0x0;_0xc0eec3<0x4;_0xc0eec3++)_0x1eb2f6[_0xc0eec3]=_0xc9ec6d[_0x3731f0([0x54,0x31])][t[_0xc0eec3]>>0x18&0xff]^_0xc9ec6d[_0x3731f0([0x54,0x32])][t[(_0xc0eec3+0x1)%0x4]>>0x10&0xff]^_0xc9ec6d[_0x3731f0([0x54,0x33])][t[(_0xc0eec3+0x2)%0x4]>>0x8&0xff]^_0xc9ec6d[_0x3731f0([0x54,0x34])][0xff&t[(_0xc0eec3+0x3)%0x4]]^_0x3c4b51[_0x4543a2][_0xc0eec3];t=_0x1eb2f6[_0x3731f0([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3b980d=new Uint8Array(0x10);let _0x1bed15;for(let _0x24410f=0x0;_0x24410f<0x4;_0x24410f++)_0x1bed15=_0x3c4b51[_0x306924][_0x24410f],_0x3b980d[0x4*_0x24410f]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][t[_0x24410f]>>0x18&0xff]^_0x1bed15>>0x18),_0x3b980d[0x4*_0x24410f+0x1]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][t[(_0x24410f+0x1)%0x4]>>0x10&0xff]^_0x1bed15>>0x10),_0x3b980d[0x4*_0x24410f+0x2]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][t[(_0x24410f+0x2)%0x4]>>0x8&0xff]^_0x1bed15>>0x8),_0x3b980d[0x4*_0x24410f+0x3]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][0xff&t[(_0x24410f+0x3)%0x4]]^_0x1bed15);return _0x3b980d;}function _0x3d8a1d(){const _0x1fc6f1=_0xc9ec6d[_0x3731f0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xbc75ce[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x185bfd=0x0;_0x185bfd<=_0x1fc6f1;_0x185bfd++)_0x3c4b51[_0x3731f0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x536f95[_0x3731f0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2d01f2=0x4*(_0x1fc6f1+0x1),_0x3a53bf=_0xbc75ce[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x330eb3=_0x3e7d47(_0xbc75ce);let _0x28fb4d;for(let _0x5c820b=0x0;_0x5c820b<_0x3a53bf;_0x5c820b++)_0x28fb4d=_0x5c820b>>0x2,_0x3c4b51[_0x28fb4d][_0x5c820b%0x4]=_0x330eb3[_0x5c820b],_0x536f95[_0x1fc6f1-_0x28fb4d][_0x5c820b%0x4]=_0x330eb3[_0x5c820b];let _0x4173b9,_0x511c54=0x0,t=_0x3a53bf;for(;t<_0x2d01f2;){_0x4173b9=_0x330eb3[_0x3a53bf-0x1],_0x330eb3[0x0]^=_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x10&0xff]<<0x18^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x8&0xff]<<0x10^_0xc9ec6d[_0x3731f0([0x53])][0xff&_0x4173b9]<<0x8^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x18&0xff]^_0xc9ec6d[_0x3731f0([0x72,0x63,0x6f,0x6e])][_0x511c54]<<0x18,_0x511c54+=0x1;for(let _0x1994b7=0x1;_0x1994b7<_0x3a53bf/0x2;_0x1994b7++)_0x330eb3[_0x1994b7]^=_0x330eb3[_0x1994b7-0x1];_0x4173b9=_0x330eb3[_0x3a53bf/0x2-0x1],_0x330eb3[_0x3a53bf/0x2]^=_0xc9ec6d[_0x3731f0([0x53])][0xff&_0x4173b9]^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x8&0xff]<<0x8^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x10&0xff]<<0x10^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x18&0xff]<<0x18;for(let _0x48830a=_0x3a53bf/0x2+0x1;_0x48830a<_0x3a53bf;_0x48830a++)_0x330eb3[_0x48830a]^=_0x330eb3[_0x48830a-0x1];let _0x3b9b82,_0x443a0e,_0x18179c=0x0;for(;_0x18179c<_0x3a53bf&&t<_0x2d01f2;)_0x3b9b82=t>>0x2,_0x443a0e=t%0x4,_0x3c4b51[_0x3b9b82][_0x443a0e]=_0x330eb3[_0x18179c],_0x536f95[_0x1fc6f1-_0x3b9b82][_0x443a0e]=_0x330eb3[_0x18179c++],t++;}for(let _0x53df16=0x1;_0x53df16<_0x1fc6f1;_0x53df16++)for(let _0x1851e9=0x0;_0x1851e9<0x4;_0x1851e9++)_0x4173b9=_0x536f95[_0x53df16][_0x1851e9],_0x536f95[_0x53df16][_0x1851e9]=_0xc9ec6d[_0x3731f0([0x55,0x31])][_0x4173b9>>0x18&0xff]^_0xc9ec6d[_0x3731f0([0x55,0x32])][_0x4173b9>>0x10&0xff]^_0xc9ec6d[_0x3731f0([0x55,0x33])][_0x4173b9>>0x8&0xff]^_0xc9ec6d[_0x3731f0([0x55,0x34])][0xff&_0x4173b9];}}function _0x3731f0(_0x5265b9){return _0x5265b9['map'](_0x187aee=>String['fromCharCode'](_0x187aee))['join']('');}(_0x1eef07=>{function _0x3c26e1(){const _0x51c32a=[{[_0x3731f0([0x69,0x64])]:0x1,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3731f0([0x69,0x64])]:0x2,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([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]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3731f0([0x69,0x64])]:0x3,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3731f0([0x69,0x64])]:0x4,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([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]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3731f0([0x69,0x64])]:0x5,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([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]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x6,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x7,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x8,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([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]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x9,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3731f0([0x69,0x64])]:0xa,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([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]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([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]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([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]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0xb,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3731f0([0x69,0x64])]:0xc,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3731f0([0x69,0x64])]:0xd,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0xe,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3731f0([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([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])},{[_0x3731f0([0x69,0x64])]:0xf,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3731f0([0x69,0x64])]:0x10,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}}];return _0x1ee591(_0x51c32a),_0x51c32a;function _0x1476ef(_0x52644a){return 0x1<<_0x52644a-0x1;}function _0x1ee591(_0x19eba3){_0x19eba3[_0x3731f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1de28c=>{_0x1de28c[_0x3731f0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1476ef(_0x1de28c[_0x3731f0([0x69,0x64])]),_0x38768d(_0x1de28c)&&_0x1de28c[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1ee591(_0x1de28c[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x38768d(_0x19b30f){return _0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x19b30f;}const _0xa3b95e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x456304=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3f274a(_0x315ee3){const _0x4d3ce2=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x18e5e4(_0x315ee3,new Uint8Array([..._0xa3b95e,..._0x4d3ce2,..._0x456304]));}function _0x18e5e4(_0x58d629,_0x127fe1){const _0x81109c=_0x5ed2b7(_0x58d629),_0x37a357=Array[_0x3731f0([0x66,0x72,0x6f,0x6d])](_0x15edaf(_0x81109c)),_0x16439f=_0x37a357[_0x3731f0([0x70,0x6f,0x70])](),_0x5b2b96=_0x37a357[_0x3731f0([0x70,0x6f,0x70])]();return _0x4aa750(_0xba146a(_0x37a357,_0x127fe1,_0x5b2b96+0x100*_0x16439f));}function _0x5ed2b7(_0x428a9f){const _0x41ca2f=atob(_0x428a9f),[_0x111c7e,_0x1b2683]=_0x41ca2f[_0x3731f0([0x73,0x70,0x6c,0x69,0x74])](_0x3731f0([0x2d]));try{if(atob(_0x1b2683))return atob(_0x111c7e);}catch(_0x43cea4){}return _0x41ca2f;}function _0x455564(_0x19f9e0){try{const _0x37b23d=_0x3f274a(_0x19f9e0),_0x3228ac=JSON[_0x3731f0([0x70,0x61,0x72,0x73,0x65])](_0x37b23d),_0x532261=parseInt(_0x3228ac[_0x3731f0([0x31])]),_0x435868=_0x3228ac[_0x3731f0([0x32])]||'',_0x16b51e=parseInt(_0x3228ac[_0x3731f0([0x33])]),_0xc16713=parseInt(_0x3228ac[_0x3731f0([0x34])])||0x0,_0x5dc2c7=parseInt(_0x3228ac[_0x3731f0([0x35])])||0x0;return{[_0x3731f0([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x435868,[_0x3731f0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xc16713,[_0x3731f0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x532261,[_0x3731f0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x16b51e,[_0x3731f0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5dc2c7};}catch(_0x39273d){return null;}}const _0x497abe=_0x3c26e1(),_0x5579ed={[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x859091,[_0x3731f0([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])]:_0x29cbc0,[_0x3731f0([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])]:_0x5732f0},_0x2afda3=_0x1eef07[_0x3731f0([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x8634ac=_0x3731f0([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x1eef07?_0x1eef07['context']:_0x1eef07['editor'],_0xb36398=_0x3731f0([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x38]),_0x30eb89=_0x3731f0([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]),_0x30f9b9=_0x8634ac['config']['get'](_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56da0d=_0x497abe[_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38768d)[_0x3731f0([0x66,0x69,0x6e,0x64])](_0x267366=>_0x267366[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2afda3);function _0xcbad5f(_0x1e5b00,_0x1adcb3){_0x5579ed[_0x1adcb3[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1e5b00,_0x1adcb3),_0x1adcb3[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1adcb3[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x536244=>_0x99fa57(_0x8634ac,_0x536244[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3731f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dfae2=>_0xcbad5f(_0x1e5b00,_0x2dfae2));}function _0x859091(_0x242188,_0x5734a9){_0x5f072b(_0x36acfc(_0x242188,_0x5734a9),_0x5734a9);}function _0x29cbc0(_0x2eb824,_0x1062d6){function _0x4efda5(_0x37f3c4,_0x585c4d){try{if(_0x99fa57(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x37f3c4){const _0x2edf38=_0x251831(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3731f0([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2edf38)/0x2>_0x37f3c4[_0x3731f0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x54df7b(_0x585c4d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x36acfc(_0x37f3c4,_0x585c4d);}catch(_0x3d19fc){return _0x54df7b(_0x585c4d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5f072b(_0x4efda5(_0x2eb824,_0x1062d6),_0x1062d6);}function _0x5732f0(_0x11028b,_0x4164d2){const _0x2121b6=_0x456304[0x0]*_0xa3b95e[0x1],_0x20ba2c=_0x456304[0x0]*_0xa3b95e[0x2],_0x524eeb=_0x456304[0x2]*_0xa3b95e[0x2];_0x99fa57(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x251831(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xbd4b3a()]=_0x524eeb);function _0x22edcd(_0x52701f,_0x2aa216){try{return _0x516786()?_0x54df7b(_0x2aa216[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x56,0x61,0x6c,0x69,0x64])):_0x36acfc(_0x52701f,_0x2aa216);}catch(_0x48b1ef){return _0x54df7b(_0x2aa216[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2d6373(_0x18df31,_0x317b09){const _0x150ebd=0x7;if(_0x18df31==_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1dcd42();else{if(_0x18df31==_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])){const _0x2586f=_0x48fa82();_0x2586f&&_0xd5f331(_0x2586f,_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x480317=_0x2a436d();window[_0x3731f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd5f331(_0x3731f0([0x74,0x69,0x6d,0x65]),_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x480317);const _0x317ee0=_0x251831(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3731f0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x317ee0[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x150ebd?_0xd5f331(_0x3731f0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x317ee0['on'](_0x3731f0([0x61,0x64,0x64]),()=>{_0x317ee0[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x150ebd&&_0xd5f331(_0x3731f0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x48fa82(){if(!_0x99fa57(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1ee535 in window)if(Number['isNaN'](Number(_0x1ee535))){if(window[_0x1ee535]===_0x2121b6)return _0x3731f0([0x74,0x69,0x6d,0x65]);if(window[_0x1ee535]===_0x20ba2c)return _0x3731f0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x516786(){if(!_0x99fa57(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x492fcc in window)if(Number['isNaN'](Number(_0x492fcc))&&window[_0x492fcc]===_0x524eeb)return!0x0;return!0x1;}function _0xd5f331(_0x44a5fb,_0x4b7328){_0x1dcd42(),_0x54df7b(_0x4b7328+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x44a5fb),window[_0xbd4b3a()]=_0x44a5fb===_0x3731f0([0x74,0x69,0x6d,0x65])?_0x2121b6:_0x20ba2c;}function _0x2a436d(){let _0x1bd2f7=_0x456304[0x6]*_0xa3b95e[0x8]*_0xa3b95e[0x6];return _0x99fa57(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bd2f7/=0xa),_0x1bd2f7;}function _0x1dcd42(){const _0x2ecc4d=_0x8634ac;function _0xe49d2(){_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x48ae5c,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x48ae5c,_0x2ecc4d[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x2ecc4d[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x2ecc4d[_0x3731f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c]))),_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x48ae5c,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x48ae5c);}_0x2ecc4d[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x72,0x65,0x61,0x64,0x79])?_0xe49d2():_0x2ecc4d[_0x3731f0([0x6f,0x6e,0x63,0x65])](_0x3731f0([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xe49d2(),_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2b1c3b=_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2d570e=_0x2b1c3b['getRevision'](0x0),_0x1c767b=_0x2b1c3b['getEarlierVisibleRevision'](_0x2d570e[_0x3731f0([0x69,0x64])]);_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2d570e[_0x3731f0([0x69,0x64])],_0x1c767b?_0x1c767b[_0x3731f0([0x69,0x64])]:null,0x1)['then'](()=>_0xe49d2());}});}_0x2d6373(_0x22edcd(_0x11028b,_0x4164d2),_0x4164d2);}function _0x36acfc(_0x581720,_0x3ef943){try{return _0x4b230a(_0x3ef943)?_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x56,0x61,0x6c,0x69,0x64])):_0x581720&&_0x916371(_0x581720[_0x3731f0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3ef943)?_0x581720[_0x3731f0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3731f0([0x6f,0x70,0x65,0x6e])][_0x3731f0([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xb36398)/0x2>_0x581720[_0x3731f0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x581720[_0x3731f0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])):_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x56,0x61,0x6c,0x69,0x64])):_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xfbcf55){return _0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5f072b(_0x2c1233,_0x32921d){if(_0x8634ac instanceof _0x349146){const _0x145af5=_0x8634ac;_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x52a108(_0x145af5):_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3731f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x52a108(_0x145af5),_0x54df7b(_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x456304[0x6]*_0xa3b95e[0x8]*_0xa3b95e[0x6]),_0x145af5[_0x3731f0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3731f0([0x6f,0x6e])](_0x3731f0([0x61,0x64,0x64]),(_0x258acd,_0x48261f)=>{_0x2c1233!=_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2c1233!=_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2c1233!=_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5cc3d4(_0x48261f);});}else{const _0x592455=_0x8634ac;_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5cc3d4(_0x592455):_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])&&_0x592455[_0x3731f0([0x6f,0x6e])](_0x3731f0([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x244504=0x0;_0x592455[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x6f,0x6e])](_0x3731f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a133d,_0x417cba)=>{_0x417cba[0x0][_0x3731f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x244504++,0x1f8===_0x244504&&(_0x5cc3d4(_0x592455),_0x54df7b(_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2a133d[_0x3731f0([0x6f,0x66,0x66])]());},{'priority':_0x3731f0([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x54df7b(_0x3a5526){const _0x19ad1b=_0xbd4b3a();return _0x8634ac[_0x19ad1b]=_0x3a5526,_0x3a5526;}function _0xbd4b3a(){const _0x1253d5=String(window[_0x3731f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3731f0([0x6e,0x6f,0x77])]())[_0x3731f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3731f0([0x2e]),'');let _0x40abcd='';for(let _0x4f2b14=0x0;_0x4f2b14<_0x1253d5[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f2b14+=0x2){let _0xdfc964=parseInt(_0x1253d5[_0x3731f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2b14,_0x4f2b14+0x2));_0xdfc964>=_0x30eb89[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdfc964-=_0x30eb89[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40abcd+=_0x30eb89[_0xdfc964];}return _0x40abcd;}function _0x52a108(_0x1fb90f){for(const _0xa0e31d of _0x1fb90f[_0x3731f0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5cc3d4(_0xa0e31d);_0x251831(_0x1fb90f,_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3731f0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x251831(_0x1fb90f,_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3731f0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x48ae5c;}function _0x5cc3d4(_0x427776){function _0x553c5e(){_0x427776[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x427776[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x427776[_0x3731f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c]));}_0x427776[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x72,0x65,0x61,0x64,0x79])?_0x553c5e():_0x427776[_0x3731f0([0x6f,0x6e,0x63,0x65])](_0x3731f0([0x72,0x65,0x61,0x64,0x79]),()=>_0x553c5e());}function _0x48ae5c(){return null;}function _0x916371(_0x3c8fcb,_0x506ea1){const _0x376bdc=!!(_0x3c8fcb&_0x506ea1[_0x3731f0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x18f23c=_0x545859(_0x3c8fcb,_0x506ea1);return _0x376bdc||_0x18f23c;}function _0x545859(_0xb3f965,_0x1f8083){const _0x5ae475=(_0x1f8083[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3731f0([0x66,0x67,0x69])]||null;return!!_0x5ae475&&_0x497abe[_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x441cee=>_0x5ae475[_0x3731f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x441cee[_0x3731f0([0x69,0x64])]))[_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5de1c8=>!_0x57559d(_0x5de1c8))[_0x3731f0([0x73,0x6f,0x6d,0x65])](_0x3f7f5f=>!!(_0xb3f965&_0x3f7f5f[_0x3731f0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x57559d(_0x4c1758){const _0x4200dc={[_0x3731f0([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])]:_0x5c8cae};return!!_0x4c1758['forbiddenHandler']&&_0x4200dc[_0x4c1758['forbiddenHandler']]();}function _0x5c8cae(){return!window[_0x3731f0([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x99fa57(_0x8634ac,_0x3731f0([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4b230a(_0x46977d){if(!_0x99fa57(_0x8634ac,_0x46977d[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x31a9a0=_0x46977d[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x2a55f7=_0x31a9a0[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x39085d=_0x31a9a0[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x11d6c9=_0x31a9a0[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x99fa57(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x251831(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x2a55f7)return!0x0;if(_0x99fa57(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x251831(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3731f0([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3731f0([0x65,0x6e,0x64])&&_0x39085d)return!0x0;return!(!_0x99fa57(_0x8634ac,_0x3731f0([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]))||_0x251831(_0x8634ac,_0x3731f0([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]))[_0x3731f0([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3731f0([0x65,0x6e,0x64])||!_0x11d6c9);}function _0x99fa57(_0x1c9a55,_0x26ba6c){return _0x1c9a55[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3731f0([0x68,0x61,0x73])](_0x26ba6c);}function _0x251831(_0x1bb516,_0x41d6fd){return _0x1bb516[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3731f0([0x67,0x65,0x74])](_0x41d6fd);}function _0x4aa750(_0x17ab6e){let _0x1810ab='';for(const _0x5848c7 of _0x17ab6e)_0x1810ab+=String[_0x3731f0([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5848c7);return _0x1810ab;}function _0x15edaf(_0x32b839){const _0x37666a=new Uint8Array(_0x32b839[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x486c3c=0x0;_0x486c3c<_0x32b839[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x486c3c++)_0x37666a[_0x486c3c]=_0x32b839[_0x3731f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x486c3c);return _0x37666a;}_0x56da0d&&_0xcbad5f(_0x455564(_0x30f9b9),_0x56da0d);})(_0x110c14);}(this);}['createRevision'](_0x3fb63a){const _0x4e7563=this['editor']['plugins']['get']('Users');return new a({'id':_0x3fb63a['id'],'name':_0x3fb63a['name'],'creator':_0x3fb63a['creatorId']?_0x4e7563['getUser'](_0x3fb63a['creatorId']):null,'diffData':_0x3fb63a['diffData']||_0x3fb63a['data'],'authors':_0x3fb63a['authorsIds']['map'](_0x855dd7=>_0x4e7563['getUser'](_0x855dd7)),'createdAt':new Date(_0x3fb63a['createdAt']),'attributes':_0x3fb63a['attributes'],'fromVersion':_0x3fb63a['fromVersion'],'toVersion':_0x3fb63a['toVersion']});}['addRevision'](_0x5de7f8,_0x2a6281=0x0){this['_revisions']['add'](_0x5de7f8,_0x2a6281);}['getRevision'](_0x11616a){return this['_revisions']['get'](_0x11616a);}['getRevisions'](_0x5d062d={'toJSON':!0x1}){const _0x40ca36=Array['from'](this['_revisions']);return _0x40ca36['reverse'](),_0x5d062d['toJSON']?_0x40ca36['map'](_0x270815=>_0x270815['toJSON']()):_0x40ca36;}['getIndex'](_0x1a7b19){return this['_revisions']['getIndex'](_0x1a7b19);}['getEarlierVisibleRevision'](_0x56d9c3){const [,_0x42863b]=this['getRevisionsIterator'](_0x56d9c3,{'direction':'earlier'});return _0x42863b;}['getLaterVisibleRevision'](_0x47d7b8){const [,_0x4c3bae]=this['getRevisionsIterator'](_0x47d7b8,{'direction':'later'});return _0x4c3bae;}['getRevisionsInDiff'](_0x5b785f){const _0xb87503=[];for(const _0x12e2ea of this['getRevisionsIterator'](_0x5b785f['newRevisionId']))if(_0xb87503['push'](_0x12e2ea),_0x12e2ea['id']===_0x5b785f['oldRevisionId'])break;return _0xb87503;}*['getRevisionsIterator'](_0x4fe068,{direction:_0x4878ca='earlier',filter:_0x2c3690=_0x73d6df=>!0x0}={}){const _0x3acbcf='earlier'===_0x4878ca?0x1:-0x1;let _0x30b324=this['_revisions']['get'](_0x4fe068),_0x4635a4=this['getIndex'](_0x30b324);for(yield _0x30b324;_0x30b324;){if(_0x4635a4+=_0x3acbcf,_0x30b324=this['getRevision'](_0x4635a4),!_0x30b324)return;_0x2c3690(_0x30b324)&&(yield _0x30b324);}}}function y(_0x4c12d1,_0x1f09bd,_0x581b49){const t=_0x4c12d1['t'];switch(_0x1f09bd){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'},_0x581b49);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x581b49);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':_0x41b8cd,'a':_0x34d9d0,'e':_0x9c91a9,'r':_0x3fce7c,'u':_0x258821};class l extends _0x1ffe89{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x504717,A,_0x40a2b8];}constructor(_0x459d64){super(_0x459d64),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 _0x4d6121=_0x472022();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4d6121},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 _0x397ecf=this['repository']['getRevision'](0x0),_0x1b62e4=_0x397ecf&&null===_0x397ecf['creator']?_0x397ecf:null;if(this['_continueCurrentRevision']=!!_0x1b62e4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x445a79=this['_source']['getCurrentRevisionId'](),_0x2a81dc=this['repository']['getRevision'](_0x445a79);if(_0x2a81dc)this['_startingVersion']=_0x2a81dc['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3e62ae=this['_source']['history']['_operations']['find'](_0x384c36=>!_0x384c36['_isInit']),_0xd1733e=_0x3e62ae?_0x3e62ae['baseVersion']:this['_source']['history']['version'];_0x397ecf?(_0x397ecf['toVersion']<_0xd1733e&&_0x397ecf['_update']({'toVersion':_0xd1733e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1b62e4['id'],this['_startingVersion']=_0x1b62e4['fromVersion']):(this['_startingVersion']=_0x397ecf['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xd1733e,this['_continueCurrentRevision']=!0x1);}}else _0x1b62e4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1b62e4['toVersion'],this['editor']['model']['document']['history']['version']),_0x1b62e4['fromVersion']===_0x1b62e4['toVersion']?(0x0!==_0x1b62e4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1b62e4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1b62e4['id'],this['_startingVersion']=_0x1b62e4['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',_0x26bb2b=>!_0x26bb2b);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x62504=this['repository']['getRevision'](0x0),_0x56bbd7=await this['getRevisionDocumentData'](_0x62504),_0x1b790c=await this['getRevisionRootsAttributes'](_0x62504);this['_replaceEditorDataWithRevisionData'](_0x56bbd7,_0x1b790c);}}['setSource'](_0x4557b3){this['_source']=_0x4557b3;}async['update'](){const _0x1683aa=await this['_source']['getLatestVersion']();if(_0x1683aa>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4c12fd=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1683aa});_0x4c12fd['authors']=_0x4c12fd['authorsIds']['map'](_0x40f318=>this['editor']['plugins']['get']('Users')['getUser'](_0x40f318)),this['currentRevision']['_update'](_0x4c12fd);}}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'](_0x5491c9={},_0x9ef324=null){const _0x6ee8f8=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9ef324>this['currentRevision']['toVersion']&&(_0x9ef324=null),null===_0x9ef324&&(_0x9ef324=await this['_source']['getLatestVersion']());const _0x49b9f8=this['_getFromVersion'](_0x9ef324),_0x5c0bb3=this['buildRevisionData']({'from':_0x49b9f8,'to':_0x9ef324});if(this['currentRevision']['toVersion']<_0x9ef324){const _0x520404=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9ef324,'to':_0x9ef324});_0x520404['authors']=[],_0x520404['authorsIds']=[],_0x520404['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x520404,!0x0),delete _0x520404['authors'],_0x6ee8f8['push'](_0x520404);}_0x5491c9['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5491c9['name']=_0x5491c9['name']||null,_0x5491c9['id']=_0x5491c9['id']||_0x472022(),_0x5491c9={..._0x5491c9,..._0x5c0bb3};const _0xc4749=this['addRevisionData'](_0x5491c9);_0x6ee8f8['push'](_0x5491c9);const _0x2b5373=this['repository']['getIndex'](_0xc4749);if(0x0!==_0x2b5373){const _0x20db94=this['repository']['getRevision'](_0x2b5373-0x1);if(_0x20db94['fromVersion']!==_0x9ef324){const _0x57f613=this['_revisionDataBuilder']['getData'](_0x9ef324,_0x20db94['toVersion']),_0x3102ca={'id':_0x20db94['id'],'diffData':_0x57f613['diffData'],'authorsIds':_0x57f613['authorsIds'],'authors':_0x57f613['authorsIds']['map'](_0x5404bd=>this['editor']['plugins']['get']('Users')['getUser'](_0x5404bd)),'fromVersion':_0x9ef324};_0x20db94===this['currentRevision']&&(_0x3102ca['createdAt']=new Date(_0x5491c9['createdAt']['getTime']()+0xa)),_0x20db94['_update'](_0x3102ca,!0x0),delete _0x3102ca['authors'],_0x6ee8f8['push'](_0x3102ca);}}if(this['adapter']){for(const _0x4e2c45 of _0x6ee8f8)this['_bufferUpdate'](_0x4e2c45['id'],_0x4e2c45,!0x0);this['sendBufferedUpdates']();}return _0xc4749;}['addRevisionData'](_0x380f62){const _0x355eca=this['repository']['createRevision'](_0x380f62);return this['adapter']&&_0x355eca['on']('_update',(_0x327b92,_0x23ae7e,_0x427ad7)=>{_0x427ad7||(this['_bufferUpdate'](_0x23ae7e['id'],_0x23ae7e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x355eca,this['_findInsertionIndex'](_0x355eca)),_0x355eca;}async['getRevisionDocumentData'](_0x5a6d7d){await this['_loadRevisionData'](_0x5a6d7d);const _0x48cb6e={};for(const _0x905562 in _0x5a6d7d['diffData']){if(_0x5a6d7d['diffData'][_0x905562]['attachChange']&&!_0x5a6d7d['diffData'][_0x905562]['attachChange']['isAttached'])continue;const _0x1ac2e3=this['_removeRevisionMarkers'](JSON['parse'](_0x5a6d7d['diffData'][_0x905562]['insertions'])),_0x110cc7=this['editor']['editing']['view']['document'],_0xf400e2=new _0xf1ec6a(_0x110cc7,_0x1ac2e3['map'](_0x5cbb98=>B(_0x5cbb98,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x48cb6e[_0x905562]=this['editor']['data']['processor']['toData'](_0xf400e2),this['editor']['data']['processor']['useFillerType']('default');}return _0x48cb6e;}async['getRevisionRootsAttributes'](_0x4b4ee3){await this['_loadRevisionData'](_0x4b4ee3);const _0x4baad2={};for(const _0x316c75 in _0x4b4ee3['diffData'])_0x4b4ee3['diffData'][_0x316c75]['attachChange']&&!_0x4b4ee3['diffData'][_0x316c75]['attachChange']['isAttached']||(_0x4baad2[_0x316c75]=_0x4b4ee3['diffData'][_0x316c75]['attributesAfter']||{});return _0x4baad2;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x17a492=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5525fe=0x0;_0x5525fe<_0x17a492['length'];_0x5525fe++){const _0x5e2eb4=_0x17a492[_0x5525fe];let _0x3f19a9=!0x1;for(const _0x3686a8 of Object['keys'](_0x5e2eb4))void 0x0===_0x5e2eb4[_0x3686a8]?delete _0x5e2eb4[_0x3686a8]:'id'!==_0x3686a8&&(_0x3f19a9=!0x0);_0x3f19a9||(_0x17a492[_0x5525fe]=null);}if(_0x17a492=_0x17a492['filter'](_0x3dd783=>null!==_0x3dd783),!_0x17a492['length'])return;for(let _0x54482c=0x0;_0x54482c<_0x17a492['length'];_0x54482c++){const _0x27fd50=_0x17a492[_0x54482c];void 0x0!==_0x27fd50['fromVersion']&&void 0x0===_0x27fd50['toVersion']&&(_0x27fd50['toVersion']=this['repository']['getRevision'](_0x27fd50['id'])['toVersion']),void 0x0!==_0x27fd50['toVersion']&&void 0x0===_0x27fd50['fromVersion']&&(_0x27fd50['fromVersion']=this['repository']['getRevision'](_0x27fd50['id'])['fromVersion']);}const _0x257f25=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x17a492,_0x257f25)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4fbde2=>{if(_0x4fbde2){for(const _0x1f24f7 of _0x4fbde2)this['setRevisionData']({'id':_0x1f24f7['id'],'createdAt':_0x1f24f7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4f5a01,_0x289523){let _0x5ed665=this['editor']['config']['get']('initialData'),_0x2ac0cf=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5ed665){_0x5ed665={};for(const _0x4d82e0 of this['editor']['model']['document']['getRootNames']())_0x5ed665[_0x4d82e0]='';}if('string'==typeof _0x5ed665&&(_0x5ed665={'main':_0x5ed665}),void 0x0===_0x2ac0cf){_0x2ac0cf={};for(const _0x312b3a of this['editor']['model']['document']['getRootNames']())_0x2ac0cf[_0x312b3a]={};}let _0x5e3365=!0x1;const _0x3352dd=Object['keys'](_0x5ed665),_0x5948a8=Object['keys'](_0x4f5a01);for(const _0x59caf5 of _0x3352dd){if(_0x5ed665[_0x59caf5]!==_0x4f5a01[_0x59caf5]&&''!==_0x5ed665[_0x59caf5]['trim']()){_0x5e3365=!0x0;break;}if(!_0x553038(_0x2ac0cf[_0x59caf5],_0x289523[_0x59caf5])&&Object['keys'](_0x2ac0cf[_0x59caf5])['length']>0x0){_0x5e3365=!0x0;break;}}_0x5e3365||(_0x5e3365=_0x5948a8['some'](_0x43ddda=>!this['editor']['model']['document']['getRoot'](_0x43ddda))),_0x5e3365&&_0x3c89b9('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5ed665,'editorRootsAttributes':_0x2ac0cf,'revisionData':_0x4f5a01,'revisionRootsAttributes':_0x289523}),this['editor']['config']['set']('initialData',_0x4f5a01),this['editor']['config']['set']('rootsAttributes',_0x289523);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x335b58=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x335b58['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5e328b){const _0x4c7905=this['repository']['getRevisions']();_0x4c7905['reverse']();let _0x4bacc5=0x0;for(;_0x4bacc5<_0x4c7905['length'];){const _0x4c3a7b=_0x4c7905[_0x4bacc5];if(_0x4c3a7b===this['currentRevision']){_0x4bacc5++;continue;}if(_0x4c3a7b['id']===this['_initialRevisionId'])break;const _0x4c2874=_0x5e328b['toVersion']-_0x4c3a7b['toVersion']||_0x5e328b['fromVersion']-_0x4c3a7b['fromVersion'];if(_0x4c2874>0x0)break;if(_0x4c2874<0x0)_0x4bacc5++;else{if(!_0x5e328b['creator']&&_0x4c3a7b['creator'])break;if(_0x4c3a7b['creator']||!_0x5e328b['creator']){if(_0x5e328b['createdAt']>_0x4c3a7b['createdAt'])break;_0x4bacc5++;}else _0x4bacc5++;}}return _0x4bacc5;}['setRevisionData'](_0x282e77){const _0x3d3305=this['repository']['getRevision'](_0x282e77['id']);if(_0x282e77['createdAt']&&(_0x282e77['createdAt']=new Date(_0x282e77['createdAt'])),_0x282e77['authorsIds']){const _0x38a078=this['editor']['plugins']['get']('Users');_0x282e77['authors']=_0x282e77['authorsIds']['map'](_0x3a14d6=>_0x38a078['getUser'](_0x3a14d6));}_0x3d3305['_update'](_0x282e77,!0x0);}['buildRevisionData']({revision:_0xda8562=null,from:_0x4500e0=null,to:_0x1f3497=null}){_0x4500e0=null!==_0x4500e0?_0x4500e0:_0xda8562['fromVersion'],_0x1f3497=null!==_0x1f3497?_0x1f3497:_0xda8562['toVersion'];const _0x409fc4=this['_revisionDataBuilder']['getData'](_0x4500e0,_0x1f3497),_0x18ce9f={'diffData':_0x409fc4['diffData'],'authorsIds':_0x409fc4['authorsIds'],'fromVersion':_0x4500e0,'toVersion':_0x1f3497};if(!_0xda8562||_0x1f3497!==_0xda8562['toVersion']){const _0x3f3ee0=_0x1f3497-0x1,_0x1fb674=this['_source']['history']['getOperation'](_0x3f3ee0);_0x18ce9f['createdAt']=_0x1fb674&&_0x1fb674['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4500e0===this['_loadedStateData']['fromVersion']){for(const _0x582a53 of this['_loadedStateData']['authors'])_0x18ce9f['authorsIds']['includes'](_0x582a53['id'])||_0x18ce9f['authorsIds']['push'](_0x582a53['id']);}return _0x18ce9f;}['_loadRevisionData'](_0x423169){if(!_0x423169||_0x423169['diffData'])return Promise['resolve']();{const _0x5dd681=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5dd681,'revisionId':_0x423169['id']})['then'](_0x26127e=>{_0x423169['diffData']=_0x26127e['diffData'];});}}['_bufferUpdate'](_0x2a12f1,_0xef50b4,_0x28416f){if(this['_bufferedUpdates']['has'](_0x2a12f1)){const _0x1ff01f=this['_bufferedUpdates']['get'](_0x2a12f1);_0xef50b4=_0x28416f?{..._0x1ff01f,..._0xef50b4}:{..._0xef50b4,..._0x1ff01f};}this['_bufferedUpdates']['set'](_0x2a12f1,_0xef50b4);}['_getFromVersion'](_0x119635){const _0xbe74d2=this['repository']['getRevisions']();_0xbe74d2['reverse'](),_0xbe74d2['shift']();const _0x56a419=_0xbe74d2['find'](_0x52e423=>_0x52e423['toVersion']<=_0x119635)['toVersion'];return _0x56a419<this['_startingVersion']?this['_startingVersion']:_0x56a419;}['_createInitialRevision'](_0x5f2b51){const _0x4d88ca=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4d88ca)this['_initialRevisionId']=_0x4d88ca['id'];else{const _0x2071fa=!this['editor']['model']['document']['roots']['find'](_0xb7de74=>this['editor']['model']['hasContent'](_0xb7de74)),_0x45d169=this['editor']['plugins']['get']('Users')['me']['id'],_0x8efb8d=y(this['editor']['locale'],_0x2071fa?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5f2b51,'to':_0x5f2b51,'id':this['_initialRevisionId'],'name':_0x8efb8d,'creatorId':_0x45d169});}}['_createCurrentRevision'](_0x4a2315){const _0xdb65e8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xdb65e8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4a2315,'to':_0x4a2315,'id':_0xdb65e8,'name':'','creatorId':null}));}['_makeRevision']({name:_0x30e82,from:_0x1af3a4,to:_0x40d0ee,creatorId:_0x32c1ab,id:_0x37b835}){const _0x33b898=this['buildRevisionData']({'from':_0x1af3a4,'to':_0x40d0ee});_0x33b898['name']=_0x30e82,_0x33b898['creatorId']=_0x32c1ab,_0x33b898['id']=_0x37b835;const _0x14ebff=this['addRevisionData'](_0x33b898);return this['adapter']&&this['_bufferUpdate'](_0x33b898['id'],_0x33b898,!0x0),_0x14ebff;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3cebd7){return(_0x3cebd7=_0x3cebd7['filter'](_0x2a56f9=>!_0x2a56f9['name']||'revision-start'!==_0x2a56f9['name']&&'revision-end'!==_0x2a56f9['name']))['forEach'](_0x2e13db=>{'string'!=typeof _0x2e13db&&(_0x2e13db['children']=this['_removeRevisionMarkers'](_0x2e13db['children']),_0x2e13db['attributes']=_0x2e13db['attributes']['filter'](_0x304e4c=>!_0x304e4c[0x0]['startsWith']('data-revision-')));}),_0x3cebd7;}}function B(_0xb7b729,_0x1c4d4e){const _0x165382=_0x1c4d4e['editing']['view']['document'];if('string'==typeof _0xb7b729)return new _0xf2a973(_0x165382,_0xb7b729);{const _0x4654d9=_0xb7b729['children']['map'](_0x410932=>B(_0x410932,_0x1c4d4e));return new(T[_0xb7b729['type']]||_0x49375d)(_0x165382,_0xb7b729['name'],_0xb7b729['attributes'],_0x4654d9);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xf766c2){this['editor']=_0xf766c2,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'](_0x582165){this['source']=_0x582165;const _0x427076=new Map(),_0x212c94=new Map(),_0xcf0d7c=this['editor']['model']['document']['roots']['map'](_0x29ff2a=>_0x29ff2a['rootName']);for(const _0x5ca25e of _0xcf0d7c){const _0x386ab3=this['editor']['model']['document']['getRoot'](_0x5ca25e),_0x579113=q(_0x386ab3);_0x427076['set'](_0x5ca25e,_0x579113),_0x212c94['set'](_0x5ca25e,Object['fromEntries'](_0x386ab3['getAttributes']()));}const _0x71bdfd=Array['from'](this['editor']['model']['markers'])['map'](_0x10b0aa=>[_0x10b0aa['name'],_0x10b0aa['getRange']()]),_0x4f7446=this['source']['version'];this['_saveMetaData'](_0x4f7446,_0x427076,_0x71bdfd,_0x212c94),this['_startingRevisionId']=this['_revisionId'];const _0x1843b7=new Map(),_0x26ed47=new Map();for(const _0x305168 of _0xcf0d7c){const _0x2f1263=G(_0x305168);_0x1843b7['set'](_0x305168,_0x2f1263),_0x26ed47['set'](_0x305168,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1843b7,[],_0x26ed47);}['getData'](_0xb1a64d,_0x3f432f){if(this['_lastFrom']===_0xb1a64d&&this['_lastTo']<=_0x3f432f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3f432f,!0x0);else{if(!this['_savedMetaData']['has'](_0xb1a64d)){const _0x43200d=this['_getPreviousFrom'](_0xb1a64d);this['_calculateMetaData'](_0x43200d,_0xb1a64d,!0x1);}this['_calculateMetaData'](_0xb1a64d,_0x3f432f,!0x0);}return this['_lastFrom']=_0xb1a64d,this['_lastTo']=_0x3f432f,this['_getState']();}['loadState'](_0x3ff039){this['_reset'](),this['_lastFrom']=_0x3ff039['fromVersion'],this['_lastTo']=_0x3ff039['toVersion'];for(const _0x4c2b01 in _0x3ff039['diffData']){const _0x141d61=_0x3ff039['diffData'][_0x4c2b01]['attachChange'],_0x2e844f=_0x1ced1e(_0x3ff039['diffData'][_0x4c2b01]['attributesBefore'])||{},_0x3ba4f5=this['_makeModelFromViewString'](_0x3ff039['diffData'][_0x4c2b01]['deletions']);_0x3ba4f5['rootName']=_0x4c2b01,_0x3ba4f5['_isAttached']=!_0x141d61||!_0x141d61['isAttached'],_0x3ba4f5['isAttached']=()=>_0x3ba4f5['_isAttached'],this['_baseRoots']['set'](_0x4c2b01,_0x3ba4f5),this['_baseRootsAttributes']['set'](_0x4c2b01,_0x2e844f),_0x141d61&&this['_touchedRoots']['set'](_0x4c2b01,_0x141d61);const _0x1ec475=this['_makeIdsRoot'](_0x3ba4f5);this['_baseIdsRoots']['set'](_0x4c2b01,_0x1ec475);for(const [_0x468ac0,_0x459c41]of _0x3ba4f5['markers']){if(!_0x468ac0['startsWith']('revision:'))continue;const _0x3b2e22=_0x468ac0['split'](':')[0x2];for(const _0x274f7c of _0x459c41['getWalker']({'singleCharacters':!0x0})){const _0x4040c2=this['_getVidAttributeName'](_0x274f7c),_0x238058='elementEnd'==_0x274f7c['type']?_0x274f7c['previousPosition']['path']['slice'](0x0,-0x1):_0x274f7c['previousPosition']['path'],_0x3aee20=_0x1ec475['getNodeByPath'](_0x238058)['getAttribute'](_0x4040c2);this['_touched']['set'](_0x3aee20,{'userId':_0x3b2e22});}}}this['_startingRevisionId']=this['_revisionId'];const _0x525250=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0xe524f6=>!this['_touched']['has'](_0xe524f6));let _0x3d216b=0x0;const _0x18c9a7=new Map();for(const _0xce7d07 in _0x3ff039['diffData']){const _0x25dc26=_0x3ff039['diffData'][_0xce7d07]['attachChange'],_0x2161c1=_0x1ced1e(_0x3ff039['diffData'][_0xce7d07]['attributesAfter'])||{},_0x38c0d1=this['_makeModelFromViewString'](_0x3ff039['diffData'][_0xce7d07]['insertions']);_0x38c0d1['rootName']=_0xce7d07,_0x38c0d1['_isAttached']=!_0x25dc26||_0x25dc26['isAttached'],_0x38c0d1['isAttached']=()=>_0x38c0d1['_isAttached'],this['_diffRoots']['set'](_0xce7d07,_0x38c0d1),this['_diffRootsAttributes']['set'](_0xce7d07,_0x2161c1);const _0x240120=this['_makeIdsRoot'](_0x38c0d1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xce7d07,_0x240120),_0x18c9a7['set'](_0xce7d07,_0x38c0d1['isAttached']()?_0x2161c1:{});for(const [_0x3cfcff,_0x529c61]of _0x38c0d1['markers']){if(!_0x3cfcff['startsWith']('revision:'))continue;const _0x557c73=_0x3cfcff['split'](':')[0x2];for(const _0x319779 of _0x529c61['getWalker']({'singleCharacters':!0x0})){const _0x19af79=this['_getVidAttributeName'](_0x319779),_0x290ebf=this['_revisionId']++,_0x16ebd2='elementEnd'==_0x319779['type']?_0x319779['previousPosition']['path']['slice'](0x0,-0x1):_0x319779['previousPosition']['path'];_0x240120['getNodeByPath'](_0x16ebd2)['_setAttribute'](_0x19af79,_0x290ebf),this['_touched']['set'](_0x290ebf,{'userId':_0x557c73});}}for(const _0x36a503 of this['editor']['model']['createRangeIn'](_0x38c0d1)['getWalker']({'singleCharacters':!0x0})){const _0x34a91a=this['_getVidAttributeName'](_0x36a503),_0x5690f2='elementEnd'==_0x36a503['type']?_0x36a503['previousPosition']['path']['slice'](0x0,-0x1):_0x36a503['previousPosition']['path'],_0x33ac84=_0x240120['getNodeByPath'](_0x5690f2);_0x33ac84['getAttribute'](_0x34a91a)>0x0||_0x33ac84['_setAttribute'](_0x34a91a,_0x525250[_0x3d216b++]);}for(const [_0x2a26e7,_0x5a57f1]of _0x38c0d1['markers'])_0x2a26e7['startsWith']('revision:')||this['_markers']['set'](_0x2a26e7,_0x5a57f1);}const _0x5f3236=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5f3236),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5f3236,0x1));const _0x4c6731=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4c6731),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4c6731,0x1));const _0x2d3814=Array['from'](this['_diffRoots'])['map'](([_0x17e3e8,_0x41955b])=>[_0x17e3e8,q(_0x41955b)]);this['_saveMetaData'](this['_lastTo'],_0x2d3814,this['_markers'],_0x18c9a7);}['_makeModelFromViewString'](_0x40a9de){const _0x4d47d8=JSON['parse'](_0x40a9de),_0x57c029=this['editor']['editing']['view']['document'],_0x250840=new _0xf1ec6a(_0x57c029,_0x4d47d8['map'](_0x3207a3=>B(_0x3207a3,this['editor'])));return this['editor']['data']['toModel'](_0x250840);}['_saveMetaData'](_0x2a9d5b,_0x2c0467,_0x5222b9,_0x46a94b){const _0x2c7041=new Map(_0x2c0467),_0x57075b=new Map(_0x1ced1e(_0x46a94b)),_0x57c69b=new Map();for(const [_0xda5b20,_0x2742ab]of _0x5222b9)_0x57c69b['set'](_0xda5b20,{'start':_0x2742ab['start']['clone'](),'end':_0x2742ab['end']['clone'](),'rootName':_0x2742ab['root']['rootName']});this['_savedMetaData']['set'](_0x2a9d5b,{'roots':_0x2c7041,'markers':_0x57c69b,'rootsAttributes':_0x57075b});}['_removeMetaData'](_0x38fecb){this['_savedMetaData']['delete'](_0x38fecb);}['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'](_0x2e38cc,_0x4ff806=null){let _0xf7cea=null;_0x2e38cc['is']('documentFragment')||(_0xf7cea=new ft(_0x2e38cc['name'],{'vid_start':null===_0x4ff806?this['_revisionId']++:_0x4ff806++}));const _0x3d5545=[];for(const _0xbffaf8 of _0x2e38cc['getChildren']())if(_0xbffaf8['is']('element')){_0x3d5545['push'](this['_makeIdsRoot'](_0xbffaf8,_0x4ff806));const _0x1a9c13=_0x3d5545[_0x3d5545['length']-0x1];null!==_0x4ff806&&(_0x4ff806=_0x1a9c13['is']('element','$text')?_0x1a9c13['getAttribute']('vid')+0x1:_0x1a9c13['getAttribute']('vid_end')+0x1);}else{for(let _0x34f971=0x0;_0x34f971<_0xbffaf8['offsetSize'];_0x34f971++)_0x3d5545['push'](new ft('$text',{'vid':null===_0x4ff806?this['_revisionId']++:_0x4ff806++}));}if(_0x2e38cc['is']('documentFragment')){const _0x340531=G(_0x2e38cc['rootName']);return _0x340531['_insertChild'](0x0,_0x3d5545),_0x340531;}return _0xf7cea['_setAttribute']('vid_end',null===_0x4ff806?this['_revisionId']++:_0x4ff806++),_0xf7cea['_insertChild'](0x0,_0x3d5545),_0xf7cea;}['_calculateMetaData'](_0x2ceb36,_0xe2ad81,_0x46befe){this['_reset']();const {roots:_0x4094b3,markers:_0x4ee38b,rootsAttributes:_0xe2e0bd}=this['_savedMetaData']['get'](_0x2ceb36);this['_baseRoots']=new Map(_0x4094b3),this['_baseRootsAttributes']=new Map(_0x1ced1e(_0xe2e0bd));for(const [_0x1eb300,_0x3e740b]of this['_baseRoots'])if('$graveyard'!==_0x1eb300&&(this['_diffRoots']['set'](_0x1eb300,q(_0x3e740b)),this['_diffRootsAttributes']=new Map(_0x1ced1e(_0xe2e0bd)),_0x46befe)){const _0x1a611e=this['_revisionId'];this['_idsRoots']['set'](_0x1eb300,this['_makeIdsRoot'](_0x3e740b)),this['_baseIdsRoots']['set'](_0x1eb300,this['_makeIdsRoot'](_0x3e740b,_0x1a611e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x46befe&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x522cc6,_0x2d2886]of _0x4ee38b){const _0x48c857=this['_baseRoots']['get'](_0x2d2886['rootName']),_0x50237b=this['_diffRoots']['get'](_0x2d2886['rootName']),_0x3bbd0c=new vt(this['_fixPosition'](_0x2d2886['start'],_0x48c857),this['_fixPosition'](_0x2d2886['end'],_0x48c857)),_0x4bd983=this['_fixRange'](_0x3bbd0c,_0x50237b);_0x48c857['markers']['set'](_0x522cc6,_0x3bbd0c),this['_markers']['set'](_0x522cc6,_0x4bd983);}this['_applyOperations'](_0x2ceb36,_0xe2ad81,_0x46befe);}['_applyOperations'](_0x14d237,_0x74825c,_0xd98487){for(const _0x2fe881 of this['source']['getOperations'](_0x14d237,_0x74825c))this['_handleOperation'](_0x2fe881,_0xd98487);for(const _0x4eea03 of this['_diffRoots']['values']())_0x4eea03['markers']['clear']();for(const [_0xa5b317,_0x3977d1]of this['_markers']){this['_diffRoots']['get'](_0x3977d1['root']['rootName'])['markers']['set'](_0xa5b317,_0x3977d1['clone']());}const _0x384545=new Map(),_0x179e77=new Map();for(const [_0x3b3121,_0x2dac0a]of this['_diffRoots'])_0x384545['set'](_0x3b3121,q(_0x2dac0a)),_0x179e77['set'](_0x3b3121,this['_diffRootsAttributes']['get'](_0x3b3121));this['_saveMetaData'](_0x74825c,_0x384545,this['_markers'],_0x179e77);}['_getPreviousFrom'](_0x343d13){const _0x4992fb=Array['from'](this['_savedMetaData']['keys']());_0x4992fb['sort']((_0x3dfb3d,_0x5b6360)=>_0x3dfb3d-_0x5b6360),_0x4992fb['reverse']();for(const _0x177887 of _0x4992fb)if(_0x177887<_0x343d13)return _0x177887;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1e195b,_0xbd5541){const _0xfe6be3=Array['from'](_0xbd5541['markers'])['map'](([_0x203c6e,_0x1f5e90])=>[_0x203c6e,this['_fixRange'](_0x1f5e90,_0x1e195b)]);_0x1e195b['markers']=new Map(_0xfe6be3);}['_transformMarkers'](_0x546943){for(const _0x5baed6 of this['_markers']['values']()){const _0x186e96=_0x5baed6['getTransformedByOperation'](_0x546943),_0x3fd638=vt['_createFromRanges'](_0x186e96);_0x5baed6['start']=_0x3fd638['start'],_0x5baed6['end']=_0x3fd638['end'];}}['_handleOperation'](_0xfb4967,_0x2cef45){if('addRoot'==_0xfb4967['type']||'detachRoot'==_0xfb4967['type'])return void this['_handleRootOperation'](_0xfb4967,_0x2cef45);if('insert'==_0xfb4967['type']){const _0x3d5435=_0xfb4967['position']['root']['rootName'];this['_diffRoots']['has'](_0x3d5435)||(this['_diffRoots']['set'](_0x3d5435,G(_0x3d5435,!0x0)),this['_diffRootsAttributes']['set'](_0x3d5435,{}),_0x2cef45&&this['_idsRoots']['set'](_0x3d5435,G(_0x3d5435,!0x0)));}else{if('addRootAttribute'==_0xfb4967['type']||'removeRootAttribute'==_0xfb4967['type']||'changeRootAttribute'==_0xfb4967['type'])return void this['_handleRootAttributeOperation'](_0xfb4967);}const _0x353489=this['_cloneOperation'](_0xfb4967,this['_diffRoots']);if('marker'!==_0xfb4967['type']&&(_0x353489['_execute'](),this['_transformMarkers'](_0x353489)),_0x2cef45)switch(_0x353489['type']){case'insert':this['_handleInsertOperation'](_0xfb4967);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xfb4967);break;case'merge':this['_handleMergeOperation'](_0xfb4967);break;case'split':this['_handleSplitOperation'](_0xfb4967);break;case'marker':this['_handleMarkerOperation'](_0xfb4967);}}['_cloneOperation'](_0x236e3a,_0x2cdde7){const _0x510bde=_0x236e3a['clone']();return _0x510bde['_authorId']=_0x236e3a['_authorId'],this['_fixOperation'](_0x510bde,_0x2cdde7),_0x510bde;}['_getBaseVids'](_0x386e34){return _0x386e34['map'](_0x212f87=>{const _0x426261=this['_getVidAttributeName'](_0x212f87);return Number(_0x212f87['item']['getAttribute'](_0x426261));});}['_generateTape'](_0x5321a4,_0x2f3cf7){if(_0x5321a4['is']('element','$text'))_0x2f3cf7['push']({'item':_0x5321a4,'type':'text'});else{_0x5321a4['is']('element')&&_0x2f3cf7['push']({'item':_0x5321a4,'type':'elementStart'});for(const _0x453db2 of _0x5321a4['getChildren']())this['_generateTape'](_0x453db2,_0x2f3cf7);_0x5321a4['is']('element')&&_0x2f3cf7['push']({'item':_0x5321a4,'type':'elementEnd'});}return _0x2f3cf7;}['_getState'](){const _0x29d1d6=new Map(this['_touched']),_0x21765c=new Map(_0x29d1d6),_0x59c0b8=new Map(),_0x6d29ed={'insertions':{},'deletions':{}},_0xf3c636={'insertions':{},'deletions':{}},_0x19dccf=new Map(),_0x3f2656=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3f2656['delete']('$graveyard');for(const _0xbf83aa of _0x3f2656){const _0x2f50fb=this['_diffRoots']['get'](_0xbf83aa)||G(_0xbf83aa,!0x1),_0x343a09=this['_baseRoots']['get'](_0xbf83aa)||G(_0xbf83aa,!0x1);_0x2f50fb['isAttached']()||_0x343a09['isAttached']()?(_0x6d29ed['insertions'][_0xbf83aa]=q(_0x2f50fb),_0x6d29ed['deletions'][_0xbf83aa]=q(_0x343a09),this['_copyMarkers'](_0x6d29ed['deletions'][_0xbf83aa],_0x343a09),this['_copyMarkers'](_0x6d29ed['insertions'][_0xbf83aa],_0x2f50fb),_0xf3c636['insertions'][_0xbf83aa]=this['_generateTape'](this['_idsRoots']['get'](_0xbf83aa),[]),_0xf3c636['deletions'][_0xbf83aa]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xbf83aa)||G(_0xbf83aa,!0x1),[])):_0x3f2656['delete'](_0xbf83aa);}for(const _0x1a1129 of _0x3f2656){const _0x12958e=_0xf3c636['insertions'][_0x1a1129];for(const _0x967c51 of _0x12958e){const _0x9b2524=this['_getVidAttributeName'](_0x967c51),_0x13f9af=_0x967c51['item']['getAttribute'](_0x9b2524);_0x21765c['delete'](_0x13f9af),_0x13f9af>=this['_startingRevisionId']&&_0x59c0b8['set'](_0x13f9af,_0x29d1d6['get'](_0x13f9af));}}for(const _0x59a016 of _0x3f2656){const _0x17ff47=_0xf3c636['insertions'][_0x59a016],_0xd4b25a=this['_getBaseVids'](_0xf3c636['deletions'][_0x59a016]);let _0x2b64e5=0x0;for(const _0x3eef45 of _0x17ff47){const _0x47051d=this['_getVidAttributeName'](_0x3eef45),_0x2367e1=_0x3eef45['item']['getAttribute'](_0x47051d);if(!_0x59c0b8['has'](_0x2367e1)&&!_0x19dccf['has'](_0x2367e1)){if(_0x21765c['has'](_0x2367e1))_0x2b64e5++;else{if(_0x2367e1!=_0xd4b25a[_0x2b64e5]){const _0x19bf39=_0x29d1d6['get'](_0x2367e1)||_0x29d1d6['get'](_0xd4b25a[_0x2b64e5]);for(;_0x2367e1!=_0xd4b25a[_0x2b64e5];)_0x21765c['has'](_0xd4b25a[_0x2b64e5])||(_0x19dccf['set'](_0xd4b25a[_0x2b64e5],_0x19bf39),_0x29d1d6['set'](_0xd4b25a[_0x2b64e5],_0x19bf39)),_0x2b64e5++;}_0x2b64e5++;}}}}for(const _0x44b20c of _0x3f2656){const _0x1b7dad=_0xf3c636['insertions'][_0x44b20c];for(const _0x15e1de of _0x1b7dad){const _0x5996c9=this['_getVidAttributeName'](_0x15e1de),_0x49f5f0=_0x15e1de['item']['getAttribute'](_0x5996c9);if(_0x19dccf['has'](_0x49f5f0)){const _0x4e522a=_0x19dccf['get'](_0x49f5f0);_0x21765c['has'](_0x49f5f0)||_0x21765c['set'](_0x49f5f0,{..._0x4e522a}),_0x59c0b8['set'](_0x49f5f0,{..._0x4e522a});}}}for(const _0x34b0ba of _0x21765c['keys']())_0x34b0ba>=this['_startingRevisionId']&&_0x21765c['delete'](_0x34b0ba);const _0x41204f=new Map();for(const _0xee38f7 of _0x3f2656){let _0x346841=_0xf3c636['insertions'][_0xee38f7];for(const _0x552fcc of _0x346841)if(_0x552fcc['item']['is']('element','tableCell')){const _0x58aafd=this['_getVidAttributeName'](_0x552fcc),_0x1fc235=_0x552fcc['item']['getAttribute'](_0x58aafd);if(_0x59c0b8['has'](_0x1fc235)){const _0x25b63f=_0x552fcc['item']['parent']['parent']['getAttribute']('vid_start'),_0x497642=_0x41204f['get'](_0x25b63f)||new Set();_0x497642['add'](_0x59c0b8['get'](_0x1fc235)['userId']),_0x41204f['set'](_0x25b63f,_0x497642);}}_0x346841=_0xf3c636['deletions'][_0xee38f7];for(const _0x43de31 of _0x346841)if(_0x43de31['item']['is']('element','tableCell')){const _0x1ee3ff=this['_getVidAttributeName'](_0x43de31),_0x189598=_0x43de31['item']['getAttribute'](_0x1ee3ff);if(_0x21765c['has'](_0x189598)){const _0x430606=_0x43de31['item']['parent']['parent']['getAttribute']('vid_start'),_0x16a3f3=_0x41204f['get'](_0x430606)||new Set();_0x16a3f3['add'](_0x21765c['get'](_0x189598)['userId']),_0x41204f['set'](_0x430606,_0x16a3f3);}}for(const _0x40f0c3 of _0x41204f['keys']())(_0x59c0b8['has'](_0x40f0c3)||_0x21765c['has'](_0x40f0c3))&&_0x41204f['delete'](_0x40f0c3);}for(const _0x3fe7e8 of _0x3f2656){const _0x30a4b0=_0xf3c636['insertions'][_0x3fe7e8];let _0x29b2bb=null,_0x31ae84=null;for(const _0x4faaa2 of _0x30a4b0){const _0x452dd5=this['_getVidAttributeName'](_0x4faaa2),_0xa2cb32=_0x4faaa2['item']['getAttribute'](_0x452dd5),_0xa08d5e=_0x41204f['get'](_0xa2cb32);_0xa08d5e&&'elementStart'==_0x4faaa2['type']&&(_0x29b2bb=Array['from'](_0xa08d5e)[0x0],_0x31ae84=_0x4faaa2['item']['getAttribute']('vid_end')),_0x29b2bb&&(_0x21765c['set'](_0xa2cb32,{'userId':_0x29b2bb}),_0x59c0b8['set'](_0xa2cb32,{'userId':_0x29b2bb})),_0xa2cb32==_0x31ae84&&(_0x29b2bb=null,_0x31ae84=null);}}const _0x466462={},_0x5cd6e6=new Set();for(const _0xf29636 of _0x3f2656){const _0x21d820=_0x6d29ed['deletions'][_0xf29636],_0x5bd96b=_0x6d29ed['insertions'][_0xf29636];for(const {userId:_0x1760fc}of this['_touchedMarkers']['values']())null!==_0x1760fc&&_0x5cd6e6['add'](_0x1760fc);for(const {userId:_0x3072ad}of this['_touchedRoots']['values']())null!==_0x3072ad&&_0x5cd6e6['add'](_0x3072ad);this['_markChanges'](_0x5bd96b,_0xf3c636['insertions'][_0xf29636],_0x59c0b8,'insertion',_0x5cd6e6),this['_markChanges'](_0x21d820,_0xf3c636['deletions'][_0xf29636],_0x21765c,'deletion',_0x5cd6e6),_0x466462[_0xf29636]={'insertions':this['_prepareViewToSave'](_0x5bd96b),'deletions':this['_prepareViewToSave'](_0x21d820),'attachChange':this['_touchedRoots']['get'](_0xf29636)||null,'attributesBefore':_0x1ced1e(this['_baseRootsAttributes']['get'](_0xf29636))||{},'attributesAfter':_0x1ced1e(this['_diffRootsAttributes']['get'](_0xf29636))};}return{'diffData':_0x466462,'authorsIds':Array['from'](_0x5cd6e6)};}['_processRootBeforeSave'](_0x424617){for(const [,_0x1ad2b2]of _0x424617['markers']){const _0x2d2c3f=_0x1ad2b2['start']['getAncestors']()['filter'](_0x30f304=>'tableCell'==_0x30f304['name']);for(const _0x387765 of _0x2d2c3f)0x1==_0x387765['childCount']&&_0x387765['getChild'](0x0)['is']('element','paragraph')&&_0x387765['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4d0940){this['_processRootBeforeSave'](_0x4d0940);const _0xf12fe1=this['editor']['data']['toView'](_0x4d0940,{}),_0x3ba884=Array['from'](_0xf12fe1['getChildren']())['map'](_0x19e0c3=>this['_getViewJson'](_0x19e0c3));return JSON['stringify'](_0x3ba884);}['_getViewJson'](_0xd453aa){if(_0xd453aa['is']('$text'))return _0xd453aa['data'];{const _0x219f00=_0xd453aa;return{'type':Object['keys'](T)['find'](_0x57eedc=>_0xd453aa instanceof T[_0x57eedc]),'name':_0x219f00['name'],'attributes':Array['from'](_0x219f00['getAttributes']()),'children':Array['from'](_0x219f00['getChildren']())['map'](_0x55026a=>this['_getViewJson'](_0x55026a))};}}['_markChanges'](_0x391696,_0x1b6ee4,_0xed0589,_0x387ae9,_0x127cb2){let _0x12c7dd=null,_0x3a1e23=null,_0x1dc288=0x0;const _0x28b687=this['editor']['model'];for(let _0x2095f7=0x0;_0x2095f7<_0x1b6ee4['length'];_0x2095f7++){const _0xa6b6ad=this['_getVidAttributeName'](_0x1b6ee4[_0x2095f7]),_0x331086=_0x1b6ee4[_0x2095f7]['item']['getAttribute'](_0xa6b6ad),_0x41c8c1=_0xed0589['get'](_0x331086),_0x1d2262=_0x2095f7==_0x1b6ee4['length']-0x1;(!_0x12c7dd&&_0x41c8c1&&(_0x12c7dd=_0x41c8c1,_0x3a1e23=_0x1b6ee4[_0x2095f7]),_0x12c7dd&&(!_0x41c8c1||_0x41c8c1['userId']!=_0x12c7dd['userId']))&&(_0x223f9d(_0x41c8c1,L(_0x3a1e23,_0x391696,_0x28b687),L(_0x1b6ee4[_0x2095f7],_0x391696,_0x28b687)),_0x12c7dd=_0x41c8c1||null,_0x3a1e23=_0x41c8c1?_0x1b6ee4[_0x2095f7]:null),_0x12c7dd&&_0x1d2262&&_0x223f9d(_0x41c8c1,L(_0x3a1e23,_0x391696,_0x28b687),W(_0x1b6ee4[_0x2095f7],_0x391696,_0x28b687));}function _0x223f9d(_0x3a30e8,_0x246bd6,_0x2f732a){const _0x48a926=_0x12c7dd['userId'],_0x10752e='revision:'+_0x387ae9+':'+_0x48a926+':'+_0x1dc288++,_0x10c7c4=_0x28b687['createRange'](_0x246bd6,_0x2f732a);_0x391696['markers']['set'](_0x10752e,_0x10c7c4),null!==_0x48a926&&_0x127cb2['add'](_0x48a926);}}['_getVidAttributeName'](_0x2b0e21){switch(_0x2b0e21['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x120324,_0x2acdf5){_0x120324['baseVersion']=null;for(const _0x3af327 in _0x120324){const _0xcebc6=_0x120324[_0x3af327];if(_0xcebc6 instanceof gt){const _0x227137=_0x2acdf5['get'](_0xcebc6['root']['rootName']);_0x120324[_0x3af327]=this['_fixPosition'](_0xcebc6,_0x227137);}if(_0xcebc6 instanceof vt){const _0x3dc026=_0x2acdf5['get'](_0xcebc6['root']['rootName']);_0x120324[_0x3af327]=this['_fixRange'](_0xcebc6,_0x3dc026);}'root'===_0x3af327&&(_0x120324['root']=_0x2acdf5['get'](_0x120324['root']['rootName']));}}['_fixRange'](_0x40954f,_0x320d57){return this['editor']['model']['createRange'](this['_fixPosition'](_0x40954f['start'],_0x320d57),this['_fixPosition'](_0x40954f['end'],_0x320d57));}['_fixPosition'](_0x42d0a9,_0x8e425a){return this['editor']['model']['createPositionFromPath'](_0x8e425a,_0x42d0a9['path'],_0x42d0a9['stickiness']);}['_handleInsertOperation'](_0xe2cf52){const _0x2b97de=this['_idsRoots']['get'](_0xe2cf52['position']['root']['rootName']),_0x21595f=this['_fixPosition'](_0xe2cf52['position'],_0x2b97de),_0x33277b=null===_0xe2cf52['_authorId']?null:_0xe2cf52['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d6d14=_0x21595f['parent'],_0x42eabc=this['_revisionId'],_0x33e4d8=[];for(const _0x43184f of _0xe2cf52['nodes'])if(_0x43184f['is']('element'))_0x33e4d8['push'](this['_makeIdsRoot'](_0x43184f));else{for(let _0x38eee7=0x0;_0x38eee7<_0x43184f['offsetSize'];_0x38eee7++)_0x33e4d8['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1888fe=this['_revisionId'];for(let _0x3b558e=_0x42eabc;_0x3b558e<_0x1888fe;_0x3b558e++)this['_touched']['set'](_0x3b558e,{'userId':_0x33277b});_0x5d6d14['_insertChild'](_0x21595f['offset'],_0x33e4d8);}['_handleMoveOperation'](_0x2ee3bf){(_0x2ee3bf=this['_cloneOperation'](_0x2ee3bf,this['_idsRoots']))['_execute']();const _0x5197f9=null===_0x2ee3bf['_authorId']?null:_0x2ee3bf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x234445=_0x2ee3bf['getMovedRangeStart'](),_0x5d799e=_0x234445['parent'],_0x3eb055=_0x234445['offset'];!function _0x220864(_0x2afcd1,_0x58e0e3,_0x59ebe1,_0x4bae74){for(let _0x412190=_0x59ebe1;_0x412190<_0x4bae74;_0x412190++){const _0x416c4e=_0x58e0e3['getChild'](_0x412190);_0x416c4e['is']('element','$text')?_0x2afcd1['set'](_0x416c4e['getAttribute']('vid'),{'userId':_0x5197f9}):(_0x2afcd1['set'](_0x416c4e['getAttribute']('vid_start'),{'userId':_0x5197f9}),_0x220864(_0x2afcd1,_0x416c4e,0x0,_0x416c4e['childCount']),_0x2afcd1['set'](_0x416c4e['getAttribute']('vid_end'),{'userId':_0x5197f9}));}}(this['_touched'],_0x5d799e,_0x3eb055,_0x3eb055+_0x2ee3bf['howMany']);}['_handleMergeOperation'](_0x2962d4){const _0x2327a2=null===(_0x2962d4=this['_cloneOperation'](_0x2962d4,this['_idsRoots']))['_authorId']?null:_0x2962d4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20761e=_0x2962d4['targetPosition']['parent'],_0x5977aa=_0x2962d4['sourcePosition']['parent'],_0x5201e6=_0x20761e['getAttribute']('vid_end'),_0x17639d=_0x5977aa['getAttribute']('vid_start');_0x20761e['_setAttribute']('vid_end',_0x5977aa['getAttribute']('vid_end')),_0x5977aa['_setAttribute']('vid_end',_0x5201e6),this['_touched']['set'](_0x17639d,{'userId':_0x2327a2}),this['_touched']['set'](_0x5201e6,{'userId':_0x2327a2}),_0x2962d4['_execute']();}['_handleSplitOperation'](_0x20a6a9){const _0x3ec5ce=null===(_0x20a6a9=this['_cloneOperation'](_0x20a6a9,this['_idsRoots']))['_authorId']?null:_0x20a6a9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31f490=_0x20a6a9['graveyardPosition'],_0x24d3fe=_0x20a6a9['splitPosition']['parent'];_0x20a6a9['_execute']();const _0x569dfd=_0x24d3fe['getAttribute']('vid_end'),_0x575830=_0x20a6a9['insertionPosition']['nodeAfter'];if(_0x31f490){const _0x36af00=_0x575830['getAttribute']('vid_end'),_0x6e420e=_0x24d3fe['getAttribute']('vid_end');_0x24d3fe['_setAttribute']('vid_end',_0x36af00),_0x575830['_setAttribute']('vid_end',_0x6e420e),this['_touched']['set'](_0x24d3fe['getAttribute']('vid_end'),{'userId':_0x3ec5ce}),this['_touched']['set'](_0x575830['getAttribute']('vid_start'),{'userId':_0x3ec5ce});}else{const _0x20c011=this['_revisionId']++,_0x5ceaf5=this['_revisionId']++;_0x24d3fe['_setAttribute']('vid_end',_0x20c011),_0x575830['_setAttribute']('vid_start',_0x5ceaf5),_0x575830['_setAttribute']('vid_end',_0x569dfd),this['_touched']['set'](_0x20c011,{'userId':_0x3ec5ce}),this['_touched']['set'](_0x5ceaf5,{'userId':_0x3ec5ce});}}['_handleMarkerOperation'](_0x13090f){if(!_0x13090f['affectsData'])return;const _0x1acf86=(_0x13090f=this['_cloneOperation'](_0x13090f,this['_diffRoots']))['oldRange']?_0x13090f['oldRange']['root']:null,_0x4bb183=_0x13090f['newRange']?_0x13090f['newRange']['root']:null;_0x1acf86&&this['_markers']['delete'](_0x13090f['name']),_0x4bb183&&this['_markers']['set'](_0x13090f['name'],_0x13090f['newRange']['clone']());const _0x2babf5=null===_0x13090f['_authorId']?null:_0x13090f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x359cbf=_0x13090f['name'];if(!this['_touchedMarkers']['has'](_0x359cbf))return void this['_touchedMarkers']['set'](_0x359cbf,{'range':_0x13090f['oldRange'],'userId':_0x2babf5});const _0x53acba=this['_touchedMarkers']['get'](_0x359cbf),_0x5aaca0=_0x53acba['range'],_0x42f538=_0x13090f['newRange'];null==_0x5aaca0&&null==_0x42f538||_0x5aaca0&&_0x42f538&&_0x5aaca0['isEqual'](_0x42f538)?this['_touchedMarkers']['delete'](_0x13090f['name']):_0x53acba['userId']=_0x2babf5;}['_handleRootOperation'](_0x3f3657,_0x1c5384){this['_diffRoots']['has'](_0x3f3657['rootName'])?this['_diffRoots']['get'](_0x3f3657['rootName'])['_isAttached']=_0x3f3657['isAdd']:(this['_diffRoots']['set'](_0x3f3657['rootName'],G(_0x3f3657['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3f3657['rootName'],{}),_0x1c5384&&this['_idsRoots']['set'](_0x3f3657['rootName'],G(_0x3f3657['rootName'],!0x0)));const _0x596ecc=null===_0x3f3657['_authorId']?null:_0x3f3657['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x576cd1=this['_touchedRoots']['get'](_0x3f3657['rootName']);_0x576cd1&&_0x576cd1['userId']===_0x596ecc?this['_touchedRoots']['delete'](_0x3f3657['rootName']):this['_touchedRoots']['set'](_0x3f3657['rootName'],{'userId':_0x596ecc,'isAttached':_0x3f3657['isAdd']});}['_handleRootAttributeOperation'](_0x1fc1a4){const _0x82e7e4=this['_diffRootsAttributes']['get'](_0x1fc1a4['root']['rootName']);null===_0x1fc1a4['newValue']?delete _0x82e7e4[_0x1fc1a4['key']]:_0x82e7e4[_0x1fc1a4['key']]=_0x1fc1a4['newValue'];}}function q(_0x2f018b){const _0x54c555=G(_0x2f018b['rootName'],_0x2f018b['isAttached']());for(const _0x2e90bf of _0x2f018b['getChildren']()){const _0x958f27=_0x2e90bf['_clone'](!0x0);_0x54c555['_appendChild'](_0x958f27);}return _0x54c555;}function G(_0x4d657f,_0x475cec=!0x0){const _0x9f19da=new wt();return _0x9f19da['rootName']=_0x4d657f,_0x9f19da['_isAttached']=_0x475cec,_0x9f19da['isAttached']=()=>_0x9f19da['_isAttached'],_0x9f19da;}function L(_0x19fcdc,_0x32fc0f,_0x469f23){const _0x5468f4='elementEnd'==_0x19fcdc['type']?_0x469f23['createPositionAt'](_0x19fcdc['item'],'end'):_0x469f23['createPositionBefore'](_0x19fcdc['item']);return _0x469f23['createPositionFromPath'](_0x32fc0f,_0x5468f4['path'],_0x5468f4['stickiness']);}function W(_0x1772a7,_0x3511fb,_0x5787dc){const _0x434a85='elementStart'==_0x1772a7['type']?_0x5787dc['createPositionAt'](_0x1772a7['item'],0x0):_0x5787dc['createPositionAfter'](_0x1772a7['item']);return _0x5787dc['createPositionFromPath'](_0x3511fb,_0x434a85['path'],_0x434a85['stickiness']);}class ns extends _0xe63f62{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x209947,_0x3627fd){super(_0x209947),this['focusTracker']=new _0x503daa(),this['keystrokes']=new _0x53b84c(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3627fd),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'](),_0x37f133({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x28acbd=_0xf67b9e=>_0xf67b9e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x28acbd),this['keystrokes']['set']('arrowleft',_0x28acbd),this['keystrokes']['set']('arrowup',_0x28acbd),this['keystrokes']['set']('arrowdown',_0x28acbd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x32793d){this['revisionNameInputView']['fieldView']['element']['value']=_0x32793d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5991a1){const _0x1f3bcf=new at(this['locale'],_0xf69869),_0x33159a=_0x1f3bcf['fieldView'];_0x33159a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2134c8=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5991a1&&(_0x2134c8+='\x20('+y(this['locale'],'optional')+')'),(_0x1f3bcf['label']=_0x2134c8,_0x33159a['on']('input',()=>{this['revisionNameInputValue']=_0x33159a['element']['value']['trim']();}),_0x1f3bcf);}}class u extends _0x1ffe89{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x329959=this['editor'],_0x3f015a=_0x329959['plugins']['get']('RevisionTracker');_0x329959['ui']['componentFactory']['add']('revisionHistory',_0xb13053=>{const _0x5ad120=_0x5436a3(_0xb13053),_0x2c8b32=_0x5ad120['panelView']['children'],_0x4cd847=new te(_0xb13053),_0x2a08d2=new _0x230ae2(_0xb13053),_0x1330ec=new _0x5591a3(_0xb13053),_0x1ee0f0=new _0x230ae2(_0xb13053),_0x533235=new _0x5591a3(_0xb13053);return _0x5ad120['bind']('isEnabled')['to'](_0x3f015a,'isReady',_0x3f015a,'isEnabled',_0x329959,'isReadOnly',(_0x3bb57a,_0x24b2a6,_0x3923ab)=>_0x3bb57a&&_0x24b2a6&&!_0x3923ab),_0x5ad120['buttonView']['set']({'icon':_0x5de8c3['history'],'label':y(_0xb13053,'Revision\x20history'),'tooltip':!0x0}),_0x1330ec['set']({'label':y(_0xb13053,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1330ec['bind']('isEnabled')['to'](_0x3f015a,'isReady',_0x3f015a,'isEnabled',_0x329959,'isReadOnly',(_0x5c30ea,_0x3f5516,_0x5a34ce)=>_0x5c30ea&&_0x3f5516&&!_0x5a34ce),_0x1330ec['on']('execute',()=>this['_showDialog']()),_0x533235['set']({'label':y(_0xb13053,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x533235['bind']('isEnabled')['to'](_0x3f015a,'isReady',_0x329959,'isReadOnly',(_0x500edc,_0x42ebef)=>_0x500edc&&!_0x42ebef),_0x533235['on']('execute',()=>{_0x329959['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5ad120['isOpen']=!0x1,_0x329959['editing']['view']['focus']();}),_0x2a08d2['children']['add'](_0x1330ec),_0x1ee0f0['children']['add'](_0x533235),_0x4cd847['role']='menu',_0x4cd847['items']['addMany']([_0x2a08d2,_0x1ee0f0]),_0x2c8b32['add'](_0x4cd847),_0x5ad120;}),_0x329959['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x48ad7d=this['editor'],_0x3c2ca0=_0x48ad7d['locale'],_0x36049e=new _0x2749bb(_0x3c2ca0),_0x48d927=new _0x3e8cc0(_0x3c2ca0);_0x36049e['buttonView']['set']({'icon':_0x5de8c3['history'],'label':y(_0x3c2ca0,'Revision\x20history')});const _0x32fac1=new _0x124bff(_0x3c2ca0,_0x36049e),_0x103b9b=new _0x3539b7(_0x3c2ca0);_0x103b9b['set']({'label':y(_0x3c2ca0,'Save\x20current\x20revision')}),_0x103b9b['delegate']('execute')['to'](_0x36049e),_0x103b9b['on']('execute',()=>{this['_showDialog']();}),_0x32fac1['children']['add'](_0x103b9b),_0x48d927['items']['add'](_0x32fac1);const _0x168673=new _0x124bff(_0x3c2ca0,_0x36049e),_0x2321fc=new _0x3539b7(_0x3c2ca0);return _0x2321fc['set']({'label':y(_0x3c2ca0,'Open\x20revision\x20history')}),_0x2321fc['delegate']('execute')['to'](_0x36049e),_0x2321fc['on']('execute',()=>{_0x48ad7d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x168673['children']['add'](_0x2321fc),_0x48d927['items']['add'](_0x168673),_0x36049e['panelView']['children']['add'](_0x48d927),_0x36049e;}['_showDialog'](){const _0x568e27=this['editor'],_0x2ac61a=_0x568e27['locale'],_0x132d1d=_0x568e27['plugins']['get']('Dialog'),_0x4f318d=_0x568e27['plugins']['get']('RevisionTracker');function _0x40ca99(_0x3b3625){_0x568e27['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3b3625['revisionName']?_0x3b3625['revisionNameInputView']['errorText']=y(_0x2ac61a,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x568e27['plugins']['get'](l)['saveRevision']({'name':_0x3b3625['revisionName']}),_0x132d1d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x40ca99(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x132d1d['show']({'id':'revisionSave','title':y(_0x2ac61a,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x568e27['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x132d1d['hide']()},{'label':y(_0x568e27['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1ffba5){_0x1ffba5['bind']('isEnabled')['to'](_0x4f318d,'isReady',_0x4f318d,'isEnabled',_0x568e27,'isReadOnly',(_0x375c84,_0x9f3401,_0x343e85)=>_0x375c84&&_0x9f3401&&!_0x343e85);},'onExecute':()=>_0x40ca99(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x413a5b=this['editor'],_0x5e3498=_0x413a5b['locale'];this['_saveRevisionFormView']=new ns(_0x5e3498,_0x413a5b['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xe63f62{['changeId'];['_model'];constructor(_0x415eb1,_0x4d4b0d){super(_0x415eb1),this['_model']=_0x4d4b0d,this['changeId']=_0x4d4b0d['id'];const _0x3b31eb=this['bindTemplate'],_0x261fdd=y(_0x415eb1,_0x4d4b0d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4d4b0d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4d4b0d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3b31eb['to']('type',_0x499770=>'ck-revision-change__'+_0x499770)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x261fdd}]},{'text':'\x20'+_0x4d4b0d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x32d3c7(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1024ff){super(),this['id']=_0x1024ff['id']||_0x472022(),this['author']=_0x1024ff['author'],this['type']=_0x1024ff['type'],this['data']=_0x1024ff['data']||{},this['rootName']=_0x1024ff['rootName'],this['set']('createdAt',_0x1024ff['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(_0x1a3665,_0x25d88a){this['newRevisionId']=_0x1a3665,this['oldRevisionId']=_0x25d88a,this['changes']=new _0x417056();}['_setChanges'](_0x59c9c7){for(const _0x5649de of _0x59c9c7)this['changes']['add'](_0x5649de);}}const tt={'c':_0x41b8cd,'a':_0x34d9d0,'e':_0x9c91a9,'r':_0x3fce7c,'u':_0x258821};class d extends _0x1ffe89{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x504717,_0x1cf5c3,A];}constructor(_0x3fcc0d){super(_0x3fcc0d),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',(_0x128ba2,_0x3e08f0,_0x5f34e1)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4408a9=>{for(const _0x5d9ba1 of this['editor']['editing']['view']['document']['roots'])_0x5f34e1?_0x4408a9['removeClass']('ck-editor__editable__overlay',_0x5d9ba1):_0x4408a9['addClass']('ck-editor__editable__overlay',_0x5d9ba1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x36b5f9=>null!==_0x36b5f9),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x223cb1,_0x5c7118,_0x51a89f)=>_0x223cb1&&_0x51a89f?_0x5c7118['changes']['getIndex'](_0x51a89f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1a109c,_0x1a6e5e)=>_0x1a109c?_0x1a6e5e['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1cf5c3);}['init'](){const _0x4df115=this['editor'],_0x4f4610=new yt(_0x4df115,{'direction':'backward'}),_0xb6716a=new yt(_0x4df115,{'direction':'forward'});(_0x4df115['commands']['add']('showPreviousChange',_0x4f4610),_0x4df115['commands']['add']('showNextChange',_0xb6716a),_0x4df115['commands']['add']('restoreRevision',new bt(_0x4df115)),this['on']('change:numberOfChanges',()=>{_0x4f4610['refresh'](),_0xb6716a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4df115['enableReadOnlyMode']('revision-viewer'),_0x4df115['plugins']['has']('WidgetToolbarRepository'))&&_0x4df115['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5230df){await this['loadRevisionData'](_0x5230df);const _0x49b6c3={};for(const _0x47e693 in _0x5230df['diffData']){if(_0x5230df['diffData'][_0x47e693]['attachChange']&&!_0x5230df['diffData'][_0x47e693]['attachChange']['isAttached'])continue;const _0x2420e8=this['_removeRevisionMarkers'](JSON['parse'](_0x5230df['diffData'][_0x47e693]['insertions'])),_0x114a98=this['editor']['editing']['view']['document'],_0x45e7a7=new _0xf1ec6a(_0x114a98,_0x2420e8['map'](_0x38f0b9=>this['_getViewObj'](_0x38f0b9)));this['editor']['data']['processor']['useFillerType']('marked'),_0x49b6c3[_0x47e693]=this['editor']['data']['processor']['toData'](_0x45e7a7),this['editor']['data']['processor']['useFillerType']('default');}return _0x49b6c3;}async['getRevisionRootsAttributes'](_0x197bda){await this['loadRevisionData'](_0x197bda);const _0x43b05f={};for(const _0x45ac95 in _0x197bda['diffData'])_0x197bda['diffData'][_0x45ac95]['attachChange']&&!_0x197bda['diffData'][_0x45ac95]['attachChange']['isAttached']||(_0x43b05f[_0x45ac95]=_0x197bda['diffData'][_0x45ac95]['attributesAfter']||{});return _0x43b05f;}['_removeRevisionMarkers'](_0x5d252a){return(_0x5d252a=_0x5d252a['filter'](_0xc517e2=>!_0xc517e2['name']||'revision-start'!==_0xc517e2['name']&&'revision-end'!==_0xc517e2['name']))['forEach'](_0x48fb6e=>{'string'!=typeof _0x48fb6e&&(_0x48fb6e['children']=this['_removeRevisionMarkers'](_0x48fb6e['children']),_0x48fb6e['attributes']=_0x48fb6e['attributes']['filter'](_0x456b1a=>!_0x456b1a[0x0]['startsWith']('data-revision-')));}),_0x5d252a;}async['compare'](_0x436d5a,_0x3af274,_0x461b5e=!0x1){if(!this['isEnabled'])return;const _0x1cf348=this['diff'],_0x5c126c=this['repository'],_0x402df3='string'==typeof _0x436d5a?_0x5c126c['getRevision'](_0x436d5a):_0x436d5a,_0x15ee73='string'==typeof _0x3af274?_0x5c126c['getRevision'](_0x3af274):_0x3af274,_0x375fb4=_0x402df3['id'],_0x474af3=_0x15ee73?_0x15ee73['id']:null;if(!_0x461b5e&&this['diff']&&this['diff']['newRevisionId']===_0x375fb4&&this['diff']['oldRevisionId']===_0x474af3)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x375fb4,_0x474af3);const _0x338215=this['_getRevisionsRange'](_0x402df3,_0x15ee73,!0x0)['map'](_0x4840cc=>this['loadRevisionData'](_0x4840cc));return _0x338215['push'](new Promise(_0x1dccf2=>{setTimeout(_0x1dccf2,0x14);})),Promise['all'](_0x338215)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x333555=this['_getDiff'](_0x375fb4,_0x474af3);for(const _0x5af88e of _0x333555['changes'])this['_changeIdToChange']['set'](_0x5af88e['id'],_0x5af88e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x524703=>{for(const _0x10f941 of this['editor']['model']['document']['getRootNames']())_0x524703['detachRoot'](_0x10f941);for(const _0x4797b1 of Object['keys'](_0x333555['model'])){const _0x4b4696=_0x524703['addRoot'](_0x4797b1);for(const _0x5df182 of Object['keys'](_0x333555['attributes'][_0x4797b1]))_0x524703['setAttribute'](_0x5df182,_0x333555['attributes'][_0x4797b1][_0x5df182],_0x4b4696);_0x524703['insert'](_0x333555['model'][_0x4797b1],_0x4b4696,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x333555['changes'])),this['isReady']=!0x0;})['catch'](_0x302f79=>{console['error'](_0x302f79),this['_cleanUp'](),_0x1cf348&&(this['diff']=_0x1cf348),this['isReady']=!0x0;});}['addRevisionData'](_0x17f0b8,_0x40560d){const _0x310484=this['repository']['createRevision'](_0x17f0b8);return _0x310484['on']('_update',(_0x1a1410,_0x5c5257,_0xa73c3d)=>_0x40560d(_0x5c5257,_0xa73c3d,_0x310484)),this['repository']['addRevision'](_0x310484),_0x310484;}['loadRevisionData'](_0xc51037){if(!_0xc51037||_0xc51037['diffData'])return Promise['resolve']();{const _0xd62841=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xd62841,'revisionId':_0xc51037['id']})['then'](_0xa2a6f3=>{_0xc51037['_update']({'diffData':_0xa2a6f3['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},_0x2564d4=>{for(const _0x2a5735 of this['editor']['model']['document']['getRootNames']())_0x2564d4['detachRoot'](_0x2a5735);});}['_sortAndFilterDiffChanges'](_0x419f2a){const _0x2c8262=[],_0x116c29=new Map();for(const _0x320a6b of this['editor']['model']['document']['getRootNames']()){const _0x290a32=this['editor']['editing']['view']['getDomRoot'](_0x320a6b);if(!_0x290a32)continue;const _0x332f8d=_0x290a32['getClientRects']()['item'](0x0);_0x332f8d&&(_0x2c8262['push'](_0x320a6b),_0x116c29['set'](_0x320a6b,_0x332f8d));}return _0x2c8262['sort']((_0x3cbd51,_0x993099)=>{const _0xdc4466=_0x116c29['get'](_0x3cbd51),_0x5381d4=_0x116c29['get'](_0x993099);return _0xdc4466['y']-_0x5381d4['y']||_0xdc4466['x']-_0x5381d4['x'];}),(_0x419f2a=_0x419f2a['filter'](_0x1d103b=>_0x2c8262['includes'](_0x1d103b['rootName'])))['sort']((_0x689745,_0x7a855)=>_0x2c8262['indexOf'](_0x689745['rootName'])-_0x2c8262['indexOf'](_0x7a855['rootName'])),_0x419f2a;}['_makeTape'](_0x5b1457){const _0x216fbb=Array['from'](_0x5b1457['markers'])['filter'](([_0x27dddf,_0xa69ede])=>_0x27dddf['startsWith']('revision:')&&!_0xa69ede['isCollapsed']),_0x4b2477=Array['from'](this['editor']['model']['createRangeIn'](_0x5b1457)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x216fbb['length'])for(const _0x362171 of _0x4b2477){const [_0x3481d9,_0x40c9c2]=_0x216fbb[0x0],[,_0x122ff7,_0x4d2382]=_0x3481d9['split'](':');if(_0x40c9c2['end']['isEqual'](_0x362171['nextPosition'])&&_0x216fbb['shift'](),(_0x362171['previousPosition']['isEqual'](_0x40c9c2['start'])||_0x362171['previousPosition']['isAfter'](_0x40c9c2['start']))&&('insertion'==_0x122ff7?_0x362171['isAdded']={'userId':_0x4d2382}:'deletion'==_0x122ff7&&(_0x362171['isRemoved']={'userId':_0x4d2382})),0x0==_0x216fbb['length'])break;}return _0x4b2477;}['_refreshStartEndIndex'](_0x3b60fb){const _0x4f6fc6=new Map();for(let _0xac711e=0x0;_0xac711e<_0x3b60fb['length'];_0xac711e++)'text'===_0x3b60fb[_0xac711e]['type']?(_0x3b60fb[_0xac711e]['item']['startIndex']=_0xac711e,_0x3b60fb[_0xac711e]['item']['endIndex']=_0xac711e):('elementStart'===_0x3b60fb[_0xac711e]['type']?_0x3b60fb[_0xac711e]['item']['startIndex']=_0xac711e:'elementEnd'===_0x3b60fb[_0xac711e]['type']&&(_0x3b60fb[_0xac711e]['item']['endIndex']=_0xac711e),_0x4f6fc6['set'](_0x3b60fb[_0xac711e]['id'],_0xac711e));for(const _0x5f48ca of _0x4f6fc6['values']())'elementStart'===_0x3b60fb[_0x5f48ca]['type']?_0x3b60fb[_0x5f48ca]['item']['endIndex']=_0x4f6fc6['get'](_0x3b60fb[_0x5f48ca]['pairId']):'elementEnd'===_0x3b60fb[_0x5f48ca]['type']&&(_0x3b60fb[_0x5f48ca]['item']['startIndex']=_0x4f6fc6['get'](_0x3b60fb[_0x5f48ca]['pairId']));}['_processTape'](_0x3c6bec){for(let _0x1e9148=0x0;_0x1e9148<_0x3c6bec['length'];_0x1e9148++){if('elementStart'===_0x3c6bec[_0x1e9148]['type'])_0x3c6bec[_0x1e9148]['item']['startIndex']=_0x1e9148;else{if('elementEnd'===_0x3c6bec[_0x1e9148]['type']){_0x3c6bec[_0x1e9148]['item']['endIndex']=_0x1e9148;const _0x171f7b=_0x3c6bec[_0x1e9148]['item']['startIndex'];_0x3c6bec[_0x171f7b]['pairId']=_0x3c6bec[_0x1e9148]['id'],_0x3c6bec[_0x1e9148]['pairId']=_0x3c6bec[_0x171f7b]['id'];}else _0x3c6bec[_0x1e9148]['item']['startIndex']=_0x1e9148,_0x3c6bec[_0x1e9148]['item']['endIndex']=_0x1e9148,_0x3c6bec[_0x1e9148]['pairId']=null;}_0x3c6bec[_0x1e9148]['markersStart']||(_0x3c6bec[_0x1e9148]['markersStart']=[],_0x3c6bec[_0x1e9148]['markersEnd']=[]);}}['_markInsertions'](_0x73c76c,_0x23fe42){const _0x51a602=_0x73c76c['filter'](_0x4ebc19=>!_0x4ebc19['isAdded']);for(let _0x5bc21a=0x0;_0x5bc21a<_0x23fe42['length'];_0x5bc21a++)_0x23fe42[_0x5bc21a]['isAdded']&&(_0x51a602[_0x5bc21a]['isAdded']=_0x23fe42[_0x5bc21a]['isAdded']);}['_makeModelFromViewString'](_0xefc35){const _0x4ea6d4=JSON['parse'](_0xefc35),_0x1085ef=this['editor']['editing']['view']['document'],_0x8e24ed=new _0xf1ec6a(_0x1085ef,_0x4ea6d4['map'](_0x5c0db5=>this['_getViewObj'](_0x5c0db5)));return this['editor']['data']['toModel'](_0x8e24ed);}['_getViewObj'](_0x16432e){const _0x30ab3f=this['editor']['editing']['view']['document'];if('string'==typeof _0x16432e)return new _0xf2a973(_0x30ab3f,_0x16432e);{const _0x1efb49=_0x16432e['children']['map'](_0x10b1be=>this['_getViewObj'](_0x10b1be));return new(tt[_0x16432e['type']]||_0x49375d)(_0x30ab3f,_0x16432e['name'],_0x16432e['attributes'],_0x1efb49);}}['_getDiff'](_0xdc8f43,_0x3b23a9=null){const _0x45c4a6=this['repository']['getRevision'](_0xdc8f43),_0x5cefe7=_0x3b23a9?this['repository']['getRevision'](_0x3b23a9):null,_0x2d7ad2=this['_getRevisionsRange'](_0x45c4a6,_0x5cefe7),_0x3ef84c=_0x2d7ad2[_0x2d7ad2['length']-0x1],_0x59b613=new Map(),_0x1784bc={'model':{},'attributes':{},'changes':[]},_0x4fa526=new Set(),_0x39a17c=new Map();for(let _0x3f488b=_0x2d7ad2['length']-0x1;_0x3f488b>=0x0;_0x3f488b--){const _0x4f90be=_0x2d7ad2[_0x3f488b];for(const _0x1ea39e of Object['keys'](_0x4f90be['diffData']))if(_0x4f90be['diffData'][_0x1ea39e]['attachChange']){const _0x527ca7=_0x4f90be['diffData'][_0x1ea39e]['attachChange'];_0x527ca7['isAttached']?(_0x4fa526['add'](_0x1ea39e),_0x39a17c['has'](_0x1ea39e)&&_0x39a17c['get'](_0x1ea39e)['userId']==_0x527ca7['userId']?_0x39a17c['delete'](_0x1ea39e):_0x39a17c['set'](_0x1ea39e,_0x527ca7)):_0x39a17c['has'](_0x1ea39e)?(_0x4fa526['delete'](_0x1ea39e),_0x39a17c['delete'](_0x1ea39e)):(_0x4fa526['add'](_0x1ea39e),_0x39a17c['set'](_0x1ea39e,_0x527ca7));}else _0x4fa526['add'](_0x1ea39e);}for(const _0x1f1ed9 of _0x4fa526){const _0x1f34fb=_0x39a17c['has'](_0x1f1ed9)&&!_0x39a17c['get'](_0x1f1ed9)['isAttached'];let _0x482c80=_0x1f34fb?_0x2d7ad2['length']-0x1:0x0;const _0x1dede7=_0x1f34fb?-0x1:0x1;for(;_0x2d7ad2[_0x482c80];){const _0x5334f7=_0x2d7ad2[_0x482c80];if(_0x5334f7['diffData'][_0x1f1ed9]){const _0x215113=_0x1f34fb?_0x5334f7['diffData'][_0x1f1ed9]['attributesBefore']:_0x5334f7['diffData'][_0x1f1ed9]['attributesAfter'];_0x1784bc['attributes'][_0x1f1ed9]=_0x215113?_0x1ced1e(_0x215113):{};break;}_0x482c80+=_0x1dede7;}}for(const _0x48fe10 of _0x2d7ad2){_0x48fe10['model']={};for(const _0x335366 of _0x48fe10['authors'])_0x59b613['set'](_0x335366['id'],_0x335366);for(const _0x1b2962 of _0x4fa526){const _0x1819cd=_0x48fe10['diffData'][_0x1b2962]?_0x48fe10['diffData'][_0x1b2962]['insertions']:'[]',_0x52c553=_0x48fe10['diffData'][_0x1b2962]?_0x48fe10['diffData'][_0x1b2962]['deletions']:'[]';_0x48fe10['model'][_0x1b2962]={'insertions':this['_makeModelFromViewString'](_0x1819cd),'deletions':this['_makeModelFromViewString'](_0x52c553)};}}for(const _0x243128 of _0x4fa526){let _0x130646=null,_0xf491e1=0x0;const _0x2c8df5=new Map(Array['from'](_0x45c4a6['model'][_0x243128]['insertions']['markers'])['filter'](([_0x48c649])=>!_0x48c649['startsWith']('revision:')));let _0x179219=0x0;for(const _0x21b6a3 of _0x2d7ad2){const _0x238aa3=this['_makeTape'](_0x21b6a3['model'][_0x243128]['insertions']);_0x21b6a3==_0x45c4a6?(_0x130646=_0x238aa3,_0xf491e1=_0x130646['length'],_0x130646['forEach'](_0x149daf=>{_0x149daf['id']=_0x179219++;}),this['_processTape'](_0x130646)):this['_markInsertions'](_0x130646,_0x238aa3);const _0x5a9573=_0x130646['filter'](_0x51f862=>!_0x51f862['isAdded'])['map'](_0x4d4637=>_0x4d4637['id']);let _0x3ff313=0x0;const _0x19f742=this['_makeTape'](_0x21b6a3['model'][_0x243128]['deletions']);_0x19f742['forEach'](_0x3ddb37=>{_0x3ddb37['isRemoved']?_0x3ddb37['id']=_0xf491e1++:_0x3ddb37['id']=_0x5a9573[_0x3ff313++];}),this['_processTape'](_0x19f742),this['_setDistance'](_0x130646,'isAdded'),this['_setDistance'](_0x19f742,'isRemoved'),_0x21b6a3==_0x45c4a6&&this['_markMarkers'](_0x130646,_0x2c8df5),_0x130646=this['_joinTapes'](_0x130646,_0x19f742),this['_refreshStartEndIndex'](_0x130646),this['_setDistance'](_0x130646,'isRemoved');}_0x130646=_0x130646['filter'](_0x1f03ed=>!(_0x1f03ed['isAdded']&&_0x1f03ed['isRemoved']));const _0x1918fb=new Map(_0x3ef84c['model'][_0x243128]['deletions']['markers']),_0x5a3749=new Set(_0x2c8df5['keys']());for(const _0x217dad of _0x1918fb['keys']())_0x5a3749['delete'](_0x217dad);this['_markSuggestions'](_0x130646,_0x5a3749),this['_fixObsoleteTags'](_0x130646),_0x130646=this['_removeMissingPairs'](_0x130646),_0x130646=this['_markMismatchedRemovedTags'](_0x130646),_0x130646=this['_removeUnsupportedChanges'](_0x130646);const {root:_0xc6a586,changes:_0x1a8266}=this['_makeModelFromTape'](_0x130646,_0x59b613,_0x243128);_0x1784bc['model'][_0x243128]=_0xc6a586;const _0x336e2d=_0x39a17c['get'](_0x243128);if(_0x336e2d){const _0x566cac=_0x59b613['get'](_0x336e2d['userId']),_0x30736a=new r({'author':_0x566cac,'type':_0x336e2d['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x243128});_0x1a8266['unshift'](_0x30736a),_0x1784bc['attributes'][_0x243128]['revisionHistoryAttachChange']=_0x30736a['id'];}_0x1784bc['changes']=_0x1784bc['changes']['concat'](_0x1a8266);}return _0x1784bc;}['_markMarkers'](_0x14db5c,_0x3b8f6a){for(let _0x281b18=0x0;_0x281b18<_0x14db5c['length'];_0x281b18++)for(const [_0x40d7ed,_0x309895]of _0x3b8f6a)_0x309895['start']['isEqual'](_0x14db5c[_0x281b18]['previousPosition'])&&_0x14db5c[_0x281b18]['markersStart']['push'](_0x40d7ed),_0x309895['end']['isEqual'](_0x14db5c[_0x281b18]['nextPosition'])&&_0x14db5c[_0x281b18]['markersEnd']['push'](_0x40d7ed);}['_joinTapes'](_0x1fd70d,_0x291286){let _0x4e5f5d=[],_0x44a59c=0x0,_0x4b54fd=0x0;for(;_0x44a59c<_0x1fd70d['length']||_0x4b54fd<_0x291286['length'];){const _0xee4592=_0x1fd70d[_0x44a59c]||{},_0x13f56c=_0x291286[_0x4b54fd]||{};if(_0xee4592['id']==_0x13f56c['id'])_0x44a59c++,_0x4b54fd++,_0x4e5f5d['push'](_0xee4592);else{if(_0x13f56c['isRemoved']&&_0xee4592['isAdded']){const {commonTape:_0x4c3c09,iEnd:_0x42d4d7,jEnd:_0x21b0fe}=this['_threeWayMerge'](_0x1fd70d,_0x44a59c,_0x291286,_0x4b54fd);_0x4e5f5d=_0x4e5f5d['concat'](_0x4c3c09),_0x44a59c=_0x42d4d7,_0x4b54fd=_0x21b0fe;}else _0x13f56c['isRemoved']?(_0x4b54fd++,_0x4e5f5d['push'](_0x13f56c)):(_0x44a59c++,_0x4e5f5d['push'](_0xee4592));}}return _0x4e5f5d;}['_markSuggestions'](_0x2966b6,_0x71604c){const _0x44af21=[];for(let _0x22ea7f=0x0;_0x22ea7f<_0x2966b6['length'];_0x22ea7f++){for(let _0x239acf=0x0;_0x239acf<_0x2966b6[_0x22ea7f]['markersStart']['length'];_0x239acf++){const _0x2d9519=_0x2966b6[_0x22ea7f]['markersStart'][_0x239acf];if(!_0x71604c['has'](_0x2d9519))continue;const {group:_0x130e15,type:_0x29c7c2,authorId:_0x1a1715}=_0xa106f0(_0x2d9519);'revision-suggestion'!=_0x130e15||'insertion'!=_0x29c7c2&&'deletion'!=_0x29c7c2||(_0x44af21['unshift']({'type':_0x29c7c2,'name':_0x2d9519,'userId':_0x1a1715}),_0x2966b6[_0x22ea7f]['markersStart']['splice'](_0x239acf,0x1),_0x239acf--);}_0x2ad422(_0x2966b6[_0x22ea7f]);for(let _0x34a1bd=0x0;_0x34a1bd<_0x2966b6[_0x22ea7f]['markersEnd']['length'];_0x34a1bd++){const _0x100130=_0x2966b6[_0x22ea7f]['markersEnd'][_0x34a1bd];if(!_0x71604c['has'](_0x100130))continue;const {group:_0x5ac70e,type:_0x1148eb}=_0xa106f0(_0x100130);if('revision-suggestion'!=_0x5ac70e||'insertion'!=_0x1148eb&&'deletion'!=_0x1148eb)continue;_0x2966b6[_0x22ea7f]['markersEnd']['splice'](_0x34a1bd,0x1),_0x34a1bd--;const _0x3f6bcc=_0x44af21['findIndex'](_0x35e91f=>_0x35e91f['name']==_0x100130);_0x3f6bcc>-0x1&&_0x44af21['splice'](_0x3f6bcc,0x1);}}function _0xa106f0(_0x4022bd){const _0x5df943=_0x4022bd['split'](':');return{'group':_0x5df943[0x0],'type':_0x5df943[0x1],'subType':_0x5df943['length']>=0x5?_0x5df943[0x2]:null,'id':_0x5df943['length']<0x5?_0x5df943[0x2]:_0x5df943[0x3],'authorId':_0x5df943['length']<0x5?_0x5df943[0x3]:_0x5df943[0x4],'markerCount':0x6==_0x5df943['length']?_0x5df943[0x5]:null};}function _0x2ad422(_0x59b8d6){for(let _0x4f1f84=0x0;_0x4f1f84<_0x44af21['length'];_0x4f1f84++){if(_0x59b8d6['isAdded']&&'insertion'==_0x44af21[_0x4f1f84]['type'])return _0x59b8d6['isAddSuggestion']=_0x44af21[_0x4f1f84],void delete _0x59b8d6['isAdded'];if(!_0x59b8d6['isAdded']&&!_0x59b8d6['isRemoved']&&'deletion'==_0x44af21[_0x4f1f84]['type'])return void(_0x59b8d6['isRemoveSuggestion']=_0x44af21[_0x4f1f84]);}}}['_setDistance'](_0x29c434,_0x504414){let _0x56380e=0x0,_0x35ee0a=!0x1;const _0x335a9f=new Map();for(const _0xe3be54 of _0x29c434)_0xe3be54[_0x504414]?_0x35ee0a&&(_0x56380e++,_0x35ee0a=!0x1):(_0x56380e++,_0x35ee0a=!0x0),_0x335a9f['set'](_0xe3be54['id'],_0x56380e);for(let _0x27659c=0x0;_0x27659c<_0x29c434['length'];_0x27659c++){if('isRemoved'==_0x504414&&_0x29c434[_0x27659c]['isAdded']||'isAdded'==_0x504414&&_0x29c434[_0x27659c]['isRemoved'])continue;if('text'==_0x29c434[_0x27659c]['type']){_0x29c434[_0x27659c]['distance']=0x0;continue;}const _0x4b6ec7=_0x335a9f['get'](_0x29c434[_0x27659c]['pairId']),_0x5340ec=_0x335a9f['get'](_0x29c434[_0x27659c]['id']);_0x29c434[_0x27659c]['distance']=_0x4b6ec7-_0x5340ec;}}['_getRevisionsRange'](_0x4c030a,_0x3a2579,_0x44580c=!0x1){const _0x562662=[];let _0x498b80=this['repository']['getIndex'](_0x4c030a),_0x40784a=this['repository']['getIndex'](_0x3a2579);for(-0x1==_0x40784a&&(_0x40784a=this['repository']['_revisions']['length'],_0x44580c=!0x1);_0x498b80<_0x40784a;)_0x562662['push'](this['repository']['getRevision'](_0x498b80)),_0x498b80++;return _0x44580c&&_0x562662['push'](this['repository']['getRevision'](_0x498b80)),_0x562662;}['_threeWayMerge'](_0x52c73a,_0x5f0a97,_0x3c8e4a,_0x54a927){const _0x15b79c=this['editor']['model']['schema'];let _0x5dcdba=_0x5f0a97;for(;_0x52c73a[_0x5dcdba]&&_0x52c73a[_0x5dcdba]['isAdded'];)_0x5dcdba++;let _0x2c9ff3=_0x54a927;for(;_0x3c8e4a[_0x2c9ff3]&&_0x3c8e4a[_0x2c9ff3]['isRemoved'];)_0x2c9ff3++;_0x223f8a(_0x52c73a,_0x5f0a97,_0x5dcdba),_0x223f8a(_0x3c8e4a,_0x54a927,_0x2c9ff3);const _0x58beef=_0x3c8e4a['slice'](_0x54a927,_0x2c9ff3)['concat'](_0x52c73a['slice'](_0x5f0a97,_0x5dcdba));return _0x58beef['sort']((_0x24b98a,_0x1f9272)=>_0x24b98a['side']!=_0x1f9272['side']?_0x24b98a['side']-_0x1f9272['side']:_0x24b98a['level']!=_0x1f9272['level']?_0x24b98a['level']-_0x1f9272['level']:_0x24b98a['distance']!=_0x1f9272['distance']?_0x1f9272['distance']-_0x24b98a['distance']:!!_0x24b98a['isAdded']!=!!_0x1f9272['isAdded']?-0x1==_0x24b98a['side']||0x0==_0x24b98a['side']?_0x24b98a['isAdded']?-0x1:0x1:_0x24b98a['isAdded']?0x1:-0x1:_0x24b98a['index']-_0x1f9272['index']),{'commonTape':_0x58beef,'iEnd':_0x5dcdba,'jEnd':_0x2c9ff3};function _0x223f8a(_0x3b1aa4,_0x12e327,_0x10ff81){let _0x354151=-0x1,_0x53bd0b=Number['POSITIVE_INFINITY'],_0x1b15cd=!0x0;for(let _0x10a7ff=_0x12e327;_0x10a7ff<_0x10ff81;_0x10a7ff++)if(_0x15b79c['isInline'](_0x3b1aa4[_0x10a7ff]['item'])||(_0x1b15cd=!0x1),_0x3b1aa4[_0x10a7ff]['item']['startIndex']<_0x12e327&&(_0x354151=_0x10a7ff),_0x3b1aa4[_0x10a7ff]['item']['endIndex']>=_0x10ff81){_0x53bd0b=_0x10a7ff;break;}_0x1b15cd&&(_0x354151=_0x10ff81-0x1);for(let _0x431224=_0x12e327;_0x431224<_0x10ff81;_0x431224++)_0x3b1aa4[_0x431224]['side']=_0x431224<=_0x354151?-0x1:_0x431224<_0x53bd0b?0x0:0x1,_0x3b1aa4[_0x431224]['index']=_0x431224;let _0x2cd993=0x0;for(let _0x49cddf=_0x12e327;_0x49cddf<=_0x354151;_0x49cddf++)0x0==_0x3b1aa4[_0x49cddf]['distance']?_0x3b1aa4[_0x49cddf]['level']=_0x2cd993:(_0x2cd993++,_0x3b1aa4[_0x49cddf]['level']=_0x2cd993,_0x2cd993++);for(let _0x3fdc85=_0x12e327;_0x3fdc85<_0x10ff81;_0x3fdc85++)0x0==_0x3b1aa4[_0x3fdc85]['side']&&(_0x3b1aa4[_0x3fdc85]['level']=_0x2cd993);_0x2cd993=0x0;for(let _0x4cffdd=_0x10ff81-0x1;_0x4cffdd>=_0x53bd0b;_0x4cffdd--)0x0==_0x3b1aa4[_0x4cffdd]['distance']?_0x3b1aa4[_0x4cffdd]['level']=_0x2cd993:(_0x2cd993--,_0x3b1aa4[_0x4cffdd]['level']=_0x2cd993,_0x2cd993--);}}['_fixObsoleteTags'](_0x25070d){const _0x3033fa=new Map(),_0x508946=this['editor']['model']['schema'];for(let _0x4292a7=0x1;_0x4292a7<_0x25070d['length'];_0x4292a7++){let _0x532788,_0x10e168,_0x51188d;const _0x55907b=_0x25070d[_0x4292a7],_0x50ef34=_0x25070d[_0x4292a7-0x1];if('text'==_0x55907b['type'])continue;if(_0x55907b['type']!=_0x50ef34['type'])continue;if(!_0x508946['isBlock'](_0x50ef34['item'])||_0x508946['isLimit'](_0x50ef34['item']))continue;if(!_0x508946['isBlock'](_0x55907b['item'])||_0x508946['isLimit'](_0x55907b['item']))continue;if((_0x25070d[_0x4292a7]['isAdded']||_0x25070d[_0x4292a7]['isAddSuggestion'])&&_0x25070d[_0x4292a7-0x1]['isRemoved'])_0x532788=_0x25070d[_0x4292a7],_0x10e168=_0x25070d[_0x4292a7-0x1],_0x51188d=_0x4292a7-0x1;else{if(!_0x25070d[_0x4292a7]['isRemoved']||!_0x25070d[_0x4292a7-0x1]['isAdded']&&!_0x25070d[_0x4292a7-0x1]['isAddSuggestion'])continue;_0x532788=_0x25070d[_0x4292a7-0x1],_0x10e168=_0x25070d[_0x4292a7],_0x51188d=_0x4292a7;}const _0x2c32e8=_0x532788['level']==_0x10e168['level'],_0x225c7b=Math['abs'](_0x532788['level'])<Math['abs'](_0x10e168['level'])&&0x0==_0x10e168['distance'];(_0x2c32e8||_0x225c7b)&&(_0x3033fa['set'](_0x10e168['id'],_0x532788['id']),_0x25070d['splice'](_0x51188d,0x1),_0x4292a7--,_0x532788['isAdded']=!0x1);}for(let _0x2ea2d7=0x0;_0x2ea2d7<_0x25070d['length'];_0x2ea2d7++)_0x3033fa['has'](_0x25070d[_0x2ea2d7]['pairId'])&&(_0x25070d[_0x2ea2d7]['pairId']=_0x3033fa['get'](_0x25070d[_0x2ea2d7]['pairId']));}['_removeMissingPairs'](_0x1ccb93){const _0x5bde3a=new Set(_0x1ccb93['map'](_0x2e77cc=>_0x2e77cc['id']));for(let _0x35aee4=0x0;_0x35aee4<_0x1ccb93['length'];_0x35aee4++)_0x5bde3a['has'](_0x1ccb93[_0x35aee4]['pairId'])||0x0==_0x1ccb93[_0x35aee4]['distance']||(_0x1ccb93[_0x35aee4]['isIncorrect']=!0x0);return _0x1ccb93['filter'](_0x3c9a3a=>!_0x3c9a3a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x373da6){const _0x18228c=new Set();for(let _0x4ca02f=0x0;_0x4ca02f<_0x373da6['length'];_0x4ca02f++){if(_0x18228c['has'](_0x373da6[_0x4ca02f]['id'])&&_0x373da6[_0x4ca02f]['isRemoved']&&(_0x373da6[_0x4ca02f]['isIncorrect']=!0x0),_0x373da6[_0x4ca02f]['isIncorrect'])continue;if(0x0==_0x373da6[_0x4ca02f]['distance'])continue;if('elementStart'!=_0x373da6[_0x4ca02f]['type'])continue;if(null==_0x373da6[_0x4ca02f]['pairId'])continue;let _0x1c1543=_0x4ca02f+0x1,_0x2f8fd3=0x0;for(;_0x373da6[_0x1c1543]['id']!=_0x373da6[_0x4ca02f]['pairId'];)'elementStart'==_0x373da6[_0x1c1543]['type']?_0x2f8fd3++:'elementEnd'==_0x373da6[_0x1c1543]['type']&&_0x2f8fd3--,_0x1c1543++;if(0x0!=_0x2f8fd3){if(_0x373da6[_0x4ca02f]['isRemoved'])_0x373da6[_0x4ca02f]['isIncorrect']=!0x0;else{for(;_0x1c1543!=_0x4ca02f;)_0x373da6[_0x1c1543]['isRemoved']&&0x0!=_0x373da6[_0x1c1543]['distance']&&(_0x373da6[_0x1c1543]['isIncorrect']=!0x0,_0x18228c['add'](_0x373da6[_0x1c1543]['pairId'])),_0x1c1543--;}}}return _0x373da6['filter'](_0x288b18=>!_0x288b18['isIncorrect']);}['_removeUnsupportedChanges'](_0x5e22ca){const _0x17339a=this['editor']['model']['schema'];for(let _0x17d16d=0x0;_0x17d16d<_0x5e22ca['length'];_0x17d16d++){if(!(_0x5e22ca[_0x17d16d]['isAdded']||_0x5e22ca[_0x17d16d]['isAddSuggestion']||_0x5e22ca[_0x17d16d]['isRemoved']||_0x5e22ca[_0x17d16d]['isRemoveSuggestion']))continue;if(0x0==_0x5e22ca[_0x17d16d]['distance'])continue;const _0x78d416=_0x5e22ca[_0x17d16d]['item'];_0x17339a['isBlock'](_0x78d416)||_0x17339a['isLimit'](_0x78d416)||(_0x5e22ca[_0x17d16d]['isAdded']&&delete _0x5e22ca[_0x17d16d]['isAdded'],_0x5e22ca[_0x17d16d]['isAddSuggestion']&&delete _0x5e22ca[_0x17d16d]['isAddSuggestion'],_0x5e22ca[_0x17d16d]['isRemoveSuggestion']&&delete _0x5e22ca[_0x17d16d]['isRemoveSuggestion'],_0x5e22ca[_0x17d16d]['isRemoved']&&(_0x5e22ca[_0x17d16d]['isIncorrect']=!0x0));}return _0x5e22ca['filter'](_0xcb22c4=>!_0xcb22c4['isIncorrect']);}['_makeModelFromTape'](_0xeb54ac,_0x6459fc,_0x1ff5ef){const _0x2b5437=new wt(),_0x41bd47=[],_0x18ac5f=new Map(),_0x213d6b=this['editor']['model'],_0x58ddf9=_0x213d6b['schema'],_0x18334a=[_0x2b5437],_0x498d89={},_0x5138b={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5e1889=null;const _0x5b44bb=[0x0];for(let _0x10a458=0x0;_0x10a458<_0xeb54ac['length'];_0x10a458++){let _0x77342e,_0x4d3e6f;if('elementStart'===_0xeb54ac[_0x10a458]['type']){_0x77342e=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb);const _0x22c3ec=new ft(_0xeb54ac[_0x10a458]['item']['name'],_0xeb54ac[_0x10a458]['item']['getAttributes']());_0x18334a[0x0]['_appendChild'](_0x22c3ec),_0x5b44bb['push'](0x0),_0x18334a['unshift'](_0x22c3ec),_0x4d3e6f=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5e1889=null;}else{if('elementEnd'===_0xeb54ac[_0x10a458]['type'])_0x18334a['shift'](),_0x77342e=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5b44bb['pop'](),_0x5b44bb[_0x5b44bb['length']-0x1]++,_0x4d3e6f=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5e1889=null;else{if(_0x77342e=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5e1889&&_0x6d1d8e(_0x5e1889,_0xeb54ac[_0x10a458]['item']))_0x5e1889['_data']+=_0xeb54ac[_0x10a458]['item']['data'];else{const _0x345cf0=new _t(_0xeb54ac[_0x10a458]['item']['data'],_0xeb54ac[_0x10a458]['item']['getAttributes']());_0x18334a[0x0]['_appendChild'](_0x345cf0),_0x5e1889=_0x345cf0;}_0x5b44bb[_0x5b44bb['length']-0x1]+=_0xeb54ac[_0x10a458]['item']['offsetSize'],_0x4d3e6f=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb);}}for(const _0x2771fe of _0xeb54ac[_0x10a458]['markersStart'])_0x18ac5f['set'](_0x2771fe,{'start':_0x77342e,'end':null});_0x4b05a0('isRemoveSuggestion',_0x10a458,_0x77342e,_0x4d3e6f),_0x4b05a0('isAddSuggestion',_0x10a458,_0x77342e,_0x4d3e6f),_0x4b05a0('isRemoved',_0x10a458,_0x77342e,_0x4d3e6f),_0x4b05a0('isAdded',_0x10a458,_0x77342e,_0x4d3e6f);for(const _0x348fc9 of _0xeb54ac[_0x10a458]['markersEnd']){_0x18ac5f['get'](_0x348fc9)['end']=_0x4d3e6f;}}for(const [_0x803fba,_0x21eb24]of _0x18ac5f){const _0x477ae6=this['editor']['model']['createRange'](_0x21eb24['start'],_0x21eb24['end']);_0x2b5437['markers']['set'](_0x803fba,_0x477ae6);}return _0x41bd47['sort']((_0x2b5405,_0x400c6e)=>{const _0x266097=_0x2b5437['markers']['get']('revision:'+_0x2b5405['id']),_0xbd9ade=_0x2b5437['markers']['get']('revision:'+_0x400c6e['id']);return _0x266097['start']['isBefore'](_0xbd9ade['start'])?-0x1:_0x266097['start']['isAfter'](_0xbd9ade['start'])?0x1:_0x266097['end']['isBefore'](_0xbd9ade['end'])?-0x1:_0x266097['end']['isAfter'](_0xbd9ade['end'])?0x1:'add'===_0x2b5405['type']?-0x1:0x1;}),{'root':_0x2b5437,'changes':_0x41bd47};function _0x4b05a0(_0x50ca77,_0x495ea0,_0x4ff2ab,_0x1a8ea1){const _0x4bc7f6=!!_0xeb54ac[_0x495ea0][_0x50ca77],_0x4a7a9c=_0x4bc7f6?_0xeb54ac[_0x495ea0][_0x50ca77]['userId']:null,_0x456bce=_0x495ea0===_0xeb54ac['length']-0x1,_0x4b929a=_0x5138b[_0x50ca77][0x0],_0x3f61e2=_0x58ddf9['isObject'](_0xeb54ac[_0x495ea0]['item']);!_0x498d89[_0x50ca77]&&_0x4bc7f6?_0x498d89[_0x50ca77]={'start':_0x4ff2ab,'tapeItem':_0xeb54ac[_0x495ea0],'userId':_0x4a7a9c,'type':_0x50ca77}:_0x498d89[_0x50ca77]&&!_0x4bc7f6?(_0x498d89[_0x50ca77]['end']=_0x4ff2ab,_0x367b45(_0x498d89[_0x50ca77]),_0x498d89[_0x50ca77]=null):_0x498d89[_0x50ca77]&&_0x4bc7f6&&_0x498d89[_0x50ca77]['userId']!==_0x4a7a9c&&(_0x498d89[_0x50ca77]['end']=_0x4ff2ab,_0x4b929a&&_0x4b929a['userId']===_0x498d89[_0x50ca77]['userId']||_0x367b45(_0x498d89[_0x50ca77]),_0x498d89[_0x50ca77]={'start':_0x4ff2ab,'tapeItem':_0xeb54ac[_0x495ea0],'userId':_0x4a7a9c,'type':_0x50ca77}),_0x498d89[_0x50ca77]&&_0x3f61e2&&('elementStart'!==_0xeb54ac[_0x495ea0]['type']||_0x4b929a&&_0x4b929a['userId']===_0x4a7a9c||_0x5138b[_0x50ca77]['unshift']({'userId':_0x4a7a9c,'object':_0xeb54ac[_0x495ea0]['item'],'change':_0x498d89[_0x50ca77]}),'elementEnd'===_0xeb54ac[_0x495ea0]['type']&&_0x4b929a&&_0x4b929a['object']===_0xeb54ac[_0x495ea0]['item']&&(_0x5138b[_0x50ca77]['shift'](),_0x498d89[_0x50ca77]=_0x4b929a['change'])),_0x498d89[_0x50ca77]&&_0x456bce&&(_0x498d89[_0x50ca77]['end']=_0x1a8ea1,_0x367b45(_0x498d89[_0x50ca77]),_0x498d89[_0x50ca77]=null);}function _0x367b45({start:_0x3a4451,end:_0x22c240,tapeItem:_0x4f933c,userId:_0x58d490,type:_0x2054f4}){const _0x39cd72=_0x4f933c['item'],_0x433272=_0x213d6b['schema']['isBlock'](_0x39cd72)&&!_0x213d6b['schema']['isLimit'](_0x39cd72),_0x553b24=_0x3a4451['nodeAfter']==_0x22c240['parent']&&_0x22c240['isAtStart'];if(_0x433272&&_0x553b24)return;const _0x2c37d4=_0x213d6b['createRange'](_0x3a4451,_0x22c240),_0x334386=_0x6459fc['get'](_0x58d490),_0xf3fbda=new r({'author':_0x334386,'type':'isAdded'==_0x2054f4||'isAddSuggestion'==_0x2054f4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2054f4||'isRemoveSuggestion'==_0x2054f4},'createdAt':new Date(),'rootName':_0x1ff5ef});_0x41bd47['push'](_0xf3fbda),_0x2b5437['markers']['set']('revision:'+_0xf3fbda['id'],_0x2c37d4);}function _0x6d1d8e(_0x2884b0,_0xb288e0){const _0x3d681f=_0x2884b0['getAttributes'](),_0x41cc16=_0xb288e0['getAttributes']();for(const _0x3c5942 of _0x3d681f){if(_0x3c5942[0x1]!==_0xb288e0['getAttribute'](_0x3c5942[0x0]))return!0x1;_0x41cc16['next']();}return _0x41cc16['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5e9ae1=>{const _0x4cac94=_0x5e9ae1['markerName']['split'](':')[0x1],_0x2bb7c5=this['_getChangeFromId'](_0x4cac94);if(!_0x2bb7c5)return null;const _0x1f29b5='add'==_0x2bb7c5['type']?'insertion':'deletion',_0x36f0ff=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1f29b5];return _0x2bb7c5['data']['isSuggestion']&&_0x36f0ff['push']('ck-suggestion-marker-'+_0x1f29b5+'-new'),this['activeChange']==_0x2bb7c5&&_0x36f0ff['push']('ck-suggestion-marker--active'),{'classes':_0x36f0ff,'attributes':{'data-change-id':_0x4cac94}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x56c1ef=>{_0x56c1ef['on']('element:pre',(_0x15d151,_0x3db807,_0x83ea46)=>{const _0x1573af=_0x3db807['viewItem']['getChild'](0x0);if(!_0x1573af||!_0x1573af['is']('element','code'))return;if(!_0x83ea46['consumable']['consume'](_0x1573af,{'attributes':['vid_start','vid_end']}))return;const _0x4b0e23=_0x3db807['modelRange']['start']['nodeAfter'];_0x83ea46['writer']['setAttribute']('vid_start',_0x1573af['getAttribute']('vid_start'),_0x4b0e23),_0x83ea46['writer']['setAttribute']('vid_end',_0x1573af['getAttribute']('vid_end'),_0x4b0e23);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4462e3=>{_0x4462e3['on']('element',(_0x2ada70,_0x3284a1,_0x2b5684)=>{if(!_0x2b5684['consumable']['consume'](_0x3284a1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3284a1['modelRange']['isCollapsed'])return;const _0x54f559=_0x3284a1['modelRange']['start']['nodeAfter'];_0x54f559['hasAttribute']('vid_start')||_0x54f559['hasAttribute']('vid')||(_0x2b5684['writer']['setAttribute']('vid_start',_0x3284a1['viewItem']['getAttribute']('vid_start'),_0x54f559),_0x2b5684['writer']['setAttribute']('vid_end',_0x3284a1['viewItem']['getAttribute']('vid_end'),_0x54f559));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x46f156=>_0x46f156['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x12745a,[,_0x19dc57])=>{['vid_start','vid_end','vid']['includes'](_0x19dc57)&&(_0x12745a['return']=!0x0,_0x12745a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4a9210=>{_0x4a9210['on']('attribute:vid',(_0x9b7d6f,_0x242237,_0x4b4eef)=>{if('\x20'!=_0x242237['item']['data']||_0x242237['item']['parent']['maxOffset']>0x1)return;if(!_0x4b4eef['consumable']['consume'](_0x242237['item'],_0x9b7d6f['name']))return;const _0x5b914b=_0x4b4eef['writer'],_0xfb330f=_0x4b4eef['mapper']['toViewRange'](_0x242237['range']);_0x5b914b['wrap'](_0xfb330f,_0x5b914b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x164079){const _0x59fe2e=_0x164079['plugins']['get']('RevisionViewer');return(_0x4907a7,_0x29fce8,_0x306dd5)=>{const _0x4b3759=_0x29fce8['markerName']['split'](':')[0x1],_0x12f5fb=_0x59fe2e['_getChangeFromId'](_0x4b3759);if(!_0x12f5fb)return null;const _0x59992d='add'==_0x12f5fb['type']?'split':'merge';if(!_0x306dd5['consumable']['test'](_0x29fce8['markerRange'],_0x4907a7['name']))return;const _0x3b261b=_0x29fce8['markerRange']['getWalker'](),_0x4f5142=_0x29fce8['markerRange']['start'],_0x22b719=_0x164079['model']['schema'];let _0x3fb8bc=null,_0x50cb78=null,_0x1abdd2=!0x1,_0x482486=!0x1;for(const _0x14cb9c of _0x3b261b){const _0x50e852=_0x14cb9c['item'];_0x1abdd2=_0x1abdd2||_0x22b719['isContent'](_0x50e852);const _0x236706=_0x306dd5['mapper']['toViewElement'](_0x50e852);if(_0x236706&&_0x236706['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x14cb9c['type']&&(_0x22b719['isBlock'](_0x50e852)&&!_0x22b719['isLimit'](_0x50e852)&&(_0x50e852['nextSibling']||_0x4f5142['isAtEnd']?_0x3fb8bc&&_0x3fb8bc['parent']==_0x50e852||(_0x3fb8bc=_0x50e852,_0x55861f(_0x14cb9c['previousPosition']),_0x482486=!0x0):_0x50cb78=_0x50cb78||_0x14cb9c['previousPosition']));}function _0x55861f(_0x24730b){const _0x2195ee=_0x306dd5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x59992d}),_0x259777=_0x306dd5['mapper']['toViewPosition'](_0x24730b);_0x12f5fb['data']['isSuggestion']&&_0x306dd5['writer']['addClass']('ck-suggestion-marker-'+_0x59992d+'-new',_0x2195ee),_0x59fe2e['activeChange']==_0x12f5fb&&_0x306dd5['writer']['addClass']('ck-suggestion-marker--active',_0x2195ee),_0x306dd5['writer']['insert'](_0x259777,_0x2195ee),_0x306dd5['mapper']['bindElementToMarker'](_0x2195ee,_0x29fce8['markerName']);}_0x1abdd2||_0x482486||!_0x50cb78||_0x55861f(_0x50cb78);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3c9b21,_0x1dccd9,_0x3a09f6)=>{const _0x54de43=_0x3a09f6['mapper']['markerNameToElements'](_0x1dccd9['markerName']);if(_0x54de43){for(const _0x3c8977 of _0x54de43)(_0x3c8977['hasClass']('ck-suggestion-marker-split')||_0x3c8977['hasClass']('ck-suggestion-marker-merge'))&&(_0x3a09f6['mapper']['unbindElementFromMarkerName'](_0x3c8977,_0x1dccd9['markerName']),_0x3a09f6['writer']['remove'](_0x3c8977));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3f3ff6,_0x56ccfa,_0x340017)=>{const _0x2da9fe=_0x56ccfa['markerName']['split'](':')[0x1],_0x4f4bd9=this['_getChangeFromId'](_0x2da9fe);if(!_0x4f4bd9)return null;const _0x476db0='add'==_0x4f4bd9['type']?'split':'merge';if(_0x340017['consumable']['test'](_0x56ccfa['markerRange'],_0x3f3ff6['name']))for(const _0x34046f of _0x56ccfa['markerRange']['getItems']()){if(!_0x34046f['is']('element','softBreak'))continue;const _0x421a45=_0x340017['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x476db0}),_0x54e596=_0x340017['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x34046f));_0x4f4bd9['data']['isSuggestion']&&_0x340017['writer']['addClass']('ck-suggestion-marker-'+_0x476db0+'-new',_0x421a45),this['activeChange']==_0x4f4bd9&&_0x340017['writer']['addClass']('ck-suggestion-marker--active',_0x421a45),_0x340017['writer']['insert'](_0x54e596,_0x421a45),_0x340017['mapper']['bindElementToMarker'](_0x421a45,_0x56ccfa['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x391e19=>{for(const _0x20c37a of this['editor']['model']['document']['getRootNames']()){const _0x516371=this['editor']['model']['document']['getRoot'](_0x20c37a),_0x3243bc=this['editor']['editing']['view']['document']['getRoot'](_0x20c37a);if(_0x3243bc){const _0x297978=_0x516371['getAttribute']('revisionHistoryAttachChange');if(_0x391e19['removeAttribute']('data-change-id',_0x3243bc),_0x391e19['removeClass']('ck-revision-history-root-add',_0x3243bc),_0x391e19['removeClass']('ck-revision-history-root-remove',_0x3243bc),_0x391e19['removeClass']('ck-revision-history-root--active',_0x3243bc),_0x297978){const _0x26e8ae=this['_getChangeFromId'](_0x297978);if(!_0x26e8ae)return null;_0x391e19['setAttribute']('data-change-id',_0x297978,_0x3243bc),_0x391e19['addClass']('ck-revision-history-root-'+_0x26e8ae['type'],_0x3243bc),this['activeChange']==_0x26e8ae&&_0x391e19['addClass']('ck-revision-history-root--active',_0x3243bc);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2a31ee=>'revision-comment:'+_0x2a31ee,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2b15b6=>'revision-suggestion:'+_0x2b15b6,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4be146=>({'name':'suggestion:'+_0x4be146,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xa3f13d=>{const _0x16268f=_0xa3f13d['markerName']['split'](':')[0x1];return'insertion'!=_0x16268f&&'deletion'!=_0x16268f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x16268f]};}}),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',(_0x1d98bd,_0xe4239a,_0x415466)=>{const _0x13ca65=_0x415466['mapper']['markerNameToElements'](_0xe4239a['markerName']);if(_0x13ca65){for(const _0x1c7c3e of _0x13ca65)_0x1c7c3e['is']('uiElement')&&(_0x415466['mapper']['unbindElementFromMarkerName'](_0x1c7c3e,_0xe4239a['markerName']),_0x415466['writer']['remove'](_0x1c7c3e));}},{'priority':'high'});}['_getChangeFromId'](_0x39d8b8){return this['_changeIdToChange']['get'](_0x39d8b8);}['_getViewForChange'](_0x4ed54c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x4ed54c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x48aede,_0x228eb8,_0x5a6c25,_0x12bdd8)=>{_0x12bdd8&&this['_balloon']['remove'](_0x12bdd8),_0x5a6c25&&(this['_balloon']['add']({'view':_0x5a6c25,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x525d72=this['editor']['editing'],_0x14fa3d=this['_getChangeFromId'](_0x5a6c25['changeId']);let _0x2fd199;if(_0x14fa3d['data']['isOnRoot']){const _0x89475c=_0x525d72['view']['getDomRoot'](_0x14fa3d['rootName']);_0x2fd199=Array['from'](_0x89475c['getClientRects']());}else{const _0x2a9a1e=this['editor']['model']['markers']['get']('revision:'+_0x5a6c25['changeId']);_0x2fd199=Array['from'](_0x525d72['mapper']['markerNameToElements'](_0x2a9a1e['name']))['map'](_0x42c853=>_0x525d72['view']['domConverter']['mapViewToDom'](_0x42c853))['map'](_0x3718f8=>Array['from'](_0x3718f8['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2fd199[0x0];return _0x2fd199['find'](_0x125b51=>_0x125b51['top']-0x3<=this['_activeViewTarget']['y']&&_0x125b51['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x125b51['left']-0x3<=this['_activeViewTarget']['x']&&_0x125b51['right']+0x3>=this['_activeViewTarget']['x'])||_0x2fd199[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3e50bb,_0x3aef39,_0x11beaa,_0x32cf6e)=>{this['activeView']=_0x11beaa?this['_getViewForChange'](_0x11beaa):null,this['editor']['model']['change'](()=>{const _0x4b9ba2=this['editor']['editing'];_0x32cf6e&&(_0x32cf6e['data']['isOnRoot']?_0x4b9ba2['view']['change'](_0x56b761=>{_0x56b761['removeClass']('ck-revision-history-root--active',_0x4b9ba2['view']['document']['getRoot'](_0x32cf6e['rootName']));}):_0x4b9ba2['reconvertMarker']('revision:'+_0x32cf6e['id'])),_0x11beaa&&(_0x11beaa['data']['isOnRoot']?_0x4b9ba2['view']['change'](_0xdc7563=>{_0xdc7563['addClass']('ck-revision-history-root--active',_0x4b9ba2['view']['document']['getRoot'](_0x11beaa['rootName']));}):_0x4b9ba2['reconvertMarker']('revision:'+_0x11beaa['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x16e110,_0x18a68c)=>{if(this['activeChange'])return;const _0x3f5934=this['_findChangeIdFromDomTarget'](_0x18a68c['target']),_0xec7d26=this['_changeIdToChange']['get'](_0x3f5934);_0xec7d26?(this['_activeViewTarget']={'x':_0x18a68c['domEvent']['x'],'y':_0x18a68c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xec7d26)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3176ac,_0x476a83)=>{const _0x3b9398=this['_findChangeIdFromDomTarget'](_0x476a83['target']),_0x26befc=this['_changeIdToChange']['get'](_0x3b9398);_0x26befc?(this['_activeViewTarget']={'x':_0x476a83['domEvent']['x'],'y':_0x476a83['domEvent']['y']},_0x26befc===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x26befc):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x472bb2){do{const _0x344285=_0x472bb2['getAttribute']('data-change-id');if(_0x344285)return _0x344285;_0x472bb2=_0x472bb2['parent'];}while(_0x472bb2);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xca65d8=>{for(const _0x54f915 of this['editor']['model']['markers'])_0xca65d8['removeMarker'](_0x54f915);});}}function et(_0x426d50,_0x539985){return(_0xbde33f,_0x5d7879,_0x2ad9b1)=>{if(!_0x2ad9b1['consumable']['test'](_0x5d7879['markerRange'],_0xbde33f['name']))return;const _0x44f728=_0x5d7879['markerRange']['getWalker'](),_0x1158ac=_0x5d7879['markerRange']['start'],_0x50e2f7=_0x426d50['model']['schema'];let _0x3b54b8=null,_0x448bd2=null,_0xfb4352=!0x1,_0x31cb91=!0x1;for(const _0x3bfea7 of _0x44f728){const _0x12f474=_0x3bfea7['item'];_0xfb4352=_0xfb4352||_0x50e2f7['isContent'](_0x12f474);const _0x46601a=_0x2ad9b1['mapper']['toViewElement'](_0x12f474);if(_0x46601a&&_0x46601a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3bfea7['type']&&(_0x50e2f7['isBlock'](_0x12f474)&&!_0x50e2f7['isLimit'](_0x12f474)&&(_0x12f474['nextSibling']||_0x1158ac['isAtEnd']?_0x3b54b8&&_0x3b54b8['parent']==_0x12f474||(_0x3b54b8=_0x12f474,_0x261101(_0x3bfea7['previousPosition']),_0x31cb91=!0x0):_0x448bd2=_0x448bd2||_0x3bfea7['previousPosition']));}function _0x261101(_0x58edd5){const _0x307df0=_0x2ad9b1['mapper']['toViewPosition'](_0x58edd5),_0x53e350=_0x2ad9b1['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x539985});_0x2ad9b1['writer']['insert'](_0x307df0,_0x53e350),_0x2ad9b1['mapper']['bindElementToMarker'](_0x53e350,_0x5d7879['markerName']);}_0xfb4352||_0x31cb91||!_0x448bd2||_0x261101(_0x448bd2);};}class bt extends _0x31a8b4{constructor(_0x193e1){super(_0x193e1);const _0x27a09a=_0x193e1['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x27a09a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x27a09a,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x44efce=this['editor'],_0x4f8715=_0x44efce['plugins']['get'](d),_0x201f3a=_0x4f8715['isReady']?_0x4f8715['diff']['newRevisionId']:null;_0x44efce['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x201f3a);}['refresh'](){const {isReady:_0x51d5c8,isEnabled:_0x180b7a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x51d5c8&&_0x180b7a;}}class yt extends _0x31a8b4{['_step'];constructor(_0x4a14c2,{direction:_0x13ed7e}){super(_0x4a14c2);const _0x187581=_0x4a14c2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x13ed7e?0x1:-0x1,this['listenTo'](_0x187581,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x187581,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x187581,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3de4cc=this['editor'],_0x2001de=_0x3de4cc['plugins']['get'](d),{isNavigationMode:_0x288af0,currentChangeNumber:_0xd1ee96}=_0x2001de;let _0x1b167d;if(_0x2001de['activeChange']=_0x288af0?_0x2001de['diff']['changes']['get'](_0xd1ee96+this['_step']):_0x2001de['diff']['changes']['first'],_0x2001de['activeChange']['data']['isOnRoot'])_0x1b167d=_0x3de4cc['editing']['view']['getDomRoot'](_0x2001de['activeChange']['rootName']);else{const _0x1ed030=_0x3de4cc['model']['markers']['get']('revision:'+_0x2001de['activeChange']['id']);_0x1b167d=_0x57bc13(_0x3de4cc['editing'],_0x1ed030);}_0xbf6af6({'target':_0x1b167d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1910e6,currentChangeNumber:_0xd2c20,numberOfChanges:_0x506ff2,isReady:_0x593f34,isEnabled:_0x56e829}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x56e829&&_0x593f34&&_0x506ff2)&&(!_0x1910e6||(0x1===this['_step']?_0xd2c20<_0x506ff2-0x1:_0xd2c20>0x0));}}class _i extends _0xe63f62{constructor(_0x30536f){super(_0x30536f);const _0xac42a1=this['bindTemplate'],_0xffaeae=new _0x5591a3(_0x30536f),_0x403765=new _0x5591a3(_0x30536f);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',(_0x17d10b,_0x3775a0)=>_0x17d10b&&_0x3775a0>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x64c7e4,_0x436f18,_0x1f6a3c,_0x387dfe)=>{if(!_0x64c7e4)return y(_0x30536f,'Loading...');if(!_0x1f6a3c)return y(_0x30536f,'No\x20changes');const _0x134234=y(_0x30536f,'NUMBER_OF_CHANGES',_0x1f6a3c);return _0x387dfe?y(_0x30536f,'X_OF_Y_CHANGES',[_0x436f18+0x1,_0x1f6a3c]):_0x134234;}),_0xffaeae['set']({'label':y(_0x30536f,'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'}),_0x403765['set']({'label':y(_0x30536f,'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'}),_0xffaeae['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x403765['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xffaeae['on']('execute',()=>this['fire']('execute','backward')),_0x403765['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',_0xac42a1['if']('_isStatusLabelVisible','ck-hidden',_0x46d53c=>!_0x46d53c)]},'children':[{'text':_0xac42a1['to']('isNavigationMode',_0x5d2f91=>_0x5d2f91?y(_0x30536f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x30536f,'Total')+':\x20')}]},{'text':_0xac42a1['to']('_statusText')}]},new _0x49f13d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xffaeae,_0x403765]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1ffe89{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3117ff=this['editor']['editing']['view'];_0x3117ff['change'](_0x2d34c9=>{for(const _0x2b04b1 of _0x3117ff['document']['roots'])_0x2d34c9['addClass'](ce,_0x2b04b1);});}['hide'](){const _0x20d064=this['editor']['editing']['view'];_0x20d064['change'](_0x5bef33=>{for(const _0x277b78 of _0x20d064['document']['roots'])_0x5bef33['removeClass'](ce,_0x277b78);});}}class R extends _0x1ffe89{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5ca935=this['editor'],_0x5023de=_0x5ca935['plugins']['get'](d),_0x495363=_0x5ca935['plugins']['get'](de);_0x5ca935['ui']['componentFactory']['add']('exitToEditing',_0x34e67b=>{const _0xe2b7d3=new _0x5591a3(_0x34e67b);return _0xe2b7d3['set']({'label':y(_0x34e67b,'Back\x20to\x20editing'),'icon':_0x5de8c3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xe2b7d3,'execute',()=>{_0x5ca935['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xe2b7d3;}),_0x5ca935['ui']['componentFactory']['add']('restoreRevision',_0x36652c=>{const _0x385933=new _0x5591a3(_0x36652c);return _0x385933['set']({'label':y(_0x36652c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x385933['bind']('isEnabled')['to'](_0x5ca935['commands']['get']('restoreRevision')),this['listenTo'](_0x385933,'execute',()=>_0x5ca935['execute']('restoreRevision')),_0x385933;}),_0x5ca935['ui']['componentFactory']['add']('changesNavigation',_0x7eb359=>{const _0x338e60=new _i(_0x7eb359),_0x66c228=_0x5ca935['commands']['get']('showPreviousChange'),_0x52c62f=_0x5ca935['commands']['get']('showNextChange');return _0x338e60['bind']('isBackwardNavigationEnabled')['to'](_0x66c228,'isEnabled'),_0x338e60['bind']('isForwardNavigationEnabled')['to'](_0x52c62f,'isEnabled'),_0x338e60['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5023de),this['listenTo'](_0x338e60,'execute',(_0x5da851,_0x4ba0b2)=>{_0x5ca935['execute']('forward'===_0x4ba0b2?'showNextChange':'showPreviousChange');}),_0x338e60;}),_0x495363['show'](),_0x5023de['on']('change:isReady',(_0x28a4fb,_0x180f49,_0x262156)=>{_0x262156?_0x495363['hide']():_0x495363['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5c89f6,_0x20438e){super(_0x5c89f6,_0x20438e);const _0x27008c=this['bindTemplate'];this['set']({'label':y(_0x5c89f6,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5c89f6,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x27008c['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 _0xec6bcb=this['fieldView']['element'];this['_tooltipString']=_0xec6bcb['scrollWidth']>_0xec6bcb['clientWidth']&&_0xec6bcb['value']||'';}}class ti extends _0xe63f62{constructor(_0x1f5a68,_0x2e98fe,_0x529e1c){super(_0x1f5a68);const _0x1b8bd9=new _0x281cc4();_0x1b8bd9['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 _0x160269=['ck','ck-revision-history-sidebar__revision-author'];_0x529e1c&&_0x160269['push']('ck-revision-history-sidebar__revision-author_creator');const _0x496307=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1f5a68,_0x529e1c?'Revision\x20creator':'Revision\x20author')},'children':[_0x1b8bd9,_0x2e98fe['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x160269},'children':_0x496307});}}function ni(_0x59c244,_0x5e008f){const _0x5e2053=_0x59c244['bindTemplate'],_0x1fe0ea=_0x59c244['locale'],_0x16b8f7=_0x5436a3(_0x1fe0ea);_0x16b8f7['panelPosition']='sw';const _0x2c2584=function(_0x5bf984,_0x4495df){const _0x29d2ad=function(_0x11c00d,_0x3deea0){const _0x54383c=_0x11c00d['locale'],_0xdd10b9={'Compare\x20against\x20selected':y(_0x54383c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x54383c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x54383c,'Restore\x20this\x20revision')};return _0x3deea0['map'](_0x1ac88c=>{const _0x44d47e=_0xdd10b9[_0x1ac88c['name']];return _0x44d47e&&_0x44d47e!==_0x1ac88c['name']&&(_0x1ac88c['name']=_0x44d47e),_0x1ac88c;});}(_0x5bf984,_0x4495df),_0xc0a54a=new _0x417056();for(const _0x5b4d48 of _0x29d2ad){const _0x3187a7={'type':'button','model':new to({'label':_0x5b4d48['name'],'class':_0x5b4d48['class'],'withText':!0x0,'role':'menuitem','_action':_0x5b4d48['action']})};_0x3187a7['model']['bind']('isEnabled')['to'](_0x5bf984,'isActionsDropdownOpen',_0x537d93=>'function'!=typeof _0x5b4d48['isEnabled']||(!_0x537d93||_0x5b4d48['isEnabled'](_0x5bf984))),_0xc0a54a['add'](_0x3187a7);}return _0xc0a54a;}(_0x59c244,_0x5e008f);return _0x59c244['bind']('isActionsDropdownOpen')['to'](_0x16b8f7,'isOpen'),_0x16b8f7['buttonView']['set']({'label':y(_0x1fe0ea,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5de8c3['threeVerticalDots']}),_0x16b8f7['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5e2053['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5e2053['to'](_0x1dbad4=>_0x1dbad4['stopPropagation']())}}),_0x16b8f7['on']('execute',_0x5132cf=>{_0x59c244['isReady']&&'function'==typeof _0x5132cf['source']['_action']&&_0x5132cf['source']['_action'](_0x59c244);}),_0x8ed943(_0x16b8f7,_0x2c2584,{'role':'menu'}),_0x16b8f7['listenTo'](_0x59c244,'change:isActionsDropdownOpen',(_0x3f98f6,_0x2e0f9d,_0x47baf6)=>{if(_0x47baf6)for(const _0x12450f of _0x16b8f7['listView']['items']){const _0x542749=_0x12450f['children']['first'],_0x49678c=_0x5e008f['find'](_0x153eaf=>_0x153eaf['action']===_0x542749['_action'])['isVisible'];_0x12450f['isVisible']=void 0x0===_0x49678c||_0x49678c(_0x59c244);}}),_0x16b8f7;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x34d3ab,Context as _0x501b51,PendingActions as _0x3ed87c,icons as _0x39b7e7,Command as _0x4f8971,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1a7f4e,uid as _0x382529,Collection as _0x2224e5,logWarning as _0x38fb4e,FocusTracker as _0x2d4960,KeystrokeHandler as _0x58a4e1,scrollViewportToShowTarget as _0xbf6c23,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x54e633}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2abcf7,getMarkerDomElement as _0x6d8487,ConfirmMixin as _0x107f22,sanitizeEditorConfig as _0x4be7fc}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x332a54,ViewText as _0x531349,ViewElement as _0x53db3e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x33b7d4,ViewAttributeElement as _0x5e5c47,ViewEmptyElement as _0x5b67a9,ViewRawElement as _0x5e69b3,ViewUIElement as _0x56f0e3,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1e6978,set as _0x3878db,unset as _0x2ab9b2,isEqual as _0x3dd252}from'lodash-es';import{View as _0x45ecbe,injectCssTransitionDisabler as ts,submitHandler as _0x3fbf0f,LabeledFieldView as at,createLabeledInputText as _0x1efd79,createDropdown as _0x4b835c,ListView as te,ListItemView as _0x25ee5f,ButtonView as _0x5368df,MenuBarMenuView as _0x3b096f,MenuBarMenuListView as _0x50e82d,MenuBarMenuListItemView as _0x5f07e6,MenuBarMenuListItemButtonView as _0x3ee2d5,ContextualBalloon as _0x17b7a4,ToolbarSeparatorView as _0x275888,IconView as _0x21c5ef,addListToDropdown as _0x16699c,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x1a0671}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1a7f4e(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x29b9c5){super(),this['id']=_0x29b9c5['id']||_0x382529(),this['creator']=_0x29b9c5['creator']||null,this['authors']=_0x29b9c5['authors']||[],this['diffData']=_0x29b9c5['diffData']||null,this['toVersion']=_0x29b9c5['toVersion']||0x0,this['fromVersion']=_0x29b9c5['fromVersion']||0x0,this['set']('name',_0x29b9c5['name']||''),this['set']('createdAt',_0x29b9c5['createdAt']||new Date()),this['set']('attributes',_0x29b9c5['attributes']||{});}['setName'](_0x1e50b8){this['_update']({'name':_0x1e50b8});}['setAttribute'](_0x10d7cb,_0x4d44b1){const _0x3d4e86=_0x1e6978(this['attributes']);_0x3878db(_0x3d4e86,_0x10d7cb,_0x4d44b1),this['_update']({'attributes':_0x3d4e86});}['removeAttribute'](_0x41b6c3){const _0x4db3c8=_0x1e6978(this['attributes']);_0x2ab9b2(_0x4db3c8,_0x41b6c3),this['_update']({'attributes':_0x4db3c8});}['_update'](_0x13ead6,_0x2e6bdf=!0x1){let _0x30da54=!0x1;const _0x30ce35={'id':this['id']},_0x4da00b=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5977f4 of _0x4da00b){const _0x295e48=_0x13ead6[_0x5977f4];void 0x0!==_0x295e48&&_0x295e48!==this[_0x5977f4]&&(this[_0x5977f4]=_0x295e48,_0x30ce35[_0x5977f4]=_0x295e48,_0x30da54=!0x0);}_0x30da54&&(_0x30ce35['authors']&&(_0x30ce35['authorsIds']=_0x30ce35['authors']['map'](_0x5b016e=>_0x5b016e['id']),delete _0x30ce35['authors']),this['fire']('_update',_0x30ce35,_0x2e6bdf));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3e0323=>_0x3e0323['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x34d3ab{['_revisions'];static get['requires'](){return[_0x2abcf7];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2e40da){super(_0x2e40da),this['_revisions']=new _0x2224e5();}['afterInit'](){!function(_0x3fac68){function _0x2038e2(_0x52db10,_0x15e26b,_0x58f28c){const _0x3c3752={};_0x3c3752[_0xf212c4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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],_0x3c3752[_0xf212c4([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 _0x182651=new Uint8Array(0x10);for(let _0x829f1=0xf;_0x829f1>=0x0;--_0x829f1)_0x182651[_0x829f1]=_0x58f28c%0x100,_0x58f28c=parseInt(_0x58f28c/0x100);let _0x3152bf=null,_0x4f2e61=0x10;const _0x3cdb71=new Uint8Array(_0x15e26b),_0x4e43e5=[],_0x121385=[];_0x55da05();for(let _0x393122=0x0;_0x393122<_0x52db10[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x393122++)0x10===_0x4f2e61&&(_0x3152bf=_0x5c2436(_0x182651),_0x4f2e61=0x0,_0x2c2f8b(_0x182651)),_0x52db10[_0x393122]^=_0x3152bf[_0x4f2e61++];return _0x52db10;function _0x47a30a(_0x2b9d65){const _0x23767a=[];for(let _0x2aa80c=0x0;_0x2aa80c<_0x2b9d65[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2aa80c+=0x4)_0x23767a[_0xf212c4([0x70,0x75,0x73,0x68])](_0x2b9d65[_0x2aa80c]<<0x18|_0x2b9d65[_0x2aa80c+0x1]<<0x10|_0x2b9d65[_0x2aa80c+0x2]<<0x8|_0x2b9d65[_0x2aa80c+0x3]);return _0x23767a;}function _0x2c2f8b(_0x4e8e91){for(let _0x764708=0xf;_0x764708>=0x0;_0x764708--){if(0xff!==_0x4e8e91[_0x764708]){_0x4e8e91[_0x764708]++;break;}_0x4e8e91[_0x764708]=0x0;}}function _0x5c2436(_0x1ef969){const _0x178fd3=_0x4e43e5[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x161461=[0x0,0x0,0x0,0x0];let t=_0x47a30a(_0x1ef969);for(let _0xe49930=0x0;_0xe49930<0x4;_0xe49930++)t[_0xe49930]^=_0x4e43e5[0x0][_0xe49930];for(let _0x4bda63=0x1;_0x4bda63<_0x178fd3;_0x4bda63++){for(let _0x19b572=0x0;_0x19b572<0x4;_0x19b572++)_0x161461[_0x19b572]=_0x3c3752[_0xf212c4([0x54,0x31])][t[_0x19b572]>>0x18&0xff]^_0x3c3752[_0xf212c4([0x54,0x32])][t[(_0x19b572+0x1)%0x4]>>0x10&0xff]^_0x3c3752[_0xf212c4([0x54,0x33])][t[(_0x19b572+0x2)%0x4]>>0x8&0xff]^_0x3c3752[_0xf212c4([0x54,0x34])][0xff&t[(_0x19b572+0x3)%0x4]]^_0x4e43e5[_0x4bda63][_0x19b572];t=_0x161461[_0xf212c4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4c9ee7=new Uint8Array(0x10);let _0x5228ea;for(let _0x5e102d=0x0;_0x5e102d<0x4;_0x5e102d++)_0x5228ea=_0x4e43e5[_0x178fd3][_0x5e102d],_0x4c9ee7[0x4*_0x5e102d]=0xff&(_0x3c3752[_0xf212c4([0x53])][t[_0x5e102d]>>0x18&0xff]^_0x5228ea>>0x18),_0x4c9ee7[0x4*_0x5e102d+0x1]=0xff&(_0x3c3752[_0xf212c4([0x53])][t[(_0x5e102d+0x1)%0x4]>>0x10&0xff]^_0x5228ea>>0x10),_0x4c9ee7[0x4*_0x5e102d+0x2]=0xff&(_0x3c3752[_0xf212c4([0x53])][t[(_0x5e102d+0x2)%0x4]>>0x8&0xff]^_0x5228ea>>0x8),_0x4c9ee7[0x4*_0x5e102d+0x3]=0xff&(_0x3c3752[_0xf212c4([0x53])][0xff&t[(_0x5e102d+0x3)%0x4]]^_0x5228ea);return _0x4c9ee7;}function _0x55da05(){const _0x3ea20e=_0x3c3752[_0xf212c4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3cdb71[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5f575b=0x0;_0x5f575b<=_0x3ea20e;_0x5f575b++)_0x4e43e5[_0xf212c4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x121385[_0xf212c4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1d9eea=0x4*(_0x3ea20e+0x1),_0x21b4d2=_0x3cdb71[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2da6a8=_0x47a30a(_0x3cdb71);let _0x4e1fd3;for(let _0x3b8ee2=0x0;_0x3b8ee2<_0x21b4d2;_0x3b8ee2++)_0x4e1fd3=_0x3b8ee2>>0x2,_0x4e43e5[_0x4e1fd3][_0x3b8ee2%0x4]=_0x2da6a8[_0x3b8ee2],_0x121385[_0x3ea20e-_0x4e1fd3][_0x3b8ee2%0x4]=_0x2da6a8[_0x3b8ee2];let _0x2f35b9,_0x7b99f7=0x0,t=_0x21b4d2;for(;t<_0x1d9eea;){_0x2f35b9=_0x2da6a8[_0x21b4d2-0x1],_0x2da6a8[0x0]^=_0x3c3752[_0xf212c4([0x53])][_0x2f35b9>>0x10&0xff]<<0x18^_0x3c3752[_0xf212c4([0x53])][_0x2f35b9>>0x8&0xff]<<0x10^_0x3c3752[_0xf212c4([0x53])][0xff&_0x2f35b9]<<0x8^_0x3c3752[_0xf212c4([0x53])][_0x2f35b9>>0x18&0xff]^_0x3c3752[_0xf212c4([0x72,0x63,0x6f,0x6e])][_0x7b99f7]<<0x18,_0x7b99f7+=0x1;for(let _0x2e0585=0x1;_0x2e0585<_0x21b4d2/0x2;_0x2e0585++)_0x2da6a8[_0x2e0585]^=_0x2da6a8[_0x2e0585-0x1];_0x2f35b9=_0x2da6a8[_0x21b4d2/0x2-0x1],_0x2da6a8[_0x21b4d2/0x2]^=_0x3c3752[_0xf212c4([0x53])][0xff&_0x2f35b9]^_0x3c3752[_0xf212c4([0x53])][_0x2f35b9>>0x8&0xff]<<0x8^_0x3c3752[_0xf212c4([0x53])][_0x2f35b9>>0x10&0xff]<<0x10^_0x3c3752[_0xf212c4([0x53])][_0x2f35b9>>0x18&0xff]<<0x18;for(let _0x27b5d6=_0x21b4d2/0x2+0x1;_0x27b5d6<_0x21b4d2;_0x27b5d6++)_0x2da6a8[_0x27b5d6]^=_0x2da6a8[_0x27b5d6-0x1];let _0x8203f7,_0x2e82c1,_0x37855b=0x0;for(;_0x37855b<_0x21b4d2&&t<_0x1d9eea;)_0x8203f7=t>>0x2,_0x2e82c1=t%0x4,_0x4e43e5[_0x8203f7][_0x2e82c1]=_0x2da6a8[_0x37855b],_0x121385[_0x3ea20e-_0x8203f7][_0x2e82c1]=_0x2da6a8[_0x37855b++],t++;}for(let _0x59f366=0x1;_0x59f366<_0x3ea20e;_0x59f366++)for(let _0x3eb1bb=0x0;_0x3eb1bb<0x4;_0x3eb1bb++)_0x2f35b9=_0x121385[_0x59f366][_0x3eb1bb],_0x121385[_0x59f366][_0x3eb1bb]=_0x3c3752[_0xf212c4([0x55,0x31])][_0x2f35b9>>0x18&0xff]^_0x3c3752[_0xf212c4([0x55,0x32])][_0x2f35b9>>0x10&0xff]^_0x3c3752[_0xf212c4([0x55,0x33])][_0x2f35b9>>0x8&0xff]^_0x3c3752[_0xf212c4([0x55,0x34])][0xff&_0x2f35b9];}}function _0xf212c4(_0x3a03ae){return _0x3a03ae['map'](_0xcb3eca=>String['fromCharCode'](_0xcb3eca))['join']('');}(_0x5d8971=>{function _0x238639(){const _0x26c4b6=[{[_0xf212c4([0x69,0x64])]:0x1,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xf212c4([0x69,0x64])]:0x2,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([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]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xf212c4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xf212c4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xf212c4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xf212c4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xf212c4([0x69,0x64])]:0x3,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xf212c4([0x69,0x64])]:0x4,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([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]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xf212c4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xf212c4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xf212c4([0x69,0x64])]:0x5,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([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]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}},{[_0xf212c4([0x69,0x64])]:0x6,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}},{[_0xf212c4([0x69,0x64])]:0x7,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}},{[_0xf212c4([0x69,0x64])]:0x8,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([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]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}},{[_0xf212c4([0x69,0x64])]:0x9,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xf212c4([0x69,0x64])]:0xa,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([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]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([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]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([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]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}},{[_0xf212c4([0x69,0x64])]:0xb,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xf212c4([0x69,0x64])]:0xc,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xf212c4([0x69,0x64])]:0xd,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}},{[_0xf212c4([0x69,0x64])]:0xe,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xf212c4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([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])},{[_0xf212c4([0x69,0x64])]:0xf,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xf212c4([0x69,0x64])]:0x10,[_0xf212c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf212c4([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf212c4([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf212c4([0x66,0x67,0x69])]:[0xc]}}];return _0xc872e0(_0x26c4b6),_0x26c4b6;function _0x52d57d(_0x368d73){return 0x1<<_0x368d73-0x1;}function _0xc872e0(_0x5a0b73){_0x5a0b73[_0xf212c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbd80b6=>{_0xbd80b6[_0xf212c4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x52d57d(_0xbd80b6[_0xf212c4([0x69,0x64])]),_0x482c43(_0xbd80b6)&&_0xbd80b6[_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xc872e0(_0xbd80b6[_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x482c43(_0x37c713){return _0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x37c713;}const _0x2ec516=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2407a2=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4a6e5f(_0x488783){const _0x15e6cc=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1dff84(_0x488783,new Uint8Array([..._0x2ec516,..._0x15e6cc,..._0x2407a2]));}function _0x1dff84(_0x1ee8c0,_0x17ff63){const _0x491b1f=_0x353303(_0x1ee8c0),_0x577215=Array[_0xf212c4([0x66,0x72,0x6f,0x6d])](_0x371aae(_0x491b1f)),_0x27c34c=_0x577215[_0xf212c4([0x70,0x6f,0x70])](),_0x2e32e4=_0x577215[_0xf212c4([0x70,0x6f,0x70])]();return _0x375ddb(_0x2038e2(_0x577215,_0x17ff63,_0x2e32e4+0x100*_0x27c34c));}function _0x353303(_0x51ab33){const _0x5565d0=atob(_0x51ab33),[_0x2f8916,_0x1d92ae]=_0x5565d0[_0xf212c4([0x73,0x70,0x6c,0x69,0x74])](_0xf212c4([0x2d]));try{if(atob(_0x1d92ae))return atob(_0x2f8916);}catch(_0x14fc05){}return _0x5565d0;}function _0x28e4c3(_0x25dac6){try{const _0x38bf6e=_0x4a6e5f(_0x25dac6),_0x22a403=JSON[_0xf212c4([0x70,0x61,0x72,0x73,0x65])](_0x38bf6e),_0x36d9bc=parseInt(_0x22a403[_0xf212c4([0x31])]),_0x2c617d=_0x22a403[_0xf212c4([0x32])]||'',_0x41baf4=parseInt(_0x22a403[_0xf212c4([0x33])]),_0x1a3daf=parseInt(_0x22a403[_0xf212c4([0x34])])||0x0,_0x55879f=parseInt(_0x22a403[_0xf212c4([0x35])])||0x0;return{[_0xf212c4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2c617d,[_0xf212c4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1a3daf,[_0xf212c4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x36d9bc,[_0xf212c4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x41baf4,[_0xf212c4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x55879f};}catch(_0x4f6238){return null;}}const _0x55df94=_0x238639(),_0x208f2e={[_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3eae9c,[_0xf212c4([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])]:_0x215fc6,[_0xf212c4([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])]:_0x266f1e},_0x4d5f70=_0x5d8971[_0xf212c4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5e65dc=_0xf212c4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5d8971?_0x5d8971['context']:_0x5d8971['editor'],_0x3e0c52=_0xf212c4([0x34,0x30,0x34,0x38,0x31,0x32,0x36,0x30]),_0x3b935f=_0xf212c4([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]),_0x62e5d5=_0x5e65dc['config']['get'](_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5983b4=_0x55df94[_0xf212c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x482c43)[_0xf212c4([0x66,0x69,0x6e,0x64])](_0x24ddef=>_0x24ddef[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x4d5f70);function _0x52a23c(_0x5b09c6,_0x191856){_0x208f2e[_0x191856[_0xf212c4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5b09c6,_0x191856),_0x191856[_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x191856[_0xf212c4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xf212c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1271c5=>_0xe95ade(_0x5e65dc,_0x1271c5[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xf212c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49d6dd=>_0x52a23c(_0x5b09c6,_0x49d6dd));}function _0x3eae9c(_0xafc76e,_0x3ffdfa){_0x1280a7(_0x244f1e(_0xafc76e,_0x3ffdfa),_0x3ffdfa);}function _0x215fc6(_0x5cf651,_0x5928c4){function _0x5e857f(_0x26e59d,_0x415ec6){try{if(_0xe95ade(_0x5e65dc,_0xf212c4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x26e59d){const _0x408e72=_0x2ce04d(_0x5e65dc,_0xf212c4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xf212c4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x408e72)/0x2>_0x26e59d[_0xf212c4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4b58ac(_0x415ec6[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x244f1e(_0x26e59d,_0x415ec6);}catch(_0x389923){return _0x4b58ac(_0x415ec6[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1280a7(_0x5e857f(_0x5cf651,_0x5928c4),_0x5928c4);}function _0x266f1e(_0x536568,_0x29df9b){const _0x2c919b=_0x2407a2[0x0]*_0x2ec516[0x1],_0x23409d=_0x2407a2[0x0]*_0x2ec516[0x2],_0x2499cd=_0x2407a2[0x2]*_0x2ec516[0x2];_0xe95ade(_0x5e65dc,_0xf212c4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2ce04d(_0x5e65dc,_0xf212c4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xf212c4([0x73,0x74,0x61,0x74,0x65])]==_0xf212c4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x13b9c6()]=_0x2499cd);function _0x3c06cc(_0x4d4377,_0x18e1e2){try{return _0x26450a()?_0x4b58ac(_0x18e1e2[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x56,0x61,0x6c,0x69,0x64])):_0x244f1e(_0x4d4377,_0x18e1e2);}catch(_0x2dd6a1){return _0x4b58ac(_0x18e1e2[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x12d865(_0x372d57,_0x5813ac){const _0x414384=0x7;if(_0x372d57==_0x5813ac[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x46fd1d();else{if(_0x372d57==_0x5813ac[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c])){const _0x42c7be=_0x4bc541();_0x42c7be&&_0x3327b2(_0x42c7be,_0x5813ac[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x158612=_0x16a8e7();window[_0xf212c4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3327b2(_0xf212c4([0x74,0x69,0x6d,0x65]),_0x5813ac[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x158612);const _0x199aaa=_0x2ce04d(_0x5e65dc,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xf212c4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x199aaa[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x414384?_0x3327b2(_0xf212c4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5813ac[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x199aaa['on'](_0xf212c4([0x61,0x64,0x64]),()=>{_0x199aaa[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x414384&&_0x3327b2(_0xf212c4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5813ac[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4bc541(){if(!_0xe95ade(_0x5e65dc,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x30236d in window)if(Number['isNaN'](Number(_0x30236d))){if(window[_0x30236d]===_0x2c919b)return _0xf212c4([0x74,0x69,0x6d,0x65]);if(window[_0x30236d]===_0x23409d)return _0xf212c4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x26450a(){if(!_0xe95ade(_0x5e65dc,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x245c5f in window)if(Number['isNaN'](Number(_0x245c5f))&&window[_0x245c5f]===_0x2499cd)return!0x0;return!0x1;}function _0x3327b2(_0x3ac16e,_0x181a0c){_0x46fd1d(),_0x4b58ac(_0x181a0c+_0xf212c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3ac16e),window[_0x13b9c6()]=_0x3ac16e===_0xf212c4([0x74,0x69,0x6d,0x65])?_0x2c919b:_0x23409d;}function _0x16a8e7(){let _0x22b3b7=_0x2407a2[0x6]*_0x2ec516[0x8]*_0x2ec516[0x6];return _0xe95ade(_0x5e65dc,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x22b3b7/=0xa),_0x22b3b7;}function _0x46fd1d(){const _0x5acd55=_0x5e65dc;function _0x37a654(){_0xe95ade(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf212c4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xf212c4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf212c4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf212c4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3d23fe,_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf212c4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3d23fe,_0x5acd55[_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c])][_0xf212c4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d23fe,_0x5acd55[_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c])][_0xf212c4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d23fe,_0x5acd55[_0xf212c4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c]))),_0xe95ade(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf212c4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xf212c4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf212c4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf212c4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3d23fe,_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf212c4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3d23fe);}_0x5acd55[_0xf212c4([0x73,0x74,0x61,0x74,0x65])]==_0xf212c4([0x72,0x65,0x61,0x64,0x79])?_0x37a654():_0x5acd55[_0xf212c4([0x6f,0x6e,0x63,0x65])](_0xf212c4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0xe95ade(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x37a654(),_0xe95ade(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x197fcc=_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4c9a85=_0x197fcc['getRevision'](0x0),_0x70c95a=_0x197fcc['getEarlierVisibleRevision'](_0x4c9a85[_0xf212c4([0x69,0x64])]);_0x2ce04d(_0x5acd55,_0xf212c4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf212c4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4c9a85[_0xf212c4([0x69,0x64])],_0x70c95a?_0x70c95a[_0xf212c4([0x69,0x64])]:null,0x1)['then'](()=>_0x37a654());}});}_0x12d865(_0x3c06cc(_0x536568,_0x29df9b),_0x29df9b);}function _0x244f1e(_0x20eb3e,_0x58f6c3){try{return _0x3bc3aa(_0x58f6c3)?_0x4b58ac(_0x58f6c3[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x56,0x61,0x6c,0x69,0x64])):_0x20eb3e&&_0x40f384(_0x20eb3e[_0xf212c4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x58f6c3)?_0x20eb3e[_0xf212c4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xf212c4([0x6f,0x70,0x65,0x6e])][_0xf212c4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3e0c52)/0x2>_0x20eb3e[_0xf212c4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4b58ac(_0x58f6c3[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x20eb3e[_0xf212c4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4b58ac(_0x58f6c3[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c])):_0x4b58ac(_0x58f6c3[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x56,0x61,0x6c,0x69,0x64])):_0x4b58ac(_0x58f6c3[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5ac92a){return _0x4b58ac(_0x58f6c3[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1280a7(_0x2e6029,_0x44a28a){if(_0x5e65dc instanceof _0x501b51){const _0x2769e1=_0x5e65dc;_0x2e6029==_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4b49e4(_0x2769e1):_0x2e6029==_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c])&&window[_0xf212c4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4b49e4(_0x2769e1),_0x4b58ac(_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2407a2[0x6]*_0x2ec516[0x8]*_0x2ec516[0x6]),_0x2769e1[_0xf212c4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xf212c4([0x6f,0x6e])](_0xf212c4([0x61,0x64,0x64]),(_0x4db779,_0x55336b)=>{_0x2e6029!=_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2e6029!=_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2e6029!=_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x33cfd6(_0x55336b);});}else{const _0x1062bd=_0x5e65dc;_0x2e6029==_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x33cfd6(_0x1062bd):_0x2e6029==_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c])&&_0x1062bd[_0xf212c4([0x6f,0x6e])](_0xf212c4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x41d659=0x0;_0x1062bd[_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c])][_0xf212c4([0x6f,0x6e])](_0xf212c4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49956f,_0x2bcffa)=>{_0x2bcffa[0x0][_0xf212c4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41d659++,0x1f8===_0x41d659&&(_0x33cfd6(_0x1062bd),_0x4b58ac(_0x44a28a[_0xf212c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf212c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x49956f[_0xf212c4([0x6f,0x66,0x66])]());},{'priority':_0xf212c4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4b58ac(_0x138e82){const _0x4ab03b=_0x13b9c6();return _0x5e65dc[_0x4ab03b]=_0x138e82,_0x138e82;}function _0x13b9c6(){const _0xe69edc=String(window[_0xf212c4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf212c4([0x6e,0x6f,0x77])]())[_0xf212c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf212c4([0x2e]),'');let _0x5b1113='';for(let _0x4691ab=0x0;_0x4691ab<_0xe69edc[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4691ab+=0x2){let _0x4155de=parseInt(_0xe69edc[_0xf212c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4691ab,_0x4691ab+0x2));_0x4155de>=_0x3b935f[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4155de-=_0x3b935f[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b1113+=_0x3b935f[_0x4155de];}return _0x5b1113;}function _0x4b49e4(_0xd05993){for(const _0x705a34 of _0xd05993[_0xf212c4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x33cfd6(_0x705a34);_0x2ce04d(_0xd05993,_0xf212c4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xf212c4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2ce04d(_0xd05993,_0xf212c4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xf212c4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3d23fe;}function _0x33cfd6(_0x124dd3){function _0x4a8e3e(){_0x124dd3[_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c])][_0xf212c4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d23fe,_0x124dd3[_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c])][_0xf212c4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d23fe,_0x124dd3[_0xf212c4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf212c4([0x6d,0x6f,0x64,0x65,0x6c]));}_0x124dd3[_0xf212c4([0x73,0x74,0x61,0x74,0x65])]==_0xf212c4([0x72,0x65,0x61,0x64,0x79])?_0x4a8e3e():_0x124dd3[_0xf212c4([0x6f,0x6e,0x63,0x65])](_0xf212c4([0x72,0x65,0x61,0x64,0x79]),()=>_0x4a8e3e());}function _0x3d23fe(){return null;}function _0x40f384(_0x519b61,_0x3a5c09){const _0x2ac009=!!(_0x519b61&_0x3a5c09[_0xf212c4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x17cc15=_0x34d47d(_0x519b61,_0x3a5c09);return _0x2ac009||_0x17cc15;}function _0x34d47d(_0x5e8589,_0x5b9023){const _0x42a3e3=(_0x5b9023[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xf212c4([0x66,0x67,0x69])]||null;return!!_0x42a3e3&&_0x55df94[_0xf212c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51ba79=>_0x42a3e3[_0xf212c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51ba79[_0xf212c4([0x69,0x64])]))[_0xf212c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10cace=>!_0x1c1d0b(_0x10cace))[_0xf212c4([0x73,0x6f,0x6d,0x65])](_0x313756=>!!(_0x5e8589&_0x313756[_0xf212c4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1c1d0b(_0x5165d1){const _0x321a52={[_0xf212c4([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])]:_0x5270f3};return!!_0x5165d1['forbiddenHandler']&&_0x321a52[_0x5165d1['forbiddenHandler']]();}function _0x5270f3(){return!window[_0xf212c4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0xe95ade(_0x5e65dc,_0xf212c4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3bc3aa(_0x2844a8){if(!_0xe95ade(_0x5e65dc,_0x2844a8[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x5b4caa=_0x2844a8[_0xf212c4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x13cd42=_0x5b4caa[_0xf212c4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2d2c24=_0x5b4caa[_0xf212c4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1a7fd7=_0x5b4caa[_0xf212c4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0xe95ade(_0x5e65dc,_0xf212c4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2ce04d(_0x5e65dc,_0xf212c4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xf212c4([0x73,0x74,0x61,0x74,0x65])]==_0xf212c4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x13cd42)return!0x0;if(_0xe95ade(_0x5e65dc,_0xf212c4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2ce04d(_0x5e65dc,_0xf212c4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xf212c4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xf212c4([0x65,0x6e,0x64])&&_0x2d2c24)return!0x0;return!(!_0xe95ade(_0x5e65dc,_0xf212c4([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]))||_0x2ce04d(_0x5e65dc,_0xf212c4([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]))[_0xf212c4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xf212c4([0x65,0x6e,0x64])||!_0x1a7fd7);}function _0xe95ade(_0x50e3e3,_0x99b62a){return _0x50e3e3[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xf212c4([0x68,0x61,0x73])](_0x99b62a);}function _0x2ce04d(_0x143a44,_0x506402){return _0x143a44[_0xf212c4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xf212c4([0x67,0x65,0x74])](_0x506402);}function _0x375ddb(_0x3f3bfe){let _0x83c2a5='';for(const _0x4b513d of _0x3f3bfe)_0x83c2a5+=String[_0xf212c4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4b513d);return _0x83c2a5;}function _0x371aae(_0x53ec4a){const _0x303c8d=new Uint8Array(_0x53ec4a[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x27ffce=0x0;_0x27ffce<_0x53ec4a[_0xf212c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27ffce++)_0x303c8d[_0x27ffce]=_0x53ec4a[_0xf212c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27ffce);return _0x303c8d;}_0x5983b4&&_0x52a23c(_0x28e4c3(_0x62e5d5),_0x5983b4);})(_0x3fac68);}(this);}['createRevision'](_0x5ab7c6){const _0x1d96a5=this['editor']['plugins']['get']('Users');return new a({'id':_0x5ab7c6['id'],'name':_0x5ab7c6['name'],'creator':_0x5ab7c6['creatorId']?_0x1d96a5['getUser'](_0x5ab7c6['creatorId']):null,'diffData':_0x5ab7c6['diffData']||_0x5ab7c6['data'],'authors':_0x5ab7c6['authorsIds']['map'](_0x5d29a3=>_0x1d96a5['getUser'](_0x5d29a3)),'createdAt':new Date(_0x5ab7c6['createdAt']),'attributes':_0x5ab7c6['attributes'],'fromVersion':_0x5ab7c6['fromVersion'],'toVersion':_0x5ab7c6['toVersion']});}['addRevision'](_0x564502,_0x332cc3=0x0){this['_revisions']['add'](_0x564502,_0x332cc3);}['getRevision'](_0x38f119){return this['_revisions']['get'](_0x38f119);}['getRevisions'](_0x5819bb={'toJSON':!0x1}){const _0x5d32fd=Array['from'](this['_revisions']);return _0x5d32fd['reverse'](),_0x5819bb['toJSON']?_0x5d32fd['map'](_0x3d712c=>_0x3d712c['toJSON']()):_0x5d32fd;}['getIndex'](_0x5cb0ab){return this['_revisions']['getIndex'](_0x5cb0ab);}['getEarlierVisibleRevision'](_0x426828){const [,_0x40071a]=this['getRevisionsIterator'](_0x426828,{'direction':'earlier'});return _0x40071a;}['getLaterVisibleRevision'](_0x5dbaf2){const [,_0x449d3d]=this['getRevisionsIterator'](_0x5dbaf2,{'direction':'later'});return _0x449d3d;}['getRevisionsInDiff'](_0x11491d){const _0x2720f1=[];for(const _0x558382 of this['getRevisionsIterator'](_0x11491d['newRevisionId']))if(_0x2720f1['push'](_0x558382),_0x558382['id']===_0x11491d['oldRevisionId'])break;return _0x2720f1;}*['getRevisionsIterator'](_0x4317d7,{direction:_0x44e2db='earlier',filter:_0x16e96e=_0x39fc7e=>!0x0}={}){const _0x38c24c='earlier'===_0x44e2db?0x1:-0x1;let _0x5aca18=this['_revisions']['get'](_0x4317d7),_0x4b4c2a=this['getIndex'](_0x5aca18);for(yield _0x5aca18;_0x5aca18;){if(_0x4b4c2a+=_0x38c24c,_0x5aca18=this['getRevision'](_0x4b4c2a),!_0x5aca18)return;_0x16e96e(_0x5aca18)&&(yield _0x5aca18);}}}function y(_0x277bc7,_0x40a729,_0x3ed77f){const t=_0x277bc7['t'];switch(_0x40a729){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'},_0x3ed77f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3ed77f);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':_0x33b7d4,'a':_0x5e5c47,'e':_0x5b67a9,'r':_0x5e69b3,'u':_0x56f0e3};class l extends _0x34d3ab{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2abcf7,A,_0x3ed87c];}constructor(_0x2c0516){super(_0x2c0516),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 _0x5da8fc=_0x382529();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5da8fc},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 _0xcd9e9=this['repository']['getRevision'](0x0),_0x15fdaf=_0xcd9e9&&null===_0xcd9e9['creator']?_0xcd9e9:null;if(this['_continueCurrentRevision']=!!_0x15fdaf&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x270859=this['_source']['getCurrentRevisionId'](),_0x486de5=this['repository']['getRevision'](_0x270859);if(_0x486de5)this['_startingVersion']=_0x486de5['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x459ab6=this['_source']['history']['_operations']['find'](_0x5c5ca5=>!_0x5c5ca5['_isInit']),_0x32d96f=_0x459ab6?_0x459ab6['baseVersion']:this['_source']['history']['version'];_0xcd9e9?(_0xcd9e9['toVersion']<_0x32d96f&&_0xcd9e9['_update']({'toVersion':_0x32d96f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x15fdaf['id'],this['_startingVersion']=_0x15fdaf['fromVersion']):(this['_startingVersion']=_0xcd9e9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x32d96f,this['_continueCurrentRevision']=!0x1);}}else _0x15fdaf&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x15fdaf['toVersion'],this['editor']['model']['document']['history']['version']),_0x15fdaf['fromVersion']===_0x15fdaf['toVersion']?(0x0!==_0x15fdaf['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x15fdaf['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x15fdaf['id'],this['_startingVersion']=_0x15fdaf['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',_0x4bf8a6=>!_0x4bf8a6);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x46193d=this['repository']['getRevision'](0x0),_0x2151c1=await this['getRevisionDocumentData'](_0x46193d),_0x32866e=await this['getRevisionRootsAttributes'](_0x46193d);this['_replaceEditorDataWithRevisionData'](_0x2151c1,_0x32866e);}}['setSource'](_0xc7e31f){this['_source']=_0xc7e31f;}async['update'](){const _0x40cd8f=await this['_source']['getLatestVersion']();if(_0x40cd8f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5cfeb5=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x40cd8f});_0x5cfeb5['authors']=_0x5cfeb5['authorsIds']['map'](_0x4d1105=>this['editor']['plugins']['get']('Users')['getUser'](_0x4d1105)),this['currentRevision']['_update'](_0x5cfeb5);}}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'](_0x55d1af={},_0x31313b=null){const _0x336204=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x31313b>this['currentRevision']['toVersion']&&(_0x31313b=null),null===_0x31313b&&(_0x31313b=await this['_source']['getLatestVersion']());const _0x327c1b=this['_getFromVersion'](_0x31313b),_0x1d6fd6=this['buildRevisionData']({'from':_0x327c1b,'to':_0x31313b});if(this['currentRevision']['toVersion']<_0x31313b){const _0x33dfd0=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x31313b,'to':_0x31313b});_0x33dfd0['authors']=[],_0x33dfd0['authorsIds']=[],_0x33dfd0['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x33dfd0,!0x0),delete _0x33dfd0['authors'],_0x336204['push'](_0x33dfd0);}_0x55d1af['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x55d1af['name']=_0x55d1af['name']||null,_0x55d1af['id']=_0x55d1af['id']||_0x382529(),_0x55d1af={..._0x55d1af,..._0x1d6fd6};const _0x55d9c5=this['addRevisionData'](_0x55d1af);_0x336204['push'](_0x55d1af);const _0x33f2c3=this['repository']['getIndex'](_0x55d9c5);if(0x0!==_0x33f2c3){const _0x4f97b1=this['repository']['getRevision'](_0x33f2c3-0x1);if(_0x4f97b1['fromVersion']!==_0x31313b){const _0x2ba18a=this['_revisionDataBuilder']['getData'](_0x31313b,_0x4f97b1['toVersion']),_0x3b0da2={'id':_0x4f97b1['id'],'diffData':_0x2ba18a['diffData'],'authorsIds':_0x2ba18a['authorsIds'],'authors':_0x2ba18a['authorsIds']['map'](_0x1e9a4b=>this['editor']['plugins']['get']('Users')['getUser'](_0x1e9a4b)),'fromVersion':_0x31313b};_0x4f97b1===this['currentRevision']&&(_0x3b0da2['createdAt']=new Date(_0x55d1af['createdAt']['getTime']()+0xa)),_0x4f97b1['_update'](_0x3b0da2,!0x0),delete _0x3b0da2['authors'],_0x336204['push'](_0x3b0da2);}}if(this['adapter']){for(const _0x3848e1 of _0x336204)this['_bufferUpdate'](_0x3848e1['id'],_0x3848e1,!0x0);this['sendBufferedUpdates']();}return _0x55d9c5;}['addRevisionData'](_0x208c8e){const _0x2c646e=this['repository']['createRevision'](_0x208c8e);return this['adapter']&&_0x2c646e['on']('_update',(_0xc1ed27,_0x13453e,_0x5c6cb5)=>{_0x5c6cb5||(this['_bufferUpdate'](_0x13453e['id'],_0x13453e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2c646e,this['_findInsertionIndex'](_0x2c646e)),_0x2c646e;}async['getRevisionDocumentData'](_0x4ddd41){await this['_loadRevisionData'](_0x4ddd41);const _0x11e52d={};for(const _0x3e7f7d in _0x4ddd41['diffData']){if(_0x4ddd41['diffData'][_0x3e7f7d]['attachChange']&&!_0x4ddd41['diffData'][_0x3e7f7d]['attachChange']['isAttached'])continue;const _0x528ee9=this['_removeRevisionMarkers'](JSON['parse'](_0x4ddd41['diffData'][_0x3e7f7d]['insertions'])),_0x339e5f=this['editor']['editing']['view']['document'],_0x282504=new _0x332a54(_0x339e5f,_0x528ee9['map'](_0x1c9819=>B(_0x1c9819,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x11e52d[_0x3e7f7d]=this['editor']['data']['processor']['toData'](_0x282504),this['editor']['data']['processor']['useFillerType']('default');}return _0x11e52d;}async['getRevisionRootsAttributes'](_0xdf0aff){await this['_loadRevisionData'](_0xdf0aff);const _0x252293={};for(const _0x5d3c7e in _0xdf0aff['diffData'])_0xdf0aff['diffData'][_0x5d3c7e]['attachChange']&&!_0xdf0aff['diffData'][_0x5d3c7e]['attachChange']['isAttached']||(_0x252293[_0x5d3c7e]=_0xdf0aff['diffData'][_0x5d3c7e]['attributesAfter']||{});return _0x252293;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x268cde=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5c59e8=0x0;_0x5c59e8<_0x268cde['length'];_0x5c59e8++){const _0x1ee412=_0x268cde[_0x5c59e8];let _0x4010b5=!0x1;for(const _0x38a5b0 of Object['keys'](_0x1ee412))void 0x0===_0x1ee412[_0x38a5b0]?delete _0x1ee412[_0x38a5b0]:'id'!==_0x38a5b0&&(_0x4010b5=!0x0);_0x4010b5||(_0x268cde[_0x5c59e8]=null);}if(_0x268cde=_0x268cde['filter'](_0x387363=>null!==_0x387363),!_0x268cde['length'])return;for(let _0x10c4de=0x0;_0x10c4de<_0x268cde['length'];_0x10c4de++){const _0x538cce=_0x268cde[_0x10c4de];void 0x0!==_0x538cce['fromVersion']&&void 0x0===_0x538cce['toVersion']&&(_0x538cce['toVersion']=this['repository']['getRevision'](_0x538cce['id'])['toVersion']),void 0x0!==_0x538cce['toVersion']&&void 0x0===_0x538cce['fromVersion']&&(_0x538cce['fromVersion']=this['repository']['getRevision'](_0x538cce['id'])['fromVersion']);}const _0x18f649=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x268cde,_0x18f649)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x379932=>{if(_0x379932){for(const _0x1e7044 of _0x379932)this['setRevisionData']({'id':_0x1e7044['id'],'createdAt':_0x1e7044['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2d8acb,_0x39ebe8){let _0xcaff60=this['editor']['config']['get']('initialData'),_0x1de8b1=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xcaff60){_0xcaff60={};for(const _0x40eca2 of this['editor']['model']['document']['getRootNames']())_0xcaff60[_0x40eca2]='';}if('string'==typeof _0xcaff60&&(_0xcaff60={'main':_0xcaff60}),void 0x0===_0x1de8b1){_0x1de8b1={};for(const _0x26bf6f of this['editor']['model']['document']['getRootNames']())_0x1de8b1[_0x26bf6f]={};}let _0x315a20=!0x1;const _0xfab078=Object['keys'](_0xcaff60),_0x2ec92c=Object['keys'](_0x2d8acb);for(const _0x456682 of _0xfab078){if(_0xcaff60[_0x456682]!==_0x2d8acb[_0x456682]&&''!==_0xcaff60[_0x456682]['trim']()){_0x315a20=!0x0;break;}if(!_0x3dd252(_0x1de8b1[_0x456682],_0x39ebe8[_0x456682])&&Object['keys'](_0x1de8b1[_0x456682])['length']>0x0){_0x315a20=!0x0;break;}}_0x315a20||(_0x315a20=_0x2ec92c['some'](_0x53a4cd=>!this['editor']['model']['document']['getRoot'](_0x53a4cd))),_0x315a20&&_0x38fb4e('editor-initial-data-replaced-with-revision-data',{'editorData':_0xcaff60,'editorRootsAttributes':_0x1de8b1,'revisionData':_0x2d8acb,'revisionRootsAttributes':_0x39ebe8}),this['editor']['config']['set']('initialData',_0x2d8acb),this['editor']['config']['set']('rootsAttributes',_0x39ebe8);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x7dad26=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x7dad26['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5a3e28){const _0x4f9301=this['repository']['getRevisions']();_0x4f9301['reverse']();let _0x1cda04=0x0;for(;_0x1cda04<_0x4f9301['length'];){const _0x209f5c=_0x4f9301[_0x1cda04];if(_0x209f5c===this['currentRevision']){_0x1cda04++;continue;}if(_0x209f5c['id']===this['_initialRevisionId'])break;const _0x5893fc=_0x5a3e28['toVersion']-_0x209f5c['toVersion']||_0x5a3e28['fromVersion']-_0x209f5c['fromVersion'];if(_0x5893fc>0x0)break;if(_0x5893fc<0x0)_0x1cda04++;else{if(!_0x5a3e28['creator']&&_0x209f5c['creator'])break;if(_0x209f5c['creator']||!_0x5a3e28['creator']){if(_0x5a3e28['createdAt']>_0x209f5c['createdAt'])break;_0x1cda04++;}else _0x1cda04++;}}return _0x1cda04;}['setRevisionData'](_0x22e5f2){const _0x2eecce=this['repository']['getRevision'](_0x22e5f2['id']);if(_0x22e5f2['createdAt']&&(_0x22e5f2['createdAt']=new Date(_0x22e5f2['createdAt'])),_0x22e5f2['authorsIds']){const _0x2b5b72=this['editor']['plugins']['get']('Users');_0x22e5f2['authors']=_0x22e5f2['authorsIds']['map'](_0x5d0c69=>_0x2b5b72['getUser'](_0x5d0c69));}_0x2eecce['_update'](_0x22e5f2,!0x0);}['buildRevisionData']({revision:_0x3cdb21=null,from:_0x5edfee=null,to:_0x54e795=null}){_0x5edfee=null!==_0x5edfee?_0x5edfee:_0x3cdb21['fromVersion'],_0x54e795=null!==_0x54e795?_0x54e795:_0x3cdb21['toVersion'];const _0x426ace=this['_revisionDataBuilder']['getData'](_0x5edfee,_0x54e795),_0x4fc87f={'diffData':_0x426ace['diffData'],'authorsIds':_0x426ace['authorsIds'],'fromVersion':_0x5edfee,'toVersion':_0x54e795};if(!_0x3cdb21||_0x54e795!==_0x3cdb21['toVersion']){const _0x5199fb=_0x54e795-0x1,_0x47c5f9=this['_source']['history']['getOperation'](_0x5199fb);_0x4fc87f['createdAt']=_0x47c5f9&&_0x47c5f9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5edfee===this['_loadedStateData']['fromVersion']){for(const _0x334d9a of this['_loadedStateData']['authors'])_0x4fc87f['authorsIds']['includes'](_0x334d9a['id'])||_0x4fc87f['authorsIds']['push'](_0x334d9a['id']);}return _0x4fc87f;}['_loadRevisionData'](_0xcfb056){if(!_0xcfb056||_0xcfb056['diffData'])return Promise['resolve']();{const _0x241238=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x241238,'revisionId':_0xcfb056['id']})['then'](_0x76a315=>{_0xcfb056['diffData']=_0x76a315['diffData'];});}}['_bufferUpdate'](_0x1e5d3f,_0x23b352,_0x291930){if(this['_bufferedUpdates']['has'](_0x1e5d3f)){const _0x1f57ca=this['_bufferedUpdates']['get'](_0x1e5d3f);_0x23b352=_0x291930?{..._0x1f57ca,..._0x23b352}:{..._0x23b352,..._0x1f57ca};}this['_bufferedUpdates']['set'](_0x1e5d3f,_0x23b352);}['_getFromVersion'](_0x2180d7){const _0x5569df=this['repository']['getRevisions']();_0x5569df['reverse'](),_0x5569df['shift']();const _0x2958b3=_0x5569df['find'](_0x4bb472=>_0x4bb472['toVersion']<=_0x2180d7)['toVersion'];return _0x2958b3<this['_startingVersion']?this['_startingVersion']:_0x2958b3;}['_createInitialRevision'](_0x32fd72){const _0x229e23=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x229e23)this['_initialRevisionId']=_0x229e23['id'];else{const _0x383796=!this['editor']['model']['document']['roots']['find'](_0x1f0770=>this['editor']['model']['hasContent'](_0x1f0770)),_0x4f2854=this['editor']['plugins']['get']('Users')['me']['id'],_0x4ec5a1=y(this['editor']['locale'],_0x383796?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x32fd72,'to':_0x32fd72,'id':this['_initialRevisionId'],'name':_0x4ec5a1,'creatorId':_0x4f2854});}}['_createCurrentRevision'](_0x54017d){const _0x1aa721=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1aa721),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x54017d,'to':_0x54017d,'id':_0x1aa721,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4fa689,from:_0x8fe92c,to:_0x6b4c5c,creatorId:_0xfdb7a2,id:_0x50e971}){const _0x12336b=this['buildRevisionData']({'from':_0x8fe92c,'to':_0x6b4c5c});_0x12336b['name']=_0x4fa689,_0x12336b['creatorId']=_0xfdb7a2,_0x12336b['id']=_0x50e971;const _0x51c68e=this['addRevisionData'](_0x12336b);return this['adapter']&&this['_bufferUpdate'](_0x12336b['id'],_0x12336b,!0x0),_0x51c68e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xa3f66e){return(_0xa3f66e=_0xa3f66e['filter'](_0x4350f2=>!_0x4350f2['name']||'revision-start'!==_0x4350f2['name']&&'revision-end'!==_0x4350f2['name']))['forEach'](_0x37a46c=>{'string'!=typeof _0x37a46c&&(_0x37a46c['children']=this['_removeRevisionMarkers'](_0x37a46c['children']),_0x37a46c['attributes']=_0x37a46c['attributes']['filter'](_0x124ccf=>!_0x124ccf[0x0]['startsWith']('data-revision-')));}),_0xa3f66e;}}function B(_0x3ac0dc,_0x248489){const _0x20cf73=_0x248489['editing']['view']['document'];if('string'==typeof _0x3ac0dc)return new _0x531349(_0x20cf73,_0x3ac0dc);{const _0x686bf4=_0x3ac0dc['children']['map'](_0x187f59=>B(_0x187f59,_0x248489));return new(T[_0x3ac0dc['type']]||_0x53db3e)(_0x20cf73,_0x3ac0dc['name'],_0x3ac0dc['attributes'],_0x686bf4);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4e842d){this['editor']=_0x4e842d,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'](_0x574296){this['source']=_0x574296;const _0xddf1b2=new Map(),_0x31e6fd=new Map(),_0xcd1190=this['editor']['model']['document']['roots']['map'](_0x4ffa66=>_0x4ffa66['rootName']);for(const _0x3a5f36 of _0xcd1190){const _0x173ea9=this['editor']['model']['document']['getRoot'](_0x3a5f36),_0x2fb1ff=q(_0x173ea9);_0xddf1b2['set'](_0x3a5f36,_0x2fb1ff),_0x31e6fd['set'](_0x3a5f36,Object['fromEntries'](_0x173ea9['getAttributes']()));}const _0x3c8010=Array['from'](this['editor']['model']['markers'])['map'](_0x1662ec=>[_0x1662ec['name'],_0x1662ec['getRange']()]),_0x201cf3=this['source']['version'];this['_saveMetaData'](_0x201cf3,_0xddf1b2,_0x3c8010,_0x31e6fd),this['_startingRevisionId']=this['_revisionId'];const _0xb37a6c=new Map(),_0x2a9e99=new Map();for(const _0x1400fb of _0xcd1190){const _0x4f63bb=G(_0x1400fb);_0xb37a6c['set'](_0x1400fb,_0x4f63bb),_0x2a9e99['set'](_0x1400fb,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xb37a6c,[],_0x2a9e99);}['getData'](_0x380d9f,_0x3860c4){if(this['_lastFrom']===_0x380d9f&&this['_lastTo']<=_0x3860c4)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3860c4,!0x0);else{if(!this['_savedMetaData']['has'](_0x380d9f)){const _0x2b875a=this['_getPreviousFrom'](_0x380d9f);this['_calculateMetaData'](_0x2b875a,_0x380d9f,!0x1);}this['_calculateMetaData'](_0x380d9f,_0x3860c4,!0x0);}return this['_lastFrom']=_0x380d9f,this['_lastTo']=_0x3860c4,this['_getState']();}['loadState'](_0x11b80d){this['_reset'](),this['_lastFrom']=_0x11b80d['fromVersion'],this['_lastTo']=_0x11b80d['toVersion'];for(const _0x418fe4 in _0x11b80d['diffData']){const _0x1d2016=_0x11b80d['diffData'][_0x418fe4]['attachChange'],_0x3e7cdc=_0x1e6978(_0x11b80d['diffData'][_0x418fe4]['attributesBefore'])||{},_0x519d6d=this['_makeModelFromViewString'](_0x11b80d['diffData'][_0x418fe4]['deletions']);_0x519d6d['rootName']=_0x418fe4,_0x519d6d['_isAttached']=!_0x1d2016||!_0x1d2016['isAttached'],_0x519d6d['isAttached']=()=>_0x519d6d['_isAttached'],this['_baseRoots']['set'](_0x418fe4,_0x519d6d),this['_baseRootsAttributes']['set'](_0x418fe4,_0x3e7cdc),_0x1d2016&&this['_touchedRoots']['set'](_0x418fe4,_0x1d2016);const _0x506c7f=this['_makeIdsRoot'](_0x519d6d);this['_baseIdsRoots']['set'](_0x418fe4,_0x506c7f);for(const [_0x1d378a,_0x1c7628]of _0x519d6d['markers']){if(!_0x1d378a['startsWith']('revision:'))continue;const _0x59e5e1=_0x1d378a['split'](':')[0x2];for(const _0x416294 of _0x1c7628['getWalker']({'singleCharacters':!0x0})){const _0x28304e=this['_getVidAttributeName'](_0x416294),_0x4c0b26='elementEnd'==_0x416294['type']?_0x416294['previousPosition']['path']['slice'](0x0,-0x1):_0x416294['previousPosition']['path'],_0x46fca1=_0x506c7f['getNodeByPath'](_0x4c0b26)['getAttribute'](_0x28304e);this['_touched']['set'](_0x46fca1,{'userId':_0x59e5e1});}}}this['_startingRevisionId']=this['_revisionId'];const _0x422e1a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4d4ec9=>!this['_touched']['has'](_0x4d4ec9));let _0x3dfed4=0x0;const _0x4cb09c=new Map();for(const _0x12070c in _0x11b80d['diffData']){const _0x46b5c3=_0x11b80d['diffData'][_0x12070c]['attachChange'],_0x5d9c98=_0x1e6978(_0x11b80d['diffData'][_0x12070c]['attributesAfter'])||{},_0x372e75=this['_makeModelFromViewString'](_0x11b80d['diffData'][_0x12070c]['insertions']);_0x372e75['rootName']=_0x12070c,_0x372e75['_isAttached']=!_0x46b5c3||_0x46b5c3['isAttached'],_0x372e75['isAttached']=()=>_0x372e75['_isAttached'],this['_diffRoots']['set'](_0x12070c,_0x372e75),this['_diffRootsAttributes']['set'](_0x12070c,_0x5d9c98);const _0x67cd94=this['_makeIdsRoot'](_0x372e75,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12070c,_0x67cd94),_0x4cb09c['set'](_0x12070c,_0x372e75['isAttached']()?_0x5d9c98:{});for(const [_0x5f29af,_0x5f42a1]of _0x372e75['markers']){if(!_0x5f29af['startsWith']('revision:'))continue;const _0x482706=_0x5f29af['split'](':')[0x2];for(const _0x5207bb of _0x5f42a1['getWalker']({'singleCharacters':!0x0})){const _0x19d3dc=this['_getVidAttributeName'](_0x5207bb),_0x14e3a0=this['_revisionId']++,_0xbb6aa6='elementEnd'==_0x5207bb['type']?_0x5207bb['previousPosition']['path']['slice'](0x0,-0x1):_0x5207bb['previousPosition']['path'];_0x67cd94['getNodeByPath'](_0xbb6aa6)['_setAttribute'](_0x19d3dc,_0x14e3a0),this['_touched']['set'](_0x14e3a0,{'userId':_0x482706});}}for(const _0x3e7ec1 of this['editor']['model']['createRangeIn'](_0x372e75)['getWalker']({'singleCharacters':!0x0})){const _0xf151f8=this['_getVidAttributeName'](_0x3e7ec1),_0x2a7d46='elementEnd'==_0x3e7ec1['type']?_0x3e7ec1['previousPosition']['path']['slice'](0x0,-0x1):_0x3e7ec1['previousPosition']['path'],_0xe0222b=_0x67cd94['getNodeByPath'](_0x2a7d46);_0xe0222b['getAttribute'](_0xf151f8)>0x0||_0xe0222b['_setAttribute'](_0xf151f8,_0x422e1a[_0x3dfed4++]);}for(const [_0x33520b,_0x3c7645]of _0x372e75['markers'])_0x33520b['startsWith']('revision:')||this['_markers']['set'](_0x33520b,_0x3c7645);}const _0x33acbd=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x33acbd),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x33acbd,0x1));const _0x326bd0=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x326bd0),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x326bd0,0x1));const _0x4e69f1=Array['from'](this['_diffRoots'])['map'](([_0xae0c13,_0x44241f])=>[_0xae0c13,q(_0x44241f)]);this['_saveMetaData'](this['_lastTo'],_0x4e69f1,this['_markers'],_0x4cb09c);}['_makeModelFromViewString'](_0x180dd1){const _0xec905=JSON['parse'](_0x180dd1),_0x487ba9=this['editor']['editing']['view']['document'],_0x5ab3bf=new _0x332a54(_0x487ba9,_0xec905['map'](_0x1d1f32=>B(_0x1d1f32,this['editor'])));return this['editor']['data']['toModel'](_0x5ab3bf);}['_saveMetaData'](_0x584b70,_0x1a9edf,_0x3958ef,_0x3d9d78){const _0x228ed1=new Map(_0x1a9edf),_0x3c35de=new Map(_0x1e6978(_0x3d9d78)),_0xb570=new Map();for(const [_0x34720b,_0x56788c]of _0x3958ef)_0xb570['set'](_0x34720b,{'start':_0x56788c['start']['clone'](),'end':_0x56788c['end']['clone'](),'rootName':_0x56788c['root']['rootName']});this['_savedMetaData']['set'](_0x584b70,{'roots':_0x228ed1,'markers':_0xb570,'rootsAttributes':_0x3c35de});}['_removeMetaData'](_0x544039){this['_savedMetaData']['delete'](_0x544039);}['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'](_0x24ae49,_0x31cba7=null){let _0x307d0f=null;_0x24ae49['is']('documentFragment')||(_0x307d0f=new ft(_0x24ae49['name'],{'vid_start':null===_0x31cba7?this['_revisionId']++:_0x31cba7++}));const _0x4196b4=[];for(const _0x5bae28 of _0x24ae49['getChildren']())if(_0x5bae28['is']('element')){_0x4196b4['push'](this['_makeIdsRoot'](_0x5bae28,_0x31cba7));const _0x567fe5=_0x4196b4[_0x4196b4['length']-0x1];null!==_0x31cba7&&(_0x31cba7=_0x567fe5['is']('element','$text')?_0x567fe5['getAttribute']('vid')+0x1:_0x567fe5['getAttribute']('vid_end')+0x1);}else{for(let _0x1028ff=0x0;_0x1028ff<_0x5bae28['offsetSize'];_0x1028ff++)_0x4196b4['push'](new ft('$text',{'vid':null===_0x31cba7?this['_revisionId']++:_0x31cba7++}));}if(_0x24ae49['is']('documentFragment')){const _0x119265=G(_0x24ae49['rootName']);return _0x119265['_insertChild'](0x0,_0x4196b4),_0x119265;}return _0x307d0f['_setAttribute']('vid_end',null===_0x31cba7?this['_revisionId']++:_0x31cba7++),_0x307d0f['_insertChild'](0x0,_0x4196b4),_0x307d0f;}['_calculateMetaData'](_0x5c6ede,_0x54b5de,_0xa37a0){this['_reset']();const {roots:_0x29f8f6,markers:_0x55c376,rootsAttributes:_0x33bd52}=this['_savedMetaData']['get'](_0x5c6ede);this['_baseRoots']=new Map(_0x29f8f6),this['_baseRootsAttributes']=new Map(_0x1e6978(_0x33bd52));for(const [_0x3d4221,_0x27fea5]of this['_baseRoots'])if('$graveyard'!==_0x3d4221&&(this['_diffRoots']['set'](_0x3d4221,q(_0x27fea5)),this['_diffRootsAttributes']=new Map(_0x1e6978(_0x33bd52)),_0xa37a0)){const _0x3a1069=this['_revisionId'];this['_idsRoots']['set'](_0x3d4221,this['_makeIdsRoot'](_0x27fea5)),this['_baseIdsRoots']['set'](_0x3d4221,this['_makeIdsRoot'](_0x27fea5,_0x3a1069));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xa37a0&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5e65c2,_0x4bcc27]of _0x55c376){const _0x43a890=this['_baseRoots']['get'](_0x4bcc27['rootName']),_0x44fa18=this['_diffRoots']['get'](_0x4bcc27['rootName']),_0x27df3f=new vt(this['_fixPosition'](_0x4bcc27['start'],_0x43a890),this['_fixPosition'](_0x4bcc27['end'],_0x43a890)),_0x38acd2=this['_fixRange'](_0x27df3f,_0x44fa18);_0x43a890['markers']['set'](_0x5e65c2,_0x27df3f),this['_markers']['set'](_0x5e65c2,_0x38acd2);}this['_applyOperations'](_0x5c6ede,_0x54b5de,_0xa37a0);}['_applyOperations'](_0x4c8002,_0x5dbbf5,_0x540982){for(const _0x47bdc5 of this['source']['getOperations'](_0x4c8002,_0x5dbbf5))this['_handleOperation'](_0x47bdc5,_0x540982);for(const _0x9299c8 of this['_diffRoots']['values']())_0x9299c8['markers']['clear']();for(const [_0x34dac8,_0x2254d1]of this['_markers']){this['_diffRoots']['get'](_0x2254d1['root']['rootName'])['markers']['set'](_0x34dac8,_0x2254d1['clone']());}const _0x19c8bf=new Map(),_0x96a0d8=new Map();for(const [_0x4a7f63,_0x475f73]of this['_diffRoots'])_0x19c8bf['set'](_0x4a7f63,q(_0x475f73)),_0x96a0d8['set'](_0x4a7f63,this['_diffRootsAttributes']['get'](_0x4a7f63));this['_saveMetaData'](_0x5dbbf5,_0x19c8bf,this['_markers'],_0x96a0d8);}['_getPreviousFrom'](_0x436b75){const _0x52eee1=Array['from'](this['_savedMetaData']['keys']());_0x52eee1['sort']((_0x57e551,_0x34cd80)=>_0x57e551-_0x34cd80),_0x52eee1['reverse']();for(const _0x5d2112 of _0x52eee1)if(_0x5d2112<_0x436b75)return _0x5d2112;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x52daa5,_0x2c0187){const _0x4544db=Array['from'](_0x2c0187['markers'])['map'](([_0x36c5aa,_0x1705fa])=>[_0x36c5aa,this['_fixRange'](_0x1705fa,_0x52daa5)]);_0x52daa5['markers']=new Map(_0x4544db);}['_transformMarkers'](_0xbfe422){for(const _0x2976c5 of this['_markers']['values']()){const _0x3075f7=_0x2976c5['getTransformedByOperation'](_0xbfe422),_0x322d5c=vt['_createFromRanges'](_0x3075f7);_0x2976c5['start']=_0x322d5c['start'],_0x2976c5['end']=_0x322d5c['end'];}}['_handleOperation'](_0x5611a0,_0x2b0ee3){if('addRoot'==_0x5611a0['type']||'detachRoot'==_0x5611a0['type'])return void this['_handleRootOperation'](_0x5611a0,_0x2b0ee3);if('insert'==_0x5611a0['type']){const _0x2bc962=_0x5611a0['position']['root']['rootName'];this['_diffRoots']['has'](_0x2bc962)||(this['_diffRoots']['set'](_0x2bc962,G(_0x2bc962,!0x0)),this['_diffRootsAttributes']['set'](_0x2bc962,{}),_0x2b0ee3&&this['_idsRoots']['set'](_0x2bc962,G(_0x2bc962,!0x0)));}else{if('addRootAttribute'==_0x5611a0['type']||'removeRootAttribute'==_0x5611a0['type']||'changeRootAttribute'==_0x5611a0['type'])return void this['_handleRootAttributeOperation'](_0x5611a0);}const _0x5f64a3=this['_cloneOperation'](_0x5611a0,this['_diffRoots']);if('marker'!==_0x5611a0['type']&&(_0x5f64a3['_execute'](),this['_transformMarkers'](_0x5f64a3)),_0x2b0ee3)switch(_0x5f64a3['type']){case'insert':this['_handleInsertOperation'](_0x5611a0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5611a0);break;case'merge':this['_handleMergeOperation'](_0x5611a0);break;case'split':this['_handleSplitOperation'](_0x5611a0);break;case'marker':this['_handleMarkerOperation'](_0x5611a0);}}['_cloneOperation'](_0x160615,_0x43477f){const _0x3f16fe=_0x160615['clone']();return _0x3f16fe['_authorId']=_0x160615['_authorId'],this['_fixOperation'](_0x3f16fe,_0x43477f),_0x3f16fe;}['_getBaseVids'](_0x5cd0e2){return _0x5cd0e2['map'](_0xb51fad=>{const _0x333cc5=this['_getVidAttributeName'](_0xb51fad);return Number(_0xb51fad['item']['getAttribute'](_0x333cc5));});}['_generateTape'](_0x1cdcec,_0x17a32a){if(_0x1cdcec['is']('element','$text'))_0x17a32a['push']({'item':_0x1cdcec,'type':'text'});else{_0x1cdcec['is']('element')&&_0x17a32a['push']({'item':_0x1cdcec,'type':'elementStart'});for(const _0x200711 of _0x1cdcec['getChildren']())this['_generateTape'](_0x200711,_0x17a32a);_0x1cdcec['is']('element')&&_0x17a32a['push']({'item':_0x1cdcec,'type':'elementEnd'});}return _0x17a32a;}['_getState'](){const _0x516e63=new Map(this['_touched']),_0x115946=new Map(_0x516e63),_0x328651=new Map(),_0x3d2afa={'insertions':{},'deletions':{}},_0x2f8b69={'insertions':{},'deletions':{}},_0x96e62f=new Map(),_0x5a56b6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5a56b6['delete']('$graveyard');for(const _0xed34b of _0x5a56b6){const _0x412951=this['_diffRoots']['get'](_0xed34b)||G(_0xed34b,!0x1),_0x18eca3=this['_baseRoots']['get'](_0xed34b)||G(_0xed34b,!0x1);_0x412951['isAttached']()||_0x18eca3['isAttached']()?(_0x3d2afa['insertions'][_0xed34b]=q(_0x412951),_0x3d2afa['deletions'][_0xed34b]=q(_0x18eca3),this['_copyMarkers'](_0x3d2afa['deletions'][_0xed34b],_0x18eca3),this['_copyMarkers'](_0x3d2afa['insertions'][_0xed34b],_0x412951),_0x2f8b69['insertions'][_0xed34b]=this['_generateTape'](this['_idsRoots']['get'](_0xed34b),[]),_0x2f8b69['deletions'][_0xed34b]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xed34b)||G(_0xed34b,!0x1),[])):_0x5a56b6['delete'](_0xed34b);}for(const _0x434905 of _0x5a56b6){const _0x28781a=_0x2f8b69['insertions'][_0x434905];for(const _0x15f2e3 of _0x28781a){const _0x2a12c5=this['_getVidAttributeName'](_0x15f2e3),_0x1444f7=_0x15f2e3['item']['getAttribute'](_0x2a12c5);_0x115946['delete'](_0x1444f7),_0x1444f7>=this['_startingRevisionId']&&_0x328651['set'](_0x1444f7,_0x516e63['get'](_0x1444f7));}}for(const _0x455e4c of _0x5a56b6){const _0x38c07a=_0x2f8b69['insertions'][_0x455e4c],_0x1a44ca=this['_getBaseVids'](_0x2f8b69['deletions'][_0x455e4c]);let _0xc9eeeb=0x0;for(const _0x2fc61a of _0x38c07a){const _0x1190e0=this['_getVidAttributeName'](_0x2fc61a),_0x237812=_0x2fc61a['item']['getAttribute'](_0x1190e0);if(!_0x328651['has'](_0x237812)&&!_0x96e62f['has'](_0x237812)){if(_0x115946['has'](_0x237812))_0xc9eeeb++;else{if(_0x237812!=_0x1a44ca[_0xc9eeeb]){const _0x4a0b76=_0x516e63['get'](_0x237812)||_0x516e63['get'](_0x1a44ca[_0xc9eeeb]);for(;_0x237812!=_0x1a44ca[_0xc9eeeb];)_0x115946['has'](_0x1a44ca[_0xc9eeeb])||(_0x96e62f['set'](_0x1a44ca[_0xc9eeeb],_0x4a0b76),_0x516e63['set'](_0x1a44ca[_0xc9eeeb],_0x4a0b76)),_0xc9eeeb++;}_0xc9eeeb++;}}}}for(const _0x4cef3f of _0x5a56b6){const _0x32efbc=_0x2f8b69['insertions'][_0x4cef3f];for(const _0x1d5f6a of _0x32efbc){const _0x2d13d8=this['_getVidAttributeName'](_0x1d5f6a),_0x1ad105=_0x1d5f6a['item']['getAttribute'](_0x2d13d8);if(_0x96e62f['has'](_0x1ad105)){const _0x29bf8b=_0x96e62f['get'](_0x1ad105);_0x115946['has'](_0x1ad105)||_0x115946['set'](_0x1ad105,{..._0x29bf8b}),_0x328651['set'](_0x1ad105,{..._0x29bf8b});}}}for(const _0x4b37c4 of _0x115946['keys']())_0x4b37c4>=this['_startingRevisionId']&&_0x115946['delete'](_0x4b37c4);const _0x136f8c=new Map();for(const _0x3cd7ce of _0x5a56b6){let _0x300dab=_0x2f8b69['insertions'][_0x3cd7ce];for(const _0x5946fd of _0x300dab)if(_0x5946fd['item']['is']('element','tableCell')){const _0x236e89=this['_getVidAttributeName'](_0x5946fd),_0x335232=_0x5946fd['item']['getAttribute'](_0x236e89);if(_0x328651['has'](_0x335232)){const _0xbc6e6c=_0x5946fd['item']['parent']['parent']['getAttribute']('vid_start'),_0xb469d4=_0x136f8c['get'](_0xbc6e6c)||new Set();_0xb469d4['add'](_0x328651['get'](_0x335232)['userId']),_0x136f8c['set'](_0xbc6e6c,_0xb469d4);}}_0x300dab=_0x2f8b69['deletions'][_0x3cd7ce];for(const _0x5339d2 of _0x300dab)if(_0x5339d2['item']['is']('element','tableCell')){const _0x5f2fa8=this['_getVidAttributeName'](_0x5339d2),_0x1c6141=_0x5339d2['item']['getAttribute'](_0x5f2fa8);if(_0x115946['has'](_0x1c6141)){const _0x16de08=_0x5339d2['item']['parent']['parent']['getAttribute']('vid_start'),_0x3c8c8e=_0x136f8c['get'](_0x16de08)||new Set();_0x3c8c8e['add'](_0x115946['get'](_0x1c6141)['userId']),_0x136f8c['set'](_0x16de08,_0x3c8c8e);}}for(const _0x2040e3 of _0x136f8c['keys']())(_0x328651['has'](_0x2040e3)||_0x115946['has'](_0x2040e3))&&_0x136f8c['delete'](_0x2040e3);}for(const _0xfcbce8 of _0x5a56b6){const _0x1bc71b=_0x2f8b69['insertions'][_0xfcbce8];let _0x40fb77=null,_0x3a7aa7=null;for(const _0x271c3b of _0x1bc71b){const _0xd242a2=this['_getVidAttributeName'](_0x271c3b),_0x5272d3=_0x271c3b['item']['getAttribute'](_0xd242a2),_0x1b6831=_0x136f8c['get'](_0x5272d3);_0x1b6831&&'elementStart'==_0x271c3b['type']&&(_0x40fb77=Array['from'](_0x1b6831)[0x0],_0x3a7aa7=_0x271c3b['item']['getAttribute']('vid_end')),_0x40fb77&&(_0x115946['set'](_0x5272d3,{'userId':_0x40fb77}),_0x328651['set'](_0x5272d3,{'userId':_0x40fb77})),_0x5272d3==_0x3a7aa7&&(_0x40fb77=null,_0x3a7aa7=null);}}const _0x367188={},_0x3d166a=new Set();for(const _0x5eab99 of _0x5a56b6){const _0x3fe05c=_0x3d2afa['deletions'][_0x5eab99],_0x5345aa=_0x3d2afa['insertions'][_0x5eab99];for(const {userId:_0x2ace28}of this['_touchedMarkers']['values']())null!==_0x2ace28&&_0x3d166a['add'](_0x2ace28);for(const {userId:_0x1c6257}of this['_touchedRoots']['values']())null!==_0x1c6257&&_0x3d166a['add'](_0x1c6257);this['_markChanges'](_0x5345aa,_0x2f8b69['insertions'][_0x5eab99],_0x328651,'insertion',_0x3d166a),this['_markChanges'](_0x3fe05c,_0x2f8b69['deletions'][_0x5eab99],_0x115946,'deletion',_0x3d166a),_0x367188[_0x5eab99]={'insertions':this['_prepareViewToSave'](_0x5345aa),'deletions':this['_prepareViewToSave'](_0x3fe05c),'attachChange':this['_touchedRoots']['get'](_0x5eab99)||null,'attributesBefore':_0x1e6978(this['_baseRootsAttributes']['get'](_0x5eab99))||{},'attributesAfter':_0x1e6978(this['_diffRootsAttributes']['get'](_0x5eab99))};}return{'diffData':_0x367188,'authorsIds':Array['from'](_0x3d166a)};}['_processRootBeforeSave'](_0x5df165){for(const [,_0x3cf7d2]of _0x5df165['markers']){const _0x4d4786=_0x3cf7d2['start']['getAncestors']()['filter'](_0x154987=>'tableCell'==_0x154987['name']);for(const _0x38bd2d of _0x4d4786)0x1==_0x38bd2d['childCount']&&_0x38bd2d['getChild'](0x0)['is']('element','paragraph')&&_0x38bd2d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x383e5e){this['_processRootBeforeSave'](_0x383e5e);const _0x2d8c8d=this['editor']['data']['toView'](_0x383e5e,{}),_0x5ed3b9=Array['from'](_0x2d8c8d['getChildren']())['map'](_0x31b5ca=>this['_getViewJson'](_0x31b5ca));return JSON['stringify'](_0x5ed3b9);}['_getViewJson'](_0x50b5d1){if(_0x50b5d1['is']('$text'))return _0x50b5d1['data'];{const _0x178a35=_0x50b5d1;return{'type':Object['keys'](T)['find'](_0x2d8ea2=>_0x50b5d1 instanceof T[_0x2d8ea2]),'name':_0x178a35['name'],'attributes':Array['from'](_0x178a35['getAttributes']()),'children':Array['from'](_0x178a35['getChildren']())['map'](_0x5a273d=>this['_getViewJson'](_0x5a273d))};}}['_markChanges'](_0x48e5f0,_0x10c44f,_0xe32b62,_0x13ed4a,_0x2c60e8){let _0x187a73=null,_0x1c0abf=null,_0x230b7d=0x0;const _0x4f8a64=this['editor']['model'];for(let _0x5b67ac=0x0;_0x5b67ac<_0x10c44f['length'];_0x5b67ac++){const _0x40ac77=this['_getVidAttributeName'](_0x10c44f[_0x5b67ac]),_0x50007f=_0x10c44f[_0x5b67ac]['item']['getAttribute'](_0x40ac77),_0x59b2cf=_0xe32b62['get'](_0x50007f),_0x30f769=_0x5b67ac==_0x10c44f['length']-0x1;(!_0x187a73&&_0x59b2cf&&(_0x187a73=_0x59b2cf,_0x1c0abf=_0x10c44f[_0x5b67ac]),_0x187a73&&(!_0x59b2cf||_0x59b2cf['userId']!=_0x187a73['userId']))&&(_0x573c6f(_0x59b2cf,L(_0x1c0abf,_0x48e5f0,_0x4f8a64),L(_0x10c44f[_0x5b67ac],_0x48e5f0,_0x4f8a64)),_0x187a73=_0x59b2cf||null,_0x1c0abf=_0x59b2cf?_0x10c44f[_0x5b67ac]:null),_0x187a73&&_0x30f769&&_0x573c6f(_0x59b2cf,L(_0x1c0abf,_0x48e5f0,_0x4f8a64),W(_0x10c44f[_0x5b67ac],_0x48e5f0,_0x4f8a64));}function _0x573c6f(_0x20a133,_0x2da0df,_0x105aa0){const _0x5d18de=_0x187a73['userId'],_0x2075a7='revision:'+_0x13ed4a+':'+_0x5d18de+':'+_0x230b7d++,_0x550d4b=_0x4f8a64['createRange'](_0x2da0df,_0x105aa0);_0x48e5f0['markers']['set'](_0x2075a7,_0x550d4b),null!==_0x5d18de&&_0x2c60e8['add'](_0x5d18de);}}['_getVidAttributeName'](_0x32731a){switch(_0x32731a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1bfa4d,_0x2e2491){_0x1bfa4d['baseVersion']=null;for(const _0x227daa in _0x1bfa4d){const _0x1df05a=_0x1bfa4d[_0x227daa];if(_0x1df05a instanceof gt){const _0x96dd34=_0x2e2491['get'](_0x1df05a['root']['rootName']);_0x1bfa4d[_0x227daa]=this['_fixPosition'](_0x1df05a,_0x96dd34);}if(_0x1df05a instanceof vt){const _0x5b0d54=_0x2e2491['get'](_0x1df05a['root']['rootName']);_0x1bfa4d[_0x227daa]=this['_fixRange'](_0x1df05a,_0x5b0d54);}'root'===_0x227daa&&(_0x1bfa4d['root']=_0x2e2491['get'](_0x1bfa4d['root']['rootName']));}}['_fixRange'](_0x12b1f0,_0xd16689){return this['editor']['model']['createRange'](this['_fixPosition'](_0x12b1f0['start'],_0xd16689),this['_fixPosition'](_0x12b1f0['end'],_0xd16689));}['_fixPosition'](_0x3f6d7c,_0x4df996){return this['editor']['model']['createPositionFromPath'](_0x4df996,_0x3f6d7c['path'],_0x3f6d7c['stickiness']);}['_handleInsertOperation'](_0x5cfdf){const _0x3365c5=this['_idsRoots']['get'](_0x5cfdf['position']['root']['rootName']),_0x40d4c1=this['_fixPosition'](_0x5cfdf['position'],_0x3365c5),_0x54fd80=null===_0x5cfdf['_authorId']?null:_0x5cfdf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2eef80=_0x40d4c1['parent'],_0xa738f9=this['_revisionId'],_0x52aab1=[];for(const _0x50a116 of _0x5cfdf['nodes'])if(_0x50a116['is']('element'))_0x52aab1['push'](this['_makeIdsRoot'](_0x50a116));else{for(let _0x3706df=0x0;_0x3706df<_0x50a116['offsetSize'];_0x3706df++)_0x52aab1['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x568b93=this['_revisionId'];for(let _0x51bc99=_0xa738f9;_0x51bc99<_0x568b93;_0x51bc99++)this['_touched']['set'](_0x51bc99,{'userId':_0x54fd80});_0x2eef80['_insertChild'](_0x40d4c1['offset'],_0x52aab1);}['_handleMoveOperation'](_0x4e75d9){(_0x4e75d9=this['_cloneOperation'](_0x4e75d9,this['_idsRoots']))['_execute']();const _0x2986d3=null===_0x4e75d9['_authorId']?null:_0x4e75d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x456e0a=_0x4e75d9['getMovedRangeStart'](),_0xb8922e=_0x456e0a['parent'],_0x33de2d=_0x456e0a['offset'];!function _0xf3df13(_0x377388,_0x4055e6,_0x51daac,_0x3785b0){for(let _0x568ede=_0x51daac;_0x568ede<_0x3785b0;_0x568ede++){const _0x969f25=_0x4055e6['getChild'](_0x568ede);_0x969f25['is']('element','$text')?_0x377388['set'](_0x969f25['getAttribute']('vid'),{'userId':_0x2986d3}):(_0x377388['set'](_0x969f25['getAttribute']('vid_start'),{'userId':_0x2986d3}),_0xf3df13(_0x377388,_0x969f25,0x0,_0x969f25['childCount']),_0x377388['set'](_0x969f25['getAttribute']('vid_end'),{'userId':_0x2986d3}));}}(this['_touched'],_0xb8922e,_0x33de2d,_0x33de2d+_0x4e75d9['howMany']);}['_handleMergeOperation'](_0x3e9c20){const _0x376421=null===(_0x3e9c20=this['_cloneOperation'](_0x3e9c20,this['_idsRoots']))['_authorId']?null:_0x3e9c20['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d767a=_0x3e9c20['targetPosition']['parent'],_0x450c25=_0x3e9c20['sourcePosition']['parent'],_0x3d6abb=_0x3d767a['getAttribute']('vid_end'),_0x454f9a=_0x450c25['getAttribute']('vid_start');_0x3d767a['_setAttribute']('vid_end',_0x450c25['getAttribute']('vid_end')),_0x450c25['_setAttribute']('vid_end',_0x3d6abb),this['_touched']['set'](_0x454f9a,{'userId':_0x376421}),this['_touched']['set'](_0x3d6abb,{'userId':_0x376421}),_0x3e9c20['_execute']();}['_handleSplitOperation'](_0x3e201e){const _0x867b71=null===(_0x3e201e=this['_cloneOperation'](_0x3e201e,this['_idsRoots']))['_authorId']?null:_0x3e201e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x629fb4=_0x3e201e['graveyardPosition'],_0x2aa12d=_0x3e201e['splitPosition']['parent'];_0x3e201e['_execute']();const _0x387416=_0x2aa12d['getAttribute']('vid_end'),_0x4d5d62=_0x3e201e['insertionPosition']['nodeAfter'];if(_0x629fb4){const _0x2f497d=_0x4d5d62['getAttribute']('vid_end'),_0x128532=_0x2aa12d['getAttribute']('vid_end');_0x2aa12d['_setAttribute']('vid_end',_0x2f497d),_0x4d5d62['_setAttribute']('vid_end',_0x128532),this['_touched']['set'](_0x2aa12d['getAttribute']('vid_end'),{'userId':_0x867b71}),this['_touched']['set'](_0x4d5d62['getAttribute']('vid_start'),{'userId':_0x867b71});}else{const _0x327298=this['_revisionId']++,_0x3c7693=this['_revisionId']++;_0x2aa12d['_setAttribute']('vid_end',_0x327298),_0x4d5d62['_setAttribute']('vid_start',_0x3c7693),_0x4d5d62['_setAttribute']('vid_end',_0x387416),this['_touched']['set'](_0x327298,{'userId':_0x867b71}),this['_touched']['set'](_0x3c7693,{'userId':_0x867b71});}}['_handleMarkerOperation'](_0x40f44a){if(!_0x40f44a['affectsData'])return;const _0x4ad02d=(_0x40f44a=this['_cloneOperation'](_0x40f44a,this['_diffRoots']))['oldRange']?_0x40f44a['oldRange']['root']:null,_0x40b68f=_0x40f44a['newRange']?_0x40f44a['newRange']['root']:null;_0x4ad02d&&this['_markers']['delete'](_0x40f44a['name']),_0x40b68f&&this['_markers']['set'](_0x40f44a['name'],_0x40f44a['newRange']['clone']());const _0x37b7a8=null===_0x40f44a['_authorId']?null:_0x40f44a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x150318=_0x40f44a['name'];if(!this['_touchedMarkers']['has'](_0x150318))return void this['_touchedMarkers']['set'](_0x150318,{'range':_0x40f44a['oldRange'],'userId':_0x37b7a8});const _0x4d53c4=this['_touchedMarkers']['get'](_0x150318),_0x35198e=_0x4d53c4['range'],_0x4efc10=_0x40f44a['newRange'];null==_0x35198e&&null==_0x4efc10||_0x35198e&&_0x4efc10&&_0x35198e['isEqual'](_0x4efc10)?this['_touchedMarkers']['delete'](_0x40f44a['name']):_0x4d53c4['userId']=_0x37b7a8;}['_handleRootOperation'](_0x323826,_0x19cc2a){this['_diffRoots']['has'](_0x323826['rootName'])?this['_diffRoots']['get'](_0x323826['rootName'])['_isAttached']=_0x323826['isAdd']:(this['_diffRoots']['set'](_0x323826['rootName'],G(_0x323826['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x323826['rootName'],{}),_0x19cc2a&&this['_idsRoots']['set'](_0x323826['rootName'],G(_0x323826['rootName'],!0x0)));const _0x5ad177=null===_0x323826['_authorId']?null:_0x323826['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x48b143=this['_touchedRoots']['get'](_0x323826['rootName']);_0x48b143&&_0x48b143['userId']===_0x5ad177?this['_touchedRoots']['delete'](_0x323826['rootName']):this['_touchedRoots']['set'](_0x323826['rootName'],{'userId':_0x5ad177,'isAttached':_0x323826['isAdd']});}['_handleRootAttributeOperation'](_0x398338){const _0x2df72a=this['_diffRootsAttributes']['get'](_0x398338['root']['rootName']);null===_0x398338['newValue']?delete _0x2df72a[_0x398338['key']]:_0x2df72a[_0x398338['key']]=_0x398338['newValue'];}}function q(_0x21b946){const _0x5392bf=G(_0x21b946['rootName'],_0x21b946['isAttached']());for(const _0x4b2b1a of _0x21b946['getChildren']()){const _0x124209=_0x4b2b1a['_clone'](!0x0);_0x5392bf['_appendChild'](_0x124209);}return _0x5392bf;}function G(_0x1bfcaa,_0x43c2d0=!0x0){const _0x4251bd=new wt();return _0x4251bd['rootName']=_0x1bfcaa,_0x4251bd['_isAttached']=_0x43c2d0,_0x4251bd['isAttached']=()=>_0x4251bd['_isAttached'],_0x4251bd;}function L(_0xd59792,_0x4156f6,_0x58ae76){const _0x81e200='elementEnd'==_0xd59792['type']?_0x58ae76['createPositionAt'](_0xd59792['item'],'end'):_0x58ae76['createPositionBefore'](_0xd59792['item']);return _0x58ae76['createPositionFromPath'](_0x4156f6,_0x81e200['path'],_0x81e200['stickiness']);}function W(_0x155709,_0x2629d7,_0x4a6c79){const _0x28cd5e='elementStart'==_0x155709['type']?_0x4a6c79['createPositionAt'](_0x155709['item'],0x0):_0x4a6c79['createPositionAfter'](_0x155709['item']);return _0x4a6c79['createPositionFromPath'](_0x2629d7,_0x28cd5e['path'],_0x28cd5e['stickiness']);}class ns extends _0x45ecbe{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x19d1fc,_0x4010fc){super(_0x19d1fc),this['focusTracker']=new _0x2d4960(),this['keystrokes']=new _0x58a4e1(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4010fc),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'](),_0x3fbf0f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x366657=_0x48cb83=>_0x48cb83['stopPropagation']();this['keystrokes']['set']('arrowright',_0x366657),this['keystrokes']['set']('arrowleft',_0x366657),this['keystrokes']['set']('arrowup',_0x366657),this['keystrokes']['set']('arrowdown',_0x366657);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x52fa18){this['revisionNameInputView']['fieldView']['element']['value']=_0x52fa18['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x8a2489){const _0x266c34=new at(this['locale'],_0x1efd79),_0x31a934=_0x266c34['fieldView'];_0x31a934['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x42dd6d=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x8a2489&&(_0x42dd6d+='\x20('+y(this['locale'],'optional')+')'),(_0x266c34['label']=_0x42dd6d,_0x31a934['on']('input',()=>{this['revisionNameInputValue']=_0x31a934['element']['value']['trim']();}),_0x266c34);}}class u extends _0x34d3ab{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1ccc34=this['editor'],_0x16980e=_0x1ccc34['plugins']['get']('RevisionTracker');_0x1ccc34['ui']['componentFactory']['add']('revisionHistory',_0x11b4b6=>{const _0x3936ae=_0x4b835c(_0x11b4b6),_0x56e3a7=_0x3936ae['panelView']['children'],_0x566659=new te(_0x11b4b6),_0x3cf522=new _0x25ee5f(_0x11b4b6),_0x3c25f5=new _0x5368df(_0x11b4b6),_0x468273=new _0x25ee5f(_0x11b4b6),_0x2edd61=new _0x5368df(_0x11b4b6);return _0x3936ae['bind']('isEnabled')['to'](_0x16980e,'isReady',_0x16980e,'isEnabled',_0x1ccc34,'isReadOnly',(_0x162cc0,_0x25a8be,_0x288f2e)=>_0x162cc0&&_0x25a8be&&!_0x288f2e),_0x3936ae['buttonView']['set']({'icon':_0x39b7e7['history'],'label':y(_0x11b4b6,'Revision\x20history'),'tooltip':!0x0}),_0x3c25f5['set']({'label':y(_0x11b4b6,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3c25f5['bind']('isEnabled')['to'](_0x16980e,'isReady',_0x16980e,'isEnabled',_0x1ccc34,'isReadOnly',(_0x318f63,_0xcce339,_0x5770d5)=>_0x318f63&&_0xcce339&&!_0x5770d5),_0x3c25f5['on']('execute',()=>this['_showDialog']()),_0x2edd61['set']({'label':y(_0x11b4b6,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2edd61['bind']('isEnabled')['to'](_0x16980e,'isReady',_0x1ccc34,'isReadOnly',(_0x41b571,_0x32b5eb)=>_0x41b571&&!_0x32b5eb),_0x2edd61['on']('execute',()=>{_0x1ccc34['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3936ae['isOpen']=!0x1,_0x1ccc34['editing']['view']['focus']();}),_0x3cf522['children']['add'](_0x3c25f5),_0x468273['children']['add'](_0x2edd61),_0x566659['role']='menu',_0x566659['items']['addMany']([_0x3cf522,_0x468273]),_0x56e3a7['add'](_0x566659),_0x3936ae;}),_0x1ccc34['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4da631=this['editor'],_0x3241f3=_0x4da631['locale'],_0x278f2f=new _0x3b096f(_0x3241f3),_0x4b00ae=new _0x50e82d(_0x3241f3);_0x278f2f['buttonView']['set']({'icon':_0x39b7e7['history'],'label':y(_0x3241f3,'Revision\x20history')});const _0x6619d3=new _0x5f07e6(_0x3241f3,_0x278f2f),_0x1034ef=new _0x3ee2d5(_0x3241f3);_0x1034ef['set']({'label':y(_0x3241f3,'Save\x20current\x20revision')}),_0x1034ef['delegate']('execute')['to'](_0x278f2f),_0x1034ef['on']('execute',()=>{this['_showDialog']();}),_0x6619d3['children']['add'](_0x1034ef),_0x4b00ae['items']['add'](_0x6619d3);const _0x2a9f30=new _0x5f07e6(_0x3241f3,_0x278f2f),_0x4fa9b7=new _0x3ee2d5(_0x3241f3);return _0x4fa9b7['set']({'label':y(_0x3241f3,'Open\x20revision\x20history')}),_0x4fa9b7['delegate']('execute')['to'](_0x278f2f),_0x4fa9b7['on']('execute',()=>{_0x4da631['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2a9f30['children']['add'](_0x4fa9b7),_0x4b00ae['items']['add'](_0x2a9f30),_0x278f2f['panelView']['children']['add'](_0x4b00ae),_0x278f2f;}['_showDialog'](){const _0x4b4292=this['editor'],_0xc6fbec=_0x4b4292['locale'],_0x368844=_0x4b4292['plugins']['get']('Dialog'),_0x9a89a8=_0x4b4292['plugins']['get']('RevisionTracker');function _0x2e4858(_0x508415){_0x4b4292['config']['get']('revisionHistory.requireRevisionName')&&''===_0x508415['revisionName']?_0x508415['revisionNameInputView']['errorText']=y(_0xc6fbec,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4b4292['plugins']['get'](l)['saveRevision']({'name':_0x508415['revisionName']}),_0x368844['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2e4858(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x368844['show']({'id':'revisionSave','title':y(_0xc6fbec,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x4b4292['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x368844['hide']()},{'label':y(_0x4b4292['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3d41ef){_0x3d41ef['bind']('isEnabled')['to'](_0x9a89a8,'isReady',_0x9a89a8,'isEnabled',_0x4b4292,'isReadOnly',(_0x966191,_0x1b1363,_0x5b93a4)=>_0x966191&&_0x1b1363&&!_0x5b93a4);},'onExecute':()=>_0x2e4858(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x534325=this['editor'],_0x46cf98=_0x534325['locale'];this['_saveRevisionFormView']=new ns(_0x46cf98,_0x534325['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x45ecbe{['changeId'];['_model'];constructor(_0x361ebc,_0x4ae6c2){super(_0x361ebc),this['_model']=_0x4ae6c2,this['changeId']=_0x4ae6c2['id'];const _0x417e3d=this['bindTemplate'],_0x403893=y(_0x361ebc,_0x4ae6c2['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4ae6c2['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4ae6c2['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x417e3d['to']('type',_0x4303d8=>'ck-revision-change__'+_0x4303d8)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x403893}]},{'text':'\x20'+_0x4ae6c2['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x1a7f4e(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xce36a9){super(),this['id']=_0xce36a9['id']||_0x382529(),this['author']=_0xce36a9['author'],this['type']=_0xce36a9['type'],this['data']=_0xce36a9['data']||{},this['rootName']=_0xce36a9['rootName'],this['set']('createdAt',_0xce36a9['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(_0x3e7835,_0x497b3e){this['newRevisionId']=_0x3e7835,this['oldRevisionId']=_0x497b3e,this['changes']=new _0x2224e5();}['_setChanges'](_0x4bfcbd){for(const _0x6dd1f2 of _0x4bfcbd)this['changes']['add'](_0x6dd1f2);}}const tt={'c':_0x33b7d4,'a':_0x5e5c47,'e':_0x5b67a9,'r':_0x5e69b3,'u':_0x56f0e3};class d extends _0x34d3ab{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2abcf7,_0x17b7a4,A];}constructor(_0x335f18){super(_0x335f18),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',(_0x54f5fb,_0x2e3ac3,_0x21dbad)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2382b7=>{for(const _0x6e4ce8 of this['editor']['editing']['view']['document']['roots'])_0x21dbad?_0x2382b7['removeClass']('ck-editor__editable__overlay',_0x6e4ce8):_0x2382b7['addClass']('ck-editor__editable__overlay',_0x6e4ce8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x52d6a1=>null!==_0x52d6a1),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x541a77,_0x2f7b6f,_0xe3d00e)=>_0x541a77&&_0xe3d00e?_0x2f7b6f['changes']['getIndex'](_0xe3d00e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3e5e18,_0x2bb25f)=>_0x3e5e18?_0x2bb25f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x17b7a4);}['init'](){const _0x1260c0=this['editor'],_0x45b85e=new yt(_0x1260c0,{'direction':'backward'}),_0x580a73=new yt(_0x1260c0,{'direction':'forward'});(_0x1260c0['commands']['add']('showPreviousChange',_0x45b85e),_0x1260c0['commands']['add']('showNextChange',_0x580a73),_0x1260c0['commands']['add']('restoreRevision',new bt(_0x1260c0)),this['on']('change:numberOfChanges',()=>{_0x45b85e['refresh'](),_0x580a73['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1260c0['enableReadOnlyMode']('revision-viewer'),_0x1260c0['plugins']['has']('WidgetToolbarRepository'))&&_0x1260c0['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x6545ad){await this['loadRevisionData'](_0x6545ad);const _0x46ae23={};for(const _0x5eb9fd in _0x6545ad['diffData']){if(_0x6545ad['diffData'][_0x5eb9fd]['attachChange']&&!_0x6545ad['diffData'][_0x5eb9fd]['attachChange']['isAttached'])continue;const _0x1509c7=this['_removeRevisionMarkers'](JSON['parse'](_0x6545ad['diffData'][_0x5eb9fd]['insertions'])),_0xd1fa62=this['editor']['editing']['view']['document'],_0x5a8bb2=new _0x332a54(_0xd1fa62,_0x1509c7['map'](_0x3f543a=>this['_getViewObj'](_0x3f543a)));this['editor']['data']['processor']['useFillerType']('marked'),_0x46ae23[_0x5eb9fd]=this['editor']['data']['processor']['toData'](_0x5a8bb2),this['editor']['data']['processor']['useFillerType']('default');}return _0x46ae23;}async['getRevisionRootsAttributes'](_0x2c28b7){await this['loadRevisionData'](_0x2c28b7);const _0x1eee8c={};for(const _0x179ab4 in _0x2c28b7['diffData'])_0x2c28b7['diffData'][_0x179ab4]['attachChange']&&!_0x2c28b7['diffData'][_0x179ab4]['attachChange']['isAttached']||(_0x1eee8c[_0x179ab4]=_0x2c28b7['diffData'][_0x179ab4]['attributesAfter']||{});return _0x1eee8c;}['_removeRevisionMarkers'](_0x39c511){return(_0x39c511=_0x39c511['filter'](_0x495c3a=>!_0x495c3a['name']||'revision-start'!==_0x495c3a['name']&&'revision-end'!==_0x495c3a['name']))['forEach'](_0x5de63d=>{'string'!=typeof _0x5de63d&&(_0x5de63d['children']=this['_removeRevisionMarkers'](_0x5de63d['children']),_0x5de63d['attributes']=_0x5de63d['attributes']['filter'](_0xa76f7c=>!_0xa76f7c[0x0]['startsWith']('data-revision-')));}),_0x39c511;}async['compare'](_0x35131b,_0x54cb55,_0x2ef671=!0x1){if(!this['isEnabled'])return;const _0x161266=this['diff'],_0x1b06e0=this['repository'],_0x47a194='string'==typeof _0x35131b?_0x1b06e0['getRevision'](_0x35131b):_0x35131b,_0x470650='string'==typeof _0x54cb55?_0x1b06e0['getRevision'](_0x54cb55):_0x54cb55,_0x269e99=_0x47a194['id'],_0x1c034a=_0x470650?_0x470650['id']:null;if(!_0x2ef671&&this['diff']&&this['diff']['newRevisionId']===_0x269e99&&this['diff']['oldRevisionId']===_0x1c034a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x269e99,_0x1c034a);const _0x28ec87=this['_getRevisionsRange'](_0x47a194,_0x470650,!0x0)['map'](_0x550fd6=>this['loadRevisionData'](_0x550fd6));return _0x28ec87['push'](new Promise(_0x49cf5b=>{setTimeout(_0x49cf5b,0x14);})),Promise['all'](_0x28ec87)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x17cc4e=this['_getDiff'](_0x269e99,_0x1c034a);for(const _0x51a489 of _0x17cc4e['changes'])this['_changeIdToChange']['set'](_0x51a489['id'],_0x51a489);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x17dada=>{for(const _0x5bec01 of this['editor']['model']['document']['getRootNames']())_0x17dada['detachRoot'](_0x5bec01);for(const _0x2b8373 of Object['keys'](_0x17cc4e['model'])){const _0x39afad=_0x17dada['addRoot'](_0x2b8373);for(const _0x1e9029 of Object['keys'](_0x17cc4e['attributes'][_0x2b8373]))_0x17dada['setAttribute'](_0x1e9029,_0x17cc4e['attributes'][_0x2b8373][_0x1e9029],_0x39afad);_0x17dada['insert'](_0x17cc4e['model'][_0x2b8373],_0x39afad,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x17cc4e['changes'])),this['isReady']=!0x0;})['catch'](_0x1b76ae=>{console['error'](_0x1b76ae),this['_cleanUp'](),_0x161266&&(this['diff']=_0x161266),this['isReady']=!0x0;});}['addRevisionData'](_0x27b646,_0x44aea2){const _0x492bf3=this['repository']['createRevision'](_0x27b646);return _0x492bf3['on']('_update',(_0x102211,_0x302957,_0x3281f3)=>_0x44aea2(_0x302957,_0x3281f3,_0x492bf3)),this['repository']['addRevision'](_0x492bf3),_0x492bf3;}['loadRevisionData'](_0x4fd7a1){if(!_0x4fd7a1||_0x4fd7a1['diffData'])return Promise['resolve']();{const _0xdad25d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xdad25d,'revisionId':_0x4fd7a1['id']})['then'](_0x2e7d38=>{_0x4fd7a1['_update']({'diffData':_0x2e7d38['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},_0xd596c0=>{for(const _0x37b6da of this['editor']['model']['document']['getRootNames']())_0xd596c0['detachRoot'](_0x37b6da);});}['_sortAndFilterDiffChanges'](_0x5b923e){const _0x499c52=[],_0x5e1d8=new Map();for(const _0xc2a591 of this['editor']['model']['document']['getRootNames']()){const _0x32b3bd=this['editor']['editing']['view']['getDomRoot'](_0xc2a591);if(!_0x32b3bd)continue;const _0xb806f6=_0x32b3bd['getClientRects']()['item'](0x0);_0xb806f6&&(_0x499c52['push'](_0xc2a591),_0x5e1d8['set'](_0xc2a591,_0xb806f6));}return _0x499c52['sort']((_0x4dd46d,_0x5d663b)=>{const _0x3608ab=_0x5e1d8['get'](_0x4dd46d),_0x5c4fcf=_0x5e1d8['get'](_0x5d663b);return _0x3608ab['y']-_0x5c4fcf['y']||_0x3608ab['x']-_0x5c4fcf['x'];}),(_0x5b923e=_0x5b923e['filter'](_0x109f1e=>_0x499c52['includes'](_0x109f1e['rootName'])))['sort']((_0x418e69,_0x2065be)=>_0x499c52['indexOf'](_0x418e69['rootName'])-_0x499c52['indexOf'](_0x2065be['rootName'])),_0x5b923e;}['_makeTape'](_0x59aed9){const _0x186ec5=Array['from'](_0x59aed9['markers'])['filter'](([_0x3cb67c,_0x3301aa])=>_0x3cb67c['startsWith']('revision:')&&!_0x3301aa['isCollapsed']),_0x1294a5=Array['from'](this['editor']['model']['createRangeIn'](_0x59aed9)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x186ec5['length'])for(const _0x13b64a of _0x1294a5){const [_0x5c7ffb,_0x4ce929]=_0x186ec5[0x0],[,_0x2b5a42,_0xe365e7]=_0x5c7ffb['split'](':');if(_0x4ce929['end']['isEqual'](_0x13b64a['nextPosition'])&&_0x186ec5['shift'](),(_0x13b64a['previousPosition']['isEqual'](_0x4ce929['start'])||_0x13b64a['previousPosition']['isAfter'](_0x4ce929['start']))&&('insertion'==_0x2b5a42?_0x13b64a['isAdded']={'userId':_0xe365e7}:'deletion'==_0x2b5a42&&(_0x13b64a['isRemoved']={'userId':_0xe365e7})),0x0==_0x186ec5['length'])break;}return _0x1294a5;}['_refreshStartEndIndex'](_0x1f5878){const _0x35c031=new Map();for(let _0x1ffc36=0x0;_0x1ffc36<_0x1f5878['length'];_0x1ffc36++)'text'===_0x1f5878[_0x1ffc36]['type']?(_0x1f5878[_0x1ffc36]['item']['startIndex']=_0x1ffc36,_0x1f5878[_0x1ffc36]['item']['endIndex']=_0x1ffc36):('elementStart'===_0x1f5878[_0x1ffc36]['type']?_0x1f5878[_0x1ffc36]['item']['startIndex']=_0x1ffc36:'elementEnd'===_0x1f5878[_0x1ffc36]['type']&&(_0x1f5878[_0x1ffc36]['item']['endIndex']=_0x1ffc36),_0x35c031['set'](_0x1f5878[_0x1ffc36]['id'],_0x1ffc36));for(const _0x5302e3 of _0x35c031['values']())'elementStart'===_0x1f5878[_0x5302e3]['type']?_0x1f5878[_0x5302e3]['item']['endIndex']=_0x35c031['get'](_0x1f5878[_0x5302e3]['pairId']):'elementEnd'===_0x1f5878[_0x5302e3]['type']&&(_0x1f5878[_0x5302e3]['item']['startIndex']=_0x35c031['get'](_0x1f5878[_0x5302e3]['pairId']));}['_processTape'](_0x16ce86){for(let _0x2406c3=0x0;_0x2406c3<_0x16ce86['length'];_0x2406c3++){if('elementStart'===_0x16ce86[_0x2406c3]['type'])_0x16ce86[_0x2406c3]['item']['startIndex']=_0x2406c3;else{if('elementEnd'===_0x16ce86[_0x2406c3]['type']){_0x16ce86[_0x2406c3]['item']['endIndex']=_0x2406c3;const _0x462d13=_0x16ce86[_0x2406c3]['item']['startIndex'];_0x16ce86[_0x462d13]['pairId']=_0x16ce86[_0x2406c3]['id'],_0x16ce86[_0x2406c3]['pairId']=_0x16ce86[_0x462d13]['id'];}else _0x16ce86[_0x2406c3]['item']['startIndex']=_0x2406c3,_0x16ce86[_0x2406c3]['item']['endIndex']=_0x2406c3,_0x16ce86[_0x2406c3]['pairId']=null;}_0x16ce86[_0x2406c3]['markersStart']||(_0x16ce86[_0x2406c3]['markersStart']=[],_0x16ce86[_0x2406c3]['markersEnd']=[]);}}['_markInsertions'](_0x4ad9ee,_0x29b319){const _0x171ad3=_0x4ad9ee['filter'](_0x1f0e08=>!_0x1f0e08['isAdded']);for(let _0x45bf8c=0x0;_0x45bf8c<_0x29b319['length'];_0x45bf8c++)_0x29b319[_0x45bf8c]['isAdded']&&(_0x171ad3[_0x45bf8c]['isAdded']=_0x29b319[_0x45bf8c]['isAdded']);}['_makeModelFromViewString'](_0x38cc18){const _0x49be0e=JSON['parse'](_0x38cc18),_0x52e274=this['editor']['editing']['view']['document'],_0x154ba4=new _0x332a54(_0x52e274,_0x49be0e['map'](_0x4d3bd3=>this['_getViewObj'](_0x4d3bd3)));return this['editor']['data']['toModel'](_0x154ba4);}['_getViewObj'](_0x4c2e47){const _0x154343=this['editor']['editing']['view']['document'];if('string'==typeof _0x4c2e47)return new _0x531349(_0x154343,_0x4c2e47);{const _0x56e24b=_0x4c2e47['children']['map'](_0x31f521=>this['_getViewObj'](_0x31f521));return new(tt[_0x4c2e47['type']]||_0x53db3e)(_0x154343,_0x4c2e47['name'],_0x4c2e47['attributes'],_0x56e24b);}}['_getDiff'](_0x40504c,_0x20993c=null){const _0x5520e0=this['repository']['getRevision'](_0x40504c),_0x498d9f=_0x20993c?this['repository']['getRevision'](_0x20993c):null,_0x39f5b5=this['_getRevisionsRange'](_0x5520e0,_0x498d9f),_0x359a1a=_0x39f5b5[_0x39f5b5['length']-0x1],_0x51c6d8=new Map(),_0x3d42a4={'model':{},'attributes':{},'changes':[]},_0x19da6c=new Set(),_0x59f645=new Map();for(let _0x3b961a=_0x39f5b5['length']-0x1;_0x3b961a>=0x0;_0x3b961a--){const _0x2d3e8b=_0x39f5b5[_0x3b961a];for(const _0x435f15 of Object['keys'](_0x2d3e8b['diffData']))if(_0x2d3e8b['diffData'][_0x435f15]['attachChange']){const _0x5112d8=_0x2d3e8b['diffData'][_0x435f15]['attachChange'];_0x5112d8['isAttached']?(_0x19da6c['add'](_0x435f15),_0x59f645['has'](_0x435f15)&&_0x59f645['get'](_0x435f15)['userId']==_0x5112d8['userId']?_0x59f645['delete'](_0x435f15):_0x59f645['set'](_0x435f15,_0x5112d8)):_0x59f645['has'](_0x435f15)?(_0x19da6c['delete'](_0x435f15),_0x59f645['delete'](_0x435f15)):(_0x19da6c['add'](_0x435f15),_0x59f645['set'](_0x435f15,_0x5112d8));}else _0x19da6c['add'](_0x435f15);}for(const _0x52c121 of _0x19da6c){const _0x3c4815=_0x59f645['has'](_0x52c121)&&!_0x59f645['get'](_0x52c121)['isAttached'];let _0x142f37=_0x3c4815?_0x39f5b5['length']-0x1:0x0;const _0x230fe8=_0x3c4815?-0x1:0x1;for(;_0x39f5b5[_0x142f37];){const _0x254b20=_0x39f5b5[_0x142f37];if(_0x254b20['diffData'][_0x52c121]){const _0x3ebfcd=_0x3c4815?_0x254b20['diffData'][_0x52c121]['attributesBefore']:_0x254b20['diffData'][_0x52c121]['attributesAfter'];_0x3d42a4['attributes'][_0x52c121]=_0x3ebfcd?_0x1e6978(_0x3ebfcd):{};break;}_0x142f37+=_0x230fe8;}}for(const _0x437925 of _0x39f5b5){_0x437925['model']={};for(const _0x145255 of _0x437925['authors'])_0x51c6d8['set'](_0x145255['id'],_0x145255);for(const _0x51c914 of _0x19da6c){const _0x482d86=_0x437925['diffData'][_0x51c914]?_0x437925['diffData'][_0x51c914]['insertions']:'[]',_0x42e8de=_0x437925['diffData'][_0x51c914]?_0x437925['diffData'][_0x51c914]['deletions']:'[]';_0x437925['model'][_0x51c914]={'insertions':this['_makeModelFromViewString'](_0x482d86),'deletions':this['_makeModelFromViewString'](_0x42e8de)};}}for(const _0x21d8ea of _0x19da6c){let _0x360b00=null,_0x246b45=0x0;const _0x58072f=new Map(Array['from'](_0x5520e0['model'][_0x21d8ea]['insertions']['markers'])['filter'](([_0xfc6348])=>!_0xfc6348['startsWith']('revision:')));let _0x499970=0x0;for(const _0x48fd44 of _0x39f5b5){const _0x1886a7=this['_makeTape'](_0x48fd44['model'][_0x21d8ea]['insertions']);_0x48fd44==_0x5520e0?(_0x360b00=_0x1886a7,_0x246b45=_0x360b00['length'],_0x360b00['forEach'](_0x2307db=>{_0x2307db['id']=_0x499970++;}),this['_processTape'](_0x360b00)):this['_markInsertions'](_0x360b00,_0x1886a7);const _0x2d6061=_0x360b00['filter'](_0x328df7=>!_0x328df7['isAdded'])['map'](_0x2db0d6=>_0x2db0d6['id']);let _0x1a374d=0x0;const _0x35c8b4=this['_makeTape'](_0x48fd44['model'][_0x21d8ea]['deletions']);_0x35c8b4['forEach'](_0x12acbd=>{_0x12acbd['isRemoved']?_0x12acbd['id']=_0x246b45++:_0x12acbd['id']=_0x2d6061[_0x1a374d++];}),this['_processTape'](_0x35c8b4),this['_setDistance'](_0x360b00,'isAdded'),this['_setDistance'](_0x35c8b4,'isRemoved'),_0x48fd44==_0x5520e0&&this['_markMarkers'](_0x360b00,_0x58072f),_0x360b00=this['_joinTapes'](_0x360b00,_0x35c8b4),this['_refreshStartEndIndex'](_0x360b00),this['_setDistance'](_0x360b00,'isRemoved');}_0x360b00=_0x360b00['filter'](_0x4b7581=>!(_0x4b7581['isAdded']&&_0x4b7581['isRemoved']));const _0x48049e=new Map(_0x359a1a['model'][_0x21d8ea]['deletions']['markers']),_0x488761=new Set(_0x58072f['keys']());for(const _0x2ad73e of _0x48049e['keys']())_0x488761['delete'](_0x2ad73e);this['_markSuggestions'](_0x360b00,_0x488761),this['_fixObsoleteTags'](_0x360b00),_0x360b00=this['_removeMissingPairs'](_0x360b00),_0x360b00=this['_markMismatchedRemovedTags'](_0x360b00),_0x360b00=this['_removeUnsupportedChanges'](_0x360b00);const {root:_0x207d06,changes:_0x4e753e}=this['_makeModelFromTape'](_0x360b00,_0x51c6d8,_0x21d8ea);_0x3d42a4['model'][_0x21d8ea]=_0x207d06;const _0x375fb1=_0x59f645['get'](_0x21d8ea);if(_0x375fb1){const _0x36ae2c=_0x51c6d8['get'](_0x375fb1['userId']),_0x8f896b=new r({'author':_0x36ae2c,'type':_0x375fb1['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x21d8ea});_0x4e753e['unshift'](_0x8f896b),_0x3d42a4['attributes'][_0x21d8ea]['revisionHistoryAttachChange']=_0x8f896b['id'];}_0x3d42a4['changes']=_0x3d42a4['changes']['concat'](_0x4e753e);}return _0x3d42a4;}['_markMarkers'](_0x1a5a14,_0x1c6176){for(let _0x108978=0x0;_0x108978<_0x1a5a14['length'];_0x108978++)for(const [_0x4f17a0,_0x11627c]of _0x1c6176)_0x11627c['start']['isEqual'](_0x1a5a14[_0x108978]['previousPosition'])&&_0x1a5a14[_0x108978]['markersStart']['push'](_0x4f17a0),_0x11627c['end']['isEqual'](_0x1a5a14[_0x108978]['nextPosition'])&&_0x1a5a14[_0x108978]['markersEnd']['push'](_0x4f17a0);}['_joinTapes'](_0x28545d,_0x45717f){let _0x122a63=[],_0x432661=0x0,_0x194e09=0x0;for(;_0x432661<_0x28545d['length']||_0x194e09<_0x45717f['length'];){const _0x40bc23=_0x28545d[_0x432661]||{},_0x378d87=_0x45717f[_0x194e09]||{};if(_0x40bc23['id']==_0x378d87['id'])_0x432661++,_0x194e09++,_0x122a63['push'](_0x40bc23);else{if(_0x378d87['isRemoved']&&_0x40bc23['isAdded']){const {commonTape:_0x3db526,iEnd:_0x304f5,jEnd:_0x59138f}=this['_threeWayMerge'](_0x28545d,_0x432661,_0x45717f,_0x194e09);_0x122a63=_0x122a63['concat'](_0x3db526),_0x432661=_0x304f5,_0x194e09=_0x59138f;}else _0x378d87['isRemoved']?(_0x194e09++,_0x122a63['push'](_0x378d87)):(_0x432661++,_0x122a63['push'](_0x40bc23));}}return _0x122a63;}['_markSuggestions'](_0x2ab56f,_0x154084){const _0xa2349b=[];for(let _0x25d89d=0x0;_0x25d89d<_0x2ab56f['length'];_0x25d89d++){for(let _0x781cf5=0x0;_0x781cf5<_0x2ab56f[_0x25d89d]['markersStart']['length'];_0x781cf5++){const _0x3f29ae=_0x2ab56f[_0x25d89d]['markersStart'][_0x781cf5];if(!_0x154084['has'](_0x3f29ae))continue;const {group:_0x5ac6fc,type:_0x3e8cce,authorId:_0x6413ae}=_0x16bc2c(_0x3f29ae);'revision-suggestion'!=_0x5ac6fc||'insertion'!=_0x3e8cce&&'deletion'!=_0x3e8cce||(_0xa2349b['unshift']({'type':_0x3e8cce,'name':_0x3f29ae,'userId':_0x6413ae}),_0x2ab56f[_0x25d89d]['markersStart']['splice'](_0x781cf5,0x1),_0x781cf5--);}_0x1de354(_0x2ab56f[_0x25d89d]);for(let _0x40eb87=0x0;_0x40eb87<_0x2ab56f[_0x25d89d]['markersEnd']['length'];_0x40eb87++){const _0x7fb102=_0x2ab56f[_0x25d89d]['markersEnd'][_0x40eb87];if(!_0x154084['has'](_0x7fb102))continue;const {group:_0x1e66cd,type:_0x5cc9c5}=_0x16bc2c(_0x7fb102);if('revision-suggestion'!=_0x1e66cd||'insertion'!=_0x5cc9c5&&'deletion'!=_0x5cc9c5)continue;_0x2ab56f[_0x25d89d]['markersEnd']['splice'](_0x40eb87,0x1),_0x40eb87--;const _0x27c273=_0xa2349b['findIndex'](_0x18f473=>_0x18f473['name']==_0x7fb102);_0x27c273>-0x1&&_0xa2349b['splice'](_0x27c273,0x1);}}function _0x16bc2c(_0xd91a1a){const _0x2497e3=_0xd91a1a['split'](':');return{'group':_0x2497e3[0x0],'type':_0x2497e3[0x1],'subType':_0x2497e3['length']>=0x5?_0x2497e3[0x2]:null,'id':_0x2497e3['length']<0x5?_0x2497e3[0x2]:_0x2497e3[0x3],'authorId':_0x2497e3['length']<0x5?_0x2497e3[0x3]:_0x2497e3[0x4],'markerCount':0x6==_0x2497e3['length']?_0x2497e3[0x5]:null};}function _0x1de354(_0x266e25){for(let _0x55be59=0x0;_0x55be59<_0xa2349b['length'];_0x55be59++){if(_0x266e25['isAdded']&&'insertion'==_0xa2349b[_0x55be59]['type'])return _0x266e25['isAddSuggestion']=_0xa2349b[_0x55be59],void delete _0x266e25['isAdded'];if(!_0x266e25['isAdded']&&!_0x266e25['isRemoved']&&'deletion'==_0xa2349b[_0x55be59]['type'])return void(_0x266e25['isRemoveSuggestion']=_0xa2349b[_0x55be59]);}}}['_setDistance'](_0x48c022,_0x58856c){let _0x2ddf1b=0x0,_0x2d1fe2=!0x1;const _0x5e445c=new Map();for(const _0x47ca65 of _0x48c022)_0x47ca65[_0x58856c]?_0x2d1fe2&&(_0x2ddf1b++,_0x2d1fe2=!0x1):(_0x2ddf1b++,_0x2d1fe2=!0x0),_0x5e445c['set'](_0x47ca65['id'],_0x2ddf1b);for(let _0x41aeb4=0x0;_0x41aeb4<_0x48c022['length'];_0x41aeb4++){if('isRemoved'==_0x58856c&&_0x48c022[_0x41aeb4]['isAdded']||'isAdded'==_0x58856c&&_0x48c022[_0x41aeb4]['isRemoved'])continue;if('text'==_0x48c022[_0x41aeb4]['type']){_0x48c022[_0x41aeb4]['distance']=0x0;continue;}const _0x4894a4=_0x5e445c['get'](_0x48c022[_0x41aeb4]['pairId']),_0x296e87=_0x5e445c['get'](_0x48c022[_0x41aeb4]['id']);_0x48c022[_0x41aeb4]['distance']=_0x4894a4-_0x296e87;}}['_getRevisionsRange'](_0x2b8be6,_0x45ffdc,_0x123537=!0x1){const _0x184545=[];let _0x2ea6ed=this['repository']['getIndex'](_0x2b8be6),_0x9d7180=this['repository']['getIndex'](_0x45ffdc);for(-0x1==_0x9d7180&&(_0x9d7180=this['repository']['_revisions']['length'],_0x123537=!0x1);_0x2ea6ed<_0x9d7180;)_0x184545['push'](this['repository']['getRevision'](_0x2ea6ed)),_0x2ea6ed++;return _0x123537&&_0x184545['push'](this['repository']['getRevision'](_0x2ea6ed)),_0x184545;}['_threeWayMerge'](_0x64d25e,_0xaed19,_0x3ca65f,_0x37e9d4){const _0x1d7016=this['editor']['model']['schema'];let _0x1789ef=_0xaed19;for(;_0x64d25e[_0x1789ef]&&_0x64d25e[_0x1789ef]['isAdded'];)_0x1789ef++;let _0x1e84d1=_0x37e9d4;for(;_0x3ca65f[_0x1e84d1]&&_0x3ca65f[_0x1e84d1]['isRemoved'];)_0x1e84d1++;_0x26c7bd(_0x64d25e,_0xaed19,_0x1789ef),_0x26c7bd(_0x3ca65f,_0x37e9d4,_0x1e84d1);const _0x45a237=_0x3ca65f['slice'](_0x37e9d4,_0x1e84d1)['concat'](_0x64d25e['slice'](_0xaed19,_0x1789ef));return _0x45a237['sort']((_0x50a6fa,_0x38dfbd)=>_0x50a6fa['side']!=_0x38dfbd['side']?_0x50a6fa['side']-_0x38dfbd['side']:_0x50a6fa['level']!=_0x38dfbd['level']?_0x50a6fa['level']-_0x38dfbd['level']:_0x50a6fa['distance']!=_0x38dfbd['distance']?_0x38dfbd['distance']-_0x50a6fa['distance']:!!_0x50a6fa['isAdded']!=!!_0x38dfbd['isAdded']?-0x1==_0x50a6fa['side']||0x0==_0x50a6fa['side']?_0x50a6fa['isAdded']?-0x1:0x1:_0x50a6fa['isAdded']?0x1:-0x1:_0x50a6fa['index']-_0x38dfbd['index']),{'commonTape':_0x45a237,'iEnd':_0x1789ef,'jEnd':_0x1e84d1};function _0x26c7bd(_0x2f7bcc,_0x187a29,_0x6d6d45){let _0x57c3c7=-0x1,_0x976ce5=Number['POSITIVE_INFINITY'],_0x58a412=!0x0;for(let _0x243f94=_0x187a29;_0x243f94<_0x6d6d45;_0x243f94++)if(_0x1d7016['isInline'](_0x2f7bcc[_0x243f94]['item'])||(_0x58a412=!0x1),_0x2f7bcc[_0x243f94]['item']['startIndex']<_0x187a29&&(_0x57c3c7=_0x243f94),_0x2f7bcc[_0x243f94]['item']['endIndex']>=_0x6d6d45){_0x976ce5=_0x243f94;break;}_0x58a412&&(_0x57c3c7=_0x6d6d45-0x1);for(let _0x236e6c=_0x187a29;_0x236e6c<_0x6d6d45;_0x236e6c++)_0x2f7bcc[_0x236e6c]['side']=_0x236e6c<=_0x57c3c7?-0x1:_0x236e6c<_0x976ce5?0x0:0x1,_0x2f7bcc[_0x236e6c]['index']=_0x236e6c;let _0x1ecfad=0x0;for(let _0x4fd38b=_0x187a29;_0x4fd38b<=_0x57c3c7;_0x4fd38b++)0x0==_0x2f7bcc[_0x4fd38b]['distance']?_0x2f7bcc[_0x4fd38b]['level']=_0x1ecfad:(_0x1ecfad++,_0x2f7bcc[_0x4fd38b]['level']=_0x1ecfad,_0x1ecfad++);for(let _0x24dd49=_0x187a29;_0x24dd49<_0x6d6d45;_0x24dd49++)0x0==_0x2f7bcc[_0x24dd49]['side']&&(_0x2f7bcc[_0x24dd49]['level']=_0x1ecfad);_0x1ecfad=0x0;for(let _0x4e725e=_0x6d6d45-0x1;_0x4e725e>=_0x976ce5;_0x4e725e--)0x0==_0x2f7bcc[_0x4e725e]['distance']?_0x2f7bcc[_0x4e725e]['level']=_0x1ecfad:(_0x1ecfad--,_0x2f7bcc[_0x4e725e]['level']=_0x1ecfad,_0x1ecfad--);}}['_fixObsoleteTags'](_0x51874b){const _0x360041=new Map(),_0x30e01b=this['editor']['model']['schema'];for(let _0x47aabc=0x1;_0x47aabc<_0x51874b['length'];_0x47aabc++){let _0x43038e,_0x11bd6e,_0x40cec4;const _0x5e5483=_0x51874b[_0x47aabc],_0xfcabde=_0x51874b[_0x47aabc-0x1];if('text'==_0x5e5483['type'])continue;if(_0x5e5483['type']!=_0xfcabde['type'])continue;if(!_0x30e01b['isBlock'](_0xfcabde['item'])||_0x30e01b['isLimit'](_0xfcabde['item']))continue;if(!_0x30e01b['isBlock'](_0x5e5483['item'])||_0x30e01b['isLimit'](_0x5e5483['item']))continue;if((_0x51874b[_0x47aabc]['isAdded']||_0x51874b[_0x47aabc]['isAddSuggestion'])&&_0x51874b[_0x47aabc-0x1]['isRemoved'])_0x43038e=_0x51874b[_0x47aabc],_0x11bd6e=_0x51874b[_0x47aabc-0x1],_0x40cec4=_0x47aabc-0x1;else{if(!_0x51874b[_0x47aabc]['isRemoved']||!_0x51874b[_0x47aabc-0x1]['isAdded']&&!_0x51874b[_0x47aabc-0x1]['isAddSuggestion'])continue;_0x43038e=_0x51874b[_0x47aabc-0x1],_0x11bd6e=_0x51874b[_0x47aabc],_0x40cec4=_0x47aabc;}const _0x58cfed=_0x43038e['level']==_0x11bd6e['level'],_0x322ab1=Math['abs'](_0x43038e['level'])<Math['abs'](_0x11bd6e['level'])&&0x0==_0x11bd6e['distance'];(_0x58cfed||_0x322ab1)&&(_0x360041['set'](_0x11bd6e['id'],_0x43038e['id']),_0x51874b['splice'](_0x40cec4,0x1),_0x47aabc--,_0x43038e['isAdded']=!0x1);}for(let _0x14e0fc=0x0;_0x14e0fc<_0x51874b['length'];_0x14e0fc++)_0x360041['has'](_0x51874b[_0x14e0fc]['pairId'])&&(_0x51874b[_0x14e0fc]['pairId']=_0x360041['get'](_0x51874b[_0x14e0fc]['pairId']));}['_removeMissingPairs'](_0x4091cf){const _0x317b4b=new Set(_0x4091cf['map'](_0x5a3600=>_0x5a3600['id']));for(let _0x5717c9=0x0;_0x5717c9<_0x4091cf['length'];_0x5717c9++)_0x317b4b['has'](_0x4091cf[_0x5717c9]['pairId'])||0x0==_0x4091cf[_0x5717c9]['distance']||(_0x4091cf[_0x5717c9]['isIncorrect']=!0x0);return _0x4091cf['filter'](_0xa824a9=>!_0xa824a9['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2ac1d8){const _0x39c3dd=new Set();for(let _0x2a4f85=0x0;_0x2a4f85<_0x2ac1d8['length'];_0x2a4f85++){if(_0x39c3dd['has'](_0x2ac1d8[_0x2a4f85]['id'])&&_0x2ac1d8[_0x2a4f85]['isRemoved']&&(_0x2ac1d8[_0x2a4f85]['isIncorrect']=!0x0),_0x2ac1d8[_0x2a4f85]['isIncorrect'])continue;if(0x0==_0x2ac1d8[_0x2a4f85]['distance'])continue;if('elementStart'!=_0x2ac1d8[_0x2a4f85]['type'])continue;if(null==_0x2ac1d8[_0x2a4f85]['pairId'])continue;let _0x4908c1=_0x2a4f85+0x1,_0x435998=0x0;for(;_0x2ac1d8[_0x4908c1]['id']!=_0x2ac1d8[_0x2a4f85]['pairId'];)'elementStart'==_0x2ac1d8[_0x4908c1]['type']?_0x435998++:'elementEnd'==_0x2ac1d8[_0x4908c1]['type']&&_0x435998--,_0x4908c1++;if(0x0!=_0x435998){if(_0x2ac1d8[_0x2a4f85]['isRemoved'])_0x2ac1d8[_0x2a4f85]['isIncorrect']=!0x0;else{for(;_0x4908c1!=_0x2a4f85;)_0x2ac1d8[_0x4908c1]['isRemoved']&&0x0!=_0x2ac1d8[_0x4908c1]['distance']&&(_0x2ac1d8[_0x4908c1]['isIncorrect']=!0x0,_0x39c3dd['add'](_0x2ac1d8[_0x4908c1]['pairId'])),_0x4908c1--;}}}return _0x2ac1d8['filter'](_0x1f7849=>!_0x1f7849['isIncorrect']);}['_removeUnsupportedChanges'](_0x137c3e){const _0x243869=this['editor']['model']['schema'];for(let _0x2b5cc8=0x0;_0x2b5cc8<_0x137c3e['length'];_0x2b5cc8++){if(!(_0x137c3e[_0x2b5cc8]['isAdded']||_0x137c3e[_0x2b5cc8]['isAddSuggestion']||_0x137c3e[_0x2b5cc8]['isRemoved']||_0x137c3e[_0x2b5cc8]['isRemoveSuggestion']))continue;if(0x0==_0x137c3e[_0x2b5cc8]['distance'])continue;const _0x54968a=_0x137c3e[_0x2b5cc8]['item'];_0x243869['isBlock'](_0x54968a)||_0x243869['isLimit'](_0x54968a)||(_0x137c3e[_0x2b5cc8]['isAdded']&&delete _0x137c3e[_0x2b5cc8]['isAdded'],_0x137c3e[_0x2b5cc8]['isAddSuggestion']&&delete _0x137c3e[_0x2b5cc8]['isAddSuggestion'],_0x137c3e[_0x2b5cc8]['isRemoveSuggestion']&&delete _0x137c3e[_0x2b5cc8]['isRemoveSuggestion'],_0x137c3e[_0x2b5cc8]['isRemoved']&&(_0x137c3e[_0x2b5cc8]['isIncorrect']=!0x0));}return _0x137c3e['filter'](_0x1d99c0=>!_0x1d99c0['isIncorrect']);}['_makeModelFromTape'](_0x1fe38a,_0x3ef229,_0x11ab3f){const _0x30f46b=new wt(),_0x52d64e=[],_0x51cc1d=new Map(),_0x1e6f42=this['editor']['model'],_0x30b754=_0x1e6f42['schema'],_0x2b78b6=[_0x30f46b],_0xa66caa={},_0x38fad3={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x17ad06=null;const _0x2efa48=[0x0];for(let _0x4f1de6=0x0;_0x4f1de6<_0x1fe38a['length'];_0x4f1de6++){let _0x262149,_0x46c356;if('elementStart'===_0x1fe38a[_0x4f1de6]['type']){_0x262149=_0x1e6f42['createPositionFromPath'](_0x30f46b,_0x2efa48);const _0x2455d8=new ft(_0x1fe38a[_0x4f1de6]['item']['name'],_0x1fe38a[_0x4f1de6]['item']['getAttributes']());_0x2b78b6[0x0]['_appendChild'](_0x2455d8),_0x2efa48['push'](0x0),_0x2b78b6['unshift'](_0x2455d8),_0x46c356=_0x1e6f42['createPositionFromPath'](_0x30f46b,_0x2efa48),_0x17ad06=null;}else{if('elementEnd'===_0x1fe38a[_0x4f1de6]['type'])_0x2b78b6['shift'](),_0x262149=_0x1e6f42['createPositionFromPath'](_0x30f46b,_0x2efa48),_0x2efa48['pop'](),_0x2efa48[_0x2efa48['length']-0x1]++,_0x46c356=_0x1e6f42['createPositionFromPath'](_0x30f46b,_0x2efa48),_0x17ad06=null;else{if(_0x262149=_0x1e6f42['createPositionFromPath'](_0x30f46b,_0x2efa48),_0x17ad06&&_0x2a4f01(_0x17ad06,_0x1fe38a[_0x4f1de6]['item']))_0x17ad06['_data']+=_0x1fe38a[_0x4f1de6]['item']['data'];else{const _0x4a7b6d=new _t(_0x1fe38a[_0x4f1de6]['item']['data'],_0x1fe38a[_0x4f1de6]['item']['getAttributes']());_0x2b78b6[0x0]['_appendChild'](_0x4a7b6d),_0x17ad06=_0x4a7b6d;}_0x2efa48[_0x2efa48['length']-0x1]+=_0x1fe38a[_0x4f1de6]['item']['offsetSize'],_0x46c356=_0x1e6f42['createPositionFromPath'](_0x30f46b,_0x2efa48);}}for(const _0x275423 of _0x1fe38a[_0x4f1de6]['markersStart'])_0x51cc1d['set'](_0x275423,{'start':_0x262149,'end':null});_0x110570('isRemoveSuggestion',_0x4f1de6,_0x262149,_0x46c356),_0x110570('isAddSuggestion',_0x4f1de6,_0x262149,_0x46c356),_0x110570('isRemoved',_0x4f1de6,_0x262149,_0x46c356),_0x110570('isAdded',_0x4f1de6,_0x262149,_0x46c356);for(const _0x1203a4 of _0x1fe38a[_0x4f1de6]['markersEnd']){_0x51cc1d['get'](_0x1203a4)['end']=_0x46c356;}}for(const [_0x1430aa,_0x1cf9d4]of _0x51cc1d){const _0x3634c7=this['editor']['model']['createRange'](_0x1cf9d4['start'],_0x1cf9d4['end']);_0x30f46b['markers']['set'](_0x1430aa,_0x3634c7);}return _0x52d64e['sort']((_0x579600,_0x5797e0)=>{const _0xf057d3=_0x30f46b['markers']['get']('revision:'+_0x579600['id']),_0x5a7e96=_0x30f46b['markers']['get']('revision:'+_0x5797e0['id']);return _0xf057d3['start']['isBefore'](_0x5a7e96['start'])?-0x1:_0xf057d3['start']['isAfter'](_0x5a7e96['start'])?0x1:_0xf057d3['end']['isBefore'](_0x5a7e96['end'])?-0x1:_0xf057d3['end']['isAfter'](_0x5a7e96['end'])?0x1:'add'===_0x579600['type']?-0x1:0x1;}),{'root':_0x30f46b,'changes':_0x52d64e};function _0x110570(_0x1cf54f,_0x152e41,_0x1f6911,_0x4c8dc8){const _0xe1ddb1=!!_0x1fe38a[_0x152e41][_0x1cf54f],_0x11419c=_0xe1ddb1?_0x1fe38a[_0x152e41][_0x1cf54f]['userId']:null,_0x1dd8ac=_0x152e41===_0x1fe38a['length']-0x1,_0x3c74bb=_0x38fad3[_0x1cf54f][0x0],_0x17a166=_0x30b754['isObject'](_0x1fe38a[_0x152e41]['item']);!_0xa66caa[_0x1cf54f]&&_0xe1ddb1?_0xa66caa[_0x1cf54f]={'start':_0x1f6911,'tapeItem':_0x1fe38a[_0x152e41],'userId':_0x11419c,'type':_0x1cf54f}:_0xa66caa[_0x1cf54f]&&!_0xe1ddb1?(_0xa66caa[_0x1cf54f]['end']=_0x1f6911,_0x590414(_0xa66caa[_0x1cf54f]),_0xa66caa[_0x1cf54f]=null):_0xa66caa[_0x1cf54f]&&_0xe1ddb1&&_0xa66caa[_0x1cf54f]['userId']!==_0x11419c&&(_0xa66caa[_0x1cf54f]['end']=_0x1f6911,_0x3c74bb&&_0x3c74bb['userId']===_0xa66caa[_0x1cf54f]['userId']||_0x590414(_0xa66caa[_0x1cf54f]),_0xa66caa[_0x1cf54f]={'start':_0x1f6911,'tapeItem':_0x1fe38a[_0x152e41],'userId':_0x11419c,'type':_0x1cf54f}),_0xa66caa[_0x1cf54f]&&_0x17a166&&('elementStart'!==_0x1fe38a[_0x152e41]['type']||_0x3c74bb&&_0x3c74bb['userId']===_0x11419c||_0x38fad3[_0x1cf54f]['unshift']({'userId':_0x11419c,'object':_0x1fe38a[_0x152e41]['item'],'change':_0xa66caa[_0x1cf54f]}),'elementEnd'===_0x1fe38a[_0x152e41]['type']&&_0x3c74bb&&_0x3c74bb['object']===_0x1fe38a[_0x152e41]['item']&&(_0x38fad3[_0x1cf54f]['shift'](),_0xa66caa[_0x1cf54f]=_0x3c74bb['change'])),_0xa66caa[_0x1cf54f]&&_0x1dd8ac&&(_0xa66caa[_0x1cf54f]['end']=_0x4c8dc8,_0x590414(_0xa66caa[_0x1cf54f]),_0xa66caa[_0x1cf54f]=null);}function _0x590414({start:_0x156254,end:_0x3a388a,tapeItem:_0x1fffe1,userId:_0x307171,type:_0x40b30a}){const _0x5647e1=_0x1fffe1['item'],_0x308eee=_0x1e6f42['schema']['isBlock'](_0x5647e1)&&!_0x1e6f42['schema']['isLimit'](_0x5647e1),_0x16a527=_0x156254['nodeAfter']==_0x3a388a['parent']&&_0x3a388a['isAtStart'];if(_0x308eee&&_0x16a527)return;const _0x2af68d=_0x1e6f42['createRange'](_0x156254,_0x3a388a),_0x13988c=_0x3ef229['get'](_0x307171),_0x3933a8=new r({'author':_0x13988c,'type':'isAdded'==_0x40b30a||'isAddSuggestion'==_0x40b30a?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x40b30a||'isRemoveSuggestion'==_0x40b30a},'createdAt':new Date(),'rootName':_0x11ab3f});_0x52d64e['push'](_0x3933a8),_0x30f46b['markers']['set']('revision:'+_0x3933a8['id'],_0x2af68d);}function _0x2a4f01(_0xa1561e,_0x5ac9f8){const _0x4a9370=_0xa1561e['getAttributes'](),_0x43f73c=_0x5ac9f8['getAttributes']();for(const _0x5f2980 of _0x4a9370){if(_0x5f2980[0x1]!==_0x5ac9f8['getAttribute'](_0x5f2980[0x0]))return!0x1;_0x43f73c['next']();}return _0x43f73c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x550ca8=>{const _0x1c6340=_0x550ca8['markerName']['split'](':')[0x1],_0x2b72ec=this['_getChangeFromId'](_0x1c6340);if(!_0x2b72ec)return null;const _0x2ba6f7='add'==_0x2b72ec['type']?'insertion':'deletion',_0x133fc0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2ba6f7];return _0x2b72ec['data']['isSuggestion']&&_0x133fc0['push']('ck-suggestion-marker-'+_0x2ba6f7+'-new'),this['activeChange']==_0x2b72ec&&_0x133fc0['push']('ck-suggestion-marker--active'),{'classes':_0x133fc0,'attributes':{'data-change-id':_0x1c6340}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x50280f=>{_0x50280f['on']('element:pre',(_0x43f0eb,_0x394a64,_0x341fc1)=>{const _0x197416=_0x394a64['viewItem']['getChild'](0x0);if(!_0x197416||!_0x197416['is']('element','code'))return;if(!_0x341fc1['consumable']['consume'](_0x197416,{'attributes':['vid_start','vid_end']}))return;const _0x227801=_0x394a64['modelRange']['start']['nodeAfter'];_0x341fc1['writer']['setAttribute']('vid_start',_0x197416['getAttribute']('vid_start'),_0x227801),_0x341fc1['writer']['setAttribute']('vid_end',_0x197416['getAttribute']('vid_end'),_0x227801);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x430432=>{_0x430432['on']('element',(_0x51fcb7,_0x366bff,_0x92f178)=>{if(!_0x92f178['consumable']['consume'](_0x366bff['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x366bff['modelRange']['isCollapsed'])return;const _0xb823e4=_0x366bff['modelRange']['start']['nodeAfter'];_0xb823e4['hasAttribute']('vid_start')||_0xb823e4['hasAttribute']('vid')||(_0x92f178['writer']['setAttribute']('vid_start',_0x366bff['viewItem']['getAttribute']('vid_start'),_0xb823e4),_0x92f178['writer']['setAttribute']('vid_end',_0x366bff['viewItem']['getAttribute']('vid_end'),_0xb823e4));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x14aa2e=>_0x14aa2e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x44b95b,[,_0x2a11c8])=>{['vid_start','vid_end','vid']['includes'](_0x2a11c8)&&(_0x44b95b['return']=!0x0,_0x44b95b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x45149d=>{_0x45149d['on']('attribute:vid',(_0x1f3291,_0x5d823f,_0x2f6533)=>{if('\x20'!=_0x5d823f['item']['data']||_0x5d823f['item']['parent']['maxOffset']>0x1)return;if(!_0x2f6533['consumable']['consume'](_0x5d823f['item'],_0x1f3291['name']))return;const _0x4fd5e2=_0x2f6533['writer'],_0x401e70=_0x2f6533['mapper']['toViewRange'](_0x5d823f['range']);_0x4fd5e2['wrap'](_0x401e70,_0x4fd5e2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x53846c){const _0xb1c023=_0x53846c['plugins']['get']('RevisionViewer');return(_0x3047e8,_0x4d877f,_0x38e7fe)=>{const _0x4909de=_0x4d877f['markerName']['split'](':')[0x1],_0x4a817a=_0xb1c023['_getChangeFromId'](_0x4909de);if(!_0x4a817a)return null;const _0x2cfb81='add'==_0x4a817a['type']?'split':'merge';if(!_0x38e7fe['consumable']['test'](_0x4d877f['markerRange'],_0x3047e8['name']))return;const _0x259bf6=_0x4d877f['markerRange']['getWalker'](),_0x302a86=_0x4d877f['markerRange']['start'],_0x27419f=_0x53846c['model']['schema'];let _0x2bfbb1=null,_0x99da3c=null,_0x4a2d5e=!0x1,_0x22b34c=!0x1;for(const _0x3a57ed of _0x259bf6){const _0x3d5236=_0x3a57ed['item'];_0x4a2d5e=_0x4a2d5e||_0x27419f['isContent'](_0x3d5236);const _0x37547e=_0x38e7fe['mapper']['toViewElement'](_0x3d5236);if(_0x37547e&&_0x37547e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a57ed['type']&&(_0x27419f['isBlock'](_0x3d5236)&&!_0x27419f['isLimit'](_0x3d5236)&&(_0x3d5236['nextSibling']||_0x302a86['isAtEnd']?_0x2bfbb1&&_0x2bfbb1['parent']==_0x3d5236||(_0x2bfbb1=_0x3d5236,_0x20b4c5(_0x3a57ed['previousPosition']),_0x22b34c=!0x0):_0x99da3c=_0x99da3c||_0x3a57ed['previousPosition']));}function _0x20b4c5(_0x35d486){const _0x1a0479=_0x38e7fe['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2cfb81}),_0x615d2b=_0x38e7fe['mapper']['toViewPosition'](_0x35d486);_0x4a817a['data']['isSuggestion']&&_0x38e7fe['writer']['addClass']('ck-suggestion-marker-'+_0x2cfb81+'-new',_0x1a0479),_0xb1c023['activeChange']==_0x4a817a&&_0x38e7fe['writer']['addClass']('ck-suggestion-marker--active',_0x1a0479),_0x38e7fe['writer']['insert'](_0x615d2b,_0x1a0479),_0x38e7fe['mapper']['bindElementToMarker'](_0x1a0479,_0x4d877f['markerName']);}_0x4a2d5e||_0x22b34c||!_0x99da3c||_0x20b4c5(_0x99da3c);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4632d5,_0x5e1c22,_0x50d75a)=>{const _0x5c54ae=_0x50d75a['mapper']['markerNameToElements'](_0x5e1c22['markerName']);if(_0x5c54ae){for(const _0x3b9d91 of _0x5c54ae)(_0x3b9d91['hasClass']('ck-suggestion-marker-split')||_0x3b9d91['hasClass']('ck-suggestion-marker-merge'))&&(_0x50d75a['mapper']['unbindElementFromMarkerName'](_0x3b9d91,_0x5e1c22['markerName']),_0x50d75a['writer']['remove'](_0x3b9d91));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x69f15d,_0x3b338f,_0x25ac90)=>{const _0x4ec325=_0x3b338f['markerName']['split'](':')[0x1],_0x1985b1=this['_getChangeFromId'](_0x4ec325);if(!_0x1985b1)return null;const _0x1deefe='add'==_0x1985b1['type']?'split':'merge';if(_0x25ac90['consumable']['test'](_0x3b338f['markerRange'],_0x69f15d['name']))for(const _0x42eca2 of _0x3b338f['markerRange']['getItems']()){if(!_0x42eca2['is']('element','softBreak'))continue;const _0x260a30=_0x25ac90['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1deefe}),_0x5cb3d5=_0x25ac90['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x42eca2));_0x1985b1['data']['isSuggestion']&&_0x25ac90['writer']['addClass']('ck-suggestion-marker-'+_0x1deefe+'-new',_0x260a30),this['activeChange']==_0x1985b1&&_0x25ac90['writer']['addClass']('ck-suggestion-marker--active',_0x260a30),_0x25ac90['writer']['insert'](_0x5cb3d5,_0x260a30),_0x25ac90['mapper']['bindElementToMarker'](_0x260a30,_0x3b338f['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x905fe=>{for(const _0x3c9209 of this['editor']['model']['document']['getRootNames']()){const _0x41663f=this['editor']['model']['document']['getRoot'](_0x3c9209),_0x507e95=this['editor']['editing']['view']['document']['getRoot'](_0x3c9209);if(_0x507e95){const _0x229f44=_0x41663f['getAttribute']('revisionHistoryAttachChange');if(_0x905fe['removeAttribute']('data-change-id',_0x507e95),_0x905fe['removeClass']('ck-revision-history-root-add',_0x507e95),_0x905fe['removeClass']('ck-revision-history-root-remove',_0x507e95),_0x905fe['removeClass']('ck-revision-history-root--active',_0x507e95),_0x229f44){const _0x397690=this['_getChangeFromId'](_0x229f44);if(!_0x397690)return null;_0x905fe['setAttribute']('data-change-id',_0x229f44,_0x507e95),_0x905fe['addClass']('ck-revision-history-root-'+_0x397690['type'],_0x507e95),this['activeChange']==_0x397690&&_0x905fe['addClass']('ck-revision-history-root--active',_0x507e95);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x292622=>'revision-comment:'+_0x292622,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5dc5f8=>'revision-suggestion:'+_0x5dc5f8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x9e387c=>({'name':'suggestion:'+_0x9e387c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2f28f2=>{const _0x26813a=_0x2f28f2['markerName']['split'](':')[0x1];return'insertion'!=_0x26813a&&'deletion'!=_0x26813a?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x26813a]};}}),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',(_0x5467bb,_0x3150ff,_0xa9a769)=>{const _0x8c3a23=_0xa9a769['mapper']['markerNameToElements'](_0x3150ff['markerName']);if(_0x8c3a23){for(const _0x114b6c of _0x8c3a23)_0x114b6c['is']('uiElement')&&(_0xa9a769['mapper']['unbindElementFromMarkerName'](_0x114b6c,_0x3150ff['markerName']),_0xa9a769['writer']['remove'](_0x114b6c));}},{'priority':'high'});}['_getChangeFromId'](_0xa29f86){return this['_changeIdToChange']['get'](_0xa29f86);}['_getViewForChange'](_0x57a7a6){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x57a7a6),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4b77e3,_0x270fbd,_0x5df028,_0x118514)=>{_0x118514&&this['_balloon']['remove'](_0x118514),_0x5df028&&(this['_balloon']['add']({'view':_0x5df028,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x189166=this['editor']['editing'],_0x5dc882=this['_getChangeFromId'](_0x5df028['changeId']);let _0x128412;if(_0x5dc882['data']['isOnRoot']){const _0xc085ae=_0x189166['view']['getDomRoot'](_0x5dc882['rootName']);_0x128412=Array['from'](_0xc085ae['getClientRects']());}else{const _0x5265e1=this['editor']['model']['markers']['get']('revision:'+_0x5df028['changeId']);_0x128412=Array['from'](_0x189166['mapper']['markerNameToElements'](_0x5265e1['name']))['map'](_0x4cf2fc=>_0x189166['view']['domConverter']['mapViewToDom'](_0x4cf2fc))['map'](_0x1d6af7=>Array['from'](_0x1d6af7['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x128412[0x0];return _0x128412['find'](_0x4afe10=>_0x4afe10['top']-0x3<=this['_activeViewTarget']['y']&&_0x4afe10['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4afe10['left']-0x3<=this['_activeViewTarget']['x']&&_0x4afe10['right']+0x3>=this['_activeViewTarget']['x'])||_0x128412[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1efaf1,_0x41cf11,_0x146dcf,_0x6e4f37)=>{this['activeView']=_0x146dcf?this['_getViewForChange'](_0x146dcf):null,this['editor']['model']['change'](()=>{const _0x1235b6=this['editor']['editing'];_0x6e4f37&&(_0x6e4f37['data']['isOnRoot']?_0x1235b6['view']['change'](_0x5710b1=>{_0x5710b1['removeClass']('ck-revision-history-root--active',_0x1235b6['view']['document']['getRoot'](_0x6e4f37['rootName']));}):_0x1235b6['reconvertMarker']('revision:'+_0x6e4f37['id'])),_0x146dcf&&(_0x146dcf['data']['isOnRoot']?_0x1235b6['view']['change'](_0x3c94c9=>{_0x3c94c9['addClass']('ck-revision-history-root--active',_0x1235b6['view']['document']['getRoot'](_0x146dcf['rootName']));}):_0x1235b6['reconvertMarker']('revision:'+_0x146dcf['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x57616e,_0x9ba927)=>{if(this['activeChange'])return;const _0x58fcf0=this['_findChangeIdFromDomTarget'](_0x9ba927['target']),_0x243bae=this['_changeIdToChange']['get'](_0x58fcf0);_0x243bae?(this['_activeViewTarget']={'x':_0x9ba927['domEvent']['x'],'y':_0x9ba927['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x243bae)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xcd92f8,_0x526f3d)=>{const _0x152605=this['_findChangeIdFromDomTarget'](_0x526f3d['target']),_0x5d255f=this['_changeIdToChange']['get'](_0x152605);_0x5d255f?(this['_activeViewTarget']={'x':_0x526f3d['domEvent']['x'],'y':_0x526f3d['domEvent']['y']},_0x5d255f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5d255f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x489a30){do{const _0x2ed8da=_0x489a30['getAttribute']('data-change-id');if(_0x2ed8da)return _0x2ed8da;_0x489a30=_0x489a30['parent'];}while(_0x489a30);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4b078e=>{for(const _0x456299 of this['editor']['model']['markers'])_0x4b078e['removeMarker'](_0x456299);});}}function et(_0x5e01d8,_0x5a3d81){return(_0x27ee1e,_0xfcd253,_0x414bcb)=>{if(!_0x414bcb['consumable']['test'](_0xfcd253['markerRange'],_0x27ee1e['name']))return;const _0x34d9c3=_0xfcd253['markerRange']['getWalker'](),_0x3d2603=_0xfcd253['markerRange']['start'],_0x1b7ea1=_0x5e01d8['model']['schema'];let _0x1dc48f=null,_0xca910e=null,_0xe69793=!0x1,_0x50daf0=!0x1;for(const _0x3a3497 of _0x34d9c3){const _0x2e43b4=_0x3a3497['item'];_0xe69793=_0xe69793||_0x1b7ea1['isContent'](_0x2e43b4);const _0x3fbb27=_0x414bcb['mapper']['toViewElement'](_0x2e43b4);if(_0x3fbb27&&_0x3fbb27['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a3497['type']&&(_0x1b7ea1['isBlock'](_0x2e43b4)&&!_0x1b7ea1['isLimit'](_0x2e43b4)&&(_0x2e43b4['nextSibling']||_0x3d2603['isAtEnd']?_0x1dc48f&&_0x1dc48f['parent']==_0x2e43b4||(_0x1dc48f=_0x2e43b4,_0x242e0b(_0x3a3497['previousPosition']),_0x50daf0=!0x0):_0xca910e=_0xca910e||_0x3a3497['previousPosition']));}function _0x242e0b(_0x471bcd){const _0x4c8258=_0x414bcb['mapper']['toViewPosition'](_0x471bcd),_0x469f06=_0x414bcb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5a3d81});_0x414bcb['writer']['insert'](_0x4c8258,_0x469f06),_0x414bcb['mapper']['bindElementToMarker'](_0x469f06,_0xfcd253['markerName']);}_0xe69793||_0x50daf0||!_0xca910e||_0x242e0b(_0xca910e);};}class bt extends _0x4f8971{constructor(_0x1210b0){super(_0x1210b0);const _0x106214=_0x1210b0['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x106214,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x106214,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x46a8b7=this['editor'],_0x6234b0=_0x46a8b7['plugins']['get'](d),_0x2c2bd8=_0x6234b0['isReady']?_0x6234b0['diff']['newRevisionId']:null;_0x46a8b7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2c2bd8);}['refresh'](){const {isReady:_0x4fb037,isEnabled:_0x508fe7}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4fb037&&_0x508fe7;}}class yt extends _0x4f8971{['_step'];constructor(_0x9d68d,{direction:_0x122bb1}){super(_0x9d68d);const _0x1b4e7c=_0x9d68d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x122bb1?0x1:-0x1,this['listenTo'](_0x1b4e7c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1b4e7c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1b4e7c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4eb743=this['editor'],_0x52e097=_0x4eb743['plugins']['get'](d),{isNavigationMode:_0x25ad29,currentChangeNumber:_0x332d71}=_0x52e097;let _0x2e7a2b;if(_0x52e097['activeChange']=_0x25ad29?_0x52e097['diff']['changes']['get'](_0x332d71+this['_step']):_0x52e097['diff']['changes']['first'],_0x52e097['activeChange']['data']['isOnRoot'])_0x2e7a2b=_0x4eb743['editing']['view']['getDomRoot'](_0x52e097['activeChange']['rootName']);else{const _0xa6e414=_0x4eb743['model']['markers']['get']('revision:'+_0x52e097['activeChange']['id']);_0x2e7a2b=_0x6d8487(_0x4eb743['editing'],_0xa6e414);}_0xbf6c23({'target':_0x2e7a2b,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4a7b46,currentChangeNumber:_0x3ebb3c,numberOfChanges:_0x485dfa,isReady:_0x464902,isEnabled:_0x279c01}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x279c01&&_0x464902&&_0x485dfa)&&(!_0x4a7b46||(0x1===this['_step']?_0x3ebb3c<_0x485dfa-0x1:_0x3ebb3c>0x0));}}class _i extends _0x45ecbe{constructor(_0x3a656f){super(_0x3a656f);const _0x1743fe=this['bindTemplate'],_0x2dcdd7=new _0x5368df(_0x3a656f),_0x601fe3=new _0x5368df(_0x3a656f);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',(_0x342f34,_0x443683)=>_0x342f34&&_0x443683>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5c363a,_0x1eaed2,_0x20477a,_0x46535f)=>{if(!_0x5c363a)return y(_0x3a656f,'Loading...');if(!_0x20477a)return y(_0x3a656f,'No\x20changes');const _0x2f0597=y(_0x3a656f,'NUMBER_OF_CHANGES',_0x20477a);return _0x46535f?y(_0x3a656f,'X_OF_Y_CHANGES',[_0x1eaed2+0x1,_0x20477a]):_0x2f0597;}),_0x2dcdd7['set']({'label':y(_0x3a656f,'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'}),_0x601fe3['set']({'label':y(_0x3a656f,'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'}),_0x2dcdd7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x601fe3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2dcdd7['on']('execute',()=>this['fire']('execute','backward')),_0x601fe3['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',_0x1743fe['if']('_isStatusLabelVisible','ck-hidden',_0x3c597a=>!_0x3c597a)]},'children':[{'text':_0x1743fe['to']('isNavigationMode',_0x29a3b5=>_0x29a3b5?y(_0x3a656f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3a656f,'Total')+':\x20')}]},{'text':_0x1743fe['to']('_statusText')}]},new _0x275888(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2dcdd7,_0x601fe3]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x34d3ab{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x532963=this['editor']['editing']['view'];_0x532963['change'](_0x58a039=>{for(const _0x553e7a of _0x532963['document']['roots'])_0x58a039['addClass'](ce,_0x553e7a);});}['hide'](){const _0x5ce58f=this['editor']['editing']['view'];_0x5ce58f['change'](_0x19d17f=>{for(const _0x4cb62e of _0x5ce58f['document']['roots'])_0x19d17f['removeClass'](ce,_0x4cb62e);});}}class R extends _0x34d3ab{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x55b322=this['editor'],_0x1e6d20=_0x55b322['plugins']['get'](d),_0x30c994=_0x55b322['plugins']['get'](de);_0x55b322['ui']['componentFactory']['add']('exitToEditing',_0x1f498a=>{const _0x2ebe66=new _0x5368df(_0x1f498a);return _0x2ebe66['set']({'label':y(_0x1f498a,'Back\x20to\x20editing'),'icon':_0x39b7e7['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2ebe66,'execute',()=>{_0x55b322['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2ebe66;}),_0x55b322['ui']['componentFactory']['add']('restoreRevision',_0x4bb56d=>{const _0x2dce7a=new _0x5368df(_0x4bb56d);return _0x2dce7a['set']({'label':y(_0x4bb56d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2dce7a['bind']('isEnabled')['to'](_0x55b322['commands']['get']('restoreRevision')),this['listenTo'](_0x2dce7a,'execute',()=>_0x55b322['execute']('restoreRevision')),_0x2dce7a;}),_0x55b322['ui']['componentFactory']['add']('changesNavigation',_0x433acb=>{const _0x4cbda1=new _i(_0x433acb),_0x30ba9e=_0x55b322['commands']['get']('showPreviousChange'),_0x11f355=_0x55b322['commands']['get']('showNextChange');return _0x4cbda1['bind']('isBackwardNavigationEnabled')['to'](_0x30ba9e,'isEnabled'),_0x4cbda1['bind']('isForwardNavigationEnabled')['to'](_0x11f355,'isEnabled'),_0x4cbda1['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1e6d20),this['listenTo'](_0x4cbda1,'execute',(_0x2abfca,_0x1ee078)=>{_0x55b322['execute']('forward'===_0x1ee078?'showNextChange':'showPreviousChange');}),_0x4cbda1;}),_0x30c994['show'](),_0x1e6d20['on']('change:isReady',(_0x18acb1,_0x4c07b3,_0x494596)=>{_0x494596?_0x30c994['hide']():_0x30c994['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x57ceaa,_0x1d5eee){super(_0x57ceaa,_0x1d5eee);const _0x5cb1a2=this['bindTemplate'];this['set']({'label':y(_0x57ceaa,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x57ceaa,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5cb1a2['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 _0x1bb8cb=this['fieldView']['element'];this['_tooltipString']=_0x1bb8cb['scrollWidth']>_0x1bb8cb['clientWidth']&&_0x1bb8cb['value']||'';}}class ti extends _0x45ecbe{constructor(_0x38383b,_0x2cf14b,_0x32c45e){super(_0x38383b);const _0x41b8be=new _0x21c5ef();_0x41b8be['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 _0x478d47=['ck','ck-revision-history-sidebar__revision-author'];_0x32c45e&&_0x478d47['push']('ck-revision-history-sidebar__revision-author_creator');const _0x40fc75=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x38383b,_0x32c45e?'Revision\x20creator':'Revision\x20author')},'children':[_0x41b8be,_0x2cf14b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x478d47},'children':_0x40fc75});}}function ni(_0x22e354,_0x54f73e){const _0x6783ab=_0x22e354['bindTemplate'],_0x2cc18a=_0x22e354['locale'],_0x5301ef=_0x4b835c(_0x2cc18a);_0x5301ef['panelPosition']='sw';const _0x1f843e=function(_0x3456ed,_0x20c618){const _0x1cc5f1=function(_0x4b3f15,_0x187b8c){const _0x5a1d02=_0x4b3f15['locale'],_0x32711c={'Compare\x20against\x20selected':y(_0x5a1d02,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5a1d02,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5a1d02,'Restore\x20this\x20revision')};return _0x187b8c['map'](_0x4242fd=>{const _0x2ebaef=_0x32711c[_0x4242fd['name']];return _0x2ebaef&&_0x2ebaef!==_0x4242fd['name']&&(_0x4242fd['name']=_0x2ebaef),_0x4242fd;});}(_0x3456ed,_0x20c618),_0x42f6bc=new _0x2224e5();for(const _0x36b33e of _0x1cc5f1){const _0x5de28b={'type':'button','model':new to({'label':_0x36b33e['name'],'class':_0x36b33e['class'],'withText':!0x0,'role':'menuitem','_action':_0x36b33e['action']})};_0x5de28b['model']['bind']('isEnabled')['to'](_0x3456ed,'isActionsDropdownOpen',_0x2ca809=>'function'!=typeof _0x36b33e['isEnabled']||(!_0x2ca809||_0x36b33e['isEnabled'](_0x3456ed))),_0x42f6bc['add'](_0x5de28b);}return _0x42f6bc;}(_0x22e354,_0x54f73e);return _0x22e354['bind']('isActionsDropdownOpen')['to'](_0x5301ef,'isOpen'),_0x5301ef['buttonView']['set']({'label':y(_0x2cc18a,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x39b7e7['threeVerticalDots']}),_0x5301ef['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x6783ab['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x6783ab['to'](_0x1a4121=>_0x1a4121['stopPropagation']())}}),_0x5301ef['on']('execute',_0x3388c8=>{_0x22e354['isReady']&&'function'==typeof _0x3388c8['source']['_action']&&_0x3388c8['source']['_action'](_0x22e354);}),_0x16699c(_0x5301ef,_0x1f843e,{'role':'menu'}),_0x5301ef['listenTo'](_0x22e354,'change:isActionsDropdownOpen',(_0x3f6768,_0x3e3231,_0x127563)=>{if(_0x127563)for(const _0x552dea of _0x5301ef['listView']['items']){const _0x142fda=_0x552dea['children']['first'],_0x16edca=_0x54f73e['find'](_0x7fca47=>_0x7fca47['action']===_0x142fda['_action'])['isVisible'];_0x552dea['isVisible']=void 0x0===_0x16edca||_0x16edca(_0x22e354);}}),_0x5301ef;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x107f22(_0x45ecbe){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x25a826,_0x3dd23a,_0x3b3f90,_0x18bed){super(_0x25a826);const _0x14afe4=this['bindTemplate'],_0x3a127a=function(_0x17bf8d,_0xb90195){const _0x2117ef=Array['from'](_0xb90195['authors'])['filter'](_0x14578f=>_0x14578f!=_0xb90195['creator']);return _0xb90195['creator']&&_0x2117ef['unshift'](_0xb90195['creator']),_0x2117ef['map'](_0x3c3e42=>new ti(_0x17bf8d,_0x3c3e42,_0x3c3e42==_0xb90195['creator']));}(_0x25a826,_0x3dd23a);this['id']=_0x3dd23a['id'],this['_revision']=_0x3dd23a,this['_requireRevisionName']=_0x18bed,this['bind']('name','createdAt')['to'](_0x3dd23a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x280f60=>{return _0x16ce83=_0x25a826['uiLanguage'],(_0x539308=_0x280f60)['toLocaleDateString'](_0x16ce83,{'month':'long','day':'numeric'})+',\x20'+_0x539308['toLocaleTimeString'](_0x16ce83,{'hour':'numeric','minute':'numeric'});var _0x16ce83,_0x539308;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x25a826,_0x1efd79),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x22fc5e=>_0x22fc5e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5d09fa,_0x479a45)=>_0x5d09fa&&_0x479a45),this['revisionActionsView']=_0x3b3f90&&_0x3b3f90['length']?ni(this,_0x3b3f90):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x14afe4['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x14afe4['if']('isEnabled','ck-disabled',_0x33d403=>!_0x33d403),_0x14afe4['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x14afe4['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x14afe4['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':_0x14afe4['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':_0x3a127a}]},this['revisionActionsView']],'on':{'click':_0x14afe4['to'](_0xb72dae=>{_0xb72dae['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x59cfd6=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x59cfd6,'change',()=>{this['_requireRevisionName']&&!_0x59cfd6['value']||this['fire']('setName',{'id':this['id'],'name':_0x59cfd6['value']}),_0x59cfd6['value']||(_0x59cfd6['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x11a9b4,_0x1a759c){const _0xd80acc=_0x1a0671['fromJSDate'](_0x11a9b4)['setLocale'](_0x1a759c),_0x159db9=_0x1a0671['local'](),_0x46c342=_0x159db9['minus']({'days':0x1})['startOf']('day');let _0x17af94,_0x2d6d7;return _0xd80acc['hasSame'](_0x159db9,'day')?(_0x17af94=_0xd80acc['startOf']('day')['toJSDate'](),_0x2d6d7=_0xd80acc['toRelativeCalendar']()):_0xd80acc['hasSame'](_0x46c342,'day')?(_0x17af94=_0x46c342['toJSDate'](),_0x2d6d7=_0xd80acc['toRelativeCalendar']()):_0xd80acc['hasSame'](_0x159db9,'week')?(_0x17af94=_0xd80acc['startOf']('week')['toJSDate'](),_0x2d6d7=_0xd80acc['weekdayLong']||''):_0xd80acc['hasSame'](_0x159db9,'year')?(_0x17af94=_0xd80acc['startOf']('month')['toJSDate'](),_0x2d6d7=_0xd80acc['monthLong']||''):(_0x17af94=_0xd80acc['startOf']('year')['toJSDate'](),_0x2d6d7=String(_0xd80acc['year'])),{'startDate':_0x17af94,'localizedPeriodName':_0x2d6d7};}class mi extends _0x45ecbe{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x25e7d8,_0x29ed95,_0x97cb96,_0x5467de){super(_0x25e7d8);const _0x8355a6=di(_0x29ed95,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x29ed95,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x97cb96,this['_requireRevisionName']=_0x5467de,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':_0x8355a6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4006b6){const _0x51f17b=new ai(this['locale'],_0x4006b6,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x51f17b);}['removeRevision'](_0x3ea7fd){const _0x406467=this['revisionViews']['find'](_0x2886ee=>_0x2886ee['id']===_0x3ea7fd['id']);this['revisionViews']['remove'](_0x406467);}}class as extends _0x45ecbe{constructor(_0x595770){super(_0x595770);const _0x2776a2=new _0x21c5ef();_0x2776a2['content']=_0x39b7e7['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2776a2,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x595770,'Revision\x20history')]}]});}}class ci extends _0x45ecbe{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x855862,_0x1396da,_0x1e7fd8,_0x63c715){super(_0x855862);const _0x12db9a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1396da,this['_revisionActions']=_0x1e7fd8,this['_requireRevisionName']=_0x63c715,this['on']('select',(_0x30bfe2,_0x317646)=>{this['fire']('revisionSelected',_0x317646);}),this['on']('setName',(_0x46f102,_0xb5c34)=>{this['fire']('revisionSetName',_0xb5c34);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x855862),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x12db9a['if']('isEnabled','ck-disabled',_0x57e29c=>!_0x57e29c)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x22f3d4 of this['_revisions'])this['_addRevision'](_0x22f3d4);this['_revisions']['on']('add',(_0x5b42d3,_0x48eb80)=>{this['_addRevision'](_0x48eb80);}),this['_revisions']['on']('remove',(_0x3c4e55,_0x131460)=>{this['_removeRevision'](_0x131460);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1d5077=>_0x1d5077['revisionViews']['map'](_0x1fa2da=>_0x1fa2da))['flat']();}['selectRevision'](_0x152ff7){for(const _0x2249d4 of this['revisionViews'])_0x152ff7&&_0x152ff7['id']===_0x2249d4['id']?_0x2249d4['select']():_0x2249d4['deselect']();}['highlightRevisions'](_0x58f09f){for(const _0x478929 of this['revisionViews'])_0x58f09f['some'](({id:_0x293d42})=>_0x293d42===_0x478929['id'])?_0x478929['highlight']():_0x478929['unhighlight']();}['_addRevision'](_0x488fe7){const _0x2658ed=di(_0x488fe7['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2362c1=this['timePeriodViews']['get'](0x0);_0x2362c1&&_0x2362c1['startDate']['getTime']()===_0x2658ed['getTime']()||(_0x2362c1=new mi(this['locale'],_0x2658ed,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2362c1)),_0x2362c1['addRevision'](_0x488fe7);}['_removeRevision'](_0x58ccbf){const _0x483dce=di(_0x58ccbf['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x483dce)['removeRevision'](_0x58ccbf);}['_getTimePeriodViewByStartDate'](_0x217b6e){return this['timePeriodViews']['find'](_0xb867f3=>_0xb867f3['startDate']['getTime']()===_0x217b6e['getTime']());}}class w extends _0x34d3ab{['_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(_0x3d2ec4){super(_0x3d2ec4),this['_revisionViewer']=_0x3d2ec4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x32b6f1=this['_revisionsRepository']['_revisions'],_0x3e8dad=this['_createRevisionActions'](),_0xf4ac6f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x32b6f1,_0x3e8dad,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',(_0x5684d9,_0x508573)=>{_0x508573['revisionViews']['on']('add',(_0xb8b05,_0x4193e7)=>{_0x4193e7['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)),_0xf4ac6f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x38100f=this['_revisionsRepository']['getRevision'](0x0);if(_0x38100f){const _0x50c731=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x38100f['id']);this['_revisionViewer']['compare'](_0x38100f,_0x50c731);}}['_handleRevisionSelected'](_0x5b36da,_0x559134){const _0x1e5aa8=this['_revisionsRepository']['getRevision'](_0x559134['id']),_0x2e85a4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1e5aa8['id']);this['_revisionViewer']['compare'](_0x1e5aa8,_0x2e85a4);}['_handleRevisionSetName'](_0xf79c42,_0x1afc1f){this['_revisionsRepository']['getRevision'](_0x1afc1f['id'])['setName'](_0x1afc1f['name']);}['_handleDiffChange'](_0x27475b,_0x1aed74,_0xec8f98){const _0x4a625b=this['_revisionsRepository']['getRevisionsInDiff'](_0xec8f98);_0x4a625b['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4a625b),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4a625b[0x0]));}['_createRevisionActions'](){const _0x40f50a=this['editor'],_0x41d251=w['availableRevisionActions'],_0x1de5ba=_0x40f50a['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1de5ba['length'])return _0x1de5ba['map'](_0x5228f7=>{const _0x29f822='string'==typeof _0x5228f7?Object['assign']({},_0x41d251[_0x5228f7]):_0x5228f7;return _0x29f822['action']=_0x29f822['action']['bind'](this,_0x40f50a),_0x29f822['isVisible']&&(_0x29f822['isVisible']=_0x29f822['isVisible']['bind'](this,_0x40f50a)),_0x29f822;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x58fb0d},_0x31042f)=>{const _0xa1eec0=_0x58fb0d['get'](d),_0x3bfced=_0xa1eec0['repository'];let _0x40d23b=_0xa1eec0['diff']['newRevisionId'],_0x4c863e=_0x31042f['id'];_0x3bfced['getIndex'](_0x40d23b)>_0x3bfced['getIndex'](_0x4c863e)&&([_0x40d23b,_0x4c863e]=[_0x4c863e,_0x40d23b]),_0xa1eec0['compare'](_0x40d23b,_0x4c863e);},'isVisible':({plugins:_0x32ebe8},_0xc3146c)=>{const _0x34868b=_0x32ebe8['get'](d);return!(_0x34868b['repository']['getRevisionsInDiff'](_0x34868b['diff'])['length']>0x2)&&!_0xc3146c['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10a3a7,{id:_0x54162f})=>{_0x10a3a7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x54162f);},'isVisible':({plugins:_0x4668fd},_0x21d0b6)=>!!_0x4668fd['get'](d)['repository']['getLaterVisibleRevision'](_0x21d0b6['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x40b3d0},{id:_0x570dc8,revisionNameView:_0xb91d62})=>{const _0x35c838=_0x40b3d0['get'](d),_0x510dac=_0x35c838['repository']['getEarlierVisibleRevision'](_0x570dc8);_0x35c838['compare'](_0x570dc8,_0x510dac),_0xb91d62['focus'](),_0xb91d62['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x19e589,_0x32b512){super(_0x19e589),this['_view']=_0x32b512,this['_toolbarConfig']=ct(_0x19e589['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x35cf96){const _0x1f646a=this['editor'],_0x2391b1=this['view'],_0x52553=_0x1f646a['editing']['view'],_0x180a66=_0x2391b1['editable'],_0x3141c2=_0x52553['document']['getRoot']();_0x180a66['name']=_0x3141c2['rootName'],_0x2391b1['render']();const _0x375afc=_0x180a66['element'];this['setEditableElement'](_0x180a66['name'],_0x375afc),_0x2391b1['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x52553['attachDomRoot'](_0x375afc),this['_elementReplacer']['replace'](_0x35cf96,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x19bacc=this['view'],_0x5dce15=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5dce15['detachDomRoot'](_0x19bacc['editable']['name']),_0x19bacc['destroy']();}['_initToolbar'](){const _0xea21ed=this['view'];_0xea21ed['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xea21ed['stickyPanel']['limiterElement']=_0xea21ed['element'],_0xea21ed['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x23cfcd})=>_0x23cfcd),_0xea21ed['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xea21ed['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4998df,_0x52b289,_0xa07ab7={}){super(_0x4998df),this['stickyPanel']=new lt(_0x4998df),this['toolbar']=new pt(_0x4998df,{'shouldGroupWhenFull':_0xa07ab7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4998df,_0x52b289);}['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(_0x17b6da,_0x2fd7d1){super(_0x2fd7d1),this['sourceElement']=_0x17b6da,this['model']['document']['createRoot']();const _0x314e6e=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x314e6e);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2c4f31,_0x92115f){const _0xd77ed2=new this(_0x2c4f31,_0x92115f);return await _0xd77ed2['initPlugins'](),await _0xd77ed2['ui']['init'](_0x2c4f31),await _0xd77ed2['data']['init'](_0xd77ed2['config']['get']('initialData')||''),_0xd77ed2['fire']('ready'),_0xd77ed2;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x34d3ab{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x156fcf){super(_0x156fcf),this['result']='end';}}class H extends _0x34d3ab{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x57b8b3){if(super(_0x57b8b3),!this['editor']['config']['get']('revisionHistory'))throw new _0x54e633('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5abf7f=>this['_showRevisionViewer']({..._0x5abf7f,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x43543a=>this['_closeRevisionViewer'](_0x43543a)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x201d0c=>this['_restoreRevision'](_0x201d0c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5c2c9f){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5c2c9f;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x6d9fb5){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x6d9fb5);}['getRevision'](_0x377b64){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x377b64);}['getRevisions'](_0x3c70f0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3c70f0||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4a7fbc=this['editor'],_0x5a2cf9=_0x4be7fc(_0x4a7fbc,p),_0x3a65e9=_0x4a7fbc['plugins']['get']('RevisionTracker'),_0x5afe4f=_0x4a7fbc['plugins']['get']('Users')['users'];return _0x5a2cf9['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5a2cf9['lazyRoots'],(_0x5a2cf9['plugins']['push'](k,d,R,class extends _0x34d3ab{static get['requires'](){return[d,'Users'];}['init'](){const _0x1f7913=this['editor']['plugins']['get']('Users');for(const _0x98d5b6 of _0x5afe4f)_0x98d5b6['isAnonymous']||_0x1f7913['getUser'](_0x98d5b6['id'])||_0x1f7913['addUser'](_0x98d5b6);const _0x57e05e=_0x3a65e9['repository']['getRevisions']();let _0x3870e6=null;const _0x1f9e87=this['editor']['plugins']['get']('RevisionViewer');_0x1f9e87['adapter']=_0x3a65e9['adapter'],_0x1f9e87['bind']('isEnabled')['to'](_0x3a65e9),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4a7fbc,'isReadOnly',_0x276963=>!_0x276963);for(const _0x3f00b2 of _0x57e05e){const _0x371887=null===_0x3f00b2['creator'];if(_0x371887&&_0x3f00b2['toVersion']===_0x3f00b2['fromVersion'])continue;const _0x490f37=_0x3f00b2['toJSON']();_0x1f9e87['addRevisionData'](_0x490f37,(_0x493e75,_0xb91882,_0x314a14)=>{if(_0x371887){if(_0x3870e6)_0x3870e6['_update'](_0x493e75,_0xb91882);else{if(!_0xb91882){const _0x3adf3c=_0x314a14['toJSON']();_0x3adf3c['id']=_0x382529(),_0x3a65e9['saveRevision'](_0x3adf3c,_0x314a14['toVersion'])['then'](_0x17a309=>{_0x3870e6=_0x17a309;});}}}else _0x3f00b2['_update'](_0x493e75,_0xb91882);});}}},w),_0x5a2cf9);}['_enhanceShowRevisionViewerCallback'](){const _0x1cbfd7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3b0a34=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3ddd10=this['editor']['plugins']['get']('Autosave');await _0x3ddd10['save']();}else await _0x3b0a34['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1d0197=this['editor']['plugins']['get']('Dialog');_0x1d0197['isOpen']&&_0x1d0197['hide']();}const _0x174b5d=this['_getRevisionViewerEditorConfig']();return _0x1cbfd7(_0x174b5d)['then'](_0x576d48=>{return(this['_viewerEditor']=_0x576d48,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x576d48;})['catch'](_0x34bb9b=>(console['error'](_0x34bb9b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3a2639=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'](),_0x3a2639(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x23a1ce=this['editor']['plugins']['get']('Annotations');_0x23a1ce['refreshVisibility'](),_0x23a1ce['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2f549d){const _0x4fd10e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x435594=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5469b3=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5469b3,_0x2f549d)['then'](_0x521b22=>(_0x435594['style']['display']='block',_0x4fd10e['style']['display']='none',_0x521b22));}['_closeRevisionViewer'](_0x4f970f){const _0x420b42=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x420b42['style']['display']='',_0x4f970f['destroy']();}async['_restoreRevision'](_0x331a1d){const _0x4c9b09=this['editor'],_0x5c9d6a=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x28e414=_0x4c9b09['plugins']['get']('RevisionTracker'),_0x18dcb8=_0x5c9d6a['repository']['getRevision'](_0x331a1d);let _0x39aa9a,_0xab581b,_0x4ad607;try{_0x39aa9a=await _0x5c9d6a['getRevisionData'](_0x18dcb8),_0xab581b=await _0x5c9d6a['getRevisionRootsAttributes'](_0x18dcb8);}catch(_0x163202){return void console['error'](_0x163202);}_0x4c9b09['model']['change'](_0x5eee92=>{for(const _0x5e8fc8 of Array['from'](_0x4c9b09['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5eee92['removeMarker'](_0x5e8fc8);}),_0x5c9d6a['isReady']=!0x1,_0x4c9b09['model']['enqueueChange'](_0x2420dc=>{_0x2420dc['setSelection'](null),_0x2420dc['removeSelectionAttribute'](_0x4c9b09['model']['document']['selection']['getAttributeKeys']());const _0x422401=Object['keys'](_0x39aa9a);for(const _0x3cb85f of _0x4c9b09['model']['document']['roots'])'$graveyard'!=_0x3cb85f['rootName']&&_0x3cb85f['isAttached']()&&!_0x422401['includes'](_0x3cb85f['rootName'])&&_0x2420dc['detachRoot'](_0x3cb85f);for(const _0x57e9b3 of _0x422401){let _0x1c85e0=_0x4c9b09['model']['document']['getRoot'](_0x57e9b3);_0x1c85e0&&_0x1c85e0['isAttached']()||(_0x1c85e0=_0x2420dc['addRoot'](_0x57e9b3));const _0x35b09b=_0xab581b[_0x57e9b3],_0x2bf164=Object['keys'](_0x35b09b),_0x52eb0c=_0x39aa9a[_0x57e9b3];for(const _0x523d14 of _0x1c85e0['getAttributeKeys']())_0x2bf164['includes'](_0x523d14)||_0x2420dc['removeAttribute'](_0x523d14,_0x1c85e0);for(const _0x16e1df of _0x2bf164)_0x2420dc['setAttribute'](_0x16e1df,_0xab581b[_0x57e9b3][_0x16e1df],_0x1c85e0);_0x2420dc['remove'](_0x2420dc['createRangeIn'](_0x1c85e0)),_0x2420dc['insert'](_0x4c9b09['data']['parse'](_0x52eb0c,_0x1c85e0),_0x1c85e0,0x0);}});const _0x16b7d1=y(_0x4c9b09['locale'],'Restored');if(_0x18dcb8['name'])_0x4ad607=-0x1==_0x18dcb8['name']['indexOf'](_0x16b7d1)?_0x16b7d1+':\x20'+_0x18dcb8['name']:_0x18dcb8['name'];else _0x4ad607=_0x16b7d1+':\x20'+(_0x18dcb8['createdAt']['toLocaleDateString'](_0x4c9b09['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x18dcb8['createdAt']['toLocaleTimeString'](_0x4c9b09['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x28e414['saveRevision']({'name':_0x4ad607}),_0x5c9d6a['isReady']=!0x0,_0x4c9b09['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|