@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240604.0 → 0.0.0-nightly-20240604.1
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/README.md +6 -0
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -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 +2 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +2 -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 +2 -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 +2 -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,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x3fe8e5,Context as _0x24ec17,PendingActions as _0x38104f,icons as _0x132edd,Command as _0x413299,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3d769b,uid as _0x5e2995,Collection as _0xacebb8,logWarning as _0x3ed147,FocusTracker as _0x2fb5b8,KeystrokeHandler as _0x112d4f,scrollViewportToShowTarget as _0x43befe,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x1c86ce}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x45929e,getMarkerDomElement as _0x343537,ConfirmMixin as _0x3a856d,sanitizeEditorConfig as _0x231c1c}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2d1c58,ViewText as _0x208f82,ViewElement as _0x4fe726,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x29c9c9,ViewAttributeElement as _0x23a7e7,ViewEmptyElement as _0x3260e7,ViewRawElement as _0x27c3e6,ViewUIElement as _0x587e8f,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1f12f9,set as _0x405523,unset as _0xf8a896,isEqual as _0x53d3b1}from'lodash-es';import{View as _0x381698,submitHandler as _0x47da7,LabeledFieldView as mt,createLabeledInputText as _0x1132ee,injectCssTransitionDisabler as ts,createDropdown as _0x1adbd1,ListView as te,ListItemView as _0x1e3ff9,ButtonView as _0x2bbd3d,MenuBarMenuView as _0x83ee77,MenuBarMenuListView as _0x48fb42,MenuBarMenuListItemView as _0x5b3807,MenuBarMenuListItemButtonView as _0x3f15e2,ContextualBalloon as _0x25cc9c,ToolbarSeparatorView as _0x49774d,IconView as _0x26af09,addListToDropdown as _0x406ec9,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 _0x4095c7}from'luxon';class a extends _0x3d769b(){['setName'](_0x5e6fdb){this['_update']({'name':_0x5e6fdb});}['setAttribute'](_0x3b9c98,_0x3989c3){const _0x2dd97a=_0x1f12f9(this['attributes']);_0x405523(_0x2dd97a,_0x3b9c98,_0x3989c3),this['_update']({'attributes':_0x2dd97a});}['removeAttribute'](_0x4d2fd4){const _0x3d0234=_0x1f12f9(this['attributes']);_0xf8a896(_0x3d0234,_0x4d2fd4),this['_update']({'attributes':_0x3d0234});}['_update'](_0x5d7fdb,_0x490d45=!0x1){let _0x4b3252=!0x1;const _0x5e7a1a={'id':this['id']},_0x4ba126=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x57932c of _0x4ba126){const _0x31253f=_0x5d7fdb[_0x57932c];void 0x0!==_0x31253f&&_0x31253f!==this[_0x57932c]&&(this[_0x57932c]=_0x31253f,_0x5e7a1a[_0x57932c]=_0x31253f,_0x4b3252=!0x0);}_0x4b3252&&(_0x5e7a1a['authors']&&(_0x5e7a1a['authorsIds']=_0x5e7a1a['authors']['map'](_0x1ffe9a=>_0x1ffe9a['id']),delete _0x5e7a1a['authors']),this['fire']('_update',_0x5e7a1a,_0x490d45));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2f293c=>_0x2f293c['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x12f28b){super(),this['id']=_0x12f28b['id']||_0x5e2995(),this['creator']=_0x12f28b['creator']||null,this['authors']=_0x12f28b['authors']||[],this['diffData']=_0x12f28b['diffData']||null,this['toVersion']=_0x12f28b['toVersion']||0x0,this['fromVersion']=_0x12f28b['fromVersion']||0x0,this['set']('name',_0x12f28b['name']||''),this['set']('createdAt',_0x12f28b['createdAt']||new Date()),this['set']('attributes',_0x12f28b['attributes']||{});}}class A extends _0x3fe8e5{static get['requires'](){return[_0x45929e];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x5c827a){function _0x30d0d9(_0x27e00a,_0x4d9403,_0x47d17e){const _0x3f859e={};_0x3f859e[_0x4faadd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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 _0x59a202=new Uint8Array(0x10);for(let _0x170587=0xf;_0x170587>=0x0;--_0x170587)_0x59a202[_0x170587]=_0x47d17e%0x100,_0x47d17e=parseInt(_0x47d17e/0x100);let _0x3e8851=null,_0x1270e6=0x10;const _0x5a86b2=new Uint8Array(_0x4d9403),_0x158f4b=[],_0x153c4a=[];_0x244ffc();for(let _0x30ce6e=0x0;_0x30ce6e<_0x27e00a[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ce6e++)0x10===_0x1270e6&&(_0x3e8851=_0x120633(_0x59a202),_0x1270e6=0x0,_0x4c47ce(_0x59a202)),_0x27e00a[_0x30ce6e]^=_0x3e8851[_0x1270e6++];return _0x27e00a;function _0x2f51da(_0x2e27b4){const _0x33cd94=[];for(let _0x4d7d91=0x0;_0x4d7d91<_0x2e27b4[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d7d91+=0x4)_0x33cd94[_0x4faadd([0x70,0x75,0x73,0x68])](_0x2e27b4[_0x4d7d91]<<0x18|_0x2e27b4[_0x4d7d91+0x1]<<0x10|_0x2e27b4[_0x4d7d91+0x2]<<0x8|_0x2e27b4[_0x4d7d91+0x3]);return _0x33cd94;}function _0x4c47ce(_0x562ab9){for(let _0x5ce7d1=0xf;_0x5ce7d1>=0x0;_0x5ce7d1--){if(0xff!==_0x562ab9[_0x5ce7d1]){_0x562ab9[_0x5ce7d1]++;break;}_0x562ab9[_0x5ce7d1]=0x0;}}function _0x120633(_0x4fea17){const _0x514575=_0x158f4b[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x331938=[0x0,0x0,0x0,0x0];let t=_0x2f51da(_0x4fea17);for(let _0x18d1b5=0x0;_0x18d1b5<0x4;_0x18d1b5++)t[_0x18d1b5]^=_0x158f4b[0x0][_0x18d1b5];for(let _0x132aec=0x1;_0x132aec<_0x514575;_0x132aec++){for(let _0x33d384=0x0;_0x33d384<0x4;_0x33d384++)_0x331938[_0x33d384]=_0x3f859e[_0x4faadd([0x54,0x31])][t[_0x33d384]>>0x18&0xff]^_0x3f859e[_0x4faadd([0x54,0x32])][t[(_0x33d384+0x1)%0x4]>>0x10&0xff]^_0x3f859e[_0x4faadd([0x54,0x33])][t[(_0x33d384+0x2)%0x4]>>0x8&0xff]^_0x3f859e[_0x4faadd([0x54,0x34])][0xff&t[(_0x33d384+0x3)%0x4]]^_0x158f4b[_0x132aec][_0x33d384];t=_0x331938[_0x4faadd([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5af989=new Uint8Array(0x10);let _0x4e1aaa;for(let _0x4750ba=0x0;_0x4750ba<0x4;_0x4750ba++)_0x4e1aaa=_0x158f4b[_0x514575][_0x4750ba],_0x5af989[0x4*_0x4750ba]=0xff&(_0x3f859e[_0x4faadd([0x53])][t[_0x4750ba]>>0x18&0xff]^_0x4e1aaa>>0x18),_0x5af989[0x4*_0x4750ba+0x1]=0xff&(_0x3f859e[_0x4faadd([0x53])][t[(_0x4750ba+0x1)%0x4]>>0x10&0xff]^_0x4e1aaa>>0x10),_0x5af989[0x4*_0x4750ba+0x2]=0xff&(_0x3f859e[_0x4faadd([0x53])][t[(_0x4750ba+0x2)%0x4]>>0x8&0xff]^_0x4e1aaa>>0x8),_0x5af989[0x4*_0x4750ba+0x3]=0xff&(_0x3f859e[_0x4faadd([0x53])][0xff&t[(_0x4750ba+0x3)%0x4]]^_0x4e1aaa);return _0x5af989;}function _0x244ffc(){const _0x2ee21d=_0x3f859e[_0x4faadd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5a86b2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3c1785=0x0;_0x3c1785<=_0x2ee21d;_0x3c1785++)_0x158f4b[_0x4faadd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x153c4a[_0x4faadd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2f8ff4=0x4*(_0x2ee21d+0x1),_0x428c20=_0x5a86b2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3ca24d=_0x2f51da(_0x5a86b2);let _0x3918df;for(let _0xdf93fb=0x0;_0xdf93fb<_0x428c20;_0xdf93fb++)_0x3918df=_0xdf93fb>>0x2,_0x158f4b[_0x3918df][_0xdf93fb%0x4]=_0x3ca24d[_0xdf93fb],_0x153c4a[_0x2ee21d-_0x3918df][_0xdf93fb%0x4]=_0x3ca24d[_0xdf93fb];let _0x5461f6,_0x316d31=0x0,t=_0x428c20;for(;t<_0x2f8ff4;){_0x5461f6=_0x3ca24d[_0x428c20-0x1],_0x3ca24d[0x0]^=_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x10&0xff]<<0x18^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x8&0xff]<<0x10^_0x3f859e[_0x4faadd([0x53])][0xff&_0x5461f6]<<0x8^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x18&0xff]^_0x3f859e[_0x4faadd([0x72,0x63,0x6f,0x6e])][_0x316d31]<<0x18,_0x316d31+=0x1;for(let _0x28ffa1=0x1;_0x28ffa1<_0x428c20/0x2;_0x28ffa1++)_0x3ca24d[_0x28ffa1]^=_0x3ca24d[_0x28ffa1-0x1];_0x5461f6=_0x3ca24d[_0x428c20/0x2-0x1],_0x3ca24d[_0x428c20/0x2]^=_0x3f859e[_0x4faadd([0x53])][0xff&_0x5461f6]^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x8&0xff]<<0x8^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x10&0xff]<<0x10^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x18&0xff]<<0x18;for(let _0x3428d7=_0x428c20/0x2+0x1;_0x3428d7<_0x428c20;_0x3428d7++)_0x3ca24d[_0x3428d7]^=_0x3ca24d[_0x3428d7-0x1];let _0x475fcf,_0x4d39bd,_0x349f98=0x0;for(;_0x349f98<_0x428c20&&t<_0x2f8ff4;)_0x475fcf=t>>0x2,_0x4d39bd=t%0x4,_0x158f4b[_0x475fcf][_0x4d39bd]=_0x3ca24d[_0x349f98],_0x153c4a[_0x2ee21d-_0x475fcf][_0x4d39bd]=_0x3ca24d[_0x349f98++],t++;}for(let _0x151368=0x1;_0x151368<_0x2ee21d;_0x151368++)for(let _0x1f452a=0x0;_0x1f452a<0x4;_0x1f452a++)_0x5461f6=_0x153c4a[_0x151368][_0x1f452a],_0x153c4a[_0x151368][_0x1f452a]=_0x3f859e[_0x4faadd([0x55,0x31])][_0x5461f6>>0x18&0xff]^_0x3f859e[_0x4faadd([0x55,0x32])][_0x5461f6>>0x10&0xff]^_0x3f859e[_0x4faadd([0x55,0x33])][_0x5461f6>>0x8&0xff]^_0x3f859e[_0x4faadd([0x55,0x34])][0xff&_0x5461f6];}}function _0x4faadd(_0xcbba12){return _0xcbba12['map'](_0x524939=>String['fromCharCode'](_0x524939))['join']('');}(_0x144aab=>{function _0x53cdcd(){const _0x27e6f5=[{[_0x4faadd([0x69,0x64])]:0x1,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4faadd([0x69,0x64])]:0x2,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([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]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faadd([0x69,0x64])]:0x3,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faadd([0x69,0x64])]:0x4,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([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]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faadd([0x69,0x64])]:0x5,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([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]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x6,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x7,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x8,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([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]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x9,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4faadd([0x69,0x64])]:0xa,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([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]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([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]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([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]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0xb,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faadd([0x69,0x64])]:0xc,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4faadd([0x69,0x64])]:0xd,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0xe,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4faadd([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([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])},{[_0x4faadd([0x69,0x64])]:0xf,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faadd([0x69,0x64])]:0x10,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}}];return _0x46fb3a(_0x27e6f5),_0x27e6f5;function _0x5335ec(_0x37067e){return 0x1<<_0x37067e-0x1;}function _0x46fb3a(_0x5d68b9){_0x5d68b9[_0x4faadd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x167317=>{_0x167317[_0x4faadd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5335ec(_0x167317[_0x4faadd([0x69,0x64])]),_0x2005f7(_0x167317)&&_0x167317[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x46fb3a(_0x167317[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2005f7(_0x452c6f){return _0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x452c6f;}const _0x35e81a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x28e3e5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3ea2e9(_0x524038){const _0x4233a9=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4cedb5(_0x524038,new Uint8Array([..._0x35e81a,..._0x4233a9,..._0x28e3e5]));}function _0x4cedb5(_0x473fce,_0x585d09){const _0x577017=_0x22d0ed(_0x473fce),_0x43e9b7=Array[_0x4faadd([0x66,0x72,0x6f,0x6d])](_0xe7ba23(_0x577017)),_0xe6520b=_0x43e9b7[_0x4faadd([0x70,0x6f,0x70])](),_0x54c3f8=_0x43e9b7[_0x4faadd([0x70,0x6f,0x70])]();return _0x4471ec(_0x30d0d9(_0x43e9b7,_0x585d09,_0x54c3f8+0x100*_0xe6520b));}function _0x22d0ed(_0x3233bc){const _0x57c485=atob(_0x3233bc),[_0x2fab79,_0x28c5b0]=_0x57c485[_0x4faadd([0x73,0x70,0x6c,0x69,0x74])](_0x4faadd([0x2d]));try{if(atob(_0x28c5b0))return atob(_0x2fab79);}catch(_0x561a28){}return _0x57c485;}function _0x1fd173(_0x1949d0){try{const _0x4f6f2c=_0x3ea2e9(_0x1949d0),_0x559347=JSON[_0x4faadd([0x70,0x61,0x72,0x73,0x65])](_0x4f6f2c),_0x3f85c1=parseInt(_0x559347[_0x4faadd([0x31])]),_0x2f6ab2=_0x559347[_0x4faadd([0x32])]||'',_0x3931a0=parseInt(_0x559347[_0x4faadd([0x33])]),_0x1a1a3c=parseInt(_0x559347[_0x4faadd([0x34])])||0x0,_0xe0689=parseInt(_0x559347[_0x4faadd([0x35])])||0x0;return{[_0x4faadd([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2f6ab2,[_0x4faadd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1a1a3c,[_0x4faadd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3f85c1,[_0x4faadd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3931a0,[_0x4faadd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe0689};}catch(_0x58d0a0){return null;}}const _0x9d6132=_0x53cdcd(),_0x181e52={[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1e5b95,[_0x4faadd([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])]:_0x58a115,[_0x4faadd([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])]:_0x4f5432},_0x150a25=_0x144aab[_0x4faadd([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x139b82=_0x4faadd([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x144aab?_0x144aab['context']:_0x144aab['editor'],_0x54f3d0=_0x4faadd([0x34,0x30,0x34,0x38,0x31,0x32,0x30,0x38]),_0x3eac7c=_0x4faadd([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]),_0x58cd7f=_0x139b82['config']['get'](_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56748b=_0x9d6132[_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2005f7)[_0x4faadd([0x66,0x69,0x6e,0x64])](_0x3d5323=>_0x3d5323[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x150a25);function _0x5e5102(_0x36cbd1,_0x58b815){_0x181e52[_0x58b815[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x36cbd1,_0x58b815),_0x58b815[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x58b815[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d04e9=>_0x5e87b4(_0x139b82,_0x1d04e9[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4faadd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57e937=>_0x5e5102(_0x36cbd1,_0x57e937));}function _0x1e5b95(_0x34edad,_0x4a61d9){_0x1884ed(_0x557e30(_0x34edad,_0x4a61d9),_0x4a61d9);}function _0x58a115(_0x56df9e,_0x5b070b){function _0x51738f(_0x2f6f41,_0x2e0c7c){try{if(_0x5e87b4(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2f6f41){const _0x3951ff=_0x5e64d8(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4faadd([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3951ff)/0x2>_0x2f6f41[_0x4faadd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x402f7c(_0x2e0c7c[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x557e30(_0x2f6f41,_0x2e0c7c);}catch(_0x2b9748){return _0x402f7c(_0x2e0c7c[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1884ed(_0x51738f(_0x56df9e,_0x5b070b),_0x5b070b);}function _0x4f5432(_0xe75f00,_0x34480e){const _0x3af2f9=_0x28e3e5[0x0]*_0x35e81a[0x1],_0x2e81d6=_0x28e3e5[0x0]*_0x35e81a[0x2],_0x29b66c=_0x28e3e5[0x2]*_0x35e81a[0x2];_0x5e87b4(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e64d8(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2493ca()]=_0x29b66c);function _0x339874(_0x2100e7,_0x2bdc7a){try{return _0x4c2bb9()?_0x402f7c(_0x2bdc7a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x56,0x61,0x6c,0x69,0x64])):_0x557e30(_0x2100e7,_0x2bdc7a);}catch(_0x520ae9){return _0x402f7c(_0x2bdc7a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b5876(_0x4eaa78,_0x37beda){const _0x5e57a0=0x7;if(_0x4eaa78==_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x40f215();else{if(_0x4eaa78==_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])){const _0x2ef65f=_0x5d7b61();_0x2ef65f&&_0x175cc2(_0x2ef65f,_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3c9ecb=_0x15d3b9();window[_0x4faadd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x175cc2(_0x4faadd([0x74,0x69,0x6d,0x65]),_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3c9ecb);const _0x5778e2=_0x5e64d8(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faadd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5778e2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e57a0?_0x175cc2(_0x4faadd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5778e2['on'](_0x4faadd([0x61,0x64,0x64]),()=>{_0x5778e2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e57a0&&_0x175cc2(_0x4faadd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5d7b61(){if(!_0x5e87b4(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x50d152 in window)if(Number['isNaN'](Number(_0x50d152))){if(window[_0x50d152]===_0x3af2f9)return _0x4faadd([0x74,0x69,0x6d,0x65]);if(window[_0x50d152]===_0x2e81d6)return _0x4faadd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4c2bb9(){if(!_0x5e87b4(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4958ad in window)if(Number['isNaN'](Number(_0x4958ad))&&window[_0x4958ad]===_0x29b66c)return!0x0;return!0x1;}function _0x175cc2(_0x52bfcf,_0x121402){_0x40f215(),_0x402f7c(_0x121402+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x52bfcf),window[_0x2493ca()]=_0x52bfcf===_0x4faadd([0x74,0x69,0x6d,0x65])?_0x3af2f9:_0x2e81d6;}function _0x15d3b9(){let _0x4511f3=_0x28e3e5[0x6]*_0x35e81a[0x8]*_0x35e81a[0x6];return _0x5e87b4(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4511f3/=0xa),_0x4511f3;}function _0x40f215(){const _0x2034cd=_0x139b82;function _0x482255(){_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x228b00,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x228b00,_0x2034cd[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x2034cd[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x2034cd[_0x4faadd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x228b00,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x228b00);}_0x2034cd[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x72,0x65,0x61,0x64,0x79])?_0x482255():_0x2034cd[_0x4faadd([0x6f,0x6e,0x63,0x65])](_0x4faadd([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x482255(),_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x406855=_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xcd8cfa=_0x406855['getRevision'](0x0),_0x14a82f=_0x406855['getEarlierVisibleRevision'](_0xcd8cfa[_0x4faadd([0x69,0x64])]);_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xcd8cfa[_0x4faadd([0x69,0x64])],_0x14a82f?_0x14a82f[_0x4faadd([0x69,0x64])]:null,0x1)['then'](()=>_0x482255());}});}_0x5b5876(_0x339874(_0xe75f00,_0x34480e),_0x34480e);}function _0x557e30(_0xeee913,_0x157221){try{return _0x233911(_0x157221)?_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x56,0x61,0x6c,0x69,0x64])):_0xeee913&&_0x3e5e4d(_0xeee913[_0x4faadd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x157221)?_0xeee913[_0x4faadd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4faadd([0x6f,0x70,0x65,0x6e])][_0x4faadd([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x54f3d0)/0x2>_0xeee913[_0x4faadd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xeee913[_0x4faadd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])):_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x56,0x61,0x6c,0x69,0x64])):_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3e0e56){return _0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1884ed(_0x377a31,_0x23be2a){if(_0x139b82 instanceof _0x24ec17){const _0x45dd85=_0x139b82;_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2cb25a(_0x45dd85):_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4faadd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2cb25a(_0x45dd85),_0x402f7c(_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x28e3e5[0x6]*_0x35e81a[0x8]*_0x35e81a[0x6]),_0x45dd85[_0x4faadd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4faadd([0x6f,0x6e])](_0x4faadd([0x61,0x64,0x64]),(_0x337a97,_0x284efb)=>{_0x377a31!=_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x377a31!=_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x377a31!=_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x12af2a(_0x284efb);});}else{const _0x1f5be5=_0x139b82;_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x12af2a(_0x1f5be5):_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])&&_0x1f5be5[_0x4faadd([0x6f,0x6e])](_0x4faadd([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x539c5a=0x0;_0x1f5be5[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x6f,0x6e])](_0x4faadd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17161a,_0x435314)=>{_0x435314[0x0][_0x4faadd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x539c5a++,0x1f8===_0x539c5a&&(_0x12af2a(_0x1f5be5),_0x402f7c(_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x17161a[_0x4faadd([0x6f,0x66,0x66])]());},{'priority':_0x4faadd([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x402f7c(_0x5024ee){const _0x32f430=_0x2493ca();return _0x139b82[_0x32f430]=_0x5024ee,_0x5024ee;}function _0x2493ca(){const _0x2ce0a4=String(window[_0x4faadd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4faadd([0x6e,0x6f,0x77])]())[_0x4faadd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4faadd([0x2e]),'');let _0x27c1e0='';for(let _0x219bde=0x0;_0x219bde<_0x2ce0a4[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x219bde+=0x2){let _0x4556ad=parseInt(_0x2ce0a4[_0x4faadd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x219bde,_0x219bde+0x2));_0x4556ad>=_0x3eac7c[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4556ad-=_0x3eac7c[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27c1e0+=_0x3eac7c[_0x4556ad];}return _0x27c1e0;}function _0x2cb25a(_0x1c045b){for(const _0x275244 of _0x1c045b[_0x4faadd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x12af2a(_0x275244);_0x5e64d8(_0x1c045b,_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faadd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5e64d8(_0x1c045b,_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faadd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x228b00;}function _0x12af2a(_0x87c4f4){function _0x59f93c(){_0x87c4f4[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x87c4f4[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x87c4f4[_0x4faadd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c]));}_0x87c4f4[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x72,0x65,0x61,0x64,0x79])?_0x59f93c():_0x87c4f4[_0x4faadd([0x6f,0x6e,0x63,0x65])](_0x4faadd([0x72,0x65,0x61,0x64,0x79]),()=>_0x59f93c());}function _0x228b00(){return null;}function _0x3e5e4d(_0x243432,_0xad0588){const _0x4467f0=!!(_0x243432&_0xad0588[_0x4faadd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x44b744=_0x361639(_0x243432,_0xad0588);return _0x4467f0||_0x44b744;}function _0x361639(_0xf068eb,_0x32ffc3){const _0x4582e1=(_0x32ffc3[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4faadd([0x66,0x67,0x69])]||null;return!!_0x4582e1&&_0x9d6132[_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x398650=>_0x4582e1[_0x4faadd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398650[_0x4faadd([0x69,0x64])]))[_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b99a3=>!_0xc7db43(_0x4b99a3))[_0x4faadd([0x73,0x6f,0x6d,0x65])](_0xdd64c2=>!!(_0xf068eb&_0xdd64c2[_0x4faadd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xc7db43(_0x34c4a6){const _0x3b0a6f={[_0x4faadd([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])]:_0x147a8c};return!!_0x34c4a6['forbiddenHandler']&&_0x3b0a6f[_0x34c4a6['forbiddenHandler']]();}function _0x147a8c(){return!window[_0x4faadd([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5e87b4(_0x139b82,_0x4faadd([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x233911(_0x6fe667){if(!_0x5e87b4(_0x139b82,_0x6fe667[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4d1005=_0x6fe667[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3192ba=_0x4d1005[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x5886be=_0x4d1005[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4ecb98=_0x4d1005[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5e87b4(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e64d8(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3192ba)return!0x0;if(_0x5e87b4(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5e64d8(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4faadd([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4faadd([0x65,0x6e,0x64])&&_0x5886be)return!0x0;return!(!_0x5e87b4(_0x139b82,_0x4faadd([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]))||_0x5e64d8(_0x139b82,_0x4faadd([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]))[_0x4faadd([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4faadd([0x65,0x6e,0x64])||!_0x4ecb98);}function _0x5e87b4(_0x518c92,_0x4968e5){return _0x518c92[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faadd([0x68,0x61,0x73])](_0x4968e5);}function _0x5e64d8(_0x194c31,_0x5fbace){return _0x194c31[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faadd([0x67,0x65,0x74])](_0x5fbace);}function _0x4471ec(_0x583067){let _0x178c23='';for(const _0x2d2594 of _0x583067)_0x178c23+=String[_0x4faadd([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2d2594);return _0x178c23;}function _0xe7ba23(_0x160152){const _0x21719e=new Uint8Array(_0x160152[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1e36df=0x0;_0x1e36df<_0x160152[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e36df++)_0x21719e[_0x1e36df]=_0x160152[_0x4faadd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e36df);return _0x21719e;}_0x56748b&&_0x5e5102(_0x1fd173(_0x58cd7f),_0x56748b);})(_0x5c827a);}(this);}['createRevision'](_0x44b1c7){const _0x68430c=this['editor']['plugins']['get']('Users');return new a({'id':_0x44b1c7['id'],'name':_0x44b1c7['name'],'creator':_0x44b1c7['creatorId']?_0x68430c['getUser'](_0x44b1c7['creatorId']):null,'diffData':_0x44b1c7['diffData']||_0x44b1c7['data'],'authors':_0x44b1c7['authorsIds']['map'](_0x18a110=>_0x68430c['getUser'](_0x18a110)),'createdAt':new Date(_0x44b1c7['createdAt']),'attributes':_0x44b1c7['attributes'],'fromVersion':_0x44b1c7['fromVersion'],'toVersion':_0x44b1c7['toVersion']});}['addRevision'](_0x1fe6ca,_0x57a923=0x0){this['_revisions']['add'](_0x1fe6ca,_0x57a923);}['getRevision'](_0x20c00f){return this['_revisions']['get'](_0x20c00f);}['getRevisions'](_0x57041a={'toJSON':!0x1}){const _0x2dbc7b=Array['from'](this['_revisions']);return _0x2dbc7b['reverse'](),_0x57041a['toJSON']?_0x2dbc7b['map'](_0x130edf=>_0x130edf['toJSON']()):_0x2dbc7b;}['getIndex'](_0x5d35f2){return this['_revisions']['getIndex'](_0x5d35f2);}['getEarlierVisibleRevision'](_0x8f173a){const [,_0x362ec5]=this['getRevisionsIterator'](_0x8f173a,{'direction':'earlier'});return _0x362ec5;}['getLaterVisibleRevision'](_0x56d3c1){const [,_0x4ebfa4]=this['getRevisionsIterator'](_0x56d3c1,{'direction':'later'});return _0x4ebfa4;}['getRevisionsInDiff'](_0x5e597b){const _0x48ccc4=[];for(const _0x278e54 of this['getRevisionsIterator'](_0x5e597b['newRevisionId']))if(_0x48ccc4['push'](_0x278e54),_0x278e54['id']===_0x5e597b['oldRevisionId'])break;return _0x48ccc4;}*['getRevisionsIterator'](_0x559a0d,{direction:_0x2f4cad='earlier',filter:_0x1cbecc=_0x2ac11a=>!0x0}={}){const _0x315889='earlier'===_0x2f4cad?0x1:-0x1;let _0x5047b9=this['_revisions']['get'](_0x559a0d),_0x1a51b3=this['getIndex'](_0x5047b9);for(yield _0x5047b9;_0x5047b9;){if(_0x1a51b3+=_0x315889,_0x5047b9=this['getRevision'](_0x1a51b3),!_0x5047b9)return;_0x1cbecc(_0x5047b9)&&(yield _0x5047b9);}}constructor(_0x108a02){super(_0x108a02),this['_revisions']=new _0xacebb8();}}function y(_0x35da69,_0x1a914a,_0x37a0cc){const t=_0x35da69['t'];switch(_0x1a914a){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'},_0x37a0cc);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x37a0cc);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':_0x29c9c9,'a':_0x23a7e7,'e':_0x3260e7,'r':_0x27c3e6,'u':_0x587e8f};class l extends _0x3fe8e5{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x45929e,A,_0x38104f];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0xedcdfd=this['repository']['getRevision'](0x0),_0x6009be=_0xedcdfd&&null===_0xedcdfd['creator']?_0xedcdfd:null;if(this['_continueCurrentRevision']=!!_0x6009be&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x347e30=this['_source']['getCurrentRevisionId'](),_0x84c651=this['repository']['getRevision'](_0x347e30);if(_0x84c651)this['_startingVersion']=_0x84c651['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4e0e05=this['_source']['history']['_operations']['find'](_0x4670cf=>!_0x4670cf['_isInit']),_0x2232c9=_0x4e0e05?_0x4e0e05['baseVersion']:this['_source']['history']['version'];_0xedcdfd?(_0xedcdfd['toVersion']<_0x2232c9&&_0xedcdfd['_update']({'toVersion':_0x2232c9}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x6009be['id'],this['_startingVersion']=_0x6009be['fromVersion']):(this['_startingVersion']=_0xedcdfd['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2232c9,this['_continueCurrentRevision']=!0x1);}}else _0x6009be&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x6009be['toVersion'],this['editor']['model']['document']['history']['version']),_0x6009be['fromVersion']===_0x6009be['toVersion']?(0x0!==_0x6009be['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x6009be['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x6009be['id'],this['_startingVersion']=_0x6009be['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',_0x2ab930=>!_0x2ab930);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x95ac5f=this['repository']['getRevision'](0x0),_0x24df96=await this['getRevisionDocumentData'](_0x95ac5f),_0x429039=await this['getRevisionRootsAttributes'](_0x95ac5f);this['_replaceEditorDataWithRevisionData'](_0x24df96,_0x429039);}}['setSource'](_0x429e9d){this['_source']=_0x429e9d;}async['update'](){const _0x234342=await this['_source']['getLatestVersion']();if(_0x234342>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2d2d37=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x234342});_0x2d2d37['authors']=_0x2d2d37['authorsIds']['map'](_0x48a1eb=>this['editor']['plugins']['get']('Users')['getUser'](_0x48a1eb)),this['currentRevision']['_update'](_0x2d2d37);}}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'](_0x4214d0={},_0x3ce6c7=null){const _0x3f95c2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3ce6c7>this['currentRevision']['toVersion']&&(_0x3ce6c7=null),null===_0x3ce6c7&&(_0x3ce6c7=await this['_source']['getLatestVersion']());const _0x1c72ca=this['_getFromVersion'](_0x3ce6c7),_0x1efb5f=this['buildRevisionData']({'from':_0x1c72ca,'to':_0x3ce6c7});if(this['currentRevision']['toVersion']<_0x3ce6c7){const _0x33d5b3=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3ce6c7,'to':_0x3ce6c7});_0x33d5b3['authors']=[],_0x33d5b3['authorsIds']=[],_0x33d5b3['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x33d5b3,!0x0),delete _0x33d5b3['authors'],_0x3f95c2['push'](_0x33d5b3);}_0x4214d0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4214d0['name']=_0x4214d0['name']||null,_0x4214d0['id']=_0x4214d0['id']||_0x5e2995(),_0x4214d0={..._0x4214d0,..._0x1efb5f};const _0x5205a2=this['addRevisionData'](_0x4214d0);_0x3f95c2['push'](_0x4214d0);const _0x23725d=this['repository']['getIndex'](_0x5205a2);if(0x0!==_0x23725d){const _0x6f39b0=this['repository']['getRevision'](_0x23725d-0x1);if(_0x6f39b0['fromVersion']!==_0x3ce6c7){const _0x598d83=this['_revisionDataBuilder']['getData'](_0x3ce6c7,_0x6f39b0['toVersion']),_0x441132={'id':_0x6f39b0['id'],'diffData':_0x598d83['diffData'],'authorsIds':_0x598d83['authorsIds'],'authors':_0x598d83['authorsIds']['map'](_0x39d099=>this['editor']['plugins']['get']('Users')['getUser'](_0x39d099)),'fromVersion':_0x3ce6c7};_0x6f39b0===this['currentRevision']&&(_0x441132['createdAt']=new Date(_0x4214d0['createdAt']['getTime']()+0xa)),_0x6f39b0['_update'](_0x441132,!0x0),delete _0x441132['authors'],_0x3f95c2['push'](_0x441132);}}if(this['adapter']){for(const _0x279442 of _0x3f95c2)this['_bufferUpdate'](_0x279442['id'],_0x279442,!0x0);this['sendBufferedUpdates']();}return _0x5205a2;}['addRevisionData'](_0x35923f){const _0x276d75=this['repository']['createRevision'](_0x35923f);return this['adapter']&&_0x276d75['on']('_update',(_0xfd41da,_0x37c8bd,_0x319291)=>{_0x319291||(this['_bufferUpdate'](_0x37c8bd['id'],_0x37c8bd,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x276d75,this['_findInsertionIndex'](_0x276d75)),_0x276d75;}async['getRevisionDocumentData'](_0x259adb){await this['_loadRevisionData'](_0x259adb);const _0x56251f={};for(const _0x19fdfc in _0x259adb['diffData']){if(_0x259adb['diffData'][_0x19fdfc]['attachChange']&&!_0x259adb['diffData'][_0x19fdfc]['attachChange']['isAttached'])continue;const _0xbce636=this['_removeRevisionMarkers'](JSON['parse'](_0x259adb['diffData'][_0x19fdfc]['insertions'])),_0x3d26d8=this['editor']['editing']['view']['document'],_0xeb879a=new _0x2d1c58(_0x3d26d8,_0xbce636['map'](_0x3626bc=>B(_0x3626bc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x56251f[_0x19fdfc]=this['editor']['data']['processor']['toData'](_0xeb879a),this['editor']['data']['processor']['useFillerType']('default');}return _0x56251f;}async['getRevisionRootsAttributes'](_0x585b24){await this['_loadRevisionData'](_0x585b24);const _0x1d000f={};for(const _0x454e99 in _0x585b24['diffData'])_0x585b24['diffData'][_0x454e99]['attachChange']&&!_0x585b24['diffData'][_0x454e99]['attachChange']['isAttached']||(_0x1d000f[_0x454e99]=_0x585b24['diffData'][_0x454e99]['attributesAfter']||{});return _0x1d000f;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x28c9f7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5d0998=0x0;_0x5d0998<_0x28c9f7['length'];_0x5d0998++){const _0x154737=_0x28c9f7[_0x5d0998];let _0x1c1598=!0x1;for(const _0x24ae90 of Object['keys'](_0x154737))void 0x0===_0x154737[_0x24ae90]?delete _0x154737[_0x24ae90]:'id'!==_0x24ae90&&(_0x1c1598=!0x0);_0x1c1598||(_0x28c9f7[_0x5d0998]=null);}if(_0x28c9f7=_0x28c9f7['filter'](_0x3f2785=>null!==_0x3f2785),!_0x28c9f7['length'])return;for(let _0x3d9db3=0x0;_0x3d9db3<_0x28c9f7['length'];_0x3d9db3++){const _0x3c966d=_0x28c9f7[_0x3d9db3];void 0x0!==_0x3c966d['fromVersion']&&void 0x0===_0x3c966d['toVersion']&&(_0x3c966d['toVersion']=this['repository']['getRevision'](_0x3c966d['id'])['toVersion']),void 0x0!==_0x3c966d['toVersion']&&void 0x0===_0x3c966d['fromVersion']&&(_0x3c966d['fromVersion']=this['repository']['getRevision'](_0x3c966d['id'])['fromVersion']);}const _0x8290d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x28c9f7,_0x8290d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3f99b6=>{if(_0x3f99b6){for(const _0x20d46a of _0x3f99b6)this['setRevisionData']({'id':_0x20d46a['id'],'createdAt':_0x20d46a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x230e51,_0x437e5c){let _0x2a02f9=this['editor']['config']['get']('initialData'),_0x98094f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2a02f9){_0x2a02f9={};for(const _0x42837e of this['editor']['model']['document']['getRootNames']())_0x2a02f9[_0x42837e]='';}if('string'==typeof _0x2a02f9&&(_0x2a02f9={'main':_0x2a02f9}),void 0x0===_0x98094f){_0x98094f={};for(const _0x3429d2 of this['editor']['model']['document']['getRootNames']())_0x98094f[_0x3429d2]={};}let _0x589930=!0x1;const _0x42c417=Object['keys'](_0x2a02f9),_0x5e6eae=Object['keys'](_0x230e51);for(const _0x36f000 of _0x42c417){if(_0x2a02f9[_0x36f000]!==_0x230e51[_0x36f000]&&''!==_0x2a02f9[_0x36f000]['trim']()){_0x589930=!0x0;break;}if(!_0x53d3b1(_0x98094f[_0x36f000],_0x437e5c[_0x36f000])&&Object['keys'](_0x98094f[_0x36f000])['length']>0x0){_0x589930=!0x0;break;}}_0x589930||(_0x589930=_0x5e6eae['some'](_0x3996e4=>!this['editor']['model']['document']['getRoot'](_0x3996e4))),_0x589930&&_0x3ed147('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2a02f9,'editorRootsAttributes':_0x98094f,'revisionData':_0x230e51,'revisionRootsAttributes':_0x437e5c}),this['editor']['config']['set']('initialData',_0x230e51),this['editor']['config']['set']('rootsAttributes',_0x437e5c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4cdc72=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4cdc72['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3e5e8f){const _0x5b5609=this['repository']['getRevisions']();_0x5b5609['reverse']();let _0x206865=0x0;for(;_0x206865<_0x5b5609['length'];){const _0x10a6cf=_0x5b5609[_0x206865];if(_0x10a6cf===this['currentRevision']){_0x206865++;continue;}if(_0x10a6cf['id']===this['_initialRevisionId'])break;const _0x232060=_0x3e5e8f['toVersion']-_0x10a6cf['toVersion']||_0x3e5e8f['fromVersion']-_0x10a6cf['fromVersion'];if(_0x232060>0x0)break;if(_0x232060<0x0)_0x206865++;else{if(!_0x3e5e8f['creator']&&_0x10a6cf['creator'])break;if(_0x10a6cf['creator']||!_0x3e5e8f['creator']){if(_0x3e5e8f['createdAt']>_0x10a6cf['createdAt'])break;_0x206865++;}else _0x206865++;}}return _0x206865;}['setRevisionData'](_0x2752ac){const _0x5fcdf3=this['repository']['getRevision'](_0x2752ac['id']);if(_0x2752ac['createdAt']&&(_0x2752ac['createdAt']=new Date(_0x2752ac['createdAt'])),_0x2752ac['authorsIds']){const _0xce899=this['editor']['plugins']['get']('Users');_0x2752ac['authors']=_0x2752ac['authorsIds']['map'](_0x53b014=>_0xce899['getUser'](_0x53b014));}_0x5fcdf3['_update'](_0x2752ac,!0x0);}['buildRevisionData']({revision:_0x27ff96=null,from:_0x29184f=null,to:_0x5ead6d=null}){_0x29184f=null!==_0x29184f?_0x29184f:_0x27ff96['fromVersion'],_0x5ead6d=null!==_0x5ead6d?_0x5ead6d:_0x27ff96['toVersion'];const _0x19b618=this['_revisionDataBuilder']['getData'](_0x29184f,_0x5ead6d),_0x3b5725={'diffData':_0x19b618['diffData'],'authorsIds':_0x19b618['authorsIds'],'fromVersion':_0x29184f,'toVersion':_0x5ead6d};if(!_0x27ff96||_0x5ead6d!==_0x27ff96['toVersion']){const _0x85df82=_0x5ead6d-0x1,_0x5a8b52=this['_source']['history']['getOperation'](_0x85df82);_0x3b5725['createdAt']=_0x5a8b52&&_0x5a8b52['createdAt']||new Date();}if(this['_loadedStateData']&&_0x29184f===this['_loadedStateData']['fromVersion']){for(const _0x37230e of this['_loadedStateData']['authors'])_0x3b5725['authorsIds']['includes'](_0x37230e['id'])||_0x3b5725['authorsIds']['push'](_0x37230e['id']);}return _0x3b5725;}['_loadRevisionData'](_0x1e821b){if(!_0x1e821b||_0x1e821b['diffData'])return Promise['resolve']();{const _0x1f09e2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1f09e2,'revisionId':_0x1e821b['id']})['then'](_0x5dfae8=>{_0x1e821b['diffData']=_0x5dfae8['diffData'];});}}['_bufferUpdate'](_0x4b61c4,_0x5ba1e0,_0x30a88f){if(this['_bufferedUpdates']['has'](_0x4b61c4)){const _0x5d31ff=this['_bufferedUpdates']['get'](_0x4b61c4);_0x5ba1e0=_0x30a88f?{..._0x5d31ff,..._0x5ba1e0}:{..._0x5ba1e0,..._0x5d31ff};}this['_bufferedUpdates']['set'](_0x4b61c4,_0x5ba1e0);}['_getFromVersion'](_0x5797b7){const _0x408db1=this['repository']['getRevisions']();_0x408db1['reverse'](),_0x408db1['shift']();const _0x2ea662=_0x408db1['find'](_0x255916=>_0x255916['toVersion']<=_0x5797b7)['toVersion'];return _0x2ea662<this['_startingVersion']?this['_startingVersion']:_0x2ea662;}['_createInitialRevision'](_0x3f1098){const _0xc91082=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xc91082)this['_initialRevisionId']=_0xc91082['id'];else{const _0x2179f4=!this['editor']['model']['document']['roots']['find'](_0x4c6237=>this['editor']['model']['hasContent'](_0x4c6237)),_0x5ce500=this['editor']['plugins']['get']('Users')['me']['id'],_0x454fd6=y(this['editor']['locale'],_0x2179f4?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3f1098,'to':_0x3f1098,'id':this['_initialRevisionId'],'name':_0x454fd6,'creatorId':_0x5ce500});}}['_createCurrentRevision'](_0x3ca81f){const _0x3f8be5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3f8be5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3ca81f,'to':_0x3ca81f,'id':_0x3f8be5,'name':'','creatorId':null}));}['_makeRevision']({name:_0x16d06f,from:_0x1efcc7,to:_0xdc9891,creatorId:_0x46e51c,id:_0xa0307}){const _0x1b6137=this['buildRevisionData']({'from':_0x1efcc7,'to':_0xdc9891});_0x1b6137['name']=_0x16d06f,_0x1b6137['creatorId']=_0x46e51c,_0x1b6137['id']=_0xa0307;const _0x7d4939=this['addRevisionData'](_0x1b6137);return this['adapter']&&this['_bufferUpdate'](_0x1b6137['id'],_0x1b6137,!0x0),_0x7d4939;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2b9597){return(_0x2b9597=_0x2b9597['filter'](_0x4fbb45=>!_0x4fbb45['name']||'revision-start'!==_0x4fbb45['name']&&'revision-end'!==_0x4fbb45['name']))['forEach'](_0x442cd2=>{'string'!=typeof _0x442cd2&&(_0x442cd2['children']=this['_removeRevisionMarkers'](_0x442cd2['children']),_0x442cd2['attributes']=_0x442cd2['attributes']['filter'](_0x2409cd=>!_0x2409cd[0x0]['startsWith']('data-revision-')));}),_0x2b9597;}constructor(_0x460817){super(_0x460817),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 _0x3e962f=_0x5e2995();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3e962f},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x1ca78b,_0x3138f3){const _0x27f173=_0x3138f3['editing']['view']['document'];if('string'==typeof _0x1ca78b)return new _0x208f82(_0x27f173,_0x1ca78b);{const _0x470ca9=_0x1ca78b['children']['map'](_0x149314=>B(_0x149314,_0x3138f3));return new(T[_0x1ca78b['type']]||_0x4fe726)(_0x27f173,_0x1ca78b['name'],_0x1ca78b['attributes'],_0x470ca9);}}class J{['init'](_0x1293a6){this['source']=_0x1293a6;const _0x518c8a=new Map(),_0x2948b2=new Map(),_0x1dc6d2=this['editor']['model']['document']['roots']['map'](_0x1ed1ac=>_0x1ed1ac['rootName']);for(const _0x1839f1 of _0x1dc6d2){const _0x3a68a5=this['editor']['model']['document']['getRoot'](_0x1839f1),_0x26a665=q(_0x3a68a5);_0x518c8a['set'](_0x1839f1,_0x26a665),_0x2948b2['set'](_0x1839f1,Object['fromEntries'](_0x3a68a5['getAttributes']()));}const _0x46394c=Array['from'](this['editor']['model']['markers'])['map'](_0x5d49a1=>[_0x5d49a1['name'],_0x5d49a1['getRange']()]),_0x329d52=this['source']['version'];this['_saveMetaData'](_0x329d52,_0x518c8a,_0x46394c,_0x2948b2),this['_startingRevisionId']=this['_revisionId'];const _0x28831d=new Map(),_0x587a31=new Map();for(const _0x1f69b0 of _0x1dc6d2){const _0x4483f9=G(_0x1f69b0);_0x28831d['set'](_0x1f69b0,_0x4483f9),_0x587a31['set'](_0x1f69b0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x28831d,[],_0x587a31);}['getData'](_0x38d465,_0x51eb24){if(this['_lastFrom']===_0x38d465&&this['_lastTo']<=_0x51eb24)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x51eb24,!0x0);else{if(!this['_savedMetaData']['has'](_0x38d465)){const _0x4cdd64=this['_getPreviousFrom'](_0x38d465);this['_calculateMetaData'](_0x4cdd64,_0x38d465,!0x1);}this['_calculateMetaData'](_0x38d465,_0x51eb24,!0x0);}return this['_lastFrom']=_0x38d465,this['_lastTo']=_0x51eb24,this['_getState']();}['loadState'](_0x3213ff){this['_reset'](),this['_lastFrom']=_0x3213ff['fromVersion'],this['_lastTo']=_0x3213ff['toVersion'];for(const _0x4f986e in _0x3213ff['diffData']){const _0x1e8367=_0x3213ff['diffData'][_0x4f986e]['attachChange'],_0x2377c7=_0x1f12f9(_0x3213ff['diffData'][_0x4f986e]['attributesBefore'])||{},_0x5e59ae=this['_makeModelFromViewString'](_0x3213ff['diffData'][_0x4f986e]['deletions']);_0x5e59ae['rootName']=_0x4f986e,_0x5e59ae['_isAttached']=!_0x1e8367||!_0x1e8367['isAttached'],_0x5e59ae['isAttached']=()=>_0x5e59ae['_isAttached'],this['_baseRoots']['set'](_0x4f986e,_0x5e59ae),this['_baseRootsAttributes']['set'](_0x4f986e,_0x2377c7),_0x1e8367&&this['_touchedRoots']['set'](_0x4f986e,_0x1e8367);const _0x14afb5=this['_makeIdsRoot'](_0x5e59ae);this['_baseIdsRoots']['set'](_0x4f986e,_0x14afb5);for(const [_0x48459c,_0x364c76]of _0x5e59ae['markers']){if(!_0x48459c['startsWith']('revision:'))continue;const _0xf7972c=_0x48459c['split'](':')[0x2];for(const _0x21766c of _0x364c76['getWalker']({'singleCharacters':!0x0})){const _0x16310b=this['_getVidAttributeName'](_0x21766c),_0x249815='elementEnd'==_0x21766c['type']?_0x21766c['previousPosition']['path']['slice'](0x0,-0x1):_0x21766c['previousPosition']['path'],_0x4ad7a4=_0x14afb5['getNodeByPath'](_0x249815)['getAttribute'](_0x16310b);this['_touched']['set'](_0x4ad7a4,{'userId':_0xf7972c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3034e9=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x450c5c=>!this['_touched']['has'](_0x450c5c));let _0x3ed9e0=0x0;const _0xaeee31=new Map();for(const _0x5656d6 in _0x3213ff['diffData']){const _0x586217=_0x3213ff['diffData'][_0x5656d6]['attachChange'],_0x255561=_0x1f12f9(_0x3213ff['diffData'][_0x5656d6]['attributesAfter'])||{},_0x25372b=this['_makeModelFromViewString'](_0x3213ff['diffData'][_0x5656d6]['insertions']);_0x25372b['rootName']=_0x5656d6,_0x25372b['_isAttached']=!_0x586217||_0x586217['isAttached'],_0x25372b['isAttached']=()=>_0x25372b['_isAttached'],this['_diffRoots']['set'](_0x5656d6,_0x25372b),this['_diffRootsAttributes']['set'](_0x5656d6,_0x255561);const _0x5b6df3=this['_makeIdsRoot'](_0x25372b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5656d6,_0x5b6df3),_0xaeee31['set'](_0x5656d6,_0x25372b['isAttached']()?_0x255561:{});for(const [_0x4b3181,_0x4df82b]of _0x25372b['markers']){if(!_0x4b3181['startsWith']('revision:'))continue;const _0xda12fd=_0x4b3181['split'](':')[0x2];for(const _0xe6a511 of _0x4df82b['getWalker']({'singleCharacters':!0x0})){const _0x110f1e=this['_getVidAttributeName'](_0xe6a511),_0x2bc068=this['_revisionId']++,_0x4a9bc5='elementEnd'==_0xe6a511['type']?_0xe6a511['previousPosition']['path']['slice'](0x0,-0x1):_0xe6a511['previousPosition']['path'];_0x5b6df3['getNodeByPath'](_0x4a9bc5)['_setAttribute'](_0x110f1e,_0x2bc068),this['_touched']['set'](_0x2bc068,{'userId':_0xda12fd});}}for(const _0x5d47cc of this['editor']['model']['createRangeIn'](_0x25372b)['getWalker']({'singleCharacters':!0x0})){const _0x11d205=this['_getVidAttributeName'](_0x5d47cc),_0x27a979='elementEnd'==_0x5d47cc['type']?_0x5d47cc['previousPosition']['path']['slice'](0x0,-0x1):_0x5d47cc['previousPosition']['path'],_0x1dbe59=_0x5b6df3['getNodeByPath'](_0x27a979);_0x1dbe59['getAttribute'](_0x11d205)>0x0||_0x1dbe59['_setAttribute'](_0x11d205,_0x3034e9[_0x3ed9e0++]);}for(const [_0x59dd4b,_0x56118f]of _0x25372b['markers'])_0x59dd4b['startsWith']('revision:')||this['_markers']['set'](_0x59dd4b,_0x56118f);}const _0x3e4674=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3e4674),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3e4674,0x1));const _0x170da8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x170da8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x170da8,0x1));const _0x2b8763=Array['from'](this['_diffRoots'])['map'](([_0x247a1d,_0x3f968b])=>[_0x247a1d,q(_0x3f968b)]);this['_saveMetaData'](this['_lastTo'],_0x2b8763,this['_markers'],_0xaeee31);}['_makeModelFromViewString'](_0x50be40){const _0x1187b3=JSON['parse'](_0x50be40),_0x42f420=this['editor']['editing']['view']['document'],_0x32dfb2=new _0x2d1c58(_0x42f420,_0x1187b3['map'](_0x29b734=>B(_0x29b734,this['editor'])));return this['editor']['data']['toModel'](_0x32dfb2);}['_saveMetaData'](_0x1a337b,_0x2c047a,_0x9b366a,_0x2aab1b){const _0x34aeb7=new Map(_0x2c047a),_0x2d9e48=new Map(_0x1f12f9(_0x2aab1b)),_0x1cb6c1=new Map();for(const [_0x3904df,_0x3b5152]of _0x9b366a)_0x1cb6c1['set'](_0x3904df,{'start':_0x3b5152['start']['clone'](),'end':_0x3b5152['end']['clone'](),'rootName':_0x3b5152['root']['rootName']});this['_savedMetaData']['set'](_0x1a337b,{'roots':_0x34aeb7,'markers':_0x1cb6c1,'rootsAttributes':_0x2d9e48});}['_removeMetaData'](_0x5cdabf){this['_savedMetaData']['delete'](_0x5cdabf);}['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'](_0x1f1f51,_0x9d00de=null){let _0x507945=null;_0x1f1f51['is']('documentFragment')||(_0x507945=new ft(_0x1f1f51['name'],{'vid_start':null===_0x9d00de?this['_revisionId']++:_0x9d00de++}));const _0x42c336=[];for(const _0x5013ed of _0x1f1f51['getChildren']())if(_0x5013ed['is']('element')){_0x42c336['push'](this['_makeIdsRoot'](_0x5013ed,_0x9d00de));const _0x55a100=_0x42c336[_0x42c336['length']-0x1];null!==_0x9d00de&&(_0x9d00de=_0x55a100['is']('element','$text')?_0x55a100['getAttribute']('vid')+0x1:_0x55a100['getAttribute']('vid_end')+0x1);}else{for(let _0xa9affc=0x0;_0xa9affc<_0x5013ed['offsetSize'];_0xa9affc++)_0x42c336['push'](new ft('$text',{'vid':null===_0x9d00de?this['_revisionId']++:_0x9d00de++}));}if(_0x1f1f51['is']('documentFragment')){const _0x1a1ce5=G(_0x1f1f51['rootName']);return _0x1a1ce5['_insertChild'](0x0,_0x42c336),_0x1a1ce5;}return _0x507945['_setAttribute']('vid_end',null===_0x9d00de?this['_revisionId']++:_0x9d00de++),_0x507945['_insertChild'](0x0,_0x42c336),_0x507945;}['_calculateMetaData'](_0x2a222d,_0x1de1b3,_0x3b75d2){this['_reset']();const {roots:_0x44a6cd,markers:_0x196be8,rootsAttributes:_0x3c60a5}=this['_savedMetaData']['get'](_0x2a222d);this['_baseRoots']=new Map(_0x44a6cd),this['_baseRootsAttributes']=new Map(_0x1f12f9(_0x3c60a5));for(const [_0x49f7fb,_0x4a17e7]of this['_baseRoots'])if('$graveyard'!==_0x49f7fb&&(this['_diffRoots']['set'](_0x49f7fb,q(_0x4a17e7)),this['_diffRootsAttributes']=new Map(_0x1f12f9(_0x3c60a5)),_0x3b75d2)){const _0x5730ef=this['_revisionId'];this['_idsRoots']['set'](_0x49f7fb,this['_makeIdsRoot'](_0x4a17e7)),this['_baseIdsRoots']['set'](_0x49f7fb,this['_makeIdsRoot'](_0x4a17e7,_0x5730ef));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3b75d2&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xcd1120,_0x15488e]of _0x196be8){const _0x10f5e4=this['_baseRoots']['get'](_0x15488e['rootName']),_0xf51fb3=this['_diffRoots']['get'](_0x15488e['rootName']),_0xf6ba3f=new gt(this['_fixPosition'](_0x15488e['start'],_0x10f5e4),this['_fixPosition'](_0x15488e['end'],_0x10f5e4)),_0x5e6724=this['_fixRange'](_0xf6ba3f,_0xf51fb3);_0x10f5e4['markers']['set'](_0xcd1120,_0xf6ba3f),this['_markers']['set'](_0xcd1120,_0x5e6724);}this['_applyOperations'](_0x2a222d,_0x1de1b3,_0x3b75d2);}['_applyOperations'](_0x868c9b,_0x4403dc,_0x3326cc){for(const _0x36c183 of this['source']['getOperations'](_0x868c9b,_0x4403dc))this['_handleOperation'](_0x36c183,_0x3326cc);for(const _0x3881a3 of this['_diffRoots']['values']())_0x3881a3['markers']['clear']();for(const [_0x5b836c,_0x4b7fb1]of this['_markers']){this['_diffRoots']['get'](_0x4b7fb1['root']['rootName'])['markers']['set'](_0x5b836c,_0x4b7fb1['clone']());}const _0x4ebb7f=new Map(),_0x14e25f=new Map();for(const [_0x229344,_0x34ab16]of this['_diffRoots'])_0x4ebb7f['set'](_0x229344,q(_0x34ab16)),_0x14e25f['set'](_0x229344,this['_diffRootsAttributes']['get'](_0x229344));this['_saveMetaData'](_0x4403dc,_0x4ebb7f,this['_markers'],_0x14e25f);}['_getPreviousFrom'](_0x511934){const _0x5188f2=Array['from'](this['_savedMetaData']['keys']());_0x5188f2['sort']((_0x13e877,_0x355796)=>_0x13e877-_0x355796),_0x5188f2['reverse']();for(const _0x9ab43c of _0x5188f2)if(_0x9ab43c<_0x511934)return _0x9ab43c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2f4f26,_0x40379c){const _0x2f559c=Array['from'](_0x40379c['markers'])['map'](([_0x268e10,_0x591347])=>[_0x268e10,this['_fixRange'](_0x591347,_0x2f4f26)]);_0x2f4f26['markers']=new Map(_0x2f559c);}['_transformMarkers'](_0x5cad73){for(const _0x2b7d45 of this['_markers']['values']()){const _0x427600=_0x2b7d45['getTransformedByOperation'](_0x5cad73),_0x26600f=gt['_createFromRanges'](_0x427600);_0x2b7d45['start']=_0x26600f['start'],_0x2b7d45['end']=_0x26600f['end'];}}['_handleOperation'](_0x19e5ef,_0x37e94d){if('addRoot'==_0x19e5ef['type']||'detachRoot'==_0x19e5ef['type'])return void this['_handleRootOperation'](_0x19e5ef,_0x37e94d);if('insert'==_0x19e5ef['type']){const _0x5ec5d0=_0x19e5ef['position']['root']['rootName'];this['_diffRoots']['has'](_0x5ec5d0)||(this['_diffRoots']['set'](_0x5ec5d0,G(_0x5ec5d0,!0x0)),this['_diffRootsAttributes']['set'](_0x5ec5d0,{}),_0x37e94d&&this['_idsRoots']['set'](_0x5ec5d0,G(_0x5ec5d0,!0x0)));}else{if('addRootAttribute'==_0x19e5ef['type']||'removeRootAttribute'==_0x19e5ef['type']||'changeRootAttribute'==_0x19e5ef['type'])return void this['_handleRootAttributeOperation'](_0x19e5ef);}const _0x2f25d0=this['_cloneOperation'](_0x19e5ef,this['_diffRoots']);if('marker'!==_0x19e5ef['type']&&(_0x2f25d0['_execute'](),this['_transformMarkers'](_0x2f25d0)),_0x37e94d)switch(_0x2f25d0['type']){case'insert':this['_handleInsertOperation'](_0x19e5ef);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x19e5ef);break;case'merge':this['_handleMergeOperation'](_0x19e5ef);break;case'split':this['_handleSplitOperation'](_0x19e5ef);break;case'marker':this['_handleMarkerOperation'](_0x19e5ef);}}['_cloneOperation'](_0x2fdb03,_0x50887d){const _0x4fe272=_0x2fdb03['clone']();return _0x4fe272['_authorId']=_0x2fdb03['_authorId'],this['_fixOperation'](_0x4fe272,_0x50887d),_0x4fe272;}['_getBaseVids'](_0x253a85){return _0x253a85['map'](_0x1f860e=>{const _0x4068be=this['_getVidAttributeName'](_0x1f860e);return Number(_0x1f860e['item']['getAttribute'](_0x4068be));});}['_generateTape'](_0x48cf69,_0x261dbf){if(_0x48cf69['is']('element','$text'))_0x261dbf['push']({'item':_0x48cf69,'type':'text'});else{_0x48cf69['is']('element')&&_0x261dbf['push']({'item':_0x48cf69,'type':'elementStart'});for(const _0x3a8578 of _0x48cf69['getChildren']())this['_generateTape'](_0x3a8578,_0x261dbf);_0x48cf69['is']('element')&&_0x261dbf['push']({'item':_0x48cf69,'type':'elementEnd'});}return _0x261dbf;}['_getState'](){const _0x365f69=new Map(this['_touched']),_0x464d65=new Map(_0x365f69),_0x54079d=new Map(),_0x5946c9={'insertions':{},'deletions':{}},_0x4fa4fd={'insertions':{},'deletions':{}},_0x259d1f=new Map(),_0x633140=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x633140['delete']('$graveyard');for(const _0x5c84f6 of _0x633140){const _0x30c2d6=this['_diffRoots']['get'](_0x5c84f6)||G(_0x5c84f6,!0x1),_0x41b117=this['_baseRoots']['get'](_0x5c84f6)||G(_0x5c84f6,!0x1);_0x30c2d6['isAttached']()||_0x41b117['isAttached']()?(_0x5946c9['insertions'][_0x5c84f6]=q(_0x30c2d6),_0x5946c9['deletions'][_0x5c84f6]=q(_0x41b117),this['_copyMarkers'](_0x5946c9['deletions'][_0x5c84f6],_0x41b117),this['_copyMarkers'](_0x5946c9['insertions'][_0x5c84f6],_0x30c2d6),_0x4fa4fd['insertions'][_0x5c84f6]=this['_generateTape'](this['_idsRoots']['get'](_0x5c84f6),[]),_0x4fa4fd['deletions'][_0x5c84f6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5c84f6)||G(_0x5c84f6,!0x1),[])):_0x633140['delete'](_0x5c84f6);}for(const _0x3a4a88 of _0x633140){const _0xcf566c=_0x4fa4fd['insertions'][_0x3a4a88];for(const _0x2d99ea of _0xcf566c){const _0x27ff76=this['_getVidAttributeName'](_0x2d99ea),_0x2876d2=_0x2d99ea['item']['getAttribute'](_0x27ff76);_0x464d65['delete'](_0x2876d2),_0x2876d2>=this['_startingRevisionId']&&_0x54079d['set'](_0x2876d2,_0x365f69['get'](_0x2876d2));}}for(const _0x178c2e of _0x633140){const _0x2c0bd2=_0x4fa4fd['insertions'][_0x178c2e],_0x325b34=this['_getBaseVids'](_0x4fa4fd['deletions'][_0x178c2e]);let _0x3c00e9=0x0;for(const _0x2d8d3b of _0x2c0bd2){const _0x432728=this['_getVidAttributeName'](_0x2d8d3b),_0x57ebef=_0x2d8d3b['item']['getAttribute'](_0x432728);if(!_0x54079d['has'](_0x57ebef)&&!_0x259d1f['has'](_0x57ebef)){if(_0x464d65['has'](_0x57ebef))_0x3c00e9++;else{if(_0x57ebef!=_0x325b34[_0x3c00e9]){const _0x63a79c=_0x365f69['get'](_0x57ebef)||_0x365f69['get'](_0x325b34[_0x3c00e9]);for(;_0x57ebef!=_0x325b34[_0x3c00e9];)_0x464d65['has'](_0x325b34[_0x3c00e9])||(_0x259d1f['set'](_0x325b34[_0x3c00e9],_0x63a79c),_0x365f69['set'](_0x325b34[_0x3c00e9],_0x63a79c)),_0x3c00e9++;}_0x3c00e9++;}}}}for(const _0x28bde5 of _0x633140){const _0x1efe7a=_0x4fa4fd['insertions'][_0x28bde5];for(const _0x346119 of _0x1efe7a){const _0x40db2b=this['_getVidAttributeName'](_0x346119),_0x2f111d=_0x346119['item']['getAttribute'](_0x40db2b);if(_0x259d1f['has'](_0x2f111d)){const _0xbae331=_0x259d1f['get'](_0x2f111d);_0x464d65['has'](_0x2f111d)||_0x464d65['set'](_0x2f111d,{..._0xbae331}),_0x54079d['set'](_0x2f111d,{..._0xbae331});}}}for(const _0x9afa17 of _0x464d65['keys']())_0x9afa17>=this['_startingRevisionId']&&_0x464d65['delete'](_0x9afa17);const _0x5aec1c=new Map();for(const _0x5d0873 of _0x633140){let _0x440076=_0x4fa4fd['insertions'][_0x5d0873];for(const _0x15396f of _0x440076)if(_0x15396f['item']['is']('element','tableCell')){const _0x4c741f=this['_getVidAttributeName'](_0x15396f),_0x4783e4=_0x15396f['item']['getAttribute'](_0x4c741f);if(_0x54079d['has'](_0x4783e4)){const _0x2d1044=_0x15396f['item']['parent']['parent']['getAttribute']('vid_start'),_0x4ec367=_0x5aec1c['get'](_0x2d1044)||new Set();_0x4ec367['add'](_0x54079d['get'](_0x4783e4)['userId']),_0x5aec1c['set'](_0x2d1044,_0x4ec367);}}_0x440076=_0x4fa4fd['deletions'][_0x5d0873];for(const _0x2afc1b of _0x440076)if(_0x2afc1b['item']['is']('element','tableCell')){const _0x166fe7=this['_getVidAttributeName'](_0x2afc1b),_0x4c5ce8=_0x2afc1b['item']['getAttribute'](_0x166fe7);if(_0x464d65['has'](_0x4c5ce8)){const _0x1bbe54=_0x2afc1b['item']['parent']['parent']['getAttribute']('vid_start'),_0x2f1c13=_0x5aec1c['get'](_0x1bbe54)||new Set();_0x2f1c13['add'](_0x464d65['get'](_0x4c5ce8)['userId']),_0x5aec1c['set'](_0x1bbe54,_0x2f1c13);}}for(const _0x2cd8d7 of _0x5aec1c['keys']())(_0x54079d['has'](_0x2cd8d7)||_0x464d65['has'](_0x2cd8d7))&&_0x5aec1c['delete'](_0x2cd8d7);}for(const _0x35adc0 of _0x633140){const _0x3ad9e2=_0x4fa4fd['insertions'][_0x35adc0];let _0x380b76=null,_0x9b087c=null;for(const _0x2a8652 of _0x3ad9e2){const _0x4d9dbb=this['_getVidAttributeName'](_0x2a8652),_0x452cf2=_0x2a8652['item']['getAttribute'](_0x4d9dbb),_0x2857ec=_0x5aec1c['get'](_0x452cf2);_0x2857ec&&'elementStart'==_0x2a8652['type']&&(_0x380b76=Array['from'](_0x2857ec)[0x0],_0x9b087c=_0x2a8652['item']['getAttribute']('vid_end')),_0x380b76&&(_0x464d65['set'](_0x452cf2,{'userId':_0x380b76}),_0x54079d['set'](_0x452cf2,{'userId':_0x380b76})),_0x452cf2==_0x9b087c&&(_0x380b76=null,_0x9b087c=null);}}const _0x2ada7b={},_0x31dea7=new Set();for(const _0x2fcf45 of _0x633140){const _0x5d305f=_0x5946c9['deletions'][_0x2fcf45],_0x394712=_0x5946c9['insertions'][_0x2fcf45];for(const {userId:_0x57a411}of this['_touchedMarkers']['values']())null!==_0x57a411&&_0x31dea7['add'](_0x57a411);for(const {userId:_0x5601a9}of this['_touchedRoots']['values']())null!==_0x5601a9&&_0x31dea7['add'](_0x5601a9);this['_markChanges'](_0x394712,_0x4fa4fd['insertions'][_0x2fcf45],_0x54079d,'insertion',_0x31dea7),this['_markChanges'](_0x5d305f,_0x4fa4fd['deletions'][_0x2fcf45],_0x464d65,'deletion',_0x31dea7),_0x2ada7b[_0x2fcf45]={'insertions':this['_prepareViewToSave'](_0x394712),'deletions':this['_prepareViewToSave'](_0x5d305f),'attachChange':this['_touchedRoots']['get'](_0x2fcf45)||null,'attributesBefore':_0x1f12f9(this['_baseRootsAttributes']['get'](_0x2fcf45))||{},'attributesAfter':_0x1f12f9(this['_diffRootsAttributes']['get'](_0x2fcf45))};}return{'diffData':_0x2ada7b,'authorsIds':Array['from'](_0x31dea7)};}['_processRootBeforeSave'](_0x2d176f){for(const [,_0x1ce93a]of _0x2d176f['markers']){const _0x15ca94=_0x1ce93a['start']['getAncestors']()['filter'](_0x3e852b=>'tableCell'==_0x3e852b['name']);for(const _0x347974 of _0x15ca94)0x1==_0x347974['childCount']&&_0x347974['getChild'](0x0)['is']('element','paragraph')&&_0x347974['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3104eb){this['_processRootBeforeSave'](_0x3104eb);const _0x51b8da=this['editor']['data']['toView'](_0x3104eb,{}),_0x43617f=Array['from'](_0x51b8da['getChildren']())['map'](_0x32f745=>this['_getViewJson'](_0x32f745));return JSON['stringify'](_0x43617f);}['_getViewJson'](_0x46f246){if(_0x46f246['is']('$text'))return _0x46f246['data'];{const _0x195f63=_0x46f246;return{'type':Object['keys'](T)['find'](_0x4e24e4=>_0x46f246 instanceof T[_0x4e24e4]),'name':_0x195f63['name'],'attributes':Array['from'](_0x195f63['getAttributes']()),'children':Array['from'](_0x195f63['getChildren']())['map'](_0x451eab=>this['_getViewJson'](_0x451eab))};}}['_markChanges'](_0x55155a,_0x45277c,_0x2ba87b,_0x16e4b1,_0xbc1563){let _0x827b0d=null,_0x8e8ef0=null,_0x369dea=0x0;const _0x30709b=this['editor']['model'];for(let _0x17afe8=0x0;_0x17afe8<_0x45277c['length'];_0x17afe8++){const _0x19faef=this['_getVidAttributeName'](_0x45277c[_0x17afe8]),_0x1764b7=_0x45277c[_0x17afe8]['item']['getAttribute'](_0x19faef),_0x5ee4ff=_0x2ba87b['get'](_0x1764b7),_0x4f8309=_0x17afe8==_0x45277c['length']-0x1;(!_0x827b0d&&_0x5ee4ff&&(_0x827b0d=_0x5ee4ff,_0x8e8ef0=_0x45277c[_0x17afe8]),_0x827b0d&&(!_0x5ee4ff||_0x5ee4ff['userId']!=_0x827b0d['userId']))&&(_0x3a235f(_0x5ee4ff,L(_0x8e8ef0,_0x55155a,_0x30709b),L(_0x45277c[_0x17afe8],_0x55155a,_0x30709b)),_0x827b0d=_0x5ee4ff||null,_0x8e8ef0=_0x5ee4ff?_0x45277c[_0x17afe8]:null),_0x827b0d&&_0x4f8309&&_0x3a235f(_0x5ee4ff,L(_0x8e8ef0,_0x55155a,_0x30709b),W(_0x45277c[_0x17afe8],_0x55155a,_0x30709b));}function _0x3a235f(_0x7990a,_0x3421fa,_0x4b2e59){const _0x3b0d1c=_0x827b0d['userId'],_0x6dc03c='revision:'+_0x16e4b1+':'+_0x3b0d1c+':'+_0x369dea++,_0x188b45=_0x30709b['createRange'](_0x3421fa,_0x4b2e59);_0x55155a['markers']['set'](_0x6dc03c,_0x188b45),null!==_0x3b0d1c&&_0xbc1563['add'](_0x3b0d1c);}}['_getVidAttributeName'](_0xeb5fcb){switch(_0xeb5fcb['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x596124,_0x1603f8){_0x596124['baseVersion']=null;for(const _0x55a657 in _0x596124){const _0x6dde7d=_0x596124[_0x55a657];if(_0x6dde7d instanceof wt){const _0x4d1293=_0x1603f8['get'](_0x6dde7d['root']['rootName']);_0x596124[_0x55a657]=this['_fixPosition'](_0x6dde7d,_0x4d1293);}if(_0x6dde7d instanceof gt){const _0x40e147=_0x1603f8['get'](_0x6dde7d['root']['rootName']);_0x596124[_0x55a657]=this['_fixRange'](_0x6dde7d,_0x40e147);}'root'===_0x55a657&&(_0x596124['root']=_0x1603f8['get'](_0x596124['root']['rootName']));}}['_fixRange'](_0x341846,_0x30969d){return this['editor']['model']['createRange'](this['_fixPosition'](_0x341846['start'],_0x30969d),this['_fixPosition'](_0x341846['end'],_0x30969d));}['_fixPosition'](_0x4b7573,_0x5005e2){return this['editor']['model']['createPositionFromPath'](_0x5005e2,_0x4b7573['path'],_0x4b7573['stickiness']);}['_handleInsertOperation'](_0xe26c07){const _0x2c1280=this['_idsRoots']['get'](_0xe26c07['position']['root']['rootName']),_0x525b04=this['_fixPosition'](_0xe26c07['position'],_0x2c1280),_0x3b4b5c=null===_0xe26c07['_authorId']?null:_0xe26c07['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21d574=_0x525b04['parent'],_0x4e99c7=this['_revisionId'],_0x118fd4=[];for(const _0x105f63 of _0xe26c07['nodes'])if(_0x105f63['is']('element'))_0x118fd4['push'](this['_makeIdsRoot'](_0x105f63));else{for(let _0x4121b7=0x0;_0x4121b7<_0x105f63['offsetSize'];_0x4121b7++)_0x118fd4['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x567d68=this['_revisionId'];for(let _0x4b43a2=_0x4e99c7;_0x4b43a2<_0x567d68;_0x4b43a2++)this['_touched']['set'](_0x4b43a2,{'userId':_0x3b4b5c});_0x21d574['_insertChild'](_0x525b04['offset'],_0x118fd4);}['_handleMoveOperation'](_0x3d340c){(_0x3d340c=this['_cloneOperation'](_0x3d340c,this['_idsRoots']))['_execute']();const _0x262c3c=null===_0x3d340c['_authorId']?null:_0x3d340c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25460d=_0x3d340c['getMovedRangeStart'](),_0x2fb236=_0x25460d['parent'],_0x441a1a=_0x25460d['offset'];!function _0xe75da8(_0x543fb0,_0x30ef6f,_0xaba1be,_0x3fd876){for(let _0x5a5196=_0xaba1be;_0x5a5196<_0x3fd876;_0x5a5196++){const _0x37a89a=_0x30ef6f['getChild'](_0x5a5196);_0x37a89a['is']('element','$text')?_0x543fb0['set'](_0x37a89a['getAttribute']('vid'),{'userId':_0x262c3c}):(_0x543fb0['set'](_0x37a89a['getAttribute']('vid_start'),{'userId':_0x262c3c}),_0xe75da8(_0x543fb0,_0x37a89a,0x0,_0x37a89a['childCount']),_0x543fb0['set'](_0x37a89a['getAttribute']('vid_end'),{'userId':_0x262c3c}));}}(this['_touched'],_0x2fb236,_0x441a1a,_0x441a1a+_0x3d340c['howMany']);}['_handleMergeOperation'](_0x49c427){const _0x57c01a=null===(_0x49c427=this['_cloneOperation'](_0x49c427,this['_idsRoots']))['_authorId']?null:_0x49c427['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b78e3=_0x49c427['targetPosition']['parent'],_0x34da9f=_0x49c427['sourcePosition']['parent'],_0x539dcb=_0x4b78e3['getAttribute']('vid_end'),_0x2c635e=_0x34da9f['getAttribute']('vid_start');_0x4b78e3['_setAttribute']('vid_end',_0x34da9f['getAttribute']('vid_end')),_0x34da9f['_setAttribute']('vid_end',_0x539dcb),this['_touched']['set'](_0x2c635e,{'userId':_0x57c01a}),this['_touched']['set'](_0x539dcb,{'userId':_0x57c01a}),_0x49c427['_execute']();}['_handleSplitOperation'](_0x549655){const _0x21e945=null===(_0x549655=this['_cloneOperation'](_0x549655,this['_idsRoots']))['_authorId']?null:_0x549655['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c0a8a=_0x549655['graveyardPosition'],_0x287f4c=_0x549655['splitPosition']['parent'];_0x549655['_execute']();const _0x1d5b2a=_0x287f4c['getAttribute']('vid_end'),_0x2cc5f5=_0x549655['insertionPosition']['nodeAfter'];if(_0x4c0a8a){const _0x33eb03=_0x2cc5f5['getAttribute']('vid_end'),_0x1afb11=_0x287f4c['getAttribute']('vid_end');_0x287f4c['_setAttribute']('vid_end',_0x33eb03),_0x2cc5f5['_setAttribute']('vid_end',_0x1afb11),this['_touched']['set'](_0x287f4c['getAttribute']('vid_end'),{'userId':_0x21e945}),this['_touched']['set'](_0x2cc5f5['getAttribute']('vid_start'),{'userId':_0x21e945});}else{const _0x2ff585=this['_revisionId']++,_0x4cc035=this['_revisionId']++;_0x287f4c['_setAttribute']('vid_end',_0x2ff585),_0x2cc5f5['_setAttribute']('vid_start',_0x4cc035),_0x2cc5f5['_setAttribute']('vid_end',_0x1d5b2a),this['_touched']['set'](_0x2ff585,{'userId':_0x21e945}),this['_touched']['set'](_0x4cc035,{'userId':_0x21e945});}}['_handleMarkerOperation'](_0x4ca55f){if(!_0x4ca55f['affectsData'])return;const _0x22e5da=(_0x4ca55f=this['_cloneOperation'](_0x4ca55f,this['_diffRoots']))['oldRange']?_0x4ca55f['oldRange']['root']:null,_0x5376b3=_0x4ca55f['newRange']?_0x4ca55f['newRange']['root']:null;_0x22e5da&&this['_markers']['delete'](_0x4ca55f['name']),_0x5376b3&&this['_markers']['set'](_0x4ca55f['name'],_0x4ca55f['newRange']['clone']());const _0x1bd720=null===_0x4ca55f['_authorId']?null:_0x4ca55f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b0ef5=_0x4ca55f['name'];if(!this['_touchedMarkers']['has'](_0x2b0ef5))return void this['_touchedMarkers']['set'](_0x2b0ef5,{'range':_0x4ca55f['oldRange'],'userId':_0x1bd720});const _0x63250f=this['_touchedMarkers']['get'](_0x2b0ef5),_0x3e450d=_0x63250f['range'],_0x3636be=_0x4ca55f['newRange'];null==_0x3e450d&&null==_0x3636be||_0x3e450d&&_0x3636be&&_0x3e450d['isEqual'](_0x3636be)?this['_touchedMarkers']['delete'](_0x4ca55f['name']):_0x63250f['userId']=_0x1bd720;}['_handleRootOperation'](_0xcbadae,_0x2ae49b){this['_diffRoots']['has'](_0xcbadae['rootName'])?this['_diffRoots']['get'](_0xcbadae['rootName'])['_isAttached']=_0xcbadae['isAdd']:(this['_diffRoots']['set'](_0xcbadae['rootName'],G(_0xcbadae['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xcbadae['rootName'],{}),_0x2ae49b&&this['_idsRoots']['set'](_0xcbadae['rootName'],G(_0xcbadae['rootName'],!0x0)));const _0x1fffaf=null===_0xcbadae['_authorId']?null:_0xcbadae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e67bf=this['_touchedRoots']['get'](_0xcbadae['rootName']);_0x3e67bf&&_0x3e67bf['userId']===_0x1fffaf?this['_touchedRoots']['delete'](_0xcbadae['rootName']):this['_touchedRoots']['set'](_0xcbadae['rootName'],{'userId':_0x1fffaf,'isAttached':_0xcbadae['isAdd']});}['_handleRootAttributeOperation'](_0x360022){const _0x31b744=this['_diffRootsAttributes']['get'](_0x360022['root']['rootName']);null===_0x360022['newValue']?delete _0x31b744[_0x360022['key']]:_0x31b744[_0x360022['key']]=_0x360022['newValue'];}constructor(_0xf341f5){this['editor']=_0xf341f5,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x3c418b){const _0x14abd6=G(_0x3c418b['rootName'],_0x3c418b['isAttached']());for(const _0x17160b of _0x3c418b['getChildren']()){const _0x3896d3=_0x17160b['_clone'](!0x0);_0x14abd6['_appendChild'](_0x3896d3);}return _0x14abd6;}function G(_0x457bc8,_0x8d547a=!0x0){const _0x3fec1e=new _t();return _0x3fec1e['rootName']=_0x457bc8,_0x3fec1e['_isAttached']=_0x8d547a,_0x3fec1e['isAttached']=()=>_0x3fec1e['_isAttached'],_0x3fec1e;}function L(_0x2425d9,_0x2b6245,_0x3d08f8){const _0x3ffd60='elementEnd'==_0x2425d9['type']?_0x3d08f8['createPositionAt'](_0x2425d9['item'],'end'):_0x3d08f8['createPositionBefore'](_0x2425d9['item']);return _0x3d08f8['createPositionFromPath'](_0x2b6245,_0x3ffd60['path'],_0x3ffd60['stickiness']);}function W(_0x17f440,_0x10dd80,_0x3c8f02){const _0x532d85='elementStart'==_0x17f440['type']?_0x3c8f02['createPositionAt'](_0x17f440['item'],0x0):_0x3c8f02['createPositionAfter'](_0x17f440['item']);return _0x3c8f02['createPositionFromPath'](_0x10dd80,_0x532d85['path'],_0x532d85['stickiness']);}class ns extends _0x381698{['render'](){super['render'](),_0x47da7({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3168d1=_0x26a35d=>_0x26a35d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3168d1),this['keystrokes']['set']('arrowleft',_0x3168d1),this['keystrokes']['set']('arrowup',_0x3168d1),this['keystrokes']['set']('arrowdown',_0x3168d1);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5cbfa6){this['revisionNameInputView']['fieldView']['element']['value']=_0x5cbfa6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xafadb5){const _0x398111=new mt(this['locale'],_0x1132ee),_0x1f92d0=_0x398111['fieldView'];_0x1f92d0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x56ae5f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xafadb5&&(_0x56ae5f+='\x20('+y(this['locale'],'optional')+')'),(_0x398111['label']=_0x56ae5f,_0x1f92d0['on']('input',()=>{this['revisionNameInputValue']=_0x1f92d0['element']['value']['trim']();}),_0x398111);}constructor(_0x54948f,_0x1e9b03){super(_0x54948f),this['focusTracker']=new _0x2fb5b8(),this['keystrokes']=new _0x112d4f(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1e9b03),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x3fe8e5{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x194326=this['editor'],_0x4f6e06=_0x194326['plugins']['get']('RevisionTracker');_0x194326['ui']['componentFactory']['add']('revisionHistory',_0x2ca189=>{const _0x1060fa=_0x1adbd1(_0x2ca189),_0x937484=_0x1060fa['panelView']['children'],_0x5104f9=new te(_0x2ca189),_0x334b8b=new _0x1e3ff9(_0x2ca189),_0xdb6f40=new _0x2bbd3d(_0x2ca189),_0x23fdf6=new _0x1e3ff9(_0x2ca189),_0x32668e=new _0x2bbd3d(_0x2ca189);return _0x1060fa['bind']('isEnabled')['to'](_0x4f6e06,'isReady',_0x4f6e06,'isEnabled',_0x194326,'isReadOnly',(_0x495230,_0x31aa39,_0x53a773)=>_0x495230&&_0x31aa39&&!_0x53a773),_0x1060fa['buttonView']['set']({'icon':_0x132edd['history'],'label':y(_0x2ca189,'Revision\x20history'),'tooltip':!0x0}),_0xdb6f40['set']({'label':y(_0x2ca189,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xdb6f40['bind']('isEnabled')['to'](_0x4f6e06,'isReady',_0x4f6e06,'isEnabled',_0x194326,'isReadOnly',(_0x8c64a,_0xb6cb5e,_0x369b44)=>_0x8c64a&&_0xb6cb5e&&!_0x369b44),_0xdb6f40['on']('execute',()=>this['_showDialog']()),_0x32668e['set']({'label':y(_0x2ca189,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x32668e['bind']('isEnabled')['to'](_0x4f6e06,'isReady',_0x194326,'isReadOnly',(_0x79157e,_0x584e16)=>_0x79157e&&!_0x584e16),_0x32668e['on']('execute',()=>{_0x194326['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1060fa['isOpen']=!0x1,_0x194326['editing']['view']['focus']();}),_0x334b8b['children']['add'](_0xdb6f40),_0x23fdf6['children']['add'](_0x32668e),_0x5104f9['role']='menu',_0x5104f9['items']['addMany']([_0x334b8b,_0x23fdf6]),_0x937484['add'](_0x5104f9),_0x1060fa;}),_0x194326['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5d7878=this['editor'],_0x219198=_0x5d7878['locale'],_0x476e2e=new _0x83ee77(_0x219198),_0x10272d=new _0x48fb42(_0x219198);_0x476e2e['buttonView']['set']({'icon':_0x132edd['history'],'label':y(_0x219198,'Revision\x20history')});const _0xd270ae=new _0x5b3807(_0x219198,_0x476e2e),_0x5cecf7=new _0x3f15e2(_0x219198);_0x5cecf7['set']({'label':y(_0x219198,'Save\x20current\x20revision')}),_0x5cecf7['delegate']('execute')['to'](_0x476e2e),_0x5cecf7['on']('execute',()=>{this['_showDialog']();}),_0xd270ae['children']['add'](_0x5cecf7),_0x10272d['items']['add'](_0xd270ae);const _0x2b8f52=new _0x5b3807(_0x219198,_0x476e2e),_0x2bd5b2=new _0x3f15e2(_0x219198);return _0x2bd5b2['set']({'label':y(_0x219198,'Open\x20revision\x20history')}),_0x2bd5b2['delegate']('execute')['to'](_0x476e2e),_0x2bd5b2['on']('execute',()=>{_0x5d7878['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2b8f52['children']['add'](_0x2bd5b2),_0x10272d['items']['add'](_0x2b8f52),_0x476e2e['panelView']['children']['add'](_0x10272d),_0x476e2e;}['_showDialog'](){const _0x27bb77=this['editor'],_0x162a81=_0x27bb77['locale'],t=_0x162a81['t'],_0x40788f=_0x27bb77['plugins']['get']('Dialog'),_0x48f92a=_0x27bb77['plugins']['get']('RevisionTracker');function _0x49f043(_0x5365a5){_0x27bb77['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5365a5['revisionName']?_0x5365a5['revisionNameInputView']['errorText']=y(_0x162a81,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x27bb77['plugins']['get'](l)['saveRevision']({'name':_0x5365a5['revisionName']}),_0x40788f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x49f043(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x40788f['show']({'id':'findAndReplace','title':y(_0x162a81,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x40788f['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4243c0){_0x4243c0['bind']('isEnabled')['to'](_0x48f92a,'isReady',_0x48f92a,'isEnabled',_0x27bb77,'isReadOnly',(_0x21d79b,_0x2091b5,_0x3d5bc8)=>_0x21d79b&&_0x2091b5&&!_0x3d5bc8);},'onExecute':()=>_0x49f043(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4c4d9a=this['editor'],_0x26eca9=_0x4c4d9a['locale'];this['_saveRevisionFormView']=new ns(_0x26eca9,_0x4c4d9a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x381698{['focus'](){this['element']['focus']();}constructor(_0x124c2b,_0x8b08fc){super(_0x124c2b),this['_model']=_0x8b08fc,this['changeId']=_0x8b08fc['id'];const _0x558da3=this['bindTemplate'],_0x25e44e=y(_0x124c2b,_0x8b08fc['data']['isSuggestion']?'Suggested\x20by':'add'==_0x8b08fc['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x8b08fc['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x558da3['to']('type',_0x2691ef=>'ck-revision-change__'+_0x2691ef)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x25e44e}]},{'text':'\x20'+_0x8b08fc['author']['name']}]}]});}}class r extends _0x3d769b(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x3c0741){super(),this['id']=_0x3c0741['id']||_0x5e2995(),this['author']=_0x3c0741['author'],this['type']=_0x3c0741['type'],this['data']=_0x3c0741['data']||{},this['rootName']=_0x3c0741['rootName'],this['set']('createdAt',_0x3c0741['createdAt']);}}class f{['_setChanges'](_0x288a34){for(const _0x15068f of _0x288a34)this['changes']['add'](_0x15068f);}constructor(_0x4ab731,_0xae4510){this['newRevisionId']=_0x4ab731,this['oldRevisionId']=_0xae4510,this['changes']=new _0xacebb8();}}const tt={'c':_0x29c9c9,'a':_0x23a7e7,'e':_0x3260e7,'r':_0x27c3e6,'u':_0x587e8f};class d extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x45929e,_0x25cc9c,A];}['init'](){const _0x4180eb=this['editor'],_0x4b5149=new Rt(_0x4180eb,{'direction':'backward'}),_0x5ebf48=new Rt(_0x4180eb,{'direction':'forward'});(_0x4180eb['commands']['add']('showPreviousChange',_0x4b5149),_0x4180eb['commands']['add']('showNextChange',_0x5ebf48),_0x4180eb['commands']['add']('restoreRevision',new bt(_0x4180eb)),this['on']('change:numberOfChanges',()=>{_0x4b5149['refresh'](),_0x5ebf48['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4180eb['enableReadOnlyMode']('revision-viewer'),_0x4180eb['plugins']['has']('WidgetToolbarRepository'))&&_0x4180eb['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x576a16){await this['loadRevisionData'](_0x576a16);const _0x24be6c={};for(const _0x4174a1 in _0x576a16['diffData']){if(_0x576a16['diffData'][_0x4174a1]['attachChange']&&!_0x576a16['diffData'][_0x4174a1]['attachChange']['isAttached'])continue;const _0x192847=this['_removeRevisionMarkers'](JSON['parse'](_0x576a16['diffData'][_0x4174a1]['insertions'])),_0x24fe9c=this['editor']['editing']['view']['document'],_0x14c10f=new _0x2d1c58(_0x24fe9c,_0x192847['map'](_0x224237=>this['_getViewObj'](_0x224237)));this['editor']['data']['processor']['useFillerType']('marked'),_0x24be6c[_0x4174a1]=this['editor']['data']['processor']['toData'](_0x14c10f),this['editor']['data']['processor']['useFillerType']('default');}return _0x24be6c;}async['getRevisionRootsAttributes'](_0x5e5b1b){await this['loadRevisionData'](_0x5e5b1b);const _0x2869e4={};for(const _0x2f14df in _0x5e5b1b['diffData'])_0x5e5b1b['diffData'][_0x2f14df]['attachChange']&&!_0x5e5b1b['diffData'][_0x2f14df]['attachChange']['isAttached']||(_0x2869e4[_0x2f14df]=_0x5e5b1b['diffData'][_0x2f14df]['attributesAfter']||{});return _0x2869e4;}['_removeRevisionMarkers'](_0x54f6d8){return(_0x54f6d8=_0x54f6d8['filter'](_0x263df4=>!_0x263df4['name']||'revision-start'!==_0x263df4['name']&&'revision-end'!==_0x263df4['name']))['forEach'](_0x3c113e=>{'string'!=typeof _0x3c113e&&(_0x3c113e['children']=this['_removeRevisionMarkers'](_0x3c113e['children']),_0x3c113e['attributes']=_0x3c113e['attributes']['filter'](_0x420cd2=>!_0x420cd2[0x0]['startsWith']('data-revision-')));}),_0x54f6d8;}async['compare'](_0x9a1387,_0x2f8f06,_0xaee31b=!0x1){if(!this['isEnabled'])return;const _0x531cf7=this['diff'],_0x6c7c1a=this['repository'],_0x3ded32='string'==typeof _0x9a1387?_0x6c7c1a['getRevision'](_0x9a1387):_0x9a1387,_0x807a13='string'==typeof _0x2f8f06?_0x6c7c1a['getRevision'](_0x2f8f06):_0x2f8f06,_0x291cd2=_0x3ded32['id'],_0x24312a=_0x807a13?_0x807a13['id']:null;if(!_0xaee31b&&this['diff']&&this['diff']['newRevisionId']===_0x291cd2&&this['diff']['oldRevisionId']===_0x24312a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x291cd2,_0x24312a);const _0x5aaddc=this['_getRevisionsRange'](_0x3ded32,_0x807a13,!0x0)['map'](_0x3f1ab1=>this['loadRevisionData'](_0x3f1ab1));return _0x5aaddc['push'](new Promise(_0x1f8daf=>{setTimeout(_0x1f8daf,0x14);})),Promise['all'](_0x5aaddc)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x45788c=this['_getDiff'](_0x291cd2,_0x24312a);for(const _0x2a0f53 of _0x45788c['changes'])this['_changeIdToChange']['set'](_0x2a0f53['id'],_0x2a0f53);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x308f73=>{for(const _0x3c961a of this['editor']['model']['document']['getRootNames']())_0x308f73['detachRoot'](_0x3c961a);for(const _0x25df5f of Object['keys'](_0x45788c['model'])){const _0x40b8c8=_0x308f73['addRoot'](_0x25df5f);for(const _0x48f206 of Object['keys'](_0x45788c['attributes'][_0x25df5f]))_0x308f73['setAttribute'](_0x48f206,_0x45788c['attributes'][_0x25df5f][_0x48f206],_0x40b8c8);_0x308f73['insert'](_0x45788c['model'][_0x25df5f],_0x40b8c8,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x45788c['changes'])),this['isReady']=!0x0;})['catch'](_0x2ad91d=>{console['error'](_0x2ad91d),this['_cleanUp'](),_0x531cf7&&(this['diff']=_0x531cf7),this['isReady']=!0x0;});}['addRevisionData'](_0x121add,_0x31dea2){const _0x1e2bf6=this['repository']['createRevision'](_0x121add);return _0x1e2bf6['on']('_update',(_0x124217,_0xcfa248,_0x3596f4)=>_0x31dea2(_0xcfa248,_0x3596f4,_0x1e2bf6)),this['repository']['addRevision'](_0x1e2bf6),_0x1e2bf6;}['loadRevisionData'](_0x24f8b1){if(!_0x24f8b1||_0x24f8b1['diffData'])return Promise['resolve']();{const _0x5db19e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5db19e,'revisionId':_0x24f8b1['id']})['then'](_0x43e77f=>{_0x24f8b1['_update']({'diffData':_0x43e77f['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},_0x149a7d=>{for(const _0x599fb4 of this['editor']['model']['document']['getRootNames']())_0x149a7d['detachRoot'](_0x599fb4);});}['_sortAndFilterDiffChanges'](_0x391cde){const _0x2294d9=[],_0x2a7107=new Map();for(const _0x11a447 of this['editor']['model']['document']['getRootNames']()){const _0x227a6c=this['editor']['editing']['view']['getDomRoot'](_0x11a447);if(!_0x227a6c)continue;const _0x872df6=_0x227a6c['getClientRects']()['item'](0x0);_0x872df6&&(_0x2294d9['push'](_0x11a447),_0x2a7107['set'](_0x11a447,_0x872df6));}return _0x2294d9['sort']((_0x5c3f92,_0x5b5b10)=>{const _0x1370cf=_0x2a7107['get'](_0x5c3f92),_0x323fbe=_0x2a7107['get'](_0x5b5b10);return _0x1370cf['y']-_0x323fbe['y']||_0x1370cf['x']-_0x323fbe['x'];}),(_0x391cde=_0x391cde['filter'](_0x42d776=>_0x2294d9['includes'](_0x42d776['rootName'])))['sort']((_0x4b9a00,_0x208236)=>_0x2294d9['indexOf'](_0x4b9a00['rootName'])-_0x2294d9['indexOf'](_0x208236['rootName'])),_0x391cde;}['_makeTape'](_0x47cd75){const _0x1f3fd4=Array['from'](_0x47cd75['markers'])['filter'](([_0x5d3324,_0x596413])=>_0x5d3324['startsWith']('revision:')&&!_0x596413['isCollapsed']),_0x5c6af1=Array['from'](this['editor']['model']['createRangeIn'](_0x47cd75)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1f3fd4['length'])for(const _0x44df3d of _0x5c6af1){const [_0x4ef232,_0x38cf9f]=_0x1f3fd4[0x0],[,_0x48e172,_0x3333be]=_0x4ef232['split'](':');if(_0x38cf9f['end']['isEqual'](_0x44df3d['nextPosition'])&&_0x1f3fd4['shift'](),(_0x44df3d['previousPosition']['isEqual'](_0x38cf9f['start'])||_0x44df3d['previousPosition']['isAfter'](_0x38cf9f['start']))&&('insertion'==_0x48e172?_0x44df3d['isAdded']={'userId':_0x3333be}:'deletion'==_0x48e172&&(_0x44df3d['isRemoved']={'userId':_0x3333be})),0x0==_0x1f3fd4['length'])break;}return _0x5c6af1;}['_refreshStartEndIndex'](_0x186f59){const _0xbd4939=new Map();for(let _0xeec562=0x0;_0xeec562<_0x186f59['length'];_0xeec562++)'text'===_0x186f59[_0xeec562]['type']?(_0x186f59[_0xeec562]['item']['startIndex']=_0xeec562,_0x186f59[_0xeec562]['item']['endIndex']=_0xeec562):('elementStart'===_0x186f59[_0xeec562]['type']?_0x186f59[_0xeec562]['item']['startIndex']=_0xeec562:'elementEnd'===_0x186f59[_0xeec562]['type']&&(_0x186f59[_0xeec562]['item']['endIndex']=_0xeec562),_0xbd4939['set'](_0x186f59[_0xeec562]['id'],_0xeec562));for(const _0x49cafb of _0xbd4939['values']())'elementStart'===_0x186f59[_0x49cafb]['type']?_0x186f59[_0x49cafb]['item']['endIndex']=_0xbd4939['get'](_0x186f59[_0x49cafb]['pairId']):'elementEnd'===_0x186f59[_0x49cafb]['type']&&(_0x186f59[_0x49cafb]['item']['startIndex']=_0xbd4939['get'](_0x186f59[_0x49cafb]['pairId']));}['_processTape'](_0x5fc5e9){for(let _0xec4756=0x0;_0xec4756<_0x5fc5e9['length'];_0xec4756++){if('elementStart'===_0x5fc5e9[_0xec4756]['type'])_0x5fc5e9[_0xec4756]['item']['startIndex']=_0xec4756;else{if('elementEnd'===_0x5fc5e9[_0xec4756]['type']){_0x5fc5e9[_0xec4756]['item']['endIndex']=_0xec4756;const _0x2516c5=_0x5fc5e9[_0xec4756]['item']['startIndex'];_0x5fc5e9[_0x2516c5]['pairId']=_0x5fc5e9[_0xec4756]['id'],_0x5fc5e9[_0xec4756]['pairId']=_0x5fc5e9[_0x2516c5]['id'];}else _0x5fc5e9[_0xec4756]['item']['startIndex']=_0xec4756,_0x5fc5e9[_0xec4756]['item']['endIndex']=_0xec4756,_0x5fc5e9[_0xec4756]['pairId']=null;}_0x5fc5e9[_0xec4756]['markersStart']||(_0x5fc5e9[_0xec4756]['markersStart']=[],_0x5fc5e9[_0xec4756]['markersEnd']=[]);}}['_markInsertions'](_0x1a0877,_0x2699de){const _0x51476b=_0x1a0877['filter'](_0x41afc6=>!_0x41afc6['isAdded']);for(let _0x554db7=0x0;_0x554db7<_0x2699de['length'];_0x554db7++)_0x2699de[_0x554db7]['isAdded']&&(_0x51476b[_0x554db7]['isAdded']=_0x2699de[_0x554db7]['isAdded']);}['_makeModelFromViewString'](_0x195241){const _0x1b1485=JSON['parse'](_0x195241),_0x2895c5=this['editor']['editing']['view']['document'],_0x5f539d=new _0x2d1c58(_0x2895c5,_0x1b1485['map'](_0x11bc52=>this['_getViewObj'](_0x11bc52)));return this['editor']['data']['toModel'](_0x5f539d);}['_getViewObj'](_0x5dbf43){const _0x9f978b=this['editor']['editing']['view']['document'];if('string'==typeof _0x5dbf43)return new _0x208f82(_0x9f978b,_0x5dbf43);{const _0x116316=_0x5dbf43['children']['map'](_0x2903af=>this['_getViewObj'](_0x2903af));return new(tt[_0x5dbf43['type']]||_0x4fe726)(_0x9f978b,_0x5dbf43['name'],_0x5dbf43['attributes'],_0x116316);}}['_getDiff'](_0x1014b9,_0x35a602=null){const _0x3249d2=this['repository']['getRevision'](_0x1014b9),_0x45c4cc=_0x35a602?this['repository']['getRevision'](_0x35a602):null,_0x4c21cd=this['_getRevisionsRange'](_0x3249d2,_0x45c4cc),_0x389b05=_0x4c21cd[_0x4c21cd['length']-0x1],_0x50c7fa=new Map(),_0x4c5ed4={'model':{},'attributes':{},'changes':[]},_0x55e289=new Set(),_0x9b5b67=new Map();for(let _0x4a918a=_0x4c21cd['length']-0x1;_0x4a918a>=0x0;_0x4a918a--){const _0x4d926d=_0x4c21cd[_0x4a918a];for(const _0x1f4f1b of Object['keys'](_0x4d926d['diffData']))if(_0x4d926d['diffData'][_0x1f4f1b]['attachChange']){const _0x27ea29=_0x4d926d['diffData'][_0x1f4f1b]['attachChange'];_0x27ea29['isAttached']?(_0x55e289['add'](_0x1f4f1b),_0x9b5b67['has'](_0x1f4f1b)&&_0x9b5b67['get'](_0x1f4f1b)['userId']==_0x27ea29['userId']?_0x9b5b67['delete'](_0x1f4f1b):_0x9b5b67['set'](_0x1f4f1b,_0x27ea29)):_0x9b5b67['has'](_0x1f4f1b)?(_0x55e289['delete'](_0x1f4f1b),_0x9b5b67['delete'](_0x1f4f1b)):(_0x55e289['add'](_0x1f4f1b),_0x9b5b67['set'](_0x1f4f1b,_0x27ea29));}else _0x55e289['add'](_0x1f4f1b);}for(const _0xe2ac7e of _0x55e289){const _0x149416=_0x9b5b67['has'](_0xe2ac7e)&&!_0x9b5b67['get'](_0xe2ac7e)['isAttached'];let _0x3fed81=_0x149416?_0x4c21cd['length']-0x1:0x0;const _0x4d724f=_0x149416?-0x1:0x1;for(;_0x4c21cd[_0x3fed81];){const _0x1f37bd=_0x4c21cd[_0x3fed81];if(_0x1f37bd['diffData'][_0xe2ac7e]){const _0x29d0d5=_0x149416?_0x1f37bd['diffData'][_0xe2ac7e]['attributesBefore']:_0x1f37bd['diffData'][_0xe2ac7e]['attributesAfter'];_0x4c5ed4['attributes'][_0xe2ac7e]=_0x29d0d5?_0x1f12f9(_0x29d0d5):{};break;}_0x3fed81+=_0x4d724f;}}for(const _0x49416b of _0x4c21cd){_0x49416b['model']={};for(const _0x46bcd4 of _0x49416b['authors'])_0x50c7fa['set'](_0x46bcd4['id'],_0x46bcd4);for(const _0x335f57 of _0x55e289){const _0x4283c9=_0x49416b['diffData'][_0x335f57]?_0x49416b['diffData'][_0x335f57]['insertions']:'[]',_0x315fc4=_0x49416b['diffData'][_0x335f57]?_0x49416b['diffData'][_0x335f57]['deletions']:'[]';_0x49416b['model'][_0x335f57]={'insertions':this['_makeModelFromViewString'](_0x4283c9),'deletions':this['_makeModelFromViewString'](_0x315fc4)};}}for(const _0x47dd9a of _0x55e289){let _0x57a87b=null,_0x1a9d42=0x0;const _0x15dc75=new Map(Array['from'](_0x3249d2['model'][_0x47dd9a]['insertions']['markers'])['filter'](([_0xda083b])=>!_0xda083b['startsWith']('revision:')));let _0x5a6afb=0x0;for(const _0x46a198 of _0x4c21cd){const _0x2e7e2f=this['_makeTape'](_0x46a198['model'][_0x47dd9a]['insertions']);_0x46a198==_0x3249d2?(_0x57a87b=_0x2e7e2f,_0x1a9d42=_0x57a87b['length'],_0x57a87b['forEach'](_0x327bef=>{_0x327bef['id']=_0x5a6afb++;}),this['_processTape'](_0x57a87b)):this['_markInsertions'](_0x57a87b,_0x2e7e2f);const _0x5a9ec8=_0x57a87b['filter'](_0x471335=>!_0x471335['isAdded'])['map'](_0x538089=>_0x538089['id']);let _0x5cfd39=0x0;const _0x337394=this['_makeTape'](_0x46a198['model'][_0x47dd9a]['deletions']);_0x337394['forEach'](_0xcc4bc0=>{_0xcc4bc0['isRemoved']?_0xcc4bc0['id']=_0x1a9d42++:_0xcc4bc0['id']=_0x5a9ec8[_0x5cfd39++];}),this['_processTape'](_0x337394),this['_setDistance'](_0x57a87b,'isAdded'),this['_setDistance'](_0x337394,'isRemoved'),_0x46a198==_0x3249d2&&this['_markMarkers'](_0x57a87b,_0x15dc75),_0x57a87b=this['_joinTapes'](_0x57a87b,_0x337394),this['_refreshStartEndIndex'](_0x57a87b),this['_setDistance'](_0x57a87b,'isRemoved');}_0x57a87b=_0x57a87b['filter'](_0x8527eb=>!(_0x8527eb['isAdded']&&_0x8527eb['isRemoved']));const _0x4d7292=new Map(_0x389b05['model'][_0x47dd9a]['deletions']['markers']),_0x247610=new Set(_0x15dc75['keys']());for(const _0x5e90eb of _0x4d7292['keys']())_0x247610['delete'](_0x5e90eb);this['_markSuggestions'](_0x57a87b,_0x247610),this['_fixObsoleteTags'](_0x57a87b),_0x57a87b=this['_removeMissingPairs'](_0x57a87b),_0x57a87b=this['_markMismatchedRemovedTags'](_0x57a87b),_0x57a87b=this['_removeUnsupportedChanges'](_0x57a87b);const {root:_0x141967,changes:_0x2ab1db}=this['_makeModelFromTape'](_0x57a87b,_0x50c7fa,_0x47dd9a);_0x4c5ed4['model'][_0x47dd9a]=_0x141967;const _0x3c29ba=_0x9b5b67['get'](_0x47dd9a);if(_0x3c29ba){const _0x5224fa=_0x50c7fa['get'](_0x3c29ba['userId']),_0x54a8a0=new r({'author':_0x5224fa,'type':_0x3c29ba['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x47dd9a});_0x2ab1db['unshift'](_0x54a8a0),_0x4c5ed4['attributes'][_0x47dd9a]['revisionHistoryAttachChange']=_0x54a8a0['id'];}_0x4c5ed4['changes']=_0x4c5ed4['changes']['concat'](_0x2ab1db);}return _0x4c5ed4;}['_markMarkers'](_0x192928,_0xb8d26e){for(let _0x3f9995=0x0;_0x3f9995<_0x192928['length'];_0x3f9995++)for(const [_0x108515,_0x443888]of _0xb8d26e)_0x443888['start']['isEqual'](_0x192928[_0x3f9995]['previousPosition'])&&_0x192928[_0x3f9995]['markersStart']['push'](_0x108515),_0x443888['end']['isEqual'](_0x192928[_0x3f9995]['nextPosition'])&&_0x192928[_0x3f9995]['markersEnd']['push'](_0x108515);}['_joinTapes'](_0xb3565a,_0x51eab9){let _0x488f56=[],_0x58ba17=0x0,_0x244268=0x0;for(;_0x58ba17<_0xb3565a['length']||_0x244268<_0x51eab9['length'];){const _0x1461f7=_0xb3565a[_0x58ba17]||{},_0x290699=_0x51eab9[_0x244268]||{};if(_0x1461f7['id']==_0x290699['id'])_0x58ba17++,_0x244268++,_0x488f56['push'](_0x1461f7);else{if(_0x290699['isRemoved']&&_0x1461f7['isAdded']){const {commonTape:_0x1beb7b,iEnd:_0x2d2b23,jEnd:_0x4ae64e}=this['_threeWayMerge'](_0xb3565a,_0x58ba17,_0x51eab9,_0x244268);_0x488f56=_0x488f56['concat'](_0x1beb7b),_0x58ba17=_0x2d2b23,_0x244268=_0x4ae64e;}else _0x290699['isRemoved']?(_0x244268++,_0x488f56['push'](_0x290699)):(_0x58ba17++,_0x488f56['push'](_0x1461f7));}}return _0x488f56;}['_markSuggestions'](_0x2b9220,_0x1b1f05){const _0x6373ad=[];for(let _0x4107d2=0x0;_0x4107d2<_0x2b9220['length'];_0x4107d2++){for(let _0x524f8c=0x0;_0x524f8c<_0x2b9220[_0x4107d2]['markersStart']['length'];_0x524f8c++){const _0x5abaa0=_0x2b9220[_0x4107d2]['markersStart'][_0x524f8c];if(!_0x1b1f05['has'](_0x5abaa0))continue;const {group:_0x4e5c3b,type:_0x1a9eb7,authorId:_0x2efb84}=_0x3dcfe0(_0x5abaa0);'revision-suggestion'!=_0x4e5c3b||'insertion'!=_0x1a9eb7&&'deletion'!=_0x1a9eb7||(_0x6373ad['unshift']({'type':_0x1a9eb7,'name':_0x5abaa0,'userId':_0x2efb84}),_0x2b9220[_0x4107d2]['markersStart']['splice'](_0x524f8c,0x1),_0x524f8c--);}_0x2fb1a2(_0x2b9220[_0x4107d2]);for(let _0x4e2d38=0x0;_0x4e2d38<_0x2b9220[_0x4107d2]['markersEnd']['length'];_0x4e2d38++){const _0x89462a=_0x2b9220[_0x4107d2]['markersEnd'][_0x4e2d38];if(!_0x1b1f05['has'](_0x89462a))continue;const {group:_0x3513f0,type:_0x8f3f66}=_0x3dcfe0(_0x89462a);if('revision-suggestion'!=_0x3513f0||'insertion'!=_0x8f3f66&&'deletion'!=_0x8f3f66)continue;_0x2b9220[_0x4107d2]['markersEnd']['splice'](_0x4e2d38,0x1),_0x4e2d38--;const _0x554fbe=_0x6373ad['findIndex'](_0x55c9f3=>_0x55c9f3['name']==_0x89462a);_0x554fbe>-0x1&&_0x6373ad['splice'](_0x554fbe,0x1);}}function _0x3dcfe0(_0x5ce6a2){const _0x5c9c72=_0x5ce6a2['split'](':');return{'group':_0x5c9c72[0x0],'type':_0x5c9c72[0x1],'subType':_0x5c9c72['length']>=0x5?_0x5c9c72[0x2]:null,'id':_0x5c9c72['length']<0x5?_0x5c9c72[0x2]:_0x5c9c72[0x3],'authorId':_0x5c9c72['length']<0x5?_0x5c9c72[0x3]:_0x5c9c72[0x4],'markerCount':0x6==_0x5c9c72['length']?_0x5c9c72[0x5]:null};}function _0x2fb1a2(_0x55c8af){for(let _0x3609b1=0x0;_0x3609b1<_0x6373ad['length'];_0x3609b1++){if(_0x55c8af['isAdded']&&'insertion'==_0x6373ad[_0x3609b1]['type'])return _0x55c8af['isAddSuggestion']=_0x6373ad[_0x3609b1],void delete _0x55c8af['isAdded'];if(!_0x55c8af['isAdded']&&!_0x55c8af['isRemoved']&&'deletion'==_0x6373ad[_0x3609b1]['type'])return void(_0x55c8af['isRemoveSuggestion']=_0x6373ad[_0x3609b1]);}}}['_setDistance'](_0x3e9947,_0x5deddb){let _0x43becc=0x0,_0x3c712e=!0x1;const _0x1b2da3=new Map();for(const _0x3f40f0 of _0x3e9947)_0x3f40f0[_0x5deddb]?_0x3c712e&&(_0x43becc++,_0x3c712e=!0x1):(_0x43becc++,_0x3c712e=!0x0),_0x1b2da3['set'](_0x3f40f0['id'],_0x43becc);for(let _0x47226d=0x0;_0x47226d<_0x3e9947['length'];_0x47226d++){if('isRemoved'==_0x5deddb&&_0x3e9947[_0x47226d]['isAdded']||'isAdded'==_0x5deddb&&_0x3e9947[_0x47226d]['isRemoved'])continue;if('text'==_0x3e9947[_0x47226d]['type']){_0x3e9947[_0x47226d]['distance']=0x0;continue;}const _0x37366e=_0x1b2da3['get'](_0x3e9947[_0x47226d]['pairId']),_0x295473=_0x1b2da3['get'](_0x3e9947[_0x47226d]['id']);_0x3e9947[_0x47226d]['distance']=_0x37366e-_0x295473;}}['_getRevisionsRange'](_0x30fdc6,_0x5264c2,_0x5306b5=!0x1){const _0xcbd237=[];let _0x22c59f=this['repository']['getIndex'](_0x30fdc6),_0x330e01=this['repository']['getIndex'](_0x5264c2);for(-0x1==_0x330e01&&(_0x330e01=this['repository']['_revisions']['length'],_0x5306b5=!0x1);_0x22c59f<_0x330e01;)_0xcbd237['push'](this['repository']['getRevision'](_0x22c59f)),_0x22c59f++;return _0x5306b5&&_0xcbd237['push'](this['repository']['getRevision'](_0x22c59f)),_0xcbd237;}['_threeWayMerge'](_0x261356,_0x1ea145,_0x5caad9,_0x35b285){const _0x507a92=this['editor']['model']['schema'];let _0x13e67d=_0x1ea145;for(;_0x261356[_0x13e67d]&&_0x261356[_0x13e67d]['isAdded'];)_0x13e67d++;let _0x5c6867=_0x35b285;for(;_0x5caad9[_0x5c6867]&&_0x5caad9[_0x5c6867]['isRemoved'];)_0x5c6867++;_0x2d1590(_0x261356,_0x1ea145,_0x13e67d),_0x2d1590(_0x5caad9,_0x35b285,_0x5c6867);const _0x1e19a2=_0x5caad9['slice'](_0x35b285,_0x5c6867)['concat'](_0x261356['slice'](_0x1ea145,_0x13e67d));return _0x1e19a2['sort']((_0x9fc09d,_0xcfd718)=>_0x9fc09d['side']!=_0xcfd718['side']?_0x9fc09d['side']-_0xcfd718['side']:_0x9fc09d['level']!=_0xcfd718['level']?_0x9fc09d['level']-_0xcfd718['level']:_0x9fc09d['distance']!=_0xcfd718['distance']?_0xcfd718['distance']-_0x9fc09d['distance']:!!_0x9fc09d['isAdded']!=!!_0xcfd718['isAdded']?-0x1==_0x9fc09d['side']||0x0==_0x9fc09d['side']?_0x9fc09d['isAdded']?-0x1:0x1:_0x9fc09d['isAdded']?0x1:-0x1:_0x9fc09d['index']-_0xcfd718['index']),{'commonTape':_0x1e19a2,'iEnd':_0x13e67d,'jEnd':_0x5c6867};function _0x2d1590(_0x314d0a,_0xd34256,_0x59adde){let _0x34a136=-0x1,_0x56ffb5=Number['POSITIVE_INFINITY'],_0x3a43a7=!0x0;for(let _0x27d846=_0xd34256;_0x27d846<_0x59adde;_0x27d846++)if(_0x507a92['isInline'](_0x314d0a[_0x27d846]['item'])||(_0x3a43a7=!0x1),_0x314d0a[_0x27d846]['item']['startIndex']<_0xd34256&&(_0x34a136=_0x27d846),_0x314d0a[_0x27d846]['item']['endIndex']>=_0x59adde){_0x56ffb5=_0x27d846;break;}_0x3a43a7&&(_0x34a136=_0x59adde-0x1);for(let _0x57ff7f=_0xd34256;_0x57ff7f<_0x59adde;_0x57ff7f++)_0x314d0a[_0x57ff7f]['side']=_0x57ff7f<=_0x34a136?-0x1:_0x57ff7f<_0x56ffb5?0x0:0x1,_0x314d0a[_0x57ff7f]['index']=_0x57ff7f;let _0x5954e5=0x0;for(let _0x3e481c=_0xd34256;_0x3e481c<=_0x34a136;_0x3e481c++)0x0==_0x314d0a[_0x3e481c]['distance']?_0x314d0a[_0x3e481c]['level']=_0x5954e5:(_0x5954e5++,_0x314d0a[_0x3e481c]['level']=_0x5954e5,_0x5954e5++);for(let _0x2b17ed=_0xd34256;_0x2b17ed<_0x59adde;_0x2b17ed++)0x0==_0x314d0a[_0x2b17ed]['side']&&(_0x314d0a[_0x2b17ed]['level']=_0x5954e5);_0x5954e5=0x0;for(let _0x5b784b=_0x59adde-0x1;_0x5b784b>=_0x56ffb5;_0x5b784b--)0x0==_0x314d0a[_0x5b784b]['distance']?_0x314d0a[_0x5b784b]['level']=_0x5954e5:(_0x5954e5--,_0x314d0a[_0x5b784b]['level']=_0x5954e5,_0x5954e5--);}}['_fixObsoleteTags'](_0x410892){const _0x12da25=new Map(),_0x334a4e=this['editor']['model']['schema'];for(let _0x7d6311=0x1;_0x7d6311<_0x410892['length'];_0x7d6311++){let _0x4ad3b0,_0x139437,_0x29724e;const _0x613d50=_0x410892[_0x7d6311],_0x42e969=_0x410892[_0x7d6311-0x1];if('text'==_0x613d50['type'])continue;if(_0x613d50['type']!=_0x42e969['type'])continue;if(!_0x334a4e['isBlock'](_0x42e969['item'])||_0x334a4e['isLimit'](_0x42e969['item']))continue;if(!_0x334a4e['isBlock'](_0x613d50['item'])||_0x334a4e['isLimit'](_0x613d50['item']))continue;if((_0x410892[_0x7d6311]['isAdded']||_0x410892[_0x7d6311]['isAddSuggestion'])&&_0x410892[_0x7d6311-0x1]['isRemoved'])_0x4ad3b0=_0x410892[_0x7d6311],_0x139437=_0x410892[_0x7d6311-0x1],_0x29724e=_0x7d6311-0x1;else{if(!_0x410892[_0x7d6311]['isRemoved']||!_0x410892[_0x7d6311-0x1]['isAdded']&&!_0x410892[_0x7d6311-0x1]['isAddSuggestion'])continue;_0x4ad3b0=_0x410892[_0x7d6311-0x1],_0x139437=_0x410892[_0x7d6311],_0x29724e=_0x7d6311;}const _0x1c67bc=_0x4ad3b0['level']==_0x139437['level'],_0x11db55=Math['abs'](_0x4ad3b0['level'])<Math['abs'](_0x139437['level'])&&0x0==_0x139437['distance'];(_0x1c67bc||_0x11db55)&&(_0x12da25['set'](_0x139437['id'],_0x4ad3b0['id']),_0x410892['splice'](_0x29724e,0x1),_0x7d6311--,_0x4ad3b0['isAdded']=!0x1);}for(let _0xec635d=0x0;_0xec635d<_0x410892['length'];_0xec635d++)_0x12da25['has'](_0x410892[_0xec635d]['pairId'])&&(_0x410892[_0xec635d]['pairId']=_0x12da25['get'](_0x410892[_0xec635d]['pairId']));}['_removeMissingPairs'](_0x870af1){const _0x4d0dc7=new Set(_0x870af1['map'](_0x599b9c=>_0x599b9c['id']));for(let _0x3d5a1b=0x0;_0x3d5a1b<_0x870af1['length'];_0x3d5a1b++)_0x4d0dc7['has'](_0x870af1[_0x3d5a1b]['pairId'])||0x0==_0x870af1[_0x3d5a1b]['distance']||(_0x870af1[_0x3d5a1b]['isIncorrect']=!0x0);return _0x870af1['filter'](_0x474d08=>!_0x474d08['isIncorrect']);}['_markMismatchedRemovedTags'](_0x29c896){const _0xd8cbd=new Set();for(let _0x32b13d=0x0;_0x32b13d<_0x29c896['length'];_0x32b13d++){if(_0xd8cbd['has'](_0x29c896[_0x32b13d]['id'])&&_0x29c896[_0x32b13d]['isRemoved']&&(_0x29c896[_0x32b13d]['isIncorrect']=!0x0),_0x29c896[_0x32b13d]['isIncorrect'])continue;if(0x0==_0x29c896[_0x32b13d]['distance'])continue;if('elementStart'!=_0x29c896[_0x32b13d]['type'])continue;if(null==_0x29c896[_0x32b13d]['pairId'])continue;let _0x42b6a7=_0x32b13d+0x1,_0x5a0c75=0x0;for(;_0x29c896[_0x42b6a7]['id']!=_0x29c896[_0x32b13d]['pairId'];)'elementStart'==_0x29c896[_0x42b6a7]['type']?_0x5a0c75++:'elementEnd'==_0x29c896[_0x42b6a7]['type']&&_0x5a0c75--,_0x42b6a7++;if(0x0!=_0x5a0c75){if(_0x29c896[_0x32b13d]['isRemoved'])_0x29c896[_0x32b13d]['isIncorrect']=!0x0;else{for(;_0x42b6a7!=_0x32b13d;)_0x29c896[_0x42b6a7]['isRemoved']&&0x0!=_0x29c896[_0x42b6a7]['distance']&&(_0x29c896[_0x42b6a7]['isIncorrect']=!0x0,_0xd8cbd['add'](_0x29c896[_0x42b6a7]['pairId'])),_0x42b6a7--;}}}return _0x29c896['filter'](_0x2151e3=>!_0x2151e3['isIncorrect']);}['_removeUnsupportedChanges'](_0x405a4b){const _0x4c2444=this['editor']['model']['schema'];for(let _0x2bb8a8=0x0;_0x2bb8a8<_0x405a4b['length'];_0x2bb8a8++){if(!(_0x405a4b[_0x2bb8a8]['isAdded']||_0x405a4b[_0x2bb8a8]['isAddSuggestion']||_0x405a4b[_0x2bb8a8]['isRemoved']||_0x405a4b[_0x2bb8a8]['isRemoveSuggestion']))continue;if(0x0==_0x405a4b[_0x2bb8a8]['distance'])continue;const _0x1856cf=_0x405a4b[_0x2bb8a8]['item'];_0x4c2444['isBlock'](_0x1856cf)||_0x4c2444['isLimit'](_0x1856cf)||(_0x405a4b[_0x2bb8a8]['isAdded']&&delete _0x405a4b[_0x2bb8a8]['isAdded'],_0x405a4b[_0x2bb8a8]['isAddSuggestion']&&delete _0x405a4b[_0x2bb8a8]['isAddSuggestion'],_0x405a4b[_0x2bb8a8]['isRemoveSuggestion']&&delete _0x405a4b[_0x2bb8a8]['isRemoveSuggestion'],_0x405a4b[_0x2bb8a8]['isRemoved']&&(_0x405a4b[_0x2bb8a8]['isIncorrect']=!0x0));}return _0x405a4b['filter'](_0x59ee4b=>!_0x59ee4b['isIncorrect']);}['_makeModelFromTape'](_0x376ab0,_0x2d59e5,_0x52e246){const _0x1125f2=new _t(),_0x4c803f=[],_0x27f268=new Map(),_0x5418be=this['editor']['model'],_0x424b57=_0x5418be['schema'],_0xeaf260=[_0x1125f2],_0x4de1a4={},_0x30455e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x20d306=null;const _0x801905=[0x0];for(let _0x1f89da=0x0;_0x1f89da<_0x376ab0['length'];_0x1f89da++){let _0x503172,_0x4e20b4;if('elementStart'===_0x376ab0[_0x1f89da]['type']){_0x503172=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905);const _0x5bd9e8=new ft(_0x376ab0[_0x1f89da]['item']['name'],_0x376ab0[_0x1f89da]['item']['getAttributes']());_0xeaf260[0x0]['_appendChild'](_0x5bd9e8),_0x801905['push'](0x0),_0xeaf260['unshift'](_0x5bd9e8),_0x4e20b4=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x20d306=null;}else{if('elementEnd'===_0x376ab0[_0x1f89da]['type'])_0xeaf260['shift'](),_0x503172=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x801905['pop'](),_0x801905[_0x801905['length']-0x1]++,_0x4e20b4=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x20d306=null;else{if(_0x503172=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x20d306&&_0x333935(_0x20d306,_0x376ab0[_0x1f89da]['item']))_0x20d306['_data']+=_0x376ab0[_0x1f89da]['item']['data'];else{const _0x340642=new yt(_0x376ab0[_0x1f89da]['item']['data'],_0x376ab0[_0x1f89da]['item']['getAttributes']());_0xeaf260[0x0]['_appendChild'](_0x340642),_0x20d306=_0x340642;}_0x801905[_0x801905['length']-0x1]+=_0x376ab0[_0x1f89da]['item']['offsetSize'],_0x4e20b4=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905);}}for(const _0x4b8091 of _0x376ab0[_0x1f89da]['markersStart'])_0x27f268['set'](_0x4b8091,{'start':_0x503172,'end':null});_0x1730ef('isRemoveSuggestion',_0x1f89da,_0x503172,_0x4e20b4),_0x1730ef('isAddSuggestion',_0x1f89da,_0x503172,_0x4e20b4),_0x1730ef('isRemoved',_0x1f89da,_0x503172,_0x4e20b4),_0x1730ef('isAdded',_0x1f89da,_0x503172,_0x4e20b4);for(const _0x1c1505 of _0x376ab0[_0x1f89da]['markersEnd']){_0x27f268['get'](_0x1c1505)['end']=_0x4e20b4;}}for(const [_0x85e251,_0x5e1c02]of _0x27f268){const _0x10099d=this['editor']['model']['createRange'](_0x5e1c02['start'],_0x5e1c02['end']);_0x1125f2['markers']['set'](_0x85e251,_0x10099d);}return _0x4c803f['sort']((_0x2bc689,_0x3e083e)=>{const _0xd57c29=_0x1125f2['markers']['get']('revision:'+_0x2bc689['id']),_0x43c09=_0x1125f2['markers']['get']('revision:'+_0x3e083e['id']);return _0xd57c29['start']['isBefore'](_0x43c09['start'])?-0x1:_0xd57c29['start']['isAfter'](_0x43c09['start'])?0x1:_0xd57c29['end']['isBefore'](_0x43c09['end'])?-0x1:_0xd57c29['end']['isAfter'](_0x43c09['end'])?0x1:'add'===_0x2bc689['type']?-0x1:0x1;}),{'root':_0x1125f2,'changes':_0x4c803f};function _0x1730ef(_0x5b1736,_0x3070be,_0x2bad43,_0xd3acf3){const _0x408062=!!_0x376ab0[_0x3070be][_0x5b1736],_0x77e9b1=_0x408062?_0x376ab0[_0x3070be][_0x5b1736]['userId']:null,_0x45a2ba=_0x3070be===_0x376ab0['length']-0x1,_0x2230cb=_0x30455e[_0x5b1736][0x0],_0x514e76=_0x424b57['isObject'](_0x376ab0[_0x3070be]['item']);!_0x4de1a4[_0x5b1736]&&_0x408062?_0x4de1a4[_0x5b1736]={'start':_0x2bad43,'tapeItem':_0x376ab0[_0x3070be],'userId':_0x77e9b1,'type':_0x5b1736}:_0x4de1a4[_0x5b1736]&&!_0x408062?(_0x4de1a4[_0x5b1736]['end']=_0x2bad43,_0x2f5321(_0x4de1a4[_0x5b1736]),_0x4de1a4[_0x5b1736]=null):_0x4de1a4[_0x5b1736]&&_0x408062&&_0x4de1a4[_0x5b1736]['userId']!==_0x77e9b1&&(_0x4de1a4[_0x5b1736]['end']=_0x2bad43,_0x2230cb&&_0x2230cb['userId']===_0x4de1a4[_0x5b1736]['userId']||_0x2f5321(_0x4de1a4[_0x5b1736]),_0x4de1a4[_0x5b1736]={'start':_0x2bad43,'tapeItem':_0x376ab0[_0x3070be],'userId':_0x77e9b1,'type':_0x5b1736}),_0x4de1a4[_0x5b1736]&&_0x514e76&&('elementStart'!==_0x376ab0[_0x3070be]['type']||_0x2230cb&&_0x2230cb['userId']===_0x77e9b1||_0x30455e[_0x5b1736]['unshift']({'userId':_0x77e9b1,'object':_0x376ab0[_0x3070be]['item'],'change':_0x4de1a4[_0x5b1736]}),'elementEnd'===_0x376ab0[_0x3070be]['type']&&_0x2230cb&&_0x2230cb['object']===_0x376ab0[_0x3070be]['item']&&(_0x30455e[_0x5b1736]['shift'](),_0x4de1a4[_0x5b1736]=_0x2230cb['change'])),_0x4de1a4[_0x5b1736]&&_0x45a2ba&&(_0x4de1a4[_0x5b1736]['end']=_0xd3acf3,_0x2f5321(_0x4de1a4[_0x5b1736]),_0x4de1a4[_0x5b1736]=null);}function _0x2f5321({start:_0x249cc8,end:_0x389b39,tapeItem:_0x32e1e7,userId:_0xb13c64,type:_0x2981ff}){const _0x223747=_0x32e1e7['item'],_0x1efe4d=_0x5418be['schema']['isBlock'](_0x223747)&&!_0x5418be['schema']['isLimit'](_0x223747),_0x56e2b7=_0x249cc8['nodeAfter']==_0x389b39['parent']&&_0x389b39['isAtStart'];if(_0x1efe4d&&_0x56e2b7)return;const _0x563c2f=_0x5418be['createRange'](_0x249cc8,_0x389b39),_0x25d589=_0x2d59e5['get'](_0xb13c64),_0x534898=new r({'author':_0x25d589,'type':'isAdded'==_0x2981ff||'isAddSuggestion'==_0x2981ff?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2981ff||'isRemoveSuggestion'==_0x2981ff},'createdAt':new Date(),'rootName':_0x52e246});_0x4c803f['push'](_0x534898),_0x1125f2['markers']['set']('revision:'+_0x534898['id'],_0x563c2f);}function _0x333935(_0x557a60,_0xce30fc){const _0x7c4731=_0x557a60['getAttributes'](),_0x59e19b=_0xce30fc['getAttributes']();for(const _0x318aa8 of _0x7c4731){if(_0x318aa8[0x1]!==_0xce30fc['getAttribute'](_0x318aa8[0x0]))return!0x1;_0x59e19b['next']();}return _0x59e19b['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x595dc1=>{const _0x4ec6d2=_0x595dc1['markerName']['split'](':')[0x1],_0x92cd86=this['_getChangeFromId'](_0x4ec6d2);if(!_0x92cd86)return null;const _0x43d438='add'==_0x92cd86['type']?'insertion':'deletion',_0x4bc834=['ck-suggestion-marker','ck-suggestion-marker-'+_0x43d438];return _0x92cd86['data']['isSuggestion']&&_0x4bc834['push']('ck-suggestion-marker-'+_0x43d438+'-new'),this['activeChange']==_0x92cd86&&_0x4bc834['push']('ck-suggestion-marker--active'),{'classes':_0x4bc834,'attributes':{'data-change-id':_0x4ec6d2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5380d2=>{_0x5380d2['on']('element:pre',(_0x3411a0,_0x52b731,_0x28a34a)=>{const _0x580481=_0x52b731['viewItem']['getChild'](0x0);if(!_0x580481||!_0x580481['is']('element','code'))return;if(!_0x28a34a['consumable']['consume'](_0x580481,{'attributes':['vid_start','vid_end']}))return;const _0x362311=_0x52b731['modelRange']['start']['nodeAfter'];_0x28a34a['writer']['setAttribute']('vid_start',_0x580481['getAttribute']('vid_start'),_0x362311),_0x28a34a['writer']['setAttribute']('vid_end',_0x580481['getAttribute']('vid_end'),_0x362311);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x52ed7a=>{_0x52ed7a['on']('element',(_0xbb70a1,_0x41d7ca,_0x1f7e3c)=>{if(!_0x1f7e3c['consumable']['consume'](_0x41d7ca['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x41d7ca['modelRange']['isCollapsed'])return;const _0x56dcf4=_0x41d7ca['modelRange']['start']['nodeAfter'];_0x56dcf4['hasAttribute']('vid_start')||_0x56dcf4['hasAttribute']('vid')||(_0x1f7e3c['writer']['setAttribute']('vid_start',_0x41d7ca['viewItem']['getAttribute']('vid_start'),_0x56dcf4),_0x1f7e3c['writer']['setAttribute']('vid_end',_0x41d7ca['viewItem']['getAttribute']('vid_end'),_0x56dcf4));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x475633=>_0x475633['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4fc53a,[,_0x1ace12])=>{['vid_start','vid_end','vid']['includes'](_0x1ace12)&&(_0x4fc53a['return']=!0x0,_0x4fc53a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x10341b=>{_0x10341b['on']('attribute:vid',(_0xdc8d4f,_0x1c2030,_0x14f4b0)=>{if('\x20'!=_0x1c2030['item']['data']||_0x1c2030['item']['parent']['maxOffset']>0x1)return;if(!_0x14f4b0['consumable']['consume'](_0x1c2030['item'],_0xdc8d4f['name']))return;const _0x13d8e9=_0x14f4b0['writer'],_0xdee074=_0x14f4b0['mapper']['toViewRange'](_0x1c2030['range']);_0x13d8e9['wrap'](_0xdee074,_0x13d8e9['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x43d06d){const _0x120c74=_0x43d06d['plugins']['get']('RevisionViewer');return(_0x2d6bcd,_0x26422b,_0x503f8a)=>{const _0x36b517=_0x26422b['markerName']['split'](':')[0x1],_0x4837a3=_0x120c74['_getChangeFromId'](_0x36b517);if(!_0x4837a3)return null;const _0x2e421f='add'==_0x4837a3['type']?'split':'merge';if(!_0x503f8a['consumable']['test'](_0x26422b['markerRange'],_0x2d6bcd['name']))return;const _0x4428bd=_0x26422b['markerRange']['getWalker'](),_0x57e3be=_0x26422b['markerRange']['start'],_0x57c4d5=_0x43d06d['model']['schema'];let _0x56d6f9=null,_0x101ea8=null,_0x25a2c9=!0x1,_0x4f5398=!0x1;for(const _0x96c0f4 of _0x4428bd){const _0x33905a=_0x96c0f4['item'];_0x25a2c9=_0x25a2c9||_0x57c4d5['isContent'](_0x33905a);const _0x583890=_0x503f8a['mapper']['toViewElement'](_0x33905a);if(_0x583890&&_0x583890['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x96c0f4['type']&&(_0x57c4d5['isBlock'](_0x33905a)&&!_0x57c4d5['isLimit'](_0x33905a)&&(_0x33905a['nextSibling']||_0x57e3be['isAtEnd']?_0x56d6f9&&_0x56d6f9['parent']==_0x33905a||(_0x56d6f9=_0x33905a,_0x48b785(_0x96c0f4['previousPosition']),_0x4f5398=!0x0):_0x101ea8=_0x101ea8||_0x96c0f4['previousPosition']));}function _0x48b785(_0x1bc5e5){const _0x1968ea=_0x503f8a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e421f}),_0x577795=_0x503f8a['mapper']['toViewPosition'](_0x1bc5e5);_0x4837a3['data']['isSuggestion']&&_0x503f8a['writer']['addClass']('ck-suggestion-marker-'+_0x2e421f+'-new',_0x1968ea),_0x120c74['activeChange']==_0x4837a3&&_0x503f8a['writer']['addClass']('ck-suggestion-marker--active',_0x1968ea),_0x503f8a['writer']['insert'](_0x577795,_0x1968ea),_0x503f8a['mapper']['bindElementToMarker'](_0x1968ea,_0x26422b['markerName']);}_0x25a2c9||_0x4f5398||!_0x101ea8||_0x48b785(_0x101ea8);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x49225f,_0x4550eb,_0xfb0116)=>{const _0xce2c37=_0xfb0116['mapper']['markerNameToElements'](_0x4550eb['markerName']);if(_0xce2c37){for(const _0x14f976 of _0xce2c37)(_0x14f976['hasClass']('ck-suggestion-marker-split')||_0x14f976['hasClass']('ck-suggestion-marker-merge'))&&(_0xfb0116['mapper']['unbindElementFromMarkerName'](_0x14f976,_0x4550eb['markerName']),_0xfb0116['writer']['remove'](_0x14f976));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1d54d1,_0x50cc6b,_0x3e9094)=>{const _0x3ee43b=_0x50cc6b['markerName']['split'](':')[0x1],_0x575411=this['_getChangeFromId'](_0x3ee43b);if(!_0x575411)return null;const _0x16d228='add'==_0x575411['type']?'split':'merge';if(_0x3e9094['consumable']['test'](_0x50cc6b['markerRange'],_0x1d54d1['name']))for(const _0x3b2778 of _0x50cc6b['markerRange']['getItems']()){if(!_0x3b2778['is']('element','softBreak'))continue;const _0x2c9f23=_0x3e9094['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x16d228}),_0x2226a0=_0x3e9094['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3b2778));_0x575411['data']['isSuggestion']&&_0x3e9094['writer']['addClass']('ck-suggestion-marker-'+_0x16d228+'-new',_0x2c9f23),this['activeChange']==_0x575411&&_0x3e9094['writer']['addClass']('ck-suggestion-marker--active',_0x2c9f23),_0x3e9094['writer']['insert'](_0x2226a0,_0x2c9f23),_0x3e9094['mapper']['bindElementToMarker'](_0x2c9f23,_0x50cc6b['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xea0d58=>{for(const _0x16c49c of this['editor']['model']['document']['getRootNames']()){const _0x3c7e65=this['editor']['model']['document']['getRoot'](_0x16c49c),_0x1e415f=this['editor']['editing']['view']['document']['getRoot'](_0x16c49c);if(_0x1e415f){const _0xb45a7d=_0x3c7e65['getAttribute']('revisionHistoryAttachChange');if(_0xea0d58['removeAttribute']('data-change-id',_0x1e415f),_0xea0d58['removeClass']('ck-revision-history-root-add',_0x1e415f),_0xea0d58['removeClass']('ck-revision-history-root-remove',_0x1e415f),_0xea0d58['removeClass']('ck-revision-history-root--active',_0x1e415f),_0xb45a7d){const _0x29620b=this['_getChangeFromId'](_0xb45a7d);if(!_0x29620b)return null;_0xea0d58['setAttribute']('data-change-id',_0xb45a7d,_0x1e415f),_0xea0d58['addClass']('ck-revision-history-root-'+_0x29620b['type'],_0x1e415f),this['activeChange']==_0x29620b&&_0xea0d58['addClass']('ck-revision-history-root--active',_0x1e415f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2af76a=>'revision-comment:'+_0x2af76a,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x463250=>'revision-suggestion:'+_0x463250,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x7f2b8f=>({'name':'suggestion:'+_0x7f2b8f,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x43c209=>{const _0x1977c3=_0x43c209['markerName']['split'](':')[0x1];return'insertion'!=_0x1977c3&&'deletion'!=_0x1977c3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1977c3]};}}),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',(_0x108a85,_0x262e9f,_0x27f7ea)=>{const _0xbc52cb=_0x27f7ea['mapper']['markerNameToElements'](_0x262e9f['markerName']);if(_0xbc52cb){for(const _0x1e3b30 of _0xbc52cb)_0x1e3b30['is']('uiElement')&&(_0x27f7ea['mapper']['unbindElementFromMarkerName'](_0x1e3b30,_0x262e9f['markerName']),_0x27f7ea['writer']['remove'](_0x1e3b30));}},{'priority':'high'});}['_getChangeFromId'](_0x4c8c26){return this['_changeIdToChange']['get'](_0x4c8c26);}['_getViewForChange'](_0xd51392){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xd51392),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4cdf2d,_0x43d2f2,_0x161b57,_0x4c59b7)=>{_0x4c59b7&&this['_balloon']['remove'](_0x4c59b7),_0x161b57&&(this['_balloon']['add']({'view':_0x161b57,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xf3e517=this['editor']['editing'],_0x47d13c=this['_getChangeFromId'](_0x161b57['changeId']);let _0x2a8c92;if(_0x47d13c['data']['isOnRoot']){const _0x864645=_0xf3e517['view']['getDomRoot'](_0x47d13c['rootName']);_0x2a8c92=Array['from'](_0x864645['getClientRects']());}else{const _0x6d3849=this['editor']['model']['markers']['get']('revision:'+_0x161b57['changeId']);_0x2a8c92=Array['from'](_0xf3e517['mapper']['markerNameToElements'](_0x6d3849['name']))['map'](_0x5b60a9=>_0xf3e517['view']['domConverter']['mapViewToDom'](_0x5b60a9))['map'](_0x1551f5=>Array['from'](_0x1551f5['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2a8c92[0x0];return _0x2a8c92['find'](_0x18c15f=>_0x18c15f['top']-0x3<=this['_activeViewTarget']['y']&&_0x18c15f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x18c15f['left']-0x3<=this['_activeViewTarget']['x']&&_0x18c15f['right']+0x3>=this['_activeViewTarget']['x'])||_0x2a8c92[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5d6eec,_0x13226b,_0x42556c,_0x25f83a)=>{this['activeView']=_0x42556c?this['_getViewForChange'](_0x42556c):null,this['editor']['model']['change'](()=>{const _0x3e1449=this['editor']['editing'];_0x25f83a&&(_0x25f83a['data']['isOnRoot']?_0x3e1449['view']['change'](_0xadbd50=>{_0xadbd50['removeClass']('ck-revision-history-root--active',_0x3e1449['view']['document']['getRoot'](_0x25f83a['rootName']));}):_0x3e1449['reconvertMarker']('revision:'+_0x25f83a['id'])),_0x42556c&&(_0x42556c['data']['isOnRoot']?_0x3e1449['view']['change'](_0xec6c2=>{_0xec6c2['addClass']('ck-revision-history-root--active',_0x3e1449['view']['document']['getRoot'](_0x42556c['rootName']));}):_0x3e1449['reconvertMarker']('revision:'+_0x42556c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x128912,_0x1c4336)=>{if(this['activeChange'])return;const _0xd96c47=this['_findChangeIdFromDomTarget'](_0x1c4336['target']),_0x46cd90=this['_changeIdToChange']['get'](_0xd96c47);_0x46cd90?(this['_activeViewTarget']={'x':_0x1c4336['domEvent']['x'],'y':_0x1c4336['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x46cd90)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3ce748,_0x1292ab)=>{const _0x247c4b=this['_findChangeIdFromDomTarget'](_0x1292ab['target']),_0x5c980d=this['_changeIdToChange']['get'](_0x247c4b);_0x5c980d?(this['_activeViewTarget']={'x':_0x1292ab['domEvent']['x'],'y':_0x1292ab['domEvent']['y']},_0x5c980d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5c980d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x592895){do{const _0x434d40=_0x592895['getAttribute']('data-change-id');if(_0x434d40)return _0x434d40;_0x592895=_0x592895['parent'];}while(_0x592895);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4c246e=>{for(const _0x4b3f90 of this['editor']['model']['markers'])_0x4c246e['removeMarker'](_0x4b3f90);});}constructor(_0x1934ba){super(_0x1934ba),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',(_0x566028,_0x454d23,_0x45f662)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5d205a=>{for(const _0x24ae94 of this['editor']['editing']['view']['document']['roots'])_0x45f662?_0x5d205a['removeClass']('ck-editor__editable__overlay',_0x24ae94):_0x5d205a['addClass']('ck-editor__editable__overlay',_0x24ae94);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4c7d82=>null!==_0x4c7d82),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x30f5b0,_0xb5b081,_0x5a0c6d)=>_0x30f5b0&&_0x5a0c6d?_0xb5b081['changes']['getIndex'](_0x5a0c6d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xce5a4a,_0x4aa21e)=>_0xce5a4a?_0x4aa21e['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x25cc9c);}}function et(_0x40ffd5,_0x25481e){return(_0x95b15b,_0xd0263b,_0x2f6a5f)=>{if(!_0x2f6a5f['consumable']['test'](_0xd0263b['markerRange'],_0x95b15b['name']))return;const _0x18b674=_0xd0263b['markerRange']['getWalker'](),_0x29e18a=_0xd0263b['markerRange']['start'],_0x206e64=_0x40ffd5['model']['schema'];let _0x5b4fd0=null,_0x14edb0=null,_0xe7922f=!0x1,_0x25b6ce=!0x1;for(const _0xb667f0 of _0x18b674){const _0x4cb1e3=_0xb667f0['item'];_0xe7922f=_0xe7922f||_0x206e64['isContent'](_0x4cb1e3);const _0x43ee3a=_0x2f6a5f['mapper']['toViewElement'](_0x4cb1e3);if(_0x43ee3a&&_0x43ee3a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xb667f0['type']&&(_0x206e64['isBlock'](_0x4cb1e3)&&!_0x206e64['isLimit'](_0x4cb1e3)&&(_0x4cb1e3['nextSibling']||_0x29e18a['isAtEnd']?_0x5b4fd0&&_0x5b4fd0['parent']==_0x4cb1e3||(_0x5b4fd0=_0x4cb1e3,_0x8f5760(_0xb667f0['previousPosition']),_0x25b6ce=!0x0):_0x14edb0=_0x14edb0||_0xb667f0['previousPosition']));}function _0x8f5760(_0x4d719b){const _0x37b497=_0x2f6a5f['mapper']['toViewPosition'](_0x4d719b),_0x505bee=_0x2f6a5f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x25481e});_0x2f6a5f['writer']['insert'](_0x37b497,_0x505bee),_0x2f6a5f['mapper']['bindElementToMarker'](_0x505bee,_0xd0263b['markerName']);}_0xe7922f||_0x25b6ce||!_0x14edb0||_0x8f5760(_0x14edb0);};}class bt extends _0x413299{['execute'](){const _0x19c6b4=this['editor'],_0x2a0c69=_0x19c6b4['plugins']['get'](d),_0x55dc1b=_0x2a0c69['isReady']?_0x2a0c69['diff']['newRevisionId']:null;_0x19c6b4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x55dc1b);}['refresh'](){const {isReady:_0x5a2a4f,isEnabled:_0x8c767a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5a2a4f&&_0x8c767a;}constructor(_0x52feca){super(_0x52feca);const _0x39fd49=_0x52feca['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x39fd49,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x39fd49,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x413299{['execute'](){const _0x3ab664=this['editor'],_0x320956=_0x3ab664['plugins']['get'](d),{isNavigationMode:_0x28c076,currentChangeNumber:_0x58c17d}=_0x320956;let _0xedf344;if(_0x320956['activeChange']=_0x28c076?_0x320956['diff']['changes']['get'](_0x58c17d+this['_step']):_0x320956['diff']['changes']['first'],_0x320956['activeChange']['data']['isOnRoot'])_0xedf344=_0x3ab664['editing']['view']['getDomRoot'](_0x320956['activeChange']['rootName']);else{const _0x2e6db6=_0x3ab664['model']['markers']['get']('revision:'+_0x320956['activeChange']['id']);_0xedf344=_0x343537(_0x3ab664['editing'],_0x2e6db6);}_0x43befe({'target':_0xedf344,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x294b35,currentChangeNumber:_0xd68809,numberOfChanges:_0x54ac56,isReady:_0x3a712c,isEnabled:_0x2ccd13}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2ccd13&&_0x3a712c&&_0x54ac56)&&(!_0x294b35||(0x1===this['_step']?_0xd68809<_0x54ac56-0x1:_0xd68809>0x0));}constructor(_0x84f76a,{direction:_0x161207}){super(_0x84f76a);const _0x5f45ac=_0x84f76a['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x161207?0x1:-0x1,this['listenTo'](_0x5f45ac,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5f45ac,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5f45ac,'change:activeChange',()=>this['refresh']());}}class _i extends _0x381698{constructor(_0x4ac4ae){super(_0x4ac4ae);const _0x134eaf=this['bindTemplate'],_0x13884a=new _0x2bbd3d(_0x4ac4ae),_0x4e0a45=new _0x2bbd3d(_0x4ac4ae);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',(_0x437f1f,_0x163f9a)=>_0x437f1f&&_0x163f9a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x316cde,_0x2e61b6,_0x282b1b,_0x350719)=>{if(!_0x316cde)return y(_0x4ac4ae,'Loading...');if(!_0x282b1b)return y(_0x4ac4ae,'No\x20changes');const _0xe9d54e=y(_0x4ac4ae,'NUMBER_OF_CHANGES',_0x282b1b);return _0x350719?y(_0x4ac4ae,'X_OF_Y_CHANGES',[_0x2e61b6+0x1,_0x282b1b]):_0xe9d54e;}),_0x13884a['set']({'label':y(_0x4ac4ae,'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'}),_0x4e0a45['set']({'label':y(_0x4ac4ae,'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'}),_0x13884a['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4e0a45['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x13884a['on']('execute',()=>this['fire']('execute','backward')),_0x4e0a45['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',_0x134eaf['if']('_isStatusLabelVisible','ck-hidden',_0x27d370=>!_0x27d370)]},'children':[{'text':_0x134eaf['to']('isNavigationMode',_0xa50079=>_0xa50079?y(_0x4ac4ae,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4ac4ae,'Total')+':\x20')}]},{'text':_0x134eaf['to']('_statusText')}]},new _0x49774d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x13884a,_0x4e0a45]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2a3c7f=this['editor']['editing']['view'];_0x2a3c7f['change'](_0x4e1e0d=>{for(const _0x170e0d of _0x2a3c7f['document']['roots'])_0x4e1e0d['addClass'](ce,_0x170e0d);});}['hide'](){const _0x25a262=this['editor']['editing']['view'];_0x25a262['change'](_0x3178c0=>{for(const _0x4a6a99 of _0x25a262['document']['roots'])_0x3178c0['removeClass'](ce,_0x4a6a99);});}}class R extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x57636f=this['editor'],_0x33f11b=_0x57636f['plugins']['get'](d),_0x4fcfeb=_0x57636f['plugins']['get'](de);_0x57636f['ui']['componentFactory']['add']('exitToEditing',_0x1221d8=>{const _0x46162f=new _0x2bbd3d(_0x1221d8);return _0x46162f['set']({'label':y(_0x1221d8,'Back\x20to\x20editing'),'icon':_0x132edd['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x46162f,'execute',()=>{_0x57636f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x46162f;}),_0x57636f['ui']['componentFactory']['add']('restoreRevision',_0x513d32=>{const _0x23d77e=new _0x2bbd3d(_0x513d32);return _0x23d77e['set']({'label':y(_0x513d32,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x23d77e['bind']('isEnabled')['to'](_0x57636f['commands']['get']('restoreRevision')),this['listenTo'](_0x23d77e,'execute',()=>_0x57636f['execute']('restoreRevision')),_0x23d77e;}),_0x57636f['ui']['componentFactory']['add']('changesNavigation',_0x3603f6=>{const _0x53d9a8=new _i(_0x3603f6),_0x1bd7e6=_0x57636f['commands']['get']('showPreviousChange'),_0x39d88b=_0x57636f['commands']['get']('showNextChange');return _0x53d9a8['bind']('isBackwardNavigationEnabled')['to'](_0x1bd7e6,'isEnabled'),_0x53d9a8['bind']('isForwardNavigationEnabled')['to'](_0x39d88b,'isEnabled'),_0x53d9a8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x33f11b),this['listenTo'](_0x53d9a8,'execute',(_0xbf4069,_0xba26f0)=>{_0x57636f['execute']('forward'===_0xba26f0?'showNextChange':'showPreviousChange');}),_0x53d9a8;}),_0x4fcfeb['show'](),_0x33f11b['on']('change:isReady',(_0x2e2063,_0x324b29,_0x49d152)=>{_0x49d152?_0x4fcfeb['hide']():_0x4fcfeb['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x10ee82=this['fieldView']['element'];this['_tooltipString']=_0x10ee82['scrollWidth']>_0x10ee82['clientWidth']&&_0x10ee82['value']||'';}constructor(_0x3f5175,_0x3e162c){super(_0x3f5175,_0x3e162c),this['_resizeObserver']=null;const _0x4ba376=this['bindTemplate'];this['set']({'label':y(_0x3f5175,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3f5175,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4ba376['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x381698{constructor(_0x16a9e7,_0x1fc341,_0x4d4a44){super(_0x16a9e7);const _0x12ef8d=new _0x26af09();_0x12ef8d['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 _0x32efdd=['ck','ck-revision-history-sidebar__revision-author'];_0x4d4a44&&_0x32efdd['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3d30b4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x16a9e7,_0x4d4a44?'Revision\x20creator':'Revision\x20author')},'children':[_0x12ef8d,_0x1fc341['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x32efdd},'children':_0x3d30b4});}}function ni(_0x48065,_0x1bf402){const _0xb85b7a=_0x48065['bindTemplate'],_0x3cd0e1=_0x48065['locale'],_0x3864d6=_0x1adbd1(_0x3cd0e1);_0x3864d6['panelPosition']='sw';const _0x1a7ad4=function(_0x14868d,_0x3c0216){const _0x4980b0=function(_0xa68bd4,_0x2b0c9e){const _0x2eb4dd=_0xa68bd4['locale'],_0x3b5bbe={'Compare\x20against\x20selected':y(_0x2eb4dd,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2eb4dd,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2eb4dd,'Restore\x20this\x20revision')};return _0x2b0c9e['map'](_0x2a8a44=>{const _0x12a707=_0x3b5bbe[_0x2a8a44['name']];return _0x12a707&&_0x12a707!==_0x2a8a44['name']&&(_0x2a8a44['name']=_0x12a707),_0x2a8a44;});}(_0x14868d,_0x3c0216),_0x1095f1=new _0xacebb8();for(const _0x33b340 of _0x4980b0){const _0x399dcc={'type':'button','model':new to({'label':_0x33b340['name'],'class':_0x33b340['class'],'withText':!0x0,'role':'menuitem','_action':_0x33b340['action']})};_0x399dcc['model']['bind']('isEnabled')['to'](_0x14868d,'isActionsDropdownOpen',_0x48f7ae=>'function'!=typeof _0x33b340['isEnabled']||(!_0x48f7ae||_0x33b340['isEnabled'](_0x14868d))),_0x1095f1['add'](_0x399dcc);}return _0x1095f1;}(_0x48065,_0x1bf402);return _0x48065['bind']('isActionsDropdownOpen')['to'](_0x3864d6,'isOpen'),_0x3864d6['buttonView']['set']({'label':y(_0x3cd0e1,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x132edd['threeVerticalDots']}),_0x3864d6['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xb85b7a['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xb85b7a['to'](_0x2aefcc=>_0x2aefcc['stopPropagation']())}}),_0x3864d6['on']('execute',_0x39b759=>{_0x48065['isReady']&&'function'==typeof _0x39b759['source']['_action']&&_0x39b759['source']['_action'](_0x48065);}),_0x406ec9(_0x3864d6,_0x1a7ad4,{'role':'menu'}),_0x3864d6['listenTo'](_0x48065,'change:isActionsDropdownOpen',(_0xcfc44d,_0x34d201,_0xa71977)=>{if(_0xa71977)for(const _0x43b00f of _0x3864d6['listView']['items']){const _0xd9e9e9=_0x43b00f['children']['first'],_0x56b817=_0x1bf402['find'](_0x3a8613=>_0x3a8613['action']===_0xd9e9e9['_action'])['isVisible'];_0x43b00f['isVisible']=void 0x0===_0x56b817||_0x56b817(_0x48065);}}),_0x3864d6;}class ai extends _0x3a856d(_0x381698){['render'](){super['render']();const _0x4e3cb8=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4e3cb8,'change',()=>{this['_requireRevisionName']&&!_0x4e3cb8['value']||this['fire']('setName',{'id':this['id'],'name':_0x4e3cb8['value']}),_0x4e3cb8['value']||(_0x4e3cb8['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0xc2c0da,_0x53eaa9,_0x570efb,_0x1e08f3){super(_0xc2c0da);const _0x3898b5=this['bindTemplate'],_0x16fd72=function(_0x3a63cc,_0x53b24f){const _0x594ec9=Array['from'](_0x53b24f['authors'])['filter'](_0x4536ef=>_0x4536ef!=_0x53b24f['creator']);return _0x53b24f['creator']&&_0x594ec9['unshift'](_0x53b24f['creator']),_0x594ec9['map'](_0x3edf12=>new ti(_0x3a63cc,_0x3edf12,_0x3edf12==_0x53b24f['creator']));}(_0xc2c0da,_0x53eaa9);this['id']=_0x53eaa9['id'],this['_revision']=_0x53eaa9,this['_requireRevisionName']=_0x1e08f3,this['bind']('name','createdAt')['to'](_0x53eaa9),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x40eecf=>{return _0x2fcc57=_0xc2c0da['uiLanguage'],(_0x30b8d0=_0x40eecf)['toLocaleDateString'](_0x2fcc57,{'month':'long','day':'numeric'})+',\x20'+_0x30b8d0['toLocaleTimeString'](_0x2fcc57,{'hour':'numeric','minute':'numeric'});var _0x2fcc57,_0x30b8d0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0xc2c0da,_0x1132ee),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x60e988=>_0x60e988||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x36f1b0,_0x23cb89)=>_0x36f1b0&&_0x23cb89),this['revisionActionsView']=_0x570efb&&_0x570efb['length']?ni(this,_0x570efb):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3898b5['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3898b5['if']('isEnabled','ck-disabled',_0x4cb43b=>!_0x4cb43b),_0x3898b5['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3898b5['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3898b5['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':_0x3898b5['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':_0x16fd72}]},this['revisionActionsView']],'on':{'click':_0x3898b5['to'](_0x12e09c=>{_0x12e09c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x3d0fc1,_0x4569b5){const _0x157757=_0x4095c7['fromJSDate'](_0x3d0fc1)['setLocale'](_0x4569b5),_0x1f739a=_0x4095c7['local'](),_0x73dfc2=_0x1f739a['minus']({'days':0x1})['startOf']('day');let _0x30b4bd,_0xa98306;return _0x157757['hasSame'](_0x1f739a,'day')?(_0x30b4bd=_0x157757['startOf']('day')['toJSDate'](),_0xa98306=_0x157757['toRelativeCalendar']()):_0x157757['hasSame'](_0x73dfc2,'day')?(_0x30b4bd=_0x73dfc2['toJSDate'](),_0xa98306=_0x157757['toRelativeCalendar']()):_0x157757['hasSame'](_0x1f739a,'week')?(_0x30b4bd=_0x157757['startOf']('week')['toJSDate'](),_0xa98306=_0x157757['weekdayLong']||''):_0x157757['hasSame'](_0x1f739a,'year')?(_0x30b4bd=_0x157757['startOf']('month')['toJSDate'](),_0xa98306=_0x157757['monthLong']||''):(_0x30b4bd=_0x157757['startOf']('year')['toJSDate'](),_0xa98306=String(_0x157757['year'])),{'startDate':_0x30b4bd,'localizedPeriodName':_0xa98306};}class mi extends _0x381698{['addRevision'](_0x21e55b){const _0x53578a=new ai(this['locale'],_0x21e55b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x53578a);}['removeRevision'](_0x2873db){const _0x5584b0=this['revisionViews']['find'](_0x1b1158=>_0x1b1158['id']===_0x2873db['id']);this['revisionViews']['remove'](_0x5584b0);}constructor(_0x531218,_0x35898a,_0x5256aa,_0x20932a){super(_0x531218);const _0x3fd5ba=di(_0x35898a,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x35898a,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5256aa,this['_requireRevisionName']=_0x20932a,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':_0x3fd5ba}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x381698{constructor(_0x3bd56d){super(_0x3bd56d);const _0x41d082=new _0x26af09();_0x41d082['content']=_0x132edd['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x41d082,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3bd56d,'Revision\x20history')]}]});}}class ci extends _0x381698{['render'](){super['render']();for(const _0x596b0f of this['_revisions'])this['_addRevision'](_0x596b0f);this['_revisions']['on']('add',(_0x5759de,_0x36379c)=>{this['_addRevision'](_0x36379c);}),this['_revisions']['on']('remove',(_0x37ce58,_0x542d39)=>{this['_removeRevision'](_0x542d39);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2a5355=>_0x2a5355['revisionViews']['map'](_0x5c318d=>_0x5c318d))['flat']();}['selectRevision'](_0x126094){for(const _0x4f1c5c of this['revisionViews'])_0x126094&&_0x126094['id']===_0x4f1c5c['id']?_0x4f1c5c['select']():_0x4f1c5c['deselect']();}['highlightRevisions'](_0x4b8823){for(const _0x5554b7 of this['revisionViews'])_0x4b8823['some'](({id:_0x5c8c76})=>_0x5c8c76===_0x5554b7['id'])?_0x5554b7['highlight']():_0x5554b7['unhighlight']();}['_addRevision'](_0x1c161f){const _0x4d71a6=di(_0x1c161f['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3934c0=this['timePeriodViews']['get'](0x0);_0x3934c0&&_0x3934c0['startDate']['getTime']()===_0x4d71a6['getTime']()||(_0x3934c0=new mi(this['locale'],_0x4d71a6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3934c0)),_0x3934c0['addRevision'](_0x1c161f);}['_removeRevision'](_0x1f5dfd){const _0x12300d=di(_0x1f5dfd['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x12300d)['removeRevision'](_0x1f5dfd);}['_getTimePeriodViewByStartDate'](_0x5f0f8e){return this['timePeriodViews']['find'](_0x7887bc=>_0x7887bc['startDate']['getTime']()===_0x5f0f8e['getTime']());}constructor(_0x19a8da,_0x5c446b,_0x5e1a69,_0x19c4e9){super(_0x19a8da);const _0x1c20ea=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5c446b,this['_revisionActions']=_0x5e1a69,this['_requireRevisionName']=_0x19c4e9,this['on']('select',(_0x6595da,_0x438106)=>{this['fire']('revisionSelected',_0x438106);}),this['on']('setName',(_0x526cb5,_0x44696a)=>{this['fire']('revisionSetName',_0x44696a);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x19a8da),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1c20ea['if']('isEnabled','ck-disabled',_0x5a393b=>!_0x5a393b)]},'children':this['timePeriodViews']}]});}}class w extends _0x3fe8e5{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x168e12=this['_revisionsRepository']['_revisions'],_0x17fe9f=this['_createRevisionActions'](),_0x1ffd5f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x168e12,_0x17fe9f,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',(_0x2c9df8,_0x475b31)=>{_0x475b31['revisionViews']['on']('add',(_0x48836a,_0x4400c1)=>{_0x4400c1['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)),_0x1ffd5f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x55422f=this['_revisionsRepository']['getRevision'](0x0);if(_0x55422f){const _0x407e53=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x55422f['id']);this['_revisionViewer']['compare'](_0x55422f,_0x407e53);}}['_handleRevisionSelected'](_0x11c89f,_0x29b8a4){const _0x592b83=this['_revisionsRepository']['getRevision'](_0x29b8a4['id']),_0x16dfdc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x592b83['id']);this['_revisionViewer']['compare'](_0x592b83,_0x16dfdc);}['_handleRevisionSetName'](_0xbe1d3b,_0x5546be){this['_revisionsRepository']['getRevision'](_0x5546be['id'])['setName'](_0x5546be['name']);}['_handleDiffChange'](_0xc17f7d,_0x5dff65,_0x2aeb35){const _0x19baa2=this['_revisionsRepository']['getRevisionsInDiff'](_0x2aeb35);_0x19baa2['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x19baa2),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x19baa2[0x0]));}['_createRevisionActions'](){const _0x31b87d=this['editor'],_0x53016c=w['availableRevisionActions'],_0x403da5=_0x31b87d['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x403da5['length'])return _0x403da5['map'](_0x2141ed=>{const _0x502840='string'==typeof _0x2141ed?Object['assign']({},_0x53016c[_0x2141ed]):_0x2141ed;return _0x502840['action']=_0x502840['action']['bind'](this,_0x31b87d),_0x502840['isVisible']&&(_0x502840['isVisible']=_0x502840['isVisible']['bind'](this,_0x31b87d)),_0x502840;});}constructor(_0x10734f){super(_0x10734f),this['_revisionViewer']=_0x10734f['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x177513},_0x30f54d)=>{const _0x3cba9b=_0x177513['get'](d),_0x29d00f=_0x3cba9b['repository'];let _0x4e6759=_0x3cba9b['diff']['newRevisionId'],_0xdec2a4=_0x30f54d['id'];_0x29d00f['getIndex'](_0x4e6759)>_0x29d00f['getIndex'](_0xdec2a4)&&([_0x4e6759,_0xdec2a4]=[_0xdec2a4,_0x4e6759]),_0x3cba9b['compare'](_0x4e6759,_0xdec2a4);},'isVisible':({plugins:_0x541fe4},_0x387fd1)=>{const _0x40f3fa=_0x541fe4['get'](d);return!(_0x40f3fa['repository']['getRevisionsInDiff'](_0x40f3fa['diff'])['length']>0x2)&&!_0x387fd1['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3b6297,{id:_0x1f01c6})=>{_0x3b6297['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1f01c6);},'isVisible':({plugins:_0x1dd379},_0x3d3953)=>!!_0x1dd379['get'](d)['repository']['getLaterVisibleRevision'](_0x3d3953['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3068fb},{id:_0x2e4128,revisionNameView:_0x4e223a})=>{const _0x27692f=_0x3068fb['get'](d),_0x1c3812=_0x27692f['repository']['getEarlierVisibleRevision'](_0x2e4128);_0x27692f['compare'](_0x2e4128,_0x1c3812),_0x4e223a['focus'](),_0x4e223a['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x5d0bf3){const _0x38054e=this['editor'],_0x2d8124=this['view'],_0x48cc85=_0x38054e['editing']['view'],_0xa240e2=_0x2d8124['editable'],_0x4e30c0=_0x48cc85['document']['getRoot']();_0xa240e2['name']=_0x4e30c0['rootName'],_0x2d8124['render']();const _0x312adc=_0xa240e2['element'];this['setEditableElement'](_0xa240e2['name'],_0x312adc),_0x2d8124['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x48cc85['attachDomRoot'](_0x312adc),this['_elementReplacer']['replace'](_0x5d0bf3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3589fe=this['view'],_0x1e8da8=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1e8da8['detachDomRoot'](_0x3589fe['editable']['name']),_0x3589fe['destroy']();}['_initToolbar'](){const _0x10d450=this['view'];_0x10d450['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x10d450['stickyPanel']['limiterElement']=_0x10d450['element'],_0x10d450['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x289b9f})=>_0x289b9f),_0x10d450['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x10d450['toolbar']);}constructor(_0x2371a8,_0x28b4f6){super(_0x2371a8),this['_view']=_0x28b4f6,this['_toolbarConfig']=ct(_0x2371a8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x30a155,_0x67785f,_0x58a29c={}){super(_0x30a155),this['stickyPanel']=new lt(_0x30a155),this['toolbar']=new pt(_0x30a155,{'shouldGroupWhenFull':_0x58a29c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x30a155,_0x67785f);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x27a06c,_0x38e775){const _0x37b9cb=new this(_0x27a06c,_0x38e775);return await _0x37b9cb['initPlugins'](),await _0x37b9cb['ui']['init'](_0x27a06c),await _0x37b9cb['data']['init'](_0x37b9cb['config']['get']('initialData')||''),_0x37b9cb['fire']('ready'),_0x37b9cb;}constructor(_0x607592,_0xb4a1d6){super(_0xb4a1d6),this['sourceElement']=_0x607592,this['model']['document']['createRoot']();const _0x3cc822=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x3cc822);}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x307f24){super(_0x307f24),this['result']='end';}}class H extends _0x3fe8e5{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0xa9862b){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xa9862b;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1f4221){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1f4221);}['getRevision'](_0x41170c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x41170c);}['getRevisions'](_0x139c21={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x139c21);}['_getRevisionViewerEditorConfig'](){const _0x2dd059=this['editor'],_0x3bea0b=_0x231c1c(_0x2dd059,p),_0x2477c5=_0x2dd059['plugins']['get']('RevisionTracker'),_0x15d2e7=_0x2dd059['plugins']['get']('Users')['users'];return _0x3bea0b['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3bea0b['lazyRoots'],(_0x3bea0b['plugins']['push'](k,d,R,class extends _0x3fe8e5{static get['requires'](){return[d,'Users'];}['init'](){const _0x1ade8f=this['editor']['plugins']['get']('Users');for(const _0x295992 of _0x15d2e7)_0x295992['isAnonymous']||_0x1ade8f['getUser'](_0x295992['id'])||_0x1ade8f['addUser'](_0x295992);const _0x4a3316=_0x2477c5['repository']['getRevisions']();let _0x45079d=null;const _0x42cdf3=this['editor']['plugins']['get']('RevisionViewer');_0x42cdf3['adapter']=_0x2477c5['adapter'],_0x42cdf3['bind']('isEnabled')['to'](_0x2477c5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2dd059,'isReadOnly',_0x4d4b44=>!_0x4d4b44);for(const _0x35cbe9 of _0x4a3316){const _0x49e2a6=null===_0x35cbe9['creator'];if(_0x49e2a6&&_0x35cbe9['toVersion']===_0x35cbe9['fromVersion'])continue;const _0x2ba1eb=_0x35cbe9['toJSON']();_0x42cdf3['addRevisionData'](_0x2ba1eb,(_0x51bbc9,_0x1c8a0b,_0x30ebe2)=>{if(_0x49e2a6){if(_0x45079d)_0x45079d['_update'](_0x51bbc9,_0x1c8a0b);else{if(!_0x1c8a0b){const _0x2d7581=_0x30ebe2['toJSON']();_0x2d7581['id']=_0x5e2995(),_0x2477c5['saveRevision'](_0x2d7581,_0x30ebe2['toVersion'])['then'](_0x14014c=>{_0x45079d=_0x14014c;});}}}else _0x35cbe9['_update'](_0x51bbc9,_0x1c8a0b);});}}},w),_0x3bea0b);}['_enhanceShowRevisionViewerCallback'](){const _0xddd21e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2c30d8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x30a21=this['editor']['plugins']['get']('Autosave');await _0x30a21['save']();}else await _0x2c30d8['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3b6c59=this['editor']['plugins']['get']('Dialog');_0x3b6c59['isOpen']&&_0x3b6c59['hide']();}const _0x10d6eb=this['_getRevisionViewerEditorConfig']();return _0xddd21e(_0x10d6eb)['then'](_0x4caddd=>{return(this['_viewerEditor']=_0x4caddd,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4caddd;})['catch'](_0x241a2d=>(console['error'](_0x241a2d),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3d1fcc=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'](),_0x3d1fcc(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3f4c0c=this['editor']['plugins']['get']('Annotations');_0x3f4c0c['refreshVisibility'](),_0x3f4c0c['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1c72a9){const _0x993714=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1117b1=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x37cdfd=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x37cdfd,_0x1c72a9)['then'](_0x1ec634=>(_0x1117b1['style']['display']='block',_0x993714['style']['display']='none',_0x1ec634));}['_closeRevisionViewer'](_0xfc7df){const _0x11155e=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x11155e['style']['display']='',_0xfc7df['destroy']();}async['_restoreRevision'](_0x346b66){const _0x442b71=this['editor'],_0x3ddc12=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x53ecbd=_0x442b71['plugins']['get']('RevisionTracker'),_0x43f6a3=_0x3ddc12['repository']['getRevision'](_0x346b66);let _0x5c2ecd,_0x4042a5,_0x116c55;try{_0x5c2ecd=await _0x3ddc12['getRevisionData'](_0x43f6a3),_0x4042a5=await _0x3ddc12['getRevisionRootsAttributes'](_0x43f6a3);}catch(_0x37e285){return void console['error'](_0x37e285);}_0x442b71['model']['change'](_0x2b2a14=>{for(const _0x3f85cc of Array['from'](_0x442b71['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2b2a14['removeMarker'](_0x3f85cc);}),_0x3ddc12['isReady']=!0x1,_0x442b71['model']['enqueueChange'](_0x4429ac=>{_0x4429ac['setSelection'](null),_0x4429ac['removeSelectionAttribute'](_0x442b71['model']['document']['selection']['getAttributeKeys']());const _0x275441=Object['keys'](_0x5c2ecd);for(const _0x2c0444 of _0x442b71['model']['document']['roots'])'$graveyard'!=_0x2c0444['rootName']&&_0x2c0444['isAttached']()&&!_0x275441['includes'](_0x2c0444['rootName'])&&_0x4429ac['detachRoot'](_0x2c0444);for(const _0xb1c820 of _0x275441){let _0x160ed4=_0x442b71['model']['document']['getRoot'](_0xb1c820);_0x160ed4&&_0x160ed4['isAttached']()||(_0x160ed4=_0x4429ac['addRoot'](_0xb1c820));const _0x3595e9=_0x4042a5[_0xb1c820],_0x10824d=Object['keys'](_0x3595e9),_0x447933=_0x5c2ecd[_0xb1c820];for(const _0x4247b0 of _0x160ed4['getAttributeKeys']())_0x10824d['includes'](_0x4247b0)||_0x4429ac['removeAttribute'](_0x4247b0,_0x160ed4);for(const _0x39b1b3 of _0x10824d)_0x4429ac['setAttribute'](_0x39b1b3,_0x4042a5[_0xb1c820][_0x39b1b3],_0x160ed4);_0x4429ac['remove'](_0x4429ac['createRangeIn'](_0x160ed4)),_0x4429ac['insert'](_0x442b71['data']['parse'](_0x447933,_0x160ed4),_0x160ed4,0x0);}});const _0x15f627=y(_0x442b71['locale'],'Restored');if(_0x43f6a3['name'])_0x116c55=-0x1==_0x43f6a3['name']['indexOf'](_0x15f627)?_0x15f627+':\x20'+_0x43f6a3['name']:_0x43f6a3['name'];else _0x116c55=_0x15f627+':\x20'+(_0x43f6a3['createdAt']['toLocaleDateString'](_0x442b71['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x43f6a3['createdAt']['toLocaleTimeString'](_0x442b71['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x53ecbd['saveRevision']({'name':_0x116c55}),_0x3ddc12['isReady']=!0x0,_0x442b71['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x2e75b0){if(super(_0x2e75b0),!this['editor']['config']['get']('revisionHistory'))throw new _0x1c86ce('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xbffc7=>this['_showRevisionViewer']({..._0xbffc7,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x16c1a3=>this['_closeRevisionViewer'](_0x16c1a3)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2a6d6c=>this['_restoreRevision'](_0x2a6d6c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|
|
23
|
+
import{Plugin as _0x2a24c5,Context as _0x9fb039,PendingActions as _0x3d5cd9,icons as _0x4c0c1b,Command as _0x1af0b1,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x560162,uid as _0x49cb62,Collection as _0xb2f625,logWarning as _0x568b84,FocusTracker as _0x3c6dec,KeystrokeHandler as _0x1eb99e,scrollViewportToShowTarget as _0x5e45c2,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1b89a8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x21284e,getMarkerDomElement as _0xba6c58,ConfirmMixin as _0x4d2d2d,sanitizeEditorConfig as _0x1c98ce}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x72026,ViewText as _0x391641,ViewElement as _0x3b4b97,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x53b890,ViewAttributeElement as _0x778e34,ViewEmptyElement as _0x48c7a0,ViewRawElement as _0x52aa55,ViewUIElement as _0x4bc5d6,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x250bb5,set as _0xe00127,unset as _0x2de3d0,isEqual as _0x4dae1f}from'lodash-es';import{View as _0x4d6f26,injectCssTransitionDisabler as ts,submitHandler as _0x1ffe8c,LabeledFieldView as at,createLabeledInputText as _0x42bc69,createDropdown as _0x1ce0cb,ListView as te,ListItemView as _0x4a27c9,ButtonView as _0x50194f,MenuBarMenuView as _0x1f2ac7,MenuBarMenuListView as _0x2dbc8b,MenuBarMenuListItemView as _0x1116b1,MenuBarMenuListItemButtonView as _0x377693,ContextualBalloon as _0x45bfbf,ToolbarSeparatorView as _0x10443a,IconView as _0x289ec2,addListToDropdown as _0x323b7c,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 _0x21b5c8}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x560162(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2df51d){super(),this['id']=_0x2df51d['id']||_0x49cb62(),this['creator']=_0x2df51d['creator']||null,this['authors']=_0x2df51d['authors']||[],this['diffData']=_0x2df51d['diffData']||null,this['toVersion']=_0x2df51d['toVersion']||0x0,this['fromVersion']=_0x2df51d['fromVersion']||0x0,this['set']('name',_0x2df51d['name']||''),this['set']('createdAt',_0x2df51d['createdAt']||new Date()),this['set']('attributes',_0x2df51d['attributes']||{});}['setName'](_0x478cd2){this['_update']({'name':_0x478cd2});}['setAttribute'](_0x36489c,_0x4c81e7){const _0x1c5c18=_0x250bb5(this['attributes']);_0xe00127(_0x1c5c18,_0x36489c,_0x4c81e7),this['_update']({'attributes':_0x1c5c18});}['removeAttribute'](_0x1febb6){const _0x15336b=_0x250bb5(this['attributes']);_0x2de3d0(_0x15336b,_0x1febb6),this['_update']({'attributes':_0x15336b});}['_update'](_0x1ac2ec,_0x40d5c2=!0x1){let _0x5030e2=!0x1;const _0x49f874={'id':this['id']},_0x2f4b03=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x64cf94 of _0x2f4b03){const _0x26e8f2=_0x1ac2ec[_0x64cf94];void 0x0!==_0x26e8f2&&_0x26e8f2!==this[_0x64cf94]&&(this[_0x64cf94]=_0x26e8f2,_0x49f874[_0x64cf94]=_0x26e8f2,_0x5030e2=!0x0);}_0x5030e2&&(_0x49f874['authors']&&(_0x49f874['authorsIds']=_0x49f874['authors']['map'](_0x54fc2e=>_0x54fc2e['id']),delete _0x49f874['authors']),this['fire']('_update',_0x49f874,_0x40d5c2));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x35e418=>_0x35e418['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2a24c5{['_revisions'];static get['requires'](){return[_0x21284e];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x41e6c0){super(_0x41e6c0),this['_revisions']=new _0xb2f625();}['afterInit'](){!function(_0xa3a028){function _0x536e02(_0x9b0a47,_0x22d0ee,_0xf65865){const _0x47706c={};_0x47706c[_0xe75ab1([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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],_0x47706c[_0xe75ab1([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 _0x26ffd2=new Uint8Array(0x10);for(let _0x3a615f=0xf;_0x3a615f>=0x0;--_0x3a615f)_0x26ffd2[_0x3a615f]=_0xf65865%0x100,_0xf65865=parseInt(_0xf65865/0x100);let _0x5b2a47=null,_0x25f4ab=0x10;const _0x6524f3=new Uint8Array(_0x22d0ee),_0x44351e=[],_0x360785=[];_0x1664ec();for(let _0x405911=0x0;_0x405911<_0x9b0a47[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x405911++)0x10===_0x25f4ab&&(_0x5b2a47=_0x9c6d9c(_0x26ffd2),_0x25f4ab=0x0,_0x372cd5(_0x26ffd2)),_0x9b0a47[_0x405911]^=_0x5b2a47[_0x25f4ab++];return _0x9b0a47;function _0x25e071(_0x408db2){const _0x317691=[];for(let _0x37a344=0x0;_0x37a344<_0x408db2[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37a344+=0x4)_0x317691[_0xe75ab1([0x70,0x75,0x73,0x68])](_0x408db2[_0x37a344]<<0x18|_0x408db2[_0x37a344+0x1]<<0x10|_0x408db2[_0x37a344+0x2]<<0x8|_0x408db2[_0x37a344+0x3]);return _0x317691;}function _0x372cd5(_0x40ecf4){for(let _0x31d5eb=0xf;_0x31d5eb>=0x0;_0x31d5eb--){if(0xff!==_0x40ecf4[_0x31d5eb]){_0x40ecf4[_0x31d5eb]++;break;}_0x40ecf4[_0x31d5eb]=0x0;}}function _0x9c6d9c(_0x274889){const _0x41843c=_0x44351e[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x8d39d7=[0x0,0x0,0x0,0x0];let t=_0x25e071(_0x274889);for(let _0x4c4b94=0x0;_0x4c4b94<0x4;_0x4c4b94++)t[_0x4c4b94]^=_0x44351e[0x0][_0x4c4b94];for(let _0x2e166e=0x1;_0x2e166e<_0x41843c;_0x2e166e++){for(let _0x2f289e=0x0;_0x2f289e<0x4;_0x2f289e++)_0x8d39d7[_0x2f289e]=_0x47706c[_0xe75ab1([0x54,0x31])][t[_0x2f289e]>>0x18&0xff]^_0x47706c[_0xe75ab1([0x54,0x32])][t[(_0x2f289e+0x1)%0x4]>>0x10&0xff]^_0x47706c[_0xe75ab1([0x54,0x33])][t[(_0x2f289e+0x2)%0x4]>>0x8&0xff]^_0x47706c[_0xe75ab1([0x54,0x34])][0xff&t[(_0x2f289e+0x3)%0x4]]^_0x44351e[_0x2e166e][_0x2f289e];t=_0x8d39d7[_0xe75ab1([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4c292d=new Uint8Array(0x10);let _0x1504e5;for(let _0x402161=0x0;_0x402161<0x4;_0x402161++)_0x1504e5=_0x44351e[_0x41843c][_0x402161],_0x4c292d[0x4*_0x402161]=0xff&(_0x47706c[_0xe75ab1([0x53])][t[_0x402161]>>0x18&0xff]^_0x1504e5>>0x18),_0x4c292d[0x4*_0x402161+0x1]=0xff&(_0x47706c[_0xe75ab1([0x53])][t[(_0x402161+0x1)%0x4]>>0x10&0xff]^_0x1504e5>>0x10),_0x4c292d[0x4*_0x402161+0x2]=0xff&(_0x47706c[_0xe75ab1([0x53])][t[(_0x402161+0x2)%0x4]>>0x8&0xff]^_0x1504e5>>0x8),_0x4c292d[0x4*_0x402161+0x3]=0xff&(_0x47706c[_0xe75ab1([0x53])][0xff&t[(_0x402161+0x3)%0x4]]^_0x1504e5);return _0x4c292d;}function _0x1664ec(){const _0x4c2823=_0x47706c[_0xe75ab1([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x6524f3[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4fdc7b=0x0;_0x4fdc7b<=_0x4c2823;_0x4fdc7b++)_0x44351e[_0xe75ab1([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x360785[_0xe75ab1([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xe2665c=0x4*(_0x4c2823+0x1),_0x4bbb29=_0x6524f3[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x138391=_0x25e071(_0x6524f3);let _0x53d0ff;for(let _0x522446=0x0;_0x522446<_0x4bbb29;_0x522446++)_0x53d0ff=_0x522446>>0x2,_0x44351e[_0x53d0ff][_0x522446%0x4]=_0x138391[_0x522446],_0x360785[_0x4c2823-_0x53d0ff][_0x522446%0x4]=_0x138391[_0x522446];let _0x1c3a1e,_0x2a3ee3=0x0,t=_0x4bbb29;for(;t<_0xe2665c;){_0x1c3a1e=_0x138391[_0x4bbb29-0x1],_0x138391[0x0]^=_0x47706c[_0xe75ab1([0x53])][_0x1c3a1e>>0x10&0xff]<<0x18^_0x47706c[_0xe75ab1([0x53])][_0x1c3a1e>>0x8&0xff]<<0x10^_0x47706c[_0xe75ab1([0x53])][0xff&_0x1c3a1e]<<0x8^_0x47706c[_0xe75ab1([0x53])][_0x1c3a1e>>0x18&0xff]^_0x47706c[_0xe75ab1([0x72,0x63,0x6f,0x6e])][_0x2a3ee3]<<0x18,_0x2a3ee3+=0x1;for(let _0x57983e=0x1;_0x57983e<_0x4bbb29/0x2;_0x57983e++)_0x138391[_0x57983e]^=_0x138391[_0x57983e-0x1];_0x1c3a1e=_0x138391[_0x4bbb29/0x2-0x1],_0x138391[_0x4bbb29/0x2]^=_0x47706c[_0xe75ab1([0x53])][0xff&_0x1c3a1e]^_0x47706c[_0xe75ab1([0x53])][_0x1c3a1e>>0x8&0xff]<<0x8^_0x47706c[_0xe75ab1([0x53])][_0x1c3a1e>>0x10&0xff]<<0x10^_0x47706c[_0xe75ab1([0x53])][_0x1c3a1e>>0x18&0xff]<<0x18;for(let _0xd07768=_0x4bbb29/0x2+0x1;_0xd07768<_0x4bbb29;_0xd07768++)_0x138391[_0xd07768]^=_0x138391[_0xd07768-0x1];let _0x42ffad,_0xa1caed,_0x5b532d=0x0;for(;_0x5b532d<_0x4bbb29&&t<_0xe2665c;)_0x42ffad=t>>0x2,_0xa1caed=t%0x4,_0x44351e[_0x42ffad][_0xa1caed]=_0x138391[_0x5b532d],_0x360785[_0x4c2823-_0x42ffad][_0xa1caed]=_0x138391[_0x5b532d++],t++;}for(let _0x1ac00d=0x1;_0x1ac00d<_0x4c2823;_0x1ac00d++)for(let _0x61c7e3=0x0;_0x61c7e3<0x4;_0x61c7e3++)_0x1c3a1e=_0x360785[_0x1ac00d][_0x61c7e3],_0x360785[_0x1ac00d][_0x61c7e3]=_0x47706c[_0xe75ab1([0x55,0x31])][_0x1c3a1e>>0x18&0xff]^_0x47706c[_0xe75ab1([0x55,0x32])][_0x1c3a1e>>0x10&0xff]^_0x47706c[_0xe75ab1([0x55,0x33])][_0x1c3a1e>>0x8&0xff]^_0x47706c[_0xe75ab1([0x55,0x34])][0xff&_0x1c3a1e];}}function _0xe75ab1(_0x12abae){return _0x12abae['map'](_0x4abf9f=>String['fromCharCode'](_0x4abf9f))['join']('');}(_0x5eb9ef=>{function _0x2f3f7c(){const _0x850689=[{[_0xe75ab1([0x69,0x64])]:0x1,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xe75ab1([0x69,0x64])]:0x2,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([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]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xe75ab1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xe75ab1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xe75ab1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xe75ab1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xe75ab1([0x69,0x64])]:0x3,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xe75ab1([0x69,0x64])]:0x4,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([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]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xe75ab1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xe75ab1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xe75ab1([0x69,0x64])]:0x5,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([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]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}},{[_0xe75ab1([0x69,0x64])]:0x6,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}},{[_0xe75ab1([0x69,0x64])]:0x7,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}},{[_0xe75ab1([0x69,0x64])]:0x8,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([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]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}},{[_0xe75ab1([0x69,0x64])]:0x9,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xe75ab1([0x69,0x64])]:0xa,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([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]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([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]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([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]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}},{[_0xe75ab1([0x69,0x64])]:0xb,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xe75ab1([0x69,0x64])]:0xc,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xe75ab1([0x69,0x64])]:0xd,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}},{[_0xe75ab1([0x69,0x64])]:0xe,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xe75ab1([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([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])},{[_0xe75ab1([0x69,0x64])]:0xf,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xe75ab1([0x69,0x64])]:0x10,[_0xe75ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xe75ab1([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xe75ab1([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xe75ab1([0x66,0x67,0x69])]:[0xc]}}];return _0x4f37eb(_0x850689),_0x850689;function _0x22a937(_0x1055fc){return 0x1<<_0x1055fc-0x1;}function _0x4f37eb(_0x564329){_0x564329[_0xe75ab1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb083de=>{_0xb083de[_0xe75ab1([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x22a937(_0xb083de[_0xe75ab1([0x69,0x64])]),_0x3132aa(_0xb083de)&&_0xb083de[_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4f37eb(_0xb083de[_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3132aa(_0x311aa4){return _0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x311aa4;}const _0x2a3db1=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x835fe5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3b47fd(_0x24d108){const _0x286fed=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x45e9fa(_0x24d108,new Uint8Array([..._0x2a3db1,..._0x286fed,..._0x835fe5]));}function _0x45e9fa(_0x3a5b93,_0x50ea83){const _0x31ce11=_0x4a840f(_0x3a5b93),_0x3e6f57=Array[_0xe75ab1([0x66,0x72,0x6f,0x6d])](_0xbbac76(_0x31ce11)),_0x1cfb25=_0x3e6f57[_0xe75ab1([0x70,0x6f,0x70])](),_0x1ba9a8=_0x3e6f57[_0xe75ab1([0x70,0x6f,0x70])]();return _0x19a33d(_0x536e02(_0x3e6f57,_0x50ea83,_0x1ba9a8+0x100*_0x1cfb25));}function _0x4a840f(_0x49e9c8){const _0x53bacb=atob(_0x49e9c8),[_0x2707e5,_0x5b95b1]=_0x53bacb[_0xe75ab1([0x73,0x70,0x6c,0x69,0x74])](_0xe75ab1([0x2d]));try{if(atob(_0x5b95b1))return atob(_0x2707e5);}catch(_0x24ec0f){}return _0x53bacb;}function _0x575e0c(_0x438316){try{const _0x1c912e=_0x3b47fd(_0x438316),_0x286ae8=JSON[_0xe75ab1([0x70,0x61,0x72,0x73,0x65])](_0x1c912e),_0x38fd77=parseInt(_0x286ae8[_0xe75ab1([0x31])]),_0x33185d=_0x286ae8[_0xe75ab1([0x32])]||'',_0x2cbf51=parseInt(_0x286ae8[_0xe75ab1([0x33])]),_0x3b64f0=parseInt(_0x286ae8[_0xe75ab1([0x34])])||0x0,_0x4be670=parseInt(_0x286ae8[_0xe75ab1([0x35])])||0x0;return{[_0xe75ab1([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x33185d,[_0xe75ab1([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3b64f0,[_0xe75ab1([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x38fd77,[_0xe75ab1([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2cbf51,[_0xe75ab1([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4be670};}catch(_0x1186a0){return null;}}const _0x20a169=_0x2f3f7c(),_0x1cffb1={[_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x404ad8,[_0xe75ab1([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])]:_0x336235,[_0xe75ab1([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])]:_0x1ff5b7},_0x34a72d=_0x5eb9ef[_0xe75ab1([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x55f487=_0xe75ab1([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5eb9ef?_0x5eb9ef['context']:_0x5eb9ef['editor'],_0x57b15b=_0xe75ab1([0x34,0x30,0x34,0x38,0x31,0x32,0x30,0x38]),_0x41c2f3=_0xe75ab1([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]),_0x52a17d=_0x55f487['config']['get'](_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x40e221=_0x20a169[_0xe75ab1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3132aa)[_0xe75ab1([0x66,0x69,0x6e,0x64])](_0x214392=>_0x214392[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x34a72d);function _0x52c1af(_0x51b9ff,_0x323cbc){_0x1cffb1[_0x323cbc[_0xe75ab1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x51b9ff,_0x323cbc),_0x323cbc[_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x323cbc[_0xe75ab1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xe75ab1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59fd90=>_0x2dbef8(_0x55f487,_0x59fd90[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xe75ab1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46da18=>_0x52c1af(_0x51b9ff,_0x46da18));}function _0x404ad8(_0x3b9446,_0x3a62d2){_0x22b119(_0xfa62a2(_0x3b9446,_0x3a62d2),_0x3a62d2);}function _0x336235(_0xbb4ef4,_0x39c727){function _0xe59882(_0x1fb0d4,_0x361201){try{if(_0x2dbef8(_0x55f487,_0xe75ab1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1fb0d4){const _0x1005c7=_0x3165ed(_0x55f487,_0xe75ab1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xe75ab1([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1005c7)/0x2>_0x1fb0d4[_0xe75ab1([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2c7192(_0x361201[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xfa62a2(_0x1fb0d4,_0x361201);}catch(_0x46785e){return _0x2c7192(_0x361201[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x22b119(_0xe59882(_0xbb4ef4,_0x39c727),_0x39c727);}function _0x1ff5b7(_0x337623,_0x16cb32){const _0xd41049=_0x835fe5[0x0]*_0x2a3db1[0x1],_0x42e487=_0x835fe5[0x0]*_0x2a3db1[0x2],_0x4bd8cc=_0x835fe5[0x2]*_0x2a3db1[0x2];_0x2dbef8(_0x55f487,_0xe75ab1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3165ed(_0x55f487,_0xe75ab1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xe75ab1([0x73,0x74,0x61,0x74,0x65])]==_0xe75ab1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x249b08()]=_0x4bd8cc);function _0x3e1d1d(_0x2fd9dd,_0x4d3b1a){try{return _0x501d32()?_0x2c7192(_0x4d3b1a[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x56,0x61,0x6c,0x69,0x64])):_0xfa62a2(_0x2fd9dd,_0x4d3b1a);}catch(_0x5d3156){return _0x2c7192(_0x4d3b1a[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x21a2c1(_0x4f692b,_0x2bdc47){const _0x984581=0x7;if(_0x4f692b==_0x2bdc47[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x16c589();else{if(_0x4f692b==_0x2bdc47[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c])){const _0x391022=_0x4262dd();_0x391022&&_0x34bf15(_0x391022,_0x2bdc47[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x299755=_0x1c2366();window[_0xe75ab1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x34bf15(_0xe75ab1([0x74,0x69,0x6d,0x65]),_0x2bdc47[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x299755);const _0x23764d=_0x3165ed(_0x55f487,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xe75ab1([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x23764d[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x984581?_0x34bf15(_0xe75ab1([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2bdc47[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x23764d['on'](_0xe75ab1([0x61,0x64,0x64]),()=>{_0x23764d[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x984581&&_0x34bf15(_0xe75ab1([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2bdc47[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4262dd(){if(!_0x2dbef8(_0x55f487,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x34630f in window)if(Number['isNaN'](Number(_0x34630f))){if(window[_0x34630f]===_0xd41049)return _0xe75ab1([0x74,0x69,0x6d,0x65]);if(window[_0x34630f]===_0x42e487)return _0xe75ab1([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x501d32(){if(!_0x2dbef8(_0x55f487,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x51bcb3 in window)if(Number['isNaN'](Number(_0x51bcb3))&&window[_0x51bcb3]===_0x4bd8cc)return!0x0;return!0x1;}function _0x34bf15(_0x3bc1a1,_0x15864d){_0x16c589(),_0x2c7192(_0x15864d+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3bc1a1),window[_0x249b08()]=_0x3bc1a1===_0xe75ab1([0x74,0x69,0x6d,0x65])?_0xd41049:_0x42e487;}function _0x1c2366(){let _0xa068d8=_0x835fe5[0x6]*_0x2a3db1[0x8]*_0x2a3db1[0x6];return _0x2dbef8(_0x55f487,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xa068d8/=0xa),_0xa068d8;}function _0x16c589(){const _0xf3ac5=_0x55f487;function _0x145a34(){_0x2dbef8(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xe75ab1([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xe75ab1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xe75ab1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xe75ab1([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x18b801,_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xe75ab1([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x18b801,_0xf3ac5[_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe75ab1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18b801,_0xf3ac5[_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe75ab1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18b801,_0xf3ac5[_0xe75ab1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2dbef8(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xe75ab1([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xe75ab1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xe75ab1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xe75ab1([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x18b801,_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xe75ab1([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x18b801);}_0xf3ac5[_0xe75ab1([0x73,0x74,0x61,0x74,0x65])]==_0xe75ab1([0x72,0x65,0x61,0x64,0x79])?_0x145a34():_0xf3ac5[_0xe75ab1([0x6f,0x6e,0x63,0x65])](_0xe75ab1([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2dbef8(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x145a34(),_0x2dbef8(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1eb244=_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3c1bdd=_0x1eb244['getRevision'](0x0),_0x295bc7=_0x1eb244['getEarlierVisibleRevision'](_0x3c1bdd[_0xe75ab1([0x69,0x64])]);_0x3165ed(_0xf3ac5,_0xe75ab1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xe75ab1([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3c1bdd[_0xe75ab1([0x69,0x64])],_0x295bc7?_0x295bc7[_0xe75ab1([0x69,0x64])]:null,0x1)['then'](()=>_0x145a34());}});}_0x21a2c1(_0x3e1d1d(_0x337623,_0x16cb32),_0x16cb32);}function _0xfa62a2(_0x505789,_0x59fdb0){try{return _0x45b6e2(_0x59fdb0)?_0x2c7192(_0x59fdb0[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x56,0x61,0x6c,0x69,0x64])):_0x505789&&_0x5e3d9a(_0x505789[_0xe75ab1([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x59fdb0)?_0x505789[_0xe75ab1([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xe75ab1([0x6f,0x70,0x65,0x6e])][_0xe75ab1([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x57b15b)/0x2>_0x505789[_0xe75ab1([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2c7192(_0x59fdb0[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x505789[_0xe75ab1([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2c7192(_0x59fdb0[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c])):_0x2c7192(_0x59fdb0[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x56,0x61,0x6c,0x69,0x64])):_0x2c7192(_0x59fdb0[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x38f384){return _0x2c7192(_0x59fdb0[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x22b119(_0xe03419,_0x1dd902){if(_0x55f487 instanceof _0x9fb039){const _0x1731e5=_0x55f487;_0xe03419==_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4a86e4(_0x1731e5):_0xe03419==_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c])&&window[_0xe75ab1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4a86e4(_0x1731e5),_0x2c7192(_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x835fe5[0x6]*_0x2a3db1[0x8]*_0x2a3db1[0x6]),_0x1731e5[_0xe75ab1([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xe75ab1([0x6f,0x6e])](_0xe75ab1([0x61,0x64,0x64]),(_0x5d6d60,_0x20549a)=>{_0xe03419!=_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xe03419!=_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xe03419!=_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x200f31(_0x20549a);});}else{const _0x163895=_0x55f487;_0xe03419==_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x200f31(_0x163895):_0xe03419==_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c])&&_0x163895[_0xe75ab1([0x6f,0x6e])](_0xe75ab1([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x498778=0x0;_0x163895[_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe75ab1([0x6f,0x6e])](_0xe75ab1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x507f7b,_0x15715d)=>{_0x15715d[0x0][_0xe75ab1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x498778++,0x1f8===_0x498778&&(_0x200f31(_0x163895),_0x2c7192(_0x1dd902[_0xe75ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xe75ab1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x507f7b[_0xe75ab1([0x6f,0x66,0x66])]());},{'priority':_0xe75ab1([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2c7192(_0x1155e2){const _0x4d500d=_0x249b08();return _0x55f487[_0x4d500d]=_0x1155e2,_0x1155e2;}function _0x249b08(){const _0x5d44bd=String(window[_0xe75ab1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe75ab1([0x6e,0x6f,0x77])]())[_0xe75ab1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe75ab1([0x2e]),'');let _0x4f0317='';for(let _0x54c670=0x0;_0x54c670<_0x5d44bd[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54c670+=0x2){let _0x2a154f=parseInt(_0x5d44bd[_0xe75ab1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54c670,_0x54c670+0x2));_0x2a154f>=_0x41c2f3[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a154f-=_0x41c2f3[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f0317+=_0x41c2f3[_0x2a154f];}return _0x4f0317;}function _0x4a86e4(_0x5af31f){for(const _0x329627 of _0x5af31f[_0xe75ab1([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x200f31(_0x329627);_0x3165ed(_0x5af31f,_0xe75ab1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xe75ab1([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3165ed(_0x5af31f,_0xe75ab1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xe75ab1([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x18b801;}function _0x200f31(_0x4b868a){function _0x46da3a(){_0x4b868a[_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe75ab1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18b801,_0x4b868a[_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe75ab1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18b801,_0x4b868a[_0xe75ab1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe75ab1([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4b868a[_0xe75ab1([0x73,0x74,0x61,0x74,0x65])]==_0xe75ab1([0x72,0x65,0x61,0x64,0x79])?_0x46da3a():_0x4b868a[_0xe75ab1([0x6f,0x6e,0x63,0x65])](_0xe75ab1([0x72,0x65,0x61,0x64,0x79]),()=>_0x46da3a());}function _0x18b801(){return null;}function _0x5e3d9a(_0x59df6d,_0x345d65){const _0x489991=!!(_0x59df6d&_0x345d65[_0xe75ab1([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xb582d9=_0x4ec56d(_0x59df6d,_0x345d65);return _0x489991||_0xb582d9;}function _0x4ec56d(_0x221bea,_0x412d69){const _0x44d104=(_0x412d69[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xe75ab1([0x66,0x67,0x69])]||null;return!!_0x44d104&&_0x20a169[_0xe75ab1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fc25f=>_0x44d104[_0xe75ab1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc25f[_0xe75ab1([0x69,0x64])]))[_0xe75ab1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17db6d=>!_0x3b0781(_0x17db6d))[_0xe75ab1([0x73,0x6f,0x6d,0x65])](_0x2dec5e=>!!(_0x221bea&_0x2dec5e[_0xe75ab1([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3b0781(_0x26d054){const _0x56ce2d={[_0xe75ab1([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])]:_0x9d624};return!!_0x26d054['forbiddenHandler']&&_0x56ce2d[_0x26d054['forbiddenHandler']]();}function _0x9d624(){return!window[_0xe75ab1([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2dbef8(_0x55f487,_0xe75ab1([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x45b6e2(_0x2eaa5c){if(!_0x2dbef8(_0x55f487,_0x2eaa5c[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xf1fe6e=_0x2eaa5c[_0xe75ab1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x757568=_0xf1fe6e[_0xe75ab1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1c191c=_0xf1fe6e[_0xe75ab1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1698ed=_0xf1fe6e[_0xe75ab1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2dbef8(_0x55f487,_0xe75ab1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3165ed(_0x55f487,_0xe75ab1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xe75ab1([0x73,0x74,0x61,0x74,0x65])]==_0xe75ab1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x757568)return!0x0;if(_0x2dbef8(_0x55f487,_0xe75ab1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3165ed(_0x55f487,_0xe75ab1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xe75ab1([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xe75ab1([0x65,0x6e,0x64])&&_0x1c191c)return!0x0;return!(!_0x2dbef8(_0x55f487,_0xe75ab1([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]))||_0x3165ed(_0x55f487,_0xe75ab1([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]))[_0xe75ab1([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xe75ab1([0x65,0x6e,0x64])||!_0x1698ed);}function _0x2dbef8(_0x13bf87,_0x43b092){return _0x13bf87[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe75ab1([0x68,0x61,0x73])](_0x43b092);}function _0x3165ed(_0x4941e3,_0x88b38a){return _0x4941e3[_0xe75ab1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe75ab1([0x67,0x65,0x74])](_0x88b38a);}function _0x19a33d(_0x5d4347){let _0x29a2df='';for(const _0x5393a7 of _0x5d4347)_0x29a2df+=String[_0xe75ab1([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5393a7);return _0x29a2df;}function _0xbbac76(_0x5219b6){const _0x1acbcc=new Uint8Array(_0x5219b6[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4ef545=0x0;_0x4ef545<_0x5219b6[_0xe75ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ef545++)_0x1acbcc[_0x4ef545]=_0x5219b6[_0xe75ab1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ef545);return _0x1acbcc;}_0x40e221&&_0x52c1af(_0x575e0c(_0x52a17d),_0x40e221);})(_0xa3a028);}(this);}['createRevision'](_0x566a5f){const _0x23859d=this['editor']['plugins']['get']('Users');return new a({'id':_0x566a5f['id'],'name':_0x566a5f['name'],'creator':_0x566a5f['creatorId']?_0x23859d['getUser'](_0x566a5f['creatorId']):null,'diffData':_0x566a5f['diffData']||_0x566a5f['data'],'authors':_0x566a5f['authorsIds']['map'](_0x4e4881=>_0x23859d['getUser'](_0x4e4881)),'createdAt':new Date(_0x566a5f['createdAt']),'attributes':_0x566a5f['attributes'],'fromVersion':_0x566a5f['fromVersion'],'toVersion':_0x566a5f['toVersion']});}['addRevision'](_0x500fef,_0x4452ae=0x0){this['_revisions']['add'](_0x500fef,_0x4452ae);}['getRevision'](_0x3123ed){return this['_revisions']['get'](_0x3123ed);}['getRevisions'](_0x258a94={'toJSON':!0x1}){const _0x1db07=Array['from'](this['_revisions']);return _0x1db07['reverse'](),_0x258a94['toJSON']?_0x1db07['map'](_0x290577=>_0x290577['toJSON']()):_0x1db07;}['getIndex'](_0x48dac6){return this['_revisions']['getIndex'](_0x48dac6);}['getEarlierVisibleRevision'](_0x144090){const [,_0x3c220a]=this['getRevisionsIterator'](_0x144090,{'direction':'earlier'});return _0x3c220a;}['getLaterVisibleRevision'](_0x32992e){const [,_0x525aed]=this['getRevisionsIterator'](_0x32992e,{'direction':'later'});return _0x525aed;}['getRevisionsInDiff'](_0x4ac861){const _0x3fe5ec=[];for(const _0x122d20 of this['getRevisionsIterator'](_0x4ac861['newRevisionId']))if(_0x3fe5ec['push'](_0x122d20),_0x122d20['id']===_0x4ac861['oldRevisionId'])break;return _0x3fe5ec;}*['getRevisionsIterator'](_0x21ce8c,{direction:_0x3dd89d='earlier',filter:_0x2ced4f=_0x20367d=>!0x0}={}){const _0x5a1d7c='earlier'===_0x3dd89d?0x1:-0x1;let _0x2577db=this['_revisions']['get'](_0x21ce8c),_0x520567=this['getIndex'](_0x2577db);for(yield _0x2577db;_0x2577db;){if(_0x520567+=_0x5a1d7c,_0x2577db=this['getRevision'](_0x520567),!_0x2577db)return;_0x2ced4f(_0x2577db)&&(yield _0x2577db);}}}function y(_0x5efca1,_0x5167eb,_0x4c9027){const t=_0x5efca1['t'];switch(_0x5167eb){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'},_0x4c9027);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4c9027);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':_0x53b890,'a':_0x778e34,'e':_0x48c7a0,'r':_0x52aa55,'u':_0x4bc5d6};class l extends _0x2a24c5{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x21284e,A,_0x3d5cd9];}constructor(_0x4fb81e){super(_0x4fb81e),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 _0x575605=_0x49cb62();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x575605},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 _0x57794b=this['repository']['getRevision'](0x0),_0x3d1192=_0x57794b&&null===_0x57794b['creator']?_0x57794b:null;if(this['_continueCurrentRevision']=!!_0x3d1192&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2fc95c=this['_source']['getCurrentRevisionId'](),_0xaa8d78=this['repository']['getRevision'](_0x2fc95c);if(_0xaa8d78)this['_startingVersion']=_0xaa8d78['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2c838c=this['_source']['history']['_operations']['find'](_0x56218d=>!_0x56218d['_isInit']),_0x510ab1=_0x2c838c?_0x2c838c['baseVersion']:this['_source']['history']['version'];_0x57794b?(_0x57794b['toVersion']<_0x510ab1&&_0x57794b['_update']({'toVersion':_0x510ab1}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3d1192['id'],this['_startingVersion']=_0x3d1192['fromVersion']):(this['_startingVersion']=_0x57794b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x510ab1,this['_continueCurrentRevision']=!0x1);}}else _0x3d1192&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3d1192['toVersion'],this['editor']['model']['document']['history']['version']),_0x3d1192['fromVersion']===_0x3d1192['toVersion']?(0x0!==_0x3d1192['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3d1192['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3d1192['id'],this['_startingVersion']=_0x3d1192['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',_0x2fcf4c=>!_0x2fcf4c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x45ad8c=this['repository']['getRevision'](0x0),_0xb51701=await this['getRevisionDocumentData'](_0x45ad8c),_0x1595b8=await this['getRevisionRootsAttributes'](_0x45ad8c);this['_replaceEditorDataWithRevisionData'](_0xb51701,_0x1595b8);}}['setSource'](_0x318767){this['_source']=_0x318767;}async['update'](){const _0x376fe5=await this['_source']['getLatestVersion']();if(_0x376fe5>this['currentRevision']['toVersion']){await this['_loadState']();const _0x43337d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x376fe5});_0x43337d['authors']=_0x43337d['authorsIds']['map'](_0x34123e=>this['editor']['plugins']['get']('Users')['getUser'](_0x34123e)),this['currentRevision']['_update'](_0x43337d);}}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'](_0x30c715={},_0x56d0dd=null){const _0x5c04e2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x56d0dd>this['currentRevision']['toVersion']&&(_0x56d0dd=null),null===_0x56d0dd&&(_0x56d0dd=await this['_source']['getLatestVersion']());const _0x50b3dd=this['_getFromVersion'](_0x56d0dd),_0x2023c6=this['buildRevisionData']({'from':_0x50b3dd,'to':_0x56d0dd});if(this['currentRevision']['toVersion']<_0x56d0dd){const _0xa66bad=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x56d0dd,'to':_0x56d0dd});_0xa66bad['authors']=[],_0xa66bad['authorsIds']=[],_0xa66bad['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xa66bad,!0x0),delete _0xa66bad['authors'],_0x5c04e2['push'](_0xa66bad);}_0x30c715['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x30c715['name']=_0x30c715['name']||null,_0x30c715['id']=_0x30c715['id']||_0x49cb62(),_0x30c715={..._0x30c715,..._0x2023c6};const _0x4a59ae=this['addRevisionData'](_0x30c715);_0x5c04e2['push'](_0x30c715);const _0x3c9268=this['repository']['getIndex'](_0x4a59ae);if(0x0!==_0x3c9268){const _0x5b28c0=this['repository']['getRevision'](_0x3c9268-0x1);if(_0x5b28c0['fromVersion']!==_0x56d0dd){const _0x2ec26c=this['_revisionDataBuilder']['getData'](_0x56d0dd,_0x5b28c0['toVersion']),_0x49531e={'id':_0x5b28c0['id'],'diffData':_0x2ec26c['diffData'],'authorsIds':_0x2ec26c['authorsIds'],'authors':_0x2ec26c['authorsIds']['map'](_0x13979f=>this['editor']['plugins']['get']('Users')['getUser'](_0x13979f)),'fromVersion':_0x56d0dd};_0x5b28c0===this['currentRevision']&&(_0x49531e['createdAt']=new Date(_0x30c715['createdAt']['getTime']()+0xa)),_0x5b28c0['_update'](_0x49531e,!0x0),delete _0x49531e['authors'],_0x5c04e2['push'](_0x49531e);}}if(this['adapter']){for(const _0x5ed0ad of _0x5c04e2)this['_bufferUpdate'](_0x5ed0ad['id'],_0x5ed0ad,!0x0);this['sendBufferedUpdates']();}return _0x4a59ae;}['addRevisionData'](_0x96ddb2){const _0x1a780b=this['repository']['createRevision'](_0x96ddb2);return this['adapter']&&_0x1a780b['on']('_update',(_0xcf5702,_0x5134f7,_0x1d7a60)=>{_0x1d7a60||(this['_bufferUpdate'](_0x5134f7['id'],_0x5134f7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1a780b,this['_findInsertionIndex'](_0x1a780b)),_0x1a780b;}async['getRevisionDocumentData'](_0x5bba16){await this['_loadRevisionData'](_0x5bba16);const _0x58ffd1={};for(const _0x4903b1 in _0x5bba16['diffData']){if(_0x5bba16['diffData'][_0x4903b1]['attachChange']&&!_0x5bba16['diffData'][_0x4903b1]['attachChange']['isAttached'])continue;const _0x3c3930=this['_removeRevisionMarkers'](JSON['parse'](_0x5bba16['diffData'][_0x4903b1]['insertions'])),_0x521c90=this['editor']['editing']['view']['document'],_0x5eaa6e=new _0x72026(_0x521c90,_0x3c3930['map'](_0x50b141=>B(_0x50b141,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x58ffd1[_0x4903b1]=this['editor']['data']['processor']['toData'](_0x5eaa6e),this['editor']['data']['processor']['useFillerType']('default');}return _0x58ffd1;}async['getRevisionRootsAttributes'](_0x327d9d){await this['_loadRevisionData'](_0x327d9d);const _0x5dcd80={};for(const _0x126eb6 in _0x327d9d['diffData'])_0x327d9d['diffData'][_0x126eb6]['attachChange']&&!_0x327d9d['diffData'][_0x126eb6]['attachChange']['isAttached']||(_0x5dcd80[_0x126eb6]=_0x327d9d['diffData'][_0x126eb6]['attributesAfter']||{});return _0x5dcd80;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1bf38d=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x52cf53=0x0;_0x52cf53<_0x1bf38d['length'];_0x52cf53++){const _0x5f2ea8=_0x1bf38d[_0x52cf53];let _0x1bc7e3=!0x1;for(const _0x20c2b2 of Object['keys'](_0x5f2ea8))void 0x0===_0x5f2ea8[_0x20c2b2]?delete _0x5f2ea8[_0x20c2b2]:'id'!==_0x20c2b2&&(_0x1bc7e3=!0x0);_0x1bc7e3||(_0x1bf38d[_0x52cf53]=null);}if(_0x1bf38d=_0x1bf38d['filter'](_0x248962=>null!==_0x248962),!_0x1bf38d['length'])return;for(let _0x41d346=0x0;_0x41d346<_0x1bf38d['length'];_0x41d346++){const _0x5e550f=_0x1bf38d[_0x41d346];void 0x0!==_0x5e550f['fromVersion']&&void 0x0===_0x5e550f['toVersion']&&(_0x5e550f['toVersion']=this['repository']['getRevision'](_0x5e550f['id'])['toVersion']),void 0x0!==_0x5e550f['toVersion']&&void 0x0===_0x5e550f['fromVersion']&&(_0x5e550f['fromVersion']=this['repository']['getRevision'](_0x5e550f['id'])['fromVersion']);}const _0x58807b=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1bf38d,_0x58807b)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xa3da2e=>{if(_0xa3da2e){for(const _0x32bc83 of _0xa3da2e)this['setRevisionData']({'id':_0x32bc83['id'],'createdAt':_0x32bc83['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x32b958,_0x311e9a){let _0xdb466=this['editor']['config']['get']('initialData'),_0x5d4f14=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xdb466){_0xdb466={};for(const _0x48b80b of this['editor']['model']['document']['getRootNames']())_0xdb466[_0x48b80b]='';}if('string'==typeof _0xdb466&&(_0xdb466={'main':_0xdb466}),void 0x0===_0x5d4f14){_0x5d4f14={};for(const _0x5c2a75 of this['editor']['model']['document']['getRootNames']())_0x5d4f14[_0x5c2a75]={};}let _0x15c0a6=!0x1;const _0x230bc6=Object['keys'](_0xdb466),_0x2f4f05=Object['keys'](_0x32b958);for(const _0x59ff32 of _0x230bc6){if(_0xdb466[_0x59ff32]!==_0x32b958[_0x59ff32]&&''!==_0xdb466[_0x59ff32]['trim']()){_0x15c0a6=!0x0;break;}if(!_0x4dae1f(_0x5d4f14[_0x59ff32],_0x311e9a[_0x59ff32])&&Object['keys'](_0x5d4f14[_0x59ff32])['length']>0x0){_0x15c0a6=!0x0;break;}}_0x15c0a6||(_0x15c0a6=_0x2f4f05['some'](_0x450c67=>!this['editor']['model']['document']['getRoot'](_0x450c67))),_0x15c0a6&&_0x568b84('editor-initial-data-replaced-with-revision-data',{'editorData':_0xdb466,'editorRootsAttributes':_0x5d4f14,'revisionData':_0x32b958,'revisionRootsAttributes':_0x311e9a}),this['editor']['config']['set']('initialData',_0x32b958),this['editor']['config']['set']('rootsAttributes',_0x311e9a);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x158e48=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x158e48['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5c59c2){const _0x3fded1=this['repository']['getRevisions']();_0x3fded1['reverse']();let _0x55d4dc=0x0;for(;_0x55d4dc<_0x3fded1['length'];){const _0xff153e=_0x3fded1[_0x55d4dc];if(_0xff153e===this['currentRevision']){_0x55d4dc++;continue;}if(_0xff153e['id']===this['_initialRevisionId'])break;const _0x314b20=_0x5c59c2['toVersion']-_0xff153e['toVersion']||_0x5c59c2['fromVersion']-_0xff153e['fromVersion'];if(_0x314b20>0x0)break;if(_0x314b20<0x0)_0x55d4dc++;else{if(!_0x5c59c2['creator']&&_0xff153e['creator'])break;if(_0xff153e['creator']||!_0x5c59c2['creator']){if(_0x5c59c2['createdAt']>_0xff153e['createdAt'])break;_0x55d4dc++;}else _0x55d4dc++;}}return _0x55d4dc;}['setRevisionData'](_0x539857){const _0x205240=this['repository']['getRevision'](_0x539857['id']);if(_0x539857['createdAt']&&(_0x539857['createdAt']=new Date(_0x539857['createdAt'])),_0x539857['authorsIds']){const _0x4e3cb3=this['editor']['plugins']['get']('Users');_0x539857['authors']=_0x539857['authorsIds']['map'](_0x17aa8b=>_0x4e3cb3['getUser'](_0x17aa8b));}_0x205240['_update'](_0x539857,!0x0);}['buildRevisionData']({revision:_0x4cf4b2=null,from:_0x589dd3=null,to:_0x28090e=null}){_0x589dd3=null!==_0x589dd3?_0x589dd3:_0x4cf4b2['fromVersion'],_0x28090e=null!==_0x28090e?_0x28090e:_0x4cf4b2['toVersion'];const _0x319a9b=this['_revisionDataBuilder']['getData'](_0x589dd3,_0x28090e),_0x3cf4a5={'diffData':_0x319a9b['diffData'],'authorsIds':_0x319a9b['authorsIds'],'fromVersion':_0x589dd3,'toVersion':_0x28090e};if(!_0x4cf4b2||_0x28090e!==_0x4cf4b2['toVersion']){const _0x5deca8=_0x28090e-0x1,_0x4fa497=this['_source']['history']['getOperation'](_0x5deca8);_0x3cf4a5['createdAt']=_0x4fa497&&_0x4fa497['createdAt']||new Date();}if(this['_loadedStateData']&&_0x589dd3===this['_loadedStateData']['fromVersion']){for(const _0xbce4c6 of this['_loadedStateData']['authors'])_0x3cf4a5['authorsIds']['includes'](_0xbce4c6['id'])||_0x3cf4a5['authorsIds']['push'](_0xbce4c6['id']);}return _0x3cf4a5;}['_loadRevisionData'](_0x1a2a67){if(!_0x1a2a67||_0x1a2a67['diffData'])return Promise['resolve']();{const _0x49e27b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x49e27b,'revisionId':_0x1a2a67['id']})['then'](_0x755267=>{_0x1a2a67['diffData']=_0x755267['diffData'];});}}['_bufferUpdate'](_0x48c298,_0x58d341,_0x54cf78){if(this['_bufferedUpdates']['has'](_0x48c298)){const _0x4d0a25=this['_bufferedUpdates']['get'](_0x48c298);_0x58d341=_0x54cf78?{..._0x4d0a25,..._0x58d341}:{..._0x58d341,..._0x4d0a25};}this['_bufferedUpdates']['set'](_0x48c298,_0x58d341);}['_getFromVersion'](_0x3f6ec1){const _0x50e725=this['repository']['getRevisions']();_0x50e725['reverse'](),_0x50e725['shift']();const _0x39dc95=_0x50e725['find'](_0x172252=>_0x172252['toVersion']<=_0x3f6ec1)['toVersion'];return _0x39dc95<this['_startingVersion']?this['_startingVersion']:_0x39dc95;}['_createInitialRevision'](_0x2fc663){const _0xb94a63=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xb94a63)this['_initialRevisionId']=_0xb94a63['id'];else{const _0x86daff=!this['editor']['model']['document']['roots']['find'](_0x33f598=>this['editor']['model']['hasContent'](_0x33f598)),_0x188191=this['editor']['plugins']['get']('Users')['me']['id'],_0x15f19d=y(this['editor']['locale'],_0x86daff?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x2fc663,'to':_0x2fc663,'id':this['_initialRevisionId'],'name':_0x15f19d,'creatorId':_0x188191});}}['_createCurrentRevision'](_0x373eaa){const _0x1ce322=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1ce322),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x373eaa,'to':_0x373eaa,'id':_0x1ce322,'name':'','creatorId':null}));}['_makeRevision']({name:_0xc55680,from:_0x28a2a1,to:_0x532b70,creatorId:_0x327d8a,id:_0x5dba34}){const _0x502ad4=this['buildRevisionData']({'from':_0x28a2a1,'to':_0x532b70});_0x502ad4['name']=_0xc55680,_0x502ad4['creatorId']=_0x327d8a,_0x502ad4['id']=_0x5dba34;const _0x1d6718=this['addRevisionData'](_0x502ad4);return this['adapter']&&this['_bufferUpdate'](_0x502ad4['id'],_0x502ad4,!0x0),_0x1d6718;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2dbf1e){return(_0x2dbf1e=_0x2dbf1e['filter'](_0x309ea6=>!_0x309ea6['name']||'revision-start'!==_0x309ea6['name']&&'revision-end'!==_0x309ea6['name']))['forEach'](_0x2d57a4=>{'string'!=typeof _0x2d57a4&&(_0x2d57a4['children']=this['_removeRevisionMarkers'](_0x2d57a4['children']),_0x2d57a4['attributes']=_0x2d57a4['attributes']['filter'](_0x5a7f17=>!_0x5a7f17[0x0]['startsWith']('data-revision-')));}),_0x2dbf1e;}}function B(_0x258b23,_0x2b405e){const _0x553fea=_0x2b405e['editing']['view']['document'];if('string'==typeof _0x258b23)return new _0x391641(_0x553fea,_0x258b23);{const _0x3e2cee=_0x258b23['children']['map'](_0x2d43e6=>B(_0x2d43e6,_0x2b405e));return new(T[_0x258b23['type']]||_0x3b4b97)(_0x553fea,_0x258b23['name'],_0x258b23['attributes'],_0x3e2cee);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4ab211){this['editor']=_0x4ab211,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'](_0x1d0129){this['source']=_0x1d0129;const _0x541770=new Map(),_0x369c9c=new Map(),_0x42e369=this['editor']['model']['document']['roots']['map'](_0x2b77b5=>_0x2b77b5['rootName']);for(const _0x1b28c3 of _0x42e369){const _0xa2eb94=this['editor']['model']['document']['getRoot'](_0x1b28c3),_0x712f1d=q(_0xa2eb94);_0x541770['set'](_0x1b28c3,_0x712f1d),_0x369c9c['set'](_0x1b28c3,Object['fromEntries'](_0xa2eb94['getAttributes']()));}const _0x2eec70=Array['from'](this['editor']['model']['markers'])['map'](_0x34e3c6=>[_0x34e3c6['name'],_0x34e3c6['getRange']()]),_0x1e058f=this['source']['version'];this['_saveMetaData'](_0x1e058f,_0x541770,_0x2eec70,_0x369c9c),this['_startingRevisionId']=this['_revisionId'];const _0x2b1021=new Map(),_0x29c3f3=new Map();for(const _0x4937b5 of _0x42e369){const _0x5a74f2=G(_0x4937b5);_0x2b1021['set'](_0x4937b5,_0x5a74f2),_0x29c3f3['set'](_0x4937b5,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2b1021,[],_0x29c3f3);}['getData'](_0x260c9c,_0x4b1529){if(this['_lastFrom']===_0x260c9c&&this['_lastTo']<=_0x4b1529)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4b1529,!0x0);else{if(!this['_savedMetaData']['has'](_0x260c9c)){const _0x2ad013=this['_getPreviousFrom'](_0x260c9c);this['_calculateMetaData'](_0x2ad013,_0x260c9c,!0x1);}this['_calculateMetaData'](_0x260c9c,_0x4b1529,!0x0);}return this['_lastFrom']=_0x260c9c,this['_lastTo']=_0x4b1529,this['_getState']();}['loadState'](_0x498f35){this['_reset'](),this['_lastFrom']=_0x498f35['fromVersion'],this['_lastTo']=_0x498f35['toVersion'];for(const _0x8f40c9 in _0x498f35['diffData']){const _0x344825=_0x498f35['diffData'][_0x8f40c9]['attachChange'],_0x4bd414=_0x250bb5(_0x498f35['diffData'][_0x8f40c9]['attributesBefore'])||{},_0x53cc19=this['_makeModelFromViewString'](_0x498f35['diffData'][_0x8f40c9]['deletions']);_0x53cc19['rootName']=_0x8f40c9,_0x53cc19['_isAttached']=!_0x344825||!_0x344825['isAttached'],_0x53cc19['isAttached']=()=>_0x53cc19['_isAttached'],this['_baseRoots']['set'](_0x8f40c9,_0x53cc19),this['_baseRootsAttributes']['set'](_0x8f40c9,_0x4bd414),_0x344825&&this['_touchedRoots']['set'](_0x8f40c9,_0x344825);const _0x4f94b4=this['_makeIdsRoot'](_0x53cc19);this['_baseIdsRoots']['set'](_0x8f40c9,_0x4f94b4);for(const [_0x1a7547,_0x5b98e3]of _0x53cc19['markers']){if(!_0x1a7547['startsWith']('revision:'))continue;const _0x458bc0=_0x1a7547['split'](':')[0x2];for(const _0xf310c9 of _0x5b98e3['getWalker']({'singleCharacters':!0x0})){const _0x3fc29c=this['_getVidAttributeName'](_0xf310c9),_0x48e654='elementEnd'==_0xf310c9['type']?_0xf310c9['previousPosition']['path']['slice'](0x0,-0x1):_0xf310c9['previousPosition']['path'],_0x175d05=_0x4f94b4['getNodeByPath'](_0x48e654)['getAttribute'](_0x3fc29c);this['_touched']['set'](_0x175d05,{'userId':_0x458bc0});}}}this['_startingRevisionId']=this['_revisionId'];const _0x53bda3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2eb0d6=>!this['_touched']['has'](_0x2eb0d6));let _0x2519ee=0x0;const _0x588595=new Map();for(const _0x41b7c9 in _0x498f35['diffData']){const _0x18a739=_0x498f35['diffData'][_0x41b7c9]['attachChange'],_0x440cc2=_0x250bb5(_0x498f35['diffData'][_0x41b7c9]['attributesAfter'])||{},_0x2b41f0=this['_makeModelFromViewString'](_0x498f35['diffData'][_0x41b7c9]['insertions']);_0x2b41f0['rootName']=_0x41b7c9,_0x2b41f0['_isAttached']=!_0x18a739||_0x18a739['isAttached'],_0x2b41f0['isAttached']=()=>_0x2b41f0['_isAttached'],this['_diffRoots']['set'](_0x41b7c9,_0x2b41f0),this['_diffRootsAttributes']['set'](_0x41b7c9,_0x440cc2);const _0x1cc3b1=this['_makeIdsRoot'](_0x2b41f0,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x41b7c9,_0x1cc3b1),_0x588595['set'](_0x41b7c9,_0x2b41f0['isAttached']()?_0x440cc2:{});for(const [_0x2ed995,_0x1cd66a]of _0x2b41f0['markers']){if(!_0x2ed995['startsWith']('revision:'))continue;const _0x27022f=_0x2ed995['split'](':')[0x2];for(const _0x38acbf of _0x1cd66a['getWalker']({'singleCharacters':!0x0})){const _0x7503a4=this['_getVidAttributeName'](_0x38acbf),_0x1c1913=this['_revisionId']++,_0x12c52a='elementEnd'==_0x38acbf['type']?_0x38acbf['previousPosition']['path']['slice'](0x0,-0x1):_0x38acbf['previousPosition']['path'];_0x1cc3b1['getNodeByPath'](_0x12c52a)['_setAttribute'](_0x7503a4,_0x1c1913),this['_touched']['set'](_0x1c1913,{'userId':_0x27022f});}}for(const _0x4d2cd2 of this['editor']['model']['createRangeIn'](_0x2b41f0)['getWalker']({'singleCharacters':!0x0})){const _0x275f1b=this['_getVidAttributeName'](_0x4d2cd2),_0x50e789='elementEnd'==_0x4d2cd2['type']?_0x4d2cd2['previousPosition']['path']['slice'](0x0,-0x1):_0x4d2cd2['previousPosition']['path'],_0x5c2d25=_0x1cc3b1['getNodeByPath'](_0x50e789);_0x5c2d25['getAttribute'](_0x275f1b)>0x0||_0x5c2d25['_setAttribute'](_0x275f1b,_0x53bda3[_0x2519ee++]);}for(const [_0x486179,_0x2eea65]of _0x2b41f0['markers'])_0x486179['startsWith']('revision:')||this['_markers']['set'](_0x486179,_0x2eea65);}const _0x43e22c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x43e22c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x43e22c,0x1));const _0x118ae4=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x118ae4),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x118ae4,0x1));const _0x5cae62=Array['from'](this['_diffRoots'])['map'](([_0x2f7557,_0x2d04a1])=>[_0x2f7557,q(_0x2d04a1)]);this['_saveMetaData'](this['_lastTo'],_0x5cae62,this['_markers'],_0x588595);}['_makeModelFromViewString'](_0x2e83c2){const _0x20edf5=JSON['parse'](_0x2e83c2),_0xc106e9=this['editor']['editing']['view']['document'],_0x206e6c=new _0x72026(_0xc106e9,_0x20edf5['map'](_0x4a2ae9=>B(_0x4a2ae9,this['editor'])));return this['editor']['data']['toModel'](_0x206e6c);}['_saveMetaData'](_0x55e8e3,_0xcefa5e,_0x2e2c48,_0x5d6fd8){const _0x169fd8=new Map(_0xcefa5e),_0x4a703a=new Map(_0x250bb5(_0x5d6fd8)),_0x456e17=new Map();for(const [_0x3fc35b,_0x3c9b43]of _0x2e2c48)_0x456e17['set'](_0x3fc35b,{'start':_0x3c9b43['start']['clone'](),'end':_0x3c9b43['end']['clone'](),'rootName':_0x3c9b43['root']['rootName']});this['_savedMetaData']['set'](_0x55e8e3,{'roots':_0x169fd8,'markers':_0x456e17,'rootsAttributes':_0x4a703a});}['_removeMetaData'](_0x54e40c){this['_savedMetaData']['delete'](_0x54e40c);}['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'](_0x5a933b,_0x4524fb=null){let _0x19f0e2=null;_0x5a933b['is']('documentFragment')||(_0x19f0e2=new ft(_0x5a933b['name'],{'vid_start':null===_0x4524fb?this['_revisionId']++:_0x4524fb++}));const _0x2d2a7e=[];for(const _0x44dc42 of _0x5a933b['getChildren']())if(_0x44dc42['is']('element')){_0x2d2a7e['push'](this['_makeIdsRoot'](_0x44dc42,_0x4524fb));const _0x320c7d=_0x2d2a7e[_0x2d2a7e['length']-0x1];null!==_0x4524fb&&(_0x4524fb=_0x320c7d['is']('element','$text')?_0x320c7d['getAttribute']('vid')+0x1:_0x320c7d['getAttribute']('vid_end')+0x1);}else{for(let _0x5c6d96=0x0;_0x5c6d96<_0x44dc42['offsetSize'];_0x5c6d96++)_0x2d2a7e['push'](new ft('$text',{'vid':null===_0x4524fb?this['_revisionId']++:_0x4524fb++}));}if(_0x5a933b['is']('documentFragment')){const _0x2bd59f=G(_0x5a933b['rootName']);return _0x2bd59f['_insertChild'](0x0,_0x2d2a7e),_0x2bd59f;}return _0x19f0e2['_setAttribute']('vid_end',null===_0x4524fb?this['_revisionId']++:_0x4524fb++),_0x19f0e2['_insertChild'](0x0,_0x2d2a7e),_0x19f0e2;}['_calculateMetaData'](_0x3a6b56,_0x3ed8c2,_0x199efb){this['_reset']();const {roots:_0x2e37d9,markers:_0x1d03c9,rootsAttributes:_0x4c45c1}=this['_savedMetaData']['get'](_0x3a6b56);this['_baseRoots']=new Map(_0x2e37d9),this['_baseRootsAttributes']=new Map(_0x250bb5(_0x4c45c1));for(const [_0x1642ef,_0x34c7a2]of this['_baseRoots'])if('$graveyard'!==_0x1642ef&&(this['_diffRoots']['set'](_0x1642ef,q(_0x34c7a2)),this['_diffRootsAttributes']=new Map(_0x250bb5(_0x4c45c1)),_0x199efb)){const _0x310a08=this['_revisionId'];this['_idsRoots']['set'](_0x1642ef,this['_makeIdsRoot'](_0x34c7a2)),this['_baseIdsRoots']['set'](_0x1642ef,this['_makeIdsRoot'](_0x34c7a2,_0x310a08));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x199efb&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1f1ff9,_0x2f1b24]of _0x1d03c9){const _0x154ab9=this['_baseRoots']['get'](_0x2f1b24['rootName']),_0x35d868=this['_diffRoots']['get'](_0x2f1b24['rootName']),_0x8bc53b=new vt(this['_fixPosition'](_0x2f1b24['start'],_0x154ab9),this['_fixPosition'](_0x2f1b24['end'],_0x154ab9)),_0x286a43=this['_fixRange'](_0x8bc53b,_0x35d868);_0x154ab9['markers']['set'](_0x1f1ff9,_0x8bc53b),this['_markers']['set'](_0x1f1ff9,_0x286a43);}this['_applyOperations'](_0x3a6b56,_0x3ed8c2,_0x199efb);}['_applyOperations'](_0xc65d5e,_0x43645a,_0x166af3){for(const _0xc3b63b of this['source']['getOperations'](_0xc65d5e,_0x43645a))this['_handleOperation'](_0xc3b63b,_0x166af3);for(const _0x411a9d of this['_diffRoots']['values']())_0x411a9d['markers']['clear']();for(const [_0x591630,_0x400147]of this['_markers']){this['_diffRoots']['get'](_0x400147['root']['rootName'])['markers']['set'](_0x591630,_0x400147['clone']());}const _0x40e116=new Map(),_0x54b3c1=new Map();for(const [_0x21a66c,_0x22018c]of this['_diffRoots'])_0x40e116['set'](_0x21a66c,q(_0x22018c)),_0x54b3c1['set'](_0x21a66c,this['_diffRootsAttributes']['get'](_0x21a66c));this['_saveMetaData'](_0x43645a,_0x40e116,this['_markers'],_0x54b3c1);}['_getPreviousFrom'](_0x3356e6){const _0xaef6d=Array['from'](this['_savedMetaData']['keys']());_0xaef6d['sort']((_0x277ea0,_0x290481)=>_0x277ea0-_0x290481),_0xaef6d['reverse']();for(const _0x41966e of _0xaef6d)if(_0x41966e<_0x3356e6)return _0x41966e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x442535,_0x9cf9b3){const _0x505be9=Array['from'](_0x9cf9b3['markers'])['map'](([_0x415f1a,_0x14e229])=>[_0x415f1a,this['_fixRange'](_0x14e229,_0x442535)]);_0x442535['markers']=new Map(_0x505be9);}['_transformMarkers'](_0x4e9e99){for(const _0x23c637 of this['_markers']['values']()){const _0x39e131=_0x23c637['getTransformedByOperation'](_0x4e9e99),_0xf89b27=vt['_createFromRanges'](_0x39e131);_0x23c637['start']=_0xf89b27['start'],_0x23c637['end']=_0xf89b27['end'];}}['_handleOperation'](_0x2b7fdc,_0x12d146){if('addRoot'==_0x2b7fdc['type']||'detachRoot'==_0x2b7fdc['type'])return void this['_handleRootOperation'](_0x2b7fdc,_0x12d146);if('insert'==_0x2b7fdc['type']){const _0x1c1434=_0x2b7fdc['position']['root']['rootName'];this['_diffRoots']['has'](_0x1c1434)||(this['_diffRoots']['set'](_0x1c1434,G(_0x1c1434,!0x0)),this['_diffRootsAttributes']['set'](_0x1c1434,{}),_0x12d146&&this['_idsRoots']['set'](_0x1c1434,G(_0x1c1434,!0x0)));}else{if('addRootAttribute'==_0x2b7fdc['type']||'removeRootAttribute'==_0x2b7fdc['type']||'changeRootAttribute'==_0x2b7fdc['type'])return void this['_handleRootAttributeOperation'](_0x2b7fdc);}const _0x44f4df=this['_cloneOperation'](_0x2b7fdc,this['_diffRoots']);if('marker'!==_0x2b7fdc['type']&&(_0x44f4df['_execute'](),this['_transformMarkers'](_0x44f4df)),_0x12d146)switch(_0x44f4df['type']){case'insert':this['_handleInsertOperation'](_0x2b7fdc);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2b7fdc);break;case'merge':this['_handleMergeOperation'](_0x2b7fdc);break;case'split':this['_handleSplitOperation'](_0x2b7fdc);break;case'marker':this['_handleMarkerOperation'](_0x2b7fdc);}}['_cloneOperation'](_0xe171ca,_0x3df00e){const _0x1fa91a=_0xe171ca['clone']();return _0x1fa91a['_authorId']=_0xe171ca['_authorId'],this['_fixOperation'](_0x1fa91a,_0x3df00e),_0x1fa91a;}['_getBaseVids'](_0x315739){return _0x315739['map'](_0x3b906d=>{const _0x179399=this['_getVidAttributeName'](_0x3b906d);return Number(_0x3b906d['item']['getAttribute'](_0x179399));});}['_generateTape'](_0x31c0c2,_0x1ff4ae){if(_0x31c0c2['is']('element','$text'))_0x1ff4ae['push']({'item':_0x31c0c2,'type':'text'});else{_0x31c0c2['is']('element')&&_0x1ff4ae['push']({'item':_0x31c0c2,'type':'elementStart'});for(const _0x301d18 of _0x31c0c2['getChildren']())this['_generateTape'](_0x301d18,_0x1ff4ae);_0x31c0c2['is']('element')&&_0x1ff4ae['push']({'item':_0x31c0c2,'type':'elementEnd'});}return _0x1ff4ae;}['_getState'](){const _0x4e4e15=new Map(this['_touched']),_0x1130d4=new Map(_0x4e4e15),_0x19c150=new Map(),_0x175f91={'insertions':{},'deletions':{}},_0x53a2b5={'insertions':{},'deletions':{}},_0x540298=new Map(),_0x429d70=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x429d70['delete']('$graveyard');for(const _0x29fc60 of _0x429d70){const _0x388100=this['_diffRoots']['get'](_0x29fc60)||G(_0x29fc60,!0x1),_0x3cfdaa=this['_baseRoots']['get'](_0x29fc60)||G(_0x29fc60,!0x1);_0x388100['isAttached']()||_0x3cfdaa['isAttached']()?(_0x175f91['insertions'][_0x29fc60]=q(_0x388100),_0x175f91['deletions'][_0x29fc60]=q(_0x3cfdaa),this['_copyMarkers'](_0x175f91['deletions'][_0x29fc60],_0x3cfdaa),this['_copyMarkers'](_0x175f91['insertions'][_0x29fc60],_0x388100),_0x53a2b5['insertions'][_0x29fc60]=this['_generateTape'](this['_idsRoots']['get'](_0x29fc60),[]),_0x53a2b5['deletions'][_0x29fc60]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x29fc60)||G(_0x29fc60,!0x1),[])):_0x429d70['delete'](_0x29fc60);}for(const _0x4b0271 of _0x429d70){const _0x190980=_0x53a2b5['insertions'][_0x4b0271];for(const _0x5a61a3 of _0x190980){const _0x4e5e2a=this['_getVidAttributeName'](_0x5a61a3),_0x56e7a5=_0x5a61a3['item']['getAttribute'](_0x4e5e2a);_0x1130d4['delete'](_0x56e7a5),_0x56e7a5>=this['_startingRevisionId']&&_0x19c150['set'](_0x56e7a5,_0x4e4e15['get'](_0x56e7a5));}}for(const _0x5ded10 of _0x429d70){const _0x336859=_0x53a2b5['insertions'][_0x5ded10],_0x3b47a9=this['_getBaseVids'](_0x53a2b5['deletions'][_0x5ded10]);let _0x5e9be4=0x0;for(const _0x8ac885 of _0x336859){const _0x3d4bbe=this['_getVidAttributeName'](_0x8ac885),_0x863c18=_0x8ac885['item']['getAttribute'](_0x3d4bbe);if(!_0x19c150['has'](_0x863c18)&&!_0x540298['has'](_0x863c18)){if(_0x1130d4['has'](_0x863c18))_0x5e9be4++;else{if(_0x863c18!=_0x3b47a9[_0x5e9be4]){const _0x5b45f9=_0x4e4e15['get'](_0x863c18)||_0x4e4e15['get'](_0x3b47a9[_0x5e9be4]);for(;_0x863c18!=_0x3b47a9[_0x5e9be4];)_0x1130d4['has'](_0x3b47a9[_0x5e9be4])||(_0x540298['set'](_0x3b47a9[_0x5e9be4],_0x5b45f9),_0x4e4e15['set'](_0x3b47a9[_0x5e9be4],_0x5b45f9)),_0x5e9be4++;}_0x5e9be4++;}}}}for(const _0x5d086f of _0x429d70){const _0x54ab95=_0x53a2b5['insertions'][_0x5d086f];for(const _0x39a490 of _0x54ab95){const _0x49bcf1=this['_getVidAttributeName'](_0x39a490),_0x13e679=_0x39a490['item']['getAttribute'](_0x49bcf1);if(_0x540298['has'](_0x13e679)){const _0x5a5524=_0x540298['get'](_0x13e679);_0x1130d4['has'](_0x13e679)||_0x1130d4['set'](_0x13e679,{..._0x5a5524}),_0x19c150['set'](_0x13e679,{..._0x5a5524});}}}for(const _0x4bc880 of _0x1130d4['keys']())_0x4bc880>=this['_startingRevisionId']&&_0x1130d4['delete'](_0x4bc880);const _0x521a30=new Map();for(const _0x438f72 of _0x429d70){let _0x2c8328=_0x53a2b5['insertions'][_0x438f72];for(const _0xe4c135 of _0x2c8328)if(_0xe4c135['item']['is']('element','tableCell')){const _0x67abce=this['_getVidAttributeName'](_0xe4c135),_0x16b702=_0xe4c135['item']['getAttribute'](_0x67abce);if(_0x19c150['has'](_0x16b702)){const _0x5aa4f6=_0xe4c135['item']['parent']['parent']['getAttribute']('vid_start'),_0x192cd6=_0x521a30['get'](_0x5aa4f6)||new Set();_0x192cd6['add'](_0x19c150['get'](_0x16b702)['userId']),_0x521a30['set'](_0x5aa4f6,_0x192cd6);}}_0x2c8328=_0x53a2b5['deletions'][_0x438f72];for(const _0x2cc367 of _0x2c8328)if(_0x2cc367['item']['is']('element','tableCell')){const _0x4dee75=this['_getVidAttributeName'](_0x2cc367),_0x4e4d94=_0x2cc367['item']['getAttribute'](_0x4dee75);if(_0x1130d4['has'](_0x4e4d94)){const _0x61638e=_0x2cc367['item']['parent']['parent']['getAttribute']('vid_start'),_0x2e0315=_0x521a30['get'](_0x61638e)||new Set();_0x2e0315['add'](_0x1130d4['get'](_0x4e4d94)['userId']),_0x521a30['set'](_0x61638e,_0x2e0315);}}for(const _0x1e4035 of _0x521a30['keys']())(_0x19c150['has'](_0x1e4035)||_0x1130d4['has'](_0x1e4035))&&_0x521a30['delete'](_0x1e4035);}for(const _0x1b2ea4 of _0x429d70){const _0x2014cb=_0x53a2b5['insertions'][_0x1b2ea4];let _0x52f3e5=null,_0x4b1772=null;for(const _0x56685d of _0x2014cb){const _0x4656a5=this['_getVidAttributeName'](_0x56685d),_0x4c4de5=_0x56685d['item']['getAttribute'](_0x4656a5),_0x116fd9=_0x521a30['get'](_0x4c4de5);_0x116fd9&&'elementStart'==_0x56685d['type']&&(_0x52f3e5=Array['from'](_0x116fd9)[0x0],_0x4b1772=_0x56685d['item']['getAttribute']('vid_end')),_0x52f3e5&&(_0x1130d4['set'](_0x4c4de5,{'userId':_0x52f3e5}),_0x19c150['set'](_0x4c4de5,{'userId':_0x52f3e5})),_0x4c4de5==_0x4b1772&&(_0x52f3e5=null,_0x4b1772=null);}}const _0x29afc5={},_0x2a76b4=new Set();for(const _0x592cb3 of _0x429d70){const _0x5dd59b=_0x175f91['deletions'][_0x592cb3],_0xf8ae35=_0x175f91['insertions'][_0x592cb3];for(const {userId:_0x450c92}of this['_touchedMarkers']['values']())null!==_0x450c92&&_0x2a76b4['add'](_0x450c92);for(const {userId:_0x2ef2c0}of this['_touchedRoots']['values']())null!==_0x2ef2c0&&_0x2a76b4['add'](_0x2ef2c0);this['_markChanges'](_0xf8ae35,_0x53a2b5['insertions'][_0x592cb3],_0x19c150,'insertion',_0x2a76b4),this['_markChanges'](_0x5dd59b,_0x53a2b5['deletions'][_0x592cb3],_0x1130d4,'deletion',_0x2a76b4),_0x29afc5[_0x592cb3]={'insertions':this['_prepareViewToSave'](_0xf8ae35),'deletions':this['_prepareViewToSave'](_0x5dd59b),'attachChange':this['_touchedRoots']['get'](_0x592cb3)||null,'attributesBefore':_0x250bb5(this['_baseRootsAttributes']['get'](_0x592cb3))||{},'attributesAfter':_0x250bb5(this['_diffRootsAttributes']['get'](_0x592cb3))};}return{'diffData':_0x29afc5,'authorsIds':Array['from'](_0x2a76b4)};}['_processRootBeforeSave'](_0x3bb863){for(const [,_0x56fef0]of _0x3bb863['markers']){const _0x2bb347=_0x56fef0['start']['getAncestors']()['filter'](_0x5cf63f=>'tableCell'==_0x5cf63f['name']);for(const _0x1f5ab7 of _0x2bb347)0x1==_0x1f5ab7['childCount']&&_0x1f5ab7['getChild'](0x0)['is']('element','paragraph')&&_0x1f5ab7['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x389738){this['_processRootBeforeSave'](_0x389738);const _0x24f40a=this['editor']['data']['toView'](_0x389738,{}),_0x287352=Array['from'](_0x24f40a['getChildren']())['map'](_0x148522=>this['_getViewJson'](_0x148522));return JSON['stringify'](_0x287352);}['_getViewJson'](_0x15778d){if(_0x15778d['is']('$text'))return _0x15778d['data'];{const _0x39a512=_0x15778d;return{'type':Object['keys'](T)['find'](_0x4e4187=>_0x15778d instanceof T[_0x4e4187]),'name':_0x39a512['name'],'attributes':Array['from'](_0x39a512['getAttributes']()),'children':Array['from'](_0x39a512['getChildren']())['map'](_0x1e61a0=>this['_getViewJson'](_0x1e61a0))};}}['_markChanges'](_0x513286,_0x1d2579,_0x3b2fc1,_0x3a68d4,_0x131a80){let _0x2d2569=null,_0x47aef2=null,_0x23ced4=0x0;const _0x4a9d23=this['editor']['model'];for(let _0x32b809=0x0;_0x32b809<_0x1d2579['length'];_0x32b809++){const _0xc842d7=this['_getVidAttributeName'](_0x1d2579[_0x32b809]),_0x31264a=_0x1d2579[_0x32b809]['item']['getAttribute'](_0xc842d7),_0x3c1e93=_0x3b2fc1['get'](_0x31264a),_0x3faf45=_0x32b809==_0x1d2579['length']-0x1;(!_0x2d2569&&_0x3c1e93&&(_0x2d2569=_0x3c1e93,_0x47aef2=_0x1d2579[_0x32b809]),_0x2d2569&&(!_0x3c1e93||_0x3c1e93['userId']!=_0x2d2569['userId']))&&(_0x215f4b(_0x3c1e93,L(_0x47aef2,_0x513286,_0x4a9d23),L(_0x1d2579[_0x32b809],_0x513286,_0x4a9d23)),_0x2d2569=_0x3c1e93||null,_0x47aef2=_0x3c1e93?_0x1d2579[_0x32b809]:null),_0x2d2569&&_0x3faf45&&_0x215f4b(_0x3c1e93,L(_0x47aef2,_0x513286,_0x4a9d23),W(_0x1d2579[_0x32b809],_0x513286,_0x4a9d23));}function _0x215f4b(_0x57db4c,_0x14a728,_0x184e8f){const _0x239039=_0x2d2569['userId'],_0x572b6d='revision:'+_0x3a68d4+':'+_0x239039+':'+_0x23ced4++,_0x286173=_0x4a9d23['createRange'](_0x14a728,_0x184e8f);_0x513286['markers']['set'](_0x572b6d,_0x286173),null!==_0x239039&&_0x131a80['add'](_0x239039);}}['_getVidAttributeName'](_0x1476f9){switch(_0x1476f9['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x53f85a,_0x19153d){_0x53f85a['baseVersion']=null;for(const _0xa59557 in _0x53f85a){const _0x9ce5fe=_0x53f85a[_0xa59557];if(_0x9ce5fe instanceof gt){const _0x483f5b=_0x19153d['get'](_0x9ce5fe['root']['rootName']);_0x53f85a[_0xa59557]=this['_fixPosition'](_0x9ce5fe,_0x483f5b);}if(_0x9ce5fe instanceof vt){const _0x216b6a=_0x19153d['get'](_0x9ce5fe['root']['rootName']);_0x53f85a[_0xa59557]=this['_fixRange'](_0x9ce5fe,_0x216b6a);}'root'===_0xa59557&&(_0x53f85a['root']=_0x19153d['get'](_0x53f85a['root']['rootName']));}}['_fixRange'](_0x3ae72d,_0x456caf){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3ae72d['start'],_0x456caf),this['_fixPosition'](_0x3ae72d['end'],_0x456caf));}['_fixPosition'](_0x1df053,_0x1ccafd){return this['editor']['model']['createPositionFromPath'](_0x1ccafd,_0x1df053['path'],_0x1df053['stickiness']);}['_handleInsertOperation'](_0x46d8f4){const _0x357de1=this['_idsRoots']['get'](_0x46d8f4['position']['root']['rootName']),_0x2228f7=this['_fixPosition'](_0x46d8f4['position'],_0x357de1),_0x4e505f=null===_0x46d8f4['_authorId']?null:_0x46d8f4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfeeff5=_0x2228f7['parent'],_0x3b4508=this['_revisionId'],_0x41a8dc=[];for(const _0x59594f of _0x46d8f4['nodes'])if(_0x59594f['is']('element'))_0x41a8dc['push'](this['_makeIdsRoot'](_0x59594f));else{for(let _0x1a097f=0x0;_0x1a097f<_0x59594f['offsetSize'];_0x1a097f++)_0x41a8dc['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x55919f=this['_revisionId'];for(let _0x588f9b=_0x3b4508;_0x588f9b<_0x55919f;_0x588f9b++)this['_touched']['set'](_0x588f9b,{'userId':_0x4e505f});_0xfeeff5['_insertChild'](_0x2228f7['offset'],_0x41a8dc);}['_handleMoveOperation'](_0x5393f8){(_0x5393f8=this['_cloneOperation'](_0x5393f8,this['_idsRoots']))['_execute']();const _0x3244d9=null===_0x5393f8['_authorId']?null:_0x5393f8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x38133c=_0x5393f8['getMovedRangeStart'](),_0x172fe9=_0x38133c['parent'],_0x4c6f81=_0x38133c['offset'];!function _0x1ca3de(_0x52d439,_0x1a403e,_0xee0bac,_0x54efdb){for(let _0x40e5bb=_0xee0bac;_0x40e5bb<_0x54efdb;_0x40e5bb++){const _0x40bca4=_0x1a403e['getChild'](_0x40e5bb);_0x40bca4['is']('element','$text')?_0x52d439['set'](_0x40bca4['getAttribute']('vid'),{'userId':_0x3244d9}):(_0x52d439['set'](_0x40bca4['getAttribute']('vid_start'),{'userId':_0x3244d9}),_0x1ca3de(_0x52d439,_0x40bca4,0x0,_0x40bca4['childCount']),_0x52d439['set'](_0x40bca4['getAttribute']('vid_end'),{'userId':_0x3244d9}));}}(this['_touched'],_0x172fe9,_0x4c6f81,_0x4c6f81+_0x5393f8['howMany']);}['_handleMergeOperation'](_0x3adf76){const _0x5e991c=null===(_0x3adf76=this['_cloneOperation'](_0x3adf76,this['_idsRoots']))['_authorId']?null:_0x3adf76['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51e406=_0x3adf76['targetPosition']['parent'],_0x5d56b6=_0x3adf76['sourcePosition']['parent'],_0x2d74ff=_0x51e406['getAttribute']('vid_end'),_0x193fc6=_0x5d56b6['getAttribute']('vid_start');_0x51e406['_setAttribute']('vid_end',_0x5d56b6['getAttribute']('vid_end')),_0x5d56b6['_setAttribute']('vid_end',_0x2d74ff),this['_touched']['set'](_0x193fc6,{'userId':_0x5e991c}),this['_touched']['set'](_0x2d74ff,{'userId':_0x5e991c}),_0x3adf76['_execute']();}['_handleSplitOperation'](_0x17c8cf){const _0x3d0aa1=null===(_0x17c8cf=this['_cloneOperation'](_0x17c8cf,this['_idsRoots']))['_authorId']?null:_0x17c8cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x263eaa=_0x17c8cf['graveyardPosition'],_0x2d4bd6=_0x17c8cf['splitPosition']['parent'];_0x17c8cf['_execute']();const _0x320af8=_0x2d4bd6['getAttribute']('vid_end'),_0x3446d8=_0x17c8cf['insertionPosition']['nodeAfter'];if(_0x263eaa){const _0x184648=_0x3446d8['getAttribute']('vid_end'),_0x5c52df=_0x2d4bd6['getAttribute']('vid_end');_0x2d4bd6['_setAttribute']('vid_end',_0x184648),_0x3446d8['_setAttribute']('vid_end',_0x5c52df),this['_touched']['set'](_0x2d4bd6['getAttribute']('vid_end'),{'userId':_0x3d0aa1}),this['_touched']['set'](_0x3446d8['getAttribute']('vid_start'),{'userId':_0x3d0aa1});}else{const _0x124897=this['_revisionId']++,_0x3fd677=this['_revisionId']++;_0x2d4bd6['_setAttribute']('vid_end',_0x124897),_0x3446d8['_setAttribute']('vid_start',_0x3fd677),_0x3446d8['_setAttribute']('vid_end',_0x320af8),this['_touched']['set'](_0x124897,{'userId':_0x3d0aa1}),this['_touched']['set'](_0x3fd677,{'userId':_0x3d0aa1});}}['_handleMarkerOperation'](_0x33ab69){if(!_0x33ab69['affectsData'])return;const _0x4d0e38=(_0x33ab69=this['_cloneOperation'](_0x33ab69,this['_diffRoots']))['oldRange']?_0x33ab69['oldRange']['root']:null,_0x5bc42f=_0x33ab69['newRange']?_0x33ab69['newRange']['root']:null;_0x4d0e38&&this['_markers']['delete'](_0x33ab69['name']),_0x5bc42f&&this['_markers']['set'](_0x33ab69['name'],_0x33ab69['newRange']['clone']());const _0x1248da=null===_0x33ab69['_authorId']?null:_0x33ab69['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46f5a0=_0x33ab69['name'];if(!this['_touchedMarkers']['has'](_0x46f5a0))return void this['_touchedMarkers']['set'](_0x46f5a0,{'range':_0x33ab69['oldRange'],'userId':_0x1248da});const _0x4166b1=this['_touchedMarkers']['get'](_0x46f5a0),_0x3c3943=_0x4166b1['range'],_0x4b624c=_0x33ab69['newRange'];null==_0x3c3943&&null==_0x4b624c||_0x3c3943&&_0x4b624c&&_0x3c3943['isEqual'](_0x4b624c)?this['_touchedMarkers']['delete'](_0x33ab69['name']):_0x4166b1['userId']=_0x1248da;}['_handleRootOperation'](_0x5c85fa,_0x1a6685){this['_diffRoots']['has'](_0x5c85fa['rootName'])?this['_diffRoots']['get'](_0x5c85fa['rootName'])['_isAttached']=_0x5c85fa['isAdd']:(this['_diffRoots']['set'](_0x5c85fa['rootName'],G(_0x5c85fa['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5c85fa['rootName'],{}),_0x1a6685&&this['_idsRoots']['set'](_0x5c85fa['rootName'],G(_0x5c85fa['rootName'],!0x0)));const _0x182239=null===_0x5c85fa['_authorId']?null:_0x5c85fa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5938d1=this['_touchedRoots']['get'](_0x5c85fa['rootName']);_0x5938d1&&_0x5938d1['userId']===_0x182239?this['_touchedRoots']['delete'](_0x5c85fa['rootName']):this['_touchedRoots']['set'](_0x5c85fa['rootName'],{'userId':_0x182239,'isAttached':_0x5c85fa['isAdd']});}['_handleRootAttributeOperation'](_0x11da04){const _0x2fcf8c=this['_diffRootsAttributes']['get'](_0x11da04['root']['rootName']);null===_0x11da04['newValue']?delete _0x2fcf8c[_0x11da04['key']]:_0x2fcf8c[_0x11da04['key']]=_0x11da04['newValue'];}}function q(_0x427a45){const _0x2c1770=G(_0x427a45['rootName'],_0x427a45['isAttached']());for(const _0x37785d of _0x427a45['getChildren']()){const _0x374996=_0x37785d['_clone'](!0x0);_0x2c1770['_appendChild'](_0x374996);}return _0x2c1770;}function G(_0x244b3a,_0x3daf90=!0x0){const _0xab2356=new wt();return _0xab2356['rootName']=_0x244b3a,_0xab2356['_isAttached']=_0x3daf90,_0xab2356['isAttached']=()=>_0xab2356['_isAttached'],_0xab2356;}function L(_0x4c1509,_0x5ebef3,_0x2e813e){const _0x5f296d='elementEnd'==_0x4c1509['type']?_0x2e813e['createPositionAt'](_0x4c1509['item'],'end'):_0x2e813e['createPositionBefore'](_0x4c1509['item']);return _0x2e813e['createPositionFromPath'](_0x5ebef3,_0x5f296d['path'],_0x5f296d['stickiness']);}function W(_0x664648,_0x51c72b,_0x2e320d){const _0x5a79c0='elementStart'==_0x664648['type']?_0x2e320d['createPositionAt'](_0x664648['item'],0x0):_0x2e320d['createPositionAfter'](_0x664648['item']);return _0x2e320d['createPositionFromPath'](_0x51c72b,_0x5a79c0['path'],_0x5a79c0['stickiness']);}class ns extends _0x4d6f26{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1606cd,_0x1d9d3b){super(_0x1606cd),this['focusTracker']=new _0x3c6dec(),this['keystrokes']=new _0x1eb99e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1d9d3b),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'](),_0x1ffe8c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x35c44a=_0x5d87c1=>_0x5d87c1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x35c44a),this['keystrokes']['set']('arrowleft',_0x35c44a),this['keystrokes']['set']('arrowup',_0x35c44a),this['keystrokes']['set']('arrowdown',_0x35c44a);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x41d8dd){this['revisionNameInputView']['fieldView']['element']['value']=_0x41d8dd['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x627f4a){const _0x1bb3bc=new at(this['locale'],_0x42bc69),_0x32deea=_0x1bb3bc['fieldView'];_0x32deea['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5c329e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x627f4a&&(_0x5c329e+='\x20('+y(this['locale'],'optional')+')'),(_0x1bb3bc['label']=_0x5c329e,_0x32deea['on']('input',()=>{this['revisionNameInputValue']=_0x32deea['element']['value']['trim']();}),_0x1bb3bc);}}class u extends _0x2a24c5{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5a6bf6=this['editor'],_0x29d109=_0x5a6bf6['plugins']['get']('RevisionTracker');_0x5a6bf6['ui']['componentFactory']['add']('revisionHistory',_0x3f200f=>{const _0x29b95c=_0x1ce0cb(_0x3f200f),_0x5a9ef4=_0x29b95c['panelView']['children'],_0x4ceda3=new te(_0x3f200f),_0x52c919=new _0x4a27c9(_0x3f200f),_0x59f4a6=new _0x50194f(_0x3f200f),_0x5e2757=new _0x4a27c9(_0x3f200f),_0xd40a70=new _0x50194f(_0x3f200f);return _0x29b95c['bind']('isEnabled')['to'](_0x29d109,'isReady',_0x29d109,'isEnabled',_0x5a6bf6,'isReadOnly',(_0x31d5c9,_0x49d1dc,_0x41441b)=>_0x31d5c9&&_0x49d1dc&&!_0x41441b),_0x29b95c['buttonView']['set']({'icon':_0x4c0c1b['history'],'label':y(_0x3f200f,'Revision\x20history'),'tooltip':!0x0}),_0x59f4a6['set']({'label':y(_0x3f200f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x59f4a6['bind']('isEnabled')['to'](_0x29d109,'isReady',_0x29d109,'isEnabled',_0x5a6bf6,'isReadOnly',(_0x5a9297,_0x56c3ff,_0x16ad6e)=>_0x5a9297&&_0x56c3ff&&!_0x16ad6e),_0x59f4a6['on']('execute',()=>this['_showDialog']()),_0xd40a70['set']({'label':y(_0x3f200f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xd40a70['bind']('isEnabled')['to'](_0x29d109,'isReady',_0x5a6bf6,'isReadOnly',(_0xd9728d,_0x5ec7a4)=>_0xd9728d&&!_0x5ec7a4),_0xd40a70['on']('execute',()=>{_0x5a6bf6['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x29b95c['isOpen']=!0x1,_0x5a6bf6['editing']['view']['focus']();}),_0x52c919['children']['add'](_0x59f4a6),_0x5e2757['children']['add'](_0xd40a70),_0x4ceda3['role']='menu',_0x4ceda3['items']['addMany']([_0x52c919,_0x5e2757]),_0x5a9ef4['add'](_0x4ceda3),_0x29b95c;}),_0x5a6bf6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x518cf1=this['editor'],_0x2d9de6=_0x518cf1['locale'],_0x38b0d3=new _0x1f2ac7(_0x2d9de6),_0x3bd542=new _0x2dbc8b(_0x2d9de6);_0x38b0d3['buttonView']['set']({'icon':_0x4c0c1b['history'],'label':y(_0x2d9de6,'Revision\x20history')});const _0x3796c0=new _0x1116b1(_0x2d9de6,_0x38b0d3),_0x1d3d18=new _0x377693(_0x2d9de6);_0x1d3d18['set']({'label':y(_0x2d9de6,'Save\x20current\x20revision')}),_0x1d3d18['delegate']('execute')['to'](_0x38b0d3),_0x1d3d18['on']('execute',()=>{this['_showDialog']();}),_0x3796c0['children']['add'](_0x1d3d18),_0x3bd542['items']['add'](_0x3796c0);const _0x5a298f=new _0x1116b1(_0x2d9de6,_0x38b0d3),_0x577b9e=new _0x377693(_0x2d9de6);return _0x577b9e['set']({'label':y(_0x2d9de6,'Open\x20revision\x20history')}),_0x577b9e['delegate']('execute')['to'](_0x38b0d3),_0x577b9e['on']('execute',()=>{_0x518cf1['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5a298f['children']['add'](_0x577b9e),_0x3bd542['items']['add'](_0x5a298f),_0x38b0d3['panelView']['children']['add'](_0x3bd542),_0x38b0d3;}['_showDialog'](){const _0x88b0f5=this['editor'],_0x3d50f2=_0x88b0f5['locale'],t=_0x3d50f2['t'],_0x103906=_0x88b0f5['plugins']['get']('Dialog'),_0x3bd088=_0x88b0f5['plugins']['get']('RevisionTracker');function _0x4def9(_0x1a7a9a){_0x88b0f5['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1a7a9a['revisionName']?_0x1a7a9a['revisionNameInputView']['errorText']=y(_0x3d50f2,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x88b0f5['plugins']['get'](l)['saveRevision']({'name':_0x1a7a9a['revisionName']}),_0x103906['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4def9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x103906['show']({'id':'revisionSave','title':y(_0x3d50f2,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x103906['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xc14efe){_0xc14efe['bind']('isEnabled')['to'](_0x3bd088,'isReady',_0x3bd088,'isEnabled',_0x88b0f5,'isReadOnly',(_0x23d632,_0xc03780,_0x39f841)=>_0x23d632&&_0xc03780&&!_0x39f841);},'onExecute':()=>_0x4def9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x45b10f=this['editor'],_0x3d43de=_0x45b10f['locale'];this['_saveRevisionFormView']=new ns(_0x3d43de,_0x45b10f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4d6f26{['changeId'];['_model'];constructor(_0x19ca26,_0x17faca){super(_0x19ca26),this['_model']=_0x17faca,this['changeId']=_0x17faca['id'];const _0x237651=this['bindTemplate'],_0x47da29=y(_0x19ca26,_0x17faca['data']['isSuggestion']?'Suggested\x20by':'add'==_0x17faca['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x17faca['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x237651['to']('type',_0x439ef0=>'ck-revision-change__'+_0x439ef0)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x47da29}]},{'text':'\x20'+_0x17faca['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x560162(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x126b8f){super(),this['id']=_0x126b8f['id']||_0x49cb62(),this['author']=_0x126b8f['author'],this['type']=_0x126b8f['type'],this['data']=_0x126b8f['data']||{},this['rootName']=_0x126b8f['rootName'],this['set']('createdAt',_0x126b8f['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(_0x50d254,_0x40627a){this['newRevisionId']=_0x50d254,this['oldRevisionId']=_0x40627a,this['changes']=new _0xb2f625();}['_setChanges'](_0x10bc68){for(const _0x3db432 of _0x10bc68)this['changes']['add'](_0x3db432);}}const tt={'c':_0x53b890,'a':_0x778e34,'e':_0x48c7a0,'r':_0x52aa55,'u':_0x4bc5d6};class d extends _0x2a24c5{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x21284e,_0x45bfbf,A];}constructor(_0x1c014f){super(_0x1c014f),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',(_0x595571,_0x2c05ba,_0x5c6052)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x596911=>{for(const _0x30f7fe of this['editor']['editing']['view']['document']['roots'])_0x5c6052?_0x596911['removeClass']('ck-editor__editable__overlay',_0x30f7fe):_0x596911['addClass']('ck-editor__editable__overlay',_0x30f7fe);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4a5a64=>null!==_0x4a5a64),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5cd60c,_0x47e5ca,_0x1e0d57)=>_0x5cd60c&&_0x1e0d57?_0x47e5ca['changes']['getIndex'](_0x1e0d57):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x92488d,_0x4c1b8c)=>_0x92488d?_0x4c1b8c['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x45bfbf);}['init'](){const _0x5e2b26=this['editor'],_0x4c773d=new yt(_0x5e2b26,{'direction':'backward'}),_0x347d19=new yt(_0x5e2b26,{'direction':'forward'});(_0x5e2b26['commands']['add']('showPreviousChange',_0x4c773d),_0x5e2b26['commands']['add']('showNextChange',_0x347d19),_0x5e2b26['commands']['add']('restoreRevision',new bt(_0x5e2b26)),this['on']('change:numberOfChanges',()=>{_0x4c773d['refresh'](),_0x347d19['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5e2b26['enableReadOnlyMode']('revision-viewer'),_0x5e2b26['plugins']['has']('WidgetToolbarRepository'))&&_0x5e2b26['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x48f129){await this['loadRevisionData'](_0x48f129);const _0x365ecb={};for(const _0x12d78a in _0x48f129['diffData']){if(_0x48f129['diffData'][_0x12d78a]['attachChange']&&!_0x48f129['diffData'][_0x12d78a]['attachChange']['isAttached'])continue;const _0x3d1837=this['_removeRevisionMarkers'](JSON['parse'](_0x48f129['diffData'][_0x12d78a]['insertions'])),_0x12753c=this['editor']['editing']['view']['document'],_0x24591d=new _0x72026(_0x12753c,_0x3d1837['map'](_0x2e1f8c=>this['_getViewObj'](_0x2e1f8c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x365ecb[_0x12d78a]=this['editor']['data']['processor']['toData'](_0x24591d),this['editor']['data']['processor']['useFillerType']('default');}return _0x365ecb;}async['getRevisionRootsAttributes'](_0xc22f9f){await this['loadRevisionData'](_0xc22f9f);const _0x2badf9={};for(const _0x159187 in _0xc22f9f['diffData'])_0xc22f9f['diffData'][_0x159187]['attachChange']&&!_0xc22f9f['diffData'][_0x159187]['attachChange']['isAttached']||(_0x2badf9[_0x159187]=_0xc22f9f['diffData'][_0x159187]['attributesAfter']||{});return _0x2badf9;}['_removeRevisionMarkers'](_0x494235){return(_0x494235=_0x494235['filter'](_0x5e16b4=>!_0x5e16b4['name']||'revision-start'!==_0x5e16b4['name']&&'revision-end'!==_0x5e16b4['name']))['forEach'](_0x3b9b41=>{'string'!=typeof _0x3b9b41&&(_0x3b9b41['children']=this['_removeRevisionMarkers'](_0x3b9b41['children']),_0x3b9b41['attributes']=_0x3b9b41['attributes']['filter'](_0x3fdcc6=>!_0x3fdcc6[0x0]['startsWith']('data-revision-')));}),_0x494235;}async['compare'](_0x961325,_0x1f5cde,_0x15ddde=!0x1){if(!this['isEnabled'])return;const _0x301889=this['diff'],_0xae7c80=this['repository'],_0x585aef='string'==typeof _0x961325?_0xae7c80['getRevision'](_0x961325):_0x961325,_0xdb554c='string'==typeof _0x1f5cde?_0xae7c80['getRevision'](_0x1f5cde):_0x1f5cde,_0x4de978=_0x585aef['id'],_0x36fbc4=_0xdb554c?_0xdb554c['id']:null;if(!_0x15ddde&&this['diff']&&this['diff']['newRevisionId']===_0x4de978&&this['diff']['oldRevisionId']===_0x36fbc4)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4de978,_0x36fbc4);const _0x20dcc0=this['_getRevisionsRange'](_0x585aef,_0xdb554c,!0x0)['map'](_0x5a4a2c=>this['loadRevisionData'](_0x5a4a2c));return _0x20dcc0['push'](new Promise(_0x952bdc=>{setTimeout(_0x952bdc,0x14);})),Promise['all'](_0x20dcc0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2ccbd4=this['_getDiff'](_0x4de978,_0x36fbc4);for(const _0x149120 of _0x2ccbd4['changes'])this['_changeIdToChange']['set'](_0x149120['id'],_0x149120);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x16ed05=>{for(const _0x4c64c5 of this['editor']['model']['document']['getRootNames']())_0x16ed05['detachRoot'](_0x4c64c5);for(const _0x254c61 of Object['keys'](_0x2ccbd4['model'])){const _0x2c349f=_0x16ed05['addRoot'](_0x254c61);for(const _0x4e1f59 of Object['keys'](_0x2ccbd4['attributes'][_0x254c61]))_0x16ed05['setAttribute'](_0x4e1f59,_0x2ccbd4['attributes'][_0x254c61][_0x4e1f59],_0x2c349f);_0x16ed05['insert'](_0x2ccbd4['model'][_0x254c61],_0x2c349f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2ccbd4['changes'])),this['isReady']=!0x0;})['catch'](_0x285cf3=>{console['error'](_0x285cf3),this['_cleanUp'](),_0x301889&&(this['diff']=_0x301889),this['isReady']=!0x0;});}['addRevisionData'](_0x5b939e,_0x294c15){const _0x7b0ee=this['repository']['createRevision'](_0x5b939e);return _0x7b0ee['on']('_update',(_0x1b3f0e,_0x345096,_0x19931e)=>_0x294c15(_0x345096,_0x19931e,_0x7b0ee)),this['repository']['addRevision'](_0x7b0ee),_0x7b0ee;}['loadRevisionData'](_0x57f113){if(!_0x57f113||_0x57f113['diffData'])return Promise['resolve']();{const _0x497001=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x497001,'revisionId':_0x57f113['id']})['then'](_0x541907=>{_0x57f113['_update']({'diffData':_0x541907['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},_0x472520=>{for(const _0x53edb0 of this['editor']['model']['document']['getRootNames']())_0x472520['detachRoot'](_0x53edb0);});}['_sortAndFilterDiffChanges'](_0x4c6322){const _0x201f34=[],_0x53618a=new Map();for(const _0x2807e7 of this['editor']['model']['document']['getRootNames']()){const _0x3d259d=this['editor']['editing']['view']['getDomRoot'](_0x2807e7);if(!_0x3d259d)continue;const _0x5f44e8=_0x3d259d['getClientRects']()['item'](0x0);_0x5f44e8&&(_0x201f34['push'](_0x2807e7),_0x53618a['set'](_0x2807e7,_0x5f44e8));}return _0x201f34['sort']((_0x58749e,_0x4f030e)=>{const _0x20b97f=_0x53618a['get'](_0x58749e),_0x39653f=_0x53618a['get'](_0x4f030e);return _0x20b97f['y']-_0x39653f['y']||_0x20b97f['x']-_0x39653f['x'];}),(_0x4c6322=_0x4c6322['filter'](_0x5caf7f=>_0x201f34['includes'](_0x5caf7f['rootName'])))['sort']((_0x11be22,_0xff0011)=>_0x201f34['indexOf'](_0x11be22['rootName'])-_0x201f34['indexOf'](_0xff0011['rootName'])),_0x4c6322;}['_makeTape'](_0x62e9ca){const _0xa07f95=Array['from'](_0x62e9ca['markers'])['filter'](([_0x11da87,_0x295b00])=>_0x11da87['startsWith']('revision:')&&!_0x295b00['isCollapsed']),_0x1fa781=Array['from'](this['editor']['model']['createRangeIn'](_0x62e9ca)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xa07f95['length'])for(const _0x21becd of _0x1fa781){const [_0x404e44,_0x38176a]=_0xa07f95[0x0],[,_0x1c7dcb,_0x35192a]=_0x404e44['split'](':');if(_0x38176a['end']['isEqual'](_0x21becd['nextPosition'])&&_0xa07f95['shift'](),(_0x21becd['previousPosition']['isEqual'](_0x38176a['start'])||_0x21becd['previousPosition']['isAfter'](_0x38176a['start']))&&('insertion'==_0x1c7dcb?_0x21becd['isAdded']={'userId':_0x35192a}:'deletion'==_0x1c7dcb&&(_0x21becd['isRemoved']={'userId':_0x35192a})),0x0==_0xa07f95['length'])break;}return _0x1fa781;}['_refreshStartEndIndex'](_0x2c8f94){const _0x5115f5=new Map();for(let _0x460941=0x0;_0x460941<_0x2c8f94['length'];_0x460941++)'text'===_0x2c8f94[_0x460941]['type']?(_0x2c8f94[_0x460941]['item']['startIndex']=_0x460941,_0x2c8f94[_0x460941]['item']['endIndex']=_0x460941):('elementStart'===_0x2c8f94[_0x460941]['type']?_0x2c8f94[_0x460941]['item']['startIndex']=_0x460941:'elementEnd'===_0x2c8f94[_0x460941]['type']&&(_0x2c8f94[_0x460941]['item']['endIndex']=_0x460941),_0x5115f5['set'](_0x2c8f94[_0x460941]['id'],_0x460941));for(const _0x24a1df of _0x5115f5['values']())'elementStart'===_0x2c8f94[_0x24a1df]['type']?_0x2c8f94[_0x24a1df]['item']['endIndex']=_0x5115f5['get'](_0x2c8f94[_0x24a1df]['pairId']):'elementEnd'===_0x2c8f94[_0x24a1df]['type']&&(_0x2c8f94[_0x24a1df]['item']['startIndex']=_0x5115f5['get'](_0x2c8f94[_0x24a1df]['pairId']));}['_processTape'](_0xaf54d6){for(let _0x1931e6=0x0;_0x1931e6<_0xaf54d6['length'];_0x1931e6++){if('elementStart'===_0xaf54d6[_0x1931e6]['type'])_0xaf54d6[_0x1931e6]['item']['startIndex']=_0x1931e6;else{if('elementEnd'===_0xaf54d6[_0x1931e6]['type']){_0xaf54d6[_0x1931e6]['item']['endIndex']=_0x1931e6;const _0x29f811=_0xaf54d6[_0x1931e6]['item']['startIndex'];_0xaf54d6[_0x29f811]['pairId']=_0xaf54d6[_0x1931e6]['id'],_0xaf54d6[_0x1931e6]['pairId']=_0xaf54d6[_0x29f811]['id'];}else _0xaf54d6[_0x1931e6]['item']['startIndex']=_0x1931e6,_0xaf54d6[_0x1931e6]['item']['endIndex']=_0x1931e6,_0xaf54d6[_0x1931e6]['pairId']=null;}_0xaf54d6[_0x1931e6]['markersStart']||(_0xaf54d6[_0x1931e6]['markersStart']=[],_0xaf54d6[_0x1931e6]['markersEnd']=[]);}}['_markInsertions'](_0x2683ef,_0x5cc624){const _0x2e6d9d=_0x2683ef['filter'](_0x410ced=>!_0x410ced['isAdded']);for(let _0x12f784=0x0;_0x12f784<_0x5cc624['length'];_0x12f784++)_0x5cc624[_0x12f784]['isAdded']&&(_0x2e6d9d[_0x12f784]['isAdded']=_0x5cc624[_0x12f784]['isAdded']);}['_makeModelFromViewString'](_0x3a41a4){const _0x57825a=JSON['parse'](_0x3a41a4),_0x20b07f=this['editor']['editing']['view']['document'],_0x57e949=new _0x72026(_0x20b07f,_0x57825a['map'](_0x292a6e=>this['_getViewObj'](_0x292a6e)));return this['editor']['data']['toModel'](_0x57e949);}['_getViewObj'](_0x590dc5){const _0x13aa98=this['editor']['editing']['view']['document'];if('string'==typeof _0x590dc5)return new _0x391641(_0x13aa98,_0x590dc5);{const _0x48c3b3=_0x590dc5['children']['map'](_0x50c97e=>this['_getViewObj'](_0x50c97e));return new(tt[_0x590dc5['type']]||_0x3b4b97)(_0x13aa98,_0x590dc5['name'],_0x590dc5['attributes'],_0x48c3b3);}}['_getDiff'](_0x9a3083,_0x5e9bd3=null){const _0xcd4e5b=this['repository']['getRevision'](_0x9a3083),_0x576f3e=_0x5e9bd3?this['repository']['getRevision'](_0x5e9bd3):null,_0x945d0d=this['_getRevisionsRange'](_0xcd4e5b,_0x576f3e),_0x5216ad=_0x945d0d[_0x945d0d['length']-0x1],_0x4e7e88=new Map(),_0x29c99a={'model':{},'attributes':{},'changes':[]},_0x1af33b=new Set(),_0x51f6e7=new Map();for(let _0x2b71f7=_0x945d0d['length']-0x1;_0x2b71f7>=0x0;_0x2b71f7--){const _0x35c33c=_0x945d0d[_0x2b71f7];for(const _0x366b80 of Object['keys'](_0x35c33c['diffData']))if(_0x35c33c['diffData'][_0x366b80]['attachChange']){const _0x2543ad=_0x35c33c['diffData'][_0x366b80]['attachChange'];_0x2543ad['isAttached']?(_0x1af33b['add'](_0x366b80),_0x51f6e7['has'](_0x366b80)&&_0x51f6e7['get'](_0x366b80)['userId']==_0x2543ad['userId']?_0x51f6e7['delete'](_0x366b80):_0x51f6e7['set'](_0x366b80,_0x2543ad)):_0x51f6e7['has'](_0x366b80)?(_0x1af33b['delete'](_0x366b80),_0x51f6e7['delete'](_0x366b80)):(_0x1af33b['add'](_0x366b80),_0x51f6e7['set'](_0x366b80,_0x2543ad));}else _0x1af33b['add'](_0x366b80);}for(const _0x4f12df of _0x1af33b){const _0x366776=_0x51f6e7['has'](_0x4f12df)&&!_0x51f6e7['get'](_0x4f12df)['isAttached'];let _0xab9c55=_0x366776?_0x945d0d['length']-0x1:0x0;const _0x30c24b=_0x366776?-0x1:0x1;for(;_0x945d0d[_0xab9c55];){const _0x290826=_0x945d0d[_0xab9c55];if(_0x290826['diffData'][_0x4f12df]){const _0x5226c0=_0x366776?_0x290826['diffData'][_0x4f12df]['attributesBefore']:_0x290826['diffData'][_0x4f12df]['attributesAfter'];_0x29c99a['attributes'][_0x4f12df]=_0x5226c0?_0x250bb5(_0x5226c0):{};break;}_0xab9c55+=_0x30c24b;}}for(const _0x4608bd of _0x945d0d){_0x4608bd['model']={};for(const _0x308b7b of _0x4608bd['authors'])_0x4e7e88['set'](_0x308b7b['id'],_0x308b7b);for(const _0x65bdb7 of _0x1af33b){const _0x4c4901=_0x4608bd['diffData'][_0x65bdb7]?_0x4608bd['diffData'][_0x65bdb7]['insertions']:'[]',_0x5f1370=_0x4608bd['diffData'][_0x65bdb7]?_0x4608bd['diffData'][_0x65bdb7]['deletions']:'[]';_0x4608bd['model'][_0x65bdb7]={'insertions':this['_makeModelFromViewString'](_0x4c4901),'deletions':this['_makeModelFromViewString'](_0x5f1370)};}}for(const _0x2cf9ea of _0x1af33b){let _0x4b2dfa=null,_0x50259c=0x0;const _0x5ee411=new Map(Array['from'](_0xcd4e5b['model'][_0x2cf9ea]['insertions']['markers'])['filter'](([_0x1c1c83])=>!_0x1c1c83['startsWith']('revision:')));let _0x221bb5=0x0;for(const _0x5f3172 of _0x945d0d){const _0x27fd4c=this['_makeTape'](_0x5f3172['model'][_0x2cf9ea]['insertions']);_0x5f3172==_0xcd4e5b?(_0x4b2dfa=_0x27fd4c,_0x50259c=_0x4b2dfa['length'],_0x4b2dfa['forEach'](_0x3697ee=>{_0x3697ee['id']=_0x221bb5++;}),this['_processTape'](_0x4b2dfa)):this['_markInsertions'](_0x4b2dfa,_0x27fd4c);const _0x49f36f=_0x4b2dfa['filter'](_0x10c743=>!_0x10c743['isAdded'])['map'](_0x42dafc=>_0x42dafc['id']);let _0x5dc2b6=0x0;const _0x3259c4=this['_makeTape'](_0x5f3172['model'][_0x2cf9ea]['deletions']);_0x3259c4['forEach'](_0x120d22=>{_0x120d22['isRemoved']?_0x120d22['id']=_0x50259c++:_0x120d22['id']=_0x49f36f[_0x5dc2b6++];}),this['_processTape'](_0x3259c4),this['_setDistance'](_0x4b2dfa,'isAdded'),this['_setDistance'](_0x3259c4,'isRemoved'),_0x5f3172==_0xcd4e5b&&this['_markMarkers'](_0x4b2dfa,_0x5ee411),_0x4b2dfa=this['_joinTapes'](_0x4b2dfa,_0x3259c4),this['_refreshStartEndIndex'](_0x4b2dfa),this['_setDistance'](_0x4b2dfa,'isRemoved');}_0x4b2dfa=_0x4b2dfa['filter'](_0x35e08e=>!(_0x35e08e['isAdded']&&_0x35e08e['isRemoved']));const _0xfacd78=new Map(_0x5216ad['model'][_0x2cf9ea]['deletions']['markers']),_0x2ac5d4=new Set(_0x5ee411['keys']());for(const _0x53c94d of _0xfacd78['keys']())_0x2ac5d4['delete'](_0x53c94d);this['_markSuggestions'](_0x4b2dfa,_0x2ac5d4),this['_fixObsoleteTags'](_0x4b2dfa),_0x4b2dfa=this['_removeMissingPairs'](_0x4b2dfa),_0x4b2dfa=this['_markMismatchedRemovedTags'](_0x4b2dfa),_0x4b2dfa=this['_removeUnsupportedChanges'](_0x4b2dfa);const {root:_0x10ec37,changes:_0x12a9b5}=this['_makeModelFromTape'](_0x4b2dfa,_0x4e7e88,_0x2cf9ea);_0x29c99a['model'][_0x2cf9ea]=_0x10ec37;const _0x312ed6=_0x51f6e7['get'](_0x2cf9ea);if(_0x312ed6){const _0x442049=_0x4e7e88['get'](_0x312ed6['userId']),_0x1fa3d7=new r({'author':_0x442049,'type':_0x312ed6['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2cf9ea});_0x12a9b5['unshift'](_0x1fa3d7),_0x29c99a['attributes'][_0x2cf9ea]['revisionHistoryAttachChange']=_0x1fa3d7['id'];}_0x29c99a['changes']=_0x29c99a['changes']['concat'](_0x12a9b5);}return _0x29c99a;}['_markMarkers'](_0x5b629d,_0x204de8){for(let _0x3ada7a=0x0;_0x3ada7a<_0x5b629d['length'];_0x3ada7a++)for(const [_0x15c95e,_0x4396d0]of _0x204de8)_0x4396d0['start']['isEqual'](_0x5b629d[_0x3ada7a]['previousPosition'])&&_0x5b629d[_0x3ada7a]['markersStart']['push'](_0x15c95e),_0x4396d0['end']['isEqual'](_0x5b629d[_0x3ada7a]['nextPosition'])&&_0x5b629d[_0x3ada7a]['markersEnd']['push'](_0x15c95e);}['_joinTapes'](_0x19816d,_0x21d439){let _0x39c043=[],_0x334df2=0x0,_0x3b02c0=0x0;for(;_0x334df2<_0x19816d['length']||_0x3b02c0<_0x21d439['length'];){const _0x11f67e=_0x19816d[_0x334df2]||{},_0x164572=_0x21d439[_0x3b02c0]||{};if(_0x11f67e['id']==_0x164572['id'])_0x334df2++,_0x3b02c0++,_0x39c043['push'](_0x11f67e);else{if(_0x164572['isRemoved']&&_0x11f67e['isAdded']){const {commonTape:_0x44f123,iEnd:_0x55e435,jEnd:_0x2dba6e}=this['_threeWayMerge'](_0x19816d,_0x334df2,_0x21d439,_0x3b02c0);_0x39c043=_0x39c043['concat'](_0x44f123),_0x334df2=_0x55e435,_0x3b02c0=_0x2dba6e;}else _0x164572['isRemoved']?(_0x3b02c0++,_0x39c043['push'](_0x164572)):(_0x334df2++,_0x39c043['push'](_0x11f67e));}}return _0x39c043;}['_markSuggestions'](_0xe19f1d,_0x14b778){const _0x116292=[];for(let _0xc00e7c=0x0;_0xc00e7c<_0xe19f1d['length'];_0xc00e7c++){for(let _0x276ed2=0x0;_0x276ed2<_0xe19f1d[_0xc00e7c]['markersStart']['length'];_0x276ed2++){const _0x4cf847=_0xe19f1d[_0xc00e7c]['markersStart'][_0x276ed2];if(!_0x14b778['has'](_0x4cf847))continue;const {group:_0x57495c,type:_0x555535,authorId:_0x4f15fa}=_0x4f0139(_0x4cf847);'revision-suggestion'!=_0x57495c||'insertion'!=_0x555535&&'deletion'!=_0x555535||(_0x116292['unshift']({'type':_0x555535,'name':_0x4cf847,'userId':_0x4f15fa}),_0xe19f1d[_0xc00e7c]['markersStart']['splice'](_0x276ed2,0x1),_0x276ed2--);}_0x29d951(_0xe19f1d[_0xc00e7c]);for(let _0x40347c=0x0;_0x40347c<_0xe19f1d[_0xc00e7c]['markersEnd']['length'];_0x40347c++){const _0x516ac4=_0xe19f1d[_0xc00e7c]['markersEnd'][_0x40347c];if(!_0x14b778['has'](_0x516ac4))continue;const {group:_0x3b752f,type:_0x3b46fb}=_0x4f0139(_0x516ac4);if('revision-suggestion'!=_0x3b752f||'insertion'!=_0x3b46fb&&'deletion'!=_0x3b46fb)continue;_0xe19f1d[_0xc00e7c]['markersEnd']['splice'](_0x40347c,0x1),_0x40347c--;const _0x28df3b=_0x116292['findIndex'](_0x213d43=>_0x213d43['name']==_0x516ac4);_0x28df3b>-0x1&&_0x116292['splice'](_0x28df3b,0x1);}}function _0x4f0139(_0x13631e){const _0x210992=_0x13631e['split'](':');return{'group':_0x210992[0x0],'type':_0x210992[0x1],'subType':_0x210992['length']>=0x5?_0x210992[0x2]:null,'id':_0x210992['length']<0x5?_0x210992[0x2]:_0x210992[0x3],'authorId':_0x210992['length']<0x5?_0x210992[0x3]:_0x210992[0x4],'markerCount':0x6==_0x210992['length']?_0x210992[0x5]:null};}function _0x29d951(_0x17f8e4){for(let _0x446686=0x0;_0x446686<_0x116292['length'];_0x446686++){if(_0x17f8e4['isAdded']&&'insertion'==_0x116292[_0x446686]['type'])return _0x17f8e4['isAddSuggestion']=_0x116292[_0x446686],void delete _0x17f8e4['isAdded'];if(!_0x17f8e4['isAdded']&&!_0x17f8e4['isRemoved']&&'deletion'==_0x116292[_0x446686]['type'])return void(_0x17f8e4['isRemoveSuggestion']=_0x116292[_0x446686]);}}}['_setDistance'](_0x4e3295,_0x3d64ac){let _0x10a20d=0x0,_0x202327=!0x1;const _0x13ca22=new Map();for(const _0x13ce66 of _0x4e3295)_0x13ce66[_0x3d64ac]?_0x202327&&(_0x10a20d++,_0x202327=!0x1):(_0x10a20d++,_0x202327=!0x0),_0x13ca22['set'](_0x13ce66['id'],_0x10a20d);for(let _0x6c761f=0x0;_0x6c761f<_0x4e3295['length'];_0x6c761f++){if('isRemoved'==_0x3d64ac&&_0x4e3295[_0x6c761f]['isAdded']||'isAdded'==_0x3d64ac&&_0x4e3295[_0x6c761f]['isRemoved'])continue;if('text'==_0x4e3295[_0x6c761f]['type']){_0x4e3295[_0x6c761f]['distance']=0x0;continue;}const _0x3186a1=_0x13ca22['get'](_0x4e3295[_0x6c761f]['pairId']),_0x3c1489=_0x13ca22['get'](_0x4e3295[_0x6c761f]['id']);_0x4e3295[_0x6c761f]['distance']=_0x3186a1-_0x3c1489;}}['_getRevisionsRange'](_0x25e4cf,_0x367c21,_0x55c5f6=!0x1){const _0x4a2547=[];let _0x5202ad=this['repository']['getIndex'](_0x25e4cf),_0x9a9d8d=this['repository']['getIndex'](_0x367c21);for(-0x1==_0x9a9d8d&&(_0x9a9d8d=this['repository']['_revisions']['length'],_0x55c5f6=!0x1);_0x5202ad<_0x9a9d8d;)_0x4a2547['push'](this['repository']['getRevision'](_0x5202ad)),_0x5202ad++;return _0x55c5f6&&_0x4a2547['push'](this['repository']['getRevision'](_0x5202ad)),_0x4a2547;}['_threeWayMerge'](_0x205fd0,_0x784b88,_0xfa00d2,_0xa664cb){const _0x27a71c=this['editor']['model']['schema'];let _0x16972c=_0x784b88;for(;_0x205fd0[_0x16972c]&&_0x205fd0[_0x16972c]['isAdded'];)_0x16972c++;let _0x14cf1d=_0xa664cb;for(;_0xfa00d2[_0x14cf1d]&&_0xfa00d2[_0x14cf1d]['isRemoved'];)_0x14cf1d++;_0x3275dc(_0x205fd0,_0x784b88,_0x16972c),_0x3275dc(_0xfa00d2,_0xa664cb,_0x14cf1d);const _0x261eb8=_0xfa00d2['slice'](_0xa664cb,_0x14cf1d)['concat'](_0x205fd0['slice'](_0x784b88,_0x16972c));return _0x261eb8['sort']((_0x1e304c,_0x5ed1d8)=>_0x1e304c['side']!=_0x5ed1d8['side']?_0x1e304c['side']-_0x5ed1d8['side']:_0x1e304c['level']!=_0x5ed1d8['level']?_0x1e304c['level']-_0x5ed1d8['level']:_0x1e304c['distance']!=_0x5ed1d8['distance']?_0x5ed1d8['distance']-_0x1e304c['distance']:!!_0x1e304c['isAdded']!=!!_0x5ed1d8['isAdded']?-0x1==_0x1e304c['side']||0x0==_0x1e304c['side']?_0x1e304c['isAdded']?-0x1:0x1:_0x1e304c['isAdded']?0x1:-0x1:_0x1e304c['index']-_0x5ed1d8['index']),{'commonTape':_0x261eb8,'iEnd':_0x16972c,'jEnd':_0x14cf1d};function _0x3275dc(_0x125969,_0x3c23d8,_0x3b74f5){let _0x47d422=-0x1,_0x47f203=Number['POSITIVE_INFINITY'],_0x17e32b=!0x0;for(let _0xbe86d6=_0x3c23d8;_0xbe86d6<_0x3b74f5;_0xbe86d6++)if(_0x27a71c['isInline'](_0x125969[_0xbe86d6]['item'])||(_0x17e32b=!0x1),_0x125969[_0xbe86d6]['item']['startIndex']<_0x3c23d8&&(_0x47d422=_0xbe86d6),_0x125969[_0xbe86d6]['item']['endIndex']>=_0x3b74f5){_0x47f203=_0xbe86d6;break;}_0x17e32b&&(_0x47d422=_0x3b74f5-0x1);for(let _0x3661ee=_0x3c23d8;_0x3661ee<_0x3b74f5;_0x3661ee++)_0x125969[_0x3661ee]['side']=_0x3661ee<=_0x47d422?-0x1:_0x3661ee<_0x47f203?0x0:0x1,_0x125969[_0x3661ee]['index']=_0x3661ee;let _0x903916=0x0;for(let _0x117071=_0x3c23d8;_0x117071<=_0x47d422;_0x117071++)0x0==_0x125969[_0x117071]['distance']?_0x125969[_0x117071]['level']=_0x903916:(_0x903916++,_0x125969[_0x117071]['level']=_0x903916,_0x903916++);for(let _0x1f470d=_0x3c23d8;_0x1f470d<_0x3b74f5;_0x1f470d++)0x0==_0x125969[_0x1f470d]['side']&&(_0x125969[_0x1f470d]['level']=_0x903916);_0x903916=0x0;for(let _0x32d37f=_0x3b74f5-0x1;_0x32d37f>=_0x47f203;_0x32d37f--)0x0==_0x125969[_0x32d37f]['distance']?_0x125969[_0x32d37f]['level']=_0x903916:(_0x903916--,_0x125969[_0x32d37f]['level']=_0x903916,_0x903916--);}}['_fixObsoleteTags'](_0x3d4ae3){const _0x18e069=new Map(),_0x11aa38=this['editor']['model']['schema'];for(let _0x22efcd=0x1;_0x22efcd<_0x3d4ae3['length'];_0x22efcd++){let _0x396a37,_0x935302,_0x8df19c;const _0x34e94d=_0x3d4ae3[_0x22efcd],_0x538c9a=_0x3d4ae3[_0x22efcd-0x1];if('text'==_0x34e94d['type'])continue;if(_0x34e94d['type']!=_0x538c9a['type'])continue;if(!_0x11aa38['isBlock'](_0x538c9a['item'])||_0x11aa38['isLimit'](_0x538c9a['item']))continue;if(!_0x11aa38['isBlock'](_0x34e94d['item'])||_0x11aa38['isLimit'](_0x34e94d['item']))continue;if((_0x3d4ae3[_0x22efcd]['isAdded']||_0x3d4ae3[_0x22efcd]['isAddSuggestion'])&&_0x3d4ae3[_0x22efcd-0x1]['isRemoved'])_0x396a37=_0x3d4ae3[_0x22efcd],_0x935302=_0x3d4ae3[_0x22efcd-0x1],_0x8df19c=_0x22efcd-0x1;else{if(!_0x3d4ae3[_0x22efcd]['isRemoved']||!_0x3d4ae3[_0x22efcd-0x1]['isAdded']&&!_0x3d4ae3[_0x22efcd-0x1]['isAddSuggestion'])continue;_0x396a37=_0x3d4ae3[_0x22efcd-0x1],_0x935302=_0x3d4ae3[_0x22efcd],_0x8df19c=_0x22efcd;}const _0x27b0f3=_0x396a37['level']==_0x935302['level'],_0x507988=Math['abs'](_0x396a37['level'])<Math['abs'](_0x935302['level'])&&0x0==_0x935302['distance'];(_0x27b0f3||_0x507988)&&(_0x18e069['set'](_0x935302['id'],_0x396a37['id']),_0x3d4ae3['splice'](_0x8df19c,0x1),_0x22efcd--,_0x396a37['isAdded']=!0x1);}for(let _0x4892bd=0x0;_0x4892bd<_0x3d4ae3['length'];_0x4892bd++)_0x18e069['has'](_0x3d4ae3[_0x4892bd]['pairId'])&&(_0x3d4ae3[_0x4892bd]['pairId']=_0x18e069['get'](_0x3d4ae3[_0x4892bd]['pairId']));}['_removeMissingPairs'](_0x305b6f){const _0x287666=new Set(_0x305b6f['map'](_0x33e686=>_0x33e686['id']));for(let _0x3589a7=0x0;_0x3589a7<_0x305b6f['length'];_0x3589a7++)_0x287666['has'](_0x305b6f[_0x3589a7]['pairId'])||0x0==_0x305b6f[_0x3589a7]['distance']||(_0x305b6f[_0x3589a7]['isIncorrect']=!0x0);return _0x305b6f['filter'](_0x400346=>!_0x400346['isIncorrect']);}['_markMismatchedRemovedTags'](_0x39065a){const _0x3e428e=new Set();for(let _0x556921=0x0;_0x556921<_0x39065a['length'];_0x556921++){if(_0x3e428e['has'](_0x39065a[_0x556921]['id'])&&_0x39065a[_0x556921]['isRemoved']&&(_0x39065a[_0x556921]['isIncorrect']=!0x0),_0x39065a[_0x556921]['isIncorrect'])continue;if(0x0==_0x39065a[_0x556921]['distance'])continue;if('elementStart'!=_0x39065a[_0x556921]['type'])continue;if(null==_0x39065a[_0x556921]['pairId'])continue;let _0x256671=_0x556921+0x1,_0x2dfd7d=0x0;for(;_0x39065a[_0x256671]['id']!=_0x39065a[_0x556921]['pairId'];)'elementStart'==_0x39065a[_0x256671]['type']?_0x2dfd7d++:'elementEnd'==_0x39065a[_0x256671]['type']&&_0x2dfd7d--,_0x256671++;if(0x0!=_0x2dfd7d){if(_0x39065a[_0x556921]['isRemoved'])_0x39065a[_0x556921]['isIncorrect']=!0x0;else{for(;_0x256671!=_0x556921;)_0x39065a[_0x256671]['isRemoved']&&0x0!=_0x39065a[_0x256671]['distance']&&(_0x39065a[_0x256671]['isIncorrect']=!0x0,_0x3e428e['add'](_0x39065a[_0x256671]['pairId'])),_0x256671--;}}}return _0x39065a['filter'](_0xfd9460=>!_0xfd9460['isIncorrect']);}['_removeUnsupportedChanges'](_0x26dccc){const _0x184a53=this['editor']['model']['schema'];for(let _0x53ebbd=0x0;_0x53ebbd<_0x26dccc['length'];_0x53ebbd++){if(!(_0x26dccc[_0x53ebbd]['isAdded']||_0x26dccc[_0x53ebbd]['isAddSuggestion']||_0x26dccc[_0x53ebbd]['isRemoved']||_0x26dccc[_0x53ebbd]['isRemoveSuggestion']))continue;if(0x0==_0x26dccc[_0x53ebbd]['distance'])continue;const _0xda9497=_0x26dccc[_0x53ebbd]['item'];_0x184a53['isBlock'](_0xda9497)||_0x184a53['isLimit'](_0xda9497)||(_0x26dccc[_0x53ebbd]['isAdded']&&delete _0x26dccc[_0x53ebbd]['isAdded'],_0x26dccc[_0x53ebbd]['isAddSuggestion']&&delete _0x26dccc[_0x53ebbd]['isAddSuggestion'],_0x26dccc[_0x53ebbd]['isRemoveSuggestion']&&delete _0x26dccc[_0x53ebbd]['isRemoveSuggestion'],_0x26dccc[_0x53ebbd]['isRemoved']&&(_0x26dccc[_0x53ebbd]['isIncorrect']=!0x0));}return _0x26dccc['filter'](_0x209404=>!_0x209404['isIncorrect']);}['_makeModelFromTape'](_0x5c66df,_0xfb4483,_0x4f66aa){const _0x3ae3ce=new wt(),_0x58b452=[],_0x470a2d=new Map(),_0x35e316=this['editor']['model'],_0x2de6af=_0x35e316['schema'],_0x4def4f=[_0x3ae3ce],_0x5a3a72={},_0x3ebb4f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1f8aa8=null;const _0x32d542=[0x0];for(let _0x1b84fb=0x0;_0x1b84fb<_0x5c66df['length'];_0x1b84fb++){let _0x37de98,_0x357c93;if('elementStart'===_0x5c66df[_0x1b84fb]['type']){_0x37de98=_0x35e316['createPositionFromPath'](_0x3ae3ce,_0x32d542);const _0x1970fd=new ft(_0x5c66df[_0x1b84fb]['item']['name'],_0x5c66df[_0x1b84fb]['item']['getAttributes']());_0x4def4f[0x0]['_appendChild'](_0x1970fd),_0x32d542['push'](0x0),_0x4def4f['unshift'](_0x1970fd),_0x357c93=_0x35e316['createPositionFromPath'](_0x3ae3ce,_0x32d542),_0x1f8aa8=null;}else{if('elementEnd'===_0x5c66df[_0x1b84fb]['type'])_0x4def4f['shift'](),_0x37de98=_0x35e316['createPositionFromPath'](_0x3ae3ce,_0x32d542),_0x32d542['pop'](),_0x32d542[_0x32d542['length']-0x1]++,_0x357c93=_0x35e316['createPositionFromPath'](_0x3ae3ce,_0x32d542),_0x1f8aa8=null;else{if(_0x37de98=_0x35e316['createPositionFromPath'](_0x3ae3ce,_0x32d542),_0x1f8aa8&&_0x184acf(_0x1f8aa8,_0x5c66df[_0x1b84fb]['item']))_0x1f8aa8['_data']+=_0x5c66df[_0x1b84fb]['item']['data'];else{const _0xce08a6=new _t(_0x5c66df[_0x1b84fb]['item']['data'],_0x5c66df[_0x1b84fb]['item']['getAttributes']());_0x4def4f[0x0]['_appendChild'](_0xce08a6),_0x1f8aa8=_0xce08a6;}_0x32d542[_0x32d542['length']-0x1]+=_0x5c66df[_0x1b84fb]['item']['offsetSize'],_0x357c93=_0x35e316['createPositionFromPath'](_0x3ae3ce,_0x32d542);}}for(const _0x6f0446 of _0x5c66df[_0x1b84fb]['markersStart'])_0x470a2d['set'](_0x6f0446,{'start':_0x37de98,'end':null});_0x279db2('isRemoveSuggestion',_0x1b84fb,_0x37de98,_0x357c93),_0x279db2('isAddSuggestion',_0x1b84fb,_0x37de98,_0x357c93),_0x279db2('isRemoved',_0x1b84fb,_0x37de98,_0x357c93),_0x279db2('isAdded',_0x1b84fb,_0x37de98,_0x357c93);for(const _0x48aec7 of _0x5c66df[_0x1b84fb]['markersEnd']){_0x470a2d['get'](_0x48aec7)['end']=_0x357c93;}}for(const [_0x5e9418,_0x150ae8]of _0x470a2d){const _0x226d3e=this['editor']['model']['createRange'](_0x150ae8['start'],_0x150ae8['end']);_0x3ae3ce['markers']['set'](_0x5e9418,_0x226d3e);}return _0x58b452['sort']((_0xda8ee3,_0x17eeed)=>{const _0x54f6e2=_0x3ae3ce['markers']['get']('revision:'+_0xda8ee3['id']),_0x59af9c=_0x3ae3ce['markers']['get']('revision:'+_0x17eeed['id']);return _0x54f6e2['start']['isBefore'](_0x59af9c['start'])?-0x1:_0x54f6e2['start']['isAfter'](_0x59af9c['start'])?0x1:_0x54f6e2['end']['isBefore'](_0x59af9c['end'])?-0x1:_0x54f6e2['end']['isAfter'](_0x59af9c['end'])?0x1:'add'===_0xda8ee3['type']?-0x1:0x1;}),{'root':_0x3ae3ce,'changes':_0x58b452};function _0x279db2(_0x5edcd8,_0x27cc95,_0xf1a989,_0x5bea29){const _0xfe0da6=!!_0x5c66df[_0x27cc95][_0x5edcd8],_0x5667cf=_0xfe0da6?_0x5c66df[_0x27cc95][_0x5edcd8]['userId']:null,_0x4e5da7=_0x27cc95===_0x5c66df['length']-0x1,_0x1de0c1=_0x3ebb4f[_0x5edcd8][0x0],_0x55d8dd=_0x2de6af['isObject'](_0x5c66df[_0x27cc95]['item']);!_0x5a3a72[_0x5edcd8]&&_0xfe0da6?_0x5a3a72[_0x5edcd8]={'start':_0xf1a989,'tapeItem':_0x5c66df[_0x27cc95],'userId':_0x5667cf,'type':_0x5edcd8}:_0x5a3a72[_0x5edcd8]&&!_0xfe0da6?(_0x5a3a72[_0x5edcd8]['end']=_0xf1a989,_0x9acf5a(_0x5a3a72[_0x5edcd8]),_0x5a3a72[_0x5edcd8]=null):_0x5a3a72[_0x5edcd8]&&_0xfe0da6&&_0x5a3a72[_0x5edcd8]['userId']!==_0x5667cf&&(_0x5a3a72[_0x5edcd8]['end']=_0xf1a989,_0x1de0c1&&_0x1de0c1['userId']===_0x5a3a72[_0x5edcd8]['userId']||_0x9acf5a(_0x5a3a72[_0x5edcd8]),_0x5a3a72[_0x5edcd8]={'start':_0xf1a989,'tapeItem':_0x5c66df[_0x27cc95],'userId':_0x5667cf,'type':_0x5edcd8}),_0x5a3a72[_0x5edcd8]&&_0x55d8dd&&('elementStart'!==_0x5c66df[_0x27cc95]['type']||_0x1de0c1&&_0x1de0c1['userId']===_0x5667cf||_0x3ebb4f[_0x5edcd8]['unshift']({'userId':_0x5667cf,'object':_0x5c66df[_0x27cc95]['item'],'change':_0x5a3a72[_0x5edcd8]}),'elementEnd'===_0x5c66df[_0x27cc95]['type']&&_0x1de0c1&&_0x1de0c1['object']===_0x5c66df[_0x27cc95]['item']&&(_0x3ebb4f[_0x5edcd8]['shift'](),_0x5a3a72[_0x5edcd8]=_0x1de0c1['change'])),_0x5a3a72[_0x5edcd8]&&_0x4e5da7&&(_0x5a3a72[_0x5edcd8]['end']=_0x5bea29,_0x9acf5a(_0x5a3a72[_0x5edcd8]),_0x5a3a72[_0x5edcd8]=null);}function _0x9acf5a({start:_0x1a7045,end:_0x10ccaa,tapeItem:_0x3a40e6,userId:_0x4ab499,type:_0x57c107}){const _0x4aa355=_0x3a40e6['item'],_0x19f32e=_0x35e316['schema']['isBlock'](_0x4aa355)&&!_0x35e316['schema']['isLimit'](_0x4aa355),_0x5af0fe=_0x1a7045['nodeAfter']==_0x10ccaa['parent']&&_0x10ccaa['isAtStart'];if(_0x19f32e&&_0x5af0fe)return;const _0x493189=_0x35e316['createRange'](_0x1a7045,_0x10ccaa),_0x22189d=_0xfb4483['get'](_0x4ab499),_0x5260b4=new r({'author':_0x22189d,'type':'isAdded'==_0x57c107||'isAddSuggestion'==_0x57c107?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x57c107||'isRemoveSuggestion'==_0x57c107},'createdAt':new Date(),'rootName':_0x4f66aa});_0x58b452['push'](_0x5260b4),_0x3ae3ce['markers']['set']('revision:'+_0x5260b4['id'],_0x493189);}function _0x184acf(_0x201390,_0x1d0fc3){const _0x5ba0a5=_0x201390['getAttributes'](),_0x4e6758=_0x1d0fc3['getAttributes']();for(const _0x4550e2 of _0x5ba0a5){if(_0x4550e2[0x1]!==_0x1d0fc3['getAttribute'](_0x4550e2[0x0]))return!0x1;_0x4e6758['next']();}return _0x4e6758['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x7f0ef8=>{const _0x38aadd=_0x7f0ef8['markerName']['split'](':')[0x1],_0x24a73e=this['_getChangeFromId'](_0x38aadd);if(!_0x24a73e)return null;const _0x51276b='add'==_0x24a73e['type']?'insertion':'deletion',_0x5de3b0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x51276b];return _0x24a73e['data']['isSuggestion']&&_0x5de3b0['push']('ck-suggestion-marker-'+_0x51276b+'-new'),this['activeChange']==_0x24a73e&&_0x5de3b0['push']('ck-suggestion-marker--active'),{'classes':_0x5de3b0,'attributes':{'data-change-id':_0x38aadd}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x38e818=>{_0x38e818['on']('element:pre',(_0x1f90c5,_0x11dd5d,_0x31b0df)=>{const _0x3da614=_0x11dd5d['viewItem']['getChild'](0x0);if(!_0x3da614||!_0x3da614['is']('element','code'))return;if(!_0x31b0df['consumable']['consume'](_0x3da614,{'attributes':['vid_start','vid_end']}))return;const _0x29fa3e=_0x11dd5d['modelRange']['start']['nodeAfter'];_0x31b0df['writer']['setAttribute']('vid_start',_0x3da614['getAttribute']('vid_start'),_0x29fa3e),_0x31b0df['writer']['setAttribute']('vid_end',_0x3da614['getAttribute']('vid_end'),_0x29fa3e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1e1fbc=>{_0x1e1fbc['on']('element',(_0x132969,_0x4648b2,_0x1a649f)=>{if(!_0x1a649f['consumable']['consume'](_0x4648b2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4648b2['modelRange']['isCollapsed'])return;const _0x4204b3=_0x4648b2['modelRange']['start']['nodeAfter'];_0x4204b3['hasAttribute']('vid_start')||_0x4204b3['hasAttribute']('vid')||(_0x1a649f['writer']['setAttribute']('vid_start',_0x4648b2['viewItem']['getAttribute']('vid_start'),_0x4204b3),_0x1a649f['writer']['setAttribute']('vid_end',_0x4648b2['viewItem']['getAttribute']('vid_end'),_0x4204b3));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x56532b=>_0x56532b['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x85b493,[,_0x50ee56])=>{['vid_start','vid_end','vid']['includes'](_0x50ee56)&&(_0x85b493['return']=!0x0,_0x85b493['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x17d9e2=>{_0x17d9e2['on']('attribute:vid',(_0x341b7d,_0x149460,_0x449f2f)=>{if('\x20'!=_0x149460['item']['data']||_0x149460['item']['parent']['maxOffset']>0x1)return;if(!_0x449f2f['consumable']['consume'](_0x149460['item'],_0x341b7d['name']))return;const _0x1d38fc=_0x449f2f['writer'],_0x1c0bd7=_0x449f2f['mapper']['toViewRange'](_0x149460['range']);_0x1d38fc['wrap'](_0x1c0bd7,_0x1d38fc['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x11d2f4){const _0x593bc4=_0x11d2f4['plugins']['get']('RevisionViewer');return(_0x332475,_0x560083,_0x91e070)=>{const _0x1be280=_0x560083['markerName']['split'](':')[0x1],_0x355d2c=_0x593bc4['_getChangeFromId'](_0x1be280);if(!_0x355d2c)return null;const _0x18cc35='add'==_0x355d2c['type']?'split':'merge';if(!_0x91e070['consumable']['test'](_0x560083['markerRange'],_0x332475['name']))return;const _0x51456c=_0x560083['markerRange']['getWalker'](),_0x3dd28f=_0x560083['markerRange']['start'],_0x524013=_0x11d2f4['model']['schema'];let _0x1cca1b=null,_0x5c3c39=null,_0x576255=!0x1,_0xf12b42=!0x1;for(const _0x15070e of _0x51456c){const _0x3fba17=_0x15070e['item'];_0x576255=_0x576255||_0x524013['isContent'](_0x3fba17);const _0xd38494=_0x91e070['mapper']['toViewElement'](_0x3fba17);if(_0xd38494&&_0xd38494['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x15070e['type']&&(_0x524013['isBlock'](_0x3fba17)&&!_0x524013['isLimit'](_0x3fba17)&&(_0x3fba17['nextSibling']||_0x3dd28f['isAtEnd']?_0x1cca1b&&_0x1cca1b['parent']==_0x3fba17||(_0x1cca1b=_0x3fba17,_0xa27f47(_0x15070e['previousPosition']),_0xf12b42=!0x0):_0x5c3c39=_0x5c3c39||_0x15070e['previousPosition']));}function _0xa27f47(_0x3c3892){const _0x13d6ea=_0x91e070['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x18cc35}),_0x24bad8=_0x91e070['mapper']['toViewPosition'](_0x3c3892);_0x355d2c['data']['isSuggestion']&&_0x91e070['writer']['addClass']('ck-suggestion-marker-'+_0x18cc35+'-new',_0x13d6ea),_0x593bc4['activeChange']==_0x355d2c&&_0x91e070['writer']['addClass']('ck-suggestion-marker--active',_0x13d6ea),_0x91e070['writer']['insert'](_0x24bad8,_0x13d6ea),_0x91e070['mapper']['bindElementToMarker'](_0x13d6ea,_0x560083['markerName']);}_0x576255||_0xf12b42||!_0x5c3c39||_0xa27f47(_0x5c3c39);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x570764,_0x532386,_0x1abc47)=>{const _0x332026=_0x1abc47['mapper']['markerNameToElements'](_0x532386['markerName']);if(_0x332026){for(const _0x20714c of _0x332026)(_0x20714c['hasClass']('ck-suggestion-marker-split')||_0x20714c['hasClass']('ck-suggestion-marker-merge'))&&(_0x1abc47['mapper']['unbindElementFromMarkerName'](_0x20714c,_0x532386['markerName']),_0x1abc47['writer']['remove'](_0x20714c));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4c90de,_0x5a8162,_0x6f630f)=>{const _0x2ecbb0=_0x5a8162['markerName']['split'](':')[0x1],_0x43ecc4=this['_getChangeFromId'](_0x2ecbb0);if(!_0x43ecc4)return null;const _0x3a2078='add'==_0x43ecc4['type']?'split':'merge';if(_0x6f630f['consumable']['test'](_0x5a8162['markerRange'],_0x4c90de['name']))for(const _0x365448 of _0x5a8162['markerRange']['getItems']()){if(!_0x365448['is']('element','softBreak'))continue;const _0x10d5eb=_0x6f630f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a2078}),_0x5eef64=_0x6f630f['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x365448));_0x43ecc4['data']['isSuggestion']&&_0x6f630f['writer']['addClass']('ck-suggestion-marker-'+_0x3a2078+'-new',_0x10d5eb),this['activeChange']==_0x43ecc4&&_0x6f630f['writer']['addClass']('ck-suggestion-marker--active',_0x10d5eb),_0x6f630f['writer']['insert'](_0x5eef64,_0x10d5eb),_0x6f630f['mapper']['bindElementToMarker'](_0x10d5eb,_0x5a8162['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3c4dad=>{for(const _0x5b6a03 of this['editor']['model']['document']['getRootNames']()){const _0x2ce524=this['editor']['model']['document']['getRoot'](_0x5b6a03),_0x2d631d=this['editor']['editing']['view']['document']['getRoot'](_0x5b6a03);if(_0x2d631d){const _0x170748=_0x2ce524['getAttribute']('revisionHistoryAttachChange');if(_0x3c4dad['removeAttribute']('data-change-id',_0x2d631d),_0x3c4dad['removeClass']('ck-revision-history-root-add',_0x2d631d),_0x3c4dad['removeClass']('ck-revision-history-root-remove',_0x2d631d),_0x3c4dad['removeClass']('ck-revision-history-root--active',_0x2d631d),_0x170748){const _0x2eaf6a=this['_getChangeFromId'](_0x170748);if(!_0x2eaf6a)return null;_0x3c4dad['setAttribute']('data-change-id',_0x170748,_0x2d631d),_0x3c4dad['addClass']('ck-revision-history-root-'+_0x2eaf6a['type'],_0x2d631d),this['activeChange']==_0x2eaf6a&&_0x3c4dad['addClass']('ck-revision-history-root--active',_0x2d631d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x464a63=>'revision-comment:'+_0x464a63,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x573207=>'revision-suggestion:'+_0x573207,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3364e6=>({'name':'suggestion:'+_0x3364e6,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x116c7c=>{const _0x4d1302=_0x116c7c['markerName']['split'](':')[0x1];return'insertion'!=_0x4d1302&&'deletion'!=_0x4d1302?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4d1302]};}}),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',(_0xc36bc0,_0xb6099a,_0x259e10)=>{const _0x27093d=_0x259e10['mapper']['markerNameToElements'](_0xb6099a['markerName']);if(_0x27093d){for(const _0x245552 of _0x27093d)_0x245552['is']('uiElement')&&(_0x259e10['mapper']['unbindElementFromMarkerName'](_0x245552,_0xb6099a['markerName']),_0x259e10['writer']['remove'](_0x245552));}},{'priority':'high'});}['_getChangeFromId'](_0x68bc07){return this['_changeIdToChange']['get'](_0x68bc07);}['_getViewForChange'](_0x5e17d4){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5e17d4),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x18382b,_0x27be05,_0x52c929,_0x3ef409)=>{_0x3ef409&&this['_balloon']['remove'](_0x3ef409),_0x52c929&&(this['_balloon']['add']({'view':_0x52c929,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3052bd=this['editor']['editing'],_0x56ef74=this['_getChangeFromId'](_0x52c929['changeId']);let _0x2378cf;if(_0x56ef74['data']['isOnRoot']){const _0x2aa456=_0x3052bd['view']['getDomRoot'](_0x56ef74['rootName']);_0x2378cf=Array['from'](_0x2aa456['getClientRects']());}else{const _0x140003=this['editor']['model']['markers']['get']('revision:'+_0x52c929['changeId']);_0x2378cf=Array['from'](_0x3052bd['mapper']['markerNameToElements'](_0x140003['name']))['map'](_0x38fe4a=>_0x3052bd['view']['domConverter']['mapViewToDom'](_0x38fe4a))['map'](_0x2fdb07=>Array['from'](_0x2fdb07['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2378cf[0x0];return _0x2378cf['find'](_0x43d87c=>_0x43d87c['top']-0x3<=this['_activeViewTarget']['y']&&_0x43d87c['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x43d87c['left']-0x3<=this['_activeViewTarget']['x']&&_0x43d87c['right']+0x3>=this['_activeViewTarget']['x'])||_0x2378cf[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xd427e6,_0x5bf8cb,_0x2607b1,_0x1abce5)=>{this['activeView']=_0x2607b1?this['_getViewForChange'](_0x2607b1):null,this['editor']['model']['change'](()=>{const _0x5bf42e=this['editor']['editing'];_0x1abce5&&(_0x1abce5['data']['isOnRoot']?_0x5bf42e['view']['change'](_0x509494=>{_0x509494['removeClass']('ck-revision-history-root--active',_0x5bf42e['view']['document']['getRoot'](_0x1abce5['rootName']));}):_0x5bf42e['reconvertMarker']('revision:'+_0x1abce5['id'])),_0x2607b1&&(_0x2607b1['data']['isOnRoot']?_0x5bf42e['view']['change'](_0x5ee05b=>{_0x5ee05b['addClass']('ck-revision-history-root--active',_0x5bf42e['view']['document']['getRoot'](_0x2607b1['rootName']));}):_0x5bf42e['reconvertMarker']('revision:'+_0x2607b1['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xf42544,_0x472a1c)=>{if(this['activeChange'])return;const _0x510c68=this['_findChangeIdFromDomTarget'](_0x472a1c['target']),_0x3c4ab7=this['_changeIdToChange']['get'](_0x510c68);_0x3c4ab7?(this['_activeViewTarget']={'x':_0x472a1c['domEvent']['x'],'y':_0x472a1c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3c4ab7)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x426f3c,_0x3a2bfa)=>{const _0x18a669=this['_findChangeIdFromDomTarget'](_0x3a2bfa['target']),_0x2ac9e9=this['_changeIdToChange']['get'](_0x18a669);_0x2ac9e9?(this['_activeViewTarget']={'x':_0x3a2bfa['domEvent']['x'],'y':_0x3a2bfa['domEvent']['y']},_0x2ac9e9===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2ac9e9):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3e516e){do{const _0x371a6d=_0x3e516e['getAttribute']('data-change-id');if(_0x371a6d)return _0x371a6d;_0x3e516e=_0x3e516e['parent'];}while(_0x3e516e);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x521a9c=>{for(const _0x223d2c of this['editor']['model']['markers'])_0x521a9c['removeMarker'](_0x223d2c);});}}function et(_0x88cbc5,_0x5bd27b){return(_0x227557,_0x45938a,_0xe016d1)=>{if(!_0xe016d1['consumable']['test'](_0x45938a['markerRange'],_0x227557['name']))return;const _0x55875e=_0x45938a['markerRange']['getWalker'](),_0x421c86=_0x45938a['markerRange']['start'],_0x4d486b=_0x88cbc5['model']['schema'];let _0x52de81=null,_0x1d8150=null,_0x2a4129=!0x1,_0x5e43f9=!0x1;for(const _0x4db8bd of _0x55875e){const _0x4732f3=_0x4db8bd['item'];_0x2a4129=_0x2a4129||_0x4d486b['isContent'](_0x4732f3);const _0x293f0f=_0xe016d1['mapper']['toViewElement'](_0x4732f3);if(_0x293f0f&&_0x293f0f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4db8bd['type']&&(_0x4d486b['isBlock'](_0x4732f3)&&!_0x4d486b['isLimit'](_0x4732f3)&&(_0x4732f3['nextSibling']||_0x421c86['isAtEnd']?_0x52de81&&_0x52de81['parent']==_0x4732f3||(_0x52de81=_0x4732f3,_0x52b678(_0x4db8bd['previousPosition']),_0x5e43f9=!0x0):_0x1d8150=_0x1d8150||_0x4db8bd['previousPosition']));}function _0x52b678(_0x57660d){const _0x420fdd=_0xe016d1['mapper']['toViewPosition'](_0x57660d),_0x122991=_0xe016d1['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5bd27b});_0xe016d1['writer']['insert'](_0x420fdd,_0x122991),_0xe016d1['mapper']['bindElementToMarker'](_0x122991,_0x45938a['markerName']);}_0x2a4129||_0x5e43f9||!_0x1d8150||_0x52b678(_0x1d8150);};}class bt extends _0x1af0b1{constructor(_0x4a8b37){super(_0x4a8b37);const _0x2838bd=_0x4a8b37['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x2838bd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2838bd,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4c4acc=this['editor'],_0x51efef=_0x4c4acc['plugins']['get'](d),_0x131517=_0x51efef['isReady']?_0x51efef['diff']['newRevisionId']:null;_0x4c4acc['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x131517);}['refresh'](){const {isReady:_0x5c27b9,isEnabled:_0x5e51bb}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5c27b9&&_0x5e51bb;}}class yt extends _0x1af0b1{['_step'];constructor(_0x393628,{direction:_0x4089f7}){super(_0x393628);const _0x2a7710=_0x393628['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4089f7?0x1:-0x1,this['listenTo'](_0x2a7710,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2a7710,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2a7710,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x45883e=this['editor'],_0x1c9ed5=_0x45883e['plugins']['get'](d),{isNavigationMode:_0x47a6aa,currentChangeNumber:_0x28bc08}=_0x1c9ed5;let _0x3c3be7;if(_0x1c9ed5['activeChange']=_0x47a6aa?_0x1c9ed5['diff']['changes']['get'](_0x28bc08+this['_step']):_0x1c9ed5['diff']['changes']['first'],_0x1c9ed5['activeChange']['data']['isOnRoot'])_0x3c3be7=_0x45883e['editing']['view']['getDomRoot'](_0x1c9ed5['activeChange']['rootName']);else{const _0x2877cb=_0x45883e['model']['markers']['get']('revision:'+_0x1c9ed5['activeChange']['id']);_0x3c3be7=_0xba6c58(_0x45883e['editing'],_0x2877cb);}_0x5e45c2({'target':_0x3c3be7,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x30745d,currentChangeNumber:_0x4336a2,numberOfChanges:_0x40639a,isReady:_0x21298e,isEnabled:_0x68de15}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x68de15&&_0x21298e&&_0x40639a)&&(!_0x30745d||(0x1===this['_step']?_0x4336a2<_0x40639a-0x1:_0x4336a2>0x0));}}class _i extends _0x4d6f26{constructor(_0x217ff1){super(_0x217ff1);const _0x11f734=this['bindTemplate'],_0x570695=new _0x50194f(_0x217ff1),_0x56f5a8=new _0x50194f(_0x217ff1);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',(_0xaf4fbd,_0x359775)=>_0xaf4fbd&&_0x359775>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x26cc59,_0x9be754,_0x4732ff,_0x170ace)=>{if(!_0x26cc59)return y(_0x217ff1,'Loading...');if(!_0x4732ff)return y(_0x217ff1,'No\x20changes');const _0x4d2b89=y(_0x217ff1,'NUMBER_OF_CHANGES',_0x4732ff);return _0x170ace?y(_0x217ff1,'X_OF_Y_CHANGES',[_0x9be754+0x1,_0x4732ff]):_0x4d2b89;}),_0x570695['set']({'label':y(_0x217ff1,'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'}),_0x56f5a8['set']({'label':y(_0x217ff1,'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'}),_0x570695['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x56f5a8['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x570695['on']('execute',()=>this['fire']('execute','backward')),_0x56f5a8['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',_0x11f734['if']('_isStatusLabelVisible','ck-hidden',_0x3408bd=>!_0x3408bd)]},'children':[{'text':_0x11f734['to']('isNavigationMode',_0x51c12b=>_0x51c12b?y(_0x217ff1,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x217ff1,'Total')+':\x20')}]},{'text':_0x11f734['to']('_statusText')}]},new _0x10443a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x570695,_0x56f5a8]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2a24c5{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1bf144=this['editor']['editing']['view'];_0x1bf144['change'](_0x5b9f1b=>{for(const _0x1e8da4 of _0x1bf144['document']['roots'])_0x5b9f1b['addClass'](ce,_0x1e8da4);});}['hide'](){const _0x3b81b4=this['editor']['editing']['view'];_0x3b81b4['change'](_0x50c02c=>{for(const _0x3a6765 of _0x3b81b4['document']['roots'])_0x50c02c['removeClass'](ce,_0x3a6765);});}}class R extends _0x2a24c5{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2ecd69=this['editor'],_0x2d8b4a=_0x2ecd69['plugins']['get'](d),_0x51b409=_0x2ecd69['plugins']['get'](de);_0x2ecd69['ui']['componentFactory']['add']('exitToEditing',_0x585f97=>{const _0x54cd4f=new _0x50194f(_0x585f97);return _0x54cd4f['set']({'label':y(_0x585f97,'Back\x20to\x20editing'),'icon':_0x4c0c1b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x54cd4f,'execute',()=>{_0x2ecd69['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x54cd4f;}),_0x2ecd69['ui']['componentFactory']['add']('restoreRevision',_0x446068=>{const _0x4a59c2=new _0x50194f(_0x446068);return _0x4a59c2['set']({'label':y(_0x446068,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4a59c2['bind']('isEnabled')['to'](_0x2ecd69['commands']['get']('restoreRevision')),this['listenTo'](_0x4a59c2,'execute',()=>_0x2ecd69['execute']('restoreRevision')),_0x4a59c2;}),_0x2ecd69['ui']['componentFactory']['add']('changesNavigation',_0x446511=>{const _0x4e9ad2=new _i(_0x446511),_0xd4cfb8=_0x2ecd69['commands']['get']('showPreviousChange'),_0x1ef5c6=_0x2ecd69['commands']['get']('showNextChange');return _0x4e9ad2['bind']('isBackwardNavigationEnabled')['to'](_0xd4cfb8,'isEnabled'),_0x4e9ad2['bind']('isForwardNavigationEnabled')['to'](_0x1ef5c6,'isEnabled'),_0x4e9ad2['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2d8b4a),this['listenTo'](_0x4e9ad2,'execute',(_0x250760,_0x1bd463)=>{_0x2ecd69['execute']('forward'===_0x1bd463?'showNextChange':'showPreviousChange');}),_0x4e9ad2;}),_0x51b409['show'](),_0x2d8b4a['on']('change:isReady',(_0x2ce7b5,_0x2b4323,_0x46c86e)=>{_0x46c86e?_0x51b409['hide']():_0x51b409['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x30df0f,_0x25274e){super(_0x30df0f,_0x25274e);const _0x1a7187=this['bindTemplate'];this['set']({'label':y(_0x30df0f,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x30df0f,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1a7187['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 _0x2551ab=this['fieldView']['element'];this['_tooltipString']=_0x2551ab['scrollWidth']>_0x2551ab['clientWidth']&&_0x2551ab['value']||'';}}class ti extends _0x4d6f26{constructor(_0x8fcfa8,_0x7ea42f,_0x3ae259){super(_0x8fcfa8);const _0x1d8d57=new _0x289ec2();_0x1d8d57['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 _0x5be3bc=['ck','ck-revision-history-sidebar__revision-author'];_0x3ae259&&_0x5be3bc['push']('ck-revision-history-sidebar__revision-author_creator');const _0x58ff29=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x8fcfa8,_0x3ae259?'Revision\x20creator':'Revision\x20author')},'children':[_0x1d8d57,_0x7ea42f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5be3bc},'children':_0x58ff29});}}function ni(_0x42b47e,_0x4ecec9){const _0x57324f=_0x42b47e['bindTemplate'],_0x3a7947=_0x42b47e['locale'],_0x25c6dd=_0x1ce0cb(_0x3a7947);_0x25c6dd['panelPosition']='sw';const _0x203287=function(_0x1c2fec,_0x2c1a85){const _0xf6c129=function(_0x422405,_0x2bca99){const _0xa47b0d=_0x422405['locale'],_0x524bb9={'Compare\x20against\x20selected':y(_0xa47b0d,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xa47b0d,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xa47b0d,'Restore\x20this\x20revision')};return _0x2bca99['map'](_0xf2bb0b=>{const _0x1d8ca8=_0x524bb9[_0xf2bb0b['name']];return _0x1d8ca8&&_0x1d8ca8!==_0xf2bb0b['name']&&(_0xf2bb0b['name']=_0x1d8ca8),_0xf2bb0b;});}(_0x1c2fec,_0x2c1a85),_0x570c25=new _0xb2f625();for(const _0x288d26 of _0xf6c129){const _0x319459={'type':'button','model':new to({'label':_0x288d26['name'],'class':_0x288d26['class'],'withText':!0x0,'role':'menuitem','_action':_0x288d26['action']})};_0x319459['model']['bind']('isEnabled')['to'](_0x1c2fec,'isActionsDropdownOpen',_0xb5e761=>'function'!=typeof _0x288d26['isEnabled']||(!_0xb5e761||_0x288d26['isEnabled'](_0x1c2fec))),_0x570c25['add'](_0x319459);}return _0x570c25;}(_0x42b47e,_0x4ecec9);return _0x42b47e['bind']('isActionsDropdownOpen')['to'](_0x25c6dd,'isOpen'),_0x25c6dd['buttonView']['set']({'label':y(_0x3a7947,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4c0c1b['threeVerticalDots']}),_0x25c6dd['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x57324f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x57324f['to'](_0x119477=>_0x119477['stopPropagation']())}}),_0x25c6dd['on']('execute',_0x1fd1bd=>{_0x42b47e['isReady']&&'function'==typeof _0x1fd1bd['source']['_action']&&_0x1fd1bd['source']['_action'](_0x42b47e);}),_0x323b7c(_0x25c6dd,_0x203287,{'role':'menu'}),_0x25c6dd['listenTo'](_0x42b47e,'change:isActionsDropdownOpen',(_0x15eb0b,_0x48c697,_0x3a1364)=>{if(_0x3a1364)for(const _0x5214e1 of _0x25c6dd['listView']['items']){const _0x25d5ff=_0x5214e1['children']['first'],_0x3e02d5=_0x4ecec9['find'](_0xdecd80=>_0xdecd80['action']===_0x25d5ff['_action'])['isVisible'];_0x5214e1['isVisible']=void 0x0===_0x3e02d5||_0x3e02d5(_0x42b47e);}}),_0x25c6dd;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x4d2d2d(_0x4d6f26){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x20229f,_0x76b347,_0x1c761f,_0x22b6bd){super(_0x20229f);const _0x206dfb=this['bindTemplate'],_0x9d7174=function(_0xd9c5d0,_0x522d4f){const _0x1e1486=Array['from'](_0x522d4f['authors'])['filter'](_0x586964=>_0x586964!=_0x522d4f['creator']);return _0x522d4f['creator']&&_0x1e1486['unshift'](_0x522d4f['creator']),_0x1e1486['map'](_0x5e2e99=>new ti(_0xd9c5d0,_0x5e2e99,_0x5e2e99==_0x522d4f['creator']));}(_0x20229f,_0x76b347);this['id']=_0x76b347['id'],this['_revision']=_0x76b347,this['_requireRevisionName']=_0x22b6bd,this['bind']('name','createdAt')['to'](_0x76b347),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x536c86=>{return _0x4bc7ed=_0x20229f['uiLanguage'],(_0x51dee2=_0x536c86)['toLocaleDateString'](_0x4bc7ed,{'month':'long','day':'numeric'})+',\x20'+_0x51dee2['toLocaleTimeString'](_0x4bc7ed,{'hour':'numeric','minute':'numeric'});var _0x4bc7ed,_0x51dee2;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x20229f,_0x42bc69),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x9392b2=>_0x9392b2||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5cc328,_0x40bba7)=>_0x5cc328&&_0x40bba7),this['revisionActionsView']=_0x1c761f&&_0x1c761f['length']?ni(this,_0x1c761f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x206dfb['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x206dfb['if']('isEnabled','ck-disabled',_0x24bd40=>!_0x24bd40),_0x206dfb['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x206dfb['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x206dfb['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':_0x206dfb['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':_0x9d7174}]},this['revisionActionsView']],'on':{'click':_0x206dfb['to'](_0x3d45b5=>{_0x3d45b5['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4c6414=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4c6414,'change',()=>{this['_requireRevisionName']&&!_0x4c6414['value']||this['fire']('setName',{'id':this['id'],'name':_0x4c6414['value']}),_0x4c6414['value']||(_0x4c6414['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(_0x534e1e,_0x36d2a5){const _0x1cfba2=_0x21b5c8['fromJSDate'](_0x534e1e)['setLocale'](_0x36d2a5),_0x1281a7=_0x21b5c8['local'](),_0x19c231=_0x1281a7['minus']({'days':0x1})['startOf']('day');let _0x14202e,_0x167d45;return _0x1cfba2['hasSame'](_0x1281a7,'day')?(_0x14202e=_0x1cfba2['startOf']('day')['toJSDate'](),_0x167d45=_0x1cfba2['toRelativeCalendar']()):_0x1cfba2['hasSame'](_0x19c231,'day')?(_0x14202e=_0x19c231['toJSDate'](),_0x167d45=_0x1cfba2['toRelativeCalendar']()):_0x1cfba2['hasSame'](_0x1281a7,'week')?(_0x14202e=_0x1cfba2['startOf']('week')['toJSDate'](),_0x167d45=_0x1cfba2['weekdayLong']||''):_0x1cfba2['hasSame'](_0x1281a7,'year')?(_0x14202e=_0x1cfba2['startOf']('month')['toJSDate'](),_0x167d45=_0x1cfba2['monthLong']||''):(_0x14202e=_0x1cfba2['startOf']('year')['toJSDate'](),_0x167d45=String(_0x1cfba2['year'])),{'startDate':_0x14202e,'localizedPeriodName':_0x167d45};}class mi extends _0x4d6f26{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4fe71b,_0x1350d2,_0x3b5d19,_0x2d52c8){super(_0x4fe71b);const _0x144e84=di(_0x1350d2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1350d2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3b5d19,this['_requireRevisionName']=_0x2d52c8,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':_0x144e84}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x52f91b){const _0x2341b5=new ai(this['locale'],_0x52f91b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2341b5);}['removeRevision'](_0x5535dd){const _0x15d6e0=this['revisionViews']['find'](_0x280cb6=>_0x280cb6['id']===_0x5535dd['id']);this['revisionViews']['remove'](_0x15d6e0);}}class as extends _0x4d6f26{constructor(_0x3e455c){super(_0x3e455c);const _0x525d8c=new _0x289ec2();_0x525d8c['content']=_0x4c0c1b['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x525d8c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3e455c,'Revision\x20history')]}]});}}class ci extends _0x4d6f26{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x51053b,_0x1d3793,_0x5ede7a,_0x1b8e00){super(_0x51053b);const _0x4a9835=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1d3793,this['_revisionActions']=_0x5ede7a,this['_requireRevisionName']=_0x1b8e00,this['on']('select',(_0x1e1fe6,_0x1b5116)=>{this['fire']('revisionSelected',_0x1b5116);}),this['on']('setName',(_0xf52035,_0x5c5a47)=>{this['fire']('revisionSetName',_0x5c5a47);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x51053b),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4a9835['if']('isEnabled','ck-disabled',_0x4e0641=>!_0x4e0641)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0xeb0d3f of this['_revisions'])this['_addRevision'](_0xeb0d3f);this['_revisions']['on']('add',(_0x451bc6,_0x14323c)=>{this['_addRevision'](_0x14323c);}),this['_revisions']['on']('remove',(_0x34fb0b,_0x5ac30c)=>{this['_removeRevision'](_0x5ac30c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2e44fd=>_0x2e44fd['revisionViews']['map'](_0x40f4f7=>_0x40f4f7))['flat']();}['selectRevision'](_0x479db8){for(const _0x23ba0b of this['revisionViews'])_0x479db8&&_0x479db8['id']===_0x23ba0b['id']?_0x23ba0b['select']():_0x23ba0b['deselect']();}['highlightRevisions'](_0x1fecb1){for(const _0x169644 of this['revisionViews'])_0x1fecb1['some'](({id:_0xbe5c64})=>_0xbe5c64===_0x169644['id'])?_0x169644['highlight']():_0x169644['unhighlight']();}['_addRevision'](_0x26a269){const _0x54dc0d=di(_0x26a269['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x247dc5=this['timePeriodViews']['get'](0x0);_0x247dc5&&_0x247dc5['startDate']['getTime']()===_0x54dc0d['getTime']()||(_0x247dc5=new mi(this['locale'],_0x54dc0d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x247dc5)),_0x247dc5['addRevision'](_0x26a269);}['_removeRevision'](_0x53604b){const _0x52b46b=di(_0x53604b['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x52b46b)['removeRevision'](_0x53604b);}['_getTimePeriodViewByStartDate'](_0x5b9898){return this['timePeriodViews']['find'](_0x830cf3=>_0x830cf3['startDate']['getTime']()===_0x5b9898['getTime']());}}class w extends _0x2a24c5{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
|
|
27
|
+
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
|
|
28
|
+
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x3b125b){super(_0x3b125b),this['_revisionViewer']=_0x3b125b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x446a63=this['_revisionsRepository']['_revisions'],_0x237d23=this['_createRevisionActions'](),_0x126c3f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x446a63,_0x237d23,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',(_0x50e6c1,_0x1ece3f)=>{_0x1ece3f['revisionViews']['on']('add',(_0x95e8e0,_0x5a7c02)=>{_0x5a7c02['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)),_0x126c3f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3cba1a=this['_revisionsRepository']['getRevision'](0x0);if(_0x3cba1a){const _0x3899bd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3cba1a['id']);this['_revisionViewer']['compare'](_0x3cba1a,_0x3899bd);}}['_handleRevisionSelected'](_0x374aee,_0x56d19a){const _0x14fa8b=this['_revisionsRepository']['getRevision'](_0x56d19a['id']),_0x2c2386=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x14fa8b['id']);this['_revisionViewer']['compare'](_0x14fa8b,_0x2c2386);}['_handleRevisionSetName'](_0x22f208,_0x448a96){this['_revisionsRepository']['getRevision'](_0x448a96['id'])['setName'](_0x448a96['name']);}['_handleDiffChange'](_0x123e63,_0x6909c7,_0x2b9ab5){const _0x119421=this['_revisionsRepository']['getRevisionsInDiff'](_0x2b9ab5);_0x119421['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x119421),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x119421[0x0]));}['_createRevisionActions'](){const _0x4cb069=this['editor'],_0x53e551=w['availableRevisionActions'],_0x1ca84c=_0x4cb069['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1ca84c['length'])return _0x1ca84c['map'](_0x5bdc43=>{const _0x481d7f='string'==typeof _0x5bdc43?Object['assign']({},_0x53e551[_0x5bdc43]):_0x5bdc43;return _0x481d7f['action']=_0x481d7f['action']['bind'](this,_0x4cb069),_0x481d7f['isVisible']&&(_0x481d7f['isVisible']=_0x481d7f['isVisible']['bind'](this,_0x4cb069)),_0x481d7f;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2bf86d},_0x42a2a6)=>{const _0x2c5403=_0x2bf86d['get'](d),_0x38c8f4=_0x2c5403['repository'];let _0x4f7331=_0x2c5403['diff']['newRevisionId'],_0x5ad852=_0x42a2a6['id'];_0x38c8f4['getIndex'](_0x4f7331)>_0x38c8f4['getIndex'](_0x5ad852)&&([_0x4f7331,_0x5ad852]=[_0x5ad852,_0x4f7331]),_0x2c5403['compare'](_0x4f7331,_0x5ad852);},'isVisible':({plugins:_0x7f7c45},_0x4b6d1a)=>{const _0x2dd18e=_0x7f7c45['get'](d);return!(_0x2dd18e['repository']['getRevisionsInDiff'](_0x2dd18e['diff'])['length']>0x2)&&!_0x4b6d1a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2fe4f4,{id:_0x4c514e})=>{_0x2fe4f4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4c514e);},'isVisible':({plugins:_0x33fb65},_0x5bbf97)=>!!_0x33fb65['get'](d)['repository']['getLaterVisibleRevision'](_0x5bbf97['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x385154},{id:_0xb9b3cc,revisionNameView:_0x403149})=>{const _0x1b7f13=_0x385154['get'](d),_0x2a3519=_0x1b7f13['repository']['getEarlierVisibleRevision'](_0xb9b3cc);_0x1b7f13['compare'](_0xb9b3cc,_0x2a3519),_0x403149['focus'](),_0x403149['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3eb457,_0x17748b){super(_0x3eb457),this['_view']=_0x17748b,this['_toolbarConfig']=ct(_0x3eb457['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x529b61){const _0x4c6064=this['editor'],_0x2432e5=this['view'],_0x29aa43=_0x4c6064['editing']['view'],_0x45938e=_0x2432e5['editable'],_0x4d8c4e=_0x29aa43['document']['getRoot']();_0x45938e['name']=_0x4d8c4e['rootName'],_0x2432e5['render']();const _0x4f1c55=_0x45938e['element'];this['setEditableElement'](_0x45938e['name'],_0x4f1c55),_0x2432e5['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x29aa43['attachDomRoot'](_0x4f1c55),this['_elementReplacer']['replace'](_0x529b61,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x41e65b=this['view'],_0x49acb1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x49acb1['detachDomRoot'](_0x41e65b['editable']['name']),_0x41e65b['destroy']();}['_initToolbar'](){const _0x5c9be9=this['view'];_0x5c9be9['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5c9be9['stickyPanel']['limiterElement']=_0x5c9be9['element'],_0x5c9be9['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x198bc3})=>_0x198bc3),_0x5c9be9['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5c9be9['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x167235,_0x1a7d0c,_0x585587={}){super(_0x167235),this['stickyPanel']=new lt(_0x167235),this['toolbar']=new pt(_0x167235,{'shouldGroupWhenFull':_0x585587['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x167235,_0x1a7d0c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
29
|
+
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x129b25,_0x253ea6){super(_0x253ea6),this['sourceElement']=_0x129b25,this['model']['document']['createRoot']();const _0x454d42=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x454d42);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x116c9d,_0x281106){const _0x14a394=new this(_0x116c9d,_0x281106);return await _0x14a394['initPlugins'](),await _0x14a394['ui']['init'](_0x116c9d),await _0x14a394['data']['init'](_0x14a394['config']['get']('initialData')||''),_0x14a394['fire']('ready'),_0x14a394;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2a24c5{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3a0163){super(_0x3a0163),this['result']='end';}}class H extends _0x2a24c5{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5d664f){if(super(_0x5d664f),!this['editor']['config']['get']('revisionHistory'))throw new _0x1b89a8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1c7664=>this['_showRevisionViewer']({..._0x1c7664,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x6a15a9=>this['_closeRevisionViewer'](_0x6a15a9)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x177495=>this['_restoreRevision'](_0x177495)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xf26b8c){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xf26b8c;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3350a6){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3350a6);}['getRevision'](_0x5b8813){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5b8813);}['getRevisions'](_0x1f05d1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1f05d1||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x2fe8a0=this['editor'],_0x37edba=_0x1c98ce(_0x2fe8a0,p),_0x3825c5=_0x2fe8a0['plugins']['get']('RevisionTracker'),_0x3bf3b5=_0x2fe8a0['plugins']['get']('Users')['users'];return _0x37edba['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x37edba['lazyRoots'],(_0x37edba['plugins']['push'](k,d,R,class extends _0x2a24c5{static get['requires'](){return[d,'Users'];}['init'](){const _0x51ad6f=this['editor']['plugins']['get']('Users');for(const _0x5021cb of _0x3bf3b5)_0x5021cb['isAnonymous']||_0x51ad6f['getUser'](_0x5021cb['id'])||_0x51ad6f['addUser'](_0x5021cb);const _0x435192=_0x3825c5['repository']['getRevisions']();let _0x1bf89e=null;const _0x15acf3=this['editor']['plugins']['get']('RevisionViewer');_0x15acf3['adapter']=_0x3825c5['adapter'],_0x15acf3['bind']('isEnabled')['to'](_0x3825c5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2fe8a0,'isReadOnly',_0x153080=>!_0x153080);for(const _0x116e4f of _0x435192){const _0x1e068a=null===_0x116e4f['creator'];if(_0x1e068a&&_0x116e4f['toVersion']===_0x116e4f['fromVersion'])continue;const _0x10eafc=_0x116e4f['toJSON']();_0x15acf3['addRevisionData'](_0x10eafc,(_0x493d0b,_0x51e2b5,_0x131fd2)=>{if(_0x1e068a){if(_0x1bf89e)_0x1bf89e['_update'](_0x493d0b,_0x51e2b5);else{if(!_0x51e2b5){const _0x413b6d=_0x131fd2['toJSON']();_0x413b6d['id']=_0x49cb62(),_0x3825c5['saveRevision'](_0x413b6d,_0x131fd2['toVersion'])['then'](_0xb4b552=>{_0x1bf89e=_0xb4b552;});}}}else _0x116e4f['_update'](_0x493d0b,_0x51e2b5);});}}},w),_0x37edba);}['_enhanceShowRevisionViewerCallback'](){const _0x520c46=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1de362=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3842e6=this['editor']['plugins']['get']('Autosave');await _0x3842e6['save']();}else await _0x1de362['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x2eab76=this['editor']['plugins']['get']('Dialog');_0x2eab76['isOpen']&&_0x2eab76['hide']();}const _0xa7fa34=this['_getRevisionViewerEditorConfig']();return _0x520c46(_0xa7fa34)['then'](_0x48a298=>{return(this['_viewerEditor']=_0x48a298,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x48a298;})['catch'](_0x174213=>(console['error'](_0x174213),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2ba324=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'](),_0x2ba324(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x21fd76=this['editor']['plugins']['get']('Annotations');_0x21fd76['refreshVisibility'](),_0x21fd76['refreshPositioning']();}})));}['_showRevisionViewer'](_0x159f8d){const _0x51c149=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5eb20f=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2fef6c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2fef6c,_0x159f8d)['then'](_0x361557=>(_0x5eb20f['style']['display']='block',_0x51c149['style']['display']='none',_0x361557));}['_closeRevisionViewer'](_0x4e6b37){const _0x4e81ef=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4e81ef['style']['display']='',_0x4e6b37['destroy']();}async['_restoreRevision'](_0x1ba5d4){const _0x22b5ec=this['editor'],_0x3d2a56=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xfa3e9f=_0x22b5ec['plugins']['get']('RevisionTracker'),_0x35de07=_0x3d2a56['repository']['getRevision'](_0x1ba5d4);let _0x47706b,_0x31214c,_0x322068;try{_0x47706b=await _0x3d2a56['getRevisionData'](_0x35de07),_0x31214c=await _0x3d2a56['getRevisionRootsAttributes'](_0x35de07);}catch(_0x499785){return void console['error'](_0x499785);}_0x22b5ec['model']['change'](_0x11fe10=>{for(const _0x4a10fa of Array['from'](_0x22b5ec['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x11fe10['removeMarker'](_0x4a10fa);}),_0x3d2a56['isReady']=!0x1,_0x22b5ec['model']['enqueueChange'](_0x44e047=>{_0x44e047['setSelection'](null),_0x44e047['removeSelectionAttribute'](_0x22b5ec['model']['document']['selection']['getAttributeKeys']());const _0x79ba96=Object['keys'](_0x47706b);for(const _0xca658a of _0x22b5ec['model']['document']['roots'])'$graveyard'!=_0xca658a['rootName']&&_0xca658a['isAttached']()&&!_0x79ba96['includes'](_0xca658a['rootName'])&&_0x44e047['detachRoot'](_0xca658a);for(const _0x4282be of _0x79ba96){let _0x12b639=_0x22b5ec['model']['document']['getRoot'](_0x4282be);_0x12b639&&_0x12b639['isAttached']()||(_0x12b639=_0x44e047['addRoot'](_0x4282be));const _0x57dea5=_0x31214c[_0x4282be],_0x2bcb38=Object['keys'](_0x57dea5),_0x639a27=_0x47706b[_0x4282be];for(const _0x58da92 of _0x12b639['getAttributeKeys']())_0x2bcb38['includes'](_0x58da92)||_0x44e047['removeAttribute'](_0x58da92,_0x12b639);for(const _0x1efbd5 of _0x2bcb38)_0x44e047['setAttribute'](_0x1efbd5,_0x31214c[_0x4282be][_0x1efbd5],_0x12b639);_0x44e047['remove'](_0x44e047['createRangeIn'](_0x12b639)),_0x44e047['insert'](_0x22b5ec['data']['parse'](_0x639a27,_0x12b639),_0x12b639,0x0);}});const _0x3d2824=y(_0x22b5ec['locale'],'Restored');if(_0x35de07['name'])_0x322068=-0x1==_0x35de07['name']['indexOf'](_0x3d2824)?_0x3d2824+':\x20'+_0x35de07['name']:_0x35de07['name'];else _0x322068=_0x3d2824+':\x20'+(_0x35de07['createdAt']['toLocaleDateString'](_0x22b5ec['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x35de07['createdAt']['toLocaleTimeString'](_0x22b5ec['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xfa3e9f['saveRevision']({'name':_0x322068}),_0x3d2a56['isReady']=!0x0,_0x22b5ec['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};
|