@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240609.0 → 0.0.0-nightly-20240610.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x461176,Context as _0x1ac1f2,PendingActions as _0x2aa313,icons as _0x405582,Command as _0x5bebe5,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2610d2,uid as _0x2bcde8,Collection as _0x36186a,logWarning as _0x3dfd2f,FocusTracker as _0x1fd568,KeystrokeHandler as _0x36c883,scrollViewportToShowTarget as _0x245910,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x161805}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x417f58,getMarkerDomElement as _0x4c6b37,ConfirmMixin as _0x3f8c55,sanitizeEditorConfig as _0x10e694}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1805e0,ViewText as _0x3b05bc,ViewElement as _0x5ae513,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x390ed5,ViewAttributeElement as _0x3f3b4c,ViewEmptyElement as _0x2388b1,ViewRawElement as _0x210efb,ViewUIElement as _0x396833,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x347564,set as _0xf293ee,unset as _0x58cfc4,isEqual as _0x16570d}from'lodash-es';import{View as _0x9e7c5d,injectCssTransitionDisabler as ts,submitHandler as _0x59b4ea,LabeledFieldView as at,createLabeledInputText as _0xccb8c9,createDropdown as _0x2ffb5a,ListView as te,ListItemView as _0x5c29fd,ButtonView as _0x521f2d,MenuBarMenuView as _0x4b2579,MenuBarMenuListView as _0x239aea,MenuBarMenuListItemView as _0x2eb276,MenuBarMenuListItemButtonView as _0xbb378c,ContextualBalloon as _0x5bc56b,ToolbarSeparatorView as _0x476f59,IconView as _0x32caf7,addListToDropdown as _0x52f662,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 _0x39cb34}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x2610d2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4010bd){super(),this['id']=_0x4010bd['id']||_0x2bcde8(),this['creator']=_0x4010bd['creator']||null,this['authors']=_0x4010bd['authors']||[],this['diffData']=_0x4010bd['diffData']||null,this['toVersion']=_0x4010bd['toVersion']||0x0,this['fromVersion']=_0x4010bd['fromVersion']||0x0,this['set']('name',_0x4010bd['name']||''),this['set']('createdAt',_0x4010bd['createdAt']||new Date()),this['set']('attributes',_0x4010bd['attributes']||{});}['setName'](_0x4b7e52){this['_update']({'name':_0x4b7e52});}['setAttribute'](_0x14691a,_0x1f1155){const _0xb9e369=_0x347564(this['attributes']);_0xf293ee(_0xb9e369,_0x14691a,_0x1f1155),this['_update']({'attributes':_0xb9e369});}['removeAttribute'](_0x2f600f){const _0x50e887=_0x347564(this['attributes']);_0x58cfc4(_0x50e887,_0x2f600f),this['_update']({'attributes':_0x50e887});}['_update'](_0x3ce838,_0x46d605=!0x1){let _0x5a6d68=!0x1;const _0x3939b2={'id':this['id']},_0x25357f=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5a65f4 of _0x25357f){const _0x51fd6e=_0x3ce838[_0x5a65f4];void 0x0!==_0x51fd6e&&_0x51fd6e!==this[_0x5a65f4]&&(this[_0x5a65f4]=_0x51fd6e,_0x3939b2[_0x5a65f4]=_0x51fd6e,_0x5a6d68=!0x0);}_0x5a6d68&&(_0x3939b2['authors']&&(_0x3939b2['authorsIds']=_0x3939b2['authors']['map'](_0x5467ea=>_0x5467ea['id']),delete _0x3939b2['authors']),this['fire']('_update',_0x3939b2,_0x46d605));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x20b46f=>_0x20b46f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x461176{['_revisions'];static get['requires'](){return[_0x417f58];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5742cf){super(_0x5742cf),this['_revisions']=new _0x36186a();}['afterInit'](){!function(_0x48da72){function _0x247663(_0x393517,_0x5658cf,_0x4b329e){const _0x21da5a={};_0x21da5a[_0x359578([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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],_0x21da5a[_0x359578([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 _0x568308=new Uint8Array(0x10);for(let _0xfa766e=0xf;_0xfa766e>=0x0;--_0xfa766e)_0x568308[_0xfa766e]=_0x4b329e%0x100,_0x4b329e=parseInt(_0x4b329e/0x100);let _0x4d4644=null,_0x614aa9=0x10;const _0x4307a9=new Uint8Array(_0x5658cf),_0x10a54d=[],_0xff6de9=[];_0x3cb439();for(let _0x32867f=0x0;_0x32867f<_0x393517[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32867f++)0x10===_0x614aa9&&(_0x4d4644=_0x1aa8e1(_0x568308),_0x614aa9=0x0,_0x3c6e28(_0x568308)),_0x393517[_0x32867f]^=_0x4d4644[_0x614aa9++];return _0x393517;function _0x2e2e37(_0x222e62){const _0x3fe898=[];for(let _0x51f926=0x0;_0x51f926<_0x222e62[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51f926+=0x4)_0x3fe898[_0x359578([0x70,0x75,0x73,0x68])](_0x222e62[_0x51f926]<<0x18|_0x222e62[_0x51f926+0x1]<<0x10|_0x222e62[_0x51f926+0x2]<<0x8|_0x222e62[_0x51f926+0x3]);return _0x3fe898;}function _0x3c6e28(_0x3af081){for(let _0x2cd303=0xf;_0x2cd303>=0x0;_0x2cd303--){if(0xff!==_0x3af081[_0x2cd303]){_0x3af081[_0x2cd303]++;break;}_0x3af081[_0x2cd303]=0x0;}}function _0x1aa8e1(_0x5c2157){const _0x1d2d0d=_0x10a54d[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x208869=[0x0,0x0,0x0,0x0];let t=_0x2e2e37(_0x5c2157);for(let _0x29fe66=0x0;_0x29fe66<0x4;_0x29fe66++)t[_0x29fe66]^=_0x10a54d[0x0][_0x29fe66];for(let _0x3363c0=0x1;_0x3363c0<_0x1d2d0d;_0x3363c0++){for(let _0x680a40=0x0;_0x680a40<0x4;_0x680a40++)_0x208869[_0x680a40]=_0x21da5a[_0x359578([0x54,0x31])][t[_0x680a40]>>0x18&0xff]^_0x21da5a[_0x359578([0x54,0x32])][t[(_0x680a40+0x1)%0x4]>>0x10&0xff]^_0x21da5a[_0x359578([0x54,0x33])][t[(_0x680a40+0x2)%0x4]>>0x8&0xff]^_0x21da5a[_0x359578([0x54,0x34])][0xff&t[(_0x680a40+0x3)%0x4]]^_0x10a54d[_0x3363c0][_0x680a40];t=_0x208869[_0x359578([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1b449f=new Uint8Array(0x10);let _0x5c9deb;for(let _0xb622b5=0x0;_0xb622b5<0x4;_0xb622b5++)_0x5c9deb=_0x10a54d[_0x1d2d0d][_0xb622b5],_0x1b449f[0x4*_0xb622b5]=0xff&(_0x21da5a[_0x359578([0x53])][t[_0xb622b5]>>0x18&0xff]^_0x5c9deb>>0x18),_0x1b449f[0x4*_0xb622b5+0x1]=0xff&(_0x21da5a[_0x359578([0x53])][t[(_0xb622b5+0x1)%0x4]>>0x10&0xff]^_0x5c9deb>>0x10),_0x1b449f[0x4*_0xb622b5+0x2]=0xff&(_0x21da5a[_0x359578([0x53])][t[(_0xb622b5+0x2)%0x4]>>0x8&0xff]^_0x5c9deb>>0x8),_0x1b449f[0x4*_0xb622b5+0x3]=0xff&(_0x21da5a[_0x359578([0x53])][0xff&t[(_0xb622b5+0x3)%0x4]]^_0x5c9deb);return _0x1b449f;}function _0x3cb439(){const _0x31aafd=_0x21da5a[_0x359578([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4307a9[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x366c6a=0x0;_0x366c6a<=_0x31aafd;_0x366c6a++)_0x10a54d[_0x359578([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xff6de9[_0x359578([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x21e334=0x4*(_0x31aafd+0x1),_0x44383a=_0x4307a9[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x161c7d=_0x2e2e37(_0x4307a9);let _0x4da169;for(let _0x3e3669=0x0;_0x3e3669<_0x44383a;_0x3e3669++)_0x4da169=_0x3e3669>>0x2,_0x10a54d[_0x4da169][_0x3e3669%0x4]=_0x161c7d[_0x3e3669],_0xff6de9[_0x31aafd-_0x4da169][_0x3e3669%0x4]=_0x161c7d[_0x3e3669];let _0x558e40,_0x49434a=0x0,t=_0x44383a;for(;t<_0x21e334;){_0x558e40=_0x161c7d[_0x44383a-0x1],_0x161c7d[0x0]^=_0x21da5a[_0x359578([0x53])][_0x558e40>>0x10&0xff]<<0x18^_0x21da5a[_0x359578([0x53])][_0x558e40>>0x8&0xff]<<0x10^_0x21da5a[_0x359578([0x53])][0xff&_0x558e40]<<0x8^_0x21da5a[_0x359578([0x53])][_0x558e40>>0x18&0xff]^_0x21da5a[_0x359578([0x72,0x63,0x6f,0x6e])][_0x49434a]<<0x18,_0x49434a+=0x1;for(let _0x3e6364=0x1;_0x3e6364<_0x44383a/0x2;_0x3e6364++)_0x161c7d[_0x3e6364]^=_0x161c7d[_0x3e6364-0x1];_0x558e40=_0x161c7d[_0x44383a/0x2-0x1],_0x161c7d[_0x44383a/0x2]^=_0x21da5a[_0x359578([0x53])][0xff&_0x558e40]^_0x21da5a[_0x359578([0x53])][_0x558e40>>0x8&0xff]<<0x8^_0x21da5a[_0x359578([0x53])][_0x558e40>>0x10&0xff]<<0x10^_0x21da5a[_0x359578([0x53])][_0x558e40>>0x18&0xff]<<0x18;for(let _0x149618=_0x44383a/0x2+0x1;_0x149618<_0x44383a;_0x149618++)_0x161c7d[_0x149618]^=_0x161c7d[_0x149618-0x1];let _0xaf7ee3,_0x20840e,_0x4bc206=0x0;for(;_0x4bc206<_0x44383a&&t<_0x21e334;)_0xaf7ee3=t>>0x2,_0x20840e=t%0x4,_0x10a54d[_0xaf7ee3][_0x20840e]=_0x161c7d[_0x4bc206],_0xff6de9[_0x31aafd-_0xaf7ee3][_0x20840e]=_0x161c7d[_0x4bc206++],t++;}for(let _0x55ea92=0x1;_0x55ea92<_0x31aafd;_0x55ea92++)for(let _0xb6c7bc=0x0;_0xb6c7bc<0x4;_0xb6c7bc++)_0x558e40=_0xff6de9[_0x55ea92][_0xb6c7bc],_0xff6de9[_0x55ea92][_0xb6c7bc]=_0x21da5a[_0x359578([0x55,0x31])][_0x558e40>>0x18&0xff]^_0x21da5a[_0x359578([0x55,0x32])][_0x558e40>>0x10&0xff]^_0x21da5a[_0x359578([0x55,0x33])][_0x558e40>>0x8&0xff]^_0x21da5a[_0x359578([0x55,0x34])][0xff&_0x558e40];}}function _0x359578(_0x2ed175){return _0x2ed175['map'](_0x522e79=>String['fromCharCode'](_0x522e79))['join']('');}(_0x548b01=>{function _0xf068b(){const _0xdd071f=[{[_0x359578([0x69,0x64])]:0x1,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x359578([0x69,0x64])]:0x2,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([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]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x359578([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x359578([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x359578([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x359578([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x359578([0x69,0x64])]:0x3,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x359578([0x69,0x64])]:0x4,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([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]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x359578([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x359578([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x359578([0x69,0x64])]:0x5,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([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]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}},{[_0x359578([0x69,0x64])]:0x6,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}},{[_0x359578([0x69,0x64])]:0x7,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}},{[_0x359578([0x69,0x64])]:0x8,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([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]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}},{[_0x359578([0x69,0x64])]:0x9,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x359578([0x69,0x64])]:0xa,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([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]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([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]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([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]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}},{[_0x359578([0x69,0x64])]:0xb,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x359578([0x69,0x64])]:0xc,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x359578([0x69,0x64])]:0xd,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}},{[_0x359578([0x69,0x64])]:0xe,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x359578([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([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])},{[_0x359578([0x69,0x64])]:0xf,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x359578([0x69,0x64])]:0x10,[_0x359578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x359578([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x359578([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x359578([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x359578([0x66,0x67,0x69])]:[0xc]}}];return _0x5bd89f(_0xdd071f),_0xdd071f;function _0x82637(_0x3cfc7c){return 0x1<<_0x3cfc7c-0x1;}function _0x5bd89f(_0x32b752){_0x32b752[_0x359578([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38d55f=>{_0x38d55f[_0x359578([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x82637(_0x38d55f[_0x359578([0x69,0x64])]),_0x489649(_0x38d55f)&&_0x38d55f[_0x359578([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5bd89f(_0x38d55f[_0x359578([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x489649(_0x2c2999){return _0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2c2999;}const _0x29b27d=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1e327d=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x296a3c(_0x588bae){const _0x174e3f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4cbca4(_0x588bae,new Uint8Array([..._0x29b27d,..._0x174e3f,..._0x1e327d]));}function _0x4cbca4(_0x3f0027,_0x281934){const _0x1cb7da=_0x37d831(_0x3f0027),_0x3150b8=Array[_0x359578([0x66,0x72,0x6f,0x6d])](_0x2f0f93(_0x1cb7da)),_0x5c207f=_0x3150b8[_0x359578([0x70,0x6f,0x70])](),_0x14eb9a=_0x3150b8[_0x359578([0x70,0x6f,0x70])]();return _0x8f77ca(_0x247663(_0x3150b8,_0x281934,_0x14eb9a+0x100*_0x5c207f));}function _0x37d831(_0x521a9b){const _0x2e2a6d=atob(_0x521a9b),[_0x2cc985,_0x511d99]=_0x2e2a6d[_0x359578([0x73,0x70,0x6c,0x69,0x74])](_0x359578([0x2d]));try{if(atob(_0x511d99))return atob(_0x2cc985);}catch(_0x230cd8){}return _0x2e2a6d;}function _0x71f779(_0x44d2a7){try{const _0x16d49e=_0x296a3c(_0x44d2a7),_0x1cc4e0=JSON[_0x359578([0x70,0x61,0x72,0x73,0x65])](_0x16d49e),_0x581c0f=parseInt(_0x1cc4e0[_0x359578([0x31])]),_0x52b58c=_0x1cc4e0[_0x359578([0x32])]||'',_0xbb3f5b=parseInt(_0x1cc4e0[_0x359578([0x33])]),_0x1b04d1=parseInt(_0x1cc4e0[_0x359578([0x34])])||0x0,_0x126379=parseInt(_0x1cc4e0[_0x359578([0x35])])||0x0;return{[_0x359578([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x52b58c,[_0x359578([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1b04d1,[_0x359578([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x581c0f,[_0x359578([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xbb3f5b,[_0x359578([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x126379};}catch(_0xe7076a){return null;}}const _0x4ff864=_0xf068b(),_0x45a482={[_0x359578([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3f2c2e,[_0x359578([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])]:_0x6e8184,[_0x359578([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])]:_0x40095b},_0x42a896=_0x548b01[_0x359578([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3709d5=_0x359578([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x548b01?_0x548b01['context']:_0x548b01['editor'],_0x10ac98=_0x359578([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x38]),_0x413411=_0x359578([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]),_0x32ecc3=_0x3709d5['config']['get'](_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4ddc92=_0x4ff864[_0x359578([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x489649)[_0x359578([0x66,0x69,0x6e,0x64])](_0x5df11c=>_0x5df11c[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x42a896);function _0x2e631a(_0x426096,_0x4e4cfc){_0x45a482[_0x4e4cfc[_0x359578([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x426096,_0x4e4cfc),_0x4e4cfc[_0x359578([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4e4cfc[_0x359578([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x359578([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f17c6=>_0x506311(_0x3709d5,_0x4f17c6[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x359578([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44a03d=>_0x2e631a(_0x426096,_0x44a03d));}function _0x3f2c2e(_0x5bed75,_0x483f21){_0x3d0130(_0x4639f3(_0x5bed75,_0x483f21),_0x483f21);}function _0x6e8184(_0x123b37,_0x273345){function _0x18142(_0x50ea20,_0x1234f0){try{if(_0x506311(_0x3709d5,_0x359578([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x50ea20){const _0x1fe81b=_0x5f0522(_0x3709d5,_0x359578([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x359578([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1fe81b)/0x2>_0x50ea20[_0x359578([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3f66e6(_0x1234f0[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4639f3(_0x50ea20,_0x1234f0);}catch(_0x300cdc){return _0x3f66e6(_0x1234f0[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3d0130(_0x18142(_0x123b37,_0x273345),_0x273345);}function _0x40095b(_0xc9b6fa,_0xced94d){const _0x2a5b08=_0x1e327d[0x0]*_0x29b27d[0x1],_0x8f0136=_0x1e327d[0x0]*_0x29b27d[0x2],_0x942378=_0x1e327d[0x2]*_0x29b27d[0x2];_0x506311(_0x3709d5,_0x359578([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5f0522(_0x3709d5,_0x359578([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x359578([0x73,0x74,0x61,0x74,0x65])]==_0x359578([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x386d40()]=_0x942378);function _0x195094(_0x3f1c45,_0x183e9e){try{return _0x48b59f()?_0x3f66e6(_0x183e9e[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x56,0x61,0x6c,0x69,0x64])):_0x4639f3(_0x3f1c45,_0x183e9e);}catch(_0x284f82){return _0x3f66e6(_0x183e9e[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x37dfd8(_0xa28f13,_0x13a778){const _0x43f3de=0x7;if(_0xa28f13==_0x13a778[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x53a8d9();else{if(_0xa28f13==_0x13a778[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c])){const _0x268268=_0x18d964();_0x268268&&_0x2cf8ae(_0x268268,_0x13a778[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x130581=_0x2fc2ce();window[_0x359578([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2cf8ae(_0x359578([0x74,0x69,0x6d,0x65]),_0x13a778[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x130581);const _0x345a63=_0x5f0522(_0x3709d5,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x359578([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x345a63[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x43f3de?_0x2cf8ae(_0x359578([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x13a778[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x345a63['on'](_0x359578([0x61,0x64,0x64]),()=>{_0x345a63[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x43f3de&&_0x2cf8ae(_0x359578([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x13a778[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x18d964(){if(!_0x506311(_0x3709d5,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x55e8e7 in window)if(Number['isNaN'](Number(_0x55e8e7))){if(window[_0x55e8e7]===_0x2a5b08)return _0x359578([0x74,0x69,0x6d,0x65]);if(window[_0x55e8e7]===_0x8f0136)return _0x359578([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x48b59f(){if(!_0x506311(_0x3709d5,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x6d2eba in window)if(Number['isNaN'](Number(_0x6d2eba))&&window[_0x6d2eba]===_0x942378)return!0x0;return!0x1;}function _0x2cf8ae(_0x5eca71,_0x348c35){_0x53a8d9(),_0x3f66e6(_0x348c35+_0x359578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5eca71),window[_0x386d40()]=_0x5eca71===_0x359578([0x74,0x69,0x6d,0x65])?_0x2a5b08:_0x8f0136;}function _0x2fc2ce(){let _0x47511e=_0x1e327d[0x6]*_0x29b27d[0x8]*_0x29b27d[0x6];return _0x506311(_0x3709d5,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x47511e/=0xa),_0x47511e;}function _0x53a8d9(){const _0x21dfb0=_0x3709d5;function _0x2e9cdc(){_0x506311(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x359578([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x359578([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x359578([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x359578([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xb954c3,_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x359578([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xb954c3,_0x21dfb0[_0x359578([0x6d,0x6f,0x64,0x65,0x6c])][_0x359578([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb954c3,_0x21dfb0[_0x359578([0x6d,0x6f,0x64,0x65,0x6c])][_0x359578([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb954c3,_0x21dfb0[_0x359578([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x359578([0x6d,0x6f,0x64,0x65,0x6c]))),_0x506311(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x359578([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x359578([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x359578([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x359578([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xb954c3,_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x359578([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xb954c3);}_0x21dfb0[_0x359578([0x73,0x74,0x61,0x74,0x65])]==_0x359578([0x72,0x65,0x61,0x64,0x79])?_0x2e9cdc():_0x21dfb0[_0x359578([0x6f,0x6e,0x63,0x65])](_0x359578([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x506311(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x2e9cdc(),_0x506311(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3459cf=_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2f5e16=_0x3459cf['getRevision'](0x0),_0x10eefa=_0x3459cf['getEarlierVisibleRevision'](_0x2f5e16[_0x359578([0x69,0x64])]);_0x5f0522(_0x21dfb0,_0x359578([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x359578([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2f5e16[_0x359578([0x69,0x64])],_0x10eefa?_0x10eefa[_0x359578([0x69,0x64])]:null,0x1)['then'](()=>_0x2e9cdc());}});}_0x37dfd8(_0x195094(_0xc9b6fa,_0xced94d),_0xced94d);}function _0x4639f3(_0x2d0a62,_0x243c03){try{return _0x8ef740(_0x243c03)?_0x3f66e6(_0x243c03[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x56,0x61,0x6c,0x69,0x64])):_0x2d0a62&&_0x4fa9d4(_0x2d0a62[_0x359578([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x243c03)?_0x2d0a62[_0x359578([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x359578([0x6f,0x70,0x65,0x6e])][_0x359578([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x10ac98)/0x2>_0x2d0a62[_0x359578([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3f66e6(_0x243c03[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2d0a62[_0x359578([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3f66e6(_0x243c03[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c])):_0x3f66e6(_0x243c03[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x56,0x61,0x6c,0x69,0x64])):_0x3f66e6(_0x243c03[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xdd5714){return _0x3f66e6(_0x243c03[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3d0130(_0x3e277f,_0x1c91a4){if(_0x3709d5 instanceof _0x1ac1f2){const _0x10625e=_0x3709d5;_0x3e277f==_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2fb4cc(_0x10625e):_0x3e277f==_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c])&&window[_0x359578([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2fb4cc(_0x10625e),_0x3f66e6(_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1e327d[0x6]*_0x29b27d[0x8]*_0x29b27d[0x6]),_0x10625e[_0x359578([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x359578([0x6f,0x6e])](_0x359578([0x61,0x64,0x64]),(_0x2ed2c6,_0x4472a2)=>{_0x3e277f!=_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3e277f!=_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3e277f!=_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x349c99(_0x4472a2);});}else{const _0x300103=_0x3709d5;_0x3e277f==_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x349c99(_0x300103):_0x3e277f==_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c])&&_0x300103[_0x359578([0x6f,0x6e])](_0x359578([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x128451=0x0;_0x300103[_0x359578([0x6d,0x6f,0x64,0x65,0x6c])][_0x359578([0x6f,0x6e])](_0x359578([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fe1e3,_0x2aee23)=>{_0x2aee23[0x0][_0x359578([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x128451++,0x1f8===_0x128451&&(_0x349c99(_0x300103),_0x3f66e6(_0x1c91a4[_0x359578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x359578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4fe1e3[_0x359578([0x6f,0x66,0x66])]());},{'priority':_0x359578([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3f66e6(_0x4058ea){const _0x54b353=_0x386d40();return _0x3709d5[_0x54b353]=_0x4058ea,_0x4058ea;}function _0x386d40(){const _0x3f2544=String(window[_0x359578([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x359578([0x6e,0x6f,0x77])]())[_0x359578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x359578([0x2e]),'');let _0x402271='';for(let _0x416aa=0x0;_0x416aa<_0x3f2544[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x416aa+=0x2){let _0x55aa2d=parseInt(_0x3f2544[_0x359578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x416aa,_0x416aa+0x2));_0x55aa2d>=_0x413411[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55aa2d-=_0x413411[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x402271+=_0x413411[_0x55aa2d];}return _0x402271;}function _0x2fb4cc(_0x2e8f82){for(const _0x55cf2a of _0x2e8f82[_0x359578([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x349c99(_0x55cf2a);_0x5f0522(_0x2e8f82,_0x359578([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x359578([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5f0522(_0x2e8f82,_0x359578([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x359578([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xb954c3;}function _0x349c99(_0x4e9694){function _0x3dcea0(){_0x4e9694[_0x359578([0x6d,0x6f,0x64,0x65,0x6c])][_0x359578([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb954c3,_0x4e9694[_0x359578([0x6d,0x6f,0x64,0x65,0x6c])][_0x359578([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb954c3,_0x4e9694[_0x359578([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x359578([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4e9694[_0x359578([0x73,0x74,0x61,0x74,0x65])]==_0x359578([0x72,0x65,0x61,0x64,0x79])?_0x3dcea0():_0x4e9694[_0x359578([0x6f,0x6e,0x63,0x65])](_0x359578([0x72,0x65,0x61,0x64,0x79]),()=>_0x3dcea0());}function _0xb954c3(){return null;}function _0x4fa9d4(_0x37ce37,_0x47b5e4){const _0x435828=!!(_0x37ce37&_0x47b5e4[_0x359578([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1d43f4=_0x35ce68(_0x37ce37,_0x47b5e4);return _0x435828||_0x1d43f4;}function _0x35ce68(_0x1cde99,_0xa6986e){const _0x5ed363=(_0xa6986e[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x359578([0x66,0x67,0x69])]||null;return!!_0x5ed363&&_0x4ff864[_0x359578([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd30e=>_0x5ed363[_0x359578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd30e[_0x359578([0x69,0x64])]))[_0x359578([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23a9ce=>!_0x3c3f86(_0x23a9ce))[_0x359578([0x73,0x6f,0x6d,0x65])](_0x4213d1=>!!(_0x1cde99&_0x4213d1[_0x359578([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3c3f86(_0x36e220){const _0x24639c={[_0x359578([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])]:_0x114e52};return!!_0x36e220['forbiddenHandler']&&_0x24639c[_0x36e220['forbiddenHandler']]();}function _0x114e52(){return!window[_0x359578([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x506311(_0x3709d5,_0x359578([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x8ef740(_0x42caa){if(!_0x506311(_0x3709d5,_0x42caa[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x106206=_0x42caa[_0x359578([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x6a5184=_0x106206[_0x359578([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3d4665=_0x106206[_0x359578([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x54cf65=_0x106206[_0x359578([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x506311(_0x3709d5,_0x359578([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5f0522(_0x3709d5,_0x359578([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x359578([0x73,0x74,0x61,0x74,0x65])]==_0x359578([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x6a5184)return!0x0;if(_0x506311(_0x3709d5,_0x359578([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5f0522(_0x3709d5,_0x359578([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x359578([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x359578([0x65,0x6e,0x64])&&_0x3d4665)return!0x0;return!(!_0x506311(_0x3709d5,_0x359578([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]))||_0x5f0522(_0x3709d5,_0x359578([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]))[_0x359578([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x359578([0x65,0x6e,0x64])||!_0x54cf65);}function _0x506311(_0x2be2a1,_0x287b2d){return _0x2be2a1[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x359578([0x68,0x61,0x73])](_0x287b2d);}function _0x5f0522(_0xe530dd,_0x3d08b5){return _0xe530dd[_0x359578([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x359578([0x67,0x65,0x74])](_0x3d08b5);}function _0x8f77ca(_0x2294c4){let _0x414ba9='';for(const _0x210dee of _0x2294c4)_0x414ba9+=String[_0x359578([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x210dee);return _0x414ba9;}function _0x2f0f93(_0x5f03bf){const _0x266e9f=new Uint8Array(_0x5f03bf[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x57170e=0x0;_0x57170e<_0x5f03bf[_0x359578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57170e++)_0x266e9f[_0x57170e]=_0x5f03bf[_0x359578([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57170e);return _0x266e9f;}_0x4ddc92&&_0x2e631a(_0x71f779(_0x32ecc3),_0x4ddc92);})(_0x48da72);}(this);}['createRevision'](_0x306f48){const _0x1a7afd=this['editor']['plugins']['get']('Users');return new a({'id':_0x306f48['id'],'name':_0x306f48['name'],'creator':_0x306f48['creatorId']?_0x1a7afd['getUser'](_0x306f48['creatorId']):null,'diffData':_0x306f48['diffData']||_0x306f48['data'],'authors':_0x306f48['authorsIds']['map'](_0x17e7e7=>_0x1a7afd['getUser'](_0x17e7e7)),'createdAt':new Date(_0x306f48['createdAt']),'attributes':_0x306f48['attributes'],'fromVersion':_0x306f48['fromVersion'],'toVersion':_0x306f48['toVersion']});}['addRevision'](_0x111d7f,_0x14bd42=0x0){this['_revisions']['add'](_0x111d7f,_0x14bd42);}['getRevision'](_0x4df101){return this['_revisions']['get'](_0x4df101);}['getRevisions'](_0x210382={'toJSON':!0x1}){const _0x5630ac=Array['from'](this['_revisions']);return _0x5630ac['reverse'](),_0x210382['toJSON']?_0x5630ac['map'](_0x4221a2=>_0x4221a2['toJSON']()):_0x5630ac;}['getIndex'](_0x27681f){return this['_revisions']['getIndex'](_0x27681f);}['getEarlierVisibleRevision'](_0x2b097f){const [,_0x262620]=this['getRevisionsIterator'](_0x2b097f,{'direction':'earlier'});return _0x262620;}['getLaterVisibleRevision'](_0x1458ad){const [,_0x28389c]=this['getRevisionsIterator'](_0x1458ad,{'direction':'later'});return _0x28389c;}['getRevisionsInDiff'](_0x3b37eb){const _0x4d9190=[];for(const _0x3b9aa3 of this['getRevisionsIterator'](_0x3b37eb['newRevisionId']))if(_0x4d9190['push'](_0x3b9aa3),_0x3b9aa3['id']===_0x3b37eb['oldRevisionId'])break;return _0x4d9190;}*['getRevisionsIterator'](_0x47ecf0,{direction:_0x371631='earlier',filter:_0x4d3c84=_0x1ff091=>!0x0}={}){const _0x5b793a='earlier'===_0x371631?0x1:-0x1;let _0x52e2e6=this['_revisions']['get'](_0x47ecf0),_0x5ddff1=this['getIndex'](_0x52e2e6);for(yield _0x52e2e6;_0x52e2e6;){if(_0x5ddff1+=_0x5b793a,_0x52e2e6=this['getRevision'](_0x5ddff1),!_0x52e2e6)return;_0x4d3c84(_0x52e2e6)&&(yield _0x52e2e6);}}}function y(_0x399cb7,_0x5056a3,_0xb21d01){const t=_0x399cb7['t'];switch(_0x5056a3){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'},_0xb21d01);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xb21d01);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x390ed5,'a':_0x3f3b4c,'e':_0x2388b1,'r':_0x210efb,'u':_0x396833};class l extends _0x461176{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x417f58,A,_0x2aa313];}constructor(_0x665097){super(_0x665097),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 _0x5f1d42=_0x2bcde8();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5f1d42},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 _0x2b2efb=this['repository']['getRevision'](0x0),_0x94da2f=_0x2b2efb&&null===_0x2b2efb['creator']?_0x2b2efb:null;if(this['_continueCurrentRevision']=!!_0x94da2f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1f48ec=this['_source']['getCurrentRevisionId'](),_0x1ab7fd=this['repository']['getRevision'](_0x1f48ec);if(_0x1ab7fd)this['_startingVersion']=_0x1ab7fd['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4aea19=this['_source']['history']['_operations']['find'](_0x588bbd=>!_0x588bbd['_isInit']),_0x5771dc=_0x4aea19?_0x4aea19['baseVersion']:this['_source']['history']['version'];_0x2b2efb?(_0x2b2efb['toVersion']<_0x5771dc&&_0x2b2efb['_update']({'toVersion':_0x5771dc}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x94da2f['id'],this['_startingVersion']=_0x94da2f['fromVersion']):(this['_startingVersion']=_0x2b2efb['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5771dc,this['_continueCurrentRevision']=!0x1);}}else _0x94da2f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x94da2f['toVersion'],this['editor']['model']['document']['history']['version']),_0x94da2f['fromVersion']===_0x94da2f['toVersion']?(0x0!==_0x94da2f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x94da2f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x94da2f['id'],this['_startingVersion']=_0x94da2f['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',_0x24339a=>!_0x24339a);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4aee96=this['repository']['getRevision'](0x0),_0x362ce4=await this['getRevisionDocumentData'](_0x4aee96),_0x2ce2da=await this['getRevisionRootsAttributes'](_0x4aee96);this['_replaceEditorDataWithRevisionData'](_0x362ce4,_0x2ce2da);}}['setSource'](_0x185771){this['_source']=_0x185771;}async['update'](){const _0x164e76=await this['_source']['getLatestVersion']();if(_0x164e76>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4b7dc8=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x164e76});_0x4b7dc8['authors']=_0x4b7dc8['authorsIds']['map'](_0x546d94=>this['editor']['plugins']['get']('Users')['getUser'](_0x546d94)),this['currentRevision']['_update'](_0x4b7dc8);}}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'](_0x33cc03={},_0x5ef522=null){const _0x2394bc=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5ef522>this['currentRevision']['toVersion']&&(_0x5ef522=null),null===_0x5ef522&&(_0x5ef522=await this['_source']['getLatestVersion']());const _0x255d73=this['_getFromVersion'](_0x5ef522),_0x88e0c3=this['buildRevisionData']({'from':_0x255d73,'to':_0x5ef522});if(this['currentRevision']['toVersion']<_0x5ef522){const _0x18364a=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5ef522,'to':_0x5ef522});_0x18364a['authors']=[],_0x18364a['authorsIds']=[],_0x18364a['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x18364a,!0x0),delete _0x18364a['authors'],_0x2394bc['push'](_0x18364a);}_0x33cc03['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x33cc03['name']=_0x33cc03['name']||null,_0x33cc03['id']=_0x33cc03['id']||_0x2bcde8(),_0x33cc03={..._0x33cc03,..._0x88e0c3};const _0xf85609=this['addRevisionData'](_0x33cc03);_0x2394bc['push'](_0x33cc03);const _0x2f6655=this['repository']['getIndex'](_0xf85609);if(0x0!==_0x2f6655){const _0x4e9c0c=this['repository']['getRevision'](_0x2f6655-0x1);if(_0x4e9c0c['fromVersion']!==_0x5ef522){const _0x37cc2c=this['_revisionDataBuilder']['getData'](_0x5ef522,_0x4e9c0c['toVersion']),_0x1cdb89={'id':_0x4e9c0c['id'],'diffData':_0x37cc2c['diffData'],'authorsIds':_0x37cc2c['authorsIds'],'authors':_0x37cc2c['authorsIds']['map'](_0x1c02db=>this['editor']['plugins']['get']('Users')['getUser'](_0x1c02db)),'fromVersion':_0x5ef522};_0x4e9c0c===this['currentRevision']&&(_0x1cdb89['createdAt']=new Date(_0x33cc03['createdAt']['getTime']()+0xa)),_0x4e9c0c['_update'](_0x1cdb89,!0x0),delete _0x1cdb89['authors'],_0x2394bc['push'](_0x1cdb89);}}if(this['adapter']){for(const _0x5dc842 of _0x2394bc)this['_bufferUpdate'](_0x5dc842['id'],_0x5dc842,!0x0);this['sendBufferedUpdates']();}return _0xf85609;}['addRevisionData'](_0x33de25){const _0x456097=this['repository']['createRevision'](_0x33de25);return this['adapter']&&_0x456097['on']('_update',(_0x1dd95c,_0x727a4,_0x4d3e50)=>{_0x4d3e50||(this['_bufferUpdate'](_0x727a4['id'],_0x727a4,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x456097,this['_findInsertionIndex'](_0x456097)),_0x456097;}async['getRevisionDocumentData'](_0x5b4163){await this['_loadRevisionData'](_0x5b4163);const _0x15e94c={};for(const _0x4d234a in _0x5b4163['diffData']){if(_0x5b4163['diffData'][_0x4d234a]['attachChange']&&!_0x5b4163['diffData'][_0x4d234a]['attachChange']['isAttached'])continue;const _0x359310=this['_removeRevisionMarkers'](JSON['parse'](_0x5b4163['diffData'][_0x4d234a]['insertions'])),_0x4e4b89=this['editor']['editing']['view']['document'],_0x57b449=new _0x1805e0(_0x4e4b89,_0x359310['map'](_0x4b8a90=>B(_0x4b8a90,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x15e94c[_0x4d234a]=this['editor']['data']['processor']['toData'](_0x57b449),this['editor']['data']['processor']['useFillerType']('default');}return _0x15e94c;}async['getRevisionRootsAttributes'](_0x523485){await this['_loadRevisionData'](_0x523485);const _0x355d02={};for(const _0x3454e7 in _0x523485['diffData'])_0x523485['diffData'][_0x3454e7]['attachChange']&&!_0x523485['diffData'][_0x3454e7]['attachChange']['isAttached']||(_0x355d02[_0x3454e7]=_0x523485['diffData'][_0x3454e7]['attributesAfter']||{});return _0x355d02;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x6aa937=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x31ae73=0x0;_0x31ae73<_0x6aa937['length'];_0x31ae73++){const _0x196b1a=_0x6aa937[_0x31ae73];let _0x393ba4=!0x1;for(const _0x6274b2 of Object['keys'](_0x196b1a))void 0x0===_0x196b1a[_0x6274b2]?delete _0x196b1a[_0x6274b2]:'id'!==_0x6274b2&&(_0x393ba4=!0x0);_0x393ba4||(_0x6aa937[_0x31ae73]=null);}if(_0x6aa937=_0x6aa937['filter'](_0x33e27d=>null!==_0x33e27d),!_0x6aa937['length'])return;for(let _0x47a3ec=0x0;_0x47a3ec<_0x6aa937['length'];_0x47a3ec++){const _0x15f981=_0x6aa937[_0x47a3ec];void 0x0!==_0x15f981['fromVersion']&&void 0x0===_0x15f981['toVersion']&&(_0x15f981['toVersion']=this['repository']['getRevision'](_0x15f981['id'])['toVersion']),void 0x0!==_0x15f981['toVersion']&&void 0x0===_0x15f981['fromVersion']&&(_0x15f981['fromVersion']=this['repository']['getRevision'](_0x15f981['id'])['fromVersion']);}const _0xd28357=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x6aa937,_0xd28357)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x94791e=>{if(_0x94791e){for(const _0x2f8b43 of _0x94791e)this['setRevisionData']({'id':_0x2f8b43['id'],'createdAt':_0x2f8b43['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x484f10,_0x1aef8e){let _0xf4e8f2=this['editor']['config']['get']('initialData'),_0x5151d6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xf4e8f2){_0xf4e8f2={};for(const _0x555fa7 of this['editor']['model']['document']['getRootNames']())_0xf4e8f2[_0x555fa7]='';}if('string'==typeof _0xf4e8f2&&(_0xf4e8f2={'main':_0xf4e8f2}),void 0x0===_0x5151d6){_0x5151d6={};for(const _0x32ed36 of this['editor']['model']['document']['getRootNames']())_0x5151d6[_0x32ed36]={};}let _0x3d5bc4=!0x1;const _0x874139=Object['keys'](_0xf4e8f2),_0x4ea56e=Object['keys'](_0x484f10);for(const _0x21fa05 of _0x874139){if(_0xf4e8f2[_0x21fa05]!==_0x484f10[_0x21fa05]&&''!==_0xf4e8f2[_0x21fa05]['trim']()){_0x3d5bc4=!0x0;break;}if(!_0x16570d(_0x5151d6[_0x21fa05],_0x1aef8e[_0x21fa05])&&Object['keys'](_0x5151d6[_0x21fa05])['length']>0x0){_0x3d5bc4=!0x0;break;}}_0x3d5bc4||(_0x3d5bc4=_0x4ea56e['some'](_0x1f8340=>!this['editor']['model']['document']['getRoot'](_0x1f8340))),_0x3d5bc4&&_0x3dfd2f('editor-initial-data-replaced-with-revision-data',{'editorData':_0xf4e8f2,'editorRootsAttributes':_0x5151d6,'revisionData':_0x484f10,'revisionRootsAttributes':_0x1aef8e}),this['editor']['config']['set']('initialData',_0x484f10),this['editor']['config']['set']('rootsAttributes',_0x1aef8e);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1ef7e3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1ef7e3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3dbf11){const _0x4117c9=this['repository']['getRevisions']();_0x4117c9['reverse']();let _0x48e455=0x0;for(;_0x48e455<_0x4117c9['length'];){const _0x5cbd71=_0x4117c9[_0x48e455];if(_0x5cbd71===this['currentRevision']){_0x48e455++;continue;}if(_0x5cbd71['id']===this['_initialRevisionId'])break;const _0x1f0f4f=_0x3dbf11['toVersion']-_0x5cbd71['toVersion']||_0x3dbf11['fromVersion']-_0x5cbd71['fromVersion'];if(_0x1f0f4f>0x0)break;if(_0x1f0f4f<0x0)_0x48e455++;else{if(!_0x3dbf11['creator']&&_0x5cbd71['creator'])break;if(_0x5cbd71['creator']||!_0x3dbf11['creator']){if(_0x3dbf11['createdAt']>_0x5cbd71['createdAt'])break;_0x48e455++;}else _0x48e455++;}}return _0x48e455;}['setRevisionData'](_0x460270){const _0x52fc05=this['repository']['getRevision'](_0x460270['id']);if(_0x460270['createdAt']&&(_0x460270['createdAt']=new Date(_0x460270['createdAt'])),_0x460270['authorsIds']){const _0x4c0172=this['editor']['plugins']['get']('Users');_0x460270['authors']=_0x460270['authorsIds']['map'](_0x48e777=>_0x4c0172['getUser'](_0x48e777));}_0x52fc05['_update'](_0x460270,!0x0);}['buildRevisionData']({revision:_0x57d146=null,from:_0x1fd1a2=null,to:_0x146c5a=null}){_0x1fd1a2=null!==_0x1fd1a2?_0x1fd1a2:_0x57d146['fromVersion'],_0x146c5a=null!==_0x146c5a?_0x146c5a:_0x57d146['toVersion'];const _0x424a05=this['_revisionDataBuilder']['getData'](_0x1fd1a2,_0x146c5a),_0xa0a96b={'diffData':_0x424a05['diffData'],'authorsIds':_0x424a05['authorsIds'],'fromVersion':_0x1fd1a2,'toVersion':_0x146c5a};if(!_0x57d146||_0x146c5a!==_0x57d146['toVersion']){const _0x132c67=_0x146c5a-0x1,_0xae1b02=this['_source']['history']['getOperation'](_0x132c67);_0xa0a96b['createdAt']=_0xae1b02&&_0xae1b02['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1fd1a2===this['_loadedStateData']['fromVersion']){for(const _0x2e0a2f of this['_loadedStateData']['authors'])_0xa0a96b['authorsIds']['includes'](_0x2e0a2f['id'])||_0xa0a96b['authorsIds']['push'](_0x2e0a2f['id']);}return _0xa0a96b;}['_loadRevisionData'](_0x383427){if(!_0x383427||_0x383427['diffData'])return Promise['resolve']();{const _0x215ae2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x215ae2,'revisionId':_0x383427['id']})['then'](_0x5524b6=>{_0x383427['diffData']=_0x5524b6['diffData'];});}}['_bufferUpdate'](_0x2226cd,_0x3cc7e8,_0x431d64){if(this['_bufferedUpdates']['has'](_0x2226cd)){const _0x4cf53b=this['_bufferedUpdates']['get'](_0x2226cd);_0x3cc7e8=_0x431d64?{..._0x4cf53b,..._0x3cc7e8}:{..._0x3cc7e8,..._0x4cf53b};}this['_bufferedUpdates']['set'](_0x2226cd,_0x3cc7e8);}['_getFromVersion'](_0x34092a){const _0x5d1f51=this['repository']['getRevisions']();_0x5d1f51['reverse'](),_0x5d1f51['shift']();const _0x45ae8c=_0x5d1f51['find'](_0x2b63a0=>_0x2b63a0['toVersion']<=_0x34092a)['toVersion'];return _0x45ae8c<this['_startingVersion']?this['_startingVersion']:_0x45ae8c;}['_createInitialRevision'](_0x4ea17b){const _0x359bea=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x359bea)this['_initialRevisionId']=_0x359bea['id'];else{const _0x400d3b=!this['editor']['model']['document']['roots']['find'](_0xc51084=>this['editor']['model']['hasContent'](_0xc51084)),_0x5eaa80=this['editor']['plugins']['get']('Users')['me']['id'],_0x42b2ba=y(this['editor']['locale'],_0x400d3b?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4ea17b,'to':_0x4ea17b,'id':this['_initialRevisionId'],'name':_0x42b2ba,'creatorId':_0x5eaa80});}}['_createCurrentRevision'](_0x472b23){const _0x415e1d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x415e1d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x472b23,'to':_0x472b23,'id':_0x415e1d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x58f2da,from:_0x2964e2,to:_0x1a17ff,creatorId:_0x48024c,id:_0x50786e}){const _0x5d9e7e=this['buildRevisionData']({'from':_0x2964e2,'to':_0x1a17ff});_0x5d9e7e['name']=_0x58f2da,_0x5d9e7e['creatorId']=_0x48024c,_0x5d9e7e['id']=_0x50786e;const _0x28c81d=this['addRevisionData'](_0x5d9e7e);return this['adapter']&&this['_bufferUpdate'](_0x5d9e7e['id'],_0x5d9e7e,!0x0),_0x28c81d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1d20d6){return(_0x1d20d6=_0x1d20d6['filter'](_0x4d6c00=>!_0x4d6c00['name']||'revision-start'!==_0x4d6c00['name']&&'revision-end'!==_0x4d6c00['name']))['forEach'](_0x4ae88f=>{'string'!=typeof _0x4ae88f&&(_0x4ae88f['children']=this['_removeRevisionMarkers'](_0x4ae88f['children']),_0x4ae88f['attributes']=_0x4ae88f['attributes']['filter'](_0x38eb08=>!_0x38eb08[0x0]['startsWith']('data-revision-')));}),_0x1d20d6;}}function B(_0x2ab765,_0xd5fd3){const _0x41b915=_0xd5fd3['editing']['view']['document'];if('string'==typeof _0x2ab765)return new _0x3b05bc(_0x41b915,_0x2ab765);{const _0x513c26=_0x2ab765['children']['map'](_0x3594e5=>B(_0x3594e5,_0xd5fd3));return new(T[_0x2ab765['type']]||_0x5ae513)(_0x41b915,_0x2ab765['name'],_0x2ab765['attributes'],_0x513c26);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x319b64){this['editor']=_0x319b64,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'](_0x573888){this['source']=_0x573888;const _0x4c93ca=new Map(),_0x9dd8bd=new Map(),_0x4588da=this['editor']['model']['document']['roots']['map'](_0x377e3d=>_0x377e3d['rootName']);for(const _0x349491 of _0x4588da){const _0x4bde92=this['editor']['model']['document']['getRoot'](_0x349491),_0x2056a2=q(_0x4bde92);_0x4c93ca['set'](_0x349491,_0x2056a2),_0x9dd8bd['set'](_0x349491,Object['fromEntries'](_0x4bde92['getAttributes']()));}const _0x5ce210=Array['from'](this['editor']['model']['markers'])['map'](_0x3f1476=>[_0x3f1476['name'],_0x3f1476['getRange']()]),_0x957e47=this['source']['version'];this['_saveMetaData'](_0x957e47,_0x4c93ca,_0x5ce210,_0x9dd8bd),this['_startingRevisionId']=this['_revisionId'];const _0x90ae05=new Map(),_0x396cd2=new Map();for(const _0x20743d of _0x4588da){const _0x24c287=G(_0x20743d);_0x90ae05['set'](_0x20743d,_0x24c287),_0x396cd2['set'](_0x20743d,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x90ae05,[],_0x396cd2);}['getData'](_0x23ab72,_0x11bc40){if(this['_lastFrom']===_0x23ab72&&this['_lastTo']<=_0x11bc40)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x11bc40,!0x0);else{if(!this['_savedMetaData']['has'](_0x23ab72)){const _0x35cd0d=this['_getPreviousFrom'](_0x23ab72);this['_calculateMetaData'](_0x35cd0d,_0x23ab72,!0x1);}this['_calculateMetaData'](_0x23ab72,_0x11bc40,!0x0);}return this['_lastFrom']=_0x23ab72,this['_lastTo']=_0x11bc40,this['_getState']();}['loadState'](_0x40b1bc){this['_reset'](),this['_lastFrom']=_0x40b1bc['fromVersion'],this['_lastTo']=_0x40b1bc['toVersion'];for(const _0x2ca60d in _0x40b1bc['diffData']){const _0xda96b1=_0x40b1bc['diffData'][_0x2ca60d]['attachChange'],_0x492ecb=_0x347564(_0x40b1bc['diffData'][_0x2ca60d]['attributesBefore'])||{},_0x21a564=this['_makeModelFromViewString'](_0x40b1bc['diffData'][_0x2ca60d]['deletions']);_0x21a564['rootName']=_0x2ca60d,_0x21a564['_isAttached']=!_0xda96b1||!_0xda96b1['isAttached'],_0x21a564['isAttached']=()=>_0x21a564['_isAttached'],this['_baseRoots']['set'](_0x2ca60d,_0x21a564),this['_baseRootsAttributes']['set'](_0x2ca60d,_0x492ecb),_0xda96b1&&this['_touchedRoots']['set'](_0x2ca60d,_0xda96b1);const _0x40b428=this['_makeIdsRoot'](_0x21a564);this['_baseIdsRoots']['set'](_0x2ca60d,_0x40b428);for(const [_0x5a512d,_0x3c2053]of _0x21a564['markers']){if(!_0x5a512d['startsWith']('revision:'))continue;const _0x4f9433=_0x5a512d['split'](':')[0x2];for(const _0x19f63e of _0x3c2053['getWalker']({'singleCharacters':!0x0})){const _0x2dcfbb=this['_getVidAttributeName'](_0x19f63e),_0x27b638='elementEnd'==_0x19f63e['type']?_0x19f63e['previousPosition']['path']['slice'](0x0,-0x1):_0x19f63e['previousPosition']['path'],_0x335879=_0x40b428['getNodeByPath'](_0x27b638)['getAttribute'](_0x2dcfbb);this['_touched']['set'](_0x335879,{'userId':_0x4f9433});}}}this['_startingRevisionId']=this['_revisionId'];const _0xb19d07=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x583f3e=>!this['_touched']['has'](_0x583f3e));let _0x2e4c68=0x0;const _0x122444=new Map();for(const _0x1eed06 in _0x40b1bc['diffData']){const _0x183307=_0x40b1bc['diffData'][_0x1eed06]['attachChange'],_0x140022=_0x347564(_0x40b1bc['diffData'][_0x1eed06]['attributesAfter'])||{},_0x25aa4c=this['_makeModelFromViewString'](_0x40b1bc['diffData'][_0x1eed06]['insertions']);_0x25aa4c['rootName']=_0x1eed06,_0x25aa4c['_isAttached']=!_0x183307||_0x183307['isAttached'],_0x25aa4c['isAttached']=()=>_0x25aa4c['_isAttached'],this['_diffRoots']['set'](_0x1eed06,_0x25aa4c),this['_diffRootsAttributes']['set'](_0x1eed06,_0x140022);const _0xba5b6e=this['_makeIdsRoot'](_0x25aa4c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1eed06,_0xba5b6e),_0x122444['set'](_0x1eed06,_0x25aa4c['isAttached']()?_0x140022:{});for(const [_0x38e2a6,_0x23acb6]of _0x25aa4c['markers']){if(!_0x38e2a6['startsWith']('revision:'))continue;const _0xade349=_0x38e2a6['split'](':')[0x2];for(const _0x18b2c1 of _0x23acb6['getWalker']({'singleCharacters':!0x0})){const _0x1a5398=this['_getVidAttributeName'](_0x18b2c1),_0x524074=this['_revisionId']++,_0x3d730e='elementEnd'==_0x18b2c1['type']?_0x18b2c1['previousPosition']['path']['slice'](0x0,-0x1):_0x18b2c1['previousPosition']['path'];_0xba5b6e['getNodeByPath'](_0x3d730e)['_setAttribute'](_0x1a5398,_0x524074),this['_touched']['set'](_0x524074,{'userId':_0xade349});}}for(const _0x29ee4c of this['editor']['model']['createRangeIn'](_0x25aa4c)['getWalker']({'singleCharacters':!0x0})){const _0x596b29=this['_getVidAttributeName'](_0x29ee4c),_0x4362fa='elementEnd'==_0x29ee4c['type']?_0x29ee4c['previousPosition']['path']['slice'](0x0,-0x1):_0x29ee4c['previousPosition']['path'],_0x3889a8=_0xba5b6e['getNodeByPath'](_0x4362fa);_0x3889a8['getAttribute'](_0x596b29)>0x0||_0x3889a8['_setAttribute'](_0x596b29,_0xb19d07[_0x2e4c68++]);}for(const [_0x5036ca,_0x4d83be]of _0x25aa4c['markers'])_0x5036ca['startsWith']('revision:')||this['_markers']['set'](_0x5036ca,_0x4d83be);}const _0x533c86=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x533c86),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x533c86,0x1));const _0x1fbb17=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1fbb17),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1fbb17,0x1));const _0x29edb2=Array['from'](this['_diffRoots'])['map'](([_0xe30d9a,_0x17057f])=>[_0xe30d9a,q(_0x17057f)]);this['_saveMetaData'](this['_lastTo'],_0x29edb2,this['_markers'],_0x122444);}['_makeModelFromViewString'](_0x21f105){const _0x55ee6d=JSON['parse'](_0x21f105),_0x1ba17a=this['editor']['editing']['view']['document'],_0x561c1f=new _0x1805e0(_0x1ba17a,_0x55ee6d['map'](_0x408f2b=>B(_0x408f2b,this['editor'])));return this['editor']['data']['toModel'](_0x561c1f);}['_saveMetaData'](_0x2a8197,_0x48163c,_0x10cb5d,_0x84d2d){const _0x38249a=new Map(_0x48163c),_0x2fb618=new Map(_0x347564(_0x84d2d)),_0x2fe129=new Map();for(const [_0x5a4457,_0x3d5497]of _0x10cb5d)_0x2fe129['set'](_0x5a4457,{'start':_0x3d5497['start']['clone'](),'end':_0x3d5497['end']['clone'](),'rootName':_0x3d5497['root']['rootName']});this['_savedMetaData']['set'](_0x2a8197,{'roots':_0x38249a,'markers':_0x2fe129,'rootsAttributes':_0x2fb618});}['_removeMetaData'](_0x4fb2e5){this['_savedMetaData']['delete'](_0x4fb2e5);}['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'](_0x480134,_0x409be2=null){let _0x3b62f6=null;_0x480134['is']('documentFragment')||(_0x3b62f6=new ft(_0x480134['name'],{'vid_start':null===_0x409be2?this['_revisionId']++:_0x409be2++}));const _0x2fe954=[];for(const _0xd489b2 of _0x480134['getChildren']())if(_0xd489b2['is']('element')){_0x2fe954['push'](this['_makeIdsRoot'](_0xd489b2,_0x409be2));const _0x5bd65f=_0x2fe954[_0x2fe954['length']-0x1];null!==_0x409be2&&(_0x409be2=_0x5bd65f['is']('element','$text')?_0x5bd65f['getAttribute']('vid')+0x1:_0x5bd65f['getAttribute']('vid_end')+0x1);}else{for(let _0x56c84a=0x0;_0x56c84a<_0xd489b2['offsetSize'];_0x56c84a++)_0x2fe954['push'](new ft('$text',{'vid':null===_0x409be2?this['_revisionId']++:_0x409be2++}));}if(_0x480134['is']('documentFragment')){const _0x384f82=G(_0x480134['rootName']);return _0x384f82['_insertChild'](0x0,_0x2fe954),_0x384f82;}return _0x3b62f6['_setAttribute']('vid_end',null===_0x409be2?this['_revisionId']++:_0x409be2++),_0x3b62f6['_insertChild'](0x0,_0x2fe954),_0x3b62f6;}['_calculateMetaData'](_0x27cd6e,_0x427c16,_0x20a2e8){this['_reset']();const {roots:_0x1f7926,markers:_0x4fa3e0,rootsAttributes:_0x5d2aa9}=this['_savedMetaData']['get'](_0x27cd6e);this['_baseRoots']=new Map(_0x1f7926),this['_baseRootsAttributes']=new Map(_0x347564(_0x5d2aa9));for(const [_0x12ced5,_0x5972ea]of this['_baseRoots'])if('$graveyard'!==_0x12ced5&&(this['_diffRoots']['set'](_0x12ced5,q(_0x5972ea)),this['_diffRootsAttributes']=new Map(_0x347564(_0x5d2aa9)),_0x20a2e8)){const _0x308fa4=this['_revisionId'];this['_idsRoots']['set'](_0x12ced5,this['_makeIdsRoot'](_0x5972ea)),this['_baseIdsRoots']['set'](_0x12ced5,this['_makeIdsRoot'](_0x5972ea,_0x308fa4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x20a2e8&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x200463,_0x27dd0f]of _0x4fa3e0){const _0x577681=this['_baseRoots']['get'](_0x27dd0f['rootName']),_0x12351b=this['_diffRoots']['get'](_0x27dd0f['rootName']),_0x4e1d1c=new vt(this['_fixPosition'](_0x27dd0f['start'],_0x577681),this['_fixPosition'](_0x27dd0f['end'],_0x577681)),_0x1b9bf1=this['_fixRange'](_0x4e1d1c,_0x12351b);_0x577681['markers']['set'](_0x200463,_0x4e1d1c),this['_markers']['set'](_0x200463,_0x1b9bf1);}this['_applyOperations'](_0x27cd6e,_0x427c16,_0x20a2e8);}['_applyOperations'](_0x360548,_0x4f0db7,_0x1bf3c4){for(const _0x4aaaf5 of this['source']['getOperations'](_0x360548,_0x4f0db7))this['_handleOperation'](_0x4aaaf5,_0x1bf3c4);for(const _0x5e4154 of this['_diffRoots']['values']())_0x5e4154['markers']['clear']();for(const [_0x36faeb,_0x7e202b]of this['_markers']){this['_diffRoots']['get'](_0x7e202b['root']['rootName'])['markers']['set'](_0x36faeb,_0x7e202b['clone']());}const _0x2835f7=new Map(),_0x253381=new Map();for(const [_0x58d6b0,_0x1bfd16]of this['_diffRoots'])_0x2835f7['set'](_0x58d6b0,q(_0x1bfd16)),_0x253381['set'](_0x58d6b0,this['_diffRootsAttributes']['get'](_0x58d6b0));this['_saveMetaData'](_0x4f0db7,_0x2835f7,this['_markers'],_0x253381);}['_getPreviousFrom'](_0x59a003){const _0x14993b=Array['from'](this['_savedMetaData']['keys']());_0x14993b['sort']((_0x3a0d2d,_0x48be54)=>_0x3a0d2d-_0x48be54),_0x14993b['reverse']();for(const _0x3301c3 of _0x14993b)if(_0x3301c3<_0x59a003)return _0x3301c3;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x40ae2a,_0x1f0056){const _0x49e2e3=Array['from'](_0x1f0056['markers'])['map'](([_0x261c3e,_0x5c816e])=>[_0x261c3e,this['_fixRange'](_0x5c816e,_0x40ae2a)]);_0x40ae2a['markers']=new Map(_0x49e2e3);}['_transformMarkers'](_0x35c8a1){for(const _0x5485f1 of this['_markers']['values']()){const _0x5092d5=_0x5485f1['getTransformedByOperation'](_0x35c8a1),_0x22ac64=vt['_createFromRanges'](_0x5092d5);_0x5485f1['start']=_0x22ac64['start'],_0x5485f1['end']=_0x22ac64['end'];}}['_handleOperation'](_0x1f1c08,_0x1293d2){if('addRoot'==_0x1f1c08['type']||'detachRoot'==_0x1f1c08['type'])return void this['_handleRootOperation'](_0x1f1c08,_0x1293d2);if('insert'==_0x1f1c08['type']){const _0x21a3a5=_0x1f1c08['position']['root']['rootName'];this['_diffRoots']['has'](_0x21a3a5)||(this['_diffRoots']['set'](_0x21a3a5,G(_0x21a3a5,!0x0)),this['_diffRootsAttributes']['set'](_0x21a3a5,{}),_0x1293d2&&this['_idsRoots']['set'](_0x21a3a5,G(_0x21a3a5,!0x0)));}else{if('addRootAttribute'==_0x1f1c08['type']||'removeRootAttribute'==_0x1f1c08['type']||'changeRootAttribute'==_0x1f1c08['type'])return void this['_handleRootAttributeOperation'](_0x1f1c08);}const _0x3f8502=this['_cloneOperation'](_0x1f1c08,this['_diffRoots']);if('marker'!==_0x1f1c08['type']&&(_0x3f8502['_execute'](),this['_transformMarkers'](_0x3f8502)),_0x1293d2)switch(_0x3f8502['type']){case'insert':this['_handleInsertOperation'](_0x1f1c08);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1f1c08);break;case'merge':this['_handleMergeOperation'](_0x1f1c08);break;case'split':this['_handleSplitOperation'](_0x1f1c08);break;case'marker':this['_handleMarkerOperation'](_0x1f1c08);}}['_cloneOperation'](_0x2ebf91,_0x24904c){const _0x54004e=_0x2ebf91['clone']();return _0x54004e['_authorId']=_0x2ebf91['_authorId'],this['_fixOperation'](_0x54004e,_0x24904c),_0x54004e;}['_getBaseVids'](_0xc3a716){return _0xc3a716['map'](_0xdb7709=>{const _0x5378bb=this['_getVidAttributeName'](_0xdb7709);return Number(_0xdb7709['item']['getAttribute'](_0x5378bb));});}['_generateTape'](_0x38aeac,_0x3d881f){if(_0x38aeac['is']('element','$text'))_0x3d881f['push']({'item':_0x38aeac,'type':'text'});else{_0x38aeac['is']('element')&&_0x3d881f['push']({'item':_0x38aeac,'type':'elementStart'});for(const _0x3a2b4c of _0x38aeac['getChildren']())this['_generateTape'](_0x3a2b4c,_0x3d881f);_0x38aeac['is']('element')&&_0x3d881f['push']({'item':_0x38aeac,'type':'elementEnd'});}return _0x3d881f;}['_getState'](){const _0x1d489d=new Map(this['_touched']),_0x20ed69=new Map(_0x1d489d),_0x405d11=new Map(),_0xafac5d={'insertions':{},'deletions':{}},_0xe4937d={'insertions':{},'deletions':{}},_0x215f28=new Map(),_0x572b32=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x572b32['delete']('$graveyard');for(const _0x10b0b2 of _0x572b32){const _0x4f8670=this['_diffRoots']['get'](_0x10b0b2)||G(_0x10b0b2,!0x1),_0x32b5ee=this['_baseRoots']['get'](_0x10b0b2)||G(_0x10b0b2,!0x1);_0x4f8670['isAttached']()||_0x32b5ee['isAttached']()?(_0xafac5d['insertions'][_0x10b0b2]=q(_0x4f8670),_0xafac5d['deletions'][_0x10b0b2]=q(_0x32b5ee),this['_copyMarkers'](_0xafac5d['deletions'][_0x10b0b2],_0x32b5ee),this['_copyMarkers'](_0xafac5d['insertions'][_0x10b0b2],_0x4f8670),_0xe4937d['insertions'][_0x10b0b2]=this['_generateTape'](this['_idsRoots']['get'](_0x10b0b2),[]),_0xe4937d['deletions'][_0x10b0b2]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x10b0b2)||G(_0x10b0b2,!0x1),[])):_0x572b32['delete'](_0x10b0b2);}for(const _0x88e548 of _0x572b32){const _0xeedf82=_0xe4937d['insertions'][_0x88e548];for(const _0x384c96 of _0xeedf82){const _0x107310=this['_getVidAttributeName'](_0x384c96),_0x570ecc=_0x384c96['item']['getAttribute'](_0x107310);_0x20ed69['delete'](_0x570ecc),_0x570ecc>=this['_startingRevisionId']&&_0x405d11['set'](_0x570ecc,_0x1d489d['get'](_0x570ecc));}}for(const _0x48bb25 of _0x572b32){const _0x314b5d=_0xe4937d['insertions'][_0x48bb25],_0x3a630b=this['_getBaseVids'](_0xe4937d['deletions'][_0x48bb25]);let _0x386ae6=0x0;for(const _0x226544 of _0x314b5d){const _0x42f6cf=this['_getVidAttributeName'](_0x226544),_0x928ebb=_0x226544['item']['getAttribute'](_0x42f6cf);if(!_0x405d11['has'](_0x928ebb)&&!_0x215f28['has'](_0x928ebb)){if(_0x20ed69['has'](_0x928ebb))_0x386ae6++;else{if(_0x928ebb!=_0x3a630b[_0x386ae6]){const _0x3e042e=_0x1d489d['get'](_0x928ebb)||_0x1d489d['get'](_0x3a630b[_0x386ae6]);for(;_0x928ebb!=_0x3a630b[_0x386ae6];)_0x20ed69['has'](_0x3a630b[_0x386ae6])||(_0x215f28['set'](_0x3a630b[_0x386ae6],_0x3e042e),_0x1d489d['set'](_0x3a630b[_0x386ae6],_0x3e042e)),_0x386ae6++;}_0x386ae6++;}}}}for(const _0x4b76fe of _0x572b32){const _0x4a7eaa=_0xe4937d['insertions'][_0x4b76fe];for(const _0xc9e835 of _0x4a7eaa){const _0x44554c=this['_getVidAttributeName'](_0xc9e835),_0x3382aa=_0xc9e835['item']['getAttribute'](_0x44554c);if(_0x215f28['has'](_0x3382aa)){const _0x232dd0=_0x215f28['get'](_0x3382aa);_0x20ed69['has'](_0x3382aa)||_0x20ed69['set'](_0x3382aa,{..._0x232dd0}),_0x405d11['set'](_0x3382aa,{..._0x232dd0});}}}for(const _0x2cc6e5 of _0x20ed69['keys']())_0x2cc6e5>=this['_startingRevisionId']&&_0x20ed69['delete'](_0x2cc6e5);const _0x134e67=new Map();for(const _0x42a38a of _0x572b32){let _0x1a9dc3=_0xe4937d['insertions'][_0x42a38a];for(const _0xfebd68 of _0x1a9dc3)if(_0xfebd68['item']['is']('element','tableCell')){const _0x428d23=this['_getVidAttributeName'](_0xfebd68),_0x2300d0=_0xfebd68['item']['getAttribute'](_0x428d23);if(_0x405d11['has'](_0x2300d0)){const _0x169f7e=_0xfebd68['item']['parent']['parent']['getAttribute']('vid_start'),_0x3a9e38=_0x134e67['get'](_0x169f7e)||new Set();_0x3a9e38['add'](_0x405d11['get'](_0x2300d0)['userId']),_0x134e67['set'](_0x169f7e,_0x3a9e38);}}_0x1a9dc3=_0xe4937d['deletions'][_0x42a38a];for(const _0x3d1853 of _0x1a9dc3)if(_0x3d1853['item']['is']('element','tableCell')){const _0x1a7635=this['_getVidAttributeName'](_0x3d1853),_0x5b028e=_0x3d1853['item']['getAttribute'](_0x1a7635);if(_0x20ed69['has'](_0x5b028e)){const _0x1f8d87=_0x3d1853['item']['parent']['parent']['getAttribute']('vid_start'),_0x54f998=_0x134e67['get'](_0x1f8d87)||new Set();_0x54f998['add'](_0x20ed69['get'](_0x5b028e)['userId']),_0x134e67['set'](_0x1f8d87,_0x54f998);}}for(const _0x5dc84e of _0x134e67['keys']())(_0x405d11['has'](_0x5dc84e)||_0x20ed69['has'](_0x5dc84e))&&_0x134e67['delete'](_0x5dc84e);}for(const _0x27862e of _0x572b32){const _0x493a96=_0xe4937d['insertions'][_0x27862e];let _0x2c2836=null,_0x488c3a=null;for(const _0x159c47 of _0x493a96){const _0x4a653a=this['_getVidAttributeName'](_0x159c47),_0x4fe707=_0x159c47['item']['getAttribute'](_0x4a653a),_0x52b1ea=_0x134e67['get'](_0x4fe707);_0x52b1ea&&'elementStart'==_0x159c47['type']&&(_0x2c2836=Array['from'](_0x52b1ea)[0x0],_0x488c3a=_0x159c47['item']['getAttribute']('vid_end')),_0x2c2836&&(_0x20ed69['set'](_0x4fe707,{'userId':_0x2c2836}),_0x405d11['set'](_0x4fe707,{'userId':_0x2c2836})),_0x4fe707==_0x488c3a&&(_0x2c2836=null,_0x488c3a=null);}}const _0x17e8f0={},_0x426395=new Set();for(const _0x578b5d of _0x572b32){const _0x673cb9=_0xafac5d['deletions'][_0x578b5d],_0x57f6ff=_0xafac5d['insertions'][_0x578b5d];for(const {userId:_0x291953}of this['_touchedMarkers']['values']())null!==_0x291953&&_0x426395['add'](_0x291953);for(const {userId:_0x10c4f8}of this['_touchedRoots']['values']())null!==_0x10c4f8&&_0x426395['add'](_0x10c4f8);this['_markChanges'](_0x57f6ff,_0xe4937d['insertions'][_0x578b5d],_0x405d11,'insertion',_0x426395),this['_markChanges'](_0x673cb9,_0xe4937d['deletions'][_0x578b5d],_0x20ed69,'deletion',_0x426395),_0x17e8f0[_0x578b5d]={'insertions':this['_prepareViewToSave'](_0x57f6ff),'deletions':this['_prepareViewToSave'](_0x673cb9),'attachChange':this['_touchedRoots']['get'](_0x578b5d)||null,'attributesBefore':_0x347564(this['_baseRootsAttributes']['get'](_0x578b5d))||{},'attributesAfter':_0x347564(this['_diffRootsAttributes']['get'](_0x578b5d))};}return{'diffData':_0x17e8f0,'authorsIds':Array['from'](_0x426395)};}['_processRootBeforeSave'](_0x2f38b7){for(const [,_0x2f8524]of _0x2f38b7['markers']){const _0x122d24=_0x2f8524['start']['getAncestors']()['filter'](_0x5c9b7a=>'tableCell'==_0x5c9b7a['name']);for(const _0x46f283 of _0x122d24)0x1==_0x46f283['childCount']&&_0x46f283['getChild'](0x0)['is']('element','paragraph')&&_0x46f283['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x386ae8){this['_processRootBeforeSave'](_0x386ae8);const _0x194dbb=this['editor']['data']['toView'](_0x386ae8,{}),_0x22aa85=Array['from'](_0x194dbb['getChildren']())['map'](_0x3904a6=>this['_getViewJson'](_0x3904a6));return JSON['stringify'](_0x22aa85);}['_getViewJson'](_0x32526d){if(_0x32526d['is']('$text'))return _0x32526d['data'];{const _0x4156ad=_0x32526d;return{'type':Object['keys'](T)['find'](_0x40d98a=>_0x32526d instanceof T[_0x40d98a]),'name':_0x4156ad['name'],'attributes':Array['from'](_0x4156ad['getAttributes']()),'children':Array['from'](_0x4156ad['getChildren']())['map'](_0x39c241=>this['_getViewJson'](_0x39c241))};}}['_markChanges'](_0x3c91ec,_0x559c5e,_0x41a5a4,_0x50b4d3,_0x2fc14f){let _0x1a56a4=null,_0x218fd0=null,_0x3d12b3=0x0;const _0x4c3e7c=this['editor']['model'];for(let _0x4e9ba9=0x0;_0x4e9ba9<_0x559c5e['length'];_0x4e9ba9++){const _0x13c6c8=this['_getVidAttributeName'](_0x559c5e[_0x4e9ba9]),_0x377119=_0x559c5e[_0x4e9ba9]['item']['getAttribute'](_0x13c6c8),_0x41d264=_0x41a5a4['get'](_0x377119),_0x35a068=_0x4e9ba9==_0x559c5e['length']-0x1;(!_0x1a56a4&&_0x41d264&&(_0x1a56a4=_0x41d264,_0x218fd0=_0x559c5e[_0x4e9ba9]),_0x1a56a4&&(!_0x41d264||_0x41d264['userId']!=_0x1a56a4['userId']))&&(_0x104c64(_0x41d264,L(_0x218fd0,_0x3c91ec,_0x4c3e7c),L(_0x559c5e[_0x4e9ba9],_0x3c91ec,_0x4c3e7c)),_0x1a56a4=_0x41d264||null,_0x218fd0=_0x41d264?_0x559c5e[_0x4e9ba9]:null),_0x1a56a4&&_0x35a068&&_0x104c64(_0x41d264,L(_0x218fd0,_0x3c91ec,_0x4c3e7c),W(_0x559c5e[_0x4e9ba9],_0x3c91ec,_0x4c3e7c));}function _0x104c64(_0x112f26,_0x4b36c2,_0x50b9b0){const _0x178d10=_0x1a56a4['userId'],_0x1e022d='revision:'+_0x50b4d3+':'+_0x178d10+':'+_0x3d12b3++,_0x4e5dc1=_0x4c3e7c['createRange'](_0x4b36c2,_0x50b9b0);_0x3c91ec['markers']['set'](_0x1e022d,_0x4e5dc1),null!==_0x178d10&&_0x2fc14f['add'](_0x178d10);}}['_getVidAttributeName'](_0x295511){switch(_0x295511['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x43eca1,_0x7dcd92){_0x43eca1['baseVersion']=null;for(const _0xc734c in _0x43eca1){const _0x18feb8=_0x43eca1[_0xc734c];if(_0x18feb8 instanceof gt){const _0x190c72=_0x7dcd92['get'](_0x18feb8['root']['rootName']);_0x43eca1[_0xc734c]=this['_fixPosition'](_0x18feb8,_0x190c72);}if(_0x18feb8 instanceof vt){const _0x3b564e=_0x7dcd92['get'](_0x18feb8['root']['rootName']);_0x43eca1[_0xc734c]=this['_fixRange'](_0x18feb8,_0x3b564e);}'root'===_0xc734c&&(_0x43eca1['root']=_0x7dcd92['get'](_0x43eca1['root']['rootName']));}}['_fixRange'](_0x25f9d8,_0x30f01e){return this['editor']['model']['createRange'](this['_fixPosition'](_0x25f9d8['start'],_0x30f01e),this['_fixPosition'](_0x25f9d8['end'],_0x30f01e));}['_fixPosition'](_0x303db1,_0x214c5f){return this['editor']['model']['createPositionFromPath'](_0x214c5f,_0x303db1['path'],_0x303db1['stickiness']);}['_handleInsertOperation'](_0x96bda5){const _0x1db890=this['_idsRoots']['get'](_0x96bda5['position']['root']['rootName']),_0x5f3bd6=this['_fixPosition'](_0x96bda5['position'],_0x1db890),_0x24425e=null===_0x96bda5['_authorId']?null:_0x96bda5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c985d=_0x5f3bd6['parent'],_0x20d343=this['_revisionId'],_0x58fa68=[];for(const _0xad9801 of _0x96bda5['nodes'])if(_0xad9801['is']('element'))_0x58fa68['push'](this['_makeIdsRoot'](_0xad9801));else{for(let _0x54f89e=0x0;_0x54f89e<_0xad9801['offsetSize'];_0x54f89e++)_0x58fa68['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x29cbb4=this['_revisionId'];for(let _0x1935b5=_0x20d343;_0x1935b5<_0x29cbb4;_0x1935b5++)this['_touched']['set'](_0x1935b5,{'userId':_0x24425e});_0x4c985d['_insertChild'](_0x5f3bd6['offset'],_0x58fa68);}['_handleMoveOperation'](_0x527fe6){(_0x527fe6=this['_cloneOperation'](_0x527fe6,this['_idsRoots']))['_execute']();const _0x243309=null===_0x527fe6['_authorId']?null:_0x527fe6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d5671=_0x527fe6['getMovedRangeStart'](),_0x59e0ff=_0x1d5671['parent'],_0x512897=_0x1d5671['offset'];!function _0x2d41cd(_0x161d79,_0x55fe72,_0x35ae4d,_0x3a76d2){for(let _0x52af81=_0x35ae4d;_0x52af81<_0x3a76d2;_0x52af81++){const _0x210c08=_0x55fe72['getChild'](_0x52af81);_0x210c08['is']('element','$text')?_0x161d79['set'](_0x210c08['getAttribute']('vid'),{'userId':_0x243309}):(_0x161d79['set'](_0x210c08['getAttribute']('vid_start'),{'userId':_0x243309}),_0x2d41cd(_0x161d79,_0x210c08,0x0,_0x210c08['childCount']),_0x161d79['set'](_0x210c08['getAttribute']('vid_end'),{'userId':_0x243309}));}}(this['_touched'],_0x59e0ff,_0x512897,_0x512897+_0x527fe6['howMany']);}['_handleMergeOperation'](_0x16f51e){const _0x55ce78=null===(_0x16f51e=this['_cloneOperation'](_0x16f51e,this['_idsRoots']))['_authorId']?null:_0x16f51e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x286e3=_0x16f51e['targetPosition']['parent'],_0x12f761=_0x16f51e['sourcePosition']['parent'],_0x4af14b=_0x286e3['getAttribute']('vid_end'),_0x1889ec=_0x12f761['getAttribute']('vid_start');_0x286e3['_setAttribute']('vid_end',_0x12f761['getAttribute']('vid_end')),_0x12f761['_setAttribute']('vid_end',_0x4af14b),this['_touched']['set'](_0x1889ec,{'userId':_0x55ce78}),this['_touched']['set'](_0x4af14b,{'userId':_0x55ce78}),_0x16f51e['_execute']();}['_handleSplitOperation'](_0x4f4656){const _0x4f639a=null===(_0x4f4656=this['_cloneOperation'](_0x4f4656,this['_idsRoots']))['_authorId']?null:_0x4f4656['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5bd017=_0x4f4656['graveyardPosition'],_0x51b5a3=_0x4f4656['splitPosition']['parent'];_0x4f4656['_execute']();const _0x34a215=_0x51b5a3['getAttribute']('vid_end'),_0x3d6db3=_0x4f4656['insertionPosition']['nodeAfter'];if(_0x5bd017){const _0x21a83b=_0x3d6db3['getAttribute']('vid_end'),_0x3882cd=_0x51b5a3['getAttribute']('vid_end');_0x51b5a3['_setAttribute']('vid_end',_0x21a83b),_0x3d6db3['_setAttribute']('vid_end',_0x3882cd),this['_touched']['set'](_0x51b5a3['getAttribute']('vid_end'),{'userId':_0x4f639a}),this['_touched']['set'](_0x3d6db3['getAttribute']('vid_start'),{'userId':_0x4f639a});}else{const _0x4fa704=this['_revisionId']++,_0x33dc35=this['_revisionId']++;_0x51b5a3['_setAttribute']('vid_end',_0x4fa704),_0x3d6db3['_setAttribute']('vid_start',_0x33dc35),_0x3d6db3['_setAttribute']('vid_end',_0x34a215),this['_touched']['set'](_0x4fa704,{'userId':_0x4f639a}),this['_touched']['set'](_0x33dc35,{'userId':_0x4f639a});}}['_handleMarkerOperation'](_0x569136){if(!_0x569136['affectsData'])return;const _0x537654=(_0x569136=this['_cloneOperation'](_0x569136,this['_diffRoots']))['oldRange']?_0x569136['oldRange']['root']:null,_0x8bf258=_0x569136['newRange']?_0x569136['newRange']['root']:null;_0x537654&&this['_markers']['delete'](_0x569136['name']),_0x8bf258&&this['_markers']['set'](_0x569136['name'],_0x569136['newRange']['clone']());const _0x244e18=null===_0x569136['_authorId']?null:_0x569136['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55532a=_0x569136['name'];if(!this['_touchedMarkers']['has'](_0x55532a))return void this['_touchedMarkers']['set'](_0x55532a,{'range':_0x569136['oldRange'],'userId':_0x244e18});const _0x4746d1=this['_touchedMarkers']['get'](_0x55532a),_0x1bfed9=_0x4746d1['range'],_0x50c68f=_0x569136['newRange'];null==_0x1bfed9&&null==_0x50c68f||_0x1bfed9&&_0x50c68f&&_0x1bfed9['isEqual'](_0x50c68f)?this['_touchedMarkers']['delete'](_0x569136['name']):_0x4746d1['userId']=_0x244e18;}['_handleRootOperation'](_0x36c5bc,_0x53fa02){this['_diffRoots']['has'](_0x36c5bc['rootName'])?this['_diffRoots']['get'](_0x36c5bc['rootName'])['_isAttached']=_0x36c5bc['isAdd']:(this['_diffRoots']['set'](_0x36c5bc['rootName'],G(_0x36c5bc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x36c5bc['rootName'],{}),_0x53fa02&&this['_idsRoots']['set'](_0x36c5bc['rootName'],G(_0x36c5bc['rootName'],!0x0)));const _0x53d516=null===_0x36c5bc['_authorId']?null:_0x36c5bc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f80cc=this['_touchedRoots']['get'](_0x36c5bc['rootName']);_0x4f80cc&&_0x4f80cc['userId']===_0x53d516?this['_touchedRoots']['delete'](_0x36c5bc['rootName']):this['_touchedRoots']['set'](_0x36c5bc['rootName'],{'userId':_0x53d516,'isAttached':_0x36c5bc['isAdd']});}['_handleRootAttributeOperation'](_0x411338){const _0x45dc5a=this['_diffRootsAttributes']['get'](_0x411338['root']['rootName']);null===_0x411338['newValue']?delete _0x45dc5a[_0x411338['key']]:_0x45dc5a[_0x411338['key']]=_0x411338['newValue'];}}function q(_0x482d15){const _0x3f528a=G(_0x482d15['rootName'],_0x482d15['isAttached']());for(const _0x5e29b9 of _0x482d15['getChildren']()){const _0x725380=_0x5e29b9['_clone'](!0x0);_0x3f528a['_appendChild'](_0x725380);}return _0x3f528a;}function G(_0x1f6add,_0x26529e=!0x0){const _0x2e35e3=new wt();return _0x2e35e3['rootName']=_0x1f6add,_0x2e35e3['_isAttached']=_0x26529e,_0x2e35e3['isAttached']=()=>_0x2e35e3['_isAttached'],_0x2e35e3;}function L(_0x38ee35,_0x315eae,_0x4608a2){const _0x24de4f='elementEnd'==_0x38ee35['type']?_0x4608a2['createPositionAt'](_0x38ee35['item'],'end'):_0x4608a2['createPositionBefore'](_0x38ee35['item']);return _0x4608a2['createPositionFromPath'](_0x315eae,_0x24de4f['path'],_0x24de4f['stickiness']);}function W(_0x530e50,_0x22dce7,_0x4d370e){const _0xc04858='elementStart'==_0x530e50['type']?_0x4d370e['createPositionAt'](_0x530e50['item'],0x0):_0x4d370e['createPositionAfter'](_0x530e50['item']);return _0x4d370e['createPositionFromPath'](_0x22dce7,_0xc04858['path'],_0xc04858['stickiness']);}class ns extends _0x9e7c5d{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x9481ba,_0x3fcc7c){super(_0x9481ba),this['focusTracker']=new _0x1fd568(),this['keystrokes']=new _0x36c883(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3fcc7c),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'](),_0x59b4ea({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3b8056=_0x2a0aff=>_0x2a0aff['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b8056),this['keystrokes']['set']('arrowleft',_0x3b8056),this['keystrokes']['set']('arrowup',_0x3b8056),this['keystrokes']['set']('arrowdown',_0x3b8056);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1ea952){this['revisionNameInputView']['fieldView']['element']['value']=_0x1ea952['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1d7662){const _0x42f59f=new at(this['locale'],_0xccb8c9),_0x4b51e3=_0x42f59f['fieldView'];_0x4b51e3['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x59d51a=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1d7662&&(_0x59d51a+='\x20('+y(this['locale'],'optional')+')'),(_0x42f59f['label']=_0x59d51a,_0x4b51e3['on']('input',()=>{this['revisionNameInputValue']=_0x4b51e3['element']['value']['trim']();}),_0x42f59f);}}class u extends _0x461176{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xd4f578=this['editor'],_0x4748a4=_0xd4f578['plugins']['get']('RevisionTracker');_0xd4f578['ui']['componentFactory']['add']('revisionHistory',_0x5087cc=>{const _0x3fceb1=_0x2ffb5a(_0x5087cc),_0x4c5164=_0x3fceb1['panelView']['children'],_0x56253d=new te(_0x5087cc),_0x508117=new _0x5c29fd(_0x5087cc),_0x22fcee=new _0x521f2d(_0x5087cc),_0x189966=new _0x5c29fd(_0x5087cc),_0x3222f7=new _0x521f2d(_0x5087cc);return _0x3fceb1['bind']('isEnabled')['to'](_0x4748a4,'isReady',_0x4748a4,'isEnabled',_0xd4f578,'isReadOnly',(_0x3d0e57,_0x358a7c,_0x11309b)=>_0x3d0e57&&_0x358a7c&&!_0x11309b),_0x3fceb1['buttonView']['set']({'icon':_0x405582['history'],'label':y(_0x5087cc,'Revision\x20history'),'tooltip':!0x0}),_0x22fcee['set']({'label':y(_0x5087cc,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x22fcee['bind']('isEnabled')['to'](_0x4748a4,'isReady',_0x4748a4,'isEnabled',_0xd4f578,'isReadOnly',(_0x447a49,_0x62fcb3,_0x3566f5)=>_0x447a49&&_0x62fcb3&&!_0x3566f5),_0x22fcee['on']('execute',()=>this['_showDialog']()),_0x3222f7['set']({'label':y(_0x5087cc,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x3222f7['bind']('isEnabled')['to'](_0x4748a4,'isReady',_0xd4f578,'isReadOnly',(_0x23866f,_0x3ac1a7)=>_0x23866f&&!_0x3ac1a7),_0x3222f7['on']('execute',()=>{_0xd4f578['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3fceb1['isOpen']=!0x1,_0xd4f578['editing']['view']['focus']();}),_0x508117['children']['add'](_0x22fcee),_0x189966['children']['add'](_0x3222f7),_0x56253d['role']='menu',_0x56253d['items']['addMany']([_0x508117,_0x189966]),_0x4c5164['add'](_0x56253d),_0x3fceb1;}),_0xd4f578['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2d7e35=this['editor'],_0x5f1275=_0x2d7e35['locale'],_0x2b59ab=new _0x4b2579(_0x5f1275),_0x22cf09=new _0x239aea(_0x5f1275);_0x2b59ab['buttonView']['set']({'icon':_0x405582['history'],'label':y(_0x5f1275,'Revision\x20history')});const _0x4f43be=new _0x2eb276(_0x5f1275,_0x2b59ab),_0x397838=new _0xbb378c(_0x5f1275);_0x397838['set']({'label':y(_0x5f1275,'Save\x20current\x20revision')}),_0x397838['delegate']('execute')['to'](_0x2b59ab),_0x397838['on']('execute',()=>{this['_showDialog']();}),_0x4f43be['children']['add'](_0x397838),_0x22cf09['items']['add'](_0x4f43be);const _0x5b3fcb=new _0x2eb276(_0x5f1275,_0x2b59ab),_0x5afb53=new _0xbb378c(_0x5f1275);return _0x5afb53['set']({'label':y(_0x5f1275,'Open\x20revision\x20history')}),_0x5afb53['delegate']('execute')['to'](_0x2b59ab),_0x5afb53['on']('execute',()=>{_0x2d7e35['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5b3fcb['children']['add'](_0x5afb53),_0x22cf09['items']['add'](_0x5b3fcb),_0x2b59ab['panelView']['children']['add'](_0x22cf09),_0x2b59ab;}['_showDialog'](){const _0x41691c=this['editor'],_0x3f37=_0x41691c['locale'],t=_0x3f37['t'],_0x55f7e7=_0x41691c['plugins']['get']('Dialog'),_0x2b4451=_0x41691c['plugins']['get']('RevisionTracker');function _0x3c201b(_0x276f9c){_0x41691c['config']['get']('revisionHistory.requireRevisionName')&&''===_0x276f9c['revisionName']?_0x276f9c['revisionNameInputView']['errorText']=y(_0x3f37,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x41691c['plugins']['get'](l)['saveRevision']({'name':_0x276f9c['revisionName']}),_0x55f7e7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3c201b(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x55f7e7['show']({'id':'revisionSave','title':y(_0x3f37,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x55f7e7['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4d3bb7){_0x4d3bb7['bind']('isEnabled')['to'](_0x2b4451,'isReady',_0x2b4451,'isEnabled',_0x41691c,'isReadOnly',(_0x4475e0,_0x3e864d,_0x1491b5)=>_0x4475e0&&_0x3e864d&&!_0x1491b5);},'onExecute':()=>_0x3c201b(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3a750f=this['editor'],_0x22f832=_0x3a750f['locale'];this['_saveRevisionFormView']=new ns(_0x22f832,_0x3a750f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x9e7c5d{['changeId'];['_model'];constructor(_0x1b3ae2,_0x49f4b1){super(_0x1b3ae2),this['_model']=_0x49f4b1,this['changeId']=_0x49f4b1['id'];const _0x1b89c5=this['bindTemplate'],_0x4b1428=y(_0x1b3ae2,_0x49f4b1['data']['isSuggestion']?'Suggested\x20by':'add'==_0x49f4b1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x49f4b1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1b89c5['to']('type',_0x3e42bb=>'ck-revision-change__'+_0x3e42bb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4b1428}]},{'text':'\x20'+_0x49f4b1['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x2610d2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x326d4b){super(),this['id']=_0x326d4b['id']||_0x2bcde8(),this['author']=_0x326d4b['author'],this['type']=_0x326d4b['type'],this['data']=_0x326d4b['data']||{},this['rootName']=_0x326d4b['rootName'],this['set']('createdAt',_0x326d4b['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(_0x5020a1,_0x2b5b71){this['newRevisionId']=_0x5020a1,this['oldRevisionId']=_0x2b5b71,this['changes']=new _0x36186a();}['_setChanges'](_0x37b4a2){for(const _0x615d28 of _0x37b4a2)this['changes']['add'](_0x615d28);}}const tt={'c':_0x390ed5,'a':_0x3f3b4c,'e':_0x2388b1,'r':_0x210efb,'u':_0x396833};class d extends _0x461176{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x417f58,_0x5bc56b,A];}constructor(_0x57adcd){super(_0x57adcd),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',(_0x5c5a43,_0x5b5832,_0x25e1a5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1ee92f=>{for(const _0x1545c0 of this['editor']['editing']['view']['document']['roots'])_0x25e1a5?_0x1ee92f['removeClass']('ck-editor__editable__overlay',_0x1545c0):_0x1ee92f['addClass']('ck-editor__editable__overlay',_0x1545c0);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5aa450=>null!==_0x5aa450),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x48c7ed,_0x308b52,_0x7b2496)=>_0x48c7ed&&_0x7b2496?_0x308b52['changes']['getIndex'](_0x7b2496):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x411c76,_0x4fb012)=>_0x411c76?_0x4fb012['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5bc56b);}['init'](){const _0x259d9d=this['editor'],_0x54b334=new yt(_0x259d9d,{'direction':'backward'}),_0x58849f=new yt(_0x259d9d,{'direction':'forward'});(_0x259d9d['commands']['add']('showPreviousChange',_0x54b334),_0x259d9d['commands']['add']('showNextChange',_0x58849f),_0x259d9d['commands']['add']('restoreRevision',new bt(_0x259d9d)),this['on']('change:numberOfChanges',()=>{_0x54b334['refresh'](),_0x58849f['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x259d9d['enableReadOnlyMode']('revision-viewer'),_0x259d9d['plugins']['has']('WidgetToolbarRepository'))&&_0x259d9d['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x51cbba){await this['loadRevisionData'](_0x51cbba);const _0x1ed9bb={};for(const _0x2c76f0 in _0x51cbba['diffData']){if(_0x51cbba['diffData'][_0x2c76f0]['attachChange']&&!_0x51cbba['diffData'][_0x2c76f0]['attachChange']['isAttached'])continue;const _0x55efd6=this['_removeRevisionMarkers'](JSON['parse'](_0x51cbba['diffData'][_0x2c76f0]['insertions'])),_0x212e96=this['editor']['editing']['view']['document'],_0x256d44=new _0x1805e0(_0x212e96,_0x55efd6['map'](_0x499607=>this['_getViewObj'](_0x499607)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1ed9bb[_0x2c76f0]=this['editor']['data']['processor']['toData'](_0x256d44),this['editor']['data']['processor']['useFillerType']('default');}return _0x1ed9bb;}async['getRevisionRootsAttributes'](_0x59093a){await this['loadRevisionData'](_0x59093a);const _0x1a277c={};for(const _0xe69545 in _0x59093a['diffData'])_0x59093a['diffData'][_0xe69545]['attachChange']&&!_0x59093a['diffData'][_0xe69545]['attachChange']['isAttached']||(_0x1a277c[_0xe69545]=_0x59093a['diffData'][_0xe69545]['attributesAfter']||{});return _0x1a277c;}['_removeRevisionMarkers'](_0x13ec73){return(_0x13ec73=_0x13ec73['filter'](_0x4f3bf4=>!_0x4f3bf4['name']||'revision-start'!==_0x4f3bf4['name']&&'revision-end'!==_0x4f3bf4['name']))['forEach'](_0x39c63e=>{'string'!=typeof _0x39c63e&&(_0x39c63e['children']=this['_removeRevisionMarkers'](_0x39c63e['children']),_0x39c63e['attributes']=_0x39c63e['attributes']['filter'](_0x4a7fbc=>!_0x4a7fbc[0x0]['startsWith']('data-revision-')));}),_0x13ec73;}async['compare'](_0x432bb5,_0xf03379,_0x1e2334=!0x1){if(!this['isEnabled'])return;const _0x4d4957=this['diff'],_0x3a02d9=this['repository'],_0x3b2eec='string'==typeof _0x432bb5?_0x3a02d9['getRevision'](_0x432bb5):_0x432bb5,_0x237809='string'==typeof _0xf03379?_0x3a02d9['getRevision'](_0xf03379):_0xf03379,_0x1e7a2e=_0x3b2eec['id'],_0x45036e=_0x237809?_0x237809['id']:null;if(!_0x1e2334&&this['diff']&&this['diff']['newRevisionId']===_0x1e7a2e&&this['diff']['oldRevisionId']===_0x45036e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1e7a2e,_0x45036e);const _0x2a352a=this['_getRevisionsRange'](_0x3b2eec,_0x237809,!0x0)['map'](_0x2a0686=>this['loadRevisionData'](_0x2a0686));return _0x2a352a['push'](new Promise(_0x5869d3=>{setTimeout(_0x5869d3,0x14);})),Promise['all'](_0x2a352a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x48b312=this['_getDiff'](_0x1e7a2e,_0x45036e);for(const _0x2298cb of _0x48b312['changes'])this['_changeIdToChange']['set'](_0x2298cb['id'],_0x2298cb);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x7d4557=>{for(const _0x48d128 of this['editor']['model']['document']['getRootNames']())_0x7d4557['detachRoot'](_0x48d128);for(const _0x1bba53 of Object['keys'](_0x48b312['model'])){const _0x233491=_0x7d4557['addRoot'](_0x1bba53);for(const _0x5003fb of Object['keys'](_0x48b312['attributes'][_0x1bba53]))_0x7d4557['setAttribute'](_0x5003fb,_0x48b312['attributes'][_0x1bba53][_0x5003fb],_0x233491);_0x7d4557['insert'](_0x48b312['model'][_0x1bba53],_0x233491,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x48b312['changes'])),this['isReady']=!0x0;})['catch'](_0x52c196=>{console['error'](_0x52c196),this['_cleanUp'](),_0x4d4957&&(this['diff']=_0x4d4957),this['isReady']=!0x0;});}['addRevisionData'](_0x3df053,_0x13296c){const _0x297c16=this['repository']['createRevision'](_0x3df053);return _0x297c16['on']('_update',(_0x10ac05,_0x4b7202,_0x40a3c3)=>_0x13296c(_0x4b7202,_0x40a3c3,_0x297c16)),this['repository']['addRevision'](_0x297c16),_0x297c16;}['loadRevisionData'](_0xf20878){if(!_0xf20878||_0xf20878['diffData'])return Promise['resolve']();{const _0x3af8ab=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3af8ab,'revisionId':_0xf20878['id']})['then'](_0x1b4f5e=>{_0xf20878['_update']({'diffData':_0x1b4f5e['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},_0x5d8142=>{for(const _0x730b10 of this['editor']['model']['document']['getRootNames']())_0x5d8142['detachRoot'](_0x730b10);});}['_sortAndFilterDiffChanges'](_0x252295){const _0x16d02f=[],_0x355796=new Map();for(const _0xc12db6 of this['editor']['model']['document']['getRootNames']()){const _0x48d0b8=this['editor']['editing']['view']['getDomRoot'](_0xc12db6);if(!_0x48d0b8)continue;const _0x1d1f50=_0x48d0b8['getClientRects']()['item'](0x0);_0x1d1f50&&(_0x16d02f['push'](_0xc12db6),_0x355796['set'](_0xc12db6,_0x1d1f50));}return _0x16d02f['sort']((_0x304343,_0x20efa0)=>{const _0xacc098=_0x355796['get'](_0x304343),_0x54adb4=_0x355796['get'](_0x20efa0);return _0xacc098['y']-_0x54adb4['y']||_0xacc098['x']-_0x54adb4['x'];}),(_0x252295=_0x252295['filter'](_0x5afd8e=>_0x16d02f['includes'](_0x5afd8e['rootName'])))['sort']((_0x43adea,_0x1e7faf)=>_0x16d02f['indexOf'](_0x43adea['rootName'])-_0x16d02f['indexOf'](_0x1e7faf['rootName'])),_0x252295;}['_makeTape'](_0x1f34d9){const _0x20e927=Array['from'](_0x1f34d9['markers'])['filter'](([_0x177502,_0x373dd8])=>_0x177502['startsWith']('revision:')&&!_0x373dd8['isCollapsed']),_0x3e5dcb=Array['from'](this['editor']['model']['createRangeIn'](_0x1f34d9)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x20e927['length'])for(const _0x860074 of _0x3e5dcb){const [_0x1690e4,_0x1e3895]=_0x20e927[0x0],[,_0x134fbf,_0x554456]=_0x1690e4['split'](':');if(_0x1e3895['end']['isEqual'](_0x860074['nextPosition'])&&_0x20e927['shift'](),(_0x860074['previousPosition']['isEqual'](_0x1e3895['start'])||_0x860074['previousPosition']['isAfter'](_0x1e3895['start']))&&('insertion'==_0x134fbf?_0x860074['isAdded']={'userId':_0x554456}:'deletion'==_0x134fbf&&(_0x860074['isRemoved']={'userId':_0x554456})),0x0==_0x20e927['length'])break;}return _0x3e5dcb;}['_refreshStartEndIndex'](_0x15997a){const _0x3bc8e4=new Map();for(let _0x579dc4=0x0;_0x579dc4<_0x15997a['length'];_0x579dc4++)'text'===_0x15997a[_0x579dc4]['type']?(_0x15997a[_0x579dc4]['item']['startIndex']=_0x579dc4,_0x15997a[_0x579dc4]['item']['endIndex']=_0x579dc4):('elementStart'===_0x15997a[_0x579dc4]['type']?_0x15997a[_0x579dc4]['item']['startIndex']=_0x579dc4:'elementEnd'===_0x15997a[_0x579dc4]['type']&&(_0x15997a[_0x579dc4]['item']['endIndex']=_0x579dc4),_0x3bc8e4['set'](_0x15997a[_0x579dc4]['id'],_0x579dc4));for(const _0x671b81 of _0x3bc8e4['values']())'elementStart'===_0x15997a[_0x671b81]['type']?_0x15997a[_0x671b81]['item']['endIndex']=_0x3bc8e4['get'](_0x15997a[_0x671b81]['pairId']):'elementEnd'===_0x15997a[_0x671b81]['type']&&(_0x15997a[_0x671b81]['item']['startIndex']=_0x3bc8e4['get'](_0x15997a[_0x671b81]['pairId']));}['_processTape'](_0x38b125){for(let _0x49c99f=0x0;_0x49c99f<_0x38b125['length'];_0x49c99f++){if('elementStart'===_0x38b125[_0x49c99f]['type'])_0x38b125[_0x49c99f]['item']['startIndex']=_0x49c99f;else{if('elementEnd'===_0x38b125[_0x49c99f]['type']){_0x38b125[_0x49c99f]['item']['endIndex']=_0x49c99f;const _0x14e218=_0x38b125[_0x49c99f]['item']['startIndex'];_0x38b125[_0x14e218]['pairId']=_0x38b125[_0x49c99f]['id'],_0x38b125[_0x49c99f]['pairId']=_0x38b125[_0x14e218]['id'];}else _0x38b125[_0x49c99f]['item']['startIndex']=_0x49c99f,_0x38b125[_0x49c99f]['item']['endIndex']=_0x49c99f,_0x38b125[_0x49c99f]['pairId']=null;}_0x38b125[_0x49c99f]['markersStart']||(_0x38b125[_0x49c99f]['markersStart']=[],_0x38b125[_0x49c99f]['markersEnd']=[]);}}['_markInsertions'](_0x2321e9,_0x1eaebc){const _0xc9deb8=_0x2321e9['filter'](_0x2c8e6b=>!_0x2c8e6b['isAdded']);for(let _0x5adba8=0x0;_0x5adba8<_0x1eaebc['length'];_0x5adba8++)_0x1eaebc[_0x5adba8]['isAdded']&&(_0xc9deb8[_0x5adba8]['isAdded']=_0x1eaebc[_0x5adba8]['isAdded']);}['_makeModelFromViewString'](_0xf4ee3a){const _0x5767b1=JSON['parse'](_0xf4ee3a),_0x5f1ad4=this['editor']['editing']['view']['document'],_0x2c0cb8=new _0x1805e0(_0x5f1ad4,_0x5767b1['map'](_0x4fb354=>this['_getViewObj'](_0x4fb354)));return this['editor']['data']['toModel'](_0x2c0cb8);}['_getViewObj'](_0x339f63){const _0x5a625e=this['editor']['editing']['view']['document'];if('string'==typeof _0x339f63)return new _0x3b05bc(_0x5a625e,_0x339f63);{const _0x1cb229=_0x339f63['children']['map'](_0x3a5924=>this['_getViewObj'](_0x3a5924));return new(tt[_0x339f63['type']]||_0x5ae513)(_0x5a625e,_0x339f63['name'],_0x339f63['attributes'],_0x1cb229);}}['_getDiff'](_0x220532,_0x15f41c=null){const _0x440267=this['repository']['getRevision'](_0x220532),_0x37ba6c=_0x15f41c?this['repository']['getRevision'](_0x15f41c):null,_0x23a31a=this['_getRevisionsRange'](_0x440267,_0x37ba6c),_0x409fcc=_0x23a31a[_0x23a31a['length']-0x1],_0x442542=new Map(),_0xc6923c={'model':{},'attributes':{},'changes':[]},_0x2a65f4=new Set(),_0x2ed3f2=new Map();for(let _0x5dc06a=_0x23a31a['length']-0x1;_0x5dc06a>=0x0;_0x5dc06a--){const _0x2a47d1=_0x23a31a[_0x5dc06a];for(const _0x146ce0 of Object['keys'](_0x2a47d1['diffData']))if(_0x2a47d1['diffData'][_0x146ce0]['attachChange']){const _0x5707c3=_0x2a47d1['diffData'][_0x146ce0]['attachChange'];_0x5707c3['isAttached']?(_0x2a65f4['add'](_0x146ce0),_0x2ed3f2['has'](_0x146ce0)&&_0x2ed3f2['get'](_0x146ce0)['userId']==_0x5707c3['userId']?_0x2ed3f2['delete'](_0x146ce0):_0x2ed3f2['set'](_0x146ce0,_0x5707c3)):_0x2ed3f2['has'](_0x146ce0)?(_0x2a65f4['delete'](_0x146ce0),_0x2ed3f2['delete'](_0x146ce0)):(_0x2a65f4['add'](_0x146ce0),_0x2ed3f2['set'](_0x146ce0,_0x5707c3));}else _0x2a65f4['add'](_0x146ce0);}for(const _0x2c8de3 of _0x2a65f4){const _0x596b3d=_0x2ed3f2['has'](_0x2c8de3)&&!_0x2ed3f2['get'](_0x2c8de3)['isAttached'];let _0xfc2fa5=_0x596b3d?_0x23a31a['length']-0x1:0x0;const _0x597902=_0x596b3d?-0x1:0x1;for(;_0x23a31a[_0xfc2fa5];){const _0x405dcc=_0x23a31a[_0xfc2fa5];if(_0x405dcc['diffData'][_0x2c8de3]){const _0x2990f1=_0x596b3d?_0x405dcc['diffData'][_0x2c8de3]['attributesBefore']:_0x405dcc['diffData'][_0x2c8de3]['attributesAfter'];_0xc6923c['attributes'][_0x2c8de3]=_0x2990f1?_0x347564(_0x2990f1):{};break;}_0xfc2fa5+=_0x597902;}}for(const _0x364dca of _0x23a31a){_0x364dca['model']={};for(const _0xaacfff of _0x364dca['authors'])_0x442542['set'](_0xaacfff['id'],_0xaacfff);for(const _0x15e619 of _0x2a65f4){const _0x41f879=_0x364dca['diffData'][_0x15e619]?_0x364dca['diffData'][_0x15e619]['insertions']:'[]',_0x4bbd56=_0x364dca['diffData'][_0x15e619]?_0x364dca['diffData'][_0x15e619]['deletions']:'[]';_0x364dca['model'][_0x15e619]={'insertions':this['_makeModelFromViewString'](_0x41f879),'deletions':this['_makeModelFromViewString'](_0x4bbd56)};}}for(const _0x15fac2 of _0x2a65f4){let _0x4c6f4b=null,_0x388f4c=0x0;const _0x1d65da=new Map(Array['from'](_0x440267['model'][_0x15fac2]['insertions']['markers'])['filter'](([_0x30aeb7])=>!_0x30aeb7['startsWith']('revision:')));let _0x5eafe6=0x0;for(const _0x5a17a6 of _0x23a31a){const _0x2db0c6=this['_makeTape'](_0x5a17a6['model'][_0x15fac2]['insertions']);_0x5a17a6==_0x440267?(_0x4c6f4b=_0x2db0c6,_0x388f4c=_0x4c6f4b['length'],_0x4c6f4b['forEach'](_0x492dca=>{_0x492dca['id']=_0x5eafe6++;}),this['_processTape'](_0x4c6f4b)):this['_markInsertions'](_0x4c6f4b,_0x2db0c6);const _0x35210f=_0x4c6f4b['filter'](_0x142325=>!_0x142325['isAdded'])['map'](_0x35d5e3=>_0x35d5e3['id']);let _0x1aa7a6=0x0;const _0x5f3f69=this['_makeTape'](_0x5a17a6['model'][_0x15fac2]['deletions']);_0x5f3f69['forEach'](_0x2b77dc=>{_0x2b77dc['isRemoved']?_0x2b77dc['id']=_0x388f4c++:_0x2b77dc['id']=_0x35210f[_0x1aa7a6++];}),this['_processTape'](_0x5f3f69),this['_setDistance'](_0x4c6f4b,'isAdded'),this['_setDistance'](_0x5f3f69,'isRemoved'),_0x5a17a6==_0x440267&&this['_markMarkers'](_0x4c6f4b,_0x1d65da),_0x4c6f4b=this['_joinTapes'](_0x4c6f4b,_0x5f3f69),this['_refreshStartEndIndex'](_0x4c6f4b),this['_setDistance'](_0x4c6f4b,'isRemoved');}_0x4c6f4b=_0x4c6f4b['filter'](_0x111cfb=>!(_0x111cfb['isAdded']&&_0x111cfb['isRemoved']));const _0x242dfb=new Map(_0x409fcc['model'][_0x15fac2]['deletions']['markers']),_0x59217c=new Set(_0x1d65da['keys']());for(const _0x47407c of _0x242dfb['keys']())_0x59217c['delete'](_0x47407c);this['_markSuggestions'](_0x4c6f4b,_0x59217c),this['_fixObsoleteTags'](_0x4c6f4b),_0x4c6f4b=this['_removeMissingPairs'](_0x4c6f4b),_0x4c6f4b=this['_markMismatchedRemovedTags'](_0x4c6f4b),_0x4c6f4b=this['_removeUnsupportedChanges'](_0x4c6f4b);const {root:_0xa6336a,changes:_0x17d64a}=this['_makeModelFromTape'](_0x4c6f4b,_0x442542,_0x15fac2);_0xc6923c['model'][_0x15fac2]=_0xa6336a;const _0xf60c83=_0x2ed3f2['get'](_0x15fac2);if(_0xf60c83){const _0x344169=_0x442542['get'](_0xf60c83['userId']),_0x2672ac=new r({'author':_0x344169,'type':_0xf60c83['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x15fac2});_0x17d64a['unshift'](_0x2672ac),_0xc6923c['attributes'][_0x15fac2]['revisionHistoryAttachChange']=_0x2672ac['id'];}_0xc6923c['changes']=_0xc6923c['changes']['concat'](_0x17d64a);}return _0xc6923c;}['_markMarkers'](_0x59ac95,_0x27ec21){for(let _0x4c25d4=0x0;_0x4c25d4<_0x59ac95['length'];_0x4c25d4++)for(const [_0x4932f9,_0x3362ef]of _0x27ec21)_0x3362ef['start']['isEqual'](_0x59ac95[_0x4c25d4]['previousPosition'])&&_0x59ac95[_0x4c25d4]['markersStart']['push'](_0x4932f9),_0x3362ef['end']['isEqual'](_0x59ac95[_0x4c25d4]['nextPosition'])&&_0x59ac95[_0x4c25d4]['markersEnd']['push'](_0x4932f9);}['_joinTapes'](_0x45be9e,_0x248d97){let _0x373bec=[],_0x768bbb=0x0,_0x54010d=0x0;for(;_0x768bbb<_0x45be9e['length']||_0x54010d<_0x248d97['length'];){const _0x4da554=_0x45be9e[_0x768bbb]||{},_0x43eea0=_0x248d97[_0x54010d]||{};if(_0x4da554['id']==_0x43eea0['id'])_0x768bbb++,_0x54010d++,_0x373bec['push'](_0x4da554);else{if(_0x43eea0['isRemoved']&&_0x4da554['isAdded']){const {commonTape:_0x4b0a28,iEnd:_0x165a4e,jEnd:_0x4b40c7}=this['_threeWayMerge'](_0x45be9e,_0x768bbb,_0x248d97,_0x54010d);_0x373bec=_0x373bec['concat'](_0x4b0a28),_0x768bbb=_0x165a4e,_0x54010d=_0x4b40c7;}else _0x43eea0['isRemoved']?(_0x54010d++,_0x373bec['push'](_0x43eea0)):(_0x768bbb++,_0x373bec['push'](_0x4da554));}}return _0x373bec;}['_markSuggestions'](_0x240d7b,_0x3bd496){const _0x26439e=[];for(let _0x49733c=0x0;_0x49733c<_0x240d7b['length'];_0x49733c++){for(let _0xf6b372=0x0;_0xf6b372<_0x240d7b[_0x49733c]['markersStart']['length'];_0xf6b372++){const _0x43398b=_0x240d7b[_0x49733c]['markersStart'][_0xf6b372];if(!_0x3bd496['has'](_0x43398b))continue;const {group:_0x6ecbbd,type:_0x35d6f8,authorId:_0x249647}=_0x2c2256(_0x43398b);'revision-suggestion'!=_0x6ecbbd||'insertion'!=_0x35d6f8&&'deletion'!=_0x35d6f8||(_0x26439e['unshift']({'type':_0x35d6f8,'name':_0x43398b,'userId':_0x249647}),_0x240d7b[_0x49733c]['markersStart']['splice'](_0xf6b372,0x1),_0xf6b372--);}_0x3050d9(_0x240d7b[_0x49733c]);for(let _0x231ecc=0x0;_0x231ecc<_0x240d7b[_0x49733c]['markersEnd']['length'];_0x231ecc++){const _0x53af6c=_0x240d7b[_0x49733c]['markersEnd'][_0x231ecc];if(!_0x3bd496['has'](_0x53af6c))continue;const {group:_0x5467c3,type:_0x4042fa}=_0x2c2256(_0x53af6c);if('revision-suggestion'!=_0x5467c3||'insertion'!=_0x4042fa&&'deletion'!=_0x4042fa)continue;_0x240d7b[_0x49733c]['markersEnd']['splice'](_0x231ecc,0x1),_0x231ecc--;const _0x1747c1=_0x26439e['findIndex'](_0x44eb41=>_0x44eb41['name']==_0x53af6c);_0x1747c1>-0x1&&_0x26439e['splice'](_0x1747c1,0x1);}}function _0x2c2256(_0x4bf820){const _0x461543=_0x4bf820['split'](':');return{'group':_0x461543[0x0],'type':_0x461543[0x1],'subType':_0x461543['length']>=0x5?_0x461543[0x2]:null,'id':_0x461543['length']<0x5?_0x461543[0x2]:_0x461543[0x3],'authorId':_0x461543['length']<0x5?_0x461543[0x3]:_0x461543[0x4],'markerCount':0x6==_0x461543['length']?_0x461543[0x5]:null};}function _0x3050d9(_0x5d57e6){for(let _0x35fc40=0x0;_0x35fc40<_0x26439e['length'];_0x35fc40++){if(_0x5d57e6['isAdded']&&'insertion'==_0x26439e[_0x35fc40]['type'])return _0x5d57e6['isAddSuggestion']=_0x26439e[_0x35fc40],void delete _0x5d57e6['isAdded'];if(!_0x5d57e6['isAdded']&&!_0x5d57e6['isRemoved']&&'deletion'==_0x26439e[_0x35fc40]['type'])return void(_0x5d57e6['isRemoveSuggestion']=_0x26439e[_0x35fc40]);}}}['_setDistance'](_0x5db201,_0x4800c6){let _0x264463=0x0,_0x17b410=!0x1;const _0x197dee=new Map();for(const _0x5e98eb of _0x5db201)_0x5e98eb[_0x4800c6]?_0x17b410&&(_0x264463++,_0x17b410=!0x1):(_0x264463++,_0x17b410=!0x0),_0x197dee['set'](_0x5e98eb['id'],_0x264463);for(let _0x5568a5=0x0;_0x5568a5<_0x5db201['length'];_0x5568a5++){if('isRemoved'==_0x4800c6&&_0x5db201[_0x5568a5]['isAdded']||'isAdded'==_0x4800c6&&_0x5db201[_0x5568a5]['isRemoved'])continue;if('text'==_0x5db201[_0x5568a5]['type']){_0x5db201[_0x5568a5]['distance']=0x0;continue;}const _0x1e77f3=_0x197dee['get'](_0x5db201[_0x5568a5]['pairId']),_0x3868b3=_0x197dee['get'](_0x5db201[_0x5568a5]['id']);_0x5db201[_0x5568a5]['distance']=_0x1e77f3-_0x3868b3;}}['_getRevisionsRange'](_0x178009,_0x870241,_0x44112c=!0x1){const _0x263ae7=[];let _0x519606=this['repository']['getIndex'](_0x178009),_0xa025ef=this['repository']['getIndex'](_0x870241);for(-0x1==_0xa025ef&&(_0xa025ef=this['repository']['_revisions']['length'],_0x44112c=!0x1);_0x519606<_0xa025ef;)_0x263ae7['push'](this['repository']['getRevision'](_0x519606)),_0x519606++;return _0x44112c&&_0x263ae7['push'](this['repository']['getRevision'](_0x519606)),_0x263ae7;}['_threeWayMerge'](_0x510cb2,_0x5d2c56,_0x3e7231,_0x60ebf6){const _0x1f35ec=this['editor']['model']['schema'];let _0x170fb1=_0x5d2c56;for(;_0x510cb2[_0x170fb1]&&_0x510cb2[_0x170fb1]['isAdded'];)_0x170fb1++;let _0x240695=_0x60ebf6;for(;_0x3e7231[_0x240695]&&_0x3e7231[_0x240695]['isRemoved'];)_0x240695++;_0x1823ec(_0x510cb2,_0x5d2c56,_0x170fb1),_0x1823ec(_0x3e7231,_0x60ebf6,_0x240695);const _0x2e2831=_0x3e7231['slice'](_0x60ebf6,_0x240695)['concat'](_0x510cb2['slice'](_0x5d2c56,_0x170fb1));return _0x2e2831['sort']((_0x4b86df,_0x31a37e)=>_0x4b86df['side']!=_0x31a37e['side']?_0x4b86df['side']-_0x31a37e['side']:_0x4b86df['level']!=_0x31a37e['level']?_0x4b86df['level']-_0x31a37e['level']:_0x4b86df['distance']!=_0x31a37e['distance']?_0x31a37e['distance']-_0x4b86df['distance']:!!_0x4b86df['isAdded']!=!!_0x31a37e['isAdded']?-0x1==_0x4b86df['side']||0x0==_0x4b86df['side']?_0x4b86df['isAdded']?-0x1:0x1:_0x4b86df['isAdded']?0x1:-0x1:_0x4b86df['index']-_0x31a37e['index']),{'commonTape':_0x2e2831,'iEnd':_0x170fb1,'jEnd':_0x240695};function _0x1823ec(_0xaf1c9d,_0x3c273e,_0x4bfac7){let _0x3fcf80=-0x1,_0x4fc732=Number['POSITIVE_INFINITY'],_0x1a48cd=!0x0;for(let _0x4a424a=_0x3c273e;_0x4a424a<_0x4bfac7;_0x4a424a++)if(_0x1f35ec['isInline'](_0xaf1c9d[_0x4a424a]['item'])||(_0x1a48cd=!0x1),_0xaf1c9d[_0x4a424a]['item']['startIndex']<_0x3c273e&&(_0x3fcf80=_0x4a424a),_0xaf1c9d[_0x4a424a]['item']['endIndex']>=_0x4bfac7){_0x4fc732=_0x4a424a;break;}_0x1a48cd&&(_0x3fcf80=_0x4bfac7-0x1);for(let _0x393024=_0x3c273e;_0x393024<_0x4bfac7;_0x393024++)_0xaf1c9d[_0x393024]['side']=_0x393024<=_0x3fcf80?-0x1:_0x393024<_0x4fc732?0x0:0x1,_0xaf1c9d[_0x393024]['index']=_0x393024;let _0x1bfb35=0x0;for(let _0x2cba03=_0x3c273e;_0x2cba03<=_0x3fcf80;_0x2cba03++)0x0==_0xaf1c9d[_0x2cba03]['distance']?_0xaf1c9d[_0x2cba03]['level']=_0x1bfb35:(_0x1bfb35++,_0xaf1c9d[_0x2cba03]['level']=_0x1bfb35,_0x1bfb35++);for(let _0x12bb6e=_0x3c273e;_0x12bb6e<_0x4bfac7;_0x12bb6e++)0x0==_0xaf1c9d[_0x12bb6e]['side']&&(_0xaf1c9d[_0x12bb6e]['level']=_0x1bfb35);_0x1bfb35=0x0;for(let _0x50d865=_0x4bfac7-0x1;_0x50d865>=_0x4fc732;_0x50d865--)0x0==_0xaf1c9d[_0x50d865]['distance']?_0xaf1c9d[_0x50d865]['level']=_0x1bfb35:(_0x1bfb35--,_0xaf1c9d[_0x50d865]['level']=_0x1bfb35,_0x1bfb35--);}}['_fixObsoleteTags'](_0x47e6ea){const _0x44905b=new Map(),_0xb8119c=this['editor']['model']['schema'];for(let _0x5467a6=0x1;_0x5467a6<_0x47e6ea['length'];_0x5467a6++){let _0x57031f,_0x269e8,_0x22811f;const _0x147c2a=_0x47e6ea[_0x5467a6],_0x32ff2b=_0x47e6ea[_0x5467a6-0x1];if('text'==_0x147c2a['type'])continue;if(_0x147c2a['type']!=_0x32ff2b['type'])continue;if(!_0xb8119c['isBlock'](_0x32ff2b['item'])||_0xb8119c['isLimit'](_0x32ff2b['item']))continue;if(!_0xb8119c['isBlock'](_0x147c2a['item'])||_0xb8119c['isLimit'](_0x147c2a['item']))continue;if((_0x47e6ea[_0x5467a6]['isAdded']||_0x47e6ea[_0x5467a6]['isAddSuggestion'])&&_0x47e6ea[_0x5467a6-0x1]['isRemoved'])_0x57031f=_0x47e6ea[_0x5467a6],_0x269e8=_0x47e6ea[_0x5467a6-0x1],_0x22811f=_0x5467a6-0x1;else{if(!_0x47e6ea[_0x5467a6]['isRemoved']||!_0x47e6ea[_0x5467a6-0x1]['isAdded']&&!_0x47e6ea[_0x5467a6-0x1]['isAddSuggestion'])continue;_0x57031f=_0x47e6ea[_0x5467a6-0x1],_0x269e8=_0x47e6ea[_0x5467a6],_0x22811f=_0x5467a6;}const _0x10c998=_0x57031f['level']==_0x269e8['level'],_0x3fdbc7=Math['abs'](_0x57031f['level'])<Math['abs'](_0x269e8['level'])&&0x0==_0x269e8['distance'];(_0x10c998||_0x3fdbc7)&&(_0x44905b['set'](_0x269e8['id'],_0x57031f['id']),_0x47e6ea['splice'](_0x22811f,0x1),_0x5467a6--,_0x57031f['isAdded']=!0x1);}for(let _0x48e219=0x0;_0x48e219<_0x47e6ea['length'];_0x48e219++)_0x44905b['has'](_0x47e6ea[_0x48e219]['pairId'])&&(_0x47e6ea[_0x48e219]['pairId']=_0x44905b['get'](_0x47e6ea[_0x48e219]['pairId']));}['_removeMissingPairs'](_0x1cea0b){const _0x2a32b8=new Set(_0x1cea0b['map'](_0x4fd113=>_0x4fd113['id']));for(let _0x53e3fe=0x0;_0x53e3fe<_0x1cea0b['length'];_0x53e3fe++)_0x2a32b8['has'](_0x1cea0b[_0x53e3fe]['pairId'])||0x0==_0x1cea0b[_0x53e3fe]['distance']||(_0x1cea0b[_0x53e3fe]['isIncorrect']=!0x0);return _0x1cea0b['filter'](_0x59facc=>!_0x59facc['isIncorrect']);}['_markMismatchedRemovedTags'](_0x406c89){const _0x52a703=new Set();for(let _0x555abc=0x0;_0x555abc<_0x406c89['length'];_0x555abc++){if(_0x52a703['has'](_0x406c89[_0x555abc]['id'])&&_0x406c89[_0x555abc]['isRemoved']&&(_0x406c89[_0x555abc]['isIncorrect']=!0x0),_0x406c89[_0x555abc]['isIncorrect'])continue;if(0x0==_0x406c89[_0x555abc]['distance'])continue;if('elementStart'!=_0x406c89[_0x555abc]['type'])continue;if(null==_0x406c89[_0x555abc]['pairId'])continue;let _0x153d6c=_0x555abc+0x1,_0x3fef98=0x0;for(;_0x406c89[_0x153d6c]['id']!=_0x406c89[_0x555abc]['pairId'];)'elementStart'==_0x406c89[_0x153d6c]['type']?_0x3fef98++:'elementEnd'==_0x406c89[_0x153d6c]['type']&&_0x3fef98--,_0x153d6c++;if(0x0!=_0x3fef98){if(_0x406c89[_0x555abc]['isRemoved'])_0x406c89[_0x555abc]['isIncorrect']=!0x0;else{for(;_0x153d6c!=_0x555abc;)_0x406c89[_0x153d6c]['isRemoved']&&0x0!=_0x406c89[_0x153d6c]['distance']&&(_0x406c89[_0x153d6c]['isIncorrect']=!0x0,_0x52a703['add'](_0x406c89[_0x153d6c]['pairId'])),_0x153d6c--;}}}return _0x406c89['filter'](_0x329235=>!_0x329235['isIncorrect']);}['_removeUnsupportedChanges'](_0x53c189){const _0x592e04=this['editor']['model']['schema'];for(let _0x44d09d=0x0;_0x44d09d<_0x53c189['length'];_0x44d09d++){if(!(_0x53c189[_0x44d09d]['isAdded']||_0x53c189[_0x44d09d]['isAddSuggestion']||_0x53c189[_0x44d09d]['isRemoved']||_0x53c189[_0x44d09d]['isRemoveSuggestion']))continue;if(0x0==_0x53c189[_0x44d09d]['distance'])continue;const _0x5dbc3f=_0x53c189[_0x44d09d]['item'];_0x592e04['isBlock'](_0x5dbc3f)||_0x592e04['isLimit'](_0x5dbc3f)||(_0x53c189[_0x44d09d]['isAdded']&&delete _0x53c189[_0x44d09d]['isAdded'],_0x53c189[_0x44d09d]['isAddSuggestion']&&delete _0x53c189[_0x44d09d]['isAddSuggestion'],_0x53c189[_0x44d09d]['isRemoveSuggestion']&&delete _0x53c189[_0x44d09d]['isRemoveSuggestion'],_0x53c189[_0x44d09d]['isRemoved']&&(_0x53c189[_0x44d09d]['isIncorrect']=!0x0));}return _0x53c189['filter'](_0x372374=>!_0x372374['isIncorrect']);}['_makeModelFromTape'](_0x58139b,_0x5902c2,_0x185a44){const _0x891096=new wt(),_0x22f8bb=[],_0x39729d=new Map(),_0x36f922=this['editor']['model'],_0x3fe41b=_0x36f922['schema'],_0x412ba9=[_0x891096],_0x32bd6b={},_0x366074={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xfa4917=null;const _0x138c8d=[0x0];for(let _0x204d60=0x0;_0x204d60<_0x58139b['length'];_0x204d60++){let _0x5f5547,_0x486e13;if('elementStart'===_0x58139b[_0x204d60]['type']){_0x5f5547=_0x36f922['createPositionFromPath'](_0x891096,_0x138c8d);const _0x18505a=new ft(_0x58139b[_0x204d60]['item']['name'],_0x58139b[_0x204d60]['item']['getAttributes']());_0x412ba9[0x0]['_appendChild'](_0x18505a),_0x138c8d['push'](0x0),_0x412ba9['unshift'](_0x18505a),_0x486e13=_0x36f922['createPositionFromPath'](_0x891096,_0x138c8d),_0xfa4917=null;}else{if('elementEnd'===_0x58139b[_0x204d60]['type'])_0x412ba9['shift'](),_0x5f5547=_0x36f922['createPositionFromPath'](_0x891096,_0x138c8d),_0x138c8d['pop'](),_0x138c8d[_0x138c8d['length']-0x1]++,_0x486e13=_0x36f922['createPositionFromPath'](_0x891096,_0x138c8d),_0xfa4917=null;else{if(_0x5f5547=_0x36f922['createPositionFromPath'](_0x891096,_0x138c8d),_0xfa4917&&_0x3254de(_0xfa4917,_0x58139b[_0x204d60]['item']))_0xfa4917['_data']+=_0x58139b[_0x204d60]['item']['data'];else{const _0x191436=new _t(_0x58139b[_0x204d60]['item']['data'],_0x58139b[_0x204d60]['item']['getAttributes']());_0x412ba9[0x0]['_appendChild'](_0x191436),_0xfa4917=_0x191436;}_0x138c8d[_0x138c8d['length']-0x1]+=_0x58139b[_0x204d60]['item']['offsetSize'],_0x486e13=_0x36f922['createPositionFromPath'](_0x891096,_0x138c8d);}}for(const _0x3b099d of _0x58139b[_0x204d60]['markersStart'])_0x39729d['set'](_0x3b099d,{'start':_0x5f5547,'end':null});_0x352e04('isRemoveSuggestion',_0x204d60,_0x5f5547,_0x486e13),_0x352e04('isAddSuggestion',_0x204d60,_0x5f5547,_0x486e13),_0x352e04('isRemoved',_0x204d60,_0x5f5547,_0x486e13),_0x352e04('isAdded',_0x204d60,_0x5f5547,_0x486e13);for(const _0x40b9eb of _0x58139b[_0x204d60]['markersEnd']){_0x39729d['get'](_0x40b9eb)['end']=_0x486e13;}}for(const [_0x2c7efd,_0x2e734c]of _0x39729d){const _0x56cea1=this['editor']['model']['createRange'](_0x2e734c['start'],_0x2e734c['end']);_0x891096['markers']['set'](_0x2c7efd,_0x56cea1);}return _0x22f8bb['sort']((_0x4c2b57,_0x59abff)=>{const _0x32ec76=_0x891096['markers']['get']('revision:'+_0x4c2b57['id']),_0x3e9023=_0x891096['markers']['get']('revision:'+_0x59abff['id']);return _0x32ec76['start']['isBefore'](_0x3e9023['start'])?-0x1:_0x32ec76['start']['isAfter'](_0x3e9023['start'])?0x1:_0x32ec76['end']['isBefore'](_0x3e9023['end'])?-0x1:_0x32ec76['end']['isAfter'](_0x3e9023['end'])?0x1:'add'===_0x4c2b57['type']?-0x1:0x1;}),{'root':_0x891096,'changes':_0x22f8bb};function _0x352e04(_0x396e8c,_0x783abd,_0x5a8c27,_0x1c57da){const _0x1ce72d=!!_0x58139b[_0x783abd][_0x396e8c],_0x173159=_0x1ce72d?_0x58139b[_0x783abd][_0x396e8c]['userId']:null,_0x4bd6d8=_0x783abd===_0x58139b['length']-0x1,_0x578934=_0x366074[_0x396e8c][0x0],_0x56cdc8=_0x3fe41b['isObject'](_0x58139b[_0x783abd]['item']);!_0x32bd6b[_0x396e8c]&&_0x1ce72d?_0x32bd6b[_0x396e8c]={'start':_0x5a8c27,'tapeItem':_0x58139b[_0x783abd],'userId':_0x173159,'type':_0x396e8c}:_0x32bd6b[_0x396e8c]&&!_0x1ce72d?(_0x32bd6b[_0x396e8c]['end']=_0x5a8c27,_0x34d1f5(_0x32bd6b[_0x396e8c]),_0x32bd6b[_0x396e8c]=null):_0x32bd6b[_0x396e8c]&&_0x1ce72d&&_0x32bd6b[_0x396e8c]['userId']!==_0x173159&&(_0x32bd6b[_0x396e8c]['end']=_0x5a8c27,_0x578934&&_0x578934['userId']===_0x32bd6b[_0x396e8c]['userId']||_0x34d1f5(_0x32bd6b[_0x396e8c]),_0x32bd6b[_0x396e8c]={'start':_0x5a8c27,'tapeItem':_0x58139b[_0x783abd],'userId':_0x173159,'type':_0x396e8c}),_0x32bd6b[_0x396e8c]&&_0x56cdc8&&('elementStart'!==_0x58139b[_0x783abd]['type']||_0x578934&&_0x578934['userId']===_0x173159||_0x366074[_0x396e8c]['unshift']({'userId':_0x173159,'object':_0x58139b[_0x783abd]['item'],'change':_0x32bd6b[_0x396e8c]}),'elementEnd'===_0x58139b[_0x783abd]['type']&&_0x578934&&_0x578934['object']===_0x58139b[_0x783abd]['item']&&(_0x366074[_0x396e8c]['shift'](),_0x32bd6b[_0x396e8c]=_0x578934['change'])),_0x32bd6b[_0x396e8c]&&_0x4bd6d8&&(_0x32bd6b[_0x396e8c]['end']=_0x1c57da,_0x34d1f5(_0x32bd6b[_0x396e8c]),_0x32bd6b[_0x396e8c]=null);}function _0x34d1f5({start:_0x2813db,end:_0x3f1162,tapeItem:_0x336c41,userId:_0x52ffe3,type:_0x1e1144}){const _0x319049=_0x336c41['item'],_0x4acc22=_0x36f922['schema']['isBlock'](_0x319049)&&!_0x36f922['schema']['isLimit'](_0x319049),_0x4410ec=_0x2813db['nodeAfter']==_0x3f1162['parent']&&_0x3f1162['isAtStart'];if(_0x4acc22&&_0x4410ec)return;const _0x377752=_0x36f922['createRange'](_0x2813db,_0x3f1162),_0x1f247d=_0x5902c2['get'](_0x52ffe3),_0x5f0e15=new r({'author':_0x1f247d,'type':'isAdded'==_0x1e1144||'isAddSuggestion'==_0x1e1144?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1e1144||'isRemoveSuggestion'==_0x1e1144},'createdAt':new Date(),'rootName':_0x185a44});_0x22f8bb['push'](_0x5f0e15),_0x891096['markers']['set']('revision:'+_0x5f0e15['id'],_0x377752);}function _0x3254de(_0x166567,_0x19f3b6){const _0xb731ff=_0x166567['getAttributes'](),_0xff4b0e=_0x19f3b6['getAttributes']();for(const _0x5900c6 of _0xb731ff){if(_0x5900c6[0x1]!==_0x19f3b6['getAttribute'](_0x5900c6[0x0]))return!0x1;_0xff4b0e['next']();}return _0xff4b0e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1a8626=>{const _0x267a8a=_0x1a8626['markerName']['split'](':')[0x1],_0x4fcc23=this['_getChangeFromId'](_0x267a8a);if(!_0x4fcc23)return null;const _0x29b2fc='add'==_0x4fcc23['type']?'insertion':'deletion',_0x4cf9de=['ck-suggestion-marker','ck-suggestion-marker-'+_0x29b2fc];return _0x4fcc23['data']['isSuggestion']&&_0x4cf9de['push']('ck-suggestion-marker-'+_0x29b2fc+'-new'),this['activeChange']==_0x4fcc23&&_0x4cf9de['push']('ck-suggestion-marker--active'),{'classes':_0x4cf9de,'attributes':{'data-change-id':_0x267a8a}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xf8ab3e=>{_0xf8ab3e['on']('element:pre',(_0x21f5e4,_0x431a8f,_0x3cdc0b)=>{const _0x26f616=_0x431a8f['viewItem']['getChild'](0x0);if(!_0x26f616||!_0x26f616['is']('element','code'))return;if(!_0x3cdc0b['consumable']['consume'](_0x26f616,{'attributes':['vid_start','vid_end']}))return;const _0x2c0ec3=_0x431a8f['modelRange']['start']['nodeAfter'];_0x3cdc0b['writer']['setAttribute']('vid_start',_0x26f616['getAttribute']('vid_start'),_0x2c0ec3),_0x3cdc0b['writer']['setAttribute']('vid_end',_0x26f616['getAttribute']('vid_end'),_0x2c0ec3);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3f39b7=>{_0x3f39b7['on']('element',(_0x17a30f,_0x31493e,_0x3ff80f)=>{if(!_0x3ff80f['consumable']['consume'](_0x31493e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x31493e['modelRange']['isCollapsed'])return;const _0x3e94dc=_0x31493e['modelRange']['start']['nodeAfter'];_0x3e94dc['hasAttribute']('vid_start')||_0x3e94dc['hasAttribute']('vid')||(_0x3ff80f['writer']['setAttribute']('vid_start',_0x31493e['viewItem']['getAttribute']('vid_start'),_0x3e94dc),_0x3ff80f['writer']['setAttribute']('vid_end',_0x31493e['viewItem']['getAttribute']('vid_end'),_0x3e94dc));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x575076=>_0x575076['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4491c5,[,_0x4c183b])=>{['vid_start','vid_end','vid']['includes'](_0x4c183b)&&(_0x4491c5['return']=!0x0,_0x4491c5['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x34c59b=>{_0x34c59b['on']('attribute:vid',(_0x4410f7,_0x32e9ee,_0x4847bd)=>{if('\x20'!=_0x32e9ee['item']['data']||_0x32e9ee['item']['parent']['maxOffset']>0x1)return;if(!_0x4847bd['consumable']['consume'](_0x32e9ee['item'],_0x4410f7['name']))return;const _0x175ee4=_0x4847bd['writer'],_0x5dca91=_0x4847bd['mapper']['toViewRange'](_0x32e9ee['range']);_0x175ee4['wrap'](_0x5dca91,_0x175ee4['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x27bff8){const _0x57170c=_0x27bff8['plugins']['get']('RevisionViewer');return(_0x237206,_0x2f951,_0x2081aa)=>{const _0x429328=_0x2f951['markerName']['split'](':')[0x1],_0x2b2ec7=_0x57170c['_getChangeFromId'](_0x429328);if(!_0x2b2ec7)return null;const _0x46072f='add'==_0x2b2ec7['type']?'split':'merge';if(!_0x2081aa['consumable']['test'](_0x2f951['markerRange'],_0x237206['name']))return;const _0x5008f0=_0x2f951['markerRange']['getWalker'](),_0x1167fa=_0x2f951['markerRange']['start'],_0x28f285=_0x27bff8['model']['schema'];let _0x24e169=null,_0x34d449=null,_0x5a6f63=!0x1,_0x29f943=!0x1;for(const _0x57e438 of _0x5008f0){const _0x467762=_0x57e438['item'];_0x5a6f63=_0x5a6f63||_0x28f285['isContent'](_0x467762);const _0x49f481=_0x2081aa['mapper']['toViewElement'](_0x467762);if(_0x49f481&&_0x49f481['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x57e438['type']&&(_0x28f285['isBlock'](_0x467762)&&!_0x28f285['isLimit'](_0x467762)&&(_0x467762['nextSibling']||_0x1167fa['isAtEnd']?_0x24e169&&_0x24e169['parent']==_0x467762||(_0x24e169=_0x467762,_0x17bbab(_0x57e438['previousPosition']),_0x29f943=!0x0):_0x34d449=_0x34d449||_0x57e438['previousPosition']));}function _0x17bbab(_0x45acf3){const _0x4cd8dc=_0x2081aa['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x46072f}),_0x5b6ff3=_0x2081aa['mapper']['toViewPosition'](_0x45acf3);_0x2b2ec7['data']['isSuggestion']&&_0x2081aa['writer']['addClass']('ck-suggestion-marker-'+_0x46072f+'-new',_0x4cd8dc),_0x57170c['activeChange']==_0x2b2ec7&&_0x2081aa['writer']['addClass']('ck-suggestion-marker--active',_0x4cd8dc),_0x2081aa['writer']['insert'](_0x5b6ff3,_0x4cd8dc),_0x2081aa['mapper']['bindElementToMarker'](_0x4cd8dc,_0x2f951['markerName']);}_0x5a6f63||_0x29f943||!_0x34d449||_0x17bbab(_0x34d449);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1721d9,_0x1e0a0e,_0x36b6a7)=>{const _0xd45c26=_0x36b6a7['mapper']['markerNameToElements'](_0x1e0a0e['markerName']);if(_0xd45c26){for(const _0x176845 of _0xd45c26)(_0x176845['hasClass']('ck-suggestion-marker-split')||_0x176845['hasClass']('ck-suggestion-marker-merge'))&&(_0x36b6a7['mapper']['unbindElementFromMarkerName'](_0x176845,_0x1e0a0e['markerName']),_0x36b6a7['writer']['remove'](_0x176845));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x16685d,_0x45a9d6,_0x1a8931)=>{const _0xe1b55c=_0x45a9d6['markerName']['split'](':')[0x1],_0x5521ff=this['_getChangeFromId'](_0xe1b55c);if(!_0x5521ff)return null;const _0x12b3c4='add'==_0x5521ff['type']?'split':'merge';if(_0x1a8931['consumable']['test'](_0x45a9d6['markerRange'],_0x16685d['name']))for(const _0x2eb969 of _0x45a9d6['markerRange']['getItems']()){if(!_0x2eb969['is']('element','softBreak'))continue;const _0x485c15=_0x1a8931['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x12b3c4}),_0xa5ab42=_0x1a8931['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2eb969));_0x5521ff['data']['isSuggestion']&&_0x1a8931['writer']['addClass']('ck-suggestion-marker-'+_0x12b3c4+'-new',_0x485c15),this['activeChange']==_0x5521ff&&_0x1a8931['writer']['addClass']('ck-suggestion-marker--active',_0x485c15),_0x1a8931['writer']['insert'](_0xa5ab42,_0x485c15),_0x1a8931['mapper']['bindElementToMarker'](_0x485c15,_0x45a9d6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5c44e1=>{for(const _0x511803 of this['editor']['model']['document']['getRootNames']()){const _0x17ccc5=this['editor']['model']['document']['getRoot'](_0x511803),_0x4ed2b3=this['editor']['editing']['view']['document']['getRoot'](_0x511803);if(_0x4ed2b3){const _0x2acf03=_0x17ccc5['getAttribute']('revisionHistoryAttachChange');if(_0x5c44e1['removeAttribute']('data-change-id',_0x4ed2b3),_0x5c44e1['removeClass']('ck-revision-history-root-add',_0x4ed2b3),_0x5c44e1['removeClass']('ck-revision-history-root-remove',_0x4ed2b3),_0x5c44e1['removeClass']('ck-revision-history-root--active',_0x4ed2b3),_0x2acf03){const _0x77f2b0=this['_getChangeFromId'](_0x2acf03);if(!_0x77f2b0)return null;_0x5c44e1['setAttribute']('data-change-id',_0x2acf03,_0x4ed2b3),_0x5c44e1['addClass']('ck-revision-history-root-'+_0x77f2b0['type'],_0x4ed2b3),this['activeChange']==_0x77f2b0&&_0x5c44e1['addClass']('ck-revision-history-root--active',_0x4ed2b3);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x535244=>'revision-comment:'+_0x535244,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xd9450=>'revision-suggestion:'+_0xd9450,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1d7969=>({'name':'suggestion:'+_0x1d7969,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x18e8b9=>{const _0x5ed2d6=_0x18e8b9['markerName']['split'](':')[0x1];return'insertion'!=_0x5ed2d6&&'deletion'!=_0x5ed2d6?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5ed2d6]};}}),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',(_0x1f3003,_0x11014a,_0x21d13c)=>{const _0x689b2d=_0x21d13c['mapper']['markerNameToElements'](_0x11014a['markerName']);if(_0x689b2d){for(const _0x32725a of _0x689b2d)_0x32725a['is']('uiElement')&&(_0x21d13c['mapper']['unbindElementFromMarkerName'](_0x32725a,_0x11014a['markerName']),_0x21d13c['writer']['remove'](_0x32725a));}},{'priority':'high'});}['_getChangeFromId'](_0x2fe81a){return this['_changeIdToChange']['get'](_0x2fe81a);}['_getViewForChange'](_0x320b08){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x320b08),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2ece17,_0x26667e,_0xac4431,_0x32d653)=>{_0x32d653&&this['_balloon']['remove'](_0x32d653),_0xac4431&&(this['_balloon']['add']({'view':_0xac4431,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x397089=this['editor']['editing'],_0x55c9af=this['_getChangeFromId'](_0xac4431['changeId']);let _0x3875aa;if(_0x55c9af['data']['isOnRoot']){const _0x2a2aa7=_0x397089['view']['getDomRoot'](_0x55c9af['rootName']);_0x3875aa=Array['from'](_0x2a2aa7['getClientRects']());}else{const _0x4ab18e=this['editor']['model']['markers']['get']('revision:'+_0xac4431['changeId']);_0x3875aa=Array['from'](_0x397089['mapper']['markerNameToElements'](_0x4ab18e['name']))['map'](_0x538981=>_0x397089['view']['domConverter']['mapViewToDom'](_0x538981))['map'](_0x194c57=>Array['from'](_0x194c57['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3875aa[0x0];return _0x3875aa['find'](_0x1b9730=>_0x1b9730['top']-0x3<=this['_activeViewTarget']['y']&&_0x1b9730['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1b9730['left']-0x3<=this['_activeViewTarget']['x']&&_0x1b9730['right']+0x3>=this['_activeViewTarget']['x'])||_0x3875aa[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x57cb9c,_0x3f111e,_0xeba7e5,_0xb31d37)=>{this['activeView']=_0xeba7e5?this['_getViewForChange'](_0xeba7e5):null,this['editor']['model']['change'](()=>{const _0x20d860=this['editor']['editing'];_0xb31d37&&(_0xb31d37['data']['isOnRoot']?_0x20d860['view']['change'](_0x1287d4=>{_0x1287d4['removeClass']('ck-revision-history-root--active',_0x20d860['view']['document']['getRoot'](_0xb31d37['rootName']));}):_0x20d860['reconvertMarker']('revision:'+_0xb31d37['id'])),_0xeba7e5&&(_0xeba7e5['data']['isOnRoot']?_0x20d860['view']['change'](_0x4613df=>{_0x4613df['addClass']('ck-revision-history-root--active',_0x20d860['view']['document']['getRoot'](_0xeba7e5['rootName']));}):_0x20d860['reconvertMarker']('revision:'+_0xeba7e5['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4969fa,_0x38d758)=>{if(this['activeChange'])return;const _0x4483dc=this['_findChangeIdFromDomTarget'](_0x38d758['target']),_0x135742=this['_changeIdToChange']['get'](_0x4483dc);_0x135742?(this['_activeViewTarget']={'x':_0x38d758['domEvent']['x'],'y':_0x38d758['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x135742)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x473c1d,_0x2d3446)=>{const _0x11331e=this['_findChangeIdFromDomTarget'](_0x2d3446['target']),_0x249617=this['_changeIdToChange']['get'](_0x11331e);_0x249617?(this['_activeViewTarget']={'x':_0x2d3446['domEvent']['x'],'y':_0x2d3446['domEvent']['y']},_0x249617===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x249617):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x123b66){do{const _0x29cb28=_0x123b66['getAttribute']('data-change-id');if(_0x29cb28)return _0x29cb28;_0x123b66=_0x123b66['parent'];}while(_0x123b66);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4306c3=>{for(const _0x382bc4 of this['editor']['model']['markers'])_0x4306c3['removeMarker'](_0x382bc4);});}}function et(_0x56ef03,_0x512e93){return(_0x397796,_0x589c71,_0x34eae2)=>{if(!_0x34eae2['consumable']['test'](_0x589c71['markerRange'],_0x397796['name']))return;const _0x3fdd7d=_0x589c71['markerRange']['getWalker'](),_0x462496=_0x589c71['markerRange']['start'],_0xcc2aab=_0x56ef03['model']['schema'];let _0x455882=null,_0x19993f=null,_0x395472=!0x1,_0x55bc2d=!0x1;for(const _0x408fce of _0x3fdd7d){const _0x3c9c03=_0x408fce['item'];_0x395472=_0x395472||_0xcc2aab['isContent'](_0x3c9c03);const _0x357757=_0x34eae2['mapper']['toViewElement'](_0x3c9c03);if(_0x357757&&_0x357757['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x408fce['type']&&(_0xcc2aab['isBlock'](_0x3c9c03)&&!_0xcc2aab['isLimit'](_0x3c9c03)&&(_0x3c9c03['nextSibling']||_0x462496['isAtEnd']?_0x455882&&_0x455882['parent']==_0x3c9c03||(_0x455882=_0x3c9c03,_0x57fe5e(_0x408fce['previousPosition']),_0x55bc2d=!0x0):_0x19993f=_0x19993f||_0x408fce['previousPosition']));}function _0x57fe5e(_0x539a75){const _0x3ef9e4=_0x34eae2['mapper']['toViewPosition'](_0x539a75),_0x46c4af=_0x34eae2['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x512e93});_0x34eae2['writer']['insert'](_0x3ef9e4,_0x46c4af),_0x34eae2['mapper']['bindElementToMarker'](_0x46c4af,_0x589c71['markerName']);}_0x395472||_0x55bc2d||!_0x19993f||_0x57fe5e(_0x19993f);};}class bt extends _0x5bebe5{constructor(_0x3f857b){super(_0x3f857b);const _0xefa0f5=_0x3f857b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xefa0f5,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xefa0f5,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x27122b=this['editor'],_0x330159=_0x27122b['plugins']['get'](d),_0x28cade=_0x330159['isReady']?_0x330159['diff']['newRevisionId']:null;_0x27122b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x28cade);}['refresh'](){const {isReady:_0x10fdec,isEnabled:_0x236261}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x10fdec&&_0x236261;}}class yt extends _0x5bebe5{['_step'];constructor(_0x33aaa2,{direction:_0x1e485f}){super(_0x33aaa2);const _0x2db206=_0x33aaa2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1e485f?0x1:-0x1,this['listenTo'](_0x2db206,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2db206,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2db206,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3f3b84=this['editor'],_0x861280=_0x3f3b84['plugins']['get'](d),{isNavigationMode:_0x1c1f23,currentChangeNumber:_0xeeae84}=_0x861280;let _0x39d9d1;if(_0x861280['activeChange']=_0x1c1f23?_0x861280['diff']['changes']['get'](_0xeeae84+this['_step']):_0x861280['diff']['changes']['first'],_0x861280['activeChange']['data']['isOnRoot'])_0x39d9d1=_0x3f3b84['editing']['view']['getDomRoot'](_0x861280['activeChange']['rootName']);else{const _0x1cc684=_0x3f3b84['model']['markers']['get']('revision:'+_0x861280['activeChange']['id']);_0x39d9d1=_0x4c6b37(_0x3f3b84['editing'],_0x1cc684);}_0x245910({'target':_0x39d9d1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3e696b,currentChangeNumber:_0x5cac7f,numberOfChanges:_0x741a04,isReady:_0x46e980,isEnabled:_0x20f091}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x20f091&&_0x46e980&&_0x741a04)&&(!_0x3e696b||(0x1===this['_step']?_0x5cac7f<_0x741a04-0x1:_0x5cac7f>0x0));}}class _i extends _0x9e7c5d{constructor(_0x30b647){super(_0x30b647);const _0x38bdf3=this['bindTemplate'],_0x18be8a=new _0x521f2d(_0x30b647),_0xb641cb=new _0x521f2d(_0x30b647);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',(_0x477314,_0x35e7c5)=>_0x477314&&_0x35e7c5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1c97bc,_0x2fd9e9,_0x5533c4,_0x2d254a)=>{if(!_0x1c97bc)return y(_0x30b647,'Loading...');if(!_0x5533c4)return y(_0x30b647,'No\x20changes');const _0x25acde=y(_0x30b647,'NUMBER_OF_CHANGES',_0x5533c4);return _0x2d254a?y(_0x30b647,'X_OF_Y_CHANGES',[_0x2fd9e9+0x1,_0x5533c4]):_0x25acde;}),_0x18be8a['set']({'label':y(_0x30b647,'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'}),_0xb641cb['set']({'label':y(_0x30b647,'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'}),_0x18be8a['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xb641cb['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x18be8a['on']('execute',()=>this['fire']('execute','backward')),_0xb641cb['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',_0x38bdf3['if']('_isStatusLabelVisible','ck-hidden',_0x44e32a=>!_0x44e32a)]},'children':[{'text':_0x38bdf3['to']('isNavigationMode',_0x302158=>_0x302158?y(_0x30b647,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x30b647,'Total')+':\x20')}]},{'text':_0x38bdf3['to']('_statusText')}]},new _0x476f59(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x18be8a,_0xb641cb]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x461176{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x37177c=this['editor']['editing']['view'];_0x37177c['change'](_0x5f4540=>{for(const _0xa6a488 of _0x37177c['document']['roots'])_0x5f4540['addClass'](ce,_0xa6a488);});}['hide'](){const _0x42a600=this['editor']['editing']['view'];_0x42a600['change'](_0x2c00d9=>{for(const _0x114914 of _0x42a600['document']['roots'])_0x2c00d9['removeClass'](ce,_0x114914);});}}class R extends _0x461176{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x258aef=this['editor'],_0x3f057f=_0x258aef['plugins']['get'](d),_0x2f3ffa=_0x258aef['plugins']['get'](de);_0x258aef['ui']['componentFactory']['add']('exitToEditing',_0x142d9b=>{const _0x36af8d=new _0x521f2d(_0x142d9b);return _0x36af8d['set']({'label':y(_0x142d9b,'Back\x20to\x20editing'),'icon':_0x405582['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x36af8d,'execute',()=>{_0x258aef['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x36af8d;}),_0x258aef['ui']['componentFactory']['add']('restoreRevision',_0x4c35e9=>{const _0xf36c44=new _0x521f2d(_0x4c35e9);return _0xf36c44['set']({'label':y(_0x4c35e9,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xf36c44['bind']('isEnabled')['to'](_0x258aef['commands']['get']('restoreRevision')),this['listenTo'](_0xf36c44,'execute',()=>_0x258aef['execute']('restoreRevision')),_0xf36c44;}),_0x258aef['ui']['componentFactory']['add']('changesNavigation',_0x19b94e=>{const _0x3ae41f=new _i(_0x19b94e),_0x3e6c17=_0x258aef['commands']['get']('showPreviousChange'),_0x2700d0=_0x258aef['commands']['get']('showNextChange');return _0x3ae41f['bind']('isBackwardNavigationEnabled')['to'](_0x3e6c17,'isEnabled'),_0x3ae41f['bind']('isForwardNavigationEnabled')['to'](_0x2700d0,'isEnabled'),_0x3ae41f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3f057f),this['listenTo'](_0x3ae41f,'execute',(_0x1916d3,_0x56a941)=>{_0x258aef['execute']('forward'===_0x56a941?'showNextChange':'showPreviousChange');}),_0x3ae41f;}),_0x2f3ffa['show'](),_0x3f057f['on']('change:isReady',(_0x1ca303,_0x1d4f05,_0x2438dc)=>{_0x2438dc?_0x2f3ffa['hide']():_0x2f3ffa['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3456c6,_0x281d2e){super(_0x3456c6,_0x281d2e);const _0x59fec1=this['bindTemplate'];this['set']({'label':y(_0x3456c6,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3456c6,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x59fec1['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 _0x5d19e7=this['fieldView']['element'];this['_tooltipString']=_0x5d19e7['scrollWidth']>_0x5d19e7['clientWidth']&&_0x5d19e7['value']||'';}}class ti extends _0x9e7c5d{constructor(_0x2ff3de,_0x24b002,_0x5c43e5){super(_0x2ff3de);const _0x3ca760=new _0x32caf7();_0x3ca760['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 _0x2856e7=['ck','ck-revision-history-sidebar__revision-author'];_0x5c43e5&&_0x2856e7['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2c6c42=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2ff3de,_0x5c43e5?'Revision\x20creator':'Revision\x20author')},'children':[_0x3ca760,_0x24b002['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2856e7},'children':_0x2c6c42});}}function ni(_0x465093,_0x3852da){const _0x17e82e=_0x465093['bindTemplate'],_0x5b4fb5=_0x465093['locale'],_0x58dec8=_0x2ffb5a(_0x5b4fb5);_0x58dec8['panelPosition']='sw';const _0x49911e=function(_0x1ebba6,_0x3f3e4c){const _0x127675=function(_0x5cddde,_0x52c770){const _0x1b2fbf=_0x5cddde['locale'],_0x4ba19e={'Compare\x20against\x20selected':y(_0x1b2fbf,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x1b2fbf,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x1b2fbf,'Restore\x20this\x20revision')};return _0x52c770['map'](_0xeaf4f3=>{const _0xab714e=_0x4ba19e[_0xeaf4f3['name']];return _0xab714e&&_0xab714e!==_0xeaf4f3['name']&&(_0xeaf4f3['name']=_0xab714e),_0xeaf4f3;});}(_0x1ebba6,_0x3f3e4c),_0x4cee3d=new _0x36186a();for(const _0x3ce2ed of _0x127675){const _0x3cc8d6={'type':'button','model':new to({'label':_0x3ce2ed['name'],'class':_0x3ce2ed['class'],'withText':!0x0,'role':'menuitem','_action':_0x3ce2ed['action']})};_0x3cc8d6['model']['bind']('isEnabled')['to'](_0x1ebba6,'isActionsDropdownOpen',_0x11dae9=>'function'!=typeof _0x3ce2ed['isEnabled']||(!_0x11dae9||_0x3ce2ed['isEnabled'](_0x1ebba6))),_0x4cee3d['add'](_0x3cc8d6);}return _0x4cee3d;}(_0x465093,_0x3852da);return _0x465093['bind']('isActionsDropdownOpen')['to'](_0x58dec8,'isOpen'),_0x58dec8['buttonView']['set']({'label':y(_0x5b4fb5,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x405582['threeVerticalDots']}),_0x58dec8['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x17e82e['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x17e82e['to'](_0x2dbc1d=>_0x2dbc1d['stopPropagation']())}}),_0x58dec8['on']('execute',_0x2c6ced=>{_0x465093['isReady']&&'function'==typeof _0x2c6ced['source']['_action']&&_0x2c6ced['source']['_action'](_0x465093);}),_0x52f662(_0x58dec8,_0x49911e,{'role':'menu'}),_0x58dec8['listenTo'](_0x465093,'change:isActionsDropdownOpen',(_0x53f527,_0x280a2c,_0x50fe40)=>{if(_0x50fe40)for(const _0x50ca48 of _0x58dec8['listView']['items']){const _0x543155=_0x50ca48['children']['first'],_0x15b9bc=_0x3852da['find'](_0x21ffdc=>_0x21ffdc['action']===_0x543155['_action'])['isVisible'];_0x50ca48['isVisible']=void 0x0===_0x15b9bc||_0x15b9bc(_0x465093);}}),_0x58dec8;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3f8c55(_0x9e7c5d){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x53f53c,_0xda9668,_0x32b1e8,_0x320b27){super(_0x53f53c);const _0x4e59e6=this['bindTemplate'],_0xf763c0=function(_0x5c779c,_0xd1fa1a){const _0x2ade21=Array['from'](_0xd1fa1a['authors'])['filter'](_0x10a3d1=>_0x10a3d1!=_0xd1fa1a['creator']);return _0xd1fa1a['creator']&&_0x2ade21['unshift'](_0xd1fa1a['creator']),_0x2ade21['map'](_0x3a8e33=>new ti(_0x5c779c,_0x3a8e33,_0x3a8e33==_0xd1fa1a['creator']));}(_0x53f53c,_0xda9668);this['id']=_0xda9668['id'],this['_revision']=_0xda9668,this['_requireRevisionName']=_0x320b27,this['bind']('name','createdAt')['to'](_0xda9668),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x122054=>{return _0x312c89=_0x53f53c['uiLanguage'],(_0x4cf354=_0x122054)['toLocaleDateString'](_0x312c89,{'month':'long','day':'numeric'})+',\x20'+_0x4cf354['toLocaleTimeString'](_0x312c89,{'hour':'numeric','minute':'numeric'});var _0x312c89,_0x4cf354;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x53f53c,_0xccb8c9),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x28fb01=>_0x28fb01||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xfdc3fb,_0x2e74a3)=>_0xfdc3fb&&_0x2e74a3),this['revisionActionsView']=_0x32b1e8&&_0x32b1e8['length']?ni(this,_0x32b1e8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4e59e6['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4e59e6['if']('isEnabled','ck-disabled',_0x3f203a=>!_0x3f203a),_0x4e59e6['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4e59e6['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4e59e6['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':_0x4e59e6['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':_0xf763c0}]},this['revisionActionsView']],'on':{'click':_0x4e59e6['to'](_0x31db6a=>{_0x31db6a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4f172a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4f172a,'change',()=>{this['_requireRevisionName']&&!_0x4f172a['value']||this['fire']('setName',{'id':this['id'],'name':_0x4f172a['value']}),_0x4f172a['value']||(_0x4f172a['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(_0xa60bda,_0x36544a){const _0x43f123=_0x39cb34['fromJSDate'](_0xa60bda)['setLocale'](_0x36544a),_0x5020ae=_0x39cb34['local'](),_0x1146dd=_0x5020ae['minus']({'days':0x1})['startOf']('day');let _0x2be860,_0x15de80;return _0x43f123['hasSame'](_0x5020ae,'day')?(_0x2be860=_0x43f123['startOf']('day')['toJSDate'](),_0x15de80=_0x43f123['toRelativeCalendar']()):_0x43f123['hasSame'](_0x1146dd,'day')?(_0x2be860=_0x1146dd['toJSDate'](),_0x15de80=_0x43f123['toRelativeCalendar']()):_0x43f123['hasSame'](_0x5020ae,'week')?(_0x2be860=_0x43f123['startOf']('week')['toJSDate'](),_0x15de80=_0x43f123['weekdayLong']||''):_0x43f123['hasSame'](_0x5020ae,'year')?(_0x2be860=_0x43f123['startOf']('month')['toJSDate'](),_0x15de80=_0x43f123['monthLong']||''):(_0x2be860=_0x43f123['startOf']('year')['toJSDate'](),_0x15de80=String(_0x43f123['year'])),{'startDate':_0x2be860,'localizedPeriodName':_0x15de80};}class mi extends _0x9e7c5d{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x46e460,_0xfceb96,_0x240401,_0x395e2b){super(_0x46e460);const _0x4943e7=di(_0xfceb96,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xfceb96,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x240401,this['_requireRevisionName']=_0x395e2b,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':_0x4943e7}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x16005f){const _0xc38cb3=new ai(this['locale'],_0x16005f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0xc38cb3);}['removeRevision'](_0x1c04be){const _0x32cd4f=this['revisionViews']['find'](_0x4839fe=>_0x4839fe['id']===_0x1c04be['id']);this['revisionViews']['remove'](_0x32cd4f);}}class as extends _0x9e7c5d{constructor(_0x3b4db2){super(_0x3b4db2);const _0x39c117=new _0x32caf7();_0x39c117['content']=_0x405582['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x39c117,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3b4db2,'Revision\x20history')]}]});}}class ci extends _0x9e7c5d{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x24d36,_0x552ba1,_0x4510aa,_0x2938cf){super(_0x24d36);const _0x36a78f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x552ba1,this['_revisionActions']=_0x4510aa,this['_requireRevisionName']=_0x2938cf,this['on']('select',(_0x2f0946,_0x506abd)=>{this['fire']('revisionSelected',_0x506abd);}),this['on']('setName',(_0x4dd976,_0x3c77ac)=>{this['fire']('revisionSetName',_0x3c77ac);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x24d36),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x36a78f['if']('isEnabled','ck-disabled',_0x21c671=>!_0x21c671)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5cc6b2 of this['_revisions'])this['_addRevision'](_0x5cc6b2);this['_revisions']['on']('add',(_0x43daf5,_0x2b7a09)=>{this['_addRevision'](_0x2b7a09);}),this['_revisions']['on']('remove',(_0xed417f,_0x2b5fbd)=>{this['_removeRevision'](_0x2b5fbd);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xa7e8d6=>_0xa7e8d6['revisionViews']['map'](_0x282464=>_0x282464))['flat']();}['selectRevision'](_0x57c442){for(const _0x517a12 of this['revisionViews'])_0x57c442&&_0x57c442['id']===_0x517a12['id']?_0x517a12['select']():_0x517a12['deselect']();}['highlightRevisions'](_0x541f5b){for(const _0x1c13d9 of this['revisionViews'])_0x541f5b['some'](({id:_0x26b08a})=>_0x26b08a===_0x1c13d9['id'])?_0x1c13d9['highlight']():_0x1c13d9['unhighlight']();}['_addRevision'](_0x26b37c){const _0x244cbe=di(_0x26b37c['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5bddba=this['timePeriodViews']['get'](0x0);_0x5bddba&&_0x5bddba['startDate']['getTime']()===_0x244cbe['getTime']()||(_0x5bddba=new mi(this['locale'],_0x244cbe,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5bddba)),_0x5bddba['addRevision'](_0x26b37c);}['_removeRevision'](_0x365886){const _0x12efe5=di(_0x365886['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x12efe5)['removeRevision'](_0x365886);}['_getTimePeriodViewByStartDate'](_0x8fb567){return this['timePeriodViews']['find'](_0x549ee2=>_0x549ee2['startDate']['getTime']()===_0x8fb567['getTime']());}}class w extends _0x461176{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x43c7ea,Context as _0x42d723,PendingActions as _0x39a6f8,icons as _0x7774c5,Command as _0x5bd49d,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x464158,uid as _0x438eb8,Collection as _0x2812dc,logWarning as _0x1f50a0,FocusTracker as _0x3881a7,KeystrokeHandler as _0x5a7665,scrollViewportToShowTarget as _0x187c8d,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x249e0f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0xf9b505,getMarkerDomElement as _0x283c3d,ConfirmMixin as _0x27c2f4,sanitizeEditorConfig as _0x4514e3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5df9bc,ViewText as _0x4325e1,ViewElement as _0x1f3590,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x28d7fa,ViewAttributeElement as _0x21bab5,ViewEmptyElement as _0x1e2154,ViewRawElement as _0x2baa7e,ViewUIElement as _0x16707d,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xcb9185,set as _0x308665,unset as _0x48c978,isEqual as _0x4bc467}from'lodash-es';import{View as _0x56415b,injectCssTransitionDisabler as ts,submitHandler as _0x50c97a,LabeledFieldView as at,createLabeledInputText as _0x2369c7,createDropdown as _0x4877f3,ListView as te,ListItemView as _0x45adc8,ButtonView as _0x18a6b1,MenuBarMenuView as _0x35bbb0,MenuBarMenuListView as _0x1a6da0,MenuBarMenuListItemView as _0xf4d13a,MenuBarMenuListItemButtonView as _0x1308c3,ContextualBalloon as _0x3acc44,ToolbarSeparatorView as _0x3ef71b,IconView as _0x1303ec,addListToDropdown as _0x44cf33,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 _0x89e747}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x464158(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x84f97f){super(),this['id']=_0x84f97f['id']||_0x438eb8(),this['creator']=_0x84f97f['creator']||null,this['authors']=_0x84f97f['authors']||[],this['diffData']=_0x84f97f['diffData']||null,this['toVersion']=_0x84f97f['toVersion']||0x0,this['fromVersion']=_0x84f97f['fromVersion']||0x0,this['set']('name',_0x84f97f['name']||''),this['set']('createdAt',_0x84f97f['createdAt']||new Date()),this['set']('attributes',_0x84f97f['attributes']||{});}['setName'](_0x3ae808){this['_update']({'name':_0x3ae808});}['setAttribute'](_0x4d69eb,_0x3c6ba4){const _0x5367c4=_0xcb9185(this['attributes']);_0x308665(_0x5367c4,_0x4d69eb,_0x3c6ba4),this['_update']({'attributes':_0x5367c4});}['removeAttribute'](_0x1783c4){const _0x344fc0=_0xcb9185(this['attributes']);_0x48c978(_0x344fc0,_0x1783c4),this['_update']({'attributes':_0x344fc0});}['_update'](_0x3f1cc5,_0x4c0fe4=!0x1){let _0xbfb406=!0x1;const _0x22fdd8={'id':this['id']},_0x36320c=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3db2c4 of _0x36320c){const _0x3cda38=_0x3f1cc5[_0x3db2c4];void 0x0!==_0x3cda38&&_0x3cda38!==this[_0x3db2c4]&&(this[_0x3db2c4]=_0x3cda38,_0x22fdd8[_0x3db2c4]=_0x3cda38,_0xbfb406=!0x0);}_0xbfb406&&(_0x22fdd8['authors']&&(_0x22fdd8['authorsIds']=_0x22fdd8['authors']['map'](_0x2e806a=>_0x2e806a['id']),delete _0x22fdd8['authors']),this['fire']('_update',_0x22fdd8,_0x4c0fe4));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2e8441=>_0x2e8441['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x43c7ea{['_revisions'];static get['requires'](){return[_0xf9b505];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x525cda){super(_0x525cda),this['_revisions']=new _0x2812dc();}['afterInit'](){!function(_0x3b0e66){function _0x3d0dd7(_0x53ec36,_0x19fbf5,_0x712ed0){const _0xce830c={};_0xce830c[_0x2f8f5c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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],_0xce830c[_0x2f8f5c([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 _0x18fcf5=new Uint8Array(0x10);for(let _0x4b5741=0xf;_0x4b5741>=0x0;--_0x4b5741)_0x18fcf5[_0x4b5741]=_0x712ed0%0x100,_0x712ed0=parseInt(_0x712ed0/0x100);let _0x72e029=null,_0x2399b5=0x10;const _0xc9f0f1=new Uint8Array(_0x19fbf5),_0x53f016=[],_0x1e3884=[];_0xfa5b65();for(let _0x3c9726=0x0;_0x3c9726<_0x53ec36[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c9726++)0x10===_0x2399b5&&(_0x72e029=_0x3c1925(_0x18fcf5),_0x2399b5=0x0,_0x2b5b14(_0x18fcf5)),_0x53ec36[_0x3c9726]^=_0x72e029[_0x2399b5++];return _0x53ec36;function _0x5508a0(_0x564a2c){const _0x4254a1=[];for(let _0x1c57e2=0x0;_0x1c57e2<_0x564a2c[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c57e2+=0x4)_0x4254a1[_0x2f8f5c([0x70,0x75,0x73,0x68])](_0x564a2c[_0x1c57e2]<<0x18|_0x564a2c[_0x1c57e2+0x1]<<0x10|_0x564a2c[_0x1c57e2+0x2]<<0x8|_0x564a2c[_0x1c57e2+0x3]);return _0x4254a1;}function _0x2b5b14(_0x4f9cd9){for(let _0x4b75a0=0xf;_0x4b75a0>=0x0;_0x4b75a0--){if(0xff!==_0x4f9cd9[_0x4b75a0]){_0x4f9cd9[_0x4b75a0]++;break;}_0x4f9cd9[_0x4b75a0]=0x0;}}function _0x3c1925(_0x1cbb83){const _0x54a5cd=_0x53f016[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x455c91=[0x0,0x0,0x0,0x0];let t=_0x5508a0(_0x1cbb83);for(let _0x188bde=0x0;_0x188bde<0x4;_0x188bde++)t[_0x188bde]^=_0x53f016[0x0][_0x188bde];for(let _0x306462=0x1;_0x306462<_0x54a5cd;_0x306462++){for(let _0x19626c=0x0;_0x19626c<0x4;_0x19626c++)_0x455c91[_0x19626c]=_0xce830c[_0x2f8f5c([0x54,0x31])][t[_0x19626c]>>0x18&0xff]^_0xce830c[_0x2f8f5c([0x54,0x32])][t[(_0x19626c+0x1)%0x4]>>0x10&0xff]^_0xce830c[_0x2f8f5c([0x54,0x33])][t[(_0x19626c+0x2)%0x4]>>0x8&0xff]^_0xce830c[_0x2f8f5c([0x54,0x34])][0xff&t[(_0x19626c+0x3)%0x4]]^_0x53f016[_0x306462][_0x19626c];t=_0x455c91[_0x2f8f5c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1be55c=new Uint8Array(0x10);let _0x207721;for(let _0x59795f=0x0;_0x59795f<0x4;_0x59795f++)_0x207721=_0x53f016[_0x54a5cd][_0x59795f],_0x1be55c[0x4*_0x59795f]=0xff&(_0xce830c[_0x2f8f5c([0x53])][t[_0x59795f]>>0x18&0xff]^_0x207721>>0x18),_0x1be55c[0x4*_0x59795f+0x1]=0xff&(_0xce830c[_0x2f8f5c([0x53])][t[(_0x59795f+0x1)%0x4]>>0x10&0xff]^_0x207721>>0x10),_0x1be55c[0x4*_0x59795f+0x2]=0xff&(_0xce830c[_0x2f8f5c([0x53])][t[(_0x59795f+0x2)%0x4]>>0x8&0xff]^_0x207721>>0x8),_0x1be55c[0x4*_0x59795f+0x3]=0xff&(_0xce830c[_0x2f8f5c([0x53])][0xff&t[(_0x59795f+0x3)%0x4]]^_0x207721);return _0x1be55c;}function _0xfa5b65(){const _0x33c375=_0xce830c[_0x2f8f5c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xc9f0f1[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xf9241=0x0;_0xf9241<=_0x33c375;_0xf9241++)_0x53f016[_0x2f8f5c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1e3884[_0x2f8f5c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3dcd20=0x4*(_0x33c375+0x1),_0x23df80=_0xc9f0f1[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x210c33=_0x5508a0(_0xc9f0f1);let _0x1b941f;for(let _0xdeca1d=0x0;_0xdeca1d<_0x23df80;_0xdeca1d++)_0x1b941f=_0xdeca1d>>0x2,_0x53f016[_0x1b941f][_0xdeca1d%0x4]=_0x210c33[_0xdeca1d],_0x1e3884[_0x33c375-_0x1b941f][_0xdeca1d%0x4]=_0x210c33[_0xdeca1d];let _0x456ab2,_0x418d18=0x0,t=_0x23df80;for(;t<_0x3dcd20;){_0x456ab2=_0x210c33[_0x23df80-0x1],_0x210c33[0x0]^=_0xce830c[_0x2f8f5c([0x53])][_0x456ab2>>0x10&0xff]<<0x18^_0xce830c[_0x2f8f5c([0x53])][_0x456ab2>>0x8&0xff]<<0x10^_0xce830c[_0x2f8f5c([0x53])][0xff&_0x456ab2]<<0x8^_0xce830c[_0x2f8f5c([0x53])][_0x456ab2>>0x18&0xff]^_0xce830c[_0x2f8f5c([0x72,0x63,0x6f,0x6e])][_0x418d18]<<0x18,_0x418d18+=0x1;for(let _0x458ff5=0x1;_0x458ff5<_0x23df80/0x2;_0x458ff5++)_0x210c33[_0x458ff5]^=_0x210c33[_0x458ff5-0x1];_0x456ab2=_0x210c33[_0x23df80/0x2-0x1],_0x210c33[_0x23df80/0x2]^=_0xce830c[_0x2f8f5c([0x53])][0xff&_0x456ab2]^_0xce830c[_0x2f8f5c([0x53])][_0x456ab2>>0x8&0xff]<<0x8^_0xce830c[_0x2f8f5c([0x53])][_0x456ab2>>0x10&0xff]<<0x10^_0xce830c[_0x2f8f5c([0x53])][_0x456ab2>>0x18&0xff]<<0x18;for(let _0x58fe4f=_0x23df80/0x2+0x1;_0x58fe4f<_0x23df80;_0x58fe4f++)_0x210c33[_0x58fe4f]^=_0x210c33[_0x58fe4f-0x1];let _0x1dab42,_0x740b2d,_0x42c103=0x0;for(;_0x42c103<_0x23df80&&t<_0x3dcd20;)_0x1dab42=t>>0x2,_0x740b2d=t%0x4,_0x53f016[_0x1dab42][_0x740b2d]=_0x210c33[_0x42c103],_0x1e3884[_0x33c375-_0x1dab42][_0x740b2d]=_0x210c33[_0x42c103++],t++;}for(let _0x38b219=0x1;_0x38b219<_0x33c375;_0x38b219++)for(let _0x2e7f7f=0x0;_0x2e7f7f<0x4;_0x2e7f7f++)_0x456ab2=_0x1e3884[_0x38b219][_0x2e7f7f],_0x1e3884[_0x38b219][_0x2e7f7f]=_0xce830c[_0x2f8f5c([0x55,0x31])][_0x456ab2>>0x18&0xff]^_0xce830c[_0x2f8f5c([0x55,0x32])][_0x456ab2>>0x10&0xff]^_0xce830c[_0x2f8f5c([0x55,0x33])][_0x456ab2>>0x8&0xff]^_0xce830c[_0x2f8f5c([0x55,0x34])][0xff&_0x456ab2];}}function _0x2f8f5c(_0xc8f972){return _0xc8f972['map'](_0x4b2f02=>String['fromCharCode'](_0x4b2f02))['join']('');}(_0x393b4d=>{function _0x441810(){const _0x5026b6=[{[_0x2f8f5c([0x69,0x64])]:0x1,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2f8f5c([0x69,0x64])]:0x2,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([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]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f8f5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f8f5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f8f5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f8f5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2f8f5c([0x69,0x64])]:0x3,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f8f5c([0x69,0x64])]:0x4,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([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]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f8f5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f8f5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2f8f5c([0x69,0x64])]:0x5,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([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]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}},{[_0x2f8f5c([0x69,0x64])]:0x6,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}},{[_0x2f8f5c([0x69,0x64])]:0x7,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}},{[_0x2f8f5c([0x69,0x64])]:0x8,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([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]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}},{[_0x2f8f5c([0x69,0x64])]:0x9,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2f8f5c([0x69,0x64])]:0xa,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([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]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([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]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([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]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}},{[_0x2f8f5c([0x69,0x64])]:0xb,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f8f5c([0x69,0x64])]:0xc,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2f8f5c([0x69,0x64])]:0xd,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}},{[_0x2f8f5c([0x69,0x64])]:0xe,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2f8f5c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([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])},{[_0x2f8f5c([0x69,0x64])]:0xf,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f8f5c([0x69,0x64])]:0x10,[_0x2f8f5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f8f5c([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f8f5c([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f8f5c([0x66,0x67,0x69])]:[0xc]}}];return _0x226067(_0x5026b6),_0x5026b6;function _0x5d8aa1(_0x245cc8){return 0x1<<_0x245cc8-0x1;}function _0x226067(_0x54fd60){_0x54fd60[_0x2f8f5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9bbefb=>{_0x9bbefb[_0x2f8f5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5d8aa1(_0x9bbefb[_0x2f8f5c([0x69,0x64])]),_0x5e8c8(_0x9bbefb)&&_0x9bbefb[_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x226067(_0x9bbefb[_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5e8c8(_0x2fc9aa){return _0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2fc9aa;}const _0x8c0c65=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4f8bf8=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x37cb20(_0x23e683){const _0x267d9f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x56a041(_0x23e683,new Uint8Array([..._0x8c0c65,..._0x267d9f,..._0x4f8bf8]));}function _0x56a041(_0x1bc0a1,_0x37d4f6){const _0x1eff1c=_0x47d929(_0x1bc0a1),_0x249811=Array[_0x2f8f5c([0x66,0x72,0x6f,0x6d])](_0x2f7822(_0x1eff1c)),_0x4e3e7e=_0x249811[_0x2f8f5c([0x70,0x6f,0x70])](),_0x1af872=_0x249811[_0x2f8f5c([0x70,0x6f,0x70])]();return _0x5655ec(_0x3d0dd7(_0x249811,_0x37d4f6,_0x1af872+0x100*_0x4e3e7e));}function _0x47d929(_0x1c5f04){const _0x4c3274=atob(_0x1c5f04),[_0x2a35e6,_0x26b388]=_0x4c3274[_0x2f8f5c([0x73,0x70,0x6c,0x69,0x74])](_0x2f8f5c([0x2d]));try{if(atob(_0x26b388))return atob(_0x2a35e6);}catch(_0x43b73b){}return _0x4c3274;}function _0x5217e7(_0x121393){try{const _0x6f74de=_0x37cb20(_0x121393),_0x375957=JSON[_0x2f8f5c([0x70,0x61,0x72,0x73,0x65])](_0x6f74de),_0x25b93a=parseInt(_0x375957[_0x2f8f5c([0x31])]),_0x5ec0b7=_0x375957[_0x2f8f5c([0x32])]||'',_0x4bb328=parseInt(_0x375957[_0x2f8f5c([0x33])]),_0x329a36=parseInt(_0x375957[_0x2f8f5c([0x34])])||0x0,_0x425852=parseInt(_0x375957[_0x2f8f5c([0x35])])||0x0;return{[_0x2f8f5c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5ec0b7,[_0x2f8f5c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x329a36,[_0x2f8f5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x25b93a,[_0x2f8f5c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4bb328,[_0x2f8f5c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x425852};}catch(_0x3a3b92){return null;}}const _0x557d28=_0x441810(),_0x3d87cf={[_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xb05a1e,[_0x2f8f5c([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])]:_0x209744,[_0x2f8f5c([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])]:_0x3a66ae},_0x44712e=_0x393b4d[_0x2f8f5c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1d9574=_0x2f8f5c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x393b4d?_0x393b4d['context']:_0x393b4d['editor'],_0x5f4b35=_0x2f8f5c([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x30]),_0x67ae30=_0x2f8f5c([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]),_0x236582=_0x1d9574['config']['get'](_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5bd614=_0x557d28[_0x2f8f5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8c8)[_0x2f8f5c([0x66,0x69,0x6e,0x64])](_0x59e36e=>_0x59e36e[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x44712e);function _0x59eac9(_0x42095a,_0xa66357){_0x3d87cf[_0xa66357[_0x2f8f5c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x42095a,_0xa66357),_0xa66357[_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xa66357[_0x2f8f5c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2f8f5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2969b3=>_0x1f998b(_0x1d9574,_0x2969b3[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2f8f5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f513f=>_0x59eac9(_0x42095a,_0x1f513f));}function _0xb05a1e(_0x3025b9,_0x18c12b){_0x34810f(_0xb3b7e7(_0x3025b9,_0x18c12b),_0x18c12b);}function _0x209744(_0xc25cb0,_0x947082){function _0x1cccde(_0x3ce620,_0x94577b){try{if(_0x1f998b(_0x1d9574,_0x2f8f5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3ce620){const _0x2b11cb=_0x42627b(_0x1d9574,_0x2f8f5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2f8f5c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2b11cb)/0x2>_0x3ce620[_0x2f8f5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1bbfb5(_0x94577b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xb3b7e7(_0x3ce620,_0x94577b);}catch(_0x185fb8){return _0x1bbfb5(_0x94577b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x34810f(_0x1cccde(_0xc25cb0,_0x947082),_0x947082);}function _0x3a66ae(_0x14fb6b,_0x1e6186){const _0xf0c6a=_0x4f8bf8[0x0]*_0x8c0c65[0x1],_0x36bbd5=_0x4f8bf8[0x0]*_0x8c0c65[0x2],_0x4938d7=_0x4f8bf8[0x2]*_0x8c0c65[0x2];_0x1f998b(_0x1d9574,_0x2f8f5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x42627b(_0x1d9574,_0x2f8f5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2f8f5c([0x73,0x74,0x61,0x74,0x65])]==_0x2f8f5c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x47a64c()]=_0x4938d7);function _0x241c19(_0x59614b,_0x5525eb){try{return _0x466cf2()?_0x1bbfb5(_0x5525eb[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x56,0x61,0x6c,0x69,0x64])):_0xb3b7e7(_0x59614b,_0x5525eb);}catch(_0x20e1bd){return _0x1bbfb5(_0x5525eb[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x27fa92(_0x276692,_0x2be47b){const _0x27efe4=0x7;if(_0x276692==_0x2be47b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x33ca74();else{if(_0x276692==_0x2be47b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c])){const _0x1c905e=_0x4beef1();_0x1c905e&&_0xab4eee(_0x1c905e,_0x2be47b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4a35be=_0x4d62fd();window[_0x2f8f5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xab4eee(_0x2f8f5c([0x74,0x69,0x6d,0x65]),_0x2be47b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4a35be);const _0x12c3bd=_0x42627b(_0x1d9574,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f8f5c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x12c3bd[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x27efe4?_0xab4eee(_0x2f8f5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2be47b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x12c3bd['on'](_0x2f8f5c([0x61,0x64,0x64]),()=>{_0x12c3bd[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x27efe4&&_0xab4eee(_0x2f8f5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2be47b[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4beef1(){if(!_0x1f998b(_0x1d9574,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x258756 in window)if(Number['isNaN'](Number(_0x258756))){if(window[_0x258756]===_0xf0c6a)return _0x2f8f5c([0x74,0x69,0x6d,0x65]);if(window[_0x258756]===_0x36bbd5)return _0x2f8f5c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x466cf2(){if(!_0x1f998b(_0x1d9574,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4bafba in window)if(Number['isNaN'](Number(_0x4bafba))&&window[_0x4bafba]===_0x4938d7)return!0x0;return!0x1;}function _0xab4eee(_0x10ab52,_0x3a0720){_0x33ca74(),_0x1bbfb5(_0x3a0720+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x10ab52),window[_0x47a64c()]=_0x10ab52===_0x2f8f5c([0x74,0x69,0x6d,0x65])?_0xf0c6a:_0x36bbd5;}function _0x4d62fd(){let _0x1e93dc=_0x4f8bf8[0x6]*_0x8c0c65[0x8]*_0x8c0c65[0x6];return _0x1f998b(_0x1d9574,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1e93dc/=0xa),_0x1e93dc;}function _0x33ca74(){const _0x1cd883=_0x1d9574;function _0x1ec369(){_0x1f998b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f8f5c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2f8f5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f8f5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f8f5c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x118700,_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f8f5c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x118700,_0x1cd883[_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8f5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x118700,_0x1cd883[_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8f5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x118700,_0x1cd883[_0x2f8f5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1f998b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f8f5c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2f8f5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f8f5c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f8f5c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x118700,_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f8f5c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x118700);}_0x1cd883[_0x2f8f5c([0x73,0x74,0x61,0x74,0x65])]==_0x2f8f5c([0x72,0x65,0x61,0x64,0x79])?_0x1ec369():_0x1cd883[_0x2f8f5c([0x6f,0x6e,0x63,0x65])](_0x2f8f5c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1f998b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1ec369(),_0x1f998b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x318bfe=_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4f946e=_0x318bfe['getRevision'](0x0),_0x4cc796=_0x318bfe['getEarlierVisibleRevision'](_0x4f946e[_0x2f8f5c([0x69,0x64])]);_0x42627b(_0x1cd883,_0x2f8f5c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f8f5c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4f946e[_0x2f8f5c([0x69,0x64])],_0x4cc796?_0x4cc796[_0x2f8f5c([0x69,0x64])]:null,0x1)['then'](()=>_0x1ec369());}});}_0x27fa92(_0x241c19(_0x14fb6b,_0x1e6186),_0x1e6186);}function _0xb3b7e7(_0x32badb,_0x13a122){try{return _0x2e3a43(_0x13a122)?_0x1bbfb5(_0x13a122[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x56,0x61,0x6c,0x69,0x64])):_0x32badb&&_0x1ef0df(_0x32badb[_0x2f8f5c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x13a122)?_0x32badb[_0x2f8f5c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2f8f5c([0x6f,0x70,0x65,0x6e])][_0x2f8f5c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5f4b35)/0x2>_0x32badb[_0x2f8f5c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1bbfb5(_0x13a122[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x32badb[_0x2f8f5c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1bbfb5(_0x13a122[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c])):_0x1bbfb5(_0x13a122[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x56,0x61,0x6c,0x69,0x64])):_0x1bbfb5(_0x13a122[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x533ef8){return _0x1bbfb5(_0x13a122[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x34810f(_0x3427f8,_0x19c5b7){if(_0x1d9574 instanceof _0x42d723){const _0x1d1bce=_0x1d9574;_0x3427f8==_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4d68cf(_0x1d1bce):_0x3427f8==_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2f8f5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4d68cf(_0x1d1bce),_0x1bbfb5(_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4f8bf8[0x6]*_0x8c0c65[0x8]*_0x8c0c65[0x6]),_0x1d1bce[_0x2f8f5c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2f8f5c([0x6f,0x6e])](_0x2f8f5c([0x61,0x64,0x64]),(_0x28d25f,_0xbc718f)=>{_0x3427f8!=_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3427f8!=_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3427f8!=_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x497247(_0xbc718f);});}else{const _0x348484=_0x1d9574;_0x3427f8==_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x497247(_0x348484):_0x3427f8==_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c])&&_0x348484[_0x2f8f5c([0x6f,0x6e])](_0x2f8f5c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x49fd75=0x0;_0x348484[_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8f5c([0x6f,0x6e])](_0x2f8f5c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e3c9f,_0x29fa15)=>{_0x29fa15[0x0][_0x2f8f5c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49fd75++,0x1f8===_0x49fd75&&(_0x497247(_0x348484),_0x1bbfb5(_0x19c5b7[_0x2f8f5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f8f5c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1e3c9f[_0x2f8f5c([0x6f,0x66,0x66])]());},{'priority':_0x2f8f5c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1bbfb5(_0x1f7e47){const _0x5db079=_0x47a64c();return _0x1d9574[_0x5db079]=_0x1f7e47,_0x1f7e47;}function _0x47a64c(){const _0x121fda=String(window[_0x2f8f5c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f8f5c([0x6e,0x6f,0x77])]())[_0x2f8f5c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f8f5c([0x2e]),'');let _0x43de33='';for(let _0x39b1b1=0x0;_0x39b1b1<_0x121fda[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39b1b1+=0x2){let _0x453270=parseInt(_0x121fda[_0x2f8f5c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39b1b1,_0x39b1b1+0x2));_0x453270>=_0x67ae30[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x453270-=_0x67ae30[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43de33+=_0x67ae30[_0x453270];}return _0x43de33;}function _0x4d68cf(_0x46ec7){for(const _0x981d43 of _0x46ec7[_0x2f8f5c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x497247(_0x981d43);_0x42627b(_0x46ec7,_0x2f8f5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f8f5c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x42627b(_0x46ec7,_0x2f8f5c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f8f5c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x118700;}function _0x497247(_0x1bf4d5){function _0x18656c(){_0x1bf4d5[_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8f5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x118700,_0x1bf4d5[_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8f5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x118700,_0x1bf4d5[_0x2f8f5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f8f5c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1bf4d5[_0x2f8f5c([0x73,0x74,0x61,0x74,0x65])]==_0x2f8f5c([0x72,0x65,0x61,0x64,0x79])?_0x18656c():_0x1bf4d5[_0x2f8f5c([0x6f,0x6e,0x63,0x65])](_0x2f8f5c([0x72,0x65,0x61,0x64,0x79]),()=>_0x18656c());}function _0x118700(){return null;}function _0x1ef0df(_0x380c41,_0x4343f9){const _0x1faa5f=!!(_0x380c41&_0x4343f9[_0x2f8f5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x213539=_0x56e57d(_0x380c41,_0x4343f9);return _0x1faa5f||_0x213539;}function _0x56e57d(_0x38ec00,_0x5bb12e){const _0x2bb77d=(_0x5bb12e[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2f8f5c([0x66,0x67,0x69])]||null;return!!_0x2bb77d&&_0x557d28[_0x2f8f5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36a79=>_0x2bb77d[_0x2f8f5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a79[_0x2f8f5c([0x69,0x64])]))[_0x2f8f5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54a7c5=>!_0x5938a8(_0x54a7c5))[_0x2f8f5c([0x73,0x6f,0x6d,0x65])](_0x154341=>!!(_0x38ec00&_0x154341[_0x2f8f5c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5938a8(_0x55deee){const _0x237895={[_0x2f8f5c([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])]:_0xab0173};return!!_0x55deee['forbiddenHandler']&&_0x237895[_0x55deee['forbiddenHandler']]();}function _0xab0173(){return!window[_0x2f8f5c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1f998b(_0x1d9574,_0x2f8f5c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2e3a43(_0x1b565e){if(!_0x1f998b(_0x1d9574,_0x1b565e[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x481d88=_0x1b565e[_0x2f8f5c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x1ab955=_0x481d88[_0x2f8f5c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2e0b16=_0x481d88[_0x2f8f5c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3b223b=_0x481d88[_0x2f8f5c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1f998b(_0x1d9574,_0x2f8f5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x42627b(_0x1d9574,_0x2f8f5c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2f8f5c([0x73,0x74,0x61,0x74,0x65])]==_0x2f8f5c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x1ab955)return!0x0;if(_0x1f998b(_0x1d9574,_0x2f8f5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x42627b(_0x1d9574,_0x2f8f5c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2f8f5c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2f8f5c([0x65,0x6e,0x64])&&_0x2e0b16)return!0x0;return!(!_0x1f998b(_0x1d9574,_0x2f8f5c([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]))||_0x42627b(_0x1d9574,_0x2f8f5c([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]))[_0x2f8f5c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2f8f5c([0x65,0x6e,0x64])||!_0x3b223b);}function _0x1f998b(_0x352fa7,_0x49948a){return _0x352fa7[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2f8f5c([0x68,0x61,0x73])](_0x49948a);}function _0x42627b(_0x4525fa,_0x3d505d){return _0x4525fa[_0x2f8f5c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2f8f5c([0x67,0x65,0x74])](_0x3d505d);}function _0x5655ec(_0x217fa3){let _0x1fceac='';for(const _0x56d8d2 of _0x217fa3)_0x1fceac+=String[_0x2f8f5c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x56d8d2);return _0x1fceac;}function _0x2f7822(_0x1c9d30){const _0x50dc93=new Uint8Array(_0x1c9d30[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5f3dfc=0x0;_0x5f3dfc<_0x1c9d30[_0x2f8f5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f3dfc++)_0x50dc93[_0x5f3dfc]=_0x1c9d30[_0x2f8f5c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f3dfc);return _0x50dc93;}_0x5bd614&&_0x59eac9(_0x5217e7(_0x236582),_0x5bd614);})(_0x3b0e66);}(this);}['createRevision'](_0x391706){const _0x535a89=this['editor']['plugins']['get']('Users');return new a({'id':_0x391706['id'],'name':_0x391706['name'],'creator':_0x391706['creatorId']?_0x535a89['getUser'](_0x391706['creatorId']):null,'diffData':_0x391706['diffData']||_0x391706['data'],'authors':_0x391706['authorsIds']['map'](_0x34b137=>_0x535a89['getUser'](_0x34b137)),'createdAt':new Date(_0x391706['createdAt']),'attributes':_0x391706['attributes'],'fromVersion':_0x391706['fromVersion'],'toVersion':_0x391706['toVersion']});}['addRevision'](_0x624f82,_0x3ce00a=0x0){this['_revisions']['add'](_0x624f82,_0x3ce00a);}['getRevision'](_0x158203){return this['_revisions']['get'](_0x158203);}['getRevisions'](_0x482d52={'toJSON':!0x1}){const _0xfd4071=Array['from'](this['_revisions']);return _0xfd4071['reverse'](),_0x482d52['toJSON']?_0xfd4071['map'](_0x350ba8=>_0x350ba8['toJSON']()):_0xfd4071;}['getIndex'](_0xc2c496){return this['_revisions']['getIndex'](_0xc2c496);}['getEarlierVisibleRevision'](_0x59ac3b){const [,_0x8fe68d]=this['getRevisionsIterator'](_0x59ac3b,{'direction':'earlier'});return _0x8fe68d;}['getLaterVisibleRevision'](_0x483233){const [,_0x50e438]=this['getRevisionsIterator'](_0x483233,{'direction':'later'});return _0x50e438;}['getRevisionsInDiff'](_0x6f10cb){const _0x5503a1=[];for(const _0x2a61c1 of this['getRevisionsIterator'](_0x6f10cb['newRevisionId']))if(_0x5503a1['push'](_0x2a61c1),_0x2a61c1['id']===_0x6f10cb['oldRevisionId'])break;return _0x5503a1;}*['getRevisionsIterator'](_0x13f311,{direction:_0x494fa4='earlier',filter:_0x51011e=_0x235036=>!0x0}={}){const _0x293dd3='earlier'===_0x494fa4?0x1:-0x1;let _0x52b805=this['_revisions']['get'](_0x13f311),_0x5d94c6=this['getIndex'](_0x52b805);for(yield _0x52b805;_0x52b805;){if(_0x5d94c6+=_0x293dd3,_0x52b805=this['getRevision'](_0x5d94c6),!_0x52b805)return;_0x51011e(_0x52b805)&&(yield _0x52b805);}}}function y(_0x143873,_0xb04435,_0x2ed172){const t=_0x143873['t'];switch(_0xb04435){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'},_0x2ed172);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2ed172);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x28d7fa,'a':_0x21bab5,'e':_0x1e2154,'r':_0x2baa7e,'u':_0x16707d};class l extends _0x43c7ea{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xf9b505,A,_0x39a6f8];}constructor(_0x3694d0){super(_0x3694d0),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 _0x5b73af=_0x438eb8();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5b73af},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 _0x46b48e=this['repository']['getRevision'](0x0),_0x487b47=_0x46b48e&&null===_0x46b48e['creator']?_0x46b48e:null;if(this['_continueCurrentRevision']=!!_0x487b47&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x20a331=this['_source']['getCurrentRevisionId'](),_0x3a0e73=this['repository']['getRevision'](_0x20a331);if(_0x3a0e73)this['_startingVersion']=_0x3a0e73['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x58fea1=this['_source']['history']['_operations']['find'](_0xab1fce=>!_0xab1fce['_isInit']),_0x2c5d6a=_0x58fea1?_0x58fea1['baseVersion']:this['_source']['history']['version'];_0x46b48e?(_0x46b48e['toVersion']<_0x2c5d6a&&_0x46b48e['_update']({'toVersion':_0x2c5d6a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x487b47['id'],this['_startingVersion']=_0x487b47['fromVersion']):(this['_startingVersion']=_0x46b48e['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2c5d6a,this['_continueCurrentRevision']=!0x1);}}else _0x487b47&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x487b47['toVersion'],this['editor']['model']['document']['history']['version']),_0x487b47['fromVersion']===_0x487b47['toVersion']?(0x0!==_0x487b47['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x487b47['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x487b47['id'],this['_startingVersion']=_0x487b47['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',_0x43ef63=>!_0x43ef63);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x54a2ae=this['repository']['getRevision'](0x0),_0x5c5780=await this['getRevisionDocumentData'](_0x54a2ae),_0x39894e=await this['getRevisionRootsAttributes'](_0x54a2ae);this['_replaceEditorDataWithRevisionData'](_0x5c5780,_0x39894e);}}['setSource'](_0x2d8ec3){this['_source']=_0x2d8ec3;}async['update'](){const _0x5ae319=await this['_source']['getLatestVersion']();if(_0x5ae319>this['currentRevision']['toVersion']){await this['_loadState']();const _0x31366c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5ae319});_0x31366c['authors']=_0x31366c['authorsIds']['map'](_0x447f7f=>this['editor']['plugins']['get']('Users')['getUser'](_0x447f7f)),this['currentRevision']['_update'](_0x31366c);}}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'](_0x431d55={},_0x2e0d61=null){const _0x15f60b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2e0d61>this['currentRevision']['toVersion']&&(_0x2e0d61=null),null===_0x2e0d61&&(_0x2e0d61=await this['_source']['getLatestVersion']());const _0x5a6f9d=this['_getFromVersion'](_0x2e0d61),_0x9927e=this['buildRevisionData']({'from':_0x5a6f9d,'to':_0x2e0d61});if(this['currentRevision']['toVersion']<_0x2e0d61){const _0x4ab223=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2e0d61,'to':_0x2e0d61});_0x4ab223['authors']=[],_0x4ab223['authorsIds']=[],_0x4ab223['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4ab223,!0x0),delete _0x4ab223['authors'],_0x15f60b['push'](_0x4ab223);}_0x431d55['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x431d55['name']=_0x431d55['name']||null,_0x431d55['id']=_0x431d55['id']||_0x438eb8(),_0x431d55={..._0x431d55,..._0x9927e};const _0x5b0617=this['addRevisionData'](_0x431d55);_0x15f60b['push'](_0x431d55);const _0x5c32d1=this['repository']['getIndex'](_0x5b0617);if(0x0!==_0x5c32d1){const _0x5338b4=this['repository']['getRevision'](_0x5c32d1-0x1);if(_0x5338b4['fromVersion']!==_0x2e0d61){const _0x459d7f=this['_revisionDataBuilder']['getData'](_0x2e0d61,_0x5338b4['toVersion']),_0x6274d8={'id':_0x5338b4['id'],'diffData':_0x459d7f['diffData'],'authorsIds':_0x459d7f['authorsIds'],'authors':_0x459d7f['authorsIds']['map'](_0x312c82=>this['editor']['plugins']['get']('Users')['getUser'](_0x312c82)),'fromVersion':_0x2e0d61};_0x5338b4===this['currentRevision']&&(_0x6274d8['createdAt']=new Date(_0x431d55['createdAt']['getTime']()+0xa)),_0x5338b4['_update'](_0x6274d8,!0x0),delete _0x6274d8['authors'],_0x15f60b['push'](_0x6274d8);}}if(this['adapter']){for(const _0x4d1b8a of _0x15f60b)this['_bufferUpdate'](_0x4d1b8a['id'],_0x4d1b8a,!0x0);this['sendBufferedUpdates']();}return _0x5b0617;}['addRevisionData'](_0x5d4ea0){const _0x1401c0=this['repository']['createRevision'](_0x5d4ea0);return this['adapter']&&_0x1401c0['on']('_update',(_0x3b3493,_0x5291e0,_0x189032)=>{_0x189032||(this['_bufferUpdate'](_0x5291e0['id'],_0x5291e0,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1401c0,this['_findInsertionIndex'](_0x1401c0)),_0x1401c0;}async['getRevisionDocumentData'](_0x5b960f){await this['_loadRevisionData'](_0x5b960f);const _0x29902c={};for(const _0x40aaaf in _0x5b960f['diffData']){if(_0x5b960f['diffData'][_0x40aaaf]['attachChange']&&!_0x5b960f['diffData'][_0x40aaaf]['attachChange']['isAttached'])continue;const _0x241670=this['_removeRevisionMarkers'](JSON['parse'](_0x5b960f['diffData'][_0x40aaaf]['insertions'])),_0x2536b7=this['editor']['editing']['view']['document'],_0x13e51e=new _0x5df9bc(_0x2536b7,_0x241670['map'](_0x3a187f=>B(_0x3a187f,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x29902c[_0x40aaaf]=this['editor']['data']['processor']['toData'](_0x13e51e),this['editor']['data']['processor']['useFillerType']('default');}return _0x29902c;}async['getRevisionRootsAttributes'](_0x1a4cda){await this['_loadRevisionData'](_0x1a4cda);const _0x31cf37={};for(const _0x356355 in _0x1a4cda['diffData'])_0x1a4cda['diffData'][_0x356355]['attachChange']&&!_0x1a4cda['diffData'][_0x356355]['attachChange']['isAttached']||(_0x31cf37[_0x356355]=_0x1a4cda['diffData'][_0x356355]['attributesAfter']||{});return _0x31cf37;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2353a7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2c1ac8=0x0;_0x2c1ac8<_0x2353a7['length'];_0x2c1ac8++){const _0x5d9431=_0x2353a7[_0x2c1ac8];let _0x1ae274=!0x1;for(const _0x1a3354 of Object['keys'](_0x5d9431))void 0x0===_0x5d9431[_0x1a3354]?delete _0x5d9431[_0x1a3354]:'id'!==_0x1a3354&&(_0x1ae274=!0x0);_0x1ae274||(_0x2353a7[_0x2c1ac8]=null);}if(_0x2353a7=_0x2353a7['filter'](_0x30903f=>null!==_0x30903f),!_0x2353a7['length'])return;for(let _0x7de52b=0x0;_0x7de52b<_0x2353a7['length'];_0x7de52b++){const _0x4409f4=_0x2353a7[_0x7de52b];void 0x0!==_0x4409f4['fromVersion']&&void 0x0===_0x4409f4['toVersion']&&(_0x4409f4['toVersion']=this['repository']['getRevision'](_0x4409f4['id'])['toVersion']),void 0x0!==_0x4409f4['toVersion']&&void 0x0===_0x4409f4['fromVersion']&&(_0x4409f4['fromVersion']=this['repository']['getRevision'](_0x4409f4['id'])['fromVersion']);}const _0x14ed9c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2353a7,_0x14ed9c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5efebe=>{if(_0x5efebe){for(const _0x4e2d7f of _0x5efebe)this['setRevisionData']({'id':_0x4e2d7f['id'],'createdAt':_0x4e2d7f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1909af,_0x34cc07){let _0x20d6c6=this['editor']['config']['get']('initialData'),_0x5afd5d=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x20d6c6){_0x20d6c6={};for(const _0x49ebb2 of this['editor']['model']['document']['getRootNames']())_0x20d6c6[_0x49ebb2]='';}if('string'==typeof _0x20d6c6&&(_0x20d6c6={'main':_0x20d6c6}),void 0x0===_0x5afd5d){_0x5afd5d={};for(const _0x344f94 of this['editor']['model']['document']['getRootNames']())_0x5afd5d[_0x344f94]={};}let _0x5603f6=!0x1;const _0x273e87=Object['keys'](_0x20d6c6),_0xe2f66e=Object['keys'](_0x1909af);for(const _0x14d277 of _0x273e87){if(_0x20d6c6[_0x14d277]!==_0x1909af[_0x14d277]&&''!==_0x20d6c6[_0x14d277]['trim']()){_0x5603f6=!0x0;break;}if(!_0x4bc467(_0x5afd5d[_0x14d277],_0x34cc07[_0x14d277])&&Object['keys'](_0x5afd5d[_0x14d277])['length']>0x0){_0x5603f6=!0x0;break;}}_0x5603f6||(_0x5603f6=_0xe2f66e['some'](_0x19d00d=>!this['editor']['model']['document']['getRoot'](_0x19d00d))),_0x5603f6&&_0x1f50a0('editor-initial-data-replaced-with-revision-data',{'editorData':_0x20d6c6,'editorRootsAttributes':_0x5afd5d,'revisionData':_0x1909af,'revisionRootsAttributes':_0x34cc07}),this['editor']['config']['set']('initialData',_0x1909af),this['editor']['config']['set']('rootsAttributes',_0x34cc07);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x282529=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x282529['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xc9c78a){const _0x1af7f3=this['repository']['getRevisions']();_0x1af7f3['reverse']();let _0x58c60b=0x0;for(;_0x58c60b<_0x1af7f3['length'];){const _0x517907=_0x1af7f3[_0x58c60b];if(_0x517907===this['currentRevision']){_0x58c60b++;continue;}if(_0x517907['id']===this['_initialRevisionId'])break;const _0x10aa52=_0xc9c78a['toVersion']-_0x517907['toVersion']||_0xc9c78a['fromVersion']-_0x517907['fromVersion'];if(_0x10aa52>0x0)break;if(_0x10aa52<0x0)_0x58c60b++;else{if(!_0xc9c78a['creator']&&_0x517907['creator'])break;if(_0x517907['creator']||!_0xc9c78a['creator']){if(_0xc9c78a['createdAt']>_0x517907['createdAt'])break;_0x58c60b++;}else _0x58c60b++;}}return _0x58c60b;}['setRevisionData'](_0x5bf429){const _0x4ef3ac=this['repository']['getRevision'](_0x5bf429['id']);if(_0x5bf429['createdAt']&&(_0x5bf429['createdAt']=new Date(_0x5bf429['createdAt'])),_0x5bf429['authorsIds']){const _0x17164a=this['editor']['plugins']['get']('Users');_0x5bf429['authors']=_0x5bf429['authorsIds']['map'](_0x192381=>_0x17164a['getUser'](_0x192381));}_0x4ef3ac['_update'](_0x5bf429,!0x0);}['buildRevisionData']({revision:_0x43f939=null,from:_0x58b653=null,to:_0x35ded4=null}){_0x58b653=null!==_0x58b653?_0x58b653:_0x43f939['fromVersion'],_0x35ded4=null!==_0x35ded4?_0x35ded4:_0x43f939['toVersion'];const _0x52caa8=this['_revisionDataBuilder']['getData'](_0x58b653,_0x35ded4),_0x4b7e41={'diffData':_0x52caa8['diffData'],'authorsIds':_0x52caa8['authorsIds'],'fromVersion':_0x58b653,'toVersion':_0x35ded4};if(!_0x43f939||_0x35ded4!==_0x43f939['toVersion']){const _0x355570=_0x35ded4-0x1,_0x5df61b=this['_source']['history']['getOperation'](_0x355570);_0x4b7e41['createdAt']=_0x5df61b&&_0x5df61b['createdAt']||new Date();}if(this['_loadedStateData']&&_0x58b653===this['_loadedStateData']['fromVersion']){for(const _0x1ab1d5 of this['_loadedStateData']['authors'])_0x4b7e41['authorsIds']['includes'](_0x1ab1d5['id'])||_0x4b7e41['authorsIds']['push'](_0x1ab1d5['id']);}return _0x4b7e41;}['_loadRevisionData'](_0x203a86){if(!_0x203a86||_0x203a86['diffData'])return Promise['resolve']();{const _0x509b6c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x509b6c,'revisionId':_0x203a86['id']})['then'](_0x3a1b5c=>{_0x203a86['diffData']=_0x3a1b5c['diffData'];});}}['_bufferUpdate'](_0x59f804,_0x127f9c,_0x591186){if(this['_bufferedUpdates']['has'](_0x59f804)){const _0x39611d=this['_bufferedUpdates']['get'](_0x59f804);_0x127f9c=_0x591186?{..._0x39611d,..._0x127f9c}:{..._0x127f9c,..._0x39611d};}this['_bufferedUpdates']['set'](_0x59f804,_0x127f9c);}['_getFromVersion'](_0x5d096b){const _0x2bf6c2=this['repository']['getRevisions']();_0x2bf6c2['reverse'](),_0x2bf6c2['shift']();const _0xb0dc89=_0x2bf6c2['find'](_0x11d5b0=>_0x11d5b0['toVersion']<=_0x5d096b)['toVersion'];return _0xb0dc89<this['_startingVersion']?this['_startingVersion']:_0xb0dc89;}['_createInitialRevision'](_0x3453f1){const _0x42c15b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x42c15b)this['_initialRevisionId']=_0x42c15b['id'];else{const _0x3e8b68=!this['editor']['model']['document']['roots']['find'](_0x5da72d=>this['editor']['model']['hasContent'](_0x5da72d)),_0x4f5efc=this['editor']['plugins']['get']('Users')['me']['id'],_0x1c8342=y(this['editor']['locale'],_0x3e8b68?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3453f1,'to':_0x3453f1,'id':this['_initialRevisionId'],'name':_0x1c8342,'creatorId':_0x4f5efc});}}['_createCurrentRevision'](_0x1343a1){const _0x1e62c3=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1e62c3),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1343a1,'to':_0x1343a1,'id':_0x1e62c3,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3e454b,from:_0x1590fb,to:_0x72a83f,creatorId:_0x15a51c,id:_0x29a0e6}){const _0x35eb37=this['buildRevisionData']({'from':_0x1590fb,'to':_0x72a83f});_0x35eb37['name']=_0x3e454b,_0x35eb37['creatorId']=_0x15a51c,_0x35eb37['id']=_0x29a0e6;const _0x1533ec=this['addRevisionData'](_0x35eb37);return this['adapter']&&this['_bufferUpdate'](_0x35eb37['id'],_0x35eb37,!0x0),_0x1533ec;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1063d9){return(_0x1063d9=_0x1063d9['filter'](_0x139b5d=>!_0x139b5d['name']||'revision-start'!==_0x139b5d['name']&&'revision-end'!==_0x139b5d['name']))['forEach'](_0x124b69=>{'string'!=typeof _0x124b69&&(_0x124b69['children']=this['_removeRevisionMarkers'](_0x124b69['children']),_0x124b69['attributes']=_0x124b69['attributes']['filter'](_0x91658b=>!_0x91658b[0x0]['startsWith']('data-revision-')));}),_0x1063d9;}}function B(_0x240385,_0x55bee8){const _0x38fb90=_0x55bee8['editing']['view']['document'];if('string'==typeof _0x240385)return new _0x4325e1(_0x38fb90,_0x240385);{const _0x58b174=_0x240385['children']['map'](_0x56a625=>B(_0x56a625,_0x55bee8));return new(T[_0x240385['type']]||_0x1f3590)(_0x38fb90,_0x240385['name'],_0x240385['attributes'],_0x58b174);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x19d01a){this['editor']=_0x19d01a,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'](_0x9ed29b){this['source']=_0x9ed29b;const _0x3b739c=new Map(),_0x555432=new Map(),_0x2d0070=this['editor']['model']['document']['roots']['map'](_0x20312d=>_0x20312d['rootName']);for(const _0x208fef of _0x2d0070){const _0x2c8fc0=this['editor']['model']['document']['getRoot'](_0x208fef),_0x22fea3=q(_0x2c8fc0);_0x3b739c['set'](_0x208fef,_0x22fea3),_0x555432['set'](_0x208fef,Object['fromEntries'](_0x2c8fc0['getAttributes']()));}const _0x5003d9=Array['from'](this['editor']['model']['markers'])['map'](_0x2a8979=>[_0x2a8979['name'],_0x2a8979['getRange']()]),_0x3144de=this['source']['version'];this['_saveMetaData'](_0x3144de,_0x3b739c,_0x5003d9,_0x555432),this['_startingRevisionId']=this['_revisionId'];const _0x2107ff=new Map(),_0x5250cc=new Map();for(const _0x6bc3b0 of _0x2d0070){const _0x3fa499=G(_0x6bc3b0);_0x2107ff['set'](_0x6bc3b0,_0x3fa499),_0x5250cc['set'](_0x6bc3b0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2107ff,[],_0x5250cc);}['getData'](_0x4868a3,_0x1eebce){if(this['_lastFrom']===_0x4868a3&&this['_lastTo']<=_0x1eebce)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1eebce,!0x0);else{if(!this['_savedMetaData']['has'](_0x4868a3)){const _0x2af5f6=this['_getPreviousFrom'](_0x4868a3);this['_calculateMetaData'](_0x2af5f6,_0x4868a3,!0x1);}this['_calculateMetaData'](_0x4868a3,_0x1eebce,!0x0);}return this['_lastFrom']=_0x4868a3,this['_lastTo']=_0x1eebce,this['_getState']();}['loadState'](_0x2e1672){this['_reset'](),this['_lastFrom']=_0x2e1672['fromVersion'],this['_lastTo']=_0x2e1672['toVersion'];for(const _0x5e1631 in _0x2e1672['diffData']){const _0x21f49b=_0x2e1672['diffData'][_0x5e1631]['attachChange'],_0xbe85d7=_0xcb9185(_0x2e1672['diffData'][_0x5e1631]['attributesBefore'])||{},_0x15d576=this['_makeModelFromViewString'](_0x2e1672['diffData'][_0x5e1631]['deletions']);_0x15d576['rootName']=_0x5e1631,_0x15d576['_isAttached']=!_0x21f49b||!_0x21f49b['isAttached'],_0x15d576['isAttached']=()=>_0x15d576['_isAttached'],this['_baseRoots']['set'](_0x5e1631,_0x15d576),this['_baseRootsAttributes']['set'](_0x5e1631,_0xbe85d7),_0x21f49b&&this['_touchedRoots']['set'](_0x5e1631,_0x21f49b);const _0x5b607f=this['_makeIdsRoot'](_0x15d576);this['_baseIdsRoots']['set'](_0x5e1631,_0x5b607f);for(const [_0x4085e0,_0x4ad0b1]of _0x15d576['markers']){if(!_0x4085e0['startsWith']('revision:'))continue;const _0x3ed18c=_0x4085e0['split'](':')[0x2];for(const _0x2c4ef7 of _0x4ad0b1['getWalker']({'singleCharacters':!0x0})){const _0x7389f1=this['_getVidAttributeName'](_0x2c4ef7),_0x4b9826='elementEnd'==_0x2c4ef7['type']?_0x2c4ef7['previousPosition']['path']['slice'](0x0,-0x1):_0x2c4ef7['previousPosition']['path'],_0x360267=_0x5b607f['getNodeByPath'](_0x4b9826)['getAttribute'](_0x7389f1);this['_touched']['set'](_0x360267,{'userId':_0x3ed18c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x294f73=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1d0510=>!this['_touched']['has'](_0x1d0510));let _0x1bc55e=0x0;const _0x2d024c=new Map();for(const _0x2a272e in _0x2e1672['diffData']){const _0x20148d=_0x2e1672['diffData'][_0x2a272e]['attachChange'],_0x3439cb=_0xcb9185(_0x2e1672['diffData'][_0x2a272e]['attributesAfter'])||{},_0x5c30ba=this['_makeModelFromViewString'](_0x2e1672['diffData'][_0x2a272e]['insertions']);_0x5c30ba['rootName']=_0x2a272e,_0x5c30ba['_isAttached']=!_0x20148d||_0x20148d['isAttached'],_0x5c30ba['isAttached']=()=>_0x5c30ba['_isAttached'],this['_diffRoots']['set'](_0x2a272e,_0x5c30ba),this['_diffRootsAttributes']['set'](_0x2a272e,_0x3439cb);const _0x136837=this['_makeIdsRoot'](_0x5c30ba,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2a272e,_0x136837),_0x2d024c['set'](_0x2a272e,_0x5c30ba['isAttached']()?_0x3439cb:{});for(const [_0x26efc6,_0x55b223]of _0x5c30ba['markers']){if(!_0x26efc6['startsWith']('revision:'))continue;const _0x3c4329=_0x26efc6['split'](':')[0x2];for(const _0x250462 of _0x55b223['getWalker']({'singleCharacters':!0x0})){const _0x7df47b=this['_getVidAttributeName'](_0x250462),_0x23127d=this['_revisionId']++,_0x4d501b='elementEnd'==_0x250462['type']?_0x250462['previousPosition']['path']['slice'](0x0,-0x1):_0x250462['previousPosition']['path'];_0x136837['getNodeByPath'](_0x4d501b)['_setAttribute'](_0x7df47b,_0x23127d),this['_touched']['set'](_0x23127d,{'userId':_0x3c4329});}}for(const _0x38423f of this['editor']['model']['createRangeIn'](_0x5c30ba)['getWalker']({'singleCharacters':!0x0})){const _0x35ca68=this['_getVidAttributeName'](_0x38423f),_0x4b156c='elementEnd'==_0x38423f['type']?_0x38423f['previousPosition']['path']['slice'](0x0,-0x1):_0x38423f['previousPosition']['path'],_0x3660f3=_0x136837['getNodeByPath'](_0x4b156c);_0x3660f3['getAttribute'](_0x35ca68)>0x0||_0x3660f3['_setAttribute'](_0x35ca68,_0x294f73[_0x1bc55e++]);}for(const [_0x323d33,_0x506085]of _0x5c30ba['markers'])_0x323d33['startsWith']('revision:')||this['_markers']['set'](_0x323d33,_0x506085);}const _0x53dda7=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x53dda7),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x53dda7,0x1));const _0x4ebbb4=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4ebbb4),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4ebbb4,0x1));const _0x52428a=Array['from'](this['_diffRoots'])['map'](([_0x3c52d1,_0x39575a])=>[_0x3c52d1,q(_0x39575a)]);this['_saveMetaData'](this['_lastTo'],_0x52428a,this['_markers'],_0x2d024c);}['_makeModelFromViewString'](_0x2bcf10){const _0x2c7cf3=JSON['parse'](_0x2bcf10),_0x1fda9b=this['editor']['editing']['view']['document'],_0x5d9eab=new _0x5df9bc(_0x1fda9b,_0x2c7cf3['map'](_0x12bc6d=>B(_0x12bc6d,this['editor'])));return this['editor']['data']['toModel'](_0x5d9eab);}['_saveMetaData'](_0xaf96d,_0x203248,_0x2f16f4,_0xd5da84){const _0x36f34a=new Map(_0x203248),_0x2f6ba5=new Map(_0xcb9185(_0xd5da84)),_0x5475b0=new Map();for(const [_0x5929cd,_0xafe5d0]of _0x2f16f4)_0x5475b0['set'](_0x5929cd,{'start':_0xafe5d0['start']['clone'](),'end':_0xafe5d0['end']['clone'](),'rootName':_0xafe5d0['root']['rootName']});this['_savedMetaData']['set'](_0xaf96d,{'roots':_0x36f34a,'markers':_0x5475b0,'rootsAttributes':_0x2f6ba5});}['_removeMetaData'](_0x1e8318){this['_savedMetaData']['delete'](_0x1e8318);}['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'](_0x64fb7,_0x475468=null){let _0x1600d1=null;_0x64fb7['is']('documentFragment')||(_0x1600d1=new ft(_0x64fb7['name'],{'vid_start':null===_0x475468?this['_revisionId']++:_0x475468++}));const _0x4d3cb0=[];for(const _0x1c90bb of _0x64fb7['getChildren']())if(_0x1c90bb['is']('element')){_0x4d3cb0['push'](this['_makeIdsRoot'](_0x1c90bb,_0x475468));const _0x379dd6=_0x4d3cb0[_0x4d3cb0['length']-0x1];null!==_0x475468&&(_0x475468=_0x379dd6['is']('element','$text')?_0x379dd6['getAttribute']('vid')+0x1:_0x379dd6['getAttribute']('vid_end')+0x1);}else{for(let _0x35a27f=0x0;_0x35a27f<_0x1c90bb['offsetSize'];_0x35a27f++)_0x4d3cb0['push'](new ft('$text',{'vid':null===_0x475468?this['_revisionId']++:_0x475468++}));}if(_0x64fb7['is']('documentFragment')){const _0x191983=G(_0x64fb7['rootName']);return _0x191983['_insertChild'](0x0,_0x4d3cb0),_0x191983;}return _0x1600d1['_setAttribute']('vid_end',null===_0x475468?this['_revisionId']++:_0x475468++),_0x1600d1['_insertChild'](0x0,_0x4d3cb0),_0x1600d1;}['_calculateMetaData'](_0x1c1ca6,_0x3637df,_0x28c12b){this['_reset']();const {roots:_0x4ea3a4,markers:_0x2c7e13,rootsAttributes:_0x33b5dc}=this['_savedMetaData']['get'](_0x1c1ca6);this['_baseRoots']=new Map(_0x4ea3a4),this['_baseRootsAttributes']=new Map(_0xcb9185(_0x33b5dc));for(const [_0x71d34,_0x2531b2]of this['_baseRoots'])if('$graveyard'!==_0x71d34&&(this['_diffRoots']['set'](_0x71d34,q(_0x2531b2)),this['_diffRootsAttributes']=new Map(_0xcb9185(_0x33b5dc)),_0x28c12b)){const _0x486631=this['_revisionId'];this['_idsRoots']['set'](_0x71d34,this['_makeIdsRoot'](_0x2531b2)),this['_baseIdsRoots']['set'](_0x71d34,this['_makeIdsRoot'](_0x2531b2,_0x486631));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x28c12b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2cd54b,_0x5d053f]of _0x2c7e13){const _0x23c2ef=this['_baseRoots']['get'](_0x5d053f['rootName']),_0x18e7ca=this['_diffRoots']['get'](_0x5d053f['rootName']),_0x58c962=new vt(this['_fixPosition'](_0x5d053f['start'],_0x23c2ef),this['_fixPosition'](_0x5d053f['end'],_0x23c2ef)),_0x57ba05=this['_fixRange'](_0x58c962,_0x18e7ca);_0x23c2ef['markers']['set'](_0x2cd54b,_0x58c962),this['_markers']['set'](_0x2cd54b,_0x57ba05);}this['_applyOperations'](_0x1c1ca6,_0x3637df,_0x28c12b);}['_applyOperations'](_0x3ab384,_0x16f343,_0x2151b2){for(const _0x271f4a of this['source']['getOperations'](_0x3ab384,_0x16f343))this['_handleOperation'](_0x271f4a,_0x2151b2);for(const _0x5b1b2a of this['_diffRoots']['values']())_0x5b1b2a['markers']['clear']();for(const [_0x1612d4,_0x5e819d]of this['_markers']){this['_diffRoots']['get'](_0x5e819d['root']['rootName'])['markers']['set'](_0x1612d4,_0x5e819d['clone']());}const _0x4a57f4=new Map(),_0x314858=new Map();for(const [_0x2efbdc,_0x19af05]of this['_diffRoots'])_0x4a57f4['set'](_0x2efbdc,q(_0x19af05)),_0x314858['set'](_0x2efbdc,this['_diffRootsAttributes']['get'](_0x2efbdc));this['_saveMetaData'](_0x16f343,_0x4a57f4,this['_markers'],_0x314858);}['_getPreviousFrom'](_0x46d0e0){const _0x295182=Array['from'](this['_savedMetaData']['keys']());_0x295182['sort']((_0x1ba1af,_0x59af95)=>_0x1ba1af-_0x59af95),_0x295182['reverse']();for(const _0x13f731 of _0x295182)if(_0x13f731<_0x46d0e0)return _0x13f731;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4f82bb,_0x12d58e){const _0x15bc7f=Array['from'](_0x12d58e['markers'])['map'](([_0x5ce7ba,_0x1161c1])=>[_0x5ce7ba,this['_fixRange'](_0x1161c1,_0x4f82bb)]);_0x4f82bb['markers']=new Map(_0x15bc7f);}['_transformMarkers'](_0x20f2ac){for(const _0x1da301 of this['_markers']['values']()){const _0x44c105=_0x1da301['getTransformedByOperation'](_0x20f2ac),_0x172a64=vt['_createFromRanges'](_0x44c105);_0x1da301['start']=_0x172a64['start'],_0x1da301['end']=_0x172a64['end'];}}['_handleOperation'](_0x5af210,_0x2b719c){if('addRoot'==_0x5af210['type']||'detachRoot'==_0x5af210['type'])return void this['_handleRootOperation'](_0x5af210,_0x2b719c);if('insert'==_0x5af210['type']){const _0x4f4d3c=_0x5af210['position']['root']['rootName'];this['_diffRoots']['has'](_0x4f4d3c)||(this['_diffRoots']['set'](_0x4f4d3c,G(_0x4f4d3c,!0x0)),this['_diffRootsAttributes']['set'](_0x4f4d3c,{}),_0x2b719c&&this['_idsRoots']['set'](_0x4f4d3c,G(_0x4f4d3c,!0x0)));}else{if('addRootAttribute'==_0x5af210['type']||'removeRootAttribute'==_0x5af210['type']||'changeRootAttribute'==_0x5af210['type'])return void this['_handleRootAttributeOperation'](_0x5af210);}const _0x28abbb=this['_cloneOperation'](_0x5af210,this['_diffRoots']);if('marker'!==_0x5af210['type']&&(_0x28abbb['_execute'](),this['_transformMarkers'](_0x28abbb)),_0x2b719c)switch(_0x28abbb['type']){case'insert':this['_handleInsertOperation'](_0x5af210);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5af210);break;case'merge':this['_handleMergeOperation'](_0x5af210);break;case'split':this['_handleSplitOperation'](_0x5af210);break;case'marker':this['_handleMarkerOperation'](_0x5af210);}}['_cloneOperation'](_0x260c5d,_0x5b287a){const _0x4958aa=_0x260c5d['clone']();return _0x4958aa['_authorId']=_0x260c5d['_authorId'],this['_fixOperation'](_0x4958aa,_0x5b287a),_0x4958aa;}['_getBaseVids'](_0x65b32c){return _0x65b32c['map'](_0x4cb35d=>{const _0x510090=this['_getVidAttributeName'](_0x4cb35d);return Number(_0x4cb35d['item']['getAttribute'](_0x510090));});}['_generateTape'](_0x4698fa,_0x33fb14){if(_0x4698fa['is']('element','$text'))_0x33fb14['push']({'item':_0x4698fa,'type':'text'});else{_0x4698fa['is']('element')&&_0x33fb14['push']({'item':_0x4698fa,'type':'elementStart'});for(const _0x3db52c of _0x4698fa['getChildren']())this['_generateTape'](_0x3db52c,_0x33fb14);_0x4698fa['is']('element')&&_0x33fb14['push']({'item':_0x4698fa,'type':'elementEnd'});}return _0x33fb14;}['_getState'](){const _0x342b4c=new Map(this['_touched']),_0x16272d=new Map(_0x342b4c),_0x49ee6d=new Map(),_0x3baf84={'insertions':{},'deletions':{}},_0x51dd71={'insertions':{},'deletions':{}},_0x411ee5=new Map(),_0x445d42=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x445d42['delete']('$graveyard');for(const _0x10b2e3 of _0x445d42){const _0x2fbf3d=this['_diffRoots']['get'](_0x10b2e3)||G(_0x10b2e3,!0x1),_0x443230=this['_baseRoots']['get'](_0x10b2e3)||G(_0x10b2e3,!0x1);_0x2fbf3d['isAttached']()||_0x443230['isAttached']()?(_0x3baf84['insertions'][_0x10b2e3]=q(_0x2fbf3d),_0x3baf84['deletions'][_0x10b2e3]=q(_0x443230),this['_copyMarkers'](_0x3baf84['deletions'][_0x10b2e3],_0x443230),this['_copyMarkers'](_0x3baf84['insertions'][_0x10b2e3],_0x2fbf3d),_0x51dd71['insertions'][_0x10b2e3]=this['_generateTape'](this['_idsRoots']['get'](_0x10b2e3),[]),_0x51dd71['deletions'][_0x10b2e3]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x10b2e3)||G(_0x10b2e3,!0x1),[])):_0x445d42['delete'](_0x10b2e3);}for(const _0x3445cf of _0x445d42){const _0x2a7c52=_0x51dd71['insertions'][_0x3445cf];for(const _0x5d6101 of _0x2a7c52){const _0x285196=this['_getVidAttributeName'](_0x5d6101),_0x463c9b=_0x5d6101['item']['getAttribute'](_0x285196);_0x16272d['delete'](_0x463c9b),_0x463c9b>=this['_startingRevisionId']&&_0x49ee6d['set'](_0x463c9b,_0x342b4c['get'](_0x463c9b));}}for(const _0x8b7611 of _0x445d42){const _0x811568=_0x51dd71['insertions'][_0x8b7611],_0x2d43f2=this['_getBaseVids'](_0x51dd71['deletions'][_0x8b7611]);let _0x56d680=0x0;for(const _0x213c5a of _0x811568){const _0x38ef0c=this['_getVidAttributeName'](_0x213c5a),_0x3cc249=_0x213c5a['item']['getAttribute'](_0x38ef0c);if(!_0x49ee6d['has'](_0x3cc249)&&!_0x411ee5['has'](_0x3cc249)){if(_0x16272d['has'](_0x3cc249))_0x56d680++;else{if(_0x3cc249!=_0x2d43f2[_0x56d680]){const _0x1ab142=_0x342b4c['get'](_0x3cc249)||_0x342b4c['get'](_0x2d43f2[_0x56d680]);for(;_0x3cc249!=_0x2d43f2[_0x56d680];)_0x16272d['has'](_0x2d43f2[_0x56d680])||(_0x411ee5['set'](_0x2d43f2[_0x56d680],_0x1ab142),_0x342b4c['set'](_0x2d43f2[_0x56d680],_0x1ab142)),_0x56d680++;}_0x56d680++;}}}}for(const _0x53f174 of _0x445d42){const _0x3710f1=_0x51dd71['insertions'][_0x53f174];for(const _0x2bb402 of _0x3710f1){const _0xc26260=this['_getVidAttributeName'](_0x2bb402),_0x1ba1c5=_0x2bb402['item']['getAttribute'](_0xc26260);if(_0x411ee5['has'](_0x1ba1c5)){const _0x635dcc=_0x411ee5['get'](_0x1ba1c5);_0x16272d['has'](_0x1ba1c5)||_0x16272d['set'](_0x1ba1c5,{..._0x635dcc}),_0x49ee6d['set'](_0x1ba1c5,{..._0x635dcc});}}}for(const _0xcada9b of _0x16272d['keys']())_0xcada9b>=this['_startingRevisionId']&&_0x16272d['delete'](_0xcada9b);const _0x1a7233=new Map();for(const _0x202756 of _0x445d42){let _0x3aed55=_0x51dd71['insertions'][_0x202756];for(const _0x41db74 of _0x3aed55)if(_0x41db74['item']['is']('element','tableCell')){const _0x4e0c69=this['_getVidAttributeName'](_0x41db74),_0x368d1b=_0x41db74['item']['getAttribute'](_0x4e0c69);if(_0x49ee6d['has'](_0x368d1b)){const _0x159a9d=_0x41db74['item']['parent']['parent']['getAttribute']('vid_start'),_0x192fa9=_0x1a7233['get'](_0x159a9d)||new Set();_0x192fa9['add'](_0x49ee6d['get'](_0x368d1b)['userId']),_0x1a7233['set'](_0x159a9d,_0x192fa9);}}_0x3aed55=_0x51dd71['deletions'][_0x202756];for(const _0x384ff6 of _0x3aed55)if(_0x384ff6['item']['is']('element','tableCell')){const _0xa39889=this['_getVidAttributeName'](_0x384ff6),_0x3fcc83=_0x384ff6['item']['getAttribute'](_0xa39889);if(_0x16272d['has'](_0x3fcc83)){const _0x208e8e=_0x384ff6['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a0acd=_0x1a7233['get'](_0x208e8e)||new Set();_0x2a0acd['add'](_0x16272d['get'](_0x3fcc83)['userId']),_0x1a7233['set'](_0x208e8e,_0x2a0acd);}}for(const _0x3aeaee of _0x1a7233['keys']())(_0x49ee6d['has'](_0x3aeaee)||_0x16272d['has'](_0x3aeaee))&&_0x1a7233['delete'](_0x3aeaee);}for(const _0x5b51ec of _0x445d42){const _0x4088b6=_0x51dd71['insertions'][_0x5b51ec];let _0x1825ba=null,_0x4d72d2=null;for(const _0x429225 of _0x4088b6){const _0x36a53a=this['_getVidAttributeName'](_0x429225),_0x3098c3=_0x429225['item']['getAttribute'](_0x36a53a),_0x22095b=_0x1a7233['get'](_0x3098c3);_0x22095b&&'elementStart'==_0x429225['type']&&(_0x1825ba=Array['from'](_0x22095b)[0x0],_0x4d72d2=_0x429225['item']['getAttribute']('vid_end')),_0x1825ba&&(_0x16272d['set'](_0x3098c3,{'userId':_0x1825ba}),_0x49ee6d['set'](_0x3098c3,{'userId':_0x1825ba})),_0x3098c3==_0x4d72d2&&(_0x1825ba=null,_0x4d72d2=null);}}const _0x467a66={},_0x25937b=new Set();for(const _0x3273ae of _0x445d42){const _0x2fd575=_0x3baf84['deletions'][_0x3273ae],_0x14c3c3=_0x3baf84['insertions'][_0x3273ae];for(const {userId:_0x45c261}of this['_touchedMarkers']['values']())null!==_0x45c261&&_0x25937b['add'](_0x45c261);for(const {userId:_0x1e73e9}of this['_touchedRoots']['values']())null!==_0x1e73e9&&_0x25937b['add'](_0x1e73e9);this['_markChanges'](_0x14c3c3,_0x51dd71['insertions'][_0x3273ae],_0x49ee6d,'insertion',_0x25937b),this['_markChanges'](_0x2fd575,_0x51dd71['deletions'][_0x3273ae],_0x16272d,'deletion',_0x25937b),_0x467a66[_0x3273ae]={'insertions':this['_prepareViewToSave'](_0x14c3c3),'deletions':this['_prepareViewToSave'](_0x2fd575),'attachChange':this['_touchedRoots']['get'](_0x3273ae)||null,'attributesBefore':_0xcb9185(this['_baseRootsAttributes']['get'](_0x3273ae))||{},'attributesAfter':_0xcb9185(this['_diffRootsAttributes']['get'](_0x3273ae))};}return{'diffData':_0x467a66,'authorsIds':Array['from'](_0x25937b)};}['_processRootBeforeSave'](_0x1d666f){for(const [,_0x512c7e]of _0x1d666f['markers']){const _0x21c11e=_0x512c7e['start']['getAncestors']()['filter'](_0x2582a8=>'tableCell'==_0x2582a8['name']);for(const _0xfb25a of _0x21c11e)0x1==_0xfb25a['childCount']&&_0xfb25a['getChild'](0x0)['is']('element','paragraph')&&_0xfb25a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4be9dc){this['_processRootBeforeSave'](_0x4be9dc);const _0x41b3e6=this['editor']['data']['toView'](_0x4be9dc,{}),_0x5d74dd=Array['from'](_0x41b3e6['getChildren']())['map'](_0x5cb645=>this['_getViewJson'](_0x5cb645));return JSON['stringify'](_0x5d74dd);}['_getViewJson'](_0x36b588){if(_0x36b588['is']('$text'))return _0x36b588['data'];{const _0x3aac4b=_0x36b588;return{'type':Object['keys'](T)['find'](_0x269bea=>_0x36b588 instanceof T[_0x269bea]),'name':_0x3aac4b['name'],'attributes':Array['from'](_0x3aac4b['getAttributes']()),'children':Array['from'](_0x3aac4b['getChildren']())['map'](_0xefd026=>this['_getViewJson'](_0xefd026))};}}['_markChanges'](_0x371626,_0x216b93,_0x42113b,_0x2d88aa,_0xcf4431){let _0x2416db=null,_0xfaec95=null,_0x4b5ec2=0x0;const _0x5708ee=this['editor']['model'];for(let _0x4bea0e=0x0;_0x4bea0e<_0x216b93['length'];_0x4bea0e++){const _0x12f7ff=this['_getVidAttributeName'](_0x216b93[_0x4bea0e]),_0x1476da=_0x216b93[_0x4bea0e]['item']['getAttribute'](_0x12f7ff),_0xdb5f5a=_0x42113b['get'](_0x1476da),_0x124fed=_0x4bea0e==_0x216b93['length']-0x1;(!_0x2416db&&_0xdb5f5a&&(_0x2416db=_0xdb5f5a,_0xfaec95=_0x216b93[_0x4bea0e]),_0x2416db&&(!_0xdb5f5a||_0xdb5f5a['userId']!=_0x2416db['userId']))&&(_0x142bd6(_0xdb5f5a,L(_0xfaec95,_0x371626,_0x5708ee),L(_0x216b93[_0x4bea0e],_0x371626,_0x5708ee)),_0x2416db=_0xdb5f5a||null,_0xfaec95=_0xdb5f5a?_0x216b93[_0x4bea0e]:null),_0x2416db&&_0x124fed&&_0x142bd6(_0xdb5f5a,L(_0xfaec95,_0x371626,_0x5708ee),W(_0x216b93[_0x4bea0e],_0x371626,_0x5708ee));}function _0x142bd6(_0x5b255c,_0x1ffbe8,_0x81e618){const _0x34ead2=_0x2416db['userId'],_0x37eb60='revision:'+_0x2d88aa+':'+_0x34ead2+':'+_0x4b5ec2++,_0x150f88=_0x5708ee['createRange'](_0x1ffbe8,_0x81e618);_0x371626['markers']['set'](_0x37eb60,_0x150f88),null!==_0x34ead2&&_0xcf4431['add'](_0x34ead2);}}['_getVidAttributeName'](_0x25240b){switch(_0x25240b['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x597ed0,_0x276c64){_0x597ed0['baseVersion']=null;for(const _0x4969e1 in _0x597ed0){const _0x23f597=_0x597ed0[_0x4969e1];if(_0x23f597 instanceof gt){const _0x9f981e=_0x276c64['get'](_0x23f597['root']['rootName']);_0x597ed0[_0x4969e1]=this['_fixPosition'](_0x23f597,_0x9f981e);}if(_0x23f597 instanceof vt){const _0x23f30f=_0x276c64['get'](_0x23f597['root']['rootName']);_0x597ed0[_0x4969e1]=this['_fixRange'](_0x23f597,_0x23f30f);}'root'===_0x4969e1&&(_0x597ed0['root']=_0x276c64['get'](_0x597ed0['root']['rootName']));}}['_fixRange'](_0x576f4e,_0x2dc2a2){return this['editor']['model']['createRange'](this['_fixPosition'](_0x576f4e['start'],_0x2dc2a2),this['_fixPosition'](_0x576f4e['end'],_0x2dc2a2));}['_fixPosition'](_0x1a8f1a,_0x223694){return this['editor']['model']['createPositionFromPath'](_0x223694,_0x1a8f1a['path'],_0x1a8f1a['stickiness']);}['_handleInsertOperation'](_0x26ae7f){const _0x383de=this['_idsRoots']['get'](_0x26ae7f['position']['root']['rootName']),_0xd057bc=this['_fixPosition'](_0x26ae7f['position'],_0x383de),_0x6c703e=null===_0x26ae7f['_authorId']?null:_0x26ae7f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x32ce69=_0xd057bc['parent'],_0x4642ea=this['_revisionId'],_0x196b8e=[];for(const _0x14e3a5 of _0x26ae7f['nodes'])if(_0x14e3a5['is']('element'))_0x196b8e['push'](this['_makeIdsRoot'](_0x14e3a5));else{for(let _0x561f4f=0x0;_0x561f4f<_0x14e3a5['offsetSize'];_0x561f4f++)_0x196b8e['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1a6e22=this['_revisionId'];for(let _0x23362a=_0x4642ea;_0x23362a<_0x1a6e22;_0x23362a++)this['_touched']['set'](_0x23362a,{'userId':_0x6c703e});_0x32ce69['_insertChild'](_0xd057bc['offset'],_0x196b8e);}['_handleMoveOperation'](_0xcbacbe){(_0xcbacbe=this['_cloneOperation'](_0xcbacbe,this['_idsRoots']))['_execute']();const _0x49d4eb=null===_0xcbacbe['_authorId']?null:_0xcbacbe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d6b17=_0xcbacbe['getMovedRangeStart'](),_0x3f36a6=_0x1d6b17['parent'],_0x59c3fa=_0x1d6b17['offset'];!function _0x5e2943(_0x21b8bb,_0x2ad1cc,_0x26601f,_0x584d67){for(let _0x50d022=_0x26601f;_0x50d022<_0x584d67;_0x50d022++){const _0x1bd598=_0x2ad1cc['getChild'](_0x50d022);_0x1bd598['is']('element','$text')?_0x21b8bb['set'](_0x1bd598['getAttribute']('vid'),{'userId':_0x49d4eb}):(_0x21b8bb['set'](_0x1bd598['getAttribute']('vid_start'),{'userId':_0x49d4eb}),_0x5e2943(_0x21b8bb,_0x1bd598,0x0,_0x1bd598['childCount']),_0x21b8bb['set'](_0x1bd598['getAttribute']('vid_end'),{'userId':_0x49d4eb}));}}(this['_touched'],_0x3f36a6,_0x59c3fa,_0x59c3fa+_0xcbacbe['howMany']);}['_handleMergeOperation'](_0xc12f2e){const _0x5f05a8=null===(_0xc12f2e=this['_cloneOperation'](_0xc12f2e,this['_idsRoots']))['_authorId']?null:_0xc12f2e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x6093d6=_0xc12f2e['targetPosition']['parent'],_0x4a3390=_0xc12f2e['sourcePosition']['parent'],_0x1cb819=_0x6093d6['getAttribute']('vid_end'),_0x43562a=_0x4a3390['getAttribute']('vid_start');_0x6093d6['_setAttribute']('vid_end',_0x4a3390['getAttribute']('vid_end')),_0x4a3390['_setAttribute']('vid_end',_0x1cb819),this['_touched']['set'](_0x43562a,{'userId':_0x5f05a8}),this['_touched']['set'](_0x1cb819,{'userId':_0x5f05a8}),_0xc12f2e['_execute']();}['_handleSplitOperation'](_0x5cc1c0){const _0x602ff3=null===(_0x5cc1c0=this['_cloneOperation'](_0x5cc1c0,this['_idsRoots']))['_authorId']?null:_0x5cc1c0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e78eb=_0x5cc1c0['graveyardPosition'],_0x46a775=_0x5cc1c0['splitPosition']['parent'];_0x5cc1c0['_execute']();const _0x3df191=_0x46a775['getAttribute']('vid_end'),_0x1b0bcb=_0x5cc1c0['insertionPosition']['nodeAfter'];if(_0x1e78eb){const _0x2cafed=_0x1b0bcb['getAttribute']('vid_end'),_0x16b411=_0x46a775['getAttribute']('vid_end');_0x46a775['_setAttribute']('vid_end',_0x2cafed),_0x1b0bcb['_setAttribute']('vid_end',_0x16b411),this['_touched']['set'](_0x46a775['getAttribute']('vid_end'),{'userId':_0x602ff3}),this['_touched']['set'](_0x1b0bcb['getAttribute']('vid_start'),{'userId':_0x602ff3});}else{const _0x57a452=this['_revisionId']++,_0x2e2acf=this['_revisionId']++;_0x46a775['_setAttribute']('vid_end',_0x57a452),_0x1b0bcb['_setAttribute']('vid_start',_0x2e2acf),_0x1b0bcb['_setAttribute']('vid_end',_0x3df191),this['_touched']['set'](_0x57a452,{'userId':_0x602ff3}),this['_touched']['set'](_0x2e2acf,{'userId':_0x602ff3});}}['_handleMarkerOperation'](_0x46836f){if(!_0x46836f['affectsData'])return;const _0x36bd91=(_0x46836f=this['_cloneOperation'](_0x46836f,this['_diffRoots']))['oldRange']?_0x46836f['oldRange']['root']:null,_0x4dfbd1=_0x46836f['newRange']?_0x46836f['newRange']['root']:null;_0x36bd91&&this['_markers']['delete'](_0x46836f['name']),_0x4dfbd1&&this['_markers']['set'](_0x46836f['name'],_0x46836f['newRange']['clone']());const _0x5d137d=null===_0x46836f['_authorId']?null:_0x46836f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4df2ae=_0x46836f['name'];if(!this['_touchedMarkers']['has'](_0x4df2ae))return void this['_touchedMarkers']['set'](_0x4df2ae,{'range':_0x46836f['oldRange'],'userId':_0x5d137d});const _0x6aada5=this['_touchedMarkers']['get'](_0x4df2ae),_0x187d72=_0x6aada5['range'],_0x5b9fe8=_0x46836f['newRange'];null==_0x187d72&&null==_0x5b9fe8||_0x187d72&&_0x5b9fe8&&_0x187d72['isEqual'](_0x5b9fe8)?this['_touchedMarkers']['delete'](_0x46836f['name']):_0x6aada5['userId']=_0x5d137d;}['_handleRootOperation'](_0x4db15f,_0x18d5fe){this['_diffRoots']['has'](_0x4db15f['rootName'])?this['_diffRoots']['get'](_0x4db15f['rootName'])['_isAttached']=_0x4db15f['isAdd']:(this['_diffRoots']['set'](_0x4db15f['rootName'],G(_0x4db15f['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4db15f['rootName'],{}),_0x18d5fe&&this['_idsRoots']['set'](_0x4db15f['rootName'],G(_0x4db15f['rootName'],!0x0)));const _0x2e5ea5=null===_0x4db15f['_authorId']?null:_0x4db15f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4956f9=this['_touchedRoots']['get'](_0x4db15f['rootName']);_0x4956f9&&_0x4956f9['userId']===_0x2e5ea5?this['_touchedRoots']['delete'](_0x4db15f['rootName']):this['_touchedRoots']['set'](_0x4db15f['rootName'],{'userId':_0x2e5ea5,'isAttached':_0x4db15f['isAdd']});}['_handleRootAttributeOperation'](_0x1c0e85){const _0x3f7549=this['_diffRootsAttributes']['get'](_0x1c0e85['root']['rootName']);null===_0x1c0e85['newValue']?delete _0x3f7549[_0x1c0e85['key']]:_0x3f7549[_0x1c0e85['key']]=_0x1c0e85['newValue'];}}function q(_0x81beed){const _0x17b17c=G(_0x81beed['rootName'],_0x81beed['isAttached']());for(const _0x43a714 of _0x81beed['getChildren']()){const _0x273342=_0x43a714['_clone'](!0x0);_0x17b17c['_appendChild'](_0x273342);}return _0x17b17c;}function G(_0x42f2f8,_0x275aab=!0x0){const _0x2ab88b=new wt();return _0x2ab88b['rootName']=_0x42f2f8,_0x2ab88b['_isAttached']=_0x275aab,_0x2ab88b['isAttached']=()=>_0x2ab88b['_isAttached'],_0x2ab88b;}function L(_0x2bd67e,_0x7a74ec,_0x41143b){const _0x3b1f51='elementEnd'==_0x2bd67e['type']?_0x41143b['createPositionAt'](_0x2bd67e['item'],'end'):_0x41143b['createPositionBefore'](_0x2bd67e['item']);return _0x41143b['createPositionFromPath'](_0x7a74ec,_0x3b1f51['path'],_0x3b1f51['stickiness']);}function W(_0x24d76b,_0x2cfb04,_0x16030c){const _0x5c932b='elementStart'==_0x24d76b['type']?_0x16030c['createPositionAt'](_0x24d76b['item'],0x0):_0x16030c['createPositionAfter'](_0x24d76b['item']);return _0x16030c['createPositionFromPath'](_0x2cfb04,_0x5c932b['path'],_0x5c932b['stickiness']);}class ns extends _0x56415b{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2c31a4,_0x1d2820){super(_0x2c31a4),this['focusTracker']=new _0x3881a7(),this['keystrokes']=new _0x5a7665(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1d2820),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'](),_0x50c97a({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2e81c1=_0x3e11c1=>_0x3e11c1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2e81c1),this['keystrokes']['set']('arrowleft',_0x2e81c1),this['keystrokes']['set']('arrowup',_0x2e81c1),this['keystrokes']['set']('arrowdown',_0x2e81c1);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x36fd81){this['revisionNameInputView']['fieldView']['element']['value']=_0x36fd81['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3ce653){const _0x486a2c=new at(this['locale'],_0x2369c7),_0x36fe2c=_0x486a2c['fieldView'];_0x36fe2c['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2995b6=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3ce653&&(_0x2995b6+='\x20('+y(this['locale'],'optional')+')'),(_0x486a2c['label']=_0x2995b6,_0x36fe2c['on']('input',()=>{this['revisionNameInputValue']=_0x36fe2c['element']['value']['trim']();}),_0x486a2c);}}class u extends _0x43c7ea{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1d664d=this['editor'],_0x42bc16=_0x1d664d['plugins']['get']('RevisionTracker');_0x1d664d['ui']['componentFactory']['add']('revisionHistory',_0xe5329=>{const _0x2c0259=_0x4877f3(_0xe5329),_0x169f24=_0x2c0259['panelView']['children'],_0x488b3e=new te(_0xe5329),_0x158be9=new _0x45adc8(_0xe5329),_0xd1d4a2=new _0x18a6b1(_0xe5329),_0x55ac3d=new _0x45adc8(_0xe5329),_0x5c821a=new _0x18a6b1(_0xe5329);return _0x2c0259['bind']('isEnabled')['to'](_0x42bc16,'isReady',_0x42bc16,'isEnabled',_0x1d664d,'isReadOnly',(_0x2f63ee,_0x2c0794,_0x5b744d)=>_0x2f63ee&&_0x2c0794&&!_0x5b744d),_0x2c0259['buttonView']['set']({'icon':_0x7774c5['history'],'label':y(_0xe5329,'Revision\x20history'),'tooltip':!0x0}),_0xd1d4a2['set']({'label':y(_0xe5329,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xd1d4a2['bind']('isEnabled')['to'](_0x42bc16,'isReady',_0x42bc16,'isEnabled',_0x1d664d,'isReadOnly',(_0x8d6bc6,_0x32b1bd,_0x84e7c3)=>_0x8d6bc6&&_0x32b1bd&&!_0x84e7c3),_0xd1d4a2['on']('execute',()=>this['_showDialog']()),_0x5c821a['set']({'label':y(_0xe5329,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5c821a['bind']('isEnabled')['to'](_0x42bc16,'isReady',_0x1d664d,'isReadOnly',(_0x35caf0,_0x129551)=>_0x35caf0&&!_0x129551),_0x5c821a['on']('execute',()=>{_0x1d664d['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x2c0259['isOpen']=!0x1,_0x1d664d['editing']['view']['focus']();}),_0x158be9['children']['add'](_0xd1d4a2),_0x55ac3d['children']['add'](_0x5c821a),_0x488b3e['role']='menu',_0x488b3e['items']['addMany']([_0x158be9,_0x55ac3d]),_0x169f24['add'](_0x488b3e),_0x2c0259;}),_0x1d664d['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3aa993=this['editor'],_0x32fa73=_0x3aa993['locale'],_0x5436fe=new _0x35bbb0(_0x32fa73),_0x32e575=new _0x1a6da0(_0x32fa73);_0x5436fe['buttonView']['set']({'icon':_0x7774c5['history'],'label':y(_0x32fa73,'Revision\x20history')});const _0x354b60=new _0xf4d13a(_0x32fa73,_0x5436fe),_0x575299=new _0x1308c3(_0x32fa73);_0x575299['set']({'label':y(_0x32fa73,'Save\x20current\x20revision')}),_0x575299['delegate']('execute')['to'](_0x5436fe),_0x575299['on']('execute',()=>{this['_showDialog']();}),_0x354b60['children']['add'](_0x575299),_0x32e575['items']['add'](_0x354b60);const _0xcaf5e6=new _0xf4d13a(_0x32fa73,_0x5436fe),_0x5b6c5b=new _0x1308c3(_0x32fa73);return _0x5b6c5b['set']({'label':y(_0x32fa73,'Open\x20revision\x20history')}),_0x5b6c5b['delegate']('execute')['to'](_0x5436fe),_0x5b6c5b['on']('execute',()=>{_0x3aa993['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xcaf5e6['children']['add'](_0x5b6c5b),_0x32e575['items']['add'](_0xcaf5e6),_0x5436fe['panelView']['children']['add'](_0x32e575),_0x5436fe;}['_showDialog'](){const _0x4bc0ac=this['editor'],_0x358190=_0x4bc0ac['locale'],t=_0x358190['t'],_0x6c682d=_0x4bc0ac['plugins']['get']('Dialog'),_0xceb163=_0x4bc0ac['plugins']['get']('RevisionTracker');function _0x23266d(_0x3ebdab){_0x4bc0ac['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3ebdab['revisionName']?_0x3ebdab['revisionNameInputView']['errorText']=y(_0x358190,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4bc0ac['plugins']['get'](l)['saveRevision']({'name':_0x3ebdab['revisionName']}),_0x6c682d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x23266d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x6c682d['show']({'id':'revisionSave','title':y(_0x358190,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x6c682d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x495ef0){_0x495ef0['bind']('isEnabled')['to'](_0xceb163,'isReady',_0xceb163,'isEnabled',_0x4bc0ac,'isReadOnly',(_0x1f24a5,_0x4b698b,_0x50d881)=>_0x1f24a5&&_0x4b698b&&!_0x50d881);},'onExecute':()=>_0x23266d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x395b02=this['editor'],_0x45a723=_0x395b02['locale'];this['_saveRevisionFormView']=new ns(_0x45a723,_0x395b02['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x56415b{['changeId'];['_model'];constructor(_0x14b378,_0x3334ad){super(_0x14b378),this['_model']=_0x3334ad,this['changeId']=_0x3334ad['id'];const _0x83a4ea=this['bindTemplate'],_0x562b86=y(_0x14b378,_0x3334ad['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3334ad['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3334ad['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x83a4ea['to']('type',_0x2a0544=>'ck-revision-change__'+_0x2a0544)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x562b86}]},{'text':'\x20'+_0x3334ad['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x464158(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xfa0aa6){super(),this['id']=_0xfa0aa6['id']||_0x438eb8(),this['author']=_0xfa0aa6['author'],this['type']=_0xfa0aa6['type'],this['data']=_0xfa0aa6['data']||{},this['rootName']=_0xfa0aa6['rootName'],this['set']('createdAt',_0xfa0aa6['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(_0x2efe63,_0x8f9ace){this['newRevisionId']=_0x2efe63,this['oldRevisionId']=_0x8f9ace,this['changes']=new _0x2812dc();}['_setChanges'](_0x50e3c4){for(const _0x37d116 of _0x50e3c4)this['changes']['add'](_0x37d116);}}const tt={'c':_0x28d7fa,'a':_0x21bab5,'e':_0x1e2154,'r':_0x2baa7e,'u':_0x16707d};class d extends _0x43c7ea{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xf9b505,_0x3acc44,A];}constructor(_0x383038){super(_0x383038),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',(_0x5d0e9d,_0x4fc36d,_0x236cfe)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3a4645=>{for(const _0x1de28c of this['editor']['editing']['view']['document']['roots'])_0x236cfe?_0x3a4645['removeClass']('ck-editor__editable__overlay',_0x1de28c):_0x3a4645['addClass']('ck-editor__editable__overlay',_0x1de28c);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x43aa96=>null!==_0x43aa96),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x216a18,_0x18a8b7,_0x4a57df)=>_0x216a18&&_0x4a57df?_0x18a8b7['changes']['getIndex'](_0x4a57df):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2b3b71,_0x188e7d)=>_0x2b3b71?_0x188e7d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3acc44);}['init'](){const _0x30d250=this['editor'],_0x4ceeda=new yt(_0x30d250,{'direction':'backward'}),_0x2302c0=new yt(_0x30d250,{'direction':'forward'});(_0x30d250['commands']['add']('showPreviousChange',_0x4ceeda),_0x30d250['commands']['add']('showNextChange',_0x2302c0),_0x30d250['commands']['add']('restoreRevision',new bt(_0x30d250)),this['on']('change:numberOfChanges',()=>{_0x4ceeda['refresh'](),_0x2302c0['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x30d250['enableReadOnlyMode']('revision-viewer'),_0x30d250['plugins']['has']('WidgetToolbarRepository'))&&_0x30d250['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1aaf2f){await this['loadRevisionData'](_0x1aaf2f);const _0x306aaf={};for(const _0x59c076 in _0x1aaf2f['diffData']){if(_0x1aaf2f['diffData'][_0x59c076]['attachChange']&&!_0x1aaf2f['diffData'][_0x59c076]['attachChange']['isAttached'])continue;const _0x331168=this['_removeRevisionMarkers'](JSON['parse'](_0x1aaf2f['diffData'][_0x59c076]['insertions'])),_0x335ec9=this['editor']['editing']['view']['document'],_0x485349=new _0x5df9bc(_0x335ec9,_0x331168['map'](_0x14c3d1=>this['_getViewObj'](_0x14c3d1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x306aaf[_0x59c076]=this['editor']['data']['processor']['toData'](_0x485349),this['editor']['data']['processor']['useFillerType']('default');}return _0x306aaf;}async['getRevisionRootsAttributes'](_0xc130e8){await this['loadRevisionData'](_0xc130e8);const _0x1501f8={};for(const _0x48fedf in _0xc130e8['diffData'])_0xc130e8['diffData'][_0x48fedf]['attachChange']&&!_0xc130e8['diffData'][_0x48fedf]['attachChange']['isAttached']||(_0x1501f8[_0x48fedf]=_0xc130e8['diffData'][_0x48fedf]['attributesAfter']||{});return _0x1501f8;}['_removeRevisionMarkers'](_0x3eb6a5){return(_0x3eb6a5=_0x3eb6a5['filter'](_0x1dad91=>!_0x1dad91['name']||'revision-start'!==_0x1dad91['name']&&'revision-end'!==_0x1dad91['name']))['forEach'](_0x101ad5=>{'string'!=typeof _0x101ad5&&(_0x101ad5['children']=this['_removeRevisionMarkers'](_0x101ad5['children']),_0x101ad5['attributes']=_0x101ad5['attributes']['filter'](_0x50a43c=>!_0x50a43c[0x0]['startsWith']('data-revision-')));}),_0x3eb6a5;}async['compare'](_0x520b03,_0xc80c46,_0x557ef6=!0x1){if(!this['isEnabled'])return;const _0x394f11=this['diff'],_0x1c63f5=this['repository'],_0x10546e='string'==typeof _0x520b03?_0x1c63f5['getRevision'](_0x520b03):_0x520b03,_0x522221='string'==typeof _0xc80c46?_0x1c63f5['getRevision'](_0xc80c46):_0xc80c46,_0x5e511e=_0x10546e['id'],_0x392963=_0x522221?_0x522221['id']:null;if(!_0x557ef6&&this['diff']&&this['diff']['newRevisionId']===_0x5e511e&&this['diff']['oldRevisionId']===_0x392963)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5e511e,_0x392963);const _0x2515b0=this['_getRevisionsRange'](_0x10546e,_0x522221,!0x0)['map'](_0x220399=>this['loadRevisionData'](_0x220399));return _0x2515b0['push'](new Promise(_0x1705f6=>{setTimeout(_0x1705f6,0x14);})),Promise['all'](_0x2515b0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5c64f3=this['_getDiff'](_0x5e511e,_0x392963);for(const _0x5d86fa of _0x5c64f3['changes'])this['_changeIdToChange']['set'](_0x5d86fa['id'],_0x5d86fa);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1d49d8=>{for(const _0x28baa0 of this['editor']['model']['document']['getRootNames']())_0x1d49d8['detachRoot'](_0x28baa0);for(const _0x22bfb1 of Object['keys'](_0x5c64f3['model'])){const _0x36b0bd=_0x1d49d8['addRoot'](_0x22bfb1);for(const _0x59b1d4 of Object['keys'](_0x5c64f3['attributes'][_0x22bfb1]))_0x1d49d8['setAttribute'](_0x59b1d4,_0x5c64f3['attributes'][_0x22bfb1][_0x59b1d4],_0x36b0bd);_0x1d49d8['insert'](_0x5c64f3['model'][_0x22bfb1],_0x36b0bd,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5c64f3['changes'])),this['isReady']=!0x0;})['catch'](_0x45f46b=>{console['error'](_0x45f46b),this['_cleanUp'](),_0x394f11&&(this['diff']=_0x394f11),this['isReady']=!0x0;});}['addRevisionData'](_0x3aef60,_0x4463f5){const _0x21251f=this['repository']['createRevision'](_0x3aef60);return _0x21251f['on']('_update',(_0xcfbfe6,_0x39786a,_0xfe39c4)=>_0x4463f5(_0x39786a,_0xfe39c4,_0x21251f)),this['repository']['addRevision'](_0x21251f),_0x21251f;}['loadRevisionData'](_0x46e7ff){if(!_0x46e7ff||_0x46e7ff['diffData'])return Promise['resolve']();{const _0x4275c9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4275c9,'revisionId':_0x46e7ff['id']})['then'](_0x2849bd=>{_0x46e7ff['_update']({'diffData':_0x2849bd['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},_0x18c841=>{for(const _0x5b3dab of this['editor']['model']['document']['getRootNames']())_0x18c841['detachRoot'](_0x5b3dab);});}['_sortAndFilterDiffChanges'](_0x19d2b4){const _0x2f8eb5=[],_0x183b39=new Map();for(const _0x37df7b of this['editor']['model']['document']['getRootNames']()){const _0xa1c75c=this['editor']['editing']['view']['getDomRoot'](_0x37df7b);if(!_0xa1c75c)continue;const _0x265c59=_0xa1c75c['getClientRects']()['item'](0x0);_0x265c59&&(_0x2f8eb5['push'](_0x37df7b),_0x183b39['set'](_0x37df7b,_0x265c59));}return _0x2f8eb5['sort']((_0x14655f,_0x4e42c9)=>{const _0x103c78=_0x183b39['get'](_0x14655f),_0x2ba15c=_0x183b39['get'](_0x4e42c9);return _0x103c78['y']-_0x2ba15c['y']||_0x103c78['x']-_0x2ba15c['x'];}),(_0x19d2b4=_0x19d2b4['filter'](_0x2467e0=>_0x2f8eb5['includes'](_0x2467e0['rootName'])))['sort']((_0xfa2c53,_0x452579)=>_0x2f8eb5['indexOf'](_0xfa2c53['rootName'])-_0x2f8eb5['indexOf'](_0x452579['rootName'])),_0x19d2b4;}['_makeTape'](_0x219e42){const _0x122bcc=Array['from'](_0x219e42['markers'])['filter'](([_0x314b68,_0x57130b])=>_0x314b68['startsWith']('revision:')&&!_0x57130b['isCollapsed']),_0x522068=Array['from'](this['editor']['model']['createRangeIn'](_0x219e42)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x122bcc['length'])for(const _0x22d685 of _0x522068){const [_0x3d2c38,_0x1e7dab]=_0x122bcc[0x0],[,_0x14b912,_0x41a1cc]=_0x3d2c38['split'](':');if(_0x1e7dab['end']['isEqual'](_0x22d685['nextPosition'])&&_0x122bcc['shift'](),(_0x22d685['previousPosition']['isEqual'](_0x1e7dab['start'])||_0x22d685['previousPosition']['isAfter'](_0x1e7dab['start']))&&('insertion'==_0x14b912?_0x22d685['isAdded']={'userId':_0x41a1cc}:'deletion'==_0x14b912&&(_0x22d685['isRemoved']={'userId':_0x41a1cc})),0x0==_0x122bcc['length'])break;}return _0x522068;}['_refreshStartEndIndex'](_0x1d41ee){const _0xc9fc7f=new Map();for(let _0x146632=0x0;_0x146632<_0x1d41ee['length'];_0x146632++)'text'===_0x1d41ee[_0x146632]['type']?(_0x1d41ee[_0x146632]['item']['startIndex']=_0x146632,_0x1d41ee[_0x146632]['item']['endIndex']=_0x146632):('elementStart'===_0x1d41ee[_0x146632]['type']?_0x1d41ee[_0x146632]['item']['startIndex']=_0x146632:'elementEnd'===_0x1d41ee[_0x146632]['type']&&(_0x1d41ee[_0x146632]['item']['endIndex']=_0x146632),_0xc9fc7f['set'](_0x1d41ee[_0x146632]['id'],_0x146632));for(const _0x50b58f of _0xc9fc7f['values']())'elementStart'===_0x1d41ee[_0x50b58f]['type']?_0x1d41ee[_0x50b58f]['item']['endIndex']=_0xc9fc7f['get'](_0x1d41ee[_0x50b58f]['pairId']):'elementEnd'===_0x1d41ee[_0x50b58f]['type']&&(_0x1d41ee[_0x50b58f]['item']['startIndex']=_0xc9fc7f['get'](_0x1d41ee[_0x50b58f]['pairId']));}['_processTape'](_0x50b7df){for(let _0xb16386=0x0;_0xb16386<_0x50b7df['length'];_0xb16386++){if('elementStart'===_0x50b7df[_0xb16386]['type'])_0x50b7df[_0xb16386]['item']['startIndex']=_0xb16386;else{if('elementEnd'===_0x50b7df[_0xb16386]['type']){_0x50b7df[_0xb16386]['item']['endIndex']=_0xb16386;const _0x4ce964=_0x50b7df[_0xb16386]['item']['startIndex'];_0x50b7df[_0x4ce964]['pairId']=_0x50b7df[_0xb16386]['id'],_0x50b7df[_0xb16386]['pairId']=_0x50b7df[_0x4ce964]['id'];}else _0x50b7df[_0xb16386]['item']['startIndex']=_0xb16386,_0x50b7df[_0xb16386]['item']['endIndex']=_0xb16386,_0x50b7df[_0xb16386]['pairId']=null;}_0x50b7df[_0xb16386]['markersStart']||(_0x50b7df[_0xb16386]['markersStart']=[],_0x50b7df[_0xb16386]['markersEnd']=[]);}}['_markInsertions'](_0xa95eeb,_0x4da6b2){const _0x4d22ae=_0xa95eeb['filter'](_0x231f89=>!_0x231f89['isAdded']);for(let _0x47c508=0x0;_0x47c508<_0x4da6b2['length'];_0x47c508++)_0x4da6b2[_0x47c508]['isAdded']&&(_0x4d22ae[_0x47c508]['isAdded']=_0x4da6b2[_0x47c508]['isAdded']);}['_makeModelFromViewString'](_0x58c216){const _0x23d397=JSON['parse'](_0x58c216),_0xfb9289=this['editor']['editing']['view']['document'],_0x1bcd51=new _0x5df9bc(_0xfb9289,_0x23d397['map'](_0x1cf237=>this['_getViewObj'](_0x1cf237)));return this['editor']['data']['toModel'](_0x1bcd51);}['_getViewObj'](_0x303373){const _0x5803cb=this['editor']['editing']['view']['document'];if('string'==typeof _0x303373)return new _0x4325e1(_0x5803cb,_0x303373);{const _0x5aea34=_0x303373['children']['map'](_0x8de8e5=>this['_getViewObj'](_0x8de8e5));return new(tt[_0x303373['type']]||_0x1f3590)(_0x5803cb,_0x303373['name'],_0x303373['attributes'],_0x5aea34);}}['_getDiff'](_0x1eb113,_0x13f34d=null){const _0x138d65=this['repository']['getRevision'](_0x1eb113),_0x318930=_0x13f34d?this['repository']['getRevision'](_0x13f34d):null,_0x1d3fb2=this['_getRevisionsRange'](_0x138d65,_0x318930),_0x14bed6=_0x1d3fb2[_0x1d3fb2['length']-0x1],_0x5a02b8=new Map(),_0x347665={'model':{},'attributes':{},'changes':[]},_0x38d09a=new Set(),_0x4d6213=new Map();for(let _0x4d2f71=_0x1d3fb2['length']-0x1;_0x4d2f71>=0x0;_0x4d2f71--){const _0x35fbe2=_0x1d3fb2[_0x4d2f71];for(const _0x104839 of Object['keys'](_0x35fbe2['diffData']))if(_0x35fbe2['diffData'][_0x104839]['attachChange']){const _0x279e1b=_0x35fbe2['diffData'][_0x104839]['attachChange'];_0x279e1b['isAttached']?(_0x38d09a['add'](_0x104839),_0x4d6213['has'](_0x104839)&&_0x4d6213['get'](_0x104839)['userId']==_0x279e1b['userId']?_0x4d6213['delete'](_0x104839):_0x4d6213['set'](_0x104839,_0x279e1b)):_0x4d6213['has'](_0x104839)?(_0x38d09a['delete'](_0x104839),_0x4d6213['delete'](_0x104839)):(_0x38d09a['add'](_0x104839),_0x4d6213['set'](_0x104839,_0x279e1b));}else _0x38d09a['add'](_0x104839);}for(const _0x51aa6f of _0x38d09a){const _0x11cf26=_0x4d6213['has'](_0x51aa6f)&&!_0x4d6213['get'](_0x51aa6f)['isAttached'];let _0xe46535=_0x11cf26?_0x1d3fb2['length']-0x1:0x0;const _0x4c8c96=_0x11cf26?-0x1:0x1;for(;_0x1d3fb2[_0xe46535];){const _0x257cb7=_0x1d3fb2[_0xe46535];if(_0x257cb7['diffData'][_0x51aa6f]){const _0x1dd50a=_0x11cf26?_0x257cb7['diffData'][_0x51aa6f]['attributesBefore']:_0x257cb7['diffData'][_0x51aa6f]['attributesAfter'];_0x347665['attributes'][_0x51aa6f]=_0x1dd50a?_0xcb9185(_0x1dd50a):{};break;}_0xe46535+=_0x4c8c96;}}for(const _0x2dfe9b of _0x1d3fb2){_0x2dfe9b['model']={};for(const _0x21ac5e of _0x2dfe9b['authors'])_0x5a02b8['set'](_0x21ac5e['id'],_0x21ac5e);for(const _0xa30b08 of _0x38d09a){const _0x2bbfc7=_0x2dfe9b['diffData'][_0xa30b08]?_0x2dfe9b['diffData'][_0xa30b08]['insertions']:'[]',_0x1f54a4=_0x2dfe9b['diffData'][_0xa30b08]?_0x2dfe9b['diffData'][_0xa30b08]['deletions']:'[]';_0x2dfe9b['model'][_0xa30b08]={'insertions':this['_makeModelFromViewString'](_0x2bbfc7),'deletions':this['_makeModelFromViewString'](_0x1f54a4)};}}for(const _0x32a875 of _0x38d09a){let _0x4a5e96=null,_0x4560f9=0x0;const _0x414f01=new Map(Array['from'](_0x138d65['model'][_0x32a875]['insertions']['markers'])['filter'](([_0xa034af])=>!_0xa034af['startsWith']('revision:')));let _0x428c7b=0x0;for(const _0x2387c4 of _0x1d3fb2){const _0x351e72=this['_makeTape'](_0x2387c4['model'][_0x32a875]['insertions']);_0x2387c4==_0x138d65?(_0x4a5e96=_0x351e72,_0x4560f9=_0x4a5e96['length'],_0x4a5e96['forEach'](_0x5ae757=>{_0x5ae757['id']=_0x428c7b++;}),this['_processTape'](_0x4a5e96)):this['_markInsertions'](_0x4a5e96,_0x351e72);const _0xed963d=_0x4a5e96['filter'](_0x1c8126=>!_0x1c8126['isAdded'])['map'](_0x587f5a=>_0x587f5a['id']);let _0x4dfa89=0x0;const _0x1eceaf=this['_makeTape'](_0x2387c4['model'][_0x32a875]['deletions']);_0x1eceaf['forEach'](_0xc50760=>{_0xc50760['isRemoved']?_0xc50760['id']=_0x4560f9++:_0xc50760['id']=_0xed963d[_0x4dfa89++];}),this['_processTape'](_0x1eceaf),this['_setDistance'](_0x4a5e96,'isAdded'),this['_setDistance'](_0x1eceaf,'isRemoved'),_0x2387c4==_0x138d65&&this['_markMarkers'](_0x4a5e96,_0x414f01),_0x4a5e96=this['_joinTapes'](_0x4a5e96,_0x1eceaf),this['_refreshStartEndIndex'](_0x4a5e96),this['_setDistance'](_0x4a5e96,'isRemoved');}_0x4a5e96=_0x4a5e96['filter'](_0x1dc042=>!(_0x1dc042['isAdded']&&_0x1dc042['isRemoved']));const _0x12b2cf=new Map(_0x14bed6['model'][_0x32a875]['deletions']['markers']),_0x5e4aee=new Set(_0x414f01['keys']());for(const _0x610e7d of _0x12b2cf['keys']())_0x5e4aee['delete'](_0x610e7d);this['_markSuggestions'](_0x4a5e96,_0x5e4aee),this['_fixObsoleteTags'](_0x4a5e96),_0x4a5e96=this['_removeMissingPairs'](_0x4a5e96),_0x4a5e96=this['_markMismatchedRemovedTags'](_0x4a5e96),_0x4a5e96=this['_removeUnsupportedChanges'](_0x4a5e96);const {root:_0x1d8cc9,changes:_0x2dc29a}=this['_makeModelFromTape'](_0x4a5e96,_0x5a02b8,_0x32a875);_0x347665['model'][_0x32a875]=_0x1d8cc9;const _0x2d6e04=_0x4d6213['get'](_0x32a875);if(_0x2d6e04){const _0x40ba81=_0x5a02b8['get'](_0x2d6e04['userId']),_0x18a139=new r({'author':_0x40ba81,'type':_0x2d6e04['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x32a875});_0x2dc29a['unshift'](_0x18a139),_0x347665['attributes'][_0x32a875]['revisionHistoryAttachChange']=_0x18a139['id'];}_0x347665['changes']=_0x347665['changes']['concat'](_0x2dc29a);}return _0x347665;}['_markMarkers'](_0x26628d,_0x5c3b72){for(let _0x4620e1=0x0;_0x4620e1<_0x26628d['length'];_0x4620e1++)for(const [_0xcb6e61,_0x50a951]of _0x5c3b72)_0x50a951['start']['isEqual'](_0x26628d[_0x4620e1]['previousPosition'])&&_0x26628d[_0x4620e1]['markersStart']['push'](_0xcb6e61),_0x50a951['end']['isEqual'](_0x26628d[_0x4620e1]['nextPosition'])&&_0x26628d[_0x4620e1]['markersEnd']['push'](_0xcb6e61);}['_joinTapes'](_0x3a50bc,_0x544e6){let _0x3eb905=[],_0x5ddb8d=0x0,_0x59477e=0x0;for(;_0x5ddb8d<_0x3a50bc['length']||_0x59477e<_0x544e6['length'];){const _0x5806d2=_0x3a50bc[_0x5ddb8d]||{},_0x3df6bb=_0x544e6[_0x59477e]||{};if(_0x5806d2['id']==_0x3df6bb['id'])_0x5ddb8d++,_0x59477e++,_0x3eb905['push'](_0x5806d2);else{if(_0x3df6bb['isRemoved']&&_0x5806d2['isAdded']){const {commonTape:_0x553d1d,iEnd:_0x2ff631,jEnd:_0x2aed4f}=this['_threeWayMerge'](_0x3a50bc,_0x5ddb8d,_0x544e6,_0x59477e);_0x3eb905=_0x3eb905['concat'](_0x553d1d),_0x5ddb8d=_0x2ff631,_0x59477e=_0x2aed4f;}else _0x3df6bb['isRemoved']?(_0x59477e++,_0x3eb905['push'](_0x3df6bb)):(_0x5ddb8d++,_0x3eb905['push'](_0x5806d2));}}return _0x3eb905;}['_markSuggestions'](_0x39518d,_0x387fa0){const _0x1fdb31=[];for(let _0x368d23=0x0;_0x368d23<_0x39518d['length'];_0x368d23++){for(let _0x20a8e9=0x0;_0x20a8e9<_0x39518d[_0x368d23]['markersStart']['length'];_0x20a8e9++){const _0x45c760=_0x39518d[_0x368d23]['markersStart'][_0x20a8e9];if(!_0x387fa0['has'](_0x45c760))continue;const {group:_0x12d756,type:_0x52046a,authorId:_0x4684f7}=_0x44b7be(_0x45c760);'revision-suggestion'!=_0x12d756||'insertion'!=_0x52046a&&'deletion'!=_0x52046a||(_0x1fdb31['unshift']({'type':_0x52046a,'name':_0x45c760,'userId':_0x4684f7}),_0x39518d[_0x368d23]['markersStart']['splice'](_0x20a8e9,0x1),_0x20a8e9--);}_0x330782(_0x39518d[_0x368d23]);for(let _0x3bb68a=0x0;_0x3bb68a<_0x39518d[_0x368d23]['markersEnd']['length'];_0x3bb68a++){const _0x360139=_0x39518d[_0x368d23]['markersEnd'][_0x3bb68a];if(!_0x387fa0['has'](_0x360139))continue;const {group:_0x244536,type:_0x8dd73f}=_0x44b7be(_0x360139);if('revision-suggestion'!=_0x244536||'insertion'!=_0x8dd73f&&'deletion'!=_0x8dd73f)continue;_0x39518d[_0x368d23]['markersEnd']['splice'](_0x3bb68a,0x1),_0x3bb68a--;const _0x3e54fa=_0x1fdb31['findIndex'](_0x4b4957=>_0x4b4957['name']==_0x360139);_0x3e54fa>-0x1&&_0x1fdb31['splice'](_0x3e54fa,0x1);}}function _0x44b7be(_0x4921a4){const _0x543660=_0x4921a4['split'](':');return{'group':_0x543660[0x0],'type':_0x543660[0x1],'subType':_0x543660['length']>=0x5?_0x543660[0x2]:null,'id':_0x543660['length']<0x5?_0x543660[0x2]:_0x543660[0x3],'authorId':_0x543660['length']<0x5?_0x543660[0x3]:_0x543660[0x4],'markerCount':0x6==_0x543660['length']?_0x543660[0x5]:null};}function _0x330782(_0x5b8a0c){for(let _0x4c43f1=0x0;_0x4c43f1<_0x1fdb31['length'];_0x4c43f1++){if(_0x5b8a0c['isAdded']&&'insertion'==_0x1fdb31[_0x4c43f1]['type'])return _0x5b8a0c['isAddSuggestion']=_0x1fdb31[_0x4c43f1],void delete _0x5b8a0c['isAdded'];if(!_0x5b8a0c['isAdded']&&!_0x5b8a0c['isRemoved']&&'deletion'==_0x1fdb31[_0x4c43f1]['type'])return void(_0x5b8a0c['isRemoveSuggestion']=_0x1fdb31[_0x4c43f1]);}}}['_setDistance'](_0x5e3401,_0x5ce7f5){let _0x5d8770=0x0,_0x226956=!0x1;const _0x1b78b6=new Map();for(const _0x41686b of _0x5e3401)_0x41686b[_0x5ce7f5]?_0x226956&&(_0x5d8770++,_0x226956=!0x1):(_0x5d8770++,_0x226956=!0x0),_0x1b78b6['set'](_0x41686b['id'],_0x5d8770);for(let _0x24cea2=0x0;_0x24cea2<_0x5e3401['length'];_0x24cea2++){if('isRemoved'==_0x5ce7f5&&_0x5e3401[_0x24cea2]['isAdded']||'isAdded'==_0x5ce7f5&&_0x5e3401[_0x24cea2]['isRemoved'])continue;if('text'==_0x5e3401[_0x24cea2]['type']){_0x5e3401[_0x24cea2]['distance']=0x0;continue;}const _0x12b944=_0x1b78b6['get'](_0x5e3401[_0x24cea2]['pairId']),_0x5eb402=_0x1b78b6['get'](_0x5e3401[_0x24cea2]['id']);_0x5e3401[_0x24cea2]['distance']=_0x12b944-_0x5eb402;}}['_getRevisionsRange'](_0x4b2691,_0x5e6719,_0xb41405=!0x1){const _0x41cd3e=[];let _0x3f3528=this['repository']['getIndex'](_0x4b2691),_0x133438=this['repository']['getIndex'](_0x5e6719);for(-0x1==_0x133438&&(_0x133438=this['repository']['_revisions']['length'],_0xb41405=!0x1);_0x3f3528<_0x133438;)_0x41cd3e['push'](this['repository']['getRevision'](_0x3f3528)),_0x3f3528++;return _0xb41405&&_0x41cd3e['push'](this['repository']['getRevision'](_0x3f3528)),_0x41cd3e;}['_threeWayMerge'](_0x1caf9b,_0x414f2e,_0x26abba,_0x2e50ca){const _0x659314=this['editor']['model']['schema'];let _0xf15bd6=_0x414f2e;for(;_0x1caf9b[_0xf15bd6]&&_0x1caf9b[_0xf15bd6]['isAdded'];)_0xf15bd6++;let _0xcc0e8f=_0x2e50ca;for(;_0x26abba[_0xcc0e8f]&&_0x26abba[_0xcc0e8f]['isRemoved'];)_0xcc0e8f++;_0x5a1e2e(_0x1caf9b,_0x414f2e,_0xf15bd6),_0x5a1e2e(_0x26abba,_0x2e50ca,_0xcc0e8f);const _0x368ec6=_0x26abba['slice'](_0x2e50ca,_0xcc0e8f)['concat'](_0x1caf9b['slice'](_0x414f2e,_0xf15bd6));return _0x368ec6['sort']((_0x23c310,_0x358cf0)=>_0x23c310['side']!=_0x358cf0['side']?_0x23c310['side']-_0x358cf0['side']:_0x23c310['level']!=_0x358cf0['level']?_0x23c310['level']-_0x358cf0['level']:_0x23c310['distance']!=_0x358cf0['distance']?_0x358cf0['distance']-_0x23c310['distance']:!!_0x23c310['isAdded']!=!!_0x358cf0['isAdded']?-0x1==_0x23c310['side']||0x0==_0x23c310['side']?_0x23c310['isAdded']?-0x1:0x1:_0x23c310['isAdded']?0x1:-0x1:_0x23c310['index']-_0x358cf0['index']),{'commonTape':_0x368ec6,'iEnd':_0xf15bd6,'jEnd':_0xcc0e8f};function _0x5a1e2e(_0x144a0a,_0x547515,_0x3c9fce){let _0x326c89=-0x1,_0x296da7=Number['POSITIVE_INFINITY'],_0x1fe771=!0x0;for(let _0xe6b444=_0x547515;_0xe6b444<_0x3c9fce;_0xe6b444++)if(_0x659314['isInline'](_0x144a0a[_0xe6b444]['item'])||(_0x1fe771=!0x1),_0x144a0a[_0xe6b444]['item']['startIndex']<_0x547515&&(_0x326c89=_0xe6b444),_0x144a0a[_0xe6b444]['item']['endIndex']>=_0x3c9fce){_0x296da7=_0xe6b444;break;}_0x1fe771&&(_0x326c89=_0x3c9fce-0x1);for(let _0x1a664f=_0x547515;_0x1a664f<_0x3c9fce;_0x1a664f++)_0x144a0a[_0x1a664f]['side']=_0x1a664f<=_0x326c89?-0x1:_0x1a664f<_0x296da7?0x0:0x1,_0x144a0a[_0x1a664f]['index']=_0x1a664f;let _0xb20b82=0x0;for(let _0x464468=_0x547515;_0x464468<=_0x326c89;_0x464468++)0x0==_0x144a0a[_0x464468]['distance']?_0x144a0a[_0x464468]['level']=_0xb20b82:(_0xb20b82++,_0x144a0a[_0x464468]['level']=_0xb20b82,_0xb20b82++);for(let _0x4dbe3d=_0x547515;_0x4dbe3d<_0x3c9fce;_0x4dbe3d++)0x0==_0x144a0a[_0x4dbe3d]['side']&&(_0x144a0a[_0x4dbe3d]['level']=_0xb20b82);_0xb20b82=0x0;for(let _0x22fe31=_0x3c9fce-0x1;_0x22fe31>=_0x296da7;_0x22fe31--)0x0==_0x144a0a[_0x22fe31]['distance']?_0x144a0a[_0x22fe31]['level']=_0xb20b82:(_0xb20b82--,_0x144a0a[_0x22fe31]['level']=_0xb20b82,_0xb20b82--);}}['_fixObsoleteTags'](_0x164408){const _0x2b9e02=new Map(),_0xa4bbcd=this['editor']['model']['schema'];for(let _0x3f5d76=0x1;_0x3f5d76<_0x164408['length'];_0x3f5d76++){let _0x34b50c,_0x58e4c3,_0x24237e;const _0x272f1b=_0x164408[_0x3f5d76],_0x50e5f6=_0x164408[_0x3f5d76-0x1];if('text'==_0x272f1b['type'])continue;if(_0x272f1b['type']!=_0x50e5f6['type'])continue;if(!_0xa4bbcd['isBlock'](_0x50e5f6['item'])||_0xa4bbcd['isLimit'](_0x50e5f6['item']))continue;if(!_0xa4bbcd['isBlock'](_0x272f1b['item'])||_0xa4bbcd['isLimit'](_0x272f1b['item']))continue;if((_0x164408[_0x3f5d76]['isAdded']||_0x164408[_0x3f5d76]['isAddSuggestion'])&&_0x164408[_0x3f5d76-0x1]['isRemoved'])_0x34b50c=_0x164408[_0x3f5d76],_0x58e4c3=_0x164408[_0x3f5d76-0x1],_0x24237e=_0x3f5d76-0x1;else{if(!_0x164408[_0x3f5d76]['isRemoved']||!_0x164408[_0x3f5d76-0x1]['isAdded']&&!_0x164408[_0x3f5d76-0x1]['isAddSuggestion'])continue;_0x34b50c=_0x164408[_0x3f5d76-0x1],_0x58e4c3=_0x164408[_0x3f5d76],_0x24237e=_0x3f5d76;}const _0x9789ec=_0x34b50c['level']==_0x58e4c3['level'],_0x30b067=Math['abs'](_0x34b50c['level'])<Math['abs'](_0x58e4c3['level'])&&0x0==_0x58e4c3['distance'];(_0x9789ec||_0x30b067)&&(_0x2b9e02['set'](_0x58e4c3['id'],_0x34b50c['id']),_0x164408['splice'](_0x24237e,0x1),_0x3f5d76--,_0x34b50c['isAdded']=!0x1);}for(let _0x7d08ad=0x0;_0x7d08ad<_0x164408['length'];_0x7d08ad++)_0x2b9e02['has'](_0x164408[_0x7d08ad]['pairId'])&&(_0x164408[_0x7d08ad]['pairId']=_0x2b9e02['get'](_0x164408[_0x7d08ad]['pairId']));}['_removeMissingPairs'](_0x1a2eeb){const _0x33f234=new Set(_0x1a2eeb['map'](_0xe55fe7=>_0xe55fe7['id']));for(let _0x5252ce=0x0;_0x5252ce<_0x1a2eeb['length'];_0x5252ce++)_0x33f234['has'](_0x1a2eeb[_0x5252ce]['pairId'])||0x0==_0x1a2eeb[_0x5252ce]['distance']||(_0x1a2eeb[_0x5252ce]['isIncorrect']=!0x0);return _0x1a2eeb['filter'](_0x9861b3=>!_0x9861b3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x304bb4){const _0x3a72d2=new Set();for(let _0x114ae8=0x0;_0x114ae8<_0x304bb4['length'];_0x114ae8++){if(_0x3a72d2['has'](_0x304bb4[_0x114ae8]['id'])&&_0x304bb4[_0x114ae8]['isRemoved']&&(_0x304bb4[_0x114ae8]['isIncorrect']=!0x0),_0x304bb4[_0x114ae8]['isIncorrect'])continue;if(0x0==_0x304bb4[_0x114ae8]['distance'])continue;if('elementStart'!=_0x304bb4[_0x114ae8]['type'])continue;if(null==_0x304bb4[_0x114ae8]['pairId'])continue;let _0x1267b2=_0x114ae8+0x1,_0x38c27b=0x0;for(;_0x304bb4[_0x1267b2]['id']!=_0x304bb4[_0x114ae8]['pairId'];)'elementStart'==_0x304bb4[_0x1267b2]['type']?_0x38c27b++:'elementEnd'==_0x304bb4[_0x1267b2]['type']&&_0x38c27b--,_0x1267b2++;if(0x0!=_0x38c27b){if(_0x304bb4[_0x114ae8]['isRemoved'])_0x304bb4[_0x114ae8]['isIncorrect']=!0x0;else{for(;_0x1267b2!=_0x114ae8;)_0x304bb4[_0x1267b2]['isRemoved']&&0x0!=_0x304bb4[_0x1267b2]['distance']&&(_0x304bb4[_0x1267b2]['isIncorrect']=!0x0,_0x3a72d2['add'](_0x304bb4[_0x1267b2]['pairId'])),_0x1267b2--;}}}return _0x304bb4['filter'](_0x4f52d4=>!_0x4f52d4['isIncorrect']);}['_removeUnsupportedChanges'](_0x210474){const _0x47a4dd=this['editor']['model']['schema'];for(let _0x2f2059=0x0;_0x2f2059<_0x210474['length'];_0x2f2059++){if(!(_0x210474[_0x2f2059]['isAdded']||_0x210474[_0x2f2059]['isAddSuggestion']||_0x210474[_0x2f2059]['isRemoved']||_0x210474[_0x2f2059]['isRemoveSuggestion']))continue;if(0x0==_0x210474[_0x2f2059]['distance'])continue;const _0xd7e05f=_0x210474[_0x2f2059]['item'];_0x47a4dd['isBlock'](_0xd7e05f)||_0x47a4dd['isLimit'](_0xd7e05f)||(_0x210474[_0x2f2059]['isAdded']&&delete _0x210474[_0x2f2059]['isAdded'],_0x210474[_0x2f2059]['isAddSuggestion']&&delete _0x210474[_0x2f2059]['isAddSuggestion'],_0x210474[_0x2f2059]['isRemoveSuggestion']&&delete _0x210474[_0x2f2059]['isRemoveSuggestion'],_0x210474[_0x2f2059]['isRemoved']&&(_0x210474[_0x2f2059]['isIncorrect']=!0x0));}return _0x210474['filter'](_0x23bc3c=>!_0x23bc3c['isIncorrect']);}['_makeModelFromTape'](_0x280aee,_0x128de5,_0x379400){const _0x111a3d=new wt(),_0x249ede=[],_0x31097f=new Map(),_0x372c6f=this['editor']['model'],_0x1a35fa=_0x372c6f['schema'],_0x1d0761=[_0x111a3d],_0x299f83={},_0x1bfd35={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xe5d994=null;const _0x47d36=[0x0];for(let _0x3e4b50=0x0;_0x3e4b50<_0x280aee['length'];_0x3e4b50++){let _0x5d8f9a,_0x2d5f3b;if('elementStart'===_0x280aee[_0x3e4b50]['type']){_0x5d8f9a=_0x372c6f['createPositionFromPath'](_0x111a3d,_0x47d36);const _0x573a3a=new ft(_0x280aee[_0x3e4b50]['item']['name'],_0x280aee[_0x3e4b50]['item']['getAttributes']());_0x1d0761[0x0]['_appendChild'](_0x573a3a),_0x47d36['push'](0x0),_0x1d0761['unshift'](_0x573a3a),_0x2d5f3b=_0x372c6f['createPositionFromPath'](_0x111a3d,_0x47d36),_0xe5d994=null;}else{if('elementEnd'===_0x280aee[_0x3e4b50]['type'])_0x1d0761['shift'](),_0x5d8f9a=_0x372c6f['createPositionFromPath'](_0x111a3d,_0x47d36),_0x47d36['pop'](),_0x47d36[_0x47d36['length']-0x1]++,_0x2d5f3b=_0x372c6f['createPositionFromPath'](_0x111a3d,_0x47d36),_0xe5d994=null;else{if(_0x5d8f9a=_0x372c6f['createPositionFromPath'](_0x111a3d,_0x47d36),_0xe5d994&&_0xd8ef30(_0xe5d994,_0x280aee[_0x3e4b50]['item']))_0xe5d994['_data']+=_0x280aee[_0x3e4b50]['item']['data'];else{const _0x24d6d9=new _t(_0x280aee[_0x3e4b50]['item']['data'],_0x280aee[_0x3e4b50]['item']['getAttributes']());_0x1d0761[0x0]['_appendChild'](_0x24d6d9),_0xe5d994=_0x24d6d9;}_0x47d36[_0x47d36['length']-0x1]+=_0x280aee[_0x3e4b50]['item']['offsetSize'],_0x2d5f3b=_0x372c6f['createPositionFromPath'](_0x111a3d,_0x47d36);}}for(const _0x1e2313 of _0x280aee[_0x3e4b50]['markersStart'])_0x31097f['set'](_0x1e2313,{'start':_0x5d8f9a,'end':null});_0x230078('isRemoveSuggestion',_0x3e4b50,_0x5d8f9a,_0x2d5f3b),_0x230078('isAddSuggestion',_0x3e4b50,_0x5d8f9a,_0x2d5f3b),_0x230078('isRemoved',_0x3e4b50,_0x5d8f9a,_0x2d5f3b),_0x230078('isAdded',_0x3e4b50,_0x5d8f9a,_0x2d5f3b);for(const _0x1a2306 of _0x280aee[_0x3e4b50]['markersEnd']){_0x31097f['get'](_0x1a2306)['end']=_0x2d5f3b;}}for(const [_0x334877,_0x5c603d]of _0x31097f){const _0x462229=this['editor']['model']['createRange'](_0x5c603d['start'],_0x5c603d['end']);_0x111a3d['markers']['set'](_0x334877,_0x462229);}return _0x249ede['sort']((_0x4e2f78,_0x2c17f3)=>{const _0x35dfd7=_0x111a3d['markers']['get']('revision:'+_0x4e2f78['id']),_0x33fbe2=_0x111a3d['markers']['get']('revision:'+_0x2c17f3['id']);return _0x35dfd7['start']['isBefore'](_0x33fbe2['start'])?-0x1:_0x35dfd7['start']['isAfter'](_0x33fbe2['start'])?0x1:_0x35dfd7['end']['isBefore'](_0x33fbe2['end'])?-0x1:_0x35dfd7['end']['isAfter'](_0x33fbe2['end'])?0x1:'add'===_0x4e2f78['type']?-0x1:0x1;}),{'root':_0x111a3d,'changes':_0x249ede};function _0x230078(_0x544496,_0x304742,_0x1f0e21,_0x45b014){const _0x5659b2=!!_0x280aee[_0x304742][_0x544496],_0x2d7dff=_0x5659b2?_0x280aee[_0x304742][_0x544496]['userId']:null,_0x4f0940=_0x304742===_0x280aee['length']-0x1,_0x4109d0=_0x1bfd35[_0x544496][0x0],_0x3d5978=_0x1a35fa['isObject'](_0x280aee[_0x304742]['item']);!_0x299f83[_0x544496]&&_0x5659b2?_0x299f83[_0x544496]={'start':_0x1f0e21,'tapeItem':_0x280aee[_0x304742],'userId':_0x2d7dff,'type':_0x544496}:_0x299f83[_0x544496]&&!_0x5659b2?(_0x299f83[_0x544496]['end']=_0x1f0e21,_0x25c718(_0x299f83[_0x544496]),_0x299f83[_0x544496]=null):_0x299f83[_0x544496]&&_0x5659b2&&_0x299f83[_0x544496]['userId']!==_0x2d7dff&&(_0x299f83[_0x544496]['end']=_0x1f0e21,_0x4109d0&&_0x4109d0['userId']===_0x299f83[_0x544496]['userId']||_0x25c718(_0x299f83[_0x544496]),_0x299f83[_0x544496]={'start':_0x1f0e21,'tapeItem':_0x280aee[_0x304742],'userId':_0x2d7dff,'type':_0x544496}),_0x299f83[_0x544496]&&_0x3d5978&&('elementStart'!==_0x280aee[_0x304742]['type']||_0x4109d0&&_0x4109d0['userId']===_0x2d7dff||_0x1bfd35[_0x544496]['unshift']({'userId':_0x2d7dff,'object':_0x280aee[_0x304742]['item'],'change':_0x299f83[_0x544496]}),'elementEnd'===_0x280aee[_0x304742]['type']&&_0x4109d0&&_0x4109d0['object']===_0x280aee[_0x304742]['item']&&(_0x1bfd35[_0x544496]['shift'](),_0x299f83[_0x544496]=_0x4109d0['change'])),_0x299f83[_0x544496]&&_0x4f0940&&(_0x299f83[_0x544496]['end']=_0x45b014,_0x25c718(_0x299f83[_0x544496]),_0x299f83[_0x544496]=null);}function _0x25c718({start:_0x2ff8a8,end:_0x552e40,tapeItem:_0x2df2b0,userId:_0xbb4897,type:_0xc49135}){const _0x171d15=_0x2df2b0['item'],_0x405087=_0x372c6f['schema']['isBlock'](_0x171d15)&&!_0x372c6f['schema']['isLimit'](_0x171d15),_0x5f0a3d=_0x2ff8a8['nodeAfter']==_0x552e40['parent']&&_0x552e40['isAtStart'];if(_0x405087&&_0x5f0a3d)return;const _0x9a01d3=_0x372c6f['createRange'](_0x2ff8a8,_0x552e40),_0x2d767e=_0x128de5['get'](_0xbb4897),_0x3d630b=new r({'author':_0x2d767e,'type':'isAdded'==_0xc49135||'isAddSuggestion'==_0xc49135?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xc49135||'isRemoveSuggestion'==_0xc49135},'createdAt':new Date(),'rootName':_0x379400});_0x249ede['push'](_0x3d630b),_0x111a3d['markers']['set']('revision:'+_0x3d630b['id'],_0x9a01d3);}function _0xd8ef30(_0x16db4c,_0xa08180){const _0x1f54fc=_0x16db4c['getAttributes'](),_0xd18f91=_0xa08180['getAttributes']();for(const _0x24c2cb of _0x1f54fc){if(_0x24c2cb[0x1]!==_0xa08180['getAttribute'](_0x24c2cb[0x0]))return!0x1;_0xd18f91['next']();}return _0xd18f91['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x91584e=>{const _0x1f8f3d=_0x91584e['markerName']['split'](':')[0x1],_0x489a57=this['_getChangeFromId'](_0x1f8f3d);if(!_0x489a57)return null;const _0x44579d='add'==_0x489a57['type']?'insertion':'deletion',_0x4f57ed=['ck-suggestion-marker','ck-suggestion-marker-'+_0x44579d];return _0x489a57['data']['isSuggestion']&&_0x4f57ed['push']('ck-suggestion-marker-'+_0x44579d+'-new'),this['activeChange']==_0x489a57&&_0x4f57ed['push']('ck-suggestion-marker--active'),{'classes':_0x4f57ed,'attributes':{'data-change-id':_0x1f8f3d}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x487990=>{_0x487990['on']('element:pre',(_0x12a205,_0x25668e,_0x49fed9)=>{const _0x4bd64a=_0x25668e['viewItem']['getChild'](0x0);if(!_0x4bd64a||!_0x4bd64a['is']('element','code'))return;if(!_0x49fed9['consumable']['consume'](_0x4bd64a,{'attributes':['vid_start','vid_end']}))return;const _0x49162b=_0x25668e['modelRange']['start']['nodeAfter'];_0x49fed9['writer']['setAttribute']('vid_start',_0x4bd64a['getAttribute']('vid_start'),_0x49162b),_0x49fed9['writer']['setAttribute']('vid_end',_0x4bd64a['getAttribute']('vid_end'),_0x49162b);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3b2d35=>{_0x3b2d35['on']('element',(_0x20ddce,_0x3f4c47,_0x2bd879)=>{if(!_0x2bd879['consumable']['consume'](_0x3f4c47['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3f4c47['modelRange']['isCollapsed'])return;const _0x7f860c=_0x3f4c47['modelRange']['start']['nodeAfter'];_0x7f860c['hasAttribute']('vid_start')||_0x7f860c['hasAttribute']('vid')||(_0x2bd879['writer']['setAttribute']('vid_start',_0x3f4c47['viewItem']['getAttribute']('vid_start'),_0x7f860c),_0x2bd879['writer']['setAttribute']('vid_end',_0x3f4c47['viewItem']['getAttribute']('vid_end'),_0x7f860c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x44524f=>_0x44524f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x44d28d,[,_0x10723d])=>{['vid_start','vid_end','vid']['includes'](_0x10723d)&&(_0x44d28d['return']=!0x0,_0x44d28d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5abbc8=>{_0x5abbc8['on']('attribute:vid',(_0x434215,_0x1ff70f,_0x102cc8)=>{if('\x20'!=_0x1ff70f['item']['data']||_0x1ff70f['item']['parent']['maxOffset']>0x1)return;if(!_0x102cc8['consumable']['consume'](_0x1ff70f['item'],_0x434215['name']))return;const _0x4c3c8c=_0x102cc8['writer'],_0x4a6414=_0x102cc8['mapper']['toViewRange'](_0x1ff70f['range']);_0x4c3c8c['wrap'](_0x4a6414,_0x4c3c8c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xdbd0c3){const _0x34c4c9=_0xdbd0c3['plugins']['get']('RevisionViewer');return(_0x4448e2,_0x1a2853,_0x5a690f)=>{const _0x2a9557=_0x1a2853['markerName']['split'](':')[0x1],_0x1ce689=_0x34c4c9['_getChangeFromId'](_0x2a9557);if(!_0x1ce689)return null;const _0x3f5cf8='add'==_0x1ce689['type']?'split':'merge';if(!_0x5a690f['consumable']['test'](_0x1a2853['markerRange'],_0x4448e2['name']))return;const _0x1f1b1b=_0x1a2853['markerRange']['getWalker'](),_0x148991=_0x1a2853['markerRange']['start'],_0x62badf=_0xdbd0c3['model']['schema'];let _0x2b55a1=null,_0x10258d=null,_0x837250=!0x1,_0x195188=!0x1;for(const _0x114af1 of _0x1f1b1b){const _0x18c68d=_0x114af1['item'];_0x837250=_0x837250||_0x62badf['isContent'](_0x18c68d);const _0x164dae=_0x5a690f['mapper']['toViewElement'](_0x18c68d);if(_0x164dae&&_0x164dae['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x114af1['type']&&(_0x62badf['isBlock'](_0x18c68d)&&!_0x62badf['isLimit'](_0x18c68d)&&(_0x18c68d['nextSibling']||_0x148991['isAtEnd']?_0x2b55a1&&_0x2b55a1['parent']==_0x18c68d||(_0x2b55a1=_0x18c68d,_0x44a533(_0x114af1['previousPosition']),_0x195188=!0x0):_0x10258d=_0x10258d||_0x114af1['previousPosition']));}function _0x44a533(_0x303491){const _0x551a96=_0x5a690f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3f5cf8}),_0x40f876=_0x5a690f['mapper']['toViewPosition'](_0x303491);_0x1ce689['data']['isSuggestion']&&_0x5a690f['writer']['addClass']('ck-suggestion-marker-'+_0x3f5cf8+'-new',_0x551a96),_0x34c4c9['activeChange']==_0x1ce689&&_0x5a690f['writer']['addClass']('ck-suggestion-marker--active',_0x551a96),_0x5a690f['writer']['insert'](_0x40f876,_0x551a96),_0x5a690f['mapper']['bindElementToMarker'](_0x551a96,_0x1a2853['markerName']);}_0x837250||_0x195188||!_0x10258d||_0x44a533(_0x10258d);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x98aeba,_0x5e0acf,_0x578a4c)=>{const _0x4c4da9=_0x578a4c['mapper']['markerNameToElements'](_0x5e0acf['markerName']);if(_0x4c4da9){for(const _0x22b672 of _0x4c4da9)(_0x22b672['hasClass']('ck-suggestion-marker-split')||_0x22b672['hasClass']('ck-suggestion-marker-merge'))&&(_0x578a4c['mapper']['unbindElementFromMarkerName'](_0x22b672,_0x5e0acf['markerName']),_0x578a4c['writer']['remove'](_0x22b672));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x188f13,_0x53df33,_0x59616a)=>{const _0x283fc6=_0x53df33['markerName']['split'](':')[0x1],_0x1349dc=this['_getChangeFromId'](_0x283fc6);if(!_0x1349dc)return null;const _0x5b912c='add'==_0x1349dc['type']?'split':'merge';if(_0x59616a['consumable']['test'](_0x53df33['markerRange'],_0x188f13['name']))for(const _0xdfcdda of _0x53df33['markerRange']['getItems']()){if(!_0xdfcdda['is']('element','softBreak'))continue;const _0x5d7ad6=_0x59616a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5b912c}),_0x21b89b=_0x59616a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xdfcdda));_0x1349dc['data']['isSuggestion']&&_0x59616a['writer']['addClass']('ck-suggestion-marker-'+_0x5b912c+'-new',_0x5d7ad6),this['activeChange']==_0x1349dc&&_0x59616a['writer']['addClass']('ck-suggestion-marker--active',_0x5d7ad6),_0x59616a['writer']['insert'](_0x21b89b,_0x5d7ad6),_0x59616a['mapper']['bindElementToMarker'](_0x5d7ad6,_0x53df33['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4c42c5=>{for(const _0x5649a3 of this['editor']['model']['document']['getRootNames']()){const _0x5d03a2=this['editor']['model']['document']['getRoot'](_0x5649a3),_0x125366=this['editor']['editing']['view']['document']['getRoot'](_0x5649a3);if(_0x125366){const _0x1e8ace=_0x5d03a2['getAttribute']('revisionHistoryAttachChange');if(_0x4c42c5['removeAttribute']('data-change-id',_0x125366),_0x4c42c5['removeClass']('ck-revision-history-root-add',_0x125366),_0x4c42c5['removeClass']('ck-revision-history-root-remove',_0x125366),_0x4c42c5['removeClass']('ck-revision-history-root--active',_0x125366),_0x1e8ace){const _0x290218=this['_getChangeFromId'](_0x1e8ace);if(!_0x290218)return null;_0x4c42c5['setAttribute']('data-change-id',_0x1e8ace,_0x125366),_0x4c42c5['addClass']('ck-revision-history-root-'+_0x290218['type'],_0x125366),this['activeChange']==_0x290218&&_0x4c42c5['addClass']('ck-revision-history-root--active',_0x125366);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x501908=>'revision-comment:'+_0x501908,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2c4785=>'revision-suggestion:'+_0x2c4785,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x367ad8=>({'name':'suggestion:'+_0x367ad8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2f134e=>{const _0x14b1ab=_0x2f134e['markerName']['split'](':')[0x1];return'insertion'!=_0x14b1ab&&'deletion'!=_0x14b1ab?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x14b1ab]};}}),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',(_0x2848e1,_0x1f194a,_0x1bf3d2)=>{const _0x391cad=_0x1bf3d2['mapper']['markerNameToElements'](_0x1f194a['markerName']);if(_0x391cad){for(const _0x16ea9e of _0x391cad)_0x16ea9e['is']('uiElement')&&(_0x1bf3d2['mapper']['unbindElementFromMarkerName'](_0x16ea9e,_0x1f194a['markerName']),_0x1bf3d2['writer']['remove'](_0x16ea9e));}},{'priority':'high'});}['_getChangeFromId'](_0x30238e){return this['_changeIdToChange']['get'](_0x30238e);}['_getViewForChange'](_0x1e1f46){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1e1f46),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x12eaa2,_0x1a870a,_0x44a66d,_0x314bfd)=>{_0x314bfd&&this['_balloon']['remove'](_0x314bfd),_0x44a66d&&(this['_balloon']['add']({'view':_0x44a66d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x28e7a8=this['editor']['editing'],_0x10deb6=this['_getChangeFromId'](_0x44a66d['changeId']);let _0xa22377;if(_0x10deb6['data']['isOnRoot']){const _0x57482b=_0x28e7a8['view']['getDomRoot'](_0x10deb6['rootName']);_0xa22377=Array['from'](_0x57482b['getClientRects']());}else{const _0x3221eb=this['editor']['model']['markers']['get']('revision:'+_0x44a66d['changeId']);_0xa22377=Array['from'](_0x28e7a8['mapper']['markerNameToElements'](_0x3221eb['name']))['map'](_0x532238=>_0x28e7a8['view']['domConverter']['mapViewToDom'](_0x532238))['map'](_0x2f1e15=>Array['from'](_0x2f1e15['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xa22377[0x0];return _0xa22377['find'](_0x4b7fca=>_0x4b7fca['top']-0x3<=this['_activeViewTarget']['y']&&_0x4b7fca['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4b7fca['left']-0x3<=this['_activeViewTarget']['x']&&_0x4b7fca['right']+0x3>=this['_activeViewTarget']['x'])||_0xa22377[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x18ad4a,_0x28892d,_0x42bbdd,_0x2969ce)=>{this['activeView']=_0x42bbdd?this['_getViewForChange'](_0x42bbdd):null,this['editor']['model']['change'](()=>{const _0x3414d9=this['editor']['editing'];_0x2969ce&&(_0x2969ce['data']['isOnRoot']?_0x3414d9['view']['change'](_0x2eacb5=>{_0x2eacb5['removeClass']('ck-revision-history-root--active',_0x3414d9['view']['document']['getRoot'](_0x2969ce['rootName']));}):_0x3414d9['reconvertMarker']('revision:'+_0x2969ce['id'])),_0x42bbdd&&(_0x42bbdd['data']['isOnRoot']?_0x3414d9['view']['change'](_0xeef57e=>{_0xeef57e['addClass']('ck-revision-history-root--active',_0x3414d9['view']['document']['getRoot'](_0x42bbdd['rootName']));}):_0x3414d9['reconvertMarker']('revision:'+_0x42bbdd['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x22e864,_0x5dad9d)=>{if(this['activeChange'])return;const _0x527d18=this['_findChangeIdFromDomTarget'](_0x5dad9d['target']),_0x436c83=this['_changeIdToChange']['get'](_0x527d18);_0x436c83?(this['_activeViewTarget']={'x':_0x5dad9d['domEvent']['x'],'y':_0x5dad9d['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x436c83)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x46a338,_0x28563f)=>{const _0x58bbaf=this['_findChangeIdFromDomTarget'](_0x28563f['target']),_0x46decd=this['_changeIdToChange']['get'](_0x58bbaf);_0x46decd?(this['_activeViewTarget']={'x':_0x28563f['domEvent']['x'],'y':_0x28563f['domEvent']['y']},_0x46decd===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x46decd):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5369e2){do{const _0x14267e=_0x5369e2['getAttribute']('data-change-id');if(_0x14267e)return _0x14267e;_0x5369e2=_0x5369e2['parent'];}while(_0x5369e2);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x59b355=>{for(const _0x573e27 of this['editor']['model']['markers'])_0x59b355['removeMarker'](_0x573e27);});}}function et(_0x4c6d37,_0x4632df){return(_0x419d1f,_0xfaceb4,_0xb90741)=>{if(!_0xb90741['consumable']['test'](_0xfaceb4['markerRange'],_0x419d1f['name']))return;const _0x49f860=_0xfaceb4['markerRange']['getWalker'](),_0x3bfb64=_0xfaceb4['markerRange']['start'],_0xe2068f=_0x4c6d37['model']['schema'];let _0x5c8b93=null,_0x20d5c4=null,_0x25fcd1=!0x1,_0x2b33e9=!0x1;for(const _0x17141a of _0x49f860){const _0x2c23db=_0x17141a['item'];_0x25fcd1=_0x25fcd1||_0xe2068f['isContent'](_0x2c23db);const _0x1a4329=_0xb90741['mapper']['toViewElement'](_0x2c23db);if(_0x1a4329&&_0x1a4329['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x17141a['type']&&(_0xe2068f['isBlock'](_0x2c23db)&&!_0xe2068f['isLimit'](_0x2c23db)&&(_0x2c23db['nextSibling']||_0x3bfb64['isAtEnd']?_0x5c8b93&&_0x5c8b93['parent']==_0x2c23db||(_0x5c8b93=_0x2c23db,_0x2359b7(_0x17141a['previousPosition']),_0x2b33e9=!0x0):_0x20d5c4=_0x20d5c4||_0x17141a['previousPosition']));}function _0x2359b7(_0x210c76){const _0x59adca=_0xb90741['mapper']['toViewPosition'](_0x210c76),_0x5066ac=_0xb90741['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4632df});_0xb90741['writer']['insert'](_0x59adca,_0x5066ac),_0xb90741['mapper']['bindElementToMarker'](_0x5066ac,_0xfaceb4['markerName']);}_0x25fcd1||_0x2b33e9||!_0x20d5c4||_0x2359b7(_0x20d5c4);};}class bt extends _0x5bd49d{constructor(_0x2160b5){super(_0x2160b5);const _0xfbd02e=_0x2160b5['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xfbd02e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xfbd02e,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x836b89=this['editor'],_0x2621f9=_0x836b89['plugins']['get'](d),_0xefaf6a=_0x2621f9['isReady']?_0x2621f9['diff']['newRevisionId']:null;_0x836b89['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xefaf6a);}['refresh'](){const {isReady:_0x353315,isEnabled:_0x14c2b8}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x353315&&_0x14c2b8;}}class yt extends _0x5bd49d{['_step'];constructor(_0x45ecb4,{direction:_0x1b954a}){super(_0x45ecb4);const _0x11a729=_0x45ecb4['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1b954a?0x1:-0x1,this['listenTo'](_0x11a729,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x11a729,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x11a729,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x199bd5=this['editor'],_0x1c2fdd=_0x199bd5['plugins']['get'](d),{isNavigationMode:_0xae4ce,currentChangeNumber:_0x1dfc1e}=_0x1c2fdd;let _0x496c9d;if(_0x1c2fdd['activeChange']=_0xae4ce?_0x1c2fdd['diff']['changes']['get'](_0x1dfc1e+this['_step']):_0x1c2fdd['diff']['changes']['first'],_0x1c2fdd['activeChange']['data']['isOnRoot'])_0x496c9d=_0x199bd5['editing']['view']['getDomRoot'](_0x1c2fdd['activeChange']['rootName']);else{const _0x285916=_0x199bd5['model']['markers']['get']('revision:'+_0x1c2fdd['activeChange']['id']);_0x496c9d=_0x283c3d(_0x199bd5['editing'],_0x285916);}_0x187c8d({'target':_0x496c9d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xda6586,currentChangeNumber:_0x29845f,numberOfChanges:_0x47895f,isReady:_0x4c8d26,isEnabled:_0x36c773}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x36c773&&_0x4c8d26&&_0x47895f)&&(!_0xda6586||(0x1===this['_step']?_0x29845f<_0x47895f-0x1:_0x29845f>0x0));}}class _i extends _0x56415b{constructor(_0x5b5cb8){super(_0x5b5cb8);const _0x1593e0=this['bindTemplate'],_0x54f6c1=new _0x18a6b1(_0x5b5cb8),_0x492543=new _0x18a6b1(_0x5b5cb8);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',(_0x25067c,_0x459bc8)=>_0x25067c&&_0x459bc8>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x491cbc,_0x2aab70,_0x1566ef,_0x46d15b)=>{if(!_0x491cbc)return y(_0x5b5cb8,'Loading...');if(!_0x1566ef)return y(_0x5b5cb8,'No\x20changes');const _0x542ae2=y(_0x5b5cb8,'NUMBER_OF_CHANGES',_0x1566ef);return _0x46d15b?y(_0x5b5cb8,'X_OF_Y_CHANGES',[_0x2aab70+0x1,_0x1566ef]):_0x542ae2;}),_0x54f6c1['set']({'label':y(_0x5b5cb8,'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'}),_0x492543['set']({'label':y(_0x5b5cb8,'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'}),_0x54f6c1['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x492543['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x54f6c1['on']('execute',()=>this['fire']('execute','backward')),_0x492543['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',_0x1593e0['if']('_isStatusLabelVisible','ck-hidden',_0x1815bc=>!_0x1815bc)]},'children':[{'text':_0x1593e0['to']('isNavigationMode',_0x4b4940=>_0x4b4940?y(_0x5b5cb8,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5b5cb8,'Total')+':\x20')}]},{'text':_0x1593e0['to']('_statusText')}]},new _0x3ef71b(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x54f6c1,_0x492543]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x43c7ea{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xe6a043=this['editor']['editing']['view'];_0xe6a043['change'](_0x2b8f43=>{for(const _0x6727c4 of _0xe6a043['document']['roots'])_0x2b8f43['addClass'](ce,_0x6727c4);});}['hide'](){const _0x480460=this['editor']['editing']['view'];_0x480460['change'](_0x32711b=>{for(const _0x42ef61 of _0x480460['document']['roots'])_0x32711b['removeClass'](ce,_0x42ef61);});}}class R extends _0x43c7ea{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1128b9=this['editor'],_0x4ecefe=_0x1128b9['plugins']['get'](d),_0xd138e3=_0x1128b9['plugins']['get'](de);_0x1128b9['ui']['componentFactory']['add']('exitToEditing',_0x2f6fea=>{const _0x4d65f7=new _0x18a6b1(_0x2f6fea);return _0x4d65f7['set']({'label':y(_0x2f6fea,'Back\x20to\x20editing'),'icon':_0x7774c5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4d65f7,'execute',()=>{_0x1128b9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4d65f7;}),_0x1128b9['ui']['componentFactory']['add']('restoreRevision',_0x28529f=>{const _0x59b86f=new _0x18a6b1(_0x28529f);return _0x59b86f['set']({'label':y(_0x28529f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x59b86f['bind']('isEnabled')['to'](_0x1128b9['commands']['get']('restoreRevision')),this['listenTo'](_0x59b86f,'execute',()=>_0x1128b9['execute']('restoreRevision')),_0x59b86f;}),_0x1128b9['ui']['componentFactory']['add']('changesNavigation',_0x3f0422=>{const _0x2773d7=new _i(_0x3f0422),_0x50376e=_0x1128b9['commands']['get']('showPreviousChange'),_0xae72f0=_0x1128b9['commands']['get']('showNextChange');return _0x2773d7['bind']('isBackwardNavigationEnabled')['to'](_0x50376e,'isEnabled'),_0x2773d7['bind']('isForwardNavigationEnabled')['to'](_0xae72f0,'isEnabled'),_0x2773d7['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4ecefe),this['listenTo'](_0x2773d7,'execute',(_0x4a9c11,_0x45e762)=>{_0x1128b9['execute']('forward'===_0x45e762?'showNextChange':'showPreviousChange');}),_0x2773d7;}),_0xd138e3['show'](),_0x4ecefe['on']('change:isReady',(_0x657126,_0x3bbe98,_0xf6ff7e)=>{_0xf6ff7e?_0xd138e3['hide']():_0xd138e3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1d9606,_0x289c3d){super(_0x1d9606,_0x289c3d);const _0x5af6c4=this['bindTemplate'];this['set']({'label':y(_0x1d9606,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1d9606,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5af6c4['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 _0x16fd4c=this['fieldView']['element'];this['_tooltipString']=_0x16fd4c['scrollWidth']>_0x16fd4c['clientWidth']&&_0x16fd4c['value']||'';}}class ti extends _0x56415b{constructor(_0x5d0113,_0x55851b,_0x5ba0d8){super(_0x5d0113);const _0x3502d8=new _0x1303ec();_0x3502d8['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 _0x58577d=['ck','ck-revision-history-sidebar__revision-author'];_0x5ba0d8&&_0x58577d['push']('ck-revision-history-sidebar__revision-author_creator');const _0x127404=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5d0113,_0x5ba0d8?'Revision\x20creator':'Revision\x20author')},'children':[_0x3502d8,_0x55851b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x58577d},'children':_0x127404});}}function ni(_0x1917fb,_0x582ab7){const _0x1ec554=_0x1917fb['bindTemplate'],_0x135394=_0x1917fb['locale'],_0x35137d=_0x4877f3(_0x135394);_0x35137d['panelPosition']='sw';const _0x15630c=function(_0x40f851,_0x38b8e4){const _0x12df62=function(_0x30aaf9,_0x46a6ae){const _0xf9d66a=_0x30aaf9['locale'],_0x402a32={'Compare\x20against\x20selected':y(_0xf9d66a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xf9d66a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xf9d66a,'Restore\x20this\x20revision')};return _0x46a6ae['map'](_0x6caecd=>{const _0x55de4f=_0x402a32[_0x6caecd['name']];return _0x55de4f&&_0x55de4f!==_0x6caecd['name']&&(_0x6caecd['name']=_0x55de4f),_0x6caecd;});}(_0x40f851,_0x38b8e4),_0xcd739e=new _0x2812dc();for(const _0x271afa of _0x12df62){const _0x22f09e={'type':'button','model':new to({'label':_0x271afa['name'],'class':_0x271afa['class'],'withText':!0x0,'role':'menuitem','_action':_0x271afa['action']})};_0x22f09e['model']['bind']('isEnabled')['to'](_0x40f851,'isActionsDropdownOpen',_0x184b21=>'function'!=typeof _0x271afa['isEnabled']||(!_0x184b21||_0x271afa['isEnabled'](_0x40f851))),_0xcd739e['add'](_0x22f09e);}return _0xcd739e;}(_0x1917fb,_0x582ab7);return _0x1917fb['bind']('isActionsDropdownOpen')['to'](_0x35137d,'isOpen'),_0x35137d['buttonView']['set']({'label':y(_0x135394,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x7774c5['threeVerticalDots']}),_0x35137d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1ec554['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1ec554['to'](_0x16314f=>_0x16314f['stopPropagation']())}}),_0x35137d['on']('execute',_0x1fb479=>{_0x1917fb['isReady']&&'function'==typeof _0x1fb479['source']['_action']&&_0x1fb479['source']['_action'](_0x1917fb);}),_0x44cf33(_0x35137d,_0x15630c,{'role':'menu'}),_0x35137d['listenTo'](_0x1917fb,'change:isActionsDropdownOpen',(_0x23b020,_0x32b896,_0x161bfc)=>{if(_0x161bfc)for(const _0xde6f2a of _0x35137d['listView']['items']){const _0x19a7a1=_0xde6f2a['children']['first'],_0x27fc62=_0x582ab7['find'](_0x52613b=>_0x52613b['action']===_0x19a7a1['_action'])['isVisible'];_0xde6f2a['isVisible']=void 0x0===_0x27fc62||_0x27fc62(_0x1917fb);}}),_0x35137d;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x27c2f4(_0x56415b){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x22ef2f,_0x498916,_0x4e9cac,_0x3f5c70){super(_0x22ef2f);const _0x24b4b2=this['bindTemplate'],_0x337c3f=function(_0x1849d3,_0x462b42){const _0x478fc9=Array['from'](_0x462b42['authors'])['filter'](_0x1f6262=>_0x1f6262!=_0x462b42['creator']);return _0x462b42['creator']&&_0x478fc9['unshift'](_0x462b42['creator']),_0x478fc9['map'](_0x4ef568=>new ti(_0x1849d3,_0x4ef568,_0x4ef568==_0x462b42['creator']));}(_0x22ef2f,_0x498916);this['id']=_0x498916['id'],this['_revision']=_0x498916,this['_requireRevisionName']=_0x3f5c70,this['bind']('name','createdAt')['to'](_0x498916),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2e3089=>{return _0x3cceba=_0x22ef2f['uiLanguage'],(_0x4d8396=_0x2e3089)['toLocaleDateString'](_0x3cceba,{'month':'long','day':'numeric'})+',\x20'+_0x4d8396['toLocaleTimeString'](_0x3cceba,{'hour':'numeric','minute':'numeric'});var _0x3cceba,_0x4d8396;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x22ef2f,_0x2369c7),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1a03aa=>_0x1a03aa||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x169425,_0x25966c)=>_0x169425&&_0x25966c),this['revisionActionsView']=_0x4e9cac&&_0x4e9cac['length']?ni(this,_0x4e9cac):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x24b4b2['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x24b4b2['if']('isEnabled','ck-disabled',_0x307ef4=>!_0x307ef4),_0x24b4b2['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x24b4b2['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x24b4b2['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':_0x24b4b2['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':_0x337c3f}]},this['revisionActionsView']],'on':{'click':_0x24b4b2['to'](_0x336cf2=>{_0x336cf2['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x541e5a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x541e5a,'change',()=>{this['_requireRevisionName']&&!_0x541e5a['value']||this['fire']('setName',{'id':this['id'],'name':_0x541e5a['value']}),_0x541e5a['value']||(_0x541e5a['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(_0x47c0b1,_0x48d879){const _0x2dba12=_0x89e747['fromJSDate'](_0x47c0b1)['setLocale'](_0x48d879),_0x2f3bf0=_0x89e747['local'](),_0x3ac069=_0x2f3bf0['minus']({'days':0x1})['startOf']('day');let _0x58d6b4,_0x30761b;return _0x2dba12['hasSame'](_0x2f3bf0,'day')?(_0x58d6b4=_0x2dba12['startOf']('day')['toJSDate'](),_0x30761b=_0x2dba12['toRelativeCalendar']()):_0x2dba12['hasSame'](_0x3ac069,'day')?(_0x58d6b4=_0x3ac069['toJSDate'](),_0x30761b=_0x2dba12['toRelativeCalendar']()):_0x2dba12['hasSame'](_0x2f3bf0,'week')?(_0x58d6b4=_0x2dba12['startOf']('week')['toJSDate'](),_0x30761b=_0x2dba12['weekdayLong']||''):_0x2dba12['hasSame'](_0x2f3bf0,'year')?(_0x58d6b4=_0x2dba12['startOf']('month')['toJSDate'](),_0x30761b=_0x2dba12['monthLong']||''):(_0x58d6b4=_0x2dba12['startOf']('year')['toJSDate'](),_0x30761b=String(_0x2dba12['year'])),{'startDate':_0x58d6b4,'localizedPeriodName':_0x30761b};}class mi extends _0x56415b{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x12557b,_0x87a5ed,_0x553e26,_0x4172c3){super(_0x12557b);const _0x33308c=di(_0x87a5ed,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x87a5ed,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x553e26,this['_requireRevisionName']=_0x4172c3,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':_0x33308c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x92798a){const _0x4c1b0e=new ai(this['locale'],_0x92798a,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4c1b0e);}['removeRevision'](_0x285b5d){const _0x33903c=this['revisionViews']['find'](_0x3ca917=>_0x3ca917['id']===_0x285b5d['id']);this['revisionViews']['remove'](_0x33903c);}}class as extends _0x56415b{constructor(_0x4e4991){super(_0x4e4991);const _0x185f96=new _0x1303ec();_0x185f96['content']=_0x7774c5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x185f96,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x4e4991,'Revision\x20history')]}]});}}class ci extends _0x56415b{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x20b072,_0x28209d,_0x358d53,_0x20e950){super(_0x20b072);const _0x3ef402=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x28209d,this['_revisionActions']=_0x358d53,this['_requireRevisionName']=_0x20e950,this['on']('select',(_0x129ddf,_0x301c86)=>{this['fire']('revisionSelected',_0x301c86);}),this['on']('setName',(_0x5d2bcb,_0x22ea45)=>{this['fire']('revisionSetName',_0x22ea45);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x20b072),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3ef402['if']('isEnabled','ck-disabled',_0x31ba37=>!_0x31ba37)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x310790 of this['_revisions'])this['_addRevision'](_0x310790);this['_revisions']['on']('add',(_0x5db4ae,_0x23e68a)=>{this['_addRevision'](_0x23e68a);}),this['_revisions']['on']('remove',(_0x1cc019,_0x5df7f7)=>{this['_removeRevision'](_0x5df7f7);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x48d722=>_0x48d722['revisionViews']['map'](_0x5ed5a7=>_0x5ed5a7))['flat']();}['selectRevision'](_0x4a7aa5){for(const _0xba73fe of this['revisionViews'])_0x4a7aa5&&_0x4a7aa5['id']===_0xba73fe['id']?_0xba73fe['select']():_0xba73fe['deselect']();}['highlightRevisions'](_0x19307a){for(const _0x5e820f of this['revisionViews'])_0x19307a['some'](({id:_0x1417e9})=>_0x1417e9===_0x5e820f['id'])?_0x5e820f['highlight']():_0x5e820f['unhighlight']();}['_addRevision'](_0x455e58){const _0x43c73c=di(_0x455e58['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5088ec=this['timePeriodViews']['get'](0x0);_0x5088ec&&_0x5088ec['startDate']['getTime']()===_0x43c73c['getTime']()||(_0x5088ec=new mi(this['locale'],_0x43c73c,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5088ec)),_0x5088ec['addRevision'](_0x455e58);}['_removeRevision'](_0x5a315b){const _0x3af42f=di(_0x5a315b['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3af42f)['removeRevision'](_0x5a315b);}['_getTimePeriodViewByStartDate'](_0x4a1c26){return this['timePeriodViews']['find'](_0x27c9f7=>_0x27c9f7['startDate']['getTime']()===_0x4a1c26['getTime']());}}class w extends _0x43c7ea{['_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(_0x582456){super(_0x582456),this['_revisionViewer']=_0x582456['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1722bc=this['_revisionsRepository']['_revisions'],_0x57d8af=this['_createRevisionActions'](),_0x3dd408=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1722bc,_0x57d8af,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',(_0x4908be,_0x16fdfa)=>{_0x16fdfa['revisionViews']['on']('add',(_0x18bb30,_0x1a639e)=>{_0x1a639e['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)),_0x3dd408['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x13864b=this['_revisionsRepository']['getRevision'](0x0);if(_0x13864b){const _0x4ed126=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x13864b['id']);this['_revisionViewer']['compare'](_0x13864b,_0x4ed126);}}['_handleRevisionSelected'](_0x5f0ee1,_0xa51ce9){const _0x5c933c=this['_revisionsRepository']['getRevision'](_0xa51ce9['id']),_0x2029cc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5c933c['id']);this['_revisionViewer']['compare'](_0x5c933c,_0x2029cc);}['_handleRevisionSetName'](_0x27f09e,_0x617d01){this['_revisionsRepository']['getRevision'](_0x617d01['id'])['setName'](_0x617d01['name']);}['_handleDiffChange'](_0x54597c,_0x97689,_0x4aac96){const _0x5b2aba=this['_revisionsRepository']['getRevisionsInDiff'](_0x4aac96);_0x5b2aba['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5b2aba),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5b2aba[0x0]));}['_createRevisionActions'](){const _0x351477=this['editor'],_0xa1dc24=w['availableRevisionActions'],_0x4f4080=_0x351477['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4f4080['length'])return _0x4f4080['map'](_0x3fa1dd=>{const _0x5d57a1='string'==typeof _0x3fa1dd?Object['assign']({},_0xa1dc24[_0x3fa1dd]):_0x3fa1dd;return _0x5d57a1['action']=_0x5d57a1['action']['bind'](this,_0x351477),_0x5d57a1['isVisible']&&(_0x5d57a1['isVisible']=_0x5d57a1['isVisible']['bind'](this,_0x351477)),_0x5d57a1;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1dedef},_0x874734)=>{const _0x2879c5=_0x1dedef['get'](d),_0x1e0f37=_0x2879c5['repository'];let _0x1e66fc=_0x2879c5['diff']['newRevisionId'],_0x396a67=_0x874734['id'];_0x1e0f37['getIndex'](_0x1e66fc)>_0x1e0f37['getIndex'](_0x396a67)&&([_0x1e66fc,_0x396a67]=[_0x396a67,_0x1e66fc]),_0x2879c5['compare'](_0x1e66fc,_0x396a67);},'isVisible':({plugins:_0x3f2f44},_0x4c0219)=>{const _0x2a139c=_0x3f2f44['get'](d);return!(_0x2a139c['repository']['getRevisionsInDiff'](_0x2a139c['diff'])['length']>0x2)&&!_0x4c0219['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3b77c1,{id:_0x3ed2e4})=>{_0x3b77c1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3ed2e4);},'isVisible':({plugins:_0x373078},_0x38ac5d)=>!!_0x373078['get'](d)['repository']['getLaterVisibleRevision'](_0x38ac5d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xd56297},{id:_0x743b6d,revisionNameView:_0x45de34})=>{const _0x5b89ab=_0xd56297['get'](d),_0x40efdb=_0x5b89ab['repository']['getEarlierVisibleRevision'](_0x743b6d);_0x5b89ab['compare'](_0x743b6d,_0x40efdb),_0x45de34['focus'](),_0x45de34['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4605ba,_0x4fc913){super(_0x4605ba),this['_view']=_0x4fc913,this['_toolbarConfig']=ct(_0x4605ba['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x188739){const _0xc5c36e=this['editor'],_0x41dc2c=this['view'],_0x33fc59=_0xc5c36e['editing']['view'],_0x19f759=_0x41dc2c['editable'],_0x2beea6=_0x33fc59['document']['getRoot']();_0x19f759['name']=_0x2beea6['rootName'],_0x41dc2c['render']();const _0x4ebd5c=_0x19f759['element'];this['setEditableElement'](_0x19f759['name'],_0x4ebd5c),_0x41dc2c['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x33fc59['attachDomRoot'](_0x4ebd5c),this['_elementReplacer']['replace'](_0x188739,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3a9d0c=this['view'],_0x3e612a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3e612a['detachDomRoot'](_0x3a9d0c['editable']['name']),_0x3a9d0c['destroy']();}['_initToolbar'](){const _0x2a0789=this['view'];_0x2a0789['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2a0789['stickyPanel']['limiterElement']=_0x2a0789['element'],_0x2a0789['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x167c30})=>_0x167c30),_0x2a0789['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2a0789['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x44fd6b,_0x421c6e,_0x68ab95={}){super(_0x44fd6b),this['stickyPanel']=new lt(_0x44fd6b),this['toolbar']=new pt(_0x44fd6b,{'shouldGroupWhenFull':_0x68ab95['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x44fd6b,_0x421c6e);}['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(_0x5987d3,_0x1b89ad){super(_0x1b89ad),this['sourceElement']=_0x5987d3,this['model']['document']['createRoot']();const _0x1b3ecf=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1b3ecf);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x383446,_0x1fa23a){const _0x47fae7=new this(_0x383446,_0x1fa23a);return await _0x47fae7['initPlugins'](),await _0x47fae7['ui']['init'](_0x383446),await _0x47fae7['data']['init'](_0x47fae7['config']['get']('initialData')||''),_0x47fae7['fire']('ready'),_0x47fae7;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x461176{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x12c2d6){super(_0x12c2d6),this['result']='end';}}class H extends _0x461176{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x260418){if(super(_0x260418),!this['editor']['config']['get']('revisionHistory'))throw new _0x161805('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x470898=>this['_showRevisionViewer']({..._0x470898,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2e59b6=>this['_closeRevisionViewer'](_0x2e59b6)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x438ec5=>this['_restoreRevision'](_0x438ec5)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x378e97){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x378e97;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2cfa66){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2cfa66);}['getRevision'](_0x4b41ed){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4b41ed);}['getRevisions'](_0x268e5b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x268e5b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x301413=this['editor'],_0x2f5722=_0x10e694(_0x301413,p),_0x12106e=_0x301413['plugins']['get']('RevisionTracker'),_0x58806e=_0x301413['plugins']['get']('Users')['users'];return _0x2f5722['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2f5722['lazyRoots'],(_0x2f5722['plugins']['push'](k,d,R,class extends _0x461176{static get['requires'](){return[d,'Users'];}['init'](){const _0x3d7ad5=this['editor']['plugins']['get']('Users');for(const _0x5d7eac of _0x58806e)_0x5d7eac['isAnonymous']||_0x3d7ad5['getUser'](_0x5d7eac['id'])||_0x3d7ad5['addUser'](_0x5d7eac);const _0xa82ca6=_0x12106e['repository']['getRevisions']();let _0x55d4a4=null;const _0x916ac2=this['editor']['plugins']['get']('RevisionViewer');_0x916ac2['adapter']=_0x12106e['adapter'],_0x916ac2['bind']('isEnabled')['to'](_0x12106e),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x301413,'isReadOnly',_0x27406b=>!_0x27406b);for(const _0x1aa300 of _0xa82ca6){const _0x1649c4=null===_0x1aa300['creator'];if(_0x1649c4&&_0x1aa300['toVersion']===_0x1aa300['fromVersion'])continue;const _0x332e61=_0x1aa300['toJSON']();_0x916ac2['addRevisionData'](_0x332e61,(_0x3a77f5,_0x39d427,_0x2e7df4)=>{if(_0x1649c4){if(_0x55d4a4)_0x55d4a4['_update'](_0x3a77f5,_0x39d427);else{if(!_0x39d427){const _0x703d45=_0x2e7df4['toJSON']();_0x703d45['id']=_0x2bcde8(),_0x12106e['saveRevision'](_0x703d45,_0x2e7df4['toVersion'])['then'](_0x55c4e6=>{_0x55d4a4=_0x55c4e6;});}}}else _0x1aa300['_update'](_0x3a77f5,_0x39d427);});}}},w),_0x2f5722);}['_enhanceShowRevisionViewerCallback'](){const _0x11f1c8=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x208f4f=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4e0641=this['editor']['plugins']['get']('Autosave');await _0x4e0641['save']();}else await _0x208f4f['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1c8132=this['editor']['plugins']['get']('Dialog');_0x1c8132['isOpen']&&_0x1c8132['hide']();}const _0x14f009=this['_getRevisionViewerEditorConfig']();return _0x11f1c8(_0x14f009)['then'](_0x1bcbbf=>{return(this['_viewerEditor']=_0x1bcbbf,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x1bcbbf;})['catch'](_0x41bdd3=>(console['error'](_0x41bdd3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x53ba4d=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'](),_0x53ba4d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4e156c=this['editor']['plugins']['get']('Annotations');_0x4e156c['refreshVisibility'](),_0x4e156c['refreshPositioning']();}})));}['_showRevisionViewer'](_0x42afe0){const _0x21d8b1=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4f45d6=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x46bb93=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x46bb93,_0x42afe0)['then'](_0x54f700=>(_0x4f45d6['style']['display']='block',_0x21d8b1['style']['display']='none',_0x54f700));}['_closeRevisionViewer'](_0x3a7246){const _0x4d045e=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4d045e['style']['display']='',_0x3a7246['destroy']();}async['_restoreRevision'](_0x4aee88){const _0x25ea8a=this['editor'],_0x393e0b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xef938b=_0x25ea8a['plugins']['get']('RevisionTracker'),_0x51889d=_0x393e0b['repository']['getRevision'](_0x4aee88);let _0x306c4a,_0x3df58b,_0x4885ac;try{_0x306c4a=await _0x393e0b['getRevisionData'](_0x51889d),_0x3df58b=await _0x393e0b['getRevisionRootsAttributes'](_0x51889d);}catch(_0x42548d){return void console['error'](_0x42548d);}_0x25ea8a['model']['change'](_0x2df424=>{for(const _0x1fd2a5 of Array['from'](_0x25ea8a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2df424['removeMarker'](_0x1fd2a5);}),_0x393e0b['isReady']=!0x1,_0x25ea8a['model']['enqueueChange'](_0x5e3d21=>{_0x5e3d21['setSelection'](null),_0x5e3d21['removeSelectionAttribute'](_0x25ea8a['model']['document']['selection']['getAttributeKeys']());const _0x1173f7=Object['keys'](_0x306c4a);for(const _0x3c822b of _0x25ea8a['model']['document']['roots'])'$graveyard'!=_0x3c822b['rootName']&&_0x3c822b['isAttached']()&&!_0x1173f7['includes'](_0x3c822b['rootName'])&&_0x5e3d21['detachRoot'](_0x3c822b);for(const _0x4119bb of _0x1173f7){let _0x414523=_0x25ea8a['model']['document']['getRoot'](_0x4119bb);_0x414523&&_0x414523['isAttached']()||(_0x414523=_0x5e3d21['addRoot'](_0x4119bb));const _0x2c92e6=_0x3df58b[_0x4119bb],_0x26dba2=Object['keys'](_0x2c92e6),_0x2074cd=_0x306c4a[_0x4119bb];for(const _0x38128d of _0x414523['getAttributeKeys']())_0x26dba2['includes'](_0x38128d)||_0x5e3d21['removeAttribute'](_0x38128d,_0x414523);for(const _0x56ae44 of _0x26dba2)_0x5e3d21['setAttribute'](_0x56ae44,_0x3df58b[_0x4119bb][_0x56ae44],_0x414523);_0x5e3d21['remove'](_0x5e3d21['createRangeIn'](_0x414523)),_0x5e3d21['insert'](_0x25ea8a['data']['parse'](_0x2074cd,_0x414523),_0x414523,0x0);}});const _0x3695a3=y(_0x25ea8a['locale'],'Restored');if(_0x51889d['name'])_0x4885ac=-0x1==_0x51889d['name']['indexOf'](_0x3695a3)?_0x3695a3+':\x20'+_0x51889d['name']:_0x51889d['name'];else _0x4885ac=_0x3695a3+':\x20'+(_0x51889d['createdAt']['toLocaleDateString'](_0x25ea8a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x51889d['createdAt']['toLocaleTimeString'](_0x25ea8a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xef938b['saveRevision']({'name':_0x4885ac}),_0x393e0b['isReady']=!0x0,_0x25ea8a['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(_0x5dd533){super(_0x5dd533),this['_revisionViewer']=_0x5dd533['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3fa140=this['_revisionsRepository']['_revisions'],_0x40d8b6=this['_createRevisionActions'](),_0xeaacad=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3fa140,_0x40d8b6,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',(_0x5acd08,_0x51e9dd)=>{_0x51e9dd['revisionViews']['on']('add',(_0x930db2,_0x1c9abf)=>{_0x1c9abf['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)),_0xeaacad['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5dd4f4=this['_revisionsRepository']['getRevision'](0x0);if(_0x5dd4f4){const _0x37a746=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5dd4f4['id']);this['_revisionViewer']['compare'](_0x5dd4f4,_0x37a746);}}['_handleRevisionSelected'](_0x13f205,_0x2de02b){const _0x48c99b=this['_revisionsRepository']['getRevision'](_0x2de02b['id']),_0x105888=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x48c99b['id']);this['_revisionViewer']['compare'](_0x48c99b,_0x105888);}['_handleRevisionSetName'](_0x623bce,_0x971f63){this['_revisionsRepository']['getRevision'](_0x971f63['id'])['setName'](_0x971f63['name']);}['_handleDiffChange'](_0x4e9468,_0x590b60,_0x1dd85e){const _0x241427=this['_revisionsRepository']['getRevisionsInDiff'](_0x1dd85e);_0x241427['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x241427),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x241427[0x0]));}['_createRevisionActions'](){const _0x50225b=this['editor'],_0x3784ef=w['availableRevisionActions'],_0x525e75=_0x50225b['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x525e75['length'])return _0x525e75['map'](_0x13030a=>{const _0x3d29a9='string'==typeof _0x13030a?Object['assign']({},_0x3784ef[_0x13030a]):_0x13030a;return _0x3d29a9['action']=_0x3d29a9['action']['bind'](this,_0x50225b),_0x3d29a9['isVisible']&&(_0x3d29a9['isVisible']=_0x3d29a9['isVisible']['bind'](this,_0x50225b)),_0x3d29a9;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4ecd89},_0x36d93c)=>{const _0x2c07c7=_0x4ecd89['get'](d),_0x560ff0=_0x2c07c7['repository'];let _0x3e5676=_0x2c07c7['diff']['newRevisionId'],_0x467e1e=_0x36d93c['id'];_0x560ff0['getIndex'](_0x3e5676)>_0x560ff0['getIndex'](_0x467e1e)&&([_0x3e5676,_0x467e1e]=[_0x467e1e,_0x3e5676]),_0x2c07c7['compare'](_0x3e5676,_0x467e1e);},'isVisible':({plugins:_0x315626},_0x4920e9)=>{const _0x2558de=_0x315626['get'](d);return!(_0x2558de['repository']['getRevisionsInDiff'](_0x2558de['diff'])['length']>0x2)&&!_0x4920e9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10125c,{id:_0xc8f9b0})=>{_0x10125c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc8f9b0);},'isVisible':({plugins:_0x213d14},_0x1ea851)=>!!_0x213d14['get'](d)['repository']['getLaterVisibleRevision'](_0x1ea851['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1f6404},{id:_0x965ae6,revisionNameView:_0x3dcc6a})=>{const _0xc02684=_0x1f6404['get'](d),_0x2d114a=_0xc02684['repository']['getEarlierVisibleRevision'](_0x965ae6);_0xc02684['compare'](_0x965ae6,_0x2d114a),_0x3dcc6a['focus'](),_0x3dcc6a['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x30b63a,_0x5b0a87){super(_0x30b63a),this['_view']=_0x5b0a87,this['_toolbarConfig']=ct(_0x30b63a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x6ff1ba){const _0x43add7=this['editor'],_0x1e7a09=this['view'],_0x5d6591=_0x43add7['editing']['view'],_0x33b223=_0x1e7a09['editable'],_0x794fff=_0x5d6591['document']['getRoot']();_0x33b223['name']=_0x794fff['rootName'],_0x1e7a09['render']();const _0x2b31d4=_0x33b223['element'];this['setEditableElement'](_0x33b223['name'],_0x2b31d4),_0x1e7a09['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5d6591['attachDomRoot'](_0x2b31d4),this['_elementReplacer']['replace'](_0x6ff1ba,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3b1553=this['view'],_0x4197ef=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x4197ef['detachDomRoot'](_0x3b1553['editable']['name']),_0x3b1553['destroy']();}['_initToolbar'](){const _0x5f02b1=this['view'];_0x5f02b1['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5f02b1['stickyPanel']['limiterElement']=_0x5f02b1['element'],_0x5f02b1['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xddd17d})=>_0xddd17d),_0x5f02b1['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5f02b1['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x37fdf5,_0xdc2ed8,_0xfc2aad={}){super(_0x37fdf5),this['stickyPanel']=new lt(_0x37fdf5),this['toolbar']=new pt(_0x37fdf5,{'shouldGroupWhenFull':_0xfc2aad['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x37fdf5,_0xdc2ed8);}['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(_0x4c1d2e,_0x137406){super(_0x137406),this['sourceElement']=_0x4c1d2e,this['model']['document']['createRoot']();const _0x35fb75=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x35fb75);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1436b1,_0x3a1ee4){const _0x5be83e=new this(_0x1436b1,_0x3a1ee4);return await _0x5be83e['initPlugins'](),await _0x5be83e['ui']['init'](_0x1436b1),await _0x5be83e['data']['init'](_0x5be83e['config']['get']('initialData')||''),_0x5be83e['fire']('ready'),_0x5be83e;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x43c7ea{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x35f02a){super(_0x35f02a),this['result']='end';}}class H extends _0x43c7ea{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x311fac){if(super(_0x311fac),!this['editor']['config']['get']('revisionHistory'))throw new _0x249e0f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x29c189=>this['_showRevisionViewer']({..._0x29c189,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x532339=>this['_closeRevisionViewer'](_0x532339)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xfe1ccb=>this['_restoreRevision'](_0xfe1ccb)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x8c58d4){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x8c58d4;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x36710d){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x36710d);}['getRevision'](_0x36214f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x36214f);}['getRevisions'](_0x27e301){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x27e301||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x54de4d=this['editor'],_0x452382=_0x4514e3(_0x54de4d,p),_0x1f3baa=_0x54de4d['plugins']['get']('RevisionTracker'),_0x212d3d=_0x54de4d['plugins']['get']('Users')['users'];return _0x452382['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x452382['lazyRoots'],(_0x452382['plugins']['push'](k,d,R,class extends _0x43c7ea{static get['requires'](){return[d,'Users'];}['init'](){const _0x4563a2=this['editor']['plugins']['get']('Users');for(const _0x164158 of _0x212d3d)_0x164158['isAnonymous']||_0x4563a2['getUser'](_0x164158['id'])||_0x4563a2['addUser'](_0x164158);const _0x25b881=_0x1f3baa['repository']['getRevisions']();let _0x33bc31=null;const _0x1036a3=this['editor']['plugins']['get']('RevisionViewer');_0x1036a3['adapter']=_0x1f3baa['adapter'],_0x1036a3['bind']('isEnabled')['to'](_0x1f3baa),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x54de4d,'isReadOnly',_0x274132=>!_0x274132);for(const _0x3c7f8a of _0x25b881){const _0x785d99=null===_0x3c7f8a['creator'];if(_0x785d99&&_0x3c7f8a['toVersion']===_0x3c7f8a['fromVersion'])continue;const _0x5d28c1=_0x3c7f8a['toJSON']();_0x1036a3['addRevisionData'](_0x5d28c1,(_0x57531f,_0x4bb9e3,_0xcee911)=>{if(_0x785d99){if(_0x33bc31)_0x33bc31['_update'](_0x57531f,_0x4bb9e3);else{if(!_0x4bb9e3){const _0x313c3b=_0xcee911['toJSON']();_0x313c3b['id']=_0x438eb8(),_0x1f3baa['saveRevision'](_0x313c3b,_0xcee911['toVersion'])['then'](_0x382159=>{_0x33bc31=_0x382159;});}}}else _0x3c7f8a['_update'](_0x57531f,_0x4bb9e3);});}}},w),_0x452382);}['_enhanceShowRevisionViewerCallback'](){const _0x50414b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x226d94=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x73ea6b=this['editor']['plugins']['get']('Autosave');await _0x73ea6b['save']();}else await _0x226d94['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1b2224=this['editor']['plugins']['get']('Dialog');_0x1b2224['isOpen']&&_0x1b2224['hide']();}const _0x59ea8d=this['_getRevisionViewerEditorConfig']();return _0x50414b(_0x59ea8d)['then'](_0x456083=>{return(this['_viewerEditor']=_0x456083,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x456083;})['catch'](_0x896ece=>(console['error'](_0x896ece),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3e833a=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'](),_0x3e833a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x390231=this['editor']['plugins']['get']('Annotations');_0x390231['refreshVisibility'](),_0x390231['refreshPositioning']();}})));}['_showRevisionViewer'](_0x355c64){const _0x74d636=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2813ed=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2d7f1a=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2d7f1a,_0x355c64)['then'](_0x4fe07a=>(_0x2813ed['style']['display']='block',_0x74d636['style']['display']='none',_0x4fe07a));}['_closeRevisionViewer'](_0x11ecfc){const _0x48dd90=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x48dd90['style']['display']='',_0x11ecfc['destroy']();}async['_restoreRevision'](_0x51e115){const _0x511d33=this['editor'],_0x478c78=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5ed6e7=_0x511d33['plugins']['get']('RevisionTracker'),_0x283f1d=_0x478c78['repository']['getRevision'](_0x51e115);let _0xf99aca,_0x9b2b85,_0x478202;try{_0xf99aca=await _0x478c78['getRevisionData'](_0x283f1d),_0x9b2b85=await _0x478c78['getRevisionRootsAttributes'](_0x283f1d);}catch(_0x262df9){return void console['error'](_0x262df9);}_0x511d33['model']['change'](_0x1c58dd=>{for(const _0x5704b8 of Array['from'](_0x511d33['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1c58dd['removeMarker'](_0x5704b8);}),_0x478c78['isReady']=!0x1,_0x511d33['model']['enqueueChange'](_0x2c527b=>{_0x2c527b['setSelection'](null),_0x2c527b['removeSelectionAttribute'](_0x511d33['model']['document']['selection']['getAttributeKeys']());const _0x357362=Object['keys'](_0xf99aca);for(const _0xb2f9fb of _0x511d33['model']['document']['roots'])'$graveyard'!=_0xb2f9fb['rootName']&&_0xb2f9fb['isAttached']()&&!_0x357362['includes'](_0xb2f9fb['rootName'])&&_0x2c527b['detachRoot'](_0xb2f9fb);for(const _0x45c778 of _0x357362){let _0x1d40cb=_0x511d33['model']['document']['getRoot'](_0x45c778);_0x1d40cb&&_0x1d40cb['isAttached']()||(_0x1d40cb=_0x2c527b['addRoot'](_0x45c778));const _0x3f925e=_0x9b2b85[_0x45c778],_0x3ae49c=Object['keys'](_0x3f925e),_0x253758=_0xf99aca[_0x45c778];for(const _0x431d80 of _0x1d40cb['getAttributeKeys']())_0x3ae49c['includes'](_0x431d80)||_0x2c527b['removeAttribute'](_0x431d80,_0x1d40cb);for(const _0xdcb2a1 of _0x3ae49c)_0x2c527b['setAttribute'](_0xdcb2a1,_0x9b2b85[_0x45c778][_0xdcb2a1],_0x1d40cb);_0x2c527b['remove'](_0x2c527b['createRangeIn'](_0x1d40cb)),_0x2c527b['insert'](_0x511d33['data']['parse'](_0x253758,_0x1d40cb),_0x1d40cb,0x0);}});const _0x3c7f72=y(_0x511d33['locale'],'Restored');if(_0x283f1d['name'])_0x478202=-0x1==_0x283f1d['name']['indexOf'](_0x3c7f72)?_0x3c7f72+':\x20'+_0x283f1d['name']:_0x283f1d['name'];else _0x478202=_0x3c7f72+':\x20'+(_0x283f1d['createdAt']['toLocaleDateString'](_0x511d33['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x283f1d['createdAt']['toLocaleTimeString'](_0x511d33['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5ed6e7['saveRevision']({'name':_0x478202}),_0x478c78['isReady']=!0x0,_0x511d33['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};