@ckeditor/ckeditor5-revision-history 43.0.0-alpha.3 → 43.0.0-alpha.4

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 _0x2171d6,Context as _0x4a6227,PendingActions as _0x5bcdbc,icons as _0x51c227,Command as _0x261d4f,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1f2150,uid as _0x30d39c,Collection as _0x2a6897,logWarning as _0x5873c9,FocusTracker as _0x1c1ebc,KeystrokeHandler as _0x470f55,scrollViewportToShowTarget as _0x1da905,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x29cd6c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5d52d8,getMarkerDomElement as _0xba0d49,ConfirmMixin as _0x24dae1,sanitizeEditorConfig as _0x33d48f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1bca8d,ViewText as _0x46c763,ViewElement as _0x12c8d4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x10fe0c,ViewAttributeElement as _0x4865fd,ViewEmptyElement as _0x2fa390,ViewRawElement as _0xe89c57,ViewUIElement as _0x3e6b1a,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x440803,set as _0x2488a7,unset as _0x59e5f9,isEqual as _0x259ce6}from'lodash-es';import{View as _0x5723f0,injectCssTransitionDisabler as ts,submitHandler as _0xaaaf42,LabeledFieldView as at,createLabeledInputText as _0x5e7b8f,createDropdown as _0x3c0269,ListView as te,ListItemView as _0x1e1bcf,ButtonView as _0x3dcb83,MenuBarMenuView as _0x1035f1,MenuBarMenuListView as _0x3a79c9,MenuBarMenuListItemView as _0x2f789c,MenuBarMenuListItemButtonView as _0x321130,ContextualBalloon as _0x26c435,ToolbarSeparatorView as _0x1fcf08,IconView as _0x11cf65,addListToDropdown as _0x4e9db9,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 _0x1a7035}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x1f2150(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3dbb71){super(),this['id']=_0x3dbb71['id']||_0x30d39c(),this['creator']=_0x3dbb71['creator']||null,this['authors']=_0x3dbb71['authors']||[],this['diffData']=_0x3dbb71['diffData']||null,this['toVersion']=_0x3dbb71['toVersion']||0x0,this['fromVersion']=_0x3dbb71['fromVersion']||0x0,this['set']('name',_0x3dbb71['name']||''),this['set']('createdAt',_0x3dbb71['createdAt']||new Date()),this['set']('attributes',_0x3dbb71['attributes']||{});}['setName'](_0x1cdef9){this['_update']({'name':_0x1cdef9});}['setAttribute'](_0x371497,_0x5937c0){const _0x132b04=_0x440803(this['attributes']);_0x2488a7(_0x132b04,_0x371497,_0x5937c0),this['_update']({'attributes':_0x132b04});}['removeAttribute'](_0x40de26){const _0x5f0992=_0x440803(this['attributes']);_0x59e5f9(_0x5f0992,_0x40de26),this['_update']({'attributes':_0x5f0992});}['_update'](_0x4450f8,_0x31efbf=!0x1){let _0x4f6a85=!0x1;const _0x44fabc={'id':this['id']},_0x28cc9c=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1bc084 of _0x28cc9c){const _0xa49de5=_0x4450f8[_0x1bc084];void 0x0!==_0xa49de5&&_0xa49de5!==this[_0x1bc084]&&(this[_0x1bc084]=_0xa49de5,_0x44fabc[_0x1bc084]=_0xa49de5,_0x4f6a85=!0x0);}_0x4f6a85&&(_0x44fabc['authors']&&(_0x44fabc['authorsIds']=_0x44fabc['authors']['map'](_0x36f044=>_0x36f044['id']),delete _0x44fabc['authors']),this['fire']('_update',_0x44fabc,_0x31efbf));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x487fa8=>_0x487fa8['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2171d6{['_revisions'];static get['requires'](){return[_0x5d52d8];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x424a9b){super(_0x424a9b),this['_revisions']=new _0x2a6897();}['afterInit'](){!function(_0x318cda){function _0x2ca891(_0x3571b4,_0x16a293,_0x425bd3){const _0x10b2d3={};_0x10b2d3[_0x119341([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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],_0x10b2d3[_0x119341([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 _0x5b371e=new Uint8Array(0x10);for(let _0x5dca8d=0xf;_0x5dca8d>=0x0;--_0x5dca8d)_0x5b371e[_0x5dca8d]=_0x425bd3%0x100,_0x425bd3=parseInt(_0x425bd3/0x100);let _0x460c93=null,_0x262228=0x10;const _0x14a034=new Uint8Array(_0x16a293),_0x460f77=[],_0xb61888=[];_0x46cfe4();for(let _0x3742e0=0x0;_0x3742e0<_0x3571b4[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3742e0++)0x10===_0x262228&&(_0x460c93=_0x56ac92(_0x5b371e),_0x262228=0x0,_0x4987fa(_0x5b371e)),_0x3571b4[_0x3742e0]^=_0x460c93[_0x262228++];return _0x3571b4;function _0x22e0c3(_0x42cb7a){const _0x3f3d8a=[];for(let _0x3b4477=0x0;_0x3b4477<_0x42cb7a[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b4477+=0x4)_0x3f3d8a[_0x119341([0x70,0x75,0x73,0x68])](_0x42cb7a[_0x3b4477]<<0x18|_0x42cb7a[_0x3b4477+0x1]<<0x10|_0x42cb7a[_0x3b4477+0x2]<<0x8|_0x42cb7a[_0x3b4477+0x3]);return _0x3f3d8a;}function _0x4987fa(_0x375494){for(let _0x4dd3bb=0xf;_0x4dd3bb>=0x0;_0x4dd3bb--){if(0xff!==_0x375494[_0x4dd3bb]){_0x375494[_0x4dd3bb]++;break;}_0x375494[_0x4dd3bb]=0x0;}}function _0x56ac92(_0x409d11){const _0x32075a=_0x460f77[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x56c24d=[0x0,0x0,0x0,0x0];let t=_0x22e0c3(_0x409d11);for(let _0x27b624=0x0;_0x27b624<0x4;_0x27b624++)t[_0x27b624]^=_0x460f77[0x0][_0x27b624];for(let _0x57a701=0x1;_0x57a701<_0x32075a;_0x57a701++){for(let _0x2499d0=0x0;_0x2499d0<0x4;_0x2499d0++)_0x56c24d[_0x2499d0]=_0x10b2d3[_0x119341([0x54,0x31])][t[_0x2499d0]>>0x18&0xff]^_0x10b2d3[_0x119341([0x54,0x32])][t[(_0x2499d0+0x1)%0x4]>>0x10&0xff]^_0x10b2d3[_0x119341([0x54,0x33])][t[(_0x2499d0+0x2)%0x4]>>0x8&0xff]^_0x10b2d3[_0x119341([0x54,0x34])][0xff&t[(_0x2499d0+0x3)%0x4]]^_0x460f77[_0x57a701][_0x2499d0];t=_0x56c24d[_0x119341([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2654bd=new Uint8Array(0x10);let _0x54a838;for(let _0x33f9b8=0x0;_0x33f9b8<0x4;_0x33f9b8++)_0x54a838=_0x460f77[_0x32075a][_0x33f9b8],_0x2654bd[0x4*_0x33f9b8]=0xff&(_0x10b2d3[_0x119341([0x53])][t[_0x33f9b8]>>0x18&0xff]^_0x54a838>>0x18),_0x2654bd[0x4*_0x33f9b8+0x1]=0xff&(_0x10b2d3[_0x119341([0x53])][t[(_0x33f9b8+0x1)%0x4]>>0x10&0xff]^_0x54a838>>0x10),_0x2654bd[0x4*_0x33f9b8+0x2]=0xff&(_0x10b2d3[_0x119341([0x53])][t[(_0x33f9b8+0x2)%0x4]>>0x8&0xff]^_0x54a838>>0x8),_0x2654bd[0x4*_0x33f9b8+0x3]=0xff&(_0x10b2d3[_0x119341([0x53])][0xff&t[(_0x33f9b8+0x3)%0x4]]^_0x54a838);return _0x2654bd;}function _0x46cfe4(){const _0x472295=_0x10b2d3[_0x119341([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x14a034[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x338e27=0x0;_0x338e27<=_0x472295;_0x338e27++)_0x460f77[_0x119341([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xb61888[_0x119341([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xf8f172=0x4*(_0x472295+0x1),_0x241c24=_0x14a034[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x293d3d=_0x22e0c3(_0x14a034);let _0x121185;for(let _0x4f6fe3=0x0;_0x4f6fe3<_0x241c24;_0x4f6fe3++)_0x121185=_0x4f6fe3>>0x2,_0x460f77[_0x121185][_0x4f6fe3%0x4]=_0x293d3d[_0x4f6fe3],_0xb61888[_0x472295-_0x121185][_0x4f6fe3%0x4]=_0x293d3d[_0x4f6fe3];let _0x5ad531,_0x302a99=0x0,t=_0x241c24;for(;t<_0xf8f172;){_0x5ad531=_0x293d3d[_0x241c24-0x1],_0x293d3d[0x0]^=_0x10b2d3[_0x119341([0x53])][_0x5ad531>>0x10&0xff]<<0x18^_0x10b2d3[_0x119341([0x53])][_0x5ad531>>0x8&0xff]<<0x10^_0x10b2d3[_0x119341([0x53])][0xff&_0x5ad531]<<0x8^_0x10b2d3[_0x119341([0x53])][_0x5ad531>>0x18&0xff]^_0x10b2d3[_0x119341([0x72,0x63,0x6f,0x6e])][_0x302a99]<<0x18,_0x302a99+=0x1;for(let _0x4a5154=0x1;_0x4a5154<_0x241c24/0x2;_0x4a5154++)_0x293d3d[_0x4a5154]^=_0x293d3d[_0x4a5154-0x1];_0x5ad531=_0x293d3d[_0x241c24/0x2-0x1],_0x293d3d[_0x241c24/0x2]^=_0x10b2d3[_0x119341([0x53])][0xff&_0x5ad531]^_0x10b2d3[_0x119341([0x53])][_0x5ad531>>0x8&0xff]<<0x8^_0x10b2d3[_0x119341([0x53])][_0x5ad531>>0x10&0xff]<<0x10^_0x10b2d3[_0x119341([0x53])][_0x5ad531>>0x18&0xff]<<0x18;for(let _0x241f4e=_0x241c24/0x2+0x1;_0x241f4e<_0x241c24;_0x241f4e++)_0x293d3d[_0x241f4e]^=_0x293d3d[_0x241f4e-0x1];let _0x4e0891,_0x50ad30,_0x77c3d5=0x0;for(;_0x77c3d5<_0x241c24&&t<_0xf8f172;)_0x4e0891=t>>0x2,_0x50ad30=t%0x4,_0x460f77[_0x4e0891][_0x50ad30]=_0x293d3d[_0x77c3d5],_0xb61888[_0x472295-_0x4e0891][_0x50ad30]=_0x293d3d[_0x77c3d5++],t++;}for(let _0x406024=0x1;_0x406024<_0x472295;_0x406024++)for(let _0x34e293=0x0;_0x34e293<0x4;_0x34e293++)_0x5ad531=_0xb61888[_0x406024][_0x34e293],_0xb61888[_0x406024][_0x34e293]=_0x10b2d3[_0x119341([0x55,0x31])][_0x5ad531>>0x18&0xff]^_0x10b2d3[_0x119341([0x55,0x32])][_0x5ad531>>0x10&0xff]^_0x10b2d3[_0x119341([0x55,0x33])][_0x5ad531>>0x8&0xff]^_0x10b2d3[_0x119341([0x55,0x34])][0xff&_0x5ad531];}}function _0x119341(_0x39c4c9){return _0x39c4c9['map'](_0x5c17b2=>String['fromCharCode'](_0x5c17b2))['join']('');}(_0x190166=>{function _0x3699dc(){const _0x1653fe=[{[_0x119341([0x69,0x64])]:0x1,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x119341([0x69,0x64])]:0x2,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([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]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x119341([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x119341([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x119341([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x119341([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x119341([0x69,0x64])]:0x3,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x119341([0x69,0x64])]:0x4,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([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]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x119341([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x119341([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x119341([0x69,0x64])]:0x5,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([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]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}},{[_0x119341([0x69,0x64])]:0x6,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}},{[_0x119341([0x69,0x64])]:0x7,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}},{[_0x119341([0x69,0x64])]:0x8,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([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]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}},{[_0x119341([0x69,0x64])]:0x9,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x119341([0x69,0x64])]:0xa,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([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]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([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]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([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]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}},{[_0x119341([0x69,0x64])]:0xb,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x119341([0x69,0x64])]:0xc,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x119341([0x69,0x64])]:0xd,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}},{[_0x119341([0x69,0x64])]:0xe,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x119341([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([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])},{[_0x119341([0x69,0x64])]:0xf,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x119341([0x69,0x64])]:0x10,[_0x119341([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x119341([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x119341([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x119341([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x119341([0x66,0x67,0x69])]:[0xc]}}];return _0x2df65c(_0x1653fe),_0x1653fe;function _0xda76c7(_0x3aa20a){return 0x1<<_0x3aa20a-0x1;}function _0x2df65c(_0x3abc25){_0x3abc25[_0x119341([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24bfc9=>{_0x24bfc9[_0x119341([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xda76c7(_0x24bfc9[_0x119341([0x69,0x64])]),_0x4dfdb4(_0x24bfc9)&&_0x24bfc9[_0x119341([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2df65c(_0x24bfc9[_0x119341([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4dfdb4(_0x23355f){return _0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x23355f;}const _0x37885f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x36d808=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x15a1a6(_0x5d0551){const _0x5ef12c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3ab02f(_0x5d0551,new Uint8Array([..._0x37885f,..._0x5ef12c,..._0x36d808]));}function _0x3ab02f(_0x36c447,_0x398d77){const _0x2b7f5f=_0x22bf34(_0x36c447),_0x25a2ad=Array[_0x119341([0x66,0x72,0x6f,0x6d])](_0x263075(_0x2b7f5f)),_0x3badf6=_0x25a2ad[_0x119341([0x70,0x6f,0x70])](),_0x316376=_0x25a2ad[_0x119341([0x70,0x6f,0x70])]();return _0x1e9b08(_0x2ca891(_0x25a2ad,_0x398d77,_0x316376+0x100*_0x3badf6));}function _0x22bf34(_0x367cdd){const _0x23b956=atob(_0x367cdd),[_0x3cecc7,_0x2d5449]=_0x23b956[_0x119341([0x73,0x70,0x6c,0x69,0x74])](_0x119341([0x2d]));try{if(atob(_0x2d5449))return atob(_0x3cecc7);}catch(_0x142ea8){}return _0x23b956;}function _0x5ad375(_0x5d85a5){try{const _0x2140b2=_0x15a1a6(_0x5d85a5),_0x1b5d1b=JSON[_0x119341([0x70,0x61,0x72,0x73,0x65])](_0x2140b2),_0x593e04=parseInt(_0x1b5d1b[_0x119341([0x31])]),_0xa5d0c1=_0x1b5d1b[_0x119341([0x32])]||'',_0x446838=parseInt(_0x1b5d1b[_0x119341([0x33])]),_0x808711=parseInt(_0x1b5d1b[_0x119341([0x34])])||0x0,_0x21c457=parseInt(_0x1b5d1b[_0x119341([0x35])])||0x0;return{[_0x119341([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xa5d0c1,[_0x119341([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x808711,[_0x119341([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x593e04,[_0x119341([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x446838,[_0x119341([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x21c457};}catch(_0x56758f){return null;}}const _0x25dd8b=_0x3699dc(),_0x54eded={[_0x119341([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3bc3cc,[_0x119341([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])]:_0x32244b,[_0x119341([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])]:_0x54f4cd},_0x1d06f8=_0x190166[_0x119341([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x16f457=_0x119341([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x190166?_0x190166['context']:_0x190166['editor'],_0x5088a7=_0x119341([0x34,0x30,0x34,0x38,0x31,0x36,0x30,0x38]),_0x2a223f=_0x119341([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]),_0x505f27=_0x16f457['config']['get'](_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x18fc1f=_0x25dd8b[_0x119341([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dfdb4)[_0x119341([0x66,0x69,0x6e,0x64])](_0x4c3436=>_0x4c3436[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1d06f8);function _0x3de3bf(_0x4712cc,_0x1b8749){_0x54eded[_0x1b8749[_0x119341([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4712cc,_0x1b8749),_0x1b8749[_0x119341([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1b8749[_0x119341([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x119341([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x411538=>_0x4e2216(_0x16f457,_0x411538[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x119341([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7b595b=>_0x3de3bf(_0x4712cc,_0x7b595b));}function _0x3bc3cc(_0x133f5f,_0xf020f1){_0x23d8e8(_0x265e5b(_0x133f5f,_0xf020f1),_0xf020f1);}function _0x32244b(_0x57e99b,_0x4ae76c){function _0x425c67(_0x3c98a9,_0x11aff7){try{if(_0x4e2216(_0x16f457,_0x119341([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3c98a9){const _0x7e3ed1=_0x28be44(_0x16f457,_0x119341([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x119341([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x7e3ed1)/0x2>_0x3c98a9[_0x119341([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2429df(_0x11aff7[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x265e5b(_0x3c98a9,_0x11aff7);}catch(_0x2fa2ef){return _0x2429df(_0x11aff7[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x23d8e8(_0x425c67(_0x57e99b,_0x4ae76c),_0x4ae76c);}function _0x54f4cd(_0x586545,_0x2a8b92){const _0x5eda55=_0x36d808[0x0]*_0x37885f[0x1],_0xb54ffe=_0x36d808[0x0]*_0x37885f[0x2],_0x188d18=_0x36d808[0x2]*_0x37885f[0x2];_0x4e2216(_0x16f457,_0x119341([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x28be44(_0x16f457,_0x119341([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x119341([0x73,0x74,0x61,0x74,0x65])]==_0x119341([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x59a610()]=_0x188d18);function _0x4fb107(_0x5ebc46,_0x478c82){try{return _0x5d5b24()?_0x2429df(_0x478c82[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x56,0x61,0x6c,0x69,0x64])):_0x265e5b(_0x5ebc46,_0x478c82);}catch(_0xce7bb8){return _0x2429df(_0x478c82[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x531f60(_0x4757bf,_0x3dca12){const _0x2a6be9=0x7;if(_0x4757bf==_0x3dca12[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x160635();else{if(_0x4757bf==_0x3dca12[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c])){const _0xb7d88a=_0xdfc94e();_0xb7d88a&&_0x3594e1(_0xb7d88a,_0x3dca12[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x1b49ae=_0x15304c();window[_0x119341([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3594e1(_0x119341([0x74,0x69,0x6d,0x65]),_0x3dca12[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x1b49ae);const _0x27585e=_0x28be44(_0x16f457,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x119341([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x27585e[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2a6be9?_0x3594e1(_0x119341([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3dca12[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x27585e['on'](_0x119341([0x61,0x64,0x64]),()=>{_0x27585e[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2a6be9&&_0x3594e1(_0x119341([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3dca12[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xdfc94e(){if(!_0x4e2216(_0x16f457,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x23b9bb in window)if(Number['isNaN'](Number(_0x23b9bb))){if(window[_0x23b9bb]===_0x5eda55)return _0x119341([0x74,0x69,0x6d,0x65]);if(window[_0x23b9bb]===_0xb54ffe)return _0x119341([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5d5b24(){if(!_0x4e2216(_0x16f457,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x106d6d in window)if(Number['isNaN'](Number(_0x106d6d))&&window[_0x106d6d]===_0x188d18)return!0x0;return!0x1;}function _0x3594e1(_0x41156d,_0x207e1e){_0x160635(),_0x2429df(_0x207e1e+_0x119341([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x41156d),window[_0x59a610()]=_0x41156d===_0x119341([0x74,0x69,0x6d,0x65])?_0x5eda55:_0xb54ffe;}function _0x15304c(){let _0x30fe4a=_0x36d808[0x6]*_0x37885f[0x8]*_0x37885f[0x6];return _0x4e2216(_0x16f457,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x30fe4a/=0xa),_0x30fe4a;}function _0x160635(){const _0x5b5d43=_0x16f457;function _0x42aa23(){_0x4e2216(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x119341([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x119341([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x119341([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x119341([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x589576,_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x119341([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x589576,_0x5b5d43[_0x119341([0x6d,0x6f,0x64,0x65,0x6c])][_0x119341([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x589576,_0x5b5d43[_0x119341([0x6d,0x6f,0x64,0x65,0x6c])][_0x119341([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x589576,_0x5b5d43[_0x119341([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x119341([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4e2216(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x119341([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x119341([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x119341([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x119341([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x589576,_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x119341([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x589576);}_0x5b5d43[_0x119341([0x73,0x74,0x61,0x74,0x65])]==_0x119341([0x72,0x65,0x61,0x64,0x79])?_0x42aa23():_0x5b5d43[_0x119341([0x6f,0x6e,0x63,0x65])](_0x119341([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4e2216(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x42aa23(),_0x4e2216(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3b97d3=_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x37c918=_0x3b97d3['getRevision'](0x0),_0x433da4=_0x3b97d3['getEarlierVisibleRevision'](_0x37c918[_0x119341([0x69,0x64])]);_0x28be44(_0x5b5d43,_0x119341([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x119341([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x37c918[_0x119341([0x69,0x64])],_0x433da4?_0x433da4[_0x119341([0x69,0x64])]:null,0x1)['then'](()=>_0x42aa23());}});}_0x531f60(_0x4fb107(_0x586545,_0x2a8b92),_0x2a8b92);}function _0x265e5b(_0x54e442,_0x3e5fc2){try{return _0x39f477(_0x3e5fc2)?_0x2429df(_0x3e5fc2[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x56,0x61,0x6c,0x69,0x64])):_0x54e442&&_0x233c35(_0x54e442[_0x119341([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3e5fc2)?_0x54e442[_0x119341([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x119341([0x6f,0x70,0x65,0x6e])][_0x119341([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5088a7)/0x2>_0x54e442[_0x119341([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2429df(_0x3e5fc2[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x54e442[_0x119341([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2429df(_0x3e5fc2[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c])):_0x2429df(_0x3e5fc2[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x56,0x61,0x6c,0x69,0x64])):_0x2429df(_0x3e5fc2[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x45e475){return _0x2429df(_0x3e5fc2[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x23d8e8(_0x23d28d,_0x5a0131){if(_0x16f457 instanceof _0x4a6227){const _0xef1442=_0x16f457;_0x23d28d==_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3816ad(_0xef1442):_0x23d28d==_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c])&&window[_0x119341([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3816ad(_0xef1442),_0x2429df(_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x36d808[0x6]*_0x37885f[0x8]*_0x37885f[0x6]),_0xef1442[_0x119341([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x119341([0x6f,0x6e])](_0x119341([0x61,0x64,0x64]),(_0x4decb9,_0x4e803e)=>{_0x23d28d!=_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x23d28d!=_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x23d28d!=_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2a14cf(_0x4e803e);});}else{const _0x1eeb84=_0x16f457;_0x23d28d==_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2a14cf(_0x1eeb84):_0x23d28d==_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c])&&_0x1eeb84[_0x119341([0x6f,0x6e])](_0x119341([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x6e17a4=0x0;_0x1eeb84[_0x119341([0x6d,0x6f,0x64,0x65,0x6c])][_0x119341([0x6f,0x6e])](_0x119341([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d1d9f,_0x3a26c2)=>{_0x3a26c2[0x0][_0x119341([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6e17a4++,0x1f8===_0x6e17a4&&(_0x2a14cf(_0x1eeb84),_0x2429df(_0x5a0131[_0x119341([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x119341([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1d1d9f[_0x119341([0x6f,0x66,0x66])]());},{'priority':_0x119341([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2429df(_0x4ab51d){const _0x1e7fc4=_0x59a610();return _0x16f457[_0x1e7fc4]=_0x4ab51d,_0x4ab51d;}function _0x59a610(){const _0x9f96d7=String(window[_0x119341([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x119341([0x6e,0x6f,0x77])]())[_0x119341([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x119341([0x2e]),'');let _0x449bbe='';for(let _0x56c358=0x0;_0x56c358<_0x9f96d7[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56c358+=0x2){let _0x17cbe6=parseInt(_0x9f96d7[_0x119341([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56c358,_0x56c358+0x2));_0x17cbe6>=_0x2a223f[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17cbe6-=_0x2a223f[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x449bbe+=_0x2a223f[_0x17cbe6];}return _0x449bbe;}function _0x3816ad(_0x53a3ee){for(const _0x5df271 of _0x53a3ee[_0x119341([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2a14cf(_0x5df271);_0x28be44(_0x53a3ee,_0x119341([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x119341([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x28be44(_0x53a3ee,_0x119341([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x119341([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x589576;}function _0x2a14cf(_0x553731){function _0x503e1c(){_0x553731[_0x119341([0x6d,0x6f,0x64,0x65,0x6c])][_0x119341([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x589576,_0x553731[_0x119341([0x6d,0x6f,0x64,0x65,0x6c])][_0x119341([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x589576,_0x553731[_0x119341([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x119341([0x6d,0x6f,0x64,0x65,0x6c]));}_0x553731[_0x119341([0x73,0x74,0x61,0x74,0x65])]==_0x119341([0x72,0x65,0x61,0x64,0x79])?_0x503e1c():_0x553731[_0x119341([0x6f,0x6e,0x63,0x65])](_0x119341([0x72,0x65,0x61,0x64,0x79]),()=>_0x503e1c());}function _0x589576(){return null;}function _0x233c35(_0x5049ed,_0x436f61){const _0x4e22a6=!!(_0x5049ed&_0x436f61[_0x119341([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4623ab=_0x217938(_0x5049ed,_0x436f61);return _0x4e22a6||_0x4623ab;}function _0x217938(_0x1fe455,_0x2753de){const _0x3c36bf=(_0x2753de[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x119341([0x66,0x67,0x69])]||null;return!!_0x3c36bf&&_0x25dd8b[_0x119341([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a990f=>_0x3c36bf[_0x119341([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a990f[_0x119341([0x69,0x64])]))[_0x119341([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x562dd7=>!_0x283b73(_0x562dd7))[_0x119341([0x73,0x6f,0x6d,0x65])](_0x36ca18=>!!(_0x1fe455&_0x36ca18[_0x119341([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x283b73(_0x2b2c82){const _0x55fce7={[_0x119341([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])]:_0x44e568};return!!_0x2b2c82['forbiddenHandler']&&_0x55fce7[_0x2b2c82['forbiddenHandler']]();}function _0x44e568(){return!window[_0x119341([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4e2216(_0x16f457,_0x119341([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x39f477(_0x4a0ff8){if(!_0x4e2216(_0x16f457,_0x4a0ff8[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x445f97=_0x4a0ff8[_0x119341([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x236a9c=_0x445f97[_0x119341([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x9149ac=_0x445f97[_0x119341([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x20ae7f=_0x445f97[_0x119341([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4e2216(_0x16f457,_0x119341([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x28be44(_0x16f457,_0x119341([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x119341([0x73,0x74,0x61,0x74,0x65])]==_0x119341([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x236a9c)return!0x0;if(_0x4e2216(_0x16f457,_0x119341([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x28be44(_0x16f457,_0x119341([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x119341([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x119341([0x65,0x6e,0x64])&&_0x9149ac)return!0x0;return!(!_0x4e2216(_0x16f457,_0x119341([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]))||_0x28be44(_0x16f457,_0x119341([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]))[_0x119341([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x119341([0x65,0x6e,0x64])||!_0x20ae7f);}function _0x4e2216(_0x322c80,_0x4f28d3){return _0x322c80[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x119341([0x68,0x61,0x73])](_0x4f28d3);}function _0x28be44(_0x259d59,_0x219f87){return _0x259d59[_0x119341([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x119341([0x67,0x65,0x74])](_0x219f87);}function _0x1e9b08(_0x48fe4c){let _0x21217f='';for(const _0x272622 of _0x48fe4c)_0x21217f+=String[_0x119341([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x272622);return _0x21217f;}function _0x263075(_0x37741c){const _0x5581fe=new Uint8Array(_0x37741c[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4eb601=0x0;_0x4eb601<_0x37741c[_0x119341([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eb601++)_0x5581fe[_0x4eb601]=_0x37741c[_0x119341([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4eb601);return _0x5581fe;}_0x18fc1f&&_0x3de3bf(_0x5ad375(_0x505f27),_0x18fc1f);})(_0x318cda);}(this);}['createRevision'](_0x212451){const _0x33361b=this['editor']['plugins']['get']('Users');return new a({'id':_0x212451['id'],'name':_0x212451['name'],'creator':_0x212451['creatorId']?_0x33361b['getUser'](_0x212451['creatorId']):null,'diffData':_0x212451['diffData']||_0x212451['data'],'authors':_0x212451['authorsIds']['map'](_0x40241d=>_0x33361b['getUser'](_0x40241d)),'createdAt':new Date(_0x212451['createdAt']),'attributes':_0x212451['attributes'],'fromVersion':_0x212451['fromVersion'],'toVersion':_0x212451['toVersion']});}['addRevision'](_0x4f9489,_0x223263=0x0){this['_revisions']['add'](_0x4f9489,_0x223263);}['getRevision'](_0x37c95f){return this['_revisions']['get'](_0x37c95f);}['getRevisions'](_0x87042f={'toJSON':!0x1}){const _0x165cc7=Array['from'](this['_revisions']);return _0x165cc7['reverse'](),_0x87042f['toJSON']?_0x165cc7['map'](_0x64cea0=>_0x64cea0['toJSON']()):_0x165cc7;}['getIndex'](_0x358ee2){return this['_revisions']['getIndex'](_0x358ee2);}['getEarlierVisibleRevision'](_0x23e01f){const [,_0x2dcc51]=this['getRevisionsIterator'](_0x23e01f,{'direction':'earlier'});return _0x2dcc51;}['getLaterVisibleRevision'](_0x2a710c){const [,_0x38c2d7]=this['getRevisionsIterator'](_0x2a710c,{'direction':'later'});return _0x38c2d7;}['getRevisionsInDiff'](_0xf242d0){const _0x1a715c=[];for(const _0x3d6ac7 of this['getRevisionsIterator'](_0xf242d0['newRevisionId']))if(_0x1a715c['push'](_0x3d6ac7),_0x3d6ac7['id']===_0xf242d0['oldRevisionId'])break;return _0x1a715c;}*['getRevisionsIterator'](_0x55cafd,{direction:_0x321c1b='earlier',filter:_0x3cd051=_0x597dd9=>!0x0}={}){const _0x2557ca='earlier'===_0x321c1b?0x1:-0x1;let _0xe08ab0=this['_revisions']['get'](_0x55cafd),_0x2a94af=this['getIndex'](_0xe08ab0);for(yield _0xe08ab0;_0xe08ab0;){if(_0x2a94af+=_0x2557ca,_0xe08ab0=this['getRevision'](_0x2a94af),!_0xe08ab0)return;_0x3cd051(_0xe08ab0)&&(yield _0xe08ab0);}}}function y(_0x32d2fd,_0x31d123,_0x2ee2a2){const t=_0x32d2fd['t'];switch(_0x31d123){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'},_0x2ee2a2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2ee2a2);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x10fe0c,'a':_0x4865fd,'e':_0x2fa390,'r':_0xe89c57,'u':_0x3e6b1a};class l extends _0x2171d6{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5d52d8,A,_0x5bcdbc];}constructor(_0x2b7c9f){super(_0x2b7c9f),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 _0x420a22=_0x30d39c();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x420a22},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 _0x2a403b=this['repository']['getRevision'](0x0),_0x2b54b4=_0x2a403b&&null===_0x2a403b['creator']?_0x2a403b:null;if(this['_continueCurrentRevision']=!!_0x2b54b4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x17a576=this['_source']['getCurrentRevisionId'](),_0x1e8d33=this['repository']['getRevision'](_0x17a576);if(_0x1e8d33)this['_startingVersion']=_0x1e8d33['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3e8a9b=this['_source']['history']['_operations']['find'](_0x85dda0=>!_0x85dda0['_isInit']),_0xda05b1=_0x3e8a9b?_0x3e8a9b['baseVersion']:this['_source']['history']['version'];_0x2a403b?(_0x2a403b['toVersion']<_0xda05b1&&_0x2a403b['_update']({'toVersion':_0xda05b1}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2b54b4['id'],this['_startingVersion']=_0x2b54b4['fromVersion']):(this['_startingVersion']=_0x2a403b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xda05b1,this['_continueCurrentRevision']=!0x1);}}else _0x2b54b4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2b54b4['toVersion'],this['editor']['model']['document']['history']['version']),_0x2b54b4['fromVersion']===_0x2b54b4['toVersion']?(0x0!==_0x2b54b4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2b54b4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2b54b4['id'],this['_startingVersion']=_0x2b54b4['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',_0x4923fb=>!_0x4923fb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x480a36=this['repository']['getRevision'](0x0),_0x5f15d7=await this['getRevisionDocumentData'](_0x480a36),_0x57698b=await this['getRevisionRootsAttributes'](_0x480a36);this['_replaceEditorDataWithRevisionData'](_0x5f15d7,_0x57698b);}}['setSource'](_0x5b983d){this['_source']=_0x5b983d;}async['update'](){const _0xe0655b=await this['_source']['getLatestVersion']();if(_0xe0655b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1c42b1=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xe0655b});_0x1c42b1['authors']=_0x1c42b1['authorsIds']['map'](_0x409ee1=>this['editor']['plugins']['get']('Users')['getUser'](_0x409ee1)),this['currentRevision']['_update'](_0x1c42b1);}}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'](_0x1d7f41={},_0x271387=null){const _0x588057=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x271387>this['currentRevision']['toVersion']&&(_0x271387=null),null===_0x271387&&(_0x271387=await this['_source']['getLatestVersion']());const _0x5e0a52=this['_getFromVersion'](_0x271387),_0xc10c88=this['buildRevisionData']({'from':_0x5e0a52,'to':_0x271387});if(this['currentRevision']['toVersion']<_0x271387){const _0x24e551=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x271387,'to':_0x271387});_0x24e551['authors']=[],_0x24e551['authorsIds']=[],_0x24e551['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x24e551,!0x0),delete _0x24e551['authors'],_0x588057['push'](_0x24e551);}_0x1d7f41['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1d7f41['name']=_0x1d7f41['name']||null,_0x1d7f41['id']=_0x1d7f41['id']||_0x30d39c(),_0x1d7f41={..._0x1d7f41,..._0xc10c88};const _0x307d73=this['addRevisionData'](_0x1d7f41);_0x588057['push'](_0x1d7f41);const _0x362ad5=this['repository']['getIndex'](_0x307d73);if(0x0!==_0x362ad5){const _0x1f8dcf=this['repository']['getRevision'](_0x362ad5-0x1);if(_0x1f8dcf['fromVersion']!==_0x271387){const _0x2bd867=this['_revisionDataBuilder']['getData'](_0x271387,_0x1f8dcf['toVersion']),_0x298aac={'id':_0x1f8dcf['id'],'diffData':_0x2bd867['diffData'],'authorsIds':_0x2bd867['authorsIds'],'authors':_0x2bd867['authorsIds']['map'](_0x308e39=>this['editor']['plugins']['get']('Users')['getUser'](_0x308e39)),'fromVersion':_0x271387};_0x1f8dcf===this['currentRevision']&&(_0x298aac['createdAt']=new Date(_0x1d7f41['createdAt']['getTime']()+0xa)),_0x1f8dcf['_update'](_0x298aac,!0x0),delete _0x298aac['authors'],_0x588057['push'](_0x298aac);}}if(this['adapter']){for(const _0x18074a of _0x588057)this['_bufferUpdate'](_0x18074a['id'],_0x18074a,!0x0);this['sendBufferedUpdates']();}return _0x307d73;}['addRevisionData'](_0x4d98ae){const _0x6887cd=this['repository']['createRevision'](_0x4d98ae);return this['adapter']&&_0x6887cd['on']('_update',(_0x377797,_0x449b9f,_0xe9751)=>{_0xe9751||(this['_bufferUpdate'](_0x449b9f['id'],_0x449b9f,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x6887cd,this['_findInsertionIndex'](_0x6887cd)),_0x6887cd;}async['getRevisionDocumentData'](_0x3015db){await this['_loadRevisionData'](_0x3015db);const _0x36ed52={};for(const _0x5ade7e in _0x3015db['diffData']){if(_0x3015db['diffData'][_0x5ade7e]['attachChange']&&!_0x3015db['diffData'][_0x5ade7e]['attachChange']['isAttached'])continue;const _0x14f705=this['_removeRevisionMarkers'](JSON['parse'](_0x3015db['diffData'][_0x5ade7e]['insertions'])),_0x34f5f0=this['editor']['editing']['view']['document'],_0x5029fa=new _0x1bca8d(_0x34f5f0,_0x14f705['map'](_0x1c226a=>B(_0x1c226a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x36ed52[_0x5ade7e]=this['editor']['data']['processor']['toData'](_0x5029fa),this['editor']['data']['processor']['useFillerType']('default');}return _0x36ed52;}async['getRevisionRootsAttributes'](_0x5789ec){await this['_loadRevisionData'](_0x5789ec);const _0x5a083a={};for(const _0xcb52b6 in _0x5789ec['diffData'])_0x5789ec['diffData'][_0xcb52b6]['attachChange']&&!_0x5789ec['diffData'][_0xcb52b6]['attachChange']['isAttached']||(_0x5a083a[_0xcb52b6]=_0x5789ec['diffData'][_0xcb52b6]['attributesAfter']||{});return _0x5a083a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1d4e36=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4b408f=0x0;_0x4b408f<_0x1d4e36['length'];_0x4b408f++){const _0x5b95bc=_0x1d4e36[_0x4b408f];let _0x2fe542=!0x1;for(const _0x5e8bcf of Object['keys'](_0x5b95bc))void 0x0===_0x5b95bc[_0x5e8bcf]?delete _0x5b95bc[_0x5e8bcf]:'id'!==_0x5e8bcf&&(_0x2fe542=!0x0);_0x2fe542||(_0x1d4e36[_0x4b408f]=null);}if(_0x1d4e36=_0x1d4e36['filter'](_0x377cf2=>null!==_0x377cf2),!_0x1d4e36['length'])return;for(let _0x213ca0=0x0;_0x213ca0<_0x1d4e36['length'];_0x213ca0++){const _0x20a909=_0x1d4e36[_0x213ca0];void 0x0!==_0x20a909['fromVersion']&&void 0x0===_0x20a909['toVersion']&&(_0x20a909['toVersion']=this['repository']['getRevision'](_0x20a909['id'])['toVersion']),void 0x0!==_0x20a909['toVersion']&&void 0x0===_0x20a909['fromVersion']&&(_0x20a909['fromVersion']=this['repository']['getRevision'](_0x20a909['id'])['fromVersion']);}const _0x4c40be=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1d4e36,_0x4c40be)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4b6168=>{if(_0x4b6168){for(const _0x59ce23 of _0x4b6168)this['setRevisionData']({'id':_0x59ce23['id'],'createdAt':_0x59ce23['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5f0709,_0x55e12b){let _0x6b623f=this['editor']['config']['get']('initialData'),_0x2c43e5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x6b623f){_0x6b623f={};for(const _0x4095ec of this['editor']['model']['document']['getRootNames']())_0x6b623f[_0x4095ec]='';}if('string'==typeof _0x6b623f&&(_0x6b623f={'main':_0x6b623f}),void 0x0===_0x2c43e5){_0x2c43e5={};for(const _0x22168b of this['editor']['model']['document']['getRootNames']())_0x2c43e5[_0x22168b]={};}let _0x30d66a=!0x1;const _0x50019e=Object['keys'](_0x6b623f),_0x49a998=Object['keys'](_0x5f0709);for(const _0x579636 of _0x50019e){if(_0x6b623f[_0x579636]!==_0x5f0709[_0x579636]&&''!==_0x6b623f[_0x579636]['trim']()){_0x30d66a=!0x0;break;}if(!_0x259ce6(_0x2c43e5[_0x579636],_0x55e12b[_0x579636])&&Object['keys'](_0x2c43e5[_0x579636])['length']>0x0){_0x30d66a=!0x0;break;}}_0x30d66a||(_0x30d66a=_0x49a998['some'](_0x46e04f=>!this['editor']['model']['document']['getRoot'](_0x46e04f))),_0x30d66a&&_0x5873c9('editor-initial-data-replaced-with-revision-data',{'editorData':_0x6b623f,'editorRootsAttributes':_0x2c43e5,'revisionData':_0x5f0709,'revisionRootsAttributes':_0x55e12b}),this['editor']['config']['set']('initialData',_0x5f0709),this['editor']['config']['set']('rootsAttributes',_0x55e12b);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x321a56=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x321a56['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2587dd){const _0x312d25=this['repository']['getRevisions']();_0x312d25['reverse']();let _0x1c32ba=0x0;for(;_0x1c32ba<_0x312d25['length'];){const _0x8e61bd=_0x312d25[_0x1c32ba];if(_0x8e61bd===this['currentRevision']){_0x1c32ba++;continue;}if(_0x8e61bd['id']===this['_initialRevisionId'])break;const _0x263ea6=_0x2587dd['toVersion']-_0x8e61bd['toVersion']||_0x2587dd['fromVersion']-_0x8e61bd['fromVersion'];if(_0x263ea6>0x0)break;if(_0x263ea6<0x0)_0x1c32ba++;else{if(!_0x2587dd['creator']&&_0x8e61bd['creator'])break;if(_0x8e61bd['creator']||!_0x2587dd['creator']){if(_0x2587dd['createdAt']>_0x8e61bd['createdAt'])break;_0x1c32ba++;}else _0x1c32ba++;}}return _0x1c32ba;}['setRevisionData'](_0x49bc07){const _0x22d3c9=this['repository']['getRevision'](_0x49bc07['id']);if(_0x49bc07['createdAt']&&(_0x49bc07['createdAt']=new Date(_0x49bc07['createdAt'])),_0x49bc07['authorsIds']){const _0x9ed36b=this['editor']['plugins']['get']('Users');_0x49bc07['authors']=_0x49bc07['authorsIds']['map'](_0x1fe53f=>_0x9ed36b['getUser'](_0x1fe53f));}_0x22d3c9['_update'](_0x49bc07,!0x0);}['buildRevisionData']({revision:_0x304988=null,from:_0x4c5fe4=null,to:_0x58f185=null}){_0x4c5fe4=null!==_0x4c5fe4?_0x4c5fe4:_0x304988['fromVersion'],_0x58f185=null!==_0x58f185?_0x58f185:_0x304988['toVersion'];const _0x4a212c=this['_revisionDataBuilder']['getData'](_0x4c5fe4,_0x58f185),_0x4a6fdb={'diffData':_0x4a212c['diffData'],'authorsIds':_0x4a212c['authorsIds'],'fromVersion':_0x4c5fe4,'toVersion':_0x58f185};if(!_0x304988||_0x58f185!==_0x304988['toVersion']){const _0x1dc95a=_0x58f185-0x1,_0x17321a=this['_source']['history']['getOperation'](_0x1dc95a);_0x4a6fdb['createdAt']=_0x17321a&&_0x17321a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4c5fe4===this['_loadedStateData']['fromVersion']){for(const _0x23e9b0 of this['_loadedStateData']['authors'])_0x4a6fdb['authorsIds']['includes'](_0x23e9b0['id'])||_0x4a6fdb['authorsIds']['push'](_0x23e9b0['id']);}return _0x4a6fdb;}['_loadRevisionData'](_0x54cdb7){if(!_0x54cdb7||_0x54cdb7['diffData'])return Promise['resolve']();{const _0x529513=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x529513,'revisionId':_0x54cdb7['id']})['then'](_0x562d8b=>{_0x54cdb7['diffData']=_0x562d8b['diffData'];});}}['_bufferUpdate'](_0x56bf05,_0x123ad9,_0x1ac57b){if(this['_bufferedUpdates']['has'](_0x56bf05)){const _0x1dcafb=this['_bufferedUpdates']['get'](_0x56bf05);_0x123ad9=_0x1ac57b?{..._0x1dcafb,..._0x123ad9}:{..._0x123ad9,..._0x1dcafb};}this['_bufferedUpdates']['set'](_0x56bf05,_0x123ad9);}['_getFromVersion'](_0x59e28a){const _0x1520a4=this['repository']['getRevisions']();_0x1520a4['reverse'](),_0x1520a4['shift']();const _0x46cd5d=_0x1520a4['find'](_0x4eb581=>_0x4eb581['toVersion']<=_0x59e28a)['toVersion'];return _0x46cd5d<this['_startingVersion']?this['_startingVersion']:_0x46cd5d;}['_createInitialRevision'](_0x5e657e){const _0x2b4c23=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2b4c23)this['_initialRevisionId']=_0x2b4c23['id'];else{const _0x33353a=!this['editor']['model']['document']['roots']['find'](_0x38c52b=>this['editor']['model']['hasContent'](_0x38c52b)),_0xdc31c9=this['editor']['plugins']['get']('Users')['me']['id'],_0xfab865=y(this['editor']['locale'],_0x33353a?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5e657e,'to':_0x5e657e,'id':this['_initialRevisionId'],'name':_0xfab865,'creatorId':_0xdc31c9});}}['_createCurrentRevision'](_0x2b2102){const _0x5ac5b3=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5ac5b3),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2b2102,'to':_0x2b2102,'id':_0x5ac5b3,'name':'','creatorId':null}));}['_makeRevision']({name:_0xa3e440,from:_0x20d37f,to:_0x576ad2,creatorId:_0x383363,id:_0x822758}){const _0x109401=this['buildRevisionData']({'from':_0x20d37f,'to':_0x576ad2});_0x109401['name']=_0xa3e440,_0x109401['creatorId']=_0x383363,_0x109401['id']=_0x822758;const _0x145d50=this['addRevisionData'](_0x109401);return this['adapter']&&this['_bufferUpdate'](_0x109401['id'],_0x109401,!0x0),_0x145d50;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1f0f96){return(_0x1f0f96=_0x1f0f96['filter'](_0xd96eec=>!_0xd96eec['name']||'revision-start'!==_0xd96eec['name']&&'revision-end'!==_0xd96eec['name']))['forEach'](_0x200227=>{'string'!=typeof _0x200227&&(_0x200227['children']=this['_removeRevisionMarkers'](_0x200227['children']),_0x200227['attributes']=_0x200227['attributes']['filter'](_0x14d9b5=>!_0x14d9b5[0x0]['startsWith']('data-revision-')));}),_0x1f0f96;}}function B(_0x35e08d,_0x527eb0){const _0x5d5426=_0x527eb0['editing']['view']['document'];if('string'==typeof _0x35e08d)return new _0x46c763(_0x5d5426,_0x35e08d);{const _0x1236ba=_0x35e08d['children']['map'](_0x5b871a=>B(_0x5b871a,_0x527eb0));return new(T[_0x35e08d['type']]||_0x12c8d4)(_0x5d5426,_0x35e08d['name'],_0x35e08d['attributes'],_0x1236ba);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x45dd1f){this['editor']=_0x45dd1f,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'](_0x4147d6){this['source']=_0x4147d6;const _0x3bbd75=new Map(),_0x253a13=new Map(),_0x569f3a=this['editor']['model']['document']['roots']['map'](_0x924465=>_0x924465['rootName']);for(const _0x96a75b of _0x569f3a){const _0x304945=this['editor']['model']['document']['getRoot'](_0x96a75b),_0x49dfb8=q(_0x304945);_0x3bbd75['set'](_0x96a75b,_0x49dfb8),_0x253a13['set'](_0x96a75b,Object['fromEntries'](_0x304945['getAttributes']()));}const _0x124d4e=Array['from'](this['editor']['model']['markers'])['map'](_0x42a2d3=>[_0x42a2d3['name'],_0x42a2d3['getRange']()]),_0x102bbd=this['source']['version'];this['_saveMetaData'](_0x102bbd,_0x3bbd75,_0x124d4e,_0x253a13),this['_startingRevisionId']=this['_revisionId'];const _0xf06951=new Map(),_0x2231e7=new Map();for(const _0x266373 of _0x569f3a){const _0x42116e=G(_0x266373);_0xf06951['set'](_0x266373,_0x42116e),_0x2231e7['set'](_0x266373,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xf06951,[],_0x2231e7);}['getData'](_0x14ced4,_0x1ab969){if(this['_lastFrom']===_0x14ced4&&this['_lastTo']<=_0x1ab969)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1ab969,!0x0);else{if(!this['_savedMetaData']['has'](_0x14ced4)){const _0x425884=this['_getPreviousFrom'](_0x14ced4);this['_calculateMetaData'](_0x425884,_0x14ced4,!0x1);}this['_calculateMetaData'](_0x14ced4,_0x1ab969,!0x0);}return this['_lastFrom']=_0x14ced4,this['_lastTo']=_0x1ab969,this['_getState']();}['loadState'](_0x23bb44){this['_reset'](),this['_lastFrom']=_0x23bb44['fromVersion'],this['_lastTo']=_0x23bb44['toVersion'];for(const _0xbea927 in _0x23bb44['diffData']){const _0x55bb76=_0x23bb44['diffData'][_0xbea927]['attachChange'],_0x5c57fe=_0x440803(_0x23bb44['diffData'][_0xbea927]['attributesBefore'])||{},_0x4099c4=this['_makeModelFromViewString'](_0x23bb44['diffData'][_0xbea927]['deletions']);_0x4099c4['rootName']=_0xbea927,_0x4099c4['_isAttached']=!_0x55bb76||!_0x55bb76['isAttached'],_0x4099c4['isAttached']=()=>_0x4099c4['_isAttached'],this['_baseRoots']['set'](_0xbea927,_0x4099c4),this['_baseRootsAttributes']['set'](_0xbea927,_0x5c57fe),_0x55bb76&&this['_touchedRoots']['set'](_0xbea927,_0x55bb76);const _0x37023d=this['_makeIdsRoot'](_0x4099c4);this['_baseIdsRoots']['set'](_0xbea927,_0x37023d);for(const [_0x5761b0,_0x38eb4f]of _0x4099c4['markers']){if(!_0x5761b0['startsWith']('revision:'))continue;const _0x3efcf9=_0x5761b0['split'](':')[0x2];for(const _0x2ed3cf of _0x38eb4f['getWalker']({'singleCharacters':!0x0})){const _0x44852d=this['_getVidAttributeName'](_0x2ed3cf),_0x2e8ced='elementEnd'==_0x2ed3cf['type']?_0x2ed3cf['previousPosition']['path']['slice'](0x0,-0x1):_0x2ed3cf['previousPosition']['path'],_0x2ac44e=_0x37023d['getNodeByPath'](_0x2e8ced)['getAttribute'](_0x44852d);this['_touched']['set'](_0x2ac44e,{'userId':_0x3efcf9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1fe8c6=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x22b255=>!this['_touched']['has'](_0x22b255));let _0x3a62d8=0x0;const _0x5375e9=new Map();for(const _0x503d99 in _0x23bb44['diffData']){const _0x7abf3d=_0x23bb44['diffData'][_0x503d99]['attachChange'],_0x5859c3=_0x440803(_0x23bb44['diffData'][_0x503d99]['attributesAfter'])||{},_0x50f59b=this['_makeModelFromViewString'](_0x23bb44['diffData'][_0x503d99]['insertions']);_0x50f59b['rootName']=_0x503d99,_0x50f59b['_isAttached']=!_0x7abf3d||_0x7abf3d['isAttached'],_0x50f59b['isAttached']=()=>_0x50f59b['_isAttached'],this['_diffRoots']['set'](_0x503d99,_0x50f59b),this['_diffRootsAttributes']['set'](_0x503d99,_0x5859c3);const _0x5d4885=this['_makeIdsRoot'](_0x50f59b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x503d99,_0x5d4885),_0x5375e9['set'](_0x503d99,_0x50f59b['isAttached']()?_0x5859c3:{});for(const [_0x30d7ae,_0x1f2244]of _0x50f59b['markers']){if(!_0x30d7ae['startsWith']('revision:'))continue;const _0x39c035=_0x30d7ae['split'](':')[0x2];for(const _0xfd3762 of _0x1f2244['getWalker']({'singleCharacters':!0x0})){const _0x266ff8=this['_getVidAttributeName'](_0xfd3762),_0x3dbd0c=this['_revisionId']++,_0x3c3f92='elementEnd'==_0xfd3762['type']?_0xfd3762['previousPosition']['path']['slice'](0x0,-0x1):_0xfd3762['previousPosition']['path'];_0x5d4885['getNodeByPath'](_0x3c3f92)['_setAttribute'](_0x266ff8,_0x3dbd0c),this['_touched']['set'](_0x3dbd0c,{'userId':_0x39c035});}}for(const _0x5d07c1 of this['editor']['model']['createRangeIn'](_0x50f59b)['getWalker']({'singleCharacters':!0x0})){const _0x41eee1=this['_getVidAttributeName'](_0x5d07c1),_0x11a1e7='elementEnd'==_0x5d07c1['type']?_0x5d07c1['previousPosition']['path']['slice'](0x0,-0x1):_0x5d07c1['previousPosition']['path'],_0x42d6b4=_0x5d4885['getNodeByPath'](_0x11a1e7);_0x42d6b4['getAttribute'](_0x41eee1)>0x0||_0x42d6b4['_setAttribute'](_0x41eee1,_0x1fe8c6[_0x3a62d8++]);}for(const [_0x407ad1,_0x7c9b0a]of _0x50f59b['markers'])_0x407ad1['startsWith']('revision:')||this['_markers']['set'](_0x407ad1,_0x7c9b0a);}const _0x13403b=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x13403b),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x13403b,0x1));const _0x5a8c88=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x5a8c88),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5a8c88,0x1));const _0x17c304=Array['from'](this['_diffRoots'])['map'](([_0x2416f5,_0x3489b2])=>[_0x2416f5,q(_0x3489b2)]);this['_saveMetaData'](this['_lastTo'],_0x17c304,this['_markers'],_0x5375e9);}['_makeModelFromViewString'](_0x2b588e){const _0x218c4e=JSON['parse'](_0x2b588e),_0x415220=this['editor']['editing']['view']['document'],_0x1187da=new _0x1bca8d(_0x415220,_0x218c4e['map'](_0x577a86=>B(_0x577a86,this['editor'])));return this['editor']['data']['toModel'](_0x1187da);}['_saveMetaData'](_0x238f52,_0x2a6fd4,_0x18c9f7,_0x5d89f5){const _0x4a0061=new Map(_0x2a6fd4),_0x52fe3b=new Map(_0x440803(_0x5d89f5)),_0x5481be=new Map();for(const [_0x50eb23,_0x4ea896]of _0x18c9f7)_0x5481be['set'](_0x50eb23,{'start':_0x4ea896['start']['clone'](),'end':_0x4ea896['end']['clone'](),'rootName':_0x4ea896['root']['rootName']});this['_savedMetaData']['set'](_0x238f52,{'roots':_0x4a0061,'markers':_0x5481be,'rootsAttributes':_0x52fe3b});}['_removeMetaData'](_0x19c273){this['_savedMetaData']['delete'](_0x19c273);}['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'](_0x3fef70,_0x257066=null){let _0x2e9a69=null;_0x3fef70['is']('documentFragment')||(_0x2e9a69=new ft(_0x3fef70['name'],{'vid_start':null===_0x257066?this['_revisionId']++:_0x257066++}));const _0x327576=[];for(const _0x1c0b33 of _0x3fef70['getChildren']())if(_0x1c0b33['is']('element')){_0x327576['push'](this['_makeIdsRoot'](_0x1c0b33,_0x257066));const _0x3dfa85=_0x327576[_0x327576['length']-0x1];null!==_0x257066&&(_0x257066=_0x3dfa85['is']('element','$text')?_0x3dfa85['getAttribute']('vid')+0x1:_0x3dfa85['getAttribute']('vid_end')+0x1);}else{for(let _0x3a7557=0x0;_0x3a7557<_0x1c0b33['offsetSize'];_0x3a7557++)_0x327576['push'](new ft('$text',{'vid':null===_0x257066?this['_revisionId']++:_0x257066++}));}if(_0x3fef70['is']('documentFragment')){const _0xf9f3df=G(_0x3fef70['rootName']);return _0xf9f3df['_insertChild'](0x0,_0x327576),_0xf9f3df;}return _0x2e9a69['_setAttribute']('vid_end',null===_0x257066?this['_revisionId']++:_0x257066++),_0x2e9a69['_insertChild'](0x0,_0x327576),_0x2e9a69;}['_calculateMetaData'](_0x36ba35,_0x34e858,_0x55d489){this['_reset']();const {roots:_0x4246ae,markers:_0x44784b,rootsAttributes:_0x1dd9ee}=this['_savedMetaData']['get'](_0x36ba35);this['_baseRoots']=new Map(_0x4246ae),this['_baseRootsAttributes']=new Map(_0x440803(_0x1dd9ee));for(const [_0x1efbdf,_0x2a247e]of this['_baseRoots'])if('$graveyard'!==_0x1efbdf&&(this['_diffRoots']['set'](_0x1efbdf,q(_0x2a247e)),this['_diffRootsAttributes']=new Map(_0x440803(_0x1dd9ee)),_0x55d489)){const _0xd3ad38=this['_revisionId'];this['_idsRoots']['set'](_0x1efbdf,this['_makeIdsRoot'](_0x2a247e)),this['_baseIdsRoots']['set'](_0x1efbdf,this['_makeIdsRoot'](_0x2a247e,_0xd3ad38));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x55d489&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x14f0d8,_0x22146c]of _0x44784b){const _0x2b195f=this['_baseRoots']['get'](_0x22146c['rootName']),_0x17a3a=this['_diffRoots']['get'](_0x22146c['rootName']),_0x461524=new vt(this['_fixPosition'](_0x22146c['start'],_0x2b195f),this['_fixPosition'](_0x22146c['end'],_0x2b195f)),_0x517710=this['_fixRange'](_0x461524,_0x17a3a);_0x2b195f['markers']['set'](_0x14f0d8,_0x461524),this['_markers']['set'](_0x14f0d8,_0x517710);}this['_applyOperations'](_0x36ba35,_0x34e858,_0x55d489);}['_applyOperations'](_0xbe3646,_0x3dc3eb,_0x2a6cd2){for(const _0x20afb8 of this['source']['getOperations'](_0xbe3646,_0x3dc3eb))this['_handleOperation'](_0x20afb8,_0x2a6cd2);for(const _0x2d07f8 of this['_diffRoots']['values']())_0x2d07f8['markers']['clear']();for(const [_0x25e0d6,_0x3d837d]of this['_markers']){this['_diffRoots']['get'](_0x3d837d['root']['rootName'])['markers']['set'](_0x25e0d6,_0x3d837d['clone']());}const _0x5b8d01=new Map(),_0x5f2dfc=new Map();for(const [_0xcc6d9e,_0x3067a3]of this['_diffRoots'])_0x5b8d01['set'](_0xcc6d9e,q(_0x3067a3)),_0x5f2dfc['set'](_0xcc6d9e,this['_diffRootsAttributes']['get'](_0xcc6d9e));this['_saveMetaData'](_0x3dc3eb,_0x5b8d01,this['_markers'],_0x5f2dfc);}['_getPreviousFrom'](_0x2f0467){const _0x8d15e1=Array['from'](this['_savedMetaData']['keys']());_0x8d15e1['sort']((_0x1245f3,_0x5489bd)=>_0x1245f3-_0x5489bd),_0x8d15e1['reverse']();for(const _0x67560e of _0x8d15e1)if(_0x67560e<_0x2f0467)return _0x67560e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2ee4a3,_0x5b35a8){const _0x55f303=Array['from'](_0x5b35a8['markers'])['map'](([_0x12765b,_0x454101])=>[_0x12765b,this['_fixRange'](_0x454101,_0x2ee4a3)]);_0x2ee4a3['markers']=new Map(_0x55f303);}['_transformMarkers'](_0x4b7ba0){for(const _0x585691 of this['_markers']['values']()){const _0x471c11=_0x585691['getTransformedByOperation'](_0x4b7ba0),_0x3affd1=vt['_createFromRanges'](_0x471c11);_0x585691['start']=_0x3affd1['start'],_0x585691['end']=_0x3affd1['end'];}}['_handleOperation'](_0x5ba7f3,_0x44876d){if('addRoot'==_0x5ba7f3['type']||'detachRoot'==_0x5ba7f3['type'])return void this['_handleRootOperation'](_0x5ba7f3,_0x44876d);if('insert'==_0x5ba7f3['type']){const _0x898216=_0x5ba7f3['position']['root']['rootName'];this['_diffRoots']['has'](_0x898216)||(this['_diffRoots']['set'](_0x898216,G(_0x898216,!0x0)),this['_diffRootsAttributes']['set'](_0x898216,{}),_0x44876d&&this['_idsRoots']['set'](_0x898216,G(_0x898216,!0x0)));}else{if('addRootAttribute'==_0x5ba7f3['type']||'removeRootAttribute'==_0x5ba7f3['type']||'changeRootAttribute'==_0x5ba7f3['type'])return void this['_handleRootAttributeOperation'](_0x5ba7f3);}const _0x23c067=this['_cloneOperation'](_0x5ba7f3,this['_diffRoots']);if('marker'!==_0x5ba7f3['type']&&(_0x23c067['_execute'](),this['_transformMarkers'](_0x23c067)),_0x44876d)switch(_0x23c067['type']){case'insert':this['_handleInsertOperation'](_0x5ba7f3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5ba7f3);break;case'merge':this['_handleMergeOperation'](_0x5ba7f3);break;case'split':this['_handleSplitOperation'](_0x5ba7f3);break;case'marker':this['_handleMarkerOperation'](_0x5ba7f3);}}['_cloneOperation'](_0xe94536,_0x36fa15){const _0x3d13fa=_0xe94536['clone']();return _0x3d13fa['_authorId']=_0xe94536['_authorId'],this['_fixOperation'](_0x3d13fa,_0x36fa15),_0x3d13fa;}['_getBaseVids'](_0x230c58){return _0x230c58['map'](_0x20a806=>{const _0x24f625=this['_getVidAttributeName'](_0x20a806);return Number(_0x20a806['item']['getAttribute'](_0x24f625));});}['_generateTape'](_0x266a29,_0x93f87b){if(_0x266a29['is']('element','$text'))_0x93f87b['push']({'item':_0x266a29,'type':'text'});else{_0x266a29['is']('element')&&_0x93f87b['push']({'item':_0x266a29,'type':'elementStart'});for(const _0x44be82 of _0x266a29['getChildren']())this['_generateTape'](_0x44be82,_0x93f87b);_0x266a29['is']('element')&&_0x93f87b['push']({'item':_0x266a29,'type':'elementEnd'});}return _0x93f87b;}['_getState'](){const _0x15222c=new Map(this['_touched']),_0x37fb87=new Map(_0x15222c),_0x1837c0=new Map(),_0x18b779={'insertions':{},'deletions':{}},_0x3afbc3={'insertions':{},'deletions':{}},_0x41f991=new Map(),_0x2cc115=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2cc115['delete']('$graveyard');for(const _0xb8b95 of _0x2cc115){const _0x23353b=this['_diffRoots']['get'](_0xb8b95)||G(_0xb8b95,!0x1),_0x16486b=this['_baseRoots']['get'](_0xb8b95)||G(_0xb8b95,!0x1);_0x23353b['isAttached']()||_0x16486b['isAttached']()?(_0x18b779['insertions'][_0xb8b95]=q(_0x23353b),_0x18b779['deletions'][_0xb8b95]=q(_0x16486b),this['_copyMarkers'](_0x18b779['deletions'][_0xb8b95],_0x16486b),this['_copyMarkers'](_0x18b779['insertions'][_0xb8b95],_0x23353b),_0x3afbc3['insertions'][_0xb8b95]=this['_generateTape'](this['_idsRoots']['get'](_0xb8b95),[]),_0x3afbc3['deletions'][_0xb8b95]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xb8b95)||G(_0xb8b95,!0x1),[])):_0x2cc115['delete'](_0xb8b95);}for(const _0x3b0dc2 of _0x2cc115){const _0x517f1f=_0x3afbc3['insertions'][_0x3b0dc2];for(const _0x6523c3 of _0x517f1f){const _0x4d249a=this['_getVidAttributeName'](_0x6523c3),_0x230f08=_0x6523c3['item']['getAttribute'](_0x4d249a);_0x37fb87['delete'](_0x230f08),_0x230f08>=this['_startingRevisionId']&&_0x1837c0['set'](_0x230f08,_0x15222c['get'](_0x230f08));}}for(const _0x4056ba of _0x2cc115){const _0x5b94e2=_0x3afbc3['insertions'][_0x4056ba],_0x563567=this['_getBaseVids'](_0x3afbc3['deletions'][_0x4056ba]);let _0x15ec98=0x0;for(const _0x4a64a2 of _0x5b94e2){const _0x159dff=this['_getVidAttributeName'](_0x4a64a2),_0x318fb7=_0x4a64a2['item']['getAttribute'](_0x159dff);if(!_0x1837c0['has'](_0x318fb7)&&!_0x41f991['has'](_0x318fb7)){if(_0x37fb87['has'](_0x318fb7))_0x15ec98++;else{if(_0x318fb7!=_0x563567[_0x15ec98]){const _0x1ee350=_0x15222c['get'](_0x318fb7)||_0x15222c['get'](_0x563567[_0x15ec98]);for(;_0x318fb7!=_0x563567[_0x15ec98];)_0x37fb87['has'](_0x563567[_0x15ec98])||(_0x41f991['set'](_0x563567[_0x15ec98],_0x1ee350),_0x15222c['set'](_0x563567[_0x15ec98],_0x1ee350)),_0x15ec98++;}_0x15ec98++;}}}}for(const _0x1e5442 of _0x2cc115){const _0x3cd6b2=_0x3afbc3['insertions'][_0x1e5442];for(const _0x3108e3 of _0x3cd6b2){const _0x126964=this['_getVidAttributeName'](_0x3108e3),_0x5cfee0=_0x3108e3['item']['getAttribute'](_0x126964);if(_0x41f991['has'](_0x5cfee0)){const _0x158c52=_0x41f991['get'](_0x5cfee0);_0x37fb87['has'](_0x5cfee0)||_0x37fb87['set'](_0x5cfee0,{..._0x158c52}),_0x1837c0['set'](_0x5cfee0,{..._0x158c52});}}}for(const _0x360b2e of _0x37fb87['keys']())_0x360b2e>=this['_startingRevisionId']&&_0x37fb87['delete'](_0x360b2e);const _0x4697dd=new Map();for(const _0x222f34 of _0x2cc115){let _0x538251=_0x3afbc3['insertions'][_0x222f34];for(const _0x18736f of _0x538251)if(_0x18736f['item']['is']('element','tableCell')){const _0x6533ee=this['_getVidAttributeName'](_0x18736f),_0x2b91b4=_0x18736f['item']['getAttribute'](_0x6533ee);if(_0x1837c0['has'](_0x2b91b4)){const _0x4caacd=_0x18736f['item']['parent']['parent']['getAttribute']('vid_start'),_0x101117=_0x4697dd['get'](_0x4caacd)||new Set();_0x101117['add'](_0x1837c0['get'](_0x2b91b4)['userId']),_0x4697dd['set'](_0x4caacd,_0x101117);}}_0x538251=_0x3afbc3['deletions'][_0x222f34];for(const _0x18cebc of _0x538251)if(_0x18cebc['item']['is']('element','tableCell')){const _0x254f67=this['_getVidAttributeName'](_0x18cebc),_0x422216=_0x18cebc['item']['getAttribute'](_0x254f67);if(_0x37fb87['has'](_0x422216)){const _0x2a67b2=_0x18cebc['item']['parent']['parent']['getAttribute']('vid_start'),_0x231974=_0x4697dd['get'](_0x2a67b2)||new Set();_0x231974['add'](_0x37fb87['get'](_0x422216)['userId']),_0x4697dd['set'](_0x2a67b2,_0x231974);}}for(const _0x196d5a of _0x4697dd['keys']())(_0x1837c0['has'](_0x196d5a)||_0x37fb87['has'](_0x196d5a))&&_0x4697dd['delete'](_0x196d5a);}for(const _0xaa3f76 of _0x2cc115){const _0x40b47f=_0x3afbc3['insertions'][_0xaa3f76];let _0x1cfb67=null,_0x1cd8c0=null;for(const _0x4a473e of _0x40b47f){const _0x2f820d=this['_getVidAttributeName'](_0x4a473e),_0x4ef4c4=_0x4a473e['item']['getAttribute'](_0x2f820d),_0x1f0913=_0x4697dd['get'](_0x4ef4c4);_0x1f0913&&'elementStart'==_0x4a473e['type']&&(_0x1cfb67=Array['from'](_0x1f0913)[0x0],_0x1cd8c0=_0x4a473e['item']['getAttribute']('vid_end')),_0x1cfb67&&(_0x37fb87['set'](_0x4ef4c4,{'userId':_0x1cfb67}),_0x1837c0['set'](_0x4ef4c4,{'userId':_0x1cfb67})),_0x4ef4c4==_0x1cd8c0&&(_0x1cfb67=null,_0x1cd8c0=null);}}const _0x354f31={},_0x137ce7=new Set();for(const _0x109c7f of _0x2cc115){const _0x283ce0=_0x18b779['deletions'][_0x109c7f],_0xcae164=_0x18b779['insertions'][_0x109c7f];for(const {userId:_0x19043a}of this['_touchedMarkers']['values']())null!==_0x19043a&&_0x137ce7['add'](_0x19043a);for(const {userId:_0xffc14d}of this['_touchedRoots']['values']())null!==_0xffc14d&&_0x137ce7['add'](_0xffc14d);this['_markChanges'](_0xcae164,_0x3afbc3['insertions'][_0x109c7f],_0x1837c0,'insertion',_0x137ce7),this['_markChanges'](_0x283ce0,_0x3afbc3['deletions'][_0x109c7f],_0x37fb87,'deletion',_0x137ce7),_0x354f31[_0x109c7f]={'insertions':this['_prepareViewToSave'](_0xcae164),'deletions':this['_prepareViewToSave'](_0x283ce0),'attachChange':this['_touchedRoots']['get'](_0x109c7f)||null,'attributesBefore':_0x440803(this['_baseRootsAttributes']['get'](_0x109c7f))||{},'attributesAfter':_0x440803(this['_diffRootsAttributes']['get'](_0x109c7f))};}return{'diffData':_0x354f31,'authorsIds':Array['from'](_0x137ce7)};}['_processRootBeforeSave'](_0x493785){for(const [,_0x48fd6a]of _0x493785['markers']){const _0x39bcf1=_0x48fd6a['start']['getAncestors']()['filter'](_0x3122ab=>'tableCell'==_0x3122ab['name']);for(const _0x5e1601 of _0x39bcf1)0x1==_0x5e1601['childCount']&&_0x5e1601['getChild'](0x0)['is']('element','paragraph')&&_0x5e1601['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xd9df32){this['_processRootBeforeSave'](_0xd9df32);const _0x19ce79=this['editor']['data']['toView'](_0xd9df32,{}),_0x120e41=Array['from'](_0x19ce79['getChildren']())['map'](_0x5dce9f=>this['_getViewJson'](_0x5dce9f));return JSON['stringify'](_0x120e41);}['_getViewJson'](_0xe83834){if(_0xe83834['is']('$text'))return _0xe83834['data'];{const _0x15a63b=_0xe83834;return{'type':Object['keys'](T)['find'](_0xd0987b=>_0xe83834 instanceof T[_0xd0987b]),'name':_0x15a63b['name'],'attributes':Array['from'](_0x15a63b['getAttributes']()),'children':Array['from'](_0x15a63b['getChildren']())['map'](_0x11a067=>this['_getViewJson'](_0x11a067))};}}['_markChanges'](_0x4f475e,_0x3d4d00,_0x438e4d,_0x1faf47,_0x51cc62){let _0x27a7c8=null,_0x4568ed=null,_0x24314b=0x0;const _0x46af3a=this['editor']['model'];for(let _0x119a11=0x0;_0x119a11<_0x3d4d00['length'];_0x119a11++){const _0x5cd478=this['_getVidAttributeName'](_0x3d4d00[_0x119a11]),_0x1f1961=_0x3d4d00[_0x119a11]['item']['getAttribute'](_0x5cd478),_0x38c57c=_0x438e4d['get'](_0x1f1961),_0x978d42=_0x119a11==_0x3d4d00['length']-0x1;(!_0x27a7c8&&_0x38c57c&&(_0x27a7c8=_0x38c57c,_0x4568ed=_0x3d4d00[_0x119a11]),_0x27a7c8&&(!_0x38c57c||_0x38c57c['userId']!=_0x27a7c8['userId']))&&(_0x2765f7(_0x38c57c,L(_0x4568ed,_0x4f475e,_0x46af3a),L(_0x3d4d00[_0x119a11],_0x4f475e,_0x46af3a)),_0x27a7c8=_0x38c57c||null,_0x4568ed=_0x38c57c?_0x3d4d00[_0x119a11]:null),_0x27a7c8&&_0x978d42&&_0x2765f7(_0x38c57c,L(_0x4568ed,_0x4f475e,_0x46af3a),W(_0x3d4d00[_0x119a11],_0x4f475e,_0x46af3a));}function _0x2765f7(_0x1c3701,_0x4ca517,_0x8e3e42){const _0x83c8c1=_0x27a7c8['userId'],_0x5d7b52='revision:'+_0x1faf47+':'+_0x83c8c1+':'+_0x24314b++,_0x46dbde=_0x46af3a['createRange'](_0x4ca517,_0x8e3e42);_0x4f475e['markers']['set'](_0x5d7b52,_0x46dbde),null!==_0x83c8c1&&_0x51cc62['add'](_0x83c8c1);}}['_getVidAttributeName'](_0x2e3c14){switch(_0x2e3c14['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x96bf2,_0x351661){_0x96bf2['baseVersion']=null;for(const _0x3db9a3 in _0x96bf2){const _0x462f52=_0x96bf2[_0x3db9a3];if(_0x462f52 instanceof gt){const _0x1f0e7b=_0x351661['get'](_0x462f52['root']['rootName']);_0x96bf2[_0x3db9a3]=this['_fixPosition'](_0x462f52,_0x1f0e7b);}if(_0x462f52 instanceof vt){const _0x3a3199=_0x351661['get'](_0x462f52['root']['rootName']);_0x96bf2[_0x3db9a3]=this['_fixRange'](_0x462f52,_0x3a3199);}'root'===_0x3db9a3&&(_0x96bf2['root']=_0x351661['get'](_0x96bf2['root']['rootName']));}}['_fixRange'](_0x2734b3,_0x4899fc){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2734b3['start'],_0x4899fc),this['_fixPosition'](_0x2734b3['end'],_0x4899fc));}['_fixPosition'](_0x6cac35,_0x3382dc){return this['editor']['model']['createPositionFromPath'](_0x3382dc,_0x6cac35['path'],_0x6cac35['stickiness']);}['_handleInsertOperation'](_0x49632a){const _0x43abbb=this['_idsRoots']['get'](_0x49632a['position']['root']['rootName']),_0x5365d8=this['_fixPosition'](_0x49632a['position'],_0x43abbb),_0x5a68b0=null===_0x49632a['_authorId']?null:_0x49632a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x297fbe=_0x5365d8['parent'],_0xbe51e8=this['_revisionId'],_0x459bb8=[];for(const _0x24aed2 of _0x49632a['nodes'])if(_0x24aed2['is']('element'))_0x459bb8['push'](this['_makeIdsRoot'](_0x24aed2));else{for(let _0x16bdeb=0x0;_0x16bdeb<_0x24aed2['offsetSize'];_0x16bdeb++)_0x459bb8['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4667ed=this['_revisionId'];for(let _0xa2b512=_0xbe51e8;_0xa2b512<_0x4667ed;_0xa2b512++)this['_touched']['set'](_0xa2b512,{'userId':_0x5a68b0});_0x297fbe['_insertChild'](_0x5365d8['offset'],_0x459bb8);}['_handleMoveOperation'](_0x340596){(_0x340596=this['_cloneOperation'](_0x340596,this['_idsRoots']))['_execute']();const _0x2c8e55=null===_0x340596['_authorId']?null:_0x340596['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25768c=_0x340596['getMovedRangeStart'](),_0x5f0ebc=_0x25768c['parent'],_0x535388=_0x25768c['offset'];!function _0x3748f6(_0x18a70b,_0x1104cf,_0x4378da,_0x50de37){for(let _0x5923d3=_0x4378da;_0x5923d3<_0x50de37;_0x5923d3++){const _0x5a061f=_0x1104cf['getChild'](_0x5923d3);_0x5a061f['is']('element','$text')?_0x18a70b['set'](_0x5a061f['getAttribute']('vid'),{'userId':_0x2c8e55}):(_0x18a70b['set'](_0x5a061f['getAttribute']('vid_start'),{'userId':_0x2c8e55}),_0x3748f6(_0x18a70b,_0x5a061f,0x0,_0x5a061f['childCount']),_0x18a70b['set'](_0x5a061f['getAttribute']('vid_end'),{'userId':_0x2c8e55}));}}(this['_touched'],_0x5f0ebc,_0x535388,_0x535388+_0x340596['howMany']);}['_handleMergeOperation'](_0x414d55){const _0x482150=null===(_0x414d55=this['_cloneOperation'](_0x414d55,this['_idsRoots']))['_authorId']?null:_0x414d55['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1fc318=_0x414d55['targetPosition']['parent'],_0x3af92d=_0x414d55['sourcePosition']['parent'],_0x23a245=_0x1fc318['getAttribute']('vid_end'),_0x258b43=_0x3af92d['getAttribute']('vid_start');_0x1fc318['_setAttribute']('vid_end',_0x3af92d['getAttribute']('vid_end')),_0x3af92d['_setAttribute']('vid_end',_0x23a245),this['_touched']['set'](_0x258b43,{'userId':_0x482150}),this['_touched']['set'](_0x23a245,{'userId':_0x482150}),_0x414d55['_execute']();}['_handleSplitOperation'](_0xd8ee5d){const _0x3db0bb=null===(_0xd8ee5d=this['_cloneOperation'](_0xd8ee5d,this['_idsRoots']))['_authorId']?null:_0xd8ee5d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x511aa4=_0xd8ee5d['graveyardPosition'],_0x241a2a=_0xd8ee5d['splitPosition']['parent'];_0xd8ee5d['_execute']();const _0x414485=_0x241a2a['getAttribute']('vid_end'),_0x2d134d=_0xd8ee5d['insertionPosition']['nodeAfter'];if(_0x511aa4){const _0x2b865d=_0x2d134d['getAttribute']('vid_end'),_0x5317e9=_0x241a2a['getAttribute']('vid_end');_0x241a2a['_setAttribute']('vid_end',_0x2b865d),_0x2d134d['_setAttribute']('vid_end',_0x5317e9),this['_touched']['set'](_0x241a2a['getAttribute']('vid_end'),{'userId':_0x3db0bb}),this['_touched']['set'](_0x2d134d['getAttribute']('vid_start'),{'userId':_0x3db0bb});}else{const _0x3e096a=this['_revisionId']++,_0x4b2c22=this['_revisionId']++;_0x241a2a['_setAttribute']('vid_end',_0x3e096a),_0x2d134d['_setAttribute']('vid_start',_0x4b2c22),_0x2d134d['_setAttribute']('vid_end',_0x414485),this['_touched']['set'](_0x3e096a,{'userId':_0x3db0bb}),this['_touched']['set'](_0x4b2c22,{'userId':_0x3db0bb});}}['_handleMarkerOperation'](_0x269074){if(!_0x269074['affectsData'])return;const _0x36b945=(_0x269074=this['_cloneOperation'](_0x269074,this['_diffRoots']))['oldRange']?_0x269074['oldRange']['root']:null,_0x4e7e73=_0x269074['newRange']?_0x269074['newRange']['root']:null;_0x36b945&&this['_markers']['delete'](_0x269074['name']),_0x4e7e73&&this['_markers']['set'](_0x269074['name'],_0x269074['newRange']['clone']());const _0x2ad815=null===_0x269074['_authorId']?null:_0x269074['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5b15b0=_0x269074['name'];if(!this['_touchedMarkers']['has'](_0x5b15b0))return void this['_touchedMarkers']['set'](_0x5b15b0,{'range':_0x269074['oldRange'],'userId':_0x2ad815});const _0x3051dc=this['_touchedMarkers']['get'](_0x5b15b0),_0x4d1692=_0x3051dc['range'],_0xaccc56=_0x269074['newRange'];null==_0x4d1692&&null==_0xaccc56||_0x4d1692&&_0xaccc56&&_0x4d1692['isEqual'](_0xaccc56)?this['_touchedMarkers']['delete'](_0x269074['name']):_0x3051dc['userId']=_0x2ad815;}['_handleRootOperation'](_0x5f3a13,_0x2a938b){this['_diffRoots']['has'](_0x5f3a13['rootName'])?this['_diffRoots']['get'](_0x5f3a13['rootName'])['_isAttached']=_0x5f3a13['isAdd']:(this['_diffRoots']['set'](_0x5f3a13['rootName'],G(_0x5f3a13['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5f3a13['rootName'],{}),_0x2a938b&&this['_idsRoots']['set'](_0x5f3a13['rootName'],G(_0x5f3a13['rootName'],!0x0)));const _0x9ec4df=null===_0x5f3a13['_authorId']?null:_0x5f3a13['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x23fc9a=this['_touchedRoots']['get'](_0x5f3a13['rootName']);_0x23fc9a&&_0x23fc9a['userId']===_0x9ec4df?this['_touchedRoots']['delete'](_0x5f3a13['rootName']):this['_touchedRoots']['set'](_0x5f3a13['rootName'],{'userId':_0x9ec4df,'isAttached':_0x5f3a13['isAdd']});}['_handleRootAttributeOperation'](_0x5887dd){const _0x4e3776=this['_diffRootsAttributes']['get'](_0x5887dd['root']['rootName']);null===_0x5887dd['newValue']?delete _0x4e3776[_0x5887dd['key']]:_0x4e3776[_0x5887dd['key']]=_0x5887dd['newValue'];}}function q(_0x1806f4){const _0x1fba47=G(_0x1806f4['rootName'],_0x1806f4['isAttached']());for(const _0x19c301 of _0x1806f4['getChildren']()){const _0xab42fb=_0x19c301['_clone'](!0x0);_0x1fba47['_appendChild'](_0xab42fb);}return _0x1fba47;}function G(_0xaa4dce,_0x57f635=!0x0){const _0x296f0d=new wt();return _0x296f0d['rootName']=_0xaa4dce,_0x296f0d['_isAttached']=_0x57f635,_0x296f0d['isAttached']=()=>_0x296f0d['_isAttached'],_0x296f0d;}function L(_0x40b976,_0x48a265,_0x4df18f){const _0x172565='elementEnd'==_0x40b976['type']?_0x4df18f['createPositionAt'](_0x40b976['item'],'end'):_0x4df18f['createPositionBefore'](_0x40b976['item']);return _0x4df18f['createPositionFromPath'](_0x48a265,_0x172565['path'],_0x172565['stickiness']);}function W(_0x2b3e22,_0x217faa,_0x523276){const _0x349421='elementStart'==_0x2b3e22['type']?_0x523276['createPositionAt'](_0x2b3e22['item'],0x0):_0x523276['createPositionAfter'](_0x2b3e22['item']);return _0x523276['createPositionFromPath'](_0x217faa,_0x349421['path'],_0x349421['stickiness']);}class ns extends _0x5723f0{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5e5b12,_0x489ac9){super(_0x5e5b12),this['focusTracker']=new _0x1c1ebc(),this['keystrokes']=new _0x470f55(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x489ac9),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'](),_0xaaaf42({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3ce76d=_0x324f62=>_0x324f62['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ce76d),this['keystrokes']['set']('arrowleft',_0x3ce76d),this['keystrokes']['set']('arrowup',_0x3ce76d),this['keystrokes']['set']('arrowdown',_0x3ce76d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x19239d){this['revisionNameInputView']['fieldView']['element']['value']=_0x19239d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4af563){const _0x1ecb78=new at(this['locale'],_0x5e7b8f),_0x356b7a=_0x1ecb78['fieldView'];_0x356b7a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xf305a2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4af563&&(_0xf305a2+='\x20('+y(this['locale'],'optional')+')'),(_0x1ecb78['label']=_0xf305a2,_0x356b7a['on']('input',()=>{this['revisionNameInputValue']=_0x356b7a['element']['value']['trim']();}),_0x1ecb78);}}class u extends _0x2171d6{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x877f03=this['editor'],_0x1a831b=_0x877f03['plugins']['get']('RevisionTracker');_0x877f03['ui']['componentFactory']['add']('revisionHistory',_0x6fbfff=>{const _0x445642=_0x3c0269(_0x6fbfff),_0x49fb2b=_0x445642['panelView']['children'],_0x1f4a53=new te(_0x6fbfff),_0x4b9b13=new _0x1e1bcf(_0x6fbfff),_0x6c02fe=new _0x3dcb83(_0x6fbfff),_0x572380=new _0x1e1bcf(_0x6fbfff),_0x28c7cc=new _0x3dcb83(_0x6fbfff);return _0x445642['bind']('isEnabled')['to'](_0x1a831b,'isReady',_0x1a831b,'isEnabled',_0x877f03,'isReadOnly',(_0x3c9f52,_0x1772f5,_0x375797)=>_0x3c9f52&&_0x1772f5&&!_0x375797),_0x445642['buttonView']['set']({'icon':_0x51c227['history'],'label':y(_0x6fbfff,'Revision\x20history'),'tooltip':!0x0}),_0x6c02fe['set']({'label':y(_0x6fbfff,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x6c02fe['bind']('isEnabled')['to'](_0x1a831b,'isReady',_0x1a831b,'isEnabled',_0x877f03,'isReadOnly',(_0x477901,_0x131945,_0x3d2e25)=>_0x477901&&_0x131945&&!_0x3d2e25),_0x6c02fe['on']('execute',()=>this['_showDialog']()),_0x28c7cc['set']({'label':y(_0x6fbfff,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x28c7cc['bind']('isEnabled')['to'](_0x1a831b,'isReady',_0x877f03,'isReadOnly',(_0x205659,_0x183306)=>_0x205659&&!_0x183306),_0x28c7cc['on']('execute',()=>{_0x877f03['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x445642['isOpen']=!0x1,_0x877f03['editing']['view']['focus']();}),_0x4b9b13['children']['add'](_0x6c02fe),_0x572380['children']['add'](_0x28c7cc),_0x1f4a53['role']='menu',_0x1f4a53['items']['addMany']([_0x4b9b13,_0x572380]),_0x49fb2b['add'](_0x1f4a53),_0x445642;}),_0x877f03['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2362db=this['editor'],_0x40911c=_0x2362db['locale'],_0x191485=new _0x1035f1(_0x40911c),_0xf1d913=new _0x3a79c9(_0x40911c);_0x191485['buttonView']['set']({'icon':_0x51c227['history'],'label':y(_0x40911c,'Revision\x20history')});const _0x320058=new _0x2f789c(_0x40911c,_0x191485),_0x53a5ae=new _0x321130(_0x40911c);_0x53a5ae['set']({'label':y(_0x40911c,'Save\x20current\x20revision')}),_0x53a5ae['delegate']('execute')['to'](_0x191485),_0x53a5ae['on']('execute',()=>{this['_showDialog']();}),_0x320058['children']['add'](_0x53a5ae),_0xf1d913['items']['add'](_0x320058);const _0x2a317a=new _0x2f789c(_0x40911c,_0x191485),_0x1df996=new _0x321130(_0x40911c);return _0x1df996['set']({'label':y(_0x40911c,'Open\x20revision\x20history')}),_0x1df996['delegate']('execute')['to'](_0x191485),_0x1df996['on']('execute',()=>{_0x2362db['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2a317a['children']['add'](_0x1df996),_0xf1d913['items']['add'](_0x2a317a),_0x191485['panelView']['children']['add'](_0xf1d913),_0x191485;}['_showDialog'](){const _0x2dddb8=this['editor'],_0x502b18=_0x2dddb8['locale'],_0x4802db=_0x2dddb8['plugins']['get']('Dialog'),_0x59f15c=_0x2dddb8['plugins']['get']('RevisionTracker');function _0x505ef4(_0x163ce6){_0x2dddb8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x163ce6['revisionName']?_0x163ce6['revisionNameInputView']['errorText']=y(_0x502b18,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2dddb8['plugins']['get'](l)['saveRevision']({'name':_0x163ce6['revisionName']}),_0x4802db['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x505ef4(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4802db['show']({'id':'revisionSave','title':y(_0x502b18,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2dddb8['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x4802db['hide']()},{'label':y(_0x2dddb8['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1da0ed){_0x1da0ed['bind']('isEnabled')['to'](_0x59f15c,'isReady',_0x59f15c,'isEnabled',_0x2dddb8,'isReadOnly',(_0x170e6e,_0x3254b8,_0x351e6b)=>_0x170e6e&&_0x3254b8&&!_0x351e6b);},'onExecute':()=>_0x505ef4(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xbbeb21=this['editor'],_0x14ba8c=_0xbbeb21['locale'];this['_saveRevisionFormView']=new ns(_0x14ba8c,_0xbbeb21['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5723f0{['changeId'];['_model'];constructor(_0x40eabc,_0x49f290){super(_0x40eabc),this['_model']=_0x49f290,this['changeId']=_0x49f290['id'];const _0x384211=this['bindTemplate'],_0x1db981=y(_0x40eabc,_0x49f290['data']['isSuggestion']?'Suggested\x20by':'add'==_0x49f290['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x49f290['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x384211['to']('type',_0x46df9c=>'ck-revision-change__'+_0x46df9c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1db981}]},{'text':'\x20'+_0x49f290['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x1f2150(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4661be){super(),this['id']=_0x4661be['id']||_0x30d39c(),this['author']=_0x4661be['author'],this['type']=_0x4661be['type'],this['data']=_0x4661be['data']||{},this['rootName']=_0x4661be['rootName'],this['set']('createdAt',_0x4661be['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(_0x5388b3,_0x998b0c){this['newRevisionId']=_0x5388b3,this['oldRevisionId']=_0x998b0c,this['changes']=new _0x2a6897();}['_setChanges'](_0x382d88){for(const _0x21ec32 of _0x382d88)this['changes']['add'](_0x21ec32);}}const tt={'c':_0x10fe0c,'a':_0x4865fd,'e':_0x2fa390,'r':_0xe89c57,'u':_0x3e6b1a};class d extends _0x2171d6{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5d52d8,_0x26c435,A];}constructor(_0x3609be){super(_0x3609be),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',(_0x98f6d0,_0x2a521c,_0x5478c5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2b9664=>{for(const _0x11b4d6 of this['editor']['editing']['view']['document']['roots'])_0x5478c5?_0x2b9664['removeClass']('ck-editor__editable__overlay',_0x11b4d6):_0x2b9664['addClass']('ck-editor__editable__overlay',_0x11b4d6);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x414a79=>null!==_0x414a79),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x46a8ed,_0x45ba50,_0x1bd814)=>_0x46a8ed&&_0x1bd814?_0x45ba50['changes']['getIndex'](_0x1bd814):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2c06c7,_0x2a9681)=>_0x2c06c7?_0x2a9681['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x26c435);}['init'](){const _0x378f6a=this['editor'],_0xd23c9a=new yt(_0x378f6a,{'direction':'backward'}),_0x5e27f3=new yt(_0x378f6a,{'direction':'forward'});(_0x378f6a['commands']['add']('showPreviousChange',_0xd23c9a),_0x378f6a['commands']['add']('showNextChange',_0x5e27f3),_0x378f6a['commands']['add']('restoreRevision',new bt(_0x378f6a)),this['on']('change:numberOfChanges',()=>{_0xd23c9a['refresh'](),_0x5e27f3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x378f6a['enableReadOnlyMode']('revision-viewer'),_0x378f6a['plugins']['has']('WidgetToolbarRepository'))&&_0x378f6a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x22ae33){await this['loadRevisionData'](_0x22ae33);const _0x4aeccb={};for(const _0xc8e53a in _0x22ae33['diffData']){if(_0x22ae33['diffData'][_0xc8e53a]['attachChange']&&!_0x22ae33['diffData'][_0xc8e53a]['attachChange']['isAttached'])continue;const _0x47c448=this['_removeRevisionMarkers'](JSON['parse'](_0x22ae33['diffData'][_0xc8e53a]['insertions'])),_0x1200f5=this['editor']['editing']['view']['document'],_0x5196e4=new _0x1bca8d(_0x1200f5,_0x47c448['map'](_0x36f48c=>this['_getViewObj'](_0x36f48c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4aeccb[_0xc8e53a]=this['editor']['data']['processor']['toData'](_0x5196e4),this['editor']['data']['processor']['useFillerType']('default');}return _0x4aeccb;}async['getRevisionRootsAttributes'](_0x39da40){await this['loadRevisionData'](_0x39da40);const _0x1572f0={};for(const _0x5686a9 in _0x39da40['diffData'])_0x39da40['diffData'][_0x5686a9]['attachChange']&&!_0x39da40['diffData'][_0x5686a9]['attachChange']['isAttached']||(_0x1572f0[_0x5686a9]=_0x39da40['diffData'][_0x5686a9]['attributesAfter']||{});return _0x1572f0;}['_removeRevisionMarkers'](_0x582544){return(_0x582544=_0x582544['filter'](_0x2855c4=>!_0x2855c4['name']||'revision-start'!==_0x2855c4['name']&&'revision-end'!==_0x2855c4['name']))['forEach'](_0x25de10=>{'string'!=typeof _0x25de10&&(_0x25de10['children']=this['_removeRevisionMarkers'](_0x25de10['children']),_0x25de10['attributes']=_0x25de10['attributes']['filter'](_0x833717=>!_0x833717[0x0]['startsWith']('data-revision-')));}),_0x582544;}async['compare'](_0x23a8d1,_0x47211a,_0x4826de=!0x1){if(!this['isEnabled'])return;const _0x1444ec=this['diff'],_0x826433=this['repository'],_0x558e0c='string'==typeof _0x23a8d1?_0x826433['getRevision'](_0x23a8d1):_0x23a8d1,_0x5e7014='string'==typeof _0x47211a?_0x826433['getRevision'](_0x47211a):_0x47211a,_0x40719c=_0x558e0c['id'],_0x4b6b7e=_0x5e7014?_0x5e7014['id']:null;if(!_0x4826de&&this['diff']&&this['diff']['newRevisionId']===_0x40719c&&this['diff']['oldRevisionId']===_0x4b6b7e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x40719c,_0x4b6b7e);const _0x2712bc=this['_getRevisionsRange'](_0x558e0c,_0x5e7014,!0x0)['map'](_0x3903b0=>this['loadRevisionData'](_0x3903b0));return _0x2712bc['push'](new Promise(_0x342519=>{setTimeout(_0x342519,0x14);})),Promise['all'](_0x2712bc)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x55c194=this['_getDiff'](_0x40719c,_0x4b6b7e);for(const _0x54c92e of _0x55c194['changes'])this['_changeIdToChange']['set'](_0x54c92e['id'],_0x54c92e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x7a8dde=>{for(const _0x2299a6 of this['editor']['model']['document']['getRootNames']())_0x7a8dde['detachRoot'](_0x2299a6);for(const _0x26b6c7 of Object['keys'](_0x55c194['model'])){const _0x390fbe=_0x7a8dde['addRoot'](_0x26b6c7);for(const _0x2d603e of Object['keys'](_0x55c194['attributes'][_0x26b6c7]))_0x7a8dde['setAttribute'](_0x2d603e,_0x55c194['attributes'][_0x26b6c7][_0x2d603e],_0x390fbe);_0x7a8dde['insert'](_0x55c194['model'][_0x26b6c7],_0x390fbe,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x55c194['changes'])),this['isReady']=!0x0;})['catch'](_0x12117f=>{console['error'](_0x12117f),this['_cleanUp'](),_0x1444ec&&(this['diff']=_0x1444ec),this['isReady']=!0x0;});}['addRevisionData'](_0x3f5f69,_0x4ab6c0){const _0x16cd90=this['repository']['createRevision'](_0x3f5f69);return _0x16cd90['on']('_update',(_0xf7725e,_0x343b76,_0x1aead1)=>_0x4ab6c0(_0x343b76,_0x1aead1,_0x16cd90)),this['repository']['addRevision'](_0x16cd90),_0x16cd90;}['loadRevisionData'](_0x57fcde){if(!_0x57fcde||_0x57fcde['diffData'])return Promise['resolve']();{const _0x1ab470=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1ab470,'revisionId':_0x57fcde['id']})['then'](_0x1492bc=>{_0x57fcde['_update']({'diffData':_0x1492bc['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},_0x27753c=>{for(const _0x998344 of this['editor']['model']['document']['getRootNames']())_0x27753c['detachRoot'](_0x998344);});}['_sortAndFilterDiffChanges'](_0x4e6c72){const _0x198cb3=[],_0x3cd065=new Map();for(const _0xab5669 of this['editor']['model']['document']['getRootNames']()){const _0x392566=this['editor']['editing']['view']['getDomRoot'](_0xab5669);if(!_0x392566)continue;const _0x31c02a=_0x392566['getClientRects']()['item'](0x0);_0x31c02a&&(_0x198cb3['push'](_0xab5669),_0x3cd065['set'](_0xab5669,_0x31c02a));}return _0x198cb3['sort']((_0x40a21c,_0x49d420)=>{const _0x3d7568=_0x3cd065['get'](_0x40a21c),_0x528e7c=_0x3cd065['get'](_0x49d420);return _0x3d7568['y']-_0x528e7c['y']||_0x3d7568['x']-_0x528e7c['x'];}),(_0x4e6c72=_0x4e6c72['filter'](_0x876851=>_0x198cb3['includes'](_0x876851['rootName'])))['sort']((_0x633de4,_0x462cfa)=>_0x198cb3['indexOf'](_0x633de4['rootName'])-_0x198cb3['indexOf'](_0x462cfa['rootName'])),_0x4e6c72;}['_makeTape'](_0x32b889){const _0x69dcb2=Array['from'](_0x32b889['markers'])['filter'](([_0x37911b,_0x2e8154])=>_0x37911b['startsWith']('revision:')&&!_0x2e8154['isCollapsed']),_0x184c4c=Array['from'](this['editor']['model']['createRangeIn'](_0x32b889)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x69dcb2['length'])for(const _0x132361 of _0x184c4c){const [_0x46ad88,_0xd4bf22]=_0x69dcb2[0x0],[,_0x220ceb,_0x2196c6]=_0x46ad88['split'](':');if(_0xd4bf22['end']['isEqual'](_0x132361['nextPosition'])&&_0x69dcb2['shift'](),(_0x132361['previousPosition']['isEqual'](_0xd4bf22['start'])||_0x132361['previousPosition']['isAfter'](_0xd4bf22['start']))&&('insertion'==_0x220ceb?_0x132361['isAdded']={'userId':_0x2196c6}:'deletion'==_0x220ceb&&(_0x132361['isRemoved']={'userId':_0x2196c6})),0x0==_0x69dcb2['length'])break;}return _0x184c4c;}['_refreshStartEndIndex'](_0x2f89a5){const _0x541bfc=new Map();for(let _0x55e568=0x0;_0x55e568<_0x2f89a5['length'];_0x55e568++)'text'===_0x2f89a5[_0x55e568]['type']?(_0x2f89a5[_0x55e568]['item']['startIndex']=_0x55e568,_0x2f89a5[_0x55e568]['item']['endIndex']=_0x55e568):('elementStart'===_0x2f89a5[_0x55e568]['type']?_0x2f89a5[_0x55e568]['item']['startIndex']=_0x55e568:'elementEnd'===_0x2f89a5[_0x55e568]['type']&&(_0x2f89a5[_0x55e568]['item']['endIndex']=_0x55e568),_0x541bfc['set'](_0x2f89a5[_0x55e568]['id'],_0x55e568));for(const _0xc9eb8 of _0x541bfc['values']())'elementStart'===_0x2f89a5[_0xc9eb8]['type']?_0x2f89a5[_0xc9eb8]['item']['endIndex']=_0x541bfc['get'](_0x2f89a5[_0xc9eb8]['pairId']):'elementEnd'===_0x2f89a5[_0xc9eb8]['type']&&(_0x2f89a5[_0xc9eb8]['item']['startIndex']=_0x541bfc['get'](_0x2f89a5[_0xc9eb8]['pairId']));}['_processTape'](_0x2e742a){for(let _0x389b5c=0x0;_0x389b5c<_0x2e742a['length'];_0x389b5c++){if('elementStart'===_0x2e742a[_0x389b5c]['type'])_0x2e742a[_0x389b5c]['item']['startIndex']=_0x389b5c;else{if('elementEnd'===_0x2e742a[_0x389b5c]['type']){_0x2e742a[_0x389b5c]['item']['endIndex']=_0x389b5c;const _0x4ba2d4=_0x2e742a[_0x389b5c]['item']['startIndex'];_0x2e742a[_0x4ba2d4]['pairId']=_0x2e742a[_0x389b5c]['id'],_0x2e742a[_0x389b5c]['pairId']=_0x2e742a[_0x4ba2d4]['id'];}else _0x2e742a[_0x389b5c]['item']['startIndex']=_0x389b5c,_0x2e742a[_0x389b5c]['item']['endIndex']=_0x389b5c,_0x2e742a[_0x389b5c]['pairId']=null;}_0x2e742a[_0x389b5c]['markersStart']||(_0x2e742a[_0x389b5c]['markersStart']=[],_0x2e742a[_0x389b5c]['markersEnd']=[]);}}['_markInsertions'](_0x5e52a3,_0x2accf6){const _0x1ceba7=_0x5e52a3['filter'](_0x417b67=>!_0x417b67['isAdded']);for(let _0x2511c7=0x0;_0x2511c7<_0x2accf6['length'];_0x2511c7++)_0x2accf6[_0x2511c7]['isAdded']&&(_0x1ceba7[_0x2511c7]['isAdded']=_0x2accf6[_0x2511c7]['isAdded']);}['_makeModelFromViewString'](_0x5625ff){const _0x465865=JSON['parse'](_0x5625ff),_0x5bb7e7=this['editor']['editing']['view']['document'],_0x49212b=new _0x1bca8d(_0x5bb7e7,_0x465865['map'](_0x470a8f=>this['_getViewObj'](_0x470a8f)));return this['editor']['data']['toModel'](_0x49212b);}['_getViewObj'](_0x10d4da){const _0x1123b9=this['editor']['editing']['view']['document'];if('string'==typeof _0x10d4da)return new _0x46c763(_0x1123b9,_0x10d4da);{const _0x37b6e5=_0x10d4da['children']['map'](_0x4bc6d4=>this['_getViewObj'](_0x4bc6d4));return new(tt[_0x10d4da['type']]||_0x12c8d4)(_0x1123b9,_0x10d4da['name'],_0x10d4da['attributes'],_0x37b6e5);}}['_getDiff'](_0x31978f,_0x4e835e=null){const _0x1b47f5=this['repository']['getRevision'](_0x31978f),_0x439ec4=_0x4e835e?this['repository']['getRevision'](_0x4e835e):null,_0x202be0=this['_getRevisionsRange'](_0x1b47f5,_0x439ec4),_0x33e372=_0x202be0[_0x202be0['length']-0x1],_0x1a1ba8=new Map(),_0x186202={'model':{},'attributes':{},'changes':[]},_0x5518e3=new Set(),_0x1a4ac6=new Map();for(let _0x47f731=_0x202be0['length']-0x1;_0x47f731>=0x0;_0x47f731--){const _0x471e7c=_0x202be0[_0x47f731];for(const _0x34afae of Object['keys'](_0x471e7c['diffData']))if(_0x471e7c['diffData'][_0x34afae]['attachChange']){const _0x4305bc=_0x471e7c['diffData'][_0x34afae]['attachChange'];_0x4305bc['isAttached']?(_0x5518e3['add'](_0x34afae),_0x1a4ac6['has'](_0x34afae)&&_0x1a4ac6['get'](_0x34afae)['userId']==_0x4305bc['userId']?_0x1a4ac6['delete'](_0x34afae):_0x1a4ac6['set'](_0x34afae,_0x4305bc)):_0x1a4ac6['has'](_0x34afae)?(_0x5518e3['delete'](_0x34afae),_0x1a4ac6['delete'](_0x34afae)):(_0x5518e3['add'](_0x34afae),_0x1a4ac6['set'](_0x34afae,_0x4305bc));}else _0x5518e3['add'](_0x34afae);}for(const _0x288341 of _0x5518e3){const _0x15c31b=_0x1a4ac6['has'](_0x288341)&&!_0x1a4ac6['get'](_0x288341)['isAttached'];let _0x26fdb7=_0x15c31b?_0x202be0['length']-0x1:0x0;const _0xe61256=_0x15c31b?-0x1:0x1;for(;_0x202be0[_0x26fdb7];){const _0xfc26ef=_0x202be0[_0x26fdb7];if(_0xfc26ef['diffData'][_0x288341]){const _0x50f391=_0x15c31b?_0xfc26ef['diffData'][_0x288341]['attributesBefore']:_0xfc26ef['diffData'][_0x288341]['attributesAfter'];_0x186202['attributes'][_0x288341]=_0x50f391?_0x440803(_0x50f391):{};break;}_0x26fdb7+=_0xe61256;}}for(const _0x19f9cc of _0x202be0){_0x19f9cc['model']={};for(const _0x3b0861 of _0x19f9cc['authors'])_0x1a1ba8['set'](_0x3b0861['id'],_0x3b0861);for(const _0x41125a of _0x5518e3){const _0x21c34b=_0x19f9cc['diffData'][_0x41125a]?_0x19f9cc['diffData'][_0x41125a]['insertions']:'[]',_0x563737=_0x19f9cc['diffData'][_0x41125a]?_0x19f9cc['diffData'][_0x41125a]['deletions']:'[]';_0x19f9cc['model'][_0x41125a]={'insertions':this['_makeModelFromViewString'](_0x21c34b),'deletions':this['_makeModelFromViewString'](_0x563737)};}}for(const _0x224868 of _0x5518e3){let _0x5d018e=null,_0x40c200=0x0;const _0xe08440=new Map(Array['from'](_0x1b47f5['model'][_0x224868]['insertions']['markers'])['filter'](([_0x25130b])=>!_0x25130b['startsWith']('revision:')));let _0xab5b1=0x0;for(const _0x45a96d of _0x202be0){const _0x2a9f8d=this['_makeTape'](_0x45a96d['model'][_0x224868]['insertions']);_0x45a96d==_0x1b47f5?(_0x5d018e=_0x2a9f8d,_0x40c200=_0x5d018e['length'],_0x5d018e['forEach'](_0x5f435e=>{_0x5f435e['id']=_0xab5b1++;}),this['_processTape'](_0x5d018e)):this['_markInsertions'](_0x5d018e,_0x2a9f8d);const _0x60c74d=_0x5d018e['filter'](_0xcdcbca=>!_0xcdcbca['isAdded'])['map'](_0x2bc09c=>_0x2bc09c['id']);let _0x7264a3=0x0;const _0x45bc63=this['_makeTape'](_0x45a96d['model'][_0x224868]['deletions']);_0x45bc63['forEach'](_0x495bf9=>{_0x495bf9['isRemoved']?_0x495bf9['id']=_0x40c200++:_0x495bf9['id']=_0x60c74d[_0x7264a3++];}),this['_processTape'](_0x45bc63),this['_setDistance'](_0x5d018e,'isAdded'),this['_setDistance'](_0x45bc63,'isRemoved'),_0x45a96d==_0x1b47f5&&this['_markMarkers'](_0x5d018e,_0xe08440),_0x5d018e=this['_joinTapes'](_0x5d018e,_0x45bc63),this['_refreshStartEndIndex'](_0x5d018e),this['_setDistance'](_0x5d018e,'isRemoved');}_0x5d018e=_0x5d018e['filter'](_0x945912=>!(_0x945912['isAdded']&&_0x945912['isRemoved']));const _0x39380f=new Map(_0x33e372['model'][_0x224868]['deletions']['markers']),_0x53ae7c=new Set(_0xe08440['keys']());for(const _0x2b6550 of _0x39380f['keys']())_0x53ae7c['delete'](_0x2b6550);this['_markSuggestions'](_0x5d018e,_0x53ae7c),this['_fixObsoleteTags'](_0x5d018e),_0x5d018e=this['_removeMissingPairs'](_0x5d018e),_0x5d018e=this['_markMismatchedRemovedTags'](_0x5d018e),_0x5d018e=this['_removeUnsupportedChanges'](_0x5d018e);const {root:_0x451e50,changes:_0x5b3109}=this['_makeModelFromTape'](_0x5d018e,_0x1a1ba8,_0x224868);_0x186202['model'][_0x224868]=_0x451e50;const _0x1fbbf2=_0x1a4ac6['get'](_0x224868);if(_0x1fbbf2){const _0x59456f=_0x1a1ba8['get'](_0x1fbbf2['userId']),_0x4b27f0=new r({'author':_0x59456f,'type':_0x1fbbf2['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x224868});_0x5b3109['unshift'](_0x4b27f0),_0x186202['attributes'][_0x224868]['revisionHistoryAttachChange']=_0x4b27f0['id'];}_0x186202['changes']=_0x186202['changes']['concat'](_0x5b3109);}return _0x186202;}['_markMarkers'](_0xa80914,_0x46c96f){for(let _0x301e60=0x0;_0x301e60<_0xa80914['length'];_0x301e60++)for(const [_0x4d7403,_0xf8c88b]of _0x46c96f)_0xf8c88b['start']['isEqual'](_0xa80914[_0x301e60]['previousPosition'])&&_0xa80914[_0x301e60]['markersStart']['push'](_0x4d7403),_0xf8c88b['end']['isEqual'](_0xa80914[_0x301e60]['nextPosition'])&&_0xa80914[_0x301e60]['markersEnd']['push'](_0x4d7403);}['_joinTapes'](_0x129ef0,_0x743be2){let _0x98358e=[],_0x3b0bdf=0x0,_0x16ed85=0x0;for(;_0x3b0bdf<_0x129ef0['length']||_0x16ed85<_0x743be2['length'];){const _0x46d735=_0x129ef0[_0x3b0bdf]||{},_0x81987=_0x743be2[_0x16ed85]||{};if(_0x46d735['id']==_0x81987['id'])_0x3b0bdf++,_0x16ed85++,_0x98358e['push'](_0x46d735);else{if(_0x81987['isRemoved']&&_0x46d735['isAdded']){const {commonTape:_0x408232,iEnd:_0x535526,jEnd:_0x1630ad}=this['_threeWayMerge'](_0x129ef0,_0x3b0bdf,_0x743be2,_0x16ed85);_0x98358e=_0x98358e['concat'](_0x408232),_0x3b0bdf=_0x535526,_0x16ed85=_0x1630ad;}else _0x81987['isRemoved']?(_0x16ed85++,_0x98358e['push'](_0x81987)):(_0x3b0bdf++,_0x98358e['push'](_0x46d735));}}return _0x98358e;}['_markSuggestions'](_0xc5d476,_0xa0e6a8){const _0x3be198=[];for(let _0x4052bb=0x0;_0x4052bb<_0xc5d476['length'];_0x4052bb++){for(let _0x5b7746=0x0;_0x5b7746<_0xc5d476[_0x4052bb]['markersStart']['length'];_0x5b7746++){const _0xb5e96f=_0xc5d476[_0x4052bb]['markersStart'][_0x5b7746];if(!_0xa0e6a8['has'](_0xb5e96f))continue;const {group:_0x23313e,type:_0x926516,authorId:_0x1a54fc}=_0x27f821(_0xb5e96f);'revision-suggestion'!=_0x23313e||'insertion'!=_0x926516&&'deletion'!=_0x926516||(_0x3be198['unshift']({'type':_0x926516,'name':_0xb5e96f,'userId':_0x1a54fc}),_0xc5d476[_0x4052bb]['markersStart']['splice'](_0x5b7746,0x1),_0x5b7746--);}_0xbd306f(_0xc5d476[_0x4052bb]);for(let _0x29e77f=0x0;_0x29e77f<_0xc5d476[_0x4052bb]['markersEnd']['length'];_0x29e77f++){const _0x15ea39=_0xc5d476[_0x4052bb]['markersEnd'][_0x29e77f];if(!_0xa0e6a8['has'](_0x15ea39))continue;const {group:_0x45f52d,type:_0x476f03}=_0x27f821(_0x15ea39);if('revision-suggestion'!=_0x45f52d||'insertion'!=_0x476f03&&'deletion'!=_0x476f03)continue;_0xc5d476[_0x4052bb]['markersEnd']['splice'](_0x29e77f,0x1),_0x29e77f--;const _0x49e806=_0x3be198['findIndex'](_0x3545c9=>_0x3545c9['name']==_0x15ea39);_0x49e806>-0x1&&_0x3be198['splice'](_0x49e806,0x1);}}function _0x27f821(_0x318de3){const _0x4f4814=_0x318de3['split'](':');return{'group':_0x4f4814[0x0],'type':_0x4f4814[0x1],'subType':_0x4f4814['length']>=0x5?_0x4f4814[0x2]:null,'id':_0x4f4814['length']<0x5?_0x4f4814[0x2]:_0x4f4814[0x3],'authorId':_0x4f4814['length']<0x5?_0x4f4814[0x3]:_0x4f4814[0x4],'markerCount':0x6==_0x4f4814['length']?_0x4f4814[0x5]:null};}function _0xbd306f(_0x33549b){for(let _0x4cf562=0x0;_0x4cf562<_0x3be198['length'];_0x4cf562++){if(_0x33549b['isAdded']&&'insertion'==_0x3be198[_0x4cf562]['type'])return _0x33549b['isAddSuggestion']=_0x3be198[_0x4cf562],void delete _0x33549b['isAdded'];if(!_0x33549b['isAdded']&&!_0x33549b['isRemoved']&&'deletion'==_0x3be198[_0x4cf562]['type'])return void(_0x33549b['isRemoveSuggestion']=_0x3be198[_0x4cf562]);}}}['_setDistance'](_0x38ecdf,_0x3a5cb7){let _0x504167=0x0,_0x5f0809=!0x1;const _0x5ad2b8=new Map();for(const _0x388c49 of _0x38ecdf)_0x388c49[_0x3a5cb7]?_0x5f0809&&(_0x504167++,_0x5f0809=!0x1):(_0x504167++,_0x5f0809=!0x0),_0x5ad2b8['set'](_0x388c49['id'],_0x504167);for(let _0x44de1e=0x0;_0x44de1e<_0x38ecdf['length'];_0x44de1e++){if('isRemoved'==_0x3a5cb7&&_0x38ecdf[_0x44de1e]['isAdded']||'isAdded'==_0x3a5cb7&&_0x38ecdf[_0x44de1e]['isRemoved'])continue;if('text'==_0x38ecdf[_0x44de1e]['type']){_0x38ecdf[_0x44de1e]['distance']=0x0;continue;}const _0x3e29c0=_0x5ad2b8['get'](_0x38ecdf[_0x44de1e]['pairId']),_0x2130ef=_0x5ad2b8['get'](_0x38ecdf[_0x44de1e]['id']);_0x38ecdf[_0x44de1e]['distance']=_0x3e29c0-_0x2130ef;}}['_getRevisionsRange'](_0x4499d8,_0xf99a6,_0x2af7ab=!0x1){const _0x3e1fe2=[];let _0x17ffcb=this['repository']['getIndex'](_0x4499d8),_0x2a83f3=this['repository']['getIndex'](_0xf99a6);for(-0x1==_0x2a83f3&&(_0x2a83f3=this['repository']['_revisions']['length'],_0x2af7ab=!0x1);_0x17ffcb<_0x2a83f3;)_0x3e1fe2['push'](this['repository']['getRevision'](_0x17ffcb)),_0x17ffcb++;return _0x2af7ab&&_0x3e1fe2['push'](this['repository']['getRevision'](_0x17ffcb)),_0x3e1fe2;}['_threeWayMerge'](_0x22c606,_0x125575,_0x52e966,_0x1ad0ef){const _0x47d6aa=this['editor']['model']['schema'];let _0x2161f9=_0x125575;for(;_0x22c606[_0x2161f9]&&_0x22c606[_0x2161f9]['isAdded'];)_0x2161f9++;let _0x832d1c=_0x1ad0ef;for(;_0x52e966[_0x832d1c]&&_0x52e966[_0x832d1c]['isRemoved'];)_0x832d1c++;_0x1f71da(_0x22c606,_0x125575,_0x2161f9),_0x1f71da(_0x52e966,_0x1ad0ef,_0x832d1c);const _0x6bc213=_0x52e966['slice'](_0x1ad0ef,_0x832d1c)['concat'](_0x22c606['slice'](_0x125575,_0x2161f9));return _0x6bc213['sort']((_0x1a9ecf,_0x1cfe99)=>_0x1a9ecf['side']!=_0x1cfe99['side']?_0x1a9ecf['side']-_0x1cfe99['side']:_0x1a9ecf['level']!=_0x1cfe99['level']?_0x1a9ecf['level']-_0x1cfe99['level']:_0x1a9ecf['distance']!=_0x1cfe99['distance']?_0x1cfe99['distance']-_0x1a9ecf['distance']:!!_0x1a9ecf['isAdded']!=!!_0x1cfe99['isAdded']?-0x1==_0x1a9ecf['side']||0x0==_0x1a9ecf['side']?_0x1a9ecf['isAdded']?-0x1:0x1:_0x1a9ecf['isAdded']?0x1:-0x1:_0x1a9ecf['index']-_0x1cfe99['index']),{'commonTape':_0x6bc213,'iEnd':_0x2161f9,'jEnd':_0x832d1c};function _0x1f71da(_0x5906db,_0x218f39,_0x3aac3c){let _0x2623b1=-0x1,_0xba7cb6=Number['POSITIVE_INFINITY'],_0x358f9a=!0x0;for(let _0x3d863d=_0x218f39;_0x3d863d<_0x3aac3c;_0x3d863d++)if(_0x47d6aa['isInline'](_0x5906db[_0x3d863d]['item'])||(_0x358f9a=!0x1),_0x5906db[_0x3d863d]['item']['startIndex']<_0x218f39&&(_0x2623b1=_0x3d863d),_0x5906db[_0x3d863d]['item']['endIndex']>=_0x3aac3c){_0xba7cb6=_0x3d863d;break;}_0x358f9a&&(_0x2623b1=_0x3aac3c-0x1);for(let _0x257a4b=_0x218f39;_0x257a4b<_0x3aac3c;_0x257a4b++)_0x5906db[_0x257a4b]['side']=_0x257a4b<=_0x2623b1?-0x1:_0x257a4b<_0xba7cb6?0x0:0x1,_0x5906db[_0x257a4b]['index']=_0x257a4b;let _0x2e1e22=0x0;for(let _0x4ca4e8=_0x218f39;_0x4ca4e8<=_0x2623b1;_0x4ca4e8++)0x0==_0x5906db[_0x4ca4e8]['distance']?_0x5906db[_0x4ca4e8]['level']=_0x2e1e22:(_0x2e1e22++,_0x5906db[_0x4ca4e8]['level']=_0x2e1e22,_0x2e1e22++);for(let _0xc96af9=_0x218f39;_0xc96af9<_0x3aac3c;_0xc96af9++)0x0==_0x5906db[_0xc96af9]['side']&&(_0x5906db[_0xc96af9]['level']=_0x2e1e22);_0x2e1e22=0x0;for(let _0xba0bec=_0x3aac3c-0x1;_0xba0bec>=_0xba7cb6;_0xba0bec--)0x0==_0x5906db[_0xba0bec]['distance']?_0x5906db[_0xba0bec]['level']=_0x2e1e22:(_0x2e1e22--,_0x5906db[_0xba0bec]['level']=_0x2e1e22,_0x2e1e22--);}}['_fixObsoleteTags'](_0x536ef9){const _0x557893=new Map(),_0x5e16b2=this['editor']['model']['schema'];for(let _0xa553cb=0x1;_0xa553cb<_0x536ef9['length'];_0xa553cb++){let _0x4a142e,_0x3f8270,_0x4dfd34;const _0x1f16ab=_0x536ef9[_0xa553cb],_0x52230a=_0x536ef9[_0xa553cb-0x1];if('text'==_0x1f16ab['type'])continue;if(_0x1f16ab['type']!=_0x52230a['type'])continue;if(!_0x5e16b2['isBlock'](_0x52230a['item'])||_0x5e16b2['isLimit'](_0x52230a['item']))continue;if(!_0x5e16b2['isBlock'](_0x1f16ab['item'])||_0x5e16b2['isLimit'](_0x1f16ab['item']))continue;if((_0x536ef9[_0xa553cb]['isAdded']||_0x536ef9[_0xa553cb]['isAddSuggestion'])&&_0x536ef9[_0xa553cb-0x1]['isRemoved'])_0x4a142e=_0x536ef9[_0xa553cb],_0x3f8270=_0x536ef9[_0xa553cb-0x1],_0x4dfd34=_0xa553cb-0x1;else{if(!_0x536ef9[_0xa553cb]['isRemoved']||!_0x536ef9[_0xa553cb-0x1]['isAdded']&&!_0x536ef9[_0xa553cb-0x1]['isAddSuggestion'])continue;_0x4a142e=_0x536ef9[_0xa553cb-0x1],_0x3f8270=_0x536ef9[_0xa553cb],_0x4dfd34=_0xa553cb;}const _0x4cfb70=_0x4a142e['level']==_0x3f8270['level'],_0x3b4799=Math['abs'](_0x4a142e['level'])<Math['abs'](_0x3f8270['level'])&&0x0==_0x3f8270['distance'];(_0x4cfb70||_0x3b4799)&&(_0x557893['set'](_0x3f8270['id'],_0x4a142e['id']),_0x536ef9['splice'](_0x4dfd34,0x1),_0xa553cb--,_0x4a142e['isAdded']=!0x1);}for(let _0x3aca5e=0x0;_0x3aca5e<_0x536ef9['length'];_0x3aca5e++)_0x557893['has'](_0x536ef9[_0x3aca5e]['pairId'])&&(_0x536ef9[_0x3aca5e]['pairId']=_0x557893['get'](_0x536ef9[_0x3aca5e]['pairId']));}['_removeMissingPairs'](_0xd8531f){const _0x438a6=new Set(_0xd8531f['map'](_0x581124=>_0x581124['id']));for(let _0x113c1e=0x0;_0x113c1e<_0xd8531f['length'];_0x113c1e++)_0x438a6['has'](_0xd8531f[_0x113c1e]['pairId'])||0x0==_0xd8531f[_0x113c1e]['distance']||(_0xd8531f[_0x113c1e]['isIncorrect']=!0x0);return _0xd8531f['filter'](_0x4d441e=>!_0x4d441e['isIncorrect']);}['_markMismatchedRemovedTags'](_0x34798c){const _0x30fee8=new Set();for(let _0x420a76=0x0;_0x420a76<_0x34798c['length'];_0x420a76++){if(_0x30fee8['has'](_0x34798c[_0x420a76]['id'])&&_0x34798c[_0x420a76]['isRemoved']&&(_0x34798c[_0x420a76]['isIncorrect']=!0x0),_0x34798c[_0x420a76]['isIncorrect'])continue;if(0x0==_0x34798c[_0x420a76]['distance'])continue;if('elementStart'!=_0x34798c[_0x420a76]['type'])continue;if(null==_0x34798c[_0x420a76]['pairId'])continue;let _0x560df1=_0x420a76+0x1,_0x32d018=0x0;for(;_0x34798c[_0x560df1]['id']!=_0x34798c[_0x420a76]['pairId'];)'elementStart'==_0x34798c[_0x560df1]['type']?_0x32d018++:'elementEnd'==_0x34798c[_0x560df1]['type']&&_0x32d018--,_0x560df1++;if(0x0!=_0x32d018){if(_0x34798c[_0x420a76]['isRemoved'])_0x34798c[_0x420a76]['isIncorrect']=!0x0;else{for(;_0x560df1!=_0x420a76;)_0x34798c[_0x560df1]['isRemoved']&&0x0!=_0x34798c[_0x560df1]['distance']&&(_0x34798c[_0x560df1]['isIncorrect']=!0x0,_0x30fee8['add'](_0x34798c[_0x560df1]['pairId'])),_0x560df1--;}}}return _0x34798c['filter'](_0x4c232d=>!_0x4c232d['isIncorrect']);}['_removeUnsupportedChanges'](_0x39c70c){const _0x171472=this['editor']['model']['schema'];for(let _0x564a24=0x0;_0x564a24<_0x39c70c['length'];_0x564a24++){if(!(_0x39c70c[_0x564a24]['isAdded']||_0x39c70c[_0x564a24]['isAddSuggestion']||_0x39c70c[_0x564a24]['isRemoved']||_0x39c70c[_0x564a24]['isRemoveSuggestion']))continue;if(0x0==_0x39c70c[_0x564a24]['distance'])continue;const _0x1cc150=_0x39c70c[_0x564a24]['item'];_0x171472['isBlock'](_0x1cc150)||_0x171472['isLimit'](_0x1cc150)||(_0x39c70c[_0x564a24]['isAdded']&&delete _0x39c70c[_0x564a24]['isAdded'],_0x39c70c[_0x564a24]['isAddSuggestion']&&delete _0x39c70c[_0x564a24]['isAddSuggestion'],_0x39c70c[_0x564a24]['isRemoveSuggestion']&&delete _0x39c70c[_0x564a24]['isRemoveSuggestion'],_0x39c70c[_0x564a24]['isRemoved']&&(_0x39c70c[_0x564a24]['isIncorrect']=!0x0));}return _0x39c70c['filter'](_0x4c1522=>!_0x4c1522['isIncorrect']);}['_makeModelFromTape'](_0x4c3d43,_0x565a1f,_0x29a010){const _0x2937be=new wt(),_0x3edef2=[],_0x560ac9=new Map(),_0x54833a=this['editor']['model'],_0x5b615b=_0x54833a['schema'],_0x420028=[_0x2937be],_0x2efce5={},_0x38d55c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3ba14d=null;const _0x2594c2=[0x0];for(let _0x403d18=0x0;_0x403d18<_0x4c3d43['length'];_0x403d18++){let _0x3f24fb,_0x4d4164;if('elementStart'===_0x4c3d43[_0x403d18]['type']){_0x3f24fb=_0x54833a['createPositionFromPath'](_0x2937be,_0x2594c2);const _0x2f011c=new ft(_0x4c3d43[_0x403d18]['item']['name'],_0x4c3d43[_0x403d18]['item']['getAttributes']());_0x420028[0x0]['_appendChild'](_0x2f011c),_0x2594c2['push'](0x0),_0x420028['unshift'](_0x2f011c),_0x4d4164=_0x54833a['createPositionFromPath'](_0x2937be,_0x2594c2),_0x3ba14d=null;}else{if('elementEnd'===_0x4c3d43[_0x403d18]['type'])_0x420028['shift'](),_0x3f24fb=_0x54833a['createPositionFromPath'](_0x2937be,_0x2594c2),_0x2594c2['pop'](),_0x2594c2[_0x2594c2['length']-0x1]++,_0x4d4164=_0x54833a['createPositionFromPath'](_0x2937be,_0x2594c2),_0x3ba14d=null;else{if(_0x3f24fb=_0x54833a['createPositionFromPath'](_0x2937be,_0x2594c2),_0x3ba14d&&_0x3f9532(_0x3ba14d,_0x4c3d43[_0x403d18]['item']))_0x3ba14d['_data']+=_0x4c3d43[_0x403d18]['item']['data'];else{const _0x5e0794=new _t(_0x4c3d43[_0x403d18]['item']['data'],_0x4c3d43[_0x403d18]['item']['getAttributes']());_0x420028[0x0]['_appendChild'](_0x5e0794),_0x3ba14d=_0x5e0794;}_0x2594c2[_0x2594c2['length']-0x1]+=_0x4c3d43[_0x403d18]['item']['offsetSize'],_0x4d4164=_0x54833a['createPositionFromPath'](_0x2937be,_0x2594c2);}}for(const _0x49f2e3 of _0x4c3d43[_0x403d18]['markersStart'])_0x560ac9['set'](_0x49f2e3,{'start':_0x3f24fb,'end':null});_0x92d6a4('isRemoveSuggestion',_0x403d18,_0x3f24fb,_0x4d4164),_0x92d6a4('isAddSuggestion',_0x403d18,_0x3f24fb,_0x4d4164),_0x92d6a4('isRemoved',_0x403d18,_0x3f24fb,_0x4d4164),_0x92d6a4('isAdded',_0x403d18,_0x3f24fb,_0x4d4164);for(const _0x53b7a4 of _0x4c3d43[_0x403d18]['markersEnd']){_0x560ac9['get'](_0x53b7a4)['end']=_0x4d4164;}}for(const [_0x3c5187,_0x5146b7]of _0x560ac9){const _0x2cf45a=this['editor']['model']['createRange'](_0x5146b7['start'],_0x5146b7['end']);_0x2937be['markers']['set'](_0x3c5187,_0x2cf45a);}return _0x3edef2['sort']((_0x1ca942,_0x1bcf56)=>{const _0xee2a1b=_0x2937be['markers']['get']('revision:'+_0x1ca942['id']),_0x2e422d=_0x2937be['markers']['get']('revision:'+_0x1bcf56['id']);return _0xee2a1b['start']['isBefore'](_0x2e422d['start'])?-0x1:_0xee2a1b['start']['isAfter'](_0x2e422d['start'])?0x1:_0xee2a1b['end']['isBefore'](_0x2e422d['end'])?-0x1:_0xee2a1b['end']['isAfter'](_0x2e422d['end'])?0x1:'add'===_0x1ca942['type']?-0x1:0x1;}),{'root':_0x2937be,'changes':_0x3edef2};function _0x92d6a4(_0x402e95,_0x4c325e,_0x1a9518,_0x45601e){const _0x24afd4=!!_0x4c3d43[_0x4c325e][_0x402e95],_0x98458c=_0x24afd4?_0x4c3d43[_0x4c325e][_0x402e95]['userId']:null,_0x3885a7=_0x4c325e===_0x4c3d43['length']-0x1,_0x1071f0=_0x38d55c[_0x402e95][0x0],_0x190cbb=_0x5b615b['isObject'](_0x4c3d43[_0x4c325e]['item']);!_0x2efce5[_0x402e95]&&_0x24afd4?_0x2efce5[_0x402e95]={'start':_0x1a9518,'tapeItem':_0x4c3d43[_0x4c325e],'userId':_0x98458c,'type':_0x402e95}:_0x2efce5[_0x402e95]&&!_0x24afd4?(_0x2efce5[_0x402e95]['end']=_0x1a9518,_0x1ded16(_0x2efce5[_0x402e95]),_0x2efce5[_0x402e95]=null):_0x2efce5[_0x402e95]&&_0x24afd4&&_0x2efce5[_0x402e95]['userId']!==_0x98458c&&(_0x2efce5[_0x402e95]['end']=_0x1a9518,_0x1071f0&&_0x1071f0['userId']===_0x2efce5[_0x402e95]['userId']||_0x1ded16(_0x2efce5[_0x402e95]),_0x2efce5[_0x402e95]={'start':_0x1a9518,'tapeItem':_0x4c3d43[_0x4c325e],'userId':_0x98458c,'type':_0x402e95}),_0x2efce5[_0x402e95]&&_0x190cbb&&('elementStart'!==_0x4c3d43[_0x4c325e]['type']||_0x1071f0&&_0x1071f0['userId']===_0x98458c||_0x38d55c[_0x402e95]['unshift']({'userId':_0x98458c,'object':_0x4c3d43[_0x4c325e]['item'],'change':_0x2efce5[_0x402e95]}),'elementEnd'===_0x4c3d43[_0x4c325e]['type']&&_0x1071f0&&_0x1071f0['object']===_0x4c3d43[_0x4c325e]['item']&&(_0x38d55c[_0x402e95]['shift'](),_0x2efce5[_0x402e95]=_0x1071f0['change'])),_0x2efce5[_0x402e95]&&_0x3885a7&&(_0x2efce5[_0x402e95]['end']=_0x45601e,_0x1ded16(_0x2efce5[_0x402e95]),_0x2efce5[_0x402e95]=null);}function _0x1ded16({start:_0x5b80c2,end:_0x16a208,tapeItem:_0x2e4918,userId:_0x4625e1,type:_0x44869c}){const _0x58814d=_0x2e4918['item'],_0x1e2141=_0x54833a['schema']['isBlock'](_0x58814d)&&!_0x54833a['schema']['isLimit'](_0x58814d),_0x163696=_0x5b80c2['nodeAfter']==_0x16a208['parent']&&_0x16a208['isAtStart'];if(_0x1e2141&&_0x163696)return;const _0x30716b=_0x54833a['createRange'](_0x5b80c2,_0x16a208),_0x59e64c=_0x565a1f['get'](_0x4625e1),_0x5aa163=new r({'author':_0x59e64c,'type':'isAdded'==_0x44869c||'isAddSuggestion'==_0x44869c?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x44869c||'isRemoveSuggestion'==_0x44869c},'createdAt':new Date(),'rootName':_0x29a010});_0x3edef2['push'](_0x5aa163),_0x2937be['markers']['set']('revision:'+_0x5aa163['id'],_0x30716b);}function _0x3f9532(_0x2003fd,_0x7769ab){const _0x48351c=_0x2003fd['getAttributes'](),_0x4f919c=_0x7769ab['getAttributes']();for(const _0x21de32 of _0x48351c){if(_0x21de32[0x1]!==_0x7769ab['getAttribute'](_0x21de32[0x0]))return!0x1;_0x4f919c['next']();}return _0x4f919c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x562a6a=>{const _0x5770d2=_0x562a6a['markerName']['split'](':')[0x1],_0x124948=this['_getChangeFromId'](_0x5770d2);if(!_0x124948)return null;const _0x8841bf='add'==_0x124948['type']?'insertion':'deletion',_0xe3fbd6=['ck-suggestion-marker','ck-suggestion-marker-'+_0x8841bf];return _0x124948['data']['isSuggestion']&&_0xe3fbd6['push']('ck-suggestion-marker-'+_0x8841bf+'-new'),this['activeChange']==_0x124948&&_0xe3fbd6['push']('ck-suggestion-marker--active'),{'classes':_0xe3fbd6,'attributes':{'data-change-id':_0x5770d2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x40bfa3=>{_0x40bfa3['on']('element:pre',(_0x1d7220,_0x3fa16d,_0x31278e)=>{const _0x5a901b=_0x3fa16d['viewItem']['getChild'](0x0);if(!_0x5a901b||!_0x5a901b['is']('element','code'))return;if(!_0x31278e['consumable']['consume'](_0x5a901b,{'attributes':['vid_start','vid_end']}))return;const _0x3077e8=_0x3fa16d['modelRange']['start']['nodeAfter'];_0x31278e['writer']['setAttribute']('vid_start',_0x5a901b['getAttribute']('vid_start'),_0x3077e8),_0x31278e['writer']['setAttribute']('vid_end',_0x5a901b['getAttribute']('vid_end'),_0x3077e8);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x503f6b=>{_0x503f6b['on']('element',(_0x17a086,_0x223147,_0x156762)=>{if(!_0x156762['consumable']['consume'](_0x223147['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x223147['modelRange']['isCollapsed'])return;const _0x32ab8f=_0x223147['modelRange']['start']['nodeAfter'];_0x32ab8f['hasAttribute']('vid_start')||_0x32ab8f['hasAttribute']('vid')||(_0x156762['writer']['setAttribute']('vid_start',_0x223147['viewItem']['getAttribute']('vid_start'),_0x32ab8f),_0x156762['writer']['setAttribute']('vid_end',_0x223147['viewItem']['getAttribute']('vid_end'),_0x32ab8f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x564244=>_0x564244['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x354a19,[,_0x2c037f])=>{['vid_start','vid_end','vid']['includes'](_0x2c037f)&&(_0x354a19['return']=!0x0,_0x354a19['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2bacfc=>{_0x2bacfc['on']('attribute:vid',(_0x1890c9,_0x35eeab,_0x177dc5)=>{if('\x20'!=_0x35eeab['item']['data']||_0x35eeab['item']['parent']['maxOffset']>0x1)return;if(!_0x177dc5['consumable']['consume'](_0x35eeab['item'],_0x1890c9['name']))return;const _0x3cc9a3=_0x177dc5['writer'],_0x4418f2=_0x177dc5['mapper']['toViewRange'](_0x35eeab['range']);_0x3cc9a3['wrap'](_0x4418f2,_0x3cc9a3['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2f2b47){const _0xc53e2c=_0x2f2b47['plugins']['get']('RevisionViewer');return(_0x16e54b,_0x37a401,_0x288374)=>{const _0x4bed60=_0x37a401['markerName']['split'](':')[0x1],_0x486068=_0xc53e2c['_getChangeFromId'](_0x4bed60);if(!_0x486068)return null;const _0x8e16cc='add'==_0x486068['type']?'split':'merge';if(!_0x288374['consumable']['test'](_0x37a401['markerRange'],_0x16e54b['name']))return;const _0x44703f=_0x37a401['markerRange']['getWalker'](),_0x46be59=_0x37a401['markerRange']['start'],_0xc4ac24=_0x2f2b47['model']['schema'];let _0x21f525=null,_0xc3bc17=null,_0x79ca91=!0x1,_0xdca324=!0x1;for(const _0x5ace56 of _0x44703f){const _0x213a99=_0x5ace56['item'];_0x79ca91=_0x79ca91||_0xc4ac24['isContent'](_0x213a99);const _0x1292da=_0x288374['mapper']['toViewElement'](_0x213a99);if(_0x1292da&&_0x1292da['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5ace56['type']&&(_0xc4ac24['isBlock'](_0x213a99)&&!_0xc4ac24['isLimit'](_0x213a99)&&(_0x213a99['nextSibling']||_0x46be59['isAtEnd']?_0x21f525&&_0x21f525['parent']==_0x213a99||(_0x21f525=_0x213a99,_0x4a1ce3(_0x5ace56['previousPosition']),_0xdca324=!0x0):_0xc3bc17=_0xc3bc17||_0x5ace56['previousPosition']));}function _0x4a1ce3(_0x76b119){const _0x433ce6=_0x288374['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x8e16cc}),_0x46e1e1=_0x288374['mapper']['toViewPosition'](_0x76b119);_0x486068['data']['isSuggestion']&&_0x288374['writer']['addClass']('ck-suggestion-marker-'+_0x8e16cc+'-new',_0x433ce6),_0xc53e2c['activeChange']==_0x486068&&_0x288374['writer']['addClass']('ck-suggestion-marker--active',_0x433ce6),_0x288374['writer']['insert'](_0x46e1e1,_0x433ce6),_0x288374['mapper']['bindElementToMarker'](_0x433ce6,_0x37a401['markerName']);}_0x79ca91||_0xdca324||!_0xc3bc17||_0x4a1ce3(_0xc3bc17);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x46835e,_0x512f1d,_0x344720)=>{const _0x4865e7=_0x344720['mapper']['markerNameToElements'](_0x512f1d['markerName']);if(_0x4865e7){for(const _0x3ba3ec of _0x4865e7)(_0x3ba3ec['hasClass']('ck-suggestion-marker-split')||_0x3ba3ec['hasClass']('ck-suggestion-marker-merge'))&&(_0x344720['mapper']['unbindElementFromMarkerName'](_0x3ba3ec,_0x512f1d['markerName']),_0x344720['writer']['remove'](_0x3ba3ec));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x46fa0d,_0x35f336,_0x36cb60)=>{const _0x5f202d=_0x35f336['markerName']['split'](':')[0x1],_0x2bff61=this['_getChangeFromId'](_0x5f202d);if(!_0x2bff61)return null;const _0x3b8b91='add'==_0x2bff61['type']?'split':'merge';if(_0x36cb60['consumable']['test'](_0x35f336['markerRange'],_0x46fa0d['name']))for(const _0x2d40f8 of _0x35f336['markerRange']['getItems']()){if(!_0x2d40f8['is']('element','softBreak'))continue;const _0x48d72e=_0x36cb60['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3b8b91}),_0x5d3886=_0x36cb60['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2d40f8));_0x2bff61['data']['isSuggestion']&&_0x36cb60['writer']['addClass']('ck-suggestion-marker-'+_0x3b8b91+'-new',_0x48d72e),this['activeChange']==_0x2bff61&&_0x36cb60['writer']['addClass']('ck-suggestion-marker--active',_0x48d72e),_0x36cb60['writer']['insert'](_0x5d3886,_0x48d72e),_0x36cb60['mapper']['bindElementToMarker'](_0x48d72e,_0x35f336['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3038d5=>{for(const _0x45772e of this['editor']['model']['document']['getRootNames']()){const _0x4397ae=this['editor']['model']['document']['getRoot'](_0x45772e),_0x3dd254=this['editor']['editing']['view']['document']['getRoot'](_0x45772e);if(_0x3dd254){const _0x60cc98=_0x4397ae['getAttribute']('revisionHistoryAttachChange');if(_0x3038d5['removeAttribute']('data-change-id',_0x3dd254),_0x3038d5['removeClass']('ck-revision-history-root-add',_0x3dd254),_0x3038d5['removeClass']('ck-revision-history-root-remove',_0x3dd254),_0x3038d5['removeClass']('ck-revision-history-root--active',_0x3dd254),_0x60cc98){const _0x4cbfbf=this['_getChangeFromId'](_0x60cc98);if(!_0x4cbfbf)return null;_0x3038d5['setAttribute']('data-change-id',_0x60cc98,_0x3dd254),_0x3038d5['addClass']('ck-revision-history-root-'+_0x4cbfbf['type'],_0x3dd254),this['activeChange']==_0x4cbfbf&&_0x3038d5['addClass']('ck-revision-history-root--active',_0x3dd254);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5d8576=>'revision-comment:'+_0x5d8576,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1c1e76=>'revision-suggestion:'+_0x1c1e76,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xcc64ab=>({'name':'suggestion:'+_0xcc64ab,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xec0b6c=>{const _0x23e90f=_0xec0b6c['markerName']['split'](':')[0x1];return'insertion'!=_0x23e90f&&'deletion'!=_0x23e90f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x23e90f]};}}),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',(_0x4c0682,_0x296b45,_0x5c4ca5)=>{const _0x3d9a7c=_0x5c4ca5['mapper']['markerNameToElements'](_0x296b45['markerName']);if(_0x3d9a7c){for(const _0x153293 of _0x3d9a7c)_0x153293['is']('uiElement')&&(_0x5c4ca5['mapper']['unbindElementFromMarkerName'](_0x153293,_0x296b45['markerName']),_0x5c4ca5['writer']['remove'](_0x153293));}},{'priority':'high'});}['_getChangeFromId'](_0x2e9c72){return this['_changeIdToChange']['get'](_0x2e9c72);}['_getViewForChange'](_0x439be4){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x439be4),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1e4b54,_0x500729,_0x574de3,_0x158ea5)=>{_0x158ea5&&this['_balloon']['remove'](_0x158ea5),_0x574de3&&(this['_balloon']['add']({'view':_0x574de3,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xe4f461=this['editor']['editing'],_0x148c67=this['_getChangeFromId'](_0x574de3['changeId']);let _0x4a0d00;if(_0x148c67['data']['isOnRoot']){const _0xb3e547=_0xe4f461['view']['getDomRoot'](_0x148c67['rootName']);_0x4a0d00=Array['from'](_0xb3e547['getClientRects']());}else{const _0x2c5e64=this['editor']['model']['markers']['get']('revision:'+_0x574de3['changeId']);_0x4a0d00=Array['from'](_0xe4f461['mapper']['markerNameToElements'](_0x2c5e64['name']))['map'](_0x36d3cb=>_0xe4f461['view']['domConverter']['mapViewToDom'](_0x36d3cb))['map'](_0x1d1dff=>Array['from'](_0x1d1dff['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4a0d00[0x0];return _0x4a0d00['find'](_0x3605ab=>_0x3605ab['top']-0x3<=this['_activeViewTarget']['y']&&_0x3605ab['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3605ab['left']-0x3<=this['_activeViewTarget']['x']&&_0x3605ab['right']+0x3>=this['_activeViewTarget']['x'])||_0x4a0d00[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x431a30,_0x2d06ae,_0x2d21e3,_0x73dc1f)=>{this['activeView']=_0x2d21e3?this['_getViewForChange'](_0x2d21e3):null,this['editor']['model']['change'](()=>{const _0x373100=this['editor']['editing'];_0x73dc1f&&(_0x73dc1f['data']['isOnRoot']?_0x373100['view']['change'](_0x5a337c=>{_0x5a337c['removeClass']('ck-revision-history-root--active',_0x373100['view']['document']['getRoot'](_0x73dc1f['rootName']));}):_0x373100['reconvertMarker']('revision:'+_0x73dc1f['id'])),_0x2d21e3&&(_0x2d21e3['data']['isOnRoot']?_0x373100['view']['change'](_0x48cdd3=>{_0x48cdd3['addClass']('ck-revision-history-root--active',_0x373100['view']['document']['getRoot'](_0x2d21e3['rootName']));}):_0x373100['reconvertMarker']('revision:'+_0x2d21e3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xa30dcc,_0x4a998e)=>{if(this['activeChange'])return;const _0x31b67e=this['_findChangeIdFromDomTarget'](_0x4a998e['target']),_0x1ec168=this['_changeIdToChange']['get'](_0x31b67e);_0x1ec168?(this['_activeViewTarget']={'x':_0x4a998e['domEvent']['x'],'y':_0x4a998e['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1ec168)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xf63c00,_0x3ec48e)=>{const _0x58c862=this['_findChangeIdFromDomTarget'](_0x3ec48e['target']),_0x574fab=this['_changeIdToChange']['get'](_0x58c862);_0x574fab?(this['_activeViewTarget']={'x':_0x3ec48e['domEvent']['x'],'y':_0x3ec48e['domEvent']['y']},_0x574fab===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x574fab):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5173a8){do{const _0x2ba7b8=_0x5173a8['getAttribute']('data-change-id');if(_0x2ba7b8)return _0x2ba7b8;_0x5173a8=_0x5173a8['parent'];}while(_0x5173a8);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4f0d93=>{for(const _0x281d1a of this['editor']['model']['markers'])_0x4f0d93['removeMarker'](_0x281d1a);});}}function et(_0x577354,_0x4aeed1){return(_0x54c923,_0x6eab66,_0xc26ad6)=>{if(!_0xc26ad6['consumable']['test'](_0x6eab66['markerRange'],_0x54c923['name']))return;const _0x11669d=_0x6eab66['markerRange']['getWalker'](),_0x5106b6=_0x6eab66['markerRange']['start'],_0x575fa7=_0x577354['model']['schema'];let _0x35362e=null,_0x583c6f=null,_0x5c9255=!0x1,_0x4d5980=!0x1;for(const _0x59aa8c of _0x11669d){const _0x378391=_0x59aa8c['item'];_0x5c9255=_0x5c9255||_0x575fa7['isContent'](_0x378391);const _0x5b342a=_0xc26ad6['mapper']['toViewElement'](_0x378391);if(_0x5b342a&&_0x5b342a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x59aa8c['type']&&(_0x575fa7['isBlock'](_0x378391)&&!_0x575fa7['isLimit'](_0x378391)&&(_0x378391['nextSibling']||_0x5106b6['isAtEnd']?_0x35362e&&_0x35362e['parent']==_0x378391||(_0x35362e=_0x378391,_0x2ad914(_0x59aa8c['previousPosition']),_0x4d5980=!0x0):_0x583c6f=_0x583c6f||_0x59aa8c['previousPosition']));}function _0x2ad914(_0x47f63a){const _0x13feae=_0xc26ad6['mapper']['toViewPosition'](_0x47f63a),_0x2d0fc3=_0xc26ad6['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4aeed1});_0xc26ad6['writer']['insert'](_0x13feae,_0x2d0fc3),_0xc26ad6['mapper']['bindElementToMarker'](_0x2d0fc3,_0x6eab66['markerName']);}_0x5c9255||_0x4d5980||!_0x583c6f||_0x2ad914(_0x583c6f);};}class bt extends _0x261d4f{constructor(_0x109b46){super(_0x109b46);const _0x5539c7=_0x109b46['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x5539c7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5539c7,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xf01abb=this['editor'],_0x1122ab=_0xf01abb['plugins']['get'](d),_0x9249b8=_0x1122ab['isReady']?_0x1122ab['diff']['newRevisionId']:null;_0xf01abb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9249b8);}['refresh'](){const {isReady:_0x1752c4,isEnabled:_0x189d47}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x1752c4&&_0x189d47;}}class yt extends _0x261d4f{['_step'];constructor(_0xcf13fd,{direction:_0x1d6fbf}){super(_0xcf13fd);const _0x3606d5=_0xcf13fd['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1d6fbf?0x1:-0x1,this['listenTo'](_0x3606d5,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3606d5,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3606d5,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x55a1ee=this['editor'],_0x915509=_0x55a1ee['plugins']['get'](d),{isNavigationMode:_0x44aff0,currentChangeNumber:_0x4b8fd8}=_0x915509;let _0x5ac385;if(_0x915509['activeChange']=_0x44aff0?_0x915509['diff']['changes']['get'](_0x4b8fd8+this['_step']):_0x915509['diff']['changes']['first'],_0x915509['activeChange']['data']['isOnRoot'])_0x5ac385=_0x55a1ee['editing']['view']['getDomRoot'](_0x915509['activeChange']['rootName']);else{const _0x5918cf=_0x55a1ee['model']['markers']['get']('revision:'+_0x915509['activeChange']['id']);_0x5ac385=_0xba0d49(_0x55a1ee['editing'],_0x5918cf);}_0x1da905({'target':_0x5ac385,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4e53d8,currentChangeNumber:_0x404ac9,numberOfChanges:_0xadf1e9,isReady:_0x633ebe,isEnabled:_0x339fbe}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x339fbe&&_0x633ebe&&_0xadf1e9)&&(!_0x4e53d8||(0x1===this['_step']?_0x404ac9<_0xadf1e9-0x1:_0x404ac9>0x0));}}class _i extends _0x5723f0{constructor(_0x3971c3){super(_0x3971c3);const _0x412696=this['bindTemplate'],_0x4804b0=new _0x3dcb83(_0x3971c3),_0x2b2c13=new _0x3dcb83(_0x3971c3);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',(_0x3dda5e,_0x29e924)=>_0x3dda5e&&_0x29e924>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1be364,_0x251f1b,_0x5a4da9,_0x2b5df5)=>{if(!_0x1be364)return y(_0x3971c3,'Loading...');if(!_0x5a4da9)return y(_0x3971c3,'No\x20changes');const _0x1c3098=y(_0x3971c3,'NUMBER_OF_CHANGES',_0x5a4da9);return _0x2b5df5?y(_0x3971c3,'X_OF_Y_CHANGES',[_0x251f1b+0x1,_0x5a4da9]):_0x1c3098;}),_0x4804b0['set']({'label':y(_0x3971c3,'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'}),_0x2b2c13['set']({'label':y(_0x3971c3,'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'}),_0x4804b0['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2b2c13['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4804b0['on']('execute',()=>this['fire']('execute','backward')),_0x2b2c13['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',_0x412696['if']('_isStatusLabelVisible','ck-hidden',_0x4fdac9=>!_0x4fdac9)]},'children':[{'text':_0x412696['to']('isNavigationMode',_0x50d43f=>_0x50d43f?y(_0x3971c3,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3971c3,'Total')+':\x20')}]},{'text':_0x412696['to']('_statusText')}]},new _0x1fcf08(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4804b0,_0x2b2c13]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2171d6{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x375e6d=this['editor']['editing']['view'];_0x375e6d['change'](_0x317c62=>{for(const _0x2a9851 of _0x375e6d['document']['roots'])_0x317c62['addClass'](ce,_0x2a9851);});}['hide'](){const _0x4690ec=this['editor']['editing']['view'];_0x4690ec['change'](_0x11a0f2=>{for(const _0x42edf2 of _0x4690ec['document']['roots'])_0x11a0f2['removeClass'](ce,_0x42edf2);});}}class R extends _0x2171d6{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x45831d=this['editor'],_0x96d5d5=_0x45831d['plugins']['get'](d),_0x15d92c=_0x45831d['plugins']['get'](de);_0x45831d['ui']['componentFactory']['add']('exitToEditing',_0x33bb0e=>{const _0x5b1baa=new _0x3dcb83(_0x33bb0e);return _0x5b1baa['set']({'label':y(_0x33bb0e,'Back\x20to\x20editing'),'icon':_0x51c227['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5b1baa,'execute',()=>{_0x45831d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5b1baa;}),_0x45831d['ui']['componentFactory']['add']('restoreRevision',_0x5116d1=>{const _0x124c56=new _0x3dcb83(_0x5116d1);return _0x124c56['set']({'label':y(_0x5116d1,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x124c56['bind']('isEnabled')['to'](_0x45831d['commands']['get']('restoreRevision')),this['listenTo'](_0x124c56,'execute',()=>_0x45831d['execute']('restoreRevision')),_0x124c56;}),_0x45831d['ui']['componentFactory']['add']('changesNavigation',_0x4cfd7d=>{const _0x3044af=new _i(_0x4cfd7d),_0x1a2d03=_0x45831d['commands']['get']('showPreviousChange'),_0x5059d4=_0x45831d['commands']['get']('showNextChange');return _0x3044af['bind']('isBackwardNavigationEnabled')['to'](_0x1a2d03,'isEnabled'),_0x3044af['bind']('isForwardNavigationEnabled')['to'](_0x5059d4,'isEnabled'),_0x3044af['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x96d5d5),this['listenTo'](_0x3044af,'execute',(_0x256d83,_0x1ad45e)=>{_0x45831d['execute']('forward'===_0x1ad45e?'showNextChange':'showPreviousChange');}),_0x3044af;}),_0x15d92c['show'](),_0x96d5d5['on']('change:isReady',(_0xd15d2d,_0x4d4153,_0x3e1ad7)=>{_0x3e1ad7?_0x15d92c['hide']():_0x15d92c['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x595e03,_0x5b108a){super(_0x595e03,_0x5b108a);const _0xf13a3d=this['bindTemplate'];this['set']({'label':y(_0x595e03,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x595e03,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xf13a3d['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 _0x5c2256=this['fieldView']['element'];this['_tooltipString']=_0x5c2256['scrollWidth']>_0x5c2256['clientWidth']&&_0x5c2256['value']||'';}}class ti extends _0x5723f0{constructor(_0x2d12d2,_0x375f54,_0x38a6be){super(_0x2d12d2);const _0x12a0f7=new _0x11cf65();_0x12a0f7['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 _0x70cc66=['ck','ck-revision-history-sidebar__revision-author'];_0x38a6be&&_0x70cc66['push']('ck-revision-history-sidebar__revision-author_creator');const _0x6a2884=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2d12d2,_0x38a6be?'Revision\x20creator':'Revision\x20author')},'children':[_0x12a0f7,_0x375f54['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x70cc66},'children':_0x6a2884});}}function ni(_0x5bbee5,_0x5a94c6){const _0x38d671=_0x5bbee5['bindTemplate'],_0x450d1b=_0x5bbee5['locale'],_0x9c3d91=_0x3c0269(_0x450d1b);_0x9c3d91['panelPosition']='sw';const _0x293075=function(_0x3e2f61,_0x270ea8){const _0x1d0c59=function(_0x5ab18c,_0x448d4b){const _0x59c7c0=_0x5ab18c['locale'],_0x3ceb37={'Compare\x20against\x20selected':y(_0x59c7c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x59c7c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x59c7c0,'Restore\x20this\x20revision')};return _0x448d4b['map'](_0x293dae=>{const _0x2c7071=_0x3ceb37[_0x293dae['name']];return _0x2c7071&&_0x2c7071!==_0x293dae['name']&&(_0x293dae['name']=_0x2c7071),_0x293dae;});}(_0x3e2f61,_0x270ea8),_0x37f869=new _0x2a6897();for(const _0x45efb1 of _0x1d0c59){const _0x5a515e={'type':'button','model':new to({'label':_0x45efb1['name'],'class':_0x45efb1['class'],'withText':!0x0,'role':'menuitem','_action':_0x45efb1['action']})};_0x5a515e['model']['bind']('isEnabled')['to'](_0x3e2f61,'isActionsDropdownOpen',_0x5eddf6=>'function'!=typeof _0x45efb1['isEnabled']||(!_0x5eddf6||_0x45efb1['isEnabled'](_0x3e2f61))),_0x37f869['add'](_0x5a515e);}return _0x37f869;}(_0x5bbee5,_0x5a94c6);return _0x5bbee5['bind']('isActionsDropdownOpen')['to'](_0x9c3d91,'isOpen'),_0x9c3d91['buttonView']['set']({'label':y(_0x450d1b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x51c227['threeVerticalDots']}),_0x9c3d91['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x38d671['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x38d671['to'](_0x259fe5=>_0x259fe5['stopPropagation']())}}),_0x9c3d91['on']('execute',_0x26d7d8=>{_0x5bbee5['isReady']&&'function'==typeof _0x26d7d8['source']['_action']&&_0x26d7d8['source']['_action'](_0x5bbee5);}),_0x4e9db9(_0x9c3d91,_0x293075,{'role':'menu'}),_0x9c3d91['listenTo'](_0x5bbee5,'change:isActionsDropdownOpen',(_0x2095e9,_0xcfac63,_0x1de820)=>{if(_0x1de820)for(const _0x53b1a5 of _0x9c3d91['listView']['items']){const _0x54f825=_0x53b1a5['children']['first'],_0x5f0dae=_0x5a94c6['find'](_0xde5880=>_0xde5880['action']===_0x54f825['_action'])['isVisible'];_0x53b1a5['isVisible']=void 0x0===_0x5f0dae||_0x5f0dae(_0x5bbee5);}}),_0x9c3d91;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x24dae1(_0x5723f0){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x58eafe,_0x323c3c,_0x838d20,_0x2593fb){super(_0x58eafe);const _0x480bb3=this['bindTemplate'],_0x5c0838=function(_0x460d53,_0x46eae2){const _0x167863=Array['from'](_0x46eae2['authors'])['filter'](_0x4f27df=>_0x4f27df!=_0x46eae2['creator']);return _0x46eae2['creator']&&_0x167863['unshift'](_0x46eae2['creator']),_0x167863['map'](_0x9b96f1=>new ti(_0x460d53,_0x9b96f1,_0x9b96f1==_0x46eae2['creator']));}(_0x58eafe,_0x323c3c);this['id']=_0x323c3c['id'],this['_revision']=_0x323c3c,this['_requireRevisionName']=_0x2593fb,this['bind']('name','createdAt')['to'](_0x323c3c),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2bce89=>{return _0x439f10=_0x58eafe['uiLanguage'],(_0x409574=_0x2bce89)['toLocaleDateString'](_0x439f10,{'month':'long','day':'numeric'})+',\x20'+_0x409574['toLocaleTimeString'](_0x439f10,{'hour':'numeric','minute':'numeric'});var _0x439f10,_0x409574;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x58eafe,_0x5e7b8f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3137f7=>_0x3137f7||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2193f5,_0x2b1c89)=>_0x2193f5&&_0x2b1c89),this['revisionActionsView']=_0x838d20&&_0x838d20['length']?ni(this,_0x838d20):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x480bb3['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x480bb3['if']('isEnabled','ck-disabled',_0x1867e9=>!_0x1867e9),_0x480bb3['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x480bb3['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x480bb3['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':_0x480bb3['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':_0x5c0838}]},this['revisionActionsView']],'on':{'click':_0x480bb3['to'](_0x51ac32=>{_0x51ac32['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x38607b=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x38607b,'change',()=>{this['_requireRevisionName']&&!_0x38607b['value']||this['fire']('setName',{'id':this['id'],'name':_0x38607b['value']}),_0x38607b['value']||(_0x38607b['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(_0x3e947e,_0x2f24e4){const _0x5b2ae9=_0x1a7035['fromJSDate'](_0x3e947e)['setLocale'](_0x2f24e4),_0x446916=_0x1a7035['local'](),_0x166e8=_0x446916['minus']({'days':0x1})['startOf']('day');let _0x17f6d9,_0x37ba28;return _0x5b2ae9['hasSame'](_0x446916,'day')?(_0x17f6d9=_0x5b2ae9['startOf']('day')['toJSDate'](),_0x37ba28=_0x5b2ae9['toRelativeCalendar']()):_0x5b2ae9['hasSame'](_0x166e8,'day')?(_0x17f6d9=_0x166e8['toJSDate'](),_0x37ba28=_0x5b2ae9['toRelativeCalendar']()):_0x5b2ae9['hasSame'](_0x446916,'week')?(_0x17f6d9=_0x5b2ae9['startOf']('week')['toJSDate'](),_0x37ba28=_0x5b2ae9['weekdayLong']||''):_0x5b2ae9['hasSame'](_0x446916,'year')?(_0x17f6d9=_0x5b2ae9['startOf']('month')['toJSDate'](),_0x37ba28=_0x5b2ae9['monthLong']||''):(_0x17f6d9=_0x5b2ae9['startOf']('year')['toJSDate'](),_0x37ba28=String(_0x5b2ae9['year'])),{'startDate':_0x17f6d9,'localizedPeriodName':_0x37ba28};}class mi extends _0x5723f0{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xf2778d,_0x159515,_0x1254b7,_0x1f84f4){super(_0xf2778d);const _0x17ba39=di(_0x159515,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x159515,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1254b7,this['_requireRevisionName']=_0x1f84f4,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':_0x17ba39}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x24cf3c){const _0x35352b=new ai(this['locale'],_0x24cf3c,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x35352b);}['removeRevision'](_0x1bf94c){const _0x3dcc8c=this['revisionViews']['find'](_0x4ce831=>_0x4ce831['id']===_0x1bf94c['id']);this['revisionViews']['remove'](_0x3dcc8c);}}class as extends _0x5723f0{constructor(_0x413be6){super(_0x413be6);const _0xf5f52d=new _0x11cf65();_0xf5f52d['content']=_0x51c227['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xf5f52d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x413be6,'Revision\x20history')]}]});}}class ci extends _0x5723f0{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x315ebe,_0x146f13,_0x15d815,_0x33fa42){super(_0x315ebe);const _0x1565fd=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x146f13,this['_revisionActions']=_0x15d815,this['_requireRevisionName']=_0x33fa42,this['on']('select',(_0x1b106a,_0x1404bd)=>{this['fire']('revisionSelected',_0x1404bd);}),this['on']('setName',(_0x5bb5d2,_0x2d4ab5)=>{this['fire']('revisionSetName',_0x2d4ab5);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x315ebe),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1565fd['if']('isEnabled','ck-disabled',_0xcd645c=>!_0xcd645c)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x35a139 of this['_revisions'])this['_addRevision'](_0x35a139);this['_revisions']['on']('add',(_0x1efb8b,_0x106098)=>{this['_addRevision'](_0x106098);}),this['_revisions']['on']('remove',(_0x39f206,_0x880d3e)=>{this['_removeRevision'](_0x880d3e);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xc8ee62=>_0xc8ee62['revisionViews']['map'](_0x38ffcf=>_0x38ffcf))['flat']();}['selectRevision'](_0x493117){for(const _0x36db82 of this['revisionViews'])_0x493117&&_0x493117['id']===_0x36db82['id']?_0x36db82['select']():_0x36db82['deselect']();}['highlightRevisions'](_0x2f1984){for(const _0x2f3279 of this['revisionViews'])_0x2f1984['some'](({id:_0xd3a0df})=>_0xd3a0df===_0x2f3279['id'])?_0x2f3279['highlight']():_0x2f3279['unhighlight']();}['_addRevision'](_0x1e235c){const _0x23cd57=di(_0x1e235c['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2c02a1=this['timePeriodViews']['get'](0x0);_0x2c02a1&&_0x2c02a1['startDate']['getTime']()===_0x23cd57['getTime']()||(_0x2c02a1=new mi(this['locale'],_0x23cd57,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2c02a1)),_0x2c02a1['addRevision'](_0x1e235c);}['_removeRevision'](_0x57da1f){const _0x401533=di(_0x57da1f['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x401533)['removeRevision'](_0x57da1f);}['_getTimePeriodViewByStartDate'](_0x325524){return this['timePeriodViews']['find'](_0x301ed4=>_0x301ed4['startDate']['getTime']()===_0x325524['getTime']());}}class w extends _0x2171d6{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x12f93a,Context as _0x3cd5ef,PendingActions as _0xc14a2d,icons as _0x5541e0,Command as _0x5ce32f,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x4b6924,uid as _0x198eec,Collection as _0x311c03,logWarning as _0x52fa3d,FocusTracker as _0x599e73,KeystrokeHandler as _0x25860a,scrollViewportToShowTarget as _0x404bc,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5a438c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x36012e,getMarkerDomElement as _0x2a85ab,ConfirmMixin as _0x5ccfd3,sanitizeEditorConfig as _0x2a507b}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x42f1fd,ViewText as _0x4095d9,ViewElement as _0x701643,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x39425f,ViewAttributeElement as _0x1f0dbd,ViewEmptyElement as _0x5546b0,ViewRawElement as _0x5aa417,ViewUIElement as _0x139092,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2ade0a,set as _0x232db3,unset as _0x462d15,isEqual as _0x207774}from'lodash-es';import{View as _0x42a458,injectCssTransitionDisabler as ts,submitHandler as _0x428b3b,LabeledFieldView as at,createLabeledInputText as _0x49db80,createDropdown as _0xd5be72,ListView as te,ListItemView as _0x48e6bb,ButtonView as _0x5325a2,MenuBarMenuView as _0x420b21,MenuBarMenuListView as _0x25b9f8,MenuBarMenuListItemView as _0x1af06a,MenuBarMenuListItemButtonView as _0x218201,ContextualBalloon as _0x29d25c,ToolbarSeparatorView as _0x377461,IconView as _0x4c3354,addListToDropdown as _0x11a8c7,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 _0x2560e7}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x4b6924(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3c9aa6){super(),this['id']=_0x3c9aa6['id']||_0x198eec(),this['creator']=_0x3c9aa6['creator']||null,this['authors']=_0x3c9aa6['authors']||[],this['diffData']=_0x3c9aa6['diffData']||null,this['toVersion']=_0x3c9aa6['toVersion']||0x0,this['fromVersion']=_0x3c9aa6['fromVersion']||0x0,this['set']('name',_0x3c9aa6['name']||''),this['set']('createdAt',_0x3c9aa6['createdAt']||new Date()),this['set']('attributes',_0x3c9aa6['attributes']||{});}['setName'](_0x4c2529){this['_update']({'name':_0x4c2529});}['setAttribute'](_0x110116,_0x1aaa04){const _0x2887d4=_0x2ade0a(this['attributes']);_0x232db3(_0x2887d4,_0x110116,_0x1aaa04),this['_update']({'attributes':_0x2887d4});}['removeAttribute'](_0x1a7fd0){const _0x4aa5c5=_0x2ade0a(this['attributes']);_0x462d15(_0x4aa5c5,_0x1a7fd0),this['_update']({'attributes':_0x4aa5c5});}['_update'](_0x13517e,_0x4677e9=!0x1){let _0x14ef10=!0x1;const _0x30e931={'id':this['id']},_0x4ae08f=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x29e1a0 of _0x4ae08f){const _0x14cea3=_0x13517e[_0x29e1a0];void 0x0!==_0x14cea3&&_0x14cea3!==this[_0x29e1a0]&&(this[_0x29e1a0]=_0x14cea3,_0x30e931[_0x29e1a0]=_0x14cea3,_0x14ef10=!0x0);}_0x14ef10&&(_0x30e931['authors']&&(_0x30e931['authorsIds']=_0x30e931['authors']['map'](_0x5db800=>_0x5db800['id']),delete _0x30e931['authors']),this['fire']('_update',_0x30e931,_0x4677e9));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xca7d26=>_0xca7d26['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x12f93a{['_revisions'];static get['requires'](){return[_0x36012e];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4b6070){super(_0x4b6070),this['_revisions']=new _0x311c03();}['afterInit'](){!function(_0x3c9e25){function _0x5dd364(_0x3d5b67,_0x16a0cd,_0x232922){const _0xe3fa13={};_0xe3fa13[_0x458429([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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 _0x1a394f=new Uint8Array(0x10);for(let _0x58c27a=0xf;_0x58c27a>=0x0;--_0x58c27a)_0x1a394f[_0x58c27a]=_0x232922%0x100,_0x232922=parseInt(_0x232922/0x100);let _0x3dac33=null,_0x52e9bd=0x10;const _0x5059af=new Uint8Array(_0x16a0cd),_0x1d0377=[],_0x4196c2=[];_0x1aca3e();for(let _0x4eba40=0x0;_0x4eba40<_0x3d5b67[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eba40++)0x10===_0x52e9bd&&(_0x3dac33=_0x56f85f(_0x1a394f),_0x52e9bd=0x0,_0x2cd848(_0x1a394f)),_0x3d5b67[_0x4eba40]^=_0x3dac33[_0x52e9bd++];return _0x3d5b67;function _0x1b4ba9(_0x2cbbec){const _0x4c0d6f=[];for(let _0x576381=0x0;_0x576381<_0x2cbbec[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576381+=0x4)_0x4c0d6f[_0x458429([0x70,0x75,0x73,0x68])](_0x2cbbec[_0x576381]<<0x18|_0x2cbbec[_0x576381+0x1]<<0x10|_0x2cbbec[_0x576381+0x2]<<0x8|_0x2cbbec[_0x576381+0x3]);return _0x4c0d6f;}function _0x2cd848(_0x5ac3d8){for(let _0x39767c=0xf;_0x39767c>=0x0;_0x39767c--){if(0xff!==_0x5ac3d8[_0x39767c]){_0x5ac3d8[_0x39767c]++;break;}_0x5ac3d8[_0x39767c]=0x0;}}function _0x56f85f(_0x4fe6e2){const _0x5e38d3=_0x1d0377[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x463824=[0x0,0x0,0x0,0x0];let t=_0x1b4ba9(_0x4fe6e2);for(let _0x164aa9=0x0;_0x164aa9<0x4;_0x164aa9++)t[_0x164aa9]^=_0x1d0377[0x0][_0x164aa9];for(let _0x5a8736=0x1;_0x5a8736<_0x5e38d3;_0x5a8736++){for(let _0x1eb973=0x0;_0x1eb973<0x4;_0x1eb973++)_0x463824[_0x1eb973]=_0xe3fa13[_0x458429([0x54,0x31])][t[_0x1eb973]>>0x18&0xff]^_0xe3fa13[_0x458429([0x54,0x32])][t[(_0x1eb973+0x1)%0x4]>>0x10&0xff]^_0xe3fa13[_0x458429([0x54,0x33])][t[(_0x1eb973+0x2)%0x4]>>0x8&0xff]^_0xe3fa13[_0x458429([0x54,0x34])][0xff&t[(_0x1eb973+0x3)%0x4]]^_0x1d0377[_0x5a8736][_0x1eb973];t=_0x463824[_0x458429([0x73,0x6c,0x69,0x63,0x65])]();}const _0x18536b=new Uint8Array(0x10);let _0x2ce5c3;for(let _0x2e918a=0x0;_0x2e918a<0x4;_0x2e918a++)_0x2ce5c3=_0x1d0377[_0x5e38d3][_0x2e918a],_0x18536b[0x4*_0x2e918a]=0xff&(_0xe3fa13[_0x458429([0x53])][t[_0x2e918a]>>0x18&0xff]^_0x2ce5c3>>0x18),_0x18536b[0x4*_0x2e918a+0x1]=0xff&(_0xe3fa13[_0x458429([0x53])][t[(_0x2e918a+0x1)%0x4]>>0x10&0xff]^_0x2ce5c3>>0x10),_0x18536b[0x4*_0x2e918a+0x2]=0xff&(_0xe3fa13[_0x458429([0x53])][t[(_0x2e918a+0x2)%0x4]>>0x8&0xff]^_0x2ce5c3>>0x8),_0x18536b[0x4*_0x2e918a+0x3]=0xff&(_0xe3fa13[_0x458429([0x53])][0xff&t[(_0x2e918a+0x3)%0x4]]^_0x2ce5c3);return _0x18536b;}function _0x1aca3e(){const _0x3e87a7=_0xe3fa13[_0x458429([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5059af[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1ffc85=0x0;_0x1ffc85<=_0x3e87a7;_0x1ffc85++)_0x1d0377[_0x458429([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4196c2[_0x458429([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1cc27a=0x4*(_0x3e87a7+0x1),_0xb703f3=_0x5059af[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3e7a5b=_0x1b4ba9(_0x5059af);let _0x5dba00;for(let _0x19a1c9=0x0;_0x19a1c9<_0xb703f3;_0x19a1c9++)_0x5dba00=_0x19a1c9>>0x2,_0x1d0377[_0x5dba00][_0x19a1c9%0x4]=_0x3e7a5b[_0x19a1c9],_0x4196c2[_0x3e87a7-_0x5dba00][_0x19a1c9%0x4]=_0x3e7a5b[_0x19a1c9];let _0x2ee87a,_0xd3bb1=0x0,t=_0xb703f3;for(;t<_0x1cc27a;){_0x2ee87a=_0x3e7a5b[_0xb703f3-0x1],_0x3e7a5b[0x0]^=_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x10&0xff]<<0x18^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x8&0xff]<<0x10^_0xe3fa13[_0x458429([0x53])][0xff&_0x2ee87a]<<0x8^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x18&0xff]^_0xe3fa13[_0x458429([0x72,0x63,0x6f,0x6e])][_0xd3bb1]<<0x18,_0xd3bb1+=0x1;for(let _0xfcedb2=0x1;_0xfcedb2<_0xb703f3/0x2;_0xfcedb2++)_0x3e7a5b[_0xfcedb2]^=_0x3e7a5b[_0xfcedb2-0x1];_0x2ee87a=_0x3e7a5b[_0xb703f3/0x2-0x1],_0x3e7a5b[_0xb703f3/0x2]^=_0xe3fa13[_0x458429([0x53])][0xff&_0x2ee87a]^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x8&0xff]<<0x8^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x10&0xff]<<0x10^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x18&0xff]<<0x18;for(let _0x32890a=_0xb703f3/0x2+0x1;_0x32890a<_0xb703f3;_0x32890a++)_0x3e7a5b[_0x32890a]^=_0x3e7a5b[_0x32890a-0x1];let _0x2b6bd6,_0x3e9b45,_0x46853d=0x0;for(;_0x46853d<_0xb703f3&&t<_0x1cc27a;)_0x2b6bd6=t>>0x2,_0x3e9b45=t%0x4,_0x1d0377[_0x2b6bd6][_0x3e9b45]=_0x3e7a5b[_0x46853d],_0x4196c2[_0x3e87a7-_0x2b6bd6][_0x3e9b45]=_0x3e7a5b[_0x46853d++],t++;}for(let _0x5a4634=0x1;_0x5a4634<_0x3e87a7;_0x5a4634++)for(let _0x23f5b7=0x0;_0x23f5b7<0x4;_0x23f5b7++)_0x2ee87a=_0x4196c2[_0x5a4634][_0x23f5b7],_0x4196c2[_0x5a4634][_0x23f5b7]=_0xe3fa13[_0x458429([0x55,0x31])][_0x2ee87a>>0x18&0xff]^_0xe3fa13[_0x458429([0x55,0x32])][_0x2ee87a>>0x10&0xff]^_0xe3fa13[_0x458429([0x55,0x33])][_0x2ee87a>>0x8&0xff]^_0xe3fa13[_0x458429([0x55,0x34])][0xff&_0x2ee87a];}}function _0x458429(_0x261a8c){return _0x261a8c['map'](_0x4718ac=>String['fromCharCode'](_0x4718ac))['join']('');}(_0x30d10c=>{function _0x1b7386(){const _0x72a0b8=[{[_0x458429([0x69,0x64])]:0x1,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x458429([0x69,0x64])]:0x2,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([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]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x458429([0x69,0x64])]:0x3,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x458429([0x69,0x64])]:0x4,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([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]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x458429([0x69,0x64])]:0x5,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([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]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x6,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x7,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x8,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([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]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x9,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x458429([0x69,0x64])]:0xa,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([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]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([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]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([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]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0xb,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x458429([0x69,0x64])]:0xc,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x458429([0x69,0x64])]:0xd,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0xe,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x458429([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([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])},{[_0x458429([0x69,0x64])]:0xf,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x458429([0x69,0x64])]:0x10,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}}];return _0x30921b(_0x72a0b8),_0x72a0b8;function _0xe77f5f(_0x1f8179){return 0x1<<_0x1f8179-0x1;}function _0x30921b(_0xaaca59){_0xaaca59[_0x458429([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f2a8=>{_0x54f2a8[_0x458429([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xe77f5f(_0x54f2a8[_0x458429([0x69,0x64])]),_0x1f85a3(_0x54f2a8)&&_0x54f2a8[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x30921b(_0x54f2a8[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1f85a3(_0x2c7478){return _0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2c7478;}const _0x5e5736=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x22ae7e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x58084d(_0x15174c){const _0x554364=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x7510f2(_0x15174c,new Uint8Array([..._0x5e5736,..._0x554364,..._0x22ae7e]));}function _0x7510f2(_0x2ebae1,_0xdbbff7){const _0x470298=_0x36cdb8(_0x2ebae1),_0x4941fd=Array[_0x458429([0x66,0x72,0x6f,0x6d])](_0x1261c7(_0x470298)),_0x5c5838=_0x4941fd[_0x458429([0x70,0x6f,0x70])](),_0x28fb72=_0x4941fd[_0x458429([0x70,0x6f,0x70])]();return _0xd1c493(_0x5dd364(_0x4941fd,_0xdbbff7,_0x28fb72+0x100*_0x5c5838));}function _0x36cdb8(_0x2eeb16){const _0xdaea46=atob(_0x2eeb16),[_0x37e2fb,_0x5987bc]=_0xdaea46[_0x458429([0x73,0x70,0x6c,0x69,0x74])](_0x458429([0x2d]));try{if(atob(_0x5987bc))return atob(_0x37e2fb);}catch(_0x23e7b0){}return _0xdaea46;}function _0x311f25(_0x1531c7){try{const _0x3bee70=_0x58084d(_0x1531c7),_0x484391=JSON[_0x458429([0x70,0x61,0x72,0x73,0x65])](_0x3bee70),_0x1b843f=parseInt(_0x484391[_0x458429([0x31])]),_0x3617c8=_0x484391[_0x458429([0x32])]||'',_0x641b74=parseInt(_0x484391[_0x458429([0x33])]),_0x37b639=parseInt(_0x484391[_0x458429([0x34])])||0x0,_0x1987fc=parseInt(_0x484391[_0x458429([0x35])])||0x0;return{[_0x458429([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3617c8,[_0x458429([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x37b639,[_0x458429([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1b843f,[_0x458429([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x641b74,[_0x458429([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1987fc};}catch(_0x2539b5){return null;}}const _0x4297a8=_0x1b7386(),_0x4c4d24={[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2f00c3,[_0x458429([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])]:_0x2631c1,[_0x458429([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])]:_0x27fae9},_0x399736=_0x30d10c[_0x458429([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x24615c=_0x458429([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x30d10c?_0x30d10c['context']:_0x30d10c['editor'],_0x18788b=_0x458429([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x30]),_0x321b0e=_0x458429([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]),_0x35236a=_0x24615c['config']['get'](_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5a79fc=_0x4297a8[_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f85a3)[_0x458429([0x66,0x69,0x6e,0x64])](_0x35acdb=>_0x35acdb[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x399736);function _0x5eea46(_0x119e07,_0x983a60){_0x4c4d24[_0x983a60[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x119e07,_0x983a60),_0x983a60[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x983a60[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ea4c=>_0x1ace5a(_0x24615c,_0x21ea4c[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x458429([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x565e18=>_0x5eea46(_0x119e07,_0x565e18));}function _0x2f00c3(_0x5f3b18,_0x3b3ff4){_0x458e77(_0x337eec(_0x5f3b18,_0x3b3ff4),_0x3b3ff4);}function _0x2631c1(_0xc1c6f1,_0x3de13a){function _0x3d8090(_0x224490,_0xf50ed9){try{if(_0x1ace5a(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x224490){const _0x5d25bc=_0x1807c2(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x458429([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5d25bc)/0x2>_0x224490[_0x458429([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1b855b(_0xf50ed9[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x337eec(_0x224490,_0xf50ed9);}catch(_0x1fd4c1){return _0x1b855b(_0xf50ed9[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x458e77(_0x3d8090(_0xc1c6f1,_0x3de13a),_0x3de13a);}function _0x27fae9(_0xe21532,_0x47cbc5){const _0x9f0a7c=_0x22ae7e[0x0]*_0x5e5736[0x1],_0x35af5e=_0x22ae7e[0x0]*_0x5e5736[0x2],_0x22e015=_0x22ae7e[0x2]*_0x5e5736[0x2];_0x1ace5a(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1807c2(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x583628()]=_0x22e015);function _0x3175c2(_0x29e552,_0x5176f6){try{return _0x4e7b5f()?_0x1b855b(_0x5176f6[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x56,0x61,0x6c,0x69,0x64])):_0x337eec(_0x29e552,_0x5176f6);}catch(_0x5e6973){return _0x1b855b(_0x5176f6[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x16d6d2(_0xd718f8,_0x4b1849){const _0x55d777=0x7;if(_0xd718f8==_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3c812c();else{if(_0xd718f8==_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])){const _0x43d4f7=_0x3d57dd();_0x43d4f7&&_0x25ccf2(_0x43d4f7,_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5481b1=_0x5734f1();window[_0x458429([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25ccf2(_0x458429([0x74,0x69,0x6d,0x65]),_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5481b1);const _0x1cf63d=_0x1807c2(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x458429([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1cf63d[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x55d777?_0x25ccf2(_0x458429([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1cf63d['on'](_0x458429([0x61,0x64,0x64]),()=>{_0x1cf63d[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x55d777&&_0x25ccf2(_0x458429([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3d57dd(){if(!_0x1ace5a(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2dca8c in window)if(Number['isNaN'](Number(_0x2dca8c))){if(window[_0x2dca8c]===_0x9f0a7c)return _0x458429([0x74,0x69,0x6d,0x65]);if(window[_0x2dca8c]===_0x35af5e)return _0x458429([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e7b5f(){if(!_0x1ace5a(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5b4777 in window)if(Number['isNaN'](Number(_0x5b4777))&&window[_0x5b4777]===_0x22e015)return!0x0;return!0x1;}function _0x25ccf2(_0x2c9f5a,_0x6a6f30){_0x3c812c(),_0x1b855b(_0x6a6f30+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2c9f5a),window[_0x583628()]=_0x2c9f5a===_0x458429([0x74,0x69,0x6d,0x65])?_0x9f0a7c:_0x35af5e;}function _0x5734f1(){let _0x2e5fd5=_0x22ae7e[0x6]*_0x5e5736[0x8]*_0x5e5736[0x6];return _0x1ace5a(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2e5fd5/=0xa),_0x2e5fd5;}function _0x3c812c(){const _0x344b14=_0x24615c;function _0x9843a4(){_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4056bb,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4056bb,_0x344b14[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x344b14[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x344b14[_0x458429([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x458429([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4056bb,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4056bb);}_0x344b14[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x72,0x65,0x61,0x64,0x79])?_0x9843a4():_0x344b14[_0x458429([0x6f,0x6e,0x63,0x65])](_0x458429([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x9843a4(),_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x26ee5c=_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x442c81=_0x26ee5c['getRevision'](0x0),_0x1217e0=_0x26ee5c['getEarlierVisibleRevision'](_0x442c81[_0x458429([0x69,0x64])]);_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x442c81[_0x458429([0x69,0x64])],_0x1217e0?_0x1217e0[_0x458429([0x69,0x64])]:null,0x1)['then'](()=>_0x9843a4());}});}_0x16d6d2(_0x3175c2(_0xe21532,_0x47cbc5),_0x47cbc5);}function _0x337eec(_0x332190,_0x2a41d8){try{return _0x2c1e3d(_0x2a41d8)?_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x56,0x61,0x6c,0x69,0x64])):_0x332190&&_0x846fe2(_0x332190[_0x458429([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2a41d8)?_0x332190[_0x458429([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x458429([0x6f,0x70,0x65,0x6e])][_0x458429([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x18788b)/0x2>_0x332190[_0x458429([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x332190[_0x458429([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])):_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x56,0x61,0x6c,0x69,0x64])):_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4ccef5){return _0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x458e77(_0x4c2299,_0x4e9db0){if(_0x24615c instanceof _0x3cd5ef){const _0x4b32a6=_0x24615c;_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x40c353(_0x4b32a6):_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])&&window[_0x458429([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x40c353(_0x4b32a6),_0x1b855b(_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x22ae7e[0x6]*_0x5e5736[0x8]*_0x5e5736[0x6]),_0x4b32a6[_0x458429([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x458429([0x6f,0x6e])](_0x458429([0x61,0x64,0x64]),(_0x558b23,_0xc6e84b)=>{_0x4c2299!=_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4c2299!=_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4c2299!=_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2531df(_0xc6e84b);});}else{const _0x5aba18=_0x24615c;_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2531df(_0x5aba18):_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])&&_0x5aba18[_0x458429([0x6f,0x6e])](_0x458429([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4a6335=0x0;_0x5aba18[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x6f,0x6e])](_0x458429([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ba68a,_0x2fdf3d)=>{_0x2fdf3d[0x0][_0x458429([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a6335++,0x1f8===_0x4a6335&&(_0x2531df(_0x5aba18),_0x1b855b(_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1ba68a[_0x458429([0x6f,0x66,0x66])]());},{'priority':_0x458429([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1b855b(_0xe98fb2){const _0x9799b9=_0x583628();return _0x24615c[_0x9799b9]=_0xe98fb2,_0xe98fb2;}function _0x583628(){const _0x2967d9=String(window[_0x458429([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x458429([0x6e,0x6f,0x77])]())[_0x458429([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x458429([0x2e]),'');let _0x30cc0e='';for(let _0x3501fa=0x0;_0x3501fa<_0x2967d9[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3501fa+=0x2){let _0x165a94=parseInt(_0x2967d9[_0x458429([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3501fa,_0x3501fa+0x2));_0x165a94>=_0x321b0e[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x165a94-=_0x321b0e[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30cc0e+=_0x321b0e[_0x165a94];}return _0x30cc0e;}function _0x40c353(_0x477bd7){for(const _0x1be6a1 of _0x477bd7[_0x458429([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2531df(_0x1be6a1);_0x1807c2(_0x477bd7,_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x458429([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1807c2(_0x477bd7,_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x458429([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4056bb;}function _0x2531df(_0x37a79a){function _0x229a4f(){_0x37a79a[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x37a79a[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x37a79a[_0x458429([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x458429([0x6d,0x6f,0x64,0x65,0x6c]));}_0x37a79a[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x72,0x65,0x61,0x64,0x79])?_0x229a4f():_0x37a79a[_0x458429([0x6f,0x6e,0x63,0x65])](_0x458429([0x72,0x65,0x61,0x64,0x79]),()=>_0x229a4f());}function _0x4056bb(){return null;}function _0x846fe2(_0xf42311,_0x188976){const _0x2b3b1a=!!(_0xf42311&_0x188976[_0x458429([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3cab93=_0x4874b4(_0xf42311,_0x188976);return _0x2b3b1a||_0x3cab93;}function _0x4874b4(_0x4f475a,_0x30ebdb){const _0x513be2=(_0x30ebdb[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x458429([0x66,0x67,0x69])]||null;return!!_0x513be2&&_0x4297a8[_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x430e3c=>_0x513be2[_0x458429([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430e3c[_0x458429([0x69,0x64])]))[_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x413073=>!_0x35b681(_0x413073))[_0x458429([0x73,0x6f,0x6d,0x65])](_0x32ef9d=>!!(_0x4f475a&_0x32ef9d[_0x458429([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x35b681(_0x342b9e){const _0x2c7683={[_0x458429([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])]:_0x9ae9df};return!!_0x342b9e['forbiddenHandler']&&_0x2c7683[_0x342b9e['forbiddenHandler']]();}function _0x9ae9df(){return!window[_0x458429([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1ace5a(_0x24615c,_0x458429([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2c1e3d(_0x5eeea0){if(!_0x1ace5a(_0x24615c,_0x5eeea0[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x156e1a=_0x5eeea0[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x592065=_0x156e1a[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4a0b3b=_0x156e1a[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5dd3f8=_0x156e1a[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1ace5a(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1807c2(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x592065)return!0x0;if(_0x1ace5a(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1807c2(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x458429([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x458429([0x65,0x6e,0x64])&&_0x4a0b3b)return!0x0;return!(!_0x1ace5a(_0x24615c,_0x458429([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]))||_0x1807c2(_0x24615c,_0x458429([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]))[_0x458429([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x458429([0x65,0x6e,0x64])||!_0x5dd3f8);}function _0x1ace5a(_0x88867,_0xd49354){return _0x88867[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x458429([0x68,0x61,0x73])](_0xd49354);}function _0x1807c2(_0x5b11f3,_0x1a0b44){return _0x5b11f3[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x458429([0x67,0x65,0x74])](_0x1a0b44);}function _0xd1c493(_0x309c72){let _0x4774ab='';for(const _0x14e3c8 of _0x309c72)_0x4774ab+=String[_0x458429([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x14e3c8);return _0x4774ab;}function _0x1261c7(_0x6f0360){const _0x5435f7=new Uint8Array(_0x6f0360[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0xccd730=0x0;_0xccd730<_0x6f0360[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xccd730++)_0x5435f7[_0xccd730]=_0x6f0360[_0x458429([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xccd730);return _0x5435f7;}_0x5a79fc&&_0x5eea46(_0x311f25(_0x35236a),_0x5a79fc);})(_0x3c9e25);}(this);}['createRevision'](_0x5b8fad){const _0x1818ef=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b8fad['id'],'name':_0x5b8fad['name'],'creator':_0x5b8fad['creatorId']?_0x1818ef['getUser'](_0x5b8fad['creatorId']):null,'diffData':_0x5b8fad['diffData']||_0x5b8fad['data'],'authors':_0x5b8fad['authorsIds']['map'](_0x57660b=>_0x1818ef['getUser'](_0x57660b)),'createdAt':new Date(_0x5b8fad['createdAt']),'attributes':_0x5b8fad['attributes'],'fromVersion':_0x5b8fad['fromVersion'],'toVersion':_0x5b8fad['toVersion']});}['addRevision'](_0x7830d4,_0x2d6901=0x0){this['_revisions']['add'](_0x7830d4,_0x2d6901);}['getRevision'](_0x2c5233){return this['_revisions']['get'](_0x2c5233);}['getRevisions'](_0x48d2cc={'toJSON':!0x1}){const _0x4d0a1f=Array['from'](this['_revisions']);return _0x4d0a1f['reverse'](),_0x48d2cc['toJSON']?_0x4d0a1f['map'](_0x182ae0=>_0x182ae0['toJSON']()):_0x4d0a1f;}['getIndex'](_0xd156ec){return this['_revisions']['getIndex'](_0xd156ec);}['getEarlierVisibleRevision'](_0x47f3d1){const [,_0x5cfd9b]=this['getRevisionsIterator'](_0x47f3d1,{'direction':'earlier'});return _0x5cfd9b;}['getLaterVisibleRevision'](_0x46372f){const [,_0x6ace79]=this['getRevisionsIterator'](_0x46372f,{'direction':'later'});return _0x6ace79;}['getRevisionsInDiff'](_0x2aef30){const _0x5e10c9=[];for(const _0x2d6774 of this['getRevisionsIterator'](_0x2aef30['newRevisionId']))if(_0x5e10c9['push'](_0x2d6774),_0x2d6774['id']===_0x2aef30['oldRevisionId'])break;return _0x5e10c9;}*['getRevisionsIterator'](_0x3e753a,{direction:_0x4664f6='earlier',filter:_0xe2a8a1=_0x5035a3=>!0x0}={}){const _0xf77c14='earlier'===_0x4664f6?0x1:-0x1;let _0x17a45c=this['_revisions']['get'](_0x3e753a),_0x2e0ca1=this['getIndex'](_0x17a45c);for(yield _0x17a45c;_0x17a45c;){if(_0x2e0ca1+=_0xf77c14,_0x17a45c=this['getRevision'](_0x2e0ca1),!_0x17a45c)return;_0xe2a8a1(_0x17a45c)&&(yield _0x17a45c);}}}function y(_0x200b7b,_0x326dbe,_0x333f28){const t=_0x200b7b['t'];switch(_0x326dbe){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'},_0x333f28);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x333f28);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x39425f,'a':_0x1f0dbd,'e':_0x5546b0,'r':_0x5aa417,'u':_0x139092};class l extends _0x12f93a{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x36012e,A,_0xc14a2d];}constructor(_0x53d8a1){super(_0x53d8a1),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 _0x235351=_0x198eec();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x235351},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 _0x5eccf0=this['repository']['getRevision'](0x0),_0x4c99fb=_0x5eccf0&&null===_0x5eccf0['creator']?_0x5eccf0:null;if(this['_continueCurrentRevision']=!!_0x4c99fb&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x52c8aa=this['_source']['getCurrentRevisionId'](),_0x5cb464=this['repository']['getRevision'](_0x52c8aa);if(_0x5cb464)this['_startingVersion']=_0x5cb464['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5dcaad=this['_source']['history']['_operations']['find'](_0x250550=>!_0x250550['_isInit']),_0x45d2a5=_0x5dcaad?_0x5dcaad['baseVersion']:this['_source']['history']['version'];_0x5eccf0?(_0x5eccf0['toVersion']<_0x45d2a5&&_0x5eccf0['_update']({'toVersion':_0x45d2a5}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4c99fb['id'],this['_startingVersion']=_0x4c99fb['fromVersion']):(this['_startingVersion']=_0x5eccf0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x45d2a5,this['_continueCurrentRevision']=!0x1);}}else _0x4c99fb&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4c99fb['toVersion'],this['editor']['model']['document']['history']['version']),_0x4c99fb['fromVersion']===_0x4c99fb['toVersion']?(0x0!==_0x4c99fb['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c99fb['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c99fb['id'],this['_startingVersion']=_0x4c99fb['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',_0x2de1bb=>!_0x2de1bb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x382871=this['repository']['getRevision'](0x0),_0x2c93aa=await this['getRevisionDocumentData'](_0x382871),_0x56a2e0=await this['getRevisionRootsAttributes'](_0x382871);this['_replaceEditorDataWithRevisionData'](_0x2c93aa,_0x56a2e0);}}['setSource'](_0x4f3f64){this['_source']=_0x4f3f64;}async['update'](){const _0x215bac=await this['_source']['getLatestVersion']();if(_0x215bac>this['currentRevision']['toVersion']){await this['_loadState']();const _0x10dd3c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x215bac});_0x10dd3c['authors']=_0x10dd3c['authorsIds']['map'](_0x45c0ce=>this['editor']['plugins']['get']('Users')['getUser'](_0x45c0ce)),this['currentRevision']['_update'](_0x10dd3c);}}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'](_0x4d6239={},_0x2c1cba=null){const _0x4b9cbd=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2c1cba>this['currentRevision']['toVersion']&&(_0x2c1cba=null),null===_0x2c1cba&&(_0x2c1cba=await this['_source']['getLatestVersion']());const _0x33c17b=this['_getFromVersion'](_0x2c1cba),_0x23553a=this['buildRevisionData']({'from':_0x33c17b,'to':_0x2c1cba});if(this['currentRevision']['toVersion']<_0x2c1cba){const _0x1d01d1=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2c1cba,'to':_0x2c1cba});_0x1d01d1['authors']=[],_0x1d01d1['authorsIds']=[],_0x1d01d1['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1d01d1,!0x0),delete _0x1d01d1['authors'],_0x4b9cbd['push'](_0x1d01d1);}_0x4d6239['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4d6239['name']=_0x4d6239['name']||null,_0x4d6239['id']=_0x4d6239['id']||_0x198eec(),_0x4d6239={..._0x4d6239,..._0x23553a};const _0x31acb2=this['addRevisionData'](_0x4d6239);_0x4b9cbd['push'](_0x4d6239);const _0x10dcba=this['repository']['getIndex'](_0x31acb2);if(0x0!==_0x10dcba){const _0xc942d6=this['repository']['getRevision'](_0x10dcba-0x1);if(_0xc942d6['fromVersion']!==_0x2c1cba){const _0x54739b=this['_revisionDataBuilder']['getData'](_0x2c1cba,_0xc942d6['toVersion']),_0x39d2e9={'id':_0xc942d6['id'],'diffData':_0x54739b['diffData'],'authorsIds':_0x54739b['authorsIds'],'authors':_0x54739b['authorsIds']['map'](_0x110070=>this['editor']['plugins']['get']('Users')['getUser'](_0x110070)),'fromVersion':_0x2c1cba};_0xc942d6===this['currentRevision']&&(_0x39d2e9['createdAt']=new Date(_0x4d6239['createdAt']['getTime']()+0xa)),_0xc942d6['_update'](_0x39d2e9,!0x0),delete _0x39d2e9['authors'],_0x4b9cbd['push'](_0x39d2e9);}}if(this['adapter']){for(const _0x29d6b6 of _0x4b9cbd)this['_bufferUpdate'](_0x29d6b6['id'],_0x29d6b6,!0x0);this['sendBufferedUpdates']();}return _0x31acb2;}['addRevisionData'](_0x10aa15){const _0xb471a7=this['repository']['createRevision'](_0x10aa15);return this['adapter']&&_0xb471a7['on']('_update',(_0x3a6e33,_0x38e3f3,_0x1c2f1f)=>{_0x1c2f1f||(this['_bufferUpdate'](_0x38e3f3['id'],_0x38e3f3,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xb471a7,this['_findInsertionIndex'](_0xb471a7)),_0xb471a7;}async['getRevisionDocumentData'](_0x2f8dd9){await this['_loadRevisionData'](_0x2f8dd9);const _0x2d4946={};for(const _0x48a5f6 in _0x2f8dd9['diffData']){if(_0x2f8dd9['diffData'][_0x48a5f6]['attachChange']&&!_0x2f8dd9['diffData'][_0x48a5f6]['attachChange']['isAttached'])continue;const _0x4ec25b=this['_removeRevisionMarkers'](JSON['parse'](_0x2f8dd9['diffData'][_0x48a5f6]['insertions'])),_0x23515f=this['editor']['editing']['view']['document'],_0x1ff4d1=new _0x42f1fd(_0x23515f,_0x4ec25b['map'](_0x4198fa=>B(_0x4198fa,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2d4946[_0x48a5f6]=this['editor']['data']['processor']['toData'](_0x1ff4d1),this['editor']['data']['processor']['useFillerType']('default');}return _0x2d4946;}async['getRevisionRootsAttributes'](_0x1d4559){await this['_loadRevisionData'](_0x1d4559);const _0x4ed6a7={};for(const _0x27d0b5 in _0x1d4559['diffData'])_0x1d4559['diffData'][_0x27d0b5]['attachChange']&&!_0x1d4559['diffData'][_0x27d0b5]['attachChange']['isAttached']||(_0x4ed6a7[_0x27d0b5]=_0x1d4559['diffData'][_0x27d0b5]['attributesAfter']||{});return _0x4ed6a7;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1f3fcf=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x43dcdc=0x0;_0x43dcdc<_0x1f3fcf['length'];_0x43dcdc++){const _0x34af7e=_0x1f3fcf[_0x43dcdc];let _0x3b713b=!0x1;for(const _0x2acd39 of Object['keys'](_0x34af7e))void 0x0===_0x34af7e[_0x2acd39]?delete _0x34af7e[_0x2acd39]:'id'!==_0x2acd39&&(_0x3b713b=!0x0);_0x3b713b||(_0x1f3fcf[_0x43dcdc]=null);}if(_0x1f3fcf=_0x1f3fcf['filter'](_0x43af8f=>null!==_0x43af8f),!_0x1f3fcf['length'])return;for(let _0x334bdf=0x0;_0x334bdf<_0x1f3fcf['length'];_0x334bdf++){const _0x35f5bc=_0x1f3fcf[_0x334bdf];void 0x0!==_0x35f5bc['fromVersion']&&void 0x0===_0x35f5bc['toVersion']&&(_0x35f5bc['toVersion']=this['repository']['getRevision'](_0x35f5bc['id'])['toVersion']),void 0x0!==_0x35f5bc['toVersion']&&void 0x0===_0x35f5bc['fromVersion']&&(_0x35f5bc['fromVersion']=this['repository']['getRevision'](_0x35f5bc['id'])['fromVersion']);}const _0x91045c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1f3fcf,_0x91045c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3be0e4=>{if(_0x3be0e4){for(const _0x3ca45e of _0x3be0e4)this['setRevisionData']({'id':_0x3ca45e['id'],'createdAt':_0x3ca45e['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5bd9c6,_0x4dece9){let _0x22fbdb=this['editor']['config']['get']('initialData'),_0x4c25b3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x22fbdb){_0x22fbdb={};for(const _0x4f461c of this['editor']['model']['document']['getRootNames']())_0x22fbdb[_0x4f461c]='';}if('string'==typeof _0x22fbdb&&(_0x22fbdb={'main':_0x22fbdb}),void 0x0===_0x4c25b3){_0x4c25b3={};for(const _0x435e5b of this['editor']['model']['document']['getRootNames']())_0x4c25b3[_0x435e5b]={};}let _0x3dba67=!0x1;const _0x6998e2=Object['keys'](_0x22fbdb),_0x35806a=Object['keys'](_0x5bd9c6);for(const _0x36b47d of _0x6998e2){if(_0x22fbdb[_0x36b47d]!==_0x5bd9c6[_0x36b47d]&&''!==_0x22fbdb[_0x36b47d]['trim']()){_0x3dba67=!0x0;break;}if(!_0x207774(_0x4c25b3[_0x36b47d],_0x4dece9[_0x36b47d])&&Object['keys'](_0x4c25b3[_0x36b47d])['length']>0x0){_0x3dba67=!0x0;break;}}_0x3dba67||(_0x3dba67=_0x35806a['some'](_0x41da6b=>!this['editor']['model']['document']['getRoot'](_0x41da6b))),_0x3dba67&&_0x52fa3d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x22fbdb,'editorRootsAttributes':_0x4c25b3,'revisionData':_0x5bd9c6,'revisionRootsAttributes':_0x4dece9}),this['editor']['config']['set']('initialData',_0x5bd9c6),this['editor']['config']['set']('rootsAttributes',_0x4dece9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3e4802=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3e4802['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x481b3c){const _0x59130a=this['repository']['getRevisions']();_0x59130a['reverse']();let _0x5be6c5=0x0;for(;_0x5be6c5<_0x59130a['length'];){const _0xf77e68=_0x59130a[_0x5be6c5];if(_0xf77e68===this['currentRevision']){_0x5be6c5++;continue;}if(_0xf77e68['id']===this['_initialRevisionId'])break;const _0x383317=_0x481b3c['toVersion']-_0xf77e68['toVersion']||_0x481b3c['fromVersion']-_0xf77e68['fromVersion'];if(_0x383317>0x0)break;if(_0x383317<0x0)_0x5be6c5++;else{if(!_0x481b3c['creator']&&_0xf77e68['creator'])break;if(_0xf77e68['creator']||!_0x481b3c['creator']){if(_0x481b3c['createdAt']>_0xf77e68['createdAt'])break;_0x5be6c5++;}else _0x5be6c5++;}}return _0x5be6c5;}['setRevisionData'](_0x3f3387){const _0x5a40b2=this['repository']['getRevision'](_0x3f3387['id']);if(_0x3f3387['createdAt']&&(_0x3f3387['createdAt']=new Date(_0x3f3387['createdAt'])),_0x3f3387['authorsIds']){const _0x3459ba=this['editor']['plugins']['get']('Users');_0x3f3387['authors']=_0x3f3387['authorsIds']['map'](_0x4e6175=>_0x3459ba['getUser'](_0x4e6175));}_0x5a40b2['_update'](_0x3f3387,!0x0);}['buildRevisionData']({revision:_0x5b243c=null,from:_0x19be73=null,to:_0x2514a3=null}){_0x19be73=null!==_0x19be73?_0x19be73:_0x5b243c['fromVersion'],_0x2514a3=null!==_0x2514a3?_0x2514a3:_0x5b243c['toVersion'];const _0x397d52=this['_revisionDataBuilder']['getData'](_0x19be73,_0x2514a3),_0x64437a={'diffData':_0x397d52['diffData'],'authorsIds':_0x397d52['authorsIds'],'fromVersion':_0x19be73,'toVersion':_0x2514a3};if(!_0x5b243c||_0x2514a3!==_0x5b243c['toVersion']){const _0x4c7e14=_0x2514a3-0x1,_0x10c4f1=this['_source']['history']['getOperation'](_0x4c7e14);_0x64437a['createdAt']=_0x10c4f1&&_0x10c4f1['createdAt']||new Date();}if(this['_loadedStateData']&&_0x19be73===this['_loadedStateData']['fromVersion']){for(const _0x47c814 of this['_loadedStateData']['authors'])_0x64437a['authorsIds']['includes'](_0x47c814['id'])||_0x64437a['authorsIds']['push'](_0x47c814['id']);}return _0x64437a;}['_loadRevisionData'](_0x13be2b){if(!_0x13be2b||_0x13be2b['diffData'])return Promise['resolve']();{const _0x42a1a4=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x42a1a4,'revisionId':_0x13be2b['id']})['then'](_0x19088b=>{_0x13be2b['diffData']=_0x19088b['diffData'];});}}['_bufferUpdate'](_0x13ed69,_0x387fb6,_0x5f01a4){if(this['_bufferedUpdates']['has'](_0x13ed69)){const _0x3bce0b=this['_bufferedUpdates']['get'](_0x13ed69);_0x387fb6=_0x5f01a4?{..._0x3bce0b,..._0x387fb6}:{..._0x387fb6,..._0x3bce0b};}this['_bufferedUpdates']['set'](_0x13ed69,_0x387fb6);}['_getFromVersion'](_0x21c92b){const _0x1a737d=this['repository']['getRevisions']();_0x1a737d['reverse'](),_0x1a737d['shift']();const _0x255264=_0x1a737d['find'](_0x333033=>_0x333033['toVersion']<=_0x21c92b)['toVersion'];return _0x255264<this['_startingVersion']?this['_startingVersion']:_0x255264;}['_createInitialRevision'](_0x5996c9){const _0x57fd44=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x57fd44)this['_initialRevisionId']=_0x57fd44['id'];else{const _0x4fad46=!this['editor']['model']['document']['roots']['find'](_0x4301f2=>this['editor']['model']['hasContent'](_0x4301f2)),_0x1e6f7b=this['editor']['plugins']['get']('Users')['me']['id'],_0x376893=y(this['editor']['locale'],_0x4fad46?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5996c9,'to':_0x5996c9,'id':this['_initialRevisionId'],'name':_0x376893,'creatorId':_0x1e6f7b});}}['_createCurrentRevision'](_0x3b146b){const _0x61a8ee=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x61a8ee),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3b146b,'to':_0x3b146b,'id':_0x61a8ee,'name':'','creatorId':null}));}['_makeRevision']({name:_0x49d8ce,from:_0x482d92,to:_0x3a2b00,creatorId:_0x24d35d,id:_0x14708a}){const _0x46ebac=this['buildRevisionData']({'from':_0x482d92,'to':_0x3a2b00});_0x46ebac['name']=_0x49d8ce,_0x46ebac['creatorId']=_0x24d35d,_0x46ebac['id']=_0x14708a;const _0x11a910=this['addRevisionData'](_0x46ebac);return this['adapter']&&this['_bufferUpdate'](_0x46ebac['id'],_0x46ebac,!0x0),_0x11a910;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x170fa9){return(_0x170fa9=_0x170fa9['filter'](_0x181633=>!_0x181633['name']||'revision-start'!==_0x181633['name']&&'revision-end'!==_0x181633['name']))['forEach'](_0xc92aba=>{'string'!=typeof _0xc92aba&&(_0xc92aba['children']=this['_removeRevisionMarkers'](_0xc92aba['children']),_0xc92aba['attributes']=_0xc92aba['attributes']['filter'](_0x50eb92=>!_0x50eb92[0x0]['startsWith']('data-revision-')));}),_0x170fa9;}}function B(_0x3db1ee,_0x216b7c){const _0x3ad3b3=_0x216b7c['editing']['view']['document'];if('string'==typeof _0x3db1ee)return new _0x4095d9(_0x3ad3b3,_0x3db1ee);{const _0xb94f54=_0x3db1ee['children']['map'](_0x15bcdd=>B(_0x15bcdd,_0x216b7c));return new(T[_0x3db1ee['type']]||_0x701643)(_0x3ad3b3,_0x3db1ee['name'],_0x3db1ee['attributes'],_0xb94f54);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x123031){this['editor']=_0x123031,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'](_0xa2c307){this['source']=_0xa2c307;const _0x89bb1a=new Map(),_0x1cad74=new Map(),_0x298a91=this['editor']['model']['document']['roots']['map'](_0xd9e9d2=>_0xd9e9d2['rootName']);for(const _0x4cc07f of _0x298a91){const _0x241a42=this['editor']['model']['document']['getRoot'](_0x4cc07f),_0x28c76c=q(_0x241a42);_0x89bb1a['set'](_0x4cc07f,_0x28c76c),_0x1cad74['set'](_0x4cc07f,Object['fromEntries'](_0x241a42['getAttributes']()));}const _0x362518=Array['from'](this['editor']['model']['markers'])['map'](_0x4b2015=>[_0x4b2015['name'],_0x4b2015['getRange']()]),_0x444dfd=this['source']['version'];this['_saveMetaData'](_0x444dfd,_0x89bb1a,_0x362518,_0x1cad74),this['_startingRevisionId']=this['_revisionId'];const _0x2ff61c=new Map(),_0x1d3858=new Map();for(const _0x4a4920 of _0x298a91){const _0x236c6f=G(_0x4a4920);_0x2ff61c['set'](_0x4a4920,_0x236c6f),_0x1d3858['set'](_0x4a4920,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2ff61c,[],_0x1d3858);}['getData'](_0x418f29,_0x52e8c9){if(this['_lastFrom']===_0x418f29&&this['_lastTo']<=_0x52e8c9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x52e8c9,!0x0);else{if(!this['_savedMetaData']['has'](_0x418f29)){const _0x11954c=this['_getPreviousFrom'](_0x418f29);this['_calculateMetaData'](_0x11954c,_0x418f29,!0x1);}this['_calculateMetaData'](_0x418f29,_0x52e8c9,!0x0);}return this['_lastFrom']=_0x418f29,this['_lastTo']=_0x52e8c9,this['_getState']();}['loadState'](_0x11b33c){this['_reset'](),this['_lastFrom']=_0x11b33c['fromVersion'],this['_lastTo']=_0x11b33c['toVersion'];for(const _0x4e6376 in _0x11b33c['diffData']){const _0x20773f=_0x11b33c['diffData'][_0x4e6376]['attachChange'],_0x91431a=_0x2ade0a(_0x11b33c['diffData'][_0x4e6376]['attributesBefore'])||{},_0x511291=this['_makeModelFromViewString'](_0x11b33c['diffData'][_0x4e6376]['deletions']);_0x511291['rootName']=_0x4e6376,_0x511291['_isAttached']=!_0x20773f||!_0x20773f['isAttached'],_0x511291['isAttached']=()=>_0x511291['_isAttached'],this['_baseRoots']['set'](_0x4e6376,_0x511291),this['_baseRootsAttributes']['set'](_0x4e6376,_0x91431a),_0x20773f&&this['_touchedRoots']['set'](_0x4e6376,_0x20773f);const _0x552c52=this['_makeIdsRoot'](_0x511291);this['_baseIdsRoots']['set'](_0x4e6376,_0x552c52);for(const [_0x3a9a27,_0x46ce9c]of _0x511291['markers']){if(!_0x3a9a27['startsWith']('revision:'))continue;const _0x4327f4=_0x3a9a27['split'](':')[0x2];for(const _0x45beda of _0x46ce9c['getWalker']({'singleCharacters':!0x0})){const _0x4badd0=this['_getVidAttributeName'](_0x45beda),_0x10cc46='elementEnd'==_0x45beda['type']?_0x45beda['previousPosition']['path']['slice'](0x0,-0x1):_0x45beda['previousPosition']['path'],_0x2590a9=_0x552c52['getNodeByPath'](_0x10cc46)['getAttribute'](_0x4badd0);this['_touched']['set'](_0x2590a9,{'userId':_0x4327f4});}}}this['_startingRevisionId']=this['_revisionId'];const _0x42ae0f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x39450e=>!this['_touched']['has'](_0x39450e));let _0x536fed=0x0;const _0x919644=new Map();for(const _0x12d8e4 in _0x11b33c['diffData']){const _0x125afd=_0x11b33c['diffData'][_0x12d8e4]['attachChange'],_0x285f1f=_0x2ade0a(_0x11b33c['diffData'][_0x12d8e4]['attributesAfter'])||{},_0x49e439=this['_makeModelFromViewString'](_0x11b33c['diffData'][_0x12d8e4]['insertions']);_0x49e439['rootName']=_0x12d8e4,_0x49e439['_isAttached']=!_0x125afd||_0x125afd['isAttached'],_0x49e439['isAttached']=()=>_0x49e439['_isAttached'],this['_diffRoots']['set'](_0x12d8e4,_0x49e439),this['_diffRootsAttributes']['set'](_0x12d8e4,_0x285f1f);const _0x1ad587=this['_makeIdsRoot'](_0x49e439,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12d8e4,_0x1ad587),_0x919644['set'](_0x12d8e4,_0x49e439['isAttached']()?_0x285f1f:{});for(const [_0x16b4b8,_0x57acfb]of _0x49e439['markers']){if(!_0x16b4b8['startsWith']('revision:'))continue;const _0x58bb1b=_0x16b4b8['split'](':')[0x2];for(const _0x477fd7 of _0x57acfb['getWalker']({'singleCharacters':!0x0})){const _0x3d1fca=this['_getVidAttributeName'](_0x477fd7),_0xde2f5e=this['_revisionId']++,_0x5c9769='elementEnd'==_0x477fd7['type']?_0x477fd7['previousPosition']['path']['slice'](0x0,-0x1):_0x477fd7['previousPosition']['path'];_0x1ad587['getNodeByPath'](_0x5c9769)['_setAttribute'](_0x3d1fca,_0xde2f5e),this['_touched']['set'](_0xde2f5e,{'userId':_0x58bb1b});}}for(const _0x485d67 of this['editor']['model']['createRangeIn'](_0x49e439)['getWalker']({'singleCharacters':!0x0})){const _0x8e3004=this['_getVidAttributeName'](_0x485d67),_0x45f50d='elementEnd'==_0x485d67['type']?_0x485d67['previousPosition']['path']['slice'](0x0,-0x1):_0x485d67['previousPosition']['path'],_0x853307=_0x1ad587['getNodeByPath'](_0x45f50d);_0x853307['getAttribute'](_0x8e3004)>0x0||_0x853307['_setAttribute'](_0x8e3004,_0x42ae0f[_0x536fed++]);}for(const [_0x30cf6f,_0xa7f4f9]of _0x49e439['markers'])_0x30cf6f['startsWith']('revision:')||this['_markers']['set'](_0x30cf6f,_0xa7f4f9);}const _0x1d4ab2=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1d4ab2),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1d4ab2,0x1));const _0xd89b31=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xd89b31),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xd89b31,0x1));const _0x2c2bbc=Array['from'](this['_diffRoots'])['map'](([_0x37d3c5,_0x595c58])=>[_0x37d3c5,q(_0x595c58)]);this['_saveMetaData'](this['_lastTo'],_0x2c2bbc,this['_markers'],_0x919644);}['_makeModelFromViewString'](_0xdd1adf){const _0x32c5dc=JSON['parse'](_0xdd1adf),_0x57a9d4=this['editor']['editing']['view']['document'],_0x20b7c1=new _0x42f1fd(_0x57a9d4,_0x32c5dc['map'](_0x3edd5b=>B(_0x3edd5b,this['editor'])));return this['editor']['data']['toModel'](_0x20b7c1);}['_saveMetaData'](_0x27833e,_0x348cdb,_0x472903,_0x2737a7){const _0x2aaa49=new Map(_0x348cdb),_0x76e65f=new Map(_0x2ade0a(_0x2737a7)),_0x1b2838=new Map();for(const [_0x2f2116,_0x18e0db]of _0x472903)_0x1b2838['set'](_0x2f2116,{'start':_0x18e0db['start']['clone'](),'end':_0x18e0db['end']['clone'](),'rootName':_0x18e0db['root']['rootName']});this['_savedMetaData']['set'](_0x27833e,{'roots':_0x2aaa49,'markers':_0x1b2838,'rootsAttributes':_0x76e65f});}['_removeMetaData'](_0x14f07b){this['_savedMetaData']['delete'](_0x14f07b);}['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'](_0x504f88,_0x2810fb=null){let _0x5782cb=null;_0x504f88['is']('documentFragment')||(_0x5782cb=new ft(_0x504f88['name'],{'vid_start':null===_0x2810fb?this['_revisionId']++:_0x2810fb++}));const _0x4c690d=[];for(const _0x11923b of _0x504f88['getChildren']())if(_0x11923b['is']('element')){_0x4c690d['push'](this['_makeIdsRoot'](_0x11923b,_0x2810fb));const _0xf0c12=_0x4c690d[_0x4c690d['length']-0x1];null!==_0x2810fb&&(_0x2810fb=_0xf0c12['is']('element','$text')?_0xf0c12['getAttribute']('vid')+0x1:_0xf0c12['getAttribute']('vid_end')+0x1);}else{for(let _0x5461c8=0x0;_0x5461c8<_0x11923b['offsetSize'];_0x5461c8++)_0x4c690d['push'](new ft('$text',{'vid':null===_0x2810fb?this['_revisionId']++:_0x2810fb++}));}if(_0x504f88['is']('documentFragment')){const _0x2ee131=G(_0x504f88['rootName']);return _0x2ee131['_insertChild'](0x0,_0x4c690d),_0x2ee131;}return _0x5782cb['_setAttribute']('vid_end',null===_0x2810fb?this['_revisionId']++:_0x2810fb++),_0x5782cb['_insertChild'](0x0,_0x4c690d),_0x5782cb;}['_calculateMetaData'](_0x182fd3,_0xb2e2c8,_0xd47b4b){this['_reset']();const {roots:_0x237289,markers:_0x3a5aa6,rootsAttributes:_0xb47f42}=this['_savedMetaData']['get'](_0x182fd3);this['_baseRoots']=new Map(_0x237289),this['_baseRootsAttributes']=new Map(_0x2ade0a(_0xb47f42));for(const [_0x4f857d,_0x1f0008]of this['_baseRoots'])if('$graveyard'!==_0x4f857d&&(this['_diffRoots']['set'](_0x4f857d,q(_0x1f0008)),this['_diffRootsAttributes']=new Map(_0x2ade0a(_0xb47f42)),_0xd47b4b)){const _0xb91bdb=this['_revisionId'];this['_idsRoots']['set'](_0x4f857d,this['_makeIdsRoot'](_0x1f0008)),this['_baseIdsRoots']['set'](_0x4f857d,this['_makeIdsRoot'](_0x1f0008,_0xb91bdb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xd47b4b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3a976e,_0x92b1db]of _0x3a5aa6){const _0x4c727d=this['_baseRoots']['get'](_0x92b1db['rootName']),_0x5913e4=this['_diffRoots']['get'](_0x92b1db['rootName']),_0x1aff16=new vt(this['_fixPosition'](_0x92b1db['start'],_0x4c727d),this['_fixPosition'](_0x92b1db['end'],_0x4c727d)),_0x31f734=this['_fixRange'](_0x1aff16,_0x5913e4);_0x4c727d['markers']['set'](_0x3a976e,_0x1aff16),this['_markers']['set'](_0x3a976e,_0x31f734);}this['_applyOperations'](_0x182fd3,_0xb2e2c8,_0xd47b4b);}['_applyOperations'](_0x561d5d,_0x2161ba,_0x2c3d26){for(const _0x3caaba of this['source']['getOperations'](_0x561d5d,_0x2161ba))this['_handleOperation'](_0x3caaba,_0x2c3d26);for(const _0x57c001 of this['_diffRoots']['values']())_0x57c001['markers']['clear']();for(const [_0x10ba7e,_0x37444c]of this['_markers']){this['_diffRoots']['get'](_0x37444c['root']['rootName'])['markers']['set'](_0x10ba7e,_0x37444c['clone']());}const _0x38f089=new Map(),_0x5e126b=new Map();for(const [_0x4c86db,_0x57d21e]of this['_diffRoots'])_0x38f089['set'](_0x4c86db,q(_0x57d21e)),_0x5e126b['set'](_0x4c86db,this['_diffRootsAttributes']['get'](_0x4c86db));this['_saveMetaData'](_0x2161ba,_0x38f089,this['_markers'],_0x5e126b);}['_getPreviousFrom'](_0x4f4d72){const _0x2727a0=Array['from'](this['_savedMetaData']['keys']());_0x2727a0['sort']((_0x3d6058,_0x4a80ab)=>_0x3d6058-_0x4a80ab),_0x2727a0['reverse']();for(const _0x1c0c21 of _0x2727a0)if(_0x1c0c21<_0x4f4d72)return _0x1c0c21;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x161800,_0x389d11){const _0x557092=Array['from'](_0x389d11['markers'])['map'](([_0x2a7a49,_0x46a01c])=>[_0x2a7a49,this['_fixRange'](_0x46a01c,_0x161800)]);_0x161800['markers']=new Map(_0x557092);}['_transformMarkers'](_0x174958){for(const _0x58afa1 of this['_markers']['values']()){const _0x2daeeb=_0x58afa1['getTransformedByOperation'](_0x174958),_0x343ec5=vt['_createFromRanges'](_0x2daeeb);_0x58afa1['start']=_0x343ec5['start'],_0x58afa1['end']=_0x343ec5['end'];}}['_handleOperation'](_0x29793d,_0x5a37da){if('addRoot'==_0x29793d['type']||'detachRoot'==_0x29793d['type'])return void this['_handleRootOperation'](_0x29793d,_0x5a37da);if('insert'==_0x29793d['type']){const _0x2d9481=_0x29793d['position']['root']['rootName'];this['_diffRoots']['has'](_0x2d9481)||(this['_diffRoots']['set'](_0x2d9481,G(_0x2d9481,!0x0)),this['_diffRootsAttributes']['set'](_0x2d9481,{}),_0x5a37da&&this['_idsRoots']['set'](_0x2d9481,G(_0x2d9481,!0x0)));}else{if('addRootAttribute'==_0x29793d['type']||'removeRootAttribute'==_0x29793d['type']||'changeRootAttribute'==_0x29793d['type'])return void this['_handleRootAttributeOperation'](_0x29793d);}const _0x3dd832=this['_cloneOperation'](_0x29793d,this['_diffRoots']);if('marker'!==_0x29793d['type']&&(_0x3dd832['_execute'](),this['_transformMarkers'](_0x3dd832)),_0x5a37da)switch(_0x3dd832['type']){case'insert':this['_handleInsertOperation'](_0x29793d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x29793d);break;case'merge':this['_handleMergeOperation'](_0x29793d);break;case'split':this['_handleSplitOperation'](_0x29793d);break;case'marker':this['_handleMarkerOperation'](_0x29793d);}}['_cloneOperation'](_0x527438,_0x35fb81){const _0x2fd8f8=_0x527438['clone']();return _0x2fd8f8['_authorId']=_0x527438['_authorId'],this['_fixOperation'](_0x2fd8f8,_0x35fb81),_0x2fd8f8;}['_getBaseVids'](_0x8c68f9){return _0x8c68f9['map'](_0x45a50d=>{const _0x58792c=this['_getVidAttributeName'](_0x45a50d);return Number(_0x45a50d['item']['getAttribute'](_0x58792c));});}['_generateTape'](_0xc0a8cd,_0x2d23e2){if(_0xc0a8cd['is']('element','$text'))_0x2d23e2['push']({'item':_0xc0a8cd,'type':'text'});else{_0xc0a8cd['is']('element')&&_0x2d23e2['push']({'item':_0xc0a8cd,'type':'elementStart'});for(const _0x73d798 of _0xc0a8cd['getChildren']())this['_generateTape'](_0x73d798,_0x2d23e2);_0xc0a8cd['is']('element')&&_0x2d23e2['push']({'item':_0xc0a8cd,'type':'elementEnd'});}return _0x2d23e2;}['_getState'](){const _0x55fe1f=new Map(this['_touched']),_0x1bf4b4=new Map(_0x55fe1f),_0x213965=new Map(),_0x203054={'insertions':{},'deletions':{}},_0x329c8e={'insertions':{},'deletions':{}},_0x3c03ed=new Map(),_0x51470=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x51470['delete']('$graveyard');for(const _0x4e51cd of _0x51470){const _0x240725=this['_diffRoots']['get'](_0x4e51cd)||G(_0x4e51cd,!0x1),_0x12e78e=this['_baseRoots']['get'](_0x4e51cd)||G(_0x4e51cd,!0x1);_0x240725['isAttached']()||_0x12e78e['isAttached']()?(_0x203054['insertions'][_0x4e51cd]=q(_0x240725),_0x203054['deletions'][_0x4e51cd]=q(_0x12e78e),this['_copyMarkers'](_0x203054['deletions'][_0x4e51cd],_0x12e78e),this['_copyMarkers'](_0x203054['insertions'][_0x4e51cd],_0x240725),_0x329c8e['insertions'][_0x4e51cd]=this['_generateTape'](this['_idsRoots']['get'](_0x4e51cd),[]),_0x329c8e['deletions'][_0x4e51cd]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4e51cd)||G(_0x4e51cd,!0x1),[])):_0x51470['delete'](_0x4e51cd);}for(const _0xe7465e of _0x51470){const _0x6fe053=_0x329c8e['insertions'][_0xe7465e];for(const _0xab158f of _0x6fe053){const _0x4e53c6=this['_getVidAttributeName'](_0xab158f),_0x13682b=_0xab158f['item']['getAttribute'](_0x4e53c6);_0x1bf4b4['delete'](_0x13682b),_0x13682b>=this['_startingRevisionId']&&_0x213965['set'](_0x13682b,_0x55fe1f['get'](_0x13682b));}}for(const _0x253ae5 of _0x51470){const _0x5dc580=_0x329c8e['insertions'][_0x253ae5],_0x51e5bc=this['_getBaseVids'](_0x329c8e['deletions'][_0x253ae5]);let _0x298a64=0x0;for(const _0x3d160a of _0x5dc580){const _0x52d4e2=this['_getVidAttributeName'](_0x3d160a),_0x5401b4=_0x3d160a['item']['getAttribute'](_0x52d4e2);if(!_0x213965['has'](_0x5401b4)&&!_0x3c03ed['has'](_0x5401b4)){if(_0x1bf4b4['has'](_0x5401b4))_0x298a64++;else{if(_0x5401b4!=_0x51e5bc[_0x298a64]){const _0x2a1232=_0x55fe1f['get'](_0x5401b4)||_0x55fe1f['get'](_0x51e5bc[_0x298a64]);for(;_0x5401b4!=_0x51e5bc[_0x298a64];)_0x1bf4b4['has'](_0x51e5bc[_0x298a64])||(_0x3c03ed['set'](_0x51e5bc[_0x298a64],_0x2a1232),_0x55fe1f['set'](_0x51e5bc[_0x298a64],_0x2a1232)),_0x298a64++;}_0x298a64++;}}}}for(const _0x3cc709 of _0x51470){const _0x350c10=_0x329c8e['insertions'][_0x3cc709];for(const _0x297607 of _0x350c10){const _0x223b70=this['_getVidAttributeName'](_0x297607),_0x9f6abf=_0x297607['item']['getAttribute'](_0x223b70);if(_0x3c03ed['has'](_0x9f6abf)){const _0x1d4e8e=_0x3c03ed['get'](_0x9f6abf);_0x1bf4b4['has'](_0x9f6abf)||_0x1bf4b4['set'](_0x9f6abf,{..._0x1d4e8e}),_0x213965['set'](_0x9f6abf,{..._0x1d4e8e});}}}for(const _0xfed8f9 of _0x1bf4b4['keys']())_0xfed8f9>=this['_startingRevisionId']&&_0x1bf4b4['delete'](_0xfed8f9);const _0x1c8f79=new Map();for(const _0x4be0f2 of _0x51470){let _0xb6112c=_0x329c8e['insertions'][_0x4be0f2];for(const _0x385ad9 of _0xb6112c)if(_0x385ad9['item']['is']('element','tableCell')){const _0x160c0f=this['_getVidAttributeName'](_0x385ad9),_0xabd039=_0x385ad9['item']['getAttribute'](_0x160c0f);if(_0x213965['has'](_0xabd039)){const _0x34c1be=_0x385ad9['item']['parent']['parent']['getAttribute']('vid_start'),_0x574c28=_0x1c8f79['get'](_0x34c1be)||new Set();_0x574c28['add'](_0x213965['get'](_0xabd039)['userId']),_0x1c8f79['set'](_0x34c1be,_0x574c28);}}_0xb6112c=_0x329c8e['deletions'][_0x4be0f2];for(const _0x30d788 of _0xb6112c)if(_0x30d788['item']['is']('element','tableCell')){const _0x2f9cb7=this['_getVidAttributeName'](_0x30d788),_0x10cc1f=_0x30d788['item']['getAttribute'](_0x2f9cb7);if(_0x1bf4b4['has'](_0x10cc1f)){const _0x533415=_0x30d788['item']['parent']['parent']['getAttribute']('vid_start'),_0x4a4236=_0x1c8f79['get'](_0x533415)||new Set();_0x4a4236['add'](_0x1bf4b4['get'](_0x10cc1f)['userId']),_0x1c8f79['set'](_0x533415,_0x4a4236);}}for(const _0xc91297 of _0x1c8f79['keys']())(_0x213965['has'](_0xc91297)||_0x1bf4b4['has'](_0xc91297))&&_0x1c8f79['delete'](_0xc91297);}for(const _0x236a21 of _0x51470){const _0x481e7f=_0x329c8e['insertions'][_0x236a21];let _0x11d075=null,_0x2949c0=null;for(const _0x2dc760 of _0x481e7f){const _0x3f670d=this['_getVidAttributeName'](_0x2dc760),_0xd37ddd=_0x2dc760['item']['getAttribute'](_0x3f670d),_0x3d6b3f=_0x1c8f79['get'](_0xd37ddd);_0x3d6b3f&&'elementStart'==_0x2dc760['type']&&(_0x11d075=Array['from'](_0x3d6b3f)[0x0],_0x2949c0=_0x2dc760['item']['getAttribute']('vid_end')),_0x11d075&&(_0x1bf4b4['set'](_0xd37ddd,{'userId':_0x11d075}),_0x213965['set'](_0xd37ddd,{'userId':_0x11d075})),_0xd37ddd==_0x2949c0&&(_0x11d075=null,_0x2949c0=null);}}const _0x1746d9={},_0x2848e2=new Set();for(const _0x2b83d5 of _0x51470){const _0x5d53b7=_0x203054['deletions'][_0x2b83d5],_0x5dd373=_0x203054['insertions'][_0x2b83d5];for(const {userId:_0x494c60}of this['_touchedMarkers']['values']())null!==_0x494c60&&_0x2848e2['add'](_0x494c60);for(const {userId:_0x4edee8}of this['_touchedRoots']['values']())null!==_0x4edee8&&_0x2848e2['add'](_0x4edee8);this['_markChanges'](_0x5dd373,_0x329c8e['insertions'][_0x2b83d5],_0x213965,'insertion',_0x2848e2),this['_markChanges'](_0x5d53b7,_0x329c8e['deletions'][_0x2b83d5],_0x1bf4b4,'deletion',_0x2848e2),_0x1746d9[_0x2b83d5]={'insertions':this['_prepareViewToSave'](_0x5dd373),'deletions':this['_prepareViewToSave'](_0x5d53b7),'attachChange':this['_touchedRoots']['get'](_0x2b83d5)||null,'attributesBefore':_0x2ade0a(this['_baseRootsAttributes']['get'](_0x2b83d5))||{},'attributesAfter':_0x2ade0a(this['_diffRootsAttributes']['get'](_0x2b83d5))};}return{'diffData':_0x1746d9,'authorsIds':Array['from'](_0x2848e2)};}['_processRootBeforeSave'](_0x58e7c2){for(const [,_0x2d666f]of _0x58e7c2['markers']){const _0x274d7f=_0x2d666f['start']['getAncestors']()['filter'](_0x3ead80=>'tableCell'==_0x3ead80['name']);for(const _0x33e202 of _0x274d7f)0x1==_0x33e202['childCount']&&_0x33e202['getChild'](0x0)['is']('element','paragraph')&&_0x33e202['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x490442){this['_processRootBeforeSave'](_0x490442);const _0x4f81b8=this['editor']['data']['toView'](_0x490442,{}),_0x33ac94=Array['from'](_0x4f81b8['getChildren']())['map'](_0x560783=>this['_getViewJson'](_0x560783));return JSON['stringify'](_0x33ac94);}['_getViewJson'](_0x2ca5d5){if(_0x2ca5d5['is']('$text'))return _0x2ca5d5['data'];{const _0x4c369f=_0x2ca5d5;return{'type':Object['keys'](T)['find'](_0x14bda2=>_0x2ca5d5 instanceof T[_0x14bda2]),'name':_0x4c369f['name'],'attributes':Array['from'](_0x4c369f['getAttributes']()),'children':Array['from'](_0x4c369f['getChildren']())['map'](_0x586dd4=>this['_getViewJson'](_0x586dd4))};}}['_markChanges'](_0x26445d,_0x5f240d,_0x4b20e0,_0x2010b9,_0x49e15e){let _0x2374d2=null,_0x46d4a1=null,_0x4edaf6=0x0;const _0x2df1fd=this['editor']['model'];for(let _0x3cfe5a=0x0;_0x3cfe5a<_0x5f240d['length'];_0x3cfe5a++){const _0x436328=this['_getVidAttributeName'](_0x5f240d[_0x3cfe5a]),_0x3d9acd=_0x5f240d[_0x3cfe5a]['item']['getAttribute'](_0x436328),_0x2bc8a5=_0x4b20e0['get'](_0x3d9acd),_0x51251d=_0x3cfe5a==_0x5f240d['length']-0x1;(!_0x2374d2&&_0x2bc8a5&&(_0x2374d2=_0x2bc8a5,_0x46d4a1=_0x5f240d[_0x3cfe5a]),_0x2374d2&&(!_0x2bc8a5||_0x2bc8a5['userId']!=_0x2374d2['userId']))&&(_0x505b98(_0x2bc8a5,L(_0x46d4a1,_0x26445d,_0x2df1fd),L(_0x5f240d[_0x3cfe5a],_0x26445d,_0x2df1fd)),_0x2374d2=_0x2bc8a5||null,_0x46d4a1=_0x2bc8a5?_0x5f240d[_0x3cfe5a]:null),_0x2374d2&&_0x51251d&&_0x505b98(_0x2bc8a5,L(_0x46d4a1,_0x26445d,_0x2df1fd),W(_0x5f240d[_0x3cfe5a],_0x26445d,_0x2df1fd));}function _0x505b98(_0x52e90c,_0x177de0,_0x55e650){const _0xe1eab4=_0x2374d2['userId'],_0x54bc47='revision:'+_0x2010b9+':'+_0xe1eab4+':'+_0x4edaf6++,_0x1ac8cb=_0x2df1fd['createRange'](_0x177de0,_0x55e650);_0x26445d['markers']['set'](_0x54bc47,_0x1ac8cb),null!==_0xe1eab4&&_0x49e15e['add'](_0xe1eab4);}}['_getVidAttributeName'](_0x502b5c){switch(_0x502b5c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5b645e,_0x510d58){_0x5b645e['baseVersion']=null;for(const _0x14dbe8 in _0x5b645e){const _0x47c5b5=_0x5b645e[_0x14dbe8];if(_0x47c5b5 instanceof gt){const _0x30458b=_0x510d58['get'](_0x47c5b5['root']['rootName']);_0x5b645e[_0x14dbe8]=this['_fixPosition'](_0x47c5b5,_0x30458b);}if(_0x47c5b5 instanceof vt){const _0x567cc6=_0x510d58['get'](_0x47c5b5['root']['rootName']);_0x5b645e[_0x14dbe8]=this['_fixRange'](_0x47c5b5,_0x567cc6);}'root'===_0x14dbe8&&(_0x5b645e['root']=_0x510d58['get'](_0x5b645e['root']['rootName']));}}['_fixRange'](_0x11e93e,_0x6bcebb){return this['editor']['model']['createRange'](this['_fixPosition'](_0x11e93e['start'],_0x6bcebb),this['_fixPosition'](_0x11e93e['end'],_0x6bcebb));}['_fixPosition'](_0xd60929,_0x1e7c67){return this['editor']['model']['createPositionFromPath'](_0x1e7c67,_0xd60929['path'],_0xd60929['stickiness']);}['_handleInsertOperation'](_0x470d32){const _0x389fc3=this['_idsRoots']['get'](_0x470d32['position']['root']['rootName']),_0x2e3694=this['_fixPosition'](_0x470d32['position'],_0x389fc3),_0x339b05=null===_0x470d32['_authorId']?null:_0x470d32['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56c9e4=_0x2e3694['parent'],_0x48165c=this['_revisionId'],_0x2adfaa=[];for(const _0x14329d of _0x470d32['nodes'])if(_0x14329d['is']('element'))_0x2adfaa['push'](this['_makeIdsRoot'](_0x14329d));else{for(let _0x25cd3d=0x0;_0x25cd3d<_0x14329d['offsetSize'];_0x25cd3d++)_0x2adfaa['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x6ff7b6=this['_revisionId'];for(let _0x231aa2=_0x48165c;_0x231aa2<_0x6ff7b6;_0x231aa2++)this['_touched']['set'](_0x231aa2,{'userId':_0x339b05});_0x56c9e4['_insertChild'](_0x2e3694['offset'],_0x2adfaa);}['_handleMoveOperation'](_0x44bd1b){(_0x44bd1b=this['_cloneOperation'](_0x44bd1b,this['_idsRoots']))['_execute']();const _0x4bd28a=null===_0x44bd1b['_authorId']?null:_0x44bd1b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2f772e=_0x44bd1b['getMovedRangeStart'](),_0x3bb57c=_0x2f772e['parent'],_0x257088=_0x2f772e['offset'];!function _0x2bdf27(_0x288f1d,_0x2ec392,_0x70909a,_0x1aa328){for(let _0x17e080=_0x70909a;_0x17e080<_0x1aa328;_0x17e080++){const _0x57bf74=_0x2ec392['getChild'](_0x17e080);_0x57bf74['is']('element','$text')?_0x288f1d['set'](_0x57bf74['getAttribute']('vid'),{'userId':_0x4bd28a}):(_0x288f1d['set'](_0x57bf74['getAttribute']('vid_start'),{'userId':_0x4bd28a}),_0x2bdf27(_0x288f1d,_0x57bf74,0x0,_0x57bf74['childCount']),_0x288f1d['set'](_0x57bf74['getAttribute']('vid_end'),{'userId':_0x4bd28a}));}}(this['_touched'],_0x3bb57c,_0x257088,_0x257088+_0x44bd1b['howMany']);}['_handleMergeOperation'](_0x42671e){const _0x3a8275=null===(_0x42671e=this['_cloneOperation'](_0x42671e,this['_idsRoots']))['_authorId']?null:_0x42671e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x396c5b=_0x42671e['targetPosition']['parent'],_0x21bb5e=_0x42671e['sourcePosition']['parent'],_0x3f1bff=_0x396c5b['getAttribute']('vid_end'),_0x4d1d76=_0x21bb5e['getAttribute']('vid_start');_0x396c5b['_setAttribute']('vid_end',_0x21bb5e['getAttribute']('vid_end')),_0x21bb5e['_setAttribute']('vid_end',_0x3f1bff),this['_touched']['set'](_0x4d1d76,{'userId':_0x3a8275}),this['_touched']['set'](_0x3f1bff,{'userId':_0x3a8275}),_0x42671e['_execute']();}['_handleSplitOperation'](_0x47bbd4){const _0x5ca272=null===(_0x47bbd4=this['_cloneOperation'](_0x47bbd4,this['_idsRoots']))['_authorId']?null:_0x47bbd4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x351982=_0x47bbd4['graveyardPosition'],_0x23b4c3=_0x47bbd4['splitPosition']['parent'];_0x47bbd4['_execute']();const _0x9040d4=_0x23b4c3['getAttribute']('vid_end'),_0x8228fe=_0x47bbd4['insertionPosition']['nodeAfter'];if(_0x351982){const _0x8858d6=_0x8228fe['getAttribute']('vid_end'),_0x103bf0=_0x23b4c3['getAttribute']('vid_end');_0x23b4c3['_setAttribute']('vid_end',_0x8858d6),_0x8228fe['_setAttribute']('vid_end',_0x103bf0),this['_touched']['set'](_0x23b4c3['getAttribute']('vid_end'),{'userId':_0x5ca272}),this['_touched']['set'](_0x8228fe['getAttribute']('vid_start'),{'userId':_0x5ca272});}else{const _0x342900=this['_revisionId']++,_0x274ce8=this['_revisionId']++;_0x23b4c3['_setAttribute']('vid_end',_0x342900),_0x8228fe['_setAttribute']('vid_start',_0x274ce8),_0x8228fe['_setAttribute']('vid_end',_0x9040d4),this['_touched']['set'](_0x342900,{'userId':_0x5ca272}),this['_touched']['set'](_0x274ce8,{'userId':_0x5ca272});}}['_handleMarkerOperation'](_0xb711c2){if(!_0xb711c2['affectsData'])return;const _0x515c5d=(_0xb711c2=this['_cloneOperation'](_0xb711c2,this['_diffRoots']))['oldRange']?_0xb711c2['oldRange']['root']:null,_0x55ca2e=_0xb711c2['newRange']?_0xb711c2['newRange']['root']:null;_0x515c5d&&this['_markers']['delete'](_0xb711c2['name']),_0x55ca2e&&this['_markers']['set'](_0xb711c2['name'],_0xb711c2['newRange']['clone']());const _0x3eb0a1=null===_0xb711c2['_authorId']?null:_0xb711c2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x204fbb=_0xb711c2['name'];if(!this['_touchedMarkers']['has'](_0x204fbb))return void this['_touchedMarkers']['set'](_0x204fbb,{'range':_0xb711c2['oldRange'],'userId':_0x3eb0a1});const _0x294b24=this['_touchedMarkers']['get'](_0x204fbb),_0x1d1c0d=_0x294b24['range'],_0x3ab76b=_0xb711c2['newRange'];null==_0x1d1c0d&&null==_0x3ab76b||_0x1d1c0d&&_0x3ab76b&&_0x1d1c0d['isEqual'](_0x3ab76b)?this['_touchedMarkers']['delete'](_0xb711c2['name']):_0x294b24['userId']=_0x3eb0a1;}['_handleRootOperation'](_0x1d8a66,_0x4fed88){this['_diffRoots']['has'](_0x1d8a66['rootName'])?this['_diffRoots']['get'](_0x1d8a66['rootName'])['_isAttached']=_0x1d8a66['isAdd']:(this['_diffRoots']['set'](_0x1d8a66['rootName'],G(_0x1d8a66['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1d8a66['rootName'],{}),_0x4fed88&&this['_idsRoots']['set'](_0x1d8a66['rootName'],G(_0x1d8a66['rootName'],!0x0)));const _0x57f445=null===_0x1d8a66['_authorId']?null:_0x1d8a66['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x478675=this['_touchedRoots']['get'](_0x1d8a66['rootName']);_0x478675&&_0x478675['userId']===_0x57f445?this['_touchedRoots']['delete'](_0x1d8a66['rootName']):this['_touchedRoots']['set'](_0x1d8a66['rootName'],{'userId':_0x57f445,'isAttached':_0x1d8a66['isAdd']});}['_handleRootAttributeOperation'](_0x3e67b5){const _0x3a2df3=this['_diffRootsAttributes']['get'](_0x3e67b5['root']['rootName']);null===_0x3e67b5['newValue']?delete _0x3a2df3[_0x3e67b5['key']]:_0x3a2df3[_0x3e67b5['key']]=_0x3e67b5['newValue'];}}function q(_0x4a5518){const _0x2df2dd=G(_0x4a5518['rootName'],_0x4a5518['isAttached']());for(const _0x34dad7 of _0x4a5518['getChildren']()){const _0x2cbee0=_0x34dad7['_clone'](!0x0);_0x2df2dd['_appendChild'](_0x2cbee0);}return _0x2df2dd;}function G(_0x13bf02,_0xcc0f24=!0x0){const _0x4a6a66=new wt();return _0x4a6a66['rootName']=_0x13bf02,_0x4a6a66['_isAttached']=_0xcc0f24,_0x4a6a66['isAttached']=()=>_0x4a6a66['_isAttached'],_0x4a6a66;}function L(_0x3e49bd,_0x2480f8,_0x1e0ef4){const _0x51623b='elementEnd'==_0x3e49bd['type']?_0x1e0ef4['createPositionAt'](_0x3e49bd['item'],'end'):_0x1e0ef4['createPositionBefore'](_0x3e49bd['item']);return _0x1e0ef4['createPositionFromPath'](_0x2480f8,_0x51623b['path'],_0x51623b['stickiness']);}function W(_0x2ec481,_0x37b80f,_0x993870){const _0x5eb035='elementStart'==_0x2ec481['type']?_0x993870['createPositionAt'](_0x2ec481['item'],0x0):_0x993870['createPositionAfter'](_0x2ec481['item']);return _0x993870['createPositionFromPath'](_0x37b80f,_0x5eb035['path'],_0x5eb035['stickiness']);}class ns extends _0x42a458{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3df89d,_0x215a8a){super(_0x3df89d),this['focusTracker']=new _0x599e73(),this['keystrokes']=new _0x25860a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x215a8a),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'](),_0x428b3b({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x59f05e=_0x298741=>_0x298741['stopPropagation']();this['keystrokes']['set']('arrowright',_0x59f05e),this['keystrokes']['set']('arrowleft',_0x59f05e),this['keystrokes']['set']('arrowup',_0x59f05e),this['keystrokes']['set']('arrowdown',_0x59f05e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x328e02){this['revisionNameInputView']['fieldView']['element']['value']=_0x328e02['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4bc4ae){const _0x179fe3=new at(this['locale'],_0x49db80),_0x1f6c6b=_0x179fe3['fieldView'];_0x1f6c6b['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x31d90b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4bc4ae&&(_0x31d90b+='\x20('+y(this['locale'],'optional')+')'),(_0x179fe3['label']=_0x31d90b,_0x1f6c6b['on']('input',()=>{this['revisionNameInputValue']=_0x1f6c6b['element']['value']['trim']();}),_0x179fe3);}}class u extends _0x12f93a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4dd9e8=this['editor'],_0x2331aa=_0x4dd9e8['plugins']['get']('RevisionTracker');_0x4dd9e8['ui']['componentFactory']['add']('revisionHistory',_0x5ab1fd=>{const _0x3ab80a=_0xd5be72(_0x5ab1fd),_0x8d7669=_0x3ab80a['panelView']['children'],_0x2174f4=new te(_0x5ab1fd),_0x111abf=new _0x48e6bb(_0x5ab1fd),_0x171ec8=new _0x5325a2(_0x5ab1fd),_0x3af090=new _0x48e6bb(_0x5ab1fd),_0x161f91=new _0x5325a2(_0x5ab1fd);return _0x3ab80a['bind']('isEnabled')['to'](_0x2331aa,'isReady',_0x2331aa,'isEnabled',_0x4dd9e8,'isReadOnly',(_0x445cab,_0x1ee748,_0x4aa116)=>_0x445cab&&_0x1ee748&&!_0x4aa116),_0x3ab80a['buttonView']['set']({'icon':_0x5541e0['history'],'label':y(_0x5ab1fd,'Revision\x20history'),'tooltip':!0x0}),_0x171ec8['set']({'label':y(_0x5ab1fd,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x171ec8['bind']('isEnabled')['to'](_0x2331aa,'isReady',_0x2331aa,'isEnabled',_0x4dd9e8,'isReadOnly',(_0xdd1018,_0x59bb80,_0x5f0762)=>_0xdd1018&&_0x59bb80&&!_0x5f0762),_0x171ec8['on']('execute',()=>this['_showDialog']()),_0x161f91['set']({'label':y(_0x5ab1fd,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x161f91['bind']('isEnabled')['to'](_0x2331aa,'isReady',_0x4dd9e8,'isReadOnly',(_0xa87d74,_0x307198)=>_0xa87d74&&!_0x307198),_0x161f91['on']('execute',()=>{_0x4dd9e8['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3ab80a['isOpen']=!0x1,_0x4dd9e8['editing']['view']['focus']();}),_0x111abf['children']['add'](_0x171ec8),_0x3af090['children']['add'](_0x161f91),_0x2174f4['role']='menu',_0x2174f4['items']['addMany']([_0x111abf,_0x3af090]),_0x8d7669['add'](_0x2174f4),_0x3ab80a;}),_0x4dd9e8['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3094c8=this['editor'],_0x19fb34=_0x3094c8['locale'],_0x5da944=new _0x420b21(_0x19fb34),_0x250c3f=new _0x25b9f8(_0x19fb34);_0x5da944['buttonView']['set']({'icon':_0x5541e0['history'],'label':y(_0x19fb34,'Revision\x20history')});const _0x46afe7=new _0x1af06a(_0x19fb34,_0x5da944),_0x366c7b=new _0x218201(_0x19fb34);_0x366c7b['set']({'label':y(_0x19fb34,'Save\x20current\x20revision')}),_0x366c7b['delegate']('execute')['to'](_0x5da944),_0x366c7b['on']('execute',()=>{this['_showDialog']();}),_0x46afe7['children']['add'](_0x366c7b),_0x250c3f['items']['add'](_0x46afe7);const _0x765f6=new _0x1af06a(_0x19fb34,_0x5da944),_0x589ce4=new _0x218201(_0x19fb34);return _0x589ce4['set']({'label':y(_0x19fb34,'Open\x20revision\x20history')}),_0x589ce4['delegate']('execute')['to'](_0x5da944),_0x589ce4['on']('execute',()=>{_0x3094c8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x765f6['children']['add'](_0x589ce4),_0x250c3f['items']['add'](_0x765f6),_0x5da944['panelView']['children']['add'](_0x250c3f),_0x5da944;}['_showDialog'](){const _0x56d445=this['editor'],_0x349949=_0x56d445['locale'],_0x3d6528=_0x56d445['plugins']['get']('Dialog'),_0x49ec34=_0x56d445['plugins']['get']('RevisionTracker');function _0x332e5f(_0x50b695){_0x56d445['config']['get']('revisionHistory.requireRevisionName')&&''===_0x50b695['revisionName']?_0x50b695['revisionNameInputView']['errorText']=y(_0x349949,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x56d445['plugins']['get'](l)['saveRevision']({'name':_0x50b695['revisionName']}),_0x3d6528['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x332e5f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3d6528['show']({'id':'revisionSave','title':y(_0x349949,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x56d445['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3d6528['hide']()},{'label':y(_0x56d445['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x42f3e0){_0x42f3e0['bind']('isEnabled')['to'](_0x49ec34,'isReady',_0x49ec34,'isEnabled',_0x56d445,'isReadOnly',(_0x37ae1a,_0x13a0d9,_0xa0b168)=>_0x37ae1a&&_0x13a0d9&&!_0xa0b168);},'onExecute':()=>_0x332e5f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3e11f2=this['editor'],_0x597cf5=_0x3e11f2['locale'];this['_saveRevisionFormView']=new ns(_0x597cf5,_0x3e11f2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x42a458{['changeId'];['_model'];constructor(_0x149399,_0x5835d2){super(_0x149399),this['_model']=_0x5835d2,this['changeId']=_0x5835d2['id'];const _0x394064=this['bindTemplate'],_0x1a6dc7=y(_0x149399,_0x5835d2['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5835d2['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5835d2['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x394064['to']('type',_0xf70293=>'ck-revision-change__'+_0xf70293)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1a6dc7}]},{'text':'\x20'+_0x5835d2['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x4b6924(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x24d592){super(),this['id']=_0x24d592['id']||_0x198eec(),this['author']=_0x24d592['author'],this['type']=_0x24d592['type'],this['data']=_0x24d592['data']||{},this['rootName']=_0x24d592['rootName'],this['set']('createdAt',_0x24d592['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(_0x53f432,_0x4c8200){this['newRevisionId']=_0x53f432,this['oldRevisionId']=_0x4c8200,this['changes']=new _0x311c03();}['_setChanges'](_0x2682e3){for(const _0x129004 of _0x2682e3)this['changes']['add'](_0x129004);}}const tt={'c':_0x39425f,'a':_0x1f0dbd,'e':_0x5546b0,'r':_0x5aa417,'u':_0x139092};class d extends _0x12f93a{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x36012e,_0x29d25c,A];}constructor(_0x365d1c){super(_0x365d1c),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',(_0x4c213a,_0x2e4abc,_0xc7d817)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x53c06a=>{for(const _0x314b90 of this['editor']['editing']['view']['document']['roots'])_0xc7d817?_0x53c06a['removeClass']('ck-editor__editable__overlay',_0x314b90):_0x53c06a['addClass']('ck-editor__editable__overlay',_0x314b90);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4dac58=>null!==_0x4dac58),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4642b2,_0x313297,_0x43cfc2)=>_0x4642b2&&_0x43cfc2?_0x313297['changes']['getIndex'](_0x43cfc2):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x53e249,_0x15024f)=>_0x53e249?_0x15024f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x29d25c);}['init'](){const _0x238694=this['editor'],_0x33bacd=new yt(_0x238694,{'direction':'backward'}),_0x13d18e=new yt(_0x238694,{'direction':'forward'});(_0x238694['commands']['add']('showPreviousChange',_0x33bacd),_0x238694['commands']['add']('showNextChange',_0x13d18e),_0x238694['commands']['add']('restoreRevision',new bt(_0x238694)),this['on']('change:numberOfChanges',()=>{_0x33bacd['refresh'](),_0x13d18e['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x238694['enableReadOnlyMode']('revision-viewer'),_0x238694['plugins']['has']('WidgetToolbarRepository'))&&_0x238694['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1721bf){await this['loadRevisionData'](_0x1721bf);const _0x38b5a9={};for(const _0x4d4890 in _0x1721bf['diffData']){if(_0x1721bf['diffData'][_0x4d4890]['attachChange']&&!_0x1721bf['diffData'][_0x4d4890]['attachChange']['isAttached'])continue;const _0x553038=this['_removeRevisionMarkers'](JSON['parse'](_0x1721bf['diffData'][_0x4d4890]['insertions'])),_0xcd460c=this['editor']['editing']['view']['document'],_0x2341c9=new _0x42f1fd(_0xcd460c,_0x553038['map'](_0x97622a=>this['_getViewObj'](_0x97622a)));this['editor']['data']['processor']['useFillerType']('marked'),_0x38b5a9[_0x4d4890]=this['editor']['data']['processor']['toData'](_0x2341c9),this['editor']['data']['processor']['useFillerType']('default');}return _0x38b5a9;}async['getRevisionRootsAttributes'](_0x1989ec){await this['loadRevisionData'](_0x1989ec);const _0x182d50={};for(const _0x201706 in _0x1989ec['diffData'])_0x1989ec['diffData'][_0x201706]['attachChange']&&!_0x1989ec['diffData'][_0x201706]['attachChange']['isAttached']||(_0x182d50[_0x201706]=_0x1989ec['diffData'][_0x201706]['attributesAfter']||{});return _0x182d50;}['_removeRevisionMarkers'](_0x148f73){return(_0x148f73=_0x148f73['filter'](_0x322168=>!_0x322168['name']||'revision-start'!==_0x322168['name']&&'revision-end'!==_0x322168['name']))['forEach'](_0x462c17=>{'string'!=typeof _0x462c17&&(_0x462c17['children']=this['_removeRevisionMarkers'](_0x462c17['children']),_0x462c17['attributes']=_0x462c17['attributes']['filter'](_0x9f6f9b=>!_0x9f6f9b[0x0]['startsWith']('data-revision-')));}),_0x148f73;}async['compare'](_0x1625d2,_0x2e31a1,_0x3b30d5=!0x1){if(!this['isEnabled'])return;const _0xb4a959=this['diff'],_0x153ab1=this['repository'],_0x211596='string'==typeof _0x1625d2?_0x153ab1['getRevision'](_0x1625d2):_0x1625d2,_0x48a7b0='string'==typeof _0x2e31a1?_0x153ab1['getRevision'](_0x2e31a1):_0x2e31a1,_0x423305=_0x211596['id'],_0x12012a=_0x48a7b0?_0x48a7b0['id']:null;if(!_0x3b30d5&&this['diff']&&this['diff']['newRevisionId']===_0x423305&&this['diff']['oldRevisionId']===_0x12012a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x423305,_0x12012a);const _0x376d41=this['_getRevisionsRange'](_0x211596,_0x48a7b0,!0x0)['map'](_0x19d4d8=>this['loadRevisionData'](_0x19d4d8));return _0x376d41['push'](new Promise(_0x18dfa7=>{setTimeout(_0x18dfa7,0x14);})),Promise['all'](_0x376d41)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2a5116=this['_getDiff'](_0x423305,_0x12012a);for(const _0x4b891d of _0x2a5116['changes'])this['_changeIdToChange']['set'](_0x4b891d['id'],_0x4b891d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x64efd3=>{for(const _0x3812f6 of this['editor']['model']['document']['getRootNames']())_0x64efd3['detachRoot'](_0x3812f6);for(const _0xda2614 of Object['keys'](_0x2a5116['model'])){const _0x2b1934=_0x64efd3['addRoot'](_0xda2614);for(const _0x41d7f5 of Object['keys'](_0x2a5116['attributes'][_0xda2614]))_0x64efd3['setAttribute'](_0x41d7f5,_0x2a5116['attributes'][_0xda2614][_0x41d7f5],_0x2b1934);_0x64efd3['insert'](_0x2a5116['model'][_0xda2614],_0x2b1934,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2a5116['changes'])),this['isReady']=!0x0;})['catch'](_0x123d81=>{console['error'](_0x123d81),this['_cleanUp'](),_0xb4a959&&(this['diff']=_0xb4a959),this['isReady']=!0x0;});}['addRevisionData'](_0x44d065,_0x249ab8){const _0x2daa9c=this['repository']['createRevision'](_0x44d065);return _0x2daa9c['on']('_update',(_0x59c075,_0x5c49de,_0x2d3a27)=>_0x249ab8(_0x5c49de,_0x2d3a27,_0x2daa9c)),this['repository']['addRevision'](_0x2daa9c),_0x2daa9c;}['loadRevisionData'](_0x66ec7a){if(!_0x66ec7a||_0x66ec7a['diffData'])return Promise['resolve']();{const _0x4eea6e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4eea6e,'revisionId':_0x66ec7a['id']})['then'](_0x22a33f=>{_0x66ec7a['_update']({'diffData':_0x22a33f['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},_0x3ca6c9=>{for(const _0x1b9cfb of this['editor']['model']['document']['getRootNames']())_0x3ca6c9['detachRoot'](_0x1b9cfb);});}['_sortAndFilterDiffChanges'](_0x11cdf7){const _0x14e0eb=[],_0x595f94=new Map();for(const _0x3968ca of this['editor']['model']['document']['getRootNames']()){const _0x5eb56a=this['editor']['editing']['view']['getDomRoot'](_0x3968ca);if(!_0x5eb56a)continue;const _0x4def06=_0x5eb56a['getClientRects']()['item'](0x0);_0x4def06&&(_0x14e0eb['push'](_0x3968ca),_0x595f94['set'](_0x3968ca,_0x4def06));}return _0x14e0eb['sort']((_0x27ccc1,_0x2c2a4b)=>{const _0x4d65c4=_0x595f94['get'](_0x27ccc1),_0x301cf3=_0x595f94['get'](_0x2c2a4b);return _0x4d65c4['y']-_0x301cf3['y']||_0x4d65c4['x']-_0x301cf3['x'];}),(_0x11cdf7=_0x11cdf7['filter'](_0x55c53c=>_0x14e0eb['includes'](_0x55c53c['rootName'])))['sort']((_0x22a6a7,_0x2a7325)=>_0x14e0eb['indexOf'](_0x22a6a7['rootName'])-_0x14e0eb['indexOf'](_0x2a7325['rootName'])),_0x11cdf7;}['_makeTape'](_0x3209c4){const _0x2f5b6b=Array['from'](_0x3209c4['markers'])['filter'](([_0x5e4e0c,_0x2c090c])=>_0x5e4e0c['startsWith']('revision:')&&!_0x2c090c['isCollapsed']),_0xd4b2=Array['from'](this['editor']['model']['createRangeIn'](_0x3209c4)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2f5b6b['length'])for(const _0x1871a8 of _0xd4b2){const [_0x58e379,_0x2b50fd]=_0x2f5b6b[0x0],[,_0x470359,_0x3c9281]=_0x58e379['split'](':');if(_0x2b50fd['end']['isEqual'](_0x1871a8['nextPosition'])&&_0x2f5b6b['shift'](),(_0x1871a8['previousPosition']['isEqual'](_0x2b50fd['start'])||_0x1871a8['previousPosition']['isAfter'](_0x2b50fd['start']))&&('insertion'==_0x470359?_0x1871a8['isAdded']={'userId':_0x3c9281}:'deletion'==_0x470359&&(_0x1871a8['isRemoved']={'userId':_0x3c9281})),0x0==_0x2f5b6b['length'])break;}return _0xd4b2;}['_refreshStartEndIndex'](_0x5c1b8a){const _0x3997b6=new Map();for(let _0x2f47f2=0x0;_0x2f47f2<_0x5c1b8a['length'];_0x2f47f2++)'text'===_0x5c1b8a[_0x2f47f2]['type']?(_0x5c1b8a[_0x2f47f2]['item']['startIndex']=_0x2f47f2,_0x5c1b8a[_0x2f47f2]['item']['endIndex']=_0x2f47f2):('elementStart'===_0x5c1b8a[_0x2f47f2]['type']?_0x5c1b8a[_0x2f47f2]['item']['startIndex']=_0x2f47f2:'elementEnd'===_0x5c1b8a[_0x2f47f2]['type']&&(_0x5c1b8a[_0x2f47f2]['item']['endIndex']=_0x2f47f2),_0x3997b6['set'](_0x5c1b8a[_0x2f47f2]['id'],_0x2f47f2));for(const _0x2d2815 of _0x3997b6['values']())'elementStart'===_0x5c1b8a[_0x2d2815]['type']?_0x5c1b8a[_0x2d2815]['item']['endIndex']=_0x3997b6['get'](_0x5c1b8a[_0x2d2815]['pairId']):'elementEnd'===_0x5c1b8a[_0x2d2815]['type']&&(_0x5c1b8a[_0x2d2815]['item']['startIndex']=_0x3997b6['get'](_0x5c1b8a[_0x2d2815]['pairId']));}['_processTape'](_0x83f59d){for(let _0x5f525a=0x0;_0x5f525a<_0x83f59d['length'];_0x5f525a++){if('elementStart'===_0x83f59d[_0x5f525a]['type'])_0x83f59d[_0x5f525a]['item']['startIndex']=_0x5f525a;else{if('elementEnd'===_0x83f59d[_0x5f525a]['type']){_0x83f59d[_0x5f525a]['item']['endIndex']=_0x5f525a;const _0x3506ec=_0x83f59d[_0x5f525a]['item']['startIndex'];_0x83f59d[_0x3506ec]['pairId']=_0x83f59d[_0x5f525a]['id'],_0x83f59d[_0x5f525a]['pairId']=_0x83f59d[_0x3506ec]['id'];}else _0x83f59d[_0x5f525a]['item']['startIndex']=_0x5f525a,_0x83f59d[_0x5f525a]['item']['endIndex']=_0x5f525a,_0x83f59d[_0x5f525a]['pairId']=null;}_0x83f59d[_0x5f525a]['markersStart']||(_0x83f59d[_0x5f525a]['markersStart']=[],_0x83f59d[_0x5f525a]['markersEnd']=[]);}}['_markInsertions'](_0x38bbb7,_0x293c5e){const _0x3c70b2=_0x38bbb7['filter'](_0x350dbb=>!_0x350dbb['isAdded']);for(let _0x5b11bb=0x0;_0x5b11bb<_0x293c5e['length'];_0x5b11bb++)_0x293c5e[_0x5b11bb]['isAdded']&&(_0x3c70b2[_0x5b11bb]['isAdded']=_0x293c5e[_0x5b11bb]['isAdded']);}['_makeModelFromViewString'](_0x2d6f26){const _0x2cc854=JSON['parse'](_0x2d6f26),_0x1cadfd=this['editor']['editing']['view']['document'],_0x43fb8c=new _0x42f1fd(_0x1cadfd,_0x2cc854['map'](_0x6a084=>this['_getViewObj'](_0x6a084)));return this['editor']['data']['toModel'](_0x43fb8c);}['_getViewObj'](_0x1ebdb9){const _0x54608d=this['editor']['editing']['view']['document'];if('string'==typeof _0x1ebdb9)return new _0x4095d9(_0x54608d,_0x1ebdb9);{const _0x52f21a=_0x1ebdb9['children']['map'](_0x6be4f=>this['_getViewObj'](_0x6be4f));return new(tt[_0x1ebdb9['type']]||_0x701643)(_0x54608d,_0x1ebdb9['name'],_0x1ebdb9['attributes'],_0x52f21a);}}['_getDiff'](_0x266148,_0x2dce8d=null){const _0x44296f=this['repository']['getRevision'](_0x266148),_0x29bdbd=_0x2dce8d?this['repository']['getRevision'](_0x2dce8d):null,_0x575b4b=this['_getRevisionsRange'](_0x44296f,_0x29bdbd),_0x4361bd=_0x575b4b[_0x575b4b['length']-0x1],_0x138f9d=new Map(),_0x1efc2e={'model':{},'attributes':{},'changes':[]},_0x346a34=new Set(),_0x5c7756=new Map();for(let _0x52e453=_0x575b4b['length']-0x1;_0x52e453>=0x0;_0x52e453--){const _0x2d8121=_0x575b4b[_0x52e453];for(const _0x158abc of Object['keys'](_0x2d8121['diffData']))if(_0x2d8121['diffData'][_0x158abc]['attachChange']){const _0x45eb51=_0x2d8121['diffData'][_0x158abc]['attachChange'];_0x45eb51['isAttached']?(_0x346a34['add'](_0x158abc),_0x5c7756['has'](_0x158abc)&&_0x5c7756['get'](_0x158abc)['userId']==_0x45eb51['userId']?_0x5c7756['delete'](_0x158abc):_0x5c7756['set'](_0x158abc,_0x45eb51)):_0x5c7756['has'](_0x158abc)?(_0x346a34['delete'](_0x158abc),_0x5c7756['delete'](_0x158abc)):(_0x346a34['add'](_0x158abc),_0x5c7756['set'](_0x158abc,_0x45eb51));}else _0x346a34['add'](_0x158abc);}for(const _0x395bd4 of _0x346a34){const _0x406772=_0x5c7756['has'](_0x395bd4)&&!_0x5c7756['get'](_0x395bd4)['isAttached'];let _0x1e3035=_0x406772?_0x575b4b['length']-0x1:0x0;const _0x532e14=_0x406772?-0x1:0x1;for(;_0x575b4b[_0x1e3035];){const _0x18310e=_0x575b4b[_0x1e3035];if(_0x18310e['diffData'][_0x395bd4]){const _0x382b59=_0x406772?_0x18310e['diffData'][_0x395bd4]['attributesBefore']:_0x18310e['diffData'][_0x395bd4]['attributesAfter'];_0x1efc2e['attributes'][_0x395bd4]=_0x382b59?_0x2ade0a(_0x382b59):{};break;}_0x1e3035+=_0x532e14;}}for(const _0x434b20 of _0x575b4b){_0x434b20['model']={};for(const _0x383fc2 of _0x434b20['authors'])_0x138f9d['set'](_0x383fc2['id'],_0x383fc2);for(const _0x3f3691 of _0x346a34){const _0x484a8b=_0x434b20['diffData'][_0x3f3691]?_0x434b20['diffData'][_0x3f3691]['insertions']:'[]',_0x4cf7b3=_0x434b20['diffData'][_0x3f3691]?_0x434b20['diffData'][_0x3f3691]['deletions']:'[]';_0x434b20['model'][_0x3f3691]={'insertions':this['_makeModelFromViewString'](_0x484a8b),'deletions':this['_makeModelFromViewString'](_0x4cf7b3)};}}for(const _0x5314da of _0x346a34){let _0x2eac5c=null,_0x5e1f1a=0x0;const _0x3f99ba=new Map(Array['from'](_0x44296f['model'][_0x5314da]['insertions']['markers'])['filter'](([_0x4ba315])=>!_0x4ba315['startsWith']('revision:')));let _0x5ca161=0x0;for(const _0x1810bf of _0x575b4b){const _0x398c01=this['_makeTape'](_0x1810bf['model'][_0x5314da]['insertions']);_0x1810bf==_0x44296f?(_0x2eac5c=_0x398c01,_0x5e1f1a=_0x2eac5c['length'],_0x2eac5c['forEach'](_0x564894=>{_0x564894['id']=_0x5ca161++;}),this['_processTape'](_0x2eac5c)):this['_markInsertions'](_0x2eac5c,_0x398c01);const _0x3fb837=_0x2eac5c['filter'](_0x551779=>!_0x551779['isAdded'])['map'](_0xb70637=>_0xb70637['id']);let _0x17b66b=0x0;const _0x2e8939=this['_makeTape'](_0x1810bf['model'][_0x5314da]['deletions']);_0x2e8939['forEach'](_0x3db40e=>{_0x3db40e['isRemoved']?_0x3db40e['id']=_0x5e1f1a++:_0x3db40e['id']=_0x3fb837[_0x17b66b++];}),this['_processTape'](_0x2e8939),this['_setDistance'](_0x2eac5c,'isAdded'),this['_setDistance'](_0x2e8939,'isRemoved'),_0x1810bf==_0x44296f&&this['_markMarkers'](_0x2eac5c,_0x3f99ba),_0x2eac5c=this['_joinTapes'](_0x2eac5c,_0x2e8939),this['_refreshStartEndIndex'](_0x2eac5c),this['_setDistance'](_0x2eac5c,'isRemoved');}_0x2eac5c=_0x2eac5c['filter'](_0x226cec=>!(_0x226cec['isAdded']&&_0x226cec['isRemoved']));const _0x1a5239=new Map(_0x4361bd['model'][_0x5314da]['deletions']['markers']),_0x2a600f=new Set(_0x3f99ba['keys']());for(const _0x1ed054 of _0x1a5239['keys']())_0x2a600f['delete'](_0x1ed054);this['_markSuggestions'](_0x2eac5c,_0x2a600f),this['_fixObsoleteTags'](_0x2eac5c),_0x2eac5c=this['_removeMissingPairs'](_0x2eac5c),_0x2eac5c=this['_markMismatchedRemovedTags'](_0x2eac5c),_0x2eac5c=this['_removeUnsupportedChanges'](_0x2eac5c);const {root:_0x101b94,changes:_0x223730}=this['_makeModelFromTape'](_0x2eac5c,_0x138f9d,_0x5314da);_0x1efc2e['model'][_0x5314da]=_0x101b94;const _0x12e651=_0x5c7756['get'](_0x5314da);if(_0x12e651){const _0x2d3009=_0x138f9d['get'](_0x12e651['userId']),_0x20decc=new r({'author':_0x2d3009,'type':_0x12e651['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5314da});_0x223730['unshift'](_0x20decc),_0x1efc2e['attributes'][_0x5314da]['revisionHistoryAttachChange']=_0x20decc['id'];}_0x1efc2e['changes']=_0x1efc2e['changes']['concat'](_0x223730);}return _0x1efc2e;}['_markMarkers'](_0xf91180,_0x5c9c9c){for(let _0x2d8071=0x0;_0x2d8071<_0xf91180['length'];_0x2d8071++)for(const [_0x3fd900,_0x11142d]of _0x5c9c9c)_0x11142d['start']['isEqual'](_0xf91180[_0x2d8071]['previousPosition'])&&_0xf91180[_0x2d8071]['markersStart']['push'](_0x3fd900),_0x11142d['end']['isEqual'](_0xf91180[_0x2d8071]['nextPosition'])&&_0xf91180[_0x2d8071]['markersEnd']['push'](_0x3fd900);}['_joinTapes'](_0x227e0e,_0x134651){let _0x3ab239=[],_0x33fc58=0x0,_0x41c59a=0x0;for(;_0x33fc58<_0x227e0e['length']||_0x41c59a<_0x134651['length'];){const _0x1a259c=_0x227e0e[_0x33fc58]||{},_0x180b23=_0x134651[_0x41c59a]||{};if(_0x1a259c['id']==_0x180b23['id'])_0x33fc58++,_0x41c59a++,_0x3ab239['push'](_0x1a259c);else{if(_0x180b23['isRemoved']&&_0x1a259c['isAdded']){const {commonTape:_0x292254,iEnd:_0x1c45bb,jEnd:_0x96b298}=this['_threeWayMerge'](_0x227e0e,_0x33fc58,_0x134651,_0x41c59a);_0x3ab239=_0x3ab239['concat'](_0x292254),_0x33fc58=_0x1c45bb,_0x41c59a=_0x96b298;}else _0x180b23['isRemoved']?(_0x41c59a++,_0x3ab239['push'](_0x180b23)):(_0x33fc58++,_0x3ab239['push'](_0x1a259c));}}return _0x3ab239;}['_markSuggestions'](_0x2940ee,_0x421423){const _0x239257=[];for(let _0x5b5af0=0x0;_0x5b5af0<_0x2940ee['length'];_0x5b5af0++){for(let _0x920792=0x0;_0x920792<_0x2940ee[_0x5b5af0]['markersStart']['length'];_0x920792++){const _0x41ed40=_0x2940ee[_0x5b5af0]['markersStart'][_0x920792];if(!_0x421423['has'](_0x41ed40))continue;const {group:_0xf77ad8,type:_0x2b0b6d,authorId:_0x36969b}=_0x506cc3(_0x41ed40);'revision-suggestion'!=_0xf77ad8||'insertion'!=_0x2b0b6d&&'deletion'!=_0x2b0b6d||(_0x239257['unshift']({'type':_0x2b0b6d,'name':_0x41ed40,'userId':_0x36969b}),_0x2940ee[_0x5b5af0]['markersStart']['splice'](_0x920792,0x1),_0x920792--);}_0x4ecbb8(_0x2940ee[_0x5b5af0]);for(let _0x2f0d08=0x0;_0x2f0d08<_0x2940ee[_0x5b5af0]['markersEnd']['length'];_0x2f0d08++){const _0x24450c=_0x2940ee[_0x5b5af0]['markersEnd'][_0x2f0d08];if(!_0x421423['has'](_0x24450c))continue;const {group:_0x3e753c,type:_0x57327b}=_0x506cc3(_0x24450c);if('revision-suggestion'!=_0x3e753c||'insertion'!=_0x57327b&&'deletion'!=_0x57327b)continue;_0x2940ee[_0x5b5af0]['markersEnd']['splice'](_0x2f0d08,0x1),_0x2f0d08--;const _0xc4c421=_0x239257['findIndex'](_0x4006c2=>_0x4006c2['name']==_0x24450c);_0xc4c421>-0x1&&_0x239257['splice'](_0xc4c421,0x1);}}function _0x506cc3(_0x3b2ef3){const _0x5104d8=_0x3b2ef3['split'](':');return{'group':_0x5104d8[0x0],'type':_0x5104d8[0x1],'subType':_0x5104d8['length']>=0x5?_0x5104d8[0x2]:null,'id':_0x5104d8['length']<0x5?_0x5104d8[0x2]:_0x5104d8[0x3],'authorId':_0x5104d8['length']<0x5?_0x5104d8[0x3]:_0x5104d8[0x4],'markerCount':0x6==_0x5104d8['length']?_0x5104d8[0x5]:null};}function _0x4ecbb8(_0x4af8bd){for(let _0x19d55a=0x0;_0x19d55a<_0x239257['length'];_0x19d55a++){if(_0x4af8bd['isAdded']&&'insertion'==_0x239257[_0x19d55a]['type'])return _0x4af8bd['isAddSuggestion']=_0x239257[_0x19d55a],void delete _0x4af8bd['isAdded'];if(!_0x4af8bd['isAdded']&&!_0x4af8bd['isRemoved']&&'deletion'==_0x239257[_0x19d55a]['type'])return void(_0x4af8bd['isRemoveSuggestion']=_0x239257[_0x19d55a]);}}}['_setDistance'](_0x33cc9b,_0x383c91){let _0x142308=0x0,_0x492cdc=!0x1;const _0x14b4aa=new Map();for(const _0x56d4e5 of _0x33cc9b)_0x56d4e5[_0x383c91]?_0x492cdc&&(_0x142308++,_0x492cdc=!0x1):(_0x142308++,_0x492cdc=!0x0),_0x14b4aa['set'](_0x56d4e5['id'],_0x142308);for(let _0x3c1814=0x0;_0x3c1814<_0x33cc9b['length'];_0x3c1814++){if('isRemoved'==_0x383c91&&_0x33cc9b[_0x3c1814]['isAdded']||'isAdded'==_0x383c91&&_0x33cc9b[_0x3c1814]['isRemoved'])continue;if('text'==_0x33cc9b[_0x3c1814]['type']){_0x33cc9b[_0x3c1814]['distance']=0x0;continue;}const _0x29ff83=_0x14b4aa['get'](_0x33cc9b[_0x3c1814]['pairId']),_0x202a24=_0x14b4aa['get'](_0x33cc9b[_0x3c1814]['id']);_0x33cc9b[_0x3c1814]['distance']=_0x29ff83-_0x202a24;}}['_getRevisionsRange'](_0xd36a6f,_0x2f08dc,_0x2dd7f7=!0x1){const _0x48578a=[];let _0x5bfa42=this['repository']['getIndex'](_0xd36a6f),_0x53331f=this['repository']['getIndex'](_0x2f08dc);for(-0x1==_0x53331f&&(_0x53331f=this['repository']['_revisions']['length'],_0x2dd7f7=!0x1);_0x5bfa42<_0x53331f;)_0x48578a['push'](this['repository']['getRevision'](_0x5bfa42)),_0x5bfa42++;return _0x2dd7f7&&_0x48578a['push'](this['repository']['getRevision'](_0x5bfa42)),_0x48578a;}['_threeWayMerge'](_0x5dc481,_0x50c257,_0x1c2975,_0xc59b9f){const _0x2a90d1=this['editor']['model']['schema'];let _0x229976=_0x50c257;for(;_0x5dc481[_0x229976]&&_0x5dc481[_0x229976]['isAdded'];)_0x229976++;let _0x54aeea=_0xc59b9f;for(;_0x1c2975[_0x54aeea]&&_0x1c2975[_0x54aeea]['isRemoved'];)_0x54aeea++;_0x1af91e(_0x5dc481,_0x50c257,_0x229976),_0x1af91e(_0x1c2975,_0xc59b9f,_0x54aeea);const _0x45dbf7=_0x1c2975['slice'](_0xc59b9f,_0x54aeea)['concat'](_0x5dc481['slice'](_0x50c257,_0x229976));return _0x45dbf7['sort']((_0x34e831,_0x50137e)=>_0x34e831['side']!=_0x50137e['side']?_0x34e831['side']-_0x50137e['side']:_0x34e831['level']!=_0x50137e['level']?_0x34e831['level']-_0x50137e['level']:_0x34e831['distance']!=_0x50137e['distance']?_0x50137e['distance']-_0x34e831['distance']:!!_0x34e831['isAdded']!=!!_0x50137e['isAdded']?-0x1==_0x34e831['side']||0x0==_0x34e831['side']?_0x34e831['isAdded']?-0x1:0x1:_0x34e831['isAdded']?0x1:-0x1:_0x34e831['index']-_0x50137e['index']),{'commonTape':_0x45dbf7,'iEnd':_0x229976,'jEnd':_0x54aeea};function _0x1af91e(_0x4cc6f9,_0x5e4a89,_0x110f59){let _0xf3d503=-0x1,_0x350c1a=Number['POSITIVE_INFINITY'],_0x642aae=!0x0;for(let _0x4850b1=_0x5e4a89;_0x4850b1<_0x110f59;_0x4850b1++)if(_0x2a90d1['isInline'](_0x4cc6f9[_0x4850b1]['item'])||(_0x642aae=!0x1),_0x4cc6f9[_0x4850b1]['item']['startIndex']<_0x5e4a89&&(_0xf3d503=_0x4850b1),_0x4cc6f9[_0x4850b1]['item']['endIndex']>=_0x110f59){_0x350c1a=_0x4850b1;break;}_0x642aae&&(_0xf3d503=_0x110f59-0x1);for(let _0x326891=_0x5e4a89;_0x326891<_0x110f59;_0x326891++)_0x4cc6f9[_0x326891]['side']=_0x326891<=_0xf3d503?-0x1:_0x326891<_0x350c1a?0x0:0x1,_0x4cc6f9[_0x326891]['index']=_0x326891;let _0xd28ece=0x0;for(let _0x48fdcb=_0x5e4a89;_0x48fdcb<=_0xf3d503;_0x48fdcb++)0x0==_0x4cc6f9[_0x48fdcb]['distance']?_0x4cc6f9[_0x48fdcb]['level']=_0xd28ece:(_0xd28ece++,_0x4cc6f9[_0x48fdcb]['level']=_0xd28ece,_0xd28ece++);for(let _0x5a7820=_0x5e4a89;_0x5a7820<_0x110f59;_0x5a7820++)0x0==_0x4cc6f9[_0x5a7820]['side']&&(_0x4cc6f9[_0x5a7820]['level']=_0xd28ece);_0xd28ece=0x0;for(let _0x4108a3=_0x110f59-0x1;_0x4108a3>=_0x350c1a;_0x4108a3--)0x0==_0x4cc6f9[_0x4108a3]['distance']?_0x4cc6f9[_0x4108a3]['level']=_0xd28ece:(_0xd28ece--,_0x4cc6f9[_0x4108a3]['level']=_0xd28ece,_0xd28ece--);}}['_fixObsoleteTags'](_0x2a7354){const _0x233b9d=new Map(),_0x1aec60=this['editor']['model']['schema'];for(let _0x430473=0x1;_0x430473<_0x2a7354['length'];_0x430473++){let _0x2886dd,_0x11e7c1,_0x53fb0d;const _0x51e449=_0x2a7354[_0x430473],_0x42e2c9=_0x2a7354[_0x430473-0x1];if('text'==_0x51e449['type'])continue;if(_0x51e449['type']!=_0x42e2c9['type'])continue;if(!_0x1aec60['isBlock'](_0x42e2c9['item'])||_0x1aec60['isLimit'](_0x42e2c9['item']))continue;if(!_0x1aec60['isBlock'](_0x51e449['item'])||_0x1aec60['isLimit'](_0x51e449['item']))continue;if((_0x2a7354[_0x430473]['isAdded']||_0x2a7354[_0x430473]['isAddSuggestion'])&&_0x2a7354[_0x430473-0x1]['isRemoved'])_0x2886dd=_0x2a7354[_0x430473],_0x11e7c1=_0x2a7354[_0x430473-0x1],_0x53fb0d=_0x430473-0x1;else{if(!_0x2a7354[_0x430473]['isRemoved']||!_0x2a7354[_0x430473-0x1]['isAdded']&&!_0x2a7354[_0x430473-0x1]['isAddSuggestion'])continue;_0x2886dd=_0x2a7354[_0x430473-0x1],_0x11e7c1=_0x2a7354[_0x430473],_0x53fb0d=_0x430473;}const _0x23ed0c=_0x2886dd['level']==_0x11e7c1['level'],_0x28c3fb=Math['abs'](_0x2886dd['level'])<Math['abs'](_0x11e7c1['level'])&&0x0==_0x11e7c1['distance'];(_0x23ed0c||_0x28c3fb)&&(_0x233b9d['set'](_0x11e7c1['id'],_0x2886dd['id']),_0x2a7354['splice'](_0x53fb0d,0x1),_0x430473--,_0x2886dd['isAdded']=!0x1);}for(let _0x3f2f31=0x0;_0x3f2f31<_0x2a7354['length'];_0x3f2f31++)_0x233b9d['has'](_0x2a7354[_0x3f2f31]['pairId'])&&(_0x2a7354[_0x3f2f31]['pairId']=_0x233b9d['get'](_0x2a7354[_0x3f2f31]['pairId']));}['_removeMissingPairs'](_0x3d74ae){const _0xa3a114=new Set(_0x3d74ae['map'](_0x3a4fa6=>_0x3a4fa6['id']));for(let _0x3b4ebe=0x0;_0x3b4ebe<_0x3d74ae['length'];_0x3b4ebe++)_0xa3a114['has'](_0x3d74ae[_0x3b4ebe]['pairId'])||0x0==_0x3d74ae[_0x3b4ebe]['distance']||(_0x3d74ae[_0x3b4ebe]['isIncorrect']=!0x0);return _0x3d74ae['filter'](_0x230613=>!_0x230613['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3cf221){const _0x47f63c=new Set();for(let _0x3bf2bd=0x0;_0x3bf2bd<_0x3cf221['length'];_0x3bf2bd++){if(_0x47f63c['has'](_0x3cf221[_0x3bf2bd]['id'])&&_0x3cf221[_0x3bf2bd]['isRemoved']&&(_0x3cf221[_0x3bf2bd]['isIncorrect']=!0x0),_0x3cf221[_0x3bf2bd]['isIncorrect'])continue;if(0x0==_0x3cf221[_0x3bf2bd]['distance'])continue;if('elementStart'!=_0x3cf221[_0x3bf2bd]['type'])continue;if(null==_0x3cf221[_0x3bf2bd]['pairId'])continue;let _0x5bce89=_0x3bf2bd+0x1,_0x20f3af=0x0;for(;_0x3cf221[_0x5bce89]['id']!=_0x3cf221[_0x3bf2bd]['pairId'];)'elementStart'==_0x3cf221[_0x5bce89]['type']?_0x20f3af++:'elementEnd'==_0x3cf221[_0x5bce89]['type']&&_0x20f3af--,_0x5bce89++;if(0x0!=_0x20f3af){if(_0x3cf221[_0x3bf2bd]['isRemoved'])_0x3cf221[_0x3bf2bd]['isIncorrect']=!0x0;else{for(;_0x5bce89!=_0x3bf2bd;)_0x3cf221[_0x5bce89]['isRemoved']&&0x0!=_0x3cf221[_0x5bce89]['distance']&&(_0x3cf221[_0x5bce89]['isIncorrect']=!0x0,_0x47f63c['add'](_0x3cf221[_0x5bce89]['pairId'])),_0x5bce89--;}}}return _0x3cf221['filter'](_0x4bc674=>!_0x4bc674['isIncorrect']);}['_removeUnsupportedChanges'](_0x4c5fc0){const _0x671e66=this['editor']['model']['schema'];for(let _0xc67aea=0x0;_0xc67aea<_0x4c5fc0['length'];_0xc67aea++){if(!(_0x4c5fc0[_0xc67aea]['isAdded']||_0x4c5fc0[_0xc67aea]['isAddSuggestion']||_0x4c5fc0[_0xc67aea]['isRemoved']||_0x4c5fc0[_0xc67aea]['isRemoveSuggestion']))continue;if(0x0==_0x4c5fc0[_0xc67aea]['distance'])continue;const _0x501b4e=_0x4c5fc0[_0xc67aea]['item'];_0x671e66['isBlock'](_0x501b4e)||_0x671e66['isLimit'](_0x501b4e)||(_0x4c5fc0[_0xc67aea]['isAdded']&&delete _0x4c5fc0[_0xc67aea]['isAdded'],_0x4c5fc0[_0xc67aea]['isAddSuggestion']&&delete _0x4c5fc0[_0xc67aea]['isAddSuggestion'],_0x4c5fc0[_0xc67aea]['isRemoveSuggestion']&&delete _0x4c5fc0[_0xc67aea]['isRemoveSuggestion'],_0x4c5fc0[_0xc67aea]['isRemoved']&&(_0x4c5fc0[_0xc67aea]['isIncorrect']=!0x0));}return _0x4c5fc0['filter'](_0x13aa27=>!_0x13aa27['isIncorrect']);}['_makeModelFromTape'](_0x2d2e7b,_0x40d5d1,_0x42156a){const _0x45962b=new wt(),_0x2a9fdd=[],_0x173809=new Map(),_0x4947d1=this['editor']['model'],_0x918746=_0x4947d1['schema'],_0xdc6305=[_0x45962b],_0x5c1fe6={},_0x3dc823={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x173bc5=null;const _0x5de615=[0x0];for(let _0x3015bf=0x0;_0x3015bf<_0x2d2e7b['length'];_0x3015bf++){let _0x55629f,_0xac2056;if('elementStart'===_0x2d2e7b[_0x3015bf]['type']){_0x55629f=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615);const _0x1794ca=new ft(_0x2d2e7b[_0x3015bf]['item']['name'],_0x2d2e7b[_0x3015bf]['item']['getAttributes']());_0xdc6305[0x0]['_appendChild'](_0x1794ca),_0x5de615['push'](0x0),_0xdc6305['unshift'](_0x1794ca),_0xac2056=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x173bc5=null;}else{if('elementEnd'===_0x2d2e7b[_0x3015bf]['type'])_0xdc6305['shift'](),_0x55629f=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x5de615['pop'](),_0x5de615[_0x5de615['length']-0x1]++,_0xac2056=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x173bc5=null;else{if(_0x55629f=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x173bc5&&_0xb16e32(_0x173bc5,_0x2d2e7b[_0x3015bf]['item']))_0x173bc5['_data']+=_0x2d2e7b[_0x3015bf]['item']['data'];else{const _0x242d3a=new _t(_0x2d2e7b[_0x3015bf]['item']['data'],_0x2d2e7b[_0x3015bf]['item']['getAttributes']());_0xdc6305[0x0]['_appendChild'](_0x242d3a),_0x173bc5=_0x242d3a;}_0x5de615[_0x5de615['length']-0x1]+=_0x2d2e7b[_0x3015bf]['item']['offsetSize'],_0xac2056=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615);}}for(const _0x45ca5b of _0x2d2e7b[_0x3015bf]['markersStart'])_0x173809['set'](_0x45ca5b,{'start':_0x55629f,'end':null});_0x21d404('isRemoveSuggestion',_0x3015bf,_0x55629f,_0xac2056),_0x21d404('isAddSuggestion',_0x3015bf,_0x55629f,_0xac2056),_0x21d404('isRemoved',_0x3015bf,_0x55629f,_0xac2056),_0x21d404('isAdded',_0x3015bf,_0x55629f,_0xac2056);for(const _0x33601c of _0x2d2e7b[_0x3015bf]['markersEnd']){_0x173809['get'](_0x33601c)['end']=_0xac2056;}}for(const [_0x15bde4,_0x1696a2]of _0x173809){const _0x543a8c=this['editor']['model']['createRange'](_0x1696a2['start'],_0x1696a2['end']);_0x45962b['markers']['set'](_0x15bde4,_0x543a8c);}return _0x2a9fdd['sort']((_0x19a043,_0x35e6b5)=>{const _0x1ddecc=_0x45962b['markers']['get']('revision:'+_0x19a043['id']),_0x31106c=_0x45962b['markers']['get']('revision:'+_0x35e6b5['id']);return _0x1ddecc['start']['isBefore'](_0x31106c['start'])?-0x1:_0x1ddecc['start']['isAfter'](_0x31106c['start'])?0x1:_0x1ddecc['end']['isBefore'](_0x31106c['end'])?-0x1:_0x1ddecc['end']['isAfter'](_0x31106c['end'])?0x1:'add'===_0x19a043['type']?-0x1:0x1;}),{'root':_0x45962b,'changes':_0x2a9fdd};function _0x21d404(_0x4e28fa,_0x237733,_0x4b1a07,_0xda7e8a){const _0x3e6589=!!_0x2d2e7b[_0x237733][_0x4e28fa],_0x4cf3a3=_0x3e6589?_0x2d2e7b[_0x237733][_0x4e28fa]['userId']:null,_0x4676fd=_0x237733===_0x2d2e7b['length']-0x1,_0x51b6b5=_0x3dc823[_0x4e28fa][0x0],_0x5ef15e=_0x918746['isObject'](_0x2d2e7b[_0x237733]['item']);!_0x5c1fe6[_0x4e28fa]&&_0x3e6589?_0x5c1fe6[_0x4e28fa]={'start':_0x4b1a07,'tapeItem':_0x2d2e7b[_0x237733],'userId':_0x4cf3a3,'type':_0x4e28fa}:_0x5c1fe6[_0x4e28fa]&&!_0x3e6589?(_0x5c1fe6[_0x4e28fa]['end']=_0x4b1a07,_0x21e603(_0x5c1fe6[_0x4e28fa]),_0x5c1fe6[_0x4e28fa]=null):_0x5c1fe6[_0x4e28fa]&&_0x3e6589&&_0x5c1fe6[_0x4e28fa]['userId']!==_0x4cf3a3&&(_0x5c1fe6[_0x4e28fa]['end']=_0x4b1a07,_0x51b6b5&&_0x51b6b5['userId']===_0x5c1fe6[_0x4e28fa]['userId']||_0x21e603(_0x5c1fe6[_0x4e28fa]),_0x5c1fe6[_0x4e28fa]={'start':_0x4b1a07,'tapeItem':_0x2d2e7b[_0x237733],'userId':_0x4cf3a3,'type':_0x4e28fa}),_0x5c1fe6[_0x4e28fa]&&_0x5ef15e&&('elementStart'!==_0x2d2e7b[_0x237733]['type']||_0x51b6b5&&_0x51b6b5['userId']===_0x4cf3a3||_0x3dc823[_0x4e28fa]['unshift']({'userId':_0x4cf3a3,'object':_0x2d2e7b[_0x237733]['item'],'change':_0x5c1fe6[_0x4e28fa]}),'elementEnd'===_0x2d2e7b[_0x237733]['type']&&_0x51b6b5&&_0x51b6b5['object']===_0x2d2e7b[_0x237733]['item']&&(_0x3dc823[_0x4e28fa]['shift'](),_0x5c1fe6[_0x4e28fa]=_0x51b6b5['change'])),_0x5c1fe6[_0x4e28fa]&&_0x4676fd&&(_0x5c1fe6[_0x4e28fa]['end']=_0xda7e8a,_0x21e603(_0x5c1fe6[_0x4e28fa]),_0x5c1fe6[_0x4e28fa]=null);}function _0x21e603({start:_0x3abd7f,end:_0xc0c75,tapeItem:_0x15c1b7,userId:_0x25819f,type:_0x4bd2f4}){const _0x2e0850=_0x15c1b7['item'],_0x3c57f0=_0x4947d1['schema']['isBlock'](_0x2e0850)&&!_0x4947d1['schema']['isLimit'](_0x2e0850),_0x4d26a0=_0x3abd7f['nodeAfter']==_0xc0c75['parent']&&_0xc0c75['isAtStart'];if(_0x3c57f0&&_0x4d26a0)return;const _0x416ec7=_0x4947d1['createRange'](_0x3abd7f,_0xc0c75),_0x25910d=_0x40d5d1['get'](_0x25819f),_0x5c99dd=new r({'author':_0x25910d,'type':'isAdded'==_0x4bd2f4||'isAddSuggestion'==_0x4bd2f4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4bd2f4||'isRemoveSuggestion'==_0x4bd2f4},'createdAt':new Date(),'rootName':_0x42156a});_0x2a9fdd['push'](_0x5c99dd),_0x45962b['markers']['set']('revision:'+_0x5c99dd['id'],_0x416ec7);}function _0xb16e32(_0x417edb,_0x51b994){const _0x5db8e3=_0x417edb['getAttributes'](),_0x170745=_0x51b994['getAttributes']();for(const _0x1bd699 of _0x5db8e3){if(_0x1bd699[0x1]!==_0x51b994['getAttribute'](_0x1bd699[0x0]))return!0x1;_0x170745['next']();}return _0x170745['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x24132a=>{const _0x1aeacc=_0x24132a['markerName']['split'](':')[0x1],_0x190fff=this['_getChangeFromId'](_0x1aeacc);if(!_0x190fff)return null;const _0x5444bf='add'==_0x190fff['type']?'insertion':'deletion',_0x52d5b5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5444bf];return _0x190fff['data']['isSuggestion']&&_0x52d5b5['push']('ck-suggestion-marker-'+_0x5444bf+'-new'),this['activeChange']==_0x190fff&&_0x52d5b5['push']('ck-suggestion-marker--active'),{'classes':_0x52d5b5,'attributes':{'data-change-id':_0x1aeacc}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5282b9=>{_0x5282b9['on']('element:pre',(_0x3b6897,_0x307181,_0x194869)=>{const _0x2c7d6a=_0x307181['viewItem']['getChild'](0x0);if(!_0x2c7d6a||!_0x2c7d6a['is']('element','code'))return;if(!_0x194869['consumable']['consume'](_0x2c7d6a,{'attributes':['vid_start','vid_end']}))return;const _0x113d36=_0x307181['modelRange']['start']['nodeAfter'];_0x194869['writer']['setAttribute']('vid_start',_0x2c7d6a['getAttribute']('vid_start'),_0x113d36),_0x194869['writer']['setAttribute']('vid_end',_0x2c7d6a['getAttribute']('vid_end'),_0x113d36);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4076b1=>{_0x4076b1['on']('element',(_0x1847f1,_0x147847,_0x39d625)=>{if(!_0x39d625['consumable']['consume'](_0x147847['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x147847['modelRange']['isCollapsed'])return;const _0xa37df2=_0x147847['modelRange']['start']['nodeAfter'];_0xa37df2['hasAttribute']('vid_start')||_0xa37df2['hasAttribute']('vid')||(_0x39d625['writer']['setAttribute']('vid_start',_0x147847['viewItem']['getAttribute']('vid_start'),_0xa37df2),_0x39d625['writer']['setAttribute']('vid_end',_0x147847['viewItem']['getAttribute']('vid_end'),_0xa37df2));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x48dc48=>_0x48dc48['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x122045,[,_0x4d6616])=>{['vid_start','vid_end','vid']['includes'](_0x4d6616)&&(_0x122045['return']=!0x0,_0x122045['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x30533b=>{_0x30533b['on']('attribute:vid',(_0xeb5d55,_0x3568c7,_0x4304c5)=>{if('\x20'!=_0x3568c7['item']['data']||_0x3568c7['item']['parent']['maxOffset']>0x1)return;if(!_0x4304c5['consumable']['consume'](_0x3568c7['item'],_0xeb5d55['name']))return;const _0x100845=_0x4304c5['writer'],_0x38f40e=_0x4304c5['mapper']['toViewRange'](_0x3568c7['range']);_0x100845['wrap'](_0x38f40e,_0x100845['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1dd38c){const _0x479bc0=_0x1dd38c['plugins']['get']('RevisionViewer');return(_0x12e43c,_0x48d0d7,_0x1b6c5)=>{const _0x3e1812=_0x48d0d7['markerName']['split'](':')[0x1],_0x2ce1e9=_0x479bc0['_getChangeFromId'](_0x3e1812);if(!_0x2ce1e9)return null;const _0x3c3c64='add'==_0x2ce1e9['type']?'split':'merge';if(!_0x1b6c5['consumable']['test'](_0x48d0d7['markerRange'],_0x12e43c['name']))return;const _0x25d319=_0x48d0d7['markerRange']['getWalker'](),_0x18be97=_0x48d0d7['markerRange']['start'],_0x3e2c74=_0x1dd38c['model']['schema'];let _0xc0f284=null,_0x275456=null,_0x26bb1d=!0x1,_0x5510f7=!0x1;for(const _0x26f2bc of _0x25d319){const _0x33eb9e=_0x26f2bc['item'];_0x26bb1d=_0x26bb1d||_0x3e2c74['isContent'](_0x33eb9e);const _0x2d86e4=_0x1b6c5['mapper']['toViewElement'](_0x33eb9e);if(_0x2d86e4&&_0x2d86e4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x26f2bc['type']&&(_0x3e2c74['isBlock'](_0x33eb9e)&&!_0x3e2c74['isLimit'](_0x33eb9e)&&(_0x33eb9e['nextSibling']||_0x18be97['isAtEnd']?_0xc0f284&&_0xc0f284['parent']==_0x33eb9e||(_0xc0f284=_0x33eb9e,_0xee01e0(_0x26f2bc['previousPosition']),_0x5510f7=!0x0):_0x275456=_0x275456||_0x26f2bc['previousPosition']));}function _0xee01e0(_0x30491a){const _0x5d659b=_0x1b6c5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3c3c64}),_0x3e2e1a=_0x1b6c5['mapper']['toViewPosition'](_0x30491a);_0x2ce1e9['data']['isSuggestion']&&_0x1b6c5['writer']['addClass']('ck-suggestion-marker-'+_0x3c3c64+'-new',_0x5d659b),_0x479bc0['activeChange']==_0x2ce1e9&&_0x1b6c5['writer']['addClass']('ck-suggestion-marker--active',_0x5d659b),_0x1b6c5['writer']['insert'](_0x3e2e1a,_0x5d659b),_0x1b6c5['mapper']['bindElementToMarker'](_0x5d659b,_0x48d0d7['markerName']);}_0x26bb1d||_0x5510f7||!_0x275456||_0xee01e0(_0x275456);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x54f76f,_0x161643,_0x400985)=>{const _0x58148e=_0x400985['mapper']['markerNameToElements'](_0x161643['markerName']);if(_0x58148e){for(const _0x20f89c of _0x58148e)(_0x20f89c['hasClass']('ck-suggestion-marker-split')||_0x20f89c['hasClass']('ck-suggestion-marker-merge'))&&(_0x400985['mapper']['unbindElementFromMarkerName'](_0x20f89c,_0x161643['markerName']),_0x400985['writer']['remove'](_0x20f89c));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4547fe,_0x342768,_0x4a2f06)=>{const _0x3ef0c0=_0x342768['markerName']['split'](':')[0x1],_0x10fecd=this['_getChangeFromId'](_0x3ef0c0);if(!_0x10fecd)return null;const _0x5d372f='add'==_0x10fecd['type']?'split':'merge';if(_0x4a2f06['consumable']['test'](_0x342768['markerRange'],_0x4547fe['name']))for(const _0x10db26 of _0x342768['markerRange']['getItems']()){if(!_0x10db26['is']('element','softBreak'))continue;const _0xb6a939=_0x4a2f06['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5d372f}),_0x2f9856=_0x4a2f06['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x10db26));_0x10fecd['data']['isSuggestion']&&_0x4a2f06['writer']['addClass']('ck-suggestion-marker-'+_0x5d372f+'-new',_0xb6a939),this['activeChange']==_0x10fecd&&_0x4a2f06['writer']['addClass']('ck-suggestion-marker--active',_0xb6a939),_0x4a2f06['writer']['insert'](_0x2f9856,_0xb6a939),_0x4a2f06['mapper']['bindElementToMarker'](_0xb6a939,_0x342768['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x40f977=>{for(const _0x55494f of this['editor']['model']['document']['getRootNames']()){const _0x522805=this['editor']['model']['document']['getRoot'](_0x55494f),_0x269774=this['editor']['editing']['view']['document']['getRoot'](_0x55494f);if(_0x269774){const _0x272209=_0x522805['getAttribute']('revisionHistoryAttachChange');if(_0x40f977['removeAttribute']('data-change-id',_0x269774),_0x40f977['removeClass']('ck-revision-history-root-add',_0x269774),_0x40f977['removeClass']('ck-revision-history-root-remove',_0x269774),_0x40f977['removeClass']('ck-revision-history-root--active',_0x269774),_0x272209){const _0x2a2650=this['_getChangeFromId'](_0x272209);if(!_0x2a2650)return null;_0x40f977['setAttribute']('data-change-id',_0x272209,_0x269774),_0x40f977['addClass']('ck-revision-history-root-'+_0x2a2650['type'],_0x269774),this['activeChange']==_0x2a2650&&_0x40f977['addClass']('ck-revision-history-root--active',_0x269774);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3da8a6=>'revision-comment:'+_0x3da8a6,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4b01e4=>'revision-suggestion:'+_0x4b01e4,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x120397=>({'name':'suggestion:'+_0x120397,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2b8fbb=>{const _0x12a7fd=_0x2b8fbb['markerName']['split'](':')[0x1];return'insertion'!=_0x12a7fd&&'deletion'!=_0x12a7fd?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x12a7fd]};}}),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',(_0xc41e25,_0x586a40,_0x3b99c5)=>{const _0x2c9310=_0x3b99c5['mapper']['markerNameToElements'](_0x586a40['markerName']);if(_0x2c9310){for(const _0x36e8fc of _0x2c9310)_0x36e8fc['is']('uiElement')&&(_0x3b99c5['mapper']['unbindElementFromMarkerName'](_0x36e8fc,_0x586a40['markerName']),_0x3b99c5['writer']['remove'](_0x36e8fc));}},{'priority':'high'});}['_getChangeFromId'](_0x410164){return this['_changeIdToChange']['get'](_0x410164);}['_getViewForChange'](_0x400d94){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x400d94),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x420205,_0x33d9b9,_0x40783f,_0x5cab45)=>{_0x5cab45&&this['_balloon']['remove'](_0x5cab45),_0x40783f&&(this['_balloon']['add']({'view':_0x40783f,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x7c85df=this['editor']['editing'],_0x2f07f7=this['_getChangeFromId'](_0x40783f['changeId']);let _0x56df97;if(_0x2f07f7['data']['isOnRoot']){const _0x23012d=_0x7c85df['view']['getDomRoot'](_0x2f07f7['rootName']);_0x56df97=Array['from'](_0x23012d['getClientRects']());}else{const _0x38c7c8=this['editor']['model']['markers']['get']('revision:'+_0x40783f['changeId']);_0x56df97=Array['from'](_0x7c85df['mapper']['markerNameToElements'](_0x38c7c8['name']))['map'](_0x547403=>_0x7c85df['view']['domConverter']['mapViewToDom'](_0x547403))['map'](_0x2d1bc5=>Array['from'](_0x2d1bc5['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x56df97[0x0];return _0x56df97['find'](_0x33a996=>_0x33a996['top']-0x3<=this['_activeViewTarget']['y']&&_0x33a996['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x33a996['left']-0x3<=this['_activeViewTarget']['x']&&_0x33a996['right']+0x3>=this['_activeViewTarget']['x'])||_0x56df97[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x20d5ff,_0x2c4146,_0x3ca157,_0x2fe3cb)=>{this['activeView']=_0x3ca157?this['_getViewForChange'](_0x3ca157):null,this['editor']['model']['change'](()=>{const _0xbc67a=this['editor']['editing'];_0x2fe3cb&&(_0x2fe3cb['data']['isOnRoot']?_0xbc67a['view']['change'](_0x510d65=>{_0x510d65['removeClass']('ck-revision-history-root--active',_0xbc67a['view']['document']['getRoot'](_0x2fe3cb['rootName']));}):_0xbc67a['reconvertMarker']('revision:'+_0x2fe3cb['id'])),_0x3ca157&&(_0x3ca157['data']['isOnRoot']?_0xbc67a['view']['change'](_0x5de40d=>{_0x5de40d['addClass']('ck-revision-history-root--active',_0xbc67a['view']['document']['getRoot'](_0x3ca157['rootName']));}):_0xbc67a['reconvertMarker']('revision:'+_0x3ca157['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x542291,_0x40bc52)=>{if(this['activeChange'])return;const _0x1708e3=this['_findChangeIdFromDomTarget'](_0x40bc52['target']),_0xc1c64a=this['_changeIdToChange']['get'](_0x1708e3);_0xc1c64a?(this['_activeViewTarget']={'x':_0x40bc52['domEvent']['x'],'y':_0x40bc52['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xc1c64a)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xb31f24,_0x4c334e)=>{const _0xf53f95=this['_findChangeIdFromDomTarget'](_0x4c334e['target']),_0x1d5e58=this['_changeIdToChange']['get'](_0xf53f95);_0x1d5e58?(this['_activeViewTarget']={'x':_0x4c334e['domEvent']['x'],'y':_0x4c334e['domEvent']['y']},_0x1d5e58===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1d5e58):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x363ed3){do{const _0xfac5cf=_0x363ed3['getAttribute']('data-change-id');if(_0xfac5cf)return _0xfac5cf;_0x363ed3=_0x363ed3['parent'];}while(_0x363ed3);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xaaf5a5=>{for(const _0x4301af of this['editor']['model']['markers'])_0xaaf5a5['removeMarker'](_0x4301af);});}}function et(_0x1acf0f,_0xd3a414){return(_0x2f7eb9,_0x381e13,_0x34d638)=>{if(!_0x34d638['consumable']['test'](_0x381e13['markerRange'],_0x2f7eb9['name']))return;const _0x46b491=_0x381e13['markerRange']['getWalker'](),_0x7549d4=_0x381e13['markerRange']['start'],_0x5a6538=_0x1acf0f['model']['schema'];let _0x18c684=null,_0x40b3c8=null,_0x3db89a=!0x1,_0x542b39=!0x1;for(const _0x1dc549 of _0x46b491){const _0x2a1925=_0x1dc549['item'];_0x3db89a=_0x3db89a||_0x5a6538['isContent'](_0x2a1925);const _0x3c968d=_0x34d638['mapper']['toViewElement'](_0x2a1925);if(_0x3c968d&&_0x3c968d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1dc549['type']&&(_0x5a6538['isBlock'](_0x2a1925)&&!_0x5a6538['isLimit'](_0x2a1925)&&(_0x2a1925['nextSibling']||_0x7549d4['isAtEnd']?_0x18c684&&_0x18c684['parent']==_0x2a1925||(_0x18c684=_0x2a1925,_0x36a6f5(_0x1dc549['previousPosition']),_0x542b39=!0x0):_0x40b3c8=_0x40b3c8||_0x1dc549['previousPosition']));}function _0x36a6f5(_0x2fa954){const _0x360651=_0x34d638['mapper']['toViewPosition'](_0x2fa954),_0x41e228=_0x34d638['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xd3a414});_0x34d638['writer']['insert'](_0x360651,_0x41e228),_0x34d638['mapper']['bindElementToMarker'](_0x41e228,_0x381e13['markerName']);}_0x3db89a||_0x542b39||!_0x40b3c8||_0x36a6f5(_0x40b3c8);};}class bt extends _0x5ce32f{constructor(_0x2cf928){super(_0x2cf928);const _0x131bff=_0x2cf928['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x131bff,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x131bff,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x47aa07=this['editor'],_0x13ae0=_0x47aa07['plugins']['get'](d),_0x1513cf=_0x13ae0['isReady']?_0x13ae0['diff']['newRevisionId']:null;_0x47aa07['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1513cf);}['refresh'](){const {isReady:_0x356643,isEnabled:_0x2a7d50}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x356643&&_0x2a7d50;}}class yt extends _0x5ce32f{['_step'];constructor(_0x2fd39f,{direction:_0x22211c}){super(_0x2fd39f);const _0xf0cba2=_0x2fd39f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x22211c?0x1:-0x1,this['listenTo'](_0xf0cba2,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xf0cba2,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xf0cba2,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5a57fb=this['editor'],_0x1b6d6a=_0x5a57fb['plugins']['get'](d),{isNavigationMode:_0x31ee28,currentChangeNumber:_0x8ec26d}=_0x1b6d6a;let _0x3adf0f;if(_0x1b6d6a['activeChange']=_0x31ee28?_0x1b6d6a['diff']['changes']['get'](_0x8ec26d+this['_step']):_0x1b6d6a['diff']['changes']['first'],_0x1b6d6a['activeChange']['data']['isOnRoot'])_0x3adf0f=_0x5a57fb['editing']['view']['getDomRoot'](_0x1b6d6a['activeChange']['rootName']);else{const _0x3c0e33=_0x5a57fb['model']['markers']['get']('revision:'+_0x1b6d6a['activeChange']['id']);_0x3adf0f=_0x2a85ab(_0x5a57fb['editing'],_0x3c0e33);}_0x404bc({'target':_0x3adf0f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x7c02c1,currentChangeNumber:_0x414ef9,numberOfChanges:_0x1c5b91,isReady:_0x5acc6e,isEnabled:_0xb1779d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0xb1779d&&_0x5acc6e&&_0x1c5b91)&&(!_0x7c02c1||(0x1===this['_step']?_0x414ef9<_0x1c5b91-0x1:_0x414ef9>0x0));}}class _i extends _0x42a458{constructor(_0x405b72){super(_0x405b72);const _0x27aedc=this['bindTemplate'],_0x49197f=new _0x5325a2(_0x405b72),_0x24b0bc=new _0x5325a2(_0x405b72);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',(_0x24674c,_0x5ccc28)=>_0x24674c&&_0x5ccc28>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xe62348,_0x5c7c49,_0x1e913c,_0x304020)=>{if(!_0xe62348)return y(_0x405b72,'Loading...');if(!_0x1e913c)return y(_0x405b72,'No\x20changes');const _0xd0f67c=y(_0x405b72,'NUMBER_OF_CHANGES',_0x1e913c);return _0x304020?y(_0x405b72,'X_OF_Y_CHANGES',[_0x5c7c49+0x1,_0x1e913c]):_0xd0f67c;}),_0x49197f['set']({'label':y(_0x405b72,'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'}),_0x24b0bc['set']({'label':y(_0x405b72,'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'}),_0x49197f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x24b0bc['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x49197f['on']('execute',()=>this['fire']('execute','backward')),_0x24b0bc['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',_0x27aedc['if']('_isStatusLabelVisible','ck-hidden',_0x5a6550=>!_0x5a6550)]},'children':[{'text':_0x27aedc['to']('isNavigationMode',_0x2b7a20=>_0x2b7a20?y(_0x405b72,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x405b72,'Total')+':\x20')}]},{'text':_0x27aedc['to']('_statusText')}]},new _0x377461(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x49197f,_0x24b0bc]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x12f93a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1127b6=this['editor']['editing']['view'];_0x1127b6['change'](_0x1bacd0=>{for(const _0x23510e of _0x1127b6['document']['roots'])_0x1bacd0['addClass'](ce,_0x23510e);});}['hide'](){const _0x9bad65=this['editor']['editing']['view'];_0x9bad65['change'](_0x42af11=>{for(const _0x4087ef of _0x9bad65['document']['roots'])_0x42af11['removeClass'](ce,_0x4087ef);});}}class R extends _0x12f93a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2e879c=this['editor'],_0x184d12=_0x2e879c['plugins']['get'](d),_0x28d9a3=_0x2e879c['plugins']['get'](de);_0x2e879c['ui']['componentFactory']['add']('exitToEditing',_0xd30dde=>{const _0xe05f97=new _0x5325a2(_0xd30dde);return _0xe05f97['set']({'label':y(_0xd30dde,'Back\x20to\x20editing'),'icon':_0x5541e0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xe05f97,'execute',()=>{_0x2e879c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xe05f97;}),_0x2e879c['ui']['componentFactory']['add']('restoreRevision',_0x33428e=>{const _0x4fdf2a=new _0x5325a2(_0x33428e);return _0x4fdf2a['set']({'label':y(_0x33428e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4fdf2a['bind']('isEnabled')['to'](_0x2e879c['commands']['get']('restoreRevision')),this['listenTo'](_0x4fdf2a,'execute',()=>_0x2e879c['execute']('restoreRevision')),_0x4fdf2a;}),_0x2e879c['ui']['componentFactory']['add']('changesNavigation',_0x6f854a=>{const _0x380321=new _i(_0x6f854a),_0x55e13c=_0x2e879c['commands']['get']('showPreviousChange'),_0x4ca4d2=_0x2e879c['commands']['get']('showNextChange');return _0x380321['bind']('isBackwardNavigationEnabled')['to'](_0x55e13c,'isEnabled'),_0x380321['bind']('isForwardNavigationEnabled')['to'](_0x4ca4d2,'isEnabled'),_0x380321['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x184d12),this['listenTo'](_0x380321,'execute',(_0x2da94f,_0x1c36ae)=>{_0x2e879c['execute']('forward'===_0x1c36ae?'showNextChange':'showPreviousChange');}),_0x380321;}),_0x28d9a3['show'](),_0x184d12['on']('change:isReady',(_0xe48d7f,_0x297b39,_0x3e244c)=>{_0x3e244c?_0x28d9a3['hide']():_0x28d9a3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x42e04a,_0x1bad94){super(_0x42e04a,_0x1bad94);const _0x51feeb=this['bindTemplate'];this['set']({'label':y(_0x42e04a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x42e04a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x51feeb['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 _0x381cd8=this['fieldView']['element'];this['_tooltipString']=_0x381cd8['scrollWidth']>_0x381cd8['clientWidth']&&_0x381cd8['value']||'';}}class ti extends _0x42a458{constructor(_0x48498d,_0x4776ea,_0x20698b){super(_0x48498d);const _0x2d1b24=new _0x4c3354();_0x2d1b24['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 _0x2bedf9=['ck','ck-revision-history-sidebar__revision-author'];_0x20698b&&_0x2bedf9['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1f0ecc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x48498d,_0x20698b?'Revision\x20creator':'Revision\x20author')},'children':[_0x2d1b24,_0x4776ea['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2bedf9},'children':_0x1f0ecc});}}function ni(_0x24dde3,_0x393d96){const _0x4e0116=_0x24dde3['bindTemplate'],_0x2313bb=_0x24dde3['locale'],_0x47bae7=_0xd5be72(_0x2313bb);_0x47bae7['panelPosition']='sw';const _0x2f2d23=function(_0x5cbc46,_0x8d1c83){const _0x56b035=function(_0x186ae2,_0x1db211){const _0x5befef=_0x186ae2['locale'],_0x576ffd={'Compare\x20against\x20selected':y(_0x5befef,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5befef,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5befef,'Restore\x20this\x20revision')};return _0x1db211['map'](_0x352de2=>{const _0x44d477=_0x576ffd[_0x352de2['name']];return _0x44d477&&_0x44d477!==_0x352de2['name']&&(_0x352de2['name']=_0x44d477),_0x352de2;});}(_0x5cbc46,_0x8d1c83),_0x29ad0b=new _0x311c03();for(const _0xd6d9a of _0x56b035){const _0x53823c={'type':'button','model':new to({'label':_0xd6d9a['name'],'class':_0xd6d9a['class'],'withText':!0x0,'role':'menuitem','_action':_0xd6d9a['action']})};_0x53823c['model']['bind']('isEnabled')['to'](_0x5cbc46,'isActionsDropdownOpen',_0x10cce2=>'function'!=typeof _0xd6d9a['isEnabled']||(!_0x10cce2||_0xd6d9a['isEnabled'](_0x5cbc46))),_0x29ad0b['add'](_0x53823c);}return _0x29ad0b;}(_0x24dde3,_0x393d96);return _0x24dde3['bind']('isActionsDropdownOpen')['to'](_0x47bae7,'isOpen'),_0x47bae7['buttonView']['set']({'label':y(_0x2313bb,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5541e0['threeVerticalDots']}),_0x47bae7['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4e0116['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4e0116['to'](_0x142c59=>_0x142c59['stopPropagation']())}}),_0x47bae7['on']('execute',_0x26d0a2=>{_0x24dde3['isReady']&&'function'==typeof _0x26d0a2['source']['_action']&&_0x26d0a2['source']['_action'](_0x24dde3);}),_0x11a8c7(_0x47bae7,_0x2f2d23,{'role':'menu'}),_0x47bae7['listenTo'](_0x24dde3,'change:isActionsDropdownOpen',(_0x3390f3,_0x4b2e78,_0x149d8f)=>{if(_0x149d8f)for(const _0x30399c of _0x47bae7['listView']['items']){const _0x40b8a4=_0x30399c['children']['first'],_0x16bf32=_0x393d96['find'](_0x2025ca=>_0x2025ca['action']===_0x40b8a4['_action'])['isVisible'];_0x30399c['isVisible']=void 0x0===_0x16bf32||_0x16bf32(_0x24dde3);}}),_0x47bae7;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x5ccfd3(_0x42a458){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x39a307,_0x37ac0a,_0x1d2fc8,_0x28a588){super(_0x39a307);const _0x4acdd3=this['bindTemplate'],_0x40bd15=function(_0x43587d,_0x1efc49){const _0x2c1aa3=Array['from'](_0x1efc49['authors'])['filter'](_0x3da370=>_0x3da370!=_0x1efc49['creator']);return _0x1efc49['creator']&&_0x2c1aa3['unshift'](_0x1efc49['creator']),_0x2c1aa3['map'](_0x3fcd84=>new ti(_0x43587d,_0x3fcd84,_0x3fcd84==_0x1efc49['creator']));}(_0x39a307,_0x37ac0a);this['id']=_0x37ac0a['id'],this['_revision']=_0x37ac0a,this['_requireRevisionName']=_0x28a588,this['bind']('name','createdAt')['to'](_0x37ac0a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x48c262=>{return _0x556c19=_0x39a307['uiLanguage'],(_0x14f1ad=_0x48c262)['toLocaleDateString'](_0x556c19,{'month':'long','day':'numeric'})+',\x20'+_0x14f1ad['toLocaleTimeString'](_0x556c19,{'hour':'numeric','minute':'numeric'});var _0x556c19,_0x14f1ad;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x39a307,_0x49db80),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x370628=>_0x370628||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1b835b,_0x52b697)=>_0x1b835b&&_0x52b697),this['revisionActionsView']=_0x1d2fc8&&_0x1d2fc8['length']?ni(this,_0x1d2fc8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4acdd3['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4acdd3['if']('isEnabled','ck-disabled',_0x4fa809=>!_0x4fa809),_0x4acdd3['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4acdd3['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4acdd3['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':_0x4acdd3['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':_0x40bd15}]},this['revisionActionsView']],'on':{'click':_0x4acdd3['to'](_0x4794d6=>{_0x4794d6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xd31d8c=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xd31d8c,'change',()=>{this['_requireRevisionName']&&!_0xd31d8c['value']||this['fire']('setName',{'id':this['id'],'name':_0xd31d8c['value']}),_0xd31d8c['value']||(_0xd31d8c['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(_0x1f75e7,_0x286a5b){const _0x5540e8=_0x2560e7['fromJSDate'](_0x1f75e7)['setLocale'](_0x286a5b),_0x734001=_0x2560e7['local'](),_0x816333=_0x734001['minus']({'days':0x1})['startOf']('day');let _0x7ed220,_0x1f4cac;return _0x5540e8['hasSame'](_0x734001,'day')?(_0x7ed220=_0x5540e8['startOf']('day')['toJSDate'](),_0x1f4cac=_0x5540e8['toRelativeCalendar']()):_0x5540e8['hasSame'](_0x816333,'day')?(_0x7ed220=_0x816333['toJSDate'](),_0x1f4cac=_0x5540e8['toRelativeCalendar']()):_0x5540e8['hasSame'](_0x734001,'week')?(_0x7ed220=_0x5540e8['startOf']('week')['toJSDate'](),_0x1f4cac=_0x5540e8['weekdayLong']||''):_0x5540e8['hasSame'](_0x734001,'year')?(_0x7ed220=_0x5540e8['startOf']('month')['toJSDate'](),_0x1f4cac=_0x5540e8['monthLong']||''):(_0x7ed220=_0x5540e8['startOf']('year')['toJSDate'](),_0x1f4cac=String(_0x5540e8['year'])),{'startDate':_0x7ed220,'localizedPeriodName':_0x1f4cac};}class mi extends _0x42a458{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x114606,_0x7d0d2f,_0x52fd00,_0x244e82){super(_0x114606);const _0x3530ef=di(_0x7d0d2f,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x7d0d2f,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52fd00,this['_requireRevisionName']=_0x244e82,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':_0x3530ef}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1f2e12){const _0x5a179d=new ai(this['locale'],_0x1f2e12,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5a179d);}['removeRevision'](_0x51983b){const _0x5ab75d=this['revisionViews']['find'](_0x2779ec=>_0x2779ec['id']===_0x51983b['id']);this['revisionViews']['remove'](_0x5ab75d);}}class as extends _0x42a458{constructor(_0x648ef7){super(_0x648ef7);const _0x9acbb7=new _0x4c3354();_0x9acbb7['content']=_0x5541e0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x9acbb7,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x648ef7,'Revision\x20history')]}]});}}class ci extends _0x42a458{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1ba266,_0x20d1f8,_0x5d69ae,_0x102f0c){super(_0x1ba266);const _0x16ae43=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x20d1f8,this['_revisionActions']=_0x5d69ae,this['_requireRevisionName']=_0x102f0c,this['on']('select',(_0x522ada,_0x465546)=>{this['fire']('revisionSelected',_0x465546);}),this['on']('setName',(_0x5a847c,_0x98a660)=>{this['fire']('revisionSetName',_0x98a660);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1ba266),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x16ae43['if']('isEnabled','ck-disabled',_0x5df2b1=>!_0x5df2b1)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5983ee of this['_revisions'])this['_addRevision'](_0x5983ee);this['_revisions']['on']('add',(_0x2f4963,_0x11df95)=>{this['_addRevision'](_0x11df95);}),this['_revisions']['on']('remove',(_0x1a71bd,_0x20c684)=>{this['_removeRevision'](_0x20c684);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5136d3=>_0x5136d3['revisionViews']['map'](_0x3d320e=>_0x3d320e))['flat']();}['selectRevision'](_0x408f56){for(const _0x189168 of this['revisionViews'])_0x408f56&&_0x408f56['id']===_0x189168['id']?_0x189168['select']():_0x189168['deselect']();}['highlightRevisions'](_0x23b13c){for(const _0x2f434c of this['revisionViews'])_0x23b13c['some'](({id:_0x21618d})=>_0x21618d===_0x2f434c['id'])?_0x2f434c['highlight']():_0x2f434c['unhighlight']();}['_addRevision'](_0xdab63a){const _0x2e35e4=di(_0xdab63a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x41084c=this['timePeriodViews']['get'](0x0);_0x41084c&&_0x41084c['startDate']['getTime']()===_0x2e35e4['getTime']()||(_0x41084c=new mi(this['locale'],_0x2e35e4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x41084c)),_0x41084c['addRevision'](_0xdab63a);}['_removeRevision'](_0x3712db){const _0x1e517d=di(_0x3712db['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1e517d)['removeRevision'](_0x3712db);}['_getTimePeriodViewByStartDate'](_0x5977d9){return this['timePeriodViews']['find'](_0x26a41e=>_0x26a41e['startDate']['getTime']()===_0x5977d9['getTime']());}}class w extends _0x12f93a{['_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(_0x151454){super(_0x151454),this['_revisionViewer']=_0x151454['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x174240=this['_revisionsRepository']['_revisions'],_0x16072e=this['_createRevisionActions'](),_0x4f4a86=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x174240,_0x16072e,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',(_0x400fad,_0x3ccf12)=>{_0x3ccf12['revisionViews']['on']('add',(_0x526102,_0x1804cc)=>{_0x1804cc['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)),_0x4f4a86['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x52ab46=this['_revisionsRepository']['getRevision'](0x0);if(_0x52ab46){const _0x415aaf=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x52ab46['id']);this['_revisionViewer']['compare'](_0x52ab46,_0x415aaf);}}['_handleRevisionSelected'](_0x237194,_0x30730e){const _0x29c042=this['_revisionsRepository']['getRevision'](_0x30730e['id']),_0xd641b8=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x29c042['id']);this['_revisionViewer']['compare'](_0x29c042,_0xd641b8);}['_handleRevisionSetName'](_0x41503c,_0x2d8da2){this['_revisionsRepository']['getRevision'](_0x2d8da2['id'])['setName'](_0x2d8da2['name']);}['_handleDiffChange'](_0x23b72c,_0x1d693f,_0x44e99e){const _0x272dfc=this['_revisionsRepository']['getRevisionsInDiff'](_0x44e99e);_0x272dfc['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x272dfc),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x272dfc[0x0]));}['_createRevisionActions'](){const _0x41671a=this['editor'],_0x400307=w['availableRevisionActions'],_0x5b96ed=_0x41671a['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5b96ed['length'])return _0x5b96ed['map'](_0x12a712=>{const _0x2ff99e='string'==typeof _0x12a712?Object['assign']({},_0x400307[_0x12a712]):_0x12a712;return _0x2ff99e['action']=_0x2ff99e['action']['bind'](this,_0x41671a),_0x2ff99e['isVisible']&&(_0x2ff99e['isVisible']=_0x2ff99e['isVisible']['bind'](this,_0x41671a)),_0x2ff99e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3703c5},_0x2c3e0d)=>{const _0x13fc4e=_0x3703c5['get'](d),_0x538940=_0x13fc4e['repository'];let _0x1a10b3=_0x13fc4e['diff']['newRevisionId'],_0xaf2363=_0x2c3e0d['id'];_0x538940['getIndex'](_0x1a10b3)>_0x538940['getIndex'](_0xaf2363)&&([_0x1a10b3,_0xaf2363]=[_0xaf2363,_0x1a10b3]),_0x13fc4e['compare'](_0x1a10b3,_0xaf2363);},'isVisible':({plugins:_0x52f305},_0x363e4d)=>{const _0x494a8a=_0x52f305['get'](d);return!(_0x494a8a['repository']['getRevisionsInDiff'](_0x494a8a['diff'])['length']>0x2)&&!_0x363e4d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x528c39,{id:_0x5a0f40})=>{_0x528c39['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5a0f40);},'isVisible':({plugins:_0x43a842},_0xdfd0a7)=>!!_0x43a842['get'](d)['repository']['getLaterVisibleRevision'](_0xdfd0a7['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3bc3f2},{id:_0xf3aed6,revisionNameView:_0x189f56})=>{const _0x4afe5d=_0x3bc3f2['get'](d),_0x9c67d=_0x4afe5d['repository']['getEarlierVisibleRevision'](_0xf3aed6);_0x4afe5d['compare'](_0xf3aed6,_0x9c67d),_0x189f56['focus'](),_0x189f56['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x8df3fb,_0x35464c){super(_0x8df3fb),this['_view']=_0x35464c,this['_toolbarConfig']=ct(_0x8df3fb['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x334982){const _0xf3091d=this['editor'],_0x56ba30=this['view'],_0x8afd36=_0xf3091d['editing']['view'],_0x27d76d=_0x56ba30['editable'],_0x2f2fc1=_0x8afd36['document']['getRoot']();_0x27d76d['name']=_0x2f2fc1['rootName'],_0x56ba30['render']();const _0x309433=_0x27d76d['element'];this['setEditableElement'](_0x27d76d['name'],_0x309433),_0x56ba30['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x8afd36['attachDomRoot'](_0x309433),this['_elementReplacer']['replace'](_0x334982,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x599edf=this['view'],_0x1850b9=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1850b9['detachDomRoot'](_0x599edf['editable']['name']),_0x599edf['destroy']();}['_initToolbar'](){const _0x3d75d2=this['view'];_0x3d75d2['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3d75d2['stickyPanel']['limiterElement']=_0x3d75d2['element'],_0x3d75d2['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1256e4})=>_0x1256e4),_0x3d75d2['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3d75d2['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x13d0e6,_0x37f1b7,_0xb64afc={}){super(_0x13d0e6),this['stickyPanel']=new lt(_0x13d0e6),this['toolbar']=new pt(_0x13d0e6,{'shouldGroupWhenFull':_0xb64afc['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x13d0e6,_0x37f1b7);}['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(_0x40deab,_0x3ad585){super(_0x3ad585),this['sourceElement']=_0x40deab,this['model']['document']['createRoot']();const _0xf8deeb=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xf8deeb);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x9a5c,_0x1867d1){const _0x1e8801=new this(_0x9a5c,_0x1867d1);return await _0x1e8801['initPlugins'](),await _0x1e8801['ui']['init'](_0x9a5c),await _0x1e8801['data']['init'](_0x1e8801['config']['get']('initialData')||''),_0x1e8801['fire']('ready'),_0x1e8801;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2171d6{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1a6d0e){super(_0x1a6d0e),this['result']='end';}}class H extends _0x2171d6{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x436841){if(super(_0x436841),!this['editor']['config']['get']('revisionHistory'))throw new _0x29cd6c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5ced7b=>this['_showRevisionViewer']({..._0x5ced7b,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0xd8bc21=>this['_closeRevisionViewer'](_0xd8bc21)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4982bc=>this['_restoreRevision'](_0x4982bc)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x57e360){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x57e360;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x221758){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x221758);}['getRevision'](_0x135d9e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x135d9e);}['getRevisions'](_0x55aaa3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x55aaa3||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x436e5c=this['editor'],_0x4ece11=_0x33d48f(_0x436e5c,p),_0x550d9b=_0x436e5c['plugins']['get']('RevisionTracker'),_0x2783e2=_0x436e5c['plugins']['get']('Users')['users'];return _0x4ece11['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4ece11['lazyRoots'],(_0x4ece11['plugins']['push'](k,d,R,class extends _0x2171d6{static get['requires'](){return[d,'Users'];}['init'](){const _0x3df21e=this['editor']['plugins']['get']('Users');for(const _0x10cf90 of _0x2783e2)_0x10cf90['isAnonymous']||_0x3df21e['getUser'](_0x10cf90['id'])||_0x3df21e['addUser'](_0x10cf90);const _0x41b8b1=_0x550d9b['repository']['getRevisions']();let _0x350ded=null;const _0x193d78=this['editor']['plugins']['get']('RevisionViewer');_0x193d78['adapter']=_0x550d9b['adapter'],_0x193d78['bind']('isEnabled')['to'](_0x550d9b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x436e5c,'isReadOnly',_0x4b84c7=>!_0x4b84c7);for(const _0x1b1951 of _0x41b8b1){const _0x5d6286=null===_0x1b1951['creator'];if(_0x5d6286&&_0x1b1951['toVersion']===_0x1b1951['fromVersion'])continue;const _0x3dcd56=_0x1b1951['toJSON']();_0x193d78['addRevisionData'](_0x3dcd56,(_0x310424,_0x440ddb,_0x839e94)=>{if(_0x5d6286){if(_0x350ded)_0x350ded['_update'](_0x310424,_0x440ddb);else{if(!_0x440ddb){const _0xf15aeb=_0x839e94['toJSON']();_0xf15aeb['id']=_0x30d39c(),_0x550d9b['saveRevision'](_0xf15aeb,_0x839e94['toVersion'])['then'](_0x2b1af2=>{_0x350ded=_0x2b1af2;});}}}else _0x1b1951['_update'](_0x310424,_0x440ddb);});}}},w),_0x4ece11);}['_enhanceShowRevisionViewerCallback'](){const _0x5eda6d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x48cb52=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x203456=this['editor']['plugins']['get']('Autosave');await _0x203456['save']();}else await _0x48cb52['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1fd8f4=this['editor']['plugins']['get']('Dialog');_0x1fd8f4['isOpen']&&_0x1fd8f4['hide']();}const _0x3b334c=this['_getRevisionViewerEditorConfig']();return _0x5eda6d(_0x3b334c)['then'](_0x340151=>{return(this['_viewerEditor']=_0x340151,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x340151;})['catch'](_0x4ec152=>(console['error'](_0x4ec152),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3b6337=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'](),_0x3b6337(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x27d184=this['editor']['plugins']['get']('Annotations');_0x27d184['refreshVisibility'](),_0x27d184['refreshPositioning']();}})));}['_showRevisionViewer'](_0x552d93){const _0xe79ff3=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3d90fe=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3b42f6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3b42f6,_0x552d93)['then'](_0x6384ef=>(_0x3d90fe['style']['display']='block',_0xe79ff3['style']['display']='none',_0x6384ef));}['_closeRevisionViewer'](_0x2a014f){const _0x1f373f=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1f373f['style']['display']='',_0x2a014f['destroy']();}async['_restoreRevision'](_0x29ae44){const _0x38aa88=this['editor'],_0x45c46a=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x42673d=_0x38aa88['plugins']['get']('RevisionTracker'),_0x3e003b=_0x45c46a['repository']['getRevision'](_0x29ae44);let _0x6e716d,_0x1eeb9c,_0x2283e0;try{_0x6e716d=await _0x45c46a['getRevisionData'](_0x3e003b),_0x1eeb9c=await _0x45c46a['getRevisionRootsAttributes'](_0x3e003b);}catch(_0x52277c){return void console['error'](_0x52277c);}_0x38aa88['model']['change'](_0x51cd86=>{for(const _0x1a8eb0 of Array['from'](_0x38aa88['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x51cd86['removeMarker'](_0x1a8eb0);}),_0x45c46a['isReady']=!0x1,_0x38aa88['model']['enqueueChange'](_0x50bd9f=>{_0x50bd9f['setSelection'](null),_0x50bd9f['removeSelectionAttribute'](_0x38aa88['model']['document']['selection']['getAttributeKeys']());const _0x30c7fd=Object['keys'](_0x6e716d);for(const _0xd46023 of _0x38aa88['model']['document']['roots'])'$graveyard'!=_0xd46023['rootName']&&_0xd46023['isAttached']()&&!_0x30c7fd['includes'](_0xd46023['rootName'])&&_0x50bd9f['detachRoot'](_0xd46023);for(const _0x1e1176 of _0x30c7fd){let _0x1dba31=_0x38aa88['model']['document']['getRoot'](_0x1e1176);_0x1dba31&&_0x1dba31['isAttached']()||(_0x1dba31=_0x50bd9f['addRoot'](_0x1e1176));const _0x28c67c=_0x1eeb9c[_0x1e1176],_0x5c75b9=Object['keys'](_0x28c67c),_0x22da9e=_0x6e716d[_0x1e1176];for(const _0x322f78 of _0x1dba31['getAttributeKeys']())_0x5c75b9['includes'](_0x322f78)||_0x50bd9f['removeAttribute'](_0x322f78,_0x1dba31);for(const _0x217e69 of _0x5c75b9)_0x50bd9f['setAttribute'](_0x217e69,_0x1eeb9c[_0x1e1176][_0x217e69],_0x1dba31);_0x50bd9f['remove'](_0x50bd9f['createRangeIn'](_0x1dba31)),_0x50bd9f['insert'](_0x38aa88['data']['parse'](_0x22da9e,_0x1dba31),_0x1dba31,0x0);}});const _0x20aa45=y(_0x38aa88['locale'],'Restored');if(_0x3e003b['name'])_0x2283e0=-0x1==_0x3e003b['name']['indexOf'](_0x20aa45)?_0x20aa45+':\x20'+_0x3e003b['name']:_0x3e003b['name'];else _0x2283e0=_0x20aa45+':\x20'+(_0x3e003b['createdAt']['toLocaleDateString'](_0x38aa88['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3e003b['createdAt']['toLocaleTimeString'](_0x38aa88['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x42673d['saveRevision']({'name':_0x2283e0}),_0x45c46a['isReady']=!0x0,_0x38aa88['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(_0x4336c4){super(_0x4336c4),this['_revisionViewer']=_0x4336c4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5308b6=this['_revisionsRepository']['_revisions'],_0x435242=this['_createRevisionActions'](),_0x1579c0=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5308b6,_0x435242,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',(_0x3b02f7,_0x31602e)=>{_0x31602e['revisionViews']['on']('add',(_0x294de8,_0x3ff8b4)=>{_0x3ff8b4['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)),_0x1579c0['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x6997a3=this['_revisionsRepository']['getRevision'](0x0);if(_0x6997a3){const _0x274b2f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x6997a3['id']);this['_revisionViewer']['compare'](_0x6997a3,_0x274b2f);}}['_handleRevisionSelected'](_0x9b0173,_0x12eb31){const _0xf36dc2=this['_revisionsRepository']['getRevision'](_0x12eb31['id']),_0x4acb78=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xf36dc2['id']);this['_revisionViewer']['compare'](_0xf36dc2,_0x4acb78);}['_handleRevisionSetName'](_0xa00e3,_0x431e5f){this['_revisionsRepository']['getRevision'](_0x431e5f['id'])['setName'](_0x431e5f['name']);}['_handleDiffChange'](_0x19610e,_0x4afd63,_0x5e461f){const _0x372418=this['_revisionsRepository']['getRevisionsInDiff'](_0x5e461f);_0x372418['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x372418),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x372418[0x0]));}['_createRevisionActions'](){const _0x370d9a=this['editor'],_0x287bec=w['availableRevisionActions'],_0x22d222=_0x370d9a['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x22d222['length'])return _0x22d222['map'](_0x2ff028=>{const _0x2c010c='string'==typeof _0x2ff028?Object['assign']({},_0x287bec[_0x2ff028]):_0x2ff028;return _0x2c010c['action']=_0x2c010c['action']['bind'](this,_0x370d9a),_0x2c010c['isVisible']&&(_0x2c010c['isVisible']=_0x2c010c['isVisible']['bind'](this,_0x370d9a)),_0x2c010c;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x183397},_0x4674f7)=>{const _0x44bc9b=_0x183397['get'](d),_0x1bf776=_0x44bc9b['repository'];let _0x243707=_0x44bc9b['diff']['newRevisionId'],_0x74f730=_0x4674f7['id'];_0x1bf776['getIndex'](_0x243707)>_0x1bf776['getIndex'](_0x74f730)&&([_0x243707,_0x74f730]=[_0x74f730,_0x243707]),_0x44bc9b['compare'](_0x243707,_0x74f730);},'isVisible':({plugins:_0x231f31},_0xbece60)=>{const _0x50fb57=_0x231f31['get'](d);return!(_0x50fb57['repository']['getRevisionsInDiff'](_0x50fb57['diff'])['length']>0x2)&&!_0xbece60['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x215485,{id:_0x5028fb})=>{_0x215485['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5028fb);},'isVisible':({plugins:_0x589431},_0x3b8275)=>!!_0x589431['get'](d)['repository']['getLaterVisibleRevision'](_0x3b8275['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x669168},{id:_0x13d839,revisionNameView:_0x4526f7})=>{const _0xbd3473=_0x669168['get'](d),_0x24bb84=_0xbd3473['repository']['getEarlierVisibleRevision'](_0x13d839);_0xbd3473['compare'](_0x13d839,_0x24bb84),_0x4526f7['focus'](),_0x4526f7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1d8be2,_0x160dab){super(_0x1d8be2),this['_view']=_0x160dab,this['_toolbarConfig']=ct(_0x1d8be2['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x13c835){const _0x5ef28f=this['editor'],_0x1be805=this['view'],_0xfc4c19=_0x5ef28f['editing']['view'],_0x3f0a7b=_0x1be805['editable'],_0x333ef3=_0xfc4c19['document']['getRoot']();_0x3f0a7b['name']=_0x333ef3['rootName'],_0x1be805['render']();const _0x1f2e3b=_0x3f0a7b['element'];this['setEditableElement'](_0x3f0a7b['name'],_0x1f2e3b),_0x1be805['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xfc4c19['attachDomRoot'](_0x1f2e3b),this['_elementReplacer']['replace'](_0x13c835,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3046b3=this['view'],_0x5a328b=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5a328b['detachDomRoot'](_0x3046b3['editable']['name']),_0x3046b3['destroy']();}['_initToolbar'](){const _0x2d603f=this['view'];_0x2d603f['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2d603f['stickyPanel']['limiterElement']=_0x2d603f['element'],_0x2d603f['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1ef2df})=>_0x1ef2df),_0x2d603f['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2d603f['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4a0cc7,_0x4ad391,_0x4f83a9={}){super(_0x4a0cc7),this['stickyPanel']=new lt(_0x4a0cc7),this['toolbar']=new pt(_0x4a0cc7,{'shouldGroupWhenFull':_0x4f83a9['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4a0cc7,_0x4ad391);}['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(_0x21901f,_0x368425){super(_0x368425),this['sourceElement']=_0x21901f,this['model']['document']['createRoot']();const _0x4f4fcc=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4f4fcc);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x22b0be,_0x2e9d02){const _0x6e6fae=new this(_0x22b0be,_0x2e9d02);return await _0x6e6fae['initPlugins'](),await _0x6e6fae['ui']['init'](_0x22b0be),await _0x6e6fae['data']['init'](_0x6e6fae['config']['get']('initialData')||''),_0x6e6fae['fire']('ready'),_0x6e6fae;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x12f93a{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x499ca4){super(_0x499ca4),this['result']='end';}}class H extends _0x12f93a{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x15cb3f){if(super(_0x15cb3f),!this['editor']['config']['get']('revisionHistory'))throw new _0x5a438c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x33a79d=>this['_showRevisionViewer']({..._0x33a79d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2ab45f=>this['_closeRevisionViewer'](_0x2ab45f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x48ae55=>this['_restoreRevision'](_0x48ae55)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x27bb5a){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x27bb5a;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3f6bb5){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3f6bb5);}['getRevision'](_0x5aa9f2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5aa9f2);}['getRevisions'](_0x4a5bda){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4a5bda||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xf148be=this['editor'],_0x11e8a1=_0x2a507b(_0xf148be,p),_0x1b142d=_0xf148be['plugins']['get']('RevisionTracker'),_0xd95b41=_0xf148be['plugins']['get']('Users')['users'];return _0x11e8a1['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x11e8a1['lazyRoots'],(_0x11e8a1['plugins']['push'](k,d,R,class extends _0x12f93a{static get['requires'](){return[d,'Users'];}['init'](){const _0xcfb6f9=this['editor']['plugins']['get']('Users');for(const _0x54aa6a of _0xd95b41)_0x54aa6a['isAnonymous']||_0xcfb6f9['getUser'](_0x54aa6a['id'])||_0xcfb6f9['addUser'](_0x54aa6a);const _0x11ec48=_0x1b142d['repository']['getRevisions']();let _0x380e52=null;const _0x5d1b32=this['editor']['plugins']['get']('RevisionViewer');_0x5d1b32['adapter']=_0x1b142d['adapter'],_0x5d1b32['bind']('isEnabled')['to'](_0x1b142d),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xf148be,'isReadOnly',_0x1cc59d=>!_0x1cc59d);for(const _0x25462d of _0x11ec48){const _0x5f584d=null===_0x25462d['creator'];if(_0x5f584d&&_0x25462d['toVersion']===_0x25462d['fromVersion'])continue;const _0x1c5467=_0x25462d['toJSON']();_0x5d1b32['addRevisionData'](_0x1c5467,(_0x44b77a,_0x58b3e3,_0x37b39f)=>{if(_0x5f584d){if(_0x380e52)_0x380e52['_update'](_0x44b77a,_0x58b3e3);else{if(!_0x58b3e3){const _0x5588dc=_0x37b39f['toJSON']();_0x5588dc['id']=_0x198eec(),_0x1b142d['saveRevision'](_0x5588dc,_0x37b39f['toVersion'])['then'](_0x5639c5=>{_0x380e52=_0x5639c5;});}}}else _0x25462d['_update'](_0x44b77a,_0x58b3e3);});}}},w),_0x11e8a1);}['_enhanceShowRevisionViewerCallback'](){const _0x1c2b9e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x465438=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4a2431=this['editor']['plugins']['get']('Autosave');await _0x4a2431['save']();}else await _0x465438['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3c42b0=this['editor']['plugins']['get']('Dialog');_0x3c42b0['isOpen']&&_0x3c42b0['hide']();}const _0x1b6c9b=this['_getRevisionViewerEditorConfig']();return _0x1c2b9e(_0x1b6c9b)['then'](_0x41e581=>{return(this['_viewerEditor']=_0x41e581,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x41e581;})['catch'](_0x5ab954=>(console['error'](_0x5ab954),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x42062a=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'](),_0x42062a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3e6f02=this['editor']['plugins']['get']('Annotations');_0x3e6f02['refreshVisibility'](),_0x3e6f02['refreshPositioning']();}})));}['_showRevisionViewer'](_0x6384b9){const _0x52d33c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2af477=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x43b695=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x43b695,_0x6384b9)['then'](_0xc36923=>(_0x2af477['style']['display']='block',_0x52d33c['style']['display']='none',_0xc36923));}['_closeRevisionViewer'](_0x7c0626){const _0x2a65de=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2a65de['style']['display']='',_0x7c0626['destroy']();}async['_restoreRevision'](_0x3d4f0e){const _0x3a559b=this['editor'],_0x582bdf=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3d5e08=_0x3a559b['plugins']['get']('RevisionTracker'),_0x14b456=_0x582bdf['repository']['getRevision'](_0x3d4f0e);let _0x4ca949,_0x72edb7,_0x1269bd;try{_0x4ca949=await _0x582bdf['getRevisionData'](_0x14b456),_0x72edb7=await _0x582bdf['getRevisionRootsAttributes'](_0x14b456);}catch(_0x257e2b){return void console['error'](_0x257e2b);}_0x3a559b['model']['change'](_0x20ddd4=>{for(const _0x3157ef of Array['from'](_0x3a559b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x20ddd4['removeMarker'](_0x3157ef);}),_0x582bdf['isReady']=!0x1,_0x3a559b['model']['enqueueChange'](_0x2d6485=>{_0x2d6485['setSelection'](null),_0x2d6485['removeSelectionAttribute'](_0x3a559b['model']['document']['selection']['getAttributeKeys']());const _0x5b3446=Object['keys'](_0x4ca949);for(const _0x388197 of _0x3a559b['model']['document']['roots'])'$graveyard'!=_0x388197['rootName']&&_0x388197['isAttached']()&&!_0x5b3446['includes'](_0x388197['rootName'])&&_0x2d6485['detachRoot'](_0x388197);for(const _0x4c9364 of _0x5b3446){let _0x32ecee=_0x3a559b['model']['document']['getRoot'](_0x4c9364);_0x32ecee&&_0x32ecee['isAttached']()||(_0x32ecee=_0x2d6485['addRoot'](_0x4c9364));const _0x350ac3=_0x72edb7[_0x4c9364],_0x18927c=Object['keys'](_0x350ac3),_0xddf4d9=_0x4ca949[_0x4c9364];for(const _0x36fd7d of _0x32ecee['getAttributeKeys']())_0x18927c['includes'](_0x36fd7d)||_0x2d6485['removeAttribute'](_0x36fd7d,_0x32ecee);for(const _0x499dac of _0x18927c)_0x2d6485['setAttribute'](_0x499dac,_0x72edb7[_0x4c9364][_0x499dac],_0x32ecee);_0x2d6485['remove'](_0x2d6485['createRangeIn'](_0x32ecee)),_0x2d6485['insert'](_0x3a559b['data']['parse'](_0xddf4d9,_0x32ecee),_0x32ecee,0x0);}});const _0x4a64b9=y(_0x3a559b['locale'],'Restored');if(_0x14b456['name'])_0x1269bd=-0x1==_0x14b456['name']['indexOf'](_0x4a64b9)?_0x4a64b9+':\x20'+_0x14b456['name']:_0x14b456['name'];else _0x1269bd=_0x4a64b9+':\x20'+(_0x14b456['createdAt']['toLocaleDateString'](_0x3a559b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x14b456['createdAt']['toLocaleTimeString'](_0x3a559b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3d5e08['saveRevision']({'name':_0x1269bd}),_0x582bdf['isReady']=!0x0,_0x3a559b['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};