@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240820.0 → 0.0.0-nightly-20240821.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,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x25b853,Context as _0x49f6d9,PendingActions as _0x326cda,icons as _0x152ab3,Command as _0x269760,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x57e8b5,uid as _0xf0a907,Collection as _0x17d2c9,logWarning as _0x5230f2,FocusTracker as _0x3a6ef4,KeystrokeHandler as _0x2b4ea5,scrollViewportToShowTarget as _0x20aa76,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xb5aa03}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4034d6,getMarkerDomElement as _0x38896f,ConfirmMixin as _0x61304f,sanitizeEditorConfig as _0x1c6921}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x288804,ViewText as _0x464038,ViewElement as _0x2aade1,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4bb0d0,ViewAttributeElement as _0x1c226f,ViewEmptyElement as _0x102b40,ViewRawElement as _0xbad04d,ViewUIElement as _0x4947d7,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3aed55,set as _0xff96fe,unset as _0x4b676e,isEqual as _0x298fe0}from'lodash-es';import{View as _0x4ee463,injectCssTransitionDisabler as ts,submitHandler as _0x1948b3,LabeledFieldView as at,createLabeledInputText as _0x27a5db,createDropdown as _0xaa4d18,ListView as te,ListItemView as _0x39934b,ButtonView as _0x302693,MenuBarMenuView as _0x564dbb,MenuBarMenuListView as _0x37cb0e,MenuBarMenuListItemView as _0x37401f,MenuBarMenuListItemButtonView as _0x83d227,ContextualBalloon as _0x5bb53b,ToolbarSeparatorView as _0x51a1d2,IconView as _0x44637d,addListToDropdown as _0x1ab634,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 _0x5a8648}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x57e8b5(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xe9be5e){super(),this['id']=_0xe9be5e['id']||_0xf0a907(),this['creator']=_0xe9be5e['creator']||null,this['authors']=_0xe9be5e['authors']||[],this['diffData']=_0xe9be5e['diffData']||null,this['toVersion']=_0xe9be5e['toVersion']||0x0,this['fromVersion']=_0xe9be5e['fromVersion']||0x0,this['set']('name',_0xe9be5e['name']||''),this['set']('createdAt',_0xe9be5e['createdAt']||new Date()),this['set']('attributes',_0xe9be5e['attributes']||{});}['setName'](_0x2ac90a){this['_update']({'name':_0x2ac90a});}['setAttribute'](_0x137b30,_0x520a4c){const _0x1902d8=_0x3aed55(this['attributes']);_0xff96fe(_0x1902d8,_0x137b30,_0x520a4c),this['_update']({'attributes':_0x1902d8});}['removeAttribute'](_0x67f4f8){const _0x114572=_0x3aed55(this['attributes']);_0x4b676e(_0x114572,_0x67f4f8),this['_update']({'attributes':_0x114572});}['_update'](_0x317b11,_0xa4028b=!0x1){let _0x146558=!0x1;const _0x56aa6d={'id':this['id']},_0x479a9e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4d94fe of _0x479a9e){const _0x47487d=_0x317b11[_0x4d94fe];void 0x0!==_0x47487d&&_0x47487d!==this[_0x4d94fe]&&(this[_0x4d94fe]=_0x47487d,_0x56aa6d[_0x4d94fe]=_0x47487d,_0x146558=!0x0);}_0x146558&&(_0x56aa6d['authors']&&(_0x56aa6d['authorsIds']=_0x56aa6d['authors']['map'](_0x136e0b=>_0x136e0b['id']),delete _0x56aa6d['authors']),this['fire']('_update',_0x56aa6d,_0xa4028b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xef4a3=>_0xef4a3['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x25b853{['_revisions'];static get['requires'](){return[_0x4034d6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x56a0ef){super(_0x56a0ef),this['_revisions']=new _0x17d2c9();}['afterInit'](){!function(_0x3b83df){function _0x4e2d79(_0x39173c,_0x464418,_0x36dfec){const _0x2e233a={};_0x2e233a[_0x3cc2c9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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 _0x40f01a=new Uint8Array(0x10);for(let _0x33fe4c=0xf;_0x33fe4c>=0x0;--_0x33fe4c)_0x40f01a[_0x33fe4c]=_0x36dfec%0x100,_0x36dfec=parseInt(_0x36dfec/0x100);let _0x1e81cd=null,_0x140a99=0x10;const _0x3860e0=new Uint8Array(_0x464418),_0x48af23=[],_0x2ecd3d=[];_0x9a3f59();for(let _0x232cc4=0x0;_0x232cc4<_0x39173c[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x232cc4++)0x10===_0x140a99&&(_0x1e81cd=_0x16364a(_0x40f01a),_0x140a99=0x0,_0x1ec6f6(_0x40f01a)),_0x39173c[_0x232cc4]^=_0x1e81cd[_0x140a99++];return _0x39173c;function _0x6f248e(_0x4e0a70){const _0xaa5704=[];for(let _0x190640=0x0;_0x190640<_0x4e0a70[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x190640+=0x4)_0xaa5704[_0x3cc2c9([0x70,0x75,0x73,0x68])](_0x4e0a70[_0x190640]<<0x18|_0x4e0a70[_0x190640+0x1]<<0x10|_0x4e0a70[_0x190640+0x2]<<0x8|_0x4e0a70[_0x190640+0x3]);return _0xaa5704;}function _0x1ec6f6(_0x4e384d){for(let _0x11be14=0xf;_0x11be14>=0x0;_0x11be14--){if(0xff!==_0x4e384d[_0x11be14]){_0x4e384d[_0x11be14]++;break;}_0x4e384d[_0x11be14]=0x0;}}function _0x16364a(_0x4d83f9){const _0xabaa19=_0x48af23[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x57440e=[0x0,0x0,0x0,0x0];let t=_0x6f248e(_0x4d83f9);for(let _0x396142=0x0;_0x396142<0x4;_0x396142++)t[_0x396142]^=_0x48af23[0x0][_0x396142];for(let _0xc20e5a=0x1;_0xc20e5a<_0xabaa19;_0xc20e5a++){for(let _0x5a6f89=0x0;_0x5a6f89<0x4;_0x5a6f89++)_0x57440e[_0x5a6f89]=_0x2e233a[_0x3cc2c9([0x54,0x31])][t[_0x5a6f89]>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x32])][t[(_0x5a6f89+0x1)%0x4]>>0x10&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x33])][t[(_0x5a6f89+0x2)%0x4]>>0x8&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x34])][0xff&t[(_0x5a6f89+0x3)%0x4]]^_0x48af23[_0xc20e5a][_0x5a6f89];t=_0x57440e[_0x3cc2c9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x515c62=new Uint8Array(0x10);let _0x328fdd;for(let _0x4887fa=0x0;_0x4887fa<0x4;_0x4887fa++)_0x328fdd=_0x48af23[_0xabaa19][_0x4887fa],_0x515c62[0x4*_0x4887fa]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[_0x4887fa]>>0x18&0xff]^_0x328fdd>>0x18),_0x515c62[0x4*_0x4887fa+0x1]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[(_0x4887fa+0x1)%0x4]>>0x10&0xff]^_0x328fdd>>0x10),_0x515c62[0x4*_0x4887fa+0x2]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[(_0x4887fa+0x2)%0x4]>>0x8&0xff]^_0x328fdd>>0x8),_0x515c62[0x4*_0x4887fa+0x3]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][0xff&t[(_0x4887fa+0x3)%0x4]]^_0x328fdd);return _0x515c62;}function _0x9a3f59(){const _0x23bca7=_0x2e233a[_0x3cc2c9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3860e0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f4739=0x0;_0x2f4739<=_0x23bca7;_0x2f4739++)_0x48af23[_0x3cc2c9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2ecd3d[_0x3cc2c9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1dee0b=0x4*(_0x23bca7+0x1),_0x4efe49=_0x3860e0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x341bbc=_0x6f248e(_0x3860e0);let _0x9ddb30;for(let _0x3bab06=0x0;_0x3bab06<_0x4efe49;_0x3bab06++)_0x9ddb30=_0x3bab06>>0x2,_0x48af23[_0x9ddb30][_0x3bab06%0x4]=_0x341bbc[_0x3bab06],_0x2ecd3d[_0x23bca7-_0x9ddb30][_0x3bab06%0x4]=_0x341bbc[_0x3bab06];let _0x359022,_0x49866b=0x0,t=_0x4efe49;for(;t<_0x1dee0b;){_0x359022=_0x341bbc[_0x4efe49-0x1],_0x341bbc[0x0]^=_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x10&0xff]<<0x18^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x8&0xff]<<0x10^_0x2e233a[_0x3cc2c9([0x53])][0xff&_0x359022]<<0x8^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x72,0x63,0x6f,0x6e])][_0x49866b]<<0x18,_0x49866b+=0x1;for(let _0x826368=0x1;_0x826368<_0x4efe49/0x2;_0x826368++)_0x341bbc[_0x826368]^=_0x341bbc[_0x826368-0x1];_0x359022=_0x341bbc[_0x4efe49/0x2-0x1],_0x341bbc[_0x4efe49/0x2]^=_0x2e233a[_0x3cc2c9([0x53])][0xff&_0x359022]^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x8&0xff]<<0x8^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x10&0xff]<<0x10^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x18&0xff]<<0x18;for(let _0x342294=_0x4efe49/0x2+0x1;_0x342294<_0x4efe49;_0x342294++)_0x341bbc[_0x342294]^=_0x341bbc[_0x342294-0x1];let _0x543754,_0x4c8669,_0x3de59c=0x0;for(;_0x3de59c<_0x4efe49&&t<_0x1dee0b;)_0x543754=t>>0x2,_0x4c8669=t%0x4,_0x48af23[_0x543754][_0x4c8669]=_0x341bbc[_0x3de59c],_0x2ecd3d[_0x23bca7-_0x543754][_0x4c8669]=_0x341bbc[_0x3de59c++],t++;}for(let _0x218477=0x1;_0x218477<_0x23bca7;_0x218477++)for(let _0xaf06fe=0x0;_0xaf06fe<0x4;_0xaf06fe++)_0x359022=_0x2ecd3d[_0x218477][_0xaf06fe],_0x2ecd3d[_0x218477][_0xaf06fe]=_0x2e233a[_0x3cc2c9([0x55,0x31])][_0x359022>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x32])][_0x359022>>0x10&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x33])][_0x359022>>0x8&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x34])][0xff&_0x359022];}}function _0x3cc2c9(_0x2e2151){return _0x2e2151['map'](_0x464aab=>String['fromCharCode'](_0x464aab))['join']('');}(_0x10b84e=>{function _0x233b11(){const _0x739b06=[{[_0x3cc2c9([0x69,0x64])]:0x1,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3cc2c9([0x69,0x64])]:0x2,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3cc2c9([0x69,0x64])]:0x3,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0x4,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3cc2c9([0x69,0x64])]:0x5,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x6,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x7,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x8,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x9,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3cc2c9([0x69,0x64])]:0xa,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([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]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0xb,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0xc,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3cc2c9([0x69,0x64])]:0xd,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0xe,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3cc2c9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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])},{[_0x3cc2c9([0x69,0x64])]:0xf,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0x10,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}}];return _0x4d7935(_0x739b06),_0x739b06;function _0x452cc9(_0x1c99d1){return 0x1<<_0x1c99d1-0x1;}function _0x4d7935(_0x5f48bb){_0x5f48bb[_0x3cc2c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x402aaf=>{_0x402aaf[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x452cc9(_0x402aaf[_0x3cc2c9([0x69,0x64])]),_0x1bbe3a(_0x402aaf)&&_0x402aaf[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4d7935(_0x402aaf[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1bbe3a(_0x11dfdf){return _0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x11dfdf;}const _0x556bf0=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1974ca=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5600ae(_0x49ed2f){const _0x3e2d6b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x23eb5e(_0x49ed2f,new Uint8Array([..._0x556bf0,..._0x3e2d6b,..._0x1974ca]));}function _0x23eb5e(_0xa910a7,_0x1a1806){const _0x2a61bf=_0x4aca4e(_0xa910a7),_0x45e3b2=Array[_0x3cc2c9([0x66,0x72,0x6f,0x6d])](_0x4a1117(_0x2a61bf)),_0x562db1=_0x45e3b2[_0x3cc2c9([0x70,0x6f,0x70])](),_0xe24fff=_0x45e3b2[_0x3cc2c9([0x70,0x6f,0x70])]();return _0x10983e(_0x4e2d79(_0x45e3b2,_0x1a1806,_0xe24fff+0x100*_0x562db1));}function _0x4aca4e(_0x19b2da){const _0x21ffb5=atob(_0x19b2da),[_0x12f268,_0x5529ee]=_0x21ffb5[_0x3cc2c9([0x73,0x70,0x6c,0x69,0x74])](_0x3cc2c9([0x2d]));try{if(atob(_0x5529ee))return atob(_0x12f268);}catch(_0x3ac002){}return _0x21ffb5;}function _0x4776b9(_0x558a8c){try{const _0x5479fe=_0x5600ae(_0x558a8c),_0x41f350=JSON[_0x3cc2c9([0x70,0x61,0x72,0x73,0x65])](_0x5479fe),_0x1b14e0=parseInt(_0x41f350[_0x3cc2c9([0x31])]),_0x45bee2=_0x41f350[_0x3cc2c9([0x32])]||'',_0x4ea2e9=parseInt(_0x41f350[_0x3cc2c9([0x33])]),_0x546b26=parseInt(_0x41f350[_0x3cc2c9([0x34])])||0x0,_0x447ec2=parseInt(_0x41f350[_0x3cc2c9([0x35])])||0x0;return{[_0x3cc2c9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x45bee2,[_0x3cc2c9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x546b26,[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1b14e0,[_0x3cc2c9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4ea2e9,[_0x3cc2c9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x447ec2};}catch(_0xd29d12){return null;}}const _0x40df04=_0x233b11(),_0x23bdb3={[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xd6fd68,[_0x3cc2c9([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])]:_0x43ef58,[_0x3cc2c9([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])]:_0x2b15d9},_0x526775=_0x10b84e[_0x3cc2c9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4a6265=_0x3cc2c9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x10b84e?_0x10b84e['context']:_0x10b84e['editor'],_0x40fc55=_0x3cc2c9([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x30]),_0x14d2a5=_0x3cc2c9([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]),_0x2a0d6d=_0x4a6265['config']['get'](_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x563ab3=_0x40df04[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bbe3a)[_0x3cc2c9([0x66,0x69,0x6e,0x64])](_0x589be6=>_0x589be6[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x526775);function _0x1bf67c(_0x18b72e,_0x507c97){_0x23bdb3[_0x507c97[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x18b72e,_0x507c97),_0x507c97[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x507c97[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c7cd4=>_0x589559(_0x4a6265,_0x3c7cd4[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3cc2c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f7650=>_0x1bf67c(_0x18b72e,_0x4f7650));}function _0xd6fd68(_0x4e69c9,_0x27c50e){_0x3838e0(_0x1e6ac8(_0x4e69c9,_0x27c50e),_0x27c50e);}function _0x43ef58(_0x5bb0b9,_0x2b9bd5){function _0x4639e4(_0x58cf80,_0x13f367){try{if(_0x589559(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x58cf80){const _0x5e455e=_0x240257(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3cc2c9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e455e)/0x2>_0x58cf80[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x51f603(_0x13f367[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1e6ac8(_0x58cf80,_0x13f367);}catch(_0x4cc81b){return _0x51f603(_0x13f367[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3838e0(_0x4639e4(_0x5bb0b9,_0x2b9bd5),_0x2b9bd5);}function _0x2b15d9(_0x293bbb,_0x58e516){const _0x53be7d=_0x1974ca[0x0]*_0x556bf0[0x1],_0x387f08=_0x1974ca[0x0]*_0x556bf0[0x2],_0x3d1e57=_0x1974ca[0x2]*_0x556bf0[0x2];_0x589559(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3b5948()]=_0x3d1e57);function _0x475f8d(_0x436a00,_0x4b3451){try{return _0x64d151()?_0x51f603(_0x4b3451[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x1e6ac8(_0x436a00,_0x4b3451);}catch(_0x2a5aec){return _0x51f603(_0x4b3451[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x40c0a7(_0x2858c2,_0x259515){const _0x32aa90=0x7;if(_0x2858c2==_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x413830();else{if(_0x2858c2==_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])){const _0x1f325b=_0x23f6b5();_0x1f325b&&_0xa84656(_0x1f325b,_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3f85d8=_0x394a8a();window[_0x3cc2c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xa84656(_0x3cc2c9([0x74,0x69,0x6d,0x65]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3f85d8);const _0x3c0fa8=_0x240257(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c0fa8[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32aa90?_0xa84656(_0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c0fa8['on'](_0x3cc2c9([0x61,0x64,0x64]),()=>{_0x3c0fa8[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32aa90&&_0xa84656(_0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x23f6b5(){if(!_0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9b7895 in window)if(Number['isNaN'](Number(_0x9b7895))){if(window[_0x9b7895]===_0x53be7d)return _0x3cc2c9([0x74,0x69,0x6d,0x65]);if(window[_0x9b7895]===_0x387f08)return _0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x64d151(){if(!_0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9f01ff in window)if(Number['isNaN'](Number(_0x9f01ff))&&window[_0x9f01ff]===_0x3d1e57)return!0x0;return!0x1;}function _0xa84656(_0x1c5ff4,_0x259ae0){_0x413830(),_0x51f603(_0x259ae0+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1c5ff4),window[_0x3b5948()]=_0x1c5ff4===_0x3cc2c9([0x74,0x69,0x6d,0x65])?_0x53be7d:_0x387f08;}function _0x394a8a(){let _0x46ecd7=_0x1974ca[0x6]*_0x556bf0[0x8]*_0x556bf0[0x6];return _0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x46ecd7/=0xa),_0x46ecd7;}function _0x413830(){const _0x17e25f=_0x4a6265;function _0x161378(){_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x45d6e5,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x45d6e5,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x45d6e5);}_0x17e25f[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x72,0x65,0x61,0x64,0x79])?_0x161378():_0x17e25f[_0x3cc2c9([0x6f,0x6e,0x63,0x65])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x161378(),_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x99d13e=_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xc06d3=_0x99d13e['getRevision'](0x0),_0x52c3a5=_0x99d13e['getEarlierVisibleRevision'](_0xc06d3[_0x3cc2c9([0x69,0x64])]);_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xc06d3[_0x3cc2c9([0x69,0x64])],_0x52c3a5?_0x52c3a5[_0x3cc2c9([0x69,0x64])]:null,0x1)['then'](()=>_0x161378());}});}_0x40c0a7(_0x475f8d(_0x293bbb,_0x58e516),_0x58e516);}function _0x1e6ac8(_0x2bc5bd,_0x534afb){try{return _0x7ef027(_0x534afb)?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x2bc5bd&&_0x189114(_0x2bc5bd[_0x3cc2c9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x534afb)?_0x2bc5bd[_0x3cc2c9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3cc2c9([0x6f,0x70,0x65,0x6e])][_0x3cc2c9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x40fc55)/0x2>_0x2bc5bd[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2bc5bd[_0x3cc2c9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])):_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x79d570){return _0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3838e0(_0x20cd74,_0x1a5f17){if(_0x4a6265 instanceof _0x49f6d9){const _0x3f6e00=_0x4a6265;_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3698ae(_0x3f6e00):_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3cc2c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3698ae(_0x3f6e00),_0x51f603(_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1974ca[0x6]*_0x556bf0[0x8]*_0x556bf0[0x6]),_0x3f6e00[_0x3cc2c9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x61,0x64,0x64]),(_0x512352,_0x2793a3)=>{_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2f43ea(_0x2793a3);});}else{const _0x1340b8=_0x4a6265;_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2f43ea(_0x1340b8):_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])&&_0x1340b8[_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2ea597=0x0;_0x1340b8[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ffba2,_0x50c97c)=>{_0x50c97c[0x0][_0x3cc2c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea597++,0x1f8===_0x2ea597&&(_0x2f43ea(_0x1340b8),_0x51f603(_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1ffba2[_0x3cc2c9([0x6f,0x66,0x66])]());},{'priority':_0x3cc2c9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x51f603(_0xd690ef){const _0x5ebc13=_0x3b5948();return _0x4a6265[_0x5ebc13]=_0xd690ef,_0xd690ef;}function _0x3b5948(){const _0x466bb0=String(window[_0x3cc2c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cc2c9([0x6e,0x6f,0x77])]())[_0x3cc2c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cc2c9([0x2e]),'');let _0x2f1e1a='';for(let _0x5d9cca=0x0;_0x5d9cca<_0x466bb0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d9cca+=0x2){let _0x16798d=parseInt(_0x466bb0[_0x3cc2c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d9cca,_0x5d9cca+0x2));_0x16798d>=_0x14d2a5[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16798d-=_0x14d2a5[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f1e1a+=_0x14d2a5[_0x16798d];}return _0x2f1e1a;}function _0x3698ae(_0x3a8900){for(const _0x585038 of _0x3a8900[_0x3cc2c9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2f43ea(_0x585038);_0x240257(_0x3a8900,_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x240257(_0x3a8900,_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x45d6e5;}function _0x2f43ea(_0x5defc4){function _0x20e562(){_0x5defc4[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x5defc4[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x5defc4[_0x3cc2c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5defc4[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x72,0x65,0x61,0x64,0x79])?_0x20e562():_0x5defc4[_0x3cc2c9([0x6f,0x6e,0x63,0x65])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>_0x20e562());}function _0x45d6e5(){return null;}function _0x189114(_0x3ae846,_0x1b5a1a){const _0x1a08d2=!!(_0x3ae846&_0x1b5a1a[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x170dd0=_0x1b0d75(_0x3ae846,_0x1b5a1a);return _0x1a08d2||_0x170dd0;}function _0x1b0d75(_0x3810f3,_0x26b2bd){const _0x91dcac=(_0x26b2bd[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3cc2c9([0x66,0x67,0x69])]||null;return!!_0x91dcac&&_0x40df04[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xea7028=>_0x91dcac[_0x3cc2c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea7028[_0x3cc2c9([0x69,0x64])]))[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50b2fa=>!_0x2cd9fd(_0x50b2fa))[_0x3cc2c9([0x73,0x6f,0x6d,0x65])](_0x5f40b7=>!!(_0x3810f3&_0x5f40b7[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2cd9fd(_0x4c4385){const _0x23271a={[_0x3cc2c9([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])]:_0x399752};return!!_0x4c4385['forbiddenHandler']&&_0x23271a[_0x4c4385['forbiddenHandler']]();}function _0x399752(){return!window[_0x3cc2c9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x589559(_0x4a6265,_0x3cc2c9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x7ef027(_0x1095ff){if(!_0x589559(_0x4a6265,_0x1095ff[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x354691=_0x1095ff[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x8c4d0e=_0x354691[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4944d7=_0x354691[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x254c46=_0x354691[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x589559(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x8c4d0e)return!0x0;if(_0x589559(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3cc2c9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3cc2c9([0x65,0x6e,0x64])&&_0x4944d7)return!0x0;return!(!_0x589559(_0x4a6265,_0x3cc2c9([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]))||_0x240257(_0x4a6265,_0x3cc2c9([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]))[_0x3cc2c9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3cc2c9([0x65,0x6e,0x64])||!_0x254c46);}function _0x589559(_0x3bf8e0,_0x180f21){return _0x3bf8e0[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3cc2c9([0x68,0x61,0x73])](_0x180f21);}function _0x240257(_0x28c81c,_0x1bb16a){return _0x28c81c[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3cc2c9([0x67,0x65,0x74])](_0x1bb16a);}function _0x10983e(_0x490cec){let _0x205b5c='';for(const _0x244692 of _0x490cec)_0x205b5c+=String[_0x3cc2c9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x244692);return _0x205b5c;}function _0x4a1117(_0x52e63b){const _0x1f5a77=new Uint8Array(_0x52e63b[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x59ed79=0x0;_0x59ed79<_0x52e63b[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ed79++)_0x1f5a77[_0x59ed79]=_0x52e63b[_0x3cc2c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59ed79);return _0x1f5a77;}_0x563ab3&&_0x1bf67c(_0x4776b9(_0x2a0d6d),_0x563ab3);})(_0x3b83df);}(this);}['createRevision'](_0x5b1d7e){const _0x299e46=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b1d7e['id'],'name':_0x5b1d7e['name'],'creator':_0x5b1d7e['creatorId']?_0x299e46['getUser'](_0x5b1d7e['creatorId']):null,'diffData':_0x5b1d7e['diffData']||_0x5b1d7e['data'],'authors':_0x5b1d7e['authorsIds']['map'](_0x3612f1=>_0x299e46['getUser'](_0x3612f1)),'createdAt':new Date(_0x5b1d7e['createdAt']),'attributes':_0x5b1d7e['attributes'],'fromVersion':_0x5b1d7e['fromVersion'],'toVersion':_0x5b1d7e['toVersion']});}['addRevision'](_0x972602,_0x59de55=0x0){this['_revisions']['add'](_0x972602,_0x59de55);}['getRevision'](_0x1c1764){return this['_revisions']['get'](_0x1c1764);}['getRevisions'](_0x229912={'toJSON':!0x1}){const _0x12f826=Array['from'](this['_revisions']);return _0x12f826['reverse'](),_0x229912['toJSON']?_0x12f826['map'](_0x1625a4=>_0x1625a4['toJSON']()):_0x12f826;}['getIndex'](_0x55afe1){return this['_revisions']['getIndex'](_0x55afe1);}['getEarlierVisibleRevision'](_0x428b32){const [,_0x30a8dd]=this['getRevisionsIterator'](_0x428b32,{'direction':'earlier'});return _0x30a8dd;}['getLaterVisibleRevision'](_0x127e3f){const [,_0x614729]=this['getRevisionsIterator'](_0x127e3f,{'direction':'later'});return _0x614729;}['getRevisionsInDiff'](_0xbff7a6){const _0x56a734=[];for(const _0x48b5cd of this['getRevisionsIterator'](_0xbff7a6['newRevisionId']))if(_0x56a734['push'](_0x48b5cd),_0x48b5cd['id']===_0xbff7a6['oldRevisionId'])break;return _0x56a734;}*['getRevisionsIterator'](_0x20b97d,{direction:_0x6d354b='earlier',filter:_0x284c81=_0x224eb5=>!0x0}={}){const _0x114df0='earlier'===_0x6d354b?0x1:-0x1;let _0x46e627=this['_revisions']['get'](_0x20b97d),_0x44a880=this['getIndex'](_0x46e627);for(yield _0x46e627;_0x46e627;){if(_0x44a880+=_0x114df0,_0x46e627=this['getRevision'](_0x44a880),!_0x46e627)return;_0x284c81(_0x46e627)&&(yield _0x46e627);}}}function y(_0x5737c8,_0x1d7973,_0x3460a0){const t=_0x5737c8['t'];switch(_0x1d7973){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'},_0x3460a0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3460a0);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4bb0d0,'a':_0x1c226f,'e':_0x102b40,'r':_0xbad04d,'u':_0x4947d7};class l extends _0x25b853{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4034d6,A,_0x326cda];}constructor(_0x20f5ea){super(_0x20f5ea),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 _0x4a67a4=_0xf0a907();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4a67a4},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 _0x35f254=this['repository']['getRevision'](0x0),_0x38ca9c=_0x35f254&&null===_0x35f254['creator']?_0x35f254:null;if(this['_continueCurrentRevision']=!!_0x38ca9c&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3303f3=this['_source']['getCurrentRevisionId'](),_0x63166f=this['repository']['getRevision'](_0x3303f3);if(_0x63166f)this['_startingVersion']=_0x63166f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1564e2=this['_source']['history']['_operations']['find'](_0x127f99=>!_0x127f99['_isInit']),_0x400afb=_0x1564e2?_0x1564e2['baseVersion']:this['_source']['history']['version'];_0x35f254?(_0x35f254['toVersion']<_0x400afb&&_0x35f254['_update']({'toVersion':_0x400afb}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id'],this['_startingVersion']=_0x38ca9c['fromVersion']):(this['_startingVersion']=_0x35f254['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x400afb,this['_continueCurrentRevision']=!0x1);}}else _0x38ca9c&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x38ca9c['toVersion'],this['editor']['model']['document']['history']['version']),_0x38ca9c['fromVersion']===_0x38ca9c['toVersion']?(0x0!==_0x38ca9c['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id'],this['_startingVersion']=_0x38ca9c['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',_0xf99aca=>!_0xf99aca);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2f9a54=this['repository']['getRevision'](0x0),_0x626bb5=await this['getRevisionDocumentData'](_0x2f9a54),_0x3089e5=await this['getRevisionRootsAttributes'](_0x2f9a54);this['_replaceEditorDataWithRevisionData'](_0x626bb5,_0x3089e5);}}['setSource'](_0x535b72){this['_source']=_0x535b72;}async['update'](){const _0x39b39c=await this['_source']['getLatestVersion']();if(_0x39b39c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x29e0bb=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x39b39c});_0x29e0bb['authors']=_0x29e0bb['authorsIds']['map'](_0x4dd94e=>this['editor']['plugins']['get']('Users')['getUser'](_0x4dd94e)),this['currentRevision']['_update'](_0x29e0bb);}}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'](_0x2550c0={},_0x2c6c2f=null){const _0x4efd1f=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2c6c2f>this['currentRevision']['toVersion']&&(_0x2c6c2f=null),null===_0x2c6c2f&&(_0x2c6c2f=await this['_source']['getLatestVersion']());const _0x533172=this['_getFromVersion'](_0x2c6c2f),_0x110068=this['buildRevisionData']({'from':_0x533172,'to':_0x2c6c2f});if(this['currentRevision']['toVersion']<_0x2c6c2f){const _0x4e4f83=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2c6c2f,'to':_0x2c6c2f});_0x4e4f83['authors']=[],_0x4e4f83['authorsIds']=[],_0x4e4f83['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4e4f83,!0x0),delete _0x4e4f83['authors'],_0x4efd1f['push'](_0x4e4f83);}_0x2550c0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2550c0['name']=_0x2550c0['name']||null,_0x2550c0['id']=_0x2550c0['id']||_0xf0a907(),_0x2550c0={..._0x2550c0,..._0x110068};const _0x32ef39=this['addRevisionData'](_0x2550c0);_0x4efd1f['push'](_0x2550c0);const _0x3aa344=this['repository']['getIndex'](_0x32ef39);if(0x0!==_0x3aa344){const _0x1e0883=this['repository']['getRevision'](_0x3aa344-0x1);if(_0x1e0883['fromVersion']!==_0x2c6c2f){const _0x2c33f2=this['_revisionDataBuilder']['getData'](_0x2c6c2f,_0x1e0883['toVersion']),_0x3a992d={'id':_0x1e0883['id'],'diffData':_0x2c33f2['diffData'],'authorsIds':_0x2c33f2['authorsIds'],'authors':_0x2c33f2['authorsIds']['map'](_0x568a4c=>this['editor']['plugins']['get']('Users')['getUser'](_0x568a4c)),'fromVersion':_0x2c6c2f};_0x1e0883===this['currentRevision']&&(_0x3a992d['createdAt']=new Date(_0x2550c0['createdAt']['getTime']()+0xa)),_0x1e0883['_update'](_0x3a992d,!0x0),delete _0x3a992d['authors'],_0x4efd1f['push'](_0x3a992d);}}if(this['adapter']){for(const _0xf6504f of _0x4efd1f)this['_bufferUpdate'](_0xf6504f['id'],_0xf6504f,!0x0);this['sendBufferedUpdates']();}return _0x32ef39;}['addRevisionData'](_0x5642f1){const _0x1228ab=this['repository']['createRevision'](_0x5642f1);return this['adapter']&&_0x1228ab['on']('_update',(_0x51b3d3,_0x54e56a,_0x153374)=>{_0x153374||(this['_bufferUpdate'](_0x54e56a['id'],_0x54e56a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1228ab,this['_findInsertionIndex'](_0x1228ab)),_0x1228ab;}async['getRevisionDocumentData'](_0x448476){await this['_loadRevisionData'](_0x448476);const _0x93ef9c={};for(const _0x4abcfe in _0x448476['diffData']){if(_0x448476['diffData'][_0x4abcfe]['attachChange']&&!_0x448476['diffData'][_0x4abcfe]['attachChange']['isAttached'])continue;const _0x3e9c3d=this['_removeRevisionMarkers'](JSON['parse'](_0x448476['diffData'][_0x4abcfe]['insertions'])),_0x1872fe=this['editor']['editing']['view']['document'],_0x43f858=new _0x288804(_0x1872fe,_0x3e9c3d['map'](_0x39afbf=>B(_0x39afbf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x93ef9c[_0x4abcfe]=this['editor']['data']['processor']['toData'](_0x43f858),this['editor']['data']['processor']['useFillerType']('default');}return _0x93ef9c;}async['getRevisionRootsAttributes'](_0x2708b6){await this['_loadRevisionData'](_0x2708b6);const _0x5ee8f5={};for(const _0x28c630 in _0x2708b6['diffData'])_0x2708b6['diffData'][_0x28c630]['attachChange']&&!_0x2708b6['diffData'][_0x28c630]['attachChange']['isAttached']||(_0x5ee8f5[_0x28c630]=_0x2708b6['diffData'][_0x28c630]['attributesAfter']||{});return _0x5ee8f5;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4feb2f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2cc2f7=0x0;_0x2cc2f7<_0x4feb2f['length'];_0x2cc2f7++){const _0x2d4496=_0x4feb2f[_0x2cc2f7];let _0xab6ce6=!0x1;for(const _0x1f7df9 of Object['keys'](_0x2d4496))void 0x0===_0x2d4496[_0x1f7df9]?delete _0x2d4496[_0x1f7df9]:'id'!==_0x1f7df9&&(_0xab6ce6=!0x0);_0xab6ce6||(_0x4feb2f[_0x2cc2f7]=null);}if(_0x4feb2f=_0x4feb2f['filter'](_0x1e72d6=>null!==_0x1e72d6),!_0x4feb2f['length'])return;for(let _0x416308=0x0;_0x416308<_0x4feb2f['length'];_0x416308++){const _0x43d170=_0x4feb2f[_0x416308];void 0x0!==_0x43d170['fromVersion']&&void 0x0===_0x43d170['toVersion']&&(_0x43d170['toVersion']=this['repository']['getRevision'](_0x43d170['id'])['toVersion']),void 0x0!==_0x43d170['toVersion']&&void 0x0===_0x43d170['fromVersion']&&(_0x43d170['fromVersion']=this['repository']['getRevision'](_0x43d170['id'])['fromVersion']);}const _0x25f5f7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4feb2f,_0x25f5f7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x30b209=>{if(_0x30b209){for(const _0x2ba799 of _0x30b209)this['setRevisionData']({'id':_0x2ba799['id'],'createdAt':_0x2ba799['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5b9843,_0x347735){let _0xc39fbb=this['editor']['config']['get']('initialData'),_0x2083bb=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xc39fbb){_0xc39fbb={};for(const _0x52277c of this['editor']['model']['document']['getRootNames']())_0xc39fbb[_0x52277c]='';}if('string'==typeof _0xc39fbb&&(_0xc39fbb={'main':_0xc39fbb}),void 0x0===_0x2083bb){_0x2083bb={};for(const _0x26c701 of this['editor']['model']['document']['getRootNames']())_0x2083bb[_0x26c701]={};}let _0xa35912=!0x1;const _0x2137ee=Object['keys'](_0xc39fbb),_0x1daac7=Object['keys'](_0x5b9843);for(const _0x30bf0d of _0x2137ee){if(_0xc39fbb[_0x30bf0d]!==_0x5b9843[_0x30bf0d]&&''!==_0xc39fbb[_0x30bf0d]['trim']()){_0xa35912=!0x0;break;}if(!_0x298fe0(_0x2083bb[_0x30bf0d],_0x347735[_0x30bf0d])&&Object['keys'](_0x2083bb[_0x30bf0d])['length']>0x0){_0xa35912=!0x0;break;}}_0xa35912||(_0xa35912=_0x1daac7['some'](_0x46de3c=>!this['editor']['model']['document']['getRoot'](_0x46de3c))),_0xa35912&&_0x5230f2('editor-initial-data-replaced-with-revision-data',{'editorData':_0xc39fbb,'editorRootsAttributes':_0x2083bb,'revisionData':_0x5b9843,'revisionRootsAttributes':_0x347735}),this['editor']['config']['set']('initialData',_0x5b9843),this['editor']['config']['set']('rootsAttributes',_0x347735);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x67dffa=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x67dffa['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5a552f){const _0x3e47e2=this['repository']['getRevisions']();_0x3e47e2['reverse']();let _0xae606d=0x0;for(;_0xae606d<_0x3e47e2['length'];){const _0x271902=_0x3e47e2[_0xae606d];if(_0x271902===this['currentRevision']){_0xae606d++;continue;}if(_0x271902['id']===this['_initialRevisionId'])break;const _0x1f59e9=_0x5a552f['toVersion']-_0x271902['toVersion']||_0x5a552f['fromVersion']-_0x271902['fromVersion'];if(_0x1f59e9>0x0)break;if(_0x1f59e9<0x0)_0xae606d++;else{if(!_0x5a552f['creator']&&_0x271902['creator'])break;if(_0x271902['creator']||!_0x5a552f['creator']){if(_0x5a552f['createdAt']>_0x271902['createdAt'])break;_0xae606d++;}else _0xae606d++;}}return _0xae606d;}['setRevisionData'](_0x5636c2){const _0x3cbc2a=this['repository']['getRevision'](_0x5636c2['id']);if(_0x5636c2['createdAt']&&(_0x5636c2['createdAt']=new Date(_0x5636c2['createdAt'])),_0x5636c2['authorsIds']){const _0x1acd08=this['editor']['plugins']['get']('Users');_0x5636c2['authors']=_0x5636c2['authorsIds']['map'](_0x2113be=>_0x1acd08['getUser'](_0x2113be));}_0x3cbc2a['_update'](_0x5636c2,!0x0);}['buildRevisionData']({revision:_0xaf7738=null,from:_0x327443=null,to:_0xd308a7=null}){_0x327443=null!==_0x327443?_0x327443:_0xaf7738['fromVersion'],_0xd308a7=null!==_0xd308a7?_0xd308a7:_0xaf7738['toVersion'];const _0x1b3eea=this['_revisionDataBuilder']['getData'](_0x327443,_0xd308a7),_0x14157e={'diffData':_0x1b3eea['diffData'],'authorsIds':_0x1b3eea['authorsIds'],'fromVersion':_0x327443,'toVersion':_0xd308a7};if(!_0xaf7738||_0xd308a7!==_0xaf7738['toVersion']){const _0x100ea4=_0xd308a7-0x1,_0x44ea16=this['_source']['history']['getOperation'](_0x100ea4);_0x14157e['createdAt']=_0x44ea16&&_0x44ea16['createdAt']||new Date();}if(this['_loadedStateData']&&_0x327443===this['_loadedStateData']['fromVersion']){for(const _0x51de68 of this['_loadedStateData']['authors'])_0x14157e['authorsIds']['includes'](_0x51de68['id'])||_0x14157e['authorsIds']['push'](_0x51de68['id']);}return _0x14157e;}['_loadRevisionData'](_0x4435ce){if(!_0x4435ce||_0x4435ce['diffData'])return Promise['resolve']();{const _0x121ff9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x121ff9,'revisionId':_0x4435ce['id']})['then'](_0x25b020=>{_0x4435ce['diffData']=_0x25b020['diffData'];});}}['_bufferUpdate'](_0x26a250,_0x1d40b9,_0x298191){if(this['_bufferedUpdates']['has'](_0x26a250)){const _0x44a479=this['_bufferedUpdates']['get'](_0x26a250);_0x1d40b9=_0x298191?{..._0x44a479,..._0x1d40b9}:{..._0x1d40b9,..._0x44a479};}this['_bufferedUpdates']['set'](_0x26a250,_0x1d40b9);}['_getFromVersion'](_0x318d28){const _0x372d7e=this['repository']['getRevisions']();_0x372d7e['reverse'](),_0x372d7e['shift']();const _0x5823bd=_0x372d7e['find'](_0x370580=>_0x370580['toVersion']<=_0x318d28)['toVersion'];return _0x5823bd<this['_startingVersion']?this['_startingVersion']:_0x5823bd;}['_createInitialRevision'](_0x3d60ec){const _0x526755=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x526755)this['_initialRevisionId']=_0x526755['id'];else{const _0x1b9f91=!this['editor']['model']['document']['roots']['find'](_0x132074=>this['editor']['model']['hasContent'](_0x132074)),_0x1136d0=this['editor']['plugins']['get']('Users')['me']['id'],_0x53d773=y(this['editor']['locale'],_0x1b9f91?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3d60ec,'to':_0x3d60ec,'id':this['_initialRevisionId'],'name':_0x53d773,'creatorId':_0x1136d0});}}['_createCurrentRevision'](_0x5ce3d4){const _0x386b80=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x386b80),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5ce3d4,'to':_0x5ce3d4,'id':_0x386b80,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1a0230,from:_0xef6186,to:_0x14607a,creatorId:_0x5dc291,id:_0x5ed2de}){const _0xf2f135=this['buildRevisionData']({'from':_0xef6186,'to':_0x14607a});_0xf2f135['name']=_0x1a0230,_0xf2f135['creatorId']=_0x5dc291,_0xf2f135['id']=_0x5ed2de;const _0x58cc40=this['addRevisionData'](_0xf2f135);return this['adapter']&&this['_bufferUpdate'](_0xf2f135['id'],_0xf2f135,!0x0),_0x58cc40;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x515b14){return(_0x515b14=_0x515b14['filter'](_0x163588=>!_0x163588['name']||'revision-start'!==_0x163588['name']&&'revision-end'!==_0x163588['name']))['forEach'](_0x1927f6=>{'string'!=typeof _0x1927f6&&(_0x1927f6['children']=this['_removeRevisionMarkers'](_0x1927f6['children']),_0x1927f6['attributes']=_0x1927f6['attributes']['filter'](_0x53074c=>!_0x53074c[0x0]['startsWith']('data-revision-')));}),_0x515b14;}}function B(_0x2ab831,_0x56ae0b){const _0x7367b1=_0x56ae0b['editing']['view']['document'];if('string'==typeof _0x2ab831)return new _0x464038(_0x7367b1,_0x2ab831);{const _0x49f1f9=_0x2ab831['children']['map'](_0x6aa97f=>B(_0x6aa97f,_0x56ae0b));return new(T[_0x2ab831['type']]||_0x2aade1)(_0x7367b1,_0x2ab831['name'],_0x2ab831['attributes'],_0x49f1f9);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xff4c61){this['editor']=_0xff4c61,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'](_0x4d3434){this['source']=_0x4d3434;const _0x2b8d27=new Map(),_0x3cac80=new Map(),_0xf430ef=this['editor']['model']['document']['roots']['map'](_0x55a5d2=>_0x55a5d2['rootName']);for(const _0x5704e1 of _0xf430ef){const _0x435721=this['editor']['model']['document']['getRoot'](_0x5704e1),_0x581215=q(_0x435721);_0x2b8d27['set'](_0x5704e1,_0x581215),_0x3cac80['set'](_0x5704e1,Object['fromEntries'](_0x435721['getAttributes']()));}const _0x132532=Array['from'](this['editor']['model']['markers'])['map'](_0x394b79=>[_0x394b79['name'],_0x394b79['getRange']()]),_0x5f3bf=this['source']['version'];this['_saveMetaData'](_0x5f3bf,_0x2b8d27,_0x132532,_0x3cac80),this['_startingRevisionId']=this['_revisionId'];const _0x3b7b52=new Map(),_0x4e05eb=new Map();for(const _0x5d191e of _0xf430ef){const _0x378a77=G(_0x5d191e);_0x3b7b52['set'](_0x5d191e,_0x378a77),_0x4e05eb['set'](_0x5d191e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3b7b52,[],_0x4e05eb);}['getData'](_0x506171,_0x5c64b2){if(this['_lastFrom']===_0x506171&&this['_lastTo']<=_0x5c64b2)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x5c64b2,!0x0);else{if(!this['_savedMetaData']['has'](_0x506171)){const _0x51a6ec=this['_getPreviousFrom'](_0x506171);this['_calculateMetaData'](_0x51a6ec,_0x506171,!0x1);}this['_calculateMetaData'](_0x506171,_0x5c64b2,!0x0);}return this['_lastFrom']=_0x506171,this['_lastTo']=_0x5c64b2,this['_getState']();}['loadState'](_0x2e6be0){this['_reset'](),this['_lastFrom']=_0x2e6be0['fromVersion'],this['_lastTo']=_0x2e6be0['toVersion'];for(const _0xda1078 in _0x2e6be0['diffData']){const _0x18765e=_0x2e6be0['diffData'][_0xda1078]['attachChange'],_0x48b503=_0x3aed55(_0x2e6be0['diffData'][_0xda1078]['attributesBefore'])||{},_0x374988=this['_makeModelFromViewString'](_0x2e6be0['diffData'][_0xda1078]['deletions']);_0x374988['rootName']=_0xda1078,_0x374988['_isAttached']=!_0x18765e||!_0x18765e['isAttached'],_0x374988['isAttached']=()=>_0x374988['_isAttached'],this['_baseRoots']['set'](_0xda1078,_0x374988),this['_baseRootsAttributes']['set'](_0xda1078,_0x48b503),_0x18765e&&this['_touchedRoots']['set'](_0xda1078,_0x18765e);const _0x59a936=this['_makeIdsRoot'](_0x374988);this['_baseIdsRoots']['set'](_0xda1078,_0x59a936);for(const [_0x4b2fb9,_0x4a83bd]of _0x374988['markers']){if(!_0x4b2fb9['startsWith']('revision:'))continue;const _0x24f1ab=_0x4b2fb9['split'](':')[0x2];for(const _0x3cf825 of _0x4a83bd['getWalker']({'singleCharacters':!0x0})){const _0x34a954=this['_getVidAttributeName'](_0x3cf825),_0x6b49f7='elementEnd'==_0x3cf825['type']?_0x3cf825['previousPosition']['path']['slice'](0x0,-0x1):_0x3cf825['previousPosition']['path'],_0x477d65=_0x59a936['getNodeByPath'](_0x6b49f7)['getAttribute'](_0x34a954);this['_touched']['set'](_0x477d65,{'userId':_0x24f1ab});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1a4c95=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33bce5=>!this['_touched']['has'](_0x33bce5));let _0x28978f=0x0;const _0x195394=new Map();for(const _0x304f64 in _0x2e6be0['diffData']){const _0xf571fb=_0x2e6be0['diffData'][_0x304f64]['attachChange'],_0x57ed10=_0x3aed55(_0x2e6be0['diffData'][_0x304f64]['attributesAfter'])||{},_0x3cec6c=this['_makeModelFromViewString'](_0x2e6be0['diffData'][_0x304f64]['insertions']);_0x3cec6c['rootName']=_0x304f64,_0x3cec6c['_isAttached']=!_0xf571fb||_0xf571fb['isAttached'],_0x3cec6c['isAttached']=()=>_0x3cec6c['_isAttached'],this['_diffRoots']['set'](_0x304f64,_0x3cec6c),this['_diffRootsAttributes']['set'](_0x304f64,_0x57ed10);const _0x561817=this['_makeIdsRoot'](_0x3cec6c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x304f64,_0x561817),_0x195394['set'](_0x304f64,_0x3cec6c['isAttached']()?_0x57ed10:{});for(const [_0x410254,_0x4fcdf4]of _0x3cec6c['markers']){if(!_0x410254['startsWith']('revision:'))continue;const _0x2f2539=_0x410254['split'](':')[0x2];for(const _0x4671c7 of _0x4fcdf4['getWalker']({'singleCharacters':!0x0})){const _0x20f634=this['_getVidAttributeName'](_0x4671c7),_0x418e6a=this['_revisionId']++,_0x1f9ad3='elementEnd'==_0x4671c7['type']?_0x4671c7['previousPosition']['path']['slice'](0x0,-0x1):_0x4671c7['previousPosition']['path'];_0x561817['getNodeByPath'](_0x1f9ad3)['_setAttribute'](_0x20f634,_0x418e6a),this['_touched']['set'](_0x418e6a,{'userId':_0x2f2539});}}for(const _0x133ebb of this['editor']['model']['createRangeIn'](_0x3cec6c)['getWalker']({'singleCharacters':!0x0})){const _0x272eb9=this['_getVidAttributeName'](_0x133ebb),_0x587ca7='elementEnd'==_0x133ebb['type']?_0x133ebb['previousPosition']['path']['slice'](0x0,-0x1):_0x133ebb['previousPosition']['path'],_0x20f516=_0x561817['getNodeByPath'](_0x587ca7);_0x20f516['getAttribute'](_0x272eb9)>0x0||_0x20f516['_setAttribute'](_0x272eb9,_0x1a4c95[_0x28978f++]);}for(const [_0x498a03,_0x185f56]of _0x3cec6c['markers'])_0x498a03['startsWith']('revision:')||this['_markers']['set'](_0x498a03,_0x185f56);}const _0x4cd9ea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4cd9ea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4cd9ea,0x1));const _0x7a2bb7=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x7a2bb7),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x7a2bb7,0x1));const _0x181347=Array['from'](this['_diffRoots'])['map'](([_0x285ff1,_0x632dde])=>[_0x285ff1,q(_0x632dde)]);this['_saveMetaData'](this['_lastTo'],_0x181347,this['_markers'],_0x195394);}['_makeModelFromViewString'](_0x53591f){const _0x261073=JSON['parse'](_0x53591f),_0x2d8e76=this['editor']['editing']['view']['document'],_0xa728c2=new _0x288804(_0x2d8e76,_0x261073['map'](_0x268951=>B(_0x268951,this['editor'])));return this['editor']['data']['toModel'](_0xa728c2);}['_saveMetaData'](_0x4f31c7,_0x8bd366,_0x190e42,_0x396e9f){const _0xe64f20=new Map(_0x8bd366),_0x443ffb=new Map(_0x3aed55(_0x396e9f)),_0x66a1c9=new Map();for(const [_0x171876,_0x4a5bb8]of _0x190e42)_0x66a1c9['set'](_0x171876,{'start':_0x4a5bb8['start']['clone'](),'end':_0x4a5bb8['end']['clone'](),'rootName':_0x4a5bb8['root']['rootName']});this['_savedMetaData']['set'](_0x4f31c7,{'roots':_0xe64f20,'markers':_0x66a1c9,'rootsAttributes':_0x443ffb});}['_removeMetaData'](_0xaa43b0){this['_savedMetaData']['delete'](_0xaa43b0);}['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'](_0xfc494a,_0x2f419f=null){let _0xbb8360=null;_0xfc494a['is']('documentFragment')||(_0xbb8360=new ft(_0xfc494a['name'],{'vid_start':null===_0x2f419f?this['_revisionId']++:_0x2f419f++}));const _0x2ffccf=[];for(const _0x2f601f of _0xfc494a['getChildren']())if(_0x2f601f['is']('element')){_0x2ffccf['push'](this['_makeIdsRoot'](_0x2f601f,_0x2f419f));const _0xaa4c7b=_0x2ffccf[_0x2ffccf['length']-0x1];null!==_0x2f419f&&(_0x2f419f=_0xaa4c7b['is']('element','$text')?_0xaa4c7b['getAttribute']('vid')+0x1:_0xaa4c7b['getAttribute']('vid_end')+0x1);}else{for(let _0x4c8cc9=0x0;_0x4c8cc9<_0x2f601f['offsetSize'];_0x4c8cc9++)_0x2ffccf['push'](new ft('$text',{'vid':null===_0x2f419f?this['_revisionId']++:_0x2f419f++}));}if(_0xfc494a['is']('documentFragment')){const _0x31297c=G(_0xfc494a['rootName']);return _0x31297c['_insertChild'](0x0,_0x2ffccf),_0x31297c;}return _0xbb8360['_setAttribute']('vid_end',null===_0x2f419f?this['_revisionId']++:_0x2f419f++),_0xbb8360['_insertChild'](0x0,_0x2ffccf),_0xbb8360;}['_calculateMetaData'](_0x477c6a,_0x3ae41e,_0xafba56){this['_reset']();const {roots:_0x3bf9c4,markers:_0x373028,rootsAttributes:_0x4337c0}=this['_savedMetaData']['get'](_0x477c6a);this['_baseRoots']=new Map(_0x3bf9c4),this['_baseRootsAttributes']=new Map(_0x3aed55(_0x4337c0));for(const [_0x89faed,_0x1dcf49]of this['_baseRoots'])if('$graveyard'!==_0x89faed&&(this['_diffRoots']['set'](_0x89faed,q(_0x1dcf49)),this['_diffRootsAttributes']=new Map(_0x3aed55(_0x4337c0)),_0xafba56)){const _0x3e9f39=this['_revisionId'];this['_idsRoots']['set'](_0x89faed,this['_makeIdsRoot'](_0x1dcf49)),this['_baseIdsRoots']['set'](_0x89faed,this['_makeIdsRoot'](_0x1dcf49,_0x3e9f39));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xafba56&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3ee653,_0x262173]of _0x373028){const _0xc4880d=this['_baseRoots']['get'](_0x262173['rootName']),_0x27a23b=this['_diffRoots']['get'](_0x262173['rootName']),_0x8b53c1=new vt(this['_fixPosition'](_0x262173['start'],_0xc4880d),this['_fixPosition'](_0x262173['end'],_0xc4880d)),_0x3907e7=this['_fixRange'](_0x8b53c1,_0x27a23b);_0xc4880d['markers']['set'](_0x3ee653,_0x8b53c1),this['_markers']['set'](_0x3ee653,_0x3907e7);}this['_applyOperations'](_0x477c6a,_0x3ae41e,_0xafba56);}['_applyOperations'](_0x1627f1,_0x71090,_0x305e21){for(const _0x262fc0 of this['source']['getOperations'](_0x1627f1,_0x71090))this['_handleOperation'](_0x262fc0,_0x305e21);for(const _0x3d5fce of this['_diffRoots']['values']())_0x3d5fce['markers']['clear']();for(const [_0x3fca5b,_0x3d85e2]of this['_markers']){this['_diffRoots']['get'](_0x3d85e2['root']['rootName'])['markers']['set'](_0x3fca5b,_0x3d85e2['clone']());}const _0x5bbbdc=new Map(),_0x54ac43=new Map();for(const [_0x4c3f13,_0x2e622d]of this['_diffRoots'])_0x5bbbdc['set'](_0x4c3f13,q(_0x2e622d)),_0x54ac43['set'](_0x4c3f13,this['_diffRootsAttributes']['get'](_0x4c3f13));this['_saveMetaData'](_0x71090,_0x5bbbdc,this['_markers'],_0x54ac43);}['_getPreviousFrom'](_0x17fb0f){const _0x143f74=Array['from'](this['_savedMetaData']['keys']());_0x143f74['sort']((_0xee36d3,_0x98031d)=>_0xee36d3-_0x98031d),_0x143f74['reverse']();for(const _0x3e7738 of _0x143f74)if(_0x3e7738<_0x17fb0f)return _0x3e7738;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x219de8,_0x2f1d83){const _0x44412b=Array['from'](_0x2f1d83['markers'])['map'](([_0x34dc58,_0x3a78f8])=>[_0x34dc58,this['_fixRange'](_0x3a78f8,_0x219de8)]);_0x219de8['markers']=new Map(_0x44412b);}['_transformMarkers'](_0x1b0dc1){for(const _0x370c0a of this['_markers']['values']()){const _0x4eed84=_0x370c0a['getTransformedByOperation'](_0x1b0dc1),_0x678ef1=vt['_createFromRanges'](_0x4eed84);_0x370c0a['start']=_0x678ef1['start'],_0x370c0a['end']=_0x678ef1['end'];}}['_handleOperation'](_0x1605c3,_0x23b260){if('addRoot'==_0x1605c3['type']||'detachRoot'==_0x1605c3['type'])return void this['_handleRootOperation'](_0x1605c3,_0x23b260);if('insert'==_0x1605c3['type']){const _0x2c1ef7=_0x1605c3['position']['root']['rootName'];this['_diffRoots']['has'](_0x2c1ef7)||(this['_diffRoots']['set'](_0x2c1ef7,G(_0x2c1ef7,!0x0)),this['_diffRootsAttributes']['set'](_0x2c1ef7,{}),_0x23b260&&this['_idsRoots']['set'](_0x2c1ef7,G(_0x2c1ef7,!0x0)));}else{if('addRootAttribute'==_0x1605c3['type']||'removeRootAttribute'==_0x1605c3['type']||'changeRootAttribute'==_0x1605c3['type'])return void this['_handleRootAttributeOperation'](_0x1605c3);}const _0x298b3e=this['_cloneOperation'](_0x1605c3,this['_diffRoots']);if('marker'!==_0x1605c3['type']&&(_0x298b3e['_execute'](),this['_transformMarkers'](_0x298b3e)),_0x23b260)switch(_0x298b3e['type']){case'insert':this['_handleInsertOperation'](_0x1605c3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1605c3);break;case'merge':this['_handleMergeOperation'](_0x1605c3);break;case'split':this['_handleSplitOperation'](_0x1605c3);break;case'marker':this['_handleMarkerOperation'](_0x1605c3);}}['_cloneOperation'](_0xec1f20,_0x2a9128){const _0x314cc2=_0xec1f20['clone']();return _0x314cc2['_authorId']=_0xec1f20['_authorId'],this['_fixOperation'](_0x314cc2,_0x2a9128),_0x314cc2;}['_getBaseVids'](_0x1f582a){return _0x1f582a['map'](_0x298e4f=>{const _0x271e8f=this['_getVidAttributeName'](_0x298e4f);return Number(_0x298e4f['item']['getAttribute'](_0x271e8f));});}['_generateTape'](_0x4f39cf,_0x450d16){if(_0x4f39cf['is']('element','$text'))_0x450d16['push']({'item':_0x4f39cf,'type':'text'});else{_0x4f39cf['is']('element')&&_0x450d16['push']({'item':_0x4f39cf,'type':'elementStart'});for(const _0x10321c of _0x4f39cf['getChildren']())this['_generateTape'](_0x10321c,_0x450d16);_0x4f39cf['is']('element')&&_0x450d16['push']({'item':_0x4f39cf,'type':'elementEnd'});}return _0x450d16;}['_getState'](){const _0x52cfbf=new Map(this['_touched']),_0x124ea9=new Map(_0x52cfbf),_0x3b45d1=new Map(),_0x4a72ec={'insertions':{},'deletions':{}},_0xa2cc6={'insertions':{},'deletions':{}},_0xdb90a4=new Map(),_0x5d6796=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5d6796['delete']('$graveyard');for(const _0x3bbc17 of _0x5d6796){const _0x50aeae=this['_diffRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1),_0xa92ec7=this['_baseRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1);_0x50aeae['isAttached']()||_0xa92ec7['isAttached']()?(_0x4a72ec['insertions'][_0x3bbc17]=q(_0x50aeae),_0x4a72ec['deletions'][_0x3bbc17]=q(_0xa92ec7),this['_copyMarkers'](_0x4a72ec['deletions'][_0x3bbc17],_0xa92ec7),this['_copyMarkers'](_0x4a72ec['insertions'][_0x3bbc17],_0x50aeae),_0xa2cc6['insertions'][_0x3bbc17]=this['_generateTape'](this['_idsRoots']['get'](_0x3bbc17),[]),_0xa2cc6['deletions'][_0x3bbc17]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1),[])):_0x5d6796['delete'](_0x3bbc17);}for(const _0x529ec0 of _0x5d6796){const _0x5ac447=_0xa2cc6['insertions'][_0x529ec0];for(const _0xcfe053 of _0x5ac447){const _0x4ddad3=this['_getVidAttributeName'](_0xcfe053),_0x1f31bc=_0xcfe053['item']['getAttribute'](_0x4ddad3);_0x124ea9['delete'](_0x1f31bc),_0x1f31bc>=this['_startingRevisionId']&&_0x3b45d1['set'](_0x1f31bc,_0x52cfbf['get'](_0x1f31bc));}}for(const _0x53e937 of _0x5d6796){const _0x4c560f=_0xa2cc6['insertions'][_0x53e937],_0x8b738f=this['_getBaseVids'](_0xa2cc6['deletions'][_0x53e937]);let _0x4f0e64=0x0;for(const _0x1bc0a9 of _0x4c560f){const _0xd23976=this['_getVidAttributeName'](_0x1bc0a9),_0x4cba6f=_0x1bc0a9['item']['getAttribute'](_0xd23976);if(!_0x3b45d1['has'](_0x4cba6f)&&!_0xdb90a4['has'](_0x4cba6f)){if(_0x124ea9['has'](_0x4cba6f))_0x4f0e64++;else{if(_0x4cba6f!=_0x8b738f[_0x4f0e64]){const _0x4269a7=_0x52cfbf['get'](_0x4cba6f)||_0x52cfbf['get'](_0x8b738f[_0x4f0e64]);for(;_0x4cba6f!=_0x8b738f[_0x4f0e64];)_0x124ea9['has'](_0x8b738f[_0x4f0e64])||(_0xdb90a4['set'](_0x8b738f[_0x4f0e64],_0x4269a7),_0x52cfbf['set'](_0x8b738f[_0x4f0e64],_0x4269a7)),_0x4f0e64++;}_0x4f0e64++;}}}}for(const _0x432679 of _0x5d6796){const _0x2f688f=_0xa2cc6['insertions'][_0x432679];for(const _0x12e056 of _0x2f688f){const _0x53411a=this['_getVidAttributeName'](_0x12e056),_0x924e32=_0x12e056['item']['getAttribute'](_0x53411a);if(_0xdb90a4['has'](_0x924e32)){const _0x459323=_0xdb90a4['get'](_0x924e32);_0x124ea9['has'](_0x924e32)||_0x124ea9['set'](_0x924e32,{..._0x459323}),_0x3b45d1['set'](_0x924e32,{..._0x459323});}}}for(const _0x14f91a of _0x124ea9['keys']())_0x14f91a>=this['_startingRevisionId']&&_0x124ea9['delete'](_0x14f91a);const _0x235fe5=new Map();for(const _0x55d927 of _0x5d6796){let _0x377d74=_0xa2cc6['insertions'][_0x55d927];for(const _0x753f5 of _0x377d74)if(_0x753f5['item']['is']('element','tableCell')){const _0x3bd2d7=this['_getVidAttributeName'](_0x753f5),_0x22d7d0=_0x753f5['item']['getAttribute'](_0x3bd2d7);if(_0x3b45d1['has'](_0x22d7d0)){const _0x37a7ab=_0x753f5['item']['parent']['parent']['getAttribute']('vid_start'),_0x573eb2=_0x235fe5['get'](_0x37a7ab)||new Set();_0x573eb2['add'](_0x3b45d1['get'](_0x22d7d0)['userId']),_0x235fe5['set'](_0x37a7ab,_0x573eb2);}}_0x377d74=_0xa2cc6['deletions'][_0x55d927];for(const _0x21a6b2 of _0x377d74)if(_0x21a6b2['item']['is']('element','tableCell')){const _0x327213=this['_getVidAttributeName'](_0x21a6b2),_0x5d0fef=_0x21a6b2['item']['getAttribute'](_0x327213);if(_0x124ea9['has'](_0x5d0fef)){const _0x560d82=_0x21a6b2['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a0599=_0x235fe5['get'](_0x560d82)||new Set();_0x2a0599['add'](_0x124ea9['get'](_0x5d0fef)['userId']),_0x235fe5['set'](_0x560d82,_0x2a0599);}}for(const _0x28fc8a of _0x235fe5['keys']())(_0x3b45d1['has'](_0x28fc8a)||_0x124ea9['has'](_0x28fc8a))&&_0x235fe5['delete'](_0x28fc8a);}for(const _0x3d9b92 of _0x5d6796){const _0x226bf3=_0xa2cc6['insertions'][_0x3d9b92];let _0x1f46e7=null,_0x506f30=null;for(const _0x2e467a of _0x226bf3){const _0x515b39=this['_getVidAttributeName'](_0x2e467a),_0x1623ad=_0x2e467a['item']['getAttribute'](_0x515b39),_0x386308=_0x235fe5['get'](_0x1623ad);_0x386308&&'elementStart'==_0x2e467a['type']&&(_0x1f46e7=Array['from'](_0x386308)[0x0],_0x506f30=_0x2e467a['item']['getAttribute']('vid_end')),_0x1f46e7&&(_0x124ea9['set'](_0x1623ad,{'userId':_0x1f46e7}),_0x3b45d1['set'](_0x1623ad,{'userId':_0x1f46e7})),_0x1623ad==_0x506f30&&(_0x1f46e7=null,_0x506f30=null);}}const _0x34fbfd={},_0x4a24bc=new Set();for(const _0x5e57d3 of _0x5d6796){const _0x462d62=_0x4a72ec['deletions'][_0x5e57d3],_0x42af05=_0x4a72ec['insertions'][_0x5e57d3];for(const {userId:_0x2fdd21}of this['_touchedMarkers']['values']())null!==_0x2fdd21&&_0x4a24bc['add'](_0x2fdd21);for(const {userId:_0x4fabb4}of this['_touchedRoots']['values']())null!==_0x4fabb4&&_0x4a24bc['add'](_0x4fabb4);this['_markChanges'](_0x42af05,_0xa2cc6['insertions'][_0x5e57d3],_0x3b45d1,'insertion',_0x4a24bc),this['_markChanges'](_0x462d62,_0xa2cc6['deletions'][_0x5e57d3],_0x124ea9,'deletion',_0x4a24bc),_0x34fbfd[_0x5e57d3]={'insertions':this['_prepareViewToSave'](_0x42af05),'deletions':this['_prepareViewToSave'](_0x462d62),'attachChange':this['_touchedRoots']['get'](_0x5e57d3)||null,'attributesBefore':_0x3aed55(this['_baseRootsAttributes']['get'](_0x5e57d3))||{},'attributesAfter':_0x3aed55(this['_diffRootsAttributes']['get'](_0x5e57d3))};}return{'diffData':_0x34fbfd,'authorsIds':Array['from'](_0x4a24bc)};}['_processRootBeforeSave'](_0x7e742d){for(const [,_0xbf759b]of _0x7e742d['markers']){const _0x2f21c7=_0xbf759b['start']['getAncestors']()['filter'](_0x10729b=>'tableCell'==_0x10729b['name']);for(const _0x506df1 of _0x2f21c7)0x1==_0x506df1['childCount']&&_0x506df1['getChild'](0x0)['is']('element','paragraph')&&_0x506df1['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x309c29){this['_processRootBeforeSave'](_0x309c29);const _0x179529=this['editor']['data']['toView'](_0x309c29,{}),_0x37384d=Array['from'](_0x179529['getChildren']())['map'](_0x59b5ea=>this['_getViewJson'](_0x59b5ea));return JSON['stringify'](_0x37384d);}['_getViewJson'](_0x43662a){if(_0x43662a['is']('$text'))return _0x43662a['data'];{const _0x30e6f0=_0x43662a;return{'type':Object['keys'](T)['find'](_0x188962=>_0x43662a instanceof T[_0x188962]),'name':_0x30e6f0['name'],'attributes':Array['from'](_0x30e6f0['getAttributes']()),'children':Array['from'](_0x30e6f0['getChildren']())['map'](_0x5961b9=>this['_getViewJson'](_0x5961b9))};}}['_markChanges'](_0x3c4087,_0x423891,_0x1e6ce5,_0x5aaa4a,_0x2553bc){let _0x362e98=null,_0x2dc12a=null,_0x17c4f6=0x0;const _0x22473d=this['editor']['model'];for(let _0x123cc6=0x0;_0x123cc6<_0x423891['length'];_0x123cc6++){const _0x3447ee=this['_getVidAttributeName'](_0x423891[_0x123cc6]),_0x52631a=_0x423891[_0x123cc6]['item']['getAttribute'](_0x3447ee),_0x544eb4=_0x1e6ce5['get'](_0x52631a),_0x10f0bf=_0x123cc6==_0x423891['length']-0x1;(!_0x362e98&&_0x544eb4&&(_0x362e98=_0x544eb4,_0x2dc12a=_0x423891[_0x123cc6]),_0x362e98&&(!_0x544eb4||_0x544eb4['userId']!=_0x362e98['userId']))&&(_0x339416(_0x544eb4,L(_0x2dc12a,_0x3c4087,_0x22473d),L(_0x423891[_0x123cc6],_0x3c4087,_0x22473d)),_0x362e98=_0x544eb4||null,_0x2dc12a=_0x544eb4?_0x423891[_0x123cc6]:null),_0x362e98&&_0x10f0bf&&_0x339416(_0x544eb4,L(_0x2dc12a,_0x3c4087,_0x22473d),W(_0x423891[_0x123cc6],_0x3c4087,_0x22473d));}function _0x339416(_0x43fc26,_0x299704,_0x528385){const _0x22e408=_0x362e98['userId'],_0x4f0c83='revision:'+_0x5aaa4a+':'+_0x22e408+':'+_0x17c4f6++,_0x1ff524=_0x22473d['createRange'](_0x299704,_0x528385);_0x3c4087['markers']['set'](_0x4f0c83,_0x1ff524),null!==_0x22e408&&_0x2553bc['add'](_0x22e408);}}['_getVidAttributeName'](_0x4dcea4){switch(_0x4dcea4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1654aa,_0x119c70){_0x1654aa['baseVersion']=null;for(const _0x583359 in _0x1654aa){const _0x486468=_0x1654aa[_0x583359];if(_0x486468 instanceof gt){const _0x4ddd4e=_0x119c70['get'](_0x486468['root']['rootName']);_0x1654aa[_0x583359]=this['_fixPosition'](_0x486468,_0x4ddd4e);}if(_0x486468 instanceof vt){const _0xdf85cb=_0x119c70['get'](_0x486468['root']['rootName']);_0x1654aa[_0x583359]=this['_fixRange'](_0x486468,_0xdf85cb);}'root'===_0x583359&&(_0x1654aa['root']=_0x119c70['get'](_0x1654aa['root']['rootName']));}}['_fixRange'](_0x395a16,_0x198e53){return this['editor']['model']['createRange'](this['_fixPosition'](_0x395a16['start'],_0x198e53),this['_fixPosition'](_0x395a16['end'],_0x198e53));}['_fixPosition'](_0x52a139,_0x4db915){return this['editor']['model']['createPositionFromPath'](_0x4db915,_0x52a139['path'],_0x52a139['stickiness']);}['_handleInsertOperation'](_0x3cb9cb){const _0xea90bb=this['_idsRoots']['get'](_0x3cb9cb['position']['root']['rootName']),_0x17b26=this['_fixPosition'](_0x3cb9cb['position'],_0xea90bb),_0x1ce550=null===_0x3cb9cb['_authorId']?null:_0x3cb9cb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43526f=_0x17b26['parent'],_0x40c92e=this['_revisionId'],_0x40d459=[];for(const _0x385382 of _0x3cb9cb['nodes'])if(_0x385382['is']('element'))_0x40d459['push'](this['_makeIdsRoot'](_0x385382));else{for(let _0x289d0f=0x0;_0x289d0f<_0x385382['offsetSize'];_0x289d0f++)_0x40d459['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2dd185=this['_revisionId'];for(let _0x50d937=_0x40c92e;_0x50d937<_0x2dd185;_0x50d937++)this['_touched']['set'](_0x50d937,{'userId':_0x1ce550});_0x43526f['_insertChild'](_0x17b26['offset'],_0x40d459);}['_handleMoveOperation'](_0x1691a0){(_0x1691a0=this['_cloneOperation'](_0x1691a0,this['_idsRoots']))['_execute']();const _0xc944fb=null===_0x1691a0['_authorId']?null:_0x1691a0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5deaa3=_0x1691a0['getMovedRangeStart'](),_0x196be0=_0x5deaa3['parent'],_0x507b8e=_0x5deaa3['offset'];!function _0x54031b(_0xa33eb9,_0x4b0a5e,_0x4a0901,_0x58f440){for(let _0x3a8d30=_0x4a0901;_0x3a8d30<_0x58f440;_0x3a8d30++){const _0x43ed4d=_0x4b0a5e['getChild'](_0x3a8d30);_0x43ed4d['is']('element','$text')?_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid'),{'userId':_0xc944fb}):(_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid_start'),{'userId':_0xc944fb}),_0x54031b(_0xa33eb9,_0x43ed4d,0x0,_0x43ed4d['childCount']),_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid_end'),{'userId':_0xc944fb}));}}(this['_touched'],_0x196be0,_0x507b8e,_0x507b8e+_0x1691a0['howMany']);}['_handleMergeOperation'](_0x3cf95e){const _0x1edd07=null===(_0x3cf95e=this['_cloneOperation'](_0x3cf95e,this['_idsRoots']))['_authorId']?null:_0x3cf95e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x27a96d=_0x3cf95e['targetPosition']['parent'],_0x58ffa8=_0x3cf95e['sourcePosition']['parent'],_0x11f145=_0x27a96d['getAttribute']('vid_end'),_0x4d812c=_0x58ffa8['getAttribute']('vid_start');_0x27a96d['_setAttribute']('vid_end',_0x58ffa8['getAttribute']('vid_end')),_0x58ffa8['_setAttribute']('vid_end',_0x11f145),this['_touched']['set'](_0x4d812c,{'userId':_0x1edd07}),this['_touched']['set'](_0x11f145,{'userId':_0x1edd07}),_0x3cf95e['_execute']();}['_handleSplitOperation'](_0x5477cc){const _0xdf4691=null===(_0x5477cc=this['_cloneOperation'](_0x5477cc,this['_idsRoots']))['_authorId']?null:_0x5477cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b4c34=_0x5477cc['graveyardPosition'],_0x1f19d2=_0x5477cc['splitPosition']['parent'];_0x5477cc['_execute']();const _0x30152d=_0x1f19d2['getAttribute']('vid_end'),_0x498133=_0x5477cc['insertionPosition']['nodeAfter'];if(_0x4b4c34){const _0x1623f6=_0x498133['getAttribute']('vid_end'),_0xd0402e=_0x1f19d2['getAttribute']('vid_end');_0x1f19d2['_setAttribute']('vid_end',_0x1623f6),_0x498133['_setAttribute']('vid_end',_0xd0402e),this['_touched']['set'](_0x1f19d2['getAttribute']('vid_end'),{'userId':_0xdf4691}),this['_touched']['set'](_0x498133['getAttribute']('vid_start'),{'userId':_0xdf4691});}else{const _0x3e8205=this['_revisionId']++,_0x387924=this['_revisionId']++;_0x1f19d2['_setAttribute']('vid_end',_0x3e8205),_0x498133['_setAttribute']('vid_start',_0x387924),_0x498133['_setAttribute']('vid_end',_0x30152d),this['_touched']['set'](_0x3e8205,{'userId':_0xdf4691}),this['_touched']['set'](_0x387924,{'userId':_0xdf4691});}}['_handleMarkerOperation'](_0x2d7850){if(!_0x2d7850['affectsData'])return;const _0x457e8f=(_0x2d7850=this['_cloneOperation'](_0x2d7850,this['_diffRoots']))['oldRange']?_0x2d7850['oldRange']['root']:null,_0xbe1b50=_0x2d7850['newRange']?_0x2d7850['newRange']['root']:null;_0x457e8f&&this['_markers']['delete'](_0x2d7850['name']),_0xbe1b50&&this['_markers']['set'](_0x2d7850['name'],_0x2d7850['newRange']['clone']());const _0x51458c=null===_0x2d7850['_authorId']?null:_0x2d7850['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x519e7e=_0x2d7850['name'];if(!this['_touchedMarkers']['has'](_0x519e7e))return void this['_touchedMarkers']['set'](_0x519e7e,{'range':_0x2d7850['oldRange'],'userId':_0x51458c});const _0x191160=this['_touchedMarkers']['get'](_0x519e7e),_0x182832=_0x191160['range'],_0x543f6d=_0x2d7850['newRange'];null==_0x182832&&null==_0x543f6d||_0x182832&&_0x543f6d&&_0x182832['isEqual'](_0x543f6d)?this['_touchedMarkers']['delete'](_0x2d7850['name']):_0x191160['userId']=_0x51458c;}['_handleRootOperation'](_0x113cb4,_0x3fff7b){this['_diffRoots']['has'](_0x113cb4['rootName'])?this['_diffRoots']['get'](_0x113cb4['rootName'])['_isAttached']=_0x113cb4['isAdd']:(this['_diffRoots']['set'](_0x113cb4['rootName'],G(_0x113cb4['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x113cb4['rootName'],{}),_0x3fff7b&&this['_idsRoots']['set'](_0x113cb4['rootName'],G(_0x113cb4['rootName'],!0x0)));const _0x5e29eb=null===_0x113cb4['_authorId']?null:_0x113cb4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3690a2=this['_touchedRoots']['get'](_0x113cb4['rootName']);_0x3690a2&&_0x3690a2['userId']===_0x5e29eb?this['_touchedRoots']['delete'](_0x113cb4['rootName']):this['_touchedRoots']['set'](_0x113cb4['rootName'],{'userId':_0x5e29eb,'isAttached':_0x113cb4['isAdd']});}['_handleRootAttributeOperation'](_0x1fb96b){const _0x48bb99=this['_diffRootsAttributes']['get'](_0x1fb96b['root']['rootName']);null===_0x1fb96b['newValue']?delete _0x48bb99[_0x1fb96b['key']]:_0x48bb99[_0x1fb96b['key']]=_0x1fb96b['newValue'];}}function q(_0x2fb45f){const _0x440f7a=G(_0x2fb45f['rootName'],_0x2fb45f['isAttached']());for(const _0x1facff of _0x2fb45f['getChildren']()){const _0xdc953=_0x1facff['_clone'](!0x0);_0x440f7a['_appendChild'](_0xdc953);}return _0x440f7a;}function G(_0x2ccd73,_0xfd62b4=!0x0){const _0x187396=new wt();return _0x187396['rootName']=_0x2ccd73,_0x187396['_isAttached']=_0xfd62b4,_0x187396['isAttached']=()=>_0x187396['_isAttached'],_0x187396;}function L(_0x5411c1,_0x5051dc,_0x136ef7){const _0x427d09='elementEnd'==_0x5411c1['type']?_0x136ef7['createPositionAt'](_0x5411c1['item'],'end'):_0x136ef7['createPositionBefore'](_0x5411c1['item']);return _0x136ef7['createPositionFromPath'](_0x5051dc,_0x427d09['path'],_0x427d09['stickiness']);}function W(_0x20238d,_0x3f9dba,_0x1e17a0){const _0x32df42='elementStart'==_0x20238d['type']?_0x1e17a0['createPositionAt'](_0x20238d['item'],0x0):_0x1e17a0['createPositionAfter'](_0x20238d['item']);return _0x1e17a0['createPositionFromPath'](_0x3f9dba,_0x32df42['path'],_0x32df42['stickiness']);}class ns extends _0x4ee463{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4b267f,_0x1f88c1){super(_0x4b267f),this['focusTracker']=new _0x3a6ef4(),this['keystrokes']=new _0x2b4ea5(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1f88c1),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'](),_0x1948b3({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x555a1d=_0x3a7552=>_0x3a7552['stopPropagation']();this['keystrokes']['set']('arrowright',_0x555a1d),this['keystrokes']['set']('arrowleft',_0x555a1d),this['keystrokes']['set']('arrowup',_0x555a1d),this['keystrokes']['set']('arrowdown',_0x555a1d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x163805){this['revisionNameInputView']['fieldView']['element']['value']=_0x163805['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2084fb){const _0x50778c=new at(this['locale'],_0x27a5db),_0x359fbe=_0x50778c['fieldView'];_0x359fbe['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5633aa=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2084fb&&(_0x5633aa+='\x20('+y(this['locale'],'optional')+')'),(_0x50778c['label']=_0x5633aa,_0x359fbe['on']('input',()=>{this['revisionNameInputValue']=_0x359fbe['element']['value']['trim']();}),_0x50778c);}}class u extends _0x25b853{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1488c9=this['editor'],_0x5afdf4=_0x1488c9['plugins']['get']('RevisionTracker');_0x1488c9['ui']['componentFactory']['add']('revisionHistory',_0x4574a7=>{const _0x8d0d52=_0xaa4d18(_0x4574a7),_0x7547f0=_0x8d0d52['panelView']['children'],_0x2c9668=new te(_0x4574a7),_0x33c6ca=new _0x39934b(_0x4574a7),_0xf08196=new _0x302693(_0x4574a7),_0x2d6987=new _0x39934b(_0x4574a7),_0x265623=new _0x302693(_0x4574a7);return _0x8d0d52['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x5afdf4,'isEnabled',_0x1488c9,'isReadOnly',(_0x2f606d,_0x406a73,_0x11645e)=>_0x2f606d&&_0x406a73&&!_0x11645e),_0x8d0d52['buttonView']['set']({'icon':_0x152ab3['history'],'label':y(_0x4574a7,'Revision\x20history'),'tooltip':!0x0}),_0xf08196['set']({'label':y(_0x4574a7,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xf08196['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x5afdf4,'isEnabled',_0x1488c9,'isReadOnly',(_0x284cbb,_0x265e1a,_0x5b2ef5)=>_0x284cbb&&_0x265e1a&&!_0x5b2ef5),_0xf08196['on']('execute',()=>this['_showDialog']()),_0x265623['set']({'label':y(_0x4574a7,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x265623['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x1488c9,'isReadOnly',(_0x4c9629,_0x50331c)=>_0x4c9629&&!_0x50331c),_0x265623['on']('execute',()=>{_0x1488c9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x8d0d52['isOpen']=!0x1,_0x1488c9['editing']['view']['focus']();}),_0x33c6ca['children']['add'](_0xf08196),_0x2d6987['children']['add'](_0x265623),_0x2c9668['role']='menu',_0x2c9668['items']['addMany']([_0x33c6ca,_0x2d6987]),_0x7547f0['add'](_0x2c9668),_0x8d0d52;}),_0x1488c9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xf15886=this['editor'],_0x12deec=_0xf15886['locale'],_0x19561f=new _0x564dbb(_0x12deec),_0xadfdf3=new _0x37cb0e(_0x12deec);_0x19561f['buttonView']['set']({'icon':_0x152ab3['history'],'label':y(_0x12deec,'Revision\x20history')});const _0xae013c=new _0x37401f(_0x12deec,_0x19561f),_0x30252d=new _0x83d227(_0x12deec);_0x30252d['set']({'label':y(_0x12deec,'Save\x20current\x20revision')}),_0x30252d['delegate']('execute')['to'](_0x19561f),_0x30252d['on']('execute',()=>{this['_showDialog']();}),_0xae013c['children']['add'](_0x30252d),_0xadfdf3['items']['add'](_0xae013c);const _0x1f5f4b=new _0x37401f(_0x12deec,_0x19561f),_0x53d076=new _0x83d227(_0x12deec);return _0x53d076['set']({'label':y(_0x12deec,'Open\x20revision\x20history')}),_0x53d076['delegate']('execute')['to'](_0x19561f),_0x53d076['on']('execute',()=>{_0xf15886['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1f5f4b['children']['add'](_0x53d076),_0xadfdf3['items']['add'](_0x1f5f4b),_0x19561f['panelView']['children']['add'](_0xadfdf3),_0x19561f;}['_showDialog'](){const _0x2d6c57=this['editor'],_0x59b453=_0x2d6c57['locale'],_0x1aa6d9=_0x2d6c57['plugins']['get']('Dialog'),_0x12d08d=_0x2d6c57['plugins']['get']('RevisionTracker');function _0x5490ac(_0x1cc396){_0x2d6c57['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1cc396['revisionName']?_0x1cc396['revisionNameInputView']['errorText']=y(_0x59b453,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2d6c57['plugins']['get'](l)['saveRevision']({'name':_0x1cc396['revisionName']}),_0x1aa6d9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5490ac(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1aa6d9['show']({'id':'revisionSave','title':y(_0x59b453,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2d6c57['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x1aa6d9['hide']()},{'label':y(_0x2d6c57['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x25feca){_0x25feca['bind']('isEnabled')['to'](_0x12d08d,'isReady',_0x12d08d,'isEnabled',_0x2d6c57,'isReadOnly',(_0x225ce6,_0x424c1b,_0x6a4fd7)=>_0x225ce6&&_0x424c1b&&!_0x6a4fd7);},'onExecute':()=>_0x5490ac(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2425b5=this['editor'],_0x81c23b=_0x2425b5['locale'];this['_saveRevisionFormView']=new ns(_0x81c23b,_0x2425b5['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4ee463{['changeId'];['_model'];constructor(_0x1df394,_0x390c78){super(_0x1df394),this['_model']=_0x390c78,this['changeId']=_0x390c78['id'];const _0xf81a01=this['bindTemplate'],_0x25dc95=y(_0x1df394,_0x390c78['data']['isSuggestion']?'Suggested\x20by':'add'==_0x390c78['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x390c78['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xf81a01['to']('type',_0x13dba7=>'ck-revision-change__'+_0x13dba7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x25dc95}]},{'text':'\x20'+_0x390c78['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x57e8b5(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x41d208){super(),this['id']=_0x41d208['id']||_0xf0a907(),this['author']=_0x41d208['author'],this['type']=_0x41d208['type'],this['data']=_0x41d208['data']||{},this['rootName']=_0x41d208['rootName'],this['set']('createdAt',_0x41d208['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(_0x5c92c3,_0x555d7d){this['newRevisionId']=_0x5c92c3,this['oldRevisionId']=_0x555d7d,this['changes']=new _0x17d2c9();}['_setChanges'](_0x1523af){for(const _0x3aa78c of _0x1523af)this['changes']['add'](_0x3aa78c);}}const tt={'c':_0x4bb0d0,'a':_0x1c226f,'e':_0x102b40,'r':_0xbad04d,'u':_0x4947d7};class d extends _0x25b853{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4034d6,_0x5bb53b,A];}constructor(_0x3d07ae){super(_0x3d07ae),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',(_0x331ab0,_0x5b1bf7,_0x5c01dc)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x52c0ac=>{for(const _0x3b5269 of this['editor']['editing']['view']['document']['roots'])_0x5c01dc?_0x52c0ac['removeClass']('ck-editor__editable__overlay',_0x3b5269):_0x52c0ac['addClass']('ck-editor__editable__overlay',_0x3b5269);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2c4ffa=>null!==_0x2c4ffa),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x292980,_0x41ffa9,_0x3e6748)=>_0x292980&&_0x3e6748?_0x41ffa9['changes']['getIndex'](_0x3e6748):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x28cf06,_0x2d7753)=>_0x28cf06?_0x2d7753['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5bb53b);}['init'](){const _0x2e20c2=this['editor'],_0x45755a=new yt(_0x2e20c2,{'direction':'backward'}),_0x26ee73=new yt(_0x2e20c2,{'direction':'forward'});(_0x2e20c2['commands']['add']('showPreviousChange',_0x45755a),_0x2e20c2['commands']['add']('showNextChange',_0x26ee73),_0x2e20c2['commands']['add']('restoreRevision',new bt(_0x2e20c2)),this['on']('change:numberOfChanges',()=>{_0x45755a['refresh'](),_0x26ee73['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2e20c2['enableReadOnlyMode']('revision-viewer'),_0x2e20c2['plugins']['has']('WidgetToolbarRepository'))&&_0x2e20c2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1d854c){await this['loadRevisionData'](_0x1d854c);const _0x3af221={};for(const _0x271632 in _0x1d854c['diffData']){if(_0x1d854c['diffData'][_0x271632]['attachChange']&&!_0x1d854c['diffData'][_0x271632]['attachChange']['isAttached'])continue;const _0x183036=this['_removeRevisionMarkers'](JSON['parse'](_0x1d854c['diffData'][_0x271632]['insertions'])),_0x1fbe75=this['editor']['editing']['view']['document'],_0x574ea9=new _0x288804(_0x1fbe75,_0x183036['map'](_0x224339=>this['_getViewObj'](_0x224339)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3af221[_0x271632]=this['editor']['data']['processor']['toData'](_0x574ea9),this['editor']['data']['processor']['useFillerType']('default');}return _0x3af221;}async['getRevisionRootsAttributes'](_0x36ce71){await this['loadRevisionData'](_0x36ce71);const _0x3ef679={};for(const _0xfa948a in _0x36ce71['diffData'])_0x36ce71['diffData'][_0xfa948a]['attachChange']&&!_0x36ce71['diffData'][_0xfa948a]['attachChange']['isAttached']||(_0x3ef679[_0xfa948a]=_0x36ce71['diffData'][_0xfa948a]['attributesAfter']||{});return _0x3ef679;}['_removeRevisionMarkers'](_0x2012a1){return(_0x2012a1=_0x2012a1['filter'](_0x42babd=>!_0x42babd['name']||'revision-start'!==_0x42babd['name']&&'revision-end'!==_0x42babd['name']))['forEach'](_0x1fe422=>{'string'!=typeof _0x1fe422&&(_0x1fe422['children']=this['_removeRevisionMarkers'](_0x1fe422['children']),_0x1fe422['attributes']=_0x1fe422['attributes']['filter'](_0x301b70=>!_0x301b70[0x0]['startsWith']('data-revision-')));}),_0x2012a1;}async['compare'](_0x15e661,_0x4d6a40,_0x5de11a=!0x1){if(!this['isEnabled'])return;const _0x146862=this['diff'],_0x599bb6=this['repository'],_0x4df10b='string'==typeof _0x15e661?_0x599bb6['getRevision'](_0x15e661):_0x15e661,_0x58f165='string'==typeof _0x4d6a40?_0x599bb6['getRevision'](_0x4d6a40):_0x4d6a40,_0x569acd=_0x4df10b['id'],_0xccb1f6=_0x58f165?_0x58f165['id']:null;if(!_0x5de11a&&this['diff']&&this['diff']['newRevisionId']===_0x569acd&&this['diff']['oldRevisionId']===_0xccb1f6)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x569acd,_0xccb1f6);const _0x1cec22=this['_getRevisionsRange'](_0x4df10b,_0x58f165,!0x0)['map'](_0x29064c=>this['loadRevisionData'](_0x29064c));return _0x1cec22['push'](new Promise(_0x4dd9db=>{setTimeout(_0x4dd9db,0x14);})),Promise['all'](_0x1cec22)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x313c51=this['_getDiff'](_0x569acd,_0xccb1f6);for(const _0x1d0240 of _0x313c51['changes'])this['_changeIdToChange']['set'](_0x1d0240['id'],_0x1d0240);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xc1d011=>{for(const _0x21dd8a of this['editor']['model']['document']['getRootNames']())_0xc1d011['detachRoot'](_0x21dd8a);for(const _0x329566 of Object['keys'](_0x313c51['model'])){const _0x5bbc62=_0xc1d011['addRoot'](_0x329566);for(const _0x9a3c of Object['keys'](_0x313c51['attributes'][_0x329566]))_0xc1d011['setAttribute'](_0x9a3c,_0x313c51['attributes'][_0x329566][_0x9a3c],_0x5bbc62);_0xc1d011['insert'](_0x313c51['model'][_0x329566],_0x5bbc62,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x313c51['changes'])),this['isReady']=!0x0;})['catch'](_0x61b545=>{console['error'](_0x61b545),this['_cleanUp'](),_0x146862&&(this['diff']=_0x146862),this['isReady']=!0x0;});}['addRevisionData'](_0xb6d7ad,_0x48f5ac){const _0x550896=this['repository']['createRevision'](_0xb6d7ad);return _0x550896['on']('_update',(_0x477362,_0x198a3e,_0x2f5b61)=>_0x48f5ac(_0x198a3e,_0x2f5b61,_0x550896)),this['repository']['addRevision'](_0x550896),_0x550896;}['loadRevisionData'](_0x1131e5){if(!_0x1131e5||_0x1131e5['diffData'])return Promise['resolve']();{const _0xff7376=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xff7376,'revisionId':_0x1131e5['id']})['then'](_0x41a80d=>{_0x1131e5['_update']({'diffData':_0x41a80d['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},_0x5944c6=>{for(const _0xc21fca of this['editor']['model']['document']['getRootNames']())_0x5944c6['detachRoot'](_0xc21fca);});}['_sortAndFilterDiffChanges'](_0x26b24f){const _0x48d6d0=[],_0x5b84f4=new Map();for(const _0x1457a0 of this['editor']['model']['document']['getRootNames']()){const _0x16728f=this['editor']['editing']['view']['getDomRoot'](_0x1457a0);if(!_0x16728f)continue;const _0x2a5500=_0x16728f['getClientRects']()['item'](0x0);_0x2a5500&&(_0x48d6d0['push'](_0x1457a0),_0x5b84f4['set'](_0x1457a0,_0x2a5500));}return _0x48d6d0['sort']((_0x4463ec,_0x16c4e1)=>{const _0x4fd006=_0x5b84f4['get'](_0x4463ec),_0x41fd92=_0x5b84f4['get'](_0x16c4e1);return _0x4fd006['y']-_0x41fd92['y']||_0x4fd006['x']-_0x41fd92['x'];}),(_0x26b24f=_0x26b24f['filter'](_0x57ff76=>_0x48d6d0['includes'](_0x57ff76['rootName'])))['sort']((_0x1681fe,_0x99c2dc)=>_0x48d6d0['indexOf'](_0x1681fe['rootName'])-_0x48d6d0['indexOf'](_0x99c2dc['rootName'])),_0x26b24f;}['_makeTape'](_0x1e639c){const _0x13fd32=Array['from'](_0x1e639c['markers'])['filter'](([_0x32e07e,_0x440fe2])=>_0x32e07e['startsWith']('revision:')&&!_0x440fe2['isCollapsed']),_0x35bb76=Array['from'](this['editor']['model']['createRangeIn'](_0x1e639c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x13fd32['length'])for(const _0xd47e0f of _0x35bb76){const [_0x17327e,_0x478b9b]=_0x13fd32[0x0],[,_0xfbd9d5,_0x304783]=_0x17327e['split'](':');if(_0x478b9b['end']['isEqual'](_0xd47e0f['nextPosition'])&&_0x13fd32['shift'](),(_0xd47e0f['previousPosition']['isEqual'](_0x478b9b['start'])||_0xd47e0f['previousPosition']['isAfter'](_0x478b9b['start']))&&('insertion'==_0xfbd9d5?_0xd47e0f['isAdded']={'userId':_0x304783}:'deletion'==_0xfbd9d5&&(_0xd47e0f['isRemoved']={'userId':_0x304783})),0x0==_0x13fd32['length'])break;}return _0x35bb76;}['_refreshStartEndIndex'](_0xcafe7e){const _0xde3c2=new Map();for(let _0x253e32=0x0;_0x253e32<_0xcafe7e['length'];_0x253e32++)'text'===_0xcafe7e[_0x253e32]['type']?(_0xcafe7e[_0x253e32]['item']['startIndex']=_0x253e32,_0xcafe7e[_0x253e32]['item']['endIndex']=_0x253e32):('elementStart'===_0xcafe7e[_0x253e32]['type']?_0xcafe7e[_0x253e32]['item']['startIndex']=_0x253e32:'elementEnd'===_0xcafe7e[_0x253e32]['type']&&(_0xcafe7e[_0x253e32]['item']['endIndex']=_0x253e32),_0xde3c2['set'](_0xcafe7e[_0x253e32]['id'],_0x253e32));for(const _0x3f44a5 of _0xde3c2['values']())'elementStart'===_0xcafe7e[_0x3f44a5]['type']?_0xcafe7e[_0x3f44a5]['item']['endIndex']=_0xde3c2['get'](_0xcafe7e[_0x3f44a5]['pairId']):'elementEnd'===_0xcafe7e[_0x3f44a5]['type']&&(_0xcafe7e[_0x3f44a5]['item']['startIndex']=_0xde3c2['get'](_0xcafe7e[_0x3f44a5]['pairId']));}['_processTape'](_0x3a3aaa){for(let _0x4a9edb=0x0;_0x4a9edb<_0x3a3aaa['length'];_0x4a9edb++){if('elementStart'===_0x3a3aaa[_0x4a9edb]['type'])_0x3a3aaa[_0x4a9edb]['item']['startIndex']=_0x4a9edb;else{if('elementEnd'===_0x3a3aaa[_0x4a9edb]['type']){_0x3a3aaa[_0x4a9edb]['item']['endIndex']=_0x4a9edb;const _0x57b80e=_0x3a3aaa[_0x4a9edb]['item']['startIndex'];_0x3a3aaa[_0x57b80e]['pairId']=_0x3a3aaa[_0x4a9edb]['id'],_0x3a3aaa[_0x4a9edb]['pairId']=_0x3a3aaa[_0x57b80e]['id'];}else _0x3a3aaa[_0x4a9edb]['item']['startIndex']=_0x4a9edb,_0x3a3aaa[_0x4a9edb]['item']['endIndex']=_0x4a9edb,_0x3a3aaa[_0x4a9edb]['pairId']=null;}_0x3a3aaa[_0x4a9edb]['markersStart']||(_0x3a3aaa[_0x4a9edb]['markersStart']=[],_0x3a3aaa[_0x4a9edb]['markersEnd']=[]);}}['_markInsertions'](_0x547af7,_0x6c167f){const _0x10e98b=_0x547af7['filter'](_0x2fa9fa=>!_0x2fa9fa['isAdded']);for(let _0x2b9a8f=0x0;_0x2b9a8f<_0x6c167f['length'];_0x2b9a8f++)_0x6c167f[_0x2b9a8f]['isAdded']&&(_0x10e98b[_0x2b9a8f]['isAdded']=_0x6c167f[_0x2b9a8f]['isAdded']);}['_makeModelFromViewString'](_0x516112){const _0x39f804=JSON['parse'](_0x516112),_0x371af4=this['editor']['editing']['view']['document'],_0x4bff4a=new _0x288804(_0x371af4,_0x39f804['map'](_0x595c4d=>this['_getViewObj'](_0x595c4d)));return this['editor']['data']['toModel'](_0x4bff4a);}['_getViewObj'](_0x4fd917){const _0x417e3d=this['editor']['editing']['view']['document'];if('string'==typeof _0x4fd917)return new _0x464038(_0x417e3d,_0x4fd917);{const _0x1ec636=_0x4fd917['children']['map'](_0x56259e=>this['_getViewObj'](_0x56259e));return new(tt[_0x4fd917['type']]||_0x2aade1)(_0x417e3d,_0x4fd917['name'],_0x4fd917['attributes'],_0x1ec636);}}['_getDiff'](_0x11978e,_0x278a0f=null){const _0x47974a=this['repository']['getRevision'](_0x11978e),_0x15be41=_0x278a0f?this['repository']['getRevision'](_0x278a0f):null,_0x4aafd3=this['_getRevisionsRange'](_0x47974a,_0x15be41),_0x2f644f=_0x4aafd3[_0x4aafd3['length']-0x1],_0x4ce292=new Map(),_0x42645c={'model':{},'attributes':{},'changes':[]},_0x5d0172=new Set(),_0x424128=new Map();for(let _0x170695=_0x4aafd3['length']-0x1;_0x170695>=0x0;_0x170695--){const _0x363768=_0x4aafd3[_0x170695];for(const _0x2e8699 of Object['keys'](_0x363768['diffData']))if(_0x363768['diffData'][_0x2e8699]['attachChange']){const _0x47ecb9=_0x363768['diffData'][_0x2e8699]['attachChange'];_0x47ecb9['isAttached']?(_0x5d0172['add'](_0x2e8699),_0x424128['has'](_0x2e8699)&&_0x424128['get'](_0x2e8699)['userId']==_0x47ecb9['userId']?_0x424128['delete'](_0x2e8699):_0x424128['set'](_0x2e8699,_0x47ecb9)):_0x424128['has'](_0x2e8699)?(_0x5d0172['delete'](_0x2e8699),_0x424128['delete'](_0x2e8699)):(_0x5d0172['add'](_0x2e8699),_0x424128['set'](_0x2e8699,_0x47ecb9));}else _0x5d0172['add'](_0x2e8699);}for(const _0x1ae94c of _0x5d0172){const _0x36b556=_0x424128['has'](_0x1ae94c)&&!_0x424128['get'](_0x1ae94c)['isAttached'];let _0x1f07f3=_0x36b556?_0x4aafd3['length']-0x1:0x0;const _0x4fecf6=_0x36b556?-0x1:0x1;for(;_0x4aafd3[_0x1f07f3];){const _0x3f8cba=_0x4aafd3[_0x1f07f3];if(_0x3f8cba['diffData'][_0x1ae94c]){const _0x447719=_0x36b556?_0x3f8cba['diffData'][_0x1ae94c]['attributesBefore']:_0x3f8cba['diffData'][_0x1ae94c]['attributesAfter'];_0x42645c['attributes'][_0x1ae94c]=_0x447719?_0x3aed55(_0x447719):{};break;}_0x1f07f3+=_0x4fecf6;}}for(const _0x5788f7 of _0x4aafd3){_0x5788f7['model']={};for(const _0x2815e7 of _0x5788f7['authors'])_0x4ce292['set'](_0x2815e7['id'],_0x2815e7);for(const _0x4df2a9 of _0x5d0172){const _0x567e4f=_0x5788f7['diffData'][_0x4df2a9]?_0x5788f7['diffData'][_0x4df2a9]['insertions']:'[]',_0x3ef160=_0x5788f7['diffData'][_0x4df2a9]?_0x5788f7['diffData'][_0x4df2a9]['deletions']:'[]';_0x5788f7['model'][_0x4df2a9]={'insertions':this['_makeModelFromViewString'](_0x567e4f),'deletions':this['_makeModelFromViewString'](_0x3ef160)};}}for(const _0x5ecbbe of _0x5d0172){let _0x270339=null,_0x2447ab=0x0;const _0x32fdf2=new Map(Array['from'](_0x47974a['model'][_0x5ecbbe]['insertions']['markers'])['filter'](([_0x5cb457])=>!_0x5cb457['startsWith']('revision:')));let _0x5c1365=0x0;for(const _0xd9f40d of _0x4aafd3){const _0x1b8cec=this['_makeTape'](_0xd9f40d['model'][_0x5ecbbe]['insertions']);_0xd9f40d==_0x47974a?(_0x270339=_0x1b8cec,_0x2447ab=_0x270339['length'],_0x270339['forEach'](_0x54a396=>{_0x54a396['id']=_0x5c1365++;}),this['_processTape'](_0x270339)):this['_markInsertions'](_0x270339,_0x1b8cec);const _0x301c12=_0x270339['filter'](_0x6b43a8=>!_0x6b43a8['isAdded'])['map'](_0x357bd4=>_0x357bd4['id']);let _0x121af8=0x0;const _0x4c4813=this['_makeTape'](_0xd9f40d['model'][_0x5ecbbe]['deletions']);_0x4c4813['forEach'](_0x1f82ad=>{_0x1f82ad['isRemoved']?_0x1f82ad['id']=_0x2447ab++:_0x1f82ad['id']=_0x301c12[_0x121af8++];}),this['_processTape'](_0x4c4813),this['_setDistance'](_0x270339,'isAdded'),this['_setDistance'](_0x4c4813,'isRemoved'),_0xd9f40d==_0x47974a&&this['_markMarkers'](_0x270339,_0x32fdf2),_0x270339=this['_joinTapes'](_0x270339,_0x4c4813),this['_refreshStartEndIndex'](_0x270339),this['_setDistance'](_0x270339,'isRemoved');}_0x270339=_0x270339['filter'](_0x56f8a5=>!(_0x56f8a5['isAdded']&&_0x56f8a5['isRemoved']));const _0x2930ce=new Map(_0x2f644f['model'][_0x5ecbbe]['deletions']['markers']),_0x15ae3d=new Set(_0x32fdf2['keys']());for(const _0x5bbd0f of _0x2930ce['keys']())_0x15ae3d['delete'](_0x5bbd0f);this['_markSuggestions'](_0x270339,_0x15ae3d),this['_fixObsoleteTags'](_0x270339),_0x270339=this['_removeMissingPairs'](_0x270339),_0x270339=this['_markMismatchedRemovedTags'](_0x270339),_0x270339=this['_removeUnsupportedChanges'](_0x270339);const {root:_0x3541f0,changes:_0xd28826}=this['_makeModelFromTape'](_0x270339,_0x4ce292,_0x5ecbbe);_0x42645c['model'][_0x5ecbbe]=_0x3541f0;const _0x238b93=_0x424128['get'](_0x5ecbbe);if(_0x238b93){const _0x32e51b=_0x4ce292['get'](_0x238b93['userId']),_0x351ef0=new r({'author':_0x32e51b,'type':_0x238b93['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5ecbbe});_0xd28826['unshift'](_0x351ef0),_0x42645c['attributes'][_0x5ecbbe]['revisionHistoryAttachChange']=_0x351ef0['id'];}_0x42645c['changes']=_0x42645c['changes']['concat'](_0xd28826);}return _0x42645c;}['_markMarkers'](_0x37eae5,_0x392558){for(let _0x53924d=0x0;_0x53924d<_0x37eae5['length'];_0x53924d++)for(const [_0x391f54,_0x1f0973]of _0x392558)_0x1f0973['start']['isEqual'](_0x37eae5[_0x53924d]['previousPosition'])&&_0x37eae5[_0x53924d]['markersStart']['push'](_0x391f54),_0x1f0973['end']['isEqual'](_0x37eae5[_0x53924d]['nextPosition'])&&_0x37eae5[_0x53924d]['markersEnd']['push'](_0x391f54);}['_joinTapes'](_0x235514,_0x406cd5){let _0x509be6=[],_0x39cd9e=0x0,_0x46c252=0x0;for(;_0x39cd9e<_0x235514['length']||_0x46c252<_0x406cd5['length'];){const _0x1b0039=_0x235514[_0x39cd9e]||{},_0x2a7f18=_0x406cd5[_0x46c252]||{};if(_0x1b0039['id']==_0x2a7f18['id'])_0x39cd9e++,_0x46c252++,_0x509be6['push'](_0x1b0039);else{if(_0x2a7f18['isRemoved']&&_0x1b0039['isAdded']){const {commonTape:_0xf45478,iEnd:_0x5659f7,jEnd:_0x21a9e5}=this['_threeWayMerge'](_0x235514,_0x39cd9e,_0x406cd5,_0x46c252);_0x509be6=_0x509be6['concat'](_0xf45478),_0x39cd9e=_0x5659f7,_0x46c252=_0x21a9e5;}else _0x2a7f18['isRemoved']?(_0x46c252++,_0x509be6['push'](_0x2a7f18)):(_0x39cd9e++,_0x509be6['push'](_0x1b0039));}}return _0x509be6;}['_markSuggestions'](_0x30e21b,_0x2af195){const _0x33c3a6=[];for(let _0x10c5a8=0x0;_0x10c5a8<_0x30e21b['length'];_0x10c5a8++){for(let _0x811ea0=0x0;_0x811ea0<_0x30e21b[_0x10c5a8]['markersStart']['length'];_0x811ea0++){const _0x1e1949=_0x30e21b[_0x10c5a8]['markersStart'][_0x811ea0];if(!_0x2af195['has'](_0x1e1949))continue;const {group:_0x23079e,type:_0x5bf026,authorId:_0x51f790}=_0x2143aa(_0x1e1949);'revision-suggestion'!=_0x23079e||'insertion'!=_0x5bf026&&'deletion'!=_0x5bf026||(_0x33c3a6['unshift']({'type':_0x5bf026,'name':_0x1e1949,'userId':_0x51f790}),_0x30e21b[_0x10c5a8]['markersStart']['splice'](_0x811ea0,0x1),_0x811ea0--);}_0x271412(_0x30e21b[_0x10c5a8]);for(let _0x3b409a=0x0;_0x3b409a<_0x30e21b[_0x10c5a8]['markersEnd']['length'];_0x3b409a++){const _0x47a562=_0x30e21b[_0x10c5a8]['markersEnd'][_0x3b409a];if(!_0x2af195['has'](_0x47a562))continue;const {group:_0x4524be,type:_0x50bec2}=_0x2143aa(_0x47a562);if('revision-suggestion'!=_0x4524be||'insertion'!=_0x50bec2&&'deletion'!=_0x50bec2)continue;_0x30e21b[_0x10c5a8]['markersEnd']['splice'](_0x3b409a,0x1),_0x3b409a--;const _0x3ca4fd=_0x33c3a6['findIndex'](_0x3d2925=>_0x3d2925['name']==_0x47a562);_0x3ca4fd>-0x1&&_0x33c3a6['splice'](_0x3ca4fd,0x1);}}function _0x2143aa(_0x2894fb){const _0x2ae98b=_0x2894fb['split'](':');return{'group':_0x2ae98b[0x0],'type':_0x2ae98b[0x1],'subType':_0x2ae98b['length']>=0x5?_0x2ae98b[0x2]:null,'id':_0x2ae98b['length']<0x5?_0x2ae98b[0x2]:_0x2ae98b[0x3],'authorId':_0x2ae98b['length']<0x5?_0x2ae98b[0x3]:_0x2ae98b[0x4],'markerCount':0x6==_0x2ae98b['length']?_0x2ae98b[0x5]:null};}function _0x271412(_0x34a1e1){for(let _0x12b6f4=0x0;_0x12b6f4<_0x33c3a6['length'];_0x12b6f4++){if(_0x34a1e1['isAdded']&&'insertion'==_0x33c3a6[_0x12b6f4]['type'])return _0x34a1e1['isAddSuggestion']=_0x33c3a6[_0x12b6f4],void delete _0x34a1e1['isAdded'];if(!_0x34a1e1['isAdded']&&!_0x34a1e1['isRemoved']&&'deletion'==_0x33c3a6[_0x12b6f4]['type'])return void(_0x34a1e1['isRemoveSuggestion']=_0x33c3a6[_0x12b6f4]);}}}['_setDistance'](_0xd706ac,_0x3d4fbc){let _0x25a8ef=0x0,_0x125a3a=!0x1;const _0x3d81de=new Map();for(const _0x1a2faa of _0xd706ac)_0x1a2faa[_0x3d4fbc]?_0x125a3a&&(_0x25a8ef++,_0x125a3a=!0x1):(_0x25a8ef++,_0x125a3a=!0x0),_0x3d81de['set'](_0x1a2faa['id'],_0x25a8ef);for(let _0x5cf892=0x0;_0x5cf892<_0xd706ac['length'];_0x5cf892++){if('isRemoved'==_0x3d4fbc&&_0xd706ac[_0x5cf892]['isAdded']||'isAdded'==_0x3d4fbc&&_0xd706ac[_0x5cf892]['isRemoved'])continue;if('text'==_0xd706ac[_0x5cf892]['type']){_0xd706ac[_0x5cf892]['distance']=0x0;continue;}const _0x2aea78=_0x3d81de['get'](_0xd706ac[_0x5cf892]['pairId']),_0x58f217=_0x3d81de['get'](_0xd706ac[_0x5cf892]['id']);_0xd706ac[_0x5cf892]['distance']=_0x2aea78-_0x58f217;}}['_getRevisionsRange'](_0x208f61,_0x357b4c,_0x310479=!0x1){const _0x4ddfcc=[];let _0x8bb7d4=this['repository']['getIndex'](_0x208f61),_0x1415e5=this['repository']['getIndex'](_0x357b4c);for(-0x1==_0x1415e5&&(_0x1415e5=this['repository']['_revisions']['length'],_0x310479=!0x1);_0x8bb7d4<_0x1415e5;)_0x4ddfcc['push'](this['repository']['getRevision'](_0x8bb7d4)),_0x8bb7d4++;return _0x310479&&_0x4ddfcc['push'](this['repository']['getRevision'](_0x8bb7d4)),_0x4ddfcc;}['_threeWayMerge'](_0x5cc55d,_0x5b55ac,_0x57fc69,_0x432e16){const _0xdbf44d=this['editor']['model']['schema'];let _0x1aeb9b=_0x5b55ac;for(;_0x5cc55d[_0x1aeb9b]&&_0x5cc55d[_0x1aeb9b]['isAdded'];)_0x1aeb9b++;let _0x149a24=_0x432e16;for(;_0x57fc69[_0x149a24]&&_0x57fc69[_0x149a24]['isRemoved'];)_0x149a24++;_0x4a6502(_0x5cc55d,_0x5b55ac,_0x1aeb9b),_0x4a6502(_0x57fc69,_0x432e16,_0x149a24);const _0x4082d4=_0x57fc69['slice'](_0x432e16,_0x149a24)['concat'](_0x5cc55d['slice'](_0x5b55ac,_0x1aeb9b));return _0x4082d4['sort']((_0x593ae7,_0x441ca2)=>_0x593ae7['side']!=_0x441ca2['side']?_0x593ae7['side']-_0x441ca2['side']:_0x593ae7['level']!=_0x441ca2['level']?_0x593ae7['level']-_0x441ca2['level']:_0x593ae7['distance']!=_0x441ca2['distance']?_0x441ca2['distance']-_0x593ae7['distance']:!!_0x593ae7['isAdded']!=!!_0x441ca2['isAdded']?-0x1==_0x593ae7['side']||0x0==_0x593ae7['side']?_0x593ae7['isAdded']?-0x1:0x1:_0x593ae7['isAdded']?0x1:-0x1:_0x593ae7['index']-_0x441ca2['index']),{'commonTape':_0x4082d4,'iEnd':_0x1aeb9b,'jEnd':_0x149a24};function _0x4a6502(_0x3b7f17,_0x227036,_0x776e29){let _0xb83dd6=-0x1,_0xb8207e=Number['POSITIVE_INFINITY'],_0x35f2f3=!0x0;for(let _0x3b45fd=_0x227036;_0x3b45fd<_0x776e29;_0x3b45fd++)if(_0xdbf44d['isInline'](_0x3b7f17[_0x3b45fd]['item'])||(_0x35f2f3=!0x1),_0x3b7f17[_0x3b45fd]['item']['startIndex']<_0x227036&&(_0xb83dd6=_0x3b45fd),_0x3b7f17[_0x3b45fd]['item']['endIndex']>=_0x776e29){_0xb8207e=_0x3b45fd;break;}_0x35f2f3&&(_0xb83dd6=_0x776e29-0x1);for(let _0x5c5337=_0x227036;_0x5c5337<_0x776e29;_0x5c5337++)_0x3b7f17[_0x5c5337]['side']=_0x5c5337<=_0xb83dd6?-0x1:_0x5c5337<_0xb8207e?0x0:0x1,_0x3b7f17[_0x5c5337]['index']=_0x5c5337;let _0x37a599=0x0;for(let _0x187f70=_0x227036;_0x187f70<=_0xb83dd6;_0x187f70++)0x0==_0x3b7f17[_0x187f70]['distance']?_0x3b7f17[_0x187f70]['level']=_0x37a599:(_0x37a599++,_0x3b7f17[_0x187f70]['level']=_0x37a599,_0x37a599++);for(let _0x197d46=_0x227036;_0x197d46<_0x776e29;_0x197d46++)0x0==_0x3b7f17[_0x197d46]['side']&&(_0x3b7f17[_0x197d46]['level']=_0x37a599);_0x37a599=0x0;for(let _0x483569=_0x776e29-0x1;_0x483569>=_0xb8207e;_0x483569--)0x0==_0x3b7f17[_0x483569]['distance']?_0x3b7f17[_0x483569]['level']=_0x37a599:(_0x37a599--,_0x3b7f17[_0x483569]['level']=_0x37a599,_0x37a599--);}}['_fixObsoleteTags'](_0x2fc7e8){const _0x532c9c=new Map(),_0x229ae1=this['editor']['model']['schema'];for(let _0x55b6af=0x1;_0x55b6af<_0x2fc7e8['length'];_0x55b6af++){let _0x455e97,_0x69d67b,_0x1760e1;const _0x4deca3=_0x2fc7e8[_0x55b6af],_0xb77feb=_0x2fc7e8[_0x55b6af-0x1];if('text'==_0x4deca3['type'])continue;if(_0x4deca3['type']!=_0xb77feb['type'])continue;if(!_0x229ae1['isBlock'](_0xb77feb['item'])||_0x229ae1['isLimit'](_0xb77feb['item']))continue;if(!_0x229ae1['isBlock'](_0x4deca3['item'])||_0x229ae1['isLimit'](_0x4deca3['item']))continue;if((_0x2fc7e8[_0x55b6af]['isAdded']||_0x2fc7e8[_0x55b6af]['isAddSuggestion'])&&_0x2fc7e8[_0x55b6af-0x1]['isRemoved'])_0x455e97=_0x2fc7e8[_0x55b6af],_0x69d67b=_0x2fc7e8[_0x55b6af-0x1],_0x1760e1=_0x55b6af-0x1;else{if(!_0x2fc7e8[_0x55b6af]['isRemoved']||!_0x2fc7e8[_0x55b6af-0x1]['isAdded']&&!_0x2fc7e8[_0x55b6af-0x1]['isAddSuggestion'])continue;_0x455e97=_0x2fc7e8[_0x55b6af-0x1],_0x69d67b=_0x2fc7e8[_0x55b6af],_0x1760e1=_0x55b6af;}const _0x2055bf=_0x455e97['level']==_0x69d67b['level'],_0x393dfd=Math['abs'](_0x455e97['level'])<Math['abs'](_0x69d67b['level'])&&0x0==_0x69d67b['distance'];(_0x2055bf||_0x393dfd)&&(_0x532c9c['set'](_0x69d67b['id'],_0x455e97['id']),_0x2fc7e8['splice'](_0x1760e1,0x1),_0x55b6af--,_0x455e97['isAdded']=!0x1);}for(let _0x1e9dbd=0x0;_0x1e9dbd<_0x2fc7e8['length'];_0x1e9dbd++)_0x532c9c['has'](_0x2fc7e8[_0x1e9dbd]['pairId'])&&(_0x2fc7e8[_0x1e9dbd]['pairId']=_0x532c9c['get'](_0x2fc7e8[_0x1e9dbd]['pairId']));}['_removeMissingPairs'](_0x42428d){const _0x22be63=new Set(_0x42428d['map'](_0x522a73=>_0x522a73['id']));for(let _0x8e68fe=0x0;_0x8e68fe<_0x42428d['length'];_0x8e68fe++)_0x22be63['has'](_0x42428d[_0x8e68fe]['pairId'])||0x0==_0x42428d[_0x8e68fe]['distance']||(_0x42428d[_0x8e68fe]['isIncorrect']=!0x0);return _0x42428d['filter'](_0x39c60d=>!_0x39c60d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x39c7b1){const _0x4ed499=new Set();for(let _0x1f8740=0x0;_0x1f8740<_0x39c7b1['length'];_0x1f8740++){if(_0x4ed499['has'](_0x39c7b1[_0x1f8740]['id'])&&_0x39c7b1[_0x1f8740]['isRemoved']&&(_0x39c7b1[_0x1f8740]['isIncorrect']=!0x0),_0x39c7b1[_0x1f8740]['isIncorrect'])continue;if(0x0==_0x39c7b1[_0x1f8740]['distance'])continue;if('elementStart'!=_0x39c7b1[_0x1f8740]['type'])continue;if(null==_0x39c7b1[_0x1f8740]['pairId'])continue;let _0x2dc432=_0x1f8740+0x1,_0x5ed3ca=0x0;for(;_0x39c7b1[_0x2dc432]['id']!=_0x39c7b1[_0x1f8740]['pairId'];)'elementStart'==_0x39c7b1[_0x2dc432]['type']?_0x5ed3ca++:'elementEnd'==_0x39c7b1[_0x2dc432]['type']&&_0x5ed3ca--,_0x2dc432++;if(0x0!=_0x5ed3ca){if(_0x39c7b1[_0x1f8740]['isRemoved'])_0x39c7b1[_0x1f8740]['isIncorrect']=!0x0;else{for(;_0x2dc432!=_0x1f8740;)_0x39c7b1[_0x2dc432]['isRemoved']&&0x0!=_0x39c7b1[_0x2dc432]['distance']&&(_0x39c7b1[_0x2dc432]['isIncorrect']=!0x0,_0x4ed499['add'](_0x39c7b1[_0x2dc432]['pairId'])),_0x2dc432--;}}}return _0x39c7b1['filter'](_0x35b9b1=>!_0x35b9b1['isIncorrect']);}['_removeUnsupportedChanges'](_0xaa46c9){const _0xcb18ae=this['editor']['model']['schema'];for(let _0x762504=0x0;_0x762504<_0xaa46c9['length'];_0x762504++){if(!(_0xaa46c9[_0x762504]['isAdded']||_0xaa46c9[_0x762504]['isAddSuggestion']||_0xaa46c9[_0x762504]['isRemoved']||_0xaa46c9[_0x762504]['isRemoveSuggestion']))continue;if(0x0==_0xaa46c9[_0x762504]['distance'])continue;const _0x53372e=_0xaa46c9[_0x762504]['item'];_0xcb18ae['isBlock'](_0x53372e)||_0xcb18ae['isLimit'](_0x53372e)||(_0xaa46c9[_0x762504]['isAdded']&&delete _0xaa46c9[_0x762504]['isAdded'],_0xaa46c9[_0x762504]['isAddSuggestion']&&delete _0xaa46c9[_0x762504]['isAddSuggestion'],_0xaa46c9[_0x762504]['isRemoveSuggestion']&&delete _0xaa46c9[_0x762504]['isRemoveSuggestion'],_0xaa46c9[_0x762504]['isRemoved']&&(_0xaa46c9[_0x762504]['isIncorrect']=!0x0));}return _0xaa46c9['filter'](_0x5c83a8=>!_0x5c83a8['isIncorrect']);}['_makeModelFromTape'](_0xb7f291,_0x55d7f8,_0x175e3f){const _0x3bd2f6=new wt(),_0x56347e=[],_0x59842e=new Map(),_0x3dc15f=this['editor']['model'],_0xa2c72f=_0x3dc15f['schema'],_0x237425=[_0x3bd2f6],_0x4f065e={},_0x197f01={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5bf880=null;const _0xf1026d=[0x0];for(let _0x3ed7eb=0x0;_0x3ed7eb<_0xb7f291['length'];_0x3ed7eb++){let _0x2d6e7c,_0x5b7905;if('elementStart'===_0xb7f291[_0x3ed7eb]['type']){_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d);const _0x23b23e=new ft(_0xb7f291[_0x3ed7eb]['item']['name'],_0xb7f291[_0x3ed7eb]['item']['getAttributes']());_0x237425[0x0]['_appendChild'](_0x23b23e),_0xf1026d['push'](0x0),_0x237425['unshift'](_0x23b23e),_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880=null;}else{if('elementEnd'===_0xb7f291[_0x3ed7eb]['type'])_0x237425['shift'](),_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0xf1026d['pop'](),_0xf1026d[_0xf1026d['length']-0x1]++,_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880=null;else{if(_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880&&_0x435201(_0x5bf880,_0xb7f291[_0x3ed7eb]['item']))_0x5bf880['_data']+=_0xb7f291[_0x3ed7eb]['item']['data'];else{const _0x22906a=new _t(_0xb7f291[_0x3ed7eb]['item']['data'],_0xb7f291[_0x3ed7eb]['item']['getAttributes']());_0x237425[0x0]['_appendChild'](_0x22906a),_0x5bf880=_0x22906a;}_0xf1026d[_0xf1026d['length']-0x1]+=_0xb7f291[_0x3ed7eb]['item']['offsetSize'],_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d);}}for(const _0x3069c2 of _0xb7f291[_0x3ed7eb]['markersStart'])_0x59842e['set'](_0x3069c2,{'start':_0x2d6e7c,'end':null});_0x1b6abe('isRemoveSuggestion',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isAddSuggestion',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isRemoved',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isAdded',_0x3ed7eb,_0x2d6e7c,_0x5b7905);for(const _0x7dee5d of _0xb7f291[_0x3ed7eb]['markersEnd']){_0x59842e['get'](_0x7dee5d)['end']=_0x5b7905;}}for(const [_0xf7bca4,_0x14be01]of _0x59842e){const _0x2b2827=this['editor']['model']['createRange'](_0x14be01['start'],_0x14be01['end']);_0x3bd2f6['markers']['set'](_0xf7bca4,_0x2b2827);}return _0x56347e['sort']((_0x11e6ee,_0x2a9c4d)=>{const _0x635f17=_0x3bd2f6['markers']['get']('revision:'+_0x11e6ee['id']),_0x45f97f=_0x3bd2f6['markers']['get']('revision:'+_0x2a9c4d['id']);return _0x635f17['start']['isBefore'](_0x45f97f['start'])?-0x1:_0x635f17['start']['isAfter'](_0x45f97f['start'])?0x1:_0x635f17['end']['isBefore'](_0x45f97f['end'])?-0x1:_0x635f17['end']['isAfter'](_0x45f97f['end'])?0x1:'add'===_0x11e6ee['type']?-0x1:0x1;}),{'root':_0x3bd2f6,'changes':_0x56347e};function _0x1b6abe(_0x179714,_0x3de4a3,_0x1c939d,_0x36ceab){const _0xa17389=!!_0xb7f291[_0x3de4a3][_0x179714],_0xec1383=_0xa17389?_0xb7f291[_0x3de4a3][_0x179714]['userId']:null,_0x127fd0=_0x3de4a3===_0xb7f291['length']-0x1,_0x3264b0=_0x197f01[_0x179714][0x0],_0x3bdb0f=_0xa2c72f['isObject'](_0xb7f291[_0x3de4a3]['item']);!_0x4f065e[_0x179714]&&_0xa17389?_0x4f065e[_0x179714]={'start':_0x1c939d,'tapeItem':_0xb7f291[_0x3de4a3],'userId':_0xec1383,'type':_0x179714}:_0x4f065e[_0x179714]&&!_0xa17389?(_0x4f065e[_0x179714]['end']=_0x1c939d,_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]=null):_0x4f065e[_0x179714]&&_0xa17389&&_0x4f065e[_0x179714]['userId']!==_0xec1383&&(_0x4f065e[_0x179714]['end']=_0x1c939d,_0x3264b0&&_0x3264b0['userId']===_0x4f065e[_0x179714]['userId']||_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]={'start':_0x1c939d,'tapeItem':_0xb7f291[_0x3de4a3],'userId':_0xec1383,'type':_0x179714}),_0x4f065e[_0x179714]&&_0x3bdb0f&&('elementStart'!==_0xb7f291[_0x3de4a3]['type']||_0x3264b0&&_0x3264b0['userId']===_0xec1383||_0x197f01[_0x179714]['unshift']({'userId':_0xec1383,'object':_0xb7f291[_0x3de4a3]['item'],'change':_0x4f065e[_0x179714]}),'elementEnd'===_0xb7f291[_0x3de4a3]['type']&&_0x3264b0&&_0x3264b0['object']===_0xb7f291[_0x3de4a3]['item']&&(_0x197f01[_0x179714]['shift'](),_0x4f065e[_0x179714]=_0x3264b0['change'])),_0x4f065e[_0x179714]&&_0x127fd0&&(_0x4f065e[_0x179714]['end']=_0x36ceab,_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]=null);}function _0xfcc3c0({start:_0x2a1988,end:_0x403e53,tapeItem:_0x326ee9,userId:_0x9bf5aa,type:_0x2972ba}){const _0x5aa277=_0x326ee9['item'],_0x47860e=_0x3dc15f['schema']['isBlock'](_0x5aa277)&&!_0x3dc15f['schema']['isLimit'](_0x5aa277),_0x11ca93=_0x2a1988['nodeAfter']==_0x403e53['parent']&&_0x403e53['isAtStart'];if(_0x47860e&&_0x11ca93)return;const _0x57bf19=_0x3dc15f['createRange'](_0x2a1988,_0x403e53),_0x31d7f3=_0x55d7f8['get'](_0x9bf5aa),_0x75832c=new r({'author':_0x31d7f3,'type':'isAdded'==_0x2972ba||'isAddSuggestion'==_0x2972ba?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2972ba||'isRemoveSuggestion'==_0x2972ba},'createdAt':new Date(),'rootName':_0x175e3f});_0x56347e['push'](_0x75832c),_0x3bd2f6['markers']['set']('revision:'+_0x75832c['id'],_0x57bf19);}function _0x435201(_0x33c1c6,_0x1bbb70){const _0x26eeac=_0x33c1c6['getAttributes'](),_0x3ac96d=_0x1bbb70['getAttributes']();for(const _0x22c8c5 of _0x26eeac){if(_0x22c8c5[0x1]!==_0x1bbb70['getAttribute'](_0x22c8c5[0x0]))return!0x1;_0x3ac96d['next']();}return _0x3ac96d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x307afb=>{const _0x5c4776=_0x307afb['markerName']['split'](':')[0x1],_0xfa16f3=this['_getChangeFromId'](_0x5c4776);if(!_0xfa16f3)return null;const _0x3d1883='add'==_0xfa16f3['type']?'insertion':'deletion',_0x530adf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3d1883];return _0xfa16f3['data']['isSuggestion']&&_0x530adf['push']('ck-suggestion-marker-'+_0x3d1883+'-new'),this['activeChange']==_0xfa16f3&&_0x530adf['push']('ck-suggestion-marker--active'),{'classes':_0x530adf,'attributes':{'data-change-id':_0x5c4776}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x16c5ea=>{_0x16c5ea['on']('element:pre',(_0x4765c8,_0x5790b2,_0x49c682)=>{const _0x2323f3=_0x5790b2['viewItem']['getChild'](0x0);if(!_0x2323f3||!_0x2323f3['is']('element','code'))return;if(!_0x49c682['consumable']['consume'](_0x2323f3,{'attributes':['vid_start','vid_end']}))return;const _0x26b101=_0x5790b2['modelRange']['start']['nodeAfter'];_0x49c682['writer']['setAttribute']('vid_start',_0x2323f3['getAttribute']('vid_start'),_0x26b101),_0x49c682['writer']['setAttribute']('vid_end',_0x2323f3['getAttribute']('vid_end'),_0x26b101);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x17b113=>{_0x17b113['on']('element',(_0x1a9f07,_0x5df018,_0x50e310)=>{if(!_0x50e310['consumable']['consume'](_0x5df018['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5df018['modelRange']['isCollapsed'])return;const _0xbb8bd8=_0x5df018['modelRange']['start']['nodeAfter'];_0xbb8bd8['hasAttribute']('vid_start')||_0xbb8bd8['hasAttribute']('vid')||(_0x50e310['writer']['setAttribute']('vid_start',_0x5df018['viewItem']['getAttribute']('vid_start'),_0xbb8bd8),_0x50e310['writer']['setAttribute']('vid_end',_0x5df018['viewItem']['getAttribute']('vid_end'),_0xbb8bd8));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5bf34f=>_0x5bf34f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4f12c1,[,_0x283d97])=>{['vid_start','vid_end','vid']['includes'](_0x283d97)&&(_0x4f12c1['return']=!0x0,_0x4f12c1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2fe8e9=>{_0x2fe8e9['on']('attribute:vid',(_0xd6d6d2,_0x17df39,_0x328e73)=>{if('\x20'!=_0x17df39['item']['data']||_0x17df39['item']['parent']['maxOffset']>0x1)return;if(!_0x328e73['consumable']['consume'](_0x17df39['item'],_0xd6d6d2['name']))return;const _0x357908=_0x328e73['writer'],_0x11eb77=_0x328e73['mapper']['toViewRange'](_0x17df39['range']);_0x357908['wrap'](_0x11eb77,_0x357908['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5d5e8a){const _0xeff63d=_0x5d5e8a['plugins']['get']('RevisionViewer');return(_0x269702,_0x1a39a3,_0x353ef4)=>{const _0x2f789d=_0x1a39a3['markerName']['split'](':')[0x1],_0x2ff93b=_0xeff63d['_getChangeFromId'](_0x2f789d);if(!_0x2ff93b)return null;const _0x50f4e4='add'==_0x2ff93b['type']?'split':'merge';if(!_0x353ef4['consumable']['test'](_0x1a39a3['markerRange'],_0x269702['name']))return;const _0x161528=_0x1a39a3['markerRange']['getWalker'](),_0x285820=_0x1a39a3['markerRange']['start'],_0x3505bb=_0x5d5e8a['model']['schema'];let _0x38904b=null,_0x570c0b=null,_0x2fd4ac=!0x1,_0x4ddb66=!0x1;for(const _0x534fa0 of _0x161528){const _0x1cf679=_0x534fa0['item'];_0x2fd4ac=_0x2fd4ac||_0x3505bb['isContent'](_0x1cf679);const _0x58cd02=_0x353ef4['mapper']['toViewElement'](_0x1cf679);if(_0x58cd02&&_0x58cd02['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x534fa0['type']&&(_0x3505bb['isBlock'](_0x1cf679)&&!_0x3505bb['isLimit'](_0x1cf679)&&(_0x1cf679['nextSibling']||_0x285820['isAtEnd']?_0x38904b&&_0x38904b['parent']==_0x1cf679||(_0x38904b=_0x1cf679,_0x58d30b(_0x534fa0['previousPosition']),_0x4ddb66=!0x0):_0x570c0b=_0x570c0b||_0x534fa0['previousPosition']));}function _0x58d30b(_0x29d4a5){const _0x28f468=_0x353ef4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x50f4e4}),_0x185cfd=_0x353ef4['mapper']['toViewPosition'](_0x29d4a5);_0x2ff93b['data']['isSuggestion']&&_0x353ef4['writer']['addClass']('ck-suggestion-marker-'+_0x50f4e4+'-new',_0x28f468),_0xeff63d['activeChange']==_0x2ff93b&&_0x353ef4['writer']['addClass']('ck-suggestion-marker--active',_0x28f468),_0x353ef4['writer']['insert'](_0x185cfd,_0x28f468),_0x353ef4['mapper']['bindElementToMarker'](_0x28f468,_0x1a39a3['markerName']);}_0x2fd4ac||_0x4ddb66||!_0x570c0b||_0x58d30b(_0x570c0b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3e6fa8,_0x5bf05b,_0x3751cb)=>{const _0x2ecb8b=_0x3751cb['mapper']['markerNameToElements'](_0x5bf05b['markerName']);if(_0x2ecb8b){for(const _0x42a55f of _0x2ecb8b)(_0x42a55f['hasClass']('ck-suggestion-marker-split')||_0x42a55f['hasClass']('ck-suggestion-marker-merge'))&&(_0x3751cb['mapper']['unbindElementFromMarkerName'](_0x42a55f,_0x5bf05b['markerName']),_0x3751cb['writer']['remove'](_0x42a55f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x302e2b,_0x789a88,_0x48de6b)=>{const _0x21351f=_0x789a88['markerName']['split'](':')[0x1],_0x26dc65=this['_getChangeFromId'](_0x21351f);if(!_0x26dc65)return null;const _0x3a1889='add'==_0x26dc65['type']?'split':'merge';if(_0x48de6b['consumable']['test'](_0x789a88['markerRange'],_0x302e2b['name']))for(const _0x3a70c6 of _0x789a88['markerRange']['getItems']()){if(!_0x3a70c6['is']('element','softBreak'))continue;const _0xbbbaa3=_0x48de6b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a1889}),_0x594e8e=_0x48de6b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3a70c6));_0x26dc65['data']['isSuggestion']&&_0x48de6b['writer']['addClass']('ck-suggestion-marker-'+_0x3a1889+'-new',_0xbbbaa3),this['activeChange']==_0x26dc65&&_0x48de6b['writer']['addClass']('ck-suggestion-marker--active',_0xbbbaa3),_0x48de6b['writer']['insert'](_0x594e8e,_0xbbbaa3),_0x48de6b['mapper']['bindElementToMarker'](_0xbbbaa3,_0x789a88['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x44c1a9=>{for(const _0x2b17e5 of this['editor']['model']['document']['getRootNames']()){const _0x39c10b=this['editor']['model']['document']['getRoot'](_0x2b17e5),_0x3345a0=this['editor']['editing']['view']['document']['getRoot'](_0x2b17e5);if(_0x3345a0){const _0x222cec=_0x39c10b['getAttribute']('revisionHistoryAttachChange');if(_0x44c1a9['removeAttribute']('data-change-id',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root-add',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root-remove',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root--active',_0x3345a0),_0x222cec){const _0x4e2203=this['_getChangeFromId'](_0x222cec);if(!_0x4e2203)return null;_0x44c1a9['setAttribute']('data-change-id',_0x222cec,_0x3345a0),_0x44c1a9['addClass']('ck-revision-history-root-'+_0x4e2203['type'],_0x3345a0),this['activeChange']==_0x4e2203&&_0x44c1a9['addClass']('ck-revision-history-root--active',_0x3345a0);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4424ff=>'revision-comment:'+_0x4424ff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5e660a=>'revision-suggestion:'+_0x5e660a,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x415842=>({'name':'suggestion:'+_0x415842,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x19e884=>{const _0x54bfaa=_0x19e884['markerName']['split'](':')[0x1];return'insertion'!=_0x54bfaa&&'deletion'!=_0x54bfaa?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x54bfaa]};}}),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',(_0x53711a,_0x2cf5d8,_0x189167)=>{const _0x22a9d6=_0x189167['mapper']['markerNameToElements'](_0x2cf5d8['markerName']);if(_0x22a9d6){for(const _0x509280 of _0x22a9d6)_0x509280['is']('uiElement')&&(_0x189167['mapper']['unbindElementFromMarkerName'](_0x509280,_0x2cf5d8['markerName']),_0x189167['writer']['remove'](_0x509280));}},{'priority':'high'});}['_getChangeFromId'](_0x2f7ca2){return this['_changeIdToChange']['get'](_0x2f7ca2);}['_getViewForChange'](_0x3e17e6){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3e17e6),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x6cb042,_0x2c9c37,_0x3f2b27,_0x354c34)=>{_0x354c34&&this['_balloon']['remove'](_0x354c34),_0x3f2b27&&(this['_balloon']['add']({'view':_0x3f2b27,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2b8cd4=this['editor']['editing'],_0x4d3e3e=this['_getChangeFromId'](_0x3f2b27['changeId']);let _0x7d762a;if(_0x4d3e3e['data']['isOnRoot']){const _0x3c2fda=_0x2b8cd4['view']['getDomRoot'](_0x4d3e3e['rootName']);_0x7d762a=Array['from'](_0x3c2fda['getClientRects']());}else{const _0x3cdfda=this['editor']['model']['markers']['get']('revision:'+_0x3f2b27['changeId']);_0x7d762a=Array['from'](_0x2b8cd4['mapper']['markerNameToElements'](_0x3cdfda['name']))['map'](_0x3e577f=>_0x2b8cd4['view']['domConverter']['mapViewToDom'](_0x3e577f))['map'](_0x4c9b0f=>Array['from'](_0x4c9b0f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x7d762a[0x0];return _0x7d762a['find'](_0x4ca52f=>_0x4ca52f['top']-0x3<=this['_activeViewTarget']['y']&&_0x4ca52f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4ca52f['left']-0x3<=this['_activeViewTarget']['x']&&_0x4ca52f['right']+0x3>=this['_activeViewTarget']['x'])||_0x7d762a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3fa4a1,_0x3cdac3,_0x35e400,_0x19b358)=>{this['activeView']=_0x35e400?this['_getViewForChange'](_0x35e400):null,this['editor']['model']['change'](()=>{const _0x5a4493=this['editor']['editing'];_0x19b358&&(_0x19b358['data']['isOnRoot']?_0x5a4493['view']['change'](_0x25e90d=>{_0x25e90d['removeClass']('ck-revision-history-root--active',_0x5a4493['view']['document']['getRoot'](_0x19b358['rootName']));}):_0x5a4493['reconvertMarker']('revision:'+_0x19b358['id'])),_0x35e400&&(_0x35e400['data']['isOnRoot']?_0x5a4493['view']['change'](_0x18a14e=>{_0x18a14e['addClass']('ck-revision-history-root--active',_0x5a4493['view']['document']['getRoot'](_0x35e400['rootName']));}):_0x5a4493['reconvertMarker']('revision:'+_0x35e400['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x38784d,_0x24305c)=>{if(this['activeChange'])return;const _0x331964=this['_findChangeIdFromDomTarget'](_0x24305c['target']),_0x158e23=this['_changeIdToChange']['get'](_0x331964);_0x158e23?(this['_activeViewTarget']={'x':_0x24305c['domEvent']['x'],'y':_0x24305c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x158e23)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x305008,_0x347404)=>{const _0x5ae25f=this['_findChangeIdFromDomTarget'](_0x347404['target']),_0x31af82=this['_changeIdToChange']['get'](_0x5ae25f);_0x31af82?(this['_activeViewTarget']={'x':_0x347404['domEvent']['x'],'y':_0x347404['domEvent']['y']},_0x31af82===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x31af82):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5b2440){do{const _0x59e6ce=_0x5b2440['getAttribute']('data-change-id');if(_0x59e6ce)return _0x59e6ce;_0x5b2440=_0x5b2440['parent'];}while(_0x5b2440);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x218d85=>{for(const _0x11a532 of this['editor']['model']['markers'])_0x218d85['removeMarker'](_0x11a532);});}}function et(_0x4ed8c2,_0x2a89fc){return(_0x18d742,_0x4db810,_0x191fdb)=>{if(!_0x191fdb['consumable']['test'](_0x4db810['markerRange'],_0x18d742['name']))return;const _0x195b48=_0x4db810['markerRange']['getWalker'](),_0x98d5df=_0x4db810['markerRange']['start'],_0x242c0c=_0x4ed8c2['model']['schema'];let _0x273d9f=null,_0x2008fb=null,_0xa9f87f=!0x1,_0x1bc40c=!0x1;for(const _0x57d6ca of _0x195b48){const _0x207e39=_0x57d6ca['item'];_0xa9f87f=_0xa9f87f||_0x242c0c['isContent'](_0x207e39);const _0x3d3785=_0x191fdb['mapper']['toViewElement'](_0x207e39);if(_0x3d3785&&_0x3d3785['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x57d6ca['type']&&(_0x242c0c['isBlock'](_0x207e39)&&!_0x242c0c['isLimit'](_0x207e39)&&(_0x207e39['nextSibling']||_0x98d5df['isAtEnd']?_0x273d9f&&_0x273d9f['parent']==_0x207e39||(_0x273d9f=_0x207e39,_0x2ec2b5(_0x57d6ca['previousPosition']),_0x1bc40c=!0x0):_0x2008fb=_0x2008fb||_0x57d6ca['previousPosition']));}function _0x2ec2b5(_0x35fae1){const _0x375646=_0x191fdb['mapper']['toViewPosition'](_0x35fae1),_0x13282b=_0x191fdb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2a89fc});_0x191fdb['writer']['insert'](_0x375646,_0x13282b),_0x191fdb['mapper']['bindElementToMarker'](_0x13282b,_0x4db810['markerName']);}_0xa9f87f||_0x1bc40c||!_0x2008fb||_0x2ec2b5(_0x2008fb);};}class bt extends _0x269760{constructor(_0x4f1bee){super(_0x4f1bee);const _0x28837f=_0x4f1bee['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x28837f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x28837f,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x20b071=this['editor'],_0x1c32fe=_0x20b071['plugins']['get'](d),_0x56fcf7=_0x1c32fe['isReady']?_0x1c32fe['diff']['newRevisionId']:null;_0x20b071['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x56fcf7);}['refresh'](){const {isReady:_0x39eef9,isEnabled:_0x5ea318}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x39eef9&&_0x5ea318;}}class yt extends _0x269760{['_step'];constructor(_0x4ea72f,{direction:_0x37c57c}){super(_0x4ea72f);const _0xabe2d7=_0x4ea72f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x37c57c?0x1:-0x1,this['listenTo'](_0xabe2d7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xabe2d7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xabe2d7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x35c9f8=this['editor'],_0x29d45e=_0x35c9f8['plugins']['get'](d),{isNavigationMode:_0xfad39,currentChangeNumber:_0x13ccad}=_0x29d45e;let _0x50877d;if(_0x29d45e['activeChange']=_0xfad39?_0x29d45e['diff']['changes']['get'](_0x13ccad+this['_step']):_0x29d45e['diff']['changes']['first'],_0x29d45e['activeChange']['data']['isOnRoot'])_0x50877d=_0x35c9f8['editing']['view']['getDomRoot'](_0x29d45e['activeChange']['rootName']);else{const _0x891a00=_0x35c9f8['model']['markers']['get']('revision:'+_0x29d45e['activeChange']['id']);_0x50877d=_0x38896f(_0x35c9f8['editing'],_0x891a00);}_0x20aa76({'target':_0x50877d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x310271,currentChangeNumber:_0x3d6aa6,numberOfChanges:_0x5d69bb,isReady:_0x26f4c1,isEnabled:_0x575fa5}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x575fa5&&_0x26f4c1&&_0x5d69bb)&&(!_0x310271||(0x1===this['_step']?_0x3d6aa6<_0x5d69bb-0x1:_0x3d6aa6>0x0));}}class _i extends _0x4ee463{constructor(_0x5c5c5e){super(_0x5c5c5e);const _0x305ffa=this['bindTemplate'],_0x102a9b=new _0x302693(_0x5c5c5e),_0x2a6907=new _0x302693(_0x5c5c5e);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',(_0x15a121,_0x16490d)=>_0x15a121&&_0x16490d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xa3e584,_0x42bab3,_0x53950b,_0xc29271)=>{if(!_0xa3e584)return y(_0x5c5c5e,'Loading...');if(!_0x53950b)return y(_0x5c5c5e,'No\x20changes');const _0x383e88=y(_0x5c5c5e,'NUMBER_OF_CHANGES',_0x53950b);return _0xc29271?y(_0x5c5c5e,'X_OF_Y_CHANGES',[_0x42bab3+0x1,_0x53950b]):_0x383e88;}),_0x102a9b['set']({'label':y(_0x5c5c5e,'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'}),_0x2a6907['set']({'label':y(_0x5c5c5e,'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'}),_0x102a9b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2a6907['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x102a9b['on']('execute',()=>this['fire']('execute','backward')),_0x2a6907['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',_0x305ffa['if']('_isStatusLabelVisible','ck-hidden',_0x375c1b=>!_0x375c1b)]},'children':[{'text':_0x305ffa['to']('isNavigationMode',_0xbf2304=>_0xbf2304?y(_0x5c5c5e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5c5c5e,'Total')+':\x20')}]},{'text':_0x305ffa['to']('_statusText')}]},new _0x51a1d2(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x102a9b,_0x2a6907]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x25b853{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1d4bcd=this['editor']['editing']['view'];_0x1d4bcd['change'](_0x3daaad=>{for(const _0x525ed6 of _0x1d4bcd['document']['roots'])_0x3daaad['addClass'](ce,_0x525ed6);});}['hide'](){const _0x2e657b=this['editor']['editing']['view'];_0x2e657b['change'](_0x8f7712=>{for(const _0x44b067 of _0x2e657b['document']['roots'])_0x8f7712['removeClass'](ce,_0x44b067);});}}class R extends _0x25b853{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x526318=this['editor'],_0x2193aa=_0x526318['plugins']['get'](d),_0x2c65e5=_0x526318['plugins']['get'](de);_0x526318['ui']['componentFactory']['add']('exitToEditing',_0x149ba9=>{const _0x991bc5=new _0x302693(_0x149ba9);return _0x991bc5['set']({'label':y(_0x149ba9,'Back\x20to\x20editing'),'icon':_0x152ab3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x991bc5,'execute',()=>{_0x526318['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x991bc5;}),_0x526318['ui']['componentFactory']['add']('restoreRevision',_0x3e926d=>{const _0x3e46d0=new _0x302693(_0x3e926d);return _0x3e46d0['set']({'label':y(_0x3e926d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3e46d0['bind']('isEnabled')['to'](_0x526318['commands']['get']('restoreRevision')),this['listenTo'](_0x3e46d0,'execute',()=>_0x526318['execute']('restoreRevision')),_0x3e46d0;}),_0x526318['ui']['componentFactory']['add']('changesNavigation',_0x4387cc=>{const _0x462cf8=new _i(_0x4387cc),_0x5827c9=_0x526318['commands']['get']('showPreviousChange'),_0x38fc86=_0x526318['commands']['get']('showNextChange');return _0x462cf8['bind']('isBackwardNavigationEnabled')['to'](_0x5827c9,'isEnabled'),_0x462cf8['bind']('isForwardNavigationEnabled')['to'](_0x38fc86,'isEnabled'),_0x462cf8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2193aa),this['listenTo'](_0x462cf8,'execute',(_0x1e264a,_0x2ea7f9)=>{_0x526318['execute']('forward'===_0x2ea7f9?'showNextChange':'showPreviousChange');}),_0x462cf8;}),_0x2c65e5['show'](),_0x2193aa['on']('change:isReady',(_0x2bd529,_0x158378,_0x1bf83c)=>{_0x1bf83c?_0x2c65e5['hide']():_0x2c65e5['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x448398,_0x3c5fe4){super(_0x448398,_0x3c5fe4);const _0x3110e8=this['bindTemplate'];this['set']({'label':y(_0x448398,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x448398,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3110e8['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 _0x1447b8=this['fieldView']['element'];this['_tooltipString']=_0x1447b8['scrollWidth']>_0x1447b8['clientWidth']&&_0x1447b8['value']||'';}}class ti extends _0x4ee463{constructor(_0x147f55,_0x34336c,_0x3c4266){super(_0x147f55);const _0xc1892=new _0x44637d();_0xc1892['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 _0x35f917=['ck','ck-revision-history-sidebar__revision-author'];_0x3c4266&&_0x35f917['push']('ck-revision-history-sidebar__revision-author_creator');const _0x339fef=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x147f55,_0x3c4266?'Revision\x20creator':'Revision\x20author')},'children':[_0xc1892,_0x34336c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x35f917},'children':_0x339fef});}}function ni(_0x22a0e2,_0x9b6dde){const _0x25d79b=_0x22a0e2['bindTemplate'],_0x151014=_0x22a0e2['locale'],_0x4ed02a=_0xaa4d18(_0x151014);_0x4ed02a['panelPosition']='sw';const _0x4d7c07=function(_0x237644,_0x3d3ab7){const _0x31879a=function(_0x476d8d,_0x3aba35){const _0x5a95c0=_0x476d8d['locale'],_0xa7ae95={'Compare\x20against\x20selected':y(_0x5a95c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5a95c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5a95c0,'Restore\x20this\x20revision')};return _0x3aba35['map'](_0x448ca0=>{const _0x3b383c=_0xa7ae95[_0x448ca0['name']];return _0x3b383c&&_0x3b383c!==_0x448ca0['name']&&(_0x448ca0['name']=_0x3b383c),_0x448ca0;});}(_0x237644,_0x3d3ab7),_0x272f28=new _0x17d2c9();for(const _0x124088 of _0x31879a){const _0x13b0d4={'type':'button','model':new to({'label':_0x124088['name'],'class':_0x124088['class'],'withText':!0x0,'role':'menuitem','_action':_0x124088['action']})};_0x13b0d4['model']['bind']('isEnabled')['to'](_0x237644,'isActionsDropdownOpen',_0x5918ff=>'function'!=typeof _0x124088['isEnabled']||(!_0x5918ff||_0x124088['isEnabled'](_0x237644))),_0x272f28['add'](_0x13b0d4);}return _0x272f28;}(_0x22a0e2,_0x9b6dde);return _0x22a0e2['bind']('isActionsDropdownOpen')['to'](_0x4ed02a,'isOpen'),_0x4ed02a['buttonView']['set']({'label':y(_0x151014,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x152ab3['threeVerticalDots']}),_0x4ed02a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x25d79b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x25d79b['to'](_0x1a5ee3=>_0x1a5ee3['stopPropagation']())}}),_0x4ed02a['on']('execute',_0x4ea63d=>{_0x22a0e2['isReady']&&'function'==typeof _0x4ea63d['source']['_action']&&_0x4ea63d['source']['_action'](_0x22a0e2);}),_0x1ab634(_0x4ed02a,_0x4d7c07,{'role':'menu'}),_0x4ed02a['listenTo'](_0x22a0e2,'change:isActionsDropdownOpen',(_0x315183,_0x1c7221,_0x56866b)=>{if(_0x56866b)for(const _0x523d42 of _0x4ed02a['listView']['items']){const _0xc17652=_0x523d42['children']['first'],_0x48b17a=_0x9b6dde['find'](_0x14d791=>_0x14d791['action']===_0xc17652['_action'])['isVisible'];_0x523d42['isVisible']=void 0x0===_0x48b17a||_0x48b17a(_0x22a0e2);}}),_0x4ed02a;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x61304f(_0x4ee463){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x27b71d,_0x5a4edf,_0x2e6c7c,_0x9b7cd9){super(_0x27b71d);const _0x1576be=this['bindTemplate'],_0x3b988d=function(_0x26d6ab,_0x17ff2e){const _0x406c4d=Array['from'](_0x17ff2e['authors'])['filter'](_0x676669=>_0x676669!=_0x17ff2e['creator']);return _0x17ff2e['creator']&&_0x406c4d['unshift'](_0x17ff2e['creator']),_0x406c4d['map'](_0x24f092=>new ti(_0x26d6ab,_0x24f092,_0x24f092==_0x17ff2e['creator']));}(_0x27b71d,_0x5a4edf);this['id']=_0x5a4edf['id'],this['_revision']=_0x5a4edf,this['_requireRevisionName']=_0x9b7cd9,this['bind']('name','createdAt')['to'](_0x5a4edf),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x43e659=>{return _0x5b7159=_0x27b71d['uiLanguage'],(_0xed88bb=_0x43e659)['toLocaleDateString'](_0x5b7159,{'month':'long','day':'numeric'})+',\x20'+_0xed88bb['toLocaleTimeString'](_0x5b7159,{'hour':'numeric','minute':'numeric'});var _0x5b7159,_0xed88bb;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x27b71d,_0x27a5db),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x148c3a=>_0x148c3a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fdd36,_0x3ae586)=>_0x1fdd36&&_0x3ae586),this['revisionActionsView']=_0x2e6c7c&&_0x2e6c7c['length']?ni(this,_0x2e6c7c):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1576be['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1576be['if']('isEnabled','ck-disabled',_0x272bd4=>!_0x272bd4),_0x1576be['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1576be['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1576be['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':_0x1576be['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':_0x3b988d}]},this['revisionActionsView']],'on':{'click':_0x1576be['to'](_0x198022=>{_0x198022['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2e2e47=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2e2e47,'change',()=>{this['_requireRevisionName']&&!_0x2e2e47['value']||this['fire']('setName',{'id':this['id'],'name':_0x2e2e47['value']}),_0x2e2e47['value']||(_0x2e2e47['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(_0x3e39c3,_0x4c070c){const _0x28a40d=_0x5a8648['fromJSDate'](_0x3e39c3)['setLocale'](_0x4c070c),_0x4bd23b=_0x5a8648['local'](),_0x22198d=_0x4bd23b['minus']({'days':0x1})['startOf']('day');let _0x5d8a03,_0x122541;return _0x28a40d['hasSame'](_0x4bd23b,'day')?(_0x5d8a03=_0x28a40d['startOf']('day')['toJSDate'](),_0x122541=_0x28a40d['toRelativeCalendar']()):_0x28a40d['hasSame'](_0x22198d,'day')?(_0x5d8a03=_0x22198d['toJSDate'](),_0x122541=_0x28a40d['toRelativeCalendar']()):_0x28a40d['hasSame'](_0x4bd23b,'week')?(_0x5d8a03=_0x28a40d['startOf']('week')['toJSDate'](),_0x122541=_0x28a40d['weekdayLong']||''):_0x28a40d['hasSame'](_0x4bd23b,'year')?(_0x5d8a03=_0x28a40d['startOf']('month')['toJSDate'](),_0x122541=_0x28a40d['monthLong']||''):(_0x5d8a03=_0x28a40d['startOf']('year')['toJSDate'](),_0x122541=String(_0x28a40d['year'])),{'startDate':_0x5d8a03,'localizedPeriodName':_0x122541};}class mi extends _0x4ee463{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2a578b,_0x3c2312,_0x3cf7da,_0x15b473){super(_0x2a578b);const _0x5ad04e=di(_0x3c2312,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3c2312,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3cf7da,this['_requireRevisionName']=_0x15b473,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':_0x5ad04e}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3d35d9){const _0x4a25f0=new ai(this['locale'],_0x3d35d9,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4a25f0);}['removeRevision'](_0x1ca74a){const _0x5b479e=this['revisionViews']['find'](_0x3067c5=>_0x3067c5['id']===_0x1ca74a['id']);this['revisionViews']['remove'](_0x5b479e);}}class as extends _0x4ee463{constructor(_0x19ec30){super(_0x19ec30);const _0x1dc34e=new _0x44637d();_0x1dc34e['content']=_0x152ab3['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x1dc34e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x19ec30,'Revision\x20history')]}]});}}class ci extends _0x4ee463{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1b1f47,_0xd6d784,_0x568885,_0x51d0e){super(_0x1b1f47);const _0x273f3b=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xd6d784,this['_revisionActions']=_0x568885,this['_requireRevisionName']=_0x51d0e,this['on']('select',(_0x10491d,_0x48a1c5)=>{this['fire']('revisionSelected',_0x48a1c5);}),this['on']('setName',(_0x47e7d3,_0x4e7097)=>{this['fire']('revisionSetName',_0x4e7097);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1b1f47),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x273f3b['if']('isEnabled','ck-disabled',_0x5905b9=>!_0x5905b9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x53ba29 of this['_revisions'])this['_addRevision'](_0x53ba29);this['_revisions']['on']('add',(_0x11b93c,_0x44cc33)=>{this['_addRevision'](_0x44cc33);}),this['_revisions']['on']('remove',(_0xf70c7d,_0x32345b)=>{this['_removeRevision'](_0x32345b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4801d0=>_0x4801d0['revisionViews']['map'](_0x2376d2=>_0x2376d2))['flat']();}['selectRevision'](_0x2aaade){for(const _0x554c89 of this['revisionViews'])_0x2aaade&&_0x2aaade['id']===_0x554c89['id']?_0x554c89['select']():_0x554c89['deselect']();}['highlightRevisions'](_0x2d6a95){for(const _0x543065 of this['revisionViews'])_0x2d6a95['some'](({id:_0x5b4db7})=>_0x5b4db7===_0x543065['id'])?_0x543065['highlight']():_0x543065['unhighlight']();}['_addRevision'](_0x3f9628){const _0x257df6=di(_0x3f9628['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x43bb1a=this['timePeriodViews']['get'](0x0);_0x43bb1a&&_0x43bb1a['startDate']['getTime']()===_0x257df6['getTime']()||(_0x43bb1a=new mi(this['locale'],_0x257df6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x43bb1a)),_0x43bb1a['addRevision'](_0x3f9628);}['_removeRevision'](_0x947ba8){const _0x51aec6=di(_0x947ba8['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x51aec6)['removeRevision'](_0x947ba8);}['_getTimePeriodViewByStartDate'](_0x50c30a){return this['timePeriodViews']['find'](_0xb0c9b6=>_0xb0c9b6['startDate']['getTime']()===_0x50c30a['getTime']());}}class w extends _0x25b853{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x570864,Context as _0x269d46,PendingActions as _0x145148,icons as _0xa39abc,Command as _0x3e2fc2,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x157521,uid as _0x3b5255,Collection as _0x12c280,logWarning as _0x2f89d3,FocusTracker as _0x347cd6,KeystrokeHandler as _0x479280,scrollViewportToShowTarget as _0x24e8c4,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x28879a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x41255f,getMarkerDomElement as _0x557e1b,ConfirmMixin as _0x574ea2,sanitizeEditorConfig as _0x2c2d14}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3204ea,ViewText as _0x4c3592,ViewElement as _0x306c72,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x757aae,ViewAttributeElement as _0xa210d8,ViewEmptyElement as _0x193389,ViewRawElement as _0x3f1dae,ViewUIElement as _0x512571,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xcaf5fd,set as _0x16b7d1,unset as _0x52a7da,isEqual as _0xf2d6a2}from'lodash-es';import{View as _0x4e738a,injectCssTransitionDisabler as ts,submitHandler as _0x45bbf8,LabeledFieldView as at,createLabeledInputText as _0x32656c,createDropdown as _0x187e19,ListView as te,ListItemView as _0x54edbd,ButtonView as _0x4cc0a0,MenuBarMenuView as _0x3e273f,MenuBarMenuListView as _0x2f8e96,MenuBarMenuListItemView as _0x178041,MenuBarMenuListItemButtonView as _0x5c0dae,ContextualBalloon as _0x5d33fb,ToolbarSeparatorView as _0x538991,IconView as _0x2b9afc,addListToDropdown as _0x3b884b,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 _0x5df281}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x157521(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x580185){super(),this['id']=_0x580185['id']||_0x3b5255(),this['creator']=_0x580185['creator']||null,this['authors']=_0x580185['authors']||[],this['diffData']=_0x580185['diffData']||null,this['toVersion']=_0x580185['toVersion']||0x0,this['fromVersion']=_0x580185['fromVersion']||0x0,this['set']('name',_0x580185['name']||''),this['set']('createdAt',_0x580185['createdAt']||new Date()),this['set']('attributes',_0x580185['attributes']||{});}['setName'](_0x2dbb17){this['_update']({'name':_0x2dbb17});}['setAttribute'](_0x5048f0,_0x4403b0){const _0x1209c4=_0xcaf5fd(this['attributes']);_0x16b7d1(_0x1209c4,_0x5048f0,_0x4403b0),this['_update']({'attributes':_0x1209c4});}['removeAttribute'](_0xeb319c){const _0x1435b6=_0xcaf5fd(this['attributes']);_0x52a7da(_0x1435b6,_0xeb319c),this['_update']({'attributes':_0x1435b6});}['_update'](_0x5a8e03,_0x3bd6f3=!0x1){let _0x4a7d61=!0x1;const _0x5c3f57={'id':this['id']},_0x181182=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x6cbbf3 of _0x181182){const _0x45da8d=_0x5a8e03[_0x6cbbf3];void 0x0!==_0x45da8d&&_0x45da8d!==this[_0x6cbbf3]&&(this[_0x6cbbf3]=_0x45da8d,_0x5c3f57[_0x6cbbf3]=_0x45da8d,_0x4a7d61=!0x0);}_0x4a7d61&&(_0x5c3f57['authors']&&(_0x5c3f57['authorsIds']=_0x5c3f57['authors']['map'](_0x5d47a1=>_0x5d47a1['id']),delete _0x5c3f57['authors']),this['fire']('_update',_0x5c3f57,_0x3bd6f3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x27e612=>_0x27e612['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x570864{['_revisions'];static get['requires'](){return[_0x41255f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3174d4){super(_0x3174d4),this['_revisions']=new _0x12c280();}['afterInit'](){!function(_0x539c70){function _0x18bcb2(_0x142a86,_0x403beb,_0x4013ea){const _0x4568f4={};_0x4568f4[_0x5527c2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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 _0x1db4a2=new Uint8Array(0x10);for(let _0x4124f2=0xf;_0x4124f2>=0x0;--_0x4124f2)_0x1db4a2[_0x4124f2]=_0x4013ea%0x100,_0x4013ea=parseInt(_0x4013ea/0x100);let _0x5371f4=null,_0x4b5f37=0x10;const _0x5192c3=new Uint8Array(_0x403beb),_0x2607f6=[],_0x2e740b=[];_0x4f6734();for(let _0x3bb636=0x0;_0x3bb636<_0x142a86[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bb636++)0x10===_0x4b5f37&&(_0x5371f4=_0x5d3062(_0x1db4a2),_0x4b5f37=0x0,_0x396d7d(_0x1db4a2)),_0x142a86[_0x3bb636]^=_0x5371f4[_0x4b5f37++];return _0x142a86;function _0x58c5c3(_0x2c6f1d){const _0x52e8a5=[];for(let _0x35a7e4=0x0;_0x35a7e4<_0x2c6f1d[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35a7e4+=0x4)_0x52e8a5[_0x5527c2([0x70,0x75,0x73,0x68])](_0x2c6f1d[_0x35a7e4]<<0x18|_0x2c6f1d[_0x35a7e4+0x1]<<0x10|_0x2c6f1d[_0x35a7e4+0x2]<<0x8|_0x2c6f1d[_0x35a7e4+0x3]);return _0x52e8a5;}function _0x396d7d(_0x1c376b){for(let _0x509d6a=0xf;_0x509d6a>=0x0;_0x509d6a--){if(0xff!==_0x1c376b[_0x509d6a]){_0x1c376b[_0x509d6a]++;break;}_0x1c376b[_0x509d6a]=0x0;}}function _0x5d3062(_0xb4bc99){const _0x352447=_0x2607f6[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x537d2d=[0x0,0x0,0x0,0x0];let t=_0x58c5c3(_0xb4bc99);for(let _0x4e468d=0x0;_0x4e468d<0x4;_0x4e468d++)t[_0x4e468d]^=_0x2607f6[0x0][_0x4e468d];for(let _0x42fb0e=0x1;_0x42fb0e<_0x352447;_0x42fb0e++){for(let _0x53eb48=0x0;_0x53eb48<0x4;_0x53eb48++)_0x537d2d[_0x53eb48]=_0x4568f4[_0x5527c2([0x54,0x31])][t[_0x53eb48]>>0x18&0xff]^_0x4568f4[_0x5527c2([0x54,0x32])][t[(_0x53eb48+0x1)%0x4]>>0x10&0xff]^_0x4568f4[_0x5527c2([0x54,0x33])][t[(_0x53eb48+0x2)%0x4]>>0x8&0xff]^_0x4568f4[_0x5527c2([0x54,0x34])][0xff&t[(_0x53eb48+0x3)%0x4]]^_0x2607f6[_0x42fb0e][_0x53eb48];t=_0x537d2d[_0x5527c2([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4b95b6=new Uint8Array(0x10);let _0x437165;for(let _0x2483ab=0x0;_0x2483ab<0x4;_0x2483ab++)_0x437165=_0x2607f6[_0x352447][_0x2483ab],_0x4b95b6[0x4*_0x2483ab]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[_0x2483ab]>>0x18&0xff]^_0x437165>>0x18),_0x4b95b6[0x4*_0x2483ab+0x1]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[(_0x2483ab+0x1)%0x4]>>0x10&0xff]^_0x437165>>0x10),_0x4b95b6[0x4*_0x2483ab+0x2]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[(_0x2483ab+0x2)%0x4]>>0x8&0xff]^_0x437165>>0x8),_0x4b95b6[0x4*_0x2483ab+0x3]=0xff&(_0x4568f4[_0x5527c2([0x53])][0xff&t[(_0x2483ab+0x3)%0x4]]^_0x437165);return _0x4b95b6;}function _0x4f6734(){const _0xa991dd=_0x4568f4[_0x5527c2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5192c3[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xacde1f=0x0;_0xacde1f<=_0xa991dd;_0xacde1f++)_0x2607f6[_0x5527c2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2e740b[_0x5527c2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5e7719=0x4*(_0xa991dd+0x1),_0x5ad490=_0x5192c3[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2f6040=_0x58c5c3(_0x5192c3);let _0x4becdf;for(let _0x1e7c89=0x0;_0x1e7c89<_0x5ad490;_0x1e7c89++)_0x4becdf=_0x1e7c89>>0x2,_0x2607f6[_0x4becdf][_0x1e7c89%0x4]=_0x2f6040[_0x1e7c89],_0x2e740b[_0xa991dd-_0x4becdf][_0x1e7c89%0x4]=_0x2f6040[_0x1e7c89];let _0x4dfcf7,_0x1d595e=0x0,t=_0x5ad490;for(;t<_0x5e7719;){_0x4dfcf7=_0x2f6040[_0x5ad490-0x1],_0x2f6040[0x0]^=_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x10&0xff]<<0x18^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x8&0xff]<<0x10^_0x4568f4[_0x5527c2([0x53])][0xff&_0x4dfcf7]<<0x8^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x18&0xff]^_0x4568f4[_0x5527c2([0x72,0x63,0x6f,0x6e])][_0x1d595e]<<0x18,_0x1d595e+=0x1;for(let _0x47bf3a=0x1;_0x47bf3a<_0x5ad490/0x2;_0x47bf3a++)_0x2f6040[_0x47bf3a]^=_0x2f6040[_0x47bf3a-0x1];_0x4dfcf7=_0x2f6040[_0x5ad490/0x2-0x1],_0x2f6040[_0x5ad490/0x2]^=_0x4568f4[_0x5527c2([0x53])][0xff&_0x4dfcf7]^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x8&0xff]<<0x8^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x10&0xff]<<0x10^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x18&0xff]<<0x18;for(let _0x445b16=_0x5ad490/0x2+0x1;_0x445b16<_0x5ad490;_0x445b16++)_0x2f6040[_0x445b16]^=_0x2f6040[_0x445b16-0x1];let _0x122767,_0x4cd64d,_0x47b66b=0x0;for(;_0x47b66b<_0x5ad490&&t<_0x5e7719;)_0x122767=t>>0x2,_0x4cd64d=t%0x4,_0x2607f6[_0x122767][_0x4cd64d]=_0x2f6040[_0x47b66b],_0x2e740b[_0xa991dd-_0x122767][_0x4cd64d]=_0x2f6040[_0x47b66b++],t++;}for(let _0x47f4fb=0x1;_0x47f4fb<_0xa991dd;_0x47f4fb++)for(let _0x25c0dc=0x0;_0x25c0dc<0x4;_0x25c0dc++)_0x4dfcf7=_0x2e740b[_0x47f4fb][_0x25c0dc],_0x2e740b[_0x47f4fb][_0x25c0dc]=_0x4568f4[_0x5527c2([0x55,0x31])][_0x4dfcf7>>0x18&0xff]^_0x4568f4[_0x5527c2([0x55,0x32])][_0x4dfcf7>>0x10&0xff]^_0x4568f4[_0x5527c2([0x55,0x33])][_0x4dfcf7>>0x8&0xff]^_0x4568f4[_0x5527c2([0x55,0x34])][0xff&_0x4dfcf7];}}function _0x5527c2(_0x26cd55){return _0x26cd55['map'](_0x5833e6=>String['fromCharCode'](_0x5833e6))['join']('');}(_0x2196bb=>{function _0xb0f66b(){const _0x39adcd=[{[_0x5527c2([0x69,0x64])]:0x1,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5527c2([0x69,0x64])]:0x2,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5527c2([0x69,0x64])]:0x3,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0x4,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5527c2([0x69,0x64])]:0x5,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x6,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x7,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x8,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x9,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5527c2([0x69,0x64])]:0xa,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([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]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([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]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0xb,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0xc,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5527c2([0x69,0x64])]:0xd,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0xe,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5527c2([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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])},{[_0x5527c2([0x69,0x64])]:0xf,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0x10,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}}];return _0x21aae3(_0x39adcd),_0x39adcd;function _0x88baea(_0x48b3f0){return 0x1<<_0x48b3f0-0x1;}function _0x21aae3(_0x395d8c){_0x395d8c[_0x5527c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd4a0d0=>{_0xd4a0d0[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x88baea(_0xd4a0d0[_0x5527c2([0x69,0x64])]),_0x485a04(_0xd4a0d0)&&_0xd4a0d0[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x21aae3(_0xd4a0d0[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x485a04(_0x3aca6f){return _0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3aca6f;}const _0x51dc88=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x492ecb=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x226492(_0x24fa92){const _0x3c0853=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4dbc19(_0x24fa92,new Uint8Array([..._0x51dc88,..._0x3c0853,..._0x492ecb]));}function _0x4dbc19(_0x2faab2,_0x190846){const _0x478d94=_0x848fbe(_0x2faab2),_0xc3ed46=Array[_0x5527c2([0x66,0x72,0x6f,0x6d])](_0x432dde(_0x478d94)),_0x5f2c62=_0xc3ed46[_0x5527c2([0x70,0x6f,0x70])](),_0x88de31=_0xc3ed46[_0x5527c2([0x70,0x6f,0x70])]();return _0x5317d6(_0x18bcb2(_0xc3ed46,_0x190846,_0x88de31+0x100*_0x5f2c62));}function _0x848fbe(_0x3af2e7){const _0x538bf9=atob(_0x3af2e7),[_0x4b55fa,_0x1b6839]=_0x538bf9[_0x5527c2([0x73,0x70,0x6c,0x69,0x74])](_0x5527c2([0x2d]));try{if(atob(_0x1b6839))return atob(_0x4b55fa);}catch(_0x3c7758){}return _0x538bf9;}function _0x5ddab5(_0x19debe){try{const _0x1c7a3c=_0x226492(_0x19debe),_0x47b633=JSON[_0x5527c2([0x70,0x61,0x72,0x73,0x65])](_0x1c7a3c),_0x4f11f0=parseInt(_0x47b633[_0x5527c2([0x31])]),_0x2c8fca=_0x47b633[_0x5527c2([0x32])]||'',_0x137055=parseInt(_0x47b633[_0x5527c2([0x33])]),_0x5510b1=parseInt(_0x47b633[_0x5527c2([0x34])])||0x0,_0x139ce0=parseInt(_0x47b633[_0x5527c2([0x35])])||0x0;return{[_0x5527c2([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2c8fca,[_0x5527c2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5510b1,[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4f11f0,[_0x5527c2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x137055,[_0x5527c2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x139ce0};}catch(_0x2ddb1c){return null;}}const _0x1616e2=_0xb0f66b(),_0x9d1819={[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3d00dc,[_0x5527c2([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])]:_0xd116,[_0x5527c2([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])]:_0x13900f},_0x2eea95=_0x2196bb[_0x5527c2([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1330ca=_0x5527c2([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2196bb?_0x2196bb['context']:_0x2196bb['editor'],_0x376718=_0x5527c2([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x32]),_0xfe6ace=_0x5527c2([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]),_0x51fb90=_0x1330ca['config']['get'](_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4f4309=_0x1616e2[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x485a04)[_0x5527c2([0x66,0x69,0x6e,0x64])](_0x2f9f56=>_0x2f9f56[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2eea95);function _0x17c1cf(_0x293870,_0x4b9cde){_0x9d1819[_0x4b9cde[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x293870,_0x4b9cde),_0x4b9cde[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4b9cde[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x565181=>_0x406e71(_0x1330ca,_0x565181[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5527c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x605e04=>_0x17c1cf(_0x293870,_0x605e04));}function _0x3d00dc(_0x26e0b5,_0x3e31e7){_0x99d9fc(_0x3abd45(_0x26e0b5,_0x3e31e7),_0x3e31e7);}function _0xd116(_0xf00ca6,_0xc320c7){function _0x3d7f10(_0x5b59e9,_0xa8f27){try{if(_0x406e71(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5b59e9){const _0x287279=_0x19eb01(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5527c2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x287279)/0x2>_0x5b59e9[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5ddeae(_0xa8f27[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3abd45(_0x5b59e9,_0xa8f27);}catch(_0x390903){return _0x5ddeae(_0xa8f27[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x99d9fc(_0x3d7f10(_0xf00ca6,_0xc320c7),_0xc320c7);}function _0x13900f(_0x38bed7,_0x48b493){const _0x2a22d6=_0x492ecb[0x0]*_0x51dc88[0x1],_0x2c2214=_0x492ecb[0x0]*_0x51dc88[0x2],_0x3e4522=_0x492ecb[0x2]*_0x51dc88[0x2];_0x406e71(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1a8120()]=_0x3e4522);function _0x21c38(_0x380c99,_0x1a5464){try{return _0x28ca30()?_0x5ddeae(_0x1a5464[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x3abd45(_0x380c99,_0x1a5464);}catch(_0x56d3d7){return _0x5ddeae(_0x1a5464[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x8ffcaf(_0x500235,_0x30d6cc){const _0x21fedf=0x7;if(_0x500235==_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x25f56c();else{if(_0x500235==_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])){const _0x52e6a7=_0x178c3d();_0x52e6a7&&_0x2924bc(_0x52e6a7,_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x92a972=_0x5b5340();window[_0x5527c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2924bc(_0x5527c2([0x74,0x69,0x6d,0x65]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x92a972);const _0x41eaa9=_0x19eb01(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x41eaa9[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21fedf?_0x2924bc(_0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x41eaa9['on'](_0x5527c2([0x61,0x64,0x64]),()=>{_0x41eaa9[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21fedf&&_0x2924bc(_0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x178c3d(){if(!_0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4960a6 in window)if(Number['isNaN'](Number(_0x4960a6))){if(window[_0x4960a6]===_0x2a22d6)return _0x5527c2([0x74,0x69,0x6d,0x65]);if(window[_0x4960a6]===_0x2c2214)return _0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x28ca30(){if(!_0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xbf4cdf in window)if(Number['isNaN'](Number(_0xbf4cdf))&&window[_0xbf4cdf]===_0x3e4522)return!0x0;return!0x1;}function _0x2924bc(_0x49e287,_0x13eeaa){_0x25f56c(),_0x5ddeae(_0x13eeaa+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x49e287),window[_0x1a8120()]=_0x49e287===_0x5527c2([0x74,0x69,0x6d,0x65])?_0x2a22d6:_0x2c2214;}function _0x5b5340(){let _0x6ba096=_0x492ecb[0x6]*_0x51dc88[0x8]*_0x51dc88[0x6];return _0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6ba096/=0xa),_0x6ba096;}function _0x25f56c(){const _0x47df69=_0x1330ca;function _0x567df9(){_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xb517f,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xb517f,_0x47df69[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x47df69[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x47df69[_0x5527c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c]))),_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xb517f,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xb517f);}_0x47df69[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x72,0x65,0x61,0x64,0x79])?_0x567df9():_0x47df69[_0x5527c2([0x6f,0x6e,0x63,0x65])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x567df9(),_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x29a6f0=_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2d1db9=_0x29a6f0['getRevision'](0x0),_0xa23b53=_0x29a6f0['getEarlierVisibleRevision'](_0x2d1db9[_0x5527c2([0x69,0x64])]);_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2d1db9[_0x5527c2([0x69,0x64])],_0xa23b53?_0xa23b53[_0x5527c2([0x69,0x64])]:null,0x1)['then'](()=>_0x567df9());}});}_0x8ffcaf(_0x21c38(_0x38bed7,_0x48b493),_0x48b493);}function _0x3abd45(_0x457341,_0x572107){try{return _0x3e5970(_0x572107)?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x457341&&_0x5c4ce0(_0x457341[_0x5527c2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x572107)?_0x457341[_0x5527c2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5527c2([0x6f,0x70,0x65,0x6e])][_0x5527c2([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x376718)/0x2>_0x457341[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x457341[_0x5527c2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])):_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5998f7){return _0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x99d9fc(_0xddda1f,_0x3d4d62){if(_0x1330ca instanceof _0x269d46){const _0x322d57=_0x1330ca;_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x26f2ad(_0x322d57):_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5527c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x26f2ad(_0x322d57),_0x5ddeae(_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x492ecb[0x6]*_0x51dc88[0x8]*_0x51dc88[0x6]),_0x322d57[_0x5527c2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5527c2([0x6f,0x6e])](_0x5527c2([0x61,0x64,0x64]),(_0x3e674f,_0x3786dc)=>{_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4c71d6(_0x3786dc);});}else{const _0x54cc92=_0x1330ca;_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c71d6(_0x54cc92):_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])&&_0x54cc92[_0x5527c2([0x6f,0x6e])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x24ff67=0x0;_0x54cc92[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x6f,0x6e])](_0x5527c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x332da5,_0x334b8f)=>{_0x334b8f[0x0][_0x5527c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24ff67++,0x1f8===_0x24ff67&&(_0x4c71d6(_0x54cc92),_0x5ddeae(_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x332da5[_0x5527c2([0x6f,0x66,0x66])]());},{'priority':_0x5527c2([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5ddeae(_0x470908){const _0x182952=_0x1a8120();return _0x1330ca[_0x182952]=_0x470908,_0x470908;}function _0x1a8120(){const _0x2e7b83=String(window[_0x5527c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5527c2([0x6e,0x6f,0x77])]())[_0x5527c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5527c2([0x2e]),'');let _0x2dea6b='';for(let _0x398a42=0x0;_0x398a42<_0x2e7b83[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x398a42+=0x2){let _0x446646=parseInt(_0x2e7b83[_0x5527c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x398a42,_0x398a42+0x2));_0x446646>=_0xfe6ace[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x446646-=_0xfe6ace[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2dea6b+=_0xfe6ace[_0x446646];}return _0x2dea6b;}function _0x26f2ad(_0x3bf8eb){for(const _0x40a9de of _0x3bf8eb[_0x5527c2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4c71d6(_0x40a9de);_0x19eb01(_0x3bf8eb,_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x19eb01(_0x3bf8eb,_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xb517f;}function _0x4c71d6(_0x249393){function _0x43e46c(){_0x249393[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x249393[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x249393[_0x5527c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c]));}_0x249393[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x72,0x65,0x61,0x64,0x79])?_0x43e46c():_0x249393[_0x5527c2([0x6f,0x6e,0x63,0x65])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>_0x43e46c());}function _0xb517f(){return null;}function _0x5c4ce0(_0x57ae27,_0x77cd6){const _0x24e907=!!(_0x57ae27&_0x77cd6[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x535faf=_0xc0be13(_0x57ae27,_0x77cd6);return _0x24e907||_0x535faf;}function _0xc0be13(_0x4a9adb,_0x208ad8){const _0x145593=(_0x208ad8[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5527c2([0x66,0x67,0x69])]||null;return!!_0x145593&&_0x1616e2[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34c5e9=>_0x145593[_0x5527c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c5e9[_0x5527c2([0x69,0x64])]))[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454726=>!_0x22a79b(_0x454726))[_0x5527c2([0x73,0x6f,0x6d,0x65])](_0x11241b=>!!(_0x4a9adb&_0x11241b[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x22a79b(_0x3d162a){const _0x3933be={[_0x5527c2([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])]:_0x324ac6};return!!_0x3d162a['forbiddenHandler']&&_0x3933be[_0x3d162a['forbiddenHandler']]();}function _0x324ac6(){return!window[_0x5527c2([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x406e71(_0x1330ca,_0x5527c2([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3e5970(_0x449c7c){if(!_0x406e71(_0x1330ca,_0x449c7c[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4f4883=_0x449c7c[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5f16eb=_0x4f4883[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xb6c53d=_0x4f4883[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x23d4c7=_0x4f4883[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x406e71(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5f16eb)return!0x0;if(_0x406e71(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5527c2([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5527c2([0x65,0x6e,0x64])&&_0xb6c53d)return!0x0;return!(!_0x406e71(_0x1330ca,_0x5527c2([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]))||_0x19eb01(_0x1330ca,_0x5527c2([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]))[_0x5527c2([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5527c2([0x65,0x6e,0x64])||!_0x23d4c7);}function _0x406e71(_0x2188a5,_0x77692c){return _0x2188a5[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5527c2([0x68,0x61,0x73])](_0x77692c);}function _0x19eb01(_0x17e149,_0x3246f0){return _0x17e149[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5527c2([0x67,0x65,0x74])](_0x3246f0);}function _0x5317d6(_0x8fd532){let _0x48ac9d='';for(const _0x4f14f1 of _0x8fd532)_0x48ac9d+=String[_0x5527c2([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4f14f1);return _0x48ac9d;}function _0x432dde(_0x593e76){const _0x1da491=new Uint8Array(_0x593e76[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x256dc5=0x0;_0x256dc5<_0x593e76[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x256dc5++)_0x1da491[_0x256dc5]=_0x593e76[_0x5527c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x256dc5);return _0x1da491;}_0x4f4309&&_0x17c1cf(_0x5ddab5(_0x51fb90),_0x4f4309);})(_0x539c70);}(this);}['createRevision'](_0x39264f){const _0x7d1ca1=this['editor']['plugins']['get']('Users');return new a({'id':_0x39264f['id'],'name':_0x39264f['name'],'creator':_0x39264f['creatorId']?_0x7d1ca1['getUser'](_0x39264f['creatorId']):null,'diffData':_0x39264f['diffData']||_0x39264f['data'],'authors':_0x39264f['authorsIds']['map'](_0x349406=>_0x7d1ca1['getUser'](_0x349406)),'createdAt':new Date(_0x39264f['createdAt']),'attributes':_0x39264f['attributes'],'fromVersion':_0x39264f['fromVersion'],'toVersion':_0x39264f['toVersion']});}['addRevision'](_0x50c0fd,_0x134de4=0x0){this['_revisions']['add'](_0x50c0fd,_0x134de4);}['getRevision'](_0x2a8296){return this['_revisions']['get'](_0x2a8296);}['getRevisions'](_0x57c112={'toJSON':!0x1}){const _0x2dd728=Array['from'](this['_revisions']);return _0x2dd728['reverse'](),_0x57c112['toJSON']?_0x2dd728['map'](_0x7a86fd=>_0x7a86fd['toJSON']()):_0x2dd728;}['getIndex'](_0x1739cd){return this['_revisions']['getIndex'](_0x1739cd);}['getEarlierVisibleRevision'](_0x3d5862){const [,_0x18b81c]=this['getRevisionsIterator'](_0x3d5862,{'direction':'earlier'});return _0x18b81c;}['getLaterVisibleRevision'](_0x2feeb9){const [,_0x43f5f1]=this['getRevisionsIterator'](_0x2feeb9,{'direction':'later'});return _0x43f5f1;}['getRevisionsInDiff'](_0x178634){const _0x1b6db4=[];for(const _0x3374ae of this['getRevisionsIterator'](_0x178634['newRevisionId']))if(_0x1b6db4['push'](_0x3374ae),_0x3374ae['id']===_0x178634['oldRevisionId'])break;return _0x1b6db4;}*['getRevisionsIterator'](_0x3d9219,{direction:_0x299698='earlier',filter:_0x462848=_0xfca765=>!0x0}={}){const _0x281857='earlier'===_0x299698?0x1:-0x1;let _0x1b2509=this['_revisions']['get'](_0x3d9219),_0x118533=this['getIndex'](_0x1b2509);for(yield _0x1b2509;_0x1b2509;){if(_0x118533+=_0x281857,_0x1b2509=this['getRevision'](_0x118533),!_0x1b2509)return;_0x462848(_0x1b2509)&&(yield _0x1b2509);}}}function y(_0xe2289b,_0x2a074d,_0x2e5343){const t=_0xe2289b['t'];switch(_0x2a074d){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'},_0x2e5343);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e5343);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x757aae,'a':_0xa210d8,'e':_0x193389,'r':_0x3f1dae,'u':_0x512571};class l extends _0x570864{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x41255f,A,_0x145148];}constructor(_0x1abccc){super(_0x1abccc),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 _0x5ce6d5=_0x3b5255();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5ce6d5},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 _0x2f34f3=this['repository']['getRevision'](0x0),_0x31685b=_0x2f34f3&&null===_0x2f34f3['creator']?_0x2f34f3:null;if(this['_continueCurrentRevision']=!!_0x31685b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2d251c=this['_source']['getCurrentRevisionId'](),_0x577cd3=this['repository']['getRevision'](_0x2d251c);if(_0x577cd3)this['_startingVersion']=_0x577cd3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1d472a=this['_source']['history']['_operations']['find'](_0x32c25d=>!_0x32c25d['_isInit']),_0x357a08=_0x1d472a?_0x1d472a['baseVersion']:this['_source']['history']['version'];_0x2f34f3?(_0x2f34f3['toVersion']<_0x357a08&&_0x2f34f3['_update']({'toVersion':_0x357a08}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id'],this['_startingVersion']=_0x31685b['fromVersion']):(this['_startingVersion']=_0x2f34f3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x357a08,this['_continueCurrentRevision']=!0x1);}}else _0x31685b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x31685b['toVersion'],this['editor']['model']['document']['history']['version']),_0x31685b['fromVersion']===_0x31685b['toVersion']?(0x0!==_0x31685b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id'],this['_startingVersion']=_0x31685b['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',_0x156237=>!_0x156237);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x15edfd=this['repository']['getRevision'](0x0),_0x4c06d8=await this['getRevisionDocumentData'](_0x15edfd),_0x18a989=await this['getRevisionRootsAttributes'](_0x15edfd);this['_replaceEditorDataWithRevisionData'](_0x4c06d8,_0x18a989);}}['setSource'](_0x1780ea){this['_source']=_0x1780ea;}async['update'](){const _0x5c0dcd=await this['_source']['getLatestVersion']();if(_0x5c0dcd>this['currentRevision']['toVersion']){await this['_loadState']();const _0x107326=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5c0dcd});_0x107326['authors']=_0x107326['authorsIds']['map'](_0x322628=>this['editor']['plugins']['get']('Users')['getUser'](_0x322628)),this['currentRevision']['_update'](_0x107326);}}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'](_0x4952bd={},_0x12104e=null){const _0x1eb9c5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x12104e>this['currentRevision']['toVersion']&&(_0x12104e=null),null===_0x12104e&&(_0x12104e=await this['_source']['getLatestVersion']());const _0x137032=this['_getFromVersion'](_0x12104e),_0x5e2edf=this['buildRevisionData']({'from':_0x137032,'to':_0x12104e});if(this['currentRevision']['toVersion']<_0x12104e){const _0x227aac=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x12104e,'to':_0x12104e});_0x227aac['authors']=[],_0x227aac['authorsIds']=[],_0x227aac['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x227aac,!0x0),delete _0x227aac['authors'],_0x1eb9c5['push'](_0x227aac);}_0x4952bd['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4952bd['name']=_0x4952bd['name']||null,_0x4952bd['id']=_0x4952bd['id']||_0x3b5255(),_0x4952bd={..._0x4952bd,..._0x5e2edf};const _0x297d18=this['addRevisionData'](_0x4952bd);_0x1eb9c5['push'](_0x4952bd);const _0x4fdc3f=this['repository']['getIndex'](_0x297d18);if(0x0!==_0x4fdc3f){const _0x53001f=this['repository']['getRevision'](_0x4fdc3f-0x1);if(_0x53001f['fromVersion']!==_0x12104e){const _0x3fff0b=this['_revisionDataBuilder']['getData'](_0x12104e,_0x53001f['toVersion']),_0x1b0409={'id':_0x53001f['id'],'diffData':_0x3fff0b['diffData'],'authorsIds':_0x3fff0b['authorsIds'],'authors':_0x3fff0b['authorsIds']['map'](_0x2cad00=>this['editor']['plugins']['get']('Users')['getUser'](_0x2cad00)),'fromVersion':_0x12104e};_0x53001f===this['currentRevision']&&(_0x1b0409['createdAt']=new Date(_0x4952bd['createdAt']['getTime']()+0xa)),_0x53001f['_update'](_0x1b0409,!0x0),delete _0x1b0409['authors'],_0x1eb9c5['push'](_0x1b0409);}}if(this['adapter']){for(const _0x24a5e8 of _0x1eb9c5)this['_bufferUpdate'](_0x24a5e8['id'],_0x24a5e8,!0x0);this['sendBufferedUpdates']();}return _0x297d18;}['addRevisionData'](_0x48ae01){const _0x2bde11=this['repository']['createRevision'](_0x48ae01);return this['adapter']&&_0x2bde11['on']('_update',(_0x3ccd66,_0x18a256,_0x9fbb5b)=>{_0x9fbb5b||(this['_bufferUpdate'](_0x18a256['id'],_0x18a256,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2bde11,this['_findInsertionIndex'](_0x2bde11)),_0x2bde11;}async['getRevisionDocumentData'](_0x33edad){await this['_loadRevisionData'](_0x33edad);const _0x25c130={};for(const _0x3ee7ef in _0x33edad['diffData']){if(_0x33edad['diffData'][_0x3ee7ef]['attachChange']&&!_0x33edad['diffData'][_0x3ee7ef]['attachChange']['isAttached'])continue;const _0x52c851=this['_removeRevisionMarkers'](JSON['parse'](_0x33edad['diffData'][_0x3ee7ef]['insertions'])),_0x4a298c=this['editor']['editing']['view']['document'],_0x424fa3=new _0x3204ea(_0x4a298c,_0x52c851['map'](_0x497fc5=>B(_0x497fc5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x25c130[_0x3ee7ef]=this['editor']['data']['processor']['toData'](_0x424fa3),this['editor']['data']['processor']['useFillerType']('default');}return _0x25c130;}async['getRevisionRootsAttributes'](_0x1d8228){await this['_loadRevisionData'](_0x1d8228);const _0x26fb24={};for(const _0x3ce0c3 in _0x1d8228['diffData'])_0x1d8228['diffData'][_0x3ce0c3]['attachChange']&&!_0x1d8228['diffData'][_0x3ce0c3]['attachChange']['isAttached']||(_0x26fb24[_0x3ce0c3]=_0x1d8228['diffData'][_0x3ce0c3]['attributesAfter']||{});return _0x26fb24;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x417d30=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x577e6a=0x0;_0x577e6a<_0x417d30['length'];_0x577e6a++){const _0xb64c06=_0x417d30[_0x577e6a];let _0x542a5c=!0x1;for(const _0x7c0dee of Object['keys'](_0xb64c06))void 0x0===_0xb64c06[_0x7c0dee]?delete _0xb64c06[_0x7c0dee]:'id'!==_0x7c0dee&&(_0x542a5c=!0x0);_0x542a5c||(_0x417d30[_0x577e6a]=null);}if(_0x417d30=_0x417d30['filter'](_0x18e32a=>null!==_0x18e32a),!_0x417d30['length'])return;for(let _0x498924=0x0;_0x498924<_0x417d30['length'];_0x498924++){const _0x545e04=_0x417d30[_0x498924];void 0x0!==_0x545e04['fromVersion']&&void 0x0===_0x545e04['toVersion']&&(_0x545e04['toVersion']=this['repository']['getRevision'](_0x545e04['id'])['toVersion']),void 0x0!==_0x545e04['toVersion']&&void 0x0===_0x545e04['fromVersion']&&(_0x545e04['fromVersion']=this['repository']['getRevision'](_0x545e04['id'])['fromVersion']);}const _0x41cd06=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x417d30,_0x41cd06)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x126219=>{if(_0x126219){for(const _0x36e2ea of _0x126219)this['setRevisionData']({'id':_0x36e2ea['id'],'createdAt':_0x36e2ea['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0xe42e48,_0x3e8522){let _0x4387be=this['editor']['config']['get']('initialData'),_0x2d708b=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4387be){_0x4387be={};for(const _0x1568f2 of this['editor']['model']['document']['getRootNames']())_0x4387be[_0x1568f2]='';}if('string'==typeof _0x4387be&&(_0x4387be={'main':_0x4387be}),void 0x0===_0x2d708b){_0x2d708b={};for(const _0x48b2d2 of this['editor']['model']['document']['getRootNames']())_0x2d708b[_0x48b2d2]={};}let _0x58ef55=!0x1;const _0xc17a98=Object['keys'](_0x4387be),_0x15a6b9=Object['keys'](_0xe42e48);for(const _0x520415 of _0xc17a98){if(_0x4387be[_0x520415]!==_0xe42e48[_0x520415]&&''!==_0x4387be[_0x520415]['trim']()){_0x58ef55=!0x0;break;}if(!_0xf2d6a2(_0x2d708b[_0x520415],_0x3e8522[_0x520415])&&Object['keys'](_0x2d708b[_0x520415])['length']>0x0){_0x58ef55=!0x0;break;}}_0x58ef55||(_0x58ef55=_0x15a6b9['some'](_0x4e8494=>!this['editor']['model']['document']['getRoot'](_0x4e8494))),_0x58ef55&&_0x2f89d3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4387be,'editorRootsAttributes':_0x2d708b,'revisionData':_0xe42e48,'revisionRootsAttributes':_0x3e8522}),this['editor']['config']['set']('initialData',_0xe42e48),this['editor']['config']['set']('rootsAttributes',_0x3e8522);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xa917b5=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xa917b5['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1acac4){const _0x583fb7=this['repository']['getRevisions']();_0x583fb7['reverse']();let _0x3eade1=0x0;for(;_0x3eade1<_0x583fb7['length'];){const _0x1f9be3=_0x583fb7[_0x3eade1];if(_0x1f9be3===this['currentRevision']){_0x3eade1++;continue;}if(_0x1f9be3['id']===this['_initialRevisionId'])break;const _0x28b502=_0x1acac4['toVersion']-_0x1f9be3['toVersion']||_0x1acac4['fromVersion']-_0x1f9be3['fromVersion'];if(_0x28b502>0x0)break;if(_0x28b502<0x0)_0x3eade1++;else{if(!_0x1acac4['creator']&&_0x1f9be3['creator'])break;if(_0x1f9be3['creator']||!_0x1acac4['creator']){if(_0x1acac4['createdAt']>_0x1f9be3['createdAt'])break;_0x3eade1++;}else _0x3eade1++;}}return _0x3eade1;}['setRevisionData'](_0x4c73ac){const _0x39d53f=this['repository']['getRevision'](_0x4c73ac['id']);if(_0x4c73ac['createdAt']&&(_0x4c73ac['createdAt']=new Date(_0x4c73ac['createdAt'])),_0x4c73ac['authorsIds']){const _0x5306a6=this['editor']['plugins']['get']('Users');_0x4c73ac['authors']=_0x4c73ac['authorsIds']['map'](_0x40c07e=>_0x5306a6['getUser'](_0x40c07e));}_0x39d53f['_update'](_0x4c73ac,!0x0);}['buildRevisionData']({revision:_0x36260a=null,from:_0x49a3eb=null,to:_0x5e053e=null}){_0x49a3eb=null!==_0x49a3eb?_0x49a3eb:_0x36260a['fromVersion'],_0x5e053e=null!==_0x5e053e?_0x5e053e:_0x36260a['toVersion'];const _0xc64f2c=this['_revisionDataBuilder']['getData'](_0x49a3eb,_0x5e053e),_0x4a25a2={'diffData':_0xc64f2c['diffData'],'authorsIds':_0xc64f2c['authorsIds'],'fromVersion':_0x49a3eb,'toVersion':_0x5e053e};if(!_0x36260a||_0x5e053e!==_0x36260a['toVersion']){const _0x13a4d6=_0x5e053e-0x1,_0x47c314=this['_source']['history']['getOperation'](_0x13a4d6);_0x4a25a2['createdAt']=_0x47c314&&_0x47c314['createdAt']||new Date();}if(this['_loadedStateData']&&_0x49a3eb===this['_loadedStateData']['fromVersion']){for(const _0x943179 of this['_loadedStateData']['authors'])_0x4a25a2['authorsIds']['includes'](_0x943179['id'])||_0x4a25a2['authorsIds']['push'](_0x943179['id']);}return _0x4a25a2;}['_loadRevisionData'](_0x22d2b4){if(!_0x22d2b4||_0x22d2b4['diffData'])return Promise['resolve']();{const _0x17cf1c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x17cf1c,'revisionId':_0x22d2b4['id']})['then'](_0x56ecbb=>{_0x22d2b4['diffData']=_0x56ecbb['diffData'];});}}['_bufferUpdate'](_0x176420,_0x403299,_0x2df047){if(this['_bufferedUpdates']['has'](_0x176420)){const _0x74c021=this['_bufferedUpdates']['get'](_0x176420);_0x403299=_0x2df047?{..._0x74c021,..._0x403299}:{..._0x403299,..._0x74c021};}this['_bufferedUpdates']['set'](_0x176420,_0x403299);}['_getFromVersion'](_0x351e65){const _0x378482=this['repository']['getRevisions']();_0x378482['reverse'](),_0x378482['shift']();const _0xa50643=_0x378482['find'](_0x579dbf=>_0x579dbf['toVersion']<=_0x351e65)['toVersion'];return _0xa50643<this['_startingVersion']?this['_startingVersion']:_0xa50643;}['_createInitialRevision'](_0x25202e){const _0x2a02fb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2a02fb)this['_initialRevisionId']=_0x2a02fb['id'];else{const _0x426f46=!this['editor']['model']['document']['roots']['find'](_0x49dcb2=>this['editor']['model']['hasContent'](_0x49dcb2)),_0x4e09fa=this['editor']['plugins']['get']('Users')['me']['id'],_0x39cfbb=y(this['editor']['locale'],_0x426f46?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x25202e,'to':_0x25202e,'id':this['_initialRevisionId'],'name':_0x39cfbb,'creatorId':_0x4e09fa});}}['_createCurrentRevision'](_0x5d3168){const _0x1b4e40=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1b4e40),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5d3168,'to':_0x5d3168,'id':_0x1b4e40,'name':'','creatorId':null}));}['_makeRevision']({name:_0xee8ff0,from:_0x4e29d1,to:_0x1055ad,creatorId:_0x112996,id:_0x3dd4ac}){const _0x4d82a5=this['buildRevisionData']({'from':_0x4e29d1,'to':_0x1055ad});_0x4d82a5['name']=_0xee8ff0,_0x4d82a5['creatorId']=_0x112996,_0x4d82a5['id']=_0x3dd4ac;const _0x2c10e1=this['addRevisionData'](_0x4d82a5);return this['adapter']&&this['_bufferUpdate'](_0x4d82a5['id'],_0x4d82a5,!0x0),_0x2c10e1;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x50c426){return(_0x50c426=_0x50c426['filter'](_0x4ffa28=>!_0x4ffa28['name']||'revision-start'!==_0x4ffa28['name']&&'revision-end'!==_0x4ffa28['name']))['forEach'](_0x5556a1=>{'string'!=typeof _0x5556a1&&(_0x5556a1['children']=this['_removeRevisionMarkers'](_0x5556a1['children']),_0x5556a1['attributes']=_0x5556a1['attributes']['filter'](_0x5df0b7=>!_0x5df0b7[0x0]['startsWith']('data-revision-')));}),_0x50c426;}}function B(_0x36d131,_0x104b1f){const _0x26105f=_0x104b1f['editing']['view']['document'];if('string'==typeof _0x36d131)return new _0x4c3592(_0x26105f,_0x36d131);{const _0x3ad413=_0x36d131['children']['map'](_0xaf39c1=>B(_0xaf39c1,_0x104b1f));return new(T[_0x36d131['type']]||_0x306c72)(_0x26105f,_0x36d131['name'],_0x36d131['attributes'],_0x3ad413);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1b1172){this['editor']=_0x1b1172,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'](_0x57ea84){this['source']=_0x57ea84;const _0x4ea513=new Map(),_0x26e50c=new Map(),_0x577169=this['editor']['model']['document']['roots']['map'](_0x439063=>_0x439063['rootName']);for(const _0x545dfd of _0x577169){const _0x4ffcbe=this['editor']['model']['document']['getRoot'](_0x545dfd),_0x91ba87=q(_0x4ffcbe);_0x4ea513['set'](_0x545dfd,_0x91ba87),_0x26e50c['set'](_0x545dfd,Object['fromEntries'](_0x4ffcbe['getAttributes']()));}const _0xfe4b34=Array['from'](this['editor']['model']['markers'])['map'](_0x43854e=>[_0x43854e['name'],_0x43854e['getRange']()]),_0x3cd3ad=this['source']['version'];this['_saveMetaData'](_0x3cd3ad,_0x4ea513,_0xfe4b34,_0x26e50c),this['_startingRevisionId']=this['_revisionId'];const _0xdb99b2=new Map(),_0x55e335=new Map();for(const _0x2e370a of _0x577169){const _0xcd91a1=G(_0x2e370a);_0xdb99b2['set'](_0x2e370a,_0xcd91a1),_0x55e335['set'](_0x2e370a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xdb99b2,[],_0x55e335);}['getData'](_0x1ca1da,_0x11840c){if(this['_lastFrom']===_0x1ca1da&&this['_lastTo']<=_0x11840c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x11840c,!0x0);else{if(!this['_savedMetaData']['has'](_0x1ca1da)){const _0x1cf51e=this['_getPreviousFrom'](_0x1ca1da);this['_calculateMetaData'](_0x1cf51e,_0x1ca1da,!0x1);}this['_calculateMetaData'](_0x1ca1da,_0x11840c,!0x0);}return this['_lastFrom']=_0x1ca1da,this['_lastTo']=_0x11840c,this['_getState']();}['loadState'](_0x5db79e){this['_reset'](),this['_lastFrom']=_0x5db79e['fromVersion'],this['_lastTo']=_0x5db79e['toVersion'];for(const _0x49244f in _0x5db79e['diffData']){const _0x345296=_0x5db79e['diffData'][_0x49244f]['attachChange'],_0x1c458b=_0xcaf5fd(_0x5db79e['diffData'][_0x49244f]['attributesBefore'])||{},_0x57eb28=this['_makeModelFromViewString'](_0x5db79e['diffData'][_0x49244f]['deletions']);_0x57eb28['rootName']=_0x49244f,_0x57eb28['_isAttached']=!_0x345296||!_0x345296['isAttached'],_0x57eb28['isAttached']=()=>_0x57eb28['_isAttached'],this['_baseRoots']['set'](_0x49244f,_0x57eb28),this['_baseRootsAttributes']['set'](_0x49244f,_0x1c458b),_0x345296&&this['_touchedRoots']['set'](_0x49244f,_0x345296);const _0x49b821=this['_makeIdsRoot'](_0x57eb28);this['_baseIdsRoots']['set'](_0x49244f,_0x49b821);for(const [_0x3da4ec,_0x2d1468]of _0x57eb28['markers']){if(!_0x3da4ec['startsWith']('revision:'))continue;const _0x496b81=_0x3da4ec['split'](':')[0x2];for(const _0x570573 of _0x2d1468['getWalker']({'singleCharacters':!0x0})){const _0x36a77b=this['_getVidAttributeName'](_0x570573),_0xef5e1b='elementEnd'==_0x570573['type']?_0x570573['previousPosition']['path']['slice'](0x0,-0x1):_0x570573['previousPosition']['path'],_0x36f5fc=_0x49b821['getNodeByPath'](_0xef5e1b)['getAttribute'](_0x36a77b);this['_touched']['set'](_0x36f5fc,{'userId':_0x496b81});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5d9d6d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3d0e57=>!this['_touched']['has'](_0x3d0e57));let _0x32da67=0x0;const _0x56de89=new Map();for(const _0x16af53 in _0x5db79e['diffData']){const _0x1d8b99=_0x5db79e['diffData'][_0x16af53]['attachChange'],_0x1c3a25=_0xcaf5fd(_0x5db79e['diffData'][_0x16af53]['attributesAfter'])||{},_0x545a1b=this['_makeModelFromViewString'](_0x5db79e['diffData'][_0x16af53]['insertions']);_0x545a1b['rootName']=_0x16af53,_0x545a1b['_isAttached']=!_0x1d8b99||_0x1d8b99['isAttached'],_0x545a1b['isAttached']=()=>_0x545a1b['_isAttached'],this['_diffRoots']['set'](_0x16af53,_0x545a1b),this['_diffRootsAttributes']['set'](_0x16af53,_0x1c3a25);const _0x1dc33c=this['_makeIdsRoot'](_0x545a1b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x16af53,_0x1dc33c),_0x56de89['set'](_0x16af53,_0x545a1b['isAttached']()?_0x1c3a25:{});for(const [_0x2b45d8,_0x41162e]of _0x545a1b['markers']){if(!_0x2b45d8['startsWith']('revision:'))continue;const _0x2589cd=_0x2b45d8['split'](':')[0x2];for(const _0x5f14a8 of _0x41162e['getWalker']({'singleCharacters':!0x0})){const _0x424641=this['_getVidAttributeName'](_0x5f14a8),_0x22be2e=this['_revisionId']++,_0x5f0171='elementEnd'==_0x5f14a8['type']?_0x5f14a8['previousPosition']['path']['slice'](0x0,-0x1):_0x5f14a8['previousPosition']['path'];_0x1dc33c['getNodeByPath'](_0x5f0171)['_setAttribute'](_0x424641,_0x22be2e),this['_touched']['set'](_0x22be2e,{'userId':_0x2589cd});}}for(const _0x32d86f of this['editor']['model']['createRangeIn'](_0x545a1b)['getWalker']({'singleCharacters':!0x0})){const _0x45d9eb=this['_getVidAttributeName'](_0x32d86f),_0x20719b='elementEnd'==_0x32d86f['type']?_0x32d86f['previousPosition']['path']['slice'](0x0,-0x1):_0x32d86f['previousPosition']['path'],_0x392bd9=_0x1dc33c['getNodeByPath'](_0x20719b);_0x392bd9['getAttribute'](_0x45d9eb)>0x0||_0x392bd9['_setAttribute'](_0x45d9eb,_0x5d9d6d[_0x32da67++]);}for(const [_0x56ba9d,_0x4f410c]of _0x545a1b['markers'])_0x56ba9d['startsWith']('revision:')||this['_markers']['set'](_0x56ba9d,_0x4f410c);}const _0x35eaea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x35eaea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x35eaea,0x1));const _0x53f401=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x53f401),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x53f401,0x1));const _0x2aff18=Array['from'](this['_diffRoots'])['map'](([_0xb249fe,_0xa1a8ac])=>[_0xb249fe,q(_0xa1a8ac)]);this['_saveMetaData'](this['_lastTo'],_0x2aff18,this['_markers'],_0x56de89);}['_makeModelFromViewString'](_0x12bf2c){const _0x488eb5=JSON['parse'](_0x12bf2c),_0x3c813c=this['editor']['editing']['view']['document'],_0x540b5f=new _0x3204ea(_0x3c813c,_0x488eb5['map'](_0x90741d=>B(_0x90741d,this['editor'])));return this['editor']['data']['toModel'](_0x540b5f);}['_saveMetaData'](_0x367cc6,_0x38c26d,_0x520c22,_0x3bc023){const _0x27d8a0=new Map(_0x38c26d),_0x14fefb=new Map(_0xcaf5fd(_0x3bc023)),_0x28c579=new Map();for(const [_0x1b9e05,_0x40f585]of _0x520c22)_0x28c579['set'](_0x1b9e05,{'start':_0x40f585['start']['clone'](),'end':_0x40f585['end']['clone'](),'rootName':_0x40f585['root']['rootName']});this['_savedMetaData']['set'](_0x367cc6,{'roots':_0x27d8a0,'markers':_0x28c579,'rootsAttributes':_0x14fefb});}['_removeMetaData'](_0xe78d62){this['_savedMetaData']['delete'](_0xe78d62);}['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'](_0x49f48c,_0x557a40=null){let _0x4a93df=null;_0x49f48c['is']('documentFragment')||(_0x4a93df=new ft(_0x49f48c['name'],{'vid_start':null===_0x557a40?this['_revisionId']++:_0x557a40++}));const _0x22d721=[];for(const _0x3f8079 of _0x49f48c['getChildren']())if(_0x3f8079['is']('element')){_0x22d721['push'](this['_makeIdsRoot'](_0x3f8079,_0x557a40));const _0xcbecfa=_0x22d721[_0x22d721['length']-0x1];null!==_0x557a40&&(_0x557a40=_0xcbecfa['is']('element','$text')?_0xcbecfa['getAttribute']('vid')+0x1:_0xcbecfa['getAttribute']('vid_end')+0x1);}else{for(let _0x25389b=0x0;_0x25389b<_0x3f8079['offsetSize'];_0x25389b++)_0x22d721['push'](new ft('$text',{'vid':null===_0x557a40?this['_revisionId']++:_0x557a40++}));}if(_0x49f48c['is']('documentFragment')){const _0x425638=G(_0x49f48c['rootName']);return _0x425638['_insertChild'](0x0,_0x22d721),_0x425638;}return _0x4a93df['_setAttribute']('vid_end',null===_0x557a40?this['_revisionId']++:_0x557a40++),_0x4a93df['_insertChild'](0x0,_0x22d721),_0x4a93df;}['_calculateMetaData'](_0xded833,_0x30e395,_0x16823e){this['_reset']();const {roots:_0x11d9a2,markers:_0x4f2327,rootsAttributes:_0x47fd53}=this['_savedMetaData']['get'](_0xded833);this['_baseRoots']=new Map(_0x11d9a2),this['_baseRootsAttributes']=new Map(_0xcaf5fd(_0x47fd53));for(const [_0x3b58cf,_0x3662bd]of this['_baseRoots'])if('$graveyard'!==_0x3b58cf&&(this['_diffRoots']['set'](_0x3b58cf,q(_0x3662bd)),this['_diffRootsAttributes']=new Map(_0xcaf5fd(_0x47fd53)),_0x16823e)){const _0x746cb4=this['_revisionId'];this['_idsRoots']['set'](_0x3b58cf,this['_makeIdsRoot'](_0x3662bd)),this['_baseIdsRoots']['set'](_0x3b58cf,this['_makeIdsRoot'](_0x3662bd,_0x746cb4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x16823e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1cf718,_0x2db275]of _0x4f2327){const _0x103c17=this['_baseRoots']['get'](_0x2db275['rootName']),_0x40365c=this['_diffRoots']['get'](_0x2db275['rootName']),_0x378ab0=new vt(this['_fixPosition'](_0x2db275['start'],_0x103c17),this['_fixPosition'](_0x2db275['end'],_0x103c17)),_0x4c713e=this['_fixRange'](_0x378ab0,_0x40365c);_0x103c17['markers']['set'](_0x1cf718,_0x378ab0),this['_markers']['set'](_0x1cf718,_0x4c713e);}this['_applyOperations'](_0xded833,_0x30e395,_0x16823e);}['_applyOperations'](_0x426975,_0x59f5a9,_0x29d5b5){for(const _0x396fde of this['source']['getOperations'](_0x426975,_0x59f5a9))this['_handleOperation'](_0x396fde,_0x29d5b5);for(const _0x30d6c9 of this['_diffRoots']['values']())_0x30d6c9['markers']['clear']();for(const [_0x2a1589,_0x4eaa3c]of this['_markers']){this['_diffRoots']['get'](_0x4eaa3c['root']['rootName'])['markers']['set'](_0x2a1589,_0x4eaa3c['clone']());}const _0x449ec4=new Map(),_0x25d442=new Map();for(const [_0x79d78d,_0x45c356]of this['_diffRoots'])_0x449ec4['set'](_0x79d78d,q(_0x45c356)),_0x25d442['set'](_0x79d78d,this['_diffRootsAttributes']['get'](_0x79d78d));this['_saveMetaData'](_0x59f5a9,_0x449ec4,this['_markers'],_0x25d442);}['_getPreviousFrom'](_0x4e90e4){const _0x24e2d4=Array['from'](this['_savedMetaData']['keys']());_0x24e2d4['sort']((_0x812106,_0x500be9)=>_0x812106-_0x500be9),_0x24e2d4['reverse']();for(const _0x503567 of _0x24e2d4)if(_0x503567<_0x4e90e4)return _0x503567;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3bde74,_0x179871){const _0x236d71=Array['from'](_0x179871['markers'])['map'](([_0x45a60d,_0x5d5636])=>[_0x45a60d,this['_fixRange'](_0x5d5636,_0x3bde74)]);_0x3bde74['markers']=new Map(_0x236d71);}['_transformMarkers'](_0x52f4f6){for(const _0x777048 of this['_markers']['values']()){const _0x3c6765=_0x777048['getTransformedByOperation'](_0x52f4f6),_0x23de15=vt['_createFromRanges'](_0x3c6765);_0x777048['start']=_0x23de15['start'],_0x777048['end']=_0x23de15['end'];}}['_handleOperation'](_0x149ebd,_0x41f57e){if('addRoot'==_0x149ebd['type']||'detachRoot'==_0x149ebd['type'])return void this['_handleRootOperation'](_0x149ebd,_0x41f57e);if('insert'==_0x149ebd['type']){const _0x1edb56=_0x149ebd['position']['root']['rootName'];this['_diffRoots']['has'](_0x1edb56)||(this['_diffRoots']['set'](_0x1edb56,G(_0x1edb56,!0x0)),this['_diffRootsAttributes']['set'](_0x1edb56,{}),_0x41f57e&&this['_idsRoots']['set'](_0x1edb56,G(_0x1edb56,!0x0)));}else{if('addRootAttribute'==_0x149ebd['type']||'removeRootAttribute'==_0x149ebd['type']||'changeRootAttribute'==_0x149ebd['type'])return void this['_handleRootAttributeOperation'](_0x149ebd);}const _0x5d9671=this['_cloneOperation'](_0x149ebd,this['_diffRoots']);if('marker'!==_0x149ebd['type']&&(_0x5d9671['_execute'](),this['_transformMarkers'](_0x5d9671)),_0x41f57e)switch(_0x5d9671['type']){case'insert':this['_handleInsertOperation'](_0x149ebd);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x149ebd);break;case'merge':this['_handleMergeOperation'](_0x149ebd);break;case'split':this['_handleSplitOperation'](_0x149ebd);break;case'marker':this['_handleMarkerOperation'](_0x149ebd);}}['_cloneOperation'](_0x737149,_0x583e2d){const _0x4e05f3=_0x737149['clone']();return _0x4e05f3['_authorId']=_0x737149['_authorId'],this['_fixOperation'](_0x4e05f3,_0x583e2d),_0x4e05f3;}['_getBaseVids'](_0x3d7b8a){return _0x3d7b8a['map'](_0x2f2c44=>{const _0x2be7fd=this['_getVidAttributeName'](_0x2f2c44);return Number(_0x2f2c44['item']['getAttribute'](_0x2be7fd));});}['_generateTape'](_0x85ab92,_0x4b176e){if(_0x85ab92['is']('element','$text'))_0x4b176e['push']({'item':_0x85ab92,'type':'text'});else{_0x85ab92['is']('element')&&_0x4b176e['push']({'item':_0x85ab92,'type':'elementStart'});for(const _0x3eee2b of _0x85ab92['getChildren']())this['_generateTape'](_0x3eee2b,_0x4b176e);_0x85ab92['is']('element')&&_0x4b176e['push']({'item':_0x85ab92,'type':'elementEnd'});}return _0x4b176e;}['_getState'](){const _0x25cbb4=new Map(this['_touched']),_0x131af6=new Map(_0x25cbb4),_0x15b753=new Map(),_0x566431={'insertions':{},'deletions':{}},_0xed392c={'insertions':{},'deletions':{}},_0x1de358=new Map(),_0x19b4f6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x19b4f6['delete']('$graveyard');for(const _0x3f9b5e of _0x19b4f6){const _0x23f395=this['_diffRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1),_0x2da1a0=this['_baseRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1);_0x23f395['isAttached']()||_0x2da1a0['isAttached']()?(_0x566431['insertions'][_0x3f9b5e]=q(_0x23f395),_0x566431['deletions'][_0x3f9b5e]=q(_0x2da1a0),this['_copyMarkers'](_0x566431['deletions'][_0x3f9b5e],_0x2da1a0),this['_copyMarkers'](_0x566431['insertions'][_0x3f9b5e],_0x23f395),_0xed392c['insertions'][_0x3f9b5e]=this['_generateTape'](this['_idsRoots']['get'](_0x3f9b5e),[]),_0xed392c['deletions'][_0x3f9b5e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1),[])):_0x19b4f6['delete'](_0x3f9b5e);}for(const _0x3a2bf1 of _0x19b4f6){const _0x397ec5=_0xed392c['insertions'][_0x3a2bf1];for(const _0x3f0a53 of _0x397ec5){const _0x320395=this['_getVidAttributeName'](_0x3f0a53),_0x5590c3=_0x3f0a53['item']['getAttribute'](_0x320395);_0x131af6['delete'](_0x5590c3),_0x5590c3>=this['_startingRevisionId']&&_0x15b753['set'](_0x5590c3,_0x25cbb4['get'](_0x5590c3));}}for(const _0x197827 of _0x19b4f6){const _0x274ed2=_0xed392c['insertions'][_0x197827],_0x3a3eab=this['_getBaseVids'](_0xed392c['deletions'][_0x197827]);let _0x53d8cd=0x0;for(const _0x1167dd of _0x274ed2){const _0x44f3ec=this['_getVidAttributeName'](_0x1167dd),_0x58576e=_0x1167dd['item']['getAttribute'](_0x44f3ec);if(!_0x15b753['has'](_0x58576e)&&!_0x1de358['has'](_0x58576e)){if(_0x131af6['has'](_0x58576e))_0x53d8cd++;else{if(_0x58576e!=_0x3a3eab[_0x53d8cd]){const _0x43e8b0=_0x25cbb4['get'](_0x58576e)||_0x25cbb4['get'](_0x3a3eab[_0x53d8cd]);for(;_0x58576e!=_0x3a3eab[_0x53d8cd];)_0x131af6['has'](_0x3a3eab[_0x53d8cd])||(_0x1de358['set'](_0x3a3eab[_0x53d8cd],_0x43e8b0),_0x25cbb4['set'](_0x3a3eab[_0x53d8cd],_0x43e8b0)),_0x53d8cd++;}_0x53d8cd++;}}}}for(const _0x3ee2a0 of _0x19b4f6){const _0x4fe0dc=_0xed392c['insertions'][_0x3ee2a0];for(const _0x2ca296 of _0x4fe0dc){const _0x29d9a9=this['_getVidAttributeName'](_0x2ca296),_0x544d8c=_0x2ca296['item']['getAttribute'](_0x29d9a9);if(_0x1de358['has'](_0x544d8c)){const _0x1e0ad1=_0x1de358['get'](_0x544d8c);_0x131af6['has'](_0x544d8c)||_0x131af6['set'](_0x544d8c,{..._0x1e0ad1}),_0x15b753['set'](_0x544d8c,{..._0x1e0ad1});}}}for(const _0x512f2f of _0x131af6['keys']())_0x512f2f>=this['_startingRevisionId']&&_0x131af6['delete'](_0x512f2f);const _0x3c7d38=new Map();for(const _0x51a34b of _0x19b4f6){let _0x4dd6e7=_0xed392c['insertions'][_0x51a34b];for(const _0x4c37bc of _0x4dd6e7)if(_0x4c37bc['item']['is']('element','tableCell')){const _0x3d1855=this['_getVidAttributeName'](_0x4c37bc),_0x59d6b2=_0x4c37bc['item']['getAttribute'](_0x3d1855);if(_0x15b753['has'](_0x59d6b2)){const _0x5f0c76=_0x4c37bc['item']['parent']['parent']['getAttribute']('vid_start'),_0x15cd5f=_0x3c7d38['get'](_0x5f0c76)||new Set();_0x15cd5f['add'](_0x15b753['get'](_0x59d6b2)['userId']),_0x3c7d38['set'](_0x5f0c76,_0x15cd5f);}}_0x4dd6e7=_0xed392c['deletions'][_0x51a34b];for(const _0x11c2c6 of _0x4dd6e7)if(_0x11c2c6['item']['is']('element','tableCell')){const _0x3dfd4d=this['_getVidAttributeName'](_0x11c2c6),_0x107424=_0x11c2c6['item']['getAttribute'](_0x3dfd4d);if(_0x131af6['has'](_0x107424)){const _0x523c3c=_0x11c2c6['item']['parent']['parent']['getAttribute']('vid_start'),_0x317bb3=_0x3c7d38['get'](_0x523c3c)||new Set();_0x317bb3['add'](_0x131af6['get'](_0x107424)['userId']),_0x3c7d38['set'](_0x523c3c,_0x317bb3);}}for(const _0x4c0f6d of _0x3c7d38['keys']())(_0x15b753['has'](_0x4c0f6d)||_0x131af6['has'](_0x4c0f6d))&&_0x3c7d38['delete'](_0x4c0f6d);}for(const _0x44392e of _0x19b4f6){const _0x2728d6=_0xed392c['insertions'][_0x44392e];let _0x41bf58=null,_0x154f58=null;for(const _0x273325 of _0x2728d6){const _0x39f0d7=this['_getVidAttributeName'](_0x273325),_0x27c9d6=_0x273325['item']['getAttribute'](_0x39f0d7),_0x57c826=_0x3c7d38['get'](_0x27c9d6);_0x57c826&&'elementStart'==_0x273325['type']&&(_0x41bf58=Array['from'](_0x57c826)[0x0],_0x154f58=_0x273325['item']['getAttribute']('vid_end')),_0x41bf58&&(_0x131af6['set'](_0x27c9d6,{'userId':_0x41bf58}),_0x15b753['set'](_0x27c9d6,{'userId':_0x41bf58})),_0x27c9d6==_0x154f58&&(_0x41bf58=null,_0x154f58=null);}}const _0x54fc44={},_0x3f07a8=new Set();for(const _0x24f4dc of _0x19b4f6){const _0x4c8d3b=_0x566431['deletions'][_0x24f4dc],_0x5e52b4=_0x566431['insertions'][_0x24f4dc];for(const {userId:_0x44582f}of this['_touchedMarkers']['values']())null!==_0x44582f&&_0x3f07a8['add'](_0x44582f);for(const {userId:_0x5018a0}of this['_touchedRoots']['values']())null!==_0x5018a0&&_0x3f07a8['add'](_0x5018a0);this['_markChanges'](_0x5e52b4,_0xed392c['insertions'][_0x24f4dc],_0x15b753,'insertion',_0x3f07a8),this['_markChanges'](_0x4c8d3b,_0xed392c['deletions'][_0x24f4dc],_0x131af6,'deletion',_0x3f07a8),_0x54fc44[_0x24f4dc]={'insertions':this['_prepareViewToSave'](_0x5e52b4),'deletions':this['_prepareViewToSave'](_0x4c8d3b),'attachChange':this['_touchedRoots']['get'](_0x24f4dc)||null,'attributesBefore':_0xcaf5fd(this['_baseRootsAttributes']['get'](_0x24f4dc))||{},'attributesAfter':_0xcaf5fd(this['_diffRootsAttributes']['get'](_0x24f4dc))};}return{'diffData':_0x54fc44,'authorsIds':Array['from'](_0x3f07a8)};}['_processRootBeforeSave'](_0x39a7bb){for(const [,_0x53a7f5]of _0x39a7bb['markers']){const _0x38c9ef=_0x53a7f5['start']['getAncestors']()['filter'](_0xa8a640=>'tableCell'==_0xa8a640['name']);for(const _0x4545bd of _0x38c9ef)0x1==_0x4545bd['childCount']&&_0x4545bd['getChild'](0x0)['is']('element','paragraph')&&_0x4545bd['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f64b4){this['_processRootBeforeSave'](_0x3f64b4);const _0x2fbc3e=this['editor']['data']['toView'](_0x3f64b4,{}),_0x219c34=Array['from'](_0x2fbc3e['getChildren']())['map'](_0x155c92=>this['_getViewJson'](_0x155c92));return JSON['stringify'](_0x219c34);}['_getViewJson'](_0x1e5e39){if(_0x1e5e39['is']('$text'))return _0x1e5e39['data'];{const _0x36df2f=_0x1e5e39;return{'type':Object['keys'](T)['find'](_0x4e31e0=>_0x1e5e39 instanceof T[_0x4e31e0]),'name':_0x36df2f['name'],'attributes':Array['from'](_0x36df2f['getAttributes']()),'children':Array['from'](_0x36df2f['getChildren']())['map'](_0x2ef353=>this['_getViewJson'](_0x2ef353))};}}['_markChanges'](_0x171a49,_0x1e67b5,_0x37a405,_0x444309,_0x1da4f3){let _0x39d207=null,_0x559da3=null,_0x239f6b=0x0;const _0x5c5e53=this['editor']['model'];for(let _0x46b15e=0x0;_0x46b15e<_0x1e67b5['length'];_0x46b15e++){const _0xaa255b=this['_getVidAttributeName'](_0x1e67b5[_0x46b15e]),_0x212246=_0x1e67b5[_0x46b15e]['item']['getAttribute'](_0xaa255b),_0x48a328=_0x37a405['get'](_0x212246),_0x306ff2=_0x46b15e==_0x1e67b5['length']-0x1;(!_0x39d207&&_0x48a328&&(_0x39d207=_0x48a328,_0x559da3=_0x1e67b5[_0x46b15e]),_0x39d207&&(!_0x48a328||_0x48a328['userId']!=_0x39d207['userId']))&&(_0x134c26(_0x48a328,L(_0x559da3,_0x171a49,_0x5c5e53),L(_0x1e67b5[_0x46b15e],_0x171a49,_0x5c5e53)),_0x39d207=_0x48a328||null,_0x559da3=_0x48a328?_0x1e67b5[_0x46b15e]:null),_0x39d207&&_0x306ff2&&_0x134c26(_0x48a328,L(_0x559da3,_0x171a49,_0x5c5e53),W(_0x1e67b5[_0x46b15e],_0x171a49,_0x5c5e53));}function _0x134c26(_0x283e0f,_0xd79093,_0xa9e44a){const _0x4b89e9=_0x39d207['userId'],_0x42d70b='revision:'+_0x444309+':'+_0x4b89e9+':'+_0x239f6b++,_0x4c2f84=_0x5c5e53['createRange'](_0xd79093,_0xa9e44a);_0x171a49['markers']['set'](_0x42d70b,_0x4c2f84),null!==_0x4b89e9&&_0x1da4f3['add'](_0x4b89e9);}}['_getVidAttributeName'](_0x637763){switch(_0x637763['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x34a386,_0xd705c9){_0x34a386['baseVersion']=null;for(const _0x360e24 in _0x34a386){const _0x1ec8aa=_0x34a386[_0x360e24];if(_0x1ec8aa instanceof gt){const _0x4b1bc3=_0xd705c9['get'](_0x1ec8aa['root']['rootName']);_0x34a386[_0x360e24]=this['_fixPosition'](_0x1ec8aa,_0x4b1bc3);}if(_0x1ec8aa instanceof vt){const _0x169cfb=_0xd705c9['get'](_0x1ec8aa['root']['rootName']);_0x34a386[_0x360e24]=this['_fixRange'](_0x1ec8aa,_0x169cfb);}'root'===_0x360e24&&(_0x34a386['root']=_0xd705c9['get'](_0x34a386['root']['rootName']));}}['_fixRange'](_0x5b39b8,_0x271268){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5b39b8['start'],_0x271268),this['_fixPosition'](_0x5b39b8['end'],_0x271268));}['_fixPosition'](_0x2c509a,_0x35a654){return this['editor']['model']['createPositionFromPath'](_0x35a654,_0x2c509a['path'],_0x2c509a['stickiness']);}['_handleInsertOperation'](_0x331293){const _0x56fbbe=this['_idsRoots']['get'](_0x331293['position']['root']['rootName']),_0x5c7d76=this['_fixPosition'](_0x331293['position'],_0x56fbbe),_0x1bbc5f=null===_0x331293['_authorId']?null:_0x331293['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x587bfc=_0x5c7d76['parent'],_0x4c5b5c=this['_revisionId'],_0x2ca244=[];for(const _0x733a45 of _0x331293['nodes'])if(_0x733a45['is']('element'))_0x2ca244['push'](this['_makeIdsRoot'](_0x733a45));else{for(let _0x1f4d2f=0x0;_0x1f4d2f<_0x733a45['offsetSize'];_0x1f4d2f++)_0x2ca244['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x363b5f=this['_revisionId'];for(let _0x4cd800=_0x4c5b5c;_0x4cd800<_0x363b5f;_0x4cd800++)this['_touched']['set'](_0x4cd800,{'userId':_0x1bbc5f});_0x587bfc['_insertChild'](_0x5c7d76['offset'],_0x2ca244);}['_handleMoveOperation'](_0x3547ad){(_0x3547ad=this['_cloneOperation'](_0x3547ad,this['_idsRoots']))['_execute']();const _0x273d1e=null===_0x3547ad['_authorId']?null:_0x3547ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x483769=_0x3547ad['getMovedRangeStart'](),_0x3b4592=_0x483769['parent'],_0x4cd250=_0x483769['offset'];!function _0x2a2968(_0x3e3fce,_0x14c288,_0x4c8c1c,_0x347d6f){for(let _0x4a9b76=_0x4c8c1c;_0x4a9b76<_0x347d6f;_0x4a9b76++){const _0x57a524=_0x14c288['getChild'](_0x4a9b76);_0x57a524['is']('element','$text')?_0x3e3fce['set'](_0x57a524['getAttribute']('vid'),{'userId':_0x273d1e}):(_0x3e3fce['set'](_0x57a524['getAttribute']('vid_start'),{'userId':_0x273d1e}),_0x2a2968(_0x3e3fce,_0x57a524,0x0,_0x57a524['childCount']),_0x3e3fce['set'](_0x57a524['getAttribute']('vid_end'),{'userId':_0x273d1e}));}}(this['_touched'],_0x3b4592,_0x4cd250,_0x4cd250+_0x3547ad['howMany']);}['_handleMergeOperation'](_0x632def){const _0x3a3a3d=null===(_0x632def=this['_cloneOperation'](_0x632def,this['_idsRoots']))['_authorId']?null:_0x632def['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42d211=_0x632def['targetPosition']['parent'],_0x3e3278=_0x632def['sourcePosition']['parent'],_0x3de962=_0x42d211['getAttribute']('vid_end'),_0x3f011f=_0x3e3278['getAttribute']('vid_start');_0x42d211['_setAttribute']('vid_end',_0x3e3278['getAttribute']('vid_end')),_0x3e3278['_setAttribute']('vid_end',_0x3de962),this['_touched']['set'](_0x3f011f,{'userId':_0x3a3a3d}),this['_touched']['set'](_0x3de962,{'userId':_0x3a3a3d}),_0x632def['_execute']();}['_handleSplitOperation'](_0x4cb5d4){const _0x541bac=null===(_0x4cb5d4=this['_cloneOperation'](_0x4cb5d4,this['_idsRoots']))['_authorId']?null:_0x4cb5d4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2e8c3c=_0x4cb5d4['graveyardPosition'],_0xeac8e1=_0x4cb5d4['splitPosition']['parent'];_0x4cb5d4['_execute']();const _0x155902=_0xeac8e1['getAttribute']('vid_end'),_0x15e247=_0x4cb5d4['insertionPosition']['nodeAfter'];if(_0x2e8c3c){const _0x429ded=_0x15e247['getAttribute']('vid_end'),_0x59766d=_0xeac8e1['getAttribute']('vid_end');_0xeac8e1['_setAttribute']('vid_end',_0x429ded),_0x15e247['_setAttribute']('vid_end',_0x59766d),this['_touched']['set'](_0xeac8e1['getAttribute']('vid_end'),{'userId':_0x541bac}),this['_touched']['set'](_0x15e247['getAttribute']('vid_start'),{'userId':_0x541bac});}else{const _0x2fa020=this['_revisionId']++,_0x164339=this['_revisionId']++;_0xeac8e1['_setAttribute']('vid_end',_0x2fa020),_0x15e247['_setAttribute']('vid_start',_0x164339),_0x15e247['_setAttribute']('vid_end',_0x155902),this['_touched']['set'](_0x2fa020,{'userId':_0x541bac}),this['_touched']['set'](_0x164339,{'userId':_0x541bac});}}['_handleMarkerOperation'](_0x4bbacc){if(!_0x4bbacc['affectsData'])return;const _0x263ae5=(_0x4bbacc=this['_cloneOperation'](_0x4bbacc,this['_diffRoots']))['oldRange']?_0x4bbacc['oldRange']['root']:null,_0x4159e5=_0x4bbacc['newRange']?_0x4bbacc['newRange']['root']:null;_0x263ae5&&this['_markers']['delete'](_0x4bbacc['name']),_0x4159e5&&this['_markers']['set'](_0x4bbacc['name'],_0x4bbacc['newRange']['clone']());const _0x52c625=null===_0x4bbacc['_authorId']?null:_0x4bbacc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x346cc5=_0x4bbacc['name'];if(!this['_touchedMarkers']['has'](_0x346cc5))return void this['_touchedMarkers']['set'](_0x346cc5,{'range':_0x4bbacc['oldRange'],'userId':_0x52c625});const _0x35c08c=this['_touchedMarkers']['get'](_0x346cc5),_0x3ca96=_0x35c08c['range'],_0x2e9e60=_0x4bbacc['newRange'];null==_0x3ca96&&null==_0x2e9e60||_0x3ca96&&_0x2e9e60&&_0x3ca96['isEqual'](_0x2e9e60)?this['_touchedMarkers']['delete'](_0x4bbacc['name']):_0x35c08c['userId']=_0x52c625;}['_handleRootOperation'](_0x486af3,_0x4ce614){this['_diffRoots']['has'](_0x486af3['rootName'])?this['_diffRoots']['get'](_0x486af3['rootName'])['_isAttached']=_0x486af3['isAdd']:(this['_diffRoots']['set'](_0x486af3['rootName'],G(_0x486af3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x486af3['rootName'],{}),_0x4ce614&&this['_idsRoots']['set'](_0x486af3['rootName'],G(_0x486af3['rootName'],!0x0)));const _0x552046=null===_0x486af3['_authorId']?null:_0x486af3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c23fd=this['_touchedRoots']['get'](_0x486af3['rootName']);_0x3c23fd&&_0x3c23fd['userId']===_0x552046?this['_touchedRoots']['delete'](_0x486af3['rootName']):this['_touchedRoots']['set'](_0x486af3['rootName'],{'userId':_0x552046,'isAttached':_0x486af3['isAdd']});}['_handleRootAttributeOperation'](_0xd18cf5){const _0x44f522=this['_diffRootsAttributes']['get'](_0xd18cf5['root']['rootName']);null===_0xd18cf5['newValue']?delete _0x44f522[_0xd18cf5['key']]:_0x44f522[_0xd18cf5['key']]=_0xd18cf5['newValue'];}}function q(_0x4665fc){const _0x21c9d0=G(_0x4665fc['rootName'],_0x4665fc['isAttached']());for(const _0x51e811 of _0x4665fc['getChildren']()){const _0x2c575b=_0x51e811['_clone'](!0x0);_0x21c9d0['_appendChild'](_0x2c575b);}return _0x21c9d0;}function G(_0x58ad37,_0x50d5d1=!0x0){const _0x178d0b=new wt();return _0x178d0b['rootName']=_0x58ad37,_0x178d0b['_isAttached']=_0x50d5d1,_0x178d0b['isAttached']=()=>_0x178d0b['_isAttached'],_0x178d0b;}function L(_0x4a2e19,_0x2cac45,_0x571dbc){const _0x4b7d14='elementEnd'==_0x4a2e19['type']?_0x571dbc['createPositionAt'](_0x4a2e19['item'],'end'):_0x571dbc['createPositionBefore'](_0x4a2e19['item']);return _0x571dbc['createPositionFromPath'](_0x2cac45,_0x4b7d14['path'],_0x4b7d14['stickiness']);}function W(_0xac7e97,_0x144b24,_0x2ea4d5){const _0x27a7fe='elementStart'==_0xac7e97['type']?_0x2ea4d5['createPositionAt'](_0xac7e97['item'],0x0):_0x2ea4d5['createPositionAfter'](_0xac7e97['item']);return _0x2ea4d5['createPositionFromPath'](_0x144b24,_0x27a7fe['path'],_0x27a7fe['stickiness']);}class ns extends _0x4e738a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x52532c,_0x1aa942){super(_0x52532c),this['focusTracker']=new _0x347cd6(),this['keystrokes']=new _0x479280(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1aa942),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'](),_0x45bbf8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xf23f3=_0x3e2166=>_0x3e2166['stopPropagation']();this['keystrokes']['set']('arrowright',_0xf23f3),this['keystrokes']['set']('arrowleft',_0xf23f3),this['keystrokes']['set']('arrowup',_0xf23f3),this['keystrokes']['set']('arrowdown',_0xf23f3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x552529){this['revisionNameInputView']['fieldView']['element']['value']=_0x552529['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x49765f){const _0x8b6a8=new at(this['locale'],_0x32656c),_0x402b98=_0x8b6a8['fieldView'];_0x402b98['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4af54b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x49765f&&(_0x4af54b+='\x20('+y(this['locale'],'optional')+')'),(_0x8b6a8['label']=_0x4af54b,_0x402b98['on']('input',()=>{this['revisionNameInputValue']=_0x402b98['element']['value']['trim']();}),_0x8b6a8);}}class u extends _0x570864{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xba6ace=this['editor'],_0x2475da=_0xba6ace['plugins']['get']('RevisionTracker');_0xba6ace['ui']['componentFactory']['add']('revisionHistory',_0x4b8bf2=>{const _0x201a50=_0x187e19(_0x4b8bf2),_0x2c29bf=_0x201a50['panelView']['children'],_0x167af4=new te(_0x4b8bf2),_0x35b297=new _0x54edbd(_0x4b8bf2),_0x425265=new _0x4cc0a0(_0x4b8bf2),_0x56439d=new _0x54edbd(_0x4b8bf2),_0x45950a=new _0x4cc0a0(_0x4b8bf2);return _0x201a50['bind']('isEnabled')['to'](_0x2475da,'isReady',_0x2475da,'isEnabled',_0xba6ace,'isReadOnly',(_0x55514a,_0x14dd1e,_0x1e7139)=>_0x55514a&&_0x14dd1e&&!_0x1e7139),_0x201a50['buttonView']['set']({'icon':_0xa39abc['history'],'label':y(_0x4b8bf2,'Revision\x20history'),'tooltip':!0x0}),_0x425265['set']({'label':y(_0x4b8bf2,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x425265['bind']('isEnabled')['to'](_0x2475da,'isReady',_0x2475da,'isEnabled',_0xba6ace,'isReadOnly',(_0x11afa3,_0x271539,_0x317ffc)=>_0x11afa3&&_0x271539&&!_0x317ffc),_0x425265['on']('execute',()=>this['_showDialog']()),_0x45950a['set']({'label':y(_0x4b8bf2,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x45950a['bind']('isEnabled')['to'](_0x2475da,'isReady',_0xba6ace,'isReadOnly',(_0x3a0009,_0xf09e2)=>_0x3a0009&&!_0xf09e2),_0x45950a['on']('execute',()=>{_0xba6ace['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x201a50['isOpen']=!0x1,_0xba6ace['editing']['view']['focus']();}),_0x35b297['children']['add'](_0x425265),_0x56439d['children']['add'](_0x45950a),_0x167af4['role']='menu',_0x167af4['items']['addMany']([_0x35b297,_0x56439d]),_0x2c29bf['add'](_0x167af4),_0x201a50;}),_0xba6ace['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x33e99c=this['editor'],_0x5dceb6=_0x33e99c['locale'],_0x550951=new _0x3e273f(_0x5dceb6),_0x468711=new _0x2f8e96(_0x5dceb6);_0x550951['buttonView']['set']({'icon':_0xa39abc['history'],'label':y(_0x5dceb6,'Revision\x20history')});const _0x49e9ca=new _0x178041(_0x5dceb6,_0x550951),_0x58c6e0=new _0x5c0dae(_0x5dceb6);_0x58c6e0['set']({'label':y(_0x5dceb6,'Save\x20current\x20revision')}),_0x58c6e0['delegate']('execute')['to'](_0x550951),_0x58c6e0['on']('execute',()=>{this['_showDialog']();}),_0x49e9ca['children']['add'](_0x58c6e0),_0x468711['items']['add'](_0x49e9ca);const _0x3a85ef=new _0x178041(_0x5dceb6,_0x550951),_0x1cb96a=new _0x5c0dae(_0x5dceb6);return _0x1cb96a['set']({'label':y(_0x5dceb6,'Open\x20revision\x20history')}),_0x1cb96a['delegate']('execute')['to'](_0x550951),_0x1cb96a['on']('execute',()=>{_0x33e99c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3a85ef['children']['add'](_0x1cb96a),_0x468711['items']['add'](_0x3a85ef),_0x550951['panelView']['children']['add'](_0x468711),_0x550951;}['_showDialog'](){const _0x558354=this['editor'],_0x23a714=_0x558354['locale'],_0x39f11c=_0x558354['plugins']['get']('Dialog'),_0x51e998=_0x558354['plugins']['get']('RevisionTracker');function _0x3d9528(_0x4078b9){_0x558354['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4078b9['revisionName']?_0x4078b9['revisionNameInputView']['errorText']=y(_0x23a714,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x558354['plugins']['get'](l)['saveRevision']({'name':_0x4078b9['revisionName']}),_0x39f11c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3d9528(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x39f11c['show']({'id':'revisionSave','title':y(_0x23a714,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x558354['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x39f11c['hide']()},{'label':y(_0x558354['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x355d1d){_0x355d1d['bind']('isEnabled')['to'](_0x51e998,'isReady',_0x51e998,'isEnabled',_0x558354,'isReadOnly',(_0x23830d,_0x1279c8,_0x3d749a)=>_0x23830d&&_0x1279c8&&!_0x3d749a);},'onExecute':()=>_0x3d9528(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4417d6=this['editor'],_0x47f132=_0x4417d6['locale'];this['_saveRevisionFormView']=new ns(_0x47f132,_0x4417d6['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4e738a{['changeId'];['_model'];constructor(_0x45eb56,_0x2abc98){super(_0x45eb56),this['_model']=_0x2abc98,this['changeId']=_0x2abc98['id'];const _0x470dd9=this['bindTemplate'],_0x1a462a=y(_0x45eb56,_0x2abc98['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2abc98['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2abc98['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x470dd9['to']('type',_0x53e9ec=>'ck-revision-change__'+_0x53e9ec)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1a462a}]},{'text':'\x20'+_0x2abc98['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x157521(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3eeec8){super(),this['id']=_0x3eeec8['id']||_0x3b5255(),this['author']=_0x3eeec8['author'],this['type']=_0x3eeec8['type'],this['data']=_0x3eeec8['data']||{},this['rootName']=_0x3eeec8['rootName'],this['set']('createdAt',_0x3eeec8['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(_0x1808b4,_0x3c58ec){this['newRevisionId']=_0x1808b4,this['oldRevisionId']=_0x3c58ec,this['changes']=new _0x12c280();}['_setChanges'](_0x5399d5){for(const _0x3c14a8 of _0x5399d5)this['changes']['add'](_0x3c14a8);}}const tt={'c':_0x757aae,'a':_0xa210d8,'e':_0x193389,'r':_0x3f1dae,'u':_0x512571};class d extends _0x570864{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x41255f,_0x5d33fb,A];}constructor(_0x1a6423){super(_0x1a6423),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',(_0x4a9d5f,_0x280a49,_0x589500)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x400304=>{for(const _0x2e9b80 of this['editor']['editing']['view']['document']['roots'])_0x589500?_0x400304['removeClass']('ck-editor__editable__overlay',_0x2e9b80):_0x400304['addClass']('ck-editor__editable__overlay',_0x2e9b80);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3d8a62=>null!==_0x3d8a62),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x367e47,_0xb7eb74,_0x3cff88)=>_0x367e47&&_0x3cff88?_0xb7eb74['changes']['getIndex'](_0x3cff88):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5db047,_0x542898)=>_0x5db047?_0x542898['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5d33fb);}['init'](){const _0x12beee=this['editor'],_0x2d3a62=new yt(_0x12beee,{'direction':'backward'}),_0x59bb32=new yt(_0x12beee,{'direction':'forward'});(_0x12beee['commands']['add']('showPreviousChange',_0x2d3a62),_0x12beee['commands']['add']('showNextChange',_0x59bb32),_0x12beee['commands']['add']('restoreRevision',new bt(_0x12beee)),this['on']('change:numberOfChanges',()=>{_0x2d3a62['refresh'](),_0x59bb32['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x12beee['enableReadOnlyMode']('revision-viewer'),_0x12beee['plugins']['has']('WidgetToolbarRepository'))&&_0x12beee['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5eb1d9){await this['loadRevisionData'](_0x5eb1d9);const _0x515c70={};for(const _0x4adc68 in _0x5eb1d9['diffData']){if(_0x5eb1d9['diffData'][_0x4adc68]['attachChange']&&!_0x5eb1d9['diffData'][_0x4adc68]['attachChange']['isAttached'])continue;const _0x1aafdc=this['_removeRevisionMarkers'](JSON['parse'](_0x5eb1d9['diffData'][_0x4adc68]['insertions'])),_0x50c241=this['editor']['editing']['view']['document'],_0x5b1f01=new _0x3204ea(_0x50c241,_0x1aafdc['map'](_0x3fa627=>this['_getViewObj'](_0x3fa627)));this['editor']['data']['processor']['useFillerType']('marked'),_0x515c70[_0x4adc68]=this['editor']['data']['processor']['toData'](_0x5b1f01),this['editor']['data']['processor']['useFillerType']('default');}return _0x515c70;}async['getRevisionRootsAttributes'](_0x1f6fb3){await this['loadRevisionData'](_0x1f6fb3);const _0x197d08={};for(const _0x589f19 in _0x1f6fb3['diffData'])_0x1f6fb3['diffData'][_0x589f19]['attachChange']&&!_0x1f6fb3['diffData'][_0x589f19]['attachChange']['isAttached']||(_0x197d08[_0x589f19]=_0x1f6fb3['diffData'][_0x589f19]['attributesAfter']||{});return _0x197d08;}['_removeRevisionMarkers'](_0x4945c9){return(_0x4945c9=_0x4945c9['filter'](_0x14467e=>!_0x14467e['name']||'revision-start'!==_0x14467e['name']&&'revision-end'!==_0x14467e['name']))['forEach'](_0x1cb251=>{'string'!=typeof _0x1cb251&&(_0x1cb251['children']=this['_removeRevisionMarkers'](_0x1cb251['children']),_0x1cb251['attributes']=_0x1cb251['attributes']['filter'](_0x227be9=>!_0x227be9[0x0]['startsWith']('data-revision-')));}),_0x4945c9;}async['compare'](_0x14dc81,_0x46f68b,_0x5e2363=!0x1){if(!this['isEnabled'])return;const _0x507bb0=this['diff'],_0x451cdf=this['repository'],_0x5b142f='string'==typeof _0x14dc81?_0x451cdf['getRevision'](_0x14dc81):_0x14dc81,_0x1d8d26='string'==typeof _0x46f68b?_0x451cdf['getRevision'](_0x46f68b):_0x46f68b,_0x5dc658=_0x5b142f['id'],_0x1696ef=_0x1d8d26?_0x1d8d26['id']:null;if(!_0x5e2363&&this['diff']&&this['diff']['newRevisionId']===_0x5dc658&&this['diff']['oldRevisionId']===_0x1696ef)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5dc658,_0x1696ef);const _0x3f7003=this['_getRevisionsRange'](_0x5b142f,_0x1d8d26,!0x0)['map'](_0x4aa9eb=>this['loadRevisionData'](_0x4aa9eb));return _0x3f7003['push'](new Promise(_0x1f8c9f=>{setTimeout(_0x1f8c9f,0x14);})),Promise['all'](_0x3f7003)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x226e08=this['_getDiff'](_0x5dc658,_0x1696ef);for(const _0x1fef66 of _0x226e08['changes'])this['_changeIdToChange']['set'](_0x1fef66['id'],_0x1fef66);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x276ff4=>{for(const _0x4d6722 of this['editor']['model']['document']['getRootNames']())_0x276ff4['detachRoot'](_0x4d6722);for(const _0x113cd9 of Object['keys'](_0x226e08['model'])){const _0x3c6e43=_0x276ff4['addRoot'](_0x113cd9);for(const _0x50f23a of Object['keys'](_0x226e08['attributes'][_0x113cd9]))_0x276ff4['setAttribute'](_0x50f23a,_0x226e08['attributes'][_0x113cd9][_0x50f23a],_0x3c6e43);_0x276ff4['insert'](_0x226e08['model'][_0x113cd9],_0x3c6e43,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x226e08['changes'])),this['isReady']=!0x0;})['catch'](_0x19f373=>{console['error'](_0x19f373),this['_cleanUp'](),_0x507bb0&&(this['diff']=_0x507bb0),this['isReady']=!0x0;});}['addRevisionData'](_0x568a07,_0x3f34b2){const _0x57e790=this['repository']['createRevision'](_0x568a07);return _0x57e790['on']('_update',(_0x308d4a,_0x40d0e5,_0x5c6b53)=>_0x3f34b2(_0x40d0e5,_0x5c6b53,_0x57e790)),this['repository']['addRevision'](_0x57e790),_0x57e790;}['loadRevisionData'](_0x41481b){if(!_0x41481b||_0x41481b['diffData'])return Promise['resolve']();{const _0x39fff2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x39fff2,'revisionId':_0x41481b['id']})['then'](_0x19e421=>{_0x41481b['_update']({'diffData':_0x19e421['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},_0x38aa5b=>{for(const _0x4030dc of this['editor']['model']['document']['getRootNames']())_0x38aa5b['detachRoot'](_0x4030dc);});}['_sortAndFilterDiffChanges'](_0x1c86df){const _0x1f6c81=[],_0x4bf5ad=new Map();for(const _0xc7c912 of this['editor']['model']['document']['getRootNames']()){const _0x28d145=this['editor']['editing']['view']['getDomRoot'](_0xc7c912);if(!_0x28d145)continue;const _0x39d5c5=_0x28d145['getClientRects']()['item'](0x0);_0x39d5c5&&(_0x1f6c81['push'](_0xc7c912),_0x4bf5ad['set'](_0xc7c912,_0x39d5c5));}return _0x1f6c81['sort']((_0x56376f,_0x377822)=>{const _0x59ada2=_0x4bf5ad['get'](_0x56376f),_0x355a43=_0x4bf5ad['get'](_0x377822);return _0x59ada2['y']-_0x355a43['y']||_0x59ada2['x']-_0x355a43['x'];}),(_0x1c86df=_0x1c86df['filter'](_0x4376bb=>_0x1f6c81['includes'](_0x4376bb['rootName'])))['sort']((_0x89b94c,_0x1b323c)=>_0x1f6c81['indexOf'](_0x89b94c['rootName'])-_0x1f6c81['indexOf'](_0x1b323c['rootName'])),_0x1c86df;}['_makeTape'](_0x57b037){const _0x3e3134=Array['from'](_0x57b037['markers'])['filter'](([_0x2bf82d,_0x43389e])=>_0x2bf82d['startsWith']('revision:')&&!_0x43389e['isCollapsed']),_0x47ce6a=Array['from'](this['editor']['model']['createRangeIn'](_0x57b037)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3e3134['length'])for(const _0x2be9f5 of _0x47ce6a){const [_0x24d2cb,_0x53b4a6]=_0x3e3134[0x0],[,_0xc05f42,_0xdf0689]=_0x24d2cb['split'](':');if(_0x53b4a6['end']['isEqual'](_0x2be9f5['nextPosition'])&&_0x3e3134['shift'](),(_0x2be9f5['previousPosition']['isEqual'](_0x53b4a6['start'])||_0x2be9f5['previousPosition']['isAfter'](_0x53b4a6['start']))&&('insertion'==_0xc05f42?_0x2be9f5['isAdded']={'userId':_0xdf0689}:'deletion'==_0xc05f42&&(_0x2be9f5['isRemoved']={'userId':_0xdf0689})),0x0==_0x3e3134['length'])break;}return _0x47ce6a;}['_refreshStartEndIndex'](_0x308ac6){const _0x110a6d=new Map();for(let _0x1eb749=0x0;_0x1eb749<_0x308ac6['length'];_0x1eb749++)'text'===_0x308ac6[_0x1eb749]['type']?(_0x308ac6[_0x1eb749]['item']['startIndex']=_0x1eb749,_0x308ac6[_0x1eb749]['item']['endIndex']=_0x1eb749):('elementStart'===_0x308ac6[_0x1eb749]['type']?_0x308ac6[_0x1eb749]['item']['startIndex']=_0x1eb749:'elementEnd'===_0x308ac6[_0x1eb749]['type']&&(_0x308ac6[_0x1eb749]['item']['endIndex']=_0x1eb749),_0x110a6d['set'](_0x308ac6[_0x1eb749]['id'],_0x1eb749));for(const _0x77d0f3 of _0x110a6d['values']())'elementStart'===_0x308ac6[_0x77d0f3]['type']?_0x308ac6[_0x77d0f3]['item']['endIndex']=_0x110a6d['get'](_0x308ac6[_0x77d0f3]['pairId']):'elementEnd'===_0x308ac6[_0x77d0f3]['type']&&(_0x308ac6[_0x77d0f3]['item']['startIndex']=_0x110a6d['get'](_0x308ac6[_0x77d0f3]['pairId']));}['_processTape'](_0x4720fb){for(let _0x5678f1=0x0;_0x5678f1<_0x4720fb['length'];_0x5678f1++){if('elementStart'===_0x4720fb[_0x5678f1]['type'])_0x4720fb[_0x5678f1]['item']['startIndex']=_0x5678f1;else{if('elementEnd'===_0x4720fb[_0x5678f1]['type']){_0x4720fb[_0x5678f1]['item']['endIndex']=_0x5678f1;const _0x498c2b=_0x4720fb[_0x5678f1]['item']['startIndex'];_0x4720fb[_0x498c2b]['pairId']=_0x4720fb[_0x5678f1]['id'],_0x4720fb[_0x5678f1]['pairId']=_0x4720fb[_0x498c2b]['id'];}else _0x4720fb[_0x5678f1]['item']['startIndex']=_0x5678f1,_0x4720fb[_0x5678f1]['item']['endIndex']=_0x5678f1,_0x4720fb[_0x5678f1]['pairId']=null;}_0x4720fb[_0x5678f1]['markersStart']||(_0x4720fb[_0x5678f1]['markersStart']=[],_0x4720fb[_0x5678f1]['markersEnd']=[]);}}['_markInsertions'](_0x509c82,_0x1e90e2){const _0x228b0c=_0x509c82['filter'](_0x40a987=>!_0x40a987['isAdded']);for(let _0x3ffc3a=0x0;_0x3ffc3a<_0x1e90e2['length'];_0x3ffc3a++)_0x1e90e2[_0x3ffc3a]['isAdded']&&(_0x228b0c[_0x3ffc3a]['isAdded']=_0x1e90e2[_0x3ffc3a]['isAdded']);}['_makeModelFromViewString'](_0x2cc466){const _0x566538=JSON['parse'](_0x2cc466),_0x12da67=this['editor']['editing']['view']['document'],_0x523056=new _0x3204ea(_0x12da67,_0x566538['map'](_0x9f88aa=>this['_getViewObj'](_0x9f88aa)));return this['editor']['data']['toModel'](_0x523056);}['_getViewObj'](_0x33f55b){const _0x3eaa4f=this['editor']['editing']['view']['document'];if('string'==typeof _0x33f55b)return new _0x4c3592(_0x3eaa4f,_0x33f55b);{const _0x137d88=_0x33f55b['children']['map'](_0x560501=>this['_getViewObj'](_0x560501));return new(tt[_0x33f55b['type']]||_0x306c72)(_0x3eaa4f,_0x33f55b['name'],_0x33f55b['attributes'],_0x137d88);}}['_getDiff'](_0x1271a3,_0x574ac1=null){const _0x3b44d7=this['repository']['getRevision'](_0x1271a3),_0xd241d8=_0x574ac1?this['repository']['getRevision'](_0x574ac1):null,_0x59f4ef=this['_getRevisionsRange'](_0x3b44d7,_0xd241d8),_0x3926ba=_0x59f4ef[_0x59f4ef['length']-0x1],_0x216203=new Map(),_0x2c436e={'model':{},'attributes':{},'changes':[]},_0x4079df=new Set(),_0x5beccd=new Map();for(let _0x27052e=_0x59f4ef['length']-0x1;_0x27052e>=0x0;_0x27052e--){const _0x3e53d9=_0x59f4ef[_0x27052e];for(const _0x195858 of Object['keys'](_0x3e53d9['diffData']))if(_0x3e53d9['diffData'][_0x195858]['attachChange']){const _0x46fac4=_0x3e53d9['diffData'][_0x195858]['attachChange'];_0x46fac4['isAttached']?(_0x4079df['add'](_0x195858),_0x5beccd['has'](_0x195858)&&_0x5beccd['get'](_0x195858)['userId']==_0x46fac4['userId']?_0x5beccd['delete'](_0x195858):_0x5beccd['set'](_0x195858,_0x46fac4)):_0x5beccd['has'](_0x195858)?(_0x4079df['delete'](_0x195858),_0x5beccd['delete'](_0x195858)):(_0x4079df['add'](_0x195858),_0x5beccd['set'](_0x195858,_0x46fac4));}else _0x4079df['add'](_0x195858);}for(const _0x12b5be of _0x4079df){const _0x1513fb=_0x5beccd['has'](_0x12b5be)&&!_0x5beccd['get'](_0x12b5be)['isAttached'];let _0xccf5c0=_0x1513fb?_0x59f4ef['length']-0x1:0x0;const _0x1d3a3=_0x1513fb?-0x1:0x1;for(;_0x59f4ef[_0xccf5c0];){const _0x51d290=_0x59f4ef[_0xccf5c0];if(_0x51d290['diffData'][_0x12b5be]){const _0x43aec3=_0x1513fb?_0x51d290['diffData'][_0x12b5be]['attributesBefore']:_0x51d290['diffData'][_0x12b5be]['attributesAfter'];_0x2c436e['attributes'][_0x12b5be]=_0x43aec3?_0xcaf5fd(_0x43aec3):{};break;}_0xccf5c0+=_0x1d3a3;}}for(const _0xbbcf8c of _0x59f4ef){_0xbbcf8c['model']={};for(const _0x3f96d2 of _0xbbcf8c['authors'])_0x216203['set'](_0x3f96d2['id'],_0x3f96d2);for(const _0x1f42ec of _0x4079df){const _0x477936=_0xbbcf8c['diffData'][_0x1f42ec]?_0xbbcf8c['diffData'][_0x1f42ec]['insertions']:'[]',_0x3ef048=_0xbbcf8c['diffData'][_0x1f42ec]?_0xbbcf8c['diffData'][_0x1f42ec]['deletions']:'[]';_0xbbcf8c['model'][_0x1f42ec]={'insertions':this['_makeModelFromViewString'](_0x477936),'deletions':this['_makeModelFromViewString'](_0x3ef048)};}}for(const _0x32deb5 of _0x4079df){let _0x100619=null,_0x1e0768=0x0;const _0x1fde14=new Map(Array['from'](_0x3b44d7['model'][_0x32deb5]['insertions']['markers'])['filter'](([_0x145f71])=>!_0x145f71['startsWith']('revision:')));let _0x303c78=0x0;for(const _0x31b021 of _0x59f4ef){const _0x46e50f=this['_makeTape'](_0x31b021['model'][_0x32deb5]['insertions']);_0x31b021==_0x3b44d7?(_0x100619=_0x46e50f,_0x1e0768=_0x100619['length'],_0x100619['forEach'](_0x28c3cc=>{_0x28c3cc['id']=_0x303c78++;}),this['_processTape'](_0x100619)):this['_markInsertions'](_0x100619,_0x46e50f);const _0x18bb58=_0x100619['filter'](_0x42eb90=>!_0x42eb90['isAdded'])['map'](_0x3e5fe0=>_0x3e5fe0['id']);let _0x52e225=0x0;const _0xb22954=this['_makeTape'](_0x31b021['model'][_0x32deb5]['deletions']);_0xb22954['forEach'](_0x5b3dd7=>{_0x5b3dd7['isRemoved']?_0x5b3dd7['id']=_0x1e0768++:_0x5b3dd7['id']=_0x18bb58[_0x52e225++];}),this['_processTape'](_0xb22954),this['_setDistance'](_0x100619,'isAdded'),this['_setDistance'](_0xb22954,'isRemoved'),_0x31b021==_0x3b44d7&&this['_markMarkers'](_0x100619,_0x1fde14),_0x100619=this['_joinTapes'](_0x100619,_0xb22954),this['_refreshStartEndIndex'](_0x100619),this['_setDistance'](_0x100619,'isRemoved');}_0x100619=_0x100619['filter'](_0xeef500=>!(_0xeef500['isAdded']&&_0xeef500['isRemoved']));const _0xb1cead=new Map(_0x3926ba['model'][_0x32deb5]['deletions']['markers']),_0x1e008b=new Set(_0x1fde14['keys']());for(const _0x241a0a of _0xb1cead['keys']())_0x1e008b['delete'](_0x241a0a);this['_markSuggestions'](_0x100619,_0x1e008b),this['_fixObsoleteTags'](_0x100619),_0x100619=this['_removeMissingPairs'](_0x100619),_0x100619=this['_markMismatchedRemovedTags'](_0x100619),_0x100619=this['_removeUnsupportedChanges'](_0x100619);const {root:_0x252099,changes:_0x568949}=this['_makeModelFromTape'](_0x100619,_0x216203,_0x32deb5);_0x2c436e['model'][_0x32deb5]=_0x252099;const _0x1dfafd=_0x5beccd['get'](_0x32deb5);if(_0x1dfafd){const _0xed0e25=_0x216203['get'](_0x1dfafd['userId']),_0x229ba7=new r({'author':_0xed0e25,'type':_0x1dfafd['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x32deb5});_0x568949['unshift'](_0x229ba7),_0x2c436e['attributes'][_0x32deb5]['revisionHistoryAttachChange']=_0x229ba7['id'];}_0x2c436e['changes']=_0x2c436e['changes']['concat'](_0x568949);}return _0x2c436e;}['_markMarkers'](_0x30359e,_0x30fe34){for(let _0x14b861=0x0;_0x14b861<_0x30359e['length'];_0x14b861++)for(const [_0x4ad2a9,_0x434a08]of _0x30fe34)_0x434a08['start']['isEqual'](_0x30359e[_0x14b861]['previousPosition'])&&_0x30359e[_0x14b861]['markersStart']['push'](_0x4ad2a9),_0x434a08['end']['isEqual'](_0x30359e[_0x14b861]['nextPosition'])&&_0x30359e[_0x14b861]['markersEnd']['push'](_0x4ad2a9);}['_joinTapes'](_0x445e62,_0x170d00){let _0x395fe2=[],_0x3165a3=0x0,_0x237944=0x0;for(;_0x3165a3<_0x445e62['length']||_0x237944<_0x170d00['length'];){const _0x59966b=_0x445e62[_0x3165a3]||{},_0x375c7a=_0x170d00[_0x237944]||{};if(_0x59966b['id']==_0x375c7a['id'])_0x3165a3++,_0x237944++,_0x395fe2['push'](_0x59966b);else{if(_0x375c7a['isRemoved']&&_0x59966b['isAdded']){const {commonTape:_0x2393d8,iEnd:_0x5cf3d8,jEnd:_0x1ed5bd}=this['_threeWayMerge'](_0x445e62,_0x3165a3,_0x170d00,_0x237944);_0x395fe2=_0x395fe2['concat'](_0x2393d8),_0x3165a3=_0x5cf3d8,_0x237944=_0x1ed5bd;}else _0x375c7a['isRemoved']?(_0x237944++,_0x395fe2['push'](_0x375c7a)):(_0x3165a3++,_0x395fe2['push'](_0x59966b));}}return _0x395fe2;}['_markSuggestions'](_0x4958a6,_0xd160ce){const _0x12002c=[];for(let _0x5681f8=0x0;_0x5681f8<_0x4958a6['length'];_0x5681f8++){for(let _0x52c807=0x0;_0x52c807<_0x4958a6[_0x5681f8]['markersStart']['length'];_0x52c807++){const _0x12f4dc=_0x4958a6[_0x5681f8]['markersStart'][_0x52c807];if(!_0xd160ce['has'](_0x12f4dc))continue;const {group:_0x566957,type:_0xc5926d,authorId:_0x44b866}=_0x2de652(_0x12f4dc);'revision-suggestion'!=_0x566957||'insertion'!=_0xc5926d&&'deletion'!=_0xc5926d||(_0x12002c['unshift']({'type':_0xc5926d,'name':_0x12f4dc,'userId':_0x44b866}),_0x4958a6[_0x5681f8]['markersStart']['splice'](_0x52c807,0x1),_0x52c807--);}_0x59162c(_0x4958a6[_0x5681f8]);for(let _0x49fe31=0x0;_0x49fe31<_0x4958a6[_0x5681f8]['markersEnd']['length'];_0x49fe31++){const _0x19ace8=_0x4958a6[_0x5681f8]['markersEnd'][_0x49fe31];if(!_0xd160ce['has'](_0x19ace8))continue;const {group:_0x5ebd36,type:_0x50b727}=_0x2de652(_0x19ace8);if('revision-suggestion'!=_0x5ebd36||'insertion'!=_0x50b727&&'deletion'!=_0x50b727)continue;_0x4958a6[_0x5681f8]['markersEnd']['splice'](_0x49fe31,0x1),_0x49fe31--;const _0x5b25d1=_0x12002c['findIndex'](_0x107794=>_0x107794['name']==_0x19ace8);_0x5b25d1>-0x1&&_0x12002c['splice'](_0x5b25d1,0x1);}}function _0x2de652(_0x5b5c2b){const _0x323c64=_0x5b5c2b['split'](':');return{'group':_0x323c64[0x0],'type':_0x323c64[0x1],'subType':_0x323c64['length']>=0x5?_0x323c64[0x2]:null,'id':_0x323c64['length']<0x5?_0x323c64[0x2]:_0x323c64[0x3],'authorId':_0x323c64['length']<0x5?_0x323c64[0x3]:_0x323c64[0x4],'markerCount':0x6==_0x323c64['length']?_0x323c64[0x5]:null};}function _0x59162c(_0x27da5d){for(let _0x4f550d=0x0;_0x4f550d<_0x12002c['length'];_0x4f550d++){if(_0x27da5d['isAdded']&&'insertion'==_0x12002c[_0x4f550d]['type'])return _0x27da5d['isAddSuggestion']=_0x12002c[_0x4f550d],void delete _0x27da5d['isAdded'];if(!_0x27da5d['isAdded']&&!_0x27da5d['isRemoved']&&'deletion'==_0x12002c[_0x4f550d]['type'])return void(_0x27da5d['isRemoveSuggestion']=_0x12002c[_0x4f550d]);}}}['_setDistance'](_0x538948,_0x5bf0c1){let _0x415e79=0x0,_0x455005=!0x1;const _0x45f984=new Map();for(const _0x361eb6 of _0x538948)_0x361eb6[_0x5bf0c1]?_0x455005&&(_0x415e79++,_0x455005=!0x1):(_0x415e79++,_0x455005=!0x0),_0x45f984['set'](_0x361eb6['id'],_0x415e79);for(let _0x2ca1c7=0x0;_0x2ca1c7<_0x538948['length'];_0x2ca1c7++){if('isRemoved'==_0x5bf0c1&&_0x538948[_0x2ca1c7]['isAdded']||'isAdded'==_0x5bf0c1&&_0x538948[_0x2ca1c7]['isRemoved'])continue;if('text'==_0x538948[_0x2ca1c7]['type']){_0x538948[_0x2ca1c7]['distance']=0x0;continue;}const _0x4b23c2=_0x45f984['get'](_0x538948[_0x2ca1c7]['pairId']),_0x34577a=_0x45f984['get'](_0x538948[_0x2ca1c7]['id']);_0x538948[_0x2ca1c7]['distance']=_0x4b23c2-_0x34577a;}}['_getRevisionsRange'](_0x56e7b8,_0x2a48f4,_0x30cf60=!0x1){const _0x38867b=[];let _0x4899e1=this['repository']['getIndex'](_0x56e7b8),_0x240d98=this['repository']['getIndex'](_0x2a48f4);for(-0x1==_0x240d98&&(_0x240d98=this['repository']['_revisions']['length'],_0x30cf60=!0x1);_0x4899e1<_0x240d98;)_0x38867b['push'](this['repository']['getRevision'](_0x4899e1)),_0x4899e1++;return _0x30cf60&&_0x38867b['push'](this['repository']['getRevision'](_0x4899e1)),_0x38867b;}['_threeWayMerge'](_0x28dc96,_0x3a563c,_0x1051b2,_0x319cd0){const _0x5e0640=this['editor']['model']['schema'];let _0x54d8c4=_0x3a563c;for(;_0x28dc96[_0x54d8c4]&&_0x28dc96[_0x54d8c4]['isAdded'];)_0x54d8c4++;let _0x3990d8=_0x319cd0;for(;_0x1051b2[_0x3990d8]&&_0x1051b2[_0x3990d8]['isRemoved'];)_0x3990d8++;_0x3be11e(_0x28dc96,_0x3a563c,_0x54d8c4),_0x3be11e(_0x1051b2,_0x319cd0,_0x3990d8);const _0x29ad55=_0x1051b2['slice'](_0x319cd0,_0x3990d8)['concat'](_0x28dc96['slice'](_0x3a563c,_0x54d8c4));return _0x29ad55['sort']((_0x284154,_0x410b1f)=>_0x284154['side']!=_0x410b1f['side']?_0x284154['side']-_0x410b1f['side']:_0x284154['level']!=_0x410b1f['level']?_0x284154['level']-_0x410b1f['level']:_0x284154['distance']!=_0x410b1f['distance']?_0x410b1f['distance']-_0x284154['distance']:!!_0x284154['isAdded']!=!!_0x410b1f['isAdded']?-0x1==_0x284154['side']||0x0==_0x284154['side']?_0x284154['isAdded']?-0x1:0x1:_0x284154['isAdded']?0x1:-0x1:_0x284154['index']-_0x410b1f['index']),{'commonTape':_0x29ad55,'iEnd':_0x54d8c4,'jEnd':_0x3990d8};function _0x3be11e(_0x270ba2,_0x209d2c,_0x55687f){let _0x5745ca=-0x1,_0x23e958=Number['POSITIVE_INFINITY'],_0x27c731=!0x0;for(let _0x118a57=_0x209d2c;_0x118a57<_0x55687f;_0x118a57++)if(_0x5e0640['isInline'](_0x270ba2[_0x118a57]['item'])||(_0x27c731=!0x1),_0x270ba2[_0x118a57]['item']['startIndex']<_0x209d2c&&(_0x5745ca=_0x118a57),_0x270ba2[_0x118a57]['item']['endIndex']>=_0x55687f){_0x23e958=_0x118a57;break;}_0x27c731&&(_0x5745ca=_0x55687f-0x1);for(let _0x3eedcd=_0x209d2c;_0x3eedcd<_0x55687f;_0x3eedcd++)_0x270ba2[_0x3eedcd]['side']=_0x3eedcd<=_0x5745ca?-0x1:_0x3eedcd<_0x23e958?0x0:0x1,_0x270ba2[_0x3eedcd]['index']=_0x3eedcd;let _0x30414a=0x0;for(let _0x1b9222=_0x209d2c;_0x1b9222<=_0x5745ca;_0x1b9222++)0x0==_0x270ba2[_0x1b9222]['distance']?_0x270ba2[_0x1b9222]['level']=_0x30414a:(_0x30414a++,_0x270ba2[_0x1b9222]['level']=_0x30414a,_0x30414a++);for(let _0x344a6f=_0x209d2c;_0x344a6f<_0x55687f;_0x344a6f++)0x0==_0x270ba2[_0x344a6f]['side']&&(_0x270ba2[_0x344a6f]['level']=_0x30414a);_0x30414a=0x0;for(let _0x3609bd=_0x55687f-0x1;_0x3609bd>=_0x23e958;_0x3609bd--)0x0==_0x270ba2[_0x3609bd]['distance']?_0x270ba2[_0x3609bd]['level']=_0x30414a:(_0x30414a--,_0x270ba2[_0x3609bd]['level']=_0x30414a,_0x30414a--);}}['_fixObsoleteTags'](_0x4fd0e8){const _0x408b6c=new Map(),_0x13f629=this['editor']['model']['schema'];for(let _0x40c202=0x1;_0x40c202<_0x4fd0e8['length'];_0x40c202++){let _0x3cf7bb,_0x442e0d,_0x1a3893;const _0x53a594=_0x4fd0e8[_0x40c202],_0x4e1e99=_0x4fd0e8[_0x40c202-0x1];if('text'==_0x53a594['type'])continue;if(_0x53a594['type']!=_0x4e1e99['type'])continue;if(!_0x13f629['isBlock'](_0x4e1e99['item'])||_0x13f629['isLimit'](_0x4e1e99['item']))continue;if(!_0x13f629['isBlock'](_0x53a594['item'])||_0x13f629['isLimit'](_0x53a594['item']))continue;if((_0x4fd0e8[_0x40c202]['isAdded']||_0x4fd0e8[_0x40c202]['isAddSuggestion'])&&_0x4fd0e8[_0x40c202-0x1]['isRemoved'])_0x3cf7bb=_0x4fd0e8[_0x40c202],_0x442e0d=_0x4fd0e8[_0x40c202-0x1],_0x1a3893=_0x40c202-0x1;else{if(!_0x4fd0e8[_0x40c202]['isRemoved']||!_0x4fd0e8[_0x40c202-0x1]['isAdded']&&!_0x4fd0e8[_0x40c202-0x1]['isAddSuggestion'])continue;_0x3cf7bb=_0x4fd0e8[_0x40c202-0x1],_0x442e0d=_0x4fd0e8[_0x40c202],_0x1a3893=_0x40c202;}const _0x32d831=_0x3cf7bb['level']==_0x442e0d['level'],_0x3cab3a=Math['abs'](_0x3cf7bb['level'])<Math['abs'](_0x442e0d['level'])&&0x0==_0x442e0d['distance'];(_0x32d831||_0x3cab3a)&&(_0x408b6c['set'](_0x442e0d['id'],_0x3cf7bb['id']),_0x4fd0e8['splice'](_0x1a3893,0x1),_0x40c202--,_0x3cf7bb['isAdded']=!0x1);}for(let _0x23ae03=0x0;_0x23ae03<_0x4fd0e8['length'];_0x23ae03++)_0x408b6c['has'](_0x4fd0e8[_0x23ae03]['pairId'])&&(_0x4fd0e8[_0x23ae03]['pairId']=_0x408b6c['get'](_0x4fd0e8[_0x23ae03]['pairId']));}['_removeMissingPairs'](_0x17c900){const _0xbd712b=new Set(_0x17c900['map'](_0x2c6bbd=>_0x2c6bbd['id']));for(let _0x184887=0x0;_0x184887<_0x17c900['length'];_0x184887++)_0xbd712b['has'](_0x17c900[_0x184887]['pairId'])||0x0==_0x17c900[_0x184887]['distance']||(_0x17c900[_0x184887]['isIncorrect']=!0x0);return _0x17c900['filter'](_0x332936=>!_0x332936['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1a1f75){const _0x360a36=new Set();for(let _0x32a5b0=0x0;_0x32a5b0<_0x1a1f75['length'];_0x32a5b0++){if(_0x360a36['has'](_0x1a1f75[_0x32a5b0]['id'])&&_0x1a1f75[_0x32a5b0]['isRemoved']&&(_0x1a1f75[_0x32a5b0]['isIncorrect']=!0x0),_0x1a1f75[_0x32a5b0]['isIncorrect'])continue;if(0x0==_0x1a1f75[_0x32a5b0]['distance'])continue;if('elementStart'!=_0x1a1f75[_0x32a5b0]['type'])continue;if(null==_0x1a1f75[_0x32a5b0]['pairId'])continue;let _0x38ec9c=_0x32a5b0+0x1,_0x1c2d8d=0x0;for(;_0x1a1f75[_0x38ec9c]['id']!=_0x1a1f75[_0x32a5b0]['pairId'];)'elementStart'==_0x1a1f75[_0x38ec9c]['type']?_0x1c2d8d++:'elementEnd'==_0x1a1f75[_0x38ec9c]['type']&&_0x1c2d8d--,_0x38ec9c++;if(0x0!=_0x1c2d8d){if(_0x1a1f75[_0x32a5b0]['isRemoved'])_0x1a1f75[_0x32a5b0]['isIncorrect']=!0x0;else{for(;_0x38ec9c!=_0x32a5b0;)_0x1a1f75[_0x38ec9c]['isRemoved']&&0x0!=_0x1a1f75[_0x38ec9c]['distance']&&(_0x1a1f75[_0x38ec9c]['isIncorrect']=!0x0,_0x360a36['add'](_0x1a1f75[_0x38ec9c]['pairId'])),_0x38ec9c--;}}}return _0x1a1f75['filter'](_0x3e7947=>!_0x3e7947['isIncorrect']);}['_removeUnsupportedChanges'](_0x2f0639){const _0xcbf95d=this['editor']['model']['schema'];for(let _0x56ec88=0x0;_0x56ec88<_0x2f0639['length'];_0x56ec88++){if(!(_0x2f0639[_0x56ec88]['isAdded']||_0x2f0639[_0x56ec88]['isAddSuggestion']||_0x2f0639[_0x56ec88]['isRemoved']||_0x2f0639[_0x56ec88]['isRemoveSuggestion']))continue;if(0x0==_0x2f0639[_0x56ec88]['distance'])continue;const _0x1e1dd7=_0x2f0639[_0x56ec88]['item'];_0xcbf95d['isBlock'](_0x1e1dd7)||_0xcbf95d['isLimit'](_0x1e1dd7)||(_0x2f0639[_0x56ec88]['isAdded']&&delete _0x2f0639[_0x56ec88]['isAdded'],_0x2f0639[_0x56ec88]['isAddSuggestion']&&delete _0x2f0639[_0x56ec88]['isAddSuggestion'],_0x2f0639[_0x56ec88]['isRemoveSuggestion']&&delete _0x2f0639[_0x56ec88]['isRemoveSuggestion'],_0x2f0639[_0x56ec88]['isRemoved']&&(_0x2f0639[_0x56ec88]['isIncorrect']=!0x0));}return _0x2f0639['filter'](_0x324147=>!_0x324147['isIncorrect']);}['_makeModelFromTape'](_0x329ed6,_0x48b74b,_0x5dc3ea){const _0x381186=new wt(),_0x1c6b4a=[],_0x184606=new Map(),_0x2e5c4d=this['editor']['model'],_0x17691d=_0x2e5c4d['schema'],_0x3eb362=[_0x381186],_0x4a2023={},_0x3d4eda={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b63b1=null;const _0x4eaada=[0x0];for(let _0x541be7=0x0;_0x541be7<_0x329ed6['length'];_0x541be7++){let _0x47ebd5,_0x5e69cc;if('elementStart'===_0x329ed6[_0x541be7]['type']){_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada);const _0x37ac6e=new ft(_0x329ed6[_0x541be7]['item']['name'],_0x329ed6[_0x541be7]['item']['getAttributes']());_0x3eb362[0x0]['_appendChild'](_0x37ac6e),_0x4eaada['push'](0x0),_0x3eb362['unshift'](_0x37ac6e),_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1=null;}else{if('elementEnd'===_0x329ed6[_0x541be7]['type'])_0x3eb362['shift'](),_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x4eaada['pop'](),_0x4eaada[_0x4eaada['length']-0x1]++,_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1=null;else{if(_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1&&_0x1845ca(_0x1b63b1,_0x329ed6[_0x541be7]['item']))_0x1b63b1['_data']+=_0x329ed6[_0x541be7]['item']['data'];else{const _0x1bf2b3=new _t(_0x329ed6[_0x541be7]['item']['data'],_0x329ed6[_0x541be7]['item']['getAttributes']());_0x3eb362[0x0]['_appendChild'](_0x1bf2b3),_0x1b63b1=_0x1bf2b3;}_0x4eaada[_0x4eaada['length']-0x1]+=_0x329ed6[_0x541be7]['item']['offsetSize'],_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada);}}for(const _0x173a90 of _0x329ed6[_0x541be7]['markersStart'])_0x184606['set'](_0x173a90,{'start':_0x47ebd5,'end':null});_0x8bf03('isRemoveSuggestion',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isAddSuggestion',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isRemoved',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isAdded',_0x541be7,_0x47ebd5,_0x5e69cc);for(const _0x1a30d8 of _0x329ed6[_0x541be7]['markersEnd']){_0x184606['get'](_0x1a30d8)['end']=_0x5e69cc;}}for(const [_0x588e21,_0x1b75ad]of _0x184606){const _0xd77c5f=this['editor']['model']['createRange'](_0x1b75ad['start'],_0x1b75ad['end']);_0x381186['markers']['set'](_0x588e21,_0xd77c5f);}return _0x1c6b4a['sort']((_0xbfabe0,_0xa7361c)=>{const _0x107c71=_0x381186['markers']['get']('revision:'+_0xbfabe0['id']),_0xd463dc=_0x381186['markers']['get']('revision:'+_0xa7361c['id']);return _0x107c71['start']['isBefore'](_0xd463dc['start'])?-0x1:_0x107c71['start']['isAfter'](_0xd463dc['start'])?0x1:_0x107c71['end']['isBefore'](_0xd463dc['end'])?-0x1:_0x107c71['end']['isAfter'](_0xd463dc['end'])?0x1:'add'===_0xbfabe0['type']?-0x1:0x1;}),{'root':_0x381186,'changes':_0x1c6b4a};function _0x8bf03(_0x24758f,_0x30714e,_0x4c4485,_0x2c8125){const _0x59e1c7=!!_0x329ed6[_0x30714e][_0x24758f],_0x446eed=_0x59e1c7?_0x329ed6[_0x30714e][_0x24758f]['userId']:null,_0x5896de=_0x30714e===_0x329ed6['length']-0x1,_0x4adec5=_0x3d4eda[_0x24758f][0x0],_0x53fdf9=_0x17691d['isObject'](_0x329ed6[_0x30714e]['item']);!_0x4a2023[_0x24758f]&&_0x59e1c7?_0x4a2023[_0x24758f]={'start':_0x4c4485,'tapeItem':_0x329ed6[_0x30714e],'userId':_0x446eed,'type':_0x24758f}:_0x4a2023[_0x24758f]&&!_0x59e1c7?(_0x4a2023[_0x24758f]['end']=_0x4c4485,_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]=null):_0x4a2023[_0x24758f]&&_0x59e1c7&&_0x4a2023[_0x24758f]['userId']!==_0x446eed&&(_0x4a2023[_0x24758f]['end']=_0x4c4485,_0x4adec5&&_0x4adec5['userId']===_0x4a2023[_0x24758f]['userId']||_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]={'start':_0x4c4485,'tapeItem':_0x329ed6[_0x30714e],'userId':_0x446eed,'type':_0x24758f}),_0x4a2023[_0x24758f]&&_0x53fdf9&&('elementStart'!==_0x329ed6[_0x30714e]['type']||_0x4adec5&&_0x4adec5['userId']===_0x446eed||_0x3d4eda[_0x24758f]['unshift']({'userId':_0x446eed,'object':_0x329ed6[_0x30714e]['item'],'change':_0x4a2023[_0x24758f]}),'elementEnd'===_0x329ed6[_0x30714e]['type']&&_0x4adec5&&_0x4adec5['object']===_0x329ed6[_0x30714e]['item']&&(_0x3d4eda[_0x24758f]['shift'](),_0x4a2023[_0x24758f]=_0x4adec5['change'])),_0x4a2023[_0x24758f]&&_0x5896de&&(_0x4a2023[_0x24758f]['end']=_0x2c8125,_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]=null);}function _0x34b4ec({start:_0x1d83bd,end:_0x3f7d56,tapeItem:_0x3532ee,userId:_0x414b7e,type:_0x339534}){const _0x4ecd6b=_0x3532ee['item'],_0x545034=_0x2e5c4d['schema']['isBlock'](_0x4ecd6b)&&!_0x2e5c4d['schema']['isLimit'](_0x4ecd6b),_0x7a53b9=_0x1d83bd['nodeAfter']==_0x3f7d56['parent']&&_0x3f7d56['isAtStart'];if(_0x545034&&_0x7a53b9)return;const _0x157ad7=_0x2e5c4d['createRange'](_0x1d83bd,_0x3f7d56),_0x35c1bf=_0x48b74b['get'](_0x414b7e),_0x28d102=new r({'author':_0x35c1bf,'type':'isAdded'==_0x339534||'isAddSuggestion'==_0x339534?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x339534||'isRemoveSuggestion'==_0x339534},'createdAt':new Date(),'rootName':_0x5dc3ea});_0x1c6b4a['push'](_0x28d102),_0x381186['markers']['set']('revision:'+_0x28d102['id'],_0x157ad7);}function _0x1845ca(_0x3a2935,_0x1b33a3){const _0x571b2b=_0x3a2935['getAttributes'](),_0x5bbc28=_0x1b33a3['getAttributes']();for(const _0x245ea8 of _0x571b2b){if(_0x245ea8[0x1]!==_0x1b33a3['getAttribute'](_0x245ea8[0x0]))return!0x1;_0x5bbc28['next']();}return _0x5bbc28['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4f9c4b=>{const _0x2c2229=_0x4f9c4b['markerName']['split'](':')[0x1],_0x336644=this['_getChangeFromId'](_0x2c2229);if(!_0x336644)return null;const _0x1611e5='add'==_0x336644['type']?'insertion':'deletion',_0x4dfb31=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1611e5];return _0x336644['data']['isSuggestion']&&_0x4dfb31['push']('ck-suggestion-marker-'+_0x1611e5+'-new'),this['activeChange']==_0x336644&&_0x4dfb31['push']('ck-suggestion-marker--active'),{'classes':_0x4dfb31,'attributes':{'data-change-id':_0x2c2229}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2d63b6=>{_0x2d63b6['on']('element:pre',(_0xc55331,_0xa63deb,_0x4f5139)=>{const _0x5a13d2=_0xa63deb['viewItem']['getChild'](0x0);if(!_0x5a13d2||!_0x5a13d2['is']('element','code'))return;if(!_0x4f5139['consumable']['consume'](_0x5a13d2,{'attributes':['vid_start','vid_end']}))return;const _0x4a3e0f=_0xa63deb['modelRange']['start']['nodeAfter'];_0x4f5139['writer']['setAttribute']('vid_start',_0x5a13d2['getAttribute']('vid_start'),_0x4a3e0f),_0x4f5139['writer']['setAttribute']('vid_end',_0x5a13d2['getAttribute']('vid_end'),_0x4a3e0f);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3a45f8=>{_0x3a45f8['on']('element',(_0x68c51,_0x4e81f6,_0x2abbfa)=>{if(!_0x2abbfa['consumable']['consume'](_0x4e81f6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4e81f6['modelRange']['isCollapsed'])return;const _0x192748=_0x4e81f6['modelRange']['start']['nodeAfter'];_0x192748['hasAttribute']('vid_start')||_0x192748['hasAttribute']('vid')||(_0x2abbfa['writer']['setAttribute']('vid_start',_0x4e81f6['viewItem']['getAttribute']('vid_start'),_0x192748),_0x2abbfa['writer']['setAttribute']('vid_end',_0x4e81f6['viewItem']['getAttribute']('vid_end'),_0x192748));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x305357=>_0x305357['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x598f25,[,_0x5954d5])=>{['vid_start','vid_end','vid']['includes'](_0x5954d5)&&(_0x598f25['return']=!0x0,_0x598f25['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1c5c3c=>{_0x1c5c3c['on']('attribute:vid',(_0x1c005e,_0x3eee44,_0x159ee0)=>{if('\x20'!=_0x3eee44['item']['data']||_0x3eee44['item']['parent']['maxOffset']>0x1)return;if(!_0x159ee0['consumable']['consume'](_0x3eee44['item'],_0x1c005e['name']))return;const _0x101a8a=_0x159ee0['writer'],_0x597525=_0x159ee0['mapper']['toViewRange'](_0x3eee44['range']);_0x101a8a['wrap'](_0x597525,_0x101a8a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xf68fbe){const _0x1ab011=_0xf68fbe['plugins']['get']('RevisionViewer');return(_0x293f56,_0x44ede0,_0x13945e)=>{const _0x336998=_0x44ede0['markerName']['split'](':')[0x1],_0x57db3b=_0x1ab011['_getChangeFromId'](_0x336998);if(!_0x57db3b)return null;const _0x1bc890='add'==_0x57db3b['type']?'split':'merge';if(!_0x13945e['consumable']['test'](_0x44ede0['markerRange'],_0x293f56['name']))return;const _0x2f47fa=_0x44ede0['markerRange']['getWalker'](),_0x3fd36a=_0x44ede0['markerRange']['start'],_0x568524=_0xf68fbe['model']['schema'];let _0x1e6a41=null,_0x2a4b95=null,_0x72d987=!0x1,_0x5b0f7b=!0x1;for(const _0x13c4b2 of _0x2f47fa){const _0x4a5d18=_0x13c4b2['item'];_0x72d987=_0x72d987||_0x568524['isContent'](_0x4a5d18);const _0x2340bc=_0x13945e['mapper']['toViewElement'](_0x4a5d18);if(_0x2340bc&&_0x2340bc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x13c4b2['type']&&(_0x568524['isBlock'](_0x4a5d18)&&!_0x568524['isLimit'](_0x4a5d18)&&(_0x4a5d18['nextSibling']||_0x3fd36a['isAtEnd']?_0x1e6a41&&_0x1e6a41['parent']==_0x4a5d18||(_0x1e6a41=_0x4a5d18,_0x22f42a(_0x13c4b2['previousPosition']),_0x5b0f7b=!0x0):_0x2a4b95=_0x2a4b95||_0x13c4b2['previousPosition']));}function _0x22f42a(_0x1332c3){const _0x5b1795=_0x13945e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1bc890}),_0x435633=_0x13945e['mapper']['toViewPosition'](_0x1332c3);_0x57db3b['data']['isSuggestion']&&_0x13945e['writer']['addClass']('ck-suggestion-marker-'+_0x1bc890+'-new',_0x5b1795),_0x1ab011['activeChange']==_0x57db3b&&_0x13945e['writer']['addClass']('ck-suggestion-marker--active',_0x5b1795),_0x13945e['writer']['insert'](_0x435633,_0x5b1795),_0x13945e['mapper']['bindElementToMarker'](_0x5b1795,_0x44ede0['markerName']);}_0x72d987||_0x5b0f7b||!_0x2a4b95||_0x22f42a(_0x2a4b95);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5b32da,_0x513814,_0x572723)=>{const _0x3f8185=_0x572723['mapper']['markerNameToElements'](_0x513814['markerName']);if(_0x3f8185){for(const _0x4d8633 of _0x3f8185)(_0x4d8633['hasClass']('ck-suggestion-marker-split')||_0x4d8633['hasClass']('ck-suggestion-marker-merge'))&&(_0x572723['mapper']['unbindElementFromMarkerName'](_0x4d8633,_0x513814['markerName']),_0x572723['writer']['remove'](_0x4d8633));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3059fa,_0x344422,_0x508267)=>{const _0x43cfb1=_0x344422['markerName']['split'](':')[0x1],_0x15f007=this['_getChangeFromId'](_0x43cfb1);if(!_0x15f007)return null;const _0x3e4102='add'==_0x15f007['type']?'split':'merge';if(_0x508267['consumable']['test'](_0x344422['markerRange'],_0x3059fa['name']))for(const _0x3ca716 of _0x344422['markerRange']['getItems']()){if(!_0x3ca716['is']('element','softBreak'))continue;const _0xfe11e7=_0x508267['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3e4102}),_0x1352a6=_0x508267['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3ca716));_0x15f007['data']['isSuggestion']&&_0x508267['writer']['addClass']('ck-suggestion-marker-'+_0x3e4102+'-new',_0xfe11e7),this['activeChange']==_0x15f007&&_0x508267['writer']['addClass']('ck-suggestion-marker--active',_0xfe11e7),_0x508267['writer']['insert'](_0x1352a6,_0xfe11e7),_0x508267['mapper']['bindElementToMarker'](_0xfe11e7,_0x344422['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x29dbaa=>{for(const _0x389e5b of this['editor']['model']['document']['getRootNames']()){const _0x51a013=this['editor']['model']['document']['getRoot'](_0x389e5b),_0x28270c=this['editor']['editing']['view']['document']['getRoot'](_0x389e5b);if(_0x28270c){const _0x3f45ca=_0x51a013['getAttribute']('revisionHistoryAttachChange');if(_0x29dbaa['removeAttribute']('data-change-id',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root-add',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root-remove',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root--active',_0x28270c),_0x3f45ca){const _0x1575db=this['_getChangeFromId'](_0x3f45ca);if(!_0x1575db)return null;_0x29dbaa['setAttribute']('data-change-id',_0x3f45ca,_0x28270c),_0x29dbaa['addClass']('ck-revision-history-root-'+_0x1575db['type'],_0x28270c),this['activeChange']==_0x1575db&&_0x29dbaa['addClass']('ck-revision-history-root--active',_0x28270c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4b389f=>'revision-comment:'+_0x4b389f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x48cf0b=>'revision-suggestion:'+_0x48cf0b,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1be2df=>({'name':'suggestion:'+_0x1be2df,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x565d73=>{const _0x272bf2=_0x565d73['markerName']['split'](':')[0x1];return'insertion'!=_0x272bf2&&'deletion'!=_0x272bf2?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x272bf2]};}}),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',(_0x28291f,_0x3ad1c2,_0x2fccaa)=>{const _0x3e6b87=_0x2fccaa['mapper']['markerNameToElements'](_0x3ad1c2['markerName']);if(_0x3e6b87){for(const _0x157ece of _0x3e6b87)_0x157ece['is']('uiElement')&&(_0x2fccaa['mapper']['unbindElementFromMarkerName'](_0x157ece,_0x3ad1c2['markerName']),_0x2fccaa['writer']['remove'](_0x157ece));}},{'priority':'high'});}['_getChangeFromId'](_0x20858f){return this['_changeIdToChange']['get'](_0x20858f);}['_getViewForChange'](_0x23f25b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x23f25b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4fc421,_0x5deab7,_0x26cc3d,_0x360a2b)=>{_0x360a2b&&this['_balloon']['remove'](_0x360a2b),_0x26cc3d&&(this['_balloon']['add']({'view':_0x26cc3d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x27cf64=this['editor']['editing'],_0x572ac9=this['_getChangeFromId'](_0x26cc3d['changeId']);let _0x236d90;if(_0x572ac9['data']['isOnRoot']){const _0x1d317c=_0x27cf64['view']['getDomRoot'](_0x572ac9['rootName']);_0x236d90=Array['from'](_0x1d317c['getClientRects']());}else{const _0x108726=this['editor']['model']['markers']['get']('revision:'+_0x26cc3d['changeId']);_0x236d90=Array['from'](_0x27cf64['mapper']['markerNameToElements'](_0x108726['name']))['map'](_0x408a7e=>_0x27cf64['view']['domConverter']['mapViewToDom'](_0x408a7e))['map'](_0x44af22=>Array['from'](_0x44af22['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x236d90[0x0];return _0x236d90['find'](_0x1150e5=>_0x1150e5['top']-0x3<=this['_activeViewTarget']['y']&&_0x1150e5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1150e5['left']-0x3<=this['_activeViewTarget']['x']&&_0x1150e5['right']+0x3>=this['_activeViewTarget']['x'])||_0x236d90[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3c7b7e,_0x5cce53,_0x4d16fe,_0x5871b0)=>{this['activeView']=_0x4d16fe?this['_getViewForChange'](_0x4d16fe):null,this['editor']['model']['change'](()=>{const _0x53d837=this['editor']['editing'];_0x5871b0&&(_0x5871b0['data']['isOnRoot']?_0x53d837['view']['change'](_0x2bed2d=>{_0x2bed2d['removeClass']('ck-revision-history-root--active',_0x53d837['view']['document']['getRoot'](_0x5871b0['rootName']));}):_0x53d837['reconvertMarker']('revision:'+_0x5871b0['id'])),_0x4d16fe&&(_0x4d16fe['data']['isOnRoot']?_0x53d837['view']['change'](_0x2cf887=>{_0x2cf887['addClass']('ck-revision-history-root--active',_0x53d837['view']['document']['getRoot'](_0x4d16fe['rootName']));}):_0x53d837['reconvertMarker']('revision:'+_0x4d16fe['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x364f4e,_0xc6e4a2)=>{if(this['activeChange'])return;const _0x232dd1=this['_findChangeIdFromDomTarget'](_0xc6e4a2['target']),_0x1478eb=this['_changeIdToChange']['get'](_0x232dd1);_0x1478eb?(this['_activeViewTarget']={'x':_0xc6e4a2['domEvent']['x'],'y':_0xc6e4a2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1478eb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3d3307,_0x1af6bb)=>{const _0x476668=this['_findChangeIdFromDomTarget'](_0x1af6bb['target']),_0x34af22=this['_changeIdToChange']['get'](_0x476668);_0x34af22?(this['_activeViewTarget']={'x':_0x1af6bb['domEvent']['x'],'y':_0x1af6bb['domEvent']['y']},_0x34af22===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x34af22):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x442d8a){do{const _0x256e5c=_0x442d8a['getAttribute']('data-change-id');if(_0x256e5c)return _0x256e5c;_0x442d8a=_0x442d8a['parent'];}while(_0x442d8a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4b76ce=>{for(const _0x316bfb of this['editor']['model']['markers'])_0x4b76ce['removeMarker'](_0x316bfb);});}}function et(_0xda46e2,_0x1cf1e7){return(_0x517573,_0x572c42,_0x377c2b)=>{if(!_0x377c2b['consumable']['test'](_0x572c42['markerRange'],_0x517573['name']))return;const _0x4d963d=_0x572c42['markerRange']['getWalker'](),_0x2f79aa=_0x572c42['markerRange']['start'],_0x25139e=_0xda46e2['model']['schema'];let _0x1e9eb6=null,_0x308164=null,_0x2b2f70=!0x1,_0x57640b=!0x1;for(const _0x2d0a1c of _0x4d963d){const _0x33ecc4=_0x2d0a1c['item'];_0x2b2f70=_0x2b2f70||_0x25139e['isContent'](_0x33ecc4);const _0x40d819=_0x377c2b['mapper']['toViewElement'](_0x33ecc4);if(_0x40d819&&_0x40d819['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2d0a1c['type']&&(_0x25139e['isBlock'](_0x33ecc4)&&!_0x25139e['isLimit'](_0x33ecc4)&&(_0x33ecc4['nextSibling']||_0x2f79aa['isAtEnd']?_0x1e9eb6&&_0x1e9eb6['parent']==_0x33ecc4||(_0x1e9eb6=_0x33ecc4,_0x21fe72(_0x2d0a1c['previousPosition']),_0x57640b=!0x0):_0x308164=_0x308164||_0x2d0a1c['previousPosition']));}function _0x21fe72(_0x1b0167){const _0x229ca7=_0x377c2b['mapper']['toViewPosition'](_0x1b0167),_0x3acba1=_0x377c2b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1cf1e7});_0x377c2b['writer']['insert'](_0x229ca7,_0x3acba1),_0x377c2b['mapper']['bindElementToMarker'](_0x3acba1,_0x572c42['markerName']);}_0x2b2f70||_0x57640b||!_0x308164||_0x21fe72(_0x308164);};}class bt extends _0x3e2fc2{constructor(_0x1e7217){super(_0x1e7217);const _0x56728c=_0x1e7217['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x56728c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x56728c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xf58b1c=this['editor'],_0x68ca8d=_0xf58b1c['plugins']['get'](d),_0xc3625b=_0x68ca8d['isReady']?_0x68ca8d['diff']['newRevisionId']:null;_0xf58b1c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc3625b);}['refresh'](){const {isReady:_0x5d8509,isEnabled:_0x59f619}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5d8509&&_0x59f619;}}class yt extends _0x3e2fc2{['_step'];constructor(_0x31910d,{direction:_0x2cb978}){super(_0x31910d);const _0x36888b=_0x31910d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2cb978?0x1:-0x1,this['listenTo'](_0x36888b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x36888b,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x36888b,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x38ce2e=this['editor'],_0x2c98cf=_0x38ce2e['plugins']['get'](d),{isNavigationMode:_0x9dfdbe,currentChangeNumber:_0x47e67d}=_0x2c98cf;let _0x1bdda1;if(_0x2c98cf['activeChange']=_0x9dfdbe?_0x2c98cf['diff']['changes']['get'](_0x47e67d+this['_step']):_0x2c98cf['diff']['changes']['first'],_0x2c98cf['activeChange']['data']['isOnRoot'])_0x1bdda1=_0x38ce2e['editing']['view']['getDomRoot'](_0x2c98cf['activeChange']['rootName']);else{const _0x3266e7=_0x38ce2e['model']['markers']['get']('revision:'+_0x2c98cf['activeChange']['id']);_0x1bdda1=_0x557e1b(_0x38ce2e['editing'],_0x3266e7);}_0x24e8c4({'target':_0x1bdda1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c02f5,currentChangeNumber:_0x2cf788,numberOfChanges:_0x1ba027,isReady:_0x3c19c7,isEnabled:_0x127fec}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x127fec&&_0x3c19c7&&_0x1ba027)&&(!_0x3c02f5||(0x1===this['_step']?_0x2cf788<_0x1ba027-0x1:_0x2cf788>0x0));}}class _i extends _0x4e738a{constructor(_0x84eec8){super(_0x84eec8);const _0x460ba6=this['bindTemplate'],_0x513c93=new _0x4cc0a0(_0x84eec8),_0x5e0e53=new _0x4cc0a0(_0x84eec8);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',(_0x588927,_0x1923df)=>_0x588927&&_0x1923df>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1a8257,_0x38e5f2,_0x470406,_0x2302dc)=>{if(!_0x1a8257)return y(_0x84eec8,'Loading...');if(!_0x470406)return y(_0x84eec8,'No\x20changes');const _0xa5e957=y(_0x84eec8,'NUMBER_OF_CHANGES',_0x470406);return _0x2302dc?y(_0x84eec8,'X_OF_Y_CHANGES',[_0x38e5f2+0x1,_0x470406]):_0xa5e957;}),_0x513c93['set']({'label':y(_0x84eec8,'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'}),_0x5e0e53['set']({'label':y(_0x84eec8,'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'}),_0x513c93['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5e0e53['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x513c93['on']('execute',()=>this['fire']('execute','backward')),_0x5e0e53['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',_0x460ba6['if']('_isStatusLabelVisible','ck-hidden',_0x3158a0=>!_0x3158a0)]},'children':[{'text':_0x460ba6['to']('isNavigationMode',_0x3bf7ec=>_0x3bf7ec?y(_0x84eec8,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x84eec8,'Total')+':\x20')}]},{'text':_0x460ba6['to']('_statusText')}]},new _0x538991(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x513c93,_0x5e0e53]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x570864{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x35acd2=this['editor']['editing']['view'];_0x35acd2['change'](_0x51418d=>{for(const _0x590276 of _0x35acd2['document']['roots'])_0x51418d['addClass'](ce,_0x590276);});}['hide'](){const _0x5f1e56=this['editor']['editing']['view'];_0x5f1e56['change'](_0x2d9984=>{for(const _0x50358d of _0x5f1e56['document']['roots'])_0x2d9984['removeClass'](ce,_0x50358d);});}}class R extends _0x570864{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x529f14=this['editor'],_0x40b5a6=_0x529f14['plugins']['get'](d),_0x47ecbd=_0x529f14['plugins']['get'](de);_0x529f14['ui']['componentFactory']['add']('exitToEditing',_0x32ce71=>{const _0x12320d=new _0x4cc0a0(_0x32ce71);return _0x12320d['set']({'label':y(_0x32ce71,'Back\x20to\x20editing'),'icon':_0xa39abc['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x12320d,'execute',()=>{_0x529f14['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x12320d;}),_0x529f14['ui']['componentFactory']['add']('restoreRevision',_0x33f8e5=>{const _0x442501=new _0x4cc0a0(_0x33f8e5);return _0x442501['set']({'label':y(_0x33f8e5,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x442501['bind']('isEnabled')['to'](_0x529f14['commands']['get']('restoreRevision')),this['listenTo'](_0x442501,'execute',()=>_0x529f14['execute']('restoreRevision')),_0x442501;}),_0x529f14['ui']['componentFactory']['add']('changesNavigation',_0x17a222=>{const _0xe3d858=new _i(_0x17a222),_0xef298b=_0x529f14['commands']['get']('showPreviousChange'),_0x4e4ab7=_0x529f14['commands']['get']('showNextChange');return _0xe3d858['bind']('isBackwardNavigationEnabled')['to'](_0xef298b,'isEnabled'),_0xe3d858['bind']('isForwardNavigationEnabled')['to'](_0x4e4ab7,'isEnabled'),_0xe3d858['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x40b5a6),this['listenTo'](_0xe3d858,'execute',(_0x2566f9,_0x328512)=>{_0x529f14['execute']('forward'===_0x328512?'showNextChange':'showPreviousChange');}),_0xe3d858;}),_0x47ecbd['show'](),_0x40b5a6['on']('change:isReady',(_0x284918,_0x5732ea,_0x48a8ba)=>{_0x48a8ba?_0x47ecbd['hide']():_0x47ecbd['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1e5044,_0x8ab995){super(_0x1e5044,_0x8ab995);const _0xbd4ead=this['bindTemplate'];this['set']({'label':y(_0x1e5044,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1e5044,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xbd4ead['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 _0x13495d=this['fieldView']['element'];this['_tooltipString']=_0x13495d['scrollWidth']>_0x13495d['clientWidth']&&_0x13495d['value']||'';}}class ti extends _0x4e738a{constructor(_0x49640e,_0x2e775f,_0x22dc70){super(_0x49640e);const _0x2c17a9=new _0x2b9afc();_0x2c17a9['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 _0x5b82d1=['ck','ck-revision-history-sidebar__revision-author'];_0x22dc70&&_0x5b82d1['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4bf171=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x49640e,_0x22dc70?'Revision\x20creator':'Revision\x20author')},'children':[_0x2c17a9,_0x2e775f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5b82d1},'children':_0x4bf171});}}function ni(_0x17ca8b,_0x664703){const _0x35b109=_0x17ca8b['bindTemplate'],_0x4f7119=_0x17ca8b['locale'],_0x2e74db=_0x187e19(_0x4f7119);_0x2e74db['panelPosition']='sw';const _0x2dce7b=function(_0x3388a9,_0x4c9c51){const _0x5e6bbd=function(_0x5a4c98,_0x5b5bb5){const _0x3820cf=_0x5a4c98['locale'],_0x4ec4c2={'Compare\x20against\x20selected':y(_0x3820cf,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3820cf,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3820cf,'Restore\x20this\x20revision')};return _0x5b5bb5['map'](_0x31fc57=>{const _0x30b46f=_0x4ec4c2[_0x31fc57['name']];return _0x30b46f&&_0x30b46f!==_0x31fc57['name']&&(_0x31fc57['name']=_0x30b46f),_0x31fc57;});}(_0x3388a9,_0x4c9c51),_0x18829b=new _0x12c280();for(const _0x58a22a of _0x5e6bbd){const _0x15cba5={'type':'button','model':new to({'label':_0x58a22a['name'],'class':_0x58a22a['class'],'withText':!0x0,'role':'menuitem','_action':_0x58a22a['action']})};_0x15cba5['model']['bind']('isEnabled')['to'](_0x3388a9,'isActionsDropdownOpen',_0x501be9=>'function'!=typeof _0x58a22a['isEnabled']||(!_0x501be9||_0x58a22a['isEnabled'](_0x3388a9))),_0x18829b['add'](_0x15cba5);}return _0x18829b;}(_0x17ca8b,_0x664703);return _0x17ca8b['bind']('isActionsDropdownOpen')['to'](_0x2e74db,'isOpen'),_0x2e74db['buttonView']['set']({'label':y(_0x4f7119,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xa39abc['threeVerticalDots']}),_0x2e74db['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x35b109['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x35b109['to'](_0x555fe3=>_0x555fe3['stopPropagation']())}}),_0x2e74db['on']('execute',_0x96f296=>{_0x17ca8b['isReady']&&'function'==typeof _0x96f296['source']['_action']&&_0x96f296['source']['_action'](_0x17ca8b);}),_0x3b884b(_0x2e74db,_0x2dce7b,{'role':'menu'}),_0x2e74db['listenTo'](_0x17ca8b,'change:isActionsDropdownOpen',(_0x5ef5d2,_0x361415,_0x19eb63)=>{if(_0x19eb63)for(const _0x1d0b44 of _0x2e74db['listView']['items']){const _0x6d71c1=_0x1d0b44['children']['first'],_0x42d181=_0x664703['find'](_0x3a446a=>_0x3a446a['action']===_0x6d71c1['_action'])['isVisible'];_0x1d0b44['isVisible']=void 0x0===_0x42d181||_0x42d181(_0x17ca8b);}}),_0x2e74db;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x574ea2(_0x4e738a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x55fcd3,_0x106827,_0x2bb5e9,_0x4302b6){super(_0x55fcd3);const _0x34a5a2=this['bindTemplate'],_0x20106e=function(_0x9f294d,_0x52c279){const _0x38caf7=Array['from'](_0x52c279['authors'])['filter'](_0x1436a4=>_0x1436a4!=_0x52c279['creator']);return _0x52c279['creator']&&_0x38caf7['unshift'](_0x52c279['creator']),_0x38caf7['map'](_0x3c29cb=>new ti(_0x9f294d,_0x3c29cb,_0x3c29cb==_0x52c279['creator']));}(_0x55fcd3,_0x106827);this['id']=_0x106827['id'],this['_revision']=_0x106827,this['_requireRevisionName']=_0x4302b6,this['bind']('name','createdAt')['to'](_0x106827),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3f63e9=>{return _0x4d564d=_0x55fcd3['uiLanguage'],(_0xd9f22e=_0x3f63e9)['toLocaleDateString'](_0x4d564d,{'month':'long','day':'numeric'})+',\x20'+_0xd9f22e['toLocaleTimeString'](_0x4d564d,{'hour':'numeric','minute':'numeric'});var _0x4d564d,_0xd9f22e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x55fcd3,_0x32656c),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1b51e0=>_0x1b51e0||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4ff3a1,_0x6f171c)=>_0x4ff3a1&&_0x6f171c),this['revisionActionsView']=_0x2bb5e9&&_0x2bb5e9['length']?ni(this,_0x2bb5e9):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x34a5a2['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x34a5a2['if']('isEnabled','ck-disabled',_0x50a7ec=>!_0x50a7ec),_0x34a5a2['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x34a5a2['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x34a5a2['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':_0x34a5a2['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':_0x20106e}]},this['revisionActionsView']],'on':{'click':_0x34a5a2['to'](_0x1f18f2=>{_0x1f18f2['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x26c1ed=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x26c1ed,'change',()=>{this['_requireRevisionName']&&!_0x26c1ed['value']||this['fire']('setName',{'id':this['id'],'name':_0x26c1ed['value']}),_0x26c1ed['value']||(_0x26c1ed['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(_0x2b54dc,_0x568a0e){const _0x2ee9b8=_0x5df281['fromJSDate'](_0x2b54dc)['setLocale'](_0x568a0e),_0x38bc29=_0x5df281['local'](),_0x11dae0=_0x38bc29['minus']({'days':0x1})['startOf']('day');let _0x116f87,_0x2a5e27;return _0x2ee9b8['hasSame'](_0x38bc29,'day')?(_0x116f87=_0x2ee9b8['startOf']('day')['toJSDate'](),_0x2a5e27=_0x2ee9b8['toRelativeCalendar']()):_0x2ee9b8['hasSame'](_0x11dae0,'day')?(_0x116f87=_0x11dae0['toJSDate'](),_0x2a5e27=_0x2ee9b8['toRelativeCalendar']()):_0x2ee9b8['hasSame'](_0x38bc29,'week')?(_0x116f87=_0x2ee9b8['startOf']('week')['toJSDate'](),_0x2a5e27=_0x2ee9b8['weekdayLong']||''):_0x2ee9b8['hasSame'](_0x38bc29,'year')?(_0x116f87=_0x2ee9b8['startOf']('month')['toJSDate'](),_0x2a5e27=_0x2ee9b8['monthLong']||''):(_0x116f87=_0x2ee9b8['startOf']('year')['toJSDate'](),_0x2a5e27=String(_0x2ee9b8['year'])),{'startDate':_0x116f87,'localizedPeriodName':_0x2a5e27};}class mi extends _0x4e738a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x97852,_0x4c0a25,_0xb6c537,_0x2d91cf){super(_0x97852);const _0x17d905=di(_0x4c0a25,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4c0a25,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xb6c537,this['_requireRevisionName']=_0x2d91cf,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':_0x17d905}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x12eb20){const _0x410771=new ai(this['locale'],_0x12eb20,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x410771);}['removeRevision'](_0x49c124){const _0x508eff=this['revisionViews']['find'](_0x64f324=>_0x64f324['id']===_0x49c124['id']);this['revisionViews']['remove'](_0x508eff);}}class as extends _0x4e738a{constructor(_0x27a763){super(_0x27a763);const _0x599ee7=new _0x2b9afc();_0x599ee7['content']=_0xa39abc['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x599ee7,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x27a763,'Revision\x20history')]}]});}}class ci extends _0x4e738a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x151172,_0x576b77,_0x50ec49,_0x24cba3){super(_0x151172);const _0x49a6fd=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x576b77,this['_revisionActions']=_0x50ec49,this['_requireRevisionName']=_0x24cba3,this['on']('select',(_0x279ea5,_0x22d47a)=>{this['fire']('revisionSelected',_0x22d47a);}),this['on']('setName',(_0x427cd7,_0x2c6374)=>{this['fire']('revisionSetName',_0x2c6374);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x151172),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x49a6fd['if']('isEnabled','ck-disabled',_0xa3da78=>!_0xa3da78)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4884ed of this['_revisions'])this['_addRevision'](_0x4884ed);this['_revisions']['on']('add',(_0x341ba4,_0x53ff3e)=>{this['_addRevision'](_0x53ff3e);}),this['_revisions']['on']('remove',(_0xbf6ffc,_0x2b7cd2)=>{this['_removeRevision'](_0x2b7cd2);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4996a3=>_0x4996a3['revisionViews']['map'](_0x252663=>_0x252663))['flat']();}['selectRevision'](_0x186727){for(const _0x54f484 of this['revisionViews'])_0x186727&&_0x186727['id']===_0x54f484['id']?_0x54f484['select']():_0x54f484['deselect']();}['highlightRevisions'](_0x18afd6){for(const _0x296ce0 of this['revisionViews'])_0x18afd6['some'](({id:_0x19b47b})=>_0x19b47b===_0x296ce0['id'])?_0x296ce0['highlight']():_0x296ce0['unhighlight']();}['_addRevision'](_0x151eb6){const _0x19419d=di(_0x151eb6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x183f5c=this['timePeriodViews']['get'](0x0);_0x183f5c&&_0x183f5c['startDate']['getTime']()===_0x19419d['getTime']()||(_0x183f5c=new mi(this['locale'],_0x19419d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x183f5c)),_0x183f5c['addRevision'](_0x151eb6);}['_removeRevision'](_0x27ee1e){const _0x289193=di(_0x27ee1e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x289193)['removeRevision'](_0x27ee1e);}['_getTimePeriodViewByStartDate'](_0x4867c4){return this['timePeriodViews']['find'](_0x1645ba=>_0x1645ba['startDate']['getTime']()===_0x4867c4['getTime']());}}class w extends _0x570864{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x38cfa1){super(_0x38cfa1),this['_revisionViewer']=_0x38cfa1['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x394e33=this['_revisionsRepository']['_revisions'],_0xad728=this['_createRevisionActions'](),_0x1af706=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x394e33,_0xad728,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',(_0x1ec833,_0x19b676)=>{_0x19b676['revisionViews']['on']('add',(_0x36fe9d,_0x2caaa9)=>{_0x2caaa9['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)),_0x1af706['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3ae313=this['_revisionsRepository']['getRevision'](0x0);if(_0x3ae313){const _0x214313=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3ae313['id']);this['_revisionViewer']['compare'](_0x3ae313,_0x214313);}}['_handleRevisionSelected'](_0x35f075,_0x25d3e7){const _0x443a72=this['_revisionsRepository']['getRevision'](_0x25d3e7['id']),_0x195d59=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x443a72['id']);this['_revisionViewer']['compare'](_0x443a72,_0x195d59);}['_handleRevisionSetName'](_0x332491,_0xbb9224){this['_revisionsRepository']['getRevision'](_0xbb9224['id'])['setName'](_0xbb9224['name']);}['_handleDiffChange'](_0x302637,_0x40257c,_0x38c24b){const _0x69dc9e=this['_revisionsRepository']['getRevisionsInDiff'](_0x38c24b);_0x69dc9e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x69dc9e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x69dc9e[0x0]));}['_createRevisionActions'](){const _0x553089=this['editor'],_0x10e953=w['availableRevisionActions'],_0x5d02d9=_0x553089['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5d02d9['length'])return _0x5d02d9['map'](_0x2cc20c=>{const _0x3e50ef='string'==typeof _0x2cc20c?Object['assign']({},_0x10e953[_0x2cc20c]):_0x2cc20c;return _0x3e50ef['action']=_0x3e50ef['action']['bind'](this,_0x553089),_0x3e50ef['isVisible']&&(_0x3e50ef['isVisible']=_0x3e50ef['isVisible']['bind'](this,_0x553089)),_0x3e50ef;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xa18082},_0x4c780a)=>{const _0x525128=_0xa18082['get'](d),_0x29168e=_0x525128['repository'];let _0x5ace6b=_0x525128['diff']['newRevisionId'],_0x29880e=_0x4c780a['id'];_0x29168e['getIndex'](_0x5ace6b)>_0x29168e['getIndex'](_0x29880e)&&([_0x5ace6b,_0x29880e]=[_0x29880e,_0x5ace6b]),_0x525128['compare'](_0x5ace6b,_0x29880e);},'isVisible':({plugins:_0x27a962},_0x2e4917)=>{const _0x12699d=_0x27a962['get'](d);return!(_0x12699d['repository']['getRevisionsInDiff'](_0x12699d['diff'])['length']>0x2)&&!_0x2e4917['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10c27b,{id:_0x2ff8ad})=>{_0x10c27b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ff8ad);},'isVisible':({plugins:_0xa763d7},_0xc9f673)=>!!_0xa763d7['get'](d)['repository']['getLaterVisibleRevision'](_0xc9f673['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x45b734},{id:_0xd5d6cd,revisionNameView:_0x1aeb3c})=>{const _0x5e80ed=_0x45b734['get'](d),_0x199fac=_0x5e80ed['repository']['getEarlierVisibleRevision'](_0xd5d6cd);_0x5e80ed['compare'](_0xd5d6cd,_0x199fac),_0x1aeb3c['focus'](),_0x1aeb3c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4090df,_0x1cc630){super(_0x4090df),this['_view']=_0x1cc630,this['_toolbarConfig']=ct(_0x4090df['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5368d3){const _0x4d81be=this['editor'],_0x4061a3=this['view'],_0x214f6f=_0x4d81be['editing']['view'],_0x1e444d=_0x4061a3['editable'],_0x3f4403=_0x214f6f['document']['getRoot']();_0x1e444d['name']=_0x3f4403['rootName'],_0x4061a3['render']();const _0x18b945=_0x1e444d['element'];this['setEditableElement'](_0x1e444d['name'],_0x18b945),_0x4061a3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x214f6f['attachDomRoot'](_0x18b945),this['_elementReplacer']['replace'](_0x5368d3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x19fe27=this['view'],_0x26a6d6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x26a6d6['detachDomRoot'](_0x19fe27['editable']['name']),_0x19fe27['destroy']();}['_initToolbar'](){const _0x5f49c0=this['view'];_0x5f49c0['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5f49c0['stickyPanel']['limiterElement']=_0x5f49c0['element'],_0x5f49c0['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33a593})=>_0x33a593),_0x5f49c0['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5f49c0['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x582807,_0x1075e2,_0x4203e4={}){super(_0x582807),this['stickyPanel']=new lt(_0x582807),this['toolbar']=new pt(_0x582807,{'shouldGroupWhenFull':_0x4203e4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x582807,_0x1075e2);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4e036f,_0x4a2707){super(_0x4a2707),this['sourceElement']=_0x4e036f,this['model']['document']['createRoot']();const _0xef402=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xef402);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4ae9e2,_0x112fe2){const _0x4c8fda=new this(_0x4ae9e2,_0x112fe2);return await _0x4c8fda['initPlugins'](),await _0x4c8fda['ui']['init'](_0x4ae9e2),await _0x4c8fda['data']['init'](_0x4c8fda['config']['get']('initialData')||''),_0x4c8fda['fire']('ready'),_0x4c8fda;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x25b853{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x384e56){super(_0x384e56),this['result']='end';}}class H extends _0x25b853{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3fe9ec){if(super(_0x3fe9ec),!this['editor']['config']['get']('revisionHistory'))throw new _0xb5aa03('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x90cea8=>this['_showRevisionViewer']({..._0x90cea8,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x202a50=>this['_closeRevisionViewer'](_0x202a50)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x9d15e1=>this['_restoreRevision'](_0x9d15e1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x545192){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x545192;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3b5989){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3b5989);}['getRevision'](_0x369930){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x369930);}['getRevisions'](_0x487779){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x487779||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x246f46=this['editor'],_0x1c4136=_0x1c6921(_0x246f46,p),_0x739980=_0x246f46['plugins']['get']('RevisionTracker'),_0x92fcba=_0x246f46['plugins']['get']('Users')['users'];return _0x1c4136['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1c4136['lazyRoots'],(_0x1c4136['plugins']['push'](k,d,R,class extends _0x25b853{static get['requires'](){return[d,'Users'];}['init'](){const _0x2ac416=this['editor']['plugins']['get']('Users');for(const _0x3bec40 of _0x92fcba)_0x3bec40['isAnonymous']||_0x2ac416['getUser'](_0x3bec40['id'])||_0x2ac416['addUser'](_0x3bec40);const _0x5cfdc3=_0x739980['repository']['getRevisions']();let _0x2f9d6a=null;const _0x4793d2=this['editor']['plugins']['get']('RevisionViewer');_0x4793d2['adapter']=_0x739980['adapter'],_0x4793d2['bind']('isEnabled')['to'](_0x739980),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x246f46,'isReadOnly',_0x2db2d4=>!_0x2db2d4);for(const _0x428e7b of _0x5cfdc3){const _0x18981d=null===_0x428e7b['creator'];if(_0x18981d&&_0x428e7b['toVersion']===_0x428e7b['fromVersion'])continue;const _0x197082=_0x428e7b['toJSON']();_0x4793d2['addRevisionData'](_0x197082,(_0x27adcf,_0x299098,_0x4e0fbd)=>{if(_0x18981d){if(_0x2f9d6a)_0x2f9d6a['_update'](_0x27adcf,_0x299098);else{if(!_0x299098){const _0x57abd=_0x4e0fbd['toJSON']();_0x57abd['id']=_0xf0a907(),_0x739980['saveRevision'](_0x57abd,_0x4e0fbd['toVersion'])['then'](_0x20f865=>{_0x2f9d6a=_0x20f865;});}}}else _0x428e7b['_update'](_0x27adcf,_0x299098);});}}},w),_0x1c4136);}['_enhanceShowRevisionViewerCallback'](){const _0x56d3a6=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2cb271=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x10d5cb=this['editor']['plugins']['get']('Autosave');await _0x10d5cb['save']();}else await _0x2cb271['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x478bad=this['editor']['plugins']['get']('Dialog');_0x478bad['isOpen']&&_0x478bad['hide']();}const _0x11e03d=this['_getRevisionViewerEditorConfig']();return _0x56d3a6(_0x11e03d)['then'](_0x5f42b2=>{return(this['_viewerEditor']=_0x5f42b2,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5f42b2;})['catch'](_0x8b7c27=>(console['error'](_0x8b7c27),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3402a1=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'](),_0x3402a1(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4f3f9e=this['editor']['plugins']['get']('Annotations');_0x4f3f9e['refreshVisibility'](),_0x4f3f9e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x558b23){const _0x2de952=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xd5203c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1ad824=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1ad824,_0x558b23)['then'](_0x53a01a=>(_0xd5203c['style']['display']='block',_0x2de952['style']['display']='none',_0x53a01a));}['_closeRevisionViewer'](_0x3ab01f){const _0x4e03fe=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4e03fe['style']['display']='',_0x3ab01f['destroy']();}async['_restoreRevision'](_0x58cc66){const _0x4d8010=this['editor'],_0x3fdc66=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x362761=_0x4d8010['plugins']['get']('RevisionTracker'),_0x170fb7=_0x3fdc66['repository']['getRevision'](_0x58cc66);let _0x384770,_0x49d558,_0xecd11e;try{_0x384770=await _0x3fdc66['getRevisionData'](_0x170fb7),_0x49d558=await _0x3fdc66['getRevisionRootsAttributes'](_0x170fb7);}catch(_0x3dd1e2){return void console['error'](_0x3dd1e2);}_0x4d8010['model']['change'](_0x37e3f4=>{for(const _0x8d9945 of Array['from'](_0x4d8010['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x37e3f4['removeMarker'](_0x8d9945);}),_0x3fdc66['isReady']=!0x1,_0x4d8010['model']['enqueueChange'](_0x157cd6=>{_0x157cd6['setSelection'](null),_0x157cd6['removeSelectionAttribute'](_0x4d8010['model']['document']['selection']['getAttributeKeys']());const _0x7cc217=Object['keys'](_0x384770);for(const _0x7babf1 of _0x4d8010['model']['document']['roots'])'$graveyard'!=_0x7babf1['rootName']&&_0x7babf1['isAttached']()&&!_0x7cc217['includes'](_0x7babf1['rootName'])&&_0x157cd6['detachRoot'](_0x7babf1);for(const _0x416099 of _0x7cc217){let _0x3243ec=_0x4d8010['model']['document']['getRoot'](_0x416099);_0x3243ec&&_0x3243ec['isAttached']()||(_0x3243ec=_0x157cd6['addRoot'](_0x416099));const _0x3841df=_0x49d558[_0x416099],_0x107b52=Object['keys'](_0x3841df),_0x20ce0c=_0x384770[_0x416099];for(const _0x4cd867 of _0x3243ec['getAttributeKeys']())_0x107b52['includes'](_0x4cd867)||_0x157cd6['removeAttribute'](_0x4cd867,_0x3243ec);for(const _0x3a08c8 of _0x107b52)_0x157cd6['setAttribute'](_0x3a08c8,_0x49d558[_0x416099][_0x3a08c8],_0x3243ec);_0x157cd6['remove'](_0x157cd6['createRangeIn'](_0x3243ec)),_0x157cd6['insert'](_0x4d8010['data']['parse'](_0x20ce0c,_0x3243ec),_0x3243ec,0x0);}});const _0x16ad7a=y(_0x4d8010['locale'],'Restored');if(_0x170fb7['name'])_0xecd11e=-0x1==_0x170fb7['name']['indexOf'](_0x16ad7a)?_0x16ad7a+':\x20'+_0x170fb7['name']:_0x170fb7['name'];else _0xecd11e=_0x16ad7a+':\x20'+(_0x170fb7['createdAt']['toLocaleDateString'](_0x4d8010['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x170fb7['createdAt']['toLocaleTimeString'](_0x4d8010['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x362761['saveRevision']({'name':_0xecd11e}),_0x3fdc66['isReady']=!0x0,_0x4d8010['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};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x525bf8){super(_0x525bf8),this['_revisionViewer']=_0x525bf8['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x33d1dc=this['_revisionsRepository']['_revisions'],_0x4d72f9=this['_createRevisionActions'](),_0x448b75=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x33d1dc,_0x4d72f9,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',(_0x11961e,_0x46c03a)=>{_0x46c03a['revisionViews']['on']('add',(_0x7cf630,_0x2622f5)=>{_0x2622f5['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)),_0x448b75['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x53b483=this['_revisionsRepository']['getRevision'](0x0);if(_0x53b483){const _0x2beefb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x53b483['id']);this['_revisionViewer']['compare'](_0x53b483,_0x2beefb);}}['_handleRevisionSelected'](_0xdb8531,_0x343dcb){const _0x5ac705=this['_revisionsRepository']['getRevision'](_0x343dcb['id']),_0x78aa4d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5ac705['id']);this['_revisionViewer']['compare'](_0x5ac705,_0x78aa4d);}['_handleRevisionSetName'](_0x2cfd60,_0x48e175){this['_revisionsRepository']['getRevision'](_0x48e175['id'])['setName'](_0x48e175['name']);}['_handleDiffChange'](_0x54f2f2,_0x2ce62f,_0x4be0ef){const _0x5339cb=this['_revisionsRepository']['getRevisionsInDiff'](_0x4be0ef);_0x5339cb['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5339cb),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5339cb[0x0]));}['_createRevisionActions'](){const _0x2f60b7=this['editor'],_0x1002ac=w['availableRevisionActions'],_0x21dc77=_0x2f60b7['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x21dc77['length'])return _0x21dc77['map'](_0x948845=>{const _0x131fb3='string'==typeof _0x948845?Object['assign']({},_0x1002ac[_0x948845]):_0x948845;return _0x131fb3['action']=_0x131fb3['action']['bind'](this,_0x2f60b7),_0x131fb3['isVisible']&&(_0x131fb3['isVisible']=_0x131fb3['isVisible']['bind'](this,_0x2f60b7)),_0x131fb3;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x361762},_0x3a8480)=>{const _0x387c16=_0x361762['get'](d),_0x2768c8=_0x387c16['repository'];let _0x16b1b7=_0x387c16['diff']['newRevisionId'],_0x40329d=_0x3a8480['id'];_0x2768c8['getIndex'](_0x16b1b7)>_0x2768c8['getIndex'](_0x40329d)&&([_0x16b1b7,_0x40329d]=[_0x40329d,_0x16b1b7]),_0x387c16['compare'](_0x16b1b7,_0x40329d);},'isVisible':({plugins:_0x269f2f},_0x2e0732)=>{const _0x2aa0c8=_0x269f2f['get'](d);return!(_0x2aa0c8['repository']['getRevisionsInDiff'](_0x2aa0c8['diff'])['length']>0x2)&&!_0x2e0732['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x453191,{id:_0x3a54be})=>{_0x453191['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3a54be);},'isVisible':({plugins:_0x59aae3},_0xc7a17d)=>!!_0x59aae3['get'](d)['repository']['getLaterVisibleRevision'](_0xc7a17d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2517e0},{id:_0x2543d7,revisionNameView:_0x45bac1})=>{const _0x16a1cd=_0x2517e0['get'](d),_0x4c31ad=_0x16a1cd['repository']['getEarlierVisibleRevision'](_0x2543d7);_0x16a1cd['compare'](_0x2543d7,_0x4c31ad),_0x45bac1['focus'](),_0x45bac1['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5571c0,_0x43123f){super(_0x5571c0),this['_view']=_0x43123f,this['_toolbarConfig']=ct(_0x5571c0['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x381606){const _0x5b7ecc=this['editor'],_0x1095eb=this['view'],_0x46c046=_0x5b7ecc['editing']['view'],_0x188824=_0x1095eb['editable'],_0xa5d8eb=_0x46c046['document']['getRoot']();_0x188824['name']=_0xa5d8eb['rootName'],_0x1095eb['render']();const _0x4dc340=_0x188824['element'];this['setEditableElement'](_0x188824['name'],_0x4dc340),_0x1095eb['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x46c046['attachDomRoot'](_0x4dc340),this['_elementReplacer']['replace'](_0x381606,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x36af27=this['view'],_0x3bce41=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3bce41['detachDomRoot'](_0x36af27['editable']['name']),_0x36af27['destroy']();}['_initToolbar'](){const _0x57c728=this['view'];_0x57c728['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x57c728['stickyPanel']['limiterElement']=_0x57c728['element'],_0x57c728['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3118eb})=>_0x3118eb),_0x57c728['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x57c728['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x57b27c,_0x30f44c,_0x2b7d16={}){super(_0x57b27c),this['stickyPanel']=new lt(_0x57b27c),this['toolbar']=new pt(_0x57b27c,{'shouldGroupWhenFull':_0x2b7d16['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x57b27c,_0x30f44c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x26c38a,_0x4f6760){super(_0x4f6760),this['sourceElement']=_0x26c38a,this['model']['document']['createRoot']();const _0x406517=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x406517);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x272bc9,_0x3207be){const _0x3e4130=new this(_0x272bc9,_0x3207be);return await _0x3e4130['initPlugins'](),await _0x3e4130['ui']['init'](_0x272bc9),await _0x3e4130['data']['init'](_0x3e4130['config']['get']('initialData')||''),_0x3e4130['fire']('ready'),_0x3e4130;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x570864{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x31cdca){super(_0x31cdca),this['result']='end';}}class H extends _0x570864{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x228f5f){if(super(_0x228f5f),!this['editor']['config']['get']('revisionHistory'))throw new _0x28879a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x272895=>this['_showRevisionViewer']({..._0x272895,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5e570d=>this['_closeRevisionViewer'](_0x5e570d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x31c9d0=>this['_restoreRevision'](_0x31c9d0)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x301bd5){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x301bd5;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4734bb){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4734bb);}['getRevision'](_0x212160){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x212160);}['getRevisions'](_0x162f14){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x162f14||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x26e893=this['editor'],_0x335a76=_0x2c2d14(_0x26e893,p),_0x3a92e4=_0x26e893['plugins']['get']('RevisionTracker'),_0x549dc7=_0x26e893['plugins']['get']('Users')['users'];return _0x335a76['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x335a76['lazyRoots'],(_0x335a76['plugins']['push'](k,d,R,class extends _0x570864{static get['requires'](){return[d,'Users'];}['init'](){const _0x4bd47b=this['editor']['plugins']['get']('Users');for(const _0x52dd8b of _0x549dc7)_0x52dd8b['isAnonymous']||_0x4bd47b['getUser'](_0x52dd8b['id'])||_0x4bd47b['addUser'](_0x52dd8b);const _0x5bd84c=_0x3a92e4['repository']['getRevisions']();let _0x1c8bf7=null;const _0x2dae48=this['editor']['plugins']['get']('RevisionViewer');_0x2dae48['adapter']=_0x3a92e4['adapter'],_0x2dae48['bind']('isEnabled')['to'](_0x3a92e4),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x26e893,'isReadOnly',_0x4a58eb=>!_0x4a58eb);for(const _0x4f52d6 of _0x5bd84c){const _0x48ec86=null===_0x4f52d6['creator'];if(_0x48ec86&&_0x4f52d6['toVersion']===_0x4f52d6['fromVersion'])continue;const _0x5d8a7f=_0x4f52d6['toJSON']();_0x2dae48['addRevisionData'](_0x5d8a7f,(_0x371f48,_0x5a0f6d,_0xeeadeb)=>{if(_0x48ec86){if(_0x1c8bf7)_0x1c8bf7['_update'](_0x371f48,_0x5a0f6d);else{if(!_0x5a0f6d){const _0x42e94e=_0xeeadeb['toJSON']();_0x42e94e['id']=_0x3b5255(),_0x3a92e4['saveRevision'](_0x42e94e,_0xeeadeb['toVersion'])['then'](_0x3d2f7b=>{_0x1c8bf7=_0x3d2f7b;});}}}else _0x4f52d6['_update'](_0x371f48,_0x5a0f6d);});}}},w),_0x335a76);}['_enhanceShowRevisionViewerCallback'](){const _0x312b02=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x156339=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x52f8d7=this['editor']['plugins']['get']('Autosave');await _0x52f8d7['save']();}else await _0x156339['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x2dc736=this['editor']['plugins']['get']('Dialog');_0x2dc736['isOpen']&&_0x2dc736['hide']();}const _0x3581ca=this['_getRevisionViewerEditorConfig']();return _0x312b02(_0x3581ca)['then'](_0x442e90=>{return(this['_viewerEditor']=_0x442e90,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x442e90;})['catch'](_0x2d7c66=>(console['error'](_0x2d7c66),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x397436=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'](),_0x397436(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1174ab=this['editor']['plugins']['get']('Annotations');_0x1174ab['refreshVisibility'](),_0x1174ab['refreshPositioning']();}})));}['_showRevisionViewer'](_0x28d7e2){const _0x3ac4c4=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x412668=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5bb0c6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5bb0c6,_0x28d7e2)['then'](_0x2ac816=>(_0x412668['style']['display']='block',_0x3ac4c4['style']['display']='none',_0x2ac816));}['_closeRevisionViewer'](_0x4036dd){const _0x27d9b8=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x27d9b8['style']['display']='',_0x4036dd['destroy']();}async['_restoreRevision'](_0x31f725){const _0x2fee89=this['editor'],_0x3d0d47=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3ec69e=_0x2fee89['plugins']['get']('RevisionTracker'),_0x686536=_0x3d0d47['repository']['getRevision'](_0x31f725);let _0x1a38fb,_0x3473df,_0x98f31;try{_0x1a38fb=await _0x3d0d47['getRevisionData'](_0x686536),_0x3473df=await _0x3d0d47['getRevisionRootsAttributes'](_0x686536);}catch(_0x470c3a){return void console['error'](_0x470c3a);}_0x2fee89['model']['change'](_0x1bc3ab=>{for(const _0x2fbfbf of Array['from'](_0x2fee89['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1bc3ab['removeMarker'](_0x2fbfbf);}),_0x3d0d47['isReady']=!0x1,_0x2fee89['model']['enqueueChange'](_0x56bbb7=>{_0x56bbb7['setSelection'](null),_0x56bbb7['removeSelectionAttribute'](_0x2fee89['model']['document']['selection']['getAttributeKeys']());const _0x38da7d=Object['keys'](_0x1a38fb);for(const _0x49a44f of _0x2fee89['model']['document']['roots'])'$graveyard'!=_0x49a44f['rootName']&&_0x49a44f['isAttached']()&&!_0x38da7d['includes'](_0x49a44f['rootName'])&&_0x56bbb7['detachRoot'](_0x49a44f);for(const _0x3e9287 of _0x38da7d){let _0x586980=_0x2fee89['model']['document']['getRoot'](_0x3e9287);_0x586980&&_0x586980['isAttached']()||(_0x586980=_0x56bbb7['addRoot'](_0x3e9287));const _0x2d7098=_0x3473df[_0x3e9287],_0x34cd56=Object['keys'](_0x2d7098),_0x8073da=_0x1a38fb[_0x3e9287];for(const _0x5c6b04 of _0x586980['getAttributeKeys']())_0x34cd56['includes'](_0x5c6b04)||_0x56bbb7['removeAttribute'](_0x5c6b04,_0x586980);for(const _0x331ed9 of _0x34cd56)_0x56bbb7['setAttribute'](_0x331ed9,_0x3473df[_0x3e9287][_0x331ed9],_0x586980);_0x56bbb7['remove'](_0x56bbb7['createRangeIn'](_0x586980)),_0x56bbb7['insert'](_0x2fee89['data']['parse'](_0x8073da,_0x586980),_0x586980,0x0);}});const _0x32706e=y(_0x2fee89['locale'],'Restored');if(_0x686536['name'])_0x98f31=-0x1==_0x686536['name']['indexOf'](_0x32706e)?_0x32706e+':\x20'+_0x686536['name']:_0x686536['name'];else _0x98f31=_0x32706e+':\x20'+(_0x686536['createdAt']['toLocaleDateString'](_0x2fee89['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x686536['createdAt']['toLocaleTimeString'](_0x2fee89['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3ec69e['saveRevision']({'name':_0x98f31}),_0x3d0d47['isReady']=!0x0,_0x2fee89['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};