@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240511.0 → 0.0.0-nightly-20240513.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/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x59b38e,Context as _0x57566d,PendingActions as _0x361296,icons as _0x2f7817,Command as _0x588d35,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0xf26595,uid as _0x28ff84,Collection as _0x7ade42,logWarning as _0x16faf7,FocusTracker as _0x4a86fd,KeystrokeHandler as _0x5d7d61,scrollViewportToShowTarget as _0x47bf37,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1728be}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1caabc,getMarkerDomElement as _0x1fbe27,ConfirmMixin as _0x4cc518,sanitizeEditorConfig as _0x4c41c8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x58aff7,ViewText as _0x561bff,ViewElement as _0x19201c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1638c8,ViewAttributeElement as _0x78f688,ViewEmptyElement as _0x152270,ViewRawElement as _0xb1bf09,ViewUIElement as _0x24561b,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5ae250,set as _0x2b8520,unset as _0x45964f,isEqual as _0x15e322}from'lodash-es';import{View as _0x410ed7,injectCssTransitionDisabler as ts,submitHandler as _0x35a1c0,LabeledFieldView as at,createLabeledInputText as _0x21bbe4,createDropdown as _0x4449cc,ListView as te,ListItemView as _0x5c4672,ButtonView as _0x1a3d6c,MenuBarMenuView as _0x97f483,MenuBarMenuListView as _0x4d715a,MenuBarMenuListItemView as _0x4d2fd0,MenuBarMenuListItemButtonView as _0x49e6db,ContextualBalloon as _0x3f32c7,ToolbarSeparatorView as _0x4f5688,IconView as _0x4c3e16,addListToDropdown as _0x39526e,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 _0x5aa943}from'luxon';class a extends _0xf26595(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x42550b){super(),this['id']=_0x42550b['id']||_0x28ff84(),this['creator']=_0x42550b['creator']||null,this['authors']=_0x42550b['authors']||[],this['diffData']=_0x42550b['diffData']||null,this['toVersion']=_0x42550b['toVersion']||0x0,this['fromVersion']=_0x42550b['fromVersion']||0x0,this['set']('name',_0x42550b['name']||''),this['set']('createdAt',_0x42550b['createdAt']||new Date()),this['set']('attributes',_0x42550b['attributes']||{});}['setName'](_0x3de40e){this['_update']({'name':_0x3de40e});}['setAttribute'](_0x44c939,_0x31f858){const _0x159bb2=_0x5ae250(this['attributes']);_0x2b8520(_0x159bb2,_0x44c939,_0x31f858),this['_update']({'attributes':_0x159bb2});}['removeAttribute'](_0x5b6d7d){const _0x46d17d=_0x5ae250(this['attributes']);_0x45964f(_0x46d17d,_0x5b6d7d),this['_update']({'attributes':_0x46d17d});}['_update'](_0x4b837e,_0x11abc4=!0x1){let _0x2f0ee0=!0x1;const _0x5ada4a={'id':this['id']},_0x4165be=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x829e58 of _0x4165be){const _0x42588f=_0x4b837e[_0x829e58];void 0x0!==_0x42588f&&_0x42588f!==this[_0x829e58]&&(this[_0x829e58]=_0x42588f,_0x5ada4a[_0x829e58]=_0x42588f,_0x2f0ee0=!0x0);}_0x2f0ee0&&(_0x5ada4a['authors']&&(_0x5ada4a['authorsIds']=_0x5ada4a['authors']['map'](_0x4249bb=>_0x4249bb['id']),delete _0x5ada4a['authors']),this['fire']('_update',_0x5ada4a,_0x11abc4));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3acc0e=>_0x3acc0e['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x59b38e{['_revisions'];static get['requires'](){return[_0x1caabc];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x47ef56){super(_0x47ef56),this['_revisions']=new _0x7ade42();}['afterInit'](){!function(_0x1c112b){function _0x20462d(_0x462b2c,_0x10e507,_0x1ac7a5){const _0x3bd15f={};_0x3bd15f[_0x5c9cdb([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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],_0x3bd15f[_0x5c9cdb([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 _0x417495=new Uint8Array(0x10);for(let _0x2278f0=0xf;_0x2278f0>=0x0;--_0x2278f0)_0x417495[_0x2278f0]=_0x1ac7a5%0x100,_0x1ac7a5=parseInt(_0x1ac7a5/0x100);let _0xe20610=null,_0x248029=0x10;const _0x49c934=new Uint8Array(_0x10e507),_0x635eea=[],_0xf478ee=[];_0x3ce9cc();for(let _0xd9db3a=0x0;_0xd9db3a<_0x462b2c[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd9db3a++)0x10===_0x248029&&(_0xe20610=_0xfcca44(_0x417495),_0x248029=0x0,_0x40b336(_0x417495)),_0x462b2c[_0xd9db3a]^=_0xe20610[_0x248029++];return _0x462b2c;function _0x2e7de7(_0x58c85f){const _0x4c995e=[];for(let _0x39dca8=0x0;_0x39dca8<_0x58c85f[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39dca8+=0x4)_0x4c995e[_0x5c9cdb([0x70,0x75,0x73,0x68])](_0x58c85f[_0x39dca8]<<0x18|_0x58c85f[_0x39dca8+0x1]<<0x10|_0x58c85f[_0x39dca8+0x2]<<0x8|_0x58c85f[_0x39dca8+0x3]);return _0x4c995e;}function _0x40b336(_0x39a7cf){for(let _0xfef682=0xf;_0xfef682>=0x0;_0xfef682--){if(0xff!==_0x39a7cf[_0xfef682]){_0x39a7cf[_0xfef682]++;break;}_0x39a7cf[_0xfef682]=0x0;}}function _0xfcca44(_0x1f7121){const _0x3f199e=_0x635eea[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1ecd9c=[0x0,0x0,0x0,0x0];let t=_0x2e7de7(_0x1f7121);for(let _0xeae96e=0x0;_0xeae96e<0x4;_0xeae96e++)t[_0xeae96e]^=_0x635eea[0x0][_0xeae96e];for(let _0x55a4bc=0x1;_0x55a4bc<_0x3f199e;_0x55a4bc++){for(let _0x53fde7=0x0;_0x53fde7<0x4;_0x53fde7++)_0x1ecd9c[_0x53fde7]=_0x3bd15f[_0x5c9cdb([0x54,0x31])][t[_0x53fde7]>>0x18&0xff]^_0x3bd15f[_0x5c9cdb([0x54,0x32])][t[(_0x53fde7+0x1)%0x4]>>0x10&0xff]^_0x3bd15f[_0x5c9cdb([0x54,0x33])][t[(_0x53fde7+0x2)%0x4]>>0x8&0xff]^_0x3bd15f[_0x5c9cdb([0x54,0x34])][0xff&t[(_0x53fde7+0x3)%0x4]]^_0x635eea[_0x55a4bc][_0x53fde7];t=_0x1ecd9c[_0x5c9cdb([0x73,0x6c,0x69,0x63,0x65])]();}const _0x40eef8=new Uint8Array(0x10);let _0x14eb7c;for(let _0x22b00a=0x0;_0x22b00a<0x4;_0x22b00a++)_0x14eb7c=_0x635eea[_0x3f199e][_0x22b00a],_0x40eef8[0x4*_0x22b00a]=0xff&(_0x3bd15f[_0x5c9cdb([0x53])][t[_0x22b00a]>>0x18&0xff]^_0x14eb7c>>0x18),_0x40eef8[0x4*_0x22b00a+0x1]=0xff&(_0x3bd15f[_0x5c9cdb([0x53])][t[(_0x22b00a+0x1)%0x4]>>0x10&0xff]^_0x14eb7c>>0x10),_0x40eef8[0x4*_0x22b00a+0x2]=0xff&(_0x3bd15f[_0x5c9cdb([0x53])][t[(_0x22b00a+0x2)%0x4]>>0x8&0xff]^_0x14eb7c>>0x8),_0x40eef8[0x4*_0x22b00a+0x3]=0xff&(_0x3bd15f[_0x5c9cdb([0x53])][0xff&t[(_0x22b00a+0x3)%0x4]]^_0x14eb7c);return _0x40eef8;}function _0x3ce9cc(){const _0x3ec564=_0x3bd15f[_0x5c9cdb([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x49c934[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x445832=0x0;_0x445832<=_0x3ec564;_0x445832++)_0x635eea[_0x5c9cdb([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xf478ee[_0x5c9cdb([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x60f09d=0x4*(_0x3ec564+0x1),_0x1b425a=_0x49c934[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5977e0=_0x2e7de7(_0x49c934);let _0x5bf986;for(let _0x839ac5=0x0;_0x839ac5<_0x1b425a;_0x839ac5++)_0x5bf986=_0x839ac5>>0x2,_0x635eea[_0x5bf986][_0x839ac5%0x4]=_0x5977e0[_0x839ac5],_0xf478ee[_0x3ec564-_0x5bf986][_0x839ac5%0x4]=_0x5977e0[_0x839ac5];let _0x4c47ed,_0x1eae6b=0x0,t=_0x1b425a;for(;t<_0x60f09d;){_0x4c47ed=_0x5977e0[_0x1b425a-0x1],_0x5977e0[0x0]^=_0x3bd15f[_0x5c9cdb([0x53])][_0x4c47ed>>0x10&0xff]<<0x18^_0x3bd15f[_0x5c9cdb([0x53])][_0x4c47ed>>0x8&0xff]<<0x10^_0x3bd15f[_0x5c9cdb([0x53])][0xff&_0x4c47ed]<<0x8^_0x3bd15f[_0x5c9cdb([0x53])][_0x4c47ed>>0x18&0xff]^_0x3bd15f[_0x5c9cdb([0x72,0x63,0x6f,0x6e])][_0x1eae6b]<<0x18,_0x1eae6b+=0x1;for(let _0x274e74=0x1;_0x274e74<_0x1b425a/0x2;_0x274e74++)_0x5977e0[_0x274e74]^=_0x5977e0[_0x274e74-0x1];_0x4c47ed=_0x5977e0[_0x1b425a/0x2-0x1],_0x5977e0[_0x1b425a/0x2]^=_0x3bd15f[_0x5c9cdb([0x53])][0xff&_0x4c47ed]^_0x3bd15f[_0x5c9cdb([0x53])][_0x4c47ed>>0x8&0xff]<<0x8^_0x3bd15f[_0x5c9cdb([0x53])][_0x4c47ed>>0x10&0xff]<<0x10^_0x3bd15f[_0x5c9cdb([0x53])][_0x4c47ed>>0x18&0xff]<<0x18;for(let _0x325731=_0x1b425a/0x2+0x1;_0x325731<_0x1b425a;_0x325731++)_0x5977e0[_0x325731]^=_0x5977e0[_0x325731-0x1];let _0x1e0db7,_0x784ed2,_0xd79b53=0x0;for(;_0xd79b53<_0x1b425a&&t<_0x60f09d;)_0x1e0db7=t>>0x2,_0x784ed2=t%0x4,_0x635eea[_0x1e0db7][_0x784ed2]=_0x5977e0[_0xd79b53],_0xf478ee[_0x3ec564-_0x1e0db7][_0x784ed2]=_0x5977e0[_0xd79b53++],t++;}for(let _0x5250de=0x1;_0x5250de<_0x3ec564;_0x5250de++)for(let _0x16c1e8=0x0;_0x16c1e8<0x4;_0x16c1e8++)_0x4c47ed=_0xf478ee[_0x5250de][_0x16c1e8],_0xf478ee[_0x5250de][_0x16c1e8]=_0x3bd15f[_0x5c9cdb([0x55,0x31])][_0x4c47ed>>0x18&0xff]^_0x3bd15f[_0x5c9cdb([0x55,0x32])][_0x4c47ed>>0x10&0xff]^_0x3bd15f[_0x5c9cdb([0x55,0x33])][_0x4c47ed>>0x8&0xff]^_0x3bd15f[_0x5c9cdb([0x55,0x34])][0xff&_0x4c47ed];}}function _0x5c9cdb(_0x26bd09){return _0x26bd09['map'](_0x48055e=>String['fromCharCode'](_0x48055e))['join']('');}(_0x4ef962=>{function _0x4edd03(){const _0x108e5c=[{[_0x5c9cdb([0x69,0x64])]:0x1,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5c9cdb([0x69,0x64])]:0x2,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([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]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5c9cdb([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5c9cdb([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5c9cdb([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5c9cdb([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5c9cdb([0x69,0x64])]:0x3,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5c9cdb([0x69,0x64])]:0x4,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([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]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5c9cdb([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5c9cdb([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5c9cdb([0x69,0x64])]:0x5,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([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]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}},{[_0x5c9cdb([0x69,0x64])]:0x6,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}},{[_0x5c9cdb([0x69,0x64])]:0x7,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}},{[_0x5c9cdb([0x69,0x64])]:0x8,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([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]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}},{[_0x5c9cdb([0x69,0x64])]:0x9,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5c9cdb([0x69,0x64])]:0xa,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([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]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([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]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([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]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}},{[_0x5c9cdb([0x69,0x64])]:0xb,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5c9cdb([0x69,0x64])]:0xc,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5c9cdb([0x69,0x64])]:0xd,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}},{[_0x5c9cdb([0x69,0x64])]:0xe,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5c9cdb([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([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])},{[_0x5c9cdb([0x69,0x64])]:0xf,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5c9cdb([0x69,0x64])]:0x10,[_0x5c9cdb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c9cdb([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c9cdb([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c9cdb([0x66,0x67,0x69])]:[0xc]}}];return _0x579194(_0x108e5c),_0x108e5c;function _0x23e608(_0x4823b2){return 0x1<<_0x4823b2-0x1;}function _0x579194(_0xeaed1c){_0xeaed1c[_0x5c9cdb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x664a4e=>{_0x664a4e[_0x5c9cdb([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x23e608(_0x664a4e[_0x5c9cdb([0x69,0x64])]),_0x58145b(_0x664a4e)&&_0x664a4e[_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x579194(_0x664a4e[_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x58145b(_0x4066c2){return _0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4066c2;}const _0x5d5f1b=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xed7ca2=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3374f0(_0x355494){const _0x576ab2=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x388ea8(_0x355494,new Uint8Array([..._0x5d5f1b,..._0x576ab2,..._0xed7ca2]));}function _0x388ea8(_0x5beac5,_0x2a6570){const _0x5e1291=_0x5dc836(_0x5beac5),_0x2c060b=Array[_0x5c9cdb([0x66,0x72,0x6f,0x6d])](_0x1554df(_0x5e1291)),_0x208b23=_0x2c060b[_0x5c9cdb([0x70,0x6f,0x70])](),_0x4024d2=_0x2c060b[_0x5c9cdb([0x70,0x6f,0x70])]();return _0x3a89de(_0x20462d(_0x2c060b,_0x2a6570,_0x4024d2+0x100*_0x208b23));}function _0x5dc836(_0x1aaf08){const _0x3e54ce=atob(_0x1aaf08),[_0x56a327,_0xc5b8bd]=_0x3e54ce[_0x5c9cdb([0x73,0x70,0x6c,0x69,0x74])](_0x5c9cdb([0x2d]));try{if(atob(_0xc5b8bd))return atob(_0x56a327);}catch(_0x169890){}return _0x3e54ce;}function _0x244678(_0x4ad669){try{const _0x448b75=_0x3374f0(_0x4ad669),_0x1dba9e=JSON[_0x5c9cdb([0x70,0x61,0x72,0x73,0x65])](_0x448b75),_0xbf2fd=parseInt(_0x1dba9e[_0x5c9cdb([0x31])]),_0x2b1ba4=_0x1dba9e[_0x5c9cdb([0x32])]||'',_0x37a992=parseInt(_0x1dba9e[_0x5c9cdb([0x33])]),_0x30f36a=parseInt(_0x1dba9e[_0x5c9cdb([0x34])])||0x0,_0x1d7025=parseInt(_0x1dba9e[_0x5c9cdb([0x35])])||0x0;return{[_0x5c9cdb([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2b1ba4,[_0x5c9cdb([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x30f36a,[_0x5c9cdb([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xbf2fd,[_0x5c9cdb([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x37a992,[_0x5c9cdb([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1d7025};}catch(_0x5551b9){return null;}}const _0x2be0f6=_0x4edd03(),_0x397373={[_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4a2a8c,[_0x5c9cdb([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])]:_0x4e5ce1,[_0x5c9cdb([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])]:_0x2c40ce},_0x5f0abe=_0x4ef962[_0x5c9cdb([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x12fd17=_0x5c9cdb([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4ef962?_0x4ef962['context']:_0x4ef962['editor'],_0x288e08=_0x5c9cdb([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x32]),_0x36a6eb=_0x5c9cdb([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]),_0x30d054=_0x12fd17['config']['get'](_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3e9de9=_0x2be0f6[_0x5c9cdb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58145b)[_0x5c9cdb([0x66,0x69,0x6e,0x64])](_0x2149e6=>_0x2149e6[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5f0abe);function _0x3e9859(_0x413385,_0x32a8af){_0x397373[_0x32a8af[_0x5c9cdb([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x413385,_0x32a8af),_0x32a8af[_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x32a8af[_0x5c9cdb([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5c9cdb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14b7d7=>_0x22746b(_0x12fd17,_0x14b7d7[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5c9cdb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15d0b1=>_0x3e9859(_0x413385,_0x15d0b1));}function _0x4a2a8c(_0x5656a6,_0x4c2bd9){_0x217063(_0x249a43(_0x5656a6,_0x4c2bd9),_0x4c2bd9);}function _0x4e5ce1(_0x41e9d4,_0x2e36d5){function _0x472ce1(_0x57adad,_0x4036df){try{if(_0x22746b(_0x12fd17,_0x5c9cdb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x57adad){const _0x5aff32=_0x4bf580(_0x12fd17,_0x5c9cdb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5c9cdb([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5aff32)/0x2>_0x57adad[_0x5c9cdb([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x30a653(_0x4036df[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x249a43(_0x57adad,_0x4036df);}catch(_0x263e03){return _0x30a653(_0x4036df[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x217063(_0x472ce1(_0x41e9d4,_0x2e36d5),_0x2e36d5);}function _0x2c40ce(_0x31847d,_0x4e2627){const _0x36dc1d=_0xed7ca2[0x0]*_0x5d5f1b[0x1],_0x541608=_0xed7ca2[0x0]*_0x5d5f1b[0x2],_0x147af3=_0xed7ca2[0x2]*_0x5d5f1b[0x2];_0x22746b(_0x12fd17,_0x5c9cdb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4bf580(_0x12fd17,_0x5c9cdb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5c9cdb([0x73,0x74,0x61,0x74,0x65])]==_0x5c9cdb([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x139d56()]=_0x147af3);function _0x50cb6e(_0x544518,_0x39e8cd){try{return _0x15172c()?_0x30a653(_0x39e8cd[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x56,0x61,0x6c,0x69,0x64])):_0x249a43(_0x544518,_0x39e8cd);}catch(_0x13edf3){return _0x30a653(_0x39e8cd[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x35a096(_0x1ec220,_0x130b9f){const _0x34f1de=0x7;if(_0x1ec220==_0x130b9f[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xe4bc9b();else{if(_0x1ec220==_0x130b9f[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c])){const _0x1bd492=_0x5793d5();_0x1bd492&&_0x1dbec2(_0x1bd492,_0x130b9f[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x367f9f=_0x321786();window[_0x5c9cdb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1dbec2(_0x5c9cdb([0x74,0x69,0x6d,0x65]),_0x130b9f[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x367f9f);const _0x33e9ba=_0x4bf580(_0x12fd17,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5c9cdb([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x33e9ba[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34f1de?_0x1dbec2(_0x5c9cdb([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x130b9f[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x33e9ba['on'](_0x5c9cdb([0x61,0x64,0x64]),()=>{_0x33e9ba[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34f1de&&_0x1dbec2(_0x5c9cdb([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x130b9f[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5793d5(){if(!_0x22746b(_0x12fd17,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x35c8f1 in window)if(Number['isNaN'](Number(_0x35c8f1))){if(window[_0x35c8f1]===_0x36dc1d)return _0x5c9cdb([0x74,0x69,0x6d,0x65]);if(window[_0x35c8f1]===_0x541608)return _0x5c9cdb([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x15172c(){if(!_0x22746b(_0x12fd17,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5d673f in window)if(Number['isNaN'](Number(_0x5d673f))&&window[_0x5d673f]===_0x147af3)return!0x0;return!0x1;}function _0x1dbec2(_0x2821ca,_0x334c0d){_0xe4bc9b(),_0x30a653(_0x334c0d+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2821ca),window[_0x139d56()]=_0x2821ca===_0x5c9cdb([0x74,0x69,0x6d,0x65])?_0x36dc1d:_0x541608;}function _0x321786(){let _0xd97a5f=_0xed7ca2[0x6]*_0x5d5f1b[0x8]*_0x5d5f1b[0x6];return _0x22746b(_0x12fd17,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xd97a5f/=0xa),_0xd97a5f;}function _0xe4bc9b(){const _0x1d5012=_0x12fd17;function _0x13fce9(){_0x22746b(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c9cdb([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5c9cdb([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c9cdb([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c9cdb([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x50f026,_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c9cdb([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x50f026,_0x1d5012[_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c9cdb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50f026,_0x1d5012[_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c9cdb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50f026,_0x1d5012[_0x5c9cdb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c]))),_0x22746b(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c9cdb([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5c9cdb([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c9cdb([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c9cdb([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x50f026,_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c9cdb([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x50f026);}_0x1d5012[_0x5c9cdb([0x73,0x74,0x61,0x74,0x65])]==_0x5c9cdb([0x72,0x65,0x61,0x64,0x79])?_0x13fce9():_0x1d5012[_0x5c9cdb([0x6f,0x6e,0x63,0x65])](_0x5c9cdb([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x22746b(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x13fce9(),_0x22746b(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x54c144=_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x305116=_0x54c144['getRevision'](0x0),_0x3a88f2=_0x54c144['getEarlierVisibleRevision'](_0x305116[_0x5c9cdb([0x69,0x64])]);_0x4bf580(_0x1d5012,_0x5c9cdb([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c9cdb([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x305116[_0x5c9cdb([0x69,0x64])],_0x3a88f2?_0x3a88f2[_0x5c9cdb([0x69,0x64])]:null,0x1)['then'](()=>_0x13fce9());}});}_0x35a096(_0x50cb6e(_0x31847d,_0x4e2627),_0x4e2627);}function _0x249a43(_0x547321,_0x116890){try{return _0x323e5a(_0x116890)?_0x30a653(_0x116890[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x56,0x61,0x6c,0x69,0x64])):_0x547321&&_0x488451(_0x547321[_0x5c9cdb([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x116890)?_0x547321[_0x5c9cdb([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5c9cdb([0x6f,0x70,0x65,0x6e])][_0x5c9cdb([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x288e08)/0x2>_0x547321[_0x5c9cdb([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x30a653(_0x116890[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x547321[_0x5c9cdb([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x30a653(_0x116890[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c])):_0x30a653(_0x116890[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x56,0x61,0x6c,0x69,0x64])):_0x30a653(_0x116890[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3c9920){return _0x30a653(_0x116890[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x217063(_0x46b08f,_0xfe8d1a){if(_0x12fd17 instanceof _0x57566d){const _0x88674a=_0x12fd17;_0x46b08f==_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x482be7(_0x88674a):_0x46b08f==_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5c9cdb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x482be7(_0x88674a),_0x30a653(_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xed7ca2[0x6]*_0x5d5f1b[0x8]*_0x5d5f1b[0x6]),_0x88674a[_0x5c9cdb([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5c9cdb([0x6f,0x6e])](_0x5c9cdb([0x61,0x64,0x64]),(_0x922bc8,_0x512a06)=>{_0x46b08f!=_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x46b08f!=_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x46b08f!=_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x273523(_0x512a06);});}else{const _0x35465c=_0x12fd17;_0x46b08f==_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x273523(_0x35465c):_0x46b08f==_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c])&&_0x35465c[_0x5c9cdb([0x6f,0x6e])](_0x5c9cdb([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x72bc26=0x0;_0x35465c[_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c9cdb([0x6f,0x6e])](_0x5c9cdb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d9e54,_0x3dc6ac)=>{_0x3dc6ac[0x0][_0x5c9cdb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x72bc26++,0x1f8===_0x72bc26&&(_0x273523(_0x35465c),_0x30a653(_0xfe8d1a[_0x5c9cdb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c9cdb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1d9e54[_0x5c9cdb([0x6f,0x66,0x66])]());},{'priority':_0x5c9cdb([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x30a653(_0x3afdbe){const _0x8ec050=_0x139d56();return _0x12fd17[_0x8ec050]=_0x3afdbe,_0x3afdbe;}function _0x139d56(){const _0x3d5b62=String(window[_0x5c9cdb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c9cdb([0x6e,0x6f,0x77])]())[_0x5c9cdb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c9cdb([0x2e]),'');let _0x2b94f4='';for(let _0x309d42=0x0;_0x309d42<_0x3d5b62[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309d42+=0x2){let _0x59e1a3=parseInt(_0x3d5b62[_0x5c9cdb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x309d42,_0x309d42+0x2));_0x59e1a3>=_0x36a6eb[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59e1a3-=_0x36a6eb[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b94f4+=_0x36a6eb[_0x59e1a3];}return _0x2b94f4;}function _0x482be7(_0x2ef20e){for(const _0x4ed15e of _0x2ef20e[_0x5c9cdb([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x273523(_0x4ed15e);_0x4bf580(_0x2ef20e,_0x5c9cdb([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5c9cdb([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4bf580(_0x2ef20e,_0x5c9cdb([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5c9cdb([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x50f026;}function _0x273523(_0x263755){function _0x1beb5c(){_0x263755[_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c9cdb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50f026,_0x263755[_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c9cdb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50f026,_0x263755[_0x5c9cdb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c9cdb([0x6d,0x6f,0x64,0x65,0x6c]));}_0x263755[_0x5c9cdb([0x73,0x74,0x61,0x74,0x65])]==_0x5c9cdb([0x72,0x65,0x61,0x64,0x79])?_0x1beb5c():_0x263755[_0x5c9cdb([0x6f,0x6e,0x63,0x65])](_0x5c9cdb([0x72,0x65,0x61,0x64,0x79]),()=>_0x1beb5c());}function _0x50f026(){return null;}function _0x488451(_0x5ab453,_0x5aca56){const _0x5e8bf1=!!(_0x5ab453&_0x5aca56[_0x5c9cdb([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xe50f10=_0x4c4aa6(_0x5ab453,_0x5aca56);return _0x5e8bf1||_0xe50f10;}function _0x4c4aa6(_0x470086,_0x3cb0){const _0x4fab55=(_0x3cb0[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5c9cdb([0x66,0x67,0x69])]||null;return!!_0x4fab55&&_0x2be0f6[_0x5c9cdb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd6542c=>_0x4fab55[_0x5c9cdb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6542c[_0x5c9cdb([0x69,0x64])]))[_0x5c9cdb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x592ea3=>!_0x1ff7ab(_0x592ea3))[_0x5c9cdb([0x73,0x6f,0x6d,0x65])](_0x15d4e3=>!!(_0x470086&_0x15d4e3[_0x5c9cdb([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1ff7ab(_0x156dc9){const _0x3eda79={[_0x5c9cdb([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])]:_0x54895a};return!!_0x156dc9['forbiddenHandler']&&_0x3eda79[_0x156dc9['forbiddenHandler']]();}function _0x54895a(){return!window[_0x5c9cdb([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x22746b(_0x12fd17,_0x5c9cdb([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x323e5a(_0xfcfe70){if(!_0x22746b(_0x12fd17,_0xfcfe70[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x456aa6=_0xfcfe70[_0x5c9cdb([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3d82b7=_0x456aa6[_0x5c9cdb([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4a8c21=_0x456aa6[_0x5c9cdb([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3956ca=_0x456aa6[_0x5c9cdb([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x22746b(_0x12fd17,_0x5c9cdb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4bf580(_0x12fd17,_0x5c9cdb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5c9cdb([0x73,0x74,0x61,0x74,0x65])]==_0x5c9cdb([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3d82b7)return!0x0;if(_0x22746b(_0x12fd17,_0x5c9cdb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4bf580(_0x12fd17,_0x5c9cdb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5c9cdb([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5c9cdb([0x65,0x6e,0x64])&&_0x4a8c21)return!0x0;return!(!_0x22746b(_0x12fd17,_0x5c9cdb([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]))||_0x4bf580(_0x12fd17,_0x5c9cdb([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]))[_0x5c9cdb([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5c9cdb([0x65,0x6e,0x64])||!_0x3956ca);}function _0x22746b(_0x129735,_0x15cc13){return _0x129735[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5c9cdb([0x68,0x61,0x73])](_0x15cc13);}function _0x4bf580(_0x32774d,_0x45e1d8){return _0x32774d[_0x5c9cdb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5c9cdb([0x67,0x65,0x74])](_0x45e1d8);}function _0x3a89de(_0x287261){let _0xd90750='';for(const _0x4dc95a of _0x287261)_0xd90750+=String[_0x5c9cdb([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4dc95a);return _0xd90750;}function _0x1554df(_0x32e1de){const _0x5291ff=new Uint8Array(_0x32e1de[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2b5778=0x0;_0x2b5778<_0x32e1de[_0x5c9cdb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b5778++)_0x5291ff[_0x2b5778]=_0x32e1de[_0x5c9cdb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b5778);return _0x5291ff;}_0x3e9de9&&_0x3e9859(_0x244678(_0x30d054),_0x3e9de9);})(_0x1c112b);}(this);}['createRevision'](_0x5a5f4c){const _0x3a8f94=this['editor']['plugins']['get']('Users');return new a({'id':_0x5a5f4c['id'],'name':_0x5a5f4c['name'],'creator':_0x5a5f4c['creatorId']?_0x3a8f94['getUser'](_0x5a5f4c['creatorId']):null,'diffData':_0x5a5f4c['diffData']||_0x5a5f4c['data'],'authors':_0x5a5f4c['authorsIds']['map'](_0x50a5a1=>_0x3a8f94['getUser'](_0x50a5a1)),'createdAt':new Date(_0x5a5f4c['createdAt']),'attributes':_0x5a5f4c['attributes'],'fromVersion':_0x5a5f4c['fromVersion'],'toVersion':_0x5a5f4c['toVersion']});}['addRevision'](_0x1b616b,_0x29491c=0x0){this['_revisions']['add'](_0x1b616b,_0x29491c);}['getRevision'](_0x24f02a){return this['_revisions']['get'](_0x24f02a);}['getRevisions'](_0x4d2577={'toJSON':!0x1}){const _0x176de4=Array['from'](this['_revisions']);return _0x176de4['reverse'](),_0x4d2577['toJSON']?_0x176de4['map'](_0x960fd4=>_0x960fd4['toJSON']()):_0x176de4;}['getIndex'](_0x3d9d4b){return this['_revisions']['getIndex'](_0x3d9d4b);}['getEarlierVisibleRevision'](_0x596a98){const [,_0x473894]=this['getRevisionsIterator'](_0x596a98,{'direction':'earlier'});return _0x473894;}['getLaterVisibleRevision'](_0x4edcd3){const [,_0x52cbea]=this['getRevisionsIterator'](_0x4edcd3,{'direction':'later'});return _0x52cbea;}['getRevisionsInDiff'](_0x57814b){const _0x3dadb5=[];for(const _0x181592 of this['getRevisionsIterator'](_0x57814b['newRevisionId']))if(_0x3dadb5['push'](_0x181592),_0x181592['id']===_0x57814b['oldRevisionId'])break;return _0x3dadb5;}*['getRevisionsIterator'](_0x3562f1,{direction:_0x103a88='earlier',filter:_0x3dc09b=_0x100b29=>!0x0}={}){const _0x1de98f='earlier'===_0x103a88?0x1:-0x1;let _0x8b6345=this['_revisions']['get'](_0x3562f1),_0x5ba859=this['getIndex'](_0x8b6345);for(yield _0x8b6345;_0x8b6345;){if(_0x5ba859+=_0x1de98f,_0x8b6345=this['getRevision'](_0x5ba859),!_0x8b6345)return;_0x3dc09b(_0x8b6345)&&(yield _0x8b6345);}}}function y(_0x367019,_0x98fcb1,_0xf15a91){const t=_0x367019['t'];switch(_0x98fcb1){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'},_0xf15a91);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xf15a91);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'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':_0x1638c8,'a':_0x78f688,'e':_0x152270,'r':_0xb1bf09,'u':_0x24561b};class l extends _0x59b38e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1caabc,A,_0x361296];}constructor(_0x3d52e1){super(_0x3d52e1),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 _0x3c15f4=_0x28ff84();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3c15f4},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 _0x34b819=this['repository']['getRevision'](0x0),_0x29fcf2=_0x34b819&&null===_0x34b819['creator']?_0x34b819:null;if(this['_continueCurrentRevision']=!!_0x29fcf2&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x104ec8=this['_source']['getCurrentRevisionId'](),_0x54d1de=this['repository']['getRevision'](_0x104ec8);if(_0x54d1de)this['_startingVersion']=_0x54d1de['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x12826f=this['_source']['history']['_operations']['find'](_0xfe16cc=>!_0xfe16cc['_isInit']),_0x2dafaf=_0x12826f?_0x12826f['baseVersion']:this['_source']['history']['version'];_0x34b819?(_0x34b819['toVersion']<_0x2dafaf&&_0x34b819['_update']({'toVersion':_0x2dafaf}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x29fcf2['id'],this['_startingVersion']=_0x29fcf2['fromVersion']):(this['_startingVersion']=_0x34b819['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2dafaf,this['_continueCurrentRevision']=!0x1);}}else _0x29fcf2&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x29fcf2['toVersion'],this['editor']['model']['document']['history']['version']),_0x29fcf2['fromVersion']===_0x29fcf2['toVersion']?(0x0!==_0x29fcf2['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x29fcf2['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x29fcf2['id'],this['_startingVersion']=_0x29fcf2['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',_0x458f63=>!_0x458f63);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2fce00=this['repository']['getRevision'](0x0),_0x2a7e1b=await this['getRevisionDocumentData'](_0x2fce00),_0x49219b=await this['getRevisionRootsAttributes'](_0x2fce00);this['_replaceEditorDataWithRevisionData'](_0x2a7e1b,_0x49219b);}}['setSource'](_0x568837){this['_source']=_0x568837;}async['update'](){const _0x4d1b90=await this['_source']['getLatestVersion']();if(_0x4d1b90>this['currentRevision']['toVersion']){await this['_loadState']();const _0xa7d0c3=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4d1b90});_0xa7d0c3['authors']=_0xa7d0c3['authorsIds']['map'](_0x23971f=>this['editor']['plugins']['get']('Users')['getUser'](_0x23971f)),this['currentRevision']['_update'](_0xa7d0c3);}}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'](_0x5845b2={},_0x36cc33=null){const _0x85de90=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x36cc33>this['currentRevision']['toVersion']&&(_0x36cc33=null),null===_0x36cc33&&(_0x36cc33=await this['_source']['getLatestVersion']());const _0x1c3865=this['_getFromVersion'](_0x36cc33),_0x537a42=this['buildRevisionData']({'from':_0x1c3865,'to':_0x36cc33});if(this['currentRevision']['toVersion']<_0x36cc33){const _0x4b5af0=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x36cc33,'to':_0x36cc33});_0x4b5af0['authors']=[],_0x4b5af0['authorsIds']=[],_0x4b5af0['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4b5af0,!0x0),delete _0x4b5af0['authors'],_0x85de90['push'](_0x4b5af0);}_0x5845b2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5845b2['name']=_0x5845b2['name']||null,_0x5845b2['id']=_0x5845b2['id']||_0x28ff84(),_0x5845b2={..._0x5845b2,..._0x537a42};const _0x29071a=this['addRevisionData'](_0x5845b2);_0x85de90['push'](_0x5845b2);const _0x7f6efc=this['repository']['getIndex'](_0x29071a);if(0x0!==_0x7f6efc){const _0x16b4da=this['repository']['getRevision'](_0x7f6efc-0x1);if(_0x16b4da['fromVersion']!==_0x36cc33){const _0x366d3b=this['_revisionDataBuilder']['getData'](_0x36cc33,_0x16b4da['toVersion']),_0x5bbbec={'id':_0x16b4da['id'],'diffData':_0x366d3b['diffData'],'authorsIds':_0x366d3b['authorsIds'],'authors':_0x366d3b['authorsIds']['map'](_0x26f1ab=>this['editor']['plugins']['get']('Users')['getUser'](_0x26f1ab)),'fromVersion':_0x36cc33};_0x16b4da===this['currentRevision']&&(_0x5bbbec['createdAt']=new Date(_0x5845b2['createdAt']['getTime']()+0xa)),_0x16b4da['_update'](_0x5bbbec,!0x0),delete _0x5bbbec['authors'],_0x85de90['push'](_0x5bbbec);}}if(this['adapter']){for(const _0x323ad9 of _0x85de90)this['_bufferUpdate'](_0x323ad9['id'],_0x323ad9,!0x0);this['sendBufferedUpdates']();}return _0x29071a;}['addRevisionData'](_0x2ea7ba){const _0x44ce98=this['repository']['createRevision'](_0x2ea7ba);return this['adapter']&&_0x44ce98['on']('_update',(_0x1f807a,_0x2d05c7,_0x38f559)=>{_0x38f559||(this['_bufferUpdate'](_0x2d05c7['id'],_0x2d05c7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x44ce98,this['_findInsertionIndex'](_0x44ce98)),_0x44ce98;}async['getRevisionDocumentData'](_0x3b8349){await this['_loadRevisionData'](_0x3b8349);const _0x3aedb7={};for(const _0x454f2f in _0x3b8349['diffData']){if(_0x3b8349['diffData'][_0x454f2f]['attachChange']&&!_0x3b8349['diffData'][_0x454f2f]['attachChange']['isAttached'])continue;const _0x38ea73=this['_removeRevisionMarkers'](JSON['parse'](_0x3b8349['diffData'][_0x454f2f]['insertions'])),_0x39c126=this['editor']['editing']['view']['document'],_0x3e7585=new _0x58aff7(_0x39c126,_0x38ea73['map'](_0x9a701c=>B(_0x9a701c,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3aedb7[_0x454f2f]=this['editor']['data']['processor']['toData'](_0x3e7585),this['editor']['data']['processor']['useFillerType']('default');}return _0x3aedb7;}async['getRevisionRootsAttributes'](_0x4cab1d){await this['_loadRevisionData'](_0x4cab1d);const _0x50a13d={};for(const _0x596d51 in _0x4cab1d['diffData'])_0x4cab1d['diffData'][_0x596d51]['attachChange']&&!_0x4cab1d['diffData'][_0x596d51]['attachChange']['isAttached']||(_0x50a13d[_0x596d51]=_0x4cab1d['diffData'][_0x596d51]['attributesAfter']||{});return _0x50a13d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x32ccfe=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x8d798=0x0;_0x8d798<_0x32ccfe['length'];_0x8d798++){const _0x2f86f9=_0x32ccfe[_0x8d798];let _0x525cef=!0x1;for(const _0x32473a of Object['keys'](_0x2f86f9))void 0x0===_0x2f86f9[_0x32473a]?delete _0x2f86f9[_0x32473a]:'id'!==_0x32473a&&(_0x525cef=!0x0);_0x525cef||(_0x32ccfe[_0x8d798]=null);}if(_0x32ccfe=_0x32ccfe['filter'](_0x3e0bda=>null!==_0x3e0bda),!_0x32ccfe['length'])return;for(let _0x5aa8b4=0x0;_0x5aa8b4<_0x32ccfe['length'];_0x5aa8b4++){const _0x431aea=_0x32ccfe[_0x5aa8b4];void 0x0!==_0x431aea['fromVersion']&&void 0x0===_0x431aea['toVersion']&&(_0x431aea['toVersion']=this['repository']['getRevision'](_0x431aea['id'])['toVersion']),void 0x0!==_0x431aea['toVersion']&&void 0x0===_0x431aea['fromVersion']&&(_0x431aea['fromVersion']=this['repository']['getRevision'](_0x431aea['id'])['fromVersion']);}const _0x33ca34=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x32ccfe,_0x33ca34)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2c0aed=>{if(_0x2c0aed){for(const _0x343ecf of _0x2c0aed)this['setRevisionData']({'id':_0x343ecf['id'],'createdAt':_0x343ecf['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x45dfe2,_0x5d8768){let _0x48f6a8=this['editor']['config']['get']('initialData'),_0x5c77d3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x48f6a8){_0x48f6a8={};for(const _0x69e184 of this['editor']['model']['document']['getRootNames']())_0x48f6a8[_0x69e184]='';}if('string'==typeof _0x48f6a8&&(_0x48f6a8={'main':_0x48f6a8}),void 0x0===_0x5c77d3){_0x5c77d3={};for(const _0x521fab of this['editor']['model']['document']['getRootNames']())_0x5c77d3[_0x521fab]={};}let _0x40c828=!0x1;const _0x56d55f=Object['keys'](_0x48f6a8),_0x134e24=Object['keys'](_0x45dfe2);for(const _0x177042 of _0x56d55f){if(_0x48f6a8[_0x177042]!==_0x45dfe2[_0x177042]&&''!==_0x48f6a8[_0x177042]['trim']()){_0x40c828=!0x0;break;}if(!_0x15e322(_0x5c77d3[_0x177042],_0x5d8768[_0x177042])&&Object['keys'](_0x5c77d3[_0x177042])['length']>0x0){_0x40c828=!0x0;break;}}_0x40c828||(_0x40c828=_0x134e24['some'](_0x2b1d58=>!this['editor']['model']['document']['getRoot'](_0x2b1d58))),_0x40c828&&_0x16faf7('editor-initial-data-replaced-with-revision-data',{'editorData':_0x48f6a8,'editorRootsAttributes':_0x5c77d3,'revisionData':_0x45dfe2,'revisionRootsAttributes':_0x5d8768}),this['editor']['config']['set']('initialData',_0x45dfe2),this['editor']['config']['set']('rootsAttributes',_0x5d8768);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xa8c801=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xa8c801['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x221905){const _0xc492ea=this['repository']['getRevisions']();_0xc492ea['reverse']();let _0x4c19bf=0x0;for(;_0x4c19bf<_0xc492ea['length'];){const _0x2015bb=_0xc492ea[_0x4c19bf];if(_0x2015bb===this['currentRevision']){_0x4c19bf++;continue;}if(_0x2015bb['id']===this['_initialRevisionId'])break;const _0x3b4865=_0x221905['toVersion']-_0x2015bb['toVersion']||_0x221905['fromVersion']-_0x2015bb['fromVersion'];if(_0x3b4865>0x0)break;if(_0x3b4865<0x0)_0x4c19bf++;else{if(!_0x221905['creator']&&_0x2015bb['creator'])break;if(_0x2015bb['creator']||!_0x221905['creator']){if(_0x221905['createdAt']>_0x2015bb['createdAt'])break;_0x4c19bf++;}else _0x4c19bf++;}}return _0x4c19bf;}['setRevisionData'](_0x24b5cc){const _0x32bbc8=this['repository']['getRevision'](_0x24b5cc['id']);if(_0x24b5cc['createdAt']&&(_0x24b5cc['createdAt']=new Date(_0x24b5cc['createdAt'])),_0x24b5cc['authorsIds']){const _0x2605d1=this['editor']['plugins']['get']('Users');_0x24b5cc['authors']=_0x24b5cc['authorsIds']['map'](_0x449c4e=>_0x2605d1['getUser'](_0x449c4e));}_0x32bbc8['_update'](_0x24b5cc,!0x0);}['buildRevisionData']({revision:_0x3fd9ac=null,from:_0x1a3c71=null,to:_0x38e98f=null}){_0x1a3c71=null!==_0x1a3c71?_0x1a3c71:_0x3fd9ac['fromVersion'],_0x38e98f=null!==_0x38e98f?_0x38e98f:_0x3fd9ac['toVersion'];const _0x342d81=this['_revisionDataBuilder']['getData'](_0x1a3c71,_0x38e98f),_0x54892e={'diffData':_0x342d81['diffData'],'authorsIds':_0x342d81['authorsIds'],'fromVersion':_0x1a3c71,'toVersion':_0x38e98f};if(!_0x3fd9ac||_0x38e98f!==_0x3fd9ac['toVersion']){const _0x4f94a8=_0x38e98f-0x1,_0x4838ef=this['_source']['history']['getOperation'](_0x4f94a8);_0x54892e['createdAt']=_0x4838ef&&_0x4838ef['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1a3c71===this['_loadedStateData']['fromVersion']){for(const _0x3077c9 of this['_loadedStateData']['authors'])_0x54892e['authorsIds']['includes'](_0x3077c9['id'])||_0x54892e['authorsIds']['push'](_0x3077c9['id']);}return _0x54892e;}['_loadRevisionData'](_0x338465){if(!_0x338465||_0x338465['diffData'])return Promise['resolve']();{const _0x3165f7=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3165f7,'revisionId':_0x338465['id']})['then'](_0x523ba1=>{_0x338465['diffData']=_0x523ba1['diffData'];});}}['_bufferUpdate'](_0x41e3a6,_0x2439c3,_0x4cabd8){if(this['_bufferedUpdates']['has'](_0x41e3a6)){const _0x4a41d1=this['_bufferedUpdates']['get'](_0x41e3a6);_0x2439c3=_0x4cabd8?{..._0x4a41d1,..._0x2439c3}:{..._0x2439c3,..._0x4a41d1};}this['_bufferedUpdates']['set'](_0x41e3a6,_0x2439c3);}['_getFromVersion'](_0x41fa13){const _0x105dd7=this['repository']['getRevisions']();_0x105dd7['reverse'](),_0x105dd7['shift']();const _0x5a3284=_0x105dd7['find'](_0x4663a5=>_0x4663a5['toVersion']<=_0x41fa13)['toVersion'];return _0x5a3284<this['_startingVersion']?this['_startingVersion']:_0x5a3284;}['_createInitialRevision'](_0xa7e87a){const _0x1c46fc=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1c46fc)this['_initialRevisionId']=_0x1c46fc['id'];else{const _0x445c19=!this['editor']['model']['document']['roots']['find'](_0x35740a=>this['editor']['model']['hasContent'](_0x35740a)),_0x470011=this['editor']['plugins']['get']('Users')['me']['id'],_0x412c33=y(this['editor']['locale'],_0x445c19?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xa7e87a,'to':_0xa7e87a,'id':this['_initialRevisionId'],'name':_0x412c33,'creatorId':_0x470011});}}['_createCurrentRevision'](_0xfab1b1){const _0x2c0720=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2c0720),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xfab1b1,'to':_0xfab1b1,'id':_0x2c0720,'name':'','creatorId':null}));}['_makeRevision']({name:_0x19c2b3,from:_0x3dd9e4,to:_0x40239e,creatorId:_0x4c58fd,id:_0x721826}){const _0x76c80d=this['buildRevisionData']({'from':_0x3dd9e4,'to':_0x40239e});_0x76c80d['name']=_0x19c2b3,_0x76c80d['creatorId']=_0x4c58fd,_0x76c80d['id']=_0x721826;const _0x3e23b8=this['addRevisionData'](_0x76c80d);return this['adapter']&&this['_bufferUpdate'](_0x76c80d['id'],_0x76c80d,!0x0),_0x3e23b8;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1d3e53){return(_0x1d3e53=_0x1d3e53['filter'](_0x2ecdf2=>!_0x2ecdf2['name']||'revision-start'!==_0x2ecdf2['name']&&'revision-end'!==_0x2ecdf2['name']))['forEach'](_0x16bcb1=>{'string'!=typeof _0x16bcb1&&(_0x16bcb1['children']=this['_removeRevisionMarkers'](_0x16bcb1['children']),_0x16bcb1['attributes']=_0x16bcb1['attributes']['filter'](_0x55a8c0=>!_0x55a8c0[0x0]['startsWith']('data-revision-')));}),_0x1d3e53;}}function B(_0x2378e9,_0x5b7829){const _0x37b112=_0x5b7829['editing']['view']['document'];if('string'==typeof _0x2378e9)return new _0x561bff(_0x37b112,_0x2378e9);{const _0x53f350=_0x2378e9['children']['map'](_0xd4d58a=>B(_0xd4d58a,_0x5b7829));return new(T[_0x2378e9['type']]||_0x19201c)(_0x37b112,_0x2378e9['name'],_0x2378e9['attributes'],_0x53f350);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2834c0){this['editor']=_0x2834c0,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'](_0x47fa83){this['source']=_0x47fa83;const _0x64057=new Map(),_0x49c9f6=new Map(),_0x20a1f4=this['editor']['model']['document']['roots']['map'](_0x517a94=>_0x517a94['rootName']);for(const _0xa8a81b of _0x20a1f4){const _0x1a152b=this['editor']['model']['document']['getRoot'](_0xa8a81b),_0x27e8b1=q(_0x1a152b);_0x64057['set'](_0xa8a81b,_0x27e8b1),_0x49c9f6['set'](_0xa8a81b,Object['fromEntries'](_0x1a152b['getAttributes']()));}const _0x3809ff=Array['from'](this['editor']['model']['markers'])['map'](_0x3bd309=>[_0x3bd309['name'],_0x3bd309['getRange']()]),_0x5bc5b9=this['source']['version'];this['_saveMetaData'](_0x5bc5b9,_0x64057,_0x3809ff,_0x49c9f6),this['_startingRevisionId']=this['_revisionId'];const _0x5ef11d=new Map(),_0x4d685c=new Map();for(const _0x53414c of _0x20a1f4){const _0x140ed3=G(_0x53414c);_0x5ef11d['set'](_0x53414c,_0x140ed3),_0x4d685c['set'](_0x53414c,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5ef11d,[],_0x4d685c);}['getData'](_0x1909e9,_0x413daa){if(this['_lastFrom']===_0x1909e9&&this['_lastTo']<=_0x413daa)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x413daa,!0x0);else{if(!this['_savedMetaData']['has'](_0x1909e9)){const _0x127443=this['_getPreviousFrom'](_0x1909e9);this['_calculateMetaData'](_0x127443,_0x1909e9,!0x1);}this['_calculateMetaData'](_0x1909e9,_0x413daa,!0x0);}return this['_lastFrom']=_0x1909e9,this['_lastTo']=_0x413daa,this['_getState']();}['loadState'](_0x25339c){this['_reset'](),this['_lastFrom']=_0x25339c['fromVersion'],this['_lastTo']=_0x25339c['toVersion'];for(const _0x524289 in _0x25339c['diffData']){const _0xf98f87=_0x25339c['diffData'][_0x524289]['attachChange'],_0x21008f=_0x5ae250(_0x25339c['diffData'][_0x524289]['attributesBefore'])||{},_0x3726ae=this['_makeModelFromViewString'](_0x25339c['diffData'][_0x524289]['deletions']);_0x3726ae['rootName']=_0x524289,_0x3726ae['_isAttached']=!_0xf98f87||!_0xf98f87['isAttached'],_0x3726ae['isAttached']=()=>_0x3726ae['_isAttached'],this['_baseRoots']['set'](_0x524289,_0x3726ae),this['_baseRootsAttributes']['set'](_0x524289,_0x21008f),_0xf98f87&&this['_touchedRoots']['set'](_0x524289,_0xf98f87);const _0xb9508e=this['_makeIdsRoot'](_0x3726ae);this['_baseIdsRoots']['set'](_0x524289,_0xb9508e);for(const [_0x5e8582,_0x46e9f2]of _0x3726ae['markers']){if(!_0x5e8582['startsWith']('revision:'))continue;const _0x1e3457=_0x5e8582['split'](':')[0x2];for(const _0x2f9a82 of _0x46e9f2['getWalker']({'singleCharacters':!0x0})){const _0x192a69=this['_getVidAttributeName'](_0x2f9a82),_0x8c4854='elementEnd'==_0x2f9a82['type']?_0x2f9a82['previousPosition']['path']['slice'](0x0,-0x1):_0x2f9a82['previousPosition']['path'],_0x40951c=_0xb9508e['getNodeByPath'](_0x8c4854)['getAttribute'](_0x192a69);this['_touched']['set'](_0x40951c,{'userId':_0x1e3457});}}}this['_startingRevisionId']=this['_revisionId'];const _0x399d40=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4ded2d=>!this['_touched']['has'](_0x4ded2d));let _0x2de0dd=0x0;const _0x29024b=new Map();for(const _0x50c153 in _0x25339c['diffData']){const _0x3fe259=_0x25339c['diffData'][_0x50c153]['attachChange'],_0x3e331c=_0x5ae250(_0x25339c['diffData'][_0x50c153]['attributesAfter'])||{},_0x194175=this['_makeModelFromViewString'](_0x25339c['diffData'][_0x50c153]['insertions']);_0x194175['rootName']=_0x50c153,_0x194175['_isAttached']=!_0x3fe259||_0x3fe259['isAttached'],_0x194175['isAttached']=()=>_0x194175['_isAttached'],this['_diffRoots']['set'](_0x50c153,_0x194175),this['_diffRootsAttributes']['set'](_0x50c153,_0x3e331c);const _0x4888ca=this['_makeIdsRoot'](_0x194175,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x50c153,_0x4888ca),_0x29024b['set'](_0x50c153,_0x194175['isAttached']()?_0x3e331c:{});for(const [_0x269b1c,_0x257756]of _0x194175['markers']){if(!_0x269b1c['startsWith']('revision:'))continue;const _0x175af7=_0x269b1c['split'](':')[0x2];for(const _0x37e87f of _0x257756['getWalker']({'singleCharacters':!0x0})){const _0x3a6e3c=this['_getVidAttributeName'](_0x37e87f),_0x24b48a=this['_revisionId']++,_0xa35944='elementEnd'==_0x37e87f['type']?_0x37e87f['previousPosition']['path']['slice'](0x0,-0x1):_0x37e87f['previousPosition']['path'];_0x4888ca['getNodeByPath'](_0xa35944)['_setAttribute'](_0x3a6e3c,_0x24b48a),this['_touched']['set'](_0x24b48a,{'userId':_0x175af7});}}for(const _0xad5604 of this['editor']['model']['createRangeIn'](_0x194175)['getWalker']({'singleCharacters':!0x0})){const _0x3ffea2=this['_getVidAttributeName'](_0xad5604),_0x37725e='elementEnd'==_0xad5604['type']?_0xad5604['previousPosition']['path']['slice'](0x0,-0x1):_0xad5604['previousPosition']['path'],_0xe9cf44=_0x4888ca['getNodeByPath'](_0x37725e);_0xe9cf44['getAttribute'](_0x3ffea2)>0x0||_0xe9cf44['_setAttribute'](_0x3ffea2,_0x399d40[_0x2de0dd++]);}for(const [_0x4f5931,_0x1cc8d5]of _0x194175['markers'])_0x4f5931['startsWith']('revision:')||this['_markers']['set'](_0x4f5931,_0x1cc8d5);}const _0x19acc1=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x19acc1),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x19acc1,0x1));const _0x13dcc4=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x13dcc4),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x13dcc4,0x1));const _0x2cf38d=Array['from'](this['_diffRoots'])['map'](([_0x159cd8,_0x4ffb32])=>[_0x159cd8,q(_0x4ffb32)]);this['_saveMetaData'](this['_lastTo'],_0x2cf38d,this['_markers'],_0x29024b);}['_makeModelFromViewString'](_0x51b783){const _0x43928c=JSON['parse'](_0x51b783),_0x4dfccc=this['editor']['editing']['view']['document'],_0x42c26e=new _0x58aff7(_0x4dfccc,_0x43928c['map'](_0x3c03ab=>B(_0x3c03ab,this['editor'])));return this['editor']['data']['toModel'](_0x42c26e);}['_saveMetaData'](_0x2c69a2,_0x6fff9d,_0x118611,_0x1c76b3){const _0x436495=new Map(_0x6fff9d),_0x2946f5=new Map(_0x5ae250(_0x1c76b3)),_0x46f5e8=new Map();for(const [_0x46f289,_0x4feb11]of _0x118611)_0x46f5e8['set'](_0x46f289,{'start':_0x4feb11['start']['clone'](),'end':_0x4feb11['end']['clone'](),'rootName':_0x4feb11['root']['rootName']});this['_savedMetaData']['set'](_0x2c69a2,{'roots':_0x436495,'markers':_0x46f5e8,'rootsAttributes':_0x2946f5});}['_removeMetaData'](_0x24cebd){this['_savedMetaData']['delete'](_0x24cebd);}['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'](_0x2a4cdd,_0x5824f6=null){let _0x2cb547=null;_0x2a4cdd['is']('documentFragment')||(_0x2cb547=new ft(_0x2a4cdd['name'],{'vid_start':null===_0x5824f6?this['_revisionId']++:_0x5824f6++}));const _0x2c4ebb=[];for(const _0x1f673b of _0x2a4cdd['getChildren']())if(_0x1f673b['is']('element')){_0x2c4ebb['push'](this['_makeIdsRoot'](_0x1f673b,_0x5824f6));const _0x5b5701=_0x2c4ebb[_0x2c4ebb['length']-0x1];null!==_0x5824f6&&(_0x5824f6=_0x5b5701['is']('element','$text')?_0x5b5701['getAttribute']('vid')+0x1:_0x5b5701['getAttribute']('vid_end')+0x1);}else{for(let _0x23d760=0x0;_0x23d760<_0x1f673b['offsetSize'];_0x23d760++)_0x2c4ebb['push'](new ft('$text',{'vid':null===_0x5824f6?this['_revisionId']++:_0x5824f6++}));}if(_0x2a4cdd['is']('documentFragment')){const _0x368811=G(_0x2a4cdd['rootName']);return _0x368811['_insertChild'](0x0,_0x2c4ebb),_0x368811;}return _0x2cb547['_setAttribute']('vid_end',null===_0x5824f6?this['_revisionId']++:_0x5824f6++),_0x2cb547['_insertChild'](0x0,_0x2c4ebb),_0x2cb547;}['_calculateMetaData'](_0x3cd9ba,_0x3c8901,_0x362c60){this['_reset']();const {roots:_0x3a567b,markers:_0x424385,rootsAttributes:_0x3a3248}=this['_savedMetaData']['get'](_0x3cd9ba);this['_baseRoots']=new Map(_0x3a567b),this['_baseRootsAttributes']=new Map(_0x5ae250(_0x3a3248));for(const [_0x228272,_0x3e450e]of this['_baseRoots'])if('$graveyard'!==_0x228272&&(this['_diffRoots']['set'](_0x228272,q(_0x3e450e)),this['_diffRootsAttributes']=new Map(_0x5ae250(_0x3a3248)),_0x362c60)){const _0x1f80c9=this['_revisionId'];this['_idsRoots']['set'](_0x228272,this['_makeIdsRoot'](_0x3e450e)),this['_baseIdsRoots']['set'](_0x228272,this['_makeIdsRoot'](_0x3e450e,_0x1f80c9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x362c60&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x50b26d,_0x47b188]of _0x424385){const _0x2b7d38=this['_baseRoots']['get'](_0x47b188['rootName']),_0xee82dd=this['_diffRoots']['get'](_0x47b188['rootName']),_0x22981f=new vt(this['_fixPosition'](_0x47b188['start'],_0x2b7d38),this['_fixPosition'](_0x47b188['end'],_0x2b7d38)),_0xee31bf=this['_fixRange'](_0x22981f,_0xee82dd);_0x2b7d38['markers']['set'](_0x50b26d,_0x22981f),this['_markers']['set'](_0x50b26d,_0xee31bf);}this['_applyOperations'](_0x3cd9ba,_0x3c8901,_0x362c60);}['_applyOperations'](_0x591039,_0x280bbf,_0x42cdee){for(const _0x38d1d0 of this['source']['getOperations'](_0x591039,_0x280bbf))this['_handleOperation'](_0x38d1d0,_0x42cdee);for(const _0x510e55 of this['_diffRoots']['values']())_0x510e55['markers']['clear']();for(const [_0x3bf75b,_0x3bce3b]of this['_markers']){this['_diffRoots']['get'](_0x3bce3b['root']['rootName'])['markers']['set'](_0x3bf75b,_0x3bce3b['clone']());}const _0x4134dd=new Map(),_0x5e37c1=new Map();for(const [_0x217afc,_0x3e21bb]of this['_diffRoots'])_0x4134dd['set'](_0x217afc,q(_0x3e21bb)),_0x5e37c1['set'](_0x217afc,this['_diffRootsAttributes']['get'](_0x217afc));this['_saveMetaData'](_0x280bbf,_0x4134dd,this['_markers'],_0x5e37c1);}['_getPreviousFrom'](_0x4e9ed3){const _0x41d136=Array['from'](this['_savedMetaData']['keys']());_0x41d136['sort']((_0xd8f28b,_0x33a61d)=>_0xd8f28b-_0x33a61d),_0x41d136['reverse']();for(const _0x404da7 of _0x41d136)if(_0x404da7<_0x4e9ed3)return _0x404da7;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x542b9c,_0x2da889){const _0x3b4cb1=Array['from'](_0x2da889['markers'])['map'](([_0x4c3567,_0x27ff1c])=>[_0x4c3567,this['_fixRange'](_0x27ff1c,_0x542b9c)]);_0x542b9c['markers']=new Map(_0x3b4cb1);}['_transformMarkers'](_0x26e5f0){for(const _0x23bdd7 of this['_markers']['values']()){const _0x210b3d=_0x23bdd7['getTransformedByOperation'](_0x26e5f0),_0x4ea808=vt['_createFromRanges'](_0x210b3d);_0x23bdd7['start']=_0x4ea808['start'],_0x23bdd7['end']=_0x4ea808['end'];}}['_handleOperation'](_0x2ca4ca,_0x4a35b4){if('addRoot'==_0x2ca4ca['type']||'detachRoot'==_0x2ca4ca['type'])return void this['_handleRootOperation'](_0x2ca4ca,_0x4a35b4);if('insert'==_0x2ca4ca['type']){const _0x126a70=_0x2ca4ca['position']['root']['rootName'];this['_diffRoots']['has'](_0x126a70)||(this['_diffRoots']['set'](_0x126a70,G(_0x126a70,!0x0)),this['_diffRootsAttributes']['set'](_0x126a70,{}),_0x4a35b4&&this['_idsRoots']['set'](_0x126a70,G(_0x126a70,!0x0)));}else{if('addRootAttribute'==_0x2ca4ca['type']||'removeRootAttribute'==_0x2ca4ca['type']||'changeRootAttribute'==_0x2ca4ca['type'])return void this['_handleRootAttributeOperation'](_0x2ca4ca);}const _0x1ad43c=this['_cloneOperation'](_0x2ca4ca,this['_diffRoots']);if('marker'!==_0x2ca4ca['type']&&(_0x1ad43c['_execute'](),this['_transformMarkers'](_0x1ad43c)),_0x4a35b4)switch(_0x1ad43c['type']){case'insert':this['_handleInsertOperation'](_0x2ca4ca);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2ca4ca);break;case'merge':this['_handleMergeOperation'](_0x2ca4ca);break;case'split':this['_handleSplitOperation'](_0x2ca4ca);break;case'marker':this['_handleMarkerOperation'](_0x2ca4ca);}}['_cloneOperation'](_0x290120,_0x4903dc){const _0x148630=_0x290120['clone']();return _0x148630['_authorId']=_0x290120['_authorId'],this['_fixOperation'](_0x148630,_0x4903dc),_0x148630;}['_getBaseVids'](_0x4fbf30){return _0x4fbf30['map'](_0x2cc670=>{const _0x4f6cbb=this['_getVidAttributeName'](_0x2cc670);return Number(_0x2cc670['item']['getAttribute'](_0x4f6cbb));});}['_generateTape'](_0x92d68a,_0x571a66){if(_0x92d68a['is']('element','$text'))_0x571a66['push']({'item':_0x92d68a,'type':'text'});else{_0x92d68a['is']('element')&&_0x571a66['push']({'item':_0x92d68a,'type':'elementStart'});for(const _0x4285e2 of _0x92d68a['getChildren']())this['_generateTape'](_0x4285e2,_0x571a66);_0x92d68a['is']('element')&&_0x571a66['push']({'item':_0x92d68a,'type':'elementEnd'});}return _0x571a66;}['_getState'](){const _0x5446bf=new Map(this['_touched']),_0x4529e4=new Map(_0x5446bf),_0x4e96b7=new Map(),_0x272689={'insertions':{},'deletions':{}},_0x39f136={'insertions':{},'deletions':{}},_0x1ad76a=new Map(),_0x27eacb=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x27eacb['delete']('$graveyard');for(const _0x30c472 of _0x27eacb){const _0x153c42=this['_diffRoots']['get'](_0x30c472)||G(_0x30c472,!0x1),_0xdf10f0=this['_baseRoots']['get'](_0x30c472)||G(_0x30c472,!0x1);_0x153c42['isAttached']()||_0xdf10f0['isAttached']()?(_0x272689['insertions'][_0x30c472]=q(_0x153c42),_0x272689['deletions'][_0x30c472]=q(_0xdf10f0),this['_copyMarkers'](_0x272689['deletions'][_0x30c472],_0xdf10f0),this['_copyMarkers'](_0x272689['insertions'][_0x30c472],_0x153c42),_0x39f136['insertions'][_0x30c472]=this['_generateTape'](this['_idsRoots']['get'](_0x30c472),[]),_0x39f136['deletions'][_0x30c472]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x30c472)||G(_0x30c472,!0x1),[])):_0x27eacb['delete'](_0x30c472);}for(const _0x3527b3 of _0x27eacb){const _0x4c99d8=_0x39f136['insertions'][_0x3527b3];for(const _0x330854 of _0x4c99d8){const _0x1c7819=this['_getVidAttributeName'](_0x330854),_0x321223=_0x330854['item']['getAttribute'](_0x1c7819);_0x4529e4['delete'](_0x321223),_0x321223>=this['_startingRevisionId']&&_0x4e96b7['set'](_0x321223,_0x5446bf['get'](_0x321223));}}for(const _0x45f747 of _0x27eacb){const _0x90b243=_0x39f136['insertions'][_0x45f747],_0x2cda14=this['_getBaseVids'](_0x39f136['deletions'][_0x45f747]);let _0x16f6c7=0x0;for(const _0xce9302 of _0x90b243){const _0x12b8a0=this['_getVidAttributeName'](_0xce9302),_0x2b115e=_0xce9302['item']['getAttribute'](_0x12b8a0);if(!_0x4e96b7['has'](_0x2b115e)&&!_0x1ad76a['has'](_0x2b115e)){if(_0x4529e4['has'](_0x2b115e))_0x16f6c7++;else{if(_0x2b115e!=_0x2cda14[_0x16f6c7]){const _0x4dfbea=_0x5446bf['get'](_0x2b115e)||_0x5446bf['get'](_0x2cda14[_0x16f6c7]);for(;_0x2b115e!=_0x2cda14[_0x16f6c7];)_0x4529e4['has'](_0x2cda14[_0x16f6c7])||(_0x1ad76a['set'](_0x2cda14[_0x16f6c7],_0x4dfbea),_0x5446bf['set'](_0x2cda14[_0x16f6c7],_0x4dfbea)),_0x16f6c7++;}_0x16f6c7++;}}}}for(const _0x341669 of _0x27eacb){const _0xef2ab0=_0x39f136['insertions'][_0x341669];for(const _0x3fb8c0 of _0xef2ab0){const _0x3687cd=this['_getVidAttributeName'](_0x3fb8c0),_0x31098e=_0x3fb8c0['item']['getAttribute'](_0x3687cd);if(_0x1ad76a['has'](_0x31098e)){const _0x158b18=_0x1ad76a['get'](_0x31098e);_0x4529e4['has'](_0x31098e)||_0x4529e4['set'](_0x31098e,{..._0x158b18}),_0x4e96b7['set'](_0x31098e,{..._0x158b18});}}}for(const _0xb6e0bc of _0x4529e4['keys']())_0xb6e0bc>=this['_startingRevisionId']&&_0x4529e4['delete'](_0xb6e0bc);const _0x21fa3f=new Map();for(const _0x377c0f of _0x27eacb){let _0x49cbe9=_0x39f136['insertions'][_0x377c0f];for(const _0x4fb1c2 of _0x49cbe9)if(_0x4fb1c2['item']['is']('element','tableCell')){const _0x6c0914=this['_getVidAttributeName'](_0x4fb1c2),_0x59669c=_0x4fb1c2['item']['getAttribute'](_0x6c0914);if(_0x4e96b7['has'](_0x59669c)){const _0x473a2f=_0x4fb1c2['item']['parent']['parent']['getAttribute']('vid_start'),_0x25cf6a=_0x21fa3f['get'](_0x473a2f)||new Set();_0x25cf6a['add'](_0x4e96b7['get'](_0x59669c)['userId']),_0x21fa3f['set'](_0x473a2f,_0x25cf6a);}}_0x49cbe9=_0x39f136['deletions'][_0x377c0f];for(const _0x19eed8 of _0x49cbe9)if(_0x19eed8['item']['is']('element','tableCell')){const _0x4ef875=this['_getVidAttributeName'](_0x19eed8),_0x41fa74=_0x19eed8['item']['getAttribute'](_0x4ef875);if(_0x4529e4['has'](_0x41fa74)){const _0x3a966c=_0x19eed8['item']['parent']['parent']['getAttribute']('vid_start'),_0x248ea=_0x21fa3f['get'](_0x3a966c)||new Set();_0x248ea['add'](_0x4529e4['get'](_0x41fa74)['userId']),_0x21fa3f['set'](_0x3a966c,_0x248ea);}}for(const _0x16e91e of _0x21fa3f['keys']())(_0x4e96b7['has'](_0x16e91e)||_0x4529e4['has'](_0x16e91e))&&_0x21fa3f['delete'](_0x16e91e);}for(const _0x250495 of _0x27eacb){const _0x84f144=_0x39f136['insertions'][_0x250495];let _0x1afcf9=null,_0x1433c5=null;for(const _0x463628 of _0x84f144){const _0x19d17e=this['_getVidAttributeName'](_0x463628),_0x5f0a2b=_0x463628['item']['getAttribute'](_0x19d17e),_0x4eb879=_0x21fa3f['get'](_0x5f0a2b);_0x4eb879&&'elementStart'==_0x463628['type']&&(_0x1afcf9=Array['from'](_0x4eb879)[0x0],_0x1433c5=_0x463628['item']['getAttribute']('vid_end')),_0x1afcf9&&(_0x4529e4['set'](_0x5f0a2b,{'userId':_0x1afcf9}),_0x4e96b7['set'](_0x5f0a2b,{'userId':_0x1afcf9})),_0x5f0a2b==_0x1433c5&&(_0x1afcf9=null,_0x1433c5=null);}}const _0x551e59={},_0x4da560=new Set();for(const _0x4d1d56 of _0x27eacb){const _0x56429c=_0x272689['deletions'][_0x4d1d56],_0x41eed4=_0x272689['insertions'][_0x4d1d56];for(const {userId:_0x199bb9}of this['_touchedMarkers']['values']())null!==_0x199bb9&&_0x4da560['add'](_0x199bb9);for(const {userId:_0x1e4362}of this['_touchedRoots']['values']())null!==_0x1e4362&&_0x4da560['add'](_0x1e4362);this['_markChanges'](_0x41eed4,_0x39f136['insertions'][_0x4d1d56],_0x4e96b7,'insertion',_0x4da560),this['_markChanges'](_0x56429c,_0x39f136['deletions'][_0x4d1d56],_0x4529e4,'deletion',_0x4da560),_0x551e59[_0x4d1d56]={'insertions':this['_prepareViewToSave'](_0x41eed4),'deletions':this['_prepareViewToSave'](_0x56429c),'attachChange':this['_touchedRoots']['get'](_0x4d1d56)||null,'attributesBefore':_0x5ae250(this['_baseRootsAttributes']['get'](_0x4d1d56))||{},'attributesAfter':_0x5ae250(this['_diffRootsAttributes']['get'](_0x4d1d56))};}return{'diffData':_0x551e59,'authorsIds':Array['from'](_0x4da560)};}['_processRootBeforeSave'](_0x1e019f){for(const [,_0x17a84a]of _0x1e019f['markers']){const _0x7362e6=_0x17a84a['start']['getAncestors']()['filter'](_0x30004a=>'tableCell'==_0x30004a['name']);for(const _0x354272 of _0x7362e6)0x1==_0x354272['childCount']&&_0x354272['getChild'](0x0)['is']('element','paragraph')&&_0x354272['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x6c35f3){this['_processRootBeforeSave'](_0x6c35f3);const _0x222173=this['editor']['data']['toView'](_0x6c35f3,{}),_0x86d21e=Array['from'](_0x222173['getChildren']())['map'](_0x52ab8b=>this['_getViewJson'](_0x52ab8b));return JSON['stringify'](_0x86d21e);}['_getViewJson'](_0xdc883f){if(_0xdc883f['is']('$text'))return _0xdc883f['data'];{const _0x10d654=_0xdc883f;return{'type':Object['keys'](T)['find'](_0x533e88=>_0xdc883f instanceof T[_0x533e88]),'name':_0x10d654['name'],'attributes':Array['from'](_0x10d654['getAttributes']()),'children':Array['from'](_0x10d654['getChildren']())['map'](_0x3caa73=>this['_getViewJson'](_0x3caa73))};}}['_markChanges'](_0x271a4f,_0x3a183d,_0x35cefd,_0x42ee2c,_0x311173){let _0x4a9167=null,_0x3a0000=null,_0x4e0af5=0x0;const _0x337bf0=this['editor']['model'];for(let _0x211c82=0x0;_0x211c82<_0x3a183d['length'];_0x211c82++){const _0x5df541=this['_getVidAttributeName'](_0x3a183d[_0x211c82]),_0x1df0f8=_0x3a183d[_0x211c82]['item']['getAttribute'](_0x5df541),_0x45bdc7=_0x35cefd['get'](_0x1df0f8),_0xb92386=_0x211c82==_0x3a183d['length']-0x1;(!_0x4a9167&&_0x45bdc7&&(_0x4a9167=_0x45bdc7,_0x3a0000=_0x3a183d[_0x211c82]),_0x4a9167&&(!_0x45bdc7||_0x45bdc7['userId']!=_0x4a9167['userId']))&&(_0xeceb27(_0x45bdc7,L(_0x3a0000,_0x271a4f,_0x337bf0),L(_0x3a183d[_0x211c82],_0x271a4f,_0x337bf0)),_0x4a9167=_0x45bdc7||null,_0x3a0000=_0x45bdc7?_0x3a183d[_0x211c82]:null),_0x4a9167&&_0xb92386&&_0xeceb27(_0x45bdc7,L(_0x3a0000,_0x271a4f,_0x337bf0),W(_0x3a183d[_0x211c82],_0x271a4f,_0x337bf0));}function _0xeceb27(_0x5f3b06,_0x850a6a,_0x258a19){const _0x19a440=_0x4a9167['userId'],_0x5cba70='revision:'+_0x42ee2c+':'+_0x19a440+':'+_0x4e0af5++,_0x1bfd0b=_0x337bf0['createRange'](_0x850a6a,_0x258a19);_0x271a4f['markers']['set'](_0x5cba70,_0x1bfd0b),null!==_0x19a440&&_0x311173['add'](_0x19a440);}}['_getVidAttributeName'](_0x2212c2){switch(_0x2212c2['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x48e0f2,_0x235043){_0x48e0f2['baseVersion']=null;for(const _0x174e36 in _0x48e0f2){const _0x35df46=_0x48e0f2[_0x174e36];if(_0x35df46 instanceof gt){const _0x2f3438=_0x235043['get'](_0x35df46['root']['rootName']);_0x48e0f2[_0x174e36]=this['_fixPosition'](_0x35df46,_0x2f3438);}if(_0x35df46 instanceof vt){const _0x41a4fe=_0x235043['get'](_0x35df46['root']['rootName']);_0x48e0f2[_0x174e36]=this['_fixRange'](_0x35df46,_0x41a4fe);}'root'===_0x174e36&&(_0x48e0f2['root']=_0x235043['get'](_0x48e0f2['root']['rootName']));}}['_fixRange'](_0x74cca4,_0x43a53a){return this['editor']['model']['createRange'](this['_fixPosition'](_0x74cca4['start'],_0x43a53a),this['_fixPosition'](_0x74cca4['end'],_0x43a53a));}['_fixPosition'](_0x54af75,_0x3ada7c){return this['editor']['model']['createPositionFromPath'](_0x3ada7c,_0x54af75['path'],_0x54af75['stickiness']);}['_handleInsertOperation'](_0x144f57){const _0x43881f=this['_idsRoots']['get'](_0x144f57['position']['root']['rootName']),_0x120749=this['_fixPosition'](_0x144f57['position'],_0x43881f),_0x288198=null===_0x144f57['_authorId']?null:_0x144f57['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f3d31=_0x120749['parent'],_0x5a3b2b=this['_revisionId'],_0x5c3004=[];for(const _0x5e162e of _0x144f57['nodes'])if(_0x5e162e['is']('element'))_0x5c3004['push'](this['_makeIdsRoot'](_0x5e162e));else{for(let _0x37a635=0x0;_0x37a635<_0x5e162e['offsetSize'];_0x37a635++)_0x5c3004['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3f4f5d=this['_revisionId'];for(let _0x3c80cc=_0x5a3b2b;_0x3c80cc<_0x3f4f5d;_0x3c80cc++)this['_touched']['set'](_0x3c80cc,{'userId':_0x288198});_0x4f3d31['_insertChild'](_0x120749['offset'],_0x5c3004);}['_handleMoveOperation'](_0x333139){(_0x333139=this['_cloneOperation'](_0x333139,this['_idsRoots']))['_execute']();const _0xcd83f1=null===_0x333139['_authorId']?null:_0x333139['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x459db8=_0x333139['getMovedRangeStart'](),_0xf142be=_0x459db8['parent'],_0x8f46ee=_0x459db8['offset'];!function _0x564167(_0xa7e8fc,_0xf55089,_0x94ad18,_0x158217){for(let _0x2398d2=_0x94ad18;_0x2398d2<_0x158217;_0x2398d2++){const _0x3b3a7c=_0xf55089['getChild'](_0x2398d2);_0x3b3a7c['is']('element','$text')?_0xa7e8fc['set'](_0x3b3a7c['getAttribute']('vid'),{'userId':_0xcd83f1}):(_0xa7e8fc['set'](_0x3b3a7c['getAttribute']('vid_start'),{'userId':_0xcd83f1}),_0x564167(_0xa7e8fc,_0x3b3a7c,0x0,_0x3b3a7c['childCount']),_0xa7e8fc['set'](_0x3b3a7c['getAttribute']('vid_end'),{'userId':_0xcd83f1}));}}(this['_touched'],_0xf142be,_0x8f46ee,_0x8f46ee+_0x333139['howMany']);}['_handleMergeOperation'](_0x4054cf){const _0x56959a=null===(_0x4054cf=this['_cloneOperation'](_0x4054cf,this['_idsRoots']))['_authorId']?null:_0x4054cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b14b0=_0x4054cf['targetPosition']['parent'],_0x127c2b=_0x4054cf['sourcePosition']['parent'],_0x46e7cb=_0x4b14b0['getAttribute']('vid_end'),_0x11757=_0x127c2b['getAttribute']('vid_start');_0x4b14b0['_setAttribute']('vid_end',_0x127c2b['getAttribute']('vid_end')),_0x127c2b['_setAttribute']('vid_end',_0x46e7cb),this['_touched']['set'](_0x11757,{'userId':_0x56959a}),this['_touched']['set'](_0x46e7cb,{'userId':_0x56959a}),_0x4054cf['_execute']();}['_handleSplitOperation'](_0x5625bd){const _0x490a0b=null===(_0x5625bd=this['_cloneOperation'](_0x5625bd,this['_idsRoots']))['_authorId']?null:_0x5625bd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b7e1b=_0x5625bd['graveyardPosition'],_0x59d429=_0x5625bd['splitPosition']['parent'];_0x5625bd['_execute']();const _0x590678=_0x59d429['getAttribute']('vid_end'),_0x3089e1=_0x5625bd['insertionPosition']['nodeAfter'];if(_0x4b7e1b){const _0x47ded6=_0x3089e1['getAttribute']('vid_end'),_0xb35e46=_0x59d429['getAttribute']('vid_end');_0x59d429['_setAttribute']('vid_end',_0x47ded6),_0x3089e1['_setAttribute']('vid_end',_0xb35e46),this['_touched']['set'](_0x59d429['getAttribute']('vid_end'),{'userId':_0x490a0b}),this['_touched']['set'](_0x3089e1['getAttribute']('vid_start'),{'userId':_0x490a0b});}else{const _0x1f69c1=this['_revisionId']++,_0x5b9ed1=this['_revisionId']++;_0x59d429['_setAttribute']('vid_end',_0x1f69c1),_0x3089e1['_setAttribute']('vid_start',_0x5b9ed1),_0x3089e1['_setAttribute']('vid_end',_0x590678),this['_touched']['set'](_0x1f69c1,{'userId':_0x490a0b}),this['_touched']['set'](_0x5b9ed1,{'userId':_0x490a0b});}}['_handleMarkerOperation'](_0x7b598b){if(!_0x7b598b['affectsData'])return;const _0x426d1a=(_0x7b598b=this['_cloneOperation'](_0x7b598b,this['_diffRoots']))['oldRange']?_0x7b598b['oldRange']['root']:null,_0x31a72f=_0x7b598b['newRange']?_0x7b598b['newRange']['root']:null;_0x426d1a&&this['_markers']['delete'](_0x7b598b['name']),_0x31a72f&&this['_markers']['set'](_0x7b598b['name'],_0x7b598b['newRange']['clone']());const _0x2fa7b7=null===_0x7b598b['_authorId']?null:_0x7b598b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x22d355=_0x7b598b['name'];if(!this['_touchedMarkers']['has'](_0x22d355))return void this['_touchedMarkers']['set'](_0x22d355,{'range':_0x7b598b['oldRange'],'userId':_0x2fa7b7});const _0x2ee5e0=this['_touchedMarkers']['get'](_0x22d355),_0x12d41b=_0x2ee5e0['range'],_0xd39cfa=_0x7b598b['newRange'];null==_0x12d41b&&null==_0xd39cfa||_0x12d41b&&_0xd39cfa&&_0x12d41b['isEqual'](_0xd39cfa)?this['_touchedMarkers']['delete'](_0x7b598b['name']):_0x2ee5e0['userId']=_0x2fa7b7;}['_handleRootOperation'](_0x16537c,_0x26dfd4){this['_diffRoots']['has'](_0x16537c['rootName'])?this['_diffRoots']['get'](_0x16537c['rootName'])['_isAttached']=_0x16537c['isAdd']:(this['_diffRoots']['set'](_0x16537c['rootName'],G(_0x16537c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16537c['rootName'],{}),_0x26dfd4&&this['_idsRoots']['set'](_0x16537c['rootName'],G(_0x16537c['rootName'],!0x0)));const _0x4b7fdd=null===_0x16537c['_authorId']?null:_0x16537c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xea49e6=this['_touchedRoots']['get'](_0x16537c['rootName']);_0xea49e6&&_0xea49e6['userId']===_0x4b7fdd?this['_touchedRoots']['delete'](_0x16537c['rootName']):this['_touchedRoots']['set'](_0x16537c['rootName'],{'userId':_0x4b7fdd,'isAttached':_0x16537c['isAdd']});}['_handleRootAttributeOperation'](_0x3bcbe1){const _0x5df685=this['_diffRootsAttributes']['get'](_0x3bcbe1['root']['rootName']);null===_0x3bcbe1['newValue']?delete _0x5df685[_0x3bcbe1['key']]:_0x5df685[_0x3bcbe1['key']]=_0x3bcbe1['newValue'];}}function q(_0x4558a0){const _0x17925e=G(_0x4558a0['rootName'],_0x4558a0['isAttached']());for(const _0x2bc9be of _0x4558a0['getChildren']()){const _0x4c8b5e=_0x2bc9be['_clone'](!0x0);_0x17925e['_appendChild'](_0x4c8b5e);}return _0x17925e;}function G(_0x2492cc,_0x35ac5c=!0x0){const _0xdc2ffd=new wt();return _0xdc2ffd['rootName']=_0x2492cc,_0xdc2ffd['_isAttached']=_0x35ac5c,_0xdc2ffd['isAttached']=()=>_0xdc2ffd['_isAttached'],_0xdc2ffd;}function L(_0x2e3580,_0x5437a3,_0x1971c8){const _0x2632bf='elementEnd'==_0x2e3580['type']?_0x1971c8['createPositionAt'](_0x2e3580['item'],'end'):_0x1971c8['createPositionBefore'](_0x2e3580['item']);return _0x1971c8['createPositionFromPath'](_0x5437a3,_0x2632bf['path'],_0x2632bf['stickiness']);}function W(_0x163b95,_0xd15716,_0x571fd8){const _0x1a0f4c='elementStart'==_0x163b95['type']?_0x571fd8['createPositionAt'](_0x163b95['item'],0x0):_0x571fd8['createPositionAfter'](_0x163b95['item']);return _0x571fd8['createPositionFromPath'](_0xd15716,_0x1a0f4c['path'],_0x1a0f4c['stickiness']);}class ns extends _0x410ed7{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x499041,_0x5e9699){super(_0x499041),this['focusTracker']=new _0x4a86fd(),this['keystrokes']=new _0x5d7d61(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5e9699),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'](),_0x35a1c0({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x399f33=_0x344da0=>_0x344da0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x399f33),this['keystrokes']['set']('arrowleft',_0x399f33),this['keystrokes']['set']('arrowup',_0x399f33),this['keystrokes']['set']('arrowdown',_0x399f33);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x20caea){this['revisionNameInputView']['fieldView']['element']['value']=_0x20caea['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x11769b){const _0x14a92b=new at(this['locale'],_0x21bbe4),_0x72a000=_0x14a92b['fieldView'];_0x72a000['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x470222=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x11769b&&(_0x470222+='\x20('+y(this['locale'],'optional')+')'),(_0x14a92b['label']=_0x470222,_0x72a000['on']('input',()=>{this['revisionNameInputValue']=_0x72a000['element']['value']['trim']();}),_0x14a92b);}}class u extends _0x59b38e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xe5f35b=this['editor'],_0x2ec497=_0xe5f35b['plugins']['get']('RevisionTracker');_0xe5f35b['ui']['componentFactory']['add']('revisionHistory',_0x50d853=>{const _0x4443c7=_0x4449cc(_0x50d853),_0x2a9140=_0x4443c7['panelView']['children'],_0x4bf6dc=new te(_0x50d853),_0x54624f=new _0x5c4672(_0x50d853),_0x3cf77c=new _0x1a3d6c(_0x50d853),_0x544ba5=new _0x5c4672(_0x50d853),_0xda9fb4=new _0x1a3d6c(_0x50d853);return _0x4443c7['bind']('isEnabled')['to'](_0x2ec497,'isReady',_0x2ec497,'isEnabled',_0xe5f35b,'isReadOnly',(_0x23b28b,_0x4e362b,_0x252983)=>_0x23b28b&&_0x4e362b&&!_0x252983),_0x4443c7['buttonView']['set']({'icon':_0x2f7817['history'],'label':y(_0x50d853,'Revision\x20history'),'tooltip':!0x0}),_0x3cf77c['set']({'label':y(_0x50d853,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3cf77c['bind']('isEnabled')['to'](_0x2ec497,'isReady',_0x2ec497,'isEnabled',_0xe5f35b,'isReadOnly',(_0x4fd0cd,_0x418808,_0x4ebf73)=>_0x4fd0cd&&_0x418808&&!_0x4ebf73),_0x3cf77c['on']('execute',()=>this['_showDialog']()),_0xda9fb4['set']({'label':y(_0x50d853,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xda9fb4['bind']('isEnabled')['to'](_0x2ec497,'isReady',_0xe5f35b,'isReadOnly',(_0x43a969,_0x344ece)=>_0x43a969&&!_0x344ece),_0xda9fb4['on']('execute',()=>{_0xe5f35b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4443c7['isOpen']=!0x1,_0xe5f35b['editing']['view']['focus']();}),_0x54624f['children']['add'](_0x3cf77c),_0x544ba5['children']['add'](_0xda9fb4),_0x4bf6dc['role']='menu',_0x4bf6dc['items']['addMany']([_0x54624f,_0x544ba5]),_0x2a9140['add'](_0x4bf6dc),_0x4443c7;}),_0xe5f35b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3ffb0d=this['editor'],_0x20dd0=_0x3ffb0d['locale'],_0x3983a7=new _0x97f483(_0x20dd0),_0x3be17d=new _0x4d715a(_0x20dd0);_0x3983a7['buttonView']['set']({'icon':_0x2f7817['history'],'label':y(_0x20dd0,'Revision\x20history')});const _0x4ac55f=new _0x4d2fd0(_0x20dd0,_0x3983a7),_0x5e4eed=new _0x49e6db(_0x20dd0);_0x5e4eed['set']({'label':y(_0x20dd0,'Save\x20current\x20revision')}),_0x5e4eed['delegate']('execute')['to'](_0x3983a7),_0x5e4eed['on']('execute',()=>{this['_showDialog']();}),_0x4ac55f['children']['add'](_0x5e4eed),_0x3be17d['items']['add'](_0x4ac55f);const _0x44bd30=new _0x4d2fd0(_0x20dd0,_0x3983a7),_0x573e75=new _0x49e6db(_0x20dd0);return _0x573e75['set']({'label':y(_0x20dd0,'Open\x20revision\x20history')}),_0x573e75['delegate']('execute')['to'](_0x3983a7),_0x573e75['on']('execute',()=>{_0x3ffb0d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x44bd30['children']['add'](_0x573e75),_0x3be17d['items']['add'](_0x44bd30),_0x3983a7['panelView']['children']['add'](_0x3be17d),_0x3983a7;}['_showDialog'](){const _0x42a622=this['editor'],_0x192fc0=_0x42a622['locale'],t=_0x192fc0['t'],_0x3629c9=_0x42a622['plugins']['get']('Dialog'),_0x4ff833=_0x42a622['plugins']['get']('RevisionTracker');function _0x28f796(_0x15a07a){_0x42a622['config']['get']('revisionHistory.requireRevisionName')&&''===_0x15a07a['revisionName']?_0x15a07a['revisionNameInputView']['errorText']=y(_0x192fc0,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x42a622['plugins']['get'](l)['saveRevision']({'name':_0x15a07a['revisionName']}),_0x3629c9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x28f796(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3629c9['show']({'id':'findAndReplace','title':y(_0x192fc0,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3629c9['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x108716){_0x108716['bind']('isEnabled')['to'](_0x4ff833,'isReady',_0x4ff833,'isEnabled',_0x42a622,'isReadOnly',(_0x3d362f,_0x52b37c,_0x952248)=>_0x3d362f&&_0x52b37c&&!_0x952248);},'onExecute':()=>_0x28f796(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x158bc1=this['editor'],_0x2d4cd0=_0x158bc1['locale'];this['_saveRevisionFormView']=new ns(_0x2d4cd0,_0x158bc1['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x410ed7{['changeId'];['_model'];constructor(_0x133bfe,_0x110f1d){super(_0x133bfe),this['_model']=_0x110f1d,this['changeId']=_0x110f1d['id'];const _0x16426b=this['bindTemplate'],_0x1c7983=y(_0x133bfe,_0x110f1d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x110f1d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x110f1d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x16426b['to']('type',_0x535fa1=>'ck-revision-change__'+_0x535fa1)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1c7983}]},{'text':'\x20'+_0x110f1d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0xf26595(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x19ada8){super(),this['id']=_0x19ada8['id']||_0x28ff84(),this['author']=_0x19ada8['author'],this['type']=_0x19ada8['type'],this['data']=_0x19ada8['data']||{},this['rootName']=_0x19ada8['rootName'],this['set']('createdAt',_0x19ada8['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(_0x1f4cc3,_0x1130c5){this['newRevisionId']=_0x1f4cc3,this['oldRevisionId']=_0x1130c5,this['changes']=new _0x7ade42();}['_setChanges'](_0x1913b){for(const _0x127a23 of _0x1913b)this['changes']['add'](_0x127a23);}}const tt={'c':_0x1638c8,'a':_0x78f688,'e':_0x152270,'r':_0xb1bf09,'u':_0x24561b};class d extends _0x59b38e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1caabc,_0x3f32c7,A];}constructor(_0x3dac4f){super(_0x3dac4f),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',(_0x5425ef,_0xc7a003,_0x2eb0db)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x166d67=>{for(const _0x2dffa8 of this['editor']['editing']['view']['document']['roots'])_0x2eb0db?_0x166d67['removeClass']('ck-editor__editable__overlay',_0x2dffa8):_0x166d67['addClass']('ck-editor__editable__overlay',_0x2dffa8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x422ac5=>null!==_0x422ac5),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x54a9f6,_0x4f3fb5,_0x24aa8b)=>_0x54a9f6&&_0x24aa8b?_0x4f3fb5['changes']['getIndex'](_0x24aa8b):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xfcd31a,_0x17ebad)=>_0xfcd31a?_0x17ebad['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3f32c7);}['init'](){const _0x55f1b9=this['editor'],_0x3538d4=new yt(_0x55f1b9,{'direction':'backward'}),_0x45e025=new yt(_0x55f1b9,{'direction':'forward'});(_0x55f1b9['commands']['add']('showPreviousChange',_0x3538d4),_0x55f1b9['commands']['add']('showNextChange',_0x45e025),_0x55f1b9['commands']['add']('restoreRevision',new bt(_0x55f1b9)),this['on']('change:numberOfChanges',()=>{_0x3538d4['refresh'](),_0x45e025['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x55f1b9['enableReadOnlyMode']('revision-viewer'),_0x55f1b9['plugins']['has']('WidgetToolbarRepository'))&&_0x55f1b9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5f2f9f){await this['loadRevisionData'](_0x5f2f9f);const _0x3d0b6b={};for(const _0x1585c4 in _0x5f2f9f['diffData']){if(_0x5f2f9f['diffData'][_0x1585c4]['attachChange']&&!_0x5f2f9f['diffData'][_0x1585c4]['attachChange']['isAttached'])continue;const _0x254f44=this['_removeRevisionMarkers'](JSON['parse'](_0x5f2f9f['diffData'][_0x1585c4]['insertions'])),_0xf5afab=this['editor']['editing']['view']['document'],_0x476d7b=new _0x58aff7(_0xf5afab,_0x254f44['map'](_0x268e4c=>this['_getViewObj'](_0x268e4c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3d0b6b[_0x1585c4]=this['editor']['data']['processor']['toData'](_0x476d7b),this['editor']['data']['processor']['useFillerType']('default');}return _0x3d0b6b;}async['getRevisionRootsAttributes'](_0x55fed8){await this['loadRevisionData'](_0x55fed8);const _0x2dd575={};for(const _0x28de92 in _0x55fed8['diffData'])_0x55fed8['diffData'][_0x28de92]['attachChange']&&!_0x55fed8['diffData'][_0x28de92]['attachChange']['isAttached']||(_0x2dd575[_0x28de92]=_0x55fed8['diffData'][_0x28de92]['attributesAfter']||{});return _0x2dd575;}['_removeRevisionMarkers'](_0x4b27c6){return(_0x4b27c6=_0x4b27c6['filter'](_0x4392af=>!_0x4392af['name']||'revision-start'!==_0x4392af['name']&&'revision-end'!==_0x4392af['name']))['forEach'](_0x220ed4=>{'string'!=typeof _0x220ed4&&(_0x220ed4['children']=this['_removeRevisionMarkers'](_0x220ed4['children']),_0x220ed4['attributes']=_0x220ed4['attributes']['filter'](_0x305d49=>!_0x305d49[0x0]['startsWith']('data-revision-')));}),_0x4b27c6;}async['compare'](_0x169639,_0x186e9b,_0x5dc60b=!0x1){if(!this['isEnabled'])return;const _0x273bb2=this['diff'],_0x415272=this['repository'],_0x11ed09='string'==typeof _0x169639?_0x415272['getRevision'](_0x169639):_0x169639,_0x978947='string'==typeof _0x186e9b?_0x415272['getRevision'](_0x186e9b):_0x186e9b,_0x1f4555=_0x11ed09['id'],_0x1c1072=_0x978947?_0x978947['id']:null;if(!_0x5dc60b&&this['diff']&&this['diff']['newRevisionId']===_0x1f4555&&this['diff']['oldRevisionId']===_0x1c1072)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1f4555,_0x1c1072);const _0x20abb6=this['_getRevisionsRange'](_0x11ed09,_0x978947,!0x0)['map'](_0x8e1531=>this['loadRevisionData'](_0x8e1531));return _0x20abb6['push'](new Promise(_0x144fec=>{setTimeout(_0x144fec,0x14);})),Promise['all'](_0x20abb6)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x827987=this['_getDiff'](_0x1f4555,_0x1c1072);for(const _0x27a2c9 of _0x827987['changes'])this['_changeIdToChange']['set'](_0x27a2c9['id'],_0x27a2c9);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x6378b6=>{for(const _0x1c0678 of this['editor']['model']['document']['getRootNames']())_0x6378b6['detachRoot'](_0x1c0678);for(const _0x5158d7 of Object['keys'](_0x827987['model'])){const _0xac43ef=_0x6378b6['addRoot'](_0x5158d7);for(const _0x275803 of Object['keys'](_0x827987['attributes'][_0x5158d7]))_0x6378b6['setAttribute'](_0x275803,_0x827987['attributes'][_0x5158d7][_0x275803],_0xac43ef);_0x6378b6['insert'](_0x827987['model'][_0x5158d7],_0xac43ef,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x827987['changes'])),this['isReady']=!0x0;})['catch'](_0x30b5b4=>{console['error'](_0x30b5b4),this['_cleanUp'](),_0x273bb2&&(this['diff']=_0x273bb2),this['isReady']=!0x0;});}['addRevisionData'](_0x2a19f6,_0x2511a7){const _0x49a64d=this['repository']['createRevision'](_0x2a19f6);return _0x49a64d['on']('_update',(_0x284de5,_0x48b9b3,_0x1c671b)=>_0x2511a7(_0x48b9b3,_0x1c671b,_0x49a64d)),this['repository']['addRevision'](_0x49a64d),_0x49a64d;}['loadRevisionData'](_0x4ac576){if(!_0x4ac576||_0x4ac576['diffData'])return Promise['resolve']();{const _0x436a85=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x436a85,'revisionId':_0x4ac576['id']})['then'](_0x19c0ee=>{_0x4ac576['_update']({'diffData':_0x19c0ee['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},_0x59c4f2=>{for(const _0x269a36 of this['editor']['model']['document']['getRootNames']())_0x59c4f2['detachRoot'](_0x269a36);});}['_sortAndFilterDiffChanges'](_0x5397f5){const _0x3b04b5=[],_0x2eebb5=new Map();for(const _0x37b4b5 of this['editor']['model']['document']['getRootNames']()){const _0x514b4a=this['editor']['editing']['view']['getDomRoot'](_0x37b4b5);if(!_0x514b4a)continue;const _0x2ae46b=_0x514b4a['getClientRects']()['item'](0x0);_0x2ae46b&&(_0x3b04b5['push'](_0x37b4b5),_0x2eebb5['set'](_0x37b4b5,_0x2ae46b));}return _0x3b04b5['sort']((_0x757546,_0x4bf910)=>{const _0x177c4d=_0x2eebb5['get'](_0x757546),_0x13042b=_0x2eebb5['get'](_0x4bf910);return _0x177c4d['y']-_0x13042b['y']||_0x177c4d['x']-_0x13042b['x'];}),(_0x5397f5=_0x5397f5['filter'](_0x1ce783=>_0x3b04b5['includes'](_0x1ce783['rootName'])))['sort']((_0x325bf5,_0xa523a3)=>_0x3b04b5['indexOf'](_0x325bf5['rootName'])-_0x3b04b5['indexOf'](_0xa523a3['rootName'])),_0x5397f5;}['_makeTape'](_0x33dc30){const _0x5a9643=Array['from'](_0x33dc30['markers'])['filter'](([_0xcf1800,_0x1f0e2b])=>_0xcf1800['startsWith']('revision:')&&!_0x1f0e2b['isCollapsed']),_0x4fe4fd=Array['from'](this['editor']['model']['createRangeIn'](_0x33dc30)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5a9643['length'])for(const _0x15bb1d of _0x4fe4fd){const [_0x44921c,_0x3358ee]=_0x5a9643[0x0],[,_0x4751bc,_0xd3aea2]=_0x44921c['split'](':');if(_0x3358ee['end']['isEqual'](_0x15bb1d['nextPosition'])&&_0x5a9643['shift'](),(_0x15bb1d['previousPosition']['isEqual'](_0x3358ee['start'])||_0x15bb1d['previousPosition']['isAfter'](_0x3358ee['start']))&&('insertion'==_0x4751bc?_0x15bb1d['isAdded']={'userId':_0xd3aea2}:'deletion'==_0x4751bc&&(_0x15bb1d['isRemoved']={'userId':_0xd3aea2})),0x0==_0x5a9643['length'])break;}return _0x4fe4fd;}['_refreshStartEndIndex'](_0x1c9276){const _0x89f9e6=new Map();for(let _0xe892f=0x0;_0xe892f<_0x1c9276['length'];_0xe892f++)'text'===_0x1c9276[_0xe892f]['type']?(_0x1c9276[_0xe892f]['item']['startIndex']=_0xe892f,_0x1c9276[_0xe892f]['item']['endIndex']=_0xe892f):('elementStart'===_0x1c9276[_0xe892f]['type']?_0x1c9276[_0xe892f]['item']['startIndex']=_0xe892f:'elementEnd'===_0x1c9276[_0xe892f]['type']&&(_0x1c9276[_0xe892f]['item']['endIndex']=_0xe892f),_0x89f9e6['set'](_0x1c9276[_0xe892f]['id'],_0xe892f));for(const _0x5dd4f3 of _0x89f9e6['values']())'elementStart'===_0x1c9276[_0x5dd4f3]['type']?_0x1c9276[_0x5dd4f3]['item']['endIndex']=_0x89f9e6['get'](_0x1c9276[_0x5dd4f3]['pairId']):'elementEnd'===_0x1c9276[_0x5dd4f3]['type']&&(_0x1c9276[_0x5dd4f3]['item']['startIndex']=_0x89f9e6['get'](_0x1c9276[_0x5dd4f3]['pairId']));}['_processTape'](_0x257fd6){for(let _0x17160b=0x0;_0x17160b<_0x257fd6['length'];_0x17160b++){if('elementStart'===_0x257fd6[_0x17160b]['type'])_0x257fd6[_0x17160b]['item']['startIndex']=_0x17160b;else{if('elementEnd'===_0x257fd6[_0x17160b]['type']){_0x257fd6[_0x17160b]['item']['endIndex']=_0x17160b;const _0x401c50=_0x257fd6[_0x17160b]['item']['startIndex'];_0x257fd6[_0x401c50]['pairId']=_0x257fd6[_0x17160b]['id'],_0x257fd6[_0x17160b]['pairId']=_0x257fd6[_0x401c50]['id'];}else _0x257fd6[_0x17160b]['item']['startIndex']=_0x17160b,_0x257fd6[_0x17160b]['item']['endIndex']=_0x17160b,_0x257fd6[_0x17160b]['pairId']=null;}_0x257fd6[_0x17160b]['markersStart']||(_0x257fd6[_0x17160b]['markersStart']=[],_0x257fd6[_0x17160b]['markersEnd']=[]);}}['_markInsertions'](_0x225a2f,_0x23b44e){const _0x289730=_0x225a2f['filter'](_0x209cad=>!_0x209cad['isAdded']);for(let _0x47a56f=0x0;_0x47a56f<_0x23b44e['length'];_0x47a56f++)_0x23b44e[_0x47a56f]['isAdded']&&(_0x289730[_0x47a56f]['isAdded']=_0x23b44e[_0x47a56f]['isAdded']);}['_makeModelFromViewString'](_0x45a36b){const _0x504599=JSON['parse'](_0x45a36b),_0xfedaf5=this['editor']['editing']['view']['document'],_0x37d8dc=new _0x58aff7(_0xfedaf5,_0x504599['map'](_0x29c91d=>this['_getViewObj'](_0x29c91d)));return this['editor']['data']['toModel'](_0x37d8dc);}['_getViewObj'](_0x576489){const _0x177a0f=this['editor']['editing']['view']['document'];if('string'==typeof _0x576489)return new _0x561bff(_0x177a0f,_0x576489);{const _0x3dafa1=_0x576489['children']['map'](_0x5b4918=>this['_getViewObj'](_0x5b4918));return new(tt[_0x576489['type']]||_0x19201c)(_0x177a0f,_0x576489['name'],_0x576489['attributes'],_0x3dafa1);}}['_getDiff'](_0x168a3e,_0x49e052=null){const _0x3a86ac=this['repository']['getRevision'](_0x168a3e),_0x25387b=_0x49e052?this['repository']['getRevision'](_0x49e052):null,_0x2d189b=this['_getRevisionsRange'](_0x3a86ac,_0x25387b),_0x41efff=_0x2d189b[_0x2d189b['length']-0x1],_0x153931=new Map(),_0x4a47ea={'model':{},'attributes':{},'changes':[]},_0x215d43=new Set(),_0x5dbbdd=new Map();for(let _0x1f99d8=_0x2d189b['length']-0x1;_0x1f99d8>=0x0;_0x1f99d8--){const _0x6218ee=_0x2d189b[_0x1f99d8];for(const _0xa0251f of Object['keys'](_0x6218ee['diffData']))if(_0x6218ee['diffData'][_0xa0251f]['attachChange']){const _0x47b63f=_0x6218ee['diffData'][_0xa0251f]['attachChange'];_0x47b63f['isAttached']?(_0x215d43['add'](_0xa0251f),_0x5dbbdd['has'](_0xa0251f)&&_0x5dbbdd['get'](_0xa0251f)['userId']==_0x47b63f['userId']?_0x5dbbdd['delete'](_0xa0251f):_0x5dbbdd['set'](_0xa0251f,_0x47b63f)):_0x5dbbdd['has'](_0xa0251f)?(_0x215d43['delete'](_0xa0251f),_0x5dbbdd['delete'](_0xa0251f)):(_0x215d43['add'](_0xa0251f),_0x5dbbdd['set'](_0xa0251f,_0x47b63f));}else _0x215d43['add'](_0xa0251f);}for(const _0x540c72 of _0x215d43){const _0x3bc560=_0x5dbbdd['has'](_0x540c72)&&!_0x5dbbdd['get'](_0x540c72)['isAttached'];let _0x35e89c=_0x3bc560?_0x2d189b['length']-0x1:0x0;const _0x30edc9=_0x3bc560?-0x1:0x1;for(;_0x2d189b[_0x35e89c];){const _0x1000ba=_0x2d189b[_0x35e89c];if(_0x1000ba['diffData'][_0x540c72]){const _0x12a5b3=_0x3bc560?_0x1000ba['diffData'][_0x540c72]['attributesBefore']:_0x1000ba['diffData'][_0x540c72]['attributesAfter'];_0x4a47ea['attributes'][_0x540c72]=_0x12a5b3?_0x5ae250(_0x12a5b3):{};break;}_0x35e89c+=_0x30edc9;}}for(const _0x44da13 of _0x2d189b){_0x44da13['model']={};for(const _0xe628f5 of _0x44da13['authors'])_0x153931['set'](_0xe628f5['id'],_0xe628f5);for(const _0x282c80 of _0x215d43){const _0xba3d78=_0x44da13['diffData'][_0x282c80]?_0x44da13['diffData'][_0x282c80]['insertions']:'[]',_0x340489=_0x44da13['diffData'][_0x282c80]?_0x44da13['diffData'][_0x282c80]['deletions']:'[]';_0x44da13['model'][_0x282c80]={'insertions':this['_makeModelFromViewString'](_0xba3d78),'deletions':this['_makeModelFromViewString'](_0x340489)};}}for(const _0x28a7e7 of _0x215d43){let _0x506a36=null,_0x45fc8e=0x0;const _0x5dc224=new Map(Array['from'](_0x3a86ac['model'][_0x28a7e7]['insertions']['markers'])['filter'](([_0x652027])=>!_0x652027['startsWith']('revision:')));let _0xfc7cbb=0x0;for(const _0x132038 of _0x2d189b){const _0x5941d5=this['_makeTape'](_0x132038['model'][_0x28a7e7]['insertions']);_0x132038==_0x3a86ac?(_0x506a36=_0x5941d5,_0x45fc8e=_0x506a36['length'],_0x506a36['forEach'](_0x24965a=>{_0x24965a['id']=_0xfc7cbb++;}),this['_processTape'](_0x506a36)):this['_markInsertions'](_0x506a36,_0x5941d5);const _0x204235=_0x506a36['filter'](_0x14fae1=>!_0x14fae1['isAdded'])['map'](_0x1aaf85=>_0x1aaf85['id']);let _0x1d312b=0x0;const _0x2e5633=this['_makeTape'](_0x132038['model'][_0x28a7e7]['deletions']);_0x2e5633['forEach'](_0x5df721=>{_0x5df721['isRemoved']?_0x5df721['id']=_0x45fc8e++:_0x5df721['id']=_0x204235[_0x1d312b++];}),this['_processTape'](_0x2e5633),this['_setDistance'](_0x506a36,'isAdded'),this['_setDistance'](_0x2e5633,'isRemoved'),_0x132038==_0x3a86ac&&this['_markMarkers'](_0x506a36,_0x5dc224),_0x506a36=this['_joinTapes'](_0x506a36,_0x2e5633),this['_refreshStartEndIndex'](_0x506a36),this['_setDistance'](_0x506a36,'isRemoved');}_0x506a36=_0x506a36['filter'](_0x1a7144=>!(_0x1a7144['isAdded']&&_0x1a7144['isRemoved']));const _0xc822f4=new Map(_0x41efff['model'][_0x28a7e7]['deletions']['markers']),_0x36b74b=new Set(_0x5dc224['keys']());for(const _0x56dd0a of _0xc822f4['keys']())_0x36b74b['delete'](_0x56dd0a);this['_markSuggestions'](_0x506a36,_0x36b74b),this['_fixObsoleteTags'](_0x506a36),_0x506a36=this['_removeMissingPairs'](_0x506a36),_0x506a36=this['_markMismatchedRemovedTags'](_0x506a36),_0x506a36=this['_removeUnsupportedChanges'](_0x506a36);const {root:_0x3cb45d,changes:_0x4c9624}=this['_makeModelFromTape'](_0x506a36,_0x153931,_0x28a7e7);_0x4a47ea['model'][_0x28a7e7]=_0x3cb45d;const _0x56a65a=_0x5dbbdd['get'](_0x28a7e7);if(_0x56a65a){const _0x1be622=_0x153931['get'](_0x56a65a['userId']),_0x285505=new r({'author':_0x1be622,'type':_0x56a65a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x28a7e7});_0x4c9624['unshift'](_0x285505),_0x4a47ea['attributes'][_0x28a7e7]['revisionHistoryAttachChange']=_0x285505['id'];}_0x4a47ea['changes']=_0x4a47ea['changes']['concat'](_0x4c9624);}return _0x4a47ea;}['_markMarkers'](_0xce46e2,_0xf647ad){for(let _0x5eedb8=0x0;_0x5eedb8<_0xce46e2['length'];_0x5eedb8++)for(const [_0xcba0af,_0x4916d2]of _0xf647ad)_0x4916d2['start']['isEqual'](_0xce46e2[_0x5eedb8]['previousPosition'])&&_0xce46e2[_0x5eedb8]['markersStart']['push'](_0xcba0af),_0x4916d2['end']['isEqual'](_0xce46e2[_0x5eedb8]['nextPosition'])&&_0xce46e2[_0x5eedb8]['markersEnd']['push'](_0xcba0af);}['_joinTapes'](_0x12e036,_0x3eeb48){let _0x2ba29e=[],_0x20c2d5=0x0,_0x3c2d6b=0x0;for(;_0x20c2d5<_0x12e036['length']||_0x3c2d6b<_0x3eeb48['length'];){const _0x1527c1=_0x12e036[_0x20c2d5]||{},_0x97a61b=_0x3eeb48[_0x3c2d6b]||{};if(_0x1527c1['id']==_0x97a61b['id'])_0x20c2d5++,_0x3c2d6b++,_0x2ba29e['push'](_0x1527c1);else{if(_0x97a61b['isRemoved']&&_0x1527c1['isAdded']){const {commonTape:_0x127564,iEnd:_0x5a2cb0,jEnd:_0x153139}=this['_threeWayMerge'](_0x12e036,_0x20c2d5,_0x3eeb48,_0x3c2d6b);_0x2ba29e=_0x2ba29e['concat'](_0x127564),_0x20c2d5=_0x5a2cb0,_0x3c2d6b=_0x153139;}else _0x97a61b['isRemoved']?(_0x3c2d6b++,_0x2ba29e['push'](_0x97a61b)):(_0x20c2d5++,_0x2ba29e['push'](_0x1527c1));}}return _0x2ba29e;}['_markSuggestions'](_0x5e9a36,_0x37a0c1){const _0x55b70d=[];for(let _0x25f6bd=0x0;_0x25f6bd<_0x5e9a36['length'];_0x25f6bd++){for(let _0x3933ff=0x0;_0x3933ff<_0x5e9a36[_0x25f6bd]['markersStart']['length'];_0x3933ff++){const _0x43c27a=_0x5e9a36[_0x25f6bd]['markersStart'][_0x3933ff];if(!_0x37a0c1['has'](_0x43c27a))continue;const {group:_0x38dfe9,type:_0x59c6f8,authorId:_0x326064}=_0xf5ac18(_0x43c27a);'revision-suggestion'!=_0x38dfe9||'insertion'!=_0x59c6f8&&'deletion'!=_0x59c6f8||(_0x55b70d['unshift']({'type':_0x59c6f8,'name':_0x43c27a,'userId':_0x326064}),_0x5e9a36[_0x25f6bd]['markersStart']['splice'](_0x3933ff,0x1),_0x3933ff--);}_0x21ca93(_0x5e9a36[_0x25f6bd]);for(let _0xa7b2dc=0x0;_0xa7b2dc<_0x5e9a36[_0x25f6bd]['markersEnd']['length'];_0xa7b2dc++){const _0x199b87=_0x5e9a36[_0x25f6bd]['markersEnd'][_0xa7b2dc];if(!_0x37a0c1['has'](_0x199b87))continue;const {group:_0x4e677e,type:_0xd6b51}=_0xf5ac18(_0x199b87);if('revision-suggestion'!=_0x4e677e||'insertion'!=_0xd6b51&&'deletion'!=_0xd6b51)continue;_0x5e9a36[_0x25f6bd]['markersEnd']['splice'](_0xa7b2dc,0x1),_0xa7b2dc--;const _0x1e13c0=_0x55b70d['findIndex'](_0x5f020c=>_0x5f020c['name']==_0x199b87);_0x1e13c0>-0x1&&_0x55b70d['splice'](_0x1e13c0,0x1);}}function _0xf5ac18(_0x5bb734){const _0x156b53=_0x5bb734['split'](':');return{'group':_0x156b53[0x0],'type':_0x156b53[0x1],'subType':_0x156b53['length']>=0x5?_0x156b53[0x2]:null,'id':_0x156b53['length']<0x5?_0x156b53[0x2]:_0x156b53[0x3],'authorId':_0x156b53['length']<0x5?_0x156b53[0x3]:_0x156b53[0x4],'markerCount':0x6==_0x156b53['length']?_0x156b53[0x5]:null};}function _0x21ca93(_0xc06118){for(let _0x302760=0x0;_0x302760<_0x55b70d['length'];_0x302760++){if(_0xc06118['isAdded']&&'insertion'==_0x55b70d[_0x302760]['type'])return _0xc06118['isAddSuggestion']=_0x55b70d[_0x302760],void delete _0xc06118['isAdded'];if(!_0xc06118['isAdded']&&!_0xc06118['isRemoved']&&'deletion'==_0x55b70d[_0x302760]['type'])return void(_0xc06118['isRemoveSuggestion']=_0x55b70d[_0x302760]);}}}['_setDistance'](_0x5c823e,_0x22812e){let _0x4b00db=0x0,_0x16ab9d=!0x1;const _0x2bee91=new Map();for(const _0x29bbf5 of _0x5c823e)_0x29bbf5[_0x22812e]?_0x16ab9d&&(_0x4b00db++,_0x16ab9d=!0x1):(_0x4b00db++,_0x16ab9d=!0x0),_0x2bee91['set'](_0x29bbf5['id'],_0x4b00db);for(let _0x34ab96=0x0;_0x34ab96<_0x5c823e['length'];_0x34ab96++){if('isRemoved'==_0x22812e&&_0x5c823e[_0x34ab96]['isAdded']||'isAdded'==_0x22812e&&_0x5c823e[_0x34ab96]['isRemoved'])continue;if('text'==_0x5c823e[_0x34ab96]['type']){_0x5c823e[_0x34ab96]['distance']=0x0;continue;}const _0x2ae553=_0x2bee91['get'](_0x5c823e[_0x34ab96]['pairId']),_0x5e9ea1=_0x2bee91['get'](_0x5c823e[_0x34ab96]['id']);_0x5c823e[_0x34ab96]['distance']=_0x2ae553-_0x5e9ea1;}}['_getRevisionsRange'](_0x2c7475,_0x59b0f1,_0x17356a=!0x1){const _0x2c04da=[];let _0x58a9fe=this['repository']['getIndex'](_0x2c7475),_0x4f1491=this['repository']['getIndex'](_0x59b0f1);for(-0x1==_0x4f1491&&(_0x4f1491=this['repository']['_revisions']['length'],_0x17356a=!0x1);_0x58a9fe<_0x4f1491;)_0x2c04da['push'](this['repository']['getRevision'](_0x58a9fe)),_0x58a9fe++;return _0x17356a&&_0x2c04da['push'](this['repository']['getRevision'](_0x58a9fe)),_0x2c04da;}['_threeWayMerge'](_0x3bdffe,_0x58a187,_0x5efa68,_0x48c97b){const _0x422867=this['editor']['model']['schema'];let _0x164607=_0x58a187;for(;_0x3bdffe[_0x164607]&&_0x3bdffe[_0x164607]['isAdded'];)_0x164607++;let _0x532f27=_0x48c97b;for(;_0x5efa68[_0x532f27]&&_0x5efa68[_0x532f27]['isRemoved'];)_0x532f27++;_0x4eb1bd(_0x3bdffe,_0x58a187,_0x164607),_0x4eb1bd(_0x5efa68,_0x48c97b,_0x532f27);const _0x183202=_0x5efa68['slice'](_0x48c97b,_0x532f27)['concat'](_0x3bdffe['slice'](_0x58a187,_0x164607));return _0x183202['sort']((_0x1d75b0,_0x138845)=>_0x1d75b0['side']!=_0x138845['side']?_0x1d75b0['side']-_0x138845['side']:_0x1d75b0['level']!=_0x138845['level']?_0x1d75b0['level']-_0x138845['level']:_0x1d75b0['distance']!=_0x138845['distance']?_0x138845['distance']-_0x1d75b0['distance']:!!_0x1d75b0['isAdded']!=!!_0x138845['isAdded']?-0x1==_0x1d75b0['side']||0x0==_0x1d75b0['side']?_0x1d75b0['isAdded']?-0x1:0x1:_0x1d75b0['isAdded']?0x1:-0x1:_0x1d75b0['index']-_0x138845['index']),{'commonTape':_0x183202,'iEnd':_0x164607,'jEnd':_0x532f27};function _0x4eb1bd(_0x16106f,_0x34ddc1,_0x357ac3){let _0x117b94=-0x1,_0x3b886f=Number['POSITIVE_INFINITY'],_0x1ce4d6=!0x0;for(let _0x43584e=_0x34ddc1;_0x43584e<_0x357ac3;_0x43584e++)if(_0x422867['isInline'](_0x16106f[_0x43584e]['item'])||(_0x1ce4d6=!0x1),_0x16106f[_0x43584e]['item']['startIndex']<_0x34ddc1&&(_0x117b94=_0x43584e),_0x16106f[_0x43584e]['item']['endIndex']>=_0x357ac3){_0x3b886f=_0x43584e;break;}_0x1ce4d6&&(_0x117b94=_0x357ac3-0x1);for(let _0x11160a=_0x34ddc1;_0x11160a<_0x357ac3;_0x11160a++)_0x16106f[_0x11160a]['side']=_0x11160a<=_0x117b94?-0x1:_0x11160a<_0x3b886f?0x0:0x1,_0x16106f[_0x11160a]['index']=_0x11160a;let _0x1c81dd=0x0;for(let _0x2a4e79=_0x34ddc1;_0x2a4e79<=_0x117b94;_0x2a4e79++)0x0==_0x16106f[_0x2a4e79]['distance']?_0x16106f[_0x2a4e79]['level']=_0x1c81dd:(_0x1c81dd++,_0x16106f[_0x2a4e79]['level']=_0x1c81dd,_0x1c81dd++);for(let _0x2f2144=_0x34ddc1;_0x2f2144<_0x357ac3;_0x2f2144++)0x0==_0x16106f[_0x2f2144]['side']&&(_0x16106f[_0x2f2144]['level']=_0x1c81dd);_0x1c81dd=0x0;for(let _0x170853=_0x357ac3-0x1;_0x170853>=_0x3b886f;_0x170853--)0x0==_0x16106f[_0x170853]['distance']?_0x16106f[_0x170853]['level']=_0x1c81dd:(_0x1c81dd--,_0x16106f[_0x170853]['level']=_0x1c81dd,_0x1c81dd--);}}['_fixObsoleteTags'](_0x2f380d){const _0x4f7542=new Map(),_0x1d5f9b=this['editor']['model']['schema'];for(let _0x396f64=0x1;_0x396f64<_0x2f380d['length'];_0x396f64++){let _0x447bca,_0x514fa7,_0x36184f;const _0x1a912b=_0x2f380d[_0x396f64],_0x20b0d3=_0x2f380d[_0x396f64-0x1];if('text'==_0x1a912b['type'])continue;if(_0x1a912b['type']!=_0x20b0d3['type'])continue;if(!_0x1d5f9b['isBlock'](_0x20b0d3['item'])||_0x1d5f9b['isLimit'](_0x20b0d3['item']))continue;if(!_0x1d5f9b['isBlock'](_0x1a912b['item'])||_0x1d5f9b['isLimit'](_0x1a912b['item']))continue;if((_0x2f380d[_0x396f64]['isAdded']||_0x2f380d[_0x396f64]['isAddSuggestion'])&&_0x2f380d[_0x396f64-0x1]['isRemoved'])_0x447bca=_0x2f380d[_0x396f64],_0x514fa7=_0x2f380d[_0x396f64-0x1],_0x36184f=_0x396f64-0x1;else{if(!_0x2f380d[_0x396f64]['isRemoved']||!_0x2f380d[_0x396f64-0x1]['isAdded']&&!_0x2f380d[_0x396f64-0x1]['isAddSuggestion'])continue;_0x447bca=_0x2f380d[_0x396f64-0x1],_0x514fa7=_0x2f380d[_0x396f64],_0x36184f=_0x396f64;}const _0x478d42=_0x447bca['level']==_0x514fa7['level'],_0x54c0ff=Math['abs'](_0x447bca['level'])<Math['abs'](_0x514fa7['level'])&&0x0==_0x514fa7['distance'];(_0x478d42||_0x54c0ff)&&(_0x4f7542['set'](_0x514fa7['id'],_0x447bca['id']),_0x2f380d['splice'](_0x36184f,0x1),_0x396f64--,_0x447bca['isAdded']=!0x1);}for(let _0x5cc25c=0x0;_0x5cc25c<_0x2f380d['length'];_0x5cc25c++)_0x4f7542['has'](_0x2f380d[_0x5cc25c]['pairId'])&&(_0x2f380d[_0x5cc25c]['pairId']=_0x4f7542['get'](_0x2f380d[_0x5cc25c]['pairId']));}['_removeMissingPairs'](_0x4d8635){const _0x2f896b=new Set(_0x4d8635['map'](_0x1c0442=>_0x1c0442['id']));for(let _0xb72677=0x0;_0xb72677<_0x4d8635['length'];_0xb72677++)_0x2f896b['has'](_0x4d8635[_0xb72677]['pairId'])||0x0==_0x4d8635[_0xb72677]['distance']||(_0x4d8635[_0xb72677]['isIncorrect']=!0x0);return _0x4d8635['filter'](_0x3cf094=>!_0x3cf094['isIncorrect']);}['_markMismatchedRemovedTags'](_0x5963b2){const _0x417435=new Set();for(let _0x4e702d=0x0;_0x4e702d<_0x5963b2['length'];_0x4e702d++){if(_0x417435['has'](_0x5963b2[_0x4e702d]['id'])&&_0x5963b2[_0x4e702d]['isRemoved']&&(_0x5963b2[_0x4e702d]['isIncorrect']=!0x0),_0x5963b2[_0x4e702d]['isIncorrect'])continue;if(0x0==_0x5963b2[_0x4e702d]['distance'])continue;if('elementStart'!=_0x5963b2[_0x4e702d]['type'])continue;if(null==_0x5963b2[_0x4e702d]['pairId'])continue;let _0x47a1e7=_0x4e702d+0x1,_0x125513=0x0;for(;_0x5963b2[_0x47a1e7]['id']!=_0x5963b2[_0x4e702d]['pairId'];)'elementStart'==_0x5963b2[_0x47a1e7]['type']?_0x125513++:'elementEnd'==_0x5963b2[_0x47a1e7]['type']&&_0x125513--,_0x47a1e7++;if(0x0!=_0x125513){if(_0x5963b2[_0x4e702d]['isRemoved'])_0x5963b2[_0x4e702d]['isIncorrect']=!0x0;else{for(;_0x47a1e7!=_0x4e702d;)_0x5963b2[_0x47a1e7]['isRemoved']&&0x0!=_0x5963b2[_0x47a1e7]['distance']&&(_0x5963b2[_0x47a1e7]['isIncorrect']=!0x0,_0x417435['add'](_0x5963b2[_0x47a1e7]['pairId'])),_0x47a1e7--;}}}return _0x5963b2['filter'](_0x4d1ee9=>!_0x4d1ee9['isIncorrect']);}['_removeUnsupportedChanges'](_0x5177f8){const _0x3ab93c=this['editor']['model']['schema'];for(let _0x7dca5c=0x0;_0x7dca5c<_0x5177f8['length'];_0x7dca5c++){if(!(_0x5177f8[_0x7dca5c]['isAdded']||_0x5177f8[_0x7dca5c]['isAddSuggestion']||_0x5177f8[_0x7dca5c]['isRemoved']||_0x5177f8[_0x7dca5c]['isRemoveSuggestion']))continue;if(0x0==_0x5177f8[_0x7dca5c]['distance'])continue;const _0x45e8f0=_0x5177f8[_0x7dca5c]['item'];_0x3ab93c['isBlock'](_0x45e8f0)||_0x3ab93c['isLimit'](_0x45e8f0)||(_0x5177f8[_0x7dca5c]['isAdded']&&delete _0x5177f8[_0x7dca5c]['isAdded'],_0x5177f8[_0x7dca5c]['isAddSuggestion']&&delete _0x5177f8[_0x7dca5c]['isAddSuggestion'],_0x5177f8[_0x7dca5c]['isRemoveSuggestion']&&delete _0x5177f8[_0x7dca5c]['isRemoveSuggestion'],_0x5177f8[_0x7dca5c]['isRemoved']&&(_0x5177f8[_0x7dca5c]['isIncorrect']=!0x0));}return _0x5177f8['filter'](_0x48fb12=>!_0x48fb12['isIncorrect']);}['_makeModelFromTape'](_0x291549,_0x7c8ac,_0x3540ef){const _0x24c155=new wt(),_0x35b5d6=[],_0x450fde=new Map(),_0x5eb694=this['editor']['model'],_0x5506fd=_0x5eb694['schema'],_0x52bd53=[_0x24c155],_0x3fb63c={},_0x165956={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x305c8c=null;const _0x229bb1=[0x0];for(let _0x4e80c6=0x0;_0x4e80c6<_0x291549['length'];_0x4e80c6++){let _0x3edbe3,_0xaef5d8;if('elementStart'===_0x291549[_0x4e80c6]['type']){_0x3edbe3=_0x5eb694['createPositionFromPath'](_0x24c155,_0x229bb1);const _0x4417e6=new ft(_0x291549[_0x4e80c6]['item']['name'],_0x291549[_0x4e80c6]['item']['getAttributes']());_0x52bd53[0x0]['_appendChild'](_0x4417e6),_0x229bb1['push'](0x0),_0x52bd53['unshift'](_0x4417e6),_0xaef5d8=_0x5eb694['createPositionFromPath'](_0x24c155,_0x229bb1),_0x305c8c=null;}else{if('elementEnd'===_0x291549[_0x4e80c6]['type'])_0x52bd53['shift'](),_0x3edbe3=_0x5eb694['createPositionFromPath'](_0x24c155,_0x229bb1),_0x229bb1['pop'](),_0x229bb1[_0x229bb1['length']-0x1]++,_0xaef5d8=_0x5eb694['createPositionFromPath'](_0x24c155,_0x229bb1),_0x305c8c=null;else{if(_0x3edbe3=_0x5eb694['createPositionFromPath'](_0x24c155,_0x229bb1),_0x305c8c&&_0x25df3e(_0x305c8c,_0x291549[_0x4e80c6]['item']))_0x305c8c['_data']+=_0x291549[_0x4e80c6]['item']['data'];else{const _0x122f9e=new _t(_0x291549[_0x4e80c6]['item']['data'],_0x291549[_0x4e80c6]['item']['getAttributes']());_0x52bd53[0x0]['_appendChild'](_0x122f9e),_0x305c8c=_0x122f9e;}_0x229bb1[_0x229bb1['length']-0x1]+=_0x291549[_0x4e80c6]['item']['offsetSize'],_0xaef5d8=_0x5eb694['createPositionFromPath'](_0x24c155,_0x229bb1);}}for(const _0x4335ae of _0x291549[_0x4e80c6]['markersStart'])_0x450fde['set'](_0x4335ae,{'start':_0x3edbe3,'end':null});_0x7bc9ed('isRemoveSuggestion',_0x4e80c6,_0x3edbe3,_0xaef5d8),_0x7bc9ed('isAddSuggestion',_0x4e80c6,_0x3edbe3,_0xaef5d8),_0x7bc9ed('isRemoved',_0x4e80c6,_0x3edbe3,_0xaef5d8),_0x7bc9ed('isAdded',_0x4e80c6,_0x3edbe3,_0xaef5d8);for(const _0x322915 of _0x291549[_0x4e80c6]['markersEnd']){_0x450fde['get'](_0x322915)['end']=_0xaef5d8;}}for(const [_0x5162ab,_0x2acbc3]of _0x450fde){const _0x57d75c=this['editor']['model']['createRange'](_0x2acbc3['start'],_0x2acbc3['end']);_0x24c155['markers']['set'](_0x5162ab,_0x57d75c);}return _0x35b5d6['sort']((_0x3579e9,_0x2d37d2)=>{const _0x26050b=_0x24c155['markers']['get']('revision:'+_0x3579e9['id']),_0x303979=_0x24c155['markers']['get']('revision:'+_0x2d37d2['id']);return _0x26050b['start']['isBefore'](_0x303979['start'])?-0x1:_0x26050b['start']['isAfter'](_0x303979['start'])?0x1:_0x26050b['end']['isBefore'](_0x303979['end'])?-0x1:_0x26050b['end']['isAfter'](_0x303979['end'])?0x1:'add'===_0x3579e9['type']?-0x1:0x1;}),{'root':_0x24c155,'changes':_0x35b5d6};function _0x7bc9ed(_0x1c65a1,_0x52d12f,_0x495c40,_0x50d7ad){const _0x3441b7=!!_0x291549[_0x52d12f][_0x1c65a1],_0x5b822f=_0x3441b7?_0x291549[_0x52d12f][_0x1c65a1]['userId']:null,_0xebfa02=_0x52d12f===_0x291549['length']-0x1,_0x13f1dc=_0x165956[_0x1c65a1][0x0],_0x3fa4a2=_0x5506fd['isObject'](_0x291549[_0x52d12f]['item']);!_0x3fb63c[_0x1c65a1]&&_0x3441b7?_0x3fb63c[_0x1c65a1]={'start':_0x495c40,'tapeItem':_0x291549[_0x52d12f],'userId':_0x5b822f,'type':_0x1c65a1}:_0x3fb63c[_0x1c65a1]&&!_0x3441b7?(_0x3fb63c[_0x1c65a1]['end']=_0x495c40,_0x2d77e4(_0x3fb63c[_0x1c65a1]),_0x3fb63c[_0x1c65a1]=null):_0x3fb63c[_0x1c65a1]&&_0x3441b7&&_0x3fb63c[_0x1c65a1]['userId']!==_0x5b822f&&(_0x3fb63c[_0x1c65a1]['end']=_0x495c40,_0x13f1dc&&_0x13f1dc['userId']===_0x3fb63c[_0x1c65a1]['userId']||_0x2d77e4(_0x3fb63c[_0x1c65a1]),_0x3fb63c[_0x1c65a1]={'start':_0x495c40,'tapeItem':_0x291549[_0x52d12f],'userId':_0x5b822f,'type':_0x1c65a1}),_0x3fb63c[_0x1c65a1]&&_0x3fa4a2&&('elementStart'!==_0x291549[_0x52d12f]['type']||_0x13f1dc&&_0x13f1dc['userId']===_0x5b822f||_0x165956[_0x1c65a1]['unshift']({'userId':_0x5b822f,'object':_0x291549[_0x52d12f]['item'],'change':_0x3fb63c[_0x1c65a1]}),'elementEnd'===_0x291549[_0x52d12f]['type']&&_0x13f1dc&&_0x13f1dc['object']===_0x291549[_0x52d12f]['item']&&(_0x165956[_0x1c65a1]['shift'](),_0x3fb63c[_0x1c65a1]=_0x13f1dc['change'])),_0x3fb63c[_0x1c65a1]&&_0xebfa02&&(_0x3fb63c[_0x1c65a1]['end']=_0x50d7ad,_0x2d77e4(_0x3fb63c[_0x1c65a1]),_0x3fb63c[_0x1c65a1]=null);}function _0x2d77e4({start:_0x24efc7,end:_0x3ac26e,tapeItem:_0x46824a,userId:_0x4aa7ce,type:_0x409e54}){const _0x509b29=_0x46824a['item'],_0x58fe42=_0x5eb694['schema']['isBlock'](_0x509b29)&&!_0x5eb694['schema']['isLimit'](_0x509b29),_0x26b795=_0x24efc7['nodeAfter']==_0x3ac26e['parent']&&_0x3ac26e['isAtStart'];if(_0x58fe42&&_0x26b795)return;const _0x2e1fce=_0x5eb694['createRange'](_0x24efc7,_0x3ac26e),_0x398d88=_0x7c8ac['get'](_0x4aa7ce),_0x2ac329=new r({'author':_0x398d88,'type':'isAdded'==_0x409e54||'isAddSuggestion'==_0x409e54?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x409e54||'isRemoveSuggestion'==_0x409e54},'createdAt':new Date(),'rootName':_0x3540ef});_0x35b5d6['push'](_0x2ac329),_0x24c155['markers']['set']('revision:'+_0x2ac329['id'],_0x2e1fce);}function _0x25df3e(_0x315a8c,_0x165785){const _0x113b17=_0x315a8c['getAttributes'](),_0x3187aa=_0x165785['getAttributes']();for(const _0x445d6f of _0x113b17){if(_0x445d6f[0x1]!==_0x165785['getAttribute'](_0x445d6f[0x0]))return!0x1;_0x3187aa['next']();}return _0x3187aa['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2c0416=>{const _0x3544cc=_0x2c0416['markerName']['split'](':')[0x1],_0x55b135=this['_getChangeFromId'](_0x3544cc);if(!_0x55b135)return null;const _0x412972='add'==_0x55b135['type']?'insertion':'deletion',_0x13c41a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x412972];return _0x55b135['data']['isSuggestion']&&_0x13c41a['push']('ck-suggestion-marker-'+_0x412972+'-new'),this['activeChange']==_0x55b135&&_0x13c41a['push']('ck-suggestion-marker--active'),{'classes':_0x13c41a,'attributes':{'data-change-id':_0x3544cc}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x14fcf4=>{_0x14fcf4['on']('element:pre',(_0x57002b,_0x351482,_0x1f0ead)=>{const _0x48d1ee=_0x351482['viewItem']['getChild'](0x0);if(!_0x48d1ee||!_0x48d1ee['is']('element','code'))return;if(!_0x1f0ead['consumable']['consume'](_0x48d1ee,{'attributes':['vid_start','vid_end']}))return;const _0x5ebd4e=_0x351482['modelRange']['start']['nodeAfter'];_0x1f0ead['writer']['setAttribute']('vid_start',_0x48d1ee['getAttribute']('vid_start'),_0x5ebd4e),_0x1f0ead['writer']['setAttribute']('vid_end',_0x48d1ee['getAttribute']('vid_end'),_0x5ebd4e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xcc908e=>{_0xcc908e['on']('element',(_0x2d11cb,_0x57947a,_0xf75454)=>{if(!_0xf75454['consumable']['consume'](_0x57947a['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x57947a['modelRange']['isCollapsed'])return;const _0x1d6e99=_0x57947a['modelRange']['start']['nodeAfter'];_0x1d6e99['hasAttribute']('vid_start')||_0x1d6e99['hasAttribute']('vid')||(_0xf75454['writer']['setAttribute']('vid_start',_0x57947a['viewItem']['getAttribute']('vid_start'),_0x1d6e99),_0xf75454['writer']['setAttribute']('vid_end',_0x57947a['viewItem']['getAttribute']('vid_end'),_0x1d6e99));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1e936e=>_0x1e936e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x10353c,[,_0x2f0f5f])=>{['vid_start','vid_end','vid']['includes'](_0x2f0f5f)&&(_0x10353c['return']=!0x0,_0x10353c['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x47eca7=>{_0x47eca7['on']('attribute:vid',(_0x33aad3,_0x382882,_0x51b329)=>{if('\x20'!=_0x382882['item']['data']||_0x382882['item']['parent']['maxOffset']>0x1)return;if(!_0x51b329['consumable']['consume'](_0x382882['item'],_0x33aad3['name']))return;const _0x482fc2=_0x51b329['writer'],_0x329c38=_0x51b329['mapper']['toViewRange'](_0x382882['range']);_0x482fc2['wrap'](_0x329c38,_0x482fc2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3c0dc2){const _0x595825=_0x3c0dc2['plugins']['get']('RevisionViewer');return(_0x1b7d6c,_0x553c2d,_0x53a012)=>{const _0x2ccb63=_0x553c2d['markerName']['split'](':')[0x1],_0x4e985d=_0x595825['_getChangeFromId'](_0x2ccb63);if(!_0x4e985d)return null;const _0x59d1e3='add'==_0x4e985d['type']?'split':'merge';if(!_0x53a012['consumable']['test'](_0x553c2d['markerRange'],_0x1b7d6c['name']))return;const _0x2f2339=_0x553c2d['markerRange']['getWalker'](),_0x2bdfe8=_0x553c2d['markerRange']['start'],_0x4dc636=_0x3c0dc2['model']['schema'];let _0x4d98be=null,_0xbc239e=null,_0x57548a=!0x1,_0x29c04d=!0x1;for(const _0x4f4551 of _0x2f2339){const _0x39a6c4=_0x4f4551['item'];_0x57548a=_0x57548a||_0x4dc636['isContent'](_0x39a6c4);const _0x1cc3dd=_0x53a012['mapper']['toViewElement'](_0x39a6c4);if(_0x1cc3dd&&_0x1cc3dd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4f4551['type']&&(_0x4dc636['isBlock'](_0x39a6c4)&&!_0x4dc636['isLimit'](_0x39a6c4)&&(_0x39a6c4['nextSibling']||_0x2bdfe8['isAtEnd']?_0x4d98be&&_0x4d98be['parent']==_0x39a6c4||(_0x4d98be=_0x39a6c4,_0x44f8aa(_0x4f4551['previousPosition']),_0x29c04d=!0x0):_0xbc239e=_0xbc239e||_0x4f4551['previousPosition']));}function _0x44f8aa(_0x409f1d){const _0x12868d=_0x53a012['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x59d1e3}),_0x51732e=_0x53a012['mapper']['toViewPosition'](_0x409f1d);_0x4e985d['data']['isSuggestion']&&_0x53a012['writer']['addClass']('ck-suggestion-marker-'+_0x59d1e3+'-new',_0x12868d),_0x595825['activeChange']==_0x4e985d&&_0x53a012['writer']['addClass']('ck-suggestion-marker--active',_0x12868d),_0x53a012['writer']['insert'](_0x51732e,_0x12868d),_0x53a012['mapper']['bindElementToMarker'](_0x12868d,_0x553c2d['markerName']);}_0x57548a||_0x29c04d||!_0xbc239e||_0x44f8aa(_0xbc239e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3f8672,_0x9b0ff3,_0x430d55)=>{const _0x39da17=_0x430d55['mapper']['markerNameToElements'](_0x9b0ff3['markerName']);if(_0x39da17){for(const _0x12ed01 of _0x39da17)(_0x12ed01['hasClass']('ck-suggestion-marker-split')||_0x12ed01['hasClass']('ck-suggestion-marker-merge'))&&(_0x430d55['mapper']['unbindElementFromMarkerName'](_0x12ed01,_0x9b0ff3['markerName']),_0x430d55['writer']['remove'](_0x12ed01));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5c180d,_0x463f36,_0x1394f9)=>{const _0x4c1bd6=_0x463f36['markerName']['split'](':')[0x1],_0x11db7f=this['_getChangeFromId'](_0x4c1bd6);if(!_0x11db7f)return null;const _0x5be45e='add'==_0x11db7f['type']?'split':'merge';if(_0x1394f9['consumable']['test'](_0x463f36['markerRange'],_0x5c180d['name']))for(const _0x22242b of _0x463f36['markerRange']['getItems']()){if(!_0x22242b['is']('element','softBreak'))continue;const _0xabeca6=_0x1394f9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5be45e}),_0x561a69=_0x1394f9['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x22242b));_0x11db7f['data']['isSuggestion']&&_0x1394f9['writer']['addClass']('ck-suggestion-marker-'+_0x5be45e+'-new',_0xabeca6),this['activeChange']==_0x11db7f&&_0x1394f9['writer']['addClass']('ck-suggestion-marker--active',_0xabeca6),_0x1394f9['writer']['insert'](_0x561a69,_0xabeca6),_0x1394f9['mapper']['bindElementToMarker'](_0xabeca6,_0x463f36['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5ace30=>{for(const _0x59d879 of this['editor']['model']['document']['getRootNames']()){const _0x474999=this['editor']['model']['document']['getRoot'](_0x59d879),_0x1e64b7=this['editor']['editing']['view']['document']['getRoot'](_0x59d879);if(_0x1e64b7){const _0x108b53=_0x474999['getAttribute']('revisionHistoryAttachChange');if(_0x5ace30['removeAttribute']('data-change-id',_0x1e64b7),_0x5ace30['removeClass']('ck-revision-history-root-add',_0x1e64b7),_0x5ace30['removeClass']('ck-revision-history-root-remove',_0x1e64b7),_0x5ace30['removeClass']('ck-revision-history-root--active',_0x1e64b7),_0x108b53){const _0x492a56=this['_getChangeFromId'](_0x108b53);if(!_0x492a56)return null;_0x5ace30['setAttribute']('data-change-id',_0x108b53,_0x1e64b7),_0x5ace30['addClass']('ck-revision-history-root-'+_0x492a56['type'],_0x1e64b7),this['activeChange']==_0x492a56&&_0x5ace30['addClass']('ck-revision-history-root--active',_0x1e64b7);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x34e6bf=>'revision-comment:'+_0x34e6bf,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5d6d7c=>'revision-suggestion:'+_0x5d6d7c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x54840f=>({'name':'suggestion:'+_0x54840f,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x25493e=>{const _0x2e6916=_0x25493e['markerName']['split'](':')[0x1];return'insertion'!=_0x2e6916&&'deletion'!=_0x2e6916?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2e6916]};}}),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',(_0x260e73,_0x540642,_0xf41011)=>{const _0x442f65=_0xf41011['mapper']['markerNameToElements'](_0x540642['markerName']);if(_0x442f65){for(const _0x5ad7d1 of _0x442f65)_0x5ad7d1['is']('uiElement')&&(_0xf41011['mapper']['unbindElementFromMarkerName'](_0x5ad7d1,_0x540642['markerName']),_0xf41011['writer']['remove'](_0x5ad7d1));}},{'priority':'high'});}['_getChangeFromId'](_0x17aec8){return this['_changeIdToChange']['get'](_0x17aec8);}['_getViewForChange'](_0x52c645){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x52c645),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2cdb60,_0x15c05b,_0x3098cf,_0x5cddcb)=>{_0x5cddcb&&this['_balloon']['remove'](_0x5cddcb),_0x3098cf&&(this['_balloon']['add']({'view':_0x3098cf,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x387089=this['editor']['editing'],_0x597d49=this['_getChangeFromId'](_0x3098cf['changeId']);let _0x368505;if(_0x597d49['data']['isOnRoot']){const _0x1d7b35=_0x387089['view']['getDomRoot'](_0x597d49['rootName']);_0x368505=Array['from'](_0x1d7b35['getClientRects']());}else{const _0x13a3ca=this['editor']['model']['markers']['get']('revision:'+_0x3098cf['changeId']);_0x368505=Array['from'](_0x387089['mapper']['markerNameToElements'](_0x13a3ca['name']))['map'](_0x4deb9b=>_0x387089['view']['domConverter']['mapViewToDom'](_0x4deb9b))['map'](_0x1fb74d=>Array['from'](_0x1fb74d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x368505[0x0];return _0x368505['find'](_0x256cc0=>_0x256cc0['top']-0x3<=this['_activeViewTarget']['y']&&_0x256cc0['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x256cc0['left']-0x3<=this['_activeViewTarget']['x']&&_0x256cc0['right']+0x3>=this['_activeViewTarget']['x'])||_0x368505[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x298c22,_0x564c63,_0x27b3b8,_0x11bc1b)=>{this['activeView']=_0x27b3b8?this['_getViewForChange'](_0x27b3b8):null,this['editor']['model']['change'](()=>{const _0x1cb2ff=this['editor']['editing'];_0x11bc1b&&(_0x11bc1b['data']['isOnRoot']?_0x1cb2ff['view']['change'](_0x283f65=>{_0x283f65['removeClass']('ck-revision-history-root--active',_0x1cb2ff['view']['document']['getRoot'](_0x11bc1b['rootName']));}):_0x1cb2ff['reconvertMarker']('revision:'+_0x11bc1b['id'])),_0x27b3b8&&(_0x27b3b8['data']['isOnRoot']?_0x1cb2ff['view']['change'](_0x502436=>{_0x502436['addClass']('ck-revision-history-root--active',_0x1cb2ff['view']['document']['getRoot'](_0x27b3b8['rootName']));}):_0x1cb2ff['reconvertMarker']('revision:'+_0x27b3b8['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2adb46,_0x5f0af2)=>{if(this['activeChange'])return;const _0x4867d6=this['_findChangeIdFromDomTarget'](_0x5f0af2['target']),_0x4d8ecb=this['_changeIdToChange']['get'](_0x4867d6);_0x4d8ecb?(this['_activeViewTarget']={'x':_0x5f0af2['domEvent']['x'],'y':_0x5f0af2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4d8ecb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3d2cad,_0x59cf4b)=>{const _0x1a96cc=this['_findChangeIdFromDomTarget'](_0x59cf4b['target']),_0xa473a6=this['_changeIdToChange']['get'](_0x1a96cc);_0xa473a6?(this['_activeViewTarget']={'x':_0x59cf4b['domEvent']['x'],'y':_0x59cf4b['domEvent']['y']},_0xa473a6===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xa473a6):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x468eea){do{const _0x2fae58=_0x468eea['getAttribute']('data-change-id');if(_0x2fae58)return _0x2fae58;_0x468eea=_0x468eea['parent'];}while(_0x468eea);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3f0421=>{for(const _0x40d38a of this['editor']['model']['markers'])_0x3f0421['removeMarker'](_0x40d38a);});}}function et(_0x29cb5b,_0x373611){return(_0xa1f932,_0x531ef6,_0x35aa97)=>{if(!_0x35aa97['consumable']['test'](_0x531ef6['markerRange'],_0xa1f932['name']))return;const _0x13d0d1=_0x531ef6['markerRange']['getWalker'](),_0x3c7efd=_0x531ef6['markerRange']['start'],_0x1c441c=_0x29cb5b['model']['schema'];let _0x6c5ade=null,_0x4936e5=null,_0x2f3b8c=!0x1,_0x47bbb0=!0x1;for(const _0x21c0e6 of _0x13d0d1){const _0x42066d=_0x21c0e6['item'];_0x2f3b8c=_0x2f3b8c||_0x1c441c['isContent'](_0x42066d);const _0x154f50=_0x35aa97['mapper']['toViewElement'](_0x42066d);if(_0x154f50&&_0x154f50['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x21c0e6['type']&&(_0x1c441c['isBlock'](_0x42066d)&&!_0x1c441c['isLimit'](_0x42066d)&&(_0x42066d['nextSibling']||_0x3c7efd['isAtEnd']?_0x6c5ade&&_0x6c5ade['parent']==_0x42066d||(_0x6c5ade=_0x42066d,_0x464288(_0x21c0e6['previousPosition']),_0x47bbb0=!0x0):_0x4936e5=_0x4936e5||_0x21c0e6['previousPosition']));}function _0x464288(_0x51090a){const _0x490e8f=_0x35aa97['mapper']['toViewPosition'](_0x51090a),_0x308057=_0x35aa97['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x373611});_0x35aa97['writer']['insert'](_0x490e8f,_0x308057),_0x35aa97['mapper']['bindElementToMarker'](_0x308057,_0x531ef6['markerName']);}_0x2f3b8c||_0x47bbb0||!_0x4936e5||_0x464288(_0x4936e5);};}class bt extends _0x588d35{constructor(_0x162904){super(_0x162904);const _0x4b2f2d=_0x162904['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4b2f2d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4b2f2d,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3f8412=this['editor'],_0x13f2b0=_0x3f8412['plugins']['get'](d),_0x16d202=_0x13f2b0['isReady']?_0x13f2b0['diff']['newRevisionId']:null;_0x3f8412['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x16d202);}['refresh'](){const {isReady:_0x287b38,isEnabled:_0x553c70}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x287b38&&_0x553c70;}}class yt extends _0x588d35{['_step'];constructor(_0x3a80ba,{direction:_0x5ef6a3}){super(_0x3a80ba);const _0x55f3ee=_0x3a80ba['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5ef6a3?0x1:-0x1,this['listenTo'](_0x55f3ee,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x55f3ee,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x55f3ee,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4c7ffe=this['editor'],_0x2ea0c4=_0x4c7ffe['plugins']['get'](d),{isNavigationMode:_0x431df2,currentChangeNumber:_0x1cf214}=_0x2ea0c4;let _0x2a0fe6;if(_0x2ea0c4['activeChange']=_0x431df2?_0x2ea0c4['diff']['changes']['get'](_0x1cf214+this['_step']):_0x2ea0c4['diff']['changes']['first'],_0x2ea0c4['activeChange']['data']['isOnRoot'])_0x2a0fe6=_0x4c7ffe['editing']['view']['getDomRoot'](_0x2ea0c4['activeChange']['rootName']);else{const _0x190672=_0x4c7ffe['model']['markers']['get']('revision:'+_0x2ea0c4['activeChange']['id']);_0x2a0fe6=_0x1fbe27(_0x4c7ffe['editing'],_0x190672);}_0x47bf37({'target':_0x2a0fe6,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xfde31,currentChangeNumber:_0x5e10ba,numberOfChanges:_0x129c1a,isReady:_0x317555,isEnabled:_0x15fec6}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x15fec6&&_0x317555&&_0x129c1a)&&(!_0xfde31||(0x1===this['_step']?_0x5e10ba<_0x129c1a-0x1:_0x5e10ba>0x0));}}class _i extends _0x410ed7{constructor(_0x3ed3cf){super(_0x3ed3cf);const _0x46c4e4=this['bindTemplate'],_0x38c92f=new _0x1a3d6c(_0x3ed3cf),_0x20543f=new _0x1a3d6c(_0x3ed3cf);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',(_0x114d0f,_0x27c09d)=>_0x114d0f&&_0x27c09d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xdb2307,_0x462feb,_0xe5c8ad,_0x4d1f2a)=>{if(!_0xdb2307)return y(_0x3ed3cf,'Loading...');if(!_0xe5c8ad)return y(_0x3ed3cf,'No\x20changes');const _0x3c8f0a=y(_0x3ed3cf,'NUMBER_OF_CHANGES',_0xe5c8ad);return _0x4d1f2a?y(_0x3ed3cf,'X_OF_Y_CHANGES',[_0x462feb+0x1,_0xe5c8ad]):_0x3c8f0a;}),_0x38c92f['set']({'label':y(_0x3ed3cf,'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'}),_0x20543f['set']({'label':y(_0x3ed3cf,'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'}),_0x38c92f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x20543f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x38c92f['on']('execute',()=>this['fire']('execute','backward')),_0x20543f['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',_0x46c4e4['if']('_isStatusLabelVisible','ck-hidden',_0x3ac14e=>!_0x3ac14e)]},'children':[{'text':_0x46c4e4['to']('isNavigationMode',_0x2d0281=>_0x2d0281?y(_0x3ed3cf,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3ed3cf,'Total')+':\x20')}]},{'text':_0x46c4e4['to']('_statusText')}]},new _0x4f5688(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x38c92f,_0x20543f]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x59b38e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x59a528=this['editor']['editing']['view'];_0x59a528['change'](_0x53e297=>{for(const _0x3591b6 of _0x59a528['document']['roots'])_0x53e297['addClass'](ce,_0x3591b6);});}['hide'](){const _0x977add=this['editor']['editing']['view'];_0x977add['change'](_0x4c5d0a=>{for(const _0x20367c of _0x977add['document']['roots'])_0x4c5d0a['removeClass'](ce,_0x20367c);});}}class R extends _0x59b38e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4faad8=this['editor'],_0x54ae4e=_0x4faad8['plugins']['get'](d),_0x43a787=_0x4faad8['plugins']['get'](de);_0x4faad8['ui']['componentFactory']['add']('exitToEditing',_0x48d3be=>{const _0x45ac5b=new _0x1a3d6c(_0x48d3be);return _0x45ac5b['set']({'label':y(_0x48d3be,'Back\x20to\x20editing'),'icon':_0x2f7817['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x45ac5b,'execute',()=>{_0x4faad8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x45ac5b;}),_0x4faad8['ui']['componentFactory']['add']('restoreRevision',_0xf35647=>{const _0x40a91f=new _0x1a3d6c(_0xf35647);return _0x40a91f['set']({'label':y(_0xf35647,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x40a91f['bind']('isEnabled')['to'](_0x4faad8['commands']['get']('restoreRevision')),this['listenTo'](_0x40a91f,'execute',()=>_0x4faad8['execute']('restoreRevision')),_0x40a91f;}),_0x4faad8['ui']['componentFactory']['add']('changesNavigation',_0x5bf3a2=>{const _0x363686=new _i(_0x5bf3a2),_0x19a199=_0x4faad8['commands']['get']('showPreviousChange'),_0x58a2cf=_0x4faad8['commands']['get']('showNextChange');return _0x363686['bind']('isBackwardNavigationEnabled')['to'](_0x19a199,'isEnabled'),_0x363686['bind']('isForwardNavigationEnabled')['to'](_0x58a2cf,'isEnabled'),_0x363686['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x54ae4e),this['listenTo'](_0x363686,'execute',(_0x1cc078,_0x297861)=>{_0x4faad8['execute']('forward'===_0x297861?'showNextChange':'showPreviousChange');}),_0x363686;}),_0x43a787['show'](),_0x54ae4e['on']('change:isReady',(_0x481c29,_0x52696d,_0x1deb64)=>{_0x1deb64?_0x43a787['hide']():_0x43a787['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xcf5277,_0x5dc5aa){super(_0xcf5277,_0x5dc5aa);const _0x2b8c12=this['bindTemplate'];this['set']({'label':y(_0xcf5277,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xcf5277,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2b8c12['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 _0x269474=this['fieldView']['element'];this['_tooltipString']=_0x269474['scrollWidth']>_0x269474['clientWidth']&&_0x269474['value']||'';}}class ti extends _0x410ed7{constructor(_0x58dd26,_0x4fd1db,_0x43f464){super(_0x58dd26);const _0x1a69e0=new _0x4c3e16();_0x1a69e0['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 _0x34deac=['ck','ck-revision-history-sidebar__revision-author'];_0x43f464&&_0x34deac['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2dca15=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x58dd26,_0x43f464?'Revision\x20creator':'Revision\x20author')},'children':[_0x1a69e0,_0x4fd1db['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x34deac},'children':_0x2dca15});}}function ni(_0x28ba9f,_0x725cc3){const _0x1132b7=_0x28ba9f['bindTemplate'],_0x438607=_0x28ba9f['locale'],_0x213ac3=_0x4449cc(_0x438607);_0x213ac3['panelPosition']='sw';const _0x285bd8=function(_0x530f65,_0x361729){const _0x3fda76=function(_0x30e1fc,_0x2b0e4a){const _0x31aec1=_0x30e1fc['locale'],_0x5e683d={'Compare\x20against\x20selected':y(_0x31aec1,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x31aec1,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x31aec1,'Restore\x20this\x20revision')};return _0x2b0e4a['map'](_0x3ecaad=>{const _0x3f5364=_0x5e683d[_0x3ecaad['name']];return _0x3f5364&&_0x3f5364!==_0x3ecaad['name']&&(_0x3ecaad['name']=_0x3f5364),_0x3ecaad;});}(_0x530f65,_0x361729),_0x156c83=new _0x7ade42();for(const _0x1762e6 of _0x3fda76){const _0x5490cf={'type':'button','model':new to({'label':_0x1762e6['name'],'class':_0x1762e6['class'],'withText':!0x0,'role':'menuitem','_action':_0x1762e6['action']})};_0x5490cf['model']['bind']('isEnabled')['to'](_0x530f65,'isActionsDropdownOpen',_0x3fb96d=>'function'!=typeof _0x1762e6['isEnabled']||(!_0x3fb96d||_0x1762e6['isEnabled'](_0x530f65))),_0x156c83['add'](_0x5490cf);}return _0x156c83;}(_0x28ba9f,_0x725cc3);return _0x28ba9f['bind']('isActionsDropdownOpen')['to'](_0x213ac3,'isOpen'),_0x213ac3['buttonView']['set']({'label':y(_0x438607,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2f7817['threeVerticalDots']}),_0x213ac3['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1132b7['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1132b7['to'](_0x163268=>_0x163268['stopPropagation']())}}),_0x213ac3['on']('execute',_0x9ec1d9=>{_0x28ba9f['isReady']&&'function'==typeof _0x9ec1d9['source']['_action']&&_0x9ec1d9['source']['_action'](_0x28ba9f);}),_0x39526e(_0x213ac3,_0x285bd8,{'role':'menu'}),_0x213ac3['listenTo'](_0x28ba9f,'change:isActionsDropdownOpen',(_0x4c37d3,_0x5c870b,_0x1be84f)=>{if(_0x1be84f)for(const _0x245537 of _0x213ac3['listView']['items']){const _0x21d9e2=_0x245537['children']['first'],_0x28fcee=_0x725cc3['find'](_0x2fd9a2=>_0x2fd9a2['action']===_0x21d9e2['_action'])['isVisible'];_0x245537['isVisible']=void 0x0===_0x28fcee||_0x28fcee(_0x28ba9f);}}),_0x213ac3;}class ai extends _0x4cc518(_0x410ed7){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x350827,_0x1e91fb,_0x43dcc6,_0x28ee2b){super(_0x350827);const _0x26a3d8=this['bindTemplate'],_0x1bf63f=function(_0x39ad6e,_0x5509dd){const _0x14b759=Array['from'](_0x5509dd['authors'])['filter'](_0x497b99=>_0x497b99!=_0x5509dd['creator']);return _0x5509dd['creator']&&_0x14b759['unshift'](_0x5509dd['creator']),_0x14b759['map'](_0x5dbc3f=>new ti(_0x39ad6e,_0x5dbc3f,_0x5dbc3f==_0x5509dd['creator']));}(_0x350827,_0x1e91fb);this['id']=_0x1e91fb['id'],this['_revision']=_0x1e91fb,this['_requireRevisionName']=_0x28ee2b,this['bind']('name','createdAt')['to'](_0x1e91fb),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5a6ece=>{return _0x420248=_0x350827['uiLanguage'],(_0x3bd189=_0x5a6ece)['toLocaleDateString'](_0x420248,{'month':'long','day':'numeric'})+',\x20'+_0x3bd189['toLocaleTimeString'](_0x420248,{'hour':'numeric','minute':'numeric'});var _0x420248,_0x3bd189;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x350827,_0x21bbe4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3e4b10=>_0x3e4b10||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3d1a3a,_0x276a24)=>_0x3d1a3a&&_0x276a24),this['revisionActionsView']=_0x43dcc6&&_0x43dcc6['length']?ni(this,_0x43dcc6):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x26a3d8['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x26a3d8['if']('isEnabled','ck-disabled',_0x46d49e=>!_0x46d49e),_0x26a3d8['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x26a3d8['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x26a3d8['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':_0x26a3d8['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':_0x1bf63f}]},this['revisionActionsView']],'on':{'click':_0x26a3d8['to'](_0x5f32c3=>{_0x5f32c3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3af017=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3af017,'change',()=>{this['_requireRevisionName']&&!_0x3af017['value']||this['fire']('setName',{'id':this['id'],'name':_0x3af017['value']}),_0x3af017['value']||(_0x3af017['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(_0x16edb7,_0x31a7ed){const _0x446f41=_0x5aa943['fromJSDate'](_0x16edb7)['setLocale'](_0x31a7ed),_0x290b82=_0x5aa943['local'](),_0x45c0a1=_0x290b82['minus']({'days':0x1})['startOf']('day');let _0x1c7297,_0x6cea4f;return _0x446f41['hasSame'](_0x290b82,'day')?(_0x1c7297=_0x446f41['startOf']('day')['toJSDate'](),_0x6cea4f=_0x446f41['toRelativeCalendar']()):_0x446f41['hasSame'](_0x45c0a1,'day')?(_0x1c7297=_0x45c0a1['toJSDate'](),_0x6cea4f=_0x446f41['toRelativeCalendar']()):_0x446f41['hasSame'](_0x290b82,'week')?(_0x1c7297=_0x446f41['startOf']('week')['toJSDate'](),_0x6cea4f=_0x446f41['weekdayLong']||''):_0x446f41['hasSame'](_0x290b82,'year')?(_0x1c7297=_0x446f41['startOf']('month')['toJSDate'](),_0x6cea4f=_0x446f41['monthLong']||''):(_0x1c7297=_0x446f41['startOf']('year')['toJSDate'](),_0x6cea4f=String(_0x446f41['year'])),{'startDate':_0x1c7297,'localizedPeriodName':_0x6cea4f};}class mi extends _0x410ed7{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5d6872,_0x1aade4,_0x2a690d,_0x3cd7ff){super(_0x5d6872);const _0x1450e6=di(_0x1aade4,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1aade4,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2a690d,this['_requireRevisionName']=_0x3cd7ff,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':_0x1450e6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x25ff2f){const _0x1ebe00=new ai(this['locale'],_0x25ff2f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1ebe00);}['removeRevision'](_0x210a03){const _0x32db51=this['revisionViews']['find'](_0x3ed185=>_0x3ed185['id']===_0x210a03['id']);this['revisionViews']['remove'](_0x32db51);}}class as extends _0x410ed7{constructor(_0x77cdd1){super(_0x77cdd1);const _0x566433=new _0x4c3e16();_0x566433['content']=_0x2f7817['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x566433,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x77cdd1,'Revision\x20history')]}]});}}class ci extends _0x410ed7{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x26cbfe,_0x5dd7f9,_0x3b3489,_0x50cc12){super(_0x26cbfe);const _0x145502=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5dd7f9,this['_revisionActions']=_0x3b3489,this['_requireRevisionName']=_0x50cc12,this['on']('select',(_0x5e8c5c,_0x4739fa)=>{this['fire']('revisionSelected',_0x4739fa);}),this['on']('setName',(_0x30e9f7,_0x49205e)=>{this['fire']('revisionSetName',_0x49205e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x26cbfe),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x145502['if']('isEnabled','ck-disabled',_0xf4a105=>!_0xf4a105)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4af25d of this['_revisions'])this['_addRevision'](_0x4af25d);this['_revisions']['on']('add',(_0x4e8fc9,_0x52bb6c)=>{this['_addRevision'](_0x52bb6c);}),this['_revisions']['on']('remove',(_0x34b5c5,_0x562fc2)=>{this['_removeRevision'](_0x562fc2);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3e3779=>_0x3e3779['revisionViews']['map'](_0x530960=>_0x530960))['flat']();}['selectRevision'](_0x4ff5ff){for(const _0x4ff58e of this['revisionViews'])_0x4ff5ff&&_0x4ff5ff['id']===_0x4ff58e['id']?_0x4ff58e['select']():_0x4ff58e['deselect']();}['highlightRevisions'](_0x46b36d){for(const _0x59f4dc of this['revisionViews'])_0x46b36d['some'](({id:_0x1bc74f})=>_0x1bc74f===_0x59f4dc['id'])?_0x59f4dc['highlight']():_0x59f4dc['unhighlight']();}['_addRevision'](_0x34fab4){const _0x2e5a14=di(_0x34fab4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x38f343=this['timePeriodViews']['get'](0x0);_0x38f343&&_0x38f343['startDate']['getTime']()===_0x2e5a14['getTime']()||(_0x38f343=new mi(this['locale'],_0x2e5a14,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x38f343)),_0x38f343['addRevision'](_0x34fab4);}['_removeRevision'](_0x1bc0f0){const _0x109977=di(_0x1bc0f0['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x109977)['removeRevision'](_0x1bc0f0);}['_getTimePeriodViewByStartDate'](_0x2c152e){return this['timePeriodViews']['find'](_0x57524e=>_0x57524e['startDate']['getTime']()===_0x2c152e['getTime']());}}class w extends _0x59b38e{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0xc88db7){super(_0xc88db7),this['_revisionViewer']=_0xc88db7['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x91c9cb=this['_revisionsRepository']['_revisions'],_0x560a73=this['_createRevisionActions'](),_0x16a33c=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x91c9cb,_0x560a73,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',(_0x152405,_0xf33a81)=>{_0xf33a81['revisionViews']['on']('add',(_0x2fdb9f,_0x58a44a)=>{_0x58a44a['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)),_0x16a33c['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x34fc85=this['_revisionsRepository']['getRevision'](0x0);if(_0x34fc85){const _0x5ce3a1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x34fc85['id']);this['_revisionViewer']['compare'](_0x34fc85,_0x5ce3a1);}}['_handleRevisionSelected'](_0x3ba75e,_0x58b04d){const _0x210d95=this['_revisionsRepository']['getRevision'](_0x58b04d['id']),_0x3a0e41=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x210d95['id']);this['_revisionViewer']['compare'](_0x210d95,_0x3a0e41);}['_handleRevisionSetName'](_0x409a9e,_0xa4ce39){this['_revisionsRepository']['getRevision'](_0xa4ce39['id'])['setName'](_0xa4ce39['name']);}['_handleDiffChange'](_0x18ca73,_0x9418f3,_0x43c8aa){const _0x66af02=this['_revisionsRepository']['getRevisionsInDiff'](_0x43c8aa);_0x66af02['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x66af02),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x66af02[0x0]));}['_createRevisionActions'](){const _0x1d65d2=this['editor'],_0x51ad04=w['availableRevisionActions'],_0x2c6e38=_0x1d65d2['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2c6e38['length'])return _0x2c6e38['map'](_0x3280fb=>{const _0x5d2f6c='string'==typeof _0x3280fb?Object['assign']({},_0x51ad04[_0x3280fb]):_0x3280fb;return _0x5d2f6c['action']=_0x5d2f6c['action']['bind'](this,_0x1d65d2),_0x5d2f6c['isVisible']&&(_0x5d2f6c['isVisible']=_0x5d2f6c['isVisible']['bind'](this,_0x1d65d2)),_0x5d2f6c;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xcd2446},_0x1fc4fb)=>{const _0x573b82=_0xcd2446['get'](d),_0x4e9fe5=_0x573b82['repository'];let _0x3f44e2=_0x573b82['diff']['newRevisionId'],_0x57256a=_0x1fc4fb['id'];_0x4e9fe5['getIndex'](_0x3f44e2)>_0x4e9fe5['getIndex'](_0x57256a)&&([_0x3f44e2,_0x57256a]=[_0x57256a,_0x3f44e2]),_0x573b82['compare'](_0x3f44e2,_0x57256a);},'isVisible':({plugins:_0x5537b9},_0x1f2331)=>{const _0x163b43=_0x5537b9['get'](d);return!(_0x163b43['repository']['getRevisionsInDiff'](_0x163b43['diff'])['length']>0x2)&&!_0x1f2331['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x31d92b,{id:_0x2adf7d})=>{_0x31d92b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2adf7d);},'isVisible':({plugins:_0x7c5743},_0x9f1863)=>!!_0x7c5743['get'](d)['repository']['getLaterVisibleRevision'](_0x9f1863['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x575135},{id:_0x38c346,revisionNameView:_0x4ba994})=>{const _0x5119b5=_0x575135['get'](d),_0x4e69d5=_0x5119b5['repository']['getEarlierVisibleRevision'](_0x38c346);_0x5119b5['compare'](_0x38c346,_0x4e69d5),_0x4ba994['focus'](),_0x4ba994['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2a3bdb,_0x5a9992){super(_0x2a3bdb),this['_view']=_0x5a9992,this['_toolbarConfig']=ct(_0x2a3bdb['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xc99dd3){const _0x5388dc=this['editor'],_0x2a501b=this['view'],_0x2e4b26=_0x5388dc['editing']['view'],_0x1b596b=_0x2a501b['editable'],_0x12d391=_0x2e4b26['document']['getRoot']();_0x1b596b['name']=_0x12d391['rootName'],_0x2a501b['render']();const _0x418712=_0x1b596b['element'];this['setEditableElement'](_0x1b596b['name'],_0x418712),_0x2a501b['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2e4b26['attachDomRoot'](_0x418712),this['_elementReplacer']['replace'](_0xc99dd3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2dad81=this['view'],_0x557785=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x557785['detachDomRoot'](_0x2dad81['editable']['name']),_0x2dad81['destroy']();}['_initToolbar'](){const _0x4aa970=this['view'];_0x4aa970['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4aa970['stickyPanel']['limiterElement']=_0x4aa970['element'],_0x4aa970['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3ead09})=>_0x3ead09),_0x4aa970['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4aa970['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2cdd06,_0x29a17a,_0x4f5b5f={}){super(_0x2cdd06),this['stickyPanel']=new lt(_0x2cdd06),this['toolbar']=new pt(_0x2cdd06,{'shouldGroupWhenFull':_0x4f5b5f['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2cdd06,_0x29a17a);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x22e8f3,_0x417648){super(_0x417648),this['sourceElement']=_0x22e8f3,this['model']['document']['createRoot']();const _0x289851=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x289851);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1261ba,_0x3b8457){const _0x3fd28b=new this(_0x1261ba,_0x3b8457);return await _0x3fd28b['initPlugins'](),await _0x3fd28b['ui']['init'](_0x1261ba),await _0x3fd28b['data']['init'](_0x3fd28b['config']['get']('initialData')||''),_0x3fd28b['fire']('ready'),_0x3fd28b;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x59b38e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x50872b){super(_0x50872b),this['result']='end';}}class H extends _0x59b38e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2418ea){if(super(_0x2418ea),!this['editor']['config']['get']('revisionHistory'))throw new _0x1728be('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xc00d25=>this['_showRevisionViewer']({..._0xc00d25,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x17dfdf=>this['_closeRevisionViewer'](_0x17dfdf)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2945a2=>this['_restoreRevision'](_0x2945a2)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x25486c){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x25486c;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x48ad5e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x48ad5e);}['getRevision'](_0x4eb935){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4eb935);}['getRevisions'](_0x383166={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x383166);}['_getRevisionViewerEditorConfig'](){const _0x3acf82=this['editor'],_0x2db391=_0x4c41c8(_0x3acf82,g),_0x3c76b4=_0x3acf82['plugins']['get']('RevisionTracker'),_0xdee09a=_0x3acf82['plugins']['get']('Users')['users'];return _0x2db391['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2db391['lazyRoots'],(_0x2db391['plugins']['push'](k,d,R,class extends _0x59b38e{static get['requires'](){return[d,'Users'];}['init'](){const _0x7781ac=this['editor']['plugins']['get']('Users');for(const _0xa98b8b of _0xdee09a)_0xa98b8b['isAnonymous']||_0x7781ac['getUser'](_0xa98b8b['id'])||_0x7781ac['addUser'](_0xa98b8b);const _0x109197=_0x3c76b4['repository']['getRevisions']();let _0x333f08=null;const _0x15ac4f=this['editor']['plugins']['get']('RevisionViewer');_0x15ac4f['adapter']=_0x3c76b4['adapter'],_0x15ac4f['bind']('isEnabled')['to'](_0x3c76b4),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x3acf82,'isReadOnly',_0x445ad6=>!_0x445ad6);for(const _0x48ef7b of _0x109197){const _0x58a844=null===_0x48ef7b['creator'];if(_0x58a844&&_0x48ef7b['toVersion']===_0x48ef7b['fromVersion'])continue;const _0x5346e5=_0x48ef7b['toJSON']();_0x15ac4f['addRevisionData'](_0x5346e5,(_0x2d082a,_0x15cddc,_0x103d02)=>{if(_0x58a844){if(_0x333f08)_0x333f08['_update'](_0x2d082a,_0x15cddc);else{if(!_0x15cddc){const _0x2a4e82=_0x103d02['toJSON']();_0x2a4e82['id']=_0x28ff84(),_0x3c76b4['saveRevision'](_0x2a4e82,_0x103d02['toVersion'])['then'](_0x53ff1a=>{_0x333f08=_0x53ff1a;});}}}else _0x48ef7b['_update'](_0x2d082a,_0x15cddc);});}}},w),_0x2db391);}['_enhanceShowRevisionViewerCallback'](){const _0x3727ad=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1f9951=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x478d8f=this['editor']['plugins']['get']('Autosave');await _0x478d8f['save']();}else await _0x1f9951['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x31c095=this['_getRevisionViewerEditorConfig']();return _0x3727ad(_0x31c095)['then'](_0xd0d1e4=>{return(this['_viewerEditor']=_0xd0d1e4,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xd0d1e4;})['catch'](_0x199b98=>(console['error'](_0x199b98),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x26049a=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'](),_0x26049a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x21a587=this['editor']['plugins']['get']('Annotations');_0x21a587['refreshVisibility'](),_0x21a587['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1dc744){const _0x58b52f=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3393d4=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5bab67=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5bab67,_0x1dc744)['then'](_0x172e3e=>(_0x3393d4['style']['display']='block',_0x58b52f['style']['display']='none',_0x172e3e));}['_closeRevisionViewer'](_0x397b1d){const _0x44068f=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x44068f['style']['display']='',_0x397b1d['destroy']();}async['_restoreRevision'](_0x4a2f8c){const _0xfcec10=this['editor'],_0x25f26f=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xeec624=_0xfcec10['plugins']['get']('RevisionTracker'),_0x1aa5da=_0x25f26f['repository']['getRevision'](_0x4a2f8c);let _0x9b9a0a,_0x5bbdef,_0x5f0cfd;try{_0x9b9a0a=await _0x25f26f['getRevisionData'](_0x1aa5da),_0x5bbdef=await _0x25f26f['getRevisionRootsAttributes'](_0x1aa5da);}catch(_0x362572){return void console['error'](_0x362572);}_0xfcec10['model']['change'](_0x18f7d8=>{for(const _0x55da43 of Array['from'](_0xfcec10['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x18f7d8['removeMarker'](_0x55da43);}),_0x25f26f['isReady']=!0x1,_0xfcec10['model']['enqueueChange'](_0x260974=>{_0x260974['setSelection'](null),_0x260974['removeSelectionAttribute'](_0xfcec10['model']['document']['selection']['getAttributeKeys']());const _0x1e523c=Object['keys'](_0x9b9a0a);for(const _0x412ce3 of _0xfcec10['model']['document']['roots'])'$graveyard'!=_0x412ce3['rootName']&&_0x412ce3['isAttached']()&&!_0x1e523c['includes'](_0x412ce3['rootName'])&&_0x260974['detachRoot'](_0x412ce3);for(const _0x57bc5c of _0x1e523c){let _0x304965=_0xfcec10['model']['document']['getRoot'](_0x57bc5c);_0x304965&&_0x304965['isAttached']()||(_0x304965=_0x260974['addRoot'](_0x57bc5c));const _0x12e382=_0x5bbdef[_0x57bc5c],_0x43ab13=Object['keys'](_0x12e382),_0x45ad7d=_0x9b9a0a[_0x57bc5c];for(const _0x5531a1 of _0x304965['getAttributeKeys']())_0x43ab13['includes'](_0x5531a1)||_0x260974['removeAttribute'](_0x5531a1,_0x304965);for(const _0x5d6b3a of _0x43ab13)_0x260974['setAttribute'](_0x5d6b3a,_0x5bbdef[_0x57bc5c][_0x5d6b3a],_0x304965);_0x260974['remove'](_0x260974['createRangeIn'](_0x304965)),_0x260974['insert'](_0xfcec10['data']['parse'](_0x45ad7d,_0x304965),_0x304965,0x0);}});const _0x9cfbfd=y(_0xfcec10['locale'],'Restored');if(_0x1aa5da['name'])_0x5f0cfd=-0x1==_0x1aa5da['name']['indexOf'](_0x9cfbfd)?_0x9cfbfd+':\x20'+_0x1aa5da['name']:_0x1aa5da['name'];else _0x5f0cfd=_0x9cfbfd+':\x20'+(_0x1aa5da['createdAt']['toLocaleDateString'](_0xfcec10['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1aa5da['createdAt']['toLocaleTimeString'](_0xfcec10['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xeec624['saveRevision']({'name':_0x5f0cfd}),_0x25f26f['isReady']=!0x0,_0xfcec10['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};
23
+ import{Plugin as _0xd653eb,Context as _0x2e185c,PendingActions as _0x5cee9c,icons as _0x245a6e,Command as _0x510569,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x238233,uid as _0xe70ec5,Collection as _0xf2fdb5,logWarning as _0xa71b39,FocusTracker as _0x505ef2,KeystrokeHandler as _0x52cfa0,scrollViewportToShowTarget as _0x2ddcb5,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x9e4f0f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x443655,getMarkerDomElement as _0x3751b2,ConfirmMixin as _0x3b72de,sanitizeEditorConfig as _0x7f0a38}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2c496a,ViewText as _0x29d725,ViewElement as _0x14df3c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1323ee,ViewAttributeElement as _0x257ac4,ViewEmptyElement as _0x518c49,ViewRawElement as _0x432655,ViewUIElement as _0x536129,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3760bd,set as _0x356bf8,unset as _0xa59efd,isEqual as _0x43f8af}from'lodash-es';import{View as _0x1f237a,injectCssTransitionDisabler as ts,submitHandler as _0x4f722c,LabeledFieldView as at,createLabeledInputText as _0x46f58a,createDropdown as _0x202af6,ListView as te,ListItemView as _0x411bab,ButtonView as _0x411755,MenuBarMenuView as _0x528496,MenuBarMenuListView as _0x858071,MenuBarMenuListItemView as _0x35f0fb,MenuBarMenuListItemButtonView as _0x2dfed1,ContextualBalloon as _0x776010,ToolbarSeparatorView as _0x5eea15,IconView as _0x4f9dea,addListToDropdown as _0x1c5d61,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 _0x34cda8}from'luxon';class a extends _0x238233(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3f309e){super(),this['id']=_0x3f309e['id']||_0xe70ec5(),this['creator']=_0x3f309e['creator']||null,this['authors']=_0x3f309e['authors']||[],this['diffData']=_0x3f309e['diffData']||null,this['toVersion']=_0x3f309e['toVersion']||0x0,this['fromVersion']=_0x3f309e['fromVersion']||0x0,this['set']('name',_0x3f309e['name']||''),this['set']('createdAt',_0x3f309e['createdAt']||new Date()),this['set']('attributes',_0x3f309e['attributes']||{});}['setName'](_0x2ca706){this['_update']({'name':_0x2ca706});}['setAttribute'](_0x464b79,_0x4ad9e6){const _0x2767ea=_0x3760bd(this['attributes']);_0x356bf8(_0x2767ea,_0x464b79,_0x4ad9e6),this['_update']({'attributes':_0x2767ea});}['removeAttribute'](_0x445b64){const _0x43390e=_0x3760bd(this['attributes']);_0xa59efd(_0x43390e,_0x445b64),this['_update']({'attributes':_0x43390e});}['_update'](_0x425c1b,_0x3b7262=!0x1){let _0x861116=!0x1;const _0x3abd78={'id':this['id']},_0x3b70bf=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x307939 of _0x3b70bf){const _0x5e084d=_0x425c1b[_0x307939];void 0x0!==_0x5e084d&&_0x5e084d!==this[_0x307939]&&(this[_0x307939]=_0x5e084d,_0x3abd78[_0x307939]=_0x5e084d,_0x861116=!0x0);}_0x861116&&(_0x3abd78['authors']&&(_0x3abd78['authorsIds']=_0x3abd78['authors']['map'](_0x563556=>_0x563556['id']),delete _0x3abd78['authors']),this['fire']('_update',_0x3abd78,_0x3b7262));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4ed3ca=>_0x4ed3ca['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xd653eb{['_revisions'];static get['requires'](){return[_0x443655];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x47a4d0){super(_0x47a4d0),this['_revisions']=new _0xf2fdb5();}['afterInit'](){!function(_0x545a69){function _0x564fa1(_0x1429f9,_0x247aa3,_0xf34956){const _0x5496ef={};_0x5496ef[_0x442f25([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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 _0x1670b6=new Uint8Array(0x10);for(let _0x5bb3e0=0xf;_0x5bb3e0>=0x0;--_0x5bb3e0)_0x1670b6[_0x5bb3e0]=_0xf34956%0x100,_0xf34956=parseInt(_0xf34956/0x100);let _0x31431e=null,_0x36ba22=0x10;const _0x429347=new Uint8Array(_0x247aa3),_0x37fb34=[],_0x471872=[];_0x553d28();for(let _0xaeec4e=0x0;_0xaeec4e<_0x1429f9[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaeec4e++)0x10===_0x36ba22&&(_0x31431e=_0x61fbb5(_0x1670b6),_0x36ba22=0x0,_0x3d1ac4(_0x1670b6)),_0x1429f9[_0xaeec4e]^=_0x31431e[_0x36ba22++];return _0x1429f9;function _0x5098a1(_0x25b226){const _0x4a0aed=[];for(let _0x34c307=0x0;_0x34c307<_0x25b226[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34c307+=0x4)_0x4a0aed[_0x442f25([0x70,0x75,0x73,0x68])](_0x25b226[_0x34c307]<<0x18|_0x25b226[_0x34c307+0x1]<<0x10|_0x25b226[_0x34c307+0x2]<<0x8|_0x25b226[_0x34c307+0x3]);return _0x4a0aed;}function _0x3d1ac4(_0x3e3934){for(let _0x26b1e1=0xf;_0x26b1e1>=0x0;_0x26b1e1--){if(0xff!==_0x3e3934[_0x26b1e1]){_0x3e3934[_0x26b1e1]++;break;}_0x3e3934[_0x26b1e1]=0x0;}}function _0x61fbb5(_0x2a2771){const _0x4383e2=_0x37fb34[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x34764d=[0x0,0x0,0x0,0x0];let t=_0x5098a1(_0x2a2771);for(let _0x5af4ca=0x0;_0x5af4ca<0x4;_0x5af4ca++)t[_0x5af4ca]^=_0x37fb34[0x0][_0x5af4ca];for(let _0x9145fd=0x1;_0x9145fd<_0x4383e2;_0x9145fd++){for(let _0x5c34fc=0x0;_0x5c34fc<0x4;_0x5c34fc++)_0x34764d[_0x5c34fc]=_0x5496ef[_0x442f25([0x54,0x31])][t[_0x5c34fc]>>0x18&0xff]^_0x5496ef[_0x442f25([0x54,0x32])][t[(_0x5c34fc+0x1)%0x4]>>0x10&0xff]^_0x5496ef[_0x442f25([0x54,0x33])][t[(_0x5c34fc+0x2)%0x4]>>0x8&0xff]^_0x5496ef[_0x442f25([0x54,0x34])][0xff&t[(_0x5c34fc+0x3)%0x4]]^_0x37fb34[_0x9145fd][_0x5c34fc];t=_0x34764d[_0x442f25([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2464b0=new Uint8Array(0x10);let _0x1b5c97;for(let _0x1423a7=0x0;_0x1423a7<0x4;_0x1423a7++)_0x1b5c97=_0x37fb34[_0x4383e2][_0x1423a7],_0x2464b0[0x4*_0x1423a7]=0xff&(_0x5496ef[_0x442f25([0x53])][t[_0x1423a7]>>0x18&0xff]^_0x1b5c97>>0x18),_0x2464b0[0x4*_0x1423a7+0x1]=0xff&(_0x5496ef[_0x442f25([0x53])][t[(_0x1423a7+0x1)%0x4]>>0x10&0xff]^_0x1b5c97>>0x10),_0x2464b0[0x4*_0x1423a7+0x2]=0xff&(_0x5496ef[_0x442f25([0x53])][t[(_0x1423a7+0x2)%0x4]>>0x8&0xff]^_0x1b5c97>>0x8),_0x2464b0[0x4*_0x1423a7+0x3]=0xff&(_0x5496ef[_0x442f25([0x53])][0xff&t[(_0x1423a7+0x3)%0x4]]^_0x1b5c97);return _0x2464b0;}function _0x553d28(){const _0x406e51=_0x5496ef[_0x442f25([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x429347[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x23b138=0x0;_0x23b138<=_0x406e51;_0x23b138++)_0x37fb34[_0x442f25([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x471872[_0x442f25([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x24f77b=0x4*(_0x406e51+0x1),_0x9adc6d=_0x429347[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1449ad=_0x5098a1(_0x429347);let _0x472659;for(let _0x4f865a=0x0;_0x4f865a<_0x9adc6d;_0x4f865a++)_0x472659=_0x4f865a>>0x2,_0x37fb34[_0x472659][_0x4f865a%0x4]=_0x1449ad[_0x4f865a],_0x471872[_0x406e51-_0x472659][_0x4f865a%0x4]=_0x1449ad[_0x4f865a];let _0x202150,_0x6e7c66=0x0,t=_0x9adc6d;for(;t<_0x24f77b;){_0x202150=_0x1449ad[_0x9adc6d-0x1],_0x1449ad[0x0]^=_0x5496ef[_0x442f25([0x53])][_0x202150>>0x10&0xff]<<0x18^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x8&0xff]<<0x10^_0x5496ef[_0x442f25([0x53])][0xff&_0x202150]<<0x8^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x18&0xff]^_0x5496ef[_0x442f25([0x72,0x63,0x6f,0x6e])][_0x6e7c66]<<0x18,_0x6e7c66+=0x1;for(let _0x3c8ff8=0x1;_0x3c8ff8<_0x9adc6d/0x2;_0x3c8ff8++)_0x1449ad[_0x3c8ff8]^=_0x1449ad[_0x3c8ff8-0x1];_0x202150=_0x1449ad[_0x9adc6d/0x2-0x1],_0x1449ad[_0x9adc6d/0x2]^=_0x5496ef[_0x442f25([0x53])][0xff&_0x202150]^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x8&0xff]<<0x8^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x10&0xff]<<0x10^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x18&0xff]<<0x18;for(let _0x309060=_0x9adc6d/0x2+0x1;_0x309060<_0x9adc6d;_0x309060++)_0x1449ad[_0x309060]^=_0x1449ad[_0x309060-0x1];let _0x1acfa4,_0x4b44e9,_0x584e62=0x0;for(;_0x584e62<_0x9adc6d&&t<_0x24f77b;)_0x1acfa4=t>>0x2,_0x4b44e9=t%0x4,_0x37fb34[_0x1acfa4][_0x4b44e9]=_0x1449ad[_0x584e62],_0x471872[_0x406e51-_0x1acfa4][_0x4b44e9]=_0x1449ad[_0x584e62++],t++;}for(let _0x1c6378=0x1;_0x1c6378<_0x406e51;_0x1c6378++)for(let _0x6f57b7=0x0;_0x6f57b7<0x4;_0x6f57b7++)_0x202150=_0x471872[_0x1c6378][_0x6f57b7],_0x471872[_0x1c6378][_0x6f57b7]=_0x5496ef[_0x442f25([0x55,0x31])][_0x202150>>0x18&0xff]^_0x5496ef[_0x442f25([0x55,0x32])][_0x202150>>0x10&0xff]^_0x5496ef[_0x442f25([0x55,0x33])][_0x202150>>0x8&0xff]^_0x5496ef[_0x442f25([0x55,0x34])][0xff&_0x202150];}}function _0x442f25(_0x210465){return _0x210465['map'](_0x18ca3e=>String['fromCharCode'](_0x18ca3e))['join']('');}(_0x45709d=>{function _0x59982a(){const _0x443071=[{[_0x442f25([0x69,0x64])]:0x1,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x442f25([0x69,0x64])]:0x2,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([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]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x442f25([0x69,0x64])]:0x3,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x442f25([0x69,0x64])]:0x4,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([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]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x442f25([0x69,0x64])]:0x5,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([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]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x6,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x7,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x8,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([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]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x9,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x442f25([0x69,0x64])]:0xa,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([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]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([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]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([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]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0xb,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x442f25([0x69,0x64])]:0xc,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x442f25([0x69,0x64])]:0xd,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0xe,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x442f25([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([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])},{[_0x442f25([0x69,0x64])]:0xf,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x442f25([0x69,0x64])]:0x10,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}}];return _0x478564(_0x443071),_0x443071;function _0x7535c3(_0x3717b8){return 0x1<<_0x3717b8-0x1;}function _0x478564(_0x27dca6){_0x27dca6[_0x442f25([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28d0e6=>{_0x28d0e6[_0x442f25([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x7535c3(_0x28d0e6[_0x442f25([0x69,0x64])]),_0x26c049(_0x28d0e6)&&_0x28d0e6[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x478564(_0x28d0e6[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x26c049(_0x5e579b){return _0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5e579b;}const _0x1b262e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xceb418=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x158dbb(_0x4cc5f8){const _0x16fc10=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x56ce31(_0x4cc5f8,new Uint8Array([..._0x1b262e,..._0x16fc10,..._0xceb418]));}function _0x56ce31(_0x2c3e31,_0x2b49ff){const _0x2a9e20=_0x47fe6f(_0x2c3e31),_0x9c6e29=Array[_0x442f25([0x66,0x72,0x6f,0x6d])](_0x5dbe4e(_0x2a9e20)),_0x268851=_0x9c6e29[_0x442f25([0x70,0x6f,0x70])](),_0x5eecde=_0x9c6e29[_0x442f25([0x70,0x6f,0x70])]();return _0x5f0536(_0x564fa1(_0x9c6e29,_0x2b49ff,_0x5eecde+0x100*_0x268851));}function _0x47fe6f(_0x4f9e9b){const _0x19da42=atob(_0x4f9e9b),[_0x464089,_0x1c7e75]=_0x19da42[_0x442f25([0x73,0x70,0x6c,0x69,0x74])](_0x442f25([0x2d]));try{if(atob(_0x1c7e75))return atob(_0x464089);}catch(_0x506485){}return _0x19da42;}function _0x485343(_0x36caf4){try{const _0x58c48f=_0x158dbb(_0x36caf4),_0x170ff1=JSON[_0x442f25([0x70,0x61,0x72,0x73,0x65])](_0x58c48f),_0x26a355=parseInt(_0x170ff1[_0x442f25([0x31])]),_0x532bff=_0x170ff1[_0x442f25([0x32])]||'',_0x26eec5=parseInt(_0x170ff1[_0x442f25([0x33])]),_0x2f58a2=parseInt(_0x170ff1[_0x442f25([0x34])])||0x0,_0x4d373c=parseInt(_0x170ff1[_0x442f25([0x35])])||0x0;return{[_0x442f25([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x532bff,[_0x442f25([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2f58a2,[_0x442f25([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x26a355,[_0x442f25([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x26eec5,[_0x442f25([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4d373c};}catch(_0x119df3){return null;}}const _0x3965a4=_0x59982a(),_0x534d80={[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x10382c,[_0x442f25([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])]:_0x2f91ab,[_0x442f25([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])]:_0x56c51a},_0x15d2f1=_0x45709d[_0x442f25([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3417db=_0x442f25([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x45709d?_0x45709d['context']:_0x45709d['editor'],_0x27254=_0x442f25([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x36]),_0x4c182f=_0x442f25([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]),_0x2a4c5b=_0x3417db['config']['get'](_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x22235b=_0x3965a4[_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26c049)[_0x442f25([0x66,0x69,0x6e,0x64])](_0x596521=>_0x596521[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x15d2f1);function _0x289966(_0x5bdd12,_0x34aa32){_0x534d80[_0x34aa32[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5bdd12,_0x34aa32),_0x34aa32[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x34aa32[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d5c47=>_0x38b73d(_0x3417db,_0x1d5c47[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x442f25([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c1210=>_0x289966(_0x5bdd12,_0x2c1210));}function _0x10382c(_0x40505e,_0x35333e){_0x5dc93f(_0x1b6bdf(_0x40505e,_0x35333e),_0x35333e);}function _0x2f91ab(_0x5a2601,_0x383761){function _0x57f880(_0x2763d3,_0x912d9b){try{if(_0x38b73d(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2763d3){const _0x5b0f84=_0xbeb3b9(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x442f25([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5b0f84)/0x2>_0x2763d3[_0x442f25([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x30a041(_0x912d9b[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1b6bdf(_0x2763d3,_0x912d9b);}catch(_0x3c4d5e){return _0x30a041(_0x912d9b[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5dc93f(_0x57f880(_0x5a2601,_0x383761),_0x383761);}function _0x56c51a(_0x4af8c8,_0x2d57c1){const _0x1289fd=_0xceb418[0x0]*_0x1b262e[0x1],_0x7848e0=_0xceb418[0x0]*_0x1b262e[0x2],_0x7e8f4a=_0xceb418[0x2]*_0x1b262e[0x2];_0x38b73d(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xbeb3b9(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x549285()]=_0x7e8f4a);function _0x38205d(_0x2ceee9,_0x247760){try{return _0x6e60d2()?_0x30a041(_0x247760[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x56,0x61,0x6c,0x69,0x64])):_0x1b6bdf(_0x2ceee9,_0x247760);}catch(_0x43381a){return _0x30a041(_0x247760[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3c6c84(_0xd340b1,_0x93fcc){const _0x5e832a=0x7;if(_0xd340b1==_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4d974d();else{if(_0xd340b1==_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])){const _0x393e9d=_0x437d96();_0x393e9d&&_0x4944be(_0x393e9d,_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x276e0d=_0x37f687();window[_0x442f25([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4944be(_0x442f25([0x74,0x69,0x6d,0x65]),_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x276e0d);const _0x30c9e3=_0xbeb3b9(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x442f25([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x30c9e3[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e832a?_0x4944be(_0x442f25([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x30c9e3['on'](_0x442f25([0x61,0x64,0x64]),()=>{_0x30c9e3[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e832a&&_0x4944be(_0x442f25([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x437d96(){if(!_0x38b73d(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9b109 in window)if(Number['isNaN'](Number(_0x9b109))){if(window[_0x9b109]===_0x1289fd)return _0x442f25([0x74,0x69,0x6d,0x65]);if(window[_0x9b109]===_0x7848e0)return _0x442f25([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x6e60d2(){if(!_0x38b73d(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x39b80a in window)if(Number['isNaN'](Number(_0x39b80a))&&window[_0x39b80a]===_0x7e8f4a)return!0x0;return!0x1;}function _0x4944be(_0x411c16,_0x33bd8f){_0x4d974d(),_0x30a041(_0x33bd8f+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x411c16),window[_0x549285()]=_0x411c16===_0x442f25([0x74,0x69,0x6d,0x65])?_0x1289fd:_0x7848e0;}function _0x37f687(){let _0x319b69=_0xceb418[0x6]*_0x1b262e[0x8]*_0x1b262e[0x6];return _0x38b73d(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x319b69/=0xa),_0x319b69;}function _0x4d974d(){const _0x240e92=_0x3417db;function _0x5e103b(){_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2c38bc,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2c38bc,_0x240e92[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x240e92[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x240e92[_0x442f25([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x442f25([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2c38bc,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2c38bc);}_0x240e92[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x72,0x65,0x61,0x64,0x79])?_0x5e103b():_0x240e92[_0x442f25([0x6f,0x6e,0x63,0x65])](_0x442f25([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5e103b(),_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x46e186=_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xdca6ff=_0x46e186['getRevision'](0x0),_0x3eae9b=_0x46e186['getEarlierVisibleRevision'](_0xdca6ff[_0x442f25([0x69,0x64])]);_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xdca6ff[_0x442f25([0x69,0x64])],_0x3eae9b?_0x3eae9b[_0x442f25([0x69,0x64])]:null,0x1)['then'](()=>_0x5e103b());}});}_0x3c6c84(_0x38205d(_0x4af8c8,_0x2d57c1),_0x2d57c1);}function _0x1b6bdf(_0x3658ff,_0x487934){try{return _0x534538(_0x487934)?_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x56,0x61,0x6c,0x69,0x64])):_0x3658ff&&_0x31ffde(_0x3658ff[_0x442f25([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x487934)?_0x3658ff[_0x442f25([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x442f25([0x6f,0x70,0x65,0x6e])][_0x442f25([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x27254)/0x2>_0x3658ff[_0x442f25([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3658ff[_0x442f25([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])):_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x56,0x61,0x6c,0x69,0x64])):_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2916d7){return _0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5dc93f(_0x4b3431,_0x479200){if(_0x3417db instanceof _0x2e185c){const _0x26c65=_0x3417db;_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3ca8cf(_0x26c65):_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])&&window[_0x442f25([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3ca8cf(_0x26c65),_0x30a041(_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xceb418[0x6]*_0x1b262e[0x8]*_0x1b262e[0x6]),_0x26c65[_0x442f25([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x442f25([0x6f,0x6e])](_0x442f25([0x61,0x64,0x64]),(_0x4c2dc8,_0x282aff)=>{_0x4b3431!=_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4b3431!=_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4b3431!=_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xd275aa(_0x282aff);});}else{const _0x23e5de=_0x3417db;_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xd275aa(_0x23e5de):_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])&&_0x23e5de[_0x442f25([0x6f,0x6e])](_0x442f25([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xf00238=0x0;_0x23e5de[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x6f,0x6e])](_0x442f25([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x556c42,_0x2ea23f)=>{_0x2ea23f[0x0][_0x442f25([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf00238++,0x1f8===_0xf00238&&(_0xd275aa(_0x23e5de),_0x30a041(_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x556c42[_0x442f25([0x6f,0x66,0x66])]());},{'priority':_0x442f25([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x30a041(_0x4efcf1){const _0xda4938=_0x549285();return _0x3417db[_0xda4938]=_0x4efcf1,_0x4efcf1;}function _0x549285(){const _0x373ef0=String(window[_0x442f25([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x442f25([0x6e,0x6f,0x77])]())[_0x442f25([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x442f25([0x2e]),'');let _0x4442e2='';for(let _0x2ffb96=0x0;_0x2ffb96<_0x373ef0[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ffb96+=0x2){let _0x49ceb1=parseInt(_0x373ef0[_0x442f25([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ffb96,_0x2ffb96+0x2));_0x49ceb1>=_0x4c182f[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49ceb1-=_0x4c182f[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4442e2+=_0x4c182f[_0x49ceb1];}return _0x4442e2;}function _0x3ca8cf(_0x34570c){for(const _0x15d142 of _0x34570c[_0x442f25([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xd275aa(_0x15d142);_0xbeb3b9(_0x34570c,_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x442f25([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xbeb3b9(_0x34570c,_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x442f25([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2c38bc;}function _0xd275aa(_0x428cae){function _0x576a6c(){_0x428cae[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x428cae[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x428cae[_0x442f25([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x442f25([0x6d,0x6f,0x64,0x65,0x6c]));}_0x428cae[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x72,0x65,0x61,0x64,0x79])?_0x576a6c():_0x428cae[_0x442f25([0x6f,0x6e,0x63,0x65])](_0x442f25([0x72,0x65,0x61,0x64,0x79]),()=>_0x576a6c());}function _0x2c38bc(){return null;}function _0x31ffde(_0x4bf8a5,_0x4e71c2){const _0x2e5ef5=!!(_0x4bf8a5&_0x4e71c2[_0x442f25([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4641c4=_0x589d90(_0x4bf8a5,_0x4e71c2);return _0x2e5ef5||_0x4641c4;}function _0x589d90(_0x47fc52,_0x513502){const _0x22bbe6=(_0x513502[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x442f25([0x66,0x67,0x69])]||null;return!!_0x22bbe6&&_0x3965a4[_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ccdee=>_0x22bbe6[_0x442f25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccdee[_0x442f25([0x69,0x64])]))[_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcc069c=>!_0x4bf8b4(_0xcc069c))[_0x442f25([0x73,0x6f,0x6d,0x65])](_0x6369cb=>!!(_0x47fc52&_0x6369cb[_0x442f25([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4bf8b4(_0x12cf5c){const _0x3975b8={[_0x442f25([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])]:_0x14b75c};return!!_0x12cf5c['forbiddenHandler']&&_0x3975b8[_0x12cf5c['forbiddenHandler']]();}function _0x14b75c(){return!window[_0x442f25([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38b73d(_0x3417db,_0x442f25([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x534538(_0x371c20){if(!_0x38b73d(_0x3417db,_0x371c20[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2c3798=_0x371c20[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x59d56b=_0x2c3798[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x26af24=_0x2c3798[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5011f0=_0x2c3798[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38b73d(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xbeb3b9(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x59d56b)return!0x0;if(_0x38b73d(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xbeb3b9(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x442f25([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x442f25([0x65,0x6e,0x64])&&_0x26af24)return!0x0;return!(!_0x38b73d(_0x3417db,_0x442f25([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]))||_0xbeb3b9(_0x3417db,_0x442f25([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]))[_0x442f25([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x442f25([0x65,0x6e,0x64])||!_0x5011f0);}function _0x38b73d(_0x14a306,_0x517acc){return _0x14a306[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x442f25([0x68,0x61,0x73])](_0x517acc);}function _0xbeb3b9(_0x121817,_0x5a0633){return _0x121817[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x442f25([0x67,0x65,0x74])](_0x5a0633);}function _0x5f0536(_0x3b12b7){let _0x21fcd2='';for(const _0x182245 of _0x3b12b7)_0x21fcd2+=String[_0x442f25([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x182245);return _0x21fcd2;}function _0x5dbe4e(_0x875b45){const _0x1f83ec=new Uint8Array(_0x875b45[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x22059a=0x0;_0x22059a<_0x875b45[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22059a++)_0x1f83ec[_0x22059a]=_0x875b45[_0x442f25([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22059a);return _0x1f83ec;}_0x22235b&&_0x289966(_0x485343(_0x2a4c5b),_0x22235b);})(_0x545a69);}(this);}['createRevision'](_0x155d9e){const _0x492a7c=this['editor']['plugins']['get']('Users');return new a({'id':_0x155d9e['id'],'name':_0x155d9e['name'],'creator':_0x155d9e['creatorId']?_0x492a7c['getUser'](_0x155d9e['creatorId']):null,'diffData':_0x155d9e['diffData']||_0x155d9e['data'],'authors':_0x155d9e['authorsIds']['map'](_0x38dd6e=>_0x492a7c['getUser'](_0x38dd6e)),'createdAt':new Date(_0x155d9e['createdAt']),'attributes':_0x155d9e['attributes'],'fromVersion':_0x155d9e['fromVersion'],'toVersion':_0x155d9e['toVersion']});}['addRevision'](_0x3baa2c,_0xdd7308=0x0){this['_revisions']['add'](_0x3baa2c,_0xdd7308);}['getRevision'](_0x43d4dc){return this['_revisions']['get'](_0x43d4dc);}['getRevisions'](_0x430a85={'toJSON':!0x1}){const _0x5a772b=Array['from'](this['_revisions']);return _0x5a772b['reverse'](),_0x430a85['toJSON']?_0x5a772b['map'](_0x3cc05e=>_0x3cc05e['toJSON']()):_0x5a772b;}['getIndex'](_0x5d6b72){return this['_revisions']['getIndex'](_0x5d6b72);}['getEarlierVisibleRevision'](_0x159048){const [,_0x4c31a7]=this['getRevisionsIterator'](_0x159048,{'direction':'earlier'});return _0x4c31a7;}['getLaterVisibleRevision'](_0x42deb9){const [,_0xebd6e]=this['getRevisionsIterator'](_0x42deb9,{'direction':'later'});return _0xebd6e;}['getRevisionsInDiff'](_0x4bb9d1){const _0x4ebd2e=[];for(const _0x304807 of this['getRevisionsIterator'](_0x4bb9d1['newRevisionId']))if(_0x4ebd2e['push'](_0x304807),_0x304807['id']===_0x4bb9d1['oldRevisionId'])break;return _0x4ebd2e;}*['getRevisionsIterator'](_0x2b7428,{direction:_0xb2c717='earlier',filter:_0x6b24fe=_0xd57fd7=>!0x0}={}){const _0x4e0020='earlier'===_0xb2c717?0x1:-0x1;let _0x5a377b=this['_revisions']['get'](_0x2b7428),_0x535d09=this['getIndex'](_0x5a377b);for(yield _0x5a377b;_0x5a377b;){if(_0x535d09+=_0x4e0020,_0x5a377b=this['getRevision'](_0x535d09),!_0x5a377b)return;_0x6b24fe(_0x5a377b)&&(yield _0x5a377b);}}}function y(_0x5a460e,_0x19afa6,_0x2a397d){const t=_0x5a460e['t'];switch(_0x19afa6){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'},_0x2a397d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2a397d);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'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':_0x1323ee,'a':_0x257ac4,'e':_0x518c49,'r':_0x432655,'u':_0x536129};class l extends _0xd653eb{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x443655,A,_0x5cee9c];}constructor(_0x5d44ee){super(_0x5d44ee),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 _0x339057=_0xe70ec5();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x339057},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 _0x90d2c=this['repository']['getRevision'](0x0),_0x104038=_0x90d2c&&null===_0x90d2c['creator']?_0x90d2c:null;if(this['_continueCurrentRevision']=!!_0x104038&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4fbe66=this['_source']['getCurrentRevisionId'](),_0x13457d=this['repository']['getRevision'](_0x4fbe66);if(_0x13457d)this['_startingVersion']=_0x13457d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xdac6b0=this['_source']['history']['_operations']['find'](_0x6cf4b5=>!_0x6cf4b5['_isInit']),_0x303c0a=_0xdac6b0?_0xdac6b0['baseVersion']:this['_source']['history']['version'];_0x90d2c?(_0x90d2c['toVersion']<_0x303c0a&&_0x90d2c['_update']({'toVersion':_0x303c0a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x104038['id'],this['_startingVersion']=_0x104038['fromVersion']):(this['_startingVersion']=_0x90d2c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x303c0a,this['_continueCurrentRevision']=!0x1);}}else _0x104038&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x104038['toVersion'],this['editor']['model']['document']['history']['version']),_0x104038['fromVersion']===_0x104038['toVersion']?(0x0!==_0x104038['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x104038['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x104038['id'],this['_startingVersion']=_0x104038['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',_0x579a68=>!_0x579a68);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x495be0=this['repository']['getRevision'](0x0),_0x22f7fa=await this['getRevisionDocumentData'](_0x495be0),_0x4d0659=await this['getRevisionRootsAttributes'](_0x495be0);this['_replaceEditorDataWithRevisionData'](_0x22f7fa,_0x4d0659);}}['setSource'](_0x47d1b8){this['_source']=_0x47d1b8;}async['update'](){const _0x20afd4=await this['_source']['getLatestVersion']();if(_0x20afd4>this['currentRevision']['toVersion']){await this['_loadState']();const _0xf954f0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x20afd4});_0xf954f0['authors']=_0xf954f0['authorsIds']['map'](_0x45d0aa=>this['editor']['plugins']['get']('Users')['getUser'](_0x45d0aa)),this['currentRevision']['_update'](_0xf954f0);}}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'](_0x356c34={},_0x217909=null){const _0x140cea=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x217909>this['currentRevision']['toVersion']&&(_0x217909=null),null===_0x217909&&(_0x217909=await this['_source']['getLatestVersion']());const _0x49d571=this['_getFromVersion'](_0x217909),_0x28fd6d=this['buildRevisionData']({'from':_0x49d571,'to':_0x217909});if(this['currentRevision']['toVersion']<_0x217909){const _0x4c72c5=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x217909,'to':_0x217909});_0x4c72c5['authors']=[],_0x4c72c5['authorsIds']=[],_0x4c72c5['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4c72c5,!0x0),delete _0x4c72c5['authors'],_0x140cea['push'](_0x4c72c5);}_0x356c34['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x356c34['name']=_0x356c34['name']||null,_0x356c34['id']=_0x356c34['id']||_0xe70ec5(),_0x356c34={..._0x356c34,..._0x28fd6d};const _0x517f02=this['addRevisionData'](_0x356c34);_0x140cea['push'](_0x356c34);const _0x4e5d9c=this['repository']['getIndex'](_0x517f02);if(0x0!==_0x4e5d9c){const _0xd93689=this['repository']['getRevision'](_0x4e5d9c-0x1);if(_0xd93689['fromVersion']!==_0x217909){const _0x28a675=this['_revisionDataBuilder']['getData'](_0x217909,_0xd93689['toVersion']),_0x37a0bc={'id':_0xd93689['id'],'diffData':_0x28a675['diffData'],'authorsIds':_0x28a675['authorsIds'],'authors':_0x28a675['authorsIds']['map'](_0x5a18ee=>this['editor']['plugins']['get']('Users')['getUser'](_0x5a18ee)),'fromVersion':_0x217909};_0xd93689===this['currentRevision']&&(_0x37a0bc['createdAt']=new Date(_0x356c34['createdAt']['getTime']()+0xa)),_0xd93689['_update'](_0x37a0bc,!0x0),delete _0x37a0bc['authors'],_0x140cea['push'](_0x37a0bc);}}if(this['adapter']){for(const _0x18beb8 of _0x140cea)this['_bufferUpdate'](_0x18beb8['id'],_0x18beb8,!0x0);this['sendBufferedUpdates']();}return _0x517f02;}['addRevisionData'](_0x277e48){const _0x1eb6cd=this['repository']['createRevision'](_0x277e48);return this['adapter']&&_0x1eb6cd['on']('_update',(_0x373f13,_0x563edb,_0x1a3e13)=>{_0x1a3e13||(this['_bufferUpdate'](_0x563edb['id'],_0x563edb,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1eb6cd,this['_findInsertionIndex'](_0x1eb6cd)),_0x1eb6cd;}async['getRevisionDocumentData'](_0x26036f){await this['_loadRevisionData'](_0x26036f);const _0x53ff7a={};for(const _0x459fee in _0x26036f['diffData']){if(_0x26036f['diffData'][_0x459fee]['attachChange']&&!_0x26036f['diffData'][_0x459fee]['attachChange']['isAttached'])continue;const _0xc61c2b=this['_removeRevisionMarkers'](JSON['parse'](_0x26036f['diffData'][_0x459fee]['insertions'])),_0x816014=this['editor']['editing']['view']['document'],_0x11cb58=new _0x2c496a(_0x816014,_0xc61c2b['map'](_0x3cf714=>B(_0x3cf714,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x53ff7a[_0x459fee]=this['editor']['data']['processor']['toData'](_0x11cb58),this['editor']['data']['processor']['useFillerType']('default');}return _0x53ff7a;}async['getRevisionRootsAttributes'](_0x5eaed3){await this['_loadRevisionData'](_0x5eaed3);const _0x1e867c={};for(const _0x213c11 in _0x5eaed3['diffData'])_0x5eaed3['diffData'][_0x213c11]['attachChange']&&!_0x5eaed3['diffData'][_0x213c11]['attachChange']['isAttached']||(_0x1e867c[_0x213c11]=_0x5eaed3['diffData'][_0x213c11]['attributesAfter']||{});return _0x1e867c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4beb7b=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3d1dbc=0x0;_0x3d1dbc<_0x4beb7b['length'];_0x3d1dbc++){const _0x119678=_0x4beb7b[_0x3d1dbc];let _0xf3a59d=!0x1;for(const _0x462c40 of Object['keys'](_0x119678))void 0x0===_0x119678[_0x462c40]?delete _0x119678[_0x462c40]:'id'!==_0x462c40&&(_0xf3a59d=!0x0);_0xf3a59d||(_0x4beb7b[_0x3d1dbc]=null);}if(_0x4beb7b=_0x4beb7b['filter'](_0x2bbbe5=>null!==_0x2bbbe5),!_0x4beb7b['length'])return;for(let _0x30ea8c=0x0;_0x30ea8c<_0x4beb7b['length'];_0x30ea8c++){const _0xcd1c25=_0x4beb7b[_0x30ea8c];void 0x0!==_0xcd1c25['fromVersion']&&void 0x0===_0xcd1c25['toVersion']&&(_0xcd1c25['toVersion']=this['repository']['getRevision'](_0xcd1c25['id'])['toVersion']),void 0x0!==_0xcd1c25['toVersion']&&void 0x0===_0xcd1c25['fromVersion']&&(_0xcd1c25['fromVersion']=this['repository']['getRevision'](_0xcd1c25['id'])['fromVersion']);}const _0x3fc434=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4beb7b,_0x3fc434)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x6831d7=>{if(_0x6831d7){for(const _0x1b4d46 of _0x6831d7)this['setRevisionData']({'id':_0x1b4d46['id'],'createdAt':_0x1b4d46['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x43080a,_0x39512a){let _0x5d0e5a=this['editor']['config']['get']('initialData'),_0x3331a6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5d0e5a){_0x5d0e5a={};for(const _0x5780ff of this['editor']['model']['document']['getRootNames']())_0x5d0e5a[_0x5780ff]='';}if('string'==typeof _0x5d0e5a&&(_0x5d0e5a={'main':_0x5d0e5a}),void 0x0===_0x3331a6){_0x3331a6={};for(const _0x566176 of this['editor']['model']['document']['getRootNames']())_0x3331a6[_0x566176]={};}let _0x433f4d=!0x1;const _0x4a4727=Object['keys'](_0x5d0e5a),_0x354af0=Object['keys'](_0x43080a);for(const _0x5d597e of _0x4a4727){if(_0x5d0e5a[_0x5d597e]!==_0x43080a[_0x5d597e]&&''!==_0x5d0e5a[_0x5d597e]['trim']()){_0x433f4d=!0x0;break;}if(!_0x43f8af(_0x3331a6[_0x5d597e],_0x39512a[_0x5d597e])&&Object['keys'](_0x3331a6[_0x5d597e])['length']>0x0){_0x433f4d=!0x0;break;}}_0x433f4d||(_0x433f4d=_0x354af0['some'](_0x2d9bd8=>!this['editor']['model']['document']['getRoot'](_0x2d9bd8))),_0x433f4d&&_0xa71b39('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5d0e5a,'editorRootsAttributes':_0x3331a6,'revisionData':_0x43080a,'revisionRootsAttributes':_0x39512a}),this['editor']['config']['set']('initialData',_0x43080a),this['editor']['config']['set']('rootsAttributes',_0x39512a);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x394ec9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x394ec9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x32947f){const _0x1d8a5d=this['repository']['getRevisions']();_0x1d8a5d['reverse']();let _0x4fc2e9=0x0;for(;_0x4fc2e9<_0x1d8a5d['length'];){const _0x4e4318=_0x1d8a5d[_0x4fc2e9];if(_0x4e4318===this['currentRevision']){_0x4fc2e9++;continue;}if(_0x4e4318['id']===this['_initialRevisionId'])break;const _0x3c71b1=_0x32947f['toVersion']-_0x4e4318['toVersion']||_0x32947f['fromVersion']-_0x4e4318['fromVersion'];if(_0x3c71b1>0x0)break;if(_0x3c71b1<0x0)_0x4fc2e9++;else{if(!_0x32947f['creator']&&_0x4e4318['creator'])break;if(_0x4e4318['creator']||!_0x32947f['creator']){if(_0x32947f['createdAt']>_0x4e4318['createdAt'])break;_0x4fc2e9++;}else _0x4fc2e9++;}}return _0x4fc2e9;}['setRevisionData'](_0x2f277d){const _0x2d60b4=this['repository']['getRevision'](_0x2f277d['id']);if(_0x2f277d['createdAt']&&(_0x2f277d['createdAt']=new Date(_0x2f277d['createdAt'])),_0x2f277d['authorsIds']){const _0x47a15e=this['editor']['plugins']['get']('Users');_0x2f277d['authors']=_0x2f277d['authorsIds']['map'](_0x21c850=>_0x47a15e['getUser'](_0x21c850));}_0x2d60b4['_update'](_0x2f277d,!0x0);}['buildRevisionData']({revision:_0x8b787b=null,from:_0x2fd561=null,to:_0x219d6a=null}){_0x2fd561=null!==_0x2fd561?_0x2fd561:_0x8b787b['fromVersion'],_0x219d6a=null!==_0x219d6a?_0x219d6a:_0x8b787b['toVersion'];const _0x1f744d=this['_revisionDataBuilder']['getData'](_0x2fd561,_0x219d6a),_0x9f4819={'diffData':_0x1f744d['diffData'],'authorsIds':_0x1f744d['authorsIds'],'fromVersion':_0x2fd561,'toVersion':_0x219d6a};if(!_0x8b787b||_0x219d6a!==_0x8b787b['toVersion']){const _0x1967f3=_0x219d6a-0x1,_0x5eeb74=this['_source']['history']['getOperation'](_0x1967f3);_0x9f4819['createdAt']=_0x5eeb74&&_0x5eeb74['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2fd561===this['_loadedStateData']['fromVersion']){for(const _0x4cf737 of this['_loadedStateData']['authors'])_0x9f4819['authorsIds']['includes'](_0x4cf737['id'])||_0x9f4819['authorsIds']['push'](_0x4cf737['id']);}return _0x9f4819;}['_loadRevisionData'](_0x59dc8e){if(!_0x59dc8e||_0x59dc8e['diffData'])return Promise['resolve']();{const _0x1b47c5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1b47c5,'revisionId':_0x59dc8e['id']})['then'](_0x4bf729=>{_0x59dc8e['diffData']=_0x4bf729['diffData'];});}}['_bufferUpdate'](_0x4c480f,_0x95aa2,_0x5bf2ca){if(this['_bufferedUpdates']['has'](_0x4c480f)){const _0x19c5e0=this['_bufferedUpdates']['get'](_0x4c480f);_0x95aa2=_0x5bf2ca?{..._0x19c5e0,..._0x95aa2}:{..._0x95aa2,..._0x19c5e0};}this['_bufferedUpdates']['set'](_0x4c480f,_0x95aa2);}['_getFromVersion'](_0x5b35d1){const _0x4aef34=this['repository']['getRevisions']();_0x4aef34['reverse'](),_0x4aef34['shift']();const _0x4fa5e2=_0x4aef34['find'](_0x18e764=>_0x18e764['toVersion']<=_0x5b35d1)['toVersion'];return _0x4fa5e2<this['_startingVersion']?this['_startingVersion']:_0x4fa5e2;}['_createInitialRevision'](_0x4b71e8){const _0xf08469=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf08469)this['_initialRevisionId']=_0xf08469['id'];else{const _0xfda9e3=!this['editor']['model']['document']['roots']['find'](_0x35658a=>this['editor']['model']['hasContent'](_0x35658a)),_0x163a59=this['editor']['plugins']['get']('Users')['me']['id'],_0x15b017=y(this['editor']['locale'],_0xfda9e3?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4b71e8,'to':_0x4b71e8,'id':this['_initialRevisionId'],'name':_0x15b017,'creatorId':_0x163a59});}}['_createCurrentRevision'](_0x267066){const _0x233352=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x233352),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x267066,'to':_0x267066,'id':_0x233352,'name':'','creatorId':null}));}['_makeRevision']({name:_0x460b9d,from:_0x35ac22,to:_0x1a7259,creatorId:_0x1a5001,id:_0x23027a}){const _0x284dee=this['buildRevisionData']({'from':_0x35ac22,'to':_0x1a7259});_0x284dee['name']=_0x460b9d,_0x284dee['creatorId']=_0x1a5001,_0x284dee['id']=_0x23027a;const _0x2cef2b=this['addRevisionData'](_0x284dee);return this['adapter']&&this['_bufferUpdate'](_0x284dee['id'],_0x284dee,!0x0),_0x2cef2b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4ef7c8){return(_0x4ef7c8=_0x4ef7c8['filter'](_0x2a6b46=>!_0x2a6b46['name']||'revision-start'!==_0x2a6b46['name']&&'revision-end'!==_0x2a6b46['name']))['forEach'](_0x2f21b4=>{'string'!=typeof _0x2f21b4&&(_0x2f21b4['children']=this['_removeRevisionMarkers'](_0x2f21b4['children']),_0x2f21b4['attributes']=_0x2f21b4['attributes']['filter'](_0x4ebb10=>!_0x4ebb10[0x0]['startsWith']('data-revision-')));}),_0x4ef7c8;}}function B(_0x303118,_0x4f7f37){const _0x5e23ff=_0x4f7f37['editing']['view']['document'];if('string'==typeof _0x303118)return new _0x29d725(_0x5e23ff,_0x303118);{const _0x1a0029=_0x303118['children']['map'](_0x3f85a9=>B(_0x3f85a9,_0x4f7f37));return new(T[_0x303118['type']]||_0x14df3c)(_0x5e23ff,_0x303118['name'],_0x303118['attributes'],_0x1a0029);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5646c9){this['editor']=_0x5646c9,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'](_0x8f542d){this['source']=_0x8f542d;const _0x54484b=new Map(),_0xfecde0=new Map(),_0x28fa78=this['editor']['model']['document']['roots']['map'](_0x56b0b4=>_0x56b0b4['rootName']);for(const _0x3452ed of _0x28fa78){const _0x4e6013=this['editor']['model']['document']['getRoot'](_0x3452ed),_0x428b6a=q(_0x4e6013);_0x54484b['set'](_0x3452ed,_0x428b6a),_0xfecde0['set'](_0x3452ed,Object['fromEntries'](_0x4e6013['getAttributes']()));}const _0x2a703f=Array['from'](this['editor']['model']['markers'])['map'](_0x5a7d60=>[_0x5a7d60['name'],_0x5a7d60['getRange']()]),_0x2c424e=this['source']['version'];this['_saveMetaData'](_0x2c424e,_0x54484b,_0x2a703f,_0xfecde0),this['_startingRevisionId']=this['_revisionId'];const _0x4513e7=new Map(),_0xa31f6d=new Map();for(const _0x198e87 of _0x28fa78){const _0xa9955f=G(_0x198e87);_0x4513e7['set'](_0x198e87,_0xa9955f),_0xa31f6d['set'](_0x198e87,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4513e7,[],_0xa31f6d);}['getData'](_0x501e9f,_0x2ae7e0){if(this['_lastFrom']===_0x501e9f&&this['_lastTo']<=_0x2ae7e0)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2ae7e0,!0x0);else{if(!this['_savedMetaData']['has'](_0x501e9f)){const _0x38a5e1=this['_getPreviousFrom'](_0x501e9f);this['_calculateMetaData'](_0x38a5e1,_0x501e9f,!0x1);}this['_calculateMetaData'](_0x501e9f,_0x2ae7e0,!0x0);}return this['_lastFrom']=_0x501e9f,this['_lastTo']=_0x2ae7e0,this['_getState']();}['loadState'](_0x315bad){this['_reset'](),this['_lastFrom']=_0x315bad['fromVersion'],this['_lastTo']=_0x315bad['toVersion'];for(const _0x2442eb in _0x315bad['diffData']){const _0x142524=_0x315bad['diffData'][_0x2442eb]['attachChange'],_0x79c19b=_0x3760bd(_0x315bad['diffData'][_0x2442eb]['attributesBefore'])||{},_0x82fa8b=this['_makeModelFromViewString'](_0x315bad['diffData'][_0x2442eb]['deletions']);_0x82fa8b['rootName']=_0x2442eb,_0x82fa8b['_isAttached']=!_0x142524||!_0x142524['isAttached'],_0x82fa8b['isAttached']=()=>_0x82fa8b['_isAttached'],this['_baseRoots']['set'](_0x2442eb,_0x82fa8b),this['_baseRootsAttributes']['set'](_0x2442eb,_0x79c19b),_0x142524&&this['_touchedRoots']['set'](_0x2442eb,_0x142524);const _0x55c3bf=this['_makeIdsRoot'](_0x82fa8b);this['_baseIdsRoots']['set'](_0x2442eb,_0x55c3bf);for(const [_0x2f4425,_0x4f4b5c]of _0x82fa8b['markers']){if(!_0x2f4425['startsWith']('revision:'))continue;const _0x20141e=_0x2f4425['split'](':')[0x2];for(const _0x59a09b of _0x4f4b5c['getWalker']({'singleCharacters':!0x0})){const _0x188f4a=this['_getVidAttributeName'](_0x59a09b),_0x20b213='elementEnd'==_0x59a09b['type']?_0x59a09b['previousPosition']['path']['slice'](0x0,-0x1):_0x59a09b['previousPosition']['path'],_0x36de8c=_0x55c3bf['getNodeByPath'](_0x20b213)['getAttribute'](_0x188f4a);this['_touched']['set'](_0x36de8c,{'userId':_0x20141e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x58014b=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4bd06e=>!this['_touched']['has'](_0x4bd06e));let _0x2d437e=0x0;const _0x327ad2=new Map();for(const _0x198c96 in _0x315bad['diffData']){const _0x5f385b=_0x315bad['diffData'][_0x198c96]['attachChange'],_0xc02ad3=_0x3760bd(_0x315bad['diffData'][_0x198c96]['attributesAfter'])||{},_0x3abbc9=this['_makeModelFromViewString'](_0x315bad['diffData'][_0x198c96]['insertions']);_0x3abbc9['rootName']=_0x198c96,_0x3abbc9['_isAttached']=!_0x5f385b||_0x5f385b['isAttached'],_0x3abbc9['isAttached']=()=>_0x3abbc9['_isAttached'],this['_diffRoots']['set'](_0x198c96,_0x3abbc9),this['_diffRootsAttributes']['set'](_0x198c96,_0xc02ad3);const _0x4be782=this['_makeIdsRoot'](_0x3abbc9,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x198c96,_0x4be782),_0x327ad2['set'](_0x198c96,_0x3abbc9['isAttached']()?_0xc02ad3:{});for(const [_0xb5036f,_0x59f2bc]of _0x3abbc9['markers']){if(!_0xb5036f['startsWith']('revision:'))continue;const _0x473294=_0xb5036f['split'](':')[0x2];for(const _0x1d02b5 of _0x59f2bc['getWalker']({'singleCharacters':!0x0})){const _0x112c8a=this['_getVidAttributeName'](_0x1d02b5),_0x591ee0=this['_revisionId']++,_0x32c053='elementEnd'==_0x1d02b5['type']?_0x1d02b5['previousPosition']['path']['slice'](0x0,-0x1):_0x1d02b5['previousPosition']['path'];_0x4be782['getNodeByPath'](_0x32c053)['_setAttribute'](_0x112c8a,_0x591ee0),this['_touched']['set'](_0x591ee0,{'userId':_0x473294});}}for(const _0x6f14b6 of this['editor']['model']['createRangeIn'](_0x3abbc9)['getWalker']({'singleCharacters':!0x0})){const _0x1dd9c7=this['_getVidAttributeName'](_0x6f14b6),_0x1e2f2b='elementEnd'==_0x6f14b6['type']?_0x6f14b6['previousPosition']['path']['slice'](0x0,-0x1):_0x6f14b6['previousPosition']['path'],_0x58f1b5=_0x4be782['getNodeByPath'](_0x1e2f2b);_0x58f1b5['getAttribute'](_0x1dd9c7)>0x0||_0x58f1b5['_setAttribute'](_0x1dd9c7,_0x58014b[_0x2d437e++]);}for(const [_0x5a302a,_0x54ab38]of _0x3abbc9['markers'])_0x5a302a['startsWith']('revision:')||this['_markers']['set'](_0x5a302a,_0x54ab38);}const _0x16ec00=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x16ec00),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x16ec00,0x1));const _0x4ca9bb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4ca9bb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4ca9bb,0x1));const _0x1ab850=Array['from'](this['_diffRoots'])['map'](([_0x1abaed,_0x293f3d])=>[_0x1abaed,q(_0x293f3d)]);this['_saveMetaData'](this['_lastTo'],_0x1ab850,this['_markers'],_0x327ad2);}['_makeModelFromViewString'](_0x24069d){const _0x2f0679=JSON['parse'](_0x24069d),_0x33df08=this['editor']['editing']['view']['document'],_0x297a89=new _0x2c496a(_0x33df08,_0x2f0679['map'](_0x3e2b69=>B(_0x3e2b69,this['editor'])));return this['editor']['data']['toModel'](_0x297a89);}['_saveMetaData'](_0x576472,_0x2c94c2,_0x2534f1,_0x12658f){const _0x2ba9ce=new Map(_0x2c94c2),_0x2d22e8=new Map(_0x3760bd(_0x12658f)),_0x4f4916=new Map();for(const [_0xad23e,_0x27b927]of _0x2534f1)_0x4f4916['set'](_0xad23e,{'start':_0x27b927['start']['clone'](),'end':_0x27b927['end']['clone'](),'rootName':_0x27b927['root']['rootName']});this['_savedMetaData']['set'](_0x576472,{'roots':_0x2ba9ce,'markers':_0x4f4916,'rootsAttributes':_0x2d22e8});}['_removeMetaData'](_0x329ec3){this['_savedMetaData']['delete'](_0x329ec3);}['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'](_0x45d7b6,_0x13a7d1=null){let _0x494479=null;_0x45d7b6['is']('documentFragment')||(_0x494479=new ft(_0x45d7b6['name'],{'vid_start':null===_0x13a7d1?this['_revisionId']++:_0x13a7d1++}));const _0x177122=[];for(const _0x123d91 of _0x45d7b6['getChildren']())if(_0x123d91['is']('element')){_0x177122['push'](this['_makeIdsRoot'](_0x123d91,_0x13a7d1));const _0x12888a=_0x177122[_0x177122['length']-0x1];null!==_0x13a7d1&&(_0x13a7d1=_0x12888a['is']('element','$text')?_0x12888a['getAttribute']('vid')+0x1:_0x12888a['getAttribute']('vid_end')+0x1);}else{for(let _0x2d4e85=0x0;_0x2d4e85<_0x123d91['offsetSize'];_0x2d4e85++)_0x177122['push'](new ft('$text',{'vid':null===_0x13a7d1?this['_revisionId']++:_0x13a7d1++}));}if(_0x45d7b6['is']('documentFragment')){const _0xf58a84=G(_0x45d7b6['rootName']);return _0xf58a84['_insertChild'](0x0,_0x177122),_0xf58a84;}return _0x494479['_setAttribute']('vid_end',null===_0x13a7d1?this['_revisionId']++:_0x13a7d1++),_0x494479['_insertChild'](0x0,_0x177122),_0x494479;}['_calculateMetaData'](_0x168b7e,_0x271fd1,_0x245874){this['_reset']();const {roots:_0x230ff0,markers:_0x2505a1,rootsAttributes:_0x395b05}=this['_savedMetaData']['get'](_0x168b7e);this['_baseRoots']=new Map(_0x230ff0),this['_baseRootsAttributes']=new Map(_0x3760bd(_0x395b05));for(const [_0x206006,_0x456bc3]of this['_baseRoots'])if('$graveyard'!==_0x206006&&(this['_diffRoots']['set'](_0x206006,q(_0x456bc3)),this['_diffRootsAttributes']=new Map(_0x3760bd(_0x395b05)),_0x245874)){const _0x1f78ef=this['_revisionId'];this['_idsRoots']['set'](_0x206006,this['_makeIdsRoot'](_0x456bc3)),this['_baseIdsRoots']['set'](_0x206006,this['_makeIdsRoot'](_0x456bc3,_0x1f78ef));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x245874&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5b55fe,_0x36c700]of _0x2505a1){const _0x2fbf6f=this['_baseRoots']['get'](_0x36c700['rootName']),_0x4bb504=this['_diffRoots']['get'](_0x36c700['rootName']),_0x4ded01=new vt(this['_fixPosition'](_0x36c700['start'],_0x2fbf6f),this['_fixPosition'](_0x36c700['end'],_0x2fbf6f)),_0x322f05=this['_fixRange'](_0x4ded01,_0x4bb504);_0x2fbf6f['markers']['set'](_0x5b55fe,_0x4ded01),this['_markers']['set'](_0x5b55fe,_0x322f05);}this['_applyOperations'](_0x168b7e,_0x271fd1,_0x245874);}['_applyOperations'](_0x5396b4,_0x9d97c7,_0x3d8238){for(const _0xfff794 of this['source']['getOperations'](_0x5396b4,_0x9d97c7))this['_handleOperation'](_0xfff794,_0x3d8238);for(const _0x1fc1a3 of this['_diffRoots']['values']())_0x1fc1a3['markers']['clear']();for(const [_0x731831,_0x219e42]of this['_markers']){this['_diffRoots']['get'](_0x219e42['root']['rootName'])['markers']['set'](_0x731831,_0x219e42['clone']());}const _0x37d7ec=new Map(),_0x3c411d=new Map();for(const [_0x3b0446,_0x3d5efc]of this['_diffRoots'])_0x37d7ec['set'](_0x3b0446,q(_0x3d5efc)),_0x3c411d['set'](_0x3b0446,this['_diffRootsAttributes']['get'](_0x3b0446));this['_saveMetaData'](_0x9d97c7,_0x37d7ec,this['_markers'],_0x3c411d);}['_getPreviousFrom'](_0x1de60a){const _0x1f1ad0=Array['from'](this['_savedMetaData']['keys']());_0x1f1ad0['sort']((_0x1328d7,_0x4b7c87)=>_0x1328d7-_0x4b7c87),_0x1f1ad0['reverse']();for(const _0x4f0718 of _0x1f1ad0)if(_0x4f0718<_0x1de60a)return _0x4f0718;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x6858c,_0xd64af6){const _0x44d023=Array['from'](_0xd64af6['markers'])['map'](([_0x3aa5bf,_0x3c5649])=>[_0x3aa5bf,this['_fixRange'](_0x3c5649,_0x6858c)]);_0x6858c['markers']=new Map(_0x44d023);}['_transformMarkers'](_0x505a72){for(const _0x4c8c04 of this['_markers']['values']()){const _0x10ff95=_0x4c8c04['getTransformedByOperation'](_0x505a72),_0x1edb6f=vt['_createFromRanges'](_0x10ff95);_0x4c8c04['start']=_0x1edb6f['start'],_0x4c8c04['end']=_0x1edb6f['end'];}}['_handleOperation'](_0x37df4a,_0x701d0c){if('addRoot'==_0x37df4a['type']||'detachRoot'==_0x37df4a['type'])return void this['_handleRootOperation'](_0x37df4a,_0x701d0c);if('insert'==_0x37df4a['type']){const _0x5309e5=_0x37df4a['position']['root']['rootName'];this['_diffRoots']['has'](_0x5309e5)||(this['_diffRoots']['set'](_0x5309e5,G(_0x5309e5,!0x0)),this['_diffRootsAttributes']['set'](_0x5309e5,{}),_0x701d0c&&this['_idsRoots']['set'](_0x5309e5,G(_0x5309e5,!0x0)));}else{if('addRootAttribute'==_0x37df4a['type']||'removeRootAttribute'==_0x37df4a['type']||'changeRootAttribute'==_0x37df4a['type'])return void this['_handleRootAttributeOperation'](_0x37df4a);}const _0x1c89d3=this['_cloneOperation'](_0x37df4a,this['_diffRoots']);if('marker'!==_0x37df4a['type']&&(_0x1c89d3['_execute'](),this['_transformMarkers'](_0x1c89d3)),_0x701d0c)switch(_0x1c89d3['type']){case'insert':this['_handleInsertOperation'](_0x37df4a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x37df4a);break;case'merge':this['_handleMergeOperation'](_0x37df4a);break;case'split':this['_handleSplitOperation'](_0x37df4a);break;case'marker':this['_handleMarkerOperation'](_0x37df4a);}}['_cloneOperation'](_0x2436a2,_0xacc023){const _0x52acc5=_0x2436a2['clone']();return _0x52acc5['_authorId']=_0x2436a2['_authorId'],this['_fixOperation'](_0x52acc5,_0xacc023),_0x52acc5;}['_getBaseVids'](_0x506b09){return _0x506b09['map'](_0x36b840=>{const _0x566d23=this['_getVidAttributeName'](_0x36b840);return Number(_0x36b840['item']['getAttribute'](_0x566d23));});}['_generateTape'](_0x194e85,_0x5edb9d){if(_0x194e85['is']('element','$text'))_0x5edb9d['push']({'item':_0x194e85,'type':'text'});else{_0x194e85['is']('element')&&_0x5edb9d['push']({'item':_0x194e85,'type':'elementStart'});for(const _0x3a5bb3 of _0x194e85['getChildren']())this['_generateTape'](_0x3a5bb3,_0x5edb9d);_0x194e85['is']('element')&&_0x5edb9d['push']({'item':_0x194e85,'type':'elementEnd'});}return _0x5edb9d;}['_getState'](){const _0x25e5e1=new Map(this['_touched']),_0x45eb5d=new Map(_0x25e5e1),_0x5206fb=new Map(),_0x3f3f7f={'insertions':{},'deletions':{}},_0x3c77e7={'insertions':{},'deletions':{}},_0x47ae3b=new Map(),_0xa2b489=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xa2b489['delete']('$graveyard');for(const _0x462777 of _0xa2b489){const _0x1b254e=this['_diffRoots']['get'](_0x462777)||G(_0x462777,!0x1),_0x1cae0a=this['_baseRoots']['get'](_0x462777)||G(_0x462777,!0x1);_0x1b254e['isAttached']()||_0x1cae0a['isAttached']()?(_0x3f3f7f['insertions'][_0x462777]=q(_0x1b254e),_0x3f3f7f['deletions'][_0x462777]=q(_0x1cae0a),this['_copyMarkers'](_0x3f3f7f['deletions'][_0x462777],_0x1cae0a),this['_copyMarkers'](_0x3f3f7f['insertions'][_0x462777],_0x1b254e),_0x3c77e7['insertions'][_0x462777]=this['_generateTape'](this['_idsRoots']['get'](_0x462777),[]),_0x3c77e7['deletions'][_0x462777]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x462777)||G(_0x462777,!0x1),[])):_0xa2b489['delete'](_0x462777);}for(const _0x447842 of _0xa2b489){const _0x521f4c=_0x3c77e7['insertions'][_0x447842];for(const _0xdab4da of _0x521f4c){const _0xf1f69f=this['_getVidAttributeName'](_0xdab4da),_0x2d0d23=_0xdab4da['item']['getAttribute'](_0xf1f69f);_0x45eb5d['delete'](_0x2d0d23),_0x2d0d23>=this['_startingRevisionId']&&_0x5206fb['set'](_0x2d0d23,_0x25e5e1['get'](_0x2d0d23));}}for(const _0xc1d15d of _0xa2b489){const _0x3e69e1=_0x3c77e7['insertions'][_0xc1d15d],_0x4090df=this['_getBaseVids'](_0x3c77e7['deletions'][_0xc1d15d]);let _0x4050da=0x0;for(const _0xbdc822 of _0x3e69e1){const _0x5d827f=this['_getVidAttributeName'](_0xbdc822),_0x3382d9=_0xbdc822['item']['getAttribute'](_0x5d827f);if(!_0x5206fb['has'](_0x3382d9)&&!_0x47ae3b['has'](_0x3382d9)){if(_0x45eb5d['has'](_0x3382d9))_0x4050da++;else{if(_0x3382d9!=_0x4090df[_0x4050da]){const _0x9a493f=_0x25e5e1['get'](_0x3382d9)||_0x25e5e1['get'](_0x4090df[_0x4050da]);for(;_0x3382d9!=_0x4090df[_0x4050da];)_0x45eb5d['has'](_0x4090df[_0x4050da])||(_0x47ae3b['set'](_0x4090df[_0x4050da],_0x9a493f),_0x25e5e1['set'](_0x4090df[_0x4050da],_0x9a493f)),_0x4050da++;}_0x4050da++;}}}}for(const _0x4063b3 of _0xa2b489){const _0x167fcb=_0x3c77e7['insertions'][_0x4063b3];for(const _0x144dff of _0x167fcb){const _0x31a7a5=this['_getVidAttributeName'](_0x144dff),_0x117dbd=_0x144dff['item']['getAttribute'](_0x31a7a5);if(_0x47ae3b['has'](_0x117dbd)){const _0x6433c=_0x47ae3b['get'](_0x117dbd);_0x45eb5d['has'](_0x117dbd)||_0x45eb5d['set'](_0x117dbd,{..._0x6433c}),_0x5206fb['set'](_0x117dbd,{..._0x6433c});}}}for(const _0x428c74 of _0x45eb5d['keys']())_0x428c74>=this['_startingRevisionId']&&_0x45eb5d['delete'](_0x428c74);const _0x1e2f2f=new Map();for(const _0x186360 of _0xa2b489){let _0x52ae52=_0x3c77e7['insertions'][_0x186360];for(const _0xed191d of _0x52ae52)if(_0xed191d['item']['is']('element','tableCell')){const _0x28e3f4=this['_getVidAttributeName'](_0xed191d),_0x1059b7=_0xed191d['item']['getAttribute'](_0x28e3f4);if(_0x5206fb['has'](_0x1059b7)){const _0x4d2e0b=_0xed191d['item']['parent']['parent']['getAttribute']('vid_start'),_0x7d1b79=_0x1e2f2f['get'](_0x4d2e0b)||new Set();_0x7d1b79['add'](_0x5206fb['get'](_0x1059b7)['userId']),_0x1e2f2f['set'](_0x4d2e0b,_0x7d1b79);}}_0x52ae52=_0x3c77e7['deletions'][_0x186360];for(const _0x281b6e of _0x52ae52)if(_0x281b6e['item']['is']('element','tableCell')){const _0x3339ac=this['_getVidAttributeName'](_0x281b6e),_0x5871a9=_0x281b6e['item']['getAttribute'](_0x3339ac);if(_0x45eb5d['has'](_0x5871a9)){const _0x11d122=_0x281b6e['item']['parent']['parent']['getAttribute']('vid_start'),_0xfc91c9=_0x1e2f2f['get'](_0x11d122)||new Set();_0xfc91c9['add'](_0x45eb5d['get'](_0x5871a9)['userId']),_0x1e2f2f['set'](_0x11d122,_0xfc91c9);}}for(const _0x4f0519 of _0x1e2f2f['keys']())(_0x5206fb['has'](_0x4f0519)||_0x45eb5d['has'](_0x4f0519))&&_0x1e2f2f['delete'](_0x4f0519);}for(const _0xde556d of _0xa2b489){const _0x5cadda=_0x3c77e7['insertions'][_0xde556d];let _0xdb9552=null,_0x479e4e=null;for(const _0x442bf0 of _0x5cadda){const _0x5bcfa1=this['_getVidAttributeName'](_0x442bf0),_0x517d75=_0x442bf0['item']['getAttribute'](_0x5bcfa1),_0x252504=_0x1e2f2f['get'](_0x517d75);_0x252504&&'elementStart'==_0x442bf0['type']&&(_0xdb9552=Array['from'](_0x252504)[0x0],_0x479e4e=_0x442bf0['item']['getAttribute']('vid_end')),_0xdb9552&&(_0x45eb5d['set'](_0x517d75,{'userId':_0xdb9552}),_0x5206fb['set'](_0x517d75,{'userId':_0xdb9552})),_0x517d75==_0x479e4e&&(_0xdb9552=null,_0x479e4e=null);}}const _0x5e1188={},_0xcc6c1c=new Set();for(const _0x440a29 of _0xa2b489){const _0x5cf849=_0x3f3f7f['deletions'][_0x440a29],_0x223fa1=_0x3f3f7f['insertions'][_0x440a29];for(const {userId:_0x47b8f8}of this['_touchedMarkers']['values']())null!==_0x47b8f8&&_0xcc6c1c['add'](_0x47b8f8);for(const {userId:_0x51f6e2}of this['_touchedRoots']['values']())null!==_0x51f6e2&&_0xcc6c1c['add'](_0x51f6e2);this['_markChanges'](_0x223fa1,_0x3c77e7['insertions'][_0x440a29],_0x5206fb,'insertion',_0xcc6c1c),this['_markChanges'](_0x5cf849,_0x3c77e7['deletions'][_0x440a29],_0x45eb5d,'deletion',_0xcc6c1c),_0x5e1188[_0x440a29]={'insertions':this['_prepareViewToSave'](_0x223fa1),'deletions':this['_prepareViewToSave'](_0x5cf849),'attachChange':this['_touchedRoots']['get'](_0x440a29)||null,'attributesBefore':_0x3760bd(this['_baseRootsAttributes']['get'](_0x440a29))||{},'attributesAfter':_0x3760bd(this['_diffRootsAttributes']['get'](_0x440a29))};}return{'diffData':_0x5e1188,'authorsIds':Array['from'](_0xcc6c1c)};}['_processRootBeforeSave'](_0x4bc01a){for(const [,_0x4b539d]of _0x4bc01a['markers']){const _0xfcc264=_0x4b539d['start']['getAncestors']()['filter'](_0x2305b2=>'tableCell'==_0x2305b2['name']);for(const _0x25d6cd of _0xfcc264)0x1==_0x25d6cd['childCount']&&_0x25d6cd['getChild'](0x0)['is']('element','paragraph')&&_0x25d6cd['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xd4de4){this['_processRootBeforeSave'](_0xd4de4);const _0xe68cc1=this['editor']['data']['toView'](_0xd4de4,{}),_0x524934=Array['from'](_0xe68cc1['getChildren']())['map'](_0x40369b=>this['_getViewJson'](_0x40369b));return JSON['stringify'](_0x524934);}['_getViewJson'](_0x44192e){if(_0x44192e['is']('$text'))return _0x44192e['data'];{const _0x553253=_0x44192e;return{'type':Object['keys'](T)['find'](_0x5dc67a=>_0x44192e instanceof T[_0x5dc67a]),'name':_0x553253['name'],'attributes':Array['from'](_0x553253['getAttributes']()),'children':Array['from'](_0x553253['getChildren']())['map'](_0x184707=>this['_getViewJson'](_0x184707))};}}['_markChanges'](_0x149852,_0x52c55f,_0x56cc15,_0x135bcd,_0x5bffdf){let _0x262a42=null,_0x1f227f=null,_0x4e39a8=0x0;const _0x392302=this['editor']['model'];for(let _0x4756ff=0x0;_0x4756ff<_0x52c55f['length'];_0x4756ff++){const _0x2d9b93=this['_getVidAttributeName'](_0x52c55f[_0x4756ff]),_0x29878f=_0x52c55f[_0x4756ff]['item']['getAttribute'](_0x2d9b93),_0x13669b=_0x56cc15['get'](_0x29878f),_0x397fe4=_0x4756ff==_0x52c55f['length']-0x1;(!_0x262a42&&_0x13669b&&(_0x262a42=_0x13669b,_0x1f227f=_0x52c55f[_0x4756ff]),_0x262a42&&(!_0x13669b||_0x13669b['userId']!=_0x262a42['userId']))&&(_0x28a5f6(_0x13669b,L(_0x1f227f,_0x149852,_0x392302),L(_0x52c55f[_0x4756ff],_0x149852,_0x392302)),_0x262a42=_0x13669b||null,_0x1f227f=_0x13669b?_0x52c55f[_0x4756ff]:null),_0x262a42&&_0x397fe4&&_0x28a5f6(_0x13669b,L(_0x1f227f,_0x149852,_0x392302),W(_0x52c55f[_0x4756ff],_0x149852,_0x392302));}function _0x28a5f6(_0x4acf4d,_0xbbd44d,_0x2de380){const _0x460f13=_0x262a42['userId'],_0x1c894d='revision:'+_0x135bcd+':'+_0x460f13+':'+_0x4e39a8++,_0x27113f=_0x392302['createRange'](_0xbbd44d,_0x2de380);_0x149852['markers']['set'](_0x1c894d,_0x27113f),null!==_0x460f13&&_0x5bffdf['add'](_0x460f13);}}['_getVidAttributeName'](_0x32afd3){switch(_0x32afd3['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2665d2,_0x13cd96){_0x2665d2['baseVersion']=null;for(const _0x35565f in _0x2665d2){const _0x643597=_0x2665d2[_0x35565f];if(_0x643597 instanceof gt){const _0x5c08f2=_0x13cd96['get'](_0x643597['root']['rootName']);_0x2665d2[_0x35565f]=this['_fixPosition'](_0x643597,_0x5c08f2);}if(_0x643597 instanceof vt){const _0x3c0c3e=_0x13cd96['get'](_0x643597['root']['rootName']);_0x2665d2[_0x35565f]=this['_fixRange'](_0x643597,_0x3c0c3e);}'root'===_0x35565f&&(_0x2665d2['root']=_0x13cd96['get'](_0x2665d2['root']['rootName']));}}['_fixRange'](_0x34a589,_0x21765e){return this['editor']['model']['createRange'](this['_fixPosition'](_0x34a589['start'],_0x21765e),this['_fixPosition'](_0x34a589['end'],_0x21765e));}['_fixPosition'](_0x26616d,_0x175640){return this['editor']['model']['createPositionFromPath'](_0x175640,_0x26616d['path'],_0x26616d['stickiness']);}['_handleInsertOperation'](_0x493d4c){const _0x1dc9b3=this['_idsRoots']['get'](_0x493d4c['position']['root']['rootName']),_0x518224=this['_fixPosition'](_0x493d4c['position'],_0x1dc9b3),_0x1c861b=null===_0x493d4c['_authorId']?null:_0x493d4c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5ec1c8=_0x518224['parent'],_0xd308c3=this['_revisionId'],_0x26384b=[];for(const _0x285e69 of _0x493d4c['nodes'])if(_0x285e69['is']('element'))_0x26384b['push'](this['_makeIdsRoot'](_0x285e69));else{for(let _0x5d02e7=0x0;_0x5d02e7<_0x285e69['offsetSize'];_0x5d02e7++)_0x26384b['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x57938c=this['_revisionId'];for(let _0x573004=_0xd308c3;_0x573004<_0x57938c;_0x573004++)this['_touched']['set'](_0x573004,{'userId':_0x1c861b});_0x5ec1c8['_insertChild'](_0x518224['offset'],_0x26384b);}['_handleMoveOperation'](_0x4514ad){(_0x4514ad=this['_cloneOperation'](_0x4514ad,this['_idsRoots']))['_execute']();const _0x558b8e=null===_0x4514ad['_authorId']?null:_0x4514ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b1891=_0x4514ad['getMovedRangeStart'](),_0x48edc0=_0x1b1891['parent'],_0x47bc6f=_0x1b1891['offset'];!function _0x525ebc(_0x2bce54,_0x21cfb0,_0x2b3520,_0x32ab75){for(let _0x24f15e=_0x2b3520;_0x24f15e<_0x32ab75;_0x24f15e++){const _0x353457=_0x21cfb0['getChild'](_0x24f15e);_0x353457['is']('element','$text')?_0x2bce54['set'](_0x353457['getAttribute']('vid'),{'userId':_0x558b8e}):(_0x2bce54['set'](_0x353457['getAttribute']('vid_start'),{'userId':_0x558b8e}),_0x525ebc(_0x2bce54,_0x353457,0x0,_0x353457['childCount']),_0x2bce54['set'](_0x353457['getAttribute']('vid_end'),{'userId':_0x558b8e}));}}(this['_touched'],_0x48edc0,_0x47bc6f,_0x47bc6f+_0x4514ad['howMany']);}['_handleMergeOperation'](_0x5efc4c){const _0x2fe7ed=null===(_0x5efc4c=this['_cloneOperation'](_0x5efc4c,this['_idsRoots']))['_authorId']?null:_0x5efc4c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x202385=_0x5efc4c['targetPosition']['parent'],_0x508c0e=_0x5efc4c['sourcePosition']['parent'],_0x560567=_0x202385['getAttribute']('vid_end'),_0x1e7883=_0x508c0e['getAttribute']('vid_start');_0x202385['_setAttribute']('vid_end',_0x508c0e['getAttribute']('vid_end')),_0x508c0e['_setAttribute']('vid_end',_0x560567),this['_touched']['set'](_0x1e7883,{'userId':_0x2fe7ed}),this['_touched']['set'](_0x560567,{'userId':_0x2fe7ed}),_0x5efc4c['_execute']();}['_handleSplitOperation'](_0x2b673a){const _0x52489f=null===(_0x2b673a=this['_cloneOperation'](_0x2b673a,this['_idsRoots']))['_authorId']?null:_0x2b673a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x22b147=_0x2b673a['graveyardPosition'],_0x2c4607=_0x2b673a['splitPosition']['parent'];_0x2b673a['_execute']();const _0x473772=_0x2c4607['getAttribute']('vid_end'),_0x1bb676=_0x2b673a['insertionPosition']['nodeAfter'];if(_0x22b147){const _0x24fbea=_0x1bb676['getAttribute']('vid_end'),_0x504812=_0x2c4607['getAttribute']('vid_end');_0x2c4607['_setAttribute']('vid_end',_0x24fbea),_0x1bb676['_setAttribute']('vid_end',_0x504812),this['_touched']['set'](_0x2c4607['getAttribute']('vid_end'),{'userId':_0x52489f}),this['_touched']['set'](_0x1bb676['getAttribute']('vid_start'),{'userId':_0x52489f});}else{const _0x34b658=this['_revisionId']++,_0xf80a9e=this['_revisionId']++;_0x2c4607['_setAttribute']('vid_end',_0x34b658),_0x1bb676['_setAttribute']('vid_start',_0xf80a9e),_0x1bb676['_setAttribute']('vid_end',_0x473772),this['_touched']['set'](_0x34b658,{'userId':_0x52489f}),this['_touched']['set'](_0xf80a9e,{'userId':_0x52489f});}}['_handleMarkerOperation'](_0x488859){if(!_0x488859['affectsData'])return;const _0x2012f1=(_0x488859=this['_cloneOperation'](_0x488859,this['_diffRoots']))['oldRange']?_0x488859['oldRange']['root']:null,_0x53ed8a=_0x488859['newRange']?_0x488859['newRange']['root']:null;_0x2012f1&&this['_markers']['delete'](_0x488859['name']),_0x53ed8a&&this['_markers']['set'](_0x488859['name'],_0x488859['newRange']['clone']());const _0x323eec=null===_0x488859['_authorId']?null:_0x488859['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5f1791=_0x488859['name'];if(!this['_touchedMarkers']['has'](_0x5f1791))return void this['_touchedMarkers']['set'](_0x5f1791,{'range':_0x488859['oldRange'],'userId':_0x323eec});const _0x3ffb18=this['_touchedMarkers']['get'](_0x5f1791),_0xebeb22=_0x3ffb18['range'],_0xb4fd77=_0x488859['newRange'];null==_0xebeb22&&null==_0xb4fd77||_0xebeb22&&_0xb4fd77&&_0xebeb22['isEqual'](_0xb4fd77)?this['_touchedMarkers']['delete'](_0x488859['name']):_0x3ffb18['userId']=_0x323eec;}['_handleRootOperation'](_0x2af86d,_0x2247ec){this['_diffRoots']['has'](_0x2af86d['rootName'])?this['_diffRoots']['get'](_0x2af86d['rootName'])['_isAttached']=_0x2af86d['isAdd']:(this['_diffRoots']['set'](_0x2af86d['rootName'],G(_0x2af86d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2af86d['rootName'],{}),_0x2247ec&&this['_idsRoots']['set'](_0x2af86d['rootName'],G(_0x2af86d['rootName'],!0x0)));const _0x597da0=null===_0x2af86d['_authorId']?null:_0x2af86d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x417d14=this['_touchedRoots']['get'](_0x2af86d['rootName']);_0x417d14&&_0x417d14['userId']===_0x597da0?this['_touchedRoots']['delete'](_0x2af86d['rootName']):this['_touchedRoots']['set'](_0x2af86d['rootName'],{'userId':_0x597da0,'isAttached':_0x2af86d['isAdd']});}['_handleRootAttributeOperation'](_0x10d879){const _0x289a01=this['_diffRootsAttributes']['get'](_0x10d879['root']['rootName']);null===_0x10d879['newValue']?delete _0x289a01[_0x10d879['key']]:_0x289a01[_0x10d879['key']]=_0x10d879['newValue'];}}function q(_0x4f3c04){const _0x1781a6=G(_0x4f3c04['rootName'],_0x4f3c04['isAttached']());for(const _0x4565b8 of _0x4f3c04['getChildren']()){const _0x379b0b=_0x4565b8['_clone'](!0x0);_0x1781a6['_appendChild'](_0x379b0b);}return _0x1781a6;}function G(_0x24a8f5,_0x2991b8=!0x0){const _0x139000=new wt();return _0x139000['rootName']=_0x24a8f5,_0x139000['_isAttached']=_0x2991b8,_0x139000['isAttached']=()=>_0x139000['_isAttached'],_0x139000;}function L(_0x4255ee,_0x5ae5cf,_0x1f2158){const _0x422c80='elementEnd'==_0x4255ee['type']?_0x1f2158['createPositionAt'](_0x4255ee['item'],'end'):_0x1f2158['createPositionBefore'](_0x4255ee['item']);return _0x1f2158['createPositionFromPath'](_0x5ae5cf,_0x422c80['path'],_0x422c80['stickiness']);}function W(_0x291d06,_0x22ad00,_0x9443ae){const _0x19dddb='elementStart'==_0x291d06['type']?_0x9443ae['createPositionAt'](_0x291d06['item'],0x0):_0x9443ae['createPositionAfter'](_0x291d06['item']);return _0x9443ae['createPositionFromPath'](_0x22ad00,_0x19dddb['path'],_0x19dddb['stickiness']);}class ns extends _0x1f237a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x434db5,_0x49a036){super(_0x434db5),this['focusTracker']=new _0x505ef2(),this['keystrokes']=new _0x52cfa0(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x49a036),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'](),_0x4f722c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xe490de=_0x5e0785=>_0x5e0785['stopPropagation']();this['keystrokes']['set']('arrowright',_0xe490de),this['keystrokes']['set']('arrowleft',_0xe490de),this['keystrokes']['set']('arrowup',_0xe490de),this['keystrokes']['set']('arrowdown',_0xe490de);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x74b7c6){this['revisionNameInputView']['fieldView']['element']['value']=_0x74b7c6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4b2c81){const _0x18fe36=new at(this['locale'],_0x46f58a),_0x5658d9=_0x18fe36['fieldView'];_0x5658d9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x298770=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4b2c81&&(_0x298770+='\x20('+y(this['locale'],'optional')+')'),(_0x18fe36['label']=_0x298770,_0x5658d9['on']('input',()=>{this['revisionNameInputValue']=_0x5658d9['element']['value']['trim']();}),_0x18fe36);}}class u extends _0xd653eb{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x164a70=this['editor'],_0x1ea0c0=_0x164a70['plugins']['get']('RevisionTracker');_0x164a70['ui']['componentFactory']['add']('revisionHistory',_0x271751=>{const _0x14c484=_0x202af6(_0x271751),_0x18a1be=_0x14c484['panelView']['children'],_0x2c5cd4=new te(_0x271751),_0x522165=new _0x411bab(_0x271751),_0x3bade8=new _0x411755(_0x271751),_0x1a3fd6=new _0x411bab(_0x271751),_0x31da85=new _0x411755(_0x271751);return _0x14c484['bind']('isEnabled')['to'](_0x1ea0c0,'isReady',_0x1ea0c0,'isEnabled',_0x164a70,'isReadOnly',(_0x1fb92b,_0x1712ce,_0x5d523a)=>_0x1fb92b&&_0x1712ce&&!_0x5d523a),_0x14c484['buttonView']['set']({'icon':_0x245a6e['history'],'label':y(_0x271751,'Revision\x20history'),'tooltip':!0x0}),_0x3bade8['set']({'label':y(_0x271751,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3bade8['bind']('isEnabled')['to'](_0x1ea0c0,'isReady',_0x1ea0c0,'isEnabled',_0x164a70,'isReadOnly',(_0x3631ae,_0x1ea1c0,_0x24f512)=>_0x3631ae&&_0x1ea1c0&&!_0x24f512),_0x3bade8['on']('execute',()=>this['_showDialog']()),_0x31da85['set']({'label':y(_0x271751,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x31da85['bind']('isEnabled')['to'](_0x1ea0c0,'isReady',_0x164a70,'isReadOnly',(_0x29bf3e,_0x25ce84)=>_0x29bf3e&&!_0x25ce84),_0x31da85['on']('execute',()=>{_0x164a70['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x14c484['isOpen']=!0x1,_0x164a70['editing']['view']['focus']();}),_0x522165['children']['add'](_0x3bade8),_0x1a3fd6['children']['add'](_0x31da85),_0x2c5cd4['role']='menu',_0x2c5cd4['items']['addMany']([_0x522165,_0x1a3fd6]),_0x18a1be['add'](_0x2c5cd4),_0x14c484;}),_0x164a70['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xe975f4=this['editor'],_0x592541=_0xe975f4['locale'],_0x5705d7=new _0x528496(_0x592541),_0x596247=new _0x858071(_0x592541);_0x5705d7['buttonView']['set']({'icon':_0x245a6e['history'],'label':y(_0x592541,'Revision\x20history')});const _0x116ad0=new _0x35f0fb(_0x592541,_0x5705d7),_0x49765e=new _0x2dfed1(_0x592541);_0x49765e['set']({'label':y(_0x592541,'Save\x20current\x20revision')}),_0x49765e['delegate']('execute')['to'](_0x5705d7),_0x49765e['on']('execute',()=>{this['_showDialog']();}),_0x116ad0['children']['add'](_0x49765e),_0x596247['items']['add'](_0x116ad0);const _0x1a4d9f=new _0x35f0fb(_0x592541,_0x5705d7),_0x16c61b=new _0x2dfed1(_0x592541);return _0x16c61b['set']({'label':y(_0x592541,'Open\x20revision\x20history')}),_0x16c61b['delegate']('execute')['to'](_0x5705d7),_0x16c61b['on']('execute',()=>{_0xe975f4['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1a4d9f['children']['add'](_0x16c61b),_0x596247['items']['add'](_0x1a4d9f),_0x5705d7['panelView']['children']['add'](_0x596247),_0x5705d7;}['_showDialog'](){const _0x294322=this['editor'],_0x174bfe=_0x294322['locale'],t=_0x174bfe['t'],_0x4d6b37=_0x294322['plugins']['get']('Dialog'),_0x546909=_0x294322['plugins']['get']('RevisionTracker');function _0x24e7b9(_0x1f03ab){_0x294322['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1f03ab['revisionName']?_0x1f03ab['revisionNameInputView']['errorText']=y(_0x174bfe,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x294322['plugins']['get'](l)['saveRevision']({'name':_0x1f03ab['revisionName']}),_0x4d6b37['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x24e7b9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4d6b37['show']({'id':'findAndReplace','title':y(_0x174bfe,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4d6b37['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xa28052){_0xa28052['bind']('isEnabled')['to'](_0x546909,'isReady',_0x546909,'isEnabled',_0x294322,'isReadOnly',(_0x319e1f,_0x5d0159,_0x21b1ad)=>_0x319e1f&&_0x5d0159&&!_0x21b1ad);},'onExecute':()=>_0x24e7b9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4cb31c=this['editor'],_0x5084c6=_0x4cb31c['locale'];this['_saveRevisionFormView']=new ns(_0x5084c6,_0x4cb31c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1f237a{['changeId'];['_model'];constructor(_0x546ed0,_0x55bf65){super(_0x546ed0),this['_model']=_0x55bf65,this['changeId']=_0x55bf65['id'];const _0x4e4a04=this['bindTemplate'],_0x181e82=y(_0x546ed0,_0x55bf65['data']['isSuggestion']?'Suggested\x20by':'add'==_0x55bf65['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x55bf65['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4e4a04['to']('type',_0x45f5d7=>'ck-revision-change__'+_0x45f5d7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x181e82}]},{'text':'\x20'+_0x55bf65['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x238233(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2b442d){super(),this['id']=_0x2b442d['id']||_0xe70ec5(),this['author']=_0x2b442d['author'],this['type']=_0x2b442d['type'],this['data']=_0x2b442d['data']||{},this['rootName']=_0x2b442d['rootName'],this['set']('createdAt',_0x2b442d['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(_0x1dbffe,_0x2dc9b0){this['newRevisionId']=_0x1dbffe,this['oldRevisionId']=_0x2dc9b0,this['changes']=new _0xf2fdb5();}['_setChanges'](_0x1ce89e){for(const _0x1112b5 of _0x1ce89e)this['changes']['add'](_0x1112b5);}}const tt={'c':_0x1323ee,'a':_0x257ac4,'e':_0x518c49,'r':_0x432655,'u':_0x536129};class d extends _0xd653eb{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x443655,_0x776010,A];}constructor(_0x29872d){super(_0x29872d),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',(_0x439511,_0x46bb28,_0x2d4b39)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x53b35e=>{for(const _0x5028a4 of this['editor']['editing']['view']['document']['roots'])_0x2d4b39?_0x53b35e['removeClass']('ck-editor__editable__overlay',_0x5028a4):_0x53b35e['addClass']('ck-editor__editable__overlay',_0x5028a4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x8cd1da=>null!==_0x8cd1da),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5aa9e6,_0x1b1d93,_0x4949e8)=>_0x5aa9e6&&_0x4949e8?_0x1b1d93['changes']['getIndex'](_0x4949e8):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x38d2e4,_0x1006ad)=>_0x38d2e4?_0x1006ad['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x776010);}['init'](){const _0x58720d=this['editor'],_0x48b9dc=new yt(_0x58720d,{'direction':'backward'}),_0x1dcac8=new yt(_0x58720d,{'direction':'forward'});(_0x58720d['commands']['add']('showPreviousChange',_0x48b9dc),_0x58720d['commands']['add']('showNextChange',_0x1dcac8),_0x58720d['commands']['add']('restoreRevision',new bt(_0x58720d)),this['on']('change:numberOfChanges',()=>{_0x48b9dc['refresh'](),_0x1dcac8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x58720d['enableReadOnlyMode']('revision-viewer'),_0x58720d['plugins']['has']('WidgetToolbarRepository'))&&_0x58720d['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4f181c){await this['loadRevisionData'](_0x4f181c);const _0x2de0de={};for(const _0x263c8a in _0x4f181c['diffData']){if(_0x4f181c['diffData'][_0x263c8a]['attachChange']&&!_0x4f181c['diffData'][_0x263c8a]['attachChange']['isAttached'])continue;const _0x1c29ed=this['_removeRevisionMarkers'](JSON['parse'](_0x4f181c['diffData'][_0x263c8a]['insertions'])),_0x4ac641=this['editor']['editing']['view']['document'],_0x39678c=new _0x2c496a(_0x4ac641,_0x1c29ed['map'](_0x1589d3=>this['_getViewObj'](_0x1589d3)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2de0de[_0x263c8a]=this['editor']['data']['processor']['toData'](_0x39678c),this['editor']['data']['processor']['useFillerType']('default');}return _0x2de0de;}async['getRevisionRootsAttributes'](_0x402c31){await this['loadRevisionData'](_0x402c31);const _0x238b3e={};for(const _0x57fa6e in _0x402c31['diffData'])_0x402c31['diffData'][_0x57fa6e]['attachChange']&&!_0x402c31['diffData'][_0x57fa6e]['attachChange']['isAttached']||(_0x238b3e[_0x57fa6e]=_0x402c31['diffData'][_0x57fa6e]['attributesAfter']||{});return _0x238b3e;}['_removeRevisionMarkers'](_0x43dfe2){return(_0x43dfe2=_0x43dfe2['filter'](_0x183184=>!_0x183184['name']||'revision-start'!==_0x183184['name']&&'revision-end'!==_0x183184['name']))['forEach'](_0x23b039=>{'string'!=typeof _0x23b039&&(_0x23b039['children']=this['_removeRevisionMarkers'](_0x23b039['children']),_0x23b039['attributes']=_0x23b039['attributes']['filter'](_0x577d5a=>!_0x577d5a[0x0]['startsWith']('data-revision-')));}),_0x43dfe2;}async['compare'](_0x1c06b2,_0x2275b9,_0x27ee86=!0x1){if(!this['isEnabled'])return;const _0x153d99=this['diff'],_0x2b126e=this['repository'],_0x18a00d='string'==typeof _0x1c06b2?_0x2b126e['getRevision'](_0x1c06b2):_0x1c06b2,_0x30423d='string'==typeof _0x2275b9?_0x2b126e['getRevision'](_0x2275b9):_0x2275b9,_0x3e8617=_0x18a00d['id'],_0x1879a9=_0x30423d?_0x30423d['id']:null;if(!_0x27ee86&&this['diff']&&this['diff']['newRevisionId']===_0x3e8617&&this['diff']['oldRevisionId']===_0x1879a9)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3e8617,_0x1879a9);const _0x1d87fa=this['_getRevisionsRange'](_0x18a00d,_0x30423d,!0x0)['map'](_0x162dd4=>this['loadRevisionData'](_0x162dd4));return _0x1d87fa['push'](new Promise(_0x4bb0fd=>{setTimeout(_0x4bb0fd,0x14);})),Promise['all'](_0x1d87fa)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1e8444=this['_getDiff'](_0x3e8617,_0x1879a9);for(const _0x47235f of _0x1e8444['changes'])this['_changeIdToChange']['set'](_0x47235f['id'],_0x47235f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x569f3=>{for(const _0x1bbd0b of this['editor']['model']['document']['getRootNames']())_0x569f3['detachRoot'](_0x1bbd0b);for(const _0x52190a of Object['keys'](_0x1e8444['model'])){const _0x1d8b12=_0x569f3['addRoot'](_0x52190a);for(const _0x84fd11 of Object['keys'](_0x1e8444['attributes'][_0x52190a]))_0x569f3['setAttribute'](_0x84fd11,_0x1e8444['attributes'][_0x52190a][_0x84fd11],_0x1d8b12);_0x569f3['insert'](_0x1e8444['model'][_0x52190a],_0x1d8b12,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1e8444['changes'])),this['isReady']=!0x0;})['catch'](_0x18b15b=>{console['error'](_0x18b15b),this['_cleanUp'](),_0x153d99&&(this['diff']=_0x153d99),this['isReady']=!0x0;});}['addRevisionData'](_0x31a443,_0x2e0eb1){const _0x234610=this['repository']['createRevision'](_0x31a443);return _0x234610['on']('_update',(_0x1d3556,_0x4e6d30,_0x2e020c)=>_0x2e0eb1(_0x4e6d30,_0x2e020c,_0x234610)),this['repository']['addRevision'](_0x234610),_0x234610;}['loadRevisionData'](_0x27de2c){if(!_0x27de2c||_0x27de2c['diffData'])return Promise['resolve']();{const _0x5014d2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5014d2,'revisionId':_0x27de2c['id']})['then'](_0x10af59=>{_0x27de2c['_update']({'diffData':_0x10af59['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},_0x55019e=>{for(const _0x2a60a0 of this['editor']['model']['document']['getRootNames']())_0x55019e['detachRoot'](_0x2a60a0);});}['_sortAndFilterDiffChanges'](_0x527ceb){const _0x2ac16f=[],_0x573d6c=new Map();for(const _0x4f70e4 of this['editor']['model']['document']['getRootNames']()){const _0x1c17be=this['editor']['editing']['view']['getDomRoot'](_0x4f70e4);if(!_0x1c17be)continue;const _0x51eaf7=_0x1c17be['getClientRects']()['item'](0x0);_0x51eaf7&&(_0x2ac16f['push'](_0x4f70e4),_0x573d6c['set'](_0x4f70e4,_0x51eaf7));}return _0x2ac16f['sort']((_0x154023,_0x746702)=>{const _0x1a309e=_0x573d6c['get'](_0x154023),_0x34e5aa=_0x573d6c['get'](_0x746702);return _0x1a309e['y']-_0x34e5aa['y']||_0x1a309e['x']-_0x34e5aa['x'];}),(_0x527ceb=_0x527ceb['filter'](_0x21f7b3=>_0x2ac16f['includes'](_0x21f7b3['rootName'])))['sort']((_0x42af2f,_0x308a24)=>_0x2ac16f['indexOf'](_0x42af2f['rootName'])-_0x2ac16f['indexOf'](_0x308a24['rootName'])),_0x527ceb;}['_makeTape'](_0x58ede8){const _0x1ffac2=Array['from'](_0x58ede8['markers'])['filter'](([_0x3c3e5a,_0x4f3956])=>_0x3c3e5a['startsWith']('revision:')&&!_0x4f3956['isCollapsed']),_0x37d181=Array['from'](this['editor']['model']['createRangeIn'](_0x58ede8)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1ffac2['length'])for(const _0x20e2f6 of _0x37d181){const [_0x204f51,_0x3b0797]=_0x1ffac2[0x0],[,_0x3fdc22,_0x5f456c]=_0x204f51['split'](':');if(_0x3b0797['end']['isEqual'](_0x20e2f6['nextPosition'])&&_0x1ffac2['shift'](),(_0x20e2f6['previousPosition']['isEqual'](_0x3b0797['start'])||_0x20e2f6['previousPosition']['isAfter'](_0x3b0797['start']))&&('insertion'==_0x3fdc22?_0x20e2f6['isAdded']={'userId':_0x5f456c}:'deletion'==_0x3fdc22&&(_0x20e2f6['isRemoved']={'userId':_0x5f456c})),0x0==_0x1ffac2['length'])break;}return _0x37d181;}['_refreshStartEndIndex'](_0x58ac40){const _0x22cc03=new Map();for(let _0x661e3b=0x0;_0x661e3b<_0x58ac40['length'];_0x661e3b++)'text'===_0x58ac40[_0x661e3b]['type']?(_0x58ac40[_0x661e3b]['item']['startIndex']=_0x661e3b,_0x58ac40[_0x661e3b]['item']['endIndex']=_0x661e3b):('elementStart'===_0x58ac40[_0x661e3b]['type']?_0x58ac40[_0x661e3b]['item']['startIndex']=_0x661e3b:'elementEnd'===_0x58ac40[_0x661e3b]['type']&&(_0x58ac40[_0x661e3b]['item']['endIndex']=_0x661e3b),_0x22cc03['set'](_0x58ac40[_0x661e3b]['id'],_0x661e3b));for(const _0x2a1a2d of _0x22cc03['values']())'elementStart'===_0x58ac40[_0x2a1a2d]['type']?_0x58ac40[_0x2a1a2d]['item']['endIndex']=_0x22cc03['get'](_0x58ac40[_0x2a1a2d]['pairId']):'elementEnd'===_0x58ac40[_0x2a1a2d]['type']&&(_0x58ac40[_0x2a1a2d]['item']['startIndex']=_0x22cc03['get'](_0x58ac40[_0x2a1a2d]['pairId']));}['_processTape'](_0x371672){for(let _0x10c931=0x0;_0x10c931<_0x371672['length'];_0x10c931++){if('elementStart'===_0x371672[_0x10c931]['type'])_0x371672[_0x10c931]['item']['startIndex']=_0x10c931;else{if('elementEnd'===_0x371672[_0x10c931]['type']){_0x371672[_0x10c931]['item']['endIndex']=_0x10c931;const _0xc8f0c=_0x371672[_0x10c931]['item']['startIndex'];_0x371672[_0xc8f0c]['pairId']=_0x371672[_0x10c931]['id'],_0x371672[_0x10c931]['pairId']=_0x371672[_0xc8f0c]['id'];}else _0x371672[_0x10c931]['item']['startIndex']=_0x10c931,_0x371672[_0x10c931]['item']['endIndex']=_0x10c931,_0x371672[_0x10c931]['pairId']=null;}_0x371672[_0x10c931]['markersStart']||(_0x371672[_0x10c931]['markersStart']=[],_0x371672[_0x10c931]['markersEnd']=[]);}}['_markInsertions'](_0x3e2ef7,_0x3d6c89){const _0x51431=_0x3e2ef7['filter'](_0x2c38be=>!_0x2c38be['isAdded']);for(let _0x5b42d7=0x0;_0x5b42d7<_0x3d6c89['length'];_0x5b42d7++)_0x3d6c89[_0x5b42d7]['isAdded']&&(_0x51431[_0x5b42d7]['isAdded']=_0x3d6c89[_0x5b42d7]['isAdded']);}['_makeModelFromViewString'](_0x14e55e){const _0xa2c30b=JSON['parse'](_0x14e55e),_0x4a51e2=this['editor']['editing']['view']['document'],_0x2a7b8d=new _0x2c496a(_0x4a51e2,_0xa2c30b['map'](_0x456f02=>this['_getViewObj'](_0x456f02)));return this['editor']['data']['toModel'](_0x2a7b8d);}['_getViewObj'](_0x1c5551){const _0x2b3360=this['editor']['editing']['view']['document'];if('string'==typeof _0x1c5551)return new _0x29d725(_0x2b3360,_0x1c5551);{const _0x4ec0a1=_0x1c5551['children']['map'](_0x3cb412=>this['_getViewObj'](_0x3cb412));return new(tt[_0x1c5551['type']]||_0x14df3c)(_0x2b3360,_0x1c5551['name'],_0x1c5551['attributes'],_0x4ec0a1);}}['_getDiff'](_0x2b7995,_0x4f8f12=null){const _0x2448d7=this['repository']['getRevision'](_0x2b7995),_0x3dafad=_0x4f8f12?this['repository']['getRevision'](_0x4f8f12):null,_0x3a2af3=this['_getRevisionsRange'](_0x2448d7,_0x3dafad),_0xf2d8f4=_0x3a2af3[_0x3a2af3['length']-0x1],_0x386645=new Map(),_0x5de544={'model':{},'attributes':{},'changes':[]},_0xa76121=new Set(),_0x284fef=new Map();for(let _0x1a54bc=_0x3a2af3['length']-0x1;_0x1a54bc>=0x0;_0x1a54bc--){const _0x153197=_0x3a2af3[_0x1a54bc];for(const _0x22934d of Object['keys'](_0x153197['diffData']))if(_0x153197['diffData'][_0x22934d]['attachChange']){const _0x347f21=_0x153197['diffData'][_0x22934d]['attachChange'];_0x347f21['isAttached']?(_0xa76121['add'](_0x22934d),_0x284fef['has'](_0x22934d)&&_0x284fef['get'](_0x22934d)['userId']==_0x347f21['userId']?_0x284fef['delete'](_0x22934d):_0x284fef['set'](_0x22934d,_0x347f21)):_0x284fef['has'](_0x22934d)?(_0xa76121['delete'](_0x22934d),_0x284fef['delete'](_0x22934d)):(_0xa76121['add'](_0x22934d),_0x284fef['set'](_0x22934d,_0x347f21));}else _0xa76121['add'](_0x22934d);}for(const _0x502f10 of _0xa76121){const _0x12dbe8=_0x284fef['has'](_0x502f10)&&!_0x284fef['get'](_0x502f10)['isAttached'];let _0x4d7205=_0x12dbe8?_0x3a2af3['length']-0x1:0x0;const _0x7b9bb9=_0x12dbe8?-0x1:0x1;for(;_0x3a2af3[_0x4d7205];){const _0x8170bf=_0x3a2af3[_0x4d7205];if(_0x8170bf['diffData'][_0x502f10]){const _0x1270f5=_0x12dbe8?_0x8170bf['diffData'][_0x502f10]['attributesBefore']:_0x8170bf['diffData'][_0x502f10]['attributesAfter'];_0x5de544['attributes'][_0x502f10]=_0x1270f5?_0x3760bd(_0x1270f5):{};break;}_0x4d7205+=_0x7b9bb9;}}for(const _0x356390 of _0x3a2af3){_0x356390['model']={};for(const _0x1a89ee of _0x356390['authors'])_0x386645['set'](_0x1a89ee['id'],_0x1a89ee);for(const _0x50bf56 of _0xa76121){const _0xb8f285=_0x356390['diffData'][_0x50bf56]?_0x356390['diffData'][_0x50bf56]['insertions']:'[]',_0x44b1de=_0x356390['diffData'][_0x50bf56]?_0x356390['diffData'][_0x50bf56]['deletions']:'[]';_0x356390['model'][_0x50bf56]={'insertions':this['_makeModelFromViewString'](_0xb8f285),'deletions':this['_makeModelFromViewString'](_0x44b1de)};}}for(const _0x441f92 of _0xa76121){let _0x25c496=null,_0x262526=0x0;const _0x2f739e=new Map(Array['from'](_0x2448d7['model'][_0x441f92]['insertions']['markers'])['filter'](([_0x5e9e17])=>!_0x5e9e17['startsWith']('revision:')));let _0x44d5fe=0x0;for(const _0x49f5cb of _0x3a2af3){const _0x551a48=this['_makeTape'](_0x49f5cb['model'][_0x441f92]['insertions']);_0x49f5cb==_0x2448d7?(_0x25c496=_0x551a48,_0x262526=_0x25c496['length'],_0x25c496['forEach'](_0x4aecf6=>{_0x4aecf6['id']=_0x44d5fe++;}),this['_processTape'](_0x25c496)):this['_markInsertions'](_0x25c496,_0x551a48);const _0x1ff3d8=_0x25c496['filter'](_0x2af3db=>!_0x2af3db['isAdded'])['map'](_0x17c6a8=>_0x17c6a8['id']);let _0xcc69bc=0x0;const _0x4e2bd2=this['_makeTape'](_0x49f5cb['model'][_0x441f92]['deletions']);_0x4e2bd2['forEach'](_0x52e3d2=>{_0x52e3d2['isRemoved']?_0x52e3d2['id']=_0x262526++:_0x52e3d2['id']=_0x1ff3d8[_0xcc69bc++];}),this['_processTape'](_0x4e2bd2),this['_setDistance'](_0x25c496,'isAdded'),this['_setDistance'](_0x4e2bd2,'isRemoved'),_0x49f5cb==_0x2448d7&&this['_markMarkers'](_0x25c496,_0x2f739e),_0x25c496=this['_joinTapes'](_0x25c496,_0x4e2bd2),this['_refreshStartEndIndex'](_0x25c496),this['_setDistance'](_0x25c496,'isRemoved');}_0x25c496=_0x25c496['filter'](_0x26cf83=>!(_0x26cf83['isAdded']&&_0x26cf83['isRemoved']));const _0x55434c=new Map(_0xf2d8f4['model'][_0x441f92]['deletions']['markers']),_0x2ae992=new Set(_0x2f739e['keys']());for(const _0x22edc0 of _0x55434c['keys']())_0x2ae992['delete'](_0x22edc0);this['_markSuggestions'](_0x25c496,_0x2ae992),this['_fixObsoleteTags'](_0x25c496),_0x25c496=this['_removeMissingPairs'](_0x25c496),_0x25c496=this['_markMismatchedRemovedTags'](_0x25c496),_0x25c496=this['_removeUnsupportedChanges'](_0x25c496);const {root:_0x39f110,changes:_0x13a8dc}=this['_makeModelFromTape'](_0x25c496,_0x386645,_0x441f92);_0x5de544['model'][_0x441f92]=_0x39f110;const _0x584b79=_0x284fef['get'](_0x441f92);if(_0x584b79){const _0x13301a=_0x386645['get'](_0x584b79['userId']),_0x4e7991=new r({'author':_0x13301a,'type':_0x584b79['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x441f92});_0x13a8dc['unshift'](_0x4e7991),_0x5de544['attributes'][_0x441f92]['revisionHistoryAttachChange']=_0x4e7991['id'];}_0x5de544['changes']=_0x5de544['changes']['concat'](_0x13a8dc);}return _0x5de544;}['_markMarkers'](_0x43370a,_0x3a21a8){for(let _0x558c4c=0x0;_0x558c4c<_0x43370a['length'];_0x558c4c++)for(const [_0x35b247,_0x6c1196]of _0x3a21a8)_0x6c1196['start']['isEqual'](_0x43370a[_0x558c4c]['previousPosition'])&&_0x43370a[_0x558c4c]['markersStart']['push'](_0x35b247),_0x6c1196['end']['isEqual'](_0x43370a[_0x558c4c]['nextPosition'])&&_0x43370a[_0x558c4c]['markersEnd']['push'](_0x35b247);}['_joinTapes'](_0x5e7ac7,_0x4d424d){let _0x4e9931=[],_0x4e3b5e=0x0,_0x321891=0x0;for(;_0x4e3b5e<_0x5e7ac7['length']||_0x321891<_0x4d424d['length'];){const _0x5ee536=_0x5e7ac7[_0x4e3b5e]||{},_0x2e115f=_0x4d424d[_0x321891]||{};if(_0x5ee536['id']==_0x2e115f['id'])_0x4e3b5e++,_0x321891++,_0x4e9931['push'](_0x5ee536);else{if(_0x2e115f['isRemoved']&&_0x5ee536['isAdded']){const {commonTape:_0x13ee2f,iEnd:_0x217bcf,jEnd:_0x316d11}=this['_threeWayMerge'](_0x5e7ac7,_0x4e3b5e,_0x4d424d,_0x321891);_0x4e9931=_0x4e9931['concat'](_0x13ee2f),_0x4e3b5e=_0x217bcf,_0x321891=_0x316d11;}else _0x2e115f['isRemoved']?(_0x321891++,_0x4e9931['push'](_0x2e115f)):(_0x4e3b5e++,_0x4e9931['push'](_0x5ee536));}}return _0x4e9931;}['_markSuggestions'](_0x7d7b46,_0x4b1203){const _0x3cfc30=[];for(let _0x4bc08d=0x0;_0x4bc08d<_0x7d7b46['length'];_0x4bc08d++){for(let _0x53a66f=0x0;_0x53a66f<_0x7d7b46[_0x4bc08d]['markersStart']['length'];_0x53a66f++){const _0x128c9f=_0x7d7b46[_0x4bc08d]['markersStart'][_0x53a66f];if(!_0x4b1203['has'](_0x128c9f))continue;const {group:_0xcae844,type:_0xa27c87,authorId:_0x3b715f}=_0x3755da(_0x128c9f);'revision-suggestion'!=_0xcae844||'insertion'!=_0xa27c87&&'deletion'!=_0xa27c87||(_0x3cfc30['unshift']({'type':_0xa27c87,'name':_0x128c9f,'userId':_0x3b715f}),_0x7d7b46[_0x4bc08d]['markersStart']['splice'](_0x53a66f,0x1),_0x53a66f--);}_0x42a44e(_0x7d7b46[_0x4bc08d]);for(let _0x480fb5=0x0;_0x480fb5<_0x7d7b46[_0x4bc08d]['markersEnd']['length'];_0x480fb5++){const _0x18041d=_0x7d7b46[_0x4bc08d]['markersEnd'][_0x480fb5];if(!_0x4b1203['has'](_0x18041d))continue;const {group:_0x2f62ea,type:_0x5b9cdb}=_0x3755da(_0x18041d);if('revision-suggestion'!=_0x2f62ea||'insertion'!=_0x5b9cdb&&'deletion'!=_0x5b9cdb)continue;_0x7d7b46[_0x4bc08d]['markersEnd']['splice'](_0x480fb5,0x1),_0x480fb5--;const _0x570655=_0x3cfc30['findIndex'](_0x53cdb0=>_0x53cdb0['name']==_0x18041d);_0x570655>-0x1&&_0x3cfc30['splice'](_0x570655,0x1);}}function _0x3755da(_0x1fd027){const _0x5d277a=_0x1fd027['split'](':');return{'group':_0x5d277a[0x0],'type':_0x5d277a[0x1],'subType':_0x5d277a['length']>=0x5?_0x5d277a[0x2]:null,'id':_0x5d277a['length']<0x5?_0x5d277a[0x2]:_0x5d277a[0x3],'authorId':_0x5d277a['length']<0x5?_0x5d277a[0x3]:_0x5d277a[0x4],'markerCount':0x6==_0x5d277a['length']?_0x5d277a[0x5]:null};}function _0x42a44e(_0x76dc30){for(let _0x1b5a80=0x0;_0x1b5a80<_0x3cfc30['length'];_0x1b5a80++){if(_0x76dc30['isAdded']&&'insertion'==_0x3cfc30[_0x1b5a80]['type'])return _0x76dc30['isAddSuggestion']=_0x3cfc30[_0x1b5a80],void delete _0x76dc30['isAdded'];if(!_0x76dc30['isAdded']&&!_0x76dc30['isRemoved']&&'deletion'==_0x3cfc30[_0x1b5a80]['type'])return void(_0x76dc30['isRemoveSuggestion']=_0x3cfc30[_0x1b5a80]);}}}['_setDistance'](_0x5a981f,_0x51ad79){let _0x2e7bf2=0x0,_0x55e6e6=!0x1;const _0x61b053=new Map();for(const _0x47504a of _0x5a981f)_0x47504a[_0x51ad79]?_0x55e6e6&&(_0x2e7bf2++,_0x55e6e6=!0x1):(_0x2e7bf2++,_0x55e6e6=!0x0),_0x61b053['set'](_0x47504a['id'],_0x2e7bf2);for(let _0x2ebfe9=0x0;_0x2ebfe9<_0x5a981f['length'];_0x2ebfe9++){if('isRemoved'==_0x51ad79&&_0x5a981f[_0x2ebfe9]['isAdded']||'isAdded'==_0x51ad79&&_0x5a981f[_0x2ebfe9]['isRemoved'])continue;if('text'==_0x5a981f[_0x2ebfe9]['type']){_0x5a981f[_0x2ebfe9]['distance']=0x0;continue;}const _0x564f29=_0x61b053['get'](_0x5a981f[_0x2ebfe9]['pairId']),_0x5b273e=_0x61b053['get'](_0x5a981f[_0x2ebfe9]['id']);_0x5a981f[_0x2ebfe9]['distance']=_0x564f29-_0x5b273e;}}['_getRevisionsRange'](_0x5bc654,_0x4b0e36,_0xbcb88d=!0x1){const _0x298df4=[];let _0x401e25=this['repository']['getIndex'](_0x5bc654),_0x43a347=this['repository']['getIndex'](_0x4b0e36);for(-0x1==_0x43a347&&(_0x43a347=this['repository']['_revisions']['length'],_0xbcb88d=!0x1);_0x401e25<_0x43a347;)_0x298df4['push'](this['repository']['getRevision'](_0x401e25)),_0x401e25++;return _0xbcb88d&&_0x298df4['push'](this['repository']['getRevision'](_0x401e25)),_0x298df4;}['_threeWayMerge'](_0x449a5c,_0x5a05e3,_0x13d2c2,_0x24277b){const _0x5c2e91=this['editor']['model']['schema'];let _0x3d1bef=_0x5a05e3;for(;_0x449a5c[_0x3d1bef]&&_0x449a5c[_0x3d1bef]['isAdded'];)_0x3d1bef++;let _0x53615d=_0x24277b;for(;_0x13d2c2[_0x53615d]&&_0x13d2c2[_0x53615d]['isRemoved'];)_0x53615d++;_0x6818bb(_0x449a5c,_0x5a05e3,_0x3d1bef),_0x6818bb(_0x13d2c2,_0x24277b,_0x53615d);const _0x8fd798=_0x13d2c2['slice'](_0x24277b,_0x53615d)['concat'](_0x449a5c['slice'](_0x5a05e3,_0x3d1bef));return _0x8fd798['sort']((_0x27234e,_0x2d4091)=>_0x27234e['side']!=_0x2d4091['side']?_0x27234e['side']-_0x2d4091['side']:_0x27234e['level']!=_0x2d4091['level']?_0x27234e['level']-_0x2d4091['level']:_0x27234e['distance']!=_0x2d4091['distance']?_0x2d4091['distance']-_0x27234e['distance']:!!_0x27234e['isAdded']!=!!_0x2d4091['isAdded']?-0x1==_0x27234e['side']||0x0==_0x27234e['side']?_0x27234e['isAdded']?-0x1:0x1:_0x27234e['isAdded']?0x1:-0x1:_0x27234e['index']-_0x2d4091['index']),{'commonTape':_0x8fd798,'iEnd':_0x3d1bef,'jEnd':_0x53615d};function _0x6818bb(_0x26f999,_0x5e535d,_0x39b197){let _0x151ba6=-0x1,_0x2508f7=Number['POSITIVE_INFINITY'],_0xb45c0=!0x0;for(let _0x16aea5=_0x5e535d;_0x16aea5<_0x39b197;_0x16aea5++)if(_0x5c2e91['isInline'](_0x26f999[_0x16aea5]['item'])||(_0xb45c0=!0x1),_0x26f999[_0x16aea5]['item']['startIndex']<_0x5e535d&&(_0x151ba6=_0x16aea5),_0x26f999[_0x16aea5]['item']['endIndex']>=_0x39b197){_0x2508f7=_0x16aea5;break;}_0xb45c0&&(_0x151ba6=_0x39b197-0x1);for(let _0x3f2de2=_0x5e535d;_0x3f2de2<_0x39b197;_0x3f2de2++)_0x26f999[_0x3f2de2]['side']=_0x3f2de2<=_0x151ba6?-0x1:_0x3f2de2<_0x2508f7?0x0:0x1,_0x26f999[_0x3f2de2]['index']=_0x3f2de2;let _0x4ccc90=0x0;for(let _0xeb128e=_0x5e535d;_0xeb128e<=_0x151ba6;_0xeb128e++)0x0==_0x26f999[_0xeb128e]['distance']?_0x26f999[_0xeb128e]['level']=_0x4ccc90:(_0x4ccc90++,_0x26f999[_0xeb128e]['level']=_0x4ccc90,_0x4ccc90++);for(let _0x59abde=_0x5e535d;_0x59abde<_0x39b197;_0x59abde++)0x0==_0x26f999[_0x59abde]['side']&&(_0x26f999[_0x59abde]['level']=_0x4ccc90);_0x4ccc90=0x0;for(let _0x29dd6b=_0x39b197-0x1;_0x29dd6b>=_0x2508f7;_0x29dd6b--)0x0==_0x26f999[_0x29dd6b]['distance']?_0x26f999[_0x29dd6b]['level']=_0x4ccc90:(_0x4ccc90--,_0x26f999[_0x29dd6b]['level']=_0x4ccc90,_0x4ccc90--);}}['_fixObsoleteTags'](_0x4ace98){const _0x361891=new Map(),_0x5cd00e=this['editor']['model']['schema'];for(let _0x33592f=0x1;_0x33592f<_0x4ace98['length'];_0x33592f++){let _0x518693,_0x2af07f,_0x66c12d;const _0x2bfadd=_0x4ace98[_0x33592f],_0x44a5c7=_0x4ace98[_0x33592f-0x1];if('text'==_0x2bfadd['type'])continue;if(_0x2bfadd['type']!=_0x44a5c7['type'])continue;if(!_0x5cd00e['isBlock'](_0x44a5c7['item'])||_0x5cd00e['isLimit'](_0x44a5c7['item']))continue;if(!_0x5cd00e['isBlock'](_0x2bfadd['item'])||_0x5cd00e['isLimit'](_0x2bfadd['item']))continue;if((_0x4ace98[_0x33592f]['isAdded']||_0x4ace98[_0x33592f]['isAddSuggestion'])&&_0x4ace98[_0x33592f-0x1]['isRemoved'])_0x518693=_0x4ace98[_0x33592f],_0x2af07f=_0x4ace98[_0x33592f-0x1],_0x66c12d=_0x33592f-0x1;else{if(!_0x4ace98[_0x33592f]['isRemoved']||!_0x4ace98[_0x33592f-0x1]['isAdded']&&!_0x4ace98[_0x33592f-0x1]['isAddSuggestion'])continue;_0x518693=_0x4ace98[_0x33592f-0x1],_0x2af07f=_0x4ace98[_0x33592f],_0x66c12d=_0x33592f;}const _0x2f05c2=_0x518693['level']==_0x2af07f['level'],_0x1db2af=Math['abs'](_0x518693['level'])<Math['abs'](_0x2af07f['level'])&&0x0==_0x2af07f['distance'];(_0x2f05c2||_0x1db2af)&&(_0x361891['set'](_0x2af07f['id'],_0x518693['id']),_0x4ace98['splice'](_0x66c12d,0x1),_0x33592f--,_0x518693['isAdded']=!0x1);}for(let _0x599055=0x0;_0x599055<_0x4ace98['length'];_0x599055++)_0x361891['has'](_0x4ace98[_0x599055]['pairId'])&&(_0x4ace98[_0x599055]['pairId']=_0x361891['get'](_0x4ace98[_0x599055]['pairId']));}['_removeMissingPairs'](_0x1bd3dd){const _0x32cfeb=new Set(_0x1bd3dd['map'](_0x37a0ad=>_0x37a0ad['id']));for(let _0x42da85=0x0;_0x42da85<_0x1bd3dd['length'];_0x42da85++)_0x32cfeb['has'](_0x1bd3dd[_0x42da85]['pairId'])||0x0==_0x1bd3dd[_0x42da85]['distance']||(_0x1bd3dd[_0x42da85]['isIncorrect']=!0x0);return _0x1bd3dd['filter'](_0x54a379=>!_0x54a379['isIncorrect']);}['_markMismatchedRemovedTags'](_0x38d781){const _0x5630e0=new Set();for(let _0x225ba1=0x0;_0x225ba1<_0x38d781['length'];_0x225ba1++){if(_0x5630e0['has'](_0x38d781[_0x225ba1]['id'])&&_0x38d781[_0x225ba1]['isRemoved']&&(_0x38d781[_0x225ba1]['isIncorrect']=!0x0),_0x38d781[_0x225ba1]['isIncorrect'])continue;if(0x0==_0x38d781[_0x225ba1]['distance'])continue;if('elementStart'!=_0x38d781[_0x225ba1]['type'])continue;if(null==_0x38d781[_0x225ba1]['pairId'])continue;let _0x2a8662=_0x225ba1+0x1,_0x2b1857=0x0;for(;_0x38d781[_0x2a8662]['id']!=_0x38d781[_0x225ba1]['pairId'];)'elementStart'==_0x38d781[_0x2a8662]['type']?_0x2b1857++:'elementEnd'==_0x38d781[_0x2a8662]['type']&&_0x2b1857--,_0x2a8662++;if(0x0!=_0x2b1857){if(_0x38d781[_0x225ba1]['isRemoved'])_0x38d781[_0x225ba1]['isIncorrect']=!0x0;else{for(;_0x2a8662!=_0x225ba1;)_0x38d781[_0x2a8662]['isRemoved']&&0x0!=_0x38d781[_0x2a8662]['distance']&&(_0x38d781[_0x2a8662]['isIncorrect']=!0x0,_0x5630e0['add'](_0x38d781[_0x2a8662]['pairId'])),_0x2a8662--;}}}return _0x38d781['filter'](_0x5ccf6f=>!_0x5ccf6f['isIncorrect']);}['_removeUnsupportedChanges'](_0x10b481){const _0x5d1903=this['editor']['model']['schema'];for(let _0x4ec78a=0x0;_0x4ec78a<_0x10b481['length'];_0x4ec78a++){if(!(_0x10b481[_0x4ec78a]['isAdded']||_0x10b481[_0x4ec78a]['isAddSuggestion']||_0x10b481[_0x4ec78a]['isRemoved']||_0x10b481[_0x4ec78a]['isRemoveSuggestion']))continue;if(0x0==_0x10b481[_0x4ec78a]['distance'])continue;const _0x30903d=_0x10b481[_0x4ec78a]['item'];_0x5d1903['isBlock'](_0x30903d)||_0x5d1903['isLimit'](_0x30903d)||(_0x10b481[_0x4ec78a]['isAdded']&&delete _0x10b481[_0x4ec78a]['isAdded'],_0x10b481[_0x4ec78a]['isAddSuggestion']&&delete _0x10b481[_0x4ec78a]['isAddSuggestion'],_0x10b481[_0x4ec78a]['isRemoveSuggestion']&&delete _0x10b481[_0x4ec78a]['isRemoveSuggestion'],_0x10b481[_0x4ec78a]['isRemoved']&&(_0x10b481[_0x4ec78a]['isIncorrect']=!0x0));}return _0x10b481['filter'](_0x50941a=>!_0x50941a['isIncorrect']);}['_makeModelFromTape'](_0x2f87cd,_0x45f8a9,_0x2a749a){const _0x2d8290=new wt(),_0x4d4e4a=[],_0x48046e=new Map(),_0x1b12e4=this['editor']['model'],_0x36d163=_0x1b12e4['schema'],_0x452150=[_0x2d8290],_0xa7c224={},_0xbbaa3f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x226d69=null;const _0x386c3b=[0x0];for(let _0x2ec5c2=0x0;_0x2ec5c2<_0x2f87cd['length'];_0x2ec5c2++){let _0x2cb57a,_0xd9a198;if('elementStart'===_0x2f87cd[_0x2ec5c2]['type']){_0x2cb57a=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b);const _0x2d400c=new ft(_0x2f87cd[_0x2ec5c2]['item']['name'],_0x2f87cd[_0x2ec5c2]['item']['getAttributes']());_0x452150[0x0]['_appendChild'](_0x2d400c),_0x386c3b['push'](0x0),_0x452150['unshift'](_0x2d400c),_0xd9a198=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x226d69=null;}else{if('elementEnd'===_0x2f87cd[_0x2ec5c2]['type'])_0x452150['shift'](),_0x2cb57a=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x386c3b['pop'](),_0x386c3b[_0x386c3b['length']-0x1]++,_0xd9a198=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x226d69=null;else{if(_0x2cb57a=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x226d69&&_0x32abcd(_0x226d69,_0x2f87cd[_0x2ec5c2]['item']))_0x226d69['_data']+=_0x2f87cd[_0x2ec5c2]['item']['data'];else{const _0x86364a=new _t(_0x2f87cd[_0x2ec5c2]['item']['data'],_0x2f87cd[_0x2ec5c2]['item']['getAttributes']());_0x452150[0x0]['_appendChild'](_0x86364a),_0x226d69=_0x86364a;}_0x386c3b[_0x386c3b['length']-0x1]+=_0x2f87cd[_0x2ec5c2]['item']['offsetSize'],_0xd9a198=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b);}}for(const _0x317aed of _0x2f87cd[_0x2ec5c2]['markersStart'])_0x48046e['set'](_0x317aed,{'start':_0x2cb57a,'end':null});_0x122130('isRemoveSuggestion',_0x2ec5c2,_0x2cb57a,_0xd9a198),_0x122130('isAddSuggestion',_0x2ec5c2,_0x2cb57a,_0xd9a198),_0x122130('isRemoved',_0x2ec5c2,_0x2cb57a,_0xd9a198),_0x122130('isAdded',_0x2ec5c2,_0x2cb57a,_0xd9a198);for(const _0x378633 of _0x2f87cd[_0x2ec5c2]['markersEnd']){_0x48046e['get'](_0x378633)['end']=_0xd9a198;}}for(const [_0x4412b1,_0x1f19de]of _0x48046e){const _0x51b98a=this['editor']['model']['createRange'](_0x1f19de['start'],_0x1f19de['end']);_0x2d8290['markers']['set'](_0x4412b1,_0x51b98a);}return _0x4d4e4a['sort']((_0x876e65,_0x2003f8)=>{const _0x5e880f=_0x2d8290['markers']['get']('revision:'+_0x876e65['id']),_0x105b10=_0x2d8290['markers']['get']('revision:'+_0x2003f8['id']);return _0x5e880f['start']['isBefore'](_0x105b10['start'])?-0x1:_0x5e880f['start']['isAfter'](_0x105b10['start'])?0x1:_0x5e880f['end']['isBefore'](_0x105b10['end'])?-0x1:_0x5e880f['end']['isAfter'](_0x105b10['end'])?0x1:'add'===_0x876e65['type']?-0x1:0x1;}),{'root':_0x2d8290,'changes':_0x4d4e4a};function _0x122130(_0x2692de,_0x25dd5f,_0x2f9a8a,_0x2cbad4){const _0x2d77d5=!!_0x2f87cd[_0x25dd5f][_0x2692de],_0x52ab71=_0x2d77d5?_0x2f87cd[_0x25dd5f][_0x2692de]['userId']:null,_0x3ef5eb=_0x25dd5f===_0x2f87cd['length']-0x1,_0x3ca681=_0xbbaa3f[_0x2692de][0x0],_0x438d9f=_0x36d163['isObject'](_0x2f87cd[_0x25dd5f]['item']);!_0xa7c224[_0x2692de]&&_0x2d77d5?_0xa7c224[_0x2692de]={'start':_0x2f9a8a,'tapeItem':_0x2f87cd[_0x25dd5f],'userId':_0x52ab71,'type':_0x2692de}:_0xa7c224[_0x2692de]&&!_0x2d77d5?(_0xa7c224[_0x2692de]['end']=_0x2f9a8a,_0x557fc3(_0xa7c224[_0x2692de]),_0xa7c224[_0x2692de]=null):_0xa7c224[_0x2692de]&&_0x2d77d5&&_0xa7c224[_0x2692de]['userId']!==_0x52ab71&&(_0xa7c224[_0x2692de]['end']=_0x2f9a8a,_0x3ca681&&_0x3ca681['userId']===_0xa7c224[_0x2692de]['userId']||_0x557fc3(_0xa7c224[_0x2692de]),_0xa7c224[_0x2692de]={'start':_0x2f9a8a,'tapeItem':_0x2f87cd[_0x25dd5f],'userId':_0x52ab71,'type':_0x2692de}),_0xa7c224[_0x2692de]&&_0x438d9f&&('elementStart'!==_0x2f87cd[_0x25dd5f]['type']||_0x3ca681&&_0x3ca681['userId']===_0x52ab71||_0xbbaa3f[_0x2692de]['unshift']({'userId':_0x52ab71,'object':_0x2f87cd[_0x25dd5f]['item'],'change':_0xa7c224[_0x2692de]}),'elementEnd'===_0x2f87cd[_0x25dd5f]['type']&&_0x3ca681&&_0x3ca681['object']===_0x2f87cd[_0x25dd5f]['item']&&(_0xbbaa3f[_0x2692de]['shift'](),_0xa7c224[_0x2692de]=_0x3ca681['change'])),_0xa7c224[_0x2692de]&&_0x3ef5eb&&(_0xa7c224[_0x2692de]['end']=_0x2cbad4,_0x557fc3(_0xa7c224[_0x2692de]),_0xa7c224[_0x2692de]=null);}function _0x557fc3({start:_0x503a3c,end:_0x3aae02,tapeItem:_0x5602ab,userId:_0x1c8d0e,type:_0x4a2469}){const _0x3899dc=_0x5602ab['item'],_0x1c72bf=_0x1b12e4['schema']['isBlock'](_0x3899dc)&&!_0x1b12e4['schema']['isLimit'](_0x3899dc),_0x4bbaee=_0x503a3c['nodeAfter']==_0x3aae02['parent']&&_0x3aae02['isAtStart'];if(_0x1c72bf&&_0x4bbaee)return;const _0x545c9e=_0x1b12e4['createRange'](_0x503a3c,_0x3aae02),_0xb833a0=_0x45f8a9['get'](_0x1c8d0e),_0x28f5a2=new r({'author':_0xb833a0,'type':'isAdded'==_0x4a2469||'isAddSuggestion'==_0x4a2469?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4a2469||'isRemoveSuggestion'==_0x4a2469},'createdAt':new Date(),'rootName':_0x2a749a});_0x4d4e4a['push'](_0x28f5a2),_0x2d8290['markers']['set']('revision:'+_0x28f5a2['id'],_0x545c9e);}function _0x32abcd(_0x2144cc,_0x26548f){const _0x2a5673=_0x2144cc['getAttributes'](),_0x548850=_0x26548f['getAttributes']();for(const _0x34b5d2 of _0x2a5673){if(_0x34b5d2[0x1]!==_0x26548f['getAttribute'](_0x34b5d2[0x0]))return!0x1;_0x548850['next']();}return _0x548850['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x55a7ab=>{const _0x668da5=_0x55a7ab['markerName']['split'](':')[0x1],_0x5f50b6=this['_getChangeFromId'](_0x668da5);if(!_0x5f50b6)return null;const _0x49ecb7='add'==_0x5f50b6['type']?'insertion':'deletion',_0x141a92=['ck-suggestion-marker','ck-suggestion-marker-'+_0x49ecb7];return _0x5f50b6['data']['isSuggestion']&&_0x141a92['push']('ck-suggestion-marker-'+_0x49ecb7+'-new'),this['activeChange']==_0x5f50b6&&_0x141a92['push']('ck-suggestion-marker--active'),{'classes':_0x141a92,'attributes':{'data-change-id':_0x668da5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x190d8c=>{_0x190d8c['on']('element:pre',(_0x58b72c,_0x408214,_0x58bcc3)=>{const _0x2ab220=_0x408214['viewItem']['getChild'](0x0);if(!_0x2ab220||!_0x2ab220['is']('element','code'))return;if(!_0x58bcc3['consumable']['consume'](_0x2ab220,{'attributes':['vid_start','vid_end']}))return;const _0x578128=_0x408214['modelRange']['start']['nodeAfter'];_0x58bcc3['writer']['setAttribute']('vid_start',_0x2ab220['getAttribute']('vid_start'),_0x578128),_0x58bcc3['writer']['setAttribute']('vid_end',_0x2ab220['getAttribute']('vid_end'),_0x578128);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1a66d1=>{_0x1a66d1['on']('element',(_0x4590fc,_0x24fa3a,_0x3b2697)=>{if(!_0x3b2697['consumable']['consume'](_0x24fa3a['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x24fa3a['modelRange']['isCollapsed'])return;const _0x352b24=_0x24fa3a['modelRange']['start']['nodeAfter'];_0x352b24['hasAttribute']('vid_start')||_0x352b24['hasAttribute']('vid')||(_0x3b2697['writer']['setAttribute']('vid_start',_0x24fa3a['viewItem']['getAttribute']('vid_start'),_0x352b24),_0x3b2697['writer']['setAttribute']('vid_end',_0x24fa3a['viewItem']['getAttribute']('vid_end'),_0x352b24));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x405a56=>_0x405a56['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x46bf27,[,_0x60274])=>{['vid_start','vid_end','vid']['includes'](_0x60274)&&(_0x46bf27['return']=!0x0,_0x46bf27['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4a691f=>{_0x4a691f['on']('attribute:vid',(_0x12666c,_0x32e7cb,_0x435b54)=>{if('\x20'!=_0x32e7cb['item']['data']||_0x32e7cb['item']['parent']['maxOffset']>0x1)return;if(!_0x435b54['consumable']['consume'](_0x32e7cb['item'],_0x12666c['name']))return;const _0x42774a=_0x435b54['writer'],_0x1be137=_0x435b54['mapper']['toViewRange'](_0x32e7cb['range']);_0x42774a['wrap'](_0x1be137,_0x42774a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x809c6f){const _0x28ee9e=_0x809c6f['plugins']['get']('RevisionViewer');return(_0x5bd0d1,_0x597b6c,_0x18b56e)=>{const _0x434991=_0x597b6c['markerName']['split'](':')[0x1],_0x2b99bc=_0x28ee9e['_getChangeFromId'](_0x434991);if(!_0x2b99bc)return null;const _0x109ae4='add'==_0x2b99bc['type']?'split':'merge';if(!_0x18b56e['consumable']['test'](_0x597b6c['markerRange'],_0x5bd0d1['name']))return;const _0x1616ea=_0x597b6c['markerRange']['getWalker'](),_0x4e6734=_0x597b6c['markerRange']['start'],_0x21f313=_0x809c6f['model']['schema'];let _0xf84ed9=null,_0x313895=null,_0x56e34e=!0x1,_0xc3dc68=!0x1;for(const _0x174b1d of _0x1616ea){const _0x1a9eec=_0x174b1d['item'];_0x56e34e=_0x56e34e||_0x21f313['isContent'](_0x1a9eec);const _0x4aa50=_0x18b56e['mapper']['toViewElement'](_0x1a9eec);if(_0x4aa50&&_0x4aa50['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x174b1d['type']&&(_0x21f313['isBlock'](_0x1a9eec)&&!_0x21f313['isLimit'](_0x1a9eec)&&(_0x1a9eec['nextSibling']||_0x4e6734['isAtEnd']?_0xf84ed9&&_0xf84ed9['parent']==_0x1a9eec||(_0xf84ed9=_0x1a9eec,_0x4bcb0a(_0x174b1d['previousPosition']),_0xc3dc68=!0x0):_0x313895=_0x313895||_0x174b1d['previousPosition']));}function _0x4bcb0a(_0xaa882e){const _0x533195=_0x18b56e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x109ae4}),_0x48d119=_0x18b56e['mapper']['toViewPosition'](_0xaa882e);_0x2b99bc['data']['isSuggestion']&&_0x18b56e['writer']['addClass']('ck-suggestion-marker-'+_0x109ae4+'-new',_0x533195),_0x28ee9e['activeChange']==_0x2b99bc&&_0x18b56e['writer']['addClass']('ck-suggestion-marker--active',_0x533195),_0x18b56e['writer']['insert'](_0x48d119,_0x533195),_0x18b56e['mapper']['bindElementToMarker'](_0x533195,_0x597b6c['markerName']);}_0x56e34e||_0xc3dc68||!_0x313895||_0x4bcb0a(_0x313895);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x584c34,_0x3d7b7b,_0x468386)=>{const _0x5665c7=_0x468386['mapper']['markerNameToElements'](_0x3d7b7b['markerName']);if(_0x5665c7){for(const _0x2a2f8d of _0x5665c7)(_0x2a2f8d['hasClass']('ck-suggestion-marker-split')||_0x2a2f8d['hasClass']('ck-suggestion-marker-merge'))&&(_0x468386['mapper']['unbindElementFromMarkerName'](_0x2a2f8d,_0x3d7b7b['markerName']),_0x468386['writer']['remove'](_0x2a2f8d));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5e599c,_0x28ea3a,_0x2f4d40)=>{const _0x2b5312=_0x28ea3a['markerName']['split'](':')[0x1],_0x2ca6d0=this['_getChangeFromId'](_0x2b5312);if(!_0x2ca6d0)return null;const _0x358309='add'==_0x2ca6d0['type']?'split':'merge';if(_0x2f4d40['consumable']['test'](_0x28ea3a['markerRange'],_0x5e599c['name']))for(const _0x457b61 of _0x28ea3a['markerRange']['getItems']()){if(!_0x457b61['is']('element','softBreak'))continue;const _0x249f01=_0x2f4d40['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x358309}),_0x3fdeb8=_0x2f4d40['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x457b61));_0x2ca6d0['data']['isSuggestion']&&_0x2f4d40['writer']['addClass']('ck-suggestion-marker-'+_0x358309+'-new',_0x249f01),this['activeChange']==_0x2ca6d0&&_0x2f4d40['writer']['addClass']('ck-suggestion-marker--active',_0x249f01),_0x2f4d40['writer']['insert'](_0x3fdeb8,_0x249f01),_0x2f4d40['mapper']['bindElementToMarker'](_0x249f01,_0x28ea3a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5d154e=>{for(const _0x5d723a of this['editor']['model']['document']['getRootNames']()){const _0x106750=this['editor']['model']['document']['getRoot'](_0x5d723a),_0xa41e88=this['editor']['editing']['view']['document']['getRoot'](_0x5d723a);if(_0xa41e88){const _0x2dafca=_0x106750['getAttribute']('revisionHistoryAttachChange');if(_0x5d154e['removeAttribute']('data-change-id',_0xa41e88),_0x5d154e['removeClass']('ck-revision-history-root-add',_0xa41e88),_0x5d154e['removeClass']('ck-revision-history-root-remove',_0xa41e88),_0x5d154e['removeClass']('ck-revision-history-root--active',_0xa41e88),_0x2dafca){const _0x220951=this['_getChangeFromId'](_0x2dafca);if(!_0x220951)return null;_0x5d154e['setAttribute']('data-change-id',_0x2dafca,_0xa41e88),_0x5d154e['addClass']('ck-revision-history-root-'+_0x220951['type'],_0xa41e88),this['activeChange']==_0x220951&&_0x5d154e['addClass']('ck-revision-history-root--active',_0xa41e88);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x47f2ea=>'revision-comment:'+_0x47f2ea,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1a13d8=>'revision-suggestion:'+_0x1a13d8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x13b406=>({'name':'suggestion:'+_0x13b406,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4192c1=>{const _0x58e3d8=_0x4192c1['markerName']['split'](':')[0x1];return'insertion'!=_0x58e3d8&&'deletion'!=_0x58e3d8?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x58e3d8]};}}),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',(_0x3bdc80,_0x410c41,_0x984127)=>{const _0x54b66a=_0x984127['mapper']['markerNameToElements'](_0x410c41['markerName']);if(_0x54b66a){for(const _0x7d1f08 of _0x54b66a)_0x7d1f08['is']('uiElement')&&(_0x984127['mapper']['unbindElementFromMarkerName'](_0x7d1f08,_0x410c41['markerName']),_0x984127['writer']['remove'](_0x7d1f08));}},{'priority':'high'});}['_getChangeFromId'](_0x5bc3c){return this['_changeIdToChange']['get'](_0x5bc3c);}['_getViewForChange'](_0x1e814f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1e814f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x51911f,_0x2f8700,_0x4cb8c2,_0x11d56d)=>{_0x11d56d&&this['_balloon']['remove'](_0x11d56d),_0x4cb8c2&&(this['_balloon']['add']({'view':_0x4cb8c2,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x49817d=this['editor']['editing'],_0x352ec2=this['_getChangeFromId'](_0x4cb8c2['changeId']);let _0x149700;if(_0x352ec2['data']['isOnRoot']){const _0xe2bb1=_0x49817d['view']['getDomRoot'](_0x352ec2['rootName']);_0x149700=Array['from'](_0xe2bb1['getClientRects']());}else{const _0x4d31ef=this['editor']['model']['markers']['get']('revision:'+_0x4cb8c2['changeId']);_0x149700=Array['from'](_0x49817d['mapper']['markerNameToElements'](_0x4d31ef['name']))['map'](_0x46f210=>_0x49817d['view']['domConverter']['mapViewToDom'](_0x46f210))['map'](_0x46071c=>Array['from'](_0x46071c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x149700[0x0];return _0x149700['find'](_0xcd6d30=>_0xcd6d30['top']-0x3<=this['_activeViewTarget']['y']&&_0xcd6d30['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xcd6d30['left']-0x3<=this['_activeViewTarget']['x']&&_0xcd6d30['right']+0x3>=this['_activeViewTarget']['x'])||_0x149700[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4f1736,_0xb9606d,_0x2d3c7f,_0x4be09a)=>{this['activeView']=_0x2d3c7f?this['_getViewForChange'](_0x2d3c7f):null,this['editor']['model']['change'](()=>{const _0x4d87cf=this['editor']['editing'];_0x4be09a&&(_0x4be09a['data']['isOnRoot']?_0x4d87cf['view']['change'](_0x36e3fe=>{_0x36e3fe['removeClass']('ck-revision-history-root--active',_0x4d87cf['view']['document']['getRoot'](_0x4be09a['rootName']));}):_0x4d87cf['reconvertMarker']('revision:'+_0x4be09a['id'])),_0x2d3c7f&&(_0x2d3c7f['data']['isOnRoot']?_0x4d87cf['view']['change'](_0x4dce32=>{_0x4dce32['addClass']('ck-revision-history-root--active',_0x4d87cf['view']['document']['getRoot'](_0x2d3c7f['rootName']));}):_0x4d87cf['reconvertMarker']('revision:'+_0x2d3c7f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x144e8c,_0x3b971c)=>{if(this['activeChange'])return;const _0x19bd5c=this['_findChangeIdFromDomTarget'](_0x3b971c['target']),_0x45e63b=this['_changeIdToChange']['get'](_0x19bd5c);_0x45e63b?(this['_activeViewTarget']={'x':_0x3b971c['domEvent']['x'],'y':_0x3b971c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x45e63b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1e29d5,_0xd1b0a5)=>{const _0x17f899=this['_findChangeIdFromDomTarget'](_0xd1b0a5['target']),_0x3ef439=this['_changeIdToChange']['get'](_0x17f899);_0x3ef439?(this['_activeViewTarget']={'x':_0xd1b0a5['domEvent']['x'],'y':_0xd1b0a5['domEvent']['y']},_0x3ef439===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3ef439):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x42e050){do{const _0x18d3b1=_0x42e050['getAttribute']('data-change-id');if(_0x18d3b1)return _0x18d3b1;_0x42e050=_0x42e050['parent'];}while(_0x42e050);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5522d1=>{for(const _0x3496fe of this['editor']['model']['markers'])_0x5522d1['removeMarker'](_0x3496fe);});}}function et(_0x5e0648,_0x30e73a){return(_0x425b46,_0x169e49,_0x38b4ca)=>{if(!_0x38b4ca['consumable']['test'](_0x169e49['markerRange'],_0x425b46['name']))return;const _0x2b2466=_0x169e49['markerRange']['getWalker'](),_0x2a4e29=_0x169e49['markerRange']['start'],_0x1902c1=_0x5e0648['model']['schema'];let _0x40f187=null,_0x2e42f0=null,_0x4af3ab=!0x1,_0xb3cea1=!0x1;for(const _0x4580ee of _0x2b2466){const _0x200f91=_0x4580ee['item'];_0x4af3ab=_0x4af3ab||_0x1902c1['isContent'](_0x200f91);const _0x171d8e=_0x38b4ca['mapper']['toViewElement'](_0x200f91);if(_0x171d8e&&_0x171d8e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4580ee['type']&&(_0x1902c1['isBlock'](_0x200f91)&&!_0x1902c1['isLimit'](_0x200f91)&&(_0x200f91['nextSibling']||_0x2a4e29['isAtEnd']?_0x40f187&&_0x40f187['parent']==_0x200f91||(_0x40f187=_0x200f91,_0x5b2c37(_0x4580ee['previousPosition']),_0xb3cea1=!0x0):_0x2e42f0=_0x2e42f0||_0x4580ee['previousPosition']));}function _0x5b2c37(_0x7fea2e){const _0x3c195e=_0x38b4ca['mapper']['toViewPosition'](_0x7fea2e),_0x29e84e=_0x38b4ca['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30e73a});_0x38b4ca['writer']['insert'](_0x3c195e,_0x29e84e),_0x38b4ca['mapper']['bindElementToMarker'](_0x29e84e,_0x169e49['markerName']);}_0x4af3ab||_0xb3cea1||!_0x2e42f0||_0x5b2c37(_0x2e42f0);};}class bt extends _0x510569{constructor(_0x284178){super(_0x284178);const _0x33acc6=_0x284178['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x33acc6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x33acc6,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x55b859=this['editor'],_0x30e07c=_0x55b859['plugins']['get'](d),_0x15577a=_0x30e07c['isReady']?_0x30e07c['diff']['newRevisionId']:null;_0x55b859['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x15577a);}['refresh'](){const {isReady:_0x5c32ee,isEnabled:_0x2ad191}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5c32ee&&_0x2ad191;}}class yt extends _0x510569{['_step'];constructor(_0xeb1e8a,{direction:_0xa9f6e4}){super(_0xeb1e8a);const _0x1e01c1=_0xeb1e8a['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xa9f6e4?0x1:-0x1,this['listenTo'](_0x1e01c1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1e01c1,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1e01c1,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x50c5d4=this['editor'],_0x56b6d8=_0x50c5d4['plugins']['get'](d),{isNavigationMode:_0x6e5f29,currentChangeNumber:_0x2de5a1}=_0x56b6d8;let _0x51f8a4;if(_0x56b6d8['activeChange']=_0x6e5f29?_0x56b6d8['diff']['changes']['get'](_0x2de5a1+this['_step']):_0x56b6d8['diff']['changes']['first'],_0x56b6d8['activeChange']['data']['isOnRoot'])_0x51f8a4=_0x50c5d4['editing']['view']['getDomRoot'](_0x56b6d8['activeChange']['rootName']);else{const _0x331abe=_0x50c5d4['model']['markers']['get']('revision:'+_0x56b6d8['activeChange']['id']);_0x51f8a4=_0x3751b2(_0x50c5d4['editing'],_0x331abe);}_0x2ddcb5({'target':_0x51f8a4,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x36c31f,currentChangeNumber:_0x342462,numberOfChanges:_0x3b85e9,isReady:_0x46ef6a,isEnabled:_0x49eab7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x49eab7&&_0x46ef6a&&_0x3b85e9)&&(!_0x36c31f||(0x1===this['_step']?_0x342462<_0x3b85e9-0x1:_0x342462>0x0));}}class _i extends _0x1f237a{constructor(_0x34170a){super(_0x34170a);const _0x312f58=this['bindTemplate'],_0x500e21=new _0x411755(_0x34170a),_0x29d605=new _0x411755(_0x34170a);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',(_0x3a0cbc,_0x20b2dc)=>_0x3a0cbc&&_0x20b2dc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x67dc3,_0x16c831,_0x3b18bc,_0x58dd0f)=>{if(!_0x67dc3)return y(_0x34170a,'Loading...');if(!_0x3b18bc)return y(_0x34170a,'No\x20changes');const _0x86efa8=y(_0x34170a,'NUMBER_OF_CHANGES',_0x3b18bc);return _0x58dd0f?y(_0x34170a,'X_OF_Y_CHANGES',[_0x16c831+0x1,_0x3b18bc]):_0x86efa8;}),_0x500e21['set']({'label':y(_0x34170a,'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'}),_0x29d605['set']({'label':y(_0x34170a,'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'}),_0x500e21['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x29d605['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x500e21['on']('execute',()=>this['fire']('execute','backward')),_0x29d605['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',_0x312f58['if']('_isStatusLabelVisible','ck-hidden',_0xc42279=>!_0xc42279)]},'children':[{'text':_0x312f58['to']('isNavigationMode',_0x10e834=>_0x10e834?y(_0x34170a,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x34170a,'Total')+':\x20')}]},{'text':_0x312f58['to']('_statusText')}]},new _0x5eea15(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x500e21,_0x29d605]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xd653eb{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x52660b=this['editor']['editing']['view'];_0x52660b['change'](_0x5e8bfb=>{for(const _0x1c4bb4 of _0x52660b['document']['roots'])_0x5e8bfb['addClass'](ce,_0x1c4bb4);});}['hide'](){const _0x3e5a42=this['editor']['editing']['view'];_0x3e5a42['change'](_0x3b0da6=>{for(const _0x2d24c9 of _0x3e5a42['document']['roots'])_0x3b0da6['removeClass'](ce,_0x2d24c9);});}}class R extends _0xd653eb{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2343bb=this['editor'],_0x51f3fb=_0x2343bb['plugins']['get'](d),_0x34e962=_0x2343bb['plugins']['get'](de);_0x2343bb['ui']['componentFactory']['add']('exitToEditing',_0x4bc73e=>{const _0x105b6e=new _0x411755(_0x4bc73e);return _0x105b6e['set']({'label':y(_0x4bc73e,'Back\x20to\x20editing'),'icon':_0x245a6e['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x105b6e,'execute',()=>{_0x2343bb['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x105b6e;}),_0x2343bb['ui']['componentFactory']['add']('restoreRevision',_0x2e33f9=>{const _0x20ccec=new _0x411755(_0x2e33f9);return _0x20ccec['set']({'label':y(_0x2e33f9,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x20ccec['bind']('isEnabled')['to'](_0x2343bb['commands']['get']('restoreRevision')),this['listenTo'](_0x20ccec,'execute',()=>_0x2343bb['execute']('restoreRevision')),_0x20ccec;}),_0x2343bb['ui']['componentFactory']['add']('changesNavigation',_0x5a6ad7=>{const _0xb253f3=new _i(_0x5a6ad7),_0x17d875=_0x2343bb['commands']['get']('showPreviousChange'),_0x3ea322=_0x2343bb['commands']['get']('showNextChange');return _0xb253f3['bind']('isBackwardNavigationEnabled')['to'](_0x17d875,'isEnabled'),_0xb253f3['bind']('isForwardNavigationEnabled')['to'](_0x3ea322,'isEnabled'),_0xb253f3['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x51f3fb),this['listenTo'](_0xb253f3,'execute',(_0x556555,_0x5d617c)=>{_0x2343bb['execute']('forward'===_0x5d617c?'showNextChange':'showPreviousChange');}),_0xb253f3;}),_0x34e962['show'](),_0x51f3fb['on']('change:isReady',(_0x2884f1,_0x38c2c3,_0x27cd84)=>{_0x27cd84?_0x34e962['hide']():_0x34e962['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5d4ece,_0x5444e6){super(_0x5d4ece,_0x5444e6);const _0xea9a4=this['bindTemplate'];this['set']({'label':y(_0x5d4ece,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5d4ece,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xea9a4['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 _0x2d6b61=this['fieldView']['element'];this['_tooltipString']=_0x2d6b61['scrollWidth']>_0x2d6b61['clientWidth']&&_0x2d6b61['value']||'';}}class ti extends _0x1f237a{constructor(_0x498375,_0x2c2200,_0x2c3e89){super(_0x498375);const _0x284702=new _0x4f9dea();_0x284702['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 _0x4b14e7=['ck','ck-revision-history-sidebar__revision-author'];_0x2c3e89&&_0x4b14e7['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1a7de1=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x498375,_0x2c3e89?'Revision\x20creator':'Revision\x20author')},'children':[_0x284702,_0x2c2200['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4b14e7},'children':_0x1a7de1});}}function ni(_0x221f1,_0x10cad0){const _0x43e327=_0x221f1['bindTemplate'],_0x1b75af=_0x221f1['locale'],_0x4d4197=_0x202af6(_0x1b75af);_0x4d4197['panelPosition']='sw';const _0x4d0400=function(_0x16a58f,_0x256760){const _0x153afe=function(_0x89b1f4,_0x293c97){const _0x3d98ea=_0x89b1f4['locale'],_0xdc4165={'Compare\x20against\x20selected':y(_0x3d98ea,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3d98ea,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3d98ea,'Restore\x20this\x20revision')};return _0x293c97['map'](_0x4e23ed=>{const _0xa0bd8b=_0xdc4165[_0x4e23ed['name']];return _0xa0bd8b&&_0xa0bd8b!==_0x4e23ed['name']&&(_0x4e23ed['name']=_0xa0bd8b),_0x4e23ed;});}(_0x16a58f,_0x256760),_0x281517=new _0xf2fdb5();for(const _0x41f223 of _0x153afe){const _0x25f7e9={'type':'button','model':new to({'label':_0x41f223['name'],'class':_0x41f223['class'],'withText':!0x0,'role':'menuitem','_action':_0x41f223['action']})};_0x25f7e9['model']['bind']('isEnabled')['to'](_0x16a58f,'isActionsDropdownOpen',_0x22af06=>'function'!=typeof _0x41f223['isEnabled']||(!_0x22af06||_0x41f223['isEnabled'](_0x16a58f))),_0x281517['add'](_0x25f7e9);}return _0x281517;}(_0x221f1,_0x10cad0);return _0x221f1['bind']('isActionsDropdownOpen')['to'](_0x4d4197,'isOpen'),_0x4d4197['buttonView']['set']({'label':y(_0x1b75af,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x245a6e['threeVerticalDots']}),_0x4d4197['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x43e327['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x43e327['to'](_0x1f5912=>_0x1f5912['stopPropagation']())}}),_0x4d4197['on']('execute',_0x1b09a8=>{_0x221f1['isReady']&&'function'==typeof _0x1b09a8['source']['_action']&&_0x1b09a8['source']['_action'](_0x221f1);}),_0x1c5d61(_0x4d4197,_0x4d0400,{'role':'menu'}),_0x4d4197['listenTo'](_0x221f1,'change:isActionsDropdownOpen',(_0x59badf,_0x549239,_0x49397e)=>{if(_0x49397e)for(const _0x4cf438 of _0x4d4197['listView']['items']){const _0x58738a=_0x4cf438['children']['first'],_0x4ab8b4=_0x10cad0['find'](_0x488059=>_0x488059['action']===_0x58738a['_action'])['isVisible'];_0x4cf438['isVisible']=void 0x0===_0x4ab8b4||_0x4ab8b4(_0x221f1);}}),_0x4d4197;}class ai extends _0x3b72de(_0x1f237a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x21ba48,_0x2bc634,_0x468eab,_0x4456f0){super(_0x21ba48);const _0x1b2633=this['bindTemplate'],_0x2a14cd=function(_0x3e9ae9,_0x39fb5c){const _0x41f04d=Array['from'](_0x39fb5c['authors'])['filter'](_0xd0a35c=>_0xd0a35c!=_0x39fb5c['creator']);return _0x39fb5c['creator']&&_0x41f04d['unshift'](_0x39fb5c['creator']),_0x41f04d['map'](_0x45cc96=>new ti(_0x3e9ae9,_0x45cc96,_0x45cc96==_0x39fb5c['creator']));}(_0x21ba48,_0x2bc634);this['id']=_0x2bc634['id'],this['_revision']=_0x2bc634,this['_requireRevisionName']=_0x4456f0,this['bind']('name','createdAt')['to'](_0x2bc634),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x53445f=>{return _0x161c22=_0x21ba48['uiLanguage'],(_0x50be5a=_0x53445f)['toLocaleDateString'](_0x161c22,{'month':'long','day':'numeric'})+',\x20'+_0x50be5a['toLocaleTimeString'](_0x161c22,{'hour':'numeric','minute':'numeric'});var _0x161c22,_0x50be5a;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x21ba48,_0x46f58a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3acd1a=>_0x3acd1a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x50c467,_0x5f53f9)=>_0x50c467&&_0x5f53f9),this['revisionActionsView']=_0x468eab&&_0x468eab['length']?ni(this,_0x468eab):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1b2633['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1b2633['if']('isEnabled','ck-disabled',_0x18d131=>!_0x18d131),_0x1b2633['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1b2633['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1b2633['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':_0x1b2633['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':_0x2a14cd}]},this['revisionActionsView']],'on':{'click':_0x1b2633['to'](_0xc73b2a=>{_0xc73b2a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x26f646=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x26f646,'change',()=>{this['_requireRevisionName']&&!_0x26f646['value']||this['fire']('setName',{'id':this['id'],'name':_0x26f646['value']}),_0x26f646['value']||(_0x26f646['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(_0x56d066,_0x203c39){const _0x2b7034=_0x34cda8['fromJSDate'](_0x56d066)['setLocale'](_0x203c39),_0x2e8f3b=_0x34cda8['local'](),_0x123cf9=_0x2e8f3b['minus']({'days':0x1})['startOf']('day');let _0x13b908,_0xb91bd9;return _0x2b7034['hasSame'](_0x2e8f3b,'day')?(_0x13b908=_0x2b7034['startOf']('day')['toJSDate'](),_0xb91bd9=_0x2b7034['toRelativeCalendar']()):_0x2b7034['hasSame'](_0x123cf9,'day')?(_0x13b908=_0x123cf9['toJSDate'](),_0xb91bd9=_0x2b7034['toRelativeCalendar']()):_0x2b7034['hasSame'](_0x2e8f3b,'week')?(_0x13b908=_0x2b7034['startOf']('week')['toJSDate'](),_0xb91bd9=_0x2b7034['weekdayLong']||''):_0x2b7034['hasSame'](_0x2e8f3b,'year')?(_0x13b908=_0x2b7034['startOf']('month')['toJSDate'](),_0xb91bd9=_0x2b7034['monthLong']||''):(_0x13b908=_0x2b7034['startOf']('year')['toJSDate'](),_0xb91bd9=String(_0x2b7034['year'])),{'startDate':_0x13b908,'localizedPeriodName':_0xb91bd9};}class mi extends _0x1f237a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x58c8b5,_0x40ac78,_0x21c34b,_0x2520de){super(_0x58c8b5);const _0x250dcc=di(_0x40ac78,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x40ac78,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x21c34b,this['_requireRevisionName']=_0x2520de,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':_0x250dcc}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3b4bcf){const _0x240dff=new ai(this['locale'],_0x3b4bcf,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x240dff);}['removeRevision'](_0x3fbff3){const _0xba8917=this['revisionViews']['find'](_0x735e0b=>_0x735e0b['id']===_0x3fbff3['id']);this['revisionViews']['remove'](_0xba8917);}}class as extends _0x1f237a{constructor(_0x32ac3e){super(_0x32ac3e);const _0x3846d5=new _0x4f9dea();_0x3846d5['content']=_0x245a6e['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3846d5,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x32ac3e,'Revision\x20history')]}]});}}class ci extends _0x1f237a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x46c264,_0x286d5a,_0x1cc5de,_0x19f4c8){super(_0x46c264);const _0x271dd2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x286d5a,this['_revisionActions']=_0x1cc5de,this['_requireRevisionName']=_0x19f4c8,this['on']('select',(_0x277e9d,_0x34e14e)=>{this['fire']('revisionSelected',_0x34e14e);}),this['on']('setName',(_0x271145,_0x1cb716)=>{this['fire']('revisionSetName',_0x1cb716);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x46c264),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x271dd2['if']('isEnabled','ck-disabled',_0x201f09=>!_0x201f09)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x449dd2 of this['_revisions'])this['_addRevision'](_0x449dd2);this['_revisions']['on']('add',(_0x3120c8,_0x4d1b6)=>{this['_addRevision'](_0x4d1b6);}),this['_revisions']['on']('remove',(_0x441c96,_0x4806ec)=>{this['_removeRevision'](_0x4806ec);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x10a34e=>_0x10a34e['revisionViews']['map'](_0x7d08a=>_0x7d08a))['flat']();}['selectRevision'](_0x525e0a){for(const _0x8fa6a2 of this['revisionViews'])_0x525e0a&&_0x525e0a['id']===_0x8fa6a2['id']?_0x8fa6a2['select']():_0x8fa6a2['deselect']();}['highlightRevisions'](_0x1f5ce5){for(const _0x32249a of this['revisionViews'])_0x1f5ce5['some'](({id:_0x1cfdee})=>_0x1cfdee===_0x32249a['id'])?_0x32249a['highlight']():_0x32249a['unhighlight']();}['_addRevision'](_0x1ab1df){const _0x1a8dde=di(_0x1ab1df['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x228f5e=this['timePeriodViews']['get'](0x0);_0x228f5e&&_0x228f5e['startDate']['getTime']()===_0x1a8dde['getTime']()||(_0x228f5e=new mi(this['locale'],_0x1a8dde,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x228f5e)),_0x228f5e['addRevision'](_0x1ab1df);}['_removeRevision'](_0x482b84){const _0x2a0398=di(_0x482b84['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2a0398)['removeRevision'](_0x482b84);}['_getTimePeriodViewByStartDate'](_0x30552f){return this['timePeriodViews']['find'](_0x298a6=>_0x298a6['startDate']['getTime']()===_0x30552f['getTime']());}}class w extends _0xd653eb{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1c9f7f){super(_0x1c9f7f),this['_revisionViewer']=_0x1c9f7f['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5dd81f=this['_revisionsRepository']['_revisions'],_0x2cdb4=this['_createRevisionActions'](),_0x1dad57=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5dd81f,_0x2cdb4,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',(_0x2258d1,_0x4721ef)=>{_0x4721ef['revisionViews']['on']('add',(_0x497636,_0x555ddb)=>{_0x555ddb['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)),_0x1dad57['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4e0a88=this['_revisionsRepository']['getRevision'](0x0);if(_0x4e0a88){const _0x59354c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e0a88['id']);this['_revisionViewer']['compare'](_0x4e0a88,_0x59354c);}}['_handleRevisionSelected'](_0x422a43,_0x482ac2){const _0x40dc70=this['_revisionsRepository']['getRevision'](_0x482ac2['id']),_0x3fcf77=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x40dc70['id']);this['_revisionViewer']['compare'](_0x40dc70,_0x3fcf77);}['_handleRevisionSetName'](_0xc80fea,_0x5d918e){this['_revisionsRepository']['getRevision'](_0x5d918e['id'])['setName'](_0x5d918e['name']);}['_handleDiffChange'](_0x40a968,_0x5eedeb,_0x3a13f7){const _0x162ec7=this['_revisionsRepository']['getRevisionsInDiff'](_0x3a13f7);_0x162ec7['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x162ec7),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x162ec7[0x0]));}['_createRevisionActions'](){const _0x4fe725=this['editor'],_0x490829=w['availableRevisionActions'],_0x469042=_0x4fe725['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x469042['length'])return _0x469042['map'](_0x4e4395=>{const _0x26b1b5='string'==typeof _0x4e4395?Object['assign']({},_0x490829[_0x4e4395]):_0x4e4395;return _0x26b1b5['action']=_0x26b1b5['action']['bind'](this,_0x4fe725),_0x26b1b5['isVisible']&&(_0x26b1b5['isVisible']=_0x26b1b5['isVisible']['bind'](this,_0x4fe725)),_0x26b1b5;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xa5efa1},_0x5d93a5)=>{const _0x4ffffe=_0xa5efa1['get'](d),_0xe80033=_0x4ffffe['repository'];let _0x301446=_0x4ffffe['diff']['newRevisionId'],_0x2799c1=_0x5d93a5['id'];_0xe80033['getIndex'](_0x301446)>_0xe80033['getIndex'](_0x2799c1)&&([_0x301446,_0x2799c1]=[_0x2799c1,_0x301446]),_0x4ffffe['compare'](_0x301446,_0x2799c1);},'isVisible':({plugins:_0x3ca87d},_0x88b23d)=>{const _0x2c3d18=_0x3ca87d['get'](d);return!(_0x2c3d18['repository']['getRevisionsInDiff'](_0x2c3d18['diff'])['length']>0x2)&&!_0x88b23d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x51f25c,{id:_0x3832b5})=>{_0x51f25c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3832b5);},'isVisible':({plugins:_0xf2e9a9},_0x1c97c1)=>!!_0xf2e9a9['get'](d)['repository']['getLaterVisibleRevision'](_0x1c97c1['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x16655f},{id:_0x1a90ac,revisionNameView:_0x3fe0cf})=>{const _0x1c7ca9=_0x16655f['get'](d),_0x1e3250=_0x1c7ca9['repository']['getEarlierVisibleRevision'](_0x1a90ac);_0x1c7ca9['compare'](_0x1a90ac,_0x1e3250),_0x3fe0cf['focus'](),_0x3fe0cf['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x14f0f9,_0x24058a){super(_0x14f0f9),this['_view']=_0x24058a,this['_toolbarConfig']=ct(_0x14f0f9['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2097fb){const _0x40bf30=this['editor'],_0x27dccd=this['view'],_0x4985fa=_0x40bf30['editing']['view'],_0x1c6151=_0x27dccd['editable'],_0x19b162=_0x4985fa['document']['getRoot']();_0x1c6151['name']=_0x19b162['rootName'],_0x27dccd['render']();const _0x30e0e6=_0x1c6151['element'];this['setEditableElement'](_0x1c6151['name'],_0x30e0e6),_0x27dccd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4985fa['attachDomRoot'](_0x30e0e6),this['_elementReplacer']['replace'](_0x2097fb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x391514=this['view'],_0x2146b4=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2146b4['detachDomRoot'](_0x391514['editable']['name']),_0x391514['destroy']();}['_initToolbar'](){const _0x4cf728=this['view'];_0x4cf728['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4cf728['stickyPanel']['limiterElement']=_0x4cf728['element'],_0x4cf728['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xb7856e})=>_0xb7856e),_0x4cf728['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4cf728['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x402c52,_0x13123c,_0x5b449d={}){super(_0x402c52),this['stickyPanel']=new lt(_0x402c52),this['toolbar']=new pt(_0x402c52,{'shouldGroupWhenFull':_0x5b449d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x402c52,_0x13123c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x553740,_0xd4a1e5){super(_0xd4a1e5),this['sourceElement']=_0x553740,this['model']['document']['createRoot']();const _0xb46212=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xb46212);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x76bd4f,_0xfde6a1){const _0x39908f=new this(_0x76bd4f,_0xfde6a1);return await _0x39908f['initPlugins'](),await _0x39908f['ui']['init'](_0x76bd4f),await _0x39908f['data']['init'](_0x39908f['config']['get']('initialData')||''),_0x39908f['fire']('ready'),_0x39908f;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xd653eb{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x50ee2b){super(_0x50ee2b),this['result']='end';}}class H extends _0xd653eb{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3ccc84){if(super(_0x3ccc84),!this['editor']['config']['get']('revisionHistory'))throw new _0x9e4f0f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5beb05=>this['_showRevisionViewer']({..._0x5beb05,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x519a79=>this['_closeRevisionViewer'](_0x519a79)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xb97eb0=>this['_restoreRevision'](_0xb97eb0)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x181ba6){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x181ba6;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x33e717){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x33e717);}['getRevision'](_0x12ffd1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x12ffd1);}['getRevisions'](_0x5e0551={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5e0551);}['_getRevisionViewerEditorConfig'](){const _0x56c97f=this['editor'],_0x266d0e=_0x7f0a38(_0x56c97f,g),_0x484147=_0x56c97f['plugins']['get']('RevisionTracker'),_0xcb3bba=_0x56c97f['plugins']['get']('Users')['users'];return _0x266d0e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x266d0e['lazyRoots'],(_0x266d0e['plugins']['push'](k,d,R,class extends _0xd653eb{static get['requires'](){return[d,'Users'];}['init'](){const _0x8c2ea8=this['editor']['plugins']['get']('Users');for(const _0x546cbe of _0xcb3bba)_0x546cbe['isAnonymous']||_0x8c2ea8['getUser'](_0x546cbe['id'])||_0x8c2ea8['addUser'](_0x546cbe);const _0x1fe9db=_0x484147['repository']['getRevisions']();let _0x21e2b0=null;const _0x106c6e=this['editor']['plugins']['get']('RevisionViewer');_0x106c6e['adapter']=_0x484147['adapter'],_0x106c6e['bind']('isEnabled')['to'](_0x484147),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x56c97f,'isReadOnly',_0x1d0090=>!_0x1d0090);for(const _0x47dc7c of _0x1fe9db){const _0x132238=null===_0x47dc7c['creator'];if(_0x132238&&_0x47dc7c['toVersion']===_0x47dc7c['fromVersion'])continue;const _0x50213e=_0x47dc7c['toJSON']();_0x106c6e['addRevisionData'](_0x50213e,(_0x2ce8d4,_0x5d8cce,_0x3b6a44)=>{if(_0x132238){if(_0x21e2b0)_0x21e2b0['_update'](_0x2ce8d4,_0x5d8cce);else{if(!_0x5d8cce){const _0x19b94e=_0x3b6a44['toJSON']();_0x19b94e['id']=_0xe70ec5(),_0x484147['saveRevision'](_0x19b94e,_0x3b6a44['toVersion'])['then'](_0x52806b=>{_0x21e2b0=_0x52806b;});}}}else _0x47dc7c['_update'](_0x2ce8d4,_0x5d8cce);});}}},w),_0x266d0e);}['_enhanceShowRevisionViewerCallback'](){const _0x48256d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x269de4=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4124ee=this['editor']['plugins']['get']('Autosave');await _0x4124ee['save']();}else await _0x269de4['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x1bb26d=this['_getRevisionViewerEditorConfig']();return _0x48256d(_0x1bb26d)['then'](_0x177449=>{return(this['_viewerEditor']=_0x177449,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x177449;})['catch'](_0x561dea=>(console['error'](_0x561dea),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3bb442=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'](),_0x3bb442(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x323914=this['editor']['plugins']['get']('Annotations');_0x323914['refreshVisibility'](),_0x323914['refreshPositioning']();}})));}['_showRevisionViewer'](_0xc73a7c){const _0x1a591f=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x272b0e=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3007a6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3007a6,_0xc73a7c)['then'](_0x2ecbdf=>(_0x272b0e['style']['display']='block',_0x1a591f['style']['display']='none',_0x2ecbdf));}['_closeRevisionViewer'](_0x2c673a){const _0x567f4c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x567f4c['style']['display']='',_0x2c673a['destroy']();}async['_restoreRevision'](_0x848d63){const _0x4c7b7b=this['editor'],_0x2163ca=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1e3651=_0x4c7b7b['plugins']['get']('RevisionTracker'),_0x308ef7=_0x2163ca['repository']['getRevision'](_0x848d63);let _0x4b2b76,_0x25ee21,_0x1d3640;try{_0x4b2b76=await _0x2163ca['getRevisionData'](_0x308ef7),_0x25ee21=await _0x2163ca['getRevisionRootsAttributes'](_0x308ef7);}catch(_0x4bf659){return void console['error'](_0x4bf659);}_0x4c7b7b['model']['change'](_0x28ed08=>{for(const _0x5ac964 of Array['from'](_0x4c7b7b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x28ed08['removeMarker'](_0x5ac964);}),_0x2163ca['isReady']=!0x1,_0x4c7b7b['model']['enqueueChange'](_0x59c95e=>{_0x59c95e['setSelection'](null),_0x59c95e['removeSelectionAttribute'](_0x4c7b7b['model']['document']['selection']['getAttributeKeys']());const _0x5e942d=Object['keys'](_0x4b2b76);for(const _0x4e89ce of _0x4c7b7b['model']['document']['roots'])'$graveyard'!=_0x4e89ce['rootName']&&_0x4e89ce['isAttached']()&&!_0x5e942d['includes'](_0x4e89ce['rootName'])&&_0x59c95e['detachRoot'](_0x4e89ce);for(const _0x3fa1e9 of _0x5e942d){let _0x2b80ce=_0x4c7b7b['model']['document']['getRoot'](_0x3fa1e9);_0x2b80ce&&_0x2b80ce['isAttached']()||(_0x2b80ce=_0x59c95e['addRoot'](_0x3fa1e9));const _0x34739e=_0x25ee21[_0x3fa1e9],_0x549e48=Object['keys'](_0x34739e),_0x1ac7b1=_0x4b2b76[_0x3fa1e9];for(const _0x1f9f27 of _0x2b80ce['getAttributeKeys']())_0x549e48['includes'](_0x1f9f27)||_0x59c95e['removeAttribute'](_0x1f9f27,_0x2b80ce);for(const _0xc4f292 of _0x549e48)_0x59c95e['setAttribute'](_0xc4f292,_0x25ee21[_0x3fa1e9][_0xc4f292],_0x2b80ce);_0x59c95e['remove'](_0x59c95e['createRangeIn'](_0x2b80ce)),_0x59c95e['insert'](_0x4c7b7b['data']['parse'](_0x1ac7b1,_0x2b80ce),_0x2b80ce,0x0);}});const _0x2211da=y(_0x4c7b7b['locale'],'Restored');if(_0x308ef7['name'])_0x1d3640=-0x1==_0x308ef7['name']['indexOf'](_0x2211da)?_0x2211da+':\x20'+_0x308ef7['name']:_0x308ef7['name'];else _0x1d3640=_0x2211da+':\x20'+(_0x308ef7['createdAt']['toLocaleDateString'](_0x4c7b7b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x308ef7['createdAt']['toLocaleTimeString'](_0x4c7b7b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1e3651['saveRevision']({'name':_0x1d3640}),_0x2163ca['isReady']=!0x0,_0x4c7b7b['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};