@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240508.0 → 0.0.0-nightly-20240510.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/build/revision-history.js +1 -1
- package/build/translations/ti.js +1 -0
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/lang/translations/ti.po +136 -0
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x17c1cc,Context as _0x3e56e2,PendingActions as _0x128990,icons as _0x4df937,Command as _0x1c1c30,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5c80d6,uid as _0x55ddc3,Collection as _0x210b3a,logWarning as _0x2f0023,FocusTracker as _0x521d29,KeystrokeHandler as _0x5ce4a4,scrollViewportToShowTarget as _0x3a4463,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x11cae8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x135cd2,getMarkerDomElement as _0x461b7d,ConfirmMixin as _0x346f20,sanitizeEditorConfig as _0x35e67f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2714a1,ViewText as _0xf07b69,ViewElement as _0x296554,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x256ffb,ViewAttributeElement as _0x2f0af3,ViewEmptyElement as _0xd82b25,ViewRawElement as _0x5c9ebb,ViewUIElement as _0xadb654,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3ad142,set as _0x21b055,unset as _0x47dc92,isEqual as _0x185a7f}from'lodash-es';import{View as _0x796ce0,submitHandler as _0x1cedc1,LabeledFieldView as mt,createLabeledInputText as _0x169543,injectCssTransitionDisabler as ts,createDropdown as _0x15005b,ListView as te,ListItemView as _0x1448cd,ButtonView as _0x2e3682,MenuBarMenuView as _0x1c0a1b,MenuBarMenuListView as _0x1a5d66,MenuBarMenuListItemView as _0xacdda6,MenuBarMenuListItemButtonView as _0x30ab2a,ContextualBalloon as _0x310f20,ToolbarSeparatorView as _0xc56657,IconView as _0x12b085,addListToDropdown as _0x497b9d,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 _0x5915f2}from'luxon';class a extends _0x5c80d6(){['setName'](_0x44bee2){this['_update']({'name':_0x44bee2});}['setAttribute'](_0x2b320d,_0x24edb4){const _0x15b3d2=_0x3ad142(this['attributes']);_0x21b055(_0x15b3d2,_0x2b320d,_0x24edb4),this['_update']({'attributes':_0x15b3d2});}['removeAttribute'](_0x3da7cd){const _0x2df7d8=_0x3ad142(this['attributes']);_0x47dc92(_0x2df7d8,_0x3da7cd),this['_update']({'attributes':_0x2df7d8});}['_update'](_0x1acc52,_0x3c84b3=!0x1){let _0x180913=!0x1;const _0x21268c={'id':this['id']},_0x56df81=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x31d3b9 of _0x56df81){const _0x474cba=_0x1acc52[_0x31d3b9];void 0x0!==_0x474cba&&_0x474cba!==this[_0x31d3b9]&&(this[_0x31d3b9]=_0x474cba,_0x21268c[_0x31d3b9]=_0x474cba,_0x180913=!0x0);}_0x180913&&(_0x21268c['authors']&&(_0x21268c['authorsIds']=_0x21268c['authors']['map'](_0x37c261=>_0x37c261['id']),delete _0x21268c['authors']),this['fire']('_update',_0x21268c,_0x3c84b3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2f6856=>_0x2f6856['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x3e6e81){super(),this['id']=_0x3e6e81['id']||_0x55ddc3(),this['creator']=_0x3e6e81['creator']||null,this['authors']=_0x3e6e81['authors']||[],this['diffData']=_0x3e6e81['diffData']||null,this['toVersion']=_0x3e6e81['toVersion']||0x0,this['fromVersion']=_0x3e6e81['fromVersion']||0x0,this['set']('name',_0x3e6e81['name']||''),this['set']('createdAt',_0x3e6e81['createdAt']||new Date()),this['set']('attributes',_0x3e6e81['attributes']||{});}}class A extends _0x17c1cc{static get['requires'](){return[_0x135cd2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x4de8aa){function _0x27dafe(_0x371158,_0x57f6ee,_0x3b9244){const _0xb4dea6={};_0xb4dea6[_0x2556b4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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 _0x4d755c=new Uint8Array(0x10);for(let _0x22d4ea=0xf;_0x22d4ea>=0x0;--_0x22d4ea)_0x4d755c[_0x22d4ea]=_0x3b9244%0x100,_0x3b9244=parseInt(_0x3b9244/0x100);let _0x30d354=null,_0x5f0914=0x10;const _0x39ff46=new Uint8Array(_0x57f6ee),_0x13cada=[],_0x1ccb61=[];_0x5ac535();for(let _0x1270ed=0x0;_0x1270ed<_0x371158[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1270ed++)0x10===_0x5f0914&&(_0x30d354=_0x58eb21(_0x4d755c),_0x5f0914=0x0,_0x3ce5b7(_0x4d755c)),_0x371158[_0x1270ed]^=_0x30d354[_0x5f0914++];return _0x371158;function _0x282d32(_0x26eb59){const _0x1ad722=[];for(let _0x517bdd=0x0;_0x517bdd<_0x26eb59[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x517bdd+=0x4)_0x1ad722[_0x2556b4([0x70,0x75,0x73,0x68])](_0x26eb59[_0x517bdd]<<0x18|_0x26eb59[_0x517bdd+0x1]<<0x10|_0x26eb59[_0x517bdd+0x2]<<0x8|_0x26eb59[_0x517bdd+0x3]);return _0x1ad722;}function _0x3ce5b7(_0x4bb168){for(let _0x4b468b=0xf;_0x4b468b>=0x0;_0x4b468b--){if(0xff!==_0x4bb168[_0x4b468b]){_0x4bb168[_0x4b468b]++;break;}_0x4bb168[_0x4b468b]=0x0;}}function _0x58eb21(_0x47d192){const _0x482516=_0x13cada[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1ddb6e=[0x0,0x0,0x0,0x0];let t=_0x282d32(_0x47d192);for(let _0x5bf0d4=0x0;_0x5bf0d4<0x4;_0x5bf0d4++)t[_0x5bf0d4]^=_0x13cada[0x0][_0x5bf0d4];for(let _0x11917e=0x1;_0x11917e<_0x482516;_0x11917e++){for(let _0x4c36f3=0x0;_0x4c36f3<0x4;_0x4c36f3++)_0x1ddb6e[_0x4c36f3]=_0xb4dea6[_0x2556b4([0x54,0x31])][t[_0x4c36f3]>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x54,0x32])][t[(_0x4c36f3+0x1)%0x4]>>0x10&0xff]^_0xb4dea6[_0x2556b4([0x54,0x33])][t[(_0x4c36f3+0x2)%0x4]>>0x8&0xff]^_0xb4dea6[_0x2556b4([0x54,0x34])][0xff&t[(_0x4c36f3+0x3)%0x4]]^_0x13cada[_0x11917e][_0x4c36f3];t=_0x1ddb6e[_0x2556b4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x20b1f7=new Uint8Array(0x10);let _0x145fa0;for(let _0x48ff62=0x0;_0x48ff62<0x4;_0x48ff62++)_0x145fa0=_0x13cada[_0x482516][_0x48ff62],_0x20b1f7[0x4*_0x48ff62]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[_0x48ff62]>>0x18&0xff]^_0x145fa0>>0x18),_0x20b1f7[0x4*_0x48ff62+0x1]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[(_0x48ff62+0x1)%0x4]>>0x10&0xff]^_0x145fa0>>0x10),_0x20b1f7[0x4*_0x48ff62+0x2]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[(_0x48ff62+0x2)%0x4]>>0x8&0xff]^_0x145fa0>>0x8),_0x20b1f7[0x4*_0x48ff62+0x3]=0xff&(_0xb4dea6[_0x2556b4([0x53])][0xff&t[(_0x48ff62+0x3)%0x4]]^_0x145fa0);return _0x20b1f7;}function _0x5ac535(){const _0x6155b5=_0xb4dea6[_0x2556b4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x39ff46[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x18fcdd=0x0;_0x18fcdd<=_0x6155b5;_0x18fcdd++)_0x13cada[_0x2556b4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1ccb61[_0x2556b4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2b4c06=0x4*(_0x6155b5+0x1),_0x186310=_0x39ff46[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x587730=_0x282d32(_0x39ff46);let _0x1653cd;for(let _0x510232=0x0;_0x510232<_0x186310;_0x510232++)_0x1653cd=_0x510232>>0x2,_0x13cada[_0x1653cd][_0x510232%0x4]=_0x587730[_0x510232],_0x1ccb61[_0x6155b5-_0x1653cd][_0x510232%0x4]=_0x587730[_0x510232];let _0x8d3e20,_0xeb2480=0x0,t=_0x186310;for(;t<_0x2b4c06;){_0x8d3e20=_0x587730[_0x186310-0x1],_0x587730[0x0]^=_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x10&0xff]<<0x18^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x8&0xff]<<0x10^_0xb4dea6[_0x2556b4([0x53])][0xff&_0x8d3e20]<<0x8^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x72,0x63,0x6f,0x6e])][_0xeb2480]<<0x18,_0xeb2480+=0x1;for(let _0x21f2b8=0x1;_0x21f2b8<_0x186310/0x2;_0x21f2b8++)_0x587730[_0x21f2b8]^=_0x587730[_0x21f2b8-0x1];_0x8d3e20=_0x587730[_0x186310/0x2-0x1],_0x587730[_0x186310/0x2]^=_0xb4dea6[_0x2556b4([0x53])][0xff&_0x8d3e20]^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x8&0xff]<<0x8^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x10&0xff]<<0x10^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x18&0xff]<<0x18;for(let _0x4cd669=_0x186310/0x2+0x1;_0x4cd669<_0x186310;_0x4cd669++)_0x587730[_0x4cd669]^=_0x587730[_0x4cd669-0x1];let _0x2cf26d,_0x3850de,_0x438ca3=0x0;for(;_0x438ca3<_0x186310&&t<_0x2b4c06;)_0x2cf26d=t>>0x2,_0x3850de=t%0x4,_0x13cada[_0x2cf26d][_0x3850de]=_0x587730[_0x438ca3],_0x1ccb61[_0x6155b5-_0x2cf26d][_0x3850de]=_0x587730[_0x438ca3++],t++;}for(let _0x5076db=0x1;_0x5076db<_0x6155b5;_0x5076db++)for(let _0x52c9b1=0x0;_0x52c9b1<0x4;_0x52c9b1++)_0x8d3e20=_0x1ccb61[_0x5076db][_0x52c9b1],_0x1ccb61[_0x5076db][_0x52c9b1]=_0xb4dea6[_0x2556b4([0x55,0x31])][_0x8d3e20>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x55,0x32])][_0x8d3e20>>0x10&0xff]^_0xb4dea6[_0x2556b4([0x55,0x33])][_0x8d3e20>>0x8&0xff]^_0xb4dea6[_0x2556b4([0x55,0x34])][0xff&_0x8d3e20];}}function _0x2556b4(_0x5e06ae){return _0x5e06ae['map'](_0x1a8f9a=>String['fromCharCode'](_0x1a8f9a))['join']('');}(_0x313484=>{function _0x1cae5a(){const _0x2dc1f7=[{[_0x2556b4([0x69,0x64])]:0x1,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2556b4([0x69,0x64])]:0x2,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2556b4([0x69,0x64])]:0x3,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2556b4([0x69,0x64])]:0x4,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2556b4([0x69,0x64])]:0x5,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x6,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x7,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x8,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x9,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2556b4([0x69,0x64])]:0xa,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([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]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([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]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0xb,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2556b4([0x69,0x64])]:0xc,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2556b4([0x69,0x64])]:0xd,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0xe,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2556b4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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])},{[_0x2556b4([0x69,0x64])]:0xf,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x5bd33b(_0x2dc1f7),_0x2dc1f7;function _0x3fa71b(_0x2ee9cd){return 0x1<<_0x2ee9cd-0x1;}function _0x5bd33b(_0x46c3b6){_0x46c3b6[_0x2556b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa4ab39=>{_0xa4ab39[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3fa71b(_0xa4ab39[_0x2556b4([0x69,0x64])]),_0x146643(_0xa4ab39)&&_0xa4ab39[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5bd33b(_0xa4ab39[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x146643(_0x96a5c9){return _0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x96a5c9;}const _0x36845e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5507ff=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x26e060(_0x174b31){const _0x3347e3=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x52eed4(_0x174b31,new Uint8Array([..._0x36845e,..._0x3347e3,..._0x5507ff]));}function _0x52eed4(_0x18dc19,_0x549e4a){const _0x5eabcb=_0x3f6c41(_0x18dc19),_0x3d78aa=Array[_0x2556b4([0x66,0x72,0x6f,0x6d])](_0xe37ff0(_0x5eabcb)),_0x5172cd=_0x3d78aa[_0x2556b4([0x70,0x6f,0x70])](),_0x55f698=_0x3d78aa[_0x2556b4([0x70,0x6f,0x70])]();return _0x59ed6c(_0x27dafe(_0x3d78aa,_0x549e4a,_0x55f698+0x100*_0x5172cd));}function _0x3f6c41(_0x285086){const _0x92e221=atob(_0x285086),[_0x9d0fff,_0x50b58d]=_0x92e221[_0x2556b4([0x73,0x70,0x6c,0x69,0x74])](_0x2556b4([0x2d]));try{if(atob(_0x50b58d))return atob(_0x9d0fff);}catch(_0x180e03){}return _0x92e221;}function _0x3fc674(_0x474dc6){try{const _0x522900=_0x26e060(_0x474dc6),_0x398cdc=JSON[_0x2556b4([0x70,0x61,0x72,0x73,0x65])](_0x522900),_0x3a3a2c=parseInt(_0x398cdc[_0x2556b4([0x31])]),_0x1f170c=_0x398cdc[_0x2556b4([0x32])]||'',_0x119ead=parseInt(_0x398cdc[_0x2556b4([0x33])]),_0x3c98cc=parseInt(_0x398cdc[_0x2556b4([0x34])])||0x0,_0x50b20b=parseInt(_0x398cdc[_0x2556b4([0x35])])||0x0;return{[_0x2556b4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1f170c,[_0x2556b4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3c98cc,[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3a3a2c,[_0x2556b4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x119ead,[_0x2556b4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x50b20b};}catch(_0x24c879){return null;}}const _0x40cd34=_0x1cae5a(),_0x5538f8={[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5919e7,[_0x2556b4([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])]:_0x4c0e89,[_0x2556b4([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])]:_0x4ffe84},_0x52a107=_0x313484[_0x2556b4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4cc975=_0x2556b4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x313484?_0x313484['context']:_0x313484['editor'],_0x24cb0d=_0x2556b4([0x34,0x30,0x34,0x38,0x31,0x30,0x31,0x36]),_0x45576f=_0x2556b4([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]),_0x2ab8c5=_0x4cc975['config']['get'](_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xa93b10=_0x40cd34[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146643)[_0x2556b4([0x66,0x69,0x6e,0x64])](_0x234462=>_0x234462[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x52a107);function _0x41108c(_0x2584e1,_0x4109be){_0x5538f8[_0x4109be[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2584e1,_0x4109be),_0x4109be[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4109be[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x420b3d=>_0x5a4686(_0x4cc975,_0x420b3d[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2556b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc07836=>_0x41108c(_0x2584e1,_0xc07836));}function _0x5919e7(_0x4735d3,_0x225b51){_0x5790bb(_0x1f2ad(_0x4735d3,_0x225b51),_0x225b51);}function _0x4c0e89(_0x402bd9,_0x428c47){function _0x23a500(_0x504ab9,_0x10a794){try{if(_0x5a4686(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x504ab9){const _0x5e5579=_0x274b85(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2556b4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e5579)/0x2>_0x504ab9[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x35f0ca(_0x10a794[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1f2ad(_0x504ab9,_0x10a794);}catch(_0x2c9f4f){return _0x35f0ca(_0x10a794[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5790bb(_0x23a500(_0x402bd9,_0x428c47),_0x428c47);}function _0x4ffe84(_0x2dfc1b,_0x1395a6){const _0x4cd06b=_0x5507ff[0x0]*_0x36845e[0x1],_0x38c111=_0x5507ff[0x0]*_0x36845e[0x2],_0x46d4da=_0x5507ff[0x2]*_0x36845e[0x2];_0x5a4686(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274b85(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4b60fc()]=_0x46d4da);function _0x53703b(_0x30d1b9,_0x195aa7){try{return _0x25e863()?_0x35f0ca(_0x195aa7[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x1f2ad(_0x30d1b9,_0x195aa7);}catch(_0xcf8702){return _0x35f0ca(_0x195aa7[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xccc658(_0x3f439d,_0x9d7b08){const _0x34157b=0x7;if(_0x3f439d==_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x144d0b();else{if(_0x3f439d==_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])){const _0x59b2bb=_0x2fe454();_0x59b2bb&&_0xd2a67a(_0x59b2bb,_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x30b641=_0x33fe2f();window[_0x2556b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd2a67a(_0x2556b4([0x74,0x69,0x6d,0x65]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x30b641);const _0x3c6114=_0x274b85(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c6114[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34157b?_0xd2a67a(_0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c6114['on'](_0x2556b4([0x61,0x64,0x64]),()=>{_0x3c6114[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34157b&&_0xd2a67a(_0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2fe454(){if(!_0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c8ceb in window)if(Number['isNaN'](Number(_0x2c8ceb))){if(window[_0x2c8ceb]===_0x4cd06b)return _0x2556b4([0x74,0x69,0x6d,0x65]);if(window[_0x2c8ceb]===_0x38c111)return _0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x25e863(){if(!_0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x315e13 in window)if(Number['isNaN'](Number(_0x315e13))&&window[_0x315e13]===_0x46d4da)return!0x0;return!0x1;}function _0xd2a67a(_0x28c1ab,_0x46f417){_0x144d0b(),_0x35f0ca(_0x46f417+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x28c1ab),window[_0x4b60fc()]=_0x28c1ab===_0x2556b4([0x74,0x69,0x6d,0x65])?_0x4cd06b:_0x38c111;}function _0x33fe2f(){let _0x1bb69b=_0x5507ff[0x6]*_0x36845e[0x8]*_0x36845e[0x6];return _0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bb69b/=0xa),_0x1bb69b;}function _0x144d0b(){const _0x1a25a4=_0x4cc975;function _0x5de05c(){_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x36c141,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x36c141,_0x1a25a4[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0x1a25a4[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0x1a25a4[_0x2556b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x36c141,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x36c141);}_0x1a25a4[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x72,0x65,0x61,0x64,0x79])?_0x5de05c():_0x1a25a4[_0x2556b4([0x6f,0x6e,0x63,0x65])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5de05c(),_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x59b37d=_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2e93e4=_0x59b37d['getRevision'](0x0),_0x5f5728=_0x59b37d['getEarlierVisibleRevision'](_0x2e93e4[_0x2556b4([0x69,0x64])]);_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2e93e4[_0x2556b4([0x69,0x64])],_0x5f5728?_0x5f5728[_0x2556b4([0x69,0x64])]:null,0x1)['then'](()=>_0x5de05c());}});}_0xccc658(_0x53703b(_0x2dfc1b,_0x1395a6),_0x1395a6);}function _0x1f2ad(_0x4c6a5f,_0x3d5d22){try{return _0x2d258d(_0x3d5d22)?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x4c6a5f&&_0x1e10a3(_0x4c6a5f[_0x2556b4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3d5d22)?_0x4c6a5f[_0x2556b4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2556b4([0x6f,0x70,0x65,0x6e])][_0x2556b4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x24cb0d)/0x2>_0x4c6a5f[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4c6a5f[_0x2556b4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])):_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1c1cd4){return _0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5790bb(_0x5ad55f,_0x4c3a60){if(_0x4cc975 instanceof _0x3e56e2){const _0x23376e=_0x4cc975;_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4fbfc5(_0x23376e):_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2556b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4fbfc5(_0x23376e),_0x35f0ca(_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5507ff[0x6]*_0x36845e[0x8]*_0x36845e[0x6]),_0x23376e[_0x2556b4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2556b4([0x6f,0x6e])](_0x2556b4([0x61,0x64,0x64]),(_0xecae95,_0x342363)=>{_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3f21c2(_0x342363);});}else{const _0x2a4eaf=_0x4cc975;_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3f21c2(_0x2a4eaf):_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])&&_0x2a4eaf[_0x2556b4([0x6f,0x6e])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xb5b3f2=0x0;_0x2a4eaf[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x6f,0x6e])](_0x2556b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x229da5,_0x373d50)=>{_0x373d50[0x0][_0x2556b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb5b3f2++,0x1f8===_0xb5b3f2&&(_0x3f21c2(_0x2a4eaf),_0x35f0ca(_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x229da5[_0x2556b4([0x6f,0x66,0x66])]());},{'priority':_0x2556b4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x35f0ca(_0x17ba9c){const _0x132c8f=_0x4b60fc();return _0x4cc975[_0x132c8f]=_0x17ba9c,_0x17ba9c;}function _0x4b60fc(){const _0x24b2f2=String(window[_0x2556b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2556b4([0x6e,0x6f,0x77])]())[_0x2556b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2556b4([0x2e]),'');let _0x239a33='';for(let _0x1db4aa=0x0;_0x1db4aa<_0x24b2f2[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1db4aa+=0x2){let _0x4c21fa=parseInt(_0x24b2f2[_0x2556b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1db4aa,_0x1db4aa+0x2));_0x4c21fa>=_0x45576f[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c21fa-=_0x45576f[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x239a33+=_0x45576f[_0x4c21fa];}return _0x239a33;}function _0x4fbfc5(_0x21fff1){for(const _0x3afa67 of _0x21fff1[_0x2556b4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3f21c2(_0x3afa67);_0x274b85(_0x21fff1,_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x274b85(_0x21fff1,_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x36c141;}function _0x3f21c2(_0xb658c3){function _0x1d0f83(){_0xb658c3[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0xb658c3[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0xb658c3[_0x2556b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c]));}_0xb658c3[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x72,0x65,0x61,0x64,0x79])?_0x1d0f83():_0xb658c3[_0x2556b4([0x6f,0x6e,0x63,0x65])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>_0x1d0f83());}function _0x36c141(){return null;}function _0x1e10a3(_0x2bc0d5,_0x46a87e){const _0x32ad73=!!(_0x2bc0d5&_0x46a87e[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1898aa=_0xad0a22(_0x2bc0d5,_0x46a87e);return _0x32ad73||_0x1898aa;}function _0xad0a22(_0x20386a,_0x4dd386){const _0x39e19b=(_0x4dd386[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2556b4([0x66,0x67,0x69])]||null;return!!_0x39e19b&&_0x40cd34[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e215a=>_0x39e19b[_0x2556b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e215a[_0x2556b4([0x69,0x64])]))[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170c5a=>!_0x24805d(_0x170c5a))[_0x2556b4([0x73,0x6f,0x6d,0x65])](_0xa4c111=>!!(_0x20386a&_0xa4c111[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x24805d(_0x24cb19){const _0x10854a={[_0x2556b4([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])]:_0x4532e4};return!!_0x24cb19['forbiddenHandler']&&_0x10854a[_0x24cb19['forbiddenHandler']]();}function _0x4532e4(){return!window[_0x2556b4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5a4686(_0x4cc975,_0x2556b4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2d258d(_0x53e3e1){if(!_0x5a4686(_0x4cc975,_0x53e3e1[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2b5a03=_0x53e3e1[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x160d90=_0x2b5a03[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x355150=_0x2b5a03[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x46bca2=_0x2b5a03[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5a4686(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274b85(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x160d90)return!0x0;if(_0x5a4686(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x274b85(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2556b4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2556b4([0x65,0x6e,0x64])&&_0x355150)return!0x0;return!(!_0x5a4686(_0x4cc975,_0x2556b4([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]))||_0x274b85(_0x4cc975,_0x2556b4([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]))[_0x2556b4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2556b4([0x65,0x6e,0x64])||!_0x46bca2);}function _0x5a4686(_0x4962f6,_0x4a07ed){return _0x4962f6[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2556b4([0x68,0x61,0x73])](_0x4a07ed);}function _0x274b85(_0x2818df,_0x493ec8){return _0x2818df[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2556b4([0x67,0x65,0x74])](_0x493ec8);}function _0x59ed6c(_0x1498e1){let _0x327efd='';for(const _0x4591d8 of _0x1498e1)_0x327efd+=String[_0x2556b4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4591d8);return _0x327efd;}function _0xe37ff0(_0x4bf9f4){const _0x206bd0=new Uint8Array(_0x4bf9f4[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1284a1=0x0;_0x1284a1<_0x4bf9f4[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1284a1++)_0x206bd0[_0x1284a1]=_0x4bf9f4[_0x2556b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1284a1);return _0x206bd0;}_0xa93b10&&_0x41108c(_0x3fc674(_0x2ab8c5),_0xa93b10);})(_0x4de8aa);}(this);}['createRevision'](_0x3856f3){const _0x4b352c=this['editor']['plugins']['get']('Users');return new a({'id':_0x3856f3['id'],'name':_0x3856f3['name'],'creator':_0x3856f3['creatorId']?_0x4b352c['getUser'](_0x3856f3['creatorId']):null,'diffData':_0x3856f3['diffData']||_0x3856f3['data'],'authors':_0x3856f3['authorsIds']['map'](_0x5acac5=>_0x4b352c['getUser'](_0x5acac5)),'createdAt':new Date(_0x3856f3['createdAt']),'attributes':_0x3856f3['attributes'],'fromVersion':_0x3856f3['fromVersion'],'toVersion':_0x3856f3['toVersion']});}['addRevision'](_0x191ae2,_0x5d05a7=0x0){this['_revisions']['add'](_0x191ae2,_0x5d05a7);}['getRevision'](_0x3079b3){return this['_revisions']['get'](_0x3079b3);}['getRevisions'](_0x3b408f={'toJSON':!0x1}){const _0xc0eecd=Array['from'](this['_revisions']);return _0xc0eecd['reverse'](),_0x3b408f['toJSON']?_0xc0eecd['map'](_0x42cdc8=>_0x42cdc8['toJSON']()):_0xc0eecd;}['getIndex'](_0x2bf29c){return this['_revisions']['getIndex'](_0x2bf29c);}['getEarlierVisibleRevision'](_0x5d01b4){const [,_0x50aab6]=this['getRevisionsIterator'](_0x5d01b4,{'direction':'earlier'});return _0x50aab6;}['getLaterVisibleRevision'](_0x48eb3e){const [,_0x3bcf6d]=this['getRevisionsIterator'](_0x48eb3e,{'direction':'later'});return _0x3bcf6d;}['getRevisionsInDiff'](_0x236aa0){const _0x6bda9d=[];for(const _0x5b3d14 of this['getRevisionsIterator'](_0x236aa0['newRevisionId']))if(_0x6bda9d['push'](_0x5b3d14),_0x5b3d14['id']===_0x236aa0['oldRevisionId'])break;return _0x6bda9d;}*['getRevisionsIterator'](_0x4678ab,{direction:_0xd45053='earlier',filter:_0xd52e55=_0xbdd3bc=>!0x0}={}){const _0xbd4684='earlier'===_0xd45053?0x1:-0x1;let _0x2d379a=this['_revisions']['get'](_0x4678ab),_0x3185fb=this['getIndex'](_0x2d379a);for(yield _0x2d379a;_0x2d379a;){if(_0x3185fb+=_0xbd4684,_0x2d379a=this['getRevision'](_0x3185fb),!_0x2d379a)return;_0xd52e55(_0x2d379a)&&(yield _0x2d379a);}}constructor(_0xc11815){super(_0xc11815),this['_revisions']=new _0x210b3a();}}function y(_0x2b62b5,_0x24395e,_0x4f72ac){const t=_0x2b62b5['t'];switch(_0x24395e){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'},_0x4f72ac);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4f72ac);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':_0x256ffb,'a':_0x2f0af3,'e':_0xd82b25,'r':_0x5c9ebb,'u':_0xadb654};class l extends _0x17c1cc{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x135cd2,A,_0x128990];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0xb3c506=this['repository']['getRevision'](0x0),_0x300ea7=_0xb3c506&&null===_0xb3c506['creator']?_0xb3c506:null;if(this['_continueCurrentRevision']=!!_0x300ea7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x13b782=this['_source']['getCurrentRevisionId'](),_0x14bac7=this['repository']['getRevision'](_0x13b782);if(_0x14bac7)this['_startingVersion']=_0x14bac7['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x49af72=this['_source']['history']['_operations']['find'](_0x24f4ba=>!_0x24f4ba['_isInit']),_0x21391d=_0x49af72?_0x49af72['baseVersion']:this['_source']['history']['version'];_0xb3c506?(_0xb3c506['toVersion']<_0x21391d&&_0xb3c506['_update']({'toVersion':_0x21391d}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id'],this['_startingVersion']=_0x300ea7['fromVersion']):(this['_startingVersion']=_0xb3c506['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x21391d,this['_continueCurrentRevision']=!0x1);}}else _0x300ea7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x300ea7['toVersion'],this['editor']['model']['document']['history']['version']),_0x300ea7['fromVersion']===_0x300ea7['toVersion']?(0x0!==_0x300ea7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id'],this['_startingVersion']=_0x300ea7['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',_0x2b649c=>!_0x2b649c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x51f699=this['repository']['getRevision'](0x0),_0x50bbb1=await this['getRevisionDocumentData'](_0x51f699),_0x44ae83=await this['getRevisionRootsAttributes'](_0x51f699);this['_replaceEditorDataWithRevisionData'](_0x50bbb1,_0x44ae83);}}['setSource'](_0x5c5fac){this['_source']=_0x5c5fac;}async['update'](){const _0x4acd11=await this['_source']['getLatestVersion']();if(_0x4acd11>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2861ce=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4acd11});_0x2861ce['authors']=_0x2861ce['authorsIds']['map'](_0x3bbb84=>this['editor']['plugins']['get']('Users')['getUser'](_0x3bbb84)),this['currentRevision']['_update'](_0x2861ce);}}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'](_0x4e7cb2={},_0x4cc376=null){const _0x4e9484=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4cc376>this['currentRevision']['toVersion']&&(_0x4cc376=null),null===_0x4cc376&&(_0x4cc376=await this['_source']['getLatestVersion']());const _0xafdf6f=this['_getFromVersion'](_0x4cc376),_0x2a22d1=this['buildRevisionData']({'from':_0xafdf6f,'to':_0x4cc376});if(this['currentRevision']['toVersion']<_0x4cc376){const _0x5a13e8=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4cc376,'to':_0x4cc376});_0x5a13e8['authors']=[],_0x5a13e8['authorsIds']=[],_0x5a13e8['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5a13e8,!0x0),delete _0x5a13e8['authors'],_0x4e9484['push'](_0x5a13e8);}_0x4e7cb2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4e7cb2['name']=_0x4e7cb2['name']||null,_0x4e7cb2['id']=_0x4e7cb2['id']||_0x55ddc3(),_0x4e7cb2={..._0x4e7cb2,..._0x2a22d1};const _0x5a5424=this['addRevisionData'](_0x4e7cb2);_0x4e9484['push'](_0x4e7cb2);const _0x56122d=this['repository']['getIndex'](_0x5a5424);if(0x0!==_0x56122d){const _0x35adf8=this['repository']['getRevision'](_0x56122d-0x1);if(_0x35adf8['fromVersion']!==_0x4cc376){const _0x305ea8=this['_revisionDataBuilder']['getData'](_0x4cc376,_0x35adf8['toVersion']),_0x5c10dc={'id':_0x35adf8['id'],'diffData':_0x305ea8['diffData'],'authorsIds':_0x305ea8['authorsIds'],'authors':_0x305ea8['authorsIds']['map'](_0x281fa3=>this['editor']['plugins']['get']('Users')['getUser'](_0x281fa3)),'fromVersion':_0x4cc376};_0x35adf8===this['currentRevision']&&(_0x5c10dc['createdAt']=new Date(_0x4e7cb2['createdAt']['getTime']()+0xa)),_0x35adf8['_update'](_0x5c10dc,!0x0),delete _0x5c10dc['authors'],_0x4e9484['push'](_0x5c10dc);}}if(this['adapter']){for(const _0x554668 of _0x4e9484)this['_bufferUpdate'](_0x554668['id'],_0x554668,!0x0);this['sendBufferedUpdates']();}return _0x5a5424;}['addRevisionData'](_0x304663){const _0x3d7ecb=this['repository']['createRevision'](_0x304663);return this['adapter']&&_0x3d7ecb['on']('_update',(_0x2fd882,_0x2488ae,_0xb8e5e5)=>{_0xb8e5e5||(this['_bufferUpdate'](_0x2488ae['id'],_0x2488ae,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3d7ecb,this['_findInsertionIndex'](_0x3d7ecb)),_0x3d7ecb;}async['getRevisionDocumentData'](_0xa59325){await this['_loadRevisionData'](_0xa59325);const _0x105deb={};for(const _0x583d5f in _0xa59325['diffData']){if(_0xa59325['diffData'][_0x583d5f]['attachChange']&&!_0xa59325['diffData'][_0x583d5f]['attachChange']['isAttached'])continue;const _0x39b770=this['_removeRevisionMarkers'](JSON['parse'](_0xa59325['diffData'][_0x583d5f]['insertions'])),_0x11bad3=this['editor']['editing']['view']['document'],_0x12ad21=new _0x2714a1(_0x11bad3,_0x39b770['map'](_0x647410=>B(_0x647410,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x105deb[_0x583d5f]=this['editor']['data']['processor']['toData'](_0x12ad21),this['editor']['data']['processor']['useFillerType']('default');}return _0x105deb;}async['getRevisionRootsAttributes'](_0x3cb9fe){await this['_loadRevisionData'](_0x3cb9fe);const _0x24eb8c={};for(const _0x57ed3d in _0x3cb9fe['diffData'])_0x3cb9fe['diffData'][_0x57ed3d]['attachChange']&&!_0x3cb9fe['diffData'][_0x57ed3d]['attachChange']['isAttached']||(_0x24eb8c[_0x57ed3d]=_0x3cb9fe['diffData'][_0x57ed3d]['attributesAfter']||{});return _0x24eb8c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3f1023=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x47e74a=0x0;_0x47e74a<_0x3f1023['length'];_0x47e74a++){const _0x446529=_0x3f1023[_0x47e74a];let _0x2478c2=!0x1;for(const _0xa20aef of Object['keys'](_0x446529))void 0x0===_0x446529[_0xa20aef]?delete _0x446529[_0xa20aef]:'id'!==_0xa20aef&&(_0x2478c2=!0x0);_0x2478c2||(_0x3f1023[_0x47e74a]=null);}if(_0x3f1023=_0x3f1023['filter'](_0x4d6628=>null!==_0x4d6628),!_0x3f1023['length'])return;for(let _0xadd93b=0x0;_0xadd93b<_0x3f1023['length'];_0xadd93b++){const _0x20109c=_0x3f1023[_0xadd93b];void 0x0!==_0x20109c['fromVersion']&&void 0x0===_0x20109c['toVersion']&&(_0x20109c['toVersion']=this['repository']['getRevision'](_0x20109c['id'])['toVersion']),void 0x0!==_0x20109c['toVersion']&&void 0x0===_0x20109c['fromVersion']&&(_0x20109c['fromVersion']=this['repository']['getRevision'](_0x20109c['id'])['fromVersion']);}const _0x563c4f=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3f1023,_0x563c4f)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x37774e=>{if(_0x37774e){for(const _0x268e57 of _0x37774e)this['setRevisionData']({'id':_0x268e57['id'],'createdAt':_0x268e57['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2ae77e,_0x3b88a1){let _0x3a2d56=this['editor']['config']['get']('initialData'),_0x214cd5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3a2d56){_0x3a2d56={};for(const _0x33346f of this['editor']['model']['document']['getRootNames']())_0x3a2d56[_0x33346f]='';}if('string'==typeof _0x3a2d56&&(_0x3a2d56={'main':_0x3a2d56}),void 0x0===_0x214cd5){_0x214cd5={};for(const _0x5f4037 of this['editor']['model']['document']['getRootNames']())_0x214cd5[_0x5f4037]={};}let _0x4eb42f=!0x1;const _0x55413c=Object['keys'](_0x3a2d56),_0x5247a4=Object['keys'](_0x2ae77e);for(const _0x4bfcfa of _0x55413c){if(_0x3a2d56[_0x4bfcfa]!==_0x2ae77e[_0x4bfcfa]&&''!==_0x3a2d56[_0x4bfcfa]['trim']()){_0x4eb42f=!0x0;break;}if(!_0x185a7f(_0x214cd5[_0x4bfcfa],_0x3b88a1[_0x4bfcfa])&&Object['keys'](_0x214cd5[_0x4bfcfa])['length']>0x0){_0x4eb42f=!0x0;break;}}_0x4eb42f||(_0x4eb42f=_0x5247a4['some'](_0xe33e84=>!this['editor']['model']['document']['getRoot'](_0xe33e84))),_0x4eb42f&&_0x2f0023('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3a2d56,'editorRootsAttributes':_0x214cd5,'revisionData':_0x2ae77e,'revisionRootsAttributes':_0x3b88a1}),this['editor']['config']['set']('initialData',_0x2ae77e),this['editor']['config']['set']('rootsAttributes',_0x3b88a1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x47f7d1=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x47f7d1['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x62fff5){const _0x7f3937=this['repository']['getRevisions']();_0x7f3937['reverse']();let _0x31230a=0x0;for(;_0x31230a<_0x7f3937['length'];){const _0x43fc6b=_0x7f3937[_0x31230a];if(_0x43fc6b===this['currentRevision']){_0x31230a++;continue;}if(_0x43fc6b['id']===this['_initialRevisionId'])break;const _0x389812=_0x62fff5['toVersion']-_0x43fc6b['toVersion']||_0x62fff5['fromVersion']-_0x43fc6b['fromVersion'];if(_0x389812>0x0)break;if(_0x389812<0x0)_0x31230a++;else{if(!_0x62fff5['creator']&&_0x43fc6b['creator'])break;if(_0x43fc6b['creator']||!_0x62fff5['creator']){if(_0x62fff5['createdAt']>_0x43fc6b['createdAt'])break;_0x31230a++;}else _0x31230a++;}}return _0x31230a;}['setRevisionData'](_0x470a31){const _0x101391=this['repository']['getRevision'](_0x470a31['id']);if(_0x470a31['createdAt']&&(_0x470a31['createdAt']=new Date(_0x470a31['createdAt'])),_0x470a31['authorsIds']){const _0x5df6d7=this['editor']['plugins']['get']('Users');_0x470a31['authors']=_0x470a31['authorsIds']['map'](_0x5b9a6b=>_0x5df6d7['getUser'](_0x5b9a6b));}_0x101391['_update'](_0x470a31,!0x0);}['buildRevisionData']({revision:_0x5e9ff7=null,from:_0x17927c=null,to:_0xcf23fa=null}){_0x17927c=null!==_0x17927c?_0x17927c:_0x5e9ff7['fromVersion'],_0xcf23fa=null!==_0xcf23fa?_0xcf23fa:_0x5e9ff7['toVersion'];const _0xb54ffb=this['_revisionDataBuilder']['getData'](_0x17927c,_0xcf23fa),_0x25e4f8={'diffData':_0xb54ffb['diffData'],'authorsIds':_0xb54ffb['authorsIds'],'fromVersion':_0x17927c,'toVersion':_0xcf23fa};if(!_0x5e9ff7||_0xcf23fa!==_0x5e9ff7['toVersion']){const _0x22a868=_0xcf23fa-0x1,_0x42d3f7=this['_source']['history']['getOperation'](_0x22a868);_0x25e4f8['createdAt']=_0x42d3f7&&_0x42d3f7['createdAt']||new Date();}if(this['_loadedStateData']&&_0x17927c===this['_loadedStateData']['fromVersion']){for(const _0x1011fc of this['_loadedStateData']['authors'])_0x25e4f8['authorsIds']['includes'](_0x1011fc['id'])||_0x25e4f8['authorsIds']['push'](_0x1011fc['id']);}return _0x25e4f8;}['_loadRevisionData'](_0x7d4341){if(!_0x7d4341||_0x7d4341['diffData'])return Promise['resolve']();{const _0x22b2e3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x22b2e3,'revisionId':_0x7d4341['id']})['then'](_0x204cbf=>{_0x7d4341['diffData']=_0x204cbf['diffData'];});}}['_bufferUpdate'](_0x33e53a,_0x30d6bc,_0x5debbb){if(this['_bufferedUpdates']['has'](_0x33e53a)){const _0x4a3d01=this['_bufferedUpdates']['get'](_0x33e53a);_0x30d6bc=_0x5debbb?{..._0x4a3d01,..._0x30d6bc}:{..._0x30d6bc,..._0x4a3d01};}this['_bufferedUpdates']['set'](_0x33e53a,_0x30d6bc);}['_getFromVersion'](_0x423d7a){const _0x2f410a=this['repository']['getRevisions']();_0x2f410a['reverse'](),_0x2f410a['shift']();const _0x313268=_0x2f410a['find'](_0x203ebc=>_0x203ebc['toVersion']<=_0x423d7a)['toVersion'];return _0x313268<this['_startingVersion']?this['_startingVersion']:_0x313268;}['_createInitialRevision'](_0x19f7d9){const _0x501ae9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x501ae9)this['_initialRevisionId']=_0x501ae9['id'];else{const _0x51a128=!this['editor']['model']['document']['roots']['find'](_0xb9ae1b=>this['editor']['model']['hasContent'](_0xb9ae1b)),_0xf55732=this['editor']['plugins']['get']('Users')['me']['id'],_0x4ead17=y(this['editor']['locale'],_0x51a128?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x19f7d9,'to':_0x19f7d9,'id':this['_initialRevisionId'],'name':_0x4ead17,'creatorId':_0xf55732});}}['_createCurrentRevision'](_0xcf3119){const _0x530933=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x530933),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xcf3119,'to':_0xcf3119,'id':_0x530933,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2d0b16,from:_0x3e3f34,to:_0x5423bf,creatorId:_0x1a79a6,id:_0x1b1b1a}){const _0x5d5787=this['buildRevisionData']({'from':_0x3e3f34,'to':_0x5423bf});_0x5d5787['name']=_0x2d0b16,_0x5d5787['creatorId']=_0x1a79a6,_0x5d5787['id']=_0x1b1b1a;const _0x3ef81e=this['addRevisionData'](_0x5d5787);return this['adapter']&&this['_bufferUpdate'](_0x5d5787['id'],_0x5d5787,!0x0),_0x3ef81e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x57b21e){return(_0x57b21e=_0x57b21e['filter'](_0x1f5e32=>!_0x1f5e32['name']||'revision-start'!==_0x1f5e32['name']&&'revision-end'!==_0x1f5e32['name']))['forEach'](_0x477ef8=>{'string'!=typeof _0x477ef8&&(_0x477ef8['children']=this['_removeRevisionMarkers'](_0x477ef8['children']),_0x477ef8['attributes']=_0x477ef8['attributes']['filter'](_0x543a64=>!_0x543a64[0x0]['startsWith']('data-revision-')));}),_0x57b21e;}constructor(_0x217507){super(_0x217507),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 _0x35985a=_0x55ddc3();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x35985a},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'});}}function B(_0x12d5e3,_0x92c1e9){const _0x50452d=_0x92c1e9['editing']['view']['document'];if('string'==typeof _0x12d5e3)return new _0xf07b69(_0x50452d,_0x12d5e3);{const _0x21e84b=_0x12d5e3['children']['map'](_0x3e2da8=>B(_0x3e2da8,_0x92c1e9));return new(T[_0x12d5e3['type']]||_0x296554)(_0x50452d,_0x12d5e3['name'],_0x12d5e3['attributes'],_0x21e84b);}}class J{['init'](_0x36c4bc){this['source']=_0x36c4bc;const _0x44c39a=new Map(),_0x16aca5=new Map(),_0x14c44c=this['editor']['model']['document']['roots']['map'](_0x53163d=>_0x53163d['rootName']);for(const _0x17bf9e of _0x14c44c){const _0x5c7a98=this['editor']['model']['document']['getRoot'](_0x17bf9e),_0x5e385f=q(_0x5c7a98);_0x44c39a['set'](_0x17bf9e,_0x5e385f),_0x16aca5['set'](_0x17bf9e,Object['fromEntries'](_0x5c7a98['getAttributes']()));}const _0xaf8088=Array['from'](this['editor']['model']['markers'])['map'](_0xade05a=>[_0xade05a['name'],_0xade05a['getRange']()]),_0x15055d=this['source']['version'];this['_saveMetaData'](_0x15055d,_0x44c39a,_0xaf8088,_0x16aca5),this['_startingRevisionId']=this['_revisionId'];const _0x22e337=new Map(),_0x4bb188=new Map();for(const _0xc0fac0 of _0x14c44c){const _0x18c7ca=G(_0xc0fac0);_0x22e337['set'](_0xc0fac0,_0x18c7ca),_0x4bb188['set'](_0xc0fac0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x22e337,[],_0x4bb188);}['getData'](_0x11bf2b,_0x3d95b9){if(this['_lastFrom']===_0x11bf2b&&this['_lastTo']<=_0x3d95b9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3d95b9,!0x0);else{if(!this['_savedMetaData']['has'](_0x11bf2b)){const _0x31d7cb=this['_getPreviousFrom'](_0x11bf2b);this['_calculateMetaData'](_0x31d7cb,_0x11bf2b,!0x1);}this['_calculateMetaData'](_0x11bf2b,_0x3d95b9,!0x0);}return this['_lastFrom']=_0x11bf2b,this['_lastTo']=_0x3d95b9,this['_getState']();}['loadState'](_0x5d653a){this['_reset'](),this['_lastFrom']=_0x5d653a['fromVersion'],this['_lastTo']=_0x5d653a['toVersion'];for(const _0x1394a9 in _0x5d653a['diffData']){const _0x24138c=_0x5d653a['diffData'][_0x1394a9]['attachChange'],_0x41c2bd=_0x3ad142(_0x5d653a['diffData'][_0x1394a9]['attributesBefore'])||{},_0x29cb1e=this['_makeModelFromViewString'](_0x5d653a['diffData'][_0x1394a9]['deletions']);_0x29cb1e['rootName']=_0x1394a9,_0x29cb1e['_isAttached']=!_0x24138c||!_0x24138c['isAttached'],_0x29cb1e['isAttached']=()=>_0x29cb1e['_isAttached'],this['_baseRoots']['set'](_0x1394a9,_0x29cb1e),this['_baseRootsAttributes']['set'](_0x1394a9,_0x41c2bd),_0x24138c&&this['_touchedRoots']['set'](_0x1394a9,_0x24138c);const _0x57174d=this['_makeIdsRoot'](_0x29cb1e);this['_baseIdsRoots']['set'](_0x1394a9,_0x57174d);for(const [_0x32acf4,_0x552543]of _0x29cb1e['markers']){if(!_0x32acf4['startsWith']('revision:'))continue;const _0x59ff88=_0x32acf4['split'](':')[0x2];for(const _0x5d97bb of _0x552543['getWalker']({'singleCharacters':!0x0})){const _0x4eb9c1=this['_getVidAttributeName'](_0x5d97bb),_0x375860='elementEnd'==_0x5d97bb['type']?_0x5d97bb['previousPosition']['path']['slice'](0x0,-0x1):_0x5d97bb['previousPosition']['path'],_0x549d79=_0x57174d['getNodeByPath'](_0x375860)['getAttribute'](_0x4eb9c1);this['_touched']['set'](_0x549d79,{'userId':_0x59ff88});}}}this['_startingRevisionId']=this['_revisionId'];const _0x543421=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x21f896=>!this['_touched']['has'](_0x21f896));let _0x35f009=0x0;const _0x5379=new Map();for(const _0x272437 in _0x5d653a['diffData']){const _0x15f434=_0x5d653a['diffData'][_0x272437]['attachChange'],_0x1b803d=_0x3ad142(_0x5d653a['diffData'][_0x272437]['attributesAfter'])||{},_0x337945=this['_makeModelFromViewString'](_0x5d653a['diffData'][_0x272437]['insertions']);_0x337945['rootName']=_0x272437,_0x337945['_isAttached']=!_0x15f434||_0x15f434['isAttached'],_0x337945['isAttached']=()=>_0x337945['_isAttached'],this['_diffRoots']['set'](_0x272437,_0x337945),this['_diffRootsAttributes']['set'](_0x272437,_0x1b803d);const _0x4185ce=this['_makeIdsRoot'](_0x337945,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x272437,_0x4185ce),_0x5379['set'](_0x272437,_0x337945['isAttached']()?_0x1b803d:{});for(const [_0x28b7e2,_0x4a8826]of _0x337945['markers']){if(!_0x28b7e2['startsWith']('revision:'))continue;const _0x1e8683=_0x28b7e2['split'](':')[0x2];for(const _0x45eff8 of _0x4a8826['getWalker']({'singleCharacters':!0x0})){const _0x148755=this['_getVidAttributeName'](_0x45eff8),_0x283f18=this['_revisionId']++,_0x16d56c='elementEnd'==_0x45eff8['type']?_0x45eff8['previousPosition']['path']['slice'](0x0,-0x1):_0x45eff8['previousPosition']['path'];_0x4185ce['getNodeByPath'](_0x16d56c)['_setAttribute'](_0x148755,_0x283f18),this['_touched']['set'](_0x283f18,{'userId':_0x1e8683});}}for(const _0x14973d of this['editor']['model']['createRangeIn'](_0x337945)['getWalker']({'singleCharacters':!0x0})){const _0x2f1f67=this['_getVidAttributeName'](_0x14973d),_0xae75fb='elementEnd'==_0x14973d['type']?_0x14973d['previousPosition']['path']['slice'](0x0,-0x1):_0x14973d['previousPosition']['path'],_0x2ec5ba=_0x4185ce['getNodeByPath'](_0xae75fb);_0x2ec5ba['getAttribute'](_0x2f1f67)>0x0||_0x2ec5ba['_setAttribute'](_0x2f1f67,_0x543421[_0x35f009++]);}for(const [_0x118acb,_0x5ebea8]of _0x337945['markers'])_0x118acb['startsWith']('revision:')||this['_markers']['set'](_0x118acb,_0x5ebea8);}const _0x5e0954=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5e0954),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5e0954,0x1));const _0x500b97=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x500b97),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x500b97,0x1));const _0x322ad0=Array['from'](this['_diffRoots'])['map'](([_0x6afbb,_0x1e3e75])=>[_0x6afbb,q(_0x1e3e75)]);this['_saveMetaData'](this['_lastTo'],_0x322ad0,this['_markers'],_0x5379);}['_makeModelFromViewString'](_0x24a305){const _0x975402=JSON['parse'](_0x24a305),_0x377992=this['editor']['editing']['view']['document'],_0x5920b3=new _0x2714a1(_0x377992,_0x975402['map'](_0x3ff85a=>B(_0x3ff85a,this['editor'])));return this['editor']['data']['toModel'](_0x5920b3);}['_saveMetaData'](_0x1c4eb6,_0xc10477,_0x5939b5,_0x155317){const _0x50340d=new Map(_0xc10477),_0x2049d7=new Map(_0x3ad142(_0x155317)),_0xe920a3=new Map();for(const [_0x5bf8eb,_0x296250]of _0x5939b5)_0xe920a3['set'](_0x5bf8eb,{'start':_0x296250['start']['clone'](),'end':_0x296250['end']['clone'](),'rootName':_0x296250['root']['rootName']});this['_savedMetaData']['set'](_0x1c4eb6,{'roots':_0x50340d,'markers':_0xe920a3,'rootsAttributes':_0x2049d7});}['_removeMetaData'](_0x3cdee6){this['_savedMetaData']['delete'](_0x3cdee6);}['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'](_0x1bfa7d,_0x13cc21=null){let _0x515017=null;_0x1bfa7d['is']('documentFragment')||(_0x515017=new ft(_0x1bfa7d['name'],{'vid_start':null===_0x13cc21?this['_revisionId']++:_0x13cc21++}));const _0x10fc57=[];for(const _0x13f534 of _0x1bfa7d['getChildren']())if(_0x13f534['is']('element')){_0x10fc57['push'](this['_makeIdsRoot'](_0x13f534,_0x13cc21));const _0x26032a=_0x10fc57[_0x10fc57['length']-0x1];null!==_0x13cc21&&(_0x13cc21=_0x26032a['is']('element','$text')?_0x26032a['getAttribute']('vid')+0x1:_0x26032a['getAttribute']('vid_end')+0x1);}else{for(let _0x4e1249=0x0;_0x4e1249<_0x13f534['offsetSize'];_0x4e1249++)_0x10fc57['push'](new ft('$text',{'vid':null===_0x13cc21?this['_revisionId']++:_0x13cc21++}));}if(_0x1bfa7d['is']('documentFragment')){const _0x25c62d=G(_0x1bfa7d['rootName']);return _0x25c62d['_insertChild'](0x0,_0x10fc57),_0x25c62d;}return _0x515017['_setAttribute']('vid_end',null===_0x13cc21?this['_revisionId']++:_0x13cc21++),_0x515017['_insertChild'](0x0,_0x10fc57),_0x515017;}['_calculateMetaData'](_0x260565,_0x5aa13f,_0x922654){this['_reset']();const {roots:_0x30c033,markers:_0x1ee538,rootsAttributes:_0x130d3c}=this['_savedMetaData']['get'](_0x260565);this['_baseRoots']=new Map(_0x30c033),this['_baseRootsAttributes']=new Map(_0x3ad142(_0x130d3c));for(const [_0x157025,_0x3b9acc]of this['_baseRoots'])if('$graveyard'!==_0x157025&&(this['_diffRoots']['set'](_0x157025,q(_0x3b9acc)),this['_diffRootsAttributes']=new Map(_0x3ad142(_0x130d3c)),_0x922654)){const _0x149515=this['_revisionId'];this['_idsRoots']['set'](_0x157025,this['_makeIdsRoot'](_0x3b9acc)),this['_baseIdsRoots']['set'](_0x157025,this['_makeIdsRoot'](_0x3b9acc,_0x149515));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x922654&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x596ba0,_0xade9d9]of _0x1ee538){const _0x3eae21=this['_baseRoots']['get'](_0xade9d9['rootName']),_0x40a4ce=this['_diffRoots']['get'](_0xade9d9['rootName']),_0x3dc3f5=new gt(this['_fixPosition'](_0xade9d9['start'],_0x3eae21),this['_fixPosition'](_0xade9d9['end'],_0x3eae21)),_0x75545d=this['_fixRange'](_0x3dc3f5,_0x40a4ce);_0x3eae21['markers']['set'](_0x596ba0,_0x3dc3f5),this['_markers']['set'](_0x596ba0,_0x75545d);}this['_applyOperations'](_0x260565,_0x5aa13f,_0x922654);}['_applyOperations'](_0xbe48c2,_0x3ed008,_0xa6b12d){for(const _0x29bce8 of this['source']['getOperations'](_0xbe48c2,_0x3ed008))this['_handleOperation'](_0x29bce8,_0xa6b12d);for(const _0x4ca5a3 of this['_diffRoots']['values']())_0x4ca5a3['markers']['clear']();for(const [_0x57f29e,_0x47597b]of this['_markers']){this['_diffRoots']['get'](_0x47597b['root']['rootName'])['markers']['set'](_0x57f29e,_0x47597b['clone']());}const _0x19f2fc=new Map(),_0x3498c7=new Map();for(const [_0x189cb2,_0x229996]of this['_diffRoots'])_0x19f2fc['set'](_0x189cb2,q(_0x229996)),_0x3498c7['set'](_0x189cb2,this['_diffRootsAttributes']['get'](_0x189cb2));this['_saveMetaData'](_0x3ed008,_0x19f2fc,this['_markers'],_0x3498c7);}['_getPreviousFrom'](_0x550d52){const _0x30af3b=Array['from'](this['_savedMetaData']['keys']());_0x30af3b['sort']((_0x25e191,_0x29d8d6)=>_0x25e191-_0x29d8d6),_0x30af3b['reverse']();for(const _0xbe8299 of _0x30af3b)if(_0xbe8299<_0x550d52)return _0xbe8299;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1c7499,_0x445ccb){const _0x409a26=Array['from'](_0x445ccb['markers'])['map'](([_0xf00dc2,_0x308122])=>[_0xf00dc2,this['_fixRange'](_0x308122,_0x1c7499)]);_0x1c7499['markers']=new Map(_0x409a26);}['_transformMarkers'](_0x3dfcfd){for(const _0x36b51d of this['_markers']['values']()){const _0x1e8697=_0x36b51d['getTransformedByOperation'](_0x3dfcfd),_0x2134fb=gt['_createFromRanges'](_0x1e8697);_0x36b51d['start']=_0x2134fb['start'],_0x36b51d['end']=_0x2134fb['end'];}}['_handleOperation'](_0x5e20d7,_0x19614d){if('addRoot'==_0x5e20d7['type']||'detachRoot'==_0x5e20d7['type'])return void this['_handleRootOperation'](_0x5e20d7,_0x19614d);if('insert'==_0x5e20d7['type']){const _0x1639cc=_0x5e20d7['position']['root']['rootName'];this['_diffRoots']['has'](_0x1639cc)||(this['_diffRoots']['set'](_0x1639cc,G(_0x1639cc,!0x0)),this['_diffRootsAttributes']['set'](_0x1639cc,{}),_0x19614d&&this['_idsRoots']['set'](_0x1639cc,G(_0x1639cc,!0x0)));}else{if('addRootAttribute'==_0x5e20d7['type']||'removeRootAttribute'==_0x5e20d7['type']||'changeRootAttribute'==_0x5e20d7['type'])return void this['_handleRootAttributeOperation'](_0x5e20d7);}const _0x2efd2b=this['_cloneOperation'](_0x5e20d7,this['_diffRoots']);if('marker'!==_0x5e20d7['type']&&(_0x2efd2b['_execute'](),this['_transformMarkers'](_0x2efd2b)),_0x19614d)switch(_0x2efd2b['type']){case'insert':this['_handleInsertOperation'](_0x5e20d7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5e20d7);break;case'merge':this['_handleMergeOperation'](_0x5e20d7);break;case'split':this['_handleSplitOperation'](_0x5e20d7);break;case'marker':this['_handleMarkerOperation'](_0x5e20d7);}}['_cloneOperation'](_0x45f79c,_0x53bb4d){const _0x1cd8f1=_0x45f79c['clone']();return _0x1cd8f1['_authorId']=_0x45f79c['_authorId'],this['_fixOperation'](_0x1cd8f1,_0x53bb4d),_0x1cd8f1;}['_getBaseVids'](_0x551e0f){return _0x551e0f['map'](_0x256237=>{const _0x3ea8af=this['_getVidAttributeName'](_0x256237);return Number(_0x256237['item']['getAttribute'](_0x3ea8af));});}['_generateTape'](_0x5a123d,_0x9b9966){if(_0x5a123d['is']('element','$text'))_0x9b9966['push']({'item':_0x5a123d,'type':'text'});else{_0x5a123d['is']('element')&&_0x9b9966['push']({'item':_0x5a123d,'type':'elementStart'});for(const _0x26eb98 of _0x5a123d['getChildren']())this['_generateTape'](_0x26eb98,_0x9b9966);_0x5a123d['is']('element')&&_0x9b9966['push']({'item':_0x5a123d,'type':'elementEnd'});}return _0x9b9966;}['_getState'](){const _0x3c4947=new Map(this['_touched']),_0x16c0e8=new Map(_0x3c4947),_0x110203=new Map(),_0x100fec={'insertions':{},'deletions':{}},_0x4903e0={'insertions':{},'deletions':{}},_0x518beb=new Map(),_0x1ab88f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1ab88f['delete']('$graveyard');for(const _0x53a246 of _0x1ab88f){const _0x3dda32=this['_diffRoots']['get'](_0x53a246)||G(_0x53a246,!0x1),_0x3acc8a=this['_baseRoots']['get'](_0x53a246)||G(_0x53a246,!0x1);_0x3dda32['isAttached']()||_0x3acc8a['isAttached']()?(_0x100fec['insertions'][_0x53a246]=q(_0x3dda32),_0x100fec['deletions'][_0x53a246]=q(_0x3acc8a),this['_copyMarkers'](_0x100fec['deletions'][_0x53a246],_0x3acc8a),this['_copyMarkers'](_0x100fec['insertions'][_0x53a246],_0x3dda32),_0x4903e0['insertions'][_0x53a246]=this['_generateTape'](this['_idsRoots']['get'](_0x53a246),[]),_0x4903e0['deletions'][_0x53a246]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x53a246)||G(_0x53a246,!0x1),[])):_0x1ab88f['delete'](_0x53a246);}for(const _0x252748 of _0x1ab88f){const _0x1d75b3=_0x4903e0['insertions'][_0x252748];for(const _0x295e82 of _0x1d75b3){const _0x43ba3d=this['_getVidAttributeName'](_0x295e82),_0x622d2=_0x295e82['item']['getAttribute'](_0x43ba3d);_0x16c0e8['delete'](_0x622d2),_0x622d2>=this['_startingRevisionId']&&_0x110203['set'](_0x622d2,_0x3c4947['get'](_0x622d2));}}for(const _0x1fd5dc of _0x1ab88f){const _0xd56adc=_0x4903e0['insertions'][_0x1fd5dc],_0x4c7d49=this['_getBaseVids'](_0x4903e0['deletions'][_0x1fd5dc]);let _0x3c1668=0x0;for(const _0x10c2aa of _0xd56adc){const _0x927993=this['_getVidAttributeName'](_0x10c2aa),_0xb7cee4=_0x10c2aa['item']['getAttribute'](_0x927993);if(!_0x110203['has'](_0xb7cee4)&&!_0x518beb['has'](_0xb7cee4)){if(_0x16c0e8['has'](_0xb7cee4))_0x3c1668++;else{if(_0xb7cee4!=_0x4c7d49[_0x3c1668]){const _0x4b0e2d=_0x3c4947['get'](_0xb7cee4)||_0x3c4947['get'](_0x4c7d49[_0x3c1668]);for(;_0xb7cee4!=_0x4c7d49[_0x3c1668];)_0x16c0e8['has'](_0x4c7d49[_0x3c1668])||(_0x518beb['set'](_0x4c7d49[_0x3c1668],_0x4b0e2d),_0x3c4947['set'](_0x4c7d49[_0x3c1668],_0x4b0e2d)),_0x3c1668++;}_0x3c1668++;}}}}for(const _0x301d0f of _0x1ab88f){const _0x2184e2=_0x4903e0['insertions'][_0x301d0f];for(const _0x384fa6 of _0x2184e2){const _0x3310d3=this['_getVidAttributeName'](_0x384fa6),_0x4b4578=_0x384fa6['item']['getAttribute'](_0x3310d3);if(_0x518beb['has'](_0x4b4578)){const _0x3429d4=_0x518beb['get'](_0x4b4578);_0x16c0e8['has'](_0x4b4578)||_0x16c0e8['set'](_0x4b4578,{..._0x3429d4}),_0x110203['set'](_0x4b4578,{..._0x3429d4});}}}for(const _0x2b1f10 of _0x16c0e8['keys']())_0x2b1f10>=this['_startingRevisionId']&&_0x16c0e8['delete'](_0x2b1f10);const _0x387a26=new Map();for(const _0x518379 of _0x1ab88f){let _0xc5e1a9=_0x4903e0['insertions'][_0x518379];for(const _0x7ff858 of _0xc5e1a9)if(_0x7ff858['item']['is']('element','tableCell')){const _0x41f8f2=this['_getVidAttributeName'](_0x7ff858),_0x4916af=_0x7ff858['item']['getAttribute'](_0x41f8f2);if(_0x110203['has'](_0x4916af)){const _0x1616d3=_0x7ff858['item']['parent']['parent']['getAttribute']('vid_start'),_0x38f6c2=_0x387a26['get'](_0x1616d3)||new Set();_0x38f6c2['add'](_0x110203['get'](_0x4916af)['userId']),_0x387a26['set'](_0x1616d3,_0x38f6c2);}}_0xc5e1a9=_0x4903e0['deletions'][_0x518379];for(const _0x392bb9 of _0xc5e1a9)if(_0x392bb9['item']['is']('element','tableCell')){const _0x4a0786=this['_getVidAttributeName'](_0x392bb9),_0x44d868=_0x392bb9['item']['getAttribute'](_0x4a0786);if(_0x16c0e8['has'](_0x44d868)){const _0x2b963c=_0x392bb9['item']['parent']['parent']['getAttribute']('vid_start'),_0x5a4688=_0x387a26['get'](_0x2b963c)||new Set();_0x5a4688['add'](_0x16c0e8['get'](_0x44d868)['userId']),_0x387a26['set'](_0x2b963c,_0x5a4688);}}for(const _0x2eba54 of _0x387a26['keys']())(_0x110203['has'](_0x2eba54)||_0x16c0e8['has'](_0x2eba54))&&_0x387a26['delete'](_0x2eba54);}for(const _0x1cae8c of _0x1ab88f){const _0x550700=_0x4903e0['insertions'][_0x1cae8c];let _0x52f015=null,_0x1259f8=null;for(const _0x5b6f05 of _0x550700){const _0x2474ea=this['_getVidAttributeName'](_0x5b6f05),_0x2356b1=_0x5b6f05['item']['getAttribute'](_0x2474ea),_0x5cbcf4=_0x387a26['get'](_0x2356b1);_0x5cbcf4&&'elementStart'==_0x5b6f05['type']&&(_0x52f015=Array['from'](_0x5cbcf4)[0x0],_0x1259f8=_0x5b6f05['item']['getAttribute']('vid_end')),_0x52f015&&(_0x16c0e8['set'](_0x2356b1,{'userId':_0x52f015}),_0x110203['set'](_0x2356b1,{'userId':_0x52f015})),_0x2356b1==_0x1259f8&&(_0x52f015=null,_0x1259f8=null);}}const _0x527731={},_0x2c70c7=new Set();for(const _0x305ac3 of _0x1ab88f){const _0x528f6a=_0x100fec['deletions'][_0x305ac3],_0x404116=_0x100fec['insertions'][_0x305ac3];for(const {userId:_0x496e7d}of this['_touchedMarkers']['values']())null!==_0x496e7d&&_0x2c70c7['add'](_0x496e7d);for(const {userId:_0x48b8fb}of this['_touchedRoots']['values']())null!==_0x48b8fb&&_0x2c70c7['add'](_0x48b8fb);this['_markChanges'](_0x404116,_0x4903e0['insertions'][_0x305ac3],_0x110203,'insertion',_0x2c70c7),this['_markChanges'](_0x528f6a,_0x4903e0['deletions'][_0x305ac3],_0x16c0e8,'deletion',_0x2c70c7),_0x527731[_0x305ac3]={'insertions':this['_prepareViewToSave'](_0x404116),'deletions':this['_prepareViewToSave'](_0x528f6a),'attachChange':this['_touchedRoots']['get'](_0x305ac3)||null,'attributesBefore':_0x3ad142(this['_baseRootsAttributes']['get'](_0x305ac3))||{},'attributesAfter':_0x3ad142(this['_diffRootsAttributes']['get'](_0x305ac3))};}return{'diffData':_0x527731,'authorsIds':Array['from'](_0x2c70c7)};}['_processRootBeforeSave'](_0xd79c96){for(const [,_0x304fc0]of _0xd79c96['markers']){const _0x1b1799=_0x304fc0['start']['getAncestors']()['filter'](_0x56805c=>'tableCell'==_0x56805c['name']);for(const _0x22abfb of _0x1b1799)0x1==_0x22abfb['childCount']&&_0x22abfb['getChild'](0x0)['is']('element','paragraph')&&_0x22abfb['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2ba139){this['_processRootBeforeSave'](_0x2ba139);const _0x1bfeaf=this['editor']['data']['toView'](_0x2ba139,{}),_0x38e49d=Array['from'](_0x1bfeaf['getChildren']())['map'](_0x3491a2=>this['_getViewJson'](_0x3491a2));return JSON['stringify'](_0x38e49d);}['_getViewJson'](_0x28ea47){if(_0x28ea47['is']('$text'))return _0x28ea47['data'];{const _0x5e92c3=_0x28ea47;return{'type':Object['keys'](T)['find'](_0x53c0ac=>_0x28ea47 instanceof T[_0x53c0ac]),'name':_0x5e92c3['name'],'attributes':Array['from'](_0x5e92c3['getAttributes']()),'children':Array['from'](_0x5e92c3['getChildren']())['map'](_0x599db6=>this['_getViewJson'](_0x599db6))};}}['_markChanges'](_0x51730a,_0x5d8660,_0x2eeb89,_0x39d49a,_0x37f390){let _0x138dbe=null,_0x49801a=null,_0x4588c5=0x0;const _0x3f1342=this['editor']['model'];for(let _0x4afb25=0x0;_0x4afb25<_0x5d8660['length'];_0x4afb25++){const _0x5825f4=this['_getVidAttributeName'](_0x5d8660[_0x4afb25]),_0xc398b=_0x5d8660[_0x4afb25]['item']['getAttribute'](_0x5825f4),_0x5057cd=_0x2eeb89['get'](_0xc398b),_0x189744=_0x4afb25==_0x5d8660['length']-0x1;(!_0x138dbe&&_0x5057cd&&(_0x138dbe=_0x5057cd,_0x49801a=_0x5d8660[_0x4afb25]),_0x138dbe&&(!_0x5057cd||_0x5057cd['userId']!=_0x138dbe['userId']))&&(_0x20a426(_0x5057cd,L(_0x49801a,_0x51730a,_0x3f1342),L(_0x5d8660[_0x4afb25],_0x51730a,_0x3f1342)),_0x138dbe=_0x5057cd||null,_0x49801a=_0x5057cd?_0x5d8660[_0x4afb25]:null),_0x138dbe&&_0x189744&&_0x20a426(_0x5057cd,L(_0x49801a,_0x51730a,_0x3f1342),W(_0x5d8660[_0x4afb25],_0x51730a,_0x3f1342));}function _0x20a426(_0x2586eb,_0x40971a,_0x203ca2){const _0x4dce21=_0x138dbe['userId'],_0xd73e0b='revision:'+_0x39d49a+':'+_0x4dce21+':'+_0x4588c5++,_0x53c5ec=_0x3f1342['createRange'](_0x40971a,_0x203ca2);_0x51730a['markers']['set'](_0xd73e0b,_0x53c5ec),null!==_0x4dce21&&_0x37f390['add'](_0x4dce21);}}['_getVidAttributeName'](_0xf454a){switch(_0xf454a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5a5e23,_0x3a0ea5){_0x5a5e23['baseVersion']=null;for(const _0x123773 in _0x5a5e23){const _0x3303af=_0x5a5e23[_0x123773];if(_0x3303af instanceof wt){const _0x5812a3=_0x3a0ea5['get'](_0x3303af['root']['rootName']);_0x5a5e23[_0x123773]=this['_fixPosition'](_0x3303af,_0x5812a3);}if(_0x3303af instanceof gt){const _0x14c61e=_0x3a0ea5['get'](_0x3303af['root']['rootName']);_0x5a5e23[_0x123773]=this['_fixRange'](_0x3303af,_0x14c61e);}'root'===_0x123773&&(_0x5a5e23['root']=_0x3a0ea5['get'](_0x5a5e23['root']['rootName']));}}['_fixRange'](_0x3ad55f,_0x25c939){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3ad55f['start'],_0x25c939),this['_fixPosition'](_0x3ad55f['end'],_0x25c939));}['_fixPosition'](_0x1d2351,_0x7e8089){return this['editor']['model']['createPositionFromPath'](_0x7e8089,_0x1d2351['path'],_0x1d2351['stickiness']);}['_handleInsertOperation'](_0x2a67ff){const _0x3d7db3=this['_idsRoots']['get'](_0x2a67ff['position']['root']['rootName']),_0x3d751d=this['_fixPosition'](_0x2a67ff['position'],_0x3d7db3),_0x3495dd=null===_0x2a67ff['_authorId']?null:_0x2a67ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5617e9=_0x3d751d['parent'],_0x4ab67c=this['_revisionId'],_0x344117=[];for(const _0x30dd06 of _0x2a67ff['nodes'])if(_0x30dd06['is']('element'))_0x344117['push'](this['_makeIdsRoot'](_0x30dd06));else{for(let _0x34bfb3=0x0;_0x34bfb3<_0x30dd06['offsetSize'];_0x34bfb3++)_0x344117['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3db0ce=this['_revisionId'];for(let _0x8c4568=_0x4ab67c;_0x8c4568<_0x3db0ce;_0x8c4568++)this['_touched']['set'](_0x8c4568,{'userId':_0x3495dd});_0x5617e9['_insertChild'](_0x3d751d['offset'],_0x344117);}['_handleMoveOperation'](_0x594327){(_0x594327=this['_cloneOperation'](_0x594327,this['_idsRoots']))['_execute']();const _0x111cea=null===_0x594327['_authorId']?null:_0x594327['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3819f3=_0x594327['getMovedRangeStart'](),_0x47bf93=_0x3819f3['parent'],_0x1eb87b=_0x3819f3['offset'];!function _0x5f1cb6(_0x2c0e3e,_0x5f1691,_0xba9b7f,_0x50e6eb){for(let _0x36e433=_0xba9b7f;_0x36e433<_0x50e6eb;_0x36e433++){const _0x56a22c=_0x5f1691['getChild'](_0x36e433);_0x56a22c['is']('element','$text')?_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid'),{'userId':_0x111cea}):(_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid_start'),{'userId':_0x111cea}),_0x5f1cb6(_0x2c0e3e,_0x56a22c,0x0,_0x56a22c['childCount']),_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid_end'),{'userId':_0x111cea}));}}(this['_touched'],_0x47bf93,_0x1eb87b,_0x1eb87b+_0x594327['howMany']);}['_handleMergeOperation'](_0x40c3e4){const _0x4720db=null===(_0x40c3e4=this['_cloneOperation'](_0x40c3e4,this['_idsRoots']))['_authorId']?null:_0x40c3e4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ca75e=_0x40c3e4['targetPosition']['parent'],_0x10d096=_0x40c3e4['sourcePosition']['parent'],_0x17f881=_0x1ca75e['getAttribute']('vid_end'),_0x3ac1ec=_0x10d096['getAttribute']('vid_start');_0x1ca75e['_setAttribute']('vid_end',_0x10d096['getAttribute']('vid_end')),_0x10d096['_setAttribute']('vid_end',_0x17f881),this['_touched']['set'](_0x3ac1ec,{'userId':_0x4720db}),this['_touched']['set'](_0x17f881,{'userId':_0x4720db}),_0x40c3e4['_execute']();}['_handleSplitOperation'](_0x341000){const _0x1ef037=null===(_0x341000=this['_cloneOperation'](_0x341000,this['_idsRoots']))['_authorId']?null:_0x341000['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf36e26=_0x341000['graveyardPosition'],_0x10cf64=_0x341000['splitPosition']['parent'];_0x341000['_execute']();const _0x30cd03=_0x10cf64['getAttribute']('vid_end'),_0xfdc68b=_0x341000['insertionPosition']['nodeAfter'];if(_0xf36e26){const _0x2b55af=_0xfdc68b['getAttribute']('vid_end'),_0x28beab=_0x10cf64['getAttribute']('vid_end');_0x10cf64['_setAttribute']('vid_end',_0x2b55af),_0xfdc68b['_setAttribute']('vid_end',_0x28beab),this['_touched']['set'](_0x10cf64['getAttribute']('vid_end'),{'userId':_0x1ef037}),this['_touched']['set'](_0xfdc68b['getAttribute']('vid_start'),{'userId':_0x1ef037});}else{const _0x113e98=this['_revisionId']++,_0x1b5bf0=this['_revisionId']++;_0x10cf64['_setAttribute']('vid_end',_0x113e98),_0xfdc68b['_setAttribute']('vid_start',_0x1b5bf0),_0xfdc68b['_setAttribute']('vid_end',_0x30cd03),this['_touched']['set'](_0x113e98,{'userId':_0x1ef037}),this['_touched']['set'](_0x1b5bf0,{'userId':_0x1ef037});}}['_handleMarkerOperation'](_0x2ac8ae){if(!_0x2ac8ae['affectsData'])return;const _0x467c92=(_0x2ac8ae=this['_cloneOperation'](_0x2ac8ae,this['_diffRoots']))['oldRange']?_0x2ac8ae['oldRange']['root']:null,_0xa6225a=_0x2ac8ae['newRange']?_0x2ac8ae['newRange']['root']:null;_0x467c92&&this['_markers']['delete'](_0x2ac8ae['name']),_0xa6225a&&this['_markers']['set'](_0x2ac8ae['name'],_0x2ac8ae['newRange']['clone']());const _0x213472=null===_0x2ac8ae['_authorId']?null:_0x2ac8ae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x40fff5=_0x2ac8ae['name'];if(!this['_touchedMarkers']['has'](_0x40fff5))return void this['_touchedMarkers']['set'](_0x40fff5,{'range':_0x2ac8ae['oldRange'],'userId':_0x213472});const _0x36bc0a=this['_touchedMarkers']['get'](_0x40fff5),_0x150788=_0x36bc0a['range'],_0x3352fc=_0x2ac8ae['newRange'];null==_0x150788&&null==_0x3352fc||_0x150788&&_0x3352fc&&_0x150788['isEqual'](_0x3352fc)?this['_touchedMarkers']['delete'](_0x2ac8ae['name']):_0x36bc0a['userId']=_0x213472;}['_handleRootOperation'](_0x318c22,_0x7f9023){this['_diffRoots']['has'](_0x318c22['rootName'])?this['_diffRoots']['get'](_0x318c22['rootName'])['_isAttached']=_0x318c22['isAdd']:(this['_diffRoots']['set'](_0x318c22['rootName'],G(_0x318c22['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x318c22['rootName'],{}),_0x7f9023&&this['_idsRoots']['set'](_0x318c22['rootName'],G(_0x318c22['rootName'],!0x0)));const _0x43881c=null===_0x318c22['_authorId']?null:_0x318c22['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43bebf=this['_touchedRoots']['get'](_0x318c22['rootName']);_0x43bebf&&_0x43bebf['userId']===_0x43881c?this['_touchedRoots']['delete'](_0x318c22['rootName']):this['_touchedRoots']['set'](_0x318c22['rootName'],{'userId':_0x43881c,'isAttached':_0x318c22['isAdd']});}['_handleRootAttributeOperation'](_0x8c3cfe){const _0x506bcc=this['_diffRootsAttributes']['get'](_0x8c3cfe['root']['rootName']);null===_0x8c3cfe['newValue']?delete _0x506bcc[_0x8c3cfe['key']]:_0x506bcc[_0x8c3cfe['key']]=_0x8c3cfe['newValue'];}constructor(_0x14d615){this['editor']=_0x14d615,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;}}function q(_0x495d14){const _0xe9561f=G(_0x495d14['rootName'],_0x495d14['isAttached']());for(const _0x442f22 of _0x495d14['getChildren']()){const _0x10d76a=_0x442f22['_clone'](!0x0);_0xe9561f['_appendChild'](_0x10d76a);}return _0xe9561f;}function G(_0x43b737,_0xfd294c=!0x0){const _0x1ae5b6=new _t();return _0x1ae5b6['rootName']=_0x43b737,_0x1ae5b6['_isAttached']=_0xfd294c,_0x1ae5b6['isAttached']=()=>_0x1ae5b6['_isAttached'],_0x1ae5b6;}function L(_0x4433cb,_0x12c544,_0x29bee1){const _0x4ff5b8='elementEnd'==_0x4433cb['type']?_0x29bee1['createPositionAt'](_0x4433cb['item'],'end'):_0x29bee1['createPositionBefore'](_0x4433cb['item']);return _0x29bee1['createPositionFromPath'](_0x12c544,_0x4ff5b8['path'],_0x4ff5b8['stickiness']);}function W(_0x58f91c,_0x3f2064,_0x4662eb){const _0x4cdf96='elementStart'==_0x58f91c['type']?_0x4662eb['createPositionAt'](_0x58f91c['item'],0x0):_0x4662eb['createPositionAfter'](_0x58f91c['item']);return _0x4662eb['createPositionFromPath'](_0x3f2064,_0x4cdf96['path'],_0x4cdf96['stickiness']);}class ns extends _0x796ce0{['render'](){super['render'](),_0x1cedc1({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3cefa4=_0x3275d9=>_0x3275d9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3cefa4),this['keystrokes']['set']('arrowleft',_0x3cefa4),this['keystrokes']['set']('arrowup',_0x3cefa4),this['keystrokes']['set']('arrowdown',_0x3cefa4);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4c7e61){this['revisionNameInputView']['fieldView']['element']['value']=_0x4c7e61['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x27bbeb){const _0x15a327=new mt(this['locale'],_0x169543),_0x47fa6d=_0x15a327['fieldView'];_0x47fa6d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x26f4cd=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x27bbeb&&(_0x26f4cd+='\x20('+y(this['locale'],'optional')+')'),(_0x15a327['label']=_0x26f4cd,_0x47fa6d['on']('input',()=>{this['revisionNameInputValue']=_0x47fa6d['element']['value']['trim']();}),_0x15a327);}constructor(_0x5261b3,_0x3fe532){super(_0x5261b3),this['focusTracker']=new _0x521d29(),this['keystrokes']=new _0x5ce4a4(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3fe532),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x17c1cc{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x2bb3ba=this['editor'],_0x4f5fa4=_0x2bb3ba['plugins']['get']('RevisionTracker');_0x2bb3ba['ui']['componentFactory']['add']('revisionHistory',_0x39115b=>{const _0x54c1ad=_0x15005b(_0x39115b),_0x4f7906=_0x54c1ad['panelView']['children'],_0x563001=new te(_0x39115b),_0xcbee71=new _0x1448cd(_0x39115b),_0x332b7f=new _0x2e3682(_0x39115b),_0x2d2dee=new _0x1448cd(_0x39115b),_0x385f5b=new _0x2e3682(_0x39115b);return _0x54c1ad['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x4f5fa4,'isEnabled',_0x2bb3ba,'isReadOnly',(_0xbbdb56,_0x214395,_0x37af46)=>_0xbbdb56&&_0x214395&&!_0x37af46),_0x54c1ad['buttonView']['set']({'icon':_0x4df937['history'],'label':y(_0x39115b,'Revision\x20history'),'tooltip':!0x0}),_0x332b7f['set']({'label':y(_0x39115b,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x332b7f['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x4f5fa4,'isEnabled',_0x2bb3ba,'isReadOnly',(_0x4be596,_0xdda658,_0x40141b)=>_0x4be596&&_0xdda658&&!_0x40141b),_0x332b7f['on']('execute',()=>this['_showDialog']()),_0x385f5b['set']({'label':y(_0x39115b,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x385f5b['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x2bb3ba,'isReadOnly',(_0x32eb5b,_0x54c2d6)=>_0x32eb5b&&!_0x54c2d6),_0x385f5b['on']('execute',()=>{_0x2bb3ba['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x54c1ad['isOpen']=!0x1,_0x2bb3ba['editing']['view']['focus']();}),_0xcbee71['children']['add'](_0x332b7f),_0x2d2dee['children']['add'](_0x385f5b),_0x563001['role']='menu',_0x563001['items']['addMany']([_0xcbee71,_0x2d2dee]),_0x4f7906['add'](_0x563001),_0x54c1ad;}),_0x2bb3ba['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xe9e979=this['editor'],_0x24405f=_0xe9e979['locale'],_0x5beec0=new _0x1c0a1b(_0x24405f),_0x1f5163=new _0x1a5d66(_0x24405f);_0x5beec0['buttonView']['set']({'icon':_0x4df937['history'],'label':y(_0x24405f,'Revision\x20history')});const _0x5a6691=new _0xacdda6(_0x24405f,_0x5beec0),_0x3935c3=new _0x30ab2a(_0x24405f);_0x3935c3['set']({'label':y(_0x24405f,'Save\x20current\x20revision')}),_0x3935c3['delegate']('execute')['to'](_0x5beec0),_0x3935c3['on']('execute',()=>{this['_showDialog']();}),_0x5a6691['children']['add'](_0x3935c3),_0x1f5163['items']['add'](_0x5a6691);const _0x1866af=new _0xacdda6(_0x24405f,_0x5beec0),_0x4735bb=new _0x30ab2a(_0x24405f);return _0x4735bb['set']({'label':y(_0x24405f,'Open\x20revision\x20history')}),_0x4735bb['delegate']('execute')['to'](_0x5beec0),_0x4735bb['on']('execute',()=>{_0xe9e979['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1866af['children']['add'](_0x4735bb),_0x1f5163['items']['add'](_0x1866af),_0x5beec0['panelView']['children']['add'](_0x1f5163),_0x5beec0;}['_showDialog'](){const _0x71aa59=this['editor'],_0x1819a2=_0x71aa59['locale'],t=_0x1819a2['t'],_0x380216=_0x71aa59['plugins']['get']('Dialog'),_0x13989b=_0x71aa59['plugins']['get']('RevisionTracker');function _0x202ed2(_0x44c9ae){_0x71aa59['config']['get']('revisionHistory.requireRevisionName')&&''===_0x44c9ae['revisionName']?_0x44c9ae['revisionNameInputView']['errorText']=y(_0x1819a2,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x71aa59['plugins']['get'](l)['saveRevision']({'name':_0x44c9ae['revisionName']}),_0x380216['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x202ed2(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x380216['show']({'id':'findAndReplace','title':y(_0x1819a2,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x380216['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x157ea8){_0x157ea8['bind']('isEnabled')['to'](_0x13989b,'isReady',_0x13989b,'isEnabled',_0x71aa59,'isReadOnly',(_0x427833,_0x5d54a8,_0x4e1fdb)=>_0x427833&&_0x5d54a8&&!_0x4e1fdb);},'onExecute':()=>_0x202ed2(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4d971c=this['editor'],_0x57e626=_0x4d971c['locale'];this['_saveRevisionFormView']=new ns(_0x57e626,_0x4d971c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x796ce0{['focus'](){this['element']['focus']();}constructor(_0x3b37f5,_0x479628){super(_0x3b37f5),this['_model']=_0x479628,this['changeId']=_0x479628['id'];const _0x48fe14=this['bindTemplate'],_0x2b4a84=y(_0x3b37f5,_0x479628['data']['isSuggestion']?'Suggested\x20by':'add'==_0x479628['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x479628['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x48fe14['to']('type',_0x32b0a9=>'ck-revision-change__'+_0x32b0a9)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2b4a84}]},{'text':'\x20'+_0x479628['author']['name']}]}]});}}class r extends _0x5c80d6(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x1f72bb){super(),this['id']=_0x1f72bb['id']||_0x55ddc3(),this['author']=_0x1f72bb['author'],this['type']=_0x1f72bb['type'],this['data']=_0x1f72bb['data']||{},this['rootName']=_0x1f72bb['rootName'],this['set']('createdAt',_0x1f72bb['createdAt']);}}class f{['_setChanges'](_0x1e16ec){for(const _0x4f1382 of _0x1e16ec)this['changes']['add'](_0x4f1382);}constructor(_0x243bb6,_0x468d46){this['newRevisionId']=_0x243bb6,this['oldRevisionId']=_0x468d46,this['changes']=new _0x210b3a();}}const tt={'c':_0x256ffb,'a':_0x2f0af3,'e':_0xd82b25,'r':_0x5c9ebb,'u':_0xadb654};class d extends _0x17c1cc{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x135cd2,_0x310f20,A];}['init'](){const _0x33b98c=this['editor'],_0x49b973=new Rt(_0x33b98c,{'direction':'backward'}),_0x1dc7b8=new Rt(_0x33b98c,{'direction':'forward'});(_0x33b98c['commands']['add']('showPreviousChange',_0x49b973),_0x33b98c['commands']['add']('showNextChange',_0x1dc7b8),_0x33b98c['commands']['add']('restoreRevision',new bt(_0x33b98c)),this['on']('change:numberOfChanges',()=>{_0x49b973['refresh'](),_0x1dc7b8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x33b98c['enableReadOnlyMode']('revision-viewer'),_0x33b98c['plugins']['has']('WidgetToolbarRepository'))&&_0x33b98c['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x58dedf){await this['loadRevisionData'](_0x58dedf);const _0x1cb29a={};for(const _0xfa2223 in _0x58dedf['diffData']){if(_0x58dedf['diffData'][_0xfa2223]['attachChange']&&!_0x58dedf['diffData'][_0xfa2223]['attachChange']['isAttached'])continue;const _0x3b7e22=this['_removeRevisionMarkers'](JSON['parse'](_0x58dedf['diffData'][_0xfa2223]['insertions'])),_0x2f5694=this['editor']['editing']['view']['document'],_0x497919=new _0x2714a1(_0x2f5694,_0x3b7e22['map'](_0x401cd2=>this['_getViewObj'](_0x401cd2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1cb29a[_0xfa2223]=this['editor']['data']['processor']['toData'](_0x497919),this['editor']['data']['processor']['useFillerType']('default');}return _0x1cb29a;}async['getRevisionRootsAttributes'](_0x1ee2cb){await this['loadRevisionData'](_0x1ee2cb);const _0x52b5b6={};for(const _0x1d2d31 in _0x1ee2cb['diffData'])_0x1ee2cb['diffData'][_0x1d2d31]['attachChange']&&!_0x1ee2cb['diffData'][_0x1d2d31]['attachChange']['isAttached']||(_0x52b5b6[_0x1d2d31]=_0x1ee2cb['diffData'][_0x1d2d31]['attributesAfter']||{});return _0x52b5b6;}['_removeRevisionMarkers'](_0x35a999){return(_0x35a999=_0x35a999['filter'](_0x2594da=>!_0x2594da['name']||'revision-start'!==_0x2594da['name']&&'revision-end'!==_0x2594da['name']))['forEach'](_0x410b3f=>{'string'!=typeof _0x410b3f&&(_0x410b3f['children']=this['_removeRevisionMarkers'](_0x410b3f['children']),_0x410b3f['attributes']=_0x410b3f['attributes']['filter'](_0x1dadff=>!_0x1dadff[0x0]['startsWith']('data-revision-')));}),_0x35a999;}async['compare'](_0xf693e6,_0x4bbbe4,_0x4af3fb=!0x1){if(!this['isEnabled'])return;const _0x4d4710=this['diff'],_0x4fd33a=this['repository'],_0x3c5289='string'==typeof _0xf693e6?_0x4fd33a['getRevision'](_0xf693e6):_0xf693e6,_0x184425='string'==typeof _0x4bbbe4?_0x4fd33a['getRevision'](_0x4bbbe4):_0x4bbbe4,_0x494912=_0x3c5289['id'],_0x43f44b=_0x184425?_0x184425['id']:null;if(!_0x4af3fb&&this['diff']&&this['diff']['newRevisionId']===_0x494912&&this['diff']['oldRevisionId']===_0x43f44b)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x494912,_0x43f44b);const _0x434bec=this['_getRevisionsRange'](_0x3c5289,_0x184425,!0x0)['map'](_0x44f9e3=>this['loadRevisionData'](_0x44f9e3));return _0x434bec['push'](new Promise(_0x17d58f=>{setTimeout(_0x17d58f,0x14);})),Promise['all'](_0x434bec)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1df68d=this['_getDiff'](_0x494912,_0x43f44b);for(const _0x3a85c4 of _0x1df68d['changes'])this['_changeIdToChange']['set'](_0x3a85c4['id'],_0x3a85c4);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x16510f=>{for(const _0x3ce9e9 of this['editor']['model']['document']['getRootNames']())_0x16510f['detachRoot'](_0x3ce9e9);for(const _0x40a387 of Object['keys'](_0x1df68d['model'])){const _0x4e919b=_0x16510f['addRoot'](_0x40a387);for(const _0x770bb1 of Object['keys'](_0x1df68d['attributes'][_0x40a387]))_0x16510f['setAttribute'](_0x770bb1,_0x1df68d['attributes'][_0x40a387][_0x770bb1],_0x4e919b);_0x16510f['insert'](_0x1df68d['model'][_0x40a387],_0x4e919b,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1df68d['changes'])),this['isReady']=!0x0;})['catch'](_0x5ddd94=>{console['error'](_0x5ddd94),this['_cleanUp'](),_0x4d4710&&(this['diff']=_0x4d4710),this['isReady']=!0x0;});}['addRevisionData'](_0xcc4d50,_0x3a9ebe){const _0x22014c=this['repository']['createRevision'](_0xcc4d50);return _0x22014c['on']('_update',(_0x4f2ffd,_0x43da83,_0x4ede20)=>_0x3a9ebe(_0x43da83,_0x4ede20,_0x22014c)),this['repository']['addRevision'](_0x22014c),_0x22014c;}['loadRevisionData'](_0x293b2a){if(!_0x293b2a||_0x293b2a['diffData'])return Promise['resolve']();{const _0x3adb61=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3adb61,'revisionId':_0x293b2a['id']})['then'](_0x29ef3e=>{_0x293b2a['_update']({'diffData':_0x29ef3e['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},_0x36e669=>{for(const _0x2d41b9 of this['editor']['model']['document']['getRootNames']())_0x36e669['detachRoot'](_0x2d41b9);});}['_sortAndFilterDiffChanges'](_0x26248a){const _0x591767=[],_0x2f3369=new Map();for(const _0x30c4a5 of this['editor']['model']['document']['getRootNames']()){const _0x173e77=this['editor']['editing']['view']['getDomRoot'](_0x30c4a5);if(!_0x173e77)continue;const _0x4a58b9=_0x173e77['getClientRects']()['item'](0x0);_0x4a58b9&&(_0x591767['push'](_0x30c4a5),_0x2f3369['set'](_0x30c4a5,_0x4a58b9));}return _0x591767['sort']((_0xa75a22,_0x12db7c)=>{const _0x417775=_0x2f3369['get'](_0xa75a22),_0x1fe327=_0x2f3369['get'](_0x12db7c);return _0x417775['y']-_0x1fe327['y']||_0x417775['x']-_0x1fe327['x'];}),(_0x26248a=_0x26248a['filter'](_0x299dfe=>_0x591767['includes'](_0x299dfe['rootName'])))['sort']((_0x229464,_0x4c3b1e)=>_0x591767['indexOf'](_0x229464['rootName'])-_0x591767['indexOf'](_0x4c3b1e['rootName'])),_0x26248a;}['_makeTape'](_0x3c60c0){const _0x5cc078=Array['from'](_0x3c60c0['markers'])['filter'](([_0x3d5798,_0x25a8f8])=>_0x3d5798['startsWith']('revision:')&&!_0x25a8f8['isCollapsed']),_0x388a7e=Array['from'](this['editor']['model']['createRangeIn'](_0x3c60c0)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5cc078['length'])for(const _0x432e53 of _0x388a7e){const [_0x53f10b,_0x2d7ef1]=_0x5cc078[0x0],[,_0x393e40,_0x59cba3]=_0x53f10b['split'](':');if(_0x2d7ef1['end']['isEqual'](_0x432e53['nextPosition'])&&_0x5cc078['shift'](),(_0x432e53['previousPosition']['isEqual'](_0x2d7ef1['start'])||_0x432e53['previousPosition']['isAfter'](_0x2d7ef1['start']))&&('insertion'==_0x393e40?_0x432e53['isAdded']={'userId':_0x59cba3}:'deletion'==_0x393e40&&(_0x432e53['isRemoved']={'userId':_0x59cba3})),0x0==_0x5cc078['length'])break;}return _0x388a7e;}['_refreshStartEndIndex'](_0x2010a3){const _0x179eb2=new Map();for(let _0x228801=0x0;_0x228801<_0x2010a3['length'];_0x228801++)'text'===_0x2010a3[_0x228801]['type']?(_0x2010a3[_0x228801]['item']['startIndex']=_0x228801,_0x2010a3[_0x228801]['item']['endIndex']=_0x228801):('elementStart'===_0x2010a3[_0x228801]['type']?_0x2010a3[_0x228801]['item']['startIndex']=_0x228801:'elementEnd'===_0x2010a3[_0x228801]['type']&&(_0x2010a3[_0x228801]['item']['endIndex']=_0x228801),_0x179eb2['set'](_0x2010a3[_0x228801]['id'],_0x228801));for(const _0x9b8b8d of _0x179eb2['values']())'elementStart'===_0x2010a3[_0x9b8b8d]['type']?_0x2010a3[_0x9b8b8d]['item']['endIndex']=_0x179eb2['get'](_0x2010a3[_0x9b8b8d]['pairId']):'elementEnd'===_0x2010a3[_0x9b8b8d]['type']&&(_0x2010a3[_0x9b8b8d]['item']['startIndex']=_0x179eb2['get'](_0x2010a3[_0x9b8b8d]['pairId']));}['_processTape'](_0x9f43cc){for(let _0x535014=0x0;_0x535014<_0x9f43cc['length'];_0x535014++){if('elementStart'===_0x9f43cc[_0x535014]['type'])_0x9f43cc[_0x535014]['item']['startIndex']=_0x535014;else{if('elementEnd'===_0x9f43cc[_0x535014]['type']){_0x9f43cc[_0x535014]['item']['endIndex']=_0x535014;const _0x25e055=_0x9f43cc[_0x535014]['item']['startIndex'];_0x9f43cc[_0x25e055]['pairId']=_0x9f43cc[_0x535014]['id'],_0x9f43cc[_0x535014]['pairId']=_0x9f43cc[_0x25e055]['id'];}else _0x9f43cc[_0x535014]['item']['startIndex']=_0x535014,_0x9f43cc[_0x535014]['item']['endIndex']=_0x535014,_0x9f43cc[_0x535014]['pairId']=null;}_0x9f43cc[_0x535014]['markersStart']||(_0x9f43cc[_0x535014]['markersStart']=[],_0x9f43cc[_0x535014]['markersEnd']=[]);}}['_markInsertions'](_0x3ca8e2,_0x303a77){const _0x1d8477=_0x3ca8e2['filter'](_0x15ff3b=>!_0x15ff3b['isAdded']);for(let _0x349ec6=0x0;_0x349ec6<_0x303a77['length'];_0x349ec6++)_0x303a77[_0x349ec6]['isAdded']&&(_0x1d8477[_0x349ec6]['isAdded']=_0x303a77[_0x349ec6]['isAdded']);}['_makeModelFromViewString'](_0x15ea31){const _0x3e591e=JSON['parse'](_0x15ea31),_0x177fdc=this['editor']['editing']['view']['document'],_0x273fbf=new _0x2714a1(_0x177fdc,_0x3e591e['map'](_0x20045b=>this['_getViewObj'](_0x20045b)));return this['editor']['data']['toModel'](_0x273fbf);}['_getViewObj'](_0x35ab4b){const _0x8c6fbf=this['editor']['editing']['view']['document'];if('string'==typeof _0x35ab4b)return new _0xf07b69(_0x8c6fbf,_0x35ab4b);{const _0x4643da=_0x35ab4b['children']['map'](_0x26fc8b=>this['_getViewObj'](_0x26fc8b));return new(tt[_0x35ab4b['type']]||_0x296554)(_0x8c6fbf,_0x35ab4b['name'],_0x35ab4b['attributes'],_0x4643da);}}['_getDiff'](_0x579b6d,_0x3aa6e6=null){const _0x433cb2=this['repository']['getRevision'](_0x579b6d),_0x4e4c0b=_0x3aa6e6?this['repository']['getRevision'](_0x3aa6e6):null,_0xf22978=this['_getRevisionsRange'](_0x433cb2,_0x4e4c0b),_0x58867d=_0xf22978[_0xf22978['length']-0x1],_0x586694=new Map(),_0x176105={'model':{},'attributes':{},'changes':[]},_0x2db274=new Set(),_0x17ec3a=new Map();for(let _0x33ca3c=_0xf22978['length']-0x1;_0x33ca3c>=0x0;_0x33ca3c--){const _0x14077a=_0xf22978[_0x33ca3c];for(const _0x27cbc6 of Object['keys'](_0x14077a['diffData']))if(_0x14077a['diffData'][_0x27cbc6]['attachChange']){const _0x1fe6fc=_0x14077a['diffData'][_0x27cbc6]['attachChange'];_0x1fe6fc['isAttached']?(_0x2db274['add'](_0x27cbc6),_0x17ec3a['has'](_0x27cbc6)&&_0x17ec3a['get'](_0x27cbc6)['userId']==_0x1fe6fc['userId']?_0x17ec3a['delete'](_0x27cbc6):_0x17ec3a['set'](_0x27cbc6,_0x1fe6fc)):_0x17ec3a['has'](_0x27cbc6)?(_0x2db274['delete'](_0x27cbc6),_0x17ec3a['delete'](_0x27cbc6)):(_0x2db274['add'](_0x27cbc6),_0x17ec3a['set'](_0x27cbc6,_0x1fe6fc));}else _0x2db274['add'](_0x27cbc6);}for(const _0xd20332 of _0x2db274){const _0x2ebd70=_0x17ec3a['has'](_0xd20332)&&!_0x17ec3a['get'](_0xd20332)['isAttached'];let _0x8ff2ca=_0x2ebd70?_0xf22978['length']-0x1:0x0;const _0x35e081=_0x2ebd70?-0x1:0x1;for(;_0xf22978[_0x8ff2ca];){const _0x12ebbb=_0xf22978[_0x8ff2ca];if(_0x12ebbb['diffData'][_0xd20332]){const _0x2e4703=_0x2ebd70?_0x12ebbb['diffData'][_0xd20332]['attributesBefore']:_0x12ebbb['diffData'][_0xd20332]['attributesAfter'];_0x176105['attributes'][_0xd20332]=_0x2e4703?_0x3ad142(_0x2e4703):{};break;}_0x8ff2ca+=_0x35e081;}}for(const _0x2a0785 of _0xf22978){_0x2a0785['model']={};for(const _0x10439e of _0x2a0785['authors'])_0x586694['set'](_0x10439e['id'],_0x10439e);for(const _0x2ca163 of _0x2db274){const _0x4b7b1e=_0x2a0785['diffData'][_0x2ca163]?_0x2a0785['diffData'][_0x2ca163]['insertions']:'[]',_0x3bbc5b=_0x2a0785['diffData'][_0x2ca163]?_0x2a0785['diffData'][_0x2ca163]['deletions']:'[]';_0x2a0785['model'][_0x2ca163]={'insertions':this['_makeModelFromViewString'](_0x4b7b1e),'deletions':this['_makeModelFromViewString'](_0x3bbc5b)};}}for(const _0x48c441 of _0x2db274){let _0xd04bc2=null,_0x33c087=0x0;const _0x5a28d4=new Map(Array['from'](_0x433cb2['model'][_0x48c441]['insertions']['markers'])['filter'](([_0x3ae2f9])=>!_0x3ae2f9['startsWith']('revision:')));let _0x22fc5d=0x0;for(const _0x48abde of _0xf22978){const _0x54092f=this['_makeTape'](_0x48abde['model'][_0x48c441]['insertions']);_0x48abde==_0x433cb2?(_0xd04bc2=_0x54092f,_0x33c087=_0xd04bc2['length'],_0xd04bc2['forEach'](_0x865e60=>{_0x865e60['id']=_0x22fc5d++;}),this['_processTape'](_0xd04bc2)):this['_markInsertions'](_0xd04bc2,_0x54092f);const _0x40f1f2=_0xd04bc2['filter'](_0x431a6a=>!_0x431a6a['isAdded'])['map'](_0x23b3ad=>_0x23b3ad['id']);let _0x38cfb0=0x0;const _0x3cc1a3=this['_makeTape'](_0x48abde['model'][_0x48c441]['deletions']);_0x3cc1a3['forEach'](_0x18a51b=>{_0x18a51b['isRemoved']?_0x18a51b['id']=_0x33c087++:_0x18a51b['id']=_0x40f1f2[_0x38cfb0++];}),this['_processTape'](_0x3cc1a3),this['_setDistance'](_0xd04bc2,'isAdded'),this['_setDistance'](_0x3cc1a3,'isRemoved'),_0x48abde==_0x433cb2&&this['_markMarkers'](_0xd04bc2,_0x5a28d4),_0xd04bc2=this['_joinTapes'](_0xd04bc2,_0x3cc1a3),this['_refreshStartEndIndex'](_0xd04bc2),this['_setDistance'](_0xd04bc2,'isRemoved');}_0xd04bc2=_0xd04bc2['filter'](_0xfe6b5e=>!(_0xfe6b5e['isAdded']&&_0xfe6b5e['isRemoved']));const _0x1474f4=new Map(_0x58867d['model'][_0x48c441]['deletions']['markers']),_0x33b1e8=new Set(_0x5a28d4['keys']());for(const _0x2aaa9a of _0x1474f4['keys']())_0x33b1e8['delete'](_0x2aaa9a);this['_markSuggestions'](_0xd04bc2,_0x33b1e8),this['_fixObsoleteTags'](_0xd04bc2),_0xd04bc2=this['_removeMissingPairs'](_0xd04bc2),_0xd04bc2=this['_markMismatchedRemovedTags'](_0xd04bc2),_0xd04bc2=this['_removeUnsupportedChanges'](_0xd04bc2);const {root:_0xfce642,changes:_0x4017a3}=this['_makeModelFromTape'](_0xd04bc2,_0x586694,_0x48c441);_0x176105['model'][_0x48c441]=_0xfce642;const _0x370344=_0x17ec3a['get'](_0x48c441);if(_0x370344){const _0x3b359a=_0x586694['get'](_0x370344['userId']),_0x113ccf=new r({'author':_0x3b359a,'type':_0x370344['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x48c441});_0x4017a3['unshift'](_0x113ccf),_0x176105['attributes'][_0x48c441]['revisionHistoryAttachChange']=_0x113ccf['id'];}_0x176105['changes']=_0x176105['changes']['concat'](_0x4017a3);}return _0x176105;}['_markMarkers'](_0x372af0,_0x58f067){for(let _0x5444d6=0x0;_0x5444d6<_0x372af0['length'];_0x5444d6++)for(const [_0x471024,_0x15e84d]of _0x58f067)_0x15e84d['start']['isEqual'](_0x372af0[_0x5444d6]['previousPosition'])&&_0x372af0[_0x5444d6]['markersStart']['push'](_0x471024),_0x15e84d['end']['isEqual'](_0x372af0[_0x5444d6]['nextPosition'])&&_0x372af0[_0x5444d6]['markersEnd']['push'](_0x471024);}['_joinTapes'](_0x24c369,_0x5621f7){let _0x310f4d=[],_0x1189d0=0x0,_0x5bc225=0x0;for(;_0x1189d0<_0x24c369['length']||_0x5bc225<_0x5621f7['length'];){const _0x3e5f99=_0x24c369[_0x1189d0]||{},_0xaf1c77=_0x5621f7[_0x5bc225]||{};if(_0x3e5f99['id']==_0xaf1c77['id'])_0x1189d0++,_0x5bc225++,_0x310f4d['push'](_0x3e5f99);else{if(_0xaf1c77['isRemoved']&&_0x3e5f99['isAdded']){const {commonTape:_0xf5389d,iEnd:_0x240598,jEnd:_0x11f0e8}=this['_threeWayMerge'](_0x24c369,_0x1189d0,_0x5621f7,_0x5bc225);_0x310f4d=_0x310f4d['concat'](_0xf5389d),_0x1189d0=_0x240598,_0x5bc225=_0x11f0e8;}else _0xaf1c77['isRemoved']?(_0x5bc225++,_0x310f4d['push'](_0xaf1c77)):(_0x1189d0++,_0x310f4d['push'](_0x3e5f99));}}return _0x310f4d;}['_markSuggestions'](_0x22a775,_0x3402d8){const _0x40366b=[];for(let _0x3fbce0=0x0;_0x3fbce0<_0x22a775['length'];_0x3fbce0++){for(let _0x122f5a=0x0;_0x122f5a<_0x22a775[_0x3fbce0]['markersStart']['length'];_0x122f5a++){const _0x51bb82=_0x22a775[_0x3fbce0]['markersStart'][_0x122f5a];if(!_0x3402d8['has'](_0x51bb82))continue;const {group:_0x3ff6fe,type:_0x835cd9,authorId:_0x351b71}=_0x5e6177(_0x51bb82);'revision-suggestion'!=_0x3ff6fe||'insertion'!=_0x835cd9&&'deletion'!=_0x835cd9||(_0x40366b['unshift']({'type':_0x835cd9,'name':_0x51bb82,'userId':_0x351b71}),_0x22a775[_0x3fbce0]['markersStart']['splice'](_0x122f5a,0x1),_0x122f5a--);}_0x319348(_0x22a775[_0x3fbce0]);for(let _0xe835c=0x0;_0xe835c<_0x22a775[_0x3fbce0]['markersEnd']['length'];_0xe835c++){const _0x1a4b72=_0x22a775[_0x3fbce0]['markersEnd'][_0xe835c];if(!_0x3402d8['has'](_0x1a4b72))continue;const {group:_0x2333cb,type:_0x3db4e9}=_0x5e6177(_0x1a4b72);if('revision-suggestion'!=_0x2333cb||'insertion'!=_0x3db4e9&&'deletion'!=_0x3db4e9)continue;_0x22a775[_0x3fbce0]['markersEnd']['splice'](_0xe835c,0x1),_0xe835c--;const _0x197d5f=_0x40366b['findIndex'](_0x2c806b=>_0x2c806b['name']==_0x1a4b72);_0x197d5f>-0x1&&_0x40366b['splice'](_0x197d5f,0x1);}}function _0x5e6177(_0x11f934){const _0x4bf137=_0x11f934['split'](':');return{'group':_0x4bf137[0x0],'type':_0x4bf137[0x1],'subType':_0x4bf137['length']>=0x5?_0x4bf137[0x2]:null,'id':_0x4bf137['length']<0x5?_0x4bf137[0x2]:_0x4bf137[0x3],'authorId':_0x4bf137['length']<0x5?_0x4bf137[0x3]:_0x4bf137[0x4],'markerCount':0x6==_0x4bf137['length']?_0x4bf137[0x5]:null};}function _0x319348(_0x51e80e){for(let _0x2c3c8b=0x0;_0x2c3c8b<_0x40366b['length'];_0x2c3c8b++){if(_0x51e80e['isAdded']&&'insertion'==_0x40366b[_0x2c3c8b]['type'])return _0x51e80e['isAddSuggestion']=_0x40366b[_0x2c3c8b],void delete _0x51e80e['isAdded'];if(!_0x51e80e['isAdded']&&!_0x51e80e['isRemoved']&&'deletion'==_0x40366b[_0x2c3c8b]['type'])return void(_0x51e80e['isRemoveSuggestion']=_0x40366b[_0x2c3c8b]);}}}['_setDistance'](_0x16a30b,_0x193312){let _0x862d3c=0x0,_0x4df707=!0x1;const _0x1ef248=new Map();for(const _0x49293f of _0x16a30b)_0x49293f[_0x193312]?_0x4df707&&(_0x862d3c++,_0x4df707=!0x1):(_0x862d3c++,_0x4df707=!0x0),_0x1ef248['set'](_0x49293f['id'],_0x862d3c);for(let _0x1dbc36=0x0;_0x1dbc36<_0x16a30b['length'];_0x1dbc36++){if('isRemoved'==_0x193312&&_0x16a30b[_0x1dbc36]['isAdded']||'isAdded'==_0x193312&&_0x16a30b[_0x1dbc36]['isRemoved'])continue;if('text'==_0x16a30b[_0x1dbc36]['type']){_0x16a30b[_0x1dbc36]['distance']=0x0;continue;}const _0x118fa8=_0x1ef248['get'](_0x16a30b[_0x1dbc36]['pairId']),_0x18371a=_0x1ef248['get'](_0x16a30b[_0x1dbc36]['id']);_0x16a30b[_0x1dbc36]['distance']=_0x118fa8-_0x18371a;}}['_getRevisionsRange'](_0x4d2bda,_0x3d121e,_0x4b70b0=!0x1){const _0xf1c6d2=[];let _0x55d767=this['repository']['getIndex'](_0x4d2bda),_0x858bc8=this['repository']['getIndex'](_0x3d121e);for(-0x1==_0x858bc8&&(_0x858bc8=this['repository']['_revisions']['length'],_0x4b70b0=!0x1);_0x55d767<_0x858bc8;)_0xf1c6d2['push'](this['repository']['getRevision'](_0x55d767)),_0x55d767++;return _0x4b70b0&&_0xf1c6d2['push'](this['repository']['getRevision'](_0x55d767)),_0xf1c6d2;}['_threeWayMerge'](_0x3aff8a,_0x2ba846,_0xd3e601,_0x51a712){const _0x24c77b=this['editor']['model']['schema'];let _0x4f49e7=_0x2ba846;for(;_0x3aff8a[_0x4f49e7]&&_0x3aff8a[_0x4f49e7]['isAdded'];)_0x4f49e7++;let _0x263154=_0x51a712;for(;_0xd3e601[_0x263154]&&_0xd3e601[_0x263154]['isRemoved'];)_0x263154++;_0x46a98e(_0x3aff8a,_0x2ba846,_0x4f49e7),_0x46a98e(_0xd3e601,_0x51a712,_0x263154);const _0x286382=_0xd3e601['slice'](_0x51a712,_0x263154)['concat'](_0x3aff8a['slice'](_0x2ba846,_0x4f49e7));return _0x286382['sort']((_0x40ba2c,_0x117e44)=>_0x40ba2c['side']!=_0x117e44['side']?_0x40ba2c['side']-_0x117e44['side']:_0x40ba2c['level']!=_0x117e44['level']?_0x40ba2c['level']-_0x117e44['level']:_0x40ba2c['distance']!=_0x117e44['distance']?_0x117e44['distance']-_0x40ba2c['distance']:!!_0x40ba2c['isAdded']!=!!_0x117e44['isAdded']?-0x1==_0x40ba2c['side']||0x0==_0x40ba2c['side']?_0x40ba2c['isAdded']?-0x1:0x1:_0x40ba2c['isAdded']?0x1:-0x1:_0x40ba2c['index']-_0x117e44['index']),{'commonTape':_0x286382,'iEnd':_0x4f49e7,'jEnd':_0x263154};function _0x46a98e(_0x281eec,_0x2a1302,_0x1d03e2){let _0x52817f=-0x1,_0x47627e=Number['POSITIVE_INFINITY'],_0xe7b323=!0x0;for(let _0x32d3da=_0x2a1302;_0x32d3da<_0x1d03e2;_0x32d3da++)if(_0x24c77b['isInline'](_0x281eec[_0x32d3da]['item'])||(_0xe7b323=!0x1),_0x281eec[_0x32d3da]['item']['startIndex']<_0x2a1302&&(_0x52817f=_0x32d3da),_0x281eec[_0x32d3da]['item']['endIndex']>=_0x1d03e2){_0x47627e=_0x32d3da;break;}_0xe7b323&&(_0x52817f=_0x1d03e2-0x1);for(let _0x22cee2=_0x2a1302;_0x22cee2<_0x1d03e2;_0x22cee2++)_0x281eec[_0x22cee2]['side']=_0x22cee2<=_0x52817f?-0x1:_0x22cee2<_0x47627e?0x0:0x1,_0x281eec[_0x22cee2]['index']=_0x22cee2;let _0x2cf20b=0x0;for(let _0x5c1e1a=_0x2a1302;_0x5c1e1a<=_0x52817f;_0x5c1e1a++)0x0==_0x281eec[_0x5c1e1a]['distance']?_0x281eec[_0x5c1e1a]['level']=_0x2cf20b:(_0x2cf20b++,_0x281eec[_0x5c1e1a]['level']=_0x2cf20b,_0x2cf20b++);for(let _0x3b5101=_0x2a1302;_0x3b5101<_0x1d03e2;_0x3b5101++)0x0==_0x281eec[_0x3b5101]['side']&&(_0x281eec[_0x3b5101]['level']=_0x2cf20b);_0x2cf20b=0x0;for(let _0x25cc60=_0x1d03e2-0x1;_0x25cc60>=_0x47627e;_0x25cc60--)0x0==_0x281eec[_0x25cc60]['distance']?_0x281eec[_0x25cc60]['level']=_0x2cf20b:(_0x2cf20b--,_0x281eec[_0x25cc60]['level']=_0x2cf20b,_0x2cf20b--);}}['_fixObsoleteTags'](_0x10b880){const _0x508910=new Map(),_0xe7f8fd=this['editor']['model']['schema'];for(let _0x23159e=0x1;_0x23159e<_0x10b880['length'];_0x23159e++){let _0x49a536,_0x2b2b58,_0x4030fa;const _0x421551=_0x10b880[_0x23159e],_0x244236=_0x10b880[_0x23159e-0x1];if('text'==_0x421551['type'])continue;if(_0x421551['type']!=_0x244236['type'])continue;if(!_0xe7f8fd['isBlock'](_0x244236['item'])||_0xe7f8fd['isLimit'](_0x244236['item']))continue;if(!_0xe7f8fd['isBlock'](_0x421551['item'])||_0xe7f8fd['isLimit'](_0x421551['item']))continue;if((_0x10b880[_0x23159e]['isAdded']||_0x10b880[_0x23159e]['isAddSuggestion'])&&_0x10b880[_0x23159e-0x1]['isRemoved'])_0x49a536=_0x10b880[_0x23159e],_0x2b2b58=_0x10b880[_0x23159e-0x1],_0x4030fa=_0x23159e-0x1;else{if(!_0x10b880[_0x23159e]['isRemoved']||!_0x10b880[_0x23159e-0x1]['isAdded']&&!_0x10b880[_0x23159e-0x1]['isAddSuggestion'])continue;_0x49a536=_0x10b880[_0x23159e-0x1],_0x2b2b58=_0x10b880[_0x23159e],_0x4030fa=_0x23159e;}const _0x37522a=_0x49a536['level']==_0x2b2b58['level'],_0x56403d=Math['abs'](_0x49a536['level'])<Math['abs'](_0x2b2b58['level'])&&0x0==_0x2b2b58['distance'];(_0x37522a||_0x56403d)&&(_0x508910['set'](_0x2b2b58['id'],_0x49a536['id']),_0x10b880['splice'](_0x4030fa,0x1),_0x23159e--,_0x49a536['isAdded']=!0x1);}for(let _0x34cffd=0x0;_0x34cffd<_0x10b880['length'];_0x34cffd++)_0x508910['has'](_0x10b880[_0x34cffd]['pairId'])&&(_0x10b880[_0x34cffd]['pairId']=_0x508910['get'](_0x10b880[_0x34cffd]['pairId']));}['_removeMissingPairs'](_0x47a43d){const _0x2b7a8a=new Set(_0x47a43d['map'](_0x3fbc62=>_0x3fbc62['id']));for(let _0x2a1997=0x0;_0x2a1997<_0x47a43d['length'];_0x2a1997++)_0x2b7a8a['has'](_0x47a43d[_0x2a1997]['pairId'])||0x0==_0x47a43d[_0x2a1997]['distance']||(_0x47a43d[_0x2a1997]['isIncorrect']=!0x0);return _0x47a43d['filter'](_0x52510b=>!_0x52510b['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3868a6){const _0x3c07ec=new Set();for(let _0x1a7d87=0x0;_0x1a7d87<_0x3868a6['length'];_0x1a7d87++){if(_0x3c07ec['has'](_0x3868a6[_0x1a7d87]['id'])&&_0x3868a6[_0x1a7d87]['isRemoved']&&(_0x3868a6[_0x1a7d87]['isIncorrect']=!0x0),_0x3868a6[_0x1a7d87]['isIncorrect'])continue;if(0x0==_0x3868a6[_0x1a7d87]['distance'])continue;if('elementStart'!=_0x3868a6[_0x1a7d87]['type'])continue;if(null==_0x3868a6[_0x1a7d87]['pairId'])continue;let _0x432d8c=_0x1a7d87+0x1,_0x2b43a9=0x0;for(;_0x3868a6[_0x432d8c]['id']!=_0x3868a6[_0x1a7d87]['pairId'];)'elementStart'==_0x3868a6[_0x432d8c]['type']?_0x2b43a9++:'elementEnd'==_0x3868a6[_0x432d8c]['type']&&_0x2b43a9--,_0x432d8c++;if(0x0!=_0x2b43a9){if(_0x3868a6[_0x1a7d87]['isRemoved'])_0x3868a6[_0x1a7d87]['isIncorrect']=!0x0;else{for(;_0x432d8c!=_0x1a7d87;)_0x3868a6[_0x432d8c]['isRemoved']&&0x0!=_0x3868a6[_0x432d8c]['distance']&&(_0x3868a6[_0x432d8c]['isIncorrect']=!0x0,_0x3c07ec['add'](_0x3868a6[_0x432d8c]['pairId'])),_0x432d8c--;}}}return _0x3868a6['filter'](_0x125c12=>!_0x125c12['isIncorrect']);}['_removeUnsupportedChanges'](_0x4c06d8){const _0x2e34e3=this['editor']['model']['schema'];for(let _0x42ee51=0x0;_0x42ee51<_0x4c06d8['length'];_0x42ee51++){if(!(_0x4c06d8[_0x42ee51]['isAdded']||_0x4c06d8[_0x42ee51]['isAddSuggestion']||_0x4c06d8[_0x42ee51]['isRemoved']||_0x4c06d8[_0x42ee51]['isRemoveSuggestion']))continue;if(0x0==_0x4c06d8[_0x42ee51]['distance'])continue;const _0x1dbb22=_0x4c06d8[_0x42ee51]['item'];_0x2e34e3['isBlock'](_0x1dbb22)||_0x2e34e3['isLimit'](_0x1dbb22)||(_0x4c06d8[_0x42ee51]['isAdded']&&delete _0x4c06d8[_0x42ee51]['isAdded'],_0x4c06d8[_0x42ee51]['isAddSuggestion']&&delete _0x4c06d8[_0x42ee51]['isAddSuggestion'],_0x4c06d8[_0x42ee51]['isRemoveSuggestion']&&delete _0x4c06d8[_0x42ee51]['isRemoveSuggestion'],_0x4c06d8[_0x42ee51]['isRemoved']&&(_0x4c06d8[_0x42ee51]['isIncorrect']=!0x0));}return _0x4c06d8['filter'](_0x51cc1b=>!_0x51cc1b['isIncorrect']);}['_makeModelFromTape'](_0x43c028,_0x372369,_0x12d41d){const _0x52331f=new _t(),_0x1bc381=[],_0x3fc3cd=new Map(),_0x280d1b=this['editor']['model'],_0x2921cd=_0x280d1b['schema'],_0x2b83e5=[_0x52331f],_0x51e98a={},_0x175546={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xe9950c=null;const _0x465632=[0x0];for(let _0x164b33=0x0;_0x164b33<_0x43c028['length'];_0x164b33++){let _0x1c43e2,_0x28c7c5;if('elementStart'===_0x43c028[_0x164b33]['type']){_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632);const _0x1d6f9d=new ft(_0x43c028[_0x164b33]['item']['name'],_0x43c028[_0x164b33]['item']['getAttributes']());_0x2b83e5[0x0]['_appendChild'](_0x1d6f9d),_0x465632['push'](0x0),_0x2b83e5['unshift'](_0x1d6f9d),_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c=null;}else{if('elementEnd'===_0x43c028[_0x164b33]['type'])_0x2b83e5['shift'](),_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0x465632['pop'](),_0x465632[_0x465632['length']-0x1]++,_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c=null;else{if(_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c&&_0x2dc6f4(_0xe9950c,_0x43c028[_0x164b33]['item']))_0xe9950c['_data']+=_0x43c028[_0x164b33]['item']['data'];else{const _0x34ba4b=new yt(_0x43c028[_0x164b33]['item']['data'],_0x43c028[_0x164b33]['item']['getAttributes']());_0x2b83e5[0x0]['_appendChild'](_0x34ba4b),_0xe9950c=_0x34ba4b;}_0x465632[_0x465632['length']-0x1]+=_0x43c028[_0x164b33]['item']['offsetSize'],_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632);}}for(const _0x13abc5 of _0x43c028[_0x164b33]['markersStart'])_0x3fc3cd['set'](_0x13abc5,{'start':_0x1c43e2,'end':null});_0x9afc10('isRemoveSuggestion',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isAddSuggestion',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isRemoved',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isAdded',_0x164b33,_0x1c43e2,_0x28c7c5);for(const _0x47a9a5 of _0x43c028[_0x164b33]['markersEnd']){_0x3fc3cd['get'](_0x47a9a5)['end']=_0x28c7c5;}}for(const [_0x56dade,_0x7bb41c]of _0x3fc3cd){const _0x252a82=this['editor']['model']['createRange'](_0x7bb41c['start'],_0x7bb41c['end']);_0x52331f['markers']['set'](_0x56dade,_0x252a82);}return _0x1bc381['sort']((_0x3e0f34,_0x487911)=>{const _0x3274be=_0x52331f['markers']['get']('revision:'+_0x3e0f34['id']),_0x3ac60e=_0x52331f['markers']['get']('revision:'+_0x487911['id']);return _0x3274be['start']['isBefore'](_0x3ac60e['start'])?-0x1:_0x3274be['start']['isAfter'](_0x3ac60e['start'])?0x1:_0x3274be['end']['isBefore'](_0x3ac60e['end'])?-0x1:_0x3274be['end']['isAfter'](_0x3ac60e['end'])?0x1:'add'===_0x3e0f34['type']?-0x1:0x1;}),{'root':_0x52331f,'changes':_0x1bc381};function _0x9afc10(_0x3b7f4d,_0x1ce494,_0x535ccf,_0x179846){const _0xf5cbcf=!!_0x43c028[_0x1ce494][_0x3b7f4d],_0x2a76d0=_0xf5cbcf?_0x43c028[_0x1ce494][_0x3b7f4d]['userId']:null,_0x4d0aef=_0x1ce494===_0x43c028['length']-0x1,_0x3763ed=_0x175546[_0x3b7f4d][0x0],_0x524c8e=_0x2921cd['isObject'](_0x43c028[_0x1ce494]['item']);!_0x51e98a[_0x3b7f4d]&&_0xf5cbcf?_0x51e98a[_0x3b7f4d]={'start':_0x535ccf,'tapeItem':_0x43c028[_0x1ce494],'userId':_0x2a76d0,'type':_0x3b7f4d}:_0x51e98a[_0x3b7f4d]&&!_0xf5cbcf?(_0x51e98a[_0x3b7f4d]['end']=_0x535ccf,_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]=null):_0x51e98a[_0x3b7f4d]&&_0xf5cbcf&&_0x51e98a[_0x3b7f4d]['userId']!==_0x2a76d0&&(_0x51e98a[_0x3b7f4d]['end']=_0x535ccf,_0x3763ed&&_0x3763ed['userId']===_0x51e98a[_0x3b7f4d]['userId']||_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]={'start':_0x535ccf,'tapeItem':_0x43c028[_0x1ce494],'userId':_0x2a76d0,'type':_0x3b7f4d}),_0x51e98a[_0x3b7f4d]&&_0x524c8e&&('elementStart'!==_0x43c028[_0x1ce494]['type']||_0x3763ed&&_0x3763ed['userId']===_0x2a76d0||_0x175546[_0x3b7f4d]['unshift']({'userId':_0x2a76d0,'object':_0x43c028[_0x1ce494]['item'],'change':_0x51e98a[_0x3b7f4d]}),'elementEnd'===_0x43c028[_0x1ce494]['type']&&_0x3763ed&&_0x3763ed['object']===_0x43c028[_0x1ce494]['item']&&(_0x175546[_0x3b7f4d]['shift'](),_0x51e98a[_0x3b7f4d]=_0x3763ed['change'])),_0x51e98a[_0x3b7f4d]&&_0x4d0aef&&(_0x51e98a[_0x3b7f4d]['end']=_0x179846,_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]=null);}function _0x162e4b({start:_0x85a39,end:_0x57f65b,tapeItem:_0x2abed9,userId:_0x416b72,type:_0x50e328}){const _0x47552b=_0x2abed9['item'],_0x11b1d2=_0x280d1b['schema']['isBlock'](_0x47552b)&&!_0x280d1b['schema']['isLimit'](_0x47552b),_0x1a05f8=_0x85a39['nodeAfter']==_0x57f65b['parent']&&_0x57f65b['isAtStart'];if(_0x11b1d2&&_0x1a05f8)return;const _0x42218c=_0x280d1b['createRange'](_0x85a39,_0x57f65b),_0x1a2158=_0x372369['get'](_0x416b72),_0x420f67=new r({'author':_0x1a2158,'type':'isAdded'==_0x50e328||'isAddSuggestion'==_0x50e328?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x50e328||'isRemoveSuggestion'==_0x50e328},'createdAt':new Date(),'rootName':_0x12d41d});_0x1bc381['push'](_0x420f67),_0x52331f['markers']['set']('revision:'+_0x420f67['id'],_0x42218c);}function _0x2dc6f4(_0x9650b3,_0x17159f){const _0x32967b=_0x9650b3['getAttributes'](),_0x2bfed3=_0x17159f['getAttributes']();for(const _0x5837a8 of _0x32967b){if(_0x5837a8[0x1]!==_0x17159f['getAttribute'](_0x5837a8[0x0]))return!0x1;_0x2bfed3['next']();}return _0x2bfed3['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5b9f7d=>{const _0x22622c=_0x5b9f7d['markerName']['split'](':')[0x1],_0x136f7f=this['_getChangeFromId'](_0x22622c);if(!_0x136f7f)return null;const _0x5969eb='add'==_0x136f7f['type']?'insertion':'deletion',_0x5e18d1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5969eb];return _0x136f7f['data']['isSuggestion']&&_0x5e18d1['push']('ck-suggestion-marker-'+_0x5969eb+'-new'),this['activeChange']==_0x136f7f&&_0x5e18d1['push']('ck-suggestion-marker--active'),{'classes':_0x5e18d1,'attributes':{'data-change-id':_0x22622c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3f1705=>{_0x3f1705['on']('element:pre',(_0x441612,_0x27a8fc,_0x2965c6)=>{const _0x405fce=_0x27a8fc['viewItem']['getChild'](0x0);if(!_0x405fce||!_0x405fce['is']('element','code'))return;if(!_0x2965c6['consumable']['consume'](_0x405fce,{'attributes':['vid_start','vid_end']}))return;const _0x307150=_0x27a8fc['modelRange']['start']['nodeAfter'];_0x2965c6['writer']['setAttribute']('vid_start',_0x405fce['getAttribute']('vid_start'),_0x307150),_0x2965c6['writer']['setAttribute']('vid_end',_0x405fce['getAttribute']('vid_end'),_0x307150);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x53dc62=>{_0x53dc62['on']('element',(_0x56ef98,_0x323111,_0x1aa8d0)=>{if(!_0x1aa8d0['consumable']['consume'](_0x323111['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x323111['modelRange']['isCollapsed'])return;const _0x3bb129=_0x323111['modelRange']['start']['nodeAfter'];_0x3bb129['hasAttribute']('vid_start')||_0x3bb129['hasAttribute']('vid')||(_0x1aa8d0['writer']['setAttribute']('vid_start',_0x323111['viewItem']['getAttribute']('vid_start'),_0x3bb129),_0x1aa8d0['writer']['setAttribute']('vid_end',_0x323111['viewItem']['getAttribute']('vid_end'),_0x3bb129));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x207f8b=>_0x207f8b['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x896d94,[,_0x47a29a])=>{['vid_start','vid_end','vid']['includes'](_0x47a29a)&&(_0x896d94['return']=!0x0,_0x896d94['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x427f56=>{_0x427f56['on']('attribute:vid',(_0xa28264,_0x127fc4,_0x2e5cfb)=>{if('\x20'!=_0x127fc4['item']['data']||_0x127fc4['item']['parent']['maxOffset']>0x1)return;if(!_0x2e5cfb['consumable']['consume'](_0x127fc4['item'],_0xa28264['name']))return;const _0x5d57e1=_0x2e5cfb['writer'],_0x1a3a4a=_0x2e5cfb['mapper']['toViewRange'](_0x127fc4['range']);_0x5d57e1['wrap'](_0x1a3a4a,_0x5d57e1['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x335cd7){const _0x3dac21=_0x335cd7['plugins']['get']('RevisionViewer');return(_0x33d308,_0x44c6c4,_0xb0b854)=>{const _0x2960da=_0x44c6c4['markerName']['split'](':')[0x1],_0x3c456f=_0x3dac21['_getChangeFromId'](_0x2960da);if(!_0x3c456f)return null;const _0x2e24ac='add'==_0x3c456f['type']?'split':'merge';if(!_0xb0b854['consumable']['test'](_0x44c6c4['markerRange'],_0x33d308['name']))return;const _0x1bccd9=_0x44c6c4['markerRange']['getWalker'](),_0x1d1a26=_0x44c6c4['markerRange']['start'],_0x5c259e=_0x335cd7['model']['schema'];let _0x489d55=null,_0x3a21b2=null,_0x58816a=!0x1,_0x11cd89=!0x1;for(const _0x49d29b of _0x1bccd9){const _0x25b9b0=_0x49d29b['item'];_0x58816a=_0x58816a||_0x5c259e['isContent'](_0x25b9b0);const _0x420665=_0xb0b854['mapper']['toViewElement'](_0x25b9b0);if(_0x420665&&_0x420665['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x49d29b['type']&&(_0x5c259e['isBlock'](_0x25b9b0)&&!_0x5c259e['isLimit'](_0x25b9b0)&&(_0x25b9b0['nextSibling']||_0x1d1a26['isAtEnd']?_0x489d55&&_0x489d55['parent']==_0x25b9b0||(_0x489d55=_0x25b9b0,_0xa8e491(_0x49d29b['previousPosition']),_0x11cd89=!0x0):_0x3a21b2=_0x3a21b2||_0x49d29b['previousPosition']));}function _0xa8e491(_0x263f22){const _0x57d5df=_0xb0b854['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e24ac}),_0x10a4d9=_0xb0b854['mapper']['toViewPosition'](_0x263f22);_0x3c456f['data']['isSuggestion']&&_0xb0b854['writer']['addClass']('ck-suggestion-marker-'+_0x2e24ac+'-new',_0x57d5df),_0x3dac21['activeChange']==_0x3c456f&&_0xb0b854['writer']['addClass']('ck-suggestion-marker--active',_0x57d5df),_0xb0b854['writer']['insert'](_0x10a4d9,_0x57d5df),_0xb0b854['mapper']['bindElementToMarker'](_0x57d5df,_0x44c6c4['markerName']);}_0x58816a||_0x11cd89||!_0x3a21b2||_0xa8e491(_0x3a21b2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x15a7c0,_0xcf4eed,_0x3f27ea)=>{const _0xb5be25=_0x3f27ea['mapper']['markerNameToElements'](_0xcf4eed['markerName']);if(_0xb5be25){for(const _0x2336d7 of _0xb5be25)(_0x2336d7['hasClass']('ck-suggestion-marker-split')||_0x2336d7['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f27ea['mapper']['unbindElementFromMarkerName'](_0x2336d7,_0xcf4eed['markerName']),_0x3f27ea['writer']['remove'](_0x2336d7));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xb58e22,_0x338bcd,_0x58eb73)=>{const _0x435104=_0x338bcd['markerName']['split'](':')[0x1],_0x289264=this['_getChangeFromId'](_0x435104);if(!_0x289264)return null;const _0x13ed6d='add'==_0x289264['type']?'split':'merge';if(_0x58eb73['consumable']['test'](_0x338bcd['markerRange'],_0xb58e22['name']))for(const _0x4d035b of _0x338bcd['markerRange']['getItems']()){if(!_0x4d035b['is']('element','softBreak'))continue;const _0x252185=_0x58eb73['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x13ed6d}),_0x3d645f=_0x58eb73['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4d035b));_0x289264['data']['isSuggestion']&&_0x58eb73['writer']['addClass']('ck-suggestion-marker-'+_0x13ed6d+'-new',_0x252185),this['activeChange']==_0x289264&&_0x58eb73['writer']['addClass']('ck-suggestion-marker--active',_0x252185),_0x58eb73['writer']['insert'](_0x3d645f,_0x252185),_0x58eb73['mapper']['bindElementToMarker'](_0x252185,_0x338bcd['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x22f371=>{for(const _0x1ac253 of this['editor']['model']['document']['getRootNames']()){const _0x3dfeb3=this['editor']['model']['document']['getRoot'](_0x1ac253),_0x370c52=this['editor']['editing']['view']['document']['getRoot'](_0x1ac253);if(_0x370c52){const _0x2cc64b=_0x3dfeb3['getAttribute']('revisionHistoryAttachChange');if(_0x22f371['removeAttribute']('data-change-id',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root-add',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root-remove',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root--active',_0x370c52),_0x2cc64b){const _0x327607=this['_getChangeFromId'](_0x2cc64b);if(!_0x327607)return null;_0x22f371['setAttribute']('data-change-id',_0x2cc64b,_0x370c52),_0x22f371['addClass']('ck-revision-history-root-'+_0x327607['type'],_0x370c52),this['activeChange']==_0x327607&&_0x22f371['addClass']('ck-revision-history-root--active',_0x370c52);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x351bc5=>'revision-comment:'+_0x351bc5,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x227d25=>'revision-suggestion:'+_0x227d25,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x40b303=>({'name':'suggestion:'+_0x40b303,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x203cd1=>{const _0x7ea3b2=_0x203cd1['markerName']['split'](':')[0x1];return'insertion'!=_0x7ea3b2&&'deletion'!=_0x7ea3b2?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x7ea3b2]};}}),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',(_0x139483,_0x3c5784,_0x335b80)=>{const _0x399ae1=_0x335b80['mapper']['markerNameToElements'](_0x3c5784['markerName']);if(_0x399ae1){for(const _0x34765a of _0x399ae1)_0x34765a['is']('uiElement')&&(_0x335b80['mapper']['unbindElementFromMarkerName'](_0x34765a,_0x3c5784['markerName']),_0x335b80['writer']['remove'](_0x34765a));}},{'priority':'high'});}['_getChangeFromId'](_0x32b3f1){return this['_changeIdToChange']['get'](_0x32b3f1);}['_getViewForChange'](_0x35b003){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x35b003),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3d0d5f,_0x2c176b,_0x5d47c5,_0x3f3628)=>{_0x3f3628&&this['_balloon']['remove'](_0x3f3628),_0x5d47c5&&(this['_balloon']['add']({'view':_0x5d47c5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x363eac=this['editor']['editing'],_0x2aea62=this['_getChangeFromId'](_0x5d47c5['changeId']);let _0x106823;if(_0x2aea62['data']['isOnRoot']){const _0xf6f46=_0x363eac['view']['getDomRoot'](_0x2aea62['rootName']);_0x106823=Array['from'](_0xf6f46['getClientRects']());}else{const _0x353afc=this['editor']['model']['markers']['get']('revision:'+_0x5d47c5['changeId']);_0x106823=Array['from'](_0x363eac['mapper']['markerNameToElements'](_0x353afc['name']))['map'](_0x200584=>_0x363eac['view']['domConverter']['mapViewToDom'](_0x200584))['map'](_0xff0197=>Array['from'](_0xff0197['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x106823[0x0];return _0x106823['find'](_0x2676ea=>_0x2676ea['top']-0x3<=this['_activeViewTarget']['y']&&_0x2676ea['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2676ea['left']-0x3<=this['_activeViewTarget']['x']&&_0x2676ea['right']+0x3>=this['_activeViewTarget']['x'])||_0x106823[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xfff6f6,_0xfce546,_0x3c3af7,_0x34e9a3)=>{this['activeView']=_0x3c3af7?this['_getViewForChange'](_0x3c3af7):null,this['editor']['model']['change'](()=>{const _0x37ff16=this['editor']['editing'];_0x34e9a3&&(_0x34e9a3['data']['isOnRoot']?_0x37ff16['view']['change'](_0x12d3c0=>{_0x12d3c0['removeClass']('ck-revision-history-root--active',_0x37ff16['view']['document']['getRoot'](_0x34e9a3['rootName']));}):_0x37ff16['reconvertMarker']('revision:'+_0x34e9a3['id'])),_0x3c3af7&&(_0x3c3af7['data']['isOnRoot']?_0x37ff16['view']['change'](_0xff4cf4=>{_0xff4cf4['addClass']('ck-revision-history-root--active',_0x37ff16['view']['document']['getRoot'](_0x3c3af7['rootName']));}):_0x37ff16['reconvertMarker']('revision:'+_0x3c3af7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4f51b8,_0x5569d2)=>{if(this['activeChange'])return;const _0x4572de=this['_findChangeIdFromDomTarget'](_0x5569d2['target']),_0x13ca0b=this['_changeIdToChange']['get'](_0x4572de);_0x13ca0b?(this['_activeViewTarget']={'x':_0x5569d2['domEvent']['x'],'y':_0x5569d2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x13ca0b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4a18d6,_0x4584b3)=>{const _0x4bcfa4=this['_findChangeIdFromDomTarget'](_0x4584b3['target']),_0x58985e=this['_changeIdToChange']['get'](_0x4bcfa4);_0x58985e?(this['_activeViewTarget']={'x':_0x4584b3['domEvent']['x'],'y':_0x4584b3['domEvent']['y']},_0x58985e===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x58985e):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x58422b){do{const _0x118697=_0x58422b['getAttribute']('data-change-id');if(_0x118697)return _0x118697;_0x58422b=_0x58422b['parent'];}while(_0x58422b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x291647=>{for(const _0x6a063c of this['editor']['model']['markers'])_0x291647['removeMarker'](_0x6a063c);});}constructor(_0x4e1e73){super(_0x4e1e73),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',(_0x1ebdab,_0x5372d8,_0x3162f2)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3b5ad6=>{for(const _0x29e32e of this['editor']['editing']['view']['document']['roots'])_0x3162f2?_0x3b5ad6['removeClass']('ck-editor__editable__overlay',_0x29e32e):_0x3b5ad6['addClass']('ck-editor__editable__overlay',_0x29e32e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1f42fc=>null!==_0x1f42fc),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x200224,_0x8f0ea0,_0x2b0a6e)=>_0x200224&&_0x2b0a6e?_0x8f0ea0['changes']['getIndex'](_0x2b0a6e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x231bbd,_0x2163b9)=>_0x231bbd?_0x2163b9['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x310f20);}}function et(_0x47855e,_0x7b5598){return(_0x38e797,_0x3d05c8,_0x3d78fd)=>{if(!_0x3d78fd['consumable']['test'](_0x3d05c8['markerRange'],_0x38e797['name']))return;const _0x101e04=_0x3d05c8['markerRange']['getWalker'](),_0x2b8c7d=_0x3d05c8['markerRange']['start'],_0x25f0f5=_0x47855e['model']['schema'];let _0x114939=null,_0x18edac=null,_0x48b7ce=!0x1,_0x37ff93=!0x1;for(const _0x23c3a5 of _0x101e04){const _0x31d826=_0x23c3a5['item'];_0x48b7ce=_0x48b7ce||_0x25f0f5['isContent'](_0x31d826);const _0x378393=_0x3d78fd['mapper']['toViewElement'](_0x31d826);if(_0x378393&&_0x378393['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x23c3a5['type']&&(_0x25f0f5['isBlock'](_0x31d826)&&!_0x25f0f5['isLimit'](_0x31d826)&&(_0x31d826['nextSibling']||_0x2b8c7d['isAtEnd']?_0x114939&&_0x114939['parent']==_0x31d826||(_0x114939=_0x31d826,_0x5ccd96(_0x23c3a5['previousPosition']),_0x37ff93=!0x0):_0x18edac=_0x18edac||_0x23c3a5['previousPosition']));}function _0x5ccd96(_0x4f2b9f){const _0x36a3a9=_0x3d78fd['mapper']['toViewPosition'](_0x4f2b9f),_0x120696=_0x3d78fd['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x7b5598});_0x3d78fd['writer']['insert'](_0x36a3a9,_0x120696),_0x3d78fd['mapper']['bindElementToMarker'](_0x120696,_0x3d05c8['markerName']);}_0x48b7ce||_0x37ff93||!_0x18edac||_0x5ccd96(_0x18edac);};}class bt extends _0x1c1c30{['execute'](){const _0x4dafde=this['editor'],_0x6479ca=_0x4dafde['plugins']['get'](d),_0x3cfa27=_0x6479ca['isReady']?_0x6479ca['diff']['newRevisionId']:null;_0x4dafde['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3cfa27);}['refresh'](){const {isReady:_0x14a418,isEnabled:_0x48f6e1}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x14a418&&_0x48f6e1;}constructor(_0x447a12){super(_0x447a12);const _0xcc4c6a=_0x447a12['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xcc4c6a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xcc4c6a,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x1c1c30{['execute'](){const _0x1131de=this['editor'],_0x40ea78=_0x1131de['plugins']['get'](d),{isNavigationMode:_0xf24c38,currentChangeNumber:_0x569240}=_0x40ea78;let _0x530607;if(_0x40ea78['activeChange']=_0xf24c38?_0x40ea78['diff']['changes']['get'](_0x569240+this['_step']):_0x40ea78['diff']['changes']['first'],_0x40ea78['activeChange']['data']['isOnRoot'])_0x530607=_0x1131de['editing']['view']['getDomRoot'](_0x40ea78['activeChange']['rootName']);else{const _0x1f4cd3=_0x1131de['model']['markers']['get']('revision:'+_0x40ea78['activeChange']['id']);_0x530607=_0x461b7d(_0x1131de['editing'],_0x1f4cd3);}_0x3a4463({'target':_0x530607,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1e4f1b,currentChangeNumber:_0x512687,numberOfChanges:_0x33c37e,isReady:_0x475349,isEnabled:_0x31a6b3}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x31a6b3&&_0x475349&&_0x33c37e)&&(!_0x1e4f1b||(0x1===this['_step']?_0x512687<_0x33c37e-0x1:_0x512687>0x0));}constructor(_0x1e8d2f,{direction:_0x2d7718}){super(_0x1e8d2f);const _0x30bdf3=_0x1e8d2f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2d7718?0x1:-0x1,this['listenTo'](_0x30bdf3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x30bdf3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x30bdf3,'change:activeChange',()=>this['refresh']());}}class _i extends _0x796ce0{constructor(_0x4d496f){super(_0x4d496f);const _0x27990d=this['bindTemplate'],_0x2cc5da=new _0x2e3682(_0x4d496f),_0x1aa22a=new _0x2e3682(_0x4d496f);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',(_0xdc6739,_0x3d7be5)=>_0xdc6739&&_0x3d7be5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x6da75,_0x205341,_0x349c52,_0x4fd840)=>{if(!_0x6da75)return y(_0x4d496f,'Loading...');if(!_0x349c52)return y(_0x4d496f,'No\x20changes');const _0x33e42d=y(_0x4d496f,'NUMBER_OF_CHANGES',_0x349c52);return _0x4fd840?y(_0x4d496f,'X_OF_Y_CHANGES',[_0x205341+0x1,_0x349c52]):_0x33e42d;}),_0x2cc5da['set']({'label':y(_0x4d496f,'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'}),_0x1aa22a['set']({'label':y(_0x4d496f,'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'}),_0x2cc5da['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1aa22a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2cc5da['on']('execute',()=>this['fire']('execute','backward')),_0x1aa22a['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',_0x27990d['if']('_isStatusLabelVisible','ck-hidden',_0x4db7c6=>!_0x4db7c6)]},'children':[{'text':_0x27990d['to']('isNavigationMode',_0x2533bf=>_0x2533bf?y(_0x4d496f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4d496f,'Total')+':\x20')}]},{'text':_0x27990d['to']('_statusText')}]},new _0xc56657(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2cc5da,_0x1aa22a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x367b3d=this['editor']['editing']['view'];_0x367b3d['change'](_0x510b02=>{for(const _0x47df86 of _0x367b3d['document']['roots'])_0x510b02['addClass'](ce,_0x47df86);});}['hide'](){const _0xc13642=this['editor']['editing']['view'];_0xc13642['change'](_0x293389=>{for(const _0x522a01 of _0xc13642['document']['roots'])_0x293389['removeClass'](ce,_0x522a01);});}}class R extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x120761=this['editor'],_0x5bf685=_0x120761['plugins']['get'](d),_0x35075a=_0x120761['plugins']['get'](de);_0x120761['ui']['componentFactory']['add']('exitToEditing',_0x2c5031=>{const _0x435efe=new _0x2e3682(_0x2c5031);return _0x435efe['set']({'label':y(_0x2c5031,'Back\x20to\x20editing'),'icon':_0x4df937['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x435efe,'execute',()=>{_0x120761['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x435efe;}),_0x120761['ui']['componentFactory']['add']('restoreRevision',_0x215b49=>{const _0x5b84f5=new _0x2e3682(_0x215b49);return _0x5b84f5['set']({'label':y(_0x215b49,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5b84f5['bind']('isEnabled')['to'](_0x120761['commands']['get']('restoreRevision')),this['listenTo'](_0x5b84f5,'execute',()=>_0x120761['execute']('restoreRevision')),_0x5b84f5;}),_0x120761['ui']['componentFactory']['add']('changesNavigation',_0x44cc4c=>{const _0x441178=new _i(_0x44cc4c),_0x50bebc=_0x120761['commands']['get']('showPreviousChange'),_0x3e263a=_0x120761['commands']['get']('showNextChange');return _0x441178['bind']('isBackwardNavigationEnabled')['to'](_0x50bebc,'isEnabled'),_0x441178['bind']('isForwardNavigationEnabled')['to'](_0x3e263a,'isEnabled'),_0x441178['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5bf685),this['listenTo'](_0x441178,'execute',(_0x2b098d,_0x416cd5)=>{_0x120761['execute']('forward'===_0x416cd5?'showNextChange':'showPreviousChange');}),_0x441178;}),_0x35075a['show'](),_0x5bf685['on']('change:isReady',(_0x279c63,_0x566b25,_0x637fa1)=>{_0x637fa1?_0x35075a['hide']():_0x35075a['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4dd285=this['fieldView']['element'];this['_tooltipString']=_0x4dd285['scrollWidth']>_0x4dd285['clientWidth']&&_0x4dd285['value']||'';}constructor(_0x4950b2,_0x574867){super(_0x4950b2,_0x574867),this['_resizeObserver']=null;const _0x5c8340=this['bindTemplate'];this['set']({'label':y(_0x4950b2,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4950b2,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5c8340['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x796ce0{constructor(_0x3de6d4,_0x1ae404,_0x39bb9e){super(_0x3de6d4);const _0x45ba97=new _0x12b085();_0x45ba97['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 _0x3a610c=['ck','ck-revision-history-sidebar__revision-author'];_0x39bb9e&&_0x3a610c['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2b6672=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3de6d4,_0x39bb9e?'Revision\x20creator':'Revision\x20author')},'children':[_0x45ba97,_0x1ae404['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3a610c},'children':_0x2b6672});}}function ni(_0x3b13a5,_0x8dea93){const _0x3d3365=_0x3b13a5['bindTemplate'],_0x2c26e9=_0x3b13a5['locale'],_0x434b6c=_0x15005b(_0x2c26e9);_0x434b6c['panelPosition']='sw';const _0x5a3eb3=function(_0x2b3ce1,_0x426b58){const _0x2c74d7=function(_0x4503c3,_0x374a8b){const _0x26f3b3=_0x4503c3['locale'],_0x47f3d5={'Compare\x20against\x20selected':y(_0x26f3b3,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x26f3b3,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x26f3b3,'Restore\x20this\x20revision')};return _0x374a8b['map'](_0x4ff56d=>{const _0x3de055=_0x47f3d5[_0x4ff56d['name']];return _0x3de055&&_0x3de055!==_0x4ff56d['name']&&(_0x4ff56d['name']=_0x3de055),_0x4ff56d;});}(_0x2b3ce1,_0x426b58),_0x2ff7de=new _0x210b3a();for(const _0x36dc4d of _0x2c74d7){const _0x1140ac={'type':'button','model':new to({'label':_0x36dc4d['name'],'class':_0x36dc4d['class'],'withText':!0x0,'role':'menuitem','_action':_0x36dc4d['action']})};_0x1140ac['model']['bind']('isEnabled')['to'](_0x2b3ce1,'isActionsDropdownOpen',_0x354c1f=>'function'!=typeof _0x36dc4d['isEnabled']||(!_0x354c1f||_0x36dc4d['isEnabled'](_0x2b3ce1))),_0x2ff7de['add'](_0x1140ac);}return _0x2ff7de;}(_0x3b13a5,_0x8dea93);return _0x3b13a5['bind']('isActionsDropdownOpen')['to'](_0x434b6c,'isOpen'),_0x434b6c['buttonView']['set']({'label':y(_0x2c26e9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4df937['threeVerticalDots']}),_0x434b6c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3d3365['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3d3365['to'](_0x792e2=>_0x792e2['stopPropagation']())}}),_0x434b6c['on']('execute',_0x478fa7=>{_0x3b13a5['isReady']&&'function'==typeof _0x478fa7['source']['_action']&&_0x478fa7['source']['_action'](_0x3b13a5);}),_0x497b9d(_0x434b6c,_0x5a3eb3,{'role':'menu'}),_0x434b6c['listenTo'](_0x3b13a5,'change:isActionsDropdownOpen',(_0x45a34c,_0x39df1a,_0x2ed78f)=>{if(_0x2ed78f)for(const _0x208fe3 of _0x434b6c['listView']['items']){const _0x1eabd0=_0x208fe3['children']['first'],_0x4fdd13=_0x8dea93['find'](_0x2fbf31=>_0x2fbf31['action']===_0x1eabd0['_action'])['isVisible'];_0x208fe3['isVisible']=void 0x0===_0x4fdd13||_0x4fdd13(_0x3b13a5);}}),_0x434b6c;}class ai extends _0x346f20(_0x796ce0){['render'](){super['render']();const _0x542054=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x542054,'change',()=>{this['_requireRevisionName']&&!_0x542054['value']||this['fire']('setName',{'id':this['id'],'name':_0x542054['value']}),_0x542054['value']||(_0x542054['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x10461c,_0x3c7c49,_0x4f33a2,_0x327080){super(_0x10461c);const _0x12c9ba=this['bindTemplate'],_0x231aa3=function(_0x296f51,_0x3856ae){const _0x5566fb=Array['from'](_0x3856ae['authors'])['filter'](_0x49b068=>_0x49b068!=_0x3856ae['creator']);return _0x3856ae['creator']&&_0x5566fb['unshift'](_0x3856ae['creator']),_0x5566fb['map'](_0x3fde77=>new ti(_0x296f51,_0x3fde77,_0x3fde77==_0x3856ae['creator']));}(_0x10461c,_0x3c7c49);this['id']=_0x3c7c49['id'],this['_revision']=_0x3c7c49,this['_requireRevisionName']=_0x327080,this['bind']('name','createdAt')['to'](_0x3c7c49),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xce652a=>{return _0x1c559a=_0x10461c['uiLanguage'],(_0x5c95ec=_0xce652a)['toLocaleDateString'](_0x1c559a,{'month':'long','day':'numeric'})+',\x20'+_0x5c95ec['toLocaleTimeString'](_0x1c559a,{'hour':'numeric','minute':'numeric'});var _0x1c559a,_0x5c95ec;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x10461c,_0x169543),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2e0f61=>_0x2e0f61||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x460583,_0x2de66a)=>_0x460583&&_0x2de66a),this['revisionActionsView']=_0x4f33a2&&_0x4f33a2['length']?ni(this,_0x4f33a2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x12c9ba['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x12c9ba['if']('isEnabled','ck-disabled',_0xe44aff=>!_0xe44aff),_0x12c9ba['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x12c9ba['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x12c9ba['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':_0x12c9ba['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':_0x231aa3}]},this['revisionActionsView']],'on':{'click':_0x12c9ba['to'](_0x7484a8=>{_0x7484a8['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x4f6c11,_0x1c6aff){const _0x3ce537=_0x5915f2['fromJSDate'](_0x4f6c11)['setLocale'](_0x1c6aff),_0x3f7275=_0x5915f2['local'](),_0x3c4444=_0x3f7275['minus']({'days':0x1})['startOf']('day');let _0x2285d8,_0x5583b1;return _0x3ce537['hasSame'](_0x3f7275,'day')?(_0x2285d8=_0x3ce537['startOf']('day')['toJSDate'](),_0x5583b1=_0x3ce537['toRelativeCalendar']()):_0x3ce537['hasSame'](_0x3c4444,'day')?(_0x2285d8=_0x3c4444['toJSDate'](),_0x5583b1=_0x3ce537['toRelativeCalendar']()):_0x3ce537['hasSame'](_0x3f7275,'week')?(_0x2285d8=_0x3ce537['startOf']('week')['toJSDate'](),_0x5583b1=_0x3ce537['weekdayLong']||''):_0x3ce537['hasSame'](_0x3f7275,'year')?(_0x2285d8=_0x3ce537['startOf']('month')['toJSDate'](),_0x5583b1=_0x3ce537['monthLong']||''):(_0x2285d8=_0x3ce537['startOf']('year')['toJSDate'](),_0x5583b1=String(_0x3ce537['year'])),{'startDate':_0x2285d8,'localizedPeriodName':_0x5583b1};}class mi extends _0x796ce0{['addRevision'](_0x427546){const _0x9bb0b9=new ai(this['locale'],_0x427546,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x9bb0b9);}['removeRevision'](_0x450e84){const _0x4b7d35=this['revisionViews']['find'](_0xd60694=>_0xd60694['id']===_0x450e84['id']);this['revisionViews']['remove'](_0x4b7d35);}constructor(_0x478e23,_0x3e1377,_0x2b466f,_0x357c64){super(_0x478e23);const _0x5056c5=di(_0x3e1377,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3e1377,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2b466f,this['_requireRevisionName']=_0x357c64,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':_0x5056c5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x796ce0{constructor(_0x188788){super(_0x188788);const _0x3f6e39=new _0x12b085();_0x3f6e39['content']=_0x4df937['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3f6e39,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x188788,'Revision\x20history')]}]});}}class ci extends _0x796ce0{['render'](){super['render']();for(const _0x1f3ce6 of this['_revisions'])this['_addRevision'](_0x1f3ce6);this['_revisions']['on']('add',(_0x9e55ba,_0x50d6d6)=>{this['_addRevision'](_0x50d6d6);}),this['_revisions']['on']('remove',(_0xd98a66,_0x14fbde)=>{this['_removeRevision'](_0x14fbde);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4abf3d=>_0x4abf3d['revisionViews']['map'](_0x3b2d7a=>_0x3b2d7a))['flat']();}['selectRevision'](_0x382007){for(const _0x2140e1 of this['revisionViews'])_0x382007&&_0x382007['id']===_0x2140e1['id']?_0x2140e1['select']():_0x2140e1['deselect']();}['highlightRevisions'](_0x1e3852){for(const _0x3f50b1 of this['revisionViews'])_0x1e3852['some'](({id:_0xafb2aa})=>_0xafb2aa===_0x3f50b1['id'])?_0x3f50b1['highlight']():_0x3f50b1['unhighlight']();}['_addRevision'](_0x326125){const _0x140be3=di(_0x326125['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xc7884f=this['timePeriodViews']['get'](0x0);_0xc7884f&&_0xc7884f['startDate']['getTime']()===_0x140be3['getTime']()||(_0xc7884f=new mi(this['locale'],_0x140be3,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xc7884f)),_0xc7884f['addRevision'](_0x326125);}['_removeRevision'](_0x5843a1){const _0x178c0b=di(_0x5843a1['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x178c0b)['removeRevision'](_0x5843a1);}['_getTimePeriodViewByStartDate'](_0x48f853){return this['timePeriodViews']['find'](_0x4c6a49=>_0x4c6a49['startDate']['getTime']()===_0x48f853['getTime']());}constructor(_0x511013,_0x3e06d9,_0x356419,_0x1e71e8){super(_0x511013);const _0x48581a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3e06d9,this['_revisionActions']=_0x356419,this['_requireRevisionName']=_0x1e71e8,this['on']('select',(_0x524092,_0x5a87f3)=>{this['fire']('revisionSelected',_0x5a87f3);}),this['on']('setName',(_0x8e337e,_0x17ae22)=>{this['fire']('revisionSetName',_0x17ae22);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x511013),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x48581a['if']('isEnabled','ck-disabled',_0x22a82e=>!_0x22a82e)]},'children':this['timePeriodViews']}]});}}class w extends _0x17c1cc{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x45a013=this['_revisionsRepository']['_revisions'],_0x27f02e=this['_createRevisionActions'](),_0x57b383=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x45a013,_0x27f02e,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',(_0x198e87,_0x44e1c6)=>{_0x44e1c6['revisionViews']['on']('add',(_0x562ad4,_0x511615)=>{_0x511615['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)),_0x57b383['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4bcffb=this['_revisionsRepository']['getRevision'](0x0);if(_0x4bcffb){const _0x4f360c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4bcffb['id']);this['_revisionViewer']['compare'](_0x4bcffb,_0x4f360c);}}['_handleRevisionSelected'](_0x235803,_0x3f4176){const _0xbb3023=this['_revisionsRepository']['getRevision'](_0x3f4176['id']),_0x32e4bb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xbb3023['id']);this['_revisionViewer']['compare'](_0xbb3023,_0x32e4bb);}['_handleRevisionSetName'](_0x36d193,_0x31742f){this['_revisionsRepository']['getRevision'](_0x31742f['id'])['setName'](_0x31742f['name']);}['_handleDiffChange'](_0x1715af,_0x131545,_0x5bf561){const _0xdcbd2a=this['_revisionsRepository']['getRevisionsInDiff'](_0x5bf561);_0xdcbd2a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xdcbd2a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xdcbd2a[0x0]));}['_createRevisionActions'](){const _0x41d312=this['editor'],_0x1b115b=w['availableRevisionActions'],_0x311814=_0x41d312['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x311814['length'])return _0x311814['map'](_0x3c610f=>{const _0x27ff3e='string'==typeof _0x3c610f?Object['assign']({},_0x1b115b[_0x3c610f]):_0x3c610f;return _0x27ff3e['action']=_0x27ff3e['action']['bind'](this,_0x41d312),_0x27ff3e['isVisible']&&(_0x27ff3e['isVisible']=_0x27ff3e['isVisible']['bind'](this,_0x41d312)),_0x27ff3e;});}constructor(_0xc90dab){super(_0xc90dab),this['_revisionViewer']=_0xc90dab['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2e780b},_0x14e44b)=>{const _0x4b918f=_0x2e780b['get'](d),_0x575b32=_0x4b918f['repository'];let _0x49eef9=_0x4b918f['diff']['newRevisionId'],_0x5a9fa7=_0x14e44b['id'];_0x575b32['getIndex'](_0x49eef9)>_0x575b32['getIndex'](_0x5a9fa7)&&([_0x49eef9,_0x5a9fa7]=[_0x5a9fa7,_0x49eef9]),_0x4b918f['compare'](_0x49eef9,_0x5a9fa7);},'isVisible':({plugins:_0x71fcb},_0x2f5cf7)=>{const _0x2355a8=_0x71fcb['get'](d);return!(_0x2355a8['repository']['getRevisionsInDiff'](_0x2355a8['diff'])['length']>0x2)&&!_0x2f5cf7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5b1891,{id:_0x5bf599})=>{_0x5b1891['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5bf599);},'isVisible':({plugins:_0x525427},_0x446db0)=>!!_0x525427['get'](d)['repository']['getLaterVisibleRevision'](_0x446db0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2494d1},{id:_0x26600a,revisionNameView:_0x2fb97b})=>{const _0xca464b=_0x2494d1['get'](d),_0x135448=_0xca464b['repository']['getEarlierVisibleRevision'](_0x26600a);_0xca464b['compare'](_0x26600a,_0x135448),_0x2fb97b['focus'](),_0x2fb97b['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x527b3f){const _0x4f9dc7=this['editor'],_0x34193d=this['view'],_0x2d83f5=_0x4f9dc7['editing']['view'],_0x1d9960=_0x34193d['editable'],_0x2ec64e=_0x2d83f5['document']['getRoot']();_0x1d9960['name']=_0x2ec64e['rootName'],_0x34193d['render']();const _0x400d63=_0x1d9960['element'];this['setEditableElement'](_0x1d9960['name'],_0x400d63),_0x34193d['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2d83f5['attachDomRoot'](_0x400d63),this['_elementReplacer']['replace'](_0x527b3f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x68108e=this['view'],_0x192469=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x192469['detachDomRoot'](_0x68108e['editable']['name']),_0x68108e['destroy']();}['_initToolbar'](){const _0x3dcc34=this['view'];_0x3dcc34['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3dcc34['stickyPanel']['limiterElement']=_0x3dcc34['element'],_0x3dcc34['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5a935c})=>_0x5a935c),_0x3dcc34['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3dcc34['toolbar']);}constructor(_0x5270c8,_0x3a3a03){super(_0x5270c8),this['_view']=_0x3a3a03,this['_toolbarConfig']=ct(_0x5270c8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x4abead,_0x344df1,_0x18564b={}){super(_0x4abead),this['stickyPanel']=new lt(_0x4abead),this['toolbar']=new pt(_0x4abead,{'shouldGroupWhenFull':_0x18564b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4abead,_0x344df1);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3735ff,_0x31aa13){const _0x30f496=new this(_0x3735ff,_0x31aa13);return await _0x30f496['initPlugins'](),await _0x30f496['ui']['init'](_0x3735ff),await _0x30f496['data']['init'](_0x30f496['config']['get']('initialData')||''),_0x30f496['fire']('ready'),_0x30f496;}constructor(_0x3a9312,_0x1ec380){super(_0x1ec380),this['sourceElement']=_0x3a9312,this['model']['document']['createRoot']();const _0xac0b7e=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0xac0b7e);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x17f407){super(_0x17f407),this['result']='end';}}class H extends _0x17c1cc{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x12251e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x12251e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x370e30){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x370e30);}['getRevision'](_0x21a0c7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x21a0c7);}['getRevisions'](_0x3c6617={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3c6617);}['_getRevisionViewerEditorConfig'](){const _0x4ad0bc=this['editor'],_0x1530ef=_0x35e67f(_0x4ad0bc,g),_0x55eae7=_0x4ad0bc['plugins']['get']('RevisionTracker'),_0x4c4148=_0x4ad0bc['plugins']['get']('Users')['users'];return _0x1530ef['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1530ef['lazyRoots'],(_0x1530ef['plugins']['push'](k,d,R,class extends _0x17c1cc{static get['requires'](){return[d,'Users'];}['init'](){const _0x15a7de=this['editor']['plugins']['get']('Users');for(const _0x25d57c of _0x4c4148)_0x25d57c['isAnonymous']||_0x15a7de['getUser'](_0x25d57c['id'])||_0x15a7de['addUser'](_0x25d57c);const _0x5b32a8=_0x55eae7['repository']['getRevisions']();let _0x4e8460=null;const _0x1d3c1e=this['editor']['plugins']['get']('RevisionViewer');_0x1d3c1e['adapter']=_0x55eae7['adapter'],_0x1d3c1e['bind']('isEnabled')['to'](_0x55eae7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4ad0bc,'isReadOnly',_0x37d4a2=>!_0x37d4a2);for(const _0x17db3f of _0x5b32a8){const _0x228bc8=null===_0x17db3f['creator'];if(_0x228bc8&&_0x17db3f['toVersion']===_0x17db3f['fromVersion'])continue;const _0x5f0c02=_0x17db3f['toJSON']();_0x1d3c1e['addRevisionData'](_0x5f0c02,(_0x3b9de3,_0x3c75fb,_0x283fd1)=>{if(_0x228bc8){if(_0x4e8460)_0x4e8460['_update'](_0x3b9de3,_0x3c75fb);else{if(!_0x3c75fb){const _0x5bb234=_0x283fd1['toJSON']();_0x5bb234['id']=_0x55ddc3(),_0x55eae7['saveRevision'](_0x5bb234,_0x283fd1['toVersion'])['then'](_0x1fed62=>{_0x4e8460=_0x1fed62;});}}}else _0x17db3f['_update'](_0x3b9de3,_0x3c75fb);});}}},w),_0x1530ef);}['_enhanceShowRevisionViewerCallback'](){const _0x5393d7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2073a8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x395a2c=this['editor']['plugins']['get']('Autosave');await _0x395a2c['save']();}else await _0x2073a8['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x481d45=this['_getRevisionViewerEditorConfig']();return _0x5393d7(_0x481d45)['then'](_0x2c04b8=>{return(this['_viewerEditor']=_0x2c04b8,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2c04b8;})['catch'](_0x3f7624=>(console['error'](_0x3f7624),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x13c8e5=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'](),_0x13c8e5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x6dad2e=this['editor']['plugins']['get']('Annotations');_0x6dad2e['refreshVisibility'](),_0x6dad2e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5223a1){const _0x2831de=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x402c51=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xa2c6a5=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xa2c6a5,_0x5223a1)['then'](_0x5d3d3e=>(_0x402c51['style']['display']='block',_0x2831de['style']['display']='none',_0x5d3d3e));}['_closeRevisionViewer'](_0xa533){const _0xe6bcb3=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xe6bcb3['style']['display']='',_0xa533['destroy']();}async['_restoreRevision'](_0x121b80){const _0x38139a=this['editor'],_0x2e2707=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x339eac=_0x38139a['plugins']['get']('RevisionTracker'),_0x3d0a9f=_0x2e2707['repository']['getRevision'](_0x121b80);let _0x1377eb,_0x4eb043,_0xa9b38d;try{_0x1377eb=await _0x2e2707['getRevisionData'](_0x3d0a9f),_0x4eb043=await _0x2e2707['getRevisionRootsAttributes'](_0x3d0a9f);}catch(_0x39a97d){return void console['error'](_0x39a97d);}_0x38139a['model']['change'](_0x2b3ece=>{for(const _0xa1080e of Array['from'](_0x38139a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2b3ece['removeMarker'](_0xa1080e);}),_0x2e2707['isReady']=!0x1,_0x38139a['model']['enqueueChange'](_0x194f67=>{_0x194f67['setSelection'](null),_0x194f67['removeSelectionAttribute'](_0x38139a['model']['document']['selection']['getAttributeKeys']());const _0x3e1c74=Object['keys'](_0x1377eb);for(const _0x56f724 of _0x38139a['model']['document']['roots'])'$graveyard'!=_0x56f724['rootName']&&_0x56f724['isAttached']()&&!_0x3e1c74['includes'](_0x56f724['rootName'])&&_0x194f67['detachRoot'](_0x56f724);for(const _0x3e6afa of _0x3e1c74){let _0xdb62ac=_0x38139a['model']['document']['getRoot'](_0x3e6afa);_0xdb62ac&&_0xdb62ac['isAttached']()||(_0xdb62ac=_0x194f67['addRoot'](_0x3e6afa));const _0x1e0f7c=_0x4eb043[_0x3e6afa],_0x49c232=Object['keys'](_0x1e0f7c),_0x465a11=_0x1377eb[_0x3e6afa];for(const _0x52bcd7 of _0xdb62ac['getAttributeKeys']())_0x49c232['includes'](_0x52bcd7)||_0x194f67['removeAttribute'](_0x52bcd7,_0xdb62ac);for(const _0x2ff9e0 of _0x49c232)_0x194f67['setAttribute'](_0x2ff9e0,_0x4eb043[_0x3e6afa][_0x2ff9e0],_0xdb62ac);_0x194f67['remove'](_0x194f67['createRangeIn'](_0xdb62ac)),_0x194f67['insert'](_0x38139a['data']['parse'](_0x465a11,_0xdb62ac),_0xdb62ac,0x0);}});const _0x95f105=y(_0x38139a['locale'],'Restored');if(_0x3d0a9f['name'])_0xa9b38d=-0x1==_0x3d0a9f['name']['indexOf'](_0x95f105)?_0x95f105+':\x20'+_0x3d0a9f['name']:_0x3d0a9f['name'];else _0xa9b38d=_0x95f105+':\x20'+(_0x3d0a9f['createdAt']['toLocaleDateString'](_0x38139a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3d0a9f['createdAt']['toLocaleTimeString'](_0x38139a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x339eac['saveRevision']({'name':_0xa9b38d}),_0x2e2707['isReady']=!0x0,_0x38139a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0xab30de){if(super(_0xab30de),!this['editor']['config']['get']('revisionHistory'))throw new _0x11cae8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1ff90c=>this['_showRevisionViewer']({..._0x1ff90c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x438290=>this['_closeRevisionViewer'](_0x438290)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4bd47e=>this['_restoreRevision'](_0x4bd47e)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|
|
23
|
+
import{Plugin as _0xca00f2,Context as _0x2f95e3,PendingActions as _0x50900a,icons as _0x5c9f2c,Command as _0x3079a2,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x44f3fa,uid as _0x134ce5,Collection as _0x130bc6,logWarning as _0x423cdd,FocusTracker as _0x5c2421,KeystrokeHandler as _0x47f178,scrollViewportToShowTarget as _0x2a7251,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x207c90}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x77a75b,getMarkerDomElement as _0x5b63f3,ConfirmMixin as _0x183fde,sanitizeEditorConfig as _0x2267d8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x19f341,ViewText as _0xdb480c,ViewElement as _0x57b4a4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2c4e43,ViewAttributeElement as _0x900e04,ViewEmptyElement as _0x1c9f20,ViewRawElement as _0x1730ed,ViewUIElement as _0x294270,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x26e1eb,set as _0xf5fa4,unset as _0x2dc309,isEqual as _0xa9ebf}from'lodash-es';import{View as _0x2a77a8,injectCssTransitionDisabler as ts,submitHandler as _0x153667,LabeledFieldView as at,createLabeledInputText as _0x4a30cf,createDropdown as _0x9af7b6,ListView as te,ListItemView as _0x46f502,ButtonView as _0x92c549,MenuBarMenuView as _0x36297c,MenuBarMenuListView as _0x193678,MenuBarMenuListItemView as _0x46b46e,MenuBarMenuListItemButtonView as _0x9f5190,ContextualBalloon as _0x2485af,ToolbarSeparatorView as _0x375c0c,IconView as _0x3e79cc,addListToDropdown as _0x4b332b,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 _0xebccfa}from'luxon';class a extends _0x44f3fa(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x569132){super(),this['id']=_0x569132['id']||_0x134ce5(),this['creator']=_0x569132['creator']||null,this['authors']=_0x569132['authors']||[],this['diffData']=_0x569132['diffData']||null,this['toVersion']=_0x569132['toVersion']||0x0,this['fromVersion']=_0x569132['fromVersion']||0x0,this['set']('name',_0x569132['name']||''),this['set']('createdAt',_0x569132['createdAt']||new Date()),this['set']('attributes',_0x569132['attributes']||{});}['setName'](_0x1cc5eb){this['_update']({'name':_0x1cc5eb});}['setAttribute'](_0x5482de,_0x5569f3){const _0x3dba52=_0x26e1eb(this['attributes']);_0xf5fa4(_0x3dba52,_0x5482de,_0x5569f3),this['_update']({'attributes':_0x3dba52});}['removeAttribute'](_0x1b8ce9){const _0x1dd60c=_0x26e1eb(this['attributes']);_0x2dc309(_0x1dd60c,_0x1b8ce9),this['_update']({'attributes':_0x1dd60c});}['_update'](_0x4e19df,_0x622b8b=!0x1){let _0x76fdde=!0x1;const _0x476095={'id':this['id']},_0x44d1d0=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x16a5c4 of _0x44d1d0){const _0x5095c0=_0x4e19df[_0x16a5c4];void 0x0!==_0x5095c0&&_0x5095c0!==this[_0x16a5c4]&&(this[_0x16a5c4]=_0x5095c0,_0x476095[_0x16a5c4]=_0x5095c0,_0x76fdde=!0x0);}_0x76fdde&&(_0x476095['authors']&&(_0x476095['authorsIds']=_0x476095['authors']['map'](_0x14b0f5=>_0x14b0f5['id']),delete _0x476095['authors']),this['fire']('_update',_0x476095,_0x622b8b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1a3932=>_0x1a3932['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xca00f2{['_revisions'];static get['requires'](){return[_0x77a75b];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4ec10f){super(_0x4ec10f),this['_revisions']=new _0x130bc6();}['afterInit'](){!function(_0x88ad13){function _0xad84(_0x3cf11d,_0x2e66a3,_0x1f4cd2){const _0x43601b={};_0x43601b[_0x5bf40c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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],_0x43601b[_0x5bf40c([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 _0x16354a=new Uint8Array(0x10);for(let _0x23dd26=0xf;_0x23dd26>=0x0;--_0x23dd26)_0x16354a[_0x23dd26]=_0x1f4cd2%0x100,_0x1f4cd2=parseInt(_0x1f4cd2/0x100);let _0x2aac78=null,_0x3f4542=0x10;const _0x12ef59=new Uint8Array(_0x2e66a3),_0x25123c=[],_0x36978f=[];_0x1c5ace();for(let _0x7ec293=0x0;_0x7ec293<_0x3cf11d[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ec293++)0x10===_0x3f4542&&(_0x2aac78=_0x49784b(_0x16354a),_0x3f4542=0x0,_0x255d7c(_0x16354a)),_0x3cf11d[_0x7ec293]^=_0x2aac78[_0x3f4542++];return _0x3cf11d;function _0x472b1a(_0x2a6693){const _0x272acb=[];for(let _0x353741=0x0;_0x353741<_0x2a6693[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x353741+=0x4)_0x272acb[_0x5bf40c([0x70,0x75,0x73,0x68])](_0x2a6693[_0x353741]<<0x18|_0x2a6693[_0x353741+0x1]<<0x10|_0x2a6693[_0x353741+0x2]<<0x8|_0x2a6693[_0x353741+0x3]);return _0x272acb;}function _0x255d7c(_0x4a12da){for(let _0xcad8e0=0xf;_0xcad8e0>=0x0;_0xcad8e0--){if(0xff!==_0x4a12da[_0xcad8e0]){_0x4a12da[_0xcad8e0]++;break;}_0x4a12da[_0xcad8e0]=0x0;}}function _0x49784b(_0x320e86){const _0x1ff7dd=_0x25123c[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x10a24a=[0x0,0x0,0x0,0x0];let t=_0x472b1a(_0x320e86);for(let _0x38eb85=0x0;_0x38eb85<0x4;_0x38eb85++)t[_0x38eb85]^=_0x25123c[0x0][_0x38eb85];for(let _0x544a96=0x1;_0x544a96<_0x1ff7dd;_0x544a96++){for(let _0x447e3b=0x0;_0x447e3b<0x4;_0x447e3b++)_0x10a24a[_0x447e3b]=_0x43601b[_0x5bf40c([0x54,0x31])][t[_0x447e3b]>>0x18&0xff]^_0x43601b[_0x5bf40c([0x54,0x32])][t[(_0x447e3b+0x1)%0x4]>>0x10&0xff]^_0x43601b[_0x5bf40c([0x54,0x33])][t[(_0x447e3b+0x2)%0x4]>>0x8&0xff]^_0x43601b[_0x5bf40c([0x54,0x34])][0xff&t[(_0x447e3b+0x3)%0x4]]^_0x25123c[_0x544a96][_0x447e3b];t=_0x10a24a[_0x5bf40c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x19c401=new Uint8Array(0x10);let _0x3e9730;for(let _0x7d497a=0x0;_0x7d497a<0x4;_0x7d497a++)_0x3e9730=_0x25123c[_0x1ff7dd][_0x7d497a],_0x19c401[0x4*_0x7d497a]=0xff&(_0x43601b[_0x5bf40c([0x53])][t[_0x7d497a]>>0x18&0xff]^_0x3e9730>>0x18),_0x19c401[0x4*_0x7d497a+0x1]=0xff&(_0x43601b[_0x5bf40c([0x53])][t[(_0x7d497a+0x1)%0x4]>>0x10&0xff]^_0x3e9730>>0x10),_0x19c401[0x4*_0x7d497a+0x2]=0xff&(_0x43601b[_0x5bf40c([0x53])][t[(_0x7d497a+0x2)%0x4]>>0x8&0xff]^_0x3e9730>>0x8),_0x19c401[0x4*_0x7d497a+0x3]=0xff&(_0x43601b[_0x5bf40c([0x53])][0xff&t[(_0x7d497a+0x3)%0x4]]^_0x3e9730);return _0x19c401;}function _0x1c5ace(){const _0x4ed1b4=_0x43601b[_0x5bf40c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x12ef59[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x140104=0x0;_0x140104<=_0x4ed1b4;_0x140104++)_0x25123c[_0x5bf40c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x36978f[_0x5bf40c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2ecc83=0x4*(_0x4ed1b4+0x1),_0x37248e=_0x12ef59[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0xe244b1=_0x472b1a(_0x12ef59);let _0x5e7a0c;for(let _0x1002ca=0x0;_0x1002ca<_0x37248e;_0x1002ca++)_0x5e7a0c=_0x1002ca>>0x2,_0x25123c[_0x5e7a0c][_0x1002ca%0x4]=_0xe244b1[_0x1002ca],_0x36978f[_0x4ed1b4-_0x5e7a0c][_0x1002ca%0x4]=_0xe244b1[_0x1002ca];let _0x4b2bee,_0x51dfd0=0x0,t=_0x37248e;for(;t<_0x2ecc83;){_0x4b2bee=_0xe244b1[_0x37248e-0x1],_0xe244b1[0x0]^=_0x43601b[_0x5bf40c([0x53])][_0x4b2bee>>0x10&0xff]<<0x18^_0x43601b[_0x5bf40c([0x53])][_0x4b2bee>>0x8&0xff]<<0x10^_0x43601b[_0x5bf40c([0x53])][0xff&_0x4b2bee]<<0x8^_0x43601b[_0x5bf40c([0x53])][_0x4b2bee>>0x18&0xff]^_0x43601b[_0x5bf40c([0x72,0x63,0x6f,0x6e])][_0x51dfd0]<<0x18,_0x51dfd0+=0x1;for(let _0x25bb83=0x1;_0x25bb83<_0x37248e/0x2;_0x25bb83++)_0xe244b1[_0x25bb83]^=_0xe244b1[_0x25bb83-0x1];_0x4b2bee=_0xe244b1[_0x37248e/0x2-0x1],_0xe244b1[_0x37248e/0x2]^=_0x43601b[_0x5bf40c([0x53])][0xff&_0x4b2bee]^_0x43601b[_0x5bf40c([0x53])][_0x4b2bee>>0x8&0xff]<<0x8^_0x43601b[_0x5bf40c([0x53])][_0x4b2bee>>0x10&0xff]<<0x10^_0x43601b[_0x5bf40c([0x53])][_0x4b2bee>>0x18&0xff]<<0x18;for(let _0x3b5c0d=_0x37248e/0x2+0x1;_0x3b5c0d<_0x37248e;_0x3b5c0d++)_0xe244b1[_0x3b5c0d]^=_0xe244b1[_0x3b5c0d-0x1];let _0x2517cf,_0x2537d5,_0x138e6c=0x0;for(;_0x138e6c<_0x37248e&&t<_0x2ecc83;)_0x2517cf=t>>0x2,_0x2537d5=t%0x4,_0x25123c[_0x2517cf][_0x2537d5]=_0xe244b1[_0x138e6c],_0x36978f[_0x4ed1b4-_0x2517cf][_0x2537d5]=_0xe244b1[_0x138e6c++],t++;}for(let _0x1e15b5=0x1;_0x1e15b5<_0x4ed1b4;_0x1e15b5++)for(let _0x5df850=0x0;_0x5df850<0x4;_0x5df850++)_0x4b2bee=_0x36978f[_0x1e15b5][_0x5df850],_0x36978f[_0x1e15b5][_0x5df850]=_0x43601b[_0x5bf40c([0x55,0x31])][_0x4b2bee>>0x18&0xff]^_0x43601b[_0x5bf40c([0x55,0x32])][_0x4b2bee>>0x10&0xff]^_0x43601b[_0x5bf40c([0x55,0x33])][_0x4b2bee>>0x8&0xff]^_0x43601b[_0x5bf40c([0x55,0x34])][0xff&_0x4b2bee];}}function _0x5bf40c(_0x2803da){return _0x2803da['map'](_0x11c221=>String['fromCharCode'](_0x11c221))['join']('');}(_0x37e697=>{function _0x33c7df(){const _0x3d3ed7=[{[_0x5bf40c([0x69,0x64])]:0x1,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5bf40c([0x69,0x64])]:0x2,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([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]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5bf40c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5bf40c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5bf40c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5bf40c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5bf40c([0x69,0x64])]:0x3,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5bf40c([0x69,0x64])]:0x4,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([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]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5bf40c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5bf40c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5bf40c([0x69,0x64])]:0x5,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([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]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}},{[_0x5bf40c([0x69,0x64])]:0x6,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}},{[_0x5bf40c([0x69,0x64])]:0x7,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}},{[_0x5bf40c([0x69,0x64])]:0x8,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([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]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}},{[_0x5bf40c([0x69,0x64])]:0x9,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5bf40c([0x69,0x64])]:0xa,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([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]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([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]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([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]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}},{[_0x5bf40c([0x69,0x64])]:0xb,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5bf40c([0x69,0x64])]:0xc,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5bf40c([0x69,0x64])]:0xd,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}},{[_0x5bf40c([0x69,0x64])]:0xe,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5bf40c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([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])},{[_0x5bf40c([0x69,0x64])]:0xf,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5bf40c([0x69,0x64])]:0x10,[_0x5bf40c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5bf40c([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5bf40c([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5bf40c([0x66,0x67,0x69])]:[0xc]}}];return _0x560bfb(_0x3d3ed7),_0x3d3ed7;function _0x4e0183(_0x4c2fd0){return 0x1<<_0x4c2fd0-0x1;}function _0x560bfb(_0x1e1fc7){_0x1e1fc7[_0x5bf40c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d4624=>{_0x4d4624[_0x5bf40c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4e0183(_0x4d4624[_0x5bf40c([0x69,0x64])]),_0x26c531(_0x4d4624)&&_0x4d4624[_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x560bfb(_0x4d4624[_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x26c531(_0x23c639){return _0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x23c639;}const _0x1451db=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2376f9=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3c1618(_0x4a3663){const _0x489940=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x45525f(_0x4a3663,new Uint8Array([..._0x1451db,..._0x489940,..._0x2376f9]));}function _0x45525f(_0x267ba,_0x2e761c){const _0xdaea1b=_0x23d21c(_0x267ba),_0x1b5f36=Array[_0x5bf40c([0x66,0x72,0x6f,0x6d])](_0x122c99(_0xdaea1b)),_0x2ddd23=_0x1b5f36[_0x5bf40c([0x70,0x6f,0x70])](),_0x56181b=_0x1b5f36[_0x5bf40c([0x70,0x6f,0x70])]();return _0x5746a8(_0xad84(_0x1b5f36,_0x2e761c,_0x56181b+0x100*_0x2ddd23));}function _0x23d21c(_0x2c809a){const _0x3c5828=atob(_0x2c809a),[_0x442143,_0x502ebf]=_0x3c5828[_0x5bf40c([0x73,0x70,0x6c,0x69,0x74])](_0x5bf40c([0x2d]));try{if(atob(_0x502ebf))return atob(_0x442143);}catch(_0x273bf6){}return _0x3c5828;}function _0x4fbe5b(_0x5568ae){try{const _0xcd0812=_0x3c1618(_0x5568ae),_0x149226=JSON[_0x5bf40c([0x70,0x61,0x72,0x73,0x65])](_0xcd0812),_0x434304=parseInt(_0x149226[_0x5bf40c([0x31])]),_0x6a0dfa=_0x149226[_0x5bf40c([0x32])]||'',_0x2ef626=parseInt(_0x149226[_0x5bf40c([0x33])]),_0x4448c1=parseInt(_0x149226[_0x5bf40c([0x34])])||0x0,_0x58a2e3=parseInt(_0x149226[_0x5bf40c([0x35])])||0x0;return{[_0x5bf40c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x6a0dfa,[_0x5bf40c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4448c1,[_0x5bf40c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x434304,[_0x5bf40c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2ef626,[_0x5bf40c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x58a2e3};}catch(_0x1fc2a3){return null;}}const _0x115927=_0x33c7df(),_0x29cdd6={[_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x14ec65,[_0x5bf40c([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])]:_0x59ed99,[_0x5bf40c([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])]:_0x2bc9f4},_0xc6efa8=_0x37e697[_0x5bf40c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1d9375=_0x5bf40c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x37e697?_0x37e697['context']:_0x37e697['editor'],_0x259f2b=_0x5bf40c([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x30]),_0x21f89c=_0x5bf40c([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]),_0x3848fe=_0x1d9375['config']['get'](_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x36bbb9=_0x115927[_0x5bf40c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26c531)[_0x5bf40c([0x66,0x69,0x6e,0x64])](_0x126bc6=>_0x126bc6[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xc6efa8);function _0x10db89(_0x33ebd9,_0x153f02){_0x29cdd6[_0x153f02[_0x5bf40c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x33ebd9,_0x153f02),_0x153f02[_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x153f02[_0x5bf40c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5bf40c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2be4=>_0x1f7ad9(_0x1d9375,_0x3f2be4[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5bf40c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48662a=>_0x10db89(_0x33ebd9,_0x48662a));}function _0x14ec65(_0x533cdc,_0x229d31){_0x50b659(_0x84f3a9(_0x533cdc,_0x229d31),_0x229d31);}function _0x59ed99(_0x31ca3f,_0x46bd15){function _0x1f6a00(_0x99c6d8,_0x3b2134){try{if(_0x1f7ad9(_0x1d9375,_0x5bf40c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x99c6d8){const _0x14a223=_0x147d99(_0x1d9375,_0x5bf40c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5bf40c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x14a223)/0x2>_0x99c6d8[_0x5bf40c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2a6c5a(_0x3b2134[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x84f3a9(_0x99c6d8,_0x3b2134);}catch(_0x48512d){return _0x2a6c5a(_0x3b2134[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x50b659(_0x1f6a00(_0x31ca3f,_0x46bd15),_0x46bd15);}function _0x2bc9f4(_0x4726b3,_0x34470e){const _0x276d0b=_0x2376f9[0x0]*_0x1451db[0x1],_0x2d6142=_0x2376f9[0x0]*_0x1451db[0x2],_0x44684b=_0x2376f9[0x2]*_0x1451db[0x2];_0x1f7ad9(_0x1d9375,_0x5bf40c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x147d99(_0x1d9375,_0x5bf40c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5bf40c([0x73,0x74,0x61,0x74,0x65])]==_0x5bf40c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4f3fd9()]=_0x44684b);function _0x28a813(_0xcfc7f9,_0x4dc934){try{return _0x4a29cc()?_0x2a6c5a(_0x4dc934[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x56,0x61,0x6c,0x69,0x64])):_0x84f3a9(_0xcfc7f9,_0x4dc934);}catch(_0x2c1f3d){return _0x2a6c5a(_0x4dc934[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x36456e(_0x4d3137,_0x1c3a96){const _0x2e6aca=0x7;if(_0x4d3137==_0x1c3a96[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1f2466();else{if(_0x4d3137==_0x1c3a96[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c])){const _0x208294=_0x57874();_0x208294&&_0x528ce0(_0x208294,_0x1c3a96[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2d73fa=_0x42883b();window[_0x5bf40c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x528ce0(_0x5bf40c([0x74,0x69,0x6d,0x65]),_0x1c3a96[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2d73fa);const _0x2a09ac=_0x147d99(_0x1d9375,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5bf40c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2a09ac[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2e6aca?_0x528ce0(_0x5bf40c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1c3a96[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2a09ac['on'](_0x5bf40c([0x61,0x64,0x64]),()=>{_0x2a09ac[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2e6aca&&_0x528ce0(_0x5bf40c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1c3a96[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x57874(){if(!_0x1f7ad9(_0x1d9375,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5d3604 in window)if(Number['isNaN'](Number(_0x5d3604))){if(window[_0x5d3604]===_0x276d0b)return _0x5bf40c([0x74,0x69,0x6d,0x65]);if(window[_0x5d3604]===_0x2d6142)return _0x5bf40c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4a29cc(){if(!_0x1f7ad9(_0x1d9375,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x542659 in window)if(Number['isNaN'](Number(_0x542659))&&window[_0x542659]===_0x44684b)return!0x0;return!0x1;}function _0x528ce0(_0x3bbe1c,_0x2639fe){_0x1f2466(),_0x2a6c5a(_0x2639fe+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3bbe1c),window[_0x4f3fd9()]=_0x3bbe1c===_0x5bf40c([0x74,0x69,0x6d,0x65])?_0x276d0b:_0x2d6142;}function _0x42883b(){let _0x490e0b=_0x2376f9[0x6]*_0x1451db[0x8]*_0x1451db[0x6];return _0x1f7ad9(_0x1d9375,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x490e0b/=0xa),_0x490e0b;}function _0x1f2466(){const _0x72e906=_0x1d9375;function _0x376541(){_0x1f7ad9(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5bf40c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5bf40c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5bf40c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5bf40c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x11244a,_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5bf40c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x11244a,_0x72e906[_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf40c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11244a,_0x72e906[_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf40c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11244a,_0x72e906[_0x5bf40c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1f7ad9(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5bf40c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5bf40c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5bf40c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5bf40c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x11244a,_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5bf40c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x11244a);}_0x72e906[_0x5bf40c([0x73,0x74,0x61,0x74,0x65])]==_0x5bf40c([0x72,0x65,0x61,0x64,0x79])?_0x376541():_0x72e906[_0x5bf40c([0x6f,0x6e,0x63,0x65])](_0x5bf40c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1f7ad9(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x376541(),_0x1f7ad9(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x44dc69=_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5cec12=_0x44dc69['getRevision'](0x0),_0x2eb666=_0x44dc69['getEarlierVisibleRevision'](_0x5cec12[_0x5bf40c([0x69,0x64])]);_0x147d99(_0x72e906,_0x5bf40c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5bf40c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5cec12[_0x5bf40c([0x69,0x64])],_0x2eb666?_0x2eb666[_0x5bf40c([0x69,0x64])]:null,0x1)['then'](()=>_0x376541());}});}_0x36456e(_0x28a813(_0x4726b3,_0x34470e),_0x34470e);}function _0x84f3a9(_0x5088e3,_0x53d92b){try{return _0x1dbe64(_0x53d92b)?_0x2a6c5a(_0x53d92b[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x56,0x61,0x6c,0x69,0x64])):_0x5088e3&&_0x3bfe1d(_0x5088e3[_0x5bf40c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x53d92b)?_0x5088e3[_0x5bf40c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5bf40c([0x6f,0x70,0x65,0x6e])][_0x5bf40c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x259f2b)/0x2>_0x5088e3[_0x5bf40c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2a6c5a(_0x53d92b[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5088e3[_0x5bf40c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2a6c5a(_0x53d92b[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c])):_0x2a6c5a(_0x53d92b[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x56,0x61,0x6c,0x69,0x64])):_0x2a6c5a(_0x53d92b[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x44856c){return _0x2a6c5a(_0x53d92b[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x50b659(_0x2cb47f,_0x531106){if(_0x1d9375 instanceof _0x2f95e3){const _0x28e8d7=_0x1d9375;_0x2cb47f==_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x526f4c(_0x28e8d7):_0x2cb47f==_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5bf40c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x526f4c(_0x28e8d7),_0x2a6c5a(_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2376f9[0x6]*_0x1451db[0x8]*_0x1451db[0x6]),_0x28e8d7[_0x5bf40c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5bf40c([0x6f,0x6e])](_0x5bf40c([0x61,0x64,0x64]),(_0x190be4,_0x1eb2e2)=>{_0x2cb47f!=_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2cb47f!=_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2cb47f!=_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4015f9(_0x1eb2e2);});}else{const _0x183fc2=_0x1d9375;_0x2cb47f==_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4015f9(_0x183fc2):_0x2cb47f==_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c])&&_0x183fc2[_0x5bf40c([0x6f,0x6e])](_0x5bf40c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4f3978=0x0;_0x183fc2[_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf40c([0x6f,0x6e])](_0x5bf40c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cc48c,_0x5a65e1)=>{_0x5a65e1[0x0][_0x5bf40c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f3978++,0x1f8===_0x4f3978&&(_0x4015f9(_0x183fc2),_0x2a6c5a(_0x531106[_0x5bf40c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5bf40c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5cc48c[_0x5bf40c([0x6f,0x66,0x66])]());},{'priority':_0x5bf40c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2a6c5a(_0x1ea414){const _0x25d60f=_0x4f3fd9();return _0x1d9375[_0x25d60f]=_0x1ea414,_0x1ea414;}function _0x4f3fd9(){const _0x244214=String(window[_0x5bf40c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5bf40c([0x6e,0x6f,0x77])]())[_0x5bf40c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5bf40c([0x2e]),'');let _0x2eb0fc='';for(let _0xedab5=0x0;_0xedab5<_0x244214[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xedab5+=0x2){let _0x3f5af3=parseInt(_0x244214[_0x5bf40c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xedab5,_0xedab5+0x2));_0x3f5af3>=_0x21f89c[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f5af3-=_0x21f89c[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2eb0fc+=_0x21f89c[_0x3f5af3];}return _0x2eb0fc;}function _0x526f4c(_0x23723f){for(const _0x596113 of _0x23723f[_0x5bf40c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4015f9(_0x596113);_0x147d99(_0x23723f,_0x5bf40c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5bf40c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x147d99(_0x23723f,_0x5bf40c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5bf40c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x11244a;}function _0x4015f9(_0xdec59e){function _0x415d06(){_0xdec59e[_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf40c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11244a,_0xdec59e[_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf40c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11244a,_0xdec59e[_0x5bf40c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5bf40c([0x6d,0x6f,0x64,0x65,0x6c]));}_0xdec59e[_0x5bf40c([0x73,0x74,0x61,0x74,0x65])]==_0x5bf40c([0x72,0x65,0x61,0x64,0x79])?_0x415d06():_0xdec59e[_0x5bf40c([0x6f,0x6e,0x63,0x65])](_0x5bf40c([0x72,0x65,0x61,0x64,0x79]),()=>_0x415d06());}function _0x11244a(){return null;}function _0x3bfe1d(_0x2cf58d,_0x3d205c){const _0x22f931=!!(_0x2cf58d&_0x3d205c[_0x5bf40c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x38d7da=_0x18a141(_0x2cf58d,_0x3d205c);return _0x22f931||_0x38d7da;}function _0x18a141(_0x1e839e,_0x528c4d){const _0x329c61=(_0x528c4d[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5bf40c([0x66,0x67,0x69])]||null;return!!_0x329c61&&_0x115927[_0x5bf40c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x155da4=>_0x329c61[_0x5bf40c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x155da4[_0x5bf40c([0x69,0x64])]))[_0x5bf40c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b3c19=>!_0x4f4f34(_0x3b3c19))[_0x5bf40c([0x73,0x6f,0x6d,0x65])](_0x9b5c76=>!!(_0x1e839e&_0x9b5c76[_0x5bf40c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4f4f34(_0xc512d1){const _0x18c8b5={[_0x5bf40c([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])]:_0x215337};return!!_0xc512d1['forbiddenHandler']&&_0x18c8b5[_0xc512d1['forbiddenHandler']]();}function _0x215337(){return!window[_0x5bf40c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1f7ad9(_0x1d9375,_0x5bf40c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1dbe64(_0x4d8a97){if(!_0x1f7ad9(_0x1d9375,_0x4d8a97[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x5311d3=_0x4d8a97[_0x5bf40c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x2a82f3=_0x5311d3[_0x5bf40c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x257c8a=_0x5311d3[_0x5bf40c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x124056=_0x5311d3[_0x5bf40c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1f7ad9(_0x1d9375,_0x5bf40c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x147d99(_0x1d9375,_0x5bf40c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5bf40c([0x73,0x74,0x61,0x74,0x65])]==_0x5bf40c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x2a82f3)return!0x0;if(_0x1f7ad9(_0x1d9375,_0x5bf40c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x147d99(_0x1d9375,_0x5bf40c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5bf40c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5bf40c([0x65,0x6e,0x64])&&_0x257c8a)return!0x0;return!(!_0x1f7ad9(_0x1d9375,_0x5bf40c([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]))||_0x147d99(_0x1d9375,_0x5bf40c([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]))[_0x5bf40c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5bf40c([0x65,0x6e,0x64])||!_0x124056);}function _0x1f7ad9(_0x2e850d,_0x51f849){return _0x2e850d[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5bf40c([0x68,0x61,0x73])](_0x51f849);}function _0x147d99(_0x4edb2e,_0xf47d28){return _0x4edb2e[_0x5bf40c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5bf40c([0x67,0x65,0x74])](_0xf47d28);}function _0x5746a8(_0x3cf64d){let _0x195a67='';for(const _0x2d686c of _0x3cf64d)_0x195a67+=String[_0x5bf40c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2d686c);return _0x195a67;}function _0x122c99(_0x4a710b){const _0x17c295=new Uint8Array(_0x4a710b[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5e5ded=0x0;_0x5e5ded<_0x4a710b[_0x5bf40c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e5ded++)_0x17c295[_0x5e5ded]=_0x4a710b[_0x5bf40c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e5ded);return _0x17c295;}_0x36bbb9&&_0x10db89(_0x4fbe5b(_0x3848fe),_0x36bbb9);})(_0x88ad13);}(this);}['createRevision'](_0x3320b3){const _0x151589=this['editor']['plugins']['get']('Users');return new a({'id':_0x3320b3['id'],'name':_0x3320b3['name'],'creator':_0x3320b3['creatorId']?_0x151589['getUser'](_0x3320b3['creatorId']):null,'diffData':_0x3320b3['diffData']||_0x3320b3['data'],'authors':_0x3320b3['authorsIds']['map'](_0x2a4e78=>_0x151589['getUser'](_0x2a4e78)),'createdAt':new Date(_0x3320b3['createdAt']),'attributes':_0x3320b3['attributes'],'fromVersion':_0x3320b3['fromVersion'],'toVersion':_0x3320b3['toVersion']});}['addRevision'](_0x297ab8,_0xaa1de0=0x0){this['_revisions']['add'](_0x297ab8,_0xaa1de0);}['getRevision'](_0x3bdff7){return this['_revisions']['get'](_0x3bdff7);}['getRevisions'](_0x1cd7dc={'toJSON':!0x1}){const _0x18b494=Array['from'](this['_revisions']);return _0x18b494['reverse'](),_0x1cd7dc['toJSON']?_0x18b494['map'](_0x173f55=>_0x173f55['toJSON']()):_0x18b494;}['getIndex'](_0x2142b7){return this['_revisions']['getIndex'](_0x2142b7);}['getEarlierVisibleRevision'](_0x43bb99){const [,_0x563da9]=this['getRevisionsIterator'](_0x43bb99,{'direction':'earlier'});return _0x563da9;}['getLaterVisibleRevision'](_0x51f23e){const [,_0x1ef465]=this['getRevisionsIterator'](_0x51f23e,{'direction':'later'});return _0x1ef465;}['getRevisionsInDiff'](_0x4f6c6b){const _0x264226=[];for(const _0x21a41a of this['getRevisionsIterator'](_0x4f6c6b['newRevisionId']))if(_0x264226['push'](_0x21a41a),_0x21a41a['id']===_0x4f6c6b['oldRevisionId'])break;return _0x264226;}*['getRevisionsIterator'](_0x49db00,{direction:_0x50907a='earlier',filter:_0x27e07a=_0x4d8e04=>!0x0}={}){const _0x51a84a='earlier'===_0x50907a?0x1:-0x1;let _0x10afc7=this['_revisions']['get'](_0x49db00),_0xa0f28f=this['getIndex'](_0x10afc7);for(yield _0x10afc7;_0x10afc7;){if(_0xa0f28f+=_0x51a84a,_0x10afc7=this['getRevision'](_0xa0f28f),!_0x10afc7)return;_0x27e07a(_0x10afc7)&&(yield _0x10afc7);}}}function y(_0x1b0518,_0x425765,_0x4e0cf2){const t=_0x1b0518['t'];switch(_0x425765){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'},_0x4e0cf2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4e0cf2);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':_0x2c4e43,'a':_0x900e04,'e':_0x1c9f20,'r':_0x1730ed,'u':_0x294270};class l extends _0xca00f2{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x77a75b,A,_0x50900a];}constructor(_0x222024){super(_0x222024),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 _0x70c98e=_0x134ce5();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x70c98e},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 _0x2fd931=this['repository']['getRevision'](0x0),_0x4bab28=_0x2fd931&&null===_0x2fd931['creator']?_0x2fd931:null;if(this['_continueCurrentRevision']=!!_0x4bab28&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5b3421=this['_source']['getCurrentRevisionId'](),_0x1548f5=this['repository']['getRevision'](_0x5b3421);if(_0x1548f5)this['_startingVersion']=_0x1548f5['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3f5942=this['_source']['history']['_operations']['find'](_0x381dad=>!_0x381dad['_isInit']),_0x15bb81=_0x3f5942?_0x3f5942['baseVersion']:this['_source']['history']['version'];_0x2fd931?(_0x2fd931['toVersion']<_0x15bb81&&_0x2fd931['_update']({'toVersion':_0x15bb81}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4bab28['id'],this['_startingVersion']=_0x4bab28['fromVersion']):(this['_startingVersion']=_0x2fd931['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x15bb81,this['_continueCurrentRevision']=!0x1);}}else _0x4bab28&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4bab28['toVersion'],this['editor']['model']['document']['history']['version']),_0x4bab28['fromVersion']===_0x4bab28['toVersion']?(0x0!==_0x4bab28['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4bab28['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4bab28['id'],this['_startingVersion']=_0x4bab28['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',_0xcc157=>!_0xcc157);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4d3762=this['repository']['getRevision'](0x0),_0x5d7485=await this['getRevisionDocumentData'](_0x4d3762),_0x38747c=await this['getRevisionRootsAttributes'](_0x4d3762);this['_replaceEditorDataWithRevisionData'](_0x5d7485,_0x38747c);}}['setSource'](_0x129181){this['_source']=_0x129181;}async['update'](){const _0x2af849=await this['_source']['getLatestVersion']();if(_0x2af849>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5206ac=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x2af849});_0x5206ac['authors']=_0x5206ac['authorsIds']['map'](_0xc6a192=>this['editor']['plugins']['get']('Users')['getUser'](_0xc6a192)),this['currentRevision']['_update'](_0x5206ac);}}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'](_0x208991={},_0x379c52=null){const _0x38533c=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x379c52>this['currentRevision']['toVersion']&&(_0x379c52=null),null===_0x379c52&&(_0x379c52=await this['_source']['getLatestVersion']());const _0x415ee2=this['_getFromVersion'](_0x379c52),_0x2d6b48=this['buildRevisionData']({'from':_0x415ee2,'to':_0x379c52});if(this['currentRevision']['toVersion']<_0x379c52){const _0x32f344=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x379c52,'to':_0x379c52});_0x32f344['authors']=[],_0x32f344['authorsIds']=[],_0x32f344['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x32f344,!0x0),delete _0x32f344['authors'],_0x38533c['push'](_0x32f344);}_0x208991['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x208991['name']=_0x208991['name']||null,_0x208991['id']=_0x208991['id']||_0x134ce5(),_0x208991={..._0x208991,..._0x2d6b48};const _0x2e34b4=this['addRevisionData'](_0x208991);_0x38533c['push'](_0x208991);const _0x1e3e5b=this['repository']['getIndex'](_0x2e34b4);if(0x0!==_0x1e3e5b){const _0x3b529f=this['repository']['getRevision'](_0x1e3e5b-0x1);if(_0x3b529f['fromVersion']!==_0x379c52){const _0x4e602b=this['_revisionDataBuilder']['getData'](_0x379c52,_0x3b529f['toVersion']),_0x2487d7={'id':_0x3b529f['id'],'diffData':_0x4e602b['diffData'],'authorsIds':_0x4e602b['authorsIds'],'authors':_0x4e602b['authorsIds']['map'](_0x3babce=>this['editor']['plugins']['get']('Users')['getUser'](_0x3babce)),'fromVersion':_0x379c52};_0x3b529f===this['currentRevision']&&(_0x2487d7['createdAt']=new Date(_0x208991['createdAt']['getTime']()+0xa)),_0x3b529f['_update'](_0x2487d7,!0x0),delete _0x2487d7['authors'],_0x38533c['push'](_0x2487d7);}}if(this['adapter']){for(const _0x570edc of _0x38533c)this['_bufferUpdate'](_0x570edc['id'],_0x570edc,!0x0);this['sendBufferedUpdates']();}return _0x2e34b4;}['addRevisionData'](_0x1007ba){const _0x4b0fed=this['repository']['createRevision'](_0x1007ba);return this['adapter']&&_0x4b0fed['on']('_update',(_0x3c1a95,_0x53b3cd,_0x19caf1)=>{_0x19caf1||(this['_bufferUpdate'](_0x53b3cd['id'],_0x53b3cd,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4b0fed,this['_findInsertionIndex'](_0x4b0fed)),_0x4b0fed;}async['getRevisionDocumentData'](_0x27efdd){await this['_loadRevisionData'](_0x27efdd);const _0x43c941={};for(const _0x120b53 in _0x27efdd['diffData']){if(_0x27efdd['diffData'][_0x120b53]['attachChange']&&!_0x27efdd['diffData'][_0x120b53]['attachChange']['isAttached'])continue;const _0x555e6f=this['_removeRevisionMarkers'](JSON['parse'](_0x27efdd['diffData'][_0x120b53]['insertions'])),_0x188f47=this['editor']['editing']['view']['document'],_0x4cb543=new _0x19f341(_0x188f47,_0x555e6f['map'](_0x4c3dcc=>B(_0x4c3dcc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x43c941[_0x120b53]=this['editor']['data']['processor']['toData'](_0x4cb543),this['editor']['data']['processor']['useFillerType']('default');}return _0x43c941;}async['getRevisionRootsAttributes'](_0x13f4a6){await this['_loadRevisionData'](_0x13f4a6);const _0x9a4afb={};for(const _0x5e7784 in _0x13f4a6['diffData'])_0x13f4a6['diffData'][_0x5e7784]['attachChange']&&!_0x13f4a6['diffData'][_0x5e7784]['attachChange']['isAttached']||(_0x9a4afb[_0x5e7784]=_0x13f4a6['diffData'][_0x5e7784]['attributesAfter']||{});return _0x9a4afb;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x70bff1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x291ba9=0x0;_0x291ba9<_0x70bff1['length'];_0x291ba9++){const _0xd9fb16=_0x70bff1[_0x291ba9];let _0x2ad25d=!0x1;for(const _0x311a33 of Object['keys'](_0xd9fb16))void 0x0===_0xd9fb16[_0x311a33]?delete _0xd9fb16[_0x311a33]:'id'!==_0x311a33&&(_0x2ad25d=!0x0);_0x2ad25d||(_0x70bff1[_0x291ba9]=null);}if(_0x70bff1=_0x70bff1['filter'](_0x5a45ad=>null!==_0x5a45ad),!_0x70bff1['length'])return;for(let _0x3e5f9c=0x0;_0x3e5f9c<_0x70bff1['length'];_0x3e5f9c++){const _0x28d6e5=_0x70bff1[_0x3e5f9c];void 0x0!==_0x28d6e5['fromVersion']&&void 0x0===_0x28d6e5['toVersion']&&(_0x28d6e5['toVersion']=this['repository']['getRevision'](_0x28d6e5['id'])['toVersion']),void 0x0!==_0x28d6e5['toVersion']&&void 0x0===_0x28d6e5['fromVersion']&&(_0x28d6e5['fromVersion']=this['repository']['getRevision'](_0x28d6e5['id'])['fromVersion']);}const _0x11d778=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x70bff1,_0x11d778)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5299c8=>{if(_0x5299c8){for(const _0x26da37 of _0x5299c8)this['setRevisionData']({'id':_0x26da37['id'],'createdAt':_0x26da37['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x830a89,_0x4925a9){let _0xf308b8=this['editor']['config']['get']('initialData'),_0x2f0732=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xf308b8){_0xf308b8={};for(const _0x2cd873 of this['editor']['model']['document']['getRootNames']())_0xf308b8[_0x2cd873]='';}if('string'==typeof _0xf308b8&&(_0xf308b8={'main':_0xf308b8}),void 0x0===_0x2f0732){_0x2f0732={};for(const _0x2666bb of this['editor']['model']['document']['getRootNames']())_0x2f0732[_0x2666bb]={};}let _0x231dad=!0x1;const _0x27f375=Object['keys'](_0xf308b8),_0x35d437=Object['keys'](_0x830a89);for(const _0x3ebc02 of _0x27f375){if(_0xf308b8[_0x3ebc02]!==_0x830a89[_0x3ebc02]&&''!==_0xf308b8[_0x3ebc02]['trim']()){_0x231dad=!0x0;break;}if(!_0xa9ebf(_0x2f0732[_0x3ebc02],_0x4925a9[_0x3ebc02])&&Object['keys'](_0x2f0732[_0x3ebc02])['length']>0x0){_0x231dad=!0x0;break;}}_0x231dad||(_0x231dad=_0x35d437['some'](_0x129bdb=>!this['editor']['model']['document']['getRoot'](_0x129bdb))),_0x231dad&&_0x423cdd('editor-initial-data-replaced-with-revision-data',{'editorData':_0xf308b8,'editorRootsAttributes':_0x2f0732,'revisionData':_0x830a89,'revisionRootsAttributes':_0x4925a9}),this['editor']['config']['set']('initialData',_0x830a89),this['editor']['config']['set']('rootsAttributes',_0x4925a9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3ce3b5=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3ce3b5['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4b13a4){const _0x70b6e6=this['repository']['getRevisions']();_0x70b6e6['reverse']();let _0x5a798f=0x0;for(;_0x5a798f<_0x70b6e6['length'];){const _0x55df3d=_0x70b6e6[_0x5a798f];if(_0x55df3d===this['currentRevision']){_0x5a798f++;continue;}if(_0x55df3d['id']===this['_initialRevisionId'])break;const _0x191baa=_0x4b13a4['toVersion']-_0x55df3d['toVersion']||_0x4b13a4['fromVersion']-_0x55df3d['fromVersion'];if(_0x191baa>0x0)break;if(_0x191baa<0x0)_0x5a798f++;else{if(!_0x4b13a4['creator']&&_0x55df3d['creator'])break;if(_0x55df3d['creator']||!_0x4b13a4['creator']){if(_0x4b13a4['createdAt']>_0x55df3d['createdAt'])break;_0x5a798f++;}else _0x5a798f++;}}return _0x5a798f;}['setRevisionData'](_0x1abaf8){const _0x4b2e6b=this['repository']['getRevision'](_0x1abaf8['id']);if(_0x1abaf8['createdAt']&&(_0x1abaf8['createdAt']=new Date(_0x1abaf8['createdAt'])),_0x1abaf8['authorsIds']){const _0x2bcb2e=this['editor']['plugins']['get']('Users');_0x1abaf8['authors']=_0x1abaf8['authorsIds']['map'](_0x232fc8=>_0x2bcb2e['getUser'](_0x232fc8));}_0x4b2e6b['_update'](_0x1abaf8,!0x0);}['buildRevisionData']({revision:_0x9e1338=null,from:_0xe34b16=null,to:_0x32b8e7=null}){_0xe34b16=null!==_0xe34b16?_0xe34b16:_0x9e1338['fromVersion'],_0x32b8e7=null!==_0x32b8e7?_0x32b8e7:_0x9e1338['toVersion'];const _0x4cd417=this['_revisionDataBuilder']['getData'](_0xe34b16,_0x32b8e7),_0x2aebf7={'diffData':_0x4cd417['diffData'],'authorsIds':_0x4cd417['authorsIds'],'fromVersion':_0xe34b16,'toVersion':_0x32b8e7};if(!_0x9e1338||_0x32b8e7!==_0x9e1338['toVersion']){const _0x34d266=_0x32b8e7-0x1,_0x2c7071=this['_source']['history']['getOperation'](_0x34d266);_0x2aebf7['createdAt']=_0x2c7071&&_0x2c7071['createdAt']||new Date();}if(this['_loadedStateData']&&_0xe34b16===this['_loadedStateData']['fromVersion']){for(const _0x3f4942 of this['_loadedStateData']['authors'])_0x2aebf7['authorsIds']['includes'](_0x3f4942['id'])||_0x2aebf7['authorsIds']['push'](_0x3f4942['id']);}return _0x2aebf7;}['_loadRevisionData'](_0x5747df){if(!_0x5747df||_0x5747df['diffData'])return Promise['resolve']();{const _0x20e1d3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x20e1d3,'revisionId':_0x5747df['id']})['then'](_0x3d2a3c=>{_0x5747df['diffData']=_0x3d2a3c['diffData'];});}}['_bufferUpdate'](_0x45a98a,_0x4c074c,_0x2d4d07){if(this['_bufferedUpdates']['has'](_0x45a98a)){const _0xb89c6f=this['_bufferedUpdates']['get'](_0x45a98a);_0x4c074c=_0x2d4d07?{..._0xb89c6f,..._0x4c074c}:{..._0x4c074c,..._0xb89c6f};}this['_bufferedUpdates']['set'](_0x45a98a,_0x4c074c);}['_getFromVersion'](_0x55b70c){const _0x2227f2=this['repository']['getRevisions']();_0x2227f2['reverse'](),_0x2227f2['shift']();const _0x58d48a=_0x2227f2['find'](_0x40cf25=>_0x40cf25['toVersion']<=_0x55b70c)['toVersion'];return _0x58d48a<this['_startingVersion']?this['_startingVersion']:_0x58d48a;}['_createInitialRevision'](_0x14bfdc){const _0x1ac344=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1ac344)this['_initialRevisionId']=_0x1ac344['id'];else{const _0x27440a=!this['editor']['model']['document']['roots']['find'](_0x1413ff=>this['editor']['model']['hasContent'](_0x1413ff)),_0x385781=this['editor']['plugins']['get']('Users')['me']['id'],_0x59c507=y(this['editor']['locale'],_0x27440a?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x14bfdc,'to':_0x14bfdc,'id':this['_initialRevisionId'],'name':_0x59c507,'creatorId':_0x385781});}}['_createCurrentRevision'](_0x27ab24){const _0x240182=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x240182),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x27ab24,'to':_0x27ab24,'id':_0x240182,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2b8e14,from:_0x2faad2,to:_0x5ce640,creatorId:_0x5b2d90,id:_0x19f259}){const _0x54c932=this['buildRevisionData']({'from':_0x2faad2,'to':_0x5ce640});_0x54c932['name']=_0x2b8e14,_0x54c932['creatorId']=_0x5b2d90,_0x54c932['id']=_0x19f259;const _0x51f8e6=this['addRevisionData'](_0x54c932);return this['adapter']&&this['_bufferUpdate'](_0x54c932['id'],_0x54c932,!0x0),_0x51f8e6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4d4958){return(_0x4d4958=_0x4d4958['filter'](_0x735697=>!_0x735697['name']||'revision-start'!==_0x735697['name']&&'revision-end'!==_0x735697['name']))['forEach'](_0x4e2065=>{'string'!=typeof _0x4e2065&&(_0x4e2065['children']=this['_removeRevisionMarkers'](_0x4e2065['children']),_0x4e2065['attributes']=_0x4e2065['attributes']['filter'](_0x1b290b=>!_0x1b290b[0x0]['startsWith']('data-revision-')));}),_0x4d4958;}}function B(_0xc06dfa,_0x5be62f){const _0x4d946c=_0x5be62f['editing']['view']['document'];if('string'==typeof _0xc06dfa)return new _0xdb480c(_0x4d946c,_0xc06dfa);{const _0x551da9=_0xc06dfa['children']['map'](_0xd021fb=>B(_0xd021fb,_0x5be62f));return new(T[_0xc06dfa['type']]||_0x57b4a4)(_0x4d946c,_0xc06dfa['name'],_0xc06dfa['attributes'],_0x551da9);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x269991){this['editor']=_0x269991,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'](_0x4a67a1){this['source']=_0x4a67a1;const _0x2d380e=new Map(),_0x48b061=new Map(),_0xc4f0e1=this['editor']['model']['document']['roots']['map'](_0xfa25ef=>_0xfa25ef['rootName']);for(const _0x55e742 of _0xc4f0e1){const _0xcbe7fd=this['editor']['model']['document']['getRoot'](_0x55e742),_0x25f5c2=q(_0xcbe7fd);_0x2d380e['set'](_0x55e742,_0x25f5c2),_0x48b061['set'](_0x55e742,Object['fromEntries'](_0xcbe7fd['getAttributes']()));}const _0x59bb56=Array['from'](this['editor']['model']['markers'])['map'](_0x11d894=>[_0x11d894['name'],_0x11d894['getRange']()]),_0x5151f8=this['source']['version'];this['_saveMetaData'](_0x5151f8,_0x2d380e,_0x59bb56,_0x48b061),this['_startingRevisionId']=this['_revisionId'];const _0x817647=new Map(),_0x3ddca3=new Map();for(const _0x5bae4c of _0xc4f0e1){const _0x4deac0=G(_0x5bae4c);_0x817647['set'](_0x5bae4c,_0x4deac0),_0x3ddca3['set'](_0x5bae4c,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x817647,[],_0x3ddca3);}['getData'](_0x1d32a3,_0x368e32){if(this['_lastFrom']===_0x1d32a3&&this['_lastTo']<=_0x368e32)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x368e32,!0x0);else{if(!this['_savedMetaData']['has'](_0x1d32a3)){const _0x327076=this['_getPreviousFrom'](_0x1d32a3);this['_calculateMetaData'](_0x327076,_0x1d32a3,!0x1);}this['_calculateMetaData'](_0x1d32a3,_0x368e32,!0x0);}return this['_lastFrom']=_0x1d32a3,this['_lastTo']=_0x368e32,this['_getState']();}['loadState'](_0x372e8a){this['_reset'](),this['_lastFrom']=_0x372e8a['fromVersion'],this['_lastTo']=_0x372e8a['toVersion'];for(const _0x1f8c3d in _0x372e8a['diffData']){const _0x15cb99=_0x372e8a['diffData'][_0x1f8c3d]['attachChange'],_0x3f6683=_0x26e1eb(_0x372e8a['diffData'][_0x1f8c3d]['attributesBefore'])||{},_0x42fe84=this['_makeModelFromViewString'](_0x372e8a['diffData'][_0x1f8c3d]['deletions']);_0x42fe84['rootName']=_0x1f8c3d,_0x42fe84['_isAttached']=!_0x15cb99||!_0x15cb99['isAttached'],_0x42fe84['isAttached']=()=>_0x42fe84['_isAttached'],this['_baseRoots']['set'](_0x1f8c3d,_0x42fe84),this['_baseRootsAttributes']['set'](_0x1f8c3d,_0x3f6683),_0x15cb99&&this['_touchedRoots']['set'](_0x1f8c3d,_0x15cb99);const _0x1ed3aa=this['_makeIdsRoot'](_0x42fe84);this['_baseIdsRoots']['set'](_0x1f8c3d,_0x1ed3aa);for(const [_0x18aaaa,_0x4b8bf5]of _0x42fe84['markers']){if(!_0x18aaaa['startsWith']('revision:'))continue;const _0x2eb1ca=_0x18aaaa['split'](':')[0x2];for(const _0x50f22c of _0x4b8bf5['getWalker']({'singleCharacters':!0x0})){const _0x464ddf=this['_getVidAttributeName'](_0x50f22c),_0x191dbd='elementEnd'==_0x50f22c['type']?_0x50f22c['previousPosition']['path']['slice'](0x0,-0x1):_0x50f22c['previousPosition']['path'],_0x4a752d=_0x1ed3aa['getNodeByPath'](_0x191dbd)['getAttribute'](_0x464ddf);this['_touched']['set'](_0x4a752d,{'userId':_0x2eb1ca});}}}this['_startingRevisionId']=this['_revisionId'];const _0x181c9c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33ac6e=>!this['_touched']['has'](_0x33ac6e));let _0x33bce8=0x0;const _0x21fa4b=new Map();for(const _0x13c660 in _0x372e8a['diffData']){const _0x4b0b37=_0x372e8a['diffData'][_0x13c660]['attachChange'],_0x47dd74=_0x26e1eb(_0x372e8a['diffData'][_0x13c660]['attributesAfter'])||{},_0x3cb245=this['_makeModelFromViewString'](_0x372e8a['diffData'][_0x13c660]['insertions']);_0x3cb245['rootName']=_0x13c660,_0x3cb245['_isAttached']=!_0x4b0b37||_0x4b0b37['isAttached'],_0x3cb245['isAttached']=()=>_0x3cb245['_isAttached'],this['_diffRoots']['set'](_0x13c660,_0x3cb245),this['_diffRootsAttributes']['set'](_0x13c660,_0x47dd74);const _0x34953f=this['_makeIdsRoot'](_0x3cb245,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x13c660,_0x34953f),_0x21fa4b['set'](_0x13c660,_0x3cb245['isAttached']()?_0x47dd74:{});for(const [_0x40bae4,_0x3f29be]of _0x3cb245['markers']){if(!_0x40bae4['startsWith']('revision:'))continue;const _0x4cba64=_0x40bae4['split'](':')[0x2];for(const _0x428153 of _0x3f29be['getWalker']({'singleCharacters':!0x0})){const _0x330c2f=this['_getVidAttributeName'](_0x428153),_0x497a22=this['_revisionId']++,_0x428c3a='elementEnd'==_0x428153['type']?_0x428153['previousPosition']['path']['slice'](0x0,-0x1):_0x428153['previousPosition']['path'];_0x34953f['getNodeByPath'](_0x428c3a)['_setAttribute'](_0x330c2f,_0x497a22),this['_touched']['set'](_0x497a22,{'userId':_0x4cba64});}}for(const _0xaed8fe of this['editor']['model']['createRangeIn'](_0x3cb245)['getWalker']({'singleCharacters':!0x0})){const _0x12d51f=this['_getVidAttributeName'](_0xaed8fe),_0x57d80d='elementEnd'==_0xaed8fe['type']?_0xaed8fe['previousPosition']['path']['slice'](0x0,-0x1):_0xaed8fe['previousPosition']['path'],_0x1a9d0b=_0x34953f['getNodeByPath'](_0x57d80d);_0x1a9d0b['getAttribute'](_0x12d51f)>0x0||_0x1a9d0b['_setAttribute'](_0x12d51f,_0x181c9c[_0x33bce8++]);}for(const [_0x146a31,_0x5668d9]of _0x3cb245['markers'])_0x146a31['startsWith']('revision:')||this['_markers']['set'](_0x146a31,_0x5668d9);}const _0x1de173=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1de173),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1de173,0x1));const _0x51ac37=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x51ac37),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x51ac37,0x1));const _0x7a0cfd=Array['from'](this['_diffRoots'])['map'](([_0x1b8fa6,_0x5eadcf])=>[_0x1b8fa6,q(_0x5eadcf)]);this['_saveMetaData'](this['_lastTo'],_0x7a0cfd,this['_markers'],_0x21fa4b);}['_makeModelFromViewString'](_0x3bc511){const _0x26f9af=JSON['parse'](_0x3bc511),_0x5ea54f=this['editor']['editing']['view']['document'],_0x628f35=new _0x19f341(_0x5ea54f,_0x26f9af['map'](_0x11d943=>B(_0x11d943,this['editor'])));return this['editor']['data']['toModel'](_0x628f35);}['_saveMetaData'](_0x12acaf,_0x26e5d2,_0x364abc,_0x364324){const _0x483598=new Map(_0x26e5d2),_0x44ad3c=new Map(_0x26e1eb(_0x364324)),_0x14dc6a=new Map();for(const [_0x50280d,_0x301059]of _0x364abc)_0x14dc6a['set'](_0x50280d,{'start':_0x301059['start']['clone'](),'end':_0x301059['end']['clone'](),'rootName':_0x301059['root']['rootName']});this['_savedMetaData']['set'](_0x12acaf,{'roots':_0x483598,'markers':_0x14dc6a,'rootsAttributes':_0x44ad3c});}['_removeMetaData'](_0x48af63){this['_savedMetaData']['delete'](_0x48af63);}['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'](_0x270062,_0x3c13ee=null){let _0x57ffe9=null;_0x270062['is']('documentFragment')||(_0x57ffe9=new ft(_0x270062['name'],{'vid_start':null===_0x3c13ee?this['_revisionId']++:_0x3c13ee++}));const _0x288354=[];for(const _0x311400 of _0x270062['getChildren']())if(_0x311400['is']('element')){_0x288354['push'](this['_makeIdsRoot'](_0x311400,_0x3c13ee));const _0x363248=_0x288354[_0x288354['length']-0x1];null!==_0x3c13ee&&(_0x3c13ee=_0x363248['is']('element','$text')?_0x363248['getAttribute']('vid')+0x1:_0x363248['getAttribute']('vid_end')+0x1);}else{for(let _0x40d2ca=0x0;_0x40d2ca<_0x311400['offsetSize'];_0x40d2ca++)_0x288354['push'](new ft('$text',{'vid':null===_0x3c13ee?this['_revisionId']++:_0x3c13ee++}));}if(_0x270062['is']('documentFragment')){const _0x5de8f3=G(_0x270062['rootName']);return _0x5de8f3['_insertChild'](0x0,_0x288354),_0x5de8f3;}return _0x57ffe9['_setAttribute']('vid_end',null===_0x3c13ee?this['_revisionId']++:_0x3c13ee++),_0x57ffe9['_insertChild'](0x0,_0x288354),_0x57ffe9;}['_calculateMetaData'](_0x128dde,_0x36c9b7,_0x1e51bb){this['_reset']();const {roots:_0x1a315d,markers:_0x3c7d97,rootsAttributes:_0x1eb982}=this['_savedMetaData']['get'](_0x128dde);this['_baseRoots']=new Map(_0x1a315d),this['_baseRootsAttributes']=new Map(_0x26e1eb(_0x1eb982));for(const [_0x3c1067,_0x4388c0]of this['_baseRoots'])if('$graveyard'!==_0x3c1067&&(this['_diffRoots']['set'](_0x3c1067,q(_0x4388c0)),this['_diffRootsAttributes']=new Map(_0x26e1eb(_0x1eb982)),_0x1e51bb)){const _0x53662f=this['_revisionId'];this['_idsRoots']['set'](_0x3c1067,this['_makeIdsRoot'](_0x4388c0)),this['_baseIdsRoots']['set'](_0x3c1067,this['_makeIdsRoot'](_0x4388c0,_0x53662f));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x1e51bb&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x51236f,_0x56dded]of _0x3c7d97){const _0x3490cf=this['_baseRoots']['get'](_0x56dded['rootName']),_0x2468ca=this['_diffRoots']['get'](_0x56dded['rootName']),_0x275d51=new vt(this['_fixPosition'](_0x56dded['start'],_0x3490cf),this['_fixPosition'](_0x56dded['end'],_0x3490cf)),_0x1821d6=this['_fixRange'](_0x275d51,_0x2468ca);_0x3490cf['markers']['set'](_0x51236f,_0x275d51),this['_markers']['set'](_0x51236f,_0x1821d6);}this['_applyOperations'](_0x128dde,_0x36c9b7,_0x1e51bb);}['_applyOperations'](_0x447ac4,_0x491fb5,_0x5dc691){for(const _0x473622 of this['source']['getOperations'](_0x447ac4,_0x491fb5))this['_handleOperation'](_0x473622,_0x5dc691);for(const _0x41ea33 of this['_diffRoots']['values']())_0x41ea33['markers']['clear']();for(const [_0x104029,_0x383a02]of this['_markers']){this['_diffRoots']['get'](_0x383a02['root']['rootName'])['markers']['set'](_0x104029,_0x383a02['clone']());}const _0x32aa07=new Map(),_0x23c925=new Map();for(const [_0x57cc96,_0x371211]of this['_diffRoots'])_0x32aa07['set'](_0x57cc96,q(_0x371211)),_0x23c925['set'](_0x57cc96,this['_diffRootsAttributes']['get'](_0x57cc96));this['_saveMetaData'](_0x491fb5,_0x32aa07,this['_markers'],_0x23c925);}['_getPreviousFrom'](_0x3fb5f8){const _0x5a4bd7=Array['from'](this['_savedMetaData']['keys']());_0x5a4bd7['sort']((_0x2e6ade,_0x2fda5a)=>_0x2e6ade-_0x2fda5a),_0x5a4bd7['reverse']();for(const _0x17e7c4 of _0x5a4bd7)if(_0x17e7c4<_0x3fb5f8)return _0x17e7c4;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x518e08,_0x52913c){const _0x937ee8=Array['from'](_0x52913c['markers'])['map'](([_0x3c7d3d,_0x4a0560])=>[_0x3c7d3d,this['_fixRange'](_0x4a0560,_0x518e08)]);_0x518e08['markers']=new Map(_0x937ee8);}['_transformMarkers'](_0x2b0d95){for(const _0x508d95 of this['_markers']['values']()){const _0x1377a9=_0x508d95['getTransformedByOperation'](_0x2b0d95),_0x269ca2=vt['_createFromRanges'](_0x1377a9);_0x508d95['start']=_0x269ca2['start'],_0x508d95['end']=_0x269ca2['end'];}}['_handleOperation'](_0x41cbeb,_0xfe8ffd){if('addRoot'==_0x41cbeb['type']||'detachRoot'==_0x41cbeb['type'])return void this['_handleRootOperation'](_0x41cbeb,_0xfe8ffd);if('insert'==_0x41cbeb['type']){const _0xc7ab39=_0x41cbeb['position']['root']['rootName'];this['_diffRoots']['has'](_0xc7ab39)||(this['_diffRoots']['set'](_0xc7ab39,G(_0xc7ab39,!0x0)),this['_diffRootsAttributes']['set'](_0xc7ab39,{}),_0xfe8ffd&&this['_idsRoots']['set'](_0xc7ab39,G(_0xc7ab39,!0x0)));}else{if('addRootAttribute'==_0x41cbeb['type']||'removeRootAttribute'==_0x41cbeb['type']||'changeRootAttribute'==_0x41cbeb['type'])return void this['_handleRootAttributeOperation'](_0x41cbeb);}const _0xcfd0aa=this['_cloneOperation'](_0x41cbeb,this['_diffRoots']);if('marker'!==_0x41cbeb['type']&&(_0xcfd0aa['_execute'](),this['_transformMarkers'](_0xcfd0aa)),_0xfe8ffd)switch(_0xcfd0aa['type']){case'insert':this['_handleInsertOperation'](_0x41cbeb);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x41cbeb);break;case'merge':this['_handleMergeOperation'](_0x41cbeb);break;case'split':this['_handleSplitOperation'](_0x41cbeb);break;case'marker':this['_handleMarkerOperation'](_0x41cbeb);}}['_cloneOperation'](_0x76d78a,_0x1cb395){const _0x43e7f8=_0x76d78a['clone']();return _0x43e7f8['_authorId']=_0x76d78a['_authorId'],this['_fixOperation'](_0x43e7f8,_0x1cb395),_0x43e7f8;}['_getBaseVids'](_0x5dffa3){return _0x5dffa3['map'](_0x5850a2=>{const _0x13f4b5=this['_getVidAttributeName'](_0x5850a2);return Number(_0x5850a2['item']['getAttribute'](_0x13f4b5));});}['_generateTape'](_0x4d7fd7,_0x521c5e){if(_0x4d7fd7['is']('element','$text'))_0x521c5e['push']({'item':_0x4d7fd7,'type':'text'});else{_0x4d7fd7['is']('element')&&_0x521c5e['push']({'item':_0x4d7fd7,'type':'elementStart'});for(const _0x1bdf96 of _0x4d7fd7['getChildren']())this['_generateTape'](_0x1bdf96,_0x521c5e);_0x4d7fd7['is']('element')&&_0x521c5e['push']({'item':_0x4d7fd7,'type':'elementEnd'});}return _0x521c5e;}['_getState'](){const _0x8970cc=new Map(this['_touched']),_0x322a36=new Map(_0x8970cc),_0x436184=new Map(),_0x4c7137={'insertions':{},'deletions':{}},_0x5ebade={'insertions':{},'deletions':{}},_0x1a6f92=new Map(),_0x87958b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x87958b['delete']('$graveyard');for(const _0x19dcb8 of _0x87958b){const _0x5a051c=this['_diffRoots']['get'](_0x19dcb8)||G(_0x19dcb8,!0x1),_0x3c3515=this['_baseRoots']['get'](_0x19dcb8)||G(_0x19dcb8,!0x1);_0x5a051c['isAttached']()||_0x3c3515['isAttached']()?(_0x4c7137['insertions'][_0x19dcb8]=q(_0x5a051c),_0x4c7137['deletions'][_0x19dcb8]=q(_0x3c3515),this['_copyMarkers'](_0x4c7137['deletions'][_0x19dcb8],_0x3c3515),this['_copyMarkers'](_0x4c7137['insertions'][_0x19dcb8],_0x5a051c),_0x5ebade['insertions'][_0x19dcb8]=this['_generateTape'](this['_idsRoots']['get'](_0x19dcb8),[]),_0x5ebade['deletions'][_0x19dcb8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x19dcb8)||G(_0x19dcb8,!0x1),[])):_0x87958b['delete'](_0x19dcb8);}for(const _0x5b2929 of _0x87958b){const _0x2611fd=_0x5ebade['insertions'][_0x5b2929];for(const _0x136f28 of _0x2611fd){const _0x5eca17=this['_getVidAttributeName'](_0x136f28),_0x204586=_0x136f28['item']['getAttribute'](_0x5eca17);_0x322a36['delete'](_0x204586),_0x204586>=this['_startingRevisionId']&&_0x436184['set'](_0x204586,_0x8970cc['get'](_0x204586));}}for(const _0x73cf82 of _0x87958b){const _0x1542b9=_0x5ebade['insertions'][_0x73cf82],_0x592098=this['_getBaseVids'](_0x5ebade['deletions'][_0x73cf82]);let _0x2ee998=0x0;for(const _0x4bf460 of _0x1542b9){const _0x16ba8e=this['_getVidAttributeName'](_0x4bf460),_0x389f28=_0x4bf460['item']['getAttribute'](_0x16ba8e);if(!_0x436184['has'](_0x389f28)&&!_0x1a6f92['has'](_0x389f28)){if(_0x322a36['has'](_0x389f28))_0x2ee998++;else{if(_0x389f28!=_0x592098[_0x2ee998]){const _0x294351=_0x8970cc['get'](_0x389f28)||_0x8970cc['get'](_0x592098[_0x2ee998]);for(;_0x389f28!=_0x592098[_0x2ee998];)_0x322a36['has'](_0x592098[_0x2ee998])||(_0x1a6f92['set'](_0x592098[_0x2ee998],_0x294351),_0x8970cc['set'](_0x592098[_0x2ee998],_0x294351)),_0x2ee998++;}_0x2ee998++;}}}}for(const _0x5dc32e of _0x87958b){const _0x21e5e6=_0x5ebade['insertions'][_0x5dc32e];for(const _0x3a7a6f of _0x21e5e6){const _0x59d00c=this['_getVidAttributeName'](_0x3a7a6f),_0x3ebd5f=_0x3a7a6f['item']['getAttribute'](_0x59d00c);if(_0x1a6f92['has'](_0x3ebd5f)){const _0x20fc95=_0x1a6f92['get'](_0x3ebd5f);_0x322a36['has'](_0x3ebd5f)||_0x322a36['set'](_0x3ebd5f,{..._0x20fc95}),_0x436184['set'](_0x3ebd5f,{..._0x20fc95});}}}for(const _0x5e00e0 of _0x322a36['keys']())_0x5e00e0>=this['_startingRevisionId']&&_0x322a36['delete'](_0x5e00e0);const _0x1cc001=new Map();for(const _0x5e6054 of _0x87958b){let _0x58b51a=_0x5ebade['insertions'][_0x5e6054];for(const _0x3ef0ce of _0x58b51a)if(_0x3ef0ce['item']['is']('element','tableCell')){const _0x4883e9=this['_getVidAttributeName'](_0x3ef0ce),_0x2df23d=_0x3ef0ce['item']['getAttribute'](_0x4883e9);if(_0x436184['has'](_0x2df23d)){const _0x1c587d=_0x3ef0ce['item']['parent']['parent']['getAttribute']('vid_start'),_0x4075c8=_0x1cc001['get'](_0x1c587d)||new Set();_0x4075c8['add'](_0x436184['get'](_0x2df23d)['userId']),_0x1cc001['set'](_0x1c587d,_0x4075c8);}}_0x58b51a=_0x5ebade['deletions'][_0x5e6054];for(const _0x4c9bd9 of _0x58b51a)if(_0x4c9bd9['item']['is']('element','tableCell')){const _0x5a6591=this['_getVidAttributeName'](_0x4c9bd9),_0x58cec8=_0x4c9bd9['item']['getAttribute'](_0x5a6591);if(_0x322a36['has'](_0x58cec8)){const _0x31013c=_0x4c9bd9['item']['parent']['parent']['getAttribute']('vid_start'),_0x40f77e=_0x1cc001['get'](_0x31013c)||new Set();_0x40f77e['add'](_0x322a36['get'](_0x58cec8)['userId']),_0x1cc001['set'](_0x31013c,_0x40f77e);}}for(const _0x403849 of _0x1cc001['keys']())(_0x436184['has'](_0x403849)||_0x322a36['has'](_0x403849))&&_0x1cc001['delete'](_0x403849);}for(const _0x56ddcd of _0x87958b){const _0x23f52d=_0x5ebade['insertions'][_0x56ddcd];let _0x5b287f=null,_0x39543d=null;for(const _0x3c322b of _0x23f52d){const _0x33ec6c=this['_getVidAttributeName'](_0x3c322b),_0x2c5081=_0x3c322b['item']['getAttribute'](_0x33ec6c),_0x3bb8a0=_0x1cc001['get'](_0x2c5081);_0x3bb8a0&&'elementStart'==_0x3c322b['type']&&(_0x5b287f=Array['from'](_0x3bb8a0)[0x0],_0x39543d=_0x3c322b['item']['getAttribute']('vid_end')),_0x5b287f&&(_0x322a36['set'](_0x2c5081,{'userId':_0x5b287f}),_0x436184['set'](_0x2c5081,{'userId':_0x5b287f})),_0x2c5081==_0x39543d&&(_0x5b287f=null,_0x39543d=null);}}const _0x5560fb={},_0x4b11bc=new Set();for(const _0x207fa9 of _0x87958b){const _0x1d9a7d=_0x4c7137['deletions'][_0x207fa9],_0x260355=_0x4c7137['insertions'][_0x207fa9];for(const {userId:_0x35c18e}of this['_touchedMarkers']['values']())null!==_0x35c18e&&_0x4b11bc['add'](_0x35c18e);for(const {userId:_0xc78ad6}of this['_touchedRoots']['values']())null!==_0xc78ad6&&_0x4b11bc['add'](_0xc78ad6);this['_markChanges'](_0x260355,_0x5ebade['insertions'][_0x207fa9],_0x436184,'insertion',_0x4b11bc),this['_markChanges'](_0x1d9a7d,_0x5ebade['deletions'][_0x207fa9],_0x322a36,'deletion',_0x4b11bc),_0x5560fb[_0x207fa9]={'insertions':this['_prepareViewToSave'](_0x260355),'deletions':this['_prepareViewToSave'](_0x1d9a7d),'attachChange':this['_touchedRoots']['get'](_0x207fa9)||null,'attributesBefore':_0x26e1eb(this['_baseRootsAttributes']['get'](_0x207fa9))||{},'attributesAfter':_0x26e1eb(this['_diffRootsAttributes']['get'](_0x207fa9))};}return{'diffData':_0x5560fb,'authorsIds':Array['from'](_0x4b11bc)};}['_processRootBeforeSave'](_0x176b40){for(const [,_0x506ad3]of _0x176b40['markers']){const _0x1e37f3=_0x506ad3['start']['getAncestors']()['filter'](_0x5370b6=>'tableCell'==_0x5370b6['name']);for(const _0x377e52 of _0x1e37f3)0x1==_0x377e52['childCount']&&_0x377e52['getChild'](0x0)['is']('element','paragraph')&&_0x377e52['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x394ee5){this['_processRootBeforeSave'](_0x394ee5);const _0x509166=this['editor']['data']['toView'](_0x394ee5,{}),_0x2993a9=Array['from'](_0x509166['getChildren']())['map'](_0x1070ff=>this['_getViewJson'](_0x1070ff));return JSON['stringify'](_0x2993a9);}['_getViewJson'](_0x11b5d0){if(_0x11b5d0['is']('$text'))return _0x11b5d0['data'];{const _0x581877=_0x11b5d0;return{'type':Object['keys'](T)['find'](_0x2168c2=>_0x11b5d0 instanceof T[_0x2168c2]),'name':_0x581877['name'],'attributes':Array['from'](_0x581877['getAttributes']()),'children':Array['from'](_0x581877['getChildren']())['map'](_0x4866f9=>this['_getViewJson'](_0x4866f9))};}}['_markChanges'](_0x45e2ab,_0x58625a,_0x4b8d0b,_0x1901f2,_0x28e015){let _0x503401=null,_0x3af810=null,_0x338637=0x0;const _0x45c951=this['editor']['model'];for(let _0x2f0ee0=0x0;_0x2f0ee0<_0x58625a['length'];_0x2f0ee0++){const _0x5b4fd4=this['_getVidAttributeName'](_0x58625a[_0x2f0ee0]),_0x50d8c1=_0x58625a[_0x2f0ee0]['item']['getAttribute'](_0x5b4fd4),_0x4a7dbf=_0x4b8d0b['get'](_0x50d8c1),_0x15e27b=_0x2f0ee0==_0x58625a['length']-0x1;(!_0x503401&&_0x4a7dbf&&(_0x503401=_0x4a7dbf,_0x3af810=_0x58625a[_0x2f0ee0]),_0x503401&&(!_0x4a7dbf||_0x4a7dbf['userId']!=_0x503401['userId']))&&(_0x3608f7(_0x4a7dbf,L(_0x3af810,_0x45e2ab,_0x45c951),L(_0x58625a[_0x2f0ee0],_0x45e2ab,_0x45c951)),_0x503401=_0x4a7dbf||null,_0x3af810=_0x4a7dbf?_0x58625a[_0x2f0ee0]:null),_0x503401&&_0x15e27b&&_0x3608f7(_0x4a7dbf,L(_0x3af810,_0x45e2ab,_0x45c951),W(_0x58625a[_0x2f0ee0],_0x45e2ab,_0x45c951));}function _0x3608f7(_0x213f0f,_0x49eff5,_0x3cfa1f){const _0xfc0f75=_0x503401['userId'],_0x1b9e20='revision:'+_0x1901f2+':'+_0xfc0f75+':'+_0x338637++,_0x3217ad=_0x45c951['createRange'](_0x49eff5,_0x3cfa1f);_0x45e2ab['markers']['set'](_0x1b9e20,_0x3217ad),null!==_0xfc0f75&&_0x28e015['add'](_0xfc0f75);}}['_getVidAttributeName'](_0x10a5ce){switch(_0x10a5ce['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x264a80,_0x1bd6ff){_0x264a80['baseVersion']=null;for(const _0x592b96 in _0x264a80){const _0x2c4997=_0x264a80[_0x592b96];if(_0x2c4997 instanceof gt){const _0x193836=_0x1bd6ff['get'](_0x2c4997['root']['rootName']);_0x264a80[_0x592b96]=this['_fixPosition'](_0x2c4997,_0x193836);}if(_0x2c4997 instanceof vt){const _0x247cd9=_0x1bd6ff['get'](_0x2c4997['root']['rootName']);_0x264a80[_0x592b96]=this['_fixRange'](_0x2c4997,_0x247cd9);}'root'===_0x592b96&&(_0x264a80['root']=_0x1bd6ff['get'](_0x264a80['root']['rootName']));}}['_fixRange'](_0x34302f,_0x40c4a6){return this['editor']['model']['createRange'](this['_fixPosition'](_0x34302f['start'],_0x40c4a6),this['_fixPosition'](_0x34302f['end'],_0x40c4a6));}['_fixPosition'](_0x32e86a,_0x18a794){return this['editor']['model']['createPositionFromPath'](_0x18a794,_0x32e86a['path'],_0x32e86a['stickiness']);}['_handleInsertOperation'](_0xcc1462){const _0x1a5195=this['_idsRoots']['get'](_0xcc1462['position']['root']['rootName']),_0x447629=this['_fixPosition'](_0xcc1462['position'],_0x1a5195),_0xccb788=null===_0xcc1462['_authorId']?null:_0xcc1462['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x438fb4=_0x447629['parent'],_0xc6b232=this['_revisionId'],_0x520bd1=[];for(const _0xbe2fec of _0xcc1462['nodes'])if(_0xbe2fec['is']('element'))_0x520bd1['push'](this['_makeIdsRoot'](_0xbe2fec));else{for(let _0x28dff1=0x0;_0x28dff1<_0xbe2fec['offsetSize'];_0x28dff1++)_0x520bd1['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4cbea4=this['_revisionId'];for(let _0x3479d8=_0xc6b232;_0x3479d8<_0x4cbea4;_0x3479d8++)this['_touched']['set'](_0x3479d8,{'userId':_0xccb788});_0x438fb4['_insertChild'](_0x447629['offset'],_0x520bd1);}['_handleMoveOperation'](_0x28df80){(_0x28df80=this['_cloneOperation'](_0x28df80,this['_idsRoots']))['_execute']();const _0xfe3dc9=null===_0x28df80['_authorId']?null:_0x28df80['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x577421=_0x28df80['getMovedRangeStart'](),_0x123b7c=_0x577421['parent'],_0x20934a=_0x577421['offset'];!function _0x20a9d5(_0x6d4741,_0x3b3d0b,_0x23e967,_0x5b8cd0){for(let _0x3ae809=_0x23e967;_0x3ae809<_0x5b8cd0;_0x3ae809++){const _0x54e737=_0x3b3d0b['getChild'](_0x3ae809);_0x54e737['is']('element','$text')?_0x6d4741['set'](_0x54e737['getAttribute']('vid'),{'userId':_0xfe3dc9}):(_0x6d4741['set'](_0x54e737['getAttribute']('vid_start'),{'userId':_0xfe3dc9}),_0x20a9d5(_0x6d4741,_0x54e737,0x0,_0x54e737['childCount']),_0x6d4741['set'](_0x54e737['getAttribute']('vid_end'),{'userId':_0xfe3dc9}));}}(this['_touched'],_0x123b7c,_0x20934a,_0x20934a+_0x28df80['howMany']);}['_handleMergeOperation'](_0x343909){const _0x176db5=null===(_0x343909=this['_cloneOperation'](_0x343909,this['_idsRoots']))['_authorId']?null:_0x343909['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x421d1f=_0x343909['targetPosition']['parent'],_0x38ed24=_0x343909['sourcePosition']['parent'],_0x5560e5=_0x421d1f['getAttribute']('vid_end'),_0x211de8=_0x38ed24['getAttribute']('vid_start');_0x421d1f['_setAttribute']('vid_end',_0x38ed24['getAttribute']('vid_end')),_0x38ed24['_setAttribute']('vid_end',_0x5560e5),this['_touched']['set'](_0x211de8,{'userId':_0x176db5}),this['_touched']['set'](_0x5560e5,{'userId':_0x176db5}),_0x343909['_execute']();}['_handleSplitOperation'](_0x124068){const _0x5cadf1=null===(_0x124068=this['_cloneOperation'](_0x124068,this['_idsRoots']))['_authorId']?null:_0x124068['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1fae0f=_0x124068['graveyardPosition'],_0x50a3d5=_0x124068['splitPosition']['parent'];_0x124068['_execute']();const _0x427065=_0x50a3d5['getAttribute']('vid_end'),_0x195092=_0x124068['insertionPosition']['nodeAfter'];if(_0x1fae0f){const _0x3cd74c=_0x195092['getAttribute']('vid_end'),_0x1c1f28=_0x50a3d5['getAttribute']('vid_end');_0x50a3d5['_setAttribute']('vid_end',_0x3cd74c),_0x195092['_setAttribute']('vid_end',_0x1c1f28),this['_touched']['set'](_0x50a3d5['getAttribute']('vid_end'),{'userId':_0x5cadf1}),this['_touched']['set'](_0x195092['getAttribute']('vid_start'),{'userId':_0x5cadf1});}else{const _0x59caf2=this['_revisionId']++,_0x39f6f1=this['_revisionId']++;_0x50a3d5['_setAttribute']('vid_end',_0x59caf2),_0x195092['_setAttribute']('vid_start',_0x39f6f1),_0x195092['_setAttribute']('vid_end',_0x427065),this['_touched']['set'](_0x59caf2,{'userId':_0x5cadf1}),this['_touched']['set'](_0x39f6f1,{'userId':_0x5cadf1});}}['_handleMarkerOperation'](_0x3deebd){if(!_0x3deebd['affectsData'])return;const _0x48f7d8=(_0x3deebd=this['_cloneOperation'](_0x3deebd,this['_diffRoots']))['oldRange']?_0x3deebd['oldRange']['root']:null,_0x2dea28=_0x3deebd['newRange']?_0x3deebd['newRange']['root']:null;_0x48f7d8&&this['_markers']['delete'](_0x3deebd['name']),_0x2dea28&&this['_markers']['set'](_0x3deebd['name'],_0x3deebd['newRange']['clone']());const _0x1e4819=null===_0x3deebd['_authorId']?null:_0x3deebd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a154d=_0x3deebd['name'];if(!this['_touchedMarkers']['has'](_0x2a154d))return void this['_touchedMarkers']['set'](_0x2a154d,{'range':_0x3deebd['oldRange'],'userId':_0x1e4819});const _0x12386f=this['_touchedMarkers']['get'](_0x2a154d),_0x3613ba=_0x12386f['range'],_0x3a524b=_0x3deebd['newRange'];null==_0x3613ba&&null==_0x3a524b||_0x3613ba&&_0x3a524b&&_0x3613ba['isEqual'](_0x3a524b)?this['_touchedMarkers']['delete'](_0x3deebd['name']):_0x12386f['userId']=_0x1e4819;}['_handleRootOperation'](_0x350ea5,_0x4f25c0){this['_diffRoots']['has'](_0x350ea5['rootName'])?this['_diffRoots']['get'](_0x350ea5['rootName'])['_isAttached']=_0x350ea5['isAdd']:(this['_diffRoots']['set'](_0x350ea5['rootName'],G(_0x350ea5['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x350ea5['rootName'],{}),_0x4f25c0&&this['_idsRoots']['set'](_0x350ea5['rootName'],G(_0x350ea5['rootName'],!0x0)));const _0x5b5cf2=null===_0x350ea5['_authorId']?null:_0x350ea5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x434004=this['_touchedRoots']['get'](_0x350ea5['rootName']);_0x434004&&_0x434004['userId']===_0x5b5cf2?this['_touchedRoots']['delete'](_0x350ea5['rootName']):this['_touchedRoots']['set'](_0x350ea5['rootName'],{'userId':_0x5b5cf2,'isAttached':_0x350ea5['isAdd']});}['_handleRootAttributeOperation'](_0x2dcbf1){const _0x5e2582=this['_diffRootsAttributes']['get'](_0x2dcbf1['root']['rootName']);null===_0x2dcbf1['newValue']?delete _0x5e2582[_0x2dcbf1['key']]:_0x5e2582[_0x2dcbf1['key']]=_0x2dcbf1['newValue'];}}function q(_0x2fccaf){const _0x46465e=G(_0x2fccaf['rootName'],_0x2fccaf['isAttached']());for(const _0x39ae72 of _0x2fccaf['getChildren']()){const _0x28cc38=_0x39ae72['_clone'](!0x0);_0x46465e['_appendChild'](_0x28cc38);}return _0x46465e;}function G(_0xd058b4,_0x268167=!0x0){const _0x1e78c9=new wt();return _0x1e78c9['rootName']=_0xd058b4,_0x1e78c9['_isAttached']=_0x268167,_0x1e78c9['isAttached']=()=>_0x1e78c9['_isAttached'],_0x1e78c9;}function L(_0x12a3e2,_0x5d42bd,_0x505a12){const _0x26debf='elementEnd'==_0x12a3e2['type']?_0x505a12['createPositionAt'](_0x12a3e2['item'],'end'):_0x505a12['createPositionBefore'](_0x12a3e2['item']);return _0x505a12['createPositionFromPath'](_0x5d42bd,_0x26debf['path'],_0x26debf['stickiness']);}function W(_0x59986a,_0x4a07b5,_0x1324ad){const _0x46afda='elementStart'==_0x59986a['type']?_0x1324ad['createPositionAt'](_0x59986a['item'],0x0):_0x1324ad['createPositionAfter'](_0x59986a['item']);return _0x1324ad['createPositionFromPath'](_0x4a07b5,_0x46afda['path'],_0x46afda['stickiness']);}class ns extends _0x2a77a8{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5ede36,_0x177917){super(_0x5ede36),this['focusTracker']=new _0x5c2421(),this['keystrokes']=new _0x47f178(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x177917),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'](),_0x153667({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x55651a=_0x5a7669=>_0x5a7669['stopPropagation']();this['keystrokes']['set']('arrowright',_0x55651a),this['keystrokes']['set']('arrowleft',_0x55651a),this['keystrokes']['set']('arrowup',_0x55651a),this['keystrokes']['set']('arrowdown',_0x55651a);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x6866cf){this['revisionNameInputView']['fieldView']['element']['value']=_0x6866cf['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2fe86d){const _0x7970bb=new at(this['locale'],_0x4a30cf),_0x31c422=_0x7970bb['fieldView'];_0x31c422['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x285c7f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2fe86d&&(_0x285c7f+='\x20('+y(this['locale'],'optional')+')'),(_0x7970bb['label']=_0x285c7f,_0x31c422['on']('input',()=>{this['revisionNameInputValue']=_0x31c422['element']['value']['trim']();}),_0x7970bb);}}class u extends _0xca00f2{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1ca89f=this['editor'],_0x377e1d=_0x1ca89f['plugins']['get']('RevisionTracker');_0x1ca89f['ui']['componentFactory']['add']('revisionHistory',_0x3b0ac0=>{const _0xe67ceb=_0x9af7b6(_0x3b0ac0),_0x3088bb=_0xe67ceb['panelView']['children'],_0x9d4def=new te(_0x3b0ac0),_0x5c4dc4=new _0x46f502(_0x3b0ac0),_0x1ffb78=new _0x92c549(_0x3b0ac0),_0x5dab9c=new _0x46f502(_0x3b0ac0),_0x318683=new _0x92c549(_0x3b0ac0);return _0xe67ceb['bind']('isEnabled')['to'](_0x377e1d,'isReady',_0x377e1d,'isEnabled',_0x1ca89f,'isReadOnly',(_0x23a72e,_0x4e63c0,_0x4c176d)=>_0x23a72e&&_0x4e63c0&&!_0x4c176d),_0xe67ceb['buttonView']['set']({'icon':_0x5c9f2c['history'],'label':y(_0x3b0ac0,'Revision\x20history'),'tooltip':!0x0}),_0x1ffb78['set']({'label':y(_0x3b0ac0,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1ffb78['bind']('isEnabled')['to'](_0x377e1d,'isReady',_0x377e1d,'isEnabled',_0x1ca89f,'isReadOnly',(_0x14b785,_0x1e364c,_0x2f23fc)=>_0x14b785&&_0x1e364c&&!_0x2f23fc),_0x1ffb78['on']('execute',()=>this['_showDialog']()),_0x318683['set']({'label':y(_0x3b0ac0,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x318683['bind']('isEnabled')['to'](_0x377e1d,'isReady',_0x1ca89f,'isReadOnly',(_0x315b58,_0x222c5b)=>_0x315b58&&!_0x222c5b),_0x318683['on']('execute',()=>{_0x1ca89f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0xe67ceb['isOpen']=!0x1,_0x1ca89f['editing']['view']['focus']();}),_0x5c4dc4['children']['add'](_0x1ffb78),_0x5dab9c['children']['add'](_0x318683),_0x9d4def['role']='menu',_0x9d4def['items']['addMany']([_0x5c4dc4,_0x5dab9c]),_0x3088bb['add'](_0x9d4def),_0xe67ceb;}),_0x1ca89f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2a4400=this['editor'],_0x340a25=_0x2a4400['locale'],_0x4aa863=new _0x36297c(_0x340a25),_0x2125a3=new _0x193678(_0x340a25);_0x4aa863['buttonView']['set']({'icon':_0x5c9f2c['history'],'label':y(_0x340a25,'Revision\x20history')});const _0x15df50=new _0x46b46e(_0x340a25,_0x4aa863),_0x1b5336=new _0x9f5190(_0x340a25);_0x1b5336['set']({'label':y(_0x340a25,'Save\x20current\x20revision')}),_0x1b5336['delegate']('execute')['to'](_0x4aa863),_0x1b5336['on']('execute',()=>{this['_showDialog']();}),_0x15df50['children']['add'](_0x1b5336),_0x2125a3['items']['add'](_0x15df50);const _0x22be94=new _0x46b46e(_0x340a25,_0x4aa863),_0x3a7a68=new _0x9f5190(_0x340a25);return _0x3a7a68['set']({'label':y(_0x340a25,'Open\x20revision\x20history')}),_0x3a7a68['delegate']('execute')['to'](_0x4aa863),_0x3a7a68['on']('execute',()=>{_0x2a4400['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x22be94['children']['add'](_0x3a7a68),_0x2125a3['items']['add'](_0x22be94),_0x4aa863['panelView']['children']['add'](_0x2125a3),_0x4aa863;}['_showDialog'](){const _0xab047c=this['editor'],_0x1a0b4e=_0xab047c['locale'],t=_0x1a0b4e['t'],_0x75f90d=_0xab047c['plugins']['get']('Dialog'),_0x113ac6=_0xab047c['plugins']['get']('RevisionTracker');function _0x1cf175(_0x5567b4){_0xab047c['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5567b4['revisionName']?_0x5567b4['revisionNameInputView']['errorText']=y(_0x1a0b4e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xab047c['plugins']['get'](l)['saveRevision']({'name':_0x5567b4['revisionName']}),_0x75f90d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1cf175(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x75f90d['show']({'id':'findAndReplace','title':y(_0x1a0b4e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x75f90d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x23e6f5){_0x23e6f5['bind']('isEnabled')['to'](_0x113ac6,'isReady',_0x113ac6,'isEnabled',_0xab047c,'isReadOnly',(_0x408abe,_0x1e788a,_0x197f84)=>_0x408abe&&_0x1e788a&&!_0x197f84);},'onExecute':()=>_0x1cf175(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x481d25=this['editor'],_0x79a2c0=_0x481d25['locale'];this['_saveRevisionFormView']=new ns(_0x79a2c0,_0x481d25['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2a77a8{['changeId'];['_model'];constructor(_0x10b7bd,_0x89f10b){super(_0x10b7bd),this['_model']=_0x89f10b,this['changeId']=_0x89f10b['id'];const _0x1ba34c=this['bindTemplate'],_0x564583=y(_0x10b7bd,_0x89f10b['data']['isSuggestion']?'Suggested\x20by':'add'==_0x89f10b['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x89f10b['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1ba34c['to']('type',_0x2c5138=>'ck-revision-change__'+_0x2c5138)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x564583}]},{'text':'\x20'+_0x89f10b['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x44f3fa(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x25d1ac){super(),this['id']=_0x25d1ac['id']||_0x134ce5(),this['author']=_0x25d1ac['author'],this['type']=_0x25d1ac['type'],this['data']=_0x25d1ac['data']||{},this['rootName']=_0x25d1ac['rootName'],this['set']('createdAt',_0x25d1ac['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(_0x64c70e,_0x25a737){this['newRevisionId']=_0x64c70e,this['oldRevisionId']=_0x25a737,this['changes']=new _0x130bc6();}['_setChanges'](_0x1fb6c3){for(const _0x5a7226 of _0x1fb6c3)this['changes']['add'](_0x5a7226);}}const tt={'c':_0x2c4e43,'a':_0x900e04,'e':_0x1c9f20,'r':_0x1730ed,'u':_0x294270};class d extends _0xca00f2{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x77a75b,_0x2485af,A];}constructor(_0x10a801){super(_0x10a801),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',(_0x24d7a5,_0x5191c0,_0x3c85a5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3d4a71=>{for(const _0x28c8ef of this['editor']['editing']['view']['document']['roots'])_0x3c85a5?_0x3d4a71['removeClass']('ck-editor__editable__overlay',_0x28c8ef):_0x3d4a71['addClass']('ck-editor__editable__overlay',_0x28c8ef);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3850f6=>null!==_0x3850f6),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x22906b,_0x1cc975,_0x5b7606)=>_0x22906b&&_0x5b7606?_0x1cc975['changes']['getIndex'](_0x5b7606):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x7bd8d6,_0x23883d)=>_0x7bd8d6?_0x23883d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2485af);}['init'](){const _0x13388b=this['editor'],_0x28c86d=new yt(_0x13388b,{'direction':'backward'}),_0x32c9ea=new yt(_0x13388b,{'direction':'forward'});(_0x13388b['commands']['add']('showPreviousChange',_0x28c86d),_0x13388b['commands']['add']('showNextChange',_0x32c9ea),_0x13388b['commands']['add']('restoreRevision',new bt(_0x13388b)),this['on']('change:numberOfChanges',()=>{_0x28c86d['refresh'](),_0x32c9ea['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x13388b['enableReadOnlyMode']('revision-viewer'),_0x13388b['plugins']['has']('WidgetToolbarRepository'))&&_0x13388b['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x599f59){await this['loadRevisionData'](_0x599f59);const _0x51bccc={};for(const _0x4526d5 in _0x599f59['diffData']){if(_0x599f59['diffData'][_0x4526d5]['attachChange']&&!_0x599f59['diffData'][_0x4526d5]['attachChange']['isAttached'])continue;const _0x47e083=this['_removeRevisionMarkers'](JSON['parse'](_0x599f59['diffData'][_0x4526d5]['insertions'])),_0x176737=this['editor']['editing']['view']['document'],_0x271055=new _0x19f341(_0x176737,_0x47e083['map'](_0x4f6e9c=>this['_getViewObj'](_0x4f6e9c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x51bccc[_0x4526d5]=this['editor']['data']['processor']['toData'](_0x271055),this['editor']['data']['processor']['useFillerType']('default');}return _0x51bccc;}async['getRevisionRootsAttributes'](_0x218231){await this['loadRevisionData'](_0x218231);const _0x43cb1e={};for(const _0x22062c in _0x218231['diffData'])_0x218231['diffData'][_0x22062c]['attachChange']&&!_0x218231['diffData'][_0x22062c]['attachChange']['isAttached']||(_0x43cb1e[_0x22062c]=_0x218231['diffData'][_0x22062c]['attributesAfter']||{});return _0x43cb1e;}['_removeRevisionMarkers'](_0x5a0f13){return(_0x5a0f13=_0x5a0f13['filter'](_0x4c178b=>!_0x4c178b['name']||'revision-start'!==_0x4c178b['name']&&'revision-end'!==_0x4c178b['name']))['forEach'](_0x1abc4c=>{'string'!=typeof _0x1abc4c&&(_0x1abc4c['children']=this['_removeRevisionMarkers'](_0x1abc4c['children']),_0x1abc4c['attributes']=_0x1abc4c['attributes']['filter'](_0x250ada=>!_0x250ada[0x0]['startsWith']('data-revision-')));}),_0x5a0f13;}async['compare'](_0x47fcff,_0x431645,_0x591ccf=!0x1){if(!this['isEnabled'])return;const _0x45aa51=this['diff'],_0x2978ae=this['repository'],_0x3b9498='string'==typeof _0x47fcff?_0x2978ae['getRevision'](_0x47fcff):_0x47fcff,_0x4927d1='string'==typeof _0x431645?_0x2978ae['getRevision'](_0x431645):_0x431645,_0x154bd4=_0x3b9498['id'],_0x32259a=_0x4927d1?_0x4927d1['id']:null;if(!_0x591ccf&&this['diff']&&this['diff']['newRevisionId']===_0x154bd4&&this['diff']['oldRevisionId']===_0x32259a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x154bd4,_0x32259a);const _0x52391d=this['_getRevisionsRange'](_0x3b9498,_0x4927d1,!0x0)['map'](_0x535d40=>this['loadRevisionData'](_0x535d40));return _0x52391d['push'](new Promise(_0x274c1a=>{setTimeout(_0x274c1a,0x14);})),Promise['all'](_0x52391d)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2f7f4c=this['_getDiff'](_0x154bd4,_0x32259a);for(const _0x5c53d6 of _0x2f7f4c['changes'])this['_changeIdToChange']['set'](_0x5c53d6['id'],_0x5c53d6);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x240019=>{for(const _0x3fae28 of this['editor']['model']['document']['getRootNames']())_0x240019['detachRoot'](_0x3fae28);for(const _0x14154a of Object['keys'](_0x2f7f4c['model'])){const _0x13f315=_0x240019['addRoot'](_0x14154a);for(const _0x2ea761 of Object['keys'](_0x2f7f4c['attributes'][_0x14154a]))_0x240019['setAttribute'](_0x2ea761,_0x2f7f4c['attributes'][_0x14154a][_0x2ea761],_0x13f315);_0x240019['insert'](_0x2f7f4c['model'][_0x14154a],_0x13f315,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2f7f4c['changes'])),this['isReady']=!0x0;})['catch'](_0xc9dede=>{console['error'](_0xc9dede),this['_cleanUp'](),_0x45aa51&&(this['diff']=_0x45aa51),this['isReady']=!0x0;});}['addRevisionData'](_0x5c00af,_0x1829a7){const _0x4c034c=this['repository']['createRevision'](_0x5c00af);return _0x4c034c['on']('_update',(_0x42fffc,_0x46314a,_0x1eb6c5)=>_0x1829a7(_0x46314a,_0x1eb6c5,_0x4c034c)),this['repository']['addRevision'](_0x4c034c),_0x4c034c;}['loadRevisionData'](_0x1304d5){if(!_0x1304d5||_0x1304d5['diffData'])return Promise['resolve']();{const _0x4afd59=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4afd59,'revisionId':_0x1304d5['id']})['then'](_0xbcee49=>{_0x1304d5['_update']({'diffData':_0xbcee49['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},_0x5e742b=>{for(const _0x162191 of this['editor']['model']['document']['getRootNames']())_0x5e742b['detachRoot'](_0x162191);});}['_sortAndFilterDiffChanges'](_0xb75e85){const _0x5563ee=[],_0x3c7039=new Map();for(const _0x121f2c of this['editor']['model']['document']['getRootNames']()){const _0x5356ac=this['editor']['editing']['view']['getDomRoot'](_0x121f2c);if(!_0x5356ac)continue;const _0x12e972=_0x5356ac['getClientRects']()['item'](0x0);_0x12e972&&(_0x5563ee['push'](_0x121f2c),_0x3c7039['set'](_0x121f2c,_0x12e972));}return _0x5563ee['sort']((_0x152ae0,_0x4ff173)=>{const _0x52cfa6=_0x3c7039['get'](_0x152ae0),_0x3090d6=_0x3c7039['get'](_0x4ff173);return _0x52cfa6['y']-_0x3090d6['y']||_0x52cfa6['x']-_0x3090d6['x'];}),(_0xb75e85=_0xb75e85['filter'](_0x48fecc=>_0x5563ee['includes'](_0x48fecc['rootName'])))['sort']((_0x2d0401,_0x3bfcbd)=>_0x5563ee['indexOf'](_0x2d0401['rootName'])-_0x5563ee['indexOf'](_0x3bfcbd['rootName'])),_0xb75e85;}['_makeTape'](_0x2751a3){const _0x237244=Array['from'](_0x2751a3['markers'])['filter'](([_0x4b5783,_0x71428d])=>_0x4b5783['startsWith']('revision:')&&!_0x71428d['isCollapsed']),_0x2765b8=Array['from'](this['editor']['model']['createRangeIn'](_0x2751a3)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x237244['length'])for(const _0x773ab5 of _0x2765b8){const [_0x2e87ee,_0x4a548f]=_0x237244[0x0],[,_0x3494ec,_0x5e3304]=_0x2e87ee['split'](':');if(_0x4a548f['end']['isEqual'](_0x773ab5['nextPosition'])&&_0x237244['shift'](),(_0x773ab5['previousPosition']['isEqual'](_0x4a548f['start'])||_0x773ab5['previousPosition']['isAfter'](_0x4a548f['start']))&&('insertion'==_0x3494ec?_0x773ab5['isAdded']={'userId':_0x5e3304}:'deletion'==_0x3494ec&&(_0x773ab5['isRemoved']={'userId':_0x5e3304})),0x0==_0x237244['length'])break;}return _0x2765b8;}['_refreshStartEndIndex'](_0x247d7c){const _0x17baff=new Map();for(let _0xe2e511=0x0;_0xe2e511<_0x247d7c['length'];_0xe2e511++)'text'===_0x247d7c[_0xe2e511]['type']?(_0x247d7c[_0xe2e511]['item']['startIndex']=_0xe2e511,_0x247d7c[_0xe2e511]['item']['endIndex']=_0xe2e511):('elementStart'===_0x247d7c[_0xe2e511]['type']?_0x247d7c[_0xe2e511]['item']['startIndex']=_0xe2e511:'elementEnd'===_0x247d7c[_0xe2e511]['type']&&(_0x247d7c[_0xe2e511]['item']['endIndex']=_0xe2e511),_0x17baff['set'](_0x247d7c[_0xe2e511]['id'],_0xe2e511));for(const _0xc118e2 of _0x17baff['values']())'elementStart'===_0x247d7c[_0xc118e2]['type']?_0x247d7c[_0xc118e2]['item']['endIndex']=_0x17baff['get'](_0x247d7c[_0xc118e2]['pairId']):'elementEnd'===_0x247d7c[_0xc118e2]['type']&&(_0x247d7c[_0xc118e2]['item']['startIndex']=_0x17baff['get'](_0x247d7c[_0xc118e2]['pairId']));}['_processTape'](_0x2054e1){for(let _0x330fd4=0x0;_0x330fd4<_0x2054e1['length'];_0x330fd4++){if('elementStart'===_0x2054e1[_0x330fd4]['type'])_0x2054e1[_0x330fd4]['item']['startIndex']=_0x330fd4;else{if('elementEnd'===_0x2054e1[_0x330fd4]['type']){_0x2054e1[_0x330fd4]['item']['endIndex']=_0x330fd4;const _0x3dacbd=_0x2054e1[_0x330fd4]['item']['startIndex'];_0x2054e1[_0x3dacbd]['pairId']=_0x2054e1[_0x330fd4]['id'],_0x2054e1[_0x330fd4]['pairId']=_0x2054e1[_0x3dacbd]['id'];}else _0x2054e1[_0x330fd4]['item']['startIndex']=_0x330fd4,_0x2054e1[_0x330fd4]['item']['endIndex']=_0x330fd4,_0x2054e1[_0x330fd4]['pairId']=null;}_0x2054e1[_0x330fd4]['markersStart']||(_0x2054e1[_0x330fd4]['markersStart']=[],_0x2054e1[_0x330fd4]['markersEnd']=[]);}}['_markInsertions'](_0x4bd837,_0x45f4f9){const _0x68121f=_0x4bd837['filter'](_0x6c7b31=>!_0x6c7b31['isAdded']);for(let _0x28b4e6=0x0;_0x28b4e6<_0x45f4f9['length'];_0x28b4e6++)_0x45f4f9[_0x28b4e6]['isAdded']&&(_0x68121f[_0x28b4e6]['isAdded']=_0x45f4f9[_0x28b4e6]['isAdded']);}['_makeModelFromViewString'](_0x334d69){const _0x1b35c4=JSON['parse'](_0x334d69),_0x2d29de=this['editor']['editing']['view']['document'],_0x2397d5=new _0x19f341(_0x2d29de,_0x1b35c4['map'](_0x43c5bf=>this['_getViewObj'](_0x43c5bf)));return this['editor']['data']['toModel'](_0x2397d5);}['_getViewObj'](_0x4c03fc){const _0x5d4f2c=this['editor']['editing']['view']['document'];if('string'==typeof _0x4c03fc)return new _0xdb480c(_0x5d4f2c,_0x4c03fc);{const _0x4881b0=_0x4c03fc['children']['map'](_0x3d4a4f=>this['_getViewObj'](_0x3d4a4f));return new(tt[_0x4c03fc['type']]||_0x57b4a4)(_0x5d4f2c,_0x4c03fc['name'],_0x4c03fc['attributes'],_0x4881b0);}}['_getDiff'](_0x59a812,_0x2b0983=null){const _0x5822f0=this['repository']['getRevision'](_0x59a812),_0xfb6323=_0x2b0983?this['repository']['getRevision'](_0x2b0983):null,_0x5539ff=this['_getRevisionsRange'](_0x5822f0,_0xfb6323),_0x4b0f3d=_0x5539ff[_0x5539ff['length']-0x1],_0x2846db=new Map(),_0x513f67={'model':{},'attributes':{},'changes':[]},_0x4eb20d=new Set(),_0x35b27b=new Map();for(let _0x859c9b=_0x5539ff['length']-0x1;_0x859c9b>=0x0;_0x859c9b--){const _0x3074d8=_0x5539ff[_0x859c9b];for(const _0x277f28 of Object['keys'](_0x3074d8['diffData']))if(_0x3074d8['diffData'][_0x277f28]['attachChange']){const _0x5934f7=_0x3074d8['diffData'][_0x277f28]['attachChange'];_0x5934f7['isAttached']?(_0x4eb20d['add'](_0x277f28),_0x35b27b['has'](_0x277f28)&&_0x35b27b['get'](_0x277f28)['userId']==_0x5934f7['userId']?_0x35b27b['delete'](_0x277f28):_0x35b27b['set'](_0x277f28,_0x5934f7)):_0x35b27b['has'](_0x277f28)?(_0x4eb20d['delete'](_0x277f28),_0x35b27b['delete'](_0x277f28)):(_0x4eb20d['add'](_0x277f28),_0x35b27b['set'](_0x277f28,_0x5934f7));}else _0x4eb20d['add'](_0x277f28);}for(const _0x355aa0 of _0x4eb20d){const _0x1c94e5=_0x35b27b['has'](_0x355aa0)&&!_0x35b27b['get'](_0x355aa0)['isAttached'];let _0x1fdec7=_0x1c94e5?_0x5539ff['length']-0x1:0x0;const _0xb98dd1=_0x1c94e5?-0x1:0x1;for(;_0x5539ff[_0x1fdec7];){const _0x277c6c=_0x5539ff[_0x1fdec7];if(_0x277c6c['diffData'][_0x355aa0]){const _0x2968b7=_0x1c94e5?_0x277c6c['diffData'][_0x355aa0]['attributesBefore']:_0x277c6c['diffData'][_0x355aa0]['attributesAfter'];_0x513f67['attributes'][_0x355aa0]=_0x2968b7?_0x26e1eb(_0x2968b7):{};break;}_0x1fdec7+=_0xb98dd1;}}for(const _0x38883b of _0x5539ff){_0x38883b['model']={};for(const _0x1c57cd of _0x38883b['authors'])_0x2846db['set'](_0x1c57cd['id'],_0x1c57cd);for(const _0x124db2 of _0x4eb20d){const _0x1f5b0e=_0x38883b['diffData'][_0x124db2]?_0x38883b['diffData'][_0x124db2]['insertions']:'[]',_0x2cd78c=_0x38883b['diffData'][_0x124db2]?_0x38883b['diffData'][_0x124db2]['deletions']:'[]';_0x38883b['model'][_0x124db2]={'insertions':this['_makeModelFromViewString'](_0x1f5b0e),'deletions':this['_makeModelFromViewString'](_0x2cd78c)};}}for(const _0x56f3eb of _0x4eb20d){let _0x2ffbc4=null,_0x42a683=0x0;const _0x968d9e=new Map(Array['from'](_0x5822f0['model'][_0x56f3eb]['insertions']['markers'])['filter'](([_0x3bac7b])=>!_0x3bac7b['startsWith']('revision:')));let _0x26f8a6=0x0;for(const _0x1e8712 of _0x5539ff){const _0x43ebfa=this['_makeTape'](_0x1e8712['model'][_0x56f3eb]['insertions']);_0x1e8712==_0x5822f0?(_0x2ffbc4=_0x43ebfa,_0x42a683=_0x2ffbc4['length'],_0x2ffbc4['forEach'](_0xc608=>{_0xc608['id']=_0x26f8a6++;}),this['_processTape'](_0x2ffbc4)):this['_markInsertions'](_0x2ffbc4,_0x43ebfa);const _0x55411b=_0x2ffbc4['filter'](_0x173787=>!_0x173787['isAdded'])['map'](_0x56bdfa=>_0x56bdfa['id']);let _0x1b494f=0x0;const _0xa8dbe4=this['_makeTape'](_0x1e8712['model'][_0x56f3eb]['deletions']);_0xa8dbe4['forEach'](_0x2a5b96=>{_0x2a5b96['isRemoved']?_0x2a5b96['id']=_0x42a683++:_0x2a5b96['id']=_0x55411b[_0x1b494f++];}),this['_processTape'](_0xa8dbe4),this['_setDistance'](_0x2ffbc4,'isAdded'),this['_setDistance'](_0xa8dbe4,'isRemoved'),_0x1e8712==_0x5822f0&&this['_markMarkers'](_0x2ffbc4,_0x968d9e),_0x2ffbc4=this['_joinTapes'](_0x2ffbc4,_0xa8dbe4),this['_refreshStartEndIndex'](_0x2ffbc4),this['_setDistance'](_0x2ffbc4,'isRemoved');}_0x2ffbc4=_0x2ffbc4['filter'](_0x2a735a=>!(_0x2a735a['isAdded']&&_0x2a735a['isRemoved']));const _0x42f0cd=new Map(_0x4b0f3d['model'][_0x56f3eb]['deletions']['markers']),_0x3896a3=new Set(_0x968d9e['keys']());for(const _0x5b011f of _0x42f0cd['keys']())_0x3896a3['delete'](_0x5b011f);this['_markSuggestions'](_0x2ffbc4,_0x3896a3),this['_fixObsoleteTags'](_0x2ffbc4),_0x2ffbc4=this['_removeMissingPairs'](_0x2ffbc4),_0x2ffbc4=this['_markMismatchedRemovedTags'](_0x2ffbc4),_0x2ffbc4=this['_removeUnsupportedChanges'](_0x2ffbc4);const {root:_0x27ce33,changes:_0x149cab}=this['_makeModelFromTape'](_0x2ffbc4,_0x2846db,_0x56f3eb);_0x513f67['model'][_0x56f3eb]=_0x27ce33;const _0x253041=_0x35b27b['get'](_0x56f3eb);if(_0x253041){const _0x1d3a53=_0x2846db['get'](_0x253041['userId']),_0x912140=new r({'author':_0x1d3a53,'type':_0x253041['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x56f3eb});_0x149cab['unshift'](_0x912140),_0x513f67['attributes'][_0x56f3eb]['revisionHistoryAttachChange']=_0x912140['id'];}_0x513f67['changes']=_0x513f67['changes']['concat'](_0x149cab);}return _0x513f67;}['_markMarkers'](_0x58359b,_0x361ca4){for(let _0x2bbac3=0x0;_0x2bbac3<_0x58359b['length'];_0x2bbac3++)for(const [_0x1262e2,_0x49bd6d]of _0x361ca4)_0x49bd6d['start']['isEqual'](_0x58359b[_0x2bbac3]['previousPosition'])&&_0x58359b[_0x2bbac3]['markersStart']['push'](_0x1262e2),_0x49bd6d['end']['isEqual'](_0x58359b[_0x2bbac3]['nextPosition'])&&_0x58359b[_0x2bbac3]['markersEnd']['push'](_0x1262e2);}['_joinTapes'](_0x3d1ed5,_0x37a1ed){let _0x24ad9e=[],_0x212c41=0x0,_0x5a7cef=0x0;for(;_0x212c41<_0x3d1ed5['length']||_0x5a7cef<_0x37a1ed['length'];){const _0x4d739f=_0x3d1ed5[_0x212c41]||{},_0x33a459=_0x37a1ed[_0x5a7cef]||{};if(_0x4d739f['id']==_0x33a459['id'])_0x212c41++,_0x5a7cef++,_0x24ad9e['push'](_0x4d739f);else{if(_0x33a459['isRemoved']&&_0x4d739f['isAdded']){const {commonTape:_0x12164d,iEnd:_0xd636b4,jEnd:_0xbb30f1}=this['_threeWayMerge'](_0x3d1ed5,_0x212c41,_0x37a1ed,_0x5a7cef);_0x24ad9e=_0x24ad9e['concat'](_0x12164d),_0x212c41=_0xd636b4,_0x5a7cef=_0xbb30f1;}else _0x33a459['isRemoved']?(_0x5a7cef++,_0x24ad9e['push'](_0x33a459)):(_0x212c41++,_0x24ad9e['push'](_0x4d739f));}}return _0x24ad9e;}['_markSuggestions'](_0x19b0b3,_0xcc0207){const _0x300def=[];for(let _0x530db0=0x0;_0x530db0<_0x19b0b3['length'];_0x530db0++){for(let _0x21a1b8=0x0;_0x21a1b8<_0x19b0b3[_0x530db0]['markersStart']['length'];_0x21a1b8++){const _0x323287=_0x19b0b3[_0x530db0]['markersStart'][_0x21a1b8];if(!_0xcc0207['has'](_0x323287))continue;const {group:_0x7e9188,type:_0x40db38,authorId:_0x52c7f9}=_0x4b1bfa(_0x323287);'revision-suggestion'!=_0x7e9188||'insertion'!=_0x40db38&&'deletion'!=_0x40db38||(_0x300def['unshift']({'type':_0x40db38,'name':_0x323287,'userId':_0x52c7f9}),_0x19b0b3[_0x530db0]['markersStart']['splice'](_0x21a1b8,0x1),_0x21a1b8--);}_0x10fd9f(_0x19b0b3[_0x530db0]);for(let _0x2854c4=0x0;_0x2854c4<_0x19b0b3[_0x530db0]['markersEnd']['length'];_0x2854c4++){const _0x4f9164=_0x19b0b3[_0x530db0]['markersEnd'][_0x2854c4];if(!_0xcc0207['has'](_0x4f9164))continue;const {group:_0x2ca421,type:_0x28c124}=_0x4b1bfa(_0x4f9164);if('revision-suggestion'!=_0x2ca421||'insertion'!=_0x28c124&&'deletion'!=_0x28c124)continue;_0x19b0b3[_0x530db0]['markersEnd']['splice'](_0x2854c4,0x1),_0x2854c4--;const _0x38f316=_0x300def['findIndex'](_0x3eb81f=>_0x3eb81f['name']==_0x4f9164);_0x38f316>-0x1&&_0x300def['splice'](_0x38f316,0x1);}}function _0x4b1bfa(_0x476ef9){const _0x455dfe=_0x476ef9['split'](':');return{'group':_0x455dfe[0x0],'type':_0x455dfe[0x1],'subType':_0x455dfe['length']>=0x5?_0x455dfe[0x2]:null,'id':_0x455dfe['length']<0x5?_0x455dfe[0x2]:_0x455dfe[0x3],'authorId':_0x455dfe['length']<0x5?_0x455dfe[0x3]:_0x455dfe[0x4],'markerCount':0x6==_0x455dfe['length']?_0x455dfe[0x5]:null};}function _0x10fd9f(_0x4225d4){for(let _0x3f02e9=0x0;_0x3f02e9<_0x300def['length'];_0x3f02e9++){if(_0x4225d4['isAdded']&&'insertion'==_0x300def[_0x3f02e9]['type'])return _0x4225d4['isAddSuggestion']=_0x300def[_0x3f02e9],void delete _0x4225d4['isAdded'];if(!_0x4225d4['isAdded']&&!_0x4225d4['isRemoved']&&'deletion'==_0x300def[_0x3f02e9]['type'])return void(_0x4225d4['isRemoveSuggestion']=_0x300def[_0x3f02e9]);}}}['_setDistance'](_0x4de8e9,_0x253d53){let _0x1fec6b=0x0,_0x2563ef=!0x1;const _0x305463=new Map();for(const _0x4c3185 of _0x4de8e9)_0x4c3185[_0x253d53]?_0x2563ef&&(_0x1fec6b++,_0x2563ef=!0x1):(_0x1fec6b++,_0x2563ef=!0x0),_0x305463['set'](_0x4c3185['id'],_0x1fec6b);for(let _0x289abb=0x0;_0x289abb<_0x4de8e9['length'];_0x289abb++){if('isRemoved'==_0x253d53&&_0x4de8e9[_0x289abb]['isAdded']||'isAdded'==_0x253d53&&_0x4de8e9[_0x289abb]['isRemoved'])continue;if('text'==_0x4de8e9[_0x289abb]['type']){_0x4de8e9[_0x289abb]['distance']=0x0;continue;}const _0x9673a=_0x305463['get'](_0x4de8e9[_0x289abb]['pairId']),_0x52c2cb=_0x305463['get'](_0x4de8e9[_0x289abb]['id']);_0x4de8e9[_0x289abb]['distance']=_0x9673a-_0x52c2cb;}}['_getRevisionsRange'](_0x19ac20,_0x209233,_0x56ff83=!0x1){const _0x255472=[];let _0x3b8b8a=this['repository']['getIndex'](_0x19ac20),_0x5d0b12=this['repository']['getIndex'](_0x209233);for(-0x1==_0x5d0b12&&(_0x5d0b12=this['repository']['_revisions']['length'],_0x56ff83=!0x1);_0x3b8b8a<_0x5d0b12;)_0x255472['push'](this['repository']['getRevision'](_0x3b8b8a)),_0x3b8b8a++;return _0x56ff83&&_0x255472['push'](this['repository']['getRevision'](_0x3b8b8a)),_0x255472;}['_threeWayMerge'](_0x5459e9,_0x4c24d5,_0x173b47,_0x55f49c){const _0x4e696f=this['editor']['model']['schema'];let _0x44530f=_0x4c24d5;for(;_0x5459e9[_0x44530f]&&_0x5459e9[_0x44530f]['isAdded'];)_0x44530f++;let _0x22f317=_0x55f49c;for(;_0x173b47[_0x22f317]&&_0x173b47[_0x22f317]['isRemoved'];)_0x22f317++;_0x2d5031(_0x5459e9,_0x4c24d5,_0x44530f),_0x2d5031(_0x173b47,_0x55f49c,_0x22f317);const _0x199bba=_0x173b47['slice'](_0x55f49c,_0x22f317)['concat'](_0x5459e9['slice'](_0x4c24d5,_0x44530f));return _0x199bba['sort']((_0x500fe9,_0x485df4)=>_0x500fe9['side']!=_0x485df4['side']?_0x500fe9['side']-_0x485df4['side']:_0x500fe9['level']!=_0x485df4['level']?_0x500fe9['level']-_0x485df4['level']:_0x500fe9['distance']!=_0x485df4['distance']?_0x485df4['distance']-_0x500fe9['distance']:!!_0x500fe9['isAdded']!=!!_0x485df4['isAdded']?-0x1==_0x500fe9['side']||0x0==_0x500fe9['side']?_0x500fe9['isAdded']?-0x1:0x1:_0x500fe9['isAdded']?0x1:-0x1:_0x500fe9['index']-_0x485df4['index']),{'commonTape':_0x199bba,'iEnd':_0x44530f,'jEnd':_0x22f317};function _0x2d5031(_0x2d3bf6,_0x476232,_0x2f107f){let _0x339a75=-0x1,_0x46de19=Number['POSITIVE_INFINITY'],_0x549afa=!0x0;for(let _0x4faa9b=_0x476232;_0x4faa9b<_0x2f107f;_0x4faa9b++)if(_0x4e696f['isInline'](_0x2d3bf6[_0x4faa9b]['item'])||(_0x549afa=!0x1),_0x2d3bf6[_0x4faa9b]['item']['startIndex']<_0x476232&&(_0x339a75=_0x4faa9b),_0x2d3bf6[_0x4faa9b]['item']['endIndex']>=_0x2f107f){_0x46de19=_0x4faa9b;break;}_0x549afa&&(_0x339a75=_0x2f107f-0x1);for(let _0x4d5563=_0x476232;_0x4d5563<_0x2f107f;_0x4d5563++)_0x2d3bf6[_0x4d5563]['side']=_0x4d5563<=_0x339a75?-0x1:_0x4d5563<_0x46de19?0x0:0x1,_0x2d3bf6[_0x4d5563]['index']=_0x4d5563;let _0x57c117=0x0;for(let _0x4da089=_0x476232;_0x4da089<=_0x339a75;_0x4da089++)0x0==_0x2d3bf6[_0x4da089]['distance']?_0x2d3bf6[_0x4da089]['level']=_0x57c117:(_0x57c117++,_0x2d3bf6[_0x4da089]['level']=_0x57c117,_0x57c117++);for(let _0x4bade3=_0x476232;_0x4bade3<_0x2f107f;_0x4bade3++)0x0==_0x2d3bf6[_0x4bade3]['side']&&(_0x2d3bf6[_0x4bade3]['level']=_0x57c117);_0x57c117=0x0;for(let _0x2cd209=_0x2f107f-0x1;_0x2cd209>=_0x46de19;_0x2cd209--)0x0==_0x2d3bf6[_0x2cd209]['distance']?_0x2d3bf6[_0x2cd209]['level']=_0x57c117:(_0x57c117--,_0x2d3bf6[_0x2cd209]['level']=_0x57c117,_0x57c117--);}}['_fixObsoleteTags'](_0xa114a9){const _0x10480e=new Map(),_0x51df89=this['editor']['model']['schema'];for(let _0x28f5bf=0x1;_0x28f5bf<_0xa114a9['length'];_0x28f5bf++){let _0x5f22e7,_0x406aee,_0x5cea3c;const _0x4a1f5f=_0xa114a9[_0x28f5bf],_0x524097=_0xa114a9[_0x28f5bf-0x1];if('text'==_0x4a1f5f['type'])continue;if(_0x4a1f5f['type']!=_0x524097['type'])continue;if(!_0x51df89['isBlock'](_0x524097['item'])||_0x51df89['isLimit'](_0x524097['item']))continue;if(!_0x51df89['isBlock'](_0x4a1f5f['item'])||_0x51df89['isLimit'](_0x4a1f5f['item']))continue;if((_0xa114a9[_0x28f5bf]['isAdded']||_0xa114a9[_0x28f5bf]['isAddSuggestion'])&&_0xa114a9[_0x28f5bf-0x1]['isRemoved'])_0x5f22e7=_0xa114a9[_0x28f5bf],_0x406aee=_0xa114a9[_0x28f5bf-0x1],_0x5cea3c=_0x28f5bf-0x1;else{if(!_0xa114a9[_0x28f5bf]['isRemoved']||!_0xa114a9[_0x28f5bf-0x1]['isAdded']&&!_0xa114a9[_0x28f5bf-0x1]['isAddSuggestion'])continue;_0x5f22e7=_0xa114a9[_0x28f5bf-0x1],_0x406aee=_0xa114a9[_0x28f5bf],_0x5cea3c=_0x28f5bf;}const _0xdf4c3a=_0x5f22e7['level']==_0x406aee['level'],_0x199570=Math['abs'](_0x5f22e7['level'])<Math['abs'](_0x406aee['level'])&&0x0==_0x406aee['distance'];(_0xdf4c3a||_0x199570)&&(_0x10480e['set'](_0x406aee['id'],_0x5f22e7['id']),_0xa114a9['splice'](_0x5cea3c,0x1),_0x28f5bf--,_0x5f22e7['isAdded']=!0x1);}for(let _0x47a4ce=0x0;_0x47a4ce<_0xa114a9['length'];_0x47a4ce++)_0x10480e['has'](_0xa114a9[_0x47a4ce]['pairId'])&&(_0xa114a9[_0x47a4ce]['pairId']=_0x10480e['get'](_0xa114a9[_0x47a4ce]['pairId']));}['_removeMissingPairs'](_0x5ac03b){const _0x592288=new Set(_0x5ac03b['map'](_0x1b0d4d=>_0x1b0d4d['id']));for(let _0x9c5183=0x0;_0x9c5183<_0x5ac03b['length'];_0x9c5183++)_0x592288['has'](_0x5ac03b[_0x9c5183]['pairId'])||0x0==_0x5ac03b[_0x9c5183]['distance']||(_0x5ac03b[_0x9c5183]['isIncorrect']=!0x0);return _0x5ac03b['filter'](_0x5c8a98=>!_0x5c8a98['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4e58d4){const _0xc9d07e=new Set();for(let _0x3f5d89=0x0;_0x3f5d89<_0x4e58d4['length'];_0x3f5d89++){if(_0xc9d07e['has'](_0x4e58d4[_0x3f5d89]['id'])&&_0x4e58d4[_0x3f5d89]['isRemoved']&&(_0x4e58d4[_0x3f5d89]['isIncorrect']=!0x0),_0x4e58d4[_0x3f5d89]['isIncorrect'])continue;if(0x0==_0x4e58d4[_0x3f5d89]['distance'])continue;if('elementStart'!=_0x4e58d4[_0x3f5d89]['type'])continue;if(null==_0x4e58d4[_0x3f5d89]['pairId'])continue;let _0x1be063=_0x3f5d89+0x1,_0x5cd8e1=0x0;for(;_0x4e58d4[_0x1be063]['id']!=_0x4e58d4[_0x3f5d89]['pairId'];)'elementStart'==_0x4e58d4[_0x1be063]['type']?_0x5cd8e1++:'elementEnd'==_0x4e58d4[_0x1be063]['type']&&_0x5cd8e1--,_0x1be063++;if(0x0!=_0x5cd8e1){if(_0x4e58d4[_0x3f5d89]['isRemoved'])_0x4e58d4[_0x3f5d89]['isIncorrect']=!0x0;else{for(;_0x1be063!=_0x3f5d89;)_0x4e58d4[_0x1be063]['isRemoved']&&0x0!=_0x4e58d4[_0x1be063]['distance']&&(_0x4e58d4[_0x1be063]['isIncorrect']=!0x0,_0xc9d07e['add'](_0x4e58d4[_0x1be063]['pairId'])),_0x1be063--;}}}return _0x4e58d4['filter'](_0x57b0c9=>!_0x57b0c9['isIncorrect']);}['_removeUnsupportedChanges'](_0x26b0e1){const _0x542bbb=this['editor']['model']['schema'];for(let _0x5dc7df=0x0;_0x5dc7df<_0x26b0e1['length'];_0x5dc7df++){if(!(_0x26b0e1[_0x5dc7df]['isAdded']||_0x26b0e1[_0x5dc7df]['isAddSuggestion']||_0x26b0e1[_0x5dc7df]['isRemoved']||_0x26b0e1[_0x5dc7df]['isRemoveSuggestion']))continue;if(0x0==_0x26b0e1[_0x5dc7df]['distance'])continue;const _0x3eb988=_0x26b0e1[_0x5dc7df]['item'];_0x542bbb['isBlock'](_0x3eb988)||_0x542bbb['isLimit'](_0x3eb988)||(_0x26b0e1[_0x5dc7df]['isAdded']&&delete _0x26b0e1[_0x5dc7df]['isAdded'],_0x26b0e1[_0x5dc7df]['isAddSuggestion']&&delete _0x26b0e1[_0x5dc7df]['isAddSuggestion'],_0x26b0e1[_0x5dc7df]['isRemoveSuggestion']&&delete _0x26b0e1[_0x5dc7df]['isRemoveSuggestion'],_0x26b0e1[_0x5dc7df]['isRemoved']&&(_0x26b0e1[_0x5dc7df]['isIncorrect']=!0x0));}return _0x26b0e1['filter'](_0x4b6a51=>!_0x4b6a51['isIncorrect']);}['_makeModelFromTape'](_0x32f9a1,_0xd05a18,_0x2edd3f){const _0x3f06a4=new wt(),_0x449f0b=[],_0x21a9d5=new Map(),_0x326412=this['editor']['model'],_0x59c593=_0x326412['schema'],_0x3a088a=[_0x3f06a4],_0x16d7e6={},_0x3b18df={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x454a39=null;const _0x2573b7=[0x0];for(let _0x51cd47=0x0;_0x51cd47<_0x32f9a1['length'];_0x51cd47++){let _0x4d6bf4,_0x1f56fb;if('elementStart'===_0x32f9a1[_0x51cd47]['type']){_0x4d6bf4=_0x326412['createPositionFromPath'](_0x3f06a4,_0x2573b7);const _0x189522=new ft(_0x32f9a1[_0x51cd47]['item']['name'],_0x32f9a1[_0x51cd47]['item']['getAttributes']());_0x3a088a[0x0]['_appendChild'](_0x189522),_0x2573b7['push'](0x0),_0x3a088a['unshift'](_0x189522),_0x1f56fb=_0x326412['createPositionFromPath'](_0x3f06a4,_0x2573b7),_0x454a39=null;}else{if('elementEnd'===_0x32f9a1[_0x51cd47]['type'])_0x3a088a['shift'](),_0x4d6bf4=_0x326412['createPositionFromPath'](_0x3f06a4,_0x2573b7),_0x2573b7['pop'](),_0x2573b7[_0x2573b7['length']-0x1]++,_0x1f56fb=_0x326412['createPositionFromPath'](_0x3f06a4,_0x2573b7),_0x454a39=null;else{if(_0x4d6bf4=_0x326412['createPositionFromPath'](_0x3f06a4,_0x2573b7),_0x454a39&&_0x151603(_0x454a39,_0x32f9a1[_0x51cd47]['item']))_0x454a39['_data']+=_0x32f9a1[_0x51cd47]['item']['data'];else{const _0x1ca42f=new _t(_0x32f9a1[_0x51cd47]['item']['data'],_0x32f9a1[_0x51cd47]['item']['getAttributes']());_0x3a088a[0x0]['_appendChild'](_0x1ca42f),_0x454a39=_0x1ca42f;}_0x2573b7[_0x2573b7['length']-0x1]+=_0x32f9a1[_0x51cd47]['item']['offsetSize'],_0x1f56fb=_0x326412['createPositionFromPath'](_0x3f06a4,_0x2573b7);}}for(const _0x5527c4 of _0x32f9a1[_0x51cd47]['markersStart'])_0x21a9d5['set'](_0x5527c4,{'start':_0x4d6bf4,'end':null});_0x79b87e('isRemoveSuggestion',_0x51cd47,_0x4d6bf4,_0x1f56fb),_0x79b87e('isAddSuggestion',_0x51cd47,_0x4d6bf4,_0x1f56fb),_0x79b87e('isRemoved',_0x51cd47,_0x4d6bf4,_0x1f56fb),_0x79b87e('isAdded',_0x51cd47,_0x4d6bf4,_0x1f56fb);for(const _0x540fb4 of _0x32f9a1[_0x51cd47]['markersEnd']){_0x21a9d5['get'](_0x540fb4)['end']=_0x1f56fb;}}for(const [_0x16aa4f,_0x321595]of _0x21a9d5){const _0x41cfe2=this['editor']['model']['createRange'](_0x321595['start'],_0x321595['end']);_0x3f06a4['markers']['set'](_0x16aa4f,_0x41cfe2);}return _0x449f0b['sort']((_0x20d069,_0x16a737)=>{const _0x1969b9=_0x3f06a4['markers']['get']('revision:'+_0x20d069['id']),_0x78deb7=_0x3f06a4['markers']['get']('revision:'+_0x16a737['id']);return _0x1969b9['start']['isBefore'](_0x78deb7['start'])?-0x1:_0x1969b9['start']['isAfter'](_0x78deb7['start'])?0x1:_0x1969b9['end']['isBefore'](_0x78deb7['end'])?-0x1:_0x1969b9['end']['isAfter'](_0x78deb7['end'])?0x1:'add'===_0x20d069['type']?-0x1:0x1;}),{'root':_0x3f06a4,'changes':_0x449f0b};function _0x79b87e(_0x123a2e,_0x17525e,_0x30e9d6,_0xf32280){const _0x430418=!!_0x32f9a1[_0x17525e][_0x123a2e],_0x3c5a2e=_0x430418?_0x32f9a1[_0x17525e][_0x123a2e]['userId']:null,_0x13683d=_0x17525e===_0x32f9a1['length']-0x1,_0x5564ef=_0x3b18df[_0x123a2e][0x0],_0x37aa6a=_0x59c593['isObject'](_0x32f9a1[_0x17525e]['item']);!_0x16d7e6[_0x123a2e]&&_0x430418?_0x16d7e6[_0x123a2e]={'start':_0x30e9d6,'tapeItem':_0x32f9a1[_0x17525e],'userId':_0x3c5a2e,'type':_0x123a2e}:_0x16d7e6[_0x123a2e]&&!_0x430418?(_0x16d7e6[_0x123a2e]['end']=_0x30e9d6,_0xe1e0fc(_0x16d7e6[_0x123a2e]),_0x16d7e6[_0x123a2e]=null):_0x16d7e6[_0x123a2e]&&_0x430418&&_0x16d7e6[_0x123a2e]['userId']!==_0x3c5a2e&&(_0x16d7e6[_0x123a2e]['end']=_0x30e9d6,_0x5564ef&&_0x5564ef['userId']===_0x16d7e6[_0x123a2e]['userId']||_0xe1e0fc(_0x16d7e6[_0x123a2e]),_0x16d7e6[_0x123a2e]={'start':_0x30e9d6,'tapeItem':_0x32f9a1[_0x17525e],'userId':_0x3c5a2e,'type':_0x123a2e}),_0x16d7e6[_0x123a2e]&&_0x37aa6a&&('elementStart'!==_0x32f9a1[_0x17525e]['type']||_0x5564ef&&_0x5564ef['userId']===_0x3c5a2e||_0x3b18df[_0x123a2e]['unshift']({'userId':_0x3c5a2e,'object':_0x32f9a1[_0x17525e]['item'],'change':_0x16d7e6[_0x123a2e]}),'elementEnd'===_0x32f9a1[_0x17525e]['type']&&_0x5564ef&&_0x5564ef['object']===_0x32f9a1[_0x17525e]['item']&&(_0x3b18df[_0x123a2e]['shift'](),_0x16d7e6[_0x123a2e]=_0x5564ef['change'])),_0x16d7e6[_0x123a2e]&&_0x13683d&&(_0x16d7e6[_0x123a2e]['end']=_0xf32280,_0xe1e0fc(_0x16d7e6[_0x123a2e]),_0x16d7e6[_0x123a2e]=null);}function _0xe1e0fc({start:_0x1a777a,end:_0x1307fe,tapeItem:_0x3b6c26,userId:_0x3e22a5,type:_0x2715ee}){const _0x2a2e7e=_0x3b6c26['item'],_0x2cb13c=_0x326412['schema']['isBlock'](_0x2a2e7e)&&!_0x326412['schema']['isLimit'](_0x2a2e7e),_0x3a6faf=_0x1a777a['nodeAfter']==_0x1307fe['parent']&&_0x1307fe['isAtStart'];if(_0x2cb13c&&_0x3a6faf)return;const _0x121e26=_0x326412['createRange'](_0x1a777a,_0x1307fe),_0x1fc980=_0xd05a18['get'](_0x3e22a5),_0xe8fbc7=new r({'author':_0x1fc980,'type':'isAdded'==_0x2715ee||'isAddSuggestion'==_0x2715ee?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2715ee||'isRemoveSuggestion'==_0x2715ee},'createdAt':new Date(),'rootName':_0x2edd3f});_0x449f0b['push'](_0xe8fbc7),_0x3f06a4['markers']['set']('revision:'+_0xe8fbc7['id'],_0x121e26);}function _0x151603(_0x479e7d,_0x26bbb0){const _0x155c01=_0x479e7d['getAttributes'](),_0x2c7b5b=_0x26bbb0['getAttributes']();for(const _0x4c7d89 of _0x155c01){if(_0x4c7d89[0x1]!==_0x26bbb0['getAttribute'](_0x4c7d89[0x0]))return!0x1;_0x2c7b5b['next']();}return _0x2c7b5b['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x35a2c0=>{const _0x1016f0=_0x35a2c0['markerName']['split'](':')[0x1],_0x3a1e3d=this['_getChangeFromId'](_0x1016f0);if(!_0x3a1e3d)return null;const _0x5ecf48='add'==_0x3a1e3d['type']?'insertion':'deletion',_0x423bee=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5ecf48];return _0x3a1e3d['data']['isSuggestion']&&_0x423bee['push']('ck-suggestion-marker-'+_0x5ecf48+'-new'),this['activeChange']==_0x3a1e3d&&_0x423bee['push']('ck-suggestion-marker--active'),{'classes':_0x423bee,'attributes':{'data-change-id':_0x1016f0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x13b2b7=>{_0x13b2b7['on']('element:pre',(_0xf467b1,_0x3f7e99,_0x39266e)=>{const _0x17076a=_0x3f7e99['viewItem']['getChild'](0x0);if(!_0x17076a||!_0x17076a['is']('element','code'))return;if(!_0x39266e['consumable']['consume'](_0x17076a,{'attributes':['vid_start','vid_end']}))return;const _0x275844=_0x3f7e99['modelRange']['start']['nodeAfter'];_0x39266e['writer']['setAttribute']('vid_start',_0x17076a['getAttribute']('vid_start'),_0x275844),_0x39266e['writer']['setAttribute']('vid_end',_0x17076a['getAttribute']('vid_end'),_0x275844);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2d64f9=>{_0x2d64f9['on']('element',(_0x1a0e7e,_0x3a56f2,_0x4dd9e2)=>{if(!_0x4dd9e2['consumable']['consume'](_0x3a56f2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3a56f2['modelRange']['isCollapsed'])return;const _0x52b61b=_0x3a56f2['modelRange']['start']['nodeAfter'];_0x52b61b['hasAttribute']('vid_start')||_0x52b61b['hasAttribute']('vid')||(_0x4dd9e2['writer']['setAttribute']('vid_start',_0x3a56f2['viewItem']['getAttribute']('vid_start'),_0x52b61b),_0x4dd9e2['writer']['setAttribute']('vid_end',_0x3a56f2['viewItem']['getAttribute']('vid_end'),_0x52b61b));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x10e77a=>_0x10e77a['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4cc710,[,_0x2094a5])=>{['vid_start','vid_end','vid']['includes'](_0x2094a5)&&(_0x4cc710['return']=!0x0,_0x4cc710['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x61c5f7=>{_0x61c5f7['on']('attribute:vid',(_0x3ca33d,_0x359ddf,_0x95bcf5)=>{if('\x20'!=_0x359ddf['item']['data']||_0x359ddf['item']['parent']['maxOffset']>0x1)return;if(!_0x95bcf5['consumable']['consume'](_0x359ddf['item'],_0x3ca33d['name']))return;const _0x561139=_0x95bcf5['writer'],_0x52c77e=_0x95bcf5['mapper']['toViewRange'](_0x359ddf['range']);_0x561139['wrap'](_0x52c77e,_0x561139['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5b414f){const _0xec621a=_0x5b414f['plugins']['get']('RevisionViewer');return(_0x526a21,_0x40c07a,_0x339a72)=>{const _0x1d5940=_0x40c07a['markerName']['split'](':')[0x1],_0x5729af=_0xec621a['_getChangeFromId'](_0x1d5940);if(!_0x5729af)return null;const _0x1fc15e='add'==_0x5729af['type']?'split':'merge';if(!_0x339a72['consumable']['test'](_0x40c07a['markerRange'],_0x526a21['name']))return;const _0xfabfd0=_0x40c07a['markerRange']['getWalker'](),_0x2d41ab=_0x40c07a['markerRange']['start'],_0x3d6068=_0x5b414f['model']['schema'];let _0x445ebc=null,_0x2e87b8=null,_0x24db05=!0x1,_0x5f1bc3=!0x1;for(const _0x88c2de of _0xfabfd0){const _0x2fa0dc=_0x88c2de['item'];_0x24db05=_0x24db05||_0x3d6068['isContent'](_0x2fa0dc);const _0x5a1510=_0x339a72['mapper']['toViewElement'](_0x2fa0dc);if(_0x5a1510&&_0x5a1510['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x88c2de['type']&&(_0x3d6068['isBlock'](_0x2fa0dc)&&!_0x3d6068['isLimit'](_0x2fa0dc)&&(_0x2fa0dc['nextSibling']||_0x2d41ab['isAtEnd']?_0x445ebc&&_0x445ebc['parent']==_0x2fa0dc||(_0x445ebc=_0x2fa0dc,_0x588bed(_0x88c2de['previousPosition']),_0x5f1bc3=!0x0):_0x2e87b8=_0x2e87b8||_0x88c2de['previousPosition']));}function _0x588bed(_0x4eddc2){const _0x5c0f70=_0x339a72['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1fc15e}),_0x15393c=_0x339a72['mapper']['toViewPosition'](_0x4eddc2);_0x5729af['data']['isSuggestion']&&_0x339a72['writer']['addClass']('ck-suggestion-marker-'+_0x1fc15e+'-new',_0x5c0f70),_0xec621a['activeChange']==_0x5729af&&_0x339a72['writer']['addClass']('ck-suggestion-marker--active',_0x5c0f70),_0x339a72['writer']['insert'](_0x15393c,_0x5c0f70),_0x339a72['mapper']['bindElementToMarker'](_0x5c0f70,_0x40c07a['markerName']);}_0x24db05||_0x5f1bc3||!_0x2e87b8||_0x588bed(_0x2e87b8);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x46d2a5,_0x1ad874,_0x46676a)=>{const _0x51a81e=_0x46676a['mapper']['markerNameToElements'](_0x1ad874['markerName']);if(_0x51a81e){for(const _0x49ad01 of _0x51a81e)(_0x49ad01['hasClass']('ck-suggestion-marker-split')||_0x49ad01['hasClass']('ck-suggestion-marker-merge'))&&(_0x46676a['mapper']['unbindElementFromMarkerName'](_0x49ad01,_0x1ad874['markerName']),_0x46676a['writer']['remove'](_0x49ad01));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x16d021,_0x218e91,_0x2e1fb2)=>{const _0x3879f7=_0x218e91['markerName']['split'](':')[0x1],_0x2573a5=this['_getChangeFromId'](_0x3879f7);if(!_0x2573a5)return null;const _0x2266e4='add'==_0x2573a5['type']?'split':'merge';if(_0x2e1fb2['consumable']['test'](_0x218e91['markerRange'],_0x16d021['name']))for(const _0x19e4de of _0x218e91['markerRange']['getItems']()){if(!_0x19e4de['is']('element','softBreak'))continue;const _0x37b280=_0x2e1fb2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2266e4}),_0x5081bf=_0x2e1fb2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x19e4de));_0x2573a5['data']['isSuggestion']&&_0x2e1fb2['writer']['addClass']('ck-suggestion-marker-'+_0x2266e4+'-new',_0x37b280),this['activeChange']==_0x2573a5&&_0x2e1fb2['writer']['addClass']('ck-suggestion-marker--active',_0x37b280),_0x2e1fb2['writer']['insert'](_0x5081bf,_0x37b280),_0x2e1fb2['mapper']['bindElementToMarker'](_0x37b280,_0x218e91['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x58f76d=>{for(const _0x1ef127 of this['editor']['model']['document']['getRootNames']()){const _0x456604=this['editor']['model']['document']['getRoot'](_0x1ef127),_0x564204=this['editor']['editing']['view']['document']['getRoot'](_0x1ef127);if(_0x564204){const _0x3c9299=_0x456604['getAttribute']('revisionHistoryAttachChange');if(_0x58f76d['removeAttribute']('data-change-id',_0x564204),_0x58f76d['removeClass']('ck-revision-history-root-add',_0x564204),_0x58f76d['removeClass']('ck-revision-history-root-remove',_0x564204),_0x58f76d['removeClass']('ck-revision-history-root--active',_0x564204),_0x3c9299){const _0x100f93=this['_getChangeFromId'](_0x3c9299);if(!_0x100f93)return null;_0x58f76d['setAttribute']('data-change-id',_0x3c9299,_0x564204),_0x58f76d['addClass']('ck-revision-history-root-'+_0x100f93['type'],_0x564204),this['activeChange']==_0x100f93&&_0x58f76d['addClass']('ck-revision-history-root--active',_0x564204);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x441549=>'revision-comment:'+_0x441549,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x37dd10=>'revision-suggestion:'+_0x37dd10,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x404ecf=>({'name':'suggestion:'+_0x404ecf,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4e377d=>{const _0x515215=_0x4e377d['markerName']['split'](':')[0x1];return'insertion'!=_0x515215&&'deletion'!=_0x515215?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x515215]};}}),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',(_0x81b34c,_0xf7f6f,_0x4c873c)=>{const _0x57931d=_0x4c873c['mapper']['markerNameToElements'](_0xf7f6f['markerName']);if(_0x57931d){for(const _0x2f7315 of _0x57931d)_0x2f7315['is']('uiElement')&&(_0x4c873c['mapper']['unbindElementFromMarkerName'](_0x2f7315,_0xf7f6f['markerName']),_0x4c873c['writer']['remove'](_0x2f7315));}},{'priority':'high'});}['_getChangeFromId'](_0xf03a0e){return this['_changeIdToChange']['get'](_0xf03a0e);}['_getViewForChange'](_0x2e310d){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2e310d),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x339e9a,_0x383c88,_0x59aff3,_0x5d0c42)=>{_0x5d0c42&&this['_balloon']['remove'](_0x5d0c42),_0x59aff3&&(this['_balloon']['add']({'view':_0x59aff3,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x4a8b93=this['editor']['editing'],_0x42a686=this['_getChangeFromId'](_0x59aff3['changeId']);let _0xef3563;if(_0x42a686['data']['isOnRoot']){const _0x316f01=_0x4a8b93['view']['getDomRoot'](_0x42a686['rootName']);_0xef3563=Array['from'](_0x316f01['getClientRects']());}else{const _0x362f59=this['editor']['model']['markers']['get']('revision:'+_0x59aff3['changeId']);_0xef3563=Array['from'](_0x4a8b93['mapper']['markerNameToElements'](_0x362f59['name']))['map'](_0x491fe7=>_0x4a8b93['view']['domConverter']['mapViewToDom'](_0x491fe7))['map'](_0x23ba20=>Array['from'](_0x23ba20['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xef3563[0x0];return _0xef3563['find'](_0x1845ba=>_0x1845ba['top']-0x3<=this['_activeViewTarget']['y']&&_0x1845ba['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1845ba['left']-0x3<=this['_activeViewTarget']['x']&&_0x1845ba['right']+0x3>=this['_activeViewTarget']['x'])||_0xef3563[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x15845f,_0x4cc09b,_0x112e0a,_0xf80588)=>{this['activeView']=_0x112e0a?this['_getViewForChange'](_0x112e0a):null,this['editor']['model']['change'](()=>{const _0x3675f6=this['editor']['editing'];_0xf80588&&(_0xf80588['data']['isOnRoot']?_0x3675f6['view']['change'](_0xf75897=>{_0xf75897['removeClass']('ck-revision-history-root--active',_0x3675f6['view']['document']['getRoot'](_0xf80588['rootName']));}):_0x3675f6['reconvertMarker']('revision:'+_0xf80588['id'])),_0x112e0a&&(_0x112e0a['data']['isOnRoot']?_0x3675f6['view']['change'](_0x224260=>{_0x224260['addClass']('ck-revision-history-root--active',_0x3675f6['view']['document']['getRoot'](_0x112e0a['rootName']));}):_0x3675f6['reconvertMarker']('revision:'+_0x112e0a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1ecc86,_0x52fcce)=>{if(this['activeChange'])return;const _0x45b0f8=this['_findChangeIdFromDomTarget'](_0x52fcce['target']),_0x6d7d85=this['_changeIdToChange']['get'](_0x45b0f8);_0x6d7d85?(this['_activeViewTarget']={'x':_0x52fcce['domEvent']['x'],'y':_0x52fcce['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x6d7d85)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x40ad6c,_0x1cf2f7)=>{const _0x1a2a7f=this['_findChangeIdFromDomTarget'](_0x1cf2f7['target']),_0x2366c6=this['_changeIdToChange']['get'](_0x1a2a7f);_0x2366c6?(this['_activeViewTarget']={'x':_0x1cf2f7['domEvent']['x'],'y':_0x1cf2f7['domEvent']['y']},_0x2366c6===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2366c6):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x11ba78){do{const _0x3808c4=_0x11ba78['getAttribute']('data-change-id');if(_0x3808c4)return _0x3808c4;_0x11ba78=_0x11ba78['parent'];}while(_0x11ba78);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x564030=>{for(const _0x3425d4 of this['editor']['model']['markers'])_0x564030['removeMarker'](_0x3425d4);});}}function et(_0x2a42e4,_0x2029c8){return(_0x5a9e38,_0x1404b9,_0x41cfed)=>{if(!_0x41cfed['consumable']['test'](_0x1404b9['markerRange'],_0x5a9e38['name']))return;const _0x5e5e48=_0x1404b9['markerRange']['getWalker'](),_0x1e46fb=_0x1404b9['markerRange']['start'],_0xea8376=_0x2a42e4['model']['schema'];let _0x1afeb4=null,_0x50968a=null,_0x4b9456=!0x1,_0x26d4df=!0x1;for(const _0x47655e of _0x5e5e48){const _0x295f7b=_0x47655e['item'];_0x4b9456=_0x4b9456||_0xea8376['isContent'](_0x295f7b);const _0x28d983=_0x41cfed['mapper']['toViewElement'](_0x295f7b);if(_0x28d983&&_0x28d983['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x47655e['type']&&(_0xea8376['isBlock'](_0x295f7b)&&!_0xea8376['isLimit'](_0x295f7b)&&(_0x295f7b['nextSibling']||_0x1e46fb['isAtEnd']?_0x1afeb4&&_0x1afeb4['parent']==_0x295f7b||(_0x1afeb4=_0x295f7b,_0x3f2bb2(_0x47655e['previousPosition']),_0x26d4df=!0x0):_0x50968a=_0x50968a||_0x47655e['previousPosition']));}function _0x3f2bb2(_0x2e42a1){const _0x3c7d6f=_0x41cfed['mapper']['toViewPosition'](_0x2e42a1),_0x188c17=_0x41cfed['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2029c8});_0x41cfed['writer']['insert'](_0x3c7d6f,_0x188c17),_0x41cfed['mapper']['bindElementToMarker'](_0x188c17,_0x1404b9['markerName']);}_0x4b9456||_0x26d4df||!_0x50968a||_0x3f2bb2(_0x50968a);};}class bt extends _0x3079a2{constructor(_0x15add4){super(_0x15add4);const _0x215452=_0x15add4['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x215452,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x215452,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1a9b3d=this['editor'],_0x2d84e4=_0x1a9b3d['plugins']['get'](d),_0x3793ff=_0x2d84e4['isReady']?_0x2d84e4['diff']['newRevisionId']:null;_0x1a9b3d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3793ff);}['refresh'](){const {isReady:_0x28e3c6,isEnabled:_0xbdfaaf}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x28e3c6&&_0xbdfaaf;}}class yt extends _0x3079a2{['_step'];constructor(_0x38025b,{direction:_0x55cd76}){super(_0x38025b);const _0x32810c=_0x38025b['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x55cd76?0x1:-0x1,this['listenTo'](_0x32810c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x32810c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x32810c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x32895a=this['editor'],_0x489961=_0x32895a['plugins']['get'](d),{isNavigationMode:_0x14f61c,currentChangeNumber:_0x551354}=_0x489961;let _0x2e6fa9;if(_0x489961['activeChange']=_0x14f61c?_0x489961['diff']['changes']['get'](_0x551354+this['_step']):_0x489961['diff']['changes']['first'],_0x489961['activeChange']['data']['isOnRoot'])_0x2e6fa9=_0x32895a['editing']['view']['getDomRoot'](_0x489961['activeChange']['rootName']);else{const _0x3681a8=_0x32895a['model']['markers']['get']('revision:'+_0x489961['activeChange']['id']);_0x2e6fa9=_0x5b63f3(_0x32895a['editing'],_0x3681a8);}_0x2a7251({'target':_0x2e6fa9,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xed83dd,currentChangeNumber:_0x3068f1,numberOfChanges:_0x2db513,isReady:_0x26bc56,isEnabled:_0x4a7b68}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4a7b68&&_0x26bc56&&_0x2db513)&&(!_0xed83dd||(0x1===this['_step']?_0x3068f1<_0x2db513-0x1:_0x3068f1>0x0));}}class _i extends _0x2a77a8{constructor(_0x562ad7){super(_0x562ad7);const _0x450521=this['bindTemplate'],_0x5b92a9=new _0x92c549(_0x562ad7),_0x3c7b9b=new _0x92c549(_0x562ad7);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',(_0x11322d,_0x11c83b)=>_0x11322d&&_0x11c83b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x182ffa,_0x58d59a,_0x585a89,_0x2aa0e9)=>{if(!_0x182ffa)return y(_0x562ad7,'Loading...');if(!_0x585a89)return y(_0x562ad7,'No\x20changes');const _0x520e52=y(_0x562ad7,'NUMBER_OF_CHANGES',_0x585a89);return _0x2aa0e9?y(_0x562ad7,'X_OF_Y_CHANGES',[_0x58d59a+0x1,_0x585a89]):_0x520e52;}),_0x5b92a9['set']({'label':y(_0x562ad7,'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'}),_0x3c7b9b['set']({'label':y(_0x562ad7,'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'}),_0x5b92a9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3c7b9b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5b92a9['on']('execute',()=>this['fire']('execute','backward')),_0x3c7b9b['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',_0x450521['if']('_isStatusLabelVisible','ck-hidden',_0x3c93c4=>!_0x3c93c4)]},'children':[{'text':_0x450521['to']('isNavigationMode',_0x2cdc7d=>_0x2cdc7d?y(_0x562ad7,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x562ad7,'Total')+':\x20')}]},{'text':_0x450521['to']('_statusText')}]},new _0x375c0c(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5b92a9,_0x3c7b9b]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xca00f2{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x10a792=this['editor']['editing']['view'];_0x10a792['change'](_0x271ff8=>{for(const _0xaf49c1 of _0x10a792['document']['roots'])_0x271ff8['addClass'](ce,_0xaf49c1);});}['hide'](){const _0x4ae494=this['editor']['editing']['view'];_0x4ae494['change'](_0x806760=>{for(const _0x3a6c97 of _0x4ae494['document']['roots'])_0x806760['removeClass'](ce,_0x3a6c97);});}}class R extends _0xca00f2{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x17ef44=this['editor'],_0xee3dc1=_0x17ef44['plugins']['get'](d),_0x44e8a1=_0x17ef44['plugins']['get'](de);_0x17ef44['ui']['componentFactory']['add']('exitToEditing',_0x40c9a4=>{const _0x1cde0e=new _0x92c549(_0x40c9a4);return _0x1cde0e['set']({'label':y(_0x40c9a4,'Back\x20to\x20editing'),'icon':_0x5c9f2c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1cde0e,'execute',()=>{_0x17ef44['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1cde0e;}),_0x17ef44['ui']['componentFactory']['add']('restoreRevision',_0x4a4638=>{const _0x14683f=new _0x92c549(_0x4a4638);return _0x14683f['set']({'label':y(_0x4a4638,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x14683f['bind']('isEnabled')['to'](_0x17ef44['commands']['get']('restoreRevision')),this['listenTo'](_0x14683f,'execute',()=>_0x17ef44['execute']('restoreRevision')),_0x14683f;}),_0x17ef44['ui']['componentFactory']['add']('changesNavigation',_0x36dad2=>{const _0xb9763f=new _i(_0x36dad2),_0x4b87e4=_0x17ef44['commands']['get']('showPreviousChange'),_0x13ca91=_0x17ef44['commands']['get']('showNextChange');return _0xb9763f['bind']('isBackwardNavigationEnabled')['to'](_0x4b87e4,'isEnabled'),_0xb9763f['bind']('isForwardNavigationEnabled')['to'](_0x13ca91,'isEnabled'),_0xb9763f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xee3dc1),this['listenTo'](_0xb9763f,'execute',(_0x36f83c,_0x314d6e)=>{_0x17ef44['execute']('forward'===_0x314d6e?'showNextChange':'showPreviousChange');}),_0xb9763f;}),_0x44e8a1['show'](),_0xee3dc1['on']('change:isReady',(_0x50bff4,_0x4bbe71,_0xabd6d)=>{_0xabd6d?_0x44e8a1['hide']():_0x44e8a1['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x58bc15,_0x1213e7){super(_0x58bc15,_0x1213e7);const _0x2c7c54=this['bindTemplate'];this['set']({'label':y(_0x58bc15,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x58bc15,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2c7c54['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 _0x2b9e1c=this['fieldView']['element'];this['_tooltipString']=_0x2b9e1c['scrollWidth']>_0x2b9e1c['clientWidth']&&_0x2b9e1c['value']||'';}}class ti extends _0x2a77a8{constructor(_0x45784d,_0x4e5c11,_0x4ac4af){super(_0x45784d);const _0x53824a=new _0x3e79cc();_0x53824a['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 _0x16f932=['ck','ck-revision-history-sidebar__revision-author'];_0x4ac4af&&_0x16f932['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4a04c5=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x45784d,_0x4ac4af?'Revision\x20creator':'Revision\x20author')},'children':[_0x53824a,_0x4e5c11['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x16f932},'children':_0x4a04c5});}}function ni(_0x47203d,_0x3f9b6f){const _0x344d74=_0x47203d['bindTemplate'],_0x21ac55=_0x47203d['locale'],_0x47514e=_0x9af7b6(_0x21ac55);_0x47514e['panelPosition']='sw';const _0x555eb4=function(_0xc8d7b9,_0x90c484){const _0x482967=function(_0x1b7e99,_0x19e9cd){const _0x11233f=_0x1b7e99['locale'],_0x9db62c={'Compare\x20against\x20selected':y(_0x11233f,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x11233f,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x11233f,'Restore\x20this\x20revision')};return _0x19e9cd['map'](_0x4c3df1=>{const _0x2c1828=_0x9db62c[_0x4c3df1['name']];return _0x2c1828&&_0x2c1828!==_0x4c3df1['name']&&(_0x4c3df1['name']=_0x2c1828),_0x4c3df1;});}(_0xc8d7b9,_0x90c484),_0x53e3b2=new _0x130bc6();for(const _0x2c6405 of _0x482967){const _0x18afb7={'type':'button','model':new to({'label':_0x2c6405['name'],'class':_0x2c6405['class'],'withText':!0x0,'role':'menuitem','_action':_0x2c6405['action']})};_0x18afb7['model']['bind']('isEnabled')['to'](_0xc8d7b9,'isActionsDropdownOpen',_0x1f53af=>'function'!=typeof _0x2c6405['isEnabled']||(!_0x1f53af||_0x2c6405['isEnabled'](_0xc8d7b9))),_0x53e3b2['add'](_0x18afb7);}return _0x53e3b2;}(_0x47203d,_0x3f9b6f);return _0x47203d['bind']('isActionsDropdownOpen')['to'](_0x47514e,'isOpen'),_0x47514e['buttonView']['set']({'label':y(_0x21ac55,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5c9f2c['threeVerticalDots']}),_0x47514e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x344d74['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x344d74['to'](_0xb48fe3=>_0xb48fe3['stopPropagation']())}}),_0x47514e['on']('execute',_0xe14543=>{_0x47203d['isReady']&&'function'==typeof _0xe14543['source']['_action']&&_0xe14543['source']['_action'](_0x47203d);}),_0x4b332b(_0x47514e,_0x555eb4,{'role':'menu'}),_0x47514e['listenTo'](_0x47203d,'change:isActionsDropdownOpen',(_0x891f1c,_0x3de1fd,_0x13ce67)=>{if(_0x13ce67)for(const _0x4a5270 of _0x47514e['listView']['items']){const _0x25c9d5=_0x4a5270['children']['first'],_0x3d277a=_0x3f9b6f['find'](_0x143cd0=>_0x143cd0['action']===_0x25c9d5['_action'])['isVisible'];_0x4a5270['isVisible']=void 0x0===_0x3d277a||_0x3d277a(_0x47203d);}}),_0x47514e;}class ai extends _0x183fde(_0x2a77a8){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x18b0ac,_0x302197,_0x34f9b0,_0x109f70){super(_0x18b0ac);const _0x51c983=this['bindTemplate'],_0x2d054f=function(_0xa55682,_0x4f634b){const _0x519d0e=Array['from'](_0x4f634b['authors'])['filter'](_0x57d8ce=>_0x57d8ce!=_0x4f634b['creator']);return _0x4f634b['creator']&&_0x519d0e['unshift'](_0x4f634b['creator']),_0x519d0e['map'](_0x1c185a=>new ti(_0xa55682,_0x1c185a,_0x1c185a==_0x4f634b['creator']));}(_0x18b0ac,_0x302197);this['id']=_0x302197['id'],this['_revision']=_0x302197,this['_requireRevisionName']=_0x109f70,this['bind']('name','createdAt')['to'](_0x302197),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x370615=>{return _0x20887d=_0x18b0ac['uiLanguage'],(_0x585d3b=_0x370615)['toLocaleDateString'](_0x20887d,{'month':'long','day':'numeric'})+',\x20'+_0x585d3b['toLocaleTimeString'](_0x20887d,{'hour':'numeric','minute':'numeric'});var _0x20887d,_0x585d3b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x18b0ac,_0x4a30cf),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3b6138=>_0x3b6138||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xaa8cfa,_0x5bb5f2)=>_0xaa8cfa&&_0x5bb5f2),this['revisionActionsView']=_0x34f9b0&&_0x34f9b0['length']?ni(this,_0x34f9b0):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x51c983['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x51c983['if']('isEnabled','ck-disabled',_0x1d5de3=>!_0x1d5de3),_0x51c983['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x51c983['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x51c983['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':_0x51c983['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':_0x2d054f}]},this['revisionActionsView']],'on':{'click':_0x51c983['to'](_0x58cc04=>{_0x58cc04['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1b0422=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1b0422,'change',()=>{this['_requireRevisionName']&&!_0x1b0422['value']||this['fire']('setName',{'id':this['id'],'name':_0x1b0422['value']}),_0x1b0422['value']||(_0x1b0422['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(_0x5b60d7,_0x5cd783){const _0x4a2add=_0xebccfa['fromJSDate'](_0x5b60d7)['setLocale'](_0x5cd783),_0x55ead6=_0xebccfa['local'](),_0x1f1dca=_0x55ead6['minus']({'days':0x1})['startOf']('day');let _0x35765d,_0x3eb9c1;return _0x4a2add['hasSame'](_0x55ead6,'day')?(_0x35765d=_0x4a2add['startOf']('day')['toJSDate'](),_0x3eb9c1=_0x4a2add['toRelativeCalendar']()):_0x4a2add['hasSame'](_0x1f1dca,'day')?(_0x35765d=_0x1f1dca['toJSDate'](),_0x3eb9c1=_0x4a2add['toRelativeCalendar']()):_0x4a2add['hasSame'](_0x55ead6,'week')?(_0x35765d=_0x4a2add['startOf']('week')['toJSDate'](),_0x3eb9c1=_0x4a2add['weekdayLong']||''):_0x4a2add['hasSame'](_0x55ead6,'year')?(_0x35765d=_0x4a2add['startOf']('month')['toJSDate'](),_0x3eb9c1=_0x4a2add['monthLong']||''):(_0x35765d=_0x4a2add['startOf']('year')['toJSDate'](),_0x3eb9c1=String(_0x4a2add['year'])),{'startDate':_0x35765d,'localizedPeriodName':_0x3eb9c1};}class mi extends _0x2a77a8{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1b9408,_0x4af6d2,_0x53ea69,_0x29a201){super(_0x1b9408);const _0x5b6487=di(_0x4af6d2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4af6d2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x53ea69,this['_requireRevisionName']=_0x29a201,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':_0x5b6487}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5d1739){const _0x4add7a=new ai(this['locale'],_0x5d1739,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4add7a);}['removeRevision'](_0x2e86e4){const _0x168ccb=this['revisionViews']['find'](_0x547b63=>_0x547b63['id']===_0x2e86e4['id']);this['revisionViews']['remove'](_0x168ccb);}}class as extends _0x2a77a8{constructor(_0x1cbf91){super(_0x1cbf91);const _0x361f20=new _0x3e79cc();_0x361f20['content']=_0x5c9f2c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x361f20,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1cbf91,'Revision\x20history')]}]});}}class ci extends _0x2a77a8{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x43237c,_0x5785b5,_0x3abe61,_0x198bb1){super(_0x43237c);const _0x6579b3=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5785b5,this['_revisionActions']=_0x3abe61,this['_requireRevisionName']=_0x198bb1,this['on']('select',(_0x3fea7b,_0x40dde3)=>{this['fire']('revisionSelected',_0x40dde3);}),this['on']('setName',(_0x1bb3ff,_0x3aabba)=>{this['fire']('revisionSetName',_0x3aabba);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x43237c),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x6579b3['if']('isEnabled','ck-disabled',_0xa88e8d=>!_0xa88e8d)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5cc833 of this['_revisions'])this['_addRevision'](_0x5cc833);this['_revisions']['on']('add',(_0x19bd58,_0x14d6cf)=>{this['_addRevision'](_0x14d6cf);}),this['_revisions']['on']('remove',(_0x17f816,_0x306be7)=>{this['_removeRevision'](_0x306be7);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x17e67f=>_0x17e67f['revisionViews']['map'](_0x1b7cc8=>_0x1b7cc8))['flat']();}['selectRevision'](_0x5758c6){for(const _0x5e16d0 of this['revisionViews'])_0x5758c6&&_0x5758c6['id']===_0x5e16d0['id']?_0x5e16d0['select']():_0x5e16d0['deselect']();}['highlightRevisions'](_0x38c295){for(const _0x5f4b31 of this['revisionViews'])_0x38c295['some'](({id:_0x3dec11})=>_0x3dec11===_0x5f4b31['id'])?_0x5f4b31['highlight']():_0x5f4b31['unhighlight']();}['_addRevision'](_0x3c7dc4){const _0x44dadf=di(_0x3c7dc4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x26bcc6=this['timePeriodViews']['get'](0x0);_0x26bcc6&&_0x26bcc6['startDate']['getTime']()===_0x44dadf['getTime']()||(_0x26bcc6=new mi(this['locale'],_0x44dadf,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x26bcc6)),_0x26bcc6['addRevision'](_0x3c7dc4);}['_removeRevision'](_0x27ad50){const _0x178fe7=di(_0x27ad50['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x178fe7)['removeRevision'](_0x27ad50);}['_getTimePeriodViewByStartDate'](_0x5e2cf2){return this['timePeriodViews']['find'](_0x5542c5=>_0x5542c5['startDate']['getTime']()===_0x5e2cf2['getTime']());}}class w extends _0xca00f2{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x216856){super(_0x216856),this['_revisionViewer']=_0x216856['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x535a6d=this['_revisionsRepository']['_revisions'],_0x557656=this['_createRevisionActions'](),_0x44211f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x535a6d,_0x557656,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',(_0x5d120c,_0x30f530)=>{_0x30f530['revisionViews']['on']('add',(_0x31d0be,_0x35630d)=>{_0x35630d['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)),_0x44211f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2e1909=this['_revisionsRepository']['getRevision'](0x0);if(_0x2e1909){const _0x3aac53=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2e1909['id']);this['_revisionViewer']['compare'](_0x2e1909,_0x3aac53);}}['_handleRevisionSelected'](_0x5e8f12,_0x16f9a4){const _0x18118b=this['_revisionsRepository']['getRevision'](_0x16f9a4['id']),_0x36bcd7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x18118b['id']);this['_revisionViewer']['compare'](_0x18118b,_0x36bcd7);}['_handleRevisionSetName'](_0x1f86a7,_0x4fc76d){this['_revisionsRepository']['getRevision'](_0x4fc76d['id'])['setName'](_0x4fc76d['name']);}['_handleDiffChange'](_0x3f7afd,_0x361a2f,_0x579ed6){const _0x16ba0e=this['_revisionsRepository']['getRevisionsInDiff'](_0x579ed6);_0x16ba0e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x16ba0e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x16ba0e[0x0]));}['_createRevisionActions'](){const _0x26b767=this['editor'],_0x308b82=w['availableRevisionActions'],_0x429b31=_0x26b767['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x429b31['length'])return _0x429b31['map'](_0x465e2a=>{const _0x474ffb='string'==typeof _0x465e2a?Object['assign']({},_0x308b82[_0x465e2a]):_0x465e2a;return _0x474ffb['action']=_0x474ffb['action']['bind'](this,_0x26b767),_0x474ffb['isVisible']&&(_0x474ffb['isVisible']=_0x474ffb['isVisible']['bind'](this,_0x26b767)),_0x474ffb;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5167c2},_0x244be7)=>{const _0x2629a3=_0x5167c2['get'](d),_0x4dc7e7=_0x2629a3['repository'];let _0x1a1ea4=_0x2629a3['diff']['newRevisionId'],_0x5541f9=_0x244be7['id'];_0x4dc7e7['getIndex'](_0x1a1ea4)>_0x4dc7e7['getIndex'](_0x5541f9)&&([_0x1a1ea4,_0x5541f9]=[_0x5541f9,_0x1a1ea4]),_0x2629a3['compare'](_0x1a1ea4,_0x5541f9);},'isVisible':({plugins:_0x247bd2},_0x41d830)=>{const _0x1e04df=_0x247bd2['get'](d);return!(_0x1e04df['repository']['getRevisionsInDiff'](_0x1e04df['diff'])['length']>0x2)&&!_0x41d830['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x36be02,{id:_0x5e5847})=>{_0x36be02['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5e5847);},'isVisible':({plugins:_0x58f1ce},_0x28f5a9)=>!!_0x58f1ce['get'](d)['repository']['getLaterVisibleRevision'](_0x28f5a9['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x30a4b1},{id:_0x210e91,revisionNameView:_0x27c85e})=>{const _0x2b9dbb=_0x30a4b1['get'](d),_0x2cb335=_0x2b9dbb['repository']['getEarlierVisibleRevision'](_0x210e91);_0x2b9dbb['compare'](_0x210e91,_0x2cb335),_0x27c85e['focus'](),_0x27c85e['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3bc5cf,_0x114609){super(_0x3bc5cf),this['_view']=_0x114609,this['_toolbarConfig']=ct(_0x3bc5cf['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xe01027){const _0x3ecaa7=this['editor'],_0x1a4e86=this['view'],_0x18c553=_0x3ecaa7['editing']['view'],_0x5d2122=_0x1a4e86['editable'],_0x292e7b=_0x18c553['document']['getRoot']();_0x5d2122['name']=_0x292e7b['rootName'],_0x1a4e86['render']();const _0x3e68c6=_0x5d2122['element'];this['setEditableElement'](_0x5d2122['name'],_0x3e68c6),_0x1a4e86['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x18c553['attachDomRoot'](_0x3e68c6),this['_elementReplacer']['replace'](_0xe01027,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4b8c5d=this['view'],_0x347c5c=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x347c5c['detachDomRoot'](_0x4b8c5d['editable']['name']),_0x4b8c5d['destroy']();}['_initToolbar'](){const _0x47ad49=this['view'];_0x47ad49['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x47ad49['stickyPanel']['limiterElement']=_0x47ad49['element'],_0x47ad49['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x49a3fe})=>_0x49a3fe),_0x47ad49['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x47ad49['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4231f9,_0xaae804,_0x4f80d4={}){super(_0x4231f9),this['stickyPanel']=new lt(_0x4231f9),this['toolbar']=new pt(_0x4231f9,{'shouldGroupWhenFull':_0x4f80d4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4231f9,_0xaae804);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x40c6fd,_0x16906f){super(_0x16906f),this['sourceElement']=_0x40c6fd,this['model']['document']['createRoot']();const _0x5d6190=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x5d6190);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x27c095,_0x39c417){const _0x5b773f=new this(_0x27c095,_0x39c417);return await _0x5b773f['initPlugins'](),await _0x5b773f['ui']['init'](_0x27c095),await _0x5b773f['data']['init'](_0x5b773f['config']['get']('initialData')||''),_0x5b773f['fire']('ready'),_0x5b773f;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xca00f2{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x44dd44){super(_0x44dd44),this['result']='end';}}class H extends _0xca00f2{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0xf1cc2c){if(super(_0xf1cc2c),!this['editor']['config']['get']('revisionHistory'))throw new _0x207c90('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x56280a=>this['_showRevisionViewer']({..._0x56280a,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3bfddb=>this['_closeRevisionViewer'](_0x3bfddb)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4e6e08=>this['_restoreRevision'](_0x4e6e08)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4cabab){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4cabab;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x6ac0c3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x6ac0c3);}['getRevision'](_0x1b017d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1b017d);}['getRevisions'](_0x5c37a3={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5c37a3);}['_getRevisionViewerEditorConfig'](){const _0x325b0c=this['editor'],_0x1c5071=_0x2267d8(_0x325b0c,g),_0x501be4=_0x325b0c['plugins']['get']('RevisionTracker'),_0x365cef=_0x325b0c['plugins']['get']('Users')['users'];return _0x1c5071['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1c5071['lazyRoots'],(_0x1c5071['plugins']['push'](k,d,R,class extends _0xca00f2{static get['requires'](){return[d,'Users'];}['init'](){const _0x406ff4=this['editor']['plugins']['get']('Users');for(const _0x369648 of _0x365cef)_0x369648['isAnonymous']||_0x406ff4['getUser'](_0x369648['id'])||_0x406ff4['addUser'](_0x369648);const _0xaf83bf=_0x501be4['repository']['getRevisions']();let _0x3045e4=null;const _0x5e205c=this['editor']['plugins']['get']('RevisionViewer');_0x5e205c['adapter']=_0x501be4['adapter'],_0x5e205c['bind']('isEnabled')['to'](_0x501be4),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x325b0c,'isReadOnly',_0x44ad60=>!_0x44ad60);for(const _0x444787 of _0xaf83bf){const _0x305392=null===_0x444787['creator'];if(_0x305392&&_0x444787['toVersion']===_0x444787['fromVersion'])continue;const _0x1da957=_0x444787['toJSON']();_0x5e205c['addRevisionData'](_0x1da957,(_0x11541c,_0x2792eb,_0x2ff420)=>{if(_0x305392){if(_0x3045e4)_0x3045e4['_update'](_0x11541c,_0x2792eb);else{if(!_0x2792eb){const _0x2c17e9=_0x2ff420['toJSON']();_0x2c17e9['id']=_0x134ce5(),_0x501be4['saveRevision'](_0x2c17e9,_0x2ff420['toVersion'])['then'](_0x3ba80f=>{_0x3045e4=_0x3ba80f;});}}}else _0x444787['_update'](_0x11541c,_0x2792eb);});}}},w),_0x1c5071);}['_enhanceShowRevisionViewerCallback'](){const _0x5d74fe=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xa68db9=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x2d79a7=this['editor']['plugins']['get']('Autosave');await _0x2d79a7['save']();}else await _0xa68db9['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x21c3be=this['_getRevisionViewerEditorConfig']();return _0x5d74fe(_0x21c3be)['then'](_0xaa8cd9=>{return(this['_viewerEditor']=_0xaa8cd9,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xaa8cd9;})['catch'](_0x40e86a=>(console['error'](_0x40e86a),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x50c773=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'](),_0x50c773(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x58a17b=this['editor']['plugins']['get']('Annotations');_0x58a17b['refreshVisibility'](),_0x58a17b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4c80f7){const _0xa9d637=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x290379=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2716c0=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2716c0,_0x4c80f7)['then'](_0x444a16=>(_0x290379['style']['display']='block',_0xa9d637['style']['display']='none',_0x444a16));}['_closeRevisionViewer'](_0x5db65c){const _0x1c462b=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1c462b['style']['display']='',_0x5db65c['destroy']();}async['_restoreRevision'](_0x43ba92){const _0x5b6308=this['editor'],_0x46f233=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1c1633=_0x5b6308['plugins']['get']('RevisionTracker'),_0xffec82=_0x46f233['repository']['getRevision'](_0x43ba92);let _0x3e82ca,_0x57f6d6,_0x5c0f09;try{_0x3e82ca=await _0x46f233['getRevisionData'](_0xffec82),_0x57f6d6=await _0x46f233['getRevisionRootsAttributes'](_0xffec82);}catch(_0x33a7f7){return void console['error'](_0x33a7f7);}_0x5b6308['model']['change'](_0x200389=>{for(const _0x3b1a0a of Array['from'](_0x5b6308['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x200389['removeMarker'](_0x3b1a0a);}),_0x46f233['isReady']=!0x1,_0x5b6308['model']['enqueueChange'](_0x4d0cde=>{_0x4d0cde['setSelection'](null),_0x4d0cde['removeSelectionAttribute'](_0x5b6308['model']['document']['selection']['getAttributeKeys']());const _0x5c98fa=Object['keys'](_0x3e82ca);for(const _0x45370f of _0x5b6308['model']['document']['roots'])'$graveyard'!=_0x45370f['rootName']&&_0x45370f['isAttached']()&&!_0x5c98fa['includes'](_0x45370f['rootName'])&&_0x4d0cde['detachRoot'](_0x45370f);for(const _0x2e214f of _0x5c98fa){let _0x593a8f=_0x5b6308['model']['document']['getRoot'](_0x2e214f);_0x593a8f&&_0x593a8f['isAttached']()||(_0x593a8f=_0x4d0cde['addRoot'](_0x2e214f));const _0x46ed59=_0x57f6d6[_0x2e214f],_0x1a5f6b=Object['keys'](_0x46ed59),_0x4cca8f=_0x3e82ca[_0x2e214f];for(const _0x18d47f of _0x593a8f['getAttributeKeys']())_0x1a5f6b['includes'](_0x18d47f)||_0x4d0cde['removeAttribute'](_0x18d47f,_0x593a8f);for(const _0x238a31 of _0x1a5f6b)_0x4d0cde['setAttribute'](_0x238a31,_0x57f6d6[_0x2e214f][_0x238a31],_0x593a8f);_0x4d0cde['remove'](_0x4d0cde['createRangeIn'](_0x593a8f)),_0x4d0cde['insert'](_0x5b6308['data']['parse'](_0x4cca8f,_0x593a8f),_0x593a8f,0x0);}});const _0x2f2e0e=y(_0x5b6308['locale'],'Restored');if(_0xffec82['name'])_0x5c0f09=-0x1==_0xffec82['name']['indexOf'](_0x2f2e0e)?_0x2f2e0e+':\x20'+_0xffec82['name']:_0xffec82['name'];else _0x5c0f09=_0x2f2e0e+':\x20'+(_0xffec82['createdAt']['toLocaleDateString'](_0x5b6308['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0xffec82['createdAt']['toLocaleTimeString'](_0x5b6308['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1c1633['saveRevision']({'name':_0x5c0f09}),_0x46f233['isReady']=!0x0,_0x5b6308['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};
|