@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240713.0 → 0.0.0-nightly-20240714.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
|
-
_0x4217a1(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3e0330){super(),this['id']=_0x3e0330['id']||_0x556e93(),this['creator']=_0x3e0330['creator']||null,this['authors']=_0x3e0330['authors']||[],this['diffData']=_0x3e0330['diffData']||null,this['toVersion']=_0x3e0330['toVersion']||0x0,this['fromVersion']=_0x3e0330['fromVersion']||0x0,this['set']('name',_0x3e0330['name']||''),this['set']('createdAt',_0x3e0330['createdAt']||new Date()),this['set']('attributes',_0x3e0330['attributes']||{});}['setName'](_0xa425c5){this['_update']({'name':_0xa425c5});}['setAttribute'](_0x27eef7,_0x20b5cc){const _0x175961=_0x3b53d0(this['attributes']);_0x3122c5(_0x175961,_0x27eef7,_0x20b5cc),this['_update']({'attributes':_0x175961});}['removeAttribute'](_0x3ae215){const _0x34e7e3=_0x3b53d0(this['attributes']);_0x3a9512(_0x34e7e3,_0x3ae215),this['_update']({'attributes':_0x34e7e3});}['_update'](_0x48fe17,_0x12f209=!0x1){let _0x501038=!0x1;const _0x30d82e={'id':this['id']},_0x47ebe3=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1587c8 of _0x47ebe3){const _0x376214=_0x48fe17[_0x1587c8];void 0x0!==_0x376214&&_0x376214!==this[_0x1587c8]&&(this[_0x1587c8]=_0x376214,_0x30d82e[_0x1587c8]=_0x376214,_0x501038=!0x0);}_0x501038&&(_0x30d82e['authors']&&(_0x30d82e['authorsIds']=_0x30d82e['authors']['map'](_0x3353f4=>_0x3353f4['id']),delete _0x30d82e['authors']),this['fire']('_update',_0x30d82e,_0x12f209));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x439d37=>_0x439d37['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2b45a5{['_revisions'];static get['requires'](){return[_0x109311];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3a6f86){super(_0x3a6f86),this['_revisions']=new _0x4fea06();}['afterInit'](){!function(_0x2da3de){function _0x148362(_0x232c97,_0xe52d4a,_0x3484ac){const _0x383d3f={};_0x383d3f[_0x14753d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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],_0x383d3f[_0x14753d([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 _0x430c9c=new Uint8Array(0x10);for(let _0x394973=0xf;_0x394973>=0x0;--_0x394973)_0x430c9c[_0x394973]=_0x3484ac%0x100,_0x3484ac=parseInt(_0x3484ac/0x100);let _0x1417df=null,_0x512705=0x10;const _0x174ee9=new Uint8Array(_0xe52d4a),_0x519777=[],_0x4bd2a3=[];_0x3a4f8b();for(let _0x4beae8=0x0;_0x4beae8<_0x232c97[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4beae8++)0x10===_0x512705&&(_0x1417df=_0x5a1e11(_0x430c9c),_0x512705=0x0,_0x5d3328(_0x430c9c)),_0x232c97[_0x4beae8]^=_0x1417df[_0x512705++];return _0x232c97;function _0xfa7820(_0x876e5c){const _0x463499=[];for(let _0x7269c5=0x0;_0x7269c5<_0x876e5c[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7269c5+=0x4)_0x463499[_0x14753d([0x70,0x75,0x73,0x68])](_0x876e5c[_0x7269c5]<<0x18|_0x876e5c[_0x7269c5+0x1]<<0x10|_0x876e5c[_0x7269c5+0x2]<<0x8|_0x876e5c[_0x7269c5+0x3]);return _0x463499;}function _0x5d3328(_0xe00683){for(let _0x5ec218=0xf;_0x5ec218>=0x0;_0x5ec218--){if(0xff!==_0xe00683[_0x5ec218]){_0xe00683[_0x5ec218]++;break;}_0xe00683[_0x5ec218]=0x0;}}function _0x5a1e11(_0x32f0ff){const _0x3f8991=_0x519777[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x48b57f=[0x0,0x0,0x0,0x0];let t=_0xfa7820(_0x32f0ff);for(let _0x3a890b=0x0;_0x3a890b<0x4;_0x3a890b++)t[_0x3a890b]^=_0x519777[0x0][_0x3a890b];for(let _0xa80386=0x1;_0xa80386<_0x3f8991;_0xa80386++){for(let _0x5511d9=0x0;_0x5511d9<0x4;_0x5511d9++)_0x48b57f[_0x5511d9]=_0x383d3f[_0x14753d([0x54,0x31])][t[_0x5511d9]>>0x18&0xff]^_0x383d3f[_0x14753d([0x54,0x32])][t[(_0x5511d9+0x1)%0x4]>>0x10&0xff]^_0x383d3f[_0x14753d([0x54,0x33])][t[(_0x5511d9+0x2)%0x4]>>0x8&0xff]^_0x383d3f[_0x14753d([0x54,0x34])][0xff&t[(_0x5511d9+0x3)%0x4]]^_0x519777[_0xa80386][_0x5511d9];t=_0x48b57f[_0x14753d([0x73,0x6c,0x69,0x63,0x65])]();}const _0x21d359=new Uint8Array(0x10);let _0x2d8948;for(let _0x35b4f1=0x0;_0x35b4f1<0x4;_0x35b4f1++)_0x2d8948=_0x519777[_0x3f8991][_0x35b4f1],_0x21d359[0x4*_0x35b4f1]=0xff&(_0x383d3f[_0x14753d([0x53])][t[_0x35b4f1]>>0x18&0xff]^_0x2d8948>>0x18),_0x21d359[0x4*_0x35b4f1+0x1]=0xff&(_0x383d3f[_0x14753d([0x53])][t[(_0x35b4f1+0x1)%0x4]>>0x10&0xff]^_0x2d8948>>0x10),_0x21d359[0x4*_0x35b4f1+0x2]=0xff&(_0x383d3f[_0x14753d([0x53])][t[(_0x35b4f1+0x2)%0x4]>>0x8&0xff]^_0x2d8948>>0x8),_0x21d359[0x4*_0x35b4f1+0x3]=0xff&(_0x383d3f[_0x14753d([0x53])][0xff&t[(_0x35b4f1+0x3)%0x4]]^_0x2d8948);return _0x21d359;}function _0x3a4f8b(){const _0x489b5f=_0x383d3f[_0x14753d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x174ee9[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x406abc=0x0;_0x406abc<=_0x489b5f;_0x406abc++)_0x519777[_0x14753d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4bd2a3[_0x14753d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1ff631=0x4*(_0x489b5f+0x1),_0x413e51=_0x174ee9[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x51f570=_0xfa7820(_0x174ee9);let _0x3acec7;for(let _0x2f44b2=0x0;_0x2f44b2<_0x413e51;_0x2f44b2++)_0x3acec7=_0x2f44b2>>0x2,_0x519777[_0x3acec7][_0x2f44b2%0x4]=_0x51f570[_0x2f44b2],_0x4bd2a3[_0x489b5f-_0x3acec7][_0x2f44b2%0x4]=_0x51f570[_0x2f44b2];let _0x22f204,_0x2d6a4c=0x0,t=_0x413e51;for(;t<_0x1ff631;){_0x22f204=_0x51f570[_0x413e51-0x1],_0x51f570[0x0]^=_0x383d3f[_0x14753d([0x53])][_0x22f204>>0x10&0xff]<<0x18^_0x383d3f[_0x14753d([0x53])][_0x22f204>>0x8&0xff]<<0x10^_0x383d3f[_0x14753d([0x53])][0xff&_0x22f204]<<0x8^_0x383d3f[_0x14753d([0x53])][_0x22f204>>0x18&0xff]^_0x383d3f[_0x14753d([0x72,0x63,0x6f,0x6e])][_0x2d6a4c]<<0x18,_0x2d6a4c+=0x1;for(let _0x5a1dd2=0x1;_0x5a1dd2<_0x413e51/0x2;_0x5a1dd2++)_0x51f570[_0x5a1dd2]^=_0x51f570[_0x5a1dd2-0x1];_0x22f204=_0x51f570[_0x413e51/0x2-0x1],_0x51f570[_0x413e51/0x2]^=_0x383d3f[_0x14753d([0x53])][0xff&_0x22f204]^_0x383d3f[_0x14753d([0x53])][_0x22f204>>0x8&0xff]<<0x8^_0x383d3f[_0x14753d([0x53])][_0x22f204>>0x10&0xff]<<0x10^_0x383d3f[_0x14753d([0x53])][_0x22f204>>0x18&0xff]<<0x18;for(let _0xb5f0fd=_0x413e51/0x2+0x1;_0xb5f0fd<_0x413e51;_0xb5f0fd++)_0x51f570[_0xb5f0fd]^=_0x51f570[_0xb5f0fd-0x1];let _0x5b2f9c,_0x5a0c24,_0x2677ef=0x0;for(;_0x2677ef<_0x413e51&&t<_0x1ff631;)_0x5b2f9c=t>>0x2,_0x5a0c24=t%0x4,_0x519777[_0x5b2f9c][_0x5a0c24]=_0x51f570[_0x2677ef],_0x4bd2a3[_0x489b5f-_0x5b2f9c][_0x5a0c24]=_0x51f570[_0x2677ef++],t++;}for(let _0x554d0d=0x1;_0x554d0d<_0x489b5f;_0x554d0d++)for(let _0x4f7499=0x0;_0x4f7499<0x4;_0x4f7499++)_0x22f204=_0x4bd2a3[_0x554d0d][_0x4f7499],_0x4bd2a3[_0x554d0d][_0x4f7499]=_0x383d3f[_0x14753d([0x55,0x31])][_0x22f204>>0x18&0xff]^_0x383d3f[_0x14753d([0x55,0x32])][_0x22f204>>0x10&0xff]^_0x383d3f[_0x14753d([0x55,0x33])][_0x22f204>>0x8&0xff]^_0x383d3f[_0x14753d([0x55,0x34])][0xff&_0x22f204];}}function _0x14753d(_0x4aaabb){return _0x4aaabb['map'](_0x156eb5=>String['fromCharCode'](_0x156eb5))['join']('');}(_0x2d5355=>{function _0x320679(){const _0x3b843e=[{[_0x14753d([0x69,0x64])]:0x1,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x14753d([0x69,0x64])]:0x2,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([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]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x14753d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x14753d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x14753d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x14753d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x14753d([0x69,0x64])]:0x3,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x14753d([0x69,0x64])]:0x4,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([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]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x14753d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x14753d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x14753d([0x69,0x64])]:0x5,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([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]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}},{[_0x14753d([0x69,0x64])]:0x6,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}},{[_0x14753d([0x69,0x64])]:0x7,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}},{[_0x14753d([0x69,0x64])]:0x8,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([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]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}},{[_0x14753d([0x69,0x64])]:0x9,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x14753d([0x69,0x64])]:0xa,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([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]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([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]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([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]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}},{[_0x14753d([0x69,0x64])]:0xb,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x14753d([0x69,0x64])]:0xc,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x14753d([0x69,0x64])]:0xd,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}},{[_0x14753d([0x69,0x64])]:0xe,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x14753d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([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])},{[_0x14753d([0x69,0x64])]:0xf,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x14753d([0x69,0x64])]:0x10,[_0x14753d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14753d([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14753d([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14753d([0x66,0x67,0x69])]:[0xc]}}];return _0x2e19cb(_0x3b843e),_0x3b843e;function _0x2267d3(_0x17c285){return 0x1<<_0x17c285-0x1;}function _0x2e19cb(_0x3bff3b){_0x3bff3b[_0x14753d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24255e=>{_0x24255e[_0x14753d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2267d3(_0x24255e[_0x14753d([0x69,0x64])]),_0x2cb8c6(_0x24255e)&&_0x24255e[_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2e19cb(_0x24255e[_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2cb8c6(_0x5c901e){return _0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5c901e;}const _0x4d561c=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x56284e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x38662d(_0x1aa1e4){const _0x3d4596=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x123cef(_0x1aa1e4,new Uint8Array([..._0x4d561c,..._0x3d4596,..._0x56284e]));}function _0x123cef(_0x25c63a,_0x4f23cd){const _0xc8abc7=_0x2713f5(_0x25c63a),_0x3cac7d=Array[_0x14753d([0x66,0x72,0x6f,0x6d])](_0x35e57c(_0xc8abc7)),_0x2b0e5b=_0x3cac7d[_0x14753d([0x70,0x6f,0x70])](),_0x455bda=_0x3cac7d[_0x14753d([0x70,0x6f,0x70])]();return _0x5c9598(_0x148362(_0x3cac7d,_0x4f23cd,_0x455bda+0x100*_0x2b0e5b));}function _0x2713f5(_0x3959cb){const _0x111310=atob(_0x3959cb),[_0x389fc7,_0x27f27d]=_0x111310[_0x14753d([0x73,0x70,0x6c,0x69,0x74])](_0x14753d([0x2d]));try{if(atob(_0x27f27d))return atob(_0x389fc7);}catch(_0x26541c){}return _0x111310;}function _0x47b70b(_0x5ad996){try{const _0x216875=_0x38662d(_0x5ad996),_0x270468=JSON[_0x14753d([0x70,0x61,0x72,0x73,0x65])](_0x216875),_0x4c0971=parseInt(_0x270468[_0x14753d([0x31])]),_0x1a34f0=_0x270468[_0x14753d([0x32])]||'',_0x56b563=parseInt(_0x270468[_0x14753d([0x33])]),_0x137431=parseInt(_0x270468[_0x14753d([0x34])])||0x0,_0x2cdee0=parseInt(_0x270468[_0x14753d([0x35])])||0x0;return{[_0x14753d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1a34f0,[_0x14753d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x137431,[_0x14753d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4c0971,[_0x14753d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x56b563,[_0x14753d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x2cdee0};}catch(_0x488244){return null;}}const _0x167c4c=_0x320679(),_0x5e272b={[_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x478cd4,[_0x14753d([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])]:_0x3f0dbc,[_0x14753d([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])]:_0x1dd275},_0x552d20=_0x2d5355[_0x14753d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x22a876=_0x14753d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2d5355?_0x2d5355['context']:_0x2d5355['editor'],_0x2a4c68=_0x14753d([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x36]),_0x40385=_0x14753d([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]),_0x58dfd1=_0x22a876['config']['get'](_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x48f5db=_0x167c4c[_0x14753d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cb8c6)[_0x14753d([0x66,0x69,0x6e,0x64])](_0x4ff3d2=>_0x4ff3d2[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x552d20);function _0x1ceeab(_0x43f597,_0x169c4e){_0x5e272b[_0x169c4e[_0x14753d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x43f597,_0x169c4e),_0x169c4e[_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x169c4e[_0x14753d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x14753d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e60d8=>_0x363eaa(_0x22a876,_0x5e60d8[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x14753d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f4e18=>_0x1ceeab(_0x43f597,_0x5f4e18));}function _0x478cd4(_0x3469b6,_0x19a41e){_0x358eb5(_0x305f33(_0x3469b6,_0x19a41e),_0x19a41e);}function _0x3f0dbc(_0x58f819,_0x1ac5c4){function _0x3f33c4(_0x39aa1e,_0x38f508){try{if(_0x363eaa(_0x22a876,_0x14753d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x39aa1e){const _0x303fa7=_0x20b6c7(_0x22a876,_0x14753d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x14753d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x303fa7)/0x2>_0x39aa1e[_0x14753d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x14a046(_0x38f508[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x305f33(_0x39aa1e,_0x38f508);}catch(_0x1f8741){return _0x14a046(_0x38f508[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x358eb5(_0x3f33c4(_0x58f819,_0x1ac5c4),_0x1ac5c4);}function _0x1dd275(_0x3d2a5a,_0x4aff26){const _0x585bdc=_0x56284e[0x0]*_0x4d561c[0x1],_0x442634=_0x56284e[0x0]*_0x4d561c[0x2],_0x11ed06=_0x56284e[0x2]*_0x4d561c[0x2];_0x363eaa(_0x22a876,_0x14753d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x20b6c7(_0x22a876,_0x14753d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x14753d([0x73,0x74,0x61,0x74,0x65])]==_0x14753d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2e09ed()]=_0x11ed06);function _0x2c0817(_0x2a63c6,_0xed0e11){try{return _0x37bdaf()?_0x14a046(_0xed0e11[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x56,0x61,0x6c,0x69,0x64])):_0x305f33(_0x2a63c6,_0xed0e11);}catch(_0x5da99a){return _0x14a046(_0xed0e11[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1748fe(_0x341226,_0x16dbbe){const _0x15d790=0x7;if(_0x341226==_0x16dbbe[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1c7be1();else{if(_0x341226==_0x16dbbe[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c])){const _0x1af043=_0x471d37();_0x1af043&&_0xf1db05(_0x1af043,_0x16dbbe[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x448087=_0x57f93d();window[_0x14753d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xf1db05(_0x14753d([0x74,0x69,0x6d,0x65]),_0x16dbbe[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x448087);const _0x9723d4=_0x20b6c7(_0x22a876,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x14753d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x9723d4[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x15d790?_0xf1db05(_0x14753d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x16dbbe[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x9723d4['on'](_0x14753d([0x61,0x64,0x64]),()=>{_0x9723d4[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x15d790&&_0xf1db05(_0x14753d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x16dbbe[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x471d37(){if(!_0x363eaa(_0x22a876,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4923cc in window)if(Number['isNaN'](Number(_0x4923cc))){if(window[_0x4923cc]===_0x585bdc)return _0x14753d([0x74,0x69,0x6d,0x65]);if(window[_0x4923cc]===_0x442634)return _0x14753d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x37bdaf(){if(!_0x363eaa(_0x22a876,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4532e4 in window)if(Number['isNaN'](Number(_0x4532e4))&&window[_0x4532e4]===_0x11ed06)return!0x0;return!0x1;}function _0xf1db05(_0x505e3b,_0x5cc5e1){_0x1c7be1(),_0x14a046(_0x5cc5e1+_0x14753d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x505e3b),window[_0x2e09ed()]=_0x505e3b===_0x14753d([0x74,0x69,0x6d,0x65])?_0x585bdc:_0x442634;}function _0x57f93d(){let _0x5e67e7=_0x56284e[0x6]*_0x4d561c[0x8]*_0x4d561c[0x6];return _0x363eaa(_0x22a876,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5e67e7/=0xa),_0x5e67e7;}function _0x1c7be1(){const _0x5cdf7e=_0x22a876;function _0x481bc1(){_0x363eaa(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14753d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x14753d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14753d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14753d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3fde5f,_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14753d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3fde5f,_0x5cdf7e[_0x14753d([0x6d,0x6f,0x64,0x65,0x6c])][_0x14753d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fde5f,_0x5cdf7e[_0x14753d([0x6d,0x6f,0x64,0x65,0x6c])][_0x14753d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fde5f,_0x5cdf7e[_0x14753d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14753d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x363eaa(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14753d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x14753d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14753d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14753d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3fde5f,_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14753d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3fde5f);}_0x5cdf7e[_0x14753d([0x73,0x74,0x61,0x74,0x65])]==_0x14753d([0x72,0x65,0x61,0x64,0x79])?_0x481bc1():_0x5cdf7e[_0x14753d([0x6f,0x6e,0x63,0x65])](_0x14753d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x363eaa(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x481bc1(),_0x363eaa(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4bc25c=_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5d10db=_0x4bc25c['getRevision'](0x0),_0x1dab5e=_0x4bc25c['getEarlierVisibleRevision'](_0x5d10db[_0x14753d([0x69,0x64])]);_0x20b6c7(_0x5cdf7e,_0x14753d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14753d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5d10db[_0x14753d([0x69,0x64])],_0x1dab5e?_0x1dab5e[_0x14753d([0x69,0x64])]:null,0x1)['then'](()=>_0x481bc1());}});}_0x1748fe(_0x2c0817(_0x3d2a5a,_0x4aff26),_0x4aff26);}function _0x305f33(_0x566996,_0x407635){try{return _0x268cd1(_0x407635)?_0x14a046(_0x407635[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x56,0x61,0x6c,0x69,0x64])):_0x566996&&_0x42cac4(_0x566996[_0x14753d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x407635)?_0x566996[_0x14753d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x14753d([0x6f,0x70,0x65,0x6e])][_0x14753d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2a4c68)/0x2>_0x566996[_0x14753d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x14a046(_0x407635[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x566996[_0x14753d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x14a046(_0x407635[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c])):_0x14a046(_0x407635[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x56,0x61,0x6c,0x69,0x64])):_0x14a046(_0x407635[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1bfea7){return _0x14a046(_0x407635[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x358eb5(_0x359515,_0x3c8b04){if(_0x22a876 instanceof _0x21d39c){const _0xbeaeff=_0x22a876;_0x359515==_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x28535d(_0xbeaeff):_0x359515==_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x14753d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x28535d(_0xbeaeff),_0x14a046(_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x56284e[0x6]*_0x4d561c[0x8]*_0x4d561c[0x6]),_0xbeaeff[_0x14753d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x14753d([0x6f,0x6e])](_0x14753d([0x61,0x64,0x64]),(_0x5260f5,_0x195cf4)=>{_0x359515!=_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x359515!=_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x359515!=_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x289cf1(_0x195cf4);});}else{const _0x18f740=_0x22a876;_0x359515==_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x289cf1(_0x18f740):_0x359515==_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c])&&_0x18f740[_0x14753d([0x6f,0x6e])](_0x14753d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x34d3cf=0x0;_0x18f740[_0x14753d([0x6d,0x6f,0x64,0x65,0x6c])][_0x14753d([0x6f,0x6e])](_0x14753d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11ba0a,_0x298930)=>{_0x298930[0x0][_0x14753d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34d3cf++,0x1f8===_0x34d3cf&&(_0x289cf1(_0x18f740),_0x14a046(_0x3c8b04[_0x14753d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14753d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x11ba0a[_0x14753d([0x6f,0x66,0x66])]());},{'priority':_0x14753d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x14a046(_0x4ce84a){const _0x328a69=_0x2e09ed();return _0x22a876[_0x328a69]=_0x4ce84a,_0x4ce84a;}function _0x2e09ed(){const _0x34c126=String(window[_0x14753d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14753d([0x6e,0x6f,0x77])]())[_0x14753d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14753d([0x2e]),'');let _0x52a48b='';for(let _0x48cea5=0x0;_0x48cea5<_0x34c126[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48cea5+=0x2){let _0x3dd42d=parseInt(_0x34c126[_0x14753d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48cea5,_0x48cea5+0x2));_0x3dd42d>=_0x40385[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dd42d-=_0x40385[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52a48b+=_0x40385[_0x3dd42d];}return _0x52a48b;}function _0x28535d(_0x4d8fe9){for(const _0x101ffc of _0x4d8fe9[_0x14753d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x289cf1(_0x101ffc);_0x20b6c7(_0x4d8fe9,_0x14753d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x14753d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x20b6c7(_0x4d8fe9,_0x14753d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x14753d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3fde5f;}function _0x289cf1(_0xd85856){function _0x4df9f8(){_0xd85856[_0x14753d([0x6d,0x6f,0x64,0x65,0x6c])][_0x14753d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fde5f,_0xd85856[_0x14753d([0x6d,0x6f,0x64,0x65,0x6c])][_0x14753d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fde5f,_0xd85856[_0x14753d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14753d([0x6d,0x6f,0x64,0x65,0x6c]));}_0xd85856[_0x14753d([0x73,0x74,0x61,0x74,0x65])]==_0x14753d([0x72,0x65,0x61,0x64,0x79])?_0x4df9f8():_0xd85856[_0x14753d([0x6f,0x6e,0x63,0x65])](_0x14753d([0x72,0x65,0x61,0x64,0x79]),()=>_0x4df9f8());}function _0x3fde5f(){return null;}function _0x42cac4(_0x3de521,_0x256009){const _0x48014f=!!(_0x3de521&_0x256009[_0x14753d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1a3841=_0x1e8a3c(_0x3de521,_0x256009);return _0x48014f||_0x1a3841;}function _0x1e8a3c(_0x2029d4,_0x1f179f){const _0x5dcc83=(_0x1f179f[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x14753d([0x66,0x67,0x69])]||null;return!!_0x5dcc83&&_0x167c4c[_0x14753d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c2f8a=>_0x5dcc83[_0x14753d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c2f8a[_0x14753d([0x69,0x64])]))[_0x14753d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35516e=>!_0x2f5b4c(_0x35516e))[_0x14753d([0x73,0x6f,0x6d,0x65])](_0x12c9c5=>!!(_0x2029d4&_0x12c9c5[_0x14753d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2f5b4c(_0x43d357){const _0x715801={[_0x14753d([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])]:_0x4687f9};return!!_0x43d357['forbiddenHandler']&&_0x715801[_0x43d357['forbiddenHandler']]();}function _0x4687f9(){return!window[_0x14753d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x363eaa(_0x22a876,_0x14753d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x268cd1(_0x2cad8d){if(!_0x363eaa(_0x22a876,_0x2cad8d[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x6e9072=_0x2cad8d[_0x14753d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3509e3=_0x6e9072[_0x14753d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3dbca6=_0x6e9072[_0x14753d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3400ef=_0x6e9072[_0x14753d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x363eaa(_0x22a876,_0x14753d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x20b6c7(_0x22a876,_0x14753d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x14753d([0x73,0x74,0x61,0x74,0x65])]==_0x14753d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3509e3)return!0x0;if(_0x363eaa(_0x22a876,_0x14753d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x20b6c7(_0x22a876,_0x14753d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x14753d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x14753d([0x65,0x6e,0x64])&&_0x3dbca6)return!0x0;return!(!_0x363eaa(_0x22a876,_0x14753d([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]))||_0x20b6c7(_0x22a876,_0x14753d([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]))[_0x14753d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x14753d([0x65,0x6e,0x64])||!_0x3400ef);}function _0x363eaa(_0x3b4539,_0x56dc6e){return _0x3b4539[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x14753d([0x68,0x61,0x73])](_0x56dc6e);}function _0x20b6c7(_0x3ab720,_0x322ee7){return _0x3ab720[_0x14753d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x14753d([0x67,0x65,0x74])](_0x322ee7);}function _0x5c9598(_0x2521e2){let _0x1dc525='';for(const _0x51eed2 of _0x2521e2)_0x1dc525+=String[_0x14753d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x51eed2);return _0x1dc525;}function _0x35e57c(_0x113db0){const _0x79eb4=new Uint8Array(_0x113db0[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1b03c1=0x0;_0x1b03c1<_0x113db0[_0x14753d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b03c1++)_0x79eb4[_0x1b03c1]=_0x113db0[_0x14753d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b03c1);return _0x79eb4;}_0x48f5db&&_0x1ceeab(_0x47b70b(_0x58dfd1),_0x48f5db);})(_0x2da3de);}(this);}['createRevision'](_0x4a42aa){const _0x2f009f=this['editor']['plugins']['get']('Users');return new a({'id':_0x4a42aa['id'],'name':_0x4a42aa['name'],'creator':_0x4a42aa['creatorId']?_0x2f009f['getUser'](_0x4a42aa['creatorId']):null,'diffData':_0x4a42aa['diffData']||_0x4a42aa['data'],'authors':_0x4a42aa['authorsIds']['map'](_0x1baaf6=>_0x2f009f['getUser'](_0x1baaf6)),'createdAt':new Date(_0x4a42aa['createdAt']),'attributes':_0x4a42aa['attributes'],'fromVersion':_0x4a42aa['fromVersion'],'toVersion':_0x4a42aa['toVersion']});}['addRevision'](_0x289cbe,_0x3bdbb1=0x0){this['_revisions']['add'](_0x289cbe,_0x3bdbb1);}['getRevision'](_0x468781){return this['_revisions']['get'](_0x468781);}['getRevisions'](_0x1c0459={'toJSON':!0x1}){const _0x2907e6=Array['from'](this['_revisions']);return _0x2907e6['reverse'](),_0x1c0459['toJSON']?_0x2907e6['map'](_0x1025f7=>_0x1025f7['toJSON']()):_0x2907e6;}['getIndex'](_0x3ce29b){return this['_revisions']['getIndex'](_0x3ce29b);}['getEarlierVisibleRevision'](_0x3865c0){const [,_0x563619]=this['getRevisionsIterator'](_0x3865c0,{'direction':'earlier'});return _0x563619;}['getLaterVisibleRevision'](_0x12b652){const [,_0x52d543]=this['getRevisionsIterator'](_0x12b652,{'direction':'later'});return _0x52d543;}['getRevisionsInDiff'](_0x37684d){const _0x4ec7e6=[];for(const _0x2de523 of this['getRevisionsIterator'](_0x37684d['newRevisionId']))if(_0x4ec7e6['push'](_0x2de523),_0x2de523['id']===_0x37684d['oldRevisionId'])break;return _0x4ec7e6;}*['getRevisionsIterator'](_0x201791,{direction:_0x30f5a1='earlier',filter:_0x1e41bf=_0x206ce3=>!0x0}={}){const _0x1e01b4='earlier'===_0x30f5a1?0x1:-0x1;let _0x934835=this['_revisions']['get'](_0x201791),_0x45faca=this['getIndex'](_0x934835);for(yield _0x934835;_0x934835;){if(_0x45faca+=_0x1e01b4,_0x934835=this['getRevision'](_0x45faca),!_0x934835)return;_0x1e41bf(_0x934835)&&(yield _0x934835);}}}function y(_0x2d321b,_0x197b26,_0x33db67){const t=_0x2d321b['t'];switch(_0x197b26){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'},_0x33db67);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x33db67);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':_0x19ebf8,'a':_0x54d143,'e':_0x576f36,'r':_0x213710,'u':_0x5b4d6c};class l extends _0x2b45a5{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x109311,A,_0x26d5ad];}constructor(_0x3a8b1e){super(_0x3a8b1e),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 _0x217b02=_0x556e93();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x217b02},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 _0xa22d64=this['repository']['getRevision'](0x0),_0x474f18=_0xa22d64&&null===_0xa22d64['creator']?_0xa22d64:null;if(this['_continueCurrentRevision']=!!_0x474f18&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x74a784=this['_source']['getCurrentRevisionId'](),_0x5e6b9e=this['repository']['getRevision'](_0x74a784);if(_0x5e6b9e)this['_startingVersion']=_0x5e6b9e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x538ae2=this['_source']['history']['_operations']['find'](_0x6b1514=>!_0x6b1514['_isInit']),_0x159ddc=_0x538ae2?_0x538ae2['baseVersion']:this['_source']['history']['version'];_0xa22d64?(_0xa22d64['toVersion']<_0x159ddc&&_0xa22d64['_update']({'toVersion':_0x159ddc}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x474f18['id'],this['_startingVersion']=_0x474f18['fromVersion']):(this['_startingVersion']=_0xa22d64['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x159ddc,this['_continueCurrentRevision']=!0x1);}}else _0x474f18&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x474f18['toVersion'],this['editor']['model']['document']['history']['version']),_0x474f18['fromVersion']===_0x474f18['toVersion']?(0x0!==_0x474f18['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x474f18['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x474f18['id'],this['_startingVersion']=_0x474f18['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',_0x101da2=>!_0x101da2);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2bf2b9=this['repository']['getRevision'](0x0),_0x56f882=await this['getRevisionDocumentData'](_0x2bf2b9),_0x10f0e8=await this['getRevisionRootsAttributes'](_0x2bf2b9);this['_replaceEditorDataWithRevisionData'](_0x56f882,_0x10f0e8);}}['setSource'](_0x1cf854){this['_source']=_0x1cf854;}async['update'](){const _0x38838e=await this['_source']['getLatestVersion']();if(_0x38838e>this['currentRevision']['toVersion']){await this['_loadState']();const _0x310c4c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x38838e});_0x310c4c['authors']=_0x310c4c['authorsIds']['map'](_0x21207f=>this['editor']['plugins']['get']('Users')['getUser'](_0x21207f)),this['currentRevision']['_update'](_0x310c4c);}}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'](_0xace2ce={},_0x3cb0dd=null){const _0x272533=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3cb0dd>this['currentRevision']['toVersion']&&(_0x3cb0dd=null),null===_0x3cb0dd&&(_0x3cb0dd=await this['_source']['getLatestVersion']());const _0x3a40c2=this['_getFromVersion'](_0x3cb0dd),_0x59a7f1=this['buildRevisionData']({'from':_0x3a40c2,'to':_0x3cb0dd});if(this['currentRevision']['toVersion']<_0x3cb0dd){const _0xab5a9d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3cb0dd,'to':_0x3cb0dd});_0xab5a9d['authors']=[],_0xab5a9d['authorsIds']=[],_0xab5a9d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xab5a9d,!0x0),delete _0xab5a9d['authors'],_0x272533['push'](_0xab5a9d);}_0xace2ce['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xace2ce['name']=_0xace2ce['name']||null,_0xace2ce['id']=_0xace2ce['id']||_0x556e93(),_0xace2ce={..._0xace2ce,..._0x59a7f1};const _0x5e0bd3=this['addRevisionData'](_0xace2ce);_0x272533['push'](_0xace2ce);const _0x885367=this['repository']['getIndex'](_0x5e0bd3);if(0x0!==_0x885367){const _0x2a2607=this['repository']['getRevision'](_0x885367-0x1);if(_0x2a2607['fromVersion']!==_0x3cb0dd){const _0x2a3b69=this['_revisionDataBuilder']['getData'](_0x3cb0dd,_0x2a2607['toVersion']),_0x483755={'id':_0x2a2607['id'],'diffData':_0x2a3b69['diffData'],'authorsIds':_0x2a3b69['authorsIds'],'authors':_0x2a3b69['authorsIds']['map'](_0x57e4f9=>this['editor']['plugins']['get']('Users')['getUser'](_0x57e4f9)),'fromVersion':_0x3cb0dd};_0x2a2607===this['currentRevision']&&(_0x483755['createdAt']=new Date(_0xace2ce['createdAt']['getTime']()+0xa)),_0x2a2607['_update'](_0x483755,!0x0),delete _0x483755['authors'],_0x272533['push'](_0x483755);}}if(this['adapter']){for(const _0x482f7b of _0x272533)this['_bufferUpdate'](_0x482f7b['id'],_0x482f7b,!0x0);this['sendBufferedUpdates']();}return _0x5e0bd3;}['addRevisionData'](_0x4f0d3e){const _0x55de2e=this['repository']['createRevision'](_0x4f0d3e);return this['adapter']&&_0x55de2e['on']('_update',(_0x69551d,_0x388d9f,_0x59b845)=>{_0x59b845||(this['_bufferUpdate'](_0x388d9f['id'],_0x388d9f,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x55de2e,this['_findInsertionIndex'](_0x55de2e)),_0x55de2e;}async['getRevisionDocumentData'](_0x362873){await this['_loadRevisionData'](_0x362873);const _0x4bbfdd={};for(const _0x5cd619 in _0x362873['diffData']){if(_0x362873['diffData'][_0x5cd619]['attachChange']&&!_0x362873['diffData'][_0x5cd619]['attachChange']['isAttached'])continue;const _0x10f0f7=this['_removeRevisionMarkers'](JSON['parse'](_0x362873['diffData'][_0x5cd619]['insertions'])),_0x3a4b28=this['editor']['editing']['view']['document'],_0x59968a=new _0x1e389f(_0x3a4b28,_0x10f0f7['map'](_0x3a2464=>B(_0x3a2464,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x4bbfdd[_0x5cd619]=this['editor']['data']['processor']['toData'](_0x59968a),this['editor']['data']['processor']['useFillerType']('default');}return _0x4bbfdd;}async['getRevisionRootsAttributes'](_0x4e4c51){await this['_loadRevisionData'](_0x4e4c51);const _0x2acaef={};for(const _0x2a9069 in _0x4e4c51['diffData'])_0x4e4c51['diffData'][_0x2a9069]['attachChange']&&!_0x4e4c51['diffData'][_0x2a9069]['attachChange']['isAttached']||(_0x2acaef[_0x2a9069]=_0x4e4c51['diffData'][_0x2a9069]['attributesAfter']||{});return _0x2acaef;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x23a060=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x16fc4d=0x0;_0x16fc4d<_0x23a060['length'];_0x16fc4d++){const _0x5ab1b5=_0x23a060[_0x16fc4d];let _0xcae5db=!0x1;for(const _0x3c395d of Object['keys'](_0x5ab1b5))void 0x0===_0x5ab1b5[_0x3c395d]?delete _0x5ab1b5[_0x3c395d]:'id'!==_0x3c395d&&(_0xcae5db=!0x0);_0xcae5db||(_0x23a060[_0x16fc4d]=null);}if(_0x23a060=_0x23a060['filter'](_0x4a42c7=>null!==_0x4a42c7),!_0x23a060['length'])return;for(let _0x531105=0x0;_0x531105<_0x23a060['length'];_0x531105++){const _0x1b2721=_0x23a060[_0x531105];void 0x0!==_0x1b2721['fromVersion']&&void 0x0===_0x1b2721['toVersion']&&(_0x1b2721['toVersion']=this['repository']['getRevision'](_0x1b2721['id'])['toVersion']),void 0x0!==_0x1b2721['toVersion']&&void 0x0===_0x1b2721['fromVersion']&&(_0x1b2721['fromVersion']=this['repository']['getRevision'](_0x1b2721['id'])['fromVersion']);}const _0x591d67=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x23a060,_0x591d67)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xc7cc68=>{if(_0xc7cc68){for(const _0x33b822 of _0xc7cc68)this['setRevisionData']({'id':_0x33b822['id'],'createdAt':_0x33b822['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x12b0f0,_0x5f0e84){let _0x3c9e18=this['editor']['config']['get']('initialData'),_0x52262a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3c9e18){_0x3c9e18={};for(const _0x402d93 of this['editor']['model']['document']['getRootNames']())_0x3c9e18[_0x402d93]='';}if('string'==typeof _0x3c9e18&&(_0x3c9e18={'main':_0x3c9e18}),void 0x0===_0x52262a){_0x52262a={};for(const _0x280cce of this['editor']['model']['document']['getRootNames']())_0x52262a[_0x280cce]={};}let _0x87599f=!0x1;const _0xc5bfc6=Object['keys'](_0x3c9e18),_0x33b494=Object['keys'](_0x12b0f0);for(const _0x3ec713 of _0xc5bfc6){if(_0x3c9e18[_0x3ec713]!==_0x12b0f0[_0x3ec713]&&''!==_0x3c9e18[_0x3ec713]['trim']()){_0x87599f=!0x0;break;}if(!_0x58d6e9(_0x52262a[_0x3ec713],_0x5f0e84[_0x3ec713])&&Object['keys'](_0x52262a[_0x3ec713])['length']>0x0){_0x87599f=!0x0;break;}}_0x87599f||(_0x87599f=_0x33b494['some'](_0x42f9e4=>!this['editor']['model']['document']['getRoot'](_0x42f9e4))),_0x87599f&&_0x4e9a62('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3c9e18,'editorRootsAttributes':_0x52262a,'revisionData':_0x12b0f0,'revisionRootsAttributes':_0x5f0e84}),this['editor']['config']['set']('initialData',_0x12b0f0),this['editor']['config']['set']('rootsAttributes',_0x5f0e84);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5076d7=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5076d7['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x612391){const _0x1b09dd=this['repository']['getRevisions']();_0x1b09dd['reverse']();let _0x87ca4e=0x0;for(;_0x87ca4e<_0x1b09dd['length'];){const _0x5a25fe=_0x1b09dd[_0x87ca4e];if(_0x5a25fe===this['currentRevision']){_0x87ca4e++;continue;}if(_0x5a25fe['id']===this['_initialRevisionId'])break;const _0x3db623=_0x612391['toVersion']-_0x5a25fe['toVersion']||_0x612391['fromVersion']-_0x5a25fe['fromVersion'];if(_0x3db623>0x0)break;if(_0x3db623<0x0)_0x87ca4e++;else{if(!_0x612391['creator']&&_0x5a25fe['creator'])break;if(_0x5a25fe['creator']||!_0x612391['creator']){if(_0x612391['createdAt']>_0x5a25fe['createdAt'])break;_0x87ca4e++;}else _0x87ca4e++;}}return _0x87ca4e;}['setRevisionData'](_0x5e187d){const _0x2c0ed2=this['repository']['getRevision'](_0x5e187d['id']);if(_0x5e187d['createdAt']&&(_0x5e187d['createdAt']=new Date(_0x5e187d['createdAt'])),_0x5e187d['authorsIds']){const _0x19eb74=this['editor']['plugins']['get']('Users');_0x5e187d['authors']=_0x5e187d['authorsIds']['map'](_0x2806eb=>_0x19eb74['getUser'](_0x2806eb));}_0x2c0ed2['_update'](_0x5e187d,!0x0);}['buildRevisionData']({revision:_0x1f065d=null,from:_0x88bf39=null,to:_0x431ad0=null}){_0x88bf39=null!==_0x88bf39?_0x88bf39:_0x1f065d['fromVersion'],_0x431ad0=null!==_0x431ad0?_0x431ad0:_0x1f065d['toVersion'];const _0x72de9c=this['_revisionDataBuilder']['getData'](_0x88bf39,_0x431ad0),_0x4462f8={'diffData':_0x72de9c['diffData'],'authorsIds':_0x72de9c['authorsIds'],'fromVersion':_0x88bf39,'toVersion':_0x431ad0};if(!_0x1f065d||_0x431ad0!==_0x1f065d['toVersion']){const _0x140323=_0x431ad0-0x1,_0x48fc5e=this['_source']['history']['getOperation'](_0x140323);_0x4462f8['createdAt']=_0x48fc5e&&_0x48fc5e['createdAt']||new Date();}if(this['_loadedStateData']&&_0x88bf39===this['_loadedStateData']['fromVersion']){for(const _0x2d73f3 of this['_loadedStateData']['authors'])_0x4462f8['authorsIds']['includes'](_0x2d73f3['id'])||_0x4462f8['authorsIds']['push'](_0x2d73f3['id']);}return _0x4462f8;}['_loadRevisionData'](_0x232564){if(!_0x232564||_0x232564['diffData'])return Promise['resolve']();{const _0x4297b2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4297b2,'revisionId':_0x232564['id']})['then'](_0x1fd77b=>{_0x232564['diffData']=_0x1fd77b['diffData'];});}}['_bufferUpdate'](_0x22bf85,_0x302752,_0x497898){if(this['_bufferedUpdates']['has'](_0x22bf85)){const _0x416600=this['_bufferedUpdates']['get'](_0x22bf85);_0x302752=_0x497898?{..._0x416600,..._0x302752}:{..._0x302752,..._0x416600};}this['_bufferedUpdates']['set'](_0x22bf85,_0x302752);}['_getFromVersion'](_0x150afb){const _0x2b7e59=this['repository']['getRevisions']();_0x2b7e59['reverse'](),_0x2b7e59['shift']();const _0x20adbc=_0x2b7e59['find'](_0x3544b2=>_0x3544b2['toVersion']<=_0x150afb)['toVersion'];return _0x20adbc<this['_startingVersion']?this['_startingVersion']:_0x20adbc;}['_createInitialRevision'](_0x309b32){const _0x4f5a55=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4f5a55)this['_initialRevisionId']=_0x4f5a55['id'];else{const _0x2bfec7=!this['editor']['model']['document']['roots']['find'](_0x333fa5=>this['editor']['model']['hasContent'](_0x333fa5)),_0x39715a=this['editor']['plugins']['get']('Users')['me']['id'],_0x35df5b=y(this['editor']['locale'],_0x2bfec7?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x309b32,'to':_0x309b32,'id':this['_initialRevisionId'],'name':_0x35df5b,'creatorId':_0x39715a});}}['_createCurrentRevision'](_0x48d553){const _0x1c864b=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1c864b),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x48d553,'to':_0x48d553,'id':_0x1c864b,'name':'','creatorId':null}));}['_makeRevision']({name:_0xb79d,from:_0x1d7941,to:_0x3b9cf3,creatorId:_0x2cf411,id:_0x5d50f7}){const _0x8b076a=this['buildRevisionData']({'from':_0x1d7941,'to':_0x3b9cf3});_0x8b076a['name']=_0xb79d,_0x8b076a['creatorId']=_0x2cf411,_0x8b076a['id']=_0x5d50f7;const _0x4fad80=this['addRevisionData'](_0x8b076a);return this['adapter']&&this['_bufferUpdate'](_0x8b076a['id'],_0x8b076a,!0x0),_0x4fad80;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x27f4e0){return(_0x27f4e0=_0x27f4e0['filter'](_0xd199f2=>!_0xd199f2['name']||'revision-start'!==_0xd199f2['name']&&'revision-end'!==_0xd199f2['name']))['forEach'](_0x330206=>{'string'!=typeof _0x330206&&(_0x330206['children']=this['_removeRevisionMarkers'](_0x330206['children']),_0x330206['attributes']=_0x330206['attributes']['filter'](_0x2bb52d=>!_0x2bb52d[0x0]['startsWith']('data-revision-')));}),_0x27f4e0;}}function B(_0x1bcacb,_0x299cd3){const _0x581f4e=_0x299cd3['editing']['view']['document'];if('string'==typeof _0x1bcacb)return new _0xb527f8(_0x581f4e,_0x1bcacb);{const _0x529bb2=_0x1bcacb['children']['map'](_0x27f08d=>B(_0x27f08d,_0x299cd3));return new(T[_0x1bcacb['type']]||_0x160695)(_0x581f4e,_0x1bcacb['name'],_0x1bcacb['attributes'],_0x529bb2);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x15b68d){this['editor']=_0x15b68d,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'](_0x4c5722){this['source']=_0x4c5722;const _0x382f77=new Map(),_0x2f20da=new Map(),_0x5a66a2=this['editor']['model']['document']['roots']['map'](_0x6d0761=>_0x6d0761['rootName']);for(const _0x8f0fe6 of _0x5a66a2){const _0x4ee2b5=this['editor']['model']['document']['getRoot'](_0x8f0fe6),_0x56d005=q(_0x4ee2b5);_0x382f77['set'](_0x8f0fe6,_0x56d005),_0x2f20da['set'](_0x8f0fe6,Object['fromEntries'](_0x4ee2b5['getAttributes']()));}const _0x55822e=Array['from'](this['editor']['model']['markers'])['map'](_0x3f4bcd=>[_0x3f4bcd['name'],_0x3f4bcd['getRange']()]),_0x48ad1a=this['source']['version'];this['_saveMetaData'](_0x48ad1a,_0x382f77,_0x55822e,_0x2f20da),this['_startingRevisionId']=this['_revisionId'];const _0x4682e2=new Map(),_0x3e5ba1=new Map();for(const _0x221d8d of _0x5a66a2){const _0x7f35=G(_0x221d8d);_0x4682e2['set'](_0x221d8d,_0x7f35),_0x3e5ba1['set'](_0x221d8d,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4682e2,[],_0x3e5ba1);}['getData'](_0x46598e,_0x28bf71){if(this['_lastFrom']===_0x46598e&&this['_lastTo']<=_0x28bf71)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x28bf71,!0x0);else{if(!this['_savedMetaData']['has'](_0x46598e)){const _0xb3c832=this['_getPreviousFrom'](_0x46598e);this['_calculateMetaData'](_0xb3c832,_0x46598e,!0x1);}this['_calculateMetaData'](_0x46598e,_0x28bf71,!0x0);}return this['_lastFrom']=_0x46598e,this['_lastTo']=_0x28bf71,this['_getState']();}['loadState'](_0x52ed6a){this['_reset'](),this['_lastFrom']=_0x52ed6a['fromVersion'],this['_lastTo']=_0x52ed6a['toVersion'];for(const _0x33f060 in _0x52ed6a['diffData']){const _0x2d7791=_0x52ed6a['diffData'][_0x33f060]['attachChange'],_0x5ead99=_0x3b53d0(_0x52ed6a['diffData'][_0x33f060]['attributesBefore'])||{},_0xec166d=this['_makeModelFromViewString'](_0x52ed6a['diffData'][_0x33f060]['deletions']);_0xec166d['rootName']=_0x33f060,_0xec166d['_isAttached']=!_0x2d7791||!_0x2d7791['isAttached'],_0xec166d['isAttached']=()=>_0xec166d['_isAttached'],this['_baseRoots']['set'](_0x33f060,_0xec166d),this['_baseRootsAttributes']['set'](_0x33f060,_0x5ead99),_0x2d7791&&this['_touchedRoots']['set'](_0x33f060,_0x2d7791);const _0x141cf2=this['_makeIdsRoot'](_0xec166d);this['_baseIdsRoots']['set'](_0x33f060,_0x141cf2);for(const [_0x44ead2,_0x1d0d42]of _0xec166d['markers']){if(!_0x44ead2['startsWith']('revision:'))continue;const _0x2bf545=_0x44ead2['split'](':')[0x2];for(const _0x51accb of _0x1d0d42['getWalker']({'singleCharacters':!0x0})){const _0x15a858=this['_getVidAttributeName'](_0x51accb),_0x44fe65='elementEnd'==_0x51accb['type']?_0x51accb['previousPosition']['path']['slice'](0x0,-0x1):_0x51accb['previousPosition']['path'],_0x2cfbe3=_0x141cf2['getNodeByPath'](_0x44fe65)['getAttribute'](_0x15a858);this['_touched']['set'](_0x2cfbe3,{'userId':_0x2bf545});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1628a9=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2ee310=>!this['_touched']['has'](_0x2ee310));let _0x54abca=0x0;const _0x3afda6=new Map();for(const _0x111811 in _0x52ed6a['diffData']){const _0x59233e=_0x52ed6a['diffData'][_0x111811]['attachChange'],_0x35bcad=_0x3b53d0(_0x52ed6a['diffData'][_0x111811]['attributesAfter'])||{},_0x57c544=this['_makeModelFromViewString'](_0x52ed6a['diffData'][_0x111811]['insertions']);_0x57c544['rootName']=_0x111811,_0x57c544['_isAttached']=!_0x59233e||_0x59233e['isAttached'],_0x57c544['isAttached']=()=>_0x57c544['_isAttached'],this['_diffRoots']['set'](_0x111811,_0x57c544),this['_diffRootsAttributes']['set'](_0x111811,_0x35bcad);const _0x312159=this['_makeIdsRoot'](_0x57c544,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x111811,_0x312159),_0x3afda6['set'](_0x111811,_0x57c544['isAttached']()?_0x35bcad:{});for(const [_0x2c0e7f,_0x4e15e7]of _0x57c544['markers']){if(!_0x2c0e7f['startsWith']('revision:'))continue;const _0x4b2890=_0x2c0e7f['split'](':')[0x2];for(const _0x4c5d57 of _0x4e15e7['getWalker']({'singleCharacters':!0x0})){const _0x1c21af=this['_getVidAttributeName'](_0x4c5d57),_0x5dcace=this['_revisionId']++,_0x48838c='elementEnd'==_0x4c5d57['type']?_0x4c5d57['previousPosition']['path']['slice'](0x0,-0x1):_0x4c5d57['previousPosition']['path'];_0x312159['getNodeByPath'](_0x48838c)['_setAttribute'](_0x1c21af,_0x5dcace),this['_touched']['set'](_0x5dcace,{'userId':_0x4b2890});}}for(const _0x27ac63 of this['editor']['model']['createRangeIn'](_0x57c544)['getWalker']({'singleCharacters':!0x0})){const _0x273bb3=this['_getVidAttributeName'](_0x27ac63),_0x2205b1='elementEnd'==_0x27ac63['type']?_0x27ac63['previousPosition']['path']['slice'](0x0,-0x1):_0x27ac63['previousPosition']['path'],_0x28e3ec=_0x312159['getNodeByPath'](_0x2205b1);_0x28e3ec['getAttribute'](_0x273bb3)>0x0||_0x28e3ec['_setAttribute'](_0x273bb3,_0x1628a9[_0x54abca++]);}for(const [_0x55ec90,_0x24714b]of _0x57c544['markers'])_0x55ec90['startsWith']('revision:')||this['_markers']['set'](_0x55ec90,_0x24714b);}const _0x414347=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x414347),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x414347,0x1));const _0x25d46b=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x25d46b),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x25d46b,0x1));const _0x57abb0=Array['from'](this['_diffRoots'])['map'](([_0x7bb925,_0x14a5e0])=>[_0x7bb925,q(_0x14a5e0)]);this['_saveMetaData'](this['_lastTo'],_0x57abb0,this['_markers'],_0x3afda6);}['_makeModelFromViewString'](_0x3a2358){const _0x32f62b=JSON['parse'](_0x3a2358),_0x99c5e9=this['editor']['editing']['view']['document'],_0x230e08=new _0x1e389f(_0x99c5e9,_0x32f62b['map'](_0x177cfb=>B(_0x177cfb,this['editor'])));return this['editor']['data']['toModel'](_0x230e08);}['_saveMetaData'](_0x1a005c,_0x19228f,_0x37b20b,_0x6db03b){const _0x1bc046=new Map(_0x19228f),_0x480d55=new Map(_0x3b53d0(_0x6db03b)),_0x28917e=new Map();for(const [_0xc9ede6,_0x4ff0b2]of _0x37b20b)_0x28917e['set'](_0xc9ede6,{'start':_0x4ff0b2['start']['clone'](),'end':_0x4ff0b2['end']['clone'](),'rootName':_0x4ff0b2['root']['rootName']});this['_savedMetaData']['set'](_0x1a005c,{'roots':_0x1bc046,'markers':_0x28917e,'rootsAttributes':_0x480d55});}['_removeMetaData'](_0x2b708a){this['_savedMetaData']['delete'](_0x2b708a);}['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'](_0x17bb83,_0x512163=null){let _0x184af6=null;_0x17bb83['is']('documentFragment')||(_0x184af6=new ft(_0x17bb83['name'],{'vid_start':null===_0x512163?this['_revisionId']++:_0x512163++}));const _0xa947b4=[];for(const _0x5de86c of _0x17bb83['getChildren']())if(_0x5de86c['is']('element')){_0xa947b4['push'](this['_makeIdsRoot'](_0x5de86c,_0x512163));const _0x4b8ef8=_0xa947b4[_0xa947b4['length']-0x1];null!==_0x512163&&(_0x512163=_0x4b8ef8['is']('element','$text')?_0x4b8ef8['getAttribute']('vid')+0x1:_0x4b8ef8['getAttribute']('vid_end')+0x1);}else{for(let _0x5aa86c=0x0;_0x5aa86c<_0x5de86c['offsetSize'];_0x5aa86c++)_0xa947b4['push'](new ft('$text',{'vid':null===_0x512163?this['_revisionId']++:_0x512163++}));}if(_0x17bb83['is']('documentFragment')){const _0x2f1e23=G(_0x17bb83['rootName']);return _0x2f1e23['_insertChild'](0x0,_0xa947b4),_0x2f1e23;}return _0x184af6['_setAttribute']('vid_end',null===_0x512163?this['_revisionId']++:_0x512163++),_0x184af6['_insertChild'](0x0,_0xa947b4),_0x184af6;}['_calculateMetaData'](_0x48e509,_0x2f8095,_0x2cc6e1){this['_reset']();const {roots:_0xbd6af8,markers:_0x5457ba,rootsAttributes:_0x3681e0}=this['_savedMetaData']['get'](_0x48e509);this['_baseRoots']=new Map(_0xbd6af8),this['_baseRootsAttributes']=new Map(_0x3b53d0(_0x3681e0));for(const [_0x5bc573,_0x1c1849]of this['_baseRoots'])if('$graveyard'!==_0x5bc573&&(this['_diffRoots']['set'](_0x5bc573,q(_0x1c1849)),this['_diffRootsAttributes']=new Map(_0x3b53d0(_0x3681e0)),_0x2cc6e1)){const _0x258644=this['_revisionId'];this['_idsRoots']['set'](_0x5bc573,this['_makeIdsRoot'](_0x1c1849)),this['_baseIdsRoots']['set'](_0x5bc573,this['_makeIdsRoot'](_0x1c1849,_0x258644));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2cc6e1&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2a4540,_0x485da1]of _0x5457ba){const _0x43d8b8=this['_baseRoots']['get'](_0x485da1['rootName']),_0x55e01e=this['_diffRoots']['get'](_0x485da1['rootName']),_0xbd3f72=new vt(this['_fixPosition'](_0x485da1['start'],_0x43d8b8),this['_fixPosition'](_0x485da1['end'],_0x43d8b8)),_0xb46eba=this['_fixRange'](_0xbd3f72,_0x55e01e);_0x43d8b8['markers']['set'](_0x2a4540,_0xbd3f72),this['_markers']['set'](_0x2a4540,_0xb46eba);}this['_applyOperations'](_0x48e509,_0x2f8095,_0x2cc6e1);}['_applyOperations'](_0x52d436,_0x346c45,_0x1405e3){for(const _0x650ca3 of this['source']['getOperations'](_0x52d436,_0x346c45))this['_handleOperation'](_0x650ca3,_0x1405e3);for(const _0xada750 of this['_diffRoots']['values']())_0xada750['markers']['clear']();for(const [_0x1a77a8,_0x4e470c]of this['_markers']){this['_diffRoots']['get'](_0x4e470c['root']['rootName'])['markers']['set'](_0x1a77a8,_0x4e470c['clone']());}const _0x3b034c=new Map(),_0x492c01=new Map();for(const [_0x8929df,_0xd6348d]of this['_diffRoots'])_0x3b034c['set'](_0x8929df,q(_0xd6348d)),_0x492c01['set'](_0x8929df,this['_diffRootsAttributes']['get'](_0x8929df));this['_saveMetaData'](_0x346c45,_0x3b034c,this['_markers'],_0x492c01);}['_getPreviousFrom'](_0x354cd1){const _0x345f11=Array['from'](this['_savedMetaData']['keys']());_0x345f11['sort']((_0x18390f,_0x371183)=>_0x18390f-_0x371183),_0x345f11['reverse']();for(const _0x18c0a8 of _0x345f11)if(_0x18c0a8<_0x354cd1)return _0x18c0a8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1294b0,_0x92e1eb){const _0xdb8f2f=Array['from'](_0x92e1eb['markers'])['map'](([_0x181a24,_0x3bc98d])=>[_0x181a24,this['_fixRange'](_0x3bc98d,_0x1294b0)]);_0x1294b0['markers']=new Map(_0xdb8f2f);}['_transformMarkers'](_0x4927ed){for(const _0xa4d32f of this['_markers']['values']()){const _0x578c17=_0xa4d32f['getTransformedByOperation'](_0x4927ed),_0x3c0826=vt['_createFromRanges'](_0x578c17);_0xa4d32f['start']=_0x3c0826['start'],_0xa4d32f['end']=_0x3c0826['end'];}}['_handleOperation'](_0x40760a,_0x477e5a){if('addRoot'==_0x40760a['type']||'detachRoot'==_0x40760a['type'])return void this['_handleRootOperation'](_0x40760a,_0x477e5a);if('insert'==_0x40760a['type']){const _0x5a9c7b=_0x40760a['position']['root']['rootName'];this['_diffRoots']['has'](_0x5a9c7b)||(this['_diffRoots']['set'](_0x5a9c7b,G(_0x5a9c7b,!0x0)),this['_diffRootsAttributes']['set'](_0x5a9c7b,{}),_0x477e5a&&this['_idsRoots']['set'](_0x5a9c7b,G(_0x5a9c7b,!0x0)));}else{if('addRootAttribute'==_0x40760a['type']||'removeRootAttribute'==_0x40760a['type']||'changeRootAttribute'==_0x40760a['type'])return void this['_handleRootAttributeOperation'](_0x40760a);}const _0x4fbaba=this['_cloneOperation'](_0x40760a,this['_diffRoots']);if('marker'!==_0x40760a['type']&&(_0x4fbaba['_execute'](),this['_transformMarkers'](_0x4fbaba)),_0x477e5a)switch(_0x4fbaba['type']){case'insert':this['_handleInsertOperation'](_0x40760a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x40760a);break;case'merge':this['_handleMergeOperation'](_0x40760a);break;case'split':this['_handleSplitOperation'](_0x40760a);break;case'marker':this['_handleMarkerOperation'](_0x40760a);}}['_cloneOperation'](_0x2fbf6d,_0x5a2e19){const _0x2b22c6=_0x2fbf6d['clone']();return _0x2b22c6['_authorId']=_0x2fbf6d['_authorId'],this['_fixOperation'](_0x2b22c6,_0x5a2e19),_0x2b22c6;}['_getBaseVids'](_0x2f4dac){return _0x2f4dac['map'](_0x546d29=>{const _0x4c86cc=this['_getVidAttributeName'](_0x546d29);return Number(_0x546d29['item']['getAttribute'](_0x4c86cc));});}['_generateTape'](_0x5a56fa,_0x306977){if(_0x5a56fa['is']('element','$text'))_0x306977['push']({'item':_0x5a56fa,'type':'text'});else{_0x5a56fa['is']('element')&&_0x306977['push']({'item':_0x5a56fa,'type':'elementStart'});for(const _0x5be5f4 of _0x5a56fa['getChildren']())this['_generateTape'](_0x5be5f4,_0x306977);_0x5a56fa['is']('element')&&_0x306977['push']({'item':_0x5a56fa,'type':'elementEnd'});}return _0x306977;}['_getState'](){const _0x347e2e=new Map(this['_touched']),_0x44fca9=new Map(_0x347e2e),_0x182589=new Map(),_0xdc1410={'insertions':{},'deletions':{}},_0x47c243={'insertions':{},'deletions':{}},_0x45233e=new Map(),_0x280c0b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x280c0b['delete']('$graveyard');for(const _0x5b0154 of _0x280c0b){const _0x1a490e=this['_diffRoots']['get'](_0x5b0154)||G(_0x5b0154,!0x1),_0xf57cc5=this['_baseRoots']['get'](_0x5b0154)||G(_0x5b0154,!0x1);_0x1a490e['isAttached']()||_0xf57cc5['isAttached']()?(_0xdc1410['insertions'][_0x5b0154]=q(_0x1a490e),_0xdc1410['deletions'][_0x5b0154]=q(_0xf57cc5),this['_copyMarkers'](_0xdc1410['deletions'][_0x5b0154],_0xf57cc5),this['_copyMarkers'](_0xdc1410['insertions'][_0x5b0154],_0x1a490e),_0x47c243['insertions'][_0x5b0154]=this['_generateTape'](this['_idsRoots']['get'](_0x5b0154),[]),_0x47c243['deletions'][_0x5b0154]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5b0154)||G(_0x5b0154,!0x1),[])):_0x280c0b['delete'](_0x5b0154);}for(const _0xf1f0b9 of _0x280c0b){const _0x464307=_0x47c243['insertions'][_0xf1f0b9];for(const _0x463b36 of _0x464307){const _0x3772b4=this['_getVidAttributeName'](_0x463b36),_0x2f2eb0=_0x463b36['item']['getAttribute'](_0x3772b4);_0x44fca9['delete'](_0x2f2eb0),_0x2f2eb0>=this['_startingRevisionId']&&_0x182589['set'](_0x2f2eb0,_0x347e2e['get'](_0x2f2eb0));}}for(const _0x1a10f8 of _0x280c0b){const _0x1de159=_0x47c243['insertions'][_0x1a10f8],_0x2992e7=this['_getBaseVids'](_0x47c243['deletions'][_0x1a10f8]);let _0x2b78f0=0x0;for(const _0x17fe1e of _0x1de159){const _0xe72e8f=this['_getVidAttributeName'](_0x17fe1e),_0x8c730f=_0x17fe1e['item']['getAttribute'](_0xe72e8f);if(!_0x182589['has'](_0x8c730f)&&!_0x45233e['has'](_0x8c730f)){if(_0x44fca9['has'](_0x8c730f))_0x2b78f0++;else{if(_0x8c730f!=_0x2992e7[_0x2b78f0]){const _0x11d659=_0x347e2e['get'](_0x8c730f)||_0x347e2e['get'](_0x2992e7[_0x2b78f0]);for(;_0x8c730f!=_0x2992e7[_0x2b78f0];)_0x44fca9['has'](_0x2992e7[_0x2b78f0])||(_0x45233e['set'](_0x2992e7[_0x2b78f0],_0x11d659),_0x347e2e['set'](_0x2992e7[_0x2b78f0],_0x11d659)),_0x2b78f0++;}_0x2b78f0++;}}}}for(const _0x349228 of _0x280c0b){const _0x1e1dd1=_0x47c243['insertions'][_0x349228];for(const _0xb0090d of _0x1e1dd1){const _0x4e0b1d=this['_getVidAttributeName'](_0xb0090d),_0x189f52=_0xb0090d['item']['getAttribute'](_0x4e0b1d);if(_0x45233e['has'](_0x189f52)){const _0x29d9a4=_0x45233e['get'](_0x189f52);_0x44fca9['has'](_0x189f52)||_0x44fca9['set'](_0x189f52,{..._0x29d9a4}),_0x182589['set'](_0x189f52,{..._0x29d9a4});}}}for(const _0x1381a6 of _0x44fca9['keys']())_0x1381a6>=this['_startingRevisionId']&&_0x44fca9['delete'](_0x1381a6);const _0x5dc2e5=new Map();for(const _0x497447 of _0x280c0b){let _0xcb0e57=_0x47c243['insertions'][_0x497447];for(const _0x3e99e9 of _0xcb0e57)if(_0x3e99e9['item']['is']('element','tableCell')){const _0x178a69=this['_getVidAttributeName'](_0x3e99e9),_0x1f32fc=_0x3e99e9['item']['getAttribute'](_0x178a69);if(_0x182589['has'](_0x1f32fc)){const _0x273cb1=_0x3e99e9['item']['parent']['parent']['getAttribute']('vid_start'),_0x2efe4a=_0x5dc2e5['get'](_0x273cb1)||new Set();_0x2efe4a['add'](_0x182589['get'](_0x1f32fc)['userId']),_0x5dc2e5['set'](_0x273cb1,_0x2efe4a);}}_0xcb0e57=_0x47c243['deletions'][_0x497447];for(const _0x5c8d37 of _0xcb0e57)if(_0x5c8d37['item']['is']('element','tableCell')){const _0x137a6e=this['_getVidAttributeName'](_0x5c8d37),_0x4f1bec=_0x5c8d37['item']['getAttribute'](_0x137a6e);if(_0x44fca9['has'](_0x4f1bec)){const _0x4dabc2=_0x5c8d37['item']['parent']['parent']['getAttribute']('vid_start'),_0x4d480e=_0x5dc2e5['get'](_0x4dabc2)||new Set();_0x4d480e['add'](_0x44fca9['get'](_0x4f1bec)['userId']),_0x5dc2e5['set'](_0x4dabc2,_0x4d480e);}}for(const _0x3ee550 of _0x5dc2e5['keys']())(_0x182589['has'](_0x3ee550)||_0x44fca9['has'](_0x3ee550))&&_0x5dc2e5['delete'](_0x3ee550);}for(const _0x503529 of _0x280c0b){const _0x567bb0=_0x47c243['insertions'][_0x503529];let _0xec4c66=null,_0x46086a=null;for(const _0x3fcc33 of _0x567bb0){const _0x30eaa9=this['_getVidAttributeName'](_0x3fcc33),_0x495974=_0x3fcc33['item']['getAttribute'](_0x30eaa9),_0x13c901=_0x5dc2e5['get'](_0x495974);_0x13c901&&'elementStart'==_0x3fcc33['type']&&(_0xec4c66=Array['from'](_0x13c901)[0x0],_0x46086a=_0x3fcc33['item']['getAttribute']('vid_end')),_0xec4c66&&(_0x44fca9['set'](_0x495974,{'userId':_0xec4c66}),_0x182589['set'](_0x495974,{'userId':_0xec4c66})),_0x495974==_0x46086a&&(_0xec4c66=null,_0x46086a=null);}}const _0x5675ae={},_0x2ef1b3=new Set();for(const _0x152e50 of _0x280c0b){const _0x3c05fd=_0xdc1410['deletions'][_0x152e50],_0x278887=_0xdc1410['insertions'][_0x152e50];for(const {userId:_0x51ea7f}of this['_touchedMarkers']['values']())null!==_0x51ea7f&&_0x2ef1b3['add'](_0x51ea7f);for(const {userId:_0x246000}of this['_touchedRoots']['values']())null!==_0x246000&&_0x2ef1b3['add'](_0x246000);this['_markChanges'](_0x278887,_0x47c243['insertions'][_0x152e50],_0x182589,'insertion',_0x2ef1b3),this['_markChanges'](_0x3c05fd,_0x47c243['deletions'][_0x152e50],_0x44fca9,'deletion',_0x2ef1b3),_0x5675ae[_0x152e50]={'insertions':this['_prepareViewToSave'](_0x278887),'deletions':this['_prepareViewToSave'](_0x3c05fd),'attachChange':this['_touchedRoots']['get'](_0x152e50)||null,'attributesBefore':_0x3b53d0(this['_baseRootsAttributes']['get'](_0x152e50))||{},'attributesAfter':_0x3b53d0(this['_diffRootsAttributes']['get'](_0x152e50))};}return{'diffData':_0x5675ae,'authorsIds':Array['from'](_0x2ef1b3)};}['_processRootBeforeSave'](_0x3e1965){for(const [,_0x1e6d86]of _0x3e1965['markers']){const _0x31546f=_0x1e6d86['start']['getAncestors']()['filter'](_0x356713=>'tableCell'==_0x356713['name']);for(const _0xfb41f0 of _0x31546f)0x1==_0xfb41f0['childCount']&&_0xfb41f0['getChild'](0x0)['is']('element','paragraph')&&_0xfb41f0['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xa5c2e4){this['_processRootBeforeSave'](_0xa5c2e4);const _0x1cb155=this['editor']['data']['toView'](_0xa5c2e4,{}),_0x342538=Array['from'](_0x1cb155['getChildren']())['map'](_0x5b7bbd=>this['_getViewJson'](_0x5b7bbd));return JSON['stringify'](_0x342538);}['_getViewJson'](_0x113ac8){if(_0x113ac8['is']('$text'))return _0x113ac8['data'];{const _0x51c44f=_0x113ac8;return{'type':Object['keys'](T)['find'](_0x4917c3=>_0x113ac8 instanceof T[_0x4917c3]),'name':_0x51c44f['name'],'attributes':Array['from'](_0x51c44f['getAttributes']()),'children':Array['from'](_0x51c44f['getChildren']())['map'](_0x656411=>this['_getViewJson'](_0x656411))};}}['_markChanges'](_0x52d953,_0x1fa9bb,_0x26dcd5,_0x41e75f,_0x133112){let _0x572c90=null,_0x473091=null,_0xae08fb=0x0;const _0x280871=this['editor']['model'];for(let _0x16c2a4=0x0;_0x16c2a4<_0x1fa9bb['length'];_0x16c2a4++){const _0x41aab1=this['_getVidAttributeName'](_0x1fa9bb[_0x16c2a4]),_0x46bdfa=_0x1fa9bb[_0x16c2a4]['item']['getAttribute'](_0x41aab1),_0x25c88a=_0x26dcd5['get'](_0x46bdfa),_0xc58c19=_0x16c2a4==_0x1fa9bb['length']-0x1;(!_0x572c90&&_0x25c88a&&(_0x572c90=_0x25c88a,_0x473091=_0x1fa9bb[_0x16c2a4]),_0x572c90&&(!_0x25c88a||_0x25c88a['userId']!=_0x572c90['userId']))&&(_0x435388(_0x25c88a,L(_0x473091,_0x52d953,_0x280871),L(_0x1fa9bb[_0x16c2a4],_0x52d953,_0x280871)),_0x572c90=_0x25c88a||null,_0x473091=_0x25c88a?_0x1fa9bb[_0x16c2a4]:null),_0x572c90&&_0xc58c19&&_0x435388(_0x25c88a,L(_0x473091,_0x52d953,_0x280871),W(_0x1fa9bb[_0x16c2a4],_0x52d953,_0x280871));}function _0x435388(_0x2bc57e,_0x43133c,_0x161798){const _0x19975b=_0x572c90['userId'],_0x4c2e5b='revision:'+_0x41e75f+':'+_0x19975b+':'+_0xae08fb++,_0x5ecb85=_0x280871['createRange'](_0x43133c,_0x161798);_0x52d953['markers']['set'](_0x4c2e5b,_0x5ecb85),null!==_0x19975b&&_0x133112['add'](_0x19975b);}}['_getVidAttributeName'](_0x23a8fd){switch(_0x23a8fd['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4441bb,_0x530d86){_0x4441bb['baseVersion']=null;for(const _0x6030be in _0x4441bb){const _0x2e78d0=_0x4441bb[_0x6030be];if(_0x2e78d0 instanceof gt){const _0x16e4c9=_0x530d86['get'](_0x2e78d0['root']['rootName']);_0x4441bb[_0x6030be]=this['_fixPosition'](_0x2e78d0,_0x16e4c9);}if(_0x2e78d0 instanceof vt){const _0x2ee6f4=_0x530d86['get'](_0x2e78d0['root']['rootName']);_0x4441bb[_0x6030be]=this['_fixRange'](_0x2e78d0,_0x2ee6f4);}'root'===_0x6030be&&(_0x4441bb['root']=_0x530d86['get'](_0x4441bb['root']['rootName']));}}['_fixRange'](_0x3e7f1d,_0x1d4222){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3e7f1d['start'],_0x1d4222),this['_fixPosition'](_0x3e7f1d['end'],_0x1d4222));}['_fixPosition'](_0x49d5a7,_0x955397){return this['editor']['model']['createPositionFromPath'](_0x955397,_0x49d5a7['path'],_0x49d5a7['stickiness']);}['_handleInsertOperation'](_0x3e378d){const _0x45be34=this['_idsRoots']['get'](_0x3e378d['position']['root']['rootName']),_0x2e8b76=this['_fixPosition'](_0x3e378d['position'],_0x45be34),_0x2c2ef0=null===_0x3e378d['_authorId']?null:_0x3e378d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9e6246=_0x2e8b76['parent'],_0x10b01e=this['_revisionId'],_0x2fd7f4=[];for(const _0x16eb06 of _0x3e378d['nodes'])if(_0x16eb06['is']('element'))_0x2fd7f4['push'](this['_makeIdsRoot'](_0x16eb06));else{for(let _0x586c78=0x0;_0x586c78<_0x16eb06['offsetSize'];_0x586c78++)_0x2fd7f4['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x107aa=this['_revisionId'];for(let _0x1513b6=_0x10b01e;_0x1513b6<_0x107aa;_0x1513b6++)this['_touched']['set'](_0x1513b6,{'userId':_0x2c2ef0});_0x9e6246['_insertChild'](_0x2e8b76['offset'],_0x2fd7f4);}['_handleMoveOperation'](_0x2cfa40){(_0x2cfa40=this['_cloneOperation'](_0x2cfa40,this['_idsRoots']))['_execute']();const _0x5e2504=null===_0x2cfa40['_authorId']?null:_0x2cfa40['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x8b7814=_0x2cfa40['getMovedRangeStart'](),_0x1f1910=_0x8b7814['parent'],_0x3999d7=_0x8b7814['offset'];!function _0x5a099c(_0x576fda,_0x2aafdf,_0xf9bd83,_0x2c25f4){for(let _0x5ae2e4=_0xf9bd83;_0x5ae2e4<_0x2c25f4;_0x5ae2e4++){const _0x49e3e7=_0x2aafdf['getChild'](_0x5ae2e4);_0x49e3e7['is']('element','$text')?_0x576fda['set'](_0x49e3e7['getAttribute']('vid'),{'userId':_0x5e2504}):(_0x576fda['set'](_0x49e3e7['getAttribute']('vid_start'),{'userId':_0x5e2504}),_0x5a099c(_0x576fda,_0x49e3e7,0x0,_0x49e3e7['childCount']),_0x576fda['set'](_0x49e3e7['getAttribute']('vid_end'),{'userId':_0x5e2504}));}}(this['_touched'],_0x1f1910,_0x3999d7,_0x3999d7+_0x2cfa40['howMany']);}['_handleMergeOperation'](_0x50962e){const _0xf20f79=null===(_0x50962e=this['_cloneOperation'](_0x50962e,this['_idsRoots']))['_authorId']?null:_0x50962e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x219921=_0x50962e['targetPosition']['parent'],_0x4c16cf=_0x50962e['sourcePosition']['parent'],_0x1a5eac=_0x219921['getAttribute']('vid_end'),_0x12b089=_0x4c16cf['getAttribute']('vid_start');_0x219921['_setAttribute']('vid_end',_0x4c16cf['getAttribute']('vid_end')),_0x4c16cf['_setAttribute']('vid_end',_0x1a5eac),this['_touched']['set'](_0x12b089,{'userId':_0xf20f79}),this['_touched']['set'](_0x1a5eac,{'userId':_0xf20f79}),_0x50962e['_execute']();}['_handleSplitOperation'](_0x122c5f){const _0x45adeb=null===(_0x122c5f=this['_cloneOperation'](_0x122c5f,this['_idsRoots']))['_authorId']?null:_0x122c5f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1cf9fa=_0x122c5f['graveyardPosition'],_0x4296f7=_0x122c5f['splitPosition']['parent'];_0x122c5f['_execute']();const _0x10abd2=_0x4296f7['getAttribute']('vid_end'),_0xf70915=_0x122c5f['insertionPosition']['nodeAfter'];if(_0x1cf9fa){const _0x2f369c=_0xf70915['getAttribute']('vid_end'),_0x2c5a8c=_0x4296f7['getAttribute']('vid_end');_0x4296f7['_setAttribute']('vid_end',_0x2f369c),_0xf70915['_setAttribute']('vid_end',_0x2c5a8c),this['_touched']['set'](_0x4296f7['getAttribute']('vid_end'),{'userId':_0x45adeb}),this['_touched']['set'](_0xf70915['getAttribute']('vid_start'),{'userId':_0x45adeb});}else{const _0x59096e=this['_revisionId']++,_0x3237a7=this['_revisionId']++;_0x4296f7['_setAttribute']('vid_end',_0x59096e),_0xf70915['_setAttribute']('vid_start',_0x3237a7),_0xf70915['_setAttribute']('vid_end',_0x10abd2),this['_touched']['set'](_0x59096e,{'userId':_0x45adeb}),this['_touched']['set'](_0x3237a7,{'userId':_0x45adeb});}}['_handleMarkerOperation'](_0x4f8fce){if(!_0x4f8fce['affectsData'])return;const _0x466c75=(_0x4f8fce=this['_cloneOperation'](_0x4f8fce,this['_diffRoots']))['oldRange']?_0x4f8fce['oldRange']['root']:null,_0x14b21c=_0x4f8fce['newRange']?_0x4f8fce['newRange']['root']:null;_0x466c75&&this['_markers']['delete'](_0x4f8fce['name']),_0x14b21c&&this['_markers']['set'](_0x4f8fce['name'],_0x4f8fce['newRange']['clone']());const _0x2c5a48=null===_0x4f8fce['_authorId']?null:_0x4f8fce['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55c6dc=_0x4f8fce['name'];if(!this['_touchedMarkers']['has'](_0x55c6dc))return void this['_touchedMarkers']['set'](_0x55c6dc,{'range':_0x4f8fce['oldRange'],'userId':_0x2c5a48});const _0x2d8788=this['_touchedMarkers']['get'](_0x55c6dc),_0x2414a3=_0x2d8788['range'],_0x55b10b=_0x4f8fce['newRange'];null==_0x2414a3&&null==_0x55b10b||_0x2414a3&&_0x55b10b&&_0x2414a3['isEqual'](_0x55b10b)?this['_touchedMarkers']['delete'](_0x4f8fce['name']):_0x2d8788['userId']=_0x2c5a48;}['_handleRootOperation'](_0x4d8062,_0x4c4d9c){this['_diffRoots']['has'](_0x4d8062['rootName'])?this['_diffRoots']['get'](_0x4d8062['rootName'])['_isAttached']=_0x4d8062['isAdd']:(this['_diffRoots']['set'](_0x4d8062['rootName'],G(_0x4d8062['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4d8062['rootName'],{}),_0x4c4d9c&&this['_idsRoots']['set'](_0x4d8062['rootName'],G(_0x4d8062['rootName'],!0x0)));const _0x107f02=null===_0x4d8062['_authorId']?null:_0x4d8062['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x533123=this['_touchedRoots']['get'](_0x4d8062['rootName']);_0x533123&&_0x533123['userId']===_0x107f02?this['_touchedRoots']['delete'](_0x4d8062['rootName']):this['_touchedRoots']['set'](_0x4d8062['rootName'],{'userId':_0x107f02,'isAttached':_0x4d8062['isAdd']});}['_handleRootAttributeOperation'](_0x4041d1){const _0x7fcf13=this['_diffRootsAttributes']['get'](_0x4041d1['root']['rootName']);null===_0x4041d1['newValue']?delete _0x7fcf13[_0x4041d1['key']]:_0x7fcf13[_0x4041d1['key']]=_0x4041d1['newValue'];}}function q(_0x941c91){const _0x3dec30=G(_0x941c91['rootName'],_0x941c91['isAttached']());for(const _0x5c4119 of _0x941c91['getChildren']()){const _0x2c107f=_0x5c4119['_clone'](!0x0);_0x3dec30['_appendChild'](_0x2c107f);}return _0x3dec30;}function G(_0x517d42,_0xdcd4e4=!0x0){const _0x34a331=new wt();return _0x34a331['rootName']=_0x517d42,_0x34a331['_isAttached']=_0xdcd4e4,_0x34a331['isAttached']=()=>_0x34a331['_isAttached'],_0x34a331;}function L(_0x107bd9,_0xf3febc,_0x349fd3){const _0x2b37ae='elementEnd'==_0x107bd9['type']?_0x349fd3['createPositionAt'](_0x107bd9['item'],'end'):_0x349fd3['createPositionBefore'](_0x107bd9['item']);return _0x349fd3['createPositionFromPath'](_0xf3febc,_0x2b37ae['path'],_0x2b37ae['stickiness']);}function W(_0x37e299,_0x15a204,_0x134a62){const _0x4fc785='elementStart'==_0x37e299['type']?_0x134a62['createPositionAt'](_0x37e299['item'],0x0):_0x134a62['createPositionAfter'](_0x37e299['item']);return _0x134a62['createPositionFromPath'](_0x15a204,_0x4fc785['path'],_0x4fc785['stickiness']);}class ns extends _0x599840{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x43099f,_0x49b0ac){super(_0x43099f),this['focusTracker']=new _0x191c77(),this['keystrokes']=new _0x182285(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x49b0ac),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'](),_0x408e43({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xa85b6d=_0x2106ea=>_0x2106ea['stopPropagation']();this['keystrokes']['set']('arrowright',_0xa85b6d),this['keystrokes']['set']('arrowleft',_0xa85b6d),this['keystrokes']['set']('arrowup',_0xa85b6d),this['keystrokes']['set']('arrowdown',_0xa85b6d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x8215b5){this['revisionNameInputView']['fieldView']['element']['value']=_0x8215b5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x36fc4d){const _0x4b7673=new at(this['locale'],_0x4a4bb6),_0x33e4fd=_0x4b7673['fieldView'];_0x33e4fd['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x12c9d3=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x36fc4d&&(_0x12c9d3+='\x20('+y(this['locale'],'optional')+')'),(_0x4b7673['label']=_0x12c9d3,_0x33e4fd['on']('input',()=>{this['revisionNameInputValue']=_0x33e4fd['element']['value']['trim']();}),_0x4b7673);}}class u extends _0x2b45a5{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x292208=this['editor'],_0x257790=_0x292208['plugins']['get']('RevisionTracker');_0x292208['ui']['componentFactory']['add']('revisionHistory',_0x2b36d0=>{const _0x372c8a=_0x4c29e4(_0x2b36d0),_0x2611f7=_0x372c8a['panelView']['children'],_0x2199bc=new te(_0x2b36d0),_0x3e2a46=new _0x4771c9(_0x2b36d0),_0x1d1de0=new _0x4770f6(_0x2b36d0),_0x21c33b=new _0x4771c9(_0x2b36d0),_0x1f117d=new _0x4770f6(_0x2b36d0);return _0x372c8a['bind']('isEnabled')['to'](_0x257790,'isReady',_0x257790,'isEnabled',_0x292208,'isReadOnly',(_0x53e6c8,_0x1503fe,_0x5e256e)=>_0x53e6c8&&_0x1503fe&&!_0x5e256e),_0x372c8a['buttonView']['set']({'icon':_0x2dc80c['history'],'label':y(_0x2b36d0,'Revision\x20history'),'tooltip':!0x0}),_0x1d1de0['set']({'label':y(_0x2b36d0,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1d1de0['bind']('isEnabled')['to'](_0x257790,'isReady',_0x257790,'isEnabled',_0x292208,'isReadOnly',(_0x30be78,_0x2f48f7,_0x3776be)=>_0x30be78&&_0x2f48f7&&!_0x3776be),_0x1d1de0['on']('execute',()=>this['_showDialog']()),_0x1f117d['set']({'label':y(_0x2b36d0,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1f117d['bind']('isEnabled')['to'](_0x257790,'isReady',_0x292208,'isReadOnly',(_0x2653db,_0x286d40)=>_0x2653db&&!_0x286d40),_0x1f117d['on']('execute',()=>{_0x292208['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x372c8a['isOpen']=!0x1,_0x292208['editing']['view']['focus']();}),_0x3e2a46['children']['add'](_0x1d1de0),_0x21c33b['children']['add'](_0x1f117d),_0x2199bc['role']='menu',_0x2199bc['items']['addMany']([_0x3e2a46,_0x21c33b]),_0x2611f7['add'](_0x2199bc),_0x372c8a;}),_0x292208['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1c660b=this['editor'],_0x28eea1=_0x1c660b['locale'],_0x5cc58c=new _0x4490ae(_0x28eea1),_0x475919=new _0x2706e5(_0x28eea1);_0x5cc58c['buttonView']['set']({'icon':_0x2dc80c['history'],'label':y(_0x28eea1,'Revision\x20history')});const _0x584981=new _0x244bf3(_0x28eea1,_0x5cc58c),_0x3dfc86=new _0x1c12ea(_0x28eea1);_0x3dfc86['set']({'label':y(_0x28eea1,'Save\x20current\x20revision')}),_0x3dfc86['delegate']('execute')['to'](_0x5cc58c),_0x3dfc86['on']('execute',()=>{this['_showDialog']();}),_0x584981['children']['add'](_0x3dfc86),_0x475919['items']['add'](_0x584981);const _0x14a085=new _0x244bf3(_0x28eea1,_0x5cc58c),_0x266d29=new _0x1c12ea(_0x28eea1);return _0x266d29['set']({'label':y(_0x28eea1,'Open\x20revision\x20history')}),_0x266d29['delegate']('execute')['to'](_0x5cc58c),_0x266d29['on']('execute',()=>{_0x1c660b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x14a085['children']['add'](_0x266d29),_0x475919['items']['add'](_0x14a085),_0x5cc58c['panelView']['children']['add'](_0x475919),_0x5cc58c;}['_showDialog'](){const _0x5a767b=this['editor'],_0x413bfc=_0x5a767b['locale'],_0x31c245=_0x5a767b['plugins']['get']('Dialog'),_0x612242=_0x5a767b['plugins']['get']('RevisionTracker');function _0x26be6b(_0x143c15){_0x5a767b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x143c15['revisionName']?_0x143c15['revisionNameInputView']['errorText']=y(_0x413bfc,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5a767b['plugins']['get'](l)['saveRevision']({'name':_0x143c15['revisionName']}),_0x31c245['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x26be6b(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x31c245['show']({'id':'revisionSave','title':y(_0x413bfc,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x5a767b['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x31c245['hide']()},{'label':y(_0x5a767b['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5b28d9){_0x5b28d9['bind']('isEnabled')['to'](_0x612242,'isReady',_0x612242,'isEnabled',_0x5a767b,'isReadOnly',(_0xcd4a12,_0xb4e1ca,_0x332a11)=>_0xcd4a12&&_0xb4e1ca&&!_0x332a11);},'onExecute':()=>_0x26be6b(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x20b529=this['editor'],_0x1c94c0=_0x20b529['locale'];this['_saveRevisionFormView']=new ns(_0x1c94c0,_0x20b529['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x599840{['changeId'];['_model'];constructor(_0x3c15ae,_0x14a462){super(_0x3c15ae),this['_model']=_0x14a462,this['changeId']=_0x14a462['id'];const _0x321c2d=this['bindTemplate'],_0x29967b=y(_0x3c15ae,_0x14a462['data']['isSuggestion']?'Suggested\x20by':'add'==_0x14a462['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x14a462['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x321c2d['to']('type',_0x3b57ba=>'ck-revision-change__'+_0x3b57ba)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x29967b}]},{'text':'\x20'+_0x14a462['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x4217a1(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x33cf46){super(),this['id']=_0x33cf46['id']||_0x556e93(),this['author']=_0x33cf46['author'],this['type']=_0x33cf46['type'],this['data']=_0x33cf46['data']||{},this['rootName']=_0x33cf46['rootName'],this['set']('createdAt',_0x33cf46['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(_0x26b16b,_0x87f746){this['newRevisionId']=_0x26b16b,this['oldRevisionId']=_0x87f746,this['changes']=new _0x4fea06();}['_setChanges'](_0x33112e){for(const _0x2f17d3 of _0x33112e)this['changes']['add'](_0x2f17d3);}}const tt={'c':_0x19ebf8,'a':_0x54d143,'e':_0x576f36,'r':_0x213710,'u':_0x5b4d6c};class d extends _0x2b45a5{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x109311,_0x5c0173,A];}constructor(_0x52e193){super(_0x52e193),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',(_0xdca852,_0x4ca2b6,_0x10a0eb)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x444f14=>{for(const _0x557333 of this['editor']['editing']['view']['document']['roots'])_0x10a0eb?_0x444f14['removeClass']('ck-editor__editable__overlay',_0x557333):_0x444f14['addClass']('ck-editor__editable__overlay',_0x557333);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xb360b6=>null!==_0xb360b6),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x56ab11,_0x417705,_0x390285)=>_0x56ab11&&_0x390285?_0x417705['changes']['getIndex'](_0x390285):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x577da7,_0xfdbe57)=>_0x577da7?_0xfdbe57['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5c0173);}['init'](){const _0x327023=this['editor'],_0x432dca=new yt(_0x327023,{'direction':'backward'}),_0x304a82=new yt(_0x327023,{'direction':'forward'});(_0x327023['commands']['add']('showPreviousChange',_0x432dca),_0x327023['commands']['add']('showNextChange',_0x304a82),_0x327023['commands']['add']('restoreRevision',new bt(_0x327023)),this['on']('change:numberOfChanges',()=>{_0x432dca['refresh'](),_0x304a82['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x327023['enableReadOnlyMode']('revision-viewer'),_0x327023['plugins']['has']('WidgetToolbarRepository'))&&_0x327023['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x18b8d0){await this['loadRevisionData'](_0x18b8d0);const _0x38e480={};for(const _0x46cd3a in _0x18b8d0['diffData']){if(_0x18b8d0['diffData'][_0x46cd3a]['attachChange']&&!_0x18b8d0['diffData'][_0x46cd3a]['attachChange']['isAttached'])continue;const _0x196307=this['_removeRevisionMarkers'](JSON['parse'](_0x18b8d0['diffData'][_0x46cd3a]['insertions'])),_0x161b5b=this['editor']['editing']['view']['document'],_0x42219e=new _0x1e389f(_0x161b5b,_0x196307['map'](_0x3bc2ca=>this['_getViewObj'](_0x3bc2ca)));this['editor']['data']['processor']['useFillerType']('marked'),_0x38e480[_0x46cd3a]=this['editor']['data']['processor']['toData'](_0x42219e),this['editor']['data']['processor']['useFillerType']('default');}return _0x38e480;}async['getRevisionRootsAttributes'](_0x5808b2){await this['loadRevisionData'](_0x5808b2);const _0x4c3865={};for(const _0x2d5742 in _0x5808b2['diffData'])_0x5808b2['diffData'][_0x2d5742]['attachChange']&&!_0x5808b2['diffData'][_0x2d5742]['attachChange']['isAttached']||(_0x4c3865[_0x2d5742]=_0x5808b2['diffData'][_0x2d5742]['attributesAfter']||{});return _0x4c3865;}['_removeRevisionMarkers'](_0x58b5ae){return(_0x58b5ae=_0x58b5ae['filter'](_0x26773d=>!_0x26773d['name']||'revision-start'!==_0x26773d['name']&&'revision-end'!==_0x26773d['name']))['forEach'](_0x4d7982=>{'string'!=typeof _0x4d7982&&(_0x4d7982['children']=this['_removeRevisionMarkers'](_0x4d7982['children']),_0x4d7982['attributes']=_0x4d7982['attributes']['filter'](_0x1de2f3=>!_0x1de2f3[0x0]['startsWith']('data-revision-')));}),_0x58b5ae;}async['compare'](_0x3faf6a,_0xd430b6,_0x3b69e8=!0x1){if(!this['isEnabled'])return;const _0x69513=this['diff'],_0x3e6e73=this['repository'],_0x566534='string'==typeof _0x3faf6a?_0x3e6e73['getRevision'](_0x3faf6a):_0x3faf6a,_0x4c10b5='string'==typeof _0xd430b6?_0x3e6e73['getRevision'](_0xd430b6):_0xd430b6,_0x5c2fb0=_0x566534['id'],_0x2e0b80=_0x4c10b5?_0x4c10b5['id']:null;if(!_0x3b69e8&&this['diff']&&this['diff']['newRevisionId']===_0x5c2fb0&&this['diff']['oldRevisionId']===_0x2e0b80)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5c2fb0,_0x2e0b80);const _0x5d386f=this['_getRevisionsRange'](_0x566534,_0x4c10b5,!0x0)['map'](_0x1dbad0=>this['loadRevisionData'](_0x1dbad0));return _0x5d386f['push'](new Promise(_0x5d7235=>{setTimeout(_0x5d7235,0x14);})),Promise['all'](_0x5d386f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4fe6d3=this['_getDiff'](_0x5c2fb0,_0x2e0b80);for(const _0x2c8880 of _0x4fe6d3['changes'])this['_changeIdToChange']['set'](_0x2c8880['id'],_0x2c8880);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3ab9e5=>{for(const _0x3793d2 of this['editor']['model']['document']['getRootNames']())_0x3ab9e5['detachRoot'](_0x3793d2);for(const _0x19bcf3 of Object['keys'](_0x4fe6d3['model'])){const _0x2f5aa2=_0x3ab9e5['addRoot'](_0x19bcf3);for(const _0x3cd6cd of Object['keys'](_0x4fe6d3['attributes'][_0x19bcf3]))_0x3ab9e5['setAttribute'](_0x3cd6cd,_0x4fe6d3['attributes'][_0x19bcf3][_0x3cd6cd],_0x2f5aa2);_0x3ab9e5['insert'](_0x4fe6d3['model'][_0x19bcf3],_0x2f5aa2,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4fe6d3['changes'])),this['isReady']=!0x0;})['catch'](_0x268000=>{console['error'](_0x268000),this['_cleanUp'](),_0x69513&&(this['diff']=_0x69513),this['isReady']=!0x0;});}['addRevisionData'](_0x5bf780,_0xa37182){const _0xb9ca64=this['repository']['createRevision'](_0x5bf780);return _0xb9ca64['on']('_update',(_0x4f3a41,_0x38b119,_0x203988)=>_0xa37182(_0x38b119,_0x203988,_0xb9ca64)),this['repository']['addRevision'](_0xb9ca64),_0xb9ca64;}['loadRevisionData'](_0x195692){if(!_0x195692||_0x195692['diffData'])return Promise['resolve']();{const _0x5a7b43=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5a7b43,'revisionId':_0x195692['id']})['then'](_0x2ff665=>{_0x195692['_update']({'diffData':_0x2ff665['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},_0x524108=>{for(const _0x48a5cf of this['editor']['model']['document']['getRootNames']())_0x524108['detachRoot'](_0x48a5cf);});}['_sortAndFilterDiffChanges'](_0x58cffd){const _0x3badd7=[],_0x3e7153=new Map();for(const _0x56ce56 of this['editor']['model']['document']['getRootNames']()){const _0x3bd02f=this['editor']['editing']['view']['getDomRoot'](_0x56ce56);if(!_0x3bd02f)continue;const _0x2ae712=_0x3bd02f['getClientRects']()['item'](0x0);_0x2ae712&&(_0x3badd7['push'](_0x56ce56),_0x3e7153['set'](_0x56ce56,_0x2ae712));}return _0x3badd7['sort']((_0x5ba89e,_0x93f7f4)=>{const _0x22274e=_0x3e7153['get'](_0x5ba89e),_0x50f0fc=_0x3e7153['get'](_0x93f7f4);return _0x22274e['y']-_0x50f0fc['y']||_0x22274e['x']-_0x50f0fc['x'];}),(_0x58cffd=_0x58cffd['filter'](_0x21428f=>_0x3badd7['includes'](_0x21428f['rootName'])))['sort']((_0x4584ce,_0x398a51)=>_0x3badd7['indexOf'](_0x4584ce['rootName'])-_0x3badd7['indexOf'](_0x398a51['rootName'])),_0x58cffd;}['_makeTape'](_0x19b3ad){const _0x18ef4c=Array['from'](_0x19b3ad['markers'])['filter'](([_0x445870,_0x50f482])=>_0x445870['startsWith']('revision:')&&!_0x50f482['isCollapsed']),_0xc4a2f=Array['from'](this['editor']['model']['createRangeIn'](_0x19b3ad)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x18ef4c['length'])for(const _0x2a3939 of _0xc4a2f){const [_0x35030f,_0x41bebd]=_0x18ef4c[0x0],[,_0x5c6604,_0x1235cf]=_0x35030f['split'](':');if(_0x41bebd['end']['isEqual'](_0x2a3939['nextPosition'])&&_0x18ef4c['shift'](),(_0x2a3939['previousPosition']['isEqual'](_0x41bebd['start'])||_0x2a3939['previousPosition']['isAfter'](_0x41bebd['start']))&&('insertion'==_0x5c6604?_0x2a3939['isAdded']={'userId':_0x1235cf}:'deletion'==_0x5c6604&&(_0x2a3939['isRemoved']={'userId':_0x1235cf})),0x0==_0x18ef4c['length'])break;}return _0xc4a2f;}['_refreshStartEndIndex'](_0x54ad41){const _0x1f9306=new Map();for(let _0x10a48c=0x0;_0x10a48c<_0x54ad41['length'];_0x10a48c++)'text'===_0x54ad41[_0x10a48c]['type']?(_0x54ad41[_0x10a48c]['item']['startIndex']=_0x10a48c,_0x54ad41[_0x10a48c]['item']['endIndex']=_0x10a48c):('elementStart'===_0x54ad41[_0x10a48c]['type']?_0x54ad41[_0x10a48c]['item']['startIndex']=_0x10a48c:'elementEnd'===_0x54ad41[_0x10a48c]['type']&&(_0x54ad41[_0x10a48c]['item']['endIndex']=_0x10a48c),_0x1f9306['set'](_0x54ad41[_0x10a48c]['id'],_0x10a48c));for(const _0x173bdb of _0x1f9306['values']())'elementStart'===_0x54ad41[_0x173bdb]['type']?_0x54ad41[_0x173bdb]['item']['endIndex']=_0x1f9306['get'](_0x54ad41[_0x173bdb]['pairId']):'elementEnd'===_0x54ad41[_0x173bdb]['type']&&(_0x54ad41[_0x173bdb]['item']['startIndex']=_0x1f9306['get'](_0x54ad41[_0x173bdb]['pairId']));}['_processTape'](_0x1e24f7){for(let _0x100249=0x0;_0x100249<_0x1e24f7['length'];_0x100249++){if('elementStart'===_0x1e24f7[_0x100249]['type'])_0x1e24f7[_0x100249]['item']['startIndex']=_0x100249;else{if('elementEnd'===_0x1e24f7[_0x100249]['type']){_0x1e24f7[_0x100249]['item']['endIndex']=_0x100249;const _0x296527=_0x1e24f7[_0x100249]['item']['startIndex'];_0x1e24f7[_0x296527]['pairId']=_0x1e24f7[_0x100249]['id'],_0x1e24f7[_0x100249]['pairId']=_0x1e24f7[_0x296527]['id'];}else _0x1e24f7[_0x100249]['item']['startIndex']=_0x100249,_0x1e24f7[_0x100249]['item']['endIndex']=_0x100249,_0x1e24f7[_0x100249]['pairId']=null;}_0x1e24f7[_0x100249]['markersStart']||(_0x1e24f7[_0x100249]['markersStart']=[],_0x1e24f7[_0x100249]['markersEnd']=[]);}}['_markInsertions'](_0x23cc9d,_0x2dcfbf){const _0x5cfb79=_0x23cc9d['filter'](_0x5b90d1=>!_0x5b90d1['isAdded']);for(let _0x1958a6=0x0;_0x1958a6<_0x2dcfbf['length'];_0x1958a6++)_0x2dcfbf[_0x1958a6]['isAdded']&&(_0x5cfb79[_0x1958a6]['isAdded']=_0x2dcfbf[_0x1958a6]['isAdded']);}['_makeModelFromViewString'](_0x52cfae){const _0x217972=JSON['parse'](_0x52cfae),_0x2bb594=this['editor']['editing']['view']['document'],_0x411caf=new _0x1e389f(_0x2bb594,_0x217972['map'](_0x496f8f=>this['_getViewObj'](_0x496f8f)));return this['editor']['data']['toModel'](_0x411caf);}['_getViewObj'](_0x32cfee){const _0x24c83e=this['editor']['editing']['view']['document'];if('string'==typeof _0x32cfee)return new _0xb527f8(_0x24c83e,_0x32cfee);{const _0x4d6d80=_0x32cfee['children']['map'](_0x353c0a=>this['_getViewObj'](_0x353c0a));return new(tt[_0x32cfee['type']]||_0x160695)(_0x24c83e,_0x32cfee['name'],_0x32cfee['attributes'],_0x4d6d80);}}['_getDiff'](_0x3a173c,_0x167f08=null){const _0x499652=this['repository']['getRevision'](_0x3a173c),_0x33711b=_0x167f08?this['repository']['getRevision'](_0x167f08):null,_0x11a75a=this['_getRevisionsRange'](_0x499652,_0x33711b),_0x3d2587=_0x11a75a[_0x11a75a['length']-0x1],_0x55b8bc=new Map(),_0x34c0b9={'model':{},'attributes':{},'changes':[]},_0x418101=new Set(),_0x2d4f7d=new Map();for(let _0x5c3b80=_0x11a75a['length']-0x1;_0x5c3b80>=0x0;_0x5c3b80--){const _0x1555a3=_0x11a75a[_0x5c3b80];for(const _0x2a0942 of Object['keys'](_0x1555a3['diffData']))if(_0x1555a3['diffData'][_0x2a0942]['attachChange']){const _0x16d8ee=_0x1555a3['diffData'][_0x2a0942]['attachChange'];_0x16d8ee['isAttached']?(_0x418101['add'](_0x2a0942),_0x2d4f7d['has'](_0x2a0942)&&_0x2d4f7d['get'](_0x2a0942)['userId']==_0x16d8ee['userId']?_0x2d4f7d['delete'](_0x2a0942):_0x2d4f7d['set'](_0x2a0942,_0x16d8ee)):_0x2d4f7d['has'](_0x2a0942)?(_0x418101['delete'](_0x2a0942),_0x2d4f7d['delete'](_0x2a0942)):(_0x418101['add'](_0x2a0942),_0x2d4f7d['set'](_0x2a0942,_0x16d8ee));}else _0x418101['add'](_0x2a0942);}for(const _0x3a43ec of _0x418101){const _0xc0e3fc=_0x2d4f7d['has'](_0x3a43ec)&&!_0x2d4f7d['get'](_0x3a43ec)['isAttached'];let _0x2e4cf9=_0xc0e3fc?_0x11a75a['length']-0x1:0x0;const _0x6a4937=_0xc0e3fc?-0x1:0x1;for(;_0x11a75a[_0x2e4cf9];){const _0x22c50f=_0x11a75a[_0x2e4cf9];if(_0x22c50f['diffData'][_0x3a43ec]){const _0x433dd8=_0xc0e3fc?_0x22c50f['diffData'][_0x3a43ec]['attributesBefore']:_0x22c50f['diffData'][_0x3a43ec]['attributesAfter'];_0x34c0b9['attributes'][_0x3a43ec]=_0x433dd8?_0x3b53d0(_0x433dd8):{};break;}_0x2e4cf9+=_0x6a4937;}}for(const _0x4860b7 of _0x11a75a){_0x4860b7['model']={};for(const _0x4f183f of _0x4860b7['authors'])_0x55b8bc['set'](_0x4f183f['id'],_0x4f183f);for(const _0x4d3ac9 of _0x418101){const _0x29f6c2=_0x4860b7['diffData'][_0x4d3ac9]?_0x4860b7['diffData'][_0x4d3ac9]['insertions']:'[]',_0x416801=_0x4860b7['diffData'][_0x4d3ac9]?_0x4860b7['diffData'][_0x4d3ac9]['deletions']:'[]';_0x4860b7['model'][_0x4d3ac9]={'insertions':this['_makeModelFromViewString'](_0x29f6c2),'deletions':this['_makeModelFromViewString'](_0x416801)};}}for(const _0x4ae64f of _0x418101){let _0x1b9ca8=null,_0x2aa26d=0x0;const _0x4637a4=new Map(Array['from'](_0x499652['model'][_0x4ae64f]['insertions']['markers'])['filter'](([_0x2ae607])=>!_0x2ae607['startsWith']('revision:')));let _0x86c0ec=0x0;for(const _0x3b97d9 of _0x11a75a){const _0x456062=this['_makeTape'](_0x3b97d9['model'][_0x4ae64f]['insertions']);_0x3b97d9==_0x499652?(_0x1b9ca8=_0x456062,_0x2aa26d=_0x1b9ca8['length'],_0x1b9ca8['forEach'](_0x3b44bc=>{_0x3b44bc['id']=_0x86c0ec++;}),this['_processTape'](_0x1b9ca8)):this['_markInsertions'](_0x1b9ca8,_0x456062);const _0x2ea569=_0x1b9ca8['filter'](_0x3cbd7c=>!_0x3cbd7c['isAdded'])['map'](_0x2e4706=>_0x2e4706['id']);let _0x23d6b7=0x0;const _0x1aa050=this['_makeTape'](_0x3b97d9['model'][_0x4ae64f]['deletions']);_0x1aa050['forEach'](_0x45355a=>{_0x45355a['isRemoved']?_0x45355a['id']=_0x2aa26d++:_0x45355a['id']=_0x2ea569[_0x23d6b7++];}),this['_processTape'](_0x1aa050),this['_setDistance'](_0x1b9ca8,'isAdded'),this['_setDistance'](_0x1aa050,'isRemoved'),_0x3b97d9==_0x499652&&this['_markMarkers'](_0x1b9ca8,_0x4637a4),_0x1b9ca8=this['_joinTapes'](_0x1b9ca8,_0x1aa050),this['_refreshStartEndIndex'](_0x1b9ca8),this['_setDistance'](_0x1b9ca8,'isRemoved');}_0x1b9ca8=_0x1b9ca8['filter'](_0x389fe0=>!(_0x389fe0['isAdded']&&_0x389fe0['isRemoved']));const _0x3a4d5b=new Map(_0x3d2587['model'][_0x4ae64f]['deletions']['markers']),_0x4692fe=new Set(_0x4637a4['keys']());for(const _0x1a2cb0 of _0x3a4d5b['keys']())_0x4692fe['delete'](_0x1a2cb0);this['_markSuggestions'](_0x1b9ca8,_0x4692fe),this['_fixObsoleteTags'](_0x1b9ca8),_0x1b9ca8=this['_removeMissingPairs'](_0x1b9ca8),_0x1b9ca8=this['_markMismatchedRemovedTags'](_0x1b9ca8),_0x1b9ca8=this['_removeUnsupportedChanges'](_0x1b9ca8);const {root:_0xae2821,changes:_0x4b9544}=this['_makeModelFromTape'](_0x1b9ca8,_0x55b8bc,_0x4ae64f);_0x34c0b9['model'][_0x4ae64f]=_0xae2821;const _0x3ec55a=_0x2d4f7d['get'](_0x4ae64f);if(_0x3ec55a){const _0x17de19=_0x55b8bc['get'](_0x3ec55a['userId']),_0x1ac364=new r({'author':_0x17de19,'type':_0x3ec55a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4ae64f});_0x4b9544['unshift'](_0x1ac364),_0x34c0b9['attributes'][_0x4ae64f]['revisionHistoryAttachChange']=_0x1ac364['id'];}_0x34c0b9['changes']=_0x34c0b9['changes']['concat'](_0x4b9544);}return _0x34c0b9;}['_markMarkers'](_0x518f7c,_0x59be84){for(let _0x5a6dfd=0x0;_0x5a6dfd<_0x518f7c['length'];_0x5a6dfd++)for(const [_0x21bf09,_0x5498dd]of _0x59be84)_0x5498dd['start']['isEqual'](_0x518f7c[_0x5a6dfd]['previousPosition'])&&_0x518f7c[_0x5a6dfd]['markersStart']['push'](_0x21bf09),_0x5498dd['end']['isEqual'](_0x518f7c[_0x5a6dfd]['nextPosition'])&&_0x518f7c[_0x5a6dfd]['markersEnd']['push'](_0x21bf09);}['_joinTapes'](_0x55a5e0,_0x592999){let _0x25bc7c=[],_0x33bb38=0x0,_0x2f8622=0x0;for(;_0x33bb38<_0x55a5e0['length']||_0x2f8622<_0x592999['length'];){const _0x2e7959=_0x55a5e0[_0x33bb38]||{},_0xfafef4=_0x592999[_0x2f8622]||{};if(_0x2e7959['id']==_0xfafef4['id'])_0x33bb38++,_0x2f8622++,_0x25bc7c['push'](_0x2e7959);else{if(_0xfafef4['isRemoved']&&_0x2e7959['isAdded']){const {commonTape:_0x1e9e1b,iEnd:_0x4f006c,jEnd:_0x2cc32c}=this['_threeWayMerge'](_0x55a5e0,_0x33bb38,_0x592999,_0x2f8622);_0x25bc7c=_0x25bc7c['concat'](_0x1e9e1b),_0x33bb38=_0x4f006c,_0x2f8622=_0x2cc32c;}else _0xfafef4['isRemoved']?(_0x2f8622++,_0x25bc7c['push'](_0xfafef4)):(_0x33bb38++,_0x25bc7c['push'](_0x2e7959));}}return _0x25bc7c;}['_markSuggestions'](_0x5d6146,_0x3c5820){const _0x25bb87=[];for(let _0xb8540c=0x0;_0xb8540c<_0x5d6146['length'];_0xb8540c++){for(let _0x918386=0x0;_0x918386<_0x5d6146[_0xb8540c]['markersStart']['length'];_0x918386++){const _0x4cb643=_0x5d6146[_0xb8540c]['markersStart'][_0x918386];if(!_0x3c5820['has'](_0x4cb643))continue;const {group:_0x559f58,type:_0x2742da,authorId:_0x13e65e}=_0x5a37f4(_0x4cb643);'revision-suggestion'!=_0x559f58||'insertion'!=_0x2742da&&'deletion'!=_0x2742da||(_0x25bb87['unshift']({'type':_0x2742da,'name':_0x4cb643,'userId':_0x13e65e}),_0x5d6146[_0xb8540c]['markersStart']['splice'](_0x918386,0x1),_0x918386--);}_0x11477f(_0x5d6146[_0xb8540c]);for(let _0xd62d0c=0x0;_0xd62d0c<_0x5d6146[_0xb8540c]['markersEnd']['length'];_0xd62d0c++){const _0x8fc0c5=_0x5d6146[_0xb8540c]['markersEnd'][_0xd62d0c];if(!_0x3c5820['has'](_0x8fc0c5))continue;const {group:_0x26b46b,type:_0x540675}=_0x5a37f4(_0x8fc0c5);if('revision-suggestion'!=_0x26b46b||'insertion'!=_0x540675&&'deletion'!=_0x540675)continue;_0x5d6146[_0xb8540c]['markersEnd']['splice'](_0xd62d0c,0x1),_0xd62d0c--;const _0x4190dd=_0x25bb87['findIndex'](_0x504084=>_0x504084['name']==_0x8fc0c5);_0x4190dd>-0x1&&_0x25bb87['splice'](_0x4190dd,0x1);}}function _0x5a37f4(_0x23e8b7){const _0x133c20=_0x23e8b7['split'](':');return{'group':_0x133c20[0x0],'type':_0x133c20[0x1],'subType':_0x133c20['length']>=0x5?_0x133c20[0x2]:null,'id':_0x133c20['length']<0x5?_0x133c20[0x2]:_0x133c20[0x3],'authorId':_0x133c20['length']<0x5?_0x133c20[0x3]:_0x133c20[0x4],'markerCount':0x6==_0x133c20['length']?_0x133c20[0x5]:null};}function _0x11477f(_0x14f3fb){for(let _0xebc69b=0x0;_0xebc69b<_0x25bb87['length'];_0xebc69b++){if(_0x14f3fb['isAdded']&&'insertion'==_0x25bb87[_0xebc69b]['type'])return _0x14f3fb['isAddSuggestion']=_0x25bb87[_0xebc69b],void delete _0x14f3fb['isAdded'];if(!_0x14f3fb['isAdded']&&!_0x14f3fb['isRemoved']&&'deletion'==_0x25bb87[_0xebc69b]['type'])return void(_0x14f3fb['isRemoveSuggestion']=_0x25bb87[_0xebc69b]);}}}['_setDistance'](_0x5149b2,_0x1634ef){let _0xab3778=0x0,_0x56842d=!0x1;const _0x4ce344=new Map();for(const _0x5a2f40 of _0x5149b2)_0x5a2f40[_0x1634ef]?_0x56842d&&(_0xab3778++,_0x56842d=!0x1):(_0xab3778++,_0x56842d=!0x0),_0x4ce344['set'](_0x5a2f40['id'],_0xab3778);for(let _0x3093f2=0x0;_0x3093f2<_0x5149b2['length'];_0x3093f2++){if('isRemoved'==_0x1634ef&&_0x5149b2[_0x3093f2]['isAdded']||'isAdded'==_0x1634ef&&_0x5149b2[_0x3093f2]['isRemoved'])continue;if('text'==_0x5149b2[_0x3093f2]['type']){_0x5149b2[_0x3093f2]['distance']=0x0;continue;}const _0x30b94d=_0x4ce344['get'](_0x5149b2[_0x3093f2]['pairId']),_0x21246a=_0x4ce344['get'](_0x5149b2[_0x3093f2]['id']);_0x5149b2[_0x3093f2]['distance']=_0x30b94d-_0x21246a;}}['_getRevisionsRange'](_0x5a86cd,_0x23345e,_0x4a9116=!0x1){const _0x103276=[];let _0xb92e7e=this['repository']['getIndex'](_0x5a86cd),_0x5136f7=this['repository']['getIndex'](_0x23345e);for(-0x1==_0x5136f7&&(_0x5136f7=this['repository']['_revisions']['length'],_0x4a9116=!0x1);_0xb92e7e<_0x5136f7;)_0x103276['push'](this['repository']['getRevision'](_0xb92e7e)),_0xb92e7e++;return _0x4a9116&&_0x103276['push'](this['repository']['getRevision'](_0xb92e7e)),_0x103276;}['_threeWayMerge'](_0x4a1fee,_0x3ba59d,_0x512dfc,_0x1ed6c1){const _0x3ccf95=this['editor']['model']['schema'];let _0x5a08cd=_0x3ba59d;for(;_0x4a1fee[_0x5a08cd]&&_0x4a1fee[_0x5a08cd]['isAdded'];)_0x5a08cd++;let _0x45f842=_0x1ed6c1;for(;_0x512dfc[_0x45f842]&&_0x512dfc[_0x45f842]['isRemoved'];)_0x45f842++;_0x46b393(_0x4a1fee,_0x3ba59d,_0x5a08cd),_0x46b393(_0x512dfc,_0x1ed6c1,_0x45f842);const _0x1b1033=_0x512dfc['slice'](_0x1ed6c1,_0x45f842)['concat'](_0x4a1fee['slice'](_0x3ba59d,_0x5a08cd));return _0x1b1033['sort']((_0x1d5577,_0x508d96)=>_0x1d5577['side']!=_0x508d96['side']?_0x1d5577['side']-_0x508d96['side']:_0x1d5577['level']!=_0x508d96['level']?_0x1d5577['level']-_0x508d96['level']:_0x1d5577['distance']!=_0x508d96['distance']?_0x508d96['distance']-_0x1d5577['distance']:!!_0x1d5577['isAdded']!=!!_0x508d96['isAdded']?-0x1==_0x1d5577['side']||0x0==_0x1d5577['side']?_0x1d5577['isAdded']?-0x1:0x1:_0x1d5577['isAdded']?0x1:-0x1:_0x1d5577['index']-_0x508d96['index']),{'commonTape':_0x1b1033,'iEnd':_0x5a08cd,'jEnd':_0x45f842};function _0x46b393(_0x506dee,_0x2ca968,_0x10b25f){let _0x4f6741=-0x1,_0x16fd50=Number['POSITIVE_INFINITY'],_0x35844d=!0x0;for(let _0x6115df=_0x2ca968;_0x6115df<_0x10b25f;_0x6115df++)if(_0x3ccf95['isInline'](_0x506dee[_0x6115df]['item'])||(_0x35844d=!0x1),_0x506dee[_0x6115df]['item']['startIndex']<_0x2ca968&&(_0x4f6741=_0x6115df),_0x506dee[_0x6115df]['item']['endIndex']>=_0x10b25f){_0x16fd50=_0x6115df;break;}_0x35844d&&(_0x4f6741=_0x10b25f-0x1);for(let _0x917ac7=_0x2ca968;_0x917ac7<_0x10b25f;_0x917ac7++)_0x506dee[_0x917ac7]['side']=_0x917ac7<=_0x4f6741?-0x1:_0x917ac7<_0x16fd50?0x0:0x1,_0x506dee[_0x917ac7]['index']=_0x917ac7;let _0x4ea108=0x0;for(let _0x4859a4=_0x2ca968;_0x4859a4<=_0x4f6741;_0x4859a4++)0x0==_0x506dee[_0x4859a4]['distance']?_0x506dee[_0x4859a4]['level']=_0x4ea108:(_0x4ea108++,_0x506dee[_0x4859a4]['level']=_0x4ea108,_0x4ea108++);for(let _0x32fc7a=_0x2ca968;_0x32fc7a<_0x10b25f;_0x32fc7a++)0x0==_0x506dee[_0x32fc7a]['side']&&(_0x506dee[_0x32fc7a]['level']=_0x4ea108);_0x4ea108=0x0;for(let _0x243426=_0x10b25f-0x1;_0x243426>=_0x16fd50;_0x243426--)0x0==_0x506dee[_0x243426]['distance']?_0x506dee[_0x243426]['level']=_0x4ea108:(_0x4ea108--,_0x506dee[_0x243426]['level']=_0x4ea108,_0x4ea108--);}}['_fixObsoleteTags'](_0x2c55d3){const _0x1abee2=new Map(),_0x22fa4a=this['editor']['model']['schema'];for(let _0x6a767a=0x1;_0x6a767a<_0x2c55d3['length'];_0x6a767a++){let _0x261e03,_0x5bfc26,_0x3e4df7;const _0x160d1e=_0x2c55d3[_0x6a767a],_0x5b5ba0=_0x2c55d3[_0x6a767a-0x1];if('text'==_0x160d1e['type'])continue;if(_0x160d1e['type']!=_0x5b5ba0['type'])continue;if(!_0x22fa4a['isBlock'](_0x5b5ba0['item'])||_0x22fa4a['isLimit'](_0x5b5ba0['item']))continue;if(!_0x22fa4a['isBlock'](_0x160d1e['item'])||_0x22fa4a['isLimit'](_0x160d1e['item']))continue;if((_0x2c55d3[_0x6a767a]['isAdded']||_0x2c55d3[_0x6a767a]['isAddSuggestion'])&&_0x2c55d3[_0x6a767a-0x1]['isRemoved'])_0x261e03=_0x2c55d3[_0x6a767a],_0x5bfc26=_0x2c55d3[_0x6a767a-0x1],_0x3e4df7=_0x6a767a-0x1;else{if(!_0x2c55d3[_0x6a767a]['isRemoved']||!_0x2c55d3[_0x6a767a-0x1]['isAdded']&&!_0x2c55d3[_0x6a767a-0x1]['isAddSuggestion'])continue;_0x261e03=_0x2c55d3[_0x6a767a-0x1],_0x5bfc26=_0x2c55d3[_0x6a767a],_0x3e4df7=_0x6a767a;}const _0x5ef09d=_0x261e03['level']==_0x5bfc26['level'],_0xd49cb1=Math['abs'](_0x261e03['level'])<Math['abs'](_0x5bfc26['level'])&&0x0==_0x5bfc26['distance'];(_0x5ef09d||_0xd49cb1)&&(_0x1abee2['set'](_0x5bfc26['id'],_0x261e03['id']),_0x2c55d3['splice'](_0x3e4df7,0x1),_0x6a767a--,_0x261e03['isAdded']=!0x1);}for(let _0x3d7695=0x0;_0x3d7695<_0x2c55d3['length'];_0x3d7695++)_0x1abee2['has'](_0x2c55d3[_0x3d7695]['pairId'])&&(_0x2c55d3[_0x3d7695]['pairId']=_0x1abee2['get'](_0x2c55d3[_0x3d7695]['pairId']));}['_removeMissingPairs'](_0x4bb8be){const _0x19373c=new Set(_0x4bb8be['map'](_0x11ef54=>_0x11ef54['id']));for(let _0x6c3929=0x0;_0x6c3929<_0x4bb8be['length'];_0x6c3929++)_0x19373c['has'](_0x4bb8be[_0x6c3929]['pairId'])||0x0==_0x4bb8be[_0x6c3929]['distance']||(_0x4bb8be[_0x6c3929]['isIncorrect']=!0x0);return _0x4bb8be['filter'](_0x28d7ca=>!_0x28d7ca['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2be4d0){const _0x38bac2=new Set();for(let _0x1c830e=0x0;_0x1c830e<_0x2be4d0['length'];_0x1c830e++){if(_0x38bac2['has'](_0x2be4d0[_0x1c830e]['id'])&&_0x2be4d0[_0x1c830e]['isRemoved']&&(_0x2be4d0[_0x1c830e]['isIncorrect']=!0x0),_0x2be4d0[_0x1c830e]['isIncorrect'])continue;if(0x0==_0x2be4d0[_0x1c830e]['distance'])continue;if('elementStart'!=_0x2be4d0[_0x1c830e]['type'])continue;if(null==_0x2be4d0[_0x1c830e]['pairId'])continue;let _0x173b54=_0x1c830e+0x1,_0x42d317=0x0;for(;_0x2be4d0[_0x173b54]['id']!=_0x2be4d0[_0x1c830e]['pairId'];)'elementStart'==_0x2be4d0[_0x173b54]['type']?_0x42d317++:'elementEnd'==_0x2be4d0[_0x173b54]['type']&&_0x42d317--,_0x173b54++;if(0x0!=_0x42d317){if(_0x2be4d0[_0x1c830e]['isRemoved'])_0x2be4d0[_0x1c830e]['isIncorrect']=!0x0;else{for(;_0x173b54!=_0x1c830e;)_0x2be4d0[_0x173b54]['isRemoved']&&0x0!=_0x2be4d0[_0x173b54]['distance']&&(_0x2be4d0[_0x173b54]['isIncorrect']=!0x0,_0x38bac2['add'](_0x2be4d0[_0x173b54]['pairId'])),_0x173b54--;}}}return _0x2be4d0['filter'](_0x50817e=>!_0x50817e['isIncorrect']);}['_removeUnsupportedChanges'](_0x39f659){const _0x457bdf=this['editor']['model']['schema'];for(let _0x4814ab=0x0;_0x4814ab<_0x39f659['length'];_0x4814ab++){if(!(_0x39f659[_0x4814ab]['isAdded']||_0x39f659[_0x4814ab]['isAddSuggestion']||_0x39f659[_0x4814ab]['isRemoved']||_0x39f659[_0x4814ab]['isRemoveSuggestion']))continue;if(0x0==_0x39f659[_0x4814ab]['distance'])continue;const _0x2cb0d1=_0x39f659[_0x4814ab]['item'];_0x457bdf['isBlock'](_0x2cb0d1)||_0x457bdf['isLimit'](_0x2cb0d1)||(_0x39f659[_0x4814ab]['isAdded']&&delete _0x39f659[_0x4814ab]['isAdded'],_0x39f659[_0x4814ab]['isAddSuggestion']&&delete _0x39f659[_0x4814ab]['isAddSuggestion'],_0x39f659[_0x4814ab]['isRemoveSuggestion']&&delete _0x39f659[_0x4814ab]['isRemoveSuggestion'],_0x39f659[_0x4814ab]['isRemoved']&&(_0x39f659[_0x4814ab]['isIncorrect']=!0x0));}return _0x39f659['filter'](_0x46ca42=>!_0x46ca42['isIncorrect']);}['_makeModelFromTape'](_0x248bbe,_0x1748a5,_0x1ed115){const _0x2949e3=new wt(),_0x4f6afa=[],_0x3dc00a=new Map(),_0x20424a=this['editor']['model'],_0x41ba9a=_0x20424a['schema'],_0x16c345=[_0x2949e3],_0x563809={},_0xed5bb6={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xed1832=null;const _0x40c6b5=[0x0];for(let _0x1f7dc1=0x0;_0x1f7dc1<_0x248bbe['length'];_0x1f7dc1++){let _0xa4bc70,_0x56cb14;if('elementStart'===_0x248bbe[_0x1f7dc1]['type']){_0xa4bc70=_0x20424a['createPositionFromPath'](_0x2949e3,_0x40c6b5);const _0x6b6060=new ft(_0x248bbe[_0x1f7dc1]['item']['name'],_0x248bbe[_0x1f7dc1]['item']['getAttributes']());_0x16c345[0x0]['_appendChild'](_0x6b6060),_0x40c6b5['push'](0x0),_0x16c345['unshift'](_0x6b6060),_0x56cb14=_0x20424a['createPositionFromPath'](_0x2949e3,_0x40c6b5),_0xed1832=null;}else{if('elementEnd'===_0x248bbe[_0x1f7dc1]['type'])_0x16c345['shift'](),_0xa4bc70=_0x20424a['createPositionFromPath'](_0x2949e3,_0x40c6b5),_0x40c6b5['pop'](),_0x40c6b5[_0x40c6b5['length']-0x1]++,_0x56cb14=_0x20424a['createPositionFromPath'](_0x2949e3,_0x40c6b5),_0xed1832=null;else{if(_0xa4bc70=_0x20424a['createPositionFromPath'](_0x2949e3,_0x40c6b5),_0xed1832&&_0x57d080(_0xed1832,_0x248bbe[_0x1f7dc1]['item']))_0xed1832['_data']+=_0x248bbe[_0x1f7dc1]['item']['data'];else{const _0x58cac9=new _t(_0x248bbe[_0x1f7dc1]['item']['data'],_0x248bbe[_0x1f7dc1]['item']['getAttributes']());_0x16c345[0x0]['_appendChild'](_0x58cac9),_0xed1832=_0x58cac9;}_0x40c6b5[_0x40c6b5['length']-0x1]+=_0x248bbe[_0x1f7dc1]['item']['offsetSize'],_0x56cb14=_0x20424a['createPositionFromPath'](_0x2949e3,_0x40c6b5);}}for(const _0xe5dab6 of _0x248bbe[_0x1f7dc1]['markersStart'])_0x3dc00a['set'](_0xe5dab6,{'start':_0xa4bc70,'end':null});_0x42c7b2('isRemoveSuggestion',_0x1f7dc1,_0xa4bc70,_0x56cb14),_0x42c7b2('isAddSuggestion',_0x1f7dc1,_0xa4bc70,_0x56cb14),_0x42c7b2('isRemoved',_0x1f7dc1,_0xa4bc70,_0x56cb14),_0x42c7b2('isAdded',_0x1f7dc1,_0xa4bc70,_0x56cb14);for(const _0x4c55b8 of _0x248bbe[_0x1f7dc1]['markersEnd']){_0x3dc00a['get'](_0x4c55b8)['end']=_0x56cb14;}}for(const [_0x35cf95,_0x4d87e2]of _0x3dc00a){const _0x4ce1e6=this['editor']['model']['createRange'](_0x4d87e2['start'],_0x4d87e2['end']);_0x2949e3['markers']['set'](_0x35cf95,_0x4ce1e6);}return _0x4f6afa['sort']((_0x591c5a,_0x14a9a6)=>{const _0x30215d=_0x2949e3['markers']['get']('revision:'+_0x591c5a['id']),_0xd989a7=_0x2949e3['markers']['get']('revision:'+_0x14a9a6['id']);return _0x30215d['start']['isBefore'](_0xd989a7['start'])?-0x1:_0x30215d['start']['isAfter'](_0xd989a7['start'])?0x1:_0x30215d['end']['isBefore'](_0xd989a7['end'])?-0x1:_0x30215d['end']['isAfter'](_0xd989a7['end'])?0x1:'add'===_0x591c5a['type']?-0x1:0x1;}),{'root':_0x2949e3,'changes':_0x4f6afa};function _0x42c7b2(_0x2feb3a,_0x320407,_0x453b61,_0x10215d){const _0x285daf=!!_0x248bbe[_0x320407][_0x2feb3a],_0x4253af=_0x285daf?_0x248bbe[_0x320407][_0x2feb3a]['userId']:null,_0x28cda7=_0x320407===_0x248bbe['length']-0x1,_0x12b06f=_0xed5bb6[_0x2feb3a][0x0],_0x51285a=_0x41ba9a['isObject'](_0x248bbe[_0x320407]['item']);!_0x563809[_0x2feb3a]&&_0x285daf?_0x563809[_0x2feb3a]={'start':_0x453b61,'tapeItem':_0x248bbe[_0x320407],'userId':_0x4253af,'type':_0x2feb3a}:_0x563809[_0x2feb3a]&&!_0x285daf?(_0x563809[_0x2feb3a]['end']=_0x453b61,_0x125ab2(_0x563809[_0x2feb3a]),_0x563809[_0x2feb3a]=null):_0x563809[_0x2feb3a]&&_0x285daf&&_0x563809[_0x2feb3a]['userId']!==_0x4253af&&(_0x563809[_0x2feb3a]['end']=_0x453b61,_0x12b06f&&_0x12b06f['userId']===_0x563809[_0x2feb3a]['userId']||_0x125ab2(_0x563809[_0x2feb3a]),_0x563809[_0x2feb3a]={'start':_0x453b61,'tapeItem':_0x248bbe[_0x320407],'userId':_0x4253af,'type':_0x2feb3a}),_0x563809[_0x2feb3a]&&_0x51285a&&('elementStart'!==_0x248bbe[_0x320407]['type']||_0x12b06f&&_0x12b06f['userId']===_0x4253af||_0xed5bb6[_0x2feb3a]['unshift']({'userId':_0x4253af,'object':_0x248bbe[_0x320407]['item'],'change':_0x563809[_0x2feb3a]}),'elementEnd'===_0x248bbe[_0x320407]['type']&&_0x12b06f&&_0x12b06f['object']===_0x248bbe[_0x320407]['item']&&(_0xed5bb6[_0x2feb3a]['shift'](),_0x563809[_0x2feb3a]=_0x12b06f['change'])),_0x563809[_0x2feb3a]&&_0x28cda7&&(_0x563809[_0x2feb3a]['end']=_0x10215d,_0x125ab2(_0x563809[_0x2feb3a]),_0x563809[_0x2feb3a]=null);}function _0x125ab2({start:_0x52e142,end:_0x1fb5be,tapeItem:_0x4caaad,userId:_0x1169f9,type:_0x22bd71}){const _0xbd7f15=_0x4caaad['item'],_0x58f7e0=_0x20424a['schema']['isBlock'](_0xbd7f15)&&!_0x20424a['schema']['isLimit'](_0xbd7f15),_0x33236d=_0x52e142['nodeAfter']==_0x1fb5be['parent']&&_0x1fb5be['isAtStart'];if(_0x58f7e0&&_0x33236d)return;const _0x8a673a=_0x20424a['createRange'](_0x52e142,_0x1fb5be),_0x158d47=_0x1748a5['get'](_0x1169f9),_0x53f9ea=new r({'author':_0x158d47,'type':'isAdded'==_0x22bd71||'isAddSuggestion'==_0x22bd71?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x22bd71||'isRemoveSuggestion'==_0x22bd71},'createdAt':new Date(),'rootName':_0x1ed115});_0x4f6afa['push'](_0x53f9ea),_0x2949e3['markers']['set']('revision:'+_0x53f9ea['id'],_0x8a673a);}function _0x57d080(_0x27cbcc,_0x2c147c){const _0x53c455=_0x27cbcc['getAttributes'](),_0x5c9bb4=_0x2c147c['getAttributes']();for(const _0x44ee4a of _0x53c455){if(_0x44ee4a[0x1]!==_0x2c147c['getAttribute'](_0x44ee4a[0x0]))return!0x1;_0x5c9bb4['next']();}return _0x5c9bb4['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x15cdd8=>{const _0x845362=_0x15cdd8['markerName']['split'](':')[0x1],_0x2a77b8=this['_getChangeFromId'](_0x845362);if(!_0x2a77b8)return null;const _0x59a27d='add'==_0x2a77b8['type']?'insertion':'deletion',_0x3384f6=['ck-suggestion-marker','ck-suggestion-marker-'+_0x59a27d];return _0x2a77b8['data']['isSuggestion']&&_0x3384f6['push']('ck-suggestion-marker-'+_0x59a27d+'-new'),this['activeChange']==_0x2a77b8&&_0x3384f6['push']('ck-suggestion-marker--active'),{'classes':_0x3384f6,'attributes':{'data-change-id':_0x845362}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x26115f=>{_0x26115f['on']('element:pre',(_0x57ca7c,_0x5a0911,_0x58abec)=>{const _0x281403=_0x5a0911['viewItem']['getChild'](0x0);if(!_0x281403||!_0x281403['is']('element','code'))return;if(!_0x58abec['consumable']['consume'](_0x281403,{'attributes':['vid_start','vid_end']}))return;const _0x18884c=_0x5a0911['modelRange']['start']['nodeAfter'];_0x58abec['writer']['setAttribute']('vid_start',_0x281403['getAttribute']('vid_start'),_0x18884c),_0x58abec['writer']['setAttribute']('vid_end',_0x281403['getAttribute']('vid_end'),_0x18884c);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xcea2e0=>{_0xcea2e0['on']('element',(_0x592c52,_0x8a1174,_0x33460f)=>{if(!_0x33460f['consumable']['consume'](_0x8a1174['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x8a1174['modelRange']['isCollapsed'])return;const _0x2a3719=_0x8a1174['modelRange']['start']['nodeAfter'];_0x2a3719['hasAttribute']('vid_start')||_0x2a3719['hasAttribute']('vid')||(_0x33460f['writer']['setAttribute']('vid_start',_0x8a1174['viewItem']['getAttribute']('vid_start'),_0x2a3719),_0x33460f['writer']['setAttribute']('vid_end',_0x8a1174['viewItem']['getAttribute']('vid_end'),_0x2a3719));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x21c516=>_0x21c516['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x488458,[,_0x23a316])=>{['vid_start','vid_end','vid']['includes'](_0x23a316)&&(_0x488458['return']=!0x0,_0x488458['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3b3e22=>{_0x3b3e22['on']('attribute:vid',(_0x1f8fa6,_0x22853d,_0x484e04)=>{if('\x20'!=_0x22853d['item']['data']||_0x22853d['item']['parent']['maxOffset']>0x1)return;if(!_0x484e04['consumable']['consume'](_0x22853d['item'],_0x1f8fa6['name']))return;const _0x36b4b8=_0x484e04['writer'],_0x13aa1c=_0x484e04['mapper']['toViewRange'](_0x22853d['range']);_0x36b4b8['wrap'](_0x13aa1c,_0x36b4b8['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5b049c){const _0x5911b9=_0x5b049c['plugins']['get']('RevisionViewer');return(_0x57d414,_0x157a96,_0xbe0538)=>{const _0x5d61bd=_0x157a96['markerName']['split'](':')[0x1],_0x1331f4=_0x5911b9['_getChangeFromId'](_0x5d61bd);if(!_0x1331f4)return null;const _0x3401c7='add'==_0x1331f4['type']?'split':'merge';if(!_0xbe0538['consumable']['test'](_0x157a96['markerRange'],_0x57d414['name']))return;const _0x4f2a27=_0x157a96['markerRange']['getWalker'](),_0x592fad=_0x157a96['markerRange']['start'],_0xa87ca9=_0x5b049c['model']['schema'];let _0x54af35=null,_0x2dcd20=null,_0x49f61c=!0x1,_0x3440a6=!0x1;for(const _0x1b6b3e of _0x4f2a27){const _0x37c43f=_0x1b6b3e['item'];_0x49f61c=_0x49f61c||_0xa87ca9['isContent'](_0x37c43f);const _0x557618=_0xbe0538['mapper']['toViewElement'](_0x37c43f);if(_0x557618&&_0x557618['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1b6b3e['type']&&(_0xa87ca9['isBlock'](_0x37c43f)&&!_0xa87ca9['isLimit'](_0x37c43f)&&(_0x37c43f['nextSibling']||_0x592fad['isAtEnd']?_0x54af35&&_0x54af35['parent']==_0x37c43f||(_0x54af35=_0x37c43f,_0x1d4589(_0x1b6b3e['previousPosition']),_0x3440a6=!0x0):_0x2dcd20=_0x2dcd20||_0x1b6b3e['previousPosition']));}function _0x1d4589(_0x35fabf){const _0x5af915=_0xbe0538['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3401c7}),_0x484f26=_0xbe0538['mapper']['toViewPosition'](_0x35fabf);_0x1331f4['data']['isSuggestion']&&_0xbe0538['writer']['addClass']('ck-suggestion-marker-'+_0x3401c7+'-new',_0x5af915),_0x5911b9['activeChange']==_0x1331f4&&_0xbe0538['writer']['addClass']('ck-suggestion-marker--active',_0x5af915),_0xbe0538['writer']['insert'](_0x484f26,_0x5af915),_0xbe0538['mapper']['bindElementToMarker'](_0x5af915,_0x157a96['markerName']);}_0x49f61c||_0x3440a6||!_0x2dcd20||_0x1d4589(_0x2dcd20);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4eee4e,_0x20c07e,_0x413f03)=>{const _0x2baa30=_0x413f03['mapper']['markerNameToElements'](_0x20c07e['markerName']);if(_0x2baa30){for(const _0x1a786b of _0x2baa30)(_0x1a786b['hasClass']('ck-suggestion-marker-split')||_0x1a786b['hasClass']('ck-suggestion-marker-merge'))&&(_0x413f03['mapper']['unbindElementFromMarkerName'](_0x1a786b,_0x20c07e['markerName']),_0x413f03['writer']['remove'](_0x1a786b));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x294c7,_0x478a5d,_0x8be33a)=>{const _0x3daa79=_0x478a5d['markerName']['split'](':')[0x1],_0x580727=this['_getChangeFromId'](_0x3daa79);if(!_0x580727)return null;const _0x275eaa='add'==_0x580727['type']?'split':'merge';if(_0x8be33a['consumable']['test'](_0x478a5d['markerRange'],_0x294c7['name']))for(const _0x2a1b4b of _0x478a5d['markerRange']['getItems']()){if(!_0x2a1b4b['is']('element','softBreak'))continue;const _0x9b368b=_0x8be33a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x275eaa}),_0x5e3cde=_0x8be33a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2a1b4b));_0x580727['data']['isSuggestion']&&_0x8be33a['writer']['addClass']('ck-suggestion-marker-'+_0x275eaa+'-new',_0x9b368b),this['activeChange']==_0x580727&&_0x8be33a['writer']['addClass']('ck-suggestion-marker--active',_0x9b368b),_0x8be33a['writer']['insert'](_0x5e3cde,_0x9b368b),_0x8be33a['mapper']['bindElementToMarker'](_0x9b368b,_0x478a5d['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3840cf=>{for(const _0xc283e5 of this['editor']['model']['document']['getRootNames']()){const _0x2501c1=this['editor']['model']['document']['getRoot'](_0xc283e5),_0x380db2=this['editor']['editing']['view']['document']['getRoot'](_0xc283e5);if(_0x380db2){const _0x16290e=_0x2501c1['getAttribute']('revisionHistoryAttachChange');if(_0x3840cf['removeAttribute']('data-change-id',_0x380db2),_0x3840cf['removeClass']('ck-revision-history-root-add',_0x380db2),_0x3840cf['removeClass']('ck-revision-history-root-remove',_0x380db2),_0x3840cf['removeClass']('ck-revision-history-root--active',_0x380db2),_0x16290e){const _0x5628f6=this['_getChangeFromId'](_0x16290e);if(!_0x5628f6)return null;_0x3840cf['setAttribute']('data-change-id',_0x16290e,_0x380db2),_0x3840cf['addClass']('ck-revision-history-root-'+_0x5628f6['type'],_0x380db2),this['activeChange']==_0x5628f6&&_0x3840cf['addClass']('ck-revision-history-root--active',_0x380db2);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x20ad9f=>'revision-comment:'+_0x20ad9f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2e9584=>'revision-suggestion:'+_0x2e9584,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x573382=>({'name':'suggestion:'+_0x573382,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2dfd66=>{const _0x18dbac=_0x2dfd66['markerName']['split'](':')[0x1];return'insertion'!=_0x18dbac&&'deletion'!=_0x18dbac?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x18dbac]};}}),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',(_0x2b2283,_0x1f11cb,_0x5e46e3)=>{const _0x4a40f6=_0x5e46e3['mapper']['markerNameToElements'](_0x1f11cb['markerName']);if(_0x4a40f6){for(const _0x3d488e of _0x4a40f6)_0x3d488e['is']('uiElement')&&(_0x5e46e3['mapper']['unbindElementFromMarkerName'](_0x3d488e,_0x1f11cb['markerName']),_0x5e46e3['writer']['remove'](_0x3d488e));}},{'priority':'high'});}['_getChangeFromId'](_0x4122b9){return this['_changeIdToChange']['get'](_0x4122b9);}['_getViewForChange'](_0x2a38a7){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2a38a7),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x11364b,_0x343fdc,_0x2d54e1,_0xe29b28)=>{_0xe29b28&&this['_balloon']['remove'](_0xe29b28),_0x2d54e1&&(this['_balloon']['add']({'view':_0x2d54e1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x50b514=this['editor']['editing'],_0x142766=this['_getChangeFromId'](_0x2d54e1['changeId']);let _0x229c22;if(_0x142766['data']['isOnRoot']){const _0x1ca2dc=_0x50b514['view']['getDomRoot'](_0x142766['rootName']);_0x229c22=Array['from'](_0x1ca2dc['getClientRects']());}else{const _0x12962a=this['editor']['model']['markers']['get']('revision:'+_0x2d54e1['changeId']);_0x229c22=Array['from'](_0x50b514['mapper']['markerNameToElements'](_0x12962a['name']))['map'](_0x55578d=>_0x50b514['view']['domConverter']['mapViewToDom'](_0x55578d))['map'](_0x57dc32=>Array['from'](_0x57dc32['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x229c22[0x0];return _0x229c22['find'](_0x58fa4c=>_0x58fa4c['top']-0x3<=this['_activeViewTarget']['y']&&_0x58fa4c['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x58fa4c['left']-0x3<=this['_activeViewTarget']['x']&&_0x58fa4c['right']+0x3>=this['_activeViewTarget']['x'])||_0x229c22[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xf88de8,_0x5c10a5,_0x44fdc0,_0x49cfd8)=>{this['activeView']=_0x44fdc0?this['_getViewForChange'](_0x44fdc0):null,this['editor']['model']['change'](()=>{const _0x166598=this['editor']['editing'];_0x49cfd8&&(_0x49cfd8['data']['isOnRoot']?_0x166598['view']['change'](_0x46fd49=>{_0x46fd49['removeClass']('ck-revision-history-root--active',_0x166598['view']['document']['getRoot'](_0x49cfd8['rootName']));}):_0x166598['reconvertMarker']('revision:'+_0x49cfd8['id'])),_0x44fdc0&&(_0x44fdc0['data']['isOnRoot']?_0x166598['view']['change'](_0x2d05e0=>{_0x2d05e0['addClass']('ck-revision-history-root--active',_0x166598['view']['document']['getRoot'](_0x44fdc0['rootName']));}):_0x166598['reconvertMarker']('revision:'+_0x44fdc0['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2c1778,_0xb6bd6f)=>{if(this['activeChange'])return;const _0x2826c5=this['_findChangeIdFromDomTarget'](_0xb6bd6f['target']),_0x59ed71=this['_changeIdToChange']['get'](_0x2826c5);_0x59ed71?(this['_activeViewTarget']={'x':_0xb6bd6f['domEvent']['x'],'y':_0xb6bd6f['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x59ed71)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2bd73f,_0x38398d)=>{const _0x170783=this['_findChangeIdFromDomTarget'](_0x38398d['target']),_0x31c79c=this['_changeIdToChange']['get'](_0x170783);_0x31c79c?(this['_activeViewTarget']={'x':_0x38398d['domEvent']['x'],'y':_0x38398d['domEvent']['y']},_0x31c79c===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x31c79c):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x567e7a){do{const _0x124e84=_0x567e7a['getAttribute']('data-change-id');if(_0x124e84)return _0x124e84;_0x567e7a=_0x567e7a['parent'];}while(_0x567e7a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x49a7e2=>{for(const _0x5d4f12 of this['editor']['model']['markers'])_0x49a7e2['removeMarker'](_0x5d4f12);});}}function et(_0x12a583,_0xce5279){return(_0x15b150,_0x3b34e1,_0x1e5369)=>{if(!_0x1e5369['consumable']['test'](_0x3b34e1['markerRange'],_0x15b150['name']))return;const _0x2e594a=_0x3b34e1['markerRange']['getWalker'](),_0x22eac1=_0x3b34e1['markerRange']['start'],_0x120c67=_0x12a583['model']['schema'];let _0x1acb26=null,_0x163c2d=null,_0x344bc9=!0x1,_0x4512ba=!0x1;for(const _0x42dc1c of _0x2e594a){const _0x3a5fc7=_0x42dc1c['item'];_0x344bc9=_0x344bc9||_0x120c67['isContent'](_0x3a5fc7);const _0x3d24da=_0x1e5369['mapper']['toViewElement'](_0x3a5fc7);if(_0x3d24da&&_0x3d24da['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42dc1c['type']&&(_0x120c67['isBlock'](_0x3a5fc7)&&!_0x120c67['isLimit'](_0x3a5fc7)&&(_0x3a5fc7['nextSibling']||_0x22eac1['isAtEnd']?_0x1acb26&&_0x1acb26['parent']==_0x3a5fc7||(_0x1acb26=_0x3a5fc7,_0x285507(_0x42dc1c['previousPosition']),_0x4512ba=!0x0):_0x163c2d=_0x163c2d||_0x42dc1c['previousPosition']));}function _0x285507(_0x2ff8f2){const _0x504ab4=_0x1e5369['mapper']['toViewPosition'](_0x2ff8f2),_0x355748=_0x1e5369['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xce5279});_0x1e5369['writer']['insert'](_0x504ab4,_0x355748),_0x1e5369['mapper']['bindElementToMarker'](_0x355748,_0x3b34e1['markerName']);}_0x344bc9||_0x4512ba||!_0x163c2d||_0x285507(_0x163c2d);};}class bt extends _0x391fad{constructor(_0x122451){super(_0x122451);const _0x3754d0=_0x122451['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3754d0,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3754d0,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x49c207=this['editor'],_0x496e43=_0x49c207['plugins']['get'](d),_0x1af0c0=_0x496e43['isReady']?_0x496e43['diff']['newRevisionId']:null;_0x49c207['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1af0c0);}['refresh'](){const {isReady:_0x4adb97,isEnabled:_0x1c8c64}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4adb97&&_0x1c8c64;}}class yt extends _0x391fad{['_step'];constructor(_0xf3ceb8,{direction:_0x56a577}){super(_0xf3ceb8);const _0x2b6f5d=_0xf3ceb8['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x56a577?0x1:-0x1,this['listenTo'](_0x2b6f5d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2b6f5d,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2b6f5d,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x237267=this['editor'],_0x1719ab=_0x237267['plugins']['get'](d),{isNavigationMode:_0x1ab4fe,currentChangeNumber:_0x141760}=_0x1719ab;let _0x3ca738;if(_0x1719ab['activeChange']=_0x1ab4fe?_0x1719ab['diff']['changes']['get'](_0x141760+this['_step']):_0x1719ab['diff']['changes']['first'],_0x1719ab['activeChange']['data']['isOnRoot'])_0x3ca738=_0x237267['editing']['view']['getDomRoot'](_0x1719ab['activeChange']['rootName']);else{const _0x196883=_0x237267['model']['markers']['get']('revision:'+_0x1719ab['activeChange']['id']);_0x3ca738=_0x2d4d65(_0x237267['editing'],_0x196883);}_0x2e8719({'target':_0x3ca738,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x317e31,currentChangeNumber:_0x6aa731,numberOfChanges:_0x596f93,isReady:_0x4f6471,isEnabled:_0x133df6}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x133df6&&_0x4f6471&&_0x596f93)&&(!_0x317e31||(0x1===this['_step']?_0x6aa731<_0x596f93-0x1:_0x6aa731>0x0));}}class _i extends _0x599840{constructor(_0x452e96){super(_0x452e96);const _0x3db11f=this['bindTemplate'],_0x536e87=new _0x4770f6(_0x452e96),_0x17f4c1=new _0x4770f6(_0x452e96);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',(_0x176f67,_0x554067)=>_0x176f67&&_0x554067>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2a5520,_0xb14f5f,_0x3f5143,_0x2d106f)=>{if(!_0x2a5520)return y(_0x452e96,'Loading...');if(!_0x3f5143)return y(_0x452e96,'No\x20changes');const _0x588968=y(_0x452e96,'NUMBER_OF_CHANGES',_0x3f5143);return _0x2d106f?y(_0x452e96,'X_OF_Y_CHANGES',[_0xb14f5f+0x1,_0x3f5143]):_0x588968;}),_0x536e87['set']({'label':y(_0x452e96,'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'}),_0x17f4c1['set']({'label':y(_0x452e96,'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'}),_0x536e87['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x17f4c1['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x536e87['on']('execute',()=>this['fire']('execute','backward')),_0x17f4c1['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',_0x3db11f['if']('_isStatusLabelVisible','ck-hidden',_0x51c16a=>!_0x51c16a)]},'children':[{'text':_0x3db11f['to']('isNavigationMode',_0x29deb8=>_0x29deb8?y(_0x452e96,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x452e96,'Total')+':\x20')}]},{'text':_0x3db11f['to']('_statusText')}]},new _0x54566a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x536e87,_0x17f4c1]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2b45a5{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2175b6=this['editor']['editing']['view'];_0x2175b6['change'](_0x3281d4=>{for(const _0x85939a of _0x2175b6['document']['roots'])_0x3281d4['addClass'](ce,_0x85939a);});}['hide'](){const _0x1ec9b8=this['editor']['editing']['view'];_0x1ec9b8['change'](_0x1b4117=>{for(const _0x5e613a of _0x1ec9b8['document']['roots'])_0x1b4117['removeClass'](ce,_0x5e613a);});}}class R extends _0x2b45a5{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4e6b27=this['editor'],_0x1690dc=_0x4e6b27['plugins']['get'](d),_0x509c88=_0x4e6b27['plugins']['get'](de);_0x4e6b27['ui']['componentFactory']['add']('exitToEditing',_0x23f2f2=>{const _0x5258b5=new _0x4770f6(_0x23f2f2);return _0x5258b5['set']({'label':y(_0x23f2f2,'Back\x20to\x20editing'),'icon':_0x2dc80c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5258b5,'execute',()=>{_0x4e6b27['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5258b5;}),_0x4e6b27['ui']['componentFactory']['add']('restoreRevision',_0x20ea9c=>{const _0xe8e11e=new _0x4770f6(_0x20ea9c);return _0xe8e11e['set']({'label':y(_0x20ea9c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xe8e11e['bind']('isEnabled')['to'](_0x4e6b27['commands']['get']('restoreRevision')),this['listenTo'](_0xe8e11e,'execute',()=>_0x4e6b27['execute']('restoreRevision')),_0xe8e11e;}),_0x4e6b27['ui']['componentFactory']['add']('changesNavigation',_0x424767=>{const _0x1e7f26=new _i(_0x424767),_0x27acf6=_0x4e6b27['commands']['get']('showPreviousChange'),_0x22dad1=_0x4e6b27['commands']['get']('showNextChange');return _0x1e7f26['bind']('isBackwardNavigationEnabled')['to'](_0x27acf6,'isEnabled'),_0x1e7f26['bind']('isForwardNavigationEnabled')['to'](_0x22dad1,'isEnabled'),_0x1e7f26['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1690dc),this['listenTo'](_0x1e7f26,'execute',(_0x4d3091,_0x267235)=>{_0x4e6b27['execute']('forward'===_0x267235?'showNextChange':'showPreviousChange');}),_0x1e7f26;}),_0x509c88['show'](),_0x1690dc['on']('change:isReady',(_0x6af2c,_0x5c4840,_0x363f08)=>{_0x363f08?_0x509c88['hide']():_0x509c88['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x497c46,_0x585a14){super(_0x497c46,_0x585a14);const _0x23c6c2=this['bindTemplate'];this['set']({'label':y(_0x497c46,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x497c46,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x23c6c2['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 _0x1eb04d=this['fieldView']['element'];this['_tooltipString']=_0x1eb04d['scrollWidth']>_0x1eb04d['clientWidth']&&_0x1eb04d['value']||'';}}class ti extends _0x599840{constructor(_0x5be53f,_0x410d2d,_0x1d8a51){super(_0x5be53f);const _0x1cec03=new _0x277179();_0x1cec03['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 _0x53f9bd=['ck','ck-revision-history-sidebar__revision-author'];_0x1d8a51&&_0x53f9bd['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4b4ff4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5be53f,_0x1d8a51?'Revision\x20creator':'Revision\x20author')},'children':[_0x1cec03,_0x410d2d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x53f9bd},'children':_0x4b4ff4});}}function ni(_0xaaa8af,_0x45d085){const _0x31739c=_0xaaa8af['bindTemplate'],_0x12d3b9=_0xaaa8af['locale'],_0x2065aa=_0x4c29e4(_0x12d3b9);_0x2065aa['panelPosition']='sw';const _0x11dbc6=function(_0x3b7047,_0x330be7){const _0x559758=function(_0xef9b51,_0x2f8340){const _0x98eb4=_0xef9b51['locale'],_0x253edd={'Compare\x20against\x20selected':y(_0x98eb4,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x98eb4,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x98eb4,'Restore\x20this\x20revision')};return _0x2f8340['map'](_0x5912a7=>{const _0x244c91=_0x253edd[_0x5912a7['name']];return _0x244c91&&_0x244c91!==_0x5912a7['name']&&(_0x5912a7['name']=_0x244c91),_0x5912a7;});}(_0x3b7047,_0x330be7),_0x42dda=new _0x4fea06();for(const _0x1bfdd6 of _0x559758){const _0x31b94c={'type':'button','model':new to({'label':_0x1bfdd6['name'],'class':_0x1bfdd6['class'],'withText':!0x0,'role':'menuitem','_action':_0x1bfdd6['action']})};_0x31b94c['model']['bind']('isEnabled')['to'](_0x3b7047,'isActionsDropdownOpen',_0x3f6784=>'function'!=typeof _0x1bfdd6['isEnabled']||(!_0x3f6784||_0x1bfdd6['isEnabled'](_0x3b7047))),_0x42dda['add'](_0x31b94c);}return _0x42dda;}(_0xaaa8af,_0x45d085);return _0xaaa8af['bind']('isActionsDropdownOpen')['to'](_0x2065aa,'isOpen'),_0x2065aa['buttonView']['set']({'label':y(_0x12d3b9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2dc80c['threeVerticalDots']}),_0x2065aa['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31739c['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31739c['to'](_0x45cb62=>_0x45cb62['stopPropagation']())}}),_0x2065aa['on']('execute',_0x41be26=>{_0xaaa8af['isReady']&&'function'==typeof _0x41be26['source']['_action']&&_0x41be26['source']['_action'](_0xaaa8af);}),_0x17f9c1(_0x2065aa,_0x11dbc6,{'role':'menu'}),_0x2065aa['listenTo'](_0xaaa8af,'change:isActionsDropdownOpen',(_0xb3a98e,_0x5d57b3,_0xa857e8)=>{if(_0xa857e8)for(const _0x566489 of _0x2065aa['listView']['items']){const _0x3c5cbb=_0x566489['children']['first'],_0xea6b62=_0x45d085['find'](_0x130097=>_0x130097['action']===_0x3c5cbb['_action'])['isVisible'];_0x566489['isVisible']=void 0x0===_0xea6b62||_0xea6b62(_0xaaa8af);}}),_0x2065aa;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0xb13d88,Context as _0x52e60c,PendingActions as _0x13b731,icons as _0x2e7272,Command as _0x5c0cf0,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2c106f,uid as _0x18f98c,Collection as _0x21503a,logWarning as _0x86715b,FocusTracker as _0x446db6,KeystrokeHandler as _0x5c3eaa,scrollViewportToShowTarget as _0x273832,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x75d4ff}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x107127,getMarkerDomElement as _0xd9aa4,ConfirmMixin as _0x4e5719,sanitizeEditorConfig as _0x2ec26e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5128f5,ViewText as _0x2b9845,ViewElement as _0xab0a51,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1b195e,ViewAttributeElement as _0x212ec,ViewEmptyElement as _0x3640e2,ViewRawElement as _0xefa8e7,ViewUIElement as _0x4af7e1,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xbc8db6,set as _0x5383ea,unset as _0x595211,isEqual as _0x3a217f}from'lodash-es';import{View as _0x1354ed,injectCssTransitionDisabler as ts,submitHandler as _0x54c2af,LabeledFieldView as at,createLabeledInputText as _0x1cdeb5,createDropdown as _0x5e1645,ListView as te,ListItemView as _0x4a50cc,ButtonView as _0x1d5053,MenuBarMenuView as _0xbb04d,MenuBarMenuListView as _0x4c5cd3,MenuBarMenuListItemView as _0x3a3dca,MenuBarMenuListItemButtonView as _0x274e40,ContextualBalloon as _0x87c25d,ToolbarSeparatorView as _0x154b8e,IconView as _0x83e720,addListToDropdown as _0x1cfd08,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 _0x2a5fd3}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
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
|
+
_0x4e5719(_0x1354ed){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x26e564,_0x3db5b8,_0x3f21fb,_0x10bbb4){super(_0x26e564);const _0x71b899=this['bindTemplate'],_0xbc86b7=function(_0xfa6e20,_0x270107){const _0x5ea779=Array['from'](_0x270107['authors'])['filter'](_0x4cea67=>_0x4cea67!=_0x270107['creator']);return _0x270107['creator']&&_0x5ea779['unshift'](_0x270107['creator']),_0x5ea779['map'](_0x638440=>new ti(_0xfa6e20,_0x638440,_0x638440==_0x270107['creator']));}(_0x26e564,_0x3db5b8);this['id']=_0x3db5b8['id'],this['_revision']=_0x3db5b8,this['_requireRevisionName']=_0x10bbb4,this['bind']('name','createdAt')['to'](_0x3db5b8),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x369b2e=>{return _0x9554e8=_0x26e564['uiLanguage'],(_0x100098=_0x369b2e)['toLocaleDateString'](_0x9554e8,{'month':'long','day':'numeric'})+',\x20'+_0x100098['toLocaleTimeString'](_0x9554e8,{'hour':'numeric','minute':'numeric'});var _0x9554e8,_0x100098;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x26e564,_0x1cdeb5),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4cbebd=>_0x4cbebd||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x507a1b,_0x5df5d0)=>_0x507a1b&&_0x5df5d0),this['revisionActionsView']=_0x3f21fb&&_0x3f21fb['length']?ni(this,_0x3f21fb):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x71b899['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x71b899['if']('isEnabled','ck-disabled',_0x2c5906=>!_0x2c5906),_0x71b899['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x71b899['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x71b899['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':_0x71b899['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':_0xbc86b7}]},this['revisionActionsView']],'on':{'click':_0x71b899['to'](_0x5c8a4d=>{_0x5c8a4d['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1af185=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1af185,'change',()=>{this['_requireRevisionName']&&!_0x1af185['value']||this['fire']('setName',{'id':this['id'],'name':_0x1af185['value']}),_0x1af185['value']||(_0x1af185['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(_0x53409d,_0xb17cce){const _0x5e8e9b=_0x2a5fd3['fromJSDate'](_0x53409d)['setLocale'](_0xb17cce),_0x38db28=_0x2a5fd3['local'](),_0x28b016=_0x38db28['minus']({'days':0x1})['startOf']('day');let _0x2d9c5e,_0x479429;return _0x5e8e9b['hasSame'](_0x38db28,'day')?(_0x2d9c5e=_0x5e8e9b['startOf']('day')['toJSDate'](),_0x479429=_0x5e8e9b['toRelativeCalendar']()):_0x5e8e9b['hasSame'](_0x28b016,'day')?(_0x2d9c5e=_0x28b016['toJSDate'](),_0x479429=_0x5e8e9b['toRelativeCalendar']()):_0x5e8e9b['hasSame'](_0x38db28,'week')?(_0x2d9c5e=_0x5e8e9b['startOf']('week')['toJSDate'](),_0x479429=_0x5e8e9b['weekdayLong']||''):_0x5e8e9b['hasSame'](_0x38db28,'year')?(_0x2d9c5e=_0x5e8e9b['startOf']('month')['toJSDate'](),_0x479429=_0x5e8e9b['monthLong']||''):(_0x2d9c5e=_0x5e8e9b['startOf']('year')['toJSDate'](),_0x479429=String(_0x5e8e9b['year'])),{'startDate':_0x2d9c5e,'localizedPeriodName':_0x479429};}class mi extends _0x1354ed{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4eff9b,_0x392698,_0x394fdf,_0xc76159){super(_0x4eff9b);const _0x3af717=di(_0x392698,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x392698,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x394fdf,this['_requireRevisionName']=_0xc76159,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':_0x3af717}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1831dc){const _0x51120c=new ai(this['locale'],_0x1831dc,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x51120c);}['removeRevision'](_0x23454f){const _0x109d27=this['revisionViews']['find'](_0x1f2f04=>_0x1f2f04['id']===_0x23454f['id']);this['revisionViews']['remove'](_0x109d27);}}class as extends _0x1354ed{constructor(_0x1a8102){super(_0x1a8102);const _0x26841d=new _0x83e720();_0x26841d['content']=_0x2e7272['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x26841d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1a8102,'Revision\x20history')]}]});}}class ci extends _0x1354ed{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xc94faa,_0x42ecee,_0x586bc5,_0x43c41b){super(_0xc94faa);const _0xce4e31=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x42ecee,this['_revisionActions']=_0x586bc5,this['_requireRevisionName']=_0x43c41b,this['on']('select',(_0x54ed03,_0x56d23b)=>{this['fire']('revisionSelected',_0x56d23b);}),this['on']('setName',(_0x6e2f95,_0x3bd7e3)=>{this['fire']('revisionSetName',_0x3bd7e3);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xc94faa),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xce4e31['if']('isEnabled','ck-disabled',_0x55ec2c=>!_0x55ec2c)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x39fd6 of this['_revisions'])this['_addRevision'](_0x39fd6);this['_revisions']['on']('add',(_0x14fdaa,_0x3523f4)=>{this['_addRevision'](_0x3523f4);}),this['_revisions']['on']('remove',(_0x3d718d,_0x26b025)=>{this['_removeRevision'](_0x26b025);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x96c94c=>_0x96c94c['revisionViews']['map'](_0x86fc40=>_0x86fc40))['flat']();}['selectRevision'](_0xb1f767){for(const _0x497c37 of this['revisionViews'])_0xb1f767&&_0xb1f767['id']===_0x497c37['id']?_0x497c37['select']():_0x497c37['deselect']();}['highlightRevisions'](_0x1b739c){for(const _0x36c350 of this['revisionViews'])_0x1b739c['some'](({id:_0x376254})=>_0x376254===_0x36c350['id'])?_0x36c350['highlight']():_0x36c350['unhighlight']();}['_addRevision'](_0x161a40){const _0x2d6aaa=di(_0x161a40['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x505e8d=this['timePeriodViews']['get'](0x0);_0x505e8d&&_0x505e8d['startDate']['getTime']()===_0x2d6aaa['getTime']()||(_0x505e8d=new mi(this['locale'],_0x2d6aaa,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x505e8d)),_0x505e8d['addRevision'](_0x161a40);}['_removeRevision'](_0x25433f){const _0x354867=di(_0x25433f['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x354867)['removeRevision'](_0x25433f);}['_getTimePeriodViewByStartDate'](_0x14cede){return this['timePeriodViews']['find'](_0x4ab4f2=>_0x4ab4f2['startDate']['getTime']()===_0x14cede['getTime']());}}class w extends _0xb13d88{['_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(_0x33d026){super(_0x33d026),this['_revisionViewer']=_0x33d026['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x19f247=this['_revisionsRepository']['_revisions'],_0x1986cc=this['_createRevisionActions'](),_0x541a8e=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x19f247,_0x1986cc,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',(_0x417b81,_0x495f16)=>{_0x495f16['revisionViews']['on']('add',(_0x551015,_0x521e9e)=>{_0x521e9e['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)),_0x541a8e['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x195b1d=this['_revisionsRepository']['getRevision'](0x0);if(_0x195b1d){const _0x4b85e9=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x195b1d['id']);this['_revisionViewer']['compare'](_0x195b1d,_0x4b85e9);}}['_handleRevisionSelected'](_0x462b93,_0x23e23f){const _0x2bff5e=this['_revisionsRepository']['getRevision'](_0x23e23f['id']),_0x5badf6=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2bff5e['id']);this['_revisionViewer']['compare'](_0x2bff5e,_0x5badf6);}['_handleRevisionSetName'](_0x2ae58e,_0x7fc8c6){this['_revisionsRepository']['getRevision'](_0x7fc8c6['id'])['setName'](_0x7fc8c6['name']);}['_handleDiffChange'](_0x189f9a,_0x26df29,_0x17489d){const _0x480f6e=this['_revisionsRepository']['getRevisionsInDiff'](_0x17489d);_0x480f6e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x480f6e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x480f6e[0x0]));}['_createRevisionActions'](){const _0xc5dcdb=this['editor'],_0x53f077=w['availableRevisionActions'],_0x51a9c0=_0xc5dcdb['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x51a9c0['length'])return _0x51a9c0['map'](_0x4e057d=>{const _0x2dbf48='string'==typeof _0x4e057d?Object['assign']({},_0x53f077[_0x4e057d]):_0x4e057d;return _0x2dbf48['action']=_0x2dbf48['action']['bind'](this,_0xc5dcdb),_0x2dbf48['isVisible']&&(_0x2dbf48['isVisible']=_0x2dbf48['isVisible']['bind'](this,_0xc5dcdb)),_0x2dbf48;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xa663da},_0x22e4f1)=>{const _0x1cd3de=_0xa663da['get'](d),_0x4fc3e7=_0x1cd3de['repository'];let _0x222ab3=_0x1cd3de['diff']['newRevisionId'],_0x20b4d0=_0x22e4f1['id'];_0x4fc3e7['getIndex'](_0x222ab3)>_0x4fc3e7['getIndex'](_0x20b4d0)&&([_0x222ab3,_0x20b4d0]=[_0x20b4d0,_0x222ab3]),_0x1cd3de['compare'](_0x222ab3,_0x20b4d0);},'isVisible':({plugins:_0xe286f6},_0x195c7f)=>{const _0x18bdf2=_0xe286f6['get'](d);return!(_0x18bdf2['repository']['getRevisionsInDiff'](_0x18bdf2['diff'])['length']>0x2)&&!_0x195c7f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x59cadc,{id:_0x560b10})=>{_0x59cadc['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x560b10);},'isVisible':({plugins:_0x57e4ab},_0x378040)=>!!_0x57e4ab['get'](d)['repository']['getLaterVisibleRevision'](_0x378040['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x27507a},{id:_0x53c924,revisionNameView:_0x2711f9})=>{const _0x4db56d=_0x27507a['get'](d),_0x2ecbd3=_0x4db56d['repository']['getEarlierVisibleRevision'](_0x53c924);_0x4db56d['compare'](_0x53c924,_0x2ecbd3),_0x2711f9['focus'](),_0x2711f9['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2cfee9,_0x168df8){super(_0x2cfee9),this['_view']=_0x168df8,this['_toolbarConfig']=ct(_0x2cfee9['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xd0ab64){const _0x1a84b5=this['editor'],_0x2f3653=this['view'],_0x46a58c=_0x1a84b5['editing']['view'],_0x173137=_0x2f3653['editable'],_0x34f64f=_0x46a58c['document']['getRoot']();_0x173137['name']=_0x34f64f['rootName'],_0x2f3653['render']();const _0x389763=_0x173137['element'];this['setEditableElement'](_0x173137['name'],_0x389763),_0x2f3653['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x46a58c['attachDomRoot'](_0x389763),this['_elementReplacer']['replace'](_0xd0ab64,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x45c757=this['view'],_0x192c3f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x192c3f['detachDomRoot'](_0x45c757['editable']['name']),_0x45c757['destroy']();}['_initToolbar'](){const _0x42066c=this['view'];_0x42066c['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x42066c['stickyPanel']['limiterElement']=_0x42066c['element'],_0x42066c['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5ad005})=>_0x5ad005),_0x42066c['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x42066c['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x12facb,_0x3a7827,_0x321f35={}){super(_0x12facb),this['stickyPanel']=new lt(_0x12facb),this['toolbar']=new pt(_0x12facb,{'shouldGroupWhenFull':_0x321f35['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x12facb,_0x3a7827);}['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(_0x123e3a,_0x228531){super(_0x228531),this['sourceElement']=_0x123e3a,this['model']['document']['createRoot']();const _0x44004d=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x44004d);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x15fdc0,_0x130c82){const _0x2487a7=new this(_0x15fdc0,_0x130c82);return await _0x2487a7['initPlugins'](),await _0x2487a7['ui']['init'](_0x15fdc0),await _0x2487a7['data']['init'](_0x2487a7['config']['get']('initialData')||''),_0x2487a7['fire']('ready'),_0x2487a7;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xb13d88{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1411b5){super(_0x1411b5),this['result']='end';}}class H extends _0xb13d88{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1255a6){if(super(_0x1255a6),!this['editor']['config']['get']('revisionHistory'))throw new _0x75d4ff('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x14c589=>this['_showRevisionViewer']({..._0x14c589,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1af9a7=>this['_closeRevisionViewer'](_0x1af9a7)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4450d6=>this['_restoreRevision'](_0x4450d6)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2541aa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2541aa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4b8a8f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4b8a8f);}['getRevision'](_0x297a11){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x297a11);}['getRevisions'](_0x3913d5){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3913d5||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x41c41b=this['editor'],_0x4c8d68=_0x2ec26e(_0x41c41b,p),_0xb410d9=_0x41c41b['plugins']['get']('RevisionTracker'),_0x431190=_0x41c41b['plugins']['get']('Users')['users'];return _0x4c8d68['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4c8d68['lazyRoots'],(_0x4c8d68['plugins']['push'](k,d,R,class extends _0xb13d88{static get['requires'](){return[d,'Users'];}['init'](){const _0x2c7eca=this['editor']['plugins']['get']('Users');for(const _0x43ce5f of _0x431190)_0x43ce5f['isAnonymous']||_0x2c7eca['getUser'](_0x43ce5f['id'])||_0x2c7eca['addUser'](_0x43ce5f);const _0x5ae16a=_0xb410d9['repository']['getRevisions']();let _0x570fa0=null;const _0x3a0ef3=this['editor']['plugins']['get']('RevisionViewer');_0x3a0ef3['adapter']=_0xb410d9['adapter'],_0x3a0ef3['bind']('isEnabled')['to'](_0xb410d9),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x41c41b,'isReadOnly',_0x34da06=>!_0x34da06);for(const _0x4718a2 of _0x5ae16a){const _0x5cb10f=null===_0x4718a2['creator'];if(_0x5cb10f&&_0x4718a2['toVersion']===_0x4718a2['fromVersion'])continue;const _0x165a9c=_0x4718a2['toJSON']();_0x3a0ef3['addRevisionData'](_0x165a9c,(_0x2ac665,_0x45da42,_0x599359)=>{if(_0x5cb10f){if(_0x570fa0)_0x570fa0['_update'](_0x2ac665,_0x45da42);else{if(!_0x45da42){const _0x5b7c63=_0x599359['toJSON']();_0x5b7c63['id']=_0x18f98c(),_0xb410d9['saveRevision'](_0x5b7c63,_0x599359['toVersion'])['then'](_0xa0a818=>{_0x570fa0=_0xa0a818;});}}}else _0x4718a2['_update'](_0x2ac665,_0x45da42);});}}},w),_0x4c8d68);}['_enhanceShowRevisionViewerCallback'](){const _0x521332=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x554794=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x17d018=this['editor']['plugins']['get']('Autosave');await _0x17d018['save']();}else await _0x554794['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x59542c=this['editor']['plugins']['get']('Dialog');_0x59542c['isOpen']&&_0x59542c['hide']();}const _0x54e529=this['_getRevisionViewerEditorConfig']();return _0x521332(_0x54e529)['then'](_0x2d0640=>{return(this['_viewerEditor']=_0x2d0640,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2d0640;})['catch'](_0x370203=>(console['error'](_0x370203),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3a2f59=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'](),_0x3a2f59(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x39e9ce=this['editor']['plugins']['get']('Annotations');_0x39e9ce['refreshVisibility'](),_0x39e9ce['refreshPositioning']();}})));}['_showRevisionViewer'](_0x140e98){const _0x59ba51=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1debed=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x37fe40=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x37fe40,_0x140e98)['then'](_0x183764=>(_0x1debed['style']['display']='block',_0x59ba51['style']['display']='none',_0x183764));}['_closeRevisionViewer'](_0x15b4fb){const _0x41f04e=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x41f04e['style']['display']='',_0x15b4fb['destroy']();}async['_restoreRevision'](_0x557cd9){const _0x4b457e=this['editor'],_0x161538=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xa545f5=_0x4b457e['plugins']['get']('RevisionTracker'),_0x1aeb28=_0x161538['repository']['getRevision'](_0x557cd9);let _0x16b26a,_0x2943b4,_0x42aed2;try{_0x16b26a=await _0x161538['getRevisionData'](_0x1aeb28),_0x2943b4=await _0x161538['getRevisionRootsAttributes'](_0x1aeb28);}catch(_0x598374){return void console['error'](_0x598374);}_0x4b457e['model']['change'](_0x25e16e=>{for(const _0x4edb18 of Array['from'](_0x4b457e['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x25e16e['removeMarker'](_0x4edb18);}),_0x161538['isReady']=!0x1,_0x4b457e['model']['enqueueChange'](_0x13e382=>{_0x13e382['setSelection'](null),_0x13e382['removeSelectionAttribute'](_0x4b457e['model']['document']['selection']['getAttributeKeys']());const _0xe27e49=Object['keys'](_0x16b26a);for(const _0x13e20d of _0x4b457e['model']['document']['roots'])'$graveyard'!=_0x13e20d['rootName']&&_0x13e20d['isAttached']()&&!_0xe27e49['includes'](_0x13e20d['rootName'])&&_0x13e382['detachRoot'](_0x13e20d);for(const _0x54c363 of _0xe27e49){let _0x2b7083=_0x4b457e['model']['document']['getRoot'](_0x54c363);_0x2b7083&&_0x2b7083['isAttached']()||(_0x2b7083=_0x13e382['addRoot'](_0x54c363));const _0x1548a9=_0x2943b4[_0x54c363],_0x552e0b=Object['keys'](_0x1548a9),_0x87fe3b=_0x16b26a[_0x54c363];for(const _0x154434 of _0x2b7083['getAttributeKeys']())_0x552e0b['includes'](_0x154434)||_0x13e382['removeAttribute'](_0x154434,_0x2b7083);for(const _0x56b686 of _0x552e0b)_0x13e382['setAttribute'](_0x56b686,_0x2943b4[_0x54c363][_0x56b686],_0x2b7083);_0x13e382['remove'](_0x13e382['createRangeIn'](_0x2b7083)),_0x13e382['insert'](_0x4b457e['data']['parse'](_0x87fe3b,_0x2b7083),_0x2b7083,0x0);}});const _0x4ed120=y(_0x4b457e['locale'],'Restored');if(_0x1aeb28['name'])_0x42aed2=-0x1==_0x1aeb28['name']['indexOf'](_0x4ed120)?_0x4ed120+':\x20'+_0x1aeb28['name']:_0x1aeb28['name'];else _0x42aed2=_0x4ed120+':\x20'+(_0x1aeb28['createdAt']['toLocaleDateString'](_0x4b457e['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1aeb28['createdAt']['toLocaleTimeString'](_0x4b457e['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xa545f5['saveRevision']({'name':_0x42aed2}),_0x161538['isReady']=!0x0,_0x4b457e['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};
|