@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240512.0 → 0.0.0-nightly-20240514.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x56b499,Context as _0x4a4c3c,PendingActions as _0x273f55,icons as _0x5665c4,Command as _0x3ee222,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x16abae,uid as _0x45f5e4,Collection as _0x49484f,logWarning as _0x2cfe33,FocusTracker as _0x230efc,KeystrokeHandler as _0x4f23f8,scrollViewportToShowTarget as _0xf01432,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5d88f1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2afb4f,getMarkerDomElement as _0x314a4e,ConfirmMixin as _0x132e9c,sanitizeEditorConfig as _0x59432e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x50d8b3,ViewText as _0x2888f1,ViewElement as _0x48a037,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4418cb,ViewAttributeElement as _0xfbd931,ViewEmptyElement as _0x1983f8,ViewRawElement as _0x11c06d,ViewUIElement as _0x532908,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xf6878e,set as _0x4eee7a,unset as _0x240a38,isEqual as _0x19a1e5}from'lodash-es';import{View as _0x5ab189,injectCssTransitionDisabler as ts,submitHandler as _0x4f415e,LabeledFieldView as at,createLabeledInputText as _0x1c4533,createDropdown as _0x22729a,ListView as te,ListItemView as _0x2cb246,ButtonView as _0x8af1e8,MenuBarMenuView as _0xc397c6,MenuBarMenuListView as _0x4bb660,MenuBarMenuListItemView as _0x46a1d9,MenuBarMenuListItemButtonView as _0x3bb1d0,ContextualBalloon as _0x4b4765,ToolbarSeparatorView as _0x4ebbcc,IconView as _0x12da21,addListToDropdown as _0x1ff0b1,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 _0x18e66c}from'luxon';class a extends _0x16abae(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3ba52e){super(),this['id']=_0x3ba52e['id']||_0x45f5e4(),this['creator']=_0x3ba52e['creator']||null,this['authors']=_0x3ba52e['authors']||[],this['diffData']=_0x3ba52e['diffData']||null,this['toVersion']=_0x3ba52e['toVersion']||0x0,this['fromVersion']=_0x3ba52e['fromVersion']||0x0,this['set']('name',_0x3ba52e['name']||''),this['set']('createdAt',_0x3ba52e['createdAt']||new Date()),this['set']('attributes',_0x3ba52e['attributes']||{});}['setName'](_0x233077){this['_update']({'name':_0x233077});}['setAttribute'](_0x2e0d8b,_0x266a4d){const _0x5a617c=_0xf6878e(this['attributes']);_0x4eee7a(_0x5a617c,_0x2e0d8b,_0x266a4d),this['_update']({'attributes':_0x5a617c});}['removeAttribute'](_0x4fc017){const _0x3d395f=_0xf6878e(this['attributes']);_0x240a38(_0x3d395f,_0x4fc017),this['_update']({'attributes':_0x3d395f});}['_update'](_0x227159,_0x3d9612=!0x1){let _0x8dbaaa=!0x1;const _0x2fb4ad={'id':this['id']},_0x2e9cdf=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xbd432c of _0x2e9cdf){const _0x38afe8=_0x227159[_0xbd432c];void 0x0!==_0x38afe8&&_0x38afe8!==this[_0xbd432c]&&(this[_0xbd432c]=_0x38afe8,_0x2fb4ad[_0xbd432c]=_0x38afe8,_0x8dbaaa=!0x0);}_0x8dbaaa&&(_0x2fb4ad['authors']&&(_0x2fb4ad['authorsIds']=_0x2fb4ad['authors']['map'](_0x512b32=>_0x512b32['id']),delete _0x2fb4ad['authors']),this['fire']('_update',_0x2fb4ad,_0x3d9612));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4dec26=>_0x4dec26['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x56b499{['_revisions'];static get['requires'](){return[_0x2afb4f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x328c05){super(_0x328c05),this['_revisions']=new _0x49484f();}['afterInit'](){!function(_0x627225){function _0x3a3673(_0x144cd9,_0x10a975,_0x3cb604){const _0x5ebaf3={};_0x5ebaf3[_0x26c030([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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],_0x5ebaf3[_0x26c030([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 _0x628c64=new Uint8Array(0x10);for(let _0x4ea61a=0xf;_0x4ea61a>=0x0;--_0x4ea61a)_0x628c64[_0x4ea61a]=_0x3cb604%0x100,_0x3cb604=parseInt(_0x3cb604/0x100);let _0x5d92f9=null,_0x3f796a=0x10;const _0x3bff47=new Uint8Array(_0x10a975),_0x376f39=[],_0x3d2395=[];_0x35f04c();for(let _0x3a8c82=0x0;_0x3a8c82<_0x144cd9[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a8c82++)0x10===_0x3f796a&&(_0x5d92f9=_0x586a4d(_0x628c64),_0x3f796a=0x0,_0x5504e5(_0x628c64)),_0x144cd9[_0x3a8c82]^=_0x5d92f9[_0x3f796a++];return _0x144cd9;function _0x26573c(_0x3e8552){const _0x1cd64e=[];for(let _0x4983a4=0x0;_0x4983a4<_0x3e8552[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4983a4+=0x4)_0x1cd64e[_0x26c030([0x70,0x75,0x73,0x68])](_0x3e8552[_0x4983a4]<<0x18|_0x3e8552[_0x4983a4+0x1]<<0x10|_0x3e8552[_0x4983a4+0x2]<<0x8|_0x3e8552[_0x4983a4+0x3]);return _0x1cd64e;}function _0x5504e5(_0xade2ec){for(let _0x4f9eeb=0xf;_0x4f9eeb>=0x0;_0x4f9eeb--){if(0xff!==_0xade2ec[_0x4f9eeb]){_0xade2ec[_0x4f9eeb]++;break;}_0xade2ec[_0x4f9eeb]=0x0;}}function _0x586a4d(_0x2e15b0){const _0x9639c3=_0x376f39[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5c4461=[0x0,0x0,0x0,0x0];let t=_0x26573c(_0x2e15b0);for(let _0x41b74e=0x0;_0x41b74e<0x4;_0x41b74e++)t[_0x41b74e]^=_0x376f39[0x0][_0x41b74e];for(let _0x231f51=0x1;_0x231f51<_0x9639c3;_0x231f51++){for(let _0x25f45e=0x0;_0x25f45e<0x4;_0x25f45e++)_0x5c4461[_0x25f45e]=_0x5ebaf3[_0x26c030([0x54,0x31])][t[_0x25f45e]>>0x18&0xff]^_0x5ebaf3[_0x26c030([0x54,0x32])][t[(_0x25f45e+0x1)%0x4]>>0x10&0xff]^_0x5ebaf3[_0x26c030([0x54,0x33])][t[(_0x25f45e+0x2)%0x4]>>0x8&0xff]^_0x5ebaf3[_0x26c030([0x54,0x34])][0xff&t[(_0x25f45e+0x3)%0x4]]^_0x376f39[_0x231f51][_0x25f45e];t=_0x5c4461[_0x26c030([0x73,0x6c,0x69,0x63,0x65])]();}const _0x295248=new Uint8Array(0x10);let _0x59790a;for(let _0x5e70ff=0x0;_0x5e70ff<0x4;_0x5e70ff++)_0x59790a=_0x376f39[_0x9639c3][_0x5e70ff],_0x295248[0x4*_0x5e70ff]=0xff&(_0x5ebaf3[_0x26c030([0x53])][t[_0x5e70ff]>>0x18&0xff]^_0x59790a>>0x18),_0x295248[0x4*_0x5e70ff+0x1]=0xff&(_0x5ebaf3[_0x26c030([0x53])][t[(_0x5e70ff+0x1)%0x4]>>0x10&0xff]^_0x59790a>>0x10),_0x295248[0x4*_0x5e70ff+0x2]=0xff&(_0x5ebaf3[_0x26c030([0x53])][t[(_0x5e70ff+0x2)%0x4]>>0x8&0xff]^_0x59790a>>0x8),_0x295248[0x4*_0x5e70ff+0x3]=0xff&(_0x5ebaf3[_0x26c030([0x53])][0xff&t[(_0x5e70ff+0x3)%0x4]]^_0x59790a);return _0x295248;}function _0x35f04c(){const _0x3dcc86=_0x5ebaf3[_0x26c030([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3bff47[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x56c2ee=0x0;_0x56c2ee<=_0x3dcc86;_0x56c2ee++)_0x376f39[_0x26c030([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3d2395[_0x26c030([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x12f472=0x4*(_0x3dcc86+0x1),_0x538b68=_0x3bff47[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x594c60=_0x26573c(_0x3bff47);let _0x3e38f8;for(let _0x29a80c=0x0;_0x29a80c<_0x538b68;_0x29a80c++)_0x3e38f8=_0x29a80c>>0x2,_0x376f39[_0x3e38f8][_0x29a80c%0x4]=_0x594c60[_0x29a80c],_0x3d2395[_0x3dcc86-_0x3e38f8][_0x29a80c%0x4]=_0x594c60[_0x29a80c];let _0x5a29ec,_0x193765=0x0,t=_0x538b68;for(;t<_0x12f472;){_0x5a29ec=_0x594c60[_0x538b68-0x1],_0x594c60[0x0]^=_0x5ebaf3[_0x26c030([0x53])][_0x5a29ec>>0x10&0xff]<<0x18^_0x5ebaf3[_0x26c030([0x53])][_0x5a29ec>>0x8&0xff]<<0x10^_0x5ebaf3[_0x26c030([0x53])][0xff&_0x5a29ec]<<0x8^_0x5ebaf3[_0x26c030([0x53])][_0x5a29ec>>0x18&0xff]^_0x5ebaf3[_0x26c030([0x72,0x63,0x6f,0x6e])][_0x193765]<<0x18,_0x193765+=0x1;for(let _0x230075=0x1;_0x230075<_0x538b68/0x2;_0x230075++)_0x594c60[_0x230075]^=_0x594c60[_0x230075-0x1];_0x5a29ec=_0x594c60[_0x538b68/0x2-0x1],_0x594c60[_0x538b68/0x2]^=_0x5ebaf3[_0x26c030([0x53])][0xff&_0x5a29ec]^_0x5ebaf3[_0x26c030([0x53])][_0x5a29ec>>0x8&0xff]<<0x8^_0x5ebaf3[_0x26c030([0x53])][_0x5a29ec>>0x10&0xff]<<0x10^_0x5ebaf3[_0x26c030([0x53])][_0x5a29ec>>0x18&0xff]<<0x18;for(let _0x50dd75=_0x538b68/0x2+0x1;_0x50dd75<_0x538b68;_0x50dd75++)_0x594c60[_0x50dd75]^=_0x594c60[_0x50dd75-0x1];let _0x3b0d9a,_0x4f57b0,_0x260bbf=0x0;for(;_0x260bbf<_0x538b68&&t<_0x12f472;)_0x3b0d9a=t>>0x2,_0x4f57b0=t%0x4,_0x376f39[_0x3b0d9a][_0x4f57b0]=_0x594c60[_0x260bbf],_0x3d2395[_0x3dcc86-_0x3b0d9a][_0x4f57b0]=_0x594c60[_0x260bbf++],t++;}for(let _0x4ddafa=0x1;_0x4ddafa<_0x3dcc86;_0x4ddafa++)for(let _0x138721=0x0;_0x138721<0x4;_0x138721++)_0x5a29ec=_0x3d2395[_0x4ddafa][_0x138721],_0x3d2395[_0x4ddafa][_0x138721]=_0x5ebaf3[_0x26c030([0x55,0x31])][_0x5a29ec>>0x18&0xff]^_0x5ebaf3[_0x26c030([0x55,0x32])][_0x5a29ec>>0x10&0xff]^_0x5ebaf3[_0x26c030([0x55,0x33])][_0x5a29ec>>0x8&0xff]^_0x5ebaf3[_0x26c030([0x55,0x34])][0xff&_0x5a29ec];}}function _0x26c030(_0x55b152){return _0x55b152['map'](_0x18da0b=>String['fromCharCode'](_0x18da0b))['join']('');}(_0x33e139=>{function _0x135e9f(){const _0x25d0e8=[{[_0x26c030([0x69,0x64])]:0x1,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x26c030([0x69,0x64])]:0x2,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([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]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x26c030([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x26c030([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x26c030([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x26c030([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x26c030([0x69,0x64])]:0x3,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x26c030([0x69,0x64])]:0x4,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([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]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x26c030([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x26c030([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x26c030([0x69,0x64])]:0x5,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([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]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}},{[_0x26c030([0x69,0x64])]:0x6,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}},{[_0x26c030([0x69,0x64])]:0x7,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}},{[_0x26c030([0x69,0x64])]:0x8,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([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]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}},{[_0x26c030([0x69,0x64])]:0x9,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x26c030([0x69,0x64])]:0xa,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([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]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([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]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([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]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}},{[_0x26c030([0x69,0x64])]:0xb,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x26c030([0x69,0x64])]:0xc,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x26c030([0x69,0x64])]:0xd,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}},{[_0x26c030([0x69,0x64])]:0xe,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x26c030([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([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])},{[_0x26c030([0x69,0x64])]:0xf,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x26c030([0x69,0x64])]:0x10,[_0x26c030([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26c030([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26c030([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26c030([0x66,0x67,0x69])]:[0xc]}}];return _0x42ddf(_0x25d0e8),_0x25d0e8;function _0xd96c40(_0xf6e7ed){return 0x1<<_0xf6e7ed-0x1;}function _0x42ddf(_0x445fee){_0x445fee[_0x26c030([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x571d8c=>{_0x571d8c[_0x26c030([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xd96c40(_0x571d8c[_0x26c030([0x69,0x64])]),_0x342374(_0x571d8c)&&_0x571d8c[_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x42ddf(_0x571d8c[_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x342374(_0x5495a3){return _0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5495a3;}const _0x2df92c=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xdf4e26=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3dcccd(_0x15ac0e){const _0x1c89d5=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x368e34(_0x15ac0e,new Uint8Array([..._0x2df92c,..._0x1c89d5,..._0xdf4e26]));}function _0x368e34(_0x39269e,_0xb19061){const _0x5a8548=_0xf0e8ac(_0x39269e),_0x1683bf=Array[_0x26c030([0x66,0x72,0x6f,0x6d])](_0x48c000(_0x5a8548)),_0x535308=_0x1683bf[_0x26c030([0x70,0x6f,0x70])](),_0x3e0602=_0x1683bf[_0x26c030([0x70,0x6f,0x70])]();return _0x588fe2(_0x3a3673(_0x1683bf,_0xb19061,_0x3e0602+0x100*_0x535308));}function _0xf0e8ac(_0xf007c3){const _0x23369d=atob(_0xf007c3),[_0x561a60,_0x4c2fd4]=_0x23369d[_0x26c030([0x73,0x70,0x6c,0x69,0x74])](_0x26c030([0x2d]));try{if(atob(_0x4c2fd4))return atob(_0x561a60);}catch(_0x26a536){}return _0x23369d;}function _0xdc32d5(_0x4a1720){try{const _0xa66e41=_0x3dcccd(_0x4a1720),_0x1c7dd2=JSON[_0x26c030([0x70,0x61,0x72,0x73,0x65])](_0xa66e41),_0x15a887=parseInt(_0x1c7dd2[_0x26c030([0x31])]),_0x32dfd9=_0x1c7dd2[_0x26c030([0x32])]||'',_0x36aabf=parseInt(_0x1c7dd2[_0x26c030([0x33])]),_0x23f061=parseInt(_0x1c7dd2[_0x26c030([0x34])])||0x0,_0x50c008=parseInt(_0x1c7dd2[_0x26c030([0x35])])||0x0;return{[_0x26c030([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x32dfd9,[_0x26c030([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x23f061,[_0x26c030([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x15a887,[_0x26c030([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x36aabf,[_0x26c030([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x50c008};}catch(_0x96b87a){return null;}}const _0x3342d6=_0x135e9f(),_0x5d949a={[_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2fd3ab,[_0x26c030([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])]:_0x1b1359,[_0x26c030([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])]:_0x493b53},_0x506370=_0x33e139[_0x26c030([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x156a66=_0x26c030([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x33e139?_0x33e139['context']:_0x33e139['editor'],_0x406ec5=_0x26c030([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x34]),_0x136ef3=_0x26c030([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]),_0x196fa0=_0x156a66['config']['get'](_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x55fde6=_0x3342d6[_0x26c030([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x342374)[_0x26c030([0x66,0x69,0x6e,0x64])](_0x507342=>_0x507342[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x506370);function _0x1659bd(_0x3c2a53,_0x50d125){_0x5d949a[_0x50d125[_0x26c030([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3c2a53,_0x50d125),_0x50d125[_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x50d125[_0x26c030([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x26c030([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f4207=>_0x1bd9cb(_0x156a66,_0x1f4207[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x26c030([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59a55c=>_0x1659bd(_0x3c2a53,_0x59a55c));}function _0x2fd3ab(_0x376a63,_0x33331c){_0x911a96(_0x5a218b(_0x376a63,_0x33331c),_0x33331c);}function _0x1b1359(_0x85add3,_0xb85f7b){function _0x2ba1e3(_0x455556,_0x2cf738){try{if(_0x1bd9cb(_0x156a66,_0x26c030([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x455556){const _0x45bbfa=_0x31c8e3(_0x156a66,_0x26c030([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x26c030([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x45bbfa)/0x2>_0x455556[_0x26c030([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3878a3(_0x2cf738[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5a218b(_0x455556,_0x2cf738);}catch(_0x1f9809){return _0x3878a3(_0x2cf738[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x911a96(_0x2ba1e3(_0x85add3,_0xb85f7b),_0xb85f7b);}function _0x493b53(_0x3360d6,_0x1102e1){const _0xf21b19=_0xdf4e26[0x0]*_0x2df92c[0x1],_0x333797=_0xdf4e26[0x0]*_0x2df92c[0x2],_0x2c0b10=_0xdf4e26[0x2]*_0x2df92c[0x2];_0x1bd9cb(_0x156a66,_0x26c030([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x31c8e3(_0x156a66,_0x26c030([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x26c030([0x73,0x74,0x61,0x74,0x65])]==_0x26c030([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1ae99f()]=_0x2c0b10);function _0x1ea6bb(_0x9af43b,_0x1177cc){try{return _0xa61934()?_0x3878a3(_0x1177cc[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x56,0x61,0x6c,0x69,0x64])):_0x5a218b(_0x9af43b,_0x1177cc);}catch(_0x57fc6e){return _0x3878a3(_0x1177cc[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4219f2(_0x1ce10a,_0x5e6978){const _0x41d63c=0x7;if(_0x1ce10a==_0x5e6978[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x49347d();else{if(_0x1ce10a==_0x5e6978[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c])){const _0x106f0a=_0xc1ef07();_0x106f0a&&_0x2263a4(_0x106f0a,_0x5e6978[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x450fce=_0x87bfee();window[_0x26c030([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2263a4(_0x26c030([0x74,0x69,0x6d,0x65]),_0x5e6978[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x450fce);const _0x47d049=_0x31c8e3(_0x156a66,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x26c030([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x47d049[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x41d63c?_0x2263a4(_0x26c030([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5e6978[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x47d049['on'](_0x26c030([0x61,0x64,0x64]),()=>{_0x47d049[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x41d63c&&_0x2263a4(_0x26c030([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5e6978[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xc1ef07(){if(!_0x1bd9cb(_0x156a66,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x347cbf in window)if(Number['isNaN'](Number(_0x347cbf))){if(window[_0x347cbf]===_0xf21b19)return _0x26c030([0x74,0x69,0x6d,0x65]);if(window[_0x347cbf]===_0x333797)return _0x26c030([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xa61934(){if(!_0x1bd9cb(_0x156a66,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x448cd5 in window)if(Number['isNaN'](Number(_0x448cd5))&&window[_0x448cd5]===_0x2c0b10)return!0x0;return!0x1;}function _0x2263a4(_0x4788e3,_0x2b80e0){_0x49347d(),_0x3878a3(_0x2b80e0+_0x26c030([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4788e3),window[_0x1ae99f()]=_0x4788e3===_0x26c030([0x74,0x69,0x6d,0x65])?_0xf21b19:_0x333797;}function _0x87bfee(){let _0x1115e3=_0xdf4e26[0x6]*_0x2df92c[0x8]*_0x2df92c[0x6];return _0x1bd9cb(_0x156a66,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1115e3/=0xa),_0x1115e3;}function _0x49347d(){const _0x41bcb5=_0x156a66;function _0x31ec42(){_0x1bd9cb(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26c030([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x26c030([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26c030([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26c030([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x18d171,_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26c030([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x18d171,_0x41bcb5[_0x26c030([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c030([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18d171,_0x41bcb5[_0x26c030([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c030([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18d171,_0x41bcb5[_0x26c030([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26c030([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1bd9cb(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26c030([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x26c030([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26c030([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26c030([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x18d171,_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26c030([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x18d171);}_0x41bcb5[_0x26c030([0x73,0x74,0x61,0x74,0x65])]==_0x26c030([0x72,0x65,0x61,0x64,0x79])?_0x31ec42():_0x41bcb5[_0x26c030([0x6f,0x6e,0x63,0x65])](_0x26c030([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1bd9cb(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x31ec42(),_0x1bd9cb(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x58e55e=_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2e1219=_0x58e55e['getRevision'](0x0),_0x3a2ec9=_0x58e55e['getEarlierVisibleRevision'](_0x2e1219[_0x26c030([0x69,0x64])]);_0x31c8e3(_0x41bcb5,_0x26c030([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26c030([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2e1219[_0x26c030([0x69,0x64])],_0x3a2ec9?_0x3a2ec9[_0x26c030([0x69,0x64])]:null,0x1)['then'](()=>_0x31ec42());}});}_0x4219f2(_0x1ea6bb(_0x3360d6,_0x1102e1),_0x1102e1);}function _0x5a218b(_0x2cd92a,_0xb44818){try{return _0x2a99af(_0xb44818)?_0x3878a3(_0xb44818[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x56,0x61,0x6c,0x69,0x64])):_0x2cd92a&&_0x4154f0(_0x2cd92a[_0x26c030([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xb44818)?_0x2cd92a[_0x26c030([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x26c030([0x6f,0x70,0x65,0x6e])][_0x26c030([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x406ec5)/0x2>_0x2cd92a[_0x26c030([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3878a3(_0xb44818[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2cd92a[_0x26c030([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3878a3(_0xb44818[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c])):_0x3878a3(_0xb44818[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x56,0x61,0x6c,0x69,0x64])):_0x3878a3(_0xb44818[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x584109){return _0x3878a3(_0xb44818[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x911a96(_0x56d367,_0x174516){if(_0x156a66 instanceof _0x4a4c3c){const _0x5b9504=_0x156a66;_0x56d367==_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2bdb6a(_0x5b9504):_0x56d367==_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c])&&window[_0x26c030([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2bdb6a(_0x5b9504),_0x3878a3(_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xdf4e26[0x6]*_0x2df92c[0x8]*_0x2df92c[0x6]),_0x5b9504[_0x26c030([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x26c030([0x6f,0x6e])](_0x26c030([0x61,0x64,0x64]),(_0x5578bd,_0x5ae712)=>{_0x56d367!=_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x56d367!=_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x56d367!=_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3ec6bc(_0x5ae712);});}else{const _0x244134=_0x156a66;_0x56d367==_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3ec6bc(_0x244134):_0x56d367==_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c])&&_0x244134[_0x26c030([0x6f,0x6e])](_0x26c030([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x554f97=0x0;_0x244134[_0x26c030([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c030([0x6f,0x6e])](_0x26c030([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22d8d5,_0x374bfb)=>{_0x374bfb[0x0][_0x26c030([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x554f97++,0x1f8===_0x554f97&&(_0x3ec6bc(_0x244134),_0x3878a3(_0x174516[_0x26c030([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26c030([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x22d8d5[_0x26c030([0x6f,0x66,0x66])]());},{'priority':_0x26c030([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3878a3(_0x14408c){const _0x3fde55=_0x1ae99f();return _0x156a66[_0x3fde55]=_0x14408c,_0x14408c;}function _0x1ae99f(){const _0x46c559=String(window[_0x26c030([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26c030([0x6e,0x6f,0x77])]())[_0x26c030([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26c030([0x2e]),'');let _0x371e3d='';for(let _0x598880=0x0;_0x598880<_0x46c559[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x598880+=0x2){let _0xd1190d=parseInt(_0x46c559[_0x26c030([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x598880,_0x598880+0x2));_0xd1190d>=_0x136ef3[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd1190d-=_0x136ef3[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x371e3d+=_0x136ef3[_0xd1190d];}return _0x371e3d;}function _0x2bdb6a(_0x35fc8c){for(const _0x3fac66 of _0x35fc8c[_0x26c030([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3ec6bc(_0x3fac66);_0x31c8e3(_0x35fc8c,_0x26c030([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x26c030([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x31c8e3(_0x35fc8c,_0x26c030([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x26c030([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x18d171;}function _0x3ec6bc(_0x37d9ec){function _0x5e76f7(){_0x37d9ec[_0x26c030([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c030([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18d171,_0x37d9ec[_0x26c030([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c030([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18d171,_0x37d9ec[_0x26c030([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26c030([0x6d,0x6f,0x64,0x65,0x6c]));}_0x37d9ec[_0x26c030([0x73,0x74,0x61,0x74,0x65])]==_0x26c030([0x72,0x65,0x61,0x64,0x79])?_0x5e76f7():_0x37d9ec[_0x26c030([0x6f,0x6e,0x63,0x65])](_0x26c030([0x72,0x65,0x61,0x64,0x79]),()=>_0x5e76f7());}function _0x18d171(){return null;}function _0x4154f0(_0x3fa8ff,_0x34a15d){const _0x3b23b2=!!(_0x3fa8ff&_0x34a15d[_0x26c030([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2846e0=_0x3b2830(_0x3fa8ff,_0x34a15d);return _0x3b23b2||_0x2846e0;}function _0x3b2830(_0x46ffb9,_0x3e2cb9){const _0x73d13b=(_0x3e2cb9[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x26c030([0x66,0x67,0x69])]||null;return!!_0x73d13b&&_0x3342d6[_0x26c030([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30efad=>_0x73d13b[_0x26c030([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30efad[_0x26c030([0x69,0x64])]))[_0x26c030([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x351103=>!_0x371fe1(_0x351103))[_0x26c030([0x73,0x6f,0x6d,0x65])](_0x327c90=>!!(_0x46ffb9&_0x327c90[_0x26c030([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x371fe1(_0x276bf5){const _0x1bad7a={[_0x26c030([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])]:_0x5d8c89};return!!_0x276bf5['forbiddenHandler']&&_0x1bad7a[_0x276bf5['forbiddenHandler']]();}function _0x5d8c89(){return!window[_0x26c030([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1bd9cb(_0x156a66,_0x26c030([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2a99af(_0x401632){if(!_0x1bd9cb(_0x156a66,_0x401632[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x505263=_0x401632[_0x26c030([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5b6e0e=_0x505263[_0x26c030([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x13712d=_0x505263[_0x26c030([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x562eab=_0x505263[_0x26c030([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1bd9cb(_0x156a66,_0x26c030([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x31c8e3(_0x156a66,_0x26c030([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x26c030([0x73,0x74,0x61,0x74,0x65])]==_0x26c030([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5b6e0e)return!0x0;if(_0x1bd9cb(_0x156a66,_0x26c030([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x31c8e3(_0x156a66,_0x26c030([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x26c030([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x26c030([0x65,0x6e,0x64])&&_0x13712d)return!0x0;return!(!_0x1bd9cb(_0x156a66,_0x26c030([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]))||_0x31c8e3(_0x156a66,_0x26c030([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]))[_0x26c030([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x26c030([0x65,0x6e,0x64])||!_0x562eab);}function _0x1bd9cb(_0x61cd73,_0x97d170){return _0x61cd73[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x26c030([0x68,0x61,0x73])](_0x97d170);}function _0x31c8e3(_0x5ea002,_0x471767){return _0x5ea002[_0x26c030([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x26c030([0x67,0x65,0x74])](_0x471767);}function _0x588fe2(_0xbdf418){let _0x498e29='';for(const _0x2b1bc8 of _0xbdf418)_0x498e29+=String[_0x26c030([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2b1bc8);return _0x498e29;}function _0x48c000(_0x1c7ad8){const _0x43657d=new Uint8Array(_0x1c7ad8[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x19bb07=0x0;_0x19bb07<_0x1c7ad8[_0x26c030([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19bb07++)_0x43657d[_0x19bb07]=_0x1c7ad8[_0x26c030([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19bb07);return _0x43657d;}_0x55fde6&&_0x1659bd(_0xdc32d5(_0x196fa0),_0x55fde6);})(_0x627225);}(this);}['createRevision'](_0x4ac436){const _0x20db24=this['editor']['plugins']['get']('Users');return new a({'id':_0x4ac436['id'],'name':_0x4ac436['name'],'creator':_0x4ac436['creatorId']?_0x20db24['getUser'](_0x4ac436['creatorId']):null,'diffData':_0x4ac436['diffData']||_0x4ac436['data'],'authors':_0x4ac436['authorsIds']['map'](_0xbf0925=>_0x20db24['getUser'](_0xbf0925)),'createdAt':new Date(_0x4ac436['createdAt']),'attributes':_0x4ac436['attributes'],'fromVersion':_0x4ac436['fromVersion'],'toVersion':_0x4ac436['toVersion']});}['addRevision'](_0x6b8fea,_0x42f22d=0x0){this['_revisions']['add'](_0x6b8fea,_0x42f22d);}['getRevision'](_0x22323a){return this['_revisions']['get'](_0x22323a);}['getRevisions'](_0x5a8eff={'toJSON':!0x1}){const _0x51b062=Array['from'](this['_revisions']);return _0x51b062['reverse'](),_0x5a8eff['toJSON']?_0x51b062['map'](_0x27c13a=>_0x27c13a['toJSON']()):_0x51b062;}['getIndex'](_0x4b7f38){return this['_revisions']['getIndex'](_0x4b7f38);}['getEarlierVisibleRevision'](_0x5f3987){const [,_0x3814bc]=this['getRevisionsIterator'](_0x5f3987,{'direction':'earlier'});return _0x3814bc;}['getLaterVisibleRevision'](_0x1c75b6){const [,_0x38a759]=this['getRevisionsIterator'](_0x1c75b6,{'direction':'later'});return _0x38a759;}['getRevisionsInDiff'](_0x1853b5){const _0x247c59=[];for(const _0x5131ef of this['getRevisionsIterator'](_0x1853b5['newRevisionId']))if(_0x247c59['push'](_0x5131ef),_0x5131ef['id']===_0x1853b5['oldRevisionId'])break;return _0x247c59;}*['getRevisionsIterator'](_0x539d0b,{direction:_0x4e7329='earlier',filter:_0x2ccbee=_0x4c9a30=>!0x0}={}){const _0xc7abf1='earlier'===_0x4e7329?0x1:-0x1;let _0x2685b5=this['_revisions']['get'](_0x539d0b),_0x10fa96=this['getIndex'](_0x2685b5);for(yield _0x2685b5;_0x2685b5;){if(_0x10fa96+=_0xc7abf1,_0x2685b5=this['getRevision'](_0x10fa96),!_0x2685b5)return;_0x2ccbee(_0x2685b5)&&(yield _0x2685b5);}}}function y(_0x4e1a1d,_0x110c99,_0x2d44a0){const t=_0x4e1a1d['t'];switch(_0x110c99){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'},_0x2d44a0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2d44a0);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':_0x4418cb,'a':_0xfbd931,'e':_0x1983f8,'r':_0x11c06d,'u':_0x532908};class l extends _0x56b499{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2afb4f,A,_0x273f55];}constructor(_0x151a47){super(_0x151a47),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 _0x4f8f36=_0x45f5e4();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4f8f36},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 _0xd80b68=this['repository']['getRevision'](0x0),_0x79e74c=_0xd80b68&&null===_0xd80b68['creator']?_0xd80b68:null;if(this['_continueCurrentRevision']=!!_0x79e74c&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x33e435=this['_source']['getCurrentRevisionId'](),_0x3dc022=this['repository']['getRevision'](_0x33e435);if(_0x3dc022)this['_startingVersion']=_0x3dc022['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x15a589=this['_source']['history']['_operations']['find'](_0x1abca7=>!_0x1abca7['_isInit']),_0xba1ec2=_0x15a589?_0x15a589['baseVersion']:this['_source']['history']['version'];_0xd80b68?(_0xd80b68['toVersion']<_0xba1ec2&&_0xd80b68['_update']({'toVersion':_0xba1ec2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x79e74c['id'],this['_startingVersion']=_0x79e74c['fromVersion']):(this['_startingVersion']=_0xd80b68['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xba1ec2,this['_continueCurrentRevision']=!0x1);}}else _0x79e74c&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x79e74c['toVersion'],this['editor']['model']['document']['history']['version']),_0x79e74c['fromVersion']===_0x79e74c['toVersion']?(0x0!==_0x79e74c['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x79e74c['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x79e74c['id'],this['_startingVersion']=_0x79e74c['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',_0x2aaefb=>!_0x2aaefb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x56da3b=this['repository']['getRevision'](0x0),_0x56157c=await this['getRevisionDocumentData'](_0x56da3b),_0x181569=await this['getRevisionRootsAttributes'](_0x56da3b);this['_replaceEditorDataWithRevisionData'](_0x56157c,_0x181569);}}['setSource'](_0x3668a5){this['_source']=_0x3668a5;}async['update'](){const _0x58676b=await this['_source']['getLatestVersion']();if(_0x58676b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x332ed3=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x58676b});_0x332ed3['authors']=_0x332ed3['authorsIds']['map'](_0x2a53eb=>this['editor']['plugins']['get']('Users')['getUser'](_0x2a53eb)),this['currentRevision']['_update'](_0x332ed3);}}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'](_0x157a09={},_0x219fcd=null){const _0x207ece=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x219fcd>this['currentRevision']['toVersion']&&(_0x219fcd=null),null===_0x219fcd&&(_0x219fcd=await this['_source']['getLatestVersion']());const _0x554188=this['_getFromVersion'](_0x219fcd),_0xa4f1a0=this['buildRevisionData']({'from':_0x554188,'to':_0x219fcd});if(this['currentRevision']['toVersion']<_0x219fcd){const _0x50d2ee=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x219fcd,'to':_0x219fcd});_0x50d2ee['authors']=[],_0x50d2ee['authorsIds']=[],_0x50d2ee['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x50d2ee,!0x0),delete _0x50d2ee['authors'],_0x207ece['push'](_0x50d2ee);}_0x157a09['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x157a09['name']=_0x157a09['name']||null,_0x157a09['id']=_0x157a09['id']||_0x45f5e4(),_0x157a09={..._0x157a09,..._0xa4f1a0};const _0x45ab3b=this['addRevisionData'](_0x157a09);_0x207ece['push'](_0x157a09);const _0x26a8c6=this['repository']['getIndex'](_0x45ab3b);if(0x0!==_0x26a8c6){const _0x167c09=this['repository']['getRevision'](_0x26a8c6-0x1);if(_0x167c09['fromVersion']!==_0x219fcd){const _0x38586a=this['_revisionDataBuilder']['getData'](_0x219fcd,_0x167c09['toVersion']),_0x163fee={'id':_0x167c09['id'],'diffData':_0x38586a['diffData'],'authorsIds':_0x38586a['authorsIds'],'authors':_0x38586a['authorsIds']['map'](_0x5b7798=>this['editor']['plugins']['get']('Users')['getUser'](_0x5b7798)),'fromVersion':_0x219fcd};_0x167c09===this['currentRevision']&&(_0x163fee['createdAt']=new Date(_0x157a09['createdAt']['getTime']()+0xa)),_0x167c09['_update'](_0x163fee,!0x0),delete _0x163fee['authors'],_0x207ece['push'](_0x163fee);}}if(this['adapter']){for(const _0x27ae84 of _0x207ece)this['_bufferUpdate'](_0x27ae84['id'],_0x27ae84,!0x0);this['sendBufferedUpdates']();}return _0x45ab3b;}['addRevisionData'](_0x1967fa){const _0x3617a2=this['repository']['createRevision'](_0x1967fa);return this['adapter']&&_0x3617a2['on']('_update',(_0x422494,_0x1d7f85,_0x46be75)=>{_0x46be75||(this['_bufferUpdate'](_0x1d7f85['id'],_0x1d7f85,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3617a2,this['_findInsertionIndex'](_0x3617a2)),_0x3617a2;}async['getRevisionDocumentData'](_0x356c5d){await this['_loadRevisionData'](_0x356c5d);const _0x2b837f={};for(const _0x26c202 in _0x356c5d['diffData']){if(_0x356c5d['diffData'][_0x26c202]['attachChange']&&!_0x356c5d['diffData'][_0x26c202]['attachChange']['isAttached'])continue;const _0x164a2b=this['_removeRevisionMarkers'](JSON['parse'](_0x356c5d['diffData'][_0x26c202]['insertions'])),_0x55978b=this['editor']['editing']['view']['document'],_0x4da48d=new _0x50d8b3(_0x55978b,_0x164a2b['map'](_0x142842=>B(_0x142842,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2b837f[_0x26c202]=this['editor']['data']['processor']['toData'](_0x4da48d),this['editor']['data']['processor']['useFillerType']('default');}return _0x2b837f;}async['getRevisionRootsAttributes'](_0x15881a){await this['_loadRevisionData'](_0x15881a);const _0x58b9f3={};for(const _0x5d7f50 in _0x15881a['diffData'])_0x15881a['diffData'][_0x5d7f50]['attachChange']&&!_0x15881a['diffData'][_0x5d7f50]['attachChange']['isAttached']||(_0x58b9f3[_0x5d7f50]=_0x15881a['diffData'][_0x5d7f50]['attributesAfter']||{});return _0x58b9f3;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x44c8bc=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3e3d42=0x0;_0x3e3d42<_0x44c8bc['length'];_0x3e3d42++){const _0x3e14b4=_0x44c8bc[_0x3e3d42];let _0x347294=!0x1;for(const _0x274209 of Object['keys'](_0x3e14b4))void 0x0===_0x3e14b4[_0x274209]?delete _0x3e14b4[_0x274209]:'id'!==_0x274209&&(_0x347294=!0x0);_0x347294||(_0x44c8bc[_0x3e3d42]=null);}if(_0x44c8bc=_0x44c8bc['filter'](_0x33fa12=>null!==_0x33fa12),!_0x44c8bc['length'])return;for(let _0x60f524=0x0;_0x60f524<_0x44c8bc['length'];_0x60f524++){const _0x60a9ec=_0x44c8bc[_0x60f524];void 0x0!==_0x60a9ec['fromVersion']&&void 0x0===_0x60a9ec['toVersion']&&(_0x60a9ec['toVersion']=this['repository']['getRevision'](_0x60a9ec['id'])['toVersion']),void 0x0!==_0x60a9ec['toVersion']&&void 0x0===_0x60a9ec['fromVersion']&&(_0x60a9ec['fromVersion']=this['repository']['getRevision'](_0x60a9ec['id'])['fromVersion']);}const _0xb278af=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x44c8bc,_0xb278af)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2b9282=>{if(_0x2b9282){for(const _0x2e0e5c of _0x2b9282)this['setRevisionData']({'id':_0x2e0e5c['id'],'createdAt':_0x2e0e5c['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4cc37a,_0x213ef1){let _0x31ec17=this['editor']['config']['get']('initialData'),_0x3318b3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x31ec17){_0x31ec17={};for(const _0x5aa6d4 of this['editor']['model']['document']['getRootNames']())_0x31ec17[_0x5aa6d4]='';}if('string'==typeof _0x31ec17&&(_0x31ec17={'main':_0x31ec17}),void 0x0===_0x3318b3){_0x3318b3={};for(const _0x4f8c58 of this['editor']['model']['document']['getRootNames']())_0x3318b3[_0x4f8c58]={};}let _0x2bfdb4=!0x1;const _0x96363c=Object['keys'](_0x31ec17),_0x45ac4a=Object['keys'](_0x4cc37a);for(const _0x3a62af of _0x96363c){if(_0x31ec17[_0x3a62af]!==_0x4cc37a[_0x3a62af]&&''!==_0x31ec17[_0x3a62af]['trim']()){_0x2bfdb4=!0x0;break;}if(!_0x19a1e5(_0x3318b3[_0x3a62af],_0x213ef1[_0x3a62af])&&Object['keys'](_0x3318b3[_0x3a62af])['length']>0x0){_0x2bfdb4=!0x0;break;}}_0x2bfdb4||(_0x2bfdb4=_0x45ac4a['some'](_0x1933cc=>!this['editor']['model']['document']['getRoot'](_0x1933cc))),_0x2bfdb4&&_0x2cfe33('editor-initial-data-replaced-with-revision-data',{'editorData':_0x31ec17,'editorRootsAttributes':_0x3318b3,'revisionData':_0x4cc37a,'revisionRootsAttributes':_0x213ef1}),this['editor']['config']['set']('initialData',_0x4cc37a),this['editor']['config']['set']('rootsAttributes',_0x213ef1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x457ce3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x457ce3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4fa04b){const _0x419589=this['repository']['getRevisions']();_0x419589['reverse']();let _0x39dd63=0x0;for(;_0x39dd63<_0x419589['length'];){const _0x3c97e5=_0x419589[_0x39dd63];if(_0x3c97e5===this['currentRevision']){_0x39dd63++;continue;}if(_0x3c97e5['id']===this['_initialRevisionId'])break;const _0x2a769f=_0x4fa04b['toVersion']-_0x3c97e5['toVersion']||_0x4fa04b['fromVersion']-_0x3c97e5['fromVersion'];if(_0x2a769f>0x0)break;if(_0x2a769f<0x0)_0x39dd63++;else{if(!_0x4fa04b['creator']&&_0x3c97e5['creator'])break;if(_0x3c97e5['creator']||!_0x4fa04b['creator']){if(_0x4fa04b['createdAt']>_0x3c97e5['createdAt'])break;_0x39dd63++;}else _0x39dd63++;}}return _0x39dd63;}['setRevisionData'](_0x1c938f){const _0xf45fae=this['repository']['getRevision'](_0x1c938f['id']);if(_0x1c938f['createdAt']&&(_0x1c938f['createdAt']=new Date(_0x1c938f['createdAt'])),_0x1c938f['authorsIds']){const _0x53a904=this['editor']['plugins']['get']('Users');_0x1c938f['authors']=_0x1c938f['authorsIds']['map'](_0x185be2=>_0x53a904['getUser'](_0x185be2));}_0xf45fae['_update'](_0x1c938f,!0x0);}['buildRevisionData']({revision:_0x236d06=null,from:_0x26f6d4=null,to:_0x4e330e=null}){_0x26f6d4=null!==_0x26f6d4?_0x26f6d4:_0x236d06['fromVersion'],_0x4e330e=null!==_0x4e330e?_0x4e330e:_0x236d06['toVersion'];const _0x592634=this['_revisionDataBuilder']['getData'](_0x26f6d4,_0x4e330e),_0x19c3b5={'diffData':_0x592634['diffData'],'authorsIds':_0x592634['authorsIds'],'fromVersion':_0x26f6d4,'toVersion':_0x4e330e};if(!_0x236d06||_0x4e330e!==_0x236d06['toVersion']){const _0x37cfe1=_0x4e330e-0x1,_0x34e905=this['_source']['history']['getOperation'](_0x37cfe1);_0x19c3b5['createdAt']=_0x34e905&&_0x34e905['createdAt']||new Date();}if(this['_loadedStateData']&&_0x26f6d4===this['_loadedStateData']['fromVersion']){for(const _0xaee58b of this['_loadedStateData']['authors'])_0x19c3b5['authorsIds']['includes'](_0xaee58b['id'])||_0x19c3b5['authorsIds']['push'](_0xaee58b['id']);}return _0x19c3b5;}['_loadRevisionData'](_0x8f8578){if(!_0x8f8578||_0x8f8578['diffData'])return Promise['resolve']();{const _0x26396d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x26396d,'revisionId':_0x8f8578['id']})['then'](_0x5bbf9e=>{_0x8f8578['diffData']=_0x5bbf9e['diffData'];});}}['_bufferUpdate'](_0x534818,_0x5f21c3,_0x5d9484){if(this['_bufferedUpdates']['has'](_0x534818)){const _0x244532=this['_bufferedUpdates']['get'](_0x534818);_0x5f21c3=_0x5d9484?{..._0x244532,..._0x5f21c3}:{..._0x5f21c3,..._0x244532};}this['_bufferedUpdates']['set'](_0x534818,_0x5f21c3);}['_getFromVersion'](_0xb61d4){const _0x7fe640=this['repository']['getRevisions']();_0x7fe640['reverse'](),_0x7fe640['shift']();const _0x5a1da9=_0x7fe640['find'](_0x4d31c4=>_0x4d31c4['toVersion']<=_0xb61d4)['toVersion'];return _0x5a1da9<this['_startingVersion']?this['_startingVersion']:_0x5a1da9;}['_createInitialRevision'](_0x170bad){const _0x3d3548=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3d3548)this['_initialRevisionId']=_0x3d3548['id'];else{const _0x39ae33=!this['editor']['model']['document']['roots']['find'](_0x424266=>this['editor']['model']['hasContent'](_0x424266)),_0x1f420d=this['editor']['plugins']['get']('Users')['me']['id'],_0x2eef78=y(this['editor']['locale'],_0x39ae33?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x170bad,'to':_0x170bad,'id':this['_initialRevisionId'],'name':_0x2eef78,'creatorId':_0x1f420d});}}['_createCurrentRevision'](_0x346557){const _0x3225b9=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3225b9),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x346557,'to':_0x346557,'id':_0x3225b9,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3ee702,from:_0x3ff9a1,to:_0x4f5c45,creatorId:_0x33c2c0,id:_0x4d320a}){const _0x5d37f5=this['buildRevisionData']({'from':_0x3ff9a1,'to':_0x4f5c45});_0x5d37f5['name']=_0x3ee702,_0x5d37f5['creatorId']=_0x33c2c0,_0x5d37f5['id']=_0x4d320a;const _0x4fd7e9=this['addRevisionData'](_0x5d37f5);return this['adapter']&&this['_bufferUpdate'](_0x5d37f5['id'],_0x5d37f5,!0x0),_0x4fd7e9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4be1d2){return(_0x4be1d2=_0x4be1d2['filter'](_0x49c881=>!_0x49c881['name']||'revision-start'!==_0x49c881['name']&&'revision-end'!==_0x49c881['name']))['forEach'](_0x519335=>{'string'!=typeof _0x519335&&(_0x519335['children']=this['_removeRevisionMarkers'](_0x519335['children']),_0x519335['attributes']=_0x519335['attributes']['filter'](_0x1e043a=>!_0x1e043a[0x0]['startsWith']('data-revision-')));}),_0x4be1d2;}}function B(_0x2fa94,_0x3d4eb1){const _0x39acc4=_0x3d4eb1['editing']['view']['document'];if('string'==typeof _0x2fa94)return new _0x2888f1(_0x39acc4,_0x2fa94);{const _0x410745=_0x2fa94['children']['map'](_0x4d1260=>B(_0x4d1260,_0x3d4eb1));return new(T[_0x2fa94['type']]||_0x48a037)(_0x39acc4,_0x2fa94['name'],_0x2fa94['attributes'],_0x410745);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x462202){this['editor']=_0x462202,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'](_0x3a396c){this['source']=_0x3a396c;const _0x1d8c84=new Map(),_0x1ca0a0=new Map(),_0x271ec1=this['editor']['model']['document']['roots']['map'](_0x189ec3=>_0x189ec3['rootName']);for(const _0x3efc54 of _0x271ec1){const _0x2eba00=this['editor']['model']['document']['getRoot'](_0x3efc54),_0x4e500b=q(_0x2eba00);_0x1d8c84['set'](_0x3efc54,_0x4e500b),_0x1ca0a0['set'](_0x3efc54,Object['fromEntries'](_0x2eba00['getAttributes']()));}const _0x2a1a93=Array['from'](this['editor']['model']['markers'])['map'](_0x5b4d3e=>[_0x5b4d3e['name'],_0x5b4d3e['getRange']()]),_0x42fef1=this['source']['version'];this['_saveMetaData'](_0x42fef1,_0x1d8c84,_0x2a1a93,_0x1ca0a0),this['_startingRevisionId']=this['_revisionId'];const _0x2a8fcf=new Map(),_0x10ccf5=new Map();for(const _0x4e93d3 of _0x271ec1){const _0x1b7141=G(_0x4e93d3);_0x2a8fcf['set'](_0x4e93d3,_0x1b7141),_0x10ccf5['set'](_0x4e93d3,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2a8fcf,[],_0x10ccf5);}['getData'](_0x1b844,_0x22197e){if(this['_lastFrom']===_0x1b844&&this['_lastTo']<=_0x22197e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x22197e,!0x0);else{if(!this['_savedMetaData']['has'](_0x1b844)){const _0x50848c=this['_getPreviousFrom'](_0x1b844);this['_calculateMetaData'](_0x50848c,_0x1b844,!0x1);}this['_calculateMetaData'](_0x1b844,_0x22197e,!0x0);}return this['_lastFrom']=_0x1b844,this['_lastTo']=_0x22197e,this['_getState']();}['loadState'](_0x11d43d){this['_reset'](),this['_lastFrom']=_0x11d43d['fromVersion'],this['_lastTo']=_0x11d43d['toVersion'];for(const _0x1ccaaa in _0x11d43d['diffData']){const _0x151ba6=_0x11d43d['diffData'][_0x1ccaaa]['attachChange'],_0x369bf7=_0xf6878e(_0x11d43d['diffData'][_0x1ccaaa]['attributesBefore'])||{},_0x59ad57=this['_makeModelFromViewString'](_0x11d43d['diffData'][_0x1ccaaa]['deletions']);_0x59ad57['rootName']=_0x1ccaaa,_0x59ad57['_isAttached']=!_0x151ba6||!_0x151ba6['isAttached'],_0x59ad57['isAttached']=()=>_0x59ad57['_isAttached'],this['_baseRoots']['set'](_0x1ccaaa,_0x59ad57),this['_baseRootsAttributes']['set'](_0x1ccaaa,_0x369bf7),_0x151ba6&&this['_touchedRoots']['set'](_0x1ccaaa,_0x151ba6);const _0x4caa3d=this['_makeIdsRoot'](_0x59ad57);this['_baseIdsRoots']['set'](_0x1ccaaa,_0x4caa3d);for(const [_0x27ba40,_0xc9fa2d]of _0x59ad57['markers']){if(!_0x27ba40['startsWith']('revision:'))continue;const _0x14d180=_0x27ba40['split'](':')[0x2];for(const _0x457f06 of _0xc9fa2d['getWalker']({'singleCharacters':!0x0})){const _0x23f479=this['_getVidAttributeName'](_0x457f06),_0x378b1b='elementEnd'==_0x457f06['type']?_0x457f06['previousPosition']['path']['slice'](0x0,-0x1):_0x457f06['previousPosition']['path'],_0x136b14=_0x4caa3d['getNodeByPath'](_0x378b1b)['getAttribute'](_0x23f479);this['_touched']['set'](_0x136b14,{'userId':_0x14d180});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4821a4=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x574c17=>!this['_touched']['has'](_0x574c17));let _0x53b8e6=0x0;const _0x22ebf4=new Map();for(const _0xf21a1e in _0x11d43d['diffData']){const _0x28d514=_0x11d43d['diffData'][_0xf21a1e]['attachChange'],_0x2b7c87=_0xf6878e(_0x11d43d['diffData'][_0xf21a1e]['attributesAfter'])||{},_0x514228=this['_makeModelFromViewString'](_0x11d43d['diffData'][_0xf21a1e]['insertions']);_0x514228['rootName']=_0xf21a1e,_0x514228['_isAttached']=!_0x28d514||_0x28d514['isAttached'],_0x514228['isAttached']=()=>_0x514228['_isAttached'],this['_diffRoots']['set'](_0xf21a1e,_0x514228),this['_diffRootsAttributes']['set'](_0xf21a1e,_0x2b7c87);const _0x3b4876=this['_makeIdsRoot'](_0x514228,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xf21a1e,_0x3b4876),_0x22ebf4['set'](_0xf21a1e,_0x514228['isAttached']()?_0x2b7c87:{});for(const [_0x9af3e,_0x51fe65]of _0x514228['markers']){if(!_0x9af3e['startsWith']('revision:'))continue;const _0x23de4a=_0x9af3e['split'](':')[0x2];for(const _0x54f03f of _0x51fe65['getWalker']({'singleCharacters':!0x0})){const _0x4ee804=this['_getVidAttributeName'](_0x54f03f),_0x305075=this['_revisionId']++,_0x2d31b3='elementEnd'==_0x54f03f['type']?_0x54f03f['previousPosition']['path']['slice'](0x0,-0x1):_0x54f03f['previousPosition']['path'];_0x3b4876['getNodeByPath'](_0x2d31b3)['_setAttribute'](_0x4ee804,_0x305075),this['_touched']['set'](_0x305075,{'userId':_0x23de4a});}}for(const _0x223393 of this['editor']['model']['createRangeIn'](_0x514228)['getWalker']({'singleCharacters':!0x0})){const _0x362ae0=this['_getVidAttributeName'](_0x223393),_0x433793='elementEnd'==_0x223393['type']?_0x223393['previousPosition']['path']['slice'](0x0,-0x1):_0x223393['previousPosition']['path'],_0xfac2a8=_0x3b4876['getNodeByPath'](_0x433793);_0xfac2a8['getAttribute'](_0x362ae0)>0x0||_0xfac2a8['_setAttribute'](_0x362ae0,_0x4821a4[_0x53b8e6++]);}for(const [_0x13f3b3,_0x95a441]of _0x514228['markers'])_0x13f3b3['startsWith']('revision:')||this['_markers']['set'](_0x13f3b3,_0x95a441);}const _0x7ae56d=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x7ae56d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x7ae56d,0x1));const _0x43583c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x43583c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x43583c,0x1));const _0x87023=Array['from'](this['_diffRoots'])['map'](([_0x8c2cc2,_0xfb150a])=>[_0x8c2cc2,q(_0xfb150a)]);this['_saveMetaData'](this['_lastTo'],_0x87023,this['_markers'],_0x22ebf4);}['_makeModelFromViewString'](_0x1539db){const _0x5e8880=JSON['parse'](_0x1539db),_0x2ee504=this['editor']['editing']['view']['document'],_0xcf74a9=new _0x50d8b3(_0x2ee504,_0x5e8880['map'](_0x3a0cda=>B(_0x3a0cda,this['editor'])));return this['editor']['data']['toModel'](_0xcf74a9);}['_saveMetaData'](_0x50fd40,_0x54678a,_0x183bf2,_0x5e4164){const _0x2a2a6f=new Map(_0x54678a),_0x50e6de=new Map(_0xf6878e(_0x5e4164)),_0x32ebce=new Map();for(const [_0x3d91e,_0x442a4c]of _0x183bf2)_0x32ebce['set'](_0x3d91e,{'start':_0x442a4c['start']['clone'](),'end':_0x442a4c['end']['clone'](),'rootName':_0x442a4c['root']['rootName']});this['_savedMetaData']['set'](_0x50fd40,{'roots':_0x2a2a6f,'markers':_0x32ebce,'rootsAttributes':_0x50e6de});}['_removeMetaData'](_0x167ada){this['_savedMetaData']['delete'](_0x167ada);}['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'](_0x5e10e0,_0x54657f=null){let _0x53dc30=null;_0x5e10e0['is']('documentFragment')||(_0x53dc30=new ft(_0x5e10e0['name'],{'vid_start':null===_0x54657f?this['_revisionId']++:_0x54657f++}));const _0x255c89=[];for(const _0x32c3fc of _0x5e10e0['getChildren']())if(_0x32c3fc['is']('element')){_0x255c89['push'](this['_makeIdsRoot'](_0x32c3fc,_0x54657f));const _0x22a640=_0x255c89[_0x255c89['length']-0x1];null!==_0x54657f&&(_0x54657f=_0x22a640['is']('element','$text')?_0x22a640['getAttribute']('vid')+0x1:_0x22a640['getAttribute']('vid_end')+0x1);}else{for(let _0x3526a4=0x0;_0x3526a4<_0x32c3fc['offsetSize'];_0x3526a4++)_0x255c89['push'](new ft('$text',{'vid':null===_0x54657f?this['_revisionId']++:_0x54657f++}));}if(_0x5e10e0['is']('documentFragment')){const _0x201b67=G(_0x5e10e0['rootName']);return _0x201b67['_insertChild'](0x0,_0x255c89),_0x201b67;}return _0x53dc30['_setAttribute']('vid_end',null===_0x54657f?this['_revisionId']++:_0x54657f++),_0x53dc30['_insertChild'](0x0,_0x255c89),_0x53dc30;}['_calculateMetaData'](_0x58ae10,_0x158a4c,_0x187678){this['_reset']();const {roots:_0x25c8da,markers:_0xdf65,rootsAttributes:_0x49a13c}=this['_savedMetaData']['get'](_0x58ae10);this['_baseRoots']=new Map(_0x25c8da),this['_baseRootsAttributes']=new Map(_0xf6878e(_0x49a13c));for(const [_0x1ce5ab,_0x3ba9e7]of this['_baseRoots'])if('$graveyard'!==_0x1ce5ab&&(this['_diffRoots']['set'](_0x1ce5ab,q(_0x3ba9e7)),this['_diffRootsAttributes']=new Map(_0xf6878e(_0x49a13c)),_0x187678)){const _0x51bcc9=this['_revisionId'];this['_idsRoots']['set'](_0x1ce5ab,this['_makeIdsRoot'](_0x3ba9e7)),this['_baseIdsRoots']['set'](_0x1ce5ab,this['_makeIdsRoot'](_0x3ba9e7,_0x51bcc9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x187678&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1b076b,_0x3f27eb]of _0xdf65){const _0x298fdb=this['_baseRoots']['get'](_0x3f27eb['rootName']),_0x4748c8=this['_diffRoots']['get'](_0x3f27eb['rootName']),_0x412bf8=new vt(this['_fixPosition'](_0x3f27eb['start'],_0x298fdb),this['_fixPosition'](_0x3f27eb['end'],_0x298fdb)),_0x2750ba=this['_fixRange'](_0x412bf8,_0x4748c8);_0x298fdb['markers']['set'](_0x1b076b,_0x412bf8),this['_markers']['set'](_0x1b076b,_0x2750ba);}this['_applyOperations'](_0x58ae10,_0x158a4c,_0x187678);}['_applyOperations'](_0x40a270,_0x3d1a78,_0x46032e){for(const _0x4a43d6 of this['source']['getOperations'](_0x40a270,_0x3d1a78))this['_handleOperation'](_0x4a43d6,_0x46032e);for(const _0x5a0204 of this['_diffRoots']['values']())_0x5a0204['markers']['clear']();for(const [_0x3f6786,_0x9987ea]of this['_markers']){this['_diffRoots']['get'](_0x9987ea['root']['rootName'])['markers']['set'](_0x3f6786,_0x9987ea['clone']());}const _0x282301=new Map(),_0x3b8b4d=new Map();for(const [_0x555734,_0x351b8f]of this['_diffRoots'])_0x282301['set'](_0x555734,q(_0x351b8f)),_0x3b8b4d['set'](_0x555734,this['_diffRootsAttributes']['get'](_0x555734));this['_saveMetaData'](_0x3d1a78,_0x282301,this['_markers'],_0x3b8b4d);}['_getPreviousFrom'](_0x526aea){const _0xff4064=Array['from'](this['_savedMetaData']['keys']());_0xff4064['sort']((_0x211cf4,_0x1e25a8)=>_0x211cf4-_0x1e25a8),_0xff4064['reverse']();for(const _0x409460 of _0xff4064)if(_0x409460<_0x526aea)return _0x409460;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x49176e,_0x22364f){const _0x480e55=Array['from'](_0x22364f['markers'])['map'](([_0x49a26,_0x411fba])=>[_0x49a26,this['_fixRange'](_0x411fba,_0x49176e)]);_0x49176e['markers']=new Map(_0x480e55);}['_transformMarkers'](_0x978144){for(const _0x479bc3 of this['_markers']['values']()){const _0x302079=_0x479bc3['getTransformedByOperation'](_0x978144),_0x1492c6=vt['_createFromRanges'](_0x302079);_0x479bc3['start']=_0x1492c6['start'],_0x479bc3['end']=_0x1492c6['end'];}}['_handleOperation'](_0x40126a,_0x1afb74){if('addRoot'==_0x40126a['type']||'detachRoot'==_0x40126a['type'])return void this['_handleRootOperation'](_0x40126a,_0x1afb74);if('insert'==_0x40126a['type']){const _0x11083e=_0x40126a['position']['root']['rootName'];this['_diffRoots']['has'](_0x11083e)||(this['_diffRoots']['set'](_0x11083e,G(_0x11083e,!0x0)),this['_diffRootsAttributes']['set'](_0x11083e,{}),_0x1afb74&&this['_idsRoots']['set'](_0x11083e,G(_0x11083e,!0x0)));}else{if('addRootAttribute'==_0x40126a['type']||'removeRootAttribute'==_0x40126a['type']||'changeRootAttribute'==_0x40126a['type'])return void this['_handleRootAttributeOperation'](_0x40126a);}const _0x9c0670=this['_cloneOperation'](_0x40126a,this['_diffRoots']);if('marker'!==_0x40126a['type']&&(_0x9c0670['_execute'](),this['_transformMarkers'](_0x9c0670)),_0x1afb74)switch(_0x9c0670['type']){case'insert':this['_handleInsertOperation'](_0x40126a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x40126a);break;case'merge':this['_handleMergeOperation'](_0x40126a);break;case'split':this['_handleSplitOperation'](_0x40126a);break;case'marker':this['_handleMarkerOperation'](_0x40126a);}}['_cloneOperation'](_0x4687b6,_0x5af204){const _0x52f372=_0x4687b6['clone']();return _0x52f372['_authorId']=_0x4687b6['_authorId'],this['_fixOperation'](_0x52f372,_0x5af204),_0x52f372;}['_getBaseVids'](_0x468a83){return _0x468a83['map'](_0x3c8b65=>{const _0x5f025f=this['_getVidAttributeName'](_0x3c8b65);return Number(_0x3c8b65['item']['getAttribute'](_0x5f025f));});}['_generateTape'](_0x246d47,_0x22cec1){if(_0x246d47['is']('element','$text'))_0x22cec1['push']({'item':_0x246d47,'type':'text'});else{_0x246d47['is']('element')&&_0x22cec1['push']({'item':_0x246d47,'type':'elementStart'});for(const _0x273cf8 of _0x246d47['getChildren']())this['_generateTape'](_0x273cf8,_0x22cec1);_0x246d47['is']('element')&&_0x22cec1['push']({'item':_0x246d47,'type':'elementEnd'});}return _0x22cec1;}['_getState'](){const _0x157324=new Map(this['_touched']),_0x8382fe=new Map(_0x157324),_0x43ebfc=new Map(),_0x720864={'insertions':{},'deletions':{}},_0x4d5490={'insertions':{},'deletions':{}},_0x3931e4=new Map(),_0x3179f3=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3179f3['delete']('$graveyard');for(const _0xa8f39a of _0x3179f3){const _0x3d378a=this['_diffRoots']['get'](_0xa8f39a)||G(_0xa8f39a,!0x1),_0x821ebc=this['_baseRoots']['get'](_0xa8f39a)||G(_0xa8f39a,!0x1);_0x3d378a['isAttached']()||_0x821ebc['isAttached']()?(_0x720864['insertions'][_0xa8f39a]=q(_0x3d378a),_0x720864['deletions'][_0xa8f39a]=q(_0x821ebc),this['_copyMarkers'](_0x720864['deletions'][_0xa8f39a],_0x821ebc),this['_copyMarkers'](_0x720864['insertions'][_0xa8f39a],_0x3d378a),_0x4d5490['insertions'][_0xa8f39a]=this['_generateTape'](this['_idsRoots']['get'](_0xa8f39a),[]),_0x4d5490['deletions'][_0xa8f39a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xa8f39a)||G(_0xa8f39a,!0x1),[])):_0x3179f3['delete'](_0xa8f39a);}for(const _0x2c8916 of _0x3179f3){const _0x139b5c=_0x4d5490['insertions'][_0x2c8916];for(const _0x2a7b42 of _0x139b5c){const _0x51b56b=this['_getVidAttributeName'](_0x2a7b42),_0x585831=_0x2a7b42['item']['getAttribute'](_0x51b56b);_0x8382fe['delete'](_0x585831),_0x585831>=this['_startingRevisionId']&&_0x43ebfc['set'](_0x585831,_0x157324['get'](_0x585831));}}for(const _0x362337 of _0x3179f3){const _0x39573c=_0x4d5490['insertions'][_0x362337],_0xfc9c24=this['_getBaseVids'](_0x4d5490['deletions'][_0x362337]);let _0x110465=0x0;for(const _0x9884af of _0x39573c){const _0x2e6f68=this['_getVidAttributeName'](_0x9884af),_0x35f498=_0x9884af['item']['getAttribute'](_0x2e6f68);if(!_0x43ebfc['has'](_0x35f498)&&!_0x3931e4['has'](_0x35f498)){if(_0x8382fe['has'](_0x35f498))_0x110465++;else{if(_0x35f498!=_0xfc9c24[_0x110465]){const _0x2f4bcc=_0x157324['get'](_0x35f498)||_0x157324['get'](_0xfc9c24[_0x110465]);for(;_0x35f498!=_0xfc9c24[_0x110465];)_0x8382fe['has'](_0xfc9c24[_0x110465])||(_0x3931e4['set'](_0xfc9c24[_0x110465],_0x2f4bcc),_0x157324['set'](_0xfc9c24[_0x110465],_0x2f4bcc)),_0x110465++;}_0x110465++;}}}}for(const _0xd8278b of _0x3179f3){const _0x5a6c3d=_0x4d5490['insertions'][_0xd8278b];for(const _0x4942fa of _0x5a6c3d){const _0x292d47=this['_getVidAttributeName'](_0x4942fa),_0x26c3d8=_0x4942fa['item']['getAttribute'](_0x292d47);if(_0x3931e4['has'](_0x26c3d8)){const _0x591b7a=_0x3931e4['get'](_0x26c3d8);_0x8382fe['has'](_0x26c3d8)||_0x8382fe['set'](_0x26c3d8,{..._0x591b7a}),_0x43ebfc['set'](_0x26c3d8,{..._0x591b7a});}}}for(const _0x1c5b11 of _0x8382fe['keys']())_0x1c5b11>=this['_startingRevisionId']&&_0x8382fe['delete'](_0x1c5b11);const _0x1cfbd7=new Map();for(const _0xbf88f4 of _0x3179f3){let _0x2ac6bf=_0x4d5490['insertions'][_0xbf88f4];for(const _0x320ca8 of _0x2ac6bf)if(_0x320ca8['item']['is']('element','tableCell')){const _0x4fd98f=this['_getVidAttributeName'](_0x320ca8),_0xcb8a1f=_0x320ca8['item']['getAttribute'](_0x4fd98f);if(_0x43ebfc['has'](_0xcb8a1f)){const _0x4421eb=_0x320ca8['item']['parent']['parent']['getAttribute']('vid_start'),_0x553d3e=_0x1cfbd7['get'](_0x4421eb)||new Set();_0x553d3e['add'](_0x43ebfc['get'](_0xcb8a1f)['userId']),_0x1cfbd7['set'](_0x4421eb,_0x553d3e);}}_0x2ac6bf=_0x4d5490['deletions'][_0xbf88f4];for(const _0x2c86c0 of _0x2ac6bf)if(_0x2c86c0['item']['is']('element','tableCell')){const _0x3317f6=this['_getVidAttributeName'](_0x2c86c0),_0x9aca0f=_0x2c86c0['item']['getAttribute'](_0x3317f6);if(_0x8382fe['has'](_0x9aca0f)){const _0x31620f=_0x2c86c0['item']['parent']['parent']['getAttribute']('vid_start'),_0x433bc1=_0x1cfbd7['get'](_0x31620f)||new Set();_0x433bc1['add'](_0x8382fe['get'](_0x9aca0f)['userId']),_0x1cfbd7['set'](_0x31620f,_0x433bc1);}}for(const _0x1c3990 of _0x1cfbd7['keys']())(_0x43ebfc['has'](_0x1c3990)||_0x8382fe['has'](_0x1c3990))&&_0x1cfbd7['delete'](_0x1c3990);}for(const _0x249029 of _0x3179f3){const _0x16d69d=_0x4d5490['insertions'][_0x249029];let _0x591a10=null,_0x707011=null;for(const _0x2bf81e of _0x16d69d){const _0x5c1f0b=this['_getVidAttributeName'](_0x2bf81e),_0xf4c138=_0x2bf81e['item']['getAttribute'](_0x5c1f0b),_0x4f55f5=_0x1cfbd7['get'](_0xf4c138);_0x4f55f5&&'elementStart'==_0x2bf81e['type']&&(_0x591a10=Array['from'](_0x4f55f5)[0x0],_0x707011=_0x2bf81e['item']['getAttribute']('vid_end')),_0x591a10&&(_0x8382fe['set'](_0xf4c138,{'userId':_0x591a10}),_0x43ebfc['set'](_0xf4c138,{'userId':_0x591a10})),_0xf4c138==_0x707011&&(_0x591a10=null,_0x707011=null);}}const _0x729a1f={},_0x1b4f66=new Set();for(const _0x1f999f of _0x3179f3){const _0x2cd110=_0x720864['deletions'][_0x1f999f],_0x16d52f=_0x720864['insertions'][_0x1f999f];for(const {userId:_0x4f51c2}of this['_touchedMarkers']['values']())null!==_0x4f51c2&&_0x1b4f66['add'](_0x4f51c2);for(const {userId:_0x1b5f43}of this['_touchedRoots']['values']())null!==_0x1b5f43&&_0x1b4f66['add'](_0x1b5f43);this['_markChanges'](_0x16d52f,_0x4d5490['insertions'][_0x1f999f],_0x43ebfc,'insertion',_0x1b4f66),this['_markChanges'](_0x2cd110,_0x4d5490['deletions'][_0x1f999f],_0x8382fe,'deletion',_0x1b4f66),_0x729a1f[_0x1f999f]={'insertions':this['_prepareViewToSave'](_0x16d52f),'deletions':this['_prepareViewToSave'](_0x2cd110),'attachChange':this['_touchedRoots']['get'](_0x1f999f)||null,'attributesBefore':_0xf6878e(this['_baseRootsAttributes']['get'](_0x1f999f))||{},'attributesAfter':_0xf6878e(this['_diffRootsAttributes']['get'](_0x1f999f))};}return{'diffData':_0x729a1f,'authorsIds':Array['from'](_0x1b4f66)};}['_processRootBeforeSave'](_0x2c3d05){for(const [,_0x23dfe9]of _0x2c3d05['markers']){const _0x104e58=_0x23dfe9['start']['getAncestors']()['filter'](_0x59f576=>'tableCell'==_0x59f576['name']);for(const _0x77d436 of _0x104e58)0x1==_0x77d436['childCount']&&_0x77d436['getChild'](0x0)['is']('element','paragraph')&&_0x77d436['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4d82c4){this['_processRootBeforeSave'](_0x4d82c4);const _0x5d4e06=this['editor']['data']['toView'](_0x4d82c4,{}),_0x159ed2=Array['from'](_0x5d4e06['getChildren']())['map'](_0x4eec6a=>this['_getViewJson'](_0x4eec6a));return JSON['stringify'](_0x159ed2);}['_getViewJson'](_0x4be4e0){if(_0x4be4e0['is']('$text'))return _0x4be4e0['data'];{const _0x5ad830=_0x4be4e0;return{'type':Object['keys'](T)['find'](_0x1c2763=>_0x4be4e0 instanceof T[_0x1c2763]),'name':_0x5ad830['name'],'attributes':Array['from'](_0x5ad830['getAttributes']()),'children':Array['from'](_0x5ad830['getChildren']())['map'](_0x34aa4c=>this['_getViewJson'](_0x34aa4c))};}}['_markChanges'](_0xf1f20,_0x4a7f47,_0x515b6a,_0x2a6575,_0x1d5a7f){let _0x5f0981=null,_0x682509=null,_0x52b0c2=0x0;const _0x595ef9=this['editor']['model'];for(let _0x31b3a5=0x0;_0x31b3a5<_0x4a7f47['length'];_0x31b3a5++){const _0x5c2fb7=this['_getVidAttributeName'](_0x4a7f47[_0x31b3a5]),_0x5d1d11=_0x4a7f47[_0x31b3a5]['item']['getAttribute'](_0x5c2fb7),_0x471b99=_0x515b6a['get'](_0x5d1d11),_0x26054c=_0x31b3a5==_0x4a7f47['length']-0x1;(!_0x5f0981&&_0x471b99&&(_0x5f0981=_0x471b99,_0x682509=_0x4a7f47[_0x31b3a5]),_0x5f0981&&(!_0x471b99||_0x471b99['userId']!=_0x5f0981['userId']))&&(_0x9b3e8f(_0x471b99,L(_0x682509,_0xf1f20,_0x595ef9),L(_0x4a7f47[_0x31b3a5],_0xf1f20,_0x595ef9)),_0x5f0981=_0x471b99||null,_0x682509=_0x471b99?_0x4a7f47[_0x31b3a5]:null),_0x5f0981&&_0x26054c&&_0x9b3e8f(_0x471b99,L(_0x682509,_0xf1f20,_0x595ef9),W(_0x4a7f47[_0x31b3a5],_0xf1f20,_0x595ef9));}function _0x9b3e8f(_0x4ec7d1,_0x50741a,_0x47f57f){const _0x2ab1e2=_0x5f0981['userId'],_0x33bbb4='revision:'+_0x2a6575+':'+_0x2ab1e2+':'+_0x52b0c2++,_0x1e1918=_0x595ef9['createRange'](_0x50741a,_0x47f57f);_0xf1f20['markers']['set'](_0x33bbb4,_0x1e1918),null!==_0x2ab1e2&&_0x1d5a7f['add'](_0x2ab1e2);}}['_getVidAttributeName'](_0x187f2d){switch(_0x187f2d['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1fa329,_0x347ca3){_0x1fa329['baseVersion']=null;for(const _0x3e854e in _0x1fa329){const _0x2c8672=_0x1fa329[_0x3e854e];if(_0x2c8672 instanceof gt){const _0x3b327d=_0x347ca3['get'](_0x2c8672['root']['rootName']);_0x1fa329[_0x3e854e]=this['_fixPosition'](_0x2c8672,_0x3b327d);}if(_0x2c8672 instanceof vt){const _0x3e889f=_0x347ca3['get'](_0x2c8672['root']['rootName']);_0x1fa329[_0x3e854e]=this['_fixRange'](_0x2c8672,_0x3e889f);}'root'===_0x3e854e&&(_0x1fa329['root']=_0x347ca3['get'](_0x1fa329['root']['rootName']));}}['_fixRange'](_0x27337f,_0x46b707){return this['editor']['model']['createRange'](this['_fixPosition'](_0x27337f['start'],_0x46b707),this['_fixPosition'](_0x27337f['end'],_0x46b707));}['_fixPosition'](_0x46ec6f,_0x4c547f){return this['editor']['model']['createPositionFromPath'](_0x4c547f,_0x46ec6f['path'],_0x46ec6f['stickiness']);}['_handleInsertOperation'](_0x197620){const _0x431978=this['_idsRoots']['get'](_0x197620['position']['root']['rootName']),_0x1ed5cb=this['_fixPosition'](_0x197620['position'],_0x431978),_0x4c2696=null===_0x197620['_authorId']?null:_0x197620['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f7bc7=_0x1ed5cb['parent'],_0x45e679=this['_revisionId'],_0x54ccbe=[];for(const _0x19953f of _0x197620['nodes'])if(_0x19953f['is']('element'))_0x54ccbe['push'](this['_makeIdsRoot'](_0x19953f));else{for(let _0x2bf725=0x0;_0x2bf725<_0x19953f['offsetSize'];_0x2bf725++)_0x54ccbe['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3b6e67=this['_revisionId'];for(let _0x22b1d2=_0x45e679;_0x22b1d2<_0x3b6e67;_0x22b1d2++)this['_touched']['set'](_0x22b1d2,{'userId':_0x4c2696});_0x1f7bc7['_insertChild'](_0x1ed5cb['offset'],_0x54ccbe);}['_handleMoveOperation'](_0x18a53b){(_0x18a53b=this['_cloneOperation'](_0x18a53b,this['_idsRoots']))['_execute']();const _0x4b06ac=null===_0x18a53b['_authorId']?null:_0x18a53b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3868a6=_0x18a53b['getMovedRangeStart'](),_0x3d5205=_0x3868a6['parent'],_0x4da76e=_0x3868a6['offset'];!function _0x8218e6(_0x93a0d5,_0x11aa67,_0x109e68,_0x11c2b6){for(let _0x1d4dcd=_0x109e68;_0x1d4dcd<_0x11c2b6;_0x1d4dcd++){const _0x388295=_0x11aa67['getChild'](_0x1d4dcd);_0x388295['is']('element','$text')?_0x93a0d5['set'](_0x388295['getAttribute']('vid'),{'userId':_0x4b06ac}):(_0x93a0d5['set'](_0x388295['getAttribute']('vid_start'),{'userId':_0x4b06ac}),_0x8218e6(_0x93a0d5,_0x388295,0x0,_0x388295['childCount']),_0x93a0d5['set'](_0x388295['getAttribute']('vid_end'),{'userId':_0x4b06ac}));}}(this['_touched'],_0x3d5205,_0x4da76e,_0x4da76e+_0x18a53b['howMany']);}['_handleMergeOperation'](_0x4da5b9){const _0x439e1c=null===(_0x4da5b9=this['_cloneOperation'](_0x4da5b9,this['_idsRoots']))['_authorId']?null:_0x4da5b9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b740d=_0x4da5b9['targetPosition']['parent'],_0x315c69=_0x4da5b9['sourcePosition']['parent'],_0x4cca21=_0x4b740d['getAttribute']('vid_end'),_0x2514bd=_0x315c69['getAttribute']('vid_start');_0x4b740d['_setAttribute']('vid_end',_0x315c69['getAttribute']('vid_end')),_0x315c69['_setAttribute']('vid_end',_0x4cca21),this['_touched']['set'](_0x2514bd,{'userId':_0x439e1c}),this['_touched']['set'](_0x4cca21,{'userId':_0x439e1c}),_0x4da5b9['_execute']();}['_handleSplitOperation'](_0x12d655){const _0x55fc2b=null===(_0x12d655=this['_cloneOperation'](_0x12d655,this['_idsRoots']))['_authorId']?null:_0x12d655['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10b08f=_0x12d655['graveyardPosition'],_0x2937ca=_0x12d655['splitPosition']['parent'];_0x12d655['_execute']();const _0x2dd1dd=_0x2937ca['getAttribute']('vid_end'),_0x1528c8=_0x12d655['insertionPosition']['nodeAfter'];if(_0x10b08f){const _0x3c28ea=_0x1528c8['getAttribute']('vid_end'),_0x2ae8d7=_0x2937ca['getAttribute']('vid_end');_0x2937ca['_setAttribute']('vid_end',_0x3c28ea),_0x1528c8['_setAttribute']('vid_end',_0x2ae8d7),this['_touched']['set'](_0x2937ca['getAttribute']('vid_end'),{'userId':_0x55fc2b}),this['_touched']['set'](_0x1528c8['getAttribute']('vid_start'),{'userId':_0x55fc2b});}else{const _0x5b7a7b=this['_revisionId']++,_0x572d85=this['_revisionId']++;_0x2937ca['_setAttribute']('vid_end',_0x5b7a7b),_0x1528c8['_setAttribute']('vid_start',_0x572d85),_0x1528c8['_setAttribute']('vid_end',_0x2dd1dd),this['_touched']['set'](_0x5b7a7b,{'userId':_0x55fc2b}),this['_touched']['set'](_0x572d85,{'userId':_0x55fc2b});}}['_handleMarkerOperation'](_0x3abd4c){if(!_0x3abd4c['affectsData'])return;const _0x4ed067=(_0x3abd4c=this['_cloneOperation'](_0x3abd4c,this['_diffRoots']))['oldRange']?_0x3abd4c['oldRange']['root']:null,_0x5833ca=_0x3abd4c['newRange']?_0x3abd4c['newRange']['root']:null;_0x4ed067&&this['_markers']['delete'](_0x3abd4c['name']),_0x5833ca&&this['_markers']['set'](_0x3abd4c['name'],_0x3abd4c['newRange']['clone']());const _0x52670b=null===_0x3abd4c['_authorId']?null:_0x3abd4c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1542c6=_0x3abd4c['name'];if(!this['_touchedMarkers']['has'](_0x1542c6))return void this['_touchedMarkers']['set'](_0x1542c6,{'range':_0x3abd4c['oldRange'],'userId':_0x52670b});const _0x48ba11=this['_touchedMarkers']['get'](_0x1542c6),_0x5c4757=_0x48ba11['range'],_0x3d51d8=_0x3abd4c['newRange'];null==_0x5c4757&&null==_0x3d51d8||_0x5c4757&&_0x3d51d8&&_0x5c4757['isEqual'](_0x3d51d8)?this['_touchedMarkers']['delete'](_0x3abd4c['name']):_0x48ba11['userId']=_0x52670b;}['_handleRootOperation'](_0x5f3055,_0x1cd3db){this['_diffRoots']['has'](_0x5f3055['rootName'])?this['_diffRoots']['get'](_0x5f3055['rootName'])['_isAttached']=_0x5f3055['isAdd']:(this['_diffRoots']['set'](_0x5f3055['rootName'],G(_0x5f3055['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5f3055['rootName'],{}),_0x1cd3db&&this['_idsRoots']['set'](_0x5f3055['rootName'],G(_0x5f3055['rootName'],!0x0)));const _0x3b5ffa=null===_0x5f3055['_authorId']?null:_0x5f3055['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29443b=this['_touchedRoots']['get'](_0x5f3055['rootName']);_0x29443b&&_0x29443b['userId']===_0x3b5ffa?this['_touchedRoots']['delete'](_0x5f3055['rootName']):this['_touchedRoots']['set'](_0x5f3055['rootName'],{'userId':_0x3b5ffa,'isAttached':_0x5f3055['isAdd']});}['_handleRootAttributeOperation'](_0x554b07){const _0x3dde1d=this['_diffRootsAttributes']['get'](_0x554b07['root']['rootName']);null===_0x554b07['newValue']?delete _0x3dde1d[_0x554b07['key']]:_0x3dde1d[_0x554b07['key']]=_0x554b07['newValue'];}}function q(_0x396ee3){const _0x21a351=G(_0x396ee3['rootName'],_0x396ee3['isAttached']());for(const _0x1ce4c3 of _0x396ee3['getChildren']()){const _0x57e002=_0x1ce4c3['_clone'](!0x0);_0x21a351['_appendChild'](_0x57e002);}return _0x21a351;}function G(_0x2bf1ca,_0x3076ab=!0x0){const _0x2aefb1=new wt();return _0x2aefb1['rootName']=_0x2bf1ca,_0x2aefb1['_isAttached']=_0x3076ab,_0x2aefb1['isAttached']=()=>_0x2aefb1['_isAttached'],_0x2aefb1;}function L(_0x270c63,_0x21d81e,_0x4afda5){const _0x162f83='elementEnd'==_0x270c63['type']?_0x4afda5['createPositionAt'](_0x270c63['item'],'end'):_0x4afda5['createPositionBefore'](_0x270c63['item']);return _0x4afda5['createPositionFromPath'](_0x21d81e,_0x162f83['path'],_0x162f83['stickiness']);}function W(_0x23e910,_0x1d2af5,_0x3d2296){const _0x420908='elementStart'==_0x23e910['type']?_0x3d2296['createPositionAt'](_0x23e910['item'],0x0):_0x3d2296['createPositionAfter'](_0x23e910['item']);return _0x3d2296['createPositionFromPath'](_0x1d2af5,_0x420908['path'],_0x420908['stickiness']);}class ns extends _0x5ab189{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x336db9,_0x5e0b5e){super(_0x336db9),this['focusTracker']=new _0x230efc(),this['keystrokes']=new _0x4f23f8(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5e0b5e),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'](),_0x4f415e({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1ca45b=_0x2c77fd=>_0x2c77fd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ca45b),this['keystrokes']['set']('arrowleft',_0x1ca45b),this['keystrokes']['set']('arrowup',_0x1ca45b),this['keystrokes']['set']('arrowdown',_0x1ca45b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5bc61e){this['revisionNameInputView']['fieldView']['element']['value']=_0x5bc61e['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2094c2){const _0x4f34c1=new at(this['locale'],_0x1c4533),_0x4c7a39=_0x4f34c1['fieldView'];_0x4c7a39['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xe56195=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2094c2&&(_0xe56195+='\x20('+y(this['locale'],'optional')+')'),(_0x4f34c1['label']=_0xe56195,_0x4c7a39['on']('input',()=>{this['revisionNameInputValue']=_0x4c7a39['element']['value']['trim']();}),_0x4f34c1);}}class u extends _0x56b499{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1fb0e6=this['editor'],_0x34bd91=_0x1fb0e6['plugins']['get']('RevisionTracker');_0x1fb0e6['ui']['componentFactory']['add']('revisionHistory',_0x123487=>{const _0xa70b4b=_0x22729a(_0x123487),_0x1c9459=_0xa70b4b['panelView']['children'],_0x47d816=new te(_0x123487),_0x5e14fd=new _0x2cb246(_0x123487),_0x32b949=new _0x8af1e8(_0x123487),_0x861d7=new _0x2cb246(_0x123487),_0x5b897f=new _0x8af1e8(_0x123487);return _0xa70b4b['bind']('isEnabled')['to'](_0x34bd91,'isReady',_0x34bd91,'isEnabled',_0x1fb0e6,'isReadOnly',(_0x3ff491,_0x55b2f1,_0x29cb9d)=>_0x3ff491&&_0x55b2f1&&!_0x29cb9d),_0xa70b4b['buttonView']['set']({'icon':_0x5665c4['history'],'label':y(_0x123487,'Revision\x20history'),'tooltip':!0x0}),_0x32b949['set']({'label':y(_0x123487,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x32b949['bind']('isEnabled')['to'](_0x34bd91,'isReady',_0x34bd91,'isEnabled',_0x1fb0e6,'isReadOnly',(_0x2b5b68,_0x41366c,_0x56fea9)=>_0x2b5b68&&_0x41366c&&!_0x56fea9),_0x32b949['on']('execute',()=>this['_showDialog']()),_0x5b897f['set']({'label':y(_0x123487,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5b897f['bind']('isEnabled')['to'](_0x34bd91,'isReady',_0x1fb0e6,'isReadOnly',(_0x49d223,_0x105708)=>_0x49d223&&!_0x105708),_0x5b897f['on']('execute',()=>{_0x1fb0e6['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0xa70b4b['isOpen']=!0x1,_0x1fb0e6['editing']['view']['focus']();}),_0x5e14fd['children']['add'](_0x32b949),_0x861d7['children']['add'](_0x5b897f),_0x47d816['role']='menu',_0x47d816['items']['addMany']([_0x5e14fd,_0x861d7]),_0x1c9459['add'](_0x47d816),_0xa70b4b;}),_0x1fb0e6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1e5abb=this['editor'],_0x33b51f=_0x1e5abb['locale'],_0x1c10d3=new _0xc397c6(_0x33b51f),_0x242749=new _0x4bb660(_0x33b51f);_0x1c10d3['buttonView']['set']({'icon':_0x5665c4['history'],'label':y(_0x33b51f,'Revision\x20history')});const _0x359a66=new _0x46a1d9(_0x33b51f,_0x1c10d3),_0x4c9706=new _0x3bb1d0(_0x33b51f);_0x4c9706['set']({'label':y(_0x33b51f,'Save\x20current\x20revision')}),_0x4c9706['delegate']('execute')['to'](_0x1c10d3),_0x4c9706['on']('execute',()=>{this['_showDialog']();}),_0x359a66['children']['add'](_0x4c9706),_0x242749['items']['add'](_0x359a66);const _0x37a9f9=new _0x46a1d9(_0x33b51f,_0x1c10d3),_0x54ff4e=new _0x3bb1d0(_0x33b51f);return _0x54ff4e['set']({'label':y(_0x33b51f,'Open\x20revision\x20history')}),_0x54ff4e['delegate']('execute')['to'](_0x1c10d3),_0x54ff4e['on']('execute',()=>{_0x1e5abb['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x37a9f9['children']['add'](_0x54ff4e),_0x242749['items']['add'](_0x37a9f9),_0x1c10d3['panelView']['children']['add'](_0x242749),_0x1c10d3;}['_showDialog'](){const _0xc38491=this['editor'],_0x70bc53=_0xc38491['locale'],t=_0x70bc53['t'],_0x20464d=_0xc38491['plugins']['get']('Dialog'),_0x5b8ef6=_0xc38491['plugins']['get']('RevisionTracker');function _0x9c400b(_0x27e082){_0xc38491['config']['get']('revisionHistory.requireRevisionName')&&''===_0x27e082['revisionName']?_0x27e082['revisionNameInputView']['errorText']=y(_0x70bc53,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xc38491['plugins']['get'](l)['saveRevision']({'name':_0x27e082['revisionName']}),_0x20464d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x9c400b(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x20464d['show']({'id':'findAndReplace','title':y(_0x70bc53,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x20464d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5449d9){_0x5449d9['bind']('isEnabled')['to'](_0x5b8ef6,'isReady',_0x5b8ef6,'isEnabled',_0xc38491,'isReadOnly',(_0x4961d0,_0x465dd1,_0x55d8eb)=>_0x4961d0&&_0x465dd1&&!_0x55d8eb);},'onExecute':()=>_0x9c400b(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4ad682=this['editor'],_0x9c73e5=_0x4ad682['locale'];this['_saveRevisionFormView']=new ns(_0x9c73e5,_0x4ad682['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5ab189{['changeId'];['_model'];constructor(_0x5ad2d6,_0x4f5ddd){super(_0x5ad2d6),this['_model']=_0x4f5ddd,this['changeId']=_0x4f5ddd['id'];const _0xe6bc96=this['bindTemplate'],_0x2bf480=y(_0x5ad2d6,_0x4f5ddd['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4f5ddd['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4f5ddd['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xe6bc96['to']('type',_0x27491b=>'ck-revision-change__'+_0x27491b)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2bf480}]},{'text':'\x20'+_0x4f5ddd['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x16abae(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x311368){super(),this['id']=_0x311368['id']||_0x45f5e4(),this['author']=_0x311368['author'],this['type']=_0x311368['type'],this['data']=_0x311368['data']||{},this['rootName']=_0x311368['rootName'],this['set']('createdAt',_0x311368['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(_0x566d0b,_0x2c2ad8){this['newRevisionId']=_0x566d0b,this['oldRevisionId']=_0x2c2ad8,this['changes']=new _0x49484f();}['_setChanges'](_0x3a0b32){for(const _0x54677a of _0x3a0b32)this['changes']['add'](_0x54677a);}}const tt={'c':_0x4418cb,'a':_0xfbd931,'e':_0x1983f8,'r':_0x11c06d,'u':_0x532908};class d extends _0x56b499{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2afb4f,_0x4b4765,A];}constructor(_0x22312f){super(_0x22312f),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',(_0x22e831,_0x440fae,_0x2a8bc7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1325ee=>{for(const _0x7b2bb8 of this['editor']['editing']['view']['document']['roots'])_0x2a8bc7?_0x1325ee['removeClass']('ck-editor__editable__overlay',_0x7b2bb8):_0x1325ee['addClass']('ck-editor__editable__overlay',_0x7b2bb8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x488951=>null!==_0x488951),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x49d8ce,_0x149e84,_0x35517c)=>_0x49d8ce&&_0x35517c?_0x149e84['changes']['getIndex'](_0x35517c):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x301e8f,_0x138e22)=>_0x301e8f?_0x138e22['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4b4765);}['init'](){const _0x180a9b=this['editor'],_0x209145=new yt(_0x180a9b,{'direction':'backward'}),_0x44e8ab=new yt(_0x180a9b,{'direction':'forward'});(_0x180a9b['commands']['add']('showPreviousChange',_0x209145),_0x180a9b['commands']['add']('showNextChange',_0x44e8ab),_0x180a9b['commands']['add']('restoreRevision',new bt(_0x180a9b)),this['on']('change:numberOfChanges',()=>{_0x209145['refresh'](),_0x44e8ab['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x180a9b['enableReadOnlyMode']('revision-viewer'),_0x180a9b['plugins']['has']('WidgetToolbarRepository'))&&_0x180a9b['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x45c024){await this['loadRevisionData'](_0x45c024);const _0x316b41={};for(const _0x2f823c in _0x45c024['diffData']){if(_0x45c024['diffData'][_0x2f823c]['attachChange']&&!_0x45c024['diffData'][_0x2f823c]['attachChange']['isAttached'])continue;const _0x786a5a=this['_removeRevisionMarkers'](JSON['parse'](_0x45c024['diffData'][_0x2f823c]['insertions'])),_0x5a29ca=this['editor']['editing']['view']['document'],_0x453961=new _0x50d8b3(_0x5a29ca,_0x786a5a['map'](_0x56e3d0=>this['_getViewObj'](_0x56e3d0)));this['editor']['data']['processor']['useFillerType']('marked'),_0x316b41[_0x2f823c]=this['editor']['data']['processor']['toData'](_0x453961),this['editor']['data']['processor']['useFillerType']('default');}return _0x316b41;}async['getRevisionRootsAttributes'](_0x5af6d4){await this['loadRevisionData'](_0x5af6d4);const _0x378080={};for(const _0x291527 in _0x5af6d4['diffData'])_0x5af6d4['diffData'][_0x291527]['attachChange']&&!_0x5af6d4['diffData'][_0x291527]['attachChange']['isAttached']||(_0x378080[_0x291527]=_0x5af6d4['diffData'][_0x291527]['attributesAfter']||{});return _0x378080;}['_removeRevisionMarkers'](_0x27f010){return(_0x27f010=_0x27f010['filter'](_0xa42b5a=>!_0xa42b5a['name']||'revision-start'!==_0xa42b5a['name']&&'revision-end'!==_0xa42b5a['name']))['forEach'](_0x1bdb23=>{'string'!=typeof _0x1bdb23&&(_0x1bdb23['children']=this['_removeRevisionMarkers'](_0x1bdb23['children']),_0x1bdb23['attributes']=_0x1bdb23['attributes']['filter'](_0x2d790f=>!_0x2d790f[0x0]['startsWith']('data-revision-')));}),_0x27f010;}async['compare'](_0x211eac,_0x5c728b,_0x31c659=!0x1){if(!this['isEnabled'])return;const _0x4da94b=this['diff'],_0x1aae47=this['repository'],_0x3bd972='string'==typeof _0x211eac?_0x1aae47['getRevision'](_0x211eac):_0x211eac,_0x3d125b='string'==typeof _0x5c728b?_0x1aae47['getRevision'](_0x5c728b):_0x5c728b,_0x2de578=_0x3bd972['id'],_0x24c446=_0x3d125b?_0x3d125b['id']:null;if(!_0x31c659&&this['diff']&&this['diff']['newRevisionId']===_0x2de578&&this['diff']['oldRevisionId']===_0x24c446)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2de578,_0x24c446);const _0x5c3bb2=this['_getRevisionsRange'](_0x3bd972,_0x3d125b,!0x0)['map'](_0x5b8fe3=>this['loadRevisionData'](_0x5b8fe3));return _0x5c3bb2['push'](new Promise(_0x5b2137=>{setTimeout(_0x5b2137,0x14);})),Promise['all'](_0x5c3bb2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x23c6d6=this['_getDiff'](_0x2de578,_0x24c446);for(const _0x143d0d of _0x23c6d6['changes'])this['_changeIdToChange']['set'](_0x143d0d['id'],_0x143d0d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1d3a04=>{for(const _0xe1bb0d of this['editor']['model']['document']['getRootNames']())_0x1d3a04['detachRoot'](_0xe1bb0d);for(const _0x127ae2 of Object['keys'](_0x23c6d6['model'])){const _0x45a836=_0x1d3a04['addRoot'](_0x127ae2);for(const _0x1e4e1c of Object['keys'](_0x23c6d6['attributes'][_0x127ae2]))_0x1d3a04['setAttribute'](_0x1e4e1c,_0x23c6d6['attributes'][_0x127ae2][_0x1e4e1c],_0x45a836);_0x1d3a04['insert'](_0x23c6d6['model'][_0x127ae2],_0x45a836,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x23c6d6['changes'])),this['isReady']=!0x0;})['catch'](_0x186fc6=>{console['error'](_0x186fc6),this['_cleanUp'](),_0x4da94b&&(this['diff']=_0x4da94b),this['isReady']=!0x0;});}['addRevisionData'](_0x4816c7,_0x17aa8e){const _0x1464d3=this['repository']['createRevision'](_0x4816c7);return _0x1464d3['on']('_update',(_0x52128c,_0x31396c,_0x2b30c4)=>_0x17aa8e(_0x31396c,_0x2b30c4,_0x1464d3)),this['repository']['addRevision'](_0x1464d3),_0x1464d3;}['loadRevisionData'](_0x259a5f){if(!_0x259a5f||_0x259a5f['diffData'])return Promise['resolve']();{const _0x4a4b6a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4a4b6a,'revisionId':_0x259a5f['id']})['then'](_0x445082=>{_0x259a5f['_update']({'diffData':_0x445082['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},_0x2007f5=>{for(const _0x18bda2 of this['editor']['model']['document']['getRootNames']())_0x2007f5['detachRoot'](_0x18bda2);});}['_sortAndFilterDiffChanges'](_0x2f61e6){const _0x3da8c9=[],_0x437dbb=new Map();for(const _0x423418 of this['editor']['model']['document']['getRootNames']()){const _0x35db52=this['editor']['editing']['view']['getDomRoot'](_0x423418);if(!_0x35db52)continue;const _0x3ea106=_0x35db52['getClientRects']()['item'](0x0);_0x3ea106&&(_0x3da8c9['push'](_0x423418),_0x437dbb['set'](_0x423418,_0x3ea106));}return _0x3da8c9['sort']((_0x55f88d,_0x20234a)=>{const _0x59ccf4=_0x437dbb['get'](_0x55f88d),_0x17204e=_0x437dbb['get'](_0x20234a);return _0x59ccf4['y']-_0x17204e['y']||_0x59ccf4['x']-_0x17204e['x'];}),(_0x2f61e6=_0x2f61e6['filter'](_0x39f59b=>_0x3da8c9['includes'](_0x39f59b['rootName'])))['sort']((_0x92a651,_0xc3b8e5)=>_0x3da8c9['indexOf'](_0x92a651['rootName'])-_0x3da8c9['indexOf'](_0xc3b8e5['rootName'])),_0x2f61e6;}['_makeTape'](_0x356d0f){const _0xfb3cdb=Array['from'](_0x356d0f['markers'])['filter'](([_0x1d9500,_0x3057f7])=>_0x1d9500['startsWith']('revision:')&&!_0x3057f7['isCollapsed']),_0x16a9ee=Array['from'](this['editor']['model']['createRangeIn'](_0x356d0f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xfb3cdb['length'])for(const _0x4a63a4 of _0x16a9ee){const [_0x4c9ec2,_0x254a99]=_0xfb3cdb[0x0],[,_0x31c5aa,_0x578a78]=_0x4c9ec2['split'](':');if(_0x254a99['end']['isEqual'](_0x4a63a4['nextPosition'])&&_0xfb3cdb['shift'](),(_0x4a63a4['previousPosition']['isEqual'](_0x254a99['start'])||_0x4a63a4['previousPosition']['isAfter'](_0x254a99['start']))&&('insertion'==_0x31c5aa?_0x4a63a4['isAdded']={'userId':_0x578a78}:'deletion'==_0x31c5aa&&(_0x4a63a4['isRemoved']={'userId':_0x578a78})),0x0==_0xfb3cdb['length'])break;}return _0x16a9ee;}['_refreshStartEndIndex'](_0x103da9){const _0x5bcae5=new Map();for(let _0x2f1bc8=0x0;_0x2f1bc8<_0x103da9['length'];_0x2f1bc8++)'text'===_0x103da9[_0x2f1bc8]['type']?(_0x103da9[_0x2f1bc8]['item']['startIndex']=_0x2f1bc8,_0x103da9[_0x2f1bc8]['item']['endIndex']=_0x2f1bc8):('elementStart'===_0x103da9[_0x2f1bc8]['type']?_0x103da9[_0x2f1bc8]['item']['startIndex']=_0x2f1bc8:'elementEnd'===_0x103da9[_0x2f1bc8]['type']&&(_0x103da9[_0x2f1bc8]['item']['endIndex']=_0x2f1bc8),_0x5bcae5['set'](_0x103da9[_0x2f1bc8]['id'],_0x2f1bc8));for(const _0x1559f2 of _0x5bcae5['values']())'elementStart'===_0x103da9[_0x1559f2]['type']?_0x103da9[_0x1559f2]['item']['endIndex']=_0x5bcae5['get'](_0x103da9[_0x1559f2]['pairId']):'elementEnd'===_0x103da9[_0x1559f2]['type']&&(_0x103da9[_0x1559f2]['item']['startIndex']=_0x5bcae5['get'](_0x103da9[_0x1559f2]['pairId']));}['_processTape'](_0x4ddd44){for(let _0x52d759=0x0;_0x52d759<_0x4ddd44['length'];_0x52d759++){if('elementStart'===_0x4ddd44[_0x52d759]['type'])_0x4ddd44[_0x52d759]['item']['startIndex']=_0x52d759;else{if('elementEnd'===_0x4ddd44[_0x52d759]['type']){_0x4ddd44[_0x52d759]['item']['endIndex']=_0x52d759;const _0x505638=_0x4ddd44[_0x52d759]['item']['startIndex'];_0x4ddd44[_0x505638]['pairId']=_0x4ddd44[_0x52d759]['id'],_0x4ddd44[_0x52d759]['pairId']=_0x4ddd44[_0x505638]['id'];}else _0x4ddd44[_0x52d759]['item']['startIndex']=_0x52d759,_0x4ddd44[_0x52d759]['item']['endIndex']=_0x52d759,_0x4ddd44[_0x52d759]['pairId']=null;}_0x4ddd44[_0x52d759]['markersStart']||(_0x4ddd44[_0x52d759]['markersStart']=[],_0x4ddd44[_0x52d759]['markersEnd']=[]);}}['_markInsertions'](_0x1f1b22,_0x39286e){const _0x561f44=_0x1f1b22['filter'](_0x4dafe4=>!_0x4dafe4['isAdded']);for(let _0x37079e=0x0;_0x37079e<_0x39286e['length'];_0x37079e++)_0x39286e[_0x37079e]['isAdded']&&(_0x561f44[_0x37079e]['isAdded']=_0x39286e[_0x37079e]['isAdded']);}['_makeModelFromViewString'](_0x41535b){const _0x1a068c=JSON['parse'](_0x41535b),_0x1a1ba6=this['editor']['editing']['view']['document'],_0x2bcf1f=new _0x50d8b3(_0x1a1ba6,_0x1a068c['map'](_0x202121=>this['_getViewObj'](_0x202121)));return this['editor']['data']['toModel'](_0x2bcf1f);}['_getViewObj'](_0x4e7c2b){const _0x407ba7=this['editor']['editing']['view']['document'];if('string'==typeof _0x4e7c2b)return new _0x2888f1(_0x407ba7,_0x4e7c2b);{const _0x45bc3e=_0x4e7c2b['children']['map'](_0x1b19c9=>this['_getViewObj'](_0x1b19c9));return new(tt[_0x4e7c2b['type']]||_0x48a037)(_0x407ba7,_0x4e7c2b['name'],_0x4e7c2b['attributes'],_0x45bc3e);}}['_getDiff'](_0x2e54b9,_0x4fbced=null){const _0x30c542=this['repository']['getRevision'](_0x2e54b9),_0x52a40=_0x4fbced?this['repository']['getRevision'](_0x4fbced):null,_0x5de479=this['_getRevisionsRange'](_0x30c542,_0x52a40),_0xcb7d1c=_0x5de479[_0x5de479['length']-0x1],_0x5bcf60=new Map(),_0x571b26={'model':{},'attributes':{},'changes':[]},_0xbb3e81=new Set(),_0x222227=new Map();for(let _0x56e40b=_0x5de479['length']-0x1;_0x56e40b>=0x0;_0x56e40b--){const _0x24f7fc=_0x5de479[_0x56e40b];for(const _0x3c7df3 of Object['keys'](_0x24f7fc['diffData']))if(_0x24f7fc['diffData'][_0x3c7df3]['attachChange']){const _0x4040ef=_0x24f7fc['diffData'][_0x3c7df3]['attachChange'];_0x4040ef['isAttached']?(_0xbb3e81['add'](_0x3c7df3),_0x222227['has'](_0x3c7df3)&&_0x222227['get'](_0x3c7df3)['userId']==_0x4040ef['userId']?_0x222227['delete'](_0x3c7df3):_0x222227['set'](_0x3c7df3,_0x4040ef)):_0x222227['has'](_0x3c7df3)?(_0xbb3e81['delete'](_0x3c7df3),_0x222227['delete'](_0x3c7df3)):(_0xbb3e81['add'](_0x3c7df3),_0x222227['set'](_0x3c7df3,_0x4040ef));}else _0xbb3e81['add'](_0x3c7df3);}for(const _0x49eabf of _0xbb3e81){const _0x5f14eb=_0x222227['has'](_0x49eabf)&&!_0x222227['get'](_0x49eabf)['isAttached'];let _0x193c4a=_0x5f14eb?_0x5de479['length']-0x1:0x0;const _0x5dd14a=_0x5f14eb?-0x1:0x1;for(;_0x5de479[_0x193c4a];){const _0xa62aa3=_0x5de479[_0x193c4a];if(_0xa62aa3['diffData'][_0x49eabf]){const _0x54043f=_0x5f14eb?_0xa62aa3['diffData'][_0x49eabf]['attributesBefore']:_0xa62aa3['diffData'][_0x49eabf]['attributesAfter'];_0x571b26['attributes'][_0x49eabf]=_0x54043f?_0xf6878e(_0x54043f):{};break;}_0x193c4a+=_0x5dd14a;}}for(const _0x5caa8c of _0x5de479){_0x5caa8c['model']={};for(const _0xd572ec of _0x5caa8c['authors'])_0x5bcf60['set'](_0xd572ec['id'],_0xd572ec);for(const _0x439aea of _0xbb3e81){const _0x955b13=_0x5caa8c['diffData'][_0x439aea]?_0x5caa8c['diffData'][_0x439aea]['insertions']:'[]',_0x20be42=_0x5caa8c['diffData'][_0x439aea]?_0x5caa8c['diffData'][_0x439aea]['deletions']:'[]';_0x5caa8c['model'][_0x439aea]={'insertions':this['_makeModelFromViewString'](_0x955b13),'deletions':this['_makeModelFromViewString'](_0x20be42)};}}for(const _0xbbd572 of _0xbb3e81){let _0x5d28e1=null,_0x3c12f7=0x0;const _0x4c0b0c=new Map(Array['from'](_0x30c542['model'][_0xbbd572]['insertions']['markers'])['filter'](([_0x590d70])=>!_0x590d70['startsWith']('revision:')));let _0x8e1efc=0x0;for(const _0x4784c5 of _0x5de479){const _0xb344ea=this['_makeTape'](_0x4784c5['model'][_0xbbd572]['insertions']);_0x4784c5==_0x30c542?(_0x5d28e1=_0xb344ea,_0x3c12f7=_0x5d28e1['length'],_0x5d28e1['forEach'](_0x275c91=>{_0x275c91['id']=_0x8e1efc++;}),this['_processTape'](_0x5d28e1)):this['_markInsertions'](_0x5d28e1,_0xb344ea);const _0x351fbf=_0x5d28e1['filter'](_0x1ad24e=>!_0x1ad24e['isAdded'])['map'](_0x9a5733=>_0x9a5733['id']);let _0x2af11f=0x0;const _0x2204ba=this['_makeTape'](_0x4784c5['model'][_0xbbd572]['deletions']);_0x2204ba['forEach'](_0x4954c3=>{_0x4954c3['isRemoved']?_0x4954c3['id']=_0x3c12f7++:_0x4954c3['id']=_0x351fbf[_0x2af11f++];}),this['_processTape'](_0x2204ba),this['_setDistance'](_0x5d28e1,'isAdded'),this['_setDistance'](_0x2204ba,'isRemoved'),_0x4784c5==_0x30c542&&this['_markMarkers'](_0x5d28e1,_0x4c0b0c),_0x5d28e1=this['_joinTapes'](_0x5d28e1,_0x2204ba),this['_refreshStartEndIndex'](_0x5d28e1),this['_setDistance'](_0x5d28e1,'isRemoved');}_0x5d28e1=_0x5d28e1['filter'](_0x2ecf87=>!(_0x2ecf87['isAdded']&&_0x2ecf87['isRemoved']));const _0x5d0d79=new Map(_0xcb7d1c['model'][_0xbbd572]['deletions']['markers']),_0x1dfad8=new Set(_0x4c0b0c['keys']());for(const _0x5e0e06 of _0x5d0d79['keys']())_0x1dfad8['delete'](_0x5e0e06);this['_markSuggestions'](_0x5d28e1,_0x1dfad8),this['_fixObsoleteTags'](_0x5d28e1),_0x5d28e1=this['_removeMissingPairs'](_0x5d28e1),_0x5d28e1=this['_markMismatchedRemovedTags'](_0x5d28e1),_0x5d28e1=this['_removeUnsupportedChanges'](_0x5d28e1);const {root:_0x2b79e0,changes:_0x14deff}=this['_makeModelFromTape'](_0x5d28e1,_0x5bcf60,_0xbbd572);_0x571b26['model'][_0xbbd572]=_0x2b79e0;const _0x4b08a0=_0x222227['get'](_0xbbd572);if(_0x4b08a0){const _0x5ecd01=_0x5bcf60['get'](_0x4b08a0['userId']),_0x53fbbe=new r({'author':_0x5ecd01,'type':_0x4b08a0['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xbbd572});_0x14deff['unshift'](_0x53fbbe),_0x571b26['attributes'][_0xbbd572]['revisionHistoryAttachChange']=_0x53fbbe['id'];}_0x571b26['changes']=_0x571b26['changes']['concat'](_0x14deff);}return _0x571b26;}['_markMarkers'](_0x310bf6,_0x29ece5){for(let _0x384805=0x0;_0x384805<_0x310bf6['length'];_0x384805++)for(const [_0x45754f,_0x460888]of _0x29ece5)_0x460888['start']['isEqual'](_0x310bf6[_0x384805]['previousPosition'])&&_0x310bf6[_0x384805]['markersStart']['push'](_0x45754f),_0x460888['end']['isEqual'](_0x310bf6[_0x384805]['nextPosition'])&&_0x310bf6[_0x384805]['markersEnd']['push'](_0x45754f);}['_joinTapes'](_0x47279e,_0x16d3c8){let _0x472674=[],_0x1ed601=0x0,_0x32e897=0x0;for(;_0x1ed601<_0x47279e['length']||_0x32e897<_0x16d3c8['length'];){const _0x53b90b=_0x47279e[_0x1ed601]||{},_0x54f72a=_0x16d3c8[_0x32e897]||{};if(_0x53b90b['id']==_0x54f72a['id'])_0x1ed601++,_0x32e897++,_0x472674['push'](_0x53b90b);else{if(_0x54f72a['isRemoved']&&_0x53b90b['isAdded']){const {commonTape:_0x31cb39,iEnd:_0x32f60d,jEnd:_0xf5332d}=this['_threeWayMerge'](_0x47279e,_0x1ed601,_0x16d3c8,_0x32e897);_0x472674=_0x472674['concat'](_0x31cb39),_0x1ed601=_0x32f60d,_0x32e897=_0xf5332d;}else _0x54f72a['isRemoved']?(_0x32e897++,_0x472674['push'](_0x54f72a)):(_0x1ed601++,_0x472674['push'](_0x53b90b));}}return _0x472674;}['_markSuggestions'](_0x402910,_0x146947){const _0x11cf63=[];for(let _0x45214c=0x0;_0x45214c<_0x402910['length'];_0x45214c++){for(let _0x498bd9=0x0;_0x498bd9<_0x402910[_0x45214c]['markersStart']['length'];_0x498bd9++){const _0x225a37=_0x402910[_0x45214c]['markersStart'][_0x498bd9];if(!_0x146947['has'](_0x225a37))continue;const {group:_0x166179,type:_0x1de813,authorId:_0x1bcd31}=_0x574236(_0x225a37);'revision-suggestion'!=_0x166179||'insertion'!=_0x1de813&&'deletion'!=_0x1de813||(_0x11cf63['unshift']({'type':_0x1de813,'name':_0x225a37,'userId':_0x1bcd31}),_0x402910[_0x45214c]['markersStart']['splice'](_0x498bd9,0x1),_0x498bd9--);}_0x47a06e(_0x402910[_0x45214c]);for(let _0x5eb73f=0x0;_0x5eb73f<_0x402910[_0x45214c]['markersEnd']['length'];_0x5eb73f++){const _0xa16cd5=_0x402910[_0x45214c]['markersEnd'][_0x5eb73f];if(!_0x146947['has'](_0xa16cd5))continue;const {group:_0x48ec54,type:_0x617abf}=_0x574236(_0xa16cd5);if('revision-suggestion'!=_0x48ec54||'insertion'!=_0x617abf&&'deletion'!=_0x617abf)continue;_0x402910[_0x45214c]['markersEnd']['splice'](_0x5eb73f,0x1),_0x5eb73f--;const _0x3081fa=_0x11cf63['findIndex'](_0x183c9a=>_0x183c9a['name']==_0xa16cd5);_0x3081fa>-0x1&&_0x11cf63['splice'](_0x3081fa,0x1);}}function _0x574236(_0x46ce57){const _0x500d38=_0x46ce57['split'](':');return{'group':_0x500d38[0x0],'type':_0x500d38[0x1],'subType':_0x500d38['length']>=0x5?_0x500d38[0x2]:null,'id':_0x500d38['length']<0x5?_0x500d38[0x2]:_0x500d38[0x3],'authorId':_0x500d38['length']<0x5?_0x500d38[0x3]:_0x500d38[0x4],'markerCount':0x6==_0x500d38['length']?_0x500d38[0x5]:null};}function _0x47a06e(_0x59e8ad){for(let _0x394649=0x0;_0x394649<_0x11cf63['length'];_0x394649++){if(_0x59e8ad['isAdded']&&'insertion'==_0x11cf63[_0x394649]['type'])return _0x59e8ad['isAddSuggestion']=_0x11cf63[_0x394649],void delete _0x59e8ad['isAdded'];if(!_0x59e8ad['isAdded']&&!_0x59e8ad['isRemoved']&&'deletion'==_0x11cf63[_0x394649]['type'])return void(_0x59e8ad['isRemoveSuggestion']=_0x11cf63[_0x394649]);}}}['_setDistance'](_0x59c3db,_0x199c31){let _0xb32fdc=0x0,_0x2acc19=!0x1;const _0x521c27=new Map();for(const _0x3e4f20 of _0x59c3db)_0x3e4f20[_0x199c31]?_0x2acc19&&(_0xb32fdc++,_0x2acc19=!0x1):(_0xb32fdc++,_0x2acc19=!0x0),_0x521c27['set'](_0x3e4f20['id'],_0xb32fdc);for(let _0x1656a5=0x0;_0x1656a5<_0x59c3db['length'];_0x1656a5++){if('isRemoved'==_0x199c31&&_0x59c3db[_0x1656a5]['isAdded']||'isAdded'==_0x199c31&&_0x59c3db[_0x1656a5]['isRemoved'])continue;if('text'==_0x59c3db[_0x1656a5]['type']){_0x59c3db[_0x1656a5]['distance']=0x0;continue;}const _0x1c21e0=_0x521c27['get'](_0x59c3db[_0x1656a5]['pairId']),_0x5eebf8=_0x521c27['get'](_0x59c3db[_0x1656a5]['id']);_0x59c3db[_0x1656a5]['distance']=_0x1c21e0-_0x5eebf8;}}['_getRevisionsRange'](_0x13453b,_0x406c8d,_0x572a83=!0x1){const _0x58c3c2=[];let _0x3dd085=this['repository']['getIndex'](_0x13453b),_0x200664=this['repository']['getIndex'](_0x406c8d);for(-0x1==_0x200664&&(_0x200664=this['repository']['_revisions']['length'],_0x572a83=!0x1);_0x3dd085<_0x200664;)_0x58c3c2['push'](this['repository']['getRevision'](_0x3dd085)),_0x3dd085++;return _0x572a83&&_0x58c3c2['push'](this['repository']['getRevision'](_0x3dd085)),_0x58c3c2;}['_threeWayMerge'](_0x487605,_0x143885,_0x3faced,_0x8c1939){const _0x325501=this['editor']['model']['schema'];let _0x420a8c=_0x143885;for(;_0x487605[_0x420a8c]&&_0x487605[_0x420a8c]['isAdded'];)_0x420a8c++;let _0x566640=_0x8c1939;for(;_0x3faced[_0x566640]&&_0x3faced[_0x566640]['isRemoved'];)_0x566640++;_0x4ae982(_0x487605,_0x143885,_0x420a8c),_0x4ae982(_0x3faced,_0x8c1939,_0x566640);const _0x3cdb78=_0x3faced['slice'](_0x8c1939,_0x566640)['concat'](_0x487605['slice'](_0x143885,_0x420a8c));return _0x3cdb78['sort']((_0x44b41a,_0x270816)=>_0x44b41a['side']!=_0x270816['side']?_0x44b41a['side']-_0x270816['side']:_0x44b41a['level']!=_0x270816['level']?_0x44b41a['level']-_0x270816['level']:_0x44b41a['distance']!=_0x270816['distance']?_0x270816['distance']-_0x44b41a['distance']:!!_0x44b41a['isAdded']!=!!_0x270816['isAdded']?-0x1==_0x44b41a['side']||0x0==_0x44b41a['side']?_0x44b41a['isAdded']?-0x1:0x1:_0x44b41a['isAdded']?0x1:-0x1:_0x44b41a['index']-_0x270816['index']),{'commonTape':_0x3cdb78,'iEnd':_0x420a8c,'jEnd':_0x566640};function _0x4ae982(_0x24d24e,_0xc33153,_0x4fb99a){let _0x2a04f5=-0x1,_0x9be711=Number['POSITIVE_INFINITY'],_0x379fd8=!0x0;for(let _0xda004a=_0xc33153;_0xda004a<_0x4fb99a;_0xda004a++)if(_0x325501['isInline'](_0x24d24e[_0xda004a]['item'])||(_0x379fd8=!0x1),_0x24d24e[_0xda004a]['item']['startIndex']<_0xc33153&&(_0x2a04f5=_0xda004a),_0x24d24e[_0xda004a]['item']['endIndex']>=_0x4fb99a){_0x9be711=_0xda004a;break;}_0x379fd8&&(_0x2a04f5=_0x4fb99a-0x1);for(let _0x1946ae=_0xc33153;_0x1946ae<_0x4fb99a;_0x1946ae++)_0x24d24e[_0x1946ae]['side']=_0x1946ae<=_0x2a04f5?-0x1:_0x1946ae<_0x9be711?0x0:0x1,_0x24d24e[_0x1946ae]['index']=_0x1946ae;let _0xa743bb=0x0;for(let _0x118e62=_0xc33153;_0x118e62<=_0x2a04f5;_0x118e62++)0x0==_0x24d24e[_0x118e62]['distance']?_0x24d24e[_0x118e62]['level']=_0xa743bb:(_0xa743bb++,_0x24d24e[_0x118e62]['level']=_0xa743bb,_0xa743bb++);for(let _0x5703d0=_0xc33153;_0x5703d0<_0x4fb99a;_0x5703d0++)0x0==_0x24d24e[_0x5703d0]['side']&&(_0x24d24e[_0x5703d0]['level']=_0xa743bb);_0xa743bb=0x0;for(let _0x35bda4=_0x4fb99a-0x1;_0x35bda4>=_0x9be711;_0x35bda4--)0x0==_0x24d24e[_0x35bda4]['distance']?_0x24d24e[_0x35bda4]['level']=_0xa743bb:(_0xa743bb--,_0x24d24e[_0x35bda4]['level']=_0xa743bb,_0xa743bb--);}}['_fixObsoleteTags'](_0x350cd5){const _0x238ff1=new Map(),_0xb4c4e9=this['editor']['model']['schema'];for(let _0x41af5d=0x1;_0x41af5d<_0x350cd5['length'];_0x41af5d++){let _0x3f7ce6,_0x38e5a7,_0x2c1226;const _0x2c1e49=_0x350cd5[_0x41af5d],_0x4b9d40=_0x350cd5[_0x41af5d-0x1];if('text'==_0x2c1e49['type'])continue;if(_0x2c1e49['type']!=_0x4b9d40['type'])continue;if(!_0xb4c4e9['isBlock'](_0x4b9d40['item'])||_0xb4c4e9['isLimit'](_0x4b9d40['item']))continue;if(!_0xb4c4e9['isBlock'](_0x2c1e49['item'])||_0xb4c4e9['isLimit'](_0x2c1e49['item']))continue;if((_0x350cd5[_0x41af5d]['isAdded']||_0x350cd5[_0x41af5d]['isAddSuggestion'])&&_0x350cd5[_0x41af5d-0x1]['isRemoved'])_0x3f7ce6=_0x350cd5[_0x41af5d],_0x38e5a7=_0x350cd5[_0x41af5d-0x1],_0x2c1226=_0x41af5d-0x1;else{if(!_0x350cd5[_0x41af5d]['isRemoved']||!_0x350cd5[_0x41af5d-0x1]['isAdded']&&!_0x350cd5[_0x41af5d-0x1]['isAddSuggestion'])continue;_0x3f7ce6=_0x350cd5[_0x41af5d-0x1],_0x38e5a7=_0x350cd5[_0x41af5d],_0x2c1226=_0x41af5d;}const _0x1807b0=_0x3f7ce6['level']==_0x38e5a7['level'],_0x484314=Math['abs'](_0x3f7ce6['level'])<Math['abs'](_0x38e5a7['level'])&&0x0==_0x38e5a7['distance'];(_0x1807b0||_0x484314)&&(_0x238ff1['set'](_0x38e5a7['id'],_0x3f7ce6['id']),_0x350cd5['splice'](_0x2c1226,0x1),_0x41af5d--,_0x3f7ce6['isAdded']=!0x1);}for(let _0x46d616=0x0;_0x46d616<_0x350cd5['length'];_0x46d616++)_0x238ff1['has'](_0x350cd5[_0x46d616]['pairId'])&&(_0x350cd5[_0x46d616]['pairId']=_0x238ff1['get'](_0x350cd5[_0x46d616]['pairId']));}['_removeMissingPairs'](_0x22496f){const _0x25696c=new Set(_0x22496f['map'](_0x478f56=>_0x478f56['id']));for(let _0x5c4ced=0x0;_0x5c4ced<_0x22496f['length'];_0x5c4ced++)_0x25696c['has'](_0x22496f[_0x5c4ced]['pairId'])||0x0==_0x22496f[_0x5c4ced]['distance']||(_0x22496f[_0x5c4ced]['isIncorrect']=!0x0);return _0x22496f['filter'](_0x137810=>!_0x137810['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4db3ae){const _0x5ed326=new Set();for(let _0x19e76f=0x0;_0x19e76f<_0x4db3ae['length'];_0x19e76f++){if(_0x5ed326['has'](_0x4db3ae[_0x19e76f]['id'])&&_0x4db3ae[_0x19e76f]['isRemoved']&&(_0x4db3ae[_0x19e76f]['isIncorrect']=!0x0),_0x4db3ae[_0x19e76f]['isIncorrect'])continue;if(0x0==_0x4db3ae[_0x19e76f]['distance'])continue;if('elementStart'!=_0x4db3ae[_0x19e76f]['type'])continue;if(null==_0x4db3ae[_0x19e76f]['pairId'])continue;let _0x3173fd=_0x19e76f+0x1,_0x2d9060=0x0;for(;_0x4db3ae[_0x3173fd]['id']!=_0x4db3ae[_0x19e76f]['pairId'];)'elementStart'==_0x4db3ae[_0x3173fd]['type']?_0x2d9060++:'elementEnd'==_0x4db3ae[_0x3173fd]['type']&&_0x2d9060--,_0x3173fd++;if(0x0!=_0x2d9060){if(_0x4db3ae[_0x19e76f]['isRemoved'])_0x4db3ae[_0x19e76f]['isIncorrect']=!0x0;else{for(;_0x3173fd!=_0x19e76f;)_0x4db3ae[_0x3173fd]['isRemoved']&&0x0!=_0x4db3ae[_0x3173fd]['distance']&&(_0x4db3ae[_0x3173fd]['isIncorrect']=!0x0,_0x5ed326['add'](_0x4db3ae[_0x3173fd]['pairId'])),_0x3173fd--;}}}return _0x4db3ae['filter'](_0x2802b6=>!_0x2802b6['isIncorrect']);}['_removeUnsupportedChanges'](_0x220906){const _0x2a0987=this['editor']['model']['schema'];for(let _0x4fc344=0x0;_0x4fc344<_0x220906['length'];_0x4fc344++){if(!(_0x220906[_0x4fc344]['isAdded']||_0x220906[_0x4fc344]['isAddSuggestion']||_0x220906[_0x4fc344]['isRemoved']||_0x220906[_0x4fc344]['isRemoveSuggestion']))continue;if(0x0==_0x220906[_0x4fc344]['distance'])continue;const _0x25deff=_0x220906[_0x4fc344]['item'];_0x2a0987['isBlock'](_0x25deff)||_0x2a0987['isLimit'](_0x25deff)||(_0x220906[_0x4fc344]['isAdded']&&delete _0x220906[_0x4fc344]['isAdded'],_0x220906[_0x4fc344]['isAddSuggestion']&&delete _0x220906[_0x4fc344]['isAddSuggestion'],_0x220906[_0x4fc344]['isRemoveSuggestion']&&delete _0x220906[_0x4fc344]['isRemoveSuggestion'],_0x220906[_0x4fc344]['isRemoved']&&(_0x220906[_0x4fc344]['isIncorrect']=!0x0));}return _0x220906['filter'](_0x31af3f=>!_0x31af3f['isIncorrect']);}['_makeModelFromTape'](_0x170eed,_0x2517cb,_0x3035f9){const _0x3b694c=new wt(),_0x34176c=[],_0x140324=new Map(),_0x869221=this['editor']['model'],_0x53c99e=_0x869221['schema'],_0x10f928=[_0x3b694c],_0x4db85c={},_0x26a8dc={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x44565b=null;const _0x5a0adf=[0x0];for(let _0x38cfdb=0x0;_0x38cfdb<_0x170eed['length'];_0x38cfdb++){let _0x18ef59,_0x5aa76e;if('elementStart'===_0x170eed[_0x38cfdb]['type']){_0x18ef59=_0x869221['createPositionFromPath'](_0x3b694c,_0x5a0adf);const _0x23ff9d=new ft(_0x170eed[_0x38cfdb]['item']['name'],_0x170eed[_0x38cfdb]['item']['getAttributes']());_0x10f928[0x0]['_appendChild'](_0x23ff9d),_0x5a0adf['push'](0x0),_0x10f928['unshift'](_0x23ff9d),_0x5aa76e=_0x869221['createPositionFromPath'](_0x3b694c,_0x5a0adf),_0x44565b=null;}else{if('elementEnd'===_0x170eed[_0x38cfdb]['type'])_0x10f928['shift'](),_0x18ef59=_0x869221['createPositionFromPath'](_0x3b694c,_0x5a0adf),_0x5a0adf['pop'](),_0x5a0adf[_0x5a0adf['length']-0x1]++,_0x5aa76e=_0x869221['createPositionFromPath'](_0x3b694c,_0x5a0adf),_0x44565b=null;else{if(_0x18ef59=_0x869221['createPositionFromPath'](_0x3b694c,_0x5a0adf),_0x44565b&&_0x51aaa7(_0x44565b,_0x170eed[_0x38cfdb]['item']))_0x44565b['_data']+=_0x170eed[_0x38cfdb]['item']['data'];else{const _0xfd6d02=new _t(_0x170eed[_0x38cfdb]['item']['data'],_0x170eed[_0x38cfdb]['item']['getAttributes']());_0x10f928[0x0]['_appendChild'](_0xfd6d02),_0x44565b=_0xfd6d02;}_0x5a0adf[_0x5a0adf['length']-0x1]+=_0x170eed[_0x38cfdb]['item']['offsetSize'],_0x5aa76e=_0x869221['createPositionFromPath'](_0x3b694c,_0x5a0adf);}}for(const _0x3e52b6 of _0x170eed[_0x38cfdb]['markersStart'])_0x140324['set'](_0x3e52b6,{'start':_0x18ef59,'end':null});_0x26b43f('isRemoveSuggestion',_0x38cfdb,_0x18ef59,_0x5aa76e),_0x26b43f('isAddSuggestion',_0x38cfdb,_0x18ef59,_0x5aa76e),_0x26b43f('isRemoved',_0x38cfdb,_0x18ef59,_0x5aa76e),_0x26b43f('isAdded',_0x38cfdb,_0x18ef59,_0x5aa76e);for(const _0x3b3e45 of _0x170eed[_0x38cfdb]['markersEnd']){_0x140324['get'](_0x3b3e45)['end']=_0x5aa76e;}}for(const [_0x1d4684,_0xfed911]of _0x140324){const _0x526ac2=this['editor']['model']['createRange'](_0xfed911['start'],_0xfed911['end']);_0x3b694c['markers']['set'](_0x1d4684,_0x526ac2);}return _0x34176c['sort']((_0x4e1531,_0x13a628)=>{const _0x2c0851=_0x3b694c['markers']['get']('revision:'+_0x4e1531['id']),_0xb26d6d=_0x3b694c['markers']['get']('revision:'+_0x13a628['id']);return _0x2c0851['start']['isBefore'](_0xb26d6d['start'])?-0x1:_0x2c0851['start']['isAfter'](_0xb26d6d['start'])?0x1:_0x2c0851['end']['isBefore'](_0xb26d6d['end'])?-0x1:_0x2c0851['end']['isAfter'](_0xb26d6d['end'])?0x1:'add'===_0x4e1531['type']?-0x1:0x1;}),{'root':_0x3b694c,'changes':_0x34176c};function _0x26b43f(_0x576814,_0x4a264c,_0x24c66b,_0x4e80ef){const _0x4918a5=!!_0x170eed[_0x4a264c][_0x576814],_0x258a52=_0x4918a5?_0x170eed[_0x4a264c][_0x576814]['userId']:null,_0x54f82a=_0x4a264c===_0x170eed['length']-0x1,_0x35a079=_0x26a8dc[_0x576814][0x0],_0x1f5faa=_0x53c99e['isObject'](_0x170eed[_0x4a264c]['item']);!_0x4db85c[_0x576814]&&_0x4918a5?_0x4db85c[_0x576814]={'start':_0x24c66b,'tapeItem':_0x170eed[_0x4a264c],'userId':_0x258a52,'type':_0x576814}:_0x4db85c[_0x576814]&&!_0x4918a5?(_0x4db85c[_0x576814]['end']=_0x24c66b,_0x1b82b8(_0x4db85c[_0x576814]),_0x4db85c[_0x576814]=null):_0x4db85c[_0x576814]&&_0x4918a5&&_0x4db85c[_0x576814]['userId']!==_0x258a52&&(_0x4db85c[_0x576814]['end']=_0x24c66b,_0x35a079&&_0x35a079['userId']===_0x4db85c[_0x576814]['userId']||_0x1b82b8(_0x4db85c[_0x576814]),_0x4db85c[_0x576814]={'start':_0x24c66b,'tapeItem':_0x170eed[_0x4a264c],'userId':_0x258a52,'type':_0x576814}),_0x4db85c[_0x576814]&&_0x1f5faa&&('elementStart'!==_0x170eed[_0x4a264c]['type']||_0x35a079&&_0x35a079['userId']===_0x258a52||_0x26a8dc[_0x576814]['unshift']({'userId':_0x258a52,'object':_0x170eed[_0x4a264c]['item'],'change':_0x4db85c[_0x576814]}),'elementEnd'===_0x170eed[_0x4a264c]['type']&&_0x35a079&&_0x35a079['object']===_0x170eed[_0x4a264c]['item']&&(_0x26a8dc[_0x576814]['shift'](),_0x4db85c[_0x576814]=_0x35a079['change'])),_0x4db85c[_0x576814]&&_0x54f82a&&(_0x4db85c[_0x576814]['end']=_0x4e80ef,_0x1b82b8(_0x4db85c[_0x576814]),_0x4db85c[_0x576814]=null);}function _0x1b82b8({start:_0x95a7d0,end:_0x229a6e,tapeItem:_0x16baa2,userId:_0x4f8949,type:_0x1b71b5}){const _0x509082=_0x16baa2['item'],_0x37f00b=_0x869221['schema']['isBlock'](_0x509082)&&!_0x869221['schema']['isLimit'](_0x509082),_0x40c539=_0x95a7d0['nodeAfter']==_0x229a6e['parent']&&_0x229a6e['isAtStart'];if(_0x37f00b&&_0x40c539)return;const _0x2664d6=_0x869221['createRange'](_0x95a7d0,_0x229a6e),_0x429389=_0x2517cb['get'](_0x4f8949),_0x4e9642=new r({'author':_0x429389,'type':'isAdded'==_0x1b71b5||'isAddSuggestion'==_0x1b71b5?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1b71b5||'isRemoveSuggestion'==_0x1b71b5},'createdAt':new Date(),'rootName':_0x3035f9});_0x34176c['push'](_0x4e9642),_0x3b694c['markers']['set']('revision:'+_0x4e9642['id'],_0x2664d6);}function _0x51aaa7(_0x5432c0,_0x2b5f3e){const _0x4d0466=_0x5432c0['getAttributes'](),_0x315856=_0x2b5f3e['getAttributes']();for(const _0x4dded8 of _0x4d0466){if(_0x4dded8[0x1]!==_0x2b5f3e['getAttribute'](_0x4dded8[0x0]))return!0x1;_0x315856['next']();}return _0x315856['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x57016e=>{const _0x5fa4c6=_0x57016e['markerName']['split'](':')[0x1],_0x404fbf=this['_getChangeFromId'](_0x5fa4c6);if(!_0x404fbf)return null;const _0x58961e='add'==_0x404fbf['type']?'insertion':'deletion',_0x3b8d40=['ck-suggestion-marker','ck-suggestion-marker-'+_0x58961e];return _0x404fbf['data']['isSuggestion']&&_0x3b8d40['push']('ck-suggestion-marker-'+_0x58961e+'-new'),this['activeChange']==_0x404fbf&&_0x3b8d40['push']('ck-suggestion-marker--active'),{'classes':_0x3b8d40,'attributes':{'data-change-id':_0x5fa4c6}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1df998=>{_0x1df998['on']('element:pre',(_0x105fd5,_0x2bb14b,_0x1576f5)=>{const _0x15bbc8=_0x2bb14b['viewItem']['getChild'](0x0);if(!_0x15bbc8||!_0x15bbc8['is']('element','code'))return;if(!_0x1576f5['consumable']['consume'](_0x15bbc8,{'attributes':['vid_start','vid_end']}))return;const _0x3b0c5e=_0x2bb14b['modelRange']['start']['nodeAfter'];_0x1576f5['writer']['setAttribute']('vid_start',_0x15bbc8['getAttribute']('vid_start'),_0x3b0c5e),_0x1576f5['writer']['setAttribute']('vid_end',_0x15bbc8['getAttribute']('vid_end'),_0x3b0c5e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3ae75d=>{_0x3ae75d['on']('element',(_0x4b578a,_0x57e7e2,_0x118bcf)=>{if(!_0x118bcf['consumable']['consume'](_0x57e7e2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x57e7e2['modelRange']['isCollapsed'])return;const _0x2800ab=_0x57e7e2['modelRange']['start']['nodeAfter'];_0x2800ab['hasAttribute']('vid_start')||_0x2800ab['hasAttribute']('vid')||(_0x118bcf['writer']['setAttribute']('vid_start',_0x57e7e2['viewItem']['getAttribute']('vid_start'),_0x2800ab),_0x118bcf['writer']['setAttribute']('vid_end',_0x57e7e2['viewItem']['getAttribute']('vid_end'),_0x2800ab));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x184d33=>_0x184d33['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x485ee2,[,_0x1321c0])=>{['vid_start','vid_end','vid']['includes'](_0x1321c0)&&(_0x485ee2['return']=!0x0,_0x485ee2['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xaeb8d2=>{_0xaeb8d2['on']('attribute:vid',(_0x38adbc,_0x492035,_0x53a932)=>{if('\x20'!=_0x492035['item']['data']||_0x492035['item']['parent']['maxOffset']>0x1)return;if(!_0x53a932['consumable']['consume'](_0x492035['item'],_0x38adbc['name']))return;const _0x4f0d8d=_0x53a932['writer'],_0x1b3ae3=_0x53a932['mapper']['toViewRange'](_0x492035['range']);_0x4f0d8d['wrap'](_0x1b3ae3,_0x4f0d8d['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x7cf2e7){const _0x108fbb=_0x7cf2e7['plugins']['get']('RevisionViewer');return(_0x16a1af,_0x448d86,_0x367e5c)=>{const _0x53db7e=_0x448d86['markerName']['split'](':')[0x1],_0x214b72=_0x108fbb['_getChangeFromId'](_0x53db7e);if(!_0x214b72)return null;const _0x36b0d7='add'==_0x214b72['type']?'split':'merge';if(!_0x367e5c['consumable']['test'](_0x448d86['markerRange'],_0x16a1af['name']))return;const _0x5ee48c=_0x448d86['markerRange']['getWalker'](),_0x9004e9=_0x448d86['markerRange']['start'],_0x391156=_0x7cf2e7['model']['schema'];let _0x342f0f=null,_0x173f9b=null,_0x4068b3=!0x1,_0x1af0e0=!0x1;for(const _0x1fbcca of _0x5ee48c){const _0x5ed061=_0x1fbcca['item'];_0x4068b3=_0x4068b3||_0x391156['isContent'](_0x5ed061);const _0x24d993=_0x367e5c['mapper']['toViewElement'](_0x5ed061);if(_0x24d993&&_0x24d993['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1fbcca['type']&&(_0x391156['isBlock'](_0x5ed061)&&!_0x391156['isLimit'](_0x5ed061)&&(_0x5ed061['nextSibling']||_0x9004e9['isAtEnd']?_0x342f0f&&_0x342f0f['parent']==_0x5ed061||(_0x342f0f=_0x5ed061,_0x291504(_0x1fbcca['previousPosition']),_0x1af0e0=!0x0):_0x173f9b=_0x173f9b||_0x1fbcca['previousPosition']));}function _0x291504(_0x4ac03d){const _0x1cadb2=_0x367e5c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x36b0d7}),_0x41cccb=_0x367e5c['mapper']['toViewPosition'](_0x4ac03d);_0x214b72['data']['isSuggestion']&&_0x367e5c['writer']['addClass']('ck-suggestion-marker-'+_0x36b0d7+'-new',_0x1cadb2),_0x108fbb['activeChange']==_0x214b72&&_0x367e5c['writer']['addClass']('ck-suggestion-marker--active',_0x1cadb2),_0x367e5c['writer']['insert'](_0x41cccb,_0x1cadb2),_0x367e5c['mapper']['bindElementToMarker'](_0x1cadb2,_0x448d86['markerName']);}_0x4068b3||_0x1af0e0||!_0x173f9b||_0x291504(_0x173f9b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4c7c7f,_0x2ca3be,_0x4f7e96)=>{const _0xe7db9f=_0x4f7e96['mapper']['markerNameToElements'](_0x2ca3be['markerName']);if(_0xe7db9f){for(const _0x3b588e of _0xe7db9f)(_0x3b588e['hasClass']('ck-suggestion-marker-split')||_0x3b588e['hasClass']('ck-suggestion-marker-merge'))&&(_0x4f7e96['mapper']['unbindElementFromMarkerName'](_0x3b588e,_0x2ca3be['markerName']),_0x4f7e96['writer']['remove'](_0x3b588e));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5c1d48,_0x393631,_0x3b8f13)=>{const _0x1845a6=_0x393631['markerName']['split'](':')[0x1],_0x8b339c=this['_getChangeFromId'](_0x1845a6);if(!_0x8b339c)return null;const _0x4b3542='add'==_0x8b339c['type']?'split':'merge';if(_0x3b8f13['consumable']['test'](_0x393631['markerRange'],_0x5c1d48['name']))for(const _0x1e8756 of _0x393631['markerRange']['getItems']()){if(!_0x1e8756['is']('element','softBreak'))continue;const _0x291bc4=_0x3b8f13['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b3542}),_0x3d3a91=_0x3b8f13['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1e8756));_0x8b339c['data']['isSuggestion']&&_0x3b8f13['writer']['addClass']('ck-suggestion-marker-'+_0x4b3542+'-new',_0x291bc4),this['activeChange']==_0x8b339c&&_0x3b8f13['writer']['addClass']('ck-suggestion-marker--active',_0x291bc4),_0x3b8f13['writer']['insert'](_0x3d3a91,_0x291bc4),_0x3b8f13['mapper']['bindElementToMarker'](_0x291bc4,_0x393631['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x176760=>{for(const _0x2baabb of this['editor']['model']['document']['getRootNames']()){const _0x11f30b=this['editor']['model']['document']['getRoot'](_0x2baabb),_0x42f7f6=this['editor']['editing']['view']['document']['getRoot'](_0x2baabb);if(_0x42f7f6){const _0x4847fe=_0x11f30b['getAttribute']('revisionHistoryAttachChange');if(_0x176760['removeAttribute']('data-change-id',_0x42f7f6),_0x176760['removeClass']('ck-revision-history-root-add',_0x42f7f6),_0x176760['removeClass']('ck-revision-history-root-remove',_0x42f7f6),_0x176760['removeClass']('ck-revision-history-root--active',_0x42f7f6),_0x4847fe){const _0x156a17=this['_getChangeFromId'](_0x4847fe);if(!_0x156a17)return null;_0x176760['setAttribute']('data-change-id',_0x4847fe,_0x42f7f6),_0x176760['addClass']('ck-revision-history-root-'+_0x156a17['type'],_0x42f7f6),this['activeChange']==_0x156a17&&_0x176760['addClass']('ck-revision-history-root--active',_0x42f7f6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4d520c=>'revision-comment:'+_0x4d520c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x55b5bf=>'revision-suggestion:'+_0x55b5bf,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x182964=>({'name':'suggestion:'+_0x182964,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x314357=>{const _0xfd09e4=_0x314357['markerName']['split'](':')[0x1];return'insertion'!=_0xfd09e4&&'deletion'!=_0xfd09e4?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xfd09e4]};}}),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',(_0x1936d1,_0x3149f8,_0x19b715)=>{const _0x5d6bec=_0x19b715['mapper']['markerNameToElements'](_0x3149f8['markerName']);if(_0x5d6bec){for(const _0x24e9e6 of _0x5d6bec)_0x24e9e6['is']('uiElement')&&(_0x19b715['mapper']['unbindElementFromMarkerName'](_0x24e9e6,_0x3149f8['markerName']),_0x19b715['writer']['remove'](_0x24e9e6));}},{'priority':'high'});}['_getChangeFromId'](_0x2ddeca){return this['_changeIdToChange']['get'](_0x2ddeca);}['_getViewForChange'](_0x59aaf5){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x59aaf5),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x424fc1,_0x3b4a7a,_0x51da6f,_0x2ddba4)=>{_0x2ddba4&&this['_balloon']['remove'](_0x2ddba4),_0x51da6f&&(this['_balloon']['add']({'view':_0x51da6f,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5abe92=this['editor']['editing'],_0x20c73b=this['_getChangeFromId'](_0x51da6f['changeId']);let _0x372917;if(_0x20c73b['data']['isOnRoot']){const _0x3a43a5=_0x5abe92['view']['getDomRoot'](_0x20c73b['rootName']);_0x372917=Array['from'](_0x3a43a5['getClientRects']());}else{const _0x562c3c=this['editor']['model']['markers']['get']('revision:'+_0x51da6f['changeId']);_0x372917=Array['from'](_0x5abe92['mapper']['markerNameToElements'](_0x562c3c['name']))['map'](_0x32388c=>_0x5abe92['view']['domConverter']['mapViewToDom'](_0x32388c))['map'](_0x265d57=>Array['from'](_0x265d57['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x372917[0x0];return _0x372917['find'](_0x2548dd=>_0x2548dd['top']-0x3<=this['_activeViewTarget']['y']&&_0x2548dd['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2548dd['left']-0x3<=this['_activeViewTarget']['x']&&_0x2548dd['right']+0x3>=this['_activeViewTarget']['x'])||_0x372917[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1b99d7,_0x26eb5b,_0x292236,_0x207431)=>{this['activeView']=_0x292236?this['_getViewForChange'](_0x292236):null,this['editor']['model']['change'](()=>{const _0x14d059=this['editor']['editing'];_0x207431&&(_0x207431['data']['isOnRoot']?_0x14d059['view']['change'](_0x3cb363=>{_0x3cb363['removeClass']('ck-revision-history-root--active',_0x14d059['view']['document']['getRoot'](_0x207431['rootName']));}):_0x14d059['reconvertMarker']('revision:'+_0x207431['id'])),_0x292236&&(_0x292236['data']['isOnRoot']?_0x14d059['view']['change'](_0x357c7b=>{_0x357c7b['addClass']('ck-revision-history-root--active',_0x14d059['view']['document']['getRoot'](_0x292236['rootName']));}):_0x14d059['reconvertMarker']('revision:'+_0x292236['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2fd3b9,_0xbfc7d0)=>{if(this['activeChange'])return;const _0x80e06e=this['_findChangeIdFromDomTarget'](_0xbfc7d0['target']),_0x124c64=this['_changeIdToChange']['get'](_0x80e06e);_0x124c64?(this['_activeViewTarget']={'x':_0xbfc7d0['domEvent']['x'],'y':_0xbfc7d0['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x124c64)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1024ca,_0x31c6ee)=>{const _0x11b279=this['_findChangeIdFromDomTarget'](_0x31c6ee['target']),_0x515d5d=this['_changeIdToChange']['get'](_0x11b279);_0x515d5d?(this['_activeViewTarget']={'x':_0x31c6ee['domEvent']['x'],'y':_0x31c6ee['domEvent']['y']},_0x515d5d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x515d5d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3535df){do{const _0x1d94b9=_0x3535df['getAttribute']('data-change-id');if(_0x1d94b9)return _0x1d94b9;_0x3535df=_0x3535df['parent'];}while(_0x3535df);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xb58288=>{for(const _0xda1fc5 of this['editor']['model']['markers'])_0xb58288['removeMarker'](_0xda1fc5);});}}function et(_0x4abf4b,_0x21d882){return(_0x44c2a2,_0x23b759,_0x41c585)=>{if(!_0x41c585['consumable']['test'](_0x23b759['markerRange'],_0x44c2a2['name']))return;const _0x2440c0=_0x23b759['markerRange']['getWalker'](),_0x580afc=_0x23b759['markerRange']['start'],_0x1391c3=_0x4abf4b['model']['schema'];let _0x486b2b=null,_0x4c9dd5=null,_0x3e4954=!0x1,_0x42b797=!0x1;for(const _0x1658fc of _0x2440c0){const _0xbcee18=_0x1658fc['item'];_0x3e4954=_0x3e4954||_0x1391c3['isContent'](_0xbcee18);const _0x2bd85f=_0x41c585['mapper']['toViewElement'](_0xbcee18);if(_0x2bd85f&&_0x2bd85f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1658fc['type']&&(_0x1391c3['isBlock'](_0xbcee18)&&!_0x1391c3['isLimit'](_0xbcee18)&&(_0xbcee18['nextSibling']||_0x580afc['isAtEnd']?_0x486b2b&&_0x486b2b['parent']==_0xbcee18||(_0x486b2b=_0xbcee18,_0x86ca13(_0x1658fc['previousPosition']),_0x42b797=!0x0):_0x4c9dd5=_0x4c9dd5||_0x1658fc['previousPosition']));}function _0x86ca13(_0x24edaf){const _0x4b5a6b=_0x41c585['mapper']['toViewPosition'](_0x24edaf),_0x4afc59=_0x41c585['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x21d882});_0x41c585['writer']['insert'](_0x4b5a6b,_0x4afc59),_0x41c585['mapper']['bindElementToMarker'](_0x4afc59,_0x23b759['markerName']);}_0x3e4954||_0x42b797||!_0x4c9dd5||_0x86ca13(_0x4c9dd5);};}class bt extends _0x3ee222{constructor(_0x1b5943){super(_0x1b5943);const _0xec37f3=_0x1b5943['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xec37f3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xec37f3,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x51f71d=this['editor'],_0x55c298=_0x51f71d['plugins']['get'](d),_0x10efb9=_0x55c298['isReady']?_0x55c298['diff']['newRevisionId']:null;_0x51f71d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x10efb9);}['refresh'](){const {isReady:_0x5b9e48,isEnabled:_0x2bbe10}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5b9e48&&_0x2bbe10;}}class yt extends _0x3ee222{['_step'];constructor(_0x157471,{direction:_0x239865}){super(_0x157471);const _0x5a32fb=_0x157471['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x239865?0x1:-0x1,this['listenTo'](_0x5a32fb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5a32fb,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5a32fb,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5b8f24=this['editor'],_0x21b032=_0x5b8f24['plugins']['get'](d),{isNavigationMode:_0x4eb7fd,currentChangeNumber:_0x59351e}=_0x21b032;let _0x3627e0;if(_0x21b032['activeChange']=_0x4eb7fd?_0x21b032['diff']['changes']['get'](_0x59351e+this['_step']):_0x21b032['diff']['changes']['first'],_0x21b032['activeChange']['data']['isOnRoot'])_0x3627e0=_0x5b8f24['editing']['view']['getDomRoot'](_0x21b032['activeChange']['rootName']);else{const _0x3cf630=_0x5b8f24['model']['markers']['get']('revision:'+_0x21b032['activeChange']['id']);_0x3627e0=_0x314a4e(_0x5b8f24['editing'],_0x3cf630);}_0xf01432({'target':_0x3627e0,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x15e3fd,currentChangeNumber:_0x16cf89,numberOfChanges:_0x312b68,isReady:_0x3ac914,isEnabled:_0x510865}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x510865&&_0x3ac914&&_0x312b68)&&(!_0x15e3fd||(0x1===this['_step']?_0x16cf89<_0x312b68-0x1:_0x16cf89>0x0));}}class _i extends _0x5ab189{constructor(_0x2e3eb4){super(_0x2e3eb4);const _0x192370=this['bindTemplate'],_0x70150e=new _0x8af1e8(_0x2e3eb4),_0x575f99=new _0x8af1e8(_0x2e3eb4);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',(_0x2e76f9,_0x30eb21)=>_0x2e76f9&&_0x30eb21>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x52fce0,_0x44c979,_0x32bf78,_0x3827e7)=>{if(!_0x52fce0)return y(_0x2e3eb4,'Loading...');if(!_0x32bf78)return y(_0x2e3eb4,'No\x20changes');const _0x45ef5e=y(_0x2e3eb4,'NUMBER_OF_CHANGES',_0x32bf78);return _0x3827e7?y(_0x2e3eb4,'X_OF_Y_CHANGES',[_0x44c979+0x1,_0x32bf78]):_0x45ef5e;}),_0x70150e['set']({'label':y(_0x2e3eb4,'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'}),_0x575f99['set']({'label':y(_0x2e3eb4,'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'}),_0x70150e['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x575f99['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x70150e['on']('execute',()=>this['fire']('execute','backward')),_0x575f99['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',_0x192370['if']('_isStatusLabelVisible','ck-hidden',_0x4f2c6f=>!_0x4f2c6f)]},'children':[{'text':_0x192370['to']('isNavigationMode',_0x431f2c=>_0x431f2c?y(_0x2e3eb4,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2e3eb4,'Total')+':\x20')}]},{'text':_0x192370['to']('_statusText')}]},new _0x4ebbcc(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x70150e,_0x575f99]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x56b499{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1be34=this['editor']['editing']['view'];_0x1be34['change'](_0xb6dd39=>{for(const _0x27a2f6 of _0x1be34['document']['roots'])_0xb6dd39['addClass'](ce,_0x27a2f6);});}['hide'](){const _0x1669f8=this['editor']['editing']['view'];_0x1669f8['change'](_0x50c117=>{for(const _0x197d1b of _0x1669f8['document']['roots'])_0x50c117['removeClass'](ce,_0x197d1b);});}}class R extends _0x56b499{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x46faec=this['editor'],_0x404818=_0x46faec['plugins']['get'](d),_0x24c037=_0x46faec['plugins']['get'](de);_0x46faec['ui']['componentFactory']['add']('exitToEditing',_0x50cf1f=>{const _0x24654a=new _0x8af1e8(_0x50cf1f);return _0x24654a['set']({'label':y(_0x50cf1f,'Back\x20to\x20editing'),'icon':_0x5665c4['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x24654a,'execute',()=>{_0x46faec['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x24654a;}),_0x46faec['ui']['componentFactory']['add']('restoreRevision',_0x39b253=>{const _0x467262=new _0x8af1e8(_0x39b253);return _0x467262['set']({'label':y(_0x39b253,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x467262['bind']('isEnabled')['to'](_0x46faec['commands']['get']('restoreRevision')),this['listenTo'](_0x467262,'execute',()=>_0x46faec['execute']('restoreRevision')),_0x467262;}),_0x46faec['ui']['componentFactory']['add']('changesNavigation',_0x521718=>{const _0x9be4be=new _i(_0x521718),_0x349812=_0x46faec['commands']['get']('showPreviousChange'),_0x3fb228=_0x46faec['commands']['get']('showNextChange');return _0x9be4be['bind']('isBackwardNavigationEnabled')['to'](_0x349812,'isEnabled'),_0x9be4be['bind']('isForwardNavigationEnabled')['to'](_0x3fb228,'isEnabled'),_0x9be4be['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x404818),this['listenTo'](_0x9be4be,'execute',(_0x252519,_0x54f2c8)=>{_0x46faec['execute']('forward'===_0x54f2c8?'showNextChange':'showPreviousChange');}),_0x9be4be;}),_0x24c037['show'](),_0x404818['on']('change:isReady',(_0x392a99,_0x2c4124,_0x375cd6)=>{_0x375cd6?_0x24c037['hide']():_0x24c037['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x160692,_0x15952b){super(_0x160692,_0x15952b);const _0x9934a9=this['bindTemplate'];this['set']({'label':y(_0x160692,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x160692,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x9934a9['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 _0x44bb51=this['fieldView']['element'];this['_tooltipString']=_0x44bb51['scrollWidth']>_0x44bb51['clientWidth']&&_0x44bb51['value']||'';}}class ti extends _0x5ab189{constructor(_0x2042dd,_0x5f4b69,_0x4603d4){super(_0x2042dd);const _0x123368=new _0x12da21();_0x123368['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 _0x4ddeb4=['ck','ck-revision-history-sidebar__revision-author'];_0x4603d4&&_0x4ddeb4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x16b9fb=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2042dd,_0x4603d4?'Revision\x20creator':'Revision\x20author')},'children':[_0x123368,_0x5f4b69['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4ddeb4},'children':_0x16b9fb});}}function ni(_0x5e2bf5,_0x178a42){const _0x30b6f8=_0x5e2bf5['bindTemplate'],_0x5878e3=_0x5e2bf5['locale'],_0x2141e4=_0x22729a(_0x5878e3);_0x2141e4['panelPosition']='sw';const _0x4a36b6=function(_0x287cbd,_0xe26823){const _0x495485=function(_0x263b44,_0x155ed6){const _0x41f9ac=_0x263b44['locale'],_0x5219ce={'Compare\x20against\x20selected':y(_0x41f9ac,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x41f9ac,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x41f9ac,'Restore\x20this\x20revision')};return _0x155ed6['map'](_0x52c941=>{const _0x59a3e0=_0x5219ce[_0x52c941['name']];return _0x59a3e0&&_0x59a3e0!==_0x52c941['name']&&(_0x52c941['name']=_0x59a3e0),_0x52c941;});}(_0x287cbd,_0xe26823),_0x239617=new _0x49484f();for(const _0x5e1b6a of _0x495485){const _0x5c2080={'type':'button','model':new to({'label':_0x5e1b6a['name'],'class':_0x5e1b6a['class'],'withText':!0x0,'role':'menuitem','_action':_0x5e1b6a['action']})};_0x5c2080['model']['bind']('isEnabled')['to'](_0x287cbd,'isActionsDropdownOpen',_0x2cb8db=>'function'!=typeof _0x5e1b6a['isEnabled']||(!_0x2cb8db||_0x5e1b6a['isEnabled'](_0x287cbd))),_0x239617['add'](_0x5c2080);}return _0x239617;}(_0x5e2bf5,_0x178a42);return _0x5e2bf5['bind']('isActionsDropdownOpen')['to'](_0x2141e4,'isOpen'),_0x2141e4['buttonView']['set']({'label':y(_0x5878e3,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5665c4['threeVerticalDots']}),_0x2141e4['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x30b6f8['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x30b6f8['to'](_0x13a1bc=>_0x13a1bc['stopPropagation']())}}),_0x2141e4['on']('execute',_0x13d1ab=>{_0x5e2bf5['isReady']&&'function'==typeof _0x13d1ab['source']['_action']&&_0x13d1ab['source']['_action'](_0x5e2bf5);}),_0x1ff0b1(_0x2141e4,_0x4a36b6,{'role':'menu'}),_0x2141e4['listenTo'](_0x5e2bf5,'change:isActionsDropdownOpen',(_0x556214,_0x570805,_0x2bd817)=>{if(_0x2bd817)for(const _0x134450 of _0x2141e4['listView']['items']){const _0x21399f=_0x134450['children']['first'],_0x14b177=_0x178a42['find'](_0x2db1bf=>_0x2db1bf['action']===_0x21399f['_action'])['isVisible'];_0x134450['isVisible']=void 0x0===_0x14b177||_0x14b177(_0x5e2bf5);}}),_0x2141e4;}class ai extends _0x132e9c(_0x5ab189){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x362064,_0x52e98a,_0xca97b8,_0x3c55f5){super(_0x362064);const _0x4414dd=this['bindTemplate'],_0x275bef=function(_0x77dae7,_0x4858a7){const _0x3fd6e1=Array['from'](_0x4858a7['authors'])['filter'](_0x2761de=>_0x2761de!=_0x4858a7['creator']);return _0x4858a7['creator']&&_0x3fd6e1['unshift'](_0x4858a7['creator']),_0x3fd6e1['map'](_0x2da5e3=>new ti(_0x77dae7,_0x2da5e3,_0x2da5e3==_0x4858a7['creator']));}(_0x362064,_0x52e98a);this['id']=_0x52e98a['id'],this['_revision']=_0x52e98a,this['_requireRevisionName']=_0x3c55f5,this['bind']('name','createdAt')['to'](_0x52e98a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xfa7bb8=>{return _0x284c94=_0x362064['uiLanguage'],(_0x42b4df=_0xfa7bb8)['toLocaleDateString'](_0x284c94,{'month':'long','day':'numeric'})+',\x20'+_0x42b4df['toLocaleTimeString'](_0x284c94,{'hour':'numeric','minute':'numeric'});var _0x284c94,_0x42b4df;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x362064,_0x1c4533),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2ae3f6=>_0x2ae3f6||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x217abe,_0x593612)=>_0x217abe&&_0x593612),this['revisionActionsView']=_0xca97b8&&_0xca97b8['length']?ni(this,_0xca97b8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4414dd['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4414dd['if']('isEnabled','ck-disabled',_0x35578e=>!_0x35578e),_0x4414dd['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4414dd['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4414dd['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':_0x4414dd['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':_0x275bef}]},this['revisionActionsView']],'on':{'click':_0x4414dd['to'](_0x576e47=>{_0x576e47['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x188cf2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x188cf2,'change',()=>{this['_requireRevisionName']&&!_0x188cf2['value']||this['fire']('setName',{'id':this['id'],'name':_0x188cf2['value']}),_0x188cf2['value']||(_0x188cf2['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(_0x11bcdb,_0x1ecab2){const _0x36efc4=_0x18e66c['fromJSDate'](_0x11bcdb)['setLocale'](_0x1ecab2),_0x5d59b5=_0x18e66c['local'](),_0x4d6824=_0x5d59b5['minus']({'days':0x1})['startOf']('day');let _0x40e373,_0x2b1164;return _0x36efc4['hasSame'](_0x5d59b5,'day')?(_0x40e373=_0x36efc4['startOf']('day')['toJSDate'](),_0x2b1164=_0x36efc4['toRelativeCalendar']()):_0x36efc4['hasSame'](_0x4d6824,'day')?(_0x40e373=_0x4d6824['toJSDate'](),_0x2b1164=_0x36efc4['toRelativeCalendar']()):_0x36efc4['hasSame'](_0x5d59b5,'week')?(_0x40e373=_0x36efc4['startOf']('week')['toJSDate'](),_0x2b1164=_0x36efc4['weekdayLong']||''):_0x36efc4['hasSame'](_0x5d59b5,'year')?(_0x40e373=_0x36efc4['startOf']('month')['toJSDate'](),_0x2b1164=_0x36efc4['monthLong']||''):(_0x40e373=_0x36efc4['startOf']('year')['toJSDate'](),_0x2b1164=String(_0x36efc4['year'])),{'startDate':_0x40e373,'localizedPeriodName':_0x2b1164};}class mi extends _0x5ab189{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x36fd44,_0x29b2,_0x372617,_0x187222){super(_0x36fd44);const _0x18a877=di(_0x29b2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x29b2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x372617,this['_requireRevisionName']=_0x187222,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':_0x18a877}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x471c8e){const _0x290dff=new ai(this['locale'],_0x471c8e,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x290dff);}['removeRevision'](_0x57b609){const _0x2d98d4=this['revisionViews']['find'](_0x5bc38c=>_0x5bc38c['id']===_0x57b609['id']);this['revisionViews']['remove'](_0x2d98d4);}}class as extends _0x5ab189{constructor(_0xe28379){super(_0xe28379);const _0x4b30cf=new _0x12da21();_0x4b30cf['content']=_0x5665c4['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4b30cf,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xe28379,'Revision\x20history')]}]});}}class ci extends _0x5ab189{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x126e4a,_0x2bee37,_0x17117a,_0x841ead){super(_0x126e4a);const _0x32dcf5=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2bee37,this['_revisionActions']=_0x17117a,this['_requireRevisionName']=_0x841ead,this['on']('select',(_0x1a020d,_0x3a96f9)=>{this['fire']('revisionSelected',_0x3a96f9);}),this['on']('setName',(_0x9810d,_0x1eb342)=>{this['fire']('revisionSetName',_0x1eb342);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x126e4a),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x32dcf5['if']('isEnabled','ck-disabled',_0x300eef=>!_0x300eef)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x216c93 of this['_revisions'])this['_addRevision'](_0x216c93);this['_revisions']['on']('add',(_0x254bd3,_0x586d0d)=>{this['_addRevision'](_0x586d0d);}),this['_revisions']['on']('remove',(_0x47664e,_0x4da42b)=>{this['_removeRevision'](_0x4da42b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x410cd5=>_0x410cd5['revisionViews']['map'](_0x3adbf8=>_0x3adbf8))['flat']();}['selectRevision'](_0x43ceef){for(const _0x5512c3 of this['revisionViews'])_0x43ceef&&_0x43ceef['id']===_0x5512c3['id']?_0x5512c3['select']():_0x5512c3['deselect']();}['highlightRevisions'](_0x111452){for(const _0x4951ff of this['revisionViews'])_0x111452['some'](({id:_0x19372e})=>_0x19372e===_0x4951ff['id'])?_0x4951ff['highlight']():_0x4951ff['unhighlight']();}['_addRevision'](_0x1115e9){const _0x181be2=di(_0x1115e9['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xc9ea97=this['timePeriodViews']['get'](0x0);_0xc9ea97&&_0xc9ea97['startDate']['getTime']()===_0x181be2['getTime']()||(_0xc9ea97=new mi(this['locale'],_0x181be2,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xc9ea97)),_0xc9ea97['addRevision'](_0x1115e9);}['_removeRevision'](_0x3a9b7e){const _0x16ed34=di(_0x3a9b7e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x16ed34)['removeRevision'](_0x3a9b7e);}['_getTimePeriodViewByStartDate'](_0x347f49){return this['timePeriodViews']['find'](_0x43ce17=>_0x43ce17['startDate']['getTime']()===_0x347f49['getTime']());}}class w extends _0x56b499{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0xfb44f0){super(_0xfb44f0),this['_revisionViewer']=_0xfb44f0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3cacd3=this['_revisionsRepository']['_revisions'],_0x1f144d=this['_createRevisionActions'](),_0x233e76=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3cacd3,_0x1f144d,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',(_0x68abf1,_0x3f68fc)=>{_0x3f68fc['revisionViews']['on']('add',(_0xffda75,_0xa6bcc4)=>{_0xa6bcc4['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)),_0x233e76['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x286d60=this['_revisionsRepository']['getRevision'](0x0);if(_0x286d60){const _0x360b61=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x286d60['id']);this['_revisionViewer']['compare'](_0x286d60,_0x360b61);}}['_handleRevisionSelected'](_0x335c4b,_0x368318){const _0x2c8a99=this['_revisionsRepository']['getRevision'](_0x368318['id']),_0x2a4cf7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2c8a99['id']);this['_revisionViewer']['compare'](_0x2c8a99,_0x2a4cf7);}['_handleRevisionSetName'](_0x551ae8,_0x5c9053){this['_revisionsRepository']['getRevision'](_0x5c9053['id'])['setName'](_0x5c9053['name']);}['_handleDiffChange'](_0x4eca01,_0x39a665,_0x2e57b1){const _0x5f3ccb=this['_revisionsRepository']['getRevisionsInDiff'](_0x2e57b1);_0x5f3ccb['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5f3ccb),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5f3ccb[0x0]));}['_createRevisionActions'](){const _0x25a641=this['editor'],_0x5ac5e9=w['availableRevisionActions'],_0x57ab33=_0x25a641['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x57ab33['length'])return _0x57ab33['map'](_0x55afdd=>{const _0x15f787='string'==typeof _0x55afdd?Object['assign']({},_0x5ac5e9[_0x55afdd]):_0x55afdd;return _0x15f787['action']=_0x15f787['action']['bind'](this,_0x25a641),_0x15f787['isVisible']&&(_0x15f787['isVisible']=_0x15f787['isVisible']['bind'](this,_0x25a641)),_0x15f787;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x282b07},_0x341540)=>{const _0x1c4eaf=_0x282b07['get'](d),_0x1b6366=_0x1c4eaf['repository'];let _0x4d175e=_0x1c4eaf['diff']['newRevisionId'],_0x4c9b13=_0x341540['id'];_0x1b6366['getIndex'](_0x4d175e)>_0x1b6366['getIndex'](_0x4c9b13)&&([_0x4d175e,_0x4c9b13]=[_0x4c9b13,_0x4d175e]),_0x1c4eaf['compare'](_0x4d175e,_0x4c9b13);},'isVisible':({plugins:_0x255105},_0x5a0ddd)=>{const _0x4cff06=_0x255105['get'](d);return!(_0x4cff06['repository']['getRevisionsInDiff'](_0x4cff06['diff'])['length']>0x2)&&!_0x5a0ddd['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4313bc,{id:_0x1924d4})=>{_0x4313bc['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1924d4);},'isVisible':({plugins:_0x47aabf},_0x345076)=>!!_0x47aabf['get'](d)['repository']['getLaterVisibleRevision'](_0x345076['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x161994},{id:_0x27cd05,revisionNameView:_0x3e0e05})=>{const _0x5ac907=_0x161994['get'](d),_0x279878=_0x5ac907['repository']['getEarlierVisibleRevision'](_0x27cd05);_0x5ac907['compare'](_0x27cd05,_0x279878),_0x3e0e05['focus'](),_0x3e0e05['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xb0272e,_0x192ada){super(_0xb0272e),this['_view']=_0x192ada,this['_toolbarConfig']=ct(_0xb0272e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x55e60d){const _0x328750=this['editor'],_0x46342d=this['view'],_0x3952d1=_0x328750['editing']['view'],_0x4537bb=_0x46342d['editable'],_0xb5a5d9=_0x3952d1['document']['getRoot']();_0x4537bb['name']=_0xb5a5d9['rootName'],_0x46342d['render']();const _0x5c34a9=_0x4537bb['element'];this['setEditableElement'](_0x4537bb['name'],_0x5c34a9),_0x46342d['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3952d1['attachDomRoot'](_0x5c34a9),this['_elementReplacer']['replace'](_0x55e60d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0xb151c0=this['view'],_0x1dd0b1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1dd0b1['detachDomRoot'](_0xb151c0['editable']['name']),_0xb151c0['destroy']();}['_initToolbar'](){const _0x2099ae=this['view'];_0x2099ae['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2099ae['stickyPanel']['limiterElement']=_0x2099ae['element'],_0x2099ae['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3e58a2})=>_0x3e58a2),_0x2099ae['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2099ae['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x117725,_0x1a21a6,_0x5dd915={}){super(_0x117725),this['stickyPanel']=new lt(_0x117725),this['toolbar']=new pt(_0x117725,{'shouldGroupWhenFull':_0x5dd915['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x117725,_0x1a21a6);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4f4bd8,_0x480ec3){super(_0x480ec3),this['sourceElement']=_0x4f4bd8,this['model']['document']['createRoot']();const _0x4945f4=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4945f4);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x131aa9,_0x233c52){const _0x25ce96=new this(_0x131aa9,_0x233c52);return await _0x25ce96['initPlugins'](),await _0x25ce96['ui']['init'](_0x131aa9),await _0x25ce96['data']['init'](_0x25ce96['config']['get']('initialData')||''),_0x25ce96['fire']('ready'),_0x25ce96;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x56b499{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3f5ce4){super(_0x3f5ce4),this['result']='end';}}class H extends _0x56b499{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x187f4e){if(super(_0x187f4e),!this['editor']['config']['get']('revisionHistory'))throw new _0x5d88f1('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2c9282=>this['_showRevisionViewer']({..._0x2c9282,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x56f3e7=>this['_closeRevisionViewer'](_0x56f3e7)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1e5dc1=>this['_restoreRevision'](_0x1e5dc1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x524c2a){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x524c2a;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5864c0){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5864c0);}['getRevision'](_0x29666d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x29666d);}['getRevisions'](_0x234e53={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x234e53);}['_getRevisionViewerEditorConfig'](){const _0x24d283=this['editor'],_0x382f0e=_0x59432e(_0x24d283,g),_0x119ae7=_0x24d283['plugins']['get']('RevisionTracker'),_0x166397=_0x24d283['plugins']['get']('Users')['users'];return _0x382f0e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x382f0e['lazyRoots'],(_0x382f0e['plugins']['push'](k,d,R,class extends _0x56b499{static get['requires'](){return[d,'Users'];}['init'](){const _0x3082e4=this['editor']['plugins']['get']('Users');for(const _0x52bcd6 of _0x166397)_0x52bcd6['isAnonymous']||_0x3082e4['getUser'](_0x52bcd6['id'])||_0x3082e4['addUser'](_0x52bcd6);const _0x37087b=_0x119ae7['repository']['getRevisions']();let _0x40796c=null;const _0x40033e=this['editor']['plugins']['get']('RevisionViewer');_0x40033e['adapter']=_0x119ae7['adapter'],_0x40033e['bind']('isEnabled')['to'](_0x119ae7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x24d283,'isReadOnly',_0x1a9473=>!_0x1a9473);for(const _0x4d6615 of _0x37087b){const _0x5c6537=null===_0x4d6615['creator'];if(_0x5c6537&&_0x4d6615['toVersion']===_0x4d6615['fromVersion'])continue;const _0x32b509=_0x4d6615['toJSON']();_0x40033e['addRevisionData'](_0x32b509,(_0x44b5cb,_0x3d8e5c,_0x41fe15)=>{if(_0x5c6537){if(_0x40796c)_0x40796c['_update'](_0x44b5cb,_0x3d8e5c);else{if(!_0x3d8e5c){const _0x3995e4=_0x41fe15['toJSON']();_0x3995e4['id']=_0x45f5e4(),_0x119ae7['saveRevision'](_0x3995e4,_0x41fe15['toVersion'])['then'](_0x552c99=>{_0x40796c=_0x552c99;});}}}else _0x4d6615['_update'](_0x44b5cb,_0x3d8e5c);});}}},w),_0x382f0e);}['_enhanceShowRevisionViewerCallback'](){const _0x5e788a=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3466cd=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5934f7=this['editor']['plugins']['get']('Autosave');await _0x5934f7['save']();}else await _0x3466cd['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x5705f1=this['_getRevisionViewerEditorConfig']();return _0x5e788a(_0x5705f1)['then'](_0x3324ab=>{return(this['_viewerEditor']=_0x3324ab,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3324ab;})['catch'](_0x5b79c4=>(console['error'](_0x5b79c4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x32d7fd=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'](),_0x32d7fd(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3906a5=this['editor']['plugins']['get']('Annotations');_0x3906a5['refreshVisibility'](),_0x3906a5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x160d90){const _0xee1071=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x15f805=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x324e69=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x324e69,_0x160d90)['then'](_0x2c2770=>(_0x15f805['style']['display']='block',_0xee1071['style']['display']='none',_0x2c2770));}['_closeRevisionViewer'](_0x37a31a){const _0x3f415c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3f415c['style']['display']='',_0x37a31a['destroy']();}async['_restoreRevision'](_0xf4fc35){const _0x54dfd3=this['editor'],_0x3ab5b3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3dec9a=_0x54dfd3['plugins']['get']('RevisionTracker'),_0x4faaad=_0x3ab5b3['repository']['getRevision'](_0xf4fc35);let _0x1570df,_0x40e394,_0x946557;try{_0x1570df=await _0x3ab5b3['getRevisionData'](_0x4faaad),_0x40e394=await _0x3ab5b3['getRevisionRootsAttributes'](_0x4faaad);}catch(_0x25fbab){return void console['error'](_0x25fbab);}_0x54dfd3['model']['change'](_0x54ddbd=>{for(const _0x395165 of Array['from'](_0x54dfd3['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x54ddbd['removeMarker'](_0x395165);}),_0x3ab5b3['isReady']=!0x1,_0x54dfd3['model']['enqueueChange'](_0x3b315e=>{_0x3b315e['setSelection'](null),_0x3b315e['removeSelectionAttribute'](_0x54dfd3['model']['document']['selection']['getAttributeKeys']());const _0x24ecd8=Object['keys'](_0x1570df);for(const _0x322347 of _0x54dfd3['model']['document']['roots'])'$graveyard'!=_0x322347['rootName']&&_0x322347['isAttached']()&&!_0x24ecd8['includes'](_0x322347['rootName'])&&_0x3b315e['detachRoot'](_0x322347);for(const _0x7af539 of _0x24ecd8){let _0x50914f=_0x54dfd3['model']['document']['getRoot'](_0x7af539);_0x50914f&&_0x50914f['isAttached']()||(_0x50914f=_0x3b315e['addRoot'](_0x7af539));const _0x4b7c0d=_0x40e394[_0x7af539],_0x8996d7=Object['keys'](_0x4b7c0d),_0x1d3aeb=_0x1570df[_0x7af539];for(const _0xed3731 of _0x50914f['getAttributeKeys']())_0x8996d7['includes'](_0xed3731)||_0x3b315e['removeAttribute'](_0xed3731,_0x50914f);for(const _0x3df23e of _0x8996d7)_0x3b315e['setAttribute'](_0x3df23e,_0x40e394[_0x7af539][_0x3df23e],_0x50914f);_0x3b315e['remove'](_0x3b315e['createRangeIn'](_0x50914f)),_0x3b315e['insert'](_0x54dfd3['data']['parse'](_0x1d3aeb,_0x50914f),_0x50914f,0x0);}});const _0xb12363=y(_0x54dfd3['locale'],'Restored');if(_0x4faaad['name'])_0x946557=-0x1==_0x4faaad['name']['indexOf'](_0xb12363)?_0xb12363+':\x20'+_0x4faaad['name']:_0x4faaad['name'];else _0x946557=_0xb12363+':\x20'+(_0x4faaad['createdAt']['toLocaleDateString'](_0x54dfd3['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4faaad['createdAt']['toLocaleTimeString'](_0x54dfd3['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3dec9a['saveRevision']({'name':_0x946557}),_0x3ab5b3['isReady']=!0x0,_0x54dfd3['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|
|
23
|
+
import{Plugin as _0x26bd26,Context as _0x250484,PendingActions as _0x19b213,icons as _0x3886ba,Command as _0x41a8f1,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x400224,uid as _0x535ce0,Collection as _0xb29b20,logWarning as _0x57b1c8,FocusTracker as _0x32eafd,KeystrokeHandler as _0x77408e,scrollViewportToShowTarget as _0x5b4f0e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5c8d32}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x376a85,getMarkerDomElement as _0x3a1967,ConfirmMixin as _0x545dd0,sanitizeEditorConfig as _0x5ac833}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x55c919,ViewText as _0x1e4a24,ViewElement as _0x2f3835,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0xd63b61,ViewAttributeElement as _0x5b8a0f,ViewEmptyElement as _0x58419c,ViewRawElement as _0x4aebd0,ViewUIElement as _0x575c1f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1387cf,set as _0x167d6d,unset as _0x209db0,isEqual as _0x42412d}from'lodash-es';import{View as _0x26e5c9,injectCssTransitionDisabler as ts,submitHandler as _0x2be6da,LabeledFieldView as at,createLabeledInputText as _0x9e4e7d,createDropdown as _0x369452,ListView as te,ListItemView as _0x21d8fa,ButtonView as _0x51dfa6,MenuBarMenuView as _0x41603e,MenuBarMenuListView as _0x255e91,MenuBarMenuListItemView as _0x514062,MenuBarMenuListItemButtonView as _0x38f481,ContextualBalloon as _0x743844,ToolbarSeparatorView as _0x5d5f75,IconView as _0x5b75cd,addListToDropdown as _0x12f4ef,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x154ff2}from'luxon';class a extends _0x400224(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3274db){super(),this['id']=_0x3274db['id']||_0x535ce0(),this['creator']=_0x3274db['creator']||null,this['authors']=_0x3274db['authors']||[],this['diffData']=_0x3274db['diffData']||null,this['toVersion']=_0x3274db['toVersion']||0x0,this['fromVersion']=_0x3274db['fromVersion']||0x0,this['set']('name',_0x3274db['name']||''),this['set']('createdAt',_0x3274db['createdAt']||new Date()),this['set']('attributes',_0x3274db['attributes']||{});}['setName'](_0x522a21){this['_update']({'name':_0x522a21});}['setAttribute'](_0xda4e09,_0x15184d){const _0x15b520=_0x1387cf(this['attributes']);_0x167d6d(_0x15b520,_0xda4e09,_0x15184d),this['_update']({'attributes':_0x15b520});}['removeAttribute'](_0x413033){const _0x4fb886=_0x1387cf(this['attributes']);_0x209db0(_0x4fb886,_0x413033),this['_update']({'attributes':_0x4fb886});}['_update'](_0x52937a,_0x5ec9d8=!0x1){let _0x938631=!0x1;const _0x215d7d={'id':this['id']},_0x41afe9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e1faf of _0x41afe9){const _0x4f57aa=_0x52937a[_0x5e1faf];void 0x0!==_0x4f57aa&&_0x4f57aa!==this[_0x5e1faf]&&(this[_0x5e1faf]=_0x4f57aa,_0x215d7d[_0x5e1faf]=_0x4f57aa,_0x938631=!0x0);}_0x938631&&(_0x215d7d['authors']&&(_0x215d7d['authorsIds']=_0x215d7d['authors']['map'](_0x2d5fa5=>_0x2d5fa5['id']),delete _0x215d7d['authors']),this['fire']('_update',_0x215d7d,_0x5ec9d8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xb376=>_0xb376['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x26bd26{['_revisions'];static get['requires'](){return[_0x376a85];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4a8db2){super(_0x4a8db2),this['_revisions']=new _0xb29b20();}['afterInit'](){!function(_0xe8807d){function _0x157353(_0x1148e7,_0x58ccb9,_0x12a115){const _0x328733={};_0x328733[_0x3d45dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x328733[_0x3d45dc([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x328733[_0x3d45dc([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x328733[_0x3d45dc([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x328733[_0x3d45dc([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x328733[_0x3d45dc([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x328733[_0x3d45dc([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x328733[_0x3d45dc([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x328733[_0x3d45dc([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x328733[_0x3d45dc([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x328733[_0x3d45dc([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x18f715=new Uint8Array(0x10);for(let _0x1ebdc7=0xf;_0x1ebdc7>=0x0;--_0x1ebdc7)_0x18f715[_0x1ebdc7]=_0x12a115%0x100,_0x12a115=parseInt(_0x12a115/0x100);let _0x581b16=null,_0x1d59fa=0x10;const _0x227962=new Uint8Array(_0x58ccb9),_0xe6095e=[],_0xe10b45=[];_0x479a30();for(let _0x5ca197=0x0;_0x5ca197<_0x1148e7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ca197++)0x10===_0x1d59fa&&(_0x581b16=_0x116c26(_0x18f715),_0x1d59fa=0x0,_0x57961c(_0x18f715)),_0x1148e7[_0x5ca197]^=_0x581b16[_0x1d59fa++];return _0x1148e7;function _0x38824e(_0x1b574a){const _0x164c0d=[];for(let _0x7d999d=0x0;_0x7d999d<_0x1b574a[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d999d+=0x4)_0x164c0d[_0x3d45dc([0x70,0x75,0x73,0x68])](_0x1b574a[_0x7d999d]<<0x18|_0x1b574a[_0x7d999d+0x1]<<0x10|_0x1b574a[_0x7d999d+0x2]<<0x8|_0x1b574a[_0x7d999d+0x3]);return _0x164c0d;}function _0x57961c(_0x5d6ecd){for(let _0xa82b04=0xf;_0xa82b04>=0x0;_0xa82b04--){if(0xff!==_0x5d6ecd[_0xa82b04]){_0x5d6ecd[_0xa82b04]++;break;}_0x5d6ecd[_0xa82b04]=0x0;}}function _0x116c26(_0x34fb9a){const _0x2ee431=_0xe6095e[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4e1ae2=[0x0,0x0,0x0,0x0];let t=_0x38824e(_0x34fb9a);for(let _0x3f6cab=0x0;_0x3f6cab<0x4;_0x3f6cab++)t[_0x3f6cab]^=_0xe6095e[0x0][_0x3f6cab];for(let _0x27234b=0x1;_0x27234b<_0x2ee431;_0x27234b++){for(let _0x1fee65=0x0;_0x1fee65<0x4;_0x1fee65++)_0x4e1ae2[_0x1fee65]=_0x328733[_0x3d45dc([0x54,0x31])][t[_0x1fee65]>>0x18&0xff]^_0x328733[_0x3d45dc([0x54,0x32])][t[(_0x1fee65+0x1)%0x4]>>0x10&0xff]^_0x328733[_0x3d45dc([0x54,0x33])][t[(_0x1fee65+0x2)%0x4]>>0x8&0xff]^_0x328733[_0x3d45dc([0x54,0x34])][0xff&t[(_0x1fee65+0x3)%0x4]]^_0xe6095e[_0x27234b][_0x1fee65];t=_0x4e1ae2[_0x3d45dc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x17259f=new Uint8Array(0x10);let _0x5bc1fc;for(let _0x96e63e=0x0;_0x96e63e<0x4;_0x96e63e++)_0x5bc1fc=_0xe6095e[_0x2ee431][_0x96e63e],_0x17259f[0x4*_0x96e63e]=0xff&(_0x328733[_0x3d45dc([0x53])][t[_0x96e63e]>>0x18&0xff]^_0x5bc1fc>>0x18),_0x17259f[0x4*_0x96e63e+0x1]=0xff&(_0x328733[_0x3d45dc([0x53])][t[(_0x96e63e+0x1)%0x4]>>0x10&0xff]^_0x5bc1fc>>0x10),_0x17259f[0x4*_0x96e63e+0x2]=0xff&(_0x328733[_0x3d45dc([0x53])][t[(_0x96e63e+0x2)%0x4]>>0x8&0xff]^_0x5bc1fc>>0x8),_0x17259f[0x4*_0x96e63e+0x3]=0xff&(_0x328733[_0x3d45dc([0x53])][0xff&t[(_0x96e63e+0x3)%0x4]]^_0x5bc1fc);return _0x17259f;}function _0x479a30(){const _0x3d0619=_0x328733[_0x3d45dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x227962[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x7a35f=0x0;_0x7a35f<=_0x3d0619;_0x7a35f++)_0xe6095e[_0x3d45dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xe10b45[_0x3d45dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2699f0=0x4*(_0x3d0619+0x1),_0x4a100e=_0x227962[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x449525=_0x38824e(_0x227962);let _0x374b69;for(let _0x2e07ee=0x0;_0x2e07ee<_0x4a100e;_0x2e07ee++)_0x374b69=_0x2e07ee>>0x2,_0xe6095e[_0x374b69][_0x2e07ee%0x4]=_0x449525[_0x2e07ee],_0xe10b45[_0x3d0619-_0x374b69][_0x2e07ee%0x4]=_0x449525[_0x2e07ee];let _0x75c06,_0x31fa87=0x0,t=_0x4a100e;for(;t<_0x2699f0;){_0x75c06=_0x449525[_0x4a100e-0x1],_0x449525[0x0]^=_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x10&0xff]<<0x18^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x8&0xff]<<0x10^_0x328733[_0x3d45dc([0x53])][0xff&_0x75c06]<<0x8^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x18&0xff]^_0x328733[_0x3d45dc([0x72,0x63,0x6f,0x6e])][_0x31fa87]<<0x18,_0x31fa87+=0x1;for(let _0x228842=0x1;_0x228842<_0x4a100e/0x2;_0x228842++)_0x449525[_0x228842]^=_0x449525[_0x228842-0x1];_0x75c06=_0x449525[_0x4a100e/0x2-0x1],_0x449525[_0x4a100e/0x2]^=_0x328733[_0x3d45dc([0x53])][0xff&_0x75c06]^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x8&0xff]<<0x8^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x10&0xff]<<0x10^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x18&0xff]<<0x18;for(let _0x48cd08=_0x4a100e/0x2+0x1;_0x48cd08<_0x4a100e;_0x48cd08++)_0x449525[_0x48cd08]^=_0x449525[_0x48cd08-0x1];let _0x28ffef,_0x124cc7,_0x15dc48=0x0;for(;_0x15dc48<_0x4a100e&&t<_0x2699f0;)_0x28ffef=t>>0x2,_0x124cc7=t%0x4,_0xe6095e[_0x28ffef][_0x124cc7]=_0x449525[_0x15dc48],_0xe10b45[_0x3d0619-_0x28ffef][_0x124cc7]=_0x449525[_0x15dc48++],t++;}for(let _0x197cc6=0x1;_0x197cc6<_0x3d0619;_0x197cc6++)for(let _0x37dda7=0x0;_0x37dda7<0x4;_0x37dda7++)_0x75c06=_0xe10b45[_0x197cc6][_0x37dda7],_0xe10b45[_0x197cc6][_0x37dda7]=_0x328733[_0x3d45dc([0x55,0x31])][_0x75c06>>0x18&0xff]^_0x328733[_0x3d45dc([0x55,0x32])][_0x75c06>>0x10&0xff]^_0x328733[_0x3d45dc([0x55,0x33])][_0x75c06>>0x8&0xff]^_0x328733[_0x3d45dc([0x55,0x34])][0xff&_0x75c06];}}function _0x3d45dc(_0x40e944){return _0x40e944['map'](_0x5e2482=>String['fromCharCode'](_0x5e2482))['join']('');}(_0x1afb53=>{function _0x56ac2d(){const _0x54a59a=[{[_0x3d45dc([0x69,0x64])]:0x1,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3d45dc([0x69,0x64])]:0x2,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3d45dc([0x69,0x64])]:0x3,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0x4,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3d45dc([0x69,0x64])]:0x5,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x6,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x7,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x8,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x9,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3d45dc([0x69,0x64])]:0xa,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0xb,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0xc,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3d45dc([0x69,0x64])]:0xd,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0xe,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x3d45dc([0x69,0x64])]:0xf,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0x10,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}}];return _0x1e6093(_0x54a59a),_0x54a59a;function _0x288757(_0x469957){return 0x1<<_0x469957-0x1;}function _0x1e6093(_0x2b5283){_0x2b5283[_0x3d45dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28d285=>{_0x28d285[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x288757(_0x28d285[_0x3d45dc([0x69,0x64])]),_0x4ee21a(_0x28d285)&&_0x28d285[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1e6093(_0x28d285[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4ee21a(_0x23a9f7){return _0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x23a9f7;}const _0x3b7000=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x14a5b6=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x88d8c5(_0xeba41b){const _0x5dc433=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1ca233(_0xeba41b,new Uint8Array([..._0x3b7000,..._0x5dc433,..._0x14a5b6]));}function _0x1ca233(_0x17b69c,_0x1fad67){const _0x28b515=_0x2e8eb9(_0x17b69c),_0x14f930=Array[_0x3d45dc([0x66,0x72,0x6f,0x6d])](_0x5dd6a4(_0x28b515)),_0x567acf=_0x14f930[_0x3d45dc([0x70,0x6f,0x70])](),_0x5a94fd=_0x14f930[_0x3d45dc([0x70,0x6f,0x70])]();return _0x5897d8(_0x157353(_0x14f930,_0x1fad67,_0x5a94fd+0x100*_0x567acf));}function _0x2e8eb9(_0x3810d9){const _0x2ad26e=atob(_0x3810d9),[_0x333083,_0x11d31b]=_0x2ad26e[_0x3d45dc([0x73,0x70,0x6c,0x69,0x74])](_0x3d45dc([0x2d]));try{if(atob(_0x11d31b))return atob(_0x333083);}catch(_0x1f2922){}return _0x2ad26e;}function _0x46403d(_0x2b9a71){try{const _0x343103=_0x88d8c5(_0x2b9a71),_0x2badf8=JSON[_0x3d45dc([0x70,0x61,0x72,0x73,0x65])](_0x343103),_0xe24f38=parseInt(_0x2badf8[_0x3d45dc([0x31])]),_0x533cad=_0x2badf8[_0x3d45dc([0x32])]||'',_0x5814a4=parseInt(_0x2badf8[_0x3d45dc([0x33])]),_0x228216=parseInt(_0x2badf8[_0x3d45dc([0x34])])||0x0,_0x4249f3=parseInt(_0x2badf8[_0x3d45dc([0x35])])||0x0;return{[_0x3d45dc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x533cad,[_0x3d45dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x228216,[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xe24f38,[_0x3d45dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x5814a4,[_0x3d45dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4249f3};}catch(_0x335323){return null;}}const _0x2fc536=_0x56ac2d(),_0x57e756={[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x130904,[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x39adcd,[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x3552de},_0xfd5c92=_0x1afb53[_0x3d45dc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3a1bf1=_0x3d45dc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x1afb53?_0x1afb53['context']:_0x1afb53['editor'],_0x3d99b7=_0x3d45dc([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x38]),_0x391c80=_0x3d45dc([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0xf83462=_0x3a1bf1['config']['get'](_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5b6ee1=_0x2fc536[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ee21a)[_0x3d45dc([0x66,0x69,0x6e,0x64])](_0xdf4922=>_0xdf4922[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xfd5c92);function _0x4054f7(_0x5ea8be,_0x4f83e3){_0x57e756[_0x4f83e3[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5ea8be,_0x4f83e3),_0x4f83e3[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4f83e3[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a6e4=>_0x38ded0(_0x3a1bf1,_0x3a6e4[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3d45dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x512fc2=>_0x4054f7(_0x5ea8be,_0x512fc2));}function _0x130904(_0x12b424,_0x39deb4){_0x512eaa(_0x88d302(_0x12b424,_0x39deb4),_0x39deb4);}function _0x39adcd(_0x420853,_0x37b70d){function _0x34dd39(_0x1236b4,_0x1ce7f4){try{if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1236b4){const _0xaa3d32=_0x44c520(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3d45dc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xaa3d32)/0x2>_0x1236b4[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x561149(_0x1ce7f4[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x88d302(_0x1236b4,_0x1ce7f4);}catch(_0x1a57e1){return _0x561149(_0x1ce7f4[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x512eaa(_0x34dd39(_0x420853,_0x37b70d),_0x37b70d);}function _0x3552de(_0x30c9a1,_0x1034a1){const _0x3837db=_0x14a5b6[0x0]*_0x3b7000[0x1],_0x582ef8=_0x14a5b6[0x0]*_0x3b7000[0x2],_0x553a49=_0x14a5b6[0x2]*_0x3b7000[0x2];_0x38ded0(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x188d72()]=_0x553a49);function _0x3cc9fa(_0x595e9e,_0xc235a8){try{return _0x564a1f()?_0x561149(_0xc235a8[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x88d302(_0x595e9e,_0xc235a8);}catch(_0xb6e18){return _0x561149(_0xc235a8[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xf39cfa(_0x44cde3,_0x3e7f0d){const _0x116e29=0x7;if(_0x44cde3==_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3182a7();else{if(_0x44cde3==_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])){const _0xfd6b47=_0x266898();_0xfd6b47&&_0x274ef6(_0xfd6b47,_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x26514f=_0x2138b3();window[_0x3d45dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x274ef6(_0x3d45dc([0x74,0x69,0x6d,0x65]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x26514f);const _0x18f449=_0x44c520(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x18f449[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x116e29?_0x274ef6(_0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x18f449['on'](_0x3d45dc([0x61,0x64,0x64]),()=>{_0x18f449[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x116e29&&_0x274ef6(_0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x266898(){if(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41e642 in window)if(Number['isNaN'](Number(_0x41e642))){if(window[_0x41e642]===_0x3837db)return _0x3d45dc([0x74,0x69,0x6d,0x65]);if(window[_0x41e642]===_0x582ef8)return _0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x564a1f(){if(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4b069 in window)if(Number['isNaN'](Number(_0x4b069))&&window[_0x4b069]===_0x553a49)return!0x0;return!0x1;}function _0x274ef6(_0x526521,_0x4965e2){_0x3182a7(),_0x561149(_0x4965e2+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x526521),window[_0x188d72()]=_0x526521===_0x3d45dc([0x74,0x69,0x6d,0x65])?_0x3837db:_0x582ef8;}function _0x2138b3(){let _0x3892bb=_0x14a5b6[0x6]*_0x3b7000[0x8]*_0x3b7000[0x6];return _0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3892bb/=0xa),_0x3892bb;}function _0x3182a7(){const _0x21bf24=_0x3a1bf1;function _0x397d0b(){_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x19890c,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x19890c,_0x21bf24[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x21bf24[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x21bf24[_0x3d45dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x19890c,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x19890c);}_0x21bf24[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x72,0x65,0x61,0x64,0x79])?_0x397d0b():_0x21bf24[_0x3d45dc([0x6f,0x6e,0x63,0x65])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x397d0b(),_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3d50fb=_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1defcf=_0x3d50fb['getRevision'](0x0),_0x1550e0=_0x3d50fb['getEarlierVisibleRevision'](_0x1defcf[_0x3d45dc([0x69,0x64])]);_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1defcf[_0x3d45dc([0x69,0x64])],_0x1550e0?_0x1550e0[_0x3d45dc([0x69,0x64])]:null,0x1)['then'](()=>_0x397d0b());}});}_0xf39cfa(_0x3cc9fa(_0x30c9a1,_0x1034a1),_0x1034a1);}function _0x88d302(_0x2b2564,_0x2914fc){try{return _0x460bb0(_0x2914fc)?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x2b2564&&_0x3bad0c(_0x2b2564[_0x3d45dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2914fc)?_0x2b2564[_0x3d45dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3d45dc([0x6f,0x70,0x65,0x6e])][_0x3d45dc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3d99b7)/0x2>_0x2b2564[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2b2564[_0x3d45dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])):_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5d53d9){return _0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x512eaa(_0x3b919c,_0x541255){if(_0x3a1bf1 instanceof _0x250484){const _0x4c9020=_0x3a1bf1;_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3dc7f6(_0x4c9020):_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3d45dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3dc7f6(_0x4c9020),_0x561149(_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x14a5b6[0x6]*_0x3b7000[0x8]*_0x3b7000[0x6]),_0x4c9020[_0x3d45dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x61,0x64,0x64]),(_0x4c783b,_0x1c2436)=>{_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2ccd6e(_0x1c2436);});}else{const _0x4e12d4=_0x3a1bf1;_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2ccd6e(_0x4e12d4):_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])&&_0x4e12d4[_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x513c9d=0x0;_0x4e12d4[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd081,_0x3df64c)=>{_0x3df64c[0x0][_0x3d45dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x513c9d++,0x1f8===_0x513c9d&&(_0x2ccd6e(_0x4e12d4),_0x561149(_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1bd081[_0x3d45dc([0x6f,0x66,0x66])]());},{'priority':_0x3d45dc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x561149(_0x3e7bed){const _0xa02531=_0x188d72();return _0x3a1bf1[_0xa02531]=_0x3e7bed,_0x3e7bed;}function _0x188d72(){const _0x3c4098=String(window[_0x3d45dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d45dc([0x6e,0x6f,0x77])]())[_0x3d45dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d45dc([0x2e]),'');let _0xaa2c87='';for(let _0x4c1f9e=0x0;_0x4c1f9e<_0x3c4098[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c1f9e+=0x2){let _0x4fa935=parseInt(_0x3c4098[_0x3d45dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c1f9e,_0x4c1f9e+0x2));_0x4fa935>=_0x391c80[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fa935-=_0x391c80[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xaa2c87+=_0x391c80[_0x4fa935];}return _0xaa2c87;}function _0x3dc7f6(_0x3cf1cf){for(const _0x27f8fc of _0x3cf1cf[_0x3d45dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2ccd6e(_0x27f8fc);_0x44c520(_0x3cf1cf,_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x44c520(_0x3cf1cf,_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x19890c;}function _0x2ccd6e(_0x3f53f9){function _0x189347(){_0x3f53f9[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x3f53f9[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x3f53f9[_0x3d45dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3f53f9[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x72,0x65,0x61,0x64,0x79])?_0x189347():_0x3f53f9[_0x3d45dc([0x6f,0x6e,0x63,0x65])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>_0x189347());}function _0x19890c(){return null;}function _0x3bad0c(_0x39b1df,_0x419a9d){const _0x37e16c=!!(_0x39b1df&_0x419a9d[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x26a62e=_0x2da95b(_0x39b1df,_0x419a9d);return _0x37e16c||_0x26a62e;}function _0x2da95b(_0x15381b,_0x88c1e1){const _0x18a46c=(_0x88c1e1[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3d45dc([0x66,0x67,0x69])]||null;return!!_0x18a46c&&_0x2fc536[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1356bf=>_0x18a46c[_0x3d45dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1356bf[_0x3d45dc([0x69,0x64])]))[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d67a6=>!_0x2b0e21(_0x1d67a6))[_0x3d45dc([0x73,0x6f,0x6d,0x65])](_0x5e4da4=>!!(_0x15381b&_0x5e4da4[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2b0e21(_0x57fb47){const _0x242254={[_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x13099c};return!!_0x57fb47['forbiddenHandler']&&_0x242254[_0x57fb47['forbiddenHandler']]();}function _0x13099c(){return!window[_0x3d45dc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x460bb0(_0x410a58){if(!_0x38ded0(_0x3a1bf1,_0x410a58[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4da50d=_0x410a58[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5c28bd=_0x4da50d[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3d8b23=_0x4da50d[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4f7e74=_0x4da50d[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5c28bd)return!0x0;if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3d45dc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3d45dc([0x65,0x6e,0x64])&&_0x3d8b23)return!0x0;return!(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x44c520(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x3d45dc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3d45dc([0x65,0x6e,0x64])||!_0x4f7e74);}function _0x38ded0(_0x22d4af,_0x320c8f){return _0x22d4af[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d45dc([0x68,0x61,0x73])](_0x320c8f);}function _0x44c520(_0xd17c53,_0x328636){return _0xd17c53[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d45dc([0x67,0x65,0x74])](_0x328636);}function _0x5897d8(_0x21d04f){let _0x4f7314='';for(const _0x48b91a of _0x21d04f)_0x4f7314+=String[_0x3d45dc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x48b91a);return _0x4f7314;}function _0x5dd6a4(_0x4961b7){const _0x5a7e1f=new Uint8Array(_0x4961b7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x213bb8=0x0;_0x213bb8<_0x4961b7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x213bb8++)_0x5a7e1f[_0x213bb8]=_0x4961b7[_0x3d45dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x213bb8);return _0x5a7e1f;}_0x5b6ee1&&_0x4054f7(_0x46403d(_0xf83462),_0x5b6ee1);})(_0xe8807d);}(this);}['createRevision'](_0x41c4db){const _0xd3fd26=this['editor']['plugins']['get']('Users');return new a({'id':_0x41c4db['id'],'name':_0x41c4db['name'],'creator':_0x41c4db['creatorId']?_0xd3fd26['getUser'](_0x41c4db['creatorId']):null,'diffData':_0x41c4db['diffData']||_0x41c4db['data'],'authors':_0x41c4db['authorsIds']['map'](_0xe0a53c=>_0xd3fd26['getUser'](_0xe0a53c)),'createdAt':new Date(_0x41c4db['createdAt']),'attributes':_0x41c4db['attributes'],'fromVersion':_0x41c4db['fromVersion'],'toVersion':_0x41c4db['toVersion']});}['addRevision'](_0x1d1bfc,_0x1c8556=0x0){this['_revisions']['add'](_0x1d1bfc,_0x1c8556);}['getRevision'](_0x2519a0){return this['_revisions']['get'](_0x2519a0);}['getRevisions'](_0x2ef9b0={'toJSON':!0x1}){const _0x33a580=Array['from'](this['_revisions']);return _0x33a580['reverse'](),_0x2ef9b0['toJSON']?_0x33a580['map'](_0x13f59d=>_0x13f59d['toJSON']()):_0x33a580;}['getIndex'](_0x26dd02){return this['_revisions']['getIndex'](_0x26dd02);}['getEarlierVisibleRevision'](_0x475ea6){const [,_0x1080c9]=this['getRevisionsIterator'](_0x475ea6,{'direction':'earlier'});return _0x1080c9;}['getLaterVisibleRevision'](_0x34b70b){const [,_0x4b4d9b]=this['getRevisionsIterator'](_0x34b70b,{'direction':'later'});return _0x4b4d9b;}['getRevisionsInDiff'](_0x209384){const _0x5d38af=[];for(const _0x1e007b of this['getRevisionsIterator'](_0x209384['newRevisionId']))if(_0x5d38af['push'](_0x1e007b),_0x1e007b['id']===_0x209384['oldRevisionId'])break;return _0x5d38af;}*['getRevisionsIterator'](_0x839fc2,{direction:_0x317949='earlier',filter:_0x49cf83=_0x27a03b=>!0x0}={}){const _0x378812='earlier'===_0x317949?0x1:-0x1;let _0x1d59ce=this['_revisions']['get'](_0x839fc2),_0x48a90c=this['getIndex'](_0x1d59ce);for(yield _0x1d59ce;_0x1d59ce;){if(_0x48a90c+=_0x378812,_0x1d59ce=this['getRevision'](_0x48a90c),!_0x1d59ce)return;_0x49cf83(_0x1d59ce)&&(yield _0x1d59ce);}}}function y(_0x224653,_0x12efb8,_0x151317){const t=_0x224653['t'];switch(_0x12efb8){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x151317);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x151317);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0xd63b61,'a':_0x5b8a0f,'e':_0x58419c,'r':_0x4aebd0,'u':_0x575c1f};class l extends _0x26bd26{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x376a85,A,_0x19b213];}constructor(_0x838b49){super(_0x838b49),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x54bb22=_0x535ce0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x54bb22},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x489e8b=this['repository']['getRevision'](0x0),_0x4842c6=_0x489e8b&&null===_0x489e8b['creator']?_0x489e8b:null;if(this['_continueCurrentRevision']=!!_0x4842c6&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4d93a9=this['_source']['getCurrentRevisionId'](),_0x19a5c3=this['repository']['getRevision'](_0x4d93a9);if(_0x19a5c3)this['_startingVersion']=_0x19a5c3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1af7b3=this['_source']['history']['_operations']['find'](_0x3b58ce=>!_0x3b58ce['_isInit']),_0x4410a2=_0x1af7b3?_0x1af7b3['baseVersion']:this['_source']['history']['version'];_0x489e8b?(_0x489e8b['toVersion']<_0x4410a2&&_0x489e8b['_update']({'toVersion':_0x4410a2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id'],this['_startingVersion']=_0x4842c6['fromVersion']):(this['_startingVersion']=_0x489e8b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4410a2,this['_continueCurrentRevision']=!0x1);}}else _0x4842c6&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4842c6['toVersion'],this['editor']['model']['document']['history']['version']),_0x4842c6['fromVersion']===_0x4842c6['toVersion']?(0x0!==_0x4842c6['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id'],this['_startingVersion']=_0x4842c6['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x71846c=>!_0x71846c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x18c91e=this['repository']['getRevision'](0x0),_0x4891b4=await this['getRevisionDocumentData'](_0x18c91e),_0x570a23=await this['getRevisionRootsAttributes'](_0x18c91e);this['_replaceEditorDataWithRevisionData'](_0x4891b4,_0x570a23);}}['setSource'](_0x552a77){this['_source']=_0x552a77;}async['update'](){const _0x4c005b=await this['_source']['getLatestVersion']();if(_0x4c005b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x32a3b8=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4c005b});_0x32a3b8['authors']=_0x32a3b8['authorsIds']['map'](_0x36e7e4=>this['editor']['plugins']['get']('Users')['getUser'](_0x36e7e4)),this['currentRevision']['_update'](_0x32a3b8);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x3612e0={},_0x1e8339=null){const _0x353140=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1e8339>this['currentRevision']['toVersion']&&(_0x1e8339=null),null===_0x1e8339&&(_0x1e8339=await this['_source']['getLatestVersion']());const _0xa0f4f9=this['_getFromVersion'](_0x1e8339),_0x132151=this['buildRevisionData']({'from':_0xa0f4f9,'to':_0x1e8339});if(this['currentRevision']['toVersion']<_0x1e8339){const _0x297bdd=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1e8339,'to':_0x1e8339});_0x297bdd['authors']=[],_0x297bdd['authorsIds']=[],_0x297bdd['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x297bdd,!0x0),delete _0x297bdd['authors'],_0x353140['push'](_0x297bdd);}_0x3612e0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3612e0['name']=_0x3612e0['name']||null,_0x3612e0['id']=_0x3612e0['id']||_0x535ce0(),_0x3612e0={..._0x3612e0,..._0x132151};const _0xb58f19=this['addRevisionData'](_0x3612e0);_0x353140['push'](_0x3612e0);const _0x191193=this['repository']['getIndex'](_0xb58f19);if(0x0!==_0x191193){const _0x176c51=this['repository']['getRevision'](_0x191193-0x1);if(_0x176c51['fromVersion']!==_0x1e8339){const _0x3fae95=this['_revisionDataBuilder']['getData'](_0x1e8339,_0x176c51['toVersion']),_0xd0326c={'id':_0x176c51['id'],'diffData':_0x3fae95['diffData'],'authorsIds':_0x3fae95['authorsIds'],'authors':_0x3fae95['authorsIds']['map'](_0x5539ae=>this['editor']['plugins']['get']('Users')['getUser'](_0x5539ae)),'fromVersion':_0x1e8339};_0x176c51===this['currentRevision']&&(_0xd0326c['createdAt']=new Date(_0x3612e0['createdAt']['getTime']()+0xa)),_0x176c51['_update'](_0xd0326c,!0x0),delete _0xd0326c['authors'],_0x353140['push'](_0xd0326c);}}if(this['adapter']){for(const _0x50502c of _0x353140)this['_bufferUpdate'](_0x50502c['id'],_0x50502c,!0x0);this['sendBufferedUpdates']();}return _0xb58f19;}['addRevisionData'](_0x5ed4e2){const _0x4a5f39=this['repository']['createRevision'](_0x5ed4e2);return this['adapter']&&_0x4a5f39['on']('_update',(_0x3a5eb,_0x55afd9,_0x507bf5)=>{_0x507bf5||(this['_bufferUpdate'](_0x55afd9['id'],_0x55afd9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4a5f39,this['_findInsertionIndex'](_0x4a5f39)),_0x4a5f39;}async['getRevisionDocumentData'](_0x32a93b){await this['_loadRevisionData'](_0x32a93b);const _0x340239={};for(const _0x17e93e in _0x32a93b['diffData']){if(_0x32a93b['diffData'][_0x17e93e]['attachChange']&&!_0x32a93b['diffData'][_0x17e93e]['attachChange']['isAttached'])continue;const _0x2bb3db=this['_removeRevisionMarkers'](JSON['parse'](_0x32a93b['diffData'][_0x17e93e]['insertions'])),_0x4c421e=this['editor']['editing']['view']['document'],_0x46236d=new _0x55c919(_0x4c421e,_0x2bb3db['map'](_0x4e1d35=>B(_0x4e1d35,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x340239[_0x17e93e]=this['editor']['data']['processor']['toData'](_0x46236d),this['editor']['data']['processor']['useFillerType']('default');}return _0x340239;}async['getRevisionRootsAttributes'](_0x123fa0){await this['_loadRevisionData'](_0x123fa0);const _0x2e023b={};for(const _0x22d909 in _0x123fa0['diffData'])_0x123fa0['diffData'][_0x22d909]['attachChange']&&!_0x123fa0['diffData'][_0x22d909]['attachChange']['isAttached']||(_0x2e023b[_0x22d909]=_0x123fa0['diffData'][_0x22d909]['attributesAfter']||{});return _0x2e023b;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x23ac52=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xd70fde=0x0;_0xd70fde<_0x23ac52['length'];_0xd70fde++){const _0x4d5d9b=_0x23ac52[_0xd70fde];let _0xa9e629=!0x1;for(const _0x3a947d of Object['keys'](_0x4d5d9b))void 0x0===_0x4d5d9b[_0x3a947d]?delete _0x4d5d9b[_0x3a947d]:'id'!==_0x3a947d&&(_0xa9e629=!0x0);_0xa9e629||(_0x23ac52[_0xd70fde]=null);}if(_0x23ac52=_0x23ac52['filter'](_0x55fa61=>null!==_0x55fa61),!_0x23ac52['length'])return;for(let _0x1b6597=0x0;_0x1b6597<_0x23ac52['length'];_0x1b6597++){const _0x59c413=_0x23ac52[_0x1b6597];void 0x0!==_0x59c413['fromVersion']&&void 0x0===_0x59c413['toVersion']&&(_0x59c413['toVersion']=this['repository']['getRevision'](_0x59c413['id'])['toVersion']),void 0x0!==_0x59c413['toVersion']&&void 0x0===_0x59c413['fromVersion']&&(_0x59c413['fromVersion']=this['repository']['getRevision'](_0x59c413['id'])['fromVersion']);}const _0x46a2d7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x23ac52,_0x46a2d7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x32c60b=>{if(_0x32c60b){for(const _0x54066d of _0x32c60b)this['setRevisionData']({'id':_0x54066d['id'],'createdAt':_0x54066d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3c0c63,_0x5eee7d){let _0x384e6f=this['editor']['config']['get']('initialData'),_0x550619=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x384e6f){_0x384e6f={};for(const _0x35ca59 of this['editor']['model']['document']['getRootNames']())_0x384e6f[_0x35ca59]='';}if('string'==typeof _0x384e6f&&(_0x384e6f={'main':_0x384e6f}),void 0x0===_0x550619){_0x550619={};for(const _0x2fe506 of this['editor']['model']['document']['getRootNames']())_0x550619[_0x2fe506]={};}let _0x5509a6=!0x1;const _0x41d1c9=Object['keys'](_0x384e6f),_0x26139e=Object['keys'](_0x3c0c63);for(const _0x296139 of _0x41d1c9){if(_0x384e6f[_0x296139]!==_0x3c0c63[_0x296139]&&''!==_0x384e6f[_0x296139]['trim']()){_0x5509a6=!0x0;break;}if(!_0x42412d(_0x550619[_0x296139],_0x5eee7d[_0x296139])&&Object['keys'](_0x550619[_0x296139])['length']>0x0){_0x5509a6=!0x0;break;}}_0x5509a6||(_0x5509a6=_0x26139e['some'](_0x12595d=>!this['editor']['model']['document']['getRoot'](_0x12595d))),_0x5509a6&&_0x57b1c8('editor-initial-data-replaced-with-revision-data',{'editorData':_0x384e6f,'editorRootsAttributes':_0x550619,'revisionData':_0x3c0c63,'revisionRootsAttributes':_0x5eee7d}),this['editor']['config']['set']('initialData',_0x3c0c63),this['editor']['config']['set']('rootsAttributes',_0x5eee7d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3addcd=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3addcd['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x173c5d){const _0x40b11c=this['repository']['getRevisions']();_0x40b11c['reverse']();let _0x49b72f=0x0;for(;_0x49b72f<_0x40b11c['length'];){const _0x519b73=_0x40b11c[_0x49b72f];if(_0x519b73===this['currentRevision']){_0x49b72f++;continue;}if(_0x519b73['id']===this['_initialRevisionId'])break;const _0x1d93fd=_0x173c5d['toVersion']-_0x519b73['toVersion']||_0x173c5d['fromVersion']-_0x519b73['fromVersion'];if(_0x1d93fd>0x0)break;if(_0x1d93fd<0x0)_0x49b72f++;else{if(!_0x173c5d['creator']&&_0x519b73['creator'])break;if(_0x519b73['creator']||!_0x173c5d['creator']){if(_0x173c5d['createdAt']>_0x519b73['createdAt'])break;_0x49b72f++;}else _0x49b72f++;}}return _0x49b72f;}['setRevisionData'](_0xe673f2){const _0x27addf=this['repository']['getRevision'](_0xe673f2['id']);if(_0xe673f2['createdAt']&&(_0xe673f2['createdAt']=new Date(_0xe673f2['createdAt'])),_0xe673f2['authorsIds']){const _0x12fc68=this['editor']['plugins']['get']('Users');_0xe673f2['authors']=_0xe673f2['authorsIds']['map'](_0x252f23=>_0x12fc68['getUser'](_0x252f23));}_0x27addf['_update'](_0xe673f2,!0x0);}['buildRevisionData']({revision:_0x2796b3=null,from:_0x345749=null,to:_0x4af4ec=null}){_0x345749=null!==_0x345749?_0x345749:_0x2796b3['fromVersion'],_0x4af4ec=null!==_0x4af4ec?_0x4af4ec:_0x2796b3['toVersion'];const _0x58c553=this['_revisionDataBuilder']['getData'](_0x345749,_0x4af4ec),_0x26f04b={'diffData':_0x58c553['diffData'],'authorsIds':_0x58c553['authorsIds'],'fromVersion':_0x345749,'toVersion':_0x4af4ec};if(!_0x2796b3||_0x4af4ec!==_0x2796b3['toVersion']){const _0x1e6381=_0x4af4ec-0x1,_0x2730f2=this['_source']['history']['getOperation'](_0x1e6381);_0x26f04b['createdAt']=_0x2730f2&&_0x2730f2['createdAt']||new Date();}if(this['_loadedStateData']&&_0x345749===this['_loadedStateData']['fromVersion']){for(const _0x951515 of this['_loadedStateData']['authors'])_0x26f04b['authorsIds']['includes'](_0x951515['id'])||_0x26f04b['authorsIds']['push'](_0x951515['id']);}return _0x26f04b;}['_loadRevisionData'](_0x8d43a2){if(!_0x8d43a2||_0x8d43a2['diffData'])return Promise['resolve']();{const _0x757a62=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x757a62,'revisionId':_0x8d43a2['id']})['then'](_0x402a36=>{_0x8d43a2['diffData']=_0x402a36['diffData'];});}}['_bufferUpdate'](_0x2a0553,_0x1d3f0a,_0x192cc2){if(this['_bufferedUpdates']['has'](_0x2a0553)){const _0x23e86d=this['_bufferedUpdates']['get'](_0x2a0553);_0x1d3f0a=_0x192cc2?{..._0x23e86d,..._0x1d3f0a}:{..._0x1d3f0a,..._0x23e86d};}this['_bufferedUpdates']['set'](_0x2a0553,_0x1d3f0a);}['_getFromVersion'](_0x5daf6d){const _0x12fc4a=this['repository']['getRevisions']();_0x12fc4a['reverse'](),_0x12fc4a['shift']();const _0x55ad53=_0x12fc4a['find'](_0x11d809=>_0x11d809['toVersion']<=_0x5daf6d)['toVersion'];return _0x55ad53<this['_startingVersion']?this['_startingVersion']:_0x55ad53;}['_createInitialRevision'](_0x4275d4){const _0x4217fa=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4217fa)this['_initialRevisionId']=_0x4217fa['id'];else{const _0x121e95=!this['editor']['model']['document']['roots']['find'](_0x342940=>this['editor']['model']['hasContent'](_0x342940)),_0x38b455=this['editor']['plugins']['get']('Users')['me']['id'],_0x282ef1=y(this['editor']['locale'],_0x121e95?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4275d4,'to':_0x4275d4,'id':this['_initialRevisionId'],'name':_0x282ef1,'creatorId':_0x38b455});}}['_createCurrentRevision'](_0x3ecb1c){const _0x29a05f=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x29a05f),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3ecb1c,'to':_0x3ecb1c,'id':_0x29a05f,'name':'','creatorId':null}));}['_makeRevision']({name:_0x250191,from:_0x43838e,to:_0x5712d3,creatorId:_0x57b946,id:_0x12eab3}){const _0x7fc314=this['buildRevisionData']({'from':_0x43838e,'to':_0x5712d3});_0x7fc314['name']=_0x250191,_0x7fc314['creatorId']=_0x57b946,_0x7fc314['id']=_0x12eab3;const _0xa2ba77=this['addRevisionData'](_0x7fc314);return this['adapter']&&this['_bufferUpdate'](_0x7fc314['id'],_0x7fc314,!0x0),_0xa2ba77;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2e5757){return(_0x2e5757=_0x2e5757['filter'](_0x23550d=>!_0x23550d['name']||'revision-start'!==_0x23550d['name']&&'revision-end'!==_0x23550d['name']))['forEach'](_0x3eae60=>{'string'!=typeof _0x3eae60&&(_0x3eae60['children']=this['_removeRevisionMarkers'](_0x3eae60['children']),_0x3eae60['attributes']=_0x3eae60['attributes']['filter'](_0x4e7865=>!_0x4e7865[0x0]['startsWith']('data-revision-')));}),_0x2e5757;}}function B(_0x4242db,_0x58f912){const _0x5b371a=_0x58f912['editing']['view']['document'];if('string'==typeof _0x4242db)return new _0x1e4a24(_0x5b371a,_0x4242db);{const _0x1a60ba=_0x4242db['children']['map'](_0x1756a5=>B(_0x1756a5,_0x58f912));return new(T[_0x4242db['type']]||_0x2f3835)(_0x5b371a,_0x4242db['name'],_0x4242db['attributes'],_0x1a60ba);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x489c01){this['editor']=_0x489c01,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x472509){this['source']=_0x472509;const _0x56e61c=new Map(),_0x48a4d8=new Map(),_0x3b1b0d=this['editor']['model']['document']['roots']['map'](_0x47bac6=>_0x47bac6['rootName']);for(const _0x4a9fd4 of _0x3b1b0d){const _0x2871da=this['editor']['model']['document']['getRoot'](_0x4a9fd4),_0x32f1c6=q(_0x2871da);_0x56e61c['set'](_0x4a9fd4,_0x32f1c6),_0x48a4d8['set'](_0x4a9fd4,Object['fromEntries'](_0x2871da['getAttributes']()));}const _0xcb31eb=Array['from'](this['editor']['model']['markers'])['map'](_0x28cf75=>[_0x28cf75['name'],_0x28cf75['getRange']()]),_0x2e1d68=this['source']['version'];this['_saveMetaData'](_0x2e1d68,_0x56e61c,_0xcb31eb,_0x48a4d8),this['_startingRevisionId']=this['_revisionId'];const _0x5d5ac1=new Map(),_0x121892=new Map();for(const _0x8b99df of _0x3b1b0d){const _0x4f57ca=G(_0x8b99df);_0x5d5ac1['set'](_0x8b99df,_0x4f57ca),_0x121892['set'](_0x8b99df,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5d5ac1,[],_0x121892);}['getData'](_0x3e0f03,_0x387588){if(this['_lastFrom']===_0x3e0f03&&this['_lastTo']<=_0x387588)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x387588,!0x0);else{if(!this['_savedMetaData']['has'](_0x3e0f03)){const _0x4a9fd9=this['_getPreviousFrom'](_0x3e0f03);this['_calculateMetaData'](_0x4a9fd9,_0x3e0f03,!0x1);}this['_calculateMetaData'](_0x3e0f03,_0x387588,!0x0);}return this['_lastFrom']=_0x3e0f03,this['_lastTo']=_0x387588,this['_getState']();}['loadState'](_0x378858){this['_reset'](),this['_lastFrom']=_0x378858['fromVersion'],this['_lastTo']=_0x378858['toVersion'];for(const _0x23c9ed in _0x378858['diffData']){const _0x55bb65=_0x378858['diffData'][_0x23c9ed]['attachChange'],_0x1ef3fc=_0x1387cf(_0x378858['diffData'][_0x23c9ed]['attributesBefore'])||{},_0x526944=this['_makeModelFromViewString'](_0x378858['diffData'][_0x23c9ed]['deletions']);_0x526944['rootName']=_0x23c9ed,_0x526944['_isAttached']=!_0x55bb65||!_0x55bb65['isAttached'],_0x526944['isAttached']=()=>_0x526944['_isAttached'],this['_baseRoots']['set'](_0x23c9ed,_0x526944),this['_baseRootsAttributes']['set'](_0x23c9ed,_0x1ef3fc),_0x55bb65&&this['_touchedRoots']['set'](_0x23c9ed,_0x55bb65);const _0x4b8f1c=this['_makeIdsRoot'](_0x526944);this['_baseIdsRoots']['set'](_0x23c9ed,_0x4b8f1c);for(const [_0x38c8ec,_0x1d9c6a]of _0x526944['markers']){if(!_0x38c8ec['startsWith']('revision:'))continue;const _0x5de4a9=_0x38c8ec['split'](':')[0x2];for(const _0x66a169 of _0x1d9c6a['getWalker']({'singleCharacters':!0x0})){const _0x51c1b0=this['_getVidAttributeName'](_0x66a169),_0x55d716='elementEnd'==_0x66a169['type']?_0x66a169['previousPosition']['path']['slice'](0x0,-0x1):_0x66a169['previousPosition']['path'],_0x9a95be=_0x4b8f1c['getNodeByPath'](_0x55d716)['getAttribute'](_0x51c1b0);this['_touched']['set'](_0x9a95be,{'userId':_0x5de4a9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x433c9e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x219f54=>!this['_touched']['has'](_0x219f54));let _0x4774ca=0x0;const _0x12e594=new Map();for(const _0x12606c in _0x378858['diffData']){const _0x2e554c=_0x378858['diffData'][_0x12606c]['attachChange'],_0x14f75f=_0x1387cf(_0x378858['diffData'][_0x12606c]['attributesAfter'])||{},_0x559d1c=this['_makeModelFromViewString'](_0x378858['diffData'][_0x12606c]['insertions']);_0x559d1c['rootName']=_0x12606c,_0x559d1c['_isAttached']=!_0x2e554c||_0x2e554c['isAttached'],_0x559d1c['isAttached']=()=>_0x559d1c['_isAttached'],this['_diffRoots']['set'](_0x12606c,_0x559d1c),this['_diffRootsAttributes']['set'](_0x12606c,_0x14f75f);const _0x4aa451=this['_makeIdsRoot'](_0x559d1c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12606c,_0x4aa451),_0x12e594['set'](_0x12606c,_0x559d1c['isAttached']()?_0x14f75f:{});for(const [_0x27f179,_0x55d747]of _0x559d1c['markers']){if(!_0x27f179['startsWith']('revision:'))continue;const _0x5858f9=_0x27f179['split'](':')[0x2];for(const _0x476592 of _0x55d747['getWalker']({'singleCharacters':!0x0})){const _0x10b6e5=this['_getVidAttributeName'](_0x476592),_0x11b644=this['_revisionId']++,_0xf32c10='elementEnd'==_0x476592['type']?_0x476592['previousPosition']['path']['slice'](0x0,-0x1):_0x476592['previousPosition']['path'];_0x4aa451['getNodeByPath'](_0xf32c10)['_setAttribute'](_0x10b6e5,_0x11b644),this['_touched']['set'](_0x11b644,{'userId':_0x5858f9});}}for(const _0x217693 of this['editor']['model']['createRangeIn'](_0x559d1c)['getWalker']({'singleCharacters':!0x0})){const _0x2af66b=this['_getVidAttributeName'](_0x217693),_0x4f18f5='elementEnd'==_0x217693['type']?_0x217693['previousPosition']['path']['slice'](0x0,-0x1):_0x217693['previousPosition']['path'],_0x4a2400=_0x4aa451['getNodeByPath'](_0x4f18f5);_0x4a2400['getAttribute'](_0x2af66b)>0x0||_0x4a2400['_setAttribute'](_0x2af66b,_0x433c9e[_0x4774ca++]);}for(const [_0x163d08,_0x4d20bc]of _0x559d1c['markers'])_0x163d08['startsWith']('revision:')||this['_markers']['set'](_0x163d08,_0x4d20bc);}const _0x17fc94=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x17fc94),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x17fc94,0x1));const _0x37058f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x37058f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x37058f,0x1));const _0x5db8b1=Array['from'](this['_diffRoots'])['map'](([_0x3dda5c,_0x393eae])=>[_0x3dda5c,q(_0x393eae)]);this['_saveMetaData'](this['_lastTo'],_0x5db8b1,this['_markers'],_0x12e594);}['_makeModelFromViewString'](_0x3f5beb){const _0x1237ff=JSON['parse'](_0x3f5beb),_0x264fe1=this['editor']['editing']['view']['document'],_0x4bf3ef=new _0x55c919(_0x264fe1,_0x1237ff['map'](_0x2edcad=>B(_0x2edcad,this['editor'])));return this['editor']['data']['toModel'](_0x4bf3ef);}['_saveMetaData'](_0x22f79e,_0x292bf5,_0x573345,_0x26a017){const _0x39095e=new Map(_0x292bf5),_0x59e1d7=new Map(_0x1387cf(_0x26a017)),_0x3e2811=new Map();for(const [_0x3f0d8e,_0x50f862]of _0x573345)_0x3e2811['set'](_0x3f0d8e,{'start':_0x50f862['start']['clone'](),'end':_0x50f862['end']['clone'](),'rootName':_0x50f862['root']['rootName']});this['_savedMetaData']['set'](_0x22f79e,{'roots':_0x39095e,'markers':_0x3e2811,'rootsAttributes':_0x59e1d7});}['_removeMetaData'](_0x2d3cc6){this['_savedMetaData']['delete'](_0x2d3cc6);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x5b29b4,_0x1b87b7=null){let _0x2b6ee3=null;_0x5b29b4['is']('documentFragment')||(_0x2b6ee3=new ft(_0x5b29b4['name'],{'vid_start':null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++}));const _0x1a0fe8=[];for(const _0x34fd4b of _0x5b29b4['getChildren']())if(_0x34fd4b['is']('element')){_0x1a0fe8['push'](this['_makeIdsRoot'](_0x34fd4b,_0x1b87b7));const _0x4cf6e1=_0x1a0fe8[_0x1a0fe8['length']-0x1];null!==_0x1b87b7&&(_0x1b87b7=_0x4cf6e1['is']('element','$text')?_0x4cf6e1['getAttribute']('vid')+0x1:_0x4cf6e1['getAttribute']('vid_end')+0x1);}else{for(let _0x396dac=0x0;_0x396dac<_0x34fd4b['offsetSize'];_0x396dac++)_0x1a0fe8['push'](new ft('$text',{'vid':null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++}));}if(_0x5b29b4['is']('documentFragment')){const _0x564c75=G(_0x5b29b4['rootName']);return _0x564c75['_insertChild'](0x0,_0x1a0fe8),_0x564c75;}return _0x2b6ee3['_setAttribute']('vid_end',null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++),_0x2b6ee3['_insertChild'](0x0,_0x1a0fe8),_0x2b6ee3;}['_calculateMetaData'](_0x3fdb1e,_0x1fe0d9,_0xf8e93f){this['_reset']();const {roots:_0x18bb31,markers:_0x7216da,rootsAttributes:_0x1bd003}=this['_savedMetaData']['get'](_0x3fdb1e);this['_baseRoots']=new Map(_0x18bb31),this['_baseRootsAttributes']=new Map(_0x1387cf(_0x1bd003));for(const [_0x2d2007,_0x16753c]of this['_baseRoots'])if('$graveyard'!==_0x2d2007&&(this['_diffRoots']['set'](_0x2d2007,q(_0x16753c)),this['_diffRootsAttributes']=new Map(_0x1387cf(_0x1bd003)),_0xf8e93f)){const _0x3a80bd=this['_revisionId'];this['_idsRoots']['set'](_0x2d2007,this['_makeIdsRoot'](_0x16753c)),this['_baseIdsRoots']['set'](_0x2d2007,this['_makeIdsRoot'](_0x16753c,_0x3a80bd));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xf8e93f&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x45746a,_0x56cc5c]of _0x7216da){const _0x78108b=this['_baseRoots']['get'](_0x56cc5c['rootName']),_0x2c2741=this['_diffRoots']['get'](_0x56cc5c['rootName']),_0x258518=new vt(this['_fixPosition'](_0x56cc5c['start'],_0x78108b),this['_fixPosition'](_0x56cc5c['end'],_0x78108b)),_0xc58b9c=this['_fixRange'](_0x258518,_0x2c2741);_0x78108b['markers']['set'](_0x45746a,_0x258518),this['_markers']['set'](_0x45746a,_0xc58b9c);}this['_applyOperations'](_0x3fdb1e,_0x1fe0d9,_0xf8e93f);}['_applyOperations'](_0x4583b6,_0x4cdcb7,_0x440f74){for(const _0x29d044 of this['source']['getOperations'](_0x4583b6,_0x4cdcb7))this['_handleOperation'](_0x29d044,_0x440f74);for(const _0x3319ba of this['_diffRoots']['values']())_0x3319ba['markers']['clear']();for(const [_0x1f3f93,_0x27189f]of this['_markers']){this['_diffRoots']['get'](_0x27189f['root']['rootName'])['markers']['set'](_0x1f3f93,_0x27189f['clone']());}const _0xf7ceb5=new Map(),_0x152d2e=new Map();for(const [_0x982ce5,_0x10795c]of this['_diffRoots'])_0xf7ceb5['set'](_0x982ce5,q(_0x10795c)),_0x152d2e['set'](_0x982ce5,this['_diffRootsAttributes']['get'](_0x982ce5));this['_saveMetaData'](_0x4cdcb7,_0xf7ceb5,this['_markers'],_0x152d2e);}['_getPreviousFrom'](_0x51cd22){const _0x3c5cd6=Array['from'](this['_savedMetaData']['keys']());_0x3c5cd6['sort']((_0x1f2c83,_0x5de2e9)=>_0x1f2c83-_0x5de2e9),_0x3c5cd6['reverse']();for(const _0x542819 of _0x3c5cd6)if(_0x542819<_0x51cd22)return _0x542819;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5abc20,_0x4ca97d){const _0x140ca0=Array['from'](_0x4ca97d['markers'])['map'](([_0x4547cf,_0x34ee57])=>[_0x4547cf,this['_fixRange'](_0x34ee57,_0x5abc20)]);_0x5abc20['markers']=new Map(_0x140ca0);}['_transformMarkers'](_0x337c92){for(const _0x46b1e8 of this['_markers']['values']()){const _0x486ef7=_0x46b1e8['getTransformedByOperation'](_0x337c92),_0x25e5e8=vt['_createFromRanges'](_0x486ef7);_0x46b1e8['start']=_0x25e5e8['start'],_0x46b1e8['end']=_0x25e5e8['end'];}}['_handleOperation'](_0x3b3dd7,_0x55aff8){if('addRoot'==_0x3b3dd7['type']||'detachRoot'==_0x3b3dd7['type'])return void this['_handleRootOperation'](_0x3b3dd7,_0x55aff8);if('insert'==_0x3b3dd7['type']){const _0x2aa808=_0x3b3dd7['position']['root']['rootName'];this['_diffRoots']['has'](_0x2aa808)||(this['_diffRoots']['set'](_0x2aa808,G(_0x2aa808,!0x0)),this['_diffRootsAttributes']['set'](_0x2aa808,{}),_0x55aff8&&this['_idsRoots']['set'](_0x2aa808,G(_0x2aa808,!0x0)));}else{if('addRootAttribute'==_0x3b3dd7['type']||'removeRootAttribute'==_0x3b3dd7['type']||'changeRootAttribute'==_0x3b3dd7['type'])return void this['_handleRootAttributeOperation'](_0x3b3dd7);}const _0x5ba8fb=this['_cloneOperation'](_0x3b3dd7,this['_diffRoots']);if('marker'!==_0x3b3dd7['type']&&(_0x5ba8fb['_execute'](),this['_transformMarkers'](_0x5ba8fb)),_0x55aff8)switch(_0x5ba8fb['type']){case'insert':this['_handleInsertOperation'](_0x3b3dd7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3b3dd7);break;case'merge':this['_handleMergeOperation'](_0x3b3dd7);break;case'split':this['_handleSplitOperation'](_0x3b3dd7);break;case'marker':this['_handleMarkerOperation'](_0x3b3dd7);}}['_cloneOperation'](_0x1ca895,_0x4bd163){const _0x2a2180=_0x1ca895['clone']();return _0x2a2180['_authorId']=_0x1ca895['_authorId'],this['_fixOperation'](_0x2a2180,_0x4bd163),_0x2a2180;}['_getBaseVids'](_0x4f9f4a){return _0x4f9f4a['map'](_0x269c8b=>{const _0x443178=this['_getVidAttributeName'](_0x269c8b);return Number(_0x269c8b['item']['getAttribute'](_0x443178));});}['_generateTape'](_0x43c4de,_0x3c7f3b){if(_0x43c4de['is']('element','$text'))_0x3c7f3b['push']({'item':_0x43c4de,'type':'text'});else{_0x43c4de['is']('element')&&_0x3c7f3b['push']({'item':_0x43c4de,'type':'elementStart'});for(const _0x392326 of _0x43c4de['getChildren']())this['_generateTape'](_0x392326,_0x3c7f3b);_0x43c4de['is']('element')&&_0x3c7f3b['push']({'item':_0x43c4de,'type':'elementEnd'});}return _0x3c7f3b;}['_getState'](){const _0xa2d2f6=new Map(this['_touched']),_0x213adf=new Map(_0xa2d2f6),_0x57ae41=new Map(),_0x4e36a5={'insertions':{},'deletions':{}},_0x282aed={'insertions':{},'deletions':{}},_0x53aab7=new Map(),_0x6350b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x6350b['delete']('$graveyard');for(const _0x2f53f8 of _0x6350b){const _0x4bfe66=this['_diffRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1),_0x251227=this['_baseRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1);_0x4bfe66['isAttached']()||_0x251227['isAttached']()?(_0x4e36a5['insertions'][_0x2f53f8]=q(_0x4bfe66),_0x4e36a5['deletions'][_0x2f53f8]=q(_0x251227),this['_copyMarkers'](_0x4e36a5['deletions'][_0x2f53f8],_0x251227),this['_copyMarkers'](_0x4e36a5['insertions'][_0x2f53f8],_0x4bfe66),_0x282aed['insertions'][_0x2f53f8]=this['_generateTape'](this['_idsRoots']['get'](_0x2f53f8),[]),_0x282aed['deletions'][_0x2f53f8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1),[])):_0x6350b['delete'](_0x2f53f8);}for(const _0x12b636 of _0x6350b){const _0x5adf91=_0x282aed['insertions'][_0x12b636];for(const _0x4bcd2a of _0x5adf91){const _0x46863a=this['_getVidAttributeName'](_0x4bcd2a),_0x52bbaf=_0x4bcd2a['item']['getAttribute'](_0x46863a);_0x213adf['delete'](_0x52bbaf),_0x52bbaf>=this['_startingRevisionId']&&_0x57ae41['set'](_0x52bbaf,_0xa2d2f6['get'](_0x52bbaf));}}for(const _0x628f53 of _0x6350b){const _0x4a2e19=_0x282aed['insertions'][_0x628f53],_0x2a9689=this['_getBaseVids'](_0x282aed['deletions'][_0x628f53]);let _0x45a8e8=0x0;for(const _0x13e614 of _0x4a2e19){const _0x55b4d1=this['_getVidAttributeName'](_0x13e614),_0x44e1a2=_0x13e614['item']['getAttribute'](_0x55b4d1);if(!_0x57ae41['has'](_0x44e1a2)&&!_0x53aab7['has'](_0x44e1a2)){if(_0x213adf['has'](_0x44e1a2))_0x45a8e8++;else{if(_0x44e1a2!=_0x2a9689[_0x45a8e8]){const _0x4ce9ca=_0xa2d2f6['get'](_0x44e1a2)||_0xa2d2f6['get'](_0x2a9689[_0x45a8e8]);for(;_0x44e1a2!=_0x2a9689[_0x45a8e8];)_0x213adf['has'](_0x2a9689[_0x45a8e8])||(_0x53aab7['set'](_0x2a9689[_0x45a8e8],_0x4ce9ca),_0xa2d2f6['set'](_0x2a9689[_0x45a8e8],_0x4ce9ca)),_0x45a8e8++;}_0x45a8e8++;}}}}for(const _0x346d52 of _0x6350b){const _0x3ce599=_0x282aed['insertions'][_0x346d52];for(const _0xe380b of _0x3ce599){const _0x1c1410=this['_getVidAttributeName'](_0xe380b),_0x7ab24=_0xe380b['item']['getAttribute'](_0x1c1410);if(_0x53aab7['has'](_0x7ab24)){const _0x534834=_0x53aab7['get'](_0x7ab24);_0x213adf['has'](_0x7ab24)||_0x213adf['set'](_0x7ab24,{..._0x534834}),_0x57ae41['set'](_0x7ab24,{..._0x534834});}}}for(const _0x4fc67d of _0x213adf['keys']())_0x4fc67d>=this['_startingRevisionId']&&_0x213adf['delete'](_0x4fc67d);const _0x33936d=new Map();for(const _0x1bae53 of _0x6350b){let _0x163164=_0x282aed['insertions'][_0x1bae53];for(const _0x30b4e3 of _0x163164)if(_0x30b4e3['item']['is']('element','tableCell')){const _0x2bcec8=this['_getVidAttributeName'](_0x30b4e3),_0x2ad4e8=_0x30b4e3['item']['getAttribute'](_0x2bcec8);if(_0x57ae41['has'](_0x2ad4e8)){const _0x4eb12f=_0x30b4e3['item']['parent']['parent']['getAttribute']('vid_start'),_0x26092d=_0x33936d['get'](_0x4eb12f)||new Set();_0x26092d['add'](_0x57ae41['get'](_0x2ad4e8)['userId']),_0x33936d['set'](_0x4eb12f,_0x26092d);}}_0x163164=_0x282aed['deletions'][_0x1bae53];for(const _0xb40614 of _0x163164)if(_0xb40614['item']['is']('element','tableCell')){const _0x45de85=this['_getVidAttributeName'](_0xb40614),_0x3ede95=_0xb40614['item']['getAttribute'](_0x45de85);if(_0x213adf['has'](_0x3ede95)){const _0x552d83=_0xb40614['item']['parent']['parent']['getAttribute']('vid_start'),_0x1d1487=_0x33936d['get'](_0x552d83)||new Set();_0x1d1487['add'](_0x213adf['get'](_0x3ede95)['userId']),_0x33936d['set'](_0x552d83,_0x1d1487);}}for(const _0x567844 of _0x33936d['keys']())(_0x57ae41['has'](_0x567844)||_0x213adf['has'](_0x567844))&&_0x33936d['delete'](_0x567844);}for(const _0xe51fe2 of _0x6350b){const _0x4b9acb=_0x282aed['insertions'][_0xe51fe2];let _0x306548=null,_0x1d4990=null;for(const _0x549af1 of _0x4b9acb){const _0x22e655=this['_getVidAttributeName'](_0x549af1),_0x55454c=_0x549af1['item']['getAttribute'](_0x22e655),_0x4ebefd=_0x33936d['get'](_0x55454c);_0x4ebefd&&'elementStart'==_0x549af1['type']&&(_0x306548=Array['from'](_0x4ebefd)[0x0],_0x1d4990=_0x549af1['item']['getAttribute']('vid_end')),_0x306548&&(_0x213adf['set'](_0x55454c,{'userId':_0x306548}),_0x57ae41['set'](_0x55454c,{'userId':_0x306548})),_0x55454c==_0x1d4990&&(_0x306548=null,_0x1d4990=null);}}const _0x3ea339={},_0x279878=new Set();for(const _0x43cff1 of _0x6350b){const _0x251b76=_0x4e36a5['deletions'][_0x43cff1],_0x1d0df2=_0x4e36a5['insertions'][_0x43cff1];for(const {userId:_0x582af8}of this['_touchedMarkers']['values']())null!==_0x582af8&&_0x279878['add'](_0x582af8);for(const {userId:_0x282a32}of this['_touchedRoots']['values']())null!==_0x282a32&&_0x279878['add'](_0x282a32);this['_markChanges'](_0x1d0df2,_0x282aed['insertions'][_0x43cff1],_0x57ae41,'insertion',_0x279878),this['_markChanges'](_0x251b76,_0x282aed['deletions'][_0x43cff1],_0x213adf,'deletion',_0x279878),_0x3ea339[_0x43cff1]={'insertions':this['_prepareViewToSave'](_0x1d0df2),'deletions':this['_prepareViewToSave'](_0x251b76),'attachChange':this['_touchedRoots']['get'](_0x43cff1)||null,'attributesBefore':_0x1387cf(this['_baseRootsAttributes']['get'](_0x43cff1))||{},'attributesAfter':_0x1387cf(this['_diffRootsAttributes']['get'](_0x43cff1))};}return{'diffData':_0x3ea339,'authorsIds':Array['from'](_0x279878)};}['_processRootBeforeSave'](_0x262018){for(const [,_0x10319b]of _0x262018['markers']){const _0x165214=_0x10319b['start']['getAncestors']()['filter'](_0x5479ee=>'tableCell'==_0x5479ee['name']);for(const _0x13a8e5 of _0x165214)0x1==_0x13a8e5['childCount']&&_0x13a8e5['getChild'](0x0)['is']('element','paragraph')&&_0x13a8e5['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x238e33){this['_processRootBeforeSave'](_0x238e33);const _0xff7788=this['editor']['data']['toView'](_0x238e33,{}),_0x2f92a5=Array['from'](_0xff7788['getChildren']())['map'](_0x4e7902=>this['_getViewJson'](_0x4e7902));return JSON['stringify'](_0x2f92a5);}['_getViewJson'](_0x49eba0){if(_0x49eba0['is']('$text'))return _0x49eba0['data'];{const _0x3dd6ba=_0x49eba0;return{'type':Object['keys'](T)['find'](_0x312e26=>_0x49eba0 instanceof T[_0x312e26]),'name':_0x3dd6ba['name'],'attributes':Array['from'](_0x3dd6ba['getAttributes']()),'children':Array['from'](_0x3dd6ba['getChildren']())['map'](_0x34febc=>this['_getViewJson'](_0x34febc))};}}['_markChanges'](_0x3e0149,_0x4b210f,_0x10fe9f,_0x4335c8,_0x5005a0){let _0x24d98c=null,_0x246a9c=null,_0x192220=0x0;const _0x3d5a72=this['editor']['model'];for(let _0x82dcee=0x0;_0x82dcee<_0x4b210f['length'];_0x82dcee++){const _0x188486=this['_getVidAttributeName'](_0x4b210f[_0x82dcee]),_0x3e80a7=_0x4b210f[_0x82dcee]['item']['getAttribute'](_0x188486),_0x26e21a=_0x10fe9f['get'](_0x3e80a7),_0x16e126=_0x82dcee==_0x4b210f['length']-0x1;(!_0x24d98c&&_0x26e21a&&(_0x24d98c=_0x26e21a,_0x246a9c=_0x4b210f[_0x82dcee]),_0x24d98c&&(!_0x26e21a||_0x26e21a['userId']!=_0x24d98c['userId']))&&(_0x22b222(_0x26e21a,L(_0x246a9c,_0x3e0149,_0x3d5a72),L(_0x4b210f[_0x82dcee],_0x3e0149,_0x3d5a72)),_0x24d98c=_0x26e21a||null,_0x246a9c=_0x26e21a?_0x4b210f[_0x82dcee]:null),_0x24d98c&&_0x16e126&&_0x22b222(_0x26e21a,L(_0x246a9c,_0x3e0149,_0x3d5a72),W(_0x4b210f[_0x82dcee],_0x3e0149,_0x3d5a72));}function _0x22b222(_0x6e96bb,_0x4d8414,_0x398753){const _0x5827db=_0x24d98c['userId'],_0x289558='revision:'+_0x4335c8+':'+_0x5827db+':'+_0x192220++,_0x44c38f=_0x3d5a72['createRange'](_0x4d8414,_0x398753);_0x3e0149['markers']['set'](_0x289558,_0x44c38f),null!==_0x5827db&&_0x5005a0['add'](_0x5827db);}}['_getVidAttributeName'](_0xfb3129){switch(_0xfb3129['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x10f751,_0x50211f){_0x10f751['baseVersion']=null;for(const _0x56c26f in _0x10f751){const _0x2d1851=_0x10f751[_0x56c26f];if(_0x2d1851 instanceof gt){const _0x3a7bba=_0x50211f['get'](_0x2d1851['root']['rootName']);_0x10f751[_0x56c26f]=this['_fixPosition'](_0x2d1851,_0x3a7bba);}if(_0x2d1851 instanceof vt){const _0x49f386=_0x50211f['get'](_0x2d1851['root']['rootName']);_0x10f751[_0x56c26f]=this['_fixRange'](_0x2d1851,_0x49f386);}'root'===_0x56c26f&&(_0x10f751['root']=_0x50211f['get'](_0x10f751['root']['rootName']));}}['_fixRange'](_0x6343a9,_0x218ea7){return this['editor']['model']['createRange'](this['_fixPosition'](_0x6343a9['start'],_0x218ea7),this['_fixPosition'](_0x6343a9['end'],_0x218ea7));}['_fixPosition'](_0x5f2529,_0x44c03d){return this['editor']['model']['createPositionFromPath'](_0x44c03d,_0x5f2529['path'],_0x5f2529['stickiness']);}['_handleInsertOperation'](_0x4b328b){const _0x4e30da=this['_idsRoots']['get'](_0x4b328b['position']['root']['rootName']),_0x3e26eb=this['_fixPosition'](_0x4b328b['position'],_0x4e30da),_0x3844eb=null===_0x4b328b['_authorId']?null:_0x4b328b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19b68b=_0x3e26eb['parent'],_0x139e82=this['_revisionId'],_0x589f92=[];for(const _0x1adeaf of _0x4b328b['nodes'])if(_0x1adeaf['is']('element'))_0x589f92['push'](this['_makeIdsRoot'](_0x1adeaf));else{for(let _0x288c2f=0x0;_0x288c2f<_0x1adeaf['offsetSize'];_0x288c2f++)_0x589f92['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3529d6=this['_revisionId'];for(let _0xaa4a85=_0x139e82;_0xaa4a85<_0x3529d6;_0xaa4a85++)this['_touched']['set'](_0xaa4a85,{'userId':_0x3844eb});_0x19b68b['_insertChild'](_0x3e26eb['offset'],_0x589f92);}['_handleMoveOperation'](_0x528c7c){(_0x528c7c=this['_cloneOperation'](_0x528c7c,this['_idsRoots']))['_execute']();const _0x4e5215=null===_0x528c7c['_authorId']?null:_0x528c7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d3485=_0x528c7c['getMovedRangeStart'](),_0x3dfe20=_0x3d3485['parent'],_0x597bd4=_0x3d3485['offset'];!function _0xce7a11(_0x23ba36,_0x25c27a,_0x458de2,_0x5b036e){for(let _0x5236ed=_0x458de2;_0x5236ed<_0x5b036e;_0x5236ed++){const _0x4a28d8=_0x25c27a['getChild'](_0x5236ed);_0x4a28d8['is']('element','$text')?_0x23ba36['set'](_0x4a28d8['getAttribute']('vid'),{'userId':_0x4e5215}):(_0x23ba36['set'](_0x4a28d8['getAttribute']('vid_start'),{'userId':_0x4e5215}),_0xce7a11(_0x23ba36,_0x4a28d8,0x0,_0x4a28d8['childCount']),_0x23ba36['set'](_0x4a28d8['getAttribute']('vid_end'),{'userId':_0x4e5215}));}}(this['_touched'],_0x3dfe20,_0x597bd4,_0x597bd4+_0x528c7c['howMany']);}['_handleMergeOperation'](_0x4d14a5){const _0x4cf121=null===(_0x4d14a5=this['_cloneOperation'](_0x4d14a5,this['_idsRoots']))['_authorId']?null:_0x4d14a5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e8679=_0x4d14a5['targetPosition']['parent'],_0x106ac2=_0x4d14a5['sourcePosition']['parent'],_0x433ba1=_0x1e8679['getAttribute']('vid_end'),_0x34bc6d=_0x106ac2['getAttribute']('vid_start');_0x1e8679['_setAttribute']('vid_end',_0x106ac2['getAttribute']('vid_end')),_0x106ac2['_setAttribute']('vid_end',_0x433ba1),this['_touched']['set'](_0x34bc6d,{'userId':_0x4cf121}),this['_touched']['set'](_0x433ba1,{'userId':_0x4cf121}),_0x4d14a5['_execute']();}['_handleSplitOperation'](_0xbad37b){const _0x1bf278=null===(_0xbad37b=this['_cloneOperation'](_0xbad37b,this['_idsRoots']))['_authorId']?null:_0xbad37b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2701fd=_0xbad37b['graveyardPosition'],_0x53421f=_0xbad37b['splitPosition']['parent'];_0xbad37b['_execute']();const _0x3907cc=_0x53421f['getAttribute']('vid_end'),_0x1f82e6=_0xbad37b['insertionPosition']['nodeAfter'];if(_0x2701fd){const _0x277639=_0x1f82e6['getAttribute']('vid_end'),_0x380998=_0x53421f['getAttribute']('vid_end');_0x53421f['_setAttribute']('vid_end',_0x277639),_0x1f82e6['_setAttribute']('vid_end',_0x380998),this['_touched']['set'](_0x53421f['getAttribute']('vid_end'),{'userId':_0x1bf278}),this['_touched']['set'](_0x1f82e6['getAttribute']('vid_start'),{'userId':_0x1bf278});}else{const _0x10df0d=this['_revisionId']++,_0x5d8b05=this['_revisionId']++;_0x53421f['_setAttribute']('vid_end',_0x10df0d),_0x1f82e6['_setAttribute']('vid_start',_0x5d8b05),_0x1f82e6['_setAttribute']('vid_end',_0x3907cc),this['_touched']['set'](_0x10df0d,{'userId':_0x1bf278}),this['_touched']['set'](_0x5d8b05,{'userId':_0x1bf278});}}['_handleMarkerOperation'](_0xace30f){if(!_0xace30f['affectsData'])return;const _0x68bfdc=(_0xace30f=this['_cloneOperation'](_0xace30f,this['_diffRoots']))['oldRange']?_0xace30f['oldRange']['root']:null,_0x55b3c0=_0xace30f['newRange']?_0xace30f['newRange']['root']:null;_0x68bfdc&&this['_markers']['delete'](_0xace30f['name']),_0x55b3c0&&this['_markers']['set'](_0xace30f['name'],_0xace30f['newRange']['clone']());const _0x57725b=null===_0xace30f['_authorId']?null:_0xace30f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29611c=_0xace30f['name'];if(!this['_touchedMarkers']['has'](_0x29611c))return void this['_touchedMarkers']['set'](_0x29611c,{'range':_0xace30f['oldRange'],'userId':_0x57725b});const _0x39cbf8=this['_touchedMarkers']['get'](_0x29611c),_0x2f6d12=_0x39cbf8['range'],_0x5b9fca=_0xace30f['newRange'];null==_0x2f6d12&&null==_0x5b9fca||_0x2f6d12&&_0x5b9fca&&_0x2f6d12['isEqual'](_0x5b9fca)?this['_touchedMarkers']['delete'](_0xace30f['name']):_0x39cbf8['userId']=_0x57725b;}['_handleRootOperation'](_0x71f4f3,_0x306232){this['_diffRoots']['has'](_0x71f4f3['rootName'])?this['_diffRoots']['get'](_0x71f4f3['rootName'])['_isAttached']=_0x71f4f3['isAdd']:(this['_diffRoots']['set'](_0x71f4f3['rootName'],G(_0x71f4f3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x71f4f3['rootName'],{}),_0x306232&&this['_idsRoots']['set'](_0x71f4f3['rootName'],G(_0x71f4f3['rootName'],!0x0)));const _0x1fa78c=null===_0x71f4f3['_authorId']?null:_0x71f4f3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17a47b=this['_touchedRoots']['get'](_0x71f4f3['rootName']);_0x17a47b&&_0x17a47b['userId']===_0x1fa78c?this['_touchedRoots']['delete'](_0x71f4f3['rootName']):this['_touchedRoots']['set'](_0x71f4f3['rootName'],{'userId':_0x1fa78c,'isAttached':_0x71f4f3['isAdd']});}['_handleRootAttributeOperation'](_0x11ab9b){const _0x5d3195=this['_diffRootsAttributes']['get'](_0x11ab9b['root']['rootName']);null===_0x11ab9b['newValue']?delete _0x5d3195[_0x11ab9b['key']]:_0x5d3195[_0x11ab9b['key']]=_0x11ab9b['newValue'];}}function q(_0x13417b){const _0x35d223=G(_0x13417b['rootName'],_0x13417b['isAttached']());for(const _0x358c29 of _0x13417b['getChildren']()){const _0x2da3bc=_0x358c29['_clone'](!0x0);_0x35d223['_appendChild'](_0x2da3bc);}return _0x35d223;}function G(_0x5234a0,_0xc74c82=!0x0){const _0x656a51=new wt();return _0x656a51['rootName']=_0x5234a0,_0x656a51['_isAttached']=_0xc74c82,_0x656a51['isAttached']=()=>_0x656a51['_isAttached'],_0x656a51;}function L(_0x22b9f3,_0x79381b,_0x5de631){const _0x5a795a='elementEnd'==_0x22b9f3['type']?_0x5de631['createPositionAt'](_0x22b9f3['item'],'end'):_0x5de631['createPositionBefore'](_0x22b9f3['item']);return _0x5de631['createPositionFromPath'](_0x79381b,_0x5a795a['path'],_0x5a795a['stickiness']);}function W(_0x2ba3a4,_0x44a226,_0x3f04d2){const _0x5a78e4='elementStart'==_0x2ba3a4['type']?_0x3f04d2['createPositionAt'](_0x2ba3a4['item'],0x0):_0x3f04d2['createPositionAfter'](_0x2ba3a4['item']);return _0x3f04d2['createPositionFromPath'](_0x44a226,_0x5a78e4['path'],_0x5a78e4['stickiness']);}class ns extends _0x26e5c9{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4bba7e,_0x5f2196){super(_0x4bba7e),this['focusTracker']=new _0x32eafd(),this['keystrokes']=new _0x77408e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5f2196),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x2be6da({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3ef359=_0xfa8f2a=>_0xfa8f2a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ef359),this['keystrokes']['set']('arrowleft',_0x3ef359),this['keystrokes']['set']('arrowup',_0x3ef359),this['keystrokes']['set']('arrowdown',_0x3ef359);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x378b0d){this['revisionNameInputView']['fieldView']['element']['value']=_0x378b0d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5e16e){const _0x5c06e4=new at(this['locale'],_0x9e4e7d),_0x45bfea=_0x5c06e4['fieldView'];_0x45bfea['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5b65c2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5e16e&&(_0x5b65c2+='\x20('+y(this['locale'],'optional')+')'),(_0x5c06e4['label']=_0x5b65c2,_0x45bfea['on']('input',()=>{this['revisionNameInputValue']=_0x45bfea['element']['value']['trim']();}),_0x5c06e4);}}class u extends _0x26bd26{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3bc8fb=this['editor'],_0x2d361a=_0x3bc8fb['plugins']['get']('RevisionTracker');_0x3bc8fb['ui']['componentFactory']['add']('revisionHistory',_0x3c3643=>{const _0x4dc597=_0x369452(_0x3c3643),_0x57776f=_0x4dc597['panelView']['children'],_0x569df0=new te(_0x3c3643),_0x43d716=new _0x21d8fa(_0x3c3643),_0x59e425=new _0x51dfa6(_0x3c3643),_0x135ca1=new _0x21d8fa(_0x3c3643),_0x599965=new _0x51dfa6(_0x3c3643);return _0x4dc597['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x2d361a,'isEnabled',_0x3bc8fb,'isReadOnly',(_0x569c8a,_0x58bc0d,_0x4f39ac)=>_0x569c8a&&_0x58bc0d&&!_0x4f39ac),_0x4dc597['buttonView']['set']({'icon':_0x3886ba['history'],'label':y(_0x3c3643,'Revision\x20history'),'tooltip':!0x0}),_0x59e425['set']({'label':y(_0x3c3643,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x59e425['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x2d361a,'isEnabled',_0x3bc8fb,'isReadOnly',(_0x3cb02f,_0x47c683,_0x1939f2)=>_0x3cb02f&&_0x47c683&&!_0x1939f2),_0x59e425['on']('execute',()=>this['_showDialog']()),_0x599965['set']({'label':y(_0x3c3643,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x599965['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x3bc8fb,'isReadOnly',(_0x4e9e80,_0x172af1)=>_0x4e9e80&&!_0x172af1),_0x599965['on']('execute',()=>{_0x3bc8fb['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4dc597['isOpen']=!0x1,_0x3bc8fb['editing']['view']['focus']();}),_0x43d716['children']['add'](_0x59e425),_0x135ca1['children']['add'](_0x599965),_0x569df0['role']='menu',_0x569df0['items']['addMany']([_0x43d716,_0x135ca1]),_0x57776f['add'](_0x569df0),_0x4dc597;}),_0x3bc8fb['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x33eccf=this['editor'],_0x579f6c=_0x33eccf['locale'],_0x3db5f7=new _0x41603e(_0x579f6c),_0x304acc=new _0x255e91(_0x579f6c);_0x3db5f7['buttonView']['set']({'icon':_0x3886ba['history'],'label':y(_0x579f6c,'Revision\x20history')});const _0x36b2b8=new _0x514062(_0x579f6c,_0x3db5f7),_0xf35c21=new _0x38f481(_0x579f6c);_0xf35c21['set']({'label':y(_0x579f6c,'Save\x20current\x20revision')}),_0xf35c21['delegate']('execute')['to'](_0x3db5f7),_0xf35c21['on']('execute',()=>{this['_showDialog']();}),_0x36b2b8['children']['add'](_0xf35c21),_0x304acc['items']['add'](_0x36b2b8);const _0x24522f=new _0x514062(_0x579f6c,_0x3db5f7),_0x5f40a6=new _0x38f481(_0x579f6c);return _0x5f40a6['set']({'label':y(_0x579f6c,'Open\x20revision\x20history')}),_0x5f40a6['delegate']('execute')['to'](_0x3db5f7),_0x5f40a6['on']('execute',()=>{_0x33eccf['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x24522f['children']['add'](_0x5f40a6),_0x304acc['items']['add'](_0x24522f),_0x3db5f7['panelView']['children']['add'](_0x304acc),_0x3db5f7;}['_showDialog'](){const _0x27f578=this['editor'],_0x505336=_0x27f578['locale'],t=_0x505336['t'],_0x33dc42=_0x27f578['plugins']['get']('Dialog'),_0x2203de=_0x27f578['plugins']['get']('RevisionTracker');function _0x144606(_0x47d13a){_0x27f578['config']['get']('revisionHistory.requireRevisionName')&&''===_0x47d13a['revisionName']?_0x47d13a['revisionNameInputView']['errorText']=y(_0x505336,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x27f578['plugins']['get'](l)['saveRevision']({'name':_0x47d13a['revisionName']}),_0x33dc42['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x144606(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x33dc42['show']({'id':'findAndReplace','title':y(_0x505336,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x33dc42['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4d3918){_0x4d3918['bind']('isEnabled')['to'](_0x2203de,'isReady',_0x2203de,'isEnabled',_0x27f578,'isReadOnly',(_0x1da5b1,_0x1c4041,_0x22ab46)=>_0x1da5b1&&_0x1c4041&&!_0x22ab46);},'onExecute':()=>_0x144606(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x469113=this['editor'],_0x103d64=_0x469113['locale'];this['_saveRevisionFormView']=new ns(_0x103d64,_0x469113['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x26e5c9{['changeId'];['_model'];constructor(_0x1c96a7,_0x1b91ca){super(_0x1c96a7),this['_model']=_0x1b91ca,this['changeId']=_0x1b91ca['id'];const _0x2c08af=this['bindTemplate'],_0x2f86dd=y(_0x1c96a7,_0x1b91ca['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1b91ca['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1b91ca['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2c08af['to']('type',_0x1195cb=>'ck-revision-change__'+_0x1195cb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2f86dd}]},{'text':'\x20'+_0x1b91ca['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x400224(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x294d6a){super(),this['id']=_0x294d6a['id']||_0x535ce0(),this['author']=_0x294d6a['author'],this['type']=_0x294d6a['type'],this['data']=_0x294d6a['data']||{},this['rootName']=_0x294d6a['rootName'],this['set']('createdAt',_0x294d6a['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x7cf31a,_0x365b19){this['newRevisionId']=_0x7cf31a,this['oldRevisionId']=_0x365b19,this['changes']=new _0xb29b20();}['_setChanges'](_0x102314){for(const _0x5563f0 of _0x102314)this['changes']['add'](_0x5563f0);}}const tt={'c':_0xd63b61,'a':_0x5b8a0f,'e':_0x58419c,'r':_0x4aebd0,'u':_0x575c1f};class d extends _0x26bd26{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x376a85,_0x743844,A];}constructor(_0x1da5f4){super(_0x1da5f4),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x5c25dd,_0x3b4a28,_0x126212)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x21897d=>{for(const _0x3c7064 of this['editor']['editing']['view']['document']['roots'])_0x126212?_0x21897d['removeClass']('ck-editor__editable__overlay',_0x3c7064):_0x21897d['addClass']('ck-editor__editable__overlay',_0x3c7064);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x109355=>null!==_0x109355),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x37bef2,_0x4135a2,_0x37a6fe)=>_0x37bef2&&_0x37a6fe?_0x4135a2['changes']['getIndex'](_0x37a6fe):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x26e861,_0x34f2df)=>_0x26e861?_0x34f2df['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x743844);}['init'](){const _0x2b7898=this['editor'],_0x56c7d1=new yt(_0x2b7898,{'direction':'backward'}),_0x162158=new yt(_0x2b7898,{'direction':'forward'});(_0x2b7898['commands']['add']('showPreviousChange',_0x56c7d1),_0x2b7898['commands']['add']('showNextChange',_0x162158),_0x2b7898['commands']['add']('restoreRevision',new bt(_0x2b7898)),this['on']('change:numberOfChanges',()=>{_0x56c7d1['refresh'](),_0x162158['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2b7898['enableReadOnlyMode']('revision-viewer'),_0x2b7898['plugins']['has']('WidgetToolbarRepository'))&&_0x2b7898['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xf48b4){await this['loadRevisionData'](_0xf48b4);const _0x3bf7cb={};for(const _0x45c917 in _0xf48b4['diffData']){if(_0xf48b4['diffData'][_0x45c917]['attachChange']&&!_0xf48b4['diffData'][_0x45c917]['attachChange']['isAttached'])continue;const _0x64160f=this['_removeRevisionMarkers'](JSON['parse'](_0xf48b4['diffData'][_0x45c917]['insertions'])),_0x16bef6=this['editor']['editing']['view']['document'],_0x4d5c96=new _0x55c919(_0x16bef6,_0x64160f['map'](_0x325478=>this['_getViewObj'](_0x325478)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3bf7cb[_0x45c917]=this['editor']['data']['processor']['toData'](_0x4d5c96),this['editor']['data']['processor']['useFillerType']('default');}return _0x3bf7cb;}async['getRevisionRootsAttributes'](_0x30a1a8){await this['loadRevisionData'](_0x30a1a8);const _0x2dc455={};for(const _0x128149 in _0x30a1a8['diffData'])_0x30a1a8['diffData'][_0x128149]['attachChange']&&!_0x30a1a8['diffData'][_0x128149]['attachChange']['isAttached']||(_0x2dc455[_0x128149]=_0x30a1a8['diffData'][_0x128149]['attributesAfter']||{});return _0x2dc455;}['_removeRevisionMarkers'](_0x20ac92){return(_0x20ac92=_0x20ac92['filter'](_0x4935f2=>!_0x4935f2['name']||'revision-start'!==_0x4935f2['name']&&'revision-end'!==_0x4935f2['name']))['forEach'](_0x232add=>{'string'!=typeof _0x232add&&(_0x232add['children']=this['_removeRevisionMarkers'](_0x232add['children']),_0x232add['attributes']=_0x232add['attributes']['filter'](_0x1599ac=>!_0x1599ac[0x0]['startsWith']('data-revision-')));}),_0x20ac92;}async['compare'](_0x284233,_0x231fbc,_0xd165c8=!0x1){if(!this['isEnabled'])return;const _0x557638=this['diff'],_0x460e8a=this['repository'],_0x466a80='string'==typeof _0x284233?_0x460e8a['getRevision'](_0x284233):_0x284233,_0x20fc9b='string'==typeof _0x231fbc?_0x460e8a['getRevision'](_0x231fbc):_0x231fbc,_0x29b95a=_0x466a80['id'],_0x31aa2d=_0x20fc9b?_0x20fc9b['id']:null;if(!_0xd165c8&&this['diff']&&this['diff']['newRevisionId']===_0x29b95a&&this['diff']['oldRevisionId']===_0x31aa2d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x29b95a,_0x31aa2d);const _0x4fb81f=this['_getRevisionsRange'](_0x466a80,_0x20fc9b,!0x0)['map'](_0x463892=>this['loadRevisionData'](_0x463892));return _0x4fb81f['push'](new Promise(_0x443880=>{setTimeout(_0x443880,0x14);})),Promise['all'](_0x4fb81f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x573391=this['_getDiff'](_0x29b95a,_0x31aa2d);for(const _0x2d4c2f of _0x573391['changes'])this['_changeIdToChange']['set'](_0x2d4c2f['id'],_0x2d4c2f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x29e392=>{for(const _0x621fd3 of this['editor']['model']['document']['getRootNames']())_0x29e392['detachRoot'](_0x621fd3);for(const _0x4a7ecd of Object['keys'](_0x573391['model'])){const _0x20d495=_0x29e392['addRoot'](_0x4a7ecd);for(const _0x577eeb of Object['keys'](_0x573391['attributes'][_0x4a7ecd]))_0x29e392['setAttribute'](_0x577eeb,_0x573391['attributes'][_0x4a7ecd][_0x577eeb],_0x20d495);_0x29e392['insert'](_0x573391['model'][_0x4a7ecd],_0x20d495,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x573391['changes'])),this['isReady']=!0x0;})['catch'](_0x21f007=>{console['error'](_0x21f007),this['_cleanUp'](),_0x557638&&(this['diff']=_0x557638),this['isReady']=!0x0;});}['addRevisionData'](_0x5ca776,_0x4d8694){const _0x260320=this['repository']['createRevision'](_0x5ca776);return _0x260320['on']('_update',(_0x56e68a,_0x4bde6d,_0x9dd953)=>_0x4d8694(_0x4bde6d,_0x9dd953,_0x260320)),this['repository']['addRevision'](_0x260320),_0x260320;}['loadRevisionData'](_0x26f0a0){if(!_0x26f0a0||_0x26f0a0['diffData'])return Promise['resolve']();{const _0x4308b5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4308b5,'revisionId':_0x26f0a0['id']})['then'](_0x3ff68a=>{_0x26f0a0['_update']({'diffData':_0x3ff68a['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xfadc42=>{for(const _0x9087dd of this['editor']['model']['document']['getRootNames']())_0xfadc42['detachRoot'](_0x9087dd);});}['_sortAndFilterDiffChanges'](_0x275f0b){const _0xa6de6e=[],_0x1ce748=new Map();for(const _0x45bfbf of this['editor']['model']['document']['getRootNames']()){const _0x53338b=this['editor']['editing']['view']['getDomRoot'](_0x45bfbf);if(!_0x53338b)continue;const _0x39e524=_0x53338b['getClientRects']()['item'](0x0);_0x39e524&&(_0xa6de6e['push'](_0x45bfbf),_0x1ce748['set'](_0x45bfbf,_0x39e524));}return _0xa6de6e['sort']((_0x4bfc45,_0x33c6a2)=>{const _0x5b6f28=_0x1ce748['get'](_0x4bfc45),_0xcf25a9=_0x1ce748['get'](_0x33c6a2);return _0x5b6f28['y']-_0xcf25a9['y']||_0x5b6f28['x']-_0xcf25a9['x'];}),(_0x275f0b=_0x275f0b['filter'](_0x3512ab=>_0xa6de6e['includes'](_0x3512ab['rootName'])))['sort']((_0x444d07,_0x6a507)=>_0xa6de6e['indexOf'](_0x444d07['rootName'])-_0xa6de6e['indexOf'](_0x6a507['rootName'])),_0x275f0b;}['_makeTape'](_0x1848ad){const _0x5daf5d=Array['from'](_0x1848ad['markers'])['filter'](([_0x18acdb,_0x3d27e4])=>_0x18acdb['startsWith']('revision:')&&!_0x3d27e4['isCollapsed']),_0x241153=Array['from'](this['editor']['model']['createRangeIn'](_0x1848ad)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5daf5d['length'])for(const _0x3a5f87 of _0x241153){const [_0x1da1e8,_0x2876c3]=_0x5daf5d[0x0],[,_0x5debfd,_0xedb13a]=_0x1da1e8['split'](':');if(_0x2876c3['end']['isEqual'](_0x3a5f87['nextPosition'])&&_0x5daf5d['shift'](),(_0x3a5f87['previousPosition']['isEqual'](_0x2876c3['start'])||_0x3a5f87['previousPosition']['isAfter'](_0x2876c3['start']))&&('insertion'==_0x5debfd?_0x3a5f87['isAdded']={'userId':_0xedb13a}:'deletion'==_0x5debfd&&(_0x3a5f87['isRemoved']={'userId':_0xedb13a})),0x0==_0x5daf5d['length'])break;}return _0x241153;}['_refreshStartEndIndex'](_0x719d13){const _0x3193c8=new Map();for(let _0x91ce7a=0x0;_0x91ce7a<_0x719d13['length'];_0x91ce7a++)'text'===_0x719d13[_0x91ce7a]['type']?(_0x719d13[_0x91ce7a]['item']['startIndex']=_0x91ce7a,_0x719d13[_0x91ce7a]['item']['endIndex']=_0x91ce7a):('elementStart'===_0x719d13[_0x91ce7a]['type']?_0x719d13[_0x91ce7a]['item']['startIndex']=_0x91ce7a:'elementEnd'===_0x719d13[_0x91ce7a]['type']&&(_0x719d13[_0x91ce7a]['item']['endIndex']=_0x91ce7a),_0x3193c8['set'](_0x719d13[_0x91ce7a]['id'],_0x91ce7a));for(const _0xa0eb37 of _0x3193c8['values']())'elementStart'===_0x719d13[_0xa0eb37]['type']?_0x719d13[_0xa0eb37]['item']['endIndex']=_0x3193c8['get'](_0x719d13[_0xa0eb37]['pairId']):'elementEnd'===_0x719d13[_0xa0eb37]['type']&&(_0x719d13[_0xa0eb37]['item']['startIndex']=_0x3193c8['get'](_0x719d13[_0xa0eb37]['pairId']));}['_processTape'](_0x5b3356){for(let _0x1d4d97=0x0;_0x1d4d97<_0x5b3356['length'];_0x1d4d97++){if('elementStart'===_0x5b3356[_0x1d4d97]['type'])_0x5b3356[_0x1d4d97]['item']['startIndex']=_0x1d4d97;else{if('elementEnd'===_0x5b3356[_0x1d4d97]['type']){_0x5b3356[_0x1d4d97]['item']['endIndex']=_0x1d4d97;const _0x1f7fd4=_0x5b3356[_0x1d4d97]['item']['startIndex'];_0x5b3356[_0x1f7fd4]['pairId']=_0x5b3356[_0x1d4d97]['id'],_0x5b3356[_0x1d4d97]['pairId']=_0x5b3356[_0x1f7fd4]['id'];}else _0x5b3356[_0x1d4d97]['item']['startIndex']=_0x1d4d97,_0x5b3356[_0x1d4d97]['item']['endIndex']=_0x1d4d97,_0x5b3356[_0x1d4d97]['pairId']=null;}_0x5b3356[_0x1d4d97]['markersStart']||(_0x5b3356[_0x1d4d97]['markersStart']=[],_0x5b3356[_0x1d4d97]['markersEnd']=[]);}}['_markInsertions'](_0x1374a2,_0x3d74e8){const _0x5d55c6=_0x1374a2['filter'](_0x4d4839=>!_0x4d4839['isAdded']);for(let _0x11a86b=0x0;_0x11a86b<_0x3d74e8['length'];_0x11a86b++)_0x3d74e8[_0x11a86b]['isAdded']&&(_0x5d55c6[_0x11a86b]['isAdded']=_0x3d74e8[_0x11a86b]['isAdded']);}['_makeModelFromViewString'](_0x385ff9){const _0x25b4bf=JSON['parse'](_0x385ff9),_0x1dd588=this['editor']['editing']['view']['document'],_0xe28477=new _0x55c919(_0x1dd588,_0x25b4bf['map'](_0x330ef0=>this['_getViewObj'](_0x330ef0)));return this['editor']['data']['toModel'](_0xe28477);}['_getViewObj'](_0x5ec26f){const _0x36cb5b=this['editor']['editing']['view']['document'];if('string'==typeof _0x5ec26f)return new _0x1e4a24(_0x36cb5b,_0x5ec26f);{const _0x2f6457=_0x5ec26f['children']['map'](_0x1dd38b=>this['_getViewObj'](_0x1dd38b));return new(tt[_0x5ec26f['type']]||_0x2f3835)(_0x36cb5b,_0x5ec26f['name'],_0x5ec26f['attributes'],_0x2f6457);}}['_getDiff'](_0x27f17a,_0x26b6bd=null){const _0x3700b5=this['repository']['getRevision'](_0x27f17a),_0x4a1388=_0x26b6bd?this['repository']['getRevision'](_0x26b6bd):null,_0x164fc1=this['_getRevisionsRange'](_0x3700b5,_0x4a1388),_0x4e38cb=_0x164fc1[_0x164fc1['length']-0x1],_0x560c40=new Map(),_0x408a4b={'model':{},'attributes':{},'changes':[]},_0x1a19f8=new Set(),_0x1f5219=new Map();for(let _0x2d9201=_0x164fc1['length']-0x1;_0x2d9201>=0x0;_0x2d9201--){const _0x1b0244=_0x164fc1[_0x2d9201];for(const _0x2fb28b of Object['keys'](_0x1b0244['diffData']))if(_0x1b0244['diffData'][_0x2fb28b]['attachChange']){const _0x5bf8f9=_0x1b0244['diffData'][_0x2fb28b]['attachChange'];_0x5bf8f9['isAttached']?(_0x1a19f8['add'](_0x2fb28b),_0x1f5219['has'](_0x2fb28b)&&_0x1f5219['get'](_0x2fb28b)['userId']==_0x5bf8f9['userId']?_0x1f5219['delete'](_0x2fb28b):_0x1f5219['set'](_0x2fb28b,_0x5bf8f9)):_0x1f5219['has'](_0x2fb28b)?(_0x1a19f8['delete'](_0x2fb28b),_0x1f5219['delete'](_0x2fb28b)):(_0x1a19f8['add'](_0x2fb28b),_0x1f5219['set'](_0x2fb28b,_0x5bf8f9));}else _0x1a19f8['add'](_0x2fb28b);}for(const _0x579681 of _0x1a19f8){const _0xa55189=_0x1f5219['has'](_0x579681)&&!_0x1f5219['get'](_0x579681)['isAttached'];let _0x396909=_0xa55189?_0x164fc1['length']-0x1:0x0;const _0x598833=_0xa55189?-0x1:0x1;for(;_0x164fc1[_0x396909];){const _0x15db4c=_0x164fc1[_0x396909];if(_0x15db4c['diffData'][_0x579681]){const _0x2da953=_0xa55189?_0x15db4c['diffData'][_0x579681]['attributesBefore']:_0x15db4c['diffData'][_0x579681]['attributesAfter'];_0x408a4b['attributes'][_0x579681]=_0x2da953?_0x1387cf(_0x2da953):{};break;}_0x396909+=_0x598833;}}for(const _0x2af230 of _0x164fc1){_0x2af230['model']={};for(const _0x2e5956 of _0x2af230['authors'])_0x560c40['set'](_0x2e5956['id'],_0x2e5956);for(const _0x3f5de3 of _0x1a19f8){const _0x451d7a=_0x2af230['diffData'][_0x3f5de3]?_0x2af230['diffData'][_0x3f5de3]['insertions']:'[]',_0x3f061e=_0x2af230['diffData'][_0x3f5de3]?_0x2af230['diffData'][_0x3f5de3]['deletions']:'[]';_0x2af230['model'][_0x3f5de3]={'insertions':this['_makeModelFromViewString'](_0x451d7a),'deletions':this['_makeModelFromViewString'](_0x3f061e)};}}for(const _0x36b871 of _0x1a19f8){let _0x1d7b72=null,_0x58bf9c=0x0;const _0x391423=new Map(Array['from'](_0x3700b5['model'][_0x36b871]['insertions']['markers'])['filter'](([_0x11b66c])=>!_0x11b66c['startsWith']('revision:')));let _0xebc390=0x0;for(const _0x156143 of _0x164fc1){const _0x91cb96=this['_makeTape'](_0x156143['model'][_0x36b871]['insertions']);_0x156143==_0x3700b5?(_0x1d7b72=_0x91cb96,_0x58bf9c=_0x1d7b72['length'],_0x1d7b72['forEach'](_0x53387b=>{_0x53387b['id']=_0xebc390++;}),this['_processTape'](_0x1d7b72)):this['_markInsertions'](_0x1d7b72,_0x91cb96);const _0xc834eb=_0x1d7b72['filter'](_0x4e8f40=>!_0x4e8f40['isAdded'])['map'](_0x14427a=>_0x14427a['id']);let _0x51631e=0x0;const _0x55b8b1=this['_makeTape'](_0x156143['model'][_0x36b871]['deletions']);_0x55b8b1['forEach'](_0x3fc557=>{_0x3fc557['isRemoved']?_0x3fc557['id']=_0x58bf9c++:_0x3fc557['id']=_0xc834eb[_0x51631e++];}),this['_processTape'](_0x55b8b1),this['_setDistance'](_0x1d7b72,'isAdded'),this['_setDistance'](_0x55b8b1,'isRemoved'),_0x156143==_0x3700b5&&this['_markMarkers'](_0x1d7b72,_0x391423),_0x1d7b72=this['_joinTapes'](_0x1d7b72,_0x55b8b1),this['_refreshStartEndIndex'](_0x1d7b72),this['_setDistance'](_0x1d7b72,'isRemoved');}_0x1d7b72=_0x1d7b72['filter'](_0x3fc8c5=>!(_0x3fc8c5['isAdded']&&_0x3fc8c5['isRemoved']));const _0x4c3463=new Map(_0x4e38cb['model'][_0x36b871]['deletions']['markers']),_0x2bf6df=new Set(_0x391423['keys']());for(const _0x2cd063 of _0x4c3463['keys']())_0x2bf6df['delete'](_0x2cd063);this['_markSuggestions'](_0x1d7b72,_0x2bf6df),this['_fixObsoleteTags'](_0x1d7b72),_0x1d7b72=this['_removeMissingPairs'](_0x1d7b72),_0x1d7b72=this['_markMismatchedRemovedTags'](_0x1d7b72),_0x1d7b72=this['_removeUnsupportedChanges'](_0x1d7b72);const {root:_0x2877f3,changes:_0x10c6fb}=this['_makeModelFromTape'](_0x1d7b72,_0x560c40,_0x36b871);_0x408a4b['model'][_0x36b871]=_0x2877f3;const _0xdd9399=_0x1f5219['get'](_0x36b871);if(_0xdd9399){const _0xeac162=_0x560c40['get'](_0xdd9399['userId']),_0x395994=new r({'author':_0xeac162,'type':_0xdd9399['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x36b871});_0x10c6fb['unshift'](_0x395994),_0x408a4b['attributes'][_0x36b871]['revisionHistoryAttachChange']=_0x395994['id'];}_0x408a4b['changes']=_0x408a4b['changes']['concat'](_0x10c6fb);}return _0x408a4b;}['_markMarkers'](_0x1a9a2e,_0xd3204){for(let _0x3305a0=0x0;_0x3305a0<_0x1a9a2e['length'];_0x3305a0++)for(const [_0x509bf4,_0x1f5606]of _0xd3204)_0x1f5606['start']['isEqual'](_0x1a9a2e[_0x3305a0]['previousPosition'])&&_0x1a9a2e[_0x3305a0]['markersStart']['push'](_0x509bf4),_0x1f5606['end']['isEqual'](_0x1a9a2e[_0x3305a0]['nextPosition'])&&_0x1a9a2e[_0x3305a0]['markersEnd']['push'](_0x509bf4);}['_joinTapes'](_0x3aea2b,_0x4beaa7){let _0x14c372=[],_0x495066=0x0,_0x568585=0x0;for(;_0x495066<_0x3aea2b['length']||_0x568585<_0x4beaa7['length'];){const _0x167ff3=_0x3aea2b[_0x495066]||{},_0x3ab175=_0x4beaa7[_0x568585]||{};if(_0x167ff3['id']==_0x3ab175['id'])_0x495066++,_0x568585++,_0x14c372['push'](_0x167ff3);else{if(_0x3ab175['isRemoved']&&_0x167ff3['isAdded']){const {commonTape:_0x397731,iEnd:_0xfaba5d,jEnd:_0x254ad1}=this['_threeWayMerge'](_0x3aea2b,_0x495066,_0x4beaa7,_0x568585);_0x14c372=_0x14c372['concat'](_0x397731),_0x495066=_0xfaba5d,_0x568585=_0x254ad1;}else _0x3ab175['isRemoved']?(_0x568585++,_0x14c372['push'](_0x3ab175)):(_0x495066++,_0x14c372['push'](_0x167ff3));}}return _0x14c372;}['_markSuggestions'](_0x17b146,_0x9f8529){const _0x51fdb5=[];for(let _0x53399a=0x0;_0x53399a<_0x17b146['length'];_0x53399a++){for(let _0x2c91e1=0x0;_0x2c91e1<_0x17b146[_0x53399a]['markersStart']['length'];_0x2c91e1++){const _0x1e6acc=_0x17b146[_0x53399a]['markersStart'][_0x2c91e1];if(!_0x9f8529['has'](_0x1e6acc))continue;const {group:_0xc80b99,type:_0x2c727e,authorId:_0x45599f}=_0x59c863(_0x1e6acc);'revision-suggestion'!=_0xc80b99||'insertion'!=_0x2c727e&&'deletion'!=_0x2c727e||(_0x51fdb5['unshift']({'type':_0x2c727e,'name':_0x1e6acc,'userId':_0x45599f}),_0x17b146[_0x53399a]['markersStart']['splice'](_0x2c91e1,0x1),_0x2c91e1--);}_0x59b131(_0x17b146[_0x53399a]);for(let _0x5631c8=0x0;_0x5631c8<_0x17b146[_0x53399a]['markersEnd']['length'];_0x5631c8++){const _0x79d97=_0x17b146[_0x53399a]['markersEnd'][_0x5631c8];if(!_0x9f8529['has'](_0x79d97))continue;const {group:_0x337614,type:_0x3a00dc}=_0x59c863(_0x79d97);if('revision-suggestion'!=_0x337614||'insertion'!=_0x3a00dc&&'deletion'!=_0x3a00dc)continue;_0x17b146[_0x53399a]['markersEnd']['splice'](_0x5631c8,0x1),_0x5631c8--;const _0x543e83=_0x51fdb5['findIndex'](_0x59db6e=>_0x59db6e['name']==_0x79d97);_0x543e83>-0x1&&_0x51fdb5['splice'](_0x543e83,0x1);}}function _0x59c863(_0x3445c0){const _0x5a4799=_0x3445c0['split'](':');return{'group':_0x5a4799[0x0],'type':_0x5a4799[0x1],'subType':_0x5a4799['length']>=0x5?_0x5a4799[0x2]:null,'id':_0x5a4799['length']<0x5?_0x5a4799[0x2]:_0x5a4799[0x3],'authorId':_0x5a4799['length']<0x5?_0x5a4799[0x3]:_0x5a4799[0x4],'markerCount':0x6==_0x5a4799['length']?_0x5a4799[0x5]:null};}function _0x59b131(_0x1b8fd2){for(let _0x48a9cd=0x0;_0x48a9cd<_0x51fdb5['length'];_0x48a9cd++){if(_0x1b8fd2['isAdded']&&'insertion'==_0x51fdb5[_0x48a9cd]['type'])return _0x1b8fd2['isAddSuggestion']=_0x51fdb5[_0x48a9cd],void delete _0x1b8fd2['isAdded'];if(!_0x1b8fd2['isAdded']&&!_0x1b8fd2['isRemoved']&&'deletion'==_0x51fdb5[_0x48a9cd]['type'])return void(_0x1b8fd2['isRemoveSuggestion']=_0x51fdb5[_0x48a9cd]);}}}['_setDistance'](_0x258faf,_0x4610eb){let _0x17dca2=0x0,_0x230aac=!0x1;const _0x89f168=new Map();for(const _0xafdda5 of _0x258faf)_0xafdda5[_0x4610eb]?_0x230aac&&(_0x17dca2++,_0x230aac=!0x1):(_0x17dca2++,_0x230aac=!0x0),_0x89f168['set'](_0xafdda5['id'],_0x17dca2);for(let _0x2cf22e=0x0;_0x2cf22e<_0x258faf['length'];_0x2cf22e++){if('isRemoved'==_0x4610eb&&_0x258faf[_0x2cf22e]['isAdded']||'isAdded'==_0x4610eb&&_0x258faf[_0x2cf22e]['isRemoved'])continue;if('text'==_0x258faf[_0x2cf22e]['type']){_0x258faf[_0x2cf22e]['distance']=0x0;continue;}const _0x2f421d=_0x89f168['get'](_0x258faf[_0x2cf22e]['pairId']),_0x459b8d=_0x89f168['get'](_0x258faf[_0x2cf22e]['id']);_0x258faf[_0x2cf22e]['distance']=_0x2f421d-_0x459b8d;}}['_getRevisionsRange'](_0x380e13,_0x5c60ab,_0x166b56=!0x1){const _0x5185b3=[];let _0x7e1265=this['repository']['getIndex'](_0x380e13),_0x377fa7=this['repository']['getIndex'](_0x5c60ab);for(-0x1==_0x377fa7&&(_0x377fa7=this['repository']['_revisions']['length'],_0x166b56=!0x1);_0x7e1265<_0x377fa7;)_0x5185b3['push'](this['repository']['getRevision'](_0x7e1265)),_0x7e1265++;return _0x166b56&&_0x5185b3['push'](this['repository']['getRevision'](_0x7e1265)),_0x5185b3;}['_threeWayMerge'](_0x2dc23f,_0x3b4219,_0x36e888,_0xbf179c){const _0xeb35c3=this['editor']['model']['schema'];let _0x333b21=_0x3b4219;for(;_0x2dc23f[_0x333b21]&&_0x2dc23f[_0x333b21]['isAdded'];)_0x333b21++;let _0x29ffeb=_0xbf179c;for(;_0x36e888[_0x29ffeb]&&_0x36e888[_0x29ffeb]['isRemoved'];)_0x29ffeb++;_0x706ca(_0x2dc23f,_0x3b4219,_0x333b21),_0x706ca(_0x36e888,_0xbf179c,_0x29ffeb);const _0x413cf7=_0x36e888['slice'](_0xbf179c,_0x29ffeb)['concat'](_0x2dc23f['slice'](_0x3b4219,_0x333b21));return _0x413cf7['sort']((_0x3bb8a8,_0x5d74aa)=>_0x3bb8a8['side']!=_0x5d74aa['side']?_0x3bb8a8['side']-_0x5d74aa['side']:_0x3bb8a8['level']!=_0x5d74aa['level']?_0x3bb8a8['level']-_0x5d74aa['level']:_0x3bb8a8['distance']!=_0x5d74aa['distance']?_0x5d74aa['distance']-_0x3bb8a8['distance']:!!_0x3bb8a8['isAdded']!=!!_0x5d74aa['isAdded']?-0x1==_0x3bb8a8['side']||0x0==_0x3bb8a8['side']?_0x3bb8a8['isAdded']?-0x1:0x1:_0x3bb8a8['isAdded']?0x1:-0x1:_0x3bb8a8['index']-_0x5d74aa['index']),{'commonTape':_0x413cf7,'iEnd':_0x333b21,'jEnd':_0x29ffeb};function _0x706ca(_0x3a87e6,_0x195372,_0x507217){let _0x45d1c5=-0x1,_0x7eef3c=Number['POSITIVE_INFINITY'],_0xf211ef=!0x0;for(let _0x2817c7=_0x195372;_0x2817c7<_0x507217;_0x2817c7++)if(_0xeb35c3['isInline'](_0x3a87e6[_0x2817c7]['item'])||(_0xf211ef=!0x1),_0x3a87e6[_0x2817c7]['item']['startIndex']<_0x195372&&(_0x45d1c5=_0x2817c7),_0x3a87e6[_0x2817c7]['item']['endIndex']>=_0x507217){_0x7eef3c=_0x2817c7;break;}_0xf211ef&&(_0x45d1c5=_0x507217-0x1);for(let _0x4c112f=_0x195372;_0x4c112f<_0x507217;_0x4c112f++)_0x3a87e6[_0x4c112f]['side']=_0x4c112f<=_0x45d1c5?-0x1:_0x4c112f<_0x7eef3c?0x0:0x1,_0x3a87e6[_0x4c112f]['index']=_0x4c112f;let _0x2e1a29=0x0;for(let _0x5d8041=_0x195372;_0x5d8041<=_0x45d1c5;_0x5d8041++)0x0==_0x3a87e6[_0x5d8041]['distance']?_0x3a87e6[_0x5d8041]['level']=_0x2e1a29:(_0x2e1a29++,_0x3a87e6[_0x5d8041]['level']=_0x2e1a29,_0x2e1a29++);for(let _0x2c12a9=_0x195372;_0x2c12a9<_0x507217;_0x2c12a9++)0x0==_0x3a87e6[_0x2c12a9]['side']&&(_0x3a87e6[_0x2c12a9]['level']=_0x2e1a29);_0x2e1a29=0x0;for(let _0x49e244=_0x507217-0x1;_0x49e244>=_0x7eef3c;_0x49e244--)0x0==_0x3a87e6[_0x49e244]['distance']?_0x3a87e6[_0x49e244]['level']=_0x2e1a29:(_0x2e1a29--,_0x3a87e6[_0x49e244]['level']=_0x2e1a29,_0x2e1a29--);}}['_fixObsoleteTags'](_0xaa6b0e){const _0x1bacf7=new Map(),_0xb3c949=this['editor']['model']['schema'];for(let _0x32cdd1=0x1;_0x32cdd1<_0xaa6b0e['length'];_0x32cdd1++){let _0x174e6b,_0x368230,_0x1b1ec1;const _0x456a7f=_0xaa6b0e[_0x32cdd1],_0x1e2756=_0xaa6b0e[_0x32cdd1-0x1];if('text'==_0x456a7f['type'])continue;if(_0x456a7f['type']!=_0x1e2756['type'])continue;if(!_0xb3c949['isBlock'](_0x1e2756['item'])||_0xb3c949['isLimit'](_0x1e2756['item']))continue;if(!_0xb3c949['isBlock'](_0x456a7f['item'])||_0xb3c949['isLimit'](_0x456a7f['item']))continue;if((_0xaa6b0e[_0x32cdd1]['isAdded']||_0xaa6b0e[_0x32cdd1]['isAddSuggestion'])&&_0xaa6b0e[_0x32cdd1-0x1]['isRemoved'])_0x174e6b=_0xaa6b0e[_0x32cdd1],_0x368230=_0xaa6b0e[_0x32cdd1-0x1],_0x1b1ec1=_0x32cdd1-0x1;else{if(!_0xaa6b0e[_0x32cdd1]['isRemoved']||!_0xaa6b0e[_0x32cdd1-0x1]['isAdded']&&!_0xaa6b0e[_0x32cdd1-0x1]['isAddSuggestion'])continue;_0x174e6b=_0xaa6b0e[_0x32cdd1-0x1],_0x368230=_0xaa6b0e[_0x32cdd1],_0x1b1ec1=_0x32cdd1;}const _0x305299=_0x174e6b['level']==_0x368230['level'],_0x4aec11=Math['abs'](_0x174e6b['level'])<Math['abs'](_0x368230['level'])&&0x0==_0x368230['distance'];(_0x305299||_0x4aec11)&&(_0x1bacf7['set'](_0x368230['id'],_0x174e6b['id']),_0xaa6b0e['splice'](_0x1b1ec1,0x1),_0x32cdd1--,_0x174e6b['isAdded']=!0x1);}for(let _0x25953f=0x0;_0x25953f<_0xaa6b0e['length'];_0x25953f++)_0x1bacf7['has'](_0xaa6b0e[_0x25953f]['pairId'])&&(_0xaa6b0e[_0x25953f]['pairId']=_0x1bacf7['get'](_0xaa6b0e[_0x25953f]['pairId']));}['_removeMissingPairs'](_0x19aca4){const _0x405204=new Set(_0x19aca4['map'](_0xb88702=>_0xb88702['id']));for(let _0x4e3d99=0x0;_0x4e3d99<_0x19aca4['length'];_0x4e3d99++)_0x405204['has'](_0x19aca4[_0x4e3d99]['pairId'])||0x0==_0x19aca4[_0x4e3d99]['distance']||(_0x19aca4[_0x4e3d99]['isIncorrect']=!0x0);return _0x19aca4['filter'](_0x1df541=>!_0x1df541['isIncorrect']);}['_markMismatchedRemovedTags'](_0xe8c2e9){const _0x2b2db6=new Set();for(let _0x5d902b=0x0;_0x5d902b<_0xe8c2e9['length'];_0x5d902b++){if(_0x2b2db6['has'](_0xe8c2e9[_0x5d902b]['id'])&&_0xe8c2e9[_0x5d902b]['isRemoved']&&(_0xe8c2e9[_0x5d902b]['isIncorrect']=!0x0),_0xe8c2e9[_0x5d902b]['isIncorrect'])continue;if(0x0==_0xe8c2e9[_0x5d902b]['distance'])continue;if('elementStart'!=_0xe8c2e9[_0x5d902b]['type'])continue;if(null==_0xe8c2e9[_0x5d902b]['pairId'])continue;let _0x19c93b=_0x5d902b+0x1,_0x2ea126=0x0;for(;_0xe8c2e9[_0x19c93b]['id']!=_0xe8c2e9[_0x5d902b]['pairId'];)'elementStart'==_0xe8c2e9[_0x19c93b]['type']?_0x2ea126++:'elementEnd'==_0xe8c2e9[_0x19c93b]['type']&&_0x2ea126--,_0x19c93b++;if(0x0!=_0x2ea126){if(_0xe8c2e9[_0x5d902b]['isRemoved'])_0xe8c2e9[_0x5d902b]['isIncorrect']=!0x0;else{for(;_0x19c93b!=_0x5d902b;)_0xe8c2e9[_0x19c93b]['isRemoved']&&0x0!=_0xe8c2e9[_0x19c93b]['distance']&&(_0xe8c2e9[_0x19c93b]['isIncorrect']=!0x0,_0x2b2db6['add'](_0xe8c2e9[_0x19c93b]['pairId'])),_0x19c93b--;}}}return _0xe8c2e9['filter'](_0x44fc99=>!_0x44fc99['isIncorrect']);}['_removeUnsupportedChanges'](_0x509d85){const _0x237914=this['editor']['model']['schema'];for(let _0x5cbf9e=0x0;_0x5cbf9e<_0x509d85['length'];_0x5cbf9e++){if(!(_0x509d85[_0x5cbf9e]['isAdded']||_0x509d85[_0x5cbf9e]['isAddSuggestion']||_0x509d85[_0x5cbf9e]['isRemoved']||_0x509d85[_0x5cbf9e]['isRemoveSuggestion']))continue;if(0x0==_0x509d85[_0x5cbf9e]['distance'])continue;const _0x58a97e=_0x509d85[_0x5cbf9e]['item'];_0x237914['isBlock'](_0x58a97e)||_0x237914['isLimit'](_0x58a97e)||(_0x509d85[_0x5cbf9e]['isAdded']&&delete _0x509d85[_0x5cbf9e]['isAdded'],_0x509d85[_0x5cbf9e]['isAddSuggestion']&&delete _0x509d85[_0x5cbf9e]['isAddSuggestion'],_0x509d85[_0x5cbf9e]['isRemoveSuggestion']&&delete _0x509d85[_0x5cbf9e]['isRemoveSuggestion'],_0x509d85[_0x5cbf9e]['isRemoved']&&(_0x509d85[_0x5cbf9e]['isIncorrect']=!0x0));}return _0x509d85['filter'](_0x134922=>!_0x134922['isIncorrect']);}['_makeModelFromTape'](_0xe9de1e,_0x593dc7,_0x54dfe6){const _0x3d85a8=new wt(),_0x3a6efc=[],_0x241558=new Map(),_0x35edc3=this['editor']['model'],_0xf590cf=_0x35edc3['schema'],_0x363edc=[_0x3d85a8],_0x35d1fe={},_0x419d1e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1c50e8=null;const _0x163e8a=[0x0];for(let _0x1a618e=0x0;_0x1a618e<_0xe9de1e['length'];_0x1a618e++){let _0x5a71c3,_0x52e9a4;if('elementStart'===_0xe9de1e[_0x1a618e]['type']){_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a);const _0x3e8b44=new ft(_0xe9de1e[_0x1a618e]['item']['name'],_0xe9de1e[_0x1a618e]['item']['getAttributes']());_0x363edc[0x0]['_appendChild'](_0x3e8b44),_0x163e8a['push'](0x0),_0x363edc['unshift'](_0x3e8b44),_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8=null;}else{if('elementEnd'===_0xe9de1e[_0x1a618e]['type'])_0x363edc['shift'](),_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x163e8a['pop'](),_0x163e8a[_0x163e8a['length']-0x1]++,_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8=null;else{if(_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8&&_0x39507a(_0x1c50e8,_0xe9de1e[_0x1a618e]['item']))_0x1c50e8['_data']+=_0xe9de1e[_0x1a618e]['item']['data'];else{const _0x38fb0b=new _t(_0xe9de1e[_0x1a618e]['item']['data'],_0xe9de1e[_0x1a618e]['item']['getAttributes']());_0x363edc[0x0]['_appendChild'](_0x38fb0b),_0x1c50e8=_0x38fb0b;}_0x163e8a[_0x163e8a['length']-0x1]+=_0xe9de1e[_0x1a618e]['item']['offsetSize'],_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a);}}for(const _0x2a6317 of _0xe9de1e[_0x1a618e]['markersStart'])_0x241558['set'](_0x2a6317,{'start':_0x5a71c3,'end':null});_0x193b7d('isRemoveSuggestion',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isAddSuggestion',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isRemoved',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isAdded',_0x1a618e,_0x5a71c3,_0x52e9a4);for(const _0xc59f34 of _0xe9de1e[_0x1a618e]['markersEnd']){_0x241558['get'](_0xc59f34)['end']=_0x52e9a4;}}for(const [_0xa432d0,_0x4deb36]of _0x241558){const _0x49c3ef=this['editor']['model']['createRange'](_0x4deb36['start'],_0x4deb36['end']);_0x3d85a8['markers']['set'](_0xa432d0,_0x49c3ef);}return _0x3a6efc['sort']((_0x537ab5,_0x557e1e)=>{const _0x4496bf=_0x3d85a8['markers']['get']('revision:'+_0x537ab5['id']),_0x4537d0=_0x3d85a8['markers']['get']('revision:'+_0x557e1e['id']);return _0x4496bf['start']['isBefore'](_0x4537d0['start'])?-0x1:_0x4496bf['start']['isAfter'](_0x4537d0['start'])?0x1:_0x4496bf['end']['isBefore'](_0x4537d0['end'])?-0x1:_0x4496bf['end']['isAfter'](_0x4537d0['end'])?0x1:'add'===_0x537ab5['type']?-0x1:0x1;}),{'root':_0x3d85a8,'changes':_0x3a6efc};function _0x193b7d(_0x27f1a8,_0x509889,_0x59c073,_0x2b0157){const _0x2716b1=!!_0xe9de1e[_0x509889][_0x27f1a8],_0x58e98c=_0x2716b1?_0xe9de1e[_0x509889][_0x27f1a8]['userId']:null,_0x14cf19=_0x509889===_0xe9de1e['length']-0x1,_0x37cf5c=_0x419d1e[_0x27f1a8][0x0],_0x10927f=_0xf590cf['isObject'](_0xe9de1e[_0x509889]['item']);!_0x35d1fe[_0x27f1a8]&&_0x2716b1?_0x35d1fe[_0x27f1a8]={'start':_0x59c073,'tapeItem':_0xe9de1e[_0x509889],'userId':_0x58e98c,'type':_0x27f1a8}:_0x35d1fe[_0x27f1a8]&&!_0x2716b1?(_0x35d1fe[_0x27f1a8]['end']=_0x59c073,_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]=null):_0x35d1fe[_0x27f1a8]&&_0x2716b1&&_0x35d1fe[_0x27f1a8]['userId']!==_0x58e98c&&(_0x35d1fe[_0x27f1a8]['end']=_0x59c073,_0x37cf5c&&_0x37cf5c['userId']===_0x35d1fe[_0x27f1a8]['userId']||_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]={'start':_0x59c073,'tapeItem':_0xe9de1e[_0x509889],'userId':_0x58e98c,'type':_0x27f1a8}),_0x35d1fe[_0x27f1a8]&&_0x10927f&&('elementStart'!==_0xe9de1e[_0x509889]['type']||_0x37cf5c&&_0x37cf5c['userId']===_0x58e98c||_0x419d1e[_0x27f1a8]['unshift']({'userId':_0x58e98c,'object':_0xe9de1e[_0x509889]['item'],'change':_0x35d1fe[_0x27f1a8]}),'elementEnd'===_0xe9de1e[_0x509889]['type']&&_0x37cf5c&&_0x37cf5c['object']===_0xe9de1e[_0x509889]['item']&&(_0x419d1e[_0x27f1a8]['shift'](),_0x35d1fe[_0x27f1a8]=_0x37cf5c['change'])),_0x35d1fe[_0x27f1a8]&&_0x14cf19&&(_0x35d1fe[_0x27f1a8]['end']=_0x2b0157,_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]=null);}function _0x55cbdf({start:_0x19e647,end:_0xabf3b7,tapeItem:_0x1fd54c,userId:_0x5988ba,type:_0x2dbf5f}){const _0xa86c32=_0x1fd54c['item'],_0x1e738e=_0x35edc3['schema']['isBlock'](_0xa86c32)&&!_0x35edc3['schema']['isLimit'](_0xa86c32),_0x294c7c=_0x19e647['nodeAfter']==_0xabf3b7['parent']&&_0xabf3b7['isAtStart'];if(_0x1e738e&&_0x294c7c)return;const _0x359681=_0x35edc3['createRange'](_0x19e647,_0xabf3b7),_0x2b371d=_0x593dc7['get'](_0x5988ba),_0x5736d7=new r({'author':_0x2b371d,'type':'isAdded'==_0x2dbf5f||'isAddSuggestion'==_0x2dbf5f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2dbf5f||'isRemoveSuggestion'==_0x2dbf5f},'createdAt':new Date(),'rootName':_0x54dfe6});_0x3a6efc['push'](_0x5736d7),_0x3d85a8['markers']['set']('revision:'+_0x5736d7['id'],_0x359681);}function _0x39507a(_0x393d9b,_0x4dc31a){const _0x4a0c3d=_0x393d9b['getAttributes'](),_0x252760=_0x4dc31a['getAttributes']();for(const _0x17cc35 of _0x4a0c3d){if(_0x17cc35[0x1]!==_0x4dc31a['getAttribute'](_0x17cc35[0x0]))return!0x1;_0x252760['next']();}return _0x252760['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x324a3e=>{const _0x17431e=_0x324a3e['markerName']['split'](':')[0x1],_0xa9ffef=this['_getChangeFromId'](_0x17431e);if(!_0xa9ffef)return null;const _0x27d437='add'==_0xa9ffef['type']?'insertion':'deletion',_0x3b0a5b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x27d437];return _0xa9ffef['data']['isSuggestion']&&_0x3b0a5b['push']('ck-suggestion-marker-'+_0x27d437+'-new'),this['activeChange']==_0xa9ffef&&_0x3b0a5b['push']('ck-suggestion-marker--active'),{'classes':_0x3b0a5b,'attributes':{'data-change-id':_0x17431e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x34f2fe=>{_0x34f2fe['on']('element:pre',(_0x45656e,_0x3e106f,_0xe3e2f2)=>{const _0x41d5e4=_0x3e106f['viewItem']['getChild'](0x0);if(!_0x41d5e4||!_0x41d5e4['is']('element','code'))return;if(!_0xe3e2f2['consumable']['consume'](_0x41d5e4,{'attributes':['vid_start','vid_end']}))return;const _0x50d6ca=_0x3e106f['modelRange']['start']['nodeAfter'];_0xe3e2f2['writer']['setAttribute']('vid_start',_0x41d5e4['getAttribute']('vid_start'),_0x50d6ca),_0xe3e2f2['writer']['setAttribute']('vid_end',_0x41d5e4['getAttribute']('vid_end'),_0x50d6ca);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1f384a=>{_0x1f384a['on']('element',(_0x59ddb3,_0xd093d3,_0x48d055)=>{if(!_0x48d055['consumable']['consume'](_0xd093d3['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xd093d3['modelRange']['isCollapsed'])return;const _0x3088f7=_0xd093d3['modelRange']['start']['nodeAfter'];_0x3088f7['hasAttribute']('vid_start')||_0x3088f7['hasAttribute']('vid')||(_0x48d055['writer']['setAttribute']('vid_start',_0xd093d3['viewItem']['getAttribute']('vid_start'),_0x3088f7),_0x48d055['writer']['setAttribute']('vid_end',_0xd093d3['viewItem']['getAttribute']('vid_end'),_0x3088f7));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4f654e=>_0x4f654e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4df813,[,_0xcab7f3])=>{['vid_start','vid_end','vid']['includes'](_0xcab7f3)&&(_0x4df813['return']=!0x0,_0x4df813['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x428c3e=>{_0x428c3e['on']('attribute:vid',(_0x115b71,_0x25192e,_0x8a0006)=>{if('\x20'!=_0x25192e['item']['data']||_0x25192e['item']['parent']['maxOffset']>0x1)return;if(!_0x8a0006['consumable']['consume'](_0x25192e['item'],_0x115b71['name']))return;const _0x4b04f7=_0x8a0006['writer'],_0x244234=_0x8a0006['mapper']['toViewRange'](_0x25192e['range']);_0x4b04f7['wrap'](_0x244234,_0x4b04f7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4d2fc1){const _0x31e73c=_0x4d2fc1['plugins']['get']('RevisionViewer');return(_0x29bbc7,_0xdc4817,_0x4c1852)=>{const _0x4ff587=_0xdc4817['markerName']['split'](':')[0x1],_0x269026=_0x31e73c['_getChangeFromId'](_0x4ff587);if(!_0x269026)return null;const _0x3b3eed='add'==_0x269026['type']?'split':'merge';if(!_0x4c1852['consumable']['test'](_0xdc4817['markerRange'],_0x29bbc7['name']))return;const _0x5df35f=_0xdc4817['markerRange']['getWalker'](),_0x25949f=_0xdc4817['markerRange']['start'],_0x1bcf7e=_0x4d2fc1['model']['schema'];let _0x205539=null,_0x1bc4b2=null,_0x16a27b=!0x1,_0x140be4=!0x1;for(const _0x3b0260 of _0x5df35f){const _0x59efcb=_0x3b0260['item'];_0x16a27b=_0x16a27b||_0x1bcf7e['isContent'](_0x59efcb);const _0xc8126b=_0x4c1852['mapper']['toViewElement'](_0x59efcb);if(_0xc8126b&&_0xc8126b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3b0260['type']&&(_0x1bcf7e['isBlock'](_0x59efcb)&&!_0x1bcf7e['isLimit'](_0x59efcb)&&(_0x59efcb['nextSibling']||_0x25949f['isAtEnd']?_0x205539&&_0x205539['parent']==_0x59efcb||(_0x205539=_0x59efcb,_0x235196(_0x3b0260['previousPosition']),_0x140be4=!0x0):_0x1bc4b2=_0x1bc4b2||_0x3b0260['previousPosition']));}function _0x235196(_0x2d8fcd){const _0x578b0c=_0x4c1852['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3b3eed}),_0x1b6fe2=_0x4c1852['mapper']['toViewPosition'](_0x2d8fcd);_0x269026['data']['isSuggestion']&&_0x4c1852['writer']['addClass']('ck-suggestion-marker-'+_0x3b3eed+'-new',_0x578b0c),_0x31e73c['activeChange']==_0x269026&&_0x4c1852['writer']['addClass']('ck-suggestion-marker--active',_0x578b0c),_0x4c1852['writer']['insert'](_0x1b6fe2,_0x578b0c),_0x4c1852['mapper']['bindElementToMarker'](_0x578b0c,_0xdc4817['markerName']);}_0x16a27b||_0x140be4||!_0x1bc4b2||_0x235196(_0x1bc4b2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3802c2,_0x4b85df,_0x5497ff)=>{const _0x370641=_0x5497ff['mapper']['markerNameToElements'](_0x4b85df['markerName']);if(_0x370641){for(const _0x44d703 of _0x370641)(_0x44d703['hasClass']('ck-suggestion-marker-split')||_0x44d703['hasClass']('ck-suggestion-marker-merge'))&&(_0x5497ff['mapper']['unbindElementFromMarkerName'](_0x44d703,_0x4b85df['markerName']),_0x5497ff['writer']['remove'](_0x44d703));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5e09c8,_0x454c68,_0x55080e)=>{const _0x10c969=_0x454c68['markerName']['split'](':')[0x1],_0x57ef14=this['_getChangeFromId'](_0x10c969);if(!_0x57ef14)return null;const _0x17940='add'==_0x57ef14['type']?'split':'merge';if(_0x55080e['consumable']['test'](_0x454c68['markerRange'],_0x5e09c8['name']))for(const _0x3120a0 of _0x454c68['markerRange']['getItems']()){if(!_0x3120a0['is']('element','softBreak'))continue;const _0x38e38a=_0x55080e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x17940}),_0x39758b=_0x55080e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3120a0));_0x57ef14['data']['isSuggestion']&&_0x55080e['writer']['addClass']('ck-suggestion-marker-'+_0x17940+'-new',_0x38e38a),this['activeChange']==_0x57ef14&&_0x55080e['writer']['addClass']('ck-suggestion-marker--active',_0x38e38a),_0x55080e['writer']['insert'](_0x39758b,_0x38e38a),_0x55080e['mapper']['bindElementToMarker'](_0x38e38a,_0x454c68['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2a01f8=>{for(const _0x43fca9 of this['editor']['model']['document']['getRootNames']()){const _0x5c6c02=this['editor']['model']['document']['getRoot'](_0x43fca9),_0x412181=this['editor']['editing']['view']['document']['getRoot'](_0x43fca9);if(_0x412181){const _0x58e475=_0x5c6c02['getAttribute']('revisionHistoryAttachChange');if(_0x2a01f8['removeAttribute']('data-change-id',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root-add',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root-remove',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root--active',_0x412181),_0x58e475){const _0x534935=this['_getChangeFromId'](_0x58e475);if(!_0x534935)return null;_0x2a01f8['setAttribute']('data-change-id',_0x58e475,_0x412181),_0x2a01f8['addClass']('ck-revision-history-root-'+_0x534935['type'],_0x412181),this['activeChange']==_0x534935&&_0x2a01f8['addClass']('ck-revision-history-root--active',_0x412181);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1eabc9=>'revision-comment:'+_0x1eabc9,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x202109=>'revision-suggestion:'+_0x202109,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3ee4e8=>({'name':'suggestion:'+_0x3ee4e8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2863ff=>{const _0x168a6c=_0x2863ff['markerName']['split'](':')[0x1];return'insertion'!=_0x168a6c&&'deletion'!=_0x168a6c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x168a6c]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x450cfc,_0x589d35,_0x4f78a1)=>{const _0x3d2d9b=_0x4f78a1['mapper']['markerNameToElements'](_0x589d35['markerName']);if(_0x3d2d9b){for(const _0x49a568 of _0x3d2d9b)_0x49a568['is']('uiElement')&&(_0x4f78a1['mapper']['unbindElementFromMarkerName'](_0x49a568,_0x589d35['markerName']),_0x4f78a1['writer']['remove'](_0x49a568));}},{'priority':'high'});}['_getChangeFromId'](_0x31efaa){return this['_changeIdToChange']['get'](_0x31efaa);}['_getViewForChange'](_0x57b2c3){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x57b2c3),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1f6fd0,_0x22ca9c,_0x8427fd,_0x115da7)=>{_0x115da7&&this['_balloon']['remove'](_0x115da7),_0x8427fd&&(this['_balloon']['add']({'view':_0x8427fd,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1c9cc5=this['editor']['editing'],_0x3deabb=this['_getChangeFromId'](_0x8427fd['changeId']);let _0x2033f2;if(_0x3deabb['data']['isOnRoot']){const _0x48d4f0=_0x1c9cc5['view']['getDomRoot'](_0x3deabb['rootName']);_0x2033f2=Array['from'](_0x48d4f0['getClientRects']());}else{const _0x1d6a41=this['editor']['model']['markers']['get']('revision:'+_0x8427fd['changeId']);_0x2033f2=Array['from'](_0x1c9cc5['mapper']['markerNameToElements'](_0x1d6a41['name']))['map'](_0x475256=>_0x1c9cc5['view']['domConverter']['mapViewToDom'](_0x475256))['map'](_0x25f39d=>Array['from'](_0x25f39d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2033f2[0x0];return _0x2033f2['find'](_0x3ffde5=>_0x3ffde5['top']-0x3<=this['_activeViewTarget']['y']&&_0x3ffde5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3ffde5['left']-0x3<=this['_activeViewTarget']['x']&&_0x3ffde5['right']+0x3>=this['_activeViewTarget']['x'])||_0x2033f2[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x207216,_0x79df0f,_0x42ba77,_0x97aed0)=>{this['activeView']=_0x42ba77?this['_getViewForChange'](_0x42ba77):null,this['editor']['model']['change'](()=>{const _0x1a4d96=this['editor']['editing'];_0x97aed0&&(_0x97aed0['data']['isOnRoot']?_0x1a4d96['view']['change'](_0x43e796=>{_0x43e796['removeClass']('ck-revision-history-root--active',_0x1a4d96['view']['document']['getRoot'](_0x97aed0['rootName']));}):_0x1a4d96['reconvertMarker']('revision:'+_0x97aed0['id'])),_0x42ba77&&(_0x42ba77['data']['isOnRoot']?_0x1a4d96['view']['change'](_0x14207d=>{_0x14207d['addClass']('ck-revision-history-root--active',_0x1a4d96['view']['document']['getRoot'](_0x42ba77['rootName']));}):_0x1a4d96['reconvertMarker']('revision:'+_0x42ba77['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x33422f,_0xbbbe8a)=>{if(this['activeChange'])return;const _0x2e5a55=this['_findChangeIdFromDomTarget'](_0xbbbe8a['target']),_0x1121b3=this['_changeIdToChange']['get'](_0x2e5a55);_0x1121b3?(this['_activeViewTarget']={'x':_0xbbbe8a['domEvent']['x'],'y':_0xbbbe8a['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1121b3)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x292aa9,_0x238f32)=>{const _0x4a4e5f=this['_findChangeIdFromDomTarget'](_0x238f32['target']),_0x2b9e2b=this['_changeIdToChange']['get'](_0x4a4e5f);_0x2b9e2b?(this['_activeViewTarget']={'x':_0x238f32['domEvent']['x'],'y':_0x238f32['domEvent']['y']},_0x2b9e2b===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2b9e2b):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x39a413){do{const _0x3e2121=_0x39a413['getAttribute']('data-change-id');if(_0x3e2121)return _0x3e2121;_0x39a413=_0x39a413['parent'];}while(_0x39a413);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3bce77=>{for(const _0xda11d of this['editor']['model']['markers'])_0x3bce77['removeMarker'](_0xda11d);});}}function et(_0x376f98,_0x30e2c1){return(_0x2a93eb,_0xf2d6c5,_0x5715f7)=>{if(!_0x5715f7['consumable']['test'](_0xf2d6c5['markerRange'],_0x2a93eb['name']))return;const _0x3cb27c=_0xf2d6c5['markerRange']['getWalker'](),_0x3294db=_0xf2d6c5['markerRange']['start'],_0x81d24f=_0x376f98['model']['schema'];let _0x3e1b4d=null,_0x6151e4=null,_0x4a1af4=!0x1,_0x326860=!0x1;for(const _0x40f928 of _0x3cb27c){const _0x266a12=_0x40f928['item'];_0x4a1af4=_0x4a1af4||_0x81d24f['isContent'](_0x266a12);const _0x15e363=_0x5715f7['mapper']['toViewElement'](_0x266a12);if(_0x15e363&&_0x15e363['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x40f928['type']&&(_0x81d24f['isBlock'](_0x266a12)&&!_0x81d24f['isLimit'](_0x266a12)&&(_0x266a12['nextSibling']||_0x3294db['isAtEnd']?_0x3e1b4d&&_0x3e1b4d['parent']==_0x266a12||(_0x3e1b4d=_0x266a12,_0x58d1a2(_0x40f928['previousPosition']),_0x326860=!0x0):_0x6151e4=_0x6151e4||_0x40f928['previousPosition']));}function _0x58d1a2(_0x31f09f){const _0x547f2c=_0x5715f7['mapper']['toViewPosition'](_0x31f09f),_0x3618cd=_0x5715f7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30e2c1});_0x5715f7['writer']['insert'](_0x547f2c,_0x3618cd),_0x5715f7['mapper']['bindElementToMarker'](_0x3618cd,_0xf2d6c5['markerName']);}_0x4a1af4||_0x326860||!_0x6151e4||_0x58d1a2(_0x6151e4);};}class bt extends _0x41a8f1{constructor(_0xc21c33){super(_0xc21c33);const _0x4ecbbb=_0xc21c33['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4ecbbb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4ecbbb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x58fccb=this['editor'],_0x270268=_0x58fccb['plugins']['get'](d),_0x355e75=_0x270268['isReady']?_0x270268['diff']['newRevisionId']:null;_0x58fccb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x355e75);}['refresh'](){const {isReady:_0x5781f9,isEnabled:_0x7a6802}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5781f9&&_0x7a6802;}}class yt extends _0x41a8f1{['_step'];constructor(_0x1f4ce2,{direction:_0x496eda}){super(_0x1f4ce2);const _0x18f9d9=_0x1f4ce2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x496eda?0x1:-0x1,this['listenTo'](_0x18f9d9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x18f9d9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x18f9d9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5adabe=this['editor'],_0x7d325f=_0x5adabe['plugins']['get'](d),{isNavigationMode:_0x3dfa3f,currentChangeNumber:_0x7ecd49}=_0x7d325f;let _0x47b28a;if(_0x7d325f['activeChange']=_0x3dfa3f?_0x7d325f['diff']['changes']['get'](_0x7ecd49+this['_step']):_0x7d325f['diff']['changes']['first'],_0x7d325f['activeChange']['data']['isOnRoot'])_0x47b28a=_0x5adabe['editing']['view']['getDomRoot'](_0x7d325f['activeChange']['rootName']);else{const _0x48d8b0=_0x5adabe['model']['markers']['get']('revision:'+_0x7d325f['activeChange']['id']);_0x47b28a=_0x3a1967(_0x5adabe['editing'],_0x48d8b0);}_0x5b4f0e({'target':_0x47b28a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c9754,currentChangeNumber:_0x541b40,numberOfChanges:_0x32ff00,isReady:_0x213461,isEnabled:_0x5b7810}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5b7810&&_0x213461&&_0x32ff00)&&(!_0x3c9754||(0x1===this['_step']?_0x541b40<_0x32ff00-0x1:_0x541b40>0x0));}}class _i extends _0x26e5c9{constructor(_0x4f5086){super(_0x4f5086);const _0x103cd4=this['bindTemplate'],_0x1023d9=new _0x51dfa6(_0x4f5086),_0x5edf05=new _0x51dfa6(_0x4f5086);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x37575f,_0x5e5014)=>_0x37575f&&_0x5e5014>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xab8cf3,_0x519697,_0x5885b1,_0x34b680)=>{if(!_0xab8cf3)return y(_0x4f5086,'Loading...');if(!_0x5885b1)return y(_0x4f5086,'No\x20changes');const _0x5ab87a=y(_0x4f5086,'NUMBER_OF_CHANGES',_0x5885b1);return _0x34b680?y(_0x4f5086,'X_OF_Y_CHANGES',[_0x519697+0x1,_0x5885b1]):_0x5ab87a;}),_0x1023d9['set']({'label':y(_0x4f5086,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x5edf05['set']({'label':y(_0x4f5086,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x1023d9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5edf05['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1023d9['on']('execute',()=>this['fire']('execute','backward')),_0x5edf05['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x103cd4['if']('_isStatusLabelVisible','ck-hidden',_0x47bc2d=>!_0x47bc2d)]},'children':[{'text':_0x103cd4['to']('isNavigationMode',_0x25ec33=>_0x25ec33?y(_0x4f5086,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4f5086,'Total')+':\x20')}]},{'text':_0x103cd4['to']('_statusText')}]},new _0x5d5f75(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1023d9,_0x5edf05]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x26bd26{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x429a87=this['editor']['editing']['view'];_0x429a87['change'](_0x5617c1=>{for(const _0x1c687d of _0x429a87['document']['roots'])_0x5617c1['addClass'](ce,_0x1c687d);});}['hide'](){const _0x522262=this['editor']['editing']['view'];_0x522262['change'](_0x32c506=>{for(const _0xdb5f41 of _0x522262['document']['roots'])_0x32c506['removeClass'](ce,_0xdb5f41);});}}class R extends _0x26bd26{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x52d691=this['editor'],_0x375fbb=_0x52d691['plugins']['get'](d),_0x44f055=_0x52d691['plugins']['get'](de);_0x52d691['ui']['componentFactory']['add']('exitToEditing',_0xfc8df3=>{const _0xb5d241=new _0x51dfa6(_0xfc8df3);return _0xb5d241['set']({'label':y(_0xfc8df3,'Back\x20to\x20editing'),'icon':_0x3886ba['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xb5d241,'execute',()=>{_0x52d691['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xb5d241;}),_0x52d691['ui']['componentFactory']['add']('restoreRevision',_0x207f81=>{const _0x221a8f=new _0x51dfa6(_0x207f81);return _0x221a8f['set']({'label':y(_0x207f81,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x221a8f['bind']('isEnabled')['to'](_0x52d691['commands']['get']('restoreRevision')),this['listenTo'](_0x221a8f,'execute',()=>_0x52d691['execute']('restoreRevision')),_0x221a8f;}),_0x52d691['ui']['componentFactory']['add']('changesNavigation',_0x3859a9=>{const _0x31fc94=new _i(_0x3859a9),_0x549a9d=_0x52d691['commands']['get']('showPreviousChange'),_0x2697fa=_0x52d691['commands']['get']('showNextChange');return _0x31fc94['bind']('isBackwardNavigationEnabled')['to'](_0x549a9d,'isEnabled'),_0x31fc94['bind']('isForwardNavigationEnabled')['to'](_0x2697fa,'isEnabled'),_0x31fc94['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x375fbb),this['listenTo'](_0x31fc94,'execute',(_0x36b9d5,_0x1876a1)=>{_0x52d691['execute']('forward'===_0x1876a1?'showNextChange':'showPreviousChange');}),_0x31fc94;}),_0x44f055['show'](),_0x375fbb['on']('change:isReady',(_0x245536,_0x1a050b,_0x3e182d)=>{_0x3e182d?_0x44f055['hide']():_0x44f055['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x8722ac,_0x893813){super(_0x8722ac,_0x893813);const _0x6a02b8=this['bindTemplate'];this['set']({'label':y(_0x8722ac,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x8722ac,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x6a02b8['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x5826af=this['fieldView']['element'];this['_tooltipString']=_0x5826af['scrollWidth']>_0x5826af['clientWidth']&&_0x5826af['value']||'';}}class ti extends _0x26e5c9{constructor(_0xc0b90c,_0x2d715b,_0x5d45e4){super(_0xc0b90c);const _0x567e22=new _0x5b75cd();_0x567e22['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x2360d4=['ck','ck-revision-history-sidebar__revision-author'];_0x5d45e4&&_0x2360d4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3b8649=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xc0b90c,_0x5d45e4?'Revision\x20creator':'Revision\x20author')},'children':[_0x567e22,_0x2d715b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2360d4},'children':_0x3b8649});}}function ni(_0x496ede,_0x36d639){const _0x33c301=_0x496ede['bindTemplate'],_0x4bdadd=_0x496ede['locale'],_0x1b7319=_0x369452(_0x4bdadd);_0x1b7319['panelPosition']='sw';const _0x113e53=function(_0x1c8a64,_0x4a302a){const _0x3793d6=function(_0x61c617,_0x505d80){const _0x3e0dbb=_0x61c617['locale'],_0x208c8b={'Compare\x20against\x20selected':y(_0x3e0dbb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3e0dbb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3e0dbb,'Restore\x20this\x20revision')};return _0x505d80['map'](_0x405be0=>{const _0x4bd86f=_0x208c8b[_0x405be0['name']];return _0x4bd86f&&_0x4bd86f!==_0x405be0['name']&&(_0x405be0['name']=_0x4bd86f),_0x405be0;});}(_0x1c8a64,_0x4a302a),_0x1fc3f3=new _0xb29b20();for(const _0x273899 of _0x3793d6){const _0x217886={'type':'button','model':new to({'label':_0x273899['name'],'class':_0x273899['class'],'withText':!0x0,'role':'menuitem','_action':_0x273899['action']})};_0x217886['model']['bind']('isEnabled')['to'](_0x1c8a64,'isActionsDropdownOpen',_0x65fe9b=>'function'!=typeof _0x273899['isEnabled']||(!_0x65fe9b||_0x273899['isEnabled'](_0x1c8a64))),_0x1fc3f3['add'](_0x217886);}return _0x1fc3f3;}(_0x496ede,_0x36d639);return _0x496ede['bind']('isActionsDropdownOpen')['to'](_0x1b7319,'isOpen'),_0x1b7319['buttonView']['set']({'label':y(_0x4bdadd,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3886ba['threeVerticalDots']}),_0x1b7319['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x33c301['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x33c301['to'](_0x4d809b=>_0x4d809b['stopPropagation']())}}),_0x1b7319['on']('execute',_0x32da5d=>{_0x496ede['isReady']&&'function'==typeof _0x32da5d['source']['_action']&&_0x32da5d['source']['_action'](_0x496ede);}),_0x12f4ef(_0x1b7319,_0x113e53,{'role':'menu'}),_0x1b7319['listenTo'](_0x496ede,'change:isActionsDropdownOpen',(_0x40b05a,_0x5a6c57,_0x50d252)=>{if(_0x50d252)for(const _0x1dc7f2 of _0x1b7319['listView']['items']){const _0x154eae=_0x1dc7f2['children']['first'],_0x5d48fa=_0x36d639['find'](_0x4f87eb=>_0x4f87eb['action']===_0x154eae['_action'])['isVisible'];_0x1dc7f2['isVisible']=void 0x0===_0x5d48fa||_0x5d48fa(_0x496ede);}}),_0x1b7319;}class ai extends _0x545dd0(_0x26e5c9){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x42106a,_0x3742ea,_0x18adaf,_0x49005f){super(_0x42106a);const _0x381f70=this['bindTemplate'],_0x64ef2=function(_0x4966d6,_0x21263f){const _0x19f8ec=Array['from'](_0x21263f['authors'])['filter'](_0xad2d6b=>_0xad2d6b!=_0x21263f['creator']);return _0x21263f['creator']&&_0x19f8ec['unshift'](_0x21263f['creator']),_0x19f8ec['map'](_0x59e9d5=>new ti(_0x4966d6,_0x59e9d5,_0x59e9d5==_0x21263f['creator']));}(_0x42106a,_0x3742ea);this['id']=_0x3742ea['id'],this['_revision']=_0x3742ea,this['_requireRevisionName']=_0x49005f,this['bind']('name','createdAt')['to'](_0x3742ea),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3b4837=>{return _0x3bc986=_0x42106a['uiLanguage'],(_0xa4a9c4=_0x3b4837)['toLocaleDateString'](_0x3bc986,{'month':'long','day':'numeric'})+',\x20'+_0xa4a9c4['toLocaleTimeString'](_0x3bc986,{'hour':'numeric','minute':'numeric'});var _0x3bc986,_0xa4a9c4;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x42106a,_0x9e4e7d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2eb495=>_0x2eb495||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fb662,_0x97d0d0)=>_0x1fb662&&_0x97d0d0),this['revisionActionsView']=_0x18adaf&&_0x18adaf['length']?ni(this,_0x18adaf):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x381f70['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x381f70['if']('isEnabled','ck-disabled',_0x3b9f98=>!_0x3b9f98),_0x381f70['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x381f70['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x381f70['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x381f70['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x64ef2}]},this['revisionActionsView']],'on':{'click':_0x381f70['to'](_0x46a25b=>{_0x46a25b['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x12af63=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x12af63,'change',()=>{this['_requireRevisionName']&&!_0x12af63['value']||this['fire']('setName',{'id':this['id'],'name':_0x12af63['value']}),_0x12af63['value']||(_0x12af63['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x32d626,_0x562d82){const _0x10201f=_0x154ff2['fromJSDate'](_0x32d626)['setLocale'](_0x562d82),_0x203934=_0x154ff2['local'](),_0x526b22=_0x203934['minus']({'days':0x1})['startOf']('day');let _0x42d002,_0x47ec1c;return _0x10201f['hasSame'](_0x203934,'day')?(_0x42d002=_0x10201f['startOf']('day')['toJSDate'](),_0x47ec1c=_0x10201f['toRelativeCalendar']()):_0x10201f['hasSame'](_0x526b22,'day')?(_0x42d002=_0x526b22['toJSDate'](),_0x47ec1c=_0x10201f['toRelativeCalendar']()):_0x10201f['hasSame'](_0x203934,'week')?(_0x42d002=_0x10201f['startOf']('week')['toJSDate'](),_0x47ec1c=_0x10201f['weekdayLong']||''):_0x10201f['hasSame'](_0x203934,'year')?(_0x42d002=_0x10201f['startOf']('month')['toJSDate'](),_0x47ec1c=_0x10201f['monthLong']||''):(_0x42d002=_0x10201f['startOf']('year')['toJSDate'](),_0x47ec1c=String(_0x10201f['year'])),{'startDate':_0x42d002,'localizedPeriodName':_0x47ec1c};}class mi extends _0x26e5c9{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1c3dae,_0x3bc556,_0x52aa26,_0x5377ab){super(_0x1c3dae);const _0x4f5586=di(_0x3bc556,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3bc556,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52aa26,this['_requireRevisionName']=_0x5377ab,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x4f5586}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x239a6f){const _0x23df5b=new ai(this['locale'],_0x239a6f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x23df5b);}['removeRevision'](_0x4f84a8){const _0x4363f7=this['revisionViews']['find'](_0x24fd69=>_0x24fd69['id']===_0x4f84a8['id']);this['revisionViews']['remove'](_0x4363f7);}}class as extends _0x26e5c9{constructor(_0x1878b4){super(_0x1878b4);const _0x5afb37=new _0x5b75cd();_0x5afb37['content']=_0x3886ba['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5afb37,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1878b4,'Revision\x20history')]}]});}}class ci extends _0x26e5c9{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x26c363,_0x2d3337,_0x1560ee,_0x2ba282){super(_0x26c363);const _0x440f69=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2d3337,this['_revisionActions']=_0x1560ee,this['_requireRevisionName']=_0x2ba282,this['on']('select',(_0xe1879b,_0x17c6a1)=>{this['fire']('revisionSelected',_0x17c6a1);}),this['on']('setName',(_0x2573a5,_0x4cf92b)=>{this['fire']('revisionSetName',_0x4cf92b);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x26c363),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x440f69['if']('isEnabled','ck-disabled',_0xc20b11=>!_0xc20b11)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x20f466 of this['_revisions'])this['_addRevision'](_0x20f466);this['_revisions']['on']('add',(_0x523d20,_0x1c6324)=>{this['_addRevision'](_0x1c6324);}),this['_revisions']['on']('remove',(_0x1d16e8,_0x4cfafa)=>{this['_removeRevision'](_0x4cfafa);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5c87f3=>_0x5c87f3['revisionViews']['map'](_0x14f11b=>_0x14f11b))['flat']();}['selectRevision'](_0x219827){for(const _0x4f4270 of this['revisionViews'])_0x219827&&_0x219827['id']===_0x4f4270['id']?_0x4f4270['select']():_0x4f4270['deselect']();}['highlightRevisions'](_0xbb3f52){for(const _0x1e9758 of this['revisionViews'])_0xbb3f52['some'](({id:_0x46f557})=>_0x46f557===_0x1e9758['id'])?_0x1e9758['highlight']():_0x1e9758['unhighlight']();}['_addRevision'](_0x2e33f6){const _0x1d3593=di(_0x2e33f6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2e2c42=this['timePeriodViews']['get'](0x0);_0x2e2c42&&_0x2e2c42['startDate']['getTime']()===_0x1d3593['getTime']()||(_0x2e2c42=new mi(this['locale'],_0x1d3593,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2e2c42)),_0x2e2c42['addRevision'](_0x2e33f6);}['_removeRevision'](_0x5c70d5){const _0x4fde8e=di(_0x5c70d5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4fde8e)['removeRevision'](_0x5c70d5);}['_getTimePeriodViewByStartDate'](_0x1699dc){return this['timePeriodViews']['find'](_0x5ac141=>_0x5ac141['startDate']['getTime']()===_0x1699dc['getTime']());}}class w extends _0x26bd26{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1adbad){super(_0x1adbad),this['_revisionViewer']=_0x1adbad['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x455b43=this['_revisionsRepository']['_revisions'],_0x2a5a14=this['_createRevisionActions'](),_0x51ebd8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x455b43,_0x2a5a14,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x34eb10,_0x4a9655)=>{_0x4a9655['revisionViews']['on']('add',(_0x4c3793,_0x481fdc)=>{_0x481fdc['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x51ebd8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x14f57e=this['_revisionsRepository']['getRevision'](0x0);if(_0x14f57e){const _0x4f5129=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x14f57e['id']);this['_revisionViewer']['compare'](_0x14f57e,_0x4f5129);}}['_handleRevisionSelected'](_0x2cac8d,_0x4edbe8){const _0x4e5487=this['_revisionsRepository']['getRevision'](_0x4edbe8['id']),_0x512e94=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e5487['id']);this['_revisionViewer']['compare'](_0x4e5487,_0x512e94);}['_handleRevisionSetName'](_0x34b2e1,_0x4c845f){this['_revisionsRepository']['getRevision'](_0x4c845f['id'])['setName'](_0x4c845f['name']);}['_handleDiffChange'](_0xda8a38,_0x14cfa9,_0x4bb5c3){const _0x23b13f=this['_revisionsRepository']['getRevisionsInDiff'](_0x4bb5c3);_0x23b13f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x23b13f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x23b13f[0x0]));}['_createRevisionActions'](){const _0x46e3f5=this['editor'],_0x4a3a06=w['availableRevisionActions'],_0x584436=_0x46e3f5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x584436['length'])return _0x584436['map'](_0x33f244=>{const _0x57b615='string'==typeof _0x33f244?Object['assign']({},_0x4a3a06[_0x33f244]):_0x33f244;return _0x57b615['action']=_0x57b615['action']['bind'](this,_0x46e3f5),_0x57b615['isVisible']&&(_0x57b615['isVisible']=_0x57b615['isVisible']['bind'](this,_0x46e3f5)),_0x57b615;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3f4750},_0x39686d)=>{const _0x5b3f90=_0x3f4750['get'](d),_0x12a389=_0x5b3f90['repository'];let _0x415bbc=_0x5b3f90['diff']['newRevisionId'],_0x38e119=_0x39686d['id'];_0x12a389['getIndex'](_0x415bbc)>_0x12a389['getIndex'](_0x38e119)&&([_0x415bbc,_0x38e119]=[_0x38e119,_0x415bbc]),_0x5b3f90['compare'](_0x415bbc,_0x38e119);},'isVisible':({plugins:_0x536d00},_0x2ff35f)=>{const _0x403b14=_0x536d00['get'](d);return!(_0x403b14['repository']['getRevisionsInDiff'](_0x403b14['diff'])['length']>0x2)&&!_0x2ff35f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x206850,{id:_0x2ace65})=>{_0x206850['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ace65);},'isVisible':({plugins:_0x3cf7e1},_0x2e98cc)=>!!_0x3cf7e1['get'](d)['repository']['getLaterVisibleRevision'](_0x2e98cc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2e4946},{id:_0xc6f663,revisionNameView:_0x42b4d7})=>{const _0x4a6dd3=_0x2e4946['get'](d),_0x2ff0cc=_0x4a6dd3['repository']['getEarlierVisibleRevision'](_0xc6f663);_0x4a6dd3['compare'](_0xc6f663,_0x2ff0cc),_0x42b4d7['focus'](),_0x42b4d7['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3a3874,_0x14569d){super(_0x3a3874),this['_view']=_0x14569d,this['_toolbarConfig']=ct(_0x3a3874['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x407eeb){const _0x1ef2d9=this['editor'],_0x363256=this['view'],_0x3bc691=_0x1ef2d9['editing']['view'],_0x233e83=_0x363256['editable'],_0x360f70=_0x3bc691['document']['getRoot']();_0x233e83['name']=_0x360f70['rootName'],_0x363256['render']();const _0x545e62=_0x233e83['element'];this['setEditableElement'](_0x233e83['name'],_0x545e62),_0x363256['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3bc691['attachDomRoot'](_0x545e62),this['_elementReplacer']['replace'](_0x407eeb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4b43d6=this['view'],_0x10803f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x10803f['detachDomRoot'](_0x4b43d6['editable']['name']),_0x4b43d6['destroy']();}['_initToolbar'](){const _0x59c861=this['view'];_0x59c861['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x59c861['stickyPanel']['limiterElement']=_0x59c861['element'],_0x59c861['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33af6b})=>_0x33af6b),_0x59c861['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x59c861['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2913ee,_0x1cba13,_0x3c8c61={}){super(_0x2913ee),this['stickyPanel']=new lt(_0x2913ee),this['toolbar']=new pt(_0x2913ee,{'shouldGroupWhenFull':_0x3c8c61['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2913ee,_0x1cba13);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0xa0c2f5,_0x4e8620){super(_0x4e8620),this['sourceElement']=_0xa0c2f5,this['model']['document']['createRoot']();const _0x14b639=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x14b639);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x554f45,_0x220666){const _0x9784a1=new this(_0x554f45,_0x220666);return await _0x9784a1['initPlugins'](),await _0x9784a1['ui']['init'](_0x554f45),await _0x9784a1['data']['init'](_0x9784a1['config']['get']('initialData')||''),_0x9784a1['fire']('ready'),_0x9784a1;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x26bd26{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3dbc4a){super(_0x3dbc4a),this['result']='end';}}class H extends _0x26bd26{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x19c720){if(super(_0x19c720),!this['editor']['config']['get']('revisionHistory'))throw new _0x5c8d32('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xecf9ce=>this['_showRevisionViewer']({..._0xecf9ce,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3d57a1=>this['_closeRevisionViewer'](_0x3d57a1)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x486f62=>this['_restoreRevision'](_0x486f62)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5d18aa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d18aa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x421391){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x421391);}['getRevision'](_0x27ffa0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x27ffa0);}['getRevisions'](_0x57e49a={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x57e49a);}['_getRevisionViewerEditorConfig'](){const _0x59c815=this['editor'],_0x767bb0=_0x5ac833(_0x59c815,g),_0x45784b=_0x59c815['plugins']['get']('RevisionTracker'),_0x2c0590=_0x59c815['plugins']['get']('Users')['users'];return _0x767bb0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x767bb0['lazyRoots'],(_0x767bb0['plugins']['push'](k,d,R,class extends _0x26bd26{static get['requires'](){return[d,'Users'];}['init'](){const _0x9b4a2b=this['editor']['plugins']['get']('Users');for(const _0x38ec6c of _0x2c0590)_0x38ec6c['isAnonymous']||_0x9b4a2b['getUser'](_0x38ec6c['id'])||_0x9b4a2b['addUser'](_0x38ec6c);const _0x2ea6c2=_0x45784b['repository']['getRevisions']();let _0x4e633f=null;const _0x262e9b=this['editor']['plugins']['get']('RevisionViewer');_0x262e9b['adapter']=_0x45784b['adapter'],_0x262e9b['bind']('isEnabled')['to'](_0x45784b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x59c815,'isReadOnly',_0x471974=>!_0x471974);for(const _0x342936 of _0x2ea6c2){const _0x280af4=null===_0x342936['creator'];if(_0x280af4&&_0x342936['toVersion']===_0x342936['fromVersion'])continue;const _0x211304=_0x342936['toJSON']();_0x262e9b['addRevisionData'](_0x211304,(_0x31a891,_0x25a68a,_0x4ff6f2)=>{if(_0x280af4){if(_0x4e633f)_0x4e633f['_update'](_0x31a891,_0x25a68a);else{if(!_0x25a68a){const _0x12d9c2=_0x4ff6f2['toJSON']();_0x12d9c2['id']=_0x535ce0(),_0x45784b['saveRevision'](_0x12d9c2,_0x4ff6f2['toVersion'])['then'](_0x5056d5=>{_0x4e633f=_0x5056d5;});}}}else _0x342936['_update'](_0x31a891,_0x25a68a);});}}},w),_0x767bb0);}['_enhanceShowRevisionViewerCallback'](){const _0x1e4d35=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2ecf7e=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x436a9d=this['editor']['plugins']['get']('Autosave');await _0x436a9d['save']();}else await _0x2ecf7e['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x27b4f6=this['_getRevisionViewerEditorConfig']();return _0x1e4d35(_0x27b4f6)['then'](_0xc91af1=>{return(this['_viewerEditor']=_0xc91af1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xc91af1;})['catch'](_0x3cb1f6=>(console['error'](_0x3cb1f6),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x588d59=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x588d59(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5a2d16=this['editor']['plugins']['get']('Annotations');_0x5a2d16['refreshVisibility'](),_0x5a2d16['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54684e){const _0x49926b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x156d42=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xe276a7=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xe276a7,_0x54684e)['then'](_0x198615=>(_0x156d42['style']['display']='block',_0x49926b['style']['display']='none',_0x198615));}['_closeRevisionViewer'](_0x55d840){const _0x394d40=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x394d40['style']['display']='',_0x55d840['destroy']();}async['_restoreRevision'](_0x4c4620){const _0x1dbb64=this['editor'],_0x3fa54c=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3e35de=_0x1dbb64['plugins']['get']('RevisionTracker'),_0x249ceb=_0x3fa54c['repository']['getRevision'](_0x4c4620);let _0x484c55,_0x511411,_0x321c04;try{_0x484c55=await _0x3fa54c['getRevisionData'](_0x249ceb),_0x511411=await _0x3fa54c['getRevisionRootsAttributes'](_0x249ceb);}catch(_0x2299a7){return void console['error'](_0x2299a7);}_0x1dbb64['model']['change'](_0x2440ef=>{for(const _0x560c08 of Array['from'](_0x1dbb64['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2440ef['removeMarker'](_0x560c08);}),_0x3fa54c['isReady']=!0x1,_0x1dbb64['model']['enqueueChange'](_0x8fa0de=>{_0x8fa0de['setSelection'](null),_0x8fa0de['removeSelectionAttribute'](_0x1dbb64['model']['document']['selection']['getAttributeKeys']());const _0x35b3fa=Object['keys'](_0x484c55);for(const _0x532c03 of _0x1dbb64['model']['document']['roots'])'$graveyard'!=_0x532c03['rootName']&&_0x532c03['isAttached']()&&!_0x35b3fa['includes'](_0x532c03['rootName'])&&_0x8fa0de['detachRoot'](_0x532c03);for(const _0x313224 of _0x35b3fa){let _0x340357=_0x1dbb64['model']['document']['getRoot'](_0x313224);_0x340357&&_0x340357['isAttached']()||(_0x340357=_0x8fa0de['addRoot'](_0x313224));const _0x543665=_0x511411[_0x313224],_0x29991b=Object['keys'](_0x543665),_0x59365f=_0x484c55[_0x313224];for(const _0x2a8578 of _0x340357['getAttributeKeys']())_0x29991b['includes'](_0x2a8578)||_0x8fa0de['removeAttribute'](_0x2a8578,_0x340357);for(const _0x59c006 of _0x29991b)_0x8fa0de['setAttribute'](_0x59c006,_0x511411[_0x313224][_0x59c006],_0x340357);_0x8fa0de['remove'](_0x8fa0de['createRangeIn'](_0x340357)),_0x8fa0de['insert'](_0x1dbb64['data']['parse'](_0x59365f,_0x340357),_0x340357,0x0);}});const _0x30de8d=y(_0x1dbb64['locale'],'Restored');if(_0x249ceb['name'])_0x321c04=-0x1==_0x249ceb['name']['indexOf'](_0x30de8d)?_0x30de8d+':\x20'+_0x249ceb['name']:_0x249ceb['name'];else _0x321c04=_0x30de8d+':\x20'+(_0x249ceb['createdAt']['toLocaleDateString'](_0x1dbb64['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x249ceb['createdAt']['toLocaleTimeString'](_0x1dbb64['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3e35de['saveRevision']({'name':_0x321c04}),_0x3fa54c['isReady']=!0x0,_0x1dbb64['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|