@ckeditor/ckeditor5-revision-history 42.0.1-alpha.1 → 42.0.1-alpha.2

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 _0x272b53,Context as _0x281e68,PendingActions as _0x4ebddf,icons as _0x38bd28,Command as _0x272849,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5c2ad3,uid as _0x23f015,Collection as _0x59ce7c,logWarning as _0x14fa76,FocusTracker as _0x22ce41,KeystrokeHandler as _0x5a2129,scrollViewportToShowTarget as _0x52afc5,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xb58530}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1bde87,getMarkerDomElement as _0x17d73a,ConfirmMixin as _0x1734c3,sanitizeEditorConfig as _0x309be5}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x132e6e,ViewText as _0x4b379f,ViewElement as _0x149910,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0xe0ebb9,ViewAttributeElement as _0x44545e,ViewEmptyElement as _0x54ea1f,ViewRawElement as _0xbcc25,ViewUIElement as _0x5c707b,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1da15f,set as _0x366eef,unset as _0x110ec8,isEqual as _0x494dc0}from'lodash-es';import{View as _0x11d177,injectCssTransitionDisabler as ts,submitHandler as _0x552517,LabeledFieldView as at,createLabeledInputText as _0x30d984,createDropdown as _0x1a233a,ListView as te,ListItemView as _0x1d28eb,ButtonView as _0x3b6c97,MenuBarMenuView as _0x25d1f,MenuBarMenuListView as _0x2267f9,MenuBarMenuListItemView as _0xbf0f8,MenuBarMenuListItemButtonView as _0x143807,ContextualBalloon as _0x1b1c4f,ToolbarSeparatorView as _0x40b291,IconView as _0xdbab53,addListToDropdown as _0x5c10c9,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 _0x5bec73}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5c2ad3(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x246009){super(),this['id']=_0x246009['id']||_0x23f015(),this['creator']=_0x246009['creator']||null,this['authors']=_0x246009['authors']||[],this['diffData']=_0x246009['diffData']||null,this['toVersion']=_0x246009['toVersion']||0x0,this['fromVersion']=_0x246009['fromVersion']||0x0,this['set']('name',_0x246009['name']||''),this['set']('createdAt',_0x246009['createdAt']||new Date()),this['set']('attributes',_0x246009['attributes']||{});}['setName'](_0x3e415c){this['_update']({'name':_0x3e415c});}['setAttribute'](_0x89bb08,_0x8adb03){const _0x19ffab=_0x1da15f(this['attributes']);_0x366eef(_0x19ffab,_0x89bb08,_0x8adb03),this['_update']({'attributes':_0x19ffab});}['removeAttribute'](_0x2ce58f){const _0x2074b5=_0x1da15f(this['attributes']);_0x110ec8(_0x2074b5,_0x2ce58f),this['_update']({'attributes':_0x2074b5});}['_update'](_0x42ebc0,_0x5a26a1=!0x1){let _0x1b641=!0x1;const _0x3a2396={'id':this['id']},_0x1488ca=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4f8b2b of _0x1488ca){const _0x132c19=_0x42ebc0[_0x4f8b2b];void 0x0!==_0x132c19&&_0x132c19!==this[_0x4f8b2b]&&(this[_0x4f8b2b]=_0x132c19,_0x3a2396[_0x4f8b2b]=_0x132c19,_0x1b641=!0x0);}_0x1b641&&(_0x3a2396['authors']&&(_0x3a2396['authorsIds']=_0x3a2396['authors']['map'](_0x32d851=>_0x32d851['id']),delete _0x3a2396['authors']),this['fire']('_update',_0x3a2396,_0x5a26a1));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xb56867=>_0xb56867['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x272b53{['_revisions'];static get['requires'](){return[_0x1bde87];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2071ba){super(_0x2071ba),this['_revisions']=new _0x59ce7c();}['afterInit'](){!function(_0x1f0f35){function _0x4b9208(_0x255bfa,_0x2129b7,_0x3ecbd2){const _0x5589e1={};_0x5589e1[_0x18f295([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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],_0x5589e1[_0x18f295([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 _0x39ce9e=new Uint8Array(0x10);for(let _0x39e4cd=0xf;_0x39e4cd>=0x0;--_0x39e4cd)_0x39ce9e[_0x39e4cd]=_0x3ecbd2%0x100,_0x3ecbd2=parseInt(_0x3ecbd2/0x100);let _0x4f2384=null,_0x30b3f6=0x10;const _0x5e365f=new Uint8Array(_0x2129b7),_0x35793f=[],_0x284a82=[];_0x2f65c4();for(let _0xa4c734=0x0;_0xa4c734<_0x255bfa[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa4c734++)0x10===_0x30b3f6&&(_0x4f2384=_0x16aadf(_0x39ce9e),_0x30b3f6=0x0,_0x274b03(_0x39ce9e)),_0x255bfa[_0xa4c734]^=_0x4f2384[_0x30b3f6++];return _0x255bfa;function _0x4c248b(_0x11659b){const _0xe0faed=[];for(let _0x1a0660=0x0;_0x1a0660<_0x11659b[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a0660+=0x4)_0xe0faed[_0x18f295([0x70,0x75,0x73,0x68])](_0x11659b[_0x1a0660]<<0x18|_0x11659b[_0x1a0660+0x1]<<0x10|_0x11659b[_0x1a0660+0x2]<<0x8|_0x11659b[_0x1a0660+0x3]);return _0xe0faed;}function _0x274b03(_0x2c1770){for(let _0x28fb9b=0xf;_0x28fb9b>=0x0;_0x28fb9b--){if(0xff!==_0x2c1770[_0x28fb9b]){_0x2c1770[_0x28fb9b]++;break;}_0x2c1770[_0x28fb9b]=0x0;}}function _0x16aadf(_0xb61641){const _0x916171=_0x35793f[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x284a35=[0x0,0x0,0x0,0x0];let t=_0x4c248b(_0xb61641);for(let _0x259b35=0x0;_0x259b35<0x4;_0x259b35++)t[_0x259b35]^=_0x35793f[0x0][_0x259b35];for(let _0x1d4ef4=0x1;_0x1d4ef4<_0x916171;_0x1d4ef4++){for(let _0x2e290f=0x0;_0x2e290f<0x4;_0x2e290f++)_0x284a35[_0x2e290f]=_0x5589e1[_0x18f295([0x54,0x31])][t[_0x2e290f]>>0x18&0xff]^_0x5589e1[_0x18f295([0x54,0x32])][t[(_0x2e290f+0x1)%0x4]>>0x10&0xff]^_0x5589e1[_0x18f295([0x54,0x33])][t[(_0x2e290f+0x2)%0x4]>>0x8&0xff]^_0x5589e1[_0x18f295([0x54,0x34])][0xff&t[(_0x2e290f+0x3)%0x4]]^_0x35793f[_0x1d4ef4][_0x2e290f];t=_0x284a35[_0x18f295([0x73,0x6c,0x69,0x63,0x65])]();}const _0x337fb6=new Uint8Array(0x10);let _0x4ff44f;for(let _0x24acf7=0x0;_0x24acf7<0x4;_0x24acf7++)_0x4ff44f=_0x35793f[_0x916171][_0x24acf7],_0x337fb6[0x4*_0x24acf7]=0xff&(_0x5589e1[_0x18f295([0x53])][t[_0x24acf7]>>0x18&0xff]^_0x4ff44f>>0x18),_0x337fb6[0x4*_0x24acf7+0x1]=0xff&(_0x5589e1[_0x18f295([0x53])][t[(_0x24acf7+0x1)%0x4]>>0x10&0xff]^_0x4ff44f>>0x10),_0x337fb6[0x4*_0x24acf7+0x2]=0xff&(_0x5589e1[_0x18f295([0x53])][t[(_0x24acf7+0x2)%0x4]>>0x8&0xff]^_0x4ff44f>>0x8),_0x337fb6[0x4*_0x24acf7+0x3]=0xff&(_0x5589e1[_0x18f295([0x53])][0xff&t[(_0x24acf7+0x3)%0x4]]^_0x4ff44f);return _0x337fb6;}function _0x2f65c4(){const _0xe66ad6=_0x5589e1[_0x18f295([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e365f[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x45a9b8=0x0;_0x45a9b8<=_0xe66ad6;_0x45a9b8++)_0x35793f[_0x18f295([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x284a82[_0x18f295([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4d146c=0x4*(_0xe66ad6+0x1),_0x4c6c26=_0x5e365f[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5c9c83=_0x4c248b(_0x5e365f);let _0x2a7524;for(let _0x1b41ec=0x0;_0x1b41ec<_0x4c6c26;_0x1b41ec++)_0x2a7524=_0x1b41ec>>0x2,_0x35793f[_0x2a7524][_0x1b41ec%0x4]=_0x5c9c83[_0x1b41ec],_0x284a82[_0xe66ad6-_0x2a7524][_0x1b41ec%0x4]=_0x5c9c83[_0x1b41ec];let _0x47ed9b,_0x5daaaa=0x0,t=_0x4c6c26;for(;t<_0x4d146c;){_0x47ed9b=_0x5c9c83[_0x4c6c26-0x1],_0x5c9c83[0x0]^=_0x5589e1[_0x18f295([0x53])][_0x47ed9b>>0x10&0xff]<<0x18^_0x5589e1[_0x18f295([0x53])][_0x47ed9b>>0x8&0xff]<<0x10^_0x5589e1[_0x18f295([0x53])][0xff&_0x47ed9b]<<0x8^_0x5589e1[_0x18f295([0x53])][_0x47ed9b>>0x18&0xff]^_0x5589e1[_0x18f295([0x72,0x63,0x6f,0x6e])][_0x5daaaa]<<0x18,_0x5daaaa+=0x1;for(let _0x3bfeb8=0x1;_0x3bfeb8<_0x4c6c26/0x2;_0x3bfeb8++)_0x5c9c83[_0x3bfeb8]^=_0x5c9c83[_0x3bfeb8-0x1];_0x47ed9b=_0x5c9c83[_0x4c6c26/0x2-0x1],_0x5c9c83[_0x4c6c26/0x2]^=_0x5589e1[_0x18f295([0x53])][0xff&_0x47ed9b]^_0x5589e1[_0x18f295([0x53])][_0x47ed9b>>0x8&0xff]<<0x8^_0x5589e1[_0x18f295([0x53])][_0x47ed9b>>0x10&0xff]<<0x10^_0x5589e1[_0x18f295([0x53])][_0x47ed9b>>0x18&0xff]<<0x18;for(let _0x4a7346=_0x4c6c26/0x2+0x1;_0x4a7346<_0x4c6c26;_0x4a7346++)_0x5c9c83[_0x4a7346]^=_0x5c9c83[_0x4a7346-0x1];let _0x315a42,_0xe41539,_0xee7980=0x0;for(;_0xee7980<_0x4c6c26&&t<_0x4d146c;)_0x315a42=t>>0x2,_0xe41539=t%0x4,_0x35793f[_0x315a42][_0xe41539]=_0x5c9c83[_0xee7980],_0x284a82[_0xe66ad6-_0x315a42][_0xe41539]=_0x5c9c83[_0xee7980++],t++;}for(let _0x4391ce=0x1;_0x4391ce<_0xe66ad6;_0x4391ce++)for(let _0x3f927f=0x0;_0x3f927f<0x4;_0x3f927f++)_0x47ed9b=_0x284a82[_0x4391ce][_0x3f927f],_0x284a82[_0x4391ce][_0x3f927f]=_0x5589e1[_0x18f295([0x55,0x31])][_0x47ed9b>>0x18&0xff]^_0x5589e1[_0x18f295([0x55,0x32])][_0x47ed9b>>0x10&0xff]^_0x5589e1[_0x18f295([0x55,0x33])][_0x47ed9b>>0x8&0xff]^_0x5589e1[_0x18f295([0x55,0x34])][0xff&_0x47ed9b];}}function _0x18f295(_0x2c3663){return _0x2c3663['map'](_0x4eb867=>String['fromCharCode'](_0x4eb867))['join']('');}(_0x469980=>{function _0x18a1f6(){const _0xe665fb=[{[_0x18f295([0x69,0x64])]:0x1,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x18f295([0x69,0x64])]:0x2,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([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]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x18f295([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x18f295([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x18f295([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x18f295([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x18f295([0x69,0x64])]:0x3,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x18f295([0x69,0x64])]:0x4,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([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]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x18f295([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x18f295([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x18f295([0x69,0x64])]:0x5,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([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]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}},{[_0x18f295([0x69,0x64])]:0x6,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}},{[_0x18f295([0x69,0x64])]:0x7,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}},{[_0x18f295([0x69,0x64])]:0x8,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([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]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}},{[_0x18f295([0x69,0x64])]:0x9,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x18f295([0x69,0x64])]:0xa,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([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]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([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]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([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]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}},{[_0x18f295([0x69,0x64])]:0xb,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x18f295([0x69,0x64])]:0xc,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x18f295([0x69,0x64])]:0xd,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}},{[_0x18f295([0x69,0x64])]:0xe,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x18f295([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([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])},{[_0x18f295([0x69,0x64])]:0xf,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x18f295([0x69,0x64])]:0x10,[_0x18f295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f295([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f295([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f295([0x66,0x67,0x69])]:[0xc]}}];return _0x530304(_0xe665fb),_0xe665fb;function _0xde0397(_0x194e2f){return 0x1<<_0x194e2f-0x1;}function _0x530304(_0x1762bf){_0x1762bf[_0x18f295([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39d2c1=>{_0x39d2c1[_0x18f295([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xde0397(_0x39d2c1[_0x18f295([0x69,0x64])]),_0x3a78a2(_0x39d2c1)&&_0x39d2c1[_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x530304(_0x39d2c1[_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3a78a2(_0x4c0e4c){return _0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4c0e4c;}const _0x1f03a4=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x403c6a=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x43e32e(_0x279ee1){const _0x2d0339=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5b5a1c(_0x279ee1,new Uint8Array([..._0x1f03a4,..._0x2d0339,..._0x403c6a]));}function _0x5b5a1c(_0xfc9925,_0x1e999e){const _0x490806=_0x5a3587(_0xfc9925),_0x3a029f=Array[_0x18f295([0x66,0x72,0x6f,0x6d])](_0x51ac49(_0x490806)),_0x43a41b=_0x3a029f[_0x18f295([0x70,0x6f,0x70])](),_0x1d476d=_0x3a029f[_0x18f295([0x70,0x6f,0x70])]();return _0x43cd89(_0x4b9208(_0x3a029f,_0x1e999e,_0x1d476d+0x100*_0x43a41b));}function _0x5a3587(_0x1941a2){const _0x2c90c1=atob(_0x1941a2),[_0x312352,_0x209c60]=_0x2c90c1[_0x18f295([0x73,0x70,0x6c,0x69,0x74])](_0x18f295([0x2d]));try{if(atob(_0x209c60))return atob(_0x312352);}catch(_0x2b9856){}return _0x2c90c1;}function _0x5cd5bc(_0x507e93){try{const _0x5ed6a3=_0x43e32e(_0x507e93),_0x5b085f=JSON[_0x18f295([0x70,0x61,0x72,0x73,0x65])](_0x5ed6a3),_0x5e9a73=parseInt(_0x5b085f[_0x18f295([0x31])]),_0x452ee6=_0x5b085f[_0x18f295([0x32])]||'',_0x138ffc=parseInt(_0x5b085f[_0x18f295([0x33])]),_0x2efe7e=parseInt(_0x5b085f[_0x18f295([0x34])])||0x0,_0x5709f9=parseInt(_0x5b085f[_0x18f295([0x35])])||0x0;return{[_0x18f295([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x452ee6,[_0x18f295([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2efe7e,[_0x18f295([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x5e9a73,[_0x18f295([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x138ffc,[_0x18f295([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5709f9};}catch(_0x2004c4){return null;}}const _0x51a297=_0x18a1f6(),_0x60e730={[_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xfbdd0a,[_0x18f295([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])]:_0x1ae7c3,[_0x18f295([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])]:_0x581e67},_0x137ad7=_0x469980[_0x18f295([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x354bfd=_0x18f295([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x469980?_0x469980['context']:_0x469980['editor'],_0x255566=_0x18f295([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x30]),_0x2d2bca=_0x18f295([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]),_0x26ee4a=_0x354bfd['config']['get'](_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1d804b=_0x51a297[_0x18f295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a78a2)[_0x18f295([0x66,0x69,0x6e,0x64])](_0x63de5a=>_0x63de5a[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x137ad7);function _0x55849f(_0x4fd450,_0x479576){_0x60e730[_0x479576[_0x18f295([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4fd450,_0x479576),_0x479576[_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x479576[_0x18f295([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x18f295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34574a=>_0x155f14(_0x354bfd,_0x34574a[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x18f295([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x436b2c=>_0x55849f(_0x4fd450,_0x436b2c));}function _0xfbdd0a(_0x451f38,_0xe100d1){_0x26f15(_0x152f45(_0x451f38,_0xe100d1),_0xe100d1);}function _0x1ae7c3(_0x112ca0,_0x54bf22){function _0xe09f26(_0x59ad9e,_0x469321){try{if(_0x155f14(_0x354bfd,_0x18f295([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x59ad9e){const _0xc86490=_0x1c1338(_0x354bfd,_0x18f295([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x18f295([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xc86490)/0x2>_0x59ad9e[_0x18f295([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x26f7a0(_0x469321[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x152f45(_0x59ad9e,_0x469321);}catch(_0x38d8d0){return _0x26f7a0(_0x469321[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x26f15(_0xe09f26(_0x112ca0,_0x54bf22),_0x54bf22);}function _0x581e67(_0x37f57e,_0x2b2051){const _0x16e580=_0x403c6a[0x0]*_0x1f03a4[0x1],_0x5ca284=_0x403c6a[0x0]*_0x1f03a4[0x2],_0x288688=_0x403c6a[0x2]*_0x1f03a4[0x2];_0x155f14(_0x354bfd,_0x18f295([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1c1338(_0x354bfd,_0x18f295([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x18f295([0x73,0x74,0x61,0x74,0x65])]==_0x18f295([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5df2ff()]=_0x288688);function _0x3a6994(_0x165039,_0x33cb87){try{return _0x390337()?_0x26f7a0(_0x33cb87[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x56,0x61,0x6c,0x69,0x64])):_0x152f45(_0x165039,_0x33cb87);}catch(_0xeee2e){return _0x26f7a0(_0x33cb87[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3b5266(_0xa23a63,_0x5bbfdb){const _0x4753c5=0x7;if(_0xa23a63==_0x5bbfdb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4840cf();else{if(_0xa23a63==_0x5bbfdb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c])){const _0x5a5ec7=_0x4d3051();_0x5a5ec7&&_0x4c503c(_0x5a5ec7,_0x5bbfdb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x311d4b=_0x5d1c4d();window[_0x18f295([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4c503c(_0x18f295([0x74,0x69,0x6d,0x65]),_0x5bbfdb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x311d4b);const _0x3715c6=_0x1c1338(_0x354bfd,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x18f295([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3715c6[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4753c5?_0x4c503c(_0x18f295([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5bbfdb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3715c6['on'](_0x18f295([0x61,0x64,0x64]),()=>{_0x3715c6[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4753c5&&_0x4c503c(_0x18f295([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5bbfdb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4d3051(){if(!_0x155f14(_0x354bfd,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4407ea in window)if(Number['isNaN'](Number(_0x4407ea))){if(window[_0x4407ea]===_0x16e580)return _0x18f295([0x74,0x69,0x6d,0x65]);if(window[_0x4407ea]===_0x5ca284)return _0x18f295([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x390337(){if(!_0x155f14(_0x354bfd,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x194b0d in window)if(Number['isNaN'](Number(_0x194b0d))&&window[_0x194b0d]===_0x288688)return!0x0;return!0x1;}function _0x4c503c(_0x3690df,_0x2a9b6e){_0x4840cf(),_0x26f7a0(_0x2a9b6e+_0x18f295([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3690df),window[_0x5df2ff()]=_0x3690df===_0x18f295([0x74,0x69,0x6d,0x65])?_0x16e580:_0x5ca284;}function _0x5d1c4d(){let _0x141df5=_0x403c6a[0x6]*_0x1f03a4[0x8]*_0x1f03a4[0x6];return _0x155f14(_0x354bfd,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x141df5/=0xa),_0x141df5;}function _0x4840cf(){const _0xe38f63=_0x354bfd;function _0x28939d(){_0x155f14(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f295([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x18f295([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f295([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f295([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5c6fe5,_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f295([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5c6fe5,_0xe38f63[_0x18f295([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f295([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6fe5,_0xe38f63[_0x18f295([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f295([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6fe5,_0xe38f63[_0x18f295([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18f295([0x6d,0x6f,0x64,0x65,0x6c]))),_0x155f14(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f295([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x18f295([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f295([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f295([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5c6fe5,_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f295([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5c6fe5);}_0xe38f63[_0x18f295([0x73,0x74,0x61,0x74,0x65])]==_0x18f295([0x72,0x65,0x61,0x64,0x79])?_0x28939d():_0xe38f63[_0x18f295([0x6f,0x6e,0x63,0x65])](_0x18f295([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x155f14(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x28939d(),_0x155f14(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x21b0a6=_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3da6ea=_0x21b0a6['getRevision'](0x0),_0x5eba40=_0x21b0a6['getEarlierVisibleRevision'](_0x3da6ea[_0x18f295([0x69,0x64])]);_0x1c1338(_0xe38f63,_0x18f295([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f295([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3da6ea[_0x18f295([0x69,0x64])],_0x5eba40?_0x5eba40[_0x18f295([0x69,0x64])]:null,0x1)['then'](()=>_0x28939d());}});}_0x3b5266(_0x3a6994(_0x37f57e,_0x2b2051),_0x2b2051);}function _0x152f45(_0x1b2fe4,_0x34e7bb){try{return _0x46f628(_0x34e7bb)?_0x26f7a0(_0x34e7bb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x56,0x61,0x6c,0x69,0x64])):_0x1b2fe4&&_0x2d5025(_0x1b2fe4[_0x18f295([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x34e7bb)?_0x1b2fe4[_0x18f295([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x18f295([0x6f,0x70,0x65,0x6e])][_0x18f295([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x255566)/0x2>_0x1b2fe4[_0x18f295([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x26f7a0(_0x34e7bb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x1b2fe4[_0x18f295([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x26f7a0(_0x34e7bb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c])):_0x26f7a0(_0x34e7bb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x56,0x61,0x6c,0x69,0x64])):_0x26f7a0(_0x34e7bb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x243e2e){return _0x26f7a0(_0x34e7bb[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x26f15(_0x45490e,_0xd9b911){if(_0x354bfd instanceof _0x281e68){const _0x3b2214=_0x354bfd;_0x45490e==_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x37bbcf(_0x3b2214):_0x45490e==_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c])&&window[_0x18f295([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x37bbcf(_0x3b2214),_0x26f7a0(_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x403c6a[0x6]*_0x1f03a4[0x8]*_0x1f03a4[0x6]),_0x3b2214[_0x18f295([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x18f295([0x6f,0x6e])](_0x18f295([0x61,0x64,0x64]),(_0x13b753,_0x16f08c)=>{_0x45490e!=_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x45490e!=_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x45490e!=_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5b233d(_0x16f08c);});}else{const _0x5befe7=_0x354bfd;_0x45490e==_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5b233d(_0x5befe7):_0x45490e==_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c])&&_0x5befe7[_0x18f295([0x6f,0x6e])](_0x18f295([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x5b9456=0x0;_0x5befe7[_0x18f295([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f295([0x6f,0x6e])](_0x18f295([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f563a,_0x2c520a)=>{_0x2c520a[0x0][_0x18f295([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b9456++,0x1f8===_0x5b9456&&(_0x5b233d(_0x5befe7),_0x26f7a0(_0xd9b911[_0x18f295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f295([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4f563a[_0x18f295([0x6f,0x66,0x66])]());},{'priority':_0x18f295([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x26f7a0(_0x4b0685){const _0x4371df=_0x5df2ff();return _0x354bfd[_0x4371df]=_0x4b0685,_0x4b0685;}function _0x5df2ff(){const _0x335879=String(window[_0x18f295([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18f295([0x6e,0x6f,0x77])]())[_0x18f295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18f295([0x2e]),'');let _0x2d879f='';for(let _0x315aff=0x0;_0x315aff<_0x335879[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x315aff+=0x2){let _0x5aefd0=parseInt(_0x335879[_0x18f295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x315aff,_0x315aff+0x2));_0x5aefd0>=_0x2d2bca[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5aefd0-=_0x2d2bca[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d879f+=_0x2d2bca[_0x5aefd0];}return _0x2d879f;}function _0x37bbcf(_0x1147ed){for(const _0x5eedfe of _0x1147ed[_0x18f295([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5b233d(_0x5eedfe);_0x1c1338(_0x1147ed,_0x18f295([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x18f295([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1c1338(_0x1147ed,_0x18f295([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x18f295([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5c6fe5;}function _0x5b233d(_0x31a77a){function _0x5ebb73(){_0x31a77a[_0x18f295([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f295([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6fe5,_0x31a77a[_0x18f295([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f295([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6fe5,_0x31a77a[_0x18f295([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18f295([0x6d,0x6f,0x64,0x65,0x6c]));}_0x31a77a[_0x18f295([0x73,0x74,0x61,0x74,0x65])]==_0x18f295([0x72,0x65,0x61,0x64,0x79])?_0x5ebb73():_0x31a77a[_0x18f295([0x6f,0x6e,0x63,0x65])](_0x18f295([0x72,0x65,0x61,0x64,0x79]),()=>_0x5ebb73());}function _0x5c6fe5(){return null;}function _0x2d5025(_0x3cafdd,_0x1e79e1){const _0x553f0a=!!(_0x3cafdd&_0x1e79e1[_0x18f295([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x115a6a=_0x1597ac(_0x3cafdd,_0x1e79e1);return _0x553f0a||_0x115a6a;}function _0x1597ac(_0x174860,_0x1a8723){const _0x12e6b6=(_0x1a8723[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x18f295([0x66,0x67,0x69])]||null;return!!_0x12e6b6&&_0x51a297[_0x18f295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f13d1=>_0x12e6b6[_0x18f295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f13d1[_0x18f295([0x69,0x64])]))[_0x18f295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35924d=>!_0xf6d9a0(_0x35924d))[_0x18f295([0x73,0x6f,0x6d,0x65])](_0xb80863=>!!(_0x174860&_0xb80863[_0x18f295([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xf6d9a0(_0x449e03){const _0x527def={[_0x18f295([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])]:_0x554d7c};return!!_0x449e03['forbiddenHandler']&&_0x527def[_0x449e03['forbiddenHandler']]();}function _0x554d7c(){return!window[_0x18f295([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x155f14(_0x354bfd,_0x18f295([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x46f628(_0x55660e){if(!_0x155f14(_0x354bfd,_0x55660e[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xcf2b18=_0x55660e[_0x18f295([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x2985a5=_0xcf2b18[_0x18f295([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x9a8b16=_0xcf2b18[_0x18f295([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0xb85f44=_0xcf2b18[_0x18f295([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x155f14(_0x354bfd,_0x18f295([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1c1338(_0x354bfd,_0x18f295([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x18f295([0x73,0x74,0x61,0x74,0x65])]==_0x18f295([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x2985a5)return!0x0;if(_0x155f14(_0x354bfd,_0x18f295([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1c1338(_0x354bfd,_0x18f295([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x18f295([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x18f295([0x65,0x6e,0x64])&&_0x9a8b16)return!0x0;return!(!_0x155f14(_0x354bfd,_0x18f295([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]))||_0x1c1338(_0x354bfd,_0x18f295([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]))[_0x18f295([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x18f295([0x65,0x6e,0x64])||!_0xb85f44);}function _0x155f14(_0x1a21d2,_0x2126ce){return _0x1a21d2[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x18f295([0x68,0x61,0x73])](_0x2126ce);}function _0x1c1338(_0x3e1d3e,_0x3f82db){return _0x3e1d3e[_0x18f295([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x18f295([0x67,0x65,0x74])](_0x3f82db);}function _0x43cd89(_0x4c9384){let _0x3cfc6f='';for(const _0x47c381 of _0x4c9384)_0x3cfc6f+=String[_0x18f295([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x47c381);return _0x3cfc6f;}function _0x51ac49(_0x1240ad){const _0x5b8829=new Uint8Array(_0x1240ad[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x349184=0x0;_0x349184<_0x1240ad[_0x18f295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x349184++)_0x5b8829[_0x349184]=_0x1240ad[_0x18f295([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x349184);return _0x5b8829;}_0x1d804b&&_0x55849f(_0x5cd5bc(_0x26ee4a),_0x1d804b);})(_0x1f0f35);}(this);}['createRevision'](_0x1c8e89){const _0x20dd9e=this['editor']['plugins']['get']('Users');return new a({'id':_0x1c8e89['id'],'name':_0x1c8e89['name'],'creator':_0x1c8e89['creatorId']?_0x20dd9e['getUser'](_0x1c8e89['creatorId']):null,'diffData':_0x1c8e89['diffData']||_0x1c8e89['data'],'authors':_0x1c8e89['authorsIds']['map'](_0xda874b=>_0x20dd9e['getUser'](_0xda874b)),'createdAt':new Date(_0x1c8e89['createdAt']),'attributes':_0x1c8e89['attributes'],'fromVersion':_0x1c8e89['fromVersion'],'toVersion':_0x1c8e89['toVersion']});}['addRevision'](_0x29a94f,_0x2953ad=0x0){this['_revisions']['add'](_0x29a94f,_0x2953ad);}['getRevision'](_0x5b80db){return this['_revisions']['get'](_0x5b80db);}['getRevisions'](_0x4a59ca={'toJSON':!0x1}){const _0x3e08f6=Array['from'](this['_revisions']);return _0x3e08f6['reverse'](),_0x4a59ca['toJSON']?_0x3e08f6['map'](_0x44126c=>_0x44126c['toJSON']()):_0x3e08f6;}['getIndex'](_0x4da26f){return this['_revisions']['getIndex'](_0x4da26f);}['getEarlierVisibleRevision'](_0x2816cb){const [,_0x1e9d3e]=this['getRevisionsIterator'](_0x2816cb,{'direction':'earlier'});return _0x1e9d3e;}['getLaterVisibleRevision'](_0x24dcba){const [,_0x3cb650]=this['getRevisionsIterator'](_0x24dcba,{'direction':'later'});return _0x3cb650;}['getRevisionsInDiff'](_0x581e6c){const _0x51a16c=[];for(const _0xfe94cc of this['getRevisionsIterator'](_0x581e6c['newRevisionId']))if(_0x51a16c['push'](_0xfe94cc),_0xfe94cc['id']===_0x581e6c['oldRevisionId'])break;return _0x51a16c;}*['getRevisionsIterator'](_0x111c7b,{direction:_0x4a9794='earlier',filter:_0x45d3fa=_0x3de6c9=>!0x0}={}){const _0x3c1b33='earlier'===_0x4a9794?0x1:-0x1;let _0x59dd98=this['_revisions']['get'](_0x111c7b),_0x1b0259=this['getIndex'](_0x59dd98);for(yield _0x59dd98;_0x59dd98;){if(_0x1b0259+=_0x3c1b33,_0x59dd98=this['getRevision'](_0x1b0259),!_0x59dd98)return;_0x45d3fa(_0x59dd98)&&(yield _0x59dd98);}}}function y(_0x28bd48,_0x3ed59d,_0x3791e9){const t=_0x28bd48['t'];switch(_0x3ed59d){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'},_0x3791e9);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3791e9);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0xe0ebb9,'a':_0x44545e,'e':_0x54ea1f,'r':_0xbcc25,'u':_0x5c707b};class l extends _0x272b53{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1bde87,A,_0x4ebddf];}constructor(_0xa4c597){super(_0xa4c597),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 _0x35e370=_0x23f015();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x35e370},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 _0x25a80c=this['repository']['getRevision'](0x0),_0x33bbf0=_0x25a80c&&null===_0x25a80c['creator']?_0x25a80c:null;if(this['_continueCurrentRevision']=!!_0x33bbf0&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x20d65d=this['_source']['getCurrentRevisionId'](),_0x492d32=this['repository']['getRevision'](_0x20d65d);if(_0x492d32)this['_startingVersion']=_0x492d32['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x6d44d6=this['_source']['history']['_operations']['find'](_0xb8b343=>!_0xb8b343['_isInit']),_0x21648b=_0x6d44d6?_0x6d44d6['baseVersion']:this['_source']['history']['version'];_0x25a80c?(_0x25a80c['toVersion']<_0x21648b&&_0x25a80c['_update']({'toVersion':_0x21648b}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x33bbf0['id'],this['_startingVersion']=_0x33bbf0['fromVersion']):(this['_startingVersion']=_0x25a80c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x21648b,this['_continueCurrentRevision']=!0x1);}}else _0x33bbf0&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x33bbf0['toVersion'],this['editor']['model']['document']['history']['version']),_0x33bbf0['fromVersion']===_0x33bbf0['toVersion']?(0x0!==_0x33bbf0['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x33bbf0['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x33bbf0['id'],this['_startingVersion']=_0x33bbf0['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',_0x29eac5=>!_0x29eac5);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5c4a39=this['repository']['getRevision'](0x0),_0x50518c=await this['getRevisionDocumentData'](_0x5c4a39),_0x7ed88d=await this['getRevisionRootsAttributes'](_0x5c4a39);this['_replaceEditorDataWithRevisionData'](_0x50518c,_0x7ed88d);}}['setSource'](_0x2cef7b){this['_source']=_0x2cef7b;}async['update'](){const _0x53f139=await this['_source']['getLatestVersion']();if(_0x53f139>this['currentRevision']['toVersion']){await this['_loadState']();const _0x8705b8=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x53f139});_0x8705b8['authors']=_0x8705b8['authorsIds']['map'](_0x4ddfa6=>this['editor']['plugins']['get']('Users')['getUser'](_0x4ddfa6)),this['currentRevision']['_update'](_0x8705b8);}}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'](_0x80bb84={},_0x16f28c=null){const _0x1e072b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x16f28c>this['currentRevision']['toVersion']&&(_0x16f28c=null),null===_0x16f28c&&(_0x16f28c=await this['_source']['getLatestVersion']());const _0x51ead4=this['_getFromVersion'](_0x16f28c),_0xf53ecb=this['buildRevisionData']({'from':_0x51ead4,'to':_0x16f28c});if(this['currentRevision']['toVersion']<_0x16f28c){const _0x5c1ef7=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x16f28c,'to':_0x16f28c});_0x5c1ef7['authors']=[],_0x5c1ef7['authorsIds']=[],_0x5c1ef7['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5c1ef7,!0x0),delete _0x5c1ef7['authors'],_0x1e072b['push'](_0x5c1ef7);}_0x80bb84['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x80bb84['name']=_0x80bb84['name']||null,_0x80bb84['id']=_0x80bb84['id']||_0x23f015(),_0x80bb84={..._0x80bb84,..._0xf53ecb};const _0x2a77a5=this['addRevisionData'](_0x80bb84);_0x1e072b['push'](_0x80bb84);const _0x30e4bc=this['repository']['getIndex'](_0x2a77a5);if(0x0!==_0x30e4bc){const _0x57dc0b=this['repository']['getRevision'](_0x30e4bc-0x1);if(_0x57dc0b['fromVersion']!==_0x16f28c){const _0x1f057d=this['_revisionDataBuilder']['getData'](_0x16f28c,_0x57dc0b['toVersion']),_0x5bcf9a={'id':_0x57dc0b['id'],'diffData':_0x1f057d['diffData'],'authorsIds':_0x1f057d['authorsIds'],'authors':_0x1f057d['authorsIds']['map'](_0x3bc2c3=>this['editor']['plugins']['get']('Users')['getUser'](_0x3bc2c3)),'fromVersion':_0x16f28c};_0x57dc0b===this['currentRevision']&&(_0x5bcf9a['createdAt']=new Date(_0x80bb84['createdAt']['getTime']()+0xa)),_0x57dc0b['_update'](_0x5bcf9a,!0x0),delete _0x5bcf9a['authors'],_0x1e072b['push'](_0x5bcf9a);}}if(this['adapter']){for(const _0x19b88f of _0x1e072b)this['_bufferUpdate'](_0x19b88f['id'],_0x19b88f,!0x0);this['sendBufferedUpdates']();}return _0x2a77a5;}['addRevisionData'](_0x34ab03){const _0x3f3e43=this['repository']['createRevision'](_0x34ab03);return this['adapter']&&_0x3f3e43['on']('_update',(_0xe37f37,_0x256aeb,_0x46cb7f)=>{_0x46cb7f||(this['_bufferUpdate'](_0x256aeb['id'],_0x256aeb,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3f3e43,this['_findInsertionIndex'](_0x3f3e43)),_0x3f3e43;}async['getRevisionDocumentData'](_0x2e3ebb){await this['_loadRevisionData'](_0x2e3ebb);const _0x2f7a17={};for(const _0x26e349 in _0x2e3ebb['diffData']){if(_0x2e3ebb['diffData'][_0x26e349]['attachChange']&&!_0x2e3ebb['diffData'][_0x26e349]['attachChange']['isAttached'])continue;const _0x58dffa=this['_removeRevisionMarkers'](JSON['parse'](_0x2e3ebb['diffData'][_0x26e349]['insertions'])),_0x5d1463=this['editor']['editing']['view']['document'],_0x4d4033=new _0x132e6e(_0x5d1463,_0x58dffa['map'](_0x4efb08=>B(_0x4efb08,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2f7a17[_0x26e349]=this['editor']['data']['processor']['toData'](_0x4d4033),this['editor']['data']['processor']['useFillerType']('default');}return _0x2f7a17;}async['getRevisionRootsAttributes'](_0x4d6586){await this['_loadRevisionData'](_0x4d6586);const _0xb3351a={};for(const _0x5e97a0 in _0x4d6586['diffData'])_0x4d6586['diffData'][_0x5e97a0]['attachChange']&&!_0x4d6586['diffData'][_0x5e97a0]['attachChange']['isAttached']||(_0xb3351a[_0x5e97a0]=_0x4d6586['diffData'][_0x5e97a0]['attributesAfter']||{});return _0xb3351a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4ec913=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xe7efb5=0x0;_0xe7efb5<_0x4ec913['length'];_0xe7efb5++){const _0x2aa403=_0x4ec913[_0xe7efb5];let _0x61ef8e=!0x1;for(const _0x235b38 of Object['keys'](_0x2aa403))void 0x0===_0x2aa403[_0x235b38]?delete _0x2aa403[_0x235b38]:'id'!==_0x235b38&&(_0x61ef8e=!0x0);_0x61ef8e||(_0x4ec913[_0xe7efb5]=null);}if(_0x4ec913=_0x4ec913['filter'](_0x1af3b1=>null!==_0x1af3b1),!_0x4ec913['length'])return;for(let _0x19282b=0x0;_0x19282b<_0x4ec913['length'];_0x19282b++){const _0x4bbe82=_0x4ec913[_0x19282b];void 0x0!==_0x4bbe82['fromVersion']&&void 0x0===_0x4bbe82['toVersion']&&(_0x4bbe82['toVersion']=this['repository']['getRevision'](_0x4bbe82['id'])['toVersion']),void 0x0!==_0x4bbe82['toVersion']&&void 0x0===_0x4bbe82['fromVersion']&&(_0x4bbe82['fromVersion']=this['repository']['getRevision'](_0x4bbe82['id'])['fromVersion']);}const _0x32a641=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4ec913,_0x32a641)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5b9660=>{if(_0x5b9660){for(const _0xe33aa of _0x5b9660)this['setRevisionData']({'id':_0xe33aa['id'],'createdAt':_0xe33aa['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1799ee,_0x32e452){let _0x226f0c=this['editor']['config']['get']('initialData'),_0x212359=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x226f0c){_0x226f0c={};for(const _0x36d1b0 of this['editor']['model']['document']['getRootNames']())_0x226f0c[_0x36d1b0]='';}if('string'==typeof _0x226f0c&&(_0x226f0c={'main':_0x226f0c}),void 0x0===_0x212359){_0x212359={};for(const _0x28df9b of this['editor']['model']['document']['getRootNames']())_0x212359[_0x28df9b]={};}let _0x58401d=!0x1;const _0x2e5c4a=Object['keys'](_0x226f0c),_0x16d0e1=Object['keys'](_0x1799ee);for(const _0x3b05af of _0x2e5c4a){if(_0x226f0c[_0x3b05af]!==_0x1799ee[_0x3b05af]&&''!==_0x226f0c[_0x3b05af]['trim']()){_0x58401d=!0x0;break;}if(!_0x494dc0(_0x212359[_0x3b05af],_0x32e452[_0x3b05af])&&Object['keys'](_0x212359[_0x3b05af])['length']>0x0){_0x58401d=!0x0;break;}}_0x58401d||(_0x58401d=_0x16d0e1['some'](_0x4e22a6=>!this['editor']['model']['document']['getRoot'](_0x4e22a6))),_0x58401d&&_0x14fa76('editor-initial-data-replaced-with-revision-data',{'editorData':_0x226f0c,'editorRootsAttributes':_0x212359,'revisionData':_0x1799ee,'revisionRootsAttributes':_0x32e452}),this['editor']['config']['set']('initialData',_0x1799ee),this['editor']['config']['set']('rootsAttributes',_0x32e452);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x273ce1=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x273ce1['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2f3f70){const _0x527d41=this['repository']['getRevisions']();_0x527d41['reverse']();let _0x2e75c2=0x0;for(;_0x2e75c2<_0x527d41['length'];){const _0x38967f=_0x527d41[_0x2e75c2];if(_0x38967f===this['currentRevision']){_0x2e75c2++;continue;}if(_0x38967f['id']===this['_initialRevisionId'])break;const _0x181fca=_0x2f3f70['toVersion']-_0x38967f['toVersion']||_0x2f3f70['fromVersion']-_0x38967f['fromVersion'];if(_0x181fca>0x0)break;if(_0x181fca<0x0)_0x2e75c2++;else{if(!_0x2f3f70['creator']&&_0x38967f['creator'])break;if(_0x38967f['creator']||!_0x2f3f70['creator']){if(_0x2f3f70['createdAt']>_0x38967f['createdAt'])break;_0x2e75c2++;}else _0x2e75c2++;}}return _0x2e75c2;}['setRevisionData'](_0x22aba4){const _0x4f54f3=this['repository']['getRevision'](_0x22aba4['id']);if(_0x22aba4['createdAt']&&(_0x22aba4['createdAt']=new Date(_0x22aba4['createdAt'])),_0x22aba4['authorsIds']){const _0x5105a3=this['editor']['plugins']['get']('Users');_0x22aba4['authors']=_0x22aba4['authorsIds']['map'](_0x3e1a0a=>_0x5105a3['getUser'](_0x3e1a0a));}_0x4f54f3['_update'](_0x22aba4,!0x0);}['buildRevisionData']({revision:_0x4743f8=null,from:_0xb435ed=null,to:_0x1c8541=null}){_0xb435ed=null!==_0xb435ed?_0xb435ed:_0x4743f8['fromVersion'],_0x1c8541=null!==_0x1c8541?_0x1c8541:_0x4743f8['toVersion'];const _0x18855b=this['_revisionDataBuilder']['getData'](_0xb435ed,_0x1c8541),_0x3279cb={'diffData':_0x18855b['diffData'],'authorsIds':_0x18855b['authorsIds'],'fromVersion':_0xb435ed,'toVersion':_0x1c8541};if(!_0x4743f8||_0x1c8541!==_0x4743f8['toVersion']){const _0x3ff923=_0x1c8541-0x1,_0x26a462=this['_source']['history']['getOperation'](_0x3ff923);_0x3279cb['createdAt']=_0x26a462&&_0x26a462['createdAt']||new Date();}if(this['_loadedStateData']&&_0xb435ed===this['_loadedStateData']['fromVersion']){for(const _0xa9dad of this['_loadedStateData']['authors'])_0x3279cb['authorsIds']['includes'](_0xa9dad['id'])||_0x3279cb['authorsIds']['push'](_0xa9dad['id']);}return _0x3279cb;}['_loadRevisionData'](_0x3ad5e1){if(!_0x3ad5e1||_0x3ad5e1['diffData'])return Promise['resolve']();{const _0x2cafbf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2cafbf,'revisionId':_0x3ad5e1['id']})['then'](_0x232e4d=>{_0x3ad5e1['diffData']=_0x232e4d['diffData'];});}}['_bufferUpdate'](_0x1d087c,_0x598507,_0xe0ef70){if(this['_bufferedUpdates']['has'](_0x1d087c)){const _0x3d41c7=this['_bufferedUpdates']['get'](_0x1d087c);_0x598507=_0xe0ef70?{..._0x3d41c7,..._0x598507}:{..._0x598507,..._0x3d41c7};}this['_bufferedUpdates']['set'](_0x1d087c,_0x598507);}['_getFromVersion'](_0x2381c3){const _0x53f246=this['repository']['getRevisions']();_0x53f246['reverse'](),_0x53f246['shift']();const _0x59cc22=_0x53f246['find'](_0x36de43=>_0x36de43['toVersion']<=_0x2381c3)['toVersion'];return _0x59cc22<this['_startingVersion']?this['_startingVersion']:_0x59cc22;}['_createInitialRevision'](_0x471966){const _0x57643c=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x57643c)this['_initialRevisionId']=_0x57643c['id'];else{const _0x462544=!this['editor']['model']['document']['roots']['find'](_0x35afef=>this['editor']['model']['hasContent'](_0x35afef)),_0x411e39=this['editor']['plugins']['get']('Users')['me']['id'],_0x3e6f4c=y(this['editor']['locale'],_0x462544?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x471966,'to':_0x471966,'id':this['_initialRevisionId'],'name':_0x3e6f4c,'creatorId':_0x411e39});}}['_createCurrentRevision'](_0x5408f3){const _0xb61a74=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xb61a74),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5408f3,'to':_0x5408f3,'id':_0xb61a74,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4f8264,from:_0xf3b5b5,to:_0x5bff18,creatorId:_0x326f9f,id:_0x2ba9c1}){const _0x382b17=this['buildRevisionData']({'from':_0xf3b5b5,'to':_0x5bff18});_0x382b17['name']=_0x4f8264,_0x382b17['creatorId']=_0x326f9f,_0x382b17['id']=_0x2ba9c1;const _0x1210bb=this['addRevisionData'](_0x382b17);return this['adapter']&&this['_bufferUpdate'](_0x382b17['id'],_0x382b17,!0x0),_0x1210bb;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x8122b1){return(_0x8122b1=_0x8122b1['filter'](_0xb9fee7=>!_0xb9fee7['name']||'revision-start'!==_0xb9fee7['name']&&'revision-end'!==_0xb9fee7['name']))['forEach'](_0x30c269=>{'string'!=typeof _0x30c269&&(_0x30c269['children']=this['_removeRevisionMarkers'](_0x30c269['children']),_0x30c269['attributes']=_0x30c269['attributes']['filter'](_0x3d84e2=>!_0x3d84e2[0x0]['startsWith']('data-revision-')));}),_0x8122b1;}}function B(_0x4fe42c,_0x58ae6d){const _0x141f0d=_0x58ae6d['editing']['view']['document'];if('string'==typeof _0x4fe42c)return new _0x4b379f(_0x141f0d,_0x4fe42c);{const _0x20c7f6=_0x4fe42c['children']['map'](_0x18e557=>B(_0x18e557,_0x58ae6d));return new(T[_0x4fe42c['type']]||_0x149910)(_0x141f0d,_0x4fe42c['name'],_0x4fe42c['attributes'],_0x20c7f6);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5e5a5e){this['editor']=_0x5e5a5e,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'](_0x423ca9){this['source']=_0x423ca9;const _0x2dab15=new Map(),_0x50e48e=new Map(),_0xd086e3=this['editor']['model']['document']['roots']['map'](_0x4a9323=>_0x4a9323['rootName']);for(const _0x3fe31b of _0xd086e3){const _0x279b76=this['editor']['model']['document']['getRoot'](_0x3fe31b),_0x2bf20c=q(_0x279b76);_0x2dab15['set'](_0x3fe31b,_0x2bf20c),_0x50e48e['set'](_0x3fe31b,Object['fromEntries'](_0x279b76['getAttributes']()));}const _0x211211=Array['from'](this['editor']['model']['markers'])['map'](_0x4dd6e2=>[_0x4dd6e2['name'],_0x4dd6e2['getRange']()]),_0x135690=this['source']['version'];this['_saveMetaData'](_0x135690,_0x2dab15,_0x211211,_0x50e48e),this['_startingRevisionId']=this['_revisionId'];const _0x5d56f1=new Map(),_0x360826=new Map();for(const _0x868c3e of _0xd086e3){const _0x4861c3=G(_0x868c3e);_0x5d56f1['set'](_0x868c3e,_0x4861c3),_0x360826['set'](_0x868c3e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5d56f1,[],_0x360826);}['getData'](_0x3969c0,_0x37d4d4){if(this['_lastFrom']===_0x3969c0&&this['_lastTo']<=_0x37d4d4)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x37d4d4,!0x0);else{if(!this['_savedMetaData']['has'](_0x3969c0)){const _0x1c1fd0=this['_getPreviousFrom'](_0x3969c0);this['_calculateMetaData'](_0x1c1fd0,_0x3969c0,!0x1);}this['_calculateMetaData'](_0x3969c0,_0x37d4d4,!0x0);}return this['_lastFrom']=_0x3969c0,this['_lastTo']=_0x37d4d4,this['_getState']();}['loadState'](_0x1b29c5){this['_reset'](),this['_lastFrom']=_0x1b29c5['fromVersion'],this['_lastTo']=_0x1b29c5['toVersion'];for(const _0xf98f80 in _0x1b29c5['diffData']){const _0x48baac=_0x1b29c5['diffData'][_0xf98f80]['attachChange'],_0x47a052=_0x1da15f(_0x1b29c5['diffData'][_0xf98f80]['attributesBefore'])||{},_0x158b11=this['_makeModelFromViewString'](_0x1b29c5['diffData'][_0xf98f80]['deletions']);_0x158b11['rootName']=_0xf98f80,_0x158b11['_isAttached']=!_0x48baac||!_0x48baac['isAttached'],_0x158b11['isAttached']=()=>_0x158b11['_isAttached'],this['_baseRoots']['set'](_0xf98f80,_0x158b11),this['_baseRootsAttributes']['set'](_0xf98f80,_0x47a052),_0x48baac&&this['_touchedRoots']['set'](_0xf98f80,_0x48baac);const _0x3db3b6=this['_makeIdsRoot'](_0x158b11);this['_baseIdsRoots']['set'](_0xf98f80,_0x3db3b6);for(const [_0x344545,_0x1700da]of _0x158b11['markers']){if(!_0x344545['startsWith']('revision:'))continue;const _0x4fa012=_0x344545['split'](':')[0x2];for(const _0x347257 of _0x1700da['getWalker']({'singleCharacters':!0x0})){const _0x737563=this['_getVidAttributeName'](_0x347257),_0x81792e='elementEnd'==_0x347257['type']?_0x347257['previousPosition']['path']['slice'](0x0,-0x1):_0x347257['previousPosition']['path'],_0x21f749=_0x3db3b6['getNodeByPath'](_0x81792e)['getAttribute'](_0x737563);this['_touched']['set'](_0x21f749,{'userId':_0x4fa012});}}}this['_startingRevisionId']=this['_revisionId'];const _0x599d0e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3ac4d2=>!this['_touched']['has'](_0x3ac4d2));let _0x1b42b3=0x0;const _0x430322=new Map();for(const _0x2dc5ab in _0x1b29c5['diffData']){const _0x501dc7=_0x1b29c5['diffData'][_0x2dc5ab]['attachChange'],_0x15e692=_0x1da15f(_0x1b29c5['diffData'][_0x2dc5ab]['attributesAfter'])||{},_0x5190ff=this['_makeModelFromViewString'](_0x1b29c5['diffData'][_0x2dc5ab]['insertions']);_0x5190ff['rootName']=_0x2dc5ab,_0x5190ff['_isAttached']=!_0x501dc7||_0x501dc7['isAttached'],_0x5190ff['isAttached']=()=>_0x5190ff['_isAttached'],this['_diffRoots']['set'](_0x2dc5ab,_0x5190ff),this['_diffRootsAttributes']['set'](_0x2dc5ab,_0x15e692);const _0x291df0=this['_makeIdsRoot'](_0x5190ff,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2dc5ab,_0x291df0),_0x430322['set'](_0x2dc5ab,_0x5190ff['isAttached']()?_0x15e692:{});for(const [_0x1b53ce,_0x2a1dca]of _0x5190ff['markers']){if(!_0x1b53ce['startsWith']('revision:'))continue;const _0x428ede=_0x1b53ce['split'](':')[0x2];for(const _0x1b8e64 of _0x2a1dca['getWalker']({'singleCharacters':!0x0})){const _0x274bb2=this['_getVidAttributeName'](_0x1b8e64),_0x1395e0=this['_revisionId']++,_0x2fedb1='elementEnd'==_0x1b8e64['type']?_0x1b8e64['previousPosition']['path']['slice'](0x0,-0x1):_0x1b8e64['previousPosition']['path'];_0x291df0['getNodeByPath'](_0x2fedb1)['_setAttribute'](_0x274bb2,_0x1395e0),this['_touched']['set'](_0x1395e0,{'userId':_0x428ede});}}for(const _0x373680 of this['editor']['model']['createRangeIn'](_0x5190ff)['getWalker']({'singleCharacters':!0x0})){const _0x28c909=this['_getVidAttributeName'](_0x373680),_0x4c9c9f='elementEnd'==_0x373680['type']?_0x373680['previousPosition']['path']['slice'](0x0,-0x1):_0x373680['previousPosition']['path'],_0x1f13e1=_0x291df0['getNodeByPath'](_0x4c9c9f);_0x1f13e1['getAttribute'](_0x28c909)>0x0||_0x1f13e1['_setAttribute'](_0x28c909,_0x599d0e[_0x1b42b3++]);}for(const [_0x2b9927,_0x135739]of _0x5190ff['markers'])_0x2b9927['startsWith']('revision:')||this['_markers']['set'](_0x2b9927,_0x135739);}const _0x17cb1b=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x17cb1b),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x17cb1b,0x1));const _0x5451b6=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x5451b6),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5451b6,0x1));const _0x3136fd=Array['from'](this['_diffRoots'])['map'](([_0x35c3de,_0x2de60c])=>[_0x35c3de,q(_0x2de60c)]);this['_saveMetaData'](this['_lastTo'],_0x3136fd,this['_markers'],_0x430322);}['_makeModelFromViewString'](_0x24b1a1){const _0x1bc558=JSON['parse'](_0x24b1a1),_0x498006=this['editor']['editing']['view']['document'],_0x1ef9d4=new _0x132e6e(_0x498006,_0x1bc558['map'](_0x43a226=>B(_0x43a226,this['editor'])));return this['editor']['data']['toModel'](_0x1ef9d4);}['_saveMetaData'](_0x3f2a91,_0x1f3c50,_0x13cde0,_0x3ec333){const _0x50a64c=new Map(_0x1f3c50),_0x2a0315=new Map(_0x1da15f(_0x3ec333)),_0x25ee50=new Map();for(const [_0x145603,_0x2a3a1e]of _0x13cde0)_0x25ee50['set'](_0x145603,{'start':_0x2a3a1e['start']['clone'](),'end':_0x2a3a1e['end']['clone'](),'rootName':_0x2a3a1e['root']['rootName']});this['_savedMetaData']['set'](_0x3f2a91,{'roots':_0x50a64c,'markers':_0x25ee50,'rootsAttributes':_0x2a0315});}['_removeMetaData'](_0x4ebd5b){this['_savedMetaData']['delete'](_0x4ebd5b);}['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'](_0x51b202,_0x1607d3=null){let _0x38504=null;_0x51b202['is']('documentFragment')||(_0x38504=new ft(_0x51b202['name'],{'vid_start':null===_0x1607d3?this['_revisionId']++:_0x1607d3++}));const _0x2f005c=[];for(const _0x5e8c34 of _0x51b202['getChildren']())if(_0x5e8c34['is']('element')){_0x2f005c['push'](this['_makeIdsRoot'](_0x5e8c34,_0x1607d3));const _0x16a0d8=_0x2f005c[_0x2f005c['length']-0x1];null!==_0x1607d3&&(_0x1607d3=_0x16a0d8['is']('element','$text')?_0x16a0d8['getAttribute']('vid')+0x1:_0x16a0d8['getAttribute']('vid_end')+0x1);}else{for(let _0xde8feb=0x0;_0xde8feb<_0x5e8c34['offsetSize'];_0xde8feb++)_0x2f005c['push'](new ft('$text',{'vid':null===_0x1607d3?this['_revisionId']++:_0x1607d3++}));}if(_0x51b202['is']('documentFragment')){const _0x397792=G(_0x51b202['rootName']);return _0x397792['_insertChild'](0x0,_0x2f005c),_0x397792;}return _0x38504['_setAttribute']('vid_end',null===_0x1607d3?this['_revisionId']++:_0x1607d3++),_0x38504['_insertChild'](0x0,_0x2f005c),_0x38504;}['_calculateMetaData'](_0x4c7d29,_0x539827,_0x2bb471){this['_reset']();const {roots:_0x48e9ce,markers:_0x2658e2,rootsAttributes:_0x18035e}=this['_savedMetaData']['get'](_0x4c7d29);this['_baseRoots']=new Map(_0x48e9ce),this['_baseRootsAttributes']=new Map(_0x1da15f(_0x18035e));for(const [_0x31cab7,_0x6a89fd]of this['_baseRoots'])if('$graveyard'!==_0x31cab7&&(this['_diffRoots']['set'](_0x31cab7,q(_0x6a89fd)),this['_diffRootsAttributes']=new Map(_0x1da15f(_0x18035e)),_0x2bb471)){const _0x1a1498=this['_revisionId'];this['_idsRoots']['set'](_0x31cab7,this['_makeIdsRoot'](_0x6a89fd)),this['_baseIdsRoots']['set'](_0x31cab7,this['_makeIdsRoot'](_0x6a89fd,_0x1a1498));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2bb471&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x29014f,_0x5ae5af]of _0x2658e2){const _0x4d8928=this['_baseRoots']['get'](_0x5ae5af['rootName']),_0x5b6853=this['_diffRoots']['get'](_0x5ae5af['rootName']),_0x462cfa=new vt(this['_fixPosition'](_0x5ae5af['start'],_0x4d8928),this['_fixPosition'](_0x5ae5af['end'],_0x4d8928)),_0x10bd82=this['_fixRange'](_0x462cfa,_0x5b6853);_0x4d8928['markers']['set'](_0x29014f,_0x462cfa),this['_markers']['set'](_0x29014f,_0x10bd82);}this['_applyOperations'](_0x4c7d29,_0x539827,_0x2bb471);}['_applyOperations'](_0x170833,_0x35c26e,_0x54ccc6){for(const _0x105bbf of this['source']['getOperations'](_0x170833,_0x35c26e))this['_handleOperation'](_0x105bbf,_0x54ccc6);for(const _0x401f71 of this['_diffRoots']['values']())_0x401f71['markers']['clear']();for(const [_0x200ae5,_0x4346d4]of this['_markers']){this['_diffRoots']['get'](_0x4346d4['root']['rootName'])['markers']['set'](_0x200ae5,_0x4346d4['clone']());}const _0x29f66e=new Map(),_0x4bf743=new Map();for(const [_0x291a26,_0x1f40dd]of this['_diffRoots'])_0x29f66e['set'](_0x291a26,q(_0x1f40dd)),_0x4bf743['set'](_0x291a26,this['_diffRootsAttributes']['get'](_0x291a26));this['_saveMetaData'](_0x35c26e,_0x29f66e,this['_markers'],_0x4bf743);}['_getPreviousFrom'](_0xa51d7d){const _0x2b947a=Array['from'](this['_savedMetaData']['keys']());_0x2b947a['sort']((_0x509acb,_0xd285e9)=>_0x509acb-_0xd285e9),_0x2b947a['reverse']();for(const _0x3996a7 of _0x2b947a)if(_0x3996a7<_0xa51d7d)return _0x3996a7;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x14e6d5,_0x44772e){const _0x12ec7c=Array['from'](_0x44772e['markers'])['map'](([_0x4d0ec0,_0x1c07a1])=>[_0x4d0ec0,this['_fixRange'](_0x1c07a1,_0x14e6d5)]);_0x14e6d5['markers']=new Map(_0x12ec7c);}['_transformMarkers'](_0x4a9f33){for(const _0x3dc961 of this['_markers']['values']()){const _0x3d2c3e=_0x3dc961['getTransformedByOperation'](_0x4a9f33),_0x19bc1a=vt['_createFromRanges'](_0x3d2c3e);_0x3dc961['start']=_0x19bc1a['start'],_0x3dc961['end']=_0x19bc1a['end'];}}['_handleOperation'](_0x51d85d,_0x379ff9){if('addRoot'==_0x51d85d['type']||'detachRoot'==_0x51d85d['type'])return void this['_handleRootOperation'](_0x51d85d,_0x379ff9);if('insert'==_0x51d85d['type']){const _0x207425=_0x51d85d['position']['root']['rootName'];this['_diffRoots']['has'](_0x207425)||(this['_diffRoots']['set'](_0x207425,G(_0x207425,!0x0)),this['_diffRootsAttributes']['set'](_0x207425,{}),_0x379ff9&&this['_idsRoots']['set'](_0x207425,G(_0x207425,!0x0)));}else{if('addRootAttribute'==_0x51d85d['type']||'removeRootAttribute'==_0x51d85d['type']||'changeRootAttribute'==_0x51d85d['type'])return void this['_handleRootAttributeOperation'](_0x51d85d);}const _0x39e3de=this['_cloneOperation'](_0x51d85d,this['_diffRoots']);if('marker'!==_0x51d85d['type']&&(_0x39e3de['_execute'](),this['_transformMarkers'](_0x39e3de)),_0x379ff9)switch(_0x39e3de['type']){case'insert':this['_handleInsertOperation'](_0x51d85d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x51d85d);break;case'merge':this['_handleMergeOperation'](_0x51d85d);break;case'split':this['_handleSplitOperation'](_0x51d85d);break;case'marker':this['_handleMarkerOperation'](_0x51d85d);}}['_cloneOperation'](_0x40d0d5,_0x57945f){const _0xdc137b=_0x40d0d5['clone']();return _0xdc137b['_authorId']=_0x40d0d5['_authorId'],this['_fixOperation'](_0xdc137b,_0x57945f),_0xdc137b;}['_getBaseVids'](_0x1b895f){return _0x1b895f['map'](_0x1d4579=>{const _0x1ca498=this['_getVidAttributeName'](_0x1d4579);return Number(_0x1d4579['item']['getAttribute'](_0x1ca498));});}['_generateTape'](_0x32116c,_0x2b72d6){if(_0x32116c['is']('element','$text'))_0x2b72d6['push']({'item':_0x32116c,'type':'text'});else{_0x32116c['is']('element')&&_0x2b72d6['push']({'item':_0x32116c,'type':'elementStart'});for(const _0x485273 of _0x32116c['getChildren']())this['_generateTape'](_0x485273,_0x2b72d6);_0x32116c['is']('element')&&_0x2b72d6['push']({'item':_0x32116c,'type':'elementEnd'});}return _0x2b72d6;}['_getState'](){const _0x436bc8=new Map(this['_touched']),_0x552dc8=new Map(_0x436bc8),_0x3f06e2=new Map(),_0x267a36={'insertions':{},'deletions':{}},_0x25e56a={'insertions':{},'deletions':{}},_0x153084=new Map(),_0x15ee10=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x15ee10['delete']('$graveyard');for(const _0x30abe8 of _0x15ee10){const _0x509392=this['_diffRoots']['get'](_0x30abe8)||G(_0x30abe8,!0x1),_0x8c9400=this['_baseRoots']['get'](_0x30abe8)||G(_0x30abe8,!0x1);_0x509392['isAttached']()||_0x8c9400['isAttached']()?(_0x267a36['insertions'][_0x30abe8]=q(_0x509392),_0x267a36['deletions'][_0x30abe8]=q(_0x8c9400),this['_copyMarkers'](_0x267a36['deletions'][_0x30abe8],_0x8c9400),this['_copyMarkers'](_0x267a36['insertions'][_0x30abe8],_0x509392),_0x25e56a['insertions'][_0x30abe8]=this['_generateTape'](this['_idsRoots']['get'](_0x30abe8),[]),_0x25e56a['deletions'][_0x30abe8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x30abe8)||G(_0x30abe8,!0x1),[])):_0x15ee10['delete'](_0x30abe8);}for(const _0x3630b1 of _0x15ee10){const _0x4420b9=_0x25e56a['insertions'][_0x3630b1];for(const _0x50b329 of _0x4420b9){const _0x2dc2df=this['_getVidAttributeName'](_0x50b329),_0x337fd7=_0x50b329['item']['getAttribute'](_0x2dc2df);_0x552dc8['delete'](_0x337fd7),_0x337fd7>=this['_startingRevisionId']&&_0x3f06e2['set'](_0x337fd7,_0x436bc8['get'](_0x337fd7));}}for(const _0x170581 of _0x15ee10){const _0x3b62b5=_0x25e56a['insertions'][_0x170581],_0x3bd48a=this['_getBaseVids'](_0x25e56a['deletions'][_0x170581]);let _0x2197f1=0x0;for(const _0x4bc98d of _0x3b62b5){const _0x32622d=this['_getVidAttributeName'](_0x4bc98d),_0x2cffb9=_0x4bc98d['item']['getAttribute'](_0x32622d);if(!_0x3f06e2['has'](_0x2cffb9)&&!_0x153084['has'](_0x2cffb9)){if(_0x552dc8['has'](_0x2cffb9))_0x2197f1++;else{if(_0x2cffb9!=_0x3bd48a[_0x2197f1]){const _0x4929e2=_0x436bc8['get'](_0x2cffb9)||_0x436bc8['get'](_0x3bd48a[_0x2197f1]);for(;_0x2cffb9!=_0x3bd48a[_0x2197f1];)_0x552dc8['has'](_0x3bd48a[_0x2197f1])||(_0x153084['set'](_0x3bd48a[_0x2197f1],_0x4929e2),_0x436bc8['set'](_0x3bd48a[_0x2197f1],_0x4929e2)),_0x2197f1++;}_0x2197f1++;}}}}for(const _0x1a271f of _0x15ee10){const _0x22fb7c=_0x25e56a['insertions'][_0x1a271f];for(const _0x10d601 of _0x22fb7c){const _0x785cab=this['_getVidAttributeName'](_0x10d601),_0x29a33e=_0x10d601['item']['getAttribute'](_0x785cab);if(_0x153084['has'](_0x29a33e)){const _0x455f2f=_0x153084['get'](_0x29a33e);_0x552dc8['has'](_0x29a33e)||_0x552dc8['set'](_0x29a33e,{..._0x455f2f}),_0x3f06e2['set'](_0x29a33e,{..._0x455f2f});}}}for(const _0x4b8447 of _0x552dc8['keys']())_0x4b8447>=this['_startingRevisionId']&&_0x552dc8['delete'](_0x4b8447);const _0x45fabd=new Map();for(const _0x57b6b8 of _0x15ee10){let _0x43fbf4=_0x25e56a['insertions'][_0x57b6b8];for(const _0x378098 of _0x43fbf4)if(_0x378098['item']['is']('element','tableCell')){const _0x475bd6=this['_getVidAttributeName'](_0x378098),_0x2efbc4=_0x378098['item']['getAttribute'](_0x475bd6);if(_0x3f06e2['has'](_0x2efbc4)){const _0x52a635=_0x378098['item']['parent']['parent']['getAttribute']('vid_start'),_0x4664cb=_0x45fabd['get'](_0x52a635)||new Set();_0x4664cb['add'](_0x3f06e2['get'](_0x2efbc4)['userId']),_0x45fabd['set'](_0x52a635,_0x4664cb);}}_0x43fbf4=_0x25e56a['deletions'][_0x57b6b8];for(const _0x11799d of _0x43fbf4)if(_0x11799d['item']['is']('element','tableCell')){const _0x577ccb=this['_getVidAttributeName'](_0x11799d),_0x4c1592=_0x11799d['item']['getAttribute'](_0x577ccb);if(_0x552dc8['has'](_0x4c1592)){const _0x273dee=_0x11799d['item']['parent']['parent']['getAttribute']('vid_start'),_0x3577fa=_0x45fabd['get'](_0x273dee)||new Set();_0x3577fa['add'](_0x552dc8['get'](_0x4c1592)['userId']),_0x45fabd['set'](_0x273dee,_0x3577fa);}}for(const _0x437b8f of _0x45fabd['keys']())(_0x3f06e2['has'](_0x437b8f)||_0x552dc8['has'](_0x437b8f))&&_0x45fabd['delete'](_0x437b8f);}for(const _0x54d130 of _0x15ee10){const _0x847d5b=_0x25e56a['insertions'][_0x54d130];let _0x36080e=null,_0x3e6ac7=null;for(const _0x143707 of _0x847d5b){const _0x4373e7=this['_getVidAttributeName'](_0x143707),_0xe32ae0=_0x143707['item']['getAttribute'](_0x4373e7),_0x179df0=_0x45fabd['get'](_0xe32ae0);_0x179df0&&'elementStart'==_0x143707['type']&&(_0x36080e=Array['from'](_0x179df0)[0x0],_0x3e6ac7=_0x143707['item']['getAttribute']('vid_end')),_0x36080e&&(_0x552dc8['set'](_0xe32ae0,{'userId':_0x36080e}),_0x3f06e2['set'](_0xe32ae0,{'userId':_0x36080e})),_0xe32ae0==_0x3e6ac7&&(_0x36080e=null,_0x3e6ac7=null);}}const _0x23e069={},_0x5da96c=new Set();for(const _0x3022af of _0x15ee10){const _0x102876=_0x267a36['deletions'][_0x3022af],_0x600b2c=_0x267a36['insertions'][_0x3022af];for(const {userId:_0x27407e}of this['_touchedMarkers']['values']())null!==_0x27407e&&_0x5da96c['add'](_0x27407e);for(const {userId:_0x5ba9fd}of this['_touchedRoots']['values']())null!==_0x5ba9fd&&_0x5da96c['add'](_0x5ba9fd);this['_markChanges'](_0x600b2c,_0x25e56a['insertions'][_0x3022af],_0x3f06e2,'insertion',_0x5da96c),this['_markChanges'](_0x102876,_0x25e56a['deletions'][_0x3022af],_0x552dc8,'deletion',_0x5da96c),_0x23e069[_0x3022af]={'insertions':this['_prepareViewToSave'](_0x600b2c),'deletions':this['_prepareViewToSave'](_0x102876),'attachChange':this['_touchedRoots']['get'](_0x3022af)||null,'attributesBefore':_0x1da15f(this['_baseRootsAttributes']['get'](_0x3022af))||{},'attributesAfter':_0x1da15f(this['_diffRootsAttributes']['get'](_0x3022af))};}return{'diffData':_0x23e069,'authorsIds':Array['from'](_0x5da96c)};}['_processRootBeforeSave'](_0x437361){for(const [,_0x34b868]of _0x437361['markers']){const _0x304f30=_0x34b868['start']['getAncestors']()['filter'](_0x482e75=>'tableCell'==_0x482e75['name']);for(const _0x1bd568 of _0x304f30)0x1==_0x1bd568['childCount']&&_0x1bd568['getChild'](0x0)['is']('element','paragraph')&&_0x1bd568['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4fa6aa){this['_processRootBeforeSave'](_0x4fa6aa);const _0x180351=this['editor']['data']['toView'](_0x4fa6aa,{}),_0x484196=Array['from'](_0x180351['getChildren']())['map'](_0xdc91cd=>this['_getViewJson'](_0xdc91cd));return JSON['stringify'](_0x484196);}['_getViewJson'](_0x26163e){if(_0x26163e['is']('$text'))return _0x26163e['data'];{const _0x51b042=_0x26163e;return{'type':Object['keys'](T)['find'](_0x51ab46=>_0x26163e instanceof T[_0x51ab46]),'name':_0x51b042['name'],'attributes':Array['from'](_0x51b042['getAttributes']()),'children':Array['from'](_0x51b042['getChildren']())['map'](_0x2a708c=>this['_getViewJson'](_0x2a708c))};}}['_markChanges'](_0x575230,_0x29947a,_0x1b05b,_0x3ce565,_0x5456c4){let _0x583363=null,_0x487907=null,_0x54881b=0x0;const _0x198d23=this['editor']['model'];for(let _0x1d4006=0x0;_0x1d4006<_0x29947a['length'];_0x1d4006++){const _0x3d9ce1=this['_getVidAttributeName'](_0x29947a[_0x1d4006]),_0xf456a7=_0x29947a[_0x1d4006]['item']['getAttribute'](_0x3d9ce1),_0x36e6a9=_0x1b05b['get'](_0xf456a7),_0x21469d=_0x1d4006==_0x29947a['length']-0x1;(!_0x583363&&_0x36e6a9&&(_0x583363=_0x36e6a9,_0x487907=_0x29947a[_0x1d4006]),_0x583363&&(!_0x36e6a9||_0x36e6a9['userId']!=_0x583363['userId']))&&(_0x23cb55(_0x36e6a9,L(_0x487907,_0x575230,_0x198d23),L(_0x29947a[_0x1d4006],_0x575230,_0x198d23)),_0x583363=_0x36e6a9||null,_0x487907=_0x36e6a9?_0x29947a[_0x1d4006]:null),_0x583363&&_0x21469d&&_0x23cb55(_0x36e6a9,L(_0x487907,_0x575230,_0x198d23),W(_0x29947a[_0x1d4006],_0x575230,_0x198d23));}function _0x23cb55(_0x14993f,_0x587b85,_0x42e29e){const _0x4aa705=_0x583363['userId'],_0xf56c58='revision:'+_0x3ce565+':'+_0x4aa705+':'+_0x54881b++,_0x48fd60=_0x198d23['createRange'](_0x587b85,_0x42e29e);_0x575230['markers']['set'](_0xf56c58,_0x48fd60),null!==_0x4aa705&&_0x5456c4['add'](_0x4aa705);}}['_getVidAttributeName'](_0x4199b2){switch(_0x4199b2['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5e2e6e,_0x538b01){_0x5e2e6e['baseVersion']=null;for(const _0x4bc40e in _0x5e2e6e){const _0x42f2cc=_0x5e2e6e[_0x4bc40e];if(_0x42f2cc instanceof gt){const _0x29c53e=_0x538b01['get'](_0x42f2cc['root']['rootName']);_0x5e2e6e[_0x4bc40e]=this['_fixPosition'](_0x42f2cc,_0x29c53e);}if(_0x42f2cc instanceof vt){const _0x29270b=_0x538b01['get'](_0x42f2cc['root']['rootName']);_0x5e2e6e[_0x4bc40e]=this['_fixRange'](_0x42f2cc,_0x29270b);}'root'===_0x4bc40e&&(_0x5e2e6e['root']=_0x538b01['get'](_0x5e2e6e['root']['rootName']));}}['_fixRange'](_0x2e998c,_0x43d725){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2e998c['start'],_0x43d725),this['_fixPosition'](_0x2e998c['end'],_0x43d725));}['_fixPosition'](_0x2eec90,_0x30e62e){return this['editor']['model']['createPositionFromPath'](_0x30e62e,_0x2eec90['path'],_0x2eec90['stickiness']);}['_handleInsertOperation'](_0x209da3){const _0x5e3b22=this['_idsRoots']['get'](_0x209da3['position']['root']['rootName']),_0x2d51b3=this['_fixPosition'](_0x209da3['position'],_0x5e3b22),_0x3ee20a=null===_0x209da3['_authorId']?null:_0x209da3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x35a26b=_0x2d51b3['parent'],_0x38c41f=this['_revisionId'],_0x42ef75=[];for(const _0x21c56e of _0x209da3['nodes'])if(_0x21c56e['is']('element'))_0x42ef75['push'](this['_makeIdsRoot'](_0x21c56e));else{for(let _0x327763=0x0;_0x327763<_0x21c56e['offsetSize'];_0x327763++)_0x42ef75['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x46aeaf=this['_revisionId'];for(let _0x304083=_0x38c41f;_0x304083<_0x46aeaf;_0x304083++)this['_touched']['set'](_0x304083,{'userId':_0x3ee20a});_0x35a26b['_insertChild'](_0x2d51b3['offset'],_0x42ef75);}['_handleMoveOperation'](_0x19fb0a){(_0x19fb0a=this['_cloneOperation'](_0x19fb0a,this['_idsRoots']))['_execute']();const _0x17edcd=null===_0x19fb0a['_authorId']?null:_0x19fb0a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56c284=_0x19fb0a['getMovedRangeStart'](),_0x6c15d8=_0x56c284['parent'],_0x3b4445=_0x56c284['offset'];!function _0x270fd3(_0x40ed34,_0x3b152a,_0x338832,_0x39678e){for(let _0x1a4e10=_0x338832;_0x1a4e10<_0x39678e;_0x1a4e10++){const _0x8b04bb=_0x3b152a['getChild'](_0x1a4e10);_0x8b04bb['is']('element','$text')?_0x40ed34['set'](_0x8b04bb['getAttribute']('vid'),{'userId':_0x17edcd}):(_0x40ed34['set'](_0x8b04bb['getAttribute']('vid_start'),{'userId':_0x17edcd}),_0x270fd3(_0x40ed34,_0x8b04bb,0x0,_0x8b04bb['childCount']),_0x40ed34['set'](_0x8b04bb['getAttribute']('vid_end'),{'userId':_0x17edcd}));}}(this['_touched'],_0x6c15d8,_0x3b4445,_0x3b4445+_0x19fb0a['howMany']);}['_handleMergeOperation'](_0x259817){const _0x2d29e3=null===(_0x259817=this['_cloneOperation'](_0x259817,this['_idsRoots']))['_authorId']?null:_0x259817['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x209210=_0x259817['targetPosition']['parent'],_0x49e613=_0x259817['sourcePosition']['parent'],_0x7eb4d4=_0x209210['getAttribute']('vid_end'),_0x385070=_0x49e613['getAttribute']('vid_start');_0x209210['_setAttribute']('vid_end',_0x49e613['getAttribute']('vid_end')),_0x49e613['_setAttribute']('vid_end',_0x7eb4d4),this['_touched']['set'](_0x385070,{'userId':_0x2d29e3}),this['_touched']['set'](_0x7eb4d4,{'userId':_0x2d29e3}),_0x259817['_execute']();}['_handleSplitOperation'](_0x2af604){const _0x451652=null===(_0x2af604=this['_cloneOperation'](_0x2af604,this['_idsRoots']))['_authorId']?null:_0x2af604['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2e0056=_0x2af604['graveyardPosition'],_0x11c214=_0x2af604['splitPosition']['parent'];_0x2af604['_execute']();const _0x11bd8a=_0x11c214['getAttribute']('vid_end'),_0x1e2cd1=_0x2af604['insertionPosition']['nodeAfter'];if(_0x2e0056){const _0x3a9571=_0x1e2cd1['getAttribute']('vid_end'),_0x41ca5a=_0x11c214['getAttribute']('vid_end');_0x11c214['_setAttribute']('vid_end',_0x3a9571),_0x1e2cd1['_setAttribute']('vid_end',_0x41ca5a),this['_touched']['set'](_0x11c214['getAttribute']('vid_end'),{'userId':_0x451652}),this['_touched']['set'](_0x1e2cd1['getAttribute']('vid_start'),{'userId':_0x451652});}else{const _0x5746d9=this['_revisionId']++,_0x4c5781=this['_revisionId']++;_0x11c214['_setAttribute']('vid_end',_0x5746d9),_0x1e2cd1['_setAttribute']('vid_start',_0x4c5781),_0x1e2cd1['_setAttribute']('vid_end',_0x11bd8a),this['_touched']['set'](_0x5746d9,{'userId':_0x451652}),this['_touched']['set'](_0x4c5781,{'userId':_0x451652});}}['_handleMarkerOperation'](_0x1755b4){if(!_0x1755b4['affectsData'])return;const _0x29b759=(_0x1755b4=this['_cloneOperation'](_0x1755b4,this['_diffRoots']))['oldRange']?_0x1755b4['oldRange']['root']:null,_0x166856=_0x1755b4['newRange']?_0x1755b4['newRange']['root']:null;_0x29b759&&this['_markers']['delete'](_0x1755b4['name']),_0x166856&&this['_markers']['set'](_0x1755b4['name'],_0x1755b4['newRange']['clone']());const _0x5187e5=null===_0x1755b4['_authorId']?null:_0x1755b4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xa4f725=_0x1755b4['name'];if(!this['_touchedMarkers']['has'](_0xa4f725))return void this['_touchedMarkers']['set'](_0xa4f725,{'range':_0x1755b4['oldRange'],'userId':_0x5187e5});const _0x4e23d0=this['_touchedMarkers']['get'](_0xa4f725),_0x349bf1=_0x4e23d0['range'],_0x56ef21=_0x1755b4['newRange'];null==_0x349bf1&&null==_0x56ef21||_0x349bf1&&_0x56ef21&&_0x349bf1['isEqual'](_0x56ef21)?this['_touchedMarkers']['delete'](_0x1755b4['name']):_0x4e23d0['userId']=_0x5187e5;}['_handleRootOperation'](_0x27e71e,_0x1dd7a1){this['_diffRoots']['has'](_0x27e71e['rootName'])?this['_diffRoots']['get'](_0x27e71e['rootName'])['_isAttached']=_0x27e71e['isAdd']:(this['_diffRoots']['set'](_0x27e71e['rootName'],G(_0x27e71e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x27e71e['rootName'],{}),_0x1dd7a1&&this['_idsRoots']['set'](_0x27e71e['rootName'],G(_0x27e71e['rootName'],!0x0)));const _0x3242e4=null===_0x27e71e['_authorId']?null:_0x27e71e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x64fcf6=this['_touchedRoots']['get'](_0x27e71e['rootName']);_0x64fcf6&&_0x64fcf6['userId']===_0x3242e4?this['_touchedRoots']['delete'](_0x27e71e['rootName']):this['_touchedRoots']['set'](_0x27e71e['rootName'],{'userId':_0x3242e4,'isAttached':_0x27e71e['isAdd']});}['_handleRootAttributeOperation'](_0x3376ef){const _0x11107d=this['_diffRootsAttributes']['get'](_0x3376ef['root']['rootName']);null===_0x3376ef['newValue']?delete _0x11107d[_0x3376ef['key']]:_0x11107d[_0x3376ef['key']]=_0x3376ef['newValue'];}}function q(_0xc0fb16){const _0x3f1862=G(_0xc0fb16['rootName'],_0xc0fb16['isAttached']());for(const _0x3d25f2 of _0xc0fb16['getChildren']()){const _0x17a6a5=_0x3d25f2['_clone'](!0x0);_0x3f1862['_appendChild'](_0x17a6a5);}return _0x3f1862;}function G(_0x5532aa,_0x247a78=!0x0){const _0x28e6e2=new wt();return _0x28e6e2['rootName']=_0x5532aa,_0x28e6e2['_isAttached']=_0x247a78,_0x28e6e2['isAttached']=()=>_0x28e6e2['_isAttached'],_0x28e6e2;}function L(_0x1e8437,_0x562371,_0x4a4494){const _0x466bee='elementEnd'==_0x1e8437['type']?_0x4a4494['createPositionAt'](_0x1e8437['item'],'end'):_0x4a4494['createPositionBefore'](_0x1e8437['item']);return _0x4a4494['createPositionFromPath'](_0x562371,_0x466bee['path'],_0x466bee['stickiness']);}function W(_0x193fd1,_0x2c9ca4,_0x49898d){const _0x4b83e7='elementStart'==_0x193fd1['type']?_0x49898d['createPositionAt'](_0x193fd1['item'],0x0):_0x49898d['createPositionAfter'](_0x193fd1['item']);return _0x49898d['createPositionFromPath'](_0x2c9ca4,_0x4b83e7['path'],_0x4b83e7['stickiness']);}class ns extends _0x11d177{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x516b59,_0x38ebbe){super(_0x516b59),this['focusTracker']=new _0x22ce41(),this['keystrokes']=new _0x5a2129(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x38ebbe),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'](),_0x552517({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2e6bfd=_0x524df4=>_0x524df4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2e6bfd),this['keystrokes']['set']('arrowleft',_0x2e6bfd),this['keystrokes']['set']('arrowup',_0x2e6bfd),this['keystrokes']['set']('arrowdown',_0x2e6bfd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1628f1){this['revisionNameInputView']['fieldView']['element']['value']=_0x1628f1['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x67fed3){const _0x54456a=new at(this['locale'],_0x30d984),_0x56fcae=_0x54456a['fieldView'];_0x56fcae['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4b4649=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x67fed3&&(_0x4b4649+='\x20('+y(this['locale'],'optional')+')'),(_0x54456a['label']=_0x4b4649,_0x56fcae['on']('input',()=>{this['revisionNameInputValue']=_0x56fcae['element']['value']['trim']();}),_0x54456a);}}class u extends _0x272b53{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x26b81a=this['editor'],_0x4ac753=_0x26b81a['plugins']['get']('RevisionTracker');_0x26b81a['ui']['componentFactory']['add']('revisionHistory',_0x45d00c=>{const _0x1ed043=_0x1a233a(_0x45d00c),_0x412cfd=_0x1ed043['panelView']['children'],_0x2fa90a=new te(_0x45d00c),_0x4d8c90=new _0x1d28eb(_0x45d00c),_0x2b2491=new _0x3b6c97(_0x45d00c),_0x58c6a4=new _0x1d28eb(_0x45d00c),_0x82d313=new _0x3b6c97(_0x45d00c);return _0x1ed043['bind']('isEnabled')['to'](_0x4ac753,'isReady',_0x4ac753,'isEnabled',_0x26b81a,'isReadOnly',(_0x4f59ff,_0x556f64,_0xcf6851)=>_0x4f59ff&&_0x556f64&&!_0xcf6851),_0x1ed043['buttonView']['set']({'icon':_0x38bd28['history'],'label':y(_0x45d00c,'Revision\x20history'),'tooltip':!0x0}),_0x2b2491['set']({'label':y(_0x45d00c,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2b2491['bind']('isEnabled')['to'](_0x4ac753,'isReady',_0x4ac753,'isEnabled',_0x26b81a,'isReadOnly',(_0x4d87d2,_0x98a080,_0x13ec74)=>_0x4d87d2&&_0x98a080&&!_0x13ec74),_0x2b2491['on']('execute',()=>this['_showDialog']()),_0x82d313['set']({'label':y(_0x45d00c,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x82d313['bind']('isEnabled')['to'](_0x4ac753,'isReady',_0x26b81a,'isReadOnly',(_0x4e293d,_0x386d18)=>_0x4e293d&&!_0x386d18),_0x82d313['on']('execute',()=>{_0x26b81a['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1ed043['isOpen']=!0x1,_0x26b81a['editing']['view']['focus']();}),_0x4d8c90['children']['add'](_0x2b2491),_0x58c6a4['children']['add'](_0x82d313),_0x2fa90a['role']='menu',_0x2fa90a['items']['addMany']([_0x4d8c90,_0x58c6a4]),_0x412cfd['add'](_0x2fa90a),_0x1ed043;}),_0x26b81a['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4f7187=this['editor'],_0x2e6bc0=_0x4f7187['locale'],_0x3ba2d3=new _0x25d1f(_0x2e6bc0),_0x1e0453=new _0x2267f9(_0x2e6bc0);_0x3ba2d3['buttonView']['set']({'icon':_0x38bd28['history'],'label':y(_0x2e6bc0,'Revision\x20history')});const _0x6e0723=new _0xbf0f8(_0x2e6bc0,_0x3ba2d3),_0x594e62=new _0x143807(_0x2e6bc0);_0x594e62['set']({'label':y(_0x2e6bc0,'Save\x20current\x20revision')}),_0x594e62['delegate']('execute')['to'](_0x3ba2d3),_0x594e62['on']('execute',()=>{this['_showDialog']();}),_0x6e0723['children']['add'](_0x594e62),_0x1e0453['items']['add'](_0x6e0723);const _0x1dbed5=new _0xbf0f8(_0x2e6bc0,_0x3ba2d3),_0x5adb85=new _0x143807(_0x2e6bc0);return _0x5adb85['set']({'label':y(_0x2e6bc0,'Open\x20revision\x20history')}),_0x5adb85['delegate']('execute')['to'](_0x3ba2d3),_0x5adb85['on']('execute',()=>{_0x4f7187['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1dbed5['children']['add'](_0x5adb85),_0x1e0453['items']['add'](_0x1dbed5),_0x3ba2d3['panelView']['children']['add'](_0x1e0453),_0x3ba2d3;}['_showDialog'](){const _0x494fbe=this['editor'],_0xfa61e=_0x494fbe['locale'],t=_0xfa61e['t'],_0x2cbd86=_0x494fbe['plugins']['get']('Dialog'),_0x590ec0=_0x494fbe['plugins']['get']('RevisionTracker');function _0x319074(_0x5e96f4){_0x494fbe['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5e96f4['revisionName']?_0x5e96f4['revisionNameInputView']['errorText']=y(_0xfa61e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x494fbe['plugins']['get'](l)['saveRevision']({'name':_0x5e96f4['revisionName']}),_0x2cbd86['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x319074(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2cbd86['show']({'id':'revisionSave','title':y(_0xfa61e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2cbd86['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x6b410d){_0x6b410d['bind']('isEnabled')['to'](_0x590ec0,'isReady',_0x590ec0,'isEnabled',_0x494fbe,'isReadOnly',(_0xd9cd06,_0x10f231,_0x5a8758)=>_0xd9cd06&&_0x10f231&&!_0x5a8758);},'onExecute':()=>_0x319074(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2bd597=this['editor'],_0x3ac4e8=_0x2bd597['locale'];this['_saveRevisionFormView']=new ns(_0x3ac4e8,_0x2bd597['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x11d177{['changeId'];['_model'];constructor(_0x346432,_0x468be9){super(_0x346432),this['_model']=_0x468be9,this['changeId']=_0x468be9['id'];const _0x5e1f19=this['bindTemplate'],_0x99d3a=y(_0x346432,_0x468be9['data']['isSuggestion']?'Suggested\x20by':'add'==_0x468be9['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x468be9['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5e1f19['to']('type',_0x2676c7=>'ck-revision-change__'+_0x2676c7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x99d3a}]},{'text':'\x20'+_0x468be9['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5c2ad3(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x532a12){super(),this['id']=_0x532a12['id']||_0x23f015(),this['author']=_0x532a12['author'],this['type']=_0x532a12['type'],this['data']=_0x532a12['data']||{},this['rootName']=_0x532a12['rootName'],this['set']('createdAt',_0x532a12['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(_0x13fc7d,_0x35d129){this['newRevisionId']=_0x13fc7d,this['oldRevisionId']=_0x35d129,this['changes']=new _0x59ce7c();}['_setChanges'](_0x5e637d){for(const _0x420fbb of _0x5e637d)this['changes']['add'](_0x420fbb);}}const tt={'c':_0xe0ebb9,'a':_0x44545e,'e':_0x54ea1f,'r':_0xbcc25,'u':_0x5c707b};class d extends _0x272b53{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1bde87,_0x1b1c4f,A];}constructor(_0x4493cc){super(_0x4493cc),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',(_0x3adf5a,_0x3a875d,_0x1be3df)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0xe90a16=>{for(const _0x3f2a12 of this['editor']['editing']['view']['document']['roots'])_0x1be3df?_0xe90a16['removeClass']('ck-editor__editable__overlay',_0x3f2a12):_0xe90a16['addClass']('ck-editor__editable__overlay',_0x3f2a12);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xd4d6bb=>null!==_0xd4d6bb),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3f74df,_0x5c3f66,_0x793dd7)=>_0x3f74df&&_0x793dd7?_0x5c3f66['changes']['getIndex'](_0x793dd7):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x20459a,_0x59be3f)=>_0x20459a?_0x59be3f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1b1c4f);}['init'](){const _0x7f19d4=this['editor'],_0x4875e3=new yt(_0x7f19d4,{'direction':'backward'}),_0x3287f7=new yt(_0x7f19d4,{'direction':'forward'});(_0x7f19d4['commands']['add']('showPreviousChange',_0x4875e3),_0x7f19d4['commands']['add']('showNextChange',_0x3287f7),_0x7f19d4['commands']['add']('restoreRevision',new bt(_0x7f19d4)),this['on']('change:numberOfChanges',()=>{_0x4875e3['refresh'](),_0x3287f7['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x7f19d4['enableReadOnlyMode']('revision-viewer'),_0x7f19d4['plugins']['has']('WidgetToolbarRepository'))&&_0x7f19d4['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x12659b){await this['loadRevisionData'](_0x12659b);const _0x503d5c={};for(const _0x4b55ec in _0x12659b['diffData']){if(_0x12659b['diffData'][_0x4b55ec]['attachChange']&&!_0x12659b['diffData'][_0x4b55ec]['attachChange']['isAttached'])continue;const _0x130f27=this['_removeRevisionMarkers'](JSON['parse'](_0x12659b['diffData'][_0x4b55ec]['insertions'])),_0x1e4c22=this['editor']['editing']['view']['document'],_0x204bb2=new _0x132e6e(_0x1e4c22,_0x130f27['map'](_0x23cb1f=>this['_getViewObj'](_0x23cb1f)));this['editor']['data']['processor']['useFillerType']('marked'),_0x503d5c[_0x4b55ec]=this['editor']['data']['processor']['toData'](_0x204bb2),this['editor']['data']['processor']['useFillerType']('default');}return _0x503d5c;}async['getRevisionRootsAttributes'](_0x174242){await this['loadRevisionData'](_0x174242);const _0x43d34b={};for(const _0x5b3bd0 in _0x174242['diffData'])_0x174242['diffData'][_0x5b3bd0]['attachChange']&&!_0x174242['diffData'][_0x5b3bd0]['attachChange']['isAttached']||(_0x43d34b[_0x5b3bd0]=_0x174242['diffData'][_0x5b3bd0]['attributesAfter']||{});return _0x43d34b;}['_removeRevisionMarkers'](_0x46a20e){return(_0x46a20e=_0x46a20e['filter'](_0x15ec36=>!_0x15ec36['name']||'revision-start'!==_0x15ec36['name']&&'revision-end'!==_0x15ec36['name']))['forEach'](_0x5903b3=>{'string'!=typeof _0x5903b3&&(_0x5903b3['children']=this['_removeRevisionMarkers'](_0x5903b3['children']),_0x5903b3['attributes']=_0x5903b3['attributes']['filter'](_0x71b928=>!_0x71b928[0x0]['startsWith']('data-revision-')));}),_0x46a20e;}async['compare'](_0x5f2e58,_0x34ed85,_0x4c83c4=!0x1){if(!this['isEnabled'])return;const _0x1cb278=this['diff'],_0x496f11=this['repository'],_0x23d8ed='string'==typeof _0x5f2e58?_0x496f11['getRevision'](_0x5f2e58):_0x5f2e58,_0xe3108f='string'==typeof _0x34ed85?_0x496f11['getRevision'](_0x34ed85):_0x34ed85,_0x1423a5=_0x23d8ed['id'],_0x51104f=_0xe3108f?_0xe3108f['id']:null;if(!_0x4c83c4&&this['diff']&&this['diff']['newRevisionId']===_0x1423a5&&this['diff']['oldRevisionId']===_0x51104f)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1423a5,_0x51104f);const _0x51fa3c=this['_getRevisionsRange'](_0x23d8ed,_0xe3108f,!0x0)['map'](_0x43a3dc=>this['loadRevisionData'](_0x43a3dc));return _0x51fa3c['push'](new Promise(_0x15e524=>{setTimeout(_0x15e524,0x14);})),Promise['all'](_0x51fa3c)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3f199c=this['_getDiff'](_0x1423a5,_0x51104f);for(const _0x13bbac of _0x3f199c['changes'])this['_changeIdToChange']['set'](_0x13bbac['id'],_0x13bbac);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x37fda8=>{for(const _0x3a7438 of this['editor']['model']['document']['getRootNames']())_0x37fda8['detachRoot'](_0x3a7438);for(const _0x135f63 of Object['keys'](_0x3f199c['model'])){const _0x5d71bc=_0x37fda8['addRoot'](_0x135f63);for(const _0x475e35 of Object['keys'](_0x3f199c['attributes'][_0x135f63]))_0x37fda8['setAttribute'](_0x475e35,_0x3f199c['attributes'][_0x135f63][_0x475e35],_0x5d71bc);_0x37fda8['insert'](_0x3f199c['model'][_0x135f63],_0x5d71bc,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3f199c['changes'])),this['isReady']=!0x0;})['catch'](_0x45e1f6=>{console['error'](_0x45e1f6),this['_cleanUp'](),_0x1cb278&&(this['diff']=_0x1cb278),this['isReady']=!0x0;});}['addRevisionData'](_0x28b944,_0x42dde3){const _0x41e2a1=this['repository']['createRevision'](_0x28b944);return _0x41e2a1['on']('_update',(_0x8e60b0,_0x55ae39,_0x5d4491)=>_0x42dde3(_0x55ae39,_0x5d4491,_0x41e2a1)),this['repository']['addRevision'](_0x41e2a1),_0x41e2a1;}['loadRevisionData'](_0x5a33be){if(!_0x5a33be||_0x5a33be['diffData'])return Promise['resolve']();{const _0x150877=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x150877,'revisionId':_0x5a33be['id']})['then'](_0x50a297=>{_0x5a33be['_update']({'diffData':_0x50a297['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},_0x2423ec=>{for(const _0x45949f of this['editor']['model']['document']['getRootNames']())_0x2423ec['detachRoot'](_0x45949f);});}['_sortAndFilterDiffChanges'](_0x23d863){const _0x3e6deb=[],_0x283112=new Map();for(const _0x4b246c of this['editor']['model']['document']['getRootNames']()){const _0x2dd43a=this['editor']['editing']['view']['getDomRoot'](_0x4b246c);if(!_0x2dd43a)continue;const _0x26a5f0=_0x2dd43a['getClientRects']()['item'](0x0);_0x26a5f0&&(_0x3e6deb['push'](_0x4b246c),_0x283112['set'](_0x4b246c,_0x26a5f0));}return _0x3e6deb['sort']((_0x233ef0,_0x55db8e)=>{const _0xd339c6=_0x283112['get'](_0x233ef0),_0x56218=_0x283112['get'](_0x55db8e);return _0xd339c6['y']-_0x56218['y']||_0xd339c6['x']-_0x56218['x'];}),(_0x23d863=_0x23d863['filter'](_0x3ea1fb=>_0x3e6deb['includes'](_0x3ea1fb['rootName'])))['sort']((_0x467cb6,_0x575240)=>_0x3e6deb['indexOf'](_0x467cb6['rootName'])-_0x3e6deb['indexOf'](_0x575240['rootName'])),_0x23d863;}['_makeTape'](_0x3d9093){const _0x1ee8cb=Array['from'](_0x3d9093['markers'])['filter'](([_0x2b96b6,_0x4e4af2])=>_0x2b96b6['startsWith']('revision:')&&!_0x4e4af2['isCollapsed']),_0x4758a8=Array['from'](this['editor']['model']['createRangeIn'](_0x3d9093)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1ee8cb['length'])for(const _0x1e0c69 of _0x4758a8){const [_0x53592b,_0x55fc1f]=_0x1ee8cb[0x0],[,_0x3f1dd1,_0x4d6436]=_0x53592b['split'](':');if(_0x55fc1f['end']['isEqual'](_0x1e0c69['nextPosition'])&&_0x1ee8cb['shift'](),(_0x1e0c69['previousPosition']['isEqual'](_0x55fc1f['start'])||_0x1e0c69['previousPosition']['isAfter'](_0x55fc1f['start']))&&('insertion'==_0x3f1dd1?_0x1e0c69['isAdded']={'userId':_0x4d6436}:'deletion'==_0x3f1dd1&&(_0x1e0c69['isRemoved']={'userId':_0x4d6436})),0x0==_0x1ee8cb['length'])break;}return _0x4758a8;}['_refreshStartEndIndex'](_0x5ac46c){const _0x1d6c89=new Map();for(let _0x200154=0x0;_0x200154<_0x5ac46c['length'];_0x200154++)'text'===_0x5ac46c[_0x200154]['type']?(_0x5ac46c[_0x200154]['item']['startIndex']=_0x200154,_0x5ac46c[_0x200154]['item']['endIndex']=_0x200154):('elementStart'===_0x5ac46c[_0x200154]['type']?_0x5ac46c[_0x200154]['item']['startIndex']=_0x200154:'elementEnd'===_0x5ac46c[_0x200154]['type']&&(_0x5ac46c[_0x200154]['item']['endIndex']=_0x200154),_0x1d6c89['set'](_0x5ac46c[_0x200154]['id'],_0x200154));for(const _0x5d48dd of _0x1d6c89['values']())'elementStart'===_0x5ac46c[_0x5d48dd]['type']?_0x5ac46c[_0x5d48dd]['item']['endIndex']=_0x1d6c89['get'](_0x5ac46c[_0x5d48dd]['pairId']):'elementEnd'===_0x5ac46c[_0x5d48dd]['type']&&(_0x5ac46c[_0x5d48dd]['item']['startIndex']=_0x1d6c89['get'](_0x5ac46c[_0x5d48dd]['pairId']));}['_processTape'](_0xa64ef8){for(let _0x3731a3=0x0;_0x3731a3<_0xa64ef8['length'];_0x3731a3++){if('elementStart'===_0xa64ef8[_0x3731a3]['type'])_0xa64ef8[_0x3731a3]['item']['startIndex']=_0x3731a3;else{if('elementEnd'===_0xa64ef8[_0x3731a3]['type']){_0xa64ef8[_0x3731a3]['item']['endIndex']=_0x3731a3;const _0x364ca9=_0xa64ef8[_0x3731a3]['item']['startIndex'];_0xa64ef8[_0x364ca9]['pairId']=_0xa64ef8[_0x3731a3]['id'],_0xa64ef8[_0x3731a3]['pairId']=_0xa64ef8[_0x364ca9]['id'];}else _0xa64ef8[_0x3731a3]['item']['startIndex']=_0x3731a3,_0xa64ef8[_0x3731a3]['item']['endIndex']=_0x3731a3,_0xa64ef8[_0x3731a3]['pairId']=null;}_0xa64ef8[_0x3731a3]['markersStart']||(_0xa64ef8[_0x3731a3]['markersStart']=[],_0xa64ef8[_0x3731a3]['markersEnd']=[]);}}['_markInsertions'](_0x3c27d6,_0x4762b1){const _0x2f58a8=_0x3c27d6['filter'](_0x18b3d8=>!_0x18b3d8['isAdded']);for(let _0x5f3c1a=0x0;_0x5f3c1a<_0x4762b1['length'];_0x5f3c1a++)_0x4762b1[_0x5f3c1a]['isAdded']&&(_0x2f58a8[_0x5f3c1a]['isAdded']=_0x4762b1[_0x5f3c1a]['isAdded']);}['_makeModelFromViewString'](_0x34e5a7){const _0x83e858=JSON['parse'](_0x34e5a7),_0x228610=this['editor']['editing']['view']['document'],_0x1c3737=new _0x132e6e(_0x228610,_0x83e858['map'](_0x37e117=>this['_getViewObj'](_0x37e117)));return this['editor']['data']['toModel'](_0x1c3737);}['_getViewObj'](_0x215f58){const _0x1c3666=this['editor']['editing']['view']['document'];if('string'==typeof _0x215f58)return new _0x4b379f(_0x1c3666,_0x215f58);{const _0x19359b=_0x215f58['children']['map'](_0x521c93=>this['_getViewObj'](_0x521c93));return new(tt[_0x215f58['type']]||_0x149910)(_0x1c3666,_0x215f58['name'],_0x215f58['attributes'],_0x19359b);}}['_getDiff'](_0x13f1a0,_0x1e0950=null){const _0x2331f6=this['repository']['getRevision'](_0x13f1a0),_0x24e494=_0x1e0950?this['repository']['getRevision'](_0x1e0950):null,_0x358a0b=this['_getRevisionsRange'](_0x2331f6,_0x24e494),_0x24a6c8=_0x358a0b[_0x358a0b['length']-0x1],_0x45c642=new Map(),_0x4e2c4f={'model':{},'attributes':{},'changes':[]},_0x470fc6=new Set(),_0x2a08f2=new Map();for(let _0x54f03c=_0x358a0b['length']-0x1;_0x54f03c>=0x0;_0x54f03c--){const _0x2405b9=_0x358a0b[_0x54f03c];for(const _0x35c42a of Object['keys'](_0x2405b9['diffData']))if(_0x2405b9['diffData'][_0x35c42a]['attachChange']){const _0xabe5a3=_0x2405b9['diffData'][_0x35c42a]['attachChange'];_0xabe5a3['isAttached']?(_0x470fc6['add'](_0x35c42a),_0x2a08f2['has'](_0x35c42a)&&_0x2a08f2['get'](_0x35c42a)['userId']==_0xabe5a3['userId']?_0x2a08f2['delete'](_0x35c42a):_0x2a08f2['set'](_0x35c42a,_0xabe5a3)):_0x2a08f2['has'](_0x35c42a)?(_0x470fc6['delete'](_0x35c42a),_0x2a08f2['delete'](_0x35c42a)):(_0x470fc6['add'](_0x35c42a),_0x2a08f2['set'](_0x35c42a,_0xabe5a3));}else _0x470fc6['add'](_0x35c42a);}for(const _0x4a3c48 of _0x470fc6){const _0x599f13=_0x2a08f2['has'](_0x4a3c48)&&!_0x2a08f2['get'](_0x4a3c48)['isAttached'];let _0x1e2d59=_0x599f13?_0x358a0b['length']-0x1:0x0;const _0x4f896f=_0x599f13?-0x1:0x1;for(;_0x358a0b[_0x1e2d59];){const _0x298743=_0x358a0b[_0x1e2d59];if(_0x298743['diffData'][_0x4a3c48]){const _0x1ecc1f=_0x599f13?_0x298743['diffData'][_0x4a3c48]['attributesBefore']:_0x298743['diffData'][_0x4a3c48]['attributesAfter'];_0x4e2c4f['attributes'][_0x4a3c48]=_0x1ecc1f?_0x1da15f(_0x1ecc1f):{};break;}_0x1e2d59+=_0x4f896f;}}for(const _0x41e1f9 of _0x358a0b){_0x41e1f9['model']={};for(const _0x2ad328 of _0x41e1f9['authors'])_0x45c642['set'](_0x2ad328['id'],_0x2ad328);for(const _0x1f5bb6 of _0x470fc6){const _0x5ec35c=_0x41e1f9['diffData'][_0x1f5bb6]?_0x41e1f9['diffData'][_0x1f5bb6]['insertions']:'[]',_0x31ec68=_0x41e1f9['diffData'][_0x1f5bb6]?_0x41e1f9['diffData'][_0x1f5bb6]['deletions']:'[]';_0x41e1f9['model'][_0x1f5bb6]={'insertions':this['_makeModelFromViewString'](_0x5ec35c),'deletions':this['_makeModelFromViewString'](_0x31ec68)};}}for(const _0x1bc912 of _0x470fc6){let _0x5493fc=null,_0x9597aa=0x0;const _0x40d8dd=new Map(Array['from'](_0x2331f6['model'][_0x1bc912]['insertions']['markers'])['filter'](([_0x50af2a])=>!_0x50af2a['startsWith']('revision:')));let _0x1a2a61=0x0;for(const _0x586bc8 of _0x358a0b){const _0x51fe2b=this['_makeTape'](_0x586bc8['model'][_0x1bc912]['insertions']);_0x586bc8==_0x2331f6?(_0x5493fc=_0x51fe2b,_0x9597aa=_0x5493fc['length'],_0x5493fc['forEach'](_0xd4e389=>{_0xd4e389['id']=_0x1a2a61++;}),this['_processTape'](_0x5493fc)):this['_markInsertions'](_0x5493fc,_0x51fe2b);const _0x57b299=_0x5493fc['filter'](_0x48057c=>!_0x48057c['isAdded'])['map'](_0x38eb78=>_0x38eb78['id']);let _0x1ac457=0x0;const _0xf786d=this['_makeTape'](_0x586bc8['model'][_0x1bc912]['deletions']);_0xf786d['forEach'](_0x429aa6=>{_0x429aa6['isRemoved']?_0x429aa6['id']=_0x9597aa++:_0x429aa6['id']=_0x57b299[_0x1ac457++];}),this['_processTape'](_0xf786d),this['_setDistance'](_0x5493fc,'isAdded'),this['_setDistance'](_0xf786d,'isRemoved'),_0x586bc8==_0x2331f6&&this['_markMarkers'](_0x5493fc,_0x40d8dd),_0x5493fc=this['_joinTapes'](_0x5493fc,_0xf786d),this['_refreshStartEndIndex'](_0x5493fc),this['_setDistance'](_0x5493fc,'isRemoved');}_0x5493fc=_0x5493fc['filter'](_0x31cbba=>!(_0x31cbba['isAdded']&&_0x31cbba['isRemoved']));const _0x365dcd=new Map(_0x24a6c8['model'][_0x1bc912]['deletions']['markers']),_0x3dcfa3=new Set(_0x40d8dd['keys']());for(const _0x596d7a of _0x365dcd['keys']())_0x3dcfa3['delete'](_0x596d7a);this['_markSuggestions'](_0x5493fc,_0x3dcfa3),this['_fixObsoleteTags'](_0x5493fc),_0x5493fc=this['_removeMissingPairs'](_0x5493fc),_0x5493fc=this['_markMismatchedRemovedTags'](_0x5493fc),_0x5493fc=this['_removeUnsupportedChanges'](_0x5493fc);const {root:_0x3395b2,changes:_0x8208e0}=this['_makeModelFromTape'](_0x5493fc,_0x45c642,_0x1bc912);_0x4e2c4f['model'][_0x1bc912]=_0x3395b2;const _0x2424cc=_0x2a08f2['get'](_0x1bc912);if(_0x2424cc){const _0x1aeba5=_0x45c642['get'](_0x2424cc['userId']),_0xe4e667=new r({'author':_0x1aeba5,'type':_0x2424cc['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1bc912});_0x8208e0['unshift'](_0xe4e667),_0x4e2c4f['attributes'][_0x1bc912]['revisionHistoryAttachChange']=_0xe4e667['id'];}_0x4e2c4f['changes']=_0x4e2c4f['changes']['concat'](_0x8208e0);}return _0x4e2c4f;}['_markMarkers'](_0x3b24e5,_0x5c81d5){for(let _0x109e3c=0x0;_0x109e3c<_0x3b24e5['length'];_0x109e3c++)for(const [_0x54c5b2,_0x344215]of _0x5c81d5)_0x344215['start']['isEqual'](_0x3b24e5[_0x109e3c]['previousPosition'])&&_0x3b24e5[_0x109e3c]['markersStart']['push'](_0x54c5b2),_0x344215['end']['isEqual'](_0x3b24e5[_0x109e3c]['nextPosition'])&&_0x3b24e5[_0x109e3c]['markersEnd']['push'](_0x54c5b2);}['_joinTapes'](_0x52e969,_0x1c40b1){let _0x5eef94=[],_0x15a1fc=0x0,_0x347c51=0x0;for(;_0x15a1fc<_0x52e969['length']||_0x347c51<_0x1c40b1['length'];){const _0x1053af=_0x52e969[_0x15a1fc]||{},_0x1db106=_0x1c40b1[_0x347c51]||{};if(_0x1053af['id']==_0x1db106['id'])_0x15a1fc++,_0x347c51++,_0x5eef94['push'](_0x1053af);else{if(_0x1db106['isRemoved']&&_0x1053af['isAdded']){const {commonTape:_0xa2fe04,iEnd:_0x38bad3,jEnd:_0x4392d1}=this['_threeWayMerge'](_0x52e969,_0x15a1fc,_0x1c40b1,_0x347c51);_0x5eef94=_0x5eef94['concat'](_0xa2fe04),_0x15a1fc=_0x38bad3,_0x347c51=_0x4392d1;}else _0x1db106['isRemoved']?(_0x347c51++,_0x5eef94['push'](_0x1db106)):(_0x15a1fc++,_0x5eef94['push'](_0x1053af));}}return _0x5eef94;}['_markSuggestions'](_0x322b16,_0x58bec0){const _0x17375d=[];for(let _0x156a6f=0x0;_0x156a6f<_0x322b16['length'];_0x156a6f++){for(let _0x418629=0x0;_0x418629<_0x322b16[_0x156a6f]['markersStart']['length'];_0x418629++){const _0x16eb3a=_0x322b16[_0x156a6f]['markersStart'][_0x418629];if(!_0x58bec0['has'](_0x16eb3a))continue;const {group:_0x244664,type:_0xafaa85,authorId:_0x51e045}=_0x21be86(_0x16eb3a);'revision-suggestion'!=_0x244664||'insertion'!=_0xafaa85&&'deletion'!=_0xafaa85||(_0x17375d['unshift']({'type':_0xafaa85,'name':_0x16eb3a,'userId':_0x51e045}),_0x322b16[_0x156a6f]['markersStart']['splice'](_0x418629,0x1),_0x418629--);}_0x37a528(_0x322b16[_0x156a6f]);for(let _0x4ef088=0x0;_0x4ef088<_0x322b16[_0x156a6f]['markersEnd']['length'];_0x4ef088++){const _0x445c0b=_0x322b16[_0x156a6f]['markersEnd'][_0x4ef088];if(!_0x58bec0['has'](_0x445c0b))continue;const {group:_0xdb1577,type:_0x5263cb}=_0x21be86(_0x445c0b);if('revision-suggestion'!=_0xdb1577||'insertion'!=_0x5263cb&&'deletion'!=_0x5263cb)continue;_0x322b16[_0x156a6f]['markersEnd']['splice'](_0x4ef088,0x1),_0x4ef088--;const _0xf51829=_0x17375d['findIndex'](_0x263e2f=>_0x263e2f['name']==_0x445c0b);_0xf51829>-0x1&&_0x17375d['splice'](_0xf51829,0x1);}}function _0x21be86(_0x2b12f0){const _0x1c39fe=_0x2b12f0['split'](':');return{'group':_0x1c39fe[0x0],'type':_0x1c39fe[0x1],'subType':_0x1c39fe['length']>=0x5?_0x1c39fe[0x2]:null,'id':_0x1c39fe['length']<0x5?_0x1c39fe[0x2]:_0x1c39fe[0x3],'authorId':_0x1c39fe['length']<0x5?_0x1c39fe[0x3]:_0x1c39fe[0x4],'markerCount':0x6==_0x1c39fe['length']?_0x1c39fe[0x5]:null};}function _0x37a528(_0x1aec13){for(let _0x51f224=0x0;_0x51f224<_0x17375d['length'];_0x51f224++){if(_0x1aec13['isAdded']&&'insertion'==_0x17375d[_0x51f224]['type'])return _0x1aec13['isAddSuggestion']=_0x17375d[_0x51f224],void delete _0x1aec13['isAdded'];if(!_0x1aec13['isAdded']&&!_0x1aec13['isRemoved']&&'deletion'==_0x17375d[_0x51f224]['type'])return void(_0x1aec13['isRemoveSuggestion']=_0x17375d[_0x51f224]);}}}['_setDistance'](_0x337206,_0x2f4577){let _0xe59dc5=0x0,_0x5dfb15=!0x1;const _0x3e728c=new Map();for(const _0x554833 of _0x337206)_0x554833[_0x2f4577]?_0x5dfb15&&(_0xe59dc5++,_0x5dfb15=!0x1):(_0xe59dc5++,_0x5dfb15=!0x0),_0x3e728c['set'](_0x554833['id'],_0xe59dc5);for(let _0x2c0cb4=0x0;_0x2c0cb4<_0x337206['length'];_0x2c0cb4++){if('isRemoved'==_0x2f4577&&_0x337206[_0x2c0cb4]['isAdded']||'isAdded'==_0x2f4577&&_0x337206[_0x2c0cb4]['isRemoved'])continue;if('text'==_0x337206[_0x2c0cb4]['type']){_0x337206[_0x2c0cb4]['distance']=0x0;continue;}const _0x167cc5=_0x3e728c['get'](_0x337206[_0x2c0cb4]['pairId']),_0xcf618e=_0x3e728c['get'](_0x337206[_0x2c0cb4]['id']);_0x337206[_0x2c0cb4]['distance']=_0x167cc5-_0xcf618e;}}['_getRevisionsRange'](_0x2de2cb,_0x107ec6,_0x151be8=!0x1){const _0x5d1a3b=[];let _0x3b50ff=this['repository']['getIndex'](_0x2de2cb),_0x308dee=this['repository']['getIndex'](_0x107ec6);for(-0x1==_0x308dee&&(_0x308dee=this['repository']['_revisions']['length'],_0x151be8=!0x1);_0x3b50ff<_0x308dee;)_0x5d1a3b['push'](this['repository']['getRevision'](_0x3b50ff)),_0x3b50ff++;return _0x151be8&&_0x5d1a3b['push'](this['repository']['getRevision'](_0x3b50ff)),_0x5d1a3b;}['_threeWayMerge'](_0x2f67c8,_0x2e0ae2,_0x159575,_0x127bd6){const _0x1bfa21=this['editor']['model']['schema'];let _0x4446d2=_0x2e0ae2;for(;_0x2f67c8[_0x4446d2]&&_0x2f67c8[_0x4446d2]['isAdded'];)_0x4446d2++;let _0xc89ff=_0x127bd6;for(;_0x159575[_0xc89ff]&&_0x159575[_0xc89ff]['isRemoved'];)_0xc89ff++;_0x5aaf77(_0x2f67c8,_0x2e0ae2,_0x4446d2),_0x5aaf77(_0x159575,_0x127bd6,_0xc89ff);const _0x2ca566=_0x159575['slice'](_0x127bd6,_0xc89ff)['concat'](_0x2f67c8['slice'](_0x2e0ae2,_0x4446d2));return _0x2ca566['sort']((_0x4feaf8,_0xe8b533)=>_0x4feaf8['side']!=_0xe8b533['side']?_0x4feaf8['side']-_0xe8b533['side']:_0x4feaf8['level']!=_0xe8b533['level']?_0x4feaf8['level']-_0xe8b533['level']:_0x4feaf8['distance']!=_0xe8b533['distance']?_0xe8b533['distance']-_0x4feaf8['distance']:!!_0x4feaf8['isAdded']!=!!_0xe8b533['isAdded']?-0x1==_0x4feaf8['side']||0x0==_0x4feaf8['side']?_0x4feaf8['isAdded']?-0x1:0x1:_0x4feaf8['isAdded']?0x1:-0x1:_0x4feaf8['index']-_0xe8b533['index']),{'commonTape':_0x2ca566,'iEnd':_0x4446d2,'jEnd':_0xc89ff};function _0x5aaf77(_0x3e219e,_0x28d271,_0x208926){let _0x1cfa88=-0x1,_0x3df145=Number['POSITIVE_INFINITY'],_0x445198=!0x0;for(let _0x3234fe=_0x28d271;_0x3234fe<_0x208926;_0x3234fe++)if(_0x1bfa21['isInline'](_0x3e219e[_0x3234fe]['item'])||(_0x445198=!0x1),_0x3e219e[_0x3234fe]['item']['startIndex']<_0x28d271&&(_0x1cfa88=_0x3234fe),_0x3e219e[_0x3234fe]['item']['endIndex']>=_0x208926){_0x3df145=_0x3234fe;break;}_0x445198&&(_0x1cfa88=_0x208926-0x1);for(let _0x3f42c6=_0x28d271;_0x3f42c6<_0x208926;_0x3f42c6++)_0x3e219e[_0x3f42c6]['side']=_0x3f42c6<=_0x1cfa88?-0x1:_0x3f42c6<_0x3df145?0x0:0x1,_0x3e219e[_0x3f42c6]['index']=_0x3f42c6;let _0x162206=0x0;for(let _0x322301=_0x28d271;_0x322301<=_0x1cfa88;_0x322301++)0x0==_0x3e219e[_0x322301]['distance']?_0x3e219e[_0x322301]['level']=_0x162206:(_0x162206++,_0x3e219e[_0x322301]['level']=_0x162206,_0x162206++);for(let _0x4f3709=_0x28d271;_0x4f3709<_0x208926;_0x4f3709++)0x0==_0x3e219e[_0x4f3709]['side']&&(_0x3e219e[_0x4f3709]['level']=_0x162206);_0x162206=0x0;for(let _0x5477ff=_0x208926-0x1;_0x5477ff>=_0x3df145;_0x5477ff--)0x0==_0x3e219e[_0x5477ff]['distance']?_0x3e219e[_0x5477ff]['level']=_0x162206:(_0x162206--,_0x3e219e[_0x5477ff]['level']=_0x162206,_0x162206--);}}['_fixObsoleteTags'](_0x13e383){const _0x3a719b=new Map(),_0x3cada6=this['editor']['model']['schema'];for(let _0xc108db=0x1;_0xc108db<_0x13e383['length'];_0xc108db++){let _0x157739,_0x127eeb,_0x3165b3;const _0xd79043=_0x13e383[_0xc108db],_0x587e96=_0x13e383[_0xc108db-0x1];if('text'==_0xd79043['type'])continue;if(_0xd79043['type']!=_0x587e96['type'])continue;if(!_0x3cada6['isBlock'](_0x587e96['item'])||_0x3cada6['isLimit'](_0x587e96['item']))continue;if(!_0x3cada6['isBlock'](_0xd79043['item'])||_0x3cada6['isLimit'](_0xd79043['item']))continue;if((_0x13e383[_0xc108db]['isAdded']||_0x13e383[_0xc108db]['isAddSuggestion'])&&_0x13e383[_0xc108db-0x1]['isRemoved'])_0x157739=_0x13e383[_0xc108db],_0x127eeb=_0x13e383[_0xc108db-0x1],_0x3165b3=_0xc108db-0x1;else{if(!_0x13e383[_0xc108db]['isRemoved']||!_0x13e383[_0xc108db-0x1]['isAdded']&&!_0x13e383[_0xc108db-0x1]['isAddSuggestion'])continue;_0x157739=_0x13e383[_0xc108db-0x1],_0x127eeb=_0x13e383[_0xc108db],_0x3165b3=_0xc108db;}const _0x52de90=_0x157739['level']==_0x127eeb['level'],_0x1f482d=Math['abs'](_0x157739['level'])<Math['abs'](_0x127eeb['level'])&&0x0==_0x127eeb['distance'];(_0x52de90||_0x1f482d)&&(_0x3a719b['set'](_0x127eeb['id'],_0x157739['id']),_0x13e383['splice'](_0x3165b3,0x1),_0xc108db--,_0x157739['isAdded']=!0x1);}for(let _0xc8d1ec=0x0;_0xc8d1ec<_0x13e383['length'];_0xc8d1ec++)_0x3a719b['has'](_0x13e383[_0xc8d1ec]['pairId'])&&(_0x13e383[_0xc8d1ec]['pairId']=_0x3a719b['get'](_0x13e383[_0xc8d1ec]['pairId']));}['_removeMissingPairs'](_0x7146fc){const _0x2e79e3=new Set(_0x7146fc['map'](_0x156e05=>_0x156e05['id']));for(let _0x1520dc=0x0;_0x1520dc<_0x7146fc['length'];_0x1520dc++)_0x2e79e3['has'](_0x7146fc[_0x1520dc]['pairId'])||0x0==_0x7146fc[_0x1520dc]['distance']||(_0x7146fc[_0x1520dc]['isIncorrect']=!0x0);return _0x7146fc['filter'](_0x411910=>!_0x411910['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2b19b4){const _0x39db9b=new Set();for(let _0x42303c=0x0;_0x42303c<_0x2b19b4['length'];_0x42303c++){if(_0x39db9b['has'](_0x2b19b4[_0x42303c]['id'])&&_0x2b19b4[_0x42303c]['isRemoved']&&(_0x2b19b4[_0x42303c]['isIncorrect']=!0x0),_0x2b19b4[_0x42303c]['isIncorrect'])continue;if(0x0==_0x2b19b4[_0x42303c]['distance'])continue;if('elementStart'!=_0x2b19b4[_0x42303c]['type'])continue;if(null==_0x2b19b4[_0x42303c]['pairId'])continue;let _0x3d0f41=_0x42303c+0x1,_0x3a3f01=0x0;for(;_0x2b19b4[_0x3d0f41]['id']!=_0x2b19b4[_0x42303c]['pairId'];)'elementStart'==_0x2b19b4[_0x3d0f41]['type']?_0x3a3f01++:'elementEnd'==_0x2b19b4[_0x3d0f41]['type']&&_0x3a3f01--,_0x3d0f41++;if(0x0!=_0x3a3f01){if(_0x2b19b4[_0x42303c]['isRemoved'])_0x2b19b4[_0x42303c]['isIncorrect']=!0x0;else{for(;_0x3d0f41!=_0x42303c;)_0x2b19b4[_0x3d0f41]['isRemoved']&&0x0!=_0x2b19b4[_0x3d0f41]['distance']&&(_0x2b19b4[_0x3d0f41]['isIncorrect']=!0x0,_0x39db9b['add'](_0x2b19b4[_0x3d0f41]['pairId'])),_0x3d0f41--;}}}return _0x2b19b4['filter'](_0x2fa955=>!_0x2fa955['isIncorrect']);}['_removeUnsupportedChanges'](_0x2d21d5){const _0x253f6f=this['editor']['model']['schema'];for(let _0x58c8b2=0x0;_0x58c8b2<_0x2d21d5['length'];_0x58c8b2++){if(!(_0x2d21d5[_0x58c8b2]['isAdded']||_0x2d21d5[_0x58c8b2]['isAddSuggestion']||_0x2d21d5[_0x58c8b2]['isRemoved']||_0x2d21d5[_0x58c8b2]['isRemoveSuggestion']))continue;if(0x0==_0x2d21d5[_0x58c8b2]['distance'])continue;const _0x383918=_0x2d21d5[_0x58c8b2]['item'];_0x253f6f['isBlock'](_0x383918)||_0x253f6f['isLimit'](_0x383918)||(_0x2d21d5[_0x58c8b2]['isAdded']&&delete _0x2d21d5[_0x58c8b2]['isAdded'],_0x2d21d5[_0x58c8b2]['isAddSuggestion']&&delete _0x2d21d5[_0x58c8b2]['isAddSuggestion'],_0x2d21d5[_0x58c8b2]['isRemoveSuggestion']&&delete _0x2d21d5[_0x58c8b2]['isRemoveSuggestion'],_0x2d21d5[_0x58c8b2]['isRemoved']&&(_0x2d21d5[_0x58c8b2]['isIncorrect']=!0x0));}return _0x2d21d5['filter'](_0x24d8ad=>!_0x24d8ad['isIncorrect']);}['_makeModelFromTape'](_0x526803,_0x484ec1,_0xbed542){const _0x17eeaf=new wt(),_0x322402=[],_0x5a337c=new Map(),_0x2c6c75=this['editor']['model'],_0x2c15fa=_0x2c6c75['schema'],_0x46dc11=[_0x17eeaf],_0x4d69ef={},_0x7d6c4f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x7b4d3b=null;const _0x3a03b9=[0x0];for(let _0x464cec=0x0;_0x464cec<_0x526803['length'];_0x464cec++){let _0x5d6b02,_0x1d32f2;if('elementStart'===_0x526803[_0x464cec]['type']){_0x5d6b02=_0x2c6c75['createPositionFromPath'](_0x17eeaf,_0x3a03b9);const _0x3140c6=new ft(_0x526803[_0x464cec]['item']['name'],_0x526803[_0x464cec]['item']['getAttributes']());_0x46dc11[0x0]['_appendChild'](_0x3140c6),_0x3a03b9['push'](0x0),_0x46dc11['unshift'](_0x3140c6),_0x1d32f2=_0x2c6c75['createPositionFromPath'](_0x17eeaf,_0x3a03b9),_0x7b4d3b=null;}else{if('elementEnd'===_0x526803[_0x464cec]['type'])_0x46dc11['shift'](),_0x5d6b02=_0x2c6c75['createPositionFromPath'](_0x17eeaf,_0x3a03b9),_0x3a03b9['pop'](),_0x3a03b9[_0x3a03b9['length']-0x1]++,_0x1d32f2=_0x2c6c75['createPositionFromPath'](_0x17eeaf,_0x3a03b9),_0x7b4d3b=null;else{if(_0x5d6b02=_0x2c6c75['createPositionFromPath'](_0x17eeaf,_0x3a03b9),_0x7b4d3b&&_0x27eaeb(_0x7b4d3b,_0x526803[_0x464cec]['item']))_0x7b4d3b['_data']+=_0x526803[_0x464cec]['item']['data'];else{const _0x185c62=new _t(_0x526803[_0x464cec]['item']['data'],_0x526803[_0x464cec]['item']['getAttributes']());_0x46dc11[0x0]['_appendChild'](_0x185c62),_0x7b4d3b=_0x185c62;}_0x3a03b9[_0x3a03b9['length']-0x1]+=_0x526803[_0x464cec]['item']['offsetSize'],_0x1d32f2=_0x2c6c75['createPositionFromPath'](_0x17eeaf,_0x3a03b9);}}for(const _0x10a9c7 of _0x526803[_0x464cec]['markersStart'])_0x5a337c['set'](_0x10a9c7,{'start':_0x5d6b02,'end':null});_0x28e0fb('isRemoveSuggestion',_0x464cec,_0x5d6b02,_0x1d32f2),_0x28e0fb('isAddSuggestion',_0x464cec,_0x5d6b02,_0x1d32f2),_0x28e0fb('isRemoved',_0x464cec,_0x5d6b02,_0x1d32f2),_0x28e0fb('isAdded',_0x464cec,_0x5d6b02,_0x1d32f2);for(const _0x3fffc5 of _0x526803[_0x464cec]['markersEnd']){_0x5a337c['get'](_0x3fffc5)['end']=_0x1d32f2;}}for(const [_0x2d58b4,_0x4cbb0a]of _0x5a337c){const _0x31cd45=this['editor']['model']['createRange'](_0x4cbb0a['start'],_0x4cbb0a['end']);_0x17eeaf['markers']['set'](_0x2d58b4,_0x31cd45);}return _0x322402['sort']((_0x1d1273,_0x5eed8f)=>{const _0x4b4313=_0x17eeaf['markers']['get']('revision:'+_0x1d1273['id']),_0x68462f=_0x17eeaf['markers']['get']('revision:'+_0x5eed8f['id']);return _0x4b4313['start']['isBefore'](_0x68462f['start'])?-0x1:_0x4b4313['start']['isAfter'](_0x68462f['start'])?0x1:_0x4b4313['end']['isBefore'](_0x68462f['end'])?-0x1:_0x4b4313['end']['isAfter'](_0x68462f['end'])?0x1:'add'===_0x1d1273['type']?-0x1:0x1;}),{'root':_0x17eeaf,'changes':_0x322402};function _0x28e0fb(_0x40c756,_0x2ca7d2,_0x39b4fa,_0x26f408){const _0x279bfa=!!_0x526803[_0x2ca7d2][_0x40c756],_0x51e5d9=_0x279bfa?_0x526803[_0x2ca7d2][_0x40c756]['userId']:null,_0x488219=_0x2ca7d2===_0x526803['length']-0x1,_0x2494fc=_0x7d6c4f[_0x40c756][0x0],_0x12c0d7=_0x2c15fa['isObject'](_0x526803[_0x2ca7d2]['item']);!_0x4d69ef[_0x40c756]&&_0x279bfa?_0x4d69ef[_0x40c756]={'start':_0x39b4fa,'tapeItem':_0x526803[_0x2ca7d2],'userId':_0x51e5d9,'type':_0x40c756}:_0x4d69ef[_0x40c756]&&!_0x279bfa?(_0x4d69ef[_0x40c756]['end']=_0x39b4fa,_0xc581c2(_0x4d69ef[_0x40c756]),_0x4d69ef[_0x40c756]=null):_0x4d69ef[_0x40c756]&&_0x279bfa&&_0x4d69ef[_0x40c756]['userId']!==_0x51e5d9&&(_0x4d69ef[_0x40c756]['end']=_0x39b4fa,_0x2494fc&&_0x2494fc['userId']===_0x4d69ef[_0x40c756]['userId']||_0xc581c2(_0x4d69ef[_0x40c756]),_0x4d69ef[_0x40c756]={'start':_0x39b4fa,'tapeItem':_0x526803[_0x2ca7d2],'userId':_0x51e5d9,'type':_0x40c756}),_0x4d69ef[_0x40c756]&&_0x12c0d7&&('elementStart'!==_0x526803[_0x2ca7d2]['type']||_0x2494fc&&_0x2494fc['userId']===_0x51e5d9||_0x7d6c4f[_0x40c756]['unshift']({'userId':_0x51e5d9,'object':_0x526803[_0x2ca7d2]['item'],'change':_0x4d69ef[_0x40c756]}),'elementEnd'===_0x526803[_0x2ca7d2]['type']&&_0x2494fc&&_0x2494fc['object']===_0x526803[_0x2ca7d2]['item']&&(_0x7d6c4f[_0x40c756]['shift'](),_0x4d69ef[_0x40c756]=_0x2494fc['change'])),_0x4d69ef[_0x40c756]&&_0x488219&&(_0x4d69ef[_0x40c756]['end']=_0x26f408,_0xc581c2(_0x4d69ef[_0x40c756]),_0x4d69ef[_0x40c756]=null);}function _0xc581c2({start:_0x24fcd8,end:_0x2c7198,tapeItem:_0x6cbfd5,userId:_0x435931,type:_0x3a543d}){const _0x41ddbc=_0x6cbfd5['item'],_0x3da84b=_0x2c6c75['schema']['isBlock'](_0x41ddbc)&&!_0x2c6c75['schema']['isLimit'](_0x41ddbc),_0x1992ce=_0x24fcd8['nodeAfter']==_0x2c7198['parent']&&_0x2c7198['isAtStart'];if(_0x3da84b&&_0x1992ce)return;const _0x147932=_0x2c6c75['createRange'](_0x24fcd8,_0x2c7198),_0x14cd84=_0x484ec1['get'](_0x435931),_0x106c34=new r({'author':_0x14cd84,'type':'isAdded'==_0x3a543d||'isAddSuggestion'==_0x3a543d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3a543d||'isRemoveSuggestion'==_0x3a543d},'createdAt':new Date(),'rootName':_0xbed542});_0x322402['push'](_0x106c34),_0x17eeaf['markers']['set']('revision:'+_0x106c34['id'],_0x147932);}function _0x27eaeb(_0x52d0e5,_0x1a39de){const _0x10beee=_0x52d0e5['getAttributes'](),_0x47579e=_0x1a39de['getAttributes']();for(const _0x158dde of _0x10beee){if(_0x158dde[0x1]!==_0x1a39de['getAttribute'](_0x158dde[0x0]))return!0x1;_0x47579e['next']();}return _0x47579e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x12a372=>{const _0x36378f=_0x12a372['markerName']['split'](':')[0x1],_0x36d409=this['_getChangeFromId'](_0x36378f);if(!_0x36d409)return null;const _0x145076='add'==_0x36d409['type']?'insertion':'deletion',_0x339fba=['ck-suggestion-marker','ck-suggestion-marker-'+_0x145076];return _0x36d409['data']['isSuggestion']&&_0x339fba['push']('ck-suggestion-marker-'+_0x145076+'-new'),this['activeChange']==_0x36d409&&_0x339fba['push']('ck-suggestion-marker--active'),{'classes':_0x339fba,'attributes':{'data-change-id':_0x36378f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xe8bd3=>{_0xe8bd3['on']('element:pre',(_0x3b5d10,_0x293786,_0x30fed9)=>{const _0x265764=_0x293786['viewItem']['getChild'](0x0);if(!_0x265764||!_0x265764['is']('element','code'))return;if(!_0x30fed9['consumable']['consume'](_0x265764,{'attributes':['vid_start','vid_end']}))return;const _0x26d0cd=_0x293786['modelRange']['start']['nodeAfter'];_0x30fed9['writer']['setAttribute']('vid_start',_0x265764['getAttribute']('vid_start'),_0x26d0cd),_0x30fed9['writer']['setAttribute']('vid_end',_0x265764['getAttribute']('vid_end'),_0x26d0cd);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x57f735=>{_0x57f735['on']('element',(_0x459365,_0x2ca95b,_0x5d05d8)=>{if(!_0x5d05d8['consumable']['consume'](_0x2ca95b['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2ca95b['modelRange']['isCollapsed'])return;const _0x4734fd=_0x2ca95b['modelRange']['start']['nodeAfter'];_0x4734fd['hasAttribute']('vid_start')||_0x4734fd['hasAttribute']('vid')||(_0x5d05d8['writer']['setAttribute']('vid_start',_0x2ca95b['viewItem']['getAttribute']('vid_start'),_0x4734fd),_0x5d05d8['writer']['setAttribute']('vid_end',_0x2ca95b['viewItem']['getAttribute']('vid_end'),_0x4734fd));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x62f6af=>_0x62f6af['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x15cc70,[,_0x15d4c5])=>{['vid_start','vid_end','vid']['includes'](_0x15d4c5)&&(_0x15cc70['return']=!0x0,_0x15cc70['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x223509=>{_0x223509['on']('attribute:vid',(_0x2919ef,_0xe28381,_0xe5dbec)=>{if('\x20'!=_0xe28381['item']['data']||_0xe28381['item']['parent']['maxOffset']>0x1)return;if(!_0xe5dbec['consumable']['consume'](_0xe28381['item'],_0x2919ef['name']))return;const _0x2554db=_0xe5dbec['writer'],_0x615e73=_0xe5dbec['mapper']['toViewRange'](_0xe28381['range']);_0x2554db['wrap'](_0x615e73,_0x2554db['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2a20c9){const _0x521ff1=_0x2a20c9['plugins']['get']('RevisionViewer');return(_0x891d45,_0x44695b,_0x4947aa)=>{const _0x55c3a7=_0x44695b['markerName']['split'](':')[0x1],_0x2d2877=_0x521ff1['_getChangeFromId'](_0x55c3a7);if(!_0x2d2877)return null;const _0x5c0e31='add'==_0x2d2877['type']?'split':'merge';if(!_0x4947aa['consumable']['test'](_0x44695b['markerRange'],_0x891d45['name']))return;const _0x445a04=_0x44695b['markerRange']['getWalker'](),_0x1324c3=_0x44695b['markerRange']['start'],_0x523851=_0x2a20c9['model']['schema'];let _0xc2ddee=null,_0x1b5bb8=null,_0x3149fe=!0x1,_0x2756cf=!0x1;for(const _0xfdedef of _0x445a04){const _0x41fc3e=_0xfdedef['item'];_0x3149fe=_0x3149fe||_0x523851['isContent'](_0x41fc3e);const _0xf1fb54=_0x4947aa['mapper']['toViewElement'](_0x41fc3e);if(_0xf1fb54&&_0xf1fb54['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xfdedef['type']&&(_0x523851['isBlock'](_0x41fc3e)&&!_0x523851['isLimit'](_0x41fc3e)&&(_0x41fc3e['nextSibling']||_0x1324c3['isAtEnd']?_0xc2ddee&&_0xc2ddee['parent']==_0x41fc3e||(_0xc2ddee=_0x41fc3e,_0x272f0c(_0xfdedef['previousPosition']),_0x2756cf=!0x0):_0x1b5bb8=_0x1b5bb8||_0xfdedef['previousPosition']));}function _0x272f0c(_0x3c808c){const _0x30e48d=_0x4947aa['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5c0e31}),_0x447020=_0x4947aa['mapper']['toViewPosition'](_0x3c808c);_0x2d2877['data']['isSuggestion']&&_0x4947aa['writer']['addClass']('ck-suggestion-marker-'+_0x5c0e31+'-new',_0x30e48d),_0x521ff1['activeChange']==_0x2d2877&&_0x4947aa['writer']['addClass']('ck-suggestion-marker--active',_0x30e48d),_0x4947aa['writer']['insert'](_0x447020,_0x30e48d),_0x4947aa['mapper']['bindElementToMarker'](_0x30e48d,_0x44695b['markerName']);}_0x3149fe||_0x2756cf||!_0x1b5bb8||_0x272f0c(_0x1b5bb8);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2545a8,_0x359c44,_0x1c9943)=>{const _0x24f7d2=_0x1c9943['mapper']['markerNameToElements'](_0x359c44['markerName']);if(_0x24f7d2){for(const _0x33afff of _0x24f7d2)(_0x33afff['hasClass']('ck-suggestion-marker-split')||_0x33afff['hasClass']('ck-suggestion-marker-merge'))&&(_0x1c9943['mapper']['unbindElementFromMarkerName'](_0x33afff,_0x359c44['markerName']),_0x1c9943['writer']['remove'](_0x33afff));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x18c7e7,_0x22c722,_0x1c9b20)=>{const _0x490cdb=_0x22c722['markerName']['split'](':')[0x1],_0x52f361=this['_getChangeFromId'](_0x490cdb);if(!_0x52f361)return null;const _0x4a477d='add'==_0x52f361['type']?'split':'merge';if(_0x1c9b20['consumable']['test'](_0x22c722['markerRange'],_0x18c7e7['name']))for(const _0x378b73 of _0x22c722['markerRange']['getItems']()){if(!_0x378b73['is']('element','softBreak'))continue;const _0x12cdfa=_0x1c9b20['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4a477d}),_0x1674e2=_0x1c9b20['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x378b73));_0x52f361['data']['isSuggestion']&&_0x1c9b20['writer']['addClass']('ck-suggestion-marker-'+_0x4a477d+'-new',_0x12cdfa),this['activeChange']==_0x52f361&&_0x1c9b20['writer']['addClass']('ck-suggestion-marker--active',_0x12cdfa),_0x1c9b20['writer']['insert'](_0x1674e2,_0x12cdfa),_0x1c9b20['mapper']['bindElementToMarker'](_0x12cdfa,_0x22c722['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x237b79=>{for(const _0x2c72b2 of this['editor']['model']['document']['getRootNames']()){const _0x5a4c40=this['editor']['model']['document']['getRoot'](_0x2c72b2),_0x34c8de=this['editor']['editing']['view']['document']['getRoot'](_0x2c72b2);if(_0x34c8de){const _0x2a9284=_0x5a4c40['getAttribute']('revisionHistoryAttachChange');if(_0x237b79['removeAttribute']('data-change-id',_0x34c8de),_0x237b79['removeClass']('ck-revision-history-root-add',_0x34c8de),_0x237b79['removeClass']('ck-revision-history-root-remove',_0x34c8de),_0x237b79['removeClass']('ck-revision-history-root--active',_0x34c8de),_0x2a9284){const _0x51e4d8=this['_getChangeFromId'](_0x2a9284);if(!_0x51e4d8)return null;_0x237b79['setAttribute']('data-change-id',_0x2a9284,_0x34c8de),_0x237b79['addClass']('ck-revision-history-root-'+_0x51e4d8['type'],_0x34c8de),this['activeChange']==_0x51e4d8&&_0x237b79['addClass']('ck-revision-history-root--active',_0x34c8de);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4efeec=>'revision-comment:'+_0x4efeec,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x29db29=>'revision-suggestion:'+_0x29db29,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1cbef2=>({'name':'suggestion:'+_0x1cbef2,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3b1e25=>{const _0x2aac29=_0x3b1e25['markerName']['split'](':')[0x1];return'insertion'!=_0x2aac29&&'deletion'!=_0x2aac29?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2aac29]};}}),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',(_0x30ef00,_0x3c1ef2,_0x173fd2)=>{const _0x51d391=_0x173fd2['mapper']['markerNameToElements'](_0x3c1ef2['markerName']);if(_0x51d391){for(const _0x50f38b of _0x51d391)_0x50f38b['is']('uiElement')&&(_0x173fd2['mapper']['unbindElementFromMarkerName'](_0x50f38b,_0x3c1ef2['markerName']),_0x173fd2['writer']['remove'](_0x50f38b));}},{'priority':'high'});}['_getChangeFromId'](_0xf90471){return this['_changeIdToChange']['get'](_0xf90471);}['_getViewForChange'](_0x48e221){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x48e221),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4463c7,_0x347888,_0x1cad13,_0x13dba1)=>{_0x13dba1&&this['_balloon']['remove'](_0x13dba1),_0x1cad13&&(this['_balloon']['add']({'view':_0x1cad13,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3cddfe=this['editor']['editing'],_0x37f173=this['_getChangeFromId'](_0x1cad13['changeId']);let _0xae64a7;if(_0x37f173['data']['isOnRoot']){const _0x1ddb9c=_0x3cddfe['view']['getDomRoot'](_0x37f173['rootName']);_0xae64a7=Array['from'](_0x1ddb9c['getClientRects']());}else{const _0x5cb1b1=this['editor']['model']['markers']['get']('revision:'+_0x1cad13['changeId']);_0xae64a7=Array['from'](_0x3cddfe['mapper']['markerNameToElements'](_0x5cb1b1['name']))['map'](_0x5d84ac=>_0x3cddfe['view']['domConverter']['mapViewToDom'](_0x5d84ac))['map'](_0x226bfb=>Array['from'](_0x226bfb['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xae64a7[0x0];return _0xae64a7['find'](_0x2adcb4=>_0x2adcb4['top']-0x3<=this['_activeViewTarget']['y']&&_0x2adcb4['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2adcb4['left']-0x3<=this['_activeViewTarget']['x']&&_0x2adcb4['right']+0x3>=this['_activeViewTarget']['x'])||_0xae64a7[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x468975,_0x42176f,_0x21eaab,_0x33b085)=>{this['activeView']=_0x21eaab?this['_getViewForChange'](_0x21eaab):null,this['editor']['model']['change'](()=>{const _0x849192=this['editor']['editing'];_0x33b085&&(_0x33b085['data']['isOnRoot']?_0x849192['view']['change'](_0x178203=>{_0x178203['removeClass']('ck-revision-history-root--active',_0x849192['view']['document']['getRoot'](_0x33b085['rootName']));}):_0x849192['reconvertMarker']('revision:'+_0x33b085['id'])),_0x21eaab&&(_0x21eaab['data']['isOnRoot']?_0x849192['view']['change'](_0x2337a1=>{_0x2337a1['addClass']('ck-revision-history-root--active',_0x849192['view']['document']['getRoot'](_0x21eaab['rootName']));}):_0x849192['reconvertMarker']('revision:'+_0x21eaab['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2c8bf9,_0xb9dcc7)=>{if(this['activeChange'])return;const _0x1847a9=this['_findChangeIdFromDomTarget'](_0xb9dcc7['target']),_0x5ebf52=this['_changeIdToChange']['get'](_0x1847a9);_0x5ebf52?(this['_activeViewTarget']={'x':_0xb9dcc7['domEvent']['x'],'y':_0xb9dcc7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5ebf52)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x131732,_0x2d7540)=>{const _0x13d7f3=this['_findChangeIdFromDomTarget'](_0x2d7540['target']),_0x7d0dc2=this['_changeIdToChange']['get'](_0x13d7f3);_0x7d0dc2?(this['_activeViewTarget']={'x':_0x2d7540['domEvent']['x'],'y':_0x2d7540['domEvent']['y']},_0x7d0dc2===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x7d0dc2):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x39bbd4){do{const _0x43d9a1=_0x39bbd4['getAttribute']('data-change-id');if(_0x43d9a1)return _0x43d9a1;_0x39bbd4=_0x39bbd4['parent'];}while(_0x39bbd4);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5d9620=>{for(const _0x4871de of this['editor']['model']['markers'])_0x5d9620['removeMarker'](_0x4871de);});}}function et(_0x4a5bc7,_0x497a9e){return(_0x5eebbd,_0xdcddcf,_0x5d2e14)=>{if(!_0x5d2e14['consumable']['test'](_0xdcddcf['markerRange'],_0x5eebbd['name']))return;const _0x8e26ea=_0xdcddcf['markerRange']['getWalker'](),_0x25773d=_0xdcddcf['markerRange']['start'],_0x3388a0=_0x4a5bc7['model']['schema'];let _0x5d8c4e=null,_0x54dd1a=null,_0x1fa679=!0x1,_0x5d2cc7=!0x1;for(const _0x5f59a1 of _0x8e26ea){const _0x529137=_0x5f59a1['item'];_0x1fa679=_0x1fa679||_0x3388a0['isContent'](_0x529137);const _0x241d44=_0x5d2e14['mapper']['toViewElement'](_0x529137);if(_0x241d44&&_0x241d44['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5f59a1['type']&&(_0x3388a0['isBlock'](_0x529137)&&!_0x3388a0['isLimit'](_0x529137)&&(_0x529137['nextSibling']||_0x25773d['isAtEnd']?_0x5d8c4e&&_0x5d8c4e['parent']==_0x529137||(_0x5d8c4e=_0x529137,_0x37c8f7(_0x5f59a1['previousPosition']),_0x5d2cc7=!0x0):_0x54dd1a=_0x54dd1a||_0x5f59a1['previousPosition']));}function _0x37c8f7(_0x18457a){const _0x12c513=_0x5d2e14['mapper']['toViewPosition'](_0x18457a),_0x56bb57=_0x5d2e14['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x497a9e});_0x5d2e14['writer']['insert'](_0x12c513,_0x56bb57),_0x5d2e14['mapper']['bindElementToMarker'](_0x56bb57,_0xdcddcf['markerName']);}_0x1fa679||_0x5d2cc7||!_0x54dd1a||_0x37c8f7(_0x54dd1a);};}class bt extends _0x272849{constructor(_0x3f1c38){super(_0x3f1c38);const _0x4828cc=_0x3f1c38['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4828cc,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4828cc,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4e77da=this['editor'],_0x1efe87=_0x4e77da['plugins']['get'](d),_0x1d60b4=_0x1efe87['isReady']?_0x1efe87['diff']['newRevisionId']:null;_0x4e77da['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1d60b4);}['refresh'](){const {isReady:_0x38c824,isEnabled:_0x72ef17}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x38c824&&_0x72ef17;}}class yt extends _0x272849{['_step'];constructor(_0xf074fa,{direction:_0x3598b7}){super(_0xf074fa);const _0x451572=_0xf074fa['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3598b7?0x1:-0x1,this['listenTo'](_0x451572,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x451572,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x451572,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2263d2=this['editor'],_0xccdcb9=_0x2263d2['plugins']['get'](d),{isNavigationMode:_0x4a39c2,currentChangeNumber:_0x222781}=_0xccdcb9;let _0x85944e;if(_0xccdcb9['activeChange']=_0x4a39c2?_0xccdcb9['diff']['changes']['get'](_0x222781+this['_step']):_0xccdcb9['diff']['changes']['first'],_0xccdcb9['activeChange']['data']['isOnRoot'])_0x85944e=_0x2263d2['editing']['view']['getDomRoot'](_0xccdcb9['activeChange']['rootName']);else{const _0x366e81=_0x2263d2['model']['markers']['get']('revision:'+_0xccdcb9['activeChange']['id']);_0x85944e=_0x17d73a(_0x2263d2['editing'],_0x366e81);}_0x52afc5({'target':_0x85944e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x22b0e2,currentChangeNumber:_0x5eb0b2,numberOfChanges:_0x127501,isReady:_0x52e416,isEnabled:_0x60ee99}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x60ee99&&_0x52e416&&_0x127501)&&(!_0x22b0e2||(0x1===this['_step']?_0x5eb0b2<_0x127501-0x1:_0x5eb0b2>0x0));}}class _i extends _0x11d177{constructor(_0x2b354c){super(_0x2b354c);const _0xc7aee5=this['bindTemplate'],_0x40b529=new _0x3b6c97(_0x2b354c),_0x782d8b=new _0x3b6c97(_0x2b354c);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',(_0x5e5f28,_0x370332)=>_0x5e5f28&&_0x370332>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x137a0e,_0x4edbaa,_0x312c1c,_0x1b8252)=>{if(!_0x137a0e)return y(_0x2b354c,'Loading...');if(!_0x312c1c)return y(_0x2b354c,'No\x20changes');const _0x2e7f25=y(_0x2b354c,'NUMBER_OF_CHANGES',_0x312c1c);return _0x1b8252?y(_0x2b354c,'X_OF_Y_CHANGES',[_0x4edbaa+0x1,_0x312c1c]):_0x2e7f25;}),_0x40b529['set']({'label':y(_0x2b354c,'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'}),_0x782d8b['set']({'label':y(_0x2b354c,'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'}),_0x40b529['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x782d8b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x40b529['on']('execute',()=>this['fire']('execute','backward')),_0x782d8b['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',_0xc7aee5['if']('_isStatusLabelVisible','ck-hidden',_0x10bf5d=>!_0x10bf5d)]},'children':[{'text':_0xc7aee5['to']('isNavigationMode',_0x1b8f61=>_0x1b8f61?y(_0x2b354c,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2b354c,'Total')+':\x20')}]},{'text':_0xc7aee5['to']('_statusText')}]},new _0x40b291(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x40b529,_0x782d8b]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x272b53{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4c46a0=this['editor']['editing']['view'];_0x4c46a0['change'](_0x3acbae=>{for(const _0x5a6da4 of _0x4c46a0['document']['roots'])_0x3acbae['addClass'](ce,_0x5a6da4);});}['hide'](){const _0x41e20a=this['editor']['editing']['view'];_0x41e20a['change'](_0x59c866=>{for(const _0x1f6f22 of _0x41e20a['document']['roots'])_0x59c866['removeClass'](ce,_0x1f6f22);});}}class R extends _0x272b53{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x19e6b8=this['editor'],_0x560ace=_0x19e6b8['plugins']['get'](d),_0x3124a2=_0x19e6b8['plugins']['get'](de);_0x19e6b8['ui']['componentFactory']['add']('exitToEditing',_0xd09e26=>{const _0x3230b3=new _0x3b6c97(_0xd09e26);return _0x3230b3['set']({'label':y(_0xd09e26,'Back\x20to\x20editing'),'icon':_0x38bd28['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3230b3,'execute',()=>{_0x19e6b8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3230b3;}),_0x19e6b8['ui']['componentFactory']['add']('restoreRevision',_0x399b3b=>{const _0x2816c3=new _0x3b6c97(_0x399b3b);return _0x2816c3['set']({'label':y(_0x399b3b,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2816c3['bind']('isEnabled')['to'](_0x19e6b8['commands']['get']('restoreRevision')),this['listenTo'](_0x2816c3,'execute',()=>_0x19e6b8['execute']('restoreRevision')),_0x2816c3;}),_0x19e6b8['ui']['componentFactory']['add']('changesNavigation',_0x48f7df=>{const _0x1c7240=new _i(_0x48f7df),_0x157390=_0x19e6b8['commands']['get']('showPreviousChange'),_0x5a49a9=_0x19e6b8['commands']['get']('showNextChange');return _0x1c7240['bind']('isBackwardNavigationEnabled')['to'](_0x157390,'isEnabled'),_0x1c7240['bind']('isForwardNavigationEnabled')['to'](_0x5a49a9,'isEnabled'),_0x1c7240['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x560ace),this['listenTo'](_0x1c7240,'execute',(_0x4710f9,_0x421791)=>{_0x19e6b8['execute']('forward'===_0x421791?'showNextChange':'showPreviousChange');}),_0x1c7240;}),_0x3124a2['show'](),_0x560ace['on']('change:isReady',(_0x58e953,_0x4760fa,_0x4b7dff)=>{_0x4b7dff?_0x3124a2['hide']():_0x3124a2['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x20b415,_0x15c222){super(_0x20b415,_0x15c222);const _0xe66277=this['bindTemplate'];this['set']({'label':y(_0x20b415,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x20b415,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xe66277['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 _0x1295ba=this['fieldView']['element'];this['_tooltipString']=_0x1295ba['scrollWidth']>_0x1295ba['clientWidth']&&_0x1295ba['value']||'';}}class ti extends _0x11d177{constructor(_0x4f32df,_0x338880,_0x26c1d9){super(_0x4f32df);const _0x2ad1f3=new _0xdbab53();_0x2ad1f3['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 _0x1fdf39=['ck','ck-revision-history-sidebar__revision-author'];_0x26c1d9&&_0x1fdf39['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1a60cc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4f32df,_0x26c1d9?'Revision\x20creator':'Revision\x20author')},'children':[_0x2ad1f3,_0x338880['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1fdf39},'children':_0x1a60cc});}}function ni(_0x114473,_0x589c09){const _0x436439=_0x114473['bindTemplate'],_0x4acb3e=_0x114473['locale'],_0xdd7ac4=_0x1a233a(_0x4acb3e);_0xdd7ac4['panelPosition']='sw';const _0x4af80f=function(_0x1d5760,_0x18780b){const _0x3fb97e=function(_0x4591aa,_0xd796c9){const _0x23d5a7=_0x4591aa['locale'],_0x2b3d85={'Compare\x20against\x20selected':y(_0x23d5a7,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x23d5a7,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x23d5a7,'Restore\x20this\x20revision')};return _0xd796c9['map'](_0x33ab05=>{const _0x380c61=_0x2b3d85[_0x33ab05['name']];return _0x380c61&&_0x380c61!==_0x33ab05['name']&&(_0x33ab05['name']=_0x380c61),_0x33ab05;});}(_0x1d5760,_0x18780b),_0x2bb45a=new _0x59ce7c();for(const _0x2f09db of _0x3fb97e){const _0x5e9c6d={'type':'button','model':new to({'label':_0x2f09db['name'],'class':_0x2f09db['class'],'withText':!0x0,'role':'menuitem','_action':_0x2f09db['action']})};_0x5e9c6d['model']['bind']('isEnabled')['to'](_0x1d5760,'isActionsDropdownOpen',_0x3edc39=>'function'!=typeof _0x2f09db['isEnabled']||(!_0x3edc39||_0x2f09db['isEnabled'](_0x1d5760))),_0x2bb45a['add'](_0x5e9c6d);}return _0x2bb45a;}(_0x114473,_0x589c09);return _0x114473['bind']('isActionsDropdownOpen')['to'](_0xdd7ac4,'isOpen'),_0xdd7ac4['buttonView']['set']({'label':y(_0x4acb3e,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x38bd28['threeVerticalDots']}),_0xdd7ac4['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x436439['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x436439['to'](_0x335a45=>_0x335a45['stopPropagation']())}}),_0xdd7ac4['on']('execute',_0x435bc1=>{_0x114473['isReady']&&'function'==typeof _0x435bc1['source']['_action']&&_0x435bc1['source']['_action'](_0x114473);}),_0x5c10c9(_0xdd7ac4,_0x4af80f,{'role':'menu'}),_0xdd7ac4['listenTo'](_0x114473,'change:isActionsDropdownOpen',(_0x2476f8,_0x25715a,_0x459594)=>{if(_0x459594)for(const _0x554665 of _0xdd7ac4['listView']['items']){const _0x4356d4=_0x554665['children']['first'],_0x21f9ed=_0x589c09['find'](_0x36b925=>_0x36b925['action']===_0x4356d4['_action'])['isVisible'];_0x554665['isVisible']=void 0x0===_0x21f9ed||_0x21f9ed(_0x114473);}}),_0xdd7ac4;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x1734c3(_0x11d177){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x158534,_0x3cdea5,_0x1c60c0,_0x3f2b6c){super(_0x158534);const _0x1c1398=this['bindTemplate'],_0x2c2f6e=function(_0x535ffb,_0x243e20){const _0x22ce7b=Array['from'](_0x243e20['authors'])['filter'](_0x20b36f=>_0x20b36f!=_0x243e20['creator']);return _0x243e20['creator']&&_0x22ce7b['unshift'](_0x243e20['creator']),_0x22ce7b['map'](_0x495d45=>new ti(_0x535ffb,_0x495d45,_0x495d45==_0x243e20['creator']));}(_0x158534,_0x3cdea5);this['id']=_0x3cdea5['id'],this['_revision']=_0x3cdea5,this['_requireRevisionName']=_0x3f2b6c,this['bind']('name','createdAt')['to'](_0x3cdea5),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x324d6b=>{return _0x517924=_0x158534['uiLanguage'],(_0x3cce23=_0x324d6b)['toLocaleDateString'](_0x517924,{'month':'long','day':'numeric'})+',\x20'+_0x3cce23['toLocaleTimeString'](_0x517924,{'hour':'numeric','minute':'numeric'});var _0x517924,_0x3cce23;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x158534,_0x30d984),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2d0ae4=>_0x2d0ae4||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4096b4,_0x41ae12)=>_0x4096b4&&_0x41ae12),this['revisionActionsView']=_0x1c60c0&&_0x1c60c0['length']?ni(this,_0x1c60c0):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1c1398['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1c1398['if']('isEnabled','ck-disabled',_0x32b131=>!_0x32b131),_0x1c1398['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1c1398['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1c1398['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':_0x1c1398['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':_0x2c2f6e}]},this['revisionActionsView']],'on':{'click':_0x1c1398['to'](_0x58aec3=>{_0x58aec3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x23656d=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x23656d,'change',()=>{this['_requireRevisionName']&&!_0x23656d['value']||this['fire']('setName',{'id':this['id'],'name':_0x23656d['value']}),_0x23656d['value']||(_0x23656d['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(_0x5c6407,_0x5f58bb){const _0x2be8cb=_0x5bec73['fromJSDate'](_0x5c6407)['setLocale'](_0x5f58bb),_0x56a972=_0x5bec73['local'](),_0x23d552=_0x56a972['minus']({'days':0x1})['startOf']('day');let _0x5de9e8,_0xc48a9c;return _0x2be8cb['hasSame'](_0x56a972,'day')?(_0x5de9e8=_0x2be8cb['startOf']('day')['toJSDate'](),_0xc48a9c=_0x2be8cb['toRelativeCalendar']()):_0x2be8cb['hasSame'](_0x23d552,'day')?(_0x5de9e8=_0x23d552['toJSDate'](),_0xc48a9c=_0x2be8cb['toRelativeCalendar']()):_0x2be8cb['hasSame'](_0x56a972,'week')?(_0x5de9e8=_0x2be8cb['startOf']('week')['toJSDate'](),_0xc48a9c=_0x2be8cb['weekdayLong']||''):_0x2be8cb['hasSame'](_0x56a972,'year')?(_0x5de9e8=_0x2be8cb['startOf']('month')['toJSDate'](),_0xc48a9c=_0x2be8cb['monthLong']||''):(_0x5de9e8=_0x2be8cb['startOf']('year')['toJSDate'](),_0xc48a9c=String(_0x2be8cb['year'])),{'startDate':_0x5de9e8,'localizedPeriodName':_0xc48a9c};}class mi extends _0x11d177{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xb0190,_0x124eaa,_0x36eb65,_0x140321){super(_0xb0190);const _0x1f59f1=di(_0x124eaa,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x124eaa,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x36eb65,this['_requireRevisionName']=_0x140321,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':_0x1f59f1}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x15e957){const _0x1bd51f=new ai(this['locale'],_0x15e957,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1bd51f);}['removeRevision'](_0xf69a1){const _0x497898=this['revisionViews']['find'](_0x3a1607=>_0x3a1607['id']===_0xf69a1['id']);this['revisionViews']['remove'](_0x497898);}}class as extends _0x11d177{constructor(_0x13ba89){super(_0x13ba89);const _0x2e139a=new _0xdbab53();_0x2e139a['content']=_0x38bd28['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2e139a,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x13ba89,'Revision\x20history')]}]});}}class ci extends _0x11d177{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x369cc9,_0x1f4fcd,_0xf9f7e0,_0x24222c){super(_0x369cc9);const _0xbc8c36=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1f4fcd,this['_revisionActions']=_0xf9f7e0,this['_requireRevisionName']=_0x24222c,this['on']('select',(_0x26a873,_0x1442bb)=>{this['fire']('revisionSelected',_0x1442bb);}),this['on']('setName',(_0xc05d42,_0x52f9ff)=>{this['fire']('revisionSetName',_0x52f9ff);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x369cc9),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xbc8c36['if']('isEnabled','ck-disabled',_0x1ab211=>!_0x1ab211)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3fabad of this['_revisions'])this['_addRevision'](_0x3fabad);this['_revisions']['on']('add',(_0x4e741b,_0x51f35b)=>{this['_addRevision'](_0x51f35b);}),this['_revisions']['on']('remove',(_0x232795,_0x3bc5fc)=>{this['_removeRevision'](_0x3bc5fc);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x267eb4=>_0x267eb4['revisionViews']['map'](_0x329af4=>_0x329af4))['flat']();}['selectRevision'](_0x47d641){for(const _0x5618a8 of this['revisionViews'])_0x47d641&&_0x47d641['id']===_0x5618a8['id']?_0x5618a8['select']():_0x5618a8['deselect']();}['highlightRevisions'](_0x1bfd67){for(const _0xb27f15 of this['revisionViews'])_0x1bfd67['some'](({id:_0x39cde7})=>_0x39cde7===_0xb27f15['id'])?_0xb27f15['highlight']():_0xb27f15['unhighlight']();}['_addRevision'](_0x41c1ee){const _0x2b591e=di(_0x41c1ee['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x317a97=this['timePeriodViews']['get'](0x0);_0x317a97&&_0x317a97['startDate']['getTime']()===_0x2b591e['getTime']()||(_0x317a97=new mi(this['locale'],_0x2b591e,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x317a97)),_0x317a97['addRevision'](_0x41c1ee);}['_removeRevision'](_0x3902e3){const _0x203102=di(_0x3902e3['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x203102)['removeRevision'](_0x3902e3);}['_getTimePeriodViewByStartDate'](_0x11e460){return this['timePeriodViews']['find'](_0x7f6fe3=>_0x7f6fe3['startDate']['getTime']()===_0x11e460['getTime']());}}class w extends _0x272b53{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x18f8e8,Context as _0x23395c,PendingActions as _0x1d3295,icons as _0x8a6596,Command as _0x43ae24,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x21c8ec,uid as _0x87e91e,Collection as _0xc1feb7,logWarning as _0x3bd06d,FocusTracker as _0x2d96a6,KeystrokeHandler as _0x3fcf3d,scrollViewportToShowTarget as _0x364624,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x290d47}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2fd6b2,getMarkerDomElement as _0x39ac66,ConfirmMixin as _0x3290ee,sanitizeEditorConfig as _0x54f7bf}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x174abd,ViewText as _0x202b82,ViewElement as _0xdf1441,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2127cf,ViewAttributeElement as _0x5f28e1,ViewEmptyElement as _0x5a1d0a,ViewRawElement as _0x505d22,ViewUIElement as _0x4470df,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x45b754,set as _0x5a362f,unset as _0x1dd990,isEqual as _0x1c4c75}from'lodash-es';import{View as _0x1cf29a,injectCssTransitionDisabler as ts,submitHandler as _0x28a4a2,LabeledFieldView as at,createLabeledInputText as _0x53cc25,createDropdown as _0x3b7dff,ListView as te,ListItemView as _0x37475e,ButtonView as _0x79890d,MenuBarMenuView as _0x4b0c64,MenuBarMenuListView as _0x516b0e,MenuBarMenuListItemView as _0x387c09,MenuBarMenuListItemButtonView as _0x5787b1,ContextualBalloon as _0x42a3b5,ToolbarSeparatorView as _0x1e2f34,IconView as _0x13ce90,addListToDropdown as _0x1c9432,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 _0x13320c}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x21c8ec(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x32780b){super(),this['id']=_0x32780b['id']||_0x87e91e(),this['creator']=_0x32780b['creator']||null,this['authors']=_0x32780b['authors']||[],this['diffData']=_0x32780b['diffData']||null,this['toVersion']=_0x32780b['toVersion']||0x0,this['fromVersion']=_0x32780b['fromVersion']||0x0,this['set']('name',_0x32780b['name']||''),this['set']('createdAt',_0x32780b['createdAt']||new Date()),this['set']('attributes',_0x32780b['attributes']||{});}['setName'](_0x4eff92){this['_update']({'name':_0x4eff92});}['setAttribute'](_0xc7c757,_0xe74f49){const _0xe677c4=_0x45b754(this['attributes']);_0x5a362f(_0xe677c4,_0xc7c757,_0xe74f49),this['_update']({'attributes':_0xe677c4});}['removeAttribute'](_0x1cdec6){const _0x99b789=_0x45b754(this['attributes']);_0x1dd990(_0x99b789,_0x1cdec6),this['_update']({'attributes':_0x99b789});}['_update'](_0x3e2667,_0x2cc79d=!0x1){let _0x30d7c5=!0x1;const _0x115ed1={'id':this['id']},_0xad8c6b=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x236e84 of _0xad8c6b){const _0x53d4c7=_0x3e2667[_0x236e84];void 0x0!==_0x53d4c7&&_0x53d4c7!==this[_0x236e84]&&(this[_0x236e84]=_0x53d4c7,_0x115ed1[_0x236e84]=_0x53d4c7,_0x30d7c5=!0x0);}_0x30d7c5&&(_0x115ed1['authors']&&(_0x115ed1['authorsIds']=_0x115ed1['authors']['map'](_0x8affdd=>_0x8affdd['id']),delete _0x115ed1['authors']),this['fire']('_update',_0x115ed1,_0x2cc79d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x53bff9=>_0x53bff9['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x18f8e8{['_revisions'];static get['requires'](){return[_0x2fd6b2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3ec26a){super(_0x3ec26a),this['_revisions']=new _0xc1feb7();}['afterInit'](){!function(_0x4f4d7c){function _0x43af62(_0x4e2536,_0x3721fc,_0x4318e3){const _0x5e48d3={};_0x5e48d3[_0x18f515([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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],_0x5e48d3[_0x18f515([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 _0x490908=new Uint8Array(0x10);for(let _0x43a4f3=0xf;_0x43a4f3>=0x0;--_0x43a4f3)_0x490908[_0x43a4f3]=_0x4318e3%0x100,_0x4318e3=parseInt(_0x4318e3/0x100);let _0x1ed604=null,_0x4b805b=0x10;const _0x5dd8ef=new Uint8Array(_0x3721fc),_0x29fd8a=[],_0x58d666=[];_0x22fd46();for(let _0x46c408=0x0;_0x46c408<_0x4e2536[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46c408++)0x10===_0x4b805b&&(_0x1ed604=_0x2a4947(_0x490908),_0x4b805b=0x0,_0x4640a7(_0x490908)),_0x4e2536[_0x46c408]^=_0x1ed604[_0x4b805b++];return _0x4e2536;function _0x5b97bf(_0x366e36){const _0x4f3d33=[];for(let _0x723236=0x0;_0x723236<_0x366e36[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x723236+=0x4)_0x4f3d33[_0x18f515([0x70,0x75,0x73,0x68])](_0x366e36[_0x723236]<<0x18|_0x366e36[_0x723236+0x1]<<0x10|_0x366e36[_0x723236+0x2]<<0x8|_0x366e36[_0x723236+0x3]);return _0x4f3d33;}function _0x4640a7(_0x2e3a26){for(let _0x1d0d34=0xf;_0x1d0d34>=0x0;_0x1d0d34--){if(0xff!==_0x2e3a26[_0x1d0d34]){_0x2e3a26[_0x1d0d34]++;break;}_0x2e3a26[_0x1d0d34]=0x0;}}function _0x2a4947(_0x5e4d06){const _0x1f88bc=_0x29fd8a[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4e9fee=[0x0,0x0,0x0,0x0];let t=_0x5b97bf(_0x5e4d06);for(let _0x20faf0=0x0;_0x20faf0<0x4;_0x20faf0++)t[_0x20faf0]^=_0x29fd8a[0x0][_0x20faf0];for(let _0x5686b7=0x1;_0x5686b7<_0x1f88bc;_0x5686b7++){for(let _0x2aa7c4=0x0;_0x2aa7c4<0x4;_0x2aa7c4++)_0x4e9fee[_0x2aa7c4]=_0x5e48d3[_0x18f515([0x54,0x31])][t[_0x2aa7c4]>>0x18&0xff]^_0x5e48d3[_0x18f515([0x54,0x32])][t[(_0x2aa7c4+0x1)%0x4]>>0x10&0xff]^_0x5e48d3[_0x18f515([0x54,0x33])][t[(_0x2aa7c4+0x2)%0x4]>>0x8&0xff]^_0x5e48d3[_0x18f515([0x54,0x34])][0xff&t[(_0x2aa7c4+0x3)%0x4]]^_0x29fd8a[_0x5686b7][_0x2aa7c4];t=_0x4e9fee[_0x18f515([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5ed651=new Uint8Array(0x10);let _0x5197ad;for(let _0x22a071=0x0;_0x22a071<0x4;_0x22a071++)_0x5197ad=_0x29fd8a[_0x1f88bc][_0x22a071],_0x5ed651[0x4*_0x22a071]=0xff&(_0x5e48d3[_0x18f515([0x53])][t[_0x22a071]>>0x18&0xff]^_0x5197ad>>0x18),_0x5ed651[0x4*_0x22a071+0x1]=0xff&(_0x5e48d3[_0x18f515([0x53])][t[(_0x22a071+0x1)%0x4]>>0x10&0xff]^_0x5197ad>>0x10),_0x5ed651[0x4*_0x22a071+0x2]=0xff&(_0x5e48d3[_0x18f515([0x53])][t[(_0x22a071+0x2)%0x4]>>0x8&0xff]^_0x5197ad>>0x8),_0x5ed651[0x4*_0x22a071+0x3]=0xff&(_0x5e48d3[_0x18f515([0x53])][0xff&t[(_0x22a071+0x3)%0x4]]^_0x5197ad);return _0x5ed651;}function _0x22fd46(){const _0x5ad906=_0x5e48d3[_0x18f515([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5dd8ef[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xa0525d=0x0;_0xa0525d<=_0x5ad906;_0xa0525d++)_0x29fd8a[_0x18f515([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x58d666[_0x18f515([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1ee8ce=0x4*(_0x5ad906+0x1),_0x2b75ef=_0x5dd8ef[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x10c083=_0x5b97bf(_0x5dd8ef);let _0xbb67ff;for(let _0x59e9ce=0x0;_0x59e9ce<_0x2b75ef;_0x59e9ce++)_0xbb67ff=_0x59e9ce>>0x2,_0x29fd8a[_0xbb67ff][_0x59e9ce%0x4]=_0x10c083[_0x59e9ce],_0x58d666[_0x5ad906-_0xbb67ff][_0x59e9ce%0x4]=_0x10c083[_0x59e9ce];let _0x527bf2,_0x2b5bd8=0x0,t=_0x2b75ef;for(;t<_0x1ee8ce;){_0x527bf2=_0x10c083[_0x2b75ef-0x1],_0x10c083[0x0]^=_0x5e48d3[_0x18f515([0x53])][_0x527bf2>>0x10&0xff]<<0x18^_0x5e48d3[_0x18f515([0x53])][_0x527bf2>>0x8&0xff]<<0x10^_0x5e48d3[_0x18f515([0x53])][0xff&_0x527bf2]<<0x8^_0x5e48d3[_0x18f515([0x53])][_0x527bf2>>0x18&0xff]^_0x5e48d3[_0x18f515([0x72,0x63,0x6f,0x6e])][_0x2b5bd8]<<0x18,_0x2b5bd8+=0x1;for(let _0x3d446f=0x1;_0x3d446f<_0x2b75ef/0x2;_0x3d446f++)_0x10c083[_0x3d446f]^=_0x10c083[_0x3d446f-0x1];_0x527bf2=_0x10c083[_0x2b75ef/0x2-0x1],_0x10c083[_0x2b75ef/0x2]^=_0x5e48d3[_0x18f515([0x53])][0xff&_0x527bf2]^_0x5e48d3[_0x18f515([0x53])][_0x527bf2>>0x8&0xff]<<0x8^_0x5e48d3[_0x18f515([0x53])][_0x527bf2>>0x10&0xff]<<0x10^_0x5e48d3[_0x18f515([0x53])][_0x527bf2>>0x18&0xff]<<0x18;for(let _0x4051bd=_0x2b75ef/0x2+0x1;_0x4051bd<_0x2b75ef;_0x4051bd++)_0x10c083[_0x4051bd]^=_0x10c083[_0x4051bd-0x1];let _0x5ef86a,_0x150e96,_0x504c5d=0x0;for(;_0x504c5d<_0x2b75ef&&t<_0x1ee8ce;)_0x5ef86a=t>>0x2,_0x150e96=t%0x4,_0x29fd8a[_0x5ef86a][_0x150e96]=_0x10c083[_0x504c5d],_0x58d666[_0x5ad906-_0x5ef86a][_0x150e96]=_0x10c083[_0x504c5d++],t++;}for(let _0x328d4c=0x1;_0x328d4c<_0x5ad906;_0x328d4c++)for(let _0x1bd20c=0x0;_0x1bd20c<0x4;_0x1bd20c++)_0x527bf2=_0x58d666[_0x328d4c][_0x1bd20c],_0x58d666[_0x328d4c][_0x1bd20c]=_0x5e48d3[_0x18f515([0x55,0x31])][_0x527bf2>>0x18&0xff]^_0x5e48d3[_0x18f515([0x55,0x32])][_0x527bf2>>0x10&0xff]^_0x5e48d3[_0x18f515([0x55,0x33])][_0x527bf2>>0x8&0xff]^_0x5e48d3[_0x18f515([0x55,0x34])][0xff&_0x527bf2];}}function _0x18f515(_0x3406b0){return _0x3406b0['map'](_0x13b01f=>String['fromCharCode'](_0x13b01f))['join']('');}(_0x19b403=>{function _0x2b4f85(){const _0x47f8b2=[{[_0x18f515([0x69,0x64])]:0x1,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x18f515([0x69,0x64])]:0x2,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([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]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x18f515([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x18f515([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x18f515([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x18f515([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x18f515([0x69,0x64])]:0x3,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x18f515([0x69,0x64])]:0x4,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([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]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x18f515([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x18f515([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x18f515([0x69,0x64])]:0x5,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([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]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}},{[_0x18f515([0x69,0x64])]:0x6,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}},{[_0x18f515([0x69,0x64])]:0x7,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}},{[_0x18f515([0x69,0x64])]:0x8,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([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]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}},{[_0x18f515([0x69,0x64])]:0x9,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x18f515([0x69,0x64])]:0xa,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([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]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([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]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([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]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}},{[_0x18f515([0x69,0x64])]:0xb,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x18f515([0x69,0x64])]:0xc,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x18f515([0x69,0x64])]:0xd,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}},{[_0x18f515([0x69,0x64])]:0xe,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x18f515([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([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])},{[_0x18f515([0x69,0x64])]:0xf,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x18f515([0x69,0x64])]:0x10,[_0x18f515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x18f515([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x18f515([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x18f515([0x66,0x67,0x69])]:[0xc]}}];return _0x909b40(_0x47f8b2),_0x47f8b2;function _0x1a3de3(_0x50bf19){return 0x1<<_0x50bf19-0x1;}function _0x909b40(_0x11ce26){_0x11ce26[_0x18f515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44f88c=>{_0x44f88c[_0x18f515([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1a3de3(_0x44f88c[_0x18f515([0x69,0x64])]),_0x386f0(_0x44f88c)&&_0x44f88c[_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x909b40(_0x44f88c[_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x386f0(_0x27b8d2){return _0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x27b8d2;}const _0x4cda66=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1a7b8a=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3a85d2(_0x3ea7bc){const _0x4df2bb=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x178aed(_0x3ea7bc,new Uint8Array([..._0x4cda66,..._0x4df2bb,..._0x1a7b8a]));}function _0x178aed(_0x172a3e,_0x404471){const _0x41d182=_0x3d51cb(_0x172a3e),_0x2ac494=Array[_0x18f515([0x66,0x72,0x6f,0x6d])](_0x4d0303(_0x41d182)),_0x59ab26=_0x2ac494[_0x18f515([0x70,0x6f,0x70])](),_0x377b11=_0x2ac494[_0x18f515([0x70,0x6f,0x70])]();return _0x3eef18(_0x43af62(_0x2ac494,_0x404471,_0x377b11+0x100*_0x59ab26));}function _0x3d51cb(_0x28a4f0){const _0x42d0cb=atob(_0x28a4f0),[_0x185250,_0x33c434]=_0x42d0cb[_0x18f515([0x73,0x70,0x6c,0x69,0x74])](_0x18f515([0x2d]));try{if(atob(_0x33c434))return atob(_0x185250);}catch(_0x1ee3c5){}return _0x42d0cb;}function _0xd8ea34(_0x18e988){try{const _0x202c9a=_0x3a85d2(_0x18e988),_0x17855b=JSON[_0x18f515([0x70,0x61,0x72,0x73,0x65])](_0x202c9a),_0x110a64=parseInt(_0x17855b[_0x18f515([0x31])]),_0x2a48d8=_0x17855b[_0x18f515([0x32])]||'',_0x36a350=parseInt(_0x17855b[_0x18f515([0x33])]),_0x4e0822=parseInt(_0x17855b[_0x18f515([0x34])])||0x0,_0x59286b=parseInt(_0x17855b[_0x18f515([0x35])])||0x0;return{[_0x18f515([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2a48d8,[_0x18f515([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4e0822,[_0x18f515([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x110a64,[_0x18f515([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x36a350,[_0x18f515([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x59286b};}catch(_0x272af3){return null;}}const _0x4ead4d=_0x2b4f85(),_0x4731f4={[_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1fefca,[_0x18f515([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])]:_0x30f700,[_0x18f515([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])]:_0x1fbc43},_0x3078ad=_0x19b403[_0x18f515([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x190252=_0x18f515([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x19b403?_0x19b403['context']:_0x19b403['editor'],_0x23fbb2=_0x18f515([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x30]),_0x139f69=_0x18f515([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]),_0x2ca8cf=_0x190252['config']['get'](_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x532af4=_0x4ead4d[_0x18f515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x386f0)[_0x18f515([0x66,0x69,0x6e,0x64])](_0x299522=>_0x299522[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3078ad);function _0x43f387(_0x1889e7,_0x597ffd){_0x4731f4[_0x597ffd[_0x18f515([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1889e7,_0x597ffd),_0x597ffd[_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x597ffd[_0x18f515([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x18f515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3edd99=>_0x11d7c6(_0x190252,_0x3edd99[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x18f515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41703a=>_0x43f387(_0x1889e7,_0x41703a));}function _0x1fefca(_0x56b0f0,_0x187c36){_0x5828c3(_0x53fb5c(_0x56b0f0,_0x187c36),_0x187c36);}function _0x30f700(_0x40bb21,_0x3fac9c){function _0x41547f(_0x5a4733,_0xa168f0){try{if(_0x11d7c6(_0x190252,_0x18f515([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5a4733){const _0x5067fb=_0xb21122(_0x190252,_0x18f515([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x18f515([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5067fb)/0x2>_0x5a4733[_0x18f515([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x244dc5(_0xa168f0[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x53fb5c(_0x5a4733,_0xa168f0);}catch(_0x486e1a){return _0x244dc5(_0xa168f0[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5828c3(_0x41547f(_0x40bb21,_0x3fac9c),_0x3fac9c);}function _0x1fbc43(_0x463b8e,_0x295af5){const _0x477b79=_0x1a7b8a[0x0]*_0x4cda66[0x1],_0x4b435e=_0x1a7b8a[0x0]*_0x4cda66[0x2],_0x3bfe5=_0x1a7b8a[0x2]*_0x4cda66[0x2];_0x11d7c6(_0x190252,_0x18f515([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xb21122(_0x190252,_0x18f515([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x18f515([0x73,0x74,0x61,0x74,0x65])]==_0x18f515([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x58ce52()]=_0x3bfe5);function _0x78fc50(_0x2d81c4,_0x2b61ef){try{return _0x4d55a4()?_0x244dc5(_0x2b61ef[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x56,0x61,0x6c,0x69,0x64])):_0x53fb5c(_0x2d81c4,_0x2b61ef);}catch(_0x234798){return _0x244dc5(_0x2b61ef[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2337ca(_0x3f0fc4,_0x2bec86){const _0x1fd0f8=0x7;if(_0x3f0fc4==_0x2bec86[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x15791f();else{if(_0x3f0fc4==_0x2bec86[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c])){const _0x37b0e3=_0x561eec();_0x37b0e3&&_0x1c9c6a(_0x37b0e3,_0x2bec86[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3a21bb=_0x5a1188();window[_0x18f515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1c9c6a(_0x18f515([0x74,0x69,0x6d,0x65]),_0x2bec86[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3a21bb);const _0x36527c=_0xb21122(_0x190252,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x18f515([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x36527c[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1fd0f8?_0x1c9c6a(_0x18f515([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2bec86[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x36527c['on'](_0x18f515([0x61,0x64,0x64]),()=>{_0x36527c[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1fd0f8&&_0x1c9c6a(_0x18f515([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2bec86[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x561eec(){if(!_0x11d7c6(_0x190252,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x591c62 in window)if(Number['isNaN'](Number(_0x591c62))){if(window[_0x591c62]===_0x477b79)return _0x18f515([0x74,0x69,0x6d,0x65]);if(window[_0x591c62]===_0x4b435e)return _0x18f515([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4d55a4(){if(!_0x11d7c6(_0x190252,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x48a757 in window)if(Number['isNaN'](Number(_0x48a757))&&window[_0x48a757]===_0x3bfe5)return!0x0;return!0x1;}function _0x1c9c6a(_0x5b3b77,_0x280fde){_0x15791f(),_0x244dc5(_0x280fde+_0x18f515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5b3b77),window[_0x58ce52()]=_0x5b3b77===_0x18f515([0x74,0x69,0x6d,0x65])?_0x477b79:_0x4b435e;}function _0x5a1188(){let _0x3f47c2=_0x1a7b8a[0x6]*_0x4cda66[0x8]*_0x4cda66[0x6];return _0x11d7c6(_0x190252,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3f47c2/=0xa),_0x3f47c2;}function _0x15791f(){const _0x1a0b40=_0x190252;function _0x40de36(){_0x11d7c6(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f515([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x18f515([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f515([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f515([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3ba798,_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x18f515([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3ba798,_0x1a0b40[_0x18f515([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba798,_0x1a0b40[_0x18f515([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba798,_0x1a0b40[_0x18f515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18f515([0x6d,0x6f,0x64,0x65,0x6c]))),_0x11d7c6(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f515([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x18f515([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f515([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f515([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3ba798,_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f515([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3ba798);}_0x1a0b40[_0x18f515([0x73,0x74,0x61,0x74,0x65])]==_0x18f515([0x72,0x65,0x61,0x64,0x79])?_0x40de36():_0x1a0b40[_0x18f515([0x6f,0x6e,0x63,0x65])](_0x18f515([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x11d7c6(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x40de36(),_0x11d7c6(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4d0aa3=_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x18f5d7=_0x4d0aa3['getRevision'](0x0),_0x3a77a2=_0x4d0aa3['getEarlierVisibleRevision'](_0x18f5d7[_0x18f515([0x69,0x64])]);_0xb21122(_0x1a0b40,_0x18f515([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x18f515([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x18f5d7[_0x18f515([0x69,0x64])],_0x3a77a2?_0x3a77a2[_0x18f515([0x69,0x64])]:null,0x1)['then'](()=>_0x40de36());}});}_0x2337ca(_0x78fc50(_0x463b8e,_0x295af5),_0x295af5);}function _0x53fb5c(_0x53789d,_0x529be1){try{return _0x24a3df(_0x529be1)?_0x244dc5(_0x529be1[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x56,0x61,0x6c,0x69,0x64])):_0x53789d&&_0xacc911(_0x53789d[_0x18f515([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x529be1)?_0x53789d[_0x18f515([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x18f515([0x6f,0x70,0x65,0x6e])][_0x18f515([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x23fbb2)/0x2>_0x53789d[_0x18f515([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x244dc5(_0x529be1[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x53789d[_0x18f515([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x244dc5(_0x529be1[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c])):_0x244dc5(_0x529be1[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x56,0x61,0x6c,0x69,0x64])):_0x244dc5(_0x529be1[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x336ce6){return _0x244dc5(_0x529be1[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5828c3(_0x5ad005,_0x5cbe63){if(_0x190252 instanceof _0x23395c){const _0x335256=_0x190252;_0x5ad005==_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x49973c(_0x335256):_0x5ad005==_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c])&&window[_0x18f515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x49973c(_0x335256),_0x244dc5(_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1a7b8a[0x6]*_0x4cda66[0x8]*_0x4cda66[0x6]),_0x335256[_0x18f515([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x18f515([0x6f,0x6e])](_0x18f515([0x61,0x64,0x64]),(_0x29f821,_0x21a92f)=>{_0x5ad005!=_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5ad005!=_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5ad005!=_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x560f31(_0x21a92f);});}else{const _0x1951ba=_0x190252;_0x5ad005==_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x560f31(_0x1951ba):_0x5ad005==_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c])&&_0x1951ba[_0x18f515([0x6f,0x6e])](_0x18f515([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2f64ff=0x0;_0x1951ba[_0x18f515([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f515([0x6f,0x6e])](_0x18f515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x113618,_0x128780)=>{_0x128780[0x0][_0x18f515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f64ff++,0x1f8===_0x2f64ff&&(_0x560f31(_0x1951ba),_0x244dc5(_0x5cbe63[_0x18f515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x18f515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x113618[_0x18f515([0x6f,0x66,0x66])]());},{'priority':_0x18f515([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x244dc5(_0x37ab9d){const _0x247b94=_0x58ce52();return _0x190252[_0x247b94]=_0x37ab9d,_0x37ab9d;}function _0x58ce52(){const _0x477748=String(window[_0x18f515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18f515([0x6e,0x6f,0x77])]())[_0x18f515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18f515([0x2e]),'');let _0x2c84f1='';for(let _0x3e9a20=0x0;_0x3e9a20<_0x477748[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e9a20+=0x2){let _0x5d5668=parseInt(_0x477748[_0x18f515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e9a20,_0x3e9a20+0x2));_0x5d5668>=_0x139f69[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d5668-=_0x139f69[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c84f1+=_0x139f69[_0x5d5668];}return _0x2c84f1;}function _0x49973c(_0x1dc3a4){for(const _0xfd7039 of _0x1dc3a4[_0x18f515([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x560f31(_0xfd7039);_0xb21122(_0x1dc3a4,_0x18f515([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x18f515([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xb21122(_0x1dc3a4,_0x18f515([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x18f515([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3ba798;}function _0x560f31(_0x532584){function _0x30c1b3(){_0x532584[_0x18f515([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba798,_0x532584[_0x18f515([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba798,_0x532584[_0x18f515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18f515([0x6d,0x6f,0x64,0x65,0x6c]));}_0x532584[_0x18f515([0x73,0x74,0x61,0x74,0x65])]==_0x18f515([0x72,0x65,0x61,0x64,0x79])?_0x30c1b3():_0x532584[_0x18f515([0x6f,0x6e,0x63,0x65])](_0x18f515([0x72,0x65,0x61,0x64,0x79]),()=>_0x30c1b3());}function _0x3ba798(){return null;}function _0xacc911(_0x5d2f5d,_0x43197f){const _0x109651=!!(_0x5d2f5d&_0x43197f[_0x18f515([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1ed86a=_0x44f312(_0x5d2f5d,_0x43197f);return _0x109651||_0x1ed86a;}function _0x44f312(_0x43aca7,_0xc8ad9c){const _0x413c7c=(_0xc8ad9c[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x18f515([0x66,0x67,0x69])]||null;return!!_0x413c7c&&_0x4ead4d[_0x18f515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57156a=>_0x413c7c[_0x18f515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57156a[_0x18f515([0x69,0x64])]))[_0x18f515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37fe1c=>!_0x1ce2fc(_0x37fe1c))[_0x18f515([0x73,0x6f,0x6d,0x65])](_0x3d54d1=>!!(_0x43aca7&_0x3d54d1[_0x18f515([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1ce2fc(_0x3739ee){const _0x309ee9={[_0x18f515([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])]:_0x13d80d};return!!_0x3739ee['forbiddenHandler']&&_0x309ee9[_0x3739ee['forbiddenHandler']]();}function _0x13d80d(){return!window[_0x18f515([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x11d7c6(_0x190252,_0x18f515([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x24a3df(_0x5cd645){if(!_0x11d7c6(_0x190252,_0x5cd645[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x421df8=_0x5cd645[_0x18f515([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x33d200=_0x421df8[_0x18f515([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x349908=_0x421df8[_0x18f515([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3d0649=_0x421df8[_0x18f515([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x11d7c6(_0x190252,_0x18f515([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xb21122(_0x190252,_0x18f515([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x18f515([0x73,0x74,0x61,0x74,0x65])]==_0x18f515([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x33d200)return!0x0;if(_0x11d7c6(_0x190252,_0x18f515([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xb21122(_0x190252,_0x18f515([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x18f515([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x18f515([0x65,0x6e,0x64])&&_0x349908)return!0x0;return!(!_0x11d7c6(_0x190252,_0x18f515([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]))||_0xb21122(_0x190252,_0x18f515([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]))[_0x18f515([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x18f515([0x65,0x6e,0x64])||!_0x3d0649);}function _0x11d7c6(_0x28eb09,_0x814eaf){return _0x28eb09[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x18f515([0x68,0x61,0x73])](_0x814eaf);}function _0xb21122(_0x41371a,_0x19e0f8){return _0x41371a[_0x18f515([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x18f515([0x67,0x65,0x74])](_0x19e0f8);}function _0x3eef18(_0x5277ab){let _0x4fae8d='';for(const _0x479b34 of _0x5277ab)_0x4fae8d+=String[_0x18f515([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x479b34);return _0x4fae8d;}function _0x4d0303(_0x580d75){const _0x4f65ef=new Uint8Array(_0x580d75[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x428754=0x0;_0x428754<_0x580d75[_0x18f515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x428754++)_0x4f65ef[_0x428754]=_0x580d75[_0x18f515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x428754);return _0x4f65ef;}_0x532af4&&_0x43f387(_0xd8ea34(_0x2ca8cf),_0x532af4);})(_0x4f4d7c);}(this);}['createRevision'](_0x113620){const _0x3a5384=this['editor']['plugins']['get']('Users');return new a({'id':_0x113620['id'],'name':_0x113620['name'],'creator':_0x113620['creatorId']?_0x3a5384['getUser'](_0x113620['creatorId']):null,'diffData':_0x113620['diffData']||_0x113620['data'],'authors':_0x113620['authorsIds']['map'](_0x23caf6=>_0x3a5384['getUser'](_0x23caf6)),'createdAt':new Date(_0x113620['createdAt']),'attributes':_0x113620['attributes'],'fromVersion':_0x113620['fromVersion'],'toVersion':_0x113620['toVersion']});}['addRevision'](_0x34840d,_0x5c2ae7=0x0){this['_revisions']['add'](_0x34840d,_0x5c2ae7);}['getRevision'](_0xb6a9b3){return this['_revisions']['get'](_0xb6a9b3);}['getRevisions'](_0x49d3a3={'toJSON':!0x1}){const _0x31db38=Array['from'](this['_revisions']);return _0x31db38['reverse'](),_0x49d3a3['toJSON']?_0x31db38['map'](_0xfbcc7c=>_0xfbcc7c['toJSON']()):_0x31db38;}['getIndex'](_0x2bcd55){return this['_revisions']['getIndex'](_0x2bcd55);}['getEarlierVisibleRevision'](_0x3426d1){const [,_0x4a39b7]=this['getRevisionsIterator'](_0x3426d1,{'direction':'earlier'});return _0x4a39b7;}['getLaterVisibleRevision'](_0x10d59a){const [,_0x330024]=this['getRevisionsIterator'](_0x10d59a,{'direction':'later'});return _0x330024;}['getRevisionsInDiff'](_0x38a3fb){const _0x2027a4=[];for(const _0x3cd173 of this['getRevisionsIterator'](_0x38a3fb['newRevisionId']))if(_0x2027a4['push'](_0x3cd173),_0x3cd173['id']===_0x38a3fb['oldRevisionId'])break;return _0x2027a4;}*['getRevisionsIterator'](_0x59fb84,{direction:_0x285f41='earlier',filter:_0x4d3d3f=_0x2ab0bb=>!0x0}={}){const _0x47d141='earlier'===_0x285f41?0x1:-0x1;let _0x40765b=this['_revisions']['get'](_0x59fb84),_0x300218=this['getIndex'](_0x40765b);for(yield _0x40765b;_0x40765b;){if(_0x300218+=_0x47d141,_0x40765b=this['getRevision'](_0x300218),!_0x40765b)return;_0x4d3d3f(_0x40765b)&&(yield _0x40765b);}}}function y(_0xd30c43,_0x1b1e3e,_0x5c8035){const t=_0xd30c43['t'];switch(_0x1b1e3e){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'},_0x5c8035);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5c8035);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x2127cf,'a':_0x5f28e1,'e':_0x5a1d0a,'r':_0x505d22,'u':_0x4470df};class l extends _0x18f8e8{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2fd6b2,A,_0x1d3295];}constructor(_0x3c2c94){super(_0x3c2c94),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 _0x3dc960=_0x87e91e();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3dc960},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 _0x822579=this['repository']['getRevision'](0x0),_0x3f2548=_0x822579&&null===_0x822579['creator']?_0x822579:null;if(this['_continueCurrentRevision']=!!_0x3f2548&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x205100=this['_source']['getCurrentRevisionId'](),_0x325525=this['repository']['getRevision'](_0x205100);if(_0x325525)this['_startingVersion']=_0x325525['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5dcff6=this['_source']['history']['_operations']['find'](_0xd0de97=>!_0xd0de97['_isInit']),_0x290779=_0x5dcff6?_0x5dcff6['baseVersion']:this['_source']['history']['version'];_0x822579?(_0x822579['toVersion']<_0x290779&&_0x822579['_update']({'toVersion':_0x290779}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f2548['id'],this['_startingVersion']=_0x3f2548['fromVersion']):(this['_startingVersion']=_0x822579['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x290779,this['_continueCurrentRevision']=!0x1);}}else _0x3f2548&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f2548['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f2548['fromVersion']===_0x3f2548['toVersion']?(0x0!==_0x3f2548['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f2548['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f2548['id'],this['_startingVersion']=_0x3f2548['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',_0x2f66f7=>!_0x2f66f7);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x8b2a1=this['repository']['getRevision'](0x0),_0x33405b=await this['getRevisionDocumentData'](_0x8b2a1),_0x41f017=await this['getRevisionRootsAttributes'](_0x8b2a1);this['_replaceEditorDataWithRevisionData'](_0x33405b,_0x41f017);}}['setSource'](_0x49ec86){this['_source']=_0x49ec86;}async['update'](){const _0x54ee50=await this['_source']['getLatestVersion']();if(_0x54ee50>this['currentRevision']['toVersion']){await this['_loadState']();const _0x350ec8=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x54ee50});_0x350ec8['authors']=_0x350ec8['authorsIds']['map'](_0x4614a6=>this['editor']['plugins']['get']('Users')['getUser'](_0x4614a6)),this['currentRevision']['_update'](_0x350ec8);}}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'](_0x25c619={},_0x23bead=null){const _0xf6f981=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x23bead>this['currentRevision']['toVersion']&&(_0x23bead=null),null===_0x23bead&&(_0x23bead=await this['_source']['getLatestVersion']());const _0x2b8ff3=this['_getFromVersion'](_0x23bead),_0x33a358=this['buildRevisionData']({'from':_0x2b8ff3,'to':_0x23bead});if(this['currentRevision']['toVersion']<_0x23bead){const _0x375e23=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x23bead,'to':_0x23bead});_0x375e23['authors']=[],_0x375e23['authorsIds']=[],_0x375e23['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x375e23,!0x0),delete _0x375e23['authors'],_0xf6f981['push'](_0x375e23);}_0x25c619['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x25c619['name']=_0x25c619['name']||null,_0x25c619['id']=_0x25c619['id']||_0x87e91e(),_0x25c619={..._0x25c619,..._0x33a358};const _0x448bfe=this['addRevisionData'](_0x25c619);_0xf6f981['push'](_0x25c619);const _0xd89f6f=this['repository']['getIndex'](_0x448bfe);if(0x0!==_0xd89f6f){const _0x129463=this['repository']['getRevision'](_0xd89f6f-0x1);if(_0x129463['fromVersion']!==_0x23bead){const _0x4a8b77=this['_revisionDataBuilder']['getData'](_0x23bead,_0x129463['toVersion']),_0x17da2a={'id':_0x129463['id'],'diffData':_0x4a8b77['diffData'],'authorsIds':_0x4a8b77['authorsIds'],'authors':_0x4a8b77['authorsIds']['map'](_0x836055=>this['editor']['plugins']['get']('Users')['getUser'](_0x836055)),'fromVersion':_0x23bead};_0x129463===this['currentRevision']&&(_0x17da2a['createdAt']=new Date(_0x25c619['createdAt']['getTime']()+0xa)),_0x129463['_update'](_0x17da2a,!0x0),delete _0x17da2a['authors'],_0xf6f981['push'](_0x17da2a);}}if(this['adapter']){for(const _0x365ae4 of _0xf6f981)this['_bufferUpdate'](_0x365ae4['id'],_0x365ae4,!0x0);this['sendBufferedUpdates']();}return _0x448bfe;}['addRevisionData'](_0x531426){const _0x4f9797=this['repository']['createRevision'](_0x531426);return this['adapter']&&_0x4f9797['on']('_update',(_0x16d076,_0x3ebc0e,_0x47fe4d)=>{_0x47fe4d||(this['_bufferUpdate'](_0x3ebc0e['id'],_0x3ebc0e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4f9797,this['_findInsertionIndex'](_0x4f9797)),_0x4f9797;}async['getRevisionDocumentData'](_0x1fa119){await this['_loadRevisionData'](_0x1fa119);const _0x98f002={};for(const _0x3d57bf in _0x1fa119['diffData']){if(_0x1fa119['diffData'][_0x3d57bf]['attachChange']&&!_0x1fa119['diffData'][_0x3d57bf]['attachChange']['isAttached'])continue;const _0x1c914f=this['_removeRevisionMarkers'](JSON['parse'](_0x1fa119['diffData'][_0x3d57bf]['insertions'])),_0x192e77=this['editor']['editing']['view']['document'],_0x4797dc=new _0x174abd(_0x192e77,_0x1c914f['map'](_0x22a506=>B(_0x22a506,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x98f002[_0x3d57bf]=this['editor']['data']['processor']['toData'](_0x4797dc),this['editor']['data']['processor']['useFillerType']('default');}return _0x98f002;}async['getRevisionRootsAttributes'](_0xf9d202){await this['_loadRevisionData'](_0xf9d202);const _0x201150={};for(const _0x558f80 in _0xf9d202['diffData'])_0xf9d202['diffData'][_0x558f80]['attachChange']&&!_0xf9d202['diffData'][_0x558f80]['attachChange']['isAttached']||(_0x201150[_0x558f80]=_0xf9d202['diffData'][_0x558f80]['attributesAfter']||{});return _0x201150;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x55e9ad=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2f7f76=0x0;_0x2f7f76<_0x55e9ad['length'];_0x2f7f76++){const _0x4b571d=_0x55e9ad[_0x2f7f76];let _0x1b1036=!0x1;for(const _0x36469b of Object['keys'](_0x4b571d))void 0x0===_0x4b571d[_0x36469b]?delete _0x4b571d[_0x36469b]:'id'!==_0x36469b&&(_0x1b1036=!0x0);_0x1b1036||(_0x55e9ad[_0x2f7f76]=null);}if(_0x55e9ad=_0x55e9ad['filter'](_0x1ca103=>null!==_0x1ca103),!_0x55e9ad['length'])return;for(let _0x6098e=0x0;_0x6098e<_0x55e9ad['length'];_0x6098e++){const _0x42a6a7=_0x55e9ad[_0x6098e];void 0x0!==_0x42a6a7['fromVersion']&&void 0x0===_0x42a6a7['toVersion']&&(_0x42a6a7['toVersion']=this['repository']['getRevision'](_0x42a6a7['id'])['toVersion']),void 0x0!==_0x42a6a7['toVersion']&&void 0x0===_0x42a6a7['fromVersion']&&(_0x42a6a7['fromVersion']=this['repository']['getRevision'](_0x42a6a7['id'])['fromVersion']);}const _0x1cca37=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x55e9ad,_0x1cca37)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x9f706d=>{if(_0x9f706d){for(const _0x91ced9 of _0x9f706d)this['setRevisionData']({'id':_0x91ced9['id'],'createdAt':_0x91ced9['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x536fa7,_0x246b00){let _0x4b3499=this['editor']['config']['get']('initialData'),_0x33301c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4b3499){_0x4b3499={};for(const _0x3e83da of this['editor']['model']['document']['getRootNames']())_0x4b3499[_0x3e83da]='';}if('string'==typeof _0x4b3499&&(_0x4b3499={'main':_0x4b3499}),void 0x0===_0x33301c){_0x33301c={};for(const _0x2b4c44 of this['editor']['model']['document']['getRootNames']())_0x33301c[_0x2b4c44]={};}let _0x4a9bb9=!0x1;const _0x12e6fb=Object['keys'](_0x4b3499),_0x3cf36f=Object['keys'](_0x536fa7);for(const _0x2df59b of _0x12e6fb){if(_0x4b3499[_0x2df59b]!==_0x536fa7[_0x2df59b]&&''!==_0x4b3499[_0x2df59b]['trim']()){_0x4a9bb9=!0x0;break;}if(!_0x1c4c75(_0x33301c[_0x2df59b],_0x246b00[_0x2df59b])&&Object['keys'](_0x33301c[_0x2df59b])['length']>0x0){_0x4a9bb9=!0x0;break;}}_0x4a9bb9||(_0x4a9bb9=_0x3cf36f['some'](_0x378346=>!this['editor']['model']['document']['getRoot'](_0x378346))),_0x4a9bb9&&_0x3bd06d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4b3499,'editorRootsAttributes':_0x33301c,'revisionData':_0x536fa7,'revisionRootsAttributes':_0x246b00}),this['editor']['config']['set']('initialData',_0x536fa7),this['editor']['config']['set']('rootsAttributes',_0x246b00);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x57c5b4=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x57c5b4['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x51bad8){const _0x3fc1bf=this['repository']['getRevisions']();_0x3fc1bf['reverse']();let _0x3ec371=0x0;for(;_0x3ec371<_0x3fc1bf['length'];){const _0x572ef2=_0x3fc1bf[_0x3ec371];if(_0x572ef2===this['currentRevision']){_0x3ec371++;continue;}if(_0x572ef2['id']===this['_initialRevisionId'])break;const _0x1b3fb0=_0x51bad8['toVersion']-_0x572ef2['toVersion']||_0x51bad8['fromVersion']-_0x572ef2['fromVersion'];if(_0x1b3fb0>0x0)break;if(_0x1b3fb0<0x0)_0x3ec371++;else{if(!_0x51bad8['creator']&&_0x572ef2['creator'])break;if(_0x572ef2['creator']||!_0x51bad8['creator']){if(_0x51bad8['createdAt']>_0x572ef2['createdAt'])break;_0x3ec371++;}else _0x3ec371++;}}return _0x3ec371;}['setRevisionData'](_0x18970e){const _0x4cf650=this['repository']['getRevision'](_0x18970e['id']);if(_0x18970e['createdAt']&&(_0x18970e['createdAt']=new Date(_0x18970e['createdAt'])),_0x18970e['authorsIds']){const _0x32739f=this['editor']['plugins']['get']('Users');_0x18970e['authors']=_0x18970e['authorsIds']['map'](_0x84f089=>_0x32739f['getUser'](_0x84f089));}_0x4cf650['_update'](_0x18970e,!0x0);}['buildRevisionData']({revision:_0x9085e2=null,from:_0x334771=null,to:_0x19ed1a=null}){_0x334771=null!==_0x334771?_0x334771:_0x9085e2['fromVersion'],_0x19ed1a=null!==_0x19ed1a?_0x19ed1a:_0x9085e2['toVersion'];const _0x2de01d=this['_revisionDataBuilder']['getData'](_0x334771,_0x19ed1a),_0x12da57={'diffData':_0x2de01d['diffData'],'authorsIds':_0x2de01d['authorsIds'],'fromVersion':_0x334771,'toVersion':_0x19ed1a};if(!_0x9085e2||_0x19ed1a!==_0x9085e2['toVersion']){const _0x482bc9=_0x19ed1a-0x1,_0x130a36=this['_source']['history']['getOperation'](_0x482bc9);_0x12da57['createdAt']=_0x130a36&&_0x130a36['createdAt']||new Date();}if(this['_loadedStateData']&&_0x334771===this['_loadedStateData']['fromVersion']){for(const _0x33bc02 of this['_loadedStateData']['authors'])_0x12da57['authorsIds']['includes'](_0x33bc02['id'])||_0x12da57['authorsIds']['push'](_0x33bc02['id']);}return _0x12da57;}['_loadRevisionData'](_0x48683e){if(!_0x48683e||_0x48683e['diffData'])return Promise['resolve']();{const _0x3e5cb3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3e5cb3,'revisionId':_0x48683e['id']})['then'](_0x4feed6=>{_0x48683e['diffData']=_0x4feed6['diffData'];});}}['_bufferUpdate'](_0x257cf4,_0x27b4d7,_0x5e248f){if(this['_bufferedUpdates']['has'](_0x257cf4)){const _0x18ffa5=this['_bufferedUpdates']['get'](_0x257cf4);_0x27b4d7=_0x5e248f?{..._0x18ffa5,..._0x27b4d7}:{..._0x27b4d7,..._0x18ffa5};}this['_bufferedUpdates']['set'](_0x257cf4,_0x27b4d7);}['_getFromVersion'](_0x35dab8){const _0x362ea6=this['repository']['getRevisions']();_0x362ea6['reverse'](),_0x362ea6['shift']();const _0x5c502d=_0x362ea6['find'](_0x24a8ec=>_0x24a8ec['toVersion']<=_0x35dab8)['toVersion'];return _0x5c502d<this['_startingVersion']?this['_startingVersion']:_0x5c502d;}['_createInitialRevision'](_0x598ca4){const _0x62a108=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x62a108)this['_initialRevisionId']=_0x62a108['id'];else{const _0x50b0c1=!this['editor']['model']['document']['roots']['find'](_0x1a749e=>this['editor']['model']['hasContent'](_0x1a749e)),_0x4e830a=this['editor']['plugins']['get']('Users')['me']['id'],_0x2ef55c=y(this['editor']['locale'],_0x50b0c1?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x598ca4,'to':_0x598ca4,'id':this['_initialRevisionId'],'name':_0x2ef55c,'creatorId':_0x4e830a});}}['_createCurrentRevision'](_0x172777){const _0x4d40c5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4d40c5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x172777,'to':_0x172777,'id':_0x4d40c5,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1c8079,from:_0x24ff17,to:_0x32611f,creatorId:_0x3bd7ab,id:_0x2b3e2e}){const _0x3a1b4e=this['buildRevisionData']({'from':_0x24ff17,'to':_0x32611f});_0x3a1b4e['name']=_0x1c8079,_0x3a1b4e['creatorId']=_0x3bd7ab,_0x3a1b4e['id']=_0x2b3e2e;const _0x42c00b=this['addRevisionData'](_0x3a1b4e);return this['adapter']&&this['_bufferUpdate'](_0x3a1b4e['id'],_0x3a1b4e,!0x0),_0x42c00b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x73483e){return(_0x73483e=_0x73483e['filter'](_0x15bc77=>!_0x15bc77['name']||'revision-start'!==_0x15bc77['name']&&'revision-end'!==_0x15bc77['name']))['forEach'](_0x3d0e08=>{'string'!=typeof _0x3d0e08&&(_0x3d0e08['children']=this['_removeRevisionMarkers'](_0x3d0e08['children']),_0x3d0e08['attributes']=_0x3d0e08['attributes']['filter'](_0x2aed6b=>!_0x2aed6b[0x0]['startsWith']('data-revision-')));}),_0x73483e;}}function B(_0x321422,_0x2665ad){const _0x4a870c=_0x2665ad['editing']['view']['document'];if('string'==typeof _0x321422)return new _0x202b82(_0x4a870c,_0x321422);{const _0x5a2c9d=_0x321422['children']['map'](_0x517bf9=>B(_0x517bf9,_0x2665ad));return new(T[_0x321422['type']]||_0xdf1441)(_0x4a870c,_0x321422['name'],_0x321422['attributes'],_0x5a2c9d);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x32e049){this['editor']=_0x32e049,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'](_0x4affb8){this['source']=_0x4affb8;const _0xc1563d=new Map(),_0x590e8d=new Map(),_0x31b845=this['editor']['model']['document']['roots']['map'](_0x2d0649=>_0x2d0649['rootName']);for(const _0x33c2ec of _0x31b845){const _0x3f8fa4=this['editor']['model']['document']['getRoot'](_0x33c2ec),_0x11fe3b=q(_0x3f8fa4);_0xc1563d['set'](_0x33c2ec,_0x11fe3b),_0x590e8d['set'](_0x33c2ec,Object['fromEntries'](_0x3f8fa4['getAttributes']()));}const _0x4ba8f3=Array['from'](this['editor']['model']['markers'])['map'](_0xbd9c7b=>[_0xbd9c7b['name'],_0xbd9c7b['getRange']()]),_0x54afe0=this['source']['version'];this['_saveMetaData'](_0x54afe0,_0xc1563d,_0x4ba8f3,_0x590e8d),this['_startingRevisionId']=this['_revisionId'];const _0x3cd03b=new Map(),_0x53f2dd=new Map();for(const _0x41e1de of _0x31b845){const _0x49e9a9=G(_0x41e1de);_0x3cd03b['set'](_0x41e1de,_0x49e9a9),_0x53f2dd['set'](_0x41e1de,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3cd03b,[],_0x53f2dd);}['getData'](_0x514608,_0x2af4d7){if(this['_lastFrom']===_0x514608&&this['_lastTo']<=_0x2af4d7)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2af4d7,!0x0);else{if(!this['_savedMetaData']['has'](_0x514608)){const _0x815b26=this['_getPreviousFrom'](_0x514608);this['_calculateMetaData'](_0x815b26,_0x514608,!0x1);}this['_calculateMetaData'](_0x514608,_0x2af4d7,!0x0);}return this['_lastFrom']=_0x514608,this['_lastTo']=_0x2af4d7,this['_getState']();}['loadState'](_0x5d4023){this['_reset'](),this['_lastFrom']=_0x5d4023['fromVersion'],this['_lastTo']=_0x5d4023['toVersion'];for(const _0x3b5e83 in _0x5d4023['diffData']){const _0xb6f131=_0x5d4023['diffData'][_0x3b5e83]['attachChange'],_0x5d3c8f=_0x45b754(_0x5d4023['diffData'][_0x3b5e83]['attributesBefore'])||{},_0x2afa3d=this['_makeModelFromViewString'](_0x5d4023['diffData'][_0x3b5e83]['deletions']);_0x2afa3d['rootName']=_0x3b5e83,_0x2afa3d['_isAttached']=!_0xb6f131||!_0xb6f131['isAttached'],_0x2afa3d['isAttached']=()=>_0x2afa3d['_isAttached'],this['_baseRoots']['set'](_0x3b5e83,_0x2afa3d),this['_baseRootsAttributes']['set'](_0x3b5e83,_0x5d3c8f),_0xb6f131&&this['_touchedRoots']['set'](_0x3b5e83,_0xb6f131);const _0x816faa=this['_makeIdsRoot'](_0x2afa3d);this['_baseIdsRoots']['set'](_0x3b5e83,_0x816faa);for(const [_0xf7b861,_0x439b5a]of _0x2afa3d['markers']){if(!_0xf7b861['startsWith']('revision:'))continue;const _0x5df91a=_0xf7b861['split'](':')[0x2];for(const _0x5e50a5 of _0x439b5a['getWalker']({'singleCharacters':!0x0})){const _0x22a2fa=this['_getVidAttributeName'](_0x5e50a5),_0x5236ed='elementEnd'==_0x5e50a5['type']?_0x5e50a5['previousPosition']['path']['slice'](0x0,-0x1):_0x5e50a5['previousPosition']['path'],_0x16e85e=_0x816faa['getNodeByPath'](_0x5236ed)['getAttribute'](_0x22a2fa);this['_touched']['set'](_0x16e85e,{'userId':_0x5df91a});}}}this['_startingRevisionId']=this['_revisionId'];const _0x438f41=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1fe3c0=>!this['_touched']['has'](_0x1fe3c0));let _0x166dbf=0x0;const _0x1f3b4a=new Map();for(const _0x221dec in _0x5d4023['diffData']){const _0x2c57ce=_0x5d4023['diffData'][_0x221dec]['attachChange'],_0x4f268b=_0x45b754(_0x5d4023['diffData'][_0x221dec]['attributesAfter'])||{},_0x3c4c5c=this['_makeModelFromViewString'](_0x5d4023['diffData'][_0x221dec]['insertions']);_0x3c4c5c['rootName']=_0x221dec,_0x3c4c5c['_isAttached']=!_0x2c57ce||_0x2c57ce['isAttached'],_0x3c4c5c['isAttached']=()=>_0x3c4c5c['_isAttached'],this['_diffRoots']['set'](_0x221dec,_0x3c4c5c),this['_diffRootsAttributes']['set'](_0x221dec,_0x4f268b);const _0xe176fc=this['_makeIdsRoot'](_0x3c4c5c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x221dec,_0xe176fc),_0x1f3b4a['set'](_0x221dec,_0x3c4c5c['isAttached']()?_0x4f268b:{});for(const [_0x4b523c,_0x231422]of _0x3c4c5c['markers']){if(!_0x4b523c['startsWith']('revision:'))continue;const _0x58fcee=_0x4b523c['split'](':')[0x2];for(const _0x51e6e8 of _0x231422['getWalker']({'singleCharacters':!0x0})){const _0x5095e5=this['_getVidAttributeName'](_0x51e6e8),_0x5c82b3=this['_revisionId']++,_0x4e8ece='elementEnd'==_0x51e6e8['type']?_0x51e6e8['previousPosition']['path']['slice'](0x0,-0x1):_0x51e6e8['previousPosition']['path'];_0xe176fc['getNodeByPath'](_0x4e8ece)['_setAttribute'](_0x5095e5,_0x5c82b3),this['_touched']['set'](_0x5c82b3,{'userId':_0x58fcee});}}for(const _0x14c522 of this['editor']['model']['createRangeIn'](_0x3c4c5c)['getWalker']({'singleCharacters':!0x0})){const _0x52a80b=this['_getVidAttributeName'](_0x14c522),_0x98936='elementEnd'==_0x14c522['type']?_0x14c522['previousPosition']['path']['slice'](0x0,-0x1):_0x14c522['previousPosition']['path'],_0x171fe5=_0xe176fc['getNodeByPath'](_0x98936);_0x171fe5['getAttribute'](_0x52a80b)>0x0||_0x171fe5['_setAttribute'](_0x52a80b,_0x438f41[_0x166dbf++]);}for(const [_0x206a15,_0x1c64b2]of _0x3c4c5c['markers'])_0x206a15['startsWith']('revision:')||this['_markers']['set'](_0x206a15,_0x1c64b2);}const _0x361e65=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x361e65),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x361e65,0x1));const _0x463fae=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x463fae),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x463fae,0x1));const _0xcb2e33=Array['from'](this['_diffRoots'])['map'](([_0x1a2a0c,_0x423fa6])=>[_0x1a2a0c,q(_0x423fa6)]);this['_saveMetaData'](this['_lastTo'],_0xcb2e33,this['_markers'],_0x1f3b4a);}['_makeModelFromViewString'](_0x12e342){const _0x184b2f=JSON['parse'](_0x12e342),_0x12bdd0=this['editor']['editing']['view']['document'],_0x26bae4=new _0x174abd(_0x12bdd0,_0x184b2f['map'](_0x38b0cc=>B(_0x38b0cc,this['editor'])));return this['editor']['data']['toModel'](_0x26bae4);}['_saveMetaData'](_0xd8dc9e,_0x399dfe,_0x23f02a,_0x5aa4b1){const _0x2fb8b1=new Map(_0x399dfe),_0x31e1f5=new Map(_0x45b754(_0x5aa4b1)),_0x102aca=new Map();for(const [_0x259608,_0x2716ea]of _0x23f02a)_0x102aca['set'](_0x259608,{'start':_0x2716ea['start']['clone'](),'end':_0x2716ea['end']['clone'](),'rootName':_0x2716ea['root']['rootName']});this['_savedMetaData']['set'](_0xd8dc9e,{'roots':_0x2fb8b1,'markers':_0x102aca,'rootsAttributes':_0x31e1f5});}['_removeMetaData'](_0x231a3a){this['_savedMetaData']['delete'](_0x231a3a);}['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'](_0x136c63,_0x3eed09=null){let _0x11faf5=null;_0x136c63['is']('documentFragment')||(_0x11faf5=new ft(_0x136c63['name'],{'vid_start':null===_0x3eed09?this['_revisionId']++:_0x3eed09++}));const _0x2d4318=[];for(const _0x58a7a8 of _0x136c63['getChildren']())if(_0x58a7a8['is']('element')){_0x2d4318['push'](this['_makeIdsRoot'](_0x58a7a8,_0x3eed09));const _0x449b6e=_0x2d4318[_0x2d4318['length']-0x1];null!==_0x3eed09&&(_0x3eed09=_0x449b6e['is']('element','$text')?_0x449b6e['getAttribute']('vid')+0x1:_0x449b6e['getAttribute']('vid_end')+0x1);}else{for(let _0x2c8741=0x0;_0x2c8741<_0x58a7a8['offsetSize'];_0x2c8741++)_0x2d4318['push'](new ft('$text',{'vid':null===_0x3eed09?this['_revisionId']++:_0x3eed09++}));}if(_0x136c63['is']('documentFragment')){const _0xd6ea83=G(_0x136c63['rootName']);return _0xd6ea83['_insertChild'](0x0,_0x2d4318),_0xd6ea83;}return _0x11faf5['_setAttribute']('vid_end',null===_0x3eed09?this['_revisionId']++:_0x3eed09++),_0x11faf5['_insertChild'](0x0,_0x2d4318),_0x11faf5;}['_calculateMetaData'](_0x18f56d,_0x5e18dd,_0x2ea0d8){this['_reset']();const {roots:_0x42133d,markers:_0x49509e,rootsAttributes:_0x5478bb}=this['_savedMetaData']['get'](_0x18f56d);this['_baseRoots']=new Map(_0x42133d),this['_baseRootsAttributes']=new Map(_0x45b754(_0x5478bb));for(const [_0x38b12f,_0x1b5cbe]of this['_baseRoots'])if('$graveyard'!==_0x38b12f&&(this['_diffRoots']['set'](_0x38b12f,q(_0x1b5cbe)),this['_diffRootsAttributes']=new Map(_0x45b754(_0x5478bb)),_0x2ea0d8)){const _0x1f6553=this['_revisionId'];this['_idsRoots']['set'](_0x38b12f,this['_makeIdsRoot'](_0x1b5cbe)),this['_baseIdsRoots']['set'](_0x38b12f,this['_makeIdsRoot'](_0x1b5cbe,_0x1f6553));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2ea0d8&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x329671,_0x3d3c8f]of _0x49509e){const _0x462b8d=this['_baseRoots']['get'](_0x3d3c8f['rootName']),_0x344973=this['_diffRoots']['get'](_0x3d3c8f['rootName']),_0x19e2c5=new vt(this['_fixPosition'](_0x3d3c8f['start'],_0x462b8d),this['_fixPosition'](_0x3d3c8f['end'],_0x462b8d)),_0x102120=this['_fixRange'](_0x19e2c5,_0x344973);_0x462b8d['markers']['set'](_0x329671,_0x19e2c5),this['_markers']['set'](_0x329671,_0x102120);}this['_applyOperations'](_0x18f56d,_0x5e18dd,_0x2ea0d8);}['_applyOperations'](_0x549e6b,_0x4da5fe,_0xb60d51){for(const _0x92d435 of this['source']['getOperations'](_0x549e6b,_0x4da5fe))this['_handleOperation'](_0x92d435,_0xb60d51);for(const _0x109e6f of this['_diffRoots']['values']())_0x109e6f['markers']['clear']();for(const [_0x1ebb2c,_0x45b830]of this['_markers']){this['_diffRoots']['get'](_0x45b830['root']['rootName'])['markers']['set'](_0x1ebb2c,_0x45b830['clone']());}const _0x427daf=new Map(),_0x4ce55d=new Map();for(const [_0x7dc5a8,_0x4e4c07]of this['_diffRoots'])_0x427daf['set'](_0x7dc5a8,q(_0x4e4c07)),_0x4ce55d['set'](_0x7dc5a8,this['_diffRootsAttributes']['get'](_0x7dc5a8));this['_saveMetaData'](_0x4da5fe,_0x427daf,this['_markers'],_0x4ce55d);}['_getPreviousFrom'](_0x532024){const _0x5620e7=Array['from'](this['_savedMetaData']['keys']());_0x5620e7['sort']((_0x1cf261,_0x45c665)=>_0x1cf261-_0x45c665),_0x5620e7['reverse']();for(const _0x64cb78 of _0x5620e7)if(_0x64cb78<_0x532024)return _0x64cb78;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x16676e,_0x3a0a60){const _0x32f016=Array['from'](_0x3a0a60['markers'])['map'](([_0x13aaad,_0x441fb1])=>[_0x13aaad,this['_fixRange'](_0x441fb1,_0x16676e)]);_0x16676e['markers']=new Map(_0x32f016);}['_transformMarkers'](_0x4c4241){for(const _0x2ffebc of this['_markers']['values']()){const _0x21e1eb=_0x2ffebc['getTransformedByOperation'](_0x4c4241),_0x17920a=vt['_createFromRanges'](_0x21e1eb);_0x2ffebc['start']=_0x17920a['start'],_0x2ffebc['end']=_0x17920a['end'];}}['_handleOperation'](_0x471fb6,_0x17451e){if('addRoot'==_0x471fb6['type']||'detachRoot'==_0x471fb6['type'])return void this['_handleRootOperation'](_0x471fb6,_0x17451e);if('insert'==_0x471fb6['type']){const _0xcce43e=_0x471fb6['position']['root']['rootName'];this['_diffRoots']['has'](_0xcce43e)||(this['_diffRoots']['set'](_0xcce43e,G(_0xcce43e,!0x0)),this['_diffRootsAttributes']['set'](_0xcce43e,{}),_0x17451e&&this['_idsRoots']['set'](_0xcce43e,G(_0xcce43e,!0x0)));}else{if('addRootAttribute'==_0x471fb6['type']||'removeRootAttribute'==_0x471fb6['type']||'changeRootAttribute'==_0x471fb6['type'])return void this['_handleRootAttributeOperation'](_0x471fb6);}const _0x43d547=this['_cloneOperation'](_0x471fb6,this['_diffRoots']);if('marker'!==_0x471fb6['type']&&(_0x43d547['_execute'](),this['_transformMarkers'](_0x43d547)),_0x17451e)switch(_0x43d547['type']){case'insert':this['_handleInsertOperation'](_0x471fb6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x471fb6);break;case'merge':this['_handleMergeOperation'](_0x471fb6);break;case'split':this['_handleSplitOperation'](_0x471fb6);break;case'marker':this['_handleMarkerOperation'](_0x471fb6);}}['_cloneOperation'](_0x2f1f6c,_0x5f4c45){const _0x13bfe3=_0x2f1f6c['clone']();return _0x13bfe3['_authorId']=_0x2f1f6c['_authorId'],this['_fixOperation'](_0x13bfe3,_0x5f4c45),_0x13bfe3;}['_getBaseVids'](_0x15082e){return _0x15082e['map'](_0x566a6b=>{const _0x119da2=this['_getVidAttributeName'](_0x566a6b);return Number(_0x566a6b['item']['getAttribute'](_0x119da2));});}['_generateTape'](_0x5a88e4,_0x37759e){if(_0x5a88e4['is']('element','$text'))_0x37759e['push']({'item':_0x5a88e4,'type':'text'});else{_0x5a88e4['is']('element')&&_0x37759e['push']({'item':_0x5a88e4,'type':'elementStart'});for(const _0x55ad39 of _0x5a88e4['getChildren']())this['_generateTape'](_0x55ad39,_0x37759e);_0x5a88e4['is']('element')&&_0x37759e['push']({'item':_0x5a88e4,'type':'elementEnd'});}return _0x37759e;}['_getState'](){const _0xb9e5aa=new Map(this['_touched']),_0x51d972=new Map(_0xb9e5aa),_0x488b4b=new Map(),_0x592304={'insertions':{},'deletions':{}},_0x1335ba={'insertions':{},'deletions':{}},_0x45c96f=new Map(),_0x232244=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x232244['delete']('$graveyard');for(const _0x8e6948 of _0x232244){const _0x51cee7=this['_diffRoots']['get'](_0x8e6948)||G(_0x8e6948,!0x1),_0x4232db=this['_baseRoots']['get'](_0x8e6948)||G(_0x8e6948,!0x1);_0x51cee7['isAttached']()||_0x4232db['isAttached']()?(_0x592304['insertions'][_0x8e6948]=q(_0x51cee7),_0x592304['deletions'][_0x8e6948]=q(_0x4232db),this['_copyMarkers'](_0x592304['deletions'][_0x8e6948],_0x4232db),this['_copyMarkers'](_0x592304['insertions'][_0x8e6948],_0x51cee7),_0x1335ba['insertions'][_0x8e6948]=this['_generateTape'](this['_idsRoots']['get'](_0x8e6948),[]),_0x1335ba['deletions'][_0x8e6948]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x8e6948)||G(_0x8e6948,!0x1),[])):_0x232244['delete'](_0x8e6948);}for(const _0x16bf97 of _0x232244){const _0x5e0019=_0x1335ba['insertions'][_0x16bf97];for(const _0x3582eb of _0x5e0019){const _0x41896d=this['_getVidAttributeName'](_0x3582eb),_0x4ca5bd=_0x3582eb['item']['getAttribute'](_0x41896d);_0x51d972['delete'](_0x4ca5bd),_0x4ca5bd>=this['_startingRevisionId']&&_0x488b4b['set'](_0x4ca5bd,_0xb9e5aa['get'](_0x4ca5bd));}}for(const _0x486c77 of _0x232244){const _0x457305=_0x1335ba['insertions'][_0x486c77],_0x29fecc=this['_getBaseVids'](_0x1335ba['deletions'][_0x486c77]);let _0x432c27=0x0;for(const _0x1dc74b of _0x457305){const _0x3258de=this['_getVidAttributeName'](_0x1dc74b),_0x135627=_0x1dc74b['item']['getAttribute'](_0x3258de);if(!_0x488b4b['has'](_0x135627)&&!_0x45c96f['has'](_0x135627)){if(_0x51d972['has'](_0x135627))_0x432c27++;else{if(_0x135627!=_0x29fecc[_0x432c27]){const _0x30e601=_0xb9e5aa['get'](_0x135627)||_0xb9e5aa['get'](_0x29fecc[_0x432c27]);for(;_0x135627!=_0x29fecc[_0x432c27];)_0x51d972['has'](_0x29fecc[_0x432c27])||(_0x45c96f['set'](_0x29fecc[_0x432c27],_0x30e601),_0xb9e5aa['set'](_0x29fecc[_0x432c27],_0x30e601)),_0x432c27++;}_0x432c27++;}}}}for(const _0x370246 of _0x232244){const _0x250dfe=_0x1335ba['insertions'][_0x370246];for(const _0x5905d3 of _0x250dfe){const _0x4c5141=this['_getVidAttributeName'](_0x5905d3),_0x5f49bd=_0x5905d3['item']['getAttribute'](_0x4c5141);if(_0x45c96f['has'](_0x5f49bd)){const _0x3c4ad6=_0x45c96f['get'](_0x5f49bd);_0x51d972['has'](_0x5f49bd)||_0x51d972['set'](_0x5f49bd,{..._0x3c4ad6}),_0x488b4b['set'](_0x5f49bd,{..._0x3c4ad6});}}}for(const _0x589b62 of _0x51d972['keys']())_0x589b62>=this['_startingRevisionId']&&_0x51d972['delete'](_0x589b62);const _0x4923ef=new Map();for(const _0x1a84a2 of _0x232244){let _0xdfe551=_0x1335ba['insertions'][_0x1a84a2];for(const _0x3782ad of _0xdfe551)if(_0x3782ad['item']['is']('element','tableCell')){const _0x2af9cb=this['_getVidAttributeName'](_0x3782ad),_0x11891d=_0x3782ad['item']['getAttribute'](_0x2af9cb);if(_0x488b4b['has'](_0x11891d)){const _0x1a3cf0=_0x3782ad['item']['parent']['parent']['getAttribute']('vid_start'),_0x44792a=_0x4923ef['get'](_0x1a3cf0)||new Set();_0x44792a['add'](_0x488b4b['get'](_0x11891d)['userId']),_0x4923ef['set'](_0x1a3cf0,_0x44792a);}}_0xdfe551=_0x1335ba['deletions'][_0x1a84a2];for(const _0x1cfcf2 of _0xdfe551)if(_0x1cfcf2['item']['is']('element','tableCell')){const _0x578a89=this['_getVidAttributeName'](_0x1cfcf2),_0x37b596=_0x1cfcf2['item']['getAttribute'](_0x578a89);if(_0x51d972['has'](_0x37b596)){const _0x1d245a=_0x1cfcf2['item']['parent']['parent']['getAttribute']('vid_start'),_0x3bca7e=_0x4923ef['get'](_0x1d245a)||new Set();_0x3bca7e['add'](_0x51d972['get'](_0x37b596)['userId']),_0x4923ef['set'](_0x1d245a,_0x3bca7e);}}for(const _0x20ac8d of _0x4923ef['keys']())(_0x488b4b['has'](_0x20ac8d)||_0x51d972['has'](_0x20ac8d))&&_0x4923ef['delete'](_0x20ac8d);}for(const _0x22de6a of _0x232244){const _0x21320d=_0x1335ba['insertions'][_0x22de6a];let _0x118198=null,_0x130f51=null;for(const _0x2e61e3 of _0x21320d){const _0x26e921=this['_getVidAttributeName'](_0x2e61e3),_0x23201e=_0x2e61e3['item']['getAttribute'](_0x26e921),_0x36bcf7=_0x4923ef['get'](_0x23201e);_0x36bcf7&&'elementStart'==_0x2e61e3['type']&&(_0x118198=Array['from'](_0x36bcf7)[0x0],_0x130f51=_0x2e61e3['item']['getAttribute']('vid_end')),_0x118198&&(_0x51d972['set'](_0x23201e,{'userId':_0x118198}),_0x488b4b['set'](_0x23201e,{'userId':_0x118198})),_0x23201e==_0x130f51&&(_0x118198=null,_0x130f51=null);}}const _0x4ec3b4={},_0x28d9fb=new Set();for(const _0x4ced75 of _0x232244){const _0x2f0df4=_0x592304['deletions'][_0x4ced75],_0x542c94=_0x592304['insertions'][_0x4ced75];for(const {userId:_0x320070}of this['_touchedMarkers']['values']())null!==_0x320070&&_0x28d9fb['add'](_0x320070);for(const {userId:_0x1e9f65}of this['_touchedRoots']['values']())null!==_0x1e9f65&&_0x28d9fb['add'](_0x1e9f65);this['_markChanges'](_0x542c94,_0x1335ba['insertions'][_0x4ced75],_0x488b4b,'insertion',_0x28d9fb),this['_markChanges'](_0x2f0df4,_0x1335ba['deletions'][_0x4ced75],_0x51d972,'deletion',_0x28d9fb),_0x4ec3b4[_0x4ced75]={'insertions':this['_prepareViewToSave'](_0x542c94),'deletions':this['_prepareViewToSave'](_0x2f0df4),'attachChange':this['_touchedRoots']['get'](_0x4ced75)||null,'attributesBefore':_0x45b754(this['_baseRootsAttributes']['get'](_0x4ced75))||{},'attributesAfter':_0x45b754(this['_diffRootsAttributes']['get'](_0x4ced75))};}return{'diffData':_0x4ec3b4,'authorsIds':Array['from'](_0x28d9fb)};}['_processRootBeforeSave'](_0x525f5b){for(const [,_0x50a1e4]of _0x525f5b['markers']){const _0x44a281=_0x50a1e4['start']['getAncestors']()['filter'](_0x1ad843=>'tableCell'==_0x1ad843['name']);for(const _0x3263e1 of _0x44a281)0x1==_0x3263e1['childCount']&&_0x3263e1['getChild'](0x0)['is']('element','paragraph')&&_0x3263e1['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1070e1){this['_processRootBeforeSave'](_0x1070e1);const _0x91cd24=this['editor']['data']['toView'](_0x1070e1,{}),_0x548cdd=Array['from'](_0x91cd24['getChildren']())['map'](_0x4d7008=>this['_getViewJson'](_0x4d7008));return JSON['stringify'](_0x548cdd);}['_getViewJson'](_0x338545){if(_0x338545['is']('$text'))return _0x338545['data'];{const _0x2ae98d=_0x338545;return{'type':Object['keys'](T)['find'](_0x5fcb8b=>_0x338545 instanceof T[_0x5fcb8b]),'name':_0x2ae98d['name'],'attributes':Array['from'](_0x2ae98d['getAttributes']()),'children':Array['from'](_0x2ae98d['getChildren']())['map'](_0x327b18=>this['_getViewJson'](_0x327b18))};}}['_markChanges'](_0x4e7db9,_0xdac7cf,_0x3f89ba,_0x532259,_0x408d27){let _0x222632=null,_0xdfafda=null,_0x59fba2=0x0;const _0x19f3a7=this['editor']['model'];for(let _0x1e8758=0x0;_0x1e8758<_0xdac7cf['length'];_0x1e8758++){const _0x38802f=this['_getVidAttributeName'](_0xdac7cf[_0x1e8758]),_0x5ef800=_0xdac7cf[_0x1e8758]['item']['getAttribute'](_0x38802f),_0x2cf466=_0x3f89ba['get'](_0x5ef800),_0x5a2106=_0x1e8758==_0xdac7cf['length']-0x1;(!_0x222632&&_0x2cf466&&(_0x222632=_0x2cf466,_0xdfafda=_0xdac7cf[_0x1e8758]),_0x222632&&(!_0x2cf466||_0x2cf466['userId']!=_0x222632['userId']))&&(_0xdb8c01(_0x2cf466,L(_0xdfafda,_0x4e7db9,_0x19f3a7),L(_0xdac7cf[_0x1e8758],_0x4e7db9,_0x19f3a7)),_0x222632=_0x2cf466||null,_0xdfafda=_0x2cf466?_0xdac7cf[_0x1e8758]:null),_0x222632&&_0x5a2106&&_0xdb8c01(_0x2cf466,L(_0xdfafda,_0x4e7db9,_0x19f3a7),W(_0xdac7cf[_0x1e8758],_0x4e7db9,_0x19f3a7));}function _0xdb8c01(_0x515033,_0x49ca4a,_0x226c31){const _0x1cd9e2=_0x222632['userId'],_0x1b476c='revision:'+_0x532259+':'+_0x1cd9e2+':'+_0x59fba2++,_0xaad4fa=_0x19f3a7['createRange'](_0x49ca4a,_0x226c31);_0x4e7db9['markers']['set'](_0x1b476c,_0xaad4fa),null!==_0x1cd9e2&&_0x408d27['add'](_0x1cd9e2);}}['_getVidAttributeName'](_0x4cfcac){switch(_0x4cfcac['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x782b66,_0x81f169){_0x782b66['baseVersion']=null;for(const _0x2fe15a in _0x782b66){const _0xd1476d=_0x782b66[_0x2fe15a];if(_0xd1476d instanceof gt){const _0x328fb5=_0x81f169['get'](_0xd1476d['root']['rootName']);_0x782b66[_0x2fe15a]=this['_fixPosition'](_0xd1476d,_0x328fb5);}if(_0xd1476d instanceof vt){const _0x31df8f=_0x81f169['get'](_0xd1476d['root']['rootName']);_0x782b66[_0x2fe15a]=this['_fixRange'](_0xd1476d,_0x31df8f);}'root'===_0x2fe15a&&(_0x782b66['root']=_0x81f169['get'](_0x782b66['root']['rootName']));}}['_fixRange'](_0x247e31,_0x499bba){return this['editor']['model']['createRange'](this['_fixPosition'](_0x247e31['start'],_0x499bba),this['_fixPosition'](_0x247e31['end'],_0x499bba));}['_fixPosition'](_0x3d0dbf,_0x50d994){return this['editor']['model']['createPositionFromPath'](_0x50d994,_0x3d0dbf['path'],_0x3d0dbf['stickiness']);}['_handleInsertOperation'](_0x516880){const _0x5cab54=this['_idsRoots']['get'](_0x516880['position']['root']['rootName']),_0x517dd1=this['_fixPosition'](_0x516880['position'],_0x5cab54),_0x3a649b=null===_0x516880['_authorId']?null:_0x516880['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1562eb=_0x517dd1['parent'],_0x1bc2ca=this['_revisionId'],_0x4105b8=[];for(const _0x2000de of _0x516880['nodes'])if(_0x2000de['is']('element'))_0x4105b8['push'](this['_makeIdsRoot'](_0x2000de));else{for(let _0xee3f8b=0x0;_0xee3f8b<_0x2000de['offsetSize'];_0xee3f8b++)_0x4105b8['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xd5d9be=this['_revisionId'];for(let _0x2c228b=_0x1bc2ca;_0x2c228b<_0xd5d9be;_0x2c228b++)this['_touched']['set'](_0x2c228b,{'userId':_0x3a649b});_0x1562eb['_insertChild'](_0x517dd1['offset'],_0x4105b8);}['_handleMoveOperation'](_0x254e49){(_0x254e49=this['_cloneOperation'](_0x254e49,this['_idsRoots']))['_execute']();const _0x44e166=null===_0x254e49['_authorId']?null:_0x254e49['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f7531=_0x254e49['getMovedRangeStart'](),_0x491480=_0x4f7531['parent'],_0x3d606c=_0x4f7531['offset'];!function _0x5b4283(_0x12d847,_0x28eee8,_0x51aa3f,_0x3262f8){for(let _0x2cf266=_0x51aa3f;_0x2cf266<_0x3262f8;_0x2cf266++){const _0x29e0e6=_0x28eee8['getChild'](_0x2cf266);_0x29e0e6['is']('element','$text')?_0x12d847['set'](_0x29e0e6['getAttribute']('vid'),{'userId':_0x44e166}):(_0x12d847['set'](_0x29e0e6['getAttribute']('vid_start'),{'userId':_0x44e166}),_0x5b4283(_0x12d847,_0x29e0e6,0x0,_0x29e0e6['childCount']),_0x12d847['set'](_0x29e0e6['getAttribute']('vid_end'),{'userId':_0x44e166}));}}(this['_touched'],_0x491480,_0x3d606c,_0x3d606c+_0x254e49['howMany']);}['_handleMergeOperation'](_0x4b7e4a){const _0x1a0e95=null===(_0x4b7e4a=this['_cloneOperation'](_0x4b7e4a,this['_idsRoots']))['_authorId']?null:_0x4b7e4a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2c24d2=_0x4b7e4a['targetPosition']['parent'],_0x26c104=_0x4b7e4a['sourcePosition']['parent'],_0x1c1a3c=_0x2c24d2['getAttribute']('vid_end'),_0x45c19c=_0x26c104['getAttribute']('vid_start');_0x2c24d2['_setAttribute']('vid_end',_0x26c104['getAttribute']('vid_end')),_0x26c104['_setAttribute']('vid_end',_0x1c1a3c),this['_touched']['set'](_0x45c19c,{'userId':_0x1a0e95}),this['_touched']['set'](_0x1c1a3c,{'userId':_0x1a0e95}),_0x4b7e4a['_execute']();}['_handleSplitOperation'](_0x9eafcd){const _0x3e9c44=null===(_0x9eafcd=this['_cloneOperation'](_0x9eafcd,this['_idsRoots']))['_authorId']?null:_0x9eafcd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4232b6=_0x9eafcd['graveyardPosition'],_0x4fb995=_0x9eafcd['splitPosition']['parent'];_0x9eafcd['_execute']();const _0x5b270c=_0x4fb995['getAttribute']('vid_end'),_0x3c35fd=_0x9eafcd['insertionPosition']['nodeAfter'];if(_0x4232b6){const _0x5482dd=_0x3c35fd['getAttribute']('vid_end'),_0x323d7c=_0x4fb995['getAttribute']('vid_end');_0x4fb995['_setAttribute']('vid_end',_0x5482dd),_0x3c35fd['_setAttribute']('vid_end',_0x323d7c),this['_touched']['set'](_0x4fb995['getAttribute']('vid_end'),{'userId':_0x3e9c44}),this['_touched']['set'](_0x3c35fd['getAttribute']('vid_start'),{'userId':_0x3e9c44});}else{const _0x37a1f9=this['_revisionId']++,_0x70d556=this['_revisionId']++;_0x4fb995['_setAttribute']('vid_end',_0x37a1f9),_0x3c35fd['_setAttribute']('vid_start',_0x70d556),_0x3c35fd['_setAttribute']('vid_end',_0x5b270c),this['_touched']['set'](_0x37a1f9,{'userId':_0x3e9c44}),this['_touched']['set'](_0x70d556,{'userId':_0x3e9c44});}}['_handleMarkerOperation'](_0x2d1a13){if(!_0x2d1a13['affectsData'])return;const _0x39e3ae=(_0x2d1a13=this['_cloneOperation'](_0x2d1a13,this['_diffRoots']))['oldRange']?_0x2d1a13['oldRange']['root']:null,_0xdb07ed=_0x2d1a13['newRange']?_0x2d1a13['newRange']['root']:null;_0x39e3ae&&this['_markers']['delete'](_0x2d1a13['name']),_0xdb07ed&&this['_markers']['set'](_0x2d1a13['name'],_0x2d1a13['newRange']['clone']());const _0xdfdd2e=null===_0x2d1a13['_authorId']?null:_0x2d1a13['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3ddb35=_0x2d1a13['name'];if(!this['_touchedMarkers']['has'](_0x3ddb35))return void this['_touchedMarkers']['set'](_0x3ddb35,{'range':_0x2d1a13['oldRange'],'userId':_0xdfdd2e});const _0x2be127=this['_touchedMarkers']['get'](_0x3ddb35),_0x1efa51=_0x2be127['range'],_0x28a23f=_0x2d1a13['newRange'];null==_0x1efa51&&null==_0x28a23f||_0x1efa51&&_0x28a23f&&_0x1efa51['isEqual'](_0x28a23f)?this['_touchedMarkers']['delete'](_0x2d1a13['name']):_0x2be127['userId']=_0xdfdd2e;}['_handleRootOperation'](_0x55b5bf,_0x254a2e){this['_diffRoots']['has'](_0x55b5bf['rootName'])?this['_diffRoots']['get'](_0x55b5bf['rootName'])['_isAttached']=_0x55b5bf['isAdd']:(this['_diffRoots']['set'](_0x55b5bf['rootName'],G(_0x55b5bf['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x55b5bf['rootName'],{}),_0x254a2e&&this['_idsRoots']['set'](_0x55b5bf['rootName'],G(_0x55b5bf['rootName'],!0x0)));const _0x17ef05=null===_0x55b5bf['_authorId']?null:_0x55b5bf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55c4bf=this['_touchedRoots']['get'](_0x55b5bf['rootName']);_0x55c4bf&&_0x55c4bf['userId']===_0x17ef05?this['_touchedRoots']['delete'](_0x55b5bf['rootName']):this['_touchedRoots']['set'](_0x55b5bf['rootName'],{'userId':_0x17ef05,'isAttached':_0x55b5bf['isAdd']});}['_handleRootAttributeOperation'](_0x45fb58){const _0x2c0d21=this['_diffRootsAttributes']['get'](_0x45fb58['root']['rootName']);null===_0x45fb58['newValue']?delete _0x2c0d21[_0x45fb58['key']]:_0x2c0d21[_0x45fb58['key']]=_0x45fb58['newValue'];}}function q(_0x23e588){const _0x36d1fb=G(_0x23e588['rootName'],_0x23e588['isAttached']());for(const _0x79ec66 of _0x23e588['getChildren']()){const _0x44c185=_0x79ec66['_clone'](!0x0);_0x36d1fb['_appendChild'](_0x44c185);}return _0x36d1fb;}function G(_0x1c3384,_0x156280=!0x0){const _0x210649=new wt();return _0x210649['rootName']=_0x1c3384,_0x210649['_isAttached']=_0x156280,_0x210649['isAttached']=()=>_0x210649['_isAttached'],_0x210649;}function L(_0x396458,_0x33490c,_0xff0606){const _0xefe99b='elementEnd'==_0x396458['type']?_0xff0606['createPositionAt'](_0x396458['item'],'end'):_0xff0606['createPositionBefore'](_0x396458['item']);return _0xff0606['createPositionFromPath'](_0x33490c,_0xefe99b['path'],_0xefe99b['stickiness']);}function W(_0x2f3a61,_0x1030ad,_0x59b010){const _0x4c52e4='elementStart'==_0x2f3a61['type']?_0x59b010['createPositionAt'](_0x2f3a61['item'],0x0):_0x59b010['createPositionAfter'](_0x2f3a61['item']);return _0x59b010['createPositionFromPath'](_0x1030ad,_0x4c52e4['path'],_0x4c52e4['stickiness']);}class ns extends _0x1cf29a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4d0f31,_0x377744){super(_0x4d0f31),this['focusTracker']=new _0x2d96a6(),this['keystrokes']=new _0x3fcf3d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x377744),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'](),_0x28a4a2({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x136962=_0x8e678e=>_0x8e678e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x136962),this['keystrokes']['set']('arrowleft',_0x136962),this['keystrokes']['set']('arrowup',_0x136962),this['keystrokes']['set']('arrowdown',_0x136962);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2f742d){this['revisionNameInputView']['fieldView']['element']['value']=_0x2f742d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xd009dc){const _0x4376ce=new at(this['locale'],_0x53cc25),_0x100dce=_0x4376ce['fieldView'];_0x100dce['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x39c2ce=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xd009dc&&(_0x39c2ce+='\x20('+y(this['locale'],'optional')+')'),(_0x4376ce['label']=_0x39c2ce,_0x100dce['on']('input',()=>{this['revisionNameInputValue']=_0x100dce['element']['value']['trim']();}),_0x4376ce);}}class u extends _0x18f8e8{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1ad640=this['editor'],_0x303baa=_0x1ad640['plugins']['get']('RevisionTracker');_0x1ad640['ui']['componentFactory']['add']('revisionHistory',_0x26a9e2=>{const _0x1cedb9=_0x3b7dff(_0x26a9e2),_0x2ddf20=_0x1cedb9['panelView']['children'],_0x55cf0b=new te(_0x26a9e2),_0x3b33e7=new _0x37475e(_0x26a9e2),_0x3e2024=new _0x79890d(_0x26a9e2),_0x6357b8=new _0x37475e(_0x26a9e2),_0x8b7963=new _0x79890d(_0x26a9e2);return _0x1cedb9['bind']('isEnabled')['to'](_0x303baa,'isReady',_0x303baa,'isEnabled',_0x1ad640,'isReadOnly',(_0x57d401,_0x3a195a,_0x42f305)=>_0x57d401&&_0x3a195a&&!_0x42f305),_0x1cedb9['buttonView']['set']({'icon':_0x8a6596['history'],'label':y(_0x26a9e2,'Revision\x20history'),'tooltip':!0x0}),_0x3e2024['set']({'label':y(_0x26a9e2,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3e2024['bind']('isEnabled')['to'](_0x303baa,'isReady',_0x303baa,'isEnabled',_0x1ad640,'isReadOnly',(_0x2c08e0,_0x397d2d,_0x40ea60)=>_0x2c08e0&&_0x397d2d&&!_0x40ea60),_0x3e2024['on']('execute',()=>this['_showDialog']()),_0x8b7963['set']({'label':y(_0x26a9e2,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x8b7963['bind']('isEnabled')['to'](_0x303baa,'isReady',_0x1ad640,'isReadOnly',(_0x22f93f,_0x57a1ee)=>_0x22f93f&&!_0x57a1ee),_0x8b7963['on']('execute',()=>{_0x1ad640['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1cedb9['isOpen']=!0x1,_0x1ad640['editing']['view']['focus']();}),_0x3b33e7['children']['add'](_0x3e2024),_0x6357b8['children']['add'](_0x8b7963),_0x55cf0b['role']='menu',_0x55cf0b['items']['addMany']([_0x3b33e7,_0x6357b8]),_0x2ddf20['add'](_0x55cf0b),_0x1cedb9;}),_0x1ad640['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x9cc0f2=this['editor'],_0xdc70d0=_0x9cc0f2['locale'],_0x3f83b0=new _0x4b0c64(_0xdc70d0),_0x21c50e=new _0x516b0e(_0xdc70d0);_0x3f83b0['buttonView']['set']({'icon':_0x8a6596['history'],'label':y(_0xdc70d0,'Revision\x20history')});const _0x491367=new _0x387c09(_0xdc70d0,_0x3f83b0),_0x4c2042=new _0x5787b1(_0xdc70d0);_0x4c2042['set']({'label':y(_0xdc70d0,'Save\x20current\x20revision')}),_0x4c2042['delegate']('execute')['to'](_0x3f83b0),_0x4c2042['on']('execute',()=>{this['_showDialog']();}),_0x491367['children']['add'](_0x4c2042),_0x21c50e['items']['add'](_0x491367);const _0x2c648d=new _0x387c09(_0xdc70d0,_0x3f83b0),_0x4183cb=new _0x5787b1(_0xdc70d0);return _0x4183cb['set']({'label':y(_0xdc70d0,'Open\x20revision\x20history')}),_0x4183cb['delegate']('execute')['to'](_0x3f83b0),_0x4183cb['on']('execute',()=>{_0x9cc0f2['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2c648d['children']['add'](_0x4183cb),_0x21c50e['items']['add'](_0x2c648d),_0x3f83b0['panelView']['children']['add'](_0x21c50e),_0x3f83b0;}['_showDialog'](){const _0x1530cc=this['editor'],_0xb5ef2e=_0x1530cc['locale'],t=_0xb5ef2e['t'],_0x11ceb4=_0x1530cc['plugins']['get']('Dialog'),_0x77fd76=_0x1530cc['plugins']['get']('RevisionTracker');function _0x194a8b(_0x25d6b1){_0x1530cc['config']['get']('revisionHistory.requireRevisionName')&&''===_0x25d6b1['revisionName']?_0x25d6b1['revisionNameInputView']['errorText']=y(_0xb5ef2e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1530cc['plugins']['get'](l)['saveRevision']({'name':_0x25d6b1['revisionName']}),_0x11ceb4['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x194a8b(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x11ceb4['show']({'id':'revisionSave','title':y(_0xb5ef2e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x11ceb4['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4af6a2){_0x4af6a2['bind']('isEnabled')['to'](_0x77fd76,'isReady',_0x77fd76,'isEnabled',_0x1530cc,'isReadOnly',(_0x5b665b,_0x3f0d25,_0x2fa08e)=>_0x5b665b&&_0x3f0d25&&!_0x2fa08e);},'onExecute':()=>_0x194a8b(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3bd041=this['editor'],_0x22a6fd=_0x3bd041['locale'];this['_saveRevisionFormView']=new ns(_0x22a6fd,_0x3bd041['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1cf29a{['changeId'];['_model'];constructor(_0x59185c,_0x5922a0){super(_0x59185c),this['_model']=_0x5922a0,this['changeId']=_0x5922a0['id'];const _0x2dad17=this['bindTemplate'],_0x37104e=y(_0x59185c,_0x5922a0['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5922a0['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5922a0['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2dad17['to']('type',_0x158744=>'ck-revision-change__'+_0x158744)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x37104e}]},{'text':'\x20'+_0x5922a0['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x21c8ec(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2bdf5a){super(),this['id']=_0x2bdf5a['id']||_0x87e91e(),this['author']=_0x2bdf5a['author'],this['type']=_0x2bdf5a['type'],this['data']=_0x2bdf5a['data']||{},this['rootName']=_0x2bdf5a['rootName'],this['set']('createdAt',_0x2bdf5a['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(_0x480916,_0x313df7){this['newRevisionId']=_0x480916,this['oldRevisionId']=_0x313df7,this['changes']=new _0xc1feb7();}['_setChanges'](_0x5d40f6){for(const _0x234bde of _0x5d40f6)this['changes']['add'](_0x234bde);}}const tt={'c':_0x2127cf,'a':_0x5f28e1,'e':_0x5a1d0a,'r':_0x505d22,'u':_0x4470df};class d extends _0x18f8e8{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2fd6b2,_0x42a3b5,A];}constructor(_0x3401bb){super(_0x3401bb),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',(_0x481964,_0x237f31,_0x3a73f9)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1da886=>{for(const _0x2c3781 of this['editor']['editing']['view']['document']['roots'])_0x3a73f9?_0x1da886['removeClass']('ck-editor__editable__overlay',_0x2c3781):_0x1da886['addClass']('ck-editor__editable__overlay',_0x2c3781);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5e6c10=>null!==_0x5e6c10),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xf54b91,_0x354b76,_0x4f241f)=>_0xf54b91&&_0x4f241f?_0x354b76['changes']['getIndex'](_0x4f241f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x44f484,_0x23a65f)=>_0x44f484?_0x23a65f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x42a3b5);}['init'](){const _0x75cd7a=this['editor'],_0x2eb899=new yt(_0x75cd7a,{'direction':'backward'}),_0x12450e=new yt(_0x75cd7a,{'direction':'forward'});(_0x75cd7a['commands']['add']('showPreviousChange',_0x2eb899),_0x75cd7a['commands']['add']('showNextChange',_0x12450e),_0x75cd7a['commands']['add']('restoreRevision',new bt(_0x75cd7a)),this['on']('change:numberOfChanges',()=>{_0x2eb899['refresh'](),_0x12450e['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x75cd7a['enableReadOnlyMode']('revision-viewer'),_0x75cd7a['plugins']['has']('WidgetToolbarRepository'))&&_0x75cd7a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4185ba){await this['loadRevisionData'](_0x4185ba);const _0x134b25={};for(const _0x240495 in _0x4185ba['diffData']){if(_0x4185ba['diffData'][_0x240495]['attachChange']&&!_0x4185ba['diffData'][_0x240495]['attachChange']['isAttached'])continue;const _0xa67c8=this['_removeRevisionMarkers'](JSON['parse'](_0x4185ba['diffData'][_0x240495]['insertions'])),_0x145cf8=this['editor']['editing']['view']['document'],_0x3584f0=new _0x174abd(_0x145cf8,_0xa67c8['map'](_0x331015=>this['_getViewObj'](_0x331015)));this['editor']['data']['processor']['useFillerType']('marked'),_0x134b25[_0x240495]=this['editor']['data']['processor']['toData'](_0x3584f0),this['editor']['data']['processor']['useFillerType']('default');}return _0x134b25;}async['getRevisionRootsAttributes'](_0x181e9b){await this['loadRevisionData'](_0x181e9b);const _0xa5d466={};for(const _0x317295 in _0x181e9b['diffData'])_0x181e9b['diffData'][_0x317295]['attachChange']&&!_0x181e9b['diffData'][_0x317295]['attachChange']['isAttached']||(_0xa5d466[_0x317295]=_0x181e9b['diffData'][_0x317295]['attributesAfter']||{});return _0xa5d466;}['_removeRevisionMarkers'](_0x5a4998){return(_0x5a4998=_0x5a4998['filter'](_0x174808=>!_0x174808['name']||'revision-start'!==_0x174808['name']&&'revision-end'!==_0x174808['name']))['forEach'](_0x23239c=>{'string'!=typeof _0x23239c&&(_0x23239c['children']=this['_removeRevisionMarkers'](_0x23239c['children']),_0x23239c['attributes']=_0x23239c['attributes']['filter'](_0x12938f=>!_0x12938f[0x0]['startsWith']('data-revision-')));}),_0x5a4998;}async['compare'](_0x14a074,_0x3fc52a,_0x2a63cb=!0x1){if(!this['isEnabled'])return;const _0x566df5=this['diff'],_0x5af1fb=this['repository'],_0x3241b5='string'==typeof _0x14a074?_0x5af1fb['getRevision'](_0x14a074):_0x14a074,_0x41620c='string'==typeof _0x3fc52a?_0x5af1fb['getRevision'](_0x3fc52a):_0x3fc52a,_0xabb19f=_0x3241b5['id'],_0x981f06=_0x41620c?_0x41620c['id']:null;if(!_0x2a63cb&&this['diff']&&this['diff']['newRevisionId']===_0xabb19f&&this['diff']['oldRevisionId']===_0x981f06)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xabb19f,_0x981f06);const _0x50075e=this['_getRevisionsRange'](_0x3241b5,_0x41620c,!0x0)['map'](_0x4a15be=>this['loadRevisionData'](_0x4a15be));return _0x50075e['push'](new Promise(_0x157516=>{setTimeout(_0x157516,0x14);})),Promise['all'](_0x50075e)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x59d4b7=this['_getDiff'](_0xabb19f,_0x981f06);for(const _0x3185d2 of _0x59d4b7['changes'])this['_changeIdToChange']['set'](_0x3185d2['id'],_0x3185d2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xaa1180=>{for(const _0x2e4c75 of this['editor']['model']['document']['getRootNames']())_0xaa1180['detachRoot'](_0x2e4c75);for(const _0x5d994a of Object['keys'](_0x59d4b7['model'])){const _0x3f6485=_0xaa1180['addRoot'](_0x5d994a);for(const _0xc53e0a of Object['keys'](_0x59d4b7['attributes'][_0x5d994a]))_0xaa1180['setAttribute'](_0xc53e0a,_0x59d4b7['attributes'][_0x5d994a][_0xc53e0a],_0x3f6485);_0xaa1180['insert'](_0x59d4b7['model'][_0x5d994a],_0x3f6485,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x59d4b7['changes'])),this['isReady']=!0x0;})['catch'](_0x5c32bd=>{console['error'](_0x5c32bd),this['_cleanUp'](),_0x566df5&&(this['diff']=_0x566df5),this['isReady']=!0x0;});}['addRevisionData'](_0x343841,_0x4c7bca){const _0xd21f29=this['repository']['createRevision'](_0x343841);return _0xd21f29['on']('_update',(_0x117800,_0x509e01,_0x25ee47)=>_0x4c7bca(_0x509e01,_0x25ee47,_0xd21f29)),this['repository']['addRevision'](_0xd21f29),_0xd21f29;}['loadRevisionData'](_0x5a008f){if(!_0x5a008f||_0x5a008f['diffData'])return Promise['resolve']();{const _0xcfa18d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xcfa18d,'revisionId':_0x5a008f['id']})['then'](_0x4a2c3c=>{_0x5a008f['_update']({'diffData':_0x4a2c3c['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},_0x3cc3b5=>{for(const _0x1a41dd of this['editor']['model']['document']['getRootNames']())_0x3cc3b5['detachRoot'](_0x1a41dd);});}['_sortAndFilterDiffChanges'](_0x48a2b){const _0x2457b3=[],_0x51e9ed=new Map();for(const _0x1e2650 of this['editor']['model']['document']['getRootNames']()){const _0x10d61a=this['editor']['editing']['view']['getDomRoot'](_0x1e2650);if(!_0x10d61a)continue;const _0x187282=_0x10d61a['getClientRects']()['item'](0x0);_0x187282&&(_0x2457b3['push'](_0x1e2650),_0x51e9ed['set'](_0x1e2650,_0x187282));}return _0x2457b3['sort']((_0x247215,_0x1d8e41)=>{const _0x1aa682=_0x51e9ed['get'](_0x247215),_0x2b5b6c=_0x51e9ed['get'](_0x1d8e41);return _0x1aa682['y']-_0x2b5b6c['y']||_0x1aa682['x']-_0x2b5b6c['x'];}),(_0x48a2b=_0x48a2b['filter'](_0xb51f34=>_0x2457b3['includes'](_0xb51f34['rootName'])))['sort']((_0x392163,_0x140a17)=>_0x2457b3['indexOf'](_0x392163['rootName'])-_0x2457b3['indexOf'](_0x140a17['rootName'])),_0x48a2b;}['_makeTape'](_0x194742){const _0x286814=Array['from'](_0x194742['markers'])['filter'](([_0x481f98,_0x3cf932])=>_0x481f98['startsWith']('revision:')&&!_0x3cf932['isCollapsed']),_0x1887a8=Array['from'](this['editor']['model']['createRangeIn'](_0x194742)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x286814['length'])for(const _0x657e51 of _0x1887a8){const [_0x5c561d,_0xac8cee]=_0x286814[0x0],[,_0x30185e,_0x19716b]=_0x5c561d['split'](':');if(_0xac8cee['end']['isEqual'](_0x657e51['nextPosition'])&&_0x286814['shift'](),(_0x657e51['previousPosition']['isEqual'](_0xac8cee['start'])||_0x657e51['previousPosition']['isAfter'](_0xac8cee['start']))&&('insertion'==_0x30185e?_0x657e51['isAdded']={'userId':_0x19716b}:'deletion'==_0x30185e&&(_0x657e51['isRemoved']={'userId':_0x19716b})),0x0==_0x286814['length'])break;}return _0x1887a8;}['_refreshStartEndIndex'](_0x29cae9){const _0x27881f=new Map();for(let _0x767d42=0x0;_0x767d42<_0x29cae9['length'];_0x767d42++)'text'===_0x29cae9[_0x767d42]['type']?(_0x29cae9[_0x767d42]['item']['startIndex']=_0x767d42,_0x29cae9[_0x767d42]['item']['endIndex']=_0x767d42):('elementStart'===_0x29cae9[_0x767d42]['type']?_0x29cae9[_0x767d42]['item']['startIndex']=_0x767d42:'elementEnd'===_0x29cae9[_0x767d42]['type']&&(_0x29cae9[_0x767d42]['item']['endIndex']=_0x767d42),_0x27881f['set'](_0x29cae9[_0x767d42]['id'],_0x767d42));for(const _0xbd5f89 of _0x27881f['values']())'elementStart'===_0x29cae9[_0xbd5f89]['type']?_0x29cae9[_0xbd5f89]['item']['endIndex']=_0x27881f['get'](_0x29cae9[_0xbd5f89]['pairId']):'elementEnd'===_0x29cae9[_0xbd5f89]['type']&&(_0x29cae9[_0xbd5f89]['item']['startIndex']=_0x27881f['get'](_0x29cae9[_0xbd5f89]['pairId']));}['_processTape'](_0x50ad77){for(let _0x307edf=0x0;_0x307edf<_0x50ad77['length'];_0x307edf++){if('elementStart'===_0x50ad77[_0x307edf]['type'])_0x50ad77[_0x307edf]['item']['startIndex']=_0x307edf;else{if('elementEnd'===_0x50ad77[_0x307edf]['type']){_0x50ad77[_0x307edf]['item']['endIndex']=_0x307edf;const _0x1690da=_0x50ad77[_0x307edf]['item']['startIndex'];_0x50ad77[_0x1690da]['pairId']=_0x50ad77[_0x307edf]['id'],_0x50ad77[_0x307edf]['pairId']=_0x50ad77[_0x1690da]['id'];}else _0x50ad77[_0x307edf]['item']['startIndex']=_0x307edf,_0x50ad77[_0x307edf]['item']['endIndex']=_0x307edf,_0x50ad77[_0x307edf]['pairId']=null;}_0x50ad77[_0x307edf]['markersStart']||(_0x50ad77[_0x307edf]['markersStart']=[],_0x50ad77[_0x307edf]['markersEnd']=[]);}}['_markInsertions'](_0xc5a360,_0x1ee2e8){const _0x42d2d7=_0xc5a360['filter'](_0x225962=>!_0x225962['isAdded']);for(let _0x1b26ed=0x0;_0x1b26ed<_0x1ee2e8['length'];_0x1b26ed++)_0x1ee2e8[_0x1b26ed]['isAdded']&&(_0x42d2d7[_0x1b26ed]['isAdded']=_0x1ee2e8[_0x1b26ed]['isAdded']);}['_makeModelFromViewString'](_0x53fef8){const _0x8eea5e=JSON['parse'](_0x53fef8),_0x497353=this['editor']['editing']['view']['document'],_0xca5ab0=new _0x174abd(_0x497353,_0x8eea5e['map'](_0x362e2d=>this['_getViewObj'](_0x362e2d)));return this['editor']['data']['toModel'](_0xca5ab0);}['_getViewObj'](_0x3b6acf){const _0x20abed=this['editor']['editing']['view']['document'];if('string'==typeof _0x3b6acf)return new _0x202b82(_0x20abed,_0x3b6acf);{const _0x35b1c1=_0x3b6acf['children']['map'](_0x30af51=>this['_getViewObj'](_0x30af51));return new(tt[_0x3b6acf['type']]||_0xdf1441)(_0x20abed,_0x3b6acf['name'],_0x3b6acf['attributes'],_0x35b1c1);}}['_getDiff'](_0x43b2a0,_0x365ce4=null){const _0x5a89cd=this['repository']['getRevision'](_0x43b2a0),_0x2709f7=_0x365ce4?this['repository']['getRevision'](_0x365ce4):null,_0x221d61=this['_getRevisionsRange'](_0x5a89cd,_0x2709f7),_0x18942c=_0x221d61[_0x221d61['length']-0x1],_0x3c1f6b=new Map(),_0x25de37={'model':{},'attributes':{},'changes':[]},_0x219fb0=new Set(),_0x1eefa7=new Map();for(let _0x532714=_0x221d61['length']-0x1;_0x532714>=0x0;_0x532714--){const _0x335dc9=_0x221d61[_0x532714];for(const _0x43ff32 of Object['keys'](_0x335dc9['diffData']))if(_0x335dc9['diffData'][_0x43ff32]['attachChange']){const _0x9638d2=_0x335dc9['diffData'][_0x43ff32]['attachChange'];_0x9638d2['isAttached']?(_0x219fb0['add'](_0x43ff32),_0x1eefa7['has'](_0x43ff32)&&_0x1eefa7['get'](_0x43ff32)['userId']==_0x9638d2['userId']?_0x1eefa7['delete'](_0x43ff32):_0x1eefa7['set'](_0x43ff32,_0x9638d2)):_0x1eefa7['has'](_0x43ff32)?(_0x219fb0['delete'](_0x43ff32),_0x1eefa7['delete'](_0x43ff32)):(_0x219fb0['add'](_0x43ff32),_0x1eefa7['set'](_0x43ff32,_0x9638d2));}else _0x219fb0['add'](_0x43ff32);}for(const _0x4912ea of _0x219fb0){const _0x239d96=_0x1eefa7['has'](_0x4912ea)&&!_0x1eefa7['get'](_0x4912ea)['isAttached'];let _0x14c899=_0x239d96?_0x221d61['length']-0x1:0x0;const _0x3bd5=_0x239d96?-0x1:0x1;for(;_0x221d61[_0x14c899];){const _0x2fcb16=_0x221d61[_0x14c899];if(_0x2fcb16['diffData'][_0x4912ea]){const _0x2415ad=_0x239d96?_0x2fcb16['diffData'][_0x4912ea]['attributesBefore']:_0x2fcb16['diffData'][_0x4912ea]['attributesAfter'];_0x25de37['attributes'][_0x4912ea]=_0x2415ad?_0x45b754(_0x2415ad):{};break;}_0x14c899+=_0x3bd5;}}for(const _0x40ad22 of _0x221d61){_0x40ad22['model']={};for(const _0xc95f81 of _0x40ad22['authors'])_0x3c1f6b['set'](_0xc95f81['id'],_0xc95f81);for(const _0x2084f8 of _0x219fb0){const _0x2bacb7=_0x40ad22['diffData'][_0x2084f8]?_0x40ad22['diffData'][_0x2084f8]['insertions']:'[]',_0x26a0e3=_0x40ad22['diffData'][_0x2084f8]?_0x40ad22['diffData'][_0x2084f8]['deletions']:'[]';_0x40ad22['model'][_0x2084f8]={'insertions':this['_makeModelFromViewString'](_0x2bacb7),'deletions':this['_makeModelFromViewString'](_0x26a0e3)};}}for(const _0x3f1dd5 of _0x219fb0){let _0x5e5fb0=null,_0x4b5455=0x0;const _0x1a886d=new Map(Array['from'](_0x5a89cd['model'][_0x3f1dd5]['insertions']['markers'])['filter'](([_0x3a807c])=>!_0x3a807c['startsWith']('revision:')));let _0x405ffb=0x0;for(const _0x2fec59 of _0x221d61){const _0x1b0eee=this['_makeTape'](_0x2fec59['model'][_0x3f1dd5]['insertions']);_0x2fec59==_0x5a89cd?(_0x5e5fb0=_0x1b0eee,_0x4b5455=_0x5e5fb0['length'],_0x5e5fb0['forEach'](_0x36b607=>{_0x36b607['id']=_0x405ffb++;}),this['_processTape'](_0x5e5fb0)):this['_markInsertions'](_0x5e5fb0,_0x1b0eee);const _0x55330a=_0x5e5fb0['filter'](_0x49b84e=>!_0x49b84e['isAdded'])['map'](_0x1f7b41=>_0x1f7b41['id']);let _0x2dbfe0=0x0;const _0x104b84=this['_makeTape'](_0x2fec59['model'][_0x3f1dd5]['deletions']);_0x104b84['forEach'](_0x286022=>{_0x286022['isRemoved']?_0x286022['id']=_0x4b5455++:_0x286022['id']=_0x55330a[_0x2dbfe0++];}),this['_processTape'](_0x104b84),this['_setDistance'](_0x5e5fb0,'isAdded'),this['_setDistance'](_0x104b84,'isRemoved'),_0x2fec59==_0x5a89cd&&this['_markMarkers'](_0x5e5fb0,_0x1a886d),_0x5e5fb0=this['_joinTapes'](_0x5e5fb0,_0x104b84),this['_refreshStartEndIndex'](_0x5e5fb0),this['_setDistance'](_0x5e5fb0,'isRemoved');}_0x5e5fb0=_0x5e5fb0['filter'](_0x5b69a6=>!(_0x5b69a6['isAdded']&&_0x5b69a6['isRemoved']));const _0x4b3e2d=new Map(_0x18942c['model'][_0x3f1dd5]['deletions']['markers']),_0x185248=new Set(_0x1a886d['keys']());for(const _0x52300f of _0x4b3e2d['keys']())_0x185248['delete'](_0x52300f);this['_markSuggestions'](_0x5e5fb0,_0x185248),this['_fixObsoleteTags'](_0x5e5fb0),_0x5e5fb0=this['_removeMissingPairs'](_0x5e5fb0),_0x5e5fb0=this['_markMismatchedRemovedTags'](_0x5e5fb0),_0x5e5fb0=this['_removeUnsupportedChanges'](_0x5e5fb0);const {root:_0x275e48,changes:_0x2337b4}=this['_makeModelFromTape'](_0x5e5fb0,_0x3c1f6b,_0x3f1dd5);_0x25de37['model'][_0x3f1dd5]=_0x275e48;const _0x1d00f5=_0x1eefa7['get'](_0x3f1dd5);if(_0x1d00f5){const _0x5f038a=_0x3c1f6b['get'](_0x1d00f5['userId']),_0x5c6799=new r({'author':_0x5f038a,'type':_0x1d00f5['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3f1dd5});_0x2337b4['unshift'](_0x5c6799),_0x25de37['attributes'][_0x3f1dd5]['revisionHistoryAttachChange']=_0x5c6799['id'];}_0x25de37['changes']=_0x25de37['changes']['concat'](_0x2337b4);}return _0x25de37;}['_markMarkers'](_0x23fd2f,_0xf8a955){for(let _0x1e4875=0x0;_0x1e4875<_0x23fd2f['length'];_0x1e4875++)for(const [_0x2ae70b,_0x56769e]of _0xf8a955)_0x56769e['start']['isEqual'](_0x23fd2f[_0x1e4875]['previousPosition'])&&_0x23fd2f[_0x1e4875]['markersStart']['push'](_0x2ae70b),_0x56769e['end']['isEqual'](_0x23fd2f[_0x1e4875]['nextPosition'])&&_0x23fd2f[_0x1e4875]['markersEnd']['push'](_0x2ae70b);}['_joinTapes'](_0x40a520,_0x4e6626){let _0x406383=[],_0x34a919=0x0,_0x254053=0x0;for(;_0x34a919<_0x40a520['length']||_0x254053<_0x4e6626['length'];){const _0x4eb1bc=_0x40a520[_0x34a919]||{},_0x390ea1=_0x4e6626[_0x254053]||{};if(_0x4eb1bc['id']==_0x390ea1['id'])_0x34a919++,_0x254053++,_0x406383['push'](_0x4eb1bc);else{if(_0x390ea1['isRemoved']&&_0x4eb1bc['isAdded']){const {commonTape:_0x336531,iEnd:_0x4d4dd0,jEnd:_0x308108}=this['_threeWayMerge'](_0x40a520,_0x34a919,_0x4e6626,_0x254053);_0x406383=_0x406383['concat'](_0x336531),_0x34a919=_0x4d4dd0,_0x254053=_0x308108;}else _0x390ea1['isRemoved']?(_0x254053++,_0x406383['push'](_0x390ea1)):(_0x34a919++,_0x406383['push'](_0x4eb1bc));}}return _0x406383;}['_markSuggestions'](_0x59be4b,_0x2fb32a){const _0x53e230=[];for(let _0x5f19df=0x0;_0x5f19df<_0x59be4b['length'];_0x5f19df++){for(let _0x32aa5f=0x0;_0x32aa5f<_0x59be4b[_0x5f19df]['markersStart']['length'];_0x32aa5f++){const _0x460ea8=_0x59be4b[_0x5f19df]['markersStart'][_0x32aa5f];if(!_0x2fb32a['has'](_0x460ea8))continue;const {group:_0x348d7c,type:_0x5169c8,authorId:_0x15f316}=_0x117269(_0x460ea8);'revision-suggestion'!=_0x348d7c||'insertion'!=_0x5169c8&&'deletion'!=_0x5169c8||(_0x53e230['unshift']({'type':_0x5169c8,'name':_0x460ea8,'userId':_0x15f316}),_0x59be4b[_0x5f19df]['markersStart']['splice'](_0x32aa5f,0x1),_0x32aa5f--);}_0x2a939b(_0x59be4b[_0x5f19df]);for(let _0x902648=0x0;_0x902648<_0x59be4b[_0x5f19df]['markersEnd']['length'];_0x902648++){const _0x297164=_0x59be4b[_0x5f19df]['markersEnd'][_0x902648];if(!_0x2fb32a['has'](_0x297164))continue;const {group:_0x2f3b92,type:_0x11f1d7}=_0x117269(_0x297164);if('revision-suggestion'!=_0x2f3b92||'insertion'!=_0x11f1d7&&'deletion'!=_0x11f1d7)continue;_0x59be4b[_0x5f19df]['markersEnd']['splice'](_0x902648,0x1),_0x902648--;const _0x56bb0a=_0x53e230['findIndex'](_0xfa78=>_0xfa78['name']==_0x297164);_0x56bb0a>-0x1&&_0x53e230['splice'](_0x56bb0a,0x1);}}function _0x117269(_0x16d9c9){const _0x26f6f5=_0x16d9c9['split'](':');return{'group':_0x26f6f5[0x0],'type':_0x26f6f5[0x1],'subType':_0x26f6f5['length']>=0x5?_0x26f6f5[0x2]:null,'id':_0x26f6f5['length']<0x5?_0x26f6f5[0x2]:_0x26f6f5[0x3],'authorId':_0x26f6f5['length']<0x5?_0x26f6f5[0x3]:_0x26f6f5[0x4],'markerCount':0x6==_0x26f6f5['length']?_0x26f6f5[0x5]:null};}function _0x2a939b(_0x25d122){for(let _0x272118=0x0;_0x272118<_0x53e230['length'];_0x272118++){if(_0x25d122['isAdded']&&'insertion'==_0x53e230[_0x272118]['type'])return _0x25d122['isAddSuggestion']=_0x53e230[_0x272118],void delete _0x25d122['isAdded'];if(!_0x25d122['isAdded']&&!_0x25d122['isRemoved']&&'deletion'==_0x53e230[_0x272118]['type'])return void(_0x25d122['isRemoveSuggestion']=_0x53e230[_0x272118]);}}}['_setDistance'](_0x9be94c,_0x24ccde){let _0x17c96d=0x0,_0x34db98=!0x1;const _0x1046b1=new Map();for(const _0x2018ff of _0x9be94c)_0x2018ff[_0x24ccde]?_0x34db98&&(_0x17c96d++,_0x34db98=!0x1):(_0x17c96d++,_0x34db98=!0x0),_0x1046b1['set'](_0x2018ff['id'],_0x17c96d);for(let _0xe0567c=0x0;_0xe0567c<_0x9be94c['length'];_0xe0567c++){if('isRemoved'==_0x24ccde&&_0x9be94c[_0xe0567c]['isAdded']||'isAdded'==_0x24ccde&&_0x9be94c[_0xe0567c]['isRemoved'])continue;if('text'==_0x9be94c[_0xe0567c]['type']){_0x9be94c[_0xe0567c]['distance']=0x0;continue;}const _0x566dd7=_0x1046b1['get'](_0x9be94c[_0xe0567c]['pairId']),_0x3c3ddf=_0x1046b1['get'](_0x9be94c[_0xe0567c]['id']);_0x9be94c[_0xe0567c]['distance']=_0x566dd7-_0x3c3ddf;}}['_getRevisionsRange'](_0x5229f5,_0x5542bf,_0x5499d6=!0x1){const _0x1d83b8=[];let _0x52d2a0=this['repository']['getIndex'](_0x5229f5),_0x262116=this['repository']['getIndex'](_0x5542bf);for(-0x1==_0x262116&&(_0x262116=this['repository']['_revisions']['length'],_0x5499d6=!0x1);_0x52d2a0<_0x262116;)_0x1d83b8['push'](this['repository']['getRevision'](_0x52d2a0)),_0x52d2a0++;return _0x5499d6&&_0x1d83b8['push'](this['repository']['getRevision'](_0x52d2a0)),_0x1d83b8;}['_threeWayMerge'](_0x3f205d,_0x6a0514,_0x364bad,_0x5d0c08){const _0x28e78a=this['editor']['model']['schema'];let _0x225abb=_0x6a0514;for(;_0x3f205d[_0x225abb]&&_0x3f205d[_0x225abb]['isAdded'];)_0x225abb++;let _0xaafe9b=_0x5d0c08;for(;_0x364bad[_0xaafe9b]&&_0x364bad[_0xaafe9b]['isRemoved'];)_0xaafe9b++;_0x1f7987(_0x3f205d,_0x6a0514,_0x225abb),_0x1f7987(_0x364bad,_0x5d0c08,_0xaafe9b);const _0x5331ef=_0x364bad['slice'](_0x5d0c08,_0xaafe9b)['concat'](_0x3f205d['slice'](_0x6a0514,_0x225abb));return _0x5331ef['sort']((_0x1e89c5,_0x13b45c)=>_0x1e89c5['side']!=_0x13b45c['side']?_0x1e89c5['side']-_0x13b45c['side']:_0x1e89c5['level']!=_0x13b45c['level']?_0x1e89c5['level']-_0x13b45c['level']:_0x1e89c5['distance']!=_0x13b45c['distance']?_0x13b45c['distance']-_0x1e89c5['distance']:!!_0x1e89c5['isAdded']!=!!_0x13b45c['isAdded']?-0x1==_0x1e89c5['side']||0x0==_0x1e89c5['side']?_0x1e89c5['isAdded']?-0x1:0x1:_0x1e89c5['isAdded']?0x1:-0x1:_0x1e89c5['index']-_0x13b45c['index']),{'commonTape':_0x5331ef,'iEnd':_0x225abb,'jEnd':_0xaafe9b};function _0x1f7987(_0x4716e1,_0x4223ac,_0x52885e){let _0x150cfb=-0x1,_0x482fed=Number['POSITIVE_INFINITY'],_0x3495b5=!0x0;for(let _0x22ff2b=_0x4223ac;_0x22ff2b<_0x52885e;_0x22ff2b++)if(_0x28e78a['isInline'](_0x4716e1[_0x22ff2b]['item'])||(_0x3495b5=!0x1),_0x4716e1[_0x22ff2b]['item']['startIndex']<_0x4223ac&&(_0x150cfb=_0x22ff2b),_0x4716e1[_0x22ff2b]['item']['endIndex']>=_0x52885e){_0x482fed=_0x22ff2b;break;}_0x3495b5&&(_0x150cfb=_0x52885e-0x1);for(let _0x42bcd3=_0x4223ac;_0x42bcd3<_0x52885e;_0x42bcd3++)_0x4716e1[_0x42bcd3]['side']=_0x42bcd3<=_0x150cfb?-0x1:_0x42bcd3<_0x482fed?0x0:0x1,_0x4716e1[_0x42bcd3]['index']=_0x42bcd3;let _0x5be8d4=0x0;for(let _0x3b4eb3=_0x4223ac;_0x3b4eb3<=_0x150cfb;_0x3b4eb3++)0x0==_0x4716e1[_0x3b4eb3]['distance']?_0x4716e1[_0x3b4eb3]['level']=_0x5be8d4:(_0x5be8d4++,_0x4716e1[_0x3b4eb3]['level']=_0x5be8d4,_0x5be8d4++);for(let _0x5ed83f=_0x4223ac;_0x5ed83f<_0x52885e;_0x5ed83f++)0x0==_0x4716e1[_0x5ed83f]['side']&&(_0x4716e1[_0x5ed83f]['level']=_0x5be8d4);_0x5be8d4=0x0;for(let _0x25c856=_0x52885e-0x1;_0x25c856>=_0x482fed;_0x25c856--)0x0==_0x4716e1[_0x25c856]['distance']?_0x4716e1[_0x25c856]['level']=_0x5be8d4:(_0x5be8d4--,_0x4716e1[_0x25c856]['level']=_0x5be8d4,_0x5be8d4--);}}['_fixObsoleteTags'](_0x13c533){const _0x378e65=new Map(),_0x257281=this['editor']['model']['schema'];for(let _0x2f2653=0x1;_0x2f2653<_0x13c533['length'];_0x2f2653++){let _0x56a4d3,_0x373e63,_0x5eeada;const _0xcbb394=_0x13c533[_0x2f2653],_0x29b61d=_0x13c533[_0x2f2653-0x1];if('text'==_0xcbb394['type'])continue;if(_0xcbb394['type']!=_0x29b61d['type'])continue;if(!_0x257281['isBlock'](_0x29b61d['item'])||_0x257281['isLimit'](_0x29b61d['item']))continue;if(!_0x257281['isBlock'](_0xcbb394['item'])||_0x257281['isLimit'](_0xcbb394['item']))continue;if((_0x13c533[_0x2f2653]['isAdded']||_0x13c533[_0x2f2653]['isAddSuggestion'])&&_0x13c533[_0x2f2653-0x1]['isRemoved'])_0x56a4d3=_0x13c533[_0x2f2653],_0x373e63=_0x13c533[_0x2f2653-0x1],_0x5eeada=_0x2f2653-0x1;else{if(!_0x13c533[_0x2f2653]['isRemoved']||!_0x13c533[_0x2f2653-0x1]['isAdded']&&!_0x13c533[_0x2f2653-0x1]['isAddSuggestion'])continue;_0x56a4d3=_0x13c533[_0x2f2653-0x1],_0x373e63=_0x13c533[_0x2f2653],_0x5eeada=_0x2f2653;}const _0x52da35=_0x56a4d3['level']==_0x373e63['level'],_0x3b6d2b=Math['abs'](_0x56a4d3['level'])<Math['abs'](_0x373e63['level'])&&0x0==_0x373e63['distance'];(_0x52da35||_0x3b6d2b)&&(_0x378e65['set'](_0x373e63['id'],_0x56a4d3['id']),_0x13c533['splice'](_0x5eeada,0x1),_0x2f2653--,_0x56a4d3['isAdded']=!0x1);}for(let _0x41bc6a=0x0;_0x41bc6a<_0x13c533['length'];_0x41bc6a++)_0x378e65['has'](_0x13c533[_0x41bc6a]['pairId'])&&(_0x13c533[_0x41bc6a]['pairId']=_0x378e65['get'](_0x13c533[_0x41bc6a]['pairId']));}['_removeMissingPairs'](_0x3fe7e4){const _0x23aba6=new Set(_0x3fe7e4['map'](_0x239ae3=>_0x239ae3['id']));for(let _0x2c5ed1=0x0;_0x2c5ed1<_0x3fe7e4['length'];_0x2c5ed1++)_0x23aba6['has'](_0x3fe7e4[_0x2c5ed1]['pairId'])||0x0==_0x3fe7e4[_0x2c5ed1]['distance']||(_0x3fe7e4[_0x2c5ed1]['isIncorrect']=!0x0);return _0x3fe7e4['filter'](_0x26082c=>!_0x26082c['isIncorrect']);}['_markMismatchedRemovedTags'](_0x203844){const _0x517b6e=new Set();for(let _0x4b7906=0x0;_0x4b7906<_0x203844['length'];_0x4b7906++){if(_0x517b6e['has'](_0x203844[_0x4b7906]['id'])&&_0x203844[_0x4b7906]['isRemoved']&&(_0x203844[_0x4b7906]['isIncorrect']=!0x0),_0x203844[_0x4b7906]['isIncorrect'])continue;if(0x0==_0x203844[_0x4b7906]['distance'])continue;if('elementStart'!=_0x203844[_0x4b7906]['type'])continue;if(null==_0x203844[_0x4b7906]['pairId'])continue;let _0x17bf80=_0x4b7906+0x1,_0x4cd1c7=0x0;for(;_0x203844[_0x17bf80]['id']!=_0x203844[_0x4b7906]['pairId'];)'elementStart'==_0x203844[_0x17bf80]['type']?_0x4cd1c7++:'elementEnd'==_0x203844[_0x17bf80]['type']&&_0x4cd1c7--,_0x17bf80++;if(0x0!=_0x4cd1c7){if(_0x203844[_0x4b7906]['isRemoved'])_0x203844[_0x4b7906]['isIncorrect']=!0x0;else{for(;_0x17bf80!=_0x4b7906;)_0x203844[_0x17bf80]['isRemoved']&&0x0!=_0x203844[_0x17bf80]['distance']&&(_0x203844[_0x17bf80]['isIncorrect']=!0x0,_0x517b6e['add'](_0x203844[_0x17bf80]['pairId'])),_0x17bf80--;}}}return _0x203844['filter'](_0x5746b2=>!_0x5746b2['isIncorrect']);}['_removeUnsupportedChanges'](_0x52c8a7){const _0x32bb8d=this['editor']['model']['schema'];for(let _0x1d14f4=0x0;_0x1d14f4<_0x52c8a7['length'];_0x1d14f4++){if(!(_0x52c8a7[_0x1d14f4]['isAdded']||_0x52c8a7[_0x1d14f4]['isAddSuggestion']||_0x52c8a7[_0x1d14f4]['isRemoved']||_0x52c8a7[_0x1d14f4]['isRemoveSuggestion']))continue;if(0x0==_0x52c8a7[_0x1d14f4]['distance'])continue;const _0x107e67=_0x52c8a7[_0x1d14f4]['item'];_0x32bb8d['isBlock'](_0x107e67)||_0x32bb8d['isLimit'](_0x107e67)||(_0x52c8a7[_0x1d14f4]['isAdded']&&delete _0x52c8a7[_0x1d14f4]['isAdded'],_0x52c8a7[_0x1d14f4]['isAddSuggestion']&&delete _0x52c8a7[_0x1d14f4]['isAddSuggestion'],_0x52c8a7[_0x1d14f4]['isRemoveSuggestion']&&delete _0x52c8a7[_0x1d14f4]['isRemoveSuggestion'],_0x52c8a7[_0x1d14f4]['isRemoved']&&(_0x52c8a7[_0x1d14f4]['isIncorrect']=!0x0));}return _0x52c8a7['filter'](_0x2df5e0=>!_0x2df5e0['isIncorrect']);}['_makeModelFromTape'](_0x818f83,_0x108a4c,_0x175b8c){const _0x2cc0fa=new wt(),_0x2dbdbd=[],_0x2c41d5=new Map(),_0xc8e60a=this['editor']['model'],_0x330a29=_0xc8e60a['schema'],_0x1dca2f=[_0x2cc0fa],_0x13a1a9={},_0xc1c1a3={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x33617a=null;const _0x5e9405=[0x0];for(let _0x56a75b=0x0;_0x56a75b<_0x818f83['length'];_0x56a75b++){let _0x45f0fa,_0x121235;if('elementStart'===_0x818f83[_0x56a75b]['type']){_0x45f0fa=_0xc8e60a['createPositionFromPath'](_0x2cc0fa,_0x5e9405);const _0x31e40b=new ft(_0x818f83[_0x56a75b]['item']['name'],_0x818f83[_0x56a75b]['item']['getAttributes']());_0x1dca2f[0x0]['_appendChild'](_0x31e40b),_0x5e9405['push'](0x0),_0x1dca2f['unshift'](_0x31e40b),_0x121235=_0xc8e60a['createPositionFromPath'](_0x2cc0fa,_0x5e9405),_0x33617a=null;}else{if('elementEnd'===_0x818f83[_0x56a75b]['type'])_0x1dca2f['shift'](),_0x45f0fa=_0xc8e60a['createPositionFromPath'](_0x2cc0fa,_0x5e9405),_0x5e9405['pop'](),_0x5e9405[_0x5e9405['length']-0x1]++,_0x121235=_0xc8e60a['createPositionFromPath'](_0x2cc0fa,_0x5e9405),_0x33617a=null;else{if(_0x45f0fa=_0xc8e60a['createPositionFromPath'](_0x2cc0fa,_0x5e9405),_0x33617a&&_0x4486ad(_0x33617a,_0x818f83[_0x56a75b]['item']))_0x33617a['_data']+=_0x818f83[_0x56a75b]['item']['data'];else{const _0x4e9d4d=new _t(_0x818f83[_0x56a75b]['item']['data'],_0x818f83[_0x56a75b]['item']['getAttributes']());_0x1dca2f[0x0]['_appendChild'](_0x4e9d4d),_0x33617a=_0x4e9d4d;}_0x5e9405[_0x5e9405['length']-0x1]+=_0x818f83[_0x56a75b]['item']['offsetSize'],_0x121235=_0xc8e60a['createPositionFromPath'](_0x2cc0fa,_0x5e9405);}}for(const _0x4ed62b of _0x818f83[_0x56a75b]['markersStart'])_0x2c41d5['set'](_0x4ed62b,{'start':_0x45f0fa,'end':null});_0xf99cf6('isRemoveSuggestion',_0x56a75b,_0x45f0fa,_0x121235),_0xf99cf6('isAddSuggestion',_0x56a75b,_0x45f0fa,_0x121235),_0xf99cf6('isRemoved',_0x56a75b,_0x45f0fa,_0x121235),_0xf99cf6('isAdded',_0x56a75b,_0x45f0fa,_0x121235);for(const _0x13dc85 of _0x818f83[_0x56a75b]['markersEnd']){_0x2c41d5['get'](_0x13dc85)['end']=_0x121235;}}for(const [_0x1e658f,_0x4f9f00]of _0x2c41d5){const _0x558f29=this['editor']['model']['createRange'](_0x4f9f00['start'],_0x4f9f00['end']);_0x2cc0fa['markers']['set'](_0x1e658f,_0x558f29);}return _0x2dbdbd['sort']((_0x36f53a,_0x125d2a)=>{const _0x25f595=_0x2cc0fa['markers']['get']('revision:'+_0x36f53a['id']),_0x438d39=_0x2cc0fa['markers']['get']('revision:'+_0x125d2a['id']);return _0x25f595['start']['isBefore'](_0x438d39['start'])?-0x1:_0x25f595['start']['isAfter'](_0x438d39['start'])?0x1:_0x25f595['end']['isBefore'](_0x438d39['end'])?-0x1:_0x25f595['end']['isAfter'](_0x438d39['end'])?0x1:'add'===_0x36f53a['type']?-0x1:0x1;}),{'root':_0x2cc0fa,'changes':_0x2dbdbd};function _0xf99cf6(_0x15b65f,_0x15af3b,_0x35258d,_0x241d9d){const _0x3735c3=!!_0x818f83[_0x15af3b][_0x15b65f],_0x384578=_0x3735c3?_0x818f83[_0x15af3b][_0x15b65f]['userId']:null,_0x385bc8=_0x15af3b===_0x818f83['length']-0x1,_0x58c9d3=_0xc1c1a3[_0x15b65f][0x0],_0x4edaf3=_0x330a29['isObject'](_0x818f83[_0x15af3b]['item']);!_0x13a1a9[_0x15b65f]&&_0x3735c3?_0x13a1a9[_0x15b65f]={'start':_0x35258d,'tapeItem':_0x818f83[_0x15af3b],'userId':_0x384578,'type':_0x15b65f}:_0x13a1a9[_0x15b65f]&&!_0x3735c3?(_0x13a1a9[_0x15b65f]['end']=_0x35258d,_0x7fbd08(_0x13a1a9[_0x15b65f]),_0x13a1a9[_0x15b65f]=null):_0x13a1a9[_0x15b65f]&&_0x3735c3&&_0x13a1a9[_0x15b65f]['userId']!==_0x384578&&(_0x13a1a9[_0x15b65f]['end']=_0x35258d,_0x58c9d3&&_0x58c9d3['userId']===_0x13a1a9[_0x15b65f]['userId']||_0x7fbd08(_0x13a1a9[_0x15b65f]),_0x13a1a9[_0x15b65f]={'start':_0x35258d,'tapeItem':_0x818f83[_0x15af3b],'userId':_0x384578,'type':_0x15b65f}),_0x13a1a9[_0x15b65f]&&_0x4edaf3&&('elementStart'!==_0x818f83[_0x15af3b]['type']||_0x58c9d3&&_0x58c9d3['userId']===_0x384578||_0xc1c1a3[_0x15b65f]['unshift']({'userId':_0x384578,'object':_0x818f83[_0x15af3b]['item'],'change':_0x13a1a9[_0x15b65f]}),'elementEnd'===_0x818f83[_0x15af3b]['type']&&_0x58c9d3&&_0x58c9d3['object']===_0x818f83[_0x15af3b]['item']&&(_0xc1c1a3[_0x15b65f]['shift'](),_0x13a1a9[_0x15b65f]=_0x58c9d3['change'])),_0x13a1a9[_0x15b65f]&&_0x385bc8&&(_0x13a1a9[_0x15b65f]['end']=_0x241d9d,_0x7fbd08(_0x13a1a9[_0x15b65f]),_0x13a1a9[_0x15b65f]=null);}function _0x7fbd08({start:_0x561d9d,end:_0x5034fd,tapeItem:_0x33d945,userId:_0x404947,type:_0xb13b8}){const _0x1692d4=_0x33d945['item'],_0x10d26f=_0xc8e60a['schema']['isBlock'](_0x1692d4)&&!_0xc8e60a['schema']['isLimit'](_0x1692d4),_0x2afdfa=_0x561d9d['nodeAfter']==_0x5034fd['parent']&&_0x5034fd['isAtStart'];if(_0x10d26f&&_0x2afdfa)return;const _0x4c1d2b=_0xc8e60a['createRange'](_0x561d9d,_0x5034fd),_0x301844=_0x108a4c['get'](_0x404947),_0x5a0bfe=new r({'author':_0x301844,'type':'isAdded'==_0xb13b8||'isAddSuggestion'==_0xb13b8?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xb13b8||'isRemoveSuggestion'==_0xb13b8},'createdAt':new Date(),'rootName':_0x175b8c});_0x2dbdbd['push'](_0x5a0bfe),_0x2cc0fa['markers']['set']('revision:'+_0x5a0bfe['id'],_0x4c1d2b);}function _0x4486ad(_0x3521eb,_0x5db0ac){const _0x59312a=_0x3521eb['getAttributes'](),_0x29f332=_0x5db0ac['getAttributes']();for(const _0x402773 of _0x59312a){if(_0x402773[0x1]!==_0x5db0ac['getAttribute'](_0x402773[0x0]))return!0x1;_0x29f332['next']();}return _0x29f332['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3f06b5=>{const _0x265597=_0x3f06b5['markerName']['split'](':')[0x1],_0x27bda6=this['_getChangeFromId'](_0x265597);if(!_0x27bda6)return null;const _0x3179c5='add'==_0x27bda6['type']?'insertion':'deletion',_0x2d8c28=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3179c5];return _0x27bda6['data']['isSuggestion']&&_0x2d8c28['push']('ck-suggestion-marker-'+_0x3179c5+'-new'),this['activeChange']==_0x27bda6&&_0x2d8c28['push']('ck-suggestion-marker--active'),{'classes':_0x2d8c28,'attributes':{'data-change-id':_0x265597}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4b5d66=>{_0x4b5d66['on']('element:pre',(_0x4861d0,_0x13f36e,_0x5a27e3)=>{const _0x376dd5=_0x13f36e['viewItem']['getChild'](0x0);if(!_0x376dd5||!_0x376dd5['is']('element','code'))return;if(!_0x5a27e3['consumable']['consume'](_0x376dd5,{'attributes':['vid_start','vid_end']}))return;const _0x296884=_0x13f36e['modelRange']['start']['nodeAfter'];_0x5a27e3['writer']['setAttribute']('vid_start',_0x376dd5['getAttribute']('vid_start'),_0x296884),_0x5a27e3['writer']['setAttribute']('vid_end',_0x376dd5['getAttribute']('vid_end'),_0x296884);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4f4b84=>{_0x4f4b84['on']('element',(_0x38e3b1,_0x3ece7a,_0x16a1c)=>{if(!_0x16a1c['consumable']['consume'](_0x3ece7a['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ece7a['modelRange']['isCollapsed'])return;const _0x14d7d3=_0x3ece7a['modelRange']['start']['nodeAfter'];_0x14d7d3['hasAttribute']('vid_start')||_0x14d7d3['hasAttribute']('vid')||(_0x16a1c['writer']['setAttribute']('vid_start',_0x3ece7a['viewItem']['getAttribute']('vid_start'),_0x14d7d3),_0x16a1c['writer']['setAttribute']('vid_end',_0x3ece7a['viewItem']['getAttribute']('vid_end'),_0x14d7d3));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4c082b=>_0x4c082b['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x23d06d,[,_0x471516])=>{['vid_start','vid_end','vid']['includes'](_0x471516)&&(_0x23d06d['return']=!0x0,_0x23d06d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x119d31=>{_0x119d31['on']('attribute:vid',(_0x5b8f5f,_0x483ab7,_0x521197)=>{if('\x20'!=_0x483ab7['item']['data']||_0x483ab7['item']['parent']['maxOffset']>0x1)return;if(!_0x521197['consumable']['consume'](_0x483ab7['item'],_0x5b8f5f['name']))return;const _0x31d1ec=_0x521197['writer'],_0x515b1c=_0x521197['mapper']['toViewRange'](_0x483ab7['range']);_0x31d1ec['wrap'](_0x515b1c,_0x31d1ec['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x305e0b){const _0x3edce3=_0x305e0b['plugins']['get']('RevisionViewer');return(_0x11599c,_0x4fcbf9,_0x5e3e9e)=>{const _0x4c4857=_0x4fcbf9['markerName']['split'](':')[0x1],_0x5b94a2=_0x3edce3['_getChangeFromId'](_0x4c4857);if(!_0x5b94a2)return null;const _0x4e3be9='add'==_0x5b94a2['type']?'split':'merge';if(!_0x5e3e9e['consumable']['test'](_0x4fcbf9['markerRange'],_0x11599c['name']))return;const _0x1651bd=_0x4fcbf9['markerRange']['getWalker'](),_0x2716b2=_0x4fcbf9['markerRange']['start'],_0x3c550d=_0x305e0b['model']['schema'];let _0x4c8f44=null,_0x4b1a0f=null,_0x5bb39f=!0x1,_0x342797=!0x1;for(const _0x4b0835 of _0x1651bd){const _0x47dffa=_0x4b0835['item'];_0x5bb39f=_0x5bb39f||_0x3c550d['isContent'](_0x47dffa);const _0x4caf32=_0x5e3e9e['mapper']['toViewElement'](_0x47dffa);if(_0x4caf32&&_0x4caf32['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4b0835['type']&&(_0x3c550d['isBlock'](_0x47dffa)&&!_0x3c550d['isLimit'](_0x47dffa)&&(_0x47dffa['nextSibling']||_0x2716b2['isAtEnd']?_0x4c8f44&&_0x4c8f44['parent']==_0x47dffa||(_0x4c8f44=_0x47dffa,_0x10f8a5(_0x4b0835['previousPosition']),_0x342797=!0x0):_0x4b1a0f=_0x4b1a0f||_0x4b0835['previousPosition']));}function _0x10f8a5(_0x51e27a){const _0x5eb12d=_0x5e3e9e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e3be9}),_0x4f41a5=_0x5e3e9e['mapper']['toViewPosition'](_0x51e27a);_0x5b94a2['data']['isSuggestion']&&_0x5e3e9e['writer']['addClass']('ck-suggestion-marker-'+_0x4e3be9+'-new',_0x5eb12d),_0x3edce3['activeChange']==_0x5b94a2&&_0x5e3e9e['writer']['addClass']('ck-suggestion-marker--active',_0x5eb12d),_0x5e3e9e['writer']['insert'](_0x4f41a5,_0x5eb12d),_0x5e3e9e['mapper']['bindElementToMarker'](_0x5eb12d,_0x4fcbf9['markerName']);}_0x5bb39f||_0x342797||!_0x4b1a0f||_0x10f8a5(_0x4b1a0f);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x15505d,_0x400179,_0x3f1bf9)=>{const _0x1ea36a=_0x3f1bf9['mapper']['markerNameToElements'](_0x400179['markerName']);if(_0x1ea36a){for(const _0x423b13 of _0x1ea36a)(_0x423b13['hasClass']('ck-suggestion-marker-split')||_0x423b13['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f1bf9['mapper']['unbindElementFromMarkerName'](_0x423b13,_0x400179['markerName']),_0x3f1bf9['writer']['remove'](_0x423b13));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x480457,_0x3bbac5,_0x3fbb1a)=>{const _0x4dd93b=_0x3bbac5['markerName']['split'](':')[0x1],_0x3990c8=this['_getChangeFromId'](_0x4dd93b);if(!_0x3990c8)return null;const _0x3c5552='add'==_0x3990c8['type']?'split':'merge';if(_0x3fbb1a['consumable']['test'](_0x3bbac5['markerRange'],_0x480457['name']))for(const _0x73d2e5 of _0x3bbac5['markerRange']['getItems']()){if(!_0x73d2e5['is']('element','softBreak'))continue;const _0x1bc839=_0x3fbb1a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3c5552}),_0x42ec74=_0x3fbb1a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x73d2e5));_0x3990c8['data']['isSuggestion']&&_0x3fbb1a['writer']['addClass']('ck-suggestion-marker-'+_0x3c5552+'-new',_0x1bc839),this['activeChange']==_0x3990c8&&_0x3fbb1a['writer']['addClass']('ck-suggestion-marker--active',_0x1bc839),_0x3fbb1a['writer']['insert'](_0x42ec74,_0x1bc839),_0x3fbb1a['mapper']['bindElementToMarker'](_0x1bc839,_0x3bbac5['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1eda83=>{for(const _0x347197 of this['editor']['model']['document']['getRootNames']()){const _0x4b5af8=this['editor']['model']['document']['getRoot'](_0x347197),_0x982614=this['editor']['editing']['view']['document']['getRoot'](_0x347197);if(_0x982614){const _0x34e880=_0x4b5af8['getAttribute']('revisionHistoryAttachChange');if(_0x1eda83['removeAttribute']('data-change-id',_0x982614),_0x1eda83['removeClass']('ck-revision-history-root-add',_0x982614),_0x1eda83['removeClass']('ck-revision-history-root-remove',_0x982614),_0x1eda83['removeClass']('ck-revision-history-root--active',_0x982614),_0x34e880){const _0x23ea98=this['_getChangeFromId'](_0x34e880);if(!_0x23ea98)return null;_0x1eda83['setAttribute']('data-change-id',_0x34e880,_0x982614),_0x1eda83['addClass']('ck-revision-history-root-'+_0x23ea98['type'],_0x982614),this['activeChange']==_0x23ea98&&_0x1eda83['addClass']('ck-revision-history-root--active',_0x982614);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2b6b3a=>'revision-comment:'+_0x2b6b3a,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x29675e=>'revision-suggestion:'+_0x29675e,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x542a77=>({'name':'suggestion:'+_0x542a77,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2cdee3=>{const _0x179de4=_0x2cdee3['markerName']['split'](':')[0x1];return'insertion'!=_0x179de4&&'deletion'!=_0x179de4?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x179de4]};}}),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',(_0x5adbd0,_0x32ba06,_0x598c6c)=>{const _0x18063b=_0x598c6c['mapper']['markerNameToElements'](_0x32ba06['markerName']);if(_0x18063b){for(const _0x452a90 of _0x18063b)_0x452a90['is']('uiElement')&&(_0x598c6c['mapper']['unbindElementFromMarkerName'](_0x452a90,_0x32ba06['markerName']),_0x598c6c['writer']['remove'](_0x452a90));}},{'priority':'high'});}['_getChangeFromId'](_0x3fee12){return this['_changeIdToChange']['get'](_0x3fee12);}['_getViewForChange'](_0x573b02){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x573b02),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x34e960,_0x4c68ec,_0x3e01cb,_0x2a999f)=>{_0x2a999f&&this['_balloon']['remove'](_0x2a999f),_0x3e01cb&&(this['_balloon']['add']({'view':_0x3e01cb,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1a698e=this['editor']['editing'],_0x1df238=this['_getChangeFromId'](_0x3e01cb['changeId']);let _0x3db1f0;if(_0x1df238['data']['isOnRoot']){const _0x41c846=_0x1a698e['view']['getDomRoot'](_0x1df238['rootName']);_0x3db1f0=Array['from'](_0x41c846['getClientRects']());}else{const _0x54bf6c=this['editor']['model']['markers']['get']('revision:'+_0x3e01cb['changeId']);_0x3db1f0=Array['from'](_0x1a698e['mapper']['markerNameToElements'](_0x54bf6c['name']))['map'](_0x320282=>_0x1a698e['view']['domConverter']['mapViewToDom'](_0x320282))['map'](_0x11592f=>Array['from'](_0x11592f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3db1f0[0x0];return _0x3db1f0['find'](_0x4fc4e0=>_0x4fc4e0['top']-0x3<=this['_activeViewTarget']['y']&&_0x4fc4e0['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4fc4e0['left']-0x3<=this['_activeViewTarget']['x']&&_0x4fc4e0['right']+0x3>=this['_activeViewTarget']['x'])||_0x3db1f0[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3e394d,_0x2f8cd3,_0x2c9a4b,_0x2dce3f)=>{this['activeView']=_0x2c9a4b?this['_getViewForChange'](_0x2c9a4b):null,this['editor']['model']['change'](()=>{const _0x4b59d0=this['editor']['editing'];_0x2dce3f&&(_0x2dce3f['data']['isOnRoot']?_0x4b59d0['view']['change'](_0x133224=>{_0x133224['removeClass']('ck-revision-history-root--active',_0x4b59d0['view']['document']['getRoot'](_0x2dce3f['rootName']));}):_0x4b59d0['reconvertMarker']('revision:'+_0x2dce3f['id'])),_0x2c9a4b&&(_0x2c9a4b['data']['isOnRoot']?_0x4b59d0['view']['change'](_0xcc1d28=>{_0xcc1d28['addClass']('ck-revision-history-root--active',_0x4b59d0['view']['document']['getRoot'](_0x2c9a4b['rootName']));}):_0x4b59d0['reconvertMarker']('revision:'+_0x2c9a4b['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x33d5fc,_0x57e666)=>{if(this['activeChange'])return;const _0x2df8b4=this['_findChangeIdFromDomTarget'](_0x57e666['target']),_0x1425c3=this['_changeIdToChange']['get'](_0x2df8b4);_0x1425c3?(this['_activeViewTarget']={'x':_0x57e666['domEvent']['x'],'y':_0x57e666['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1425c3)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xd4b108,_0x4b7c0c)=>{const _0x2f64bb=this['_findChangeIdFromDomTarget'](_0x4b7c0c['target']),_0x217be0=this['_changeIdToChange']['get'](_0x2f64bb);_0x217be0?(this['_activeViewTarget']={'x':_0x4b7c0c['domEvent']['x'],'y':_0x4b7c0c['domEvent']['y']},_0x217be0===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x217be0):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xc56103){do{const _0x1ba01d=_0xc56103['getAttribute']('data-change-id');if(_0x1ba01d)return _0x1ba01d;_0xc56103=_0xc56103['parent'];}while(_0xc56103);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x374036=>{for(const _0x18b13b of this['editor']['model']['markers'])_0x374036['removeMarker'](_0x18b13b);});}}function et(_0x125f12,_0x28aed9){return(_0x2b4337,_0x4a4e3b,_0x1052ed)=>{if(!_0x1052ed['consumable']['test'](_0x4a4e3b['markerRange'],_0x2b4337['name']))return;const _0x19afae=_0x4a4e3b['markerRange']['getWalker'](),_0xae1880=_0x4a4e3b['markerRange']['start'],_0xd6b0cc=_0x125f12['model']['schema'];let _0x252249=null,_0x30b7c4=null,_0x308a3d=!0x1,_0x14166a=!0x1;for(const _0x297100 of _0x19afae){const _0x32a92e=_0x297100['item'];_0x308a3d=_0x308a3d||_0xd6b0cc['isContent'](_0x32a92e);const _0x16025f=_0x1052ed['mapper']['toViewElement'](_0x32a92e);if(_0x16025f&&_0x16025f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x297100['type']&&(_0xd6b0cc['isBlock'](_0x32a92e)&&!_0xd6b0cc['isLimit'](_0x32a92e)&&(_0x32a92e['nextSibling']||_0xae1880['isAtEnd']?_0x252249&&_0x252249['parent']==_0x32a92e||(_0x252249=_0x32a92e,_0x1a9ae5(_0x297100['previousPosition']),_0x14166a=!0x0):_0x30b7c4=_0x30b7c4||_0x297100['previousPosition']));}function _0x1a9ae5(_0x113d45){const _0xb4ca2a=_0x1052ed['mapper']['toViewPosition'](_0x113d45),_0x423ef7=_0x1052ed['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x28aed9});_0x1052ed['writer']['insert'](_0xb4ca2a,_0x423ef7),_0x1052ed['mapper']['bindElementToMarker'](_0x423ef7,_0x4a4e3b['markerName']);}_0x308a3d||_0x14166a||!_0x30b7c4||_0x1a9ae5(_0x30b7c4);};}class bt extends _0x43ae24{constructor(_0x239c56){super(_0x239c56);const _0x2be938=_0x239c56['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x2be938,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2be938,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2594dd=this['editor'],_0x1095c7=_0x2594dd['plugins']['get'](d),_0x4c13c2=_0x1095c7['isReady']?_0x1095c7['diff']['newRevisionId']:null;_0x2594dd['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4c13c2);}['refresh'](){const {isReady:_0x3e07f3,isEnabled:_0x53d8d2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3e07f3&&_0x53d8d2;}}class yt extends _0x43ae24{['_step'];constructor(_0x3037c9,{direction:_0x48a066}){super(_0x3037c9);const _0x179a44=_0x3037c9['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x48a066?0x1:-0x1,this['listenTo'](_0x179a44,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x179a44,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x179a44,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3a14d7=this['editor'],_0x35bd8a=_0x3a14d7['plugins']['get'](d),{isNavigationMode:_0x1b19b3,currentChangeNumber:_0x15a912}=_0x35bd8a;let _0x282796;if(_0x35bd8a['activeChange']=_0x1b19b3?_0x35bd8a['diff']['changes']['get'](_0x15a912+this['_step']):_0x35bd8a['diff']['changes']['first'],_0x35bd8a['activeChange']['data']['isOnRoot'])_0x282796=_0x3a14d7['editing']['view']['getDomRoot'](_0x35bd8a['activeChange']['rootName']);else{const _0xdce3b3=_0x3a14d7['model']['markers']['get']('revision:'+_0x35bd8a['activeChange']['id']);_0x282796=_0x39ac66(_0x3a14d7['editing'],_0xdce3b3);}_0x364624({'target':_0x282796,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1440f6,currentChangeNumber:_0x33b884,numberOfChanges:_0x4c7ee1,isReady:_0x222e55,isEnabled:_0x4135a7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4135a7&&_0x222e55&&_0x4c7ee1)&&(!_0x1440f6||(0x1===this['_step']?_0x33b884<_0x4c7ee1-0x1:_0x33b884>0x0));}}class _i extends _0x1cf29a{constructor(_0x4f277e){super(_0x4f277e);const _0x4b96da=this['bindTemplate'],_0x557cb9=new _0x79890d(_0x4f277e),_0x37bbdf=new _0x79890d(_0x4f277e);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',(_0x2c8a7f,_0x1368d2)=>_0x2c8a7f&&_0x1368d2>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2d107a,_0x4bf7b4,_0x3e3bbd,_0x236e8c)=>{if(!_0x2d107a)return y(_0x4f277e,'Loading...');if(!_0x3e3bbd)return y(_0x4f277e,'No\x20changes');const _0x48671d=y(_0x4f277e,'NUMBER_OF_CHANGES',_0x3e3bbd);return _0x236e8c?y(_0x4f277e,'X_OF_Y_CHANGES',[_0x4bf7b4+0x1,_0x3e3bbd]):_0x48671d;}),_0x557cb9['set']({'label':y(_0x4f277e,'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'}),_0x37bbdf['set']({'label':y(_0x4f277e,'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'}),_0x557cb9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x37bbdf['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x557cb9['on']('execute',()=>this['fire']('execute','backward')),_0x37bbdf['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',_0x4b96da['if']('_isStatusLabelVisible','ck-hidden',_0x54a529=>!_0x54a529)]},'children':[{'text':_0x4b96da['to']('isNavigationMode',_0x2cf794=>_0x2cf794?y(_0x4f277e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4f277e,'Total')+':\x20')}]},{'text':_0x4b96da['to']('_statusText')}]},new _0x1e2f34(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x557cb9,_0x37bbdf]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x18f8e8{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x24889c=this['editor']['editing']['view'];_0x24889c['change'](_0x40fff5=>{for(const _0x3cc3c5 of _0x24889c['document']['roots'])_0x40fff5['addClass'](ce,_0x3cc3c5);});}['hide'](){const _0xca3633=this['editor']['editing']['view'];_0xca3633['change'](_0x50c236=>{for(const _0x1b1b22 of _0xca3633['document']['roots'])_0x50c236['removeClass'](ce,_0x1b1b22);});}}class R extends _0x18f8e8{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1941ac=this['editor'],_0x49c510=_0x1941ac['plugins']['get'](d),_0x195b22=_0x1941ac['plugins']['get'](de);_0x1941ac['ui']['componentFactory']['add']('exitToEditing',_0x36fae0=>{const _0x40701f=new _0x79890d(_0x36fae0);return _0x40701f['set']({'label':y(_0x36fae0,'Back\x20to\x20editing'),'icon':_0x8a6596['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x40701f,'execute',()=>{_0x1941ac['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x40701f;}),_0x1941ac['ui']['componentFactory']['add']('restoreRevision',_0x4abc43=>{const _0xd58299=new _0x79890d(_0x4abc43);return _0xd58299['set']({'label':y(_0x4abc43,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xd58299['bind']('isEnabled')['to'](_0x1941ac['commands']['get']('restoreRevision')),this['listenTo'](_0xd58299,'execute',()=>_0x1941ac['execute']('restoreRevision')),_0xd58299;}),_0x1941ac['ui']['componentFactory']['add']('changesNavigation',_0x3f8086=>{const _0x1e95a6=new _i(_0x3f8086),_0x5268e3=_0x1941ac['commands']['get']('showPreviousChange'),_0x4d472c=_0x1941ac['commands']['get']('showNextChange');return _0x1e95a6['bind']('isBackwardNavigationEnabled')['to'](_0x5268e3,'isEnabled'),_0x1e95a6['bind']('isForwardNavigationEnabled')['to'](_0x4d472c,'isEnabled'),_0x1e95a6['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x49c510),this['listenTo'](_0x1e95a6,'execute',(_0x44e360,_0x4c58e5)=>{_0x1941ac['execute']('forward'===_0x4c58e5?'showNextChange':'showPreviousChange');}),_0x1e95a6;}),_0x195b22['show'](),_0x49c510['on']('change:isReady',(_0x19dbcb,_0x218fcc,_0x56ed52)=>{_0x56ed52?_0x195b22['hide']():_0x195b22['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3a30d9,_0x3bc0a5){super(_0x3a30d9,_0x3bc0a5);const _0x38de72=this['bindTemplate'];this['set']({'label':y(_0x3a30d9,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3a30d9,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x38de72['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 _0x3048df=this['fieldView']['element'];this['_tooltipString']=_0x3048df['scrollWidth']>_0x3048df['clientWidth']&&_0x3048df['value']||'';}}class ti extends _0x1cf29a{constructor(_0x556154,_0x2ff6e2,_0x42df3d){super(_0x556154);const _0x28f54f=new _0x13ce90();_0x28f54f['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 _0x35e581=['ck','ck-revision-history-sidebar__revision-author'];_0x42df3d&&_0x35e581['push']('ck-revision-history-sidebar__revision-author_creator');const _0x314f77=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x556154,_0x42df3d?'Revision\x20creator':'Revision\x20author')},'children':[_0x28f54f,_0x2ff6e2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x35e581},'children':_0x314f77});}}function ni(_0x173c3c,_0x312ff3){const _0x4d9bee=_0x173c3c['bindTemplate'],_0xffaf4b=_0x173c3c['locale'],_0x3ae5fb=_0x3b7dff(_0xffaf4b);_0x3ae5fb['panelPosition']='sw';const _0x2c595a=function(_0x75976f,_0x26bdd7){const _0x43d108=function(_0x2bafca,_0x39b1c9){const _0x10424c=_0x2bafca['locale'],_0xa2ab50={'Compare\x20against\x20selected':y(_0x10424c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x10424c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x10424c,'Restore\x20this\x20revision')};return _0x39b1c9['map'](_0x43a1db=>{const _0x3fb72d=_0xa2ab50[_0x43a1db['name']];return _0x3fb72d&&_0x3fb72d!==_0x43a1db['name']&&(_0x43a1db['name']=_0x3fb72d),_0x43a1db;});}(_0x75976f,_0x26bdd7),_0xc1f1aa=new _0xc1feb7();for(const _0x4732f7 of _0x43d108){const _0x5856c1={'type':'button','model':new to({'label':_0x4732f7['name'],'class':_0x4732f7['class'],'withText':!0x0,'role':'menuitem','_action':_0x4732f7['action']})};_0x5856c1['model']['bind']('isEnabled')['to'](_0x75976f,'isActionsDropdownOpen',_0x14b81a=>'function'!=typeof _0x4732f7['isEnabled']||(!_0x14b81a||_0x4732f7['isEnabled'](_0x75976f))),_0xc1f1aa['add'](_0x5856c1);}return _0xc1f1aa;}(_0x173c3c,_0x312ff3);return _0x173c3c['bind']('isActionsDropdownOpen')['to'](_0x3ae5fb,'isOpen'),_0x3ae5fb['buttonView']['set']({'label':y(_0xffaf4b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x8a6596['threeVerticalDots']}),_0x3ae5fb['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4d9bee['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4d9bee['to'](_0x48a034=>_0x48a034['stopPropagation']())}}),_0x3ae5fb['on']('execute',_0x3155c7=>{_0x173c3c['isReady']&&'function'==typeof _0x3155c7['source']['_action']&&_0x3155c7['source']['_action'](_0x173c3c);}),_0x1c9432(_0x3ae5fb,_0x2c595a,{'role':'menu'}),_0x3ae5fb['listenTo'](_0x173c3c,'change:isActionsDropdownOpen',(_0x5398a3,_0x59f26d,_0xaf4fcc)=>{if(_0xaf4fcc)for(const _0x2e9669 of _0x3ae5fb['listView']['items']){const _0x272e57=_0x2e9669['children']['first'],_0x43bb7c=_0x312ff3['find'](_0x2758dd=>_0x2758dd['action']===_0x272e57['_action'])['isVisible'];_0x2e9669['isVisible']=void 0x0===_0x43bb7c||_0x43bb7c(_0x173c3c);}}),_0x3ae5fb;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x3290ee(_0x1cf29a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xacc3a3,_0x19c5e3,_0x2d9f31,_0x5bdc14){super(_0xacc3a3);const _0x1cf26d=this['bindTemplate'],_0x214fba=function(_0x554017,_0x1e44f7){const _0x2cf30d=Array['from'](_0x1e44f7['authors'])['filter'](_0x1c1cfc=>_0x1c1cfc!=_0x1e44f7['creator']);return _0x1e44f7['creator']&&_0x2cf30d['unshift'](_0x1e44f7['creator']),_0x2cf30d['map'](_0x7de9cb=>new ti(_0x554017,_0x7de9cb,_0x7de9cb==_0x1e44f7['creator']));}(_0xacc3a3,_0x19c5e3);this['id']=_0x19c5e3['id'],this['_revision']=_0x19c5e3,this['_requireRevisionName']=_0x5bdc14,this['bind']('name','createdAt')['to'](_0x19c5e3),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xa28740=>{return _0x593bc4=_0xacc3a3['uiLanguage'],(_0x30560e=_0xa28740)['toLocaleDateString'](_0x593bc4,{'month':'long','day':'numeric'})+',\x20'+_0x30560e['toLocaleTimeString'](_0x593bc4,{'hour':'numeric','minute':'numeric'});var _0x593bc4,_0x30560e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0xacc3a3,_0x53cc25),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4ae725=>_0x4ae725||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5b7a55,_0x2f79c4)=>_0x5b7a55&&_0x2f79c4),this['revisionActionsView']=_0x2d9f31&&_0x2d9f31['length']?ni(this,_0x2d9f31):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1cf26d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1cf26d['if']('isEnabled','ck-disabled',_0x38e274=>!_0x38e274),_0x1cf26d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1cf26d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1cf26d['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':_0x1cf26d['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':_0x214fba}]},this['revisionActionsView']],'on':{'click':_0x1cf26d['to'](_0x5e4b57=>{_0x5e4b57['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x520789=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x520789,'change',()=>{this['_requireRevisionName']&&!_0x520789['value']||this['fire']('setName',{'id':this['id'],'name':_0x520789['value']}),_0x520789['value']||(_0x520789['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(_0x51bb47,_0x11e1e5){const _0x35447a=_0x13320c['fromJSDate'](_0x51bb47)['setLocale'](_0x11e1e5),_0x58a848=_0x13320c['local'](),_0x2d7c61=_0x58a848['minus']({'days':0x1})['startOf']('day');let _0x3732a7,_0x14a040;return _0x35447a['hasSame'](_0x58a848,'day')?(_0x3732a7=_0x35447a['startOf']('day')['toJSDate'](),_0x14a040=_0x35447a['toRelativeCalendar']()):_0x35447a['hasSame'](_0x2d7c61,'day')?(_0x3732a7=_0x2d7c61['toJSDate'](),_0x14a040=_0x35447a['toRelativeCalendar']()):_0x35447a['hasSame'](_0x58a848,'week')?(_0x3732a7=_0x35447a['startOf']('week')['toJSDate'](),_0x14a040=_0x35447a['weekdayLong']||''):_0x35447a['hasSame'](_0x58a848,'year')?(_0x3732a7=_0x35447a['startOf']('month')['toJSDate'](),_0x14a040=_0x35447a['monthLong']||''):(_0x3732a7=_0x35447a['startOf']('year')['toJSDate'](),_0x14a040=String(_0x35447a['year'])),{'startDate':_0x3732a7,'localizedPeriodName':_0x14a040};}class mi extends _0x1cf29a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3ac0e6,_0x466f09,_0x283d00,_0x2ad626){super(_0x3ac0e6);const _0xfb52c7=di(_0x466f09,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x466f09,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x283d00,this['_requireRevisionName']=_0x2ad626,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':_0xfb52c7}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x6cb919){const _0x9fb564=new ai(this['locale'],_0x6cb919,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x9fb564);}['removeRevision'](_0x301ec6){const _0x458a4d=this['revisionViews']['find'](_0x32334b=>_0x32334b['id']===_0x301ec6['id']);this['revisionViews']['remove'](_0x458a4d);}}class as extends _0x1cf29a{constructor(_0x21a6a1){super(_0x21a6a1);const _0x2094e4=new _0x13ce90();_0x2094e4['content']=_0x8a6596['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2094e4,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x21a6a1,'Revision\x20history')]}]});}}class ci extends _0x1cf29a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5816b8,_0x265044,_0x18b431,_0x12c25d){super(_0x5816b8);const _0x2b2d2e=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x265044,this['_revisionActions']=_0x18b431,this['_requireRevisionName']=_0x12c25d,this['on']('select',(_0x197717,_0x5741ae)=>{this['fire']('revisionSelected',_0x5741ae);}),this['on']('setName',(_0xd25699,_0x119dce)=>{this['fire']('revisionSetName',_0x119dce);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5816b8),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x2b2d2e['if']('isEnabled','ck-disabled',_0x38fbd5=>!_0x38fbd5)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2fe6ff of this['_revisions'])this['_addRevision'](_0x2fe6ff);this['_revisions']['on']('add',(_0x49d95c,_0x2aa366)=>{this['_addRevision'](_0x2aa366);}),this['_revisions']['on']('remove',(_0x5adcef,_0x21c591)=>{this['_removeRevision'](_0x21c591);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1b3787=>_0x1b3787['revisionViews']['map'](_0x552a69=>_0x552a69))['flat']();}['selectRevision'](_0x106640){for(const _0x4fb5ff of this['revisionViews'])_0x106640&&_0x106640['id']===_0x4fb5ff['id']?_0x4fb5ff['select']():_0x4fb5ff['deselect']();}['highlightRevisions'](_0x3d5977){for(const _0x4dbaba of this['revisionViews'])_0x3d5977['some'](({id:_0x23e25f})=>_0x23e25f===_0x4dbaba['id'])?_0x4dbaba['highlight']():_0x4dbaba['unhighlight']();}['_addRevision'](_0x3b8c9e){const _0x3c3f3b=di(_0x3b8c9e['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5625fc=this['timePeriodViews']['get'](0x0);_0x5625fc&&_0x5625fc['startDate']['getTime']()===_0x3c3f3b['getTime']()||(_0x5625fc=new mi(this['locale'],_0x3c3f3b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5625fc)),_0x5625fc['addRevision'](_0x3b8c9e);}['_removeRevision'](_0x23dd06){const _0xece99d=di(_0x23dd06['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xece99d)['removeRevision'](_0x23dd06);}['_getTimePeriodViewByStartDate'](_0x1be66f){return this['timePeriodViews']['find'](_0x6c97af=>_0x6c97af['startDate']['getTime']()===_0x1be66f['getTime']());}}class w extends _0x18f8e8{['_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(_0x2d8018){super(_0x2d8018),this['_revisionViewer']=_0x2d8018['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3467d2=this['_revisionsRepository']['_revisions'],_0x2450a3=this['_createRevisionActions'](),_0x48071f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3467d2,_0x2450a3,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',(_0x4cd892,_0x129541)=>{_0x129541['revisionViews']['on']('add',(_0x30bbdb,_0x3e0ef2)=>{_0x3e0ef2['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)),_0x48071f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xdffd5f=this['_revisionsRepository']['getRevision'](0x0);if(_0xdffd5f){const _0x2b56eb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xdffd5f['id']);this['_revisionViewer']['compare'](_0xdffd5f,_0x2b56eb);}}['_handleRevisionSelected'](_0x163cd4,_0x3faeb3){const _0x300231=this['_revisionsRepository']['getRevision'](_0x3faeb3['id']),_0x36f415=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x300231['id']);this['_revisionViewer']['compare'](_0x300231,_0x36f415);}['_handleRevisionSetName'](_0x1cc27d,_0x298822){this['_revisionsRepository']['getRevision'](_0x298822['id'])['setName'](_0x298822['name']);}['_handleDiffChange'](_0x1cb3e3,_0x187ab6,_0x40d864){const _0xcc903c=this['_revisionsRepository']['getRevisionsInDiff'](_0x40d864);_0xcc903c['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xcc903c),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xcc903c[0x0]));}['_createRevisionActions'](){const _0x51bc8b=this['editor'],_0xfbc257=w['availableRevisionActions'],_0x1c7d6a=_0x51bc8b['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1c7d6a['length'])return _0x1c7d6a['map'](_0x48134e=>{const _0x15b56e='string'==typeof _0x48134e?Object['assign']({},_0xfbc257[_0x48134e]):_0x48134e;return _0x15b56e['action']=_0x15b56e['action']['bind'](this,_0x51bc8b),_0x15b56e['isVisible']&&(_0x15b56e['isVisible']=_0x15b56e['isVisible']['bind'](this,_0x51bc8b)),_0x15b56e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3cf526},_0x2d1eb1)=>{const _0x5bfb78=_0x3cf526['get'](d),_0x5f46c9=_0x5bfb78['repository'];let _0x105d19=_0x5bfb78['diff']['newRevisionId'],_0x3ae707=_0x2d1eb1['id'];_0x5f46c9['getIndex'](_0x105d19)>_0x5f46c9['getIndex'](_0x3ae707)&&([_0x105d19,_0x3ae707]=[_0x3ae707,_0x105d19]),_0x5bfb78['compare'](_0x105d19,_0x3ae707);},'isVisible':({plugins:_0x4f9d63},_0x4b8215)=>{const _0x23c335=_0x4f9d63['get'](d);return!(_0x23c335['repository']['getRevisionsInDiff'](_0x23c335['diff'])['length']>0x2)&&!_0x4b8215['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x304392,{id:_0x4ce193})=>{_0x304392['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4ce193);},'isVisible':({plugins:_0x4e1e18},_0x524ad0)=>!!_0x4e1e18['get'](d)['repository']['getLaterVisibleRevision'](_0x524ad0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x43665d},{id:_0x3a0983,revisionNameView:_0x883040})=>{const _0x440a4c=_0x43665d['get'](d),_0x3d12ce=_0x440a4c['repository']['getEarlierVisibleRevision'](_0x3a0983);_0x440a4c['compare'](_0x3a0983,_0x3d12ce),_0x883040['focus'](),_0x883040['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4a50e9,_0x12c458){super(_0x4a50e9),this['_view']=_0x12c458,this['_toolbarConfig']=ct(_0x4a50e9['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x497e09){const _0x4ddc6f=this['editor'],_0x2f56fe=this['view'],_0x2087f3=_0x4ddc6f['editing']['view'],_0x36de9c=_0x2f56fe['editable'],_0x4a91a9=_0x2087f3['document']['getRoot']();_0x36de9c['name']=_0x4a91a9['rootName'],_0x2f56fe['render']();const _0x470b60=_0x36de9c['element'];this['setEditableElement'](_0x36de9c['name'],_0x470b60),_0x2f56fe['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2087f3['attachDomRoot'](_0x470b60),this['_elementReplacer']['replace'](_0x497e09,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x495119=this['view'],_0xf25b52=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xf25b52['detachDomRoot'](_0x495119['editable']['name']),_0x495119['destroy']();}['_initToolbar'](){const _0x956f65=this['view'];_0x956f65['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x956f65['stickyPanel']['limiterElement']=_0x956f65['element'],_0x956f65['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x387506})=>_0x387506),_0x956f65['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x956f65['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x38cdf7,_0x1a653e,_0x2dbe6e={}){super(_0x38cdf7),this['stickyPanel']=new lt(_0x38cdf7),this['toolbar']=new pt(_0x38cdf7,{'shouldGroupWhenFull':_0x2dbe6e['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x38cdf7,_0x1a653e);}['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(_0x3082fe,_0x6acee){super(_0x6acee),this['sourceElement']=_0x3082fe,this['model']['document']['createRoot']();const _0x5788ff=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x5788ff);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4e4961,_0x37d0b9){const _0x37704f=new this(_0x4e4961,_0x37d0b9);return await _0x37704f['initPlugins'](),await _0x37704f['ui']['init'](_0x4e4961),await _0x37704f['data']['init'](_0x37704f['config']['get']('initialData')||''),_0x37704f['fire']('ready'),_0x37704f;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x272b53{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xad941e){super(_0xad941e),this['result']='end';}}class H extends _0x272b53{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x290126){if(super(_0x290126),!this['editor']['config']['get']('revisionHistory'))throw new _0xb58530('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2db9e9=>this['_showRevisionViewer']({..._0x2db9e9,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5d83ed=>this['_closeRevisionViewer'](_0x5d83ed)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x483eae=>this['_restoreRevision'](_0x483eae)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1a786e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1a786e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3b9c94){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3b9c94);}['getRevision'](_0x57f71d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x57f71d);}['getRevisions'](_0x45d4f3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x45d4f3||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x11950a=this['editor'],_0x327a6b=_0x309be5(_0x11950a,p),_0xdf7af3=_0x11950a['plugins']['get']('RevisionTracker'),_0xc3d3dd=_0x11950a['plugins']['get']('Users')['users'];return _0x327a6b['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x327a6b['lazyRoots'],(_0x327a6b['plugins']['push'](k,d,R,class extends _0x272b53{static get['requires'](){return[d,'Users'];}['init'](){const _0x4de691=this['editor']['plugins']['get']('Users');for(const _0x5c71ff of _0xc3d3dd)_0x5c71ff['isAnonymous']||_0x4de691['getUser'](_0x5c71ff['id'])||_0x4de691['addUser'](_0x5c71ff);const _0x31d89f=_0xdf7af3['repository']['getRevisions']();let _0x19929d=null;const _0x2f8d5d=this['editor']['plugins']['get']('RevisionViewer');_0x2f8d5d['adapter']=_0xdf7af3['adapter'],_0x2f8d5d['bind']('isEnabled')['to'](_0xdf7af3),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x11950a,'isReadOnly',_0x470ca6=>!_0x470ca6);for(const _0x453d13 of _0x31d89f){const _0x49bc45=null===_0x453d13['creator'];if(_0x49bc45&&_0x453d13['toVersion']===_0x453d13['fromVersion'])continue;const _0x2b6fa8=_0x453d13['toJSON']();_0x2f8d5d['addRevisionData'](_0x2b6fa8,(_0x2f028c,_0x46d22a,_0x524099)=>{if(_0x49bc45){if(_0x19929d)_0x19929d['_update'](_0x2f028c,_0x46d22a);else{if(!_0x46d22a){const _0x2751bf=_0x524099['toJSON']();_0x2751bf['id']=_0x23f015(),_0xdf7af3['saveRevision'](_0x2751bf,_0x524099['toVersion'])['then'](_0xd732a4=>{_0x19929d=_0xd732a4;});}}}else _0x453d13['_update'](_0x2f028c,_0x46d22a);});}}},w),_0x327a6b);}['_enhanceShowRevisionViewerCallback'](){const _0xb4150e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3b5cad=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x412d94=this['editor']['plugins']['get']('Autosave');await _0x412d94['save']();}else await _0x3b5cad['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x19907b=this['editor']['plugins']['get']('Dialog');_0x19907b['isOpen']&&_0x19907b['hide']();}const _0x3f3a38=this['_getRevisionViewerEditorConfig']();return _0xb4150e(_0x3f3a38)['then'](_0x42f09d=>{return(this['_viewerEditor']=_0x42f09d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x42f09d;})['catch'](_0xa93e05=>(console['error'](_0xa93e05),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x37b37d=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'](),_0x37b37d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x24bdef=this['editor']['plugins']['get']('Annotations');_0x24bdef['refreshVisibility'](),_0x24bdef['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1e1b3e){const _0x28093e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x481fdb=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x21fa9b=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x21fa9b,_0x1e1b3e)['then'](_0x19c66e=>(_0x481fdb['style']['display']='block',_0x28093e['style']['display']='none',_0x19c66e));}['_closeRevisionViewer'](_0xd93b6){const _0x12f544=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x12f544['style']['display']='',_0xd93b6['destroy']();}async['_restoreRevision'](_0x40d220){const _0x72e46=this['editor'],_0x43e3b9=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xbf1aac=_0x72e46['plugins']['get']('RevisionTracker'),_0x5755bb=_0x43e3b9['repository']['getRevision'](_0x40d220);let _0x1112ea,_0x28cc88,_0x4b66cd;try{_0x1112ea=await _0x43e3b9['getRevisionData'](_0x5755bb),_0x28cc88=await _0x43e3b9['getRevisionRootsAttributes'](_0x5755bb);}catch(_0xad8401){return void console['error'](_0xad8401);}_0x72e46['model']['change'](_0x20dd42=>{for(const _0x135bc3 of Array['from'](_0x72e46['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x20dd42['removeMarker'](_0x135bc3);}),_0x43e3b9['isReady']=!0x1,_0x72e46['model']['enqueueChange'](_0x10730b=>{_0x10730b['setSelection'](null),_0x10730b['removeSelectionAttribute'](_0x72e46['model']['document']['selection']['getAttributeKeys']());const _0x2950e4=Object['keys'](_0x1112ea);for(const _0x1f2f4b of _0x72e46['model']['document']['roots'])'$graveyard'!=_0x1f2f4b['rootName']&&_0x1f2f4b['isAttached']()&&!_0x2950e4['includes'](_0x1f2f4b['rootName'])&&_0x10730b['detachRoot'](_0x1f2f4b);for(const _0x3de1df of _0x2950e4){let _0x590491=_0x72e46['model']['document']['getRoot'](_0x3de1df);_0x590491&&_0x590491['isAttached']()||(_0x590491=_0x10730b['addRoot'](_0x3de1df));const _0x4135a9=_0x28cc88[_0x3de1df],_0x1cf1f2=Object['keys'](_0x4135a9),_0x12a419=_0x1112ea[_0x3de1df];for(const _0x28030d of _0x590491['getAttributeKeys']())_0x1cf1f2['includes'](_0x28030d)||_0x10730b['removeAttribute'](_0x28030d,_0x590491);for(const _0x53a10a of _0x1cf1f2)_0x10730b['setAttribute'](_0x53a10a,_0x28cc88[_0x3de1df][_0x53a10a],_0x590491);_0x10730b['remove'](_0x10730b['createRangeIn'](_0x590491)),_0x10730b['insert'](_0x72e46['data']['parse'](_0x12a419,_0x590491),_0x590491,0x0);}});const _0xba34e4=y(_0x72e46['locale'],'Restored');if(_0x5755bb['name'])_0x4b66cd=-0x1==_0x5755bb['name']['indexOf'](_0xba34e4)?_0xba34e4+':\x20'+_0x5755bb['name']:_0x5755bb['name'];else _0x4b66cd=_0xba34e4+':\x20'+(_0x5755bb['createdAt']['toLocaleDateString'](_0x72e46['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5755bb['createdAt']['toLocaleTimeString'](_0x72e46['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xbf1aac['saveRevision']({'name':_0x4b66cd}),_0x43e3b9['isReady']=!0x0,_0x72e46['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(_0x896bc1){super(_0x896bc1),this['_revisionViewer']=_0x896bc1['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xa9da22=this['_revisionsRepository']['_revisions'],_0x169ae2=this['_createRevisionActions'](),_0x555329=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xa9da22,_0x169ae2,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',(_0x4a4994,_0x1c389d)=>{_0x1c389d['revisionViews']['on']('add',(_0x11be45,_0x175d16)=>{_0x175d16['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)),_0x555329['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xdbc53e=this['_revisionsRepository']['getRevision'](0x0);if(_0xdbc53e){const _0x1e27fd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xdbc53e['id']);this['_revisionViewer']['compare'](_0xdbc53e,_0x1e27fd);}}['_handleRevisionSelected'](_0x165b75,_0x2c5fe5){const _0x1c29fc=this['_revisionsRepository']['getRevision'](_0x2c5fe5['id']),_0x995645=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1c29fc['id']);this['_revisionViewer']['compare'](_0x1c29fc,_0x995645);}['_handleRevisionSetName'](_0x49beda,_0x33cf52){this['_revisionsRepository']['getRevision'](_0x33cf52['id'])['setName'](_0x33cf52['name']);}['_handleDiffChange'](_0x46338e,_0x370c5f,_0x1d0c29){const _0x469629=this['_revisionsRepository']['getRevisionsInDiff'](_0x1d0c29);_0x469629['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x469629),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x469629[0x0]));}['_createRevisionActions'](){const _0x5d88f6=this['editor'],_0x587c49=w['availableRevisionActions'],_0x4eaeb5=_0x5d88f6['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4eaeb5['length'])return _0x4eaeb5['map'](_0x19e13b=>{const _0xe1e673='string'==typeof _0x19e13b?Object['assign']({},_0x587c49[_0x19e13b]):_0x19e13b;return _0xe1e673['action']=_0xe1e673['action']['bind'](this,_0x5d88f6),_0xe1e673['isVisible']&&(_0xe1e673['isVisible']=_0xe1e673['isVisible']['bind'](this,_0x5d88f6)),_0xe1e673;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x363844},_0x3fcb6d)=>{const _0x363394=_0x363844['get'](d),_0x55ff85=_0x363394['repository'];let _0x3e0406=_0x363394['diff']['newRevisionId'],_0x2b725a=_0x3fcb6d['id'];_0x55ff85['getIndex'](_0x3e0406)>_0x55ff85['getIndex'](_0x2b725a)&&([_0x3e0406,_0x2b725a]=[_0x2b725a,_0x3e0406]),_0x363394['compare'](_0x3e0406,_0x2b725a);},'isVisible':({plugins:_0x490af3},_0x1b5f89)=>{const _0x209559=_0x490af3['get'](d);return!(_0x209559['repository']['getRevisionsInDiff'](_0x209559['diff'])['length']>0x2)&&!_0x1b5f89['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x59a97a,{id:_0x1debb5})=>{_0x59a97a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1debb5);},'isVisible':({plugins:_0x4ce9ad},_0x5c7149)=>!!_0x4ce9ad['get'](d)['repository']['getLaterVisibleRevision'](_0x5c7149['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x46d91f},{id:_0x3b5542,revisionNameView:_0x8a67d2})=>{const _0x39ec05=_0x46d91f['get'](d),_0x3443a=_0x39ec05['repository']['getEarlierVisibleRevision'](_0x3b5542);_0x39ec05['compare'](_0x3b5542,_0x3443a),_0x8a67d2['focus'](),_0x8a67d2['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5a4ab5,_0x29b0e0){super(_0x5a4ab5),this['_view']=_0x29b0e0,this['_toolbarConfig']=ct(_0x5a4ab5['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x48c7f0){const _0x3a60f0=this['editor'],_0x5be23a=this['view'],_0x283b65=_0x3a60f0['editing']['view'],_0x34c037=_0x5be23a['editable'],_0x49bf79=_0x283b65['document']['getRoot']();_0x34c037['name']=_0x49bf79['rootName'],_0x5be23a['render']();const _0x34b149=_0x34c037['element'];this['setEditableElement'](_0x34c037['name'],_0x34b149),_0x5be23a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x283b65['attachDomRoot'](_0x34b149),this['_elementReplacer']['replace'](_0x48c7f0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x352efb=this['view'],_0x17b2fe=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x17b2fe['detachDomRoot'](_0x352efb['editable']['name']),_0x352efb['destroy']();}['_initToolbar'](){const _0x13766d=this['view'];_0x13766d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x13766d['stickyPanel']['limiterElement']=_0x13766d['element'],_0x13766d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x533a56})=>_0x533a56),_0x13766d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x13766d['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x13176e,_0x3b2327,_0x13e6ee={}){super(_0x13176e),this['stickyPanel']=new lt(_0x13176e),this['toolbar']=new pt(_0x13176e,{'shouldGroupWhenFull':_0x13e6ee['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x13176e,_0x3b2327);}['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(_0x3015f5,_0x2273f5){super(_0x2273f5),this['sourceElement']=_0x3015f5,this['model']['document']['createRoot']();const _0xbd88f3=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xbd88f3);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4599ae,_0x5d94d1){const _0x50efc8=new this(_0x4599ae,_0x5d94d1);return await _0x50efc8['initPlugins'](),await _0x50efc8['ui']['init'](_0x4599ae),await _0x50efc8['data']['init'](_0x50efc8['config']['get']('initialData')||''),_0x50efc8['fire']('ready'),_0x50efc8;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x18f8e8{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3e3760){super(_0x3e3760),this['result']='end';}}class H extends _0x18f8e8{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x6f6699){if(super(_0x6f6699),!this['editor']['config']['get']('revisionHistory'))throw new _0x290d47('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x12ce24=>this['_showRevisionViewer']({..._0x12ce24,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2aaf05=>this['_closeRevisionViewer'](_0x2aaf05)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x587abc=>this['_restoreRevision'](_0x587abc)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x406433){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x406433;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x11d65e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x11d65e);}['getRevision'](_0xa252da){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xa252da);}['getRevisions'](_0x2c603e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2c603e||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1605af=this['editor'],_0x577797=_0x54f7bf(_0x1605af,p),_0x4c02e6=_0x1605af['plugins']['get']('RevisionTracker'),_0x4f0145=_0x1605af['plugins']['get']('Users')['users'];return _0x577797['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x577797['lazyRoots'],(_0x577797['plugins']['push'](k,d,R,class extends _0x18f8e8{static get['requires'](){return[d,'Users'];}['init'](){const _0x102849=this['editor']['plugins']['get']('Users');for(const _0x11e250 of _0x4f0145)_0x11e250['isAnonymous']||_0x102849['getUser'](_0x11e250['id'])||_0x102849['addUser'](_0x11e250);const _0x41d01e=_0x4c02e6['repository']['getRevisions']();let _0x5c761c=null;const _0x1c8dd4=this['editor']['plugins']['get']('RevisionViewer');_0x1c8dd4['adapter']=_0x4c02e6['adapter'],_0x1c8dd4['bind']('isEnabled')['to'](_0x4c02e6),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1605af,'isReadOnly',_0x59ffce=>!_0x59ffce);for(const _0x427c21 of _0x41d01e){const _0x5c1fe4=null===_0x427c21['creator'];if(_0x5c1fe4&&_0x427c21['toVersion']===_0x427c21['fromVersion'])continue;const _0x579d52=_0x427c21['toJSON']();_0x1c8dd4['addRevisionData'](_0x579d52,(_0x152b67,_0x5c039e,_0x3b5a22)=>{if(_0x5c1fe4){if(_0x5c761c)_0x5c761c['_update'](_0x152b67,_0x5c039e);else{if(!_0x5c039e){const _0x51a88b=_0x3b5a22['toJSON']();_0x51a88b['id']=_0x87e91e(),_0x4c02e6['saveRevision'](_0x51a88b,_0x3b5a22['toVersion'])['then'](_0x48a529=>{_0x5c761c=_0x48a529;});}}}else _0x427c21['_update'](_0x152b67,_0x5c039e);});}}},w),_0x577797);}['_enhanceShowRevisionViewerCallback'](){const _0x2babf1=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5d8498=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x43ae62=this['editor']['plugins']['get']('Autosave');await _0x43ae62['save']();}else await _0x5d8498['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x65df94=this['editor']['plugins']['get']('Dialog');_0x65df94['isOpen']&&_0x65df94['hide']();}const _0x202f66=this['_getRevisionViewerEditorConfig']();return _0x2babf1(_0x202f66)['then'](_0x3a864a=>{return(this['_viewerEditor']=_0x3a864a,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3a864a;})['catch'](_0x2683cd=>(console['error'](_0x2683cd),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xd4d8d6=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'](),_0xd4d8d6(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5ab230=this['editor']['plugins']['get']('Annotations');_0x5ab230['refreshVisibility'](),_0x5ab230['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4ba314){const _0x2c23c6=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3f1abf=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4cd658=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4cd658,_0x4ba314)['then'](_0x50b7fe=>(_0x3f1abf['style']['display']='block',_0x2c23c6['style']['display']='none',_0x50b7fe));}['_closeRevisionViewer'](_0x209d8c){const _0x4520df=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4520df['style']['display']='',_0x209d8c['destroy']();}async['_restoreRevision'](_0x3b69ee){const _0x5d3346=this['editor'],_0x2552c4=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xf54fa1=_0x5d3346['plugins']['get']('RevisionTracker'),_0x592b65=_0x2552c4['repository']['getRevision'](_0x3b69ee);let _0x556e09,_0x298697,_0x38784c;try{_0x556e09=await _0x2552c4['getRevisionData'](_0x592b65),_0x298697=await _0x2552c4['getRevisionRootsAttributes'](_0x592b65);}catch(_0x2d295f){return void console['error'](_0x2d295f);}_0x5d3346['model']['change'](_0xf0afb9=>{for(const _0x2c375f of Array['from'](_0x5d3346['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf0afb9['removeMarker'](_0x2c375f);}),_0x2552c4['isReady']=!0x1,_0x5d3346['model']['enqueueChange'](_0x5291fa=>{_0x5291fa['setSelection'](null),_0x5291fa['removeSelectionAttribute'](_0x5d3346['model']['document']['selection']['getAttributeKeys']());const _0x2ea5ea=Object['keys'](_0x556e09);for(const _0x59aac7 of _0x5d3346['model']['document']['roots'])'$graveyard'!=_0x59aac7['rootName']&&_0x59aac7['isAttached']()&&!_0x2ea5ea['includes'](_0x59aac7['rootName'])&&_0x5291fa['detachRoot'](_0x59aac7);for(const _0xb5d140 of _0x2ea5ea){let _0x2447fd=_0x5d3346['model']['document']['getRoot'](_0xb5d140);_0x2447fd&&_0x2447fd['isAttached']()||(_0x2447fd=_0x5291fa['addRoot'](_0xb5d140));const _0x2697b7=_0x298697[_0xb5d140],_0x55ac29=Object['keys'](_0x2697b7),_0x2dea44=_0x556e09[_0xb5d140];for(const _0x2317a1 of _0x2447fd['getAttributeKeys']())_0x55ac29['includes'](_0x2317a1)||_0x5291fa['removeAttribute'](_0x2317a1,_0x2447fd);for(const _0x4a9cf3 of _0x55ac29)_0x5291fa['setAttribute'](_0x4a9cf3,_0x298697[_0xb5d140][_0x4a9cf3],_0x2447fd);_0x5291fa['remove'](_0x5291fa['createRangeIn'](_0x2447fd)),_0x5291fa['insert'](_0x5d3346['data']['parse'](_0x2dea44,_0x2447fd),_0x2447fd,0x0);}});const _0x10e44a=y(_0x5d3346['locale'],'Restored');if(_0x592b65['name'])_0x38784c=-0x1==_0x592b65['name']['indexOf'](_0x10e44a)?_0x10e44a+':\x20'+_0x592b65['name']:_0x592b65['name'];else _0x38784c=_0x10e44a+':\x20'+(_0x592b65['createdAt']['toLocaleDateString'](_0x5d3346['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x592b65['createdAt']['toLocaleTimeString'](_0x5d3346['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xf54fa1['saveRevision']({'name':_0x38784c}),_0x2552c4['isReady']=!0x0,_0x5d3346['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};