@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240603.0 → 0.0.0-nightly-20240604.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -6
- package/build/revision-history.js +1 -1
- package/dist/index.js +1 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +1 -2
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +1 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +1 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +1 -2
- 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,10 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1c34ab,Context as _0x1c9f68,PendingActions as _0x10e7f1,icons as _0x52b2e0,Command as _0x5359b2,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x183f98,uid as _0x5b7c8e,Collection as _0x56c8ef,logWarning as _0x16c059,FocusTracker as _0xfd2b8,KeystrokeHandler as _0x1f4e29,scrollViewportToShowTarget as _0x36828b,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2973e6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2d6933,getMarkerDomElement as _0x10d559,ConfirmMixin as _0x8f2880,sanitizeEditorConfig as _0x185cf3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1dada5,ViewText as _0x581f68,ViewElement as _0x3fab72,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x57fb68,ViewAttributeElement as _0xa02c8b,ViewEmptyElement as _0x16cd23,ViewRawElement as _0x50bc36,ViewUIElement as _0x12cefa,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x52aa76,set as _0x8f4e33,unset as _0xc8122f,isEqual as _0x4944cd}from'lodash-es';import{View as _0x4386d0,injectCssTransitionDisabler as ts,submitHandler as _0x4b9db6,LabeledFieldView as at,createLabeledInputText as _0x290eaf,createDropdown as _0xf92d7f,ListView as te,ListItemView as _0x5db922,ButtonView as _0x409be8,MenuBarMenuView as _0x12b79b,MenuBarMenuListView as _0x2ae584,MenuBarMenuListItemView as _0x4abaa4,MenuBarMenuListItemButtonView as _0x1ef14d,ContextualBalloon as _0x6a1490,ToolbarSeparatorView as _0x17bdb1,IconView as _0x25b1ca,addListToDropdown as _0x56fc45,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 _0x2533f3}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x183f98(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2e4d4d){super(),this['id']=_0x2e4d4d['id']||_0x5b7c8e(),this['creator']=_0x2e4d4d['creator']||null,this['authors']=_0x2e4d4d['authors']||[],this['diffData']=_0x2e4d4d['diffData']||null,this['toVersion']=_0x2e4d4d['toVersion']||0x0,this['fromVersion']=_0x2e4d4d['fromVersion']||0x0,this['set']('name',_0x2e4d4d['name']||''),this['set']('createdAt',_0x2e4d4d['createdAt']||new Date()),this['set']('attributes',_0x2e4d4d['attributes']||{});}['setName'](_0x486431){this['_update']({'name':_0x486431});}['setAttribute'](_0xc24464,_0x3d24be){const _0x29f89e=_0x52aa76(this['attributes']);_0x8f4e33(_0x29f89e,_0xc24464,_0x3d24be),this['_update']({'attributes':_0x29f89e});}['removeAttribute'](_0x4292a1){const _0x22c20f=_0x52aa76(this['attributes']);_0xc8122f(_0x22c20f,_0x4292a1),this['_update']({'attributes':_0x22c20f});}['_update'](_0x16829e,_0x1bba50=!0x1){let _0x58480f=!0x1;const _0x5607a4={'id':this['id']},_0x4832d1=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x570e3d of _0x4832d1){const _0x8e025=_0x16829e[_0x570e3d];void 0x0!==_0x8e025&&_0x8e025!==this[_0x570e3d]&&(this[_0x570e3d]=_0x8e025,_0x5607a4[_0x570e3d]=_0x8e025,_0x58480f=!0x0);}_0x58480f&&(_0x5607a4['authors']&&(_0x5607a4['authorsIds']=_0x5607a4['authors']['map'](_0x42a87b=>_0x42a87b['id']),delete _0x5607a4['authors']),this['fire']('_update',_0x5607a4,_0x1bba50));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xaed550=>_0xaed550['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1c34ab{['_revisions'];static get['requires'](){return[_0x2d6933];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x253c43){super(_0x253c43),this['_revisions']=new _0x56c8ef();}['afterInit'](){!function(_0xa79b46){function _0x2cad8c(_0x1a24ad,_0x188ee3,_0x6ac4fd){const _0x29f1a9={};_0x29f1a9[_0xa402be([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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],_0x29f1a9[_0xa402be([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 _0x58c399=new Uint8Array(0x10);for(let _0x52679f=0xf;_0x52679f>=0x0;--_0x52679f)_0x58c399[_0x52679f]=_0x6ac4fd%0x100,_0x6ac4fd=parseInt(_0x6ac4fd/0x100);let _0x189c50=null,_0x201f1c=0x10;const _0xe242e3=new Uint8Array(_0x188ee3),_0x5586db=[],_0x4cf1b0=[];_0x54772f();for(let _0x57a4e5=0x0;_0x57a4e5<_0x1a24ad[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57a4e5++)0x10===_0x201f1c&&(_0x189c50=_0x44ae16(_0x58c399),_0x201f1c=0x0,_0x3104a3(_0x58c399)),_0x1a24ad[_0x57a4e5]^=_0x189c50[_0x201f1c++];return _0x1a24ad;function _0x5bf947(_0x2ddfeb){const _0x1a6285=[];for(let _0x408689=0x0;_0x408689<_0x2ddfeb[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x408689+=0x4)_0x1a6285[_0xa402be([0x70,0x75,0x73,0x68])](_0x2ddfeb[_0x408689]<<0x18|_0x2ddfeb[_0x408689+0x1]<<0x10|_0x2ddfeb[_0x408689+0x2]<<0x8|_0x2ddfeb[_0x408689+0x3]);return _0x1a6285;}function _0x3104a3(_0x5b3aa3){for(let _0x4b7b62=0xf;_0x4b7b62>=0x0;_0x4b7b62--){if(0xff!==_0x5b3aa3[_0x4b7b62]){_0x5b3aa3[_0x4b7b62]++;break;}_0x5b3aa3[_0x4b7b62]=0x0;}}function _0x44ae16(_0x10dbc7){const _0xff684c=_0x5586db[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xa7c5ec=[0x0,0x0,0x0,0x0];let t=_0x5bf947(_0x10dbc7);for(let _0x5de328=0x0;_0x5de328<0x4;_0x5de328++)t[_0x5de328]^=_0x5586db[0x0][_0x5de328];for(let _0x50a2c8=0x1;_0x50a2c8<_0xff684c;_0x50a2c8++){for(let _0x11b9fd=0x0;_0x11b9fd<0x4;_0x11b9fd++)_0xa7c5ec[_0x11b9fd]=_0x29f1a9[_0xa402be([0x54,0x31])][t[_0x11b9fd]>>0x18&0xff]^_0x29f1a9[_0xa402be([0x54,0x32])][t[(_0x11b9fd+0x1)%0x4]>>0x10&0xff]^_0x29f1a9[_0xa402be([0x54,0x33])][t[(_0x11b9fd+0x2)%0x4]>>0x8&0xff]^_0x29f1a9[_0xa402be([0x54,0x34])][0xff&t[(_0x11b9fd+0x3)%0x4]]^_0x5586db[_0x50a2c8][_0x11b9fd];t=_0xa7c5ec[_0xa402be([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5ef67a=new Uint8Array(0x10);let _0x4c5f4b;for(let _0xbb592b=0x0;_0xbb592b<0x4;_0xbb592b++)_0x4c5f4b=_0x5586db[_0xff684c][_0xbb592b],_0x5ef67a[0x4*_0xbb592b]=0xff&(_0x29f1a9[_0xa402be([0x53])][t[_0xbb592b]>>0x18&0xff]^_0x4c5f4b>>0x18),_0x5ef67a[0x4*_0xbb592b+0x1]=0xff&(_0x29f1a9[_0xa402be([0x53])][t[(_0xbb592b+0x1)%0x4]>>0x10&0xff]^_0x4c5f4b>>0x10),_0x5ef67a[0x4*_0xbb592b+0x2]=0xff&(_0x29f1a9[_0xa402be([0x53])][t[(_0xbb592b+0x2)%0x4]>>0x8&0xff]^_0x4c5f4b>>0x8),_0x5ef67a[0x4*_0xbb592b+0x3]=0xff&(_0x29f1a9[_0xa402be([0x53])][0xff&t[(_0xbb592b+0x3)%0x4]]^_0x4c5f4b);return _0x5ef67a;}function _0x54772f(){const _0x378f13=_0x29f1a9[_0xa402be([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xe242e3[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x50ce54=0x0;_0x50ce54<=_0x378f13;_0x50ce54++)_0x5586db[_0xa402be([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4cf1b0[_0xa402be([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x39fa85=0x4*(_0x378f13+0x1),_0xfcadad=_0xe242e3[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x9e3c03=_0x5bf947(_0xe242e3);let _0x1ae12b;for(let _0x4a505a=0x0;_0x4a505a<_0xfcadad;_0x4a505a++)_0x1ae12b=_0x4a505a>>0x2,_0x5586db[_0x1ae12b][_0x4a505a%0x4]=_0x9e3c03[_0x4a505a],_0x4cf1b0[_0x378f13-_0x1ae12b][_0x4a505a%0x4]=_0x9e3c03[_0x4a505a];let _0x273801,_0x8fc069=0x0,t=_0xfcadad;for(;t<_0x39fa85;){_0x273801=_0x9e3c03[_0xfcadad-0x1],_0x9e3c03[0x0]^=_0x29f1a9[_0xa402be([0x53])][_0x273801>>0x10&0xff]<<0x18^_0x29f1a9[_0xa402be([0x53])][_0x273801>>0x8&0xff]<<0x10^_0x29f1a9[_0xa402be([0x53])][0xff&_0x273801]<<0x8^_0x29f1a9[_0xa402be([0x53])][_0x273801>>0x18&0xff]^_0x29f1a9[_0xa402be([0x72,0x63,0x6f,0x6e])][_0x8fc069]<<0x18,_0x8fc069+=0x1;for(let _0x259351=0x1;_0x259351<_0xfcadad/0x2;_0x259351++)_0x9e3c03[_0x259351]^=_0x9e3c03[_0x259351-0x1];_0x273801=_0x9e3c03[_0xfcadad/0x2-0x1],_0x9e3c03[_0xfcadad/0x2]^=_0x29f1a9[_0xa402be([0x53])][0xff&_0x273801]^_0x29f1a9[_0xa402be([0x53])][_0x273801>>0x8&0xff]<<0x8^_0x29f1a9[_0xa402be([0x53])][_0x273801>>0x10&0xff]<<0x10^_0x29f1a9[_0xa402be([0x53])][_0x273801>>0x18&0xff]<<0x18;for(let _0x42bc9d=_0xfcadad/0x2+0x1;_0x42bc9d<_0xfcadad;_0x42bc9d++)_0x9e3c03[_0x42bc9d]^=_0x9e3c03[_0x42bc9d-0x1];let _0x3de9c0,_0x3d32c1,_0x315257=0x0;for(;_0x315257<_0xfcadad&&t<_0x39fa85;)_0x3de9c0=t>>0x2,_0x3d32c1=t%0x4,_0x5586db[_0x3de9c0][_0x3d32c1]=_0x9e3c03[_0x315257],_0x4cf1b0[_0x378f13-_0x3de9c0][_0x3d32c1]=_0x9e3c03[_0x315257++],t++;}for(let _0x243adb=0x1;_0x243adb<_0x378f13;_0x243adb++)for(let _0x5485b9=0x0;_0x5485b9<0x4;_0x5485b9++)_0x273801=_0x4cf1b0[_0x243adb][_0x5485b9],_0x4cf1b0[_0x243adb][_0x5485b9]=_0x29f1a9[_0xa402be([0x55,0x31])][_0x273801>>0x18&0xff]^_0x29f1a9[_0xa402be([0x55,0x32])][_0x273801>>0x10&0xff]^_0x29f1a9[_0xa402be([0x55,0x33])][_0x273801>>0x8&0xff]^_0x29f1a9[_0xa402be([0x55,0x34])][0xff&_0x273801];}}function _0xa402be(_0x500844){return _0x500844['map'](_0x350538=>String['fromCharCode'](_0x350538))['join']('');}(_0x19ada3=>{function _0x290062(){const _0x2c71c7=[{[_0xa402be([0x69,0x64])]:0x1,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xa402be([0x69,0x64])]:0x2,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([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]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xa402be([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xa402be([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xa402be([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xa402be([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xa402be([0x69,0x64])]:0x3,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xa402be([0x69,0x64])]:0x4,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([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]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xa402be([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xa402be([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xa402be([0x69,0x64])]:0x5,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([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]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}},{[_0xa402be([0x69,0x64])]:0x6,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}},{[_0xa402be([0x69,0x64])]:0x7,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}},{[_0xa402be([0x69,0x64])]:0x8,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([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]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}},{[_0xa402be([0x69,0x64])]:0x9,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xa402be([0x69,0x64])]:0xa,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([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]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([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]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([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]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}},{[_0xa402be([0x69,0x64])]:0xb,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xa402be([0x69,0x64])]:0xc,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xa402be([0x69,0x64])]:0xd,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}},{[_0xa402be([0x69,0x64])]:0xe,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xa402be([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([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])},{[_0xa402be([0x69,0x64])]:0xf,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xa402be([0x69,0x64])]:0x10,[_0xa402be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xa402be([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xa402be([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xa402be([0x66,0x67,0x69])]:[0xc]}}];return _0x4c7888(_0x2c71c7),_0x2c71c7;function _0x4c5b8f(_0x22b7be){return 0x1<<_0x22b7be-0x1;}function _0x4c7888(_0x150126){_0x150126[_0xa402be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bcc47=>{_0x1bcc47[_0xa402be([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4c5b8f(_0x1bcc47[_0xa402be([0x69,0x64])]),_0x3d5f8a(_0x1bcc47)&&_0x1bcc47[_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4c7888(_0x1bcc47[_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3d5f8a(_0x38e0f9){return _0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x38e0f9;}const _0x53a76f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xf89f5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x320d8d(_0xd985a3){const _0xd1b359=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1acf39(_0xd985a3,new Uint8Array([..._0x53a76f,..._0xd1b359,..._0xf89f5]));}function _0x1acf39(_0x2f21b1,_0x2c4252){const _0x43ab4b=_0x1aaf9a(_0x2f21b1),_0x18745f=Array[_0xa402be([0x66,0x72,0x6f,0x6d])](_0x2bd9e4(_0x43ab4b)),_0x291553=_0x18745f[_0xa402be([0x70,0x6f,0x70])](),_0x62186a=_0x18745f[_0xa402be([0x70,0x6f,0x70])]();return _0x30e579(_0x2cad8c(_0x18745f,_0x2c4252,_0x62186a+0x100*_0x291553));}function _0x1aaf9a(_0x3bbda0){const _0x16af51=atob(_0x3bbda0),[_0xc4d202,_0xaac3b]=_0x16af51[_0xa402be([0x73,0x70,0x6c,0x69,0x74])](_0xa402be([0x2d]));try{if(atob(_0xaac3b))return atob(_0xc4d202);}catch(_0x14f3ae){}return _0x16af51;}function _0x3bc0ea(_0x3287bf){try{const _0x5d904f=_0x320d8d(_0x3287bf),_0x2fb6e2=JSON[_0xa402be([0x70,0x61,0x72,0x73,0x65])](_0x5d904f),_0x466a89=parseInt(_0x2fb6e2[_0xa402be([0x31])]),_0x2d7adf=_0x2fb6e2[_0xa402be([0x32])]||'',_0x567d91=parseInt(_0x2fb6e2[_0xa402be([0x33])]),_0x5b16ea=parseInt(_0x2fb6e2[_0xa402be([0x34])])||0x0,_0x5e666c=parseInt(_0x2fb6e2[_0xa402be([0x35])])||0x0;return{[_0xa402be([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2d7adf,[_0xa402be([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5b16ea,[_0xa402be([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x466a89,[_0xa402be([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x567d91,[_0xa402be([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5e666c};}catch(_0x5b75f8){return null;}}const _0x221c68=_0x290062(),_0x4b4f88={[_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x273d1c,[_0xa402be([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])]:_0x143590,[_0xa402be([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])]:_0x4d5141},_0x2fd20e=_0x19ada3[_0xa402be([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xe85c02=_0xa402be([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x19ada3?_0x19ada3['context']:_0x19ada3['editor'],_0x296a7f=_0xa402be([0x34,0x30,0x34,0x38,0x31,0x32,0x30,0x36]),_0x408a92=_0xa402be([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]),_0x2cf08e=_0xe85c02['config']['get'](_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x653c55=_0x221c68[_0xa402be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d5f8a)[_0xa402be([0x66,0x69,0x6e,0x64])](_0x3257d4=>_0x3257d4[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2fd20e);function _0x55e1d8(_0xe23772,_0x2d5673){_0x4b4f88[_0x2d5673[_0xa402be([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0xe23772,_0x2d5673),_0x2d5673[_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2d5673[_0xa402be([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xa402be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x975794=>_0x10df60(_0xe85c02,_0x975794[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xa402be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f76d2=>_0x55e1d8(_0xe23772,_0x2f76d2));}function _0x273d1c(_0x1a5f7e,_0x2ae944){_0x30e020(_0x353595(_0x1a5f7e,_0x2ae944),_0x2ae944);}function _0x143590(_0x13abaa,_0x3e5198){function _0x227a5c(_0x4b6b16,_0x199323){try{if(_0x10df60(_0xe85c02,_0xa402be([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4b6b16){const _0x4bc88c=_0x558fb6(_0xe85c02,_0xa402be([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xa402be([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4bc88c)/0x2>_0x4b6b16[_0xa402be([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x185149(_0x199323[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x353595(_0x4b6b16,_0x199323);}catch(_0xc37507){return _0x185149(_0x199323[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x30e020(_0x227a5c(_0x13abaa,_0x3e5198),_0x3e5198);}function _0x4d5141(_0x14ea0d,_0x5d67ab){const _0x640ea9=_0xf89f5[0x0]*_0x53a76f[0x1],_0x8b7df8=_0xf89f5[0x0]*_0x53a76f[0x2],_0x3e2429=_0xf89f5[0x2]*_0x53a76f[0x2];_0x10df60(_0xe85c02,_0xa402be([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x558fb6(_0xe85c02,_0xa402be([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xa402be([0x73,0x74,0x61,0x74,0x65])]==_0xa402be([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x6ba66b()]=_0x3e2429);function _0x58e02d(_0x6b3d48,_0x428dbf){try{return _0x2a663b()?_0x185149(_0x428dbf[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x56,0x61,0x6c,0x69,0x64])):_0x353595(_0x6b3d48,_0x428dbf);}catch(_0x9fb9ea){return _0x185149(_0x428dbf[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1c86e(_0x2e4475,_0x2ef1f1){const _0x3356b3=0x7;if(_0x2e4475==_0x2ef1f1[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x164633();else{if(_0x2e4475==_0x2ef1f1[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c])){const _0x1e590f=_0x1c9d29();_0x1e590f&&_0x2f9bdc(_0x1e590f,_0x2ef1f1[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x57872b=_0x4235bf();window[_0xa402be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2f9bdc(_0xa402be([0x74,0x69,0x6d,0x65]),_0x2ef1f1[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x57872b);const _0x33b262=_0x558fb6(_0xe85c02,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xa402be([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x33b262[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3356b3?_0x2f9bdc(_0xa402be([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2ef1f1[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x33b262['on'](_0xa402be([0x61,0x64,0x64]),()=>{_0x33b262[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3356b3&&_0x2f9bdc(_0xa402be([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2ef1f1[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1c9d29(){if(!_0x10df60(_0xe85c02,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x55dc70 in window)if(Number['isNaN'](Number(_0x55dc70))){if(window[_0x55dc70]===_0x640ea9)return _0xa402be([0x74,0x69,0x6d,0x65]);if(window[_0x55dc70]===_0x8b7df8)return _0xa402be([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2a663b(){if(!_0x10df60(_0xe85c02,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x251e60 in window)if(Number['isNaN'](Number(_0x251e60))&&window[_0x251e60]===_0x3e2429)return!0x0;return!0x1;}function _0x2f9bdc(_0x34cc9a,_0x43af47){_0x164633(),_0x185149(_0x43af47+_0xa402be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x34cc9a),window[_0x6ba66b()]=_0x34cc9a===_0xa402be([0x74,0x69,0x6d,0x65])?_0x640ea9:_0x8b7df8;}function _0x4235bf(){let _0x1a0ad1=_0xf89f5[0x6]*_0x53a76f[0x8]*_0x53a76f[0x6];return _0x10df60(_0xe85c02,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1a0ad1/=0xa),_0x1a0ad1;}function _0x164633(){const _0x379a12=_0xe85c02;function _0x241a92(){_0x10df60(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xa402be([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xa402be([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xa402be([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xa402be([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2f3090,_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xa402be([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2f3090,_0x379a12[_0xa402be([0x6d,0x6f,0x64,0x65,0x6c])][_0xa402be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f3090,_0x379a12[_0xa402be([0x6d,0x6f,0x64,0x65,0x6c])][_0xa402be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f3090,_0x379a12[_0xa402be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa402be([0x6d,0x6f,0x64,0x65,0x6c]))),_0x10df60(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xa402be([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xa402be([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xa402be([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xa402be([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2f3090,_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xa402be([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2f3090);}_0x379a12[_0xa402be([0x73,0x74,0x61,0x74,0x65])]==_0xa402be([0x72,0x65,0x61,0x64,0x79])?_0x241a92():_0x379a12[_0xa402be([0x6f,0x6e,0x63,0x65])](_0xa402be([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x10df60(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x241a92(),_0x10df60(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2849ef=_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4b2b97=_0x2849ef['getRevision'](0x0),_0x379e42=_0x2849ef['getEarlierVisibleRevision'](_0x4b2b97[_0xa402be([0x69,0x64])]);_0x558fb6(_0x379a12,_0xa402be([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xa402be([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4b2b97[_0xa402be([0x69,0x64])],_0x379e42?_0x379e42[_0xa402be([0x69,0x64])]:null,0x1)['then'](()=>_0x241a92());}});}_0x1c86e(_0x58e02d(_0x14ea0d,_0x5d67ab),_0x5d67ab);}function _0x353595(_0x46ef35,_0x3ffc8d){try{return _0x517b96(_0x3ffc8d)?_0x185149(_0x3ffc8d[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x56,0x61,0x6c,0x69,0x64])):_0x46ef35&&_0x1af859(_0x46ef35[_0xa402be([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3ffc8d)?_0x46ef35[_0xa402be([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xa402be([0x6f,0x70,0x65,0x6e])][_0xa402be([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x296a7f)/0x2>_0x46ef35[_0xa402be([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x185149(_0x3ffc8d[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x46ef35[_0xa402be([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x185149(_0x3ffc8d[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c])):_0x185149(_0x3ffc8d[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x56,0x61,0x6c,0x69,0x64])):_0x185149(_0x3ffc8d[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x248d0c){return _0x185149(_0x3ffc8d[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x30e020(_0x4adffd,_0x4fc910){if(_0xe85c02 instanceof _0x1c9f68){const _0x24ad86=_0xe85c02;_0x4adffd==_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5677cc(_0x24ad86):_0x4adffd==_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c])&&window[_0xa402be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5677cc(_0x24ad86),_0x185149(_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xf89f5[0x6]*_0x53a76f[0x8]*_0x53a76f[0x6]),_0x24ad86[_0xa402be([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xa402be([0x6f,0x6e])](_0xa402be([0x61,0x64,0x64]),(_0x38536d,_0x386b18)=>{_0x4adffd!=_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4adffd!=_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4adffd!=_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5e8b19(_0x386b18);});}else{const _0x4c7e0a=_0xe85c02;_0x4adffd==_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5e8b19(_0x4c7e0a):_0x4adffd==_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c])&&_0x4c7e0a[_0xa402be([0x6f,0x6e])](_0xa402be([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2c13a9=0x0;_0x4c7e0a[_0xa402be([0x6d,0x6f,0x64,0x65,0x6c])][_0xa402be([0x6f,0x6e])](_0xa402be([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e7557,_0x5de653)=>{_0x5de653[0x0][_0xa402be([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c13a9++,0x1f8===_0x2c13a9&&(_0x5e8b19(_0x4c7e0a),_0x185149(_0x4fc910[_0xa402be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xa402be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2e7557[_0xa402be([0x6f,0x66,0x66])]());},{'priority':_0xa402be([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x185149(_0x27389d){const _0x2c0ff2=_0x6ba66b();return _0xe85c02[_0x2c0ff2]=_0x27389d,_0x27389d;}function _0x6ba66b(){const _0x392c3b=String(window[_0xa402be([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa402be([0x6e,0x6f,0x77])]())[_0xa402be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa402be([0x2e]),'');let _0xb01bc2='';for(let _0x1a9868=0x0;_0x1a9868<_0x392c3b[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a9868+=0x2){let _0x492d9c=parseInt(_0x392c3b[_0xa402be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a9868,_0x1a9868+0x2));_0x492d9c>=_0x408a92[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x492d9c-=_0x408a92[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb01bc2+=_0x408a92[_0x492d9c];}return _0xb01bc2;}function _0x5677cc(_0x3e40eb){for(const _0x4479f6 of _0x3e40eb[_0xa402be([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5e8b19(_0x4479f6);_0x558fb6(_0x3e40eb,_0xa402be([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xa402be([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x558fb6(_0x3e40eb,_0xa402be([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xa402be([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2f3090;}function _0x5e8b19(_0x1eadb4){function _0x14bb1c(){_0x1eadb4[_0xa402be([0x6d,0x6f,0x64,0x65,0x6c])][_0xa402be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f3090,_0x1eadb4[_0xa402be([0x6d,0x6f,0x64,0x65,0x6c])][_0xa402be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f3090,_0x1eadb4[_0xa402be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa402be([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1eadb4[_0xa402be([0x73,0x74,0x61,0x74,0x65])]==_0xa402be([0x72,0x65,0x61,0x64,0x79])?_0x14bb1c():_0x1eadb4[_0xa402be([0x6f,0x6e,0x63,0x65])](_0xa402be([0x72,0x65,0x61,0x64,0x79]),()=>_0x14bb1c());}function _0x2f3090(){return null;}function _0x1af859(_0xd022c4,_0x55f541){const _0x178fa9=!!(_0xd022c4&_0x55f541[_0xa402be([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x576293=_0xbe641f(_0xd022c4,_0x55f541);return _0x178fa9||_0x576293;}function _0xbe641f(_0x5b6225,_0x4fe008){const _0x4ef581=(_0x4fe008[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xa402be([0x66,0x67,0x69])]||null;return!!_0x4ef581&&_0x221c68[_0xa402be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aaad0=>_0x4ef581[_0xa402be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aaad0[_0xa402be([0x69,0x64])]))[_0xa402be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32262c=>!_0x1d1c5e(_0x32262c))[_0xa402be([0x73,0x6f,0x6d,0x65])](_0x197c1e=>!!(_0x5b6225&_0x197c1e[_0xa402be([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1d1c5e(_0x2cfe8d){const _0x514472={[_0xa402be([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])]:_0x449994};return!!_0x2cfe8d['forbiddenHandler']&&_0x514472[_0x2cfe8d['forbiddenHandler']]();}function _0x449994(){return!window[_0xa402be([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x10df60(_0xe85c02,_0xa402be([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x517b96(_0x5a820a){if(!_0x10df60(_0xe85c02,_0x5a820a[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x522f3e=_0x5a820a[_0xa402be([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xb569fa=_0x522f3e[_0xa402be([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x22fdea=_0x522f3e[_0xa402be([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1550c4=_0x522f3e[_0xa402be([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x10df60(_0xe85c02,_0xa402be([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x558fb6(_0xe85c02,_0xa402be([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xa402be([0x73,0x74,0x61,0x74,0x65])]==_0xa402be([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xb569fa)return!0x0;if(_0x10df60(_0xe85c02,_0xa402be([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x558fb6(_0xe85c02,_0xa402be([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xa402be([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xa402be([0x65,0x6e,0x64])&&_0x22fdea)return!0x0;return!(!_0x10df60(_0xe85c02,_0xa402be([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]))||_0x558fb6(_0xe85c02,_0xa402be([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]))[_0xa402be([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xa402be([0x65,0x6e,0x64])||!_0x1550c4);}function _0x10df60(_0x514329,_0x3dbfe3){return _0x514329[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xa402be([0x68,0x61,0x73])](_0x3dbfe3);}function _0x558fb6(_0x4641f7,_0x88fa73){return _0x4641f7[_0xa402be([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xa402be([0x67,0x65,0x74])](_0x88fa73);}function _0x30e579(_0x50514c){let _0x534dbb='';for(const _0x54348b of _0x50514c)_0x534dbb+=String[_0xa402be([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x54348b);return _0x534dbb;}function _0x2bd9e4(_0x11ad21){const _0x31e2de=new Uint8Array(_0x11ad21[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x576d8c=0x0;_0x576d8c<_0x11ad21[_0xa402be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576d8c++)_0x31e2de[_0x576d8c]=_0x11ad21[_0xa402be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x576d8c);return _0x31e2de;}_0x653c55&&_0x55e1d8(_0x3bc0ea(_0x2cf08e),_0x653c55);})(_0xa79b46);}(this);}['createRevision'](_0x3193b9){const _0x2c2098=this['editor']['plugins']['get']('Users');return new a({'id':_0x3193b9['id'],'name':_0x3193b9['name'],'creator':_0x3193b9['creatorId']?_0x2c2098['getUser'](_0x3193b9['creatorId']):null,'diffData':_0x3193b9['diffData']||_0x3193b9['data'],'authors':_0x3193b9['authorsIds']['map'](_0x3cbde7=>_0x2c2098['getUser'](_0x3cbde7)),'createdAt':new Date(_0x3193b9['createdAt']),'attributes':_0x3193b9['attributes'],'fromVersion':_0x3193b9['fromVersion'],'toVersion':_0x3193b9['toVersion']});}['addRevision'](_0x92c8a3,_0x27b732=0x0){this['_revisions']['add'](_0x92c8a3,_0x27b732);}['getRevision'](_0x3370ce){return this['_revisions']['get'](_0x3370ce);}['getRevisions'](_0x391764={'toJSON':!0x1}){const _0x3541ff=Array['from'](this['_revisions']);return _0x3541ff['reverse'](),_0x391764['toJSON']?_0x3541ff['map'](_0x576edb=>_0x576edb['toJSON']()):_0x3541ff;}['getIndex'](_0x19469b){return this['_revisions']['getIndex'](_0x19469b);}['getEarlierVisibleRevision'](_0x56cbd3){const [,_0x43fb07]=this['getRevisionsIterator'](_0x56cbd3,{'direction':'earlier'});return _0x43fb07;}['getLaterVisibleRevision'](_0x413ede){const [,_0xfe5052]=this['getRevisionsIterator'](_0x413ede,{'direction':'later'});return _0xfe5052;}['getRevisionsInDiff'](_0xf2f9df){const _0x3224e1=[];for(const _0x131c03 of this['getRevisionsIterator'](_0xf2f9df['newRevisionId']))if(_0x3224e1['push'](_0x131c03),_0x131c03['id']===_0xf2f9df['oldRevisionId'])break;return _0x3224e1;}*['getRevisionsIterator'](_0x44407e,{direction:_0xf14afb='earlier',filter:_0x35b4a9=_0x289a35=>!0x0}={}){const _0x2de2ab='earlier'===_0xf14afb?0x1:-0x1;let _0x162352=this['_revisions']['get'](_0x44407e),_0x1ca76d=this['getIndex'](_0x162352);for(yield _0x162352;_0x162352;){if(_0x1ca76d+=_0x2de2ab,_0x162352=this['getRevision'](_0x1ca76d),!_0x162352)return;_0x35b4a9(_0x162352)&&(yield _0x162352);}}}function y(_0x1331ab,_0x40ee40,_0x2327f0){const t=_0x1331ab['t'];switch(_0x40ee40){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'},_0x2327f0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2327f0);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':_0x57fb68,'a':_0xa02c8b,'e':_0x16cd23,'r':_0x50bc36,'u':_0x12cefa};class l extends _0x1c34ab{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2d6933,A,_0x10e7f1];}constructor(_0x46f6e8){super(_0x46f6e8),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 _0x177386=_0x5b7c8e();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x177386},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 _0x56ea1a=this['repository']['getRevision'](0x0),_0xd864da=_0x56ea1a&&null===_0x56ea1a['creator']?_0x56ea1a:null;if(this['_continueCurrentRevision']=!!_0xd864da&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x320e98=this['_source']['getCurrentRevisionId'](),_0x31c542=this['repository']['getRevision'](_0x320e98);if(_0x31c542)this['_startingVersion']=_0x31c542['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xbd61d4=this['_source']['history']['_operations']['find'](_0x2d8c32=>!_0x2d8c32['_isInit']),_0x463858=_0xbd61d4?_0xbd61d4['baseVersion']:this['_source']['history']['version'];_0x56ea1a?(_0x56ea1a['toVersion']<_0x463858&&_0x56ea1a['_update']({'toVersion':_0x463858}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xd864da['id'],this['_startingVersion']=_0xd864da['fromVersion']):(this['_startingVersion']=_0x56ea1a['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x463858,this['_continueCurrentRevision']=!0x1);}}else _0xd864da&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xd864da['toVersion'],this['editor']['model']['document']['history']['version']),_0xd864da['fromVersion']===_0xd864da['toVersion']?(0x0!==_0xd864da['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xd864da['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xd864da['id'],this['_startingVersion']=_0xd864da['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',_0x17cb32=>!_0x17cb32);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x495abe=this['repository']['getRevision'](0x0),_0x45f073=await this['getRevisionDocumentData'](_0x495abe),_0x58fef7=await this['getRevisionRootsAttributes'](_0x495abe);this['_replaceEditorDataWithRevisionData'](_0x45f073,_0x58fef7);}}['setSource'](_0x232343){this['_source']=_0x232343;}async['update'](){const _0x2f7193=await this['_source']['getLatestVersion']();if(_0x2f7193>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3f93cf=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x2f7193});_0x3f93cf['authors']=_0x3f93cf['authorsIds']['map'](_0x1db26f=>this['editor']['plugins']['get']('Users')['getUser'](_0x1db26f)),this['currentRevision']['_update'](_0x3f93cf);}}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'](_0x2a15b0={},_0x21141a=null){const _0x2a2fbd=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x21141a>this['currentRevision']['toVersion']&&(_0x21141a=null),null===_0x21141a&&(_0x21141a=await this['_source']['getLatestVersion']());const _0x361722=this['_getFromVersion'](_0x21141a),_0x463f1d=this['buildRevisionData']({'from':_0x361722,'to':_0x21141a});if(this['currentRevision']['toVersion']<_0x21141a){const _0x699059=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x21141a,'to':_0x21141a});_0x699059['authors']=[],_0x699059['authorsIds']=[],_0x699059['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x699059,!0x0),delete _0x699059['authors'],_0x2a2fbd['push'](_0x699059);}_0x2a15b0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2a15b0['name']=_0x2a15b0['name']||null,_0x2a15b0['id']=_0x2a15b0['id']||_0x5b7c8e(),_0x2a15b0={..._0x2a15b0,..._0x463f1d};const _0x1fb362=this['addRevisionData'](_0x2a15b0);_0x2a2fbd['push'](_0x2a15b0);const _0x32a269=this['repository']['getIndex'](_0x1fb362);if(0x0!==_0x32a269){const _0xce803f=this['repository']['getRevision'](_0x32a269-0x1);if(_0xce803f['fromVersion']!==_0x21141a){const _0x31c691=this['_revisionDataBuilder']['getData'](_0x21141a,_0xce803f['toVersion']),_0x384e1e={'id':_0xce803f['id'],'diffData':_0x31c691['diffData'],'authorsIds':_0x31c691['authorsIds'],'authors':_0x31c691['authorsIds']['map'](_0x4a5da7=>this['editor']['plugins']['get']('Users')['getUser'](_0x4a5da7)),'fromVersion':_0x21141a};_0xce803f===this['currentRevision']&&(_0x384e1e['createdAt']=new Date(_0x2a15b0['createdAt']['getTime']()+0xa)),_0xce803f['_update'](_0x384e1e,!0x0),delete _0x384e1e['authors'],_0x2a2fbd['push'](_0x384e1e);}}if(this['adapter']){for(const _0x10880f of _0x2a2fbd)this['_bufferUpdate'](_0x10880f['id'],_0x10880f,!0x0);this['sendBufferedUpdates']();}return _0x1fb362;}['addRevisionData'](_0x28c3ea){const _0x2d34c2=this['repository']['createRevision'](_0x28c3ea);return this['adapter']&&_0x2d34c2['on']('_update',(_0x5b2a94,_0x10883b,_0x645841)=>{_0x645841||(this['_bufferUpdate'](_0x10883b['id'],_0x10883b,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2d34c2,this['_findInsertionIndex'](_0x2d34c2)),_0x2d34c2;}async['getRevisionDocumentData'](_0x4ac83b){await this['_loadRevisionData'](_0x4ac83b);const _0x5b43e5={};for(const _0x984db5 in _0x4ac83b['diffData']){if(_0x4ac83b['diffData'][_0x984db5]['attachChange']&&!_0x4ac83b['diffData'][_0x984db5]['attachChange']['isAttached'])continue;const _0x8d9a83=this['_removeRevisionMarkers'](JSON['parse'](_0x4ac83b['diffData'][_0x984db5]['insertions'])),_0x998ff1=this['editor']['editing']['view']['document'],_0x41154f=new _0x1dada5(_0x998ff1,_0x8d9a83['map'](_0x5e3158=>B(_0x5e3158,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x5b43e5[_0x984db5]=this['editor']['data']['processor']['toData'](_0x41154f),this['editor']['data']['processor']['useFillerType']('default');}return _0x5b43e5;}async['getRevisionRootsAttributes'](_0x1df9ac){await this['_loadRevisionData'](_0x1df9ac);const _0xb295f2={};for(const _0x2e2b91 in _0x1df9ac['diffData'])_0x1df9ac['diffData'][_0x2e2b91]['attachChange']&&!_0x1df9ac['diffData'][_0x2e2b91]['attachChange']['isAttached']||(_0xb295f2[_0x2e2b91]=_0x1df9ac['diffData'][_0x2e2b91]['attributesAfter']||{});return _0xb295f2;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2438dd=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x531613=0x0;_0x531613<_0x2438dd['length'];_0x531613++){const _0x3843a7=_0x2438dd[_0x531613];let _0xd9b5c1=!0x1;for(const _0x2f8359 of Object['keys'](_0x3843a7))void 0x0===_0x3843a7[_0x2f8359]?delete _0x3843a7[_0x2f8359]:'id'!==_0x2f8359&&(_0xd9b5c1=!0x0);_0xd9b5c1||(_0x2438dd[_0x531613]=null);}if(_0x2438dd=_0x2438dd['filter'](_0x3fb217=>null!==_0x3fb217),!_0x2438dd['length'])return;for(let _0x285939=0x0;_0x285939<_0x2438dd['length'];_0x285939++){const _0x1695df=_0x2438dd[_0x285939];void 0x0!==_0x1695df['fromVersion']&&void 0x0===_0x1695df['toVersion']&&(_0x1695df['toVersion']=this['repository']['getRevision'](_0x1695df['id'])['toVersion']),void 0x0!==_0x1695df['toVersion']&&void 0x0===_0x1695df['fromVersion']&&(_0x1695df['fromVersion']=this['repository']['getRevision'](_0x1695df['id'])['fromVersion']);}const _0x133a6d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2438dd,_0x133a6d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x193616=>{if(_0x193616){for(const _0x8ac97d of _0x193616)this['setRevisionData']({'id':_0x8ac97d['id'],'createdAt':_0x8ac97d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x508532,_0x95aba9){let _0x187f97=this['editor']['config']['get']('initialData'),_0x1794e8=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x187f97){_0x187f97={};for(const _0x18c7c2 of this['editor']['model']['document']['getRootNames']())_0x187f97[_0x18c7c2]='';}if('string'==typeof _0x187f97&&(_0x187f97={'main':_0x187f97}),void 0x0===_0x1794e8){_0x1794e8={};for(const _0x499cc9 of this['editor']['model']['document']['getRootNames']())_0x1794e8[_0x499cc9]={};}let _0x13d7c9=!0x1;const _0x3488a1=Object['keys'](_0x187f97),_0xb85a7b=Object['keys'](_0x508532);for(const _0x1f2b85 of _0x3488a1){if(_0x187f97[_0x1f2b85]!==_0x508532[_0x1f2b85]&&''!==_0x187f97[_0x1f2b85]['trim']()){_0x13d7c9=!0x0;break;}if(!_0x4944cd(_0x1794e8[_0x1f2b85],_0x95aba9[_0x1f2b85])&&Object['keys'](_0x1794e8[_0x1f2b85])['length']>0x0){_0x13d7c9=!0x0;break;}}_0x13d7c9||(_0x13d7c9=_0xb85a7b['some'](_0x1be085=>!this['editor']['model']['document']['getRoot'](_0x1be085))),_0x13d7c9&&_0x16c059('editor-initial-data-replaced-with-revision-data',{'editorData':_0x187f97,'editorRootsAttributes':_0x1794e8,'revisionData':_0x508532,'revisionRootsAttributes':_0x95aba9}),this['editor']['config']['set']('initialData',_0x508532),this['editor']['config']['set']('rootsAttributes',_0x95aba9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4b1cfe=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4b1cfe['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x11fd2e){const _0x54a1ab=this['repository']['getRevisions']();_0x54a1ab['reverse']();let _0x3387f7=0x0;for(;_0x3387f7<_0x54a1ab['length'];){const _0xe56c01=_0x54a1ab[_0x3387f7];if(_0xe56c01===this['currentRevision']){_0x3387f7++;continue;}if(_0xe56c01['id']===this['_initialRevisionId'])break;const _0x304c7=_0x11fd2e['toVersion']-_0xe56c01['toVersion']||_0x11fd2e['fromVersion']-_0xe56c01['fromVersion'];if(_0x304c7>0x0)break;if(_0x304c7<0x0)_0x3387f7++;else{if(!_0x11fd2e['creator']&&_0xe56c01['creator'])break;if(_0xe56c01['creator']||!_0x11fd2e['creator']){if(_0x11fd2e['createdAt']>_0xe56c01['createdAt'])break;_0x3387f7++;}else _0x3387f7++;}}return _0x3387f7;}['setRevisionData'](_0x8f2eb8){const _0x23f03c=this['repository']['getRevision'](_0x8f2eb8['id']);if(_0x8f2eb8['createdAt']&&(_0x8f2eb8['createdAt']=new Date(_0x8f2eb8['createdAt'])),_0x8f2eb8['authorsIds']){const _0x2da1dc=this['editor']['plugins']['get']('Users');_0x8f2eb8['authors']=_0x8f2eb8['authorsIds']['map'](_0x298917=>_0x2da1dc['getUser'](_0x298917));}_0x23f03c['_update'](_0x8f2eb8,!0x0);}['buildRevisionData']({revision:_0x556288=null,from:_0x513bbf=null,to:_0x3ef7dd=null}){_0x513bbf=null!==_0x513bbf?_0x513bbf:_0x556288['fromVersion'],_0x3ef7dd=null!==_0x3ef7dd?_0x3ef7dd:_0x556288['toVersion'];const _0x248ba9=this['_revisionDataBuilder']['getData'](_0x513bbf,_0x3ef7dd),_0x2b1396={'diffData':_0x248ba9['diffData'],'authorsIds':_0x248ba9['authorsIds'],'fromVersion':_0x513bbf,'toVersion':_0x3ef7dd};if(!_0x556288||_0x3ef7dd!==_0x556288['toVersion']){const _0x2c29e3=_0x3ef7dd-0x1,_0xeb38ca=this['_source']['history']['getOperation'](_0x2c29e3);_0x2b1396['createdAt']=_0xeb38ca&&_0xeb38ca['createdAt']||new Date();}if(this['_loadedStateData']&&_0x513bbf===this['_loadedStateData']['fromVersion']){for(const _0x2cfd7c of this['_loadedStateData']['authors'])_0x2b1396['authorsIds']['includes'](_0x2cfd7c['id'])||_0x2b1396['authorsIds']['push'](_0x2cfd7c['id']);}return _0x2b1396;}['_loadRevisionData'](_0x20504f){if(!_0x20504f||_0x20504f['diffData'])return Promise['resolve']();{const _0x23423e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x23423e,'revisionId':_0x20504f['id']})['then'](_0x57771=>{_0x20504f['diffData']=_0x57771['diffData'];});}}['_bufferUpdate'](_0x17df87,_0x1d187b,_0x5a8963){if(this['_bufferedUpdates']['has'](_0x17df87)){const _0x27eb7b=this['_bufferedUpdates']['get'](_0x17df87);_0x1d187b=_0x5a8963?{..._0x27eb7b,..._0x1d187b}:{..._0x1d187b,..._0x27eb7b};}this['_bufferedUpdates']['set'](_0x17df87,_0x1d187b);}['_getFromVersion'](_0x89588b){const _0x5dd320=this['repository']['getRevisions']();_0x5dd320['reverse'](),_0x5dd320['shift']();const _0x353b71=_0x5dd320['find'](_0xa3f5ae=>_0xa3f5ae['toVersion']<=_0x89588b)['toVersion'];return _0x353b71<this['_startingVersion']?this['_startingVersion']:_0x353b71;}['_createInitialRevision'](_0x26d6a9){const _0x344bdd=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x344bdd)this['_initialRevisionId']=_0x344bdd['id'];else{const _0x4f9ba9=!this['editor']['model']['document']['roots']['find'](_0x304174=>this['editor']['model']['hasContent'](_0x304174)),_0x1fd8a4=this['editor']['plugins']['get']('Users')['me']['id'],_0xb92966=y(this['editor']['locale'],_0x4f9ba9?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x26d6a9,'to':_0x26d6a9,'id':this['_initialRevisionId'],'name':_0xb92966,'creatorId':_0x1fd8a4});}}['_createCurrentRevision'](_0x229bd3){const _0x19536c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x19536c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x229bd3,'to':_0x229bd3,'id':_0x19536c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x426984,from:_0x3d1e6d,to:_0x2fd65b,creatorId:_0x458c28,id:_0xfaa0c0}){const _0x4c9987=this['buildRevisionData']({'from':_0x3d1e6d,'to':_0x2fd65b});_0x4c9987['name']=_0x426984,_0x4c9987['creatorId']=_0x458c28,_0x4c9987['id']=_0xfaa0c0;const _0x411f9e=this['addRevisionData'](_0x4c9987);return this['adapter']&&this['_bufferUpdate'](_0x4c9987['id'],_0x4c9987,!0x0),_0x411f9e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1f184){return(_0x1f184=_0x1f184['filter'](_0x20dffb=>!_0x20dffb['name']||'revision-start'!==_0x20dffb['name']&&'revision-end'!==_0x20dffb['name']))['forEach'](_0xcab5ec=>{'string'!=typeof _0xcab5ec&&(_0xcab5ec['children']=this['_removeRevisionMarkers'](_0xcab5ec['children']),_0xcab5ec['attributes']=_0xcab5ec['attributes']['filter'](_0x1ff2cf=>!_0x1ff2cf[0x0]['startsWith']('data-revision-')));}),_0x1f184;}}function B(_0x58dbed,_0x3bcacb){const _0x2ca9c8=_0x3bcacb['editing']['view']['document'];if('string'==typeof _0x58dbed)return new _0x581f68(_0x2ca9c8,_0x58dbed);{const _0x19871a=_0x58dbed['children']['map'](_0x6dc65b=>B(_0x6dc65b,_0x3bcacb));return new(T[_0x58dbed['type']]||_0x3fab72)(_0x2ca9c8,_0x58dbed['name'],_0x58dbed['attributes'],_0x19871a);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x327be6){this['editor']=_0x327be6,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'](_0x5b19fa){this['source']=_0x5b19fa;const _0x412ce1=new Map(),_0x5b1876=new Map(),_0x4e710a=this['editor']['model']['document']['roots']['map'](_0x4c52f5=>_0x4c52f5['rootName']);for(const _0x1966f9 of _0x4e710a){const _0x2081b3=this['editor']['model']['document']['getRoot'](_0x1966f9),_0x33f2c5=q(_0x2081b3);_0x412ce1['set'](_0x1966f9,_0x33f2c5),_0x5b1876['set'](_0x1966f9,Object['fromEntries'](_0x2081b3['getAttributes']()));}const _0x1e713c=Array['from'](this['editor']['model']['markers'])['map'](_0x26d158=>[_0x26d158['name'],_0x26d158['getRange']()]),_0x3d28ca=this['source']['version'];this['_saveMetaData'](_0x3d28ca,_0x412ce1,_0x1e713c,_0x5b1876),this['_startingRevisionId']=this['_revisionId'];const _0x3915f9=new Map(),_0x3ea0a7=new Map();for(const _0x1a7fbb of _0x4e710a){const _0x2f8d6e=G(_0x1a7fbb);_0x3915f9['set'](_0x1a7fbb,_0x2f8d6e),_0x3ea0a7['set'](_0x1a7fbb,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3915f9,[],_0x3ea0a7);}['getData'](_0x5acedf,_0x265319){if(this['_lastFrom']===_0x5acedf&&this['_lastTo']<=_0x265319)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x265319,!0x0);else{if(!this['_savedMetaData']['has'](_0x5acedf)){const _0x3784aa=this['_getPreviousFrom'](_0x5acedf);this['_calculateMetaData'](_0x3784aa,_0x5acedf,!0x1);}this['_calculateMetaData'](_0x5acedf,_0x265319,!0x0);}return this['_lastFrom']=_0x5acedf,this['_lastTo']=_0x265319,this['_getState']();}['loadState'](_0x36dd2e){this['_reset'](),this['_lastFrom']=_0x36dd2e['fromVersion'],this['_lastTo']=_0x36dd2e['toVersion'];for(const _0x40bb9a in _0x36dd2e['diffData']){const _0x582a4d=_0x36dd2e['diffData'][_0x40bb9a]['attachChange'],_0x59993c=_0x52aa76(_0x36dd2e['diffData'][_0x40bb9a]['attributesBefore'])||{},_0x39bbab=this['_makeModelFromViewString'](_0x36dd2e['diffData'][_0x40bb9a]['deletions']);_0x39bbab['rootName']=_0x40bb9a,_0x39bbab['_isAttached']=!_0x582a4d||!_0x582a4d['isAttached'],_0x39bbab['isAttached']=()=>_0x39bbab['_isAttached'],this['_baseRoots']['set'](_0x40bb9a,_0x39bbab),this['_baseRootsAttributes']['set'](_0x40bb9a,_0x59993c),_0x582a4d&&this['_touchedRoots']['set'](_0x40bb9a,_0x582a4d);const _0x3ba23a=this['_makeIdsRoot'](_0x39bbab);this['_baseIdsRoots']['set'](_0x40bb9a,_0x3ba23a);for(const [_0x47f2ea,_0x459038]of _0x39bbab['markers']){if(!_0x47f2ea['startsWith']('revision:'))continue;const _0xd0e78b=_0x47f2ea['split'](':')[0x2];for(const _0x21b029 of _0x459038['getWalker']({'singleCharacters':!0x0})){const _0x450f0f=this['_getVidAttributeName'](_0x21b029),_0x1901b0='elementEnd'==_0x21b029['type']?_0x21b029['previousPosition']['path']['slice'](0x0,-0x1):_0x21b029['previousPosition']['path'],_0x37d920=_0x3ba23a['getNodeByPath'](_0x1901b0)['getAttribute'](_0x450f0f);this['_touched']['set'](_0x37d920,{'userId':_0xd0e78b});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5687d6=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2da3c4=>!this['_touched']['has'](_0x2da3c4));let _0x2ad1cd=0x0;const _0xa11bec=new Map();for(const _0x350c44 in _0x36dd2e['diffData']){const _0x104168=_0x36dd2e['diffData'][_0x350c44]['attachChange'],_0x3fb589=_0x52aa76(_0x36dd2e['diffData'][_0x350c44]['attributesAfter'])||{},_0x58fbd9=this['_makeModelFromViewString'](_0x36dd2e['diffData'][_0x350c44]['insertions']);_0x58fbd9['rootName']=_0x350c44,_0x58fbd9['_isAttached']=!_0x104168||_0x104168['isAttached'],_0x58fbd9['isAttached']=()=>_0x58fbd9['_isAttached'],this['_diffRoots']['set'](_0x350c44,_0x58fbd9),this['_diffRootsAttributes']['set'](_0x350c44,_0x3fb589);const _0x4dd471=this['_makeIdsRoot'](_0x58fbd9,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x350c44,_0x4dd471),_0xa11bec['set'](_0x350c44,_0x58fbd9['isAttached']()?_0x3fb589:{});for(const [_0x52b488,_0x484e1a]of _0x58fbd9['markers']){if(!_0x52b488['startsWith']('revision:'))continue;const _0x3bdf59=_0x52b488['split'](':')[0x2];for(const _0x1cf310 of _0x484e1a['getWalker']({'singleCharacters':!0x0})){const _0x26afc4=this['_getVidAttributeName'](_0x1cf310),_0x1a8075=this['_revisionId']++,_0x418426='elementEnd'==_0x1cf310['type']?_0x1cf310['previousPosition']['path']['slice'](0x0,-0x1):_0x1cf310['previousPosition']['path'];_0x4dd471['getNodeByPath'](_0x418426)['_setAttribute'](_0x26afc4,_0x1a8075),this['_touched']['set'](_0x1a8075,{'userId':_0x3bdf59});}}for(const _0x421ca9 of this['editor']['model']['createRangeIn'](_0x58fbd9)['getWalker']({'singleCharacters':!0x0})){const _0x46b5eb=this['_getVidAttributeName'](_0x421ca9),_0x115787='elementEnd'==_0x421ca9['type']?_0x421ca9['previousPosition']['path']['slice'](0x0,-0x1):_0x421ca9['previousPosition']['path'],_0x171fee=_0x4dd471['getNodeByPath'](_0x115787);_0x171fee['getAttribute'](_0x46b5eb)>0x0||_0x171fee['_setAttribute'](_0x46b5eb,_0x5687d6[_0x2ad1cd++]);}for(const [_0x1c5258,_0x343e39]of _0x58fbd9['markers'])_0x1c5258['startsWith']('revision:')||this['_markers']['set'](_0x1c5258,_0x343e39);}const _0xcf06ea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xcf06ea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xcf06ea,0x1));const _0x5620e2=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x5620e2),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5620e2,0x1));const _0x1a3ce7=Array['from'](this['_diffRoots'])['map'](([_0x3629c1,_0x255c06])=>[_0x3629c1,q(_0x255c06)]);this['_saveMetaData'](this['_lastTo'],_0x1a3ce7,this['_markers'],_0xa11bec);}['_makeModelFromViewString'](_0x562691){const _0x41fbcb=JSON['parse'](_0x562691),_0x171b6a=this['editor']['editing']['view']['document'],_0x243ecb=new _0x1dada5(_0x171b6a,_0x41fbcb['map'](_0x4a8077=>B(_0x4a8077,this['editor'])));return this['editor']['data']['toModel'](_0x243ecb);}['_saveMetaData'](_0x3cb55c,_0xa0b11,_0x14dae9,_0x4a8d47){const _0x16e198=new Map(_0xa0b11),_0x627a74=new Map(_0x52aa76(_0x4a8d47)),_0x3445f2=new Map();for(const [_0x4d1e48,_0x333827]of _0x14dae9)_0x3445f2['set'](_0x4d1e48,{'start':_0x333827['start']['clone'](),'end':_0x333827['end']['clone'](),'rootName':_0x333827['root']['rootName']});this['_savedMetaData']['set'](_0x3cb55c,{'roots':_0x16e198,'markers':_0x3445f2,'rootsAttributes':_0x627a74});}['_removeMetaData'](_0x2e80f9){this['_savedMetaData']['delete'](_0x2e80f9);}['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'](_0x4ac608,_0x4fb082=null){let _0x5e4825=null;_0x4ac608['is']('documentFragment')||(_0x5e4825=new ft(_0x4ac608['name'],{'vid_start':null===_0x4fb082?this['_revisionId']++:_0x4fb082++}));const _0x205e43=[];for(const _0x195849 of _0x4ac608['getChildren']())if(_0x195849['is']('element')){_0x205e43['push'](this['_makeIdsRoot'](_0x195849,_0x4fb082));const _0x103aab=_0x205e43[_0x205e43['length']-0x1];null!==_0x4fb082&&(_0x4fb082=_0x103aab['is']('element','$text')?_0x103aab['getAttribute']('vid')+0x1:_0x103aab['getAttribute']('vid_end')+0x1);}else{for(let _0x23335b=0x0;_0x23335b<_0x195849['offsetSize'];_0x23335b++)_0x205e43['push'](new ft('$text',{'vid':null===_0x4fb082?this['_revisionId']++:_0x4fb082++}));}if(_0x4ac608['is']('documentFragment')){const _0x5678c2=G(_0x4ac608['rootName']);return _0x5678c2['_insertChild'](0x0,_0x205e43),_0x5678c2;}return _0x5e4825['_setAttribute']('vid_end',null===_0x4fb082?this['_revisionId']++:_0x4fb082++),_0x5e4825['_insertChild'](0x0,_0x205e43),_0x5e4825;}['_calculateMetaData'](_0xfb909f,_0x5cda11,_0x15f4f6){this['_reset']();const {roots:_0x50e8cd,markers:_0x548020,rootsAttributes:_0x302e74}=this['_savedMetaData']['get'](_0xfb909f);this['_baseRoots']=new Map(_0x50e8cd),this['_baseRootsAttributes']=new Map(_0x52aa76(_0x302e74));for(const [_0x464a69,_0x9380b3]of this['_baseRoots'])if('$graveyard'!==_0x464a69&&(this['_diffRoots']['set'](_0x464a69,q(_0x9380b3)),this['_diffRootsAttributes']=new Map(_0x52aa76(_0x302e74)),_0x15f4f6)){const _0x4b1a9c=this['_revisionId'];this['_idsRoots']['set'](_0x464a69,this['_makeIdsRoot'](_0x9380b3)),this['_baseIdsRoots']['set'](_0x464a69,this['_makeIdsRoot'](_0x9380b3,_0x4b1a9c));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x15f4f6&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x27496b,_0x23fae1]of _0x548020){const _0x2d5f35=this['_baseRoots']['get'](_0x23fae1['rootName']),_0x9ea47a=this['_diffRoots']['get'](_0x23fae1['rootName']),_0x4710ab=new vt(this['_fixPosition'](_0x23fae1['start'],_0x2d5f35),this['_fixPosition'](_0x23fae1['end'],_0x2d5f35)),_0x12edca=this['_fixRange'](_0x4710ab,_0x9ea47a);_0x2d5f35['markers']['set'](_0x27496b,_0x4710ab),this['_markers']['set'](_0x27496b,_0x12edca);}this['_applyOperations'](_0xfb909f,_0x5cda11,_0x15f4f6);}['_applyOperations'](_0x1e7576,_0x9f41c8,_0x59470a){for(const _0x51226a of this['source']['getOperations'](_0x1e7576,_0x9f41c8))this['_handleOperation'](_0x51226a,_0x59470a);for(const _0x210b6c of this['_diffRoots']['values']())_0x210b6c['markers']['clear']();for(const [_0x31b5bb,_0x207787]of this['_markers']){this['_diffRoots']['get'](_0x207787['root']['rootName'])['markers']['set'](_0x31b5bb,_0x207787['clone']());}const _0x161320=new Map(),_0x3ea864=new Map();for(const [_0x7c88ce,_0x2f3bd4]of this['_diffRoots'])_0x161320['set'](_0x7c88ce,q(_0x2f3bd4)),_0x3ea864['set'](_0x7c88ce,this['_diffRootsAttributes']['get'](_0x7c88ce));this['_saveMetaData'](_0x9f41c8,_0x161320,this['_markers'],_0x3ea864);}['_getPreviousFrom'](_0x23b600){const _0x2d05e9=Array['from'](this['_savedMetaData']['keys']());_0x2d05e9['sort']((_0x32b948,_0x8945c1)=>_0x32b948-_0x8945c1),_0x2d05e9['reverse']();for(const _0x268868 of _0x2d05e9)if(_0x268868<_0x23b600)return _0x268868;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xaed60e,_0x3c2f1a){const _0x8034ce=Array['from'](_0x3c2f1a['markers'])['map'](([_0x4fa805,_0x42ac1b])=>[_0x4fa805,this['_fixRange'](_0x42ac1b,_0xaed60e)]);_0xaed60e['markers']=new Map(_0x8034ce);}['_transformMarkers'](_0xdb4340){for(const _0xb26a12 of this['_markers']['values']()){const _0x22570c=_0xb26a12['getTransformedByOperation'](_0xdb4340),_0x9b488e=vt['_createFromRanges'](_0x22570c);_0xb26a12['start']=_0x9b488e['start'],_0xb26a12['end']=_0x9b488e['end'];}}['_handleOperation'](_0x125f49,_0x29ce90){if('addRoot'==_0x125f49['type']||'detachRoot'==_0x125f49['type'])return void this['_handleRootOperation'](_0x125f49,_0x29ce90);if('insert'==_0x125f49['type']){const _0x1871e7=_0x125f49['position']['root']['rootName'];this['_diffRoots']['has'](_0x1871e7)||(this['_diffRoots']['set'](_0x1871e7,G(_0x1871e7,!0x0)),this['_diffRootsAttributes']['set'](_0x1871e7,{}),_0x29ce90&&this['_idsRoots']['set'](_0x1871e7,G(_0x1871e7,!0x0)));}else{if('addRootAttribute'==_0x125f49['type']||'removeRootAttribute'==_0x125f49['type']||'changeRootAttribute'==_0x125f49['type'])return void this['_handleRootAttributeOperation'](_0x125f49);}const _0x3ab357=this['_cloneOperation'](_0x125f49,this['_diffRoots']);if('marker'!==_0x125f49['type']&&(_0x3ab357['_execute'](),this['_transformMarkers'](_0x3ab357)),_0x29ce90)switch(_0x3ab357['type']){case'insert':this['_handleInsertOperation'](_0x125f49);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x125f49);break;case'merge':this['_handleMergeOperation'](_0x125f49);break;case'split':this['_handleSplitOperation'](_0x125f49);break;case'marker':this['_handleMarkerOperation'](_0x125f49);}}['_cloneOperation'](_0x14acb8,_0x4550ea){const _0x561813=_0x14acb8['clone']();return _0x561813['_authorId']=_0x14acb8['_authorId'],this['_fixOperation'](_0x561813,_0x4550ea),_0x561813;}['_getBaseVids'](_0x386da4){return _0x386da4['map'](_0x1e5696=>{const _0x2e326a=this['_getVidAttributeName'](_0x1e5696);return Number(_0x1e5696['item']['getAttribute'](_0x2e326a));});}['_generateTape'](_0x4e428e,_0x5dfc14){if(_0x4e428e['is']('element','$text'))_0x5dfc14['push']({'item':_0x4e428e,'type':'text'});else{_0x4e428e['is']('element')&&_0x5dfc14['push']({'item':_0x4e428e,'type':'elementStart'});for(const _0x151cb4 of _0x4e428e['getChildren']())this['_generateTape'](_0x151cb4,_0x5dfc14);_0x4e428e['is']('element')&&_0x5dfc14['push']({'item':_0x4e428e,'type':'elementEnd'});}return _0x5dfc14;}['_getState'](){const _0x181a02=new Map(this['_touched']),_0x5397eb=new Map(_0x181a02),_0x28bf0e=new Map(),_0x362fe8={'insertions':{},'deletions':{}},_0x3d8f03={'insertions':{},'deletions':{}},_0x33ea0a=new Map(),_0x19df13=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x19df13['delete']('$graveyard');for(const _0x20d6c8 of _0x19df13){const _0x3904ca=this['_diffRoots']['get'](_0x20d6c8)||G(_0x20d6c8,!0x1),_0x5174e1=this['_baseRoots']['get'](_0x20d6c8)||G(_0x20d6c8,!0x1);_0x3904ca['isAttached']()||_0x5174e1['isAttached']()?(_0x362fe8['insertions'][_0x20d6c8]=q(_0x3904ca),_0x362fe8['deletions'][_0x20d6c8]=q(_0x5174e1),this['_copyMarkers'](_0x362fe8['deletions'][_0x20d6c8],_0x5174e1),this['_copyMarkers'](_0x362fe8['insertions'][_0x20d6c8],_0x3904ca),_0x3d8f03['insertions'][_0x20d6c8]=this['_generateTape'](this['_idsRoots']['get'](_0x20d6c8),[]),_0x3d8f03['deletions'][_0x20d6c8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x20d6c8)||G(_0x20d6c8,!0x1),[])):_0x19df13['delete'](_0x20d6c8);}for(const _0x4cb740 of _0x19df13){const _0x10e6ed=_0x3d8f03['insertions'][_0x4cb740];for(const _0x24e35d of _0x10e6ed){const _0x1764c4=this['_getVidAttributeName'](_0x24e35d),_0x294499=_0x24e35d['item']['getAttribute'](_0x1764c4);_0x5397eb['delete'](_0x294499),_0x294499>=this['_startingRevisionId']&&_0x28bf0e['set'](_0x294499,_0x181a02['get'](_0x294499));}}for(const _0x92916 of _0x19df13){const _0x41bd96=_0x3d8f03['insertions'][_0x92916],_0x4eece6=this['_getBaseVids'](_0x3d8f03['deletions'][_0x92916]);let _0x1986f4=0x0;for(const _0x551af9 of _0x41bd96){const _0x30c455=this['_getVidAttributeName'](_0x551af9),_0xb3ea86=_0x551af9['item']['getAttribute'](_0x30c455);if(!_0x28bf0e['has'](_0xb3ea86)&&!_0x33ea0a['has'](_0xb3ea86)){if(_0x5397eb['has'](_0xb3ea86))_0x1986f4++;else{if(_0xb3ea86!=_0x4eece6[_0x1986f4]){const _0x1f3d16=_0x181a02['get'](_0xb3ea86)||_0x181a02['get'](_0x4eece6[_0x1986f4]);for(;_0xb3ea86!=_0x4eece6[_0x1986f4];)_0x5397eb['has'](_0x4eece6[_0x1986f4])||(_0x33ea0a['set'](_0x4eece6[_0x1986f4],_0x1f3d16),_0x181a02['set'](_0x4eece6[_0x1986f4],_0x1f3d16)),_0x1986f4++;}_0x1986f4++;}}}}for(const _0x50e69e of _0x19df13){const _0x20650d=_0x3d8f03['insertions'][_0x50e69e];for(const _0x441f3d of _0x20650d){const _0x5c378c=this['_getVidAttributeName'](_0x441f3d),_0x39a3a9=_0x441f3d['item']['getAttribute'](_0x5c378c);if(_0x33ea0a['has'](_0x39a3a9)){const _0x54a24a=_0x33ea0a['get'](_0x39a3a9);_0x5397eb['has'](_0x39a3a9)||_0x5397eb['set'](_0x39a3a9,{..._0x54a24a}),_0x28bf0e['set'](_0x39a3a9,{..._0x54a24a});}}}for(const _0x58ea16 of _0x5397eb['keys']())_0x58ea16>=this['_startingRevisionId']&&_0x5397eb['delete'](_0x58ea16);const _0x4d7ae3=new Map();for(const _0x2f7850 of _0x19df13){let _0x3cbe79=_0x3d8f03['insertions'][_0x2f7850];for(const _0x10eff2 of _0x3cbe79)if(_0x10eff2['item']['is']('element','tableCell')){const _0xb88cfb=this['_getVidAttributeName'](_0x10eff2),_0x1e4e0a=_0x10eff2['item']['getAttribute'](_0xb88cfb);if(_0x28bf0e['has'](_0x1e4e0a)){const _0xd76cdd=_0x10eff2['item']['parent']['parent']['getAttribute']('vid_start'),_0x39baac=_0x4d7ae3['get'](_0xd76cdd)||new Set();_0x39baac['add'](_0x28bf0e['get'](_0x1e4e0a)['userId']),_0x4d7ae3['set'](_0xd76cdd,_0x39baac);}}_0x3cbe79=_0x3d8f03['deletions'][_0x2f7850];for(const _0x121ae7 of _0x3cbe79)if(_0x121ae7['item']['is']('element','tableCell')){const _0x678814=this['_getVidAttributeName'](_0x121ae7),_0x2d408a=_0x121ae7['item']['getAttribute'](_0x678814);if(_0x5397eb['has'](_0x2d408a)){const _0x2b44ee=_0x121ae7['item']['parent']['parent']['getAttribute']('vid_start'),_0x12452d=_0x4d7ae3['get'](_0x2b44ee)||new Set();_0x12452d['add'](_0x5397eb['get'](_0x2d408a)['userId']),_0x4d7ae3['set'](_0x2b44ee,_0x12452d);}}for(const _0x3dd3e2 of _0x4d7ae3['keys']())(_0x28bf0e['has'](_0x3dd3e2)||_0x5397eb['has'](_0x3dd3e2))&&_0x4d7ae3['delete'](_0x3dd3e2);}for(const _0x27a181 of _0x19df13){const _0x1d1bc3=_0x3d8f03['insertions'][_0x27a181];let _0x37d0ae=null,_0x2c20e3=null;for(const _0x407269 of _0x1d1bc3){const _0x1868f3=this['_getVidAttributeName'](_0x407269),_0x33543e=_0x407269['item']['getAttribute'](_0x1868f3),_0x4031d3=_0x4d7ae3['get'](_0x33543e);_0x4031d3&&'elementStart'==_0x407269['type']&&(_0x37d0ae=Array['from'](_0x4031d3)[0x0],_0x2c20e3=_0x407269['item']['getAttribute']('vid_end')),_0x37d0ae&&(_0x5397eb['set'](_0x33543e,{'userId':_0x37d0ae}),_0x28bf0e['set'](_0x33543e,{'userId':_0x37d0ae})),_0x33543e==_0x2c20e3&&(_0x37d0ae=null,_0x2c20e3=null);}}const _0x57a6b0={},_0x468d2a=new Set();for(const _0x21aff6 of _0x19df13){const _0x57112d=_0x362fe8['deletions'][_0x21aff6],_0x16d515=_0x362fe8['insertions'][_0x21aff6];for(const {userId:_0x12356f}of this['_touchedMarkers']['values']())null!==_0x12356f&&_0x468d2a['add'](_0x12356f);for(const {userId:_0x97d0fb}of this['_touchedRoots']['values']())null!==_0x97d0fb&&_0x468d2a['add'](_0x97d0fb);this['_markChanges'](_0x16d515,_0x3d8f03['insertions'][_0x21aff6],_0x28bf0e,'insertion',_0x468d2a),this['_markChanges'](_0x57112d,_0x3d8f03['deletions'][_0x21aff6],_0x5397eb,'deletion',_0x468d2a),_0x57a6b0[_0x21aff6]={'insertions':this['_prepareViewToSave'](_0x16d515),'deletions':this['_prepareViewToSave'](_0x57112d),'attachChange':this['_touchedRoots']['get'](_0x21aff6)||null,'attributesBefore':_0x52aa76(this['_baseRootsAttributes']['get'](_0x21aff6))||{},'attributesAfter':_0x52aa76(this['_diffRootsAttributes']['get'](_0x21aff6))};}return{'diffData':_0x57a6b0,'authorsIds':Array['from'](_0x468d2a)};}['_processRootBeforeSave'](_0x35dd06){for(const [,_0x4c829d]of _0x35dd06['markers']){const _0xfddbe6=_0x4c829d['start']['getAncestors']()['filter'](_0x3936f3=>'tableCell'==_0x3936f3['name']);for(const _0x35bf8e of _0xfddbe6)0x1==_0x35bf8e['childCount']&&_0x35bf8e['getChild'](0x0)['is']('element','paragraph')&&_0x35bf8e['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x491920){this['_processRootBeforeSave'](_0x491920);const _0x4960b7=this['editor']['data']['toView'](_0x491920,{}),_0x3cf39d=Array['from'](_0x4960b7['getChildren']())['map'](_0x19e766=>this['_getViewJson'](_0x19e766));return JSON['stringify'](_0x3cf39d);}['_getViewJson'](_0x4744c0){if(_0x4744c0['is']('$text'))return _0x4744c0['data'];{const _0x31a758=_0x4744c0;return{'type':Object['keys'](T)['find'](_0x68fe3c=>_0x4744c0 instanceof T[_0x68fe3c]),'name':_0x31a758['name'],'attributes':Array['from'](_0x31a758['getAttributes']()),'children':Array['from'](_0x31a758['getChildren']())['map'](_0x6c1852=>this['_getViewJson'](_0x6c1852))};}}['_markChanges'](_0x2a3322,_0x2a411f,_0x189c42,_0x388d3c,_0x130487){let _0x45df50=null,_0x4765ac=null,_0xfee259=0x0;const _0x4f1f19=this['editor']['model'];for(let _0x1a8dda=0x0;_0x1a8dda<_0x2a411f['length'];_0x1a8dda++){const _0x30048c=this['_getVidAttributeName'](_0x2a411f[_0x1a8dda]),_0x52f2d7=_0x2a411f[_0x1a8dda]['item']['getAttribute'](_0x30048c),_0x332730=_0x189c42['get'](_0x52f2d7),_0x1c7545=_0x1a8dda==_0x2a411f['length']-0x1;(!_0x45df50&&_0x332730&&(_0x45df50=_0x332730,_0x4765ac=_0x2a411f[_0x1a8dda]),_0x45df50&&(!_0x332730||_0x332730['userId']!=_0x45df50['userId']))&&(_0x349757(_0x332730,L(_0x4765ac,_0x2a3322,_0x4f1f19),L(_0x2a411f[_0x1a8dda],_0x2a3322,_0x4f1f19)),_0x45df50=_0x332730||null,_0x4765ac=_0x332730?_0x2a411f[_0x1a8dda]:null),_0x45df50&&_0x1c7545&&_0x349757(_0x332730,L(_0x4765ac,_0x2a3322,_0x4f1f19),W(_0x2a411f[_0x1a8dda],_0x2a3322,_0x4f1f19));}function _0x349757(_0x226d45,_0xdca46e,_0x38bbd4){const _0x5f01fc=_0x45df50['userId'],_0x1d3eb3='revision:'+_0x388d3c+':'+_0x5f01fc+':'+_0xfee259++,_0x37171e=_0x4f1f19['createRange'](_0xdca46e,_0x38bbd4);_0x2a3322['markers']['set'](_0x1d3eb3,_0x37171e),null!==_0x5f01fc&&_0x130487['add'](_0x5f01fc);}}['_getVidAttributeName'](_0x4a42f8){switch(_0x4a42f8['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3f021e,_0x238a8b){_0x3f021e['baseVersion']=null;for(const _0x204372 in _0x3f021e){const _0x49615d=_0x3f021e[_0x204372];if(_0x49615d instanceof gt){const _0x56e4b4=_0x238a8b['get'](_0x49615d['root']['rootName']);_0x3f021e[_0x204372]=this['_fixPosition'](_0x49615d,_0x56e4b4);}if(_0x49615d instanceof vt){const _0x3f7ca7=_0x238a8b['get'](_0x49615d['root']['rootName']);_0x3f021e[_0x204372]=this['_fixRange'](_0x49615d,_0x3f7ca7);}'root'===_0x204372&&(_0x3f021e['root']=_0x238a8b['get'](_0x3f021e['root']['rootName']));}}['_fixRange'](_0x448e6a,_0x442cd6){return this['editor']['model']['createRange'](this['_fixPosition'](_0x448e6a['start'],_0x442cd6),this['_fixPosition'](_0x448e6a['end'],_0x442cd6));}['_fixPosition'](_0x2a7852,_0x4ecdc8){return this['editor']['model']['createPositionFromPath'](_0x4ecdc8,_0x2a7852['path'],_0x2a7852['stickiness']);}['_handleInsertOperation'](_0x5c9922){const _0x3cce5c=this['_idsRoots']['get'](_0x5c9922['position']['root']['rootName']),_0x2e819e=this['_fixPosition'](_0x5c9922['position'],_0x3cce5c),_0x298772=null===_0x5c9922['_authorId']?null:_0x5c9922['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1eba4b=_0x2e819e['parent'],_0x298204=this['_revisionId'],_0x3c44d8=[];for(const _0x4f0b4b of _0x5c9922['nodes'])if(_0x4f0b4b['is']('element'))_0x3c44d8['push'](this['_makeIdsRoot'](_0x4f0b4b));else{for(let _0x570316=0x0;_0x570316<_0x4f0b4b['offsetSize'];_0x570316++)_0x3c44d8['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4611e4=this['_revisionId'];for(let _0x1620c3=_0x298204;_0x1620c3<_0x4611e4;_0x1620c3++)this['_touched']['set'](_0x1620c3,{'userId':_0x298772});_0x1eba4b['_insertChild'](_0x2e819e['offset'],_0x3c44d8);}['_handleMoveOperation'](_0x3f01fe){(_0x3f01fe=this['_cloneOperation'](_0x3f01fe,this['_idsRoots']))['_execute']();const _0x404cf3=null===_0x3f01fe['_authorId']?null:_0x3f01fe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x979ff1=_0x3f01fe['getMovedRangeStart'](),_0x4b8f1e=_0x979ff1['parent'],_0x3df59e=_0x979ff1['offset'];!function _0x5c2bf5(_0x34c726,_0x54e826,_0x20bd0a,_0x464675){for(let _0x2f6754=_0x20bd0a;_0x2f6754<_0x464675;_0x2f6754++){const _0x59eac4=_0x54e826['getChild'](_0x2f6754);_0x59eac4['is']('element','$text')?_0x34c726['set'](_0x59eac4['getAttribute']('vid'),{'userId':_0x404cf3}):(_0x34c726['set'](_0x59eac4['getAttribute']('vid_start'),{'userId':_0x404cf3}),_0x5c2bf5(_0x34c726,_0x59eac4,0x0,_0x59eac4['childCount']),_0x34c726['set'](_0x59eac4['getAttribute']('vid_end'),{'userId':_0x404cf3}));}}(this['_touched'],_0x4b8f1e,_0x3df59e,_0x3df59e+_0x3f01fe['howMany']);}['_handleMergeOperation'](_0x59581){const _0x14ae31=null===(_0x59581=this['_cloneOperation'](_0x59581,this['_idsRoots']))['_authorId']?null:_0x59581['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5dad81=_0x59581['targetPosition']['parent'],_0xa78f4=_0x59581['sourcePosition']['parent'],_0x46fe82=_0x5dad81['getAttribute']('vid_end'),_0x3817c3=_0xa78f4['getAttribute']('vid_start');_0x5dad81['_setAttribute']('vid_end',_0xa78f4['getAttribute']('vid_end')),_0xa78f4['_setAttribute']('vid_end',_0x46fe82),this['_touched']['set'](_0x3817c3,{'userId':_0x14ae31}),this['_touched']['set'](_0x46fe82,{'userId':_0x14ae31}),_0x59581['_execute']();}['_handleSplitOperation'](_0xd32d4e){const _0x5d5977=null===(_0xd32d4e=this['_cloneOperation'](_0xd32d4e,this['_idsRoots']))['_authorId']?null:_0xd32d4e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x34e377=_0xd32d4e['graveyardPosition'],_0x534d21=_0xd32d4e['splitPosition']['parent'];_0xd32d4e['_execute']();const _0x1958dd=_0x534d21['getAttribute']('vid_end'),_0x33ec37=_0xd32d4e['insertionPosition']['nodeAfter'];if(_0x34e377){const _0x2cc248=_0x33ec37['getAttribute']('vid_end'),_0x2565ca=_0x534d21['getAttribute']('vid_end');_0x534d21['_setAttribute']('vid_end',_0x2cc248),_0x33ec37['_setAttribute']('vid_end',_0x2565ca),this['_touched']['set'](_0x534d21['getAttribute']('vid_end'),{'userId':_0x5d5977}),this['_touched']['set'](_0x33ec37['getAttribute']('vid_start'),{'userId':_0x5d5977});}else{const _0x3b7a88=this['_revisionId']++,_0x4b1277=this['_revisionId']++;_0x534d21['_setAttribute']('vid_end',_0x3b7a88),_0x33ec37['_setAttribute']('vid_start',_0x4b1277),_0x33ec37['_setAttribute']('vid_end',_0x1958dd),this['_touched']['set'](_0x3b7a88,{'userId':_0x5d5977}),this['_touched']['set'](_0x4b1277,{'userId':_0x5d5977});}}['_handleMarkerOperation'](_0x49b0b1){if(!_0x49b0b1['affectsData'])return;const _0x4e1d36=(_0x49b0b1=this['_cloneOperation'](_0x49b0b1,this['_diffRoots']))['oldRange']?_0x49b0b1['oldRange']['root']:null,_0x4a8312=_0x49b0b1['newRange']?_0x49b0b1['newRange']['root']:null;_0x4e1d36&&this['_markers']['delete'](_0x49b0b1['name']),_0x4a8312&&this['_markers']['set'](_0x49b0b1['name'],_0x49b0b1['newRange']['clone']());const _0x309045=null===_0x49b0b1['_authorId']?null:_0x49b0b1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25fa37=_0x49b0b1['name'];if(!this['_touchedMarkers']['has'](_0x25fa37))return void this['_touchedMarkers']['set'](_0x25fa37,{'range':_0x49b0b1['oldRange'],'userId':_0x309045});const _0x19c4fc=this['_touchedMarkers']['get'](_0x25fa37),_0x328b72=_0x19c4fc['range'],_0x15e1c4=_0x49b0b1['newRange'];null==_0x328b72&&null==_0x15e1c4||_0x328b72&&_0x15e1c4&&_0x328b72['isEqual'](_0x15e1c4)?this['_touchedMarkers']['delete'](_0x49b0b1['name']):_0x19c4fc['userId']=_0x309045;}['_handleRootOperation'](_0x39e5c0,_0x42d2ca){this['_diffRoots']['has'](_0x39e5c0['rootName'])?this['_diffRoots']['get'](_0x39e5c0['rootName'])['_isAttached']=_0x39e5c0['isAdd']:(this['_diffRoots']['set'](_0x39e5c0['rootName'],G(_0x39e5c0['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x39e5c0['rootName'],{}),_0x42d2ca&&this['_idsRoots']['set'](_0x39e5c0['rootName'],G(_0x39e5c0['rootName'],!0x0)));const _0x3aef75=null===_0x39e5c0['_authorId']?null:_0x39e5c0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x336b55=this['_touchedRoots']['get'](_0x39e5c0['rootName']);_0x336b55&&_0x336b55['userId']===_0x3aef75?this['_touchedRoots']['delete'](_0x39e5c0['rootName']):this['_touchedRoots']['set'](_0x39e5c0['rootName'],{'userId':_0x3aef75,'isAttached':_0x39e5c0['isAdd']});}['_handleRootAttributeOperation'](_0x3262a4){const _0x874c9a=this['_diffRootsAttributes']['get'](_0x3262a4['root']['rootName']);null===_0x3262a4['newValue']?delete _0x874c9a[_0x3262a4['key']]:_0x874c9a[_0x3262a4['key']]=_0x3262a4['newValue'];}}function q(_0xe77880){const _0xda5119=G(_0xe77880['rootName'],_0xe77880['isAttached']());for(const _0x5a7870 of _0xe77880['getChildren']()){const _0x502e43=_0x5a7870['_clone'](!0x0);_0xda5119['_appendChild'](_0x502e43);}return _0xda5119;}function G(_0x45e539,_0x5258b3=!0x0){const _0x1e3118=new wt();return _0x1e3118['rootName']=_0x45e539,_0x1e3118['_isAttached']=_0x5258b3,_0x1e3118['isAttached']=()=>_0x1e3118['_isAttached'],_0x1e3118;}function L(_0x497deb,_0x242e71,_0x5403a3){const _0x3f3b22='elementEnd'==_0x497deb['type']?_0x5403a3['createPositionAt'](_0x497deb['item'],'end'):_0x5403a3['createPositionBefore'](_0x497deb['item']);return _0x5403a3['createPositionFromPath'](_0x242e71,_0x3f3b22['path'],_0x3f3b22['stickiness']);}function W(_0x484514,_0x4f2787,_0x46cffa){const _0x332e35='elementStart'==_0x484514['type']?_0x46cffa['createPositionAt'](_0x484514['item'],0x0):_0x46cffa['createPositionAfter'](_0x484514['item']);return _0x46cffa['createPositionFromPath'](_0x4f2787,_0x332e35['path'],_0x332e35['stickiness']);}class ns extends _0x4386d0{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xd415fc,_0x52d178){super(_0xd415fc),this['focusTracker']=new _0xfd2b8(),this['keystrokes']=new _0x1f4e29(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x52d178),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'](),_0x4b9db6({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x6b85c6=_0x138f81=>_0x138f81['stopPropagation']();this['keystrokes']['set']('arrowright',_0x6b85c6),this['keystrokes']['set']('arrowleft',_0x6b85c6),this['keystrokes']['set']('arrowup',_0x6b85c6),this['keystrokes']['set']('arrowdown',_0x6b85c6);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x841a7f){this['revisionNameInputView']['fieldView']['element']['value']=_0x841a7f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x18fd67){const _0x2840b4=new at(this['locale'],_0x290eaf),_0x390731=_0x2840b4['fieldView'];_0x390731['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x19fa45=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x18fd67&&(_0x19fa45+='\x20('+y(this['locale'],'optional')+')'),(_0x2840b4['label']=_0x19fa45,_0x390731['on']('input',()=>{this['revisionNameInputValue']=_0x390731['element']['value']['trim']();}),_0x2840b4);}}class u extends _0x1c34ab{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x261882=this['editor'],_0x491af0=_0x261882['plugins']['get']('RevisionTracker');_0x261882['ui']['componentFactory']['add']('revisionHistory',_0x34250e=>{const _0x33e95d=_0xf92d7f(_0x34250e),_0x1143e6=_0x33e95d['panelView']['children'],_0x5747f0=new te(_0x34250e),_0x57fd49=new _0x5db922(_0x34250e),_0x5d104b=new _0x409be8(_0x34250e),_0x3ae31c=new _0x5db922(_0x34250e),_0x40c005=new _0x409be8(_0x34250e);return _0x33e95d['bind']('isEnabled')['to'](_0x491af0,'isReady',_0x491af0,'isEnabled',_0x261882,'isReadOnly',(_0x3e8e38,_0x1226f5,_0x52f6c7)=>_0x3e8e38&&_0x1226f5&&!_0x52f6c7),_0x33e95d['buttonView']['set']({'icon':_0x52b2e0['history'],'label':y(_0x34250e,'Revision\x20history'),'tooltip':!0x0}),_0x5d104b['set']({'label':y(_0x34250e,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x5d104b['bind']('isEnabled')['to'](_0x491af0,'isReady',_0x491af0,'isEnabled',_0x261882,'isReadOnly',(_0x1ce654,_0x3d543c,_0x85b7bc)=>_0x1ce654&&_0x3d543c&&!_0x85b7bc),_0x5d104b['on']('execute',()=>this['_showDialog']()),_0x40c005['set']({'label':y(_0x34250e,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x40c005['bind']('isEnabled')['to'](_0x491af0,'isReady',_0x261882,'isReadOnly',(_0x2f75ee,_0x3be52a)=>_0x2f75ee&&!_0x3be52a),_0x40c005['on']('execute',()=>{_0x261882['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x33e95d['isOpen']=!0x1,_0x261882['editing']['view']['focus']();}),_0x57fd49['children']['add'](_0x5d104b),_0x3ae31c['children']['add'](_0x40c005),_0x5747f0['role']='menu',_0x5747f0['items']['addMany']([_0x57fd49,_0x3ae31c]),_0x1143e6['add'](_0x5747f0),_0x33e95d;}),_0x261882['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x162ce8=this['editor'],_0x2cfbb8=_0x162ce8['locale'],_0x512a44=new _0x12b79b(_0x2cfbb8),_0x217f0b=new _0x2ae584(_0x2cfbb8);_0x512a44['buttonView']['set']({'icon':_0x52b2e0['history'],'label':y(_0x2cfbb8,'Revision\x20history')});const _0x378931=new _0x4abaa4(_0x2cfbb8,_0x512a44),_0x988230=new _0x1ef14d(_0x2cfbb8);_0x988230['set']({'label':y(_0x2cfbb8,'Save\x20current\x20revision')}),_0x988230['delegate']('execute')['to'](_0x512a44),_0x988230['on']('execute',()=>{this['_showDialog']();}),_0x378931['children']['add'](_0x988230),_0x217f0b['items']['add'](_0x378931);const _0x38939a=new _0x4abaa4(_0x2cfbb8,_0x512a44),_0x5cf74d=new _0x1ef14d(_0x2cfbb8);return _0x5cf74d['set']({'label':y(_0x2cfbb8,'Open\x20revision\x20history')}),_0x5cf74d['delegate']('execute')['to'](_0x512a44),_0x5cf74d['on']('execute',()=>{_0x162ce8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x38939a['children']['add'](_0x5cf74d),_0x217f0b['items']['add'](_0x38939a),_0x512a44['panelView']['children']['add'](_0x217f0b),_0x512a44;}['_showDialog'](){const _0x5ddd7d=this['editor'],_0xe3e538=_0x5ddd7d['locale'],t=_0xe3e538['t'],_0x3a8454=_0x5ddd7d['plugins']['get']('Dialog'),_0x3b6184=_0x5ddd7d['plugins']['get']('RevisionTracker');function _0x1ee6f6(_0xa0c956){_0x5ddd7d['config']['get']('revisionHistory.requireRevisionName')&&''===_0xa0c956['revisionName']?_0xa0c956['revisionNameInputView']['errorText']=y(_0xe3e538,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5ddd7d['plugins']['get'](l)['saveRevision']({'name':_0xa0c956['revisionName']}),_0x3a8454['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1ee6f6(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3a8454['show']({'id':'findAndReplace','title':y(_0xe3e538,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3a8454['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x420520){_0x420520['bind']('isEnabled')['to'](_0x3b6184,'isReady',_0x3b6184,'isEnabled',_0x5ddd7d,'isReadOnly',(_0xf40228,_0x5ba9cd,_0xeeafa4)=>_0xf40228&&_0x5ba9cd&&!_0xeeafa4);},'onExecute':()=>_0x1ee6f6(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2d687a=this['editor'],_0x4a2af5=_0x2d687a['locale'];this['_saveRevisionFormView']=new ns(_0x4a2af5,_0x2d687a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4386d0{['changeId'];['_model'];constructor(_0x2133a6,_0xcc1cc1){super(_0x2133a6),this['_model']=_0xcc1cc1,this['changeId']=_0xcc1cc1['id'];const _0x78b16d=this['bindTemplate'],_0x2beb04=y(_0x2133a6,_0xcc1cc1['data']['isSuggestion']?'Suggested\x20by':'add'==_0xcc1cc1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0xcc1cc1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x78b16d['to']('type',_0x1cf477=>'ck-revision-change__'+_0x1cf477)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2beb04}]},{'text':'\x20'+_0xcc1cc1['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x183f98(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x455560){super(),this['id']=_0x455560['id']||_0x5b7c8e(),this['author']=_0x455560['author'],this['type']=_0x455560['type'],this['data']=_0x455560['data']||{},this['rootName']=_0x455560['rootName'],this['set']('createdAt',_0x455560['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(_0x27ded6,_0x12f617){this['newRevisionId']=_0x27ded6,this['oldRevisionId']=_0x12f617,this['changes']=new _0x56c8ef();}['_setChanges'](_0x110c01){for(const _0x3d6518 of _0x110c01)this['changes']['add'](_0x3d6518);}}const tt={'c':_0x57fb68,'a':_0xa02c8b,'e':_0x16cd23,'r':_0x50bc36,'u':_0x12cefa};class d extends _0x1c34ab{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2d6933,_0x6a1490,A];}constructor(_0x3a7568){super(_0x3a7568),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',(_0x2fa715,_0x3a3e72,_0x60184a)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x16fb05=>{for(const _0x512375 of this['editor']['editing']['view']['document']['roots'])_0x60184a?_0x16fb05['removeClass']('ck-editor__editable__overlay',_0x512375):_0x16fb05['addClass']('ck-editor__editable__overlay',_0x512375);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x28bd45=>null!==_0x28bd45),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2c0785,_0x3a1412,_0x50657b)=>_0x2c0785&&_0x50657b?_0x3a1412['changes']['getIndex'](_0x50657b):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4e833f,_0x1571ee)=>_0x4e833f?_0x1571ee['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x6a1490);}['init'](){const _0x1e965f=this['editor'],_0x1bd234=new yt(_0x1e965f,{'direction':'backward'}),_0x26191d=new yt(_0x1e965f,{'direction':'forward'});(_0x1e965f['commands']['add']('showPreviousChange',_0x1bd234),_0x1e965f['commands']['add']('showNextChange',_0x26191d),_0x1e965f['commands']['add']('restoreRevision',new bt(_0x1e965f)),this['on']('change:numberOfChanges',()=>{_0x1bd234['refresh'](),_0x26191d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1e965f['enableReadOnlyMode']('revision-viewer'),_0x1e965f['plugins']['has']('WidgetToolbarRepository'))&&_0x1e965f['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x107274){await this['loadRevisionData'](_0x107274);const _0x2999df={};for(const _0x524ced in _0x107274['diffData']){if(_0x107274['diffData'][_0x524ced]['attachChange']&&!_0x107274['diffData'][_0x524ced]['attachChange']['isAttached'])continue;const _0x58e2e5=this['_removeRevisionMarkers'](JSON['parse'](_0x107274['diffData'][_0x524ced]['insertions'])),_0x3ed001=this['editor']['editing']['view']['document'],_0x6c5b63=new _0x1dada5(_0x3ed001,_0x58e2e5['map'](_0x33c6f6=>this['_getViewObj'](_0x33c6f6)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2999df[_0x524ced]=this['editor']['data']['processor']['toData'](_0x6c5b63),this['editor']['data']['processor']['useFillerType']('default');}return _0x2999df;}async['getRevisionRootsAttributes'](_0x59ec8d){await this['loadRevisionData'](_0x59ec8d);const _0x1fbf13={};for(const _0x5b4fa7 in _0x59ec8d['diffData'])_0x59ec8d['diffData'][_0x5b4fa7]['attachChange']&&!_0x59ec8d['diffData'][_0x5b4fa7]['attachChange']['isAttached']||(_0x1fbf13[_0x5b4fa7]=_0x59ec8d['diffData'][_0x5b4fa7]['attributesAfter']||{});return _0x1fbf13;}['_removeRevisionMarkers'](_0x5cb7e6){return(_0x5cb7e6=_0x5cb7e6['filter'](_0x169b66=>!_0x169b66['name']||'revision-start'!==_0x169b66['name']&&'revision-end'!==_0x169b66['name']))['forEach'](_0xfea71f=>{'string'!=typeof _0xfea71f&&(_0xfea71f['children']=this['_removeRevisionMarkers'](_0xfea71f['children']),_0xfea71f['attributes']=_0xfea71f['attributes']['filter'](_0x2d8ab5=>!_0x2d8ab5[0x0]['startsWith']('data-revision-')));}),_0x5cb7e6;}async['compare'](_0x2bbf0b,_0x389aea,_0x5589d8=!0x1){if(!this['isEnabled'])return;const _0x576d05=this['diff'],_0xcedd24=this['repository'],_0x268967='string'==typeof _0x2bbf0b?_0xcedd24['getRevision'](_0x2bbf0b):_0x2bbf0b,_0x3c5c20='string'==typeof _0x389aea?_0xcedd24['getRevision'](_0x389aea):_0x389aea,_0x5a6e33=_0x268967['id'],_0x41c722=_0x3c5c20?_0x3c5c20['id']:null;if(!_0x5589d8&&this['diff']&&this['diff']['newRevisionId']===_0x5a6e33&&this['diff']['oldRevisionId']===_0x41c722)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5a6e33,_0x41c722);const _0x6129d9=this['_getRevisionsRange'](_0x268967,_0x3c5c20,!0x0)['map'](_0x3b1f90=>this['loadRevisionData'](_0x3b1f90));return _0x6129d9['push'](new Promise(_0x22da18=>{setTimeout(_0x22da18,0x14);})),Promise['all'](_0x6129d9)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3b325c=this['_getDiff'](_0x5a6e33,_0x41c722);for(const _0x836113 of _0x3b325c['changes'])this['_changeIdToChange']['set'](_0x836113['id'],_0x836113);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x798918=>{for(const _0x5209fd of this['editor']['model']['document']['getRootNames']())_0x798918['detachRoot'](_0x5209fd);for(const _0x28bdbf of Object['keys'](_0x3b325c['model'])){const _0x6b871=_0x798918['addRoot'](_0x28bdbf);for(const _0x971c72 of Object['keys'](_0x3b325c['attributes'][_0x28bdbf]))_0x798918['setAttribute'](_0x971c72,_0x3b325c['attributes'][_0x28bdbf][_0x971c72],_0x6b871);_0x798918['insert'](_0x3b325c['model'][_0x28bdbf],_0x6b871,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3b325c['changes'])),this['isReady']=!0x0;})['catch'](_0x2a7b1c=>{console['error'](_0x2a7b1c),this['_cleanUp'](),_0x576d05&&(this['diff']=_0x576d05),this['isReady']=!0x0;});}['addRevisionData'](_0x5f08fa,_0x3c5ff0){const _0x54a7f3=this['repository']['createRevision'](_0x5f08fa);return _0x54a7f3['on']('_update',(_0x57b00f,_0x258f4c,_0x7786d4)=>_0x3c5ff0(_0x258f4c,_0x7786d4,_0x54a7f3)),this['repository']['addRevision'](_0x54a7f3),_0x54a7f3;}['loadRevisionData'](_0x502975){if(!_0x502975||_0x502975['diffData'])return Promise['resolve']();{const _0x3af1c8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3af1c8,'revisionId':_0x502975['id']})['then'](_0x5cb8f9=>{_0x502975['_update']({'diffData':_0x5cb8f9['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},_0x439ee8=>{for(const _0xe941fd of this['editor']['model']['document']['getRootNames']())_0x439ee8['detachRoot'](_0xe941fd);});}['_sortAndFilterDiffChanges'](_0xe7c79d){const _0x3e5138=[],_0x1672be=new Map();for(const _0x4f139b of this['editor']['model']['document']['getRootNames']()){const _0x501035=this['editor']['editing']['view']['getDomRoot'](_0x4f139b);if(!_0x501035)continue;const _0x25559d=_0x501035['getClientRects']()['item'](0x0);_0x25559d&&(_0x3e5138['push'](_0x4f139b),_0x1672be['set'](_0x4f139b,_0x25559d));}return _0x3e5138['sort']((_0x2fac2e,_0x2b9bad)=>{const _0x18127f=_0x1672be['get'](_0x2fac2e),_0x3b6621=_0x1672be['get'](_0x2b9bad);return _0x18127f['y']-_0x3b6621['y']||_0x18127f['x']-_0x3b6621['x'];}),(_0xe7c79d=_0xe7c79d['filter'](_0x1efabb=>_0x3e5138['includes'](_0x1efabb['rootName'])))['sort']((_0x30513a,_0x30f917)=>_0x3e5138['indexOf'](_0x30513a['rootName'])-_0x3e5138['indexOf'](_0x30f917['rootName'])),_0xe7c79d;}['_makeTape'](_0x103787){const _0xd68800=Array['from'](_0x103787['markers'])['filter'](([_0x252ac8,_0x3de0d2])=>_0x252ac8['startsWith']('revision:')&&!_0x3de0d2['isCollapsed']),_0x14bc1a=Array['from'](this['editor']['model']['createRangeIn'](_0x103787)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xd68800['length'])for(const _0x54ad94 of _0x14bc1a){const [_0x5dcc40,_0x5afe9e]=_0xd68800[0x0],[,_0x2b7b0a,_0x1ad4a6]=_0x5dcc40['split'](':');if(_0x5afe9e['end']['isEqual'](_0x54ad94['nextPosition'])&&_0xd68800['shift'](),(_0x54ad94['previousPosition']['isEqual'](_0x5afe9e['start'])||_0x54ad94['previousPosition']['isAfter'](_0x5afe9e['start']))&&('insertion'==_0x2b7b0a?_0x54ad94['isAdded']={'userId':_0x1ad4a6}:'deletion'==_0x2b7b0a&&(_0x54ad94['isRemoved']={'userId':_0x1ad4a6})),0x0==_0xd68800['length'])break;}return _0x14bc1a;}['_refreshStartEndIndex'](_0x391b38){const _0x50c484=new Map();for(let _0x446698=0x0;_0x446698<_0x391b38['length'];_0x446698++)'text'===_0x391b38[_0x446698]['type']?(_0x391b38[_0x446698]['item']['startIndex']=_0x446698,_0x391b38[_0x446698]['item']['endIndex']=_0x446698):('elementStart'===_0x391b38[_0x446698]['type']?_0x391b38[_0x446698]['item']['startIndex']=_0x446698:'elementEnd'===_0x391b38[_0x446698]['type']&&(_0x391b38[_0x446698]['item']['endIndex']=_0x446698),_0x50c484['set'](_0x391b38[_0x446698]['id'],_0x446698));for(const _0x30c343 of _0x50c484['values']())'elementStart'===_0x391b38[_0x30c343]['type']?_0x391b38[_0x30c343]['item']['endIndex']=_0x50c484['get'](_0x391b38[_0x30c343]['pairId']):'elementEnd'===_0x391b38[_0x30c343]['type']&&(_0x391b38[_0x30c343]['item']['startIndex']=_0x50c484['get'](_0x391b38[_0x30c343]['pairId']));}['_processTape'](_0x289a7a){for(let _0x14f3d1=0x0;_0x14f3d1<_0x289a7a['length'];_0x14f3d1++){if('elementStart'===_0x289a7a[_0x14f3d1]['type'])_0x289a7a[_0x14f3d1]['item']['startIndex']=_0x14f3d1;else{if('elementEnd'===_0x289a7a[_0x14f3d1]['type']){_0x289a7a[_0x14f3d1]['item']['endIndex']=_0x14f3d1;const _0x42f385=_0x289a7a[_0x14f3d1]['item']['startIndex'];_0x289a7a[_0x42f385]['pairId']=_0x289a7a[_0x14f3d1]['id'],_0x289a7a[_0x14f3d1]['pairId']=_0x289a7a[_0x42f385]['id'];}else _0x289a7a[_0x14f3d1]['item']['startIndex']=_0x14f3d1,_0x289a7a[_0x14f3d1]['item']['endIndex']=_0x14f3d1,_0x289a7a[_0x14f3d1]['pairId']=null;}_0x289a7a[_0x14f3d1]['markersStart']||(_0x289a7a[_0x14f3d1]['markersStart']=[],_0x289a7a[_0x14f3d1]['markersEnd']=[]);}}['_markInsertions'](_0x40427c,_0x18bb3c){const _0x110c9a=_0x40427c['filter'](_0x42130b=>!_0x42130b['isAdded']);for(let _0xee9414=0x0;_0xee9414<_0x18bb3c['length'];_0xee9414++)_0x18bb3c[_0xee9414]['isAdded']&&(_0x110c9a[_0xee9414]['isAdded']=_0x18bb3c[_0xee9414]['isAdded']);}['_makeModelFromViewString'](_0x139bfa){const _0x23a6c6=JSON['parse'](_0x139bfa),_0x4e3079=this['editor']['editing']['view']['document'],_0x2aa741=new _0x1dada5(_0x4e3079,_0x23a6c6['map'](_0x1158d0=>this['_getViewObj'](_0x1158d0)));return this['editor']['data']['toModel'](_0x2aa741);}['_getViewObj'](_0x433266){const _0xd39085=this['editor']['editing']['view']['document'];if('string'==typeof _0x433266)return new _0x581f68(_0xd39085,_0x433266);{const _0x37e2d2=_0x433266['children']['map'](_0x2b39b4=>this['_getViewObj'](_0x2b39b4));return new(tt[_0x433266['type']]||_0x3fab72)(_0xd39085,_0x433266['name'],_0x433266['attributes'],_0x37e2d2);}}['_getDiff'](_0x1936c1,_0x255922=null){const _0x57bf65=this['repository']['getRevision'](_0x1936c1),_0x7bf06b=_0x255922?this['repository']['getRevision'](_0x255922):null,_0x37471c=this['_getRevisionsRange'](_0x57bf65,_0x7bf06b),_0x414cb9=_0x37471c[_0x37471c['length']-0x1],_0x43bcec=new Map(),_0x8a2972={'model':{},'attributes':{},'changes':[]},_0x29db1d=new Set(),_0x5523d1=new Map();for(let _0x30e6cd=_0x37471c['length']-0x1;_0x30e6cd>=0x0;_0x30e6cd--){const _0x4c7cf7=_0x37471c[_0x30e6cd];for(const _0x13704f of Object['keys'](_0x4c7cf7['diffData']))if(_0x4c7cf7['diffData'][_0x13704f]['attachChange']){const _0x354d80=_0x4c7cf7['diffData'][_0x13704f]['attachChange'];_0x354d80['isAttached']?(_0x29db1d['add'](_0x13704f),_0x5523d1['has'](_0x13704f)&&_0x5523d1['get'](_0x13704f)['userId']==_0x354d80['userId']?_0x5523d1['delete'](_0x13704f):_0x5523d1['set'](_0x13704f,_0x354d80)):_0x5523d1['has'](_0x13704f)?(_0x29db1d['delete'](_0x13704f),_0x5523d1['delete'](_0x13704f)):(_0x29db1d['add'](_0x13704f),_0x5523d1['set'](_0x13704f,_0x354d80));}else _0x29db1d['add'](_0x13704f);}for(const _0x23f896 of _0x29db1d){const _0x3fccfe=_0x5523d1['has'](_0x23f896)&&!_0x5523d1['get'](_0x23f896)['isAttached'];let _0x27200f=_0x3fccfe?_0x37471c['length']-0x1:0x0;const _0x3b24ce=_0x3fccfe?-0x1:0x1;for(;_0x37471c[_0x27200f];){const _0x1e7395=_0x37471c[_0x27200f];if(_0x1e7395['diffData'][_0x23f896]){const _0x5334ab=_0x3fccfe?_0x1e7395['diffData'][_0x23f896]['attributesBefore']:_0x1e7395['diffData'][_0x23f896]['attributesAfter'];_0x8a2972['attributes'][_0x23f896]=_0x5334ab?_0x52aa76(_0x5334ab):{};break;}_0x27200f+=_0x3b24ce;}}for(const _0x43f100 of _0x37471c){_0x43f100['model']={};for(const _0x3729d9 of _0x43f100['authors'])_0x43bcec['set'](_0x3729d9['id'],_0x3729d9);for(const _0x5e69a5 of _0x29db1d){const _0x58b400=_0x43f100['diffData'][_0x5e69a5]?_0x43f100['diffData'][_0x5e69a5]['insertions']:'[]',_0x1c0b78=_0x43f100['diffData'][_0x5e69a5]?_0x43f100['diffData'][_0x5e69a5]['deletions']:'[]';_0x43f100['model'][_0x5e69a5]={'insertions':this['_makeModelFromViewString'](_0x58b400),'deletions':this['_makeModelFromViewString'](_0x1c0b78)};}}for(const _0x41af32 of _0x29db1d){let _0x752ea7=null,_0x30bfac=0x0;const _0x2b8195=new Map(Array['from'](_0x57bf65['model'][_0x41af32]['insertions']['markers'])['filter'](([_0x12eb47])=>!_0x12eb47['startsWith']('revision:')));let _0x10a1cc=0x0;for(const _0x4c820d of _0x37471c){const _0x3d28c7=this['_makeTape'](_0x4c820d['model'][_0x41af32]['insertions']);_0x4c820d==_0x57bf65?(_0x752ea7=_0x3d28c7,_0x30bfac=_0x752ea7['length'],_0x752ea7['forEach'](_0x2863ca=>{_0x2863ca['id']=_0x10a1cc++;}),this['_processTape'](_0x752ea7)):this['_markInsertions'](_0x752ea7,_0x3d28c7);const _0x15dc8a=_0x752ea7['filter'](_0x3bfcf5=>!_0x3bfcf5['isAdded'])['map'](_0x1d34be=>_0x1d34be['id']);let _0x140277=0x0;const _0x5728c1=this['_makeTape'](_0x4c820d['model'][_0x41af32]['deletions']);_0x5728c1['forEach'](_0x127c5f=>{_0x127c5f['isRemoved']?_0x127c5f['id']=_0x30bfac++:_0x127c5f['id']=_0x15dc8a[_0x140277++];}),this['_processTape'](_0x5728c1),this['_setDistance'](_0x752ea7,'isAdded'),this['_setDistance'](_0x5728c1,'isRemoved'),_0x4c820d==_0x57bf65&&this['_markMarkers'](_0x752ea7,_0x2b8195),_0x752ea7=this['_joinTapes'](_0x752ea7,_0x5728c1),this['_refreshStartEndIndex'](_0x752ea7),this['_setDistance'](_0x752ea7,'isRemoved');}_0x752ea7=_0x752ea7['filter'](_0x29c7b8=>!(_0x29c7b8['isAdded']&&_0x29c7b8['isRemoved']));const _0x1a5aa1=new Map(_0x414cb9['model'][_0x41af32]['deletions']['markers']),_0x571f90=new Set(_0x2b8195['keys']());for(const _0x2db52a of _0x1a5aa1['keys']())_0x571f90['delete'](_0x2db52a);this['_markSuggestions'](_0x752ea7,_0x571f90),this['_fixObsoleteTags'](_0x752ea7),_0x752ea7=this['_removeMissingPairs'](_0x752ea7),_0x752ea7=this['_markMismatchedRemovedTags'](_0x752ea7),_0x752ea7=this['_removeUnsupportedChanges'](_0x752ea7);const {root:_0x3aa4af,changes:_0x52edb9}=this['_makeModelFromTape'](_0x752ea7,_0x43bcec,_0x41af32);_0x8a2972['model'][_0x41af32]=_0x3aa4af;const _0x311f8e=_0x5523d1['get'](_0x41af32);if(_0x311f8e){const _0x1241b9=_0x43bcec['get'](_0x311f8e['userId']),_0x20b43e=new r({'author':_0x1241b9,'type':_0x311f8e['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x41af32});_0x52edb9['unshift'](_0x20b43e),_0x8a2972['attributes'][_0x41af32]['revisionHistoryAttachChange']=_0x20b43e['id'];}_0x8a2972['changes']=_0x8a2972['changes']['concat'](_0x52edb9);}return _0x8a2972;}['_markMarkers'](_0xe53aad,_0x10141b){for(let _0x3bd5be=0x0;_0x3bd5be<_0xe53aad['length'];_0x3bd5be++)for(const [_0x173b3c,_0x58816e]of _0x10141b)_0x58816e['start']['isEqual'](_0xe53aad[_0x3bd5be]['previousPosition'])&&_0xe53aad[_0x3bd5be]['markersStart']['push'](_0x173b3c),_0x58816e['end']['isEqual'](_0xe53aad[_0x3bd5be]['nextPosition'])&&_0xe53aad[_0x3bd5be]['markersEnd']['push'](_0x173b3c);}['_joinTapes'](_0x2b8475,_0x272218){let _0x2e43bf=[],_0x2a861e=0x0,_0xfd755=0x0;for(;_0x2a861e<_0x2b8475['length']||_0xfd755<_0x272218['length'];){const _0x3edab1=_0x2b8475[_0x2a861e]||{},_0x282449=_0x272218[_0xfd755]||{};if(_0x3edab1['id']==_0x282449['id'])_0x2a861e++,_0xfd755++,_0x2e43bf['push'](_0x3edab1);else{if(_0x282449['isRemoved']&&_0x3edab1['isAdded']){const {commonTape:_0x3d3e23,iEnd:_0x40be90,jEnd:_0x246c54}=this['_threeWayMerge'](_0x2b8475,_0x2a861e,_0x272218,_0xfd755);_0x2e43bf=_0x2e43bf['concat'](_0x3d3e23),_0x2a861e=_0x40be90,_0xfd755=_0x246c54;}else _0x282449['isRemoved']?(_0xfd755++,_0x2e43bf['push'](_0x282449)):(_0x2a861e++,_0x2e43bf['push'](_0x3edab1));}}return _0x2e43bf;}['_markSuggestions'](_0x53aa4b,_0x134f42){const _0x795d91=[];for(let _0x4c7bb3=0x0;_0x4c7bb3<_0x53aa4b['length'];_0x4c7bb3++){for(let _0x339667=0x0;_0x339667<_0x53aa4b[_0x4c7bb3]['markersStart']['length'];_0x339667++){const _0x24c211=_0x53aa4b[_0x4c7bb3]['markersStart'][_0x339667];if(!_0x134f42['has'](_0x24c211))continue;const {group:_0x401ff3,type:_0x464e91,authorId:_0x164ee0}=_0x29860a(_0x24c211);'revision-suggestion'!=_0x401ff3||'insertion'!=_0x464e91&&'deletion'!=_0x464e91||(_0x795d91['unshift']({'type':_0x464e91,'name':_0x24c211,'userId':_0x164ee0}),_0x53aa4b[_0x4c7bb3]['markersStart']['splice'](_0x339667,0x1),_0x339667--);}_0x2b2a8f(_0x53aa4b[_0x4c7bb3]);for(let _0x10b112=0x0;_0x10b112<_0x53aa4b[_0x4c7bb3]['markersEnd']['length'];_0x10b112++){const _0x26971d=_0x53aa4b[_0x4c7bb3]['markersEnd'][_0x10b112];if(!_0x134f42['has'](_0x26971d))continue;const {group:_0x4cddbe,type:_0x593043}=_0x29860a(_0x26971d);if('revision-suggestion'!=_0x4cddbe||'insertion'!=_0x593043&&'deletion'!=_0x593043)continue;_0x53aa4b[_0x4c7bb3]['markersEnd']['splice'](_0x10b112,0x1),_0x10b112--;const _0x1a43a6=_0x795d91['findIndex'](_0x15eeee=>_0x15eeee['name']==_0x26971d);_0x1a43a6>-0x1&&_0x795d91['splice'](_0x1a43a6,0x1);}}function _0x29860a(_0x64a70){const _0x5d201c=_0x64a70['split'](':');return{'group':_0x5d201c[0x0],'type':_0x5d201c[0x1],'subType':_0x5d201c['length']>=0x5?_0x5d201c[0x2]:null,'id':_0x5d201c['length']<0x5?_0x5d201c[0x2]:_0x5d201c[0x3],'authorId':_0x5d201c['length']<0x5?_0x5d201c[0x3]:_0x5d201c[0x4],'markerCount':0x6==_0x5d201c['length']?_0x5d201c[0x5]:null};}function _0x2b2a8f(_0x3f340a){for(let _0x5ec4a5=0x0;_0x5ec4a5<_0x795d91['length'];_0x5ec4a5++){if(_0x3f340a['isAdded']&&'insertion'==_0x795d91[_0x5ec4a5]['type'])return _0x3f340a['isAddSuggestion']=_0x795d91[_0x5ec4a5],void delete _0x3f340a['isAdded'];if(!_0x3f340a['isAdded']&&!_0x3f340a['isRemoved']&&'deletion'==_0x795d91[_0x5ec4a5]['type'])return void(_0x3f340a['isRemoveSuggestion']=_0x795d91[_0x5ec4a5]);}}}['_setDistance'](_0x2c2b5c,_0x3186c4){let _0x34e54b=0x0,_0x2fb32a=!0x1;const _0x265d11=new Map();for(const _0x4885e9 of _0x2c2b5c)_0x4885e9[_0x3186c4]?_0x2fb32a&&(_0x34e54b++,_0x2fb32a=!0x1):(_0x34e54b++,_0x2fb32a=!0x0),_0x265d11['set'](_0x4885e9['id'],_0x34e54b);for(let _0x375bc5=0x0;_0x375bc5<_0x2c2b5c['length'];_0x375bc5++){if('isRemoved'==_0x3186c4&&_0x2c2b5c[_0x375bc5]['isAdded']||'isAdded'==_0x3186c4&&_0x2c2b5c[_0x375bc5]['isRemoved'])continue;if('text'==_0x2c2b5c[_0x375bc5]['type']){_0x2c2b5c[_0x375bc5]['distance']=0x0;continue;}const _0x6195e=_0x265d11['get'](_0x2c2b5c[_0x375bc5]['pairId']),_0x29aa5a=_0x265d11['get'](_0x2c2b5c[_0x375bc5]['id']);_0x2c2b5c[_0x375bc5]['distance']=_0x6195e-_0x29aa5a;}}['_getRevisionsRange'](_0x36f3c9,_0x2921c0,_0x27872b=!0x1){const _0x2ff9d6=[];let _0x5372ef=this['repository']['getIndex'](_0x36f3c9),_0x32aef3=this['repository']['getIndex'](_0x2921c0);for(-0x1==_0x32aef3&&(_0x32aef3=this['repository']['_revisions']['length'],_0x27872b=!0x1);_0x5372ef<_0x32aef3;)_0x2ff9d6['push'](this['repository']['getRevision'](_0x5372ef)),_0x5372ef++;return _0x27872b&&_0x2ff9d6['push'](this['repository']['getRevision'](_0x5372ef)),_0x2ff9d6;}['_threeWayMerge'](_0x43c766,_0x46b916,_0x597e21,_0x2633b6){const _0x33feef=this['editor']['model']['schema'];let _0x3aad8c=_0x46b916;for(;_0x43c766[_0x3aad8c]&&_0x43c766[_0x3aad8c]['isAdded'];)_0x3aad8c++;let _0x5ab65c=_0x2633b6;for(;_0x597e21[_0x5ab65c]&&_0x597e21[_0x5ab65c]['isRemoved'];)_0x5ab65c++;_0x31b3ae(_0x43c766,_0x46b916,_0x3aad8c),_0x31b3ae(_0x597e21,_0x2633b6,_0x5ab65c);const _0xb940b7=_0x597e21['slice'](_0x2633b6,_0x5ab65c)['concat'](_0x43c766['slice'](_0x46b916,_0x3aad8c));return _0xb940b7['sort']((_0x1e23e0,_0x4201ab)=>_0x1e23e0['side']!=_0x4201ab['side']?_0x1e23e0['side']-_0x4201ab['side']:_0x1e23e0['level']!=_0x4201ab['level']?_0x1e23e0['level']-_0x4201ab['level']:_0x1e23e0['distance']!=_0x4201ab['distance']?_0x4201ab['distance']-_0x1e23e0['distance']:!!_0x1e23e0['isAdded']!=!!_0x4201ab['isAdded']?-0x1==_0x1e23e0['side']||0x0==_0x1e23e0['side']?_0x1e23e0['isAdded']?-0x1:0x1:_0x1e23e0['isAdded']?0x1:-0x1:_0x1e23e0['index']-_0x4201ab['index']),{'commonTape':_0xb940b7,'iEnd':_0x3aad8c,'jEnd':_0x5ab65c};function _0x31b3ae(_0x4e7ed3,_0x52a26d,_0x2cc61c){let _0x5a7985=-0x1,_0x4dd7a3=Number['POSITIVE_INFINITY'],_0x5c5e53=!0x0;for(let _0x42b8be=_0x52a26d;_0x42b8be<_0x2cc61c;_0x42b8be++)if(_0x33feef['isInline'](_0x4e7ed3[_0x42b8be]['item'])||(_0x5c5e53=!0x1),_0x4e7ed3[_0x42b8be]['item']['startIndex']<_0x52a26d&&(_0x5a7985=_0x42b8be),_0x4e7ed3[_0x42b8be]['item']['endIndex']>=_0x2cc61c){_0x4dd7a3=_0x42b8be;break;}_0x5c5e53&&(_0x5a7985=_0x2cc61c-0x1);for(let _0x13bdd4=_0x52a26d;_0x13bdd4<_0x2cc61c;_0x13bdd4++)_0x4e7ed3[_0x13bdd4]['side']=_0x13bdd4<=_0x5a7985?-0x1:_0x13bdd4<_0x4dd7a3?0x0:0x1,_0x4e7ed3[_0x13bdd4]['index']=_0x13bdd4;let _0x27ea7d=0x0;for(let _0x1db694=_0x52a26d;_0x1db694<=_0x5a7985;_0x1db694++)0x0==_0x4e7ed3[_0x1db694]['distance']?_0x4e7ed3[_0x1db694]['level']=_0x27ea7d:(_0x27ea7d++,_0x4e7ed3[_0x1db694]['level']=_0x27ea7d,_0x27ea7d++);for(let _0x2f6cd9=_0x52a26d;_0x2f6cd9<_0x2cc61c;_0x2f6cd9++)0x0==_0x4e7ed3[_0x2f6cd9]['side']&&(_0x4e7ed3[_0x2f6cd9]['level']=_0x27ea7d);_0x27ea7d=0x0;for(let _0xbf63b2=_0x2cc61c-0x1;_0xbf63b2>=_0x4dd7a3;_0xbf63b2--)0x0==_0x4e7ed3[_0xbf63b2]['distance']?_0x4e7ed3[_0xbf63b2]['level']=_0x27ea7d:(_0x27ea7d--,_0x4e7ed3[_0xbf63b2]['level']=_0x27ea7d,_0x27ea7d--);}}['_fixObsoleteTags'](_0x170e36){const _0x2fde13=new Map(),_0x2854f8=this['editor']['model']['schema'];for(let _0x1018ac=0x1;_0x1018ac<_0x170e36['length'];_0x1018ac++){let _0x120b42,_0x559459,_0x2092ab;const _0x4cd59f=_0x170e36[_0x1018ac],_0x34db01=_0x170e36[_0x1018ac-0x1];if('text'==_0x4cd59f['type'])continue;if(_0x4cd59f['type']!=_0x34db01['type'])continue;if(!_0x2854f8['isBlock'](_0x34db01['item'])||_0x2854f8['isLimit'](_0x34db01['item']))continue;if(!_0x2854f8['isBlock'](_0x4cd59f['item'])||_0x2854f8['isLimit'](_0x4cd59f['item']))continue;if((_0x170e36[_0x1018ac]['isAdded']||_0x170e36[_0x1018ac]['isAddSuggestion'])&&_0x170e36[_0x1018ac-0x1]['isRemoved'])_0x120b42=_0x170e36[_0x1018ac],_0x559459=_0x170e36[_0x1018ac-0x1],_0x2092ab=_0x1018ac-0x1;else{if(!_0x170e36[_0x1018ac]['isRemoved']||!_0x170e36[_0x1018ac-0x1]['isAdded']&&!_0x170e36[_0x1018ac-0x1]['isAddSuggestion'])continue;_0x120b42=_0x170e36[_0x1018ac-0x1],_0x559459=_0x170e36[_0x1018ac],_0x2092ab=_0x1018ac;}const _0x15e35b=_0x120b42['level']==_0x559459['level'],_0x20e93a=Math['abs'](_0x120b42['level'])<Math['abs'](_0x559459['level'])&&0x0==_0x559459['distance'];(_0x15e35b||_0x20e93a)&&(_0x2fde13['set'](_0x559459['id'],_0x120b42['id']),_0x170e36['splice'](_0x2092ab,0x1),_0x1018ac--,_0x120b42['isAdded']=!0x1);}for(let _0x1260ad=0x0;_0x1260ad<_0x170e36['length'];_0x1260ad++)_0x2fde13['has'](_0x170e36[_0x1260ad]['pairId'])&&(_0x170e36[_0x1260ad]['pairId']=_0x2fde13['get'](_0x170e36[_0x1260ad]['pairId']));}['_removeMissingPairs'](_0x59c9f5){const _0x4fc449=new Set(_0x59c9f5['map'](_0x36d7dc=>_0x36d7dc['id']));for(let _0x5c94c1=0x0;_0x5c94c1<_0x59c9f5['length'];_0x5c94c1++)_0x4fc449['has'](_0x59c9f5[_0x5c94c1]['pairId'])||0x0==_0x59c9f5[_0x5c94c1]['distance']||(_0x59c9f5[_0x5c94c1]['isIncorrect']=!0x0);return _0x59c9f5['filter'](_0x33a042=>!_0x33a042['isIncorrect']);}['_markMismatchedRemovedTags'](_0x30dfc6){const _0x23deea=new Set();for(let _0x14387c=0x0;_0x14387c<_0x30dfc6['length'];_0x14387c++){if(_0x23deea['has'](_0x30dfc6[_0x14387c]['id'])&&_0x30dfc6[_0x14387c]['isRemoved']&&(_0x30dfc6[_0x14387c]['isIncorrect']=!0x0),_0x30dfc6[_0x14387c]['isIncorrect'])continue;if(0x0==_0x30dfc6[_0x14387c]['distance'])continue;if('elementStart'!=_0x30dfc6[_0x14387c]['type'])continue;if(null==_0x30dfc6[_0x14387c]['pairId'])continue;let _0x3e9f4f=_0x14387c+0x1,_0x11ca03=0x0;for(;_0x30dfc6[_0x3e9f4f]['id']!=_0x30dfc6[_0x14387c]['pairId'];)'elementStart'==_0x30dfc6[_0x3e9f4f]['type']?_0x11ca03++:'elementEnd'==_0x30dfc6[_0x3e9f4f]['type']&&_0x11ca03--,_0x3e9f4f++;if(0x0!=_0x11ca03){if(_0x30dfc6[_0x14387c]['isRemoved'])_0x30dfc6[_0x14387c]['isIncorrect']=!0x0;else{for(;_0x3e9f4f!=_0x14387c;)_0x30dfc6[_0x3e9f4f]['isRemoved']&&0x0!=_0x30dfc6[_0x3e9f4f]['distance']&&(_0x30dfc6[_0x3e9f4f]['isIncorrect']=!0x0,_0x23deea['add'](_0x30dfc6[_0x3e9f4f]['pairId'])),_0x3e9f4f--;}}}return _0x30dfc6['filter'](_0x83431d=>!_0x83431d['isIncorrect']);}['_removeUnsupportedChanges'](_0x4c7b07){const _0x13b44f=this['editor']['model']['schema'];for(let _0x30c7f7=0x0;_0x30c7f7<_0x4c7b07['length'];_0x30c7f7++){if(!(_0x4c7b07[_0x30c7f7]['isAdded']||_0x4c7b07[_0x30c7f7]['isAddSuggestion']||_0x4c7b07[_0x30c7f7]['isRemoved']||_0x4c7b07[_0x30c7f7]['isRemoveSuggestion']))continue;if(0x0==_0x4c7b07[_0x30c7f7]['distance'])continue;const _0x45bdff=_0x4c7b07[_0x30c7f7]['item'];_0x13b44f['isBlock'](_0x45bdff)||_0x13b44f['isLimit'](_0x45bdff)||(_0x4c7b07[_0x30c7f7]['isAdded']&&delete _0x4c7b07[_0x30c7f7]['isAdded'],_0x4c7b07[_0x30c7f7]['isAddSuggestion']&&delete _0x4c7b07[_0x30c7f7]['isAddSuggestion'],_0x4c7b07[_0x30c7f7]['isRemoveSuggestion']&&delete _0x4c7b07[_0x30c7f7]['isRemoveSuggestion'],_0x4c7b07[_0x30c7f7]['isRemoved']&&(_0x4c7b07[_0x30c7f7]['isIncorrect']=!0x0));}return _0x4c7b07['filter'](_0x1b3b86=>!_0x1b3b86['isIncorrect']);}['_makeModelFromTape'](_0x1f4d00,_0x3655b6,_0x3d19a1){const _0x261ec6=new wt(),_0x36a899=[],_0x515118=new Map(),_0x1af9aa=this['editor']['model'],_0x1247c8=_0x1af9aa['schema'],_0x4f382e=[_0x261ec6],_0x1758c3={},_0xf0e66={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4092cb=null;const _0x1ffa11=[0x0];for(let _0x5e7a79=0x0;_0x5e7a79<_0x1f4d00['length'];_0x5e7a79++){let _0x542074,_0x2ebbe2;if('elementStart'===_0x1f4d00[_0x5e7a79]['type']){_0x542074=_0x1af9aa['createPositionFromPath'](_0x261ec6,_0x1ffa11);const _0x444b7d=new ft(_0x1f4d00[_0x5e7a79]['item']['name'],_0x1f4d00[_0x5e7a79]['item']['getAttributes']());_0x4f382e[0x0]['_appendChild'](_0x444b7d),_0x1ffa11['push'](0x0),_0x4f382e['unshift'](_0x444b7d),_0x2ebbe2=_0x1af9aa['createPositionFromPath'](_0x261ec6,_0x1ffa11),_0x4092cb=null;}else{if('elementEnd'===_0x1f4d00[_0x5e7a79]['type'])_0x4f382e['shift'](),_0x542074=_0x1af9aa['createPositionFromPath'](_0x261ec6,_0x1ffa11),_0x1ffa11['pop'](),_0x1ffa11[_0x1ffa11['length']-0x1]++,_0x2ebbe2=_0x1af9aa['createPositionFromPath'](_0x261ec6,_0x1ffa11),_0x4092cb=null;else{if(_0x542074=_0x1af9aa['createPositionFromPath'](_0x261ec6,_0x1ffa11),_0x4092cb&&_0x44efab(_0x4092cb,_0x1f4d00[_0x5e7a79]['item']))_0x4092cb['_data']+=_0x1f4d00[_0x5e7a79]['item']['data'];else{const _0x1f6dd5=new _t(_0x1f4d00[_0x5e7a79]['item']['data'],_0x1f4d00[_0x5e7a79]['item']['getAttributes']());_0x4f382e[0x0]['_appendChild'](_0x1f6dd5),_0x4092cb=_0x1f6dd5;}_0x1ffa11[_0x1ffa11['length']-0x1]+=_0x1f4d00[_0x5e7a79]['item']['offsetSize'],_0x2ebbe2=_0x1af9aa['createPositionFromPath'](_0x261ec6,_0x1ffa11);}}for(const _0x76a977 of _0x1f4d00[_0x5e7a79]['markersStart'])_0x515118['set'](_0x76a977,{'start':_0x542074,'end':null});_0x4a55d0('isRemoveSuggestion',_0x5e7a79,_0x542074,_0x2ebbe2),_0x4a55d0('isAddSuggestion',_0x5e7a79,_0x542074,_0x2ebbe2),_0x4a55d0('isRemoved',_0x5e7a79,_0x542074,_0x2ebbe2),_0x4a55d0('isAdded',_0x5e7a79,_0x542074,_0x2ebbe2);for(const _0x1ec766 of _0x1f4d00[_0x5e7a79]['markersEnd']){_0x515118['get'](_0x1ec766)['end']=_0x2ebbe2;}}for(const [_0x271abb,_0x32f2c2]of _0x515118){const _0x22b75c=this['editor']['model']['createRange'](_0x32f2c2['start'],_0x32f2c2['end']);_0x261ec6['markers']['set'](_0x271abb,_0x22b75c);}return _0x36a899['sort']((_0x19a4ce,_0x4e4865)=>{const _0x3650a3=_0x261ec6['markers']['get']('revision:'+_0x19a4ce['id']),_0x5b398e=_0x261ec6['markers']['get']('revision:'+_0x4e4865['id']);return _0x3650a3['start']['isBefore'](_0x5b398e['start'])?-0x1:_0x3650a3['start']['isAfter'](_0x5b398e['start'])?0x1:_0x3650a3['end']['isBefore'](_0x5b398e['end'])?-0x1:_0x3650a3['end']['isAfter'](_0x5b398e['end'])?0x1:'add'===_0x19a4ce['type']?-0x1:0x1;}),{'root':_0x261ec6,'changes':_0x36a899};function _0x4a55d0(_0x54d82b,_0x56ec8d,_0x25dd46,_0x4245b3){const _0xf410da=!!_0x1f4d00[_0x56ec8d][_0x54d82b],_0x2926a1=_0xf410da?_0x1f4d00[_0x56ec8d][_0x54d82b]['userId']:null,_0x22320b=_0x56ec8d===_0x1f4d00['length']-0x1,_0x5d2a47=_0xf0e66[_0x54d82b][0x0],_0x4bcb79=_0x1247c8['isObject'](_0x1f4d00[_0x56ec8d]['item']);!_0x1758c3[_0x54d82b]&&_0xf410da?_0x1758c3[_0x54d82b]={'start':_0x25dd46,'tapeItem':_0x1f4d00[_0x56ec8d],'userId':_0x2926a1,'type':_0x54d82b}:_0x1758c3[_0x54d82b]&&!_0xf410da?(_0x1758c3[_0x54d82b]['end']=_0x25dd46,_0x182ab5(_0x1758c3[_0x54d82b]),_0x1758c3[_0x54d82b]=null):_0x1758c3[_0x54d82b]&&_0xf410da&&_0x1758c3[_0x54d82b]['userId']!==_0x2926a1&&(_0x1758c3[_0x54d82b]['end']=_0x25dd46,_0x5d2a47&&_0x5d2a47['userId']===_0x1758c3[_0x54d82b]['userId']||_0x182ab5(_0x1758c3[_0x54d82b]),_0x1758c3[_0x54d82b]={'start':_0x25dd46,'tapeItem':_0x1f4d00[_0x56ec8d],'userId':_0x2926a1,'type':_0x54d82b}),_0x1758c3[_0x54d82b]&&_0x4bcb79&&('elementStart'!==_0x1f4d00[_0x56ec8d]['type']||_0x5d2a47&&_0x5d2a47['userId']===_0x2926a1||_0xf0e66[_0x54d82b]['unshift']({'userId':_0x2926a1,'object':_0x1f4d00[_0x56ec8d]['item'],'change':_0x1758c3[_0x54d82b]}),'elementEnd'===_0x1f4d00[_0x56ec8d]['type']&&_0x5d2a47&&_0x5d2a47['object']===_0x1f4d00[_0x56ec8d]['item']&&(_0xf0e66[_0x54d82b]['shift'](),_0x1758c3[_0x54d82b]=_0x5d2a47['change'])),_0x1758c3[_0x54d82b]&&_0x22320b&&(_0x1758c3[_0x54d82b]['end']=_0x4245b3,_0x182ab5(_0x1758c3[_0x54d82b]),_0x1758c3[_0x54d82b]=null);}function _0x182ab5({start:_0x3b09d5,end:_0x23322b,tapeItem:_0x574f05,userId:_0x5b54c6,type:_0x2b0992}){const _0x282017=_0x574f05['item'],_0x2ad6f6=_0x1af9aa['schema']['isBlock'](_0x282017)&&!_0x1af9aa['schema']['isLimit'](_0x282017),_0x3d4d6f=_0x3b09d5['nodeAfter']==_0x23322b['parent']&&_0x23322b['isAtStart'];if(_0x2ad6f6&&_0x3d4d6f)return;const _0x2de75c=_0x1af9aa['createRange'](_0x3b09d5,_0x23322b),_0x4451d0=_0x3655b6['get'](_0x5b54c6),_0x26930f=new r({'author':_0x4451d0,'type':'isAdded'==_0x2b0992||'isAddSuggestion'==_0x2b0992?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2b0992||'isRemoveSuggestion'==_0x2b0992},'createdAt':new Date(),'rootName':_0x3d19a1});_0x36a899['push'](_0x26930f),_0x261ec6['markers']['set']('revision:'+_0x26930f['id'],_0x2de75c);}function _0x44efab(_0x41e297,_0x2f05e6){const _0x554ab1=_0x41e297['getAttributes'](),_0x23586d=_0x2f05e6['getAttributes']();for(const _0x40bc20 of _0x554ab1){if(_0x40bc20[0x1]!==_0x2f05e6['getAttribute'](_0x40bc20[0x0]))return!0x1;_0x23586d['next']();}return _0x23586d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x249719=>{const _0xf66a34=_0x249719['markerName']['split'](':')[0x1],_0x48c09b=this['_getChangeFromId'](_0xf66a34);if(!_0x48c09b)return null;const _0xa5b274='add'==_0x48c09b['type']?'insertion':'deletion',_0x37ccb4=['ck-suggestion-marker','ck-suggestion-marker-'+_0xa5b274];return _0x48c09b['data']['isSuggestion']&&_0x37ccb4['push']('ck-suggestion-marker-'+_0xa5b274+'-new'),this['activeChange']==_0x48c09b&&_0x37ccb4['push']('ck-suggestion-marker--active'),{'classes':_0x37ccb4,'attributes':{'data-change-id':_0xf66a34}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x145ed6=>{_0x145ed6['on']('element:pre',(_0x106bf2,_0x58a148,_0xbeb40a)=>{const _0x521799=_0x58a148['viewItem']['getChild'](0x0);if(!_0x521799||!_0x521799['is']('element','code'))return;if(!_0xbeb40a['consumable']['consume'](_0x521799,{'attributes':['vid_start','vid_end']}))return;const _0x50203c=_0x58a148['modelRange']['start']['nodeAfter'];_0xbeb40a['writer']['setAttribute']('vid_start',_0x521799['getAttribute']('vid_start'),_0x50203c),_0xbeb40a['writer']['setAttribute']('vid_end',_0x521799['getAttribute']('vid_end'),_0x50203c);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x473711=>{_0x473711['on']('element',(_0x2fb247,_0x5c15fd,_0x44fa2e)=>{if(!_0x44fa2e['consumable']['consume'](_0x5c15fd['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5c15fd['modelRange']['isCollapsed'])return;const _0x59f828=_0x5c15fd['modelRange']['start']['nodeAfter'];_0x59f828['hasAttribute']('vid_start')||_0x59f828['hasAttribute']('vid')||(_0x44fa2e['writer']['setAttribute']('vid_start',_0x5c15fd['viewItem']['getAttribute']('vid_start'),_0x59f828),_0x44fa2e['writer']['setAttribute']('vid_end',_0x5c15fd['viewItem']['getAttribute']('vid_end'),_0x59f828));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x289890=>_0x289890['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4a660e,[,_0x499e21])=>{['vid_start','vid_end','vid']['includes'](_0x499e21)&&(_0x4a660e['return']=!0x0,_0x4a660e['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x45f01c=>{_0x45f01c['on']('attribute:vid',(_0x9f3bf8,_0x54071b,_0x319336)=>{if('\x20'!=_0x54071b['item']['data']||_0x54071b['item']['parent']['maxOffset']>0x1)return;if(!_0x319336['consumable']['consume'](_0x54071b['item'],_0x9f3bf8['name']))return;const _0x3fa533=_0x319336['writer'],_0x90fb1e=_0x319336['mapper']['toViewRange'](_0x54071b['range']);_0x3fa533['wrap'](_0x90fb1e,_0x3fa533['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1f2e17){const _0x59845a=_0x1f2e17['plugins']['get']('RevisionViewer');return(_0x5b75a0,_0x53a32b,_0x1a1797)=>{const _0x36570f=_0x53a32b['markerName']['split'](':')[0x1],_0x4946f4=_0x59845a['_getChangeFromId'](_0x36570f);if(!_0x4946f4)return null;const _0x15d987='add'==_0x4946f4['type']?'split':'merge';if(!_0x1a1797['consumable']['test'](_0x53a32b['markerRange'],_0x5b75a0['name']))return;const _0x2bf98b=_0x53a32b['markerRange']['getWalker'](),_0x1b372a=_0x53a32b['markerRange']['start'],_0x5609b6=_0x1f2e17['model']['schema'];let _0x51ad0a=null,_0x187eb5=null,_0x317854=!0x1,_0x2a3c4c=!0x1;for(const _0xaa7f9e of _0x2bf98b){const _0x5e2dc6=_0xaa7f9e['item'];_0x317854=_0x317854||_0x5609b6['isContent'](_0x5e2dc6);const _0x4edcb1=_0x1a1797['mapper']['toViewElement'](_0x5e2dc6);if(_0x4edcb1&&_0x4edcb1['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xaa7f9e['type']&&(_0x5609b6['isBlock'](_0x5e2dc6)&&!_0x5609b6['isLimit'](_0x5e2dc6)&&(_0x5e2dc6['nextSibling']||_0x1b372a['isAtEnd']?_0x51ad0a&&_0x51ad0a['parent']==_0x5e2dc6||(_0x51ad0a=_0x5e2dc6,_0x29e001(_0xaa7f9e['previousPosition']),_0x2a3c4c=!0x0):_0x187eb5=_0x187eb5||_0xaa7f9e['previousPosition']));}function _0x29e001(_0x1fb2bb){const _0x46cc30=_0x1a1797['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x15d987}),_0x11bc10=_0x1a1797['mapper']['toViewPosition'](_0x1fb2bb);_0x4946f4['data']['isSuggestion']&&_0x1a1797['writer']['addClass']('ck-suggestion-marker-'+_0x15d987+'-new',_0x46cc30),_0x59845a['activeChange']==_0x4946f4&&_0x1a1797['writer']['addClass']('ck-suggestion-marker--active',_0x46cc30),_0x1a1797['writer']['insert'](_0x11bc10,_0x46cc30),_0x1a1797['mapper']['bindElementToMarker'](_0x46cc30,_0x53a32b['markerName']);}_0x317854||_0x2a3c4c||!_0x187eb5||_0x29e001(_0x187eb5);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x122537,_0x4ddc48,_0x97d4d)=>{const _0x330bcb=_0x97d4d['mapper']['markerNameToElements'](_0x4ddc48['markerName']);if(_0x330bcb){for(const _0x326e27 of _0x330bcb)(_0x326e27['hasClass']('ck-suggestion-marker-split')||_0x326e27['hasClass']('ck-suggestion-marker-merge'))&&(_0x97d4d['mapper']['unbindElementFromMarkerName'](_0x326e27,_0x4ddc48['markerName']),_0x97d4d['writer']['remove'](_0x326e27));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x12ed88,_0x3c2b41,_0x380c88)=>{const _0x52d0b7=_0x3c2b41['markerName']['split'](':')[0x1],_0x5c1aa6=this['_getChangeFromId'](_0x52d0b7);if(!_0x5c1aa6)return null;const _0x140ede='add'==_0x5c1aa6['type']?'split':'merge';if(_0x380c88['consumable']['test'](_0x3c2b41['markerRange'],_0x12ed88['name']))for(const _0x30c9a3 of _0x3c2b41['markerRange']['getItems']()){if(!_0x30c9a3['is']('element','softBreak'))continue;const _0x22db2e=_0x380c88['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x140ede}),_0x4ee6c2=_0x380c88['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x30c9a3));_0x5c1aa6['data']['isSuggestion']&&_0x380c88['writer']['addClass']('ck-suggestion-marker-'+_0x140ede+'-new',_0x22db2e),this['activeChange']==_0x5c1aa6&&_0x380c88['writer']['addClass']('ck-suggestion-marker--active',_0x22db2e),_0x380c88['writer']['insert'](_0x4ee6c2,_0x22db2e),_0x380c88['mapper']['bindElementToMarker'](_0x22db2e,_0x3c2b41['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1859be=>{for(const _0x342fb0 of this['editor']['model']['document']['getRootNames']()){const _0x26249d=this['editor']['model']['document']['getRoot'](_0x342fb0),_0x3c464b=this['editor']['editing']['view']['document']['getRoot'](_0x342fb0);if(_0x3c464b){const _0xd456d1=_0x26249d['getAttribute']('revisionHistoryAttachChange');if(_0x1859be['removeAttribute']('data-change-id',_0x3c464b),_0x1859be['removeClass']('ck-revision-history-root-add',_0x3c464b),_0x1859be['removeClass']('ck-revision-history-root-remove',_0x3c464b),_0x1859be['removeClass']('ck-revision-history-root--active',_0x3c464b),_0xd456d1){const _0x510aa6=this['_getChangeFromId'](_0xd456d1);if(!_0x510aa6)return null;_0x1859be['setAttribute']('data-change-id',_0xd456d1,_0x3c464b),_0x1859be['addClass']('ck-revision-history-root-'+_0x510aa6['type'],_0x3c464b),this['activeChange']==_0x510aa6&&_0x1859be['addClass']('ck-revision-history-root--active',_0x3c464b);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x271481=>'revision-comment:'+_0x271481,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x508960=>'revision-suggestion:'+_0x508960,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x54bf39=>({'name':'suggestion:'+_0x54bf39,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3e0ba3=>{const _0x190674=_0x3e0ba3['markerName']['split'](':')[0x1];return'insertion'!=_0x190674&&'deletion'!=_0x190674?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x190674]};}}),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',(_0x42f197,_0x3410af,_0x15fefc)=>{const _0x7aea70=_0x15fefc['mapper']['markerNameToElements'](_0x3410af['markerName']);if(_0x7aea70){for(const _0x5f35af of _0x7aea70)_0x5f35af['is']('uiElement')&&(_0x15fefc['mapper']['unbindElementFromMarkerName'](_0x5f35af,_0x3410af['markerName']),_0x15fefc['writer']['remove'](_0x5f35af));}},{'priority':'high'});}['_getChangeFromId'](_0x1b159b){return this['_changeIdToChange']['get'](_0x1b159b);}['_getViewForChange'](_0xf7fc74){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xf7fc74),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x16e41e,_0x1a6098,_0x12777e,_0x2f32d5)=>{_0x2f32d5&&this['_balloon']['remove'](_0x2f32d5),_0x12777e&&(this['_balloon']['add']({'view':_0x12777e,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x44e5fe=this['editor']['editing'],_0x4fc98f=this['_getChangeFromId'](_0x12777e['changeId']);let _0x36313f;if(_0x4fc98f['data']['isOnRoot']){const _0x3130d4=_0x44e5fe['view']['getDomRoot'](_0x4fc98f['rootName']);_0x36313f=Array['from'](_0x3130d4['getClientRects']());}else{const _0x1dfde5=this['editor']['model']['markers']['get']('revision:'+_0x12777e['changeId']);_0x36313f=Array['from'](_0x44e5fe['mapper']['markerNameToElements'](_0x1dfde5['name']))['map'](_0x450ffd=>_0x44e5fe['view']['domConverter']['mapViewToDom'](_0x450ffd))['map'](_0x2e6fc3=>Array['from'](_0x2e6fc3['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x36313f[0x0];return _0x36313f['find'](_0x325f5f=>_0x325f5f['top']-0x3<=this['_activeViewTarget']['y']&&_0x325f5f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x325f5f['left']-0x3<=this['_activeViewTarget']['x']&&_0x325f5f['right']+0x3>=this['_activeViewTarget']['x'])||_0x36313f[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x237858,_0x5aacb3,_0x32ccf7,_0x4c6ec5)=>{this['activeView']=_0x32ccf7?this['_getViewForChange'](_0x32ccf7):null,this['editor']['model']['change'](()=>{const _0x172c6e=this['editor']['editing'];_0x4c6ec5&&(_0x4c6ec5['data']['isOnRoot']?_0x172c6e['view']['change'](_0x4897f2=>{_0x4897f2['removeClass']('ck-revision-history-root--active',_0x172c6e['view']['document']['getRoot'](_0x4c6ec5['rootName']));}):_0x172c6e['reconvertMarker']('revision:'+_0x4c6ec5['id'])),_0x32ccf7&&(_0x32ccf7['data']['isOnRoot']?_0x172c6e['view']['change'](_0x54c848=>{_0x54c848['addClass']('ck-revision-history-root--active',_0x172c6e['view']['document']['getRoot'](_0x32ccf7['rootName']));}):_0x172c6e['reconvertMarker']('revision:'+_0x32ccf7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x389852,_0xe7afbb)=>{if(this['activeChange'])return;const _0x89999f=this['_findChangeIdFromDomTarget'](_0xe7afbb['target']),_0x13ca5c=this['_changeIdToChange']['get'](_0x89999f);_0x13ca5c?(this['_activeViewTarget']={'x':_0xe7afbb['domEvent']['x'],'y':_0xe7afbb['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x13ca5c)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4368ef,_0x44df53)=>{const _0x42da9e=this['_findChangeIdFromDomTarget'](_0x44df53['target']),_0x1b5d85=this['_changeIdToChange']['get'](_0x42da9e);_0x1b5d85?(this['_activeViewTarget']={'x':_0x44df53['domEvent']['x'],'y':_0x44df53['domEvent']['y']},_0x1b5d85===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1b5d85):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x21eae7){do{const _0x125978=_0x21eae7['getAttribute']('data-change-id');if(_0x125978)return _0x125978;_0x21eae7=_0x21eae7['parent'];}while(_0x21eae7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xa7bedd=>{for(const _0x1b66b5 of this['editor']['model']['markers'])_0xa7bedd['removeMarker'](_0x1b66b5);});}}function et(_0xd8912f,_0x3e5967){return(_0x2aec61,_0x4531b1,_0x4f4add)=>{if(!_0x4f4add['consumable']['test'](_0x4531b1['markerRange'],_0x2aec61['name']))return;const _0x1293df=_0x4531b1['markerRange']['getWalker'](),_0x2f1562=_0x4531b1['markerRange']['start'],_0x38f349=_0xd8912f['model']['schema'];let _0x3f4de8=null,_0x570996=null,_0x547c22=!0x1,_0x27dc8d=!0x1;for(const _0xe71ab2 of _0x1293df){const _0xbd2c98=_0xe71ab2['item'];_0x547c22=_0x547c22||_0x38f349['isContent'](_0xbd2c98);const _0x4ef500=_0x4f4add['mapper']['toViewElement'](_0xbd2c98);if(_0x4ef500&&_0x4ef500['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xe71ab2['type']&&(_0x38f349['isBlock'](_0xbd2c98)&&!_0x38f349['isLimit'](_0xbd2c98)&&(_0xbd2c98['nextSibling']||_0x2f1562['isAtEnd']?_0x3f4de8&&_0x3f4de8['parent']==_0xbd2c98||(_0x3f4de8=_0xbd2c98,_0x4c0676(_0xe71ab2['previousPosition']),_0x27dc8d=!0x0):_0x570996=_0x570996||_0xe71ab2['previousPosition']));}function _0x4c0676(_0x32c06b){const _0x5b1bcb=_0x4f4add['mapper']['toViewPosition'](_0x32c06b),_0x543f6a=_0x4f4add['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3e5967});_0x4f4add['writer']['insert'](_0x5b1bcb,_0x543f6a),_0x4f4add['mapper']['bindElementToMarker'](_0x543f6a,_0x4531b1['markerName']);}_0x547c22||_0x27dc8d||!_0x570996||_0x4c0676(_0x570996);};}class bt extends _0x5359b2{constructor(_0x475df6){super(_0x475df6);const _0x3e3a69=_0x475df6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3e3a69,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3e3a69,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2f40a0=this['editor'],_0x2b641b=_0x2f40a0['plugins']['get'](d),_0x1f028e=_0x2b641b['isReady']?_0x2b641b['diff']['newRevisionId']:null;_0x2f40a0['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1f028e);}['refresh'](){const {isReady:_0x11a111,isEnabled:_0x480de4}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x11a111&&_0x480de4;}}class yt extends _0x5359b2{['_step'];constructor(_0x2c3942,{direction:_0x37d083}){super(_0x2c3942);const _0x2d29d7=_0x2c3942['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x37d083?0x1:-0x1,this['listenTo'](_0x2d29d7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2d29d7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2d29d7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xe050b4=this['editor'],_0x1f824e=_0xe050b4['plugins']['get'](d),{isNavigationMode:_0x327a93,currentChangeNumber:_0x176990}=_0x1f824e;let _0x77e4c4;if(_0x1f824e['activeChange']=_0x327a93?_0x1f824e['diff']['changes']['get'](_0x176990+this['_step']):_0x1f824e['diff']['changes']['first'],_0x1f824e['activeChange']['data']['isOnRoot'])_0x77e4c4=_0xe050b4['editing']['view']['getDomRoot'](_0x1f824e['activeChange']['rootName']);else{const _0xefbad3=_0xe050b4['model']['markers']['get']('revision:'+_0x1f824e['activeChange']['id']);_0x77e4c4=_0x10d559(_0xe050b4['editing'],_0xefbad3);}_0x36828b({'target':_0x77e4c4,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x8931b,currentChangeNumber:_0x510a52,numberOfChanges:_0x12d503,isReady:_0x39a4c5,isEnabled:_0x1b6f8e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1b6f8e&&_0x39a4c5&&_0x12d503)&&(!_0x8931b||(0x1===this['_step']?_0x510a52<_0x12d503-0x1:_0x510a52>0x0));}}class _i extends _0x4386d0{constructor(_0x68139d){super(_0x68139d);const _0x4fefc5=this['bindTemplate'],_0x2939ba=new _0x409be8(_0x68139d),_0xb0773b=new _0x409be8(_0x68139d);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',(_0x4f8ae4,_0x580a26)=>_0x4f8ae4&&_0x580a26>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2198a9,_0x50fe58,_0x265623,_0x583148)=>{if(!_0x2198a9)return y(_0x68139d,'Loading...');if(!_0x265623)return y(_0x68139d,'No\x20changes');const _0x4d7026=y(_0x68139d,'NUMBER_OF_CHANGES',_0x265623);return _0x583148?y(_0x68139d,'X_OF_Y_CHANGES',[_0x50fe58+0x1,_0x265623]):_0x4d7026;}),_0x2939ba['set']({'label':y(_0x68139d,'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'}),_0xb0773b['set']({'label':y(_0x68139d,'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'}),_0x2939ba['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xb0773b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2939ba['on']('execute',()=>this['fire']('execute','backward')),_0xb0773b['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',_0x4fefc5['if']('_isStatusLabelVisible','ck-hidden',_0xf8f497=>!_0xf8f497)]},'children':[{'text':_0x4fefc5['to']('isNavigationMode',_0x24181b=>_0x24181b?y(_0x68139d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x68139d,'Total')+':\x20')}]},{'text':_0x4fefc5['to']('_statusText')}]},new _0x17bdb1(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2939ba,_0xb0773b]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1c34ab{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x34b371=this['editor']['editing']['view'];_0x34b371['change'](_0x12bae6=>{for(const _0x18a25c of _0x34b371['document']['roots'])_0x12bae6['addClass'](ce,_0x18a25c);});}['hide'](){const _0xf16c8c=this['editor']['editing']['view'];_0xf16c8c['change'](_0x489e21=>{for(const _0x281e05 of _0xf16c8c['document']['roots'])_0x489e21['removeClass'](ce,_0x281e05);});}}class R extends _0x1c34ab{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x49538d=this['editor'],_0x39aac8=_0x49538d['plugins']['get'](d),_0x457f8f=_0x49538d['plugins']['get'](de);_0x49538d['ui']['componentFactory']['add']('exitToEditing',_0x17edb=>{const _0x1f479f=new _0x409be8(_0x17edb);return _0x1f479f['set']({'label':y(_0x17edb,'Back\x20to\x20editing'),'icon':_0x52b2e0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1f479f,'execute',()=>{_0x49538d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1f479f;}),_0x49538d['ui']['componentFactory']['add']('restoreRevision',_0x879d25=>{const _0x388527=new _0x409be8(_0x879d25);return _0x388527['set']({'label':y(_0x879d25,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x388527['bind']('isEnabled')['to'](_0x49538d['commands']['get']('restoreRevision')),this['listenTo'](_0x388527,'execute',()=>_0x49538d['execute']('restoreRevision')),_0x388527;}),_0x49538d['ui']['componentFactory']['add']('changesNavigation',_0x40a4c7=>{const _0x172c20=new _i(_0x40a4c7),_0x20dcb5=_0x49538d['commands']['get']('showPreviousChange'),_0x1bf165=_0x49538d['commands']['get']('showNextChange');return _0x172c20['bind']('isBackwardNavigationEnabled')['to'](_0x20dcb5,'isEnabled'),_0x172c20['bind']('isForwardNavigationEnabled')['to'](_0x1bf165,'isEnabled'),_0x172c20['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x39aac8),this['listenTo'](_0x172c20,'execute',(_0x1db2ab,_0x23095f)=>{_0x49538d['execute']('forward'===_0x23095f?'showNextChange':'showPreviousChange');}),_0x172c20;}),_0x457f8f['show'](),_0x39aac8['on']('change:isReady',(_0x124a6e,_0x253ad9,_0xec69e8)=>{_0xec69e8?_0x457f8f['hide']():_0x457f8f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2657e2,_0x562f2a){super(_0x2657e2,_0x562f2a);const _0x103dcc=this['bindTemplate'];this['set']({'label':y(_0x2657e2,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2657e2,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x103dcc['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 _0x3987d0=this['fieldView']['element'];this['_tooltipString']=_0x3987d0['scrollWidth']>_0x3987d0['clientWidth']&&_0x3987d0['value']||'';}}class ti extends _0x4386d0{constructor(_0x452cec,_0x281f1e,_0x74a4dd){super(_0x452cec);const _0x57c4e6=new _0x25b1ca();_0x57c4e6['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 _0x447e1f=['ck','ck-revision-history-sidebar__revision-author'];_0x74a4dd&&_0x447e1f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4cfa26=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x452cec,_0x74a4dd?'Revision\x20creator':'Revision\x20author')},'children':[_0x57c4e6,_0x281f1e['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x447e1f},'children':_0x4cfa26});}}function ni(_0x25ed0e,_0x9f5045){const _0x4ac9e9=_0x25ed0e['bindTemplate'],_0x13a189=_0x25ed0e['locale'],_0x479d7b=_0xf92d7f(_0x13a189);_0x479d7b['panelPosition']='sw';const _0x20cdfc=function(_0x3edb70,_0x14e016){const _0x204235=function(_0x79f718,_0x1af84b){const _0x311f40=_0x79f718['locale'],_0x221772={'Compare\x20against\x20selected':y(_0x311f40,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x311f40,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x311f40,'Restore\x20this\x20revision')};return _0x1af84b['map'](_0x2a3496=>{const _0x5ed13c=_0x221772[_0x2a3496['name']];return _0x5ed13c&&_0x5ed13c!==_0x2a3496['name']&&(_0x2a3496['name']=_0x5ed13c),_0x2a3496;});}(_0x3edb70,_0x14e016),_0x25392d=new _0x56c8ef();for(const _0x184d26 of _0x204235){const _0x5f3132={'type':'button','model':new to({'label':_0x184d26['name'],'class':_0x184d26['class'],'withText':!0x0,'role':'menuitem','_action':_0x184d26['action']})};_0x5f3132['model']['bind']('isEnabled')['to'](_0x3edb70,'isActionsDropdownOpen',_0x1dccdc=>'function'!=typeof _0x184d26['isEnabled']||(!_0x1dccdc||_0x184d26['isEnabled'](_0x3edb70))),_0x25392d['add'](_0x5f3132);}return _0x25392d;}(_0x25ed0e,_0x9f5045);return _0x25ed0e['bind']('isActionsDropdownOpen')['to'](_0x479d7b,'isOpen'),_0x479d7b['buttonView']['set']({'label':y(_0x13a189,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x52b2e0['threeVerticalDots']}),_0x479d7b['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4ac9e9['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4ac9e9['to'](_0x4f003d=>_0x4f003d['stopPropagation']())}}),_0x479d7b['on']('execute',_0x13cf2d=>{_0x25ed0e['isReady']&&'function'==typeof _0x13cf2d['source']['_action']&&_0x13cf2d['source']['_action'](_0x25ed0e);}),_0x56fc45(_0x479d7b,_0x20cdfc,{'role':'menu'}),_0x479d7b['listenTo'](_0x25ed0e,'change:isActionsDropdownOpen',(_0x766233,_0x31934c,_0x4eea36)=>{if(_0x4eea36)for(const _0x25695e of _0x479d7b['listView']['items']){const _0x736809=_0x25695e['children']['first'],_0x297b52=_0x9f5045['find'](_0xb453a0=>_0xb453a0['action']===_0x736809['_action'])['isVisible'];_0x25695e['isVisible']=void 0x0===_0x297b52||_0x297b52(_0x25ed0e);}}),_0x479d7b;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
_0x8f2880(_0x4386d0){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2c5cd2,_0x42a397,_0x4ac5f1,_0x3b9061){super(_0x2c5cd2);const _0x230f39=this['bindTemplate'],_0x234707=function(_0x5b50f0,_0x2fc33d){const _0x5d5bb1=Array['from'](_0x2fc33d['authors'])['filter'](_0xd43689=>_0xd43689!=_0x2fc33d['creator']);return _0x2fc33d['creator']&&_0x5d5bb1['unshift'](_0x2fc33d['creator']),_0x5d5bb1['map'](_0x107946=>new ti(_0x5b50f0,_0x107946,_0x107946==_0x2fc33d['creator']));}(_0x2c5cd2,_0x42a397);this['id']=_0x42a397['id'],this['_revision']=_0x42a397,this['_requireRevisionName']=_0x3b9061,this['bind']('name','createdAt')['to'](_0x42a397),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x505695=>{return _0x1319c6=_0x2c5cd2['uiLanguage'],(_0x1949b0=_0x505695)['toLocaleDateString'](_0x1319c6,{'month':'long','day':'numeric'})+',\x20'+_0x1949b0['toLocaleTimeString'](_0x1319c6,{'hour':'numeric','minute':'numeric'});var _0x1319c6,_0x1949b0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x2c5cd2,_0x290eaf),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x463a35=>_0x463a35||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2847de,_0x1554fd)=>_0x2847de&&_0x1554fd),this['revisionActionsView']=_0x4ac5f1&&_0x4ac5f1['length']?ni(this,_0x4ac5f1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x230f39['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x230f39['if']('isEnabled','ck-disabled',_0x468f83=>!_0x468f83),_0x230f39['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x230f39['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x230f39['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':_0x230f39['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':_0x234707}]},this['revisionActionsView']],'on':{'click':_0x230f39['to'](_0x2bf2d2=>{_0x2bf2d2['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1ebaca=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1ebaca,'change',()=>{this['_requireRevisionName']&&!_0x1ebaca['value']||this['fire']('setName',{'id':this['id'],'name':_0x1ebaca['value']}),_0x1ebaca['value']||(_0x1ebaca['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(_0x4ab8d2,_0x2b3361){const _0x30c3f0=_0x2533f3['fromJSDate'](_0x4ab8d2)['setLocale'](_0x2b3361),_0x2a313b=_0x2533f3['local'](),_0x470c6d=_0x2a313b['minus']({'days':0x1})['startOf']('day');let _0x432bfc,_0x5de4c0;return _0x30c3f0['hasSame'](_0x2a313b,'day')?(_0x432bfc=_0x30c3f0['startOf']('day')['toJSDate'](),_0x5de4c0=_0x30c3f0['toRelativeCalendar']()):_0x30c3f0['hasSame'](_0x470c6d,'day')?(_0x432bfc=_0x470c6d['toJSDate'](),_0x5de4c0=_0x30c3f0['toRelativeCalendar']()):_0x30c3f0['hasSame'](_0x2a313b,'week')?(_0x432bfc=_0x30c3f0['startOf']('week')['toJSDate'](),_0x5de4c0=_0x30c3f0['weekdayLong']||''):_0x30c3f0['hasSame'](_0x2a313b,'year')?(_0x432bfc=_0x30c3f0['startOf']('month')['toJSDate'](),_0x5de4c0=_0x30c3f0['monthLong']||''):(_0x432bfc=_0x30c3f0['startOf']('year')['toJSDate'](),_0x5de4c0=String(_0x30c3f0['year'])),{'startDate':_0x432bfc,'localizedPeriodName':_0x5de4c0};}class mi extends _0x4386d0{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1d8af1,_0x373e0d,_0x4be523,_0x42e9bf){super(_0x1d8af1);const _0xf0d82c=di(_0x373e0d,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x373e0d,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4be523,this['_requireRevisionName']=_0x42e9bf,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':_0xf0d82c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4a4a01){const _0x6dc36a=new ai(this['locale'],_0x4a4a01,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x6dc36a);}['removeRevision'](_0x55a9a4){const _0x4fb0a6=this['revisionViews']['find'](_0x42358b=>_0x42358b['id']===_0x55a9a4['id']);this['revisionViews']['remove'](_0x4fb0a6);}}class as extends _0x4386d0{constructor(_0x44b059){super(_0x44b059);const _0x5d8e0e=new _0x25b1ca();_0x5d8e0e['content']=_0x52b2e0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5d8e0e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x44b059,'Revision\x20history')]}]});}}class ci extends _0x4386d0{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x233bb6,_0x21d0ca,_0x38c4bf,_0x1ffd26){super(_0x233bb6);const _0x56ce7f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x21d0ca,this['_revisionActions']=_0x38c4bf,this['_requireRevisionName']=_0x1ffd26,this['on']('select',(_0x5a281d,_0x1b0a9e)=>{this['fire']('revisionSelected',_0x1b0a9e);}),this['on']('setName',(_0x1daf2c,_0x189fea)=>{this['fire']('revisionSetName',_0x189fea);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x233bb6),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x56ce7f['if']('isEnabled','ck-disabled',_0x39225d=>!_0x39225d)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5947f4 of this['_revisions'])this['_addRevision'](_0x5947f4);this['_revisions']['on']('add',(_0x4c85be,_0x5a1334)=>{this['_addRevision'](_0x5a1334);}),this['_revisions']['on']('remove',(_0x1f28ba,_0x2a64c3)=>{this['_removeRevision'](_0x2a64c3);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xced27f=>_0xced27f['revisionViews']['map'](_0x4c78c7=>_0x4c78c7))['flat']();}['selectRevision'](_0x2db4a2){for(const _0x23d4ed of this['revisionViews'])_0x2db4a2&&_0x2db4a2['id']===_0x23d4ed['id']?_0x23d4ed['select']():_0x23d4ed['deselect']();}['highlightRevisions'](_0x18311c){for(const _0x43a1a3 of this['revisionViews'])_0x18311c['some'](({id:_0x2e7b14})=>_0x2e7b14===_0x43a1a3['id'])?_0x43a1a3['highlight']():_0x43a1a3['unhighlight']();}['_addRevision'](_0x5695c9){const _0x178135=di(_0x5695c9['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1188db=this['timePeriodViews']['get'](0x0);_0x1188db&&_0x1188db['startDate']['getTime']()===_0x178135['getTime']()||(_0x1188db=new mi(this['locale'],_0x178135,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1188db)),_0x1188db['addRevision'](_0x5695c9);}['_removeRevision'](_0x4fda77){const _0x34a741=di(_0x4fda77['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x34a741)['removeRevision'](_0x4fda77);}['_getTimePeriodViewByStartDate'](_0x5497b2){return this['timePeriodViews']['find'](_0x19eeca=>_0x19eeca['startDate']['getTime']()===_0x5497b2['getTime']());}}class w extends _0x1c34ab{['_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(_0x5e3d87){super(_0x5e3d87),this['_revisionViewer']=_0x5e3d87['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3071a3=this['_revisionsRepository']['_revisions'],_0x3057e9=this['_createRevisionActions'](),_0x5d6df0=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3071a3,_0x3057e9,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',(_0x4e8c44,_0x3c4241)=>{_0x3c4241['revisionViews']['on']('add',(_0x3f0a5e,_0x37c394)=>{_0x37c394['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)),_0x5d6df0['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2cc7af=this['_revisionsRepository']['getRevision'](0x0);if(_0x2cc7af){const _0x5e3dea=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2cc7af['id']);this['_revisionViewer']['compare'](_0x2cc7af,_0x5e3dea);}}['_handleRevisionSelected'](_0x4e7fc2,_0xa164e3){const _0x30d73b=this['_revisionsRepository']['getRevision'](_0xa164e3['id']),_0x327837=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x30d73b['id']);this['_revisionViewer']['compare'](_0x30d73b,_0x327837);}['_handleRevisionSetName'](_0x3cf5f2,_0x2bf691){this['_revisionsRepository']['getRevision'](_0x2bf691['id'])['setName'](_0x2bf691['name']);}['_handleDiffChange'](_0x56364a,_0x4e61ba,_0x10a545){const _0x388ad0=this['_revisionsRepository']['getRevisionsInDiff'](_0x10a545);_0x388ad0['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x388ad0),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x388ad0[0x0]));}['_createRevisionActions'](){const _0x4f4c53=this['editor'],_0x1c4d8b=w['availableRevisionActions'],_0x3c51fe=_0x4f4c53['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3c51fe['length'])return _0x3c51fe['map'](_0x8004bb=>{const _0x2cd986='string'==typeof _0x8004bb?Object['assign']({},_0x1c4d8b[_0x8004bb]):_0x8004bb;return _0x2cd986['action']=_0x2cd986['action']['bind'](this,_0x4f4c53),_0x2cd986['isVisible']&&(_0x2cd986['isVisible']=_0x2cd986['isVisible']['bind'](this,_0x4f4c53)),_0x2cd986;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x25183e},_0x56eb83)=>{const _0x4c8474=_0x25183e['get'](d),_0x4dcb2b=_0x4c8474['repository'];let _0x3b4870=_0x4c8474['diff']['newRevisionId'],_0x4859b3=_0x56eb83['id'];_0x4dcb2b['getIndex'](_0x3b4870)>_0x4dcb2b['getIndex'](_0x4859b3)&&([_0x3b4870,_0x4859b3]=[_0x4859b3,_0x3b4870]),_0x4c8474['compare'](_0x3b4870,_0x4859b3);},'isVisible':({plugins:_0x139499},_0x3bf012)=>{const _0x5d54d3=_0x139499['get'](d);return!(_0x5d54d3['repository']['getRevisionsInDiff'](_0x5d54d3['diff'])['length']>0x2)&&!_0x3bf012['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x145632,{id:_0x3eab3d})=>{_0x145632['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3eab3d);},'isVisible':({plugins:_0x4ac946},_0x2c6c4d)=>!!_0x4ac946['get'](d)['repository']['getLaterVisibleRevision'](_0x2c6c4d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x38414f},{id:_0xe27586,revisionNameView:_0xffbd66})=>{const _0x1ee234=_0x38414f['get'](d),_0x421cad=_0x1ee234['repository']['getEarlierVisibleRevision'](_0xe27586);_0x1ee234['compare'](_0xe27586,_0x421cad),_0xffbd66['focus'](),_0xffbd66['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2360fa,_0x3d3723){super(_0x2360fa),this['_view']=_0x3d3723,this['_toolbarConfig']=ct(_0x2360fa['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2f4295){const _0x47af85=this['editor'],_0x5b2762=this['view'],_0xff5636=_0x47af85['editing']['view'],_0x18ad1c=_0x5b2762['editable'],_0x20918d=_0xff5636['document']['getRoot']();_0x18ad1c['name']=_0x20918d['rootName'],_0x5b2762['render']();const _0x1b53bb=_0x18ad1c['element'];this['setEditableElement'](_0x18ad1c['name'],_0x1b53bb),_0x5b2762['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xff5636['attachDomRoot'](_0x1b53bb),this['_elementReplacer']['replace'](_0x2f4295,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x204db2=this['view'],_0x1ffc45=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1ffc45['detachDomRoot'](_0x204db2['editable']['name']),_0x204db2['destroy']();}['_initToolbar'](){const _0x48449d=this['view'];_0x48449d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x48449d['stickyPanel']['limiterElement']=_0x48449d['element'],_0x48449d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5087bd})=>_0x5087bd),_0x48449d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x48449d['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4ea4b1,_0x136f3e,_0x3dbdee={}){super(_0x4ea4b1),this['stickyPanel']=new lt(_0x4ea4b1),this['toolbar']=new pt(_0x4ea4b1,{'shouldGroupWhenFull':_0x3dbdee['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4ea4b1,_0x136f3e);}['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(_0x1825f6,_0x1eb1be){super(_0x1eb1be),this['sourceElement']=_0x1825f6,this['model']['document']['createRoot']();const _0x40aaeb=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x40aaeb);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xe1e7b5,_0x51cfe3){const _0x3d57ce=new this(_0xe1e7b5,_0x51cfe3);return await _0x3d57ce['initPlugins'](),await _0x3d57ce['ui']['init'](_0xe1e7b5),await _0x3d57ce['data']['init'](_0x3d57ce['config']['get']('initialData')||''),_0x3d57ce['fire']('ready'),_0x3d57ce;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1c34ab{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x319613){super(_0x319613),this['result']='end';}}class H extends _0x1c34ab{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5c8674){if(super(_0x5c8674),!this['editor']['config']['get']('revisionHistory'))throw new _0x2973e6('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5c7c63=>this['_showRevisionViewer']({..._0x5c7c63,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5d6a40=>this['_closeRevisionViewer'](_0x5d6a40)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4949f9=>this['_restoreRevision'](_0x4949f9)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x42d978){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x42d978;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2a1910){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2a1910);}['getRevision'](_0x54a50b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x54a50b);}['getRevisions'](_0x4a1b8b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4a1b8b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x223b75=this['editor'],_0x48cc56=_0x185cf3(_0x223b75,p),_0x966bec=_0x223b75['plugins']['get']('RevisionTracker'),_0x91e748=_0x223b75['plugins']['get']('Users')['users'];return _0x48cc56['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x48cc56['lazyRoots'],(_0x48cc56['plugins']['push'](k,d,R,class extends _0x1c34ab{static get['requires'](){return[d,'Users'];}['init'](){const _0x39bb80=this['editor']['plugins']['get']('Users');for(const _0xc4538 of _0x91e748)_0xc4538['isAnonymous']||_0x39bb80['getUser'](_0xc4538['id'])||_0x39bb80['addUser'](_0xc4538);const _0x86e1d2=_0x966bec['repository']['getRevisions']();let _0x2a57c2=null;const _0xb16db7=this['editor']['plugins']['get']('RevisionViewer');_0xb16db7['adapter']=_0x966bec['adapter'],_0xb16db7['bind']('isEnabled')['to'](_0x966bec),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x223b75,'isReadOnly',_0x49fa00=>!_0x49fa00);for(const _0xad7fc3 of _0x86e1d2){const _0x2c3507=null===_0xad7fc3['creator'];if(_0x2c3507&&_0xad7fc3['toVersion']===_0xad7fc3['fromVersion'])continue;const _0x135bcc=_0xad7fc3['toJSON']();_0xb16db7['addRevisionData'](_0x135bcc,(_0x2bd2c6,_0x33f68c,_0x185401)=>{if(_0x2c3507){if(_0x2a57c2)_0x2a57c2['_update'](_0x2bd2c6,_0x33f68c);else{if(!_0x33f68c){const _0x5bcb57=_0x185401['toJSON']();_0x5bcb57['id']=_0x5b7c8e(),_0x966bec['saveRevision'](_0x5bcb57,_0x185401['toVersion'])['then'](_0x1e311b=>{_0x2a57c2=_0x1e311b;});}}}else _0xad7fc3['_update'](_0x2bd2c6,_0x33f68c);});}}},w),_0x48cc56);}['_enhanceShowRevisionViewerCallback'](){const _0x112afb=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x33da3f=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x27db54=this['editor']['plugins']['get']('Autosave');await _0x27db54['save']();}else await _0x33da3f['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x34a301=this['editor']['plugins']['get']('Dialog');_0x34a301['isOpen']&&_0x34a301['hide']();}const _0x1fd2af=this['_getRevisionViewerEditorConfig']();return _0x112afb(_0x1fd2af)['then'](_0x25c335=>{return(this['_viewerEditor']=_0x25c335,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x25c335;})['catch'](_0x4ab666=>(console['error'](_0x4ab666),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4e2569=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'](),_0x4e2569(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xc6954=this['editor']['plugins']['get']('Annotations');_0xc6954['refreshVisibility'](),_0xc6954['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5335dd){const _0x66dab7=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x440af8=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1caf38=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1caf38,_0x5335dd)['then'](_0xb1409e=>(_0x440af8['style']['display']='block',_0x66dab7['style']['display']='none',_0xb1409e));}['_closeRevisionViewer'](_0x44ccb1){const _0x1af148=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1af148['style']['display']='',_0x44ccb1['destroy']();}async['_restoreRevision'](_0x245b37){const _0x667278=this['editor'],_0x403c2d=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x18a6bf=_0x667278['plugins']['get']('RevisionTracker'),_0x26603a=_0x403c2d['repository']['getRevision'](_0x245b37);let _0x2a8cb1,_0x25eaeb,_0x13fd2e;try{_0x2a8cb1=await _0x403c2d['getRevisionData'](_0x26603a),_0x25eaeb=await _0x403c2d['getRevisionRootsAttributes'](_0x26603a);}catch(_0x392364){return void console['error'](_0x392364);}_0x667278['model']['change'](_0x5f7105=>{for(const _0x4c9bf7 of Array['from'](_0x667278['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5f7105['removeMarker'](_0x4c9bf7);}),_0x403c2d['isReady']=!0x1,_0x667278['model']['enqueueChange'](_0x5d7999=>{_0x5d7999['setSelection'](null),_0x5d7999['removeSelectionAttribute'](_0x667278['model']['document']['selection']['getAttributeKeys']());const _0x4cd52a=Object['keys'](_0x2a8cb1);for(const _0x4cef75 of _0x667278['model']['document']['roots'])'$graveyard'!=_0x4cef75['rootName']&&_0x4cef75['isAttached']()&&!_0x4cd52a['includes'](_0x4cef75['rootName'])&&_0x5d7999['detachRoot'](_0x4cef75);for(const _0x481021 of _0x4cd52a){let _0x4a2411=_0x667278['model']['document']['getRoot'](_0x481021);_0x4a2411&&_0x4a2411['isAttached']()||(_0x4a2411=_0x5d7999['addRoot'](_0x481021));const _0x105875=_0x25eaeb[_0x481021],_0x4b46b3=Object['keys'](_0x105875),_0x5ed100=_0x2a8cb1[_0x481021];for(const _0x3910ea of _0x4a2411['getAttributeKeys']())_0x4b46b3['includes'](_0x3910ea)||_0x5d7999['removeAttribute'](_0x3910ea,_0x4a2411);for(const _0x44dbd1 of _0x4b46b3)_0x5d7999['setAttribute'](_0x44dbd1,_0x25eaeb[_0x481021][_0x44dbd1],_0x4a2411);_0x5d7999['remove'](_0x5d7999['createRangeIn'](_0x4a2411)),_0x5d7999['insert'](_0x667278['data']['parse'](_0x5ed100,_0x4a2411),_0x4a2411,0x0);}});const _0x416f65=y(_0x667278['locale'],'Restored');if(_0x26603a['name'])_0x13fd2e=-0x1==_0x26603a['name']['indexOf'](_0x416f65)?_0x416f65+':\x20'+_0x26603a['name']:_0x26603a['name'];else _0x13fd2e=_0x416f65+':\x20'+(_0x26603a['createdAt']['toLocaleDateString'](_0x667278['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x26603a['createdAt']['toLocaleTimeString'](_0x667278['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x18a6bf['saveRevision']({'name':_0x13fd2e}),_0x403c2d['isReady']=!0x0,_0x667278['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|
|
23
|
+
import{Plugin as _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};
|