@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240611.0 → 0.0.0-nightly-20240612.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.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x6c42b7,Context as _0x4f5f82,PendingActions as _0x3c416a,icons as _0x5c300c,Command as _0x5af41d,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x12f4af,uid as _0x59ba44,Collection as _0x30789c,logWarning as _0x95b23e,FocusTracker as _0x47aa2,KeystrokeHandler as _0x1e635a,scrollViewportToShowTarget as _0x1b3b29,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xa465dc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5c82f8,getMarkerDomElement as _0x8e49d8,ConfirmMixin as _0x185f8a,sanitizeEditorConfig as _0x358b08}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1f8b9d,ViewText as _0x3ddc20,ViewElement as _0x22bfd8,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4f5f3c,ViewAttributeElement as _0x3fb721,ViewEmptyElement as _0x30d21a,ViewRawElement as _0x4056b0,ViewUIElement as _0x260ad3,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x250b31,set as _0x1daea2,unset as _0x6b68f0,isEqual as _0x293def}from'lodash-es';import{View as _0x10f811,injectCssTransitionDisabler as ts,submitHandler as _0x5b31b2,LabeledFieldView as at,createLabeledInputText as _0x3dce06,createDropdown as _0x372cd7,ListView as te,ListItemView as _0x14b2aa,ButtonView as _0x55b2f4,MenuBarMenuView as _0x4ab074,MenuBarMenuListView as _0x35b9c6,MenuBarMenuListItemView as _0x12a026,MenuBarMenuListItemButtonView as _0x2226ec,ContextualBalloon as _0x1579a2,ToolbarSeparatorView as _0x3d6dff,IconView as _0x1ebd58,addListToDropdown as _0x2ca51b,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 _0x26b500}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x12f4af(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3c0b87){super(),this['id']=_0x3c0b87['id']||_0x59ba44(),this['creator']=_0x3c0b87['creator']||null,this['authors']=_0x3c0b87['authors']||[],this['diffData']=_0x3c0b87['diffData']||null,this['toVersion']=_0x3c0b87['toVersion']||0x0,this['fromVersion']=_0x3c0b87['fromVersion']||0x0,this['set']('name',_0x3c0b87['name']||''),this['set']('createdAt',_0x3c0b87['createdAt']||new Date()),this['set']('attributes',_0x3c0b87['attributes']||{});}['setName'](_0x5e2c29){this['_update']({'name':_0x5e2c29});}['setAttribute'](_0xe3c44c,_0x1717ff){const _0x48202f=_0x250b31(this['attributes']);_0x1daea2(_0x48202f,_0xe3c44c,_0x1717ff),this['_update']({'attributes':_0x48202f});}['removeAttribute'](_0x41e60d){const _0x235b04=_0x250b31(this['attributes']);_0x6b68f0(_0x235b04,_0x41e60d),this['_update']({'attributes':_0x235b04});}['_update'](_0x25f651,_0x19e2b3=!0x1){let _0x5913e1=!0x1;const _0x584a46={'id':this['id']},_0x31a864=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x201e90 of _0x31a864){const _0x330cf3=_0x25f651[_0x201e90];void 0x0!==_0x330cf3&&_0x330cf3!==this[_0x201e90]&&(this[_0x201e90]=_0x330cf3,_0x584a46[_0x201e90]=_0x330cf3,_0x5913e1=!0x0);}_0x5913e1&&(_0x584a46['authors']&&(_0x584a46['authorsIds']=_0x584a46['authors']['map'](_0x2bc123=>_0x2bc123['id']),delete _0x584a46['authors']),this['fire']('_update',_0x584a46,_0x19e2b3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x41fb38=>_0x41fb38['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x6c42b7{['_revisions'];static get['requires'](){return[_0x5c82f8];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3b23d7){super(_0x3b23d7),this['_revisions']=new _0x30789c();}['afterInit'](){!function(_0x2f3e5b){function _0x310daf(_0x2b0a3c,_0x57a430,_0x2e1450){const _0x36aa7b={};_0x36aa7b[_0x498130([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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 _0x15a3c5=new Uint8Array(0x10);for(let _0x282e27=0xf;_0x282e27>=0x0;--_0x282e27)_0x15a3c5[_0x282e27]=_0x2e1450%0x100,_0x2e1450=parseInt(_0x2e1450/0x100);let _0x5704fb=null,_0x3c06ed=0x10;const _0x5e1161=new Uint8Array(_0x57a430),_0x11f91f=[],_0x4ed4fa=[];_0xf496ac();for(let _0x4108c6=0x0;_0x4108c6<_0x2b0a3c[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4108c6++)0x10===_0x3c06ed&&(_0x5704fb=_0x2a7a20(_0x15a3c5),_0x3c06ed=0x0,_0xb245b2(_0x15a3c5)),_0x2b0a3c[_0x4108c6]^=_0x5704fb[_0x3c06ed++];return _0x2b0a3c;function _0xdf2761(_0x347c87){const _0x324020=[];for(let _0x462143=0x0;_0x462143<_0x347c87[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x462143+=0x4)_0x324020[_0x498130([0x70,0x75,0x73,0x68])](_0x347c87[_0x462143]<<0x18|_0x347c87[_0x462143+0x1]<<0x10|_0x347c87[_0x462143+0x2]<<0x8|_0x347c87[_0x462143+0x3]);return _0x324020;}function _0xb245b2(_0x5a81d2){for(let _0x459197=0xf;_0x459197>=0x0;_0x459197--){if(0xff!==_0x5a81d2[_0x459197]){_0x5a81d2[_0x459197]++;break;}_0x5a81d2[_0x459197]=0x0;}}function _0x2a7a20(_0x12d42d){const _0x39062f=_0x11f91f[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xb5e5f3=[0x0,0x0,0x0,0x0];let t=_0xdf2761(_0x12d42d);for(let _0x3367b5=0x0;_0x3367b5<0x4;_0x3367b5++)t[_0x3367b5]^=_0x11f91f[0x0][_0x3367b5];for(let _0x2ca7cc=0x1;_0x2ca7cc<_0x39062f;_0x2ca7cc++){for(let _0x81946b=0x0;_0x81946b<0x4;_0x81946b++)_0xb5e5f3[_0x81946b]=_0x36aa7b[_0x498130([0x54,0x31])][t[_0x81946b]>>0x18&0xff]^_0x36aa7b[_0x498130([0x54,0x32])][t[(_0x81946b+0x1)%0x4]>>0x10&0xff]^_0x36aa7b[_0x498130([0x54,0x33])][t[(_0x81946b+0x2)%0x4]>>0x8&0xff]^_0x36aa7b[_0x498130([0x54,0x34])][0xff&t[(_0x81946b+0x3)%0x4]]^_0x11f91f[_0x2ca7cc][_0x81946b];t=_0xb5e5f3[_0x498130([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3165f5=new Uint8Array(0x10);let _0x4fc7ba;for(let _0x49d6d5=0x0;_0x49d6d5<0x4;_0x49d6d5++)_0x4fc7ba=_0x11f91f[_0x39062f][_0x49d6d5],_0x3165f5[0x4*_0x49d6d5]=0xff&(_0x36aa7b[_0x498130([0x53])][t[_0x49d6d5]>>0x18&0xff]^_0x4fc7ba>>0x18),_0x3165f5[0x4*_0x49d6d5+0x1]=0xff&(_0x36aa7b[_0x498130([0x53])][t[(_0x49d6d5+0x1)%0x4]>>0x10&0xff]^_0x4fc7ba>>0x10),_0x3165f5[0x4*_0x49d6d5+0x2]=0xff&(_0x36aa7b[_0x498130([0x53])][t[(_0x49d6d5+0x2)%0x4]>>0x8&0xff]^_0x4fc7ba>>0x8),_0x3165f5[0x4*_0x49d6d5+0x3]=0xff&(_0x36aa7b[_0x498130([0x53])][0xff&t[(_0x49d6d5+0x3)%0x4]]^_0x4fc7ba);return _0x3165f5;}function _0xf496ac(){const _0x40bb41=_0x36aa7b[_0x498130([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e1161[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f08fb=0x0;_0x2f08fb<=_0x40bb41;_0x2f08fb++)_0x11f91f[_0x498130([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4ed4fa[_0x498130([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5a38f4=0x4*(_0x40bb41+0x1),_0x48e5d9=_0x5e1161[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x15450b=_0xdf2761(_0x5e1161);let _0x3cf270;for(let _0x358646=0x0;_0x358646<_0x48e5d9;_0x358646++)_0x3cf270=_0x358646>>0x2,_0x11f91f[_0x3cf270][_0x358646%0x4]=_0x15450b[_0x358646],_0x4ed4fa[_0x40bb41-_0x3cf270][_0x358646%0x4]=_0x15450b[_0x358646];let _0xb4483f,_0x494458=0x0,t=_0x48e5d9;for(;t<_0x5a38f4;){_0xb4483f=_0x15450b[_0x48e5d9-0x1],_0x15450b[0x0]^=_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x10&0xff]<<0x18^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x8&0xff]<<0x10^_0x36aa7b[_0x498130([0x53])][0xff&_0xb4483f]<<0x8^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x18&0xff]^_0x36aa7b[_0x498130([0x72,0x63,0x6f,0x6e])][_0x494458]<<0x18,_0x494458+=0x1;for(let _0x502569=0x1;_0x502569<_0x48e5d9/0x2;_0x502569++)_0x15450b[_0x502569]^=_0x15450b[_0x502569-0x1];_0xb4483f=_0x15450b[_0x48e5d9/0x2-0x1],_0x15450b[_0x48e5d9/0x2]^=_0x36aa7b[_0x498130([0x53])][0xff&_0xb4483f]^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x8&0xff]<<0x8^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x10&0xff]<<0x10^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x18&0xff]<<0x18;for(let _0x2e7fee=_0x48e5d9/0x2+0x1;_0x2e7fee<_0x48e5d9;_0x2e7fee++)_0x15450b[_0x2e7fee]^=_0x15450b[_0x2e7fee-0x1];let _0x21a485,_0x5e7f41,_0xf3aa76=0x0;for(;_0xf3aa76<_0x48e5d9&&t<_0x5a38f4;)_0x21a485=t>>0x2,_0x5e7f41=t%0x4,_0x11f91f[_0x21a485][_0x5e7f41]=_0x15450b[_0xf3aa76],_0x4ed4fa[_0x40bb41-_0x21a485][_0x5e7f41]=_0x15450b[_0xf3aa76++],t++;}for(let _0x18408f=0x1;_0x18408f<_0x40bb41;_0x18408f++)for(let _0x236739=0x0;_0x236739<0x4;_0x236739++)_0xb4483f=_0x4ed4fa[_0x18408f][_0x236739],_0x4ed4fa[_0x18408f][_0x236739]=_0x36aa7b[_0x498130([0x55,0x31])][_0xb4483f>>0x18&0xff]^_0x36aa7b[_0x498130([0x55,0x32])][_0xb4483f>>0x10&0xff]^_0x36aa7b[_0x498130([0x55,0x33])][_0xb4483f>>0x8&0xff]^_0x36aa7b[_0x498130([0x55,0x34])][0xff&_0xb4483f];}}function _0x498130(_0x2ce0e9){return _0x2ce0e9['map'](_0x51f0aa=>String['fromCharCode'](_0x51f0aa))['join']('');}(_0x12c259=>{function _0x3b865c(){const _0x4c2e36=[{[_0x498130([0x69,0x64])]:0x1,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x498130([0x69,0x64])]:0x2,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([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]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x498130([0x69,0x64])]:0x3,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x498130([0x69,0x64])]:0x4,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([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]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x498130([0x69,0x64])]:0x5,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([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]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x6,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x7,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x8,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([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]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x9,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x498130([0x69,0x64])]:0xa,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([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]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([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]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([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]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0xb,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x498130([0x69,0x64])]:0xc,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x498130([0x69,0x64])]:0xd,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0xe,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x498130([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([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])},{[_0x498130([0x69,0x64])]:0xf,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x498130([0x69,0x64])]:0x10,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}}];return _0x322109(_0x4c2e36),_0x4c2e36;function _0x2f5e1(_0x34a7b0){return 0x1<<_0x34a7b0-0x1;}function _0x322109(_0x3200c7){_0x3200c7[_0x498130([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa96324=>{_0xa96324[_0x498130([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2f5e1(_0xa96324[_0x498130([0x69,0x64])]),_0x2aaf6b(_0xa96324)&&_0xa96324[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x322109(_0xa96324[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2aaf6b(_0x499717){return _0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x499717;}const _0x204c67=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5df21f=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1056e5(_0x34cb1c){const _0x2f54b9=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4a77f6(_0x34cb1c,new Uint8Array([..._0x204c67,..._0x2f54b9,..._0x5df21f]));}function _0x4a77f6(_0x258c6e,_0x540c40){const _0x550f44=_0x34faa1(_0x258c6e),_0x997d88=Array[_0x498130([0x66,0x72,0x6f,0x6d])](_0x2afe97(_0x550f44)),_0x285324=_0x997d88[_0x498130([0x70,0x6f,0x70])](),_0x7e8bb6=_0x997d88[_0x498130([0x70,0x6f,0x70])]();return _0x217d3b(_0x310daf(_0x997d88,_0x540c40,_0x7e8bb6+0x100*_0x285324));}function _0x34faa1(_0x264f61){const _0x1a22d6=atob(_0x264f61),[_0x24f606,_0x23bffc]=_0x1a22d6[_0x498130([0x73,0x70,0x6c,0x69,0x74])](_0x498130([0x2d]));try{if(atob(_0x23bffc))return atob(_0x24f606);}catch(_0x1ac0c7){}return _0x1a22d6;}function _0x2143f8(_0x273fce){try{const _0x18c667=_0x1056e5(_0x273fce),_0xfd958d=JSON[_0x498130([0x70,0x61,0x72,0x73,0x65])](_0x18c667),_0x11aaf2=parseInt(_0xfd958d[_0x498130([0x31])]),_0x2d6942=_0xfd958d[_0x498130([0x32])]||'',_0x192b62=parseInt(_0xfd958d[_0x498130([0x33])]),_0x4ed8ec=parseInt(_0xfd958d[_0x498130([0x34])])||0x0,_0x5b9f78=parseInt(_0xfd958d[_0x498130([0x35])])||0x0;return{[_0x498130([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2d6942,[_0x498130([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4ed8ec,[_0x498130([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x11aaf2,[_0x498130([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x192b62,[_0x498130([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5b9f78};}catch(_0x472669){return null;}}const _0x3c5ca2=_0x3b865c(),_0x24b4a9={[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x49f1b6,[_0x498130([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])]:_0x3fa332,[_0x498130([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])]:_0x4e3de3},_0x1e2591=_0x12c259[_0x498130([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1b60b0=_0x498130([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x12c259?_0x12c259['context']:_0x12c259['editor'],_0x1e8719=_0x498130([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x32]),_0x282de2=_0x498130([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]),_0xf068e6=_0x1b60b0['config']['get'](_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x9daacf=_0x3c5ca2[_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aaf6b)[_0x498130([0x66,0x69,0x6e,0x64])](_0x29e491=>_0x29e491[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1e2591);function _0x21f6f6(_0x5e82c2,_0x3ad289){_0x24b4a9[_0x3ad289[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5e82c2,_0x3ad289),_0x3ad289[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3ad289[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e3695=>_0x390317(_0x1b60b0,_0x4e3695[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x498130([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b663a=>_0x21f6f6(_0x5e82c2,_0x4b663a));}function _0x49f1b6(_0x561c7b,_0x3a9a13){_0x20574(_0x45cb5d(_0x561c7b,_0x3a9a13),_0x3a9a13);}function _0x3fa332(_0x2d71f8,_0xb61087){function _0x1c6a11(_0x49581e,_0x22b9ac){try{if(_0x390317(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x49581e){const _0x465a61=_0xffe63(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x498130([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x465a61)/0x2>_0x49581e[_0x498130([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x305ae4(_0x22b9ac[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x45cb5d(_0x49581e,_0x22b9ac);}catch(_0x1e056c){return _0x305ae4(_0x22b9ac[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x20574(_0x1c6a11(_0x2d71f8,_0xb61087),_0xb61087);}function _0x4e3de3(_0x5446bf,_0x3d71ac){const _0x306f08=_0x5df21f[0x0]*_0x204c67[0x1],_0x235052=_0x5df21f[0x0]*_0x204c67[0x2],_0x15f90=_0x5df21f[0x2]*_0x204c67[0x2];_0x390317(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xffe63(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x19fbcb()]=_0x15f90);function _0x54f47b(_0x328bb4,_0x2aba97){try{return _0x657c67()?_0x305ae4(_0x2aba97[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x56,0x61,0x6c,0x69,0x64])):_0x45cb5d(_0x328bb4,_0x2aba97);}catch(_0x43bb78){return _0x305ae4(_0x2aba97[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b7ae7(_0xce78e2,_0x4684b9){const _0x38d503=0x7;if(_0xce78e2==_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1b1624();else{if(_0xce78e2==_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])){const _0x2c5814=_0x4b161c();_0x2c5814&&_0x25743d(_0x2c5814,_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3de425=_0x2243f6();window[_0x498130([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25743d(_0x498130([0x74,0x69,0x6d,0x65]),_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3de425);const _0x20bf4d=_0xffe63(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x498130([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x20bf4d[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x38d503?_0x25743d(_0x498130([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x20bf4d['on'](_0x498130([0x61,0x64,0x64]),()=>{_0x20bf4d[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x38d503&&_0x25743d(_0x498130([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4b161c(){if(!_0x390317(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3f0518 in window)if(Number['isNaN'](Number(_0x3f0518))){if(window[_0x3f0518]===_0x306f08)return _0x498130([0x74,0x69,0x6d,0x65]);if(window[_0x3f0518]===_0x235052)return _0x498130([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x657c67(){if(!_0x390317(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x330204 in window)if(Number['isNaN'](Number(_0x330204))&&window[_0x330204]===_0x15f90)return!0x0;return!0x1;}function _0x25743d(_0x1dfc33,_0x20cc35){_0x1b1624(),_0x305ae4(_0x20cc35+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1dfc33),window[_0x19fbcb()]=_0x1dfc33===_0x498130([0x74,0x69,0x6d,0x65])?_0x306f08:_0x235052;}function _0x2243f6(){let _0x282b22=_0x5df21f[0x6]*_0x204c67[0x8]*_0x204c67[0x6];return _0x390317(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x282b22/=0xa),_0x282b22;}function _0x1b1624(){const _0x5aef2a=_0x1b60b0;function _0x16e830(){_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5a6c69,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5a6c69,_0x5aef2a[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x5aef2a[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x5aef2a[_0x498130([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x498130([0x6d,0x6f,0x64,0x65,0x6c]))),_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5a6c69,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5a6c69);}_0x5aef2a[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x72,0x65,0x61,0x64,0x79])?_0x16e830():_0x5aef2a[_0x498130([0x6f,0x6e,0x63,0x65])](_0x498130([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x16e830(),_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x268d0c=_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3fc5c2=_0x268d0c['getRevision'](0x0),_0x181b29=_0x268d0c['getEarlierVisibleRevision'](_0x3fc5c2[_0x498130([0x69,0x64])]);_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3fc5c2[_0x498130([0x69,0x64])],_0x181b29?_0x181b29[_0x498130([0x69,0x64])]:null,0x1)['then'](()=>_0x16e830());}});}_0x5b7ae7(_0x54f47b(_0x5446bf,_0x3d71ac),_0x3d71ac);}function _0x45cb5d(_0x235f2e,_0x7ee96){try{return _0x1b5e0d(_0x7ee96)?_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x56,0x61,0x6c,0x69,0x64])):_0x235f2e&&_0x1af924(_0x235f2e[_0x498130([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x7ee96)?_0x235f2e[_0x498130([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x498130([0x6f,0x70,0x65,0x6e])][_0x498130([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1e8719)/0x2>_0x235f2e[_0x498130([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x235f2e[_0x498130([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])):_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x56,0x61,0x6c,0x69,0x64])):_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x118e96){return _0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x20574(_0x281b3d,_0x572290){if(_0x1b60b0 instanceof _0x4f5f82){const _0x249b95=_0x1b60b0;_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5c71b1(_0x249b95):_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])&&window[_0x498130([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5c71b1(_0x249b95),_0x305ae4(_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5df21f[0x6]*_0x204c67[0x8]*_0x204c67[0x6]),_0x249b95[_0x498130([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x498130([0x6f,0x6e])](_0x498130([0x61,0x64,0x64]),(_0x504795,_0x500771)=>{_0x281b3d!=_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x281b3d!=_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x281b3d!=_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1147d4(_0x500771);});}else{const _0x344aae=_0x1b60b0;_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1147d4(_0x344aae):_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])&&_0x344aae[_0x498130([0x6f,0x6e])](_0x498130([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x259a2a=0x0;_0x344aae[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x6f,0x6e])](_0x498130([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5aab87,_0xda4f56)=>{_0xda4f56[0x0][_0x498130([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x259a2a++,0x1f8===_0x259a2a&&(_0x1147d4(_0x344aae),_0x305ae4(_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5aab87[_0x498130([0x6f,0x66,0x66])]());},{'priority':_0x498130([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x305ae4(_0x1a521a){const _0x169e13=_0x19fbcb();return _0x1b60b0[_0x169e13]=_0x1a521a,_0x1a521a;}function _0x19fbcb(){const _0x4280fa=String(window[_0x498130([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x498130([0x6e,0x6f,0x77])]())[_0x498130([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x498130([0x2e]),'');let _0x1b669e='';for(let _0x4c3810=0x0;_0x4c3810<_0x4280fa[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3810+=0x2){let _0x5c1b08=parseInt(_0x4280fa[_0x498130([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3810,_0x4c3810+0x2));_0x5c1b08>=_0x282de2[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c1b08-=_0x282de2[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b669e+=_0x282de2[_0x5c1b08];}return _0x1b669e;}function _0x5c71b1(_0x53263f){for(const _0x5ca1e5 of _0x53263f[_0x498130([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1147d4(_0x5ca1e5);_0xffe63(_0x53263f,_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x498130([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xffe63(_0x53263f,_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x498130([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5a6c69;}function _0x1147d4(_0x3f22a4){function _0x14762e(){_0x3f22a4[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x3f22a4[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x3f22a4[_0x498130([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x498130([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3f22a4[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x72,0x65,0x61,0x64,0x79])?_0x14762e():_0x3f22a4[_0x498130([0x6f,0x6e,0x63,0x65])](_0x498130([0x72,0x65,0x61,0x64,0x79]),()=>_0x14762e());}function _0x5a6c69(){return null;}function _0x1af924(_0x44eaad,_0x3b1ae9){const _0x40fe4d=!!(_0x44eaad&_0x3b1ae9[_0x498130([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42c530=_0x27bbd0(_0x44eaad,_0x3b1ae9);return _0x40fe4d||_0x42c530;}function _0x27bbd0(_0x44fc81,_0x274029){const _0xeeb697=(_0x274029[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x498130([0x66,0x67,0x69])]||null;return!!_0xeeb697&&_0x3c5ca2[_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xabe465=>_0xeeb697[_0x498130([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabe465[_0x498130([0x69,0x64])]))[_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46f291=>!_0x5b894d(_0x46f291))[_0x498130([0x73,0x6f,0x6d,0x65])](_0x3d0225=>!!(_0x44fc81&_0x3d0225[_0x498130([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5b894d(_0x8cb69f){const _0x475b8f={[_0x498130([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])]:_0x10cd9d};return!!_0x8cb69f['forbiddenHandler']&&_0x475b8f[_0x8cb69f['forbiddenHandler']]();}function _0x10cd9d(){return!window[_0x498130([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x390317(_0x1b60b0,_0x498130([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1b5e0d(_0x41ce12){if(!_0x390317(_0x1b60b0,_0x41ce12[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2f5073=_0x41ce12[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x214203=_0x2f5073[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x49b009=_0x2f5073[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5cd35d=_0x2f5073[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x390317(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xffe63(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x214203)return!0x0;if(_0x390317(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xffe63(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x498130([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x498130([0x65,0x6e,0x64])&&_0x49b009)return!0x0;return!(!_0x390317(_0x1b60b0,_0x498130([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]))||_0xffe63(_0x1b60b0,_0x498130([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]))[_0x498130([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x498130([0x65,0x6e,0x64])||!_0x5cd35d);}function _0x390317(_0x38836,_0x5cdcd4){return _0x38836[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x498130([0x68,0x61,0x73])](_0x5cdcd4);}function _0xffe63(_0x280c14,_0x4d9412){return _0x280c14[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x498130([0x67,0x65,0x74])](_0x4d9412);}function _0x217d3b(_0x274c05){let _0x494ef4='';for(const _0x2467c7 of _0x274c05)_0x494ef4+=String[_0x498130([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2467c7);return _0x494ef4;}function _0x2afe97(_0x19175a){const _0x39820d=new Uint8Array(_0x19175a[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4083ab=0x0;_0x4083ab<_0x19175a[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4083ab++)_0x39820d[_0x4083ab]=_0x19175a[_0x498130([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4083ab);return _0x39820d;}_0x9daacf&&_0x21f6f6(_0x2143f8(_0xf068e6),_0x9daacf);})(_0x2f3e5b);}(this);}['createRevision'](_0x36718e){const _0x581c68=this['editor']['plugins']['get']('Users');return new a({'id':_0x36718e['id'],'name':_0x36718e['name'],'creator':_0x36718e['creatorId']?_0x581c68['getUser'](_0x36718e['creatorId']):null,'diffData':_0x36718e['diffData']||_0x36718e['data'],'authors':_0x36718e['authorsIds']['map'](_0x28ea65=>_0x581c68['getUser'](_0x28ea65)),'createdAt':new Date(_0x36718e['createdAt']),'attributes':_0x36718e['attributes'],'fromVersion':_0x36718e['fromVersion'],'toVersion':_0x36718e['toVersion']});}['addRevision'](_0x63e390,_0x2d7dd3=0x0){this['_revisions']['add'](_0x63e390,_0x2d7dd3);}['getRevision'](_0x581cee){return this['_revisions']['get'](_0x581cee);}['getRevisions'](_0x56c938={'toJSON':!0x1}){const _0x55f999=Array['from'](this['_revisions']);return _0x55f999['reverse'](),_0x56c938['toJSON']?_0x55f999['map'](_0x1b319d=>_0x1b319d['toJSON']()):_0x55f999;}['getIndex'](_0x25bdae){return this['_revisions']['getIndex'](_0x25bdae);}['getEarlierVisibleRevision'](_0x4f5df1){const [,_0xa19fe]=this['getRevisionsIterator'](_0x4f5df1,{'direction':'earlier'});return _0xa19fe;}['getLaterVisibleRevision'](_0x489a09){const [,_0x5c1bde]=this['getRevisionsIterator'](_0x489a09,{'direction':'later'});return _0x5c1bde;}['getRevisionsInDiff'](_0x4b4326){const _0x4d5864=[];for(const _0x21efbf of this['getRevisionsIterator'](_0x4b4326['newRevisionId']))if(_0x4d5864['push'](_0x21efbf),_0x21efbf['id']===_0x4b4326['oldRevisionId'])break;return _0x4d5864;}*['getRevisionsIterator'](_0x2581d2,{direction:_0x541d2b='earlier',filter:_0x4e7ed5=_0x5896b7=>!0x0}={}){const _0x1f7c24='earlier'===_0x541d2b?0x1:-0x1;let _0x231f3f=this['_revisions']['get'](_0x2581d2),_0x3614d8=this['getIndex'](_0x231f3f);for(yield _0x231f3f;_0x231f3f;){if(_0x3614d8+=_0x1f7c24,_0x231f3f=this['getRevision'](_0x3614d8),!_0x231f3f)return;_0x4e7ed5(_0x231f3f)&&(yield _0x231f3f);}}}function y(_0x4c1efd,_0xa93a1c,_0x1acf8c){const t=_0x4c1efd['t'];switch(_0xa93a1c){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'},_0x1acf8c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1acf8c);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':_0x4f5f3c,'a':_0x3fb721,'e':_0x30d21a,'r':_0x4056b0,'u':_0x260ad3};class l extends _0x6c42b7{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5c82f8,A,_0x3c416a];}constructor(_0x25c867){super(_0x25c867),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 _0x3b55d7=_0x59ba44();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3b55d7},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 _0x1cd104=this['repository']['getRevision'](0x0),_0x4f205f=_0x1cd104&&null===_0x1cd104['creator']?_0x1cd104:null;if(this['_continueCurrentRevision']=!!_0x4f205f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3fd26d=this['_source']['getCurrentRevisionId'](),_0x4fe8a9=this['repository']['getRevision'](_0x3fd26d);if(_0x4fe8a9)this['_startingVersion']=_0x4fe8a9['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x10b79e=this['_source']['history']['_operations']['find'](_0x4b2a5d=>!_0x4b2a5d['_isInit']),_0x5aa81d=_0x10b79e?_0x10b79e['baseVersion']:this['_source']['history']['version'];_0x1cd104?(_0x1cd104['toVersion']<_0x5aa81d&&_0x1cd104['_update']({'toVersion':_0x5aa81d}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4f205f['id'],this['_startingVersion']=_0x4f205f['fromVersion']):(this['_startingVersion']=_0x1cd104['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5aa81d,this['_continueCurrentRevision']=!0x1);}}else _0x4f205f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4f205f['toVersion'],this['editor']['model']['document']['history']['version']),_0x4f205f['fromVersion']===_0x4f205f['toVersion']?(0x0!==_0x4f205f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f205f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f205f['id'],this['_startingVersion']=_0x4f205f['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',_0x3b1dda=>!_0x3b1dda);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5d01cf=this['repository']['getRevision'](0x0),_0x1252e5=await this['getRevisionDocumentData'](_0x5d01cf),_0xbe9cad=await this['getRevisionRootsAttributes'](_0x5d01cf);this['_replaceEditorDataWithRevisionData'](_0x1252e5,_0xbe9cad);}}['setSource'](_0x525e85){this['_source']=_0x525e85;}async['update'](){const _0x283718=await this['_source']['getLatestVersion']();if(_0x283718>this['currentRevision']['toVersion']){await this['_loadState']();const _0xf4a71e=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x283718});_0xf4a71e['authors']=_0xf4a71e['authorsIds']['map'](_0x264bc4=>this['editor']['plugins']['get']('Users')['getUser'](_0x264bc4)),this['currentRevision']['_update'](_0xf4a71e);}}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'](_0x73bd0b={},_0x3628af=null){const _0x3d00f9=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3628af>this['currentRevision']['toVersion']&&(_0x3628af=null),null===_0x3628af&&(_0x3628af=await this['_source']['getLatestVersion']());const _0x5093c0=this['_getFromVersion'](_0x3628af),_0x24f6cb=this['buildRevisionData']({'from':_0x5093c0,'to':_0x3628af});if(this['currentRevision']['toVersion']<_0x3628af){const _0x3da59f=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3628af,'to':_0x3628af});_0x3da59f['authors']=[],_0x3da59f['authorsIds']=[],_0x3da59f['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3da59f,!0x0),delete _0x3da59f['authors'],_0x3d00f9['push'](_0x3da59f);}_0x73bd0b['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x73bd0b['name']=_0x73bd0b['name']||null,_0x73bd0b['id']=_0x73bd0b['id']||_0x59ba44(),_0x73bd0b={..._0x73bd0b,..._0x24f6cb};const _0xb00327=this['addRevisionData'](_0x73bd0b);_0x3d00f9['push'](_0x73bd0b);const _0x139352=this['repository']['getIndex'](_0xb00327);if(0x0!==_0x139352){const _0x438f6a=this['repository']['getRevision'](_0x139352-0x1);if(_0x438f6a['fromVersion']!==_0x3628af){const _0x1ba3fa=this['_revisionDataBuilder']['getData'](_0x3628af,_0x438f6a['toVersion']),_0x333d5d={'id':_0x438f6a['id'],'diffData':_0x1ba3fa['diffData'],'authorsIds':_0x1ba3fa['authorsIds'],'authors':_0x1ba3fa['authorsIds']['map'](_0x2eb3e4=>this['editor']['plugins']['get']('Users')['getUser'](_0x2eb3e4)),'fromVersion':_0x3628af};_0x438f6a===this['currentRevision']&&(_0x333d5d['createdAt']=new Date(_0x73bd0b['createdAt']['getTime']()+0xa)),_0x438f6a['_update'](_0x333d5d,!0x0),delete _0x333d5d['authors'],_0x3d00f9['push'](_0x333d5d);}}if(this['adapter']){for(const _0x29ea89 of _0x3d00f9)this['_bufferUpdate'](_0x29ea89['id'],_0x29ea89,!0x0);this['sendBufferedUpdates']();}return _0xb00327;}['addRevisionData'](_0x253fe6){const _0x1d6a42=this['repository']['createRevision'](_0x253fe6);return this['adapter']&&_0x1d6a42['on']('_update',(_0xc1aea4,_0x33d8be,_0x4e9b50)=>{_0x4e9b50||(this['_bufferUpdate'](_0x33d8be['id'],_0x33d8be,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1d6a42,this['_findInsertionIndex'](_0x1d6a42)),_0x1d6a42;}async['getRevisionDocumentData'](_0x5f5494){await this['_loadRevisionData'](_0x5f5494);const _0x40828a={};for(const _0x35248c in _0x5f5494['diffData']){if(_0x5f5494['diffData'][_0x35248c]['attachChange']&&!_0x5f5494['diffData'][_0x35248c]['attachChange']['isAttached'])continue;const _0x3524bc=this['_removeRevisionMarkers'](JSON['parse'](_0x5f5494['diffData'][_0x35248c]['insertions'])),_0x15b1c8=this['editor']['editing']['view']['document'],_0x575d56=new _0x1f8b9d(_0x15b1c8,_0x3524bc['map'](_0x2f4fbc=>B(_0x2f4fbc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x40828a[_0x35248c]=this['editor']['data']['processor']['toData'](_0x575d56),this['editor']['data']['processor']['useFillerType']('default');}return _0x40828a;}async['getRevisionRootsAttributes'](_0x31586b){await this['_loadRevisionData'](_0x31586b);const _0x244370={};for(const _0x2c9f84 in _0x31586b['diffData'])_0x31586b['diffData'][_0x2c9f84]['attachChange']&&!_0x31586b['diffData'][_0x2c9f84]['attachChange']['isAttached']||(_0x244370[_0x2c9f84]=_0x31586b['diffData'][_0x2c9f84]['attributesAfter']||{});return _0x244370;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4a4a92=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x67b78f=0x0;_0x67b78f<_0x4a4a92['length'];_0x67b78f++){const _0x2031c5=_0x4a4a92[_0x67b78f];let _0x520407=!0x1;for(const _0x36fea1 of Object['keys'](_0x2031c5))void 0x0===_0x2031c5[_0x36fea1]?delete _0x2031c5[_0x36fea1]:'id'!==_0x36fea1&&(_0x520407=!0x0);_0x520407||(_0x4a4a92[_0x67b78f]=null);}if(_0x4a4a92=_0x4a4a92['filter'](_0x323ef8=>null!==_0x323ef8),!_0x4a4a92['length'])return;for(let _0x2a4b11=0x0;_0x2a4b11<_0x4a4a92['length'];_0x2a4b11++){const _0x11870f=_0x4a4a92[_0x2a4b11];void 0x0!==_0x11870f['fromVersion']&&void 0x0===_0x11870f['toVersion']&&(_0x11870f['toVersion']=this['repository']['getRevision'](_0x11870f['id'])['toVersion']),void 0x0!==_0x11870f['toVersion']&&void 0x0===_0x11870f['fromVersion']&&(_0x11870f['fromVersion']=this['repository']['getRevision'](_0x11870f['id'])['fromVersion']);}const _0x5288e1=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4a4a92,_0x5288e1)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1a1258=>{if(_0x1a1258){for(const _0x49e4f3 of _0x1a1258)this['setRevisionData']({'id':_0x49e4f3['id'],'createdAt':_0x49e4f3['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x70c085,_0x1d36cb){let _0x11e260=this['editor']['config']['get']('initialData'),_0x56880c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x11e260){_0x11e260={};for(const _0x24f216 of this['editor']['model']['document']['getRootNames']())_0x11e260[_0x24f216]='';}if('string'==typeof _0x11e260&&(_0x11e260={'main':_0x11e260}),void 0x0===_0x56880c){_0x56880c={};for(const _0x376c1c of this['editor']['model']['document']['getRootNames']())_0x56880c[_0x376c1c]={};}let _0x266432=!0x1;const _0x26ad0d=Object['keys'](_0x11e260),_0x22be60=Object['keys'](_0x70c085);for(const _0x3264ca of _0x26ad0d){if(_0x11e260[_0x3264ca]!==_0x70c085[_0x3264ca]&&''!==_0x11e260[_0x3264ca]['trim']()){_0x266432=!0x0;break;}if(!_0x293def(_0x56880c[_0x3264ca],_0x1d36cb[_0x3264ca])&&Object['keys'](_0x56880c[_0x3264ca])['length']>0x0){_0x266432=!0x0;break;}}_0x266432||(_0x266432=_0x22be60['some'](_0x4bf471=>!this['editor']['model']['document']['getRoot'](_0x4bf471))),_0x266432&&_0x95b23e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x11e260,'editorRootsAttributes':_0x56880c,'revisionData':_0x70c085,'revisionRootsAttributes':_0x1d36cb}),this['editor']['config']['set']('initialData',_0x70c085),this['editor']['config']['set']('rootsAttributes',_0x1d36cb);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x134e00=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x134e00['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x179a30){const _0x18a647=this['repository']['getRevisions']();_0x18a647['reverse']();let _0x13fc2f=0x0;for(;_0x13fc2f<_0x18a647['length'];){const _0xa37c82=_0x18a647[_0x13fc2f];if(_0xa37c82===this['currentRevision']){_0x13fc2f++;continue;}if(_0xa37c82['id']===this['_initialRevisionId'])break;const _0x1d149b=_0x179a30['toVersion']-_0xa37c82['toVersion']||_0x179a30['fromVersion']-_0xa37c82['fromVersion'];if(_0x1d149b>0x0)break;if(_0x1d149b<0x0)_0x13fc2f++;else{if(!_0x179a30['creator']&&_0xa37c82['creator'])break;if(_0xa37c82['creator']||!_0x179a30['creator']){if(_0x179a30['createdAt']>_0xa37c82['createdAt'])break;_0x13fc2f++;}else _0x13fc2f++;}}return _0x13fc2f;}['setRevisionData'](_0x5c3be3){const _0x23f224=this['repository']['getRevision'](_0x5c3be3['id']);if(_0x5c3be3['createdAt']&&(_0x5c3be3['createdAt']=new Date(_0x5c3be3['createdAt'])),_0x5c3be3['authorsIds']){const _0x1ff642=this['editor']['plugins']['get']('Users');_0x5c3be3['authors']=_0x5c3be3['authorsIds']['map'](_0x5ed2f0=>_0x1ff642['getUser'](_0x5ed2f0));}_0x23f224['_update'](_0x5c3be3,!0x0);}['buildRevisionData']({revision:_0x1b08c8=null,from:_0x1e4b36=null,to:_0x2744c2=null}){_0x1e4b36=null!==_0x1e4b36?_0x1e4b36:_0x1b08c8['fromVersion'],_0x2744c2=null!==_0x2744c2?_0x2744c2:_0x1b08c8['toVersion'];const _0x4613f1=this['_revisionDataBuilder']['getData'](_0x1e4b36,_0x2744c2),_0x44cd59={'diffData':_0x4613f1['diffData'],'authorsIds':_0x4613f1['authorsIds'],'fromVersion':_0x1e4b36,'toVersion':_0x2744c2};if(!_0x1b08c8||_0x2744c2!==_0x1b08c8['toVersion']){const _0x396a36=_0x2744c2-0x1,_0x562444=this['_source']['history']['getOperation'](_0x396a36);_0x44cd59['createdAt']=_0x562444&&_0x562444['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1e4b36===this['_loadedStateData']['fromVersion']){for(const _0x45afdc of this['_loadedStateData']['authors'])_0x44cd59['authorsIds']['includes'](_0x45afdc['id'])||_0x44cd59['authorsIds']['push'](_0x45afdc['id']);}return _0x44cd59;}['_loadRevisionData'](_0x282b2c){if(!_0x282b2c||_0x282b2c['diffData'])return Promise['resolve']();{const _0x2c109b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2c109b,'revisionId':_0x282b2c['id']})['then'](_0x438209=>{_0x282b2c['diffData']=_0x438209['diffData'];});}}['_bufferUpdate'](_0x5c7383,_0x52c655,_0x15ce1a){if(this['_bufferedUpdates']['has'](_0x5c7383)){const _0x5aee9d=this['_bufferedUpdates']['get'](_0x5c7383);_0x52c655=_0x15ce1a?{..._0x5aee9d,..._0x52c655}:{..._0x52c655,..._0x5aee9d};}this['_bufferedUpdates']['set'](_0x5c7383,_0x52c655);}['_getFromVersion'](_0xb56252){const _0x3ffde7=this['repository']['getRevisions']();_0x3ffde7['reverse'](),_0x3ffde7['shift']();const _0x43f7de=_0x3ffde7['find'](_0x3913c1=>_0x3913c1['toVersion']<=_0xb56252)['toVersion'];return _0x43f7de<this['_startingVersion']?this['_startingVersion']:_0x43f7de;}['_createInitialRevision'](_0x5dcd69){const _0x33e115=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x33e115)this['_initialRevisionId']=_0x33e115['id'];else{const _0x4fab3f=!this['editor']['model']['document']['roots']['find'](_0x58557f=>this['editor']['model']['hasContent'](_0x58557f)),_0xcff596=this['editor']['plugins']['get']('Users')['me']['id'],_0x55b7cf=y(this['editor']['locale'],_0x4fab3f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5dcd69,'to':_0x5dcd69,'id':this['_initialRevisionId'],'name':_0x55b7cf,'creatorId':_0xcff596});}}['_createCurrentRevision'](_0x3520c0){const _0x3c4be1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3c4be1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3520c0,'to':_0x3520c0,'id':_0x3c4be1,'name':'','creatorId':null}));}['_makeRevision']({name:_0x25318a,from:_0x5e19c9,to:_0x40e082,creatorId:_0x3965ce,id:_0x311c8f}){const _0x4ce70b=this['buildRevisionData']({'from':_0x5e19c9,'to':_0x40e082});_0x4ce70b['name']=_0x25318a,_0x4ce70b['creatorId']=_0x3965ce,_0x4ce70b['id']=_0x311c8f;const _0x4cbc91=this['addRevisionData'](_0x4ce70b);return this['adapter']&&this['_bufferUpdate'](_0x4ce70b['id'],_0x4ce70b,!0x0),_0x4cbc91;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2891de){return(_0x2891de=_0x2891de['filter'](_0x3b1b6a=>!_0x3b1b6a['name']||'revision-start'!==_0x3b1b6a['name']&&'revision-end'!==_0x3b1b6a['name']))['forEach'](_0x464647=>{'string'!=typeof _0x464647&&(_0x464647['children']=this['_removeRevisionMarkers'](_0x464647['children']),_0x464647['attributes']=_0x464647['attributes']['filter'](_0x34622e=>!_0x34622e[0x0]['startsWith']('data-revision-')));}),_0x2891de;}}function B(_0x40ee72,_0x5d03d2){const _0x1204a0=_0x5d03d2['editing']['view']['document'];if('string'==typeof _0x40ee72)return new _0x3ddc20(_0x1204a0,_0x40ee72);{const _0x3eb17e=_0x40ee72['children']['map'](_0x3c34aa=>B(_0x3c34aa,_0x5d03d2));return new(T[_0x40ee72['type']]||_0x22bfd8)(_0x1204a0,_0x40ee72['name'],_0x40ee72['attributes'],_0x3eb17e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x533c31){this['editor']=_0x533c31,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'](_0x4d0973){this['source']=_0x4d0973;const _0x35eb8a=new Map(),_0x104934=new Map(),_0x136236=this['editor']['model']['document']['roots']['map'](_0x17afbf=>_0x17afbf['rootName']);for(const _0xe5b5dd of _0x136236){const _0x2d88fe=this['editor']['model']['document']['getRoot'](_0xe5b5dd),_0x3ea8d6=q(_0x2d88fe);_0x35eb8a['set'](_0xe5b5dd,_0x3ea8d6),_0x104934['set'](_0xe5b5dd,Object['fromEntries'](_0x2d88fe['getAttributes']()));}const _0x4adf1a=Array['from'](this['editor']['model']['markers'])['map'](_0x51ad2a=>[_0x51ad2a['name'],_0x51ad2a['getRange']()]),_0x1e5639=this['source']['version'];this['_saveMetaData'](_0x1e5639,_0x35eb8a,_0x4adf1a,_0x104934),this['_startingRevisionId']=this['_revisionId'];const _0x554eef=new Map(),_0x21fe37=new Map();for(const _0x15ea09 of _0x136236){const _0x301ddd=G(_0x15ea09);_0x554eef['set'](_0x15ea09,_0x301ddd),_0x21fe37['set'](_0x15ea09,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x554eef,[],_0x21fe37);}['getData'](_0x27af77,_0x46b59e){if(this['_lastFrom']===_0x27af77&&this['_lastTo']<=_0x46b59e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x46b59e,!0x0);else{if(!this['_savedMetaData']['has'](_0x27af77)){const _0x4e09f9=this['_getPreviousFrom'](_0x27af77);this['_calculateMetaData'](_0x4e09f9,_0x27af77,!0x1);}this['_calculateMetaData'](_0x27af77,_0x46b59e,!0x0);}return this['_lastFrom']=_0x27af77,this['_lastTo']=_0x46b59e,this['_getState']();}['loadState'](_0x15eee9){this['_reset'](),this['_lastFrom']=_0x15eee9['fromVersion'],this['_lastTo']=_0x15eee9['toVersion'];for(const _0x23112f in _0x15eee9['diffData']){const _0x49c24b=_0x15eee9['diffData'][_0x23112f]['attachChange'],_0x435f29=_0x250b31(_0x15eee9['diffData'][_0x23112f]['attributesBefore'])||{},_0x5a5784=this['_makeModelFromViewString'](_0x15eee9['diffData'][_0x23112f]['deletions']);_0x5a5784['rootName']=_0x23112f,_0x5a5784['_isAttached']=!_0x49c24b||!_0x49c24b['isAttached'],_0x5a5784['isAttached']=()=>_0x5a5784['_isAttached'],this['_baseRoots']['set'](_0x23112f,_0x5a5784),this['_baseRootsAttributes']['set'](_0x23112f,_0x435f29),_0x49c24b&&this['_touchedRoots']['set'](_0x23112f,_0x49c24b);const _0x1d5a8c=this['_makeIdsRoot'](_0x5a5784);this['_baseIdsRoots']['set'](_0x23112f,_0x1d5a8c);for(const [_0x60c1fe,_0x62ec34]of _0x5a5784['markers']){if(!_0x60c1fe['startsWith']('revision:'))continue;const _0x39c539=_0x60c1fe['split'](':')[0x2];for(const _0x315349 of _0x62ec34['getWalker']({'singleCharacters':!0x0})){const _0x5b2b39=this['_getVidAttributeName'](_0x315349),_0x1dad21='elementEnd'==_0x315349['type']?_0x315349['previousPosition']['path']['slice'](0x0,-0x1):_0x315349['previousPosition']['path'],_0x184118=_0x1d5a8c['getNodeByPath'](_0x1dad21)['getAttribute'](_0x5b2b39);this['_touched']['set'](_0x184118,{'userId':_0x39c539});}}}this['_startingRevisionId']=this['_revisionId'];const _0x19a813=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x253931=>!this['_touched']['has'](_0x253931));let _0x453bbc=0x0;const _0x6c2c02=new Map();for(const _0x5f5589 in _0x15eee9['diffData']){const _0x4001e9=_0x15eee9['diffData'][_0x5f5589]['attachChange'],_0x462342=_0x250b31(_0x15eee9['diffData'][_0x5f5589]['attributesAfter'])||{},_0x23f8c4=this['_makeModelFromViewString'](_0x15eee9['diffData'][_0x5f5589]['insertions']);_0x23f8c4['rootName']=_0x5f5589,_0x23f8c4['_isAttached']=!_0x4001e9||_0x4001e9['isAttached'],_0x23f8c4['isAttached']=()=>_0x23f8c4['_isAttached'],this['_diffRoots']['set'](_0x5f5589,_0x23f8c4),this['_diffRootsAttributes']['set'](_0x5f5589,_0x462342);const _0x3510a8=this['_makeIdsRoot'](_0x23f8c4,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5f5589,_0x3510a8),_0x6c2c02['set'](_0x5f5589,_0x23f8c4['isAttached']()?_0x462342:{});for(const [_0x2e843a,_0x2bdfe8]of _0x23f8c4['markers']){if(!_0x2e843a['startsWith']('revision:'))continue;const _0x152143=_0x2e843a['split'](':')[0x2];for(const _0x3cc932 of _0x2bdfe8['getWalker']({'singleCharacters':!0x0})){const _0xe7d7d7=this['_getVidAttributeName'](_0x3cc932),_0x464f6a=this['_revisionId']++,_0x11f6ed='elementEnd'==_0x3cc932['type']?_0x3cc932['previousPosition']['path']['slice'](0x0,-0x1):_0x3cc932['previousPosition']['path'];_0x3510a8['getNodeByPath'](_0x11f6ed)['_setAttribute'](_0xe7d7d7,_0x464f6a),this['_touched']['set'](_0x464f6a,{'userId':_0x152143});}}for(const _0x1b548b of this['editor']['model']['createRangeIn'](_0x23f8c4)['getWalker']({'singleCharacters':!0x0})){const _0x3cbc79=this['_getVidAttributeName'](_0x1b548b),_0x5d1c0d='elementEnd'==_0x1b548b['type']?_0x1b548b['previousPosition']['path']['slice'](0x0,-0x1):_0x1b548b['previousPosition']['path'],_0x5da09b=_0x3510a8['getNodeByPath'](_0x5d1c0d);_0x5da09b['getAttribute'](_0x3cbc79)>0x0||_0x5da09b['_setAttribute'](_0x3cbc79,_0x19a813[_0x453bbc++]);}for(const [_0x351765,_0x24de57]of _0x23f8c4['markers'])_0x351765['startsWith']('revision:')||this['_markers']['set'](_0x351765,_0x24de57);}const _0xd3cf54=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xd3cf54),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xd3cf54,0x1));const _0x27fcd6=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x27fcd6),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x27fcd6,0x1));const _0xc569f5=Array['from'](this['_diffRoots'])['map'](([_0x27dc22,_0x43e825])=>[_0x27dc22,q(_0x43e825)]);this['_saveMetaData'](this['_lastTo'],_0xc569f5,this['_markers'],_0x6c2c02);}['_makeModelFromViewString'](_0x5b5ef1){const _0x36ec31=JSON['parse'](_0x5b5ef1),_0x224b72=this['editor']['editing']['view']['document'],_0x22f7c0=new _0x1f8b9d(_0x224b72,_0x36ec31['map'](_0x534335=>B(_0x534335,this['editor'])));return this['editor']['data']['toModel'](_0x22f7c0);}['_saveMetaData'](_0x4063b2,_0x427a56,_0x355c98,_0x17f45b){const _0x114d89=new Map(_0x427a56),_0x18d775=new Map(_0x250b31(_0x17f45b)),_0x23676f=new Map();for(const [_0x171dc9,_0x55ce31]of _0x355c98)_0x23676f['set'](_0x171dc9,{'start':_0x55ce31['start']['clone'](),'end':_0x55ce31['end']['clone'](),'rootName':_0x55ce31['root']['rootName']});this['_savedMetaData']['set'](_0x4063b2,{'roots':_0x114d89,'markers':_0x23676f,'rootsAttributes':_0x18d775});}['_removeMetaData'](_0x3abf9e){this['_savedMetaData']['delete'](_0x3abf9e);}['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'](_0x1376ab,_0x2b52ac=null){let _0x3f3733=null;_0x1376ab['is']('documentFragment')||(_0x3f3733=new ft(_0x1376ab['name'],{'vid_start':null===_0x2b52ac?this['_revisionId']++:_0x2b52ac++}));const _0x31b871=[];for(const _0x296717 of _0x1376ab['getChildren']())if(_0x296717['is']('element')){_0x31b871['push'](this['_makeIdsRoot'](_0x296717,_0x2b52ac));const _0x11aed8=_0x31b871[_0x31b871['length']-0x1];null!==_0x2b52ac&&(_0x2b52ac=_0x11aed8['is']('element','$text')?_0x11aed8['getAttribute']('vid')+0x1:_0x11aed8['getAttribute']('vid_end')+0x1);}else{for(let _0x31c4c9=0x0;_0x31c4c9<_0x296717['offsetSize'];_0x31c4c9++)_0x31b871['push'](new ft('$text',{'vid':null===_0x2b52ac?this['_revisionId']++:_0x2b52ac++}));}if(_0x1376ab['is']('documentFragment')){const _0x4ec5a1=G(_0x1376ab['rootName']);return _0x4ec5a1['_insertChild'](0x0,_0x31b871),_0x4ec5a1;}return _0x3f3733['_setAttribute']('vid_end',null===_0x2b52ac?this['_revisionId']++:_0x2b52ac++),_0x3f3733['_insertChild'](0x0,_0x31b871),_0x3f3733;}['_calculateMetaData'](_0xfdee6a,_0x4a1574,_0x598a12){this['_reset']();const {roots:_0x522d16,markers:_0x33001c,rootsAttributes:_0x3dd29d}=this['_savedMetaData']['get'](_0xfdee6a);this['_baseRoots']=new Map(_0x522d16),this['_baseRootsAttributes']=new Map(_0x250b31(_0x3dd29d));for(const [_0x3b5072,_0x9d7b92]of this['_baseRoots'])if('$graveyard'!==_0x3b5072&&(this['_diffRoots']['set'](_0x3b5072,q(_0x9d7b92)),this['_diffRootsAttributes']=new Map(_0x250b31(_0x3dd29d)),_0x598a12)){const _0x2ec6eb=this['_revisionId'];this['_idsRoots']['set'](_0x3b5072,this['_makeIdsRoot'](_0x9d7b92)),this['_baseIdsRoots']['set'](_0x3b5072,this['_makeIdsRoot'](_0x9d7b92,_0x2ec6eb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x598a12&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5d8d27,_0x3b251c]of _0x33001c){const _0x345b9b=this['_baseRoots']['get'](_0x3b251c['rootName']),_0x2aca5d=this['_diffRoots']['get'](_0x3b251c['rootName']),_0x55c110=new vt(this['_fixPosition'](_0x3b251c['start'],_0x345b9b),this['_fixPosition'](_0x3b251c['end'],_0x345b9b)),_0x5d4a75=this['_fixRange'](_0x55c110,_0x2aca5d);_0x345b9b['markers']['set'](_0x5d8d27,_0x55c110),this['_markers']['set'](_0x5d8d27,_0x5d4a75);}this['_applyOperations'](_0xfdee6a,_0x4a1574,_0x598a12);}['_applyOperations'](_0x475edd,_0x2fbf2a,_0x169de9){for(const _0x5291c4 of this['source']['getOperations'](_0x475edd,_0x2fbf2a))this['_handleOperation'](_0x5291c4,_0x169de9);for(const _0x4e07c2 of this['_diffRoots']['values']())_0x4e07c2['markers']['clear']();for(const [_0x4b63bd,_0x40dacc]of this['_markers']){this['_diffRoots']['get'](_0x40dacc['root']['rootName'])['markers']['set'](_0x4b63bd,_0x40dacc['clone']());}const _0xccda6b=new Map(),_0x12c4c6=new Map();for(const [_0x5cd385,_0x2908ad]of this['_diffRoots'])_0xccda6b['set'](_0x5cd385,q(_0x2908ad)),_0x12c4c6['set'](_0x5cd385,this['_diffRootsAttributes']['get'](_0x5cd385));this['_saveMetaData'](_0x2fbf2a,_0xccda6b,this['_markers'],_0x12c4c6);}['_getPreviousFrom'](_0x5e395f){const _0x293033=Array['from'](this['_savedMetaData']['keys']());_0x293033['sort']((_0x233a8c,_0x32c36f)=>_0x233a8c-_0x32c36f),_0x293033['reverse']();for(const _0x159336 of _0x293033)if(_0x159336<_0x5e395f)return _0x159336;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1ba17e,_0x1bda43){const _0x4e881b=Array['from'](_0x1bda43['markers'])['map'](([_0x2613ca,_0x3f0ce0])=>[_0x2613ca,this['_fixRange'](_0x3f0ce0,_0x1ba17e)]);_0x1ba17e['markers']=new Map(_0x4e881b);}['_transformMarkers'](_0x5e1dc2){for(const _0x33c2f0 of this['_markers']['values']()){const _0x2d5f31=_0x33c2f0['getTransformedByOperation'](_0x5e1dc2),_0x444456=vt['_createFromRanges'](_0x2d5f31);_0x33c2f0['start']=_0x444456['start'],_0x33c2f0['end']=_0x444456['end'];}}['_handleOperation'](_0x3f6b1c,_0x19e22c){if('addRoot'==_0x3f6b1c['type']||'detachRoot'==_0x3f6b1c['type'])return void this['_handleRootOperation'](_0x3f6b1c,_0x19e22c);if('insert'==_0x3f6b1c['type']){const _0x39d20d=_0x3f6b1c['position']['root']['rootName'];this['_diffRoots']['has'](_0x39d20d)||(this['_diffRoots']['set'](_0x39d20d,G(_0x39d20d,!0x0)),this['_diffRootsAttributes']['set'](_0x39d20d,{}),_0x19e22c&&this['_idsRoots']['set'](_0x39d20d,G(_0x39d20d,!0x0)));}else{if('addRootAttribute'==_0x3f6b1c['type']||'removeRootAttribute'==_0x3f6b1c['type']||'changeRootAttribute'==_0x3f6b1c['type'])return void this['_handleRootAttributeOperation'](_0x3f6b1c);}const _0x236b00=this['_cloneOperation'](_0x3f6b1c,this['_diffRoots']);if('marker'!==_0x3f6b1c['type']&&(_0x236b00['_execute'](),this['_transformMarkers'](_0x236b00)),_0x19e22c)switch(_0x236b00['type']){case'insert':this['_handleInsertOperation'](_0x3f6b1c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3f6b1c);break;case'merge':this['_handleMergeOperation'](_0x3f6b1c);break;case'split':this['_handleSplitOperation'](_0x3f6b1c);break;case'marker':this['_handleMarkerOperation'](_0x3f6b1c);}}['_cloneOperation'](_0xe20c0f,_0x256e0){const _0x120ebd=_0xe20c0f['clone']();return _0x120ebd['_authorId']=_0xe20c0f['_authorId'],this['_fixOperation'](_0x120ebd,_0x256e0),_0x120ebd;}['_getBaseVids'](_0x4e5291){return _0x4e5291['map'](_0x3d0ac4=>{const _0x2f5fe7=this['_getVidAttributeName'](_0x3d0ac4);return Number(_0x3d0ac4['item']['getAttribute'](_0x2f5fe7));});}['_generateTape'](_0x402216,_0x101734){if(_0x402216['is']('element','$text'))_0x101734['push']({'item':_0x402216,'type':'text'});else{_0x402216['is']('element')&&_0x101734['push']({'item':_0x402216,'type':'elementStart'});for(const _0x31b072 of _0x402216['getChildren']())this['_generateTape'](_0x31b072,_0x101734);_0x402216['is']('element')&&_0x101734['push']({'item':_0x402216,'type':'elementEnd'});}return _0x101734;}['_getState'](){const _0x4e7ef=new Map(this['_touched']),_0x580a82=new Map(_0x4e7ef),_0x400d10=new Map(),_0x521bbb={'insertions':{},'deletions':{}},_0x5a8761={'insertions':{},'deletions':{}},_0xf9efd0=new Map(),_0x284546=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x284546['delete']('$graveyard');for(const _0x586e6e of _0x284546){const _0x150422=this['_diffRoots']['get'](_0x586e6e)||G(_0x586e6e,!0x1),_0x5f2930=this['_baseRoots']['get'](_0x586e6e)||G(_0x586e6e,!0x1);_0x150422['isAttached']()||_0x5f2930['isAttached']()?(_0x521bbb['insertions'][_0x586e6e]=q(_0x150422),_0x521bbb['deletions'][_0x586e6e]=q(_0x5f2930),this['_copyMarkers'](_0x521bbb['deletions'][_0x586e6e],_0x5f2930),this['_copyMarkers'](_0x521bbb['insertions'][_0x586e6e],_0x150422),_0x5a8761['insertions'][_0x586e6e]=this['_generateTape'](this['_idsRoots']['get'](_0x586e6e),[]),_0x5a8761['deletions'][_0x586e6e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x586e6e)||G(_0x586e6e,!0x1),[])):_0x284546['delete'](_0x586e6e);}for(const _0xb38b4d of _0x284546){const _0x2ef266=_0x5a8761['insertions'][_0xb38b4d];for(const _0x1cb82b of _0x2ef266){const _0x446eb3=this['_getVidAttributeName'](_0x1cb82b),_0x2f93b3=_0x1cb82b['item']['getAttribute'](_0x446eb3);_0x580a82['delete'](_0x2f93b3),_0x2f93b3>=this['_startingRevisionId']&&_0x400d10['set'](_0x2f93b3,_0x4e7ef['get'](_0x2f93b3));}}for(const _0x56a62c of _0x284546){const _0x1de336=_0x5a8761['insertions'][_0x56a62c],_0x421915=this['_getBaseVids'](_0x5a8761['deletions'][_0x56a62c]);let _0xb5934b=0x0;for(const _0x2f2e98 of _0x1de336){const _0xeab17e=this['_getVidAttributeName'](_0x2f2e98),_0x12fc31=_0x2f2e98['item']['getAttribute'](_0xeab17e);if(!_0x400d10['has'](_0x12fc31)&&!_0xf9efd0['has'](_0x12fc31)){if(_0x580a82['has'](_0x12fc31))_0xb5934b++;else{if(_0x12fc31!=_0x421915[_0xb5934b]){const _0xe954c3=_0x4e7ef['get'](_0x12fc31)||_0x4e7ef['get'](_0x421915[_0xb5934b]);for(;_0x12fc31!=_0x421915[_0xb5934b];)_0x580a82['has'](_0x421915[_0xb5934b])||(_0xf9efd0['set'](_0x421915[_0xb5934b],_0xe954c3),_0x4e7ef['set'](_0x421915[_0xb5934b],_0xe954c3)),_0xb5934b++;}_0xb5934b++;}}}}for(const _0xb5fea6 of _0x284546){const _0x55359b=_0x5a8761['insertions'][_0xb5fea6];for(const _0x1e5a08 of _0x55359b){const _0xcce794=this['_getVidAttributeName'](_0x1e5a08),_0x45d536=_0x1e5a08['item']['getAttribute'](_0xcce794);if(_0xf9efd0['has'](_0x45d536)){const _0x1de521=_0xf9efd0['get'](_0x45d536);_0x580a82['has'](_0x45d536)||_0x580a82['set'](_0x45d536,{..._0x1de521}),_0x400d10['set'](_0x45d536,{..._0x1de521});}}}for(const _0x565630 of _0x580a82['keys']())_0x565630>=this['_startingRevisionId']&&_0x580a82['delete'](_0x565630);const _0x47249a=new Map();for(const _0x5971d5 of _0x284546){let _0x6a27c2=_0x5a8761['insertions'][_0x5971d5];for(const _0x5b4c15 of _0x6a27c2)if(_0x5b4c15['item']['is']('element','tableCell')){const _0x14415a=this['_getVidAttributeName'](_0x5b4c15),_0x23a398=_0x5b4c15['item']['getAttribute'](_0x14415a);if(_0x400d10['has'](_0x23a398)){const _0x456e07=_0x5b4c15['item']['parent']['parent']['getAttribute']('vid_start'),_0x27b5c8=_0x47249a['get'](_0x456e07)||new Set();_0x27b5c8['add'](_0x400d10['get'](_0x23a398)['userId']),_0x47249a['set'](_0x456e07,_0x27b5c8);}}_0x6a27c2=_0x5a8761['deletions'][_0x5971d5];for(const _0x125125 of _0x6a27c2)if(_0x125125['item']['is']('element','tableCell')){const _0x3e7b88=this['_getVidAttributeName'](_0x125125),_0x5cb70e=_0x125125['item']['getAttribute'](_0x3e7b88);if(_0x580a82['has'](_0x5cb70e)){const _0x19525d=_0x125125['item']['parent']['parent']['getAttribute']('vid_start'),_0x229e71=_0x47249a['get'](_0x19525d)||new Set();_0x229e71['add'](_0x580a82['get'](_0x5cb70e)['userId']),_0x47249a['set'](_0x19525d,_0x229e71);}}for(const _0x57ee05 of _0x47249a['keys']())(_0x400d10['has'](_0x57ee05)||_0x580a82['has'](_0x57ee05))&&_0x47249a['delete'](_0x57ee05);}for(const _0xd9f845 of _0x284546){const _0x63bfc0=_0x5a8761['insertions'][_0xd9f845];let _0x169c37=null,_0x1e579e=null;for(const _0x29cbbb of _0x63bfc0){const _0x495875=this['_getVidAttributeName'](_0x29cbbb),_0x471576=_0x29cbbb['item']['getAttribute'](_0x495875),_0x41089d=_0x47249a['get'](_0x471576);_0x41089d&&'elementStart'==_0x29cbbb['type']&&(_0x169c37=Array['from'](_0x41089d)[0x0],_0x1e579e=_0x29cbbb['item']['getAttribute']('vid_end')),_0x169c37&&(_0x580a82['set'](_0x471576,{'userId':_0x169c37}),_0x400d10['set'](_0x471576,{'userId':_0x169c37})),_0x471576==_0x1e579e&&(_0x169c37=null,_0x1e579e=null);}}const _0x5aee55={},_0x1c5265=new Set();for(const _0x57a484 of _0x284546){const _0x408d03=_0x521bbb['deletions'][_0x57a484],_0x52a4e4=_0x521bbb['insertions'][_0x57a484];for(const {userId:_0x319038}of this['_touchedMarkers']['values']())null!==_0x319038&&_0x1c5265['add'](_0x319038);for(const {userId:_0xf4131b}of this['_touchedRoots']['values']())null!==_0xf4131b&&_0x1c5265['add'](_0xf4131b);this['_markChanges'](_0x52a4e4,_0x5a8761['insertions'][_0x57a484],_0x400d10,'insertion',_0x1c5265),this['_markChanges'](_0x408d03,_0x5a8761['deletions'][_0x57a484],_0x580a82,'deletion',_0x1c5265),_0x5aee55[_0x57a484]={'insertions':this['_prepareViewToSave'](_0x52a4e4),'deletions':this['_prepareViewToSave'](_0x408d03),'attachChange':this['_touchedRoots']['get'](_0x57a484)||null,'attributesBefore':_0x250b31(this['_baseRootsAttributes']['get'](_0x57a484))||{},'attributesAfter':_0x250b31(this['_diffRootsAttributes']['get'](_0x57a484))};}return{'diffData':_0x5aee55,'authorsIds':Array['from'](_0x1c5265)};}['_processRootBeforeSave'](_0x121e68){for(const [,_0x5395e6]of _0x121e68['markers']){const _0x1b6a8a=_0x5395e6['start']['getAncestors']()['filter'](_0x3932bd=>'tableCell'==_0x3932bd['name']);for(const _0x589e6c of _0x1b6a8a)0x1==_0x589e6c['childCount']&&_0x589e6c['getChild'](0x0)['is']('element','paragraph')&&_0x589e6c['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x33eb10){this['_processRootBeforeSave'](_0x33eb10);const _0x3b1a54=this['editor']['data']['toView'](_0x33eb10,{}),_0x267944=Array['from'](_0x3b1a54['getChildren']())['map'](_0x38d92e=>this['_getViewJson'](_0x38d92e));return JSON['stringify'](_0x267944);}['_getViewJson'](_0x3db203){if(_0x3db203['is']('$text'))return _0x3db203['data'];{const _0x32c49e=_0x3db203;return{'type':Object['keys'](T)['find'](_0xe9874f=>_0x3db203 instanceof T[_0xe9874f]),'name':_0x32c49e['name'],'attributes':Array['from'](_0x32c49e['getAttributes']()),'children':Array['from'](_0x32c49e['getChildren']())['map'](_0x561b4c=>this['_getViewJson'](_0x561b4c))};}}['_markChanges'](_0x5e333c,_0x12acfd,_0x239bdf,_0x1bdf1b,_0x5de592){let _0x10561b=null,_0x5054c0=null,_0xc61b50=0x0;const _0xd8f19a=this['editor']['model'];for(let _0x54d54c=0x0;_0x54d54c<_0x12acfd['length'];_0x54d54c++){const _0x4aa1ca=this['_getVidAttributeName'](_0x12acfd[_0x54d54c]),_0x2ed3bc=_0x12acfd[_0x54d54c]['item']['getAttribute'](_0x4aa1ca),_0x500635=_0x239bdf['get'](_0x2ed3bc),_0x1311f9=_0x54d54c==_0x12acfd['length']-0x1;(!_0x10561b&&_0x500635&&(_0x10561b=_0x500635,_0x5054c0=_0x12acfd[_0x54d54c]),_0x10561b&&(!_0x500635||_0x500635['userId']!=_0x10561b['userId']))&&(_0x532e67(_0x500635,L(_0x5054c0,_0x5e333c,_0xd8f19a),L(_0x12acfd[_0x54d54c],_0x5e333c,_0xd8f19a)),_0x10561b=_0x500635||null,_0x5054c0=_0x500635?_0x12acfd[_0x54d54c]:null),_0x10561b&&_0x1311f9&&_0x532e67(_0x500635,L(_0x5054c0,_0x5e333c,_0xd8f19a),W(_0x12acfd[_0x54d54c],_0x5e333c,_0xd8f19a));}function _0x532e67(_0x4aac2d,_0xa8118,_0x2cd65d){const _0x151036=_0x10561b['userId'],_0x58dd6a='revision:'+_0x1bdf1b+':'+_0x151036+':'+_0xc61b50++,_0x56e638=_0xd8f19a['createRange'](_0xa8118,_0x2cd65d);_0x5e333c['markers']['set'](_0x58dd6a,_0x56e638),null!==_0x151036&&_0x5de592['add'](_0x151036);}}['_getVidAttributeName'](_0x4f0f3e){switch(_0x4f0f3e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1ded95,_0x147905){_0x1ded95['baseVersion']=null;for(const _0x1319c4 in _0x1ded95){const _0x3e55a0=_0x1ded95[_0x1319c4];if(_0x3e55a0 instanceof gt){const _0x594909=_0x147905['get'](_0x3e55a0['root']['rootName']);_0x1ded95[_0x1319c4]=this['_fixPosition'](_0x3e55a0,_0x594909);}if(_0x3e55a0 instanceof vt){const _0x4ebec9=_0x147905['get'](_0x3e55a0['root']['rootName']);_0x1ded95[_0x1319c4]=this['_fixRange'](_0x3e55a0,_0x4ebec9);}'root'===_0x1319c4&&(_0x1ded95['root']=_0x147905['get'](_0x1ded95['root']['rootName']));}}['_fixRange'](_0x5e866d,_0x28e7ac){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5e866d['start'],_0x28e7ac),this['_fixPosition'](_0x5e866d['end'],_0x28e7ac));}['_fixPosition'](_0x3c25d5,_0x4ed854){return this['editor']['model']['createPositionFromPath'](_0x4ed854,_0x3c25d5['path'],_0x3c25d5['stickiness']);}['_handleInsertOperation'](_0x2c64fb){const _0x4171b2=this['_idsRoots']['get'](_0x2c64fb['position']['root']['rootName']),_0x2869c1=this['_fixPosition'](_0x2c64fb['position'],_0x4171b2),_0x449bc1=null===_0x2c64fb['_authorId']?null:_0x2c64fb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x552c71=_0x2869c1['parent'],_0x1bd316=this['_revisionId'],_0x1a30a2=[];for(const _0x2e751a of _0x2c64fb['nodes'])if(_0x2e751a['is']('element'))_0x1a30a2['push'](this['_makeIdsRoot'](_0x2e751a));else{for(let _0xa5967=0x0;_0xa5967<_0x2e751a['offsetSize'];_0xa5967++)_0x1a30a2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2ad6fa=this['_revisionId'];for(let _0x5658d3=_0x1bd316;_0x5658d3<_0x2ad6fa;_0x5658d3++)this['_touched']['set'](_0x5658d3,{'userId':_0x449bc1});_0x552c71['_insertChild'](_0x2869c1['offset'],_0x1a30a2);}['_handleMoveOperation'](_0x5e5089){(_0x5e5089=this['_cloneOperation'](_0x5e5089,this['_idsRoots']))['_execute']();const _0x3d59f4=null===_0x5e5089['_authorId']?null:_0x5e5089['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e1c8b=_0x5e5089['getMovedRangeStart'](),_0x55daf2=_0x1e1c8b['parent'],_0x5a558e=_0x1e1c8b['offset'];!function _0x523dcd(_0x58ce21,_0x54e8ae,_0x204483,_0x5eec6f){for(let _0x85871b=_0x204483;_0x85871b<_0x5eec6f;_0x85871b++){const _0x4815f7=_0x54e8ae['getChild'](_0x85871b);_0x4815f7['is']('element','$text')?_0x58ce21['set'](_0x4815f7['getAttribute']('vid'),{'userId':_0x3d59f4}):(_0x58ce21['set'](_0x4815f7['getAttribute']('vid_start'),{'userId':_0x3d59f4}),_0x523dcd(_0x58ce21,_0x4815f7,0x0,_0x4815f7['childCount']),_0x58ce21['set'](_0x4815f7['getAttribute']('vid_end'),{'userId':_0x3d59f4}));}}(this['_touched'],_0x55daf2,_0x5a558e,_0x5a558e+_0x5e5089['howMany']);}['_handleMergeOperation'](_0x4b84e1){const _0x522d2f=null===(_0x4b84e1=this['_cloneOperation'](_0x4b84e1,this['_idsRoots']))['_authorId']?null:_0x4b84e1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e0ad8=_0x4b84e1['targetPosition']['parent'],_0x5a1604=_0x4b84e1['sourcePosition']['parent'],_0x3605a8=_0x3e0ad8['getAttribute']('vid_end'),_0x272bb0=_0x5a1604['getAttribute']('vid_start');_0x3e0ad8['_setAttribute']('vid_end',_0x5a1604['getAttribute']('vid_end')),_0x5a1604['_setAttribute']('vid_end',_0x3605a8),this['_touched']['set'](_0x272bb0,{'userId':_0x522d2f}),this['_touched']['set'](_0x3605a8,{'userId':_0x522d2f}),_0x4b84e1['_execute']();}['_handleSplitOperation'](_0x5a966b){const _0x5a75f3=null===(_0x5a966b=this['_cloneOperation'](_0x5a966b,this['_idsRoots']))['_authorId']?null:_0x5a966b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5ab50e=_0x5a966b['graveyardPosition'],_0x128ff8=_0x5a966b['splitPosition']['parent'];_0x5a966b['_execute']();const _0x4949ad=_0x128ff8['getAttribute']('vid_end'),_0x13a5b7=_0x5a966b['insertionPosition']['nodeAfter'];if(_0x5ab50e){const _0x18b6fa=_0x13a5b7['getAttribute']('vid_end'),_0x1d7275=_0x128ff8['getAttribute']('vid_end');_0x128ff8['_setAttribute']('vid_end',_0x18b6fa),_0x13a5b7['_setAttribute']('vid_end',_0x1d7275),this['_touched']['set'](_0x128ff8['getAttribute']('vid_end'),{'userId':_0x5a75f3}),this['_touched']['set'](_0x13a5b7['getAttribute']('vid_start'),{'userId':_0x5a75f3});}else{const _0x5ccd57=this['_revisionId']++,_0x53d41d=this['_revisionId']++;_0x128ff8['_setAttribute']('vid_end',_0x5ccd57),_0x13a5b7['_setAttribute']('vid_start',_0x53d41d),_0x13a5b7['_setAttribute']('vid_end',_0x4949ad),this['_touched']['set'](_0x5ccd57,{'userId':_0x5a75f3}),this['_touched']['set'](_0x53d41d,{'userId':_0x5a75f3});}}['_handleMarkerOperation'](_0x14191f){if(!_0x14191f['affectsData'])return;const _0x1e7ce2=(_0x14191f=this['_cloneOperation'](_0x14191f,this['_diffRoots']))['oldRange']?_0x14191f['oldRange']['root']:null,_0x293f72=_0x14191f['newRange']?_0x14191f['newRange']['root']:null;_0x1e7ce2&&this['_markers']['delete'](_0x14191f['name']),_0x293f72&&this['_markers']['set'](_0x14191f['name'],_0x14191f['newRange']['clone']());const _0x517649=null===_0x14191f['_authorId']?null:_0x14191f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xc6f438=_0x14191f['name'];if(!this['_touchedMarkers']['has'](_0xc6f438))return void this['_touchedMarkers']['set'](_0xc6f438,{'range':_0x14191f['oldRange'],'userId':_0x517649});const _0x11aa91=this['_touchedMarkers']['get'](_0xc6f438),_0x520f3a=_0x11aa91['range'],_0x5c0c6b=_0x14191f['newRange'];null==_0x520f3a&&null==_0x5c0c6b||_0x520f3a&&_0x5c0c6b&&_0x520f3a['isEqual'](_0x5c0c6b)?this['_touchedMarkers']['delete'](_0x14191f['name']):_0x11aa91['userId']=_0x517649;}['_handleRootOperation'](_0x45e94d,_0x374bc2){this['_diffRoots']['has'](_0x45e94d['rootName'])?this['_diffRoots']['get'](_0x45e94d['rootName'])['_isAttached']=_0x45e94d['isAdd']:(this['_diffRoots']['set'](_0x45e94d['rootName'],G(_0x45e94d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x45e94d['rootName'],{}),_0x374bc2&&this['_idsRoots']['set'](_0x45e94d['rootName'],G(_0x45e94d['rootName'],!0x0)));const _0x4a303d=null===_0x45e94d['_authorId']?null:_0x45e94d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x159d65=this['_touchedRoots']['get'](_0x45e94d['rootName']);_0x159d65&&_0x159d65['userId']===_0x4a303d?this['_touchedRoots']['delete'](_0x45e94d['rootName']):this['_touchedRoots']['set'](_0x45e94d['rootName'],{'userId':_0x4a303d,'isAttached':_0x45e94d['isAdd']});}['_handleRootAttributeOperation'](_0x46a5ef){const _0x264e71=this['_diffRootsAttributes']['get'](_0x46a5ef['root']['rootName']);null===_0x46a5ef['newValue']?delete _0x264e71[_0x46a5ef['key']]:_0x264e71[_0x46a5ef['key']]=_0x46a5ef['newValue'];}}function q(_0x10340a){const _0x1284b3=G(_0x10340a['rootName'],_0x10340a['isAttached']());for(const _0x448385 of _0x10340a['getChildren']()){const _0x2f817e=_0x448385['_clone'](!0x0);_0x1284b3['_appendChild'](_0x2f817e);}return _0x1284b3;}function G(_0x224742,_0x5c3c03=!0x0){const _0x102b15=new wt();return _0x102b15['rootName']=_0x224742,_0x102b15['_isAttached']=_0x5c3c03,_0x102b15['isAttached']=()=>_0x102b15['_isAttached'],_0x102b15;}function L(_0xe1bb5f,_0x35bfab,_0x3253ef){const _0x52d05c='elementEnd'==_0xe1bb5f['type']?_0x3253ef['createPositionAt'](_0xe1bb5f['item'],'end'):_0x3253ef['createPositionBefore'](_0xe1bb5f['item']);return _0x3253ef['createPositionFromPath'](_0x35bfab,_0x52d05c['path'],_0x52d05c['stickiness']);}function W(_0x138128,_0x5d59d9,_0xd960c9){const _0x1e7229='elementStart'==_0x138128['type']?_0xd960c9['createPositionAt'](_0x138128['item'],0x0):_0xd960c9['createPositionAfter'](_0x138128['item']);return _0xd960c9['createPositionFromPath'](_0x5d59d9,_0x1e7229['path'],_0x1e7229['stickiness']);}class ns extends _0x10f811{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x227f53,_0x31e918){super(_0x227f53),this['focusTracker']=new _0x47aa2(),this['keystrokes']=new _0x1e635a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x31e918),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'](),_0x5b31b2({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3f212f=_0x3d458f=>_0x3d458f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f212f),this['keystrokes']['set']('arrowleft',_0x3f212f),this['keystrokes']['set']('arrowup',_0x3f212f),this['keystrokes']['set']('arrowdown',_0x3f212f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x35af8c){this['revisionNameInputView']['fieldView']['element']['value']=_0x35af8c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5f190d){const _0x2dcd76=new at(this['locale'],_0x3dce06),_0x244dbf=_0x2dcd76['fieldView'];_0x244dbf['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xefadb5=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5f190d&&(_0xefadb5+='\x20('+y(this['locale'],'optional')+')'),(_0x2dcd76['label']=_0xefadb5,_0x244dbf['on']('input',()=>{this['revisionNameInputValue']=_0x244dbf['element']['value']['trim']();}),_0x2dcd76);}}class u extends _0x6c42b7{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2413bd=this['editor'],_0xd5c65d=_0x2413bd['plugins']['get']('RevisionTracker');_0x2413bd['ui']['componentFactory']['add']('revisionHistory',_0x21e622=>{const _0x2b0751=_0x372cd7(_0x21e622),_0x32fcf0=_0x2b0751['panelView']['children'],_0x404738=new te(_0x21e622),_0x5d003f=new _0x14b2aa(_0x21e622),_0x2c3ae6=new _0x55b2f4(_0x21e622),_0x32e4dc=new _0x14b2aa(_0x21e622),_0xb7918=new _0x55b2f4(_0x21e622);return _0x2b0751['bind']('isEnabled')['to'](_0xd5c65d,'isReady',_0xd5c65d,'isEnabled',_0x2413bd,'isReadOnly',(_0x5b2c39,_0x5f309f,_0x393987)=>_0x5b2c39&&_0x5f309f&&!_0x393987),_0x2b0751['buttonView']['set']({'icon':_0x5c300c['history'],'label':y(_0x21e622,'Revision\x20history'),'tooltip':!0x0}),_0x2c3ae6['set']({'label':y(_0x21e622,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2c3ae6['bind']('isEnabled')['to'](_0xd5c65d,'isReady',_0xd5c65d,'isEnabled',_0x2413bd,'isReadOnly',(_0x2613ea,_0x16995f,_0x36edff)=>_0x2613ea&&_0x16995f&&!_0x36edff),_0x2c3ae6['on']('execute',()=>this['_showDialog']()),_0xb7918['set']({'label':y(_0x21e622,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xb7918['bind']('isEnabled')['to'](_0xd5c65d,'isReady',_0x2413bd,'isReadOnly',(_0xe8d417,_0x2e535d)=>_0xe8d417&&!_0x2e535d),_0xb7918['on']('execute',()=>{_0x2413bd['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x2b0751['isOpen']=!0x1,_0x2413bd['editing']['view']['focus']();}),_0x5d003f['children']['add'](_0x2c3ae6),_0x32e4dc['children']['add'](_0xb7918),_0x404738['role']='menu',_0x404738['items']['addMany']([_0x5d003f,_0x32e4dc]),_0x32fcf0['add'](_0x404738),_0x2b0751;}),_0x2413bd['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x456f5a=this['editor'],_0x5bdcec=_0x456f5a['locale'],_0x27d3ce=new _0x4ab074(_0x5bdcec),_0x1476b8=new _0x35b9c6(_0x5bdcec);_0x27d3ce['buttonView']['set']({'icon':_0x5c300c['history'],'label':y(_0x5bdcec,'Revision\x20history')});const _0x38431b=new _0x12a026(_0x5bdcec,_0x27d3ce),_0x53a48e=new _0x2226ec(_0x5bdcec);_0x53a48e['set']({'label':y(_0x5bdcec,'Save\x20current\x20revision')}),_0x53a48e['delegate']('execute')['to'](_0x27d3ce),_0x53a48e['on']('execute',()=>{this['_showDialog']();}),_0x38431b['children']['add'](_0x53a48e),_0x1476b8['items']['add'](_0x38431b);const _0x34b72d=new _0x12a026(_0x5bdcec,_0x27d3ce),_0x44db0d=new _0x2226ec(_0x5bdcec);return _0x44db0d['set']({'label':y(_0x5bdcec,'Open\x20revision\x20history')}),_0x44db0d['delegate']('execute')['to'](_0x27d3ce),_0x44db0d['on']('execute',()=>{_0x456f5a['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x34b72d['children']['add'](_0x44db0d),_0x1476b8['items']['add'](_0x34b72d),_0x27d3ce['panelView']['children']['add'](_0x1476b8),_0x27d3ce;}['_showDialog'](){const _0x32a898=this['editor'],_0x4a1094=_0x32a898['locale'],t=_0x4a1094['t'],_0x50478c=_0x32a898['plugins']['get']('Dialog'),_0x243cd8=_0x32a898['plugins']['get']('RevisionTracker');function _0x5adfa3(_0x2c4b76){_0x32a898['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2c4b76['revisionName']?_0x2c4b76['revisionNameInputView']['errorText']=y(_0x4a1094,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x32a898['plugins']['get'](l)['saveRevision']({'name':_0x2c4b76['revisionName']}),_0x50478c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5adfa3(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x50478c['show']({'id':'revisionSave','title':y(_0x4a1094,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x50478c['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x51c9c4){_0x51c9c4['bind']('isEnabled')['to'](_0x243cd8,'isReady',_0x243cd8,'isEnabled',_0x32a898,'isReadOnly',(_0x15fe83,_0x302e34,_0x336bbb)=>_0x15fe83&&_0x302e34&&!_0x336bbb);},'onExecute':()=>_0x5adfa3(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x8bbac2=this['editor'],_0x372974=_0x8bbac2['locale'];this['_saveRevisionFormView']=new ns(_0x372974,_0x8bbac2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x10f811{['changeId'];['_model'];constructor(_0x1157ae,_0x43653c){super(_0x1157ae),this['_model']=_0x43653c,this['changeId']=_0x43653c['id'];const _0x3618ed=this['bindTemplate'],_0x448efa=y(_0x1157ae,_0x43653c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x43653c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x43653c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3618ed['to']('type',_0x4acf37=>'ck-revision-change__'+_0x4acf37)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x448efa}]},{'text':'\x20'+_0x43653c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x12f4af(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x511689){super(),this['id']=_0x511689['id']||_0x59ba44(),this['author']=_0x511689['author'],this['type']=_0x511689['type'],this['data']=_0x511689['data']||{},this['rootName']=_0x511689['rootName'],this['set']('createdAt',_0x511689['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(_0x513df8,_0x31f22a){this['newRevisionId']=_0x513df8,this['oldRevisionId']=_0x31f22a,this['changes']=new _0x30789c();}['_setChanges'](_0x185d35){for(const _0x577ebc of _0x185d35)this['changes']['add'](_0x577ebc);}}const tt={'c':_0x4f5f3c,'a':_0x3fb721,'e':_0x30d21a,'r':_0x4056b0,'u':_0x260ad3};class d extends _0x6c42b7{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5c82f8,_0x1579a2,A];}constructor(_0x375d9a){super(_0x375d9a),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',(_0x3a5a41,_0x317542,_0xec0eee)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x15bf92=>{for(const _0x35a193 of this['editor']['editing']['view']['document']['roots'])_0xec0eee?_0x15bf92['removeClass']('ck-editor__editable__overlay',_0x35a193):_0x15bf92['addClass']('ck-editor__editable__overlay',_0x35a193);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5359ff=>null!==_0x5359ff),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1a764d,_0x2e8708,_0xe7eb2f)=>_0x1a764d&&_0xe7eb2f?_0x2e8708['changes']['getIndex'](_0xe7eb2f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x49f878,_0x116c4f)=>_0x49f878?_0x116c4f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1579a2);}['init'](){const _0xe891a2=this['editor'],_0x47840e=new yt(_0xe891a2,{'direction':'backward'}),_0x133bdb=new yt(_0xe891a2,{'direction':'forward'});(_0xe891a2['commands']['add']('showPreviousChange',_0x47840e),_0xe891a2['commands']['add']('showNextChange',_0x133bdb),_0xe891a2['commands']['add']('restoreRevision',new bt(_0xe891a2)),this['on']('change:numberOfChanges',()=>{_0x47840e['refresh'](),_0x133bdb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xe891a2['enableReadOnlyMode']('revision-viewer'),_0xe891a2['plugins']['has']('WidgetToolbarRepository'))&&_0xe891a2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x473451){await this['loadRevisionData'](_0x473451);const _0x305f0c={};for(const _0x10ab65 in _0x473451['diffData']){if(_0x473451['diffData'][_0x10ab65]['attachChange']&&!_0x473451['diffData'][_0x10ab65]['attachChange']['isAttached'])continue;const _0x32f9a3=this['_removeRevisionMarkers'](JSON['parse'](_0x473451['diffData'][_0x10ab65]['insertions'])),_0x2fcbe5=this['editor']['editing']['view']['document'],_0x3eced0=new _0x1f8b9d(_0x2fcbe5,_0x32f9a3['map'](_0x270a13=>this['_getViewObj'](_0x270a13)));this['editor']['data']['processor']['useFillerType']('marked'),_0x305f0c[_0x10ab65]=this['editor']['data']['processor']['toData'](_0x3eced0),this['editor']['data']['processor']['useFillerType']('default');}return _0x305f0c;}async['getRevisionRootsAttributes'](_0x1081f3){await this['loadRevisionData'](_0x1081f3);const _0x43fd3f={};for(const _0xa63261 in _0x1081f3['diffData'])_0x1081f3['diffData'][_0xa63261]['attachChange']&&!_0x1081f3['diffData'][_0xa63261]['attachChange']['isAttached']||(_0x43fd3f[_0xa63261]=_0x1081f3['diffData'][_0xa63261]['attributesAfter']||{});return _0x43fd3f;}['_removeRevisionMarkers'](_0x18ba20){return(_0x18ba20=_0x18ba20['filter'](_0x8414ee=>!_0x8414ee['name']||'revision-start'!==_0x8414ee['name']&&'revision-end'!==_0x8414ee['name']))['forEach'](_0x57fab3=>{'string'!=typeof _0x57fab3&&(_0x57fab3['children']=this['_removeRevisionMarkers'](_0x57fab3['children']),_0x57fab3['attributes']=_0x57fab3['attributes']['filter'](_0x44ecde=>!_0x44ecde[0x0]['startsWith']('data-revision-')));}),_0x18ba20;}async['compare'](_0x1fdcdc,_0x52cf67,_0x3f24e6=!0x1){if(!this['isEnabled'])return;const _0x3d3e8e=this['diff'],_0x3209aa=this['repository'],_0x4d96c0='string'==typeof _0x1fdcdc?_0x3209aa['getRevision'](_0x1fdcdc):_0x1fdcdc,_0x30fa49='string'==typeof _0x52cf67?_0x3209aa['getRevision'](_0x52cf67):_0x52cf67,_0x2e0657=_0x4d96c0['id'],_0x59bfaf=_0x30fa49?_0x30fa49['id']:null;if(!_0x3f24e6&&this['diff']&&this['diff']['newRevisionId']===_0x2e0657&&this['diff']['oldRevisionId']===_0x59bfaf)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2e0657,_0x59bfaf);const _0x426ead=this['_getRevisionsRange'](_0x4d96c0,_0x30fa49,!0x0)['map'](_0x1c12cc=>this['loadRevisionData'](_0x1c12cc));return _0x426ead['push'](new Promise(_0x2fddc0=>{setTimeout(_0x2fddc0,0x14);})),Promise['all'](_0x426ead)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1b6bbe=this['_getDiff'](_0x2e0657,_0x59bfaf);for(const _0x1a849a of _0x1b6bbe['changes'])this['_changeIdToChange']['set'](_0x1a849a['id'],_0x1a849a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x45bc70=>{for(const _0x407858 of this['editor']['model']['document']['getRootNames']())_0x45bc70['detachRoot'](_0x407858);for(const _0x24e553 of Object['keys'](_0x1b6bbe['model'])){const _0x4ffda7=_0x45bc70['addRoot'](_0x24e553);for(const _0x5e157d of Object['keys'](_0x1b6bbe['attributes'][_0x24e553]))_0x45bc70['setAttribute'](_0x5e157d,_0x1b6bbe['attributes'][_0x24e553][_0x5e157d],_0x4ffda7);_0x45bc70['insert'](_0x1b6bbe['model'][_0x24e553],_0x4ffda7,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1b6bbe['changes'])),this['isReady']=!0x0;})['catch'](_0x27a298=>{console['error'](_0x27a298),this['_cleanUp'](),_0x3d3e8e&&(this['diff']=_0x3d3e8e),this['isReady']=!0x0;});}['addRevisionData'](_0x24a59f,_0x52533f){const _0x5d983c=this['repository']['createRevision'](_0x24a59f);return _0x5d983c['on']('_update',(_0x17789b,_0x8fc88,_0x3c7ddd)=>_0x52533f(_0x8fc88,_0x3c7ddd,_0x5d983c)),this['repository']['addRevision'](_0x5d983c),_0x5d983c;}['loadRevisionData'](_0x14b4aa){if(!_0x14b4aa||_0x14b4aa['diffData'])return Promise['resolve']();{const _0x4f9fa7=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4f9fa7,'revisionId':_0x14b4aa['id']})['then'](_0x3fa48c=>{_0x14b4aa['_update']({'diffData':_0x3fa48c['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},_0x179d1e=>{for(const _0x3aa4bc of this['editor']['model']['document']['getRootNames']())_0x179d1e['detachRoot'](_0x3aa4bc);});}['_sortAndFilterDiffChanges'](_0x4deb0d){const _0x1ab77b=[],_0x3a02f3=new Map();for(const _0x3a2e0b of this['editor']['model']['document']['getRootNames']()){const _0x3c698e=this['editor']['editing']['view']['getDomRoot'](_0x3a2e0b);if(!_0x3c698e)continue;const _0x53920b=_0x3c698e['getClientRects']()['item'](0x0);_0x53920b&&(_0x1ab77b['push'](_0x3a2e0b),_0x3a02f3['set'](_0x3a2e0b,_0x53920b));}return _0x1ab77b['sort']((_0x7d59e1,_0x204768)=>{const _0x35c731=_0x3a02f3['get'](_0x7d59e1),_0x11da3d=_0x3a02f3['get'](_0x204768);return _0x35c731['y']-_0x11da3d['y']||_0x35c731['x']-_0x11da3d['x'];}),(_0x4deb0d=_0x4deb0d['filter'](_0x49a3a9=>_0x1ab77b['includes'](_0x49a3a9['rootName'])))['sort']((_0x39b481,_0x192991)=>_0x1ab77b['indexOf'](_0x39b481['rootName'])-_0x1ab77b['indexOf'](_0x192991['rootName'])),_0x4deb0d;}['_makeTape'](_0x2b1f2f){const _0x5410f2=Array['from'](_0x2b1f2f['markers'])['filter'](([_0x1486f3,_0x462b35])=>_0x1486f3['startsWith']('revision:')&&!_0x462b35['isCollapsed']),_0x36aba7=Array['from'](this['editor']['model']['createRangeIn'](_0x2b1f2f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5410f2['length'])for(const _0x25e4a0 of _0x36aba7){const [_0x27deb9,_0x1a517a]=_0x5410f2[0x0],[,_0xa7f223,_0x2b2d43]=_0x27deb9['split'](':');if(_0x1a517a['end']['isEqual'](_0x25e4a0['nextPosition'])&&_0x5410f2['shift'](),(_0x25e4a0['previousPosition']['isEqual'](_0x1a517a['start'])||_0x25e4a0['previousPosition']['isAfter'](_0x1a517a['start']))&&('insertion'==_0xa7f223?_0x25e4a0['isAdded']={'userId':_0x2b2d43}:'deletion'==_0xa7f223&&(_0x25e4a0['isRemoved']={'userId':_0x2b2d43})),0x0==_0x5410f2['length'])break;}return _0x36aba7;}['_refreshStartEndIndex'](_0x35b427){const _0x8029af=new Map();for(let _0x540073=0x0;_0x540073<_0x35b427['length'];_0x540073++)'text'===_0x35b427[_0x540073]['type']?(_0x35b427[_0x540073]['item']['startIndex']=_0x540073,_0x35b427[_0x540073]['item']['endIndex']=_0x540073):('elementStart'===_0x35b427[_0x540073]['type']?_0x35b427[_0x540073]['item']['startIndex']=_0x540073:'elementEnd'===_0x35b427[_0x540073]['type']&&(_0x35b427[_0x540073]['item']['endIndex']=_0x540073),_0x8029af['set'](_0x35b427[_0x540073]['id'],_0x540073));for(const _0x261677 of _0x8029af['values']())'elementStart'===_0x35b427[_0x261677]['type']?_0x35b427[_0x261677]['item']['endIndex']=_0x8029af['get'](_0x35b427[_0x261677]['pairId']):'elementEnd'===_0x35b427[_0x261677]['type']&&(_0x35b427[_0x261677]['item']['startIndex']=_0x8029af['get'](_0x35b427[_0x261677]['pairId']));}['_processTape'](_0x5f2405){for(let _0x4df91a=0x0;_0x4df91a<_0x5f2405['length'];_0x4df91a++){if('elementStart'===_0x5f2405[_0x4df91a]['type'])_0x5f2405[_0x4df91a]['item']['startIndex']=_0x4df91a;else{if('elementEnd'===_0x5f2405[_0x4df91a]['type']){_0x5f2405[_0x4df91a]['item']['endIndex']=_0x4df91a;const _0x19a698=_0x5f2405[_0x4df91a]['item']['startIndex'];_0x5f2405[_0x19a698]['pairId']=_0x5f2405[_0x4df91a]['id'],_0x5f2405[_0x4df91a]['pairId']=_0x5f2405[_0x19a698]['id'];}else _0x5f2405[_0x4df91a]['item']['startIndex']=_0x4df91a,_0x5f2405[_0x4df91a]['item']['endIndex']=_0x4df91a,_0x5f2405[_0x4df91a]['pairId']=null;}_0x5f2405[_0x4df91a]['markersStart']||(_0x5f2405[_0x4df91a]['markersStart']=[],_0x5f2405[_0x4df91a]['markersEnd']=[]);}}['_markInsertions'](_0x496502,_0x523fe6){const _0x44e998=_0x496502['filter'](_0xb631e1=>!_0xb631e1['isAdded']);for(let _0x5cc2c2=0x0;_0x5cc2c2<_0x523fe6['length'];_0x5cc2c2++)_0x523fe6[_0x5cc2c2]['isAdded']&&(_0x44e998[_0x5cc2c2]['isAdded']=_0x523fe6[_0x5cc2c2]['isAdded']);}['_makeModelFromViewString'](_0x469493){const _0xb89fd6=JSON['parse'](_0x469493),_0xb3e01c=this['editor']['editing']['view']['document'],_0x1f8a4a=new _0x1f8b9d(_0xb3e01c,_0xb89fd6['map'](_0x471a49=>this['_getViewObj'](_0x471a49)));return this['editor']['data']['toModel'](_0x1f8a4a);}['_getViewObj'](_0x5ee2ff){const _0x3803c0=this['editor']['editing']['view']['document'];if('string'==typeof _0x5ee2ff)return new _0x3ddc20(_0x3803c0,_0x5ee2ff);{const _0x42a102=_0x5ee2ff['children']['map'](_0x666d1a=>this['_getViewObj'](_0x666d1a));return new(tt[_0x5ee2ff['type']]||_0x22bfd8)(_0x3803c0,_0x5ee2ff['name'],_0x5ee2ff['attributes'],_0x42a102);}}['_getDiff'](_0x552f38,_0x47c3c5=null){const _0x42e1af=this['repository']['getRevision'](_0x552f38),_0x1f6454=_0x47c3c5?this['repository']['getRevision'](_0x47c3c5):null,_0x3e4e23=this['_getRevisionsRange'](_0x42e1af,_0x1f6454),_0x4a73d7=_0x3e4e23[_0x3e4e23['length']-0x1],_0x1a14bb=new Map(),_0x4933b6={'model':{},'attributes':{},'changes':[]},_0x4a5557=new Set(),_0x3ceada=new Map();for(let _0x2b34c6=_0x3e4e23['length']-0x1;_0x2b34c6>=0x0;_0x2b34c6--){const _0x2548f3=_0x3e4e23[_0x2b34c6];for(const _0x2cbbde of Object['keys'](_0x2548f3['diffData']))if(_0x2548f3['diffData'][_0x2cbbde]['attachChange']){const _0x547fda=_0x2548f3['diffData'][_0x2cbbde]['attachChange'];_0x547fda['isAttached']?(_0x4a5557['add'](_0x2cbbde),_0x3ceada['has'](_0x2cbbde)&&_0x3ceada['get'](_0x2cbbde)['userId']==_0x547fda['userId']?_0x3ceada['delete'](_0x2cbbde):_0x3ceada['set'](_0x2cbbde,_0x547fda)):_0x3ceada['has'](_0x2cbbde)?(_0x4a5557['delete'](_0x2cbbde),_0x3ceada['delete'](_0x2cbbde)):(_0x4a5557['add'](_0x2cbbde),_0x3ceada['set'](_0x2cbbde,_0x547fda));}else _0x4a5557['add'](_0x2cbbde);}for(const _0x53fde3 of _0x4a5557){const _0x1a7624=_0x3ceada['has'](_0x53fde3)&&!_0x3ceada['get'](_0x53fde3)['isAttached'];let _0x33ffe4=_0x1a7624?_0x3e4e23['length']-0x1:0x0;const _0x5b745c=_0x1a7624?-0x1:0x1;for(;_0x3e4e23[_0x33ffe4];){const _0x46a506=_0x3e4e23[_0x33ffe4];if(_0x46a506['diffData'][_0x53fde3]){const _0x4fc333=_0x1a7624?_0x46a506['diffData'][_0x53fde3]['attributesBefore']:_0x46a506['diffData'][_0x53fde3]['attributesAfter'];_0x4933b6['attributes'][_0x53fde3]=_0x4fc333?_0x250b31(_0x4fc333):{};break;}_0x33ffe4+=_0x5b745c;}}for(const _0x323706 of _0x3e4e23){_0x323706['model']={};for(const _0x196e1f of _0x323706['authors'])_0x1a14bb['set'](_0x196e1f['id'],_0x196e1f);for(const _0x37cc2c of _0x4a5557){const _0x38c2e9=_0x323706['diffData'][_0x37cc2c]?_0x323706['diffData'][_0x37cc2c]['insertions']:'[]',_0x2122d3=_0x323706['diffData'][_0x37cc2c]?_0x323706['diffData'][_0x37cc2c]['deletions']:'[]';_0x323706['model'][_0x37cc2c]={'insertions':this['_makeModelFromViewString'](_0x38c2e9),'deletions':this['_makeModelFromViewString'](_0x2122d3)};}}for(const _0x39706a of _0x4a5557){let _0x3969c9=null,_0x598ba9=0x0;const _0x4fbaed=new Map(Array['from'](_0x42e1af['model'][_0x39706a]['insertions']['markers'])['filter'](([_0x2eb517])=>!_0x2eb517['startsWith']('revision:')));let _0x4b3701=0x0;for(const _0x24a0dd of _0x3e4e23){const _0x4479bb=this['_makeTape'](_0x24a0dd['model'][_0x39706a]['insertions']);_0x24a0dd==_0x42e1af?(_0x3969c9=_0x4479bb,_0x598ba9=_0x3969c9['length'],_0x3969c9['forEach'](_0x51f75e=>{_0x51f75e['id']=_0x4b3701++;}),this['_processTape'](_0x3969c9)):this['_markInsertions'](_0x3969c9,_0x4479bb);const _0x492d7b=_0x3969c9['filter'](_0xad2b7a=>!_0xad2b7a['isAdded'])['map'](_0x1bfe51=>_0x1bfe51['id']);let _0x2cab79=0x0;const _0x13f9c7=this['_makeTape'](_0x24a0dd['model'][_0x39706a]['deletions']);_0x13f9c7['forEach'](_0x40af5c=>{_0x40af5c['isRemoved']?_0x40af5c['id']=_0x598ba9++:_0x40af5c['id']=_0x492d7b[_0x2cab79++];}),this['_processTape'](_0x13f9c7),this['_setDistance'](_0x3969c9,'isAdded'),this['_setDistance'](_0x13f9c7,'isRemoved'),_0x24a0dd==_0x42e1af&&this['_markMarkers'](_0x3969c9,_0x4fbaed),_0x3969c9=this['_joinTapes'](_0x3969c9,_0x13f9c7),this['_refreshStartEndIndex'](_0x3969c9),this['_setDistance'](_0x3969c9,'isRemoved');}_0x3969c9=_0x3969c9['filter'](_0x5a08d6=>!(_0x5a08d6['isAdded']&&_0x5a08d6['isRemoved']));const _0x25e44=new Map(_0x4a73d7['model'][_0x39706a]['deletions']['markers']),_0x38df21=new Set(_0x4fbaed['keys']());for(const _0x354092 of _0x25e44['keys']())_0x38df21['delete'](_0x354092);this['_markSuggestions'](_0x3969c9,_0x38df21),this['_fixObsoleteTags'](_0x3969c9),_0x3969c9=this['_removeMissingPairs'](_0x3969c9),_0x3969c9=this['_markMismatchedRemovedTags'](_0x3969c9),_0x3969c9=this['_removeUnsupportedChanges'](_0x3969c9);const {root:_0x22f5bc,changes:_0x168ce6}=this['_makeModelFromTape'](_0x3969c9,_0x1a14bb,_0x39706a);_0x4933b6['model'][_0x39706a]=_0x22f5bc;const _0x5a40ae=_0x3ceada['get'](_0x39706a);if(_0x5a40ae){const _0x93f134=_0x1a14bb['get'](_0x5a40ae['userId']),_0x5a7f5b=new r({'author':_0x93f134,'type':_0x5a40ae['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x39706a});_0x168ce6['unshift'](_0x5a7f5b),_0x4933b6['attributes'][_0x39706a]['revisionHistoryAttachChange']=_0x5a7f5b['id'];}_0x4933b6['changes']=_0x4933b6['changes']['concat'](_0x168ce6);}return _0x4933b6;}['_markMarkers'](_0x1646a1,_0x4a73a2){for(let _0x80d73a=0x0;_0x80d73a<_0x1646a1['length'];_0x80d73a++)for(const [_0x2d4bbe,_0x5d221b]of _0x4a73a2)_0x5d221b['start']['isEqual'](_0x1646a1[_0x80d73a]['previousPosition'])&&_0x1646a1[_0x80d73a]['markersStart']['push'](_0x2d4bbe),_0x5d221b['end']['isEqual'](_0x1646a1[_0x80d73a]['nextPosition'])&&_0x1646a1[_0x80d73a]['markersEnd']['push'](_0x2d4bbe);}['_joinTapes'](_0x25b102,_0x5967d7){let _0x5252fa=[],_0x4eab75=0x0,_0x1078bb=0x0;for(;_0x4eab75<_0x25b102['length']||_0x1078bb<_0x5967d7['length'];){const _0x2d8a26=_0x25b102[_0x4eab75]||{},_0x322b65=_0x5967d7[_0x1078bb]||{};if(_0x2d8a26['id']==_0x322b65['id'])_0x4eab75++,_0x1078bb++,_0x5252fa['push'](_0x2d8a26);else{if(_0x322b65['isRemoved']&&_0x2d8a26['isAdded']){const {commonTape:_0x9bafd5,iEnd:_0xa6fc60,jEnd:_0x3b62a9}=this['_threeWayMerge'](_0x25b102,_0x4eab75,_0x5967d7,_0x1078bb);_0x5252fa=_0x5252fa['concat'](_0x9bafd5),_0x4eab75=_0xa6fc60,_0x1078bb=_0x3b62a9;}else _0x322b65['isRemoved']?(_0x1078bb++,_0x5252fa['push'](_0x322b65)):(_0x4eab75++,_0x5252fa['push'](_0x2d8a26));}}return _0x5252fa;}['_markSuggestions'](_0x5771e8,_0x33e71b){const _0x464b84=[];for(let _0x134bf4=0x0;_0x134bf4<_0x5771e8['length'];_0x134bf4++){for(let _0x1be365=0x0;_0x1be365<_0x5771e8[_0x134bf4]['markersStart']['length'];_0x1be365++){const _0x2438cd=_0x5771e8[_0x134bf4]['markersStart'][_0x1be365];if(!_0x33e71b['has'](_0x2438cd))continue;const {group:_0xb43ca5,type:_0x517a9f,authorId:_0x9c3385}=_0x309302(_0x2438cd);'revision-suggestion'!=_0xb43ca5||'insertion'!=_0x517a9f&&'deletion'!=_0x517a9f||(_0x464b84['unshift']({'type':_0x517a9f,'name':_0x2438cd,'userId':_0x9c3385}),_0x5771e8[_0x134bf4]['markersStart']['splice'](_0x1be365,0x1),_0x1be365--);}_0x5536ba(_0x5771e8[_0x134bf4]);for(let _0x4f9e16=0x0;_0x4f9e16<_0x5771e8[_0x134bf4]['markersEnd']['length'];_0x4f9e16++){const _0xbda5f=_0x5771e8[_0x134bf4]['markersEnd'][_0x4f9e16];if(!_0x33e71b['has'](_0xbda5f))continue;const {group:_0x9f309e,type:_0x4e05fa}=_0x309302(_0xbda5f);if('revision-suggestion'!=_0x9f309e||'insertion'!=_0x4e05fa&&'deletion'!=_0x4e05fa)continue;_0x5771e8[_0x134bf4]['markersEnd']['splice'](_0x4f9e16,0x1),_0x4f9e16--;const _0x29cdec=_0x464b84['findIndex'](_0x5a9fa6=>_0x5a9fa6['name']==_0xbda5f);_0x29cdec>-0x1&&_0x464b84['splice'](_0x29cdec,0x1);}}function _0x309302(_0x59cc04){const _0x171805=_0x59cc04['split'](':');return{'group':_0x171805[0x0],'type':_0x171805[0x1],'subType':_0x171805['length']>=0x5?_0x171805[0x2]:null,'id':_0x171805['length']<0x5?_0x171805[0x2]:_0x171805[0x3],'authorId':_0x171805['length']<0x5?_0x171805[0x3]:_0x171805[0x4],'markerCount':0x6==_0x171805['length']?_0x171805[0x5]:null};}function _0x5536ba(_0x3200dc){for(let _0x51905e=0x0;_0x51905e<_0x464b84['length'];_0x51905e++){if(_0x3200dc['isAdded']&&'insertion'==_0x464b84[_0x51905e]['type'])return _0x3200dc['isAddSuggestion']=_0x464b84[_0x51905e],void delete _0x3200dc['isAdded'];if(!_0x3200dc['isAdded']&&!_0x3200dc['isRemoved']&&'deletion'==_0x464b84[_0x51905e]['type'])return void(_0x3200dc['isRemoveSuggestion']=_0x464b84[_0x51905e]);}}}['_setDistance'](_0x4e71d1,_0x2558ff){let _0x538688=0x0,_0x297f6f=!0x1;const _0x2c2172=new Map();for(const _0x549772 of _0x4e71d1)_0x549772[_0x2558ff]?_0x297f6f&&(_0x538688++,_0x297f6f=!0x1):(_0x538688++,_0x297f6f=!0x0),_0x2c2172['set'](_0x549772['id'],_0x538688);for(let _0x384196=0x0;_0x384196<_0x4e71d1['length'];_0x384196++){if('isRemoved'==_0x2558ff&&_0x4e71d1[_0x384196]['isAdded']||'isAdded'==_0x2558ff&&_0x4e71d1[_0x384196]['isRemoved'])continue;if('text'==_0x4e71d1[_0x384196]['type']){_0x4e71d1[_0x384196]['distance']=0x0;continue;}const _0x37f9c3=_0x2c2172['get'](_0x4e71d1[_0x384196]['pairId']),_0x46e06a=_0x2c2172['get'](_0x4e71d1[_0x384196]['id']);_0x4e71d1[_0x384196]['distance']=_0x37f9c3-_0x46e06a;}}['_getRevisionsRange'](_0x5e56c1,_0x11dcef,_0x25cbc2=!0x1){const _0x393b22=[];let _0x700fd=this['repository']['getIndex'](_0x5e56c1),_0x4525d7=this['repository']['getIndex'](_0x11dcef);for(-0x1==_0x4525d7&&(_0x4525d7=this['repository']['_revisions']['length'],_0x25cbc2=!0x1);_0x700fd<_0x4525d7;)_0x393b22['push'](this['repository']['getRevision'](_0x700fd)),_0x700fd++;return _0x25cbc2&&_0x393b22['push'](this['repository']['getRevision'](_0x700fd)),_0x393b22;}['_threeWayMerge'](_0x3eeb09,_0x1c3d48,_0x5f57ac,_0x1f7f95){const _0x4195a5=this['editor']['model']['schema'];let _0x15e52e=_0x1c3d48;for(;_0x3eeb09[_0x15e52e]&&_0x3eeb09[_0x15e52e]['isAdded'];)_0x15e52e++;let _0x57fe3e=_0x1f7f95;for(;_0x5f57ac[_0x57fe3e]&&_0x5f57ac[_0x57fe3e]['isRemoved'];)_0x57fe3e++;_0x88bd1d(_0x3eeb09,_0x1c3d48,_0x15e52e),_0x88bd1d(_0x5f57ac,_0x1f7f95,_0x57fe3e);const _0x3c17bb=_0x5f57ac['slice'](_0x1f7f95,_0x57fe3e)['concat'](_0x3eeb09['slice'](_0x1c3d48,_0x15e52e));return _0x3c17bb['sort']((_0x120ecc,_0x4f8673)=>_0x120ecc['side']!=_0x4f8673['side']?_0x120ecc['side']-_0x4f8673['side']:_0x120ecc['level']!=_0x4f8673['level']?_0x120ecc['level']-_0x4f8673['level']:_0x120ecc['distance']!=_0x4f8673['distance']?_0x4f8673['distance']-_0x120ecc['distance']:!!_0x120ecc['isAdded']!=!!_0x4f8673['isAdded']?-0x1==_0x120ecc['side']||0x0==_0x120ecc['side']?_0x120ecc['isAdded']?-0x1:0x1:_0x120ecc['isAdded']?0x1:-0x1:_0x120ecc['index']-_0x4f8673['index']),{'commonTape':_0x3c17bb,'iEnd':_0x15e52e,'jEnd':_0x57fe3e};function _0x88bd1d(_0x4b553a,_0x5525ae,_0xebaa66){let _0x9c30d7=-0x1,_0x20ab0f=Number['POSITIVE_INFINITY'],_0x51a261=!0x0;for(let _0x348c23=_0x5525ae;_0x348c23<_0xebaa66;_0x348c23++)if(_0x4195a5['isInline'](_0x4b553a[_0x348c23]['item'])||(_0x51a261=!0x1),_0x4b553a[_0x348c23]['item']['startIndex']<_0x5525ae&&(_0x9c30d7=_0x348c23),_0x4b553a[_0x348c23]['item']['endIndex']>=_0xebaa66){_0x20ab0f=_0x348c23;break;}_0x51a261&&(_0x9c30d7=_0xebaa66-0x1);for(let _0x1ad745=_0x5525ae;_0x1ad745<_0xebaa66;_0x1ad745++)_0x4b553a[_0x1ad745]['side']=_0x1ad745<=_0x9c30d7?-0x1:_0x1ad745<_0x20ab0f?0x0:0x1,_0x4b553a[_0x1ad745]['index']=_0x1ad745;let _0x2ee372=0x0;for(let _0x2efcb3=_0x5525ae;_0x2efcb3<=_0x9c30d7;_0x2efcb3++)0x0==_0x4b553a[_0x2efcb3]['distance']?_0x4b553a[_0x2efcb3]['level']=_0x2ee372:(_0x2ee372++,_0x4b553a[_0x2efcb3]['level']=_0x2ee372,_0x2ee372++);for(let _0x364792=_0x5525ae;_0x364792<_0xebaa66;_0x364792++)0x0==_0x4b553a[_0x364792]['side']&&(_0x4b553a[_0x364792]['level']=_0x2ee372);_0x2ee372=0x0;for(let _0x376a78=_0xebaa66-0x1;_0x376a78>=_0x20ab0f;_0x376a78--)0x0==_0x4b553a[_0x376a78]['distance']?_0x4b553a[_0x376a78]['level']=_0x2ee372:(_0x2ee372--,_0x4b553a[_0x376a78]['level']=_0x2ee372,_0x2ee372--);}}['_fixObsoleteTags'](_0x1f00c7){const _0x4d7781=new Map(),_0xbc6cad=this['editor']['model']['schema'];for(let _0x47a908=0x1;_0x47a908<_0x1f00c7['length'];_0x47a908++){let _0x5cf56a,_0x8b1475,_0x40e367;const _0x1005b1=_0x1f00c7[_0x47a908],_0x4a42bb=_0x1f00c7[_0x47a908-0x1];if('text'==_0x1005b1['type'])continue;if(_0x1005b1['type']!=_0x4a42bb['type'])continue;if(!_0xbc6cad['isBlock'](_0x4a42bb['item'])||_0xbc6cad['isLimit'](_0x4a42bb['item']))continue;if(!_0xbc6cad['isBlock'](_0x1005b1['item'])||_0xbc6cad['isLimit'](_0x1005b1['item']))continue;if((_0x1f00c7[_0x47a908]['isAdded']||_0x1f00c7[_0x47a908]['isAddSuggestion'])&&_0x1f00c7[_0x47a908-0x1]['isRemoved'])_0x5cf56a=_0x1f00c7[_0x47a908],_0x8b1475=_0x1f00c7[_0x47a908-0x1],_0x40e367=_0x47a908-0x1;else{if(!_0x1f00c7[_0x47a908]['isRemoved']||!_0x1f00c7[_0x47a908-0x1]['isAdded']&&!_0x1f00c7[_0x47a908-0x1]['isAddSuggestion'])continue;_0x5cf56a=_0x1f00c7[_0x47a908-0x1],_0x8b1475=_0x1f00c7[_0x47a908],_0x40e367=_0x47a908;}const _0x124d2f=_0x5cf56a['level']==_0x8b1475['level'],_0x4dd77f=Math['abs'](_0x5cf56a['level'])<Math['abs'](_0x8b1475['level'])&&0x0==_0x8b1475['distance'];(_0x124d2f||_0x4dd77f)&&(_0x4d7781['set'](_0x8b1475['id'],_0x5cf56a['id']),_0x1f00c7['splice'](_0x40e367,0x1),_0x47a908--,_0x5cf56a['isAdded']=!0x1);}for(let _0x2a3175=0x0;_0x2a3175<_0x1f00c7['length'];_0x2a3175++)_0x4d7781['has'](_0x1f00c7[_0x2a3175]['pairId'])&&(_0x1f00c7[_0x2a3175]['pairId']=_0x4d7781['get'](_0x1f00c7[_0x2a3175]['pairId']));}['_removeMissingPairs'](_0x332402){const _0x49ca62=new Set(_0x332402['map'](_0xec77bf=>_0xec77bf['id']));for(let _0x480109=0x0;_0x480109<_0x332402['length'];_0x480109++)_0x49ca62['has'](_0x332402[_0x480109]['pairId'])||0x0==_0x332402[_0x480109]['distance']||(_0x332402[_0x480109]['isIncorrect']=!0x0);return _0x332402['filter'](_0x1bb416=>!_0x1bb416['isIncorrect']);}['_markMismatchedRemovedTags'](_0x14ad8d){const _0x549505=new Set();for(let _0x140e16=0x0;_0x140e16<_0x14ad8d['length'];_0x140e16++){if(_0x549505['has'](_0x14ad8d[_0x140e16]['id'])&&_0x14ad8d[_0x140e16]['isRemoved']&&(_0x14ad8d[_0x140e16]['isIncorrect']=!0x0),_0x14ad8d[_0x140e16]['isIncorrect'])continue;if(0x0==_0x14ad8d[_0x140e16]['distance'])continue;if('elementStart'!=_0x14ad8d[_0x140e16]['type'])continue;if(null==_0x14ad8d[_0x140e16]['pairId'])continue;let _0x525d18=_0x140e16+0x1,_0x39addc=0x0;for(;_0x14ad8d[_0x525d18]['id']!=_0x14ad8d[_0x140e16]['pairId'];)'elementStart'==_0x14ad8d[_0x525d18]['type']?_0x39addc++:'elementEnd'==_0x14ad8d[_0x525d18]['type']&&_0x39addc--,_0x525d18++;if(0x0!=_0x39addc){if(_0x14ad8d[_0x140e16]['isRemoved'])_0x14ad8d[_0x140e16]['isIncorrect']=!0x0;else{for(;_0x525d18!=_0x140e16;)_0x14ad8d[_0x525d18]['isRemoved']&&0x0!=_0x14ad8d[_0x525d18]['distance']&&(_0x14ad8d[_0x525d18]['isIncorrect']=!0x0,_0x549505['add'](_0x14ad8d[_0x525d18]['pairId'])),_0x525d18--;}}}return _0x14ad8d['filter'](_0xa4ed8b=>!_0xa4ed8b['isIncorrect']);}['_removeUnsupportedChanges'](_0x301dfa){const _0x1bd837=this['editor']['model']['schema'];for(let _0x55870a=0x0;_0x55870a<_0x301dfa['length'];_0x55870a++){if(!(_0x301dfa[_0x55870a]['isAdded']||_0x301dfa[_0x55870a]['isAddSuggestion']||_0x301dfa[_0x55870a]['isRemoved']||_0x301dfa[_0x55870a]['isRemoveSuggestion']))continue;if(0x0==_0x301dfa[_0x55870a]['distance'])continue;const _0x38db99=_0x301dfa[_0x55870a]['item'];_0x1bd837['isBlock'](_0x38db99)||_0x1bd837['isLimit'](_0x38db99)||(_0x301dfa[_0x55870a]['isAdded']&&delete _0x301dfa[_0x55870a]['isAdded'],_0x301dfa[_0x55870a]['isAddSuggestion']&&delete _0x301dfa[_0x55870a]['isAddSuggestion'],_0x301dfa[_0x55870a]['isRemoveSuggestion']&&delete _0x301dfa[_0x55870a]['isRemoveSuggestion'],_0x301dfa[_0x55870a]['isRemoved']&&(_0x301dfa[_0x55870a]['isIncorrect']=!0x0));}return _0x301dfa['filter'](_0x5c9c4a=>!_0x5c9c4a['isIncorrect']);}['_makeModelFromTape'](_0x3b6c85,_0x205d27,_0x153724){const _0x14d3a7=new wt(),_0x2921f6=[],_0x2223f6=new Map(),_0xd4108b=this['editor']['model'],_0x8dbc4e=_0xd4108b['schema'],_0x491ff4=[_0x14d3a7],_0x2532a4={},_0x116d57={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4fe499=null;const _0x744b25=[0x0];for(let _0x38854d=0x0;_0x38854d<_0x3b6c85['length'];_0x38854d++){let _0x2169da,_0x3c1321;if('elementStart'===_0x3b6c85[_0x38854d]['type']){_0x2169da=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25);const _0xeba88b=new ft(_0x3b6c85[_0x38854d]['item']['name'],_0x3b6c85[_0x38854d]['item']['getAttributes']());_0x491ff4[0x0]['_appendChild'](_0xeba88b),_0x744b25['push'](0x0),_0x491ff4['unshift'](_0xeba88b),_0x3c1321=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x4fe499=null;}else{if('elementEnd'===_0x3b6c85[_0x38854d]['type'])_0x491ff4['shift'](),_0x2169da=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x744b25['pop'](),_0x744b25[_0x744b25['length']-0x1]++,_0x3c1321=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x4fe499=null;else{if(_0x2169da=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x4fe499&&_0x421306(_0x4fe499,_0x3b6c85[_0x38854d]['item']))_0x4fe499['_data']+=_0x3b6c85[_0x38854d]['item']['data'];else{const _0x38a808=new _t(_0x3b6c85[_0x38854d]['item']['data'],_0x3b6c85[_0x38854d]['item']['getAttributes']());_0x491ff4[0x0]['_appendChild'](_0x38a808),_0x4fe499=_0x38a808;}_0x744b25[_0x744b25['length']-0x1]+=_0x3b6c85[_0x38854d]['item']['offsetSize'],_0x3c1321=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25);}}for(const _0x2fdfdc of _0x3b6c85[_0x38854d]['markersStart'])_0x2223f6['set'](_0x2fdfdc,{'start':_0x2169da,'end':null});_0x3b13e2('isRemoveSuggestion',_0x38854d,_0x2169da,_0x3c1321),_0x3b13e2('isAddSuggestion',_0x38854d,_0x2169da,_0x3c1321),_0x3b13e2('isRemoved',_0x38854d,_0x2169da,_0x3c1321),_0x3b13e2('isAdded',_0x38854d,_0x2169da,_0x3c1321);for(const _0x28c5eb of _0x3b6c85[_0x38854d]['markersEnd']){_0x2223f6['get'](_0x28c5eb)['end']=_0x3c1321;}}for(const [_0x571ede,_0x565cea]of _0x2223f6){const _0x47f260=this['editor']['model']['createRange'](_0x565cea['start'],_0x565cea['end']);_0x14d3a7['markers']['set'](_0x571ede,_0x47f260);}return _0x2921f6['sort']((_0x4160bd,_0x297d6c)=>{const _0x2a5f56=_0x14d3a7['markers']['get']('revision:'+_0x4160bd['id']),_0x154453=_0x14d3a7['markers']['get']('revision:'+_0x297d6c['id']);return _0x2a5f56['start']['isBefore'](_0x154453['start'])?-0x1:_0x2a5f56['start']['isAfter'](_0x154453['start'])?0x1:_0x2a5f56['end']['isBefore'](_0x154453['end'])?-0x1:_0x2a5f56['end']['isAfter'](_0x154453['end'])?0x1:'add'===_0x4160bd['type']?-0x1:0x1;}),{'root':_0x14d3a7,'changes':_0x2921f6};function _0x3b13e2(_0x25355b,_0x3c5b80,_0x2b2d51,_0x4096b2){const _0x276430=!!_0x3b6c85[_0x3c5b80][_0x25355b],_0x3bae46=_0x276430?_0x3b6c85[_0x3c5b80][_0x25355b]['userId']:null,_0x253ccf=_0x3c5b80===_0x3b6c85['length']-0x1,_0x18a9df=_0x116d57[_0x25355b][0x0],_0x771312=_0x8dbc4e['isObject'](_0x3b6c85[_0x3c5b80]['item']);!_0x2532a4[_0x25355b]&&_0x276430?_0x2532a4[_0x25355b]={'start':_0x2b2d51,'tapeItem':_0x3b6c85[_0x3c5b80],'userId':_0x3bae46,'type':_0x25355b}:_0x2532a4[_0x25355b]&&!_0x276430?(_0x2532a4[_0x25355b]['end']=_0x2b2d51,_0x58e4bd(_0x2532a4[_0x25355b]),_0x2532a4[_0x25355b]=null):_0x2532a4[_0x25355b]&&_0x276430&&_0x2532a4[_0x25355b]['userId']!==_0x3bae46&&(_0x2532a4[_0x25355b]['end']=_0x2b2d51,_0x18a9df&&_0x18a9df['userId']===_0x2532a4[_0x25355b]['userId']||_0x58e4bd(_0x2532a4[_0x25355b]),_0x2532a4[_0x25355b]={'start':_0x2b2d51,'tapeItem':_0x3b6c85[_0x3c5b80],'userId':_0x3bae46,'type':_0x25355b}),_0x2532a4[_0x25355b]&&_0x771312&&('elementStart'!==_0x3b6c85[_0x3c5b80]['type']||_0x18a9df&&_0x18a9df['userId']===_0x3bae46||_0x116d57[_0x25355b]['unshift']({'userId':_0x3bae46,'object':_0x3b6c85[_0x3c5b80]['item'],'change':_0x2532a4[_0x25355b]}),'elementEnd'===_0x3b6c85[_0x3c5b80]['type']&&_0x18a9df&&_0x18a9df['object']===_0x3b6c85[_0x3c5b80]['item']&&(_0x116d57[_0x25355b]['shift'](),_0x2532a4[_0x25355b]=_0x18a9df['change'])),_0x2532a4[_0x25355b]&&_0x253ccf&&(_0x2532a4[_0x25355b]['end']=_0x4096b2,_0x58e4bd(_0x2532a4[_0x25355b]),_0x2532a4[_0x25355b]=null);}function _0x58e4bd({start:_0x3d8272,end:_0xf5338d,tapeItem:_0x5c1c8e,userId:_0x44f86a,type:_0x432bc7}){const _0x312e0a=_0x5c1c8e['item'],_0x5c5aaa=_0xd4108b['schema']['isBlock'](_0x312e0a)&&!_0xd4108b['schema']['isLimit'](_0x312e0a),_0x42d1a7=_0x3d8272['nodeAfter']==_0xf5338d['parent']&&_0xf5338d['isAtStart'];if(_0x5c5aaa&&_0x42d1a7)return;const _0x3715d0=_0xd4108b['createRange'](_0x3d8272,_0xf5338d),_0x2960fb=_0x205d27['get'](_0x44f86a),_0x3488dc=new r({'author':_0x2960fb,'type':'isAdded'==_0x432bc7||'isAddSuggestion'==_0x432bc7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x432bc7||'isRemoveSuggestion'==_0x432bc7},'createdAt':new Date(),'rootName':_0x153724});_0x2921f6['push'](_0x3488dc),_0x14d3a7['markers']['set']('revision:'+_0x3488dc['id'],_0x3715d0);}function _0x421306(_0xeaf32b,_0x13e281){const _0x101aeb=_0xeaf32b['getAttributes'](),_0x9de935=_0x13e281['getAttributes']();for(const _0x317efd of _0x101aeb){if(_0x317efd[0x1]!==_0x13e281['getAttribute'](_0x317efd[0x0]))return!0x1;_0x9de935['next']();}return _0x9de935['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5c529c=>{const _0x3c4e6d=_0x5c529c['markerName']['split'](':')[0x1],_0x2acaac=this['_getChangeFromId'](_0x3c4e6d);if(!_0x2acaac)return null;const _0x499808='add'==_0x2acaac['type']?'insertion':'deletion',_0xdd49a1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x499808];return _0x2acaac['data']['isSuggestion']&&_0xdd49a1['push']('ck-suggestion-marker-'+_0x499808+'-new'),this['activeChange']==_0x2acaac&&_0xdd49a1['push']('ck-suggestion-marker--active'),{'classes':_0xdd49a1,'attributes':{'data-change-id':_0x3c4e6d}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3d87d4=>{_0x3d87d4['on']('element:pre',(_0x2894b3,_0x50beb4,_0x335258)=>{const _0x4f5df0=_0x50beb4['viewItem']['getChild'](0x0);if(!_0x4f5df0||!_0x4f5df0['is']('element','code'))return;if(!_0x335258['consumable']['consume'](_0x4f5df0,{'attributes':['vid_start','vid_end']}))return;const _0x3f20d2=_0x50beb4['modelRange']['start']['nodeAfter'];_0x335258['writer']['setAttribute']('vid_start',_0x4f5df0['getAttribute']('vid_start'),_0x3f20d2),_0x335258['writer']['setAttribute']('vid_end',_0x4f5df0['getAttribute']('vid_end'),_0x3f20d2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5ea7c1=>{_0x5ea7c1['on']('element',(_0x47dbfc,_0x12ec41,_0x7a82b2)=>{if(!_0x7a82b2['consumable']['consume'](_0x12ec41['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x12ec41['modelRange']['isCollapsed'])return;const _0x2c9d7c=_0x12ec41['modelRange']['start']['nodeAfter'];_0x2c9d7c['hasAttribute']('vid_start')||_0x2c9d7c['hasAttribute']('vid')||(_0x7a82b2['writer']['setAttribute']('vid_start',_0x12ec41['viewItem']['getAttribute']('vid_start'),_0x2c9d7c),_0x7a82b2['writer']['setAttribute']('vid_end',_0x12ec41['viewItem']['getAttribute']('vid_end'),_0x2c9d7c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x88daeb=>_0x88daeb['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x30cec8,[,_0x79e060])=>{['vid_start','vid_end','vid']['includes'](_0x79e060)&&(_0x30cec8['return']=!0x0,_0x30cec8['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x393886=>{_0x393886['on']('attribute:vid',(_0x3a402c,_0x544b6c,_0x13be2b)=>{if('\x20'!=_0x544b6c['item']['data']||_0x544b6c['item']['parent']['maxOffset']>0x1)return;if(!_0x13be2b['consumable']['consume'](_0x544b6c['item'],_0x3a402c['name']))return;const _0xecdfc8=_0x13be2b['writer'],_0x5bda8d=_0x13be2b['mapper']['toViewRange'](_0x544b6c['range']);_0xecdfc8['wrap'](_0x5bda8d,_0xecdfc8['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x53ac0d){const _0x3942ab=_0x53ac0d['plugins']['get']('RevisionViewer');return(_0x2e84e8,_0x188b76,_0x120381)=>{const _0x1af4a7=_0x188b76['markerName']['split'](':')[0x1],_0xeed1dd=_0x3942ab['_getChangeFromId'](_0x1af4a7);if(!_0xeed1dd)return null;const _0xb2b688='add'==_0xeed1dd['type']?'split':'merge';if(!_0x120381['consumable']['test'](_0x188b76['markerRange'],_0x2e84e8['name']))return;const _0x15b3d4=_0x188b76['markerRange']['getWalker'](),_0x312f2b=_0x188b76['markerRange']['start'],_0x16bd6d=_0x53ac0d['model']['schema'];let _0x2469cc=null,_0x6aa7c2=null,_0xaddc6c=!0x1,_0x1eff30=!0x1;for(const _0x5d90b1 of _0x15b3d4){const _0x4b0e3a=_0x5d90b1['item'];_0xaddc6c=_0xaddc6c||_0x16bd6d['isContent'](_0x4b0e3a);const _0x16dea5=_0x120381['mapper']['toViewElement'](_0x4b0e3a);if(_0x16dea5&&_0x16dea5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5d90b1['type']&&(_0x16bd6d['isBlock'](_0x4b0e3a)&&!_0x16bd6d['isLimit'](_0x4b0e3a)&&(_0x4b0e3a['nextSibling']||_0x312f2b['isAtEnd']?_0x2469cc&&_0x2469cc['parent']==_0x4b0e3a||(_0x2469cc=_0x4b0e3a,_0x381158(_0x5d90b1['previousPosition']),_0x1eff30=!0x0):_0x6aa7c2=_0x6aa7c2||_0x5d90b1['previousPosition']));}function _0x381158(_0x5243d4){const _0x568869=_0x120381['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xb2b688}),_0x12f640=_0x120381['mapper']['toViewPosition'](_0x5243d4);_0xeed1dd['data']['isSuggestion']&&_0x120381['writer']['addClass']('ck-suggestion-marker-'+_0xb2b688+'-new',_0x568869),_0x3942ab['activeChange']==_0xeed1dd&&_0x120381['writer']['addClass']('ck-suggestion-marker--active',_0x568869),_0x120381['writer']['insert'](_0x12f640,_0x568869),_0x120381['mapper']['bindElementToMarker'](_0x568869,_0x188b76['markerName']);}_0xaddc6c||_0x1eff30||!_0x6aa7c2||_0x381158(_0x6aa7c2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x40c3b8,_0x382ce2,_0x33d957)=>{const _0x83756=_0x33d957['mapper']['markerNameToElements'](_0x382ce2['markerName']);if(_0x83756){for(const _0x32b6f2 of _0x83756)(_0x32b6f2['hasClass']('ck-suggestion-marker-split')||_0x32b6f2['hasClass']('ck-suggestion-marker-merge'))&&(_0x33d957['mapper']['unbindElementFromMarkerName'](_0x32b6f2,_0x382ce2['markerName']),_0x33d957['writer']['remove'](_0x32b6f2));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2fcd35,_0xac1dc6,_0x10e69e)=>{const _0x31ec0b=_0xac1dc6['markerName']['split'](':')[0x1],_0x25380d=this['_getChangeFromId'](_0x31ec0b);if(!_0x25380d)return null;const _0xceceb8='add'==_0x25380d['type']?'split':'merge';if(_0x10e69e['consumable']['test'](_0xac1dc6['markerRange'],_0x2fcd35['name']))for(const _0x5bdf5d of _0xac1dc6['markerRange']['getItems']()){if(!_0x5bdf5d['is']('element','softBreak'))continue;const _0x51371e=_0x10e69e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xceceb8}),_0x553727=_0x10e69e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5bdf5d));_0x25380d['data']['isSuggestion']&&_0x10e69e['writer']['addClass']('ck-suggestion-marker-'+_0xceceb8+'-new',_0x51371e),this['activeChange']==_0x25380d&&_0x10e69e['writer']['addClass']('ck-suggestion-marker--active',_0x51371e),_0x10e69e['writer']['insert'](_0x553727,_0x51371e),_0x10e69e['mapper']['bindElementToMarker'](_0x51371e,_0xac1dc6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x55eed4=>{for(const _0x2eb878 of this['editor']['model']['document']['getRootNames']()){const _0x58f8aa=this['editor']['model']['document']['getRoot'](_0x2eb878),_0x29746c=this['editor']['editing']['view']['document']['getRoot'](_0x2eb878);if(_0x29746c){const _0x89396c=_0x58f8aa['getAttribute']('revisionHistoryAttachChange');if(_0x55eed4['removeAttribute']('data-change-id',_0x29746c),_0x55eed4['removeClass']('ck-revision-history-root-add',_0x29746c),_0x55eed4['removeClass']('ck-revision-history-root-remove',_0x29746c),_0x55eed4['removeClass']('ck-revision-history-root--active',_0x29746c),_0x89396c){const _0x3a71a3=this['_getChangeFromId'](_0x89396c);if(!_0x3a71a3)return null;_0x55eed4['setAttribute']('data-change-id',_0x89396c,_0x29746c),_0x55eed4['addClass']('ck-revision-history-root-'+_0x3a71a3['type'],_0x29746c),this['activeChange']==_0x3a71a3&&_0x55eed4['addClass']('ck-revision-history-root--active',_0x29746c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x15bf39=>'revision-comment:'+_0x15bf39,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x24b0ee=>'revision-suggestion:'+_0x24b0ee,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5c728d=>({'name':'suggestion:'+_0x5c728d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5b080c=>{const _0x3d359e=_0x5b080c['markerName']['split'](':')[0x1];return'insertion'!=_0x3d359e&&'deletion'!=_0x3d359e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3d359e]};}}),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',(_0x528540,_0x586cfc,_0x3a51f7)=>{const _0xfeebac=_0x3a51f7['mapper']['markerNameToElements'](_0x586cfc['markerName']);if(_0xfeebac){for(const _0x54d081 of _0xfeebac)_0x54d081['is']('uiElement')&&(_0x3a51f7['mapper']['unbindElementFromMarkerName'](_0x54d081,_0x586cfc['markerName']),_0x3a51f7['writer']['remove'](_0x54d081));}},{'priority':'high'});}['_getChangeFromId'](_0x393ae3){return this['_changeIdToChange']['get'](_0x393ae3);}['_getViewForChange'](_0x4c506c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x4c506c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x51ad22,_0x311c99,_0x17b07a,_0x41a196)=>{_0x41a196&&this['_balloon']['remove'](_0x41a196),_0x17b07a&&(this['_balloon']['add']({'view':_0x17b07a,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x21e667=this['editor']['editing'],_0x3e3450=this['_getChangeFromId'](_0x17b07a['changeId']);let _0x143b27;if(_0x3e3450['data']['isOnRoot']){const _0x4fb549=_0x21e667['view']['getDomRoot'](_0x3e3450['rootName']);_0x143b27=Array['from'](_0x4fb549['getClientRects']());}else{const _0x5f209b=this['editor']['model']['markers']['get']('revision:'+_0x17b07a['changeId']);_0x143b27=Array['from'](_0x21e667['mapper']['markerNameToElements'](_0x5f209b['name']))['map'](_0x47bab6=>_0x21e667['view']['domConverter']['mapViewToDom'](_0x47bab6))['map'](_0x44bb01=>Array['from'](_0x44bb01['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x143b27[0x0];return _0x143b27['find'](_0x1712b9=>_0x1712b9['top']-0x3<=this['_activeViewTarget']['y']&&_0x1712b9['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1712b9['left']-0x3<=this['_activeViewTarget']['x']&&_0x1712b9['right']+0x3>=this['_activeViewTarget']['x'])||_0x143b27[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x45d40f,_0x256a75,_0x5c6300,_0xfba9d3)=>{this['activeView']=_0x5c6300?this['_getViewForChange'](_0x5c6300):null,this['editor']['model']['change'](()=>{const _0x13c72a=this['editor']['editing'];_0xfba9d3&&(_0xfba9d3['data']['isOnRoot']?_0x13c72a['view']['change'](_0x24689a=>{_0x24689a['removeClass']('ck-revision-history-root--active',_0x13c72a['view']['document']['getRoot'](_0xfba9d3['rootName']));}):_0x13c72a['reconvertMarker']('revision:'+_0xfba9d3['id'])),_0x5c6300&&(_0x5c6300['data']['isOnRoot']?_0x13c72a['view']['change'](_0x32d525=>{_0x32d525['addClass']('ck-revision-history-root--active',_0x13c72a['view']['document']['getRoot'](_0x5c6300['rootName']));}):_0x13c72a['reconvertMarker']('revision:'+_0x5c6300['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5c2945,_0x2fd45c)=>{if(this['activeChange'])return;const _0x5cd596=this['_findChangeIdFromDomTarget'](_0x2fd45c['target']),_0x5aa137=this['_changeIdToChange']['get'](_0x5cd596);_0x5aa137?(this['_activeViewTarget']={'x':_0x2fd45c['domEvent']['x'],'y':_0x2fd45c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5aa137)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x590be1,_0x3cbabc)=>{const _0x4cd624=this['_findChangeIdFromDomTarget'](_0x3cbabc['target']),_0xe17348=this['_changeIdToChange']['get'](_0x4cd624);_0xe17348?(this['_activeViewTarget']={'x':_0x3cbabc['domEvent']['x'],'y':_0x3cbabc['domEvent']['y']},_0xe17348===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xe17348):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x430426){do{const _0x10b148=_0x430426['getAttribute']('data-change-id');if(_0x10b148)return _0x10b148;_0x430426=_0x430426['parent'];}while(_0x430426);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4ab84f=>{for(const _0x2c79fa of this['editor']['model']['markers'])_0x4ab84f['removeMarker'](_0x2c79fa);});}}function et(_0x1c01ad,_0xa7f54e){return(_0x4d63c7,_0x4c21f3,_0x33ad4f)=>{if(!_0x33ad4f['consumable']['test'](_0x4c21f3['markerRange'],_0x4d63c7['name']))return;const _0x4cc43a=_0x4c21f3['markerRange']['getWalker'](),_0x366613=_0x4c21f3['markerRange']['start'],_0x3ac869=_0x1c01ad['model']['schema'];let _0x53c26c=null,_0x4a8f3d=null,_0x13ccc9=!0x1,_0xd7165a=!0x1;for(const _0x5138c5 of _0x4cc43a){const _0x282f16=_0x5138c5['item'];_0x13ccc9=_0x13ccc9||_0x3ac869['isContent'](_0x282f16);const _0x321cdd=_0x33ad4f['mapper']['toViewElement'](_0x282f16);if(_0x321cdd&&_0x321cdd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5138c5['type']&&(_0x3ac869['isBlock'](_0x282f16)&&!_0x3ac869['isLimit'](_0x282f16)&&(_0x282f16['nextSibling']||_0x366613['isAtEnd']?_0x53c26c&&_0x53c26c['parent']==_0x282f16||(_0x53c26c=_0x282f16,_0x4b746f(_0x5138c5['previousPosition']),_0xd7165a=!0x0):_0x4a8f3d=_0x4a8f3d||_0x5138c5['previousPosition']));}function _0x4b746f(_0x19a354){const _0x4e7369=_0x33ad4f['mapper']['toViewPosition'](_0x19a354),_0x51ac9c=_0x33ad4f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xa7f54e});_0x33ad4f['writer']['insert'](_0x4e7369,_0x51ac9c),_0x33ad4f['mapper']['bindElementToMarker'](_0x51ac9c,_0x4c21f3['markerName']);}_0x13ccc9||_0xd7165a||!_0x4a8f3d||_0x4b746f(_0x4a8f3d);};}class bt extends _0x5af41d{constructor(_0x39a51b){super(_0x39a51b);const _0x23eede=_0x39a51b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x23eede,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x23eede,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xb26fd6=this['editor'],_0x5953d5=_0xb26fd6['plugins']['get'](d),_0x3b2ce2=_0x5953d5['isReady']?_0x5953d5['diff']['newRevisionId']:null;_0xb26fd6['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3b2ce2);}['refresh'](){const {isReady:_0x555cfa,isEnabled:_0x194934}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x555cfa&&_0x194934;}}class yt extends _0x5af41d{['_step'];constructor(_0x328ab2,{direction:_0x2b101b}){super(_0x328ab2);const _0x5c0871=_0x328ab2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2b101b?0x1:-0x1,this['listenTo'](_0x5c0871,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5c0871,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5c0871,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x208c74=this['editor'],_0x45d74d=_0x208c74['plugins']['get'](d),{isNavigationMode:_0x397e9d,currentChangeNumber:_0x2d55a1}=_0x45d74d;let _0x4a7986;if(_0x45d74d['activeChange']=_0x397e9d?_0x45d74d['diff']['changes']['get'](_0x2d55a1+this['_step']):_0x45d74d['diff']['changes']['first'],_0x45d74d['activeChange']['data']['isOnRoot'])_0x4a7986=_0x208c74['editing']['view']['getDomRoot'](_0x45d74d['activeChange']['rootName']);else{const _0x4f5caf=_0x208c74['model']['markers']['get']('revision:'+_0x45d74d['activeChange']['id']);_0x4a7986=_0x8e49d8(_0x208c74['editing'],_0x4f5caf);}_0x1b3b29({'target':_0x4a7986,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x23fafe,currentChangeNumber:_0x3fc51f,numberOfChanges:_0x178d35,isReady:_0x495d76,isEnabled:_0x1acb8c}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1acb8c&&_0x495d76&&_0x178d35)&&(!_0x23fafe||(0x1===this['_step']?_0x3fc51f<_0x178d35-0x1:_0x3fc51f>0x0));}}class _i extends _0x10f811{constructor(_0x3eebbe){super(_0x3eebbe);const _0x1a0ea6=this['bindTemplate'],_0x5f2eac=new _0x55b2f4(_0x3eebbe),_0x11a536=new _0x55b2f4(_0x3eebbe);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',(_0x340ade,_0xbf92a9)=>_0x340ade&&_0xbf92a9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3afade,_0xd8aada,_0x53737a,_0x394326)=>{if(!_0x3afade)return y(_0x3eebbe,'Loading...');if(!_0x53737a)return y(_0x3eebbe,'No\x20changes');const _0x68668a=y(_0x3eebbe,'NUMBER_OF_CHANGES',_0x53737a);return _0x394326?y(_0x3eebbe,'X_OF_Y_CHANGES',[_0xd8aada+0x1,_0x53737a]):_0x68668a;}),_0x5f2eac['set']({'label':y(_0x3eebbe,'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'}),_0x11a536['set']({'label':y(_0x3eebbe,'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'}),_0x5f2eac['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x11a536['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5f2eac['on']('execute',()=>this['fire']('execute','backward')),_0x11a536['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',_0x1a0ea6['if']('_isStatusLabelVisible','ck-hidden',_0x5c35bd=>!_0x5c35bd)]},'children':[{'text':_0x1a0ea6['to']('isNavigationMode',_0x5470d2=>_0x5470d2?y(_0x3eebbe,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3eebbe,'Total')+':\x20')}]},{'text':_0x1a0ea6['to']('_statusText')}]},new _0x3d6dff(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5f2eac,_0x11a536]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x6c42b7{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4a9454=this['editor']['editing']['view'];_0x4a9454['change'](_0x279d90=>{for(const _0x2b91b1 of _0x4a9454['document']['roots'])_0x279d90['addClass'](ce,_0x2b91b1);});}['hide'](){const _0x4f38f2=this['editor']['editing']['view'];_0x4f38f2['change'](_0x1a7f01=>{for(const _0x5dcfc3 of _0x4f38f2['document']['roots'])_0x1a7f01['removeClass'](ce,_0x5dcfc3);});}}class R extends _0x6c42b7{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x330390=this['editor'],_0x590845=_0x330390['plugins']['get'](d),_0x144565=_0x330390['plugins']['get'](de);_0x330390['ui']['componentFactory']['add']('exitToEditing',_0x597f90=>{const _0x27790c=new _0x55b2f4(_0x597f90);return _0x27790c['set']({'label':y(_0x597f90,'Back\x20to\x20editing'),'icon':_0x5c300c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x27790c,'execute',()=>{_0x330390['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x27790c;}),_0x330390['ui']['componentFactory']['add']('restoreRevision',_0xaf0fed=>{const _0x4914bb=new _0x55b2f4(_0xaf0fed);return _0x4914bb['set']({'label':y(_0xaf0fed,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4914bb['bind']('isEnabled')['to'](_0x330390['commands']['get']('restoreRevision')),this['listenTo'](_0x4914bb,'execute',()=>_0x330390['execute']('restoreRevision')),_0x4914bb;}),_0x330390['ui']['componentFactory']['add']('changesNavigation',_0x3d2f50=>{const _0x3a7611=new _i(_0x3d2f50),_0x43caec=_0x330390['commands']['get']('showPreviousChange'),_0x5e3930=_0x330390['commands']['get']('showNextChange');return _0x3a7611['bind']('isBackwardNavigationEnabled')['to'](_0x43caec,'isEnabled'),_0x3a7611['bind']('isForwardNavigationEnabled')['to'](_0x5e3930,'isEnabled'),_0x3a7611['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x590845),this['listenTo'](_0x3a7611,'execute',(_0x582057,_0x2d39f1)=>{_0x330390['execute']('forward'===_0x2d39f1?'showNextChange':'showPreviousChange');}),_0x3a7611;}),_0x144565['show'](),_0x590845['on']('change:isReady',(_0x3b17f9,_0x2415fa,_0x433f4b)=>{_0x433f4b?_0x144565['hide']():_0x144565['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5b6985,_0x18b9f7){super(_0x5b6985,_0x18b9f7);const _0x342c50=this['bindTemplate'];this['set']({'label':y(_0x5b6985,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5b6985,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x342c50['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 _0x360366=this['fieldView']['element'];this['_tooltipString']=_0x360366['scrollWidth']>_0x360366['clientWidth']&&_0x360366['value']||'';}}class ti extends _0x10f811{constructor(_0x2546a0,_0x4f425d,_0x4025b6){super(_0x2546a0);const _0x1172db=new _0x1ebd58();_0x1172db['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 _0x1c3985=['ck','ck-revision-history-sidebar__revision-author'];_0x4025b6&&_0x1c3985['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4609b0=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2546a0,_0x4025b6?'Revision\x20creator':'Revision\x20author')},'children':[_0x1172db,_0x4f425d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1c3985},'children':_0x4609b0});}}function ni(_0x44b2ee,_0x17a20f){const _0x2fe22f=_0x44b2ee['bindTemplate'],_0x282216=_0x44b2ee['locale'],_0x3e84ef=_0x372cd7(_0x282216);_0x3e84ef['panelPosition']='sw';const _0x50817c=function(_0x316986,_0x358696){const _0x351bd5=function(_0x1743a6,_0x496f5a){const _0x52d3f1=_0x1743a6['locale'],_0x1ff75b={'Compare\x20against\x20selected':y(_0x52d3f1,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x52d3f1,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x52d3f1,'Restore\x20this\x20revision')};return _0x496f5a['map'](_0x2d2cf2=>{const _0x368d74=_0x1ff75b[_0x2d2cf2['name']];return _0x368d74&&_0x368d74!==_0x2d2cf2['name']&&(_0x2d2cf2['name']=_0x368d74),_0x2d2cf2;});}(_0x316986,_0x358696),_0x38f418=new _0x30789c();for(const _0x4870dc of _0x351bd5){const _0x452187={'type':'button','model':new to({'label':_0x4870dc['name'],'class':_0x4870dc['class'],'withText':!0x0,'role':'menuitem','_action':_0x4870dc['action']})};_0x452187['model']['bind']('isEnabled')['to'](_0x316986,'isActionsDropdownOpen',_0x58fe0b=>'function'!=typeof _0x4870dc['isEnabled']||(!_0x58fe0b||_0x4870dc['isEnabled'](_0x316986))),_0x38f418['add'](_0x452187);}return _0x38f418;}(_0x44b2ee,_0x17a20f);return _0x44b2ee['bind']('isActionsDropdownOpen')['to'](_0x3e84ef,'isOpen'),_0x3e84ef['buttonView']['set']({'label':y(_0x282216,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5c300c['threeVerticalDots']}),_0x3e84ef['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2fe22f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2fe22f['to'](_0x29deb7=>_0x29deb7['stopPropagation']())}}),_0x3e84ef['on']('execute',_0x527a34=>{_0x44b2ee['isReady']&&'function'==typeof _0x527a34['source']['_action']&&_0x527a34['source']['_action'](_0x44b2ee);}),_0x2ca51b(_0x3e84ef,_0x50817c,{'role':'menu'}),_0x3e84ef['listenTo'](_0x44b2ee,'change:isActionsDropdownOpen',(_0x258d35,_0x1a32e5,_0x1e4cf3)=>{if(_0x1e4cf3)for(const _0xb1fdc4 of _0x3e84ef['listView']['items']){const _0x4ba471=_0xb1fdc4['children']['first'],_0x600223=_0x17a20f['find'](_0x5dc32c=>_0x5dc32c['action']===_0x4ba471['_action'])['isVisible'];_0xb1fdc4['isVisible']=void 0x0===_0x600223||_0x600223(_0x44b2ee);}}),_0x3e84ef;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x185f8a(_0x10f811){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xd6c756,_0x261f2f,_0x38819f,_0x233112){super(_0xd6c756);const _0x5c25b4=this['bindTemplate'],_0x7ba903=function(_0x44c611,_0xa539b8){const _0xba4add=Array['from'](_0xa539b8['authors'])['filter'](_0x22d8d3=>_0x22d8d3!=_0xa539b8['creator']);return _0xa539b8['creator']&&_0xba4add['unshift'](_0xa539b8['creator']),_0xba4add['map'](_0x39849e=>new ti(_0x44c611,_0x39849e,_0x39849e==_0xa539b8['creator']));}(_0xd6c756,_0x261f2f);this['id']=_0x261f2f['id'],this['_revision']=_0x261f2f,this['_requireRevisionName']=_0x233112,this['bind']('name','createdAt')['to'](_0x261f2f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x346bda=>{return _0x394344=_0xd6c756['uiLanguage'],(_0x28ce16=_0x346bda)['toLocaleDateString'](_0x394344,{'month':'long','day':'numeric'})+',\x20'+_0x28ce16['toLocaleTimeString'](_0x394344,{'hour':'numeric','minute':'numeric'});var _0x394344,_0x28ce16;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0xd6c756,_0x3dce06),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x58e2bd=>_0x58e2bd||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x25086d,_0x423e04)=>_0x25086d&&_0x423e04),this['revisionActionsView']=_0x38819f&&_0x38819f['length']?ni(this,_0x38819f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5c25b4['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5c25b4['if']('isEnabled','ck-disabled',_0x1cc4bd=>!_0x1cc4bd),_0x5c25b4['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5c25b4['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5c25b4['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':_0x5c25b4['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':_0x7ba903}]},this['revisionActionsView']],'on':{'click':_0x5c25b4['to'](_0x30e592=>{_0x30e592['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xdcafd6=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xdcafd6,'change',()=>{this['_requireRevisionName']&&!_0xdcafd6['value']||this['fire']('setName',{'id':this['id'],'name':_0xdcafd6['value']}),_0xdcafd6['value']||(_0xdcafd6['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(_0x122afd,_0x318d00){const _0x45652d=_0x26b500['fromJSDate'](_0x122afd)['setLocale'](_0x318d00),_0x3577cb=_0x26b500['local'](),_0x36a7a5=_0x3577cb['minus']({'days':0x1})['startOf']('day');let _0x230637,_0x3c8ab6;return _0x45652d['hasSame'](_0x3577cb,'day')?(_0x230637=_0x45652d['startOf']('day')['toJSDate'](),_0x3c8ab6=_0x45652d['toRelativeCalendar']()):_0x45652d['hasSame'](_0x36a7a5,'day')?(_0x230637=_0x36a7a5['toJSDate'](),_0x3c8ab6=_0x45652d['toRelativeCalendar']()):_0x45652d['hasSame'](_0x3577cb,'week')?(_0x230637=_0x45652d['startOf']('week')['toJSDate'](),_0x3c8ab6=_0x45652d['weekdayLong']||''):_0x45652d['hasSame'](_0x3577cb,'year')?(_0x230637=_0x45652d['startOf']('month')['toJSDate'](),_0x3c8ab6=_0x45652d['monthLong']||''):(_0x230637=_0x45652d['startOf']('year')['toJSDate'](),_0x3c8ab6=String(_0x45652d['year'])),{'startDate':_0x230637,'localizedPeriodName':_0x3c8ab6};}class mi extends _0x10f811{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x8f400d,_0x104bec,_0x17c6c4,_0x2bb93c){super(_0x8f400d);const _0x25ead2=di(_0x104bec,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x104bec,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x17c6c4,this['_requireRevisionName']=_0x2bb93c,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':_0x25ead2}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x37b193){const _0x6dce32=new ai(this['locale'],_0x37b193,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x6dce32);}['removeRevision'](_0x1c4100){const _0x5d4d2c=this['revisionViews']['find'](_0x422bdc=>_0x422bdc['id']===_0x1c4100['id']);this['revisionViews']['remove'](_0x5d4d2c);}}class as extends _0x10f811{constructor(_0x489762){super(_0x489762);const _0x137804=new _0x1ebd58();_0x137804['content']=_0x5c300c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x137804,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x489762,'Revision\x20history')]}]});}}class ci extends _0x10f811{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x471ddb,_0x58c1ce,_0x514c31,_0x4f20da){super(_0x471ddb);const _0x470f03=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x58c1ce,this['_revisionActions']=_0x514c31,this['_requireRevisionName']=_0x4f20da,this['on']('select',(_0x22c544,_0x16acf6)=>{this['fire']('revisionSelected',_0x16acf6);}),this['on']('setName',(_0x2e3aca,_0x4af248)=>{this['fire']('revisionSetName',_0x4af248);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x471ddb),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x470f03['if']('isEnabled','ck-disabled',_0x2af0ba=>!_0x2af0ba)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x19bf91 of this['_revisions'])this['_addRevision'](_0x19bf91);this['_revisions']['on']('add',(_0x4b5c29,_0xa226b1)=>{this['_addRevision'](_0xa226b1);}),this['_revisions']['on']('remove',(_0x3035f2,_0x42dcc8)=>{this['_removeRevision'](_0x42dcc8);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2ed7d9=>_0x2ed7d9['revisionViews']['map'](_0x78803f=>_0x78803f))['flat']();}['selectRevision'](_0x4726f0){for(const _0x334bc9 of this['revisionViews'])_0x4726f0&&_0x4726f0['id']===_0x334bc9['id']?_0x334bc9['select']():_0x334bc9['deselect']();}['highlightRevisions'](_0x521aa5){for(const _0x4af86a of this['revisionViews'])_0x521aa5['some'](({id:_0x4502ba})=>_0x4502ba===_0x4af86a['id'])?_0x4af86a['highlight']():_0x4af86a['unhighlight']();}['_addRevision'](_0x6c1cff){const _0x4be71c=di(_0x6c1cff['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3e2655=this['timePeriodViews']['get'](0x0);_0x3e2655&&_0x3e2655['startDate']['getTime']()===_0x4be71c['getTime']()||(_0x3e2655=new mi(this['locale'],_0x4be71c,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3e2655)),_0x3e2655['addRevision'](_0x6c1cff);}['_removeRevision'](_0x1169fa){const _0x849342=di(_0x1169fa['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x849342)['removeRevision'](_0x1169fa);}['_getTimePeriodViewByStartDate'](_0x579a38){return this['timePeriodViews']['find'](_0x228142=>_0x228142['startDate']['getTime']()===_0x579a38['getTime']());}}class w extends _0x6c42b7{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x1b9d3f,Context as _0x325256,PendingActions as _0x27eae3,icons as _0x52d6db,Command as _0x5b6e62,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3eb282,uid as _0x46006a,Collection as _0xc1d4ac,logWarning as _0x2bcc7c,FocusTracker as _0x4ceb66,KeystrokeHandler as _0xca6bcd,scrollViewportToShowTarget as _0x499ca6,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x9d2149}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x164fab,getMarkerDomElement as _0xe4d29,ConfirmMixin as _0x9c71d2,sanitizeEditorConfig as _0x36276e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1bfe34,ViewText as _0x1469cc,ViewElement as _0x4b2c33,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x52132d,ViewAttributeElement as _0x3b3816,ViewEmptyElement as _0x5099a0,ViewRawElement as _0x4bc8f7,ViewUIElement as _0x23155e,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x535306,set as _0x1cacd8,unset as _0x7b8a08,isEqual as _0x39c86d}from'lodash-es';import{View as _0x5547bb,injectCssTransitionDisabler as ts,submitHandler as _0x131628,LabeledFieldView as at,createLabeledInputText as _0x512977,createDropdown as _0x24a46d,ListView as te,ListItemView as _0x6a9581,ButtonView as _0x34f9fd,MenuBarMenuView as _0x57ae0a,MenuBarMenuListView as _0x580e46,MenuBarMenuListItemView as _0x1a65a0,MenuBarMenuListItemButtonView as _0x385c3f,ContextualBalloon as _0x50d74a,ToolbarSeparatorView as _0x18c46a,IconView as _0xc51bbc,addListToDropdown as _0x27e494,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 _0x45076b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x3eb282(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3794fe){super(),this['id']=_0x3794fe['id']||_0x46006a(),this['creator']=_0x3794fe['creator']||null,this['authors']=_0x3794fe['authors']||[],this['diffData']=_0x3794fe['diffData']||null,this['toVersion']=_0x3794fe['toVersion']||0x0,this['fromVersion']=_0x3794fe['fromVersion']||0x0,this['set']('name',_0x3794fe['name']||''),this['set']('createdAt',_0x3794fe['createdAt']||new Date()),this['set']('attributes',_0x3794fe['attributes']||{});}['setName'](_0xe7eb){this['_update']({'name':_0xe7eb});}['setAttribute'](_0x5835c1,_0x563a0e){const _0xec5782=_0x535306(this['attributes']);_0x1cacd8(_0xec5782,_0x5835c1,_0x563a0e),this['_update']({'attributes':_0xec5782});}['removeAttribute'](_0x2511a8){const _0x53a913=_0x535306(this['attributes']);_0x7b8a08(_0x53a913,_0x2511a8),this['_update']({'attributes':_0x53a913});}['_update'](_0x20d1b9,_0x3c1841=!0x1){let _0x254b1f=!0x1;const _0xa8af5={'id':this['id']},_0x1efec3=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x40ccca of _0x1efec3){const _0xb1d290=_0x20d1b9[_0x40ccca];void 0x0!==_0xb1d290&&_0xb1d290!==this[_0x40ccca]&&(this[_0x40ccca]=_0xb1d290,_0xa8af5[_0x40ccca]=_0xb1d290,_0x254b1f=!0x0);}_0x254b1f&&(_0xa8af5['authors']&&(_0xa8af5['authorsIds']=_0xa8af5['authors']['map'](_0x27deaa=>_0x27deaa['id']),delete _0xa8af5['authors']),this['fire']('_update',_0xa8af5,_0x3c1841));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1bea82=>_0x1bea82['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1b9d3f{['_revisions'];static get['requires'](){return[_0x164fab];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x446854){super(_0x446854),this['_revisions']=new _0xc1d4ac();}['afterInit'](){!function(_0x52e870){function _0x621968(_0x36526d,_0x4adebc,_0x1bc2e3){const _0x4d9a1c={};_0x4d9a1c[_0x4a54f5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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 _0x596535=new Uint8Array(0x10);for(let _0x528b6b=0xf;_0x528b6b>=0x0;--_0x528b6b)_0x596535[_0x528b6b]=_0x1bc2e3%0x100,_0x1bc2e3=parseInt(_0x1bc2e3/0x100);let _0x25c3d0=null,_0xfdd14a=0x10;const _0x478a4b=new Uint8Array(_0x4adebc),_0x1a5710=[],_0x89642c=[];_0x42da7d();for(let _0x3f3878=0x0;_0x3f3878<_0x36526d[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f3878++)0x10===_0xfdd14a&&(_0x25c3d0=_0xeb1b45(_0x596535),_0xfdd14a=0x0,_0x279346(_0x596535)),_0x36526d[_0x3f3878]^=_0x25c3d0[_0xfdd14a++];return _0x36526d;function _0x47f2cd(_0x454fbd){const _0x374d70=[];for(let _0xaa1c95=0x0;_0xaa1c95<_0x454fbd[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaa1c95+=0x4)_0x374d70[_0x4a54f5([0x70,0x75,0x73,0x68])](_0x454fbd[_0xaa1c95]<<0x18|_0x454fbd[_0xaa1c95+0x1]<<0x10|_0x454fbd[_0xaa1c95+0x2]<<0x8|_0x454fbd[_0xaa1c95+0x3]);return _0x374d70;}function _0x279346(_0x1e71cd){for(let _0x591e16=0xf;_0x591e16>=0x0;_0x591e16--){if(0xff!==_0x1e71cd[_0x591e16]){_0x1e71cd[_0x591e16]++;break;}_0x1e71cd[_0x591e16]=0x0;}}function _0xeb1b45(_0x188a6d){const _0x256965=_0x1a5710[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x44a0d6=[0x0,0x0,0x0,0x0];let t=_0x47f2cd(_0x188a6d);for(let _0x747c3d=0x0;_0x747c3d<0x4;_0x747c3d++)t[_0x747c3d]^=_0x1a5710[0x0][_0x747c3d];for(let _0x3c25a7=0x1;_0x3c25a7<_0x256965;_0x3c25a7++){for(let _0x5c9056=0x0;_0x5c9056<0x4;_0x5c9056++)_0x44a0d6[_0x5c9056]=_0x4d9a1c[_0x4a54f5([0x54,0x31])][t[_0x5c9056]>>0x18&0xff]^_0x4d9a1c[_0x4a54f5([0x54,0x32])][t[(_0x5c9056+0x1)%0x4]>>0x10&0xff]^_0x4d9a1c[_0x4a54f5([0x54,0x33])][t[(_0x5c9056+0x2)%0x4]>>0x8&0xff]^_0x4d9a1c[_0x4a54f5([0x54,0x34])][0xff&t[(_0x5c9056+0x3)%0x4]]^_0x1a5710[_0x3c25a7][_0x5c9056];t=_0x44a0d6[_0x4a54f5([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4fda38=new Uint8Array(0x10);let _0x40cec6;for(let _0x5b80a6=0x0;_0x5b80a6<0x4;_0x5b80a6++)_0x40cec6=_0x1a5710[_0x256965][_0x5b80a6],_0x4fda38[0x4*_0x5b80a6]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][t[_0x5b80a6]>>0x18&0xff]^_0x40cec6>>0x18),_0x4fda38[0x4*_0x5b80a6+0x1]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][t[(_0x5b80a6+0x1)%0x4]>>0x10&0xff]^_0x40cec6>>0x10),_0x4fda38[0x4*_0x5b80a6+0x2]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][t[(_0x5b80a6+0x2)%0x4]>>0x8&0xff]^_0x40cec6>>0x8),_0x4fda38[0x4*_0x5b80a6+0x3]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][0xff&t[(_0x5b80a6+0x3)%0x4]]^_0x40cec6);return _0x4fda38;}function _0x42da7d(){const _0x5caace=_0x4d9a1c[_0x4a54f5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x478a4b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1d82be=0x0;_0x1d82be<=_0x5caace;_0x1d82be++)_0x1a5710[_0x4a54f5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x89642c[_0x4a54f5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1313c4=0x4*(_0x5caace+0x1),_0x5baeb5=_0x478a4b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x42a27a=_0x47f2cd(_0x478a4b);let _0x41b71c;for(let _0x24ea5a=0x0;_0x24ea5a<_0x5baeb5;_0x24ea5a++)_0x41b71c=_0x24ea5a>>0x2,_0x1a5710[_0x41b71c][_0x24ea5a%0x4]=_0x42a27a[_0x24ea5a],_0x89642c[_0x5caace-_0x41b71c][_0x24ea5a%0x4]=_0x42a27a[_0x24ea5a];let _0x3bec6c,_0x3e1a96=0x0,t=_0x5baeb5;for(;t<_0x1313c4;){_0x3bec6c=_0x42a27a[_0x5baeb5-0x1],_0x42a27a[0x0]^=_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x10&0xff]<<0x18^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x8&0xff]<<0x10^_0x4d9a1c[_0x4a54f5([0x53])][0xff&_0x3bec6c]<<0x8^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x18&0xff]^_0x4d9a1c[_0x4a54f5([0x72,0x63,0x6f,0x6e])][_0x3e1a96]<<0x18,_0x3e1a96+=0x1;for(let _0x51f355=0x1;_0x51f355<_0x5baeb5/0x2;_0x51f355++)_0x42a27a[_0x51f355]^=_0x42a27a[_0x51f355-0x1];_0x3bec6c=_0x42a27a[_0x5baeb5/0x2-0x1],_0x42a27a[_0x5baeb5/0x2]^=_0x4d9a1c[_0x4a54f5([0x53])][0xff&_0x3bec6c]^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x8&0xff]<<0x8^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x10&0xff]<<0x10^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x18&0xff]<<0x18;for(let _0x7d74d0=_0x5baeb5/0x2+0x1;_0x7d74d0<_0x5baeb5;_0x7d74d0++)_0x42a27a[_0x7d74d0]^=_0x42a27a[_0x7d74d0-0x1];let _0x3900c0,_0x4e524d,_0x587993=0x0;for(;_0x587993<_0x5baeb5&&t<_0x1313c4;)_0x3900c0=t>>0x2,_0x4e524d=t%0x4,_0x1a5710[_0x3900c0][_0x4e524d]=_0x42a27a[_0x587993],_0x89642c[_0x5caace-_0x3900c0][_0x4e524d]=_0x42a27a[_0x587993++],t++;}for(let _0x35c5ca=0x1;_0x35c5ca<_0x5caace;_0x35c5ca++)for(let _0x8d4352=0x0;_0x8d4352<0x4;_0x8d4352++)_0x3bec6c=_0x89642c[_0x35c5ca][_0x8d4352],_0x89642c[_0x35c5ca][_0x8d4352]=_0x4d9a1c[_0x4a54f5([0x55,0x31])][_0x3bec6c>>0x18&0xff]^_0x4d9a1c[_0x4a54f5([0x55,0x32])][_0x3bec6c>>0x10&0xff]^_0x4d9a1c[_0x4a54f5([0x55,0x33])][_0x3bec6c>>0x8&0xff]^_0x4d9a1c[_0x4a54f5([0x55,0x34])][0xff&_0x3bec6c];}}function _0x4a54f5(_0x51d85d){return _0x51d85d['map'](_0x5a013b=>String['fromCharCode'](_0x5a013b))['join']('');}(_0x15380e=>{function _0x193440(){const _0x4a7bb4=[{[_0x4a54f5([0x69,0x64])]:0x1,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4a54f5([0x69,0x64])]:0x2,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([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]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a54f5([0x69,0x64])]:0x3,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a54f5([0x69,0x64])]:0x4,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([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]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a54f5([0x69,0x64])]:0x5,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([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]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x6,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x7,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x8,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([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]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x9,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4a54f5([0x69,0x64])]:0xa,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([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]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([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]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([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]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0xb,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a54f5([0x69,0x64])]:0xc,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4a54f5([0x69,0x64])]:0xd,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0xe,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4a54f5([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([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])},{[_0x4a54f5([0x69,0x64])]:0xf,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a54f5([0x69,0x64])]:0x10,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}}];return _0x5bf0d5(_0x4a7bb4),_0x4a7bb4;function _0x3e1016(_0x29a87f){return 0x1<<_0x29a87f-0x1;}function _0x5bf0d5(_0x3d7d3f){_0x3d7d3f[_0x4a54f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ed3c3=>{_0x1ed3c3[_0x4a54f5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3e1016(_0x1ed3c3[_0x4a54f5([0x69,0x64])]),_0x5d8b18(_0x1ed3c3)&&_0x1ed3c3[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5bf0d5(_0x1ed3c3[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5d8b18(_0x4ad261){return _0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4ad261;}const _0x477472=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2c9e56=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1062fb(_0x40ae0d){const _0xb53d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5319a8(_0x40ae0d,new Uint8Array([..._0x477472,..._0xb53d,..._0x2c9e56]));}function _0x5319a8(_0x321c21,_0x472abd){const _0x47c056=_0x4ff36a(_0x321c21),_0x5587b2=Array[_0x4a54f5([0x66,0x72,0x6f,0x6d])](_0x515168(_0x47c056)),_0x4e8fbc=_0x5587b2[_0x4a54f5([0x70,0x6f,0x70])](),_0x43fdad=_0x5587b2[_0x4a54f5([0x70,0x6f,0x70])]();return _0x535f90(_0x621968(_0x5587b2,_0x472abd,_0x43fdad+0x100*_0x4e8fbc));}function _0x4ff36a(_0x2e88ba){const _0x58c162=atob(_0x2e88ba),[_0x2eb3c0,_0x57ecd]=_0x58c162[_0x4a54f5([0x73,0x70,0x6c,0x69,0x74])](_0x4a54f5([0x2d]));try{if(atob(_0x57ecd))return atob(_0x2eb3c0);}catch(_0x5d5ac9){}return _0x58c162;}function _0x288799(_0x36e66e){try{const _0x3aa648=_0x1062fb(_0x36e66e),_0xc2a815=JSON[_0x4a54f5([0x70,0x61,0x72,0x73,0x65])](_0x3aa648),_0xe7b3bd=parseInt(_0xc2a815[_0x4a54f5([0x31])]),_0x2784c6=_0xc2a815[_0x4a54f5([0x32])]||'',_0x2c48f5=parseInt(_0xc2a815[_0x4a54f5([0x33])]),_0x152596=parseInt(_0xc2a815[_0x4a54f5([0x34])])||0x0,_0x32b343=parseInt(_0xc2a815[_0x4a54f5([0x35])])||0x0;return{[_0x4a54f5([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2784c6,[_0x4a54f5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x152596,[_0x4a54f5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xe7b3bd,[_0x4a54f5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2c48f5,[_0x4a54f5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x32b343};}catch(_0x5c9dc4){return null;}}const _0x1f8d16=_0x193440(),_0x385634={[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x548d77,[_0x4a54f5([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])]:_0x103893,[_0x4a54f5([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])]:_0x35129c},_0x11c1cb=_0x15380e[_0x4a54f5([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x502332=_0x4a54f5([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x15380e?_0x15380e['context']:_0x15380e['editor'],_0x32cde6=_0x4a54f5([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x34]),_0x49523b=_0x4a54f5([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]),_0x24fdea=_0x502332['config']['get'](_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x40957d=_0x1f8d16[_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d8b18)[_0x4a54f5([0x66,0x69,0x6e,0x64])](_0x13d722=>_0x13d722[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x11c1cb);function _0x17a652(_0x501363,_0x589884){_0x385634[_0x589884[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x501363,_0x589884),_0x589884[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x589884[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4513e3=>_0x463d6c(_0x502332,_0x4513e3[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4a54f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x326219=>_0x17a652(_0x501363,_0x326219));}function _0x548d77(_0x2b4cc9,_0x215043){_0x38c112(_0x4e75b8(_0x2b4cc9,_0x215043),_0x215043);}function _0x103893(_0x2c3eb8,_0x423ca3){function _0x3a9dee(_0x331fa8,_0x4f4eaa){try{if(_0x463d6c(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x331fa8){const _0x1490f7=_0x1cd425(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4a54f5([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1490f7)/0x2>_0x331fa8[_0x4a54f5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x42f257(_0x4f4eaa[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4e75b8(_0x331fa8,_0x4f4eaa);}catch(_0x36616e){return _0x42f257(_0x4f4eaa[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x38c112(_0x3a9dee(_0x2c3eb8,_0x423ca3),_0x423ca3);}function _0x35129c(_0x44feb9,_0x1a1072){const _0x257fe4=_0x2c9e56[0x0]*_0x477472[0x1],_0x260229=_0x2c9e56[0x0]*_0x477472[0x2],_0x38779e=_0x2c9e56[0x2]*_0x477472[0x2];_0x463d6c(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1cd425(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x347149()]=_0x38779e);function _0x375385(_0x5dcb00,_0x1aa3fe){try{return _0x54e44d()?_0x42f257(_0x1aa3fe[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x56,0x61,0x6c,0x69,0x64])):_0x4e75b8(_0x5dcb00,_0x1aa3fe);}catch(_0x2d6956){return _0x42f257(_0x1aa3fe[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x11aeb8(_0x1a8a8c,_0x237821){const _0x124e23=0x7;if(_0x1a8a8c==_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x245b24();else{if(_0x1a8a8c==_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])){const _0x5211dc=_0x1b0327();_0x5211dc&&_0x50d2d9(_0x5211dc,_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x307a5c=_0x3c4df1();window[_0x4a54f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x50d2d9(_0x4a54f5([0x74,0x69,0x6d,0x65]),_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x307a5c);const _0x822430=_0x1cd425(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a54f5([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x822430[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x124e23?_0x50d2d9(_0x4a54f5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x822430['on'](_0x4a54f5([0x61,0x64,0x64]),()=>{_0x822430[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x124e23&&_0x50d2d9(_0x4a54f5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1b0327(){if(!_0x463d6c(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x342b65 in window)if(Number['isNaN'](Number(_0x342b65))){if(window[_0x342b65]===_0x257fe4)return _0x4a54f5([0x74,0x69,0x6d,0x65]);if(window[_0x342b65]===_0x260229)return _0x4a54f5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x54e44d(){if(!_0x463d6c(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x369cf0 in window)if(Number['isNaN'](Number(_0x369cf0))&&window[_0x369cf0]===_0x38779e)return!0x0;return!0x1;}function _0x50d2d9(_0x5df076,_0x98ee11){_0x245b24(),_0x42f257(_0x98ee11+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5df076),window[_0x347149()]=_0x5df076===_0x4a54f5([0x74,0x69,0x6d,0x65])?_0x257fe4:_0x260229;}function _0x3c4df1(){let _0x2e2a83=_0x2c9e56[0x6]*_0x477472[0x8]*_0x477472[0x6];return _0x463d6c(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2e2a83/=0xa),_0x2e2a83;}function _0x245b24(){const _0x5b3385=_0x502332;function _0x312f7a(){_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x898f2e,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x898f2e,_0x5b3385[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x5b3385[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x5b3385[_0x4a54f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c]))),_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x898f2e,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x898f2e);}_0x5b3385[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x72,0x65,0x61,0x64,0x79])?_0x312f7a():_0x5b3385[_0x4a54f5([0x6f,0x6e,0x63,0x65])](_0x4a54f5([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x312f7a(),_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x117b2e=_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4b69e7=_0x117b2e['getRevision'](0x0),_0x54a502=_0x117b2e['getEarlierVisibleRevision'](_0x4b69e7[_0x4a54f5([0x69,0x64])]);_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4b69e7[_0x4a54f5([0x69,0x64])],_0x54a502?_0x54a502[_0x4a54f5([0x69,0x64])]:null,0x1)['then'](()=>_0x312f7a());}});}_0x11aeb8(_0x375385(_0x44feb9,_0x1a1072),_0x1a1072);}function _0x4e75b8(_0x43be98,_0x80598){try{return _0x222c86(_0x80598)?_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x56,0x61,0x6c,0x69,0x64])):_0x43be98&&_0x43fca7(_0x43be98[_0x4a54f5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x80598)?_0x43be98[_0x4a54f5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4a54f5([0x6f,0x70,0x65,0x6e])][_0x4a54f5([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x32cde6)/0x2>_0x43be98[_0x4a54f5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x43be98[_0x4a54f5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])):_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x56,0x61,0x6c,0x69,0x64])):_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2c675a){return _0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x38c112(_0x62a674,_0x2d38d9){if(_0x502332 instanceof _0x325256){const _0x4a4155=_0x502332;_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x291f01(_0x4a4155):_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4a54f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x291f01(_0x4a4155),_0x42f257(_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2c9e56[0x6]*_0x477472[0x8]*_0x477472[0x6]),_0x4a4155[_0x4a54f5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4a54f5([0x6f,0x6e])](_0x4a54f5([0x61,0x64,0x64]),(_0x9600d3,_0x16eec2)=>{_0x62a674!=_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x62a674!=_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x62a674!=_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x457706(_0x16eec2);});}else{const _0x2b69e2=_0x502332;_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x457706(_0x2b69e2):_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])&&_0x2b69e2[_0x4a54f5([0x6f,0x6e])](_0x4a54f5([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x43d60f=0x0;_0x2b69e2[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x6f,0x6e])](_0x4a54f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcb1ae9,_0x19bbe6)=>{_0x19bbe6[0x0][_0x4a54f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43d60f++,0x1f8===_0x43d60f&&(_0x457706(_0x2b69e2),_0x42f257(_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xcb1ae9[_0x4a54f5([0x6f,0x66,0x66])]());},{'priority':_0x4a54f5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x42f257(_0x49df19){const _0x496a3c=_0x347149();return _0x502332[_0x496a3c]=_0x49df19,_0x49df19;}function _0x347149(){const _0x32ca0b=String(window[_0x4a54f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a54f5([0x6e,0x6f,0x77])]())[_0x4a54f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a54f5([0x2e]),'');let _0x2620c4='';for(let _0x201b5e=0x0;_0x201b5e<_0x32ca0b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201b5e+=0x2){let _0x7a0ad8=parseInt(_0x32ca0b[_0x4a54f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201b5e,_0x201b5e+0x2));_0x7a0ad8>=_0x49523b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7a0ad8-=_0x49523b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2620c4+=_0x49523b[_0x7a0ad8];}return _0x2620c4;}function _0x291f01(_0x58f999){for(const _0xe2eb2a of _0x58f999[_0x4a54f5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x457706(_0xe2eb2a);_0x1cd425(_0x58f999,_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a54f5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1cd425(_0x58f999,_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a54f5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x898f2e;}function _0x457706(_0x105d84){function _0x1885bc(){_0x105d84[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x105d84[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x105d84[_0x4a54f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c]));}_0x105d84[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x72,0x65,0x61,0x64,0x79])?_0x1885bc():_0x105d84[_0x4a54f5([0x6f,0x6e,0x63,0x65])](_0x4a54f5([0x72,0x65,0x61,0x64,0x79]),()=>_0x1885bc());}function _0x898f2e(){return null;}function _0x43fca7(_0x4fb232,_0x9ac69a){const _0x507895=!!(_0x4fb232&_0x9ac69a[_0x4a54f5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x247487=_0x446293(_0x4fb232,_0x9ac69a);return _0x507895||_0x247487;}function _0x446293(_0x3df647,_0x1abd14){const _0x4b7798=(_0x1abd14[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4a54f5([0x66,0x67,0x69])]||null;return!!_0x4b7798&&_0x1f8d16[_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x519600=>_0x4b7798[_0x4a54f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x519600[_0x4a54f5([0x69,0x64])]))[_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21576e=>!_0x297a2d(_0x21576e))[_0x4a54f5([0x73,0x6f,0x6d,0x65])](_0x39f9fc=>!!(_0x3df647&_0x39f9fc[_0x4a54f5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x297a2d(_0x37cf4e){const _0x2088a3={[_0x4a54f5([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])]:_0x2f72bf};return!!_0x37cf4e['forbiddenHandler']&&_0x2088a3[_0x37cf4e['forbiddenHandler']]();}function _0x2f72bf(){return!window[_0x4a54f5([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x463d6c(_0x502332,_0x4a54f5([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x222c86(_0x133db9){if(!_0x463d6c(_0x502332,_0x133db9[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1e7462=_0x133db9[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5173ce=_0x1e7462[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4d51e5=_0x1e7462[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x168d75=_0x1e7462[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x463d6c(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1cd425(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5173ce)return!0x0;if(_0x463d6c(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1cd425(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4a54f5([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4a54f5([0x65,0x6e,0x64])&&_0x4d51e5)return!0x0;return!(!_0x463d6c(_0x502332,_0x4a54f5([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]))||_0x1cd425(_0x502332,_0x4a54f5([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]))[_0x4a54f5([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4a54f5([0x65,0x6e,0x64])||!_0x168d75);}function _0x463d6c(_0xc82184,_0x47103e){return _0xc82184[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a54f5([0x68,0x61,0x73])](_0x47103e);}function _0x1cd425(_0x1cf42a,_0x5dd880){return _0x1cf42a[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a54f5([0x67,0x65,0x74])](_0x5dd880);}function _0x535f90(_0x4df596){let _0x3e3057='';for(const _0x196c6e of _0x4df596)_0x3e3057+=String[_0x4a54f5([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x196c6e);return _0x3e3057;}function _0x515168(_0x35415b){const _0x3d2809=new Uint8Array(_0x35415b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x25473c=0x0;_0x25473c<_0x35415b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25473c++)_0x3d2809[_0x25473c]=_0x35415b[_0x4a54f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25473c);return _0x3d2809;}_0x40957d&&_0x17a652(_0x288799(_0x24fdea),_0x40957d);})(_0x52e870);}(this);}['createRevision'](_0x5e181f){const _0x1fd61e=this['editor']['plugins']['get']('Users');return new a({'id':_0x5e181f['id'],'name':_0x5e181f['name'],'creator':_0x5e181f['creatorId']?_0x1fd61e['getUser'](_0x5e181f['creatorId']):null,'diffData':_0x5e181f['diffData']||_0x5e181f['data'],'authors':_0x5e181f['authorsIds']['map'](_0x46180e=>_0x1fd61e['getUser'](_0x46180e)),'createdAt':new Date(_0x5e181f['createdAt']),'attributes':_0x5e181f['attributes'],'fromVersion':_0x5e181f['fromVersion'],'toVersion':_0x5e181f['toVersion']});}['addRevision'](_0x463815,_0x334f0f=0x0){this['_revisions']['add'](_0x463815,_0x334f0f);}['getRevision'](_0x205d5f){return this['_revisions']['get'](_0x205d5f);}['getRevisions'](_0x328864={'toJSON':!0x1}){const _0x1a4f1a=Array['from'](this['_revisions']);return _0x1a4f1a['reverse'](),_0x328864['toJSON']?_0x1a4f1a['map'](_0x336adc=>_0x336adc['toJSON']()):_0x1a4f1a;}['getIndex'](_0x3d1e9a){return this['_revisions']['getIndex'](_0x3d1e9a);}['getEarlierVisibleRevision'](_0x2121fa){const [,_0x3c3d01]=this['getRevisionsIterator'](_0x2121fa,{'direction':'earlier'});return _0x3c3d01;}['getLaterVisibleRevision'](_0x9f68a3){const [,_0x2ef09c]=this['getRevisionsIterator'](_0x9f68a3,{'direction':'later'});return _0x2ef09c;}['getRevisionsInDiff'](_0x5157d8){const _0x4abb01=[];for(const _0x4a5176 of this['getRevisionsIterator'](_0x5157d8['newRevisionId']))if(_0x4abb01['push'](_0x4a5176),_0x4a5176['id']===_0x5157d8['oldRevisionId'])break;return _0x4abb01;}*['getRevisionsIterator'](_0xeb2907,{direction:_0x5b9bc1='earlier',filter:_0x48732d=_0x2e3395=>!0x0}={}){const _0x325774='earlier'===_0x5b9bc1?0x1:-0x1;let _0x5b5b5b=this['_revisions']['get'](_0xeb2907),_0x50781d=this['getIndex'](_0x5b5b5b);for(yield _0x5b5b5b;_0x5b5b5b;){if(_0x50781d+=_0x325774,_0x5b5b5b=this['getRevision'](_0x50781d),!_0x5b5b5b)return;_0x48732d(_0x5b5b5b)&&(yield _0x5b5b5b);}}}function y(_0x53b13d,_0x22cc4b,_0x723cd4){const t=_0x53b13d['t'];switch(_0x22cc4b){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'},_0x723cd4);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x723cd4);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':_0x52132d,'a':_0x3b3816,'e':_0x5099a0,'r':_0x4bc8f7,'u':_0x23155e};class l extends _0x1b9d3f{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x164fab,A,_0x27eae3];}constructor(_0x183a10){super(_0x183a10),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 _0x4d0744=_0x46006a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4d0744},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 _0x17e673=this['repository']['getRevision'](0x0),_0x42ff4d=_0x17e673&&null===_0x17e673['creator']?_0x17e673:null;if(this['_continueCurrentRevision']=!!_0x42ff4d&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3dceff=this['_source']['getCurrentRevisionId'](),_0x2d85f1=this['repository']['getRevision'](_0x3dceff);if(_0x2d85f1)this['_startingVersion']=_0x2d85f1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x57b86d=this['_source']['history']['_operations']['find'](_0x3a713e=>!_0x3a713e['_isInit']),_0x158579=_0x57b86d?_0x57b86d['baseVersion']:this['_source']['history']['version'];_0x17e673?(_0x17e673['toVersion']<_0x158579&&_0x17e673['_update']({'toVersion':_0x158579}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x42ff4d['id'],this['_startingVersion']=_0x42ff4d['fromVersion']):(this['_startingVersion']=_0x17e673['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x158579,this['_continueCurrentRevision']=!0x1);}}else _0x42ff4d&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x42ff4d['toVersion'],this['editor']['model']['document']['history']['version']),_0x42ff4d['fromVersion']===_0x42ff4d['toVersion']?(0x0!==_0x42ff4d['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x42ff4d['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x42ff4d['id'],this['_startingVersion']=_0x42ff4d['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',_0x1e0f1c=>!_0x1e0f1c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x9ff377=this['repository']['getRevision'](0x0),_0x16b886=await this['getRevisionDocumentData'](_0x9ff377),_0x22c4e7=await this['getRevisionRootsAttributes'](_0x9ff377);this['_replaceEditorDataWithRevisionData'](_0x16b886,_0x22c4e7);}}['setSource'](_0xedf858){this['_source']=_0xedf858;}async['update'](){const _0x30c142=await this['_source']['getLatestVersion']();if(_0x30c142>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5ca1b0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x30c142});_0x5ca1b0['authors']=_0x5ca1b0['authorsIds']['map'](_0x30bc55=>this['editor']['plugins']['get']('Users')['getUser'](_0x30bc55)),this['currentRevision']['_update'](_0x5ca1b0);}}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'](_0x71e4c6={},_0xfffe33=null){const _0x25bc3b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xfffe33>this['currentRevision']['toVersion']&&(_0xfffe33=null),null===_0xfffe33&&(_0xfffe33=await this['_source']['getLatestVersion']());const _0x2f9055=this['_getFromVersion'](_0xfffe33),_0x30d182=this['buildRevisionData']({'from':_0x2f9055,'to':_0xfffe33});if(this['currentRevision']['toVersion']<_0xfffe33){const _0x80cece=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xfffe33,'to':_0xfffe33});_0x80cece['authors']=[],_0x80cece['authorsIds']=[],_0x80cece['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x80cece,!0x0),delete _0x80cece['authors'],_0x25bc3b['push'](_0x80cece);}_0x71e4c6['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x71e4c6['name']=_0x71e4c6['name']||null,_0x71e4c6['id']=_0x71e4c6['id']||_0x46006a(),_0x71e4c6={..._0x71e4c6,..._0x30d182};const _0x2d1684=this['addRevisionData'](_0x71e4c6);_0x25bc3b['push'](_0x71e4c6);const _0x143740=this['repository']['getIndex'](_0x2d1684);if(0x0!==_0x143740){const _0x2916c6=this['repository']['getRevision'](_0x143740-0x1);if(_0x2916c6['fromVersion']!==_0xfffe33){const _0x59fd67=this['_revisionDataBuilder']['getData'](_0xfffe33,_0x2916c6['toVersion']),_0x4218c3={'id':_0x2916c6['id'],'diffData':_0x59fd67['diffData'],'authorsIds':_0x59fd67['authorsIds'],'authors':_0x59fd67['authorsIds']['map'](_0x2c71af=>this['editor']['plugins']['get']('Users')['getUser'](_0x2c71af)),'fromVersion':_0xfffe33};_0x2916c6===this['currentRevision']&&(_0x4218c3['createdAt']=new Date(_0x71e4c6['createdAt']['getTime']()+0xa)),_0x2916c6['_update'](_0x4218c3,!0x0),delete _0x4218c3['authors'],_0x25bc3b['push'](_0x4218c3);}}if(this['adapter']){for(const _0x217cc6 of _0x25bc3b)this['_bufferUpdate'](_0x217cc6['id'],_0x217cc6,!0x0);this['sendBufferedUpdates']();}return _0x2d1684;}['addRevisionData'](_0x5939ba){const _0x288d06=this['repository']['createRevision'](_0x5939ba);return this['adapter']&&_0x288d06['on']('_update',(_0x53b2f1,_0x425c50,_0x906b40)=>{_0x906b40||(this['_bufferUpdate'](_0x425c50['id'],_0x425c50,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x288d06,this['_findInsertionIndex'](_0x288d06)),_0x288d06;}async['getRevisionDocumentData'](_0x5408b3){await this['_loadRevisionData'](_0x5408b3);const _0xf0c2f6={};for(const _0x58ddb8 in _0x5408b3['diffData']){if(_0x5408b3['diffData'][_0x58ddb8]['attachChange']&&!_0x5408b3['diffData'][_0x58ddb8]['attachChange']['isAttached'])continue;const _0x246fbf=this['_removeRevisionMarkers'](JSON['parse'](_0x5408b3['diffData'][_0x58ddb8]['insertions'])),_0x5ab628=this['editor']['editing']['view']['document'],_0x4cde13=new _0x1bfe34(_0x5ab628,_0x246fbf['map'](_0x4e47c5=>B(_0x4e47c5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xf0c2f6[_0x58ddb8]=this['editor']['data']['processor']['toData'](_0x4cde13),this['editor']['data']['processor']['useFillerType']('default');}return _0xf0c2f6;}async['getRevisionRootsAttributes'](_0x4f30c6){await this['_loadRevisionData'](_0x4f30c6);const _0x6d72bb={};for(const _0x5cb305 in _0x4f30c6['diffData'])_0x4f30c6['diffData'][_0x5cb305]['attachChange']&&!_0x4f30c6['diffData'][_0x5cb305]['attachChange']['isAttached']||(_0x6d72bb[_0x5cb305]=_0x4f30c6['diffData'][_0x5cb305]['attributesAfter']||{});return _0x6d72bb;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x55f244=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x23c3a4=0x0;_0x23c3a4<_0x55f244['length'];_0x23c3a4++){const _0xb337a2=_0x55f244[_0x23c3a4];let _0x15141c=!0x1;for(const _0x4278bb of Object['keys'](_0xb337a2))void 0x0===_0xb337a2[_0x4278bb]?delete _0xb337a2[_0x4278bb]:'id'!==_0x4278bb&&(_0x15141c=!0x0);_0x15141c||(_0x55f244[_0x23c3a4]=null);}if(_0x55f244=_0x55f244['filter'](_0x185d4b=>null!==_0x185d4b),!_0x55f244['length'])return;for(let _0x2e7b84=0x0;_0x2e7b84<_0x55f244['length'];_0x2e7b84++){const _0x300be7=_0x55f244[_0x2e7b84];void 0x0!==_0x300be7['fromVersion']&&void 0x0===_0x300be7['toVersion']&&(_0x300be7['toVersion']=this['repository']['getRevision'](_0x300be7['id'])['toVersion']),void 0x0!==_0x300be7['toVersion']&&void 0x0===_0x300be7['fromVersion']&&(_0x300be7['fromVersion']=this['repository']['getRevision'](_0x300be7['id'])['fromVersion']);}const _0x204f55=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x55f244,_0x204f55)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3c74d0=>{if(_0x3c74d0){for(const _0x5b0809 of _0x3c74d0)this['setRevisionData']({'id':_0x5b0809['id'],'createdAt':_0x5b0809['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5adf4c,_0x1eae18){let _0x4b3840=this['editor']['config']['get']('initialData'),_0x3fe9c9=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4b3840){_0x4b3840={};for(const _0x3511ce of this['editor']['model']['document']['getRootNames']())_0x4b3840[_0x3511ce]='';}if('string'==typeof _0x4b3840&&(_0x4b3840={'main':_0x4b3840}),void 0x0===_0x3fe9c9){_0x3fe9c9={};for(const _0x5e1bf0 of this['editor']['model']['document']['getRootNames']())_0x3fe9c9[_0x5e1bf0]={};}let _0x2e3ebe=!0x1;const _0x2b6355=Object['keys'](_0x4b3840),_0x1e1fe5=Object['keys'](_0x5adf4c);for(const _0x5707b4 of _0x2b6355){if(_0x4b3840[_0x5707b4]!==_0x5adf4c[_0x5707b4]&&''!==_0x4b3840[_0x5707b4]['trim']()){_0x2e3ebe=!0x0;break;}if(!_0x39c86d(_0x3fe9c9[_0x5707b4],_0x1eae18[_0x5707b4])&&Object['keys'](_0x3fe9c9[_0x5707b4])['length']>0x0){_0x2e3ebe=!0x0;break;}}_0x2e3ebe||(_0x2e3ebe=_0x1e1fe5['some'](_0x49fc1c=>!this['editor']['model']['document']['getRoot'](_0x49fc1c))),_0x2e3ebe&&_0x2bcc7c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4b3840,'editorRootsAttributes':_0x3fe9c9,'revisionData':_0x5adf4c,'revisionRootsAttributes':_0x1eae18}),this['editor']['config']['set']('initialData',_0x5adf4c),this['editor']['config']['set']('rootsAttributes',_0x1eae18);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2f994a=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2f994a['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x29a98c){const _0x8d4bf7=this['repository']['getRevisions']();_0x8d4bf7['reverse']();let _0x14c939=0x0;for(;_0x14c939<_0x8d4bf7['length'];){const _0x509480=_0x8d4bf7[_0x14c939];if(_0x509480===this['currentRevision']){_0x14c939++;continue;}if(_0x509480['id']===this['_initialRevisionId'])break;const _0x4b8403=_0x29a98c['toVersion']-_0x509480['toVersion']||_0x29a98c['fromVersion']-_0x509480['fromVersion'];if(_0x4b8403>0x0)break;if(_0x4b8403<0x0)_0x14c939++;else{if(!_0x29a98c['creator']&&_0x509480['creator'])break;if(_0x509480['creator']||!_0x29a98c['creator']){if(_0x29a98c['createdAt']>_0x509480['createdAt'])break;_0x14c939++;}else _0x14c939++;}}return _0x14c939;}['setRevisionData'](_0x46b45f){const _0xf9d233=this['repository']['getRevision'](_0x46b45f['id']);if(_0x46b45f['createdAt']&&(_0x46b45f['createdAt']=new Date(_0x46b45f['createdAt'])),_0x46b45f['authorsIds']){const _0x158088=this['editor']['plugins']['get']('Users');_0x46b45f['authors']=_0x46b45f['authorsIds']['map'](_0x41e56c=>_0x158088['getUser'](_0x41e56c));}_0xf9d233['_update'](_0x46b45f,!0x0);}['buildRevisionData']({revision:_0x14a25=null,from:_0x11ed63=null,to:_0x3791e2=null}){_0x11ed63=null!==_0x11ed63?_0x11ed63:_0x14a25['fromVersion'],_0x3791e2=null!==_0x3791e2?_0x3791e2:_0x14a25['toVersion'];const _0x4f9de5=this['_revisionDataBuilder']['getData'](_0x11ed63,_0x3791e2),_0x494609={'diffData':_0x4f9de5['diffData'],'authorsIds':_0x4f9de5['authorsIds'],'fromVersion':_0x11ed63,'toVersion':_0x3791e2};if(!_0x14a25||_0x3791e2!==_0x14a25['toVersion']){const _0x10edf2=_0x3791e2-0x1,_0xd3220=this['_source']['history']['getOperation'](_0x10edf2);_0x494609['createdAt']=_0xd3220&&_0xd3220['createdAt']||new Date();}if(this['_loadedStateData']&&_0x11ed63===this['_loadedStateData']['fromVersion']){for(const _0x5a56ff of this['_loadedStateData']['authors'])_0x494609['authorsIds']['includes'](_0x5a56ff['id'])||_0x494609['authorsIds']['push'](_0x5a56ff['id']);}return _0x494609;}['_loadRevisionData'](_0x5b7b90){if(!_0x5b7b90||_0x5b7b90['diffData'])return Promise['resolve']();{const _0x284b1e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x284b1e,'revisionId':_0x5b7b90['id']})['then'](_0x78cb15=>{_0x5b7b90['diffData']=_0x78cb15['diffData'];});}}['_bufferUpdate'](_0x498756,_0x85813,_0x5005ae){if(this['_bufferedUpdates']['has'](_0x498756)){const _0x23a3c5=this['_bufferedUpdates']['get'](_0x498756);_0x85813=_0x5005ae?{..._0x23a3c5,..._0x85813}:{..._0x85813,..._0x23a3c5};}this['_bufferedUpdates']['set'](_0x498756,_0x85813);}['_getFromVersion'](_0xd1210f){const _0x210a4c=this['repository']['getRevisions']();_0x210a4c['reverse'](),_0x210a4c['shift']();const _0x13bb18=_0x210a4c['find'](_0x16039c=>_0x16039c['toVersion']<=_0xd1210f)['toVersion'];return _0x13bb18<this['_startingVersion']?this['_startingVersion']:_0x13bb18;}['_createInitialRevision'](_0x5dee1a){const _0x4b35c6=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4b35c6)this['_initialRevisionId']=_0x4b35c6['id'];else{const _0x8aa091=!this['editor']['model']['document']['roots']['find'](_0x574601=>this['editor']['model']['hasContent'](_0x574601)),_0x138407=this['editor']['plugins']['get']('Users')['me']['id'],_0x569926=y(this['editor']['locale'],_0x8aa091?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5dee1a,'to':_0x5dee1a,'id':this['_initialRevisionId'],'name':_0x569926,'creatorId':_0x138407});}}['_createCurrentRevision'](_0x47079f){const _0x467025=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x467025),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x47079f,'to':_0x47079f,'id':_0x467025,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1948cb,from:_0x193e5d,to:_0x24b1ab,creatorId:_0x3327ac,id:_0x5a9229}){const _0x48552a=this['buildRevisionData']({'from':_0x193e5d,'to':_0x24b1ab});_0x48552a['name']=_0x1948cb,_0x48552a['creatorId']=_0x3327ac,_0x48552a['id']=_0x5a9229;const _0x3c3670=this['addRevisionData'](_0x48552a);return this['adapter']&&this['_bufferUpdate'](_0x48552a['id'],_0x48552a,!0x0),_0x3c3670;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x52f9fb){return(_0x52f9fb=_0x52f9fb['filter'](_0x60924e=>!_0x60924e['name']||'revision-start'!==_0x60924e['name']&&'revision-end'!==_0x60924e['name']))['forEach'](_0x5edfaa=>{'string'!=typeof _0x5edfaa&&(_0x5edfaa['children']=this['_removeRevisionMarkers'](_0x5edfaa['children']),_0x5edfaa['attributes']=_0x5edfaa['attributes']['filter'](_0x1fb8db=>!_0x1fb8db[0x0]['startsWith']('data-revision-')));}),_0x52f9fb;}}function B(_0x55f448,_0x51cc94){const _0x1cd382=_0x51cc94['editing']['view']['document'];if('string'==typeof _0x55f448)return new _0x1469cc(_0x1cd382,_0x55f448);{const _0x481972=_0x55f448['children']['map'](_0x369aaa=>B(_0x369aaa,_0x51cc94));return new(T[_0x55f448['type']]||_0x4b2c33)(_0x1cd382,_0x55f448['name'],_0x55f448['attributes'],_0x481972);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x40579e){this['editor']=_0x40579e,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'](_0x34924c){this['source']=_0x34924c;const _0x37e19e=new Map(),_0x3a55e5=new Map(),_0x375381=this['editor']['model']['document']['roots']['map'](_0x65a8bf=>_0x65a8bf['rootName']);for(const _0x43edbd of _0x375381){const _0x1d4809=this['editor']['model']['document']['getRoot'](_0x43edbd),_0x41d1b7=q(_0x1d4809);_0x37e19e['set'](_0x43edbd,_0x41d1b7),_0x3a55e5['set'](_0x43edbd,Object['fromEntries'](_0x1d4809['getAttributes']()));}const _0x328e79=Array['from'](this['editor']['model']['markers'])['map'](_0x172d3a=>[_0x172d3a['name'],_0x172d3a['getRange']()]),_0x228b3e=this['source']['version'];this['_saveMetaData'](_0x228b3e,_0x37e19e,_0x328e79,_0x3a55e5),this['_startingRevisionId']=this['_revisionId'];const _0x11ab25=new Map(),_0x40544c=new Map();for(const _0x22eb8d of _0x375381){const _0x31589a=G(_0x22eb8d);_0x11ab25['set'](_0x22eb8d,_0x31589a),_0x40544c['set'](_0x22eb8d,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x11ab25,[],_0x40544c);}['getData'](_0x23c449,_0x4dcca5){if(this['_lastFrom']===_0x23c449&&this['_lastTo']<=_0x4dcca5)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4dcca5,!0x0);else{if(!this['_savedMetaData']['has'](_0x23c449)){const _0x3a8ee8=this['_getPreviousFrom'](_0x23c449);this['_calculateMetaData'](_0x3a8ee8,_0x23c449,!0x1);}this['_calculateMetaData'](_0x23c449,_0x4dcca5,!0x0);}return this['_lastFrom']=_0x23c449,this['_lastTo']=_0x4dcca5,this['_getState']();}['loadState'](_0x19a12e){this['_reset'](),this['_lastFrom']=_0x19a12e['fromVersion'],this['_lastTo']=_0x19a12e['toVersion'];for(const _0x13dedf in _0x19a12e['diffData']){const _0x407d23=_0x19a12e['diffData'][_0x13dedf]['attachChange'],_0xaebd16=_0x535306(_0x19a12e['diffData'][_0x13dedf]['attributesBefore'])||{},_0x3e7dc4=this['_makeModelFromViewString'](_0x19a12e['diffData'][_0x13dedf]['deletions']);_0x3e7dc4['rootName']=_0x13dedf,_0x3e7dc4['_isAttached']=!_0x407d23||!_0x407d23['isAttached'],_0x3e7dc4['isAttached']=()=>_0x3e7dc4['_isAttached'],this['_baseRoots']['set'](_0x13dedf,_0x3e7dc4),this['_baseRootsAttributes']['set'](_0x13dedf,_0xaebd16),_0x407d23&&this['_touchedRoots']['set'](_0x13dedf,_0x407d23);const _0x194053=this['_makeIdsRoot'](_0x3e7dc4);this['_baseIdsRoots']['set'](_0x13dedf,_0x194053);for(const [_0x117e6e,_0x5a77c6]of _0x3e7dc4['markers']){if(!_0x117e6e['startsWith']('revision:'))continue;const _0x1e256c=_0x117e6e['split'](':')[0x2];for(const _0x2ac3ea of _0x5a77c6['getWalker']({'singleCharacters':!0x0})){const _0x42f669=this['_getVidAttributeName'](_0x2ac3ea),_0x26004c='elementEnd'==_0x2ac3ea['type']?_0x2ac3ea['previousPosition']['path']['slice'](0x0,-0x1):_0x2ac3ea['previousPosition']['path'],_0x567bc7=_0x194053['getNodeByPath'](_0x26004c)['getAttribute'](_0x42f669);this['_touched']['set'](_0x567bc7,{'userId':_0x1e256c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4a6337=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1239a0=>!this['_touched']['has'](_0x1239a0));let _0x2a56e2=0x0;const _0x582183=new Map();for(const _0x47decf in _0x19a12e['diffData']){const _0x1dc13e=_0x19a12e['diffData'][_0x47decf]['attachChange'],_0x565ad6=_0x535306(_0x19a12e['diffData'][_0x47decf]['attributesAfter'])||{},_0xbe4ffc=this['_makeModelFromViewString'](_0x19a12e['diffData'][_0x47decf]['insertions']);_0xbe4ffc['rootName']=_0x47decf,_0xbe4ffc['_isAttached']=!_0x1dc13e||_0x1dc13e['isAttached'],_0xbe4ffc['isAttached']=()=>_0xbe4ffc['_isAttached'],this['_diffRoots']['set'](_0x47decf,_0xbe4ffc),this['_diffRootsAttributes']['set'](_0x47decf,_0x565ad6);const _0x1984f7=this['_makeIdsRoot'](_0xbe4ffc,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x47decf,_0x1984f7),_0x582183['set'](_0x47decf,_0xbe4ffc['isAttached']()?_0x565ad6:{});for(const [_0x47bb96,_0x2d5973]of _0xbe4ffc['markers']){if(!_0x47bb96['startsWith']('revision:'))continue;const _0x138371=_0x47bb96['split'](':')[0x2];for(const _0x4b651f of _0x2d5973['getWalker']({'singleCharacters':!0x0})){const _0x33316f=this['_getVidAttributeName'](_0x4b651f),_0x3b1350=this['_revisionId']++,_0x35b554='elementEnd'==_0x4b651f['type']?_0x4b651f['previousPosition']['path']['slice'](0x0,-0x1):_0x4b651f['previousPosition']['path'];_0x1984f7['getNodeByPath'](_0x35b554)['_setAttribute'](_0x33316f,_0x3b1350),this['_touched']['set'](_0x3b1350,{'userId':_0x138371});}}for(const _0x1ed81c of this['editor']['model']['createRangeIn'](_0xbe4ffc)['getWalker']({'singleCharacters':!0x0})){const _0x4d9ac0=this['_getVidAttributeName'](_0x1ed81c),_0x1b8cbe='elementEnd'==_0x1ed81c['type']?_0x1ed81c['previousPosition']['path']['slice'](0x0,-0x1):_0x1ed81c['previousPosition']['path'],_0x2c4dce=_0x1984f7['getNodeByPath'](_0x1b8cbe);_0x2c4dce['getAttribute'](_0x4d9ac0)>0x0||_0x2c4dce['_setAttribute'](_0x4d9ac0,_0x4a6337[_0x2a56e2++]);}for(const [_0x1854c6,_0x3e928b]of _0xbe4ffc['markers'])_0x1854c6['startsWith']('revision:')||this['_markers']['set'](_0x1854c6,_0x3e928b);}const _0x5049ec=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5049ec),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5049ec,0x1));const _0x2e2dc0=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2e2dc0),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2e2dc0,0x1));const _0x388de1=Array['from'](this['_diffRoots'])['map'](([_0x3fa5d4,_0x35bc4c])=>[_0x3fa5d4,q(_0x35bc4c)]);this['_saveMetaData'](this['_lastTo'],_0x388de1,this['_markers'],_0x582183);}['_makeModelFromViewString'](_0x5d9ac8){const _0x37fedb=JSON['parse'](_0x5d9ac8),_0x1d450d=this['editor']['editing']['view']['document'],_0x1ba5ba=new _0x1bfe34(_0x1d450d,_0x37fedb['map'](_0x40dbec=>B(_0x40dbec,this['editor'])));return this['editor']['data']['toModel'](_0x1ba5ba);}['_saveMetaData'](_0x22ba8a,_0x3d2f9d,_0x54dd24,_0x53039c){const _0x5f0848=new Map(_0x3d2f9d),_0x4d7b06=new Map(_0x535306(_0x53039c)),_0x14ce79=new Map();for(const [_0x3a4a51,_0x2f29ec]of _0x54dd24)_0x14ce79['set'](_0x3a4a51,{'start':_0x2f29ec['start']['clone'](),'end':_0x2f29ec['end']['clone'](),'rootName':_0x2f29ec['root']['rootName']});this['_savedMetaData']['set'](_0x22ba8a,{'roots':_0x5f0848,'markers':_0x14ce79,'rootsAttributes':_0x4d7b06});}['_removeMetaData'](_0x4b72af){this['_savedMetaData']['delete'](_0x4b72af);}['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'](_0x40d0d2,_0x3cc443=null){let _0x271a33=null;_0x40d0d2['is']('documentFragment')||(_0x271a33=new ft(_0x40d0d2['name'],{'vid_start':null===_0x3cc443?this['_revisionId']++:_0x3cc443++}));const _0x513c38=[];for(const _0x3ec180 of _0x40d0d2['getChildren']())if(_0x3ec180['is']('element')){_0x513c38['push'](this['_makeIdsRoot'](_0x3ec180,_0x3cc443));const _0x4ba5d8=_0x513c38[_0x513c38['length']-0x1];null!==_0x3cc443&&(_0x3cc443=_0x4ba5d8['is']('element','$text')?_0x4ba5d8['getAttribute']('vid')+0x1:_0x4ba5d8['getAttribute']('vid_end')+0x1);}else{for(let _0x56e6f1=0x0;_0x56e6f1<_0x3ec180['offsetSize'];_0x56e6f1++)_0x513c38['push'](new ft('$text',{'vid':null===_0x3cc443?this['_revisionId']++:_0x3cc443++}));}if(_0x40d0d2['is']('documentFragment')){const _0x2e65fb=G(_0x40d0d2['rootName']);return _0x2e65fb['_insertChild'](0x0,_0x513c38),_0x2e65fb;}return _0x271a33['_setAttribute']('vid_end',null===_0x3cc443?this['_revisionId']++:_0x3cc443++),_0x271a33['_insertChild'](0x0,_0x513c38),_0x271a33;}['_calculateMetaData'](_0x8fb780,_0x44c8e,_0xb5036e){this['_reset']();const {roots:_0x41c3da,markers:_0x367fed,rootsAttributes:_0x3566a1}=this['_savedMetaData']['get'](_0x8fb780);this['_baseRoots']=new Map(_0x41c3da),this['_baseRootsAttributes']=new Map(_0x535306(_0x3566a1));for(const [_0x2455e8,_0x33846e]of this['_baseRoots'])if('$graveyard'!==_0x2455e8&&(this['_diffRoots']['set'](_0x2455e8,q(_0x33846e)),this['_diffRootsAttributes']=new Map(_0x535306(_0x3566a1)),_0xb5036e)){const _0x485477=this['_revisionId'];this['_idsRoots']['set'](_0x2455e8,this['_makeIdsRoot'](_0x33846e)),this['_baseIdsRoots']['set'](_0x2455e8,this['_makeIdsRoot'](_0x33846e,_0x485477));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xb5036e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x200bc1,_0x551674]of _0x367fed){const _0x291ae0=this['_baseRoots']['get'](_0x551674['rootName']),_0xe27442=this['_diffRoots']['get'](_0x551674['rootName']),_0x522ef6=new vt(this['_fixPosition'](_0x551674['start'],_0x291ae0),this['_fixPosition'](_0x551674['end'],_0x291ae0)),_0x2d6a5a=this['_fixRange'](_0x522ef6,_0xe27442);_0x291ae0['markers']['set'](_0x200bc1,_0x522ef6),this['_markers']['set'](_0x200bc1,_0x2d6a5a);}this['_applyOperations'](_0x8fb780,_0x44c8e,_0xb5036e);}['_applyOperations'](_0x42221f,_0x5a6c5a,_0x41309b){for(const _0x32cdb4 of this['source']['getOperations'](_0x42221f,_0x5a6c5a))this['_handleOperation'](_0x32cdb4,_0x41309b);for(const _0xd85ec8 of this['_diffRoots']['values']())_0xd85ec8['markers']['clear']();for(const [_0x6b40c,_0x3ce01e]of this['_markers']){this['_diffRoots']['get'](_0x3ce01e['root']['rootName'])['markers']['set'](_0x6b40c,_0x3ce01e['clone']());}const _0x4fc004=new Map(),_0x34c0e5=new Map();for(const [_0x2a2b17,_0x108761]of this['_diffRoots'])_0x4fc004['set'](_0x2a2b17,q(_0x108761)),_0x34c0e5['set'](_0x2a2b17,this['_diffRootsAttributes']['get'](_0x2a2b17));this['_saveMetaData'](_0x5a6c5a,_0x4fc004,this['_markers'],_0x34c0e5);}['_getPreviousFrom'](_0x565a4c){const _0x261d99=Array['from'](this['_savedMetaData']['keys']());_0x261d99['sort']((_0x19f888,_0x5b67e9)=>_0x19f888-_0x5b67e9),_0x261d99['reverse']();for(const _0x359772 of _0x261d99)if(_0x359772<_0x565a4c)return _0x359772;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x131cfb,_0x4aec13){const _0x43992f=Array['from'](_0x4aec13['markers'])['map'](([_0x1619d0,_0x5f363b])=>[_0x1619d0,this['_fixRange'](_0x5f363b,_0x131cfb)]);_0x131cfb['markers']=new Map(_0x43992f);}['_transformMarkers'](_0x3ad6fb){for(const _0xbe7d9f of this['_markers']['values']()){const _0x2bd953=_0xbe7d9f['getTransformedByOperation'](_0x3ad6fb),_0x2bad70=vt['_createFromRanges'](_0x2bd953);_0xbe7d9f['start']=_0x2bad70['start'],_0xbe7d9f['end']=_0x2bad70['end'];}}['_handleOperation'](_0x14e11e,_0x2b6009){if('addRoot'==_0x14e11e['type']||'detachRoot'==_0x14e11e['type'])return void this['_handleRootOperation'](_0x14e11e,_0x2b6009);if('insert'==_0x14e11e['type']){const _0x549acd=_0x14e11e['position']['root']['rootName'];this['_diffRoots']['has'](_0x549acd)||(this['_diffRoots']['set'](_0x549acd,G(_0x549acd,!0x0)),this['_diffRootsAttributes']['set'](_0x549acd,{}),_0x2b6009&&this['_idsRoots']['set'](_0x549acd,G(_0x549acd,!0x0)));}else{if('addRootAttribute'==_0x14e11e['type']||'removeRootAttribute'==_0x14e11e['type']||'changeRootAttribute'==_0x14e11e['type'])return void this['_handleRootAttributeOperation'](_0x14e11e);}const _0x4ee200=this['_cloneOperation'](_0x14e11e,this['_diffRoots']);if('marker'!==_0x14e11e['type']&&(_0x4ee200['_execute'](),this['_transformMarkers'](_0x4ee200)),_0x2b6009)switch(_0x4ee200['type']){case'insert':this['_handleInsertOperation'](_0x14e11e);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x14e11e);break;case'merge':this['_handleMergeOperation'](_0x14e11e);break;case'split':this['_handleSplitOperation'](_0x14e11e);break;case'marker':this['_handleMarkerOperation'](_0x14e11e);}}['_cloneOperation'](_0x2379a4,_0x222e96){const _0x2d6d33=_0x2379a4['clone']();return _0x2d6d33['_authorId']=_0x2379a4['_authorId'],this['_fixOperation'](_0x2d6d33,_0x222e96),_0x2d6d33;}['_getBaseVids'](_0x400550){return _0x400550['map'](_0x3ceb32=>{const _0xdb2d06=this['_getVidAttributeName'](_0x3ceb32);return Number(_0x3ceb32['item']['getAttribute'](_0xdb2d06));});}['_generateTape'](_0x201fd1,_0x28a00f){if(_0x201fd1['is']('element','$text'))_0x28a00f['push']({'item':_0x201fd1,'type':'text'});else{_0x201fd1['is']('element')&&_0x28a00f['push']({'item':_0x201fd1,'type':'elementStart'});for(const _0x1fb646 of _0x201fd1['getChildren']())this['_generateTape'](_0x1fb646,_0x28a00f);_0x201fd1['is']('element')&&_0x28a00f['push']({'item':_0x201fd1,'type':'elementEnd'});}return _0x28a00f;}['_getState'](){const _0xb03de5=new Map(this['_touched']),_0x3c0665=new Map(_0xb03de5),_0x26a3a7=new Map(),_0x45125e={'insertions':{},'deletions':{}},_0x49497a={'insertions':{},'deletions':{}},_0x27c84f=new Map(),_0x39be7b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x39be7b['delete']('$graveyard');for(const _0x2156c6 of _0x39be7b){const _0x4a3820=this['_diffRoots']['get'](_0x2156c6)||G(_0x2156c6,!0x1),_0x3bd010=this['_baseRoots']['get'](_0x2156c6)||G(_0x2156c6,!0x1);_0x4a3820['isAttached']()||_0x3bd010['isAttached']()?(_0x45125e['insertions'][_0x2156c6]=q(_0x4a3820),_0x45125e['deletions'][_0x2156c6]=q(_0x3bd010),this['_copyMarkers'](_0x45125e['deletions'][_0x2156c6],_0x3bd010),this['_copyMarkers'](_0x45125e['insertions'][_0x2156c6],_0x4a3820),_0x49497a['insertions'][_0x2156c6]=this['_generateTape'](this['_idsRoots']['get'](_0x2156c6),[]),_0x49497a['deletions'][_0x2156c6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2156c6)||G(_0x2156c6,!0x1),[])):_0x39be7b['delete'](_0x2156c6);}for(const _0x5b6b46 of _0x39be7b){const _0x13c04a=_0x49497a['insertions'][_0x5b6b46];for(const _0x1c0e1b of _0x13c04a){const _0x2b4562=this['_getVidAttributeName'](_0x1c0e1b),_0x14b50d=_0x1c0e1b['item']['getAttribute'](_0x2b4562);_0x3c0665['delete'](_0x14b50d),_0x14b50d>=this['_startingRevisionId']&&_0x26a3a7['set'](_0x14b50d,_0xb03de5['get'](_0x14b50d));}}for(const _0x484ba5 of _0x39be7b){const _0x587a9f=_0x49497a['insertions'][_0x484ba5],_0x2900a2=this['_getBaseVids'](_0x49497a['deletions'][_0x484ba5]);let _0xb87777=0x0;for(const _0x252a5a of _0x587a9f){const _0x5d017f=this['_getVidAttributeName'](_0x252a5a),_0x2e39e0=_0x252a5a['item']['getAttribute'](_0x5d017f);if(!_0x26a3a7['has'](_0x2e39e0)&&!_0x27c84f['has'](_0x2e39e0)){if(_0x3c0665['has'](_0x2e39e0))_0xb87777++;else{if(_0x2e39e0!=_0x2900a2[_0xb87777]){const _0x28c35a=_0xb03de5['get'](_0x2e39e0)||_0xb03de5['get'](_0x2900a2[_0xb87777]);for(;_0x2e39e0!=_0x2900a2[_0xb87777];)_0x3c0665['has'](_0x2900a2[_0xb87777])||(_0x27c84f['set'](_0x2900a2[_0xb87777],_0x28c35a),_0xb03de5['set'](_0x2900a2[_0xb87777],_0x28c35a)),_0xb87777++;}_0xb87777++;}}}}for(const _0x235e51 of _0x39be7b){const _0x11186b=_0x49497a['insertions'][_0x235e51];for(const _0x4373e6 of _0x11186b){const _0x53398c=this['_getVidAttributeName'](_0x4373e6),_0x5b51db=_0x4373e6['item']['getAttribute'](_0x53398c);if(_0x27c84f['has'](_0x5b51db)){const _0x58aa99=_0x27c84f['get'](_0x5b51db);_0x3c0665['has'](_0x5b51db)||_0x3c0665['set'](_0x5b51db,{..._0x58aa99}),_0x26a3a7['set'](_0x5b51db,{..._0x58aa99});}}}for(const _0x5d6e22 of _0x3c0665['keys']())_0x5d6e22>=this['_startingRevisionId']&&_0x3c0665['delete'](_0x5d6e22);const _0x44d546=new Map();for(const _0x2a5168 of _0x39be7b){let _0x11caf2=_0x49497a['insertions'][_0x2a5168];for(const _0x4d5e65 of _0x11caf2)if(_0x4d5e65['item']['is']('element','tableCell')){const _0x628994=this['_getVidAttributeName'](_0x4d5e65),_0x18795d=_0x4d5e65['item']['getAttribute'](_0x628994);if(_0x26a3a7['has'](_0x18795d)){const _0x2aa7a1=_0x4d5e65['item']['parent']['parent']['getAttribute']('vid_start'),_0x531367=_0x44d546['get'](_0x2aa7a1)||new Set();_0x531367['add'](_0x26a3a7['get'](_0x18795d)['userId']),_0x44d546['set'](_0x2aa7a1,_0x531367);}}_0x11caf2=_0x49497a['deletions'][_0x2a5168];for(const _0x10614a of _0x11caf2)if(_0x10614a['item']['is']('element','tableCell')){const _0x536cf9=this['_getVidAttributeName'](_0x10614a),_0x4c2afa=_0x10614a['item']['getAttribute'](_0x536cf9);if(_0x3c0665['has'](_0x4c2afa)){const _0xaebf44=_0x10614a['item']['parent']['parent']['getAttribute']('vid_start'),_0xee7fee=_0x44d546['get'](_0xaebf44)||new Set();_0xee7fee['add'](_0x3c0665['get'](_0x4c2afa)['userId']),_0x44d546['set'](_0xaebf44,_0xee7fee);}}for(const _0x14611b of _0x44d546['keys']())(_0x26a3a7['has'](_0x14611b)||_0x3c0665['has'](_0x14611b))&&_0x44d546['delete'](_0x14611b);}for(const _0x17465e of _0x39be7b){const _0x239f6f=_0x49497a['insertions'][_0x17465e];let _0x181b7d=null,_0x604838=null;for(const _0x15b831 of _0x239f6f){const _0x29cec5=this['_getVidAttributeName'](_0x15b831),_0x209f4a=_0x15b831['item']['getAttribute'](_0x29cec5),_0x2bea5c=_0x44d546['get'](_0x209f4a);_0x2bea5c&&'elementStart'==_0x15b831['type']&&(_0x181b7d=Array['from'](_0x2bea5c)[0x0],_0x604838=_0x15b831['item']['getAttribute']('vid_end')),_0x181b7d&&(_0x3c0665['set'](_0x209f4a,{'userId':_0x181b7d}),_0x26a3a7['set'](_0x209f4a,{'userId':_0x181b7d})),_0x209f4a==_0x604838&&(_0x181b7d=null,_0x604838=null);}}const _0x48a213={},_0x43e378=new Set();for(const _0x11549e of _0x39be7b){const _0xe4fbef=_0x45125e['deletions'][_0x11549e],_0x4c07b6=_0x45125e['insertions'][_0x11549e];for(const {userId:_0x58fa12}of this['_touchedMarkers']['values']())null!==_0x58fa12&&_0x43e378['add'](_0x58fa12);for(const {userId:_0x36e3aa}of this['_touchedRoots']['values']())null!==_0x36e3aa&&_0x43e378['add'](_0x36e3aa);this['_markChanges'](_0x4c07b6,_0x49497a['insertions'][_0x11549e],_0x26a3a7,'insertion',_0x43e378),this['_markChanges'](_0xe4fbef,_0x49497a['deletions'][_0x11549e],_0x3c0665,'deletion',_0x43e378),_0x48a213[_0x11549e]={'insertions':this['_prepareViewToSave'](_0x4c07b6),'deletions':this['_prepareViewToSave'](_0xe4fbef),'attachChange':this['_touchedRoots']['get'](_0x11549e)||null,'attributesBefore':_0x535306(this['_baseRootsAttributes']['get'](_0x11549e))||{},'attributesAfter':_0x535306(this['_diffRootsAttributes']['get'](_0x11549e))};}return{'diffData':_0x48a213,'authorsIds':Array['from'](_0x43e378)};}['_processRootBeforeSave'](_0x13212e){for(const [,_0x985a36]of _0x13212e['markers']){const _0x13d1b6=_0x985a36['start']['getAncestors']()['filter'](_0x31ad18=>'tableCell'==_0x31ad18['name']);for(const _0x4d8397 of _0x13d1b6)0x1==_0x4d8397['childCount']&&_0x4d8397['getChild'](0x0)['is']('element','paragraph')&&_0x4d8397['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3d4920){this['_processRootBeforeSave'](_0x3d4920);const _0x3140b0=this['editor']['data']['toView'](_0x3d4920,{}),_0x3decb9=Array['from'](_0x3140b0['getChildren']())['map'](_0x14caf2=>this['_getViewJson'](_0x14caf2));return JSON['stringify'](_0x3decb9);}['_getViewJson'](_0x277dda){if(_0x277dda['is']('$text'))return _0x277dda['data'];{const _0x31a5a6=_0x277dda;return{'type':Object['keys'](T)['find'](_0x2b7be1=>_0x277dda instanceof T[_0x2b7be1]),'name':_0x31a5a6['name'],'attributes':Array['from'](_0x31a5a6['getAttributes']()),'children':Array['from'](_0x31a5a6['getChildren']())['map'](_0x2d7eed=>this['_getViewJson'](_0x2d7eed))};}}['_markChanges'](_0x131810,_0x84f8aa,_0x210aa8,_0x81e9ad,_0x117395){let _0x2584b3=null,_0x59b83d=null,_0x15d084=0x0;const _0x7a9f71=this['editor']['model'];for(let _0xccc111=0x0;_0xccc111<_0x84f8aa['length'];_0xccc111++){const _0xb2bfdc=this['_getVidAttributeName'](_0x84f8aa[_0xccc111]),_0x159798=_0x84f8aa[_0xccc111]['item']['getAttribute'](_0xb2bfdc),_0x1762fe=_0x210aa8['get'](_0x159798),_0xc3fd4f=_0xccc111==_0x84f8aa['length']-0x1;(!_0x2584b3&&_0x1762fe&&(_0x2584b3=_0x1762fe,_0x59b83d=_0x84f8aa[_0xccc111]),_0x2584b3&&(!_0x1762fe||_0x1762fe['userId']!=_0x2584b3['userId']))&&(_0x860f7c(_0x1762fe,L(_0x59b83d,_0x131810,_0x7a9f71),L(_0x84f8aa[_0xccc111],_0x131810,_0x7a9f71)),_0x2584b3=_0x1762fe||null,_0x59b83d=_0x1762fe?_0x84f8aa[_0xccc111]:null),_0x2584b3&&_0xc3fd4f&&_0x860f7c(_0x1762fe,L(_0x59b83d,_0x131810,_0x7a9f71),W(_0x84f8aa[_0xccc111],_0x131810,_0x7a9f71));}function _0x860f7c(_0x44bd53,_0x15dbc3,_0x559d09){const _0x530516=_0x2584b3['userId'],_0x2e18d4='revision:'+_0x81e9ad+':'+_0x530516+':'+_0x15d084++,_0x521910=_0x7a9f71['createRange'](_0x15dbc3,_0x559d09);_0x131810['markers']['set'](_0x2e18d4,_0x521910),null!==_0x530516&&_0x117395['add'](_0x530516);}}['_getVidAttributeName'](_0x4fcccc){switch(_0x4fcccc['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x29bac6,_0x35f579){_0x29bac6['baseVersion']=null;for(const _0x9b2716 in _0x29bac6){const _0x339d8d=_0x29bac6[_0x9b2716];if(_0x339d8d instanceof gt){const _0x36d2e6=_0x35f579['get'](_0x339d8d['root']['rootName']);_0x29bac6[_0x9b2716]=this['_fixPosition'](_0x339d8d,_0x36d2e6);}if(_0x339d8d instanceof vt){const _0x3a92fc=_0x35f579['get'](_0x339d8d['root']['rootName']);_0x29bac6[_0x9b2716]=this['_fixRange'](_0x339d8d,_0x3a92fc);}'root'===_0x9b2716&&(_0x29bac6['root']=_0x35f579['get'](_0x29bac6['root']['rootName']));}}['_fixRange'](_0x2a0860,_0x23bd54){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2a0860['start'],_0x23bd54),this['_fixPosition'](_0x2a0860['end'],_0x23bd54));}['_fixPosition'](_0x1d0672,_0xefc805){return this['editor']['model']['createPositionFromPath'](_0xefc805,_0x1d0672['path'],_0x1d0672['stickiness']);}['_handleInsertOperation'](_0x412c7d){const _0x55aff8=this['_idsRoots']['get'](_0x412c7d['position']['root']['rootName']),_0x5673f3=this['_fixPosition'](_0x412c7d['position'],_0x55aff8),_0x1e6ba8=null===_0x412c7d['_authorId']?null:_0x412c7d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xe02960=_0x5673f3['parent'],_0x3ac078=this['_revisionId'],_0x30c294=[];for(const _0x23b2ec of _0x412c7d['nodes'])if(_0x23b2ec['is']('element'))_0x30c294['push'](this['_makeIdsRoot'](_0x23b2ec));else{for(let _0x26de08=0x0;_0x26de08<_0x23b2ec['offsetSize'];_0x26de08++)_0x30c294['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1d243e=this['_revisionId'];for(let _0x21e89d=_0x3ac078;_0x21e89d<_0x1d243e;_0x21e89d++)this['_touched']['set'](_0x21e89d,{'userId':_0x1e6ba8});_0xe02960['_insertChild'](_0x5673f3['offset'],_0x30c294);}['_handleMoveOperation'](_0x1f316a){(_0x1f316a=this['_cloneOperation'](_0x1f316a,this['_idsRoots']))['_execute']();const _0x25cb11=null===_0x1f316a['_authorId']?null:_0x1f316a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfbee85=_0x1f316a['getMovedRangeStart'](),_0x2036a4=_0xfbee85['parent'],_0x562c29=_0xfbee85['offset'];!function _0x5235da(_0x543c13,_0x347a58,_0x3fdaf2,_0x4c8682){for(let _0x21a4ef=_0x3fdaf2;_0x21a4ef<_0x4c8682;_0x21a4ef++){const _0x414870=_0x347a58['getChild'](_0x21a4ef);_0x414870['is']('element','$text')?_0x543c13['set'](_0x414870['getAttribute']('vid'),{'userId':_0x25cb11}):(_0x543c13['set'](_0x414870['getAttribute']('vid_start'),{'userId':_0x25cb11}),_0x5235da(_0x543c13,_0x414870,0x0,_0x414870['childCount']),_0x543c13['set'](_0x414870['getAttribute']('vid_end'),{'userId':_0x25cb11}));}}(this['_touched'],_0x2036a4,_0x562c29,_0x562c29+_0x1f316a['howMany']);}['_handleMergeOperation'](_0x2e95cc){const _0x4e4595=null===(_0x2e95cc=this['_cloneOperation'](_0x2e95cc,this['_idsRoots']))['_authorId']?null:_0x2e95cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1363f8=_0x2e95cc['targetPosition']['parent'],_0x4d45bb=_0x2e95cc['sourcePosition']['parent'],_0x19c731=_0x1363f8['getAttribute']('vid_end'),_0x40c2d2=_0x4d45bb['getAttribute']('vid_start');_0x1363f8['_setAttribute']('vid_end',_0x4d45bb['getAttribute']('vid_end')),_0x4d45bb['_setAttribute']('vid_end',_0x19c731),this['_touched']['set'](_0x40c2d2,{'userId':_0x4e4595}),this['_touched']['set'](_0x19c731,{'userId':_0x4e4595}),_0x2e95cc['_execute']();}['_handleSplitOperation'](_0x529bd9){const _0xc02b60=null===(_0x529bd9=this['_cloneOperation'](_0x529bd9,this['_idsRoots']))['_authorId']?null:_0x529bd9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x217e13=_0x529bd9['graveyardPosition'],_0x1476ab=_0x529bd9['splitPosition']['parent'];_0x529bd9['_execute']();const _0x3b81e0=_0x1476ab['getAttribute']('vid_end'),_0x93bf06=_0x529bd9['insertionPosition']['nodeAfter'];if(_0x217e13){const _0x19a9fc=_0x93bf06['getAttribute']('vid_end'),_0x21aefb=_0x1476ab['getAttribute']('vid_end');_0x1476ab['_setAttribute']('vid_end',_0x19a9fc),_0x93bf06['_setAttribute']('vid_end',_0x21aefb),this['_touched']['set'](_0x1476ab['getAttribute']('vid_end'),{'userId':_0xc02b60}),this['_touched']['set'](_0x93bf06['getAttribute']('vid_start'),{'userId':_0xc02b60});}else{const _0x231866=this['_revisionId']++,_0x387953=this['_revisionId']++;_0x1476ab['_setAttribute']('vid_end',_0x231866),_0x93bf06['_setAttribute']('vid_start',_0x387953),_0x93bf06['_setAttribute']('vid_end',_0x3b81e0),this['_touched']['set'](_0x231866,{'userId':_0xc02b60}),this['_touched']['set'](_0x387953,{'userId':_0xc02b60});}}['_handleMarkerOperation'](_0x25f46d){if(!_0x25f46d['affectsData'])return;const _0x2a8827=(_0x25f46d=this['_cloneOperation'](_0x25f46d,this['_diffRoots']))['oldRange']?_0x25f46d['oldRange']['root']:null,_0x5c7ea=_0x25f46d['newRange']?_0x25f46d['newRange']['root']:null;_0x2a8827&&this['_markers']['delete'](_0x25f46d['name']),_0x5c7ea&&this['_markers']['set'](_0x25f46d['name'],_0x25f46d['newRange']['clone']());const _0x49eaa1=null===_0x25f46d['_authorId']?null:_0x25f46d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56f7a4=_0x25f46d['name'];if(!this['_touchedMarkers']['has'](_0x56f7a4))return void this['_touchedMarkers']['set'](_0x56f7a4,{'range':_0x25f46d['oldRange'],'userId':_0x49eaa1});const _0x1f79c8=this['_touchedMarkers']['get'](_0x56f7a4),_0x371905=_0x1f79c8['range'],_0x338f4a=_0x25f46d['newRange'];null==_0x371905&&null==_0x338f4a||_0x371905&&_0x338f4a&&_0x371905['isEqual'](_0x338f4a)?this['_touchedMarkers']['delete'](_0x25f46d['name']):_0x1f79c8['userId']=_0x49eaa1;}['_handleRootOperation'](_0x21b0e6,_0x352c3e){this['_diffRoots']['has'](_0x21b0e6['rootName'])?this['_diffRoots']['get'](_0x21b0e6['rootName'])['_isAttached']=_0x21b0e6['isAdd']:(this['_diffRoots']['set'](_0x21b0e6['rootName'],G(_0x21b0e6['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x21b0e6['rootName'],{}),_0x352c3e&&this['_idsRoots']['set'](_0x21b0e6['rootName'],G(_0x21b0e6['rootName'],!0x0)));const _0x128823=null===_0x21b0e6['_authorId']?null:_0x21b0e6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4fd052=this['_touchedRoots']['get'](_0x21b0e6['rootName']);_0x4fd052&&_0x4fd052['userId']===_0x128823?this['_touchedRoots']['delete'](_0x21b0e6['rootName']):this['_touchedRoots']['set'](_0x21b0e6['rootName'],{'userId':_0x128823,'isAttached':_0x21b0e6['isAdd']});}['_handleRootAttributeOperation'](_0x2d8fc5){const _0x4032ab=this['_diffRootsAttributes']['get'](_0x2d8fc5['root']['rootName']);null===_0x2d8fc5['newValue']?delete _0x4032ab[_0x2d8fc5['key']]:_0x4032ab[_0x2d8fc5['key']]=_0x2d8fc5['newValue'];}}function q(_0x59e676){const _0x3f3a9d=G(_0x59e676['rootName'],_0x59e676['isAttached']());for(const _0x36a2d5 of _0x59e676['getChildren']()){const _0x419213=_0x36a2d5['_clone'](!0x0);_0x3f3a9d['_appendChild'](_0x419213);}return _0x3f3a9d;}function G(_0x5f1fe5,_0x471e50=!0x0){const _0x422ca8=new wt();return _0x422ca8['rootName']=_0x5f1fe5,_0x422ca8['_isAttached']=_0x471e50,_0x422ca8['isAttached']=()=>_0x422ca8['_isAttached'],_0x422ca8;}function L(_0x1d9506,_0x52c942,_0x1151cc){const _0x2f4f6d='elementEnd'==_0x1d9506['type']?_0x1151cc['createPositionAt'](_0x1d9506['item'],'end'):_0x1151cc['createPositionBefore'](_0x1d9506['item']);return _0x1151cc['createPositionFromPath'](_0x52c942,_0x2f4f6d['path'],_0x2f4f6d['stickiness']);}function W(_0x2c8431,_0x374452,_0x3daa1d){const _0x1c6fa7='elementStart'==_0x2c8431['type']?_0x3daa1d['createPositionAt'](_0x2c8431['item'],0x0):_0x3daa1d['createPositionAfter'](_0x2c8431['item']);return _0x3daa1d['createPositionFromPath'](_0x374452,_0x1c6fa7['path'],_0x1c6fa7['stickiness']);}class ns extends _0x5547bb{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x582b2d,_0x1e7845){super(_0x582b2d),this['focusTracker']=new _0x4ceb66(),this['keystrokes']=new _0xca6bcd(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1e7845),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'](),_0x131628({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5262d3=_0x29b3a4=>_0x29b3a4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5262d3),this['keystrokes']['set']('arrowleft',_0x5262d3),this['keystrokes']['set']('arrowup',_0x5262d3),this['keystrokes']['set']('arrowdown',_0x5262d3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x33c880){this['revisionNameInputView']['fieldView']['element']['value']=_0x33c880['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2a752a){const _0x313b78=new at(this['locale'],_0x512977),_0x4aea6a=_0x313b78['fieldView'];_0x4aea6a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2c5e55=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2a752a&&(_0x2c5e55+='\x20('+y(this['locale'],'optional')+')'),(_0x313b78['label']=_0x2c5e55,_0x4aea6a['on']('input',()=>{this['revisionNameInputValue']=_0x4aea6a['element']['value']['trim']();}),_0x313b78);}}class u extends _0x1b9d3f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x181d1f=this['editor'],_0x398e76=_0x181d1f['plugins']['get']('RevisionTracker');_0x181d1f['ui']['componentFactory']['add']('revisionHistory',_0x360ebc=>{const _0x4ce103=_0x24a46d(_0x360ebc),_0x45ffdd=_0x4ce103['panelView']['children'],_0x43f8a8=new te(_0x360ebc),_0x43caff=new _0x6a9581(_0x360ebc),_0x74796d=new _0x34f9fd(_0x360ebc),_0x553bb4=new _0x6a9581(_0x360ebc),_0x452382=new _0x34f9fd(_0x360ebc);return _0x4ce103['bind']('isEnabled')['to'](_0x398e76,'isReady',_0x398e76,'isEnabled',_0x181d1f,'isReadOnly',(_0x19a126,_0x1e37b4,_0x1d171a)=>_0x19a126&&_0x1e37b4&&!_0x1d171a),_0x4ce103['buttonView']['set']({'icon':_0x52d6db['history'],'label':y(_0x360ebc,'Revision\x20history'),'tooltip':!0x0}),_0x74796d['set']({'label':y(_0x360ebc,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x74796d['bind']('isEnabled')['to'](_0x398e76,'isReady',_0x398e76,'isEnabled',_0x181d1f,'isReadOnly',(_0x3026d1,_0x40e3e1,_0x4bc6be)=>_0x3026d1&&_0x40e3e1&&!_0x4bc6be),_0x74796d['on']('execute',()=>this['_showDialog']()),_0x452382['set']({'label':y(_0x360ebc,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x452382['bind']('isEnabled')['to'](_0x398e76,'isReady',_0x181d1f,'isReadOnly',(_0x43ecdd,_0x1c8ac4)=>_0x43ecdd&&!_0x1c8ac4),_0x452382['on']('execute',()=>{_0x181d1f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4ce103['isOpen']=!0x1,_0x181d1f['editing']['view']['focus']();}),_0x43caff['children']['add'](_0x74796d),_0x553bb4['children']['add'](_0x452382),_0x43f8a8['role']='menu',_0x43f8a8['items']['addMany']([_0x43caff,_0x553bb4]),_0x45ffdd['add'](_0x43f8a8),_0x4ce103;}),_0x181d1f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4d42c7=this['editor'],_0x2da594=_0x4d42c7['locale'],_0x4acf95=new _0x57ae0a(_0x2da594),_0x330448=new _0x580e46(_0x2da594);_0x4acf95['buttonView']['set']({'icon':_0x52d6db['history'],'label':y(_0x2da594,'Revision\x20history')});const _0x4db9b9=new _0x1a65a0(_0x2da594,_0x4acf95),_0x2af755=new _0x385c3f(_0x2da594);_0x2af755['set']({'label':y(_0x2da594,'Save\x20current\x20revision')}),_0x2af755['delegate']('execute')['to'](_0x4acf95),_0x2af755['on']('execute',()=>{this['_showDialog']();}),_0x4db9b9['children']['add'](_0x2af755),_0x330448['items']['add'](_0x4db9b9);const _0x1c798b=new _0x1a65a0(_0x2da594,_0x4acf95),_0xe78db8=new _0x385c3f(_0x2da594);return _0xe78db8['set']({'label':y(_0x2da594,'Open\x20revision\x20history')}),_0xe78db8['delegate']('execute')['to'](_0x4acf95),_0xe78db8['on']('execute',()=>{_0x4d42c7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1c798b['children']['add'](_0xe78db8),_0x330448['items']['add'](_0x1c798b),_0x4acf95['panelView']['children']['add'](_0x330448),_0x4acf95;}['_showDialog'](){const _0x32ee9d=this['editor'],_0x1a7177=_0x32ee9d['locale'],t=_0x1a7177['t'],_0x525179=_0x32ee9d['plugins']['get']('Dialog'),_0x487ccf=_0x32ee9d['plugins']['get']('RevisionTracker');function _0x4cec3e(_0x4b9813){_0x32ee9d['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4b9813['revisionName']?_0x4b9813['revisionNameInputView']['errorText']=y(_0x1a7177,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x32ee9d['plugins']['get'](l)['saveRevision']({'name':_0x4b9813['revisionName']}),_0x525179['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4cec3e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x525179['show']({'id':'revisionSave','title':y(_0x1a7177,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x525179['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x33615a){_0x33615a['bind']('isEnabled')['to'](_0x487ccf,'isReady',_0x487ccf,'isEnabled',_0x32ee9d,'isReadOnly',(_0x5c4b16,_0x4ef64e,_0x182e4b)=>_0x5c4b16&&_0x4ef64e&&!_0x182e4b);},'onExecute':()=>_0x4cec3e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4c00e5=this['editor'],_0x568648=_0x4c00e5['locale'];this['_saveRevisionFormView']=new ns(_0x568648,_0x4c00e5['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5547bb{['changeId'];['_model'];constructor(_0x53ab9c,_0x56c4bb){super(_0x53ab9c),this['_model']=_0x56c4bb,this['changeId']=_0x56c4bb['id'];const _0x2bee80=this['bindTemplate'],_0x36d450=y(_0x53ab9c,_0x56c4bb['data']['isSuggestion']?'Suggested\x20by':'add'==_0x56c4bb['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x56c4bb['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2bee80['to']('type',_0x5ccc8b=>'ck-revision-change__'+_0x5ccc8b)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x36d450}]},{'text':'\x20'+_0x56c4bb['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x3eb282(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1de1dc){super(),this['id']=_0x1de1dc['id']||_0x46006a(),this['author']=_0x1de1dc['author'],this['type']=_0x1de1dc['type'],this['data']=_0x1de1dc['data']||{},this['rootName']=_0x1de1dc['rootName'],this['set']('createdAt',_0x1de1dc['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(_0x126244,_0xc48913){this['newRevisionId']=_0x126244,this['oldRevisionId']=_0xc48913,this['changes']=new _0xc1d4ac();}['_setChanges'](_0x2c66ee){for(const _0xe1840e of _0x2c66ee)this['changes']['add'](_0xe1840e);}}const tt={'c':_0x52132d,'a':_0x3b3816,'e':_0x5099a0,'r':_0x4bc8f7,'u':_0x23155e};class d extends _0x1b9d3f{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x164fab,_0x50d74a,A];}constructor(_0x150058){super(_0x150058),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',(_0x146486,_0x598d0c,_0x4fa353)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x51419a=>{for(const _0xa5c894 of this['editor']['editing']['view']['document']['roots'])_0x4fa353?_0x51419a['removeClass']('ck-editor__editable__overlay',_0xa5c894):_0x51419a['addClass']('ck-editor__editable__overlay',_0xa5c894);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5cc951=>null!==_0x5cc951),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5d04c7,_0x420390,_0x4f7431)=>_0x5d04c7&&_0x4f7431?_0x420390['changes']['getIndex'](_0x4f7431):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x568af7,_0x1f89bd)=>_0x568af7?_0x1f89bd['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x50d74a);}['init'](){const _0x5952a3=this['editor'],_0x3af5ad=new yt(_0x5952a3,{'direction':'backward'}),_0x53a5dd=new yt(_0x5952a3,{'direction':'forward'});(_0x5952a3['commands']['add']('showPreviousChange',_0x3af5ad),_0x5952a3['commands']['add']('showNextChange',_0x53a5dd),_0x5952a3['commands']['add']('restoreRevision',new bt(_0x5952a3)),this['on']('change:numberOfChanges',()=>{_0x3af5ad['refresh'](),_0x53a5dd['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5952a3['enableReadOnlyMode']('revision-viewer'),_0x5952a3['plugins']['has']('WidgetToolbarRepository'))&&_0x5952a3['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3d19c6){await this['loadRevisionData'](_0x3d19c6);const _0x4cfe40={};for(const _0x2cc180 in _0x3d19c6['diffData']){if(_0x3d19c6['diffData'][_0x2cc180]['attachChange']&&!_0x3d19c6['diffData'][_0x2cc180]['attachChange']['isAttached'])continue;const _0x3e9a9d=this['_removeRevisionMarkers'](JSON['parse'](_0x3d19c6['diffData'][_0x2cc180]['insertions'])),_0x15a236=this['editor']['editing']['view']['document'],_0x57c641=new _0x1bfe34(_0x15a236,_0x3e9a9d['map'](_0x50f81e=>this['_getViewObj'](_0x50f81e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4cfe40[_0x2cc180]=this['editor']['data']['processor']['toData'](_0x57c641),this['editor']['data']['processor']['useFillerType']('default');}return _0x4cfe40;}async['getRevisionRootsAttributes'](_0x35e42d){await this['loadRevisionData'](_0x35e42d);const _0xd5606c={};for(const _0x2b3390 in _0x35e42d['diffData'])_0x35e42d['diffData'][_0x2b3390]['attachChange']&&!_0x35e42d['diffData'][_0x2b3390]['attachChange']['isAttached']||(_0xd5606c[_0x2b3390]=_0x35e42d['diffData'][_0x2b3390]['attributesAfter']||{});return _0xd5606c;}['_removeRevisionMarkers'](_0x4dc454){return(_0x4dc454=_0x4dc454['filter'](_0x4a57b4=>!_0x4a57b4['name']||'revision-start'!==_0x4a57b4['name']&&'revision-end'!==_0x4a57b4['name']))['forEach'](_0x1f4214=>{'string'!=typeof _0x1f4214&&(_0x1f4214['children']=this['_removeRevisionMarkers'](_0x1f4214['children']),_0x1f4214['attributes']=_0x1f4214['attributes']['filter'](_0x2abae6=>!_0x2abae6[0x0]['startsWith']('data-revision-')));}),_0x4dc454;}async['compare'](_0x461d94,_0x4d30c3,_0x1a16c5=!0x1){if(!this['isEnabled'])return;const _0x514003=this['diff'],_0x58fae3=this['repository'],_0x282291='string'==typeof _0x461d94?_0x58fae3['getRevision'](_0x461d94):_0x461d94,_0x1fb014='string'==typeof _0x4d30c3?_0x58fae3['getRevision'](_0x4d30c3):_0x4d30c3,_0x350033=_0x282291['id'],_0x2652e7=_0x1fb014?_0x1fb014['id']:null;if(!_0x1a16c5&&this['diff']&&this['diff']['newRevisionId']===_0x350033&&this['diff']['oldRevisionId']===_0x2652e7)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x350033,_0x2652e7);const _0x3eb412=this['_getRevisionsRange'](_0x282291,_0x1fb014,!0x0)['map'](_0x27faca=>this['loadRevisionData'](_0x27faca));return _0x3eb412['push'](new Promise(_0x445495=>{setTimeout(_0x445495,0x14);})),Promise['all'](_0x3eb412)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x27de70=this['_getDiff'](_0x350033,_0x2652e7);for(const _0x562fb2 of _0x27de70['changes'])this['_changeIdToChange']['set'](_0x562fb2['id'],_0x562fb2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x309624=>{for(const _0x243ec5 of this['editor']['model']['document']['getRootNames']())_0x309624['detachRoot'](_0x243ec5);for(const _0x65177a of Object['keys'](_0x27de70['model'])){const _0x58d083=_0x309624['addRoot'](_0x65177a);for(const _0x140a0a of Object['keys'](_0x27de70['attributes'][_0x65177a]))_0x309624['setAttribute'](_0x140a0a,_0x27de70['attributes'][_0x65177a][_0x140a0a],_0x58d083);_0x309624['insert'](_0x27de70['model'][_0x65177a],_0x58d083,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x27de70['changes'])),this['isReady']=!0x0;})['catch'](_0x46bfb5=>{console['error'](_0x46bfb5),this['_cleanUp'](),_0x514003&&(this['diff']=_0x514003),this['isReady']=!0x0;});}['addRevisionData'](_0x26cdb2,_0x524bfc){const _0x4e8a5f=this['repository']['createRevision'](_0x26cdb2);return _0x4e8a5f['on']('_update',(_0x4abf63,_0x561e53,_0x294e8a)=>_0x524bfc(_0x561e53,_0x294e8a,_0x4e8a5f)),this['repository']['addRevision'](_0x4e8a5f),_0x4e8a5f;}['loadRevisionData'](_0xf8aea0){if(!_0xf8aea0||_0xf8aea0['diffData'])return Promise['resolve']();{const _0x435b23=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x435b23,'revisionId':_0xf8aea0['id']})['then'](_0x5b3173=>{_0xf8aea0['_update']({'diffData':_0x5b3173['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},_0x7b0573=>{for(const _0x580c20 of this['editor']['model']['document']['getRootNames']())_0x7b0573['detachRoot'](_0x580c20);});}['_sortAndFilterDiffChanges'](_0x2066cc){const _0x144384=[],_0x44fc52=new Map();for(const _0x2e07af of this['editor']['model']['document']['getRootNames']()){const _0x16be48=this['editor']['editing']['view']['getDomRoot'](_0x2e07af);if(!_0x16be48)continue;const _0x2e63e4=_0x16be48['getClientRects']()['item'](0x0);_0x2e63e4&&(_0x144384['push'](_0x2e07af),_0x44fc52['set'](_0x2e07af,_0x2e63e4));}return _0x144384['sort']((_0x4fc1dc,_0x52a443)=>{const _0x5d7ada=_0x44fc52['get'](_0x4fc1dc),_0x59eb0a=_0x44fc52['get'](_0x52a443);return _0x5d7ada['y']-_0x59eb0a['y']||_0x5d7ada['x']-_0x59eb0a['x'];}),(_0x2066cc=_0x2066cc['filter'](_0x3a42ab=>_0x144384['includes'](_0x3a42ab['rootName'])))['sort']((_0x41e908,_0x316002)=>_0x144384['indexOf'](_0x41e908['rootName'])-_0x144384['indexOf'](_0x316002['rootName'])),_0x2066cc;}['_makeTape'](_0x4f080d){const _0x2b074b=Array['from'](_0x4f080d['markers'])['filter'](([_0x2ed2b3,_0x309662])=>_0x2ed2b3['startsWith']('revision:')&&!_0x309662['isCollapsed']),_0x343363=Array['from'](this['editor']['model']['createRangeIn'](_0x4f080d)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2b074b['length'])for(const _0x4daf54 of _0x343363){const [_0x42f8a1,_0x38d8b5]=_0x2b074b[0x0],[,_0x5e0f92,_0x3cc7f4]=_0x42f8a1['split'](':');if(_0x38d8b5['end']['isEqual'](_0x4daf54['nextPosition'])&&_0x2b074b['shift'](),(_0x4daf54['previousPosition']['isEqual'](_0x38d8b5['start'])||_0x4daf54['previousPosition']['isAfter'](_0x38d8b5['start']))&&('insertion'==_0x5e0f92?_0x4daf54['isAdded']={'userId':_0x3cc7f4}:'deletion'==_0x5e0f92&&(_0x4daf54['isRemoved']={'userId':_0x3cc7f4})),0x0==_0x2b074b['length'])break;}return _0x343363;}['_refreshStartEndIndex'](_0xf96965){const _0x1d35af=new Map();for(let _0x7e0bbd=0x0;_0x7e0bbd<_0xf96965['length'];_0x7e0bbd++)'text'===_0xf96965[_0x7e0bbd]['type']?(_0xf96965[_0x7e0bbd]['item']['startIndex']=_0x7e0bbd,_0xf96965[_0x7e0bbd]['item']['endIndex']=_0x7e0bbd):('elementStart'===_0xf96965[_0x7e0bbd]['type']?_0xf96965[_0x7e0bbd]['item']['startIndex']=_0x7e0bbd:'elementEnd'===_0xf96965[_0x7e0bbd]['type']&&(_0xf96965[_0x7e0bbd]['item']['endIndex']=_0x7e0bbd),_0x1d35af['set'](_0xf96965[_0x7e0bbd]['id'],_0x7e0bbd));for(const _0x557d9b of _0x1d35af['values']())'elementStart'===_0xf96965[_0x557d9b]['type']?_0xf96965[_0x557d9b]['item']['endIndex']=_0x1d35af['get'](_0xf96965[_0x557d9b]['pairId']):'elementEnd'===_0xf96965[_0x557d9b]['type']&&(_0xf96965[_0x557d9b]['item']['startIndex']=_0x1d35af['get'](_0xf96965[_0x557d9b]['pairId']));}['_processTape'](_0x29a69b){for(let _0x529043=0x0;_0x529043<_0x29a69b['length'];_0x529043++){if('elementStart'===_0x29a69b[_0x529043]['type'])_0x29a69b[_0x529043]['item']['startIndex']=_0x529043;else{if('elementEnd'===_0x29a69b[_0x529043]['type']){_0x29a69b[_0x529043]['item']['endIndex']=_0x529043;const _0x19ec62=_0x29a69b[_0x529043]['item']['startIndex'];_0x29a69b[_0x19ec62]['pairId']=_0x29a69b[_0x529043]['id'],_0x29a69b[_0x529043]['pairId']=_0x29a69b[_0x19ec62]['id'];}else _0x29a69b[_0x529043]['item']['startIndex']=_0x529043,_0x29a69b[_0x529043]['item']['endIndex']=_0x529043,_0x29a69b[_0x529043]['pairId']=null;}_0x29a69b[_0x529043]['markersStart']||(_0x29a69b[_0x529043]['markersStart']=[],_0x29a69b[_0x529043]['markersEnd']=[]);}}['_markInsertions'](_0x3cde5e,_0x191733){const _0x72958=_0x3cde5e['filter'](_0x19bf2c=>!_0x19bf2c['isAdded']);for(let _0x1b4f5a=0x0;_0x1b4f5a<_0x191733['length'];_0x1b4f5a++)_0x191733[_0x1b4f5a]['isAdded']&&(_0x72958[_0x1b4f5a]['isAdded']=_0x191733[_0x1b4f5a]['isAdded']);}['_makeModelFromViewString'](_0x141e8c){const _0x336678=JSON['parse'](_0x141e8c),_0x60a953=this['editor']['editing']['view']['document'],_0x2cdc8d=new _0x1bfe34(_0x60a953,_0x336678['map'](_0x32688d=>this['_getViewObj'](_0x32688d)));return this['editor']['data']['toModel'](_0x2cdc8d);}['_getViewObj'](_0x14105c){const _0x32ad4a=this['editor']['editing']['view']['document'];if('string'==typeof _0x14105c)return new _0x1469cc(_0x32ad4a,_0x14105c);{const _0x194cc5=_0x14105c['children']['map'](_0x468bd1=>this['_getViewObj'](_0x468bd1));return new(tt[_0x14105c['type']]||_0x4b2c33)(_0x32ad4a,_0x14105c['name'],_0x14105c['attributes'],_0x194cc5);}}['_getDiff'](_0x1fbd46,_0x3aa55b=null){const _0x11e0fe=this['repository']['getRevision'](_0x1fbd46),_0x25b74f=_0x3aa55b?this['repository']['getRevision'](_0x3aa55b):null,_0x51ffb0=this['_getRevisionsRange'](_0x11e0fe,_0x25b74f),_0x12c307=_0x51ffb0[_0x51ffb0['length']-0x1],_0x3b5dc5=new Map(),_0x20a12={'model':{},'attributes':{},'changes':[]},_0x50bdbd=new Set(),_0x3c0cb4=new Map();for(let _0x1c529b=_0x51ffb0['length']-0x1;_0x1c529b>=0x0;_0x1c529b--){const _0x530d4b=_0x51ffb0[_0x1c529b];for(const _0x3c8260 of Object['keys'](_0x530d4b['diffData']))if(_0x530d4b['diffData'][_0x3c8260]['attachChange']){const _0xf92da=_0x530d4b['diffData'][_0x3c8260]['attachChange'];_0xf92da['isAttached']?(_0x50bdbd['add'](_0x3c8260),_0x3c0cb4['has'](_0x3c8260)&&_0x3c0cb4['get'](_0x3c8260)['userId']==_0xf92da['userId']?_0x3c0cb4['delete'](_0x3c8260):_0x3c0cb4['set'](_0x3c8260,_0xf92da)):_0x3c0cb4['has'](_0x3c8260)?(_0x50bdbd['delete'](_0x3c8260),_0x3c0cb4['delete'](_0x3c8260)):(_0x50bdbd['add'](_0x3c8260),_0x3c0cb4['set'](_0x3c8260,_0xf92da));}else _0x50bdbd['add'](_0x3c8260);}for(const _0x387f3a of _0x50bdbd){const _0x48a722=_0x3c0cb4['has'](_0x387f3a)&&!_0x3c0cb4['get'](_0x387f3a)['isAttached'];let _0x500406=_0x48a722?_0x51ffb0['length']-0x1:0x0;const _0x4559a0=_0x48a722?-0x1:0x1;for(;_0x51ffb0[_0x500406];){const _0x58e597=_0x51ffb0[_0x500406];if(_0x58e597['diffData'][_0x387f3a]){const _0x502031=_0x48a722?_0x58e597['diffData'][_0x387f3a]['attributesBefore']:_0x58e597['diffData'][_0x387f3a]['attributesAfter'];_0x20a12['attributes'][_0x387f3a]=_0x502031?_0x535306(_0x502031):{};break;}_0x500406+=_0x4559a0;}}for(const _0x52248b of _0x51ffb0){_0x52248b['model']={};for(const _0x12709c of _0x52248b['authors'])_0x3b5dc5['set'](_0x12709c['id'],_0x12709c);for(const _0x2a6856 of _0x50bdbd){const _0x5a28e3=_0x52248b['diffData'][_0x2a6856]?_0x52248b['diffData'][_0x2a6856]['insertions']:'[]',_0x4aa8c0=_0x52248b['diffData'][_0x2a6856]?_0x52248b['diffData'][_0x2a6856]['deletions']:'[]';_0x52248b['model'][_0x2a6856]={'insertions':this['_makeModelFromViewString'](_0x5a28e3),'deletions':this['_makeModelFromViewString'](_0x4aa8c0)};}}for(const _0x3c9150 of _0x50bdbd){let _0x4d22c8=null,_0x5e173a=0x0;const _0x3c1605=new Map(Array['from'](_0x11e0fe['model'][_0x3c9150]['insertions']['markers'])['filter'](([_0x456afe])=>!_0x456afe['startsWith']('revision:')));let _0x13a6f0=0x0;for(const _0x22f8e2 of _0x51ffb0){const _0x3aa7ad=this['_makeTape'](_0x22f8e2['model'][_0x3c9150]['insertions']);_0x22f8e2==_0x11e0fe?(_0x4d22c8=_0x3aa7ad,_0x5e173a=_0x4d22c8['length'],_0x4d22c8['forEach'](_0x5b2e3b=>{_0x5b2e3b['id']=_0x13a6f0++;}),this['_processTape'](_0x4d22c8)):this['_markInsertions'](_0x4d22c8,_0x3aa7ad);const _0x28dd98=_0x4d22c8['filter'](_0x105976=>!_0x105976['isAdded'])['map'](_0x3680e=>_0x3680e['id']);let _0x205b71=0x0;const _0x4fc1d7=this['_makeTape'](_0x22f8e2['model'][_0x3c9150]['deletions']);_0x4fc1d7['forEach'](_0x29aa9d=>{_0x29aa9d['isRemoved']?_0x29aa9d['id']=_0x5e173a++:_0x29aa9d['id']=_0x28dd98[_0x205b71++];}),this['_processTape'](_0x4fc1d7),this['_setDistance'](_0x4d22c8,'isAdded'),this['_setDistance'](_0x4fc1d7,'isRemoved'),_0x22f8e2==_0x11e0fe&&this['_markMarkers'](_0x4d22c8,_0x3c1605),_0x4d22c8=this['_joinTapes'](_0x4d22c8,_0x4fc1d7),this['_refreshStartEndIndex'](_0x4d22c8),this['_setDistance'](_0x4d22c8,'isRemoved');}_0x4d22c8=_0x4d22c8['filter'](_0x2eb0c0=>!(_0x2eb0c0['isAdded']&&_0x2eb0c0['isRemoved']));const _0x50da4f=new Map(_0x12c307['model'][_0x3c9150]['deletions']['markers']),_0xf18493=new Set(_0x3c1605['keys']());for(const _0x291a8e of _0x50da4f['keys']())_0xf18493['delete'](_0x291a8e);this['_markSuggestions'](_0x4d22c8,_0xf18493),this['_fixObsoleteTags'](_0x4d22c8),_0x4d22c8=this['_removeMissingPairs'](_0x4d22c8),_0x4d22c8=this['_markMismatchedRemovedTags'](_0x4d22c8),_0x4d22c8=this['_removeUnsupportedChanges'](_0x4d22c8);const {root:_0xf79815,changes:_0xd4f446}=this['_makeModelFromTape'](_0x4d22c8,_0x3b5dc5,_0x3c9150);_0x20a12['model'][_0x3c9150]=_0xf79815;const _0x5ec3e5=_0x3c0cb4['get'](_0x3c9150);if(_0x5ec3e5){const _0x1661ae=_0x3b5dc5['get'](_0x5ec3e5['userId']),_0x4832be=new r({'author':_0x1661ae,'type':_0x5ec3e5['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3c9150});_0xd4f446['unshift'](_0x4832be),_0x20a12['attributes'][_0x3c9150]['revisionHistoryAttachChange']=_0x4832be['id'];}_0x20a12['changes']=_0x20a12['changes']['concat'](_0xd4f446);}return _0x20a12;}['_markMarkers'](_0x257b71,_0x22da67){for(let _0x18a67b=0x0;_0x18a67b<_0x257b71['length'];_0x18a67b++)for(const [_0x4f11c5,_0x3fe3d3]of _0x22da67)_0x3fe3d3['start']['isEqual'](_0x257b71[_0x18a67b]['previousPosition'])&&_0x257b71[_0x18a67b]['markersStart']['push'](_0x4f11c5),_0x3fe3d3['end']['isEqual'](_0x257b71[_0x18a67b]['nextPosition'])&&_0x257b71[_0x18a67b]['markersEnd']['push'](_0x4f11c5);}['_joinTapes'](_0x65b0dc,_0x4bb504){let _0x2b1f87=[],_0x49f5b6=0x0,_0x1c1de6=0x0;for(;_0x49f5b6<_0x65b0dc['length']||_0x1c1de6<_0x4bb504['length'];){const _0x13c188=_0x65b0dc[_0x49f5b6]||{},_0x153681=_0x4bb504[_0x1c1de6]||{};if(_0x13c188['id']==_0x153681['id'])_0x49f5b6++,_0x1c1de6++,_0x2b1f87['push'](_0x13c188);else{if(_0x153681['isRemoved']&&_0x13c188['isAdded']){const {commonTape:_0x5c2232,iEnd:_0x28e210,jEnd:_0x25a334}=this['_threeWayMerge'](_0x65b0dc,_0x49f5b6,_0x4bb504,_0x1c1de6);_0x2b1f87=_0x2b1f87['concat'](_0x5c2232),_0x49f5b6=_0x28e210,_0x1c1de6=_0x25a334;}else _0x153681['isRemoved']?(_0x1c1de6++,_0x2b1f87['push'](_0x153681)):(_0x49f5b6++,_0x2b1f87['push'](_0x13c188));}}return _0x2b1f87;}['_markSuggestions'](_0x1108f2,_0x3fc434){const _0x15a070=[];for(let _0x4afe23=0x0;_0x4afe23<_0x1108f2['length'];_0x4afe23++){for(let _0x351cf8=0x0;_0x351cf8<_0x1108f2[_0x4afe23]['markersStart']['length'];_0x351cf8++){const _0x44a9eb=_0x1108f2[_0x4afe23]['markersStart'][_0x351cf8];if(!_0x3fc434['has'](_0x44a9eb))continue;const {group:_0x4c3a30,type:_0x6a45b8,authorId:_0x3e6da4}=_0xaf5b67(_0x44a9eb);'revision-suggestion'!=_0x4c3a30||'insertion'!=_0x6a45b8&&'deletion'!=_0x6a45b8||(_0x15a070['unshift']({'type':_0x6a45b8,'name':_0x44a9eb,'userId':_0x3e6da4}),_0x1108f2[_0x4afe23]['markersStart']['splice'](_0x351cf8,0x1),_0x351cf8--);}_0x358b70(_0x1108f2[_0x4afe23]);for(let _0x2d1053=0x0;_0x2d1053<_0x1108f2[_0x4afe23]['markersEnd']['length'];_0x2d1053++){const _0x3b5fad=_0x1108f2[_0x4afe23]['markersEnd'][_0x2d1053];if(!_0x3fc434['has'](_0x3b5fad))continue;const {group:_0x4b0094,type:_0x1203ec}=_0xaf5b67(_0x3b5fad);if('revision-suggestion'!=_0x4b0094||'insertion'!=_0x1203ec&&'deletion'!=_0x1203ec)continue;_0x1108f2[_0x4afe23]['markersEnd']['splice'](_0x2d1053,0x1),_0x2d1053--;const _0x249e50=_0x15a070['findIndex'](_0x39d8b3=>_0x39d8b3['name']==_0x3b5fad);_0x249e50>-0x1&&_0x15a070['splice'](_0x249e50,0x1);}}function _0xaf5b67(_0x14a350){const _0x4d6fcc=_0x14a350['split'](':');return{'group':_0x4d6fcc[0x0],'type':_0x4d6fcc[0x1],'subType':_0x4d6fcc['length']>=0x5?_0x4d6fcc[0x2]:null,'id':_0x4d6fcc['length']<0x5?_0x4d6fcc[0x2]:_0x4d6fcc[0x3],'authorId':_0x4d6fcc['length']<0x5?_0x4d6fcc[0x3]:_0x4d6fcc[0x4],'markerCount':0x6==_0x4d6fcc['length']?_0x4d6fcc[0x5]:null};}function _0x358b70(_0xf9973a){for(let _0x3a45dc=0x0;_0x3a45dc<_0x15a070['length'];_0x3a45dc++){if(_0xf9973a['isAdded']&&'insertion'==_0x15a070[_0x3a45dc]['type'])return _0xf9973a['isAddSuggestion']=_0x15a070[_0x3a45dc],void delete _0xf9973a['isAdded'];if(!_0xf9973a['isAdded']&&!_0xf9973a['isRemoved']&&'deletion'==_0x15a070[_0x3a45dc]['type'])return void(_0xf9973a['isRemoveSuggestion']=_0x15a070[_0x3a45dc]);}}}['_setDistance'](_0x5e671d,_0x49ecd7){let _0xe453fe=0x0,_0xc0769d=!0x1;const _0x49d2ee=new Map();for(const _0x5c4cff of _0x5e671d)_0x5c4cff[_0x49ecd7]?_0xc0769d&&(_0xe453fe++,_0xc0769d=!0x1):(_0xe453fe++,_0xc0769d=!0x0),_0x49d2ee['set'](_0x5c4cff['id'],_0xe453fe);for(let _0x2746c9=0x0;_0x2746c9<_0x5e671d['length'];_0x2746c9++){if('isRemoved'==_0x49ecd7&&_0x5e671d[_0x2746c9]['isAdded']||'isAdded'==_0x49ecd7&&_0x5e671d[_0x2746c9]['isRemoved'])continue;if('text'==_0x5e671d[_0x2746c9]['type']){_0x5e671d[_0x2746c9]['distance']=0x0;continue;}const _0x7bcb3b=_0x49d2ee['get'](_0x5e671d[_0x2746c9]['pairId']),_0x329fcd=_0x49d2ee['get'](_0x5e671d[_0x2746c9]['id']);_0x5e671d[_0x2746c9]['distance']=_0x7bcb3b-_0x329fcd;}}['_getRevisionsRange'](_0x2f2529,_0x383250,_0x3208f3=!0x1){const _0x4413b0=[];let _0xe347f2=this['repository']['getIndex'](_0x2f2529),_0x2adcb4=this['repository']['getIndex'](_0x383250);for(-0x1==_0x2adcb4&&(_0x2adcb4=this['repository']['_revisions']['length'],_0x3208f3=!0x1);_0xe347f2<_0x2adcb4;)_0x4413b0['push'](this['repository']['getRevision'](_0xe347f2)),_0xe347f2++;return _0x3208f3&&_0x4413b0['push'](this['repository']['getRevision'](_0xe347f2)),_0x4413b0;}['_threeWayMerge'](_0x52200c,_0x1a3204,_0x3a92ef,_0x306162){const _0x13e9bf=this['editor']['model']['schema'];let _0x486408=_0x1a3204;for(;_0x52200c[_0x486408]&&_0x52200c[_0x486408]['isAdded'];)_0x486408++;let _0x532ac5=_0x306162;for(;_0x3a92ef[_0x532ac5]&&_0x3a92ef[_0x532ac5]['isRemoved'];)_0x532ac5++;_0x5ad0b6(_0x52200c,_0x1a3204,_0x486408),_0x5ad0b6(_0x3a92ef,_0x306162,_0x532ac5);const _0x2af5f5=_0x3a92ef['slice'](_0x306162,_0x532ac5)['concat'](_0x52200c['slice'](_0x1a3204,_0x486408));return _0x2af5f5['sort']((_0x417993,_0x55ff91)=>_0x417993['side']!=_0x55ff91['side']?_0x417993['side']-_0x55ff91['side']:_0x417993['level']!=_0x55ff91['level']?_0x417993['level']-_0x55ff91['level']:_0x417993['distance']!=_0x55ff91['distance']?_0x55ff91['distance']-_0x417993['distance']:!!_0x417993['isAdded']!=!!_0x55ff91['isAdded']?-0x1==_0x417993['side']||0x0==_0x417993['side']?_0x417993['isAdded']?-0x1:0x1:_0x417993['isAdded']?0x1:-0x1:_0x417993['index']-_0x55ff91['index']),{'commonTape':_0x2af5f5,'iEnd':_0x486408,'jEnd':_0x532ac5};function _0x5ad0b6(_0x10011a,_0x2714c2,_0x17be5e){let _0x20a3dd=-0x1,_0x491917=Number['POSITIVE_INFINITY'],_0x5885a1=!0x0;for(let _0x404cd9=_0x2714c2;_0x404cd9<_0x17be5e;_0x404cd9++)if(_0x13e9bf['isInline'](_0x10011a[_0x404cd9]['item'])||(_0x5885a1=!0x1),_0x10011a[_0x404cd9]['item']['startIndex']<_0x2714c2&&(_0x20a3dd=_0x404cd9),_0x10011a[_0x404cd9]['item']['endIndex']>=_0x17be5e){_0x491917=_0x404cd9;break;}_0x5885a1&&(_0x20a3dd=_0x17be5e-0x1);for(let _0x12f9fa=_0x2714c2;_0x12f9fa<_0x17be5e;_0x12f9fa++)_0x10011a[_0x12f9fa]['side']=_0x12f9fa<=_0x20a3dd?-0x1:_0x12f9fa<_0x491917?0x0:0x1,_0x10011a[_0x12f9fa]['index']=_0x12f9fa;let _0x32666a=0x0;for(let _0x460c29=_0x2714c2;_0x460c29<=_0x20a3dd;_0x460c29++)0x0==_0x10011a[_0x460c29]['distance']?_0x10011a[_0x460c29]['level']=_0x32666a:(_0x32666a++,_0x10011a[_0x460c29]['level']=_0x32666a,_0x32666a++);for(let _0xb3b5d9=_0x2714c2;_0xb3b5d9<_0x17be5e;_0xb3b5d9++)0x0==_0x10011a[_0xb3b5d9]['side']&&(_0x10011a[_0xb3b5d9]['level']=_0x32666a);_0x32666a=0x0;for(let _0x2fbd5b=_0x17be5e-0x1;_0x2fbd5b>=_0x491917;_0x2fbd5b--)0x0==_0x10011a[_0x2fbd5b]['distance']?_0x10011a[_0x2fbd5b]['level']=_0x32666a:(_0x32666a--,_0x10011a[_0x2fbd5b]['level']=_0x32666a,_0x32666a--);}}['_fixObsoleteTags'](_0x5ae632){const _0x262a38=new Map(),_0x113e4d=this['editor']['model']['schema'];for(let _0x67c398=0x1;_0x67c398<_0x5ae632['length'];_0x67c398++){let _0x57c7b5,_0x22bd81,_0x1544e4;const _0x2d4fdc=_0x5ae632[_0x67c398],_0x1cd4e0=_0x5ae632[_0x67c398-0x1];if('text'==_0x2d4fdc['type'])continue;if(_0x2d4fdc['type']!=_0x1cd4e0['type'])continue;if(!_0x113e4d['isBlock'](_0x1cd4e0['item'])||_0x113e4d['isLimit'](_0x1cd4e0['item']))continue;if(!_0x113e4d['isBlock'](_0x2d4fdc['item'])||_0x113e4d['isLimit'](_0x2d4fdc['item']))continue;if((_0x5ae632[_0x67c398]['isAdded']||_0x5ae632[_0x67c398]['isAddSuggestion'])&&_0x5ae632[_0x67c398-0x1]['isRemoved'])_0x57c7b5=_0x5ae632[_0x67c398],_0x22bd81=_0x5ae632[_0x67c398-0x1],_0x1544e4=_0x67c398-0x1;else{if(!_0x5ae632[_0x67c398]['isRemoved']||!_0x5ae632[_0x67c398-0x1]['isAdded']&&!_0x5ae632[_0x67c398-0x1]['isAddSuggestion'])continue;_0x57c7b5=_0x5ae632[_0x67c398-0x1],_0x22bd81=_0x5ae632[_0x67c398],_0x1544e4=_0x67c398;}const _0x11a1dc=_0x57c7b5['level']==_0x22bd81['level'],_0x31601b=Math['abs'](_0x57c7b5['level'])<Math['abs'](_0x22bd81['level'])&&0x0==_0x22bd81['distance'];(_0x11a1dc||_0x31601b)&&(_0x262a38['set'](_0x22bd81['id'],_0x57c7b5['id']),_0x5ae632['splice'](_0x1544e4,0x1),_0x67c398--,_0x57c7b5['isAdded']=!0x1);}for(let _0x5247c0=0x0;_0x5247c0<_0x5ae632['length'];_0x5247c0++)_0x262a38['has'](_0x5ae632[_0x5247c0]['pairId'])&&(_0x5ae632[_0x5247c0]['pairId']=_0x262a38['get'](_0x5ae632[_0x5247c0]['pairId']));}['_removeMissingPairs'](_0x25e893){const _0x2001e9=new Set(_0x25e893['map'](_0x423572=>_0x423572['id']));for(let _0x753659=0x0;_0x753659<_0x25e893['length'];_0x753659++)_0x2001e9['has'](_0x25e893[_0x753659]['pairId'])||0x0==_0x25e893[_0x753659]['distance']||(_0x25e893[_0x753659]['isIncorrect']=!0x0);return _0x25e893['filter'](_0x4159d3=>!_0x4159d3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x103b19){const _0x598246=new Set();for(let _0x44bdd3=0x0;_0x44bdd3<_0x103b19['length'];_0x44bdd3++){if(_0x598246['has'](_0x103b19[_0x44bdd3]['id'])&&_0x103b19[_0x44bdd3]['isRemoved']&&(_0x103b19[_0x44bdd3]['isIncorrect']=!0x0),_0x103b19[_0x44bdd3]['isIncorrect'])continue;if(0x0==_0x103b19[_0x44bdd3]['distance'])continue;if('elementStart'!=_0x103b19[_0x44bdd3]['type'])continue;if(null==_0x103b19[_0x44bdd3]['pairId'])continue;let _0x5e5e0a=_0x44bdd3+0x1,_0x12e76f=0x0;for(;_0x103b19[_0x5e5e0a]['id']!=_0x103b19[_0x44bdd3]['pairId'];)'elementStart'==_0x103b19[_0x5e5e0a]['type']?_0x12e76f++:'elementEnd'==_0x103b19[_0x5e5e0a]['type']&&_0x12e76f--,_0x5e5e0a++;if(0x0!=_0x12e76f){if(_0x103b19[_0x44bdd3]['isRemoved'])_0x103b19[_0x44bdd3]['isIncorrect']=!0x0;else{for(;_0x5e5e0a!=_0x44bdd3;)_0x103b19[_0x5e5e0a]['isRemoved']&&0x0!=_0x103b19[_0x5e5e0a]['distance']&&(_0x103b19[_0x5e5e0a]['isIncorrect']=!0x0,_0x598246['add'](_0x103b19[_0x5e5e0a]['pairId'])),_0x5e5e0a--;}}}return _0x103b19['filter'](_0xe56990=>!_0xe56990['isIncorrect']);}['_removeUnsupportedChanges'](_0xe5085){const _0x36f4b2=this['editor']['model']['schema'];for(let _0x5c4183=0x0;_0x5c4183<_0xe5085['length'];_0x5c4183++){if(!(_0xe5085[_0x5c4183]['isAdded']||_0xe5085[_0x5c4183]['isAddSuggestion']||_0xe5085[_0x5c4183]['isRemoved']||_0xe5085[_0x5c4183]['isRemoveSuggestion']))continue;if(0x0==_0xe5085[_0x5c4183]['distance'])continue;const _0x23d14e=_0xe5085[_0x5c4183]['item'];_0x36f4b2['isBlock'](_0x23d14e)||_0x36f4b2['isLimit'](_0x23d14e)||(_0xe5085[_0x5c4183]['isAdded']&&delete _0xe5085[_0x5c4183]['isAdded'],_0xe5085[_0x5c4183]['isAddSuggestion']&&delete _0xe5085[_0x5c4183]['isAddSuggestion'],_0xe5085[_0x5c4183]['isRemoveSuggestion']&&delete _0xe5085[_0x5c4183]['isRemoveSuggestion'],_0xe5085[_0x5c4183]['isRemoved']&&(_0xe5085[_0x5c4183]['isIncorrect']=!0x0));}return _0xe5085['filter'](_0x3267b7=>!_0x3267b7['isIncorrect']);}['_makeModelFromTape'](_0x59ac04,_0x5e750d,_0x45aba9){const _0x70617d=new wt(),_0x4f7a91=[],_0x4a1584=new Map(),_0xa33d91=this['editor']['model'],_0x30568c=_0xa33d91['schema'],_0x199cb8=[_0x70617d],_0x53bed9={},_0x1dd121={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x58b8a6=null;const _0x3d4759=[0x0];for(let _0x4e8664=0x0;_0x4e8664<_0x59ac04['length'];_0x4e8664++){let _0x22b773,_0x4a3ff4;if('elementStart'===_0x59ac04[_0x4e8664]['type']){_0x22b773=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759);const _0x5879f7=new ft(_0x59ac04[_0x4e8664]['item']['name'],_0x59ac04[_0x4e8664]['item']['getAttributes']());_0x199cb8[0x0]['_appendChild'](_0x5879f7),_0x3d4759['push'](0x0),_0x199cb8['unshift'](_0x5879f7),_0x4a3ff4=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x58b8a6=null;}else{if('elementEnd'===_0x59ac04[_0x4e8664]['type'])_0x199cb8['shift'](),_0x22b773=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x3d4759['pop'](),_0x3d4759[_0x3d4759['length']-0x1]++,_0x4a3ff4=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x58b8a6=null;else{if(_0x22b773=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x58b8a6&&_0x3ac606(_0x58b8a6,_0x59ac04[_0x4e8664]['item']))_0x58b8a6['_data']+=_0x59ac04[_0x4e8664]['item']['data'];else{const _0x1edb37=new _t(_0x59ac04[_0x4e8664]['item']['data'],_0x59ac04[_0x4e8664]['item']['getAttributes']());_0x199cb8[0x0]['_appendChild'](_0x1edb37),_0x58b8a6=_0x1edb37;}_0x3d4759[_0x3d4759['length']-0x1]+=_0x59ac04[_0x4e8664]['item']['offsetSize'],_0x4a3ff4=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759);}}for(const _0x4c7e81 of _0x59ac04[_0x4e8664]['markersStart'])_0x4a1584['set'](_0x4c7e81,{'start':_0x22b773,'end':null});_0x20eb2b('isRemoveSuggestion',_0x4e8664,_0x22b773,_0x4a3ff4),_0x20eb2b('isAddSuggestion',_0x4e8664,_0x22b773,_0x4a3ff4),_0x20eb2b('isRemoved',_0x4e8664,_0x22b773,_0x4a3ff4),_0x20eb2b('isAdded',_0x4e8664,_0x22b773,_0x4a3ff4);for(const _0x10e28e of _0x59ac04[_0x4e8664]['markersEnd']){_0x4a1584['get'](_0x10e28e)['end']=_0x4a3ff4;}}for(const [_0x23a014,_0x9c7140]of _0x4a1584){const _0x3a3340=this['editor']['model']['createRange'](_0x9c7140['start'],_0x9c7140['end']);_0x70617d['markers']['set'](_0x23a014,_0x3a3340);}return _0x4f7a91['sort']((_0x5ecebb,_0x5dc61f)=>{const _0x4214f6=_0x70617d['markers']['get']('revision:'+_0x5ecebb['id']),_0x1b67de=_0x70617d['markers']['get']('revision:'+_0x5dc61f['id']);return _0x4214f6['start']['isBefore'](_0x1b67de['start'])?-0x1:_0x4214f6['start']['isAfter'](_0x1b67de['start'])?0x1:_0x4214f6['end']['isBefore'](_0x1b67de['end'])?-0x1:_0x4214f6['end']['isAfter'](_0x1b67de['end'])?0x1:'add'===_0x5ecebb['type']?-0x1:0x1;}),{'root':_0x70617d,'changes':_0x4f7a91};function _0x20eb2b(_0x4e2b31,_0x21016d,_0x262c68,_0x537b78){const _0x58de81=!!_0x59ac04[_0x21016d][_0x4e2b31],_0x354dab=_0x58de81?_0x59ac04[_0x21016d][_0x4e2b31]['userId']:null,_0x36dccf=_0x21016d===_0x59ac04['length']-0x1,_0x2cb064=_0x1dd121[_0x4e2b31][0x0],_0x1cc56f=_0x30568c['isObject'](_0x59ac04[_0x21016d]['item']);!_0x53bed9[_0x4e2b31]&&_0x58de81?_0x53bed9[_0x4e2b31]={'start':_0x262c68,'tapeItem':_0x59ac04[_0x21016d],'userId':_0x354dab,'type':_0x4e2b31}:_0x53bed9[_0x4e2b31]&&!_0x58de81?(_0x53bed9[_0x4e2b31]['end']=_0x262c68,_0x2aba24(_0x53bed9[_0x4e2b31]),_0x53bed9[_0x4e2b31]=null):_0x53bed9[_0x4e2b31]&&_0x58de81&&_0x53bed9[_0x4e2b31]['userId']!==_0x354dab&&(_0x53bed9[_0x4e2b31]['end']=_0x262c68,_0x2cb064&&_0x2cb064['userId']===_0x53bed9[_0x4e2b31]['userId']||_0x2aba24(_0x53bed9[_0x4e2b31]),_0x53bed9[_0x4e2b31]={'start':_0x262c68,'tapeItem':_0x59ac04[_0x21016d],'userId':_0x354dab,'type':_0x4e2b31}),_0x53bed9[_0x4e2b31]&&_0x1cc56f&&('elementStart'!==_0x59ac04[_0x21016d]['type']||_0x2cb064&&_0x2cb064['userId']===_0x354dab||_0x1dd121[_0x4e2b31]['unshift']({'userId':_0x354dab,'object':_0x59ac04[_0x21016d]['item'],'change':_0x53bed9[_0x4e2b31]}),'elementEnd'===_0x59ac04[_0x21016d]['type']&&_0x2cb064&&_0x2cb064['object']===_0x59ac04[_0x21016d]['item']&&(_0x1dd121[_0x4e2b31]['shift'](),_0x53bed9[_0x4e2b31]=_0x2cb064['change'])),_0x53bed9[_0x4e2b31]&&_0x36dccf&&(_0x53bed9[_0x4e2b31]['end']=_0x537b78,_0x2aba24(_0x53bed9[_0x4e2b31]),_0x53bed9[_0x4e2b31]=null);}function _0x2aba24({start:_0x9ebdd8,end:_0x1319f5,tapeItem:_0x2ac8d4,userId:_0x2953fd,type:_0x2067ae}){const _0x2629d6=_0x2ac8d4['item'],_0x1169bb=_0xa33d91['schema']['isBlock'](_0x2629d6)&&!_0xa33d91['schema']['isLimit'](_0x2629d6),_0x137940=_0x9ebdd8['nodeAfter']==_0x1319f5['parent']&&_0x1319f5['isAtStart'];if(_0x1169bb&&_0x137940)return;const _0xee6088=_0xa33d91['createRange'](_0x9ebdd8,_0x1319f5),_0x27b9a1=_0x5e750d['get'](_0x2953fd),_0x403379=new r({'author':_0x27b9a1,'type':'isAdded'==_0x2067ae||'isAddSuggestion'==_0x2067ae?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2067ae||'isRemoveSuggestion'==_0x2067ae},'createdAt':new Date(),'rootName':_0x45aba9});_0x4f7a91['push'](_0x403379),_0x70617d['markers']['set']('revision:'+_0x403379['id'],_0xee6088);}function _0x3ac606(_0x4696de,_0x159f93){const _0x24020e=_0x4696de['getAttributes'](),_0x568b43=_0x159f93['getAttributes']();for(const _0x58221a of _0x24020e){if(_0x58221a[0x1]!==_0x159f93['getAttribute'](_0x58221a[0x0]))return!0x1;_0x568b43['next']();}return _0x568b43['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x20ac1d=>{const _0x210b19=_0x20ac1d['markerName']['split'](':')[0x1],_0x5109b5=this['_getChangeFromId'](_0x210b19);if(!_0x5109b5)return null;const _0xe69bfb='add'==_0x5109b5['type']?'insertion':'deletion',_0xcee510=['ck-suggestion-marker','ck-suggestion-marker-'+_0xe69bfb];return _0x5109b5['data']['isSuggestion']&&_0xcee510['push']('ck-suggestion-marker-'+_0xe69bfb+'-new'),this['activeChange']==_0x5109b5&&_0xcee510['push']('ck-suggestion-marker--active'),{'classes':_0xcee510,'attributes':{'data-change-id':_0x210b19}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xf2221b=>{_0xf2221b['on']('element:pre',(_0x5da5e6,_0x3a90ac,_0x114402)=>{const _0x1baaaa=_0x3a90ac['viewItem']['getChild'](0x0);if(!_0x1baaaa||!_0x1baaaa['is']('element','code'))return;if(!_0x114402['consumable']['consume'](_0x1baaaa,{'attributes':['vid_start','vid_end']}))return;const _0x415d9d=_0x3a90ac['modelRange']['start']['nodeAfter'];_0x114402['writer']['setAttribute']('vid_start',_0x1baaaa['getAttribute']('vid_start'),_0x415d9d),_0x114402['writer']['setAttribute']('vid_end',_0x1baaaa['getAttribute']('vid_end'),_0x415d9d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2d4afd=>{_0x2d4afd['on']('element',(_0x49b619,_0x17e6c2,_0x18a0f5)=>{if(!_0x18a0f5['consumable']['consume'](_0x17e6c2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x17e6c2['modelRange']['isCollapsed'])return;const _0xe597dd=_0x17e6c2['modelRange']['start']['nodeAfter'];_0xe597dd['hasAttribute']('vid_start')||_0xe597dd['hasAttribute']('vid')||(_0x18a0f5['writer']['setAttribute']('vid_start',_0x17e6c2['viewItem']['getAttribute']('vid_start'),_0xe597dd),_0x18a0f5['writer']['setAttribute']('vid_end',_0x17e6c2['viewItem']['getAttribute']('vid_end'),_0xe597dd));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x36bf4d=>_0x36bf4d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x44a72a,[,_0x564c43])=>{['vid_start','vid_end','vid']['includes'](_0x564c43)&&(_0x44a72a['return']=!0x0,_0x44a72a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xb629ca=>{_0xb629ca['on']('attribute:vid',(_0x7f38b,_0x32d899,_0x17094b)=>{if('\x20'!=_0x32d899['item']['data']||_0x32d899['item']['parent']['maxOffset']>0x1)return;if(!_0x17094b['consumable']['consume'](_0x32d899['item'],_0x7f38b['name']))return;const _0x286614=_0x17094b['writer'],_0x7b680c=_0x17094b['mapper']['toViewRange'](_0x32d899['range']);_0x286614['wrap'](_0x7b680c,_0x286614['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1a9925){const _0x2bb9a=_0x1a9925['plugins']['get']('RevisionViewer');return(_0x2c0a5b,_0x2c5a07,_0x249db6)=>{const _0x2bddcb=_0x2c5a07['markerName']['split'](':')[0x1],_0x4f8327=_0x2bb9a['_getChangeFromId'](_0x2bddcb);if(!_0x4f8327)return null;const _0x342749='add'==_0x4f8327['type']?'split':'merge';if(!_0x249db6['consumable']['test'](_0x2c5a07['markerRange'],_0x2c0a5b['name']))return;const _0x28806a=_0x2c5a07['markerRange']['getWalker'](),_0x506549=_0x2c5a07['markerRange']['start'],_0x2cad9f=_0x1a9925['model']['schema'];let _0x5152ea=null,_0x4954cb=null,_0x4fcf8b=!0x1,_0x33d5c2=!0x1;for(const _0x455a51 of _0x28806a){const _0x3ec6bf=_0x455a51['item'];_0x4fcf8b=_0x4fcf8b||_0x2cad9f['isContent'](_0x3ec6bf);const _0x123efe=_0x249db6['mapper']['toViewElement'](_0x3ec6bf);if(_0x123efe&&_0x123efe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x455a51['type']&&(_0x2cad9f['isBlock'](_0x3ec6bf)&&!_0x2cad9f['isLimit'](_0x3ec6bf)&&(_0x3ec6bf['nextSibling']||_0x506549['isAtEnd']?_0x5152ea&&_0x5152ea['parent']==_0x3ec6bf||(_0x5152ea=_0x3ec6bf,_0x2e656c(_0x455a51['previousPosition']),_0x33d5c2=!0x0):_0x4954cb=_0x4954cb||_0x455a51['previousPosition']));}function _0x2e656c(_0x5bf0ea){const _0x2db3db=_0x249db6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x342749}),_0x26462c=_0x249db6['mapper']['toViewPosition'](_0x5bf0ea);_0x4f8327['data']['isSuggestion']&&_0x249db6['writer']['addClass']('ck-suggestion-marker-'+_0x342749+'-new',_0x2db3db),_0x2bb9a['activeChange']==_0x4f8327&&_0x249db6['writer']['addClass']('ck-suggestion-marker--active',_0x2db3db),_0x249db6['writer']['insert'](_0x26462c,_0x2db3db),_0x249db6['mapper']['bindElementToMarker'](_0x2db3db,_0x2c5a07['markerName']);}_0x4fcf8b||_0x33d5c2||!_0x4954cb||_0x2e656c(_0x4954cb);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x147108,_0x2d3311,_0x3f467d)=>{const _0x1c9408=_0x3f467d['mapper']['markerNameToElements'](_0x2d3311['markerName']);if(_0x1c9408){for(const _0x5f066b of _0x1c9408)(_0x5f066b['hasClass']('ck-suggestion-marker-split')||_0x5f066b['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f467d['mapper']['unbindElementFromMarkerName'](_0x5f066b,_0x2d3311['markerName']),_0x3f467d['writer']['remove'](_0x5f066b));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x110375,_0x3b444c,_0x53545a)=>{const _0x2e2a39=_0x3b444c['markerName']['split'](':')[0x1],_0x59fa4c=this['_getChangeFromId'](_0x2e2a39);if(!_0x59fa4c)return null;const _0x8d901e='add'==_0x59fa4c['type']?'split':'merge';if(_0x53545a['consumable']['test'](_0x3b444c['markerRange'],_0x110375['name']))for(const _0x42ae09 of _0x3b444c['markerRange']['getItems']()){if(!_0x42ae09['is']('element','softBreak'))continue;const _0x2b1d21=_0x53545a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x8d901e}),_0x1d811c=_0x53545a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x42ae09));_0x59fa4c['data']['isSuggestion']&&_0x53545a['writer']['addClass']('ck-suggestion-marker-'+_0x8d901e+'-new',_0x2b1d21),this['activeChange']==_0x59fa4c&&_0x53545a['writer']['addClass']('ck-suggestion-marker--active',_0x2b1d21),_0x53545a['writer']['insert'](_0x1d811c,_0x2b1d21),_0x53545a['mapper']['bindElementToMarker'](_0x2b1d21,_0x3b444c['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x13497a=>{for(const _0xa1790f of this['editor']['model']['document']['getRootNames']()){const _0x505ed5=this['editor']['model']['document']['getRoot'](_0xa1790f),_0x2435de=this['editor']['editing']['view']['document']['getRoot'](_0xa1790f);if(_0x2435de){const _0x285228=_0x505ed5['getAttribute']('revisionHistoryAttachChange');if(_0x13497a['removeAttribute']('data-change-id',_0x2435de),_0x13497a['removeClass']('ck-revision-history-root-add',_0x2435de),_0x13497a['removeClass']('ck-revision-history-root-remove',_0x2435de),_0x13497a['removeClass']('ck-revision-history-root--active',_0x2435de),_0x285228){const _0x459fe0=this['_getChangeFromId'](_0x285228);if(!_0x459fe0)return null;_0x13497a['setAttribute']('data-change-id',_0x285228,_0x2435de),_0x13497a['addClass']('ck-revision-history-root-'+_0x459fe0['type'],_0x2435de),this['activeChange']==_0x459fe0&&_0x13497a['addClass']('ck-revision-history-root--active',_0x2435de);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5f3269=>'revision-comment:'+_0x5f3269,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xf5d3a7=>'revision-suggestion:'+_0xf5d3a7,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3c2afe=>({'name':'suggestion:'+_0x3c2afe,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xc82a6f=>{const _0x5ed842=_0xc82a6f['markerName']['split'](':')[0x1];return'insertion'!=_0x5ed842&&'deletion'!=_0x5ed842?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5ed842]};}}),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',(_0xffc250,_0x94fe20,_0x40c0ef)=>{const _0x8362e8=_0x40c0ef['mapper']['markerNameToElements'](_0x94fe20['markerName']);if(_0x8362e8){for(const _0x34962b of _0x8362e8)_0x34962b['is']('uiElement')&&(_0x40c0ef['mapper']['unbindElementFromMarkerName'](_0x34962b,_0x94fe20['markerName']),_0x40c0ef['writer']['remove'](_0x34962b));}},{'priority':'high'});}['_getChangeFromId'](_0x27dace){return this['_changeIdToChange']['get'](_0x27dace);}['_getViewForChange'](_0x354825){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x354825),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x219b45,_0x1d7e3f,_0xcc232f,_0x44775b)=>{_0x44775b&&this['_balloon']['remove'](_0x44775b),_0xcc232f&&(this['_balloon']['add']({'view':_0xcc232f,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xc0a8db=this['editor']['editing'],_0x11d39d=this['_getChangeFromId'](_0xcc232f['changeId']);let _0x10602e;if(_0x11d39d['data']['isOnRoot']){const _0x14773d=_0xc0a8db['view']['getDomRoot'](_0x11d39d['rootName']);_0x10602e=Array['from'](_0x14773d['getClientRects']());}else{const _0x6e5e4c=this['editor']['model']['markers']['get']('revision:'+_0xcc232f['changeId']);_0x10602e=Array['from'](_0xc0a8db['mapper']['markerNameToElements'](_0x6e5e4c['name']))['map'](_0x5f22ce=>_0xc0a8db['view']['domConverter']['mapViewToDom'](_0x5f22ce))['map'](_0x58e41e=>Array['from'](_0x58e41e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x10602e[0x0];return _0x10602e['find'](_0x236208=>_0x236208['top']-0x3<=this['_activeViewTarget']['y']&&_0x236208['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x236208['left']-0x3<=this['_activeViewTarget']['x']&&_0x236208['right']+0x3>=this['_activeViewTarget']['x'])||_0x10602e[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x208c0b,_0x2f565e,_0x1fffd4,_0x285c5d)=>{this['activeView']=_0x1fffd4?this['_getViewForChange'](_0x1fffd4):null,this['editor']['model']['change'](()=>{const _0x24efc4=this['editor']['editing'];_0x285c5d&&(_0x285c5d['data']['isOnRoot']?_0x24efc4['view']['change'](_0x2dd609=>{_0x2dd609['removeClass']('ck-revision-history-root--active',_0x24efc4['view']['document']['getRoot'](_0x285c5d['rootName']));}):_0x24efc4['reconvertMarker']('revision:'+_0x285c5d['id'])),_0x1fffd4&&(_0x1fffd4['data']['isOnRoot']?_0x24efc4['view']['change'](_0x20c1c2=>{_0x20c1c2['addClass']('ck-revision-history-root--active',_0x24efc4['view']['document']['getRoot'](_0x1fffd4['rootName']));}):_0x24efc4['reconvertMarker']('revision:'+_0x1fffd4['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x34c270,_0x168eff)=>{if(this['activeChange'])return;const _0x3fe00c=this['_findChangeIdFromDomTarget'](_0x168eff['target']),_0x4506ac=this['_changeIdToChange']['get'](_0x3fe00c);_0x4506ac?(this['_activeViewTarget']={'x':_0x168eff['domEvent']['x'],'y':_0x168eff['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4506ac)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1df6f5,_0x45b5fd)=>{const _0x112e95=this['_findChangeIdFromDomTarget'](_0x45b5fd['target']),_0x3e1791=this['_changeIdToChange']['get'](_0x112e95);_0x3e1791?(this['_activeViewTarget']={'x':_0x45b5fd['domEvent']['x'],'y':_0x45b5fd['domEvent']['y']},_0x3e1791===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3e1791):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x39dd67){do{const _0x4efd53=_0x39dd67['getAttribute']('data-change-id');if(_0x4efd53)return _0x4efd53;_0x39dd67=_0x39dd67['parent'];}while(_0x39dd67);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3b653c=>{for(const _0x1be0f7 of this['editor']['model']['markers'])_0x3b653c['removeMarker'](_0x1be0f7);});}}function et(_0x5692f0,_0x15d113){return(_0x5fad02,_0x52d649,_0x1f49d2)=>{if(!_0x1f49d2['consumable']['test'](_0x52d649['markerRange'],_0x5fad02['name']))return;const _0x27f1c1=_0x52d649['markerRange']['getWalker'](),_0x4cb269=_0x52d649['markerRange']['start'],_0x354e0b=_0x5692f0['model']['schema'];let _0x19da18=null,_0x5a7236=null,_0xa359ab=!0x1,_0x462fde=!0x1;for(const _0x32b1be of _0x27f1c1){const _0x881c24=_0x32b1be['item'];_0xa359ab=_0xa359ab||_0x354e0b['isContent'](_0x881c24);const _0xe4f116=_0x1f49d2['mapper']['toViewElement'](_0x881c24);if(_0xe4f116&&_0xe4f116['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x32b1be['type']&&(_0x354e0b['isBlock'](_0x881c24)&&!_0x354e0b['isLimit'](_0x881c24)&&(_0x881c24['nextSibling']||_0x4cb269['isAtEnd']?_0x19da18&&_0x19da18['parent']==_0x881c24||(_0x19da18=_0x881c24,_0x2d460a(_0x32b1be['previousPosition']),_0x462fde=!0x0):_0x5a7236=_0x5a7236||_0x32b1be['previousPosition']));}function _0x2d460a(_0x1dbf92){const _0x86ab6=_0x1f49d2['mapper']['toViewPosition'](_0x1dbf92),_0x4a0f0c=_0x1f49d2['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x15d113});_0x1f49d2['writer']['insert'](_0x86ab6,_0x4a0f0c),_0x1f49d2['mapper']['bindElementToMarker'](_0x4a0f0c,_0x52d649['markerName']);}_0xa359ab||_0x462fde||!_0x5a7236||_0x2d460a(_0x5a7236);};}class bt extends _0x5b6e62{constructor(_0x39b42a){super(_0x39b42a);const _0x209eba=_0x39b42a['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x209eba,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x209eba,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x53855b=this['editor'],_0x2859f5=_0x53855b['plugins']['get'](d),_0x43bf5a=_0x2859f5['isReady']?_0x2859f5['diff']['newRevisionId']:null;_0x53855b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x43bf5a);}['refresh'](){const {isReady:_0x1a2adf,isEnabled:_0x2a20f3}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x1a2adf&&_0x2a20f3;}}class yt extends _0x5b6e62{['_step'];constructor(_0x116830,{direction:_0x3bb565}){super(_0x116830);const _0x169c78=_0x116830['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3bb565?0x1:-0x1,this['listenTo'](_0x169c78,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x169c78,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x169c78,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x303a28=this['editor'],_0x1975d3=_0x303a28['plugins']['get'](d),{isNavigationMode:_0x1ce555,currentChangeNumber:_0x15123e}=_0x1975d3;let _0x3995aa;if(_0x1975d3['activeChange']=_0x1ce555?_0x1975d3['diff']['changes']['get'](_0x15123e+this['_step']):_0x1975d3['diff']['changes']['first'],_0x1975d3['activeChange']['data']['isOnRoot'])_0x3995aa=_0x303a28['editing']['view']['getDomRoot'](_0x1975d3['activeChange']['rootName']);else{const _0x131beb=_0x303a28['model']['markers']['get']('revision:'+_0x1975d3['activeChange']['id']);_0x3995aa=_0xe4d29(_0x303a28['editing'],_0x131beb);}_0x499ca6({'target':_0x3995aa,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x10f0af,currentChangeNumber:_0x9e751f,numberOfChanges:_0x4bc6f6,isReady:_0x563507,isEnabled:_0xdd776d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0xdd776d&&_0x563507&&_0x4bc6f6)&&(!_0x10f0af||(0x1===this['_step']?_0x9e751f<_0x4bc6f6-0x1:_0x9e751f>0x0));}}class _i extends _0x5547bb{constructor(_0x317fc5){super(_0x317fc5);const _0x591057=this['bindTemplate'],_0xdbbad3=new _0x34f9fd(_0x317fc5),_0xb7d4e3=new _0x34f9fd(_0x317fc5);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',(_0x102fac,_0x5519f5)=>_0x102fac&&_0x5519f5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2d0504,_0x17830b,_0x419c57,_0x19c90c)=>{if(!_0x2d0504)return y(_0x317fc5,'Loading...');if(!_0x419c57)return y(_0x317fc5,'No\x20changes');const _0x4607e4=y(_0x317fc5,'NUMBER_OF_CHANGES',_0x419c57);return _0x19c90c?y(_0x317fc5,'X_OF_Y_CHANGES',[_0x17830b+0x1,_0x419c57]):_0x4607e4;}),_0xdbbad3['set']({'label':y(_0x317fc5,'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'}),_0xb7d4e3['set']({'label':y(_0x317fc5,'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'}),_0xdbbad3['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xb7d4e3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xdbbad3['on']('execute',()=>this['fire']('execute','backward')),_0xb7d4e3['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',_0x591057['if']('_isStatusLabelVisible','ck-hidden',_0x147077=>!_0x147077)]},'children':[{'text':_0x591057['to']('isNavigationMode',_0x4dfc4b=>_0x4dfc4b?y(_0x317fc5,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x317fc5,'Total')+':\x20')}]},{'text':_0x591057['to']('_statusText')}]},new _0x18c46a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xdbbad3,_0xb7d4e3]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1b9d3f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x389819=this['editor']['editing']['view'];_0x389819['change'](_0x335081=>{for(const _0x5b308c of _0x389819['document']['roots'])_0x335081['addClass'](ce,_0x5b308c);});}['hide'](){const _0x46a994=this['editor']['editing']['view'];_0x46a994['change'](_0xf2db93=>{for(const _0x34c5db of _0x46a994['document']['roots'])_0xf2db93['removeClass'](ce,_0x34c5db);});}}class R extends _0x1b9d3f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x25f4cd=this['editor'],_0x251310=_0x25f4cd['plugins']['get'](d),_0x5d46ed=_0x25f4cd['plugins']['get'](de);_0x25f4cd['ui']['componentFactory']['add']('exitToEditing',_0x2947c7=>{const _0x23d5f2=new _0x34f9fd(_0x2947c7);return _0x23d5f2['set']({'label':y(_0x2947c7,'Back\x20to\x20editing'),'icon':_0x52d6db['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x23d5f2,'execute',()=>{_0x25f4cd['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x23d5f2;}),_0x25f4cd['ui']['componentFactory']['add']('restoreRevision',_0xa90010=>{const _0x4e9db5=new _0x34f9fd(_0xa90010);return _0x4e9db5['set']({'label':y(_0xa90010,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4e9db5['bind']('isEnabled')['to'](_0x25f4cd['commands']['get']('restoreRevision')),this['listenTo'](_0x4e9db5,'execute',()=>_0x25f4cd['execute']('restoreRevision')),_0x4e9db5;}),_0x25f4cd['ui']['componentFactory']['add']('changesNavigation',_0x4f0ab6=>{const _0x48306a=new _i(_0x4f0ab6),_0x3e5e0c=_0x25f4cd['commands']['get']('showPreviousChange'),_0x1a4940=_0x25f4cd['commands']['get']('showNextChange');return _0x48306a['bind']('isBackwardNavigationEnabled')['to'](_0x3e5e0c,'isEnabled'),_0x48306a['bind']('isForwardNavigationEnabled')['to'](_0x1a4940,'isEnabled'),_0x48306a['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x251310),this['listenTo'](_0x48306a,'execute',(_0xdee082,_0x2717be)=>{_0x25f4cd['execute']('forward'===_0x2717be?'showNextChange':'showPreviousChange');}),_0x48306a;}),_0x5d46ed['show'](),_0x251310['on']('change:isReady',(_0x34fb30,_0x20be9d,_0x280119)=>{_0x280119?_0x5d46ed['hide']():_0x5d46ed['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x55d2d7,_0x539e22){super(_0x55d2d7,_0x539e22);const _0xe17ff7=this['bindTemplate'];this['set']({'label':y(_0x55d2d7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x55d2d7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xe17ff7['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 _0x31b77f=this['fieldView']['element'];this['_tooltipString']=_0x31b77f['scrollWidth']>_0x31b77f['clientWidth']&&_0x31b77f['value']||'';}}class ti extends _0x5547bb{constructor(_0x5df8d1,_0x4735a4,_0x1465af){super(_0x5df8d1);const _0x20ad9f=new _0xc51bbc();_0x20ad9f['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 _0x333110=['ck','ck-revision-history-sidebar__revision-author'];_0x1465af&&_0x333110['push']('ck-revision-history-sidebar__revision-author_creator');const _0x290e6b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5df8d1,_0x1465af?'Revision\x20creator':'Revision\x20author')},'children':[_0x20ad9f,_0x4735a4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x333110},'children':_0x290e6b});}}function ni(_0x3a60d7,_0x5be4ae){const _0x4da280=_0x3a60d7['bindTemplate'],_0x567f88=_0x3a60d7['locale'],_0x409915=_0x24a46d(_0x567f88);_0x409915['panelPosition']='sw';const _0x5d39b1=function(_0x4159bd,_0x1d249b){const _0x22615f=function(_0x3e7ffa,_0x3baa51){const _0x251285=_0x3e7ffa['locale'],_0x33c210={'Compare\x20against\x20selected':y(_0x251285,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x251285,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x251285,'Restore\x20this\x20revision')};return _0x3baa51['map'](_0x5a4ad2=>{const _0xa29d58=_0x33c210[_0x5a4ad2['name']];return _0xa29d58&&_0xa29d58!==_0x5a4ad2['name']&&(_0x5a4ad2['name']=_0xa29d58),_0x5a4ad2;});}(_0x4159bd,_0x1d249b),_0x5865d5=new _0xc1d4ac();for(const _0x655bb3 of _0x22615f){const _0x4d174f={'type':'button','model':new to({'label':_0x655bb3['name'],'class':_0x655bb3['class'],'withText':!0x0,'role':'menuitem','_action':_0x655bb3['action']})};_0x4d174f['model']['bind']('isEnabled')['to'](_0x4159bd,'isActionsDropdownOpen',_0x51288d=>'function'!=typeof _0x655bb3['isEnabled']||(!_0x51288d||_0x655bb3['isEnabled'](_0x4159bd))),_0x5865d5['add'](_0x4d174f);}return _0x5865d5;}(_0x3a60d7,_0x5be4ae);return _0x3a60d7['bind']('isActionsDropdownOpen')['to'](_0x409915,'isOpen'),_0x409915['buttonView']['set']({'label':y(_0x567f88,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x52d6db['threeVerticalDots']}),_0x409915['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4da280['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4da280['to'](_0x66c50b=>_0x66c50b['stopPropagation']())}}),_0x409915['on']('execute',_0x2b8351=>{_0x3a60d7['isReady']&&'function'==typeof _0x2b8351['source']['_action']&&_0x2b8351['source']['_action'](_0x3a60d7);}),_0x27e494(_0x409915,_0x5d39b1,{'role':'menu'}),_0x409915['listenTo'](_0x3a60d7,'change:isActionsDropdownOpen',(_0x3b1480,_0x3340fc,_0xc85f31)=>{if(_0xc85f31)for(const _0x42c79e of _0x409915['listView']['items']){const _0x33ed73=_0x42c79e['children']['first'],_0x5acb30=_0x5be4ae['find'](_0xb11b5=>_0xb11b5['action']===_0x33ed73['_action'])['isVisible'];_0x42c79e['isVisible']=void 0x0===_0x5acb30||_0x5acb30(_0x3a60d7);}}),_0x409915;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x9c71d2(_0x5547bb){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x50f334,_0x39fed3,_0x73e9d5,_0x392ea6){super(_0x50f334);const _0x57dbf7=this['bindTemplate'],_0x39eb3f=function(_0xf08557,_0x4e1c43){const _0x3f9379=Array['from'](_0x4e1c43['authors'])['filter'](_0x4a177b=>_0x4a177b!=_0x4e1c43['creator']);return _0x4e1c43['creator']&&_0x3f9379['unshift'](_0x4e1c43['creator']),_0x3f9379['map'](_0x355d9b=>new ti(_0xf08557,_0x355d9b,_0x355d9b==_0x4e1c43['creator']));}(_0x50f334,_0x39fed3);this['id']=_0x39fed3['id'],this['_revision']=_0x39fed3,this['_requireRevisionName']=_0x392ea6,this['bind']('name','createdAt')['to'](_0x39fed3),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x37f1c7=>{return _0x4c798f=_0x50f334['uiLanguage'],(_0x5cbf24=_0x37f1c7)['toLocaleDateString'](_0x4c798f,{'month':'long','day':'numeric'})+',\x20'+_0x5cbf24['toLocaleTimeString'](_0x4c798f,{'hour':'numeric','minute':'numeric'});var _0x4c798f,_0x5cbf24;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x50f334,_0x512977),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4faf59=>_0x4faf59||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2f6239,_0x5661f5)=>_0x2f6239&&_0x5661f5),this['revisionActionsView']=_0x73e9d5&&_0x73e9d5['length']?ni(this,_0x73e9d5):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x57dbf7['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x57dbf7['if']('isEnabled','ck-disabled',_0x6cdd10=>!_0x6cdd10),_0x57dbf7['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x57dbf7['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x57dbf7['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':_0x57dbf7['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':_0x39eb3f}]},this['revisionActionsView']],'on':{'click':_0x57dbf7['to'](_0x5324dd=>{_0x5324dd['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x38cc43=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x38cc43,'change',()=>{this['_requireRevisionName']&&!_0x38cc43['value']||this['fire']('setName',{'id':this['id'],'name':_0x38cc43['value']}),_0x38cc43['value']||(_0x38cc43['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(_0x11098f,_0x304188){const _0x34ccbc=_0x45076b['fromJSDate'](_0x11098f)['setLocale'](_0x304188),_0x28e967=_0x45076b['local'](),_0xee3e5=_0x28e967['minus']({'days':0x1})['startOf']('day');let _0x14ef15,_0x523fb0;return _0x34ccbc['hasSame'](_0x28e967,'day')?(_0x14ef15=_0x34ccbc['startOf']('day')['toJSDate'](),_0x523fb0=_0x34ccbc['toRelativeCalendar']()):_0x34ccbc['hasSame'](_0xee3e5,'day')?(_0x14ef15=_0xee3e5['toJSDate'](),_0x523fb0=_0x34ccbc['toRelativeCalendar']()):_0x34ccbc['hasSame'](_0x28e967,'week')?(_0x14ef15=_0x34ccbc['startOf']('week')['toJSDate'](),_0x523fb0=_0x34ccbc['weekdayLong']||''):_0x34ccbc['hasSame'](_0x28e967,'year')?(_0x14ef15=_0x34ccbc['startOf']('month')['toJSDate'](),_0x523fb0=_0x34ccbc['monthLong']||''):(_0x14ef15=_0x34ccbc['startOf']('year')['toJSDate'](),_0x523fb0=String(_0x34ccbc['year'])),{'startDate':_0x14ef15,'localizedPeriodName':_0x523fb0};}class mi extends _0x5547bb{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x16059e,_0x579694,_0x4f6db8,_0xaa7580){super(_0x16059e);const _0x5494c7=di(_0x579694,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x579694,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4f6db8,this['_requireRevisionName']=_0xaa7580,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':_0x5494c7}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x17a926){const _0x1c7152=new ai(this['locale'],_0x17a926,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1c7152);}['removeRevision'](_0x4d4a1d){const _0x56bea8=this['revisionViews']['find'](_0x23ed93=>_0x23ed93['id']===_0x4d4a1d['id']);this['revisionViews']['remove'](_0x56bea8);}}class as extends _0x5547bb{constructor(_0x175f3b){super(_0x175f3b);const _0x379990=new _0xc51bbc();_0x379990['content']=_0x52d6db['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x379990,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x175f3b,'Revision\x20history')]}]});}}class ci extends _0x5547bb{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2361b5,_0x149881,_0x96fb21,_0x5ed689){super(_0x2361b5);const _0x397781=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x149881,this['_revisionActions']=_0x96fb21,this['_requireRevisionName']=_0x5ed689,this['on']('select',(_0x530fc6,_0x1a2000)=>{this['fire']('revisionSelected',_0x1a2000);}),this['on']('setName',(_0x4be707,_0xea3b41)=>{this['fire']('revisionSetName',_0xea3b41);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2361b5),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x397781['if']('isEnabled','ck-disabled',_0xa3f38d=>!_0xa3f38d)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x280430 of this['_revisions'])this['_addRevision'](_0x280430);this['_revisions']['on']('add',(_0x5124df,_0x380d2e)=>{this['_addRevision'](_0x380d2e);}),this['_revisions']['on']('remove',(_0x25d46f,_0x539ddc)=>{this['_removeRevision'](_0x539ddc);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x40394c=>_0x40394c['revisionViews']['map'](_0x1165c4=>_0x1165c4))['flat']();}['selectRevision'](_0x4eab25){for(const _0x3c1fc1 of this['revisionViews'])_0x4eab25&&_0x4eab25['id']===_0x3c1fc1['id']?_0x3c1fc1['select']():_0x3c1fc1['deselect']();}['highlightRevisions'](_0x4e1cec){for(const _0x5548b9 of this['revisionViews'])_0x4e1cec['some'](({id:_0x38d40c})=>_0x38d40c===_0x5548b9['id'])?_0x5548b9['highlight']():_0x5548b9['unhighlight']();}['_addRevision'](_0x2bcf57){const _0x5ce0b5=di(_0x2bcf57['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x29315e=this['timePeriodViews']['get'](0x0);_0x29315e&&_0x29315e['startDate']['getTime']()===_0x5ce0b5['getTime']()||(_0x29315e=new mi(this['locale'],_0x5ce0b5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x29315e)),_0x29315e['addRevision'](_0x2bcf57);}['_removeRevision'](_0x332eea){const _0x85ca4b=di(_0x332eea['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x85ca4b)['removeRevision'](_0x332eea);}['_getTimePeriodViewByStartDate'](_0x3a1793){return this['timePeriodViews']['find'](_0x5bdf0c=>_0x5bdf0c['startDate']['getTime']()===_0x3a1793['getTime']());}}class w extends _0x1b9d3f{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1a8c34){super(_0x1a8c34),this['_revisionViewer']=_0x1a8c34['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x8d6383=this['_revisionsRepository']['_revisions'],_0x4446b1=this['_createRevisionActions'](),_0x5d2d57=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x8d6383,_0x4446b1,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',(_0x334350,_0xc28f01)=>{_0xc28f01['revisionViews']['on']('add',(_0x26d7ca,_0x55fe82)=>{_0x55fe82['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)),_0x5d2d57['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x207ffa=this['_revisionsRepository']['getRevision'](0x0);if(_0x207ffa){const _0x123cb7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x207ffa['id']);this['_revisionViewer']['compare'](_0x207ffa,_0x123cb7);}}['_handleRevisionSelected'](_0x515913,_0x4a3d61){const _0x1e618c=this['_revisionsRepository']['getRevision'](_0x4a3d61['id']),_0x3ad92d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1e618c['id']);this['_revisionViewer']['compare'](_0x1e618c,_0x3ad92d);}['_handleRevisionSetName'](_0x24b504,_0x2a8762){this['_revisionsRepository']['getRevision'](_0x2a8762['id'])['setName'](_0x2a8762['name']);}['_handleDiffChange'](_0x1bec76,_0x3865d0,_0x463ffa){const _0x1e352f=this['_revisionsRepository']['getRevisionsInDiff'](_0x463ffa);_0x1e352f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1e352f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1e352f[0x0]));}['_createRevisionActions'](){const _0x15647e=this['editor'],_0x128817=w['availableRevisionActions'],_0xfb605f=_0x15647e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0xfb605f['length'])return _0xfb605f['map'](_0x2cd3c7=>{const _0x1cfc50='string'==typeof _0x2cd3c7?Object['assign']({},_0x128817[_0x2cd3c7]):_0x2cd3c7;return _0x1cfc50['action']=_0x1cfc50['action']['bind'](this,_0x15647e),_0x1cfc50['isVisible']&&(_0x1cfc50['isVisible']=_0x1cfc50['isVisible']['bind'](this,_0x15647e)),_0x1cfc50;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x21d06f},_0x1b9daf)=>{const _0x371955=_0x21d06f['get'](d),_0x46a171=_0x371955['repository'];let _0x1e2e74=_0x371955['diff']['newRevisionId'],_0x309f1f=_0x1b9daf['id'];_0x46a171['getIndex'](_0x1e2e74)>_0x46a171['getIndex'](_0x309f1f)&&([_0x1e2e74,_0x309f1f]=[_0x309f1f,_0x1e2e74]),_0x371955['compare'](_0x1e2e74,_0x309f1f);},'isVisible':({plugins:_0x3eb701},_0x2de34c)=>{const _0x27a03f=_0x3eb701['get'](d);return!(_0x27a03f['repository']['getRevisionsInDiff'](_0x27a03f['diff'])['length']>0x2)&&!_0x2de34c['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1b9caa,{id:_0x18093f})=>{_0x1b9caa['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18093f);},'isVisible':({plugins:_0x374495},_0x349259)=>!!_0x374495['get'](d)['repository']['getLaterVisibleRevision'](_0x349259['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x9641ff},{id:_0x9edf37,revisionNameView:_0x3cf5e0})=>{const _0x2a5220=_0x9641ff['get'](d),_0x4fb810=_0x2a5220['repository']['getEarlierVisibleRevision'](_0x9edf37);_0x2a5220['compare'](_0x9edf37,_0x4fb810),_0x3cf5e0['focus'](),_0x3cf5e0['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x184ac0,_0x425bb9){super(_0x184ac0),this['_view']=_0x425bb9,this['_toolbarConfig']=ct(_0x184ac0['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1ada6a){const _0xa4f728=this['editor'],_0x4e4823=this['view'],_0x3a9ec3=_0xa4f728['editing']['view'],_0x1f6dce=_0x4e4823['editable'],_0xd2e62f=_0x3a9ec3['document']['getRoot']();_0x1f6dce['name']=_0xd2e62f['rootName'],_0x4e4823['render']();const _0x3378b2=_0x1f6dce['element'];this['setEditableElement'](_0x1f6dce['name'],_0x3378b2),_0x4e4823['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3a9ec3['attachDomRoot'](_0x3378b2),this['_elementReplacer']['replace'](_0x1ada6a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x28091b=this['view'],_0x2f91ed=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2f91ed['detachDomRoot'](_0x28091b['editable']['name']),_0x28091b['destroy']();}['_initToolbar'](){const _0x52cc55=this['view'];_0x52cc55['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x52cc55['stickyPanel']['limiterElement']=_0x52cc55['element'],_0x52cc55['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4bda3b})=>_0x4bda3b),_0x52cc55['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x52cc55['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x88c3be,_0x24445b,_0x2290e2={}){super(_0x88c3be),this['stickyPanel']=new lt(_0x88c3be),this['toolbar']=new pt(_0x88c3be,{'shouldGroupWhenFull':_0x2290e2['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x88c3be,_0x24445b);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x289814,_0x4014c1){super(_0x4014c1),this['sourceElement']=_0x289814,this['model']['document']['createRoot']();const _0x17b20f=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x17b20f);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x10ba78,_0x1cef20){const _0x565a53=new this(_0x10ba78,_0x1cef20);return await _0x565a53['initPlugins'](),await _0x565a53['ui']['init'](_0x10ba78),await _0x565a53['data']['init'](_0x565a53['config']['get']('initialData')||''),_0x565a53['fire']('ready'),_0x565a53;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x6c42b7{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1bb5ed){super(_0x1bb5ed),this['result']='end';}}class H extends _0x6c42b7{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x144ddf){if(super(_0x144ddf),!this['editor']['config']['get']('revisionHistory'))throw new _0xa465dc('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x58d70d=>this['_showRevisionViewer']({..._0x58d70d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x6b9f12=>this['_closeRevisionViewer'](_0x6b9f12)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1ac12d=>this['_restoreRevision'](_0x1ac12d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x26bfea){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x26bfea;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4a0aae){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4a0aae);}['getRevision'](_0x2799a2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x2799a2);}['getRevisions'](_0x282d74){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x282d74||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x357412=this['editor'],_0x43f6ee=_0x358b08(_0x357412,p),_0x5c545a=_0x357412['plugins']['get']('RevisionTracker'),_0x2d12ab=_0x357412['plugins']['get']('Users')['users'];return _0x43f6ee['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x43f6ee['lazyRoots'],(_0x43f6ee['plugins']['push'](k,d,R,class extends _0x6c42b7{static get['requires'](){return[d,'Users'];}['init'](){const _0x5a6daa=this['editor']['plugins']['get']('Users');for(const _0xb2656a of _0x2d12ab)_0xb2656a['isAnonymous']||_0x5a6daa['getUser'](_0xb2656a['id'])||_0x5a6daa['addUser'](_0xb2656a);const _0x36a30e=_0x5c545a['repository']['getRevisions']();let _0x26701c=null;const _0x42dee3=this['editor']['plugins']['get']('RevisionViewer');_0x42dee3['adapter']=_0x5c545a['adapter'],_0x42dee3['bind']('isEnabled')['to'](_0x5c545a),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x357412,'isReadOnly',_0x586adb=>!_0x586adb);for(const _0x4ebd01 of _0x36a30e){const _0xdc12f1=null===_0x4ebd01['creator'];if(_0xdc12f1&&_0x4ebd01['toVersion']===_0x4ebd01['fromVersion'])continue;const _0x31675d=_0x4ebd01['toJSON']();_0x42dee3['addRevisionData'](_0x31675d,(_0x5f81f,_0x1b8287,_0x4e3d4c)=>{if(_0xdc12f1){if(_0x26701c)_0x26701c['_update'](_0x5f81f,_0x1b8287);else{if(!_0x1b8287){const _0x225e61=_0x4e3d4c['toJSON']();_0x225e61['id']=_0x59ba44(),_0x5c545a['saveRevision'](_0x225e61,_0x4e3d4c['toVersion'])['then'](_0x1ae8d8=>{_0x26701c=_0x1ae8d8;});}}}else _0x4ebd01['_update'](_0x5f81f,_0x1b8287);});}}},w),_0x43f6ee);}['_enhanceShowRevisionViewerCallback'](){const _0x12a0d9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5e15cb=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x34d4f6=this['editor']['plugins']['get']('Autosave');await _0x34d4f6['save']();}else await _0x5e15cb['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3c56d0=this['editor']['plugins']['get']('Dialog');_0x3c56d0['isOpen']&&_0x3c56d0['hide']();}const _0x4a92c8=this['_getRevisionViewerEditorConfig']();return _0x12a0d9(_0x4a92c8)['then'](_0x2a080f=>{return(this['_viewerEditor']=_0x2a080f,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2a080f;})['catch'](_0x2a450f=>(console['error'](_0x2a450f),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x12182f=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'](),_0x12182f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x279461=this['editor']['plugins']['get']('Annotations');_0x279461['refreshVisibility'](),_0x279461['refreshPositioning']();}})));}['_showRevisionViewer'](_0x36dc4f){const _0x5dc494=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x27a16a=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x29afd1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x29afd1,_0x36dc4f)['then'](_0x2fe5df=>(_0x27a16a['style']['display']='block',_0x5dc494['style']['display']='none',_0x2fe5df));}['_closeRevisionViewer'](_0x217d2a){const _0x4da9e7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4da9e7['style']['display']='',_0x217d2a['destroy']();}async['_restoreRevision'](_0x2144b8){const _0x10c13f=this['editor'],_0x384442=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xb23b75=_0x10c13f['plugins']['get']('RevisionTracker'),_0x3b22cf=_0x384442['repository']['getRevision'](_0x2144b8);let _0x266609,_0x4862cf,_0x2532d1;try{_0x266609=await _0x384442['getRevisionData'](_0x3b22cf),_0x4862cf=await _0x384442['getRevisionRootsAttributes'](_0x3b22cf);}catch(_0x5922bb){return void console['error'](_0x5922bb);}_0x10c13f['model']['change'](_0x508daa=>{for(const _0xe8c70c of Array['from'](_0x10c13f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x508daa['removeMarker'](_0xe8c70c);}),_0x384442['isReady']=!0x1,_0x10c13f['model']['enqueueChange'](_0x34aa54=>{_0x34aa54['setSelection'](null),_0x34aa54['removeSelectionAttribute'](_0x10c13f['model']['document']['selection']['getAttributeKeys']());const _0x22a552=Object['keys'](_0x266609);for(const _0x25a4e4 of _0x10c13f['model']['document']['roots'])'$graveyard'!=_0x25a4e4['rootName']&&_0x25a4e4['isAttached']()&&!_0x22a552['includes'](_0x25a4e4['rootName'])&&_0x34aa54['detachRoot'](_0x25a4e4);for(const _0x324c67 of _0x22a552){let _0x54ed72=_0x10c13f['model']['document']['getRoot'](_0x324c67);_0x54ed72&&_0x54ed72['isAttached']()||(_0x54ed72=_0x34aa54['addRoot'](_0x324c67));const _0x127f1a=_0x4862cf[_0x324c67],_0x38543d=Object['keys'](_0x127f1a),_0x4f165c=_0x266609[_0x324c67];for(const _0x2924fd of _0x54ed72['getAttributeKeys']())_0x38543d['includes'](_0x2924fd)||_0x34aa54['removeAttribute'](_0x2924fd,_0x54ed72);for(const _0x5a8e3a of _0x38543d)_0x34aa54['setAttribute'](_0x5a8e3a,_0x4862cf[_0x324c67][_0x5a8e3a],_0x54ed72);_0x34aa54['remove'](_0x34aa54['createRangeIn'](_0x54ed72)),_0x34aa54['insert'](_0x10c13f['data']['parse'](_0x4f165c,_0x54ed72),_0x54ed72,0x0);}});const _0x5088f0=y(_0x10c13f['locale'],'Restored');if(_0x3b22cf['name'])_0x2532d1=-0x1==_0x3b22cf['name']['indexOf'](_0x5088f0)?_0x5088f0+':\x20'+_0x3b22cf['name']:_0x3b22cf['name'];else _0x2532d1=_0x5088f0+':\x20'+(_0x3b22cf['createdAt']['toLocaleDateString'](_0x10c13f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3b22cf['createdAt']['toLocaleTimeString'](_0x10c13f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xb23b75['saveRevision']({'name':_0x2532d1}),_0x384442['isReady']=!0x0,_0x10c13f['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};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x190965){super(_0x190965),this['_revisionViewer']=_0x190965['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2963bd=this['_revisionsRepository']['_revisions'],_0x220fe4=this['_createRevisionActions'](),_0x33d490=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2963bd,_0x220fe4,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',(_0x173b46,_0x39d819)=>{_0x39d819['revisionViews']['on']('add',(_0x705303,_0x36d2ef)=>{_0x36d2ef['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)),_0x33d490['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x46c2e3=this['_revisionsRepository']['getRevision'](0x0);if(_0x46c2e3){const _0x338eea=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x46c2e3['id']);this['_revisionViewer']['compare'](_0x46c2e3,_0x338eea);}}['_handleRevisionSelected'](_0x1970ae,_0xabe63f){const _0xb42bce=this['_revisionsRepository']['getRevision'](_0xabe63f['id']),_0x403f03=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xb42bce['id']);this['_revisionViewer']['compare'](_0xb42bce,_0x403f03);}['_handleRevisionSetName'](_0x42aa31,_0x157017){this['_revisionsRepository']['getRevision'](_0x157017['id'])['setName'](_0x157017['name']);}['_handleDiffChange'](_0x42e22f,_0x4ea22a,_0x2d3032){const _0x42e944=this['_revisionsRepository']['getRevisionsInDiff'](_0x2d3032);_0x42e944['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x42e944),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x42e944[0x0]));}['_createRevisionActions'](){const _0x22dc5e=this['editor'],_0x3657b4=w['availableRevisionActions'],_0x2d1610=_0x22dc5e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2d1610['length'])return _0x2d1610['map'](_0x27c14f=>{const _0x3fd94e='string'==typeof _0x27c14f?Object['assign']({},_0x3657b4[_0x27c14f]):_0x27c14f;return _0x3fd94e['action']=_0x3fd94e['action']['bind'](this,_0x22dc5e),_0x3fd94e['isVisible']&&(_0x3fd94e['isVisible']=_0x3fd94e['isVisible']['bind'](this,_0x22dc5e)),_0x3fd94e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x32dd31},_0x3297d9)=>{const _0x2d9b92=_0x32dd31['get'](d),_0x46b94e=_0x2d9b92['repository'];let _0x12bed6=_0x2d9b92['diff']['newRevisionId'],_0x3b00f5=_0x3297d9['id'];_0x46b94e['getIndex'](_0x12bed6)>_0x46b94e['getIndex'](_0x3b00f5)&&([_0x12bed6,_0x3b00f5]=[_0x3b00f5,_0x12bed6]),_0x2d9b92['compare'](_0x12bed6,_0x3b00f5);},'isVisible':({plugins:_0x2531c1},_0x5d40a6)=>{const _0x33e27f=_0x2531c1['get'](d);return!(_0x33e27f['repository']['getRevisionsInDiff'](_0x33e27f['diff'])['length']>0x2)&&!_0x5d40a6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x482a2f,{id:_0x544991})=>{_0x482a2f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x544991);},'isVisible':({plugins:_0x5644bc},_0x17e72d)=>!!_0x5644bc['get'](d)['repository']['getLaterVisibleRevision'](_0x17e72d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1f1ea1},{id:_0x41d45d,revisionNameView:_0x4b9a2b})=>{const _0x1c0f18=_0x1f1ea1['get'](d),_0x1b1b83=_0x1c0f18['repository']['getEarlierVisibleRevision'](_0x41d45d);_0x1c0f18['compare'](_0x41d45d,_0x1b1b83),_0x4b9a2b['focus'](),_0x4b9a2b['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5b4dfb,_0x1c282c){super(_0x5b4dfb),this['_view']=_0x1c282c,this['_toolbarConfig']=ct(_0x5b4dfb['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2f394d){const _0x513291=this['editor'],_0x4e4708=this['view'],_0x49d85d=_0x513291['editing']['view'],_0x3d1411=_0x4e4708['editable'],_0xbfbd13=_0x49d85d['document']['getRoot']();_0x3d1411['name']=_0xbfbd13['rootName'],_0x4e4708['render']();const _0x42709a=_0x3d1411['element'];this['setEditableElement'](_0x3d1411['name'],_0x42709a),_0x4e4708['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x49d85d['attachDomRoot'](_0x42709a),this['_elementReplacer']['replace'](_0x2f394d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3416ff=this['view'],_0x3ffb30=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3ffb30['detachDomRoot'](_0x3416ff['editable']['name']),_0x3416ff['destroy']();}['_initToolbar'](){const _0x5c2c3d=this['view'];_0x5c2c3d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5c2c3d['stickyPanel']['limiterElement']=_0x5c2c3d['element'],_0x5c2c3d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3691be})=>_0x3691be),_0x5c2c3d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5c2c3d['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1b93d4,_0x309a15,_0xd08ea={}){super(_0x1b93d4),this['stickyPanel']=new lt(_0x1b93d4),this['toolbar']=new pt(_0x1b93d4,{'shouldGroupWhenFull':_0xd08ea['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1b93d4,_0x309a15);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4c9724,_0x26b6f2){super(_0x26b6f2),this['sourceElement']=_0x4c9724,this['model']['document']['createRoot']();const _0x133f7e=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x133f7e);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2deb28,_0x15536e){const _0x5ab4e8=new this(_0x2deb28,_0x15536e);return await _0x5ab4e8['initPlugins'](),await _0x5ab4e8['ui']['init'](_0x2deb28),await _0x5ab4e8['data']['init'](_0x5ab4e8['config']['get']('initialData')||''),_0x5ab4e8['fire']('ready'),_0x5ab4e8;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1b9d3f{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x372d21){super(_0x372d21),this['result']='end';}}class H extends _0x1b9d3f{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2be50a){if(super(_0x2be50a),!this['editor']['config']['get']('revisionHistory'))throw new _0x9d2149('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x299c67=>this['_showRevisionViewer']({..._0x299c67,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5a9ba4=>this['_closeRevisionViewer'](_0x5a9ba4)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x393f14=>this['_restoreRevision'](_0x393f14)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xabfd73){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xabfd73;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x58b723){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x58b723);}['getRevision'](_0x3383cb){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3383cb);}['getRevisions'](_0xfa2b3f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xfa2b3f||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4fc949=this['editor'],_0x346bea=_0x36276e(_0x4fc949,p),_0xec524b=_0x4fc949['plugins']['get']('RevisionTracker'),_0x27344b=_0x4fc949['plugins']['get']('Users')['users'];return _0x346bea['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x346bea['lazyRoots'],(_0x346bea['plugins']['push'](k,d,R,class extends _0x1b9d3f{static get['requires'](){return[d,'Users'];}['init'](){const _0xbffdb5=this['editor']['plugins']['get']('Users');for(const _0x496746 of _0x27344b)_0x496746['isAnonymous']||_0xbffdb5['getUser'](_0x496746['id'])||_0xbffdb5['addUser'](_0x496746);const _0x20fa6a=_0xec524b['repository']['getRevisions']();let _0x47cf21=null;const _0x4c4685=this['editor']['plugins']['get']('RevisionViewer');_0x4c4685['adapter']=_0xec524b['adapter'],_0x4c4685['bind']('isEnabled')['to'](_0xec524b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4fc949,'isReadOnly',_0x128482=>!_0x128482);for(const _0x77e261 of _0x20fa6a){const _0x4ea31c=null===_0x77e261['creator'];if(_0x4ea31c&&_0x77e261['toVersion']===_0x77e261['fromVersion'])continue;const _0x3f1795=_0x77e261['toJSON']();_0x4c4685['addRevisionData'](_0x3f1795,(_0x4c8513,_0x267244,_0x461e47)=>{if(_0x4ea31c){if(_0x47cf21)_0x47cf21['_update'](_0x4c8513,_0x267244);else{if(!_0x267244){const _0x436f58=_0x461e47['toJSON']();_0x436f58['id']=_0x46006a(),_0xec524b['saveRevision'](_0x436f58,_0x461e47['toVersion'])['then'](_0x4e875a=>{_0x47cf21=_0x4e875a;});}}}else _0x77e261['_update'](_0x4c8513,_0x267244);});}}},w),_0x346bea);}['_enhanceShowRevisionViewerCallback'](){const _0x15bc51=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x59876a=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x53c563=this['editor']['plugins']['get']('Autosave');await _0x53c563['save']();}else await _0x59876a['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x32e7e3=this['editor']['plugins']['get']('Dialog');_0x32e7e3['isOpen']&&_0x32e7e3['hide']();}const _0x5530d5=this['_getRevisionViewerEditorConfig']();return _0x15bc51(_0x5530d5)['then'](_0xfc0b35=>{return(this['_viewerEditor']=_0xfc0b35,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xfc0b35;})['catch'](_0x42ccfb=>(console['error'](_0x42ccfb),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x263017=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'](),_0x263017(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x6ef3c4=this['editor']['plugins']['get']('Annotations');_0x6ef3c4['refreshVisibility'](),_0x6ef3c4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x41af90){const _0x4c7057=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x10c793=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x366d3b=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x366d3b,_0x41af90)['then'](_0x21d095=>(_0x10c793['style']['display']='block',_0x4c7057['style']['display']='none',_0x21d095));}['_closeRevisionViewer'](_0x49381d){const _0x41024c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x41024c['style']['display']='',_0x49381d['destroy']();}async['_restoreRevision'](_0x151f5b){const _0x591854=this['editor'],_0x4bb62c=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2ceadb=_0x591854['plugins']['get']('RevisionTracker'),_0x507cab=_0x4bb62c['repository']['getRevision'](_0x151f5b);let _0x350ba0,_0x1d2f62,_0x5c48df;try{_0x350ba0=await _0x4bb62c['getRevisionData'](_0x507cab),_0x1d2f62=await _0x4bb62c['getRevisionRootsAttributes'](_0x507cab);}catch(_0x130a35){return void console['error'](_0x130a35);}_0x591854['model']['change'](_0x2971a9=>{for(const _0x4a189b of Array['from'](_0x591854['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2971a9['removeMarker'](_0x4a189b);}),_0x4bb62c['isReady']=!0x1,_0x591854['model']['enqueueChange'](_0x333e34=>{_0x333e34['setSelection'](null),_0x333e34['removeSelectionAttribute'](_0x591854['model']['document']['selection']['getAttributeKeys']());const _0x1057c9=Object['keys'](_0x350ba0);for(const _0x410b07 of _0x591854['model']['document']['roots'])'$graveyard'!=_0x410b07['rootName']&&_0x410b07['isAttached']()&&!_0x1057c9['includes'](_0x410b07['rootName'])&&_0x333e34['detachRoot'](_0x410b07);for(const _0x236403 of _0x1057c9){let _0x5a3c42=_0x591854['model']['document']['getRoot'](_0x236403);_0x5a3c42&&_0x5a3c42['isAttached']()||(_0x5a3c42=_0x333e34['addRoot'](_0x236403));const _0x45b227=_0x1d2f62[_0x236403],_0x20abb5=Object['keys'](_0x45b227),_0x5ed2cf=_0x350ba0[_0x236403];for(const _0x5ac68c of _0x5a3c42['getAttributeKeys']())_0x20abb5['includes'](_0x5ac68c)||_0x333e34['removeAttribute'](_0x5ac68c,_0x5a3c42);for(const _0x28ab2f of _0x20abb5)_0x333e34['setAttribute'](_0x28ab2f,_0x1d2f62[_0x236403][_0x28ab2f],_0x5a3c42);_0x333e34['remove'](_0x333e34['createRangeIn'](_0x5a3c42)),_0x333e34['insert'](_0x591854['data']['parse'](_0x5ed2cf,_0x5a3c42),_0x5a3c42,0x0);}});const _0x1b652b=y(_0x591854['locale'],'Restored');if(_0x507cab['name'])_0x5c48df=-0x1==_0x507cab['name']['indexOf'](_0x1b652b)?_0x1b652b+':\x20'+_0x507cab['name']:_0x507cab['name'];else _0x5c48df=_0x1b652b+':\x20'+(_0x507cab['createdAt']['toLocaleDateString'](_0x591854['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x507cab['createdAt']['toLocaleTimeString'](_0x591854['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2ceadb['saveRevision']({'name':_0x5c48df}),_0x4bb62c['isReady']=!0x0,_0x591854['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};