@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240513.0 → 0.0.0-nightly-20240514.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/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.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- 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/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 _0xd653eb,Context as _0x2e185c,PendingActions as _0x5cee9c,icons as _0x245a6e,Command as _0x510569,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x238233,uid as _0xe70ec5,Collection as _0xf2fdb5,logWarning as _0xa71b39,FocusTracker as _0x505ef2,KeystrokeHandler as _0x52cfa0,scrollViewportToShowTarget as _0x2ddcb5,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x9e4f0f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x443655,getMarkerDomElement as _0x3751b2,ConfirmMixin as _0x3b72de,sanitizeEditorConfig as _0x7f0a38}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2c496a,ViewText as _0x29d725,ViewElement as _0x14df3c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1323ee,ViewAttributeElement as _0x257ac4,ViewEmptyElement as _0x518c49,ViewRawElement as _0x432655,ViewUIElement as _0x536129,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3760bd,set as _0x356bf8,unset as _0xa59efd,isEqual as _0x43f8af}from'lodash-es';import{View as _0x1f237a,injectCssTransitionDisabler as ts,submitHandler as _0x4f722c,LabeledFieldView as at,createLabeledInputText as _0x46f58a,createDropdown as _0x202af6,ListView as te,ListItemView as _0x411bab,ButtonView as _0x411755,MenuBarMenuView as _0x528496,MenuBarMenuListView as _0x858071,MenuBarMenuListItemView as _0x35f0fb,MenuBarMenuListItemButtonView as _0x2dfed1,ContextualBalloon as _0x776010,ToolbarSeparatorView as _0x5eea15,IconView as _0x4f9dea,addListToDropdown as _0x1c5d61,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 _0x34cda8}from'luxon';class a extends _0x238233(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3f309e){super(),this['id']=_0x3f309e['id']||_0xe70ec5(),this['creator']=_0x3f309e['creator']||null,this['authors']=_0x3f309e['authors']||[],this['diffData']=_0x3f309e['diffData']||null,this['toVersion']=_0x3f309e['toVersion']||0x0,this['fromVersion']=_0x3f309e['fromVersion']||0x0,this['set']('name',_0x3f309e['name']||''),this['set']('createdAt',_0x3f309e['createdAt']||new Date()),this['set']('attributes',_0x3f309e['attributes']||{});}['setName'](_0x2ca706){this['_update']({'name':_0x2ca706});}['setAttribute'](_0x464b79,_0x4ad9e6){const _0x2767ea=_0x3760bd(this['attributes']);_0x356bf8(_0x2767ea,_0x464b79,_0x4ad9e6),this['_update']({'attributes':_0x2767ea});}['removeAttribute'](_0x445b64){const _0x43390e=_0x3760bd(this['attributes']);_0xa59efd(_0x43390e,_0x445b64),this['_update']({'attributes':_0x43390e});}['_update'](_0x425c1b,_0x3b7262=!0x1){let _0x861116=!0x1;const _0x3abd78={'id':this['id']},_0x3b70bf=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x307939 of _0x3b70bf){const _0x5e084d=_0x425c1b[_0x307939];void 0x0!==_0x5e084d&&_0x5e084d!==this[_0x307939]&&(this[_0x307939]=_0x5e084d,_0x3abd78[_0x307939]=_0x5e084d,_0x861116=!0x0);}_0x861116&&(_0x3abd78['authors']&&(_0x3abd78['authorsIds']=_0x3abd78['authors']['map'](_0x563556=>_0x563556['id']),delete _0x3abd78['authors']),this['fire']('_update',_0x3abd78,_0x3b7262));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4ed3ca=>_0x4ed3ca['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xd653eb{['_revisions'];static get['requires'](){return[_0x443655];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x47a4d0){super(_0x47a4d0),this['_revisions']=new _0xf2fdb5();}['afterInit'](){!function(_0x545a69){function _0x564fa1(_0x1429f9,_0x247aa3,_0xf34956){const _0x5496ef={};_0x5496ef[_0x442f25([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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],_0x5496ef[_0x442f25([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 _0x1670b6=new Uint8Array(0x10);for(let _0x5bb3e0=0xf;_0x5bb3e0>=0x0;--_0x5bb3e0)_0x1670b6[_0x5bb3e0]=_0xf34956%0x100,_0xf34956=parseInt(_0xf34956/0x100);let _0x31431e=null,_0x36ba22=0x10;const _0x429347=new Uint8Array(_0x247aa3),_0x37fb34=[],_0x471872=[];_0x553d28();for(let _0xaeec4e=0x0;_0xaeec4e<_0x1429f9[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaeec4e++)0x10===_0x36ba22&&(_0x31431e=_0x61fbb5(_0x1670b6),_0x36ba22=0x0,_0x3d1ac4(_0x1670b6)),_0x1429f9[_0xaeec4e]^=_0x31431e[_0x36ba22++];return _0x1429f9;function _0x5098a1(_0x25b226){const _0x4a0aed=[];for(let _0x34c307=0x0;_0x34c307<_0x25b226[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34c307+=0x4)_0x4a0aed[_0x442f25([0x70,0x75,0x73,0x68])](_0x25b226[_0x34c307]<<0x18|_0x25b226[_0x34c307+0x1]<<0x10|_0x25b226[_0x34c307+0x2]<<0x8|_0x25b226[_0x34c307+0x3]);return _0x4a0aed;}function _0x3d1ac4(_0x3e3934){for(let _0x26b1e1=0xf;_0x26b1e1>=0x0;_0x26b1e1--){if(0xff!==_0x3e3934[_0x26b1e1]){_0x3e3934[_0x26b1e1]++;break;}_0x3e3934[_0x26b1e1]=0x0;}}function _0x61fbb5(_0x2a2771){const _0x4383e2=_0x37fb34[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x34764d=[0x0,0x0,0x0,0x0];let t=_0x5098a1(_0x2a2771);for(let _0x5af4ca=0x0;_0x5af4ca<0x4;_0x5af4ca++)t[_0x5af4ca]^=_0x37fb34[0x0][_0x5af4ca];for(let _0x9145fd=0x1;_0x9145fd<_0x4383e2;_0x9145fd++){for(let _0x5c34fc=0x0;_0x5c34fc<0x4;_0x5c34fc++)_0x34764d[_0x5c34fc]=_0x5496ef[_0x442f25([0x54,0x31])][t[_0x5c34fc]>>0x18&0xff]^_0x5496ef[_0x442f25([0x54,0x32])][t[(_0x5c34fc+0x1)%0x4]>>0x10&0xff]^_0x5496ef[_0x442f25([0x54,0x33])][t[(_0x5c34fc+0x2)%0x4]>>0x8&0xff]^_0x5496ef[_0x442f25([0x54,0x34])][0xff&t[(_0x5c34fc+0x3)%0x4]]^_0x37fb34[_0x9145fd][_0x5c34fc];t=_0x34764d[_0x442f25([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2464b0=new Uint8Array(0x10);let _0x1b5c97;for(let _0x1423a7=0x0;_0x1423a7<0x4;_0x1423a7++)_0x1b5c97=_0x37fb34[_0x4383e2][_0x1423a7],_0x2464b0[0x4*_0x1423a7]=0xff&(_0x5496ef[_0x442f25([0x53])][t[_0x1423a7]>>0x18&0xff]^_0x1b5c97>>0x18),_0x2464b0[0x4*_0x1423a7+0x1]=0xff&(_0x5496ef[_0x442f25([0x53])][t[(_0x1423a7+0x1)%0x4]>>0x10&0xff]^_0x1b5c97>>0x10),_0x2464b0[0x4*_0x1423a7+0x2]=0xff&(_0x5496ef[_0x442f25([0x53])][t[(_0x1423a7+0x2)%0x4]>>0x8&0xff]^_0x1b5c97>>0x8),_0x2464b0[0x4*_0x1423a7+0x3]=0xff&(_0x5496ef[_0x442f25([0x53])][0xff&t[(_0x1423a7+0x3)%0x4]]^_0x1b5c97);return _0x2464b0;}function _0x553d28(){const _0x406e51=_0x5496ef[_0x442f25([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x429347[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x23b138=0x0;_0x23b138<=_0x406e51;_0x23b138++)_0x37fb34[_0x442f25([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x471872[_0x442f25([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x24f77b=0x4*(_0x406e51+0x1),_0x9adc6d=_0x429347[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1449ad=_0x5098a1(_0x429347);let _0x472659;for(let _0x4f865a=0x0;_0x4f865a<_0x9adc6d;_0x4f865a++)_0x472659=_0x4f865a>>0x2,_0x37fb34[_0x472659][_0x4f865a%0x4]=_0x1449ad[_0x4f865a],_0x471872[_0x406e51-_0x472659][_0x4f865a%0x4]=_0x1449ad[_0x4f865a];let _0x202150,_0x6e7c66=0x0,t=_0x9adc6d;for(;t<_0x24f77b;){_0x202150=_0x1449ad[_0x9adc6d-0x1],_0x1449ad[0x0]^=_0x5496ef[_0x442f25([0x53])][_0x202150>>0x10&0xff]<<0x18^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x8&0xff]<<0x10^_0x5496ef[_0x442f25([0x53])][0xff&_0x202150]<<0x8^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x18&0xff]^_0x5496ef[_0x442f25([0x72,0x63,0x6f,0x6e])][_0x6e7c66]<<0x18,_0x6e7c66+=0x1;for(let _0x3c8ff8=0x1;_0x3c8ff8<_0x9adc6d/0x2;_0x3c8ff8++)_0x1449ad[_0x3c8ff8]^=_0x1449ad[_0x3c8ff8-0x1];_0x202150=_0x1449ad[_0x9adc6d/0x2-0x1],_0x1449ad[_0x9adc6d/0x2]^=_0x5496ef[_0x442f25([0x53])][0xff&_0x202150]^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x8&0xff]<<0x8^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x10&0xff]<<0x10^_0x5496ef[_0x442f25([0x53])][_0x202150>>0x18&0xff]<<0x18;for(let _0x309060=_0x9adc6d/0x2+0x1;_0x309060<_0x9adc6d;_0x309060++)_0x1449ad[_0x309060]^=_0x1449ad[_0x309060-0x1];let _0x1acfa4,_0x4b44e9,_0x584e62=0x0;for(;_0x584e62<_0x9adc6d&&t<_0x24f77b;)_0x1acfa4=t>>0x2,_0x4b44e9=t%0x4,_0x37fb34[_0x1acfa4][_0x4b44e9]=_0x1449ad[_0x584e62],_0x471872[_0x406e51-_0x1acfa4][_0x4b44e9]=_0x1449ad[_0x584e62++],t++;}for(let _0x1c6378=0x1;_0x1c6378<_0x406e51;_0x1c6378++)for(let _0x6f57b7=0x0;_0x6f57b7<0x4;_0x6f57b7++)_0x202150=_0x471872[_0x1c6378][_0x6f57b7],_0x471872[_0x1c6378][_0x6f57b7]=_0x5496ef[_0x442f25([0x55,0x31])][_0x202150>>0x18&0xff]^_0x5496ef[_0x442f25([0x55,0x32])][_0x202150>>0x10&0xff]^_0x5496ef[_0x442f25([0x55,0x33])][_0x202150>>0x8&0xff]^_0x5496ef[_0x442f25([0x55,0x34])][0xff&_0x202150];}}function _0x442f25(_0x210465){return _0x210465['map'](_0x18ca3e=>String['fromCharCode'](_0x18ca3e))['join']('');}(_0x45709d=>{function _0x59982a(){const _0x443071=[{[_0x442f25([0x69,0x64])]:0x1,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x442f25([0x69,0x64])]:0x2,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([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]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x442f25([0x69,0x64])]:0x3,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x442f25([0x69,0x64])]:0x4,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([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]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x442f25([0x69,0x64])]:0x5,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([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]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x6,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x7,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x8,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([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]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0x9,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x442f25([0x69,0x64])]:0xa,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([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]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([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]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([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]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0xb,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x442f25([0x69,0x64])]:0xc,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x442f25([0x69,0x64])]:0xd,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}},{[_0x442f25([0x69,0x64])]:0xe,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x442f25([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([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])},{[_0x442f25([0x69,0x64])]:0xf,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x442f25([0x69,0x64])]:0x10,[_0x442f25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x442f25([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x442f25([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x442f25([0x66,0x67,0x69])]:[0xc]}}];return _0x478564(_0x443071),_0x443071;function _0x7535c3(_0x3717b8){return 0x1<<_0x3717b8-0x1;}function _0x478564(_0x27dca6){_0x27dca6[_0x442f25([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28d0e6=>{_0x28d0e6[_0x442f25([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x7535c3(_0x28d0e6[_0x442f25([0x69,0x64])]),_0x26c049(_0x28d0e6)&&_0x28d0e6[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x478564(_0x28d0e6[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x26c049(_0x5e579b){return _0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5e579b;}const _0x1b262e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xceb418=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x158dbb(_0x4cc5f8){const _0x16fc10=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x56ce31(_0x4cc5f8,new Uint8Array([..._0x1b262e,..._0x16fc10,..._0xceb418]));}function _0x56ce31(_0x2c3e31,_0x2b49ff){const _0x2a9e20=_0x47fe6f(_0x2c3e31),_0x9c6e29=Array[_0x442f25([0x66,0x72,0x6f,0x6d])](_0x5dbe4e(_0x2a9e20)),_0x268851=_0x9c6e29[_0x442f25([0x70,0x6f,0x70])](),_0x5eecde=_0x9c6e29[_0x442f25([0x70,0x6f,0x70])]();return _0x5f0536(_0x564fa1(_0x9c6e29,_0x2b49ff,_0x5eecde+0x100*_0x268851));}function _0x47fe6f(_0x4f9e9b){const _0x19da42=atob(_0x4f9e9b),[_0x464089,_0x1c7e75]=_0x19da42[_0x442f25([0x73,0x70,0x6c,0x69,0x74])](_0x442f25([0x2d]));try{if(atob(_0x1c7e75))return atob(_0x464089);}catch(_0x506485){}return _0x19da42;}function _0x485343(_0x36caf4){try{const _0x58c48f=_0x158dbb(_0x36caf4),_0x170ff1=JSON[_0x442f25([0x70,0x61,0x72,0x73,0x65])](_0x58c48f),_0x26a355=parseInt(_0x170ff1[_0x442f25([0x31])]),_0x532bff=_0x170ff1[_0x442f25([0x32])]||'',_0x26eec5=parseInt(_0x170ff1[_0x442f25([0x33])]),_0x2f58a2=parseInt(_0x170ff1[_0x442f25([0x34])])||0x0,_0x4d373c=parseInt(_0x170ff1[_0x442f25([0x35])])||0x0;return{[_0x442f25([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x532bff,[_0x442f25([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2f58a2,[_0x442f25([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x26a355,[_0x442f25([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x26eec5,[_0x442f25([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4d373c};}catch(_0x119df3){return null;}}const _0x3965a4=_0x59982a(),_0x534d80={[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x10382c,[_0x442f25([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])]:_0x2f91ab,[_0x442f25([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])]:_0x56c51a},_0x15d2f1=_0x45709d[_0x442f25([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3417db=_0x442f25([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x45709d?_0x45709d['context']:_0x45709d['editor'],_0x27254=_0x442f25([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x36]),_0x4c182f=_0x442f25([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]),_0x2a4c5b=_0x3417db['config']['get'](_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x22235b=_0x3965a4[_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26c049)[_0x442f25([0x66,0x69,0x6e,0x64])](_0x596521=>_0x596521[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x15d2f1);function _0x289966(_0x5bdd12,_0x34aa32){_0x534d80[_0x34aa32[_0x442f25([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5bdd12,_0x34aa32),_0x34aa32[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x34aa32[_0x442f25([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d5c47=>_0x38b73d(_0x3417db,_0x1d5c47[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x442f25([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c1210=>_0x289966(_0x5bdd12,_0x2c1210));}function _0x10382c(_0x40505e,_0x35333e){_0x5dc93f(_0x1b6bdf(_0x40505e,_0x35333e),_0x35333e);}function _0x2f91ab(_0x5a2601,_0x383761){function _0x57f880(_0x2763d3,_0x912d9b){try{if(_0x38b73d(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2763d3){const _0x5b0f84=_0xbeb3b9(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x442f25([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5b0f84)/0x2>_0x2763d3[_0x442f25([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x30a041(_0x912d9b[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1b6bdf(_0x2763d3,_0x912d9b);}catch(_0x3c4d5e){return _0x30a041(_0x912d9b[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5dc93f(_0x57f880(_0x5a2601,_0x383761),_0x383761);}function _0x56c51a(_0x4af8c8,_0x2d57c1){const _0x1289fd=_0xceb418[0x0]*_0x1b262e[0x1],_0x7848e0=_0xceb418[0x0]*_0x1b262e[0x2],_0x7e8f4a=_0xceb418[0x2]*_0x1b262e[0x2];_0x38b73d(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xbeb3b9(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x549285()]=_0x7e8f4a);function _0x38205d(_0x2ceee9,_0x247760){try{return _0x6e60d2()?_0x30a041(_0x247760[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x56,0x61,0x6c,0x69,0x64])):_0x1b6bdf(_0x2ceee9,_0x247760);}catch(_0x43381a){return _0x30a041(_0x247760[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3c6c84(_0xd340b1,_0x93fcc){const _0x5e832a=0x7;if(_0xd340b1==_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4d974d();else{if(_0xd340b1==_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])){const _0x393e9d=_0x437d96();_0x393e9d&&_0x4944be(_0x393e9d,_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x276e0d=_0x37f687();window[_0x442f25([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4944be(_0x442f25([0x74,0x69,0x6d,0x65]),_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x276e0d);const _0x30c9e3=_0xbeb3b9(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x442f25([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x30c9e3[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e832a?_0x4944be(_0x442f25([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x30c9e3['on'](_0x442f25([0x61,0x64,0x64]),()=>{_0x30c9e3[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e832a&&_0x4944be(_0x442f25([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x93fcc[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x437d96(){if(!_0x38b73d(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9b109 in window)if(Number['isNaN'](Number(_0x9b109))){if(window[_0x9b109]===_0x1289fd)return _0x442f25([0x74,0x69,0x6d,0x65]);if(window[_0x9b109]===_0x7848e0)return _0x442f25([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x6e60d2(){if(!_0x38b73d(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x39b80a in window)if(Number['isNaN'](Number(_0x39b80a))&&window[_0x39b80a]===_0x7e8f4a)return!0x0;return!0x1;}function _0x4944be(_0x411c16,_0x33bd8f){_0x4d974d(),_0x30a041(_0x33bd8f+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x411c16),window[_0x549285()]=_0x411c16===_0x442f25([0x74,0x69,0x6d,0x65])?_0x1289fd:_0x7848e0;}function _0x37f687(){let _0x319b69=_0xceb418[0x6]*_0x1b262e[0x8]*_0x1b262e[0x6];return _0x38b73d(_0x3417db,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x319b69/=0xa),_0x319b69;}function _0x4d974d(){const _0x240e92=_0x3417db;function _0x5e103b(){_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2c38bc,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x442f25([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2c38bc,_0x240e92[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x240e92[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x240e92[_0x442f25([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x442f25([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2c38bc,_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2c38bc);}_0x240e92[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x72,0x65,0x61,0x64,0x79])?_0x5e103b():_0x240e92[_0x442f25([0x6f,0x6e,0x63,0x65])](_0x442f25([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5e103b(),_0x38b73d(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x46e186=_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xdca6ff=_0x46e186['getRevision'](0x0),_0x3eae9b=_0x46e186['getEarlierVisibleRevision'](_0xdca6ff[_0x442f25([0x69,0x64])]);_0xbeb3b9(_0x240e92,_0x442f25([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x442f25([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xdca6ff[_0x442f25([0x69,0x64])],_0x3eae9b?_0x3eae9b[_0x442f25([0x69,0x64])]:null,0x1)['then'](()=>_0x5e103b());}});}_0x3c6c84(_0x38205d(_0x4af8c8,_0x2d57c1),_0x2d57c1);}function _0x1b6bdf(_0x3658ff,_0x487934){try{return _0x534538(_0x487934)?_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x56,0x61,0x6c,0x69,0x64])):_0x3658ff&&_0x31ffde(_0x3658ff[_0x442f25([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x487934)?_0x3658ff[_0x442f25([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x442f25([0x6f,0x70,0x65,0x6e])][_0x442f25([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x27254)/0x2>_0x3658ff[_0x442f25([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3658ff[_0x442f25([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])):_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x56,0x61,0x6c,0x69,0x64])):_0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2916d7){return _0x30a041(_0x487934[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5dc93f(_0x4b3431,_0x479200){if(_0x3417db instanceof _0x2e185c){const _0x26c65=_0x3417db;_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3ca8cf(_0x26c65):_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])&&window[_0x442f25([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3ca8cf(_0x26c65),_0x30a041(_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xceb418[0x6]*_0x1b262e[0x8]*_0x1b262e[0x6]),_0x26c65[_0x442f25([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x442f25([0x6f,0x6e])](_0x442f25([0x61,0x64,0x64]),(_0x4c2dc8,_0x282aff)=>{_0x4b3431!=_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4b3431!=_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4b3431!=_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xd275aa(_0x282aff);});}else{const _0x23e5de=_0x3417db;_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xd275aa(_0x23e5de):_0x4b3431==_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c])&&_0x23e5de[_0x442f25([0x6f,0x6e])](_0x442f25([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xf00238=0x0;_0x23e5de[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x6f,0x6e])](_0x442f25([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x556c42,_0x2ea23f)=>{_0x2ea23f[0x0][_0x442f25([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf00238++,0x1f8===_0xf00238&&(_0xd275aa(_0x23e5de),_0x30a041(_0x479200[_0x442f25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x442f25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x556c42[_0x442f25([0x6f,0x66,0x66])]());},{'priority':_0x442f25([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x30a041(_0x4efcf1){const _0xda4938=_0x549285();return _0x3417db[_0xda4938]=_0x4efcf1,_0x4efcf1;}function _0x549285(){const _0x373ef0=String(window[_0x442f25([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x442f25([0x6e,0x6f,0x77])]())[_0x442f25([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x442f25([0x2e]),'');let _0x4442e2='';for(let _0x2ffb96=0x0;_0x2ffb96<_0x373ef0[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ffb96+=0x2){let _0x49ceb1=parseInt(_0x373ef0[_0x442f25([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ffb96,_0x2ffb96+0x2));_0x49ceb1>=_0x4c182f[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49ceb1-=_0x4c182f[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4442e2+=_0x4c182f[_0x49ceb1];}return _0x4442e2;}function _0x3ca8cf(_0x34570c){for(const _0x15d142 of _0x34570c[_0x442f25([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xd275aa(_0x15d142);_0xbeb3b9(_0x34570c,_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x442f25([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xbeb3b9(_0x34570c,_0x442f25([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x442f25([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2c38bc;}function _0xd275aa(_0x428cae){function _0x576a6c(){_0x428cae[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x428cae[_0x442f25([0x6d,0x6f,0x64,0x65,0x6c])][_0x442f25([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c38bc,_0x428cae[_0x442f25([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x442f25([0x6d,0x6f,0x64,0x65,0x6c]));}_0x428cae[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x72,0x65,0x61,0x64,0x79])?_0x576a6c():_0x428cae[_0x442f25([0x6f,0x6e,0x63,0x65])](_0x442f25([0x72,0x65,0x61,0x64,0x79]),()=>_0x576a6c());}function _0x2c38bc(){return null;}function _0x31ffde(_0x4bf8a5,_0x4e71c2){const _0x2e5ef5=!!(_0x4bf8a5&_0x4e71c2[_0x442f25([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4641c4=_0x589d90(_0x4bf8a5,_0x4e71c2);return _0x2e5ef5||_0x4641c4;}function _0x589d90(_0x47fc52,_0x513502){const _0x22bbe6=(_0x513502[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x442f25([0x66,0x67,0x69])]||null;return!!_0x22bbe6&&_0x3965a4[_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ccdee=>_0x22bbe6[_0x442f25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccdee[_0x442f25([0x69,0x64])]))[_0x442f25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcc069c=>!_0x4bf8b4(_0xcc069c))[_0x442f25([0x73,0x6f,0x6d,0x65])](_0x6369cb=>!!(_0x47fc52&_0x6369cb[_0x442f25([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4bf8b4(_0x12cf5c){const _0x3975b8={[_0x442f25([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])]:_0x14b75c};return!!_0x12cf5c['forbiddenHandler']&&_0x3975b8[_0x12cf5c['forbiddenHandler']]();}function _0x14b75c(){return!window[_0x442f25([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38b73d(_0x3417db,_0x442f25([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x534538(_0x371c20){if(!_0x38b73d(_0x3417db,_0x371c20[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2c3798=_0x371c20[_0x442f25([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x59d56b=_0x2c3798[_0x442f25([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x26af24=_0x2c3798[_0x442f25([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5011f0=_0x2c3798[_0x442f25([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38b73d(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xbeb3b9(_0x3417db,_0x442f25([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x442f25([0x73,0x74,0x61,0x74,0x65])]==_0x442f25([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x59d56b)return!0x0;if(_0x38b73d(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xbeb3b9(_0x3417db,_0x442f25([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x442f25([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x442f25([0x65,0x6e,0x64])&&_0x26af24)return!0x0;return!(!_0x38b73d(_0x3417db,_0x442f25([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]))||_0xbeb3b9(_0x3417db,_0x442f25([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]))[_0x442f25([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x442f25([0x65,0x6e,0x64])||!_0x5011f0);}function _0x38b73d(_0x14a306,_0x517acc){return _0x14a306[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x442f25([0x68,0x61,0x73])](_0x517acc);}function _0xbeb3b9(_0x121817,_0x5a0633){return _0x121817[_0x442f25([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x442f25([0x67,0x65,0x74])](_0x5a0633);}function _0x5f0536(_0x3b12b7){let _0x21fcd2='';for(const _0x182245 of _0x3b12b7)_0x21fcd2+=String[_0x442f25([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x182245);return _0x21fcd2;}function _0x5dbe4e(_0x875b45){const _0x1f83ec=new Uint8Array(_0x875b45[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x22059a=0x0;_0x22059a<_0x875b45[_0x442f25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22059a++)_0x1f83ec[_0x22059a]=_0x875b45[_0x442f25([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22059a);return _0x1f83ec;}_0x22235b&&_0x289966(_0x485343(_0x2a4c5b),_0x22235b);})(_0x545a69);}(this);}['createRevision'](_0x155d9e){const _0x492a7c=this['editor']['plugins']['get']('Users');return new a({'id':_0x155d9e['id'],'name':_0x155d9e['name'],'creator':_0x155d9e['creatorId']?_0x492a7c['getUser'](_0x155d9e['creatorId']):null,'diffData':_0x155d9e['diffData']||_0x155d9e['data'],'authors':_0x155d9e['authorsIds']['map'](_0x38dd6e=>_0x492a7c['getUser'](_0x38dd6e)),'createdAt':new Date(_0x155d9e['createdAt']),'attributes':_0x155d9e['attributes'],'fromVersion':_0x155d9e['fromVersion'],'toVersion':_0x155d9e['toVersion']});}['addRevision'](_0x3baa2c,_0xdd7308=0x0){this['_revisions']['add'](_0x3baa2c,_0xdd7308);}['getRevision'](_0x43d4dc){return this['_revisions']['get'](_0x43d4dc);}['getRevisions'](_0x430a85={'toJSON':!0x1}){const _0x5a772b=Array['from'](this['_revisions']);return _0x5a772b['reverse'](),_0x430a85['toJSON']?_0x5a772b['map'](_0x3cc05e=>_0x3cc05e['toJSON']()):_0x5a772b;}['getIndex'](_0x5d6b72){return this['_revisions']['getIndex'](_0x5d6b72);}['getEarlierVisibleRevision'](_0x159048){const [,_0x4c31a7]=this['getRevisionsIterator'](_0x159048,{'direction':'earlier'});return _0x4c31a7;}['getLaterVisibleRevision'](_0x42deb9){const [,_0xebd6e]=this['getRevisionsIterator'](_0x42deb9,{'direction':'later'});return _0xebd6e;}['getRevisionsInDiff'](_0x4bb9d1){const _0x4ebd2e=[];for(const _0x304807 of this['getRevisionsIterator'](_0x4bb9d1['newRevisionId']))if(_0x4ebd2e['push'](_0x304807),_0x304807['id']===_0x4bb9d1['oldRevisionId'])break;return _0x4ebd2e;}*['getRevisionsIterator'](_0x2b7428,{direction:_0xb2c717='earlier',filter:_0x6b24fe=_0xd57fd7=>!0x0}={}){const _0x4e0020='earlier'===_0xb2c717?0x1:-0x1;let _0x5a377b=this['_revisions']['get'](_0x2b7428),_0x535d09=this['getIndex'](_0x5a377b);for(yield _0x5a377b;_0x5a377b;){if(_0x535d09+=_0x4e0020,_0x5a377b=this['getRevision'](_0x535d09),!_0x5a377b)return;_0x6b24fe(_0x5a377b)&&(yield _0x5a377b);}}}function y(_0x5a460e,_0x19afa6,_0x2a397d){const t=_0x5a460e['t'];switch(_0x19afa6){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'},_0x2a397d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2a397d);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':_0x1323ee,'a':_0x257ac4,'e':_0x518c49,'r':_0x432655,'u':_0x536129};class l extends _0xd653eb{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x443655,A,_0x5cee9c];}constructor(_0x5d44ee){super(_0x5d44ee),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 _0x339057=_0xe70ec5();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x339057},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 _0x90d2c=this['repository']['getRevision'](0x0),_0x104038=_0x90d2c&&null===_0x90d2c['creator']?_0x90d2c:null;if(this['_continueCurrentRevision']=!!_0x104038&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4fbe66=this['_source']['getCurrentRevisionId'](),_0x13457d=this['repository']['getRevision'](_0x4fbe66);if(_0x13457d)this['_startingVersion']=_0x13457d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xdac6b0=this['_source']['history']['_operations']['find'](_0x6cf4b5=>!_0x6cf4b5['_isInit']),_0x303c0a=_0xdac6b0?_0xdac6b0['baseVersion']:this['_source']['history']['version'];_0x90d2c?(_0x90d2c['toVersion']<_0x303c0a&&_0x90d2c['_update']({'toVersion':_0x303c0a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x104038['id'],this['_startingVersion']=_0x104038['fromVersion']):(this['_startingVersion']=_0x90d2c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x303c0a,this['_continueCurrentRevision']=!0x1);}}else _0x104038&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x104038['toVersion'],this['editor']['model']['document']['history']['version']),_0x104038['fromVersion']===_0x104038['toVersion']?(0x0!==_0x104038['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x104038['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x104038['id'],this['_startingVersion']=_0x104038['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',_0x579a68=>!_0x579a68);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x495be0=this['repository']['getRevision'](0x0),_0x22f7fa=await this['getRevisionDocumentData'](_0x495be0),_0x4d0659=await this['getRevisionRootsAttributes'](_0x495be0);this['_replaceEditorDataWithRevisionData'](_0x22f7fa,_0x4d0659);}}['setSource'](_0x47d1b8){this['_source']=_0x47d1b8;}async['update'](){const _0x20afd4=await this['_source']['getLatestVersion']();if(_0x20afd4>this['currentRevision']['toVersion']){await this['_loadState']();const _0xf954f0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x20afd4});_0xf954f0['authors']=_0xf954f0['authorsIds']['map'](_0x45d0aa=>this['editor']['plugins']['get']('Users')['getUser'](_0x45d0aa)),this['currentRevision']['_update'](_0xf954f0);}}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'](_0x356c34={},_0x217909=null){const _0x140cea=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x217909>this['currentRevision']['toVersion']&&(_0x217909=null),null===_0x217909&&(_0x217909=await this['_source']['getLatestVersion']());const _0x49d571=this['_getFromVersion'](_0x217909),_0x28fd6d=this['buildRevisionData']({'from':_0x49d571,'to':_0x217909});if(this['currentRevision']['toVersion']<_0x217909){const _0x4c72c5=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x217909,'to':_0x217909});_0x4c72c5['authors']=[],_0x4c72c5['authorsIds']=[],_0x4c72c5['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4c72c5,!0x0),delete _0x4c72c5['authors'],_0x140cea['push'](_0x4c72c5);}_0x356c34['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x356c34['name']=_0x356c34['name']||null,_0x356c34['id']=_0x356c34['id']||_0xe70ec5(),_0x356c34={..._0x356c34,..._0x28fd6d};const _0x517f02=this['addRevisionData'](_0x356c34);_0x140cea['push'](_0x356c34);const _0x4e5d9c=this['repository']['getIndex'](_0x517f02);if(0x0!==_0x4e5d9c){const _0xd93689=this['repository']['getRevision'](_0x4e5d9c-0x1);if(_0xd93689['fromVersion']!==_0x217909){const _0x28a675=this['_revisionDataBuilder']['getData'](_0x217909,_0xd93689['toVersion']),_0x37a0bc={'id':_0xd93689['id'],'diffData':_0x28a675['diffData'],'authorsIds':_0x28a675['authorsIds'],'authors':_0x28a675['authorsIds']['map'](_0x5a18ee=>this['editor']['plugins']['get']('Users')['getUser'](_0x5a18ee)),'fromVersion':_0x217909};_0xd93689===this['currentRevision']&&(_0x37a0bc['createdAt']=new Date(_0x356c34['createdAt']['getTime']()+0xa)),_0xd93689['_update'](_0x37a0bc,!0x0),delete _0x37a0bc['authors'],_0x140cea['push'](_0x37a0bc);}}if(this['adapter']){for(const _0x18beb8 of _0x140cea)this['_bufferUpdate'](_0x18beb8['id'],_0x18beb8,!0x0);this['sendBufferedUpdates']();}return _0x517f02;}['addRevisionData'](_0x277e48){const _0x1eb6cd=this['repository']['createRevision'](_0x277e48);return this['adapter']&&_0x1eb6cd['on']('_update',(_0x373f13,_0x563edb,_0x1a3e13)=>{_0x1a3e13||(this['_bufferUpdate'](_0x563edb['id'],_0x563edb,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1eb6cd,this['_findInsertionIndex'](_0x1eb6cd)),_0x1eb6cd;}async['getRevisionDocumentData'](_0x26036f){await this['_loadRevisionData'](_0x26036f);const _0x53ff7a={};for(const _0x459fee in _0x26036f['diffData']){if(_0x26036f['diffData'][_0x459fee]['attachChange']&&!_0x26036f['diffData'][_0x459fee]['attachChange']['isAttached'])continue;const _0xc61c2b=this['_removeRevisionMarkers'](JSON['parse'](_0x26036f['diffData'][_0x459fee]['insertions'])),_0x816014=this['editor']['editing']['view']['document'],_0x11cb58=new _0x2c496a(_0x816014,_0xc61c2b['map'](_0x3cf714=>B(_0x3cf714,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x53ff7a[_0x459fee]=this['editor']['data']['processor']['toData'](_0x11cb58),this['editor']['data']['processor']['useFillerType']('default');}return _0x53ff7a;}async['getRevisionRootsAttributes'](_0x5eaed3){await this['_loadRevisionData'](_0x5eaed3);const _0x1e867c={};for(const _0x213c11 in _0x5eaed3['diffData'])_0x5eaed3['diffData'][_0x213c11]['attachChange']&&!_0x5eaed3['diffData'][_0x213c11]['attachChange']['isAttached']||(_0x1e867c[_0x213c11]=_0x5eaed3['diffData'][_0x213c11]['attributesAfter']||{});return _0x1e867c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4beb7b=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3d1dbc=0x0;_0x3d1dbc<_0x4beb7b['length'];_0x3d1dbc++){const _0x119678=_0x4beb7b[_0x3d1dbc];let _0xf3a59d=!0x1;for(const _0x462c40 of Object['keys'](_0x119678))void 0x0===_0x119678[_0x462c40]?delete _0x119678[_0x462c40]:'id'!==_0x462c40&&(_0xf3a59d=!0x0);_0xf3a59d||(_0x4beb7b[_0x3d1dbc]=null);}if(_0x4beb7b=_0x4beb7b['filter'](_0x2bbbe5=>null!==_0x2bbbe5),!_0x4beb7b['length'])return;for(let _0x30ea8c=0x0;_0x30ea8c<_0x4beb7b['length'];_0x30ea8c++){const _0xcd1c25=_0x4beb7b[_0x30ea8c];void 0x0!==_0xcd1c25['fromVersion']&&void 0x0===_0xcd1c25['toVersion']&&(_0xcd1c25['toVersion']=this['repository']['getRevision'](_0xcd1c25['id'])['toVersion']),void 0x0!==_0xcd1c25['toVersion']&&void 0x0===_0xcd1c25['fromVersion']&&(_0xcd1c25['fromVersion']=this['repository']['getRevision'](_0xcd1c25['id'])['fromVersion']);}const _0x3fc434=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4beb7b,_0x3fc434)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x6831d7=>{if(_0x6831d7){for(const _0x1b4d46 of _0x6831d7)this['setRevisionData']({'id':_0x1b4d46['id'],'createdAt':_0x1b4d46['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x43080a,_0x39512a){let _0x5d0e5a=this['editor']['config']['get']('initialData'),_0x3331a6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5d0e5a){_0x5d0e5a={};for(const _0x5780ff of this['editor']['model']['document']['getRootNames']())_0x5d0e5a[_0x5780ff]='';}if('string'==typeof _0x5d0e5a&&(_0x5d0e5a={'main':_0x5d0e5a}),void 0x0===_0x3331a6){_0x3331a6={};for(const _0x566176 of this['editor']['model']['document']['getRootNames']())_0x3331a6[_0x566176]={};}let _0x433f4d=!0x1;const _0x4a4727=Object['keys'](_0x5d0e5a),_0x354af0=Object['keys'](_0x43080a);for(const _0x5d597e of _0x4a4727){if(_0x5d0e5a[_0x5d597e]!==_0x43080a[_0x5d597e]&&''!==_0x5d0e5a[_0x5d597e]['trim']()){_0x433f4d=!0x0;break;}if(!_0x43f8af(_0x3331a6[_0x5d597e],_0x39512a[_0x5d597e])&&Object['keys'](_0x3331a6[_0x5d597e])['length']>0x0){_0x433f4d=!0x0;break;}}_0x433f4d||(_0x433f4d=_0x354af0['some'](_0x2d9bd8=>!this['editor']['model']['document']['getRoot'](_0x2d9bd8))),_0x433f4d&&_0xa71b39('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5d0e5a,'editorRootsAttributes':_0x3331a6,'revisionData':_0x43080a,'revisionRootsAttributes':_0x39512a}),this['editor']['config']['set']('initialData',_0x43080a),this['editor']['config']['set']('rootsAttributes',_0x39512a);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x394ec9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x394ec9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x32947f){const _0x1d8a5d=this['repository']['getRevisions']();_0x1d8a5d['reverse']();let _0x4fc2e9=0x0;for(;_0x4fc2e9<_0x1d8a5d['length'];){const _0x4e4318=_0x1d8a5d[_0x4fc2e9];if(_0x4e4318===this['currentRevision']){_0x4fc2e9++;continue;}if(_0x4e4318['id']===this['_initialRevisionId'])break;const _0x3c71b1=_0x32947f['toVersion']-_0x4e4318['toVersion']||_0x32947f['fromVersion']-_0x4e4318['fromVersion'];if(_0x3c71b1>0x0)break;if(_0x3c71b1<0x0)_0x4fc2e9++;else{if(!_0x32947f['creator']&&_0x4e4318['creator'])break;if(_0x4e4318['creator']||!_0x32947f['creator']){if(_0x32947f['createdAt']>_0x4e4318['createdAt'])break;_0x4fc2e9++;}else _0x4fc2e9++;}}return _0x4fc2e9;}['setRevisionData'](_0x2f277d){const _0x2d60b4=this['repository']['getRevision'](_0x2f277d['id']);if(_0x2f277d['createdAt']&&(_0x2f277d['createdAt']=new Date(_0x2f277d['createdAt'])),_0x2f277d['authorsIds']){const _0x47a15e=this['editor']['plugins']['get']('Users');_0x2f277d['authors']=_0x2f277d['authorsIds']['map'](_0x21c850=>_0x47a15e['getUser'](_0x21c850));}_0x2d60b4['_update'](_0x2f277d,!0x0);}['buildRevisionData']({revision:_0x8b787b=null,from:_0x2fd561=null,to:_0x219d6a=null}){_0x2fd561=null!==_0x2fd561?_0x2fd561:_0x8b787b['fromVersion'],_0x219d6a=null!==_0x219d6a?_0x219d6a:_0x8b787b['toVersion'];const _0x1f744d=this['_revisionDataBuilder']['getData'](_0x2fd561,_0x219d6a),_0x9f4819={'diffData':_0x1f744d['diffData'],'authorsIds':_0x1f744d['authorsIds'],'fromVersion':_0x2fd561,'toVersion':_0x219d6a};if(!_0x8b787b||_0x219d6a!==_0x8b787b['toVersion']){const _0x1967f3=_0x219d6a-0x1,_0x5eeb74=this['_source']['history']['getOperation'](_0x1967f3);_0x9f4819['createdAt']=_0x5eeb74&&_0x5eeb74['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2fd561===this['_loadedStateData']['fromVersion']){for(const _0x4cf737 of this['_loadedStateData']['authors'])_0x9f4819['authorsIds']['includes'](_0x4cf737['id'])||_0x9f4819['authorsIds']['push'](_0x4cf737['id']);}return _0x9f4819;}['_loadRevisionData'](_0x59dc8e){if(!_0x59dc8e||_0x59dc8e['diffData'])return Promise['resolve']();{const _0x1b47c5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1b47c5,'revisionId':_0x59dc8e['id']})['then'](_0x4bf729=>{_0x59dc8e['diffData']=_0x4bf729['diffData'];});}}['_bufferUpdate'](_0x4c480f,_0x95aa2,_0x5bf2ca){if(this['_bufferedUpdates']['has'](_0x4c480f)){const _0x19c5e0=this['_bufferedUpdates']['get'](_0x4c480f);_0x95aa2=_0x5bf2ca?{..._0x19c5e0,..._0x95aa2}:{..._0x95aa2,..._0x19c5e0};}this['_bufferedUpdates']['set'](_0x4c480f,_0x95aa2);}['_getFromVersion'](_0x5b35d1){const _0x4aef34=this['repository']['getRevisions']();_0x4aef34['reverse'](),_0x4aef34['shift']();const _0x4fa5e2=_0x4aef34['find'](_0x18e764=>_0x18e764['toVersion']<=_0x5b35d1)['toVersion'];return _0x4fa5e2<this['_startingVersion']?this['_startingVersion']:_0x4fa5e2;}['_createInitialRevision'](_0x4b71e8){const _0xf08469=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf08469)this['_initialRevisionId']=_0xf08469['id'];else{const _0xfda9e3=!this['editor']['model']['document']['roots']['find'](_0x35658a=>this['editor']['model']['hasContent'](_0x35658a)),_0x163a59=this['editor']['plugins']['get']('Users')['me']['id'],_0x15b017=y(this['editor']['locale'],_0xfda9e3?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4b71e8,'to':_0x4b71e8,'id':this['_initialRevisionId'],'name':_0x15b017,'creatorId':_0x163a59});}}['_createCurrentRevision'](_0x267066){const _0x233352=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x233352),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x267066,'to':_0x267066,'id':_0x233352,'name':'','creatorId':null}));}['_makeRevision']({name:_0x460b9d,from:_0x35ac22,to:_0x1a7259,creatorId:_0x1a5001,id:_0x23027a}){const _0x284dee=this['buildRevisionData']({'from':_0x35ac22,'to':_0x1a7259});_0x284dee['name']=_0x460b9d,_0x284dee['creatorId']=_0x1a5001,_0x284dee['id']=_0x23027a;const _0x2cef2b=this['addRevisionData'](_0x284dee);return this['adapter']&&this['_bufferUpdate'](_0x284dee['id'],_0x284dee,!0x0),_0x2cef2b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4ef7c8){return(_0x4ef7c8=_0x4ef7c8['filter'](_0x2a6b46=>!_0x2a6b46['name']||'revision-start'!==_0x2a6b46['name']&&'revision-end'!==_0x2a6b46['name']))['forEach'](_0x2f21b4=>{'string'!=typeof _0x2f21b4&&(_0x2f21b4['children']=this['_removeRevisionMarkers'](_0x2f21b4['children']),_0x2f21b4['attributes']=_0x2f21b4['attributes']['filter'](_0x4ebb10=>!_0x4ebb10[0x0]['startsWith']('data-revision-')));}),_0x4ef7c8;}}function B(_0x303118,_0x4f7f37){const _0x5e23ff=_0x4f7f37['editing']['view']['document'];if('string'==typeof _0x303118)return new _0x29d725(_0x5e23ff,_0x303118);{const _0x1a0029=_0x303118['children']['map'](_0x3f85a9=>B(_0x3f85a9,_0x4f7f37));return new(T[_0x303118['type']]||_0x14df3c)(_0x5e23ff,_0x303118['name'],_0x303118['attributes'],_0x1a0029);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5646c9){this['editor']=_0x5646c9,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'](_0x8f542d){this['source']=_0x8f542d;const _0x54484b=new Map(),_0xfecde0=new Map(),_0x28fa78=this['editor']['model']['document']['roots']['map'](_0x56b0b4=>_0x56b0b4['rootName']);for(const _0x3452ed of _0x28fa78){const _0x4e6013=this['editor']['model']['document']['getRoot'](_0x3452ed),_0x428b6a=q(_0x4e6013);_0x54484b['set'](_0x3452ed,_0x428b6a),_0xfecde0['set'](_0x3452ed,Object['fromEntries'](_0x4e6013['getAttributes']()));}const _0x2a703f=Array['from'](this['editor']['model']['markers'])['map'](_0x5a7d60=>[_0x5a7d60['name'],_0x5a7d60['getRange']()]),_0x2c424e=this['source']['version'];this['_saveMetaData'](_0x2c424e,_0x54484b,_0x2a703f,_0xfecde0),this['_startingRevisionId']=this['_revisionId'];const _0x4513e7=new Map(),_0xa31f6d=new Map();for(const _0x198e87 of _0x28fa78){const _0xa9955f=G(_0x198e87);_0x4513e7['set'](_0x198e87,_0xa9955f),_0xa31f6d['set'](_0x198e87,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4513e7,[],_0xa31f6d);}['getData'](_0x501e9f,_0x2ae7e0){if(this['_lastFrom']===_0x501e9f&&this['_lastTo']<=_0x2ae7e0)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2ae7e0,!0x0);else{if(!this['_savedMetaData']['has'](_0x501e9f)){const _0x38a5e1=this['_getPreviousFrom'](_0x501e9f);this['_calculateMetaData'](_0x38a5e1,_0x501e9f,!0x1);}this['_calculateMetaData'](_0x501e9f,_0x2ae7e0,!0x0);}return this['_lastFrom']=_0x501e9f,this['_lastTo']=_0x2ae7e0,this['_getState']();}['loadState'](_0x315bad){this['_reset'](),this['_lastFrom']=_0x315bad['fromVersion'],this['_lastTo']=_0x315bad['toVersion'];for(const _0x2442eb in _0x315bad['diffData']){const _0x142524=_0x315bad['diffData'][_0x2442eb]['attachChange'],_0x79c19b=_0x3760bd(_0x315bad['diffData'][_0x2442eb]['attributesBefore'])||{},_0x82fa8b=this['_makeModelFromViewString'](_0x315bad['diffData'][_0x2442eb]['deletions']);_0x82fa8b['rootName']=_0x2442eb,_0x82fa8b['_isAttached']=!_0x142524||!_0x142524['isAttached'],_0x82fa8b['isAttached']=()=>_0x82fa8b['_isAttached'],this['_baseRoots']['set'](_0x2442eb,_0x82fa8b),this['_baseRootsAttributes']['set'](_0x2442eb,_0x79c19b),_0x142524&&this['_touchedRoots']['set'](_0x2442eb,_0x142524);const _0x55c3bf=this['_makeIdsRoot'](_0x82fa8b);this['_baseIdsRoots']['set'](_0x2442eb,_0x55c3bf);for(const [_0x2f4425,_0x4f4b5c]of _0x82fa8b['markers']){if(!_0x2f4425['startsWith']('revision:'))continue;const _0x20141e=_0x2f4425['split'](':')[0x2];for(const _0x59a09b of _0x4f4b5c['getWalker']({'singleCharacters':!0x0})){const _0x188f4a=this['_getVidAttributeName'](_0x59a09b),_0x20b213='elementEnd'==_0x59a09b['type']?_0x59a09b['previousPosition']['path']['slice'](0x0,-0x1):_0x59a09b['previousPosition']['path'],_0x36de8c=_0x55c3bf['getNodeByPath'](_0x20b213)['getAttribute'](_0x188f4a);this['_touched']['set'](_0x36de8c,{'userId':_0x20141e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x58014b=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4bd06e=>!this['_touched']['has'](_0x4bd06e));let _0x2d437e=0x0;const _0x327ad2=new Map();for(const _0x198c96 in _0x315bad['diffData']){const _0x5f385b=_0x315bad['diffData'][_0x198c96]['attachChange'],_0xc02ad3=_0x3760bd(_0x315bad['diffData'][_0x198c96]['attributesAfter'])||{},_0x3abbc9=this['_makeModelFromViewString'](_0x315bad['diffData'][_0x198c96]['insertions']);_0x3abbc9['rootName']=_0x198c96,_0x3abbc9['_isAttached']=!_0x5f385b||_0x5f385b['isAttached'],_0x3abbc9['isAttached']=()=>_0x3abbc9['_isAttached'],this['_diffRoots']['set'](_0x198c96,_0x3abbc9),this['_diffRootsAttributes']['set'](_0x198c96,_0xc02ad3);const _0x4be782=this['_makeIdsRoot'](_0x3abbc9,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x198c96,_0x4be782),_0x327ad2['set'](_0x198c96,_0x3abbc9['isAttached']()?_0xc02ad3:{});for(const [_0xb5036f,_0x59f2bc]of _0x3abbc9['markers']){if(!_0xb5036f['startsWith']('revision:'))continue;const _0x473294=_0xb5036f['split'](':')[0x2];for(const _0x1d02b5 of _0x59f2bc['getWalker']({'singleCharacters':!0x0})){const _0x112c8a=this['_getVidAttributeName'](_0x1d02b5),_0x591ee0=this['_revisionId']++,_0x32c053='elementEnd'==_0x1d02b5['type']?_0x1d02b5['previousPosition']['path']['slice'](0x0,-0x1):_0x1d02b5['previousPosition']['path'];_0x4be782['getNodeByPath'](_0x32c053)['_setAttribute'](_0x112c8a,_0x591ee0),this['_touched']['set'](_0x591ee0,{'userId':_0x473294});}}for(const _0x6f14b6 of this['editor']['model']['createRangeIn'](_0x3abbc9)['getWalker']({'singleCharacters':!0x0})){const _0x1dd9c7=this['_getVidAttributeName'](_0x6f14b6),_0x1e2f2b='elementEnd'==_0x6f14b6['type']?_0x6f14b6['previousPosition']['path']['slice'](0x0,-0x1):_0x6f14b6['previousPosition']['path'],_0x58f1b5=_0x4be782['getNodeByPath'](_0x1e2f2b);_0x58f1b5['getAttribute'](_0x1dd9c7)>0x0||_0x58f1b5['_setAttribute'](_0x1dd9c7,_0x58014b[_0x2d437e++]);}for(const [_0x5a302a,_0x54ab38]of _0x3abbc9['markers'])_0x5a302a['startsWith']('revision:')||this['_markers']['set'](_0x5a302a,_0x54ab38);}const _0x16ec00=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x16ec00),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x16ec00,0x1));const _0x4ca9bb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4ca9bb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4ca9bb,0x1));const _0x1ab850=Array['from'](this['_diffRoots'])['map'](([_0x1abaed,_0x293f3d])=>[_0x1abaed,q(_0x293f3d)]);this['_saveMetaData'](this['_lastTo'],_0x1ab850,this['_markers'],_0x327ad2);}['_makeModelFromViewString'](_0x24069d){const _0x2f0679=JSON['parse'](_0x24069d),_0x33df08=this['editor']['editing']['view']['document'],_0x297a89=new _0x2c496a(_0x33df08,_0x2f0679['map'](_0x3e2b69=>B(_0x3e2b69,this['editor'])));return this['editor']['data']['toModel'](_0x297a89);}['_saveMetaData'](_0x576472,_0x2c94c2,_0x2534f1,_0x12658f){const _0x2ba9ce=new Map(_0x2c94c2),_0x2d22e8=new Map(_0x3760bd(_0x12658f)),_0x4f4916=new Map();for(const [_0xad23e,_0x27b927]of _0x2534f1)_0x4f4916['set'](_0xad23e,{'start':_0x27b927['start']['clone'](),'end':_0x27b927['end']['clone'](),'rootName':_0x27b927['root']['rootName']});this['_savedMetaData']['set'](_0x576472,{'roots':_0x2ba9ce,'markers':_0x4f4916,'rootsAttributes':_0x2d22e8});}['_removeMetaData'](_0x329ec3){this['_savedMetaData']['delete'](_0x329ec3);}['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'](_0x45d7b6,_0x13a7d1=null){let _0x494479=null;_0x45d7b6['is']('documentFragment')||(_0x494479=new ft(_0x45d7b6['name'],{'vid_start':null===_0x13a7d1?this['_revisionId']++:_0x13a7d1++}));const _0x177122=[];for(const _0x123d91 of _0x45d7b6['getChildren']())if(_0x123d91['is']('element')){_0x177122['push'](this['_makeIdsRoot'](_0x123d91,_0x13a7d1));const _0x12888a=_0x177122[_0x177122['length']-0x1];null!==_0x13a7d1&&(_0x13a7d1=_0x12888a['is']('element','$text')?_0x12888a['getAttribute']('vid')+0x1:_0x12888a['getAttribute']('vid_end')+0x1);}else{for(let _0x2d4e85=0x0;_0x2d4e85<_0x123d91['offsetSize'];_0x2d4e85++)_0x177122['push'](new ft('$text',{'vid':null===_0x13a7d1?this['_revisionId']++:_0x13a7d1++}));}if(_0x45d7b6['is']('documentFragment')){const _0xf58a84=G(_0x45d7b6['rootName']);return _0xf58a84['_insertChild'](0x0,_0x177122),_0xf58a84;}return _0x494479['_setAttribute']('vid_end',null===_0x13a7d1?this['_revisionId']++:_0x13a7d1++),_0x494479['_insertChild'](0x0,_0x177122),_0x494479;}['_calculateMetaData'](_0x168b7e,_0x271fd1,_0x245874){this['_reset']();const {roots:_0x230ff0,markers:_0x2505a1,rootsAttributes:_0x395b05}=this['_savedMetaData']['get'](_0x168b7e);this['_baseRoots']=new Map(_0x230ff0),this['_baseRootsAttributes']=new Map(_0x3760bd(_0x395b05));for(const [_0x206006,_0x456bc3]of this['_baseRoots'])if('$graveyard'!==_0x206006&&(this['_diffRoots']['set'](_0x206006,q(_0x456bc3)),this['_diffRootsAttributes']=new Map(_0x3760bd(_0x395b05)),_0x245874)){const _0x1f78ef=this['_revisionId'];this['_idsRoots']['set'](_0x206006,this['_makeIdsRoot'](_0x456bc3)),this['_baseIdsRoots']['set'](_0x206006,this['_makeIdsRoot'](_0x456bc3,_0x1f78ef));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x245874&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5b55fe,_0x36c700]of _0x2505a1){const _0x2fbf6f=this['_baseRoots']['get'](_0x36c700['rootName']),_0x4bb504=this['_diffRoots']['get'](_0x36c700['rootName']),_0x4ded01=new vt(this['_fixPosition'](_0x36c700['start'],_0x2fbf6f),this['_fixPosition'](_0x36c700['end'],_0x2fbf6f)),_0x322f05=this['_fixRange'](_0x4ded01,_0x4bb504);_0x2fbf6f['markers']['set'](_0x5b55fe,_0x4ded01),this['_markers']['set'](_0x5b55fe,_0x322f05);}this['_applyOperations'](_0x168b7e,_0x271fd1,_0x245874);}['_applyOperations'](_0x5396b4,_0x9d97c7,_0x3d8238){for(const _0xfff794 of this['source']['getOperations'](_0x5396b4,_0x9d97c7))this['_handleOperation'](_0xfff794,_0x3d8238);for(const _0x1fc1a3 of this['_diffRoots']['values']())_0x1fc1a3['markers']['clear']();for(const [_0x731831,_0x219e42]of this['_markers']){this['_diffRoots']['get'](_0x219e42['root']['rootName'])['markers']['set'](_0x731831,_0x219e42['clone']());}const _0x37d7ec=new Map(),_0x3c411d=new Map();for(const [_0x3b0446,_0x3d5efc]of this['_diffRoots'])_0x37d7ec['set'](_0x3b0446,q(_0x3d5efc)),_0x3c411d['set'](_0x3b0446,this['_diffRootsAttributes']['get'](_0x3b0446));this['_saveMetaData'](_0x9d97c7,_0x37d7ec,this['_markers'],_0x3c411d);}['_getPreviousFrom'](_0x1de60a){const _0x1f1ad0=Array['from'](this['_savedMetaData']['keys']());_0x1f1ad0['sort']((_0x1328d7,_0x4b7c87)=>_0x1328d7-_0x4b7c87),_0x1f1ad0['reverse']();for(const _0x4f0718 of _0x1f1ad0)if(_0x4f0718<_0x1de60a)return _0x4f0718;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x6858c,_0xd64af6){const _0x44d023=Array['from'](_0xd64af6['markers'])['map'](([_0x3aa5bf,_0x3c5649])=>[_0x3aa5bf,this['_fixRange'](_0x3c5649,_0x6858c)]);_0x6858c['markers']=new Map(_0x44d023);}['_transformMarkers'](_0x505a72){for(const _0x4c8c04 of this['_markers']['values']()){const _0x10ff95=_0x4c8c04['getTransformedByOperation'](_0x505a72),_0x1edb6f=vt['_createFromRanges'](_0x10ff95);_0x4c8c04['start']=_0x1edb6f['start'],_0x4c8c04['end']=_0x1edb6f['end'];}}['_handleOperation'](_0x37df4a,_0x701d0c){if('addRoot'==_0x37df4a['type']||'detachRoot'==_0x37df4a['type'])return void this['_handleRootOperation'](_0x37df4a,_0x701d0c);if('insert'==_0x37df4a['type']){const _0x5309e5=_0x37df4a['position']['root']['rootName'];this['_diffRoots']['has'](_0x5309e5)||(this['_diffRoots']['set'](_0x5309e5,G(_0x5309e5,!0x0)),this['_diffRootsAttributes']['set'](_0x5309e5,{}),_0x701d0c&&this['_idsRoots']['set'](_0x5309e5,G(_0x5309e5,!0x0)));}else{if('addRootAttribute'==_0x37df4a['type']||'removeRootAttribute'==_0x37df4a['type']||'changeRootAttribute'==_0x37df4a['type'])return void this['_handleRootAttributeOperation'](_0x37df4a);}const _0x1c89d3=this['_cloneOperation'](_0x37df4a,this['_diffRoots']);if('marker'!==_0x37df4a['type']&&(_0x1c89d3['_execute'](),this['_transformMarkers'](_0x1c89d3)),_0x701d0c)switch(_0x1c89d3['type']){case'insert':this['_handleInsertOperation'](_0x37df4a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x37df4a);break;case'merge':this['_handleMergeOperation'](_0x37df4a);break;case'split':this['_handleSplitOperation'](_0x37df4a);break;case'marker':this['_handleMarkerOperation'](_0x37df4a);}}['_cloneOperation'](_0x2436a2,_0xacc023){const _0x52acc5=_0x2436a2['clone']();return _0x52acc5['_authorId']=_0x2436a2['_authorId'],this['_fixOperation'](_0x52acc5,_0xacc023),_0x52acc5;}['_getBaseVids'](_0x506b09){return _0x506b09['map'](_0x36b840=>{const _0x566d23=this['_getVidAttributeName'](_0x36b840);return Number(_0x36b840['item']['getAttribute'](_0x566d23));});}['_generateTape'](_0x194e85,_0x5edb9d){if(_0x194e85['is']('element','$text'))_0x5edb9d['push']({'item':_0x194e85,'type':'text'});else{_0x194e85['is']('element')&&_0x5edb9d['push']({'item':_0x194e85,'type':'elementStart'});for(const _0x3a5bb3 of _0x194e85['getChildren']())this['_generateTape'](_0x3a5bb3,_0x5edb9d);_0x194e85['is']('element')&&_0x5edb9d['push']({'item':_0x194e85,'type':'elementEnd'});}return _0x5edb9d;}['_getState'](){const _0x25e5e1=new Map(this['_touched']),_0x45eb5d=new Map(_0x25e5e1),_0x5206fb=new Map(),_0x3f3f7f={'insertions':{},'deletions':{}},_0x3c77e7={'insertions':{},'deletions':{}},_0x47ae3b=new Map(),_0xa2b489=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xa2b489['delete']('$graveyard');for(const _0x462777 of _0xa2b489){const _0x1b254e=this['_diffRoots']['get'](_0x462777)||G(_0x462777,!0x1),_0x1cae0a=this['_baseRoots']['get'](_0x462777)||G(_0x462777,!0x1);_0x1b254e['isAttached']()||_0x1cae0a['isAttached']()?(_0x3f3f7f['insertions'][_0x462777]=q(_0x1b254e),_0x3f3f7f['deletions'][_0x462777]=q(_0x1cae0a),this['_copyMarkers'](_0x3f3f7f['deletions'][_0x462777],_0x1cae0a),this['_copyMarkers'](_0x3f3f7f['insertions'][_0x462777],_0x1b254e),_0x3c77e7['insertions'][_0x462777]=this['_generateTape'](this['_idsRoots']['get'](_0x462777),[]),_0x3c77e7['deletions'][_0x462777]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x462777)||G(_0x462777,!0x1),[])):_0xa2b489['delete'](_0x462777);}for(const _0x447842 of _0xa2b489){const _0x521f4c=_0x3c77e7['insertions'][_0x447842];for(const _0xdab4da of _0x521f4c){const _0xf1f69f=this['_getVidAttributeName'](_0xdab4da),_0x2d0d23=_0xdab4da['item']['getAttribute'](_0xf1f69f);_0x45eb5d['delete'](_0x2d0d23),_0x2d0d23>=this['_startingRevisionId']&&_0x5206fb['set'](_0x2d0d23,_0x25e5e1['get'](_0x2d0d23));}}for(const _0xc1d15d of _0xa2b489){const _0x3e69e1=_0x3c77e7['insertions'][_0xc1d15d],_0x4090df=this['_getBaseVids'](_0x3c77e7['deletions'][_0xc1d15d]);let _0x4050da=0x0;for(const _0xbdc822 of _0x3e69e1){const _0x5d827f=this['_getVidAttributeName'](_0xbdc822),_0x3382d9=_0xbdc822['item']['getAttribute'](_0x5d827f);if(!_0x5206fb['has'](_0x3382d9)&&!_0x47ae3b['has'](_0x3382d9)){if(_0x45eb5d['has'](_0x3382d9))_0x4050da++;else{if(_0x3382d9!=_0x4090df[_0x4050da]){const _0x9a493f=_0x25e5e1['get'](_0x3382d9)||_0x25e5e1['get'](_0x4090df[_0x4050da]);for(;_0x3382d9!=_0x4090df[_0x4050da];)_0x45eb5d['has'](_0x4090df[_0x4050da])||(_0x47ae3b['set'](_0x4090df[_0x4050da],_0x9a493f),_0x25e5e1['set'](_0x4090df[_0x4050da],_0x9a493f)),_0x4050da++;}_0x4050da++;}}}}for(const _0x4063b3 of _0xa2b489){const _0x167fcb=_0x3c77e7['insertions'][_0x4063b3];for(const _0x144dff of _0x167fcb){const _0x31a7a5=this['_getVidAttributeName'](_0x144dff),_0x117dbd=_0x144dff['item']['getAttribute'](_0x31a7a5);if(_0x47ae3b['has'](_0x117dbd)){const _0x6433c=_0x47ae3b['get'](_0x117dbd);_0x45eb5d['has'](_0x117dbd)||_0x45eb5d['set'](_0x117dbd,{..._0x6433c}),_0x5206fb['set'](_0x117dbd,{..._0x6433c});}}}for(const _0x428c74 of _0x45eb5d['keys']())_0x428c74>=this['_startingRevisionId']&&_0x45eb5d['delete'](_0x428c74);const _0x1e2f2f=new Map();for(const _0x186360 of _0xa2b489){let _0x52ae52=_0x3c77e7['insertions'][_0x186360];for(const _0xed191d of _0x52ae52)if(_0xed191d['item']['is']('element','tableCell')){const _0x28e3f4=this['_getVidAttributeName'](_0xed191d),_0x1059b7=_0xed191d['item']['getAttribute'](_0x28e3f4);if(_0x5206fb['has'](_0x1059b7)){const _0x4d2e0b=_0xed191d['item']['parent']['parent']['getAttribute']('vid_start'),_0x7d1b79=_0x1e2f2f['get'](_0x4d2e0b)||new Set();_0x7d1b79['add'](_0x5206fb['get'](_0x1059b7)['userId']),_0x1e2f2f['set'](_0x4d2e0b,_0x7d1b79);}}_0x52ae52=_0x3c77e7['deletions'][_0x186360];for(const _0x281b6e of _0x52ae52)if(_0x281b6e['item']['is']('element','tableCell')){const _0x3339ac=this['_getVidAttributeName'](_0x281b6e),_0x5871a9=_0x281b6e['item']['getAttribute'](_0x3339ac);if(_0x45eb5d['has'](_0x5871a9)){const _0x11d122=_0x281b6e['item']['parent']['parent']['getAttribute']('vid_start'),_0xfc91c9=_0x1e2f2f['get'](_0x11d122)||new Set();_0xfc91c9['add'](_0x45eb5d['get'](_0x5871a9)['userId']),_0x1e2f2f['set'](_0x11d122,_0xfc91c9);}}for(const _0x4f0519 of _0x1e2f2f['keys']())(_0x5206fb['has'](_0x4f0519)||_0x45eb5d['has'](_0x4f0519))&&_0x1e2f2f['delete'](_0x4f0519);}for(const _0xde556d of _0xa2b489){const _0x5cadda=_0x3c77e7['insertions'][_0xde556d];let _0xdb9552=null,_0x479e4e=null;for(const _0x442bf0 of _0x5cadda){const _0x5bcfa1=this['_getVidAttributeName'](_0x442bf0),_0x517d75=_0x442bf0['item']['getAttribute'](_0x5bcfa1),_0x252504=_0x1e2f2f['get'](_0x517d75);_0x252504&&'elementStart'==_0x442bf0['type']&&(_0xdb9552=Array['from'](_0x252504)[0x0],_0x479e4e=_0x442bf0['item']['getAttribute']('vid_end')),_0xdb9552&&(_0x45eb5d['set'](_0x517d75,{'userId':_0xdb9552}),_0x5206fb['set'](_0x517d75,{'userId':_0xdb9552})),_0x517d75==_0x479e4e&&(_0xdb9552=null,_0x479e4e=null);}}const _0x5e1188={},_0xcc6c1c=new Set();for(const _0x440a29 of _0xa2b489){const _0x5cf849=_0x3f3f7f['deletions'][_0x440a29],_0x223fa1=_0x3f3f7f['insertions'][_0x440a29];for(const {userId:_0x47b8f8}of this['_touchedMarkers']['values']())null!==_0x47b8f8&&_0xcc6c1c['add'](_0x47b8f8);for(const {userId:_0x51f6e2}of this['_touchedRoots']['values']())null!==_0x51f6e2&&_0xcc6c1c['add'](_0x51f6e2);this['_markChanges'](_0x223fa1,_0x3c77e7['insertions'][_0x440a29],_0x5206fb,'insertion',_0xcc6c1c),this['_markChanges'](_0x5cf849,_0x3c77e7['deletions'][_0x440a29],_0x45eb5d,'deletion',_0xcc6c1c),_0x5e1188[_0x440a29]={'insertions':this['_prepareViewToSave'](_0x223fa1),'deletions':this['_prepareViewToSave'](_0x5cf849),'attachChange':this['_touchedRoots']['get'](_0x440a29)||null,'attributesBefore':_0x3760bd(this['_baseRootsAttributes']['get'](_0x440a29))||{},'attributesAfter':_0x3760bd(this['_diffRootsAttributes']['get'](_0x440a29))};}return{'diffData':_0x5e1188,'authorsIds':Array['from'](_0xcc6c1c)};}['_processRootBeforeSave'](_0x4bc01a){for(const [,_0x4b539d]of _0x4bc01a['markers']){const _0xfcc264=_0x4b539d['start']['getAncestors']()['filter'](_0x2305b2=>'tableCell'==_0x2305b2['name']);for(const _0x25d6cd of _0xfcc264)0x1==_0x25d6cd['childCount']&&_0x25d6cd['getChild'](0x0)['is']('element','paragraph')&&_0x25d6cd['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xd4de4){this['_processRootBeforeSave'](_0xd4de4);const _0xe68cc1=this['editor']['data']['toView'](_0xd4de4,{}),_0x524934=Array['from'](_0xe68cc1['getChildren']())['map'](_0x40369b=>this['_getViewJson'](_0x40369b));return JSON['stringify'](_0x524934);}['_getViewJson'](_0x44192e){if(_0x44192e['is']('$text'))return _0x44192e['data'];{const _0x553253=_0x44192e;return{'type':Object['keys'](T)['find'](_0x5dc67a=>_0x44192e instanceof T[_0x5dc67a]),'name':_0x553253['name'],'attributes':Array['from'](_0x553253['getAttributes']()),'children':Array['from'](_0x553253['getChildren']())['map'](_0x184707=>this['_getViewJson'](_0x184707))};}}['_markChanges'](_0x149852,_0x52c55f,_0x56cc15,_0x135bcd,_0x5bffdf){let _0x262a42=null,_0x1f227f=null,_0x4e39a8=0x0;const _0x392302=this['editor']['model'];for(let _0x4756ff=0x0;_0x4756ff<_0x52c55f['length'];_0x4756ff++){const _0x2d9b93=this['_getVidAttributeName'](_0x52c55f[_0x4756ff]),_0x29878f=_0x52c55f[_0x4756ff]['item']['getAttribute'](_0x2d9b93),_0x13669b=_0x56cc15['get'](_0x29878f),_0x397fe4=_0x4756ff==_0x52c55f['length']-0x1;(!_0x262a42&&_0x13669b&&(_0x262a42=_0x13669b,_0x1f227f=_0x52c55f[_0x4756ff]),_0x262a42&&(!_0x13669b||_0x13669b['userId']!=_0x262a42['userId']))&&(_0x28a5f6(_0x13669b,L(_0x1f227f,_0x149852,_0x392302),L(_0x52c55f[_0x4756ff],_0x149852,_0x392302)),_0x262a42=_0x13669b||null,_0x1f227f=_0x13669b?_0x52c55f[_0x4756ff]:null),_0x262a42&&_0x397fe4&&_0x28a5f6(_0x13669b,L(_0x1f227f,_0x149852,_0x392302),W(_0x52c55f[_0x4756ff],_0x149852,_0x392302));}function _0x28a5f6(_0x4acf4d,_0xbbd44d,_0x2de380){const _0x460f13=_0x262a42['userId'],_0x1c894d='revision:'+_0x135bcd+':'+_0x460f13+':'+_0x4e39a8++,_0x27113f=_0x392302['createRange'](_0xbbd44d,_0x2de380);_0x149852['markers']['set'](_0x1c894d,_0x27113f),null!==_0x460f13&&_0x5bffdf['add'](_0x460f13);}}['_getVidAttributeName'](_0x32afd3){switch(_0x32afd3['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2665d2,_0x13cd96){_0x2665d2['baseVersion']=null;for(const _0x35565f in _0x2665d2){const _0x643597=_0x2665d2[_0x35565f];if(_0x643597 instanceof gt){const _0x5c08f2=_0x13cd96['get'](_0x643597['root']['rootName']);_0x2665d2[_0x35565f]=this['_fixPosition'](_0x643597,_0x5c08f2);}if(_0x643597 instanceof vt){const _0x3c0c3e=_0x13cd96['get'](_0x643597['root']['rootName']);_0x2665d2[_0x35565f]=this['_fixRange'](_0x643597,_0x3c0c3e);}'root'===_0x35565f&&(_0x2665d2['root']=_0x13cd96['get'](_0x2665d2['root']['rootName']));}}['_fixRange'](_0x34a589,_0x21765e){return this['editor']['model']['createRange'](this['_fixPosition'](_0x34a589['start'],_0x21765e),this['_fixPosition'](_0x34a589['end'],_0x21765e));}['_fixPosition'](_0x26616d,_0x175640){return this['editor']['model']['createPositionFromPath'](_0x175640,_0x26616d['path'],_0x26616d['stickiness']);}['_handleInsertOperation'](_0x493d4c){const _0x1dc9b3=this['_idsRoots']['get'](_0x493d4c['position']['root']['rootName']),_0x518224=this['_fixPosition'](_0x493d4c['position'],_0x1dc9b3),_0x1c861b=null===_0x493d4c['_authorId']?null:_0x493d4c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5ec1c8=_0x518224['parent'],_0xd308c3=this['_revisionId'],_0x26384b=[];for(const _0x285e69 of _0x493d4c['nodes'])if(_0x285e69['is']('element'))_0x26384b['push'](this['_makeIdsRoot'](_0x285e69));else{for(let _0x5d02e7=0x0;_0x5d02e7<_0x285e69['offsetSize'];_0x5d02e7++)_0x26384b['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x57938c=this['_revisionId'];for(let _0x573004=_0xd308c3;_0x573004<_0x57938c;_0x573004++)this['_touched']['set'](_0x573004,{'userId':_0x1c861b});_0x5ec1c8['_insertChild'](_0x518224['offset'],_0x26384b);}['_handleMoveOperation'](_0x4514ad){(_0x4514ad=this['_cloneOperation'](_0x4514ad,this['_idsRoots']))['_execute']();const _0x558b8e=null===_0x4514ad['_authorId']?null:_0x4514ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b1891=_0x4514ad['getMovedRangeStart'](),_0x48edc0=_0x1b1891['parent'],_0x47bc6f=_0x1b1891['offset'];!function _0x525ebc(_0x2bce54,_0x21cfb0,_0x2b3520,_0x32ab75){for(let _0x24f15e=_0x2b3520;_0x24f15e<_0x32ab75;_0x24f15e++){const _0x353457=_0x21cfb0['getChild'](_0x24f15e);_0x353457['is']('element','$text')?_0x2bce54['set'](_0x353457['getAttribute']('vid'),{'userId':_0x558b8e}):(_0x2bce54['set'](_0x353457['getAttribute']('vid_start'),{'userId':_0x558b8e}),_0x525ebc(_0x2bce54,_0x353457,0x0,_0x353457['childCount']),_0x2bce54['set'](_0x353457['getAttribute']('vid_end'),{'userId':_0x558b8e}));}}(this['_touched'],_0x48edc0,_0x47bc6f,_0x47bc6f+_0x4514ad['howMany']);}['_handleMergeOperation'](_0x5efc4c){const _0x2fe7ed=null===(_0x5efc4c=this['_cloneOperation'](_0x5efc4c,this['_idsRoots']))['_authorId']?null:_0x5efc4c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x202385=_0x5efc4c['targetPosition']['parent'],_0x508c0e=_0x5efc4c['sourcePosition']['parent'],_0x560567=_0x202385['getAttribute']('vid_end'),_0x1e7883=_0x508c0e['getAttribute']('vid_start');_0x202385['_setAttribute']('vid_end',_0x508c0e['getAttribute']('vid_end')),_0x508c0e['_setAttribute']('vid_end',_0x560567),this['_touched']['set'](_0x1e7883,{'userId':_0x2fe7ed}),this['_touched']['set'](_0x560567,{'userId':_0x2fe7ed}),_0x5efc4c['_execute']();}['_handleSplitOperation'](_0x2b673a){const _0x52489f=null===(_0x2b673a=this['_cloneOperation'](_0x2b673a,this['_idsRoots']))['_authorId']?null:_0x2b673a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x22b147=_0x2b673a['graveyardPosition'],_0x2c4607=_0x2b673a['splitPosition']['parent'];_0x2b673a['_execute']();const _0x473772=_0x2c4607['getAttribute']('vid_end'),_0x1bb676=_0x2b673a['insertionPosition']['nodeAfter'];if(_0x22b147){const _0x24fbea=_0x1bb676['getAttribute']('vid_end'),_0x504812=_0x2c4607['getAttribute']('vid_end');_0x2c4607['_setAttribute']('vid_end',_0x24fbea),_0x1bb676['_setAttribute']('vid_end',_0x504812),this['_touched']['set'](_0x2c4607['getAttribute']('vid_end'),{'userId':_0x52489f}),this['_touched']['set'](_0x1bb676['getAttribute']('vid_start'),{'userId':_0x52489f});}else{const _0x34b658=this['_revisionId']++,_0xf80a9e=this['_revisionId']++;_0x2c4607['_setAttribute']('vid_end',_0x34b658),_0x1bb676['_setAttribute']('vid_start',_0xf80a9e),_0x1bb676['_setAttribute']('vid_end',_0x473772),this['_touched']['set'](_0x34b658,{'userId':_0x52489f}),this['_touched']['set'](_0xf80a9e,{'userId':_0x52489f});}}['_handleMarkerOperation'](_0x488859){if(!_0x488859['affectsData'])return;const _0x2012f1=(_0x488859=this['_cloneOperation'](_0x488859,this['_diffRoots']))['oldRange']?_0x488859['oldRange']['root']:null,_0x53ed8a=_0x488859['newRange']?_0x488859['newRange']['root']:null;_0x2012f1&&this['_markers']['delete'](_0x488859['name']),_0x53ed8a&&this['_markers']['set'](_0x488859['name'],_0x488859['newRange']['clone']());const _0x323eec=null===_0x488859['_authorId']?null:_0x488859['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5f1791=_0x488859['name'];if(!this['_touchedMarkers']['has'](_0x5f1791))return void this['_touchedMarkers']['set'](_0x5f1791,{'range':_0x488859['oldRange'],'userId':_0x323eec});const _0x3ffb18=this['_touchedMarkers']['get'](_0x5f1791),_0xebeb22=_0x3ffb18['range'],_0xb4fd77=_0x488859['newRange'];null==_0xebeb22&&null==_0xb4fd77||_0xebeb22&&_0xb4fd77&&_0xebeb22['isEqual'](_0xb4fd77)?this['_touchedMarkers']['delete'](_0x488859['name']):_0x3ffb18['userId']=_0x323eec;}['_handleRootOperation'](_0x2af86d,_0x2247ec){this['_diffRoots']['has'](_0x2af86d['rootName'])?this['_diffRoots']['get'](_0x2af86d['rootName'])['_isAttached']=_0x2af86d['isAdd']:(this['_diffRoots']['set'](_0x2af86d['rootName'],G(_0x2af86d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2af86d['rootName'],{}),_0x2247ec&&this['_idsRoots']['set'](_0x2af86d['rootName'],G(_0x2af86d['rootName'],!0x0)));const _0x597da0=null===_0x2af86d['_authorId']?null:_0x2af86d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x417d14=this['_touchedRoots']['get'](_0x2af86d['rootName']);_0x417d14&&_0x417d14['userId']===_0x597da0?this['_touchedRoots']['delete'](_0x2af86d['rootName']):this['_touchedRoots']['set'](_0x2af86d['rootName'],{'userId':_0x597da0,'isAttached':_0x2af86d['isAdd']});}['_handleRootAttributeOperation'](_0x10d879){const _0x289a01=this['_diffRootsAttributes']['get'](_0x10d879['root']['rootName']);null===_0x10d879['newValue']?delete _0x289a01[_0x10d879['key']]:_0x289a01[_0x10d879['key']]=_0x10d879['newValue'];}}function q(_0x4f3c04){const _0x1781a6=G(_0x4f3c04['rootName'],_0x4f3c04['isAttached']());for(const _0x4565b8 of _0x4f3c04['getChildren']()){const _0x379b0b=_0x4565b8['_clone'](!0x0);_0x1781a6['_appendChild'](_0x379b0b);}return _0x1781a6;}function G(_0x24a8f5,_0x2991b8=!0x0){const _0x139000=new wt();return _0x139000['rootName']=_0x24a8f5,_0x139000['_isAttached']=_0x2991b8,_0x139000['isAttached']=()=>_0x139000['_isAttached'],_0x139000;}function L(_0x4255ee,_0x5ae5cf,_0x1f2158){const _0x422c80='elementEnd'==_0x4255ee['type']?_0x1f2158['createPositionAt'](_0x4255ee['item'],'end'):_0x1f2158['createPositionBefore'](_0x4255ee['item']);return _0x1f2158['createPositionFromPath'](_0x5ae5cf,_0x422c80['path'],_0x422c80['stickiness']);}function W(_0x291d06,_0x22ad00,_0x9443ae){const _0x19dddb='elementStart'==_0x291d06['type']?_0x9443ae['createPositionAt'](_0x291d06['item'],0x0):_0x9443ae['createPositionAfter'](_0x291d06['item']);return _0x9443ae['createPositionFromPath'](_0x22ad00,_0x19dddb['path'],_0x19dddb['stickiness']);}class ns extends _0x1f237a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x434db5,_0x49a036){super(_0x434db5),this['focusTracker']=new _0x505ef2(),this['keystrokes']=new _0x52cfa0(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x49a036),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'](),_0x4f722c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xe490de=_0x5e0785=>_0x5e0785['stopPropagation']();this['keystrokes']['set']('arrowright',_0xe490de),this['keystrokes']['set']('arrowleft',_0xe490de),this['keystrokes']['set']('arrowup',_0xe490de),this['keystrokes']['set']('arrowdown',_0xe490de);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x74b7c6){this['revisionNameInputView']['fieldView']['element']['value']=_0x74b7c6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4b2c81){const _0x18fe36=new at(this['locale'],_0x46f58a),_0x5658d9=_0x18fe36['fieldView'];_0x5658d9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x298770=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4b2c81&&(_0x298770+='\x20('+y(this['locale'],'optional')+')'),(_0x18fe36['label']=_0x298770,_0x5658d9['on']('input',()=>{this['revisionNameInputValue']=_0x5658d9['element']['value']['trim']();}),_0x18fe36);}}class u extends _0xd653eb{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x164a70=this['editor'],_0x1ea0c0=_0x164a70['plugins']['get']('RevisionTracker');_0x164a70['ui']['componentFactory']['add']('revisionHistory',_0x271751=>{const _0x14c484=_0x202af6(_0x271751),_0x18a1be=_0x14c484['panelView']['children'],_0x2c5cd4=new te(_0x271751),_0x522165=new _0x411bab(_0x271751),_0x3bade8=new _0x411755(_0x271751),_0x1a3fd6=new _0x411bab(_0x271751),_0x31da85=new _0x411755(_0x271751);return _0x14c484['bind']('isEnabled')['to'](_0x1ea0c0,'isReady',_0x1ea0c0,'isEnabled',_0x164a70,'isReadOnly',(_0x1fb92b,_0x1712ce,_0x5d523a)=>_0x1fb92b&&_0x1712ce&&!_0x5d523a),_0x14c484['buttonView']['set']({'icon':_0x245a6e['history'],'label':y(_0x271751,'Revision\x20history'),'tooltip':!0x0}),_0x3bade8['set']({'label':y(_0x271751,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3bade8['bind']('isEnabled')['to'](_0x1ea0c0,'isReady',_0x1ea0c0,'isEnabled',_0x164a70,'isReadOnly',(_0x3631ae,_0x1ea1c0,_0x24f512)=>_0x3631ae&&_0x1ea1c0&&!_0x24f512),_0x3bade8['on']('execute',()=>this['_showDialog']()),_0x31da85['set']({'label':y(_0x271751,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x31da85['bind']('isEnabled')['to'](_0x1ea0c0,'isReady',_0x164a70,'isReadOnly',(_0x29bf3e,_0x25ce84)=>_0x29bf3e&&!_0x25ce84),_0x31da85['on']('execute',()=>{_0x164a70['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x14c484['isOpen']=!0x1,_0x164a70['editing']['view']['focus']();}),_0x522165['children']['add'](_0x3bade8),_0x1a3fd6['children']['add'](_0x31da85),_0x2c5cd4['role']='menu',_0x2c5cd4['items']['addMany']([_0x522165,_0x1a3fd6]),_0x18a1be['add'](_0x2c5cd4),_0x14c484;}),_0x164a70['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xe975f4=this['editor'],_0x592541=_0xe975f4['locale'],_0x5705d7=new _0x528496(_0x592541),_0x596247=new _0x858071(_0x592541);_0x5705d7['buttonView']['set']({'icon':_0x245a6e['history'],'label':y(_0x592541,'Revision\x20history')});const _0x116ad0=new _0x35f0fb(_0x592541,_0x5705d7),_0x49765e=new _0x2dfed1(_0x592541);_0x49765e['set']({'label':y(_0x592541,'Save\x20current\x20revision')}),_0x49765e['delegate']('execute')['to'](_0x5705d7),_0x49765e['on']('execute',()=>{this['_showDialog']();}),_0x116ad0['children']['add'](_0x49765e),_0x596247['items']['add'](_0x116ad0);const _0x1a4d9f=new _0x35f0fb(_0x592541,_0x5705d7),_0x16c61b=new _0x2dfed1(_0x592541);return _0x16c61b['set']({'label':y(_0x592541,'Open\x20revision\x20history')}),_0x16c61b['delegate']('execute')['to'](_0x5705d7),_0x16c61b['on']('execute',()=>{_0xe975f4['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1a4d9f['children']['add'](_0x16c61b),_0x596247['items']['add'](_0x1a4d9f),_0x5705d7['panelView']['children']['add'](_0x596247),_0x5705d7;}['_showDialog'](){const _0x294322=this['editor'],_0x174bfe=_0x294322['locale'],t=_0x174bfe['t'],_0x4d6b37=_0x294322['plugins']['get']('Dialog'),_0x546909=_0x294322['plugins']['get']('RevisionTracker');function _0x24e7b9(_0x1f03ab){_0x294322['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1f03ab['revisionName']?_0x1f03ab['revisionNameInputView']['errorText']=y(_0x174bfe,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x294322['plugins']['get'](l)['saveRevision']({'name':_0x1f03ab['revisionName']}),_0x4d6b37['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x24e7b9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4d6b37['show']({'id':'findAndReplace','title':y(_0x174bfe,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4d6b37['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xa28052){_0xa28052['bind']('isEnabled')['to'](_0x546909,'isReady',_0x546909,'isEnabled',_0x294322,'isReadOnly',(_0x319e1f,_0x5d0159,_0x21b1ad)=>_0x319e1f&&_0x5d0159&&!_0x21b1ad);},'onExecute':()=>_0x24e7b9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4cb31c=this['editor'],_0x5084c6=_0x4cb31c['locale'];this['_saveRevisionFormView']=new ns(_0x5084c6,_0x4cb31c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1f237a{['changeId'];['_model'];constructor(_0x546ed0,_0x55bf65){super(_0x546ed0),this['_model']=_0x55bf65,this['changeId']=_0x55bf65['id'];const _0x4e4a04=this['bindTemplate'],_0x181e82=y(_0x546ed0,_0x55bf65['data']['isSuggestion']?'Suggested\x20by':'add'==_0x55bf65['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x55bf65['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4e4a04['to']('type',_0x45f5d7=>'ck-revision-change__'+_0x45f5d7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x181e82}]},{'text':'\x20'+_0x55bf65['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x238233(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2b442d){super(),this['id']=_0x2b442d['id']||_0xe70ec5(),this['author']=_0x2b442d['author'],this['type']=_0x2b442d['type'],this['data']=_0x2b442d['data']||{},this['rootName']=_0x2b442d['rootName'],this['set']('createdAt',_0x2b442d['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(_0x1dbffe,_0x2dc9b0){this['newRevisionId']=_0x1dbffe,this['oldRevisionId']=_0x2dc9b0,this['changes']=new _0xf2fdb5();}['_setChanges'](_0x1ce89e){for(const _0x1112b5 of _0x1ce89e)this['changes']['add'](_0x1112b5);}}const tt={'c':_0x1323ee,'a':_0x257ac4,'e':_0x518c49,'r':_0x432655,'u':_0x536129};class d extends _0xd653eb{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x443655,_0x776010,A];}constructor(_0x29872d){super(_0x29872d),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',(_0x439511,_0x46bb28,_0x2d4b39)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x53b35e=>{for(const _0x5028a4 of this['editor']['editing']['view']['document']['roots'])_0x2d4b39?_0x53b35e['removeClass']('ck-editor__editable__overlay',_0x5028a4):_0x53b35e['addClass']('ck-editor__editable__overlay',_0x5028a4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x8cd1da=>null!==_0x8cd1da),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5aa9e6,_0x1b1d93,_0x4949e8)=>_0x5aa9e6&&_0x4949e8?_0x1b1d93['changes']['getIndex'](_0x4949e8):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x38d2e4,_0x1006ad)=>_0x38d2e4?_0x1006ad['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x776010);}['init'](){const _0x58720d=this['editor'],_0x48b9dc=new yt(_0x58720d,{'direction':'backward'}),_0x1dcac8=new yt(_0x58720d,{'direction':'forward'});(_0x58720d['commands']['add']('showPreviousChange',_0x48b9dc),_0x58720d['commands']['add']('showNextChange',_0x1dcac8),_0x58720d['commands']['add']('restoreRevision',new bt(_0x58720d)),this['on']('change:numberOfChanges',()=>{_0x48b9dc['refresh'](),_0x1dcac8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x58720d['enableReadOnlyMode']('revision-viewer'),_0x58720d['plugins']['has']('WidgetToolbarRepository'))&&_0x58720d['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4f181c){await this['loadRevisionData'](_0x4f181c);const _0x2de0de={};for(const _0x263c8a in _0x4f181c['diffData']){if(_0x4f181c['diffData'][_0x263c8a]['attachChange']&&!_0x4f181c['diffData'][_0x263c8a]['attachChange']['isAttached'])continue;const _0x1c29ed=this['_removeRevisionMarkers'](JSON['parse'](_0x4f181c['diffData'][_0x263c8a]['insertions'])),_0x4ac641=this['editor']['editing']['view']['document'],_0x39678c=new _0x2c496a(_0x4ac641,_0x1c29ed['map'](_0x1589d3=>this['_getViewObj'](_0x1589d3)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2de0de[_0x263c8a]=this['editor']['data']['processor']['toData'](_0x39678c),this['editor']['data']['processor']['useFillerType']('default');}return _0x2de0de;}async['getRevisionRootsAttributes'](_0x402c31){await this['loadRevisionData'](_0x402c31);const _0x238b3e={};for(const _0x57fa6e in _0x402c31['diffData'])_0x402c31['diffData'][_0x57fa6e]['attachChange']&&!_0x402c31['diffData'][_0x57fa6e]['attachChange']['isAttached']||(_0x238b3e[_0x57fa6e]=_0x402c31['diffData'][_0x57fa6e]['attributesAfter']||{});return _0x238b3e;}['_removeRevisionMarkers'](_0x43dfe2){return(_0x43dfe2=_0x43dfe2['filter'](_0x183184=>!_0x183184['name']||'revision-start'!==_0x183184['name']&&'revision-end'!==_0x183184['name']))['forEach'](_0x23b039=>{'string'!=typeof _0x23b039&&(_0x23b039['children']=this['_removeRevisionMarkers'](_0x23b039['children']),_0x23b039['attributes']=_0x23b039['attributes']['filter'](_0x577d5a=>!_0x577d5a[0x0]['startsWith']('data-revision-')));}),_0x43dfe2;}async['compare'](_0x1c06b2,_0x2275b9,_0x27ee86=!0x1){if(!this['isEnabled'])return;const _0x153d99=this['diff'],_0x2b126e=this['repository'],_0x18a00d='string'==typeof _0x1c06b2?_0x2b126e['getRevision'](_0x1c06b2):_0x1c06b2,_0x30423d='string'==typeof _0x2275b9?_0x2b126e['getRevision'](_0x2275b9):_0x2275b9,_0x3e8617=_0x18a00d['id'],_0x1879a9=_0x30423d?_0x30423d['id']:null;if(!_0x27ee86&&this['diff']&&this['diff']['newRevisionId']===_0x3e8617&&this['diff']['oldRevisionId']===_0x1879a9)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3e8617,_0x1879a9);const _0x1d87fa=this['_getRevisionsRange'](_0x18a00d,_0x30423d,!0x0)['map'](_0x162dd4=>this['loadRevisionData'](_0x162dd4));return _0x1d87fa['push'](new Promise(_0x4bb0fd=>{setTimeout(_0x4bb0fd,0x14);})),Promise['all'](_0x1d87fa)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1e8444=this['_getDiff'](_0x3e8617,_0x1879a9);for(const _0x47235f of _0x1e8444['changes'])this['_changeIdToChange']['set'](_0x47235f['id'],_0x47235f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x569f3=>{for(const _0x1bbd0b of this['editor']['model']['document']['getRootNames']())_0x569f3['detachRoot'](_0x1bbd0b);for(const _0x52190a of Object['keys'](_0x1e8444['model'])){const _0x1d8b12=_0x569f3['addRoot'](_0x52190a);for(const _0x84fd11 of Object['keys'](_0x1e8444['attributes'][_0x52190a]))_0x569f3['setAttribute'](_0x84fd11,_0x1e8444['attributes'][_0x52190a][_0x84fd11],_0x1d8b12);_0x569f3['insert'](_0x1e8444['model'][_0x52190a],_0x1d8b12,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1e8444['changes'])),this['isReady']=!0x0;})['catch'](_0x18b15b=>{console['error'](_0x18b15b),this['_cleanUp'](),_0x153d99&&(this['diff']=_0x153d99),this['isReady']=!0x0;});}['addRevisionData'](_0x31a443,_0x2e0eb1){const _0x234610=this['repository']['createRevision'](_0x31a443);return _0x234610['on']('_update',(_0x1d3556,_0x4e6d30,_0x2e020c)=>_0x2e0eb1(_0x4e6d30,_0x2e020c,_0x234610)),this['repository']['addRevision'](_0x234610),_0x234610;}['loadRevisionData'](_0x27de2c){if(!_0x27de2c||_0x27de2c['diffData'])return Promise['resolve']();{const _0x5014d2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5014d2,'revisionId':_0x27de2c['id']})['then'](_0x10af59=>{_0x27de2c['_update']({'diffData':_0x10af59['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},_0x55019e=>{for(const _0x2a60a0 of this['editor']['model']['document']['getRootNames']())_0x55019e['detachRoot'](_0x2a60a0);});}['_sortAndFilterDiffChanges'](_0x527ceb){const _0x2ac16f=[],_0x573d6c=new Map();for(const _0x4f70e4 of this['editor']['model']['document']['getRootNames']()){const _0x1c17be=this['editor']['editing']['view']['getDomRoot'](_0x4f70e4);if(!_0x1c17be)continue;const _0x51eaf7=_0x1c17be['getClientRects']()['item'](0x0);_0x51eaf7&&(_0x2ac16f['push'](_0x4f70e4),_0x573d6c['set'](_0x4f70e4,_0x51eaf7));}return _0x2ac16f['sort']((_0x154023,_0x746702)=>{const _0x1a309e=_0x573d6c['get'](_0x154023),_0x34e5aa=_0x573d6c['get'](_0x746702);return _0x1a309e['y']-_0x34e5aa['y']||_0x1a309e['x']-_0x34e5aa['x'];}),(_0x527ceb=_0x527ceb['filter'](_0x21f7b3=>_0x2ac16f['includes'](_0x21f7b3['rootName'])))['sort']((_0x42af2f,_0x308a24)=>_0x2ac16f['indexOf'](_0x42af2f['rootName'])-_0x2ac16f['indexOf'](_0x308a24['rootName'])),_0x527ceb;}['_makeTape'](_0x58ede8){const _0x1ffac2=Array['from'](_0x58ede8['markers'])['filter'](([_0x3c3e5a,_0x4f3956])=>_0x3c3e5a['startsWith']('revision:')&&!_0x4f3956['isCollapsed']),_0x37d181=Array['from'](this['editor']['model']['createRangeIn'](_0x58ede8)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1ffac2['length'])for(const _0x20e2f6 of _0x37d181){const [_0x204f51,_0x3b0797]=_0x1ffac2[0x0],[,_0x3fdc22,_0x5f456c]=_0x204f51['split'](':');if(_0x3b0797['end']['isEqual'](_0x20e2f6['nextPosition'])&&_0x1ffac2['shift'](),(_0x20e2f6['previousPosition']['isEqual'](_0x3b0797['start'])||_0x20e2f6['previousPosition']['isAfter'](_0x3b0797['start']))&&('insertion'==_0x3fdc22?_0x20e2f6['isAdded']={'userId':_0x5f456c}:'deletion'==_0x3fdc22&&(_0x20e2f6['isRemoved']={'userId':_0x5f456c})),0x0==_0x1ffac2['length'])break;}return _0x37d181;}['_refreshStartEndIndex'](_0x58ac40){const _0x22cc03=new Map();for(let _0x661e3b=0x0;_0x661e3b<_0x58ac40['length'];_0x661e3b++)'text'===_0x58ac40[_0x661e3b]['type']?(_0x58ac40[_0x661e3b]['item']['startIndex']=_0x661e3b,_0x58ac40[_0x661e3b]['item']['endIndex']=_0x661e3b):('elementStart'===_0x58ac40[_0x661e3b]['type']?_0x58ac40[_0x661e3b]['item']['startIndex']=_0x661e3b:'elementEnd'===_0x58ac40[_0x661e3b]['type']&&(_0x58ac40[_0x661e3b]['item']['endIndex']=_0x661e3b),_0x22cc03['set'](_0x58ac40[_0x661e3b]['id'],_0x661e3b));for(const _0x2a1a2d of _0x22cc03['values']())'elementStart'===_0x58ac40[_0x2a1a2d]['type']?_0x58ac40[_0x2a1a2d]['item']['endIndex']=_0x22cc03['get'](_0x58ac40[_0x2a1a2d]['pairId']):'elementEnd'===_0x58ac40[_0x2a1a2d]['type']&&(_0x58ac40[_0x2a1a2d]['item']['startIndex']=_0x22cc03['get'](_0x58ac40[_0x2a1a2d]['pairId']));}['_processTape'](_0x371672){for(let _0x10c931=0x0;_0x10c931<_0x371672['length'];_0x10c931++){if('elementStart'===_0x371672[_0x10c931]['type'])_0x371672[_0x10c931]['item']['startIndex']=_0x10c931;else{if('elementEnd'===_0x371672[_0x10c931]['type']){_0x371672[_0x10c931]['item']['endIndex']=_0x10c931;const _0xc8f0c=_0x371672[_0x10c931]['item']['startIndex'];_0x371672[_0xc8f0c]['pairId']=_0x371672[_0x10c931]['id'],_0x371672[_0x10c931]['pairId']=_0x371672[_0xc8f0c]['id'];}else _0x371672[_0x10c931]['item']['startIndex']=_0x10c931,_0x371672[_0x10c931]['item']['endIndex']=_0x10c931,_0x371672[_0x10c931]['pairId']=null;}_0x371672[_0x10c931]['markersStart']||(_0x371672[_0x10c931]['markersStart']=[],_0x371672[_0x10c931]['markersEnd']=[]);}}['_markInsertions'](_0x3e2ef7,_0x3d6c89){const _0x51431=_0x3e2ef7['filter'](_0x2c38be=>!_0x2c38be['isAdded']);for(let _0x5b42d7=0x0;_0x5b42d7<_0x3d6c89['length'];_0x5b42d7++)_0x3d6c89[_0x5b42d7]['isAdded']&&(_0x51431[_0x5b42d7]['isAdded']=_0x3d6c89[_0x5b42d7]['isAdded']);}['_makeModelFromViewString'](_0x14e55e){const _0xa2c30b=JSON['parse'](_0x14e55e),_0x4a51e2=this['editor']['editing']['view']['document'],_0x2a7b8d=new _0x2c496a(_0x4a51e2,_0xa2c30b['map'](_0x456f02=>this['_getViewObj'](_0x456f02)));return this['editor']['data']['toModel'](_0x2a7b8d);}['_getViewObj'](_0x1c5551){const _0x2b3360=this['editor']['editing']['view']['document'];if('string'==typeof _0x1c5551)return new _0x29d725(_0x2b3360,_0x1c5551);{const _0x4ec0a1=_0x1c5551['children']['map'](_0x3cb412=>this['_getViewObj'](_0x3cb412));return new(tt[_0x1c5551['type']]||_0x14df3c)(_0x2b3360,_0x1c5551['name'],_0x1c5551['attributes'],_0x4ec0a1);}}['_getDiff'](_0x2b7995,_0x4f8f12=null){const _0x2448d7=this['repository']['getRevision'](_0x2b7995),_0x3dafad=_0x4f8f12?this['repository']['getRevision'](_0x4f8f12):null,_0x3a2af3=this['_getRevisionsRange'](_0x2448d7,_0x3dafad),_0xf2d8f4=_0x3a2af3[_0x3a2af3['length']-0x1],_0x386645=new Map(),_0x5de544={'model':{},'attributes':{},'changes':[]},_0xa76121=new Set(),_0x284fef=new Map();for(let _0x1a54bc=_0x3a2af3['length']-0x1;_0x1a54bc>=0x0;_0x1a54bc--){const _0x153197=_0x3a2af3[_0x1a54bc];for(const _0x22934d of Object['keys'](_0x153197['diffData']))if(_0x153197['diffData'][_0x22934d]['attachChange']){const _0x347f21=_0x153197['diffData'][_0x22934d]['attachChange'];_0x347f21['isAttached']?(_0xa76121['add'](_0x22934d),_0x284fef['has'](_0x22934d)&&_0x284fef['get'](_0x22934d)['userId']==_0x347f21['userId']?_0x284fef['delete'](_0x22934d):_0x284fef['set'](_0x22934d,_0x347f21)):_0x284fef['has'](_0x22934d)?(_0xa76121['delete'](_0x22934d),_0x284fef['delete'](_0x22934d)):(_0xa76121['add'](_0x22934d),_0x284fef['set'](_0x22934d,_0x347f21));}else _0xa76121['add'](_0x22934d);}for(const _0x502f10 of _0xa76121){const _0x12dbe8=_0x284fef['has'](_0x502f10)&&!_0x284fef['get'](_0x502f10)['isAttached'];let _0x4d7205=_0x12dbe8?_0x3a2af3['length']-0x1:0x0;const _0x7b9bb9=_0x12dbe8?-0x1:0x1;for(;_0x3a2af3[_0x4d7205];){const _0x8170bf=_0x3a2af3[_0x4d7205];if(_0x8170bf['diffData'][_0x502f10]){const _0x1270f5=_0x12dbe8?_0x8170bf['diffData'][_0x502f10]['attributesBefore']:_0x8170bf['diffData'][_0x502f10]['attributesAfter'];_0x5de544['attributes'][_0x502f10]=_0x1270f5?_0x3760bd(_0x1270f5):{};break;}_0x4d7205+=_0x7b9bb9;}}for(const _0x356390 of _0x3a2af3){_0x356390['model']={};for(const _0x1a89ee of _0x356390['authors'])_0x386645['set'](_0x1a89ee['id'],_0x1a89ee);for(const _0x50bf56 of _0xa76121){const _0xb8f285=_0x356390['diffData'][_0x50bf56]?_0x356390['diffData'][_0x50bf56]['insertions']:'[]',_0x44b1de=_0x356390['diffData'][_0x50bf56]?_0x356390['diffData'][_0x50bf56]['deletions']:'[]';_0x356390['model'][_0x50bf56]={'insertions':this['_makeModelFromViewString'](_0xb8f285),'deletions':this['_makeModelFromViewString'](_0x44b1de)};}}for(const _0x441f92 of _0xa76121){let _0x25c496=null,_0x262526=0x0;const _0x2f739e=new Map(Array['from'](_0x2448d7['model'][_0x441f92]['insertions']['markers'])['filter'](([_0x5e9e17])=>!_0x5e9e17['startsWith']('revision:')));let _0x44d5fe=0x0;for(const _0x49f5cb of _0x3a2af3){const _0x551a48=this['_makeTape'](_0x49f5cb['model'][_0x441f92]['insertions']);_0x49f5cb==_0x2448d7?(_0x25c496=_0x551a48,_0x262526=_0x25c496['length'],_0x25c496['forEach'](_0x4aecf6=>{_0x4aecf6['id']=_0x44d5fe++;}),this['_processTape'](_0x25c496)):this['_markInsertions'](_0x25c496,_0x551a48);const _0x1ff3d8=_0x25c496['filter'](_0x2af3db=>!_0x2af3db['isAdded'])['map'](_0x17c6a8=>_0x17c6a8['id']);let _0xcc69bc=0x0;const _0x4e2bd2=this['_makeTape'](_0x49f5cb['model'][_0x441f92]['deletions']);_0x4e2bd2['forEach'](_0x52e3d2=>{_0x52e3d2['isRemoved']?_0x52e3d2['id']=_0x262526++:_0x52e3d2['id']=_0x1ff3d8[_0xcc69bc++];}),this['_processTape'](_0x4e2bd2),this['_setDistance'](_0x25c496,'isAdded'),this['_setDistance'](_0x4e2bd2,'isRemoved'),_0x49f5cb==_0x2448d7&&this['_markMarkers'](_0x25c496,_0x2f739e),_0x25c496=this['_joinTapes'](_0x25c496,_0x4e2bd2),this['_refreshStartEndIndex'](_0x25c496),this['_setDistance'](_0x25c496,'isRemoved');}_0x25c496=_0x25c496['filter'](_0x26cf83=>!(_0x26cf83['isAdded']&&_0x26cf83['isRemoved']));const _0x55434c=new Map(_0xf2d8f4['model'][_0x441f92]['deletions']['markers']),_0x2ae992=new Set(_0x2f739e['keys']());for(const _0x22edc0 of _0x55434c['keys']())_0x2ae992['delete'](_0x22edc0);this['_markSuggestions'](_0x25c496,_0x2ae992),this['_fixObsoleteTags'](_0x25c496),_0x25c496=this['_removeMissingPairs'](_0x25c496),_0x25c496=this['_markMismatchedRemovedTags'](_0x25c496),_0x25c496=this['_removeUnsupportedChanges'](_0x25c496);const {root:_0x39f110,changes:_0x13a8dc}=this['_makeModelFromTape'](_0x25c496,_0x386645,_0x441f92);_0x5de544['model'][_0x441f92]=_0x39f110;const _0x584b79=_0x284fef['get'](_0x441f92);if(_0x584b79){const _0x13301a=_0x386645['get'](_0x584b79['userId']),_0x4e7991=new r({'author':_0x13301a,'type':_0x584b79['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x441f92});_0x13a8dc['unshift'](_0x4e7991),_0x5de544['attributes'][_0x441f92]['revisionHistoryAttachChange']=_0x4e7991['id'];}_0x5de544['changes']=_0x5de544['changes']['concat'](_0x13a8dc);}return _0x5de544;}['_markMarkers'](_0x43370a,_0x3a21a8){for(let _0x558c4c=0x0;_0x558c4c<_0x43370a['length'];_0x558c4c++)for(const [_0x35b247,_0x6c1196]of _0x3a21a8)_0x6c1196['start']['isEqual'](_0x43370a[_0x558c4c]['previousPosition'])&&_0x43370a[_0x558c4c]['markersStart']['push'](_0x35b247),_0x6c1196['end']['isEqual'](_0x43370a[_0x558c4c]['nextPosition'])&&_0x43370a[_0x558c4c]['markersEnd']['push'](_0x35b247);}['_joinTapes'](_0x5e7ac7,_0x4d424d){let _0x4e9931=[],_0x4e3b5e=0x0,_0x321891=0x0;for(;_0x4e3b5e<_0x5e7ac7['length']||_0x321891<_0x4d424d['length'];){const _0x5ee536=_0x5e7ac7[_0x4e3b5e]||{},_0x2e115f=_0x4d424d[_0x321891]||{};if(_0x5ee536['id']==_0x2e115f['id'])_0x4e3b5e++,_0x321891++,_0x4e9931['push'](_0x5ee536);else{if(_0x2e115f['isRemoved']&&_0x5ee536['isAdded']){const {commonTape:_0x13ee2f,iEnd:_0x217bcf,jEnd:_0x316d11}=this['_threeWayMerge'](_0x5e7ac7,_0x4e3b5e,_0x4d424d,_0x321891);_0x4e9931=_0x4e9931['concat'](_0x13ee2f),_0x4e3b5e=_0x217bcf,_0x321891=_0x316d11;}else _0x2e115f['isRemoved']?(_0x321891++,_0x4e9931['push'](_0x2e115f)):(_0x4e3b5e++,_0x4e9931['push'](_0x5ee536));}}return _0x4e9931;}['_markSuggestions'](_0x7d7b46,_0x4b1203){const _0x3cfc30=[];for(let _0x4bc08d=0x0;_0x4bc08d<_0x7d7b46['length'];_0x4bc08d++){for(let _0x53a66f=0x0;_0x53a66f<_0x7d7b46[_0x4bc08d]['markersStart']['length'];_0x53a66f++){const _0x128c9f=_0x7d7b46[_0x4bc08d]['markersStart'][_0x53a66f];if(!_0x4b1203['has'](_0x128c9f))continue;const {group:_0xcae844,type:_0xa27c87,authorId:_0x3b715f}=_0x3755da(_0x128c9f);'revision-suggestion'!=_0xcae844||'insertion'!=_0xa27c87&&'deletion'!=_0xa27c87||(_0x3cfc30['unshift']({'type':_0xa27c87,'name':_0x128c9f,'userId':_0x3b715f}),_0x7d7b46[_0x4bc08d]['markersStart']['splice'](_0x53a66f,0x1),_0x53a66f--);}_0x42a44e(_0x7d7b46[_0x4bc08d]);for(let _0x480fb5=0x0;_0x480fb5<_0x7d7b46[_0x4bc08d]['markersEnd']['length'];_0x480fb5++){const _0x18041d=_0x7d7b46[_0x4bc08d]['markersEnd'][_0x480fb5];if(!_0x4b1203['has'](_0x18041d))continue;const {group:_0x2f62ea,type:_0x5b9cdb}=_0x3755da(_0x18041d);if('revision-suggestion'!=_0x2f62ea||'insertion'!=_0x5b9cdb&&'deletion'!=_0x5b9cdb)continue;_0x7d7b46[_0x4bc08d]['markersEnd']['splice'](_0x480fb5,0x1),_0x480fb5--;const _0x570655=_0x3cfc30['findIndex'](_0x53cdb0=>_0x53cdb0['name']==_0x18041d);_0x570655>-0x1&&_0x3cfc30['splice'](_0x570655,0x1);}}function _0x3755da(_0x1fd027){const _0x5d277a=_0x1fd027['split'](':');return{'group':_0x5d277a[0x0],'type':_0x5d277a[0x1],'subType':_0x5d277a['length']>=0x5?_0x5d277a[0x2]:null,'id':_0x5d277a['length']<0x5?_0x5d277a[0x2]:_0x5d277a[0x3],'authorId':_0x5d277a['length']<0x5?_0x5d277a[0x3]:_0x5d277a[0x4],'markerCount':0x6==_0x5d277a['length']?_0x5d277a[0x5]:null};}function _0x42a44e(_0x76dc30){for(let _0x1b5a80=0x0;_0x1b5a80<_0x3cfc30['length'];_0x1b5a80++){if(_0x76dc30['isAdded']&&'insertion'==_0x3cfc30[_0x1b5a80]['type'])return _0x76dc30['isAddSuggestion']=_0x3cfc30[_0x1b5a80],void delete _0x76dc30['isAdded'];if(!_0x76dc30['isAdded']&&!_0x76dc30['isRemoved']&&'deletion'==_0x3cfc30[_0x1b5a80]['type'])return void(_0x76dc30['isRemoveSuggestion']=_0x3cfc30[_0x1b5a80]);}}}['_setDistance'](_0x5a981f,_0x51ad79){let _0x2e7bf2=0x0,_0x55e6e6=!0x1;const _0x61b053=new Map();for(const _0x47504a of _0x5a981f)_0x47504a[_0x51ad79]?_0x55e6e6&&(_0x2e7bf2++,_0x55e6e6=!0x1):(_0x2e7bf2++,_0x55e6e6=!0x0),_0x61b053['set'](_0x47504a['id'],_0x2e7bf2);for(let _0x2ebfe9=0x0;_0x2ebfe9<_0x5a981f['length'];_0x2ebfe9++){if('isRemoved'==_0x51ad79&&_0x5a981f[_0x2ebfe9]['isAdded']||'isAdded'==_0x51ad79&&_0x5a981f[_0x2ebfe9]['isRemoved'])continue;if('text'==_0x5a981f[_0x2ebfe9]['type']){_0x5a981f[_0x2ebfe9]['distance']=0x0;continue;}const _0x564f29=_0x61b053['get'](_0x5a981f[_0x2ebfe9]['pairId']),_0x5b273e=_0x61b053['get'](_0x5a981f[_0x2ebfe9]['id']);_0x5a981f[_0x2ebfe9]['distance']=_0x564f29-_0x5b273e;}}['_getRevisionsRange'](_0x5bc654,_0x4b0e36,_0xbcb88d=!0x1){const _0x298df4=[];let _0x401e25=this['repository']['getIndex'](_0x5bc654),_0x43a347=this['repository']['getIndex'](_0x4b0e36);for(-0x1==_0x43a347&&(_0x43a347=this['repository']['_revisions']['length'],_0xbcb88d=!0x1);_0x401e25<_0x43a347;)_0x298df4['push'](this['repository']['getRevision'](_0x401e25)),_0x401e25++;return _0xbcb88d&&_0x298df4['push'](this['repository']['getRevision'](_0x401e25)),_0x298df4;}['_threeWayMerge'](_0x449a5c,_0x5a05e3,_0x13d2c2,_0x24277b){const _0x5c2e91=this['editor']['model']['schema'];let _0x3d1bef=_0x5a05e3;for(;_0x449a5c[_0x3d1bef]&&_0x449a5c[_0x3d1bef]['isAdded'];)_0x3d1bef++;let _0x53615d=_0x24277b;for(;_0x13d2c2[_0x53615d]&&_0x13d2c2[_0x53615d]['isRemoved'];)_0x53615d++;_0x6818bb(_0x449a5c,_0x5a05e3,_0x3d1bef),_0x6818bb(_0x13d2c2,_0x24277b,_0x53615d);const _0x8fd798=_0x13d2c2['slice'](_0x24277b,_0x53615d)['concat'](_0x449a5c['slice'](_0x5a05e3,_0x3d1bef));return _0x8fd798['sort']((_0x27234e,_0x2d4091)=>_0x27234e['side']!=_0x2d4091['side']?_0x27234e['side']-_0x2d4091['side']:_0x27234e['level']!=_0x2d4091['level']?_0x27234e['level']-_0x2d4091['level']:_0x27234e['distance']!=_0x2d4091['distance']?_0x2d4091['distance']-_0x27234e['distance']:!!_0x27234e['isAdded']!=!!_0x2d4091['isAdded']?-0x1==_0x27234e['side']||0x0==_0x27234e['side']?_0x27234e['isAdded']?-0x1:0x1:_0x27234e['isAdded']?0x1:-0x1:_0x27234e['index']-_0x2d4091['index']),{'commonTape':_0x8fd798,'iEnd':_0x3d1bef,'jEnd':_0x53615d};function _0x6818bb(_0x26f999,_0x5e535d,_0x39b197){let _0x151ba6=-0x1,_0x2508f7=Number['POSITIVE_INFINITY'],_0xb45c0=!0x0;for(let _0x16aea5=_0x5e535d;_0x16aea5<_0x39b197;_0x16aea5++)if(_0x5c2e91['isInline'](_0x26f999[_0x16aea5]['item'])||(_0xb45c0=!0x1),_0x26f999[_0x16aea5]['item']['startIndex']<_0x5e535d&&(_0x151ba6=_0x16aea5),_0x26f999[_0x16aea5]['item']['endIndex']>=_0x39b197){_0x2508f7=_0x16aea5;break;}_0xb45c0&&(_0x151ba6=_0x39b197-0x1);for(let _0x3f2de2=_0x5e535d;_0x3f2de2<_0x39b197;_0x3f2de2++)_0x26f999[_0x3f2de2]['side']=_0x3f2de2<=_0x151ba6?-0x1:_0x3f2de2<_0x2508f7?0x0:0x1,_0x26f999[_0x3f2de2]['index']=_0x3f2de2;let _0x4ccc90=0x0;for(let _0xeb128e=_0x5e535d;_0xeb128e<=_0x151ba6;_0xeb128e++)0x0==_0x26f999[_0xeb128e]['distance']?_0x26f999[_0xeb128e]['level']=_0x4ccc90:(_0x4ccc90++,_0x26f999[_0xeb128e]['level']=_0x4ccc90,_0x4ccc90++);for(let _0x59abde=_0x5e535d;_0x59abde<_0x39b197;_0x59abde++)0x0==_0x26f999[_0x59abde]['side']&&(_0x26f999[_0x59abde]['level']=_0x4ccc90);_0x4ccc90=0x0;for(let _0x29dd6b=_0x39b197-0x1;_0x29dd6b>=_0x2508f7;_0x29dd6b--)0x0==_0x26f999[_0x29dd6b]['distance']?_0x26f999[_0x29dd6b]['level']=_0x4ccc90:(_0x4ccc90--,_0x26f999[_0x29dd6b]['level']=_0x4ccc90,_0x4ccc90--);}}['_fixObsoleteTags'](_0x4ace98){const _0x361891=new Map(),_0x5cd00e=this['editor']['model']['schema'];for(let _0x33592f=0x1;_0x33592f<_0x4ace98['length'];_0x33592f++){let _0x518693,_0x2af07f,_0x66c12d;const _0x2bfadd=_0x4ace98[_0x33592f],_0x44a5c7=_0x4ace98[_0x33592f-0x1];if('text'==_0x2bfadd['type'])continue;if(_0x2bfadd['type']!=_0x44a5c7['type'])continue;if(!_0x5cd00e['isBlock'](_0x44a5c7['item'])||_0x5cd00e['isLimit'](_0x44a5c7['item']))continue;if(!_0x5cd00e['isBlock'](_0x2bfadd['item'])||_0x5cd00e['isLimit'](_0x2bfadd['item']))continue;if((_0x4ace98[_0x33592f]['isAdded']||_0x4ace98[_0x33592f]['isAddSuggestion'])&&_0x4ace98[_0x33592f-0x1]['isRemoved'])_0x518693=_0x4ace98[_0x33592f],_0x2af07f=_0x4ace98[_0x33592f-0x1],_0x66c12d=_0x33592f-0x1;else{if(!_0x4ace98[_0x33592f]['isRemoved']||!_0x4ace98[_0x33592f-0x1]['isAdded']&&!_0x4ace98[_0x33592f-0x1]['isAddSuggestion'])continue;_0x518693=_0x4ace98[_0x33592f-0x1],_0x2af07f=_0x4ace98[_0x33592f],_0x66c12d=_0x33592f;}const _0x2f05c2=_0x518693['level']==_0x2af07f['level'],_0x1db2af=Math['abs'](_0x518693['level'])<Math['abs'](_0x2af07f['level'])&&0x0==_0x2af07f['distance'];(_0x2f05c2||_0x1db2af)&&(_0x361891['set'](_0x2af07f['id'],_0x518693['id']),_0x4ace98['splice'](_0x66c12d,0x1),_0x33592f--,_0x518693['isAdded']=!0x1);}for(let _0x599055=0x0;_0x599055<_0x4ace98['length'];_0x599055++)_0x361891['has'](_0x4ace98[_0x599055]['pairId'])&&(_0x4ace98[_0x599055]['pairId']=_0x361891['get'](_0x4ace98[_0x599055]['pairId']));}['_removeMissingPairs'](_0x1bd3dd){const _0x32cfeb=new Set(_0x1bd3dd['map'](_0x37a0ad=>_0x37a0ad['id']));for(let _0x42da85=0x0;_0x42da85<_0x1bd3dd['length'];_0x42da85++)_0x32cfeb['has'](_0x1bd3dd[_0x42da85]['pairId'])||0x0==_0x1bd3dd[_0x42da85]['distance']||(_0x1bd3dd[_0x42da85]['isIncorrect']=!0x0);return _0x1bd3dd['filter'](_0x54a379=>!_0x54a379['isIncorrect']);}['_markMismatchedRemovedTags'](_0x38d781){const _0x5630e0=new Set();for(let _0x225ba1=0x0;_0x225ba1<_0x38d781['length'];_0x225ba1++){if(_0x5630e0['has'](_0x38d781[_0x225ba1]['id'])&&_0x38d781[_0x225ba1]['isRemoved']&&(_0x38d781[_0x225ba1]['isIncorrect']=!0x0),_0x38d781[_0x225ba1]['isIncorrect'])continue;if(0x0==_0x38d781[_0x225ba1]['distance'])continue;if('elementStart'!=_0x38d781[_0x225ba1]['type'])continue;if(null==_0x38d781[_0x225ba1]['pairId'])continue;let _0x2a8662=_0x225ba1+0x1,_0x2b1857=0x0;for(;_0x38d781[_0x2a8662]['id']!=_0x38d781[_0x225ba1]['pairId'];)'elementStart'==_0x38d781[_0x2a8662]['type']?_0x2b1857++:'elementEnd'==_0x38d781[_0x2a8662]['type']&&_0x2b1857--,_0x2a8662++;if(0x0!=_0x2b1857){if(_0x38d781[_0x225ba1]['isRemoved'])_0x38d781[_0x225ba1]['isIncorrect']=!0x0;else{for(;_0x2a8662!=_0x225ba1;)_0x38d781[_0x2a8662]['isRemoved']&&0x0!=_0x38d781[_0x2a8662]['distance']&&(_0x38d781[_0x2a8662]['isIncorrect']=!0x0,_0x5630e0['add'](_0x38d781[_0x2a8662]['pairId'])),_0x2a8662--;}}}return _0x38d781['filter'](_0x5ccf6f=>!_0x5ccf6f['isIncorrect']);}['_removeUnsupportedChanges'](_0x10b481){const _0x5d1903=this['editor']['model']['schema'];for(let _0x4ec78a=0x0;_0x4ec78a<_0x10b481['length'];_0x4ec78a++){if(!(_0x10b481[_0x4ec78a]['isAdded']||_0x10b481[_0x4ec78a]['isAddSuggestion']||_0x10b481[_0x4ec78a]['isRemoved']||_0x10b481[_0x4ec78a]['isRemoveSuggestion']))continue;if(0x0==_0x10b481[_0x4ec78a]['distance'])continue;const _0x30903d=_0x10b481[_0x4ec78a]['item'];_0x5d1903['isBlock'](_0x30903d)||_0x5d1903['isLimit'](_0x30903d)||(_0x10b481[_0x4ec78a]['isAdded']&&delete _0x10b481[_0x4ec78a]['isAdded'],_0x10b481[_0x4ec78a]['isAddSuggestion']&&delete _0x10b481[_0x4ec78a]['isAddSuggestion'],_0x10b481[_0x4ec78a]['isRemoveSuggestion']&&delete _0x10b481[_0x4ec78a]['isRemoveSuggestion'],_0x10b481[_0x4ec78a]['isRemoved']&&(_0x10b481[_0x4ec78a]['isIncorrect']=!0x0));}return _0x10b481['filter'](_0x50941a=>!_0x50941a['isIncorrect']);}['_makeModelFromTape'](_0x2f87cd,_0x45f8a9,_0x2a749a){const _0x2d8290=new wt(),_0x4d4e4a=[],_0x48046e=new Map(),_0x1b12e4=this['editor']['model'],_0x36d163=_0x1b12e4['schema'],_0x452150=[_0x2d8290],_0xa7c224={},_0xbbaa3f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x226d69=null;const _0x386c3b=[0x0];for(let _0x2ec5c2=0x0;_0x2ec5c2<_0x2f87cd['length'];_0x2ec5c2++){let _0x2cb57a,_0xd9a198;if('elementStart'===_0x2f87cd[_0x2ec5c2]['type']){_0x2cb57a=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b);const _0x2d400c=new ft(_0x2f87cd[_0x2ec5c2]['item']['name'],_0x2f87cd[_0x2ec5c2]['item']['getAttributes']());_0x452150[0x0]['_appendChild'](_0x2d400c),_0x386c3b['push'](0x0),_0x452150['unshift'](_0x2d400c),_0xd9a198=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x226d69=null;}else{if('elementEnd'===_0x2f87cd[_0x2ec5c2]['type'])_0x452150['shift'](),_0x2cb57a=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x386c3b['pop'](),_0x386c3b[_0x386c3b['length']-0x1]++,_0xd9a198=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x226d69=null;else{if(_0x2cb57a=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b),_0x226d69&&_0x32abcd(_0x226d69,_0x2f87cd[_0x2ec5c2]['item']))_0x226d69['_data']+=_0x2f87cd[_0x2ec5c2]['item']['data'];else{const _0x86364a=new _t(_0x2f87cd[_0x2ec5c2]['item']['data'],_0x2f87cd[_0x2ec5c2]['item']['getAttributes']());_0x452150[0x0]['_appendChild'](_0x86364a),_0x226d69=_0x86364a;}_0x386c3b[_0x386c3b['length']-0x1]+=_0x2f87cd[_0x2ec5c2]['item']['offsetSize'],_0xd9a198=_0x1b12e4['createPositionFromPath'](_0x2d8290,_0x386c3b);}}for(const _0x317aed of _0x2f87cd[_0x2ec5c2]['markersStart'])_0x48046e['set'](_0x317aed,{'start':_0x2cb57a,'end':null});_0x122130('isRemoveSuggestion',_0x2ec5c2,_0x2cb57a,_0xd9a198),_0x122130('isAddSuggestion',_0x2ec5c2,_0x2cb57a,_0xd9a198),_0x122130('isRemoved',_0x2ec5c2,_0x2cb57a,_0xd9a198),_0x122130('isAdded',_0x2ec5c2,_0x2cb57a,_0xd9a198);for(const _0x378633 of _0x2f87cd[_0x2ec5c2]['markersEnd']){_0x48046e['get'](_0x378633)['end']=_0xd9a198;}}for(const [_0x4412b1,_0x1f19de]of _0x48046e){const _0x51b98a=this['editor']['model']['createRange'](_0x1f19de['start'],_0x1f19de['end']);_0x2d8290['markers']['set'](_0x4412b1,_0x51b98a);}return _0x4d4e4a['sort']((_0x876e65,_0x2003f8)=>{const _0x5e880f=_0x2d8290['markers']['get']('revision:'+_0x876e65['id']),_0x105b10=_0x2d8290['markers']['get']('revision:'+_0x2003f8['id']);return _0x5e880f['start']['isBefore'](_0x105b10['start'])?-0x1:_0x5e880f['start']['isAfter'](_0x105b10['start'])?0x1:_0x5e880f['end']['isBefore'](_0x105b10['end'])?-0x1:_0x5e880f['end']['isAfter'](_0x105b10['end'])?0x1:'add'===_0x876e65['type']?-0x1:0x1;}),{'root':_0x2d8290,'changes':_0x4d4e4a};function _0x122130(_0x2692de,_0x25dd5f,_0x2f9a8a,_0x2cbad4){const _0x2d77d5=!!_0x2f87cd[_0x25dd5f][_0x2692de],_0x52ab71=_0x2d77d5?_0x2f87cd[_0x25dd5f][_0x2692de]['userId']:null,_0x3ef5eb=_0x25dd5f===_0x2f87cd['length']-0x1,_0x3ca681=_0xbbaa3f[_0x2692de][0x0],_0x438d9f=_0x36d163['isObject'](_0x2f87cd[_0x25dd5f]['item']);!_0xa7c224[_0x2692de]&&_0x2d77d5?_0xa7c224[_0x2692de]={'start':_0x2f9a8a,'tapeItem':_0x2f87cd[_0x25dd5f],'userId':_0x52ab71,'type':_0x2692de}:_0xa7c224[_0x2692de]&&!_0x2d77d5?(_0xa7c224[_0x2692de]['end']=_0x2f9a8a,_0x557fc3(_0xa7c224[_0x2692de]),_0xa7c224[_0x2692de]=null):_0xa7c224[_0x2692de]&&_0x2d77d5&&_0xa7c224[_0x2692de]['userId']!==_0x52ab71&&(_0xa7c224[_0x2692de]['end']=_0x2f9a8a,_0x3ca681&&_0x3ca681['userId']===_0xa7c224[_0x2692de]['userId']||_0x557fc3(_0xa7c224[_0x2692de]),_0xa7c224[_0x2692de]={'start':_0x2f9a8a,'tapeItem':_0x2f87cd[_0x25dd5f],'userId':_0x52ab71,'type':_0x2692de}),_0xa7c224[_0x2692de]&&_0x438d9f&&('elementStart'!==_0x2f87cd[_0x25dd5f]['type']||_0x3ca681&&_0x3ca681['userId']===_0x52ab71||_0xbbaa3f[_0x2692de]['unshift']({'userId':_0x52ab71,'object':_0x2f87cd[_0x25dd5f]['item'],'change':_0xa7c224[_0x2692de]}),'elementEnd'===_0x2f87cd[_0x25dd5f]['type']&&_0x3ca681&&_0x3ca681['object']===_0x2f87cd[_0x25dd5f]['item']&&(_0xbbaa3f[_0x2692de]['shift'](),_0xa7c224[_0x2692de]=_0x3ca681['change'])),_0xa7c224[_0x2692de]&&_0x3ef5eb&&(_0xa7c224[_0x2692de]['end']=_0x2cbad4,_0x557fc3(_0xa7c224[_0x2692de]),_0xa7c224[_0x2692de]=null);}function _0x557fc3({start:_0x503a3c,end:_0x3aae02,tapeItem:_0x5602ab,userId:_0x1c8d0e,type:_0x4a2469}){const _0x3899dc=_0x5602ab['item'],_0x1c72bf=_0x1b12e4['schema']['isBlock'](_0x3899dc)&&!_0x1b12e4['schema']['isLimit'](_0x3899dc),_0x4bbaee=_0x503a3c['nodeAfter']==_0x3aae02['parent']&&_0x3aae02['isAtStart'];if(_0x1c72bf&&_0x4bbaee)return;const _0x545c9e=_0x1b12e4['createRange'](_0x503a3c,_0x3aae02),_0xb833a0=_0x45f8a9['get'](_0x1c8d0e),_0x28f5a2=new r({'author':_0xb833a0,'type':'isAdded'==_0x4a2469||'isAddSuggestion'==_0x4a2469?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4a2469||'isRemoveSuggestion'==_0x4a2469},'createdAt':new Date(),'rootName':_0x2a749a});_0x4d4e4a['push'](_0x28f5a2),_0x2d8290['markers']['set']('revision:'+_0x28f5a2['id'],_0x545c9e);}function _0x32abcd(_0x2144cc,_0x26548f){const _0x2a5673=_0x2144cc['getAttributes'](),_0x548850=_0x26548f['getAttributes']();for(const _0x34b5d2 of _0x2a5673){if(_0x34b5d2[0x1]!==_0x26548f['getAttribute'](_0x34b5d2[0x0]))return!0x1;_0x548850['next']();}return _0x548850['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x55a7ab=>{const _0x668da5=_0x55a7ab['markerName']['split'](':')[0x1],_0x5f50b6=this['_getChangeFromId'](_0x668da5);if(!_0x5f50b6)return null;const _0x49ecb7='add'==_0x5f50b6['type']?'insertion':'deletion',_0x141a92=['ck-suggestion-marker','ck-suggestion-marker-'+_0x49ecb7];return _0x5f50b6['data']['isSuggestion']&&_0x141a92['push']('ck-suggestion-marker-'+_0x49ecb7+'-new'),this['activeChange']==_0x5f50b6&&_0x141a92['push']('ck-suggestion-marker--active'),{'classes':_0x141a92,'attributes':{'data-change-id':_0x668da5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x190d8c=>{_0x190d8c['on']('element:pre',(_0x58b72c,_0x408214,_0x58bcc3)=>{const _0x2ab220=_0x408214['viewItem']['getChild'](0x0);if(!_0x2ab220||!_0x2ab220['is']('element','code'))return;if(!_0x58bcc3['consumable']['consume'](_0x2ab220,{'attributes':['vid_start','vid_end']}))return;const _0x578128=_0x408214['modelRange']['start']['nodeAfter'];_0x58bcc3['writer']['setAttribute']('vid_start',_0x2ab220['getAttribute']('vid_start'),_0x578128),_0x58bcc3['writer']['setAttribute']('vid_end',_0x2ab220['getAttribute']('vid_end'),_0x578128);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1a66d1=>{_0x1a66d1['on']('element',(_0x4590fc,_0x24fa3a,_0x3b2697)=>{if(!_0x3b2697['consumable']['consume'](_0x24fa3a['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x24fa3a['modelRange']['isCollapsed'])return;const _0x352b24=_0x24fa3a['modelRange']['start']['nodeAfter'];_0x352b24['hasAttribute']('vid_start')||_0x352b24['hasAttribute']('vid')||(_0x3b2697['writer']['setAttribute']('vid_start',_0x24fa3a['viewItem']['getAttribute']('vid_start'),_0x352b24),_0x3b2697['writer']['setAttribute']('vid_end',_0x24fa3a['viewItem']['getAttribute']('vid_end'),_0x352b24));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x405a56=>_0x405a56['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x46bf27,[,_0x60274])=>{['vid_start','vid_end','vid']['includes'](_0x60274)&&(_0x46bf27['return']=!0x0,_0x46bf27['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4a691f=>{_0x4a691f['on']('attribute:vid',(_0x12666c,_0x32e7cb,_0x435b54)=>{if('\x20'!=_0x32e7cb['item']['data']||_0x32e7cb['item']['parent']['maxOffset']>0x1)return;if(!_0x435b54['consumable']['consume'](_0x32e7cb['item'],_0x12666c['name']))return;const _0x42774a=_0x435b54['writer'],_0x1be137=_0x435b54['mapper']['toViewRange'](_0x32e7cb['range']);_0x42774a['wrap'](_0x1be137,_0x42774a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x809c6f){const _0x28ee9e=_0x809c6f['plugins']['get']('RevisionViewer');return(_0x5bd0d1,_0x597b6c,_0x18b56e)=>{const _0x434991=_0x597b6c['markerName']['split'](':')[0x1],_0x2b99bc=_0x28ee9e['_getChangeFromId'](_0x434991);if(!_0x2b99bc)return null;const _0x109ae4='add'==_0x2b99bc['type']?'split':'merge';if(!_0x18b56e['consumable']['test'](_0x597b6c['markerRange'],_0x5bd0d1['name']))return;const _0x1616ea=_0x597b6c['markerRange']['getWalker'](),_0x4e6734=_0x597b6c['markerRange']['start'],_0x21f313=_0x809c6f['model']['schema'];let _0xf84ed9=null,_0x313895=null,_0x56e34e=!0x1,_0xc3dc68=!0x1;for(const _0x174b1d of _0x1616ea){const _0x1a9eec=_0x174b1d['item'];_0x56e34e=_0x56e34e||_0x21f313['isContent'](_0x1a9eec);const _0x4aa50=_0x18b56e['mapper']['toViewElement'](_0x1a9eec);if(_0x4aa50&&_0x4aa50['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x174b1d['type']&&(_0x21f313['isBlock'](_0x1a9eec)&&!_0x21f313['isLimit'](_0x1a9eec)&&(_0x1a9eec['nextSibling']||_0x4e6734['isAtEnd']?_0xf84ed9&&_0xf84ed9['parent']==_0x1a9eec||(_0xf84ed9=_0x1a9eec,_0x4bcb0a(_0x174b1d['previousPosition']),_0xc3dc68=!0x0):_0x313895=_0x313895||_0x174b1d['previousPosition']));}function _0x4bcb0a(_0xaa882e){const _0x533195=_0x18b56e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x109ae4}),_0x48d119=_0x18b56e['mapper']['toViewPosition'](_0xaa882e);_0x2b99bc['data']['isSuggestion']&&_0x18b56e['writer']['addClass']('ck-suggestion-marker-'+_0x109ae4+'-new',_0x533195),_0x28ee9e['activeChange']==_0x2b99bc&&_0x18b56e['writer']['addClass']('ck-suggestion-marker--active',_0x533195),_0x18b56e['writer']['insert'](_0x48d119,_0x533195),_0x18b56e['mapper']['bindElementToMarker'](_0x533195,_0x597b6c['markerName']);}_0x56e34e||_0xc3dc68||!_0x313895||_0x4bcb0a(_0x313895);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x584c34,_0x3d7b7b,_0x468386)=>{const _0x5665c7=_0x468386['mapper']['markerNameToElements'](_0x3d7b7b['markerName']);if(_0x5665c7){for(const _0x2a2f8d of _0x5665c7)(_0x2a2f8d['hasClass']('ck-suggestion-marker-split')||_0x2a2f8d['hasClass']('ck-suggestion-marker-merge'))&&(_0x468386['mapper']['unbindElementFromMarkerName'](_0x2a2f8d,_0x3d7b7b['markerName']),_0x468386['writer']['remove'](_0x2a2f8d));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5e599c,_0x28ea3a,_0x2f4d40)=>{const _0x2b5312=_0x28ea3a['markerName']['split'](':')[0x1],_0x2ca6d0=this['_getChangeFromId'](_0x2b5312);if(!_0x2ca6d0)return null;const _0x358309='add'==_0x2ca6d0['type']?'split':'merge';if(_0x2f4d40['consumable']['test'](_0x28ea3a['markerRange'],_0x5e599c['name']))for(const _0x457b61 of _0x28ea3a['markerRange']['getItems']()){if(!_0x457b61['is']('element','softBreak'))continue;const _0x249f01=_0x2f4d40['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x358309}),_0x3fdeb8=_0x2f4d40['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x457b61));_0x2ca6d0['data']['isSuggestion']&&_0x2f4d40['writer']['addClass']('ck-suggestion-marker-'+_0x358309+'-new',_0x249f01),this['activeChange']==_0x2ca6d0&&_0x2f4d40['writer']['addClass']('ck-suggestion-marker--active',_0x249f01),_0x2f4d40['writer']['insert'](_0x3fdeb8,_0x249f01),_0x2f4d40['mapper']['bindElementToMarker'](_0x249f01,_0x28ea3a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5d154e=>{for(const _0x5d723a of this['editor']['model']['document']['getRootNames']()){const _0x106750=this['editor']['model']['document']['getRoot'](_0x5d723a),_0xa41e88=this['editor']['editing']['view']['document']['getRoot'](_0x5d723a);if(_0xa41e88){const _0x2dafca=_0x106750['getAttribute']('revisionHistoryAttachChange');if(_0x5d154e['removeAttribute']('data-change-id',_0xa41e88),_0x5d154e['removeClass']('ck-revision-history-root-add',_0xa41e88),_0x5d154e['removeClass']('ck-revision-history-root-remove',_0xa41e88),_0x5d154e['removeClass']('ck-revision-history-root--active',_0xa41e88),_0x2dafca){const _0x220951=this['_getChangeFromId'](_0x2dafca);if(!_0x220951)return null;_0x5d154e['setAttribute']('data-change-id',_0x2dafca,_0xa41e88),_0x5d154e['addClass']('ck-revision-history-root-'+_0x220951['type'],_0xa41e88),this['activeChange']==_0x220951&&_0x5d154e['addClass']('ck-revision-history-root--active',_0xa41e88);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x47f2ea=>'revision-comment:'+_0x47f2ea,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1a13d8=>'revision-suggestion:'+_0x1a13d8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x13b406=>({'name':'suggestion:'+_0x13b406,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4192c1=>{const _0x58e3d8=_0x4192c1['markerName']['split'](':')[0x1];return'insertion'!=_0x58e3d8&&'deletion'!=_0x58e3d8?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x58e3d8]};}}),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',(_0x3bdc80,_0x410c41,_0x984127)=>{const _0x54b66a=_0x984127['mapper']['markerNameToElements'](_0x410c41['markerName']);if(_0x54b66a){for(const _0x7d1f08 of _0x54b66a)_0x7d1f08['is']('uiElement')&&(_0x984127['mapper']['unbindElementFromMarkerName'](_0x7d1f08,_0x410c41['markerName']),_0x984127['writer']['remove'](_0x7d1f08));}},{'priority':'high'});}['_getChangeFromId'](_0x5bc3c){return this['_changeIdToChange']['get'](_0x5bc3c);}['_getViewForChange'](_0x1e814f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1e814f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x51911f,_0x2f8700,_0x4cb8c2,_0x11d56d)=>{_0x11d56d&&this['_balloon']['remove'](_0x11d56d),_0x4cb8c2&&(this['_balloon']['add']({'view':_0x4cb8c2,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x49817d=this['editor']['editing'],_0x352ec2=this['_getChangeFromId'](_0x4cb8c2['changeId']);let _0x149700;if(_0x352ec2['data']['isOnRoot']){const _0xe2bb1=_0x49817d['view']['getDomRoot'](_0x352ec2['rootName']);_0x149700=Array['from'](_0xe2bb1['getClientRects']());}else{const _0x4d31ef=this['editor']['model']['markers']['get']('revision:'+_0x4cb8c2['changeId']);_0x149700=Array['from'](_0x49817d['mapper']['markerNameToElements'](_0x4d31ef['name']))['map'](_0x46f210=>_0x49817d['view']['domConverter']['mapViewToDom'](_0x46f210))['map'](_0x46071c=>Array['from'](_0x46071c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x149700[0x0];return _0x149700['find'](_0xcd6d30=>_0xcd6d30['top']-0x3<=this['_activeViewTarget']['y']&&_0xcd6d30['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xcd6d30['left']-0x3<=this['_activeViewTarget']['x']&&_0xcd6d30['right']+0x3>=this['_activeViewTarget']['x'])||_0x149700[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4f1736,_0xb9606d,_0x2d3c7f,_0x4be09a)=>{this['activeView']=_0x2d3c7f?this['_getViewForChange'](_0x2d3c7f):null,this['editor']['model']['change'](()=>{const _0x4d87cf=this['editor']['editing'];_0x4be09a&&(_0x4be09a['data']['isOnRoot']?_0x4d87cf['view']['change'](_0x36e3fe=>{_0x36e3fe['removeClass']('ck-revision-history-root--active',_0x4d87cf['view']['document']['getRoot'](_0x4be09a['rootName']));}):_0x4d87cf['reconvertMarker']('revision:'+_0x4be09a['id'])),_0x2d3c7f&&(_0x2d3c7f['data']['isOnRoot']?_0x4d87cf['view']['change'](_0x4dce32=>{_0x4dce32['addClass']('ck-revision-history-root--active',_0x4d87cf['view']['document']['getRoot'](_0x2d3c7f['rootName']));}):_0x4d87cf['reconvertMarker']('revision:'+_0x2d3c7f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x144e8c,_0x3b971c)=>{if(this['activeChange'])return;const _0x19bd5c=this['_findChangeIdFromDomTarget'](_0x3b971c['target']),_0x45e63b=this['_changeIdToChange']['get'](_0x19bd5c);_0x45e63b?(this['_activeViewTarget']={'x':_0x3b971c['domEvent']['x'],'y':_0x3b971c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x45e63b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1e29d5,_0xd1b0a5)=>{const _0x17f899=this['_findChangeIdFromDomTarget'](_0xd1b0a5['target']),_0x3ef439=this['_changeIdToChange']['get'](_0x17f899);_0x3ef439?(this['_activeViewTarget']={'x':_0xd1b0a5['domEvent']['x'],'y':_0xd1b0a5['domEvent']['y']},_0x3ef439===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3ef439):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x42e050){do{const _0x18d3b1=_0x42e050['getAttribute']('data-change-id');if(_0x18d3b1)return _0x18d3b1;_0x42e050=_0x42e050['parent'];}while(_0x42e050);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5522d1=>{for(const _0x3496fe of this['editor']['model']['markers'])_0x5522d1['removeMarker'](_0x3496fe);});}}function et(_0x5e0648,_0x30e73a){return(_0x425b46,_0x169e49,_0x38b4ca)=>{if(!_0x38b4ca['consumable']['test'](_0x169e49['markerRange'],_0x425b46['name']))return;const _0x2b2466=_0x169e49['markerRange']['getWalker'](),_0x2a4e29=_0x169e49['markerRange']['start'],_0x1902c1=_0x5e0648['model']['schema'];let _0x40f187=null,_0x2e42f0=null,_0x4af3ab=!0x1,_0xb3cea1=!0x1;for(const _0x4580ee of _0x2b2466){const _0x200f91=_0x4580ee['item'];_0x4af3ab=_0x4af3ab||_0x1902c1['isContent'](_0x200f91);const _0x171d8e=_0x38b4ca['mapper']['toViewElement'](_0x200f91);if(_0x171d8e&&_0x171d8e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4580ee['type']&&(_0x1902c1['isBlock'](_0x200f91)&&!_0x1902c1['isLimit'](_0x200f91)&&(_0x200f91['nextSibling']||_0x2a4e29['isAtEnd']?_0x40f187&&_0x40f187['parent']==_0x200f91||(_0x40f187=_0x200f91,_0x5b2c37(_0x4580ee['previousPosition']),_0xb3cea1=!0x0):_0x2e42f0=_0x2e42f0||_0x4580ee['previousPosition']));}function _0x5b2c37(_0x7fea2e){const _0x3c195e=_0x38b4ca['mapper']['toViewPosition'](_0x7fea2e),_0x29e84e=_0x38b4ca['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30e73a});_0x38b4ca['writer']['insert'](_0x3c195e,_0x29e84e),_0x38b4ca['mapper']['bindElementToMarker'](_0x29e84e,_0x169e49['markerName']);}_0x4af3ab||_0xb3cea1||!_0x2e42f0||_0x5b2c37(_0x2e42f0);};}class bt extends _0x510569{constructor(_0x284178){super(_0x284178);const _0x33acc6=_0x284178['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x33acc6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x33acc6,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x55b859=this['editor'],_0x30e07c=_0x55b859['plugins']['get'](d),_0x15577a=_0x30e07c['isReady']?_0x30e07c['diff']['newRevisionId']:null;_0x55b859['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x15577a);}['refresh'](){const {isReady:_0x5c32ee,isEnabled:_0x2ad191}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5c32ee&&_0x2ad191;}}class yt extends _0x510569{['_step'];constructor(_0xeb1e8a,{direction:_0xa9f6e4}){super(_0xeb1e8a);const _0x1e01c1=_0xeb1e8a['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xa9f6e4?0x1:-0x1,this['listenTo'](_0x1e01c1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1e01c1,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1e01c1,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x50c5d4=this['editor'],_0x56b6d8=_0x50c5d4['plugins']['get'](d),{isNavigationMode:_0x6e5f29,currentChangeNumber:_0x2de5a1}=_0x56b6d8;let _0x51f8a4;if(_0x56b6d8['activeChange']=_0x6e5f29?_0x56b6d8['diff']['changes']['get'](_0x2de5a1+this['_step']):_0x56b6d8['diff']['changes']['first'],_0x56b6d8['activeChange']['data']['isOnRoot'])_0x51f8a4=_0x50c5d4['editing']['view']['getDomRoot'](_0x56b6d8['activeChange']['rootName']);else{const _0x331abe=_0x50c5d4['model']['markers']['get']('revision:'+_0x56b6d8['activeChange']['id']);_0x51f8a4=_0x3751b2(_0x50c5d4['editing'],_0x331abe);}_0x2ddcb5({'target':_0x51f8a4,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x36c31f,currentChangeNumber:_0x342462,numberOfChanges:_0x3b85e9,isReady:_0x46ef6a,isEnabled:_0x49eab7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x49eab7&&_0x46ef6a&&_0x3b85e9)&&(!_0x36c31f||(0x1===this['_step']?_0x342462<_0x3b85e9-0x1:_0x342462>0x0));}}class _i extends _0x1f237a{constructor(_0x34170a){super(_0x34170a);const _0x312f58=this['bindTemplate'],_0x500e21=new _0x411755(_0x34170a),_0x29d605=new _0x411755(_0x34170a);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',(_0x3a0cbc,_0x20b2dc)=>_0x3a0cbc&&_0x20b2dc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x67dc3,_0x16c831,_0x3b18bc,_0x58dd0f)=>{if(!_0x67dc3)return y(_0x34170a,'Loading...');if(!_0x3b18bc)return y(_0x34170a,'No\x20changes');const _0x86efa8=y(_0x34170a,'NUMBER_OF_CHANGES',_0x3b18bc);return _0x58dd0f?y(_0x34170a,'X_OF_Y_CHANGES',[_0x16c831+0x1,_0x3b18bc]):_0x86efa8;}),_0x500e21['set']({'label':y(_0x34170a,'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'}),_0x29d605['set']({'label':y(_0x34170a,'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'}),_0x500e21['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x29d605['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x500e21['on']('execute',()=>this['fire']('execute','backward')),_0x29d605['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',_0x312f58['if']('_isStatusLabelVisible','ck-hidden',_0xc42279=>!_0xc42279)]},'children':[{'text':_0x312f58['to']('isNavigationMode',_0x10e834=>_0x10e834?y(_0x34170a,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x34170a,'Total')+':\x20')}]},{'text':_0x312f58['to']('_statusText')}]},new _0x5eea15(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x500e21,_0x29d605]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xd653eb{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x52660b=this['editor']['editing']['view'];_0x52660b['change'](_0x5e8bfb=>{for(const _0x1c4bb4 of _0x52660b['document']['roots'])_0x5e8bfb['addClass'](ce,_0x1c4bb4);});}['hide'](){const _0x3e5a42=this['editor']['editing']['view'];_0x3e5a42['change'](_0x3b0da6=>{for(const _0x2d24c9 of _0x3e5a42['document']['roots'])_0x3b0da6['removeClass'](ce,_0x2d24c9);});}}class R extends _0xd653eb{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2343bb=this['editor'],_0x51f3fb=_0x2343bb['plugins']['get'](d),_0x34e962=_0x2343bb['plugins']['get'](de);_0x2343bb['ui']['componentFactory']['add']('exitToEditing',_0x4bc73e=>{const _0x105b6e=new _0x411755(_0x4bc73e);return _0x105b6e['set']({'label':y(_0x4bc73e,'Back\x20to\x20editing'),'icon':_0x245a6e['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x105b6e,'execute',()=>{_0x2343bb['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x105b6e;}),_0x2343bb['ui']['componentFactory']['add']('restoreRevision',_0x2e33f9=>{const _0x20ccec=new _0x411755(_0x2e33f9);return _0x20ccec['set']({'label':y(_0x2e33f9,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x20ccec['bind']('isEnabled')['to'](_0x2343bb['commands']['get']('restoreRevision')),this['listenTo'](_0x20ccec,'execute',()=>_0x2343bb['execute']('restoreRevision')),_0x20ccec;}),_0x2343bb['ui']['componentFactory']['add']('changesNavigation',_0x5a6ad7=>{const _0xb253f3=new _i(_0x5a6ad7),_0x17d875=_0x2343bb['commands']['get']('showPreviousChange'),_0x3ea322=_0x2343bb['commands']['get']('showNextChange');return _0xb253f3['bind']('isBackwardNavigationEnabled')['to'](_0x17d875,'isEnabled'),_0xb253f3['bind']('isForwardNavigationEnabled')['to'](_0x3ea322,'isEnabled'),_0xb253f3['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x51f3fb),this['listenTo'](_0xb253f3,'execute',(_0x556555,_0x5d617c)=>{_0x2343bb['execute']('forward'===_0x5d617c?'showNextChange':'showPreviousChange');}),_0xb253f3;}),_0x34e962['show'](),_0x51f3fb['on']('change:isReady',(_0x2884f1,_0x38c2c3,_0x27cd84)=>{_0x27cd84?_0x34e962['hide']():_0x34e962['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5d4ece,_0x5444e6){super(_0x5d4ece,_0x5444e6);const _0xea9a4=this['bindTemplate'];this['set']({'label':y(_0x5d4ece,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5d4ece,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xea9a4['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 _0x2d6b61=this['fieldView']['element'];this['_tooltipString']=_0x2d6b61['scrollWidth']>_0x2d6b61['clientWidth']&&_0x2d6b61['value']||'';}}class ti extends _0x1f237a{constructor(_0x498375,_0x2c2200,_0x2c3e89){super(_0x498375);const _0x284702=new _0x4f9dea();_0x284702['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 _0x4b14e7=['ck','ck-revision-history-sidebar__revision-author'];_0x2c3e89&&_0x4b14e7['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1a7de1=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x498375,_0x2c3e89?'Revision\x20creator':'Revision\x20author')},'children':[_0x284702,_0x2c2200['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4b14e7},'children':_0x1a7de1});}}function ni(_0x221f1,_0x10cad0){const _0x43e327=_0x221f1['bindTemplate'],_0x1b75af=_0x221f1['locale'],_0x4d4197=_0x202af6(_0x1b75af);_0x4d4197['panelPosition']='sw';const _0x4d0400=function(_0x16a58f,_0x256760){const _0x153afe=function(_0x89b1f4,_0x293c97){const _0x3d98ea=_0x89b1f4['locale'],_0xdc4165={'Compare\x20against\x20selected':y(_0x3d98ea,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3d98ea,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3d98ea,'Restore\x20this\x20revision')};return _0x293c97['map'](_0x4e23ed=>{const _0xa0bd8b=_0xdc4165[_0x4e23ed['name']];return _0xa0bd8b&&_0xa0bd8b!==_0x4e23ed['name']&&(_0x4e23ed['name']=_0xa0bd8b),_0x4e23ed;});}(_0x16a58f,_0x256760),_0x281517=new _0xf2fdb5();for(const _0x41f223 of _0x153afe){const _0x25f7e9={'type':'button','model':new to({'label':_0x41f223['name'],'class':_0x41f223['class'],'withText':!0x0,'role':'menuitem','_action':_0x41f223['action']})};_0x25f7e9['model']['bind']('isEnabled')['to'](_0x16a58f,'isActionsDropdownOpen',_0x22af06=>'function'!=typeof _0x41f223['isEnabled']||(!_0x22af06||_0x41f223['isEnabled'](_0x16a58f))),_0x281517['add'](_0x25f7e9);}return _0x281517;}(_0x221f1,_0x10cad0);return _0x221f1['bind']('isActionsDropdownOpen')['to'](_0x4d4197,'isOpen'),_0x4d4197['buttonView']['set']({'label':y(_0x1b75af,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x245a6e['threeVerticalDots']}),_0x4d4197['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x43e327['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x43e327['to'](_0x1f5912=>_0x1f5912['stopPropagation']())}}),_0x4d4197['on']('execute',_0x1b09a8=>{_0x221f1['isReady']&&'function'==typeof _0x1b09a8['source']['_action']&&_0x1b09a8['source']['_action'](_0x221f1);}),_0x1c5d61(_0x4d4197,_0x4d0400,{'role':'menu'}),_0x4d4197['listenTo'](_0x221f1,'change:isActionsDropdownOpen',(_0x59badf,_0x549239,_0x49397e)=>{if(_0x49397e)for(const _0x4cf438 of _0x4d4197['listView']['items']){const _0x58738a=_0x4cf438['children']['first'],_0x4ab8b4=_0x10cad0['find'](_0x488059=>_0x488059['action']===_0x58738a['_action'])['isVisible'];_0x4cf438['isVisible']=void 0x0===_0x4ab8b4||_0x4ab8b4(_0x221f1);}}),_0x4d4197;}class ai extends _0x3b72de(_0x1f237a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x21ba48,_0x2bc634,_0x468eab,_0x4456f0){super(_0x21ba48);const _0x1b2633=this['bindTemplate'],_0x2a14cd=function(_0x3e9ae9,_0x39fb5c){const _0x41f04d=Array['from'](_0x39fb5c['authors'])['filter'](_0xd0a35c=>_0xd0a35c!=_0x39fb5c['creator']);return _0x39fb5c['creator']&&_0x41f04d['unshift'](_0x39fb5c['creator']),_0x41f04d['map'](_0x45cc96=>new ti(_0x3e9ae9,_0x45cc96,_0x45cc96==_0x39fb5c['creator']));}(_0x21ba48,_0x2bc634);this['id']=_0x2bc634['id'],this['_revision']=_0x2bc634,this['_requireRevisionName']=_0x4456f0,this['bind']('name','createdAt')['to'](_0x2bc634),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x53445f=>{return _0x161c22=_0x21ba48['uiLanguage'],(_0x50be5a=_0x53445f)['toLocaleDateString'](_0x161c22,{'month':'long','day':'numeric'})+',\x20'+_0x50be5a['toLocaleTimeString'](_0x161c22,{'hour':'numeric','minute':'numeric'});var _0x161c22,_0x50be5a;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x21ba48,_0x46f58a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3acd1a=>_0x3acd1a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x50c467,_0x5f53f9)=>_0x50c467&&_0x5f53f9),this['revisionActionsView']=_0x468eab&&_0x468eab['length']?ni(this,_0x468eab):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1b2633['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1b2633['if']('isEnabled','ck-disabled',_0x18d131=>!_0x18d131),_0x1b2633['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1b2633['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1b2633['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':_0x1b2633['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':_0x2a14cd}]},this['revisionActionsView']],'on':{'click':_0x1b2633['to'](_0xc73b2a=>{_0xc73b2a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x26f646=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x26f646,'change',()=>{this['_requireRevisionName']&&!_0x26f646['value']||this['fire']('setName',{'id':this['id'],'name':_0x26f646['value']}),_0x26f646['value']||(_0x26f646['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(_0x56d066,_0x203c39){const _0x2b7034=_0x34cda8['fromJSDate'](_0x56d066)['setLocale'](_0x203c39),_0x2e8f3b=_0x34cda8['local'](),_0x123cf9=_0x2e8f3b['minus']({'days':0x1})['startOf']('day');let _0x13b908,_0xb91bd9;return _0x2b7034['hasSame'](_0x2e8f3b,'day')?(_0x13b908=_0x2b7034['startOf']('day')['toJSDate'](),_0xb91bd9=_0x2b7034['toRelativeCalendar']()):_0x2b7034['hasSame'](_0x123cf9,'day')?(_0x13b908=_0x123cf9['toJSDate'](),_0xb91bd9=_0x2b7034['toRelativeCalendar']()):_0x2b7034['hasSame'](_0x2e8f3b,'week')?(_0x13b908=_0x2b7034['startOf']('week')['toJSDate'](),_0xb91bd9=_0x2b7034['weekdayLong']||''):_0x2b7034['hasSame'](_0x2e8f3b,'year')?(_0x13b908=_0x2b7034['startOf']('month')['toJSDate'](),_0xb91bd9=_0x2b7034['monthLong']||''):(_0x13b908=_0x2b7034['startOf']('year')['toJSDate'](),_0xb91bd9=String(_0x2b7034['year'])),{'startDate':_0x13b908,'localizedPeriodName':_0xb91bd9};}class mi extends _0x1f237a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x58c8b5,_0x40ac78,_0x21c34b,_0x2520de){super(_0x58c8b5);const _0x250dcc=di(_0x40ac78,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x40ac78,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x21c34b,this['_requireRevisionName']=_0x2520de,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':_0x250dcc}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3b4bcf){const _0x240dff=new ai(this['locale'],_0x3b4bcf,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x240dff);}['removeRevision'](_0x3fbff3){const _0xba8917=this['revisionViews']['find'](_0x735e0b=>_0x735e0b['id']===_0x3fbff3['id']);this['revisionViews']['remove'](_0xba8917);}}class as extends _0x1f237a{constructor(_0x32ac3e){super(_0x32ac3e);const _0x3846d5=new _0x4f9dea();_0x3846d5['content']=_0x245a6e['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3846d5,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x32ac3e,'Revision\x20history')]}]});}}class ci extends _0x1f237a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x46c264,_0x286d5a,_0x1cc5de,_0x19f4c8){super(_0x46c264);const _0x271dd2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x286d5a,this['_revisionActions']=_0x1cc5de,this['_requireRevisionName']=_0x19f4c8,this['on']('select',(_0x277e9d,_0x34e14e)=>{this['fire']('revisionSelected',_0x34e14e);}),this['on']('setName',(_0x271145,_0x1cb716)=>{this['fire']('revisionSetName',_0x1cb716);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x46c264),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x271dd2['if']('isEnabled','ck-disabled',_0x201f09=>!_0x201f09)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x449dd2 of this['_revisions'])this['_addRevision'](_0x449dd2);this['_revisions']['on']('add',(_0x3120c8,_0x4d1b6)=>{this['_addRevision'](_0x4d1b6);}),this['_revisions']['on']('remove',(_0x441c96,_0x4806ec)=>{this['_removeRevision'](_0x4806ec);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x10a34e=>_0x10a34e['revisionViews']['map'](_0x7d08a=>_0x7d08a))['flat']();}['selectRevision'](_0x525e0a){for(const _0x8fa6a2 of this['revisionViews'])_0x525e0a&&_0x525e0a['id']===_0x8fa6a2['id']?_0x8fa6a2['select']():_0x8fa6a2['deselect']();}['highlightRevisions'](_0x1f5ce5){for(const _0x32249a of this['revisionViews'])_0x1f5ce5['some'](({id:_0x1cfdee})=>_0x1cfdee===_0x32249a['id'])?_0x32249a['highlight']():_0x32249a['unhighlight']();}['_addRevision'](_0x1ab1df){const _0x1a8dde=di(_0x1ab1df['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x228f5e=this['timePeriodViews']['get'](0x0);_0x228f5e&&_0x228f5e['startDate']['getTime']()===_0x1a8dde['getTime']()||(_0x228f5e=new mi(this['locale'],_0x1a8dde,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x228f5e)),_0x228f5e['addRevision'](_0x1ab1df);}['_removeRevision'](_0x482b84){const _0x2a0398=di(_0x482b84['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2a0398)['removeRevision'](_0x482b84);}['_getTimePeriodViewByStartDate'](_0x30552f){return this['timePeriodViews']['find'](_0x298a6=>_0x298a6['startDate']['getTime']()===_0x30552f['getTime']());}}class w extends _0xd653eb{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1c9f7f){super(_0x1c9f7f),this['_revisionViewer']=_0x1c9f7f['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5dd81f=this['_revisionsRepository']['_revisions'],_0x2cdb4=this['_createRevisionActions'](),_0x1dad57=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5dd81f,_0x2cdb4,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',(_0x2258d1,_0x4721ef)=>{_0x4721ef['revisionViews']['on']('add',(_0x497636,_0x555ddb)=>{_0x555ddb['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)),_0x1dad57['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4e0a88=this['_revisionsRepository']['getRevision'](0x0);if(_0x4e0a88){const _0x59354c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e0a88['id']);this['_revisionViewer']['compare'](_0x4e0a88,_0x59354c);}}['_handleRevisionSelected'](_0x422a43,_0x482ac2){const _0x40dc70=this['_revisionsRepository']['getRevision'](_0x482ac2['id']),_0x3fcf77=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x40dc70['id']);this['_revisionViewer']['compare'](_0x40dc70,_0x3fcf77);}['_handleRevisionSetName'](_0xc80fea,_0x5d918e){this['_revisionsRepository']['getRevision'](_0x5d918e['id'])['setName'](_0x5d918e['name']);}['_handleDiffChange'](_0x40a968,_0x5eedeb,_0x3a13f7){const _0x162ec7=this['_revisionsRepository']['getRevisionsInDiff'](_0x3a13f7);_0x162ec7['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x162ec7),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x162ec7[0x0]));}['_createRevisionActions'](){const _0x4fe725=this['editor'],_0x490829=w['availableRevisionActions'],_0x469042=_0x4fe725['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x469042['length'])return _0x469042['map'](_0x4e4395=>{const _0x26b1b5='string'==typeof _0x4e4395?Object['assign']({},_0x490829[_0x4e4395]):_0x4e4395;return _0x26b1b5['action']=_0x26b1b5['action']['bind'](this,_0x4fe725),_0x26b1b5['isVisible']&&(_0x26b1b5['isVisible']=_0x26b1b5['isVisible']['bind'](this,_0x4fe725)),_0x26b1b5;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xa5efa1},_0x5d93a5)=>{const _0x4ffffe=_0xa5efa1['get'](d),_0xe80033=_0x4ffffe['repository'];let _0x301446=_0x4ffffe['diff']['newRevisionId'],_0x2799c1=_0x5d93a5['id'];_0xe80033['getIndex'](_0x301446)>_0xe80033['getIndex'](_0x2799c1)&&([_0x301446,_0x2799c1]=[_0x2799c1,_0x301446]),_0x4ffffe['compare'](_0x301446,_0x2799c1);},'isVisible':({plugins:_0x3ca87d},_0x88b23d)=>{const _0x2c3d18=_0x3ca87d['get'](d);return!(_0x2c3d18['repository']['getRevisionsInDiff'](_0x2c3d18['diff'])['length']>0x2)&&!_0x88b23d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x51f25c,{id:_0x3832b5})=>{_0x51f25c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3832b5);},'isVisible':({plugins:_0xf2e9a9},_0x1c97c1)=>!!_0xf2e9a9['get'](d)['repository']['getLaterVisibleRevision'](_0x1c97c1['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x16655f},{id:_0x1a90ac,revisionNameView:_0x3fe0cf})=>{const _0x1c7ca9=_0x16655f['get'](d),_0x1e3250=_0x1c7ca9['repository']['getEarlierVisibleRevision'](_0x1a90ac);_0x1c7ca9['compare'](_0x1a90ac,_0x1e3250),_0x3fe0cf['focus'](),_0x3fe0cf['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x14f0f9,_0x24058a){super(_0x14f0f9),this['_view']=_0x24058a,this['_toolbarConfig']=ct(_0x14f0f9['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2097fb){const _0x40bf30=this['editor'],_0x27dccd=this['view'],_0x4985fa=_0x40bf30['editing']['view'],_0x1c6151=_0x27dccd['editable'],_0x19b162=_0x4985fa['document']['getRoot']();_0x1c6151['name']=_0x19b162['rootName'],_0x27dccd['render']();const _0x30e0e6=_0x1c6151['element'];this['setEditableElement'](_0x1c6151['name'],_0x30e0e6),_0x27dccd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4985fa['attachDomRoot'](_0x30e0e6),this['_elementReplacer']['replace'](_0x2097fb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x391514=this['view'],_0x2146b4=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2146b4['detachDomRoot'](_0x391514['editable']['name']),_0x391514['destroy']();}['_initToolbar'](){const _0x4cf728=this['view'];_0x4cf728['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4cf728['stickyPanel']['limiterElement']=_0x4cf728['element'],_0x4cf728['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xb7856e})=>_0xb7856e),_0x4cf728['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4cf728['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x402c52,_0x13123c,_0x5b449d={}){super(_0x402c52),this['stickyPanel']=new lt(_0x402c52),this['toolbar']=new pt(_0x402c52,{'shouldGroupWhenFull':_0x5b449d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x402c52,_0x13123c);}['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(_0x553740,_0xd4a1e5){super(_0xd4a1e5),this['sourceElement']=_0x553740,this['model']['document']['createRoot']();const _0xb46212=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xb46212);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x76bd4f,_0xfde6a1){const _0x39908f=new this(_0x76bd4f,_0xfde6a1);return await _0x39908f['initPlugins'](),await _0x39908f['ui']['init'](_0x76bd4f),await _0x39908f['data']['init'](_0x39908f['config']['get']('initialData')||''),_0x39908f['fire']('ready'),_0x39908f;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xd653eb{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x50ee2b){super(_0x50ee2b),this['result']='end';}}class H extends _0xd653eb{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3ccc84){if(super(_0x3ccc84),!this['editor']['config']['get']('revisionHistory'))throw new _0x9e4f0f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5beb05=>this['_showRevisionViewer']({..._0x5beb05,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x519a79=>this['_closeRevisionViewer'](_0x519a79)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xb97eb0=>this['_restoreRevision'](_0xb97eb0)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x181ba6){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x181ba6;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x33e717){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x33e717);}['getRevision'](_0x12ffd1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x12ffd1);}['getRevisions'](_0x5e0551={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5e0551);}['_getRevisionViewerEditorConfig'](){const _0x56c97f=this['editor'],_0x266d0e=_0x7f0a38(_0x56c97f,g),_0x484147=_0x56c97f['plugins']['get']('RevisionTracker'),_0xcb3bba=_0x56c97f['plugins']['get']('Users')['users'];return _0x266d0e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x266d0e['lazyRoots'],(_0x266d0e['plugins']['push'](k,d,R,class extends _0xd653eb{static get['requires'](){return[d,'Users'];}['init'](){const _0x8c2ea8=this['editor']['plugins']['get']('Users');for(const _0x546cbe of _0xcb3bba)_0x546cbe['isAnonymous']||_0x8c2ea8['getUser'](_0x546cbe['id'])||_0x8c2ea8['addUser'](_0x546cbe);const _0x1fe9db=_0x484147['repository']['getRevisions']();let _0x21e2b0=null;const _0x106c6e=this['editor']['plugins']['get']('RevisionViewer');_0x106c6e['adapter']=_0x484147['adapter'],_0x106c6e['bind']('isEnabled')['to'](_0x484147),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x56c97f,'isReadOnly',_0x1d0090=>!_0x1d0090);for(const _0x47dc7c of _0x1fe9db){const _0x132238=null===_0x47dc7c['creator'];if(_0x132238&&_0x47dc7c['toVersion']===_0x47dc7c['fromVersion'])continue;const _0x50213e=_0x47dc7c['toJSON']();_0x106c6e['addRevisionData'](_0x50213e,(_0x2ce8d4,_0x5d8cce,_0x3b6a44)=>{if(_0x132238){if(_0x21e2b0)_0x21e2b0['_update'](_0x2ce8d4,_0x5d8cce);else{if(!_0x5d8cce){const _0x19b94e=_0x3b6a44['toJSON']();_0x19b94e['id']=_0xe70ec5(),_0x484147['saveRevision'](_0x19b94e,_0x3b6a44['toVersion'])['then'](_0x52806b=>{_0x21e2b0=_0x52806b;});}}}else _0x47dc7c['_update'](_0x2ce8d4,_0x5d8cce);});}}},w),_0x266d0e);}['_enhanceShowRevisionViewerCallback'](){const _0x48256d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x269de4=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4124ee=this['editor']['plugins']['get']('Autosave');await _0x4124ee['save']();}else await _0x269de4['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x1bb26d=this['_getRevisionViewerEditorConfig']();return _0x48256d(_0x1bb26d)['then'](_0x177449=>{return(this['_viewerEditor']=_0x177449,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x177449;})['catch'](_0x561dea=>(console['error'](_0x561dea),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3bb442=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'](),_0x3bb442(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x323914=this['editor']['plugins']['get']('Annotations');_0x323914['refreshVisibility'](),_0x323914['refreshPositioning']();}})));}['_showRevisionViewer'](_0xc73a7c){const _0x1a591f=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x272b0e=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3007a6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3007a6,_0xc73a7c)['then'](_0x2ecbdf=>(_0x272b0e['style']['display']='block',_0x1a591f['style']['display']='none',_0x2ecbdf));}['_closeRevisionViewer'](_0x2c673a){const _0x567f4c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x567f4c['style']['display']='',_0x2c673a['destroy']();}async['_restoreRevision'](_0x848d63){const _0x4c7b7b=this['editor'],_0x2163ca=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1e3651=_0x4c7b7b['plugins']['get']('RevisionTracker'),_0x308ef7=_0x2163ca['repository']['getRevision'](_0x848d63);let _0x4b2b76,_0x25ee21,_0x1d3640;try{_0x4b2b76=await _0x2163ca['getRevisionData'](_0x308ef7),_0x25ee21=await _0x2163ca['getRevisionRootsAttributes'](_0x308ef7);}catch(_0x4bf659){return void console['error'](_0x4bf659);}_0x4c7b7b['model']['change'](_0x28ed08=>{for(const _0x5ac964 of Array['from'](_0x4c7b7b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x28ed08['removeMarker'](_0x5ac964);}),_0x2163ca['isReady']=!0x1,_0x4c7b7b['model']['enqueueChange'](_0x59c95e=>{_0x59c95e['setSelection'](null),_0x59c95e['removeSelectionAttribute'](_0x4c7b7b['model']['document']['selection']['getAttributeKeys']());const _0x5e942d=Object['keys'](_0x4b2b76);for(const _0x4e89ce of _0x4c7b7b['model']['document']['roots'])'$graveyard'!=_0x4e89ce['rootName']&&_0x4e89ce['isAttached']()&&!_0x5e942d['includes'](_0x4e89ce['rootName'])&&_0x59c95e['detachRoot'](_0x4e89ce);for(const _0x3fa1e9 of _0x5e942d){let _0x2b80ce=_0x4c7b7b['model']['document']['getRoot'](_0x3fa1e9);_0x2b80ce&&_0x2b80ce['isAttached']()||(_0x2b80ce=_0x59c95e['addRoot'](_0x3fa1e9));const _0x34739e=_0x25ee21[_0x3fa1e9],_0x549e48=Object['keys'](_0x34739e),_0x1ac7b1=_0x4b2b76[_0x3fa1e9];for(const _0x1f9f27 of _0x2b80ce['getAttributeKeys']())_0x549e48['includes'](_0x1f9f27)||_0x59c95e['removeAttribute'](_0x1f9f27,_0x2b80ce);for(const _0xc4f292 of _0x549e48)_0x59c95e['setAttribute'](_0xc4f292,_0x25ee21[_0x3fa1e9][_0xc4f292],_0x2b80ce);_0x59c95e['remove'](_0x59c95e['createRangeIn'](_0x2b80ce)),_0x59c95e['insert'](_0x4c7b7b['data']['parse'](_0x1ac7b1,_0x2b80ce),_0x2b80ce,0x0);}});const _0x2211da=y(_0x4c7b7b['locale'],'Restored');if(_0x308ef7['name'])_0x1d3640=-0x1==_0x308ef7['name']['indexOf'](_0x2211da)?_0x2211da+':\x20'+_0x308ef7['name']:_0x308ef7['name'];else _0x1d3640=_0x2211da+':\x20'+(_0x308ef7['createdAt']['toLocaleDateString'](_0x4c7b7b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x308ef7['createdAt']['toLocaleTimeString'](_0x4c7b7b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1e3651['saveRevision']({'name':_0x1d3640}),_0x2163ca['isReady']=!0x0,_0x4c7b7b['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};
|
|
23
|
+
import{Plugin as _0x26bd26,Context as _0x250484,PendingActions as _0x19b213,icons as _0x3886ba,Command as _0x41a8f1,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x400224,uid as _0x535ce0,Collection as _0xb29b20,logWarning as _0x57b1c8,FocusTracker as _0x32eafd,KeystrokeHandler as _0x77408e,scrollViewportToShowTarget as _0x5b4f0e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5c8d32}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x376a85,getMarkerDomElement as _0x3a1967,ConfirmMixin as _0x545dd0,sanitizeEditorConfig as _0x5ac833}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x55c919,ViewText as _0x1e4a24,ViewElement as _0x2f3835,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0xd63b61,ViewAttributeElement as _0x5b8a0f,ViewEmptyElement as _0x58419c,ViewRawElement as _0x4aebd0,ViewUIElement as _0x575c1f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1387cf,set as _0x167d6d,unset as _0x209db0,isEqual as _0x42412d}from'lodash-es';import{View as _0x26e5c9,injectCssTransitionDisabler as ts,submitHandler as _0x2be6da,LabeledFieldView as at,createLabeledInputText as _0x9e4e7d,createDropdown as _0x369452,ListView as te,ListItemView as _0x21d8fa,ButtonView as _0x51dfa6,MenuBarMenuView as _0x41603e,MenuBarMenuListView as _0x255e91,MenuBarMenuListItemView as _0x514062,MenuBarMenuListItemButtonView as _0x38f481,ContextualBalloon as _0x743844,ToolbarSeparatorView as _0x5d5f75,IconView as _0x5b75cd,addListToDropdown as _0x12f4ef,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 _0x154ff2}from'luxon';class a extends _0x400224(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3274db){super(),this['id']=_0x3274db['id']||_0x535ce0(),this['creator']=_0x3274db['creator']||null,this['authors']=_0x3274db['authors']||[],this['diffData']=_0x3274db['diffData']||null,this['toVersion']=_0x3274db['toVersion']||0x0,this['fromVersion']=_0x3274db['fromVersion']||0x0,this['set']('name',_0x3274db['name']||''),this['set']('createdAt',_0x3274db['createdAt']||new Date()),this['set']('attributes',_0x3274db['attributes']||{});}['setName'](_0x522a21){this['_update']({'name':_0x522a21});}['setAttribute'](_0xda4e09,_0x15184d){const _0x15b520=_0x1387cf(this['attributes']);_0x167d6d(_0x15b520,_0xda4e09,_0x15184d),this['_update']({'attributes':_0x15b520});}['removeAttribute'](_0x413033){const _0x4fb886=_0x1387cf(this['attributes']);_0x209db0(_0x4fb886,_0x413033),this['_update']({'attributes':_0x4fb886});}['_update'](_0x52937a,_0x5ec9d8=!0x1){let _0x938631=!0x1;const _0x215d7d={'id':this['id']},_0x41afe9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e1faf of _0x41afe9){const _0x4f57aa=_0x52937a[_0x5e1faf];void 0x0!==_0x4f57aa&&_0x4f57aa!==this[_0x5e1faf]&&(this[_0x5e1faf]=_0x4f57aa,_0x215d7d[_0x5e1faf]=_0x4f57aa,_0x938631=!0x0);}_0x938631&&(_0x215d7d['authors']&&(_0x215d7d['authorsIds']=_0x215d7d['authors']['map'](_0x2d5fa5=>_0x2d5fa5['id']),delete _0x215d7d['authors']),this['fire']('_update',_0x215d7d,_0x5ec9d8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xb376=>_0xb376['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x26bd26{['_revisions'];static get['requires'](){return[_0x376a85];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4a8db2){super(_0x4a8db2),this['_revisions']=new _0xb29b20();}['afterInit'](){!function(_0xe8807d){function _0x157353(_0x1148e7,_0x58ccb9,_0x12a115){const _0x328733={};_0x328733[_0x3d45dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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],_0x328733[_0x3d45dc([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 _0x18f715=new Uint8Array(0x10);for(let _0x1ebdc7=0xf;_0x1ebdc7>=0x0;--_0x1ebdc7)_0x18f715[_0x1ebdc7]=_0x12a115%0x100,_0x12a115=parseInt(_0x12a115/0x100);let _0x581b16=null,_0x1d59fa=0x10;const _0x227962=new Uint8Array(_0x58ccb9),_0xe6095e=[],_0xe10b45=[];_0x479a30();for(let _0x5ca197=0x0;_0x5ca197<_0x1148e7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ca197++)0x10===_0x1d59fa&&(_0x581b16=_0x116c26(_0x18f715),_0x1d59fa=0x0,_0x57961c(_0x18f715)),_0x1148e7[_0x5ca197]^=_0x581b16[_0x1d59fa++];return _0x1148e7;function _0x38824e(_0x1b574a){const _0x164c0d=[];for(let _0x7d999d=0x0;_0x7d999d<_0x1b574a[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d999d+=0x4)_0x164c0d[_0x3d45dc([0x70,0x75,0x73,0x68])](_0x1b574a[_0x7d999d]<<0x18|_0x1b574a[_0x7d999d+0x1]<<0x10|_0x1b574a[_0x7d999d+0x2]<<0x8|_0x1b574a[_0x7d999d+0x3]);return _0x164c0d;}function _0x57961c(_0x5d6ecd){for(let _0xa82b04=0xf;_0xa82b04>=0x0;_0xa82b04--){if(0xff!==_0x5d6ecd[_0xa82b04]){_0x5d6ecd[_0xa82b04]++;break;}_0x5d6ecd[_0xa82b04]=0x0;}}function _0x116c26(_0x34fb9a){const _0x2ee431=_0xe6095e[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4e1ae2=[0x0,0x0,0x0,0x0];let t=_0x38824e(_0x34fb9a);for(let _0x3f6cab=0x0;_0x3f6cab<0x4;_0x3f6cab++)t[_0x3f6cab]^=_0xe6095e[0x0][_0x3f6cab];for(let _0x27234b=0x1;_0x27234b<_0x2ee431;_0x27234b++){for(let _0x1fee65=0x0;_0x1fee65<0x4;_0x1fee65++)_0x4e1ae2[_0x1fee65]=_0x328733[_0x3d45dc([0x54,0x31])][t[_0x1fee65]>>0x18&0xff]^_0x328733[_0x3d45dc([0x54,0x32])][t[(_0x1fee65+0x1)%0x4]>>0x10&0xff]^_0x328733[_0x3d45dc([0x54,0x33])][t[(_0x1fee65+0x2)%0x4]>>0x8&0xff]^_0x328733[_0x3d45dc([0x54,0x34])][0xff&t[(_0x1fee65+0x3)%0x4]]^_0xe6095e[_0x27234b][_0x1fee65];t=_0x4e1ae2[_0x3d45dc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x17259f=new Uint8Array(0x10);let _0x5bc1fc;for(let _0x96e63e=0x0;_0x96e63e<0x4;_0x96e63e++)_0x5bc1fc=_0xe6095e[_0x2ee431][_0x96e63e],_0x17259f[0x4*_0x96e63e]=0xff&(_0x328733[_0x3d45dc([0x53])][t[_0x96e63e]>>0x18&0xff]^_0x5bc1fc>>0x18),_0x17259f[0x4*_0x96e63e+0x1]=0xff&(_0x328733[_0x3d45dc([0x53])][t[(_0x96e63e+0x1)%0x4]>>0x10&0xff]^_0x5bc1fc>>0x10),_0x17259f[0x4*_0x96e63e+0x2]=0xff&(_0x328733[_0x3d45dc([0x53])][t[(_0x96e63e+0x2)%0x4]>>0x8&0xff]^_0x5bc1fc>>0x8),_0x17259f[0x4*_0x96e63e+0x3]=0xff&(_0x328733[_0x3d45dc([0x53])][0xff&t[(_0x96e63e+0x3)%0x4]]^_0x5bc1fc);return _0x17259f;}function _0x479a30(){const _0x3d0619=_0x328733[_0x3d45dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x227962[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x7a35f=0x0;_0x7a35f<=_0x3d0619;_0x7a35f++)_0xe6095e[_0x3d45dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xe10b45[_0x3d45dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2699f0=0x4*(_0x3d0619+0x1),_0x4a100e=_0x227962[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x449525=_0x38824e(_0x227962);let _0x374b69;for(let _0x2e07ee=0x0;_0x2e07ee<_0x4a100e;_0x2e07ee++)_0x374b69=_0x2e07ee>>0x2,_0xe6095e[_0x374b69][_0x2e07ee%0x4]=_0x449525[_0x2e07ee],_0xe10b45[_0x3d0619-_0x374b69][_0x2e07ee%0x4]=_0x449525[_0x2e07ee];let _0x75c06,_0x31fa87=0x0,t=_0x4a100e;for(;t<_0x2699f0;){_0x75c06=_0x449525[_0x4a100e-0x1],_0x449525[0x0]^=_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x10&0xff]<<0x18^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x8&0xff]<<0x10^_0x328733[_0x3d45dc([0x53])][0xff&_0x75c06]<<0x8^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x18&0xff]^_0x328733[_0x3d45dc([0x72,0x63,0x6f,0x6e])][_0x31fa87]<<0x18,_0x31fa87+=0x1;for(let _0x228842=0x1;_0x228842<_0x4a100e/0x2;_0x228842++)_0x449525[_0x228842]^=_0x449525[_0x228842-0x1];_0x75c06=_0x449525[_0x4a100e/0x2-0x1],_0x449525[_0x4a100e/0x2]^=_0x328733[_0x3d45dc([0x53])][0xff&_0x75c06]^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x8&0xff]<<0x8^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x10&0xff]<<0x10^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x18&0xff]<<0x18;for(let _0x48cd08=_0x4a100e/0x2+0x1;_0x48cd08<_0x4a100e;_0x48cd08++)_0x449525[_0x48cd08]^=_0x449525[_0x48cd08-0x1];let _0x28ffef,_0x124cc7,_0x15dc48=0x0;for(;_0x15dc48<_0x4a100e&&t<_0x2699f0;)_0x28ffef=t>>0x2,_0x124cc7=t%0x4,_0xe6095e[_0x28ffef][_0x124cc7]=_0x449525[_0x15dc48],_0xe10b45[_0x3d0619-_0x28ffef][_0x124cc7]=_0x449525[_0x15dc48++],t++;}for(let _0x197cc6=0x1;_0x197cc6<_0x3d0619;_0x197cc6++)for(let _0x37dda7=0x0;_0x37dda7<0x4;_0x37dda7++)_0x75c06=_0xe10b45[_0x197cc6][_0x37dda7],_0xe10b45[_0x197cc6][_0x37dda7]=_0x328733[_0x3d45dc([0x55,0x31])][_0x75c06>>0x18&0xff]^_0x328733[_0x3d45dc([0x55,0x32])][_0x75c06>>0x10&0xff]^_0x328733[_0x3d45dc([0x55,0x33])][_0x75c06>>0x8&0xff]^_0x328733[_0x3d45dc([0x55,0x34])][0xff&_0x75c06];}}function _0x3d45dc(_0x40e944){return _0x40e944['map'](_0x5e2482=>String['fromCharCode'](_0x5e2482))['join']('');}(_0x1afb53=>{function _0x56ac2d(){const _0x54a59a=[{[_0x3d45dc([0x69,0x64])]:0x1,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3d45dc([0x69,0x64])]:0x2,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([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]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3d45dc([0x69,0x64])]:0x3,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0x4,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([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]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3d45dc([0x69,0x64])]:0x5,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([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]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x6,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x7,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x8,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([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]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x9,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3d45dc([0x69,0x64])]:0xa,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([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]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([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]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([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]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0xb,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0xc,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3d45dc([0x69,0x64])]:0xd,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0xe,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([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])},{[_0x3d45dc([0x69,0x64])]:0xf,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0x10,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}}];return _0x1e6093(_0x54a59a),_0x54a59a;function _0x288757(_0x469957){return 0x1<<_0x469957-0x1;}function _0x1e6093(_0x2b5283){_0x2b5283[_0x3d45dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28d285=>{_0x28d285[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x288757(_0x28d285[_0x3d45dc([0x69,0x64])]),_0x4ee21a(_0x28d285)&&_0x28d285[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1e6093(_0x28d285[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4ee21a(_0x23a9f7){return _0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x23a9f7;}const _0x3b7000=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x14a5b6=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x88d8c5(_0xeba41b){const _0x5dc433=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1ca233(_0xeba41b,new Uint8Array([..._0x3b7000,..._0x5dc433,..._0x14a5b6]));}function _0x1ca233(_0x17b69c,_0x1fad67){const _0x28b515=_0x2e8eb9(_0x17b69c),_0x14f930=Array[_0x3d45dc([0x66,0x72,0x6f,0x6d])](_0x5dd6a4(_0x28b515)),_0x567acf=_0x14f930[_0x3d45dc([0x70,0x6f,0x70])](),_0x5a94fd=_0x14f930[_0x3d45dc([0x70,0x6f,0x70])]();return _0x5897d8(_0x157353(_0x14f930,_0x1fad67,_0x5a94fd+0x100*_0x567acf));}function _0x2e8eb9(_0x3810d9){const _0x2ad26e=atob(_0x3810d9),[_0x333083,_0x11d31b]=_0x2ad26e[_0x3d45dc([0x73,0x70,0x6c,0x69,0x74])](_0x3d45dc([0x2d]));try{if(atob(_0x11d31b))return atob(_0x333083);}catch(_0x1f2922){}return _0x2ad26e;}function _0x46403d(_0x2b9a71){try{const _0x343103=_0x88d8c5(_0x2b9a71),_0x2badf8=JSON[_0x3d45dc([0x70,0x61,0x72,0x73,0x65])](_0x343103),_0xe24f38=parseInt(_0x2badf8[_0x3d45dc([0x31])]),_0x533cad=_0x2badf8[_0x3d45dc([0x32])]||'',_0x5814a4=parseInt(_0x2badf8[_0x3d45dc([0x33])]),_0x228216=parseInt(_0x2badf8[_0x3d45dc([0x34])])||0x0,_0x4249f3=parseInt(_0x2badf8[_0x3d45dc([0x35])])||0x0;return{[_0x3d45dc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x533cad,[_0x3d45dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x228216,[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xe24f38,[_0x3d45dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x5814a4,[_0x3d45dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4249f3};}catch(_0x335323){return null;}}const _0x2fc536=_0x56ac2d(),_0x57e756={[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x130904,[_0x3d45dc([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])]:_0x39adcd,[_0x3d45dc([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])]:_0x3552de},_0xfd5c92=_0x1afb53[_0x3d45dc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3a1bf1=_0x3d45dc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x1afb53?_0x1afb53['context']:_0x1afb53['editor'],_0x3d99b7=_0x3d45dc([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x38]),_0x391c80=_0x3d45dc([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]),_0xf83462=_0x3a1bf1['config']['get'](_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5b6ee1=_0x2fc536[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ee21a)[_0x3d45dc([0x66,0x69,0x6e,0x64])](_0xdf4922=>_0xdf4922[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xfd5c92);function _0x4054f7(_0x5ea8be,_0x4f83e3){_0x57e756[_0x4f83e3[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5ea8be,_0x4f83e3),_0x4f83e3[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4f83e3[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a6e4=>_0x38ded0(_0x3a1bf1,_0x3a6e4[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3d45dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x512fc2=>_0x4054f7(_0x5ea8be,_0x512fc2));}function _0x130904(_0x12b424,_0x39deb4){_0x512eaa(_0x88d302(_0x12b424,_0x39deb4),_0x39deb4);}function _0x39adcd(_0x420853,_0x37b70d){function _0x34dd39(_0x1236b4,_0x1ce7f4){try{if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1236b4){const _0xaa3d32=_0x44c520(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3d45dc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xaa3d32)/0x2>_0x1236b4[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x561149(_0x1ce7f4[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x88d302(_0x1236b4,_0x1ce7f4);}catch(_0x1a57e1){return _0x561149(_0x1ce7f4[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x512eaa(_0x34dd39(_0x420853,_0x37b70d),_0x37b70d);}function _0x3552de(_0x30c9a1,_0x1034a1){const _0x3837db=_0x14a5b6[0x0]*_0x3b7000[0x1],_0x582ef8=_0x14a5b6[0x0]*_0x3b7000[0x2],_0x553a49=_0x14a5b6[0x2]*_0x3b7000[0x2];_0x38ded0(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x188d72()]=_0x553a49);function _0x3cc9fa(_0x595e9e,_0xc235a8){try{return _0x564a1f()?_0x561149(_0xc235a8[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x88d302(_0x595e9e,_0xc235a8);}catch(_0xb6e18){return _0x561149(_0xc235a8[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xf39cfa(_0x44cde3,_0x3e7f0d){const _0x116e29=0x7;if(_0x44cde3==_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3182a7();else{if(_0x44cde3==_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])){const _0xfd6b47=_0x266898();_0xfd6b47&&_0x274ef6(_0xfd6b47,_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x26514f=_0x2138b3();window[_0x3d45dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x274ef6(_0x3d45dc([0x74,0x69,0x6d,0x65]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x26514f);const _0x18f449=_0x44c520(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x18f449[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x116e29?_0x274ef6(_0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x18f449['on'](_0x3d45dc([0x61,0x64,0x64]),()=>{_0x18f449[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x116e29&&_0x274ef6(_0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x266898(){if(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41e642 in window)if(Number['isNaN'](Number(_0x41e642))){if(window[_0x41e642]===_0x3837db)return _0x3d45dc([0x74,0x69,0x6d,0x65]);if(window[_0x41e642]===_0x582ef8)return _0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x564a1f(){if(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4b069 in window)if(Number['isNaN'](Number(_0x4b069))&&window[_0x4b069]===_0x553a49)return!0x0;return!0x1;}function _0x274ef6(_0x526521,_0x4965e2){_0x3182a7(),_0x561149(_0x4965e2+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x526521),window[_0x188d72()]=_0x526521===_0x3d45dc([0x74,0x69,0x6d,0x65])?_0x3837db:_0x582ef8;}function _0x2138b3(){let _0x3892bb=_0x14a5b6[0x6]*_0x3b7000[0x8]*_0x3b7000[0x6];return _0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3892bb/=0xa),_0x3892bb;}function _0x3182a7(){const _0x21bf24=_0x3a1bf1;function _0x397d0b(){_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x19890c,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x19890c,_0x21bf24[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x21bf24[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x21bf24[_0x3d45dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x19890c,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x19890c);}_0x21bf24[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x72,0x65,0x61,0x64,0x79])?_0x397d0b():_0x21bf24[_0x3d45dc([0x6f,0x6e,0x63,0x65])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x397d0b(),_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3d50fb=_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1defcf=_0x3d50fb['getRevision'](0x0),_0x1550e0=_0x3d50fb['getEarlierVisibleRevision'](_0x1defcf[_0x3d45dc([0x69,0x64])]);_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1defcf[_0x3d45dc([0x69,0x64])],_0x1550e0?_0x1550e0[_0x3d45dc([0x69,0x64])]:null,0x1)['then'](()=>_0x397d0b());}});}_0xf39cfa(_0x3cc9fa(_0x30c9a1,_0x1034a1),_0x1034a1);}function _0x88d302(_0x2b2564,_0x2914fc){try{return _0x460bb0(_0x2914fc)?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x2b2564&&_0x3bad0c(_0x2b2564[_0x3d45dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2914fc)?_0x2b2564[_0x3d45dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3d45dc([0x6f,0x70,0x65,0x6e])][_0x3d45dc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3d99b7)/0x2>_0x2b2564[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2b2564[_0x3d45dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])):_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5d53d9){return _0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x512eaa(_0x3b919c,_0x541255){if(_0x3a1bf1 instanceof _0x250484){const _0x4c9020=_0x3a1bf1;_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3dc7f6(_0x4c9020):_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3d45dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3dc7f6(_0x4c9020),_0x561149(_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x14a5b6[0x6]*_0x3b7000[0x8]*_0x3b7000[0x6]),_0x4c9020[_0x3d45dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x61,0x64,0x64]),(_0x4c783b,_0x1c2436)=>{_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2ccd6e(_0x1c2436);});}else{const _0x4e12d4=_0x3a1bf1;_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2ccd6e(_0x4e12d4):_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])&&_0x4e12d4[_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x513c9d=0x0;_0x4e12d4[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd081,_0x3df64c)=>{_0x3df64c[0x0][_0x3d45dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x513c9d++,0x1f8===_0x513c9d&&(_0x2ccd6e(_0x4e12d4),_0x561149(_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1bd081[_0x3d45dc([0x6f,0x66,0x66])]());},{'priority':_0x3d45dc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x561149(_0x3e7bed){const _0xa02531=_0x188d72();return _0x3a1bf1[_0xa02531]=_0x3e7bed,_0x3e7bed;}function _0x188d72(){const _0x3c4098=String(window[_0x3d45dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d45dc([0x6e,0x6f,0x77])]())[_0x3d45dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d45dc([0x2e]),'');let _0xaa2c87='';for(let _0x4c1f9e=0x0;_0x4c1f9e<_0x3c4098[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c1f9e+=0x2){let _0x4fa935=parseInt(_0x3c4098[_0x3d45dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c1f9e,_0x4c1f9e+0x2));_0x4fa935>=_0x391c80[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fa935-=_0x391c80[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xaa2c87+=_0x391c80[_0x4fa935];}return _0xaa2c87;}function _0x3dc7f6(_0x3cf1cf){for(const _0x27f8fc of _0x3cf1cf[_0x3d45dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2ccd6e(_0x27f8fc);_0x44c520(_0x3cf1cf,_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x44c520(_0x3cf1cf,_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x19890c;}function _0x2ccd6e(_0x3f53f9){function _0x189347(){_0x3f53f9[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x3f53f9[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x3f53f9[_0x3d45dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3f53f9[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x72,0x65,0x61,0x64,0x79])?_0x189347():_0x3f53f9[_0x3d45dc([0x6f,0x6e,0x63,0x65])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>_0x189347());}function _0x19890c(){return null;}function _0x3bad0c(_0x39b1df,_0x419a9d){const _0x37e16c=!!(_0x39b1df&_0x419a9d[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x26a62e=_0x2da95b(_0x39b1df,_0x419a9d);return _0x37e16c||_0x26a62e;}function _0x2da95b(_0x15381b,_0x88c1e1){const _0x18a46c=(_0x88c1e1[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3d45dc([0x66,0x67,0x69])]||null;return!!_0x18a46c&&_0x2fc536[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1356bf=>_0x18a46c[_0x3d45dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1356bf[_0x3d45dc([0x69,0x64])]))[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d67a6=>!_0x2b0e21(_0x1d67a6))[_0x3d45dc([0x73,0x6f,0x6d,0x65])](_0x5e4da4=>!!(_0x15381b&_0x5e4da4[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2b0e21(_0x57fb47){const _0x242254={[_0x3d45dc([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])]:_0x13099c};return!!_0x57fb47['forbiddenHandler']&&_0x242254[_0x57fb47['forbiddenHandler']]();}function _0x13099c(){return!window[_0x3d45dc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x460bb0(_0x410a58){if(!_0x38ded0(_0x3a1bf1,_0x410a58[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4da50d=_0x410a58[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5c28bd=_0x4da50d[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3d8b23=_0x4da50d[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4f7e74=_0x4da50d[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5c28bd)return!0x0;if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3d45dc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3d45dc([0x65,0x6e,0x64])&&_0x3d8b23)return!0x0;return!(!_0x38ded0(_0x3a1bf1,_0x3d45dc([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]))||_0x44c520(_0x3a1bf1,_0x3d45dc([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]))[_0x3d45dc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3d45dc([0x65,0x6e,0x64])||!_0x4f7e74);}function _0x38ded0(_0x22d4af,_0x320c8f){return _0x22d4af[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d45dc([0x68,0x61,0x73])](_0x320c8f);}function _0x44c520(_0xd17c53,_0x328636){return _0xd17c53[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d45dc([0x67,0x65,0x74])](_0x328636);}function _0x5897d8(_0x21d04f){let _0x4f7314='';for(const _0x48b91a of _0x21d04f)_0x4f7314+=String[_0x3d45dc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x48b91a);return _0x4f7314;}function _0x5dd6a4(_0x4961b7){const _0x5a7e1f=new Uint8Array(_0x4961b7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x213bb8=0x0;_0x213bb8<_0x4961b7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x213bb8++)_0x5a7e1f[_0x213bb8]=_0x4961b7[_0x3d45dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x213bb8);return _0x5a7e1f;}_0x5b6ee1&&_0x4054f7(_0x46403d(_0xf83462),_0x5b6ee1);})(_0xe8807d);}(this);}['createRevision'](_0x41c4db){const _0xd3fd26=this['editor']['plugins']['get']('Users');return new a({'id':_0x41c4db['id'],'name':_0x41c4db['name'],'creator':_0x41c4db['creatorId']?_0xd3fd26['getUser'](_0x41c4db['creatorId']):null,'diffData':_0x41c4db['diffData']||_0x41c4db['data'],'authors':_0x41c4db['authorsIds']['map'](_0xe0a53c=>_0xd3fd26['getUser'](_0xe0a53c)),'createdAt':new Date(_0x41c4db['createdAt']),'attributes':_0x41c4db['attributes'],'fromVersion':_0x41c4db['fromVersion'],'toVersion':_0x41c4db['toVersion']});}['addRevision'](_0x1d1bfc,_0x1c8556=0x0){this['_revisions']['add'](_0x1d1bfc,_0x1c8556);}['getRevision'](_0x2519a0){return this['_revisions']['get'](_0x2519a0);}['getRevisions'](_0x2ef9b0={'toJSON':!0x1}){const _0x33a580=Array['from'](this['_revisions']);return _0x33a580['reverse'](),_0x2ef9b0['toJSON']?_0x33a580['map'](_0x13f59d=>_0x13f59d['toJSON']()):_0x33a580;}['getIndex'](_0x26dd02){return this['_revisions']['getIndex'](_0x26dd02);}['getEarlierVisibleRevision'](_0x475ea6){const [,_0x1080c9]=this['getRevisionsIterator'](_0x475ea6,{'direction':'earlier'});return _0x1080c9;}['getLaterVisibleRevision'](_0x34b70b){const [,_0x4b4d9b]=this['getRevisionsIterator'](_0x34b70b,{'direction':'later'});return _0x4b4d9b;}['getRevisionsInDiff'](_0x209384){const _0x5d38af=[];for(const _0x1e007b of this['getRevisionsIterator'](_0x209384['newRevisionId']))if(_0x5d38af['push'](_0x1e007b),_0x1e007b['id']===_0x209384['oldRevisionId'])break;return _0x5d38af;}*['getRevisionsIterator'](_0x839fc2,{direction:_0x317949='earlier',filter:_0x49cf83=_0x27a03b=>!0x0}={}){const _0x378812='earlier'===_0x317949?0x1:-0x1;let _0x1d59ce=this['_revisions']['get'](_0x839fc2),_0x48a90c=this['getIndex'](_0x1d59ce);for(yield _0x1d59ce;_0x1d59ce;){if(_0x48a90c+=_0x378812,_0x1d59ce=this['getRevision'](_0x48a90c),!_0x1d59ce)return;_0x49cf83(_0x1d59ce)&&(yield _0x1d59ce);}}}function y(_0x224653,_0x12efb8,_0x151317){const t=_0x224653['t'];switch(_0x12efb8){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'},_0x151317);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x151317);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':_0xd63b61,'a':_0x5b8a0f,'e':_0x58419c,'r':_0x4aebd0,'u':_0x575c1f};class l extends _0x26bd26{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x376a85,A,_0x19b213];}constructor(_0x838b49){super(_0x838b49),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 _0x54bb22=_0x535ce0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x54bb22},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 _0x489e8b=this['repository']['getRevision'](0x0),_0x4842c6=_0x489e8b&&null===_0x489e8b['creator']?_0x489e8b:null;if(this['_continueCurrentRevision']=!!_0x4842c6&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4d93a9=this['_source']['getCurrentRevisionId'](),_0x19a5c3=this['repository']['getRevision'](_0x4d93a9);if(_0x19a5c3)this['_startingVersion']=_0x19a5c3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1af7b3=this['_source']['history']['_operations']['find'](_0x3b58ce=>!_0x3b58ce['_isInit']),_0x4410a2=_0x1af7b3?_0x1af7b3['baseVersion']:this['_source']['history']['version'];_0x489e8b?(_0x489e8b['toVersion']<_0x4410a2&&_0x489e8b['_update']({'toVersion':_0x4410a2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id'],this['_startingVersion']=_0x4842c6['fromVersion']):(this['_startingVersion']=_0x489e8b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4410a2,this['_continueCurrentRevision']=!0x1);}}else _0x4842c6&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4842c6['toVersion'],this['editor']['model']['document']['history']['version']),_0x4842c6['fromVersion']===_0x4842c6['toVersion']?(0x0!==_0x4842c6['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id'],this['_startingVersion']=_0x4842c6['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',_0x71846c=>!_0x71846c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x18c91e=this['repository']['getRevision'](0x0),_0x4891b4=await this['getRevisionDocumentData'](_0x18c91e),_0x570a23=await this['getRevisionRootsAttributes'](_0x18c91e);this['_replaceEditorDataWithRevisionData'](_0x4891b4,_0x570a23);}}['setSource'](_0x552a77){this['_source']=_0x552a77;}async['update'](){const _0x4c005b=await this['_source']['getLatestVersion']();if(_0x4c005b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x32a3b8=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4c005b});_0x32a3b8['authors']=_0x32a3b8['authorsIds']['map'](_0x36e7e4=>this['editor']['plugins']['get']('Users')['getUser'](_0x36e7e4)),this['currentRevision']['_update'](_0x32a3b8);}}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'](_0x3612e0={},_0x1e8339=null){const _0x353140=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1e8339>this['currentRevision']['toVersion']&&(_0x1e8339=null),null===_0x1e8339&&(_0x1e8339=await this['_source']['getLatestVersion']());const _0xa0f4f9=this['_getFromVersion'](_0x1e8339),_0x132151=this['buildRevisionData']({'from':_0xa0f4f9,'to':_0x1e8339});if(this['currentRevision']['toVersion']<_0x1e8339){const _0x297bdd=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1e8339,'to':_0x1e8339});_0x297bdd['authors']=[],_0x297bdd['authorsIds']=[],_0x297bdd['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x297bdd,!0x0),delete _0x297bdd['authors'],_0x353140['push'](_0x297bdd);}_0x3612e0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3612e0['name']=_0x3612e0['name']||null,_0x3612e0['id']=_0x3612e0['id']||_0x535ce0(),_0x3612e0={..._0x3612e0,..._0x132151};const _0xb58f19=this['addRevisionData'](_0x3612e0);_0x353140['push'](_0x3612e0);const _0x191193=this['repository']['getIndex'](_0xb58f19);if(0x0!==_0x191193){const _0x176c51=this['repository']['getRevision'](_0x191193-0x1);if(_0x176c51['fromVersion']!==_0x1e8339){const _0x3fae95=this['_revisionDataBuilder']['getData'](_0x1e8339,_0x176c51['toVersion']),_0xd0326c={'id':_0x176c51['id'],'diffData':_0x3fae95['diffData'],'authorsIds':_0x3fae95['authorsIds'],'authors':_0x3fae95['authorsIds']['map'](_0x5539ae=>this['editor']['plugins']['get']('Users')['getUser'](_0x5539ae)),'fromVersion':_0x1e8339};_0x176c51===this['currentRevision']&&(_0xd0326c['createdAt']=new Date(_0x3612e0['createdAt']['getTime']()+0xa)),_0x176c51['_update'](_0xd0326c,!0x0),delete _0xd0326c['authors'],_0x353140['push'](_0xd0326c);}}if(this['adapter']){for(const _0x50502c of _0x353140)this['_bufferUpdate'](_0x50502c['id'],_0x50502c,!0x0);this['sendBufferedUpdates']();}return _0xb58f19;}['addRevisionData'](_0x5ed4e2){const _0x4a5f39=this['repository']['createRevision'](_0x5ed4e2);return this['adapter']&&_0x4a5f39['on']('_update',(_0x3a5eb,_0x55afd9,_0x507bf5)=>{_0x507bf5||(this['_bufferUpdate'](_0x55afd9['id'],_0x55afd9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4a5f39,this['_findInsertionIndex'](_0x4a5f39)),_0x4a5f39;}async['getRevisionDocumentData'](_0x32a93b){await this['_loadRevisionData'](_0x32a93b);const _0x340239={};for(const _0x17e93e in _0x32a93b['diffData']){if(_0x32a93b['diffData'][_0x17e93e]['attachChange']&&!_0x32a93b['diffData'][_0x17e93e]['attachChange']['isAttached'])continue;const _0x2bb3db=this['_removeRevisionMarkers'](JSON['parse'](_0x32a93b['diffData'][_0x17e93e]['insertions'])),_0x4c421e=this['editor']['editing']['view']['document'],_0x46236d=new _0x55c919(_0x4c421e,_0x2bb3db['map'](_0x4e1d35=>B(_0x4e1d35,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x340239[_0x17e93e]=this['editor']['data']['processor']['toData'](_0x46236d),this['editor']['data']['processor']['useFillerType']('default');}return _0x340239;}async['getRevisionRootsAttributes'](_0x123fa0){await this['_loadRevisionData'](_0x123fa0);const _0x2e023b={};for(const _0x22d909 in _0x123fa0['diffData'])_0x123fa0['diffData'][_0x22d909]['attachChange']&&!_0x123fa0['diffData'][_0x22d909]['attachChange']['isAttached']||(_0x2e023b[_0x22d909]=_0x123fa0['diffData'][_0x22d909]['attributesAfter']||{});return _0x2e023b;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x23ac52=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xd70fde=0x0;_0xd70fde<_0x23ac52['length'];_0xd70fde++){const _0x4d5d9b=_0x23ac52[_0xd70fde];let _0xa9e629=!0x1;for(const _0x3a947d of Object['keys'](_0x4d5d9b))void 0x0===_0x4d5d9b[_0x3a947d]?delete _0x4d5d9b[_0x3a947d]:'id'!==_0x3a947d&&(_0xa9e629=!0x0);_0xa9e629||(_0x23ac52[_0xd70fde]=null);}if(_0x23ac52=_0x23ac52['filter'](_0x55fa61=>null!==_0x55fa61),!_0x23ac52['length'])return;for(let _0x1b6597=0x0;_0x1b6597<_0x23ac52['length'];_0x1b6597++){const _0x59c413=_0x23ac52[_0x1b6597];void 0x0!==_0x59c413['fromVersion']&&void 0x0===_0x59c413['toVersion']&&(_0x59c413['toVersion']=this['repository']['getRevision'](_0x59c413['id'])['toVersion']),void 0x0!==_0x59c413['toVersion']&&void 0x0===_0x59c413['fromVersion']&&(_0x59c413['fromVersion']=this['repository']['getRevision'](_0x59c413['id'])['fromVersion']);}const _0x46a2d7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x23ac52,_0x46a2d7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x32c60b=>{if(_0x32c60b){for(const _0x54066d of _0x32c60b)this['setRevisionData']({'id':_0x54066d['id'],'createdAt':_0x54066d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3c0c63,_0x5eee7d){let _0x384e6f=this['editor']['config']['get']('initialData'),_0x550619=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x384e6f){_0x384e6f={};for(const _0x35ca59 of this['editor']['model']['document']['getRootNames']())_0x384e6f[_0x35ca59]='';}if('string'==typeof _0x384e6f&&(_0x384e6f={'main':_0x384e6f}),void 0x0===_0x550619){_0x550619={};for(const _0x2fe506 of this['editor']['model']['document']['getRootNames']())_0x550619[_0x2fe506]={};}let _0x5509a6=!0x1;const _0x41d1c9=Object['keys'](_0x384e6f),_0x26139e=Object['keys'](_0x3c0c63);for(const _0x296139 of _0x41d1c9){if(_0x384e6f[_0x296139]!==_0x3c0c63[_0x296139]&&''!==_0x384e6f[_0x296139]['trim']()){_0x5509a6=!0x0;break;}if(!_0x42412d(_0x550619[_0x296139],_0x5eee7d[_0x296139])&&Object['keys'](_0x550619[_0x296139])['length']>0x0){_0x5509a6=!0x0;break;}}_0x5509a6||(_0x5509a6=_0x26139e['some'](_0x12595d=>!this['editor']['model']['document']['getRoot'](_0x12595d))),_0x5509a6&&_0x57b1c8('editor-initial-data-replaced-with-revision-data',{'editorData':_0x384e6f,'editorRootsAttributes':_0x550619,'revisionData':_0x3c0c63,'revisionRootsAttributes':_0x5eee7d}),this['editor']['config']['set']('initialData',_0x3c0c63),this['editor']['config']['set']('rootsAttributes',_0x5eee7d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3addcd=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3addcd['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x173c5d){const _0x40b11c=this['repository']['getRevisions']();_0x40b11c['reverse']();let _0x49b72f=0x0;for(;_0x49b72f<_0x40b11c['length'];){const _0x519b73=_0x40b11c[_0x49b72f];if(_0x519b73===this['currentRevision']){_0x49b72f++;continue;}if(_0x519b73['id']===this['_initialRevisionId'])break;const _0x1d93fd=_0x173c5d['toVersion']-_0x519b73['toVersion']||_0x173c5d['fromVersion']-_0x519b73['fromVersion'];if(_0x1d93fd>0x0)break;if(_0x1d93fd<0x0)_0x49b72f++;else{if(!_0x173c5d['creator']&&_0x519b73['creator'])break;if(_0x519b73['creator']||!_0x173c5d['creator']){if(_0x173c5d['createdAt']>_0x519b73['createdAt'])break;_0x49b72f++;}else _0x49b72f++;}}return _0x49b72f;}['setRevisionData'](_0xe673f2){const _0x27addf=this['repository']['getRevision'](_0xe673f2['id']);if(_0xe673f2['createdAt']&&(_0xe673f2['createdAt']=new Date(_0xe673f2['createdAt'])),_0xe673f2['authorsIds']){const _0x12fc68=this['editor']['plugins']['get']('Users');_0xe673f2['authors']=_0xe673f2['authorsIds']['map'](_0x252f23=>_0x12fc68['getUser'](_0x252f23));}_0x27addf['_update'](_0xe673f2,!0x0);}['buildRevisionData']({revision:_0x2796b3=null,from:_0x345749=null,to:_0x4af4ec=null}){_0x345749=null!==_0x345749?_0x345749:_0x2796b3['fromVersion'],_0x4af4ec=null!==_0x4af4ec?_0x4af4ec:_0x2796b3['toVersion'];const _0x58c553=this['_revisionDataBuilder']['getData'](_0x345749,_0x4af4ec),_0x26f04b={'diffData':_0x58c553['diffData'],'authorsIds':_0x58c553['authorsIds'],'fromVersion':_0x345749,'toVersion':_0x4af4ec};if(!_0x2796b3||_0x4af4ec!==_0x2796b3['toVersion']){const _0x1e6381=_0x4af4ec-0x1,_0x2730f2=this['_source']['history']['getOperation'](_0x1e6381);_0x26f04b['createdAt']=_0x2730f2&&_0x2730f2['createdAt']||new Date();}if(this['_loadedStateData']&&_0x345749===this['_loadedStateData']['fromVersion']){for(const _0x951515 of this['_loadedStateData']['authors'])_0x26f04b['authorsIds']['includes'](_0x951515['id'])||_0x26f04b['authorsIds']['push'](_0x951515['id']);}return _0x26f04b;}['_loadRevisionData'](_0x8d43a2){if(!_0x8d43a2||_0x8d43a2['diffData'])return Promise['resolve']();{const _0x757a62=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x757a62,'revisionId':_0x8d43a2['id']})['then'](_0x402a36=>{_0x8d43a2['diffData']=_0x402a36['diffData'];});}}['_bufferUpdate'](_0x2a0553,_0x1d3f0a,_0x192cc2){if(this['_bufferedUpdates']['has'](_0x2a0553)){const _0x23e86d=this['_bufferedUpdates']['get'](_0x2a0553);_0x1d3f0a=_0x192cc2?{..._0x23e86d,..._0x1d3f0a}:{..._0x1d3f0a,..._0x23e86d};}this['_bufferedUpdates']['set'](_0x2a0553,_0x1d3f0a);}['_getFromVersion'](_0x5daf6d){const _0x12fc4a=this['repository']['getRevisions']();_0x12fc4a['reverse'](),_0x12fc4a['shift']();const _0x55ad53=_0x12fc4a['find'](_0x11d809=>_0x11d809['toVersion']<=_0x5daf6d)['toVersion'];return _0x55ad53<this['_startingVersion']?this['_startingVersion']:_0x55ad53;}['_createInitialRevision'](_0x4275d4){const _0x4217fa=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4217fa)this['_initialRevisionId']=_0x4217fa['id'];else{const _0x121e95=!this['editor']['model']['document']['roots']['find'](_0x342940=>this['editor']['model']['hasContent'](_0x342940)),_0x38b455=this['editor']['plugins']['get']('Users')['me']['id'],_0x282ef1=y(this['editor']['locale'],_0x121e95?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4275d4,'to':_0x4275d4,'id':this['_initialRevisionId'],'name':_0x282ef1,'creatorId':_0x38b455});}}['_createCurrentRevision'](_0x3ecb1c){const _0x29a05f=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x29a05f),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3ecb1c,'to':_0x3ecb1c,'id':_0x29a05f,'name':'','creatorId':null}));}['_makeRevision']({name:_0x250191,from:_0x43838e,to:_0x5712d3,creatorId:_0x57b946,id:_0x12eab3}){const _0x7fc314=this['buildRevisionData']({'from':_0x43838e,'to':_0x5712d3});_0x7fc314['name']=_0x250191,_0x7fc314['creatorId']=_0x57b946,_0x7fc314['id']=_0x12eab3;const _0xa2ba77=this['addRevisionData'](_0x7fc314);return this['adapter']&&this['_bufferUpdate'](_0x7fc314['id'],_0x7fc314,!0x0),_0xa2ba77;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2e5757){return(_0x2e5757=_0x2e5757['filter'](_0x23550d=>!_0x23550d['name']||'revision-start'!==_0x23550d['name']&&'revision-end'!==_0x23550d['name']))['forEach'](_0x3eae60=>{'string'!=typeof _0x3eae60&&(_0x3eae60['children']=this['_removeRevisionMarkers'](_0x3eae60['children']),_0x3eae60['attributes']=_0x3eae60['attributes']['filter'](_0x4e7865=>!_0x4e7865[0x0]['startsWith']('data-revision-')));}),_0x2e5757;}}function B(_0x4242db,_0x58f912){const _0x5b371a=_0x58f912['editing']['view']['document'];if('string'==typeof _0x4242db)return new _0x1e4a24(_0x5b371a,_0x4242db);{const _0x1a60ba=_0x4242db['children']['map'](_0x1756a5=>B(_0x1756a5,_0x58f912));return new(T[_0x4242db['type']]||_0x2f3835)(_0x5b371a,_0x4242db['name'],_0x4242db['attributes'],_0x1a60ba);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x489c01){this['editor']=_0x489c01,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'](_0x472509){this['source']=_0x472509;const _0x56e61c=new Map(),_0x48a4d8=new Map(),_0x3b1b0d=this['editor']['model']['document']['roots']['map'](_0x47bac6=>_0x47bac6['rootName']);for(const _0x4a9fd4 of _0x3b1b0d){const _0x2871da=this['editor']['model']['document']['getRoot'](_0x4a9fd4),_0x32f1c6=q(_0x2871da);_0x56e61c['set'](_0x4a9fd4,_0x32f1c6),_0x48a4d8['set'](_0x4a9fd4,Object['fromEntries'](_0x2871da['getAttributes']()));}const _0xcb31eb=Array['from'](this['editor']['model']['markers'])['map'](_0x28cf75=>[_0x28cf75['name'],_0x28cf75['getRange']()]),_0x2e1d68=this['source']['version'];this['_saveMetaData'](_0x2e1d68,_0x56e61c,_0xcb31eb,_0x48a4d8),this['_startingRevisionId']=this['_revisionId'];const _0x5d5ac1=new Map(),_0x121892=new Map();for(const _0x8b99df of _0x3b1b0d){const _0x4f57ca=G(_0x8b99df);_0x5d5ac1['set'](_0x8b99df,_0x4f57ca),_0x121892['set'](_0x8b99df,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5d5ac1,[],_0x121892);}['getData'](_0x3e0f03,_0x387588){if(this['_lastFrom']===_0x3e0f03&&this['_lastTo']<=_0x387588)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x387588,!0x0);else{if(!this['_savedMetaData']['has'](_0x3e0f03)){const _0x4a9fd9=this['_getPreviousFrom'](_0x3e0f03);this['_calculateMetaData'](_0x4a9fd9,_0x3e0f03,!0x1);}this['_calculateMetaData'](_0x3e0f03,_0x387588,!0x0);}return this['_lastFrom']=_0x3e0f03,this['_lastTo']=_0x387588,this['_getState']();}['loadState'](_0x378858){this['_reset'](),this['_lastFrom']=_0x378858['fromVersion'],this['_lastTo']=_0x378858['toVersion'];for(const _0x23c9ed in _0x378858['diffData']){const _0x55bb65=_0x378858['diffData'][_0x23c9ed]['attachChange'],_0x1ef3fc=_0x1387cf(_0x378858['diffData'][_0x23c9ed]['attributesBefore'])||{},_0x526944=this['_makeModelFromViewString'](_0x378858['diffData'][_0x23c9ed]['deletions']);_0x526944['rootName']=_0x23c9ed,_0x526944['_isAttached']=!_0x55bb65||!_0x55bb65['isAttached'],_0x526944['isAttached']=()=>_0x526944['_isAttached'],this['_baseRoots']['set'](_0x23c9ed,_0x526944),this['_baseRootsAttributes']['set'](_0x23c9ed,_0x1ef3fc),_0x55bb65&&this['_touchedRoots']['set'](_0x23c9ed,_0x55bb65);const _0x4b8f1c=this['_makeIdsRoot'](_0x526944);this['_baseIdsRoots']['set'](_0x23c9ed,_0x4b8f1c);for(const [_0x38c8ec,_0x1d9c6a]of _0x526944['markers']){if(!_0x38c8ec['startsWith']('revision:'))continue;const _0x5de4a9=_0x38c8ec['split'](':')[0x2];for(const _0x66a169 of _0x1d9c6a['getWalker']({'singleCharacters':!0x0})){const _0x51c1b0=this['_getVidAttributeName'](_0x66a169),_0x55d716='elementEnd'==_0x66a169['type']?_0x66a169['previousPosition']['path']['slice'](0x0,-0x1):_0x66a169['previousPosition']['path'],_0x9a95be=_0x4b8f1c['getNodeByPath'](_0x55d716)['getAttribute'](_0x51c1b0);this['_touched']['set'](_0x9a95be,{'userId':_0x5de4a9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x433c9e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x219f54=>!this['_touched']['has'](_0x219f54));let _0x4774ca=0x0;const _0x12e594=new Map();for(const _0x12606c in _0x378858['diffData']){const _0x2e554c=_0x378858['diffData'][_0x12606c]['attachChange'],_0x14f75f=_0x1387cf(_0x378858['diffData'][_0x12606c]['attributesAfter'])||{},_0x559d1c=this['_makeModelFromViewString'](_0x378858['diffData'][_0x12606c]['insertions']);_0x559d1c['rootName']=_0x12606c,_0x559d1c['_isAttached']=!_0x2e554c||_0x2e554c['isAttached'],_0x559d1c['isAttached']=()=>_0x559d1c['_isAttached'],this['_diffRoots']['set'](_0x12606c,_0x559d1c),this['_diffRootsAttributes']['set'](_0x12606c,_0x14f75f);const _0x4aa451=this['_makeIdsRoot'](_0x559d1c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12606c,_0x4aa451),_0x12e594['set'](_0x12606c,_0x559d1c['isAttached']()?_0x14f75f:{});for(const [_0x27f179,_0x55d747]of _0x559d1c['markers']){if(!_0x27f179['startsWith']('revision:'))continue;const _0x5858f9=_0x27f179['split'](':')[0x2];for(const _0x476592 of _0x55d747['getWalker']({'singleCharacters':!0x0})){const _0x10b6e5=this['_getVidAttributeName'](_0x476592),_0x11b644=this['_revisionId']++,_0xf32c10='elementEnd'==_0x476592['type']?_0x476592['previousPosition']['path']['slice'](0x0,-0x1):_0x476592['previousPosition']['path'];_0x4aa451['getNodeByPath'](_0xf32c10)['_setAttribute'](_0x10b6e5,_0x11b644),this['_touched']['set'](_0x11b644,{'userId':_0x5858f9});}}for(const _0x217693 of this['editor']['model']['createRangeIn'](_0x559d1c)['getWalker']({'singleCharacters':!0x0})){const _0x2af66b=this['_getVidAttributeName'](_0x217693),_0x4f18f5='elementEnd'==_0x217693['type']?_0x217693['previousPosition']['path']['slice'](0x0,-0x1):_0x217693['previousPosition']['path'],_0x4a2400=_0x4aa451['getNodeByPath'](_0x4f18f5);_0x4a2400['getAttribute'](_0x2af66b)>0x0||_0x4a2400['_setAttribute'](_0x2af66b,_0x433c9e[_0x4774ca++]);}for(const [_0x163d08,_0x4d20bc]of _0x559d1c['markers'])_0x163d08['startsWith']('revision:')||this['_markers']['set'](_0x163d08,_0x4d20bc);}const _0x17fc94=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x17fc94),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x17fc94,0x1));const _0x37058f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x37058f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x37058f,0x1));const _0x5db8b1=Array['from'](this['_diffRoots'])['map'](([_0x3dda5c,_0x393eae])=>[_0x3dda5c,q(_0x393eae)]);this['_saveMetaData'](this['_lastTo'],_0x5db8b1,this['_markers'],_0x12e594);}['_makeModelFromViewString'](_0x3f5beb){const _0x1237ff=JSON['parse'](_0x3f5beb),_0x264fe1=this['editor']['editing']['view']['document'],_0x4bf3ef=new _0x55c919(_0x264fe1,_0x1237ff['map'](_0x2edcad=>B(_0x2edcad,this['editor'])));return this['editor']['data']['toModel'](_0x4bf3ef);}['_saveMetaData'](_0x22f79e,_0x292bf5,_0x573345,_0x26a017){const _0x39095e=new Map(_0x292bf5),_0x59e1d7=new Map(_0x1387cf(_0x26a017)),_0x3e2811=new Map();for(const [_0x3f0d8e,_0x50f862]of _0x573345)_0x3e2811['set'](_0x3f0d8e,{'start':_0x50f862['start']['clone'](),'end':_0x50f862['end']['clone'](),'rootName':_0x50f862['root']['rootName']});this['_savedMetaData']['set'](_0x22f79e,{'roots':_0x39095e,'markers':_0x3e2811,'rootsAttributes':_0x59e1d7});}['_removeMetaData'](_0x2d3cc6){this['_savedMetaData']['delete'](_0x2d3cc6);}['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'](_0x5b29b4,_0x1b87b7=null){let _0x2b6ee3=null;_0x5b29b4['is']('documentFragment')||(_0x2b6ee3=new ft(_0x5b29b4['name'],{'vid_start':null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++}));const _0x1a0fe8=[];for(const _0x34fd4b of _0x5b29b4['getChildren']())if(_0x34fd4b['is']('element')){_0x1a0fe8['push'](this['_makeIdsRoot'](_0x34fd4b,_0x1b87b7));const _0x4cf6e1=_0x1a0fe8[_0x1a0fe8['length']-0x1];null!==_0x1b87b7&&(_0x1b87b7=_0x4cf6e1['is']('element','$text')?_0x4cf6e1['getAttribute']('vid')+0x1:_0x4cf6e1['getAttribute']('vid_end')+0x1);}else{for(let _0x396dac=0x0;_0x396dac<_0x34fd4b['offsetSize'];_0x396dac++)_0x1a0fe8['push'](new ft('$text',{'vid':null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++}));}if(_0x5b29b4['is']('documentFragment')){const _0x564c75=G(_0x5b29b4['rootName']);return _0x564c75['_insertChild'](0x0,_0x1a0fe8),_0x564c75;}return _0x2b6ee3['_setAttribute']('vid_end',null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++),_0x2b6ee3['_insertChild'](0x0,_0x1a0fe8),_0x2b6ee3;}['_calculateMetaData'](_0x3fdb1e,_0x1fe0d9,_0xf8e93f){this['_reset']();const {roots:_0x18bb31,markers:_0x7216da,rootsAttributes:_0x1bd003}=this['_savedMetaData']['get'](_0x3fdb1e);this['_baseRoots']=new Map(_0x18bb31),this['_baseRootsAttributes']=new Map(_0x1387cf(_0x1bd003));for(const [_0x2d2007,_0x16753c]of this['_baseRoots'])if('$graveyard'!==_0x2d2007&&(this['_diffRoots']['set'](_0x2d2007,q(_0x16753c)),this['_diffRootsAttributes']=new Map(_0x1387cf(_0x1bd003)),_0xf8e93f)){const _0x3a80bd=this['_revisionId'];this['_idsRoots']['set'](_0x2d2007,this['_makeIdsRoot'](_0x16753c)),this['_baseIdsRoots']['set'](_0x2d2007,this['_makeIdsRoot'](_0x16753c,_0x3a80bd));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xf8e93f&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x45746a,_0x56cc5c]of _0x7216da){const _0x78108b=this['_baseRoots']['get'](_0x56cc5c['rootName']),_0x2c2741=this['_diffRoots']['get'](_0x56cc5c['rootName']),_0x258518=new vt(this['_fixPosition'](_0x56cc5c['start'],_0x78108b),this['_fixPosition'](_0x56cc5c['end'],_0x78108b)),_0xc58b9c=this['_fixRange'](_0x258518,_0x2c2741);_0x78108b['markers']['set'](_0x45746a,_0x258518),this['_markers']['set'](_0x45746a,_0xc58b9c);}this['_applyOperations'](_0x3fdb1e,_0x1fe0d9,_0xf8e93f);}['_applyOperations'](_0x4583b6,_0x4cdcb7,_0x440f74){for(const _0x29d044 of this['source']['getOperations'](_0x4583b6,_0x4cdcb7))this['_handleOperation'](_0x29d044,_0x440f74);for(const _0x3319ba of this['_diffRoots']['values']())_0x3319ba['markers']['clear']();for(const [_0x1f3f93,_0x27189f]of this['_markers']){this['_diffRoots']['get'](_0x27189f['root']['rootName'])['markers']['set'](_0x1f3f93,_0x27189f['clone']());}const _0xf7ceb5=new Map(),_0x152d2e=new Map();for(const [_0x982ce5,_0x10795c]of this['_diffRoots'])_0xf7ceb5['set'](_0x982ce5,q(_0x10795c)),_0x152d2e['set'](_0x982ce5,this['_diffRootsAttributes']['get'](_0x982ce5));this['_saveMetaData'](_0x4cdcb7,_0xf7ceb5,this['_markers'],_0x152d2e);}['_getPreviousFrom'](_0x51cd22){const _0x3c5cd6=Array['from'](this['_savedMetaData']['keys']());_0x3c5cd6['sort']((_0x1f2c83,_0x5de2e9)=>_0x1f2c83-_0x5de2e9),_0x3c5cd6['reverse']();for(const _0x542819 of _0x3c5cd6)if(_0x542819<_0x51cd22)return _0x542819;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5abc20,_0x4ca97d){const _0x140ca0=Array['from'](_0x4ca97d['markers'])['map'](([_0x4547cf,_0x34ee57])=>[_0x4547cf,this['_fixRange'](_0x34ee57,_0x5abc20)]);_0x5abc20['markers']=new Map(_0x140ca0);}['_transformMarkers'](_0x337c92){for(const _0x46b1e8 of this['_markers']['values']()){const _0x486ef7=_0x46b1e8['getTransformedByOperation'](_0x337c92),_0x25e5e8=vt['_createFromRanges'](_0x486ef7);_0x46b1e8['start']=_0x25e5e8['start'],_0x46b1e8['end']=_0x25e5e8['end'];}}['_handleOperation'](_0x3b3dd7,_0x55aff8){if('addRoot'==_0x3b3dd7['type']||'detachRoot'==_0x3b3dd7['type'])return void this['_handleRootOperation'](_0x3b3dd7,_0x55aff8);if('insert'==_0x3b3dd7['type']){const _0x2aa808=_0x3b3dd7['position']['root']['rootName'];this['_diffRoots']['has'](_0x2aa808)||(this['_diffRoots']['set'](_0x2aa808,G(_0x2aa808,!0x0)),this['_diffRootsAttributes']['set'](_0x2aa808,{}),_0x55aff8&&this['_idsRoots']['set'](_0x2aa808,G(_0x2aa808,!0x0)));}else{if('addRootAttribute'==_0x3b3dd7['type']||'removeRootAttribute'==_0x3b3dd7['type']||'changeRootAttribute'==_0x3b3dd7['type'])return void this['_handleRootAttributeOperation'](_0x3b3dd7);}const _0x5ba8fb=this['_cloneOperation'](_0x3b3dd7,this['_diffRoots']);if('marker'!==_0x3b3dd7['type']&&(_0x5ba8fb['_execute'](),this['_transformMarkers'](_0x5ba8fb)),_0x55aff8)switch(_0x5ba8fb['type']){case'insert':this['_handleInsertOperation'](_0x3b3dd7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3b3dd7);break;case'merge':this['_handleMergeOperation'](_0x3b3dd7);break;case'split':this['_handleSplitOperation'](_0x3b3dd7);break;case'marker':this['_handleMarkerOperation'](_0x3b3dd7);}}['_cloneOperation'](_0x1ca895,_0x4bd163){const _0x2a2180=_0x1ca895['clone']();return _0x2a2180['_authorId']=_0x1ca895['_authorId'],this['_fixOperation'](_0x2a2180,_0x4bd163),_0x2a2180;}['_getBaseVids'](_0x4f9f4a){return _0x4f9f4a['map'](_0x269c8b=>{const _0x443178=this['_getVidAttributeName'](_0x269c8b);return Number(_0x269c8b['item']['getAttribute'](_0x443178));});}['_generateTape'](_0x43c4de,_0x3c7f3b){if(_0x43c4de['is']('element','$text'))_0x3c7f3b['push']({'item':_0x43c4de,'type':'text'});else{_0x43c4de['is']('element')&&_0x3c7f3b['push']({'item':_0x43c4de,'type':'elementStart'});for(const _0x392326 of _0x43c4de['getChildren']())this['_generateTape'](_0x392326,_0x3c7f3b);_0x43c4de['is']('element')&&_0x3c7f3b['push']({'item':_0x43c4de,'type':'elementEnd'});}return _0x3c7f3b;}['_getState'](){const _0xa2d2f6=new Map(this['_touched']),_0x213adf=new Map(_0xa2d2f6),_0x57ae41=new Map(),_0x4e36a5={'insertions':{},'deletions':{}},_0x282aed={'insertions':{},'deletions':{}},_0x53aab7=new Map(),_0x6350b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x6350b['delete']('$graveyard');for(const _0x2f53f8 of _0x6350b){const _0x4bfe66=this['_diffRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1),_0x251227=this['_baseRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1);_0x4bfe66['isAttached']()||_0x251227['isAttached']()?(_0x4e36a5['insertions'][_0x2f53f8]=q(_0x4bfe66),_0x4e36a5['deletions'][_0x2f53f8]=q(_0x251227),this['_copyMarkers'](_0x4e36a5['deletions'][_0x2f53f8],_0x251227),this['_copyMarkers'](_0x4e36a5['insertions'][_0x2f53f8],_0x4bfe66),_0x282aed['insertions'][_0x2f53f8]=this['_generateTape'](this['_idsRoots']['get'](_0x2f53f8),[]),_0x282aed['deletions'][_0x2f53f8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1),[])):_0x6350b['delete'](_0x2f53f8);}for(const _0x12b636 of _0x6350b){const _0x5adf91=_0x282aed['insertions'][_0x12b636];for(const _0x4bcd2a of _0x5adf91){const _0x46863a=this['_getVidAttributeName'](_0x4bcd2a),_0x52bbaf=_0x4bcd2a['item']['getAttribute'](_0x46863a);_0x213adf['delete'](_0x52bbaf),_0x52bbaf>=this['_startingRevisionId']&&_0x57ae41['set'](_0x52bbaf,_0xa2d2f6['get'](_0x52bbaf));}}for(const _0x628f53 of _0x6350b){const _0x4a2e19=_0x282aed['insertions'][_0x628f53],_0x2a9689=this['_getBaseVids'](_0x282aed['deletions'][_0x628f53]);let _0x45a8e8=0x0;for(const _0x13e614 of _0x4a2e19){const _0x55b4d1=this['_getVidAttributeName'](_0x13e614),_0x44e1a2=_0x13e614['item']['getAttribute'](_0x55b4d1);if(!_0x57ae41['has'](_0x44e1a2)&&!_0x53aab7['has'](_0x44e1a2)){if(_0x213adf['has'](_0x44e1a2))_0x45a8e8++;else{if(_0x44e1a2!=_0x2a9689[_0x45a8e8]){const _0x4ce9ca=_0xa2d2f6['get'](_0x44e1a2)||_0xa2d2f6['get'](_0x2a9689[_0x45a8e8]);for(;_0x44e1a2!=_0x2a9689[_0x45a8e8];)_0x213adf['has'](_0x2a9689[_0x45a8e8])||(_0x53aab7['set'](_0x2a9689[_0x45a8e8],_0x4ce9ca),_0xa2d2f6['set'](_0x2a9689[_0x45a8e8],_0x4ce9ca)),_0x45a8e8++;}_0x45a8e8++;}}}}for(const _0x346d52 of _0x6350b){const _0x3ce599=_0x282aed['insertions'][_0x346d52];for(const _0xe380b of _0x3ce599){const _0x1c1410=this['_getVidAttributeName'](_0xe380b),_0x7ab24=_0xe380b['item']['getAttribute'](_0x1c1410);if(_0x53aab7['has'](_0x7ab24)){const _0x534834=_0x53aab7['get'](_0x7ab24);_0x213adf['has'](_0x7ab24)||_0x213adf['set'](_0x7ab24,{..._0x534834}),_0x57ae41['set'](_0x7ab24,{..._0x534834});}}}for(const _0x4fc67d of _0x213adf['keys']())_0x4fc67d>=this['_startingRevisionId']&&_0x213adf['delete'](_0x4fc67d);const _0x33936d=new Map();for(const _0x1bae53 of _0x6350b){let _0x163164=_0x282aed['insertions'][_0x1bae53];for(const _0x30b4e3 of _0x163164)if(_0x30b4e3['item']['is']('element','tableCell')){const _0x2bcec8=this['_getVidAttributeName'](_0x30b4e3),_0x2ad4e8=_0x30b4e3['item']['getAttribute'](_0x2bcec8);if(_0x57ae41['has'](_0x2ad4e8)){const _0x4eb12f=_0x30b4e3['item']['parent']['parent']['getAttribute']('vid_start'),_0x26092d=_0x33936d['get'](_0x4eb12f)||new Set();_0x26092d['add'](_0x57ae41['get'](_0x2ad4e8)['userId']),_0x33936d['set'](_0x4eb12f,_0x26092d);}}_0x163164=_0x282aed['deletions'][_0x1bae53];for(const _0xb40614 of _0x163164)if(_0xb40614['item']['is']('element','tableCell')){const _0x45de85=this['_getVidAttributeName'](_0xb40614),_0x3ede95=_0xb40614['item']['getAttribute'](_0x45de85);if(_0x213adf['has'](_0x3ede95)){const _0x552d83=_0xb40614['item']['parent']['parent']['getAttribute']('vid_start'),_0x1d1487=_0x33936d['get'](_0x552d83)||new Set();_0x1d1487['add'](_0x213adf['get'](_0x3ede95)['userId']),_0x33936d['set'](_0x552d83,_0x1d1487);}}for(const _0x567844 of _0x33936d['keys']())(_0x57ae41['has'](_0x567844)||_0x213adf['has'](_0x567844))&&_0x33936d['delete'](_0x567844);}for(const _0xe51fe2 of _0x6350b){const _0x4b9acb=_0x282aed['insertions'][_0xe51fe2];let _0x306548=null,_0x1d4990=null;for(const _0x549af1 of _0x4b9acb){const _0x22e655=this['_getVidAttributeName'](_0x549af1),_0x55454c=_0x549af1['item']['getAttribute'](_0x22e655),_0x4ebefd=_0x33936d['get'](_0x55454c);_0x4ebefd&&'elementStart'==_0x549af1['type']&&(_0x306548=Array['from'](_0x4ebefd)[0x0],_0x1d4990=_0x549af1['item']['getAttribute']('vid_end')),_0x306548&&(_0x213adf['set'](_0x55454c,{'userId':_0x306548}),_0x57ae41['set'](_0x55454c,{'userId':_0x306548})),_0x55454c==_0x1d4990&&(_0x306548=null,_0x1d4990=null);}}const _0x3ea339={},_0x279878=new Set();for(const _0x43cff1 of _0x6350b){const _0x251b76=_0x4e36a5['deletions'][_0x43cff1],_0x1d0df2=_0x4e36a5['insertions'][_0x43cff1];for(const {userId:_0x582af8}of this['_touchedMarkers']['values']())null!==_0x582af8&&_0x279878['add'](_0x582af8);for(const {userId:_0x282a32}of this['_touchedRoots']['values']())null!==_0x282a32&&_0x279878['add'](_0x282a32);this['_markChanges'](_0x1d0df2,_0x282aed['insertions'][_0x43cff1],_0x57ae41,'insertion',_0x279878),this['_markChanges'](_0x251b76,_0x282aed['deletions'][_0x43cff1],_0x213adf,'deletion',_0x279878),_0x3ea339[_0x43cff1]={'insertions':this['_prepareViewToSave'](_0x1d0df2),'deletions':this['_prepareViewToSave'](_0x251b76),'attachChange':this['_touchedRoots']['get'](_0x43cff1)||null,'attributesBefore':_0x1387cf(this['_baseRootsAttributes']['get'](_0x43cff1))||{},'attributesAfter':_0x1387cf(this['_diffRootsAttributes']['get'](_0x43cff1))};}return{'diffData':_0x3ea339,'authorsIds':Array['from'](_0x279878)};}['_processRootBeforeSave'](_0x262018){for(const [,_0x10319b]of _0x262018['markers']){const _0x165214=_0x10319b['start']['getAncestors']()['filter'](_0x5479ee=>'tableCell'==_0x5479ee['name']);for(const _0x13a8e5 of _0x165214)0x1==_0x13a8e5['childCount']&&_0x13a8e5['getChild'](0x0)['is']('element','paragraph')&&_0x13a8e5['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x238e33){this['_processRootBeforeSave'](_0x238e33);const _0xff7788=this['editor']['data']['toView'](_0x238e33,{}),_0x2f92a5=Array['from'](_0xff7788['getChildren']())['map'](_0x4e7902=>this['_getViewJson'](_0x4e7902));return JSON['stringify'](_0x2f92a5);}['_getViewJson'](_0x49eba0){if(_0x49eba0['is']('$text'))return _0x49eba0['data'];{const _0x3dd6ba=_0x49eba0;return{'type':Object['keys'](T)['find'](_0x312e26=>_0x49eba0 instanceof T[_0x312e26]),'name':_0x3dd6ba['name'],'attributes':Array['from'](_0x3dd6ba['getAttributes']()),'children':Array['from'](_0x3dd6ba['getChildren']())['map'](_0x34febc=>this['_getViewJson'](_0x34febc))};}}['_markChanges'](_0x3e0149,_0x4b210f,_0x10fe9f,_0x4335c8,_0x5005a0){let _0x24d98c=null,_0x246a9c=null,_0x192220=0x0;const _0x3d5a72=this['editor']['model'];for(let _0x82dcee=0x0;_0x82dcee<_0x4b210f['length'];_0x82dcee++){const _0x188486=this['_getVidAttributeName'](_0x4b210f[_0x82dcee]),_0x3e80a7=_0x4b210f[_0x82dcee]['item']['getAttribute'](_0x188486),_0x26e21a=_0x10fe9f['get'](_0x3e80a7),_0x16e126=_0x82dcee==_0x4b210f['length']-0x1;(!_0x24d98c&&_0x26e21a&&(_0x24d98c=_0x26e21a,_0x246a9c=_0x4b210f[_0x82dcee]),_0x24d98c&&(!_0x26e21a||_0x26e21a['userId']!=_0x24d98c['userId']))&&(_0x22b222(_0x26e21a,L(_0x246a9c,_0x3e0149,_0x3d5a72),L(_0x4b210f[_0x82dcee],_0x3e0149,_0x3d5a72)),_0x24d98c=_0x26e21a||null,_0x246a9c=_0x26e21a?_0x4b210f[_0x82dcee]:null),_0x24d98c&&_0x16e126&&_0x22b222(_0x26e21a,L(_0x246a9c,_0x3e0149,_0x3d5a72),W(_0x4b210f[_0x82dcee],_0x3e0149,_0x3d5a72));}function _0x22b222(_0x6e96bb,_0x4d8414,_0x398753){const _0x5827db=_0x24d98c['userId'],_0x289558='revision:'+_0x4335c8+':'+_0x5827db+':'+_0x192220++,_0x44c38f=_0x3d5a72['createRange'](_0x4d8414,_0x398753);_0x3e0149['markers']['set'](_0x289558,_0x44c38f),null!==_0x5827db&&_0x5005a0['add'](_0x5827db);}}['_getVidAttributeName'](_0xfb3129){switch(_0xfb3129['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x10f751,_0x50211f){_0x10f751['baseVersion']=null;for(const _0x56c26f in _0x10f751){const _0x2d1851=_0x10f751[_0x56c26f];if(_0x2d1851 instanceof gt){const _0x3a7bba=_0x50211f['get'](_0x2d1851['root']['rootName']);_0x10f751[_0x56c26f]=this['_fixPosition'](_0x2d1851,_0x3a7bba);}if(_0x2d1851 instanceof vt){const _0x49f386=_0x50211f['get'](_0x2d1851['root']['rootName']);_0x10f751[_0x56c26f]=this['_fixRange'](_0x2d1851,_0x49f386);}'root'===_0x56c26f&&(_0x10f751['root']=_0x50211f['get'](_0x10f751['root']['rootName']));}}['_fixRange'](_0x6343a9,_0x218ea7){return this['editor']['model']['createRange'](this['_fixPosition'](_0x6343a9['start'],_0x218ea7),this['_fixPosition'](_0x6343a9['end'],_0x218ea7));}['_fixPosition'](_0x5f2529,_0x44c03d){return this['editor']['model']['createPositionFromPath'](_0x44c03d,_0x5f2529['path'],_0x5f2529['stickiness']);}['_handleInsertOperation'](_0x4b328b){const _0x4e30da=this['_idsRoots']['get'](_0x4b328b['position']['root']['rootName']),_0x3e26eb=this['_fixPosition'](_0x4b328b['position'],_0x4e30da),_0x3844eb=null===_0x4b328b['_authorId']?null:_0x4b328b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19b68b=_0x3e26eb['parent'],_0x139e82=this['_revisionId'],_0x589f92=[];for(const _0x1adeaf of _0x4b328b['nodes'])if(_0x1adeaf['is']('element'))_0x589f92['push'](this['_makeIdsRoot'](_0x1adeaf));else{for(let _0x288c2f=0x0;_0x288c2f<_0x1adeaf['offsetSize'];_0x288c2f++)_0x589f92['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3529d6=this['_revisionId'];for(let _0xaa4a85=_0x139e82;_0xaa4a85<_0x3529d6;_0xaa4a85++)this['_touched']['set'](_0xaa4a85,{'userId':_0x3844eb});_0x19b68b['_insertChild'](_0x3e26eb['offset'],_0x589f92);}['_handleMoveOperation'](_0x528c7c){(_0x528c7c=this['_cloneOperation'](_0x528c7c,this['_idsRoots']))['_execute']();const _0x4e5215=null===_0x528c7c['_authorId']?null:_0x528c7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d3485=_0x528c7c['getMovedRangeStart'](),_0x3dfe20=_0x3d3485['parent'],_0x597bd4=_0x3d3485['offset'];!function _0xce7a11(_0x23ba36,_0x25c27a,_0x458de2,_0x5b036e){for(let _0x5236ed=_0x458de2;_0x5236ed<_0x5b036e;_0x5236ed++){const _0x4a28d8=_0x25c27a['getChild'](_0x5236ed);_0x4a28d8['is']('element','$text')?_0x23ba36['set'](_0x4a28d8['getAttribute']('vid'),{'userId':_0x4e5215}):(_0x23ba36['set'](_0x4a28d8['getAttribute']('vid_start'),{'userId':_0x4e5215}),_0xce7a11(_0x23ba36,_0x4a28d8,0x0,_0x4a28d8['childCount']),_0x23ba36['set'](_0x4a28d8['getAttribute']('vid_end'),{'userId':_0x4e5215}));}}(this['_touched'],_0x3dfe20,_0x597bd4,_0x597bd4+_0x528c7c['howMany']);}['_handleMergeOperation'](_0x4d14a5){const _0x4cf121=null===(_0x4d14a5=this['_cloneOperation'](_0x4d14a5,this['_idsRoots']))['_authorId']?null:_0x4d14a5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e8679=_0x4d14a5['targetPosition']['parent'],_0x106ac2=_0x4d14a5['sourcePosition']['parent'],_0x433ba1=_0x1e8679['getAttribute']('vid_end'),_0x34bc6d=_0x106ac2['getAttribute']('vid_start');_0x1e8679['_setAttribute']('vid_end',_0x106ac2['getAttribute']('vid_end')),_0x106ac2['_setAttribute']('vid_end',_0x433ba1),this['_touched']['set'](_0x34bc6d,{'userId':_0x4cf121}),this['_touched']['set'](_0x433ba1,{'userId':_0x4cf121}),_0x4d14a5['_execute']();}['_handleSplitOperation'](_0xbad37b){const _0x1bf278=null===(_0xbad37b=this['_cloneOperation'](_0xbad37b,this['_idsRoots']))['_authorId']?null:_0xbad37b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2701fd=_0xbad37b['graveyardPosition'],_0x53421f=_0xbad37b['splitPosition']['parent'];_0xbad37b['_execute']();const _0x3907cc=_0x53421f['getAttribute']('vid_end'),_0x1f82e6=_0xbad37b['insertionPosition']['nodeAfter'];if(_0x2701fd){const _0x277639=_0x1f82e6['getAttribute']('vid_end'),_0x380998=_0x53421f['getAttribute']('vid_end');_0x53421f['_setAttribute']('vid_end',_0x277639),_0x1f82e6['_setAttribute']('vid_end',_0x380998),this['_touched']['set'](_0x53421f['getAttribute']('vid_end'),{'userId':_0x1bf278}),this['_touched']['set'](_0x1f82e6['getAttribute']('vid_start'),{'userId':_0x1bf278});}else{const _0x10df0d=this['_revisionId']++,_0x5d8b05=this['_revisionId']++;_0x53421f['_setAttribute']('vid_end',_0x10df0d),_0x1f82e6['_setAttribute']('vid_start',_0x5d8b05),_0x1f82e6['_setAttribute']('vid_end',_0x3907cc),this['_touched']['set'](_0x10df0d,{'userId':_0x1bf278}),this['_touched']['set'](_0x5d8b05,{'userId':_0x1bf278});}}['_handleMarkerOperation'](_0xace30f){if(!_0xace30f['affectsData'])return;const _0x68bfdc=(_0xace30f=this['_cloneOperation'](_0xace30f,this['_diffRoots']))['oldRange']?_0xace30f['oldRange']['root']:null,_0x55b3c0=_0xace30f['newRange']?_0xace30f['newRange']['root']:null;_0x68bfdc&&this['_markers']['delete'](_0xace30f['name']),_0x55b3c0&&this['_markers']['set'](_0xace30f['name'],_0xace30f['newRange']['clone']());const _0x57725b=null===_0xace30f['_authorId']?null:_0xace30f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29611c=_0xace30f['name'];if(!this['_touchedMarkers']['has'](_0x29611c))return void this['_touchedMarkers']['set'](_0x29611c,{'range':_0xace30f['oldRange'],'userId':_0x57725b});const _0x39cbf8=this['_touchedMarkers']['get'](_0x29611c),_0x2f6d12=_0x39cbf8['range'],_0x5b9fca=_0xace30f['newRange'];null==_0x2f6d12&&null==_0x5b9fca||_0x2f6d12&&_0x5b9fca&&_0x2f6d12['isEqual'](_0x5b9fca)?this['_touchedMarkers']['delete'](_0xace30f['name']):_0x39cbf8['userId']=_0x57725b;}['_handleRootOperation'](_0x71f4f3,_0x306232){this['_diffRoots']['has'](_0x71f4f3['rootName'])?this['_diffRoots']['get'](_0x71f4f3['rootName'])['_isAttached']=_0x71f4f3['isAdd']:(this['_diffRoots']['set'](_0x71f4f3['rootName'],G(_0x71f4f3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x71f4f3['rootName'],{}),_0x306232&&this['_idsRoots']['set'](_0x71f4f3['rootName'],G(_0x71f4f3['rootName'],!0x0)));const _0x1fa78c=null===_0x71f4f3['_authorId']?null:_0x71f4f3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17a47b=this['_touchedRoots']['get'](_0x71f4f3['rootName']);_0x17a47b&&_0x17a47b['userId']===_0x1fa78c?this['_touchedRoots']['delete'](_0x71f4f3['rootName']):this['_touchedRoots']['set'](_0x71f4f3['rootName'],{'userId':_0x1fa78c,'isAttached':_0x71f4f3['isAdd']});}['_handleRootAttributeOperation'](_0x11ab9b){const _0x5d3195=this['_diffRootsAttributes']['get'](_0x11ab9b['root']['rootName']);null===_0x11ab9b['newValue']?delete _0x5d3195[_0x11ab9b['key']]:_0x5d3195[_0x11ab9b['key']]=_0x11ab9b['newValue'];}}function q(_0x13417b){const _0x35d223=G(_0x13417b['rootName'],_0x13417b['isAttached']());for(const _0x358c29 of _0x13417b['getChildren']()){const _0x2da3bc=_0x358c29['_clone'](!0x0);_0x35d223['_appendChild'](_0x2da3bc);}return _0x35d223;}function G(_0x5234a0,_0xc74c82=!0x0){const _0x656a51=new wt();return _0x656a51['rootName']=_0x5234a0,_0x656a51['_isAttached']=_0xc74c82,_0x656a51['isAttached']=()=>_0x656a51['_isAttached'],_0x656a51;}function L(_0x22b9f3,_0x79381b,_0x5de631){const _0x5a795a='elementEnd'==_0x22b9f3['type']?_0x5de631['createPositionAt'](_0x22b9f3['item'],'end'):_0x5de631['createPositionBefore'](_0x22b9f3['item']);return _0x5de631['createPositionFromPath'](_0x79381b,_0x5a795a['path'],_0x5a795a['stickiness']);}function W(_0x2ba3a4,_0x44a226,_0x3f04d2){const _0x5a78e4='elementStart'==_0x2ba3a4['type']?_0x3f04d2['createPositionAt'](_0x2ba3a4['item'],0x0):_0x3f04d2['createPositionAfter'](_0x2ba3a4['item']);return _0x3f04d2['createPositionFromPath'](_0x44a226,_0x5a78e4['path'],_0x5a78e4['stickiness']);}class ns extends _0x26e5c9{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4bba7e,_0x5f2196){super(_0x4bba7e),this['focusTracker']=new _0x32eafd(),this['keystrokes']=new _0x77408e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5f2196),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'](),_0x2be6da({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3ef359=_0xfa8f2a=>_0xfa8f2a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ef359),this['keystrokes']['set']('arrowleft',_0x3ef359),this['keystrokes']['set']('arrowup',_0x3ef359),this['keystrokes']['set']('arrowdown',_0x3ef359);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x378b0d){this['revisionNameInputView']['fieldView']['element']['value']=_0x378b0d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5e16e){const _0x5c06e4=new at(this['locale'],_0x9e4e7d),_0x45bfea=_0x5c06e4['fieldView'];_0x45bfea['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5b65c2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5e16e&&(_0x5b65c2+='\x20('+y(this['locale'],'optional')+')'),(_0x5c06e4['label']=_0x5b65c2,_0x45bfea['on']('input',()=>{this['revisionNameInputValue']=_0x45bfea['element']['value']['trim']();}),_0x5c06e4);}}class u extends _0x26bd26{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3bc8fb=this['editor'],_0x2d361a=_0x3bc8fb['plugins']['get']('RevisionTracker');_0x3bc8fb['ui']['componentFactory']['add']('revisionHistory',_0x3c3643=>{const _0x4dc597=_0x369452(_0x3c3643),_0x57776f=_0x4dc597['panelView']['children'],_0x569df0=new te(_0x3c3643),_0x43d716=new _0x21d8fa(_0x3c3643),_0x59e425=new _0x51dfa6(_0x3c3643),_0x135ca1=new _0x21d8fa(_0x3c3643),_0x599965=new _0x51dfa6(_0x3c3643);return _0x4dc597['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x2d361a,'isEnabled',_0x3bc8fb,'isReadOnly',(_0x569c8a,_0x58bc0d,_0x4f39ac)=>_0x569c8a&&_0x58bc0d&&!_0x4f39ac),_0x4dc597['buttonView']['set']({'icon':_0x3886ba['history'],'label':y(_0x3c3643,'Revision\x20history'),'tooltip':!0x0}),_0x59e425['set']({'label':y(_0x3c3643,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x59e425['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x2d361a,'isEnabled',_0x3bc8fb,'isReadOnly',(_0x3cb02f,_0x47c683,_0x1939f2)=>_0x3cb02f&&_0x47c683&&!_0x1939f2),_0x59e425['on']('execute',()=>this['_showDialog']()),_0x599965['set']({'label':y(_0x3c3643,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x599965['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x3bc8fb,'isReadOnly',(_0x4e9e80,_0x172af1)=>_0x4e9e80&&!_0x172af1),_0x599965['on']('execute',()=>{_0x3bc8fb['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4dc597['isOpen']=!0x1,_0x3bc8fb['editing']['view']['focus']();}),_0x43d716['children']['add'](_0x59e425),_0x135ca1['children']['add'](_0x599965),_0x569df0['role']='menu',_0x569df0['items']['addMany']([_0x43d716,_0x135ca1]),_0x57776f['add'](_0x569df0),_0x4dc597;}),_0x3bc8fb['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x33eccf=this['editor'],_0x579f6c=_0x33eccf['locale'],_0x3db5f7=new _0x41603e(_0x579f6c),_0x304acc=new _0x255e91(_0x579f6c);_0x3db5f7['buttonView']['set']({'icon':_0x3886ba['history'],'label':y(_0x579f6c,'Revision\x20history')});const _0x36b2b8=new _0x514062(_0x579f6c,_0x3db5f7),_0xf35c21=new _0x38f481(_0x579f6c);_0xf35c21['set']({'label':y(_0x579f6c,'Save\x20current\x20revision')}),_0xf35c21['delegate']('execute')['to'](_0x3db5f7),_0xf35c21['on']('execute',()=>{this['_showDialog']();}),_0x36b2b8['children']['add'](_0xf35c21),_0x304acc['items']['add'](_0x36b2b8);const _0x24522f=new _0x514062(_0x579f6c,_0x3db5f7),_0x5f40a6=new _0x38f481(_0x579f6c);return _0x5f40a6['set']({'label':y(_0x579f6c,'Open\x20revision\x20history')}),_0x5f40a6['delegate']('execute')['to'](_0x3db5f7),_0x5f40a6['on']('execute',()=>{_0x33eccf['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x24522f['children']['add'](_0x5f40a6),_0x304acc['items']['add'](_0x24522f),_0x3db5f7['panelView']['children']['add'](_0x304acc),_0x3db5f7;}['_showDialog'](){const _0x27f578=this['editor'],_0x505336=_0x27f578['locale'],t=_0x505336['t'],_0x33dc42=_0x27f578['plugins']['get']('Dialog'),_0x2203de=_0x27f578['plugins']['get']('RevisionTracker');function _0x144606(_0x47d13a){_0x27f578['config']['get']('revisionHistory.requireRevisionName')&&''===_0x47d13a['revisionName']?_0x47d13a['revisionNameInputView']['errorText']=y(_0x505336,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x27f578['plugins']['get'](l)['saveRevision']({'name':_0x47d13a['revisionName']}),_0x33dc42['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x144606(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x33dc42['show']({'id':'findAndReplace','title':y(_0x505336,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x33dc42['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4d3918){_0x4d3918['bind']('isEnabled')['to'](_0x2203de,'isReady',_0x2203de,'isEnabled',_0x27f578,'isReadOnly',(_0x1da5b1,_0x1c4041,_0x22ab46)=>_0x1da5b1&&_0x1c4041&&!_0x22ab46);},'onExecute':()=>_0x144606(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x469113=this['editor'],_0x103d64=_0x469113['locale'];this['_saveRevisionFormView']=new ns(_0x103d64,_0x469113['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x26e5c9{['changeId'];['_model'];constructor(_0x1c96a7,_0x1b91ca){super(_0x1c96a7),this['_model']=_0x1b91ca,this['changeId']=_0x1b91ca['id'];const _0x2c08af=this['bindTemplate'],_0x2f86dd=y(_0x1c96a7,_0x1b91ca['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1b91ca['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1b91ca['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2c08af['to']('type',_0x1195cb=>'ck-revision-change__'+_0x1195cb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2f86dd}]},{'text':'\x20'+_0x1b91ca['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x400224(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x294d6a){super(),this['id']=_0x294d6a['id']||_0x535ce0(),this['author']=_0x294d6a['author'],this['type']=_0x294d6a['type'],this['data']=_0x294d6a['data']||{},this['rootName']=_0x294d6a['rootName'],this['set']('createdAt',_0x294d6a['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(_0x7cf31a,_0x365b19){this['newRevisionId']=_0x7cf31a,this['oldRevisionId']=_0x365b19,this['changes']=new _0xb29b20();}['_setChanges'](_0x102314){for(const _0x5563f0 of _0x102314)this['changes']['add'](_0x5563f0);}}const tt={'c':_0xd63b61,'a':_0x5b8a0f,'e':_0x58419c,'r':_0x4aebd0,'u':_0x575c1f};class d extends _0x26bd26{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x376a85,_0x743844,A];}constructor(_0x1da5f4){super(_0x1da5f4),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',(_0x5c25dd,_0x3b4a28,_0x126212)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x21897d=>{for(const _0x3c7064 of this['editor']['editing']['view']['document']['roots'])_0x126212?_0x21897d['removeClass']('ck-editor__editable__overlay',_0x3c7064):_0x21897d['addClass']('ck-editor__editable__overlay',_0x3c7064);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x109355=>null!==_0x109355),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x37bef2,_0x4135a2,_0x37a6fe)=>_0x37bef2&&_0x37a6fe?_0x4135a2['changes']['getIndex'](_0x37a6fe):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x26e861,_0x34f2df)=>_0x26e861?_0x34f2df['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x743844);}['init'](){const _0x2b7898=this['editor'],_0x56c7d1=new yt(_0x2b7898,{'direction':'backward'}),_0x162158=new yt(_0x2b7898,{'direction':'forward'});(_0x2b7898['commands']['add']('showPreviousChange',_0x56c7d1),_0x2b7898['commands']['add']('showNextChange',_0x162158),_0x2b7898['commands']['add']('restoreRevision',new bt(_0x2b7898)),this['on']('change:numberOfChanges',()=>{_0x56c7d1['refresh'](),_0x162158['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2b7898['enableReadOnlyMode']('revision-viewer'),_0x2b7898['plugins']['has']('WidgetToolbarRepository'))&&_0x2b7898['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xf48b4){await this['loadRevisionData'](_0xf48b4);const _0x3bf7cb={};for(const _0x45c917 in _0xf48b4['diffData']){if(_0xf48b4['diffData'][_0x45c917]['attachChange']&&!_0xf48b4['diffData'][_0x45c917]['attachChange']['isAttached'])continue;const _0x64160f=this['_removeRevisionMarkers'](JSON['parse'](_0xf48b4['diffData'][_0x45c917]['insertions'])),_0x16bef6=this['editor']['editing']['view']['document'],_0x4d5c96=new _0x55c919(_0x16bef6,_0x64160f['map'](_0x325478=>this['_getViewObj'](_0x325478)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3bf7cb[_0x45c917]=this['editor']['data']['processor']['toData'](_0x4d5c96),this['editor']['data']['processor']['useFillerType']('default');}return _0x3bf7cb;}async['getRevisionRootsAttributes'](_0x30a1a8){await this['loadRevisionData'](_0x30a1a8);const _0x2dc455={};for(const _0x128149 in _0x30a1a8['diffData'])_0x30a1a8['diffData'][_0x128149]['attachChange']&&!_0x30a1a8['diffData'][_0x128149]['attachChange']['isAttached']||(_0x2dc455[_0x128149]=_0x30a1a8['diffData'][_0x128149]['attributesAfter']||{});return _0x2dc455;}['_removeRevisionMarkers'](_0x20ac92){return(_0x20ac92=_0x20ac92['filter'](_0x4935f2=>!_0x4935f2['name']||'revision-start'!==_0x4935f2['name']&&'revision-end'!==_0x4935f2['name']))['forEach'](_0x232add=>{'string'!=typeof _0x232add&&(_0x232add['children']=this['_removeRevisionMarkers'](_0x232add['children']),_0x232add['attributes']=_0x232add['attributes']['filter'](_0x1599ac=>!_0x1599ac[0x0]['startsWith']('data-revision-')));}),_0x20ac92;}async['compare'](_0x284233,_0x231fbc,_0xd165c8=!0x1){if(!this['isEnabled'])return;const _0x557638=this['diff'],_0x460e8a=this['repository'],_0x466a80='string'==typeof _0x284233?_0x460e8a['getRevision'](_0x284233):_0x284233,_0x20fc9b='string'==typeof _0x231fbc?_0x460e8a['getRevision'](_0x231fbc):_0x231fbc,_0x29b95a=_0x466a80['id'],_0x31aa2d=_0x20fc9b?_0x20fc9b['id']:null;if(!_0xd165c8&&this['diff']&&this['diff']['newRevisionId']===_0x29b95a&&this['diff']['oldRevisionId']===_0x31aa2d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x29b95a,_0x31aa2d);const _0x4fb81f=this['_getRevisionsRange'](_0x466a80,_0x20fc9b,!0x0)['map'](_0x463892=>this['loadRevisionData'](_0x463892));return _0x4fb81f['push'](new Promise(_0x443880=>{setTimeout(_0x443880,0x14);})),Promise['all'](_0x4fb81f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x573391=this['_getDiff'](_0x29b95a,_0x31aa2d);for(const _0x2d4c2f of _0x573391['changes'])this['_changeIdToChange']['set'](_0x2d4c2f['id'],_0x2d4c2f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x29e392=>{for(const _0x621fd3 of this['editor']['model']['document']['getRootNames']())_0x29e392['detachRoot'](_0x621fd3);for(const _0x4a7ecd of Object['keys'](_0x573391['model'])){const _0x20d495=_0x29e392['addRoot'](_0x4a7ecd);for(const _0x577eeb of Object['keys'](_0x573391['attributes'][_0x4a7ecd]))_0x29e392['setAttribute'](_0x577eeb,_0x573391['attributes'][_0x4a7ecd][_0x577eeb],_0x20d495);_0x29e392['insert'](_0x573391['model'][_0x4a7ecd],_0x20d495,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x573391['changes'])),this['isReady']=!0x0;})['catch'](_0x21f007=>{console['error'](_0x21f007),this['_cleanUp'](),_0x557638&&(this['diff']=_0x557638),this['isReady']=!0x0;});}['addRevisionData'](_0x5ca776,_0x4d8694){const _0x260320=this['repository']['createRevision'](_0x5ca776);return _0x260320['on']('_update',(_0x56e68a,_0x4bde6d,_0x9dd953)=>_0x4d8694(_0x4bde6d,_0x9dd953,_0x260320)),this['repository']['addRevision'](_0x260320),_0x260320;}['loadRevisionData'](_0x26f0a0){if(!_0x26f0a0||_0x26f0a0['diffData'])return Promise['resolve']();{const _0x4308b5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4308b5,'revisionId':_0x26f0a0['id']})['then'](_0x3ff68a=>{_0x26f0a0['_update']({'diffData':_0x3ff68a['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},_0xfadc42=>{for(const _0x9087dd of this['editor']['model']['document']['getRootNames']())_0xfadc42['detachRoot'](_0x9087dd);});}['_sortAndFilterDiffChanges'](_0x275f0b){const _0xa6de6e=[],_0x1ce748=new Map();for(const _0x45bfbf of this['editor']['model']['document']['getRootNames']()){const _0x53338b=this['editor']['editing']['view']['getDomRoot'](_0x45bfbf);if(!_0x53338b)continue;const _0x39e524=_0x53338b['getClientRects']()['item'](0x0);_0x39e524&&(_0xa6de6e['push'](_0x45bfbf),_0x1ce748['set'](_0x45bfbf,_0x39e524));}return _0xa6de6e['sort']((_0x4bfc45,_0x33c6a2)=>{const _0x5b6f28=_0x1ce748['get'](_0x4bfc45),_0xcf25a9=_0x1ce748['get'](_0x33c6a2);return _0x5b6f28['y']-_0xcf25a9['y']||_0x5b6f28['x']-_0xcf25a9['x'];}),(_0x275f0b=_0x275f0b['filter'](_0x3512ab=>_0xa6de6e['includes'](_0x3512ab['rootName'])))['sort']((_0x444d07,_0x6a507)=>_0xa6de6e['indexOf'](_0x444d07['rootName'])-_0xa6de6e['indexOf'](_0x6a507['rootName'])),_0x275f0b;}['_makeTape'](_0x1848ad){const _0x5daf5d=Array['from'](_0x1848ad['markers'])['filter'](([_0x18acdb,_0x3d27e4])=>_0x18acdb['startsWith']('revision:')&&!_0x3d27e4['isCollapsed']),_0x241153=Array['from'](this['editor']['model']['createRangeIn'](_0x1848ad)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5daf5d['length'])for(const _0x3a5f87 of _0x241153){const [_0x1da1e8,_0x2876c3]=_0x5daf5d[0x0],[,_0x5debfd,_0xedb13a]=_0x1da1e8['split'](':');if(_0x2876c3['end']['isEqual'](_0x3a5f87['nextPosition'])&&_0x5daf5d['shift'](),(_0x3a5f87['previousPosition']['isEqual'](_0x2876c3['start'])||_0x3a5f87['previousPosition']['isAfter'](_0x2876c3['start']))&&('insertion'==_0x5debfd?_0x3a5f87['isAdded']={'userId':_0xedb13a}:'deletion'==_0x5debfd&&(_0x3a5f87['isRemoved']={'userId':_0xedb13a})),0x0==_0x5daf5d['length'])break;}return _0x241153;}['_refreshStartEndIndex'](_0x719d13){const _0x3193c8=new Map();for(let _0x91ce7a=0x0;_0x91ce7a<_0x719d13['length'];_0x91ce7a++)'text'===_0x719d13[_0x91ce7a]['type']?(_0x719d13[_0x91ce7a]['item']['startIndex']=_0x91ce7a,_0x719d13[_0x91ce7a]['item']['endIndex']=_0x91ce7a):('elementStart'===_0x719d13[_0x91ce7a]['type']?_0x719d13[_0x91ce7a]['item']['startIndex']=_0x91ce7a:'elementEnd'===_0x719d13[_0x91ce7a]['type']&&(_0x719d13[_0x91ce7a]['item']['endIndex']=_0x91ce7a),_0x3193c8['set'](_0x719d13[_0x91ce7a]['id'],_0x91ce7a));for(const _0xa0eb37 of _0x3193c8['values']())'elementStart'===_0x719d13[_0xa0eb37]['type']?_0x719d13[_0xa0eb37]['item']['endIndex']=_0x3193c8['get'](_0x719d13[_0xa0eb37]['pairId']):'elementEnd'===_0x719d13[_0xa0eb37]['type']&&(_0x719d13[_0xa0eb37]['item']['startIndex']=_0x3193c8['get'](_0x719d13[_0xa0eb37]['pairId']));}['_processTape'](_0x5b3356){for(let _0x1d4d97=0x0;_0x1d4d97<_0x5b3356['length'];_0x1d4d97++){if('elementStart'===_0x5b3356[_0x1d4d97]['type'])_0x5b3356[_0x1d4d97]['item']['startIndex']=_0x1d4d97;else{if('elementEnd'===_0x5b3356[_0x1d4d97]['type']){_0x5b3356[_0x1d4d97]['item']['endIndex']=_0x1d4d97;const _0x1f7fd4=_0x5b3356[_0x1d4d97]['item']['startIndex'];_0x5b3356[_0x1f7fd4]['pairId']=_0x5b3356[_0x1d4d97]['id'],_0x5b3356[_0x1d4d97]['pairId']=_0x5b3356[_0x1f7fd4]['id'];}else _0x5b3356[_0x1d4d97]['item']['startIndex']=_0x1d4d97,_0x5b3356[_0x1d4d97]['item']['endIndex']=_0x1d4d97,_0x5b3356[_0x1d4d97]['pairId']=null;}_0x5b3356[_0x1d4d97]['markersStart']||(_0x5b3356[_0x1d4d97]['markersStart']=[],_0x5b3356[_0x1d4d97]['markersEnd']=[]);}}['_markInsertions'](_0x1374a2,_0x3d74e8){const _0x5d55c6=_0x1374a2['filter'](_0x4d4839=>!_0x4d4839['isAdded']);for(let _0x11a86b=0x0;_0x11a86b<_0x3d74e8['length'];_0x11a86b++)_0x3d74e8[_0x11a86b]['isAdded']&&(_0x5d55c6[_0x11a86b]['isAdded']=_0x3d74e8[_0x11a86b]['isAdded']);}['_makeModelFromViewString'](_0x385ff9){const _0x25b4bf=JSON['parse'](_0x385ff9),_0x1dd588=this['editor']['editing']['view']['document'],_0xe28477=new _0x55c919(_0x1dd588,_0x25b4bf['map'](_0x330ef0=>this['_getViewObj'](_0x330ef0)));return this['editor']['data']['toModel'](_0xe28477);}['_getViewObj'](_0x5ec26f){const _0x36cb5b=this['editor']['editing']['view']['document'];if('string'==typeof _0x5ec26f)return new _0x1e4a24(_0x36cb5b,_0x5ec26f);{const _0x2f6457=_0x5ec26f['children']['map'](_0x1dd38b=>this['_getViewObj'](_0x1dd38b));return new(tt[_0x5ec26f['type']]||_0x2f3835)(_0x36cb5b,_0x5ec26f['name'],_0x5ec26f['attributes'],_0x2f6457);}}['_getDiff'](_0x27f17a,_0x26b6bd=null){const _0x3700b5=this['repository']['getRevision'](_0x27f17a),_0x4a1388=_0x26b6bd?this['repository']['getRevision'](_0x26b6bd):null,_0x164fc1=this['_getRevisionsRange'](_0x3700b5,_0x4a1388),_0x4e38cb=_0x164fc1[_0x164fc1['length']-0x1],_0x560c40=new Map(),_0x408a4b={'model':{},'attributes':{},'changes':[]},_0x1a19f8=new Set(),_0x1f5219=new Map();for(let _0x2d9201=_0x164fc1['length']-0x1;_0x2d9201>=0x0;_0x2d9201--){const _0x1b0244=_0x164fc1[_0x2d9201];for(const _0x2fb28b of Object['keys'](_0x1b0244['diffData']))if(_0x1b0244['diffData'][_0x2fb28b]['attachChange']){const _0x5bf8f9=_0x1b0244['diffData'][_0x2fb28b]['attachChange'];_0x5bf8f9['isAttached']?(_0x1a19f8['add'](_0x2fb28b),_0x1f5219['has'](_0x2fb28b)&&_0x1f5219['get'](_0x2fb28b)['userId']==_0x5bf8f9['userId']?_0x1f5219['delete'](_0x2fb28b):_0x1f5219['set'](_0x2fb28b,_0x5bf8f9)):_0x1f5219['has'](_0x2fb28b)?(_0x1a19f8['delete'](_0x2fb28b),_0x1f5219['delete'](_0x2fb28b)):(_0x1a19f8['add'](_0x2fb28b),_0x1f5219['set'](_0x2fb28b,_0x5bf8f9));}else _0x1a19f8['add'](_0x2fb28b);}for(const _0x579681 of _0x1a19f8){const _0xa55189=_0x1f5219['has'](_0x579681)&&!_0x1f5219['get'](_0x579681)['isAttached'];let _0x396909=_0xa55189?_0x164fc1['length']-0x1:0x0;const _0x598833=_0xa55189?-0x1:0x1;for(;_0x164fc1[_0x396909];){const _0x15db4c=_0x164fc1[_0x396909];if(_0x15db4c['diffData'][_0x579681]){const _0x2da953=_0xa55189?_0x15db4c['diffData'][_0x579681]['attributesBefore']:_0x15db4c['diffData'][_0x579681]['attributesAfter'];_0x408a4b['attributes'][_0x579681]=_0x2da953?_0x1387cf(_0x2da953):{};break;}_0x396909+=_0x598833;}}for(const _0x2af230 of _0x164fc1){_0x2af230['model']={};for(const _0x2e5956 of _0x2af230['authors'])_0x560c40['set'](_0x2e5956['id'],_0x2e5956);for(const _0x3f5de3 of _0x1a19f8){const _0x451d7a=_0x2af230['diffData'][_0x3f5de3]?_0x2af230['diffData'][_0x3f5de3]['insertions']:'[]',_0x3f061e=_0x2af230['diffData'][_0x3f5de3]?_0x2af230['diffData'][_0x3f5de3]['deletions']:'[]';_0x2af230['model'][_0x3f5de3]={'insertions':this['_makeModelFromViewString'](_0x451d7a),'deletions':this['_makeModelFromViewString'](_0x3f061e)};}}for(const _0x36b871 of _0x1a19f8){let _0x1d7b72=null,_0x58bf9c=0x0;const _0x391423=new Map(Array['from'](_0x3700b5['model'][_0x36b871]['insertions']['markers'])['filter'](([_0x11b66c])=>!_0x11b66c['startsWith']('revision:')));let _0xebc390=0x0;for(const _0x156143 of _0x164fc1){const _0x91cb96=this['_makeTape'](_0x156143['model'][_0x36b871]['insertions']);_0x156143==_0x3700b5?(_0x1d7b72=_0x91cb96,_0x58bf9c=_0x1d7b72['length'],_0x1d7b72['forEach'](_0x53387b=>{_0x53387b['id']=_0xebc390++;}),this['_processTape'](_0x1d7b72)):this['_markInsertions'](_0x1d7b72,_0x91cb96);const _0xc834eb=_0x1d7b72['filter'](_0x4e8f40=>!_0x4e8f40['isAdded'])['map'](_0x14427a=>_0x14427a['id']);let _0x51631e=0x0;const _0x55b8b1=this['_makeTape'](_0x156143['model'][_0x36b871]['deletions']);_0x55b8b1['forEach'](_0x3fc557=>{_0x3fc557['isRemoved']?_0x3fc557['id']=_0x58bf9c++:_0x3fc557['id']=_0xc834eb[_0x51631e++];}),this['_processTape'](_0x55b8b1),this['_setDistance'](_0x1d7b72,'isAdded'),this['_setDistance'](_0x55b8b1,'isRemoved'),_0x156143==_0x3700b5&&this['_markMarkers'](_0x1d7b72,_0x391423),_0x1d7b72=this['_joinTapes'](_0x1d7b72,_0x55b8b1),this['_refreshStartEndIndex'](_0x1d7b72),this['_setDistance'](_0x1d7b72,'isRemoved');}_0x1d7b72=_0x1d7b72['filter'](_0x3fc8c5=>!(_0x3fc8c5['isAdded']&&_0x3fc8c5['isRemoved']));const _0x4c3463=new Map(_0x4e38cb['model'][_0x36b871]['deletions']['markers']),_0x2bf6df=new Set(_0x391423['keys']());for(const _0x2cd063 of _0x4c3463['keys']())_0x2bf6df['delete'](_0x2cd063);this['_markSuggestions'](_0x1d7b72,_0x2bf6df),this['_fixObsoleteTags'](_0x1d7b72),_0x1d7b72=this['_removeMissingPairs'](_0x1d7b72),_0x1d7b72=this['_markMismatchedRemovedTags'](_0x1d7b72),_0x1d7b72=this['_removeUnsupportedChanges'](_0x1d7b72);const {root:_0x2877f3,changes:_0x10c6fb}=this['_makeModelFromTape'](_0x1d7b72,_0x560c40,_0x36b871);_0x408a4b['model'][_0x36b871]=_0x2877f3;const _0xdd9399=_0x1f5219['get'](_0x36b871);if(_0xdd9399){const _0xeac162=_0x560c40['get'](_0xdd9399['userId']),_0x395994=new r({'author':_0xeac162,'type':_0xdd9399['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x36b871});_0x10c6fb['unshift'](_0x395994),_0x408a4b['attributes'][_0x36b871]['revisionHistoryAttachChange']=_0x395994['id'];}_0x408a4b['changes']=_0x408a4b['changes']['concat'](_0x10c6fb);}return _0x408a4b;}['_markMarkers'](_0x1a9a2e,_0xd3204){for(let _0x3305a0=0x0;_0x3305a0<_0x1a9a2e['length'];_0x3305a0++)for(const [_0x509bf4,_0x1f5606]of _0xd3204)_0x1f5606['start']['isEqual'](_0x1a9a2e[_0x3305a0]['previousPosition'])&&_0x1a9a2e[_0x3305a0]['markersStart']['push'](_0x509bf4),_0x1f5606['end']['isEqual'](_0x1a9a2e[_0x3305a0]['nextPosition'])&&_0x1a9a2e[_0x3305a0]['markersEnd']['push'](_0x509bf4);}['_joinTapes'](_0x3aea2b,_0x4beaa7){let _0x14c372=[],_0x495066=0x0,_0x568585=0x0;for(;_0x495066<_0x3aea2b['length']||_0x568585<_0x4beaa7['length'];){const _0x167ff3=_0x3aea2b[_0x495066]||{},_0x3ab175=_0x4beaa7[_0x568585]||{};if(_0x167ff3['id']==_0x3ab175['id'])_0x495066++,_0x568585++,_0x14c372['push'](_0x167ff3);else{if(_0x3ab175['isRemoved']&&_0x167ff3['isAdded']){const {commonTape:_0x397731,iEnd:_0xfaba5d,jEnd:_0x254ad1}=this['_threeWayMerge'](_0x3aea2b,_0x495066,_0x4beaa7,_0x568585);_0x14c372=_0x14c372['concat'](_0x397731),_0x495066=_0xfaba5d,_0x568585=_0x254ad1;}else _0x3ab175['isRemoved']?(_0x568585++,_0x14c372['push'](_0x3ab175)):(_0x495066++,_0x14c372['push'](_0x167ff3));}}return _0x14c372;}['_markSuggestions'](_0x17b146,_0x9f8529){const _0x51fdb5=[];for(let _0x53399a=0x0;_0x53399a<_0x17b146['length'];_0x53399a++){for(let _0x2c91e1=0x0;_0x2c91e1<_0x17b146[_0x53399a]['markersStart']['length'];_0x2c91e1++){const _0x1e6acc=_0x17b146[_0x53399a]['markersStart'][_0x2c91e1];if(!_0x9f8529['has'](_0x1e6acc))continue;const {group:_0xc80b99,type:_0x2c727e,authorId:_0x45599f}=_0x59c863(_0x1e6acc);'revision-suggestion'!=_0xc80b99||'insertion'!=_0x2c727e&&'deletion'!=_0x2c727e||(_0x51fdb5['unshift']({'type':_0x2c727e,'name':_0x1e6acc,'userId':_0x45599f}),_0x17b146[_0x53399a]['markersStart']['splice'](_0x2c91e1,0x1),_0x2c91e1--);}_0x59b131(_0x17b146[_0x53399a]);for(let _0x5631c8=0x0;_0x5631c8<_0x17b146[_0x53399a]['markersEnd']['length'];_0x5631c8++){const _0x79d97=_0x17b146[_0x53399a]['markersEnd'][_0x5631c8];if(!_0x9f8529['has'](_0x79d97))continue;const {group:_0x337614,type:_0x3a00dc}=_0x59c863(_0x79d97);if('revision-suggestion'!=_0x337614||'insertion'!=_0x3a00dc&&'deletion'!=_0x3a00dc)continue;_0x17b146[_0x53399a]['markersEnd']['splice'](_0x5631c8,0x1),_0x5631c8--;const _0x543e83=_0x51fdb5['findIndex'](_0x59db6e=>_0x59db6e['name']==_0x79d97);_0x543e83>-0x1&&_0x51fdb5['splice'](_0x543e83,0x1);}}function _0x59c863(_0x3445c0){const _0x5a4799=_0x3445c0['split'](':');return{'group':_0x5a4799[0x0],'type':_0x5a4799[0x1],'subType':_0x5a4799['length']>=0x5?_0x5a4799[0x2]:null,'id':_0x5a4799['length']<0x5?_0x5a4799[0x2]:_0x5a4799[0x3],'authorId':_0x5a4799['length']<0x5?_0x5a4799[0x3]:_0x5a4799[0x4],'markerCount':0x6==_0x5a4799['length']?_0x5a4799[0x5]:null};}function _0x59b131(_0x1b8fd2){for(let _0x48a9cd=0x0;_0x48a9cd<_0x51fdb5['length'];_0x48a9cd++){if(_0x1b8fd2['isAdded']&&'insertion'==_0x51fdb5[_0x48a9cd]['type'])return _0x1b8fd2['isAddSuggestion']=_0x51fdb5[_0x48a9cd],void delete _0x1b8fd2['isAdded'];if(!_0x1b8fd2['isAdded']&&!_0x1b8fd2['isRemoved']&&'deletion'==_0x51fdb5[_0x48a9cd]['type'])return void(_0x1b8fd2['isRemoveSuggestion']=_0x51fdb5[_0x48a9cd]);}}}['_setDistance'](_0x258faf,_0x4610eb){let _0x17dca2=0x0,_0x230aac=!0x1;const _0x89f168=new Map();for(const _0xafdda5 of _0x258faf)_0xafdda5[_0x4610eb]?_0x230aac&&(_0x17dca2++,_0x230aac=!0x1):(_0x17dca2++,_0x230aac=!0x0),_0x89f168['set'](_0xafdda5['id'],_0x17dca2);for(let _0x2cf22e=0x0;_0x2cf22e<_0x258faf['length'];_0x2cf22e++){if('isRemoved'==_0x4610eb&&_0x258faf[_0x2cf22e]['isAdded']||'isAdded'==_0x4610eb&&_0x258faf[_0x2cf22e]['isRemoved'])continue;if('text'==_0x258faf[_0x2cf22e]['type']){_0x258faf[_0x2cf22e]['distance']=0x0;continue;}const _0x2f421d=_0x89f168['get'](_0x258faf[_0x2cf22e]['pairId']),_0x459b8d=_0x89f168['get'](_0x258faf[_0x2cf22e]['id']);_0x258faf[_0x2cf22e]['distance']=_0x2f421d-_0x459b8d;}}['_getRevisionsRange'](_0x380e13,_0x5c60ab,_0x166b56=!0x1){const _0x5185b3=[];let _0x7e1265=this['repository']['getIndex'](_0x380e13),_0x377fa7=this['repository']['getIndex'](_0x5c60ab);for(-0x1==_0x377fa7&&(_0x377fa7=this['repository']['_revisions']['length'],_0x166b56=!0x1);_0x7e1265<_0x377fa7;)_0x5185b3['push'](this['repository']['getRevision'](_0x7e1265)),_0x7e1265++;return _0x166b56&&_0x5185b3['push'](this['repository']['getRevision'](_0x7e1265)),_0x5185b3;}['_threeWayMerge'](_0x2dc23f,_0x3b4219,_0x36e888,_0xbf179c){const _0xeb35c3=this['editor']['model']['schema'];let _0x333b21=_0x3b4219;for(;_0x2dc23f[_0x333b21]&&_0x2dc23f[_0x333b21]['isAdded'];)_0x333b21++;let _0x29ffeb=_0xbf179c;for(;_0x36e888[_0x29ffeb]&&_0x36e888[_0x29ffeb]['isRemoved'];)_0x29ffeb++;_0x706ca(_0x2dc23f,_0x3b4219,_0x333b21),_0x706ca(_0x36e888,_0xbf179c,_0x29ffeb);const _0x413cf7=_0x36e888['slice'](_0xbf179c,_0x29ffeb)['concat'](_0x2dc23f['slice'](_0x3b4219,_0x333b21));return _0x413cf7['sort']((_0x3bb8a8,_0x5d74aa)=>_0x3bb8a8['side']!=_0x5d74aa['side']?_0x3bb8a8['side']-_0x5d74aa['side']:_0x3bb8a8['level']!=_0x5d74aa['level']?_0x3bb8a8['level']-_0x5d74aa['level']:_0x3bb8a8['distance']!=_0x5d74aa['distance']?_0x5d74aa['distance']-_0x3bb8a8['distance']:!!_0x3bb8a8['isAdded']!=!!_0x5d74aa['isAdded']?-0x1==_0x3bb8a8['side']||0x0==_0x3bb8a8['side']?_0x3bb8a8['isAdded']?-0x1:0x1:_0x3bb8a8['isAdded']?0x1:-0x1:_0x3bb8a8['index']-_0x5d74aa['index']),{'commonTape':_0x413cf7,'iEnd':_0x333b21,'jEnd':_0x29ffeb};function _0x706ca(_0x3a87e6,_0x195372,_0x507217){let _0x45d1c5=-0x1,_0x7eef3c=Number['POSITIVE_INFINITY'],_0xf211ef=!0x0;for(let _0x2817c7=_0x195372;_0x2817c7<_0x507217;_0x2817c7++)if(_0xeb35c3['isInline'](_0x3a87e6[_0x2817c7]['item'])||(_0xf211ef=!0x1),_0x3a87e6[_0x2817c7]['item']['startIndex']<_0x195372&&(_0x45d1c5=_0x2817c7),_0x3a87e6[_0x2817c7]['item']['endIndex']>=_0x507217){_0x7eef3c=_0x2817c7;break;}_0xf211ef&&(_0x45d1c5=_0x507217-0x1);for(let _0x4c112f=_0x195372;_0x4c112f<_0x507217;_0x4c112f++)_0x3a87e6[_0x4c112f]['side']=_0x4c112f<=_0x45d1c5?-0x1:_0x4c112f<_0x7eef3c?0x0:0x1,_0x3a87e6[_0x4c112f]['index']=_0x4c112f;let _0x2e1a29=0x0;for(let _0x5d8041=_0x195372;_0x5d8041<=_0x45d1c5;_0x5d8041++)0x0==_0x3a87e6[_0x5d8041]['distance']?_0x3a87e6[_0x5d8041]['level']=_0x2e1a29:(_0x2e1a29++,_0x3a87e6[_0x5d8041]['level']=_0x2e1a29,_0x2e1a29++);for(let _0x2c12a9=_0x195372;_0x2c12a9<_0x507217;_0x2c12a9++)0x0==_0x3a87e6[_0x2c12a9]['side']&&(_0x3a87e6[_0x2c12a9]['level']=_0x2e1a29);_0x2e1a29=0x0;for(let _0x49e244=_0x507217-0x1;_0x49e244>=_0x7eef3c;_0x49e244--)0x0==_0x3a87e6[_0x49e244]['distance']?_0x3a87e6[_0x49e244]['level']=_0x2e1a29:(_0x2e1a29--,_0x3a87e6[_0x49e244]['level']=_0x2e1a29,_0x2e1a29--);}}['_fixObsoleteTags'](_0xaa6b0e){const _0x1bacf7=new Map(),_0xb3c949=this['editor']['model']['schema'];for(let _0x32cdd1=0x1;_0x32cdd1<_0xaa6b0e['length'];_0x32cdd1++){let _0x174e6b,_0x368230,_0x1b1ec1;const _0x456a7f=_0xaa6b0e[_0x32cdd1],_0x1e2756=_0xaa6b0e[_0x32cdd1-0x1];if('text'==_0x456a7f['type'])continue;if(_0x456a7f['type']!=_0x1e2756['type'])continue;if(!_0xb3c949['isBlock'](_0x1e2756['item'])||_0xb3c949['isLimit'](_0x1e2756['item']))continue;if(!_0xb3c949['isBlock'](_0x456a7f['item'])||_0xb3c949['isLimit'](_0x456a7f['item']))continue;if((_0xaa6b0e[_0x32cdd1]['isAdded']||_0xaa6b0e[_0x32cdd1]['isAddSuggestion'])&&_0xaa6b0e[_0x32cdd1-0x1]['isRemoved'])_0x174e6b=_0xaa6b0e[_0x32cdd1],_0x368230=_0xaa6b0e[_0x32cdd1-0x1],_0x1b1ec1=_0x32cdd1-0x1;else{if(!_0xaa6b0e[_0x32cdd1]['isRemoved']||!_0xaa6b0e[_0x32cdd1-0x1]['isAdded']&&!_0xaa6b0e[_0x32cdd1-0x1]['isAddSuggestion'])continue;_0x174e6b=_0xaa6b0e[_0x32cdd1-0x1],_0x368230=_0xaa6b0e[_0x32cdd1],_0x1b1ec1=_0x32cdd1;}const _0x305299=_0x174e6b['level']==_0x368230['level'],_0x4aec11=Math['abs'](_0x174e6b['level'])<Math['abs'](_0x368230['level'])&&0x0==_0x368230['distance'];(_0x305299||_0x4aec11)&&(_0x1bacf7['set'](_0x368230['id'],_0x174e6b['id']),_0xaa6b0e['splice'](_0x1b1ec1,0x1),_0x32cdd1--,_0x174e6b['isAdded']=!0x1);}for(let _0x25953f=0x0;_0x25953f<_0xaa6b0e['length'];_0x25953f++)_0x1bacf7['has'](_0xaa6b0e[_0x25953f]['pairId'])&&(_0xaa6b0e[_0x25953f]['pairId']=_0x1bacf7['get'](_0xaa6b0e[_0x25953f]['pairId']));}['_removeMissingPairs'](_0x19aca4){const _0x405204=new Set(_0x19aca4['map'](_0xb88702=>_0xb88702['id']));for(let _0x4e3d99=0x0;_0x4e3d99<_0x19aca4['length'];_0x4e3d99++)_0x405204['has'](_0x19aca4[_0x4e3d99]['pairId'])||0x0==_0x19aca4[_0x4e3d99]['distance']||(_0x19aca4[_0x4e3d99]['isIncorrect']=!0x0);return _0x19aca4['filter'](_0x1df541=>!_0x1df541['isIncorrect']);}['_markMismatchedRemovedTags'](_0xe8c2e9){const _0x2b2db6=new Set();for(let _0x5d902b=0x0;_0x5d902b<_0xe8c2e9['length'];_0x5d902b++){if(_0x2b2db6['has'](_0xe8c2e9[_0x5d902b]['id'])&&_0xe8c2e9[_0x5d902b]['isRemoved']&&(_0xe8c2e9[_0x5d902b]['isIncorrect']=!0x0),_0xe8c2e9[_0x5d902b]['isIncorrect'])continue;if(0x0==_0xe8c2e9[_0x5d902b]['distance'])continue;if('elementStart'!=_0xe8c2e9[_0x5d902b]['type'])continue;if(null==_0xe8c2e9[_0x5d902b]['pairId'])continue;let _0x19c93b=_0x5d902b+0x1,_0x2ea126=0x0;for(;_0xe8c2e9[_0x19c93b]['id']!=_0xe8c2e9[_0x5d902b]['pairId'];)'elementStart'==_0xe8c2e9[_0x19c93b]['type']?_0x2ea126++:'elementEnd'==_0xe8c2e9[_0x19c93b]['type']&&_0x2ea126--,_0x19c93b++;if(0x0!=_0x2ea126){if(_0xe8c2e9[_0x5d902b]['isRemoved'])_0xe8c2e9[_0x5d902b]['isIncorrect']=!0x0;else{for(;_0x19c93b!=_0x5d902b;)_0xe8c2e9[_0x19c93b]['isRemoved']&&0x0!=_0xe8c2e9[_0x19c93b]['distance']&&(_0xe8c2e9[_0x19c93b]['isIncorrect']=!0x0,_0x2b2db6['add'](_0xe8c2e9[_0x19c93b]['pairId'])),_0x19c93b--;}}}return _0xe8c2e9['filter'](_0x44fc99=>!_0x44fc99['isIncorrect']);}['_removeUnsupportedChanges'](_0x509d85){const _0x237914=this['editor']['model']['schema'];for(let _0x5cbf9e=0x0;_0x5cbf9e<_0x509d85['length'];_0x5cbf9e++){if(!(_0x509d85[_0x5cbf9e]['isAdded']||_0x509d85[_0x5cbf9e]['isAddSuggestion']||_0x509d85[_0x5cbf9e]['isRemoved']||_0x509d85[_0x5cbf9e]['isRemoveSuggestion']))continue;if(0x0==_0x509d85[_0x5cbf9e]['distance'])continue;const _0x58a97e=_0x509d85[_0x5cbf9e]['item'];_0x237914['isBlock'](_0x58a97e)||_0x237914['isLimit'](_0x58a97e)||(_0x509d85[_0x5cbf9e]['isAdded']&&delete _0x509d85[_0x5cbf9e]['isAdded'],_0x509d85[_0x5cbf9e]['isAddSuggestion']&&delete _0x509d85[_0x5cbf9e]['isAddSuggestion'],_0x509d85[_0x5cbf9e]['isRemoveSuggestion']&&delete _0x509d85[_0x5cbf9e]['isRemoveSuggestion'],_0x509d85[_0x5cbf9e]['isRemoved']&&(_0x509d85[_0x5cbf9e]['isIncorrect']=!0x0));}return _0x509d85['filter'](_0x134922=>!_0x134922['isIncorrect']);}['_makeModelFromTape'](_0xe9de1e,_0x593dc7,_0x54dfe6){const _0x3d85a8=new wt(),_0x3a6efc=[],_0x241558=new Map(),_0x35edc3=this['editor']['model'],_0xf590cf=_0x35edc3['schema'],_0x363edc=[_0x3d85a8],_0x35d1fe={},_0x419d1e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1c50e8=null;const _0x163e8a=[0x0];for(let _0x1a618e=0x0;_0x1a618e<_0xe9de1e['length'];_0x1a618e++){let _0x5a71c3,_0x52e9a4;if('elementStart'===_0xe9de1e[_0x1a618e]['type']){_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a);const _0x3e8b44=new ft(_0xe9de1e[_0x1a618e]['item']['name'],_0xe9de1e[_0x1a618e]['item']['getAttributes']());_0x363edc[0x0]['_appendChild'](_0x3e8b44),_0x163e8a['push'](0x0),_0x363edc['unshift'](_0x3e8b44),_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8=null;}else{if('elementEnd'===_0xe9de1e[_0x1a618e]['type'])_0x363edc['shift'](),_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x163e8a['pop'](),_0x163e8a[_0x163e8a['length']-0x1]++,_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8=null;else{if(_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8&&_0x39507a(_0x1c50e8,_0xe9de1e[_0x1a618e]['item']))_0x1c50e8['_data']+=_0xe9de1e[_0x1a618e]['item']['data'];else{const _0x38fb0b=new _t(_0xe9de1e[_0x1a618e]['item']['data'],_0xe9de1e[_0x1a618e]['item']['getAttributes']());_0x363edc[0x0]['_appendChild'](_0x38fb0b),_0x1c50e8=_0x38fb0b;}_0x163e8a[_0x163e8a['length']-0x1]+=_0xe9de1e[_0x1a618e]['item']['offsetSize'],_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a);}}for(const _0x2a6317 of _0xe9de1e[_0x1a618e]['markersStart'])_0x241558['set'](_0x2a6317,{'start':_0x5a71c3,'end':null});_0x193b7d('isRemoveSuggestion',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isAddSuggestion',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isRemoved',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isAdded',_0x1a618e,_0x5a71c3,_0x52e9a4);for(const _0xc59f34 of _0xe9de1e[_0x1a618e]['markersEnd']){_0x241558['get'](_0xc59f34)['end']=_0x52e9a4;}}for(const [_0xa432d0,_0x4deb36]of _0x241558){const _0x49c3ef=this['editor']['model']['createRange'](_0x4deb36['start'],_0x4deb36['end']);_0x3d85a8['markers']['set'](_0xa432d0,_0x49c3ef);}return _0x3a6efc['sort']((_0x537ab5,_0x557e1e)=>{const _0x4496bf=_0x3d85a8['markers']['get']('revision:'+_0x537ab5['id']),_0x4537d0=_0x3d85a8['markers']['get']('revision:'+_0x557e1e['id']);return _0x4496bf['start']['isBefore'](_0x4537d0['start'])?-0x1:_0x4496bf['start']['isAfter'](_0x4537d0['start'])?0x1:_0x4496bf['end']['isBefore'](_0x4537d0['end'])?-0x1:_0x4496bf['end']['isAfter'](_0x4537d0['end'])?0x1:'add'===_0x537ab5['type']?-0x1:0x1;}),{'root':_0x3d85a8,'changes':_0x3a6efc};function _0x193b7d(_0x27f1a8,_0x509889,_0x59c073,_0x2b0157){const _0x2716b1=!!_0xe9de1e[_0x509889][_0x27f1a8],_0x58e98c=_0x2716b1?_0xe9de1e[_0x509889][_0x27f1a8]['userId']:null,_0x14cf19=_0x509889===_0xe9de1e['length']-0x1,_0x37cf5c=_0x419d1e[_0x27f1a8][0x0],_0x10927f=_0xf590cf['isObject'](_0xe9de1e[_0x509889]['item']);!_0x35d1fe[_0x27f1a8]&&_0x2716b1?_0x35d1fe[_0x27f1a8]={'start':_0x59c073,'tapeItem':_0xe9de1e[_0x509889],'userId':_0x58e98c,'type':_0x27f1a8}:_0x35d1fe[_0x27f1a8]&&!_0x2716b1?(_0x35d1fe[_0x27f1a8]['end']=_0x59c073,_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]=null):_0x35d1fe[_0x27f1a8]&&_0x2716b1&&_0x35d1fe[_0x27f1a8]['userId']!==_0x58e98c&&(_0x35d1fe[_0x27f1a8]['end']=_0x59c073,_0x37cf5c&&_0x37cf5c['userId']===_0x35d1fe[_0x27f1a8]['userId']||_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]={'start':_0x59c073,'tapeItem':_0xe9de1e[_0x509889],'userId':_0x58e98c,'type':_0x27f1a8}),_0x35d1fe[_0x27f1a8]&&_0x10927f&&('elementStart'!==_0xe9de1e[_0x509889]['type']||_0x37cf5c&&_0x37cf5c['userId']===_0x58e98c||_0x419d1e[_0x27f1a8]['unshift']({'userId':_0x58e98c,'object':_0xe9de1e[_0x509889]['item'],'change':_0x35d1fe[_0x27f1a8]}),'elementEnd'===_0xe9de1e[_0x509889]['type']&&_0x37cf5c&&_0x37cf5c['object']===_0xe9de1e[_0x509889]['item']&&(_0x419d1e[_0x27f1a8]['shift'](),_0x35d1fe[_0x27f1a8]=_0x37cf5c['change'])),_0x35d1fe[_0x27f1a8]&&_0x14cf19&&(_0x35d1fe[_0x27f1a8]['end']=_0x2b0157,_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]=null);}function _0x55cbdf({start:_0x19e647,end:_0xabf3b7,tapeItem:_0x1fd54c,userId:_0x5988ba,type:_0x2dbf5f}){const _0xa86c32=_0x1fd54c['item'],_0x1e738e=_0x35edc3['schema']['isBlock'](_0xa86c32)&&!_0x35edc3['schema']['isLimit'](_0xa86c32),_0x294c7c=_0x19e647['nodeAfter']==_0xabf3b7['parent']&&_0xabf3b7['isAtStart'];if(_0x1e738e&&_0x294c7c)return;const _0x359681=_0x35edc3['createRange'](_0x19e647,_0xabf3b7),_0x2b371d=_0x593dc7['get'](_0x5988ba),_0x5736d7=new r({'author':_0x2b371d,'type':'isAdded'==_0x2dbf5f||'isAddSuggestion'==_0x2dbf5f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2dbf5f||'isRemoveSuggestion'==_0x2dbf5f},'createdAt':new Date(),'rootName':_0x54dfe6});_0x3a6efc['push'](_0x5736d7),_0x3d85a8['markers']['set']('revision:'+_0x5736d7['id'],_0x359681);}function _0x39507a(_0x393d9b,_0x4dc31a){const _0x4a0c3d=_0x393d9b['getAttributes'](),_0x252760=_0x4dc31a['getAttributes']();for(const _0x17cc35 of _0x4a0c3d){if(_0x17cc35[0x1]!==_0x4dc31a['getAttribute'](_0x17cc35[0x0]))return!0x1;_0x252760['next']();}return _0x252760['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x324a3e=>{const _0x17431e=_0x324a3e['markerName']['split'](':')[0x1],_0xa9ffef=this['_getChangeFromId'](_0x17431e);if(!_0xa9ffef)return null;const _0x27d437='add'==_0xa9ffef['type']?'insertion':'deletion',_0x3b0a5b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x27d437];return _0xa9ffef['data']['isSuggestion']&&_0x3b0a5b['push']('ck-suggestion-marker-'+_0x27d437+'-new'),this['activeChange']==_0xa9ffef&&_0x3b0a5b['push']('ck-suggestion-marker--active'),{'classes':_0x3b0a5b,'attributes':{'data-change-id':_0x17431e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x34f2fe=>{_0x34f2fe['on']('element:pre',(_0x45656e,_0x3e106f,_0xe3e2f2)=>{const _0x41d5e4=_0x3e106f['viewItem']['getChild'](0x0);if(!_0x41d5e4||!_0x41d5e4['is']('element','code'))return;if(!_0xe3e2f2['consumable']['consume'](_0x41d5e4,{'attributes':['vid_start','vid_end']}))return;const _0x50d6ca=_0x3e106f['modelRange']['start']['nodeAfter'];_0xe3e2f2['writer']['setAttribute']('vid_start',_0x41d5e4['getAttribute']('vid_start'),_0x50d6ca),_0xe3e2f2['writer']['setAttribute']('vid_end',_0x41d5e4['getAttribute']('vid_end'),_0x50d6ca);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1f384a=>{_0x1f384a['on']('element',(_0x59ddb3,_0xd093d3,_0x48d055)=>{if(!_0x48d055['consumable']['consume'](_0xd093d3['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xd093d3['modelRange']['isCollapsed'])return;const _0x3088f7=_0xd093d3['modelRange']['start']['nodeAfter'];_0x3088f7['hasAttribute']('vid_start')||_0x3088f7['hasAttribute']('vid')||(_0x48d055['writer']['setAttribute']('vid_start',_0xd093d3['viewItem']['getAttribute']('vid_start'),_0x3088f7),_0x48d055['writer']['setAttribute']('vid_end',_0xd093d3['viewItem']['getAttribute']('vid_end'),_0x3088f7));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4f654e=>_0x4f654e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4df813,[,_0xcab7f3])=>{['vid_start','vid_end','vid']['includes'](_0xcab7f3)&&(_0x4df813['return']=!0x0,_0x4df813['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x428c3e=>{_0x428c3e['on']('attribute:vid',(_0x115b71,_0x25192e,_0x8a0006)=>{if('\x20'!=_0x25192e['item']['data']||_0x25192e['item']['parent']['maxOffset']>0x1)return;if(!_0x8a0006['consumable']['consume'](_0x25192e['item'],_0x115b71['name']))return;const _0x4b04f7=_0x8a0006['writer'],_0x244234=_0x8a0006['mapper']['toViewRange'](_0x25192e['range']);_0x4b04f7['wrap'](_0x244234,_0x4b04f7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4d2fc1){const _0x31e73c=_0x4d2fc1['plugins']['get']('RevisionViewer');return(_0x29bbc7,_0xdc4817,_0x4c1852)=>{const _0x4ff587=_0xdc4817['markerName']['split'](':')[0x1],_0x269026=_0x31e73c['_getChangeFromId'](_0x4ff587);if(!_0x269026)return null;const _0x3b3eed='add'==_0x269026['type']?'split':'merge';if(!_0x4c1852['consumable']['test'](_0xdc4817['markerRange'],_0x29bbc7['name']))return;const _0x5df35f=_0xdc4817['markerRange']['getWalker'](),_0x25949f=_0xdc4817['markerRange']['start'],_0x1bcf7e=_0x4d2fc1['model']['schema'];let _0x205539=null,_0x1bc4b2=null,_0x16a27b=!0x1,_0x140be4=!0x1;for(const _0x3b0260 of _0x5df35f){const _0x59efcb=_0x3b0260['item'];_0x16a27b=_0x16a27b||_0x1bcf7e['isContent'](_0x59efcb);const _0xc8126b=_0x4c1852['mapper']['toViewElement'](_0x59efcb);if(_0xc8126b&&_0xc8126b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3b0260['type']&&(_0x1bcf7e['isBlock'](_0x59efcb)&&!_0x1bcf7e['isLimit'](_0x59efcb)&&(_0x59efcb['nextSibling']||_0x25949f['isAtEnd']?_0x205539&&_0x205539['parent']==_0x59efcb||(_0x205539=_0x59efcb,_0x235196(_0x3b0260['previousPosition']),_0x140be4=!0x0):_0x1bc4b2=_0x1bc4b2||_0x3b0260['previousPosition']));}function _0x235196(_0x2d8fcd){const _0x578b0c=_0x4c1852['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3b3eed}),_0x1b6fe2=_0x4c1852['mapper']['toViewPosition'](_0x2d8fcd);_0x269026['data']['isSuggestion']&&_0x4c1852['writer']['addClass']('ck-suggestion-marker-'+_0x3b3eed+'-new',_0x578b0c),_0x31e73c['activeChange']==_0x269026&&_0x4c1852['writer']['addClass']('ck-suggestion-marker--active',_0x578b0c),_0x4c1852['writer']['insert'](_0x1b6fe2,_0x578b0c),_0x4c1852['mapper']['bindElementToMarker'](_0x578b0c,_0xdc4817['markerName']);}_0x16a27b||_0x140be4||!_0x1bc4b2||_0x235196(_0x1bc4b2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3802c2,_0x4b85df,_0x5497ff)=>{const _0x370641=_0x5497ff['mapper']['markerNameToElements'](_0x4b85df['markerName']);if(_0x370641){for(const _0x44d703 of _0x370641)(_0x44d703['hasClass']('ck-suggestion-marker-split')||_0x44d703['hasClass']('ck-suggestion-marker-merge'))&&(_0x5497ff['mapper']['unbindElementFromMarkerName'](_0x44d703,_0x4b85df['markerName']),_0x5497ff['writer']['remove'](_0x44d703));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5e09c8,_0x454c68,_0x55080e)=>{const _0x10c969=_0x454c68['markerName']['split'](':')[0x1],_0x57ef14=this['_getChangeFromId'](_0x10c969);if(!_0x57ef14)return null;const _0x17940='add'==_0x57ef14['type']?'split':'merge';if(_0x55080e['consumable']['test'](_0x454c68['markerRange'],_0x5e09c8['name']))for(const _0x3120a0 of _0x454c68['markerRange']['getItems']()){if(!_0x3120a0['is']('element','softBreak'))continue;const _0x38e38a=_0x55080e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x17940}),_0x39758b=_0x55080e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3120a0));_0x57ef14['data']['isSuggestion']&&_0x55080e['writer']['addClass']('ck-suggestion-marker-'+_0x17940+'-new',_0x38e38a),this['activeChange']==_0x57ef14&&_0x55080e['writer']['addClass']('ck-suggestion-marker--active',_0x38e38a),_0x55080e['writer']['insert'](_0x39758b,_0x38e38a),_0x55080e['mapper']['bindElementToMarker'](_0x38e38a,_0x454c68['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2a01f8=>{for(const _0x43fca9 of this['editor']['model']['document']['getRootNames']()){const _0x5c6c02=this['editor']['model']['document']['getRoot'](_0x43fca9),_0x412181=this['editor']['editing']['view']['document']['getRoot'](_0x43fca9);if(_0x412181){const _0x58e475=_0x5c6c02['getAttribute']('revisionHistoryAttachChange');if(_0x2a01f8['removeAttribute']('data-change-id',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root-add',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root-remove',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root--active',_0x412181),_0x58e475){const _0x534935=this['_getChangeFromId'](_0x58e475);if(!_0x534935)return null;_0x2a01f8['setAttribute']('data-change-id',_0x58e475,_0x412181),_0x2a01f8['addClass']('ck-revision-history-root-'+_0x534935['type'],_0x412181),this['activeChange']==_0x534935&&_0x2a01f8['addClass']('ck-revision-history-root--active',_0x412181);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1eabc9=>'revision-comment:'+_0x1eabc9,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x202109=>'revision-suggestion:'+_0x202109,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3ee4e8=>({'name':'suggestion:'+_0x3ee4e8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2863ff=>{const _0x168a6c=_0x2863ff['markerName']['split'](':')[0x1];return'insertion'!=_0x168a6c&&'deletion'!=_0x168a6c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x168a6c]};}}),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',(_0x450cfc,_0x589d35,_0x4f78a1)=>{const _0x3d2d9b=_0x4f78a1['mapper']['markerNameToElements'](_0x589d35['markerName']);if(_0x3d2d9b){for(const _0x49a568 of _0x3d2d9b)_0x49a568['is']('uiElement')&&(_0x4f78a1['mapper']['unbindElementFromMarkerName'](_0x49a568,_0x589d35['markerName']),_0x4f78a1['writer']['remove'](_0x49a568));}},{'priority':'high'});}['_getChangeFromId'](_0x31efaa){return this['_changeIdToChange']['get'](_0x31efaa);}['_getViewForChange'](_0x57b2c3){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x57b2c3),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1f6fd0,_0x22ca9c,_0x8427fd,_0x115da7)=>{_0x115da7&&this['_balloon']['remove'](_0x115da7),_0x8427fd&&(this['_balloon']['add']({'view':_0x8427fd,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1c9cc5=this['editor']['editing'],_0x3deabb=this['_getChangeFromId'](_0x8427fd['changeId']);let _0x2033f2;if(_0x3deabb['data']['isOnRoot']){const _0x48d4f0=_0x1c9cc5['view']['getDomRoot'](_0x3deabb['rootName']);_0x2033f2=Array['from'](_0x48d4f0['getClientRects']());}else{const _0x1d6a41=this['editor']['model']['markers']['get']('revision:'+_0x8427fd['changeId']);_0x2033f2=Array['from'](_0x1c9cc5['mapper']['markerNameToElements'](_0x1d6a41['name']))['map'](_0x475256=>_0x1c9cc5['view']['domConverter']['mapViewToDom'](_0x475256))['map'](_0x25f39d=>Array['from'](_0x25f39d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2033f2[0x0];return _0x2033f2['find'](_0x3ffde5=>_0x3ffde5['top']-0x3<=this['_activeViewTarget']['y']&&_0x3ffde5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3ffde5['left']-0x3<=this['_activeViewTarget']['x']&&_0x3ffde5['right']+0x3>=this['_activeViewTarget']['x'])||_0x2033f2[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x207216,_0x79df0f,_0x42ba77,_0x97aed0)=>{this['activeView']=_0x42ba77?this['_getViewForChange'](_0x42ba77):null,this['editor']['model']['change'](()=>{const _0x1a4d96=this['editor']['editing'];_0x97aed0&&(_0x97aed0['data']['isOnRoot']?_0x1a4d96['view']['change'](_0x43e796=>{_0x43e796['removeClass']('ck-revision-history-root--active',_0x1a4d96['view']['document']['getRoot'](_0x97aed0['rootName']));}):_0x1a4d96['reconvertMarker']('revision:'+_0x97aed0['id'])),_0x42ba77&&(_0x42ba77['data']['isOnRoot']?_0x1a4d96['view']['change'](_0x14207d=>{_0x14207d['addClass']('ck-revision-history-root--active',_0x1a4d96['view']['document']['getRoot'](_0x42ba77['rootName']));}):_0x1a4d96['reconvertMarker']('revision:'+_0x42ba77['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x33422f,_0xbbbe8a)=>{if(this['activeChange'])return;const _0x2e5a55=this['_findChangeIdFromDomTarget'](_0xbbbe8a['target']),_0x1121b3=this['_changeIdToChange']['get'](_0x2e5a55);_0x1121b3?(this['_activeViewTarget']={'x':_0xbbbe8a['domEvent']['x'],'y':_0xbbbe8a['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1121b3)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x292aa9,_0x238f32)=>{const _0x4a4e5f=this['_findChangeIdFromDomTarget'](_0x238f32['target']),_0x2b9e2b=this['_changeIdToChange']['get'](_0x4a4e5f);_0x2b9e2b?(this['_activeViewTarget']={'x':_0x238f32['domEvent']['x'],'y':_0x238f32['domEvent']['y']},_0x2b9e2b===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2b9e2b):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x39a413){do{const _0x3e2121=_0x39a413['getAttribute']('data-change-id');if(_0x3e2121)return _0x3e2121;_0x39a413=_0x39a413['parent'];}while(_0x39a413);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3bce77=>{for(const _0xda11d of this['editor']['model']['markers'])_0x3bce77['removeMarker'](_0xda11d);});}}function et(_0x376f98,_0x30e2c1){return(_0x2a93eb,_0xf2d6c5,_0x5715f7)=>{if(!_0x5715f7['consumable']['test'](_0xf2d6c5['markerRange'],_0x2a93eb['name']))return;const _0x3cb27c=_0xf2d6c5['markerRange']['getWalker'](),_0x3294db=_0xf2d6c5['markerRange']['start'],_0x81d24f=_0x376f98['model']['schema'];let _0x3e1b4d=null,_0x6151e4=null,_0x4a1af4=!0x1,_0x326860=!0x1;for(const _0x40f928 of _0x3cb27c){const _0x266a12=_0x40f928['item'];_0x4a1af4=_0x4a1af4||_0x81d24f['isContent'](_0x266a12);const _0x15e363=_0x5715f7['mapper']['toViewElement'](_0x266a12);if(_0x15e363&&_0x15e363['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x40f928['type']&&(_0x81d24f['isBlock'](_0x266a12)&&!_0x81d24f['isLimit'](_0x266a12)&&(_0x266a12['nextSibling']||_0x3294db['isAtEnd']?_0x3e1b4d&&_0x3e1b4d['parent']==_0x266a12||(_0x3e1b4d=_0x266a12,_0x58d1a2(_0x40f928['previousPosition']),_0x326860=!0x0):_0x6151e4=_0x6151e4||_0x40f928['previousPosition']));}function _0x58d1a2(_0x31f09f){const _0x547f2c=_0x5715f7['mapper']['toViewPosition'](_0x31f09f),_0x3618cd=_0x5715f7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30e2c1});_0x5715f7['writer']['insert'](_0x547f2c,_0x3618cd),_0x5715f7['mapper']['bindElementToMarker'](_0x3618cd,_0xf2d6c5['markerName']);}_0x4a1af4||_0x326860||!_0x6151e4||_0x58d1a2(_0x6151e4);};}class bt extends _0x41a8f1{constructor(_0xc21c33){super(_0xc21c33);const _0x4ecbbb=_0xc21c33['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4ecbbb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4ecbbb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x58fccb=this['editor'],_0x270268=_0x58fccb['plugins']['get'](d),_0x355e75=_0x270268['isReady']?_0x270268['diff']['newRevisionId']:null;_0x58fccb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x355e75);}['refresh'](){const {isReady:_0x5781f9,isEnabled:_0x7a6802}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5781f9&&_0x7a6802;}}class yt extends _0x41a8f1{['_step'];constructor(_0x1f4ce2,{direction:_0x496eda}){super(_0x1f4ce2);const _0x18f9d9=_0x1f4ce2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x496eda?0x1:-0x1,this['listenTo'](_0x18f9d9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x18f9d9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x18f9d9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5adabe=this['editor'],_0x7d325f=_0x5adabe['plugins']['get'](d),{isNavigationMode:_0x3dfa3f,currentChangeNumber:_0x7ecd49}=_0x7d325f;let _0x47b28a;if(_0x7d325f['activeChange']=_0x3dfa3f?_0x7d325f['diff']['changes']['get'](_0x7ecd49+this['_step']):_0x7d325f['diff']['changes']['first'],_0x7d325f['activeChange']['data']['isOnRoot'])_0x47b28a=_0x5adabe['editing']['view']['getDomRoot'](_0x7d325f['activeChange']['rootName']);else{const _0x48d8b0=_0x5adabe['model']['markers']['get']('revision:'+_0x7d325f['activeChange']['id']);_0x47b28a=_0x3a1967(_0x5adabe['editing'],_0x48d8b0);}_0x5b4f0e({'target':_0x47b28a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c9754,currentChangeNumber:_0x541b40,numberOfChanges:_0x32ff00,isReady:_0x213461,isEnabled:_0x5b7810}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5b7810&&_0x213461&&_0x32ff00)&&(!_0x3c9754||(0x1===this['_step']?_0x541b40<_0x32ff00-0x1:_0x541b40>0x0));}}class _i extends _0x26e5c9{constructor(_0x4f5086){super(_0x4f5086);const _0x103cd4=this['bindTemplate'],_0x1023d9=new _0x51dfa6(_0x4f5086),_0x5edf05=new _0x51dfa6(_0x4f5086);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',(_0x37575f,_0x5e5014)=>_0x37575f&&_0x5e5014>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xab8cf3,_0x519697,_0x5885b1,_0x34b680)=>{if(!_0xab8cf3)return y(_0x4f5086,'Loading...');if(!_0x5885b1)return y(_0x4f5086,'No\x20changes');const _0x5ab87a=y(_0x4f5086,'NUMBER_OF_CHANGES',_0x5885b1);return _0x34b680?y(_0x4f5086,'X_OF_Y_CHANGES',[_0x519697+0x1,_0x5885b1]):_0x5ab87a;}),_0x1023d9['set']({'label':y(_0x4f5086,'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'}),_0x5edf05['set']({'label':y(_0x4f5086,'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'}),_0x1023d9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5edf05['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1023d9['on']('execute',()=>this['fire']('execute','backward')),_0x5edf05['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',_0x103cd4['if']('_isStatusLabelVisible','ck-hidden',_0x47bc2d=>!_0x47bc2d)]},'children':[{'text':_0x103cd4['to']('isNavigationMode',_0x25ec33=>_0x25ec33?y(_0x4f5086,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4f5086,'Total')+':\x20')}]},{'text':_0x103cd4['to']('_statusText')}]},new _0x5d5f75(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1023d9,_0x5edf05]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x26bd26{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x429a87=this['editor']['editing']['view'];_0x429a87['change'](_0x5617c1=>{for(const _0x1c687d of _0x429a87['document']['roots'])_0x5617c1['addClass'](ce,_0x1c687d);});}['hide'](){const _0x522262=this['editor']['editing']['view'];_0x522262['change'](_0x32c506=>{for(const _0xdb5f41 of _0x522262['document']['roots'])_0x32c506['removeClass'](ce,_0xdb5f41);});}}class R extends _0x26bd26{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x52d691=this['editor'],_0x375fbb=_0x52d691['plugins']['get'](d),_0x44f055=_0x52d691['plugins']['get'](de);_0x52d691['ui']['componentFactory']['add']('exitToEditing',_0xfc8df3=>{const _0xb5d241=new _0x51dfa6(_0xfc8df3);return _0xb5d241['set']({'label':y(_0xfc8df3,'Back\x20to\x20editing'),'icon':_0x3886ba['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xb5d241,'execute',()=>{_0x52d691['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xb5d241;}),_0x52d691['ui']['componentFactory']['add']('restoreRevision',_0x207f81=>{const _0x221a8f=new _0x51dfa6(_0x207f81);return _0x221a8f['set']({'label':y(_0x207f81,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x221a8f['bind']('isEnabled')['to'](_0x52d691['commands']['get']('restoreRevision')),this['listenTo'](_0x221a8f,'execute',()=>_0x52d691['execute']('restoreRevision')),_0x221a8f;}),_0x52d691['ui']['componentFactory']['add']('changesNavigation',_0x3859a9=>{const _0x31fc94=new _i(_0x3859a9),_0x549a9d=_0x52d691['commands']['get']('showPreviousChange'),_0x2697fa=_0x52d691['commands']['get']('showNextChange');return _0x31fc94['bind']('isBackwardNavigationEnabled')['to'](_0x549a9d,'isEnabled'),_0x31fc94['bind']('isForwardNavigationEnabled')['to'](_0x2697fa,'isEnabled'),_0x31fc94['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x375fbb),this['listenTo'](_0x31fc94,'execute',(_0x36b9d5,_0x1876a1)=>{_0x52d691['execute']('forward'===_0x1876a1?'showNextChange':'showPreviousChange');}),_0x31fc94;}),_0x44f055['show'](),_0x375fbb['on']('change:isReady',(_0x245536,_0x1a050b,_0x3e182d)=>{_0x3e182d?_0x44f055['hide']():_0x44f055['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x8722ac,_0x893813){super(_0x8722ac,_0x893813);const _0x6a02b8=this['bindTemplate'];this['set']({'label':y(_0x8722ac,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x8722ac,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x6a02b8['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 _0x5826af=this['fieldView']['element'];this['_tooltipString']=_0x5826af['scrollWidth']>_0x5826af['clientWidth']&&_0x5826af['value']||'';}}class ti extends _0x26e5c9{constructor(_0xc0b90c,_0x2d715b,_0x5d45e4){super(_0xc0b90c);const _0x567e22=new _0x5b75cd();_0x567e22['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 _0x2360d4=['ck','ck-revision-history-sidebar__revision-author'];_0x5d45e4&&_0x2360d4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3b8649=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xc0b90c,_0x5d45e4?'Revision\x20creator':'Revision\x20author')},'children':[_0x567e22,_0x2d715b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2360d4},'children':_0x3b8649});}}function ni(_0x496ede,_0x36d639){const _0x33c301=_0x496ede['bindTemplate'],_0x4bdadd=_0x496ede['locale'],_0x1b7319=_0x369452(_0x4bdadd);_0x1b7319['panelPosition']='sw';const _0x113e53=function(_0x1c8a64,_0x4a302a){const _0x3793d6=function(_0x61c617,_0x505d80){const _0x3e0dbb=_0x61c617['locale'],_0x208c8b={'Compare\x20against\x20selected':y(_0x3e0dbb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3e0dbb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3e0dbb,'Restore\x20this\x20revision')};return _0x505d80['map'](_0x405be0=>{const _0x4bd86f=_0x208c8b[_0x405be0['name']];return _0x4bd86f&&_0x4bd86f!==_0x405be0['name']&&(_0x405be0['name']=_0x4bd86f),_0x405be0;});}(_0x1c8a64,_0x4a302a),_0x1fc3f3=new _0xb29b20();for(const _0x273899 of _0x3793d6){const _0x217886={'type':'button','model':new to({'label':_0x273899['name'],'class':_0x273899['class'],'withText':!0x0,'role':'menuitem','_action':_0x273899['action']})};_0x217886['model']['bind']('isEnabled')['to'](_0x1c8a64,'isActionsDropdownOpen',_0x65fe9b=>'function'!=typeof _0x273899['isEnabled']||(!_0x65fe9b||_0x273899['isEnabled'](_0x1c8a64))),_0x1fc3f3['add'](_0x217886);}return _0x1fc3f3;}(_0x496ede,_0x36d639);return _0x496ede['bind']('isActionsDropdownOpen')['to'](_0x1b7319,'isOpen'),_0x1b7319['buttonView']['set']({'label':y(_0x4bdadd,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3886ba['threeVerticalDots']}),_0x1b7319['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x33c301['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x33c301['to'](_0x4d809b=>_0x4d809b['stopPropagation']())}}),_0x1b7319['on']('execute',_0x32da5d=>{_0x496ede['isReady']&&'function'==typeof _0x32da5d['source']['_action']&&_0x32da5d['source']['_action'](_0x496ede);}),_0x12f4ef(_0x1b7319,_0x113e53,{'role':'menu'}),_0x1b7319['listenTo'](_0x496ede,'change:isActionsDropdownOpen',(_0x40b05a,_0x5a6c57,_0x50d252)=>{if(_0x50d252)for(const _0x1dc7f2 of _0x1b7319['listView']['items']){const _0x154eae=_0x1dc7f2['children']['first'],_0x5d48fa=_0x36d639['find'](_0x4f87eb=>_0x4f87eb['action']===_0x154eae['_action'])['isVisible'];_0x1dc7f2['isVisible']=void 0x0===_0x5d48fa||_0x5d48fa(_0x496ede);}}),_0x1b7319;}class ai extends _0x545dd0(_0x26e5c9){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x42106a,_0x3742ea,_0x18adaf,_0x49005f){super(_0x42106a);const _0x381f70=this['bindTemplate'],_0x64ef2=function(_0x4966d6,_0x21263f){const _0x19f8ec=Array['from'](_0x21263f['authors'])['filter'](_0xad2d6b=>_0xad2d6b!=_0x21263f['creator']);return _0x21263f['creator']&&_0x19f8ec['unshift'](_0x21263f['creator']),_0x19f8ec['map'](_0x59e9d5=>new ti(_0x4966d6,_0x59e9d5,_0x59e9d5==_0x21263f['creator']));}(_0x42106a,_0x3742ea);this['id']=_0x3742ea['id'],this['_revision']=_0x3742ea,this['_requireRevisionName']=_0x49005f,this['bind']('name','createdAt')['to'](_0x3742ea),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3b4837=>{return _0x3bc986=_0x42106a['uiLanguage'],(_0xa4a9c4=_0x3b4837)['toLocaleDateString'](_0x3bc986,{'month':'long','day':'numeric'})+',\x20'+_0xa4a9c4['toLocaleTimeString'](_0x3bc986,{'hour':'numeric','minute':'numeric'});var _0x3bc986,_0xa4a9c4;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x42106a,_0x9e4e7d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2eb495=>_0x2eb495||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fb662,_0x97d0d0)=>_0x1fb662&&_0x97d0d0),this['revisionActionsView']=_0x18adaf&&_0x18adaf['length']?ni(this,_0x18adaf):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x381f70['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x381f70['if']('isEnabled','ck-disabled',_0x3b9f98=>!_0x3b9f98),_0x381f70['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x381f70['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x381f70['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':_0x381f70['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':_0x64ef2}]},this['revisionActionsView']],'on':{'click':_0x381f70['to'](_0x46a25b=>{_0x46a25b['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x12af63=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x12af63,'change',()=>{this['_requireRevisionName']&&!_0x12af63['value']||this['fire']('setName',{'id':this['id'],'name':_0x12af63['value']}),_0x12af63['value']||(_0x12af63['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(_0x32d626,_0x562d82){const _0x10201f=_0x154ff2['fromJSDate'](_0x32d626)['setLocale'](_0x562d82),_0x203934=_0x154ff2['local'](),_0x526b22=_0x203934['minus']({'days':0x1})['startOf']('day');let _0x42d002,_0x47ec1c;return _0x10201f['hasSame'](_0x203934,'day')?(_0x42d002=_0x10201f['startOf']('day')['toJSDate'](),_0x47ec1c=_0x10201f['toRelativeCalendar']()):_0x10201f['hasSame'](_0x526b22,'day')?(_0x42d002=_0x526b22['toJSDate'](),_0x47ec1c=_0x10201f['toRelativeCalendar']()):_0x10201f['hasSame'](_0x203934,'week')?(_0x42d002=_0x10201f['startOf']('week')['toJSDate'](),_0x47ec1c=_0x10201f['weekdayLong']||''):_0x10201f['hasSame'](_0x203934,'year')?(_0x42d002=_0x10201f['startOf']('month')['toJSDate'](),_0x47ec1c=_0x10201f['monthLong']||''):(_0x42d002=_0x10201f['startOf']('year')['toJSDate'](),_0x47ec1c=String(_0x10201f['year'])),{'startDate':_0x42d002,'localizedPeriodName':_0x47ec1c};}class mi extends _0x26e5c9{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1c3dae,_0x3bc556,_0x52aa26,_0x5377ab){super(_0x1c3dae);const _0x4f5586=di(_0x3bc556,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3bc556,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52aa26,this['_requireRevisionName']=_0x5377ab,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':_0x4f5586}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x239a6f){const _0x23df5b=new ai(this['locale'],_0x239a6f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x23df5b);}['removeRevision'](_0x4f84a8){const _0x4363f7=this['revisionViews']['find'](_0x24fd69=>_0x24fd69['id']===_0x4f84a8['id']);this['revisionViews']['remove'](_0x4363f7);}}class as extends _0x26e5c9{constructor(_0x1878b4){super(_0x1878b4);const _0x5afb37=new _0x5b75cd();_0x5afb37['content']=_0x3886ba['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5afb37,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1878b4,'Revision\x20history')]}]});}}class ci extends _0x26e5c9{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x26c363,_0x2d3337,_0x1560ee,_0x2ba282){super(_0x26c363);const _0x440f69=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2d3337,this['_revisionActions']=_0x1560ee,this['_requireRevisionName']=_0x2ba282,this['on']('select',(_0xe1879b,_0x17c6a1)=>{this['fire']('revisionSelected',_0x17c6a1);}),this['on']('setName',(_0x2573a5,_0x4cf92b)=>{this['fire']('revisionSetName',_0x4cf92b);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x26c363),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x440f69['if']('isEnabled','ck-disabled',_0xc20b11=>!_0xc20b11)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x20f466 of this['_revisions'])this['_addRevision'](_0x20f466);this['_revisions']['on']('add',(_0x523d20,_0x1c6324)=>{this['_addRevision'](_0x1c6324);}),this['_revisions']['on']('remove',(_0x1d16e8,_0x4cfafa)=>{this['_removeRevision'](_0x4cfafa);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5c87f3=>_0x5c87f3['revisionViews']['map'](_0x14f11b=>_0x14f11b))['flat']();}['selectRevision'](_0x219827){for(const _0x4f4270 of this['revisionViews'])_0x219827&&_0x219827['id']===_0x4f4270['id']?_0x4f4270['select']():_0x4f4270['deselect']();}['highlightRevisions'](_0xbb3f52){for(const _0x1e9758 of this['revisionViews'])_0xbb3f52['some'](({id:_0x46f557})=>_0x46f557===_0x1e9758['id'])?_0x1e9758['highlight']():_0x1e9758['unhighlight']();}['_addRevision'](_0x2e33f6){const _0x1d3593=di(_0x2e33f6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2e2c42=this['timePeriodViews']['get'](0x0);_0x2e2c42&&_0x2e2c42['startDate']['getTime']()===_0x1d3593['getTime']()||(_0x2e2c42=new mi(this['locale'],_0x1d3593,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2e2c42)),_0x2e2c42['addRevision'](_0x2e33f6);}['_removeRevision'](_0x5c70d5){const _0x4fde8e=di(_0x5c70d5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4fde8e)['removeRevision'](_0x5c70d5);}['_getTimePeriodViewByStartDate'](_0x1699dc){return this['timePeriodViews']['find'](_0x5ac141=>_0x5ac141['startDate']['getTime']()===_0x1699dc['getTime']());}}class w extends _0x26bd26{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1adbad){super(_0x1adbad),this['_revisionViewer']=_0x1adbad['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x455b43=this['_revisionsRepository']['_revisions'],_0x2a5a14=this['_createRevisionActions'](),_0x51ebd8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x455b43,_0x2a5a14,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',(_0x34eb10,_0x4a9655)=>{_0x4a9655['revisionViews']['on']('add',(_0x4c3793,_0x481fdc)=>{_0x481fdc['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)),_0x51ebd8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x14f57e=this['_revisionsRepository']['getRevision'](0x0);if(_0x14f57e){const _0x4f5129=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x14f57e['id']);this['_revisionViewer']['compare'](_0x14f57e,_0x4f5129);}}['_handleRevisionSelected'](_0x2cac8d,_0x4edbe8){const _0x4e5487=this['_revisionsRepository']['getRevision'](_0x4edbe8['id']),_0x512e94=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e5487['id']);this['_revisionViewer']['compare'](_0x4e5487,_0x512e94);}['_handleRevisionSetName'](_0x34b2e1,_0x4c845f){this['_revisionsRepository']['getRevision'](_0x4c845f['id'])['setName'](_0x4c845f['name']);}['_handleDiffChange'](_0xda8a38,_0x14cfa9,_0x4bb5c3){const _0x23b13f=this['_revisionsRepository']['getRevisionsInDiff'](_0x4bb5c3);_0x23b13f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x23b13f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x23b13f[0x0]));}['_createRevisionActions'](){const _0x46e3f5=this['editor'],_0x4a3a06=w['availableRevisionActions'],_0x584436=_0x46e3f5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x584436['length'])return _0x584436['map'](_0x33f244=>{const _0x57b615='string'==typeof _0x33f244?Object['assign']({},_0x4a3a06[_0x33f244]):_0x33f244;return _0x57b615['action']=_0x57b615['action']['bind'](this,_0x46e3f5),_0x57b615['isVisible']&&(_0x57b615['isVisible']=_0x57b615['isVisible']['bind'](this,_0x46e3f5)),_0x57b615;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3f4750},_0x39686d)=>{const _0x5b3f90=_0x3f4750['get'](d),_0x12a389=_0x5b3f90['repository'];let _0x415bbc=_0x5b3f90['diff']['newRevisionId'],_0x38e119=_0x39686d['id'];_0x12a389['getIndex'](_0x415bbc)>_0x12a389['getIndex'](_0x38e119)&&([_0x415bbc,_0x38e119]=[_0x38e119,_0x415bbc]),_0x5b3f90['compare'](_0x415bbc,_0x38e119);},'isVisible':({plugins:_0x536d00},_0x2ff35f)=>{const _0x403b14=_0x536d00['get'](d);return!(_0x403b14['repository']['getRevisionsInDiff'](_0x403b14['diff'])['length']>0x2)&&!_0x2ff35f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x206850,{id:_0x2ace65})=>{_0x206850['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ace65);},'isVisible':({plugins:_0x3cf7e1},_0x2e98cc)=>!!_0x3cf7e1['get'](d)['repository']['getLaterVisibleRevision'](_0x2e98cc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2e4946},{id:_0xc6f663,revisionNameView:_0x42b4d7})=>{const _0x4a6dd3=_0x2e4946['get'](d),_0x2ff0cc=_0x4a6dd3['repository']['getEarlierVisibleRevision'](_0xc6f663);_0x4a6dd3['compare'](_0xc6f663,_0x2ff0cc),_0x42b4d7['focus'](),_0x42b4d7['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3a3874,_0x14569d){super(_0x3a3874),this['_view']=_0x14569d,this['_toolbarConfig']=ct(_0x3a3874['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x407eeb){const _0x1ef2d9=this['editor'],_0x363256=this['view'],_0x3bc691=_0x1ef2d9['editing']['view'],_0x233e83=_0x363256['editable'],_0x360f70=_0x3bc691['document']['getRoot']();_0x233e83['name']=_0x360f70['rootName'],_0x363256['render']();const _0x545e62=_0x233e83['element'];this['setEditableElement'](_0x233e83['name'],_0x545e62),_0x363256['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3bc691['attachDomRoot'](_0x545e62),this['_elementReplacer']['replace'](_0x407eeb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4b43d6=this['view'],_0x10803f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x10803f['detachDomRoot'](_0x4b43d6['editable']['name']),_0x4b43d6['destroy']();}['_initToolbar'](){const _0x59c861=this['view'];_0x59c861['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x59c861['stickyPanel']['limiterElement']=_0x59c861['element'],_0x59c861['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33af6b})=>_0x33af6b),_0x59c861['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x59c861['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2913ee,_0x1cba13,_0x3c8c61={}){super(_0x2913ee),this['stickyPanel']=new lt(_0x2913ee),this['toolbar']=new pt(_0x2913ee,{'shouldGroupWhenFull':_0x3c8c61['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2913ee,_0x1cba13);}['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(_0xa0c2f5,_0x4e8620){super(_0x4e8620),this['sourceElement']=_0xa0c2f5,this['model']['document']['createRoot']();const _0x14b639=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x14b639);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x554f45,_0x220666){const _0x9784a1=new this(_0x554f45,_0x220666);return await _0x9784a1['initPlugins'](),await _0x9784a1['ui']['init'](_0x554f45),await _0x9784a1['data']['init'](_0x9784a1['config']['get']('initialData')||''),_0x9784a1['fire']('ready'),_0x9784a1;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x26bd26{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3dbc4a){super(_0x3dbc4a),this['result']='end';}}class H extends _0x26bd26{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x19c720){if(super(_0x19c720),!this['editor']['config']['get']('revisionHistory'))throw new _0x5c8d32('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xecf9ce=>this['_showRevisionViewer']({..._0xecf9ce,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3d57a1=>this['_closeRevisionViewer'](_0x3d57a1)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x486f62=>this['_restoreRevision'](_0x486f62)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5d18aa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d18aa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x421391){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x421391);}['getRevision'](_0x27ffa0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x27ffa0);}['getRevisions'](_0x57e49a={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x57e49a);}['_getRevisionViewerEditorConfig'](){const _0x59c815=this['editor'],_0x767bb0=_0x5ac833(_0x59c815,g),_0x45784b=_0x59c815['plugins']['get']('RevisionTracker'),_0x2c0590=_0x59c815['plugins']['get']('Users')['users'];return _0x767bb0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x767bb0['lazyRoots'],(_0x767bb0['plugins']['push'](k,d,R,class extends _0x26bd26{static get['requires'](){return[d,'Users'];}['init'](){const _0x9b4a2b=this['editor']['plugins']['get']('Users');for(const _0x38ec6c of _0x2c0590)_0x38ec6c['isAnonymous']||_0x9b4a2b['getUser'](_0x38ec6c['id'])||_0x9b4a2b['addUser'](_0x38ec6c);const _0x2ea6c2=_0x45784b['repository']['getRevisions']();let _0x4e633f=null;const _0x262e9b=this['editor']['plugins']['get']('RevisionViewer');_0x262e9b['adapter']=_0x45784b['adapter'],_0x262e9b['bind']('isEnabled')['to'](_0x45784b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x59c815,'isReadOnly',_0x471974=>!_0x471974);for(const _0x342936 of _0x2ea6c2){const _0x280af4=null===_0x342936['creator'];if(_0x280af4&&_0x342936['toVersion']===_0x342936['fromVersion'])continue;const _0x211304=_0x342936['toJSON']();_0x262e9b['addRevisionData'](_0x211304,(_0x31a891,_0x25a68a,_0x4ff6f2)=>{if(_0x280af4){if(_0x4e633f)_0x4e633f['_update'](_0x31a891,_0x25a68a);else{if(!_0x25a68a){const _0x12d9c2=_0x4ff6f2['toJSON']();_0x12d9c2['id']=_0x535ce0(),_0x45784b['saveRevision'](_0x12d9c2,_0x4ff6f2['toVersion'])['then'](_0x5056d5=>{_0x4e633f=_0x5056d5;});}}}else _0x342936['_update'](_0x31a891,_0x25a68a);});}}},w),_0x767bb0);}['_enhanceShowRevisionViewerCallback'](){const _0x1e4d35=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2ecf7e=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x436a9d=this['editor']['plugins']['get']('Autosave');await _0x436a9d['save']();}else await _0x2ecf7e['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x27b4f6=this['_getRevisionViewerEditorConfig']();return _0x1e4d35(_0x27b4f6)['then'](_0xc91af1=>{return(this['_viewerEditor']=_0xc91af1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xc91af1;})['catch'](_0x3cb1f6=>(console['error'](_0x3cb1f6),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x588d59=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'](),_0x588d59(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5a2d16=this['editor']['plugins']['get']('Annotations');_0x5a2d16['refreshVisibility'](),_0x5a2d16['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54684e){const _0x49926b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x156d42=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xe276a7=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xe276a7,_0x54684e)['then'](_0x198615=>(_0x156d42['style']['display']='block',_0x49926b['style']['display']='none',_0x198615));}['_closeRevisionViewer'](_0x55d840){const _0x394d40=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x394d40['style']['display']='',_0x55d840['destroy']();}async['_restoreRevision'](_0x4c4620){const _0x1dbb64=this['editor'],_0x3fa54c=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3e35de=_0x1dbb64['plugins']['get']('RevisionTracker'),_0x249ceb=_0x3fa54c['repository']['getRevision'](_0x4c4620);let _0x484c55,_0x511411,_0x321c04;try{_0x484c55=await _0x3fa54c['getRevisionData'](_0x249ceb),_0x511411=await _0x3fa54c['getRevisionRootsAttributes'](_0x249ceb);}catch(_0x2299a7){return void console['error'](_0x2299a7);}_0x1dbb64['model']['change'](_0x2440ef=>{for(const _0x560c08 of Array['from'](_0x1dbb64['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2440ef['removeMarker'](_0x560c08);}),_0x3fa54c['isReady']=!0x1,_0x1dbb64['model']['enqueueChange'](_0x8fa0de=>{_0x8fa0de['setSelection'](null),_0x8fa0de['removeSelectionAttribute'](_0x1dbb64['model']['document']['selection']['getAttributeKeys']());const _0x35b3fa=Object['keys'](_0x484c55);for(const _0x532c03 of _0x1dbb64['model']['document']['roots'])'$graveyard'!=_0x532c03['rootName']&&_0x532c03['isAttached']()&&!_0x35b3fa['includes'](_0x532c03['rootName'])&&_0x8fa0de['detachRoot'](_0x532c03);for(const _0x313224 of _0x35b3fa){let _0x340357=_0x1dbb64['model']['document']['getRoot'](_0x313224);_0x340357&&_0x340357['isAttached']()||(_0x340357=_0x8fa0de['addRoot'](_0x313224));const _0x543665=_0x511411[_0x313224],_0x29991b=Object['keys'](_0x543665),_0x59365f=_0x484c55[_0x313224];for(const _0x2a8578 of _0x340357['getAttributeKeys']())_0x29991b['includes'](_0x2a8578)||_0x8fa0de['removeAttribute'](_0x2a8578,_0x340357);for(const _0x59c006 of _0x29991b)_0x8fa0de['setAttribute'](_0x59c006,_0x511411[_0x313224][_0x59c006],_0x340357);_0x8fa0de['remove'](_0x8fa0de['createRangeIn'](_0x340357)),_0x8fa0de['insert'](_0x1dbb64['data']['parse'](_0x59365f,_0x340357),_0x340357,0x0);}});const _0x30de8d=y(_0x1dbb64['locale'],'Restored');if(_0x249ceb['name'])_0x321c04=-0x1==_0x249ceb['name']['indexOf'](_0x30de8d)?_0x30de8d+':\x20'+_0x249ceb['name']:_0x249ceb['name'];else _0x321c04=_0x30de8d+':\x20'+(_0x249ceb['createdAt']['toLocaleDateString'](_0x1dbb64['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x249ceb['createdAt']['toLocaleTimeString'](_0x1dbb64['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3e35de['saveRevision']({'name':_0x321c04}),_0x3fa54c['isReady']=!0x0,_0x1dbb64['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};
|