@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240714.0 → 0.0.0-nightly-20240715.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
|
-
_0x2c106f(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x15bdb6){super(),this['id']=_0x15bdb6['id']||_0x18f98c(),this['creator']=_0x15bdb6['creator']||null,this['authors']=_0x15bdb6['authors']||[],this['diffData']=_0x15bdb6['diffData']||null,this['toVersion']=_0x15bdb6['toVersion']||0x0,this['fromVersion']=_0x15bdb6['fromVersion']||0x0,this['set']('name',_0x15bdb6['name']||''),this['set']('createdAt',_0x15bdb6['createdAt']||new Date()),this['set']('attributes',_0x15bdb6['attributes']||{});}['setName'](_0x33a92f){this['_update']({'name':_0x33a92f});}['setAttribute'](_0x5c952f,_0x10e1a6){const _0x1333b1=_0xbc8db6(this['attributes']);_0x5383ea(_0x1333b1,_0x5c952f,_0x10e1a6),this['_update']({'attributes':_0x1333b1});}['removeAttribute'](_0x950ce){const _0x4a6b20=_0xbc8db6(this['attributes']);_0x595211(_0x4a6b20,_0x950ce),this['_update']({'attributes':_0x4a6b20});}['_update'](_0x1a2d2b,_0x122b36=!0x1){let _0x1c8866=!0x1;const _0x44a7e4={'id':this['id']},_0x7d7ced=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4fd301 of _0x7d7ced){const _0x255af0=_0x1a2d2b[_0x4fd301];void 0x0!==_0x255af0&&_0x255af0!==this[_0x4fd301]&&(this[_0x4fd301]=_0x255af0,_0x44a7e4[_0x4fd301]=_0x255af0,_0x1c8866=!0x0);}_0x1c8866&&(_0x44a7e4['authors']&&(_0x44a7e4['authorsIds']=_0x44a7e4['authors']['map'](_0x548df6=>_0x548df6['id']),delete _0x44a7e4['authors']),this['fire']('_update',_0x44a7e4,_0x122b36));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xf397ee=>_0xf397ee['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xb13d88{['_revisions'];static get['requires'](){return[_0x107127];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x226817){super(_0x226817),this['_revisions']=new _0x21503a();}['afterInit'](){!function(_0x504851){function _0xa50cb7(_0x5b11d9,_0x42a4e,_0x2e757c){const _0xf36ff5={};_0xf36ff5[_0x4bacd5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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],_0xf36ff5[_0x4bacd5([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 _0x1751a3=new Uint8Array(0x10);for(let _0x5dd135=0xf;_0x5dd135>=0x0;--_0x5dd135)_0x1751a3[_0x5dd135]=_0x2e757c%0x100,_0x2e757c=parseInt(_0x2e757c/0x100);let _0x5ac9a4=null,_0x5ae41b=0x10;const _0x561a4d=new Uint8Array(_0x42a4e),_0x554f3c=[],_0x1c0623=[];_0x1d384c();for(let _0x4ba020=0x0;_0x4ba020<_0x5b11d9[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ba020++)0x10===_0x5ae41b&&(_0x5ac9a4=_0x382966(_0x1751a3),_0x5ae41b=0x0,_0x2fd541(_0x1751a3)),_0x5b11d9[_0x4ba020]^=_0x5ac9a4[_0x5ae41b++];return _0x5b11d9;function _0xbbb3e3(_0x5912da){const _0x483bae=[];for(let _0x1291d8=0x0;_0x1291d8<_0x5912da[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1291d8+=0x4)_0x483bae[_0x4bacd5([0x70,0x75,0x73,0x68])](_0x5912da[_0x1291d8]<<0x18|_0x5912da[_0x1291d8+0x1]<<0x10|_0x5912da[_0x1291d8+0x2]<<0x8|_0x5912da[_0x1291d8+0x3]);return _0x483bae;}function _0x2fd541(_0x3e19db){for(let _0x4b05f3=0xf;_0x4b05f3>=0x0;_0x4b05f3--){if(0xff!==_0x3e19db[_0x4b05f3]){_0x3e19db[_0x4b05f3]++;break;}_0x3e19db[_0x4b05f3]=0x0;}}function _0x382966(_0x468e01){const _0x46af10=_0x554f3c[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5143a7=[0x0,0x0,0x0,0x0];let t=_0xbbb3e3(_0x468e01);for(let _0x3144a8=0x0;_0x3144a8<0x4;_0x3144a8++)t[_0x3144a8]^=_0x554f3c[0x0][_0x3144a8];for(let _0x32904d=0x1;_0x32904d<_0x46af10;_0x32904d++){for(let _0x42416f=0x0;_0x42416f<0x4;_0x42416f++)_0x5143a7[_0x42416f]=_0xf36ff5[_0x4bacd5([0x54,0x31])][t[_0x42416f]>>0x18&0xff]^_0xf36ff5[_0x4bacd5([0x54,0x32])][t[(_0x42416f+0x1)%0x4]>>0x10&0xff]^_0xf36ff5[_0x4bacd5([0x54,0x33])][t[(_0x42416f+0x2)%0x4]>>0x8&0xff]^_0xf36ff5[_0x4bacd5([0x54,0x34])][0xff&t[(_0x42416f+0x3)%0x4]]^_0x554f3c[_0x32904d][_0x42416f];t=_0x5143a7[_0x4bacd5([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3e74a1=new Uint8Array(0x10);let _0x4c8993;for(let _0x565c4b=0x0;_0x565c4b<0x4;_0x565c4b++)_0x4c8993=_0x554f3c[_0x46af10][_0x565c4b],_0x3e74a1[0x4*_0x565c4b]=0xff&(_0xf36ff5[_0x4bacd5([0x53])][t[_0x565c4b]>>0x18&0xff]^_0x4c8993>>0x18),_0x3e74a1[0x4*_0x565c4b+0x1]=0xff&(_0xf36ff5[_0x4bacd5([0x53])][t[(_0x565c4b+0x1)%0x4]>>0x10&0xff]^_0x4c8993>>0x10),_0x3e74a1[0x4*_0x565c4b+0x2]=0xff&(_0xf36ff5[_0x4bacd5([0x53])][t[(_0x565c4b+0x2)%0x4]>>0x8&0xff]^_0x4c8993>>0x8),_0x3e74a1[0x4*_0x565c4b+0x3]=0xff&(_0xf36ff5[_0x4bacd5([0x53])][0xff&t[(_0x565c4b+0x3)%0x4]]^_0x4c8993);return _0x3e74a1;}function _0x1d384c(){const _0x1528a4=_0xf36ff5[_0x4bacd5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x561a4d[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2ec887=0x0;_0x2ec887<=_0x1528a4;_0x2ec887++)_0x554f3c[_0x4bacd5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1c0623[_0x4bacd5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x28c17e=0x4*(_0x1528a4+0x1),_0x3a8344=_0x561a4d[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x45c9bc=_0xbbb3e3(_0x561a4d);let _0x512fb1;for(let _0x3afe0c=0x0;_0x3afe0c<_0x3a8344;_0x3afe0c++)_0x512fb1=_0x3afe0c>>0x2,_0x554f3c[_0x512fb1][_0x3afe0c%0x4]=_0x45c9bc[_0x3afe0c],_0x1c0623[_0x1528a4-_0x512fb1][_0x3afe0c%0x4]=_0x45c9bc[_0x3afe0c];let _0x5f5364,_0x5428d3=0x0,t=_0x3a8344;for(;t<_0x28c17e;){_0x5f5364=_0x45c9bc[_0x3a8344-0x1],_0x45c9bc[0x0]^=_0xf36ff5[_0x4bacd5([0x53])][_0x5f5364>>0x10&0xff]<<0x18^_0xf36ff5[_0x4bacd5([0x53])][_0x5f5364>>0x8&0xff]<<0x10^_0xf36ff5[_0x4bacd5([0x53])][0xff&_0x5f5364]<<0x8^_0xf36ff5[_0x4bacd5([0x53])][_0x5f5364>>0x18&0xff]^_0xf36ff5[_0x4bacd5([0x72,0x63,0x6f,0x6e])][_0x5428d3]<<0x18,_0x5428d3+=0x1;for(let _0x1fb7ba=0x1;_0x1fb7ba<_0x3a8344/0x2;_0x1fb7ba++)_0x45c9bc[_0x1fb7ba]^=_0x45c9bc[_0x1fb7ba-0x1];_0x5f5364=_0x45c9bc[_0x3a8344/0x2-0x1],_0x45c9bc[_0x3a8344/0x2]^=_0xf36ff5[_0x4bacd5([0x53])][0xff&_0x5f5364]^_0xf36ff5[_0x4bacd5([0x53])][_0x5f5364>>0x8&0xff]<<0x8^_0xf36ff5[_0x4bacd5([0x53])][_0x5f5364>>0x10&0xff]<<0x10^_0xf36ff5[_0x4bacd5([0x53])][_0x5f5364>>0x18&0xff]<<0x18;for(let _0x3588e4=_0x3a8344/0x2+0x1;_0x3588e4<_0x3a8344;_0x3588e4++)_0x45c9bc[_0x3588e4]^=_0x45c9bc[_0x3588e4-0x1];let _0x29c04d,_0x2e7d5a,_0x4e31f7=0x0;for(;_0x4e31f7<_0x3a8344&&t<_0x28c17e;)_0x29c04d=t>>0x2,_0x2e7d5a=t%0x4,_0x554f3c[_0x29c04d][_0x2e7d5a]=_0x45c9bc[_0x4e31f7],_0x1c0623[_0x1528a4-_0x29c04d][_0x2e7d5a]=_0x45c9bc[_0x4e31f7++],t++;}for(let _0x53e8c8=0x1;_0x53e8c8<_0x1528a4;_0x53e8c8++)for(let _0x22214c=0x0;_0x22214c<0x4;_0x22214c++)_0x5f5364=_0x1c0623[_0x53e8c8][_0x22214c],_0x1c0623[_0x53e8c8][_0x22214c]=_0xf36ff5[_0x4bacd5([0x55,0x31])][_0x5f5364>>0x18&0xff]^_0xf36ff5[_0x4bacd5([0x55,0x32])][_0x5f5364>>0x10&0xff]^_0xf36ff5[_0x4bacd5([0x55,0x33])][_0x5f5364>>0x8&0xff]^_0xf36ff5[_0x4bacd5([0x55,0x34])][0xff&_0x5f5364];}}function _0x4bacd5(_0x5d0a53){return _0x5d0a53['map'](_0x51dedd=>String['fromCharCode'](_0x51dedd))['join']('');}(_0x2f6449=>{function _0xa53126(){const _0x3e6efa=[{[_0x4bacd5([0x69,0x64])]:0x1,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4bacd5([0x69,0x64])]:0x2,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([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]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4bacd5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4bacd5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4bacd5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4bacd5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4bacd5([0x69,0x64])]:0x3,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4bacd5([0x69,0x64])]:0x4,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([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]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4bacd5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4bacd5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4bacd5([0x69,0x64])]:0x5,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([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]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}},{[_0x4bacd5([0x69,0x64])]:0x6,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}},{[_0x4bacd5([0x69,0x64])]:0x7,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}},{[_0x4bacd5([0x69,0x64])]:0x8,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([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]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}},{[_0x4bacd5([0x69,0x64])]:0x9,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4bacd5([0x69,0x64])]:0xa,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([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]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([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]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([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]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}},{[_0x4bacd5([0x69,0x64])]:0xb,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4bacd5([0x69,0x64])]:0xc,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4bacd5([0x69,0x64])]:0xd,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}},{[_0x4bacd5([0x69,0x64])]:0xe,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4bacd5([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([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])},{[_0x4bacd5([0x69,0x64])]:0xf,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4bacd5([0x69,0x64])]:0x10,[_0x4bacd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4bacd5([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4bacd5([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4bacd5([0x66,0x67,0x69])]:[0xc]}}];return _0x383a74(_0x3e6efa),_0x3e6efa;function _0xe5108e(_0x427417){return 0x1<<_0x427417-0x1;}function _0x383a74(_0x285b54){_0x285b54[_0x4bacd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e0911=>{_0x3e0911[_0x4bacd5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xe5108e(_0x3e0911[_0x4bacd5([0x69,0x64])]),_0x1e0c5e(_0x3e0911)&&_0x3e0911[_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x383a74(_0x3e0911[_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1e0c5e(_0x184f2c){return _0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x184f2c;}const _0x41caa0=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x387452=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x437903(_0x202845){const _0x9d5f0b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xa77d73(_0x202845,new Uint8Array([..._0x41caa0,..._0x9d5f0b,..._0x387452]));}function _0xa77d73(_0x5b9afc,_0x28f83e){const _0x7c9e6d=_0x18bae5(_0x5b9afc),_0x5d4083=Array[_0x4bacd5([0x66,0x72,0x6f,0x6d])](_0x125b0a(_0x7c9e6d)),_0x571d28=_0x5d4083[_0x4bacd5([0x70,0x6f,0x70])](),_0x15ffb9=_0x5d4083[_0x4bacd5([0x70,0x6f,0x70])]();return _0xa60e5(_0xa50cb7(_0x5d4083,_0x28f83e,_0x15ffb9+0x100*_0x571d28));}function _0x18bae5(_0x3621cd){const _0x2609ab=atob(_0x3621cd),[_0x368cb3,_0x16a974]=_0x2609ab[_0x4bacd5([0x73,0x70,0x6c,0x69,0x74])](_0x4bacd5([0x2d]));try{if(atob(_0x16a974))return atob(_0x368cb3);}catch(_0x37abe9){}return _0x2609ab;}function _0x42756c(_0x1d1c60){try{const _0x1a1f2e=_0x437903(_0x1d1c60),_0x2304d8=JSON[_0x4bacd5([0x70,0x61,0x72,0x73,0x65])](_0x1a1f2e),_0x478ead=parseInt(_0x2304d8[_0x4bacd5([0x31])]),_0x1d7848=_0x2304d8[_0x4bacd5([0x32])]||'',_0x45767b=parseInt(_0x2304d8[_0x4bacd5([0x33])]),_0x457899=parseInt(_0x2304d8[_0x4bacd5([0x34])])||0x0,_0x169c49=parseInt(_0x2304d8[_0x4bacd5([0x35])])||0x0;return{[_0x4bacd5([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1d7848,[_0x4bacd5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x457899,[_0x4bacd5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x478ead,[_0x4bacd5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x45767b,[_0x4bacd5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x169c49};}catch(_0x50be71){return null;}}const _0x2af52e=_0xa53126(),_0xd54ab9={[_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x395576,[_0x4bacd5([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])]:_0x4927a2,[_0x4bacd5([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])]:_0x8d8832},_0x189a80=_0x2f6449[_0x4bacd5([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x151722=_0x4bacd5([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2f6449?_0x2f6449['context']:_0x2f6449['editor'],_0x336d15=_0x4bacd5([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x38]),_0x2668b1=_0x4bacd5([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]),_0x1baeaf=_0x151722['config']['get'](_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x27aca4=_0x2af52e[_0x4bacd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e0c5e)[_0x4bacd5([0x66,0x69,0x6e,0x64])](_0x52d17d=>_0x52d17d[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x189a80);function _0x207a27(_0x422653,_0x3d3b10){_0xd54ab9[_0x3d3b10[_0x4bacd5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x422653,_0x3d3b10),_0x3d3b10[_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3d3b10[_0x4bacd5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4bacd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4868d4=>_0x792caf(_0x151722,_0x4868d4[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4bacd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56650e=>_0x207a27(_0x422653,_0x56650e));}function _0x395576(_0x1d7d41,_0x480a34){_0x482d65(_0x54e298(_0x1d7d41,_0x480a34),_0x480a34);}function _0x4927a2(_0x2420e6,_0x1bf862){function _0xea9c33(_0x343ead,_0x3db4dc){try{if(_0x792caf(_0x151722,_0x4bacd5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x343ead){const _0x2c876d=_0x20bbf3(_0x151722,_0x4bacd5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4bacd5([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2c876d)/0x2>_0x343ead[_0x4bacd5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3a7fc8(_0x3db4dc[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x54e298(_0x343ead,_0x3db4dc);}catch(_0x5a07e6){return _0x3a7fc8(_0x3db4dc[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x482d65(_0xea9c33(_0x2420e6,_0x1bf862),_0x1bf862);}function _0x8d8832(_0xacf76c,_0x5f4b01){const _0x2ebb6b=_0x387452[0x0]*_0x41caa0[0x1],_0x27e9ea=_0x387452[0x0]*_0x41caa0[0x2],_0x2eb9e5=_0x387452[0x2]*_0x41caa0[0x2];_0x792caf(_0x151722,_0x4bacd5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x20bbf3(_0x151722,_0x4bacd5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4bacd5([0x73,0x74,0x61,0x74,0x65])]==_0x4bacd5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x394d2d()]=_0x2eb9e5);function _0x88fd83(_0x4185ee,_0x2f6989){try{return _0x1a5aa7()?_0x3a7fc8(_0x2f6989[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x56,0x61,0x6c,0x69,0x64])):_0x54e298(_0x4185ee,_0x2f6989);}catch(_0x37f91a){return _0x3a7fc8(_0x2f6989[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x18c938(_0x5cdbc0,_0x3aca32){const _0x21ede5=0x7;if(_0x5cdbc0==_0x3aca32[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1d8232();else{if(_0x5cdbc0==_0x3aca32[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c])){const _0x3e02f4=_0x1162ca();_0x3e02f4&&_0x3c9e68(_0x3e02f4,_0x3aca32[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5216c2=_0x5671af();window[_0x4bacd5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3c9e68(_0x4bacd5([0x74,0x69,0x6d,0x65]),_0x3aca32[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5216c2);const _0x51b55e=_0x20bbf3(_0x151722,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4bacd5([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x51b55e[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21ede5?_0x3c9e68(_0x4bacd5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3aca32[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x51b55e['on'](_0x4bacd5([0x61,0x64,0x64]),()=>{_0x51b55e[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21ede5&&_0x3c9e68(_0x4bacd5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3aca32[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1162ca(){if(!_0x792caf(_0x151722,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x23bbf2 in window)if(Number['isNaN'](Number(_0x23bbf2))){if(window[_0x23bbf2]===_0x2ebb6b)return _0x4bacd5([0x74,0x69,0x6d,0x65]);if(window[_0x23bbf2]===_0x27e9ea)return _0x4bacd5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1a5aa7(){if(!_0x792caf(_0x151722,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x291aad in window)if(Number['isNaN'](Number(_0x291aad))&&window[_0x291aad]===_0x2eb9e5)return!0x0;return!0x1;}function _0x3c9e68(_0x37549d,_0x3350e1){_0x1d8232(),_0x3a7fc8(_0x3350e1+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x37549d),window[_0x394d2d()]=_0x37549d===_0x4bacd5([0x74,0x69,0x6d,0x65])?_0x2ebb6b:_0x27e9ea;}function _0x5671af(){let _0x349e99=_0x387452[0x6]*_0x41caa0[0x8]*_0x41caa0[0x6];return _0x792caf(_0x151722,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x349e99/=0xa),_0x349e99;}function _0x1d8232(){const _0x70b0f0=_0x151722;function _0x4669f2(){_0x792caf(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4bacd5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4bacd5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4bacd5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4bacd5([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5cab32,_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4bacd5([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5cab32,_0x70b0f0[_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bacd5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cab32,_0x70b0f0[_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bacd5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cab32,_0x70b0f0[_0x4bacd5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c]))),_0x792caf(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4bacd5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4bacd5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4bacd5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4bacd5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5cab32,_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4bacd5([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5cab32);}_0x70b0f0[_0x4bacd5([0x73,0x74,0x61,0x74,0x65])]==_0x4bacd5([0x72,0x65,0x61,0x64,0x79])?_0x4669f2():_0x70b0f0[_0x4bacd5([0x6f,0x6e,0x63,0x65])](_0x4bacd5([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x792caf(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4669f2(),_0x792caf(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x354e84=_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x28465f=_0x354e84['getRevision'](0x0),_0x3d1716=_0x354e84['getEarlierVisibleRevision'](_0x28465f[_0x4bacd5([0x69,0x64])]);_0x20bbf3(_0x70b0f0,_0x4bacd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4bacd5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x28465f[_0x4bacd5([0x69,0x64])],_0x3d1716?_0x3d1716[_0x4bacd5([0x69,0x64])]:null,0x1)['then'](()=>_0x4669f2());}});}_0x18c938(_0x88fd83(_0xacf76c,_0x5f4b01),_0x5f4b01);}function _0x54e298(_0x1f388c,_0x4e874f){try{return _0xc1d20a(_0x4e874f)?_0x3a7fc8(_0x4e874f[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x56,0x61,0x6c,0x69,0x64])):_0x1f388c&&_0x42046d(_0x1f388c[_0x4bacd5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4e874f)?_0x1f388c[_0x4bacd5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4bacd5([0x6f,0x70,0x65,0x6e])][_0x4bacd5([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x336d15)/0x2>_0x1f388c[_0x4bacd5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3a7fc8(_0x4e874f[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x1f388c[_0x4bacd5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3a7fc8(_0x4e874f[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c])):_0x3a7fc8(_0x4e874f[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x56,0x61,0x6c,0x69,0x64])):_0x3a7fc8(_0x4e874f[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x84610e){return _0x3a7fc8(_0x4e874f[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x482d65(_0x1784bf,_0x4a7c85){if(_0x151722 instanceof _0x52e60c){const _0x1ab1db=_0x151722;_0x1784bf==_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5a6cd6(_0x1ab1db):_0x1784bf==_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4bacd5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5a6cd6(_0x1ab1db),_0x3a7fc8(_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x387452[0x6]*_0x41caa0[0x8]*_0x41caa0[0x6]),_0x1ab1db[_0x4bacd5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4bacd5([0x6f,0x6e])](_0x4bacd5([0x61,0x64,0x64]),(_0x1105fb,_0x3033f1)=>{_0x1784bf!=_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1784bf!=_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1784bf!=_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x418691(_0x3033f1);});}else{const _0x43e69f=_0x151722;_0x1784bf==_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x418691(_0x43e69f):_0x1784bf==_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c])&&_0x43e69f[_0x4bacd5([0x6f,0x6e])](_0x4bacd5([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x438c12=0x0;_0x43e69f[_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bacd5([0x6f,0x6e])](_0x4bacd5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3477bb,_0x29febd)=>{_0x29febd[0x0][_0x4bacd5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x438c12++,0x1f8===_0x438c12&&(_0x418691(_0x43e69f),_0x3a7fc8(_0x4a7c85[_0x4bacd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4bacd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3477bb[_0x4bacd5([0x6f,0x66,0x66])]());},{'priority':_0x4bacd5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3a7fc8(_0x1f3cbc){const _0x56d629=_0x394d2d();return _0x151722[_0x56d629]=_0x1f3cbc,_0x1f3cbc;}function _0x394d2d(){const _0x43815e=String(window[_0x4bacd5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4bacd5([0x6e,0x6f,0x77])]())[_0x4bacd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4bacd5([0x2e]),'');let _0x4473a7='';for(let _0x4de0a8=0x0;_0x4de0a8<_0x43815e[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4de0a8+=0x2){let _0x1def51=parseInt(_0x43815e[_0x4bacd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4de0a8,_0x4de0a8+0x2));_0x1def51>=_0x2668b1[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1def51-=_0x2668b1[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4473a7+=_0x2668b1[_0x1def51];}return _0x4473a7;}function _0x5a6cd6(_0x45ac51){for(const _0x47f409 of _0x45ac51[_0x4bacd5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x418691(_0x47f409);_0x20bbf3(_0x45ac51,_0x4bacd5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4bacd5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x20bbf3(_0x45ac51,_0x4bacd5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4bacd5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5cab32;}function _0x418691(_0xe0e3d2){function _0xf881a9(){_0xe0e3d2[_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bacd5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cab32,_0xe0e3d2[_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bacd5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cab32,_0xe0e3d2[_0x4bacd5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bacd5([0x6d,0x6f,0x64,0x65,0x6c]));}_0xe0e3d2[_0x4bacd5([0x73,0x74,0x61,0x74,0x65])]==_0x4bacd5([0x72,0x65,0x61,0x64,0x79])?_0xf881a9():_0xe0e3d2[_0x4bacd5([0x6f,0x6e,0x63,0x65])](_0x4bacd5([0x72,0x65,0x61,0x64,0x79]),()=>_0xf881a9());}function _0x5cab32(){return null;}function _0x42046d(_0x3e3269,_0x266b2e){const _0x373db2=!!(_0x3e3269&_0x266b2e[_0x4bacd5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4f31ad=_0x434477(_0x3e3269,_0x266b2e);return _0x373db2||_0x4f31ad;}function _0x434477(_0x3b7ed9,_0x4251a4){const _0x52deea=(_0x4251a4[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4bacd5([0x66,0x67,0x69])]||null;return!!_0x52deea&&_0x2af52e[_0x4bacd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f03f1=>_0x52deea[_0x4bacd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f03f1[_0x4bacd5([0x69,0x64])]))[_0x4bacd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x297055=>!_0x30dd17(_0x297055))[_0x4bacd5([0x73,0x6f,0x6d,0x65])](_0x1c235d=>!!(_0x3b7ed9&_0x1c235d[_0x4bacd5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x30dd17(_0x299057){const _0x148245={[_0x4bacd5([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])]:_0x3456c6};return!!_0x299057['forbiddenHandler']&&_0x148245[_0x299057['forbiddenHandler']]();}function _0x3456c6(){return!window[_0x4bacd5([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x792caf(_0x151722,_0x4bacd5([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xc1d20a(_0x52c6b4){if(!_0x792caf(_0x151722,_0x52c6b4[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x378bd0=_0x52c6b4[_0x4bacd5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3fb9fa=_0x378bd0[_0x4bacd5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x746822=_0x378bd0[_0x4bacd5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x35fbc1=_0x378bd0[_0x4bacd5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x792caf(_0x151722,_0x4bacd5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x20bbf3(_0x151722,_0x4bacd5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4bacd5([0x73,0x74,0x61,0x74,0x65])]==_0x4bacd5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3fb9fa)return!0x0;if(_0x792caf(_0x151722,_0x4bacd5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x20bbf3(_0x151722,_0x4bacd5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4bacd5([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4bacd5([0x65,0x6e,0x64])&&_0x746822)return!0x0;return!(!_0x792caf(_0x151722,_0x4bacd5([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]))||_0x20bbf3(_0x151722,_0x4bacd5([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]))[_0x4bacd5([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4bacd5([0x65,0x6e,0x64])||!_0x35fbc1);}function _0x792caf(_0x388ff5,_0x1f95d7){return _0x388ff5[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4bacd5([0x68,0x61,0x73])](_0x1f95d7);}function _0x20bbf3(_0x13516d,_0x58e5c6){return _0x13516d[_0x4bacd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4bacd5([0x67,0x65,0x74])](_0x58e5c6);}function _0xa60e5(_0x19c01e){let _0x1384ee='';for(const _0x58536a of _0x19c01e)_0x1384ee+=String[_0x4bacd5([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x58536a);return _0x1384ee;}function _0x125b0a(_0x30c8a9){const _0x222f28=new Uint8Array(_0x30c8a9[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5b56dc=0x0;_0x5b56dc<_0x30c8a9[_0x4bacd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b56dc++)_0x222f28[_0x5b56dc]=_0x30c8a9[_0x4bacd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b56dc);return _0x222f28;}_0x27aca4&&_0x207a27(_0x42756c(_0x1baeaf),_0x27aca4);})(_0x504851);}(this);}['createRevision'](_0xd7e7fe){const _0x13f416=this['editor']['plugins']['get']('Users');return new a({'id':_0xd7e7fe['id'],'name':_0xd7e7fe['name'],'creator':_0xd7e7fe['creatorId']?_0x13f416['getUser'](_0xd7e7fe['creatorId']):null,'diffData':_0xd7e7fe['diffData']||_0xd7e7fe['data'],'authors':_0xd7e7fe['authorsIds']['map'](_0x14efcd=>_0x13f416['getUser'](_0x14efcd)),'createdAt':new Date(_0xd7e7fe['createdAt']),'attributes':_0xd7e7fe['attributes'],'fromVersion':_0xd7e7fe['fromVersion'],'toVersion':_0xd7e7fe['toVersion']});}['addRevision'](_0x509977,_0x5977df=0x0){this['_revisions']['add'](_0x509977,_0x5977df);}['getRevision'](_0x1de2c8){return this['_revisions']['get'](_0x1de2c8);}['getRevisions'](_0x21679c={'toJSON':!0x1}){const _0x21adb4=Array['from'](this['_revisions']);return _0x21adb4['reverse'](),_0x21679c['toJSON']?_0x21adb4['map'](_0xb3ed06=>_0xb3ed06['toJSON']()):_0x21adb4;}['getIndex'](_0x3d5d66){return this['_revisions']['getIndex'](_0x3d5d66);}['getEarlierVisibleRevision'](_0x3db276){const [,_0x29ea53]=this['getRevisionsIterator'](_0x3db276,{'direction':'earlier'});return _0x29ea53;}['getLaterVisibleRevision'](_0x1f3ca3){const [,_0x2db3fc]=this['getRevisionsIterator'](_0x1f3ca3,{'direction':'later'});return _0x2db3fc;}['getRevisionsInDiff'](_0x5c8aa7){const _0x37242e=[];for(const _0x4e1515 of this['getRevisionsIterator'](_0x5c8aa7['newRevisionId']))if(_0x37242e['push'](_0x4e1515),_0x4e1515['id']===_0x5c8aa7['oldRevisionId'])break;return _0x37242e;}*['getRevisionsIterator'](_0x39eb8b,{direction:_0x20fb7f='earlier',filter:_0x22d532=_0x25122a=>!0x0}={}){const _0x4ab749='earlier'===_0x20fb7f?0x1:-0x1;let _0x7fa4f3=this['_revisions']['get'](_0x39eb8b),_0x2d280e=this['getIndex'](_0x7fa4f3);for(yield _0x7fa4f3;_0x7fa4f3;){if(_0x2d280e+=_0x4ab749,_0x7fa4f3=this['getRevision'](_0x2d280e),!_0x7fa4f3)return;_0x22d532(_0x7fa4f3)&&(yield _0x7fa4f3);}}}function y(_0x50bef1,_0x5cb1ad,_0x5770e1){const t=_0x50bef1['t'];switch(_0x5cb1ad){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'},_0x5770e1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5770e1);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':_0x1b195e,'a':_0x212ec,'e':_0x3640e2,'r':_0xefa8e7,'u':_0x4af7e1};class l extends _0xb13d88{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x107127,A,_0x13b731];}constructor(_0x536586){super(_0x536586),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 _0x3334ff=_0x18f98c();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3334ff},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 _0xeeaaf1=this['repository']['getRevision'](0x0),_0x40809f=_0xeeaaf1&&null===_0xeeaaf1['creator']?_0xeeaaf1:null;if(this['_continueCurrentRevision']=!!_0x40809f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1801d1=this['_source']['getCurrentRevisionId'](),_0x2b52e4=this['repository']['getRevision'](_0x1801d1);if(_0x2b52e4)this['_startingVersion']=_0x2b52e4['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x19e154=this['_source']['history']['_operations']['find'](_0x470885=>!_0x470885['_isInit']),_0xf7b784=_0x19e154?_0x19e154['baseVersion']:this['_source']['history']['version'];_0xeeaaf1?(_0xeeaaf1['toVersion']<_0xf7b784&&_0xeeaaf1['_update']({'toVersion':_0xf7b784}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x40809f['id'],this['_startingVersion']=_0x40809f['fromVersion']):(this['_startingVersion']=_0xeeaaf1['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xf7b784,this['_continueCurrentRevision']=!0x1);}}else _0x40809f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x40809f['toVersion'],this['editor']['model']['document']['history']['version']),_0x40809f['fromVersion']===_0x40809f['toVersion']?(0x0!==_0x40809f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x40809f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x40809f['id'],this['_startingVersion']=_0x40809f['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',_0x4d9e67=>!_0x4d9e67);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4f2a7e=this['repository']['getRevision'](0x0),_0x574883=await this['getRevisionDocumentData'](_0x4f2a7e),_0x4e5c74=await this['getRevisionRootsAttributes'](_0x4f2a7e);this['_replaceEditorDataWithRevisionData'](_0x574883,_0x4e5c74);}}['setSource'](_0x146175){this['_source']=_0x146175;}async['update'](){const _0x1779d0=await this['_source']['getLatestVersion']();if(_0x1779d0>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3bcc1f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1779d0});_0x3bcc1f['authors']=_0x3bcc1f['authorsIds']['map'](_0x51ff69=>this['editor']['plugins']['get']('Users')['getUser'](_0x51ff69)),this['currentRevision']['_update'](_0x3bcc1f);}}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'](_0x172871={},_0x16ba53=null){const _0x1dbea7=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x16ba53>this['currentRevision']['toVersion']&&(_0x16ba53=null),null===_0x16ba53&&(_0x16ba53=await this['_source']['getLatestVersion']());const _0x4519ce=this['_getFromVersion'](_0x16ba53),_0x48199e=this['buildRevisionData']({'from':_0x4519ce,'to':_0x16ba53});if(this['currentRevision']['toVersion']<_0x16ba53){const _0x20cb2a=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x16ba53,'to':_0x16ba53});_0x20cb2a['authors']=[],_0x20cb2a['authorsIds']=[],_0x20cb2a['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x20cb2a,!0x0),delete _0x20cb2a['authors'],_0x1dbea7['push'](_0x20cb2a);}_0x172871['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x172871['name']=_0x172871['name']||null,_0x172871['id']=_0x172871['id']||_0x18f98c(),_0x172871={..._0x172871,..._0x48199e};const _0x3ffe8f=this['addRevisionData'](_0x172871);_0x1dbea7['push'](_0x172871);const _0x269032=this['repository']['getIndex'](_0x3ffe8f);if(0x0!==_0x269032){const _0xd4d3d5=this['repository']['getRevision'](_0x269032-0x1);if(_0xd4d3d5['fromVersion']!==_0x16ba53){const _0x1e4e65=this['_revisionDataBuilder']['getData'](_0x16ba53,_0xd4d3d5['toVersion']),_0x36ebaa={'id':_0xd4d3d5['id'],'diffData':_0x1e4e65['diffData'],'authorsIds':_0x1e4e65['authorsIds'],'authors':_0x1e4e65['authorsIds']['map'](_0x548373=>this['editor']['plugins']['get']('Users')['getUser'](_0x548373)),'fromVersion':_0x16ba53};_0xd4d3d5===this['currentRevision']&&(_0x36ebaa['createdAt']=new Date(_0x172871['createdAt']['getTime']()+0xa)),_0xd4d3d5['_update'](_0x36ebaa,!0x0),delete _0x36ebaa['authors'],_0x1dbea7['push'](_0x36ebaa);}}if(this['adapter']){for(const _0x4379aa of _0x1dbea7)this['_bufferUpdate'](_0x4379aa['id'],_0x4379aa,!0x0);this['sendBufferedUpdates']();}return _0x3ffe8f;}['addRevisionData'](_0x3a50b4){const _0x1c84d5=this['repository']['createRevision'](_0x3a50b4);return this['adapter']&&_0x1c84d5['on']('_update',(_0x593c78,_0x408502,_0x24f0e5)=>{_0x24f0e5||(this['_bufferUpdate'](_0x408502['id'],_0x408502,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1c84d5,this['_findInsertionIndex'](_0x1c84d5)),_0x1c84d5;}async['getRevisionDocumentData'](_0x227f3a){await this['_loadRevisionData'](_0x227f3a);const _0x1e1c70={};for(const _0x20423b in _0x227f3a['diffData']){if(_0x227f3a['diffData'][_0x20423b]['attachChange']&&!_0x227f3a['diffData'][_0x20423b]['attachChange']['isAttached'])continue;const _0x4968b4=this['_removeRevisionMarkers'](JSON['parse'](_0x227f3a['diffData'][_0x20423b]['insertions'])),_0x3ec9c=this['editor']['editing']['view']['document'],_0x372446=new _0x5128f5(_0x3ec9c,_0x4968b4['map'](_0x22d4e2=>B(_0x22d4e2,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1e1c70[_0x20423b]=this['editor']['data']['processor']['toData'](_0x372446),this['editor']['data']['processor']['useFillerType']('default');}return _0x1e1c70;}async['getRevisionRootsAttributes'](_0x460bbd){await this['_loadRevisionData'](_0x460bbd);const _0x3551a8={};for(const _0x49e90a in _0x460bbd['diffData'])_0x460bbd['diffData'][_0x49e90a]['attachChange']&&!_0x460bbd['diffData'][_0x49e90a]['attachChange']['isAttached']||(_0x3551a8[_0x49e90a]=_0x460bbd['diffData'][_0x49e90a]['attributesAfter']||{});return _0x3551a8;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x249cdd=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x58f61b=0x0;_0x58f61b<_0x249cdd['length'];_0x58f61b++){const _0xc3ad92=_0x249cdd[_0x58f61b];let _0x39d5c6=!0x1;for(const _0x348fb2 of Object['keys'](_0xc3ad92))void 0x0===_0xc3ad92[_0x348fb2]?delete _0xc3ad92[_0x348fb2]:'id'!==_0x348fb2&&(_0x39d5c6=!0x0);_0x39d5c6||(_0x249cdd[_0x58f61b]=null);}if(_0x249cdd=_0x249cdd['filter'](_0x2d618d=>null!==_0x2d618d),!_0x249cdd['length'])return;for(let _0x33308a=0x0;_0x33308a<_0x249cdd['length'];_0x33308a++){const _0x47555c=_0x249cdd[_0x33308a];void 0x0!==_0x47555c['fromVersion']&&void 0x0===_0x47555c['toVersion']&&(_0x47555c['toVersion']=this['repository']['getRevision'](_0x47555c['id'])['toVersion']),void 0x0!==_0x47555c['toVersion']&&void 0x0===_0x47555c['fromVersion']&&(_0x47555c['fromVersion']=this['repository']['getRevision'](_0x47555c['id'])['fromVersion']);}const _0x4c8305=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x249cdd,_0x4c8305)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x49e82e=>{if(_0x49e82e){for(const _0x59cd59 of _0x49e82e)this['setRevisionData']({'id':_0x59cd59['id'],'createdAt':_0x59cd59['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5d1fc8,_0x2504b2){let _0x25a968=this['editor']['config']['get']('initialData'),_0x1ee167=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x25a968){_0x25a968={};for(const _0x1fbb82 of this['editor']['model']['document']['getRootNames']())_0x25a968[_0x1fbb82]='';}if('string'==typeof _0x25a968&&(_0x25a968={'main':_0x25a968}),void 0x0===_0x1ee167){_0x1ee167={};for(const _0x19fbfa of this['editor']['model']['document']['getRootNames']())_0x1ee167[_0x19fbfa]={};}let _0x15f112=!0x1;const _0x4e09e0=Object['keys'](_0x25a968),_0x3a7016=Object['keys'](_0x5d1fc8);for(const _0x2141da of _0x4e09e0){if(_0x25a968[_0x2141da]!==_0x5d1fc8[_0x2141da]&&''!==_0x25a968[_0x2141da]['trim']()){_0x15f112=!0x0;break;}if(!_0x3a217f(_0x1ee167[_0x2141da],_0x2504b2[_0x2141da])&&Object['keys'](_0x1ee167[_0x2141da])['length']>0x0){_0x15f112=!0x0;break;}}_0x15f112||(_0x15f112=_0x3a7016['some'](_0x2abae5=>!this['editor']['model']['document']['getRoot'](_0x2abae5))),_0x15f112&&_0x86715b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x25a968,'editorRootsAttributes':_0x1ee167,'revisionData':_0x5d1fc8,'revisionRootsAttributes':_0x2504b2}),this['editor']['config']['set']('initialData',_0x5d1fc8),this['editor']['config']['set']('rootsAttributes',_0x2504b2);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x29c56c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x29c56c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x121487){const _0x3ec945=this['repository']['getRevisions']();_0x3ec945['reverse']();let _0x2a9a6d=0x0;for(;_0x2a9a6d<_0x3ec945['length'];){const _0xc0bc16=_0x3ec945[_0x2a9a6d];if(_0xc0bc16===this['currentRevision']){_0x2a9a6d++;continue;}if(_0xc0bc16['id']===this['_initialRevisionId'])break;const _0x53d42e=_0x121487['toVersion']-_0xc0bc16['toVersion']||_0x121487['fromVersion']-_0xc0bc16['fromVersion'];if(_0x53d42e>0x0)break;if(_0x53d42e<0x0)_0x2a9a6d++;else{if(!_0x121487['creator']&&_0xc0bc16['creator'])break;if(_0xc0bc16['creator']||!_0x121487['creator']){if(_0x121487['createdAt']>_0xc0bc16['createdAt'])break;_0x2a9a6d++;}else _0x2a9a6d++;}}return _0x2a9a6d;}['setRevisionData'](_0x1e0c44){const _0x3a9a80=this['repository']['getRevision'](_0x1e0c44['id']);if(_0x1e0c44['createdAt']&&(_0x1e0c44['createdAt']=new Date(_0x1e0c44['createdAt'])),_0x1e0c44['authorsIds']){const _0x3f32f3=this['editor']['plugins']['get']('Users');_0x1e0c44['authors']=_0x1e0c44['authorsIds']['map'](_0x5a8c8a=>_0x3f32f3['getUser'](_0x5a8c8a));}_0x3a9a80['_update'](_0x1e0c44,!0x0);}['buildRevisionData']({revision:_0x4ac1b8=null,from:_0x6c6895=null,to:_0x44f666=null}){_0x6c6895=null!==_0x6c6895?_0x6c6895:_0x4ac1b8['fromVersion'],_0x44f666=null!==_0x44f666?_0x44f666:_0x4ac1b8['toVersion'];const _0x4f206e=this['_revisionDataBuilder']['getData'](_0x6c6895,_0x44f666),_0x220bff={'diffData':_0x4f206e['diffData'],'authorsIds':_0x4f206e['authorsIds'],'fromVersion':_0x6c6895,'toVersion':_0x44f666};if(!_0x4ac1b8||_0x44f666!==_0x4ac1b8['toVersion']){const _0x34d884=_0x44f666-0x1,_0x102521=this['_source']['history']['getOperation'](_0x34d884);_0x220bff['createdAt']=_0x102521&&_0x102521['createdAt']||new Date();}if(this['_loadedStateData']&&_0x6c6895===this['_loadedStateData']['fromVersion']){for(const _0x103c03 of this['_loadedStateData']['authors'])_0x220bff['authorsIds']['includes'](_0x103c03['id'])||_0x220bff['authorsIds']['push'](_0x103c03['id']);}return _0x220bff;}['_loadRevisionData'](_0x45f908){if(!_0x45f908||_0x45f908['diffData'])return Promise['resolve']();{const _0x1ddb3e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1ddb3e,'revisionId':_0x45f908['id']})['then'](_0xad5509=>{_0x45f908['diffData']=_0xad5509['diffData'];});}}['_bufferUpdate'](_0x56e3fa,_0x10784c,_0x133ac0){if(this['_bufferedUpdates']['has'](_0x56e3fa)){const _0x5e4cb1=this['_bufferedUpdates']['get'](_0x56e3fa);_0x10784c=_0x133ac0?{..._0x5e4cb1,..._0x10784c}:{..._0x10784c,..._0x5e4cb1};}this['_bufferedUpdates']['set'](_0x56e3fa,_0x10784c);}['_getFromVersion'](_0x19632f){const _0x2344eb=this['repository']['getRevisions']();_0x2344eb['reverse'](),_0x2344eb['shift']();const _0x58d12d=_0x2344eb['find'](_0x4c1eba=>_0x4c1eba['toVersion']<=_0x19632f)['toVersion'];return _0x58d12d<this['_startingVersion']?this['_startingVersion']:_0x58d12d;}['_createInitialRevision'](_0x21dab9){const _0x3385ab=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3385ab)this['_initialRevisionId']=_0x3385ab['id'];else{const _0x2076af=!this['editor']['model']['document']['roots']['find'](_0x23cfe9=>this['editor']['model']['hasContent'](_0x23cfe9)),_0xc50cc8=this['editor']['plugins']['get']('Users')['me']['id'],_0x15f0b4=y(this['editor']['locale'],_0x2076af?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x21dab9,'to':_0x21dab9,'id':this['_initialRevisionId'],'name':_0x15f0b4,'creatorId':_0xc50cc8});}}['_createCurrentRevision'](_0x272015){const _0x36af8c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x36af8c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x272015,'to':_0x272015,'id':_0x36af8c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x50d7a3,from:_0x262465,to:_0x3fb8e6,creatorId:_0x4188c0,id:_0x50089e}){const _0x2c36da=this['buildRevisionData']({'from':_0x262465,'to':_0x3fb8e6});_0x2c36da['name']=_0x50d7a3,_0x2c36da['creatorId']=_0x4188c0,_0x2c36da['id']=_0x50089e;const _0x14291d=this['addRevisionData'](_0x2c36da);return this['adapter']&&this['_bufferUpdate'](_0x2c36da['id'],_0x2c36da,!0x0),_0x14291d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2d8490){return(_0x2d8490=_0x2d8490['filter'](_0x4a8385=>!_0x4a8385['name']||'revision-start'!==_0x4a8385['name']&&'revision-end'!==_0x4a8385['name']))['forEach'](_0x20b60b=>{'string'!=typeof _0x20b60b&&(_0x20b60b['children']=this['_removeRevisionMarkers'](_0x20b60b['children']),_0x20b60b['attributes']=_0x20b60b['attributes']['filter'](_0x301908=>!_0x301908[0x0]['startsWith']('data-revision-')));}),_0x2d8490;}}function B(_0x218463,_0x57c8f3){const _0x21b700=_0x57c8f3['editing']['view']['document'];if('string'==typeof _0x218463)return new _0x2b9845(_0x21b700,_0x218463);{const _0x2510fc=_0x218463['children']['map'](_0x3557b7=>B(_0x3557b7,_0x57c8f3));return new(T[_0x218463['type']]||_0xab0a51)(_0x21b700,_0x218463['name'],_0x218463['attributes'],_0x2510fc);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5c32ae){this['editor']=_0x5c32ae,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'](_0x4da6ab){this['source']=_0x4da6ab;const _0x1e720a=new Map(),_0x53128a=new Map(),_0x22ef7d=this['editor']['model']['document']['roots']['map'](_0xabd09b=>_0xabd09b['rootName']);for(const _0x3e6a42 of _0x22ef7d){const _0x15e84f=this['editor']['model']['document']['getRoot'](_0x3e6a42),_0x2e61cd=q(_0x15e84f);_0x1e720a['set'](_0x3e6a42,_0x2e61cd),_0x53128a['set'](_0x3e6a42,Object['fromEntries'](_0x15e84f['getAttributes']()));}const _0x3bf945=Array['from'](this['editor']['model']['markers'])['map'](_0x290f34=>[_0x290f34['name'],_0x290f34['getRange']()]),_0x479478=this['source']['version'];this['_saveMetaData'](_0x479478,_0x1e720a,_0x3bf945,_0x53128a),this['_startingRevisionId']=this['_revisionId'];const _0x2558c2=new Map(),_0x17ab40=new Map();for(const _0xdd2ec6 of _0x22ef7d){const _0x517a56=G(_0xdd2ec6);_0x2558c2['set'](_0xdd2ec6,_0x517a56),_0x17ab40['set'](_0xdd2ec6,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2558c2,[],_0x17ab40);}['getData'](_0xc9c394,_0x340719){if(this['_lastFrom']===_0xc9c394&&this['_lastTo']<=_0x340719)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x340719,!0x0);else{if(!this['_savedMetaData']['has'](_0xc9c394)){const _0x53d884=this['_getPreviousFrom'](_0xc9c394);this['_calculateMetaData'](_0x53d884,_0xc9c394,!0x1);}this['_calculateMetaData'](_0xc9c394,_0x340719,!0x0);}return this['_lastFrom']=_0xc9c394,this['_lastTo']=_0x340719,this['_getState']();}['loadState'](_0x25139d){this['_reset'](),this['_lastFrom']=_0x25139d['fromVersion'],this['_lastTo']=_0x25139d['toVersion'];for(const _0x4cba05 in _0x25139d['diffData']){const _0x247dad=_0x25139d['diffData'][_0x4cba05]['attachChange'],_0x2a0b24=_0xbc8db6(_0x25139d['diffData'][_0x4cba05]['attributesBefore'])||{},_0x16afbb=this['_makeModelFromViewString'](_0x25139d['diffData'][_0x4cba05]['deletions']);_0x16afbb['rootName']=_0x4cba05,_0x16afbb['_isAttached']=!_0x247dad||!_0x247dad['isAttached'],_0x16afbb['isAttached']=()=>_0x16afbb['_isAttached'],this['_baseRoots']['set'](_0x4cba05,_0x16afbb),this['_baseRootsAttributes']['set'](_0x4cba05,_0x2a0b24),_0x247dad&&this['_touchedRoots']['set'](_0x4cba05,_0x247dad);const _0x58d0af=this['_makeIdsRoot'](_0x16afbb);this['_baseIdsRoots']['set'](_0x4cba05,_0x58d0af);for(const [_0x1f6e7a,_0x195904]of _0x16afbb['markers']){if(!_0x1f6e7a['startsWith']('revision:'))continue;const _0x1e0a8e=_0x1f6e7a['split'](':')[0x2];for(const _0x48b356 of _0x195904['getWalker']({'singleCharacters':!0x0})){const _0x37d1c6=this['_getVidAttributeName'](_0x48b356),_0x125acc='elementEnd'==_0x48b356['type']?_0x48b356['previousPosition']['path']['slice'](0x0,-0x1):_0x48b356['previousPosition']['path'],_0x3b42c8=_0x58d0af['getNodeByPath'](_0x125acc)['getAttribute'](_0x37d1c6);this['_touched']['set'](_0x3b42c8,{'userId':_0x1e0a8e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x147d5e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x47729c=>!this['_touched']['has'](_0x47729c));let _0x1acff4=0x0;const _0x1b12d3=new Map();for(const _0x55fc63 in _0x25139d['diffData']){const _0xb8e027=_0x25139d['diffData'][_0x55fc63]['attachChange'],_0x564bbf=_0xbc8db6(_0x25139d['diffData'][_0x55fc63]['attributesAfter'])||{},_0x2407fd=this['_makeModelFromViewString'](_0x25139d['diffData'][_0x55fc63]['insertions']);_0x2407fd['rootName']=_0x55fc63,_0x2407fd['_isAttached']=!_0xb8e027||_0xb8e027['isAttached'],_0x2407fd['isAttached']=()=>_0x2407fd['_isAttached'],this['_diffRoots']['set'](_0x55fc63,_0x2407fd),this['_diffRootsAttributes']['set'](_0x55fc63,_0x564bbf);const _0x15bac4=this['_makeIdsRoot'](_0x2407fd,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x55fc63,_0x15bac4),_0x1b12d3['set'](_0x55fc63,_0x2407fd['isAttached']()?_0x564bbf:{});for(const [_0x319386,_0x16c1c0]of _0x2407fd['markers']){if(!_0x319386['startsWith']('revision:'))continue;const _0xbe0ca2=_0x319386['split'](':')[0x2];for(const _0x5ee2bb of _0x16c1c0['getWalker']({'singleCharacters':!0x0})){const _0x1fb634=this['_getVidAttributeName'](_0x5ee2bb),_0x1eaccb=this['_revisionId']++,_0x13f7a4='elementEnd'==_0x5ee2bb['type']?_0x5ee2bb['previousPosition']['path']['slice'](0x0,-0x1):_0x5ee2bb['previousPosition']['path'];_0x15bac4['getNodeByPath'](_0x13f7a4)['_setAttribute'](_0x1fb634,_0x1eaccb),this['_touched']['set'](_0x1eaccb,{'userId':_0xbe0ca2});}}for(const _0x31c5f9 of this['editor']['model']['createRangeIn'](_0x2407fd)['getWalker']({'singleCharacters':!0x0})){const _0x51369f=this['_getVidAttributeName'](_0x31c5f9),_0x4f8627='elementEnd'==_0x31c5f9['type']?_0x31c5f9['previousPosition']['path']['slice'](0x0,-0x1):_0x31c5f9['previousPosition']['path'],_0x3f4a5b=_0x15bac4['getNodeByPath'](_0x4f8627);_0x3f4a5b['getAttribute'](_0x51369f)>0x0||_0x3f4a5b['_setAttribute'](_0x51369f,_0x147d5e[_0x1acff4++]);}for(const [_0x2d42b4,_0x535e90]of _0x2407fd['markers'])_0x2d42b4['startsWith']('revision:')||this['_markers']['set'](_0x2d42b4,_0x535e90);}const _0x70698=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x70698),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x70698,0x1));const _0x2a6a94=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2a6a94),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2a6a94,0x1));const _0x1c9b52=Array['from'](this['_diffRoots'])['map'](([_0x67da0f,_0x3a0dbf])=>[_0x67da0f,q(_0x3a0dbf)]);this['_saveMetaData'](this['_lastTo'],_0x1c9b52,this['_markers'],_0x1b12d3);}['_makeModelFromViewString'](_0xb99911){const _0x8ee878=JSON['parse'](_0xb99911),_0x1f0c1f=this['editor']['editing']['view']['document'],_0x2b9c42=new _0x5128f5(_0x1f0c1f,_0x8ee878['map'](_0x252363=>B(_0x252363,this['editor'])));return this['editor']['data']['toModel'](_0x2b9c42);}['_saveMetaData'](_0x327ba9,_0x44b8c6,_0x539c05,_0x13ac71){const _0x48ed99=new Map(_0x44b8c6),_0x389bf4=new Map(_0xbc8db6(_0x13ac71)),_0x3bfa8b=new Map();for(const [_0x5ce304,_0x524999]of _0x539c05)_0x3bfa8b['set'](_0x5ce304,{'start':_0x524999['start']['clone'](),'end':_0x524999['end']['clone'](),'rootName':_0x524999['root']['rootName']});this['_savedMetaData']['set'](_0x327ba9,{'roots':_0x48ed99,'markers':_0x3bfa8b,'rootsAttributes':_0x389bf4});}['_removeMetaData'](_0x430902){this['_savedMetaData']['delete'](_0x430902);}['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'](_0x3fa925,_0x284956=null){let _0x24062b=null;_0x3fa925['is']('documentFragment')||(_0x24062b=new ft(_0x3fa925['name'],{'vid_start':null===_0x284956?this['_revisionId']++:_0x284956++}));const _0xcf3929=[];for(const _0x30e33d of _0x3fa925['getChildren']())if(_0x30e33d['is']('element')){_0xcf3929['push'](this['_makeIdsRoot'](_0x30e33d,_0x284956));const _0x4c4c91=_0xcf3929[_0xcf3929['length']-0x1];null!==_0x284956&&(_0x284956=_0x4c4c91['is']('element','$text')?_0x4c4c91['getAttribute']('vid')+0x1:_0x4c4c91['getAttribute']('vid_end')+0x1);}else{for(let _0x29f66d=0x0;_0x29f66d<_0x30e33d['offsetSize'];_0x29f66d++)_0xcf3929['push'](new ft('$text',{'vid':null===_0x284956?this['_revisionId']++:_0x284956++}));}if(_0x3fa925['is']('documentFragment')){const _0x13c70a=G(_0x3fa925['rootName']);return _0x13c70a['_insertChild'](0x0,_0xcf3929),_0x13c70a;}return _0x24062b['_setAttribute']('vid_end',null===_0x284956?this['_revisionId']++:_0x284956++),_0x24062b['_insertChild'](0x0,_0xcf3929),_0x24062b;}['_calculateMetaData'](_0x19a7c2,_0x5c026c,_0x3dde8f){this['_reset']();const {roots:_0x25101d,markers:_0x884a5b,rootsAttributes:_0x2908fc}=this['_savedMetaData']['get'](_0x19a7c2);this['_baseRoots']=new Map(_0x25101d),this['_baseRootsAttributes']=new Map(_0xbc8db6(_0x2908fc));for(const [_0x5eb225,_0x5e3225]of this['_baseRoots'])if('$graveyard'!==_0x5eb225&&(this['_diffRoots']['set'](_0x5eb225,q(_0x5e3225)),this['_diffRootsAttributes']=new Map(_0xbc8db6(_0x2908fc)),_0x3dde8f)){const _0x1885ec=this['_revisionId'];this['_idsRoots']['set'](_0x5eb225,this['_makeIdsRoot'](_0x5e3225)),this['_baseIdsRoots']['set'](_0x5eb225,this['_makeIdsRoot'](_0x5e3225,_0x1885ec));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3dde8f&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x634398,_0x35ac95]of _0x884a5b){const _0x2bbe4f=this['_baseRoots']['get'](_0x35ac95['rootName']),_0x14fdc1=this['_diffRoots']['get'](_0x35ac95['rootName']),_0x1e73f8=new vt(this['_fixPosition'](_0x35ac95['start'],_0x2bbe4f),this['_fixPosition'](_0x35ac95['end'],_0x2bbe4f)),_0x18481f=this['_fixRange'](_0x1e73f8,_0x14fdc1);_0x2bbe4f['markers']['set'](_0x634398,_0x1e73f8),this['_markers']['set'](_0x634398,_0x18481f);}this['_applyOperations'](_0x19a7c2,_0x5c026c,_0x3dde8f);}['_applyOperations'](_0x1e67b4,_0x5a65ee,_0x3a4642){for(const _0x3c4c15 of this['source']['getOperations'](_0x1e67b4,_0x5a65ee))this['_handleOperation'](_0x3c4c15,_0x3a4642);for(const _0x5f5bc7 of this['_diffRoots']['values']())_0x5f5bc7['markers']['clear']();for(const [_0xf07137,_0x107310]of this['_markers']){this['_diffRoots']['get'](_0x107310['root']['rootName'])['markers']['set'](_0xf07137,_0x107310['clone']());}const _0x3e6927=new Map(),_0x2fe792=new Map();for(const [_0x3f9f6b,_0xf79cad]of this['_diffRoots'])_0x3e6927['set'](_0x3f9f6b,q(_0xf79cad)),_0x2fe792['set'](_0x3f9f6b,this['_diffRootsAttributes']['get'](_0x3f9f6b));this['_saveMetaData'](_0x5a65ee,_0x3e6927,this['_markers'],_0x2fe792);}['_getPreviousFrom'](_0x5b3158){const _0x4949b4=Array['from'](this['_savedMetaData']['keys']());_0x4949b4['sort']((_0x8249d5,_0xa7b6cf)=>_0x8249d5-_0xa7b6cf),_0x4949b4['reverse']();for(const _0x59f6fc of _0x4949b4)if(_0x59f6fc<_0x5b3158)return _0x59f6fc;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2a7377,_0x242e7f){const _0x314c56=Array['from'](_0x242e7f['markers'])['map'](([_0x3fe126,_0x56c3fd])=>[_0x3fe126,this['_fixRange'](_0x56c3fd,_0x2a7377)]);_0x2a7377['markers']=new Map(_0x314c56);}['_transformMarkers'](_0x25cb17){for(const _0x5b7f9f of this['_markers']['values']()){const _0x72e14f=_0x5b7f9f['getTransformedByOperation'](_0x25cb17),_0x2215ad=vt['_createFromRanges'](_0x72e14f);_0x5b7f9f['start']=_0x2215ad['start'],_0x5b7f9f['end']=_0x2215ad['end'];}}['_handleOperation'](_0x40e22d,_0x25d7df){if('addRoot'==_0x40e22d['type']||'detachRoot'==_0x40e22d['type'])return void this['_handleRootOperation'](_0x40e22d,_0x25d7df);if('insert'==_0x40e22d['type']){const _0xcbe75a=_0x40e22d['position']['root']['rootName'];this['_diffRoots']['has'](_0xcbe75a)||(this['_diffRoots']['set'](_0xcbe75a,G(_0xcbe75a,!0x0)),this['_diffRootsAttributes']['set'](_0xcbe75a,{}),_0x25d7df&&this['_idsRoots']['set'](_0xcbe75a,G(_0xcbe75a,!0x0)));}else{if('addRootAttribute'==_0x40e22d['type']||'removeRootAttribute'==_0x40e22d['type']||'changeRootAttribute'==_0x40e22d['type'])return void this['_handleRootAttributeOperation'](_0x40e22d);}const _0x24b692=this['_cloneOperation'](_0x40e22d,this['_diffRoots']);if('marker'!==_0x40e22d['type']&&(_0x24b692['_execute'](),this['_transformMarkers'](_0x24b692)),_0x25d7df)switch(_0x24b692['type']){case'insert':this['_handleInsertOperation'](_0x40e22d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x40e22d);break;case'merge':this['_handleMergeOperation'](_0x40e22d);break;case'split':this['_handleSplitOperation'](_0x40e22d);break;case'marker':this['_handleMarkerOperation'](_0x40e22d);}}['_cloneOperation'](_0x6534d,_0x56afc8){const _0x15ff68=_0x6534d['clone']();return _0x15ff68['_authorId']=_0x6534d['_authorId'],this['_fixOperation'](_0x15ff68,_0x56afc8),_0x15ff68;}['_getBaseVids'](_0x36b052){return _0x36b052['map'](_0x1cccbe=>{const _0x54fe45=this['_getVidAttributeName'](_0x1cccbe);return Number(_0x1cccbe['item']['getAttribute'](_0x54fe45));});}['_generateTape'](_0x51cb05,_0x42d2a8){if(_0x51cb05['is']('element','$text'))_0x42d2a8['push']({'item':_0x51cb05,'type':'text'});else{_0x51cb05['is']('element')&&_0x42d2a8['push']({'item':_0x51cb05,'type':'elementStart'});for(const _0xfad177 of _0x51cb05['getChildren']())this['_generateTape'](_0xfad177,_0x42d2a8);_0x51cb05['is']('element')&&_0x42d2a8['push']({'item':_0x51cb05,'type':'elementEnd'});}return _0x42d2a8;}['_getState'](){const _0x34f855=new Map(this['_touched']),_0x677e76=new Map(_0x34f855),_0x18859f=new Map(),_0x3e4c96={'insertions':{},'deletions':{}},_0x1a4161={'insertions':{},'deletions':{}},_0x5628bf=new Map(),_0x9540dd=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x9540dd['delete']('$graveyard');for(const _0x2ba8d3 of _0x9540dd){const _0x348de9=this['_diffRoots']['get'](_0x2ba8d3)||G(_0x2ba8d3,!0x1),_0x5314f9=this['_baseRoots']['get'](_0x2ba8d3)||G(_0x2ba8d3,!0x1);_0x348de9['isAttached']()||_0x5314f9['isAttached']()?(_0x3e4c96['insertions'][_0x2ba8d3]=q(_0x348de9),_0x3e4c96['deletions'][_0x2ba8d3]=q(_0x5314f9),this['_copyMarkers'](_0x3e4c96['deletions'][_0x2ba8d3],_0x5314f9),this['_copyMarkers'](_0x3e4c96['insertions'][_0x2ba8d3],_0x348de9),_0x1a4161['insertions'][_0x2ba8d3]=this['_generateTape'](this['_idsRoots']['get'](_0x2ba8d3),[]),_0x1a4161['deletions'][_0x2ba8d3]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2ba8d3)||G(_0x2ba8d3,!0x1),[])):_0x9540dd['delete'](_0x2ba8d3);}for(const _0x207f41 of _0x9540dd){const _0xee3e4b=_0x1a4161['insertions'][_0x207f41];for(const _0x2fe6 of _0xee3e4b){const _0x67c182=this['_getVidAttributeName'](_0x2fe6),_0x4091ce=_0x2fe6['item']['getAttribute'](_0x67c182);_0x677e76['delete'](_0x4091ce),_0x4091ce>=this['_startingRevisionId']&&_0x18859f['set'](_0x4091ce,_0x34f855['get'](_0x4091ce));}}for(const _0x34ea0b of _0x9540dd){const _0x33c525=_0x1a4161['insertions'][_0x34ea0b],_0x466499=this['_getBaseVids'](_0x1a4161['deletions'][_0x34ea0b]);let _0x4d3e84=0x0;for(const _0x51dfd9 of _0x33c525){const _0x39c93c=this['_getVidAttributeName'](_0x51dfd9),_0x4aa690=_0x51dfd9['item']['getAttribute'](_0x39c93c);if(!_0x18859f['has'](_0x4aa690)&&!_0x5628bf['has'](_0x4aa690)){if(_0x677e76['has'](_0x4aa690))_0x4d3e84++;else{if(_0x4aa690!=_0x466499[_0x4d3e84]){const _0x2a9c15=_0x34f855['get'](_0x4aa690)||_0x34f855['get'](_0x466499[_0x4d3e84]);for(;_0x4aa690!=_0x466499[_0x4d3e84];)_0x677e76['has'](_0x466499[_0x4d3e84])||(_0x5628bf['set'](_0x466499[_0x4d3e84],_0x2a9c15),_0x34f855['set'](_0x466499[_0x4d3e84],_0x2a9c15)),_0x4d3e84++;}_0x4d3e84++;}}}}for(const _0x29e016 of _0x9540dd){const _0x461b9d=_0x1a4161['insertions'][_0x29e016];for(const _0x12d5f6 of _0x461b9d){const _0x6f2d99=this['_getVidAttributeName'](_0x12d5f6),_0x221192=_0x12d5f6['item']['getAttribute'](_0x6f2d99);if(_0x5628bf['has'](_0x221192)){const _0x3cb0d2=_0x5628bf['get'](_0x221192);_0x677e76['has'](_0x221192)||_0x677e76['set'](_0x221192,{..._0x3cb0d2}),_0x18859f['set'](_0x221192,{..._0x3cb0d2});}}}for(const _0x4e449c of _0x677e76['keys']())_0x4e449c>=this['_startingRevisionId']&&_0x677e76['delete'](_0x4e449c);const _0x454d66=new Map();for(const _0x5d772d of _0x9540dd){let _0x40ef2d=_0x1a4161['insertions'][_0x5d772d];for(const _0x3c9e6f of _0x40ef2d)if(_0x3c9e6f['item']['is']('element','tableCell')){const _0x268997=this['_getVidAttributeName'](_0x3c9e6f),_0x49ffd9=_0x3c9e6f['item']['getAttribute'](_0x268997);if(_0x18859f['has'](_0x49ffd9)){const _0x5fbf2a=_0x3c9e6f['item']['parent']['parent']['getAttribute']('vid_start'),_0x55b994=_0x454d66['get'](_0x5fbf2a)||new Set();_0x55b994['add'](_0x18859f['get'](_0x49ffd9)['userId']),_0x454d66['set'](_0x5fbf2a,_0x55b994);}}_0x40ef2d=_0x1a4161['deletions'][_0x5d772d];for(const _0x53a8b1 of _0x40ef2d)if(_0x53a8b1['item']['is']('element','tableCell')){const _0x3a159c=this['_getVidAttributeName'](_0x53a8b1),_0x4bcef8=_0x53a8b1['item']['getAttribute'](_0x3a159c);if(_0x677e76['has'](_0x4bcef8)){const _0x3892b5=_0x53a8b1['item']['parent']['parent']['getAttribute']('vid_start'),_0x5cb017=_0x454d66['get'](_0x3892b5)||new Set();_0x5cb017['add'](_0x677e76['get'](_0x4bcef8)['userId']),_0x454d66['set'](_0x3892b5,_0x5cb017);}}for(const _0x574fcb of _0x454d66['keys']())(_0x18859f['has'](_0x574fcb)||_0x677e76['has'](_0x574fcb))&&_0x454d66['delete'](_0x574fcb);}for(const _0x5d08d2 of _0x9540dd){const _0x109598=_0x1a4161['insertions'][_0x5d08d2];let _0x446eda=null,_0x38d963=null;for(const _0x1f6c12 of _0x109598){const _0x50b183=this['_getVidAttributeName'](_0x1f6c12),_0x4d34be=_0x1f6c12['item']['getAttribute'](_0x50b183),_0x2c90cc=_0x454d66['get'](_0x4d34be);_0x2c90cc&&'elementStart'==_0x1f6c12['type']&&(_0x446eda=Array['from'](_0x2c90cc)[0x0],_0x38d963=_0x1f6c12['item']['getAttribute']('vid_end')),_0x446eda&&(_0x677e76['set'](_0x4d34be,{'userId':_0x446eda}),_0x18859f['set'](_0x4d34be,{'userId':_0x446eda})),_0x4d34be==_0x38d963&&(_0x446eda=null,_0x38d963=null);}}const _0x257653={},_0x3762de=new Set();for(const _0x8da33 of _0x9540dd){const _0x3546cf=_0x3e4c96['deletions'][_0x8da33],_0x53071c=_0x3e4c96['insertions'][_0x8da33];for(const {userId:_0x5c3d76}of this['_touchedMarkers']['values']())null!==_0x5c3d76&&_0x3762de['add'](_0x5c3d76);for(const {userId:_0x23bb50}of this['_touchedRoots']['values']())null!==_0x23bb50&&_0x3762de['add'](_0x23bb50);this['_markChanges'](_0x53071c,_0x1a4161['insertions'][_0x8da33],_0x18859f,'insertion',_0x3762de),this['_markChanges'](_0x3546cf,_0x1a4161['deletions'][_0x8da33],_0x677e76,'deletion',_0x3762de),_0x257653[_0x8da33]={'insertions':this['_prepareViewToSave'](_0x53071c),'deletions':this['_prepareViewToSave'](_0x3546cf),'attachChange':this['_touchedRoots']['get'](_0x8da33)||null,'attributesBefore':_0xbc8db6(this['_baseRootsAttributes']['get'](_0x8da33))||{},'attributesAfter':_0xbc8db6(this['_diffRootsAttributes']['get'](_0x8da33))};}return{'diffData':_0x257653,'authorsIds':Array['from'](_0x3762de)};}['_processRootBeforeSave'](_0x3114bd){for(const [,_0x7a2ee3]of _0x3114bd['markers']){const _0x5a9058=_0x7a2ee3['start']['getAncestors']()['filter'](_0x208057=>'tableCell'==_0x208057['name']);for(const _0x4b213b of _0x5a9058)0x1==_0x4b213b['childCount']&&_0x4b213b['getChild'](0x0)['is']('element','paragraph')&&_0x4b213b['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f28f8){this['_processRootBeforeSave'](_0x3f28f8);const _0x27edd9=this['editor']['data']['toView'](_0x3f28f8,{}),_0x508ec6=Array['from'](_0x27edd9['getChildren']())['map'](_0x449a2b=>this['_getViewJson'](_0x449a2b));return JSON['stringify'](_0x508ec6);}['_getViewJson'](_0x49d4af){if(_0x49d4af['is']('$text'))return _0x49d4af['data'];{const _0x3189fb=_0x49d4af;return{'type':Object['keys'](T)['find'](_0x18ecd8=>_0x49d4af instanceof T[_0x18ecd8]),'name':_0x3189fb['name'],'attributes':Array['from'](_0x3189fb['getAttributes']()),'children':Array['from'](_0x3189fb['getChildren']())['map'](_0x2a127c=>this['_getViewJson'](_0x2a127c))};}}['_markChanges'](_0x2008ec,_0x42ebb2,_0x40c531,_0x437af6,_0x4c840f){let _0x337c34=null,_0x5ac180=null,_0x11314b=0x0;const _0x505a55=this['editor']['model'];for(let _0x4d832b=0x0;_0x4d832b<_0x42ebb2['length'];_0x4d832b++){const _0x16f2f0=this['_getVidAttributeName'](_0x42ebb2[_0x4d832b]),_0x2f55e4=_0x42ebb2[_0x4d832b]['item']['getAttribute'](_0x16f2f0),_0x5affff=_0x40c531['get'](_0x2f55e4),_0x51a1b1=_0x4d832b==_0x42ebb2['length']-0x1;(!_0x337c34&&_0x5affff&&(_0x337c34=_0x5affff,_0x5ac180=_0x42ebb2[_0x4d832b]),_0x337c34&&(!_0x5affff||_0x5affff['userId']!=_0x337c34['userId']))&&(_0x159aa1(_0x5affff,L(_0x5ac180,_0x2008ec,_0x505a55),L(_0x42ebb2[_0x4d832b],_0x2008ec,_0x505a55)),_0x337c34=_0x5affff||null,_0x5ac180=_0x5affff?_0x42ebb2[_0x4d832b]:null),_0x337c34&&_0x51a1b1&&_0x159aa1(_0x5affff,L(_0x5ac180,_0x2008ec,_0x505a55),W(_0x42ebb2[_0x4d832b],_0x2008ec,_0x505a55));}function _0x159aa1(_0x519a5f,_0x3ce8df,_0x452d9b){const _0x3cc7a2=_0x337c34['userId'],_0x2d78af='revision:'+_0x437af6+':'+_0x3cc7a2+':'+_0x11314b++,_0x106123=_0x505a55['createRange'](_0x3ce8df,_0x452d9b);_0x2008ec['markers']['set'](_0x2d78af,_0x106123),null!==_0x3cc7a2&&_0x4c840f['add'](_0x3cc7a2);}}['_getVidAttributeName'](_0x36f861){switch(_0x36f861['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x241731,_0x3071b6){_0x241731['baseVersion']=null;for(const _0x31e22e in _0x241731){const _0xfe2755=_0x241731[_0x31e22e];if(_0xfe2755 instanceof gt){const _0x398296=_0x3071b6['get'](_0xfe2755['root']['rootName']);_0x241731[_0x31e22e]=this['_fixPosition'](_0xfe2755,_0x398296);}if(_0xfe2755 instanceof vt){const _0x8bfc96=_0x3071b6['get'](_0xfe2755['root']['rootName']);_0x241731[_0x31e22e]=this['_fixRange'](_0xfe2755,_0x8bfc96);}'root'===_0x31e22e&&(_0x241731['root']=_0x3071b6['get'](_0x241731['root']['rootName']));}}['_fixRange'](_0x519851,_0x375c49){return this['editor']['model']['createRange'](this['_fixPosition'](_0x519851['start'],_0x375c49),this['_fixPosition'](_0x519851['end'],_0x375c49));}['_fixPosition'](_0x1793c8,_0x456f95){return this['editor']['model']['createPositionFromPath'](_0x456f95,_0x1793c8['path'],_0x1793c8['stickiness']);}['_handleInsertOperation'](_0x147a6d){const _0x2b1551=this['_idsRoots']['get'](_0x147a6d['position']['root']['rootName']),_0x2193d5=this['_fixPosition'](_0x147a6d['position'],_0x2b1551),_0x194f57=null===_0x147a6d['_authorId']?null:_0x147a6d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x53f66d=_0x2193d5['parent'],_0x576e56=this['_revisionId'],_0x26d3fe=[];for(const _0xcc8bac of _0x147a6d['nodes'])if(_0xcc8bac['is']('element'))_0x26d3fe['push'](this['_makeIdsRoot'](_0xcc8bac));else{for(let _0x311de2=0x0;_0x311de2<_0xcc8bac['offsetSize'];_0x311de2++)_0x26d3fe['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2de0b2=this['_revisionId'];for(let _0x51fe92=_0x576e56;_0x51fe92<_0x2de0b2;_0x51fe92++)this['_touched']['set'](_0x51fe92,{'userId':_0x194f57});_0x53f66d['_insertChild'](_0x2193d5['offset'],_0x26d3fe);}['_handleMoveOperation'](_0x5987c6){(_0x5987c6=this['_cloneOperation'](_0x5987c6,this['_idsRoots']))['_execute']();const _0x58aa35=null===_0x5987c6['_authorId']?null:_0x5987c6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4e6dd7=_0x5987c6['getMovedRangeStart'](),_0x24899f=_0x4e6dd7['parent'],_0x1d2750=_0x4e6dd7['offset'];!function _0x3edc53(_0x504150,_0x1d88fe,_0x4a7459,_0xe6b0f){for(let _0x3338e8=_0x4a7459;_0x3338e8<_0xe6b0f;_0x3338e8++){const _0x45fbd3=_0x1d88fe['getChild'](_0x3338e8);_0x45fbd3['is']('element','$text')?_0x504150['set'](_0x45fbd3['getAttribute']('vid'),{'userId':_0x58aa35}):(_0x504150['set'](_0x45fbd3['getAttribute']('vid_start'),{'userId':_0x58aa35}),_0x3edc53(_0x504150,_0x45fbd3,0x0,_0x45fbd3['childCount']),_0x504150['set'](_0x45fbd3['getAttribute']('vid_end'),{'userId':_0x58aa35}));}}(this['_touched'],_0x24899f,_0x1d2750,_0x1d2750+_0x5987c6['howMany']);}['_handleMergeOperation'](_0x3f70cd){const _0x29d2f2=null===(_0x3f70cd=this['_cloneOperation'](_0x3f70cd,this['_idsRoots']))['_authorId']?null:_0x3f70cd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24255e=_0x3f70cd['targetPosition']['parent'],_0x15071c=_0x3f70cd['sourcePosition']['parent'],_0x36bd80=_0x24255e['getAttribute']('vid_end'),_0x31b3e1=_0x15071c['getAttribute']('vid_start');_0x24255e['_setAttribute']('vid_end',_0x15071c['getAttribute']('vid_end')),_0x15071c['_setAttribute']('vid_end',_0x36bd80),this['_touched']['set'](_0x31b3e1,{'userId':_0x29d2f2}),this['_touched']['set'](_0x36bd80,{'userId':_0x29d2f2}),_0x3f70cd['_execute']();}['_handleSplitOperation'](_0x258f27){const _0x337b33=null===(_0x258f27=this['_cloneOperation'](_0x258f27,this['_idsRoots']))['_authorId']?null:_0x258f27['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1657d9=_0x258f27['graveyardPosition'],_0x1cb502=_0x258f27['splitPosition']['parent'];_0x258f27['_execute']();const _0x13d487=_0x1cb502['getAttribute']('vid_end'),_0xb51537=_0x258f27['insertionPosition']['nodeAfter'];if(_0x1657d9){const _0x18869e=_0xb51537['getAttribute']('vid_end'),_0x30c3e2=_0x1cb502['getAttribute']('vid_end');_0x1cb502['_setAttribute']('vid_end',_0x18869e),_0xb51537['_setAttribute']('vid_end',_0x30c3e2),this['_touched']['set'](_0x1cb502['getAttribute']('vid_end'),{'userId':_0x337b33}),this['_touched']['set'](_0xb51537['getAttribute']('vid_start'),{'userId':_0x337b33});}else{const _0x4eaf7d=this['_revisionId']++,_0x201a70=this['_revisionId']++;_0x1cb502['_setAttribute']('vid_end',_0x4eaf7d),_0xb51537['_setAttribute']('vid_start',_0x201a70),_0xb51537['_setAttribute']('vid_end',_0x13d487),this['_touched']['set'](_0x4eaf7d,{'userId':_0x337b33}),this['_touched']['set'](_0x201a70,{'userId':_0x337b33});}}['_handleMarkerOperation'](_0x3433b4){if(!_0x3433b4['affectsData'])return;const _0x4e9019=(_0x3433b4=this['_cloneOperation'](_0x3433b4,this['_diffRoots']))['oldRange']?_0x3433b4['oldRange']['root']:null,_0x5aaf08=_0x3433b4['newRange']?_0x3433b4['newRange']['root']:null;_0x4e9019&&this['_markers']['delete'](_0x3433b4['name']),_0x5aaf08&&this['_markers']['set'](_0x3433b4['name'],_0x3433b4['newRange']['clone']());const _0x959d82=null===_0x3433b4['_authorId']?null:_0x3433b4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1396af=_0x3433b4['name'];if(!this['_touchedMarkers']['has'](_0x1396af))return void this['_touchedMarkers']['set'](_0x1396af,{'range':_0x3433b4['oldRange'],'userId':_0x959d82});const _0x44850f=this['_touchedMarkers']['get'](_0x1396af),_0x36ad26=_0x44850f['range'],_0x239de6=_0x3433b4['newRange'];null==_0x36ad26&&null==_0x239de6||_0x36ad26&&_0x239de6&&_0x36ad26['isEqual'](_0x239de6)?this['_touchedMarkers']['delete'](_0x3433b4['name']):_0x44850f['userId']=_0x959d82;}['_handleRootOperation'](_0x5f9d3d,_0x32f999){this['_diffRoots']['has'](_0x5f9d3d['rootName'])?this['_diffRoots']['get'](_0x5f9d3d['rootName'])['_isAttached']=_0x5f9d3d['isAdd']:(this['_diffRoots']['set'](_0x5f9d3d['rootName'],G(_0x5f9d3d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5f9d3d['rootName'],{}),_0x32f999&&this['_idsRoots']['set'](_0x5f9d3d['rootName'],G(_0x5f9d3d['rootName'],!0x0)));const _0x42773a=null===_0x5f9d3d['_authorId']?null:_0x5f9d3d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x170702=this['_touchedRoots']['get'](_0x5f9d3d['rootName']);_0x170702&&_0x170702['userId']===_0x42773a?this['_touchedRoots']['delete'](_0x5f9d3d['rootName']):this['_touchedRoots']['set'](_0x5f9d3d['rootName'],{'userId':_0x42773a,'isAttached':_0x5f9d3d['isAdd']});}['_handleRootAttributeOperation'](_0x812a4d){const _0x2d585d=this['_diffRootsAttributes']['get'](_0x812a4d['root']['rootName']);null===_0x812a4d['newValue']?delete _0x2d585d[_0x812a4d['key']]:_0x2d585d[_0x812a4d['key']]=_0x812a4d['newValue'];}}function q(_0x5cf788){const _0xa6ad96=G(_0x5cf788['rootName'],_0x5cf788['isAttached']());for(const _0x58d05c of _0x5cf788['getChildren']()){const _0x5eb201=_0x58d05c['_clone'](!0x0);_0xa6ad96['_appendChild'](_0x5eb201);}return _0xa6ad96;}function G(_0x2a6b3a,_0x18478c=!0x0){const _0x10b49c=new wt();return _0x10b49c['rootName']=_0x2a6b3a,_0x10b49c['_isAttached']=_0x18478c,_0x10b49c['isAttached']=()=>_0x10b49c['_isAttached'],_0x10b49c;}function L(_0x3ad42d,_0x322553,_0x2b80df){const _0x2897b7='elementEnd'==_0x3ad42d['type']?_0x2b80df['createPositionAt'](_0x3ad42d['item'],'end'):_0x2b80df['createPositionBefore'](_0x3ad42d['item']);return _0x2b80df['createPositionFromPath'](_0x322553,_0x2897b7['path'],_0x2897b7['stickiness']);}function W(_0x537d17,_0x5c54aa,_0x19c44d){const _0x10217c='elementStart'==_0x537d17['type']?_0x19c44d['createPositionAt'](_0x537d17['item'],0x0):_0x19c44d['createPositionAfter'](_0x537d17['item']);return _0x19c44d['createPositionFromPath'](_0x5c54aa,_0x10217c['path'],_0x10217c['stickiness']);}class ns extends _0x1354ed{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1f3ee9,_0x28ff10){super(_0x1f3ee9),this['focusTracker']=new _0x446db6(),this['keystrokes']=new _0x5c3eaa(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x28ff10),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'](),_0x54c2af({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3ead9c=_0x1eac7d=>_0x1eac7d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ead9c),this['keystrokes']['set']('arrowleft',_0x3ead9c),this['keystrokes']['set']('arrowup',_0x3ead9c),this['keystrokes']['set']('arrowdown',_0x3ead9c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x6d0fa5){this['revisionNameInputView']['fieldView']['element']['value']=_0x6d0fa5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x48f8fd){const _0x44ea20=new at(this['locale'],_0x1cdeb5),_0xae1f18=_0x44ea20['fieldView'];_0xae1f18['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x558758=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x48f8fd&&(_0x558758+='\x20('+y(this['locale'],'optional')+')'),(_0x44ea20['label']=_0x558758,_0xae1f18['on']('input',()=>{this['revisionNameInputValue']=_0xae1f18['element']['value']['trim']();}),_0x44ea20);}}class u extends _0xb13d88{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x9c50f5=this['editor'],_0x422146=_0x9c50f5['plugins']['get']('RevisionTracker');_0x9c50f5['ui']['componentFactory']['add']('revisionHistory',_0x42bf73=>{const _0x3f2c39=_0x5e1645(_0x42bf73),_0x4b3a59=_0x3f2c39['panelView']['children'],_0x115646=new te(_0x42bf73),_0x2dfebe=new _0x4a50cc(_0x42bf73),_0x2c2334=new _0x1d5053(_0x42bf73),_0x3058f6=new _0x4a50cc(_0x42bf73),_0x186c92=new _0x1d5053(_0x42bf73);return _0x3f2c39['bind']('isEnabled')['to'](_0x422146,'isReady',_0x422146,'isEnabled',_0x9c50f5,'isReadOnly',(_0x4d53a4,_0x5ec2ce,_0x20786e)=>_0x4d53a4&&_0x5ec2ce&&!_0x20786e),_0x3f2c39['buttonView']['set']({'icon':_0x2e7272['history'],'label':y(_0x42bf73,'Revision\x20history'),'tooltip':!0x0}),_0x2c2334['set']({'label':y(_0x42bf73,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2c2334['bind']('isEnabled')['to'](_0x422146,'isReady',_0x422146,'isEnabled',_0x9c50f5,'isReadOnly',(_0x23ea33,_0x315711,_0x5a59de)=>_0x23ea33&&_0x315711&&!_0x5a59de),_0x2c2334['on']('execute',()=>this['_showDialog']()),_0x186c92['set']({'label':y(_0x42bf73,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x186c92['bind']('isEnabled')['to'](_0x422146,'isReady',_0x9c50f5,'isReadOnly',(_0x1e1e7c,_0x2e5bfd)=>_0x1e1e7c&&!_0x2e5bfd),_0x186c92['on']('execute',()=>{_0x9c50f5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3f2c39['isOpen']=!0x1,_0x9c50f5['editing']['view']['focus']();}),_0x2dfebe['children']['add'](_0x2c2334),_0x3058f6['children']['add'](_0x186c92),_0x115646['role']='menu',_0x115646['items']['addMany']([_0x2dfebe,_0x3058f6]),_0x4b3a59['add'](_0x115646),_0x3f2c39;}),_0x9c50f5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2c6d80=this['editor'],_0x37c897=_0x2c6d80['locale'],_0x4c73b2=new _0xbb04d(_0x37c897),_0x13bbf8=new _0x4c5cd3(_0x37c897);_0x4c73b2['buttonView']['set']({'icon':_0x2e7272['history'],'label':y(_0x37c897,'Revision\x20history')});const _0x2dc189=new _0x3a3dca(_0x37c897,_0x4c73b2),_0x1d1454=new _0x274e40(_0x37c897);_0x1d1454['set']({'label':y(_0x37c897,'Save\x20current\x20revision')}),_0x1d1454['delegate']('execute')['to'](_0x4c73b2),_0x1d1454['on']('execute',()=>{this['_showDialog']();}),_0x2dc189['children']['add'](_0x1d1454),_0x13bbf8['items']['add'](_0x2dc189);const _0x13b371=new _0x3a3dca(_0x37c897,_0x4c73b2),_0x173bbb=new _0x274e40(_0x37c897);return _0x173bbb['set']({'label':y(_0x37c897,'Open\x20revision\x20history')}),_0x173bbb['delegate']('execute')['to'](_0x4c73b2),_0x173bbb['on']('execute',()=>{_0x2c6d80['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x13b371['children']['add'](_0x173bbb),_0x13bbf8['items']['add'](_0x13b371),_0x4c73b2['panelView']['children']['add'](_0x13bbf8),_0x4c73b2;}['_showDialog'](){const _0x4ef6cd=this['editor'],_0x3f9a88=_0x4ef6cd['locale'],_0x2faa85=_0x4ef6cd['plugins']['get']('Dialog'),_0x222cd7=_0x4ef6cd['plugins']['get']('RevisionTracker');function _0x24b447(_0x4688eb){_0x4ef6cd['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4688eb['revisionName']?_0x4688eb['revisionNameInputView']['errorText']=y(_0x3f9a88,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4ef6cd['plugins']['get'](l)['saveRevision']({'name':_0x4688eb['revisionName']}),_0x2faa85['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x24b447(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2faa85['show']({'id':'revisionSave','title':y(_0x3f9a88,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x4ef6cd['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x2faa85['hide']()},{'label':y(_0x4ef6cd['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3563c6){_0x3563c6['bind']('isEnabled')['to'](_0x222cd7,'isReady',_0x222cd7,'isEnabled',_0x4ef6cd,'isReadOnly',(_0x33964b,_0x150c65,_0x731ea9)=>_0x33964b&&_0x150c65&&!_0x731ea9);},'onExecute':()=>_0x24b447(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1c4e39=this['editor'],_0x2b4117=_0x1c4e39['locale'];this['_saveRevisionFormView']=new ns(_0x2b4117,_0x1c4e39['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1354ed{['changeId'];['_model'];constructor(_0x5f35da,_0xd57d1f){super(_0x5f35da),this['_model']=_0xd57d1f,this['changeId']=_0xd57d1f['id'];const _0x1fe61e=this['bindTemplate'],_0x3cd13e=y(_0x5f35da,_0xd57d1f['data']['isSuggestion']?'Suggested\x20by':'add'==_0xd57d1f['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0xd57d1f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1fe61e['to']('type',_0xe25c54=>'ck-revision-change__'+_0xe25c54)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3cd13e}]},{'text':'\x20'+_0xd57d1f['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x2c106f(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x115ccd){super(),this['id']=_0x115ccd['id']||_0x18f98c(),this['author']=_0x115ccd['author'],this['type']=_0x115ccd['type'],this['data']=_0x115ccd['data']||{},this['rootName']=_0x115ccd['rootName'],this['set']('createdAt',_0x115ccd['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(_0x48ca5f,_0x318af1){this['newRevisionId']=_0x48ca5f,this['oldRevisionId']=_0x318af1,this['changes']=new _0x21503a();}['_setChanges'](_0x217987){for(const _0x18a61e of _0x217987)this['changes']['add'](_0x18a61e);}}const tt={'c':_0x1b195e,'a':_0x212ec,'e':_0x3640e2,'r':_0xefa8e7,'u':_0x4af7e1};class d extends _0xb13d88{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x107127,_0x87c25d,A];}constructor(_0x40a0cd){super(_0x40a0cd),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',(_0x462c2f,_0x1acab8,_0x36273f)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x315bce=>{for(const _0x5d72f7 of this['editor']['editing']['view']['document']['roots'])_0x36273f?_0x315bce['removeClass']('ck-editor__editable__overlay',_0x5d72f7):_0x315bce['addClass']('ck-editor__editable__overlay',_0x5d72f7);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2c6e63=>null!==_0x2c6e63),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x225995,_0xad6482,_0x6d6b90)=>_0x225995&&_0x6d6b90?_0xad6482['changes']['getIndex'](_0x6d6b90):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x56a9af,_0x352151)=>_0x56a9af?_0x352151['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x87c25d);}['init'](){const _0x53b639=this['editor'],_0x352645=new yt(_0x53b639,{'direction':'backward'}),_0x3c04c7=new yt(_0x53b639,{'direction':'forward'});(_0x53b639['commands']['add']('showPreviousChange',_0x352645),_0x53b639['commands']['add']('showNextChange',_0x3c04c7),_0x53b639['commands']['add']('restoreRevision',new bt(_0x53b639)),this['on']('change:numberOfChanges',()=>{_0x352645['refresh'](),_0x3c04c7['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x53b639['enableReadOnlyMode']('revision-viewer'),_0x53b639['plugins']['has']('WidgetToolbarRepository'))&&_0x53b639['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xf99f1b){await this['loadRevisionData'](_0xf99f1b);const _0x2f94af={};for(const _0x324e00 in _0xf99f1b['diffData']){if(_0xf99f1b['diffData'][_0x324e00]['attachChange']&&!_0xf99f1b['diffData'][_0x324e00]['attachChange']['isAttached'])continue;const _0x32fe1a=this['_removeRevisionMarkers'](JSON['parse'](_0xf99f1b['diffData'][_0x324e00]['insertions'])),_0x4b62bb=this['editor']['editing']['view']['document'],_0x42fcef=new _0x5128f5(_0x4b62bb,_0x32fe1a['map'](_0x3b1bd4=>this['_getViewObj'](_0x3b1bd4)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2f94af[_0x324e00]=this['editor']['data']['processor']['toData'](_0x42fcef),this['editor']['data']['processor']['useFillerType']('default');}return _0x2f94af;}async['getRevisionRootsAttributes'](_0x4d393a){await this['loadRevisionData'](_0x4d393a);const _0x498a51={};for(const _0x18daf7 in _0x4d393a['diffData'])_0x4d393a['diffData'][_0x18daf7]['attachChange']&&!_0x4d393a['diffData'][_0x18daf7]['attachChange']['isAttached']||(_0x498a51[_0x18daf7]=_0x4d393a['diffData'][_0x18daf7]['attributesAfter']||{});return _0x498a51;}['_removeRevisionMarkers'](_0x14cec6){return(_0x14cec6=_0x14cec6['filter'](_0x47a5e8=>!_0x47a5e8['name']||'revision-start'!==_0x47a5e8['name']&&'revision-end'!==_0x47a5e8['name']))['forEach'](_0x1c70a6=>{'string'!=typeof _0x1c70a6&&(_0x1c70a6['children']=this['_removeRevisionMarkers'](_0x1c70a6['children']),_0x1c70a6['attributes']=_0x1c70a6['attributes']['filter'](_0x4f9c41=>!_0x4f9c41[0x0]['startsWith']('data-revision-')));}),_0x14cec6;}async['compare'](_0x4aad45,_0x46581a,_0x1efefe=!0x1){if(!this['isEnabled'])return;const _0x5c5f75=this['diff'],_0x234dbf=this['repository'],_0x333886='string'==typeof _0x4aad45?_0x234dbf['getRevision'](_0x4aad45):_0x4aad45,_0x4afb19='string'==typeof _0x46581a?_0x234dbf['getRevision'](_0x46581a):_0x46581a,_0x3de80c=_0x333886['id'],_0x59e349=_0x4afb19?_0x4afb19['id']:null;if(!_0x1efefe&&this['diff']&&this['diff']['newRevisionId']===_0x3de80c&&this['diff']['oldRevisionId']===_0x59e349)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3de80c,_0x59e349);const _0x210f56=this['_getRevisionsRange'](_0x333886,_0x4afb19,!0x0)['map'](_0x7ed6af=>this['loadRevisionData'](_0x7ed6af));return _0x210f56['push'](new Promise(_0x401ac5=>{setTimeout(_0x401ac5,0x14);})),Promise['all'](_0x210f56)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3cdad8=this['_getDiff'](_0x3de80c,_0x59e349);for(const _0x446321 of _0x3cdad8['changes'])this['_changeIdToChange']['set'](_0x446321['id'],_0x446321);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x44da34=>{for(const _0x2cab3a of this['editor']['model']['document']['getRootNames']())_0x44da34['detachRoot'](_0x2cab3a);for(const _0x3cb116 of Object['keys'](_0x3cdad8['model'])){const _0x4d5cff=_0x44da34['addRoot'](_0x3cb116);for(const _0x2ea4d5 of Object['keys'](_0x3cdad8['attributes'][_0x3cb116]))_0x44da34['setAttribute'](_0x2ea4d5,_0x3cdad8['attributes'][_0x3cb116][_0x2ea4d5],_0x4d5cff);_0x44da34['insert'](_0x3cdad8['model'][_0x3cb116],_0x4d5cff,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3cdad8['changes'])),this['isReady']=!0x0;})['catch'](_0x2d6bd0=>{console['error'](_0x2d6bd0),this['_cleanUp'](),_0x5c5f75&&(this['diff']=_0x5c5f75),this['isReady']=!0x0;});}['addRevisionData'](_0x35a3f7,_0x5c0ab1){const _0x5a9ff7=this['repository']['createRevision'](_0x35a3f7);return _0x5a9ff7['on']('_update',(_0x4e43e,_0x587765,_0x5357e6)=>_0x5c0ab1(_0x587765,_0x5357e6,_0x5a9ff7)),this['repository']['addRevision'](_0x5a9ff7),_0x5a9ff7;}['loadRevisionData'](_0x5aaa9b){if(!_0x5aaa9b||_0x5aaa9b['diffData'])return Promise['resolve']();{const _0xc91c1e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xc91c1e,'revisionId':_0x5aaa9b['id']})['then'](_0x473661=>{_0x5aaa9b['_update']({'diffData':_0x473661['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},_0x502fa5=>{for(const _0x135aaa of this['editor']['model']['document']['getRootNames']())_0x502fa5['detachRoot'](_0x135aaa);});}['_sortAndFilterDiffChanges'](_0x497835){const _0x2ee8fc=[],_0x2150a6=new Map();for(const _0x3edaf9 of this['editor']['model']['document']['getRootNames']()){const _0x15d47f=this['editor']['editing']['view']['getDomRoot'](_0x3edaf9);if(!_0x15d47f)continue;const _0x8d88=_0x15d47f['getClientRects']()['item'](0x0);_0x8d88&&(_0x2ee8fc['push'](_0x3edaf9),_0x2150a6['set'](_0x3edaf9,_0x8d88));}return _0x2ee8fc['sort']((_0x72a671,_0x4e5556)=>{const _0xbb75d7=_0x2150a6['get'](_0x72a671),_0x33b663=_0x2150a6['get'](_0x4e5556);return _0xbb75d7['y']-_0x33b663['y']||_0xbb75d7['x']-_0x33b663['x'];}),(_0x497835=_0x497835['filter'](_0xdb5086=>_0x2ee8fc['includes'](_0xdb5086['rootName'])))['sort']((_0x3b43f8,_0x296d43)=>_0x2ee8fc['indexOf'](_0x3b43f8['rootName'])-_0x2ee8fc['indexOf'](_0x296d43['rootName'])),_0x497835;}['_makeTape'](_0x1cdc4c){const _0x36c8c5=Array['from'](_0x1cdc4c['markers'])['filter'](([_0x127089,_0x413a0d])=>_0x127089['startsWith']('revision:')&&!_0x413a0d['isCollapsed']),_0x1e8f46=Array['from'](this['editor']['model']['createRangeIn'](_0x1cdc4c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x36c8c5['length'])for(const _0x2678d0 of _0x1e8f46){const [_0x286b5b,_0xa8b662]=_0x36c8c5[0x0],[,_0x441e35,_0x4de52d]=_0x286b5b['split'](':');if(_0xa8b662['end']['isEqual'](_0x2678d0['nextPosition'])&&_0x36c8c5['shift'](),(_0x2678d0['previousPosition']['isEqual'](_0xa8b662['start'])||_0x2678d0['previousPosition']['isAfter'](_0xa8b662['start']))&&('insertion'==_0x441e35?_0x2678d0['isAdded']={'userId':_0x4de52d}:'deletion'==_0x441e35&&(_0x2678d0['isRemoved']={'userId':_0x4de52d})),0x0==_0x36c8c5['length'])break;}return _0x1e8f46;}['_refreshStartEndIndex'](_0x203ca1){const _0x1cf2d4=new Map();for(let _0x25e9d1=0x0;_0x25e9d1<_0x203ca1['length'];_0x25e9d1++)'text'===_0x203ca1[_0x25e9d1]['type']?(_0x203ca1[_0x25e9d1]['item']['startIndex']=_0x25e9d1,_0x203ca1[_0x25e9d1]['item']['endIndex']=_0x25e9d1):('elementStart'===_0x203ca1[_0x25e9d1]['type']?_0x203ca1[_0x25e9d1]['item']['startIndex']=_0x25e9d1:'elementEnd'===_0x203ca1[_0x25e9d1]['type']&&(_0x203ca1[_0x25e9d1]['item']['endIndex']=_0x25e9d1),_0x1cf2d4['set'](_0x203ca1[_0x25e9d1]['id'],_0x25e9d1));for(const _0x4c92e1 of _0x1cf2d4['values']())'elementStart'===_0x203ca1[_0x4c92e1]['type']?_0x203ca1[_0x4c92e1]['item']['endIndex']=_0x1cf2d4['get'](_0x203ca1[_0x4c92e1]['pairId']):'elementEnd'===_0x203ca1[_0x4c92e1]['type']&&(_0x203ca1[_0x4c92e1]['item']['startIndex']=_0x1cf2d4['get'](_0x203ca1[_0x4c92e1]['pairId']));}['_processTape'](_0x155863){for(let _0x51aca3=0x0;_0x51aca3<_0x155863['length'];_0x51aca3++){if('elementStart'===_0x155863[_0x51aca3]['type'])_0x155863[_0x51aca3]['item']['startIndex']=_0x51aca3;else{if('elementEnd'===_0x155863[_0x51aca3]['type']){_0x155863[_0x51aca3]['item']['endIndex']=_0x51aca3;const _0x3a4252=_0x155863[_0x51aca3]['item']['startIndex'];_0x155863[_0x3a4252]['pairId']=_0x155863[_0x51aca3]['id'],_0x155863[_0x51aca3]['pairId']=_0x155863[_0x3a4252]['id'];}else _0x155863[_0x51aca3]['item']['startIndex']=_0x51aca3,_0x155863[_0x51aca3]['item']['endIndex']=_0x51aca3,_0x155863[_0x51aca3]['pairId']=null;}_0x155863[_0x51aca3]['markersStart']||(_0x155863[_0x51aca3]['markersStart']=[],_0x155863[_0x51aca3]['markersEnd']=[]);}}['_markInsertions'](_0x2721f5,_0x318fda){const _0x3c9e53=_0x2721f5['filter'](_0xdb1cdc=>!_0xdb1cdc['isAdded']);for(let _0x168b31=0x0;_0x168b31<_0x318fda['length'];_0x168b31++)_0x318fda[_0x168b31]['isAdded']&&(_0x3c9e53[_0x168b31]['isAdded']=_0x318fda[_0x168b31]['isAdded']);}['_makeModelFromViewString'](_0x205e53){const _0x44b89b=JSON['parse'](_0x205e53),_0x1ff740=this['editor']['editing']['view']['document'],_0x57746d=new _0x5128f5(_0x1ff740,_0x44b89b['map'](_0x3950e3=>this['_getViewObj'](_0x3950e3)));return this['editor']['data']['toModel'](_0x57746d);}['_getViewObj'](_0xf78240){const _0x4feed6=this['editor']['editing']['view']['document'];if('string'==typeof _0xf78240)return new _0x2b9845(_0x4feed6,_0xf78240);{const _0x562ec3=_0xf78240['children']['map'](_0x2861d6=>this['_getViewObj'](_0x2861d6));return new(tt[_0xf78240['type']]||_0xab0a51)(_0x4feed6,_0xf78240['name'],_0xf78240['attributes'],_0x562ec3);}}['_getDiff'](_0x35508a,_0x2fc962=null){const _0x21a1d5=this['repository']['getRevision'](_0x35508a),_0x14700b=_0x2fc962?this['repository']['getRevision'](_0x2fc962):null,_0x515e7d=this['_getRevisionsRange'](_0x21a1d5,_0x14700b),_0x39f266=_0x515e7d[_0x515e7d['length']-0x1],_0x1bd8ad=new Map(),_0x4a0bf9={'model':{},'attributes':{},'changes':[]},_0x1832fd=new Set(),_0xa0ca06=new Map();for(let _0x6aef80=_0x515e7d['length']-0x1;_0x6aef80>=0x0;_0x6aef80--){const _0x262ad=_0x515e7d[_0x6aef80];for(const _0x1025b0 of Object['keys'](_0x262ad['diffData']))if(_0x262ad['diffData'][_0x1025b0]['attachChange']){const _0x225f79=_0x262ad['diffData'][_0x1025b0]['attachChange'];_0x225f79['isAttached']?(_0x1832fd['add'](_0x1025b0),_0xa0ca06['has'](_0x1025b0)&&_0xa0ca06['get'](_0x1025b0)['userId']==_0x225f79['userId']?_0xa0ca06['delete'](_0x1025b0):_0xa0ca06['set'](_0x1025b0,_0x225f79)):_0xa0ca06['has'](_0x1025b0)?(_0x1832fd['delete'](_0x1025b0),_0xa0ca06['delete'](_0x1025b0)):(_0x1832fd['add'](_0x1025b0),_0xa0ca06['set'](_0x1025b0,_0x225f79));}else _0x1832fd['add'](_0x1025b0);}for(const _0x20ffe4 of _0x1832fd){const _0x4d2116=_0xa0ca06['has'](_0x20ffe4)&&!_0xa0ca06['get'](_0x20ffe4)['isAttached'];let _0x57f282=_0x4d2116?_0x515e7d['length']-0x1:0x0;const _0x46f0f5=_0x4d2116?-0x1:0x1;for(;_0x515e7d[_0x57f282];){const _0x3f0680=_0x515e7d[_0x57f282];if(_0x3f0680['diffData'][_0x20ffe4]){const _0x13c8ca=_0x4d2116?_0x3f0680['diffData'][_0x20ffe4]['attributesBefore']:_0x3f0680['diffData'][_0x20ffe4]['attributesAfter'];_0x4a0bf9['attributes'][_0x20ffe4]=_0x13c8ca?_0xbc8db6(_0x13c8ca):{};break;}_0x57f282+=_0x46f0f5;}}for(const _0x3bb5e3 of _0x515e7d){_0x3bb5e3['model']={};for(const _0x4084bf of _0x3bb5e3['authors'])_0x1bd8ad['set'](_0x4084bf['id'],_0x4084bf);for(const _0x207cf6 of _0x1832fd){const _0x434b9a=_0x3bb5e3['diffData'][_0x207cf6]?_0x3bb5e3['diffData'][_0x207cf6]['insertions']:'[]',_0x2b4a0a=_0x3bb5e3['diffData'][_0x207cf6]?_0x3bb5e3['diffData'][_0x207cf6]['deletions']:'[]';_0x3bb5e3['model'][_0x207cf6]={'insertions':this['_makeModelFromViewString'](_0x434b9a),'deletions':this['_makeModelFromViewString'](_0x2b4a0a)};}}for(const _0x4de76b of _0x1832fd){let _0x5132c6=null,_0x3be27f=0x0;const _0x5d92a1=new Map(Array['from'](_0x21a1d5['model'][_0x4de76b]['insertions']['markers'])['filter'](([_0x4c4ed6])=>!_0x4c4ed6['startsWith']('revision:')));let _0xce550=0x0;for(const _0x5b7e27 of _0x515e7d){const _0x1f53b7=this['_makeTape'](_0x5b7e27['model'][_0x4de76b]['insertions']);_0x5b7e27==_0x21a1d5?(_0x5132c6=_0x1f53b7,_0x3be27f=_0x5132c6['length'],_0x5132c6['forEach'](_0x359a12=>{_0x359a12['id']=_0xce550++;}),this['_processTape'](_0x5132c6)):this['_markInsertions'](_0x5132c6,_0x1f53b7);const _0x1ae64b=_0x5132c6['filter'](_0x166378=>!_0x166378['isAdded'])['map'](_0x280624=>_0x280624['id']);let _0x1f444a=0x0;const _0x55a133=this['_makeTape'](_0x5b7e27['model'][_0x4de76b]['deletions']);_0x55a133['forEach'](_0x1045f2=>{_0x1045f2['isRemoved']?_0x1045f2['id']=_0x3be27f++:_0x1045f2['id']=_0x1ae64b[_0x1f444a++];}),this['_processTape'](_0x55a133),this['_setDistance'](_0x5132c6,'isAdded'),this['_setDistance'](_0x55a133,'isRemoved'),_0x5b7e27==_0x21a1d5&&this['_markMarkers'](_0x5132c6,_0x5d92a1),_0x5132c6=this['_joinTapes'](_0x5132c6,_0x55a133),this['_refreshStartEndIndex'](_0x5132c6),this['_setDistance'](_0x5132c6,'isRemoved');}_0x5132c6=_0x5132c6['filter'](_0x16a6eb=>!(_0x16a6eb['isAdded']&&_0x16a6eb['isRemoved']));const _0x5c600c=new Map(_0x39f266['model'][_0x4de76b]['deletions']['markers']),_0x378cec=new Set(_0x5d92a1['keys']());for(const _0x352689 of _0x5c600c['keys']())_0x378cec['delete'](_0x352689);this['_markSuggestions'](_0x5132c6,_0x378cec),this['_fixObsoleteTags'](_0x5132c6),_0x5132c6=this['_removeMissingPairs'](_0x5132c6),_0x5132c6=this['_markMismatchedRemovedTags'](_0x5132c6),_0x5132c6=this['_removeUnsupportedChanges'](_0x5132c6);const {root:_0x3d581b,changes:_0x47a210}=this['_makeModelFromTape'](_0x5132c6,_0x1bd8ad,_0x4de76b);_0x4a0bf9['model'][_0x4de76b]=_0x3d581b;const _0x5e0909=_0xa0ca06['get'](_0x4de76b);if(_0x5e0909){const _0x5c0248=_0x1bd8ad['get'](_0x5e0909['userId']),_0x2d215a=new r({'author':_0x5c0248,'type':_0x5e0909['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4de76b});_0x47a210['unshift'](_0x2d215a),_0x4a0bf9['attributes'][_0x4de76b]['revisionHistoryAttachChange']=_0x2d215a['id'];}_0x4a0bf9['changes']=_0x4a0bf9['changes']['concat'](_0x47a210);}return _0x4a0bf9;}['_markMarkers'](_0x35f24c,_0x3ac6af){for(let _0x4f4479=0x0;_0x4f4479<_0x35f24c['length'];_0x4f4479++)for(const [_0x210484,_0x16b085]of _0x3ac6af)_0x16b085['start']['isEqual'](_0x35f24c[_0x4f4479]['previousPosition'])&&_0x35f24c[_0x4f4479]['markersStart']['push'](_0x210484),_0x16b085['end']['isEqual'](_0x35f24c[_0x4f4479]['nextPosition'])&&_0x35f24c[_0x4f4479]['markersEnd']['push'](_0x210484);}['_joinTapes'](_0x221bf8,_0x2061a1){let _0x509f6f=[],_0x9496c3=0x0,_0x836bd=0x0;for(;_0x9496c3<_0x221bf8['length']||_0x836bd<_0x2061a1['length'];){const _0x27f0e4=_0x221bf8[_0x9496c3]||{},_0x3ec1ad=_0x2061a1[_0x836bd]||{};if(_0x27f0e4['id']==_0x3ec1ad['id'])_0x9496c3++,_0x836bd++,_0x509f6f['push'](_0x27f0e4);else{if(_0x3ec1ad['isRemoved']&&_0x27f0e4['isAdded']){const {commonTape:_0x16044c,iEnd:_0xfbc0c3,jEnd:_0x3cb82a}=this['_threeWayMerge'](_0x221bf8,_0x9496c3,_0x2061a1,_0x836bd);_0x509f6f=_0x509f6f['concat'](_0x16044c),_0x9496c3=_0xfbc0c3,_0x836bd=_0x3cb82a;}else _0x3ec1ad['isRemoved']?(_0x836bd++,_0x509f6f['push'](_0x3ec1ad)):(_0x9496c3++,_0x509f6f['push'](_0x27f0e4));}}return _0x509f6f;}['_markSuggestions'](_0x5981c0,_0x3350a0){const _0x3d5237=[];for(let _0x5596c8=0x0;_0x5596c8<_0x5981c0['length'];_0x5596c8++){for(let _0x1aacba=0x0;_0x1aacba<_0x5981c0[_0x5596c8]['markersStart']['length'];_0x1aacba++){const _0x2aed19=_0x5981c0[_0x5596c8]['markersStart'][_0x1aacba];if(!_0x3350a0['has'](_0x2aed19))continue;const {group:_0x4ad3f4,type:_0x59a502,authorId:_0x3931b0}=_0xc72db9(_0x2aed19);'revision-suggestion'!=_0x4ad3f4||'insertion'!=_0x59a502&&'deletion'!=_0x59a502||(_0x3d5237['unshift']({'type':_0x59a502,'name':_0x2aed19,'userId':_0x3931b0}),_0x5981c0[_0x5596c8]['markersStart']['splice'](_0x1aacba,0x1),_0x1aacba--);}_0x5a8867(_0x5981c0[_0x5596c8]);for(let _0x243efb=0x0;_0x243efb<_0x5981c0[_0x5596c8]['markersEnd']['length'];_0x243efb++){const _0x7e51b9=_0x5981c0[_0x5596c8]['markersEnd'][_0x243efb];if(!_0x3350a0['has'](_0x7e51b9))continue;const {group:_0x12ca5c,type:_0x30217d}=_0xc72db9(_0x7e51b9);if('revision-suggestion'!=_0x12ca5c||'insertion'!=_0x30217d&&'deletion'!=_0x30217d)continue;_0x5981c0[_0x5596c8]['markersEnd']['splice'](_0x243efb,0x1),_0x243efb--;const _0x311b26=_0x3d5237['findIndex'](_0x97d9e1=>_0x97d9e1['name']==_0x7e51b9);_0x311b26>-0x1&&_0x3d5237['splice'](_0x311b26,0x1);}}function _0xc72db9(_0x269589){const _0x4f8e10=_0x269589['split'](':');return{'group':_0x4f8e10[0x0],'type':_0x4f8e10[0x1],'subType':_0x4f8e10['length']>=0x5?_0x4f8e10[0x2]:null,'id':_0x4f8e10['length']<0x5?_0x4f8e10[0x2]:_0x4f8e10[0x3],'authorId':_0x4f8e10['length']<0x5?_0x4f8e10[0x3]:_0x4f8e10[0x4],'markerCount':0x6==_0x4f8e10['length']?_0x4f8e10[0x5]:null};}function _0x5a8867(_0x1933d9){for(let _0x59fb3e=0x0;_0x59fb3e<_0x3d5237['length'];_0x59fb3e++){if(_0x1933d9['isAdded']&&'insertion'==_0x3d5237[_0x59fb3e]['type'])return _0x1933d9['isAddSuggestion']=_0x3d5237[_0x59fb3e],void delete _0x1933d9['isAdded'];if(!_0x1933d9['isAdded']&&!_0x1933d9['isRemoved']&&'deletion'==_0x3d5237[_0x59fb3e]['type'])return void(_0x1933d9['isRemoveSuggestion']=_0x3d5237[_0x59fb3e]);}}}['_setDistance'](_0x371687,_0xdd4d5a){let _0x3e2b9d=0x0,_0x588987=!0x1;const _0x121859=new Map();for(const _0xbb5fe4 of _0x371687)_0xbb5fe4[_0xdd4d5a]?_0x588987&&(_0x3e2b9d++,_0x588987=!0x1):(_0x3e2b9d++,_0x588987=!0x0),_0x121859['set'](_0xbb5fe4['id'],_0x3e2b9d);for(let _0x58a295=0x0;_0x58a295<_0x371687['length'];_0x58a295++){if('isRemoved'==_0xdd4d5a&&_0x371687[_0x58a295]['isAdded']||'isAdded'==_0xdd4d5a&&_0x371687[_0x58a295]['isRemoved'])continue;if('text'==_0x371687[_0x58a295]['type']){_0x371687[_0x58a295]['distance']=0x0;continue;}const _0x355700=_0x121859['get'](_0x371687[_0x58a295]['pairId']),_0x289515=_0x121859['get'](_0x371687[_0x58a295]['id']);_0x371687[_0x58a295]['distance']=_0x355700-_0x289515;}}['_getRevisionsRange'](_0x2a1440,_0x784417,_0x5afa83=!0x1){const _0x42db75=[];let _0x3e1980=this['repository']['getIndex'](_0x2a1440),_0x57b498=this['repository']['getIndex'](_0x784417);for(-0x1==_0x57b498&&(_0x57b498=this['repository']['_revisions']['length'],_0x5afa83=!0x1);_0x3e1980<_0x57b498;)_0x42db75['push'](this['repository']['getRevision'](_0x3e1980)),_0x3e1980++;return _0x5afa83&&_0x42db75['push'](this['repository']['getRevision'](_0x3e1980)),_0x42db75;}['_threeWayMerge'](_0x4c6227,_0x345b7e,_0x37bb8b,_0x2ce780){const _0x189449=this['editor']['model']['schema'];let _0x1c6f5b=_0x345b7e;for(;_0x4c6227[_0x1c6f5b]&&_0x4c6227[_0x1c6f5b]['isAdded'];)_0x1c6f5b++;let _0xcc617a=_0x2ce780;for(;_0x37bb8b[_0xcc617a]&&_0x37bb8b[_0xcc617a]['isRemoved'];)_0xcc617a++;_0x4db46a(_0x4c6227,_0x345b7e,_0x1c6f5b),_0x4db46a(_0x37bb8b,_0x2ce780,_0xcc617a);const _0x122535=_0x37bb8b['slice'](_0x2ce780,_0xcc617a)['concat'](_0x4c6227['slice'](_0x345b7e,_0x1c6f5b));return _0x122535['sort']((_0x55470e,_0x364b70)=>_0x55470e['side']!=_0x364b70['side']?_0x55470e['side']-_0x364b70['side']:_0x55470e['level']!=_0x364b70['level']?_0x55470e['level']-_0x364b70['level']:_0x55470e['distance']!=_0x364b70['distance']?_0x364b70['distance']-_0x55470e['distance']:!!_0x55470e['isAdded']!=!!_0x364b70['isAdded']?-0x1==_0x55470e['side']||0x0==_0x55470e['side']?_0x55470e['isAdded']?-0x1:0x1:_0x55470e['isAdded']?0x1:-0x1:_0x55470e['index']-_0x364b70['index']),{'commonTape':_0x122535,'iEnd':_0x1c6f5b,'jEnd':_0xcc617a};function _0x4db46a(_0xd077c9,_0x368880,_0x4022ab){let _0x54df60=-0x1,_0x221b3d=Number['POSITIVE_INFINITY'],_0x3d0380=!0x0;for(let _0x4b3122=_0x368880;_0x4b3122<_0x4022ab;_0x4b3122++)if(_0x189449['isInline'](_0xd077c9[_0x4b3122]['item'])||(_0x3d0380=!0x1),_0xd077c9[_0x4b3122]['item']['startIndex']<_0x368880&&(_0x54df60=_0x4b3122),_0xd077c9[_0x4b3122]['item']['endIndex']>=_0x4022ab){_0x221b3d=_0x4b3122;break;}_0x3d0380&&(_0x54df60=_0x4022ab-0x1);for(let _0x595dbe=_0x368880;_0x595dbe<_0x4022ab;_0x595dbe++)_0xd077c9[_0x595dbe]['side']=_0x595dbe<=_0x54df60?-0x1:_0x595dbe<_0x221b3d?0x0:0x1,_0xd077c9[_0x595dbe]['index']=_0x595dbe;let _0xe211ed=0x0;for(let _0x395ce5=_0x368880;_0x395ce5<=_0x54df60;_0x395ce5++)0x0==_0xd077c9[_0x395ce5]['distance']?_0xd077c9[_0x395ce5]['level']=_0xe211ed:(_0xe211ed++,_0xd077c9[_0x395ce5]['level']=_0xe211ed,_0xe211ed++);for(let _0x94584a=_0x368880;_0x94584a<_0x4022ab;_0x94584a++)0x0==_0xd077c9[_0x94584a]['side']&&(_0xd077c9[_0x94584a]['level']=_0xe211ed);_0xe211ed=0x0;for(let _0x59cf05=_0x4022ab-0x1;_0x59cf05>=_0x221b3d;_0x59cf05--)0x0==_0xd077c9[_0x59cf05]['distance']?_0xd077c9[_0x59cf05]['level']=_0xe211ed:(_0xe211ed--,_0xd077c9[_0x59cf05]['level']=_0xe211ed,_0xe211ed--);}}['_fixObsoleteTags'](_0x4575a2){const _0x30af40=new Map(),_0x212403=this['editor']['model']['schema'];for(let _0x4c7904=0x1;_0x4c7904<_0x4575a2['length'];_0x4c7904++){let _0x10222f,_0x321e3a,_0x1ae7e4;const _0x3a9c8b=_0x4575a2[_0x4c7904],_0x37e334=_0x4575a2[_0x4c7904-0x1];if('text'==_0x3a9c8b['type'])continue;if(_0x3a9c8b['type']!=_0x37e334['type'])continue;if(!_0x212403['isBlock'](_0x37e334['item'])||_0x212403['isLimit'](_0x37e334['item']))continue;if(!_0x212403['isBlock'](_0x3a9c8b['item'])||_0x212403['isLimit'](_0x3a9c8b['item']))continue;if((_0x4575a2[_0x4c7904]['isAdded']||_0x4575a2[_0x4c7904]['isAddSuggestion'])&&_0x4575a2[_0x4c7904-0x1]['isRemoved'])_0x10222f=_0x4575a2[_0x4c7904],_0x321e3a=_0x4575a2[_0x4c7904-0x1],_0x1ae7e4=_0x4c7904-0x1;else{if(!_0x4575a2[_0x4c7904]['isRemoved']||!_0x4575a2[_0x4c7904-0x1]['isAdded']&&!_0x4575a2[_0x4c7904-0x1]['isAddSuggestion'])continue;_0x10222f=_0x4575a2[_0x4c7904-0x1],_0x321e3a=_0x4575a2[_0x4c7904],_0x1ae7e4=_0x4c7904;}const _0x59cfdc=_0x10222f['level']==_0x321e3a['level'],_0x132e9a=Math['abs'](_0x10222f['level'])<Math['abs'](_0x321e3a['level'])&&0x0==_0x321e3a['distance'];(_0x59cfdc||_0x132e9a)&&(_0x30af40['set'](_0x321e3a['id'],_0x10222f['id']),_0x4575a2['splice'](_0x1ae7e4,0x1),_0x4c7904--,_0x10222f['isAdded']=!0x1);}for(let _0x292a0e=0x0;_0x292a0e<_0x4575a2['length'];_0x292a0e++)_0x30af40['has'](_0x4575a2[_0x292a0e]['pairId'])&&(_0x4575a2[_0x292a0e]['pairId']=_0x30af40['get'](_0x4575a2[_0x292a0e]['pairId']));}['_removeMissingPairs'](_0x34bde5){const _0x3c91ed=new Set(_0x34bde5['map'](_0x21dcd1=>_0x21dcd1['id']));for(let _0x30f879=0x0;_0x30f879<_0x34bde5['length'];_0x30f879++)_0x3c91ed['has'](_0x34bde5[_0x30f879]['pairId'])||0x0==_0x34bde5[_0x30f879]['distance']||(_0x34bde5[_0x30f879]['isIncorrect']=!0x0);return _0x34bde5['filter'](_0x4026a9=>!_0x4026a9['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4ca52b){const _0x8ed3fb=new Set();for(let _0x5093cc=0x0;_0x5093cc<_0x4ca52b['length'];_0x5093cc++){if(_0x8ed3fb['has'](_0x4ca52b[_0x5093cc]['id'])&&_0x4ca52b[_0x5093cc]['isRemoved']&&(_0x4ca52b[_0x5093cc]['isIncorrect']=!0x0),_0x4ca52b[_0x5093cc]['isIncorrect'])continue;if(0x0==_0x4ca52b[_0x5093cc]['distance'])continue;if('elementStart'!=_0x4ca52b[_0x5093cc]['type'])continue;if(null==_0x4ca52b[_0x5093cc]['pairId'])continue;let _0x487833=_0x5093cc+0x1,_0x5e59c4=0x0;for(;_0x4ca52b[_0x487833]['id']!=_0x4ca52b[_0x5093cc]['pairId'];)'elementStart'==_0x4ca52b[_0x487833]['type']?_0x5e59c4++:'elementEnd'==_0x4ca52b[_0x487833]['type']&&_0x5e59c4--,_0x487833++;if(0x0!=_0x5e59c4){if(_0x4ca52b[_0x5093cc]['isRemoved'])_0x4ca52b[_0x5093cc]['isIncorrect']=!0x0;else{for(;_0x487833!=_0x5093cc;)_0x4ca52b[_0x487833]['isRemoved']&&0x0!=_0x4ca52b[_0x487833]['distance']&&(_0x4ca52b[_0x487833]['isIncorrect']=!0x0,_0x8ed3fb['add'](_0x4ca52b[_0x487833]['pairId'])),_0x487833--;}}}return _0x4ca52b['filter'](_0xa05ae5=>!_0xa05ae5['isIncorrect']);}['_removeUnsupportedChanges'](_0x7ff35e){const _0x3ea0aa=this['editor']['model']['schema'];for(let _0x354f9a=0x0;_0x354f9a<_0x7ff35e['length'];_0x354f9a++){if(!(_0x7ff35e[_0x354f9a]['isAdded']||_0x7ff35e[_0x354f9a]['isAddSuggestion']||_0x7ff35e[_0x354f9a]['isRemoved']||_0x7ff35e[_0x354f9a]['isRemoveSuggestion']))continue;if(0x0==_0x7ff35e[_0x354f9a]['distance'])continue;const _0x181af9=_0x7ff35e[_0x354f9a]['item'];_0x3ea0aa['isBlock'](_0x181af9)||_0x3ea0aa['isLimit'](_0x181af9)||(_0x7ff35e[_0x354f9a]['isAdded']&&delete _0x7ff35e[_0x354f9a]['isAdded'],_0x7ff35e[_0x354f9a]['isAddSuggestion']&&delete _0x7ff35e[_0x354f9a]['isAddSuggestion'],_0x7ff35e[_0x354f9a]['isRemoveSuggestion']&&delete _0x7ff35e[_0x354f9a]['isRemoveSuggestion'],_0x7ff35e[_0x354f9a]['isRemoved']&&(_0x7ff35e[_0x354f9a]['isIncorrect']=!0x0));}return _0x7ff35e['filter'](_0x54f4e1=>!_0x54f4e1['isIncorrect']);}['_makeModelFromTape'](_0x6d4a9c,_0x3138a5,_0x235c58){const _0x313d8b=new wt(),_0x33ad1f=[],_0x193cc0=new Map(),_0x31555b=this['editor']['model'],_0x52c9f7=_0x31555b['schema'],_0x2d5c54=[_0x313d8b],_0x262bd3={},_0x210cbd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xebc7b6=null;const _0x262fc5=[0x0];for(let _0x545cd3=0x0;_0x545cd3<_0x6d4a9c['length'];_0x545cd3++){let _0x3175c5,_0x4ef1ed;if('elementStart'===_0x6d4a9c[_0x545cd3]['type']){_0x3175c5=_0x31555b['createPositionFromPath'](_0x313d8b,_0x262fc5);const _0x35eba5=new ft(_0x6d4a9c[_0x545cd3]['item']['name'],_0x6d4a9c[_0x545cd3]['item']['getAttributes']());_0x2d5c54[0x0]['_appendChild'](_0x35eba5),_0x262fc5['push'](0x0),_0x2d5c54['unshift'](_0x35eba5),_0x4ef1ed=_0x31555b['createPositionFromPath'](_0x313d8b,_0x262fc5),_0xebc7b6=null;}else{if('elementEnd'===_0x6d4a9c[_0x545cd3]['type'])_0x2d5c54['shift'](),_0x3175c5=_0x31555b['createPositionFromPath'](_0x313d8b,_0x262fc5),_0x262fc5['pop'](),_0x262fc5[_0x262fc5['length']-0x1]++,_0x4ef1ed=_0x31555b['createPositionFromPath'](_0x313d8b,_0x262fc5),_0xebc7b6=null;else{if(_0x3175c5=_0x31555b['createPositionFromPath'](_0x313d8b,_0x262fc5),_0xebc7b6&&_0x4ba612(_0xebc7b6,_0x6d4a9c[_0x545cd3]['item']))_0xebc7b6['_data']+=_0x6d4a9c[_0x545cd3]['item']['data'];else{const _0x2387e3=new _t(_0x6d4a9c[_0x545cd3]['item']['data'],_0x6d4a9c[_0x545cd3]['item']['getAttributes']());_0x2d5c54[0x0]['_appendChild'](_0x2387e3),_0xebc7b6=_0x2387e3;}_0x262fc5[_0x262fc5['length']-0x1]+=_0x6d4a9c[_0x545cd3]['item']['offsetSize'],_0x4ef1ed=_0x31555b['createPositionFromPath'](_0x313d8b,_0x262fc5);}}for(const _0x7037ab of _0x6d4a9c[_0x545cd3]['markersStart'])_0x193cc0['set'](_0x7037ab,{'start':_0x3175c5,'end':null});_0x4f3991('isRemoveSuggestion',_0x545cd3,_0x3175c5,_0x4ef1ed),_0x4f3991('isAddSuggestion',_0x545cd3,_0x3175c5,_0x4ef1ed),_0x4f3991('isRemoved',_0x545cd3,_0x3175c5,_0x4ef1ed),_0x4f3991('isAdded',_0x545cd3,_0x3175c5,_0x4ef1ed);for(const _0x4126cf of _0x6d4a9c[_0x545cd3]['markersEnd']){_0x193cc0['get'](_0x4126cf)['end']=_0x4ef1ed;}}for(const [_0x306bba,_0x490b57]of _0x193cc0){const _0x31581e=this['editor']['model']['createRange'](_0x490b57['start'],_0x490b57['end']);_0x313d8b['markers']['set'](_0x306bba,_0x31581e);}return _0x33ad1f['sort']((_0x5660fd,_0x4db24b)=>{const _0x30828f=_0x313d8b['markers']['get']('revision:'+_0x5660fd['id']),_0x1181a8=_0x313d8b['markers']['get']('revision:'+_0x4db24b['id']);return _0x30828f['start']['isBefore'](_0x1181a8['start'])?-0x1:_0x30828f['start']['isAfter'](_0x1181a8['start'])?0x1:_0x30828f['end']['isBefore'](_0x1181a8['end'])?-0x1:_0x30828f['end']['isAfter'](_0x1181a8['end'])?0x1:'add'===_0x5660fd['type']?-0x1:0x1;}),{'root':_0x313d8b,'changes':_0x33ad1f};function _0x4f3991(_0xd45664,_0x3de2ce,_0x1c213b,_0x449fae){const _0xf24674=!!_0x6d4a9c[_0x3de2ce][_0xd45664],_0x1da116=_0xf24674?_0x6d4a9c[_0x3de2ce][_0xd45664]['userId']:null,_0x3b97f6=_0x3de2ce===_0x6d4a9c['length']-0x1,_0x42ffe4=_0x210cbd[_0xd45664][0x0],_0x4bb5b6=_0x52c9f7['isObject'](_0x6d4a9c[_0x3de2ce]['item']);!_0x262bd3[_0xd45664]&&_0xf24674?_0x262bd3[_0xd45664]={'start':_0x1c213b,'tapeItem':_0x6d4a9c[_0x3de2ce],'userId':_0x1da116,'type':_0xd45664}:_0x262bd3[_0xd45664]&&!_0xf24674?(_0x262bd3[_0xd45664]['end']=_0x1c213b,_0xe7b4d6(_0x262bd3[_0xd45664]),_0x262bd3[_0xd45664]=null):_0x262bd3[_0xd45664]&&_0xf24674&&_0x262bd3[_0xd45664]['userId']!==_0x1da116&&(_0x262bd3[_0xd45664]['end']=_0x1c213b,_0x42ffe4&&_0x42ffe4['userId']===_0x262bd3[_0xd45664]['userId']||_0xe7b4d6(_0x262bd3[_0xd45664]),_0x262bd3[_0xd45664]={'start':_0x1c213b,'tapeItem':_0x6d4a9c[_0x3de2ce],'userId':_0x1da116,'type':_0xd45664}),_0x262bd3[_0xd45664]&&_0x4bb5b6&&('elementStart'!==_0x6d4a9c[_0x3de2ce]['type']||_0x42ffe4&&_0x42ffe4['userId']===_0x1da116||_0x210cbd[_0xd45664]['unshift']({'userId':_0x1da116,'object':_0x6d4a9c[_0x3de2ce]['item'],'change':_0x262bd3[_0xd45664]}),'elementEnd'===_0x6d4a9c[_0x3de2ce]['type']&&_0x42ffe4&&_0x42ffe4['object']===_0x6d4a9c[_0x3de2ce]['item']&&(_0x210cbd[_0xd45664]['shift'](),_0x262bd3[_0xd45664]=_0x42ffe4['change'])),_0x262bd3[_0xd45664]&&_0x3b97f6&&(_0x262bd3[_0xd45664]['end']=_0x449fae,_0xe7b4d6(_0x262bd3[_0xd45664]),_0x262bd3[_0xd45664]=null);}function _0xe7b4d6({start:_0x367617,end:_0x564513,tapeItem:_0x3c31bf,userId:_0x5eea8d,type:_0x11e9ac}){const _0x2eb073=_0x3c31bf['item'],_0x5d3085=_0x31555b['schema']['isBlock'](_0x2eb073)&&!_0x31555b['schema']['isLimit'](_0x2eb073),_0x3980b0=_0x367617['nodeAfter']==_0x564513['parent']&&_0x564513['isAtStart'];if(_0x5d3085&&_0x3980b0)return;const _0x300355=_0x31555b['createRange'](_0x367617,_0x564513),_0x494738=_0x3138a5['get'](_0x5eea8d),_0x54e41b=new r({'author':_0x494738,'type':'isAdded'==_0x11e9ac||'isAddSuggestion'==_0x11e9ac?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x11e9ac||'isRemoveSuggestion'==_0x11e9ac},'createdAt':new Date(),'rootName':_0x235c58});_0x33ad1f['push'](_0x54e41b),_0x313d8b['markers']['set']('revision:'+_0x54e41b['id'],_0x300355);}function _0x4ba612(_0x1c3239,_0x41d9ee){const _0x404bf0=_0x1c3239['getAttributes'](),_0xce5494=_0x41d9ee['getAttributes']();for(const _0x3a49f2 of _0x404bf0){if(_0x3a49f2[0x1]!==_0x41d9ee['getAttribute'](_0x3a49f2[0x0]))return!0x1;_0xce5494['next']();}return _0xce5494['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3393e1=>{const _0x527578=_0x3393e1['markerName']['split'](':')[0x1],_0xfe4961=this['_getChangeFromId'](_0x527578);if(!_0xfe4961)return null;const _0x1eeeb8='add'==_0xfe4961['type']?'insertion':'deletion',_0x22a93a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1eeeb8];return _0xfe4961['data']['isSuggestion']&&_0x22a93a['push']('ck-suggestion-marker-'+_0x1eeeb8+'-new'),this['activeChange']==_0xfe4961&&_0x22a93a['push']('ck-suggestion-marker--active'),{'classes':_0x22a93a,'attributes':{'data-change-id':_0x527578}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2fcb88=>{_0x2fcb88['on']('element:pre',(_0x1197b4,_0x2d5b68,_0x7452ca)=>{const _0x10704c=_0x2d5b68['viewItem']['getChild'](0x0);if(!_0x10704c||!_0x10704c['is']('element','code'))return;if(!_0x7452ca['consumable']['consume'](_0x10704c,{'attributes':['vid_start','vid_end']}))return;const _0x4b00b9=_0x2d5b68['modelRange']['start']['nodeAfter'];_0x7452ca['writer']['setAttribute']('vid_start',_0x10704c['getAttribute']('vid_start'),_0x4b00b9),_0x7452ca['writer']['setAttribute']('vid_end',_0x10704c['getAttribute']('vid_end'),_0x4b00b9);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3a9f21=>{_0x3a9f21['on']('element',(_0x2d4ee0,_0x36ed8d,_0x389d43)=>{if(!_0x389d43['consumable']['consume'](_0x36ed8d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x36ed8d['modelRange']['isCollapsed'])return;const _0x27edd0=_0x36ed8d['modelRange']['start']['nodeAfter'];_0x27edd0['hasAttribute']('vid_start')||_0x27edd0['hasAttribute']('vid')||(_0x389d43['writer']['setAttribute']('vid_start',_0x36ed8d['viewItem']['getAttribute']('vid_start'),_0x27edd0),_0x389d43['writer']['setAttribute']('vid_end',_0x36ed8d['viewItem']['getAttribute']('vid_end'),_0x27edd0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3843ed=>_0x3843ed['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x401200,[,_0x348d53])=>{['vid_start','vid_end','vid']['includes'](_0x348d53)&&(_0x401200['return']=!0x0,_0x401200['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2d1400=>{_0x2d1400['on']('attribute:vid',(_0x1ad509,_0x13cb22,_0x44e7b4)=>{if('\x20'!=_0x13cb22['item']['data']||_0x13cb22['item']['parent']['maxOffset']>0x1)return;if(!_0x44e7b4['consumable']['consume'](_0x13cb22['item'],_0x1ad509['name']))return;const _0x447cf8=_0x44e7b4['writer'],_0x41b41e=_0x44e7b4['mapper']['toViewRange'](_0x13cb22['range']);_0x447cf8['wrap'](_0x41b41e,_0x447cf8['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1bbad1){const _0x50db4b=_0x1bbad1['plugins']['get']('RevisionViewer');return(_0x4c0c47,_0x3fd435,_0x417f21)=>{const _0x17b64d=_0x3fd435['markerName']['split'](':')[0x1],_0x2c68f8=_0x50db4b['_getChangeFromId'](_0x17b64d);if(!_0x2c68f8)return null;const _0x5d17aa='add'==_0x2c68f8['type']?'split':'merge';if(!_0x417f21['consumable']['test'](_0x3fd435['markerRange'],_0x4c0c47['name']))return;const _0x156e40=_0x3fd435['markerRange']['getWalker'](),_0x4f67c0=_0x3fd435['markerRange']['start'],_0x1ba2a8=_0x1bbad1['model']['schema'];let _0x1dc179=null,_0x142482=null,_0x3f5070=!0x1,_0x11a3d0=!0x1;for(const _0x34785c of _0x156e40){const _0x34ee71=_0x34785c['item'];_0x3f5070=_0x3f5070||_0x1ba2a8['isContent'](_0x34ee71);const _0x45bae9=_0x417f21['mapper']['toViewElement'](_0x34ee71);if(_0x45bae9&&_0x45bae9['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34785c['type']&&(_0x1ba2a8['isBlock'](_0x34ee71)&&!_0x1ba2a8['isLimit'](_0x34ee71)&&(_0x34ee71['nextSibling']||_0x4f67c0['isAtEnd']?_0x1dc179&&_0x1dc179['parent']==_0x34ee71||(_0x1dc179=_0x34ee71,_0x4d876d(_0x34785c['previousPosition']),_0x11a3d0=!0x0):_0x142482=_0x142482||_0x34785c['previousPosition']));}function _0x4d876d(_0x453b66){const _0x117ff2=_0x417f21['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5d17aa}),_0x34e929=_0x417f21['mapper']['toViewPosition'](_0x453b66);_0x2c68f8['data']['isSuggestion']&&_0x417f21['writer']['addClass']('ck-suggestion-marker-'+_0x5d17aa+'-new',_0x117ff2),_0x50db4b['activeChange']==_0x2c68f8&&_0x417f21['writer']['addClass']('ck-suggestion-marker--active',_0x117ff2),_0x417f21['writer']['insert'](_0x34e929,_0x117ff2),_0x417f21['mapper']['bindElementToMarker'](_0x117ff2,_0x3fd435['markerName']);}_0x3f5070||_0x11a3d0||!_0x142482||_0x4d876d(_0x142482);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3544d9,_0x7a1203,_0x3da693)=>{const _0x31323d=_0x3da693['mapper']['markerNameToElements'](_0x7a1203['markerName']);if(_0x31323d){for(const _0x3ab61f of _0x31323d)(_0x3ab61f['hasClass']('ck-suggestion-marker-split')||_0x3ab61f['hasClass']('ck-suggestion-marker-merge'))&&(_0x3da693['mapper']['unbindElementFromMarkerName'](_0x3ab61f,_0x7a1203['markerName']),_0x3da693['writer']['remove'](_0x3ab61f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x400017,_0x20e0cf,_0x4eb329)=>{const _0x3aad8f=_0x20e0cf['markerName']['split'](':')[0x1],_0x4f8dd6=this['_getChangeFromId'](_0x3aad8f);if(!_0x4f8dd6)return null;const _0x287d6e='add'==_0x4f8dd6['type']?'split':'merge';if(_0x4eb329['consumable']['test'](_0x20e0cf['markerRange'],_0x400017['name']))for(const _0x38ef3c of _0x20e0cf['markerRange']['getItems']()){if(!_0x38ef3c['is']('element','softBreak'))continue;const _0xcc748e=_0x4eb329['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x287d6e}),_0x4b41d9=_0x4eb329['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x38ef3c));_0x4f8dd6['data']['isSuggestion']&&_0x4eb329['writer']['addClass']('ck-suggestion-marker-'+_0x287d6e+'-new',_0xcc748e),this['activeChange']==_0x4f8dd6&&_0x4eb329['writer']['addClass']('ck-suggestion-marker--active',_0xcc748e),_0x4eb329['writer']['insert'](_0x4b41d9,_0xcc748e),_0x4eb329['mapper']['bindElementToMarker'](_0xcc748e,_0x20e0cf['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x47a56d=>{for(const _0x4d8770 of this['editor']['model']['document']['getRootNames']()){const _0x2ebe72=this['editor']['model']['document']['getRoot'](_0x4d8770),_0x5cca53=this['editor']['editing']['view']['document']['getRoot'](_0x4d8770);if(_0x5cca53){const _0x5bfba2=_0x2ebe72['getAttribute']('revisionHistoryAttachChange');if(_0x47a56d['removeAttribute']('data-change-id',_0x5cca53),_0x47a56d['removeClass']('ck-revision-history-root-add',_0x5cca53),_0x47a56d['removeClass']('ck-revision-history-root-remove',_0x5cca53),_0x47a56d['removeClass']('ck-revision-history-root--active',_0x5cca53),_0x5bfba2){const _0x2cff90=this['_getChangeFromId'](_0x5bfba2);if(!_0x2cff90)return null;_0x47a56d['setAttribute']('data-change-id',_0x5bfba2,_0x5cca53),_0x47a56d['addClass']('ck-revision-history-root-'+_0x2cff90['type'],_0x5cca53),this['activeChange']==_0x2cff90&&_0x47a56d['addClass']('ck-revision-history-root--active',_0x5cca53);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x9eb8f3=>'revision-comment:'+_0x9eb8f3,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4c5104=>'revision-suggestion:'+_0x4c5104,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x677f3d=>({'name':'suggestion:'+_0x677f3d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3c31b6=>{const _0x7e2836=_0x3c31b6['markerName']['split'](':')[0x1];return'insertion'!=_0x7e2836&&'deletion'!=_0x7e2836?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x7e2836]};}}),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',(_0x442605,_0xe5f430,_0x40bc17)=>{const _0x591936=_0x40bc17['mapper']['markerNameToElements'](_0xe5f430['markerName']);if(_0x591936){for(const _0x256ac6 of _0x591936)_0x256ac6['is']('uiElement')&&(_0x40bc17['mapper']['unbindElementFromMarkerName'](_0x256ac6,_0xe5f430['markerName']),_0x40bc17['writer']['remove'](_0x256ac6));}},{'priority':'high'});}['_getChangeFromId'](_0x2a212e){return this['_changeIdToChange']['get'](_0x2a212e);}['_getViewForChange'](_0x5b59af){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5b59af),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x304223,_0x4b0ebb,_0x54c187,_0x3d69b5)=>{_0x3d69b5&&this['_balloon']['remove'](_0x3d69b5),_0x54c187&&(this['_balloon']['add']({'view':_0x54c187,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x192a04=this['editor']['editing'],_0x1c3562=this['_getChangeFromId'](_0x54c187['changeId']);let _0x59715f;if(_0x1c3562['data']['isOnRoot']){const _0x460e22=_0x192a04['view']['getDomRoot'](_0x1c3562['rootName']);_0x59715f=Array['from'](_0x460e22['getClientRects']());}else{const _0x4eab4d=this['editor']['model']['markers']['get']('revision:'+_0x54c187['changeId']);_0x59715f=Array['from'](_0x192a04['mapper']['markerNameToElements'](_0x4eab4d['name']))['map'](_0x349f02=>_0x192a04['view']['domConverter']['mapViewToDom'](_0x349f02))['map'](_0x2ef539=>Array['from'](_0x2ef539['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x59715f[0x0];return _0x59715f['find'](_0x132fb4=>_0x132fb4['top']-0x3<=this['_activeViewTarget']['y']&&_0x132fb4['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x132fb4['left']-0x3<=this['_activeViewTarget']['x']&&_0x132fb4['right']+0x3>=this['_activeViewTarget']['x'])||_0x59715f[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x521a73,_0x2e421e,_0x279e5c,_0x1d06d4)=>{this['activeView']=_0x279e5c?this['_getViewForChange'](_0x279e5c):null,this['editor']['model']['change'](()=>{const _0x35195a=this['editor']['editing'];_0x1d06d4&&(_0x1d06d4['data']['isOnRoot']?_0x35195a['view']['change'](_0x263d52=>{_0x263d52['removeClass']('ck-revision-history-root--active',_0x35195a['view']['document']['getRoot'](_0x1d06d4['rootName']));}):_0x35195a['reconvertMarker']('revision:'+_0x1d06d4['id'])),_0x279e5c&&(_0x279e5c['data']['isOnRoot']?_0x35195a['view']['change'](_0x1427cb=>{_0x1427cb['addClass']('ck-revision-history-root--active',_0x35195a['view']['document']['getRoot'](_0x279e5c['rootName']));}):_0x35195a['reconvertMarker']('revision:'+_0x279e5c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2d2c9e,_0x58cced)=>{if(this['activeChange'])return;const _0x58d5da=this['_findChangeIdFromDomTarget'](_0x58cced['target']),_0x3fc45b=this['_changeIdToChange']['get'](_0x58d5da);_0x3fc45b?(this['_activeViewTarget']={'x':_0x58cced['domEvent']['x'],'y':_0x58cced['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3fc45b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x28276d,_0xfc2f78)=>{const _0x781d69=this['_findChangeIdFromDomTarget'](_0xfc2f78['target']),_0x4fa943=this['_changeIdToChange']['get'](_0x781d69);_0x4fa943?(this['_activeViewTarget']={'x':_0xfc2f78['domEvent']['x'],'y':_0xfc2f78['domEvent']['y']},_0x4fa943===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x4fa943):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x491bf8){do{const _0x304a35=_0x491bf8['getAttribute']('data-change-id');if(_0x304a35)return _0x304a35;_0x491bf8=_0x491bf8['parent'];}while(_0x491bf8);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x404a0f=>{for(const _0x5e5700 of this['editor']['model']['markers'])_0x404a0f['removeMarker'](_0x5e5700);});}}function et(_0x1b41e8,_0x176e86){return(_0x55bfa5,_0x583abc,_0x21a0a5)=>{if(!_0x21a0a5['consumable']['test'](_0x583abc['markerRange'],_0x55bfa5['name']))return;const _0x2c1778=_0x583abc['markerRange']['getWalker'](),_0x7f9d66=_0x583abc['markerRange']['start'],_0x5be912=_0x1b41e8['model']['schema'];let _0x326e7e=null,_0x290a15=null,_0x253b5a=!0x1,_0x41dd45=!0x1;for(const _0x44c3ea of _0x2c1778){const _0x7774b0=_0x44c3ea['item'];_0x253b5a=_0x253b5a||_0x5be912['isContent'](_0x7774b0);const _0x4da37e=_0x21a0a5['mapper']['toViewElement'](_0x7774b0);if(_0x4da37e&&_0x4da37e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x44c3ea['type']&&(_0x5be912['isBlock'](_0x7774b0)&&!_0x5be912['isLimit'](_0x7774b0)&&(_0x7774b0['nextSibling']||_0x7f9d66['isAtEnd']?_0x326e7e&&_0x326e7e['parent']==_0x7774b0||(_0x326e7e=_0x7774b0,_0x41b6de(_0x44c3ea['previousPosition']),_0x41dd45=!0x0):_0x290a15=_0x290a15||_0x44c3ea['previousPosition']));}function _0x41b6de(_0x4f5a6a){const _0x3e5b4c=_0x21a0a5['mapper']['toViewPosition'](_0x4f5a6a),_0x86bb22=_0x21a0a5['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x176e86});_0x21a0a5['writer']['insert'](_0x3e5b4c,_0x86bb22),_0x21a0a5['mapper']['bindElementToMarker'](_0x86bb22,_0x583abc['markerName']);}_0x253b5a||_0x41dd45||!_0x290a15||_0x41b6de(_0x290a15);};}class bt extends _0x5c0cf0{constructor(_0x115a80){super(_0x115a80);const _0x813571=_0x115a80['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x813571,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x813571,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4ecf12=this['editor'],_0x1c5379=_0x4ecf12['plugins']['get'](d),_0x35565b=_0x1c5379['isReady']?_0x1c5379['diff']['newRevisionId']:null;_0x4ecf12['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x35565b);}['refresh'](){const {isReady:_0x521a1f,isEnabled:_0x3b7586}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x521a1f&&_0x3b7586;}}class yt extends _0x5c0cf0{['_step'];constructor(_0x1b9995,{direction:_0x11e717}){super(_0x1b9995);const _0x1accc8=_0x1b9995['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x11e717?0x1:-0x1,this['listenTo'](_0x1accc8,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1accc8,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1accc8,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2cb29d=this['editor'],_0x54fa42=_0x2cb29d['plugins']['get'](d),{isNavigationMode:_0x11909b,currentChangeNumber:_0x24b39f}=_0x54fa42;let _0x282296;if(_0x54fa42['activeChange']=_0x11909b?_0x54fa42['diff']['changes']['get'](_0x24b39f+this['_step']):_0x54fa42['diff']['changes']['first'],_0x54fa42['activeChange']['data']['isOnRoot'])_0x282296=_0x2cb29d['editing']['view']['getDomRoot'](_0x54fa42['activeChange']['rootName']);else{const _0x3920ed=_0x2cb29d['model']['markers']['get']('revision:'+_0x54fa42['activeChange']['id']);_0x282296=_0xd9aa4(_0x2cb29d['editing'],_0x3920ed);}_0x273832({'target':_0x282296,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x44e581,currentChangeNumber:_0x267b4f,numberOfChanges:_0x53c2d7,isReady:_0x1ab10e,isEnabled:_0x50d4e1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x50d4e1&&_0x1ab10e&&_0x53c2d7)&&(!_0x44e581||(0x1===this['_step']?_0x267b4f<_0x53c2d7-0x1:_0x267b4f>0x0));}}class _i extends _0x1354ed{constructor(_0x509adc){super(_0x509adc);const _0x62955a=this['bindTemplate'],_0x24cae8=new _0x1d5053(_0x509adc),_0x36ef42=new _0x1d5053(_0x509adc);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',(_0x214ee7,_0x102931)=>_0x214ee7&&_0x102931>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xe45468,_0x1cd0c5,_0x28a4ac,_0x4b2396)=>{if(!_0xe45468)return y(_0x509adc,'Loading...');if(!_0x28a4ac)return y(_0x509adc,'No\x20changes');const _0x20eb01=y(_0x509adc,'NUMBER_OF_CHANGES',_0x28a4ac);return _0x4b2396?y(_0x509adc,'X_OF_Y_CHANGES',[_0x1cd0c5+0x1,_0x28a4ac]):_0x20eb01;}),_0x24cae8['set']({'label':y(_0x509adc,'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'}),_0x36ef42['set']({'label':y(_0x509adc,'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'}),_0x24cae8['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x36ef42['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x24cae8['on']('execute',()=>this['fire']('execute','backward')),_0x36ef42['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',_0x62955a['if']('_isStatusLabelVisible','ck-hidden',_0x58e2a1=>!_0x58e2a1)]},'children':[{'text':_0x62955a['to']('isNavigationMode',_0x4ca859=>_0x4ca859?y(_0x509adc,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x509adc,'Total')+':\x20')}]},{'text':_0x62955a['to']('_statusText')}]},new _0x154b8e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x24cae8,_0x36ef42]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xb13d88{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4b2fc0=this['editor']['editing']['view'];_0x4b2fc0['change'](_0x3bf1c7=>{for(const _0x1bc7c8 of _0x4b2fc0['document']['roots'])_0x3bf1c7['addClass'](ce,_0x1bc7c8);});}['hide'](){const _0x4c996a=this['editor']['editing']['view'];_0x4c996a['change'](_0x519d13=>{for(const _0x345d4f of _0x4c996a['document']['roots'])_0x519d13['removeClass'](ce,_0x345d4f);});}}class R extends _0xb13d88{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x27f1b0=this['editor'],_0x12b6ed=_0x27f1b0['plugins']['get'](d),_0x53e626=_0x27f1b0['plugins']['get'](de);_0x27f1b0['ui']['componentFactory']['add']('exitToEditing',_0x1485b6=>{const _0xb418a6=new _0x1d5053(_0x1485b6);return _0xb418a6['set']({'label':y(_0x1485b6,'Back\x20to\x20editing'),'icon':_0x2e7272['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xb418a6,'execute',()=>{_0x27f1b0['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xb418a6;}),_0x27f1b0['ui']['componentFactory']['add']('restoreRevision',_0x4eb6e8=>{const _0x9b9df6=new _0x1d5053(_0x4eb6e8);return _0x9b9df6['set']({'label':y(_0x4eb6e8,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x9b9df6['bind']('isEnabled')['to'](_0x27f1b0['commands']['get']('restoreRevision')),this['listenTo'](_0x9b9df6,'execute',()=>_0x27f1b0['execute']('restoreRevision')),_0x9b9df6;}),_0x27f1b0['ui']['componentFactory']['add']('changesNavigation',_0x2221a5=>{const _0x4fcf0a=new _i(_0x2221a5),_0x1efd59=_0x27f1b0['commands']['get']('showPreviousChange'),_0xfa57ff=_0x27f1b0['commands']['get']('showNextChange');return _0x4fcf0a['bind']('isBackwardNavigationEnabled')['to'](_0x1efd59,'isEnabled'),_0x4fcf0a['bind']('isForwardNavigationEnabled')['to'](_0xfa57ff,'isEnabled'),_0x4fcf0a['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x12b6ed),this['listenTo'](_0x4fcf0a,'execute',(_0x9c2ecf,_0x189a9f)=>{_0x27f1b0['execute']('forward'===_0x189a9f?'showNextChange':'showPreviousChange');}),_0x4fcf0a;}),_0x53e626['show'](),_0x12b6ed['on']('change:isReady',(_0x1f63ba,_0x3a8af5,_0x1d323c)=>{_0x1d323c?_0x53e626['hide']():_0x53e626['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x11f0c3,_0x4794e5){super(_0x11f0c3,_0x4794e5);const _0x9c49e5=this['bindTemplate'];this['set']({'label':y(_0x11f0c3,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x11f0c3,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x9c49e5['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 _0x5f6549=this['fieldView']['element'];this['_tooltipString']=_0x5f6549['scrollWidth']>_0x5f6549['clientWidth']&&_0x5f6549['value']||'';}}class ti extends _0x1354ed{constructor(_0x2a2908,_0x44c0b9,_0x285916){super(_0x2a2908);const _0x1f4c0f=new _0x83e720();_0x1f4c0f['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 _0x465525=['ck','ck-revision-history-sidebar__revision-author'];_0x285916&&_0x465525['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1afd0b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2a2908,_0x285916?'Revision\x20creator':'Revision\x20author')},'children':[_0x1f4c0f,_0x44c0b9['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x465525},'children':_0x1afd0b});}}function ni(_0x4c8075,_0x184b03){const _0x5e40b2=_0x4c8075['bindTemplate'],_0x553c9b=_0x4c8075['locale'],_0x54866c=_0x5e1645(_0x553c9b);_0x54866c['panelPosition']='sw';const _0x91bc3=function(_0x3102cf,_0x565f13){const _0x298fd6=function(_0x236141,_0x49e491){const _0x19471=_0x236141['locale'],_0x129ace={'Compare\x20against\x20selected':y(_0x19471,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x19471,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x19471,'Restore\x20this\x20revision')};return _0x49e491['map'](_0x3a06fb=>{const _0x405c19=_0x129ace[_0x3a06fb['name']];return _0x405c19&&_0x405c19!==_0x3a06fb['name']&&(_0x3a06fb['name']=_0x405c19),_0x3a06fb;});}(_0x3102cf,_0x565f13),_0x16e050=new _0x21503a();for(const _0x122920 of _0x298fd6){const _0x1f06d8={'type':'button','model':new to({'label':_0x122920['name'],'class':_0x122920['class'],'withText':!0x0,'role':'menuitem','_action':_0x122920['action']})};_0x1f06d8['model']['bind']('isEnabled')['to'](_0x3102cf,'isActionsDropdownOpen',_0x8c225c=>'function'!=typeof _0x122920['isEnabled']||(!_0x8c225c||_0x122920['isEnabled'](_0x3102cf))),_0x16e050['add'](_0x1f06d8);}return _0x16e050;}(_0x4c8075,_0x184b03);return _0x4c8075['bind']('isActionsDropdownOpen')['to'](_0x54866c,'isOpen'),_0x54866c['buttonView']['set']({'label':y(_0x553c9b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2e7272['threeVerticalDots']}),_0x54866c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5e40b2['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5e40b2['to'](_0xb2e130=>_0xb2e130['stopPropagation']())}}),_0x54866c['on']('execute',_0x34d8c1=>{_0x4c8075['isReady']&&'function'==typeof _0x34d8c1['source']['_action']&&_0x34d8c1['source']['_action'](_0x4c8075);}),_0x1cfd08(_0x54866c,_0x91bc3,{'role':'menu'}),_0x54866c['listenTo'](_0x4c8075,'change:isActionsDropdownOpen',(_0xcf8b40,_0x2d745c,_0x55e2e6)=>{if(_0x55e2e6)for(const _0x5366c7 of _0x54866c['listView']['items']){const _0x3ab61d=_0x5366c7['children']['first'],_0x76992f=_0x184b03['find'](_0x469035=>_0x469035['action']===_0x3ab61d['_action'])['isVisible'];_0x5366c7['isVisible']=void 0x0===_0x76992f||_0x76992f(_0x4c8075);}}),_0x54866c;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x462677,Context as _0x2138d8,PendingActions as _0x1e6735,icons as _0xea3c15,Command as _0x272acf,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x92358b,uid as _0x3f8fcb,Collection as _0x49389d,logWarning as _0x3dcfa8,FocusTracker as _0xbc1773,KeystrokeHandler as _0x58a2da,scrollViewportToShowTarget as _0x201719,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4a4e27}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5931b2,getMarkerDomElement as _0x5db210,ConfirmMixin as _0x2aad72,sanitizeEditorConfig as _0x6b97ec}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x333809,ViewText as _0x1c996d,ViewElement as _0x45b4c2,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x422e4d,ViewAttributeElement as _0x60d33c,ViewEmptyElement as _0x138d0a,ViewRawElement as _0x2224cc,ViewUIElement as _0x563085,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4fd32e,set as _0x5a4952,unset as _0x3dfde2,isEqual as _0x454448}from'lodash-es';import{View as _0x11617e,injectCssTransitionDisabler as ts,submitHandler as _0x194e33,LabeledFieldView as at,createLabeledInputText as _0x2f092a,createDropdown as _0x321ef6,ListView as te,ListItemView as _0x37fa9b,ButtonView as _0x3fc38a,MenuBarMenuView as _0x3daedb,MenuBarMenuListView as _0x4b0ab7,MenuBarMenuListItemView as _0x3e308c,MenuBarMenuListItemButtonView as _0xcf915e,ContextualBalloon as _0x1b6a3f,ToolbarSeparatorView as _0x5cf71e,IconView as _0x207a75,addListToDropdown as _0x2be2ce,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 _0xbb1bcf}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x92358b(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x36d082){super(),this['id']=_0x36d082['id']||_0x3f8fcb(),this['creator']=_0x36d082['creator']||null,this['authors']=_0x36d082['authors']||[],this['diffData']=_0x36d082['diffData']||null,this['toVersion']=_0x36d082['toVersion']||0x0,this['fromVersion']=_0x36d082['fromVersion']||0x0,this['set']('name',_0x36d082['name']||''),this['set']('createdAt',_0x36d082['createdAt']||new Date()),this['set']('attributes',_0x36d082['attributes']||{});}['setName'](_0x5f3396){this['_update']({'name':_0x5f3396});}['setAttribute'](_0x35a645,_0x2c0006){const _0x1df5a6=_0x4fd32e(this['attributes']);_0x5a4952(_0x1df5a6,_0x35a645,_0x2c0006),this['_update']({'attributes':_0x1df5a6});}['removeAttribute'](_0x43dc3a){const _0x2df63c=_0x4fd32e(this['attributes']);_0x3dfde2(_0x2df63c,_0x43dc3a),this['_update']({'attributes':_0x2df63c});}['_update'](_0x256f25,_0x1a26a3=!0x1){let _0x3ee72b=!0x1;const _0x4cab83={'id':this['id']},_0x158baf=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3250de of _0x158baf){const _0x2f5f5e=_0x256f25[_0x3250de];void 0x0!==_0x2f5f5e&&_0x2f5f5e!==this[_0x3250de]&&(this[_0x3250de]=_0x2f5f5e,_0x4cab83[_0x3250de]=_0x2f5f5e,_0x3ee72b=!0x0);}_0x3ee72b&&(_0x4cab83['authors']&&(_0x4cab83['authorsIds']=_0x4cab83['authors']['map'](_0x51b166=>_0x51b166['id']),delete _0x4cab83['authors']),this['fire']('_update',_0x4cab83,_0x1a26a3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2842ee=>_0x2842ee['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x462677{['_revisions'];static get['requires'](){return[_0x5931b2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2beaee){super(_0x2beaee),this['_revisions']=new _0x49389d();}['afterInit'](){!function(_0x14d802){function _0x3ead76(_0x462c70,_0x2eed0b,_0x456a85){const _0x211fb1={};_0x211fb1[_0x12b91b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x211fb1[_0x12b91b([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x211fb1[_0x12b91b([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x211fb1[_0x12b91b([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x211fb1[_0x12b91b([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x211fb1[_0x12b91b([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x211fb1[_0x12b91b([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x211fb1[_0x12b91b([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x211fb1[_0x12b91b([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x211fb1[_0x12b91b([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x211fb1[_0x12b91b([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x512a9f=new Uint8Array(0x10);for(let _0x3665be=0xf;_0x3665be>=0x0;--_0x3665be)_0x512a9f[_0x3665be]=_0x456a85%0x100,_0x456a85=parseInt(_0x456a85/0x100);let _0x53ea81=null,_0x3fe87c=0x10;const _0x27435b=new Uint8Array(_0x2eed0b),_0x3a67e9=[],_0x3874be=[];_0x9b3a7a();for(let _0x1f5abe=0x0;_0x1f5abe<_0x462c70[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f5abe++)0x10===_0x3fe87c&&(_0x53ea81=_0x1c8e2d(_0x512a9f),_0x3fe87c=0x0,_0x38d166(_0x512a9f)),_0x462c70[_0x1f5abe]^=_0x53ea81[_0x3fe87c++];return _0x462c70;function _0x3e868c(_0x5d4920){const _0x2522bf=[];for(let _0x30d6a7=0x0;_0x30d6a7<_0x5d4920[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d6a7+=0x4)_0x2522bf[_0x12b91b([0x70,0x75,0x73,0x68])](_0x5d4920[_0x30d6a7]<<0x18|_0x5d4920[_0x30d6a7+0x1]<<0x10|_0x5d4920[_0x30d6a7+0x2]<<0x8|_0x5d4920[_0x30d6a7+0x3]);return _0x2522bf;}function _0x38d166(_0x248f63){for(let _0x3f1ce6=0xf;_0x3f1ce6>=0x0;_0x3f1ce6--){if(0xff!==_0x248f63[_0x3f1ce6]){_0x248f63[_0x3f1ce6]++;break;}_0x248f63[_0x3f1ce6]=0x0;}}function _0x1c8e2d(_0x360eb8){const _0x9d444d=_0x3a67e9[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2f0431=[0x0,0x0,0x0,0x0];let t=_0x3e868c(_0x360eb8);for(let _0x5cd249=0x0;_0x5cd249<0x4;_0x5cd249++)t[_0x5cd249]^=_0x3a67e9[0x0][_0x5cd249];for(let _0x7b42a1=0x1;_0x7b42a1<_0x9d444d;_0x7b42a1++){for(let _0x590372=0x0;_0x590372<0x4;_0x590372++)_0x2f0431[_0x590372]=_0x211fb1[_0x12b91b([0x54,0x31])][t[_0x590372]>>0x18&0xff]^_0x211fb1[_0x12b91b([0x54,0x32])][t[(_0x590372+0x1)%0x4]>>0x10&0xff]^_0x211fb1[_0x12b91b([0x54,0x33])][t[(_0x590372+0x2)%0x4]>>0x8&0xff]^_0x211fb1[_0x12b91b([0x54,0x34])][0xff&t[(_0x590372+0x3)%0x4]]^_0x3a67e9[_0x7b42a1][_0x590372];t=_0x2f0431[_0x12b91b([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1e20bf=new Uint8Array(0x10);let _0x496efe;for(let _0x490ed5=0x0;_0x490ed5<0x4;_0x490ed5++)_0x496efe=_0x3a67e9[_0x9d444d][_0x490ed5],_0x1e20bf[0x4*_0x490ed5]=0xff&(_0x211fb1[_0x12b91b([0x53])][t[_0x490ed5]>>0x18&0xff]^_0x496efe>>0x18),_0x1e20bf[0x4*_0x490ed5+0x1]=0xff&(_0x211fb1[_0x12b91b([0x53])][t[(_0x490ed5+0x1)%0x4]>>0x10&0xff]^_0x496efe>>0x10),_0x1e20bf[0x4*_0x490ed5+0x2]=0xff&(_0x211fb1[_0x12b91b([0x53])][t[(_0x490ed5+0x2)%0x4]>>0x8&0xff]^_0x496efe>>0x8),_0x1e20bf[0x4*_0x490ed5+0x3]=0xff&(_0x211fb1[_0x12b91b([0x53])][0xff&t[(_0x490ed5+0x3)%0x4]]^_0x496efe);return _0x1e20bf;}function _0x9b3a7a(){const _0x37bb1f=_0x211fb1[_0x12b91b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x27435b[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x8e7028=0x0;_0x8e7028<=_0x37bb1f;_0x8e7028++)_0x3a67e9[_0x12b91b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3874be[_0x12b91b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x51160a=0x4*(_0x37bb1f+0x1),_0xa15c0b=_0x27435b[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x14701a=_0x3e868c(_0x27435b);let _0x41c4f7;for(let _0xa07c92=0x0;_0xa07c92<_0xa15c0b;_0xa07c92++)_0x41c4f7=_0xa07c92>>0x2,_0x3a67e9[_0x41c4f7][_0xa07c92%0x4]=_0x14701a[_0xa07c92],_0x3874be[_0x37bb1f-_0x41c4f7][_0xa07c92%0x4]=_0x14701a[_0xa07c92];let _0x38b6af,_0x3172bb=0x0,t=_0xa15c0b;for(;t<_0x51160a;){_0x38b6af=_0x14701a[_0xa15c0b-0x1],_0x14701a[0x0]^=_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x10&0xff]<<0x18^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x8&0xff]<<0x10^_0x211fb1[_0x12b91b([0x53])][0xff&_0x38b6af]<<0x8^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x18&0xff]^_0x211fb1[_0x12b91b([0x72,0x63,0x6f,0x6e])][_0x3172bb]<<0x18,_0x3172bb+=0x1;for(let _0x8df50a=0x1;_0x8df50a<_0xa15c0b/0x2;_0x8df50a++)_0x14701a[_0x8df50a]^=_0x14701a[_0x8df50a-0x1];_0x38b6af=_0x14701a[_0xa15c0b/0x2-0x1],_0x14701a[_0xa15c0b/0x2]^=_0x211fb1[_0x12b91b([0x53])][0xff&_0x38b6af]^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x8&0xff]<<0x8^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x10&0xff]<<0x10^_0x211fb1[_0x12b91b([0x53])][_0x38b6af>>0x18&0xff]<<0x18;for(let _0x5a7ebf=_0xa15c0b/0x2+0x1;_0x5a7ebf<_0xa15c0b;_0x5a7ebf++)_0x14701a[_0x5a7ebf]^=_0x14701a[_0x5a7ebf-0x1];let _0x3ab811,_0x4e2b5c,_0x286fb1=0x0;for(;_0x286fb1<_0xa15c0b&&t<_0x51160a;)_0x3ab811=t>>0x2,_0x4e2b5c=t%0x4,_0x3a67e9[_0x3ab811][_0x4e2b5c]=_0x14701a[_0x286fb1],_0x3874be[_0x37bb1f-_0x3ab811][_0x4e2b5c]=_0x14701a[_0x286fb1++],t++;}for(let _0x3889e0=0x1;_0x3889e0<_0x37bb1f;_0x3889e0++)for(let _0x45135a=0x0;_0x45135a<0x4;_0x45135a++)_0x38b6af=_0x3874be[_0x3889e0][_0x45135a],_0x3874be[_0x3889e0][_0x45135a]=_0x211fb1[_0x12b91b([0x55,0x31])][_0x38b6af>>0x18&0xff]^_0x211fb1[_0x12b91b([0x55,0x32])][_0x38b6af>>0x10&0xff]^_0x211fb1[_0x12b91b([0x55,0x33])][_0x38b6af>>0x8&0xff]^_0x211fb1[_0x12b91b([0x55,0x34])][0xff&_0x38b6af];}}function _0x12b91b(_0x5c010b){return _0x5c010b['map'](_0x196538=>String['fromCharCode'](_0x196538))['join']('');}(_0x2e267d=>{function _0x3d2896(){const _0x493f2f=[{[_0x12b91b([0x69,0x64])]:0x1,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x12b91b([0x69,0x64])]:0x2,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x12b91b([0x69,0x64])]:0x3,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x12b91b([0x69,0x64])]:0x4,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x12b91b([0x69,0x64])]:0x5,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x6,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x7,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x8,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0x9,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x12b91b([0x69,0x64])]:0xa,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0xb,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x12b91b([0x69,0x64])]:0xc,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x12b91b([0x69,0x64])]:0xd,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}},{[_0x12b91b([0x69,0x64])]:0xe,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x12b91b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x12b91b([0x69,0x64])]:0xf,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x12b91b([0x69,0x64])]:0x10,[_0x12b91b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x12b91b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x12b91b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x12b91b([0x66,0x67,0x69])]:[0xc]}}];return _0x1491b4(_0x493f2f),_0x493f2f;function _0xc33e4(_0x2c3cfa){return 0x1<<_0x2c3cfa-0x1;}function _0x1491b4(_0x503527){_0x503527[_0x12b91b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bb096=>{_0x3bb096[_0x12b91b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xc33e4(_0x3bb096[_0x12b91b([0x69,0x64])]),_0x41bff5(_0x3bb096)&&_0x3bb096[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1491b4(_0x3bb096[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x41bff5(_0x211e50){return _0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x211e50;}const _0x200741=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4a2bb5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x28d6c6(_0x2b56c5){const _0x1e2f4f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xc63dc0(_0x2b56c5,new Uint8Array([..._0x200741,..._0x1e2f4f,..._0x4a2bb5]));}function _0xc63dc0(_0x370e28,_0x15e59a){const _0x42a605=_0x23c39c(_0x370e28),_0x23c78d=Array[_0x12b91b([0x66,0x72,0x6f,0x6d])](_0x55709f(_0x42a605)),_0x4ca607=_0x23c78d[_0x12b91b([0x70,0x6f,0x70])](),_0x506b15=_0x23c78d[_0x12b91b([0x70,0x6f,0x70])]();return _0x4e1e0f(_0x3ead76(_0x23c78d,_0x15e59a,_0x506b15+0x100*_0x4ca607));}function _0x23c39c(_0x2197cb){const _0x2c6990=atob(_0x2197cb),[_0x5de2b5,_0x77a7e6]=_0x2c6990[_0x12b91b([0x73,0x70,0x6c,0x69,0x74])](_0x12b91b([0x2d]));try{if(atob(_0x77a7e6))return atob(_0x5de2b5);}catch(_0x418825){}return _0x2c6990;}function _0xb2f5d4(_0x1f8466){try{const _0x623c99=_0x28d6c6(_0x1f8466),_0x5fad8c=JSON[_0x12b91b([0x70,0x61,0x72,0x73,0x65])](_0x623c99),_0x59c12a=parseInt(_0x5fad8c[_0x12b91b([0x31])]),_0x4e6275=_0x5fad8c[_0x12b91b([0x32])]||'',_0x300151=parseInt(_0x5fad8c[_0x12b91b([0x33])]),_0x4bf1c6=parseInt(_0x5fad8c[_0x12b91b([0x34])])||0x0,_0x141d8f=parseInt(_0x5fad8c[_0x12b91b([0x35])])||0x0;return{[_0x12b91b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4e6275,[_0x12b91b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4bf1c6,[_0x12b91b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x59c12a,[_0x12b91b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x300151,[_0x12b91b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x141d8f};}catch(_0x425538){return null;}}const _0x12d49e=_0x3d2896(),_0x3f567f={[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xe61b34,[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x3270d1,[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x106946},_0x53a0a5=_0x2e267d[_0x12b91b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2b77f9=_0x12b91b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2e267d?_0x2e267d['context']:_0x2e267d['editor'],_0x5854f0=_0x12b91b([0x34,0x30,0x34,0x38,0x31,0x34,0x33,0x30]),_0x1dceaa=_0x12b91b([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x59d40a=_0x2b77f9['config']['get'](_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3e5373=_0x12d49e[_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41bff5)[_0x12b91b([0x66,0x69,0x6e,0x64])](_0x5ea903=>_0x5ea903[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x53a0a5);function _0x50cd25(_0x13b851,_0x17d4d6){_0x3f567f[_0x17d4d6[_0x12b91b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x13b851,_0x17d4d6),_0x17d4d6[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x17d4d6[_0x12b91b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b8757=>_0x4c1978(_0x2b77f9,_0x3b8757[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x12b91b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x492407=>_0x50cd25(_0x13b851,_0x492407));}function _0xe61b34(_0x2b6ae7,_0x368d23){_0x9ca088(_0x1082fb(_0x2b6ae7,_0x368d23),_0x368d23);}function _0x3270d1(_0x19ca6f,_0x275b8f){function _0x4b0ba2(_0x31acb4,_0x3469b9){try{if(_0x4c1978(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x31acb4){const _0x1376ed=_0x172c25(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x12b91b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1376ed)/0x2>_0x31acb4[_0x12b91b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x495713(_0x3469b9[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1082fb(_0x31acb4,_0x3469b9);}catch(_0x3e65d7){return _0x495713(_0x3469b9[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x9ca088(_0x4b0ba2(_0x19ca6f,_0x275b8f),_0x275b8f);}function _0x106946(_0x1b7950,_0x242805){const _0x4f7041=_0x4a2bb5[0x0]*_0x200741[0x1],_0x1c9b6c=_0x4a2bb5[0x0]*_0x200741[0x2],_0x5c041e=_0x4a2bb5[0x2]*_0x200741[0x2];_0x4c1978(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x172c25(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x406175()]=_0x5c041e);function _0x2ae558(_0x248424,_0x2b8b9b){try{return _0x363429()?_0x495713(_0x2b8b9b[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x56,0x61,0x6c,0x69,0x64])):_0x1082fb(_0x248424,_0x2b8b9b);}catch(_0xc5b9bd){return _0x495713(_0x2b8b9b[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b7754(_0x3f9d16,_0x1857ef){const _0x2646f9=0x7;if(_0x3f9d16==_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3de0eb();else{if(_0x3f9d16==_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])){const _0x1099ce=_0x5b380b();_0x1099ce&&_0x2601cf(_0x1099ce,_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x49d966=_0x3e152f();window[_0x12b91b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2601cf(_0x12b91b([0x74,0x69,0x6d,0x65]),_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x49d966);const _0x342d97=_0x172c25(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x12b91b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x342d97[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2646f9?_0x2601cf(_0x12b91b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x342d97['on'](_0x12b91b([0x61,0x64,0x64]),()=>{_0x342d97[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2646f9&&_0x2601cf(_0x12b91b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1857ef[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5b380b(){if(!_0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5c10a3 in window)if(Number['isNaN'](Number(_0x5c10a3))){if(window[_0x5c10a3]===_0x4f7041)return _0x12b91b([0x74,0x69,0x6d,0x65]);if(window[_0x5c10a3]===_0x1c9b6c)return _0x12b91b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x363429(){if(!_0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a3068 in window)if(Number['isNaN'](Number(_0x4a3068))&&window[_0x4a3068]===_0x5c041e)return!0x0;return!0x1;}function _0x2601cf(_0x350490,_0x58b061){_0x3de0eb(),_0x495713(_0x58b061+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x350490),window[_0x406175()]=_0x350490===_0x12b91b([0x74,0x69,0x6d,0x65])?_0x4f7041:_0x1c9b6c;}function _0x3e152f(){let _0x3dda8c=_0x4a2bb5[0x6]*_0x200741[0x8]*_0x200741[0x6];return _0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3dda8c/=0xa),_0x3dda8c;}function _0x3de0eb(){const _0x5a8bf5=_0x2b77f9;function _0xf5055e(){_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4a838f,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x12b91b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4a838f,_0x5a8bf5[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x5a8bf5[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x5a8bf5[_0x12b91b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4a838f,_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4a838f);}_0x5a8bf5[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x72,0x65,0x61,0x64,0x79])?_0xf5055e():_0x5a8bf5[_0x12b91b([0x6f,0x6e,0x63,0x65])](_0x12b91b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xf5055e(),_0x4c1978(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x15ddc9=_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x474abe=_0x15ddc9['getRevision'](0x0),_0x3c19ef=_0x15ddc9['getEarlierVisibleRevision'](_0x474abe[_0x12b91b([0x69,0x64])]);_0x172c25(_0x5a8bf5,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x12b91b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x474abe[_0x12b91b([0x69,0x64])],_0x3c19ef?_0x3c19ef[_0x12b91b([0x69,0x64])]:null,0x1)['then'](()=>_0xf5055e());}});}_0x5b7754(_0x2ae558(_0x1b7950,_0x242805),_0x242805);}function _0x1082fb(_0x348c86,_0x4aab2f){try{return _0x1d6b42(_0x4aab2f)?_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x56,0x61,0x6c,0x69,0x64])):_0x348c86&&_0xe9a94d(_0x348c86[_0x12b91b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4aab2f)?_0x348c86[_0x12b91b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x12b91b([0x6f,0x70,0x65,0x6e])][_0x12b91b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5854f0)/0x2>_0x348c86[_0x12b91b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x348c86[_0x12b91b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])):_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x56,0x61,0x6c,0x69,0x64])):_0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x51895a){return _0x495713(_0x4aab2f[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9ca088(_0x84083a,_0x46fac7){if(_0x2b77f9 instanceof _0x2138d8){const _0x2ed8b4=_0x2b77f9;_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x348436(_0x2ed8b4):_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x12b91b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x348436(_0x2ed8b4),_0x495713(_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4a2bb5[0x6]*_0x200741[0x8]*_0x200741[0x6]),_0x2ed8b4[_0x12b91b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x12b91b([0x6f,0x6e])](_0x12b91b([0x61,0x64,0x64]),(_0x46dc7c,_0x51572d)=>{_0x84083a!=_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x84083a!=_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x84083a!=_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x14d306(_0x51572d);});}else{const _0x13728b=_0x2b77f9;_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x14d306(_0x13728b):_0x84083a==_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c])&&_0x13728b[_0x12b91b([0x6f,0x6e])](_0x12b91b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4ec277=0x0;_0x13728b[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x6f,0x6e])](_0x12b91b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5de5eb,_0x54b7ea)=>{_0x54b7ea[0x0][_0x12b91b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ec277++,0x1f8===_0x4ec277&&(_0x14d306(_0x13728b),_0x495713(_0x46fac7[_0x12b91b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x12b91b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5de5eb[_0x12b91b([0x6f,0x66,0x66])]());},{'priority':_0x12b91b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x495713(_0x1b30c2){const _0x2015ff=_0x406175();return _0x2b77f9[_0x2015ff]=_0x1b30c2,_0x1b30c2;}function _0x406175(){const _0x31dff9=String(window[_0x12b91b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12b91b([0x6e,0x6f,0x77])]())[_0x12b91b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12b91b([0x2e]),'');let _0x6206ab='';for(let _0x146431=0x0;_0x146431<_0x31dff9[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x146431+=0x2){let _0x553dfe=parseInt(_0x31dff9[_0x12b91b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x146431,_0x146431+0x2));_0x553dfe>=_0x1dceaa[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553dfe-=_0x1dceaa[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6206ab+=_0x1dceaa[_0x553dfe];}return _0x6206ab;}function _0x348436(_0x22d520){for(const _0x52315e of _0x22d520[_0x12b91b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x14d306(_0x52315e);_0x172c25(_0x22d520,_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x12b91b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x172c25(_0x22d520,_0x12b91b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x12b91b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4a838f;}function _0x14d306(_0x17b3ae){function _0x4543f3(){_0x17b3ae[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x17b3ae[_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b91b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a838f,_0x17b3ae[_0x12b91b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12b91b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x17b3ae[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x72,0x65,0x61,0x64,0x79])?_0x4543f3():_0x17b3ae[_0x12b91b([0x6f,0x6e,0x63,0x65])](_0x12b91b([0x72,0x65,0x61,0x64,0x79]),()=>_0x4543f3());}function _0x4a838f(){return null;}function _0xe9a94d(_0x5a5bde,_0x4bdc3d){const _0x2fb1dc=!!(_0x5a5bde&_0x4bdc3d[_0x12b91b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42d35d=_0x4a7cf4(_0x5a5bde,_0x4bdc3d);return _0x2fb1dc||_0x42d35d;}function _0x4a7cf4(_0xd7b91d,_0x268e72){const _0x1da6f2=(_0x268e72[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x12b91b([0x66,0x67,0x69])]||null;return!!_0x1da6f2&&_0x12d49e[_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4587fe=>_0x1da6f2[_0x12b91b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4587fe[_0x12b91b([0x69,0x64])]))[_0x12b91b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ec049=>!_0x42dbab(_0x1ec049))[_0x12b91b([0x73,0x6f,0x6d,0x65])](_0x4d64ba=>!!(_0xd7b91d&_0x4d64ba[_0x12b91b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x42dbab(_0x1bc4fe){const _0x188b9e={[_0x12b91b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x2c1ee6};return!!_0x1bc4fe['forbiddenHandler']&&_0x188b9e[_0x1bc4fe['forbiddenHandler']]();}function _0x2c1ee6(){return!window[_0x12b91b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4c1978(_0x2b77f9,_0x12b91b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1d6b42(_0x2d63db){if(!_0x4c1978(_0x2b77f9,_0x2d63db[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x515eaa=_0x2d63db[_0x12b91b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x326307=_0x515eaa[_0x12b91b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x365749=_0x515eaa[_0x12b91b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x464da6=_0x515eaa[_0x12b91b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4c1978(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x172c25(_0x2b77f9,_0x12b91b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x12b91b([0x73,0x74,0x61,0x74,0x65])]==_0x12b91b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x326307)return!0x0;if(_0x4c1978(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x172c25(_0x2b77f9,_0x12b91b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x12b91b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x12b91b([0x65,0x6e,0x64])&&_0x365749)return!0x0;return!(!_0x4c1978(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x172c25(_0x2b77f9,_0x12b91b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x12b91b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x12b91b([0x65,0x6e,0x64])||!_0x464da6);}function _0x4c1978(_0x243e29,_0x4eb373){return _0x243e29[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x12b91b([0x68,0x61,0x73])](_0x4eb373);}function _0x172c25(_0xc8e621,_0x123221){return _0xc8e621[_0x12b91b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x12b91b([0x67,0x65,0x74])](_0x123221);}function _0x4e1e0f(_0x51f9bf){let _0x20f5ed='';for(const _0x378585 of _0x51f9bf)_0x20f5ed+=String[_0x12b91b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x378585);return _0x20f5ed;}function _0x55709f(_0x1b983e){const _0x1515bc=new Uint8Array(_0x1b983e[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x27d68e=0x0;_0x27d68e<_0x1b983e[_0x12b91b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27d68e++)_0x1515bc[_0x27d68e]=_0x1b983e[_0x12b91b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27d68e);return _0x1515bc;}_0x3e5373&&_0x50cd25(_0xb2f5d4(_0x59d40a),_0x3e5373);})(_0x14d802);}(this);}['createRevision'](_0x3467a9){const _0x3cd2a8=this['editor']['plugins']['get']('Users');return new a({'id':_0x3467a9['id'],'name':_0x3467a9['name'],'creator':_0x3467a9['creatorId']?_0x3cd2a8['getUser'](_0x3467a9['creatorId']):null,'diffData':_0x3467a9['diffData']||_0x3467a9['data'],'authors':_0x3467a9['authorsIds']['map'](_0x2d9231=>_0x3cd2a8['getUser'](_0x2d9231)),'createdAt':new Date(_0x3467a9['createdAt']),'attributes':_0x3467a9['attributes'],'fromVersion':_0x3467a9['fromVersion'],'toVersion':_0x3467a9['toVersion']});}['addRevision'](_0x24c3c9,_0x15a8f5=0x0){this['_revisions']['add'](_0x24c3c9,_0x15a8f5);}['getRevision'](_0x18301e){return this['_revisions']['get'](_0x18301e);}['getRevisions'](_0x2195f2={'toJSON':!0x1}){const _0x100858=Array['from'](this['_revisions']);return _0x100858['reverse'](),_0x2195f2['toJSON']?_0x100858['map'](_0x33637a=>_0x33637a['toJSON']()):_0x100858;}['getIndex'](_0x1427d5){return this['_revisions']['getIndex'](_0x1427d5);}['getEarlierVisibleRevision'](_0x2257cd){const [,_0x574ee5]=this['getRevisionsIterator'](_0x2257cd,{'direction':'earlier'});return _0x574ee5;}['getLaterVisibleRevision'](_0x4e0369){const [,_0x3ba85e]=this['getRevisionsIterator'](_0x4e0369,{'direction':'later'});return _0x3ba85e;}['getRevisionsInDiff'](_0x23a4ee){const _0x3a6238=[];for(const _0x315ae8 of this['getRevisionsIterator'](_0x23a4ee['newRevisionId']))if(_0x3a6238['push'](_0x315ae8),_0x315ae8['id']===_0x23a4ee['oldRevisionId'])break;return _0x3a6238;}*['getRevisionsIterator'](_0x3a1ebb,{direction:_0x3ff5b9='earlier',filter:_0x3f9713=_0x2823e3=>!0x0}={}){const _0x160529='earlier'===_0x3ff5b9?0x1:-0x1;let _0x37e781=this['_revisions']['get'](_0x3a1ebb),_0x368922=this['getIndex'](_0x37e781);for(yield _0x37e781;_0x37e781;){if(_0x368922+=_0x160529,_0x37e781=this['getRevision'](_0x368922),!_0x37e781)return;_0x3f9713(_0x37e781)&&(yield _0x37e781);}}}function y(_0xf8c5d3,_0x582fd6,_0x4a9220){const t=_0xf8c5d3['t'];switch(_0x582fd6){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x4a9220);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4a9220);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x422e4d,'a':_0x60d33c,'e':_0x138d0a,'r':_0x2224cc,'u':_0x563085};class l extends _0x462677{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5931b2,A,_0x1e6735];}constructor(_0xb11616){super(_0xb11616),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x366275=_0x3f8fcb();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x366275},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0xb8ceb5=this['repository']['getRevision'](0x0),_0x47042a=_0xb8ceb5&&null===_0xb8ceb5['creator']?_0xb8ceb5:null;if(this['_continueCurrentRevision']=!!_0x47042a&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x398e90=this['_source']['getCurrentRevisionId'](),_0x23fdf0=this['repository']['getRevision'](_0x398e90);if(_0x23fdf0)this['_startingVersion']=_0x23fdf0['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x595682=this['_source']['history']['_operations']['find'](_0x1bd4f4=>!_0x1bd4f4['_isInit']),_0x1282da=_0x595682?_0x595682['baseVersion']:this['_source']['history']['version'];_0xb8ceb5?(_0xb8ceb5['toVersion']<_0x1282da&&_0xb8ceb5['_update']({'toVersion':_0x1282da}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x47042a['id'],this['_startingVersion']=_0x47042a['fromVersion']):(this['_startingVersion']=_0xb8ceb5['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1282da,this['_continueCurrentRevision']=!0x1);}}else _0x47042a&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x47042a['toVersion'],this['editor']['model']['document']['history']['version']),_0x47042a['fromVersion']===_0x47042a['toVersion']?(0x0!==_0x47042a['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x47042a['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x47042a['id'],this['_startingVersion']=_0x47042a['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x1848d6=>!_0x1848d6);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1601db=this['repository']['getRevision'](0x0),_0x275043=await this['getRevisionDocumentData'](_0x1601db),_0x27012d=await this['getRevisionRootsAttributes'](_0x1601db);this['_replaceEditorDataWithRevisionData'](_0x275043,_0x27012d);}}['setSource'](_0x52695d){this['_source']=_0x52695d;}async['update'](){const _0xbf4ba=await this['_source']['getLatestVersion']();if(_0xbf4ba>this['currentRevision']['toVersion']){await this['_loadState']();const _0x360dc2=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xbf4ba});_0x360dc2['authors']=_0x360dc2['authorsIds']['map'](_0x37f604=>this['editor']['plugins']['get']('Users')['getUser'](_0x37f604)),this['currentRevision']['_update'](_0x360dc2);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x155503={},_0x3f00bd=null){const _0x23f274=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3f00bd>this['currentRevision']['toVersion']&&(_0x3f00bd=null),null===_0x3f00bd&&(_0x3f00bd=await this['_source']['getLatestVersion']());const _0x484bbb=this['_getFromVersion'](_0x3f00bd),_0xfe02a=this['buildRevisionData']({'from':_0x484bbb,'to':_0x3f00bd});if(this['currentRevision']['toVersion']<_0x3f00bd){const _0x56c56d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3f00bd,'to':_0x3f00bd});_0x56c56d['authors']=[],_0x56c56d['authorsIds']=[],_0x56c56d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x56c56d,!0x0),delete _0x56c56d['authors'],_0x23f274['push'](_0x56c56d);}_0x155503['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x155503['name']=_0x155503['name']||null,_0x155503['id']=_0x155503['id']||_0x3f8fcb(),_0x155503={..._0x155503,..._0xfe02a};const _0x364013=this['addRevisionData'](_0x155503);_0x23f274['push'](_0x155503);const _0x5ef14f=this['repository']['getIndex'](_0x364013);if(0x0!==_0x5ef14f){const _0x52ae89=this['repository']['getRevision'](_0x5ef14f-0x1);if(_0x52ae89['fromVersion']!==_0x3f00bd){const _0x408451=this['_revisionDataBuilder']['getData'](_0x3f00bd,_0x52ae89['toVersion']),_0x464a30={'id':_0x52ae89['id'],'diffData':_0x408451['diffData'],'authorsIds':_0x408451['authorsIds'],'authors':_0x408451['authorsIds']['map'](_0x204bd7=>this['editor']['plugins']['get']('Users')['getUser'](_0x204bd7)),'fromVersion':_0x3f00bd};_0x52ae89===this['currentRevision']&&(_0x464a30['createdAt']=new Date(_0x155503['createdAt']['getTime']()+0xa)),_0x52ae89['_update'](_0x464a30,!0x0),delete _0x464a30['authors'],_0x23f274['push'](_0x464a30);}}if(this['adapter']){for(const _0x320966 of _0x23f274)this['_bufferUpdate'](_0x320966['id'],_0x320966,!0x0);this['sendBufferedUpdates']();}return _0x364013;}['addRevisionData'](_0x59d71d){const _0x1572d2=this['repository']['createRevision'](_0x59d71d);return this['adapter']&&_0x1572d2['on']('_update',(_0x1a9f3e,_0x3caf92,_0x3d3189)=>{_0x3d3189||(this['_bufferUpdate'](_0x3caf92['id'],_0x3caf92,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1572d2,this['_findInsertionIndex'](_0x1572d2)),_0x1572d2;}async['getRevisionDocumentData'](_0x2f4eac){await this['_loadRevisionData'](_0x2f4eac);const _0x442786={};for(const _0x278d94 in _0x2f4eac['diffData']){if(_0x2f4eac['diffData'][_0x278d94]['attachChange']&&!_0x2f4eac['diffData'][_0x278d94]['attachChange']['isAttached'])continue;const _0x2824da=this['_removeRevisionMarkers'](JSON['parse'](_0x2f4eac['diffData'][_0x278d94]['insertions'])),_0x467c32=this['editor']['editing']['view']['document'],_0x311ca9=new _0x333809(_0x467c32,_0x2824da['map'](_0x126443=>B(_0x126443,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x442786[_0x278d94]=this['editor']['data']['processor']['toData'](_0x311ca9),this['editor']['data']['processor']['useFillerType']('default');}return _0x442786;}async['getRevisionRootsAttributes'](_0x1fdfd8){await this['_loadRevisionData'](_0x1fdfd8);const _0xc064be={};for(const _0x5bceb6 in _0x1fdfd8['diffData'])_0x1fdfd8['diffData'][_0x5bceb6]['attachChange']&&!_0x1fdfd8['diffData'][_0x5bceb6]['attachChange']['isAttached']||(_0xc064be[_0x5bceb6]=_0x1fdfd8['diffData'][_0x5bceb6]['attributesAfter']||{});return _0xc064be;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5b0e49=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4d8046=0x0;_0x4d8046<_0x5b0e49['length'];_0x4d8046++){const _0x3d7156=_0x5b0e49[_0x4d8046];let _0x5af150=!0x1;for(const _0x41ba32 of Object['keys'](_0x3d7156))void 0x0===_0x3d7156[_0x41ba32]?delete _0x3d7156[_0x41ba32]:'id'!==_0x41ba32&&(_0x5af150=!0x0);_0x5af150||(_0x5b0e49[_0x4d8046]=null);}if(_0x5b0e49=_0x5b0e49['filter'](_0x19215c=>null!==_0x19215c),!_0x5b0e49['length'])return;for(let _0x5f49e8=0x0;_0x5f49e8<_0x5b0e49['length'];_0x5f49e8++){const _0x486815=_0x5b0e49[_0x5f49e8];void 0x0!==_0x486815['fromVersion']&&void 0x0===_0x486815['toVersion']&&(_0x486815['toVersion']=this['repository']['getRevision'](_0x486815['id'])['toVersion']),void 0x0!==_0x486815['toVersion']&&void 0x0===_0x486815['fromVersion']&&(_0x486815['fromVersion']=this['repository']['getRevision'](_0x486815['id'])['fromVersion']);}const _0x3a9801=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5b0e49,_0x3a9801)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1872f8=>{if(_0x1872f8){for(const _0x359c58 of _0x1872f8)this['setRevisionData']({'id':_0x359c58['id'],'createdAt':_0x359c58['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3be569,_0x1a561f){let _0x142b77=this['editor']['config']['get']('initialData'),_0x1f328c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x142b77){_0x142b77={};for(const _0x179aa3 of this['editor']['model']['document']['getRootNames']())_0x142b77[_0x179aa3]='';}if('string'==typeof _0x142b77&&(_0x142b77={'main':_0x142b77}),void 0x0===_0x1f328c){_0x1f328c={};for(const _0x11ad82 of this['editor']['model']['document']['getRootNames']())_0x1f328c[_0x11ad82]={};}let _0x2c2c1c=!0x1;const _0x54f7a4=Object['keys'](_0x142b77),_0x5c1e30=Object['keys'](_0x3be569);for(const _0x56ea0f of _0x54f7a4){if(_0x142b77[_0x56ea0f]!==_0x3be569[_0x56ea0f]&&''!==_0x142b77[_0x56ea0f]['trim']()){_0x2c2c1c=!0x0;break;}if(!_0x454448(_0x1f328c[_0x56ea0f],_0x1a561f[_0x56ea0f])&&Object['keys'](_0x1f328c[_0x56ea0f])['length']>0x0){_0x2c2c1c=!0x0;break;}}_0x2c2c1c||(_0x2c2c1c=_0x5c1e30['some'](_0x1fd848=>!this['editor']['model']['document']['getRoot'](_0x1fd848))),_0x2c2c1c&&_0x3dcfa8('editor-initial-data-replaced-with-revision-data',{'editorData':_0x142b77,'editorRootsAttributes':_0x1f328c,'revisionData':_0x3be569,'revisionRootsAttributes':_0x1a561f}),this['editor']['config']['set']('initialData',_0x3be569),this['editor']['config']['set']('rootsAttributes',_0x1a561f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x17e095=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x17e095['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x148f20){const _0x489e72=this['repository']['getRevisions']();_0x489e72['reverse']();let _0x12b92e=0x0;for(;_0x12b92e<_0x489e72['length'];){const _0x7c658e=_0x489e72[_0x12b92e];if(_0x7c658e===this['currentRevision']){_0x12b92e++;continue;}if(_0x7c658e['id']===this['_initialRevisionId'])break;const _0x1c7b3f=_0x148f20['toVersion']-_0x7c658e['toVersion']||_0x148f20['fromVersion']-_0x7c658e['fromVersion'];if(_0x1c7b3f>0x0)break;if(_0x1c7b3f<0x0)_0x12b92e++;else{if(!_0x148f20['creator']&&_0x7c658e['creator'])break;if(_0x7c658e['creator']||!_0x148f20['creator']){if(_0x148f20['createdAt']>_0x7c658e['createdAt'])break;_0x12b92e++;}else _0x12b92e++;}}return _0x12b92e;}['setRevisionData'](_0x18c880){const _0x2f6777=this['repository']['getRevision'](_0x18c880['id']);if(_0x18c880['createdAt']&&(_0x18c880['createdAt']=new Date(_0x18c880['createdAt'])),_0x18c880['authorsIds']){const _0x195ff4=this['editor']['plugins']['get']('Users');_0x18c880['authors']=_0x18c880['authorsIds']['map'](_0x19441d=>_0x195ff4['getUser'](_0x19441d));}_0x2f6777['_update'](_0x18c880,!0x0);}['buildRevisionData']({revision:_0x3e279d=null,from:_0x2f9440=null,to:_0x4caa4a=null}){_0x2f9440=null!==_0x2f9440?_0x2f9440:_0x3e279d['fromVersion'],_0x4caa4a=null!==_0x4caa4a?_0x4caa4a:_0x3e279d['toVersion'];const _0x1ce0c7=this['_revisionDataBuilder']['getData'](_0x2f9440,_0x4caa4a),_0x33de1d={'diffData':_0x1ce0c7['diffData'],'authorsIds':_0x1ce0c7['authorsIds'],'fromVersion':_0x2f9440,'toVersion':_0x4caa4a};if(!_0x3e279d||_0x4caa4a!==_0x3e279d['toVersion']){const _0x140600=_0x4caa4a-0x1,_0xd7ed43=this['_source']['history']['getOperation'](_0x140600);_0x33de1d['createdAt']=_0xd7ed43&&_0xd7ed43['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2f9440===this['_loadedStateData']['fromVersion']){for(const _0x2630fa of this['_loadedStateData']['authors'])_0x33de1d['authorsIds']['includes'](_0x2630fa['id'])||_0x33de1d['authorsIds']['push'](_0x2630fa['id']);}return _0x33de1d;}['_loadRevisionData'](_0x18b077){if(!_0x18b077||_0x18b077['diffData'])return Promise['resolve']();{const _0x2f3e4e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2f3e4e,'revisionId':_0x18b077['id']})['then'](_0xf20377=>{_0x18b077['diffData']=_0xf20377['diffData'];});}}['_bufferUpdate'](_0x5276c1,_0x2c69ed,_0x548486){if(this['_bufferedUpdates']['has'](_0x5276c1)){const _0x2a7f1d=this['_bufferedUpdates']['get'](_0x5276c1);_0x2c69ed=_0x548486?{..._0x2a7f1d,..._0x2c69ed}:{..._0x2c69ed,..._0x2a7f1d};}this['_bufferedUpdates']['set'](_0x5276c1,_0x2c69ed);}['_getFromVersion'](_0x513df3){const _0x24c34c=this['repository']['getRevisions']();_0x24c34c['reverse'](),_0x24c34c['shift']();const _0x5d9d8b=_0x24c34c['find'](_0x81784a=>_0x81784a['toVersion']<=_0x513df3)['toVersion'];return _0x5d9d8b<this['_startingVersion']?this['_startingVersion']:_0x5d9d8b;}['_createInitialRevision'](_0x49486c){const _0xb807eb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xb807eb)this['_initialRevisionId']=_0xb807eb['id'];else{const _0x1e7738=!this['editor']['model']['document']['roots']['find'](_0xbcaab8=>this['editor']['model']['hasContent'](_0xbcaab8)),_0xdd66de=this['editor']['plugins']['get']('Users')['me']['id'],_0x399783=y(this['editor']['locale'],_0x1e7738?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x49486c,'to':_0x49486c,'id':this['_initialRevisionId'],'name':_0x399783,'creatorId':_0xdd66de});}}['_createCurrentRevision'](_0x532cd9){const _0x2e0ca1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2e0ca1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x532cd9,'to':_0x532cd9,'id':_0x2e0ca1,'name':'','creatorId':null}));}['_makeRevision']({name:_0x41a775,from:_0x45f938,to:_0x5bb34c,creatorId:_0x48cae5,id:_0x41cd22}){const _0x47e674=this['buildRevisionData']({'from':_0x45f938,'to':_0x5bb34c});_0x47e674['name']=_0x41a775,_0x47e674['creatorId']=_0x48cae5,_0x47e674['id']=_0x41cd22;const _0xf97b1d=this['addRevisionData'](_0x47e674);return this['adapter']&&this['_bufferUpdate'](_0x47e674['id'],_0x47e674,!0x0),_0xf97b1d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x16ef3f){return(_0x16ef3f=_0x16ef3f['filter'](_0x4d826e=>!_0x4d826e['name']||'revision-start'!==_0x4d826e['name']&&'revision-end'!==_0x4d826e['name']))['forEach'](_0x1da723=>{'string'!=typeof _0x1da723&&(_0x1da723['children']=this['_removeRevisionMarkers'](_0x1da723['children']),_0x1da723['attributes']=_0x1da723['attributes']['filter'](_0x5b0565=>!_0x5b0565[0x0]['startsWith']('data-revision-')));}),_0x16ef3f;}}function B(_0x45d974,_0x49a98c){const _0x389505=_0x49a98c['editing']['view']['document'];if('string'==typeof _0x45d974)return new _0x1c996d(_0x389505,_0x45d974);{const _0x27631d=_0x45d974['children']['map'](_0x3ce47a=>B(_0x3ce47a,_0x49a98c));return new(T[_0x45d974['type']]||_0x45b4c2)(_0x389505,_0x45d974['name'],_0x45d974['attributes'],_0x27631d);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1931e9){this['editor']=_0x1931e9,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x1f8aba){this['source']=_0x1f8aba;const _0x726aea=new Map(),_0x2a9575=new Map(),_0x5e74c2=this['editor']['model']['document']['roots']['map'](_0xc834c=>_0xc834c['rootName']);for(const _0x470139 of _0x5e74c2){const _0x32295c=this['editor']['model']['document']['getRoot'](_0x470139),_0x3bcd03=q(_0x32295c);_0x726aea['set'](_0x470139,_0x3bcd03),_0x2a9575['set'](_0x470139,Object['fromEntries'](_0x32295c['getAttributes']()));}const _0x27e9f6=Array['from'](this['editor']['model']['markers'])['map'](_0x30f1e7=>[_0x30f1e7['name'],_0x30f1e7['getRange']()]),_0x1b49ef=this['source']['version'];this['_saveMetaData'](_0x1b49ef,_0x726aea,_0x27e9f6,_0x2a9575),this['_startingRevisionId']=this['_revisionId'];const _0x30ed8e=new Map(),_0x31b204=new Map();for(const _0x143e19 of _0x5e74c2){const _0x2e581b=G(_0x143e19);_0x30ed8e['set'](_0x143e19,_0x2e581b),_0x31b204['set'](_0x143e19,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x30ed8e,[],_0x31b204);}['getData'](_0x3c58a4,_0x195597){if(this['_lastFrom']===_0x3c58a4&&this['_lastTo']<=_0x195597)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x195597,!0x0);else{if(!this['_savedMetaData']['has'](_0x3c58a4)){const _0xa43707=this['_getPreviousFrom'](_0x3c58a4);this['_calculateMetaData'](_0xa43707,_0x3c58a4,!0x1);}this['_calculateMetaData'](_0x3c58a4,_0x195597,!0x0);}return this['_lastFrom']=_0x3c58a4,this['_lastTo']=_0x195597,this['_getState']();}['loadState'](_0x2749bc){this['_reset'](),this['_lastFrom']=_0x2749bc['fromVersion'],this['_lastTo']=_0x2749bc['toVersion'];for(const _0x3fe8d7 in _0x2749bc['diffData']){const _0x527ae4=_0x2749bc['diffData'][_0x3fe8d7]['attachChange'],_0x567414=_0x4fd32e(_0x2749bc['diffData'][_0x3fe8d7]['attributesBefore'])||{},_0x3c43a0=this['_makeModelFromViewString'](_0x2749bc['diffData'][_0x3fe8d7]['deletions']);_0x3c43a0['rootName']=_0x3fe8d7,_0x3c43a0['_isAttached']=!_0x527ae4||!_0x527ae4['isAttached'],_0x3c43a0['isAttached']=()=>_0x3c43a0['_isAttached'],this['_baseRoots']['set'](_0x3fe8d7,_0x3c43a0),this['_baseRootsAttributes']['set'](_0x3fe8d7,_0x567414),_0x527ae4&&this['_touchedRoots']['set'](_0x3fe8d7,_0x527ae4);const _0x3b74c7=this['_makeIdsRoot'](_0x3c43a0);this['_baseIdsRoots']['set'](_0x3fe8d7,_0x3b74c7);for(const [_0xf7e0e0,_0x32137d]of _0x3c43a0['markers']){if(!_0xf7e0e0['startsWith']('revision:'))continue;const _0x2f0913=_0xf7e0e0['split'](':')[0x2];for(const _0x272b08 of _0x32137d['getWalker']({'singleCharacters':!0x0})){const _0x505ca5=this['_getVidAttributeName'](_0x272b08),_0x1b219f='elementEnd'==_0x272b08['type']?_0x272b08['previousPosition']['path']['slice'](0x0,-0x1):_0x272b08['previousPosition']['path'],_0x42b11c=_0x3b74c7['getNodeByPath'](_0x1b219f)['getAttribute'](_0x505ca5);this['_touched']['set'](_0x42b11c,{'userId':_0x2f0913});}}}this['_startingRevisionId']=this['_revisionId'];const _0x38df51=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4d8b9b=>!this['_touched']['has'](_0x4d8b9b));let _0xc48394=0x0;const _0xb45f02=new Map();for(const _0x40c0ab in _0x2749bc['diffData']){const _0xb5fed6=_0x2749bc['diffData'][_0x40c0ab]['attachChange'],_0x25abc4=_0x4fd32e(_0x2749bc['diffData'][_0x40c0ab]['attributesAfter'])||{},_0x18dcff=this['_makeModelFromViewString'](_0x2749bc['diffData'][_0x40c0ab]['insertions']);_0x18dcff['rootName']=_0x40c0ab,_0x18dcff['_isAttached']=!_0xb5fed6||_0xb5fed6['isAttached'],_0x18dcff['isAttached']=()=>_0x18dcff['_isAttached'],this['_diffRoots']['set'](_0x40c0ab,_0x18dcff),this['_diffRootsAttributes']['set'](_0x40c0ab,_0x25abc4);const _0x1e921d=this['_makeIdsRoot'](_0x18dcff,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x40c0ab,_0x1e921d),_0xb45f02['set'](_0x40c0ab,_0x18dcff['isAttached']()?_0x25abc4:{});for(const [_0x289758,_0x324253]of _0x18dcff['markers']){if(!_0x289758['startsWith']('revision:'))continue;const _0xa8004d=_0x289758['split'](':')[0x2];for(const _0x3044f0 of _0x324253['getWalker']({'singleCharacters':!0x0})){const _0x259bf8=this['_getVidAttributeName'](_0x3044f0),_0x2b2010=this['_revisionId']++,_0x333c4f='elementEnd'==_0x3044f0['type']?_0x3044f0['previousPosition']['path']['slice'](0x0,-0x1):_0x3044f0['previousPosition']['path'];_0x1e921d['getNodeByPath'](_0x333c4f)['_setAttribute'](_0x259bf8,_0x2b2010),this['_touched']['set'](_0x2b2010,{'userId':_0xa8004d});}}for(const _0x2652ec of this['editor']['model']['createRangeIn'](_0x18dcff)['getWalker']({'singleCharacters':!0x0})){const _0x2c8812=this['_getVidAttributeName'](_0x2652ec),_0x23e819='elementEnd'==_0x2652ec['type']?_0x2652ec['previousPosition']['path']['slice'](0x0,-0x1):_0x2652ec['previousPosition']['path'],_0x40c1ba=_0x1e921d['getNodeByPath'](_0x23e819);_0x40c1ba['getAttribute'](_0x2c8812)>0x0||_0x40c1ba['_setAttribute'](_0x2c8812,_0x38df51[_0xc48394++]);}for(const [_0x301a8b,_0x13a5bd]of _0x18dcff['markers'])_0x301a8b['startsWith']('revision:')||this['_markers']['set'](_0x301a8b,_0x13a5bd);}const _0x4bf97c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4bf97c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4bf97c,0x1));const _0x31c248=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x31c248),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x31c248,0x1));const _0x3bc0c9=Array['from'](this['_diffRoots'])['map'](([_0x20d8b3,_0x424db1])=>[_0x20d8b3,q(_0x424db1)]);this['_saveMetaData'](this['_lastTo'],_0x3bc0c9,this['_markers'],_0xb45f02);}['_makeModelFromViewString'](_0x5ab517){const _0x42d93a=JSON['parse'](_0x5ab517),_0x56083f=this['editor']['editing']['view']['document'],_0x2936eb=new _0x333809(_0x56083f,_0x42d93a['map'](_0x7edf28=>B(_0x7edf28,this['editor'])));return this['editor']['data']['toModel'](_0x2936eb);}['_saveMetaData'](_0x473da0,_0x592241,_0x1c821c,_0x6bb4db){const _0x44ba66=new Map(_0x592241),_0xd45126=new Map(_0x4fd32e(_0x6bb4db)),_0x87f27c=new Map();for(const [_0x4f9c26,_0x5961ba]of _0x1c821c)_0x87f27c['set'](_0x4f9c26,{'start':_0x5961ba['start']['clone'](),'end':_0x5961ba['end']['clone'](),'rootName':_0x5961ba['root']['rootName']});this['_savedMetaData']['set'](_0x473da0,{'roots':_0x44ba66,'markers':_0x87f27c,'rootsAttributes':_0xd45126});}['_removeMetaData'](_0x784bdb){this['_savedMetaData']['delete'](_0x784bdb);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x503850,_0x86b483=null){let _0x461f8c=null;_0x503850['is']('documentFragment')||(_0x461f8c=new ft(_0x503850['name'],{'vid_start':null===_0x86b483?this['_revisionId']++:_0x86b483++}));const _0x348b2d=[];for(const _0x34dd26 of _0x503850['getChildren']())if(_0x34dd26['is']('element')){_0x348b2d['push'](this['_makeIdsRoot'](_0x34dd26,_0x86b483));const _0x5db0ab=_0x348b2d[_0x348b2d['length']-0x1];null!==_0x86b483&&(_0x86b483=_0x5db0ab['is']('element','$text')?_0x5db0ab['getAttribute']('vid')+0x1:_0x5db0ab['getAttribute']('vid_end')+0x1);}else{for(let _0x52ce6f=0x0;_0x52ce6f<_0x34dd26['offsetSize'];_0x52ce6f++)_0x348b2d['push'](new ft('$text',{'vid':null===_0x86b483?this['_revisionId']++:_0x86b483++}));}if(_0x503850['is']('documentFragment')){const _0x1c992c=G(_0x503850['rootName']);return _0x1c992c['_insertChild'](0x0,_0x348b2d),_0x1c992c;}return _0x461f8c['_setAttribute']('vid_end',null===_0x86b483?this['_revisionId']++:_0x86b483++),_0x461f8c['_insertChild'](0x0,_0x348b2d),_0x461f8c;}['_calculateMetaData'](_0x13b987,_0x3c1b71,_0x5a8e67){this['_reset']();const {roots:_0x43bb76,markers:_0x3fa1b0,rootsAttributes:_0x5429c7}=this['_savedMetaData']['get'](_0x13b987);this['_baseRoots']=new Map(_0x43bb76),this['_baseRootsAttributes']=new Map(_0x4fd32e(_0x5429c7));for(const [_0x3e080b,_0x2d3f54]of this['_baseRoots'])if('$graveyard'!==_0x3e080b&&(this['_diffRoots']['set'](_0x3e080b,q(_0x2d3f54)),this['_diffRootsAttributes']=new Map(_0x4fd32e(_0x5429c7)),_0x5a8e67)){const _0xbafa64=this['_revisionId'];this['_idsRoots']['set'](_0x3e080b,this['_makeIdsRoot'](_0x2d3f54)),this['_baseIdsRoots']['set'](_0x3e080b,this['_makeIdsRoot'](_0x2d3f54,_0xbafa64));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5a8e67&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x58e68c,_0x424308]of _0x3fa1b0){const _0x5ce7f5=this['_baseRoots']['get'](_0x424308['rootName']),_0x204a5e=this['_diffRoots']['get'](_0x424308['rootName']),_0xd9a693=new vt(this['_fixPosition'](_0x424308['start'],_0x5ce7f5),this['_fixPosition'](_0x424308['end'],_0x5ce7f5)),_0x965541=this['_fixRange'](_0xd9a693,_0x204a5e);_0x5ce7f5['markers']['set'](_0x58e68c,_0xd9a693),this['_markers']['set'](_0x58e68c,_0x965541);}this['_applyOperations'](_0x13b987,_0x3c1b71,_0x5a8e67);}['_applyOperations'](_0x4589f6,_0x5c7fd5,_0x144915){for(const _0x10d8c9 of this['source']['getOperations'](_0x4589f6,_0x5c7fd5))this['_handleOperation'](_0x10d8c9,_0x144915);for(const _0x216f0b of this['_diffRoots']['values']())_0x216f0b['markers']['clear']();for(const [_0xb59948,_0x524549]of this['_markers']){this['_diffRoots']['get'](_0x524549['root']['rootName'])['markers']['set'](_0xb59948,_0x524549['clone']());}const _0x491d2d=new Map(),_0x55ca9a=new Map();for(const [_0x6121fd,_0x4fc9aa]of this['_diffRoots'])_0x491d2d['set'](_0x6121fd,q(_0x4fc9aa)),_0x55ca9a['set'](_0x6121fd,this['_diffRootsAttributes']['get'](_0x6121fd));this['_saveMetaData'](_0x5c7fd5,_0x491d2d,this['_markers'],_0x55ca9a);}['_getPreviousFrom'](_0x168f43){const _0x23ce01=Array['from'](this['_savedMetaData']['keys']());_0x23ce01['sort']((_0x61c235,_0x55c049)=>_0x61c235-_0x55c049),_0x23ce01['reverse']();for(const _0x4d5d3b of _0x23ce01)if(_0x4d5d3b<_0x168f43)return _0x4d5d3b;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x466a29,_0x5c0770){const _0x22e7ec=Array['from'](_0x5c0770['markers'])['map'](([_0x14aca1,_0x4ecb59])=>[_0x14aca1,this['_fixRange'](_0x4ecb59,_0x466a29)]);_0x466a29['markers']=new Map(_0x22e7ec);}['_transformMarkers'](_0x31e206){for(const _0x48abbe of this['_markers']['values']()){const _0x664575=_0x48abbe['getTransformedByOperation'](_0x31e206),_0x2ff92e=vt['_createFromRanges'](_0x664575);_0x48abbe['start']=_0x2ff92e['start'],_0x48abbe['end']=_0x2ff92e['end'];}}['_handleOperation'](_0x38176b,_0x424aa6){if('addRoot'==_0x38176b['type']||'detachRoot'==_0x38176b['type'])return void this['_handleRootOperation'](_0x38176b,_0x424aa6);if('insert'==_0x38176b['type']){const _0x45376d=_0x38176b['position']['root']['rootName'];this['_diffRoots']['has'](_0x45376d)||(this['_diffRoots']['set'](_0x45376d,G(_0x45376d,!0x0)),this['_diffRootsAttributes']['set'](_0x45376d,{}),_0x424aa6&&this['_idsRoots']['set'](_0x45376d,G(_0x45376d,!0x0)));}else{if('addRootAttribute'==_0x38176b['type']||'removeRootAttribute'==_0x38176b['type']||'changeRootAttribute'==_0x38176b['type'])return void this['_handleRootAttributeOperation'](_0x38176b);}const _0x501a38=this['_cloneOperation'](_0x38176b,this['_diffRoots']);if('marker'!==_0x38176b['type']&&(_0x501a38['_execute'](),this['_transformMarkers'](_0x501a38)),_0x424aa6)switch(_0x501a38['type']){case'insert':this['_handleInsertOperation'](_0x38176b);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x38176b);break;case'merge':this['_handleMergeOperation'](_0x38176b);break;case'split':this['_handleSplitOperation'](_0x38176b);break;case'marker':this['_handleMarkerOperation'](_0x38176b);}}['_cloneOperation'](_0x4c1740,_0xf21386){const _0x2a6445=_0x4c1740['clone']();return _0x2a6445['_authorId']=_0x4c1740['_authorId'],this['_fixOperation'](_0x2a6445,_0xf21386),_0x2a6445;}['_getBaseVids'](_0x2a1b90){return _0x2a1b90['map'](_0x2d2503=>{const _0x9eb99b=this['_getVidAttributeName'](_0x2d2503);return Number(_0x2d2503['item']['getAttribute'](_0x9eb99b));});}['_generateTape'](_0x2b4363,_0x52f93d){if(_0x2b4363['is']('element','$text'))_0x52f93d['push']({'item':_0x2b4363,'type':'text'});else{_0x2b4363['is']('element')&&_0x52f93d['push']({'item':_0x2b4363,'type':'elementStart'});for(const _0xaa0533 of _0x2b4363['getChildren']())this['_generateTape'](_0xaa0533,_0x52f93d);_0x2b4363['is']('element')&&_0x52f93d['push']({'item':_0x2b4363,'type':'elementEnd'});}return _0x52f93d;}['_getState'](){const _0x6538d=new Map(this['_touched']),_0x45aa98=new Map(_0x6538d),_0xda6452=new Map(),_0x13fd31={'insertions':{},'deletions':{}},_0x5db878={'insertions':{},'deletions':{}},_0x4ee7f5=new Map(),_0x240417=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x240417['delete']('$graveyard');for(const _0x27274d of _0x240417){const _0x38cd91=this['_diffRoots']['get'](_0x27274d)||G(_0x27274d,!0x1),_0x3250a0=this['_baseRoots']['get'](_0x27274d)||G(_0x27274d,!0x1);_0x38cd91['isAttached']()||_0x3250a0['isAttached']()?(_0x13fd31['insertions'][_0x27274d]=q(_0x38cd91),_0x13fd31['deletions'][_0x27274d]=q(_0x3250a0),this['_copyMarkers'](_0x13fd31['deletions'][_0x27274d],_0x3250a0),this['_copyMarkers'](_0x13fd31['insertions'][_0x27274d],_0x38cd91),_0x5db878['insertions'][_0x27274d]=this['_generateTape'](this['_idsRoots']['get'](_0x27274d),[]),_0x5db878['deletions'][_0x27274d]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x27274d)||G(_0x27274d,!0x1),[])):_0x240417['delete'](_0x27274d);}for(const _0x11c0c7 of _0x240417){const _0xb238ea=_0x5db878['insertions'][_0x11c0c7];for(const _0x4d16fc of _0xb238ea){const _0x2f7a67=this['_getVidAttributeName'](_0x4d16fc),_0x1a9712=_0x4d16fc['item']['getAttribute'](_0x2f7a67);_0x45aa98['delete'](_0x1a9712),_0x1a9712>=this['_startingRevisionId']&&_0xda6452['set'](_0x1a9712,_0x6538d['get'](_0x1a9712));}}for(const _0x2b98ab of _0x240417){const _0x18cefe=_0x5db878['insertions'][_0x2b98ab],_0x527217=this['_getBaseVids'](_0x5db878['deletions'][_0x2b98ab]);let _0x11fd7e=0x0;for(const _0x39310c of _0x18cefe){const _0x3ca131=this['_getVidAttributeName'](_0x39310c),_0x8114=_0x39310c['item']['getAttribute'](_0x3ca131);if(!_0xda6452['has'](_0x8114)&&!_0x4ee7f5['has'](_0x8114)){if(_0x45aa98['has'](_0x8114))_0x11fd7e++;else{if(_0x8114!=_0x527217[_0x11fd7e]){const _0x190c62=_0x6538d['get'](_0x8114)||_0x6538d['get'](_0x527217[_0x11fd7e]);for(;_0x8114!=_0x527217[_0x11fd7e];)_0x45aa98['has'](_0x527217[_0x11fd7e])||(_0x4ee7f5['set'](_0x527217[_0x11fd7e],_0x190c62),_0x6538d['set'](_0x527217[_0x11fd7e],_0x190c62)),_0x11fd7e++;}_0x11fd7e++;}}}}for(const _0x341dbd of _0x240417){const _0x24352b=_0x5db878['insertions'][_0x341dbd];for(const _0x156d6b of _0x24352b){const _0x5254f5=this['_getVidAttributeName'](_0x156d6b),_0x2d830b=_0x156d6b['item']['getAttribute'](_0x5254f5);if(_0x4ee7f5['has'](_0x2d830b)){const _0x2c7968=_0x4ee7f5['get'](_0x2d830b);_0x45aa98['has'](_0x2d830b)||_0x45aa98['set'](_0x2d830b,{..._0x2c7968}),_0xda6452['set'](_0x2d830b,{..._0x2c7968});}}}for(const _0x220485 of _0x45aa98['keys']())_0x220485>=this['_startingRevisionId']&&_0x45aa98['delete'](_0x220485);const _0x32abe3=new Map();for(const _0x3223bb of _0x240417){let _0x22a813=_0x5db878['insertions'][_0x3223bb];for(const _0x48cdcb of _0x22a813)if(_0x48cdcb['item']['is']('element','tableCell')){const _0x14f9d2=this['_getVidAttributeName'](_0x48cdcb),_0x122e8c=_0x48cdcb['item']['getAttribute'](_0x14f9d2);if(_0xda6452['has'](_0x122e8c)){const _0x48553b=_0x48cdcb['item']['parent']['parent']['getAttribute']('vid_start'),_0x4235bf=_0x32abe3['get'](_0x48553b)||new Set();_0x4235bf['add'](_0xda6452['get'](_0x122e8c)['userId']),_0x32abe3['set'](_0x48553b,_0x4235bf);}}_0x22a813=_0x5db878['deletions'][_0x3223bb];for(const _0x4a6b2c of _0x22a813)if(_0x4a6b2c['item']['is']('element','tableCell')){const _0x34be0c=this['_getVidAttributeName'](_0x4a6b2c),_0x26c13a=_0x4a6b2c['item']['getAttribute'](_0x34be0c);if(_0x45aa98['has'](_0x26c13a)){const _0x13a324=_0x4a6b2c['item']['parent']['parent']['getAttribute']('vid_start'),_0x4de350=_0x32abe3['get'](_0x13a324)||new Set();_0x4de350['add'](_0x45aa98['get'](_0x26c13a)['userId']),_0x32abe3['set'](_0x13a324,_0x4de350);}}for(const _0x21358a of _0x32abe3['keys']())(_0xda6452['has'](_0x21358a)||_0x45aa98['has'](_0x21358a))&&_0x32abe3['delete'](_0x21358a);}for(const _0x1397b5 of _0x240417){const _0x3164ed=_0x5db878['insertions'][_0x1397b5];let _0x397bb8=null,_0x1aeee7=null;for(const _0x4c75d2 of _0x3164ed){const _0x2072d9=this['_getVidAttributeName'](_0x4c75d2),_0x3f46f8=_0x4c75d2['item']['getAttribute'](_0x2072d9),_0x34cb0c=_0x32abe3['get'](_0x3f46f8);_0x34cb0c&&'elementStart'==_0x4c75d2['type']&&(_0x397bb8=Array['from'](_0x34cb0c)[0x0],_0x1aeee7=_0x4c75d2['item']['getAttribute']('vid_end')),_0x397bb8&&(_0x45aa98['set'](_0x3f46f8,{'userId':_0x397bb8}),_0xda6452['set'](_0x3f46f8,{'userId':_0x397bb8})),_0x3f46f8==_0x1aeee7&&(_0x397bb8=null,_0x1aeee7=null);}}const _0x16113a={},_0x4bc9e5=new Set();for(const _0x39b9bd of _0x240417){const _0x2045a9=_0x13fd31['deletions'][_0x39b9bd],_0x326267=_0x13fd31['insertions'][_0x39b9bd];for(const {userId:_0x4480a9}of this['_touchedMarkers']['values']())null!==_0x4480a9&&_0x4bc9e5['add'](_0x4480a9);for(const {userId:_0x164f2f}of this['_touchedRoots']['values']())null!==_0x164f2f&&_0x4bc9e5['add'](_0x164f2f);this['_markChanges'](_0x326267,_0x5db878['insertions'][_0x39b9bd],_0xda6452,'insertion',_0x4bc9e5),this['_markChanges'](_0x2045a9,_0x5db878['deletions'][_0x39b9bd],_0x45aa98,'deletion',_0x4bc9e5),_0x16113a[_0x39b9bd]={'insertions':this['_prepareViewToSave'](_0x326267),'deletions':this['_prepareViewToSave'](_0x2045a9),'attachChange':this['_touchedRoots']['get'](_0x39b9bd)||null,'attributesBefore':_0x4fd32e(this['_baseRootsAttributes']['get'](_0x39b9bd))||{},'attributesAfter':_0x4fd32e(this['_diffRootsAttributes']['get'](_0x39b9bd))};}return{'diffData':_0x16113a,'authorsIds':Array['from'](_0x4bc9e5)};}['_processRootBeforeSave'](_0x4a3693){for(const [,_0x196de1]of _0x4a3693['markers']){const _0x5dab2f=_0x196de1['start']['getAncestors']()['filter'](_0x353766=>'tableCell'==_0x353766['name']);for(const _0x1ce2b7 of _0x5dab2f)0x1==_0x1ce2b7['childCount']&&_0x1ce2b7['getChild'](0x0)['is']('element','paragraph')&&_0x1ce2b7['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5733f1){this['_processRootBeforeSave'](_0x5733f1);const _0x49cb06=this['editor']['data']['toView'](_0x5733f1,{}),_0x1f69ae=Array['from'](_0x49cb06['getChildren']())['map'](_0x5bc4b6=>this['_getViewJson'](_0x5bc4b6));return JSON['stringify'](_0x1f69ae);}['_getViewJson'](_0x59e4d8){if(_0x59e4d8['is']('$text'))return _0x59e4d8['data'];{const _0x482fd4=_0x59e4d8;return{'type':Object['keys'](T)['find'](_0x5969b8=>_0x59e4d8 instanceof T[_0x5969b8]),'name':_0x482fd4['name'],'attributes':Array['from'](_0x482fd4['getAttributes']()),'children':Array['from'](_0x482fd4['getChildren']())['map'](_0x349315=>this['_getViewJson'](_0x349315))};}}['_markChanges'](_0xd7a69d,_0x263675,_0x584bd1,_0x4a30b,_0x3a2af1){let _0x236ad2=null,_0x2c8d63=null,_0x385a16=0x0;const _0x33f488=this['editor']['model'];for(let _0x46589b=0x0;_0x46589b<_0x263675['length'];_0x46589b++){const _0x3dea29=this['_getVidAttributeName'](_0x263675[_0x46589b]),_0x2bc51c=_0x263675[_0x46589b]['item']['getAttribute'](_0x3dea29),_0x1d7986=_0x584bd1['get'](_0x2bc51c),_0x52eb7f=_0x46589b==_0x263675['length']-0x1;(!_0x236ad2&&_0x1d7986&&(_0x236ad2=_0x1d7986,_0x2c8d63=_0x263675[_0x46589b]),_0x236ad2&&(!_0x1d7986||_0x1d7986['userId']!=_0x236ad2['userId']))&&(_0x516e7a(_0x1d7986,L(_0x2c8d63,_0xd7a69d,_0x33f488),L(_0x263675[_0x46589b],_0xd7a69d,_0x33f488)),_0x236ad2=_0x1d7986||null,_0x2c8d63=_0x1d7986?_0x263675[_0x46589b]:null),_0x236ad2&&_0x52eb7f&&_0x516e7a(_0x1d7986,L(_0x2c8d63,_0xd7a69d,_0x33f488),W(_0x263675[_0x46589b],_0xd7a69d,_0x33f488));}function _0x516e7a(_0x40a033,_0x1be1fb,_0x23dbb5){const _0x4e735c=_0x236ad2['userId'],_0x35e83a='revision:'+_0x4a30b+':'+_0x4e735c+':'+_0x385a16++,_0x13c492=_0x33f488['createRange'](_0x1be1fb,_0x23dbb5);_0xd7a69d['markers']['set'](_0x35e83a,_0x13c492),null!==_0x4e735c&&_0x3a2af1['add'](_0x4e735c);}}['_getVidAttributeName'](_0xf85106){switch(_0xf85106['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2eb09c,_0x66f9bb){_0x2eb09c['baseVersion']=null;for(const _0x524152 in _0x2eb09c){const _0x15355d=_0x2eb09c[_0x524152];if(_0x15355d instanceof gt){const _0x59d90e=_0x66f9bb['get'](_0x15355d['root']['rootName']);_0x2eb09c[_0x524152]=this['_fixPosition'](_0x15355d,_0x59d90e);}if(_0x15355d instanceof vt){const _0x3fed83=_0x66f9bb['get'](_0x15355d['root']['rootName']);_0x2eb09c[_0x524152]=this['_fixRange'](_0x15355d,_0x3fed83);}'root'===_0x524152&&(_0x2eb09c['root']=_0x66f9bb['get'](_0x2eb09c['root']['rootName']));}}['_fixRange'](_0xd72e8f,_0x47c6f0){return this['editor']['model']['createRange'](this['_fixPosition'](_0xd72e8f['start'],_0x47c6f0),this['_fixPosition'](_0xd72e8f['end'],_0x47c6f0));}['_fixPosition'](_0x21479b,_0x298ae5){return this['editor']['model']['createPositionFromPath'](_0x298ae5,_0x21479b['path'],_0x21479b['stickiness']);}['_handleInsertOperation'](_0x4d9a3c){const _0x1ab979=this['_idsRoots']['get'](_0x4d9a3c['position']['root']['rootName']),_0x529de0=this['_fixPosition'](_0x4d9a3c['position'],_0x1ab979),_0xe065c2=null===_0x4d9a3c['_authorId']?null:_0x4d9a3c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a67e6=_0x529de0['parent'],_0x25c51b=this['_revisionId'],_0x14033a=[];for(const _0x3cc566 of _0x4d9a3c['nodes'])if(_0x3cc566['is']('element'))_0x14033a['push'](this['_makeIdsRoot'](_0x3cc566));else{for(let _0x42c28b=0x0;_0x42c28b<_0x3cc566['offsetSize'];_0x42c28b++)_0x14033a['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x125f21=this['_revisionId'];for(let _0x30c65c=_0x25c51b;_0x30c65c<_0x125f21;_0x30c65c++)this['_touched']['set'](_0x30c65c,{'userId':_0xe065c2});_0x2a67e6['_insertChild'](_0x529de0['offset'],_0x14033a);}['_handleMoveOperation'](_0xfe53eb){(_0xfe53eb=this['_cloneOperation'](_0xfe53eb,this['_idsRoots']))['_execute']();const _0x4df22d=null===_0xfe53eb['_authorId']?null:_0xfe53eb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x364595=_0xfe53eb['getMovedRangeStart'](),_0x5d4eda=_0x364595['parent'],_0x2226fa=_0x364595['offset'];!function _0x48e0ee(_0x2fa0fb,_0x4cc3c9,_0x4a9bc0,_0x2a371d){for(let _0x44bd70=_0x4a9bc0;_0x44bd70<_0x2a371d;_0x44bd70++){const _0x41dab5=_0x4cc3c9['getChild'](_0x44bd70);_0x41dab5['is']('element','$text')?_0x2fa0fb['set'](_0x41dab5['getAttribute']('vid'),{'userId':_0x4df22d}):(_0x2fa0fb['set'](_0x41dab5['getAttribute']('vid_start'),{'userId':_0x4df22d}),_0x48e0ee(_0x2fa0fb,_0x41dab5,0x0,_0x41dab5['childCount']),_0x2fa0fb['set'](_0x41dab5['getAttribute']('vid_end'),{'userId':_0x4df22d}));}}(this['_touched'],_0x5d4eda,_0x2226fa,_0x2226fa+_0xfe53eb['howMany']);}['_handleMergeOperation'](_0x37687f){const _0x411120=null===(_0x37687f=this['_cloneOperation'](_0x37687f,this['_idsRoots']))['_authorId']?null:_0x37687f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e78ff=_0x37687f['targetPosition']['parent'],_0x5d6d2a=_0x37687f['sourcePosition']['parent'],_0x37499f=_0x5e78ff['getAttribute']('vid_end'),_0x139ef6=_0x5d6d2a['getAttribute']('vid_start');_0x5e78ff['_setAttribute']('vid_end',_0x5d6d2a['getAttribute']('vid_end')),_0x5d6d2a['_setAttribute']('vid_end',_0x37499f),this['_touched']['set'](_0x139ef6,{'userId':_0x411120}),this['_touched']['set'](_0x37499f,{'userId':_0x411120}),_0x37687f['_execute']();}['_handleSplitOperation'](_0x335b4f){const _0x3fe451=null===(_0x335b4f=this['_cloneOperation'](_0x335b4f,this['_idsRoots']))['_authorId']?null:_0x335b4f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e8c07=_0x335b4f['graveyardPosition'],_0x733cbd=_0x335b4f['splitPosition']['parent'];_0x335b4f['_execute']();const _0x1a8238=_0x733cbd['getAttribute']('vid_end'),_0x3aca26=_0x335b4f['insertionPosition']['nodeAfter'];if(_0x1e8c07){const _0x583fcd=_0x3aca26['getAttribute']('vid_end'),_0x2e7b09=_0x733cbd['getAttribute']('vid_end');_0x733cbd['_setAttribute']('vid_end',_0x583fcd),_0x3aca26['_setAttribute']('vid_end',_0x2e7b09),this['_touched']['set'](_0x733cbd['getAttribute']('vid_end'),{'userId':_0x3fe451}),this['_touched']['set'](_0x3aca26['getAttribute']('vid_start'),{'userId':_0x3fe451});}else{const _0x4ce646=this['_revisionId']++,_0x57abac=this['_revisionId']++;_0x733cbd['_setAttribute']('vid_end',_0x4ce646),_0x3aca26['_setAttribute']('vid_start',_0x57abac),_0x3aca26['_setAttribute']('vid_end',_0x1a8238),this['_touched']['set'](_0x4ce646,{'userId':_0x3fe451}),this['_touched']['set'](_0x57abac,{'userId':_0x3fe451});}}['_handleMarkerOperation'](_0x46c627){if(!_0x46c627['affectsData'])return;const _0x551500=(_0x46c627=this['_cloneOperation'](_0x46c627,this['_diffRoots']))['oldRange']?_0x46c627['oldRange']['root']:null,_0x4455a7=_0x46c627['newRange']?_0x46c627['newRange']['root']:null;_0x551500&&this['_markers']['delete'](_0x46c627['name']),_0x4455a7&&this['_markers']['set'](_0x46c627['name'],_0x46c627['newRange']['clone']());const _0x3d87e8=null===_0x46c627['_authorId']?null:_0x46c627['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x269497=_0x46c627['name'];if(!this['_touchedMarkers']['has'](_0x269497))return void this['_touchedMarkers']['set'](_0x269497,{'range':_0x46c627['oldRange'],'userId':_0x3d87e8});const _0x4a7e93=this['_touchedMarkers']['get'](_0x269497),_0x1fdca1=_0x4a7e93['range'],_0x44ce14=_0x46c627['newRange'];null==_0x1fdca1&&null==_0x44ce14||_0x1fdca1&&_0x44ce14&&_0x1fdca1['isEqual'](_0x44ce14)?this['_touchedMarkers']['delete'](_0x46c627['name']):_0x4a7e93['userId']=_0x3d87e8;}['_handleRootOperation'](_0x288bfa,_0x378ec9){this['_diffRoots']['has'](_0x288bfa['rootName'])?this['_diffRoots']['get'](_0x288bfa['rootName'])['_isAttached']=_0x288bfa['isAdd']:(this['_diffRoots']['set'](_0x288bfa['rootName'],G(_0x288bfa['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x288bfa['rootName'],{}),_0x378ec9&&this['_idsRoots']['set'](_0x288bfa['rootName'],G(_0x288bfa['rootName'],!0x0)));const _0x45afc0=null===_0x288bfa['_authorId']?null:_0x288bfa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c415d=this['_touchedRoots']['get'](_0x288bfa['rootName']);_0x4c415d&&_0x4c415d['userId']===_0x45afc0?this['_touchedRoots']['delete'](_0x288bfa['rootName']):this['_touchedRoots']['set'](_0x288bfa['rootName'],{'userId':_0x45afc0,'isAttached':_0x288bfa['isAdd']});}['_handleRootAttributeOperation'](_0xfa9c01){const _0x5df081=this['_diffRootsAttributes']['get'](_0xfa9c01['root']['rootName']);null===_0xfa9c01['newValue']?delete _0x5df081[_0xfa9c01['key']]:_0x5df081[_0xfa9c01['key']]=_0xfa9c01['newValue'];}}function q(_0x15c5a4){const _0x5c1c04=G(_0x15c5a4['rootName'],_0x15c5a4['isAttached']());for(const _0x3493b8 of _0x15c5a4['getChildren']()){const _0xe3e687=_0x3493b8['_clone'](!0x0);_0x5c1c04['_appendChild'](_0xe3e687);}return _0x5c1c04;}function G(_0x1787da,_0x4e4de2=!0x0){const _0x346e8c=new wt();return _0x346e8c['rootName']=_0x1787da,_0x346e8c['_isAttached']=_0x4e4de2,_0x346e8c['isAttached']=()=>_0x346e8c['_isAttached'],_0x346e8c;}function L(_0x3e5ede,_0x4d152f,_0x4126ea){const _0x35c398='elementEnd'==_0x3e5ede['type']?_0x4126ea['createPositionAt'](_0x3e5ede['item'],'end'):_0x4126ea['createPositionBefore'](_0x3e5ede['item']);return _0x4126ea['createPositionFromPath'](_0x4d152f,_0x35c398['path'],_0x35c398['stickiness']);}function W(_0x3b25cf,_0xc9dbb,_0x111090){const _0x4954b7='elementStart'==_0x3b25cf['type']?_0x111090['createPositionAt'](_0x3b25cf['item'],0x0):_0x111090['createPositionAfter'](_0x3b25cf['item']);return _0x111090['createPositionFromPath'](_0xc9dbb,_0x4954b7['path'],_0x4954b7['stickiness']);}class ns extends _0x11617e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x499e8a,_0xa2e43f){super(_0x499e8a),this['focusTracker']=new _0xbc1773(),this['keystrokes']=new _0x58a2da(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xa2e43f),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x194e33({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x276bfd=_0x187958=>_0x187958['stopPropagation']();this['keystrokes']['set']('arrowright',_0x276bfd),this['keystrokes']['set']('arrowleft',_0x276bfd),this['keystrokes']['set']('arrowup',_0x276bfd),this['keystrokes']['set']('arrowdown',_0x276bfd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x51bbf1){this['revisionNameInputView']['fieldView']['element']['value']=_0x51bbf1['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x34f4c8){const _0x1e8d13=new at(this['locale'],_0x2f092a),_0x482a8d=_0x1e8d13['fieldView'];_0x482a8d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x449914=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x34f4c8&&(_0x449914+='\x20('+y(this['locale'],'optional')+')'),(_0x1e8d13['label']=_0x449914,_0x482a8d['on']('input',()=>{this['revisionNameInputValue']=_0x482a8d['element']['value']['trim']();}),_0x1e8d13);}}class u extends _0x462677{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x13aa3c=this['editor'],_0x9f75ec=_0x13aa3c['plugins']['get']('RevisionTracker');_0x13aa3c['ui']['componentFactory']['add']('revisionHistory',_0x55e7af=>{const _0x59da01=_0x321ef6(_0x55e7af),_0x3672c2=_0x59da01['panelView']['children'],_0x1d9240=new te(_0x55e7af),_0x22394f=new _0x37fa9b(_0x55e7af),_0x12bdfa=new _0x3fc38a(_0x55e7af),_0x3b4b9a=new _0x37fa9b(_0x55e7af),_0x387a8d=new _0x3fc38a(_0x55e7af);return _0x59da01['bind']('isEnabled')['to'](_0x9f75ec,'isReady',_0x9f75ec,'isEnabled',_0x13aa3c,'isReadOnly',(_0x119496,_0x4a82ef,_0x4d388a)=>_0x119496&&_0x4a82ef&&!_0x4d388a),_0x59da01['buttonView']['set']({'icon':_0xea3c15['history'],'label':y(_0x55e7af,'Revision\x20history'),'tooltip':!0x0}),_0x12bdfa['set']({'label':y(_0x55e7af,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x12bdfa['bind']('isEnabled')['to'](_0x9f75ec,'isReady',_0x9f75ec,'isEnabled',_0x13aa3c,'isReadOnly',(_0x34ce3b,_0x5541a6,_0x59b9a2)=>_0x34ce3b&&_0x5541a6&&!_0x59b9a2),_0x12bdfa['on']('execute',()=>this['_showDialog']()),_0x387a8d['set']({'label':y(_0x55e7af,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x387a8d['bind']('isEnabled')['to'](_0x9f75ec,'isReady',_0x13aa3c,'isReadOnly',(_0x31fda4,_0x162a6b)=>_0x31fda4&&!_0x162a6b),_0x387a8d['on']('execute',()=>{_0x13aa3c['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x59da01['isOpen']=!0x1,_0x13aa3c['editing']['view']['focus']();}),_0x22394f['children']['add'](_0x12bdfa),_0x3b4b9a['children']['add'](_0x387a8d),_0x1d9240['role']='menu',_0x1d9240['items']['addMany']([_0x22394f,_0x3b4b9a]),_0x3672c2['add'](_0x1d9240),_0x59da01;}),_0x13aa3c['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x474cd3=this['editor'],_0x1da50b=_0x474cd3['locale'],_0x44163a=new _0x3daedb(_0x1da50b),_0x5cf40a=new _0x4b0ab7(_0x1da50b);_0x44163a['buttonView']['set']({'icon':_0xea3c15['history'],'label':y(_0x1da50b,'Revision\x20history')});const _0x4a96db=new _0x3e308c(_0x1da50b,_0x44163a),_0x50b57e=new _0xcf915e(_0x1da50b);_0x50b57e['set']({'label':y(_0x1da50b,'Save\x20current\x20revision')}),_0x50b57e['delegate']('execute')['to'](_0x44163a),_0x50b57e['on']('execute',()=>{this['_showDialog']();}),_0x4a96db['children']['add'](_0x50b57e),_0x5cf40a['items']['add'](_0x4a96db);const _0x4b5771=new _0x3e308c(_0x1da50b,_0x44163a),_0x4cbbe9=new _0xcf915e(_0x1da50b);return _0x4cbbe9['set']({'label':y(_0x1da50b,'Open\x20revision\x20history')}),_0x4cbbe9['delegate']('execute')['to'](_0x44163a),_0x4cbbe9['on']('execute',()=>{_0x474cd3['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4b5771['children']['add'](_0x4cbbe9),_0x5cf40a['items']['add'](_0x4b5771),_0x44163a['panelView']['children']['add'](_0x5cf40a),_0x44163a;}['_showDialog'](){const _0x2bae4=this['editor'],_0x557f1e=_0x2bae4['locale'],_0xdff79a=_0x2bae4['plugins']['get']('Dialog'),_0x4ffdc0=_0x2bae4['plugins']['get']('RevisionTracker');function _0x54284d(_0xa03a60){_0x2bae4['config']['get']('revisionHistory.requireRevisionName')&&''===_0xa03a60['revisionName']?_0xa03a60['revisionNameInputView']['errorText']=y(_0x557f1e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2bae4['plugins']['get'](l)['saveRevision']({'name':_0xa03a60['revisionName']}),_0xdff79a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x54284d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xdff79a['show']({'id':'revisionSave','title':y(_0x557f1e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2bae4['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0xdff79a['hide']()},{'label':y(_0x2bae4['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x38a861){_0x38a861['bind']('isEnabled')['to'](_0x4ffdc0,'isReady',_0x4ffdc0,'isEnabled',_0x2bae4,'isReadOnly',(_0x2d056c,_0x5624ae,_0x4bb7ac)=>_0x2d056c&&_0x5624ae&&!_0x4bb7ac);},'onExecute':()=>_0x54284d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x46759e=this['editor'],_0x38f303=_0x46759e['locale'];this['_saveRevisionFormView']=new ns(_0x38f303,_0x46759e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x11617e{['changeId'];['_model'];constructor(_0x34c625,_0x19bf83){super(_0x34c625),this['_model']=_0x19bf83,this['changeId']=_0x19bf83['id'];const _0x4b561c=this['bindTemplate'],_0x4e189a=y(_0x34c625,_0x19bf83['data']['isSuggestion']?'Suggested\x20by':'add'==_0x19bf83['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x19bf83['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4b561c['to']('type',_0xda164f=>'ck-revision-change__'+_0xda164f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4e189a}]},{'text':'\x20'+_0x19bf83['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x92358b(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x38e6db){super(),this['id']=_0x38e6db['id']||_0x3f8fcb(),this['author']=_0x38e6db['author'],this['type']=_0x38e6db['type'],this['data']=_0x38e6db['data']||{},this['rootName']=_0x38e6db['rootName'],this['set']('createdAt',_0x38e6db['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x194f87,_0xf592b4){this['newRevisionId']=_0x194f87,this['oldRevisionId']=_0xf592b4,this['changes']=new _0x49389d();}['_setChanges'](_0x3a2e0a){for(const _0x22baa4 of _0x3a2e0a)this['changes']['add'](_0x22baa4);}}const tt={'c':_0x422e4d,'a':_0x60d33c,'e':_0x138d0a,'r':_0x2224cc,'u':_0x563085};class d extends _0x462677{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5931b2,_0x1b6a3f,A];}constructor(_0x56eb25){super(_0x56eb25),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x5e1252,_0x3c971a,_0x2ffbec)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x39510b=>{for(const _0x1c1faa of this['editor']['editing']['view']['document']['roots'])_0x2ffbec?_0x39510b['removeClass']('ck-editor__editable__overlay',_0x1c1faa):_0x39510b['addClass']('ck-editor__editable__overlay',_0x1c1faa);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3c1715=>null!==_0x3c1715),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4e476b,_0xd9e646,_0x18d457)=>_0x4e476b&&_0x18d457?_0xd9e646['changes']['getIndex'](_0x18d457):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x6cc5dd,_0x17d025)=>_0x6cc5dd?_0x17d025['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1b6a3f);}['init'](){const _0x567602=this['editor'],_0x364aac=new yt(_0x567602,{'direction':'backward'}),_0x40e710=new yt(_0x567602,{'direction':'forward'});(_0x567602['commands']['add']('showPreviousChange',_0x364aac),_0x567602['commands']['add']('showNextChange',_0x40e710),_0x567602['commands']['add']('restoreRevision',new bt(_0x567602)),this['on']('change:numberOfChanges',()=>{_0x364aac['refresh'](),_0x40e710['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x567602['enableReadOnlyMode']('revision-viewer'),_0x567602['plugins']['has']('WidgetToolbarRepository'))&&_0x567602['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5c58bf){await this['loadRevisionData'](_0x5c58bf);const _0xf6630d={};for(const _0x493275 in _0x5c58bf['diffData']){if(_0x5c58bf['diffData'][_0x493275]['attachChange']&&!_0x5c58bf['diffData'][_0x493275]['attachChange']['isAttached'])continue;const _0xfaab94=this['_removeRevisionMarkers'](JSON['parse'](_0x5c58bf['diffData'][_0x493275]['insertions'])),_0x33e5b8=this['editor']['editing']['view']['document'],_0x1e6f39=new _0x333809(_0x33e5b8,_0xfaab94['map'](_0x55aa2b=>this['_getViewObj'](_0x55aa2b)));this['editor']['data']['processor']['useFillerType']('marked'),_0xf6630d[_0x493275]=this['editor']['data']['processor']['toData'](_0x1e6f39),this['editor']['data']['processor']['useFillerType']('default');}return _0xf6630d;}async['getRevisionRootsAttributes'](_0x36835d){await this['loadRevisionData'](_0x36835d);const _0x16854c={};for(const _0x1c0257 in _0x36835d['diffData'])_0x36835d['diffData'][_0x1c0257]['attachChange']&&!_0x36835d['diffData'][_0x1c0257]['attachChange']['isAttached']||(_0x16854c[_0x1c0257]=_0x36835d['diffData'][_0x1c0257]['attributesAfter']||{});return _0x16854c;}['_removeRevisionMarkers'](_0x5bd1d7){return(_0x5bd1d7=_0x5bd1d7['filter'](_0x5bf618=>!_0x5bf618['name']||'revision-start'!==_0x5bf618['name']&&'revision-end'!==_0x5bf618['name']))['forEach'](_0x5e490c=>{'string'!=typeof _0x5e490c&&(_0x5e490c['children']=this['_removeRevisionMarkers'](_0x5e490c['children']),_0x5e490c['attributes']=_0x5e490c['attributes']['filter'](_0x28ef68=>!_0x28ef68[0x0]['startsWith']('data-revision-')));}),_0x5bd1d7;}async['compare'](_0x382c8b,_0x483751,_0x26aa60=!0x1){if(!this['isEnabled'])return;const _0x3c8019=this['diff'],_0x5c674a=this['repository'],_0x4d7098='string'==typeof _0x382c8b?_0x5c674a['getRevision'](_0x382c8b):_0x382c8b,_0x30e100='string'==typeof _0x483751?_0x5c674a['getRevision'](_0x483751):_0x483751,_0xe2317f=_0x4d7098['id'],_0x3aac0d=_0x30e100?_0x30e100['id']:null;if(!_0x26aa60&&this['diff']&&this['diff']['newRevisionId']===_0xe2317f&&this['diff']['oldRevisionId']===_0x3aac0d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xe2317f,_0x3aac0d);const _0x582912=this['_getRevisionsRange'](_0x4d7098,_0x30e100,!0x0)['map'](_0x56a927=>this['loadRevisionData'](_0x56a927));return _0x582912['push'](new Promise(_0x404067=>{setTimeout(_0x404067,0x14);})),Promise['all'](_0x582912)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2d4c14=this['_getDiff'](_0xe2317f,_0x3aac0d);for(const _0x4f7226 of _0x2d4c14['changes'])this['_changeIdToChange']['set'](_0x4f7226['id'],_0x4f7226);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3bf110=>{for(const _0x56524b of this['editor']['model']['document']['getRootNames']())_0x3bf110['detachRoot'](_0x56524b);for(const _0x7ee98e of Object['keys'](_0x2d4c14['model'])){const _0x3bd581=_0x3bf110['addRoot'](_0x7ee98e);for(const _0x37eb6a of Object['keys'](_0x2d4c14['attributes'][_0x7ee98e]))_0x3bf110['setAttribute'](_0x37eb6a,_0x2d4c14['attributes'][_0x7ee98e][_0x37eb6a],_0x3bd581);_0x3bf110['insert'](_0x2d4c14['model'][_0x7ee98e],_0x3bd581,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2d4c14['changes'])),this['isReady']=!0x0;})['catch'](_0xf99ec6=>{console['error'](_0xf99ec6),this['_cleanUp'](),_0x3c8019&&(this['diff']=_0x3c8019),this['isReady']=!0x0;});}['addRevisionData'](_0x220a56,_0x30af6a){const _0x54310d=this['repository']['createRevision'](_0x220a56);return _0x54310d['on']('_update',(_0x489d63,_0x34a6dc,_0x135374)=>_0x30af6a(_0x34a6dc,_0x135374,_0x54310d)),this['repository']['addRevision'](_0x54310d),_0x54310d;}['loadRevisionData'](_0x182338){if(!_0x182338||_0x182338['diffData'])return Promise['resolve']();{const _0x59491b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x59491b,'revisionId':_0x182338['id']})['then'](_0x5e9f39=>{_0x182338['_update']({'diffData':_0x5e9f39['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2562c6=>{for(const _0x56b8bb of this['editor']['model']['document']['getRootNames']())_0x2562c6['detachRoot'](_0x56b8bb);});}['_sortAndFilterDiffChanges'](_0x1534d5){const _0xd365bc=[],_0x44806b=new Map();for(const _0x2e582a of this['editor']['model']['document']['getRootNames']()){const _0x3e2438=this['editor']['editing']['view']['getDomRoot'](_0x2e582a);if(!_0x3e2438)continue;const _0x4270fc=_0x3e2438['getClientRects']()['item'](0x0);_0x4270fc&&(_0xd365bc['push'](_0x2e582a),_0x44806b['set'](_0x2e582a,_0x4270fc));}return _0xd365bc['sort']((_0x3adf66,_0x179b25)=>{const _0x18799f=_0x44806b['get'](_0x3adf66),_0xed7ad8=_0x44806b['get'](_0x179b25);return _0x18799f['y']-_0xed7ad8['y']||_0x18799f['x']-_0xed7ad8['x'];}),(_0x1534d5=_0x1534d5['filter'](_0x4fc59c=>_0xd365bc['includes'](_0x4fc59c['rootName'])))['sort']((_0x2fe5f4,_0x2ddfef)=>_0xd365bc['indexOf'](_0x2fe5f4['rootName'])-_0xd365bc['indexOf'](_0x2ddfef['rootName'])),_0x1534d5;}['_makeTape'](_0x3dcb9c){const _0x47d3dd=Array['from'](_0x3dcb9c['markers'])['filter'](([_0x432304,_0x173102])=>_0x432304['startsWith']('revision:')&&!_0x173102['isCollapsed']),_0x44676a=Array['from'](this['editor']['model']['createRangeIn'](_0x3dcb9c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x47d3dd['length'])for(const _0x3e432b of _0x44676a){const [_0x3f69ad,_0x4e19d0]=_0x47d3dd[0x0],[,_0x576713,_0x4efb6f]=_0x3f69ad['split'](':');if(_0x4e19d0['end']['isEqual'](_0x3e432b['nextPosition'])&&_0x47d3dd['shift'](),(_0x3e432b['previousPosition']['isEqual'](_0x4e19d0['start'])||_0x3e432b['previousPosition']['isAfter'](_0x4e19d0['start']))&&('insertion'==_0x576713?_0x3e432b['isAdded']={'userId':_0x4efb6f}:'deletion'==_0x576713&&(_0x3e432b['isRemoved']={'userId':_0x4efb6f})),0x0==_0x47d3dd['length'])break;}return _0x44676a;}['_refreshStartEndIndex'](_0x2cb503){const _0x49a22f=new Map();for(let _0x478c96=0x0;_0x478c96<_0x2cb503['length'];_0x478c96++)'text'===_0x2cb503[_0x478c96]['type']?(_0x2cb503[_0x478c96]['item']['startIndex']=_0x478c96,_0x2cb503[_0x478c96]['item']['endIndex']=_0x478c96):('elementStart'===_0x2cb503[_0x478c96]['type']?_0x2cb503[_0x478c96]['item']['startIndex']=_0x478c96:'elementEnd'===_0x2cb503[_0x478c96]['type']&&(_0x2cb503[_0x478c96]['item']['endIndex']=_0x478c96),_0x49a22f['set'](_0x2cb503[_0x478c96]['id'],_0x478c96));for(const _0x638bc6 of _0x49a22f['values']())'elementStart'===_0x2cb503[_0x638bc6]['type']?_0x2cb503[_0x638bc6]['item']['endIndex']=_0x49a22f['get'](_0x2cb503[_0x638bc6]['pairId']):'elementEnd'===_0x2cb503[_0x638bc6]['type']&&(_0x2cb503[_0x638bc6]['item']['startIndex']=_0x49a22f['get'](_0x2cb503[_0x638bc6]['pairId']));}['_processTape'](_0x4afa46){for(let _0x9fac23=0x0;_0x9fac23<_0x4afa46['length'];_0x9fac23++){if('elementStart'===_0x4afa46[_0x9fac23]['type'])_0x4afa46[_0x9fac23]['item']['startIndex']=_0x9fac23;else{if('elementEnd'===_0x4afa46[_0x9fac23]['type']){_0x4afa46[_0x9fac23]['item']['endIndex']=_0x9fac23;const _0x53b124=_0x4afa46[_0x9fac23]['item']['startIndex'];_0x4afa46[_0x53b124]['pairId']=_0x4afa46[_0x9fac23]['id'],_0x4afa46[_0x9fac23]['pairId']=_0x4afa46[_0x53b124]['id'];}else _0x4afa46[_0x9fac23]['item']['startIndex']=_0x9fac23,_0x4afa46[_0x9fac23]['item']['endIndex']=_0x9fac23,_0x4afa46[_0x9fac23]['pairId']=null;}_0x4afa46[_0x9fac23]['markersStart']||(_0x4afa46[_0x9fac23]['markersStart']=[],_0x4afa46[_0x9fac23]['markersEnd']=[]);}}['_markInsertions'](_0x1b1689,_0x254bd6){const _0xde6e6a=_0x1b1689['filter'](_0x26955b=>!_0x26955b['isAdded']);for(let _0x4899e4=0x0;_0x4899e4<_0x254bd6['length'];_0x4899e4++)_0x254bd6[_0x4899e4]['isAdded']&&(_0xde6e6a[_0x4899e4]['isAdded']=_0x254bd6[_0x4899e4]['isAdded']);}['_makeModelFromViewString'](_0x636357){const _0x51f369=JSON['parse'](_0x636357),_0x44b0bd=this['editor']['editing']['view']['document'],_0x16a072=new _0x333809(_0x44b0bd,_0x51f369['map'](_0x2ffe86=>this['_getViewObj'](_0x2ffe86)));return this['editor']['data']['toModel'](_0x16a072);}['_getViewObj'](_0x4d1fec){const _0x238bf1=this['editor']['editing']['view']['document'];if('string'==typeof _0x4d1fec)return new _0x1c996d(_0x238bf1,_0x4d1fec);{const _0x453b9c=_0x4d1fec['children']['map'](_0x21a6b9=>this['_getViewObj'](_0x21a6b9));return new(tt[_0x4d1fec['type']]||_0x45b4c2)(_0x238bf1,_0x4d1fec['name'],_0x4d1fec['attributes'],_0x453b9c);}}['_getDiff'](_0x54fda0,_0x4a2e4c=null){const _0x2f6a81=this['repository']['getRevision'](_0x54fda0),_0x5ac7a5=_0x4a2e4c?this['repository']['getRevision'](_0x4a2e4c):null,_0x2270ce=this['_getRevisionsRange'](_0x2f6a81,_0x5ac7a5),_0x1afeb2=_0x2270ce[_0x2270ce['length']-0x1],_0x475282=new Map(),_0x4df141={'model':{},'attributes':{},'changes':[]},_0x40b0d3=new Set(),_0x2cce06=new Map();for(let _0x24561a=_0x2270ce['length']-0x1;_0x24561a>=0x0;_0x24561a--){const _0x2830d8=_0x2270ce[_0x24561a];for(const _0x28e8fc of Object['keys'](_0x2830d8['diffData']))if(_0x2830d8['diffData'][_0x28e8fc]['attachChange']){const _0x2f9588=_0x2830d8['diffData'][_0x28e8fc]['attachChange'];_0x2f9588['isAttached']?(_0x40b0d3['add'](_0x28e8fc),_0x2cce06['has'](_0x28e8fc)&&_0x2cce06['get'](_0x28e8fc)['userId']==_0x2f9588['userId']?_0x2cce06['delete'](_0x28e8fc):_0x2cce06['set'](_0x28e8fc,_0x2f9588)):_0x2cce06['has'](_0x28e8fc)?(_0x40b0d3['delete'](_0x28e8fc),_0x2cce06['delete'](_0x28e8fc)):(_0x40b0d3['add'](_0x28e8fc),_0x2cce06['set'](_0x28e8fc,_0x2f9588));}else _0x40b0d3['add'](_0x28e8fc);}for(const _0x51bfd2 of _0x40b0d3){const _0x42ca2=_0x2cce06['has'](_0x51bfd2)&&!_0x2cce06['get'](_0x51bfd2)['isAttached'];let _0x1b9100=_0x42ca2?_0x2270ce['length']-0x1:0x0;const _0x1b3eab=_0x42ca2?-0x1:0x1;for(;_0x2270ce[_0x1b9100];){const _0x5ba5a8=_0x2270ce[_0x1b9100];if(_0x5ba5a8['diffData'][_0x51bfd2]){const _0x5196c=_0x42ca2?_0x5ba5a8['diffData'][_0x51bfd2]['attributesBefore']:_0x5ba5a8['diffData'][_0x51bfd2]['attributesAfter'];_0x4df141['attributes'][_0x51bfd2]=_0x5196c?_0x4fd32e(_0x5196c):{};break;}_0x1b9100+=_0x1b3eab;}}for(const _0x1f474a of _0x2270ce){_0x1f474a['model']={};for(const _0x505aa6 of _0x1f474a['authors'])_0x475282['set'](_0x505aa6['id'],_0x505aa6);for(const _0x272e12 of _0x40b0d3){const _0x2d229e=_0x1f474a['diffData'][_0x272e12]?_0x1f474a['diffData'][_0x272e12]['insertions']:'[]',_0x4b69d2=_0x1f474a['diffData'][_0x272e12]?_0x1f474a['diffData'][_0x272e12]['deletions']:'[]';_0x1f474a['model'][_0x272e12]={'insertions':this['_makeModelFromViewString'](_0x2d229e),'deletions':this['_makeModelFromViewString'](_0x4b69d2)};}}for(const _0x55c675 of _0x40b0d3){let _0x4d49bc=null,_0x4066bf=0x0;const _0x374f13=new Map(Array['from'](_0x2f6a81['model'][_0x55c675]['insertions']['markers'])['filter'](([_0x3cff6a])=>!_0x3cff6a['startsWith']('revision:')));let _0x47b7f3=0x0;for(const _0x5a0992 of _0x2270ce){const _0x1a3a23=this['_makeTape'](_0x5a0992['model'][_0x55c675]['insertions']);_0x5a0992==_0x2f6a81?(_0x4d49bc=_0x1a3a23,_0x4066bf=_0x4d49bc['length'],_0x4d49bc['forEach'](_0x454247=>{_0x454247['id']=_0x47b7f3++;}),this['_processTape'](_0x4d49bc)):this['_markInsertions'](_0x4d49bc,_0x1a3a23);const _0x191957=_0x4d49bc['filter'](_0xc5375a=>!_0xc5375a['isAdded'])['map'](_0x45895b=>_0x45895b['id']);let _0x3a39b0=0x0;const _0x274710=this['_makeTape'](_0x5a0992['model'][_0x55c675]['deletions']);_0x274710['forEach'](_0x56cd8b=>{_0x56cd8b['isRemoved']?_0x56cd8b['id']=_0x4066bf++:_0x56cd8b['id']=_0x191957[_0x3a39b0++];}),this['_processTape'](_0x274710),this['_setDistance'](_0x4d49bc,'isAdded'),this['_setDistance'](_0x274710,'isRemoved'),_0x5a0992==_0x2f6a81&&this['_markMarkers'](_0x4d49bc,_0x374f13),_0x4d49bc=this['_joinTapes'](_0x4d49bc,_0x274710),this['_refreshStartEndIndex'](_0x4d49bc),this['_setDistance'](_0x4d49bc,'isRemoved');}_0x4d49bc=_0x4d49bc['filter'](_0x5c198f=>!(_0x5c198f['isAdded']&&_0x5c198f['isRemoved']));const _0x2c6064=new Map(_0x1afeb2['model'][_0x55c675]['deletions']['markers']),_0x10632c=new Set(_0x374f13['keys']());for(const _0x5dd35f of _0x2c6064['keys']())_0x10632c['delete'](_0x5dd35f);this['_markSuggestions'](_0x4d49bc,_0x10632c),this['_fixObsoleteTags'](_0x4d49bc),_0x4d49bc=this['_removeMissingPairs'](_0x4d49bc),_0x4d49bc=this['_markMismatchedRemovedTags'](_0x4d49bc),_0x4d49bc=this['_removeUnsupportedChanges'](_0x4d49bc);const {root:_0x378c33,changes:_0x4005fb}=this['_makeModelFromTape'](_0x4d49bc,_0x475282,_0x55c675);_0x4df141['model'][_0x55c675]=_0x378c33;const _0x42985b=_0x2cce06['get'](_0x55c675);if(_0x42985b){const _0xec074b=_0x475282['get'](_0x42985b['userId']),_0x1f80c5=new r({'author':_0xec074b,'type':_0x42985b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x55c675});_0x4005fb['unshift'](_0x1f80c5),_0x4df141['attributes'][_0x55c675]['revisionHistoryAttachChange']=_0x1f80c5['id'];}_0x4df141['changes']=_0x4df141['changes']['concat'](_0x4005fb);}return _0x4df141;}['_markMarkers'](_0x52e419,_0x321fbb){for(let _0x5d272a=0x0;_0x5d272a<_0x52e419['length'];_0x5d272a++)for(const [_0x5aced8,_0x1a76ed]of _0x321fbb)_0x1a76ed['start']['isEqual'](_0x52e419[_0x5d272a]['previousPosition'])&&_0x52e419[_0x5d272a]['markersStart']['push'](_0x5aced8),_0x1a76ed['end']['isEqual'](_0x52e419[_0x5d272a]['nextPosition'])&&_0x52e419[_0x5d272a]['markersEnd']['push'](_0x5aced8);}['_joinTapes'](_0x700381,_0x4657da){let _0x41341a=[],_0x565239=0x0,_0x41af0d=0x0;for(;_0x565239<_0x700381['length']||_0x41af0d<_0x4657da['length'];){const _0x2e4e18=_0x700381[_0x565239]||{},_0x48091c=_0x4657da[_0x41af0d]||{};if(_0x2e4e18['id']==_0x48091c['id'])_0x565239++,_0x41af0d++,_0x41341a['push'](_0x2e4e18);else{if(_0x48091c['isRemoved']&&_0x2e4e18['isAdded']){const {commonTape:_0x44c552,iEnd:_0x5582fc,jEnd:_0x20287e}=this['_threeWayMerge'](_0x700381,_0x565239,_0x4657da,_0x41af0d);_0x41341a=_0x41341a['concat'](_0x44c552),_0x565239=_0x5582fc,_0x41af0d=_0x20287e;}else _0x48091c['isRemoved']?(_0x41af0d++,_0x41341a['push'](_0x48091c)):(_0x565239++,_0x41341a['push'](_0x2e4e18));}}return _0x41341a;}['_markSuggestions'](_0x2872f6,_0x259968){const _0x3596cb=[];for(let _0x372fa6=0x0;_0x372fa6<_0x2872f6['length'];_0x372fa6++){for(let _0x23159a=0x0;_0x23159a<_0x2872f6[_0x372fa6]['markersStart']['length'];_0x23159a++){const _0x3ab9da=_0x2872f6[_0x372fa6]['markersStart'][_0x23159a];if(!_0x259968['has'](_0x3ab9da))continue;const {group:_0x4e00f8,type:_0x41fc85,authorId:_0x518279}=_0x5a58cc(_0x3ab9da);'revision-suggestion'!=_0x4e00f8||'insertion'!=_0x41fc85&&'deletion'!=_0x41fc85||(_0x3596cb['unshift']({'type':_0x41fc85,'name':_0x3ab9da,'userId':_0x518279}),_0x2872f6[_0x372fa6]['markersStart']['splice'](_0x23159a,0x1),_0x23159a--);}_0x3964cd(_0x2872f6[_0x372fa6]);for(let _0x50e0a3=0x0;_0x50e0a3<_0x2872f6[_0x372fa6]['markersEnd']['length'];_0x50e0a3++){const _0x1f9aaa=_0x2872f6[_0x372fa6]['markersEnd'][_0x50e0a3];if(!_0x259968['has'](_0x1f9aaa))continue;const {group:_0x16835b,type:_0x8cc61a}=_0x5a58cc(_0x1f9aaa);if('revision-suggestion'!=_0x16835b||'insertion'!=_0x8cc61a&&'deletion'!=_0x8cc61a)continue;_0x2872f6[_0x372fa6]['markersEnd']['splice'](_0x50e0a3,0x1),_0x50e0a3--;const _0x80d6aa=_0x3596cb['findIndex'](_0x4dfdaa=>_0x4dfdaa['name']==_0x1f9aaa);_0x80d6aa>-0x1&&_0x3596cb['splice'](_0x80d6aa,0x1);}}function _0x5a58cc(_0x5e6778){const _0x36049b=_0x5e6778['split'](':');return{'group':_0x36049b[0x0],'type':_0x36049b[0x1],'subType':_0x36049b['length']>=0x5?_0x36049b[0x2]:null,'id':_0x36049b['length']<0x5?_0x36049b[0x2]:_0x36049b[0x3],'authorId':_0x36049b['length']<0x5?_0x36049b[0x3]:_0x36049b[0x4],'markerCount':0x6==_0x36049b['length']?_0x36049b[0x5]:null};}function _0x3964cd(_0x5ccb15){for(let _0x316b64=0x0;_0x316b64<_0x3596cb['length'];_0x316b64++){if(_0x5ccb15['isAdded']&&'insertion'==_0x3596cb[_0x316b64]['type'])return _0x5ccb15['isAddSuggestion']=_0x3596cb[_0x316b64],void delete _0x5ccb15['isAdded'];if(!_0x5ccb15['isAdded']&&!_0x5ccb15['isRemoved']&&'deletion'==_0x3596cb[_0x316b64]['type'])return void(_0x5ccb15['isRemoveSuggestion']=_0x3596cb[_0x316b64]);}}}['_setDistance'](_0x108dd5,_0xd96d92){let _0x314bb4=0x0,_0x5332aa=!0x1;const _0x5dddfe=new Map();for(const _0x387a2f of _0x108dd5)_0x387a2f[_0xd96d92]?_0x5332aa&&(_0x314bb4++,_0x5332aa=!0x1):(_0x314bb4++,_0x5332aa=!0x0),_0x5dddfe['set'](_0x387a2f['id'],_0x314bb4);for(let _0x1f816e=0x0;_0x1f816e<_0x108dd5['length'];_0x1f816e++){if('isRemoved'==_0xd96d92&&_0x108dd5[_0x1f816e]['isAdded']||'isAdded'==_0xd96d92&&_0x108dd5[_0x1f816e]['isRemoved'])continue;if('text'==_0x108dd5[_0x1f816e]['type']){_0x108dd5[_0x1f816e]['distance']=0x0;continue;}const _0x4d9565=_0x5dddfe['get'](_0x108dd5[_0x1f816e]['pairId']),_0x2365de=_0x5dddfe['get'](_0x108dd5[_0x1f816e]['id']);_0x108dd5[_0x1f816e]['distance']=_0x4d9565-_0x2365de;}}['_getRevisionsRange'](_0xe69c75,_0x477ce3,_0x10442b=!0x1){const _0x33b2a7=[];let _0x4b4f27=this['repository']['getIndex'](_0xe69c75),_0x3b2315=this['repository']['getIndex'](_0x477ce3);for(-0x1==_0x3b2315&&(_0x3b2315=this['repository']['_revisions']['length'],_0x10442b=!0x1);_0x4b4f27<_0x3b2315;)_0x33b2a7['push'](this['repository']['getRevision'](_0x4b4f27)),_0x4b4f27++;return _0x10442b&&_0x33b2a7['push'](this['repository']['getRevision'](_0x4b4f27)),_0x33b2a7;}['_threeWayMerge'](_0x30af41,_0x20a61b,_0x3a99c8,_0x38cdfc){const _0x238419=this['editor']['model']['schema'];let _0x296644=_0x20a61b;for(;_0x30af41[_0x296644]&&_0x30af41[_0x296644]['isAdded'];)_0x296644++;let _0x279ca5=_0x38cdfc;for(;_0x3a99c8[_0x279ca5]&&_0x3a99c8[_0x279ca5]['isRemoved'];)_0x279ca5++;_0xc21b30(_0x30af41,_0x20a61b,_0x296644),_0xc21b30(_0x3a99c8,_0x38cdfc,_0x279ca5);const _0x44f522=_0x3a99c8['slice'](_0x38cdfc,_0x279ca5)['concat'](_0x30af41['slice'](_0x20a61b,_0x296644));return _0x44f522['sort']((_0x294fcf,_0x3c2e8e)=>_0x294fcf['side']!=_0x3c2e8e['side']?_0x294fcf['side']-_0x3c2e8e['side']:_0x294fcf['level']!=_0x3c2e8e['level']?_0x294fcf['level']-_0x3c2e8e['level']:_0x294fcf['distance']!=_0x3c2e8e['distance']?_0x3c2e8e['distance']-_0x294fcf['distance']:!!_0x294fcf['isAdded']!=!!_0x3c2e8e['isAdded']?-0x1==_0x294fcf['side']||0x0==_0x294fcf['side']?_0x294fcf['isAdded']?-0x1:0x1:_0x294fcf['isAdded']?0x1:-0x1:_0x294fcf['index']-_0x3c2e8e['index']),{'commonTape':_0x44f522,'iEnd':_0x296644,'jEnd':_0x279ca5};function _0xc21b30(_0x14fb0b,_0x2bfa31,_0x43a5b6){let _0x262827=-0x1,_0x24cc22=Number['POSITIVE_INFINITY'],_0x1d6826=!0x0;for(let _0x5c6bd2=_0x2bfa31;_0x5c6bd2<_0x43a5b6;_0x5c6bd2++)if(_0x238419['isInline'](_0x14fb0b[_0x5c6bd2]['item'])||(_0x1d6826=!0x1),_0x14fb0b[_0x5c6bd2]['item']['startIndex']<_0x2bfa31&&(_0x262827=_0x5c6bd2),_0x14fb0b[_0x5c6bd2]['item']['endIndex']>=_0x43a5b6){_0x24cc22=_0x5c6bd2;break;}_0x1d6826&&(_0x262827=_0x43a5b6-0x1);for(let _0x5d5e9d=_0x2bfa31;_0x5d5e9d<_0x43a5b6;_0x5d5e9d++)_0x14fb0b[_0x5d5e9d]['side']=_0x5d5e9d<=_0x262827?-0x1:_0x5d5e9d<_0x24cc22?0x0:0x1,_0x14fb0b[_0x5d5e9d]['index']=_0x5d5e9d;let _0x51c7c3=0x0;for(let _0x2c61a3=_0x2bfa31;_0x2c61a3<=_0x262827;_0x2c61a3++)0x0==_0x14fb0b[_0x2c61a3]['distance']?_0x14fb0b[_0x2c61a3]['level']=_0x51c7c3:(_0x51c7c3++,_0x14fb0b[_0x2c61a3]['level']=_0x51c7c3,_0x51c7c3++);for(let _0x37bb78=_0x2bfa31;_0x37bb78<_0x43a5b6;_0x37bb78++)0x0==_0x14fb0b[_0x37bb78]['side']&&(_0x14fb0b[_0x37bb78]['level']=_0x51c7c3);_0x51c7c3=0x0;for(let _0x2af6ed=_0x43a5b6-0x1;_0x2af6ed>=_0x24cc22;_0x2af6ed--)0x0==_0x14fb0b[_0x2af6ed]['distance']?_0x14fb0b[_0x2af6ed]['level']=_0x51c7c3:(_0x51c7c3--,_0x14fb0b[_0x2af6ed]['level']=_0x51c7c3,_0x51c7c3--);}}['_fixObsoleteTags'](_0x2e7a79){const _0x26321e=new Map(),_0x3b1e1f=this['editor']['model']['schema'];for(let _0x154700=0x1;_0x154700<_0x2e7a79['length'];_0x154700++){let _0xb5efb0,_0x1f8820,_0x4e1ed2;const _0x53edc9=_0x2e7a79[_0x154700],_0xcc9162=_0x2e7a79[_0x154700-0x1];if('text'==_0x53edc9['type'])continue;if(_0x53edc9['type']!=_0xcc9162['type'])continue;if(!_0x3b1e1f['isBlock'](_0xcc9162['item'])||_0x3b1e1f['isLimit'](_0xcc9162['item']))continue;if(!_0x3b1e1f['isBlock'](_0x53edc9['item'])||_0x3b1e1f['isLimit'](_0x53edc9['item']))continue;if((_0x2e7a79[_0x154700]['isAdded']||_0x2e7a79[_0x154700]['isAddSuggestion'])&&_0x2e7a79[_0x154700-0x1]['isRemoved'])_0xb5efb0=_0x2e7a79[_0x154700],_0x1f8820=_0x2e7a79[_0x154700-0x1],_0x4e1ed2=_0x154700-0x1;else{if(!_0x2e7a79[_0x154700]['isRemoved']||!_0x2e7a79[_0x154700-0x1]['isAdded']&&!_0x2e7a79[_0x154700-0x1]['isAddSuggestion'])continue;_0xb5efb0=_0x2e7a79[_0x154700-0x1],_0x1f8820=_0x2e7a79[_0x154700],_0x4e1ed2=_0x154700;}const _0x31c4e3=_0xb5efb0['level']==_0x1f8820['level'],_0x52a8a6=Math['abs'](_0xb5efb0['level'])<Math['abs'](_0x1f8820['level'])&&0x0==_0x1f8820['distance'];(_0x31c4e3||_0x52a8a6)&&(_0x26321e['set'](_0x1f8820['id'],_0xb5efb0['id']),_0x2e7a79['splice'](_0x4e1ed2,0x1),_0x154700--,_0xb5efb0['isAdded']=!0x1);}for(let _0x58704c=0x0;_0x58704c<_0x2e7a79['length'];_0x58704c++)_0x26321e['has'](_0x2e7a79[_0x58704c]['pairId'])&&(_0x2e7a79[_0x58704c]['pairId']=_0x26321e['get'](_0x2e7a79[_0x58704c]['pairId']));}['_removeMissingPairs'](_0x41b1f9){const _0x5d025f=new Set(_0x41b1f9['map'](_0x3538d4=>_0x3538d4['id']));for(let _0x24ee1d=0x0;_0x24ee1d<_0x41b1f9['length'];_0x24ee1d++)_0x5d025f['has'](_0x41b1f9[_0x24ee1d]['pairId'])||0x0==_0x41b1f9[_0x24ee1d]['distance']||(_0x41b1f9[_0x24ee1d]['isIncorrect']=!0x0);return _0x41b1f9['filter'](_0x1593d3=>!_0x1593d3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x8ea91a){const _0xead020=new Set();for(let _0x18afda=0x0;_0x18afda<_0x8ea91a['length'];_0x18afda++){if(_0xead020['has'](_0x8ea91a[_0x18afda]['id'])&&_0x8ea91a[_0x18afda]['isRemoved']&&(_0x8ea91a[_0x18afda]['isIncorrect']=!0x0),_0x8ea91a[_0x18afda]['isIncorrect'])continue;if(0x0==_0x8ea91a[_0x18afda]['distance'])continue;if('elementStart'!=_0x8ea91a[_0x18afda]['type'])continue;if(null==_0x8ea91a[_0x18afda]['pairId'])continue;let _0x179717=_0x18afda+0x1,_0x990700=0x0;for(;_0x8ea91a[_0x179717]['id']!=_0x8ea91a[_0x18afda]['pairId'];)'elementStart'==_0x8ea91a[_0x179717]['type']?_0x990700++:'elementEnd'==_0x8ea91a[_0x179717]['type']&&_0x990700--,_0x179717++;if(0x0!=_0x990700){if(_0x8ea91a[_0x18afda]['isRemoved'])_0x8ea91a[_0x18afda]['isIncorrect']=!0x0;else{for(;_0x179717!=_0x18afda;)_0x8ea91a[_0x179717]['isRemoved']&&0x0!=_0x8ea91a[_0x179717]['distance']&&(_0x8ea91a[_0x179717]['isIncorrect']=!0x0,_0xead020['add'](_0x8ea91a[_0x179717]['pairId'])),_0x179717--;}}}return _0x8ea91a['filter'](_0x118bcf=>!_0x118bcf['isIncorrect']);}['_removeUnsupportedChanges'](_0x388de0){const _0x45d6b1=this['editor']['model']['schema'];for(let _0x5b4d79=0x0;_0x5b4d79<_0x388de0['length'];_0x5b4d79++){if(!(_0x388de0[_0x5b4d79]['isAdded']||_0x388de0[_0x5b4d79]['isAddSuggestion']||_0x388de0[_0x5b4d79]['isRemoved']||_0x388de0[_0x5b4d79]['isRemoveSuggestion']))continue;if(0x0==_0x388de0[_0x5b4d79]['distance'])continue;const _0x31c5c9=_0x388de0[_0x5b4d79]['item'];_0x45d6b1['isBlock'](_0x31c5c9)||_0x45d6b1['isLimit'](_0x31c5c9)||(_0x388de0[_0x5b4d79]['isAdded']&&delete _0x388de0[_0x5b4d79]['isAdded'],_0x388de0[_0x5b4d79]['isAddSuggestion']&&delete _0x388de0[_0x5b4d79]['isAddSuggestion'],_0x388de0[_0x5b4d79]['isRemoveSuggestion']&&delete _0x388de0[_0x5b4d79]['isRemoveSuggestion'],_0x388de0[_0x5b4d79]['isRemoved']&&(_0x388de0[_0x5b4d79]['isIncorrect']=!0x0));}return _0x388de0['filter'](_0x56cb23=>!_0x56cb23['isIncorrect']);}['_makeModelFromTape'](_0x358eca,_0x41c043,_0x57fa95){const _0x40055d=new wt(),_0x39ab72=[],_0xadf689=new Map(),_0x4d12fe=this['editor']['model'],_0x4d9703=_0x4d12fe['schema'],_0x5a5b25=[_0x40055d],_0x578c0d={},_0x223e8a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5471bd=null;const _0x3b6e04=[0x0];for(let _0x50c0ef=0x0;_0x50c0ef<_0x358eca['length'];_0x50c0ef++){let _0x301b30,_0x3a882a;if('elementStart'===_0x358eca[_0x50c0ef]['type']){_0x301b30=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04);const _0x2be417=new ft(_0x358eca[_0x50c0ef]['item']['name'],_0x358eca[_0x50c0ef]['item']['getAttributes']());_0x5a5b25[0x0]['_appendChild'](_0x2be417),_0x3b6e04['push'](0x0),_0x5a5b25['unshift'](_0x2be417),_0x3a882a=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x5471bd=null;}else{if('elementEnd'===_0x358eca[_0x50c0ef]['type'])_0x5a5b25['shift'](),_0x301b30=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x3b6e04['pop'](),_0x3b6e04[_0x3b6e04['length']-0x1]++,_0x3a882a=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x5471bd=null;else{if(_0x301b30=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04),_0x5471bd&&_0x24867d(_0x5471bd,_0x358eca[_0x50c0ef]['item']))_0x5471bd['_data']+=_0x358eca[_0x50c0ef]['item']['data'];else{const _0x354305=new _t(_0x358eca[_0x50c0ef]['item']['data'],_0x358eca[_0x50c0ef]['item']['getAttributes']());_0x5a5b25[0x0]['_appendChild'](_0x354305),_0x5471bd=_0x354305;}_0x3b6e04[_0x3b6e04['length']-0x1]+=_0x358eca[_0x50c0ef]['item']['offsetSize'],_0x3a882a=_0x4d12fe['createPositionFromPath'](_0x40055d,_0x3b6e04);}}for(const _0xaaa996 of _0x358eca[_0x50c0ef]['markersStart'])_0xadf689['set'](_0xaaa996,{'start':_0x301b30,'end':null});_0xd9a8f0('isRemoveSuggestion',_0x50c0ef,_0x301b30,_0x3a882a),_0xd9a8f0('isAddSuggestion',_0x50c0ef,_0x301b30,_0x3a882a),_0xd9a8f0('isRemoved',_0x50c0ef,_0x301b30,_0x3a882a),_0xd9a8f0('isAdded',_0x50c0ef,_0x301b30,_0x3a882a);for(const _0x2ac1d7 of _0x358eca[_0x50c0ef]['markersEnd']){_0xadf689['get'](_0x2ac1d7)['end']=_0x3a882a;}}for(const [_0x2ca934,_0x336c74]of _0xadf689){const _0x159e2b=this['editor']['model']['createRange'](_0x336c74['start'],_0x336c74['end']);_0x40055d['markers']['set'](_0x2ca934,_0x159e2b);}return _0x39ab72['sort']((_0x132c02,_0x357bd6)=>{const _0x5512ae=_0x40055d['markers']['get']('revision:'+_0x132c02['id']),_0x2c6936=_0x40055d['markers']['get']('revision:'+_0x357bd6['id']);return _0x5512ae['start']['isBefore'](_0x2c6936['start'])?-0x1:_0x5512ae['start']['isAfter'](_0x2c6936['start'])?0x1:_0x5512ae['end']['isBefore'](_0x2c6936['end'])?-0x1:_0x5512ae['end']['isAfter'](_0x2c6936['end'])?0x1:'add'===_0x132c02['type']?-0x1:0x1;}),{'root':_0x40055d,'changes':_0x39ab72};function _0xd9a8f0(_0x471430,_0x23a368,_0x3471a4,_0x326a43){const _0xaa3057=!!_0x358eca[_0x23a368][_0x471430],_0x4118c9=_0xaa3057?_0x358eca[_0x23a368][_0x471430]['userId']:null,_0x5b40c7=_0x23a368===_0x358eca['length']-0x1,_0x5dc4a4=_0x223e8a[_0x471430][0x0],_0x10cff5=_0x4d9703['isObject'](_0x358eca[_0x23a368]['item']);!_0x578c0d[_0x471430]&&_0xaa3057?_0x578c0d[_0x471430]={'start':_0x3471a4,'tapeItem':_0x358eca[_0x23a368],'userId':_0x4118c9,'type':_0x471430}:_0x578c0d[_0x471430]&&!_0xaa3057?(_0x578c0d[_0x471430]['end']=_0x3471a4,_0xfe2cb8(_0x578c0d[_0x471430]),_0x578c0d[_0x471430]=null):_0x578c0d[_0x471430]&&_0xaa3057&&_0x578c0d[_0x471430]['userId']!==_0x4118c9&&(_0x578c0d[_0x471430]['end']=_0x3471a4,_0x5dc4a4&&_0x5dc4a4['userId']===_0x578c0d[_0x471430]['userId']||_0xfe2cb8(_0x578c0d[_0x471430]),_0x578c0d[_0x471430]={'start':_0x3471a4,'tapeItem':_0x358eca[_0x23a368],'userId':_0x4118c9,'type':_0x471430}),_0x578c0d[_0x471430]&&_0x10cff5&&('elementStart'!==_0x358eca[_0x23a368]['type']||_0x5dc4a4&&_0x5dc4a4['userId']===_0x4118c9||_0x223e8a[_0x471430]['unshift']({'userId':_0x4118c9,'object':_0x358eca[_0x23a368]['item'],'change':_0x578c0d[_0x471430]}),'elementEnd'===_0x358eca[_0x23a368]['type']&&_0x5dc4a4&&_0x5dc4a4['object']===_0x358eca[_0x23a368]['item']&&(_0x223e8a[_0x471430]['shift'](),_0x578c0d[_0x471430]=_0x5dc4a4['change'])),_0x578c0d[_0x471430]&&_0x5b40c7&&(_0x578c0d[_0x471430]['end']=_0x326a43,_0xfe2cb8(_0x578c0d[_0x471430]),_0x578c0d[_0x471430]=null);}function _0xfe2cb8({start:_0x4bb28a,end:_0x5c5ff6,tapeItem:_0x3c022e,userId:_0x38b4ee,type:_0xe35f73}){const _0x526d15=_0x3c022e['item'],_0x19832d=_0x4d12fe['schema']['isBlock'](_0x526d15)&&!_0x4d12fe['schema']['isLimit'](_0x526d15),_0x5941c4=_0x4bb28a['nodeAfter']==_0x5c5ff6['parent']&&_0x5c5ff6['isAtStart'];if(_0x19832d&&_0x5941c4)return;const _0x1d159e=_0x4d12fe['createRange'](_0x4bb28a,_0x5c5ff6),_0x14747c=_0x41c043['get'](_0x38b4ee),_0x5f31e2=new r({'author':_0x14747c,'type':'isAdded'==_0xe35f73||'isAddSuggestion'==_0xe35f73?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xe35f73||'isRemoveSuggestion'==_0xe35f73},'createdAt':new Date(),'rootName':_0x57fa95});_0x39ab72['push'](_0x5f31e2),_0x40055d['markers']['set']('revision:'+_0x5f31e2['id'],_0x1d159e);}function _0x24867d(_0x11fbc3,_0x43d2f7){const _0x5cb295=_0x11fbc3['getAttributes'](),_0x28951f=_0x43d2f7['getAttributes']();for(const _0x504c17 of _0x5cb295){if(_0x504c17[0x1]!==_0x43d2f7['getAttribute'](_0x504c17[0x0]))return!0x1;_0x28951f['next']();}return _0x28951f['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x496eea=>{const _0x3f5e0f=_0x496eea['markerName']['split'](':')[0x1],_0x2059a9=this['_getChangeFromId'](_0x3f5e0f);if(!_0x2059a9)return null;const _0x18c38e='add'==_0x2059a9['type']?'insertion':'deletion',_0x2797ee=['ck-suggestion-marker','ck-suggestion-marker-'+_0x18c38e];return _0x2059a9['data']['isSuggestion']&&_0x2797ee['push']('ck-suggestion-marker-'+_0x18c38e+'-new'),this['activeChange']==_0x2059a9&&_0x2797ee['push']('ck-suggestion-marker--active'),{'classes':_0x2797ee,'attributes':{'data-change-id':_0x3f5e0f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x574da2=>{_0x574da2['on']('element:pre',(_0x4fe2d6,_0x53ba39,_0x2faf31)=>{const _0x499598=_0x53ba39['viewItem']['getChild'](0x0);if(!_0x499598||!_0x499598['is']('element','code'))return;if(!_0x2faf31['consumable']['consume'](_0x499598,{'attributes':['vid_start','vid_end']}))return;const _0x427482=_0x53ba39['modelRange']['start']['nodeAfter'];_0x2faf31['writer']['setAttribute']('vid_start',_0x499598['getAttribute']('vid_start'),_0x427482),_0x2faf31['writer']['setAttribute']('vid_end',_0x499598['getAttribute']('vid_end'),_0x427482);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4fba5f=>{_0x4fba5f['on']('element',(_0x2d12ad,_0xebb7f6,_0x2af09c)=>{if(!_0x2af09c['consumable']['consume'](_0xebb7f6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xebb7f6['modelRange']['isCollapsed'])return;const _0x48616f=_0xebb7f6['modelRange']['start']['nodeAfter'];_0x48616f['hasAttribute']('vid_start')||_0x48616f['hasAttribute']('vid')||(_0x2af09c['writer']['setAttribute']('vid_start',_0xebb7f6['viewItem']['getAttribute']('vid_start'),_0x48616f),_0x2af09c['writer']['setAttribute']('vid_end',_0xebb7f6['viewItem']['getAttribute']('vid_end'),_0x48616f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2d41ac=>_0x2d41ac['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x148ce0,[,_0x41d3f3])=>{['vid_start','vid_end','vid']['includes'](_0x41d3f3)&&(_0x148ce0['return']=!0x0,_0x148ce0['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x251614=>{_0x251614['on']('attribute:vid',(_0x4f4c07,_0x10d307,_0x56de69)=>{if('\x20'!=_0x10d307['item']['data']||_0x10d307['item']['parent']['maxOffset']>0x1)return;if(!_0x56de69['consumable']['consume'](_0x10d307['item'],_0x4f4c07['name']))return;const _0x2e329f=_0x56de69['writer'],_0x10ade2=_0x56de69['mapper']['toViewRange'](_0x10d307['range']);_0x2e329f['wrap'](_0x10ade2,_0x2e329f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3c2acb){const _0x3ead1e=_0x3c2acb['plugins']['get']('RevisionViewer');return(_0x16b9c1,_0x392252,_0x14a264)=>{const _0xacfe3f=_0x392252['markerName']['split'](':')[0x1],_0x136249=_0x3ead1e['_getChangeFromId'](_0xacfe3f);if(!_0x136249)return null;const _0x1ccfce='add'==_0x136249['type']?'split':'merge';if(!_0x14a264['consumable']['test'](_0x392252['markerRange'],_0x16b9c1['name']))return;const _0x220d98=_0x392252['markerRange']['getWalker'](),_0x3cd09f=_0x392252['markerRange']['start'],_0x2ad39c=_0x3c2acb['model']['schema'];let _0x2d5cb1=null,_0x367c1b=null,_0x54f68e=!0x1,_0x31a516=!0x1;for(const _0x53ad3b of _0x220d98){const _0x4b4339=_0x53ad3b['item'];_0x54f68e=_0x54f68e||_0x2ad39c['isContent'](_0x4b4339);const _0x29a273=_0x14a264['mapper']['toViewElement'](_0x4b4339);if(_0x29a273&&_0x29a273['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x53ad3b['type']&&(_0x2ad39c['isBlock'](_0x4b4339)&&!_0x2ad39c['isLimit'](_0x4b4339)&&(_0x4b4339['nextSibling']||_0x3cd09f['isAtEnd']?_0x2d5cb1&&_0x2d5cb1['parent']==_0x4b4339||(_0x2d5cb1=_0x4b4339,_0x282320(_0x53ad3b['previousPosition']),_0x31a516=!0x0):_0x367c1b=_0x367c1b||_0x53ad3b['previousPosition']));}function _0x282320(_0x1947a7){const _0x4ab09b=_0x14a264['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1ccfce}),_0x440790=_0x14a264['mapper']['toViewPosition'](_0x1947a7);_0x136249['data']['isSuggestion']&&_0x14a264['writer']['addClass']('ck-suggestion-marker-'+_0x1ccfce+'-new',_0x4ab09b),_0x3ead1e['activeChange']==_0x136249&&_0x14a264['writer']['addClass']('ck-suggestion-marker--active',_0x4ab09b),_0x14a264['writer']['insert'](_0x440790,_0x4ab09b),_0x14a264['mapper']['bindElementToMarker'](_0x4ab09b,_0x392252['markerName']);}_0x54f68e||_0x31a516||!_0x367c1b||_0x282320(_0x367c1b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x465b10,_0x3fc532,_0x194391)=>{const _0x58fcbf=_0x194391['mapper']['markerNameToElements'](_0x3fc532['markerName']);if(_0x58fcbf){for(const _0x39a592 of _0x58fcbf)(_0x39a592['hasClass']('ck-suggestion-marker-split')||_0x39a592['hasClass']('ck-suggestion-marker-merge'))&&(_0x194391['mapper']['unbindElementFromMarkerName'](_0x39a592,_0x3fc532['markerName']),_0x194391['writer']['remove'](_0x39a592));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x7cfd9d,_0x4b67ab,_0x29559b)=>{const _0x45643d=_0x4b67ab['markerName']['split'](':')[0x1],_0x1ce348=this['_getChangeFromId'](_0x45643d);if(!_0x1ce348)return null;const _0x46d5ad='add'==_0x1ce348['type']?'split':'merge';if(_0x29559b['consumable']['test'](_0x4b67ab['markerRange'],_0x7cfd9d['name']))for(const _0x448d6a of _0x4b67ab['markerRange']['getItems']()){if(!_0x448d6a['is']('element','softBreak'))continue;const _0x4a15f8=_0x29559b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x46d5ad}),_0x2a7a9e=_0x29559b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x448d6a));_0x1ce348['data']['isSuggestion']&&_0x29559b['writer']['addClass']('ck-suggestion-marker-'+_0x46d5ad+'-new',_0x4a15f8),this['activeChange']==_0x1ce348&&_0x29559b['writer']['addClass']('ck-suggestion-marker--active',_0x4a15f8),_0x29559b['writer']['insert'](_0x2a7a9e,_0x4a15f8),_0x29559b['mapper']['bindElementToMarker'](_0x4a15f8,_0x4b67ab['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2deb72=>{for(const _0x46ec59 of this['editor']['model']['document']['getRootNames']()){const _0x326216=this['editor']['model']['document']['getRoot'](_0x46ec59),_0x43085b=this['editor']['editing']['view']['document']['getRoot'](_0x46ec59);if(_0x43085b){const _0x4c0bf8=_0x326216['getAttribute']('revisionHistoryAttachChange');if(_0x2deb72['removeAttribute']('data-change-id',_0x43085b),_0x2deb72['removeClass']('ck-revision-history-root-add',_0x43085b),_0x2deb72['removeClass']('ck-revision-history-root-remove',_0x43085b),_0x2deb72['removeClass']('ck-revision-history-root--active',_0x43085b),_0x4c0bf8){const _0x3c30fd=this['_getChangeFromId'](_0x4c0bf8);if(!_0x3c30fd)return null;_0x2deb72['setAttribute']('data-change-id',_0x4c0bf8,_0x43085b),_0x2deb72['addClass']('ck-revision-history-root-'+_0x3c30fd['type'],_0x43085b),this['activeChange']==_0x3c30fd&&_0x2deb72['addClass']('ck-revision-history-root--active',_0x43085b);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x13ca3d=>'revision-comment:'+_0x13ca3d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5efe26=>'revision-suggestion:'+_0x5efe26,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x17d1f2=>({'name':'suggestion:'+_0x17d1f2,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x23ab78=>{const _0x1a1661=_0x23ab78['markerName']['split'](':')[0x1];return'insertion'!=_0x1a1661&&'deletion'!=_0x1a1661?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1a1661]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x56c0c0,_0x452788,_0x149004)=>{const _0x4684b8=_0x149004['mapper']['markerNameToElements'](_0x452788['markerName']);if(_0x4684b8){for(const _0x344f51 of _0x4684b8)_0x344f51['is']('uiElement')&&(_0x149004['mapper']['unbindElementFromMarkerName'](_0x344f51,_0x452788['markerName']),_0x149004['writer']['remove'](_0x344f51));}},{'priority':'high'});}['_getChangeFromId'](_0x4a1a78){return this['_changeIdToChange']['get'](_0x4a1a78);}['_getViewForChange'](_0x53a5bd){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x53a5bd),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x28dbd0,_0x28186c,_0x577c1d,_0x5ea816)=>{_0x5ea816&&this['_balloon']['remove'](_0x5ea816),_0x577c1d&&(this['_balloon']['add']({'view':_0x577c1d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x273b4f=this['editor']['editing'],_0x3a69f7=this['_getChangeFromId'](_0x577c1d['changeId']);let _0x25a161;if(_0x3a69f7['data']['isOnRoot']){const _0x37327c=_0x273b4f['view']['getDomRoot'](_0x3a69f7['rootName']);_0x25a161=Array['from'](_0x37327c['getClientRects']());}else{const _0x479f5f=this['editor']['model']['markers']['get']('revision:'+_0x577c1d['changeId']);_0x25a161=Array['from'](_0x273b4f['mapper']['markerNameToElements'](_0x479f5f['name']))['map'](_0x3f4dff=>_0x273b4f['view']['domConverter']['mapViewToDom'](_0x3f4dff))['map'](_0x206142=>Array['from'](_0x206142['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x25a161[0x0];return _0x25a161['find'](_0xce0a8f=>_0xce0a8f['top']-0x3<=this['_activeViewTarget']['y']&&_0xce0a8f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xce0a8f['left']-0x3<=this['_activeViewTarget']['x']&&_0xce0a8f['right']+0x3>=this['_activeViewTarget']['x'])||_0x25a161[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1245af,_0x2c368e,_0xe0389f,_0x3ace01)=>{this['activeView']=_0xe0389f?this['_getViewForChange'](_0xe0389f):null,this['editor']['model']['change'](()=>{const _0x15672c=this['editor']['editing'];_0x3ace01&&(_0x3ace01['data']['isOnRoot']?_0x15672c['view']['change'](_0x41cc67=>{_0x41cc67['removeClass']('ck-revision-history-root--active',_0x15672c['view']['document']['getRoot'](_0x3ace01['rootName']));}):_0x15672c['reconvertMarker']('revision:'+_0x3ace01['id'])),_0xe0389f&&(_0xe0389f['data']['isOnRoot']?_0x15672c['view']['change'](_0x497ee7=>{_0x497ee7['addClass']('ck-revision-history-root--active',_0x15672c['view']['document']['getRoot'](_0xe0389f['rootName']));}):_0x15672c['reconvertMarker']('revision:'+_0xe0389f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2b1707,_0x2654f6)=>{if(this['activeChange'])return;const _0x5630a9=this['_findChangeIdFromDomTarget'](_0x2654f6['target']),_0x45e9ac=this['_changeIdToChange']['get'](_0x5630a9);_0x45e9ac?(this['_activeViewTarget']={'x':_0x2654f6['domEvent']['x'],'y':_0x2654f6['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x45e9ac)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3253f8,_0x147ce5)=>{const _0x433545=this['_findChangeIdFromDomTarget'](_0x147ce5['target']),_0x197582=this['_changeIdToChange']['get'](_0x433545);_0x197582?(this['_activeViewTarget']={'x':_0x147ce5['domEvent']['x'],'y':_0x147ce5['domEvent']['y']},_0x197582===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x197582):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3e6b83){do{const _0x4f6fbe=_0x3e6b83['getAttribute']('data-change-id');if(_0x4f6fbe)return _0x4f6fbe;_0x3e6b83=_0x3e6b83['parent'];}while(_0x3e6b83);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1f8b75=>{for(const _0x5201ca of this['editor']['model']['markers'])_0x1f8b75['removeMarker'](_0x5201ca);});}}function et(_0x298840,_0x4dd52e){return(_0xe69432,_0x28a620,_0xd09f64)=>{if(!_0xd09f64['consumable']['test'](_0x28a620['markerRange'],_0xe69432['name']))return;const _0x44514f=_0x28a620['markerRange']['getWalker'](),_0x2cb8d9=_0x28a620['markerRange']['start'],_0x5deacf=_0x298840['model']['schema'];let _0x2c0307=null,_0x3efcbf=null,_0x379f21=!0x1,_0x395e87=!0x1;for(const _0x29bbfc of _0x44514f){const _0x51db1a=_0x29bbfc['item'];_0x379f21=_0x379f21||_0x5deacf['isContent'](_0x51db1a);const _0x7d3c0f=_0xd09f64['mapper']['toViewElement'](_0x51db1a);if(_0x7d3c0f&&_0x7d3c0f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x29bbfc['type']&&(_0x5deacf['isBlock'](_0x51db1a)&&!_0x5deacf['isLimit'](_0x51db1a)&&(_0x51db1a['nextSibling']||_0x2cb8d9['isAtEnd']?_0x2c0307&&_0x2c0307['parent']==_0x51db1a||(_0x2c0307=_0x51db1a,_0x3363e5(_0x29bbfc['previousPosition']),_0x395e87=!0x0):_0x3efcbf=_0x3efcbf||_0x29bbfc['previousPosition']));}function _0x3363e5(_0x288eb6){const _0x43025d=_0xd09f64['mapper']['toViewPosition'](_0x288eb6),_0x5c5f64=_0xd09f64['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4dd52e});_0xd09f64['writer']['insert'](_0x43025d,_0x5c5f64),_0xd09f64['mapper']['bindElementToMarker'](_0x5c5f64,_0x28a620['markerName']);}_0x379f21||_0x395e87||!_0x3efcbf||_0x3363e5(_0x3efcbf);};}class bt extends _0x272acf{constructor(_0x1fdbdc){super(_0x1fdbdc);const _0x72f0fb=_0x1fdbdc['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x72f0fb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x72f0fb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x27cc6d=this['editor'],_0x57d8bf=_0x27cc6d['plugins']['get'](d),_0x18e1b5=_0x57d8bf['isReady']?_0x57d8bf['diff']['newRevisionId']:null;_0x27cc6d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18e1b5);}['refresh'](){const {isReady:_0x143999,isEnabled:_0x4625bd}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x143999&&_0x4625bd;}}class yt extends _0x272acf{['_step'];constructor(_0x46f97f,{direction:_0x56030a}){super(_0x46f97f);const _0x4369b9=_0x46f97f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x56030a?0x1:-0x1,this['listenTo'](_0x4369b9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4369b9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4369b9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x44e117=this['editor'],_0x574cdb=_0x44e117['plugins']['get'](d),{isNavigationMode:_0x481c9e,currentChangeNumber:_0x99b279}=_0x574cdb;let _0x4ea402;if(_0x574cdb['activeChange']=_0x481c9e?_0x574cdb['diff']['changes']['get'](_0x99b279+this['_step']):_0x574cdb['diff']['changes']['first'],_0x574cdb['activeChange']['data']['isOnRoot'])_0x4ea402=_0x44e117['editing']['view']['getDomRoot'](_0x574cdb['activeChange']['rootName']);else{const _0x71101a=_0x44e117['model']['markers']['get']('revision:'+_0x574cdb['activeChange']['id']);_0x4ea402=_0x5db210(_0x44e117['editing'],_0x71101a);}_0x201719({'target':_0x4ea402,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x9e12ee,currentChangeNumber:_0x2f7c7f,numberOfChanges:_0x4391e5,isReady:_0xa8cc2d,isEnabled:_0x2be9c8}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2be9c8&&_0xa8cc2d&&_0x4391e5)&&(!_0x9e12ee||(0x1===this['_step']?_0x2f7c7f<_0x4391e5-0x1:_0x2f7c7f>0x0));}}class _i extends _0x11617e{constructor(_0x3fee03){super(_0x3fee03);const _0x458c74=this['bindTemplate'],_0x2608ca=new _0x3fc38a(_0x3fee03),_0x422b45=new _0x3fc38a(_0x3fee03);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x48c453,_0x4c4812)=>_0x48c453&&_0x4c4812>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x7d494d,_0x3263d2,_0x57630d,_0x493b37)=>{if(!_0x7d494d)return y(_0x3fee03,'Loading...');if(!_0x57630d)return y(_0x3fee03,'No\x20changes');const _0x46dbc7=y(_0x3fee03,'NUMBER_OF_CHANGES',_0x57630d);return _0x493b37?y(_0x3fee03,'X_OF_Y_CHANGES',[_0x3263d2+0x1,_0x57630d]):_0x46dbc7;}),_0x2608ca['set']({'label':y(_0x3fee03,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x422b45['set']({'label':y(_0x3fee03,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x2608ca['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x422b45['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2608ca['on']('execute',()=>this['fire']('execute','backward')),_0x422b45['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x458c74['if']('_isStatusLabelVisible','ck-hidden',_0x451733=>!_0x451733)]},'children':[{'text':_0x458c74['to']('isNavigationMode',_0x4e7f63=>_0x4e7f63?y(_0x3fee03,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3fee03,'Total')+':\x20')}]},{'text':_0x458c74['to']('_statusText')}]},new _0x5cf71e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2608ca,_0x422b45]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x462677{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3e60a9=this['editor']['editing']['view'];_0x3e60a9['change'](_0x4dd138=>{for(const _0x216eb6 of _0x3e60a9['document']['roots'])_0x4dd138['addClass'](ce,_0x216eb6);});}['hide'](){const _0x1f2263=this['editor']['editing']['view'];_0x1f2263['change'](_0x260e81=>{for(const _0x4168fc of _0x1f2263['document']['roots'])_0x260e81['removeClass'](ce,_0x4168fc);});}}class R extends _0x462677{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4f7ad7=this['editor'],_0x39b467=_0x4f7ad7['plugins']['get'](d),_0x8c4d87=_0x4f7ad7['plugins']['get'](de);_0x4f7ad7['ui']['componentFactory']['add']('exitToEditing',_0x4143b9=>{const _0xfe789e=new _0x3fc38a(_0x4143b9);return _0xfe789e['set']({'label':y(_0x4143b9,'Back\x20to\x20editing'),'icon':_0xea3c15['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xfe789e,'execute',()=>{_0x4f7ad7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xfe789e;}),_0x4f7ad7['ui']['componentFactory']['add']('restoreRevision',_0x3e8525=>{const _0x2e6fad=new _0x3fc38a(_0x3e8525);return _0x2e6fad['set']({'label':y(_0x3e8525,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2e6fad['bind']('isEnabled')['to'](_0x4f7ad7['commands']['get']('restoreRevision')),this['listenTo'](_0x2e6fad,'execute',()=>_0x4f7ad7['execute']('restoreRevision')),_0x2e6fad;}),_0x4f7ad7['ui']['componentFactory']['add']('changesNavigation',_0x364699=>{const _0x1349e2=new _i(_0x364699),_0x5640b5=_0x4f7ad7['commands']['get']('showPreviousChange'),_0x58fc50=_0x4f7ad7['commands']['get']('showNextChange');return _0x1349e2['bind']('isBackwardNavigationEnabled')['to'](_0x5640b5,'isEnabled'),_0x1349e2['bind']('isForwardNavigationEnabled')['to'](_0x58fc50,'isEnabled'),_0x1349e2['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x39b467),this['listenTo'](_0x1349e2,'execute',(_0x2ab240,_0x47201c)=>{_0x4f7ad7['execute']('forward'===_0x47201c?'showNextChange':'showPreviousChange');}),_0x1349e2;}),_0x8c4d87['show'](),_0x39b467['on']('change:isReady',(_0x57a0a0,_0x416281,_0x133b70)=>{_0x133b70?_0x8c4d87['hide']():_0x8c4d87['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x524798,_0x333211){super(_0x524798,_0x333211);const _0x29e691=this['bindTemplate'];this['set']({'label':y(_0x524798,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x524798,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x29e691['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x33b9e4=this['fieldView']['element'];this['_tooltipString']=_0x33b9e4['scrollWidth']>_0x33b9e4['clientWidth']&&_0x33b9e4['value']||'';}}class ti extends _0x11617e{constructor(_0x3339b4,_0x554d94,_0x21c05e){super(_0x3339b4);const _0x4e6230=new _0x207a75();_0x4e6230['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x308eb9=['ck','ck-revision-history-sidebar__revision-author'];_0x21c05e&&_0x308eb9['push']('ck-revision-history-sidebar__revision-author_creator');const _0x22d1c3=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3339b4,_0x21c05e?'Revision\x20creator':'Revision\x20author')},'children':[_0x4e6230,_0x554d94['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x308eb9},'children':_0x22d1c3});}}function ni(_0xfa516d,_0x3ecf4a){const _0x53435f=_0xfa516d['bindTemplate'],_0x5b0c99=_0xfa516d['locale'],_0x271a53=_0x321ef6(_0x5b0c99);_0x271a53['panelPosition']='sw';const _0x2a0d54=function(_0x5b1ac5,_0x457a45){const _0x314a8f=function(_0x37e88c,_0x5152e2){const _0x3aa5e6=_0x37e88c['locale'],_0x2a2480={'Compare\x20against\x20selected':y(_0x3aa5e6,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3aa5e6,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3aa5e6,'Restore\x20this\x20revision')};return _0x5152e2['map'](_0x452838=>{const _0x58cc2c=_0x2a2480[_0x452838['name']];return _0x58cc2c&&_0x58cc2c!==_0x452838['name']&&(_0x452838['name']=_0x58cc2c),_0x452838;});}(_0x5b1ac5,_0x457a45),_0x485782=new _0x49389d();for(const _0x54d117 of _0x314a8f){const _0x19933b={'type':'button','model':new to({'label':_0x54d117['name'],'class':_0x54d117['class'],'withText':!0x0,'role':'menuitem','_action':_0x54d117['action']})};_0x19933b['model']['bind']('isEnabled')['to'](_0x5b1ac5,'isActionsDropdownOpen',_0xa5f95d=>'function'!=typeof _0x54d117['isEnabled']||(!_0xa5f95d||_0x54d117['isEnabled'](_0x5b1ac5))),_0x485782['add'](_0x19933b);}return _0x485782;}(_0xfa516d,_0x3ecf4a);return _0xfa516d['bind']('isActionsDropdownOpen')['to'](_0x271a53,'isOpen'),_0x271a53['buttonView']['set']({'label':y(_0x5b0c99,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xea3c15['threeVerticalDots']}),_0x271a53['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x53435f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x53435f['to'](_0x49a97a=>_0x49a97a['stopPropagation']())}}),_0x271a53['on']('execute',_0x1db98e=>{_0xfa516d['isReady']&&'function'==typeof _0x1db98e['source']['_action']&&_0x1db98e['source']['_action'](_0xfa516d);}),_0x2be2ce(_0x271a53,_0x2a0d54,{'role':'menu'}),_0x271a53['listenTo'](_0xfa516d,'change:isActionsDropdownOpen',(_0x1f2af4,_0x506445,_0x2dafa8)=>{if(_0x2dafa8)for(const _0x3b482c of _0x271a53['listView']['items']){const _0x3a0709=_0x3b482c['children']['first'],_0x384fb2=_0x3ecf4a['find'](_0x256cfa=>_0x256cfa['action']===_0x3a0709['_action'])['isVisible'];_0x3b482c['isVisible']=void 0x0===_0x384fb2||_0x384fb2(_0xfa516d);}}),_0x271a53;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x2aad72(_0x11617e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x202974,_0x373d02,_0x4d974b,_0xfbc1f4){super(_0x202974);const _0x14c6f4=this['bindTemplate'],_0x520ab9=function(_0x4cae6d,_0x1f94e1){const _0x5564c5=Array['from'](_0x1f94e1['authors'])['filter'](_0x45972d=>_0x45972d!=_0x1f94e1['creator']);return _0x1f94e1['creator']&&_0x5564c5['unshift'](_0x1f94e1['creator']),_0x5564c5['map'](_0x5bd094=>new ti(_0x4cae6d,_0x5bd094,_0x5bd094==_0x1f94e1['creator']));}(_0x202974,_0x373d02);this['id']=_0x373d02['id'],this['_revision']=_0x373d02,this['_requireRevisionName']=_0xfbc1f4,this['bind']('name','createdAt')['to'](_0x373d02),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4de4ca=>{return _0x2def3a=_0x202974['uiLanguage'],(_0x2aa531=_0x4de4ca)['toLocaleDateString'](_0x2def3a,{'month':'long','day':'numeric'})+',\x20'+_0x2aa531['toLocaleTimeString'](_0x2def3a,{'hour':'numeric','minute':'numeric'});var _0x2def3a,_0x2aa531;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x202974,_0x2f092a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x99f9c7=>_0x99f9c7||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x12dff1,_0xa92c9f)=>_0x12dff1&&_0xa92c9f),this['revisionActionsView']=_0x4d974b&&_0x4d974b['length']?ni(this,_0x4d974b):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x14c6f4['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x14c6f4['if']('isEnabled','ck-disabled',_0x1a9eb7=>!_0x1a9eb7),_0x14c6f4['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x14c6f4['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x14c6f4['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':_0x14c6f4['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':_0x520ab9}]},this['revisionActionsView']],'on':{'click':_0x14c6f4['to'](_0x4fc0f2=>{_0x4fc0f2['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1088d9=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1088d9,'change',()=>{this['_requireRevisionName']&&!_0x1088d9['value']||this['fire']('setName',{'id':this['id'],'name':_0x1088d9['value']}),_0x1088d9['value']||(_0x1088d9['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(_0x1e1013,_0x5b2a28){const _0x49ac91=_0xbb1bcf['fromJSDate'](_0x1e1013)['setLocale'](_0x5b2a28),_0x4781c6=_0xbb1bcf['local'](),_0x5c1d7c=_0x4781c6['minus']({'days':0x1})['startOf']('day');let _0x5758e7,_0x313876;return _0x49ac91['hasSame'](_0x4781c6,'day')?(_0x5758e7=_0x49ac91['startOf']('day')['toJSDate'](),_0x313876=_0x49ac91['toRelativeCalendar']()):_0x49ac91['hasSame'](_0x5c1d7c,'day')?(_0x5758e7=_0x5c1d7c['toJSDate'](),_0x313876=_0x49ac91['toRelativeCalendar']()):_0x49ac91['hasSame'](_0x4781c6,'week')?(_0x5758e7=_0x49ac91['startOf']('week')['toJSDate'](),_0x313876=_0x49ac91['weekdayLong']||''):_0x49ac91['hasSame'](_0x4781c6,'year')?(_0x5758e7=_0x49ac91['startOf']('month')['toJSDate'](),_0x313876=_0x49ac91['monthLong']||''):(_0x5758e7=_0x49ac91['startOf']('year')['toJSDate'](),_0x313876=String(_0x49ac91['year'])),{'startDate':_0x5758e7,'localizedPeriodName':_0x313876};}class mi extends _0x11617e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2e15c3,_0x378cce,_0x5644a6,_0x355e54){super(_0x2e15c3);const _0x2c43bb=di(_0x378cce,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x378cce,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5644a6,this['_requireRevisionName']=_0x355e54,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':_0x2c43bb}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x54d483){const _0x4af5bc=new ai(this['locale'],_0x54d483,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4af5bc);}['removeRevision'](_0x1fe6f7){const _0x39b32f=this['revisionViews']['find'](_0x112148=>_0x112148['id']===_0x1fe6f7['id']);this['revisionViews']['remove'](_0x39b32f);}}class as extends _0x11617e{constructor(_0xf6217){super(_0xf6217);const _0x5d6495=new _0x207a75();_0x5d6495['content']=_0xea3c15['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5d6495,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xf6217,'Revision\x20history')]}]});}}class ci extends _0x11617e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x35c7f7,_0x677183,_0x1a45e7,_0x5624ac){super(_0x35c7f7);const _0x1a2ad3=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x677183,this['_revisionActions']=_0x1a45e7,this['_requireRevisionName']=_0x5624ac,this['on']('select',(_0x45b092,_0x1112b9)=>{this['fire']('revisionSelected',_0x1112b9);}),this['on']('setName',(_0x29981b,_0x257f3c)=>{this['fire']('revisionSetName',_0x257f3c);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x35c7f7),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1a2ad3['if']('isEnabled','ck-disabled',_0xf6b0f9=>!_0xf6b0f9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x35adaa of this['_revisions'])this['_addRevision'](_0x35adaa);this['_revisions']['on']('add',(_0x48358d,_0x4b9028)=>{this['_addRevision'](_0x4b9028);}),this['_revisions']['on']('remove',(_0x8a6f71,_0x3065f9)=>{this['_removeRevision'](_0x3065f9);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x52b51d=>_0x52b51d['revisionViews']['map'](_0x2aa976=>_0x2aa976))['flat']();}['selectRevision'](_0x17851d){for(const _0xba08f2 of this['revisionViews'])_0x17851d&&_0x17851d['id']===_0xba08f2['id']?_0xba08f2['select']():_0xba08f2['deselect']();}['highlightRevisions'](_0x451451){for(const _0x22f551 of this['revisionViews'])_0x451451['some'](({id:_0x5833f8})=>_0x5833f8===_0x22f551['id'])?_0x22f551['highlight']():_0x22f551['unhighlight']();}['_addRevision'](_0x189552){const _0x18aa20=di(_0x189552['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1c7def=this['timePeriodViews']['get'](0x0);_0x1c7def&&_0x1c7def['startDate']['getTime']()===_0x18aa20['getTime']()||(_0x1c7def=new mi(this['locale'],_0x18aa20,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1c7def)),_0x1c7def['addRevision'](_0x189552);}['_removeRevision'](_0x4b5b17){const _0x21a471=di(_0x4b5b17['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x21a471)['removeRevision'](_0x4b5b17);}['_getTimePeriodViewByStartDate'](_0x36b0f2){return this['timePeriodViews']['find'](_0x26c16b=>_0x26c16b['startDate']['getTime']()===_0x36b0f2['getTime']());}}class w extends _0x462677{['_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(_0x54a1cf){super(_0x54a1cf),this['_revisionViewer']=_0x54a1cf['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x472d15=this['_revisionsRepository']['_revisions'],_0x279d58=this['_createRevisionActions'](),_0x14b1a2=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x472d15,_0x279d58,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',(_0x3a4d24,_0x26dad0)=>{_0x26dad0['revisionViews']['on']('add',(_0x46e636,_0x1f11f6)=>{_0x1f11f6['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)),_0x14b1a2['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x13e705=this['_revisionsRepository']['getRevision'](0x0);if(_0x13e705){const _0x51e665=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x13e705['id']);this['_revisionViewer']['compare'](_0x13e705,_0x51e665);}}['_handleRevisionSelected'](_0x5f1996,_0xfd04d){const _0x3237a4=this['_revisionsRepository']['getRevision'](_0xfd04d['id']),_0x1116d0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3237a4['id']);this['_revisionViewer']['compare'](_0x3237a4,_0x1116d0);}['_handleRevisionSetName'](_0x2e24fa,_0x196f94){this['_revisionsRepository']['getRevision'](_0x196f94['id'])['setName'](_0x196f94['name']);}['_handleDiffChange'](_0x54e6c1,_0x4abefd,_0x9f1722){const _0x12d3e8=this['_revisionsRepository']['getRevisionsInDiff'](_0x9f1722);_0x12d3e8['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x12d3e8),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x12d3e8[0x0]));}['_createRevisionActions'](){const _0x2c1b55=this['editor'],_0x1858a5=w['availableRevisionActions'],_0x540b9d=_0x2c1b55['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x540b9d['length'])return _0x540b9d['map'](_0x39a9dd=>{const _0x4e007d='string'==typeof _0x39a9dd?Object['assign']({},_0x1858a5[_0x39a9dd]):_0x39a9dd;return _0x4e007d['action']=_0x4e007d['action']['bind'](this,_0x2c1b55),_0x4e007d['isVisible']&&(_0x4e007d['isVisible']=_0x4e007d['isVisible']['bind'](this,_0x2c1b55)),_0x4e007d;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1e6943},_0x35cd32)=>{const _0x4aebd3=_0x1e6943['get'](d),_0x1ca44c=_0x4aebd3['repository'];let _0x55df62=_0x4aebd3['diff']['newRevisionId'],_0x236d31=_0x35cd32['id'];_0x1ca44c['getIndex'](_0x55df62)>_0x1ca44c['getIndex'](_0x236d31)&&([_0x55df62,_0x236d31]=[_0x236d31,_0x55df62]),_0x4aebd3['compare'](_0x55df62,_0x236d31);},'isVisible':({plugins:_0x2d53c4},_0x4c1707)=>{const _0x220ea8=_0x2d53c4['get'](d);return!(_0x220ea8['repository']['getRevisionsInDiff'](_0x220ea8['diff'])['length']>0x2)&&!_0x4c1707['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5e0316,{id:_0x385435})=>{_0x5e0316['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x385435);},'isVisible':({plugins:_0x2fffc8},_0x4c0315)=>!!_0x2fffc8['get'](d)['repository']['getLaterVisibleRevision'](_0x4c0315['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4a6e72},{id:_0x453c48,revisionNameView:_0x5c8acf})=>{const _0x3e36bd=_0x4a6e72['get'](d),_0x47c7a9=_0x3e36bd['repository']['getEarlierVisibleRevision'](_0x453c48);_0x3e36bd['compare'](_0x453c48,_0x47c7a9),_0x5c8acf['focus'](),_0x5c8acf['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x354810,_0x38ddc5){super(_0x354810),this['_view']=_0x38ddc5,this['_toolbarConfig']=ct(_0x354810['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x4bf5ea){const _0x57ffb0=this['editor'],_0x105e50=this['view'],_0x129366=_0x57ffb0['editing']['view'],_0xa0dbdf=_0x105e50['editable'],_0x4e0790=_0x129366['document']['getRoot']();_0xa0dbdf['name']=_0x4e0790['rootName'],_0x105e50['render']();const _0x52209b=_0xa0dbdf['element'];this['setEditableElement'](_0xa0dbdf['name'],_0x52209b),_0x105e50['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x129366['attachDomRoot'](_0x52209b),this['_elementReplacer']['replace'](_0x4bf5ea,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x130956=this['view'],_0x16266c=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x16266c['detachDomRoot'](_0x130956['editable']['name']),_0x130956['destroy']();}['_initToolbar'](){const _0x460c95=this['view'];_0x460c95['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x460c95['stickyPanel']['limiterElement']=_0x460c95['element'],_0x460c95['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3005fd})=>_0x3005fd),_0x460c95['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x460c95['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1d9a85,_0x149c87,_0x1f0958={}){super(_0x1d9a85),this['stickyPanel']=new lt(_0x1d9a85),this['toolbar']=new pt(_0x1d9a85,{'shouldGroupWhenFull':_0x1f0958['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1d9a85,_0x149c87);}['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(_0x5b0042,_0x22a786){super(_0x22a786),this['sourceElement']=_0x5b0042,this['model']['document']['createRoot']();const _0x160ddd=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x160ddd);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4d53bd,_0xc04bb8){const _0xac963b=new this(_0x4d53bd,_0xc04bb8);return await _0xac963b['initPlugins'](),await _0xac963b['ui']['init'](_0x4d53bd),await _0xac963b['data']['init'](_0xac963b['config']['get']('initialData')||''),_0xac963b['fire']('ready'),_0xac963b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x462677{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1d983e){super(_0x1d983e),this['result']='end';}}class H extends _0x462677{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x482da6){if(super(_0x482da6),!this['editor']['config']['get']('revisionHistory'))throw new _0x4a4e27('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x242e82=>this['_showRevisionViewer']({..._0x242e82,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x36a4d3=>this['_closeRevisionViewer'](_0x36a4d3)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3fd8d5=>this['_restoreRevision'](_0x3fd8d5)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3216d0){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3216d0;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1baf82){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1baf82);}['getRevision'](_0x5ad8d0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5ad8d0);}['getRevisions'](_0x57ee4c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x57ee4c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x2375a8=this['editor'],_0x5ede5e=_0x6b97ec(_0x2375a8,p),_0x44fd5=_0x2375a8['plugins']['get']('RevisionTracker'),_0x5505b8=_0x2375a8['plugins']['get']('Users')['users'];return _0x5ede5e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5ede5e['lazyRoots'],(_0x5ede5e['plugins']['push'](k,d,R,class extends _0x462677{static get['requires'](){return[d,'Users'];}['init'](){const _0x52df86=this['editor']['plugins']['get']('Users');for(const _0x5cfbde of _0x5505b8)_0x5cfbde['isAnonymous']||_0x52df86['getUser'](_0x5cfbde['id'])||_0x52df86['addUser'](_0x5cfbde);const _0x58a152=_0x44fd5['repository']['getRevisions']();let _0x1d8fd2=null;const _0x32c513=this['editor']['plugins']['get']('RevisionViewer');_0x32c513['adapter']=_0x44fd5['adapter'],_0x32c513['bind']('isEnabled')['to'](_0x44fd5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2375a8,'isReadOnly',_0x1d5d3b=>!_0x1d5d3b);for(const _0x7ee789 of _0x58a152){const _0x39b08f=null===_0x7ee789['creator'];if(_0x39b08f&&_0x7ee789['toVersion']===_0x7ee789['fromVersion'])continue;const _0x1dc3b2=_0x7ee789['toJSON']();_0x32c513['addRevisionData'](_0x1dc3b2,(_0x217c58,_0x4bfca5,_0x57e683)=>{if(_0x39b08f){if(_0x1d8fd2)_0x1d8fd2['_update'](_0x217c58,_0x4bfca5);else{if(!_0x4bfca5){const _0x2fd7c1=_0x57e683['toJSON']();_0x2fd7c1['id']=_0x3f8fcb(),_0x44fd5['saveRevision'](_0x2fd7c1,_0x57e683['toVersion'])['then'](_0x1ac8f1=>{_0x1d8fd2=_0x1ac8f1;});}}}else _0x7ee789['_update'](_0x217c58,_0x4bfca5);});}}},w),_0x5ede5e);}['_enhanceShowRevisionViewerCallback'](){const _0x5a6c6b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1c74e1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x344988=this['editor']['plugins']['get']('Autosave');await _0x344988['save']();}else await _0x1c74e1['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4a7657=this['editor']['plugins']['get']('Dialog');_0x4a7657['isOpen']&&_0x4a7657['hide']();}const _0x2e61fa=this['_getRevisionViewerEditorConfig']();return _0x5a6c6b(_0x2e61fa)['then'](_0xd91c8=>{return(this['_viewerEditor']=_0xd91c8,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xd91c8;})['catch'](_0x3b91c0=>(console['error'](_0x3b91c0),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x439820=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'](),_0x439820(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x200777=this['editor']['plugins']['get']('Annotations');_0x200777['refreshVisibility'](),_0x200777['refreshPositioning']();}})));}['_showRevisionViewer'](_0xce17c6){const _0x45003e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2127ed=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1b1ac3=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1b1ac3,_0xce17c6)['then'](_0x2e522c=>(_0x2127ed['style']['display']='block',_0x45003e['style']['display']='none',_0x2e522c));}['_closeRevisionViewer'](_0x28303d){const _0x1ebe1c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1ebe1c['style']['display']='',_0x28303d['destroy']();}async['_restoreRevision'](_0xa399b2){const _0x4c5731=this['editor'],_0x5ac4a5=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x553da1=_0x4c5731['plugins']['get']('RevisionTracker'),_0x348c7a=_0x5ac4a5['repository']['getRevision'](_0xa399b2);let _0x23f16e,_0x5c9136,_0x5c2136;try{_0x23f16e=await _0x5ac4a5['getRevisionData'](_0x348c7a),_0x5c9136=await _0x5ac4a5['getRevisionRootsAttributes'](_0x348c7a);}catch(_0x3a73dc){return void console['error'](_0x3a73dc);}_0x4c5731['model']['change'](_0x33e28c=>{for(const _0x32e87a of Array['from'](_0x4c5731['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x33e28c['removeMarker'](_0x32e87a);}),_0x5ac4a5['isReady']=!0x1,_0x4c5731['model']['enqueueChange'](_0x4420d0=>{_0x4420d0['setSelection'](null),_0x4420d0['removeSelectionAttribute'](_0x4c5731['model']['document']['selection']['getAttributeKeys']());const _0x4ce271=Object['keys'](_0x23f16e);for(const _0x1e6e10 of _0x4c5731['model']['document']['roots'])'$graveyard'!=_0x1e6e10['rootName']&&_0x1e6e10['isAttached']()&&!_0x4ce271['includes'](_0x1e6e10['rootName'])&&_0x4420d0['detachRoot'](_0x1e6e10);for(const _0x3cab5f of _0x4ce271){let _0x5bec07=_0x4c5731['model']['document']['getRoot'](_0x3cab5f);_0x5bec07&&_0x5bec07['isAttached']()||(_0x5bec07=_0x4420d0['addRoot'](_0x3cab5f));const _0x365890=_0x5c9136[_0x3cab5f],_0x7c3183=Object['keys'](_0x365890),_0x189df1=_0x23f16e[_0x3cab5f];for(const _0xa9bbc6 of _0x5bec07['getAttributeKeys']())_0x7c3183['includes'](_0xa9bbc6)||_0x4420d0['removeAttribute'](_0xa9bbc6,_0x5bec07);for(const _0x58bdb9 of _0x7c3183)_0x4420d0['setAttribute'](_0x58bdb9,_0x5c9136[_0x3cab5f][_0x58bdb9],_0x5bec07);_0x4420d0['remove'](_0x4420d0['createRangeIn'](_0x5bec07)),_0x4420d0['insert'](_0x4c5731['data']['parse'](_0x189df1,_0x5bec07),_0x5bec07,0x0);}});const _0x5bb014=y(_0x4c5731['locale'],'Restored');if(_0x348c7a['name'])_0x5c2136=-0x1==_0x348c7a['name']['indexOf'](_0x5bb014)?_0x5bb014+':\x20'+_0x348c7a['name']:_0x348c7a['name'];else _0x5c2136=_0x5bb014+':\x20'+(_0x348c7a['createdAt']['toLocaleDateString'](_0x4c5731['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x348c7a['createdAt']['toLocaleTimeString'](_0x4c5731['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x553da1['saveRevision']({'name':_0x5c2136}),_0x5ac4a5['isReady']=!0x0,_0x4c5731['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};
|